@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.
- package/esm2022/energycap-components.mjs +5 -0
- package/esm2022/lib/components.module.mjs +423 -0
- package/esm2022/lib/controls/banner/banner.component.mjs +109 -0
- package/esm2022/lib/controls/button/button.component.mjs +106 -0
- package/esm2022/lib/controls/button/copy-button-base.directive.mjs +67 -0
- package/esm2022/lib/controls/button/copy-button.directive.mjs +28 -0
- package/esm2022/lib/controls/button/copy-table-button.directive.mjs +43 -0
- package/esm2022/lib/controls/calendar/calendar-item.component.mjs +91 -0
- package/esm2022/lib/controls/calendar/calendar.component.mjs +248 -0
- package/esm2022/lib/controls/calendar/calendar.types.mjs +2 -0
- package/esm2022/lib/controls/checkbox/checkbox.component.mjs +140 -0
- package/esm2022/lib/controls/collapsible-toggle/collapsible-toggle.component.mjs +38 -0
- package/esm2022/lib/controls/combobox/combobox.component.mjs +879 -0
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/date-input-selection-strategy-base.mjs +57 -0
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/day-selection-strategy.mjs +62 -0
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/last-28-days-selection-strategy.mjs +100 -0
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/last-7-days-selection-strategy.mjs +101 -0
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/month-selection-strategy.mjs +76 -0
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/quarter-selection-strategy.mjs +79 -0
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/range-selection-strategy.mjs +210 -0
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/year-selection-strategy.mjs +81 -0
- package/esm2022/lib/controls/date-input/date-input.component.mjs +464 -0
- package/esm2022/lib/controls/date-input/date-input.types.mjs +44 -0
- package/esm2022/lib/controls/dropdown/dropdown.component.mjs +243 -0
- package/esm2022/lib/controls/file-upload/file-upload.component.mjs +261 -0
- package/esm2022/lib/controls/form-control/form-control.component.mjs +98 -0
- package/esm2022/lib/controls/form-control-base.mjs +151 -0
- package/esm2022/lib/controls/form-control-label/form-control-label.component.mjs +136 -0
- package/esm2022/lib/controls/form-group/form-group.component.mjs +261 -0
- package/esm2022/lib/controls/help-popover/help-popover.component.mjs +31 -0
- package/esm2022/lib/controls/item-picker/item-picker.component.mjs +329 -0
- package/esm2022/lib/controls/link-button/link-button.component.mjs +11 -0
- package/esm2022/lib/controls/menu/menu.component.mjs +485 -0
- package/esm2022/lib/controls/navigation/link-item.mjs +2 -0
- package/esm2022/lib/controls/navigation/nav-group.mjs +39 -0
- package/esm2022/lib/controls/navigation/nav-item-active.directive.mjs +92 -0
- package/esm2022/lib/controls/navigation/nav-item.mjs +2 -0
- package/esm2022/lib/controls/numericbox/numericbox.component.mjs +372 -0
- package/esm2022/lib/controls/popover/popover.component.mjs +117 -0
- package/esm2022/lib/controls/radio-button/radio-button-option.mjs +3 -0
- package/esm2022/lib/controls/radio-button/radio-button.component.mjs +82 -0
- package/esm2022/lib/controls/select/select.component.mjs +88 -0
- package/esm2022/lib/controls/tabs/tabs.component.mjs +47 -0
- package/esm2022/lib/controls/textbox/textbox.component.mjs +155 -0
- package/esm2022/lib/core/cache.service.mjs +105 -0
- package/esm2022/lib/core/custom-validators.mjs +29 -0
- package/esm2022/lib/core/date-time-helper.mjs +228 -0
- package/esm2022/lib/core/error.service.mjs +61 -0
- package/esm2022/lib/core/router-helper.service.mjs +111 -0
- package/esm2022/lib/core/scroll.service.mjs +89 -0
- package/esm2022/lib/core/telemetry-tracker.service.mjs +16 -0
- package/esm2022/lib/core/telemetry.service.mjs +38 -0
- package/esm2022/lib/core/validation-message.service.mjs +185 -0
- package/esm2022/lib/core/validation-patterns.mjs +31 -0
- package/esm2022/lib/core/window.service.mjs +186 -0
- package/esm2022/lib/display/app-bar/app-bar.component.mjs +46 -0
- package/esm2022/lib/display/avatar/avatar.component.mjs +67 -0
- package/esm2022/lib/display/avatar/avatar.service.mjs +64 -0
- package/esm2022/lib/display/confirm/confirm.component.mjs +168 -0
- package/esm2022/lib/display/dialog/dialog-content.mjs +2 -0
- package/esm2022/lib/display/dialog/dialog-group/dialog-group.component.mjs +63 -0
- package/esm2022/lib/display/dialog/dialog-types.mjs +77 -0
- package/esm2022/lib/display/dialog/dialog.component.mjs +281 -0
- package/esm2022/lib/display/dialog/dialog.service.mjs +71 -0
- package/esm2022/lib/display/help/help-types.mjs +2 -0
- package/esm2022/lib/display/hierarchy/hierarchy-base.mjs +111 -0
- package/esm2022/lib/display/hierarchy/hierarchy-mocks.spec.mjs +54 -0
- package/esm2022/lib/display/hierarchy/hierarchy-tree/hierarchy-tree.component.mjs +61 -0
- package/esm2022/lib/display/item-display/item-display.component.mjs +81 -0
- package/esm2022/lib/display/json-display/json-display.component.mjs +47 -0
- package/esm2022/lib/display/resizable/resizable-base.mjs +120 -0
- package/esm2022/lib/display/resizable/resizable.component.mjs +57 -0
- package/esm2022/lib/display/spinner/spinner.component.mjs +12 -0
- package/esm2022/lib/display/splash/splash.component.mjs +42 -0
- package/esm2022/lib/display/splash/splash.service.mjs +35 -0
- package/esm2022/lib/display/table/resizable-column.component.mjs +20 -0
- package/esm2022/lib/display/table/resizable-table.directive.mjs +227 -0
- package/esm2022/lib/display/table/searchable-table.component.mjs +342 -0
- package/esm2022/lib/display/table/table-detail-row.component.mjs +28 -0
- package/esm2022/lib/display/table/table-locked-column.component.mjs +58 -0
- package/esm2022/lib/display/table/table-master-header-row.component.mjs +14 -0
- package/esm2022/lib/display/table/table-master-row.component.mjs +163 -0
- package/esm2022/lib/display/table/table-pagination.component.mjs +155 -0
- package/esm2022/lib/display/table/table-selectable-row.component.mjs +235 -0
- package/esm2022/lib/display/table/table.component.mjs +249 -0
- package/esm2022/lib/display/tags/tag.mjs +18 -0
- package/esm2022/lib/display/tags/tags.component.mjs +77 -0
- package/esm2022/lib/display/toast/toast/toast.component.mjs +77 -0
- package/esm2022/lib/display/toast/toast-types.mjs +8 -0
- package/esm2022/lib/display/toast/toast.service.mjs +35 -0
- package/esm2022/lib/display/toast/toaster/toaster.component.mjs +114 -0
- package/esm2022/lib/display/tooltip/tooltip.component.mjs +28 -0
- package/esm2022/lib/display/tooltip/tooltip.service.mjs +78 -0
- package/esm2022/lib/display/tooltip-directive/tooltip.directive.mjs +173 -0
- package/esm2022/lib/display/tour/tour-types.mjs +34 -0
- package/esm2022/lib/display/tour/tour.component.mjs +398 -0
- package/esm2022/lib/display/tour/tour.service.mjs +75 -0
- package/esm2022/lib/display/tree/tree.component.mjs +135 -0
- package/esm2022/lib/display/view-overlay/view-overlay.component.mjs +58 -0
- package/esm2022/lib/shared/directives/click-area-for/click-area-for.directive.mjs +32 -0
- package/esm2022/lib/shared/directives/if-viewport-width/if-viewport-width.directive.mjs +111 -0
- package/esm2022/lib/shared/directives/keyboard-nav-container/keyboard-nav-container.directive.mjs +100 -0
- package/esm2022/lib/shared/directives/popup/popup-container.directive.mjs +166 -0
- package/esm2022/lib/shared/display/pipes/date-display.pipe.mjs +50 -0
- package/esm2022/lib/shared/display/pipes/highlight-text.pipe.mjs +30 -0
- package/esm2022/lib/shared/display/pipes/relative-date.pipe.mjs +62 -0
- package/esm2022/lib/shared/display/pipes/row-count.pipe.mjs +48 -0
- package/esm2022/lib/shared/display/pipes/time-display.pipe.mjs +41 -0
- package/esm2022/lib/shared/display.mjs +6 -0
- package/esm2022/lib/shared/form-group.helper.mjs +67 -0
- package/esm2022/lib/shared/json-helper.mjs +19 -0
- package/esm2022/lib/shared/lodash-helper.mjs +52 -0
- package/esm2022/lib/shared/page/page-base/page-base.component.mjs +387 -0
- package/esm2022/lib/shared/page/page-statuses.mjs +23 -0
- package/esm2022/lib/shared/page/page-title/page-title.component.mjs +23 -0
- package/esm2022/lib/shared/page/page-view/page-view.component.mjs +147 -0
- package/esm2022/lib/shared/testing/copy-button-base-test-injector-factory.spec.mjs +17 -0
- package/esm2022/lib/shared/testing/hierarchy-base-test-injector-factory.spec.mjs +17 -0
- package/esm2022/lib/shared/testing/page-base-component-test-helper.spec.mjs +38 -0
- package/esm2022/lib/shared/testing/page-base-component-test-injector-factory.spec.mjs +98 -0
- package/esm2022/lib/shared/testing/public-mocks.spec.mjs +148 -0
- package/esm2022/lib/shared/testing/spy-factory.spec.mjs +40 -0
- package/esm2022/lib/shared/testing/translation-mocks.spec.mjs +57 -0
- package/esm2022/lib/shared/user-preference.service.mjs +17 -0
- package/esm2022/lib/shared/wizard/wizard-base/wizard-base.component.mjs +246 -0
- package/esm2022/lib/shared/wizard/wizard-buttons/wizard-buttons.component.mjs +68 -0
- package/esm2022/lib/shared/wizard/wizard-progress/wizard-progress.component.mjs +18 -0
- package/esm2022/public-api.mjs +117 -0
- package/fesm2022/energycap-components.mjs +13219 -0
- package/fesm2022/energycap-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components.module.d.ts +92 -0
- package/lib/controls/banner/banner.component.d.ts +50 -0
- package/lib/controls/button/button.component.d.ts +78 -0
- package/lib/controls/button/copy-button-base.directive.d.ts +20 -0
- package/lib/controls/button/copy-button.directive.d.ts +14 -0
- package/lib/controls/button/copy-table-button.directive.d.ts +19 -0
- package/lib/controls/calendar/calendar-item.component.d.ts +22 -0
- package/lib/controls/calendar/calendar.component.d.ts +52 -0
- package/lib/controls/calendar/calendar.types.d.ts +11 -0
- package/lib/controls/checkbox/checkbox.component.d.ts +65 -0
- package/lib/controls/collapsible-toggle/collapsible-toggle.component.d.ts +25 -0
- package/lib/controls/combobox/combobox.component.d.ts +418 -0
- package/lib/controls/date-input/date-input-selection-strategies/date-input-selection-strategy-base.d.ts +42 -0
- package/lib/controls/date-input/date-input-selection-strategies/day-selection-strategy.d.ts +21 -0
- package/lib/controls/date-input/date-input-selection-strategies/last-28-days-selection-strategy.d.ts +21 -0
- package/lib/controls/date-input/date-input-selection-strategies/last-7-days-selection-strategy.d.ts +21 -0
- package/lib/controls/date-input/date-input-selection-strategies/month-selection-strategy.d.ts +18 -0
- package/lib/controls/date-input/date-input-selection-strategies/quarter-selection-strategy.d.ts +18 -0
- package/lib/controls/date-input/date-input-selection-strategies/range-selection-strategy.d.ts +21 -0
- package/lib/controls/date-input/date-input-selection-strategies/year-selection-strategy.d.ts +20 -0
- package/lib/controls/date-input/date-input.component.d.ts +115 -0
- package/lib/controls/date-input/date-input.types.d.ts +62 -0
- package/lib/controls/dropdown/dropdown.component.d.ts +161 -0
- package/lib/controls/file-upload/file-upload.component.d.ts +124 -0
- package/lib/controls/form-control/form-control.component.d.ts +28 -0
- package/lib/controls/form-control-base.d.ts +110 -0
- package/lib/controls/form-control-label/form-control-label.component.d.ts +73 -0
- package/lib/controls/form-group/form-group.component.d.ts +105 -0
- package/lib/controls/help-popover/help-popover.component.d.ts +11 -0
- package/lib/controls/item-picker/item-picker.component.d.ts +164 -0
- package/lib/controls/link-button/link-button.component.d.ts +5 -0
- package/lib/controls/menu/menu.component.d.ts +255 -0
- package/lib/controls/navigation/link-item.d.ts +32 -0
- package/lib/controls/navigation/nav-group.d.ts +18 -0
- package/lib/controls/navigation/nav-item-active.directive.d.ts +42 -0
- package/lib/controls/navigation/nav-item.d.ts +31 -0
- package/lib/controls/numericbox/numericbox.component.d.ts +148 -0
- package/lib/controls/popover/popover.component.d.ts +51 -0
- package/lib/controls/radio-button/radio-button-option.d.ts +19 -0
- package/lib/controls/radio-button/radio-button.component.d.ts +53 -0
- package/lib/controls/select/select.component.d.ts +44 -0
- package/lib/controls/tabs/tabs.component.d.ts +30 -0
- package/lib/controls/textbox/textbox.component.d.ts +107 -0
- package/lib/core/cache.service.d.ts +33 -0
- package/lib/core/custom-validators.d.ts +20 -0
- package/lib/core/date-time-helper.d.ts +101 -0
- package/lib/core/error.service.d.ts +20 -0
- package/lib/core/router-helper.service.d.ts +48 -0
- package/lib/core/scroll.service.d.ts +36 -0
- package/lib/core/telemetry-tracker.service.d.ts +13 -0
- package/lib/core/telemetry.service.d.ts +31 -0
- package/lib/core/validation-message.service.d.ts +26 -0
- package/lib/core/validation-patterns.d.ts +22 -0
- package/lib/core/window.service.d.ts +116 -0
- package/lib/display/app-bar/app-bar.component.d.ts +20 -0
- package/lib/display/avatar/avatar.component.d.ts +35 -0
- package/lib/display/avatar/avatar.service.d.ts +24 -0
- package/lib/display/confirm/confirm.component.d.ts +123 -0
- package/lib/display/dialog/dialog-content.d.ts +19 -0
- package/lib/display/dialog/dialog-group/dialog-group.component.d.ts +32 -0
- package/lib/display/dialog/dialog-types.d.ts +130 -0
- package/lib/display/dialog/dialog.component.d.ts +120 -0
- package/lib/display/dialog/dialog.service.d.ts +48 -0
- package/lib/display/help/help-types.d.ts +33 -0
- package/lib/display/hierarchy/hierarchy-base.d.ts +97 -0
- package/lib/display/hierarchy/hierarchy-mocks.spec.d.ts +53 -0
- package/lib/display/hierarchy/hierarchy-tree/hierarchy-tree.component.d.ts +34 -0
- package/lib/display/item-display/item-display.component.d.ts +43 -0
- package/lib/display/json-display/json-display.component.d.ts +16 -0
- package/lib/display/resizable/resizable-base.d.ts +67 -0
- package/lib/display/resizable/resizable.component.d.ts +31 -0
- package/lib/display/spinner/spinner.component.d.ts +5 -0
- package/lib/display/splash/splash.component.d.ts +16 -0
- package/lib/display/splash/splash.service.d.ts +22 -0
- package/lib/display/table/resizable-column.component.d.ts +10 -0
- package/lib/display/table/resizable-table.directive.d.ts +93 -0
- package/lib/display/table/searchable-table.component.d.ts +206 -0
- package/lib/display/table/table-detail-row.component.d.ts +8 -0
- package/lib/display/table/table-locked-column.component.d.ts +20 -0
- package/lib/display/table/table-master-header-row.component.d.ts +9 -0
- package/lib/display/table/table-master-row.component.d.ts +113 -0
- package/lib/display/table/table-pagination.component.d.ts +91 -0
- package/lib/display/table/table-selectable-row.component.d.ts +102 -0
- package/lib/display/table/table.component.d.ts +121 -0
- package/lib/display/tags/tag.d.ts +18 -0
- package/lib/display/tags/tags.component.d.ts +48 -0
- package/lib/display/toast/toast/toast.component.d.ts +23 -0
- package/lib/display/toast/toast-types.d.ts +24 -0
- package/lib/display/toast/toast.service.d.ts +20 -0
- package/lib/display/toast/toaster/toaster.component.d.ts +35 -0
- package/lib/display/tooltip/tooltip.component.d.ts +70 -0
- package/lib/display/tooltip/tooltip.service.d.ts +16 -0
- package/lib/display/tooltip-directive/tooltip.directive.d.ts +44 -0
- package/lib/display/tour/tour-types.d.ts +70 -0
- package/lib/display/tour/tour.component.d.ts +147 -0
- package/lib/display/tour/tour.service.d.ts +38 -0
- package/lib/display/tree/tree.component.d.ts +75 -0
- package/lib/display/view-overlay/view-overlay.component.d.ts +38 -0
- package/lib/shared/directives/click-area-for/click-area-for.directive.d.ts +14 -0
- package/lib/shared/directives/if-viewport-width/if-viewport-width.directive.d.ts +60 -0
- package/lib/shared/directives/keyboard-nav-container/keyboard-nav-container.directive.d.ts +23 -0
- package/lib/shared/directives/popup/popup-container.directive.d.ts +101 -0
- package/lib/shared/display/pipes/date-display.pipe.d.ts +21 -0
- package/lib/shared/display/pipes/highlight-text.pipe.d.ts +9 -0
- package/lib/shared/display/pipes/relative-date.pipe.d.ts +36 -0
- package/lib/shared/display/pipes/row-count.pipe.d.ts +23 -0
- package/lib/shared/display/pipes/time-display.pipe.d.ts +18 -0
- package/lib/shared/display.d.ts +42 -0
- package/lib/shared/form-group.helper.d.ts +31 -0
- package/lib/shared/json-helper.d.ts +7 -0
- package/lib/shared/lodash-helper.d.ts +18 -0
- package/lib/shared/page/page-base/page-base.component.d.ts +259 -0
- package/lib/shared/page/page-statuses.d.ts +13 -0
- package/lib/shared/page/page-title/page-title.component.d.ts +9 -0
- package/lib/shared/page/page-view/page-view.component.d.ts +102 -0
- package/lib/shared/testing/copy-button-base-test-injector-factory.spec.d.ts +4 -0
- package/lib/shared/testing/hierarchy-base-test-injector-factory.spec.d.ts +4 -0
- package/lib/shared/testing/page-base-component-test-helper.spec.d.ts +30 -0
- package/lib/shared/testing/page-base-component-test-injector-factory.spec.d.ts +28 -0
- package/lib/shared/testing/public-mocks.spec.d.ts +90 -0
- package/lib/shared/testing/spy-factory.spec.d.ts +27 -0
- package/lib/shared/testing/translation-mocks.spec.d.ts +30 -0
- package/lib/shared/user-preference.service.d.ts +13 -0
- package/lib/shared/wizard/wizard-base/wizard-base.component.d.ts +134 -0
- package/lib/shared/wizard/wizard-buttons/wizard-buttons.component.d.ts +27 -0
- package/lib/shared/wizard/wizard-progress/wizard-progress.component.d.ts +10 -0
- package/package.json +2 -6
- package/public-api.d.ts +113 -0
- package/schematics/collection.json +10 -0
- package/schematics/rxjs-7-upgrade/index.d.ts +3 -0
- package/schematics/rxjs-7-upgrade/index.js +71 -0
- package/schematics/rxjs-7-upgrade/index.js.map +1 -0
- package/schematics/rxjs-7-upgrade/schema.d.ts +4 -0
- package/schematics/rxjs-7-upgrade/schema.js +3 -0
- package/schematics/rxjs-7-upgrade/schema.js.map +1 -0
- package/schematics/rxjs-7-upgrade/schema.json +14 -0
- package/schematics/utilities/typescript.d.ts +7 -0
- package/schematics/utilities/typescript.js +45 -0
- package/schematics/utilities/typescript.js.map +1 -0
- package/schematics/utilities/workspace.d.ts +8 -0
- package/schematics/utilities/workspace.js +72 -0
- package/schematics/utilities/workspace.js.map +1 -0
- package/src/assets/images/email-icon.png +0 -0
- package/src/assets/images/email-logo.png +0 -0
- package/src/assets/images/favicon-ech.svg +7 -0
- package/src/assets/images/favicon-esa.svg +6 -0
- package/src/assets/images/favicon-eum.svg +6 -0
- package/src/assets/images/favicon.svg +5 -0
- package/src/assets/images/icon-carbonhub.svg +10 -0
- package/src/assets/images/icon-eum.svg +5 -0
- package/src/assets/images/icon-ucp.svg +5 -0
- package/src/assets/images/icon-wattics.svg +5 -0
- package/src/assets/images/icon.svg +4 -0
- package/src/assets/images/logo.svg +3 -0
- package/src/assets/images/splash.gif +0 -0
- package/src/assets/locales/en_US.json +59 -0
- package/src/assets/scripts/unsupported-browser.js +17 -0
- package/src/styles/_base.scss +38 -0
- package/src/styles/_colors.scss +96 -0
- package/src/styles/_core.scss +4 -0
- package/src/styles/_functions.scss +114 -0
- package/src/styles/_global-variables.scss +232 -0
- package/src/styles/_icons.scss +24 -0
- package/src/styles/bootstrap/_grid.scss +34 -0
- package/src/styles/bootstrap/_reboot.scss +323 -0
- package/src/styles/components/_card.scss +21 -0
- package/src/styles/components/_link-icons.scss +38 -0
- package/src/styles/components/_splash.scss +57 -0
- package/src/styles/components/_unsupported-browsers.scss +24 -0
- package/src/styles/email/_email-base.scss +228 -0
- package/src/styles/email/email.scss +43 -0
- package/src/styles/index.scss +27 -0
- package/src/styles/mixins/_animations.scss +18 -0
- package/src/styles/mixins/_button-base.scss +185 -0
- package/src/styles/mixins/_card-base.scss +40 -0
- package/src/styles/mixins/_common.scss +52 -0
- package/src/styles/mixins/_dialog-base.scss +96 -0
- package/src/styles/mixins/_form-control-base.scss +641 -0
- package/src/styles/mixins/_login.scss +74 -0
- package/src/styles/mixins/_menu-base.scss +153 -0
- package/src/styles/mixins/_overlay-base.scss +33 -0
- package/src/styles/mixins/_resizable-base.scss +57 -0
- package/src/styles/mixins/_spinner-base.scss +34 -0
- package/src/styles/mixins/_table-base.scss +298 -0
- package/src/styles/mixins/_tabs-base.scss +110 -0
- package/src/styles/mixins/_tags-base.scss +116 -0
- package/src/styles/mixins/_text.scss +89 -0
- package/src/styles/mixins.scss +15 -0
- package/src/styles/utilities/_borders.scss +30 -0
- package/src/styles/utilities/_common.scss +49 -0
- package/src/styles/utilities/_layout.scss +116 -0
- package/src/styles/utilities/_spacing.scss +65 -0
- package/src/styles/utilities/_text.scss +139 -0
@@ -0,0 +1,74 @@
|
|
1
|
+
@import '../core';
|
2
|
+
|
3
|
+
@mixin login(
|
4
|
+
$container-selector: '.ec-login-container',
|
5
|
+
$content-selector: '.ec-login-content',
|
6
|
+
$card-selector: '.ec-login-card',
|
7
|
+
$card-header-selector: '.ec-login-card-header',
|
8
|
+
$logo-selector: '.ec-login-logo',
|
9
|
+
$banner-selector: '.ec-login-banner',
|
10
|
+
$form-selector: '.ec-login-form',
|
11
|
+
$form-control-selector: '.ec-login-form-control',
|
12
|
+
$form-footer-selector: '.ec-login-form-footer',
|
13
|
+
$card-footer-selector: '.ec-login-card-footer',
|
14
|
+
$form-submit-button-selector: '.ec-login-submit'
|
15
|
+
) {
|
16
|
+
#{$container-selector} {
|
17
|
+
background: var(--ec-background-splash);
|
18
|
+
display: flex;
|
19
|
+
align-items: center;
|
20
|
+
flex: 1 1;
|
21
|
+
}
|
22
|
+
|
23
|
+
#{$content-selector} {
|
24
|
+
margin: 0 auto;
|
25
|
+
width: calc(100% - 4rem);
|
26
|
+
max-width: 25rem;
|
27
|
+
}
|
28
|
+
|
29
|
+
#{$card-selector} {
|
30
|
+
background-color: var(--ec-background-color);
|
31
|
+
border-radius: var(--ec-border-radius-dialog);
|
32
|
+
box-shadow: 0 0 12px rgba($black, .66);
|
33
|
+
}
|
34
|
+
|
35
|
+
#{$card-header-selector} {
|
36
|
+
padding: 3rem 2rem 2rem;
|
37
|
+
text-align: center;
|
38
|
+
}
|
39
|
+
|
40
|
+
#{$logo-selector} {
|
41
|
+
max-width: 100%;
|
42
|
+
height: 2.5rem;
|
43
|
+
}
|
44
|
+
|
45
|
+
#{$form-selector} {
|
46
|
+
padding: 0 2rem;
|
47
|
+
}
|
48
|
+
|
49
|
+
#{$banner-selector} {
|
50
|
+
margin-bottom: 1rem;
|
51
|
+
}
|
52
|
+
|
53
|
+
#{$form-control-selector} {
|
54
|
+
margin-bottom: 1rem;
|
55
|
+
}
|
56
|
+
|
57
|
+
#{$form-footer-selector} {
|
58
|
+
padding: 1.5rem 0 3rem;
|
59
|
+
display: flex;
|
60
|
+
align-items: center;
|
61
|
+
}
|
62
|
+
|
63
|
+
#{$form-submit-button-selector} {
|
64
|
+
--ec-button-color-primary: var(--ec-color-brand-green);
|
65
|
+
margin-left: auto;
|
66
|
+
}
|
67
|
+
|
68
|
+
#{$card-footer-selector} {
|
69
|
+
border-top: 1px solid var(--ec-border-color);
|
70
|
+
padding: 1rem;
|
71
|
+
display: flex;
|
72
|
+
align-items: center;
|
73
|
+
}
|
74
|
+
}
|
@@ -0,0 +1,153 @@
|
|
1
|
+
@import '../../styles/mixins/common';
|
2
|
+
|
3
|
+
@function get-item-padding($height, $line-height) {
|
4
|
+
@return (($height - $line-height) * 0.5) .5rem;
|
5
|
+
}
|
6
|
+
|
7
|
+
$menu-item-height: 1.75rem;
|
8
|
+
$menu-item-line-height: 1.25rem;
|
9
|
+
$menu-item-color: var(--ec-color-secondary-dark);
|
10
|
+
$menu-item-font-size: var(--ec-menu-font-size, var(--ec-font-size-action));
|
11
|
+
$menu-item-padding: get-item-padding($menu-item-height, $menu-item-line-height);
|
12
|
+
|
13
|
+
@mixin menu-item {
|
14
|
+
cursor: inherit;
|
15
|
+
line-height: $menu-item-line-height;
|
16
|
+
min-height: $menu-item-height;
|
17
|
+
padding: $menu-item-padding;
|
18
|
+
border-radius: var(--ec-border-radius);
|
19
|
+
display: flex;
|
20
|
+
|
21
|
+
.label {
|
22
|
+
margin-right: auto;
|
23
|
+
|
24
|
+
& + .ec-icon {
|
25
|
+
margin-left: .5rem;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
.ec-icon {
|
30
|
+
margin-top: calc(calc(#{$menu-item-line-height} - #{map-get($icon-sizes, default)}) / 2);
|
31
|
+
flex: none;
|
32
|
+
|
33
|
+
& + .label {
|
34
|
+
margin-left: .5rem;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
.ec-icon-sm {
|
39
|
+
margin-top: calc(calc(#{$menu-item-line-height} - #{map-get($icon-sizes, sm)}) / 2);
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
@mixin menu-ul {
|
44
|
+
@include ul-reset;
|
45
|
+
flex: auto;
|
46
|
+
height: 100%;
|
47
|
+
overflow-y: auto;
|
48
|
+
|
49
|
+
li {
|
50
|
+
cursor: pointer;
|
51
|
+
padding: 0 .25rem;
|
52
|
+
|
53
|
+
a {
|
54
|
+
color: inherit;
|
55
|
+
border-bottom: 0;
|
56
|
+
text-decoration: none;
|
57
|
+
}
|
58
|
+
|
59
|
+
&.is-selected,
|
60
|
+
&.is-highlighted {
|
61
|
+
.item-wrapper {
|
62
|
+
background-color: var(--ec-background-color-selected);
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
&:hover .item-wrapper {
|
67
|
+
background-color: var(--ec-background-color-hover);
|
68
|
+
}
|
69
|
+
|
70
|
+
&:focus .item-wrapper{
|
71
|
+
outline: none;
|
72
|
+
background-color: var(--ec-color-disabled-dark);
|
73
|
+
position: relative;
|
74
|
+
z-index: 1;
|
75
|
+
}
|
76
|
+
|
77
|
+
&.is-disabled .item-wrapper {
|
78
|
+
color: var(--ec-color-disabled-dark);
|
79
|
+
opacity: var(--ec-form-control-opacity-disabled);
|
80
|
+
}
|
81
|
+
|
82
|
+
&.is-disabled,
|
83
|
+
&.is-readonly {
|
84
|
+
cursor: default;
|
85
|
+
|
86
|
+
.item-wrapper {
|
87
|
+
background-color: transparent;
|
88
|
+
color: inherit;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
&.is-checked {
|
93
|
+
.icon-check {
|
94
|
+
opacity: 1;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
&.heading {
|
99
|
+
cursor: default;
|
100
|
+
|
101
|
+
.item-wrapper {
|
102
|
+
background-color: transparent;
|
103
|
+
}
|
104
|
+
|
105
|
+
&:not(:first-child) {
|
106
|
+
margin-top: .5rem;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
&.divider:not(:last-child) {
|
111
|
+
border-bottom: 1px solid var(--ec-border-color);
|
112
|
+
padding-bottom: .25rem;
|
113
|
+
margin-bottom: .25rem;
|
114
|
+
}
|
115
|
+
|
116
|
+
// The :not(.divider + .divider-top) prevents a double border from appearing when the previous item has a bottom divider
|
117
|
+
&.divider-top:not(:first-child):not(.divider + .divider-top) {
|
118
|
+
border-top: 1px solid var(--ec-border-color);
|
119
|
+
padding-top: .25rem;
|
120
|
+
margin-top: .25rem;
|
121
|
+
}
|
122
|
+
|
123
|
+
@each $index in (1, 2, 3) {
|
124
|
+
$padding: $index + .5;
|
125
|
+
&.indent-#{$index} .item-wrapper {
|
126
|
+
padding-left: #{$padding}rem;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
@mixin menu-parent {
|
133
|
+
display: flex;
|
134
|
+
flex-direction: column;
|
135
|
+
flex: auto;
|
136
|
+
position: relative;
|
137
|
+
max-width: 100%;
|
138
|
+
|
139
|
+
> header {
|
140
|
+
cursor: pointer;
|
141
|
+
|
142
|
+
&.is-selected,
|
143
|
+
&.is-highlighted {
|
144
|
+
.item-wrapper {
|
145
|
+
background-color: var(--ec-background-color-selected);
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
&:hover .item-wrapper {
|
150
|
+
background-color: var(--ec-background-color-hover);
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
$overlay-padding-x: 4rem;
|
2
|
+
$overlay-padding-y: 3rem;
|
3
|
+
|
4
|
+
@mixin overlay($bg: var(--ec-overlay-background-color, var(--ec-background-color)), $padding-x: $overlay-padding-x, $padding-y: $overlay-padding-y) {
|
5
|
+
align-items: center;
|
6
|
+
background-color: $bg;
|
7
|
+
display: flex;
|
8
|
+
flex-direction: column;
|
9
|
+
justify-content: center;
|
10
|
+
padding: $padding-y $padding-x;
|
11
|
+
z-index: var(--ec-z-index-overlay);
|
12
|
+
|
13
|
+
// @deprecated when the ng1 overlay goes away
|
14
|
+
right: 0;
|
15
|
+
top: 0;
|
16
|
+
position: absolute;
|
17
|
+
bottom: 0;
|
18
|
+
left: 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
@mixin overlay-container {
|
22
|
+
position: relative;
|
23
|
+
}
|
24
|
+
|
25
|
+
@mixin overlay-message($color: var(--ec-color-secondary-dark), $font-size: var(--ec-font-size-title)) {
|
26
|
+
color: $color;
|
27
|
+
font-size: $font-size;
|
28
|
+
}
|
29
|
+
|
30
|
+
@mixin overlay-empty-wrapper {
|
31
|
+
max-width: 30rem;
|
32
|
+
margin: 0 auto;
|
33
|
+
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
@import '../core';
|
2
|
+
|
3
|
+
@mixin resizable-wrapper {
|
4
|
+
position: relative;
|
5
|
+
@content;
|
6
|
+
}
|
7
|
+
|
8
|
+
@mixin resizable-handle-hover {
|
9
|
+
&::after {
|
10
|
+
background-color: var(--ec-color-interactive);
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
@mixin resizable-handle {
|
15
|
+
.handle {
|
16
|
+
position: absolute;
|
17
|
+
right: -7px;
|
18
|
+
width: 13px;
|
19
|
+
height: 100%;
|
20
|
+
top: 0;
|
21
|
+
padding: 0 5px;
|
22
|
+
z-index: var(--ec-z-index-splitter);
|
23
|
+
|
24
|
+
&::after {
|
25
|
+
content: '';
|
26
|
+
display: block;
|
27
|
+
transition: background-color .3s ease;
|
28
|
+
height: 100%;
|
29
|
+
position: relative;
|
30
|
+
}
|
31
|
+
|
32
|
+
&:hover {
|
33
|
+
cursor: col-resize;
|
34
|
+
@include resizable-handle-hover();
|
35
|
+
}
|
36
|
+
|
37
|
+
@content;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
@mixin resizable-content {
|
42
|
+
.content {
|
43
|
+
overflow: hidden;
|
44
|
+
@content;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
@mixin resizable-active {
|
49
|
+
&.is-active {
|
50
|
+
user-select: none;
|
51
|
+
|
52
|
+
.handle {
|
53
|
+
@include resizable-handle-hover();
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
@@ -0,0 +1,34 @@
|
|
1
|
+
// Animation
|
2
|
+
@use "sass:math";
|
3
|
+
|
4
|
+
@keyframes sk-bouncedelay {
|
5
|
+
0%, 80%, 100% {
|
6
|
+
opacity: 0;
|
7
|
+
} 40% {
|
8
|
+
opacity: 1;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
@mixin spinner-dot($dot-size: .75rem) {
|
13
|
+
width: $dot-size;
|
14
|
+
height: $dot-size;
|
15
|
+
background-color: var(--ec-spinner-color, var(--ec-color-purple-5));
|
16
|
+
animation: sk-bouncedelay 1.7s infinite ease-in-out both;
|
17
|
+
margin-right: math.div($dot-size, 3);
|
18
|
+
|
19
|
+
&:nth-child(1) {
|
20
|
+
animation-delay: -0.60s;
|
21
|
+
}
|
22
|
+
|
23
|
+
&:nth-child(2) {
|
24
|
+
animation-delay: -0.40s;
|
25
|
+
}
|
26
|
+
|
27
|
+
&:nth-child(3) {
|
28
|
+
animation-delay: -0.20s;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
@mixin spinner {
|
33
|
+
display: flex;
|
34
|
+
}
|
@@ -0,0 +1,298 @@
|
|
1
|
+
@import '../core';
|
2
|
+
|
3
|
+
$table-row-bg-selected: var(--ec-background-color-selected);
|
4
|
+
$table-row-bg-hover: var(--ec-background-color-hover);
|
5
|
+
$table-row-bg-heading: #EBEDEE;
|
6
|
+
$table-cell-padding-x: .5rem;
|
7
|
+
$table-cell-padding-y: .5rem;
|
8
|
+
|
9
|
+
$table-z-indexes: (
|
10
|
+
th-resizable: var(--ec-z-index-sticky-header),
|
11
|
+
td-locked: calc(var(--ec-z-index-sticky-header) + 1),
|
12
|
+
th-locked: calc(var(--ec-z-index-sticky-header) + 2)
|
13
|
+
);
|
14
|
+
|
15
|
+
@mixin table-cell($type) {
|
16
|
+
height: 2rem;
|
17
|
+
line-height: 1rem;
|
18
|
+
padding: $table-cell-padding-x $table-cell-padding-y;
|
19
|
+
@include truncate;
|
20
|
+
|
21
|
+
@if $type == th {
|
22
|
+
border-bottom: 1px solid var(--ec-border-color-dark);
|
23
|
+
color: var(--ec-color-secondary-dark);
|
24
|
+
font-weight: normal;
|
25
|
+
vertical-align: middle;
|
26
|
+
}
|
27
|
+
|
28
|
+
@if $type == td {
|
29
|
+
border-top: 1px solid var(--ec-border-color);
|
30
|
+
vertical-align: top;
|
31
|
+
}
|
32
|
+
|
33
|
+
&:first-child {
|
34
|
+
padding-left: $table-cell-padding-x * 2;
|
35
|
+
}
|
36
|
+
|
37
|
+
&:last-child {
|
38
|
+
padding-right: $table-cell-padding-x * 2;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
@mixin table-base {
|
43
|
+
border-collapse: separate;
|
44
|
+
border-spacing: 0;
|
45
|
+
width: 100%;
|
46
|
+
font-size: var(--ec-font-size-label);
|
47
|
+
|
48
|
+
th {
|
49
|
+
@include table-cell(th);
|
50
|
+
}
|
51
|
+
|
52
|
+
td {
|
53
|
+
@include table-cell(td);
|
54
|
+
}
|
55
|
+
|
56
|
+
tbody > tr:first-child td {
|
57
|
+
|
58
|
+
border-top: 0;
|
59
|
+
}
|
60
|
+
|
61
|
+
tbody {
|
62
|
+
> tr.is-error {
|
63
|
+
@include table-row-status(error);
|
64
|
+
}
|
65
|
+
|
66
|
+
> tr.is-success {
|
67
|
+
@include table-row-status(success);
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
tfoot td {
|
72
|
+
font-weight: bold;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
@mixin table-selectable {
|
77
|
+
thead th {
|
78
|
+
height: 3rem;
|
79
|
+
}
|
80
|
+
|
81
|
+
tbody > tr:hover {
|
82
|
+
> td {
|
83
|
+
background-color: $table-row-bg-hover;
|
84
|
+
border-color: transparent;
|
85
|
+
cursor: pointer;
|
86
|
+
}
|
87
|
+
|
88
|
+
&.is-selected {
|
89
|
+
background-color: $table-row-bg-selected;
|
90
|
+
}
|
91
|
+
|
92
|
+
& + tr > td {
|
93
|
+
border-color: $table-row-bg-hover;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
@mixin table-condensed() {
|
99
|
+
th,
|
100
|
+
td {
|
101
|
+
padding-top: .25rem;
|
102
|
+
padding-bottom: .25rem;
|
103
|
+
height: 1.5rem;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
@mixin table-row-heading {
|
108
|
+
color: var(--ec-color-secondary-dark);
|
109
|
+
font-size: var(--ec-font-size-label);
|
110
|
+
font-weight: var(--ec-font-weight-bold);
|
111
|
+
line-height: 1.333333333;
|
112
|
+
text-transform: uppercase;
|
113
|
+
padding-bottom: 0;
|
114
|
+
vertical-align: bottom;
|
115
|
+
border-top: 0;
|
116
|
+
}
|
117
|
+
|
118
|
+
@mixin table-row-selected {
|
119
|
+
background-color: $table-row-bg-selected;
|
120
|
+
}
|
121
|
+
|
122
|
+
@mixin table-scrollable {
|
123
|
+
position: relative;
|
124
|
+
|
125
|
+
> thead th {
|
126
|
+
background-color: var(--ec-background-color);
|
127
|
+
position: sticky !important;
|
128
|
+
top: 0;
|
129
|
+
z-index: var(--ec-z-index-sticky-header);
|
130
|
+
}
|
131
|
+
|
132
|
+
> tfoot td {
|
133
|
+
background-color: var(--ec-background-color);
|
134
|
+
position: sticky !important;
|
135
|
+
bottom: 0;
|
136
|
+
z-index: var(--ec-z-index-sticky-header);
|
137
|
+
}
|
138
|
+
}
|
139
|
+
|
140
|
+
@mixin table-col-sort-icon() {
|
141
|
+
width: .875rem;
|
142
|
+
height: .875rem;
|
143
|
+
margin: 0 .25rem;
|
144
|
+
font-size: .75rem;
|
145
|
+
display: none;
|
146
|
+
align-items: center;
|
147
|
+
justify-content: center;
|
148
|
+
}
|
149
|
+
|
150
|
+
@mixin icon-sort-asc {
|
151
|
+
font: var(--fa-font-solid);
|
152
|
+
content: "\f062";
|
153
|
+
}
|
154
|
+
|
155
|
+
@mixin table-col-sort() {
|
156
|
+
&.is-resizable {
|
157
|
+
.content-wrapper {
|
158
|
+
display: flex;
|
159
|
+
cursor: pointer;
|
160
|
+
}
|
161
|
+
|
162
|
+
.content {
|
163
|
+
flex: 0 1 auto;
|
164
|
+
}
|
165
|
+
|
166
|
+
.content-wrapper::after {
|
167
|
+
flex: none;
|
168
|
+
@include table-col-sort-icon;
|
169
|
+
}
|
170
|
+
|
171
|
+
&.is-sorted-desc,
|
172
|
+
&.is-sorted-asc {
|
173
|
+
.content-wrapper::after {
|
174
|
+
@include icon-sort-asc;
|
175
|
+
display: inline-flex;
|
176
|
+
}
|
177
|
+
}
|
178
|
+
|
179
|
+
&.is-sorted-desc {
|
180
|
+
.content-wrapper::after {
|
181
|
+
transform: scaleY(-1);
|
182
|
+
}
|
183
|
+
}
|
184
|
+
|
185
|
+
&.text-right {
|
186
|
+
.content-wrapper {
|
187
|
+
flex-direction: row-reverse;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
}
|
191
|
+
|
192
|
+
&:not(.is-resizable) {
|
193
|
+
cursor: pointer;
|
194
|
+
|
195
|
+
&::after {
|
196
|
+
@include table-col-sort-icon;
|
197
|
+
}
|
198
|
+
|
199
|
+
&.is-sorted-desc,
|
200
|
+
&.is-sorted-asc {
|
201
|
+
&::after {
|
202
|
+
@include icon-sort-asc;
|
203
|
+
display: inline-flex;
|
204
|
+
}
|
205
|
+
}
|
206
|
+
|
207
|
+
&.is-sorted-desc::after {
|
208
|
+
transform: scaleY(-1);
|
209
|
+
}
|
210
|
+
|
211
|
+
&.text-right {
|
212
|
+
&::after {
|
213
|
+
content: '';
|
214
|
+
display: none !important;
|
215
|
+
}
|
216
|
+
|
217
|
+
&::before {
|
218
|
+
@include table-col-sort-icon;
|
219
|
+
}
|
220
|
+
|
221
|
+
&.is-sorted-desc,
|
222
|
+
&.is-sorted-asc {
|
223
|
+
&::before {
|
224
|
+
@include icon-sort-asc;
|
225
|
+
display: inline-block;
|
226
|
+
}
|
227
|
+
}
|
228
|
+
|
229
|
+
&.is-sorted-desc::before {
|
230
|
+
transform: scaleY(-1);
|
231
|
+
}
|
232
|
+
}
|
233
|
+
}
|
234
|
+
}
|
235
|
+
|
236
|
+
@mixin table-action-widths($selector: '.actions') {
|
237
|
+
$action-width: 2rem;
|
238
|
+
@each $n in (1, 2, 3, 4, 5) {
|
239
|
+
#{$selector}-#{$n} {
|
240
|
+
width: ($action-width * $n) + .0625rem;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
}
|
244
|
+
|
245
|
+
@mixin table-master-cell {
|
246
|
+
width: 1.5rem;
|
247
|
+
padding: .25rem 0 !important;
|
248
|
+
vertical-align: top;
|
249
|
+
}
|
250
|
+
|
251
|
+
@mixin table-detail-row() {
|
252
|
+
background-color: var(--ec-background-color-detail);
|
253
|
+
}
|
254
|
+
|
255
|
+
@mixin table-detail-content() {
|
256
|
+
background-color: transparent;
|
257
|
+
border-top: 1px solid var(--ec-border-color);
|
258
|
+
padding: 1rem 2rem 1rem 0 !important;
|
259
|
+
}
|
260
|
+
|
261
|
+
@mixin form-table() {
|
262
|
+
td {
|
263
|
+
padding-bottom: .25rem;
|
264
|
+
padding-top: .25rem;
|
265
|
+
height: 2.5rem;
|
266
|
+
line-height: 2rem;
|
267
|
+
border-top: 0;
|
268
|
+
font-size: var(--ec-font-size-body);
|
269
|
+
}
|
270
|
+
|
271
|
+
tr:first-child {
|
272
|
+
td {
|
273
|
+
padding-top: .5rem;
|
274
|
+
height: 2.75rem;
|
275
|
+
}
|
276
|
+
}
|
277
|
+
|
278
|
+
tr:last-child {
|
279
|
+
td {
|
280
|
+
padding-bottom: .5rem;
|
281
|
+
height: 2.75rem;
|
282
|
+
}
|
283
|
+
}
|
284
|
+
}
|
285
|
+
|
286
|
+
@mixin table-row-status($status) {
|
287
|
+
$bg-color: var(--ec-background-color-caution);
|
288
|
+
|
289
|
+
@if $status == error {
|
290
|
+
$bg-color: var(--ec-background-color-danger);
|
291
|
+
} @else if $status == success {
|
292
|
+
$bg-color: var(--ec-background-color-success);
|
293
|
+
}
|
294
|
+
|
295
|
+
td {
|
296
|
+
background-color: $bg-color;
|
297
|
+
}
|
298
|
+
}
|