Showing
5 changed files
with
7 additions
and
3 deletions
@@ -30,6 +30,7 @@ import RadialGauge = CanvasGauges.RadialGauge; | @@ -30,6 +30,7 @@ import RadialGauge = CanvasGauges.RadialGauge; | ||
30 | 30 | ||
31 | const analogueCompassSettingsSchemaValue = analogueCompassSettingsSchema; | 31 | const analogueCompassSettingsSchemaValue = analogueCompassSettingsSchema; |
32 | 32 | ||
33 | +// @dynamic | ||
33 | export class TbAnalogueCompass extends TbBaseGauge<AnalogueCompassSettings, RadialGaugeOptions> { | 34 | export class TbAnalogueCompass extends TbBaseGauge<AnalogueCompassSettings, RadialGaugeOptions> { |
34 | 35 | ||
35 | static get settingsSchema(): JsonSettingsSchema { | 36 | static get settingsSchema(): JsonSettingsSchema { |
@@ -32,6 +32,7 @@ const tinycolor = tinycolor_; | @@ -32,6 +32,7 @@ const tinycolor = tinycolor_; | ||
32 | 32 | ||
33 | const analogueLinearGaugeSettingsSchemaValue = getAnalogueLinearGaugeSettingsSchema(); | 33 | const analogueLinearGaugeSettingsSchemaValue = getAnalogueLinearGaugeSettingsSchema(); |
34 | 34 | ||
35 | +// @dynamic | ||
35 | export class TbAnalogueLinearGauge extends TbAnalogueGauge<AnalogueLinearGaugeSettings, LinearGaugeOptions>{ | 36 | export class TbAnalogueLinearGauge extends TbAnalogueGauge<AnalogueLinearGaugeSettings, LinearGaugeOptions>{ |
36 | 37 | ||
37 | static get settingsSchema(): JsonSettingsSchema { | 38 | static get settingsSchema(): JsonSettingsSchema { |
@@ -28,6 +28,7 @@ import BaseGauge = CanvasGauges.BaseGauge; | @@ -28,6 +28,7 @@ import BaseGauge = CanvasGauges.BaseGauge; | ||
28 | 28 | ||
29 | const analogueRadialGaugeSettingsSchemaValue = getAnalogueRadialGaugeSettingsSchema(); | 29 | const analogueRadialGaugeSettingsSchemaValue = getAnalogueRadialGaugeSettingsSchema(); |
30 | 30 | ||
31 | +// @dynamic | ||
31 | export class TbAnalogueRadialGauge extends TbAnalogueGauge<AnalogueRadialGaugeSettings, RadialGaugeOptions>{ | 32 | export class TbAnalogueRadialGauge extends TbAnalogueGauge<AnalogueRadialGaugeSettings, RadialGaugeOptions>{ |
32 | 33 | ||
33 | static get settingsSchema(): JsonSettingsSchema { | 34 | static get settingsSchema(): JsonSettingsSchema { |
@@ -46,6 +46,7 @@ const tinycolor = tinycolor_; | @@ -46,6 +46,7 @@ const tinycolor = tinycolor_; | ||
46 | 46 | ||
47 | const digitalGaugeSettingsSchemaValue = digitalGaugeSettingsSchema; | 47 | const digitalGaugeSettingsSchemaValue = digitalGaugeSettingsSchema; |
48 | 48 | ||
49 | +// @dynamic | ||
49 | export class TbCanvasDigitalGauge { | 50 | export class TbCanvasDigitalGauge { |
50 | 51 | ||
51 | static get settingsSchema(): JsonSettingsSchema { | 52 | static get settingsSchema(): JsonSettingsSchema { |
@@ -58,7 +58,7 @@ function loadCssBeautify(): Observable<any> { | @@ -58,7 +58,7 @@ function loadCssBeautify(): Observable<any> { | ||
58 | } | 58 | } |
59 | } | 59 | } |
60 | 60 | ||
61 | -export function beautifyJs(source: string, options?: JSBeautifyOptions): Observable<string> { | 61 | +export function beautifyJs(source: string, options?: any): Observable<string> { |
62 | return loadJsBeautify().pipe( | 62 | return loadJsBeautify().pipe( |
63 | map((mod) => { | 63 | map((mod) => { |
64 | return mod.js_beautify(source, options); | 64 | return mod.js_beautify(source, options); |
@@ -66,13 +66,13 @@ export function beautifyJs(source: string, options?: JSBeautifyOptions): Observa | @@ -66,13 +66,13 @@ export function beautifyJs(source: string, options?: JSBeautifyOptions): Observa | ||
66 | ); | 66 | ); |
67 | } | 67 | } |
68 | 68 | ||
69 | -export function beautifyCss(source: string, options?: CSSBeautifyOptions): Observable<string> { | 69 | +export function beautifyCss(source: string, options?: any): Observable<string> { |
70 | return loadCssBeautify().pipe( | 70 | return loadCssBeautify().pipe( |
71 | map((mod) => mod.css_beautify(source, options)) | 71 | map((mod) => mod.css_beautify(source, options)) |
72 | ); | 72 | ); |
73 | } | 73 | } |
74 | 74 | ||
75 | -export function beautifyHtml(source: string, options?: HTMLBeautifyOptions): Observable<string> { | 75 | +export function beautifyHtml(source: string, options?: any): Observable<string> { |
76 | return loadHtmlBeautify().pipe( | 76 | return loadHtmlBeautify().pipe( |
77 | map((mod) => mod.html_beautify(source, options)) | 77 | map((mod) => mod.html_beautify(source, options)) |
78 | ); | 78 | ); |