@nova-ui/dashboards 20.0.0 → 20.0.3

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 (353) hide show
  1. package/fesm2022/nova-ui-dashboards.mjs +598 -959
  2. package/fesm2022/nova-ui-dashboards.mjs.map +1 -1
  3. package/index.d.ts +4692 -3
  4. package/package.json +12 -4
  5. package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.d.ts +1 -0
  6. package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.js +31 -14
  7. package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.js.map +1 -1
  8. package/sdk/atoms/src/lib/components/providers/refresher-settings.service.d.ts +2 -5
  9. package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js +5 -7
  10. package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js.map +1 -1
  11. package/sdk/atoms/src/lib/components/providers/refresher.d.ts +5 -3
  12. package/sdk/atoms/src/lib/components/providers/refresher.js +8 -10
  13. package/sdk/atoms/src/lib/components/providers/refresher.js.map +1 -1
  14. package/sdk/atoms/src/lib/components/table-widget/table-widget.component.d.ts +3 -0
  15. package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js +10 -0
  16. package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js.map +1 -1
  17. package/sdk/atoms/src/lib/components/table-widget/types.d.ts +1 -0
  18. package/sdk/atoms/src/lib/components/table-widget/types.js.map +1 -1
  19. package/sdk/atoms/src/lib/configurator/components/public-api.d.ts +0 -1
  20. package/sdk/atoms/src/lib/configurator/components/public-api.js +0 -1
  21. package/sdk/atoms/src/lib/configurator/components/public-api.js.map +1 -1
  22. package/sdk/atoms/src/lib/configurator/configurator.module.js +1 -2
  23. package/sdk/atoms/src/lib/configurator/configurator.module.js.map +1 -1
  24. package/sdk/atoms/src/lib/dashboards.module.js +1 -0
  25. package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
  26. package/sdk/schematics/ng-add/index.spec.js +2 -2
  27. package/sdk/schematics/ng-add/index.spec.js.map +1 -1
  28. package/lib/common/common.module.d.ts +0 -11
  29. package/lib/common/components/preview-overlay/preview-overlay.component.d.ts +0 -6
  30. package/lib/common/components/public-api.d.ts +0 -2
  31. package/lib/common/components/widget-error/widget-error.component.d.ts +0 -21
  32. package/lib/common/constants.d.ts +0 -2
  33. package/lib/common/pipes/dashboard-unit-conversion-pipe.d.ts +0 -21
  34. package/lib/common/pipes/public-api.d.ts +0 -1
  35. package/lib/common/public-api.d.ts +0 -4
  36. package/lib/components/dashboard/dashboard.component.d.ts +0 -40
  37. package/lib/components/dashboard/default-gridster-config.d.ts +0 -2
  38. package/lib/components/dashboard/public-api.d.ts +0 -2
  39. package/lib/components/dashboard/types.d.ts +0 -17
  40. package/lib/components/embedded-content/embedded-content.component.d.ts +0 -23
  41. package/lib/components/kpi-widget/kpi.component.d.ts +0 -34
  42. package/lib/components/kpi-widget/public-api.d.ts +0 -2
  43. package/lib/components/kpi-widget/types.d.ts +0 -25
  44. package/lib/components/layouts/base-layout.d.ts +0 -28
  45. package/lib/components/layouts/public-api.d.ts +0 -3
  46. package/lib/components/layouts/stack/stack.component.d.ts +0 -19
  47. package/lib/components/layouts/tiles/tiles.component.d.ts +0 -23
  48. package/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.d.ts +0 -21
  49. package/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.d.ts +0 -24
  50. package/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.d.ts +0 -16
  51. package/lib/components/list-widget/list-widget.component.d.ts +0 -29
  52. package/lib/components/list-widget/public-api.d.ts +0 -5
  53. package/lib/components/list-widget/types.d.ts +0 -19
  54. package/lib/components/loading/loading.component.d.ts +0 -11
  55. package/lib/components/loading/public-api.d.ts +0 -1
  56. package/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.d.ts +0 -45
  57. package/lib/components/proportional-widget/proportional-widget.component.d.ts +0 -77
  58. package/lib/components/proportional-widget/public-api.d.ts +0 -3
  59. package/lib/components/proportional-widget/types.d.ts +0 -61
  60. package/lib/components/providers/data-source-adapter.d.ts +0 -29
  61. package/lib/components/providers/drilldown-data-source-adapter.d.ts +0 -21
  62. package/lib/components/providers/event-bus-debugger.d.ts +0 -14
  63. package/lib/components/providers/interaction/interaction-handler.d.ts +0 -20
  64. package/lib/components/providers/interaction/url-interaction-handler.d.ts +0 -19
  65. package/lib/components/providers/kpi-color-prioritizer.d.ts +0 -33
  66. package/lib/components/providers/kpi-data-source-adapter.d.ts +0 -21
  67. package/lib/components/providers/kpi-scale-sync-broker.d.ts +0 -38
  68. package/lib/components/providers/kpi-status-content-fallback-adapter.d.ts +0 -29
  69. package/lib/components/providers/loading-adapter.d.ts +0 -17
  70. package/lib/components/providers/pizzagna-broadcaster.service.d.ts +0 -23
  71. package/lib/components/providers/public-api.d.ts +0 -8
  72. package/lib/components/providers/refresher-settings.service.d.ts +0 -20
  73. package/lib/components/providers/refresher.d.ts +0 -34
  74. package/lib/components/providers/status-content-fallback-adapter.d.ts +0 -19
  75. package/lib/components/providers/table-data-source-adapter.d.ts +0 -14
  76. package/lib/components/providers/timeseries-data-source-adapter.d.ts +0 -15
  77. package/lib/components/providers/types.d.ts +0 -57
  78. package/lib/components/public-api.d.ts +0 -17
  79. package/lib/components/risk-score-tile/public-api.d.ts +0 -2
  80. package/lib/components/risk-score-tile/risk-score-tile.component.d.ts +0 -32
  81. package/lib/components/risk-score-tile/types.d.ts +0 -26
  82. package/lib/components/table-widget/addons/paginator-feature-addon.service.d.ts +0 -16
  83. package/lib/components/table-widget/addons/search-feature-addon.service.d.ts +0 -14
  84. package/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.d.ts +0 -16
  85. package/lib/components/table-widget/delayed-mouse-presence-detection.directive.d.ts +0 -13
  86. package/lib/components/table-widget/public-api.d.ts +0 -3
  87. package/lib/components/table-widget/table-widget.component.d.ts +0 -139
  88. package/lib/components/table-widget/types.d.ts +0 -101
  89. package/lib/components/template-load-error/public-api.d.ts +0 -1
  90. package/lib/components/template-load-error/template-load-error.component.d.ts +0 -7
  91. package/lib/components/time-frame-selection/public-api.d.ts +0 -1
  92. package/lib/components/time-frame-selection/timeframe-selection.component.d.ts +0 -31
  93. package/lib/components/timeseries-widget/chart-presets/public-api.d.ts +0 -7
  94. package/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.d.ts +0 -13
  95. package/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.d.ts +0 -51
  96. package/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.d.ts +0 -33
  97. package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.d.ts +0 -14
  98. package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.d.ts +0 -14
  99. package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.d.ts +0 -15
  100. package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.d.ts +0 -14
  101. package/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.d.ts +0 -54
  102. package/lib/components/timeseries-widget/public-api.d.ts +0 -7
  103. package/lib/components/timeseries-widget/timeseries-chart-preset.service.d.ts +0 -8
  104. package/lib/components/timeseries-widget/timeseries-helpers.d.ts +0 -9
  105. package/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.d.ts +0 -41
  106. package/lib/components/timeseries-widget/timeseries-scales.service.d.ts +0 -30
  107. package/lib/components/timeseries-widget/timeseries-widget.component.d.ts +0 -32
  108. package/lib/components/timeseries-widget/transformer/loess.d.ts +0 -6
  109. package/lib/components/timeseries-widget/transformer/public-api.d.ts +0 -9
  110. package/lib/components/timeseries-widget/transformer/transformer-change-point.d.ts +0 -2
  111. package/lib/components/timeseries-widget/transformer/transformer-difference.d.ts +0 -2
  112. package/lib/components/timeseries-widget/transformer/transformer-floating-average.d.ts +0 -2
  113. package/lib/components/timeseries-widget/transformer/transformer-lin-reg.d.ts +0 -2
  114. package/lib/components/timeseries-widget/transformer/transformer-loess-standardize.d.ts +0 -2
  115. package/lib/components/timeseries-widget/transformer/transformer-loess.d.ts +0 -2
  116. package/lib/components/timeseries-widget/transformer/transformer-normalize.d.ts +0 -2
  117. package/lib/components/timeseries-widget/transformer/transformer-percentile-std.d.ts +0 -2
  118. package/lib/components/timeseries-widget/transformer/transformer-standardize.d.ts +0 -2
  119. package/lib/components/timeseries-widget/types.d.ts +0 -131
  120. package/lib/components/types.d.ts +0 -54
  121. package/lib/components/widget/public-api.d.ts +0 -6
  122. package/lib/components/widget/types.d.ts +0 -38
  123. package/lib/components/widget/widget-body/widget-body.component.d.ts +0 -33
  124. package/lib/components/widget/widget-body-content/widget-body-content.component.d.ts +0 -37
  125. package/lib/components/widget/widget-header/types.d.ts +0 -11
  126. package/lib/components/widget/widget-header/widget-header.component.d.ts +0 -54
  127. package/lib/components/widget/widget.component.d.ts +0 -18
  128. package/lib/components/widget-search/types.d.ts +0 -7
  129. package/lib/components/widget-search/widget-search.component.d.ts +0 -27
  130. package/lib/configurator/components/color-picker/HTMLcolors.d.ts +0 -1
  131. package/lib/configurator/components/color-picker/color-picker.component.d.ts +0 -42
  132. package/lib/configurator/components/color-picker/color.service.d.ts +0 -8
  133. package/lib/configurator/components/configurator/configurator.component.d.ts +0 -33
  134. package/lib/configurator/components/drop-area/drop-area.component.d.ts +0 -5
  135. package/lib/configurator/components/form-stack/form-stack.component.d.ts +0 -25
  136. package/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.d.ts +0 -13
  137. package/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.d.ts +0 -23
  138. package/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.d.ts +0 -19
  139. package/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.d.ts +0 -13
  140. package/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.d.ts +0 -17
  141. package/lib/configurator/components/formatters/link-formatter/link-formatter.component.d.ts +0 -15
  142. package/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.d.ts +0 -7
  143. package/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.d.ts +0 -12
  144. package/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.d.ts +0 -20
  145. package/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.d.ts +0 -18
  146. package/lib/configurator/components/formatters/types.d.ts +0 -7
  147. package/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.d.ts +0 -31
  148. package/lib/configurator/components/heading/configurator-heading.component.d.ts +0 -14
  149. package/lib/configurator/components/items-dynamic/items-dynamic.component.d.ts +0 -39
  150. package/lib/configurator/components/preview-placeholder/preview-placeholder.component.d.ts +0 -6
  151. package/lib/configurator/components/public-api.d.ts +0 -26
  152. package/lib/configurator/components/types.d.ts +0 -12
  153. package/lib/configurator/components/widget-cloner/widget-cloner.component.d.ts +0 -44
  154. package/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.d.ts +0 -10
  155. package/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.d.ts +0 -26
  156. package/lib/configurator/components/widget-editor/widget-editor.component.d.ts +0 -35
  157. package/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.d.ts +0 -9
  158. package/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.d.ts +0 -23
  159. package/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.d.ts +0 -35
  160. package/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.d.ts +0 -51
  161. package/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.d.ts +0 -51
  162. package/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.d.ts +0 -22
  163. package/lib/configurator/components/widgets/configurator-items/data-source-error/public-api.d.ts +0 -2
  164. package/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.d.ts +0 -11
  165. package/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.d.ts +0 -31
  166. package/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.d.ts +0 -15
  167. package/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.d.ts +0 -28
  168. package/lib/configurator/components/widgets/configurator-items/public-api.d.ts +0 -11
  169. package/lib/configurator/components/widgets/configurator-items/refresher-configuration/public-api.d.ts +0 -2
  170. package/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.d.ts +0 -47
  171. package/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.d.ts +0 -21
  172. package/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/types.d.ts +0 -5
  173. package/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.d.ts +0 -33
  174. package/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.d.ts +0 -26
  175. package/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.d.ts +0 -38
  176. package/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.d.ts +0 -2
  177. package/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.d.ts +0 -40
  178. package/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.d.ts +0 -24
  179. package/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.d.ts +0 -20
  180. package/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.d.ts +0 -33
  181. package/lib/configurator/components/widgets/drilldown/public-api.d.ts +0 -2
  182. package/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.d.ts +0 -32
  183. package/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/public-api.d.ts +0 -1
  184. package/lib/configurator/components/widgets/kpi/public-api.d.ts +0 -2
  185. package/lib/configurator/components/widgets/kpi/types.d.ts +0 -32
  186. package/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.d.ts +0 -27
  187. package/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.d.ts +0 -19
  188. package/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.d.ts +0 -52
  189. package/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.d.ts +0 -34
  190. package/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.d.ts +0 -53
  191. package/lib/configurator/components/widgets/proportional/public-api.d.ts +0 -5
  192. package/lib/configurator/components/widgets/public-api.d.ts +0 -7
  193. package/lib/configurator/components/widgets/risk-score/public-api.d.ts +0 -2
  194. package/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.d.ts +0 -1
  195. package/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.d.ts +0 -32
  196. package/lib/configurator/components/widgets/risk-score/types.d.ts +0 -7
  197. package/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.d.ts +0 -23
  198. package/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.d.ts +0 -37
  199. package/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.d.ts +0 -14
  200. package/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.d.ts +0 -13
  201. package/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.d.ts +0 -66
  202. package/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.d.ts +0 -46
  203. package/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.d.ts +0 -27
  204. package/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.d.ts +0 -75
  205. package/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.d.ts +0 -25
  206. package/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.d.ts +0 -71
  207. package/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.d.ts +0 -27
  208. package/lib/configurator/components/widgets/table/public-api.d.ts +0 -12
  209. package/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.d.ts +0 -48
  210. package/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.d.ts +0 -12
  211. package/lib/configurator/components/widgets/timeseries/public-api.d.ts +0 -5
  212. package/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.d.ts +0 -34
  213. package/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.d.ts +0 -19
  214. package/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.d.ts +0 -32
  215. package/lib/configurator/components/widgets/timeseries/types.d.ts +0 -4
  216. package/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.d.ts +0 -25
  217. package/lib/configurator/components/wizard/dashwiz/dashwiz.component.d.ts +0 -111
  218. package/lib/configurator/components/wizard/dashwiz/dashwiz.service.d.ts +0 -8
  219. package/lib/configurator/components/wizard/dashwiz/model.d.ts +0 -81
  220. package/lib/configurator/components/wizard/dashwiz/public-api.d.ts +0 -3
  221. package/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.d.ts +0 -79
  222. package/lib/configurator/components/wizard/dashwiz-step/public-api.d.ts +0 -1
  223. package/lib/configurator/components/wizard/public-api.d.ts +0 -3
  224. package/lib/configurator/components/wizard/types.d.ts +0 -40
  225. package/lib/configurator/configurator.module.d.ts +0 -83
  226. package/lib/configurator/functions/has-control-in-error-state.d.ts +0 -11
  227. package/lib/configurator/functions/public-api.d.ts +0 -1
  228. package/lib/configurator/pipe/add-data.pipe.d.ts +0 -7
  229. package/lib/configurator/pipe/pizzagna-root.pipe.d.ts +0 -11
  230. package/lib/configurator/pipe/public-api.d.ts +0 -5
  231. package/lib/configurator/pipe/widget-configurator-section-header.pipe.d.ts +0 -8
  232. package/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.d.ts +0 -10
  233. package/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.d.ts +0 -10
  234. package/lib/configurator/public-api.d.ts +0 -6
  235. package/lib/configurator/services/configurator-data-source-manager.service.d.ts +0 -21
  236. package/lib/configurator/services/configurator-heading.service.d.ts +0 -7
  237. package/lib/configurator/services/configurator.service.d.ts +0 -29
  238. package/lib/configurator/services/converters/base-converter.d.ts +0 -28
  239. package/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.d.ts +0 -19
  240. package/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.d.ts +0 -18
  241. package/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.d.ts +0 -16
  242. package/lib/configurator/services/converters/public-api.d.ts +0 -6
  243. package/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.d.ts +0 -19
  244. package/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.d.ts +0 -18
  245. package/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.d.ts +0 -16
  246. package/lib/configurator/services/converters/table/table-columns-converter.service.d.ts +0 -31
  247. package/lib/configurator/services/converters/table/table-filters-converter.service.d.ts +0 -15
  248. package/lib/configurator/services/converters/table/table-scroll-type-converter.service.d.ts +0 -15
  249. package/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.d.ts +0 -16
  250. package/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.d.ts +0 -23
  251. package/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.d.ts +0 -15
  252. package/lib/configurator/services/converters/types.d.ts +0 -19
  253. package/lib/configurator/services/kpi-widget-color.service.d.ts +0 -11
  254. package/lib/configurator/services/preview.service.d.ts +0 -11
  255. package/lib/configurator/services/public-api.d.ts +0 -9
  256. package/lib/configurator/services/timeframe-serialization.service.d.ts +0 -9
  257. package/lib/configurator/services/types.d.ts +0 -29
  258. package/lib/configurator/services/widget-cloner.service.d.ts +0 -14
  259. package/lib/configurator/services/widget-editor.service.d.ts +0 -14
  260. package/lib/configurator/types.d.ts +0 -6
  261. package/lib/constants/default-palette.d.ts +0 -8
  262. package/lib/constants/public-api.d.ts +0 -1
  263. package/lib/constants/si-units-prefixes.d.ts +0 -7
  264. package/lib/dashboards.module.d.ts +0 -50
  265. package/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.d.ts +0 -15
  266. package/lib/directives/public-api.d.ts +0 -2
  267. package/lib/directives/widget-editor/public-api.d.ts +0 -1
  268. package/lib/directives/widget-editor/widget-editor.directive.d.ts +0 -20
  269. package/lib/functions/get-parent-component-id.d.ts +0 -7
  270. package/lib/functions/map-data-to-formatter-properties.d.ts +0 -15
  271. package/lib/functions/merge-changes.d.ts +0 -13
  272. package/lib/functions/on-mark-as-touched.d.ts +0 -8
  273. package/lib/functions/parse-string-with-data.d.ts +0 -5
  274. package/lib/functions/proportional-aggregators/field-mapper.d.ts +0 -5
  275. package/lib/functions/proportional-aggregators/percentage-aggregator.d.ts +0 -11
  276. package/lib/functions/proportional-aggregators/public-api.d.ts +0 -4
  277. package/lib/functions/proportional-aggregators/sum-aggregator.d.ts +0 -5
  278. package/lib/functions/proportional-aggregators/types.d.ts +0 -25
  279. package/lib/functions/public-api.d.ts +0 -4
  280. package/lib/functions/round-array-values.d.ts +0 -1
  281. package/lib/functions/timeseries-datetime-formatter.d.ts +0 -4
  282. package/lib/pizzagna/components/pizzagna/pizzagna.component.d.ts +0 -34
  283. package/lib/pizzagna/components/pizzagna/public-api.d.ts +0 -1
  284. package/lib/pizzagna/directives/component-portal/component-portal.directive.d.ts +0 -47
  285. package/lib/pizzagna/directives/component-portal/public-api.d.ts +0 -1
  286. package/lib/pizzagna/functions/get-pizzagna-property-path.d.ts +0 -7
  287. package/lib/pizzagna/functions/public-api.d.ts +0 -1
  288. package/lib/pizzagna/pizzagna.module.d.ts +0 -10
  289. package/lib/pizzagna/public-api.d.ts +0 -6
  290. package/lib/pizzagna/services/component-portal.service.d.ts +0 -16
  291. package/lib/pizzagna/services/component-registry.service.d.ts +0 -16
  292. package/lib/pizzagna/services/dynamic-component-creator.service.d.ts +0 -10
  293. package/lib/pizzagna/services/pizzagna.service.d.ts +0 -27
  294. package/lib/pizzagna/services/public-api.d.ts +0 -4
  295. package/lib/services/category-chart-util.service.d.ts +0 -29
  296. package/lib/services/event-registry.service.d.ts +0 -9
  297. package/lib/services/kpi-color-comparators-registry.service.d.ts +0 -12
  298. package/lib/services/proportional-content-aggregators-registry.service.d.ts +0 -10
  299. package/lib/services/provider-registry.service.d.ts +0 -14
  300. package/lib/services/public-api.d.ts +0 -11
  301. package/lib/services/registry-service.d.ts +0 -27
  302. package/lib/services/table-formatter-registry.service.d.ts +0 -40
  303. package/lib/services/types.d.ts +0 -88
  304. package/lib/services/unit-test-registry.service.d.ts +0 -10
  305. package/lib/services/url-interaction.service.d.ts +0 -10
  306. package/lib/services/widget-configuration.service.d.ts +0 -9
  307. package/lib/services/widget-removal.service.d.ts +0 -15
  308. package/lib/services/widget-to-dashboard-event-proxy.service.d.ts +0 -53
  309. package/lib/services/widget-types.service.d.ts +0 -19
  310. package/lib/types.d.ts +0 -128
  311. package/lib/widget-types/common/configurator/components.d.ts +0 -5
  312. package/lib/widget-types/common/configurator/public-api.d.ts +0 -1
  313. package/lib/widget-types/common/public-api.d.ts +0 -2
  314. package/lib/widget-types/common/widget/components.d.ts +0 -37
  315. package/lib/widget-types/common/widget/legend.d.ts +0 -9
  316. package/lib/widget-types/common/widget/providers.d.ts +0 -14
  317. package/lib/widget-types/common/widget/public-api.d.ts +0 -4
  318. package/lib/widget-types/common/widget/types.d.ts +0 -8
  319. package/lib/widget-types/drilldown/drilldown-configurator.d.ts +0 -76
  320. package/lib/widget-types/drilldown/drilldown-widget.d.ts +0 -2
  321. package/lib/widget-types/drilldown/drilldown.d.ts +0 -5
  322. package/lib/widget-types/embedded-content/embedded-content-configurator.d.ts +0 -47
  323. package/lib/widget-types/embedded-content/embedded-content-widget.d.ts +0 -32
  324. package/lib/widget-types/embedded-content/embedded-content.d.ts +0 -5
  325. package/lib/widget-types/kpi/kpi-configurator.d.ts +0 -131
  326. package/lib/widget-types/kpi/kpi-widget.d.ts +0 -56
  327. package/lib/widget-types/kpi/kpi.d.ts +0 -5
  328. package/lib/widget-types/preview-placeholder.d.ts +0 -2
  329. package/lib/widget-types/proportional/donut-content-configurator-slice.d.ts +0 -58
  330. package/lib/widget-types/proportional/proportional-configurator.d.ts +0 -95
  331. package/lib/widget-types/proportional/proportional-widget.d.ts +0 -54
  332. package/lib/widget-types/proportional/proportional.d.ts +0 -5
  333. package/lib/widget-types/public-api.d.ts +0 -4
  334. package/lib/widget-types/risk-score/risk-score-configurator.d.ts +0 -97
  335. package/lib/widget-types/risk-score/risk-score-widget.d.ts +0 -55
  336. package/lib/widget-types/risk-score/risk-score.d.ts +0 -5
  337. package/lib/widget-types/table/default-table-formatters.d.ts +0 -2
  338. package/lib/widget-types/table/table-configurator.d.ts +0 -2
  339. package/lib/widget-types/table/table-widget.d.ts +0 -2
  340. package/lib/widget-types/table/table.d.ts +0 -2
  341. package/lib/widget-types/timeseries/timeseries-configurator.d.ts +0 -2
  342. package/lib/widget-types/timeseries/timeseries-widget.d.ts +0 -62
  343. package/lib/widget-types/timeseries/timeseries.d.ts +0 -5
  344. package/public-api.d.ts +0 -11
  345. package/sdk/atoms/src/lib/configurator/components/color-picker/HTMLcolors.d.ts +0 -1
  346. package/sdk/atoms/src/lib/configurator/components/color-picker/HTMLcolors.js +0 -166
  347. package/sdk/atoms/src/lib/configurator/components/color-picker/HTMLcolors.js.map +0 -1
  348. package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.d.ts +0 -39
  349. package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js +0 -185
  350. package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js.map +0 -1
  351. package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.d.ts +0 -5
  352. package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.js +0 -58
  353. package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.js.map +0 -1
@@ -1,88 +0,0 @@
1
- import { StaticProvider } from "@angular/core";
2
- import { EventDefinition, IEvent, IEventDefinition, ISelection } from "@nova-ui/bits";
3
- import { IInteractionPayload } from "../components/providers/interaction/interaction-handler";
4
- import { IDataSourceBusyPayload } from "../components/providers/types";
5
- import { ISerializableTimeframe } from "../types";
6
- export declare const DEFAULT_PIZZAGNA_ROOT = "/";
7
- export interface IStaticProviders {
8
- [providerId: string]: StaticProvider;
9
- }
10
- export interface ISetPropertyPayload {
11
- path: string;
12
- value: any;
13
- }
14
- export interface IPreviewEventPayload {
15
- id: IEventDefinition;
16
- payload: any;
17
- }
18
- export interface IRegistryAddOptions {
19
- overrideExisting: boolean;
20
- }
21
- export type IAddFormattersOptions = Pick<IRegistryAddOptions, "overrideExisting">;
22
- export interface IRemoveMetricPayload {
23
- metricId: string;
24
- groupUniqueId: string;
25
- }
26
- export interface IWidgetPayload {
27
- widgetId: string;
28
- }
29
- export interface IWidgetResizePayload extends IWidgetPayload {
30
- height?: number;
31
- width?: number;
32
- }
33
- export declare const REFRESH: EventDefinition<unknown>;
34
- export declare const SET_NEXT_PAGE: EventDefinition<unknown>;
35
- export declare const SCROLL_NEXT_PAGE: EventDefinition<unknown>;
36
- export declare const WIDGET_REMOVE: EventDefinition<unknown>;
37
- export declare const WIDGET_EDIT: EventDefinition<unknown>;
38
- export declare const WIDGET_CREATE: EventDefinition<unknown>;
39
- export declare const WIDGET_READY: EventDefinition<unknown>;
40
- export declare const WIDGET_RESIZE: EventDefinition<IWidgetResizePayload>;
41
- export declare const WIDGET_POSITION_CHANGE: EventDefinition<unknown>;
42
- export declare const WIDGET_SEARCH: EventDefinition<string>;
43
- export declare const SET_PROPERTY_VALUE: EventDefinition<ISetPropertyPayload>;
44
- export declare const SET_TIMEFRAME: EventDefinition<ISerializableTimeframe>;
45
- export declare const PREVIEW_EVENT: EventDefinition<IPreviewEventPayload>;
46
- export declare const DATA_SOURCE_BUSY: EventDefinition<IDataSourceBusyPayload>;
47
- export declare const DASHBOARD_EDIT_MODE: EventDefinition<boolean>;
48
- export declare const INTERACTION: EventDefinition<IInteractionPayload<any>>;
49
- export declare const SELECTION: EventDefinition<ISelection>;
50
- export declare const CHANGE_SELECTION: EventDefinition<ISelection>;
51
- export declare const SELECTED_ITEMS: EventDefinition<any[]>;
52
- export declare const DATA_SOURCE_INVOKED: EventDefinition<void>;
53
- export declare const DRILLDOWN: EventDefinition<unknown>;
54
- export declare const NOVA_DATASOURCE_INTERVAL_REFRESHER = "NOVA_DATASOURCE_INTERVAL_REFRESHER";
55
- export declare const NOVA_DATASOURCE_ADAPTER = "NOVA_DATASOURCE_ADAPTER";
56
- export declare const NOVA_TIMESERIES_DATASOURCE_ADAPTER = "NOVA_TIMESERIES_DATASOURCE_ADAPTER";
57
- export declare const NOVA_KPI_DATASOURCE_ADAPTER = "NOVA_KPI_DATASOURCE_ADAPTER";
58
- export declare const NOVA_DRILLDOWN_DATASOURCE_ADAPTER = "NOVA_DRILLDOWN_DATASOURCE_ADAPTER";
59
- export declare const NOVA_KPI_COLOR_PRIORITIZER = "NOVA_KPI_COLOR_PRIORITIZER";
60
- export declare const NOVA_TITLE_AND_DESCRIPTION_CONVERTER = "NOVA_TITLE_AND_DESCRIPTION_CONVERTER";
61
- export declare const NOVA_PROPORTIONAL_WIDGET_CHART_OPTIONS_CONVERTER = "NOVA_PROPORTIONAL_WIDGET_CHART_OPTIONS_CONVERTER";
62
- export declare const NOVA_KPI_TILES_CONVERTER = "NOVA_KPI_TILES_CONVERTER";
63
- export declare const NOVA_TIMESERIES_METADATA_CONVERTER = "NOVA_TIMESERIES_METADATA_CONVERTER";
64
- export declare const NOVA_TIMESERIES_SERIES_CONVERTER = "NOVA_TIMESERIES_SERIES_CONVERTER";
65
- export declare const NOVA_DASHBOARD_EVENT_PROXY = "NOVA_DASHBOARD_EVENT_PROXY";
66
- export declare const NOVA_TABLE_COLUMNS_CONVERTER = "NOVA_TABLE_COLUMNS_CONVERTER";
67
- export declare const NOVA_TABLE_FILTERS_CONVERTER = "NOVA_TABLE_FILTERS_CONVERTER";
68
- export declare const NOVA_TABLE_SCROLL_TYPE_CONVERTER = "NOVA_TABLE_SCROLL_TYPE_CONVERTER";
69
- export declare const NOVA_TABLE_DATASOURCE_ADAPTER = "NOVA_TABLE_DATASOURCE_ADAPTER";
70
- export declare const NOVA_GENERIC_CONVERTER = "NOVA_GENERIC_CONVERTER";
71
- export declare const NOVA_GENERIC_ARRAY_CONVERTER = "NOVA_GENERIC_ARRAY_CONVERTER";
72
- export declare const NOVA_KPI_SECTION_CONVERTER = "NOVA_KPI_SECTION_CONVERTER";
73
- export declare const NOVA_TIMESERIES_TILE_INDICATOR_DATA_CONVERTER = "NOVA_TIMESERIES_TILE_INDICATOR_DATA_CONVERTER";
74
- export declare const NOVA_LOADING_ADAPTER = "NOVA_LOADING_ADAPTER";
75
- export declare const NOVA_STATUS_CONTENT_FALLBACK_ADAPTER = "NOVA_STATUS_CONTENT_FALLBACK_ADAPTER";
76
- export declare const NOVA_KPI_STATUS_CONTENT_FALLBACK_ADAPTER = "NOVA_KPI_STATUS_CONTENT_FALLBACK_ADAPTER";
77
- export declare const NOVA_KPI_SCALE_SYNC_BROKER = "NOVA_KPI_SCALE_SYNC_BROKER";
78
- export declare const NOVA_URL_INTERACTION_HANDLER = "NOVA_URL_INTERACTION_HANDLER";
79
- export declare const NOVA_EVENT_BUS_DEBUGGER = "NOVA_EVENT_BUS_DEBUGGER";
80
- export declare const NOVA_PIZZAGNA_BROADCASTER = "NOVA_PIZZAGNA_BROADCASTER";
81
- export declare const NOVA_VIRTUAL_VIEWPORT_MANAGER = "NOVA_VIRTUAL_VIEWPORT_MANAGER";
82
- export declare const NOVA_TABLE_FORMATTERS_REGISTRY = "NOVA_TABLE_FORMATTERS_REGISTRY";
83
- export declare const NOVA_KPI_FORMATTERS_REGISTRY = "NOVA_KPI_FORMATTERS_REGISTRY";
84
- export declare const NOVA_RISK_SCORE_FORMATTERS_REGISTRY = "NOVA_RISK_SCORE_FORMATTERS_REGISTRY";
85
- export declare const NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY = "NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY";
86
- export declare const NOVA_TEST_REGISTRY = "NOVA_TEST_REGISTRY";
87
- export declare const NOVA_CONFIGURATOR_DATA_SOURCE_MANAGER = "NOVA_CONFIGURATOR_DATA_SOURCE_MANAGER";
88
- export declare const CHART_METRIC_REMOVE: IEventDefinition<IEvent<IRemoveMetricPayload>>;
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class UnitTestRegistryService {
3
- static providerId: string;
4
- componentMap: any;
5
- providersMap: any;
6
- setComponent(component: any, componentId: string): void;
7
- setProviders(services: any, componentId: string): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<UnitTestRegistryService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<UnitTestRegistryService>;
10
- }
@@ -1,10 +0,0 @@
1
- import { LoggerService } from "@nova-ui/bits";
2
- import * as i0 from "@angular/core";
3
- export declare class UrlInteractionService {
4
- private logger;
5
- constructor(logger: LoggerService);
6
- template(url: string, data: any): string;
7
- private evaluate;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<UrlInteractionService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<UrlInteractionService>;
10
- }
@@ -1,9 +0,0 @@
1
- import { IWidget } from "../components/widget/types";
2
- import * as i0 from "@angular/core";
3
- export declare class WidgetConfigurationService {
4
- private widget;
5
- updateWidget(widget: IWidget): void;
6
- getWidget(): IWidget;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<WidgetConfigurationService, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<WidgetConfigurationService>;
9
- }
@@ -1,15 +0,0 @@
1
- import { Observable } from "rxjs";
2
- import { LoggerService } from "@nova-ui/bits";
3
- import { DashboardComponent } from "../components/dashboard/dashboard.component";
4
- import { IConfiguratorSource } from "../configurator/services/types";
5
- import { WidgetRemovalOperation } from "../configurator/services/types";
6
- import * as i0 from "@angular/core";
7
- export declare class WidgetRemovalService {
8
- private logger;
9
- constructor(logger: LoggerService);
10
- handleRemove(dashboardComponent: DashboardComponent, widgetId: string, configuratorSource: IConfiguratorSource, tryRemove?: WidgetRemovalOperation): Observable<void>;
11
- private tryRemove;
12
- private updateDashboard;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<WidgetRemovalService, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<WidgetRemovalService>;
15
- }
@@ -1,53 +0,0 @@
1
- import { OnDestroy } from "@angular/core";
2
- import { EventBus, IEvent, IEventDefinition } from "@nova-ui/bits";
3
- import { PizzagnaService } from "../pizzagna/services/pizzagna.service";
4
- import { IConfigurable, IProperties } from "../types";
5
- import { EventRegistryService } from "./event-registry.service";
6
- import { WidgetConfigurationService } from "./widget-configuration.service";
7
- import * as i0 from "@angular/core";
8
- export interface IWidgetEvent extends IEvent {
9
- widgetId?: string;
10
- }
11
- /**
12
- * Configuration of WidgetToDashboardEventProxy
13
- */
14
- export interface IWidgetToDashboardEventProxyConfiguration extends IProperties {
15
- /**
16
- * List of events that are transmitted from widget to dashboard
17
- */
18
- upstreams?: string[];
19
- /**
20
- * List of events that are transmitted from dashboard to widget
21
- */
22
- downstreams?: string[];
23
- }
24
- /**
25
- * This provider transmits events between the dashboard event bus and the widget event bus.
26
- * It needs to be configured with the events that need transmission each way.
27
- */
28
- export declare class WidgetToDashboardEventProxyService implements IConfigurable, OnDestroy {
29
- private pizzagnaBus;
30
- private dashboardBus;
31
- private widgetConfigurationService;
32
- private eventRegistry;
33
- private pizzagnaService;
34
- private upstreamSubscriptions;
35
- private downstreamSubscriptions;
36
- private readonly destroy$;
37
- private component;
38
- private upstreams?;
39
- private downstreams?;
40
- providerKey: string;
41
- constructor(pizzagnaBus: EventBus<IEvent>, dashboardBus: EventBus<IEvent>, widgetConfigurationService: WidgetConfigurationService, eventRegistry: EventRegistryService, pizzagnaService: PizzagnaService);
42
- ngOnDestroy(): void;
43
- setComponent(component: any): void;
44
- updateConfiguration(properties: IWidgetToDashboardEventProxyConfiguration): void;
45
- addUpstream(stream: IEventDefinition): void;
46
- addDownstream(stream: IEventDefinition): void;
47
- private addStream;
48
- private registerUpstreamSubscriptions;
49
- private registerDownstreamSubscriptions;
50
- private registerSubscriptions;
51
- static ɵfac: i0.ɵɵFactoryDeclaration<WidgetToDashboardEventProxyService, [null, { optional: true; }, { optional: true; }, null, null]>;
52
- static ɵprov: i0.ɵɵInjectableDeclaration<WidgetToDashboardEventProxyService>;
53
- }
@@ -1,19 +0,0 @@
1
- import { IWidget, IWidgetTypeDefinition } from "../components/widget/types";
2
- import * as i0 from "@angular/core";
3
- export declare class WidgetTypesService {
4
- private widgetTypes;
5
- constructor();
6
- registerWidgetType(key: string, version: number, widgetType: IWidgetTypeDefinition): void;
7
- getWidgetType(type: string, version?: number): IWidgetTypeDefinition;
8
- /**
9
- * Take a widget and merge it with the pizzagna of its type
10
- *
11
- * @param widget
12
- *
13
- * @return new reference of a widget including the pizzagna of its type
14
- */
15
- mergeWithWidgetType(widget: IWidget): IWidget;
16
- setNode(widgetTemplate: IWidgetTypeDefinition, section: "widget" | "configurator", pathKey: string, value: any): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<WidgetTypesService, never>;
18
- static ɵprov: i0.ɵɵInjectableDeclaration<WidgetTypesService>;
19
- }
package/lib/types.d.ts DELETED
@@ -1,128 +0,0 @@
1
- import { ChangeDetectorRef, EventEmitter, InjectionToken, Injector, StaticProvider } from "@angular/core";
2
- import { AbstractControl, FormGroup } from "@angular/forms";
3
- import { EventBus, IEvent } from "@nova-ui/bits";
4
- /**
5
- * Same as Partial<T> but goes deeper and makes all of its properties and sub-properties Parti al<T>.
6
- */
7
- export type DeepPartial<T> = T extends object ? {
8
- [K in keyof T]?: DeepPartial<T[K]>;
9
- } : T;
10
- export declare const PIZZAGNA_EVENT_BUS: InjectionToken<EventBus<IEvent<any>>>;
11
- export declare const DASHBOARD_EVENT_BUS: InjectionToken<EventBus<IEvent<any>>>;
12
- export declare const DATA_SOURCE: InjectionToken<EventBus<IEvent<any>>>;
13
- export declare const FORMATTERS_REGISTRY: InjectionToken<EventBus<IEvent<any>>>;
14
- export declare const TEST_REGISTRY: InjectionToken<EventBus<IEvent<any>>>;
15
- export declare const HEADER_LINK_PROVIDER: InjectionToken<EventBus<IEvent<any>>>;
16
- export declare enum WellKnownProviders {
17
- DataSource = "dataSource",
18
- Adapter = "adapter",
19
- Converter = "converter",
20
- Broadcaster = "broadcaster",
21
- Refresher = "refresher",
22
- EventProxy = "eventProxy",
23
- LoadingAdapter = "loadingAdapter",
24
- ContentFallbackAdapter = "contentFallbackAdapter",
25
- InteractionHandler = "interactionHandler",
26
- EventBusDebugger = "eventBusDebugger",
27
- KpiColorPrioritizer = "kpiColorPrioritizer",
28
- FormattersRegistry = "formattersRegistry",
29
- DataSourceManager = "dataSourceManager"
30
- }
31
- export declare enum WellKnownPathKey {
32
- Root = "root",
33
- DataSourceConfigComponentType = "dataSourceConfigComponentType",
34
- TileDescriptionConfigComponentType = "tileDescriptionConfigComponentType",
35
- DataSourceProviders = "dataSourceProviders",
36
- Formatters = "formatters",
37
- TileDescriptionBackgroundColors = "tileDescriptionBackgroundColors",
38
- TileBackgroundColorRulesBackgroundColors = "tileBackgroundColorRulesBackgroundColors"
39
- }
40
- export declare enum WellKnownDataSourceFeatures {
41
- Interactivity = "interactivity",
42
- DisableTableColumnGeneration = "disableTableColumnGeneration"
43
- }
44
- export type IProperties = Record<string, any>;
45
- export interface IProviderProperties extends IProperties {
46
- /** This is property is set by the component portal directive to give providers self-awareness they need to update properties in pizzagna. */
47
- providerKey?: string;
48
- }
49
- export interface ISerializableTimeframe {
50
- startDatetime: string;
51
- endDatetime: string;
52
- selectedPresetId?: string;
53
- title?: string;
54
- }
55
- export interface IComponentConfiguration {
56
- id: string;
57
- componentType: string;
58
- providers?: Record<string, IProviderConfiguration>;
59
- properties?: IProperties;
60
- }
61
- export interface IProviderConfiguration {
62
- providerId: string;
63
- properties?: IProviderProperties;
64
- }
65
- export interface IProviderConfigurationForDisplay extends IProviderConfiguration {
66
- label: string;
67
- }
68
- export interface IPortalEnvironment {
69
- providers?: StaticProvider[];
70
- injector?: Injector;
71
- }
72
- export type IPizzagnaLayer = Record<string, DeepPartial<IComponentConfiguration>>;
73
- export type IPizzagna = Record<string, IPizzagnaLayer>;
74
- export type IPizza = Record<string, IComponentConfiguration>;
75
- /**
76
- * Interface for components that can be dynamically refreshed from the outside using the changeDetector
77
- */
78
- export interface IHasChangeDetector {
79
- changeDetector: ChangeDetectorRef;
80
- }
81
- /**
82
- * Interface for components that expose a form
83
- */
84
- export interface IHasForm<T extends AbstractControl = FormGroup> {
85
- form: T;
86
- formReady: EventEmitter<T>;
87
- }
88
- /**
89
- * Interface for providers that require the related component info
90
- */
91
- export interface IHasComponent<T = any> {
92
- setComponent(component: T, componentId: string): void;
93
- }
94
- /**
95
- * Interface for configurable providers
96
- */
97
- export interface IConfigurable {
98
- providerKey?: string;
99
- setComponent?: (component: any, componentId: string) => void;
100
- updateConfiguration(properties: IProperties): void;
101
- }
102
- export declare enum PizzagnaLayer {
103
- Structure = "structure",
104
- Configuration = "configuration",
105
- Data = "data"
106
- }
107
- export declare enum AccordionState {
108
- CRITICAL = "critical",
109
- WARNING = "warning",
110
- DEFAULT = "default"
111
- }
112
- export declare enum HttpStatusCode {
113
- Unknown = "0",
114
- Ok = "200",
115
- Forbidden = "403",
116
- NotFound = "404"
117
- }
118
- export interface IPaletteColor {
119
- color: string;
120
- label: string;
121
- }
122
- export type ComparatorFn = (a: any, b: any) => boolean;
123
- export type ComparatorTypes = ">" | ">=" | "==" | "<" | "<=";
124
- export interface IBackgroundColorComparator {
125
- comparatorFn: ComparatorFn;
126
- label?: string;
127
- }
128
- export type IComparatorsDict = Partial<Record<ComparatorTypes | string, IBackgroundColorComparator>>;
@@ -1,5 +0,0 @@
1
- import { IComponentConfiguration } from "../../../types";
2
- /**
3
- * Component configuration for the refresher configurator node
4
- */
5
- export declare const REFRESHER_CONFIGURATOR: IComponentConfiguration;
@@ -1 +0,0 @@
1
- export * from "./components";
@@ -1,2 +0,0 @@
1
- export * from "./configurator/public-api";
2
- export * from "./widget/public-api";
@@ -1,37 +0,0 @@
1
- import { ErrorNodeKey } from "./types";
2
- import { IComponentConfiguration } from "../../../types";
3
- /**
4
- * Component definition for the widget header node
5
- */
6
- export declare const WIDGET_HEADER: IComponentConfiguration;
7
- /**
8
- * Component definition for the loading node
9
- */
10
- export declare const WIDGET_LOADING: IComponentConfiguration;
11
- /**
12
- * Component configuration definition for the basic widget body node
13
- */
14
- export declare const WIDGET_BODY: IComponentConfiguration;
15
- /**
16
- * A map of error codes to widget error node keys
17
- * --
18
- * An error code doesn't have to be an HTTP status code; it may be any string that matches an expected
19
- * data source error type. Additionally, the node keys may be any string as long as they correspond to an
20
- * error configuration node defined in the widget structure.
21
- */
22
- export declare const ERROR_FALLBACK_MAP: Record<string, ErrorNodeKey>;
23
- /**
24
- * An index of common error configurations
25
- */
26
- export declare const ERROR_NODES: Record<string, IComponentConfiguration>;
27
- /**
28
- * Retrieves an index of the basic widget body content nodes including fallback nodes
29
- *
30
- * @param mainContentNodeKey The key corresponding to the main body content node
31
- * @param fallbackAdapterId The id for the adapter responsible for activating fallback content in case of an error
32
- * @param fallbackMap A map of node keys to fallback content definitions
33
- * @param fallbackNodes An index of fallback content definitions
34
- *
35
- * @returns An index of component configurations
36
- */
37
- export declare function widgetBodyContentNodes(mainContentNodeKey: string, fallbackAdapterId?: string, fallbackMap?: Record<string, string>, fallbackNodes?: Record<string, IComponentConfiguration>): Record<string, IComponentConfiguration>;
@@ -1,9 +0,0 @@
1
- export declare enum LegendPlacement {
2
- None = "None",
3
- Right = "Right",
4
- Bottom = "Bottom"
5
- }
6
- export interface ILegendPlacementOption {
7
- id: LegendPlacement;
8
- label: string;
9
- }
@@ -1,14 +0,0 @@
1
- import { IProviderConfiguration } from "../../../types";
2
- /**
3
- * A provider configuration for the dashboard event proxy
4
- */
5
- export declare const EVENT_PROXY: IProviderConfiguration;
6
- /**
7
- * Retrieves a provider configuration for the interval refresher
8
- *
9
- * @param enabled Specify whether the adapter should be active by default
10
- * @param interval Specify the interval (in seconds) at which the refresher should invoke the data source adapter
11
- *
12
- * @returns A provider configuration for the refresher
13
- */
14
- export declare function refresher(enabled?: boolean, interval?: number): IProviderConfiguration;
@@ -1,4 +0,0 @@
1
- export * from "./components";
2
- export * from "./providers";
3
- export * from "./types";
4
- export * from "./legend";
@@ -1,8 +0,0 @@
1
- /**
2
- * Node keys for common errors
3
- */
4
- export declare enum ErrorNodeKey {
5
- ErrorUnknown = "errorUnknown",
6
- ErrorForbidden = "errorForbidden",
7
- ErrorNotFound = "errorNotFound"
8
- }
@@ -1,76 +0,0 @@
1
- import { IProviderConfiguration } from "../../types";
2
- export declare const drilldownConfigurator: {
3
- structure: {
4
- "/": {
5
- id: string;
6
- componentType: string;
7
- properties: {
8
- elementClass: string;
9
- nodes: string[];
10
- };
11
- };
12
- presentation: {
13
- id: string;
14
- componentType: string;
15
- properties: {
16
- headerText: string;
17
- nodes: string[];
18
- };
19
- };
20
- titleAndDescription: {
21
- id: string;
22
- componentType: string;
23
- providers: {
24
- converter: {
25
- providerId: string;
26
- };
27
- };
28
- };
29
- dataAndCalculations: {
30
- id: string;
31
- componentType: string;
32
- properties: {
33
- headerText: string;
34
- nodes: string[];
35
- };
36
- };
37
- dataSource: {
38
- id: string;
39
- componentType: string;
40
- properties: {
41
- dataSourceProviders: string[];
42
- };
43
- providers: {
44
- converter: IProviderConfiguration;
45
- };
46
- };
47
- grouping: {
48
- id: string;
49
- componentType: string;
50
- properties: {
51
- groups: never[];
52
- groupBy: never[];
53
- };
54
- providers: {
55
- converter: IProviderConfiguration;
56
- };
57
- };
58
- entityFormatting: {
59
- id: string;
60
- componentType: string;
61
- properties: {
62
- mappingKeys: string[];
63
- dataFieldIds: {
64
- icon: string;
65
- status: string;
66
- detailedUrl: string;
67
- label: string;
68
- url: string;
69
- };
70
- };
71
- providers: {
72
- converter: IProviderConfiguration;
73
- };
74
- };
75
- };
76
- };
@@ -1,2 +0,0 @@
1
- import { IPizzagna } from "../../types";
2
- export declare const drilldownWidget: IPizzagna;
@@ -1,5 +0,0 @@
1
- import { IWidgetTypeDefinition } from "../../components/widget/types";
2
- /***********************************************************************************************************
3
- * Drilldown widget definition starts here
4
- ***********************************************************************************************************/
5
- export declare const drilldown: IWidgetTypeDefinition;
@@ -1,47 +0,0 @@
1
- import { IInfoMessage } from "../../components/types";
2
- import { IProviderConfiguration } from "../../types";
3
- export declare const embeddedContentConfigurator: {
4
- structure: {
5
- "/": {
6
- id: string;
7
- componentType: string;
8
- properties: {
9
- elementClass: string;
10
- nodes: string[];
11
- };
12
- };
13
- presentation: {
14
- id: string;
15
- componentType: string;
16
- properties: {
17
- headerText: string;
18
- nodes: string[];
19
- };
20
- };
21
- titleAndDescription: {
22
- id: string;
23
- componentType: string;
24
- providers: {
25
- converter: IProviderConfiguration;
26
- };
27
- };
28
- customConfig: {
29
- id: string;
30
- componentType: string;
31
- properties: {
32
- headerText: string;
33
- nodes: string[];
34
- };
35
- };
36
- embeddedContentSelection: {
37
- id: string;
38
- componentType: string;
39
- properties: {
40
- messageComponent: IInfoMessage;
41
- };
42
- providers: {
43
- converter: IProviderConfiguration;
44
- };
45
- };
46
- };
47
- };
@@ -1,32 +0,0 @@
1
- export declare const embeddedContentWidget: {
2
- structure: {
3
- mainContent: {
4
- id: string;
5
- componentType: string;
6
- properties: {
7
- elementClass: string;
8
- };
9
- };
10
- "/": {
11
- id: string;
12
- componentType: string;
13
- providers: {
14
- refresher: import("../../types").IProviderConfiguration;
15
- eventProxy: import("../../types").IProviderConfiguration;
16
- };
17
- properties: {
18
- nodes: string[];
19
- };
20
- };
21
- header: import("../../types").IComponentConfiguration;
22
- loading: import("../../types").IComponentConfiguration;
23
- body: import("../../types").IComponentConfiguration;
24
- };
25
- configuration: {
26
- header: {
27
- properties: {
28
- title: string;
29
- };
30
- };
31
- };
32
- };
@@ -1,5 +0,0 @@
1
- import { IWidgetTypeDefinition } from "../../components/widget/types";
2
- /***********************************************************************************************************
3
- * EmbeddedContent widget definition starts here
4
- ***********************************************************************************************************/
5
- export declare const embeddedContent: IWidgetTypeDefinition;