@c8y/ngx-components 1023.14.68 → 1023.14.70

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.
@@ -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,EAA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F,MAAM,mCAAmC,GAAG;AACjD,IAAA,IAAI,EAAE,uCAAuC;AAC7C,IAAA,MAAM,EAAE,wCAAwC;AAChD,IAAA,IAAI,EAAE,mEAAmE;AACzE,IAAA,WAAW,EAAE,qCAAqC;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;AACrC,IAAA,IAAI,EAAE,OAAO,CAAC,8BAA8B,CAAC;AAC7C,IAAA,MAAM,EAAE,4BAA4B;AACpC,IAAA,IAAI,EAAE,sDAAsD;AAC5D,IAAA,WAAW,EAAE,OAAO,CAAC,qBAAqB,CAAC;AAC3C,IAAA,KAAK,EAAE;;AAGF,MAAM,eAAe,GAAG;AAC7B,IAAA,IAAI,EAAE,OAAO,CAAC,qBAAqB,CAAC;AACpC,IAAA,MAAM,EAAE,oBAAoB;AAC5B,IAAA,IAAI,EAAE,6CAA6C;AACnD,IAAA,WAAW,EAAE,OAAO,CAAC,YAAY,CAAC;AAClC,IAAA,KAAK,EAAE;;AAGF,MAAM,qBAAqB,GAAG;AACnC,IAAA,IAAI,EAAE,OAAO,CAAC,qBAAqB,CAAC;AACpC,IAAA,MAAM,EAAE,0BAA0B;AAClC,IAAA,IAAI,EAAE,2DAA2D;AACjE,IAAA,WAAW,EAAE,OAAO,CAAC,mBAAmB,CAAC;AACzC,IAAA,KAAK,EAAE;;AAGF,MAAM,0BAA0B,GAAG;AACxC,IAAA,IAAI,EAAE,OAAO,CAAC,8BAA8B,CAAC;AAC7C,IAAA,MAAM,EAAE,+BAA+B;AACvC,IAAA,IAAI,EAAE,oEAAoE;AAC1E,IAAA,WAAW,EAAE,OAAO,CAAC,4BAA4B,CAAC;AAClD,IAAA,KAAK,EAAE;;AAGF,MAAM,wBAAwB,GAAG;AACtC,IAAA,IAAI,EAAE,OAAO,CAAC,wBAAwB,CAAC;AACvC,IAAA,MAAM,EAAE,6BAA6B;AACrC,IAAA,IAAI,EAAE,8DAA8D;AACpE,IAAA,WAAW,EAAE,OAAO,CAAC,sBAAsB,CAAC;AAC5C,IAAA,KAAK,EAAE;;AAGF,MAAM,wBAAwB,GAAG;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;;AAGF,MAAM,sBAAsB,GAAG;AACpC,IAAA,IAAI,EAAE,OAAO,CAAC,sBAAsB,CAAC;AACrC,IAAA,MAAM,EAAE,2BAA2B;AACnC,IAAA,IAAI,EAAE,qDAAqD;AAC3D,IAAA,WAAW,EAAE,OAAO,CAAC,oBAAoB,CAAC;AAC1C,IAAA,KAAK,EAAE;;AAGF,MAAM,qBAAqB,GAAG;AACnC,IAAA,IAAI,EAAE,OAAO,CAAC,qBAAqB,CAAC;AACpC,IAAA,MAAM,EAAE,0BAA0B;AAClC,IAAA,IAAI,EAAE,oDAAoD;AAC1D,IAAA,WAAW,EAAE,OAAO,CAAC,mBAAmB,CAAC;AACzC,IAAA,KAAK,EAAE;;AAGF,MAAM,gBAAgB,GAAG;AAC9B,IAAA,IAAI,EAAE,OAAO,CAAC,wCAAwC,CAAC;AACvD,IAAA,MAAM,EAAE,2BAA2B;AACnC,IAAA,IAAI,EAAE,+DAA+D;AACrE,IAAA,WAAW,EAAE,OAAO,CAAC,wDAAwD,CAAC;AAC9E,IAAA,KAAK,EAAE;;;ACxMT;;AAEG;;;;"}
@@ -10592,7 +10592,11 @@ class DatapointSyncService {
10592
10592
  const updatedDatapoint = Object.assign({}, foundUpdatedDp.c8y_Kpi, {
10593
10593
  __template: foundUpdatedDp.id
10594
10594
  });
10595
- Object.assign(datapoint, updatedDatapoint);
10595
+ /* Exclude fragment and series from being assigned as in some scenarios it was overwriting values in the datapoint with the ones from the template
10596
+ which caused issues when the template had different fragment/series than the datapoint
10597
+ */
10598
+ const { fragment: _fragment, series: _series, ...rest } = updatedDatapoint;
10599
+ Object.assign(datapoint, rest);
10596
10600
  }
10597
10601
  if (datapoint.__target?.id) {
10598
10602
  const foundUpdatedTarget = currentManagedObjects.find(mo => mo.id === datapoint.__target?.id || mo.id === `${datapoint.__target?.id}`);
@@ -31667,11 +31671,11 @@ class CellRendererComponent {
31667
31671
  }
31668
31672
  }
31669
31673
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CellRendererComponent, deps: [{ token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
31670
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: CellRendererComponent, isStandalone: true, selector: "c8y-cell-renderer", inputs: { _spec: ["spec", "_spec"] }, usesOnChanges: true, ngImport: i0, template: "@if (spec.renderer) {\n @if (rendererType === 'TEMPLATE') {\n <ng-container\n [ngTemplateOutlet]=\"spec.renderer\"\n [ngTemplateOutletContext]=\"{ $implicit: spec.context }\"\n ></ng-container>\n }\n @if (rendererType === 'COMPONENT') {\n <ng-container\n [c8yComponentOutlet]=\"spec.renderer\"\n [c8yComponentOutletInjector]=\"rendererInjector\"\n ></ng-container>\n }\n}\n\n@if (!spec.renderer) {\n <span title=\"{{ spec.context.value | stringifyObject }}\">\n {{ spec.context.value | stringifyObject }}\n </span>\n}\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: C8yComponentOutlet, selector: "[c8yComponentOutlet]", inputs: ["c8yComponentOutlet", "c8yComponentOutletInjector", "c8yComponentOutletEnvironmentInjector", "c8yComponentOutletProviders", "c8yComponentOutletInitialState"] }, { kind: "pipe", type: StringifyObjectPipe, name: "stringifyObject" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
31674
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: CellRendererComponent, isStandalone: true, selector: "c8y-cell-renderer", inputs: { _spec: ["spec", "_spec"] }, usesOnChanges: true, ngImport: i0, template: "@if (spec.renderer) {\n @if (rendererType === 'TEMPLATE') {\n <ng-container\n [ngTemplateOutlet]=\"spec.renderer\"\n [ngTemplateOutletContext]=\"{ $implicit: spec.context }\"\n ></ng-container>\n }\n @if (rendererType === 'COMPONENT') {\n <ng-container\n [c8yComponentOutlet]=\"spec.renderer\"\n [c8yComponentOutletInjector]=\"rendererInjector\"\n ></ng-container>\n }\n}\n\n@if (!spec.renderer) {\n @if (spec.context.property.translate) {\n <span title=\"{{ spec.context.value | translate }}\">\n {{ spec.context.value | translate }}\n </span>\n } @else {\n <span title=\"{{ spec.context.value | stringifyObject }}\">\n {{ spec.context.value | stringifyObject }}\n </span>\n }\n}\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: C8yComponentOutlet, selector: "[c8yComponentOutlet]", inputs: ["c8yComponentOutlet", "c8yComponentOutletInjector", "c8yComponentOutletEnvironmentInjector", "c8yComponentOutletProviders", "c8yComponentOutletInitialState"] }, { kind: "pipe", type: StringifyObjectPipe, name: "stringifyObject" }, { kind: "pipe", type: C8yTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
31671
31675
  }
31672
31676
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CellRendererComponent, decorators: [{
31673
31677
  type: Component,
31674
- args: [{ selector: 'c8y-cell-renderer', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgTemplateOutlet, C8yComponentOutlet, StringifyObjectPipe], template: "@if (spec.renderer) {\n @if (rendererType === 'TEMPLATE') {\n <ng-container\n [ngTemplateOutlet]=\"spec.renderer\"\n [ngTemplateOutletContext]=\"{ $implicit: spec.context }\"\n ></ng-container>\n }\n @if (rendererType === 'COMPONENT') {\n <ng-container\n [c8yComponentOutlet]=\"spec.renderer\"\n [c8yComponentOutletInjector]=\"rendererInjector\"\n ></ng-container>\n }\n}\n\n@if (!spec.renderer) {\n <span title=\"{{ spec.context.value | stringifyObject }}\">\n {{ spec.context.value | stringifyObject }}\n </span>\n}\n" }]
31678
+ args: [{ selector: 'c8y-cell-renderer', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgTemplateOutlet, C8yComponentOutlet, StringifyObjectPipe, C8yTranslatePipe], template: "@if (spec.renderer) {\n @if (rendererType === 'TEMPLATE') {\n <ng-container\n [ngTemplateOutlet]=\"spec.renderer\"\n [ngTemplateOutletContext]=\"{ $implicit: spec.context }\"\n ></ng-container>\n }\n @if (rendererType === 'COMPONENT') {\n <ng-container\n [c8yComponentOutlet]=\"spec.renderer\"\n [c8yComponentOutletInjector]=\"rendererInjector\"\n ></ng-container>\n }\n}\n\n@if (!spec.renderer) {\n @if (spec.context.property.translate) {\n <span title=\"{{ spec.context.value | translate }}\">\n {{ spec.context.value | translate }}\n </span>\n } @else {\n <span title=\"{{ spec.context.value | stringifyObject }}\">\n {{ spec.context.value | stringifyObject }}\n </span>\n }\n}\n" }]
31675
31679
  }], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }], propDecorators: { _spec: [{
31676
31680
  type: Input,
31677
31681
  args: ['spec']