@energycap/components 0.42.4-esbuild.20250131-1105 → 0.42.4-esbuild.20250131-1219

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 (324) hide show
  1. package/package.json +5 -1
  2. package/esm2022/energycap-components.mjs +0 -5
  3. package/esm2022/lib/components.module.mjs +0 -423
  4. package/esm2022/lib/controls/banner/banner.component.mjs +0 -109
  5. package/esm2022/lib/controls/button/button.component.mjs +0 -106
  6. package/esm2022/lib/controls/button/copy-button-base.directive.mjs +0 -67
  7. package/esm2022/lib/controls/button/copy-button.directive.mjs +0 -28
  8. package/esm2022/lib/controls/button/copy-table-button.directive.mjs +0 -43
  9. package/esm2022/lib/controls/calendar/calendar-item.component.mjs +0 -91
  10. package/esm2022/lib/controls/calendar/calendar.component.mjs +0 -248
  11. package/esm2022/lib/controls/calendar/calendar.types.mjs +0 -2
  12. package/esm2022/lib/controls/checkbox/checkbox.component.mjs +0 -140
  13. package/esm2022/lib/controls/collapsible-toggle/collapsible-toggle.component.mjs +0 -38
  14. package/esm2022/lib/controls/combobox/combobox.component.mjs +0 -879
  15. package/esm2022/lib/controls/date-input/date-input-selection-strategies/date-input-selection-strategy-base.mjs +0 -57
  16. package/esm2022/lib/controls/date-input/date-input-selection-strategies/day-selection-strategy.mjs +0 -62
  17. package/esm2022/lib/controls/date-input/date-input-selection-strategies/last-28-days-selection-strategy.mjs +0 -100
  18. package/esm2022/lib/controls/date-input/date-input-selection-strategies/last-7-days-selection-strategy.mjs +0 -101
  19. package/esm2022/lib/controls/date-input/date-input-selection-strategies/month-selection-strategy.mjs +0 -76
  20. package/esm2022/lib/controls/date-input/date-input-selection-strategies/quarter-selection-strategy.mjs +0 -79
  21. package/esm2022/lib/controls/date-input/date-input-selection-strategies/range-selection-strategy.mjs +0 -210
  22. package/esm2022/lib/controls/date-input/date-input-selection-strategies/year-selection-strategy.mjs +0 -81
  23. package/esm2022/lib/controls/date-input/date-input.component.mjs +0 -464
  24. package/esm2022/lib/controls/date-input/date-input.types.mjs +0 -44
  25. package/esm2022/lib/controls/dropdown/dropdown.component.mjs +0 -243
  26. package/esm2022/lib/controls/file-upload/file-upload.component.mjs +0 -261
  27. package/esm2022/lib/controls/form-control/form-control.component.mjs +0 -98
  28. package/esm2022/lib/controls/form-control-base.mjs +0 -151
  29. package/esm2022/lib/controls/form-control-label/form-control-label.component.mjs +0 -136
  30. package/esm2022/lib/controls/form-group/form-group.component.mjs +0 -261
  31. package/esm2022/lib/controls/help-popover/help-popover.component.mjs +0 -31
  32. package/esm2022/lib/controls/item-picker/item-picker.component.mjs +0 -329
  33. package/esm2022/lib/controls/link-button/link-button.component.mjs +0 -11
  34. package/esm2022/lib/controls/menu/menu.component.mjs +0 -485
  35. package/esm2022/lib/controls/navigation/link-item.mjs +0 -2
  36. package/esm2022/lib/controls/navigation/nav-group.mjs +0 -39
  37. package/esm2022/lib/controls/navigation/nav-item-active.directive.mjs +0 -92
  38. package/esm2022/lib/controls/navigation/nav-item.mjs +0 -2
  39. package/esm2022/lib/controls/numericbox/numericbox.component.mjs +0 -372
  40. package/esm2022/lib/controls/popover/popover.component.mjs +0 -117
  41. package/esm2022/lib/controls/radio-button/radio-button-option.mjs +0 -3
  42. package/esm2022/lib/controls/radio-button/radio-button.component.mjs +0 -82
  43. package/esm2022/lib/controls/select/select.component.mjs +0 -88
  44. package/esm2022/lib/controls/tabs/tabs.component.mjs +0 -47
  45. package/esm2022/lib/controls/textbox/textbox.component.mjs +0 -155
  46. package/esm2022/lib/core/cache.service.mjs +0 -105
  47. package/esm2022/lib/core/custom-validators.mjs +0 -29
  48. package/esm2022/lib/core/date-time-helper.mjs +0 -228
  49. package/esm2022/lib/core/error.service.mjs +0 -61
  50. package/esm2022/lib/core/router-helper.service.mjs +0 -111
  51. package/esm2022/lib/core/scroll.service.mjs +0 -89
  52. package/esm2022/lib/core/telemetry-tracker.service.mjs +0 -16
  53. package/esm2022/lib/core/telemetry.service.mjs +0 -38
  54. package/esm2022/lib/core/validation-message.service.mjs +0 -185
  55. package/esm2022/lib/core/validation-patterns.mjs +0 -31
  56. package/esm2022/lib/core/window.service.mjs +0 -186
  57. package/esm2022/lib/display/app-bar/app-bar.component.mjs +0 -46
  58. package/esm2022/lib/display/avatar/avatar.component.mjs +0 -67
  59. package/esm2022/lib/display/avatar/avatar.service.mjs +0 -64
  60. package/esm2022/lib/display/confirm/confirm.component.mjs +0 -168
  61. package/esm2022/lib/display/dialog/dialog-content.mjs +0 -2
  62. package/esm2022/lib/display/dialog/dialog-group/dialog-group.component.mjs +0 -63
  63. package/esm2022/lib/display/dialog/dialog-types.mjs +0 -77
  64. package/esm2022/lib/display/dialog/dialog.component.mjs +0 -281
  65. package/esm2022/lib/display/dialog/dialog.service.mjs +0 -71
  66. package/esm2022/lib/display/help/help-types.mjs +0 -2
  67. package/esm2022/lib/display/hierarchy/hierarchy-base.mjs +0 -111
  68. package/esm2022/lib/display/hierarchy/hierarchy-mocks.spec.mjs +0 -54
  69. package/esm2022/lib/display/hierarchy/hierarchy-tree/hierarchy-tree.component.mjs +0 -61
  70. package/esm2022/lib/display/item-display/item-display.component.mjs +0 -81
  71. package/esm2022/lib/display/json-display/json-display.component.mjs +0 -47
  72. package/esm2022/lib/display/resizable/resizable-base.mjs +0 -120
  73. package/esm2022/lib/display/resizable/resizable.component.mjs +0 -57
  74. package/esm2022/lib/display/spinner/spinner.component.mjs +0 -12
  75. package/esm2022/lib/display/splash/splash.component.mjs +0 -42
  76. package/esm2022/lib/display/splash/splash.service.mjs +0 -35
  77. package/esm2022/lib/display/table/resizable-column.component.mjs +0 -20
  78. package/esm2022/lib/display/table/resizable-table.directive.mjs +0 -227
  79. package/esm2022/lib/display/table/searchable-table.component.mjs +0 -342
  80. package/esm2022/lib/display/table/table-detail-row.component.mjs +0 -28
  81. package/esm2022/lib/display/table/table-locked-column.component.mjs +0 -58
  82. package/esm2022/lib/display/table/table-master-header-row.component.mjs +0 -14
  83. package/esm2022/lib/display/table/table-master-row.component.mjs +0 -163
  84. package/esm2022/lib/display/table/table-pagination.component.mjs +0 -155
  85. package/esm2022/lib/display/table/table-selectable-row.component.mjs +0 -235
  86. package/esm2022/lib/display/table/table.component.mjs +0 -249
  87. package/esm2022/lib/display/tags/tag.mjs +0 -18
  88. package/esm2022/lib/display/tags/tags.component.mjs +0 -77
  89. package/esm2022/lib/display/toast/toast/toast.component.mjs +0 -77
  90. package/esm2022/lib/display/toast/toast-types.mjs +0 -8
  91. package/esm2022/lib/display/toast/toast.service.mjs +0 -35
  92. package/esm2022/lib/display/toast/toaster/toaster.component.mjs +0 -114
  93. package/esm2022/lib/display/tooltip/tooltip.component.mjs +0 -28
  94. package/esm2022/lib/display/tooltip/tooltip.service.mjs +0 -78
  95. package/esm2022/lib/display/tooltip-directive/tooltip.directive.mjs +0 -173
  96. package/esm2022/lib/display/tour/tour-types.mjs +0 -34
  97. package/esm2022/lib/display/tour/tour.component.mjs +0 -398
  98. package/esm2022/lib/display/tour/tour.service.mjs +0 -75
  99. package/esm2022/lib/display/tree/tree.component.mjs +0 -135
  100. package/esm2022/lib/display/view-overlay/view-overlay.component.mjs +0 -58
  101. package/esm2022/lib/shared/directives/click-area-for/click-area-for.directive.mjs +0 -32
  102. package/esm2022/lib/shared/directives/if-viewport-width/if-viewport-width.directive.mjs +0 -111
  103. package/esm2022/lib/shared/directives/keyboard-nav-container/keyboard-nav-container.directive.mjs +0 -100
  104. package/esm2022/lib/shared/directives/popup/popup-container.directive.mjs +0 -166
  105. package/esm2022/lib/shared/display/pipes/date-display.pipe.mjs +0 -50
  106. package/esm2022/lib/shared/display/pipes/highlight-text.pipe.mjs +0 -30
  107. package/esm2022/lib/shared/display/pipes/relative-date.pipe.mjs +0 -62
  108. package/esm2022/lib/shared/display/pipes/row-count.pipe.mjs +0 -48
  109. package/esm2022/lib/shared/display/pipes/time-display.pipe.mjs +0 -41
  110. package/esm2022/lib/shared/display.mjs +0 -6
  111. package/esm2022/lib/shared/form-group.helper.mjs +0 -67
  112. package/esm2022/lib/shared/json-helper.mjs +0 -19
  113. package/esm2022/lib/shared/lodash-helper.mjs +0 -52
  114. package/esm2022/lib/shared/page/page-base/page-base.component.mjs +0 -387
  115. package/esm2022/lib/shared/page/page-statuses.mjs +0 -23
  116. package/esm2022/lib/shared/page/page-title/page-title.component.mjs +0 -23
  117. package/esm2022/lib/shared/page/page-view/page-view.component.mjs +0 -147
  118. package/esm2022/lib/shared/testing/copy-button-base-test-injector-factory.spec.mjs +0 -17
  119. package/esm2022/lib/shared/testing/hierarchy-base-test-injector-factory.spec.mjs +0 -17
  120. package/esm2022/lib/shared/testing/page-base-component-test-helper.spec.mjs +0 -38
  121. package/esm2022/lib/shared/testing/page-base-component-test-injector-factory.spec.mjs +0 -98
  122. package/esm2022/lib/shared/testing/public-mocks.spec.mjs +0 -148
  123. package/esm2022/lib/shared/testing/spy-factory.spec.mjs +0 -40
  124. package/esm2022/lib/shared/testing/translation-mocks.spec.mjs +0 -57
  125. package/esm2022/lib/shared/user-preference.service.mjs +0 -17
  126. package/esm2022/lib/shared/wizard/wizard-base/wizard-base.component.mjs +0 -246
  127. package/esm2022/lib/shared/wizard/wizard-buttons/wizard-buttons.component.mjs +0 -68
  128. package/esm2022/lib/shared/wizard/wizard-progress/wizard-progress.component.mjs +0 -18
  129. package/esm2022/public-api.mjs +0 -117
  130. package/fesm2022/energycap-components.mjs +0 -13219
  131. package/fesm2022/energycap-components.mjs.map +0 -1
  132. package/index.d.ts +0 -5
  133. package/lib/components.module.d.ts +0 -92
  134. package/lib/controls/banner/banner.component.d.ts +0 -50
  135. package/lib/controls/button/button.component.d.ts +0 -78
  136. package/lib/controls/button/copy-button-base.directive.d.ts +0 -20
  137. package/lib/controls/button/copy-button.directive.d.ts +0 -14
  138. package/lib/controls/button/copy-table-button.directive.d.ts +0 -19
  139. package/lib/controls/calendar/calendar-item.component.d.ts +0 -22
  140. package/lib/controls/calendar/calendar.component.d.ts +0 -52
  141. package/lib/controls/calendar/calendar.types.d.ts +0 -11
  142. package/lib/controls/checkbox/checkbox.component.d.ts +0 -65
  143. package/lib/controls/collapsible-toggle/collapsible-toggle.component.d.ts +0 -25
  144. package/lib/controls/combobox/combobox.component.d.ts +0 -418
  145. package/lib/controls/date-input/date-input-selection-strategies/date-input-selection-strategy-base.d.ts +0 -42
  146. package/lib/controls/date-input/date-input-selection-strategies/day-selection-strategy.d.ts +0 -21
  147. package/lib/controls/date-input/date-input-selection-strategies/last-28-days-selection-strategy.d.ts +0 -21
  148. package/lib/controls/date-input/date-input-selection-strategies/last-7-days-selection-strategy.d.ts +0 -21
  149. package/lib/controls/date-input/date-input-selection-strategies/month-selection-strategy.d.ts +0 -18
  150. package/lib/controls/date-input/date-input-selection-strategies/quarter-selection-strategy.d.ts +0 -18
  151. package/lib/controls/date-input/date-input-selection-strategies/range-selection-strategy.d.ts +0 -21
  152. package/lib/controls/date-input/date-input-selection-strategies/year-selection-strategy.d.ts +0 -20
  153. package/lib/controls/date-input/date-input.component.d.ts +0 -115
  154. package/lib/controls/date-input/date-input.types.d.ts +0 -62
  155. package/lib/controls/dropdown/dropdown.component.d.ts +0 -161
  156. package/lib/controls/file-upload/file-upload.component.d.ts +0 -124
  157. package/lib/controls/form-control/form-control.component.d.ts +0 -28
  158. package/lib/controls/form-control-base.d.ts +0 -110
  159. package/lib/controls/form-control-label/form-control-label.component.d.ts +0 -73
  160. package/lib/controls/form-group/form-group.component.d.ts +0 -105
  161. package/lib/controls/help-popover/help-popover.component.d.ts +0 -11
  162. package/lib/controls/item-picker/item-picker.component.d.ts +0 -164
  163. package/lib/controls/link-button/link-button.component.d.ts +0 -5
  164. package/lib/controls/menu/menu.component.d.ts +0 -255
  165. package/lib/controls/navigation/link-item.d.ts +0 -32
  166. package/lib/controls/navigation/nav-group.d.ts +0 -18
  167. package/lib/controls/navigation/nav-item-active.directive.d.ts +0 -42
  168. package/lib/controls/navigation/nav-item.d.ts +0 -31
  169. package/lib/controls/numericbox/numericbox.component.d.ts +0 -148
  170. package/lib/controls/popover/popover.component.d.ts +0 -51
  171. package/lib/controls/radio-button/radio-button-option.d.ts +0 -19
  172. package/lib/controls/radio-button/radio-button.component.d.ts +0 -53
  173. package/lib/controls/select/select.component.d.ts +0 -44
  174. package/lib/controls/tabs/tabs.component.d.ts +0 -30
  175. package/lib/controls/textbox/textbox.component.d.ts +0 -107
  176. package/lib/core/cache.service.d.ts +0 -33
  177. package/lib/core/custom-validators.d.ts +0 -20
  178. package/lib/core/date-time-helper.d.ts +0 -101
  179. package/lib/core/error.service.d.ts +0 -20
  180. package/lib/core/router-helper.service.d.ts +0 -48
  181. package/lib/core/scroll.service.d.ts +0 -36
  182. package/lib/core/telemetry-tracker.service.d.ts +0 -13
  183. package/lib/core/telemetry.service.d.ts +0 -31
  184. package/lib/core/validation-message.service.d.ts +0 -26
  185. package/lib/core/validation-patterns.d.ts +0 -22
  186. package/lib/core/window.service.d.ts +0 -116
  187. package/lib/display/app-bar/app-bar.component.d.ts +0 -20
  188. package/lib/display/avatar/avatar.component.d.ts +0 -35
  189. package/lib/display/avatar/avatar.service.d.ts +0 -24
  190. package/lib/display/confirm/confirm.component.d.ts +0 -123
  191. package/lib/display/dialog/dialog-content.d.ts +0 -19
  192. package/lib/display/dialog/dialog-group/dialog-group.component.d.ts +0 -32
  193. package/lib/display/dialog/dialog-types.d.ts +0 -130
  194. package/lib/display/dialog/dialog.component.d.ts +0 -120
  195. package/lib/display/dialog/dialog.service.d.ts +0 -48
  196. package/lib/display/help/help-types.d.ts +0 -33
  197. package/lib/display/hierarchy/hierarchy-base.d.ts +0 -97
  198. package/lib/display/hierarchy/hierarchy-mocks.spec.d.ts +0 -53
  199. package/lib/display/hierarchy/hierarchy-tree/hierarchy-tree.component.d.ts +0 -34
  200. package/lib/display/item-display/item-display.component.d.ts +0 -43
  201. package/lib/display/json-display/json-display.component.d.ts +0 -16
  202. package/lib/display/resizable/resizable-base.d.ts +0 -67
  203. package/lib/display/resizable/resizable.component.d.ts +0 -31
  204. package/lib/display/spinner/spinner.component.d.ts +0 -5
  205. package/lib/display/splash/splash.component.d.ts +0 -16
  206. package/lib/display/splash/splash.service.d.ts +0 -22
  207. package/lib/display/table/resizable-column.component.d.ts +0 -10
  208. package/lib/display/table/resizable-table.directive.d.ts +0 -93
  209. package/lib/display/table/searchable-table.component.d.ts +0 -206
  210. package/lib/display/table/table-detail-row.component.d.ts +0 -8
  211. package/lib/display/table/table-locked-column.component.d.ts +0 -20
  212. package/lib/display/table/table-master-header-row.component.d.ts +0 -9
  213. package/lib/display/table/table-master-row.component.d.ts +0 -113
  214. package/lib/display/table/table-pagination.component.d.ts +0 -91
  215. package/lib/display/table/table-selectable-row.component.d.ts +0 -102
  216. package/lib/display/table/table.component.d.ts +0 -121
  217. package/lib/display/tags/tag.d.ts +0 -18
  218. package/lib/display/tags/tags.component.d.ts +0 -48
  219. package/lib/display/toast/toast/toast.component.d.ts +0 -23
  220. package/lib/display/toast/toast-types.d.ts +0 -24
  221. package/lib/display/toast/toast.service.d.ts +0 -20
  222. package/lib/display/toast/toaster/toaster.component.d.ts +0 -35
  223. package/lib/display/tooltip/tooltip.component.d.ts +0 -70
  224. package/lib/display/tooltip/tooltip.service.d.ts +0 -16
  225. package/lib/display/tooltip-directive/tooltip.directive.d.ts +0 -44
  226. package/lib/display/tour/tour-types.d.ts +0 -70
  227. package/lib/display/tour/tour.component.d.ts +0 -147
  228. package/lib/display/tour/tour.service.d.ts +0 -38
  229. package/lib/display/tree/tree.component.d.ts +0 -75
  230. package/lib/display/view-overlay/view-overlay.component.d.ts +0 -38
  231. package/lib/shared/directives/click-area-for/click-area-for.directive.d.ts +0 -14
  232. package/lib/shared/directives/if-viewport-width/if-viewport-width.directive.d.ts +0 -60
  233. package/lib/shared/directives/keyboard-nav-container/keyboard-nav-container.directive.d.ts +0 -23
  234. package/lib/shared/directives/popup/popup-container.directive.d.ts +0 -101
  235. package/lib/shared/display/pipes/date-display.pipe.d.ts +0 -21
  236. package/lib/shared/display/pipes/highlight-text.pipe.d.ts +0 -9
  237. package/lib/shared/display/pipes/relative-date.pipe.d.ts +0 -36
  238. package/lib/shared/display/pipes/row-count.pipe.d.ts +0 -23
  239. package/lib/shared/display/pipes/time-display.pipe.d.ts +0 -18
  240. package/lib/shared/display.d.ts +0 -42
  241. package/lib/shared/form-group.helper.d.ts +0 -31
  242. package/lib/shared/json-helper.d.ts +0 -7
  243. package/lib/shared/lodash-helper.d.ts +0 -18
  244. package/lib/shared/page/page-base/page-base.component.d.ts +0 -259
  245. package/lib/shared/page/page-statuses.d.ts +0 -13
  246. package/lib/shared/page/page-title/page-title.component.d.ts +0 -9
  247. package/lib/shared/page/page-view/page-view.component.d.ts +0 -102
  248. package/lib/shared/testing/copy-button-base-test-injector-factory.spec.d.ts +0 -4
  249. package/lib/shared/testing/hierarchy-base-test-injector-factory.spec.d.ts +0 -4
  250. package/lib/shared/testing/page-base-component-test-helper.spec.d.ts +0 -30
  251. package/lib/shared/testing/page-base-component-test-injector-factory.spec.d.ts +0 -28
  252. package/lib/shared/testing/public-mocks.spec.d.ts +0 -90
  253. package/lib/shared/testing/spy-factory.spec.d.ts +0 -27
  254. package/lib/shared/testing/translation-mocks.spec.d.ts +0 -30
  255. package/lib/shared/user-preference.service.d.ts +0 -13
  256. package/lib/shared/wizard/wizard-base/wizard-base.component.d.ts +0 -134
  257. package/lib/shared/wizard/wizard-buttons/wizard-buttons.component.d.ts +0 -27
  258. package/lib/shared/wizard/wizard-progress/wizard-progress.component.d.ts +0 -10
  259. package/public-api.d.ts +0 -113
  260. package/schematics/collection.json +0 -10
  261. package/schematics/rxjs-7-upgrade/index.d.ts +0 -3
  262. package/schematics/rxjs-7-upgrade/index.js +0 -68
  263. package/schematics/rxjs-7-upgrade/index.js.map +0 -1
  264. package/schematics/rxjs-7-upgrade/schema.d.ts +0 -4
  265. package/schematics/rxjs-7-upgrade/schema.js +0 -3
  266. package/schematics/rxjs-7-upgrade/schema.js.map +0 -1
  267. package/schematics/rxjs-7-upgrade/schema.json +0 -14
  268. package/schematics/utilities/typescript.d.ts +0 -7
  269. package/schematics/utilities/typescript.js +0 -42
  270. package/schematics/utilities/typescript.js.map +0 -1
  271. package/schematics/utilities/workspace.d.ts +0 -8
  272. package/schematics/utilities/workspace.js +0 -72
  273. package/schematics/utilities/workspace.js.map +0 -1
  274. package/src/assets/images/email-icon.png +0 -0
  275. package/src/assets/images/email-logo.png +0 -0
  276. package/src/assets/images/favicon-ech.svg +0 -7
  277. package/src/assets/images/favicon-esa.svg +0 -6
  278. package/src/assets/images/favicon-eum.svg +0 -6
  279. package/src/assets/images/favicon.svg +0 -5
  280. package/src/assets/images/icon-carbonhub.svg +0 -10
  281. package/src/assets/images/icon-eum.svg +0 -5
  282. package/src/assets/images/icon-ucp.svg +0 -5
  283. package/src/assets/images/icon-wattics.svg +0 -5
  284. package/src/assets/images/icon.svg +0 -4
  285. package/src/assets/images/logo.svg +0 -3
  286. package/src/assets/images/splash.gif +0 -0
  287. package/src/assets/locales/en_US.json +0 -59
  288. package/src/assets/scripts/unsupported-browser.js +0 -17
  289. package/src/styles/_base.scss +0 -38
  290. package/src/styles/_colors.scss +0 -96
  291. package/src/styles/_core.scss +0 -4
  292. package/src/styles/_functions.scss +0 -114
  293. package/src/styles/_global-variables.scss +0 -232
  294. package/src/styles/_icons.scss +0 -24
  295. package/src/styles/bootstrap/_grid.scss +0 -34
  296. package/src/styles/bootstrap/_reboot.scss +0 -323
  297. package/src/styles/components/_card.scss +0 -21
  298. package/src/styles/components/_link-icons.scss +0 -38
  299. package/src/styles/components/_splash.scss +0 -57
  300. package/src/styles/components/_unsupported-browsers.scss +0 -24
  301. package/src/styles/email/_email-base.scss +0 -228
  302. package/src/styles/email/email.scss +0 -43
  303. package/src/styles/index.scss +0 -27
  304. package/src/styles/mixins/_animations.scss +0 -18
  305. package/src/styles/mixins/_button-base.scss +0 -185
  306. package/src/styles/mixins/_card-base.scss +0 -40
  307. package/src/styles/mixins/_common.scss +0 -52
  308. package/src/styles/mixins/_dialog-base.scss +0 -96
  309. package/src/styles/mixins/_form-control-base.scss +0 -641
  310. package/src/styles/mixins/_login.scss +0 -74
  311. package/src/styles/mixins/_menu-base.scss +0 -153
  312. package/src/styles/mixins/_overlay-base.scss +0 -33
  313. package/src/styles/mixins/_resizable-base.scss +0 -57
  314. package/src/styles/mixins/_spinner-base.scss +0 -34
  315. package/src/styles/mixins/_table-base.scss +0 -298
  316. package/src/styles/mixins/_tabs-base.scss +0 -110
  317. package/src/styles/mixins/_tags-base.scss +0 -116
  318. package/src/styles/mixins/_text.scss +0 -89
  319. package/src/styles/mixins.scss +0 -15
  320. package/src/styles/utilities/_borders.scss +0 -30
  321. package/src/styles/utilities/_common.scss +0 -49
  322. package/src/styles/utilities/_layout.scss +0 -116
  323. package/src/styles/utilities/_spacing.scss +0 -65
  324. package/src/styles/utilities/_text.scss +0 -139
package/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@energycap/components" />
5
- export * from './public-api';
@@ -1,92 +0,0 @@
1
- import { ModuleWithProviders, Provider } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./controls/button/button.component";
4
- import * as i2 from "./controls/tabs/tabs.component";
5
- import * as i3 from "./controls/textbox/textbox.component";
6
- import * as i4 from "./controls/navigation/nav-item-active.directive";
7
- import * as i5 from "./display/spinner/spinner.component";
8
- import * as i6 from "./display/view-overlay/view-overlay.component";
9
- import * as i7 from "./controls/banner/banner.component";
10
- import * as i8 from "./display/table/resizable-table.directive";
11
- import * as i9 from "./display/table/table.component";
12
- import * as i10 from "./display/table/searchable-table.component";
13
- import * as i11 from "./controls/combobox/combobox.component";
14
- import * as i12 from "./controls/menu/menu.component";
15
- import * as i13 from "./shared/directives/popup/popup-container.directive";
16
- import * as i14 from "./controls/dropdown/dropdown.component";
17
- import * as i15 from "./display/confirm/confirm.component";
18
- import * as i16 from "./display/dialog/dialog.component";
19
- import * as i17 from "./shared/display/pipes/date-display.pipe";
20
- import * as i18 from "./shared/display/pipes/time-display.pipe";
21
- import * as i19 from "./shared/testing/public-mocks.spec";
22
- import * as i20 from "./controls/radio-button/radio-button.component";
23
- import * as i21 from "./controls/checkbox/checkbox.component";
24
- import * as i22 from "./controls/numericbox/numericbox.component";
25
- import * as i23 from "./display/avatar/avatar.component";
26
- import * as i24 from "./display/app-bar/app-bar.component";
27
- import * as i25 from "./display/splash/splash.component";
28
- import * as i26 from "./shared/directives/if-viewport-width/if-viewport-width.directive";
29
- import * as i27 from "./shared/directives/click-area-for/click-area-for.directive";
30
- import * as i28 from "./controls/collapsible-toggle/collapsible-toggle.component";
31
- import * as i29 from "./display/table/table-master-row.component";
32
- import * as i30 from "./display/table/table-master-header-row.component";
33
- import * as i31 from "./display/table/table-detail-row.component";
34
- import * as i32 from "./display/table/table-locked-column.component";
35
- import * as i33 from "./display/table/table-selectable-row.component";
36
- import * as i34 from "./controls/popover/popover.component";
37
- import * as i35 from "./display/table/table-pagination.component";
38
- import * as i36 from "./shared/display/pipes/row-count.pipe";
39
- import * as i37 from "./controls/button/copy-button.directive";
40
- import * as i38 from "./display/tags/tags.component";
41
- import * as i39 from "./controls/form-control/form-control.component";
42
- import * as i40 from "./controls/select/select.component";
43
- import * as i41 from "./display/item-display/item-display.component";
44
- import * as i42 from "./display/table/resizable-column.component";
45
- import * as i43 from "./display/dialog/dialog-group/dialog-group.component";
46
- import * as i44 from "./controls/file-upload/file-upload.component";
47
- import * as i45 from "./controls/form-group/form-group.component";
48
- import * as i46 from "./display/json-display/json-display.component";
49
- import * as i47 from "./display/toast/toast/toast.component";
50
- import * as i48 from "./display/toast/toaster/toaster.component";
51
- import * as i49 from "./shared/page/page-view/page-view.component";
52
- import * as i50 from "./shared/page/page-title/page-title.component";
53
- import * as i51 from "./shared/wizard/wizard-progress/wizard-progress.component";
54
- import * as i52 from "./shared/wizard/wizard-buttons/wizard-buttons.component";
55
- import * as i53 from "./display/hierarchy/hierarchy-tree/hierarchy-tree.component";
56
- import * as i54 from "./display/tree/tree.component";
57
- import * as i55 from "./shared/display/pipes/relative-date.pipe";
58
- import * as i56 from "./display/resizable/resizable.component";
59
- import * as i57 from "./shared/display/pipes/highlight-text.pipe";
60
- import * as i58 from "./controls/form-control-label/form-control-label.component";
61
- import * as i59 from "./controls/item-picker/item-picker.component";
62
- import * as i60 from "./controls/help-popover/help-popover.component";
63
- import * as i61 from "./controls/link-button/link-button.component";
64
- import * as i62 from "./display/tooltip/tooltip.component";
65
- import * as i63 from "./display/tour/tour.component";
66
- import * as i64 from "./controls/button/copy-table-button.directive";
67
- import * as i65 from "./display/tooltip-directive/tooltip.directive";
68
- import * as i66 from "./controls/calendar/calendar.component";
69
- import * as i67 from "./controls/calendar/calendar-item.component";
70
- import * as i68 from "./controls/date-input/date-input.component";
71
- import * as i69 from "./shared/directives/keyboard-nav-container/keyboard-nav-container.directive";
72
- import * as i70 from "@angular/common";
73
- import * as i71 from "@angular/forms";
74
- import * as i72 from "@angular/router";
75
- import * as i73 from "@ngx-translate/core";
76
- import * as i74 from "@angular/cdk/a11y";
77
- import * as i75 from "@angular/cdk/overlay";
78
- import * as i76 from "@angular/cdk/scrolling";
79
- export type ComponentsModuleConfig = {
80
- tracker: Provider;
81
- };
82
- export declare class ComponentsModule {
83
- /**
84
- * Providing services through the forRoot pattern here ensures that the components module and the importing
85
- * module use the same singleton service instance.
86
- * For more info: https://angular.io/guide/singleton-services#the-forroot-pattern
87
- */
88
- static forRoot(config: ComponentsModuleConfig): ModuleWithProviders<ComponentsModule>;
89
- static ɵfac: i0.ɵɵFactoryDeclaration<ComponentsModule, never>;
90
- static ɵmod: i0.ɵɵNgModuleDeclaration<ComponentsModule, [typeof i1.ButtonComponent, typeof i2.TabsComponent, typeof i3.TextboxComponent, typeof i4.NavItemActiveDirective, typeof i5.SpinnerComponent, typeof i6.ViewOverlayComponent, typeof i7.BannerComponent, typeof i8.ResizableTableDirective, typeof i2.TabsComponent, typeof i9.TableComponent, typeof i10.SearchableTableComponent, typeof i11.ComboboxComponent, typeof i12.MenuComponent, typeof i13.PopupContainerDirective, typeof i14.DropdownComponent, typeof i15.ConfirmComponent, typeof i16.DialogComponent, typeof i17.DateDisplayPipe, typeof i18.TimeDisplayPipe, typeof i19.MockDateDisplayPipe, typeof i20.RadioButtonComponent, typeof i21.CheckboxComponent, typeof i22.NumericboxComponent, typeof i23.AvatarComponent, typeof i24.AppBarComponent, typeof i25.SplashComponent, typeof i26.IfViewportWidthDirective, typeof i27.ClickAreaForDirective, typeof i28.CollapsibleToggleComponent, typeof i29.TableMasterRowComponent, typeof i30.TableMasterHeaderRowComponent, typeof i31.TableDetailRowComponent, typeof i32.TableLockedColumnComponent, typeof i33.TableSelectableRowComponent, typeof i34.PopoverComponent, typeof i35.TablePaginationComponent, typeof i36.RowCountPipe, typeof i37.CopyButtonDirective, typeof i35.TablePaginationComponent, typeof i38.TagsComponent, typeof i39.FormControlComponent, typeof i40.SelectComponent, typeof i41.ItemDisplayComponent, typeof i33.TableSelectableRowComponent, typeof i42.ResizableColumnComponent, typeof i43.DialogGroupComponent, typeof i44.FileUploadComponent, typeof i45.FormGroupComponent, typeof i46.JsonDisplayComponent, typeof i47.ToastComponent, typeof i48.ToasterComponent, typeof i49.PageViewComponent, typeof i50.PageTitleComponent, typeof i51.WizardProgressComponent, typeof i52.WizardButtonsComponent, typeof i53.HierarchyTreeComponent, typeof i54.TreeComponent, typeof i55.RelativeDatePipe, typeof i56.ResizableComponent, typeof i57.HighlightTextPipe, typeof i58.FormControlLabelComponent, typeof i59.ItemPickerComponent, typeof i60.HelpPopoverComponent, typeof i61.LinkButtonComponent, typeof i62.TooltipComponent, typeof i63.TourComponent, typeof i64.CopyTableButtonDirective, typeof i65.TooltipDirective, typeof i66.CalendarComponent, typeof i67.CalendarItemComponent, typeof i68.DateInputComponent, typeof i69.KeyboardNavContainerDirective], [typeof i70.CommonModule, typeof i71.FormsModule, typeof i71.ReactiveFormsModule, typeof i72.RouterModule, typeof i73.TranslateModule, typeof i74.A11yModule, typeof i75.OverlayModule, typeof i76.ScrollingModule], [typeof i1.ButtonComponent, typeof i2.TabsComponent, typeof i3.TextboxComponent, typeof i4.NavItemActiveDirective, typeof i5.SpinnerComponent, typeof i6.ViewOverlayComponent, typeof i7.BannerComponent, typeof i2.TabsComponent, typeof i9.TableComponent, typeof i10.SearchableTableComponent, typeof i11.ComboboxComponent, typeof i12.MenuComponent, typeof i13.PopupContainerDirective, typeof i14.DropdownComponent, typeof i15.ConfirmComponent, typeof i16.DialogComponent, typeof i17.DateDisplayPipe, typeof i18.TimeDisplayPipe, typeof i20.RadioButtonComponent, typeof i21.CheckboxComponent, typeof i22.NumericboxComponent, typeof i23.AvatarComponent, typeof i24.AppBarComponent, typeof i25.SplashComponent, typeof i26.IfViewportWidthDirective, typeof i27.ClickAreaForDirective, typeof i28.CollapsibleToggleComponent, typeof i29.TableMasterRowComponent, typeof i30.TableMasterHeaderRowComponent, typeof i32.TableLockedColumnComponent, typeof i33.TableSelectableRowComponent, typeof i34.PopoverComponent, typeof i37.CopyButtonDirective, typeof i35.TablePaginationComponent, typeof i38.TagsComponent, typeof i39.FormControlComponent, typeof i40.SelectComponent, typeof i41.ItemDisplayComponent, typeof i42.ResizableColumnComponent, typeof i43.DialogGroupComponent, typeof i44.FileUploadComponent, typeof i45.FormGroupComponent, typeof i46.JsonDisplayComponent, typeof i47.ToastComponent, typeof i48.ToasterComponent, typeof i49.PageViewComponent, typeof i50.PageTitleComponent, typeof i51.WizardProgressComponent, typeof i52.WizardButtonsComponent, typeof i53.HierarchyTreeComponent, typeof i54.TreeComponent, typeof i55.RelativeDatePipe, typeof i56.ResizableComponent, typeof i57.HighlightTextPipe, typeof i58.FormControlLabelComponent, typeof i59.ItemPickerComponent, typeof i60.HelpPopoverComponent, typeof i61.LinkButtonComponent, typeof i62.TooltipComponent, typeof i63.TourComponent, typeof i64.CopyTableButtonDirective, typeof i65.TooltipDirective, typeof i66.CalendarComponent, typeof i68.DateInputComponent, typeof i69.KeyboardNavContainerDirective]>;
91
- static ɵinj: i0.ɵɵInjectorDeclaration<ComponentsModule>;
92
- }
@@ -1,50 +0,0 @@
1
- import { EventEmitter, OnChanges } from '@angular/core';
2
- import { CacheService } from '../../core/cache.service';
3
- import * as i0 from "@angular/core";
4
- export type BannerType = 'info' | 'warning' | 'error' | 'success' | 'promo';
5
- export type BannerStyle = 'normal' | 'pinned' | 'toast';
6
- export type BannerCacheEntry = {
7
- hidden: boolean;
8
- };
9
- export declare class BannerComponent implements OnChanges {
10
- private cacheService;
11
- /** hidden hides the banner */
12
- hidden: boolean;
13
- /**The ID of the component, rendered into the HTML to make it more accessible to automation */
14
- id: string;
15
- /**The type of banner which is used to determine the styling */
16
- type: BannerType;
17
- bannerStyle: BannerStyle;
18
- /**The title for the banner */
19
- title?: string;
20
- /**The text inside the banner */
21
- text?: string;
22
- /** List of strings to display inside the banner */
23
- list?: string[];
24
- /**Show an x to allow hiding the banner */
25
- showCloseBtn: boolean;
26
- /** When true, the banner will hide itself when the close button is clicked */
27
- autoHideOnClose: boolean;
28
- /**
29
- * The icon will be set to this value if it's provided.
30
- * If it's not provided, the icon will be selected based on the type input.
31
- */
32
- customIcon?: string;
33
- /** When true, the banner will automatically hide itself based on the state found in local storage */
34
- rememberClosed: boolean;
35
- /**Event to hide the banner */
36
- closed: EventEmitter<void>;
37
- /**
38
- * Icon to show on the banner.
39
- * If no value for overrideIcon is provided, will be automatically selected based on the type input.
40
- */
41
- icon: string;
42
- private readonly cacheKeyPrefix;
43
- constructor(cacheService: CacheService);
44
- ngOnChanges(): void;
45
- /** On close, explicitly hide the banner one time. If the input changes afterward then it can reappear*/
46
- close(): void;
47
- private getIconByBannerType;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<BannerComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<BannerComponent, "ec-banner", never, { "hidden": { "alias": "hidden"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "bannerStyle": { "alias": "bannerStyle"; "required": false; }; "title": { "alias": "title"; "required": false; }; "text": { "alias": "text"; "required": false; }; "list": { "alias": "list"; "required": false; }; "showCloseBtn": { "alias": "showCloseBtn"; "required": false; }; "autoHideOnClose": { "alias": "autoHideOnClose"; "required": false; }; "customIcon": { "alias": "customIcon"; "required": false; }; "rememberClosed": { "alias": "rememberClosed"; "required": false; }; }, { "closed": "closed"; }, never, ["*"], false, never>;
50
- }
@@ -1,78 +0,0 @@
1
- import { AfterViewInit, ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * "Submit" button type is deprecated. Use the isSubmit input instead.
5
- * This allows you to make any button type a submit button.
6
- *
7
- * "Link" button type is deprecated. Use the LinkButtonComponent instead.
8
- */
9
- export type ButtonType = "primary" | "secondary" | "common" | "icon" | "link" | "text" | "submit" | "danger" | "danger-text";
10
- export declare class ButtonComponent implements OnInit, AfterViewInit {
11
- /**
12
- * Id to set
13
- */
14
- id?: string;
15
- /**
16
- * Is the button disabled?
17
- */
18
- disabled?: boolean;
19
- /**
20
- * The icon class for a button that has an image
21
- */
22
- icon?: string;
23
- /**
24
- * The text on the button
25
- */
26
- label?: string;
27
- /**
28
- * Text to place in a badge to the right of the button
29
- */
30
- badge?: string | number;
31
- /**
32
- * The tabindex of the control
33
- */
34
- tabindex?: number;
35
- /**
36
- * The type of button
37
- */
38
- type?: ButtonType;
39
- /**
40
- * The pending status of the control, can be used to provide feedback to the user that something is in process or (in combination with `[pendingIcon]`) some other status, e.g success.
41
- */
42
- pending?: boolean;
43
- /** The icon to display when the button is in the pending state. Defaults to 'icon-ui-loading' */
44
- pendingIcon: string;
45
- /**
46
- * Provide a custom template for the button. This will override icon, label and badge
47
- * if specified. Focus, hover and disabled styles still apply.
48
- */
49
- customTemplate?: TemplateRef<any>;
50
- /**
51
- * If true, the button element's type will be set to submit so that hitting "enter"
52
- * on a form will trigger the button's action.
53
- */
54
- isSubmit?: boolean;
55
- /** Focuses the button on init when set to true */
56
- autofocus: boolean;
57
- /**
58
- * Emit an event when the button element is clicked (not the icon)
59
- */
60
- clicked: EventEmitter<any>;
61
- buttonElement: ElementRef;
62
- constructor();
63
- /**
64
- * Ensure label or icon is set
65
- *
66
- */
67
- ngOnInit(): void;
68
- ngAfterViewInit(): void;
69
- /**
70
- * Event handler for click event on the button element.
71
- * Blur the button so focus style does not persist
72
- *
73
- */
74
- onClick(event: any): void;
75
- focus(): void;
76
- static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
77
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ec-button", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pending": { "alias": "pending"; "required": false; }; "pendingIcon": { "alias": "pendingIcon"; "required": false; }; "customTemplate": { "alias": "customTemplate"; "required": false; }; "isSubmit": { "alias": "isSubmit"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; }, { "clicked": "clicked"; }, never, never, false, never>;
78
- }
@@ -1,20 +0,0 @@
1
- import { OnInit, OnDestroy, Injector } from '@angular/core';
2
- import { ClipboardService } from 'ngx-clipboard';
3
- import { ButtonComponent } from './button.component';
4
- import * as i0 from "@angular/core";
5
- export declare abstract class CopyButtonBaseDirective implements OnInit, OnDestroy {
6
- copySuccess: boolean;
7
- copyFailed: boolean;
8
- button: ButtonComponent;
9
- protected clipboardService: ClipboardService;
10
- /** Used to unsubscribe when the directive is removed from the DOM */
11
- private destroyed;
12
- constructor(button: ButtonComponent, injector: Injector);
13
- ngOnInit(): void;
14
- ngOnDestroy(): void;
15
- private onClick;
16
- /** Called to get context-specific value for clipboard copying */
17
- protected abstract getDataForClipboard(): string | null;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<CopyButtonBaseDirective, never>;
19
- static ɵdir: i0.ɵɵDirectiveDeclaration<CopyButtonBaseDirective, never, never, {}, {}, never, never, false, never>;
20
- }
@@ -1,14 +0,0 @@
1
- import { Injector } from '@angular/core';
2
- import { AbstractControl } from '@angular/forms';
3
- import { ButtonComponent } from './button.component';
4
- import { CopyButtonBaseDirective } from './copy-button-base.directive';
5
- import * as i0 from "@angular/core";
6
- export declare class CopyButtonDirective extends CopyButtonBaseDirective {
7
- button: ButtonComponent;
8
- protected injector: Injector;
9
- copyFormModel?: AbstractControl;
10
- constructor(button: ButtonComponent, injector: Injector);
11
- protected getDataForClipboard(): string;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<CopyButtonDirective, [{ host: true; }, null]>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<CopyButtonDirective, "[ecCopyButton]", never, { "copyFormModel": { "alias": "ecCopyButton"; "required": false; }; }, {}, never, never, false, never>;
14
- }
@@ -1,19 +0,0 @@
1
- import { Injector } from '@angular/core';
2
- import { ButtonComponent } from './button.component';
3
- import { CopyButtonBaseDirective } from './copy-button-base.directive';
4
- import * as i0 from "@angular/core";
5
- export declare class CopyTableButtonDirective extends CopyButtonBaseDirective {
6
- button: ButtonComponent;
7
- protected injector: Injector;
8
- tableId: string;
9
- constructor(button: ButtonComponent, injector: Injector);
10
- /** Grabs table rows and converts them to an Array we can work with called rows
11
- * If rows is empty it means the tableId provided was not found and so we trigger the unsuccessful
12
- * path in the base directive. If tableId is good, we map over the rows and extract the data in
13
- * each cell as a string value before joining it all as tab & line delimited values so the user may
14
- * paste it in an excel spreadsheet
15
- */
16
- protected getDataForClipboard(): string | null;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<CopyTableButtonDirective, [{ host: true; }, null]>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<CopyTableButtonDirective, "[ecCopyTableButton]", never, { "tableId": { "alias": "ecCopyTableButton"; "required": false; }; }, {}, never, never, false, never>;
19
- }
@@ -1,22 +0,0 @@
1
- import { OnChanges } from '@angular/core';
2
- import { DateInput } from '../date-input/date-input.types';
3
- import { Calendar } from './calendar.types';
4
- import * as i0 from "@angular/core";
5
- export declare class CalendarItemComponent implements OnChanges {
6
- item?: Calendar.Item;
7
- selection?: DateInput.Selection;
8
- view: Calendar.View;
9
- minDate: Date;
10
- maxDate: Date;
11
- today: boolean;
12
- selected: boolean;
13
- outsideActiveMonth: boolean;
14
- hidden: boolean;
15
- get disabled(): true | undefined;
16
- constructor();
17
- ngOnChanges(): void;
18
- private isSelected;
19
- private isHidden;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<CalendarItemComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<CalendarItemComponent, "button[ec-calendar-item]", never, { "item": { "alias": "item"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "view": { "alias": "view"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; }, {}, never, ["*"], false, never>;
22
- }
@@ -1,52 +0,0 @@
1
- import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { DateInput } from '../date-input/date-input.types';
3
- import { Calendar } from './calendar.types';
4
- import * as i0 from "@angular/core";
5
- export declare class CalendarComponent implements OnChanges, OnInit {
6
- id: string;
7
- selection: DateInput.Selection | null;
8
- selectionMode: DateInput.SelectionMode;
9
- minDate: Date;
10
- maxDate: Date;
11
- dateSelected: EventEmitter<Date>;
12
- /** Determines the current view of the calendar. */
13
- view: Calendar.View;
14
- viewChange: EventEmitter<Calendar.View>;
15
- /** Month of the active date displayed in the header buttons. */
16
- month?: string;
17
- /** Year of the active date displayed in the header buttons. */
18
- year?: string;
19
- /** Range of years to display in the year view. */
20
- yearRange?: string;
21
- /** Array of calendar item rows to display in the calendar. */
22
- calendarItems: Calendar.Item[][];
23
- /** Weekday labels to show at the top of the calendar in day view. */
24
- weekDays: string[];
25
- disablePreviousButton: boolean;
26
- disableNextButton: boolean;
27
- trackByDateRow: (index: number, row: Calendar.Item[]) => string;
28
- trackByDate: (index: number, item: Calendar.Item) => string;
29
- ngOnChanges(changes: SimpleChanges): void;
30
- ngOnInit(): void;
31
- onNextClick(): void;
32
- onPreviousClick(): void;
33
- /** Switches the calendar to month view. */
34
- onMonthClick(): void;
35
- /** Switches the calendar to year view. */
36
- onYearClick(): void;
37
- onItemSelected(item: Calendar.Item): void;
38
- private onYearSelected;
39
- private onQuarterSelected;
40
- private onMonthSelected;
41
- private onDaySelected;
42
- private drawCalendar;
43
- private getCalendarItems;
44
- private getDayViewItems;
45
- private getMonthViewItems;
46
- private getQuarterViewItems;
47
- private getYearViewItems;
48
- private updateNextPreviousStates;
49
- private getLastItem;
50
- static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "ec-calendar", never, { "id": { "alias": "id"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "view": { "alias": "view"; "required": false; }; }, { "dateSelected": "dateSelected"; "viewChange": "viewChange"; }, never, never, false, never>;
52
- }
@@ -1,11 +0,0 @@
1
- export declare namespace Calendar {
2
- type ViewMode = 'day' | 'month' | 'quarter' | 'year';
3
- type View = {
4
- mode: ViewMode;
5
- date: Date;
6
- };
7
- type Item = {
8
- label: string;
9
- date: Date;
10
- };
11
- }
@@ -1,65 +0,0 @@
1
- import { AfterViewInit, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
2
- import { AbstractControl } from '@angular/forms';
3
- import { ValidationMessageService } from '../../core/validation-message.service';
4
- import { ClickableElement } from '../../shared/directives/click-area-for/click-area-for.directive';
5
- import { FormGroupHelper } from '../../shared/form-group.helper';
6
- import { FormControlBase } from "../form-control-base";
7
- import * as i0 from "@angular/core";
8
- export type CheckboxState = 'unchecked' | 'indeterminate' | 'checked';
9
- export declare class CheckboxComponent extends FormControlBase implements AfterViewInit, ClickableElement, OnChanges {
10
- protected validationMessageService: ValidationMessageService;
11
- protected formGroupHelper: FormGroupHelper;
12
- /**
13
- * The name of the checkbox input element
14
- */
15
- name: string;
16
- /**
17
- * An object with a collection of FormControls who can only have a value of true or false.
18
- * A FormGroup or FormArray work fine, or a custom object reference is possible too
19
- * The master checkbox will reattach to dependent controls any time this reference changes
20
- * The controls should be flat (i.e. if using a FormGroup then it cannot have nested FormGroups within it).
21
- *
22
- * For example:
23
- * dependentCheckboxesGroup = new FormGroup({child1: new FormControl(false), child2: new FormControl(false), child3: new FormControl(false)})
24
- */
25
- dependentCheckboxesGroup?: {
26
- controls: AbstractControl[] | {
27
- [key: string]: AbstractControl;
28
- };
29
- };
30
- /**
31
- * Determines whether to ignore or include disabled dependent checkboxes in the check to determine the checkbox state.
32
- */
33
- ignoreDisabledDependents: boolean;
34
- /**
35
- * Reference to the checkbox input control
36
- */
37
- protected inputElement: ElementRef;
38
- /**
39
- * If the checkbox is a master checkbox (i.e. it has a dependentCheckboxesGroup),
40
- * indeterminate is true if there are some checked dependents and some unchecked dependents.
41
- */
42
- indeterminate: boolean;
43
- private ignoreCall;
44
- /** Fired whenever the dependent checkboxes are changed to clear out subscriptions to the previous dependents */
45
- private resetDependentSubscriptions;
46
- constructor(validationMessageService: ValidationMessageService, formGroupHelper: FormGroupHelper);
47
- ngAfterViewInit(): void;
48
- ngOnChanges(changes: SimpleChanges): void;
49
- dispatchEvent(event: Event): void;
50
- /**
51
- * Create watchers that allow the master and dependent checkbox states to stay in sync as the user interacts with them.
52
- * Dependents can update the master when their values change and the master updates dependents when the value changes.
53
- */
54
- private setupDependents;
55
- /**
56
- * If all dependents are true, the master should be true and determinate.
57
- * If all dependents are false, the master should be false and determinate.
58
- * If some dependents are true and some dependents are false, the master should be false and indeterminate.
59
- *
60
- * If ignoreDisabledDependents is true, does not include the disabled dependents when checking values
61
- */
62
- private updateMasterState;
63
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
64
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ec-checkbox", never, { "name": { "alias": "name"; "required": false; }; "dependentCheckboxesGroup": { "alias": "dependentCheckboxesGroup"; "required": false; }; "ignoreDisabledDependents": { "alias": "ignoreDisabledDependents"; "required": false; }; }, {}, never, never, false, never>;
65
- }
@@ -1,25 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CollapsibleToggleComponent {
4
- /**
5
- * Identifier to pass to the button
6
- */
7
- id?: string;
8
- /**
9
- * The expanded state.
10
- * The toggle icon is changed in the template based on the value of expanded.
11
- */
12
- expanded: boolean;
13
- /** Button tabindex */
14
- tabindex?: number;
15
- /**
16
- * Emits the value of expanded to the parent component for two-way binding
17
- */
18
- expandedChange: EventEmitter<boolean>;
19
- /**
20
- * On click, toggle the value of exanded and emit the current value
21
- */
22
- onToggle(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleToggleComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<CollapsibleToggleComponent, "ec-collapsible-toggle", never, { "id": { "alias": "id"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, { "expandedChange": "expandedChange"; }, never, never, false, never>;
25
- }