@nova-ui/dashboards 19.0.2 → 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 (320) hide show
  1. package/fesm2022/nova-ui-dashboards.mjs +525 -525
  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/schematics/ng-add/index.spec.js +2 -2
  6. package/sdk/schematics/ng-add/index.spec.js.map +1 -1
  7. package/lib/common/common.module.d.ts +0 -11
  8. package/lib/common/components/preview-overlay/preview-overlay.component.d.ts +0 -6
  9. package/lib/common/components/public-api.d.ts +0 -2
  10. package/lib/common/components/widget-error/widget-error.component.d.ts +0 -21
  11. package/lib/common/constants.d.ts +0 -2
  12. package/lib/common/pipes/dashboard-unit-conversion-pipe.d.ts +0 -21
  13. package/lib/common/pipes/public-api.d.ts +0 -1
  14. package/lib/common/public-api.d.ts +0 -4
  15. package/lib/components/dashboard/dashboard.component.d.ts +0 -40
  16. package/lib/components/dashboard/default-gridster-config.d.ts +0 -2
  17. package/lib/components/dashboard/public-api.d.ts +0 -2
  18. package/lib/components/dashboard/types.d.ts +0 -17
  19. package/lib/components/embedded-content/embedded-content.component.d.ts +0 -23
  20. package/lib/components/kpi-widget/kpi.component.d.ts +0 -34
  21. package/lib/components/kpi-widget/public-api.d.ts +0 -2
  22. package/lib/components/kpi-widget/types.d.ts +0 -25
  23. package/lib/components/layouts/base-layout.d.ts +0 -28
  24. package/lib/components/layouts/public-api.d.ts +0 -3
  25. package/lib/components/layouts/stack/stack.component.d.ts +0 -19
  26. package/lib/components/layouts/tiles/tiles.component.d.ts +0 -23
  27. package/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.d.ts +0 -21
  28. package/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.d.ts +0 -24
  29. package/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.d.ts +0 -16
  30. package/lib/components/list-widget/list-widget.component.d.ts +0 -29
  31. package/lib/components/list-widget/public-api.d.ts +0 -5
  32. package/lib/components/list-widget/types.d.ts +0 -19
  33. package/lib/components/loading/loading.component.d.ts +0 -11
  34. package/lib/components/loading/public-api.d.ts +0 -1
  35. package/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.d.ts +0 -45
  36. package/lib/components/proportional-widget/proportional-widget.component.d.ts +0 -77
  37. package/lib/components/proportional-widget/public-api.d.ts +0 -3
  38. package/lib/components/proportional-widget/types.d.ts +0 -61
  39. package/lib/components/providers/data-source-adapter.d.ts +0 -29
  40. package/lib/components/providers/drilldown-data-source-adapter.d.ts +0 -21
  41. package/lib/components/providers/event-bus-debugger.d.ts +0 -14
  42. package/lib/components/providers/interaction/interaction-handler.d.ts +0 -20
  43. package/lib/components/providers/interaction/url-interaction-handler.d.ts +0 -19
  44. package/lib/components/providers/kpi-color-prioritizer.d.ts +0 -33
  45. package/lib/components/providers/kpi-data-source-adapter.d.ts +0 -21
  46. package/lib/components/providers/kpi-scale-sync-broker.d.ts +0 -39
  47. package/lib/components/providers/kpi-status-content-fallback-adapter.d.ts +0 -29
  48. package/lib/components/providers/loading-adapter.d.ts +0 -17
  49. package/lib/components/providers/pizzagna-broadcaster.service.d.ts +0 -23
  50. package/lib/components/providers/public-api.d.ts +0 -8
  51. package/lib/components/providers/refresher-settings.service.d.ts +0 -17
  52. package/lib/components/providers/refresher.d.ts +0 -36
  53. package/lib/components/providers/status-content-fallback-adapter.d.ts +0 -19
  54. package/lib/components/providers/table-data-source-adapter.d.ts +0 -14
  55. package/lib/components/providers/timeseries-data-source-adapter.d.ts +0 -15
  56. package/lib/components/providers/types.d.ts +0 -57
  57. package/lib/components/public-api.d.ts +0 -17
  58. package/lib/components/risk-score-tile/public-api.d.ts +0 -2
  59. package/lib/components/risk-score-tile/risk-score-tile.component.d.ts +0 -32
  60. package/lib/components/risk-score-tile/types.d.ts +0 -26
  61. package/lib/components/table-widget/addons/paginator-feature-addon.service.d.ts +0 -16
  62. package/lib/components/table-widget/addons/search-feature-addon.service.d.ts +0 -14
  63. package/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.d.ts +0 -16
  64. package/lib/components/table-widget/delayed-mouse-presence-detection.directive.d.ts +0 -13
  65. package/lib/components/table-widget/public-api.d.ts +0 -3
  66. package/lib/components/table-widget/table-widget.component.d.ts +0 -142
  67. package/lib/components/table-widget/types.d.ts +0 -102
  68. package/lib/components/template-load-error/public-api.d.ts +0 -1
  69. package/lib/components/template-load-error/template-load-error.component.d.ts +0 -7
  70. package/lib/components/time-frame-selection/public-api.d.ts +0 -1
  71. package/lib/components/time-frame-selection/timeframe-selection.component.d.ts +0 -31
  72. package/lib/components/timeseries-widget/chart-presets/public-api.d.ts +0 -7
  73. package/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.d.ts +0 -13
  74. package/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.d.ts +0 -51
  75. package/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.d.ts +0 -33
  76. package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.d.ts +0 -14
  77. package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.d.ts +0 -14
  78. package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.d.ts +0 -15
  79. package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.d.ts +0 -14
  80. package/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.d.ts +0 -54
  81. package/lib/components/timeseries-widget/public-api.d.ts +0 -7
  82. package/lib/components/timeseries-widget/timeseries-chart-preset.service.d.ts +0 -8
  83. package/lib/components/timeseries-widget/timeseries-helpers.d.ts +0 -9
  84. package/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.d.ts +0 -41
  85. package/lib/components/timeseries-widget/timeseries-scales.service.d.ts +0 -30
  86. package/lib/components/timeseries-widget/timeseries-widget.component.d.ts +0 -32
  87. package/lib/components/timeseries-widget/transformer/loess.d.ts +0 -6
  88. package/lib/components/timeseries-widget/transformer/public-api.d.ts +0 -9
  89. package/lib/components/timeseries-widget/transformer/transformer-change-point.d.ts +0 -2
  90. package/lib/components/timeseries-widget/transformer/transformer-difference.d.ts +0 -2
  91. package/lib/components/timeseries-widget/transformer/transformer-floating-average.d.ts +0 -2
  92. package/lib/components/timeseries-widget/transformer/transformer-lin-reg.d.ts +0 -2
  93. package/lib/components/timeseries-widget/transformer/transformer-loess-standardize.d.ts +0 -2
  94. package/lib/components/timeseries-widget/transformer/transformer-loess.d.ts +0 -2
  95. package/lib/components/timeseries-widget/transformer/transformer-normalize.d.ts +0 -2
  96. package/lib/components/timeseries-widget/transformer/transformer-percentile-std.d.ts +0 -2
  97. package/lib/components/timeseries-widget/transformer/transformer-standardize.d.ts +0 -2
  98. package/lib/components/timeseries-widget/types.d.ts +0 -131
  99. package/lib/components/types.d.ts +0 -54
  100. package/lib/components/widget/public-api.d.ts +0 -6
  101. package/lib/components/widget/types.d.ts +0 -38
  102. package/lib/components/widget/widget-body/widget-body.component.d.ts +0 -33
  103. package/lib/components/widget/widget-body-content/widget-body-content.component.d.ts +0 -37
  104. package/lib/components/widget/widget-header/types.d.ts +0 -11
  105. package/lib/components/widget/widget-header/widget-header.component.d.ts +0 -54
  106. package/lib/components/widget/widget.component.d.ts +0 -18
  107. package/lib/components/widget-search/types.d.ts +0 -7
  108. package/lib/components/widget-search/widget-search.component.d.ts +0 -27
  109. package/lib/configurator/components/configurator/configurator.component.d.ts +0 -33
  110. package/lib/configurator/components/drop-area/drop-area.component.d.ts +0 -5
  111. package/lib/configurator/components/form-stack/form-stack.component.d.ts +0 -25
  112. package/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.d.ts +0 -13
  113. package/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.d.ts +0 -23
  114. package/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.d.ts +0 -19
  115. package/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.d.ts +0 -13
  116. package/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.d.ts +0 -17
  117. package/lib/configurator/components/formatters/link-formatter/link-formatter.component.d.ts +0 -15
  118. package/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.d.ts +0 -7
  119. package/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.d.ts +0 -12
  120. package/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.d.ts +0 -20
  121. package/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.d.ts +0 -18
  122. package/lib/configurator/components/formatters/types.d.ts +0 -7
  123. package/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.d.ts +0 -31
  124. package/lib/configurator/components/heading/configurator-heading.component.d.ts +0 -14
  125. package/lib/configurator/components/items-dynamic/items-dynamic.component.d.ts +0 -39
  126. package/lib/configurator/components/preview-placeholder/preview-placeholder.component.d.ts +0 -6
  127. package/lib/configurator/components/public-api.d.ts +0 -25
  128. package/lib/configurator/components/types.d.ts +0 -12
  129. package/lib/configurator/components/widget-cloner/widget-cloner.component.d.ts +0 -44
  130. package/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.d.ts +0 -10
  131. package/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.d.ts +0 -26
  132. package/lib/configurator/components/widget-editor/widget-editor.component.d.ts +0 -35
  133. package/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.d.ts +0 -9
  134. package/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.d.ts +0 -23
  135. package/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.d.ts +0 -35
  136. package/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.d.ts +0 -51
  137. package/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.d.ts +0 -51
  138. package/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.d.ts +0 -22
  139. package/lib/configurator/components/widgets/configurator-items/data-source-error/public-api.d.ts +0 -2
  140. package/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.d.ts +0 -11
  141. package/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.d.ts +0 -31
  142. package/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.d.ts +0 -15
  143. package/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.d.ts +0 -28
  144. package/lib/configurator/components/widgets/configurator-items/public-api.d.ts +0 -11
  145. package/lib/configurator/components/widgets/configurator-items/refresher-configuration/public-api.d.ts +0 -2
  146. package/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.d.ts +0 -47
  147. package/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.d.ts +0 -21
  148. package/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/types.d.ts +0 -5
  149. package/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.d.ts +0 -33
  150. package/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.d.ts +0 -26
  151. package/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.d.ts +0 -38
  152. package/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.d.ts +0 -2
  153. package/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.d.ts +0 -40
  154. package/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.d.ts +0 -24
  155. package/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.d.ts +0 -20
  156. package/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.d.ts +0 -33
  157. package/lib/configurator/components/widgets/drilldown/public-api.d.ts +0 -2
  158. package/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.d.ts +0 -32
  159. package/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/public-api.d.ts +0 -1
  160. package/lib/configurator/components/widgets/kpi/public-api.d.ts +0 -2
  161. package/lib/configurator/components/widgets/kpi/types.d.ts +0 -32
  162. package/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.d.ts +0 -27
  163. package/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.d.ts +0 -19
  164. package/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.d.ts +0 -52
  165. package/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.d.ts +0 -34
  166. package/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.d.ts +0 -53
  167. package/lib/configurator/components/widgets/proportional/public-api.d.ts +0 -5
  168. package/lib/configurator/components/widgets/public-api.d.ts +0 -7
  169. package/lib/configurator/components/widgets/risk-score/public-api.d.ts +0 -2
  170. package/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.d.ts +0 -1
  171. package/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.d.ts +0 -32
  172. package/lib/configurator/components/widgets/risk-score/types.d.ts +0 -7
  173. package/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.d.ts +0 -23
  174. package/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.d.ts +0 -37
  175. package/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.d.ts +0 -14
  176. package/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.d.ts +0 -13
  177. package/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.d.ts +0 -66
  178. package/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.d.ts +0 -46
  179. package/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.d.ts +0 -27
  180. package/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.d.ts +0 -75
  181. package/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.d.ts +0 -25
  182. package/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.d.ts +0 -71
  183. package/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.d.ts +0 -27
  184. package/lib/configurator/components/widgets/table/public-api.d.ts +0 -12
  185. package/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.d.ts +0 -48
  186. package/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.d.ts +0 -12
  187. package/lib/configurator/components/widgets/timeseries/public-api.d.ts +0 -5
  188. package/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.d.ts +0 -34
  189. package/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.d.ts +0 -19
  190. package/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.d.ts +0 -32
  191. package/lib/configurator/components/widgets/timeseries/types.d.ts +0 -4
  192. package/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.d.ts +0 -25
  193. package/lib/configurator/components/wizard/dashwiz/dashwiz.component.d.ts +0 -111
  194. package/lib/configurator/components/wizard/dashwiz/dashwiz.service.d.ts +0 -8
  195. package/lib/configurator/components/wizard/dashwiz/model.d.ts +0 -81
  196. package/lib/configurator/components/wizard/dashwiz/public-api.d.ts +0 -3
  197. package/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.d.ts +0 -79
  198. package/lib/configurator/components/wizard/dashwiz-step/public-api.d.ts +0 -1
  199. package/lib/configurator/components/wizard/public-api.d.ts +0 -3
  200. package/lib/configurator/components/wizard/types.d.ts +0 -40
  201. package/lib/configurator/configurator.module.d.ts +0 -82
  202. package/lib/configurator/functions/has-control-in-error-state.d.ts +0 -11
  203. package/lib/configurator/functions/public-api.d.ts +0 -1
  204. package/lib/configurator/pipe/add-data.pipe.d.ts +0 -7
  205. package/lib/configurator/pipe/pizzagna-root.pipe.d.ts +0 -11
  206. package/lib/configurator/pipe/public-api.d.ts +0 -5
  207. package/lib/configurator/pipe/widget-configurator-section-header.pipe.d.ts +0 -8
  208. package/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.d.ts +0 -10
  209. package/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.d.ts +0 -10
  210. package/lib/configurator/public-api.d.ts +0 -6
  211. package/lib/configurator/services/configurator-data-source-manager.service.d.ts +0 -21
  212. package/lib/configurator/services/configurator-heading.service.d.ts +0 -7
  213. package/lib/configurator/services/configurator.service.d.ts +0 -29
  214. package/lib/configurator/services/converters/base-converter.d.ts +0 -28
  215. package/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.d.ts +0 -19
  216. package/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.d.ts +0 -18
  217. package/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.d.ts +0 -16
  218. package/lib/configurator/services/converters/public-api.d.ts +0 -6
  219. package/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.d.ts +0 -19
  220. package/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.d.ts +0 -18
  221. package/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.d.ts +0 -16
  222. package/lib/configurator/services/converters/table/table-columns-converter.service.d.ts +0 -31
  223. package/lib/configurator/services/converters/table/table-filters-converter.service.d.ts +0 -15
  224. package/lib/configurator/services/converters/table/table-scroll-type-converter.service.d.ts +0 -15
  225. package/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.d.ts +0 -16
  226. package/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.d.ts +0 -23
  227. package/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.d.ts +0 -15
  228. package/lib/configurator/services/converters/types.d.ts +0 -19
  229. package/lib/configurator/services/kpi-widget-color.service.d.ts +0 -11
  230. package/lib/configurator/services/preview.service.d.ts +0 -11
  231. package/lib/configurator/services/public-api.d.ts +0 -9
  232. package/lib/configurator/services/timeframe-serialization.service.d.ts +0 -9
  233. package/lib/configurator/services/types.d.ts +0 -29
  234. package/lib/configurator/services/widget-cloner.service.d.ts +0 -14
  235. package/lib/configurator/services/widget-editor.service.d.ts +0 -14
  236. package/lib/configurator/types.d.ts +0 -6
  237. package/lib/constants/default-palette.d.ts +0 -8
  238. package/lib/constants/public-api.d.ts +0 -1
  239. package/lib/constants/si-units-prefixes.d.ts +0 -7
  240. package/lib/dashboards.module.d.ts +0 -50
  241. package/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.d.ts +0 -15
  242. package/lib/directives/public-api.d.ts +0 -2
  243. package/lib/directives/widget-editor/public-api.d.ts +0 -1
  244. package/lib/directives/widget-editor/widget-editor.directive.d.ts +0 -20
  245. package/lib/functions/get-parent-component-id.d.ts +0 -7
  246. package/lib/functions/map-data-to-formatter-properties.d.ts +0 -15
  247. package/lib/functions/merge-changes.d.ts +0 -13
  248. package/lib/functions/on-mark-as-touched.d.ts +0 -8
  249. package/lib/functions/parse-string-with-data.d.ts +0 -5
  250. package/lib/functions/proportional-aggregators/field-mapper.d.ts +0 -5
  251. package/lib/functions/proportional-aggregators/percentage-aggregator.d.ts +0 -11
  252. package/lib/functions/proportional-aggregators/public-api.d.ts +0 -4
  253. package/lib/functions/proportional-aggregators/sum-aggregator.d.ts +0 -5
  254. package/lib/functions/proportional-aggregators/types.d.ts +0 -25
  255. package/lib/functions/public-api.d.ts +0 -4
  256. package/lib/functions/round-array-values.d.ts +0 -1
  257. package/lib/functions/timeseries-datetime-formatter.d.ts +0 -4
  258. package/lib/pizzagna/components/pizzagna/pizzagna.component.d.ts +0 -34
  259. package/lib/pizzagna/components/pizzagna/public-api.d.ts +0 -1
  260. package/lib/pizzagna/directives/component-portal/component-portal.directive.d.ts +0 -47
  261. package/lib/pizzagna/directives/component-portal/public-api.d.ts +0 -1
  262. package/lib/pizzagna/functions/get-pizzagna-property-path.d.ts +0 -7
  263. package/lib/pizzagna/functions/public-api.d.ts +0 -1
  264. package/lib/pizzagna/pizzagna.module.d.ts +0 -10
  265. package/lib/pizzagna/public-api.d.ts +0 -6
  266. package/lib/pizzagna/services/component-portal.service.d.ts +0 -16
  267. package/lib/pizzagna/services/component-registry.service.d.ts +0 -16
  268. package/lib/pizzagna/services/dynamic-component-creator.service.d.ts +0 -10
  269. package/lib/pizzagna/services/pizzagna.service.d.ts +0 -27
  270. package/lib/pizzagna/services/public-api.d.ts +0 -4
  271. package/lib/services/category-chart-util.service.d.ts +0 -29
  272. package/lib/services/event-registry.service.d.ts +0 -9
  273. package/lib/services/kpi-color-comparators-registry.service.d.ts +0 -12
  274. package/lib/services/proportional-content-aggregators-registry.service.d.ts +0 -10
  275. package/lib/services/provider-registry.service.d.ts +0 -14
  276. package/lib/services/public-api.d.ts +0 -11
  277. package/lib/services/registry-service.d.ts +0 -27
  278. package/lib/services/table-formatter-registry.service.d.ts +0 -40
  279. package/lib/services/types.d.ts +0 -88
  280. package/lib/services/unit-test-registry.service.d.ts +0 -10
  281. package/lib/services/url-interaction.service.d.ts +0 -10
  282. package/lib/services/widget-configuration.service.d.ts +0 -9
  283. package/lib/services/widget-removal.service.d.ts +0 -15
  284. package/lib/services/widget-to-dashboard-event-proxy.service.d.ts +0 -53
  285. package/lib/services/widget-types.service.d.ts +0 -19
  286. package/lib/types.d.ts +0 -128
  287. package/lib/widget-types/common/configurator/components.d.ts +0 -5
  288. package/lib/widget-types/common/configurator/public-api.d.ts +0 -1
  289. package/lib/widget-types/common/public-api.d.ts +0 -2
  290. package/lib/widget-types/common/widget/components.d.ts +0 -37
  291. package/lib/widget-types/common/widget/legend.d.ts +0 -9
  292. package/lib/widget-types/common/widget/providers.d.ts +0 -14
  293. package/lib/widget-types/common/widget/public-api.d.ts +0 -4
  294. package/lib/widget-types/common/widget/types.d.ts +0 -8
  295. package/lib/widget-types/drilldown/drilldown-configurator.d.ts +0 -76
  296. package/lib/widget-types/drilldown/drilldown-widget.d.ts +0 -2
  297. package/lib/widget-types/drilldown/drilldown.d.ts +0 -5
  298. package/lib/widget-types/embedded-content/embedded-content-configurator.d.ts +0 -47
  299. package/lib/widget-types/embedded-content/embedded-content-widget.d.ts +0 -32
  300. package/lib/widget-types/embedded-content/embedded-content.d.ts +0 -5
  301. package/lib/widget-types/kpi/kpi-configurator.d.ts +0 -131
  302. package/lib/widget-types/kpi/kpi-widget.d.ts +0 -56
  303. package/lib/widget-types/kpi/kpi.d.ts +0 -5
  304. package/lib/widget-types/preview-placeholder.d.ts +0 -2
  305. package/lib/widget-types/proportional/donut-content-configurator-slice.d.ts +0 -58
  306. package/lib/widget-types/proportional/proportional-configurator.d.ts +0 -95
  307. package/lib/widget-types/proportional/proportional-widget.d.ts +0 -54
  308. package/lib/widget-types/proportional/proportional.d.ts +0 -5
  309. package/lib/widget-types/public-api.d.ts +0 -4
  310. package/lib/widget-types/risk-score/risk-score-configurator.d.ts +0 -97
  311. package/lib/widget-types/risk-score/risk-score-widget.d.ts +0 -55
  312. package/lib/widget-types/risk-score/risk-score.d.ts +0 -5
  313. package/lib/widget-types/table/default-table-formatters.d.ts +0 -2
  314. package/lib/widget-types/table/table-configurator.d.ts +0 -2
  315. package/lib/widget-types/table/table-widget.d.ts +0 -2
  316. package/lib/widget-types/table/table.d.ts +0 -2
  317. package/lib/widget-types/timeseries/timeseries-configurator.d.ts +0 -2
  318. package/lib/widget-types/timeseries/timeseries-widget.d.ts +0 -62
  319. package/lib/widget-types/timeseries/timeseries.d.ts +0 -5
  320. package/public-api.d.ts +0 -11
@@ -1,29 +0,0 @@
1
- import { ComponentPortal } from "@angular/cdk/portal";
2
- import { ComponentRef } from "@angular/core";
3
- import { Observable } from "rxjs";
4
- import { DashboardComponent } from "../../components/dashboard/dashboard.component";
5
- import { IWidget } from "../../components/widget/types";
6
- import { PizzagnaComponent } from "../../pizzagna/components/pizzagna/pizzagna.component";
7
- import { IPizzagna } from "../../types";
8
- export interface IComponentPortalBundle<T> {
9
- portal: ComponentPortal<T>;
10
- attached?: (componentRef: ComponentRef<T>) => void;
11
- }
12
- export interface IConfiguratorSource {
13
- dashboardComponent: DashboardComponent;
14
- widget?: IWidget;
15
- previewPizzagnaComponent?: () => PizzagnaComponent;
16
- }
17
- export interface IConfigurator<T = any> extends IConfiguratorSource {
18
- trySubmit?: WidgetUpdateOperation;
19
- portalBundle?: IComponentPortalBundle<T>;
20
- }
21
- export interface IWidgetSelector<T = any> extends IConfigurator<T> {
22
- widgetSelectionComponentType: Function;
23
- }
24
- export interface IWidgetEditor<T = any> extends IConfigurator<T> {
25
- formPizzagna: IPizzagna;
26
- paths: Record<string, string>;
27
- }
28
- export type WidgetUpdateOperation = (widget: IWidget, source: IConfiguratorSource) => Observable<IWidget>;
29
- export type WidgetRemovalOperation = (widgetId: string, source: IConfiguratorSource) => Observable<string>;
@@ -1,14 +0,0 @@
1
- import { Observable } from "rxjs";
2
- import { ConfiguratorService } from "./configurator.service";
3
- import { IWidgetSelector } from "./types";
4
- import { ComponentPortalService } from "../../pizzagna/services/component-portal.service";
5
- import * as i0 from "@angular/core";
6
- export declare class WidgetClonerService {
7
- private configuratorService;
8
- private componentPortalService;
9
- private ref;
10
- constructor(configuratorService: ConfiguratorService, componentPortalService: ComponentPortalService);
11
- open(cloner: IWidgetSelector): Observable<void>;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<WidgetClonerService, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<WidgetClonerService>;
14
- }
@@ -1,14 +0,0 @@
1
- import { Observable } from "rxjs";
2
- import { ConfiguratorService } from "./configurator.service";
3
- import { IWidgetEditor } from "./types";
4
- import { ComponentPortalService } from "../../pizzagna/services/component-portal.service";
5
- import * as i0 from "@angular/core";
6
- export declare class WidgetEditorService {
7
- private configuratorService;
8
- private componentPortalService;
9
- private ref;
10
- constructor(configuratorService: ConfiguratorService, componentPortalService: ComponentPortalService);
11
- open(widgetEditor: IWidgetEditor): Observable<void>;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<WidgetEditorService, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<WidgetEditorService>;
14
- }
@@ -1,6 +0,0 @@
1
- import { EventDefinition } from "@nova-ui/bits";
2
- import { IComponentIdPayload } from "../components/providers/types";
3
- export declare const DATA_SOURCE_OUTPUT: EventDefinition<any>;
4
- export declare const DATA_SOURCE_DESTROYED: EventDefinition<IComponentIdPayload>;
5
- export declare const DATA_SOURCE_CHANGE: EventDefinition<unknown>;
6
- export declare const DATA_SOURCE_CREATED: EventDefinition<any>;
@@ -1,8 +0,0 @@
1
- export declare const CHART_PALETTE_CS3_ALTERNATIVE_NAMES: string[];
2
- export declare const CHART_PALETTE_CS_S_EXTENDED_ALTERNATIVE_NAMES: string[];
3
- export declare const chartPaletteColorMap: Record<string, string>;
4
- export declare const DEFAULT_KPI_TILE_COLOR = "var(--nui-color-bg-secondary)";
5
- export declare const DEFAULT_KPI_BACKGROUND_COLORS: {
6
- color: string;
7
- label: string;
8
- }[];
@@ -1 +0,0 @@
1
- export * from "./default-palette";
@@ -1,7 +0,0 @@
1
- export interface ISiUnitsPrefix {
2
- power: number;
3
- prefix: string;
4
- label: string;
5
- }
6
- export declare const SI_UNITS_PREFIXES: ISiUnitsPrefix[];
7
- export declare const SI_UNITS_PREFIXES_NEGATIVE: ISiUnitsPrefix[];
@@ -1,50 +0,0 @@
1
- import { ComponentRegistryService } from "./pizzagna/services/component-registry.service";
2
- import { EventRegistryService } from "./services/event-registry.service";
3
- import { KpiFormattersRegistryService, RiskScoreFormattersRegistryService } from "./services/table-formatter-registry.service";
4
- import { WidgetTypesService } from "./services/widget-types.service";
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "./components/dashboard/dashboard.component";
7
- import * as i2 from "./components/embedded-content/embedded-content.component";
8
- import * as i3 from "./directives/gridster-item-widget-id/gridster-item-widget-id.directive";
9
- import * as i4 from "./components/kpi-widget/kpi.component";
10
- import * as i5 from "./components/risk-score-tile/risk-score-tile.component";
11
- import * as i6 from "./components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component";
12
- import * as i7 from "./components/loading/loading.component";
13
- import * as i8 from "./components/proportional-widget/proportional-widget.component";
14
- import * as i9 from "./components/layouts/stack/stack.component";
15
- import * as i10 from "./components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component";
16
- import * as i11 from "./components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component";
17
- import * as i12 from "./components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component";
18
- import * as i13 from "./components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component";
19
- import * as i14 from "./components/table-widget/table-widget.component";
20
- import * as i15 from "./components/table-widget/delayed-mouse-presence-detection.directive";
21
- import * as i16 from "./components/template-load-error/template-load-error.component";
22
- import * as i17 from "./components/layouts/tiles/tiles.component";
23
- import * as i18 from "./components/time-frame-selection/timeframe-selection.component";
24
- import * as i19 from "./components/timeseries-widget/timeseries-widget.component";
25
- import * as i20 from "./components/widget/widget-body/widget-body.component";
26
- import * as i21 from "./components/widget/widget-body-content/widget-body-content.component";
27
- import * as i22 from "./components/widget/widget.component";
28
- import * as i23 from "./directives/widget-editor/widget-editor.directive";
29
- import * as i24 from "./components/widget/widget-header/widget-header.component";
30
- import * as i25 from "./components/list-widget/list-widget.component";
31
- import * as i26 from "./components/list-widget/list-elements/list-leaf-item/list-leaf-item.component";
32
- import * as i27 from "./components/list-widget/list-elements/list-group-item/list-group-item.component";
33
- import * as i28 from "./components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component";
34
- import * as i29 from "./components/widget-search/widget-search.component";
35
- import * as i30 from "./components/proportional-widget/proportional-donut-content/proportional-donut-content.component";
36
- import * as i31 from "./components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component";
37
- import * as i32 from "./common/common.module";
38
- import * as i33 from "angular-gridster2";
39
- import * as i34 from "@nova-ui/bits";
40
- import * as i35 from "@nova-ui/charts";
41
- import * as i36 from "./configurator/configurator.module";
42
- import * as i37 from "./pizzagna/pizzagna.module";
43
- import * as i38 from "@angular/cdk/scrolling";
44
- import * as i39 from "@angular/forms";
45
- export declare class NuiDashboardsModule {
46
- constructor(widgetTypesService: WidgetTypesService, componentRegistry: ComponentRegistryService, eventRegistry: EventRegistryService, kpiFormattersRegistry: KpiFormattersRegistryService, riskScoreFormattersRegistry: RiskScoreFormattersRegistryService);
47
- static ɵfac: i0.ɵɵFactoryDeclaration<NuiDashboardsModule, never>;
48
- static ɵmod: i0.ɵɵNgModuleDeclaration<NuiDashboardsModule, [typeof i1.DashboardComponent, typeof i2.EmbeddedContentComponent, typeof i3.GridsterItemWidgetIdDirective, typeof i4.KpiComponent, typeof i5.RiskScoreTileComponent, typeof i6.LineChartComponent, typeof i7.LoadingComponent, typeof i8.ProportionalWidgetComponent, typeof i9.StackComponent, typeof i10.StackedAreaChartComponent, typeof i11.StackedBarChartComponent, typeof i12.StackedPercentageAreaChartComponent, typeof i13.StatusBarChartComponent, typeof i14.TableWidgetComponent, typeof i15.DelayedMousePresenceDetectionDirective, typeof i16.TemplateLoadErrorComponent, typeof i17.TilesComponent, typeof i18.TimeframeSelectionComponent, typeof i19.TimeseriesWidgetComponent, typeof i20.WidgetBodyComponent, typeof i21.WidgetBodyContentComponent, typeof i22.WidgetComponent, typeof i23.WidgetEditorDirective, typeof i24.WidgetHeaderComponent, typeof i25.ListWidgetComponent, typeof i26.ListLeafItemComponent, typeof i27.ListGroupItemComponent, typeof i28.ListNavigationBarComponent, typeof i29.WidgetSearchComponent, typeof i30.ProportionalDonutContentComponent, typeof i31.TimeseriesInspectionMenuComponent], [typeof i32.NuiDashboardsCommonModule, typeof i33.GridsterModule, typeof i34.NuiBusyModule, typeof i34.NuiButtonModule, typeof i35.NuiChartsModule, typeof i36.NuiDashboardConfiguratorModule, typeof i34.NuiIconModule, typeof i34.NuiImageModule, typeof i34.NuiMenuModule, typeof i37.NuiPizzagnaModule, typeof i34.NuiPopupModule, typeof i34.NuiProgressModule, typeof i34.NuiTableModule, typeof i34.NuiTimeFrameBarModule, typeof i38.ScrollingModule, typeof i34.NuiTimeFramePickerModule, typeof i39.ReactiveFormsModule, typeof i34.NuiSpinnerModule, typeof i34.NuiTooltipModule, typeof i34.NuiSearchModule, typeof i34.NuiCommonModule, typeof i34.NuiRepeatModule, typeof i34.NuiRiskScoreModule, typeof i34.NuiSelectModule, typeof i34.NuiPopoverModule, typeof i34.NuiPaginatorModule, typeof i34.NuiMessageModule], [typeof i1.DashboardComponent, typeof i2.EmbeddedContentComponent, typeof i3.GridsterItemWidgetIdDirective, typeof i4.KpiComponent, typeof i5.RiskScoreTileComponent, typeof i6.LineChartComponent, typeof i7.LoadingComponent, typeof i8.ProportionalWidgetComponent, typeof i9.StackComponent, typeof i10.StackedAreaChartComponent, typeof i11.StackedBarChartComponent, typeof i12.StackedPercentageAreaChartComponent, typeof i13.StatusBarChartComponent, typeof i14.TableWidgetComponent, typeof i15.DelayedMousePresenceDetectionDirective, typeof i16.TemplateLoadErrorComponent, typeof i17.TilesComponent, typeof i18.TimeframeSelectionComponent, typeof i19.TimeseriesWidgetComponent, typeof i20.WidgetBodyComponent, typeof i21.WidgetBodyContentComponent, typeof i22.WidgetComponent, typeof i23.WidgetEditorDirective, typeof i24.WidgetHeaderComponent, typeof i25.ListWidgetComponent, typeof i26.ListLeafItemComponent, typeof i27.ListGroupItemComponent, typeof i28.ListNavigationBarComponent, typeof i29.WidgetSearchComponent, typeof i30.ProportionalDonutContentComponent, typeof i31.TimeseriesInspectionMenuComponent]>;
49
- static ɵinj: i0.ɵɵInjectorDeclaration<NuiDashboardsModule>;
50
- }
@@ -1,15 +0,0 @@
1
- import { OnChanges, SimpleChanges } from "@angular/core";
2
- import { GridsterItemComponent } from "angular-gridster2";
3
- import * as i0 from "@angular/core";
4
- /**
5
- * This directive assigns a "widgetId" property to host gridster item. We need it there because moving and resizing the widget with gridster only contains
6
- * gridster position data and gridster component payload, so we need to identify which widget that event belongs to.
7
- */
8
- export declare class GridsterItemWidgetIdDirective implements OnChanges {
9
- private gridsterItem;
10
- nuiGridsterItemWidgetId: string;
11
- constructor(gridsterItem: GridsterItemComponent);
12
- ngOnChanges(changes: SimpleChanges): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<GridsterItemWidgetIdDirective, [{ host: true; self: true; }]>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<GridsterItemWidgetIdDirective, "[nuiGridsterItemWidgetId]", never, { "nuiGridsterItemWidgetId": { "alias": "nuiGridsterItemWidgetId"; "required": false; }; }, {}, never, never, false, never>;
15
- }
@@ -1,2 +0,0 @@
1
- export * from "./widget-editor/public-api";
2
- export * from "./gridster-item-widget-id/gridster-item-widget-id.directive";
@@ -1 +0,0 @@
1
- export * from "./widget-editor.directive";
@@ -1,20 +0,0 @@
1
- import { OnDestroy, OnInit } from "@angular/core";
2
- import { DashboardComponent } from "../../components/dashboard/dashboard.component";
3
- import { IDashboardPersistenceHandler } from "../../components/dashboard/types";
4
- import { WidgetEditorService } from "../../configurator/services/widget-editor.service";
5
- import { WidgetRemovalService } from "../../services/widget-removal.service";
6
- import { WidgetTypesService } from "../../services/widget-types.service";
7
- import * as i0 from "@angular/core";
8
- export declare class WidgetEditorDirective implements OnInit, OnDestroy {
9
- private dashboardComponent;
10
- private widgetEditorService;
11
- private widgetRemovalService;
12
- private widgetTypesService;
13
- dashboardPersistenceHandler: IDashboardPersistenceHandler;
14
- private readonly destroy$;
15
- constructor(dashboardComponent: DashboardComponent, widgetEditorService: WidgetEditorService, widgetRemovalService: WidgetRemovalService, widgetTypesService: WidgetTypesService);
16
- ngOnInit(): void;
17
- ngOnDestroy(): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<WidgetEditorDirective, [{ host: true; self: true; }, null, null, null]>;
19
- static ɵdir: i0.ɵɵDirectiveDeclaration<WidgetEditorDirective, "[nuiWidgetEditor]", never, { "dashboardPersistenceHandler": { "alias": "nuiWidgetEditor"; "required": false; }; }, {}, never, never, false, never>;
20
- }
@@ -1,7 +0,0 @@
1
- /**
2
- * Gets parent component id in the pizzagna.
3
- * Valid ONLY for the component ids which have parent in the their own id!
4
- *
5
- * e.g. for "kpi3/description" gets "kpi3"
6
- */
7
- export declare function getParentComponentId(path: string): string;
@@ -1,15 +0,0 @@
1
- import { IFormatter } from "../components/types";
2
- import { IFormatterData } from "../configurator/components/formatters/types";
3
- /**
4
- *
5
- * Takes formatter "dataFieldIds" from "properties" and maps the data to the formatter input.
6
- * Might be used for nuiComponentPortal directive for formatter "properties"
7
- *
8
- * @param formatter
9
- * @param data
10
- */
11
- export declare function mapDataToFormatterProperties<T extends {
12
- [key: string]: any;
13
- }>(formatter: IFormatter, data: T): {
14
- data: IFormatterData;
15
- };
@@ -1,13 +0,0 @@
1
- export interface IValueChange {
2
- previousValue: any;
3
- currentValue: any;
4
- }
5
- /**
6
- * This function takes a source object with a prioritized list of changes. Goes through and detects the changes on every one of these structures and builds
7
- * a new object that respects immutability and updates object references only where necessary. This is used to merge lasagna overlays into a component state
8
- * that maintains its immutability and high performance of change detection.
9
- *
10
- * @param result
11
- * @param changes
12
- */
13
- export declare function mergeChanges<T>(result: T, ...changes: IValueChange[]): T;
@@ -1,8 +0,0 @@
1
- import { AbstractControl } from "@angular/forms";
2
- /**
3
- * This is the only way to be notified of the parent form control being "touched"
4
- * We replace the parent formControl method with our own implementation that also calls the original function
5
- * @param formControl
6
- * @param callback Run this callback when the `formControl.markAsTouched` is run
7
- */
8
- export declare function onMarkAsTouched(formControl: AbstractControl, callback: Function): void;
@@ -1,5 +0,0 @@
1
- /**
2
- * Parses the string with the values in brackets.
3
- * e.g. "{componentId}.properties" => "chart.properties", "chart" is taken from the "data" argument.
4
- */
5
- export declare function parseStringWithData(path: string, data: any): string;
@@ -1,5 +0,0 @@
1
- import { IProportionalAggregatorFn, IProportionalDonutContentAggregatorProperties } from "./types";
2
- export interface IFieldMapperAggregatorProperties extends IProportionalDonutContentAggregatorProperties {
3
- chartSeriesDataFieldId?: string;
4
- }
5
- export declare const fieldMapper: IProportionalAggregatorFn;
@@ -1,11 +0,0 @@
1
- import { IProportionalAggregatorFn, IProportionalDonutContentAggregatorProperties } from "./types";
2
- export interface IPercentageAggregatorProperties extends IProportionalDonutContentAggregatorProperties {
3
- /** if "true" it'll be 58 not 0.58 */
4
- base100?: boolean;
5
- }
6
- /**
7
- * Aggregator for the Proportional Widget with Donut chart type.
8
- *
9
- * Receives all the metrics from the donut and gets the active metric percentage.
10
- */
11
- export declare const percentageAggregator: IProportionalAggregatorFn;
@@ -1,4 +0,0 @@
1
- export * from "./percentage-aggregator";
2
- export * from "./sum-aggregator";
3
- export * from "./types";
4
- export * from "./field-mapper";
@@ -1,5 +0,0 @@
1
- import { IProportionalAggregatorFn } from "./types";
2
- /**
3
- * Receives all the metrics from the donut and gets their sum.
4
- */
5
- export declare const sumAggregator: IProportionalAggregatorFn;
@@ -1,25 +0,0 @@
1
- import { IChartSeries } from "@nova-ui/charts";
2
- export interface IProportionalDonutContentAggregatorProperties {
3
- /** Metric Id, case sensitive. */
4
- activeMetricId?: string;
5
- [key: string]: any;
6
- }
7
- export interface IProportionalDonutContentAggregator {
8
- aggregatorType: string;
9
- properties?: IProportionalDonutContentAggregatorProperties;
10
- }
11
- interface IAggregatorChartData extends Pick<IChartSeries<any>, "id" | "data"> {
12
- [key: string]: any;
13
- }
14
- export type IProportionalAggregatorOrigin = Array<IAggregatorChartData>;
15
- export type IProportionalAggregatorFn = ((origin: IProportionalAggregatorOrigin, properties?: IProportionalDonutContentAggregatorProperties) => string) & {
16
- aggregatorType: string;
17
- };
18
- export interface IProportionalDonutContentAggregatorDefinition {
19
- aggregatorType: string;
20
- label: string;
21
- fn: IProportionalAggregatorFn;
22
- properties?: IProportionalDonutContentAggregatorProperties;
23
- configurationComponent?: string;
24
- }
25
- export {};
@@ -1,4 +0,0 @@
1
- export * from "./proportional-aggregators/public-api";
2
- export * from "./merge-changes";
3
- export * from "./map-data-to-formatter-properties";
4
- export * from "./timeseries-datetime-formatter";
@@ -1 +0,0 @@
1
- export declare function roundToOptimalDecimals(arr: number[], optimalDecimals?: Map<number, number>): number[];
@@ -1,4 +0,0 @@
1
- /**
2
- * Formatter for timeserie label dates
3
- */
4
- export declare const timeSeriesDatetimeFormatter: (date: Date) => string;
@@ -1,34 +0,0 @@
1
- import { EventEmitter, OnChanges, SimpleChanges } from "@angular/core";
2
- import { EventBus, IEvent, LoggerService } from "@nova-ui/bits";
3
- import { IComponentConfiguration, IPizzagna } from "../../../types";
4
- import { PizzagnaService } from "../../services/pizzagna.service";
5
- import * as i0 from "@angular/core";
6
- export declare class PizzagnaComponent implements OnChanges {
7
- pizzagnaService: PizzagnaService;
8
- logger: LoggerService;
9
- eventBus: EventBus<IEvent>;
10
- rootNode: string;
11
- get pizzagna(): IPizzagna;
12
- set pizzagna(value: IPizzagna);
13
- private _pizzagna;
14
- private _pizzagnaBuffer;
15
- outputs: string[];
16
- pizzagnaChange: EventEmitter<IPizzagna>;
17
- output: EventEmitter<IEvent<any>>;
18
- pizza: Record<string, IComponentConfiguration>;
19
- constructor(pizzagnaService: PizzagnaService, logger: LoggerService, eventBus: EventBus<IEvent>);
20
- ngOnChanges(changes: SimpleChanges): void;
21
- onOutput(event: IEvent): void;
22
- /**
23
- * This takes all the pizzagna layers and merges them into one component pizza
24
- *
25
- * @param pizza
26
- * @param previousPizzagna
27
- * @param currentPizzagna
28
- */
29
- private mergePizzagnaIntoPizza;
30
- private getLayerChanges;
31
- private getLayerSafe;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<PizzagnaComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<PizzagnaComponent, "nui-pizzagna", never, { "rootNode": { "alias": "rootNode"; "required": false; }; "pizzagna": { "alias": "pizzagna"; "required": false; }; "outputs": { "alias": "outputs"; "required": false; }; }, { "pizzagnaChange": "pizzagnaChange"; "output": "output"; }, never, never, false, never>;
34
- }
@@ -1 +0,0 @@
1
- export * from "./pizzagna.component";
@@ -1,47 +0,0 @@
1
- import { Portal } from "@angular/cdk/portal";
2
- import { AfterViewInit, ComponentRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from "@angular/core";
3
- import { IEvent, LoggerService } from "@nova-ui/bits";
4
- import { ProviderRegistryService } from "../../../services/provider-registry.service";
5
- import { IProviderConfiguration } from "../../../types";
6
- import { ComponentPortalService } from "../../services/component-portal.service";
7
- import * as i0 from "@angular/core";
8
- export declare class ComponentPortalDirective implements OnInit, AfterViewInit, OnDestroy, OnChanges {
9
- private injector;
10
- private logger;
11
- private portalService;
12
- private renderer;
13
- private providerRegistry;
14
- componentId: string;
15
- componentType: string | Function;
16
- properties: Record<string, any>;
17
- providers: Record<string, IProviderConfiguration>;
18
- outputs: string[];
19
- output: EventEmitter<IEvent<any>>;
20
- portal: Portal<any>;
21
- private component;
22
- private propertiesChanges;
23
- private providerInstances;
24
- private readonly destroy$;
25
- private changesSubscription?;
26
- private listenerUnsubscriber?;
27
- constructor(injector: Injector, logger: LoggerService, portalService: ComponentPortalService, renderer: Renderer2, providerRegistry: ProviderRegistryService);
28
- ngOnInit(): void;
29
- ngAfterViewInit(): void;
30
- ngOnChanges(changes: SimpleChanges): void;
31
- ngOnDestroy(): void;
32
- attached(componentRef: ComponentRef<any>): void;
33
- private recreatePortal;
34
- private updateProviders;
35
- private updateProviderConfigurations;
36
- private subscribeToOutputs;
37
- private checkForProviderChanges;
38
- private destroyProviders;
39
- /**
40
- * There was a change in component properties, so we need to handle that here
41
- *
42
- * @param change a change of the `properties` input
43
- */
44
- private applyPropertiesChange;
45
- static ɵfac: i0.ɵɵFactoryDeclaration<ComponentPortalDirective, never>;
46
- static ɵdir: i0.ɵɵDirectiveDeclaration<ComponentPortalDirective, "[nuiComponentPortal]", ["nuiComponentPortal"], { "componentId": { "alias": "componentId"; "required": false; }; "componentType": { "alias": "componentType"; "required": false; }; "properties": { "alias": "properties"; "required": false; }; "providers": { "alias": "providers"; "required": false; }; "outputs": { "alias": "outputs"; "required": false; }; }, { "output": "output"; }, never, never, false, never>;
47
- }
@@ -1 +0,0 @@
1
- export * from "./component-portal.directive";
@@ -1,7 +0,0 @@
1
- export interface IPizzagnaProperty {
2
- pizzagnaKey?: string;
3
- componentId: string;
4
- providerKey?: string;
5
- propertyPath: string[];
6
- }
7
- export declare function getPizzagnaPropertyPath(definition: IPizzagnaProperty): string;
@@ -1 +0,0 @@
1
- export * from "./get-pizzagna-property-path";
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./components/pizzagna/pizzagna.component";
3
- import * as i2 from "./directives/component-portal/component-portal.directive";
4
- import * as i3 from "@angular/cdk/portal";
5
- import * as i4 from "../common/common.module";
6
- export declare class NuiPizzagnaModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<NuiPizzagnaModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<NuiPizzagnaModule, [typeof i1.PizzagnaComponent, typeof i2.ComponentPortalDirective], [typeof i3.PortalModule, typeof i4.NuiDashboardsCommonModule], [typeof i3.PortalModule, typeof i1.PizzagnaComponent, typeof i2.ComponentPortalDirective]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<NuiPizzagnaModule>;
10
- }
@@ -1,6 +0,0 @@
1
- export * from "./services/public-api";
2
- export * from "./components/pizzagna/public-api";
3
- export * from "./directives/component-portal/public-api";
4
- export * from "./functions/public-api";
5
- export * from "./services/public-api";
6
- export * from "./pizzagna.module";
@@ -1,16 +0,0 @@
1
- import { ComponentPortal } from "@angular/cdk/portal";
2
- import { Injector } from "@angular/core";
3
- import { LoggerService } from "@nova-ui/bits";
4
- import { ComponentRegistryService } from "./component-registry.service";
5
- import { IPortalEnvironment } from "../../types";
6
- import * as i0 from "@angular/core";
7
- /** @ignore */
8
- export declare class ComponentPortalService {
9
- private componentRegistry;
10
- private logger;
11
- constructor(componentRegistry: ComponentRegistryService, logger: LoggerService);
12
- createComponentPortal(componentType: string | Function, injector: Injector | null): ComponentPortal<any>;
13
- createInjector(environment: IPortalEnvironment): Injector;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<ComponentPortalService, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<ComponentPortalService>;
16
- }
@@ -1,16 +0,0 @@
1
- import { Type } from "@angular/core";
2
- import { LoggerService } from "@nova-ui/bits";
3
- import * as i0 from "@angular/core";
4
- export interface IComponentWithLateLoadKey extends Type<any> {
5
- lateLoadKey: string;
6
- }
7
- export declare class ComponentRegistryService {
8
- private logger;
9
- private components;
10
- constructor(logger: LoggerService);
11
- registerByLateLoadKey(component: IComponentWithLateLoadKey): void;
12
- registerComponentType(key: string, component: any): void;
13
- getComponentType(key: string): any;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<ComponentRegistryService, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<ComponentRegistryService>;
16
- }
@@ -1,10 +0,0 @@
1
- import { IPizzagna } from "../../types";
2
- import * as i0 from "@angular/core";
3
- export declare class DynamicComponentCreator {
4
- getPizzagnaUpdatedWithComponents(pizzagna: IPizzagna, parentPath: string, componentIds: string[]): IPizzagna;
5
- private getPizzagnaWithChildren;
6
- private updateChildPizzagna;
7
- private getPizzagnaWithNodesSet;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponentCreator, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<DynamicComponentCreator>;
10
- }
@@ -1,27 +0,0 @@
1
- import { ReplaySubject } from "rxjs";
2
- import { EventBus, IEvent } from "@nova-ui/bits";
3
- import { DynamicComponentCreator } from "./dynamic-component-creator.service";
4
- import { IComponentConfiguration, IPizza, IPizzagna } from "../../types";
5
- import { IPizzagnaProperty } from "../functions/get-pizzagna-property-path";
6
- import * as i0 from "@angular/core";
7
- /**
8
- * This service allows pizzagna sub-components to read data of other components and initiate changes of property values
9
- */
10
- export declare class PizzagnaService {
11
- private eventBus;
12
- private dynamicComponentCreator;
13
- constructor(eventBus: EventBus<IEvent>, dynamicComponentCreator: DynamicComponentCreator);
14
- pizzagna: IPizzagna;
15
- pizzaChanged: ReplaySubject<IPizza>;
16
- private components;
17
- updatePizzagna(pizzagna: IPizzagna): void;
18
- updateComponents(components: IPizza): void;
19
- getComponent(refId: string): IComponentConfiguration;
20
- setProperty(property: IPizzagnaProperty | string, value: any): void;
21
- createComponentsFromTemplateWithProperties(parentPath: string, components: any): void;
22
- createComponentsFromTemplate(parentPath: string, componentIds: string[]): void;
23
- removeComponents(ids: string | string[]): void;
24
- private removeComponent;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<PizzagnaService, never>;
26
- static ɵprov: i0.ɵɵInjectableDeclaration<PizzagnaService>;
27
- }
@@ -1,4 +0,0 @@
1
- export * from "./pizzagna.service";
2
- export * from "./component-portal.service";
3
- export * from "./component-registry.service";
4
- export * from "./dynamic-component-creator.service";
@@ -1,29 +0,0 @@
1
- import { ChartAssist, IAccessors, IChartAssistSeries, IChartMarker, IDataSeries, IGrid, IRadialAccessors, IValueProvider, Renderer, Scales } from "@nova-ui/charts";
2
- import { ProportionalWidgetChartTypes } from "../components/proportional-widget/types";
3
- import * as i0 from "@angular/core";
4
- type PreprocessorType<T extends IAccessors> = (this: ChartAssist, series: IChartAssistSeries<T>[]) => IChartAssistSeries<T>[];
5
- export interface IChartAttributes<T extends IAccessors = IAccessors> {
6
- grid: IGrid;
7
- accessors: IAccessors;
8
- renderer: Renderer<IAccessors>;
9
- scales: Scales;
10
- preprocessor?: PreprocessorType<T>;
11
- }
12
- export declare class CategoryChartUtilService {
13
- /**
14
- * Combines each of IDataSeries with accessors, renderer and scales provided
15
- *
16
- * @param data
17
- * @param accessors
18
- * @param renderer
19
- * @param scales
20
- *
21
- * @returns resulting set of IChartAssistSeries
22
- */
23
- static buildChartSeries(data: IDataSeries<IAccessors>[], accessors: IAccessors, renderer: Renderer<IAccessors>, scales: Scales): IChartAssistSeries<IAccessors>[];
24
- static getChartAttributes(chartType: ProportionalWidgetChartTypes, colors?: IValueProvider<string>, markers?: IValueProvider<IChartMarker>): IChartAttributes | IChartAttributes<IRadialAccessors>;
25
- private static getChartTools;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<CategoryChartUtilService, never>;
27
- static ɵprov: i0.ɵɵInjectableDeclaration<CategoryChartUtilService>;
28
- }
29
- export {};
@@ -1,9 +0,0 @@
1
- import { IEventDefinition } from "@nova-ui/bits";
2
- import * as i0 from "@angular/core";
3
- export declare class EventRegistryService {
4
- private events;
5
- registerEvent(eventDefinition: IEventDefinition): void;
6
- getEvent(id: string): IEventDefinition;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<EventRegistryService, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<EventRegistryService>;
9
- }
@@ -1,12 +0,0 @@
1
- import { IComparatorsDict } from "../types";
2
- import * as i0 from "@angular/core";
3
- export declare const DEFAULT_COMPARATORS: IComparatorsDict;
4
- export declare class KpiColorComparatorsRegistryService {
5
- protected comparators: IComparatorsDict;
6
- constructor();
7
- registerComparators(comparators: IComparatorsDict): void;
8
- clearComparators(): void;
9
- getComparators(): IComparatorsDict;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<KpiColorComparatorsRegistryService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<KpiColorComparatorsRegistryService>;
12
- }
@@ -1,10 +0,0 @@
1
- import { LoggerService } from "@nova-ui/bits";
2
- import { RegistryService } from "./registry-service";
3
- import { IProportionalDonutContentAggregatorDefinition } from "../functions/proportional-aggregators/types";
4
- import * as i0 from "@angular/core";
5
- export declare class ProportionalContentAggregatorsRegistryService extends RegistryService<IProportionalDonutContentAggregatorDefinition> {
6
- constructor(logger: LoggerService);
7
- getItemKey(item: IProportionalDonutContentAggregatorDefinition): string;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ProportionalContentAggregatorsRegistryService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<ProportionalContentAggregatorsRegistryService>;
10
- }
@@ -1,14 +0,0 @@
1
- import { Injector, StaticProvider } from "@angular/core";
2
- import { LoggerService } from "@nova-ui/bits";
3
- import { IStaticProviders } from "./types";
4
- import * as i0 from "@angular/core";
5
- export declare class ProviderRegistryService {
6
- private logger;
7
- staticProviders: IStaticProviders;
8
- constructor(logger: LoggerService);
9
- setProviders(providers: IStaticProviders): void;
10
- getProvider(providerId: string): StaticProvider;
11
- getProviderInstance(provider: StaticProvider, parentInjector: Injector): any;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<ProviderRegistryService, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<ProviderRegistryService>;
14
- }