def properties(self): return [ iot_api_core.TranslatedTextProperty(None, None, 'value', 'Text', self.context, rows=5, default=''), iot_api_core.ColorProperty(None, None, 'color', 'Color', self, default='#000000'), iot_api_core.ColorProperty(None, None, 'backgroundColor', 'Background Color', self, default='rgba(0,0,0,0)'), iot_api_core.DropdownProperty(None, None, 'fontSize', 'Font Size', self.context, default='16', options={ '45': '45', '34': '34', '24': '24', '20': '20', '16': '16', '14': '14', '12': '12' }), iot_api_core.DropdownProperty(None, None, 'fontWeight', 'Font Weight', self.context, default='400', options={ '100': '100', '300': '300', '400': '400', '500': '500', '700': '700', '900': '900' }), iot_api_core.DropdownProperty(None, None, 'alignment', 'Alignment', self.context, default='left', options={'left': 'Left', 'right': 'Right', 'center': 'Center'}), iot_api_core.NumericProperty(None, None, 'padding', 'Padding (pixels)', self.context, default=10, min_value=0, max_value=50), ]
def properties(self): return [ iot_api_core.ToggleProperty(None, 'Button Properties', 'displayToolbar', 'Display Toolbar', self.context, default=True), iot_api_core.ToggleProperty(None, 'Button Properties', 'displayHomeIcon', 'Include Home', self.context, default=True), iot_api_core.ToggleProperty(None, 'Button Properties', 'displayShareIcon', 'Include Share', self.context, default=True), iot_api_core.ToggleProperty(None, 'Button Properties', 'displaySettingsIcon', 'Include Settings', self.context, default=True), iot_api_core.ColorProperty(None, 'Toolbar Color', 'backgroundColor', 'Background Color', self.context, default='#000000'), iot_api_core.ColorProperty(None, 'Toolbar Color', 'iconColor', 'Icon Color', self.context, default='#ffffff'), iot_api_core.ColorProperty(None, 'Toolbar Color', 'selectedColor', 'Selected Color', self.context, default='#ffffff'), ]
def properties(self): return [ iot_api_core.NumericProperty(None, None, 'padding', 'Padding (pixels)', self.context, default=24, min_value=0, max_value=50), iot_api_core.NumericProperty(None, None, 'thickness', 'Thickness (pixels)', self.context, default=4, min_value=1, max_value=10), iot_api_core.ColorProperty(None, None, 'color', 'Color', self, default='#cccccc') ]
def properties(self): return [ iot_api_core.ToggleProperty(None, None, 'displayHeader', 'Display Header', self.context, default=True), iot_api_core.ToggleProperty(None, None, 'displayImage', 'Display Header Image', self.context, default=True), iot_api_core.ModelImageProperty(None, None, 'image', 'Header Image', self.context), iot_api_core.ToggleProperty(None, None, 'displayTitle', 'Display Header Title', self.context, default=True), iot_api_core.HeaderTitleProperty(None, None, 'title', 'Header Title', self.context), iot_api_core.ColorProperty(None, None, 'backgroundColor', 'Header Background Color', self.context, default='#cccccc'), ]
def properties(self): return [ iot_api_core.TranslatedTextProperty(None, None, 'title', 'Toolbar Title', self.context, rows=0, default=''), iot_api_core.ColorProperty(None, None, 'backgroundColor', 'Toolbar Background Color', self, default='#000000'), iot_api_core.ColorProperty(None, None, 'color', 'Toolbar Text Color', self, default='#ffffff') ]
def properties(self): return [ iot_api_core.NumericProperty(None, None, 'height', 'Height (pixels)', self.context, default=16, min_value=0, max_value=50), iot_api_core.ColorProperty(None, None, 'color', 'Color', self, default='#cccccc'), ]
def get_general_properties(self, include_auth=False): return [ self.instance_name_property(), self.instance_page_type_property(include_auth=include_auth), iot_api_core.ToggleProperty('General', 'General Settings', 'displayBackgroundImage', 'Display Background Image', self, default=False), iot_api_core.ImageProperty('General', 'General Settings', 'backgroundImage', 'Background Image', self), iot_api_core.ColorProperty('General', 'General Settings', 'backgroundColor', 'Background Color', self, default='#e2e2e2'), self.page_security_property ]