@c8y/ngx-components 1023.14.68 → 1023.14.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/asset-properties/index.d.ts +20 -2
- package/asset-properties/index.d.ts.map +1 -1
- package/cockpit-config/index.d.ts.map +1 -1
- package/datapoint-selector/index.d.ts.map +1 -1
- package/echart/index.d.ts.map +1 -1
- package/ecosystem/application-plugins/index.d.ts.map +1 -1
- package/fesm2022/c8y-ngx-components-asset-properties.mjs +36 -12
- package/fesm2022/c8y-ngx-components-asset-properties.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-cockpit-config.mjs +7 -7
- package/fesm2022/c8y-ngx-components-cockpit-config.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-selector.mjs +3 -11
- package/fesm2022/c8y-ngx-components-datapoint-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-echart.mjs +44 -14
- package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs +10 -7
- package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-services.mjs +2 -2
- package/fesm2022/c8y-ngx-components-services.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-tenants.mjs +2 -2
- package/fesm2022/c8y-ngx-components-tenants.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-html-widget.mjs +3 -3
- package/fesm2022/c8y-ngx-components-widgets-definitions-html-widget.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-exports.mjs +52 -50
- package/fesm2022/c8y-ngx-components-widgets-exports.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-html-widget.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-three-d-rotation.mjs +4 -0
- package/fesm2022/c8y-ngx-components-widgets-implementations-three-d-rotation.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +30 -7
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/index.d.ts +10 -2
- package/index.d.ts.map +1 -1
- package/locales/de.po +317 -21
- package/locales/es.po +289 -7
- package/locales/fr.po +289 -7
- package/locales/ja_JP.po +289 -7
- package/locales/ko.po +289 -7
- package/locales/locales.pot +289 -7
- package/locales/nl.po +289 -7
- package/locales/pl.po +289 -7
- package/locales/pt_BR.po +289 -7
- package/locales/zh_CN.po +289 -7
- package/locales/zh_TW.po +289 -7
- package/package.json +1 -1
- package/widgets/exports/index.d.ts.map +1 -1
- package/widgets/implementations/html-widget/index.d.ts +2 -2
- package/widgets/implementations/html-widget/index.d.ts.map +1 -1
- package/widgets/implementations/three-d-rotation/index.d.ts.map +1 -1
|
@@ -70,10 +70,10 @@ class HtmlWidgetFactory {
|
|
|
70
70
|
loadComponent: () => import('@c8y/ngx-components/widgets/implementations/html-widget').then(m => m.HtmlWidgetComponent),
|
|
71
71
|
previewImage: 'c8y-style-assets/html-widget-pr.png',
|
|
72
72
|
data: {
|
|
73
|
+
schema: () => import('c8y-schema-loader?interfaceName=HtmlWidgetConfig!@c8y/ngx-components/widgets/implementations/html-widget'),
|
|
74
|
+
export: exportConfigWithDevice,
|
|
75
|
+
import: importConfigWithDevice,
|
|
73
76
|
settings: {
|
|
74
|
-
schema: () => import('c8y-schema-loader?interfaceName=HtmlWidgetConfig!@c8y/ngx-components/widgets/implementations/html-widget'),
|
|
75
|
-
export: exportConfigWithDevice,
|
|
76
|
-
import: importConfigWithDevice,
|
|
77
77
|
noNewWidgets: false,
|
|
78
78
|
widgetDefaults: {
|
|
79
79
|
_width: 8,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"c8y-ngx-components-widgets-definitions-html-widget.mjs","sources":["../../widgets/definitions/html-widget/html-widget-config.factory.ts","../../widgets/definitions/html-widget/html-widget.factory.ts","../../widgets/definitions/html-widget/index.ts","../../widgets/definitions/html-widget/c8y-ngx-components-widgets-definitions-html-widget.ts"],"sourcesContent":["import { inject, Injectable } from '@angular/core';\nimport { ExtensionFactory, PreviewService } from '@c8y/ngx-components';\nimport { gettext } from '@c8y/ngx-components/gettext';\nimport type { WidgetConfigSectionDefinition } from '@c8y/ngx-components/context-dashboard';\nimport { map, Observable } from 'rxjs';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class HtmlWidgetConfigFactory implements ExtensionFactory<WidgetConfigSectionDefinition> {\n private readonly betaPreviewService = inject(PreviewService);\n private readonly baseWidgetConfigDefinition: WidgetConfigSectionDefinition[] = [\n {\n widgetId: defaultWidgetIds.HTML,\n providers: () =>\n import('@c8y/ngx-components/widgets/implementations/html-widget').then(m => [\n m.HtmlWidgetConfigService\n ]),\n label: gettext('Asset selection'),\n loadComponent: () =>\n import('@c8y/ngx-components/context-dashboard').then(m => m.WidgetAssetSelectorComponent),\n priority: 100,\n initialState: {\n isRequired: false,\n groupsSelectable: true\n }\n },\n {\n widgetId: defaultWidgetIds.HTML,\n label: gettext('Asset properties'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/html-widget').then(\n m => m.HtmlWidgetPropertiesSelectorComponent\n ),\n priority: 50\n },\n {\n widgetId: defaultWidgetIds.HTML,\n providers: () =>\n import('@c8y/ngx-components/widgets/implementations/html-widget').then(m => [\n m.HtmlWidgetConfigService\n ]),\n label: gettext('Settings'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/html-widget').then(\n m => m.HtmlWidgetConfigComponent\n ),\n priority: 0,\n expanded: true\n }\n ];\n\n get(): Observable<WidgetConfigSectionDefinition[]> {\n return this.betaPreviewService.getState$('ui.html-widget.v2').pipe(\n map(state => {\n if (state) {\n return this.baseWidgetConfigDefinition;\n }\n return [];\n })\n );\n }\n}\n","import { inject, Injectable } from '@angular/core';\nimport { gettext } from '@c8y/ngx-components/gettext';\nimport {\n DynamicComponentDefinition,\n DynamicManagedObjectResolver,\n DynamicWidgetDefinition,\n ExtensionFactory,\n PreviewService\n} from '@c8y/ngx-components';\nimport { map, Observable } from 'rxjs';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\nimport {\n exportConfigWithDevice,\n importConfigWithDevice\n} from '@c8y/ngx-components/widgets/import-export-config';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class HtmlWidgetFactory implements ExtensionFactory<DynamicComponentDefinition> {\n private readonly betaPreviewService = inject(PreviewService);\n private readonly baseWidgetDefinition: DynamicComponentDefinition = {\n id: defaultWidgetIds.HTML,\n label: gettext('HTML'),\n description: gettext(`Display custom HTML code.`),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/html-widget').then(\n m => m.HtmlWidgetComponent\n ),\n previewImage: 'c8y-style-assets/html-widget-pr.png',\n data: {\n
|
|
1
|
+
{"version":3,"file":"c8y-ngx-components-widgets-definitions-html-widget.mjs","sources":["../../widgets/definitions/html-widget/html-widget-config.factory.ts","../../widgets/definitions/html-widget/html-widget.factory.ts","../../widgets/definitions/html-widget/index.ts","../../widgets/definitions/html-widget/c8y-ngx-components-widgets-definitions-html-widget.ts"],"sourcesContent":["import { inject, Injectable } from '@angular/core';\nimport { ExtensionFactory, PreviewService } from '@c8y/ngx-components';\nimport { gettext } from '@c8y/ngx-components/gettext';\nimport type { WidgetConfigSectionDefinition } from '@c8y/ngx-components/context-dashboard';\nimport { map, Observable } from 'rxjs';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class HtmlWidgetConfigFactory implements ExtensionFactory<WidgetConfigSectionDefinition> {\n private readonly betaPreviewService = inject(PreviewService);\n private readonly baseWidgetConfigDefinition: WidgetConfigSectionDefinition[] = [\n {\n widgetId: defaultWidgetIds.HTML,\n providers: () =>\n import('@c8y/ngx-components/widgets/implementations/html-widget').then(m => [\n m.HtmlWidgetConfigService\n ]),\n label: gettext('Asset selection'),\n loadComponent: () =>\n import('@c8y/ngx-components/context-dashboard').then(m => m.WidgetAssetSelectorComponent),\n priority: 100,\n initialState: {\n isRequired: false,\n groupsSelectable: true\n }\n },\n {\n widgetId: defaultWidgetIds.HTML,\n label: gettext('Asset properties'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/html-widget').then(\n m => m.HtmlWidgetPropertiesSelectorComponent\n ),\n priority: 50\n },\n {\n widgetId: defaultWidgetIds.HTML,\n providers: () =>\n import('@c8y/ngx-components/widgets/implementations/html-widget').then(m => [\n m.HtmlWidgetConfigService\n ]),\n label: gettext('Settings'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/html-widget').then(\n m => m.HtmlWidgetConfigComponent\n ),\n priority: 0,\n expanded: true\n }\n ];\n\n get(): Observable<WidgetConfigSectionDefinition[]> {\n return this.betaPreviewService.getState$('ui.html-widget.v2').pipe(\n map(state => {\n if (state) {\n return this.baseWidgetConfigDefinition;\n }\n return [];\n })\n );\n }\n}\n","import { inject, Injectable } from '@angular/core';\nimport { gettext } from '@c8y/ngx-components/gettext';\nimport {\n DynamicComponentDefinition,\n DynamicManagedObjectResolver,\n DynamicWidgetDefinition,\n ExtensionFactory,\n PreviewService\n} from '@c8y/ngx-components';\nimport { map, Observable } from 'rxjs';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\nimport {\n exportConfigWithDevice,\n importConfigWithDevice\n} from '@c8y/ngx-components/widgets/import-export-config';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class HtmlWidgetFactory implements ExtensionFactory<DynamicComponentDefinition> {\n private readonly betaPreviewService = inject(PreviewService);\n private readonly baseWidgetDefinition: DynamicComponentDefinition = {\n id: defaultWidgetIds.HTML,\n label: gettext('HTML'),\n description: gettext(`Display custom HTML code.`),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/html-widget').then(\n m => m.HtmlWidgetComponent\n ),\n previewImage: 'c8y-style-assets/html-widget-pr.png',\n data: {\n schema: () =>\n import(\n 'c8y-schema-loader?interfaceName=HtmlWidgetConfig!@c8y/ngx-components/widgets/implementations/html-widget'\n ),\n export: exportConfigWithDevice,\n import: importConfigWithDevice,\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 8,\n _height: 4\n }\n }\n },\n resolve: {\n device: DynamicManagedObjectResolver\n }\n };\n\n get(): Observable<DynamicWidgetDefinition[]> {\n return this.betaPreviewService.getState$('ui.html-widget.v2').pipe(\n map(state => {\n if (state) {\n return [this.baseWidgetDefinition];\n }\n return [];\n })\n );\n }\n}\n","import { hookPreview, hookWidget } from '@c8y/ngx-components';\nimport { hookWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport { HtmlWidgetConfigFactory } from './html-widget-config.factory';\nimport { HtmlWidgetFactory } from './html-widget.factory';\n\nexport const htmlWidgetProviders = [\n hookWidget(HtmlWidgetFactory),\n hookWidgetConfig(HtmlWidgetConfigFactory),\n hookPreview({\n key: 'ui.html-widget.v2',\n label: 'Improved HTML widget',\n description: () =>\n import('@c8y/style/markdown-files/html-widget-preview.md').then(m => m.default),\n settings: {\n reload: true\n }\n })\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAUa,uBAAuB,CAAA;AAHpC,IAAA,WAAA,GAAA;AAImB,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,cAAc,CAAC;AAC3C,QAAA,IAAA,CAAA,0BAA0B,GAAoC;AAC7E,YAAA;gBACE,QAAQ,EAAE,gBAAgB,CAAC,IAAI;AAC/B,gBAAA,SAAS,EAAE,MACT,OAAO,yDAAyD,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI;AAC1E,oBAAA,CAAC,CAAC;iBACH,CAAC;AACJ,gBAAA,KAAK,EAAE,OAAO,CAAC,iBAAiB,CAAC;AACjC,gBAAA,aAAa,EAAE,MACb,OAAO,uCAAuC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,4BAA4B,CAAC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C;YACpC;AACA,YAAA,OAAO,EAAE;QACX,CAAC,CAAC,CACH;IACH;+GAxCW,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,cAFhB,MAAM,EAAA,CAAA,CAAA;;4FAEP,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAH7B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE;AACb,iBAAA;;;ACbM,MAAM,mBAAmB,GAAG;IACjC,UAAU,CAAC,iBAAiB,CAAC;IAC7B,gBAAgB,CAAC,uBAAuB,CAAC;AACzC,IAAA,WAAW,CAAC;AACV,QAAA,GAAG,EAAE,mBAAmB;AACxB,QAAA,KAAK,EAAE,sBAAsB;AAC7B,QAAA,WAAW,EAAE,MACX,OAAO,kDAAkD,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC;AACjF,QAAA,QAAQ,EAAE;AACR,YAAA,MAAM,EAAE;AACT;KACF;;;AChBH;;AAEG;;;;"}
|
|
@@ -1,176 +1,178 @@
|
|
|
1
|
+
import { gettext } from '@c8y/ngx-components/gettext';
|
|
2
|
+
|
|
1
3
|
const radialGaugeWidgetExport = {
|
|
2
|
-
name: 'Widgets: Radial Gauge widget',
|
|
4
|
+
name: gettext('Widgets: Radial Gauge widget'),
|
|
3
5
|
module: 'radialGaugeWidgetProviders',
|
|
4
6
|
path: '@c8y/ngx-components/widgets/definitions/radial-gauge',
|
|
5
|
-
description: 'Radial gauge widget',
|
|
7
|
+
description: gettext('Radial gauge widget'),
|
|
6
8
|
scope: 'self'
|
|
7
9
|
};
|
|
8
10
|
const kpiWidgetExport = {
|
|
9
|
-
name: 'Widgets: KPI widget',
|
|
11
|
+
name: gettext('Widgets: KPI widget'),
|
|
10
12
|
module: 'kpiWidgetProviders',
|
|
11
13
|
path: '@c8y/ngx-components/widgets/definitions/kpi',
|
|
12
|
-
description: 'KPI widget',
|
|
14
|
+
description: gettext('KPI widget'),
|
|
13
15
|
scope: 'self'
|
|
14
16
|
};
|
|
15
17
|
const alarmListWidgetExport = {
|
|
16
|
-
name: 'Widgets: Alarm list',
|
|
18
|
+
name: gettext('Widgets: Alarm list'),
|
|
17
19
|
module: 'alarmListWidgetProviders',
|
|
18
20
|
path: '@c8y/ngx-components/widgets/definitions/alarms/alarm-list',
|
|
19
|
-
description: 'Alarm list widget',
|
|
21
|
+
description: gettext('Alarm list widget'),
|
|
20
22
|
scope: 'self'
|
|
21
23
|
};
|
|
22
24
|
const criticalAlarmsWidgetExport = {
|
|
23
|
-
name: 'Widgets: All critical alarms',
|
|
25
|
+
name: gettext('Widgets: All critical alarms'),
|
|
24
26
|
module: 'criticalAlarmsWidgetProviders',
|
|
25
27
|
path: '@c8y/ngx-components/widgets/definitions/alarms/all-critical-alarms',
|
|
26
|
-
description: 'All critical alarms widget',
|
|
28
|
+
description: gettext('All critical alarms widget'),
|
|
27
29
|
scope: 'self'
|
|
28
30
|
};
|
|
29
31
|
const recentAlarmsWidgetExport = {
|
|
30
|
-
name: 'Widgets: Recent alarms',
|
|
32
|
+
name: gettext('Widgets: Recent alarms'),
|
|
31
33
|
module: 'recentAlarmsWidgetProviders',
|
|
32
34
|
path: '@c8y/ngx-components/widgets/definitions/alarms/recent-alarms',
|
|
33
|
-
description: 'Recent alarms widget',
|
|
35
|
+
description: gettext('Recent alarms widget'),
|
|
34
36
|
scope: 'self'
|
|
35
37
|
};
|
|
36
38
|
const applicationsWidgetExport = {
|
|
37
|
-
name: 'Widgets: Applications',
|
|
39
|
+
name: gettext('Widgets: Applications'),
|
|
38
40
|
module: 'applicationsWidgetProviders',
|
|
39
41
|
path: '@c8y/ngx-components/widgets/definitions/applications',
|
|
40
|
-
description: 'Applications widget',
|
|
42
|
+
description: gettext('Applications widget'),
|
|
41
43
|
scope: 'self'
|
|
42
44
|
};
|
|
43
45
|
const legacyCockpitWelcomeWidgetExport = {
|
|
44
|
-
name: 'Widgets: Legacy welcome to Cockpit',
|
|
46
|
+
name: gettext('Widgets: Legacy welcome to Cockpit'),
|
|
45
47
|
module: 'legacyCockpitWelcomeWidgetProviders',
|
|
46
48
|
path: '@c8y/ngx-components/widgets/definitions/cockpit-legacy-welcome',
|
|
47
|
-
description: 'Legacy welcome to Cockpit widget',
|
|
49
|
+
description: gettext('Legacy welcome to Cockpit widget'),
|
|
48
50
|
scope: 'self'
|
|
49
51
|
};
|
|
50
52
|
const cockpitWelcomeWidgetExport = {
|
|
51
|
-
name: 'Widgets: Welcome to Cockpit',
|
|
53
|
+
name: gettext('Widgets: Welcome to Cockpit'),
|
|
52
54
|
module: 'cockpitWelcomeWidgetProviders',
|
|
53
55
|
path: '@c8y/ngx-components/widgets/definitions/cockpit-welcome',
|
|
54
|
-
description: 'Welcome to Cockpit widget',
|
|
56
|
+
description: gettext('Welcome to Cockpit widget'),
|
|
55
57
|
scope: 'self'
|
|
56
58
|
};
|
|
57
59
|
const deviceControlMessageWidgetExport = {
|
|
58
|
-
name: 'Widgets: Message sending',
|
|
60
|
+
name: gettext('Widgets: Message sending'),
|
|
59
61
|
module: 'deviceControlMessageWidgetProviders',
|
|
60
62
|
path: '@c8y/ngx-components/widgets/definitions/device-control-message',
|
|
61
|
-
description: 'Message sending widget',
|
|
63
|
+
description: gettext('Message sending widget'),
|
|
62
64
|
scope: 'self'
|
|
63
65
|
};
|
|
64
66
|
const helpAndServiceWidgetExport = {
|
|
65
|
-
name: 'Widgets: Help and service',
|
|
67
|
+
name: gettext('Widgets: Help and service'),
|
|
66
68
|
module: 'helpAndServiceWidgetProviders',
|
|
67
69
|
path: '@c8y/ngx-components/widgets/definitions/help-and-service',
|
|
68
|
-
description: 'Help and service widget',
|
|
70
|
+
description: gettext('Help and service widget'),
|
|
69
71
|
scope: 'self'
|
|
70
72
|
};
|
|
71
73
|
const imageWidgetExport = {
|
|
72
|
-
name: 'Widgets: Image',
|
|
74
|
+
name: gettext('Widgets: Image'),
|
|
73
75
|
module: 'imageWidgetProviders',
|
|
74
76
|
path: '@c8y/ngx-components/widgets/definitions/image',
|
|
75
|
-
description: 'Image widget',
|
|
77
|
+
description: gettext('Image widget'),
|
|
76
78
|
scope: 'self'
|
|
77
79
|
};
|
|
78
80
|
const infoGaugeWidgetExport = {
|
|
79
|
-
name: 'Widgets: Info gauge',
|
|
81
|
+
name: gettext('Widgets: Info gauge'),
|
|
80
82
|
module: 'infoGaugeWidgetProviders',
|
|
81
83
|
path: '@c8y/ngx-components/widgets/definitions/info-gauge',
|
|
82
|
-
description: 'Info gauge widget',
|
|
84
|
+
description: gettext('Info gauge widget'),
|
|
83
85
|
scope: 'self'
|
|
84
86
|
};
|
|
85
87
|
const mapWidgetExport = {
|
|
86
|
-
name: 'Widgets: Map',
|
|
88
|
+
name: gettext('Widgets: Map'),
|
|
87
89
|
module: 'mapWidgetProviders',
|
|
88
90
|
path: '@c8y/ngx-components/widgets/definitions/map',
|
|
89
|
-
description: 'Map widget',
|
|
91
|
+
description: gettext('Map widget'),
|
|
90
92
|
scope: 'self'
|
|
91
93
|
};
|
|
92
94
|
const markdownWidgetExport = {
|
|
93
|
-
name: 'Widgets: Markdown',
|
|
95
|
+
name: gettext('Widgets: Markdown'),
|
|
94
96
|
module: 'markdownWidgetProviders',
|
|
95
97
|
path: '@c8y/ngx-components/widgets/definitions/markdown',
|
|
96
|
-
description: 'Markdown widget',
|
|
98
|
+
description: gettext('Markdown widget'),
|
|
97
99
|
scope: 'self'
|
|
98
100
|
};
|
|
99
101
|
const threeDRotationWidgetExport = {
|
|
100
|
-
name: 'Widgets: Rotation',
|
|
102
|
+
name: gettext('Widgets: Rotation'),
|
|
101
103
|
module: 'threeDRotationWidgetProviders',
|
|
102
104
|
path: '@c8y/ngx-components/widgets/definitions/three-d-rotation',
|
|
103
|
-
description: 'Rotation widget',
|
|
105
|
+
description: gettext('Rotation widget'),
|
|
104
106
|
scope: 'self'
|
|
105
107
|
};
|
|
106
108
|
const siloWidgetExport = {
|
|
107
|
-
name: 'Widgets: Silo',
|
|
109
|
+
name: gettext('Widgets: Silo'),
|
|
108
110
|
module: 'siloWidgetProviders',
|
|
109
111
|
path: '@c8y/ngx-components/widgets/definitions/silo',
|
|
110
|
-
description: 'Silo widget',
|
|
112
|
+
description: gettext('Silo widget'),
|
|
111
113
|
scope: 'self'
|
|
112
114
|
};
|
|
113
115
|
const linearGaugeWidgetExport = {
|
|
114
|
-
name: 'Widgets: Linear Gauge',
|
|
116
|
+
name: gettext('Widgets: Linear Gauge'),
|
|
115
117
|
module: 'linearGaugeWidgetProviders',
|
|
116
118
|
path: '@c8y/ngx-components/widgets/definitions/linear-gauge',
|
|
117
|
-
description: 'Linear Gauge widget',
|
|
119
|
+
description: gettext('Linear Gauge widget'),
|
|
118
120
|
scope: 'self'
|
|
119
121
|
};
|
|
120
122
|
const datapointGraphWidgetExport = {
|
|
121
|
-
name: 'Widgets: Data points graph',
|
|
123
|
+
name: gettext('Widgets: Data points graph'),
|
|
122
124
|
module: 'datapointGraphWidgetproviders',
|
|
123
125
|
path: '@c8y/ngx-components/widgets/definitions/datapoints-graph',
|
|
124
|
-
description: 'Data points graph widget',
|
|
126
|
+
description: gettext('Data points graph widget'),
|
|
125
127
|
scope: 'self'
|
|
126
128
|
};
|
|
127
129
|
const dataPointsTableWidgetExport = {
|
|
128
|
-
name: 'Widgets: Data Points Table',
|
|
130
|
+
name: gettext('Widgets: Data Points Table'),
|
|
129
131
|
module: 'dataPointsTableWidgetProviders',
|
|
130
132
|
path: '@c8y/ngx-components/widgets/definitions/datapoints-table',
|
|
131
|
-
description: 'Data Points Table widget',
|
|
133
|
+
description: gettext('Data Points Table widget'),
|
|
132
134
|
scope: 'self'
|
|
133
135
|
};
|
|
134
136
|
const htmlWidgetExport = {
|
|
135
|
-
name: 'Widgets: HTML Widget',
|
|
137
|
+
name: gettext('Widgets: HTML Widget'),
|
|
136
138
|
module: 'htmlWidgetProviders',
|
|
137
139
|
path: '@c8y/ngx-components/widgets/definitions/html-widget',
|
|
138
|
-
description: 'Allows to set custom HTML on a dashboard',
|
|
140
|
+
description: gettext('Allows to set custom HTML on a dashboard'),
|
|
139
141
|
scope: 'self'
|
|
140
142
|
};
|
|
141
143
|
const quickLinksWidgetExport = {
|
|
142
|
-
name: 'Widgets: Quick Links',
|
|
144
|
+
name: gettext('Widgets: Quick Links'),
|
|
143
145
|
module: 'quickLinksWidgetProviders',
|
|
144
146
|
path: '@c8y/ngx-components/widgets/definitions/quick-links',
|
|
145
|
-
description: 'Quick Links widget',
|
|
147
|
+
description: gettext('Quick Links widget'),
|
|
146
148
|
scope: 'self'
|
|
147
149
|
};
|
|
148
150
|
const deviceManagementWelcomeWidgetExport = {
|
|
149
|
-
name: 'Widgets: Welcome to Device Management',
|
|
151
|
+
name: gettext('Widgets: Welcome to Device Management'),
|
|
150
152
|
module: 'deviceManagementWelcomeWidgetProviders',
|
|
151
153
|
path: '@c8y/ngx-components/widgets/definitions/device-management-welcome',
|
|
152
|
-
description: 'Welcome to Device Management widget',
|
|
154
|
+
description: gettext('Welcome to Device Management widget'),
|
|
153
155
|
scope: 'self'
|
|
154
156
|
};
|
|
155
157
|
const assetNotesWidgetExport = {
|
|
156
|
-
name: 'Widgets: Asset notes',
|
|
158
|
+
name: gettext('Widgets: Asset notes'),
|
|
157
159
|
module: 'assetNotesWidgetProviders',
|
|
158
160
|
path: '@c8y/ngx-components/widgets/definitions/asset-notes',
|
|
159
|
-
description: 'Asset notes widget',
|
|
161
|
+
description: gettext('Asset notes widget'),
|
|
160
162
|
scope: 'self'
|
|
161
163
|
};
|
|
162
164
|
const eventListWidgetExport = {
|
|
163
|
-
name: 'Widgets: Event list',
|
|
165
|
+
name: gettext('Widgets: Event list'),
|
|
164
166
|
module: 'eventListWidgetProviders',
|
|
165
167
|
path: '@c8y/ngx-components/widgets/definitions/event-list',
|
|
166
|
-
description: 'Event list widget',
|
|
168
|
+
description: gettext('Event list widget'),
|
|
167
169
|
scope: 'self'
|
|
168
170
|
};
|
|
169
171
|
const htmlWidgetAIChat = {
|
|
170
|
-
name: 'Widgets: HTML Widget AI Code Assistant',
|
|
172
|
+
name: gettext('Widgets: HTML Widget AI Code Assistant'),
|
|
171
173
|
module: 'htmlWidgetAIChatProviders',
|
|
172
174
|
path: '@c8y/ngx-components/widgets/definitions/html-widget-ai-config',
|
|
173
|
-
description: 'Adds AI Code Assistant capabilities to the HTML Widget',
|
|
175
|
+
description: gettext('Adds AI Code Assistant capabilities to the HTML Widget'),
|
|
174
176
|
scope: 'self'
|
|
175
177
|
};
|
|
176
178
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"c8y-ngx-components-widgets-exports.mjs","sources":["../../widgets/exports/index.ts","../../widgets/exports/c8y-ngx-components-widgets-exports.ts"],"sourcesContent":["import { PluginsExports } from '@c8y/options';\n\nexport const radialGaugeWidgetExport = {\n name: 'Widgets: Radial Gauge widget',\n module: 'radialGaugeWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/radial-gauge',\n description: 'Radial gauge widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const kpiWidgetExport = {\n name: 'Widgets: KPI widget',\n module: 'kpiWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/kpi',\n description: 'KPI widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const alarmListWidgetExport = {\n name: 'Widgets: Alarm list',\n module: 'alarmListWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/alarms/alarm-list',\n description: 'Alarm list widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const criticalAlarmsWidgetExport = {\n name: 'Widgets: All critical alarms',\n module: 'criticalAlarmsWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/alarms/all-critical-alarms',\n description: 'All critical alarms widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const recentAlarmsWidgetExport = {\n name: 'Widgets: Recent alarms',\n module: 'recentAlarmsWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/alarms/recent-alarms',\n description: 'Recent alarms widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const applicationsWidgetExport = {\n name: 'Widgets: Applications',\n module: 'applicationsWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/applications',\n description: 'Applications widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const legacyCockpitWelcomeWidgetExport = {\n name: 'Widgets: Legacy welcome to Cockpit',\n module: 'legacyCockpitWelcomeWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/cockpit-legacy-welcome',\n description: 'Legacy welcome to Cockpit widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const cockpitWelcomeWidgetExport = {\n name: 'Widgets: Welcome to Cockpit',\n module: 'cockpitWelcomeWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/cockpit-welcome',\n description: 'Welcome to Cockpit widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const deviceControlMessageWidgetExport = {\n name: 'Widgets: Message sending',\n module: 'deviceControlMessageWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/device-control-message',\n description: 'Message sending widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const helpAndServiceWidgetExport = {\n name: 'Widgets: Help and service',\n module: 'helpAndServiceWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/help-and-service',\n description: 'Help and service widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const imageWidgetExport = {\n name: 'Widgets: Image',\n module: 'imageWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/image',\n description: 'Image widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const infoGaugeWidgetExport = {\n name: 'Widgets: Info gauge',\n module: 'infoGaugeWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/info-gauge',\n description: 'Info gauge widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const mapWidgetExport = {\n name: 'Widgets: Map',\n module: 'mapWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/map',\n description: 'Map widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const markdownWidgetExport = {\n name: 'Widgets: Markdown',\n module: 'markdownWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/markdown',\n description: 'Markdown widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const threeDRotationWidgetExport = {\n name: 'Widgets: Rotation',\n module: 'threeDRotationWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/three-d-rotation',\n description: 'Rotation widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const siloWidgetExport = {\n name: 'Widgets: Silo',\n module: 'siloWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/silo',\n description: 'Silo widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const linearGaugeWidgetExport = {\n name: 'Widgets: Linear Gauge',\n module: 'linearGaugeWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/linear-gauge',\n description: 'Linear Gauge widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const datapointGraphWidgetExport = {\n name: 'Widgets: Data points graph',\n module: 'datapointGraphWidgetproviders',\n path: '@c8y/ngx-components/widgets/definitions/datapoints-graph',\n description: 'Data points graph widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const dataPointsTableWidgetExport = {\n name: 'Widgets: Data Points Table',\n module: 'dataPointsTableWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/datapoints-table',\n description: 'Data Points Table widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const htmlWidgetExport = {\n name: 'Widgets: HTML Widget',\n module: 'htmlWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/html-widget',\n description: 'Allows to set custom HTML on a dashboard',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const quickLinksWidgetExport = {\n name: 'Widgets: Quick Links',\n module: 'quickLinksWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/quick-links',\n description: 'Quick Links widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const deviceManagementWelcomeWidgetExport = {\n name: 'Widgets: Welcome to Device Management',\n module: 'deviceManagementWelcomeWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/device-management-welcome',\n description: 'Welcome to Device Management widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const assetNotesWidgetExport = {\n name: 'Widgets: Asset notes',\n module: 'assetNotesWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/asset-notes',\n description: 'Asset notes widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const eventListWidgetExport = {\n name: 'Widgets: Event list',\n module: 'eventListWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/event-list',\n description: 'Event list widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const htmlWidgetAIChat = {\n name: 'Widgets: HTML Widget AI Code Assistant',\n module: 'htmlWidgetAIChatProviders',\n path: '@c8y/ngx-components/widgets/definitions/html-widget-ai-config',\n description: 'Adds AI Code Assistant capabilities to the HTML Widget',\n scope: 'self'\n} as const satisfies PluginsExports;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAEO,MAAM,uBAAuB,GAAG;AACrC,IAAA,IAAI,EAAE,8BAA8B;AACpC,IAAA,MAAM,EAAE,4BAA4B;AACpC,IAAA,IAAI,EAAE,sDAAsD;AAC5D,IAAA,WAAW,EAAE,qBAAqB;AAClC,IAAA,KAAK,EAAE;;AAGF,MAAM,eAAe,GAAG;AAC7B,IAAA,IAAI,EAAE,qBAAqB;AAC3B,IAAA,MAAM,EAAE,oBAAoB;AAC5B,IAAA,IAAI,E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AAqC;AAClD,IAAA,KAAK,EAAE;;AAGF,MAAM,sBAAsB,GAAG;AACpC,IAAA,IAAI,EAAE,sBAAsB;AAC5B,IAAA,MAAM,EAAE,2BAA2B;AACnC,IAAA,IAAI,EAAE,qDAAqD;AAC3D,IAAA,WAAW,EAAE,oBAAoB;AACjC,IAAA,KAAK,EAAE;;AAGF,MAAM,qBAAqB,GAAG;AACnC,IAAA,IAAI,EAAE,qBAAqB;AAC3B,IAAA,MAAM,EAAE,0BAA0B;AAClC,IAAA,IAAI,EAAE,oDAAoD;AAC1D,IAAA,WAAW,EAAE,mBAAmB;AAChC,IAAA,KAAK,EAAE;;AAGF,MAAM,gBAAgB,GAAG;AAC9B,IAAA,IAAI,EAAE,wCAAwC;AAC9C,IAAA,MAAM,EAAE,2BAA2B;AACnC,IAAA,IAAI,EAAE,+DAA+D;AACrE,IAAA,WAAW,EAAE,wDAAwD;AACrE,IAAA,KAAK,EAAE;;;ACvMT;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"c8y-ngx-components-widgets-exports.mjs","sources":["../../widgets/exports/index.ts","../../widgets/exports/c8y-ngx-components-widgets-exports.ts"],"sourcesContent":["import { PluginsExports } from '@c8y/options';\nimport { gettext } from '@c8y/ngx-components/gettext';\n\nexport const radialGaugeWidgetExport = {\n name: gettext('Widgets: Radial Gauge widget'),\n module: 'radialGaugeWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/radial-gauge',\n description: gettext('Radial gauge widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const kpiWidgetExport = {\n name: gettext('Widgets: KPI widget'),\n module: 'kpiWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/kpi',\n description: gettext('KPI widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const alarmListWidgetExport = {\n name: gettext('Widgets: Alarm list'),\n module: 'alarmListWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/alarms/alarm-list',\n description: gettext('Alarm list widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const criticalAlarmsWidgetExport = {\n name: gettext('Widgets: All critical alarms'),\n module: 'criticalAlarmsWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/alarms/all-critical-alarms',\n description: gettext('All critical alarms widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const recentAlarmsWidgetExport = {\n name: gettext('Widgets: Recent alarms'),\n module: 'recentAlarmsWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/alarms/recent-alarms',\n description: gettext('Recent alarms widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const applicationsWidgetExport = {\n name: gettext('Widgets: Applications'),\n module: 'applicationsWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/applications',\n description: gettext('Applications widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const legacyCockpitWelcomeWidgetExport = {\n name: gettext('Widgets: Legacy welcome to Cockpit'),\n module: 'legacyCockpitWelcomeWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/cockpit-legacy-welcome',\n description: gettext('Legacy welcome to Cockpit widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const cockpitWelcomeWidgetExport = {\n name: gettext('Widgets: Welcome to Cockpit'),\n module: 'cockpitWelcomeWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/cockpit-welcome',\n description: gettext('Welcome to Cockpit widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const deviceControlMessageWidgetExport = {\n name: gettext('Widgets: Message sending'),\n module: 'deviceControlMessageWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/device-control-message',\n description: gettext('Message sending widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const helpAndServiceWidgetExport = {\n name: gettext('Widgets: Help and service'),\n module: 'helpAndServiceWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/help-and-service',\n description: gettext('Help and service widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const imageWidgetExport = {\n name: gettext('Widgets: Image'),\n module: 'imageWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/image',\n description: gettext('Image widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const infoGaugeWidgetExport = {\n name: gettext('Widgets: Info gauge'),\n module: 'infoGaugeWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/info-gauge',\n description: gettext('Info gauge widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const mapWidgetExport = {\n name: gettext('Widgets: Map'),\n module: 'mapWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/map',\n description: gettext('Map widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const markdownWidgetExport = {\n name: gettext('Widgets: Markdown'),\n module: 'markdownWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/markdown',\n description: gettext('Markdown widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const threeDRotationWidgetExport = {\n name: gettext('Widgets: Rotation'),\n module: 'threeDRotationWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/three-d-rotation',\n description: gettext('Rotation widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const siloWidgetExport = {\n name: gettext('Widgets: Silo'),\n module: 'siloWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/silo',\n description: gettext('Silo widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const linearGaugeWidgetExport = {\n name: gettext('Widgets: Linear Gauge'),\n module: 'linearGaugeWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/linear-gauge',\n description: gettext('Linear Gauge widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const datapointGraphWidgetExport = {\n name: gettext('Widgets: Data points graph'),\n module: 'datapointGraphWidgetproviders',\n path: '@c8y/ngx-components/widgets/definitions/datapoints-graph',\n description: gettext('Data points graph widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const dataPointsTableWidgetExport = {\n name: gettext('Widgets: Data Points Table'),\n module: 'dataPointsTableWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/datapoints-table',\n description: gettext('Data Points Table widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const htmlWidgetExport = {\n name: gettext('Widgets: HTML Widget'),\n module: 'htmlWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/html-widget',\n description: gettext('Allows to set custom HTML on a dashboard'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const quickLinksWidgetExport = {\n name: gettext('Widgets: Quick Links'),\n module: 'quickLinksWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/quick-links',\n description: gettext('Quick Links widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const deviceManagementWelcomeWidgetExport = {\n name: gettext('Widgets: Welcome to Device Management'),\n module: 'deviceManagementWelcomeWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/device-management-welcome',\n description: gettext('Welcome to Device Management widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const assetNotesWidgetExport = {\n name: gettext('Widgets: Asset notes'),\n module: 'assetNotesWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/asset-notes',\n description: gettext('Asset notes widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const eventListWidgetExport = {\n name: gettext('Widgets: Event list'),\n module: 'eventListWidgetProviders',\n path: '@c8y/ngx-components/widgets/definitions/event-list',\n description: gettext('Event list widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n\nexport const htmlWidgetAIChat = {\n name: gettext('Widgets: HTML Widget AI Code Assistant'),\n module: 'htmlWidgetAIChatProviders',\n path: '@c8y/ngx-components/widgets/definitions/html-widget-ai-config',\n description: gettext('Adds AI Code Assistant capabilities to the HTML Widget'),\n scope: 'self'\n} as const satisfies PluginsExports;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAGO,MAAM,uBAAuB,GAAG;AAC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