@c8y/tutorial 1019.24.6 → 1020.0.4

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.
Files changed (52) hide show
  1. package/NOTICES +8357 -6666
  2. package/cumulocity.config.ts +208 -200
  3. package/package.json +13 -10
  4. package/src/__mocks/mock.module.ts +21 -0
  5. package/src/__mocks/scoped-mocks/lists.ts +70 -0
  6. package/src/__mocks/utils/generators/alarms.ts +6 -14
  7. package/src/alert/alert-example.components.html +98 -96
  8. package/src/app/app.module.ts +5 -1
  9. package/src/asset-navigator/asset-navigator-example.module.ts +21 -0
  10. package/src/dashboard/widget-dashboard/widget-dashboard.component.ts +0 -1
  11. package/src/dashboard-tabs/dashboard-tabs.component.ts +95 -0
  12. package/src/dashboard-tabs/dashboard-tabs.module.ts +20 -0
  13. package/src/dashboard-tabs/index.ts +1 -0
  14. package/src/for-of-directive/for-of-example.component.html +83 -16
  15. package/src/for-of-directive/for-of-example.component.ts +17 -3
  16. package/src/grids/async-expandable-rows-grid-example/async-expandable-rows-example.component.ts +21 -0
  17. package/src/grids/async-expandable-rows-grid-example/async-expandable-rows-grid-example.component.html +28 -0
  18. package/src/grids/async-expandable-rows-grid-example/async-expandable-rows-grid-example.component.ts +91 -0
  19. package/src/grids/async-expandable-rows-grid-example/async-expandable-rows-grid-example.module.ts +26 -0
  20. package/src/grids/client-grid-example/client-grid-example.component.html +1 -0
  21. package/src/grids/device-grid-example/device-grid-example.component.html +1 -0
  22. package/src/grids/empty-grid-example/empty-grid-example.component.html +1 -0
  23. package/src/grids/expandable-rows-grid-example/expandable-rows-example.component.ts +12 -0
  24. package/src/grids/expandable-rows-grid-example/expandable-rows-grid-example.component.html +18 -0
  25. package/src/grids/expandable-rows-grid-example/expandable-rows-grid-example.component.ts +84 -0
  26. package/src/grids/expandable-rows-grid-example/expandable-rows-grid-example.module.ts +24 -0
  27. package/src/grids/server-grid-example/server-grid-example.component.html +1 -0
  28. package/src/grids/server-grid-example/server-grid-example.component.ts +2 -1
  29. package/src/grids/sync-expandable-rows-grid-example/sync-expandable-rows-example.component.ts +12 -0
  30. package/src/grids/sync-expandable-rows-grid-example/sync-expandable-rows-grid-example.component.html +18 -0
  31. package/src/grids/sync-expandable-rows-grid-example/sync-expandable-rows-grid-example.component.ts +84 -0
  32. package/src/grids/sync-expandable-rows-grid-example/sync-expandable-rows-grid-example.module.ts +26 -0
  33. package/src/hooks/navigator-route/navigator-route.module.ts +2 -2
  34. package/src/hooks/tabs/tab.ts +1 -1
  35. package/src/list/list/list-check/list-check.component.html +40 -28
  36. package/src/list/list/list-check/list-check.component.ts +45 -7
  37. package/src/list/list/list-timeline/list-timeline.component.html +1 -1
  38. package/src/list/list/list-timeline/list-timeline.component.ts +7 -3
  39. package/src/list/list-virtual-scroll/list-virtual-scroll-check/list-virtual-scroll-check.component.ts +7 -12
  40. package/src/list/list-virtual-scroll/list-virtual-scroll-timeline/list-virtual-scroll-timeline.component.ts +11 -26
  41. package/src/main.ts +6 -4
  42. package/src/polyfills.ts +1 -1
  43. package/src/popconfirm/pop-confirm-example.component.ts +8 -6
  44. package/src/selector/asset-selector-example/different-root/asset-selector-different-root.component.ts +2 -2
  45. package/src/selector/asset-selector-example/general-example/asset-selector-example.component.html +58 -68
  46. package/src/selector/asset-selector-example/multi-select/asset-selector-multi-select.component.ts +1 -1
  47. package/src/selector/asset-selector-example/single-search/asset-selector-single-search.component.ts +2 -2
  48. package/src/selector/asset-selector-example/tree-devices/asset-selector-tree-devices.component.ts +12 -16
  49. package/src/selector/asset-selector-example/tree-search/asset-selector-tree-search.component.ts +14 -18
  50. package/src/selector/asset-selector-example/tree-single/asset-selector-tree-single.component.ts +17 -21
  51. package/src/translations/new-translate/new-translation.component.html +3 -3
  52. package/src/widget/demo-widget-config.component.ts +7 -2
@@ -1,14 +1,13 @@
1
+ import { ConfigurationOptions } from '@c8y/devkit';
1
2
  import { DefinePlugin } from 'webpack';
2
- import { author, description, version } from './package.json';
3
+ import { author, description, version, name } from './package.json';
3
4
 
4
5
  export default {
5
6
  runTime: {
6
7
  author,
7
8
  description,
8
9
  version,
9
- name: 'Tutorial application',
10
- contextPath: 'tutorial',
11
- key: 'tutorial-application-key',
10
+ name,
12
11
  globalTitle: 'Tutorial application IoT',
13
12
  tabsHorizontal: true,
14
13
  rightDrawer: true,
@@ -49,672 +48,682 @@ export default {
49
48
  name: 'Introduction to asset selector',
50
49
  module: 'AssetSelectorExampleModule',
51
50
  path: './src/selector/asset-selector-example/general-example/asset-selector-example.module.ts',
52
- description: 'An introduction to asset selector'
51
+ description: 'An introduction to asset selector',
52
+ scope: 'self'
53
53
  },
54
54
  {
55
55
  name: 'Introduction Example Module',
56
56
  module: 'IntroductionExampleModule',
57
57
  path: './src/dynamic-forms/introduction-example/introduction-example.module.ts',
58
- description: 'An introduction to dynamic forms.'
58
+ description: 'An introduction to dynamic forms.',
59
+ scope: 'self'
59
60
  },
60
61
  {
61
62
  name: 'Introduction Example Module',
62
63
  module: 'NamedContextDashboardModule',
63
64
  path: './src/dashboard/named-context-dashboard/named-context-dashboard.module.ts',
64
- description: 'An introduction to named context dashboards forms.'
65
+ description: 'An introduction to named context dashboards forms.',
66
+ scope: 'self'
65
67
  },
66
68
  {
67
69
  name: 'Miller options',
68
70
  module: 'AssetSelectorMillerExampleModule',
69
71
  path: './src/selector/asset-selector-example/miller-columns-options/asset-selector-miller-example.module.ts',
70
- description: 'Options for the miller columns'
72
+ description: 'Options for the miller columns',
73
+ scope: 'self'
71
74
  },
72
75
  {
73
76
  name: 'Tree options',
74
77
  module: 'AssetSelectorTreeExampleModule',
75
78
  path: './src/selector/asset-selector-example/tree-options/asset-selector-tree-example.module.ts',
76
- description: 'Options for the hierarchy tree'
79
+ description: 'Options for the hierarchy tree',
80
+ scope: 'self'
77
81
  },
78
82
  {
79
83
  name: 'Introduction to asset selector different root',
80
84
  module: 'AssetSelectorDifferentRootModule',
81
85
  path: './src/selector/asset-selector-example/different-root/asset-selector-different-root.module.ts',
82
- description: 'An introduction to asset selector different root example.'
86
+ description: 'An introduction to asset selector different root example.',
87
+ scope: 'self'
83
88
  },
84
89
  {
85
90
  name: 'Introduction to service dashboard module',
86
91
  module: 'ServiceDashboardModule',
87
92
  path: './src/dashboard/service-dashboard/service-dashboard.module.ts',
88
- description: 'An introduction to dynamic forms.'
93
+ description: 'An introduction to dynamic forms.',
94
+ scope: 'self'
89
95
  },
90
96
  {
91
97
  name: 'Introduction cotext dashboard module',
92
98
  module: 'ContextDashboardModule',
93
99
  path: './src/dashboard/context-dashboard/context-dashboard.module.ts',
94
- description: 'An introduction to dynamic forms.'
100
+ description: 'An introduction to dynamic forms.',
101
+ scope: 'self'
95
102
  },
96
103
  {
97
104
  name: 'Introduction custom dashboard module',
98
105
  module: 'CustomDashboardModule',
99
106
  path: './src/dashboard/custom-dashboard/custom-dashboard.module.ts',
100
- description: 'An introduction to custom dashboards.'
107
+ description: 'An introduction to custom dashboards.',
108
+ scope: 'self'
101
109
  },
102
110
  {
103
111
  name: 'Dashboard module with example of dynamic component usage',
104
112
  module: 'WidgetGuideDashboardModule',
105
113
  path: './src/dashboard/widget-guide-dashboard/widget-guide-dashboard.module.ts',
106
- description: 'An example showing usage of custom widget in dashboard.'
114
+ description: 'An example showing usage of custom widget in dashboard.',
115
+ scope: 'self'
107
116
  },
108
117
  {
109
118
  name: 'Context dashboard module with example of dynamic component usage',
110
119
  module: 'WidgetGuideContextDashboardModule',
111
120
  path: './src/dashboard/widget-guide-context-dashboard/widget-guide-context-dashboard.module.ts',
112
- description: 'An example showing usage of custom widget in context dashboard.'
121
+ description: 'An example showing usage of custom widget in context dashboard.',
122
+ scope: 'self'
113
123
  },
114
124
  {
115
125
  name: 'Introduction datapoint selection module',
116
126
  module: 'DatapointSelectionExampleModule',
117
127
  path: './src/selector/datapoint-selection-example/general-example/datapoint-selection-example.module.ts',
118
- description: 'An introduction to dynamic forms.'
128
+ description: 'An introduction to dynamic forms.',
129
+ scope: 'self'
119
130
  },
120
131
  {
121
132
  name: 'Introduction widget dashboard module',
122
133
  module: 'WidgetDashboardModule',
123
134
  path: './src/dashboard/widget-dashboard/widget-dashboard.module.ts',
124
- description: 'An introduction to dynamic forms.'
135
+ description: 'An introduction to dynamic forms.',
136
+ scope: 'self'
125
137
  },
126
138
  {
127
139
  name: 'JSON Schema Example Module',
128
140
  module: 'JsonSchemaExampleModule',
129
141
  path: './src/dynamic-forms/json-schema-example/json-schema-example.module.ts',
130
- description: 'A JSON Schema sample for dynamic forms.'
142
+ description: 'A JSON Schema sample for dynamic forms.',
143
+ scope: 'self'
131
144
  },
132
145
  {
133
146
  name: 'Custom Elements Example Module',
134
147
  module: 'CustomElementExampleModule',
135
148
  path: './src/dynamic-forms/custom-element-example/custom-element-example.module.ts',
136
- description: 'A sample for a custom element in dynamic forms.'
149
+ description: 'A sample for a custom element in dynamic forms.',
150
+ scope: 'self'
137
151
  },
138
152
  {
139
153
  name: 'Validation Example Module',
140
154
  module: 'ValidationExampleModule',
141
155
  path: './src/dynamic-forms/validation-example/validation-example.module.ts',
142
- description: 'A sample for validation options in dynamic forms.'
156
+ description: 'A sample for validation options in dynamic forms.',
157
+ scope: 'self'
143
158
  },
144
159
  {
145
160
  name: 'Forms validation example module',
146
161
  module: 'FormsTutorialModule',
147
162
  path: './src/forms/form-validation/forms.module.ts',
148
- description: 'A sample for forms validation example.'
163
+ description: 'A sample for forms validation example.',
164
+ scope: 'self'
149
165
  },
150
166
  {
151
167
  name: 'CSS Component styles Example',
152
168
  module: 'CascadingStyleSheetsExampleModule',
153
169
  path: './src/component-styles/cascading-style-sheets-example/cascading-style-sheets-example.module.ts',
154
- description: 'A sample for component styles using CSS.'
170
+ description: 'A sample for component styles using CSS.',
171
+ scope: 'self'
155
172
  },
156
173
  {
157
174
  name: 'LESS Component styles Example',
158
175
  module: 'LeanerStyleSheetsExampleModule',
159
176
  path: './src/component-styles/leaner-style-sheets-example/leaner-style-sheets-example.module.ts',
160
- description: 'A sample for component styles using LESS.'
177
+ description: 'A sample for component styles using LESS.',
178
+ scope: 'self'
161
179
  },
162
180
  {
163
181
  name: 'SCSS Component styles Example',
164
182
  module: 'SyntacticallyAwesomeStyleSheetsExampleModule',
165
183
  path: './src/component-styles/syntactically-awesome-style-sheets-example/syntactically-awesome-style-sheets-example.module.ts',
166
- description: 'A sample for component styles using SCSS.'
184
+ description: 'A sample for component styles using SCSS.',
185
+ scope: 'self'
167
186
  },
168
187
  {
169
188
  name: 'Simple map',
170
189
  module: 'SimpleMapExampleModule',
171
190
  path: './src/maps/simple-map/simple-map-example.module.ts',
172
- description: 'A sample for simple map.'
191
+ description: 'A sample for simple map.',
192
+ scope: 'self'
173
193
  },
174
194
  {
175
195
  name: 'Cluster map',
176
196
  module: 'ClusterMapExampleModule',
177
197
  path: './src/maps/cluster-map/cluster-map-example.module.ts',
178
- description: 'A sample for cluster map.'
198
+ description: 'A sample for cluster map.',
199
+ scope: 'self'
179
200
  },
180
201
  {
181
202
  name: 'Action',
182
203
  module: 'ActionModule',
183
204
  path: './src/hooks/action/action.module.ts',
184
- description: 'A sample for action hook.'
205
+ description: 'A sample for action hook.',
206
+ scope: 'self'
185
207
  },
186
208
  {
187
209
  name: 'Action bar',
188
210
  module: 'ActionBarModule',
189
211
  path: './src/hooks/action-bar/action-bar.module.ts',
190
- description: 'A sample for action bar hook.'
212
+ description: 'A sample for action bar hook.',
213
+ scope: 'self'
191
214
  },
192
215
  {
193
216
  name: 'Breadcrumbs hook',
194
217
  module: 'BreadcrumbsModule',
195
218
  path: './src/hooks/breadcrumbs/breadcrumbs.module.ts',
196
- description: 'A sample for breadcrumbs hook.'
219
+ description: 'A sample for breadcrumbs hook.',
220
+ scope: 'self'
197
221
  },
198
222
  {
199
223
  name: 'Breadcrumbs expand',
200
224
  module: 'BreadcrumbsExpandExampleModule',
201
225
  path: './src/breadcrumbs/expand-example/breadcrumbs-expand-example.module.ts',
202
- description: 'A sample for breadcrumbs.'
226
+ description: 'A sample for breadcrumbs.',
227
+ scope: 'self'
203
228
  },
204
229
  {
205
230
  name: 'Breadcrumbs outlet',
206
231
  module: 'BreadcrumbsOutletExampleModule',
207
232
  path: './src/breadcrumbs/outlet/breadcrumbs-outlet-example.module.ts',
208
- description: 'A sample for breadcrumb outlet.'
233
+ description: 'A sample for breadcrumb outlet.',
234
+ scope: 'self'
209
235
  },
210
236
  {
211
237
  name: 'Breadcrumbs basic',
212
238
  module: 'BreadcrumbsExampleModule',
213
239
  path: './src/breadcrumbs/basic-example/breadcrumbs-example.module.ts',
214
- description: 'A sample for breadcrumbs.'
240
+ description: 'A sample for breadcrumbs.',
241
+ scope: 'self'
215
242
  },
216
243
  {
217
244
  name: 'Breadcrumbs content projection',
218
245
  module: 'BreadcrumbsContentProjectionExampleModule',
219
246
  path: './src/breadcrumbs/content-projection/breadcrumbs-content-projection-example.module.ts',
220
- description: 'A sample for breadcrumbs content projection.'
247
+ description: 'A sample for breadcrumbs content projection.',
248
+ scope: 'self'
221
249
  },
222
250
  {
223
251
  name: 'Component',
224
252
  module: 'ComponentModule',
225
253
  path: './src/hooks/component/component.module.ts',
226
- description: 'A sample for component hook.'
254
+ description: 'A sample for component hook.',
255
+ scope: 'self'
227
256
  },
228
257
  {
229
258
  name: 'Wizard',
230
259
  module: 'WizardModule',
231
260
  path: './src/hooks/generic-wizard/wizard.module.ts',
232
- description: 'A sample for wizard hook.'
261
+ description: 'A sample for wizard hook.',
262
+ scope: 'self'
233
263
  },
234
264
  {
235
265
  name: 'Stepper',
236
266
  module: 'StepperHookModule',
237
267
  path: './src/hooks/stepper/stepper-hook.module.ts',
238
- description: 'A sample for stepper hook.'
268
+ description: 'A sample for stepper hook.',
269
+ scope: 'self'
239
270
  },
240
271
  {
241
272
  name: 'Tabs',
242
273
  module: 'TabsModule',
243
274
  path: './src/hooks/tabs/tabs.module.ts',
244
- description: 'A sample for tabs hook.'
275
+ description: 'A sample for tabs hook.',
276
+ scope: 'self'
245
277
  },
246
278
  {
247
279
  name: 'Navigator-route',
248
280
  module: 'NavigatorRouteModule',
249
281
  path: './src/hooks/navigator-route/navigator-route.module.ts',
250
- description: 'A sample for navigator and route hooks.'
282
+ description: 'A sample for navigator and route hooks.',
283
+ scope: 'self'
251
284
  },
252
285
  {
253
286
  name: 'Map popup',
254
287
  module: 'MapPopupExampleModule',
255
288
  path: './src/maps/map-popup/map-popup-example.module.ts',
256
- description: 'A popup example for the map component.'
289
+ description: 'A popup example for the map component.',
290
+ scope: 'self'
257
291
  },
258
292
  {
259
293
  name: 'Cluster map root node',
260
294
  module: 'ClusterMapRootNodeExampleModule',
261
295
  path: './src/maps/cluster-map-root-node/cluster-map-root-node-example.module.ts',
262
- description: 'A cluster map with a different root node.'
296
+ description: 'A cluster map with a different root node.',
297
+ scope: 'self'
263
298
  },
264
299
  {
265
300
  name: 'List basic with checkboxes',
266
301
  module: 'ListCheckModule',
267
302
  path: './src/list/list/list-check/list-check.module.ts',
268
- description: 'A sample for basic list with checkboxes.'
303
+ description: 'A sample for basic list with checkboxes.',
304
+ scope: 'self'
269
305
  },
270
306
  {
271
307
  name: 'List basic with timeline',
272
308
  module: 'ListTimelineModule',
273
309
  path: './src/list/list/list-timeline/list-timeline.module.ts',
274
- description: 'A sample for basic list with timeline.'
310
+ description: 'A sample for basic list with timeline.',
311
+ scope: 'self'
275
312
  },
276
313
  {
277
314
  name: 'List virtal scroll with checkboxes',
278
315
  module: 'ListVirtualScrollCheckModule',
279
316
  path: './src/list/list-virtual-scroll/list-virtual-scroll-check/list-virtual-scroll-check.module.ts',
280
- description: 'A sample for list with virtual scroll witch checkboxes.'
317
+ description: 'A sample for list with virtual scroll witch checkboxes.',
318
+ scope: 'self'
281
319
  },
282
320
  {
283
321
  name: 'List virtal scroll with timeline',
284
322
  module: 'ListVirtualScrollTimelineModule',
285
323
  path: './src/list/list-virtual-scroll/list-virtual-scroll-timeline/list-virtual-scroll-timeline.module.ts',
286
- description: 'A sample for list with virtual scroll with timeline.'
324
+ description: 'A sample for list with virtual scroll with timeline.',
325
+ scope: 'self'
287
326
  },
288
327
  {
289
328
  name: 'Text translation NgNonBindable',
290
329
  module: 'TextTranslationNgnonbindableModule',
291
330
  path: './src/translations/text-translation/ngNonBindable-translation/text-translation-ngnonbindable.module.ts',
292
- description: 'A sample for text nonBindable translation module.'
331
+ description: 'A sample for text nonBindable translation module.',
332
+ scope: 'self'
293
333
  },
294
334
  {
295
335
  name: 'Text translation by service',
296
336
  module: 'TextTranslationByServiceModule',
297
337
  path: './src/translations/text-translation/service-translation/text-translation-by-service.module.ts',
298
- description: 'A sample for text translation module by service.'
338
+ description: 'A sample for text translation module by service.',
339
+ scope: 'self'
299
340
  },
300
341
  {
301
342
  name: 'Text translation by gettext',
302
343
  module: 'TextTranslationGettextModule',
303
344
  path: './src/translations/text-translation/gettext-translation/text-translation-gettext.module.ts',
304
- description: 'A sample for text translation module by gettext.'
345
+ description: 'A sample for text translation module by gettext.',
346
+ scope: 'self'
305
347
  },
306
348
  {
307
349
  name: 'Date translation by c8y pipe',
308
350
  module: 'C8yDateTranslationModule',
309
351
  path: './src/translations/date-translation/c8y-translation/c8y-date-translation.module.ts',
310
- description: 'A sample for text translation module by c8y pipe.'
352
+ description: 'A sample for text translation module by c8y pipe.',
353
+ scope: 'self'
311
354
  },
312
355
  {
313
356
  name: 'Date translation by Angular pipe',
314
357
  module: 'DateTranslationModule',
315
358
  path: './src/translations/date-translation/ng-translation/date-translation.module.ts',
316
- description: 'A sample for date translation module by Angular pipe.'
359
+ description: 'A sample for date translation module by Angular pipe.',
360
+ scope: 'self'
317
361
  },
318
362
  {
319
363
  name: 'Dynamic form translation',
320
364
  module: 'DynamicFormTranslationModule',
321
365
  path: './src/translations/dynamic-form-translation/dynamic-form-translation.module.ts',
322
- description: 'A sample for Dynamic form translation.'
366
+ description: 'A sample for Dynamic form translation.',
367
+ scope: 'self'
323
368
  },
324
369
  {
325
370
  name: 'New language',
326
371
  module: 'NewLanguageModule',
327
372
  path: './src/translations/new-language/new-language.module.ts',
328
- description: 'A sample for new language module.'
373
+ description: 'A sample for new language module.',
374
+ scope: 'self'
329
375
  },
330
376
  {
331
377
  name: 'Dynamic form translation',
332
378
  module: 'NewTranslationModule',
333
379
  path: './src/translations/new-translate/new-translation.module.ts',
334
- description: 'A sample for new translation module.'
380
+ description: 'A sample for new translation module.',
381
+ scope: 'self'
335
382
  },
336
383
  {
337
384
  name: 'Alert example',
338
385
  module: 'AlertExampleModule',
339
386
  path: './src/alert/alert-example.module.ts',
340
- description: 'A sample for alerts.'
387
+ description: 'A sample for alerts.',
388
+ scope: 'self'
341
389
  },
342
390
  {
343
391
  name: 'App icon example',
344
392
  module: 'AppIconExampleModule',
345
393
  path: './src/app-icon/app-icon-example.module.ts',
346
- description: 'An example for App Icon component.'
394
+ description: 'An example for App Icon component.',
395
+ scope: 'self'
347
396
  },
348
397
  {
349
398
  name: 'Client grid example',
350
399
  module: 'ClientGridExampleModule',
351
400
  path: './src/grids/client-grid-example/client-grid-example.module.ts',
352
- description: 'An example for a client data grid.'
401
+ description: 'An example for a client data grid.',
402
+ scope: 'self'
353
403
  },
354
404
  {
355
405
  name: 'Server grid example',
356
406
  module: 'ServerGridExampleModule',
357
407
  path: './src/grids/server-grid-example/server-grid-example.module.ts',
358
- description: 'An example for a server data grid.'
408
+ description: 'An example for a server data grid.',
409
+ scope: 'self'
359
410
  },
360
411
  {
361
412
  name: 'Device grid example',
362
413
  module: 'DeviceGridExampleModule',
363
414
  path: './src/grids/device-grid-example/device-grid-example.module.ts',
364
- description: 'An example for a device data grid.'
415
+ description: 'An example for a device data grid.',
416
+ scope: 'self'
365
417
  },
366
418
  {
367
419
  name: 'Empty grid example',
368
420
  module: 'EmptyGridExampleModule',
369
421
  path: './src/grids/empty-grid-example/empty-grid-example.module.ts',
370
- description: 'An example for an empty data grid.'
422
+ description: 'An example for an empty data grid.',
423
+ scope: 'self'
424
+ },
425
+ {
426
+ name: 'Sync expandable rows example',
427
+ module: 'SyncExpandableRowsGridExampleModule',
428
+ path: './src/grids/sync-expandable-rows-grid-example/sync-expandable-rows-grid-example.module.ts',
429
+ description: 'An example for synchronous expandable rows.',
430
+ scope: 'self'
431
+ },
432
+ {
433
+ name: 'Async expandable rows example',
434
+ module: 'AsyncExpandableRowsGridExampleModule',
435
+ path: './src/grids/async-expandable-rows-grid-example/async-expandable-rows-grid-example.module.ts',
436
+ description: 'An example for asynchronous expandable rows.',
437
+ scope: 'self'
371
438
  },
372
439
  {
373
440
  name: 'Right drawer hook sample',
374
441
  module: 'RightDrawerModule',
375
442
  path: './src/hooks/drawer/right-drawer-tutorial/right-drawer.module.ts',
376
- description: 'An example for hooking into the right drawer.'
443
+ description: 'An example for hooking into the right drawer.',
444
+ scope: 'self'
377
445
  },
378
446
  {
379
447
  name: 'Left drawer hook sample',
380
448
  module: 'LeftDrawerModule',
381
449
  path: './src/hooks/drawer/left-drawer-tutorial/left-drawer.module.ts',
382
- description: 'An example for hooking into the left drawer.'
450
+ description: 'An example for hooking into the left drawer.',
451
+ scope: 'self'
383
452
  },
384
453
  {
385
454
  name: 'Version hook sample',
386
455
  module: 'TutorialVersionModule',
387
456
  path: './src/hooks/version/version.module.ts',
388
- description: 'An example for hooking into the shown versions.'
457
+ description: 'An example for hooking into the shown versions.',
458
+ scope: 'self'
389
459
  },
390
460
  {
391
461
  name: 'pop confirm example',
392
462
  module: 'PopConfirmExampleModule',
393
463
  path: './src/popconfirm/pop-confirm-example.module.ts',
394
- description: 'An example for pop confirm.'
464
+ description: 'An example for pop confirm.',
465
+ scope: 'self'
395
466
  },
396
467
  {
397
468
  name: 'Quick link example',
398
469
  module: 'QuickLinkExampleModule',
399
470
  path: './src/quick-link/quick-link-example.module.ts',
400
- description: 'An example of using quick links.'
471
+ description: 'An example of using quick links.',
472
+ scope: 'self'
401
473
  },
402
474
  {
403
475
  name: 'Properties list example',
404
476
  module: 'PropertiesListExampleModule',
405
477
  path: './src/properties-list/properties-list-example.module.ts',
406
- description: 'An example of using properties list.'
478
+ description: 'An example of using properties list.',
479
+ scope: 'self'
407
480
  },
408
481
  {
409
482
  name: 'Confirm modal example',
410
483
  module: 'ConfirmModalExampleModule',
411
484
  path: './src/modal/confirm-modal/confirm-modal-example.module.ts',
412
- description: 'An example for using confirm Modal.'
485
+ description: 'An example for using confirm Modal.',
486
+ scope: 'self'
413
487
  },
414
488
  {
415
489
  name: 'For of directive example',
416
490
  module: 'ForOfModule',
417
491
  path: './src/for-of-directive/for-of.module.ts',
418
- description: 'An example for For of directive.'
492
+ description: 'An example for For of directive.',
493
+ scope: 'self'
419
494
  },
420
495
  {
421
496
  name: 'Example of ngx modal',
422
497
  module: 'NgxModalExampleModule',
423
498
  path: './src/modal/ngx-modal/ngx-modal-example.module.ts',
424
- description: 'An example for ngx modal.'
499
+ description: 'An example for ngx modal.',
500
+ scope: 'self'
425
501
  },
426
502
  {
427
503
  name: 'Example of ngx modal sizes',
428
504
  module: 'NgxModalSizesExampleModule',
429
505
  path: './src/modal/ngx-modal-sizes/ngx-modal-sizes-example.module.ts',
430
- description: 'An example for ngx modal of different sizes.'
506
+ description: 'An example for ngx modal of different sizes.',
507
+ scope: 'self'
431
508
  },
432
509
  {
433
510
  name: 'Example of ngx modal selectors',
434
511
  module: 'NgxModalSelectorsExampleModule',
435
512
  path: './src/modal/ngx-modal-selectors/ngx-modal-selectors-example.module.ts',
436
- description: 'An example for ngx modal using ng-content selectors.'
513
+ description: 'An example for ngx modal using ng-content selectors.',
514
+ scope: 'self'
437
515
  },
438
516
  {
439
517
  name: 'Example of ngx modal accessibility',
440
518
  module: 'NgxModalAccessibilityExampleModule',
441
519
  path: './src/modal/ngx-modal-accessibility/ngx-modal-accessibility-example.module.ts',
442
- description: 'An example for ngx modal accessibility.'
520
+ description: 'An example for ngx modal accessibility.',
521
+ scope: 'self'
443
522
  },
444
523
  {
445
524
  name: 'Example of realtime',
446
525
  module: 'RealtimeTutorialModule',
447
526
  path: './src/realtime/realtime-tutorial.module.ts',
448
- description: 'An example for realtime.'
527
+ description: 'An example for realtime.',
528
+ scope: 'self'
449
529
  },
450
530
  {
451
531
  name: 'Example of provider configuration',
452
532
  module: 'ProviderConfigurationTutorialModule',
453
533
  path: './src/provider-configuration/provider-configuration-example/provider-configuration.module.ts',
454
- description: 'An example for provider configuration.'
534
+ description: 'An example for provider configuration.',
535
+ scope: 'self'
455
536
  },
456
537
  {
457
538
  name: 'Example of help',
458
539
  module: 'HelpExampleModule',
459
540
  path: './src/help/help-example.module.ts',
460
- description: 'An example for help.'
541
+ description: 'An example for help.',
542
+ scope: 'self'
461
543
  },
462
544
  {
463
545
  name: 'Example of extendable input list',
464
546
  module: 'ExtendableInputListExampleModule',
465
547
  path: './src/input-group/extendable-input-list-example.module.ts',
466
- description: 'An example for extendable input list.'
548
+ description: 'An example for extendable input list.',
549
+ scope: 'self'
467
550
  },
468
551
  {
469
552
  name: 'Example of time picker',
470
553
  module: 'TimePickerExampleModule',
471
554
  path: './src/time/time-picker-example.module.ts',
472
- description: 'An example for time picker.'
555
+ description: 'An example for time picker.',
556
+ scope: 'self'
473
557
  },
474
558
  {
475
559
  name: 'Example of date time range picker',
476
560
  module: 'DateTimeRangeExampleModule',
477
561
  path: './src/date-time-range/date-time-range-example.module.ts',
478
- description: 'An example for date time range picker.'
562
+ description: 'An example for date time range picker.',
563
+ scope: 'self'
479
564
  },
480
565
  {
481
566
  name: 'Example of range input',
482
567
  module: 'RangeInputExampleModule',
483
568
  path: './src/input/range-input-example.module.ts',
484
- description: 'An example for range input.'
569
+ description: 'An example for range input.',
570
+ scope: 'self'
485
571
  },
486
572
  {
487
573
  name: 'Introduction to datapoint selection list example',
488
574
  module: 'DatapointSelectionListExampleModule',
489
575
  path: './src/selector/datapoint-selection-example/list-example/datapoint-selection-list-example.module.ts',
490
- description: 'An introduction to datapoint selection list example.'
576
+ description: 'An introduction to datapoint selection list example.',
577
+ scope: 'self'
491
578
  },
492
579
  {
493
580
  name: 'Introduction to datapoint validation example',
494
581
  module: 'DatapointSelectionModalExampleModule',
495
582
  path: './src/selector/datapoint-selection-example/modal-example/datapoint-selection-modal-example.module.ts',
496
- description: 'An introduction to datapoint modal example.'
583
+ description: 'An introduction to datapoint modal example.',
584
+ scope: 'self'
497
585
  },
498
586
  {
499
587
  name: 'Introduction to datapoint validation example',
500
588
  module: 'DatapointSelectionValidationExampleModule',
501
589
  path: './src/selector/datapoint-selection-example/validation-example/datapoint-selection-validation-example.module.ts',
502
- description: 'An introduction to datapoint validation example.'
590
+ description: 'An introduction to datapoint validation example.',
591
+ scope: 'self'
503
592
  },
504
593
  {
505
594
  name: 'Introduction to datapoint drag and drop example',
506
595
  module: 'DatapointSelectionDragdropExampleModule',
507
596
  path: './src/selector/datapoint-selection-example/dragdrop-example/datapoint-selection-dragdrop-example.module.ts',
508
- description: 'An introduction to datapoint drag and drop example.'
597
+ description: 'An introduction to datapoint drag and drop example.',
598
+ scope: 'self'
509
599
  },
510
600
  {
511
601
  name: 'Introduction to datapoint selector example',
512
602
  module: 'DatapointSelectionSelectorExampleModule',
513
603
  path: './src/selector/datapoint-selection-example/selector/datapoint-selection-selector-example.module.ts',
514
- description: 'An introduction to datapoint selector example.'
604
+ description: 'An introduction to datapoint selector example.',
605
+ scope: 'self'
515
606
  },
516
607
  {
517
608
  name: 'Introduction to datapoint context example',
518
609
  module: 'DatapointSelectionContextExampleModule',
519
610
  path: './src/selector/datapoint-selection-example/context-example/datapoint-selection-context-example.module.ts',
520
- description: 'An introduction to datapoint context example.'
611
+ description: 'An introduction to datapoint context example.',
612
+ scope: 'self'
521
613
  },
522
614
  {
523
615
  name: 'Introduction to datapoint without templates',
524
616
  module: 'DatapointSelectionNotemplatesExampleModule',
525
617
  path: './src/selector/datapoint-selection-example/no-templates-example/datapoint-selection-notemplates-example.module.ts',
526
- description: 'An introduction to datapoint without templates example.'
618
+ description: 'An introduction to datapoint without templates example.',
619
+ scope: 'self'
527
620
  },
528
621
  {
529
622
  name: 'Introduction to asset selector device child',
530
623
  module: 'AssetSingleSelectModule',
531
624
  path: './src/selector/asset-selector-example/single-select/asset-single-select.module.ts',
532
- description: 'An introduction to asset selector device child example.'
625
+ description: 'An introduction to asset selector device child example.',
626
+ scope: 'self'
533
627
  },
534
628
  {
535
629
  name: 'Introduction to asset selector single select',
536
630
  module: 'AssetSelectorChildDevicesModule',
537
631
  path: './src/selector/asset-selector-example/child-devices/asset-selector-child-devices.module.ts',
538
- description: 'An introduction to asset selector single select example.'
632
+ description: 'An introduction to asset selector single select example.',
633
+ scope: 'self'
539
634
  },
540
635
  {
541
636
  name: 'Introduction to asset selector only devices',
542
637
  module: 'AssetSelectorOnlyDevicesModule',
543
638
  path: './src/selector/asset-selector-example/only-devices/asset-selector-only-devices.module.ts',
544
- description: 'An introduction to asset selector only devices example.'
639
+ description: 'An introduction to asset selector only devices example.',
640
+ scope: 'self'
545
641
  },
546
642
  {
547
643
  name: 'Introduction to asset selector column header',
548
644
  module: 'AssetSelectorColumnHeaderModule',
549
645
  path: './src/selector/asset-selector-example/column-header/asset-selector-column-header.module.ts',
550
- description: 'An introduction to asset selector column header and filter example.'
646
+ description: 'An introduction to asset selector column header and filter example.',
647
+ scope: 'self'
551
648
  },
552
649
  {
553
650
  name: 'Introduction to asset selector global search',
554
651
  module: 'AssetSelectorGlobalSearchModule',
555
652
  path: './src/selector/asset-selector-example/global-search/asset-selector-global-search.module.ts',
556
- description: 'An introduction to asset selector global search example.'
653
+ description: 'An introduction to asset selector global search example.',
654
+ scope: 'self'
557
655
  },
558
656
  {
559
657
  name: 'Introduction to asset selector multi select',
560
658
  module: 'AssetSelectorMultiSelectModule',
561
659
  path: './src/selector/asset-selector-example/multi-select/asset-selector-multi-select.module.ts',
562
- description: 'An introduction to asset selector multi select example.'
660
+ description: 'An introduction to asset selector multi select example.',
661
+ scope: 'self'
563
662
  },
564
663
  {
565
664
  name: 'Introduction to asset selector single search',
566
665
  module: 'AssetSelectorSingleSearchModule',
567
666
  path: './src/selector/asset-selector-example/single-search/asset-selector-single-search.module.ts',
568
- description: 'An introduction to asset selector single search example.'
667
+ description: 'An introduction to asset selector single search example.',
668
+ scope: 'self'
569
669
  },
570
670
  {
571
671
  name: 'Introduction to asset selector tree single',
572
672
  module: 'AssetSelectorTreeSingleModule',
573
673
  path: './src/selector/asset-selector-example/tree-single/asset-selector-tree-single.module.ts',
574
- description: 'An introduction to asset selector tree single example.'
674
+ description: 'An introduction to asset selector tree single example.',
675
+ scope: 'self'
575
676
  },
576
677
  {
577
678
  name: 'Introduction to asset selector tree devices',
578
679
  module: 'AssetSelectorTreeDevicesModule',
579
680
  path: './src/selector/asset-selector-example/tree-devices/asset-selector-tree-devices.module.ts',
580
- description: 'An introduction to asset selector tree devices example.'
681
+ description: 'An introduction to asset selector tree devices example.',
682
+ scope: 'self'
581
683
  },
582
684
  {
583
685
  name: 'Introduction to asset selector tree search',
584
686
  module: 'AssetSelectorTreeSearchModule',
585
687
  path: './src/selector/asset-selector-example/tree-search/asset-selector-tree-search.module.ts',
586
- description: 'An introduction to asset selector tree search example.'
688
+ description: 'An introduction to asset selector tree search example.',
689
+ scope: 'self'
587
690
  },
588
691
  {
589
692
  name: 'Stepper',
590
693
  module: 'StepperModule',
591
694
  path: './src/stepper/stepper.module.ts',
592
- description: 'A simple stepper example.'
695
+ description: 'A simple stepper example.',
696
+ scope: 'self'
593
697
  },
594
698
  {
595
699
  name: 'ApplicationCard',
596
700
  module: 'ApplicationCardExampleModule',
597
701
  path: './src/application-card/application-card-example.module.ts',
598
- description: 'Application card example.'
702
+ description: 'Application card example.',
703
+ scope: 'self'
599
704
  },
600
705
  {
601
706
  name: 'Hooking via service',
602
707
  module: 'HookStateModule',
603
708
  path: './src/hooks/state/hook-state.module.ts',
604
- description: 'This is an example for an Action added via service or factory.'
709
+ description: 'This is an example for an Action added via service or factory.',
710
+ scope: 'self'
605
711
  },
606
712
  {
607
713
  name: 'Device connection status',
608
714
  module: 'DeviceConnectionStatusExampleModule',
609
715
  path: './src/device-connection-status/device-connection-status-example.module.ts',
610
- description: 'This is an example of Device connection status icons.'
716
+ description: 'This is an example of Device connection status icons.',
717
+ scope: 'self'
611
718
  },
612
719
  {
613
720
  name: 'Pagination',
614
721
  module: 'PaginationExampleModule',
615
722
  path: './src/pagination/pagination-example.module.ts',
616
- description: 'This is an example for pagination.'
723
+ description: 'This is an example for pagination.',
724
+ scope: 'self'
617
725
  }
618
- ],
619
- remotes: {
620
- tutorial: [
621
- 'FormsTutorialModule',
622
- 'TextTranslationNgnonbindableModule',
623
- 'NgxModalExampleModule',
624
- 'NgxModalSizesExampleModule',
625
- 'NgxModalSelectorsExampleModule',
626
- 'NgxModalAccessibilityExampleModule',
627
- 'JsonSchemaExampleModule',
628
- 'IntroductionExampleModule',
629
- 'CustomElementExampleModule',
630
- 'ValidationExampleModule',
631
- 'CascadingStyleSheetsExampleModule',
632
- 'LeanerStyleSheetsExampleModule',
633
- 'SyntacticallyAwesomeStyleSheetsExampleModule',
634
- 'SimpleMapExampleModule',
635
- 'ClusterMapExampleModule',
636
- 'RangeInputExampleModule',
637
- 'ActionModule',
638
- 'ActionBarModule',
639
- 'BreadcrumbsModule',
640
- 'BreadcrumbsExampleModule',
641
- 'BreadcrumbsExpandExampleModule',
642
- 'BreadcrumbsOutletExampleModule',
643
- 'BreadcrumbsContentProjectionExampleModule',
644
- 'ComponentModule',
645
- 'WizardModule',
646
- 'StepperHookModule',
647
- 'TabsModule',
648
- 'NavigatorRouteModule',
649
- 'MapPopupExampleModule',
650
- 'ClusterMapRootNodeExampleModule',
651
- 'ListTimelineModule',
652
- 'ListCheckModule',
653
- 'ListVirtualScrollCheckModule',
654
- 'ListVirtualScrollTimelineModule',
655
- 'ClientGridExampleModule',
656
- 'ServerGridExampleModule',
657
- 'DeviceGridExampleModule',
658
- 'EmptyGridExampleModule',
659
- 'TextTranslationByServiceModule',
660
- 'TextTranslationGettextModule',
661
- 'C8yDateTranslationModule',
662
- 'DateTranslationModule',
663
- 'DynamicFormTranslationModule',
664
- 'NewTranslationModule',
665
- 'NewLanguageModule',
666
- 'CustomDashboardModule',
667
- 'WidgetGuideDashboardModule',
668
- 'WidgetGuideContextDashboardModule',
669
- 'WidgetDashboardModule',
670
- 'ContextDashboardModule',
671
- 'ServiceDashboardModule',
672
- 'NamedContextDashboardModule',
673
- 'AlertExampleModule',
674
- 'AppIconExampleModule',
675
- 'RightDrawerModule',
676
- 'LeftDrawerModule',
677
- 'AssetSelectorExampleModule',
678
- 'AssetSelectorMillerExampleModule',
679
- 'AssetSelectorTreeExampleModule',
680
- 'DatapointSelectionExampleModule',
681
- 'ConfirmModalExampleModule',
682
- 'TutorialVersionModule',
683
- 'PopConfirmExampleModule',
684
- 'QuickLinkExampleModule',
685
- 'PropertiesListExampleModule',
686
- 'ForOfModule',
687
- 'RealtimeTutorialModule',
688
- 'ProviderConfigurationTutorialModule',
689
- 'HelpExampleModule',
690
- 'ExtendableInputListExampleModule',
691
- 'TimePickerExampleModule',
692
- 'DateTimeRangeExampleModule',
693
- 'DatapointSelectionListExampleModule',
694
- 'DatapointSelectionModalExampleModule',
695
- 'DatapointSelectionValidationExampleModule',
696
- 'DatapointSelectionDragdropExampleModule',
697
- 'DatapointSelectionSelectorExampleModule',
698
- 'DatapointSelectionContextExampleModule',
699
- 'DatapointSelectionNotemplatesExampleModule',
700
- 'AssetSelectorChildDevicesModule',
701
- 'AssetSelectorOnlyDevicesModule',
702
- 'AssetSelectorColumnHeaderModule',
703
- 'AssetSelectorGlobalSearchModule',
704
- 'AssetSingleSelectModule',
705
- 'AssetSelectorMultiSelectModule',
706
- 'AssetSelectorDifferentRootModule',
707
- 'AssetSelectorSingleSearchModule',
708
- 'AssetSelectorTreeSingleModule',
709
- 'AssetSelectorTreeDevicesModule',
710
- 'AssetSelectorTreeSearchModule',
711
- 'StepperModule',
712
- 'ApplicationCardExampleModule',
713
- 'HookStateModule',
714
- 'DeviceConnectionStatusExampleModule',
715
- 'PaginationExampleModule'
716
- ]
717
- }
726
+ ]
718
727
  },
719
728
  buildTime: {
720
729
  extraWebpackConfig: {
@@ -726,7 +735,6 @@ export default {
726
735
  },
727
736
  // The embedded.css is used by codex for iframe embeddings.
728
737
  copy: [{ from: './node_modules/@c8y/style/embedded.css', to: './embedded.css' }],
729
- entryModule: './src/app/app.module#AppModule',
730
738
  brandingEntry: './src/branding/branding.less',
731
739
  federation: [
732
740
  '@angular/animations',