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

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/esm2022/energycap-components.mjs +5 -0
  2. package/esm2022/lib/components.module.mjs +423 -0
  3. package/esm2022/lib/controls/banner/banner.component.mjs +109 -0
  4. package/esm2022/lib/controls/button/button.component.mjs +106 -0
  5. package/esm2022/lib/controls/button/copy-button-base.directive.mjs +67 -0
  6. package/esm2022/lib/controls/button/copy-button.directive.mjs +28 -0
  7. package/esm2022/lib/controls/button/copy-table-button.directive.mjs +43 -0
  8. package/esm2022/lib/controls/calendar/calendar-item.component.mjs +91 -0
  9. package/esm2022/lib/controls/calendar/calendar.component.mjs +248 -0
  10. package/esm2022/lib/controls/calendar/calendar.types.mjs +2 -0
  11. package/esm2022/lib/controls/checkbox/checkbox.component.mjs +140 -0
  12. package/esm2022/lib/controls/collapsible-toggle/collapsible-toggle.component.mjs +38 -0
  13. package/esm2022/lib/controls/combobox/combobox.component.mjs +879 -0
  14. package/esm2022/lib/controls/date-input/date-input-selection-strategies/date-input-selection-strategy-base.mjs +57 -0
  15. package/esm2022/lib/controls/date-input/date-input-selection-strategies/day-selection-strategy.mjs +62 -0
  16. package/esm2022/lib/controls/date-input/date-input-selection-strategies/last-28-days-selection-strategy.mjs +100 -0
  17. package/esm2022/lib/controls/date-input/date-input-selection-strategies/last-7-days-selection-strategy.mjs +101 -0
  18. package/esm2022/lib/controls/date-input/date-input-selection-strategies/month-selection-strategy.mjs +76 -0
  19. package/esm2022/lib/controls/date-input/date-input-selection-strategies/quarter-selection-strategy.mjs +79 -0
  20. package/esm2022/lib/controls/date-input/date-input-selection-strategies/range-selection-strategy.mjs +210 -0
  21. package/esm2022/lib/controls/date-input/date-input-selection-strategies/year-selection-strategy.mjs +81 -0
  22. package/esm2022/lib/controls/date-input/date-input.component.mjs +464 -0
  23. package/esm2022/lib/controls/date-input/date-input.types.mjs +44 -0
  24. package/esm2022/lib/controls/dropdown/dropdown.component.mjs +243 -0
  25. package/esm2022/lib/controls/file-upload/file-upload.component.mjs +261 -0
  26. package/esm2022/lib/controls/form-control/form-control.component.mjs +98 -0
  27. package/esm2022/lib/controls/form-control-base.mjs +151 -0
  28. package/esm2022/lib/controls/form-control-label/form-control-label.component.mjs +136 -0
  29. package/esm2022/lib/controls/form-group/form-group.component.mjs +261 -0
  30. package/esm2022/lib/controls/help-popover/help-popover.component.mjs +31 -0
  31. package/esm2022/lib/controls/item-picker/item-picker.component.mjs +329 -0
  32. package/esm2022/lib/controls/link-button/link-button.component.mjs +11 -0
  33. package/esm2022/lib/controls/menu/menu.component.mjs +485 -0
  34. package/esm2022/lib/controls/navigation/link-item.mjs +2 -0
  35. package/esm2022/lib/controls/navigation/nav-group.mjs +39 -0
  36. package/esm2022/lib/controls/navigation/nav-item-active.directive.mjs +92 -0
  37. package/esm2022/lib/controls/navigation/nav-item.mjs +2 -0
  38. package/esm2022/lib/controls/numericbox/numericbox.component.mjs +372 -0
  39. package/esm2022/lib/controls/popover/popover.component.mjs +117 -0
  40. package/esm2022/lib/controls/radio-button/radio-button-option.mjs +3 -0
  41. package/esm2022/lib/controls/radio-button/radio-button.component.mjs +82 -0
  42. package/esm2022/lib/controls/select/select.component.mjs +88 -0
  43. package/esm2022/lib/controls/tabs/tabs.component.mjs +47 -0
  44. package/esm2022/lib/controls/textbox/textbox.component.mjs +155 -0
  45. package/esm2022/lib/core/cache.service.mjs +105 -0
  46. package/esm2022/lib/core/custom-validators.mjs +29 -0
  47. package/esm2022/lib/core/date-time-helper.mjs +228 -0
  48. package/esm2022/lib/core/error.service.mjs +61 -0
  49. package/esm2022/lib/core/router-helper.service.mjs +111 -0
  50. package/esm2022/lib/core/scroll.service.mjs +89 -0
  51. package/esm2022/lib/core/telemetry-tracker.service.mjs +16 -0
  52. package/esm2022/lib/core/telemetry.service.mjs +38 -0
  53. package/esm2022/lib/core/validation-message.service.mjs +185 -0
  54. package/esm2022/lib/core/validation-patterns.mjs +31 -0
  55. package/esm2022/lib/core/window.service.mjs +186 -0
  56. package/esm2022/lib/display/app-bar/app-bar.component.mjs +46 -0
  57. package/esm2022/lib/display/avatar/avatar.component.mjs +67 -0
  58. package/esm2022/lib/display/avatar/avatar.service.mjs +64 -0
  59. package/esm2022/lib/display/confirm/confirm.component.mjs +168 -0
  60. package/esm2022/lib/display/dialog/dialog-content.mjs +2 -0
  61. package/esm2022/lib/display/dialog/dialog-group/dialog-group.component.mjs +63 -0
  62. package/esm2022/lib/display/dialog/dialog-types.mjs +77 -0
  63. package/esm2022/lib/display/dialog/dialog.component.mjs +281 -0
  64. package/esm2022/lib/display/dialog/dialog.service.mjs +71 -0
  65. package/esm2022/lib/display/help/help-types.mjs +2 -0
  66. package/esm2022/lib/display/hierarchy/hierarchy-base.mjs +111 -0
  67. package/esm2022/lib/display/hierarchy/hierarchy-mocks.spec.mjs +54 -0
  68. package/esm2022/lib/display/hierarchy/hierarchy-tree/hierarchy-tree.component.mjs +61 -0
  69. package/esm2022/lib/display/item-display/item-display.component.mjs +81 -0
  70. package/esm2022/lib/display/json-display/json-display.component.mjs +47 -0
  71. package/esm2022/lib/display/resizable/resizable-base.mjs +120 -0
  72. package/esm2022/lib/display/resizable/resizable.component.mjs +57 -0
  73. package/esm2022/lib/display/spinner/spinner.component.mjs +12 -0
  74. package/esm2022/lib/display/splash/splash.component.mjs +42 -0
  75. package/esm2022/lib/display/splash/splash.service.mjs +35 -0
  76. package/esm2022/lib/display/table/resizable-column.component.mjs +20 -0
  77. package/esm2022/lib/display/table/resizable-table.directive.mjs +227 -0
  78. package/esm2022/lib/display/table/searchable-table.component.mjs +342 -0
  79. package/esm2022/lib/display/table/table-detail-row.component.mjs +28 -0
  80. package/esm2022/lib/display/table/table-locked-column.component.mjs +58 -0
  81. package/esm2022/lib/display/table/table-master-header-row.component.mjs +14 -0
  82. package/esm2022/lib/display/table/table-master-row.component.mjs +163 -0
  83. package/esm2022/lib/display/table/table-pagination.component.mjs +155 -0
  84. package/esm2022/lib/display/table/table-selectable-row.component.mjs +235 -0
  85. package/esm2022/lib/display/table/table.component.mjs +249 -0
  86. package/esm2022/lib/display/tags/tag.mjs +18 -0
  87. package/esm2022/lib/display/tags/tags.component.mjs +77 -0
  88. package/esm2022/lib/display/toast/toast/toast.component.mjs +77 -0
  89. package/esm2022/lib/display/toast/toast-types.mjs +8 -0
  90. package/esm2022/lib/display/toast/toast.service.mjs +35 -0
  91. package/esm2022/lib/display/toast/toaster/toaster.component.mjs +114 -0
  92. package/esm2022/lib/display/tooltip/tooltip.component.mjs +28 -0
  93. package/esm2022/lib/display/tooltip/tooltip.service.mjs +78 -0
  94. package/esm2022/lib/display/tooltip-directive/tooltip.directive.mjs +173 -0
  95. package/esm2022/lib/display/tour/tour-types.mjs +34 -0
  96. package/esm2022/lib/display/tour/tour.component.mjs +398 -0
  97. package/esm2022/lib/display/tour/tour.service.mjs +75 -0
  98. package/esm2022/lib/display/tree/tree.component.mjs +135 -0
  99. package/esm2022/lib/display/view-overlay/view-overlay.component.mjs +58 -0
  100. package/esm2022/lib/shared/directives/click-area-for/click-area-for.directive.mjs +32 -0
  101. package/esm2022/lib/shared/directives/if-viewport-width/if-viewport-width.directive.mjs +111 -0
  102. package/esm2022/lib/shared/directives/keyboard-nav-container/keyboard-nav-container.directive.mjs +100 -0
  103. package/esm2022/lib/shared/directives/popup/popup-container.directive.mjs +166 -0
  104. package/esm2022/lib/shared/display/pipes/date-display.pipe.mjs +50 -0
  105. package/esm2022/lib/shared/display/pipes/highlight-text.pipe.mjs +30 -0
  106. package/esm2022/lib/shared/display/pipes/relative-date.pipe.mjs +62 -0
  107. package/esm2022/lib/shared/display/pipes/row-count.pipe.mjs +48 -0
  108. package/esm2022/lib/shared/display/pipes/time-display.pipe.mjs +41 -0
  109. package/esm2022/lib/shared/display.mjs +6 -0
  110. package/esm2022/lib/shared/form-group.helper.mjs +67 -0
  111. package/esm2022/lib/shared/json-helper.mjs +19 -0
  112. package/esm2022/lib/shared/lodash-helper.mjs +52 -0
  113. package/esm2022/lib/shared/page/page-base/page-base.component.mjs +387 -0
  114. package/esm2022/lib/shared/page/page-statuses.mjs +23 -0
  115. package/esm2022/lib/shared/page/page-title/page-title.component.mjs +23 -0
  116. package/esm2022/lib/shared/page/page-view/page-view.component.mjs +147 -0
  117. package/esm2022/lib/shared/testing/copy-button-base-test-injector-factory.spec.mjs +17 -0
  118. package/esm2022/lib/shared/testing/hierarchy-base-test-injector-factory.spec.mjs +17 -0
  119. package/esm2022/lib/shared/testing/page-base-component-test-helper.spec.mjs +38 -0
  120. package/esm2022/lib/shared/testing/page-base-component-test-injector-factory.spec.mjs +98 -0
  121. package/esm2022/lib/shared/testing/public-mocks.spec.mjs +148 -0
  122. package/esm2022/lib/shared/testing/spy-factory.spec.mjs +40 -0
  123. package/esm2022/lib/shared/testing/translation-mocks.spec.mjs +57 -0
  124. package/esm2022/lib/shared/user-preference.service.mjs +17 -0
  125. package/esm2022/lib/shared/wizard/wizard-base/wizard-base.component.mjs +246 -0
  126. package/esm2022/lib/shared/wizard/wizard-buttons/wizard-buttons.component.mjs +68 -0
  127. package/esm2022/lib/shared/wizard/wizard-progress/wizard-progress.component.mjs +18 -0
  128. package/esm2022/public-api.mjs +117 -0
  129. package/fesm2022/energycap-components.mjs +13219 -0
  130. package/fesm2022/energycap-components.mjs.map +1 -0
  131. package/index.d.ts +5 -0
  132. package/lib/components.module.d.ts +92 -0
  133. package/lib/controls/banner/banner.component.d.ts +50 -0
  134. package/lib/controls/button/button.component.d.ts +78 -0
  135. package/lib/controls/button/copy-button-base.directive.d.ts +20 -0
  136. package/lib/controls/button/copy-button.directive.d.ts +14 -0
  137. package/lib/controls/button/copy-table-button.directive.d.ts +19 -0
  138. package/lib/controls/calendar/calendar-item.component.d.ts +22 -0
  139. package/lib/controls/calendar/calendar.component.d.ts +52 -0
  140. package/lib/controls/calendar/calendar.types.d.ts +11 -0
  141. package/lib/controls/checkbox/checkbox.component.d.ts +65 -0
  142. package/lib/controls/collapsible-toggle/collapsible-toggle.component.d.ts +25 -0
  143. package/lib/controls/combobox/combobox.component.d.ts +418 -0
  144. package/lib/controls/date-input/date-input-selection-strategies/date-input-selection-strategy-base.d.ts +42 -0
  145. package/lib/controls/date-input/date-input-selection-strategies/day-selection-strategy.d.ts +21 -0
  146. package/lib/controls/date-input/date-input-selection-strategies/last-28-days-selection-strategy.d.ts +21 -0
  147. package/lib/controls/date-input/date-input-selection-strategies/last-7-days-selection-strategy.d.ts +21 -0
  148. package/lib/controls/date-input/date-input-selection-strategies/month-selection-strategy.d.ts +18 -0
  149. package/lib/controls/date-input/date-input-selection-strategies/quarter-selection-strategy.d.ts +18 -0
  150. package/lib/controls/date-input/date-input-selection-strategies/range-selection-strategy.d.ts +21 -0
  151. package/lib/controls/date-input/date-input-selection-strategies/year-selection-strategy.d.ts +20 -0
  152. package/lib/controls/date-input/date-input.component.d.ts +115 -0
  153. package/lib/controls/date-input/date-input.types.d.ts +62 -0
  154. package/lib/controls/dropdown/dropdown.component.d.ts +161 -0
  155. package/lib/controls/file-upload/file-upload.component.d.ts +124 -0
  156. package/lib/controls/form-control/form-control.component.d.ts +28 -0
  157. package/lib/controls/form-control-base.d.ts +110 -0
  158. package/lib/controls/form-control-label/form-control-label.component.d.ts +73 -0
  159. package/lib/controls/form-group/form-group.component.d.ts +105 -0
  160. package/lib/controls/help-popover/help-popover.component.d.ts +11 -0
  161. package/lib/controls/item-picker/item-picker.component.d.ts +164 -0
  162. package/lib/controls/link-button/link-button.component.d.ts +5 -0
  163. package/lib/controls/menu/menu.component.d.ts +255 -0
  164. package/lib/controls/navigation/link-item.d.ts +32 -0
  165. package/lib/controls/navigation/nav-group.d.ts +18 -0
  166. package/lib/controls/navigation/nav-item-active.directive.d.ts +42 -0
  167. package/lib/controls/navigation/nav-item.d.ts +31 -0
  168. package/lib/controls/numericbox/numericbox.component.d.ts +148 -0
  169. package/lib/controls/popover/popover.component.d.ts +51 -0
  170. package/lib/controls/radio-button/radio-button-option.d.ts +19 -0
  171. package/lib/controls/radio-button/radio-button.component.d.ts +53 -0
  172. package/lib/controls/select/select.component.d.ts +44 -0
  173. package/lib/controls/tabs/tabs.component.d.ts +30 -0
  174. package/lib/controls/textbox/textbox.component.d.ts +107 -0
  175. package/lib/core/cache.service.d.ts +33 -0
  176. package/lib/core/custom-validators.d.ts +20 -0
  177. package/lib/core/date-time-helper.d.ts +101 -0
  178. package/lib/core/error.service.d.ts +20 -0
  179. package/lib/core/router-helper.service.d.ts +48 -0
  180. package/lib/core/scroll.service.d.ts +36 -0
  181. package/lib/core/telemetry-tracker.service.d.ts +13 -0
  182. package/lib/core/telemetry.service.d.ts +31 -0
  183. package/lib/core/validation-message.service.d.ts +26 -0
  184. package/lib/core/validation-patterns.d.ts +22 -0
  185. package/lib/core/window.service.d.ts +116 -0
  186. package/lib/display/app-bar/app-bar.component.d.ts +20 -0
  187. package/lib/display/avatar/avatar.component.d.ts +35 -0
  188. package/lib/display/avatar/avatar.service.d.ts +24 -0
  189. package/lib/display/confirm/confirm.component.d.ts +123 -0
  190. package/lib/display/dialog/dialog-content.d.ts +19 -0
  191. package/lib/display/dialog/dialog-group/dialog-group.component.d.ts +32 -0
  192. package/lib/display/dialog/dialog-types.d.ts +130 -0
  193. package/lib/display/dialog/dialog.component.d.ts +120 -0
  194. package/lib/display/dialog/dialog.service.d.ts +48 -0
  195. package/lib/display/help/help-types.d.ts +33 -0
  196. package/lib/display/hierarchy/hierarchy-base.d.ts +97 -0
  197. package/lib/display/hierarchy/hierarchy-mocks.spec.d.ts +53 -0
  198. package/lib/display/hierarchy/hierarchy-tree/hierarchy-tree.component.d.ts +34 -0
  199. package/lib/display/item-display/item-display.component.d.ts +43 -0
  200. package/lib/display/json-display/json-display.component.d.ts +16 -0
  201. package/lib/display/resizable/resizable-base.d.ts +67 -0
  202. package/lib/display/resizable/resizable.component.d.ts +31 -0
  203. package/lib/display/spinner/spinner.component.d.ts +5 -0
  204. package/lib/display/splash/splash.component.d.ts +16 -0
  205. package/lib/display/splash/splash.service.d.ts +22 -0
  206. package/lib/display/table/resizable-column.component.d.ts +10 -0
  207. package/lib/display/table/resizable-table.directive.d.ts +93 -0
  208. package/lib/display/table/searchable-table.component.d.ts +206 -0
  209. package/lib/display/table/table-detail-row.component.d.ts +8 -0
  210. package/lib/display/table/table-locked-column.component.d.ts +20 -0
  211. package/lib/display/table/table-master-header-row.component.d.ts +9 -0
  212. package/lib/display/table/table-master-row.component.d.ts +113 -0
  213. package/lib/display/table/table-pagination.component.d.ts +91 -0
  214. package/lib/display/table/table-selectable-row.component.d.ts +102 -0
  215. package/lib/display/table/table.component.d.ts +121 -0
  216. package/lib/display/tags/tag.d.ts +18 -0
  217. package/lib/display/tags/tags.component.d.ts +48 -0
  218. package/lib/display/toast/toast/toast.component.d.ts +23 -0
  219. package/lib/display/toast/toast-types.d.ts +24 -0
  220. package/lib/display/toast/toast.service.d.ts +20 -0
  221. package/lib/display/toast/toaster/toaster.component.d.ts +35 -0
  222. package/lib/display/tooltip/tooltip.component.d.ts +70 -0
  223. package/lib/display/tooltip/tooltip.service.d.ts +16 -0
  224. package/lib/display/tooltip-directive/tooltip.directive.d.ts +44 -0
  225. package/lib/display/tour/tour-types.d.ts +70 -0
  226. package/lib/display/tour/tour.component.d.ts +147 -0
  227. package/lib/display/tour/tour.service.d.ts +38 -0
  228. package/lib/display/tree/tree.component.d.ts +75 -0
  229. package/lib/display/view-overlay/view-overlay.component.d.ts +38 -0
  230. package/lib/shared/directives/click-area-for/click-area-for.directive.d.ts +14 -0
  231. package/lib/shared/directives/if-viewport-width/if-viewport-width.directive.d.ts +60 -0
  232. package/lib/shared/directives/keyboard-nav-container/keyboard-nav-container.directive.d.ts +23 -0
  233. package/lib/shared/directives/popup/popup-container.directive.d.ts +101 -0
  234. package/lib/shared/display/pipes/date-display.pipe.d.ts +21 -0
  235. package/lib/shared/display/pipes/highlight-text.pipe.d.ts +9 -0
  236. package/lib/shared/display/pipes/relative-date.pipe.d.ts +36 -0
  237. package/lib/shared/display/pipes/row-count.pipe.d.ts +23 -0
  238. package/lib/shared/display/pipes/time-display.pipe.d.ts +18 -0
  239. package/lib/shared/display.d.ts +42 -0
  240. package/lib/shared/form-group.helper.d.ts +31 -0
  241. package/lib/shared/json-helper.d.ts +7 -0
  242. package/lib/shared/lodash-helper.d.ts +18 -0
  243. package/lib/shared/page/page-base/page-base.component.d.ts +259 -0
  244. package/lib/shared/page/page-statuses.d.ts +13 -0
  245. package/lib/shared/page/page-title/page-title.component.d.ts +9 -0
  246. package/lib/shared/page/page-view/page-view.component.d.ts +102 -0
  247. package/lib/shared/testing/copy-button-base-test-injector-factory.spec.d.ts +4 -0
  248. package/lib/shared/testing/hierarchy-base-test-injector-factory.spec.d.ts +4 -0
  249. package/lib/shared/testing/page-base-component-test-helper.spec.d.ts +30 -0
  250. package/lib/shared/testing/page-base-component-test-injector-factory.spec.d.ts +28 -0
  251. package/lib/shared/testing/public-mocks.spec.d.ts +90 -0
  252. package/lib/shared/testing/spy-factory.spec.d.ts +27 -0
  253. package/lib/shared/testing/translation-mocks.spec.d.ts +30 -0
  254. package/lib/shared/user-preference.service.d.ts +13 -0
  255. package/lib/shared/wizard/wizard-base/wizard-base.component.d.ts +134 -0
  256. package/lib/shared/wizard/wizard-buttons/wizard-buttons.component.d.ts +27 -0
  257. package/lib/shared/wizard/wizard-progress/wizard-progress.component.d.ts +10 -0
  258. package/package.json +2 -6
  259. package/public-api.d.ts +113 -0
  260. package/schematics/collection.json +10 -0
  261. package/schematics/rxjs-7-upgrade/index.d.ts +3 -0
  262. package/schematics/rxjs-7-upgrade/index.js +71 -0
  263. package/schematics/rxjs-7-upgrade/index.js.map +1 -0
  264. package/schematics/rxjs-7-upgrade/schema.d.ts +4 -0
  265. package/schematics/rxjs-7-upgrade/schema.js +3 -0
  266. package/schematics/rxjs-7-upgrade/schema.js.map +1 -0
  267. package/schematics/rxjs-7-upgrade/schema.json +14 -0
  268. package/schematics/utilities/typescript.d.ts +7 -0
  269. package/schematics/utilities/typescript.js +45 -0
  270. package/schematics/utilities/typescript.js.map +1 -0
  271. package/schematics/utilities/workspace.d.ts +8 -0
  272. package/schematics/utilities/workspace.js +72 -0
  273. package/schematics/utilities/workspace.js.map +1 -0
  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 +7 -0
  277. package/src/assets/images/favicon-esa.svg +6 -0
  278. package/src/assets/images/favicon-eum.svg +6 -0
  279. package/src/assets/images/favicon.svg +5 -0
  280. package/src/assets/images/icon-carbonhub.svg +10 -0
  281. package/src/assets/images/icon-eum.svg +5 -0
  282. package/src/assets/images/icon-ucp.svg +5 -0
  283. package/src/assets/images/icon-wattics.svg +5 -0
  284. package/src/assets/images/icon.svg +4 -0
  285. package/src/assets/images/logo.svg +3 -0
  286. package/src/assets/images/splash.gif +0 -0
  287. package/src/assets/locales/en_US.json +59 -0
  288. package/src/assets/scripts/unsupported-browser.js +17 -0
  289. package/src/styles/_base.scss +38 -0
  290. package/src/styles/_colors.scss +96 -0
  291. package/src/styles/_core.scss +4 -0
  292. package/src/styles/_functions.scss +114 -0
  293. package/src/styles/_global-variables.scss +232 -0
  294. package/src/styles/_icons.scss +24 -0
  295. package/src/styles/bootstrap/_grid.scss +34 -0
  296. package/src/styles/bootstrap/_reboot.scss +323 -0
  297. package/src/styles/components/_card.scss +21 -0
  298. package/src/styles/components/_link-icons.scss +38 -0
  299. package/src/styles/components/_splash.scss +57 -0
  300. package/src/styles/components/_unsupported-browsers.scss +24 -0
  301. package/src/styles/email/_email-base.scss +228 -0
  302. package/src/styles/email/email.scss +43 -0
  303. package/src/styles/index.scss +27 -0
  304. package/src/styles/mixins/_animations.scss +18 -0
  305. package/src/styles/mixins/_button-base.scss +185 -0
  306. package/src/styles/mixins/_card-base.scss +40 -0
  307. package/src/styles/mixins/_common.scss +52 -0
  308. package/src/styles/mixins/_dialog-base.scss +96 -0
  309. package/src/styles/mixins/_form-control-base.scss +641 -0
  310. package/src/styles/mixins/_login.scss +74 -0
  311. package/src/styles/mixins/_menu-base.scss +153 -0
  312. package/src/styles/mixins/_overlay-base.scss +33 -0
  313. package/src/styles/mixins/_resizable-base.scss +57 -0
  314. package/src/styles/mixins/_spinner-base.scss +34 -0
  315. package/src/styles/mixins/_table-base.scss +298 -0
  316. package/src/styles/mixins/_tabs-base.scss +110 -0
  317. package/src/styles/mixins/_tags-base.scss +116 -0
  318. package/src/styles/mixins/_text.scss +89 -0
  319. package/src/styles/mixins.scss +15 -0
  320. package/src/styles/utilities/_borders.scss +30 -0
  321. package/src/styles/utilities/_common.scss +49 -0
  322. package/src/styles/utilities/_layout.scss +116 -0
  323. package/src/styles/utilities/_spacing.scss +65 -0
  324. package/src/styles/utilities/_text.scss +139 -0
@@ -0,0 +1,57 @@
1
+ @import "../mixins/animations";
2
+
3
+ @keyframes splash {
4
+ 0% {
5
+ background-position: left bottom;
6
+ }
7
+
8
+ 20% {
9
+ background-position: left top;
10
+ }
11
+
12
+ 40% {
13
+ background-position: right top;
14
+ }
15
+
16
+ 60% {
17
+ background-position: right bottom;
18
+ }
19
+
20
+ 100% {
21
+ background-position: left bottom;
22
+ }
23
+ }
24
+
25
+
26
+ .app-splash {
27
+ position: fixed;
28
+ z-index: 100;
29
+ display: flex;
30
+ flex-direction: column;
31
+ align-items: center;
32
+ justify-content: center;
33
+ background: var(--ec-background-splash);
34
+ background-size: 110% 110%;
35
+ transition-property: opacity;
36
+ transition-duration: .3s;
37
+ transition-timing-function: ease-out;
38
+ opacity: 1;
39
+ top: 0;
40
+ left: 0;
41
+ right: 0;
42
+ bottom: 0;
43
+
44
+ animation-name: splash;
45
+ animation-duration: 6s;
46
+ animation-iteration-count: infinite;
47
+
48
+ img {
49
+ width: 200px;
50
+ mix-blend-mode: screen;
51
+ }
52
+
53
+ &.app-loaded {
54
+ opacity: 0;
55
+ pointer-events: none;
56
+ }
57
+ }
@@ -0,0 +1,24 @@
1
+ @import '../colors';
2
+
3
+ .unsupported-browser-container {
4
+ display: flex;
5
+ position: fixed;
6
+ z-index: 10000;
7
+ top: 0;
8
+ right: 0;
9
+ left: 0;
10
+ bottom: 0;
11
+ align-items: center;
12
+ background: var(--ec-background-color-splash);
13
+ }
14
+
15
+ .unsupported-browser {
16
+ max-width: 25rem;
17
+ margin: 0 auto;
18
+ font-size: var(--ec-font-size-title);
19
+ color: var(--ec-color-primary-light);
20
+
21
+ a {
22
+ color: $blue-1;
23
+ }
24
+ }
@@ -0,0 +1,228 @@
1
+ // Most email clients do not support CSS Custom Properties (variables),
2
+ // so we need to reference SCSS variables instead.
3
+ $ec-color-primary-dark: rgb(26, 26, 35);
4
+ $ec-color-secondary-dark: rgba(26, 26, 35, .66);
5
+ $ec-color-interactive: rgb(0, 132, 169);
6
+ $ec-background-color: rgb(255, 255, 255);
7
+ $ec-border-color: #D6D6D7;
8
+ $ec-border-color-dark: #383840;
9
+ $ec-font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
10
+ $green-3: #cfd856;
11
+ $ec-color-danger: rgb(197, 1, 36);
12
+
13
+ @mixin body {
14
+ font-size: 14px;
15
+ font-weight: 400;
16
+ color: $ec-color-primary-dark;
17
+ line-height: 1.2;
18
+ font-family: $ec-font-family;
19
+ text-align: left;
20
+ }
21
+
22
+ @mixin content {
23
+ h1, h2, h3, h4, h5, h6, p, ol, ul {
24
+ margin-top: 0;
25
+ margin-bottom: 16px;
26
+ }
27
+
28
+ h1, h2 {
29
+ font-size: 20px;
30
+ line-height: 24px;
31
+ }
32
+
33
+ h3, h4 {
34
+ font-size: 16px;
35
+ line-height: 24px;
36
+ }
37
+
38
+ h5, h6 {
39
+ font-size: 12px;
40
+ line-height: 16px;
41
+ text-transform: uppercase;
42
+ color: $ec-color-secondary-dark;
43
+ }
44
+
45
+ h1, h3, h5 {
46
+ font-weight: bold;
47
+ }
48
+
49
+ h2, h4, h6 {
50
+ font-weight: normal;
51
+ }
52
+
53
+ ol ol,
54
+ ul ul,
55
+ ol ul,
56
+ ul ol {
57
+ margin-bottom: 0;
58
+ }
59
+
60
+ b,
61
+ strong {
62
+ font-weight: bolder;
63
+ }
64
+
65
+ a {
66
+ color: $ec-color-interactive;
67
+ text-decoration: none;
68
+ background-color: transparent;
69
+ }
70
+
71
+ th,
72
+ td {
73
+ text-align: left;
74
+ }
75
+
76
+ a:hover {
77
+ text-decoration: underline;
78
+ }
79
+
80
+ a:focus {
81
+ outline: $ec-color-interactive solid 2px;
82
+ outline-offset: 2px;
83
+ border-radius: 2px;
84
+ }
85
+
86
+ a:not([href]):not([tabindex]) {
87
+ color: inherit;
88
+ text-decoration: none;
89
+ }
90
+
91
+ a:not([href]):not([tabindex]),
92
+ a:not([href]):not([tabindex]):focus {
93
+ color: inherit;
94
+ text-decoration: none;
95
+ }
96
+
97
+ a:not([href]):not([tabindex]):focus {
98
+ outline: 0;
99
+ }
100
+
101
+ .email-button,
102
+ .email-button-primary {
103
+ display: inline-block;
104
+ margin-right: 8px;
105
+ margin-bottom: 8px;
106
+ background-color: #D6D6D7;
107
+ padding: 0 16px;
108
+ line-height: 32px;
109
+ border-radius: 4px;
110
+ color: $ec-color-primary-dark !important;
111
+ }
112
+
113
+ .email-button-primary {
114
+ background-color: $green-3;
115
+ }
116
+
117
+ .email-cta {
118
+ display: inline-block;
119
+ margin-right: 8px;
120
+ margin-bottom: 8px;
121
+ background-color: #17303B;
122
+ color: #D8E902 !important;
123
+ line-height: 48px;
124
+ padding: 0 24px;
125
+ min-width: 176px;
126
+ text-align: center;
127
+ border-radius: 6px;
128
+ }
129
+
130
+ .email-table {
131
+ width: 100%;
132
+ border-spacing: 0;
133
+ border-collapse: separate;
134
+ font-size: 12px;
135
+ margin-bottom: 16px;
136
+
137
+ th,
138
+ td {
139
+ height: 32px;
140
+ line-height: 16px;
141
+ padding: 8px;
142
+ }
143
+
144
+ th {
145
+ font-weight: normal;
146
+ vertical-align: middle;
147
+ color: $ec-color-secondary-dark;
148
+ border-bottom: 1px solid $ec-border-color-dark;
149
+ }
150
+
151
+ td {
152
+ border-top: 1px solid $ec-border-color;
153
+ vertical-align: top;
154
+ }
155
+
156
+ th:first-child,
157
+ td:first-child {
158
+ padding-left: 0;
159
+ }
160
+
161
+ th:last-child,
162
+ td:last-child {
163
+ padding-right: 0;
164
+ }
165
+
166
+ tr:first-child td {
167
+ border-top: 0;
168
+ }
169
+ }
170
+
171
+ img {
172
+ max-width: 100%;
173
+ height: auto;
174
+ }
175
+
176
+ hr {
177
+ height: 0;
178
+ border: 0;
179
+ overflow: visible;
180
+ margin: 16px 0;
181
+ border-top: 1px solid $ec-border-color;
182
+ }
183
+
184
+ .text-left {
185
+ text-align: left;
186
+ }
187
+
188
+ .text-center {
189
+ text-align: center;
190
+ }
191
+
192
+ .text-right {
193
+ text-align: right;
194
+ }
195
+
196
+ .text-underline {
197
+ text-decoration: underline;
198
+ }
199
+
200
+ .text-caption-1 {
201
+ color: $ec-color-secondary-dark;
202
+ font-size: 12px;
203
+ }
204
+
205
+ .text-caption-2 {
206
+ color: $ec-color-secondary-dark;
207
+ font-size: 10px;
208
+ }
209
+
210
+ .font-color-danger {
211
+ color: $ec-color-danger;
212
+ }
213
+ }
214
+
215
+ @mixin logos {
216
+ .email-logo {
217
+ width: 100%;
218
+ max-width: 292px;
219
+ font-size: 28px;
220
+ font-weight: normal;
221
+ }
222
+
223
+ .email-logo-wl {
224
+ margin-left: 4px;
225
+ width: 56px;
226
+ max-width: 56px;
227
+ }
228
+ }
@@ -0,0 +1,43 @@
1
+ /** Standalone styles for energycap application emails. Include the generated css (dist/components/energycap-email.min.css) in a style element in the head of the email document. */
2
+ @import 'email-base';
3
+
4
+ html {
5
+ background-color: $ec-background-color;
6
+ font-size: 16px;
7
+ }
8
+
9
+ body {
10
+ @include body;
11
+ margin: 0;
12
+ }
13
+
14
+ table {
15
+ width: 100%;
16
+ border-spacing: 0;
17
+ font-size: 14px;
18
+ }
19
+
20
+ tr, td {
21
+ border-image-width: 0;
22
+ }
23
+
24
+ .email-wrapper {
25
+ width: 600px;
26
+ padding-top: 48px;
27
+ }
28
+
29
+ .email-header {
30
+ padding-right: 16px;
31
+ padding-left: 16px;
32
+ }
33
+
34
+ .email-body {
35
+ padding: 32px 24px;
36
+ }
37
+
38
+ [tabindex="-1"]:focus {
39
+ outline: 0 !important;
40
+ }
41
+
42
+ @include content;
43
+ @include logos;
@@ -0,0 +1,27 @@
1
+ @import 'bootstrap/reboot';
2
+ @import '@angular/cdk/overlay-prebuilt.css';
3
+
4
+ /*!
5
+ * EnergyCAP Components - Base Styles
6
+ */
7
+ @import 'global-variables';
8
+ @import 'core';
9
+ @import 'base';
10
+ @import 'bootstrap/grid';
11
+
12
+ /*!
13
+ * EnergyCAP Components - Global Component Styles
14
+ */
15
+ @import 'components/card';
16
+ @import 'components/splash';
17
+ @import 'components/unsupported-browsers';
18
+ @import 'components/link-icons';
19
+
20
+ /*!
21
+ * EnergyCAP Components - Utility Styles
22
+ */
23
+ @import 'utilities/layout';
24
+ @import 'utilities/spacing';
25
+ @import 'utilities/text';
26
+ @import 'utilities/borders';
27
+ @import 'utilities/common';
@@ -0,0 +1,18 @@
1
+ @keyframes spin {
2
+ from { transform: rotate(0); }
3
+ to { transform: rotate(1turn); }
4
+ }
5
+
6
+ @mixin spin {
7
+ animation: spin .8s linear infinite
8
+ }
9
+
10
+ @keyframes fade-in-out {
11
+ 0% { opacity: .6;}
12
+ 50% { opacity: 1;}
13
+ 100% { opacity: .6;}
14
+ }
15
+
16
+ @mixin fade-in-out {
17
+ animation: fade-in-out 1.5s ease-in infinite;
18
+ }
@@ -0,0 +1,185 @@
1
+ $button-padding-y: 0.3125rem;
2
+ $button-padding-x: 0.5rem;
3
+
4
+ @mixin button {
5
+ font-size: var(--ec-font-size-action);
6
+ height: 2rem;
7
+ line-height: 1.25rem;
8
+ padding: $button-padding-y $button-padding-x;
9
+ border: 0;
10
+ border-radius: var(--ec-border-radius);
11
+ display: flex;
12
+ align-items: center;
13
+ justify-content: center;
14
+ cursor: pointer;
15
+
16
+ .label {
17
+ display: flex;
18
+ align-items: center;
19
+ justify-content: center;
20
+ white-space: nowrap;
21
+ flex: auto;
22
+ }
23
+
24
+ .ec-icon {
25
+ flex: none;
26
+ }
27
+
28
+ .ec-icon + .label {
29
+ flex: none;
30
+ margin-left: .25rem;
31
+ }
32
+
33
+ &.has-badge {
34
+ padding-right: 0.0625rem;
35
+ }
36
+
37
+ &:focus {
38
+ outline: none;
39
+ position: relative;
40
+ z-index: 1;
41
+ }
42
+
43
+ &:disabled {
44
+ background-color: var(--ec-background-color-disabled);
45
+ border: 1px solid var(--ec-form-control-border-color-disabled);
46
+ color: var(--ec-color-disabled-dark);
47
+ opacity: var(--ec-form-control-opacity-disabled);
48
+ cursor: default;
49
+ }
50
+ }
51
+
52
+ @mixin primary-button {
53
+ background-color: var(--ec-button-background-color-primary, var(--ec-color-gray-8));
54
+ color: var(--ec-button-color-primary, var(--ec-color-primary-light));
55
+
56
+ &:active:not(:disabled) {
57
+ background-color: var(--ec-button-background-color-active, var(--ec-background-color-selected));
58
+ color: var(--ec-button-color-active, var(--ec-color-primary-dark));
59
+ box-shadow: var(--ec-button-box-shadow-active, 0 0 0 2px var(--ec-border-color-focus));
60
+ }
61
+
62
+ &:focus {
63
+ box-shadow: var(--ec-button-box-shadow-focus-primary, (0 0 0 2px var(--ec-color-interactive), inset 0 0 0 2px var(--ec-color-white)));
64
+ }
65
+
66
+ .ec-icon {
67
+ color: var(--ec-button-color-icon-primary, var(--ec-color-primary-light));
68
+ }
69
+ }
70
+
71
+ @mixin secondary-button {
72
+ background-color: var(--ec-button-background-color-secondary, var(--ec-background-color));
73
+ border: 1px solid var(--ec-button-border-color-secondary, var(--ec-color-gray-8));
74
+ color: var(--ec-button-color-secondary, var(--ec-color-primary-dark));
75
+
76
+ &:active:not(:disabled) {
77
+ background-color: var(--ec-button-background-color-active, var(--ec-background-color-selected));
78
+ color: var(--ec-button-color-active, var(--ec-color-primary-dark));
79
+ box-shadow: var(--ec-button-box-shadow-active, 0 0 0 2px var(--ec-border-color-focus));
80
+ border-color: transparent;
81
+ }
82
+
83
+ &:focus {
84
+ box-shadow: var(--ec-button-box-shadow-focus-secondary, (0 0 0 2px var(--ec-border-color-focus)));
85
+ border-color: var(--ec-button-border-color-secondary-focus, transparent);
86
+ }
87
+
88
+ .ec-icon {
89
+ color: var(--ec-button-color-icon-secondary, var(--ec-color-icon));
90
+ }
91
+ }
92
+
93
+ // Deprecated
94
+ @mixin common-button {
95
+ @include secondary-button();
96
+ }
97
+
98
+ @mixin danger-button {
99
+ background-color: var(--ec-color-danger);
100
+ color: var(--ec-color-primary-light);
101
+
102
+ .ec-icon {
103
+ color: var(--ec-button-color-icon, inherit);
104
+ }
105
+
106
+ &:active:not(:disabled) {
107
+ background-color: var(--ec-button-background-color-active, var(--ec-background-color-selected));
108
+ color: var(--ec-button-color-active, var(--ec-color-primary-dark));
109
+ box-shadow: var(--ec-button-box-shadow-active, 0 0 0 2px var(--ec-border-color-focus));
110
+ }
111
+
112
+ &:focus {
113
+ box-shadow: var(--ec-button-box-shadow-focus-primary, (0 0 0 2px var(--ec-border-color-focus), inset 0 0 0 2px var(--ec-color-white)));
114
+ }
115
+ }
116
+
117
+ @mixin icon-button{
118
+ background-color: transparent;
119
+ color: var(--ec-button-color-icon, var(--ec-color-icon));
120
+ width: 2rem;
121
+ padding: 0;
122
+
123
+ .ec-icon {
124
+ height: 1rem;
125
+ margin: 0;
126
+ padding: 0;
127
+ color: inherit
128
+ }
129
+
130
+ &:hover:not(:disabled) {
131
+ background-color: var(--ec-background-color-hover);
132
+
133
+ .ec-icon {
134
+ color: var(--ec-button-color-icon-hover, var(--ec-button-color-icon, var(--ec-color-icon)));
135
+ }
136
+ }
137
+
138
+ &:active:not(:disabled),
139
+ &:focus {
140
+ box-shadow: var(--ec-button-box-shadow-active, 0 0 0 2px var(--ec-border-color-focus));
141
+ }
142
+
143
+ &:active:not(:disabled) {
144
+ background-color: var(--ec-background-color-selected);
145
+ }
146
+
147
+ &:disabled {
148
+ background-color: transparent;
149
+ border-color: transparent;
150
+
151
+ .ec-icon {
152
+ color: var(--ec-color-disabled-dark);
153
+ }
154
+ }
155
+
156
+ &.has-badge {
157
+ width: auto;
158
+ min-width: 2rem;
159
+ padding-right: 0;
160
+ padding-left: 0.375rem;
161
+ }
162
+ }
163
+
164
+ @mixin text-button(
165
+ $type: 'text',
166
+ $color: var(--ec-color-primary-dark),
167
+ $icon-color: inherit
168
+ ) {
169
+ background-color: transparent;
170
+ color: var(--ec-button-color-text, $color);
171
+
172
+ .ec-icon {
173
+ color: var(--ec-button-color-icon-#{$type}, $icon-color);
174
+ }
175
+
176
+ &:active:not(:disabled),
177
+ &:focus {
178
+ box-shadow: var(--ec-button-box-shadow-active, 0 0 0 2px var(--ec-border-color-focus));
179
+ }
180
+
181
+ &:disabled {
182
+ background-color: transparent;
183
+ border-color: transparent;
184
+ }
185
+ }
@@ -0,0 +1,40 @@
1
+ @mixin card {
2
+ background-color: var(--ec-background-color);
3
+ background-clip: padding-box;
4
+ border: var(--ec-border-width) solid var(--ec-border-color-hint);
5
+ border-radius: var(--ec-border-radius-card);
6
+ overflow: auto;
7
+ box-shadow: var(--ec-box-shadow);
8
+ }
9
+
10
+ @mixin card-header {
11
+ display: flex;
12
+ align-items: center;
13
+ min-height: 2.5rem;
14
+ }
15
+
16
+ @mixin card-title {
17
+ @extend .text-heading-2;
18
+ @include truncate;
19
+ cursor: default;
20
+ display: flex;
21
+ align-items: center;
22
+ padding-left: .5rem;
23
+ padding-right: .5rem;
24
+ flex: 1 1;
25
+ min-height: 0;
26
+ min-width: 0;
27
+ }
28
+
29
+ @mixin card-footer {
30
+ @extend .text-caption-1;
31
+ border-top: 1px solid var(--ec-border-color);
32
+ min-height: 2rem;
33
+ padding: .5rem;
34
+ }
35
+
36
+ @mixin card-actions {
37
+ padding: .25rem;
38
+ display: flex;
39
+ margin-left: auto;
40
+ }
@@ -0,0 +1,52 @@
1
+ ////
2
+ /// Common mixins to be shared by many components
3
+ ////
4
+
5
+ /// Truncates text
6
+ @mixin truncate {
7
+ overflow: hidden;
8
+ text-overflow: ellipsis;
9
+ white-space: nowrap;
10
+ }
11
+
12
+ // Clips text
13
+ @mixin clip {
14
+ overflow: hidden;
15
+ text-overflow: clip;
16
+ white-space: nowrap;
17
+ }
18
+
19
+ @mixin flex-grow {
20
+ flex: 1 1;
21
+ min-height: 0;
22
+ min-width: 0;
23
+ }
24
+
25
+ @mixin indicator($color, $condensed:false) {
26
+ border: solid 2px $color;
27
+ background-color: rgba($color, .25);
28
+ display: block;
29
+ width: 0.625rem;
30
+ height: 0.625rem;
31
+ border-radius: 50%;
32
+
33
+ @if $condensed {
34
+ width: .5rem;
35
+ height: .5rem;
36
+ border-width: 1px;
37
+ }
38
+ }
39
+
40
+ @mixin ul-reset {
41
+ padding: 0;
42
+ margin: 0;
43
+ list-style: none;
44
+ }
45
+
46
+ @mixin count-display {
47
+ color: var(--ec-color-accent);
48
+ font-size: 2rem;
49
+ font-style: normal;
50
+ font-weight: bold;
51
+ line-height: 1;
52
+ }