@smartbit4all/ng-client 4.0.114 → 4.0.116

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 (167) hide show
  1. package/esm2022/lib/smart-chart/api/api/api.mjs +2 -0
  2. package/esm2022/lib/smart-chart/api/api.module.mjs +40 -0
  3. package/esm2022/lib/smart-chart/api/configuration.mjs +91 -0
  4. package/esm2022/lib/smart-chart/api/index.mjs +7 -0
  5. package/esm2022/lib/smart-chart/api/model/chartData.mjs +2 -0
  6. package/esm2022/lib/smart-chart/api/model/chartDescriptor.mjs +2 -0
  7. package/esm2022/lib/smart-chart/api/model/chartOrientation.mjs +16 -0
  8. package/esm2022/lib/smart-chart/api/model/chartType.mjs +21 -0
  9. package/esm2022/lib/smart-chart/api/model/chartValue.mjs +13 -0
  10. package/esm2022/lib/smart-chart/api/model/diagramDataContainer.mjs +2 -0
  11. package/esm2022/lib/smart-chart/api/model/diagramDataItem.mjs +13 -0
  12. package/esm2022/lib/smart-chart/api/model/diagramDataSet.mjs +2 -0
  13. package/esm2022/lib/smart-chart/api/model/diagramDataSetConstructionInstruction.mjs +13 -0
  14. package/esm2022/lib/smart-chart/api/model/diagramDescriptor.mjs +13 -0
  15. package/esm2022/lib/smart-chart/api/model/diagramUiModel.mjs +2 -0
  16. package/esm2022/lib/smart-chart/api/model/models.mjs +13 -0
  17. package/esm2022/lib/smart-chart/api/model/pieChartLegendPosition.mjs +16 -0
  18. package/esm2022/lib/smart-chart/api/param.mjs +2 -0
  19. package/esm2022/lib/smart-chart/api/variables.mjs +9 -0
  20. package/esm2022/lib/smart-chart/default-chart-options.provider.mjs +233 -0
  21. package/esm2022/lib/smart-chart/projects.mjs +8 -0
  22. package/esm2022/lib/smart-chart/smart-chart.component.mjs +96 -0
  23. package/esm2022/lib/smart-chart/smart-chart.module.mjs +39 -0
  24. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionBoolOperator.mjs +1 -1
  25. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionBuilderField.mjs +1 -1
  26. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionBuilderGroup.mjs +1 -1
  27. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionBuilderModel.mjs +1 -1
  28. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionData.mjs +1 -1
  29. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionDataType.mjs +1 -1
  30. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionField.mjs +1 -1
  31. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionFieldList.mjs +1 -1
  32. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.mjs +1 -1
  33. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionList.mjs +1 -1
  34. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionOperandData.mjs +1 -1
  35. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionOperation.mjs +1 -1
  36. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionOrderBy.mjs +1 -1
  37. package/esm2022/lib/smart-filter-editor/api/api/filter.service.mjs +1 -1
  38. package/esm2022/lib/smart-filter-editor/api/configuration.mjs +1 -1
  39. package/esm2022/lib/smart-filter-editor/api/encoder.mjs +1 -1
  40. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBoolOperator.mjs +1 -1
  41. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderApiConfig.mjs +1 -1
  42. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderField.mjs +1 -1
  43. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderGroup.mjs +1 -1
  44. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderModel.mjs +1 -1
  45. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.mjs +1 -1
  46. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionData.mjs +1 -1
  47. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionDataType.mjs +1 -1
  48. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionField.mjs +1 -1
  49. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionFieldEditor.mjs +1 -1
  50. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionFieldList.mjs +1 -1
  51. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.mjs +1 -1
  52. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionList.mjs +1 -1
  53. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionOperandData.mjs +1 -1
  54. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionOperation.mjs +1 -1
  55. package/esm2022/lib/smart-filter-editor/api/model/smartFilterType.mjs +1 -1
  56. package/esm2022/lib/smart-filter-editor/api/param.mjs +1 -1
  57. package/esm2022/lib/smart-filter-editor/api/variables.mjs +1 -1
  58. package/esm2022/lib/smart-form/api/api/api.mjs +1 -1
  59. package/esm2022/lib/smart-form/api/api/default.service.mjs +1 -1
  60. package/esm2022/lib/smart-form/api/api.module.mjs +1 -1
  61. package/esm2022/lib/smart-form/api/configuration.mjs +1 -1
  62. package/esm2022/lib/smart-form/api/encoder.mjs +1 -1
  63. package/esm2022/lib/smart-form/api/index.mjs +1 -1
  64. package/esm2022/lib/smart-form/api/model/models.mjs +1 -1
  65. package/esm2022/lib/smart-form/api/model/propertyMapping.mjs +1 -1
  66. package/esm2022/lib/smart-form/api/model/selectionDefinition.mjs +1 -1
  67. package/esm2022/lib/smart-form/api/model/smartFormInputMode.mjs +1 -1
  68. package/esm2022/lib/smart-form/api/model/smartFormWidgetDirection.mjs +1 -1
  69. package/esm2022/lib/smart-form/api/model/smartFormWidgetType.mjs +1 -1
  70. package/esm2022/lib/smart-form/api/model/smartLayoutDefinition.mjs +1 -1
  71. package/esm2022/lib/smart-form/api/model/smartMatrixModel.mjs +1 -1
  72. package/esm2022/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
  73. package/esm2022/lib/smart-form/api/model/smartWidgetHint.mjs +1 -1
  74. package/esm2022/lib/smart-form/api/model/valueChangeMode.mjs +1 -1
  75. package/esm2022/lib/smart-form/api/param.mjs +1 -1
  76. package/esm2022/lib/smart-form/api/variables.mjs +1 -1
  77. package/esm2022/lib/view-context/api/api/api.mjs +1 -1
  78. package/esm2022/lib/view-context/api/api/view.service.mjs +1 -1
  79. package/esm2022/lib/view-context/api/api.module.mjs +1 -1
  80. package/esm2022/lib/view-context/api/configuration.mjs +1 -1
  81. package/esm2022/lib/view-context/api/encoder.mjs +1 -1
  82. package/esm2022/lib/view-context/api/index.mjs +1 -1
  83. package/esm2022/lib/view-context/api/model/clipboardData.mjs +1 -1
  84. package/esm2022/lib/view-context/api/model/closeResult.mjs +1 -1
  85. package/esm2022/lib/view-context/api/model/componentConstraint.mjs +1 -1
  86. package/esm2022/lib/view-context/api/model/componentModel.mjs +1 -1
  87. package/esm2022/lib/view-context/api/model/componentModelChange.mjs +1 -1
  88. package/esm2022/lib/view-context/api/model/dataChange.mjs +1 -1
  89. package/esm2022/lib/view-context/api/model/dataChangeEvent.mjs +1 -1
  90. package/esm2022/lib/view-context/api/model/dataChangeKind.mjs +1 -1
  91. package/esm2022/lib/view-context/api/model/deviceInfo.mjs +1 -1
  92. package/esm2022/lib/view-context/api/model/downloadedFile.mjs +1 -1
  93. package/esm2022/lib/view-context/api/model/iconPosition.mjs +1 -1
  94. package/esm2022/lib/view-context/api/model/imageResource.mjs +1 -1
  95. package/esm2022/lib/view-context/api/model/link.mjs +1 -1
  96. package/esm2022/lib/view-context/api/model/messageData.mjs +1 -1
  97. package/esm2022/lib/view-context/api/model/messageOption.mjs +1 -1
  98. package/esm2022/lib/view-context/api/model/messageOptionType.mjs +1 -1
  99. package/esm2022/lib/view-context/api/model/messageResult.mjs +1 -1
  100. package/esm2022/lib/view-context/api/model/messageTextType.mjs +1 -1
  101. package/esm2022/lib/view-context/api/model/messageType.mjs +1 -1
  102. package/esm2022/lib/view-context/api/model/models.mjs +1 -1
  103. package/esm2022/lib/view-context/api/model/openPendingData.mjs +1 -1
  104. package/esm2022/lib/view-context/api/model/serverRequestExecutionStat.mjs +1 -1
  105. package/esm2022/lib/view-context/api/model/serverRequestTrack.mjs +1 -1
  106. package/esm2022/lib/view-context/api/model/serverRequestType.mjs +1 -1
  107. package/esm2022/lib/view-context/api/model/smartLinkData.mjs +1 -1
  108. package/esm2022/lib/view-context/api/model/statisticRecord.mjs +1 -1
  109. package/esm2022/lib/view-context/api/model/style.mjs +1 -1
  110. package/esm2022/lib/view-context/api/model/uiAction.mjs +1 -1
  111. package/esm2022/lib/view-context/api/model/uiActionButtonDescriptor.mjs +1 -1
  112. package/esm2022/lib/view-context/api/model/uiActionButtonType.mjs +1 -1
  113. package/esm2022/lib/view-context/api/model/uiActionConstraint.mjs +1 -1
  114. package/esm2022/lib/view-context/api/model/uiActionDescriptor.mjs +1 -1
  115. package/esm2022/lib/view-context/api/model/uiActionDialogDescriptor.mjs +1 -1
  116. package/esm2022/lib/view-context/api/model/uiActionFeedbackType.mjs +1 -1
  117. package/esm2022/lib/view-context/api/model/uiActionInputType.mjs +1 -1
  118. package/esm2022/lib/view-context/api/model/uiActionRequest.mjs +1 -1
  119. package/esm2022/lib/view-context/api/model/uiActionTooltip.mjs +1 -1
  120. package/esm2022/lib/view-context/api/model/uiActionUploadDescriptor.mjs +1 -1
  121. package/esm2022/lib/view-context/api/model/valueSet.mjs +1 -1
  122. package/esm2022/lib/view-context/api/model/view.mjs +1 -1
  123. package/esm2022/lib/view-context/api/model/viewApiError.mjs +1 -1
  124. package/esm2022/lib/view-context/api/model/viewConstraint.mjs +1 -1
  125. package/esm2022/lib/view-context/api/model/viewContext.mjs +1 -1
  126. package/esm2022/lib/view-context/api/model/viewContextChange.mjs +1 -1
  127. package/esm2022/lib/view-context/api/model/viewContextData.mjs +1 -1
  128. package/esm2022/lib/view-context/api/model/viewContextUpdate.mjs +1 -1
  129. package/esm2022/lib/view-context/api/model/viewData.mjs +1 -1
  130. package/esm2022/lib/view-context/api/model/viewPlaceholder.mjs +1 -1
  131. package/esm2022/lib/view-context/api/model/viewState.mjs +1 -1
  132. package/esm2022/lib/view-context/api/model/viewStateUpdate.mjs +1 -1
  133. package/esm2022/lib/view-context/api/model/viewType.mjs +1 -1
  134. package/esm2022/lib/view-context/api/param.mjs +1 -1
  135. package/esm2022/lib/view-context/api/variables.mjs +1 -1
  136. package/esm2022/lib/view-context/smart-view-context.module.mjs +10 -4
  137. package/esm2022/projects.mjs +2 -1
  138. package/fesm2022/smartbit4all-ng-client.mjs +470 -4
  139. package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
  140. package/lib/smart-chart/api/api/api.d.ts +1 -0
  141. package/lib/smart-chart/api/api.module.d.ts +11 -0
  142. package/lib/smart-chart/api/configuration.d.ts +104 -0
  143. package/lib/smart-chart/api/index.d.ts +6 -0
  144. package/lib/smart-chart/api/model/chartData.d.ts +16 -0
  145. package/lib/smart-chart/api/model/chartDescriptor.d.ts +37 -0
  146. package/lib/smart-chart/api/model/chartOrientation.d.ts +16 -0
  147. package/lib/smart-chart/api/model/chartType.d.ts +21 -0
  148. package/lib/smart-chart/api/model/chartValue.d.ts +16 -0
  149. package/lib/smart-chart/api/model/diagramDataContainer.d.ts +20 -0
  150. package/lib/smart-chart/api/model/diagramDataItem.d.ts +24 -0
  151. package/lib/smart-chart/api/model/diagramDataSet.d.ts +21 -0
  152. package/lib/smart-chart/api/model/diagramDataSetConstructionInstruction.d.ts +21 -0
  153. package/lib/smart-chart/api/model/diagramDescriptor.d.ts +49 -0
  154. package/lib/smart-chart/api/model/diagramUiModel.d.ts +18 -0
  155. package/lib/smart-chart/api/model/models.d.ts +12 -0
  156. package/lib/smart-chart/api/model/pieChartLegendPosition.d.ts +16 -0
  157. package/lib/smart-chart/api/param.d.ts +37 -0
  158. package/lib/smart-chart/api/variables.d.ts +8 -0
  159. package/lib/smart-chart/default-chart-options.provider.d.ts +31 -0
  160. package/lib/smart-chart/projects.d.ts +4 -0
  161. package/lib/smart-chart/smart-chart.component.d.ts +19 -0
  162. package/lib/smart-chart/smart-chart.module.d.ts +11 -0
  163. package/lib/view-context/smart-view-context.module.d.ts +2 -1
  164. package/package.json +1 -1
  165. package/projects.d.ts +1 -0
  166. package/smartbit4all-ng-client-4.0.116.tgz +0 -0
  167. package/smartbit4all-ng-client-4.0.114.tgz +0 -0
@@ -95,6 +95,8 @@ import * as i6$1 from '@angular/material/table';
95
95
  import { MatTableModule } from '@angular/material/table';
96
96
  import { provideNgxMask } from 'ngx-mask';
97
97
  import { ToastModule } from 'primeng/toast';
98
+ import * as i2$4 from 'primeng/chart';
99
+ import { ChartModule } from 'primeng/chart';
98
100
  import { catchError as catchError$1, switchMap } from 'rxjs/operators';
99
101
  import * as i9$1 from '@angular/material/paginator';
100
102
  import { MatPaginatorModule } from '@angular/material/paginator';
@@ -9213,6 +9215,360 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
9213
9215
  type: Injectable
9214
9216
  }], ctorParameters: () => [{ type: SmartViewContextErrorDialogService }] });
9215
9217
 
9218
+ const CUSTOM_CHART_OPTIONS = new InjectionToken('CUSTOM_CHART_OPTIONS');
9219
+ function transformDataToBasicDataSets(chartData) {
9220
+ return {
9221
+ labels: chartData.labels,
9222
+ datasets: chartData.items.map((dataset) => {
9223
+ const color = dataset.dataSetcolor || generateRandomColor();
9224
+ return {
9225
+ data: dataset.items.map((item) => item.xValue),
9226
+ label: dataset.label,
9227
+ backgroundColor: color,
9228
+ borderColor: color,
9229
+ };
9230
+ }),
9231
+ };
9232
+ }
9233
+ function transformDataToBarLikeDataSet(chartData) {
9234
+ return {
9235
+ labels: chartData.labels,
9236
+ datasets: chartData.items.map((dataset) => {
9237
+ return {
9238
+ data: dataset.items.map((item) => item.xValue),
9239
+ label: dataset.label,
9240
+ backgroundColor: dataset.items.map((item) => item.itemColor || generateRandomColor()),
9241
+ borderColor: dataset.items.map((item) => item.itemColor || generateRandomColor()),
9242
+ };
9243
+ }),
9244
+ };
9245
+ }
9246
+ function transformDataToScatter(chartData) {
9247
+ return {
9248
+ datasets: chartData.items.map((dataset) => {
9249
+ const color = dataset.dataSetcolor || generateRandomColor();
9250
+ return {
9251
+ label: dataset.label,
9252
+ data: dataset.items.map((item) => ({
9253
+ x: item.xValue,
9254
+ y: item.yValue,
9255
+ })),
9256
+ backgroundColor: color,
9257
+ borderColor: color,
9258
+ };
9259
+ }),
9260
+ };
9261
+ }
9262
+ function transformDataToBubble(chartData) {
9263
+ return {
9264
+ datasets: chartData.items.map((dataset) => {
9265
+ const color = dataset.dataSetcolor || generateRandomColor();
9266
+ return {
9267
+ label: dataset.label,
9268
+ data: dataset.items.map((item) => ({
9269
+ x: item.xValue,
9270
+ y: item.yValue,
9271
+ r: item.rValue ?? 5,
9272
+ })),
9273
+ backgroundColor: color,
9274
+ borderColor: color,
9275
+ };
9276
+ }),
9277
+ };
9278
+ }
9279
+ const barChart = {
9280
+ chartType: 'bar',
9281
+ chartJsType: 'bar',
9282
+ createOptions: () => {
9283
+ return {};
9284
+ },
9285
+ transformData: transformDataToBarLikeDataSet,
9286
+ };
9287
+ const horizontalBarChart = {
9288
+ chartType: 'horizontalBar',
9289
+ chartJsType: 'bar',
9290
+ createOptions: () => {
9291
+ return {
9292
+ indexAxis: 'y',
9293
+ };
9294
+ },
9295
+ transformData: transformDataToBarLikeDataSet,
9296
+ };
9297
+ const radarChart = {
9298
+ chartType: 'radar',
9299
+ chartJsType: 'radar',
9300
+ createOptions: () => {
9301
+ return {};
9302
+ },
9303
+ transformData: (chartData) => {
9304
+ return {
9305
+ labels: chartData.labels,
9306
+ datasets: chartData.items.map((dataset) => ({
9307
+ data: dataset.items.map((item) => item.xValue),
9308
+ label: dataset.label,
9309
+ borderColor: dataset.dataSetcolor,
9310
+ pointBackgroundColor: dataset.dataSetcolor,
9311
+ pointBorderColor: dataset.dataSetcolor,
9312
+ pointHoverBackgroundColor: '#000000',
9313
+ pointHoverBorderColor: dataset.dataSetcolor,
9314
+ })),
9315
+ };
9316
+ },
9317
+ };
9318
+ const stackedBarChart = {
9319
+ chartType: 'stackedBar',
9320
+ chartJsType: 'bar',
9321
+ createOptions: () => {
9322
+ return {
9323
+ scales: {
9324
+ x: {
9325
+ stacked: true,
9326
+ },
9327
+ y: {
9328
+ stacked: true,
9329
+ },
9330
+ },
9331
+ };
9332
+ },
9333
+ transformData: transformDataToBasicDataSets,
9334
+ };
9335
+ const pieChart = {
9336
+ chartType: 'pie',
9337
+ chartJsType: 'pie',
9338
+ createOptions: () => {
9339
+ return {};
9340
+ },
9341
+ transformData: transformDataToBarLikeDataSet,
9342
+ };
9343
+ const doughnutChart = {
9344
+ chartType: 'doughnut',
9345
+ chartJsType: 'doughnut',
9346
+ createOptions: () => {
9347
+ return {};
9348
+ },
9349
+ transformData: transformDataToBarLikeDataSet,
9350
+ };
9351
+ const scatterChart = {
9352
+ chartType: 'scatter',
9353
+ chartJsType: 'scatter',
9354
+ createOptions: () => {
9355
+ return {};
9356
+ },
9357
+ transformData: transformDataToScatter,
9358
+ };
9359
+ const bubbleChart = {
9360
+ chartType: 'bubble',
9361
+ chartJsType: 'bubble',
9362
+ createOptions: () => {
9363
+ return {};
9364
+ },
9365
+ transformData: transformDataToBubble,
9366
+ };
9367
+ const multiAxisLineChart = {
9368
+ chartType: 'multiAxisLine',
9369
+ chartJsType: 'line',
9370
+ createOptions: (chartData) => {
9371
+ const yAxes = chartData.items.map((dataset, index) => ({
9372
+ id: `y${index == 1 ? '' : index}`,
9373
+ type: 'linear',
9374
+ position: index % 2 === 0 ? 'left' : 'right',
9375
+ }));
9376
+ return {
9377
+ scales: {
9378
+ ...yAxes.reduce((acc, axis) => {
9379
+ acc[axis.id] = axis;
9380
+ return acc;
9381
+ }, {}),
9382
+ },
9383
+ };
9384
+ },
9385
+ transformData: (chartData) => {
9386
+ return {
9387
+ labels: chartData.labels,
9388
+ datasets: chartData.items.map((dataset, index) => ({
9389
+ data: dataset.items.map((item) => item.xValue),
9390
+ label: dataset.label,
9391
+ yAxisID: `y${index == 1 ? '' : index}`,
9392
+ backgroundColor: dataset.dataSetcolor,
9393
+ borderColor: dataset.dataSetcolor,
9394
+ })),
9395
+ };
9396
+ },
9397
+ };
9398
+ const polarAreaChart = {
9399
+ chartType: 'polarArea',
9400
+ chartJsType: 'polarArea',
9401
+ createOptions: () => {
9402
+ return {};
9403
+ },
9404
+ transformData: (chartData) => {
9405
+ return {
9406
+ labels: chartData.labels,
9407
+ datasets: chartData.items.map((dataset) => ({
9408
+ data: dataset.items.map((item) => item.xValue),
9409
+ label: dataset.label,
9410
+ borderColor: dataset.items.map((item) => item.itemColor),
9411
+ backgroundColor: dataset.items.map((item) => item.itemColor),
9412
+ })),
9413
+ };
9414
+ },
9415
+ };
9416
+ class DefaultChartOptionsProvider {
9417
+ constructor(factories) {
9418
+ this.factoriesByType = new Map(factories?.map((f) => [f.chartType, f]) ?? []);
9419
+ }
9420
+ getFactory(chartType) {
9421
+ return (this.factoriesByType.get(chartType) ?? {
9422
+ chartType: chartType,
9423
+ chartJsType: chartType,
9424
+ transformData: transformDataToBasicDataSets,
9425
+ createOptions: () => {
9426
+ return {};
9427
+ },
9428
+ });
9429
+ }
9430
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: DefaultChartOptionsProvider, deps: [{ token: CUSTOM_CHART_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
9431
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: DefaultChartOptionsProvider, providedIn: 'root' }); }
9432
+ }
9433
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: DefaultChartOptionsProvider, decorators: [{
9434
+ type: Injectable,
9435
+ args: [{
9436
+ providedIn: 'root',
9437
+ }]
9438
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
9439
+ type: Inject,
9440
+ args: [CUSTOM_CHART_OPTIONS]
9441
+ }, {
9442
+ type: Optional
9443
+ }] }] });
9444
+ function generateRandomColor() {
9445
+ const random = Math.floor(Math.random() * 16777215).toString(16);
9446
+ return `#${'000000'.substring(0, 6 - random.length) + random}`;
9447
+ }
9448
+
9449
+ class SmartChartComponent {
9450
+ constructor(chartOptionProvider, compLib) {
9451
+ this.chartOptionProvider = chartOptionProvider;
9452
+ this.compLib = compLib;
9453
+ this.componentLibrary = ComponentLibrary;
9454
+ }
9455
+ ngOnInit() {
9456
+ let options = undefined;
9457
+ const diagramType = !!this.diagramUiModel.Descriptor?.diagramType
9458
+ ? this.diagramUiModel.Descriptor.diagramType
9459
+ : '';
9460
+ const factory = this.chartOptionProvider.getFactory(diagramType);
9461
+ this.type = factory.chartJsType;
9462
+ options = factory.createOptions(this.diagramUiModel.DiagramData);
9463
+ if (this.diagramUiModel.Descriptor) {
9464
+ options = this.deepMerge(this.convertBackendOptions(this.diagramUiModel.Descriptor), options);
9465
+ }
9466
+ if (this.options) {
9467
+ options = this.deepMerge(this.options, options);
9468
+ }
9469
+ this.options = options;
9470
+ this.data = factory.transformData(this.diagramUiModel.DiagramData);
9471
+ }
9472
+ deepMerge(target, source) {
9473
+ for (const key of Object.keys(source)) {
9474
+ if (source[key] instanceof Object && target[key]) {
9475
+ Object.assign(source[key], this.deepMerge(target[key], source[key]));
9476
+ }
9477
+ }
9478
+ Object.assign(target || {}, source);
9479
+ return target;
9480
+ }
9481
+ convertBackendOptions(descriptor) {
9482
+ const options = {
9483
+ plugins: {
9484
+ legend: {
9485
+ display: descriptor.showLegendForChart ?? true,
9486
+ },
9487
+ },
9488
+ scales: {},
9489
+ };
9490
+ if (descriptor.diagramMinX !== undefined && descriptor.diagramMaxX !== undefined) {
9491
+ options.scales.x = {
9492
+ ticks: {
9493
+ display: descriptor.showLabelsForXAxis ?? true,
9494
+ },
9495
+ min: descriptor.diagramMinX,
9496
+ max: descriptor.diagramMaxX,
9497
+ };
9498
+ }
9499
+ else {
9500
+ options.scales.x = {
9501
+ ticks: {
9502
+ display: descriptor.showLabelsForXAxis ?? true,
9503
+ },
9504
+ };
9505
+ }
9506
+ if (descriptor.diagramMinY !== undefined && descriptor.diagramMaxY !== undefined) {
9507
+ options.scales.y = {
9508
+ ticks: {
9509
+ display: descriptor.showLabelsForYAxis ?? true,
9510
+ },
9511
+ min: descriptor.diagramMinY,
9512
+ max: descriptor.diagramMaxY,
9513
+ };
9514
+ }
9515
+ else {
9516
+ options.scales.y = {
9517
+ ticks: {
9518
+ display: descriptor.showLabelsForYAxis ?? true,
9519
+ },
9520
+ };
9521
+ }
9522
+ return options;
9523
+ }
9524
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: SmartChartComponent, deps: [{ token: DefaultChartOptionsProvider }, { token: COMPONENT_LIBRARY }], target: i0.ɵɵFactoryTarget.Component }); }
9525
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.11", type: SmartChartComponent, selector: "smart-chart", inputs: { diagramUiModel: "diagramUiModel", options: "options" }, ngImport: i0, template: "@if(compLib === componentLibrary.PRIMENG) {\r\n<p-chart [type]=\"type\" [data]=\"data\" [options]=\"options\" />\r\n} @else {\r\n<p>Only PrimeNg component library is supported </p>\r\n}\r\n", styles: [""], dependencies: [{ kind: "component", type: i2$4.UIChart, selector: "p-chart", inputs: ["type", "plugins", "width", "height", "responsive", "ariaLabel", "ariaLabelledBy", "data", "options"], outputs: ["onDataSelect"] }] }); }
9526
+ }
9527
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: SmartChartComponent, decorators: [{
9528
+ type: Component,
9529
+ args: [{ selector: 'smart-chart', template: "@if(compLib === componentLibrary.PRIMENG) {\r\n<p-chart [type]=\"type\" [data]=\"data\" [options]=\"options\" />\r\n} @else {\r\n<p>Only PrimeNg component library is supported </p>\r\n}\r\n" }]
9530
+ }], ctorParameters: () => [{ type: DefaultChartOptionsProvider }, { type: ComponentLibrary, decorators: [{
9531
+ type: Inject,
9532
+ args: [COMPONENT_LIBRARY]
9533
+ }] }], propDecorators: { diagramUiModel: [{
9534
+ type: Input
9535
+ }], options: [{
9536
+ type: Input
9537
+ }] } });
9538
+
9539
+ const DEFAULT_PROVIDERS = [
9540
+ DefaultChartOptionsProvider,
9541
+ { provide: CUSTOM_CHART_OPTIONS, useValue: barChart, multi: true },
9542
+ { provide: CUSTOM_CHART_OPTIONS, useValue: scatterChart, multi: true },
9543
+ { provide: CUSTOM_CHART_OPTIONS, useValue: bubbleChart, multi: true },
9544
+ { provide: CUSTOM_CHART_OPTIONS, useValue: horizontalBarChart, multi: true },
9545
+ { provide: CUSTOM_CHART_OPTIONS, useValue: stackedBarChart, multi: true },
9546
+ { provide: CUSTOM_CHART_OPTIONS, useValue: multiAxisLineChart, multi: true },
9547
+ { provide: CUSTOM_CHART_OPTIONS, useValue: polarAreaChart, multi: true },
9548
+ { provide: CUSTOM_CHART_OPTIONS, useValue: radarChart, multi: true },
9549
+ { provide: CUSTOM_CHART_OPTIONS, useValue: doughnutChart, multi: true },
9550
+ { provide: CUSTOM_CHART_OPTIONS, useValue: pieChart, multi: true },
9551
+ ];
9552
+ class SmartChartModule {
9553
+ static forRoot(providers) {
9554
+ return {
9555
+ ngModule: SmartChartModule,
9556
+ providers: [...DEFAULT_PROVIDERS, ...providers],
9557
+ };
9558
+ }
9559
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: SmartChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9560
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: SmartChartModule, declarations: [SmartChartComponent], imports: [BrowserModule, ChartModule], exports: [SmartChartComponent] }); }
9561
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: SmartChartModule, imports: [BrowserModule, ChartModule] }); }
9562
+ }
9563
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: SmartChartModule, decorators: [{
9564
+ type: NgModule,
9565
+ args: [{
9566
+ declarations: [SmartChartComponent],
9567
+ imports: [BrowserModule, ChartModule],
9568
+ exports: [SmartChartComponent],
9569
+ }]
9570
+ }] });
9571
+
9216
9572
  class SmartViewContextModule {
9217
9573
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: SmartViewContextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9218
9574
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: SmartViewContextModule, declarations: [MessageDialogComponent,
@@ -9272,7 +9628,8 @@ class SmartViewContextModule {
9272
9628
  DynamicDialogModule,
9273
9629
  FileUploadModule,
9274
9630
  ChipsModule,
9275
- CalendarModule], exports: [UiActionToolbarComponent,
9631
+ CalendarModule,
9632
+ SmartChartModule], exports: [UiActionToolbarComponent,
9276
9633
  UiActionInputDialogComponent,
9277
9634
  SmartformComponent,
9278
9635
  SmartformwidgetComponent,
@@ -9280,7 +9637,8 @@ class SmartViewContextModule {
9280
9637
  SmartfileuploaderComponent,
9281
9638
  HighlightPipe,
9282
9639
  ComparableDropdownDirective,
9283
- ComparableMultiselectDirective] }); }
9640
+ ComparableMultiselectDirective,
9641
+ SmartChartModule] }); }
9284
9642
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: SmartViewContextModule, providers: [
9285
9643
  Dropdown,
9286
9644
  MultiSelect,
@@ -9347,7 +9705,8 @@ class SmartViewContextModule {
9347
9705
  DynamicDialogModule,
9348
9706
  FileUploadModule,
9349
9707
  ChipsModule,
9350
- CalendarModule] }); }
9708
+ CalendarModule,
9709
+ SmartChartModule, SmartChartModule] }); }
9351
9710
  }
9352
9711
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: SmartViewContextModule, decorators: [{
9353
9712
  type: NgModule,
@@ -9417,6 +9776,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
9417
9776
  FileUploadModule,
9418
9777
  ChipsModule,
9419
9778
  CalendarModule,
9779
+ SmartChartModule,
9420
9780
  ],
9421
9781
  exports: [
9422
9782
  UiActionToolbarComponent,
@@ -9428,6 +9788,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
9428
9788
  HighlightPipe,
9429
9789
  ComparableDropdownDirective,
9430
9790
  ComparableMultiselectDirective,
9791
+ SmartChartModule,
9431
9792
  ],
9432
9793
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
9433
9794
  providers: [
@@ -17192,6 +17553,111 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
17192
17553
  * Public API Surface of smart-tab-group
17193
17554
  */
17194
17555
 
17556
+ /**
17557
+ * Chart API
17558
+ * API for consume charts.
17559
+ *
17560
+ * The version of the OpenAPI document: 1.0.0
17561
+ * Contact: info@it4all.hu
17562
+ *
17563
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
17564
+ * https://openapi-generator.tech
17565
+ * Do not edit the class manually.
17566
+ */
17567
+ const ChartOrientation = {
17568
+ Horizontal: 'Horizontal',
17569
+ Vertical: 'Vertical'
17570
+ };
17571
+
17572
+ /**
17573
+ * Chart API
17574
+ * API for consume charts.
17575
+ *
17576
+ * The version of the OpenAPI document: 1.0.0
17577
+ * Contact: info@it4all.hu
17578
+ *
17579
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
17580
+ * https://openapi-generator.tech
17581
+ * Do not edit the class manually.
17582
+ */
17583
+ const ChartType = {
17584
+ BarChart: 'BarChart',
17585
+ GroupedBarChart: 'GroupedBarChart',
17586
+ StackedBarChart: 'StackedBarChart',
17587
+ NormalizedBarChart: 'NormalizedBarChart',
17588
+ PieChart: 'PieChart',
17589
+ AdvancedPieChart: 'AdvancedPieChart',
17590
+ PieGrid: 'PieGrid'
17591
+ };
17592
+
17593
+ /**
17594
+ * Chart API
17595
+ * API for consume charts.
17596
+ *
17597
+ * The version of the OpenAPI document: 1.0.0
17598
+ * Contact: info@it4all.hu
17599
+ *
17600
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
17601
+ * https://openapi-generator.tech
17602
+ * Do not edit the class manually.
17603
+ */
17604
+
17605
+ /**
17606
+ * Chart API
17607
+ * API for consume charts.
17608
+ *
17609
+ * The version of the OpenAPI document: 1.0.0
17610
+ * Contact: info@it4all.hu
17611
+ *
17612
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
17613
+ * https://openapi-generator.tech
17614
+ * Do not edit the class manually.
17615
+ */
17616
+
17617
+ /**
17618
+ * Chart API
17619
+ * API for consume charts.
17620
+ *
17621
+ * The version of the OpenAPI document: 1.0.0
17622
+ * Contact: info@it4all.hu
17623
+ *
17624
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
17625
+ * https://openapi-generator.tech
17626
+ * Do not edit the class manually.
17627
+ */
17628
+
17629
+ /**
17630
+ * Chart API
17631
+ * API for consume charts.
17632
+ *
17633
+ * The version of the OpenAPI document: 1.0.0
17634
+ * Contact: info@it4all.hu
17635
+ *
17636
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
17637
+ * https://openapi-generator.tech
17638
+ * Do not edit the class manually.
17639
+ */
17640
+
17641
+ /**
17642
+ * Chart API
17643
+ * API for consume charts.
17644
+ *
17645
+ * The version of the OpenAPI document: 1.0.0
17646
+ * Contact: info@it4all.hu
17647
+ *
17648
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
17649
+ * https://openapi-generator.tech
17650
+ * Do not edit the class manually.
17651
+ */
17652
+ const PieChartLegendPosition = {
17653
+ Right: 'right',
17654
+ Below: 'below'
17655
+ };
17656
+
17657
+ /*
17658
+ * Public API Surface of smart-chart
17659
+ */
17660
+
17195
17661
  /*
17196
17662
  * Public API Surface of smart-ng-client
17197
17663
  */
@@ -17200,5 +17666,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
17200
17666
  * Generated bundle index. Do not edit.
17201
17667
  */
17202
17668
 
17203
- export { APIS$3 as APIS, ApiModule$3 as ApiModule, ApiQueueService, BASE_PATH$5 as BASE_PATH, COLLECTION_FORMATS$5 as COLLECTION_FORMATS, COMPONENT_LIBRARY, CloseResult, ComparableDropdownDirective, ComparableMultiselectDirective, ComponentFactoryService, ComponentFactoryServiceModule, ComponentLibrary, ComponentType, ComponentWidgetType, Configuration$5 as Configuration, DIALOG_DISABLE_CLOSE, DataChangeKind, DefaultUiActionCode_CLOSE, ExpandableSectionButtonIconPosition, ExpandableSectionButtonType, ExpandableSectionComponent, FilterExpressionBoolOperator$1 as FilterExpressionBoolOperator, FilterExpressionBuilderGroupBuilderGroupKindEnum, FilterExpressionDataType, FilterExpressionFieldWidgetType, FilterExpressionOperation, FilterExpressionOrderByOrderEnum, GridColumnContentType, GridDataAccessConfigKindEnum, GridSelectionMode, GridSelectionType, GridUiActionType, GridViewDescriptorKindEnum, HighlightPipe, IS_ASYNC_PARAM_NAME, IconPosition, ImageResourceKindEnum, LayoutDirection, LinkTargetEnum, MessageOptionType, MessageTextType, MessageType, SelectionDefinitionTypeEnum, ServerRequestType, SessionAPIS, SessionErrorBehaviour, SessionService, SharedModule, SimplifiedTabGroupComponent, SmartActionType, SmartAuthService, SmartComponent, SmartComponentApiClient, SmartComponentLayoutComponent, SmartComponentLayoutModule, SmartComponentLayoutUtility, SmartDatePipe, SmartDateTimePipe, SmartDialog, SmartExpandableSectionModule, SmartExpandableSectionService, SmartFileUploaderComponent, SmartFilterComponent, SmartFilterEditorContentComponent, SmartFilterEditorModule, SmartFilterEditorService, SmartFilterExpressionItemComponent, SmartFilterExpressionItemsComponent, SmartFilterModule, SmartFilterParamComponent, SmartFilterParamsComponent, SmartFilterPosition, SmartFilterType, SmartFormInputMode, SmartFormTextFieldButtonIconPosition, SmartFormWidgetDirection, SmartFormWidgetType, SmartFormWidgetWidth, SmartGridButtonType, SmartGridComponent, SmartGridDataLayout, SmartGridModule, SmartGridService, SmartGridType, SmartIconComponent, SmartIconModule, SmartIconService, SmartLayoutDef, SmartLinkChannelVariableInPath, SmartLinkUuidVariableInPath, SmartNavbarComponent, SmartNavbarModule, SmartNavbarService, SmartNavigationModule, SmartNavigationService, SmartNgClientModule, SmartNgClientService, SmartService, SmartSessionModule, SmartSessionService, SmartSessionTimerComponent, SmartSessionTimerService, SmartSubject, SmartTabGroupModule, SmartTabGroupService, SmartTable, SmartTableButtonType, SmartTableHeaderPropertyType, SmartTableInterfaceTypeEnum, SmartTableOptionButtonDirection, SmartTableOrder, SmartTableType, SmartTimePipe, SmartTooltipDirective, SmartTreeComponent, SmartTreeNodeButtonType, SmartUserSettinsIconPosition, SmartValidatorName, SmartViewContextErrorDialogButtonLabel, SmartViewContextErrorDialogMessage, SmartViewContextErrorDialogTitle, SmartViewContextModule, SmartViewContextService, SmartViewRedirect, SmartWidgetHintPosition, SmartWidgetHintPositionEnum, SmartWidgetSettings, SmartdialogModule, SmartdialogService, SmartfileuploaderComponent, SmartformComponent, SmartformLayoutDefinitionService, SmartformwidgetComponent, SmarttableComponent, SmarttableModule, SmarttableService, SmarttreeGenericService, SmarttreeModule, SmarttreeService, TabGroupComponent, ToggleLabelPosition, UiActionButtonType, UiActionConfirmDialogComponent, UiActionConfirmDialogService, UiActionDescriptorService, UiActionDialogButtonComponent, UiActionDialogType, UiActionFeedbackType, UiActionInputDialogComponent, UiActionInputDialogService, UiActionInputType, UiActionService, UiActionToolbarComponent, UiActionTooltipTooltipPositionEnum, ValueChangeMode, ViewEventHandlerViewEventTypeEnum, ViewService, ViewState, ViewType };
17669
+ export { APIS$3 as APIS, ApiModule$3 as ApiModule, ApiQueueService, BASE_PATH$5 as BASE_PATH, COLLECTION_FORMATS$5 as COLLECTION_FORMATS, COMPONENT_LIBRARY, CUSTOM_CHART_OPTIONS, ChartOrientation, ChartType, CloseResult, ComparableDropdownDirective, ComparableMultiselectDirective, ComponentFactoryService, ComponentFactoryServiceModule, ComponentLibrary, ComponentType, ComponentWidgetType, Configuration$5 as Configuration, DIALOG_DISABLE_CLOSE, DataChangeKind, DefaultChartOptionsProvider, DefaultUiActionCode_CLOSE, ExpandableSectionButtonIconPosition, ExpandableSectionButtonType, ExpandableSectionComponent, FilterExpressionBoolOperator$1 as FilterExpressionBoolOperator, FilterExpressionBuilderGroupBuilderGroupKindEnum, FilterExpressionDataType, FilterExpressionFieldWidgetType, FilterExpressionOperation, FilterExpressionOrderByOrderEnum, GridColumnContentType, GridDataAccessConfigKindEnum, GridSelectionMode, GridSelectionType, GridUiActionType, GridViewDescriptorKindEnum, HighlightPipe, IS_ASYNC_PARAM_NAME, IconPosition, ImageResourceKindEnum, LayoutDirection, LinkTargetEnum, MessageOptionType, MessageTextType, MessageType, PieChartLegendPosition, SelectionDefinitionTypeEnum, ServerRequestType, SessionAPIS, SessionErrorBehaviour, SessionService, SharedModule, SimplifiedTabGroupComponent, SmartActionType, SmartAuthService, SmartChartComponent, SmartChartModule, SmartComponent, SmartComponentApiClient, SmartComponentLayoutComponent, SmartComponentLayoutModule, SmartComponentLayoutUtility, SmartDatePipe, SmartDateTimePipe, SmartDialog, SmartExpandableSectionModule, SmartExpandableSectionService, SmartFileUploaderComponent, SmartFilterComponent, SmartFilterEditorContentComponent, SmartFilterEditorModule, SmartFilterEditorService, SmartFilterExpressionItemComponent, SmartFilterExpressionItemsComponent, SmartFilterModule, SmartFilterParamComponent, SmartFilterParamsComponent, SmartFilterPosition, SmartFilterType, SmartFormInputMode, SmartFormTextFieldButtonIconPosition, SmartFormWidgetDirection, SmartFormWidgetType, SmartFormWidgetWidth, SmartGridButtonType, SmartGridComponent, SmartGridDataLayout, SmartGridModule, SmartGridService, SmartGridType, SmartIconComponent, SmartIconModule, SmartIconService, SmartLayoutDef, SmartLinkChannelVariableInPath, SmartLinkUuidVariableInPath, SmartNavbarComponent, SmartNavbarModule, SmartNavbarService, SmartNavigationModule, SmartNavigationService, SmartNgClientModule, SmartNgClientService, SmartService, SmartSessionModule, SmartSessionService, SmartSessionTimerComponent, SmartSessionTimerService, SmartSubject, SmartTabGroupModule, SmartTabGroupService, SmartTable, SmartTableButtonType, SmartTableHeaderPropertyType, SmartTableInterfaceTypeEnum, SmartTableOptionButtonDirection, SmartTableOrder, SmartTableType, SmartTimePipe, SmartTooltipDirective, SmartTreeComponent, SmartTreeNodeButtonType, SmartUserSettinsIconPosition, SmartValidatorName, SmartViewContextErrorDialogButtonLabel, SmartViewContextErrorDialogMessage, SmartViewContextErrorDialogTitle, SmartViewContextModule, SmartViewContextService, SmartViewRedirect, SmartWidgetHintPosition, SmartWidgetHintPositionEnum, SmartWidgetSettings, SmartdialogModule, SmartdialogService, SmartfileuploaderComponent, SmartformComponent, SmartformLayoutDefinitionService, SmartformwidgetComponent, SmarttableComponent, SmarttableModule, SmarttableService, SmarttreeGenericService, SmarttreeModule, SmarttreeService, TabGroupComponent, ToggleLabelPosition, UiActionButtonType, UiActionConfirmDialogComponent, UiActionConfirmDialogService, UiActionDescriptorService, UiActionDialogButtonComponent, UiActionDialogType, UiActionFeedbackType, UiActionInputDialogComponent, UiActionInputDialogService, UiActionInputType, UiActionService, UiActionToolbarComponent, UiActionTooltipTooltipPositionEnum, ValueChangeMode, ViewEventHandlerViewEventTypeEnum, ViewService, ViewState, ViewType, barChart, bubbleChart, doughnutChart, horizontalBarChart, multiAxisLineChart, pieChart, polarAreaChart, radarChart, scatterChart, stackedBarChart, transformDataToBarLikeDataSet, transformDataToBasicDataSets, transformDataToBubble, transformDataToScatter };
17204
17670
  //# sourceMappingURL=smartbit4all-ng-client.mjs.map