@energinet/watt 4.2.15 → 4.2.16
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/badge/index.d.ts +17 -15
- package/breadcrumbs/index.d.ts +24 -15
- package/button/index.d.ts +23 -17
- package/card/index.d.ts +22 -16
- package/checkbox/index.d.ts +20 -17
- package/chip/index.d.ts +104 -23
- package/clipboard/index.d.ts +22 -18
- package/code/index.d.ts +40 -3
- package/core/breakpoints/index.d.ts +38 -2
- package/core/color/index.d.ts +48 -2
- package/core/date/index.d.ts +121 -7
- package/data/index.d.ts +61 -20
- package/datetime-field/index.d.ts +44 -17
- package/description-list/index.d.ts +30 -15
- package/drawer/index.d.ts +73 -21
- package/dropdown/index.d.ts +151 -3
- package/dropzone/index.d.ts +65 -17
- package/empty-state/index.d.ts +37 -19
- package/expandable-card/index.d.ts +39 -2
- package/{esm2022/badge/watt-badge.component.js → fesm2022/energinet-watt-badge.mjs} +30 -4
- package/fesm2022/energinet-watt-badge.mjs.map +1 -0
- package/{esm2022/breadcrumbs/watt-breadcrumbs.component.js → fesm2022/energinet-watt-breadcrumbs.mjs} +36 -10
- package/fesm2022/energinet-watt-breadcrumbs.mjs.map +1 -0
- package/{esm2022/button/watt-button.component.js → fesm2022/energinet-watt-button.mjs} +35 -9
- package/fesm2022/energinet-watt-button.mjs.map +1 -0
- package/{esm2022/card/watt-card.component.js → fesm2022/energinet-watt-card.mjs} +63 -7
- package/fesm2022/energinet-watt-card.mjs.map +1 -0
- package/{esm2022/checkbox/watt-checkbox.component.js → fesm2022/energinet-watt-checkbox.mjs} +32 -6
- package/fesm2022/energinet-watt-checkbox.mjs.map +1 -0
- package/fesm2022/energinet-watt-chip.mjs +694 -0
- package/fesm2022/energinet-watt-chip.mjs.map +1 -0
- package/{esm2022/clipboard/watt-copy-to-clipboard.directive.js → fesm2022/energinet-watt-clipboard.mjs} +61 -7
- package/fesm2022/energinet-watt-clipboard.mjs.map +1 -0
- package/{esm2022/code/watt-code.component.js → fesm2022/energinet-watt-code.mjs} +83 -11
- package/fesm2022/energinet-watt-code.mjs.map +1 -0
- package/fesm2022/energinet-watt-core-breakpoints.mjs +97 -0
- package/fesm2022/energinet-watt-core-breakpoints.mjs.map +1 -0
- package/fesm2022/energinet-watt-core-color.mjs +124 -0
- package/fesm2022/energinet-watt-core-color.mjs.map +1 -0
- package/fesm2022/energinet-watt-core-date.mjs +256 -0
- package/fesm2022/energinet-watt-core-date.mjs.map +1 -0
- package/{esm2022/data/watt-data-table.component.js → fesm2022/energinet-watt-data.mjs} +134 -12
- package/fesm2022/energinet-watt-data.mjs.map +1 -0
- package/{esm2022/datetime-field/watt-datetime-field.component.js → fesm2022/energinet-watt-datetime-field.mjs} +40 -14
- package/fesm2022/energinet-watt-datetime-field.mjs.map +1 -0
- package/{esm2022/description-list/watt-description-list.component.js → fesm2022/energinet-watt-description-list.mjs} +77 -8
- package/fesm2022/energinet-watt-description-list.mjs.map +1 -0
- package/{esm2022/drawer/watt-drawer.component.js → fesm2022/energinet-watt-drawer.mjs} +150 -17
- package/fesm2022/energinet-watt-drawer.mjs.map +1 -0
- package/{esm2022/dropdown/watt-dropdown.component.js → fesm2022/energinet-watt-dropdown.mjs} +44 -18
- package/fesm2022/energinet-watt-dropdown.mjs.map +1 -0
- package/{esm2022/dropzone/watt-dropzone.js → fesm2022/energinet-watt-dropzone.mjs} +133 -14
- package/fesm2022/energinet-watt-dropzone.mjs.map +1 -0
- package/{esm2022/empty-state/icons/not-found.js → fesm2022/energinet-watt-empty-state.mjs} +301 -4
- package/fesm2022/energinet-watt-empty-state.mjs.map +1 -0
- package/{esm2022/expandable-card/watt-expandable-card.component.js → fesm2022/energinet-watt-expandable-card.mjs} +40 -9
- package/fesm2022/energinet-watt-expandable-card.mjs.map +1 -0
- package/{esm2022/field/watt-field.component.js → fesm2022/energinet-watt-field.mjs} +149 -14
- package/fesm2022/energinet-watt-field.mjs.map +1 -0
- package/{esm2022/file-field/watt-file-field.component.js → fesm2022/energinet-watt-file-field.mjs} +32 -6
- package/fesm2022/energinet-watt-file-field.mjs.map +1 -0
- package/fesm2022/energinet-watt-icon-flags.mjs +547 -0
- package/fesm2022/energinet-watt-icon-flags.mjs.map +1 -0
- package/{esm2022/icon/icon.component.js → fesm2022/energinet-watt-icon.mjs} +135 -6
- package/fesm2022/energinet-watt-icon.mjs.map +1 -0
- package/fesm2022/energinet-watt-menu.mjs +282 -0
- package/fesm2022/energinet-watt-menu.mjs.map +1 -0
- package/{esm2022/modal/watt-modal.component.js → fesm2022/energinet-watt-modal.mjs} +109 -13
- package/fesm2022/energinet-watt-modal.mjs.map +1 -0
- package/{esm2022/paginator/watt-paginator.component.js → fesm2022/energinet-watt-paginator.mjs} +69 -9
- package/fesm2022/energinet-watt-paginator.mjs.map +1 -0
- package/{esm2022/phone-field/watt-phone-field.component.js → fesm2022/energinet-watt-phone-field.mjs} +80 -16
- package/fesm2022/energinet-watt-phone-field.mjs.map +1 -0
- package/fesm2022/energinet-watt-picker-__shared.mjs +292 -0
- package/fesm2022/energinet-watt-picker-__shared.mjs.map +1 -0
- package/{esm2022/picker/datepicker/watt-datepicker.component.js → fesm2022/energinet-watt-picker-datepicker.mjs} +71 -16
- package/fesm2022/energinet-watt-picker-datepicker.mjs.map +1 -0
- package/{esm2022/picker/timepicker/watt-timepicker.component.js → fesm2022/energinet-watt-picker-timepicker.mjs} +126 -20
- package/fesm2022/energinet-watt-picker-timepicker.mjs.map +1 -0
- package/{esm2022/progress-tracker/watt-progress-tracker-step.component.js → fesm2022/energinet-watt-progress-tracker.mjs} +64 -6
- package/fesm2022/energinet-watt-progress-tracker.mjs.map +1 -0
- package/{esm2022/query-params/watt-query-params.directive.js → fesm2022/energinet-watt-query-params.mjs} +32 -6
- package/fesm2022/energinet-watt-query-params.mjs.map +1 -0
- package/{esm2022/radio/watt-radio.component.js → fesm2022/energinet-watt-radio.mjs} +146 -5
- package/fesm2022/energinet-watt-radio.mjs.map +1 -0
- package/{esm2022/search/watt-search.component.js → fesm2022/energinet-watt-search.mjs} +33 -7
- package/fesm2022/energinet-watt-search.mjs.map +1 -0
- package/{esm2022/segmented-buttons/watt-segmented-buttons.component.js → fesm2022/energinet-watt-segmented-buttons.mjs} +77 -11
- package/fesm2022/energinet-watt-segmented-buttons.mjs.map +1 -0
- package/fesm2022/energinet-watt-shell.mjs +303 -0
- package/fesm2022/energinet-watt-shell.mjs.map +1 -0
- package/{esm2022/slide-toggle/watt-slide-toggle.component.js → fesm2022/energinet-watt-slide-toggle.mjs} +34 -8
- package/fesm2022/energinet-watt-slide-toggle.mjs.map +1 -0
- package/{esm2022/slider/watt-slider.component.js → fesm2022/energinet-watt-slider.mjs} +33 -7
- package/fesm2022/energinet-watt-slider.mjs.map +1 -0
- package/{esm2022/spinner/watt-spinner.component.js → fesm2022/energinet-watt-spinner.mjs} +30 -4
- package/fesm2022/energinet-watt-spinner.mjs.map +1 -0
- package/{esm2022/stepper/watt-stepper.component.js → fesm2022/energinet-watt-stepper.mjs} +85 -15
- package/fesm2022/energinet-watt-stepper.mjs.map +1 -0
- package/{esm2022/table/watt-table.component.js → fesm2022/energinet-watt-table.mjs} +134 -22
- package/fesm2022/energinet-watt-table.mjs.map +1 -0
- package/fesm2022/energinet-watt-tabs.mjs +254 -0
- package/fesm2022/energinet-watt-tabs.mjs.map +1 -0
- package/{esm2022/text-field/watt-text-field.component.js → fesm2022/energinet-watt-text-field.mjs} +36 -10
- package/fesm2022/energinet-watt-text-field.mjs.map +1 -0
- package/{esm2022/textarea-field/watt-textarea-field.component.js → fesm2022/energinet-watt-textarea-field.mjs} +32 -6
- package/fesm2022/energinet-watt-textarea-field.mjs.map +1 -0
- package/{esm2022/toast/watt-toast.component.js → fesm2022/energinet-watt-toast.mjs} +82 -9
- package/fesm2022/energinet-watt-toast.mjs.map +1 -0
- package/{esm2022/tooltip/watt-tooltip.component.js → fesm2022/energinet-watt-tooltip.mjs} +98 -8
- package/fesm2022/energinet-watt-tooltip.mjs.map +1 -0
- package/{esm2022/utils/css/css-custom-properties.service.js → fesm2022/energinet-watt-utils-css.mjs} +30 -4
- package/fesm2022/energinet-watt-utils-css.mjs.map +1 -0
- package/{esm2022/utils/intersection-observer/watt-intersection-observer.service.js → fesm2022/energinet-watt-utils-intersection-observer.mjs} +31 -5
- package/fesm2022/energinet-watt-utils-intersection-observer.mjs.map +1 -0
- package/fesm2022/energinet-watt-utils-resize-observer.mjs +143 -0
- package/fesm2022/energinet-watt-utils-resize-observer.mjs.map +1 -0
- package/{esm2022/validation-message/watt-validation-message.component.js → fesm2022/energinet-watt-validation-message.mjs} +31 -5
- package/fesm2022/energinet-watt-validation-message.mjs.map +1 -0
- package/{esm2022/validators/watt-range.validators.js → fesm2022/energinet-watt-validators.mjs} +28 -2
- package/fesm2022/energinet-watt-validators.mjs.map +1 -0
- package/fesm2022/energinet-watt-vater.mjs +248 -0
- package/fesm2022/energinet-watt-vater.mjs.map +1 -0
- package/{esm2022/year-field/watt-year-field.component.js → fesm2022/energinet-watt-year-field.mjs} +39 -13
- package/fesm2022/energinet-watt-year-field.mjs.map +1 -0
- package/{esm2022/yearmonth-field/watt-yearmonth-field.component.js → fesm2022/energinet-watt-yearmonth-field.mjs} +79 -13
- package/fesm2022/energinet-watt-yearmonth-field.mjs.map +1 -0
- package/{esm2022/index.js → fesm2022/energinet-watt.mjs} +8 -2
- package/fesm2022/energinet-watt.mjs.map +1 -0
- package/field/index.d.ts +62 -21
- package/file-field/index.d.ts +13 -17
- package/icon/flags/index.d.ts +61 -26
- package/icon/index.d.ts +105 -1
- package/index.d.ts +3 -1
- package/menu/index.d.ts +103 -9
- package/modal/index.d.ts +111 -2
- package/package.json +9 -9
- package/paginator/index.d.ts +52 -16
- package/phone-field/index.d.ts +79 -18
- package/picker/__shared/index.d.ts +88 -3
- package/picker/datepicker/index.d.ts +87 -16
- package/picker/timepicker/index.d.ts +70 -14
- package/progress-tracker/index.d.ts +21 -4
- package/query-params/index.d.ts +12 -17
- package/radio/index.d.ts +71 -18
- package/search/index.d.ts +47 -17
- package/segmented-buttons/index.d.ts +32 -5
- package/shell/index.d.ts +47 -18
- package/slide-toggle/index.d.ts +18 -15
- package/slider/index.d.ts +33 -15
- package/spinner/index.d.ts +16 -15
- package/stepper/index.d.ts +43 -2
- package/table/index.d.ts +301 -2
- package/tabs/index.d.ts +52 -10
- package/text-field/index.d.ts +67 -17
- package/textarea-field/index.d.ts +31 -17
- package/toast/index.d.ts +59 -17
- package/tooltip/index.d.ts +20 -17
- package/utils/css/index.d.ts +12 -17
- package/utils/intersection-observer/index.d.ts +22 -14
- package/utils/resize-observer/index.d.ts +46 -2
- package/validation-message/index.d.ts +36 -15
- package/validators/index.d.ts +12 -1
- package/vater/index.d.ts +71 -5
- package/year-field/index.d.ts +60 -17
- package/yearmonth-field/index.d.ts +64 -18
- package/badge/energinet-watt-badge.d.ts +0 -5
- package/badge/watt-badge.component.d.ts +0 -15
- package/breadcrumbs/energinet-watt-breadcrumbs.d.ts +0 -5
- package/breadcrumbs/watt-breadcrumbs.component.d.ts +0 -23
- package/button/energinet-watt-button.d.ts +0 -5
- package/button/watt-button.component.d.ts +0 -22
- package/card/energinet-watt-card.d.ts +0 -5
- package/card/watt-card-title.component.d.ts +0 -6
- package/card/watt-card.component.d.ts +0 -15
- package/checkbox/energinet-watt-checkbox.d.ts +0 -5
- package/checkbox/watt-checkbox.component.d.ts +0 -17
- package/chip/energinet-watt-chip.d.ts +0 -5
- package/chip/watt-action-chip.component.d.ts +0 -8
- package/chip/watt-chip.component.d.ts +0 -8
- package/chip/watt-chip.directive.d.ts +0 -16
- package/chip/watt-date-chip.component.d.ts +0 -12
- package/chip/watt-date-range-chip.component.d.ts +0 -50
- package/chip/watt-filter-chip.component.d.ts +0 -13
- package/chip/watt-menu-chip.component.d.ts +0 -13
- package/clipboard/energinet-watt-clipboard.d.ts +0 -5
- package/clipboard/watt-clipboard-intl.service.d.ts +0 -7
- package/clipboard/watt-copy-to-clipboard.directive.d.ts +0 -12
- package/code/energinet-watt-code.d.ts +0 -5
- package/code/watt-code-intl.service.d.ts +0 -6
- package/code/watt-code.component.d.ts +0 -45
- package/code/watt-code.worker.token.d.ts +0 -18
- package/core/breakpoints/breakpoints-observer.d.ts +0 -21
- package/core/breakpoints/breakpoints.d.ts +0 -29
- package/core/breakpoints/energinet-watt-core-breakpoints.d.ts +0 -5
- package/core/color/color-helper.service.d.ts +0 -10
- package/core/color/colors.d.ts +0 -51
- package/core/color/energinet-watt-core-color.d.ts +0 -5
- package/core/date/dayjs.d.ts +0 -22
- package/core/date/energinet-watt-core-date.d.ts +0 -5
- package/core/date/watt-danish-datetime.providers.d.ts +0 -1
- package/core/date/watt-date-adapter.d.ts +0 -31
- package/core/date/watt-date-range.d.ts +0 -25
- package/core/date/watt-date.pipe.d.ts +0 -28
- package/core/date/watt-format-date.d.ts +0 -11
- package/core/date/watt-locale.service.d.ts +0 -11
- package/data/energinet-watt-data.d.ts +0 -5
- package/data/watt-data-actions.component.d.ts +0 -5
- package/data/watt-data-filters.component.d.ts +0 -5
- package/data/watt-data-intl.service.d.ts +0 -15
- package/data/watt-data-table.component.d.ts +0 -34
- package/datetime-field/energinet-watt-datetime-field.d.ts +0 -5
- package/datetime-field/watt-datetime-field.component.d.ts +0 -39
- package/description-list/energinet-watt-description-list.d.ts +0 -5
- package/description-list/watt-description-list-item.component.d.ts +0 -27
- package/description-list/watt-description-list.component.d.ts +0 -20
- package/drawer/energinet-watt-drawer.d.ts +0 -5
- package/drawer/watt-drawer-actions.component.d.ts +0 -5
- package/drawer/watt-drawer-content.component.d.ts +0 -5
- package/drawer/watt-drawer-heading.component.d.ts +0 -5
- package/drawer/watt-drawer-topbar.component.d.ts +0 -5
- package/drawer/watt-drawer.component.d.ts +0 -66
- package/dropdown/energinet-watt-dropdown.d.ts +0 -5
- package/dropdown/watt-dropdown-option.d.ts +0 -28
- package/dropdown/watt-dropdown-value.d.ts +0 -17
- package/dropdown/watt-dropdown.component.d.ts +0 -133
- package/dropzone/energinet-watt-dropzone.d.ts +0 -5
- package/dropzone/watt-dropzone-intl.d.ts +0 -11
- package/dropzone/watt-dropzone-validators.d.ts +0 -27
- package/dropzone/watt-dropzone.d.ts +0 -31
- package/empty-state/energinet-watt-empty-state.d.ts +0 -5
- package/empty-state/icons/explore.d.ts +0 -5
- package/empty-state/icons/no-results.d.ts +0 -5
- package/empty-state/icons/not-found.d.ts +0 -5
- package/empty-state/icons/power.d.ts +0 -5
- package/empty-state/watt-empty-state.component.d.ts +0 -16
- package/energinet-watt.d.ts +0 -5
- package/esm2022/badge/energinet-watt-badge.js +0 -5
- package/esm2022/badge/energinet-watt-badge.js.map +0 -1
- package/esm2022/badge/index.js +0 -20
- package/esm2022/badge/index.js.map +0 -1
- package/esm2022/badge/watt-badge.component.js.map +0 -1
- package/esm2022/breadcrumbs/energinet-watt-breadcrumbs.js +0 -5
- package/esm2022/breadcrumbs/energinet-watt-breadcrumbs.js.map +0 -1
- package/esm2022/breadcrumbs/index.js +0 -20
- package/esm2022/breadcrumbs/index.js.map +0 -1
- package/esm2022/breadcrumbs/watt-breadcrumbs.component.js.map +0 -1
- package/esm2022/button/energinet-watt-button.js +0 -5
- package/esm2022/button/energinet-watt-button.js.map +0 -1
- package/esm2022/button/index.js +0 -20
- package/esm2022/button/index.js.map +0 -1
- package/esm2022/button/watt-button.component.js.map +0 -1
- package/esm2022/card/energinet-watt-card.js +0 -5
- package/esm2022/card/energinet-watt-card.js.map +0 -1
- package/esm2022/card/index.js +0 -21
- package/esm2022/card/index.js.map +0 -1
- package/esm2022/card/watt-card-title.component.js +0 -33
- package/esm2022/card/watt-card-title.component.js.map +0 -1
- package/esm2022/card/watt-card.component.js.map +0 -1
- package/esm2022/checkbox/energinet-watt-checkbox.js +0 -5
- package/esm2022/checkbox/energinet-watt-checkbox.js.map +0 -1
- package/esm2022/checkbox/index.js +0 -20
- package/esm2022/checkbox/index.js.map +0 -1
- package/esm2022/checkbox/watt-checkbox.component.js.map +0 -1
- package/esm2022/chip/energinet-watt-chip.js +0 -5
- package/esm2022/chip/energinet-watt-chip.js.map +0 -1
- package/esm2022/chip/index.js +0 -26
- package/esm2022/chip/index.js.map +0 -1
- package/esm2022/chip/watt-action-chip.component.js +0 -68
- package/esm2022/chip/watt-action-chip.component.js.map +0 -1
- package/esm2022/chip/watt-chip.component.js +0 -55
- package/esm2022/chip/watt-chip.component.js.map +0 -1
- package/esm2022/chip/watt-chip.directive.js +0 -92
- package/esm2022/chip/watt-chip.directive.js.map +0 -1
- package/esm2022/chip/watt-date-chip.component.js +0 -104
- package/esm2022/chip/watt-date-chip.component.js.map +0 -1
- package/esm2022/chip/watt-date-range-chip.component.js +0 -213
- package/esm2022/chip/watt-date-range-chip.component.js.map +0 -1
- package/esm2022/chip/watt-filter-chip.component.js +0 -82
- package/esm2022/chip/watt-filter-chip.component.js.map +0 -1
- package/esm2022/chip/watt-menu-chip.component.js +0 -80
- package/esm2022/chip/watt-menu-chip.component.js.map +0 -1
- package/esm2022/clipboard/energinet-watt-clipboard.js +0 -5
- package/esm2022/clipboard/energinet-watt-clipboard.js.map +0 -1
- package/esm2022/clipboard/index.js +0 -21
- package/esm2022/clipboard/index.js.map +0 -1
- package/esm2022/clipboard/watt-clipboard-intl.service.js +0 -31
- package/esm2022/clipboard/watt-clipboard-intl.service.js.map +0 -1
- package/esm2022/clipboard/watt-copy-to-clipboard.directive.js.map +0 -1
- package/esm2022/code/energinet-watt-code.js +0 -5
- package/esm2022/code/energinet-watt-code.js.map +0 -1
- package/esm2022/code/index.js +0 -22
- package/esm2022/code/index.js.map +0 -1
- package/esm2022/code/watt-code-intl.service.js +0 -30
- package/esm2022/code/watt-code-intl.service.js.map +0 -1
- package/esm2022/code/watt-code.component.js.map +0 -1
- package/esm2022/code/watt-code.worker.token.js +0 -21
- package/esm2022/code/watt-code.worker.token.js.map +0 -1
- package/esm2022/core/breakpoints/breakpoints-observer.js +0 -41
- package/esm2022/core/breakpoints/breakpoints-observer.js.map +0 -1
- package/esm2022/core/breakpoints/breakpoints.js +0 -31
- package/esm2022/core/breakpoints/breakpoints.js.map +0 -1
- package/esm2022/core/breakpoints/energinet-watt-core-breakpoints.js +0 -5
- package/esm2022/core/breakpoints/energinet-watt-core-breakpoints.js.map +0 -1
- package/esm2022/core/breakpoints/index.js +0 -21
- package/esm2022/core/breakpoints/index.js.map +0 -1
- package/esm2022/core/color/color-helper.service.js +0 -41
- package/esm2022/core/color/color-helper.service.js.map +0 -1
- package/esm2022/core/color/colors.js +0 -58
- package/esm2022/core/color/colors.js.map +0 -1
- package/esm2022/core/color/energinet-watt-core-color.js +0 -5
- package/esm2022/core/color/energinet-watt-core-color.js.map +0 -1
- package/esm2022/core/color/index.js +0 -21
- package/esm2022/core/color/index.js.map +0 -1
- package/esm2022/core/date/dayjs.js +0 -34
- package/esm2022/core/date/dayjs.js.map +0 -1
- package/esm2022/core/date/energinet-watt-core-date.js +0 -5
- package/esm2022/core/date/energinet-watt-core-date.js.map +0 -1
- package/esm2022/core/date/index.js +0 -25
- package/esm2022/core/date/index.js.map +0 -1
- package/esm2022/core/date/watt-danish-datetime.providers.js +0 -31
- package/esm2022/core/date/watt-danish-datetime.providers.js.map +0 -1
- package/esm2022/core/date/watt-date-adapter.js +0 -43
- package/esm2022/core/date/watt-date-adapter.js.map +0 -1
- package/esm2022/core/date/watt-date-range.js +0 -2
- package/esm2022/core/date/watt-date-range.js.map +0 -1
- package/esm2022/core/date/watt-date.pipe.js +0 -38
- package/esm2022/core/date/watt-date.pipe.js.map +0 -1
- package/esm2022/core/date/watt-format-date.js +0 -50
- package/esm2022/core/date/watt-format-date.js.map +0 -1
- package/esm2022/core/date/watt-locale.service.js +0 -48
- package/esm2022/core/date/watt-locale.service.js.map +0 -1
- package/esm2022/data/energinet-watt-data.js +0 -5
- package/esm2022/data/energinet-watt-data.js.map +0 -1
- package/esm2022/data/index.js +0 -23
- package/esm2022/data/index.js.map +0 -1
- package/esm2022/data/watt-data-actions.component.js +0 -32
- package/esm2022/data/watt-data-actions.component.js.map +0 -1
- package/esm2022/data/watt-data-filters.component.js +0 -32
- package/esm2022/data/watt-data-filters.component.js.map +0 -1
- package/esm2022/data/watt-data-intl.service.js +0 -39
- package/esm2022/data/watt-data-intl.service.js.map +0 -1
- package/esm2022/data/watt-data-table.component.js.map +0 -1
- package/esm2022/datetime-field/energinet-watt-datetime-field.js +0 -5
- package/esm2022/datetime-field/energinet-watt-datetime-field.js.map +0 -1
- package/esm2022/datetime-field/index.js +0 -20
- package/esm2022/datetime-field/index.js.map +0 -1
- package/esm2022/datetime-field/watt-datetime-field.component.js.map +0 -1
- package/esm2022/description-list/energinet-watt-description-list.js +0 -5
- package/esm2022/description-list/energinet-watt-description-list.js.map +0 -1
- package/esm2022/description-list/index.js +0 -20
- package/esm2022/description-list/index.js.map +0 -1
- package/esm2022/description-list/watt-description-list-item.component.js +0 -49
- package/esm2022/description-list/watt-description-list-item.component.js.map +0 -1
- package/esm2022/description-list/watt-description-list.component.js.map +0 -1
- package/esm2022/drawer/energinet-watt-drawer.js +0 -5
- package/esm2022/drawer/energinet-watt-drawer.js.map +0 -1
- package/esm2022/drawer/index.js +0 -24
- package/esm2022/drawer/index.js.map +0 -1
- package/esm2022/drawer/watt-drawer-actions.component.js +0 -29
- package/esm2022/drawer/watt-drawer-actions.component.js.map +0 -1
- package/esm2022/drawer/watt-drawer-content.component.js +0 -29
- package/esm2022/drawer/watt-drawer-content.component.js.map +0 -1
- package/esm2022/drawer/watt-drawer-heading.component.js +0 -29
- package/esm2022/drawer/watt-drawer-heading.component.js.map +0 -1
- package/esm2022/drawer/watt-drawer-topbar.component.js +0 -32
- package/esm2022/drawer/watt-drawer-topbar.component.js.map +0 -1
- package/esm2022/drawer/watt-drawer.component.js.map +0 -1
- package/esm2022/dropdown/energinet-watt-dropdown.js +0 -5
- package/esm2022/dropdown/energinet-watt-dropdown.js.map +0 -1
- package/esm2022/dropdown/index.js +0 -20
- package/esm2022/dropdown/index.js.map +0 -1
- package/esm2022/dropdown/watt-dropdown-option.js +0 -2
- package/esm2022/dropdown/watt-dropdown-option.js.map +0 -1
- package/esm2022/dropdown/watt-dropdown-value.js +0 -2
- package/esm2022/dropdown/watt-dropdown-value.js.map +0 -1
- package/esm2022/dropdown/watt-dropdown.component.js.map +0 -1
- package/esm2022/dropzone/energinet-watt-dropzone.js +0 -5
- package/esm2022/dropzone/energinet-watt-dropzone.js.map +0 -1
- package/esm2022/dropzone/index.js +0 -22
- package/esm2022/dropzone/index.js.map +0 -1
- package/esm2022/dropzone/watt-dropzone-intl.js +0 -35
- package/esm2022/dropzone/watt-dropzone-intl.js.map +0 -1
- package/esm2022/dropzone/watt-dropzone-validators.js +0 -67
- package/esm2022/dropzone/watt-dropzone-validators.js.map +0 -1
- package/esm2022/dropzone/watt-dropzone.js.map +0 -1
- package/esm2022/empty-state/energinet-watt-empty-state.js +0 -5
- package/esm2022/empty-state/energinet-watt-empty-state.js.map +0 -1
- package/esm2022/empty-state/icons/explore.js +0 -54
- package/esm2022/empty-state/icons/explore.js.map +0 -1
- package/esm2022/empty-state/icons/no-results.js +0 -62
- package/esm2022/empty-state/icons/no-results.js.map +0 -1
- package/esm2022/empty-state/icons/not-found.js.map +0 -1
- package/esm2022/empty-state/icons/power.js +0 -46
- package/esm2022/empty-state/icons/power.js.map +0 -1
- package/esm2022/empty-state/index.js +0 -24
- package/esm2022/empty-state/index.js.map +0 -1
- package/esm2022/empty-state/watt-empty-state.component.js +0 -120
- package/esm2022/empty-state/watt-empty-state.component.js.map +0 -1
- package/esm2022/energinet-watt.js +0 -5
- package/esm2022/energinet-watt.js.map +0 -1
- package/esm2022/expandable-card/energinet-watt-expandable-card.js +0 -5
- package/esm2022/expandable-card/energinet-watt-expandable-card.js.map +0 -1
- package/esm2022/expandable-card/index.js +0 -26
- package/esm2022/expandable-card/index.js.map +0 -1
- package/esm2022/expandable-card/watt-expandable-card.component.js.map +0 -1
- package/esm2022/field/energinet-watt-field.js +0 -5
- package/esm2022/field/energinet-watt-field.js.map +0 -1
- package/esm2022/field/index.js +0 -24
- package/esm2022/field/index.js.map +0 -1
- package/esm2022/field/watt-field-error.component.js +0 -29
- package/esm2022/field/watt-field-error.component.js.map +0 -1
- package/esm2022/field/watt-field-hint.component.js +0 -29
- package/esm2022/field/watt-field-hint.component.js.map +0 -1
- package/esm2022/field/watt-field-intl.service.js +0 -32
- package/esm2022/field/watt-field-intl.service.js.map +0 -1
- package/esm2022/field/watt-field-warning.component.js +0 -29
- package/esm2022/field/watt-field-warning.component.js.map +0 -1
- package/esm2022/field/watt-field.component.js.map +0 -1
- package/esm2022/file-field/energinet-watt-file-field.js +0 -5
- package/esm2022/file-field/energinet-watt-file-field.js.map +0 -1
- package/esm2022/file-field/index.js +0 -20
- package/esm2022/file-field/index.js.map +0 -1
- package/esm2022/file-field/watt-file-field.component.js.map +0 -1
- package/esm2022/icon/energinet-watt-icon.js +0 -5
- package/esm2022/icon/energinet-watt-icon.js.map +0 -1
- package/esm2022/icon/flags/energinet-watt-icon-flags.js +0 -5
- package/esm2022/icon/flags/energinet-watt-icon-flags.js.map +0 -1
- package/esm2022/icon/flags/index.js +0 -29
- package/esm2022/icon/flags/index.js.map +0 -1
- package/esm2022/icon/flags/watt-flag-ch.js +0 -52
- package/esm2022/icon/flags/watt-flag-ch.js.map +0 -1
- package/esm2022/icon/flags/watt-flag-de.js +0 -44
- package/esm2022/icon/flags/watt-flag-de.js.map +0 -1
- package/esm2022/icon/flags/watt-flag-dk.js +0 -44
- package/esm2022/icon/flags/watt-flag-dk.js.map +0 -1
- package/esm2022/icon/flags/watt-flag-fi.js +0 -44
- package/esm2022/icon/flags/watt-flag-fi.js.map +0 -1
- package/esm2022/icon/flags/watt-flag-gb.js +0 -60
- package/esm2022/icon/flags/watt-flag-gb.js.map +0 -1
- package/esm2022/icon/flags/watt-flag-nl.js +0 -44
- package/esm2022/icon/flags/watt-flag-nl.js.map +0 -1
- package/esm2022/icon/flags/watt-flag-no.js +0 -48
- package/esm2022/icon/flags/watt-flag-no.js.map +0 -1
- package/esm2022/icon/flags/watt-flag-pl.js +0 -46
- package/esm2022/icon/flags/watt-flag-pl.js.map +0 -1
- package/esm2022/icon/flags/watt-flag-se.js +0 -42
- package/esm2022/icon/flags/watt-flag-se.js.map +0 -1
- package/esm2022/icon/flags/watt-flag.js +0 -124
- package/esm2022/icon/flags/watt-flag.js.map +0 -1
- package/esm2022/icon/icon.component.js.map +0 -1
- package/esm2022/icon/icons.js +0 -104
- package/esm2022/icon/icons.js.map +0 -1
- package/esm2022/icon/index.js +0 -20
- package/esm2022/icon/index.js.map +0 -1
- package/esm2022/index.js.map +0 -1
- package/esm2022/menu/energinet-watt-menu.js +0 -5
- package/esm2022/menu/energinet-watt-menu.js.map +0 -1
- package/esm2022/menu/index.js +0 -36
- package/esm2022/menu/index.js.map +0 -1
- package/esm2022/menu/watt-menu-group.component.js +0 -45
- package/esm2022/menu/watt-menu-group.component.js.map +0 -1
- package/esm2022/menu/watt-menu-item.component.js +0 -50
- package/esm2022/menu/watt-menu-item.component.js.map +0 -1
- package/esm2022/menu/watt-menu-trigger.directive.js +0 -85
- package/esm2022/menu/watt-menu-trigger.directive.js.map +0 -1
- package/esm2022/menu/watt-menu.component.js +0 -77
- package/esm2022/menu/watt-menu.component.js.map +0 -1
- package/esm2022/modal/energinet-watt-modal.js +0 -5
- package/esm2022/modal/energinet-watt-modal.js.map +0 -1
- package/esm2022/modal/index.js +0 -21
- package/esm2022/modal/index.js.map +0 -1
- package/esm2022/modal/watt-modal.component.js.map +0 -1
- package/esm2022/modal/watt-modal.service.js +0 -74
- package/esm2022/modal/watt-modal.service.js.map +0 -1
- package/esm2022/paginator/energinet-watt-paginator.js +0 -5
- package/esm2022/paginator/energinet-watt-paginator.js.map +0 -1
- package/esm2022/paginator/index.js +0 -21
- package/esm2022/paginator/index.js.map +0 -1
- package/esm2022/paginator/watt-paginator-intl.service.js +0 -38
- package/esm2022/paginator/watt-paginator-intl.service.js.map +0 -1
- package/esm2022/paginator/watt-paginator.component.js.map +0 -1
- package/esm2022/phone-field/energinet-watt-phone-field.js +0 -5
- package/esm2022/phone-field/energinet-watt-phone-field.js.map +0 -1
- package/esm2022/phone-field/index.js +0 -21
- package/esm2022/phone-field/index.js.map +0 -1
- package/esm2022/phone-field/watt-phone-field-intl.service.js +0 -41
- package/esm2022/phone-field/watt-phone-field-intl.service.js.map +0 -1
- package/esm2022/phone-field/watt-phone-field.component.js.map +0 -1
- package/esm2022/picker/__shared/energinet-watt-picker-__shared.js +0 -5
- package/esm2022/picker/__shared/energinet-watt-picker-__shared.js.map +0 -1
- package/esm2022/picker/__shared/index.js +0 -21
- package/esm2022/picker/__shared/index.js.map +0 -1
- package/esm2022/picker/__shared/placeholder-mask/watt-placeholder-mask.component.js +0 -71
- package/esm2022/picker/__shared/placeholder-mask/watt-placeholder-mask.component.js.map +0 -1
- package/esm2022/picker/__shared/watt-picker-base.js +0 -197
- package/esm2022/picker/__shared/watt-picker-base.js.map +0 -1
- package/esm2022/picker/__shared/watt-picker-value.js +0 -2
- package/esm2022/picker/__shared/watt-picker-value.js.map +0 -1
- package/esm2022/picker/datepicker/energinet-watt-picker-datepicker.js +0 -5
- package/esm2022/picker/datepicker/energinet-watt-picker-datepicker.js.map +0 -1
- package/esm2022/picker/datepicker/index.js +0 -22
- package/esm2022/picker/datepicker/index.js.map +0 -1
- package/esm2022/picker/datepicker/watt-datepicker-intl.service.js +0 -31
- package/esm2022/picker/datepicker/watt-datepicker-intl.service.js.map +0 -1
- package/esm2022/picker/datepicker/watt-datepicker.component.js.map +0 -1
- package/esm2022/picker/timepicker/energinet-watt-picker-timepicker.js +0 -5
- package/esm2022/picker/timepicker/energinet-watt-picker-timepicker.js.map +0 -1
- package/esm2022/picker/timepicker/index.js +0 -20
- package/esm2022/picker/timepicker/index.js.map +0 -1
- package/esm2022/picker/timepicker/maskito-time-range-mask.js +0 -81
- package/esm2022/picker/timepicker/maskito-time-range-mask.js.map +0 -1
- package/esm2022/picker/timepicker/watt-timepicker.component.js.map +0 -1
- package/esm2022/progress-tracker/energinet-watt-progress-tracker.js +0 -5
- package/esm2022/progress-tracker/energinet-watt-progress-tracker.js.map +0 -1
- package/esm2022/progress-tracker/index.js +0 -27
- package/esm2022/progress-tracker/index.js.map +0 -1
- package/esm2022/progress-tracker/watt-progress-tracker-step.component.js.map +0 -1
- package/esm2022/progress-tracker/watt-progress-tracker.component.js +0 -30
- package/esm2022/progress-tracker/watt-progress-tracker.component.js.map +0 -1
- package/esm2022/query-params/energinet-watt-query-params.js +0 -5
- package/esm2022/query-params/energinet-watt-query-params.js.map +0 -1
- package/esm2022/query-params/index.js +0 -20
- package/esm2022/query-params/index.js.map +0 -1
- package/esm2022/query-params/watt-query-params.directive.js.map +0 -1
- package/esm2022/radio/energinet-watt-radio.js +0 -5
- package/esm2022/radio/energinet-watt-radio.js.map +0 -1
- package/esm2022/radio/index.js +0 -21
- package/esm2022/radio/index.js.map +0 -1
- package/esm2022/radio/watt-radio-group.component.js +0 -119
- package/esm2022/radio/watt-radio-group.component.js.map +0 -1
- package/esm2022/radio/watt-radio.component.js.map +0 -1
- package/esm2022/search/energinet-watt-search.js +0 -5
- package/esm2022/search/energinet-watt-search.js.map +0 -1
- package/esm2022/search/index.js +0 -20
- package/esm2022/search/index.js.map +0 -1
- package/esm2022/search/watt-search.component.js.map +0 -1
- package/esm2022/segmented-buttons/energinet-watt-segmented-buttons.js +0 -5
- package/esm2022/segmented-buttons/energinet-watt-segmented-buttons.js.map +0 -1
- package/esm2022/segmented-buttons/index.js +0 -27
- package/esm2022/segmented-buttons/index.js.map +0 -1
- package/esm2022/segmented-buttons/watt-segmented-button.component.js +0 -39
- package/esm2022/segmented-buttons/watt-segmented-button.component.js.map +0 -1
- package/esm2022/segmented-buttons/watt-segmented-buttons.component.js.map +0 -1
- package/esm2022/shell/energinet-watt-shell.js +0 -5
- package/esm2022/shell/energinet-watt-shell.js.map +0 -1
- package/esm2022/shell/index.js +0 -21
- package/esm2022/shell/index.js.map +0 -1
- package/esm2022/shell/nav-list/index.js +0 -21
- package/esm2022/shell/nav-list/index.js.map +0 -1
- package/esm2022/shell/nav-list/watt-expand-on-active-link.directive.js +0 -47
- package/esm2022/shell/nav-list/watt-expand-on-active-link.directive.js.map +0 -1
- package/esm2022/shell/nav-list/watt-nav-list-item.component.js +0 -83
- package/esm2022/shell/nav-list/watt-nav-list-item.component.js.map +0 -1
- package/esm2022/shell/nav-list/watt-nav-list.component.js +0 -80
- package/esm2022/shell/nav-list/watt-nav-list.component.js.map +0 -1
- package/esm2022/shell/shell.component.js +0 -59
- package/esm2022/shell/shell.component.js.map +0 -1
- package/esm2022/slide-toggle/energinet-watt-slide-toggle.js +0 -5
- package/esm2022/slide-toggle/energinet-watt-slide-toggle.js.map +0 -1
- package/esm2022/slide-toggle/index.js +0 -20
- package/esm2022/slide-toggle/index.js.map +0 -1
- package/esm2022/slide-toggle/watt-slide-toggle.component.js.map +0 -1
- package/esm2022/slider/energinet-watt-slider.js +0 -5
- package/esm2022/slider/energinet-watt-slider.js.map +0 -1
- package/esm2022/slider/index.js +0 -20
- package/esm2022/slider/index.js.map +0 -1
- package/esm2022/slider/watt-slider.component.js.map +0 -1
- package/esm2022/spinner/energinet-watt-spinner.js +0 -5
- package/esm2022/spinner/energinet-watt-spinner.js.map +0 -1
- package/esm2022/spinner/index.js +0 -20
- package/esm2022/spinner/index.js.map +0 -1
- package/esm2022/spinner/watt-spinner.component.js.map +0 -1
- package/esm2022/stepper/energinet-watt-stepper.js +0 -5
- package/esm2022/stepper/energinet-watt-stepper.js.map +0 -1
- package/esm2022/stepper/index.js +0 -21
- package/esm2022/stepper/index.js.map +0 -1
- package/esm2022/stepper/watt-stepper-step.component.js +0 -49
- package/esm2022/stepper/watt-stepper-step.component.js.map +0 -1
- package/esm2022/stepper/watt-stepper.component.js.map +0 -1
- package/esm2022/table/energinet-watt-table.js +0 -5
- package/esm2022/table/energinet-watt-table.js.map +0 -1
- package/esm2022/table/index.js +0 -21
- package/esm2022/table/index.js.map +0 -1
- package/esm2022/table/watt-table-data-source.js +0 -27
- package/esm2022/table/watt-table-data-source.js.map +0 -1
- package/esm2022/table/watt-table-expand-animation.js +0 -65
- package/esm2022/table/watt-table-expand-animation.js.map +0 -1
- package/esm2022/table/watt-table.component.js.map +0 -1
- package/esm2022/tabs/energinet-watt-tabs.js +0 -5
- package/esm2022/tabs/energinet-watt-tabs.js.map +0 -1
- package/esm2022/tabs/index.js +0 -31
- package/esm2022/tabs/index.js.map +0 -1
- package/esm2022/tabs/watt-link-tab.component.js +0 -34
- package/esm2022/tabs/watt-link-tab.component.js.map +0 -1
- package/esm2022/tabs/watt-link-tabs.component.js +0 -71
- package/esm2022/tabs/watt-link-tabs.component.js.map +0 -1
- package/esm2022/tabs/watt-tab.component.js +0 -42
- package/esm2022/tabs/watt-tab.component.js.map +0 -1
- package/esm2022/tabs/watt-tabs-action.component.js +0 -32
- package/esm2022/tabs/watt-tabs-action.component.js.map +0 -1
- package/esm2022/tabs/watt-tabs.component.js +0 -60
- package/esm2022/tabs/watt-tabs.component.js.map +0 -1
- package/esm2022/text-field/energinet-watt-text-field.js +0 -5
- package/esm2022/text-field/energinet-watt-text-field.js.map +0 -1
- package/esm2022/text-field/index.js +0 -20
- package/esm2022/text-field/index.js.map +0 -1
- package/esm2022/text-field/watt-text-field.component.js.map +0 -1
- package/esm2022/textarea-field/energinet-watt-textarea-field.js +0 -5
- package/esm2022/textarea-field/energinet-watt-textarea-field.js.map +0 -1
- package/esm2022/textarea-field/index.js +0 -20
- package/esm2022/textarea-field/index.js.map +0 -1
- package/esm2022/textarea-field/watt-textarea-field.component.js.map +0 -1
- package/esm2022/toast/energinet-watt-toast.js +0 -5
- package/esm2022/toast/energinet-watt-toast.js.map +0 -1
- package/esm2022/toast/index.js +0 -21
- package/esm2022/toast/index.js.map +0 -1
- package/esm2022/toast/watt-toast.component.js.map +0 -1
- package/esm2022/toast/watt-toast.service.js +0 -51
- package/esm2022/toast/watt-toast.service.js.map +0 -1
- package/esm2022/tooltip/energinet-watt-tooltip.js +0 -5
- package/esm2022/tooltip/energinet-watt-tooltip.js.map +0 -1
- package/esm2022/tooltip/index.js +0 -20
- package/esm2022/tooltip/index.js.map +0 -1
- package/esm2022/tooltip/watt-tooltip.component.js.map +0 -1
- package/esm2022/tooltip/watt-tooltip.directive.js +0 -67
- package/esm2022/tooltip/watt-tooltip.directive.js.map +0 -1
- package/esm2022/utils/css/css-custom-properties.service.js.map +0 -1
- package/esm2022/utils/css/energinet-watt-utils-css.js +0 -5
- package/esm2022/utils/css/energinet-watt-utils-css.js.map +0 -1
- package/esm2022/utils/css/index.js +0 -20
- package/esm2022/utils/css/index.js.map +0 -1
- package/esm2022/utils/intersection-observer/energinet-watt-utils-intersection-observer.js +0 -5
- package/esm2022/utils/intersection-observer/energinet-watt-utils-intersection-observer.js.map +0 -1
- package/esm2022/utils/intersection-observer/index.js +0 -20
- package/esm2022/utils/intersection-observer/index.js.map +0 -1
- package/esm2022/utils/intersection-observer/watt-intersection-observer.service.js.map +0 -1
- package/esm2022/utils/resize-observer/energinet-watt-utils-resize-observer.js +0 -5
- package/esm2022/utils/resize-observer/energinet-watt-utils-resize-observer.js.map +0 -1
- package/esm2022/utils/resize-observer/index.js +0 -21
- package/esm2022/utils/resize-observer/index.js.map +0 -1
- package/esm2022/utils/resize-observer/watt-resize-observer.directive.js +0 -53
- package/esm2022/utils/resize-observer/watt-resize-observer.directive.js.map +0 -1
- package/esm2022/utils/resize-observer/watt-resize-observer.service.js +0 -67
- package/esm2022/utils/resize-observer/watt-resize-observer.service.js.map +0 -1
- package/esm2022/validation-message/energinet-watt-validation-message.js +0 -5
- package/esm2022/validation-message/energinet-watt-validation-message.js.map +0 -1
- package/esm2022/validation-message/index.js +0 -20
- package/esm2022/validation-message/index.js.map +0 -1
- package/esm2022/validation-message/watt-validation-message.component.js.map +0 -1
- package/esm2022/validators/energinet-watt-validators.js +0 -5
- package/esm2022/validators/energinet-watt-validators.js.map +0 -1
- package/esm2022/validators/index.js +0 -20
- package/esm2022/validators/index.js.map +0 -1
- package/esm2022/validators/watt-range.validators.js.map +0 -1
- package/esm2022/vater/energinet-watt-vater.js +0 -5
- package/esm2022/vater/energinet-watt-vater.js.map +0 -1
- package/esm2022/vater/index.js +0 -24
- package/esm2022/vater/index.js.map +0 -1
- package/esm2022/vater/types.js +0 -20
- package/esm2022/vater/types.js.map +0 -1
- package/esm2022/vater/vater-flex.component.js +0 -49
- package/esm2022/vater/vater-flex.component.js.map +0 -1
- package/esm2022/vater/vater-layout.directive.js +0 -65
- package/esm2022/vater/vater-layout.directive.js.map +0 -1
- package/esm2022/vater/vater-spacer.component.js +0 -29
- package/esm2022/vater/vater-spacer.component.js.map +0 -1
- package/esm2022/vater/vater-stack.component.js +0 -42
- package/esm2022/vater/vater-stack.component.js.map +0 -1
- package/esm2022/vater/vater-utility.directive.js +0 -53
- package/esm2022/vater/vater-utility.directive.js.map +0 -1
- package/esm2022/year-field/energinet-watt-year-field.js +0 -5
- package/esm2022/year-field/energinet-watt-year-field.js.map +0 -1
- package/esm2022/year-field/index.js +0 -20
- package/esm2022/year-field/index.js.map +0 -1
- package/esm2022/year-field/watt-year-field.component.js.map +0 -1
- package/esm2022/yearmonth-field/energinet-watt-yearmonth-field.js +0 -5
- package/esm2022/yearmonth-field/energinet-watt-yearmonth-field.js.map +0 -1
- package/esm2022/yearmonth-field/index.js +0 -21
- package/esm2022/yearmonth-field/index.js.map +0 -1
- package/esm2022/yearmonth-field/watt-yearmonth-field.component.js.map +0 -1
- package/esm2022/yearmonth-field/year-month.js +0 -42
- package/esm2022/yearmonth-field/year-month.js.map +0 -1
- package/expandable-card/energinet-watt-expandable-card.d.ts +0 -5
- package/expandable-card/watt-expandable-card.component.d.ts +0 -34
- package/field/energinet-watt-field.d.ts +0 -5
- package/field/watt-field-error.component.d.ts +0 -5
- package/field/watt-field-hint.component.d.ts +0 -5
- package/field/watt-field-intl.service.d.ts +0 -8
- package/field/watt-field-warning.component.d.ts +0 -5
- package/field/watt-field.component.d.ts +0 -53
- package/file-field/energinet-watt-file-field.d.ts +0 -5
- package/file-field/watt-file-field.component.d.ts +0 -10
- package/icon/energinet-watt-icon.d.ts +0 -5
- package/icon/flags/energinet-watt-icon-flags.d.ts +0 -5
- package/icon/flags/watt-flag-ch.d.ts +0 -5
- package/icon/flags/watt-flag-de.d.ts +0 -5
- package/icon/flags/watt-flag-dk.d.ts +0 -5
- package/icon/flags/watt-flag-fi.d.ts +0 -5
- package/icon/flags/watt-flag-gb.d.ts +0 -5
- package/icon/flags/watt-flag-nl.d.ts +0 -5
- package/icon/flags/watt-flag-no.d.ts +0 -5
- package/icon/flags/watt-flag-pl.d.ts +0 -5
- package/icon/flags/watt-flag-se.d.ts +0 -5
- package/icon/flags/watt-flag.d.ts +0 -13
- package/icon/icon.component.d.ts +0 -20
- package/icon/icons.d.ts +0 -97
- package/menu/energinet-watt-menu.d.ts +0 -5
- package/menu/watt-menu-group.component.d.ts +0 -9
- package/menu/watt-menu-item.component.d.ts +0 -9
- package/menu/watt-menu-trigger.directive.d.ts +0 -36
- package/menu/watt-menu.component.d.ts +0 -44
- package/modal/energinet-watt-modal.d.ts +0 -5
- package/modal/watt-modal.component.d.ts +0 -84
- package/modal/watt-modal.service.d.ts +0 -56
- package/paginator/energinet-watt-paginator.d.ts +0 -5
- package/paginator/watt-paginator-intl.service.d.ts +0 -14
- package/paginator/watt-paginator.component.d.ts +0 -53
- package/phone-field/energinet-watt-phone-field.d.ts +0 -5
- package/phone-field/watt-phone-field-intl.service.d.ts +0 -17
- package/phone-field/watt-phone-field.component.d.ts +0 -75
- package/picker/__shared/energinet-watt-picker-__shared.d.ts +0 -5
- package/picker/__shared/placeholder-mask/watt-placeholder-mask.component.d.ts +0 -34
- package/picker/__shared/watt-picker-base.d.ts +0 -81
- package/picker/__shared/watt-picker-value.d.ts +0 -18
- package/picker/datepicker/energinet-watt-picker-datepicker.d.ts +0 -5
- package/picker/datepicker/watt-datepicker-intl.service.d.ts +0 -7
- package/picker/datepicker/watt-datepicker.component.d.ts +0 -95
- package/picker/timepicker/energinet-watt-picker-timepicker.d.ts +0 -5
- package/picker/timepicker/maskito-time-range-mask.d.ts +0 -18
- package/picker/timepicker/watt-timepicker.component.d.ts +0 -69
- package/progress-tracker/energinet-watt-progress-tracker.d.ts +0 -5
- package/progress-tracker/watt-progress-tracker-step.component.d.ts +0 -10
- package/progress-tracker/watt-progress-tracker.component.d.ts +0 -5
- package/query-params/energinet-watt-query-params.d.ts +0 -5
- package/query-params/watt-query-params.directive.d.ts +0 -9
- package/radio/energinet-watt-radio.d.ts +0 -5
- package/radio/watt-radio-group.component.d.ts +0 -47
- package/radio/watt-radio.component.d.ts +0 -23
- package/search/energinet-watt-search.d.ts +0 -5
- package/search/watt-search.component.d.ts +0 -44
- package/segmented-buttons/energinet-watt-segmented-buttons.d.ts +0 -5
- package/segmented-buttons/watt-segmented-button.component.d.ts +0 -25
- package/segmented-buttons/watt-segmented-buttons.component.d.ts +0 -18
- package/shell/energinet-watt-shell.d.ts +0 -5
- package/shell/nav-list/index.d.ts +0 -18
- package/shell/nav-list/watt-expand-on-active-link.directive.d.ts +0 -9
- package/shell/nav-list/watt-nav-list-item.component.d.ts +0 -16
- package/shell/nav-list/watt-nav-list.component.d.ts +0 -12
- package/shell/shell.component.d.ts +0 -17
- package/slide-toggle/energinet-watt-slide-toggle.d.ts +0 -5
- package/slide-toggle/watt-slide-toggle.component.d.ts +0 -33
- package/slider/energinet-watt-slider.d.ts +0 -5
- package/slider/watt-slider.component.d.ts +0 -47
- package/spinner/energinet-watt-spinner.d.ts +0 -5
- package/spinner/watt-spinner.component.d.ts +0 -15
- package/stepper/energinet-watt-stepper.d.ts +0 -5
- package/stepper/watt-stepper-step.component.d.ts +0 -35
- package/stepper/watt-stepper.component.d.ts +0 -40
- package/table/energinet-watt-table.d.ts +0 -5
- package/table/watt-table-data-source.d.ts +0 -39
- package/table/watt-table-expand-animation.d.ts +0 -18
- package/table/watt-table.component.d.ts +0 -294
- package/tabs/energinet-watt-tabs.d.ts +0 -5
- package/tabs/watt-link-tab.component.d.ts +0 -7
- package/tabs/watt-link-tabs.component.d.ts +0 -7
- package/tabs/watt-tab.component.d.ts +0 -26
- package/tabs/watt-tabs-action.component.d.ts +0 -5
- package/tabs/watt-tabs.component.d.ts +0 -36
- package/text-field/energinet-watt-text-field.d.ts +0 -5
- package/text-field/watt-text-field.component.d.ts +0 -80
- package/textarea-field/energinet-watt-textarea-field.d.ts +0 -5
- package/textarea-field/watt-textarea-field.component.d.ts +0 -28
- package/toast/energinet-watt-toast.d.ts +0 -5
- package/toast/watt-toast.component.d.ts +0 -47
- package/toast/watt-toast.service.d.ts +0 -12
- package/tooltip/energinet-watt-tooltip.d.ts +0 -5
- package/tooltip/watt-tooltip.component.d.ts +0 -26
- package/tooltip/watt-tooltip.directive.d.ts +0 -16
- package/utils/css/css-custom-properties.service.d.ts +0 -9
- package/utils/css/energinet-watt-utils-css.d.ts +0 -5
- package/utils/intersection-observer/energinet-watt-utils-intersection-observer.d.ts +0 -5
- package/utils/intersection-observer/watt-intersection-observer.service.d.ts +0 -21
- package/utils/resize-observer/energinet-watt-utils-resize-observer.d.ts +0 -5
- package/utils/resize-observer/watt-resize-observer.directive.d.ts +0 -35
- package/utils/resize-observer/watt-resize-observer.service.d.ts +0 -22
- package/validation-message/energinet-watt-validation-message.d.ts +0 -5
- package/validation-message/watt-validation-message.component.d.ts +0 -50
- package/validators/energinet-watt-validators.d.ts +0 -5
- package/validators/watt-range.validators.d.ts +0 -24
- package/vater/energinet-watt-vater.d.ts +0 -5
- package/vater/types.d.ts +0 -22
- package/vater/vater-flex.component.d.ts +0 -14
- package/vater/vater-layout.directive.d.ts +0 -24
- package/vater/vater-spacer.component.d.ts +0 -5
- package/vater/vater-stack.component.d.ts +0 -7
- package/vater/vater-utility.directive.d.ts +0 -17
- package/year-field/energinet-watt-year-field.d.ts +0 -5
- package/year-field/watt-year-field.component.d.ts +0 -56
- package/yearmonth-field/energinet-watt-yearmonth-field.d.ts +0 -5
- package/yearmonth-field/watt-yearmonth-field.component.d.ts +0 -58
- package/yearmonth-field/year-month.d.ts +0 -20
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
//#region License
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright 2020 Energinet DataHub A/S
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
//#endregion
|
|
19
|
-
import { Component } from '@angular/core';
|
|
20
|
-
import * as i0 from "@angular/core";
|
|
21
|
-
export class WattEmptyStatePowerComponent {
|
|
22
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattEmptyStatePowerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: WattEmptyStatePowerComponent, isStandalone: true, selector: "watt-empty-state-power", ngImport: i0, template: `
|
|
24
|
-
<svg viewBox="0 0 96 116" fill="none">
|
|
25
|
-
<path
|
|
26
|
-
fill="currentColor"
|
|
27
|
-
d="M48.9 89.88v25.914c-.606.042-1.213.042-1.818 0v-25.91c-.507-.042-.963-.083-1.422-.117-5.211-.394-9.989-2.067-14.383-4.875-4.834-3.091-8.642-7.183-11.614-12.07a42.881 42.881 0 0 1-5.505-14.54 46.448 46.448 0 0 1-.788-8.755V38.27c-.24 0-.446-.027-.655-.027H0v-1.8h24.536c.01-.268.027-.479.027-.69v-30.8a4.936 4.936 0 0 1 9.87-.145v31.527c.403.125 26.458.152 27.06.032 0-.23.03-.476.03-.72V5.198c-.02-.717.1-1.432.352-2.105a4.944 4.944 0 0 1 9.437.922c.07.427.104.86.098 1.294V36.424c1.204.033 2.363 0 3.522.014 1.16.015 2.335 0 3.5 0h17.51c.058.595.062 1.194.01 1.789h-13.32c-.018.252-.05.459-.05.667 0 3.335-.01 6.67 0 10.005a49.34 49.34 0 0 1-.36 6.683c-1.251 9.34-4.857 17.585-11.488 24.388-4.212 4.32-9.242 7.369-15.123 8.916a30.233 30.233 0 0 1-6.253.95c-.137.004-.267.025-.459.044ZM15.216 47.344c-.018.105-.03.211-.036.317-.044 3.204.08 6.393.626 9.56a42.105 42.105 0 0 0 4.123 12.363c2.538 4.873 5.911 9.058 10.316 12.373 5.013 3.773 10.63 5.876 16.932 6.082a27.722 27.722 0 0 0 9.688-1.421c5.11-1.69 9.443-4.586 13.118-8.494 4.552-4.832 7.55-10.527 9.286-16.905a43.867 43.867 0 0 0 1.334-7.567c.181-2.012.173-4.025.169-6.045a2.075 2.075 0 0 0-.03-.24c-.374-.104-64.866-.133-65.526-.023Zm.035-9.071c-.12.585-.098 6.787.023 7.166.063.014.126.023.19.027H80.46c.07-.002.14-.01.209-.025a.122.122 0 0 0 .04-.027l.039-.04v-7.101H15.252Zm17.37-1.876V5.317a6.539 6.539 0 0 0-.031-.698A2.989 2.989 0 0 0 30.7 2.084a2.956 2.956 0 0 0-3.15.446c-.833.653-1.181 1.543-1.181 2.585v30.592c0 .227.02.454.033.71l6.22-.02Zm36.96.027V4.73a3.127 3.127 0 0 0-6.235.273v31.433c2.105.005 4.148.009 6.24-.002l-.005-.01Z"
|
|
28
|
-
/>
|
|
29
|
-
</svg>
|
|
30
|
-
`, isInline: true });
|
|
31
|
-
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattEmptyStatePowerComponent, decorators: [{
|
|
33
|
-
type: Component,
|
|
34
|
-
args: [{
|
|
35
|
-
selector: 'watt-empty-state-power',
|
|
36
|
-
template: `
|
|
37
|
-
<svg viewBox="0 0 96 116" fill="none">
|
|
38
|
-
<path
|
|
39
|
-
fill="currentColor"
|
|
40
|
-
d="M48.9 89.88v25.914c-.606.042-1.213.042-1.818 0v-25.91c-.507-.042-.963-.083-1.422-.117-5.211-.394-9.989-2.067-14.383-4.875-4.834-3.091-8.642-7.183-11.614-12.07a42.881 42.881 0 0 1-5.505-14.54 46.448 46.448 0 0 1-.788-8.755V38.27c-.24 0-.446-.027-.655-.027H0v-1.8h24.536c.01-.268.027-.479.027-.69v-30.8a4.936 4.936 0 0 1 9.87-.145v31.527c.403.125 26.458.152 27.06.032 0-.23.03-.476.03-.72V5.198c-.02-.717.1-1.432.352-2.105a4.944 4.944 0 0 1 9.437.922c.07.427.104.86.098 1.294V36.424c1.204.033 2.363 0 3.522.014 1.16.015 2.335 0 3.5 0h17.51c.058.595.062 1.194.01 1.789h-13.32c-.018.252-.05.459-.05.667 0 3.335-.01 6.67 0 10.005a49.34 49.34 0 0 1-.36 6.683c-1.251 9.34-4.857 17.585-11.488 24.388-4.212 4.32-9.242 7.369-15.123 8.916a30.233 30.233 0 0 1-6.253.95c-.137.004-.267.025-.459.044ZM15.216 47.344c-.018.105-.03.211-.036.317-.044 3.204.08 6.393.626 9.56a42.105 42.105 0 0 0 4.123 12.363c2.538 4.873 5.911 9.058 10.316 12.373 5.013 3.773 10.63 5.876 16.932 6.082a27.722 27.722 0 0 0 9.688-1.421c5.11-1.69 9.443-4.586 13.118-8.494 4.552-4.832 7.55-10.527 9.286-16.905a43.867 43.867 0 0 0 1.334-7.567c.181-2.012.173-4.025.169-6.045a2.075 2.075 0 0 0-.03-.24c-.374-.104-64.866-.133-65.526-.023Zm.035-9.071c-.12.585-.098 6.787.023 7.166.063.014.126.023.19.027H80.46c.07-.002.14-.01.209-.025a.122.122 0 0 0 .04-.027l.039-.04v-7.101H15.252Zm17.37-1.876V5.317a6.539 6.539 0 0 0-.031-.698A2.989 2.989 0 0 0 30.7 2.084a2.956 2.956 0 0 0-3.15.446c-.833.653-1.181 1.543-1.181 2.585v30.592c0 .227.02.454.033.71l6.22-.02Zm36.96.027V4.73a3.127 3.127 0 0 0-6.235.273v31.433c2.105.005 4.148.009 6.24-.002l-.005-.01Z"
|
|
41
|
-
/>
|
|
42
|
-
</svg>
|
|
43
|
-
`,
|
|
44
|
-
}]
|
|
45
|
-
}] });
|
|
46
|
-
//# sourceMappingURL=power.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"power.js","sourceRoot":"","sources":["../../../../../libs/watt/package/empty-state/icons/power.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;AAa1C,MAAM,OAAO,4BAA4B;wGAA5B,4BAA4B;4FAA5B,4BAA4B,kFAT7B;;;;;;;GAOT;;4FAEU,4BAA4B;kBAXxC,SAAS;mBAAC;oBACT,QAAQ,EAAE,wBAAwB;oBAClC,QAAQ,EAAE;;;;;;;GAOT;iBACF","sourcesContent":["//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component } from '@angular/core';\n\n@Component({\n selector: 'watt-empty-state-power',\n template: `\n <svg viewBox=\"0 0 96 116\" fill=\"none\">\n <path\n fill=\"currentColor\"\n d=\"M48.9 89.88v25.914c-.606.042-1.213.042-1.818 0v-25.91c-.507-.042-.963-.083-1.422-.117-5.211-.394-9.989-2.067-14.383-4.875-4.834-3.091-8.642-7.183-11.614-12.07a42.881 42.881 0 0 1-5.505-14.54 46.448 46.448 0 0 1-.788-8.755V38.27c-.24 0-.446-.027-.655-.027H0v-1.8h24.536c.01-.268.027-.479.027-.69v-30.8a4.936 4.936 0 0 1 9.87-.145v31.527c.403.125 26.458.152 27.06.032 0-.23.03-.476.03-.72V5.198c-.02-.717.1-1.432.352-2.105a4.944 4.944 0 0 1 9.437.922c.07.427.104.86.098 1.294V36.424c1.204.033 2.363 0 3.522.014 1.16.015 2.335 0 3.5 0h17.51c.058.595.062 1.194.01 1.789h-13.32c-.018.252-.05.459-.05.667 0 3.335-.01 6.67 0 10.005a49.34 49.34 0 0 1-.36 6.683c-1.251 9.34-4.857 17.585-11.488 24.388-4.212 4.32-9.242 7.369-15.123 8.916a30.233 30.233 0 0 1-6.253.95c-.137.004-.267.025-.459.044ZM15.216 47.344c-.018.105-.03.211-.036.317-.044 3.204.08 6.393.626 9.56a42.105 42.105 0 0 0 4.123 12.363c2.538 4.873 5.911 9.058 10.316 12.373 5.013 3.773 10.63 5.876 16.932 6.082a27.722 27.722 0 0 0 9.688-1.421c5.11-1.69 9.443-4.586 13.118-8.494 4.552-4.832 7.55-10.527 9.286-16.905a43.867 43.867 0 0 0 1.334-7.567c.181-2.012.173-4.025.169-6.045a2.075 2.075 0 0 0-.03-.24c-.374-.104-64.866-.133-65.526-.023Zm.035-9.071c-.12.585-.098 6.787.023 7.166.063.014.126.023.19.027H80.46c.07-.002.14-.01.209-.025a.122.122 0 0 0 .04-.027l.039-.04v-7.101H15.252Zm17.37-1.876V5.317a6.539 6.539 0 0 0-.031-.698A2.989 2.989 0 0 0 30.7 2.084a2.956 2.956 0 0 0-3.15.446c-.833.653-1.181 1.543-1.181 2.585v30.592c0 .227.02.454.033.71l6.22-.02Zm36.96.027V4.73a3.127 3.127 0 0 0-6.235.273v31.433c2.105.005 4.148.009 6.24-.002l-.005-.01Z\"\n />\n </svg>\n `,\n})\nexport class WattEmptyStatePowerComponent {}\n"]}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
//#region License
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright 2020 Energinet DataHub A/S
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
//#endregion
|
|
19
|
-
export { WattEmptyStateComponent } from './watt-empty-state.component';
|
|
20
|
-
export { WattEmptyStateExploreComponent } from './icons/explore';
|
|
21
|
-
export { WattEmptyStateNoResultsComponent } from './icons/no-results';
|
|
22
|
-
export { WattEmptyStatePowerComponent } from './icons/power';
|
|
23
|
-
export { WattEmptyStateNotFoundComponent } from './icons/not-found';
|
|
24
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/watt/package/empty-state/index.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,8BAA8B,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,4BAA4B,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,+BAA+B,EAAE,MAAM,mBAAmB,CAAC","sourcesContent":["//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nexport { WattEmptyStateComponent } from './watt-empty-state.component';\nexport { WattEmptyStateExploreComponent } from './icons/explore';\nexport { WattEmptyStateNoResultsComponent } from './icons/no-results';\nexport { WattEmptyStatePowerComponent } from './icons/power';\nexport { WattEmptyStateNotFoundComponent } from './icons/not-found';\n"]}
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
//#region License
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright 2020 Energinet DataHub A/S
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
//#endregion
|
|
19
|
-
import { Component, ViewEncapsulation, computed, input } from '@angular/core';
|
|
20
|
-
import { WattIconComponent } from '@energinet/watt/icon';
|
|
21
|
-
import { WattEmptyStateExploreComponent } from './icons/explore';
|
|
22
|
-
import { WattEmptyStateNoResultsComponent } from './icons/no-results';
|
|
23
|
-
import { WattEmptyStatePowerComponent } from './icons/power';
|
|
24
|
-
import * as i0 from "@angular/core";
|
|
25
|
-
/**
|
|
26
|
-
* Usage:
|
|
27
|
-
* `import { WattEmptyStateComponent } from '@energinet/watt/empty-state';`
|
|
28
|
-
*/
|
|
29
|
-
export class WattEmptyStateComponent {
|
|
30
|
-
icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
|
|
31
|
-
size = input('large', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
32
|
-
title = input('', ...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
33
|
-
message = input('', ...(ngDevMode ? [{ debugName: "message" }] : []));
|
|
34
|
-
useHTML = input(false, ...(ngDevMode ? [{ debugName: "useHTML" }] : []));
|
|
35
|
-
iconSize = computed(() => (this.size() === 'small' ? 'xl' : 'xxl'), ...(ngDevMode ? [{ debugName: "iconSize" }] : []));
|
|
36
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattEmptyStateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: WattEmptyStateComponent, isStandalone: true, selector: "watt-empty-state", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, useHTML: { classPropertyName: "useHTML", publicName: "useHTML", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
38
|
-
@let name = icon();
|
|
39
|
-
@switch (name) {
|
|
40
|
-
@case ('custom-explore') {
|
|
41
|
-
<watt-icon [size]="iconSize()" class="watt-space-stack-l">
|
|
42
|
-
<watt-empty-state-explore />
|
|
43
|
-
</watt-icon>
|
|
44
|
-
}
|
|
45
|
-
@case ('custom-no-results') {
|
|
46
|
-
<watt-icon [size]="iconSize()" class="watt-space-stack-l">
|
|
47
|
-
<watt-empty-state-no-results />
|
|
48
|
-
</watt-icon>
|
|
49
|
-
}
|
|
50
|
-
@case ('custom-power') {
|
|
51
|
-
<watt-icon [size]="iconSize()" class="watt-space-stack-l">
|
|
52
|
-
<watt-empty-state-power />
|
|
53
|
-
</watt-icon>
|
|
54
|
-
}
|
|
55
|
-
@default {
|
|
56
|
-
<watt-icon [name]="name" [size]="iconSize()" class="watt-space-stack-l" />
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
@if (size() === 'large') {
|
|
61
|
-
<h3>{{ title() }}</h3>
|
|
62
|
-
} @else {
|
|
63
|
-
<h5>{{ title() }}</h5>
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@if (useHTML()) {
|
|
67
|
-
<div [class.watt-text-s]="size() === 'small'" [innerHTML]="message()"></div>
|
|
68
|
-
} @else {
|
|
69
|
-
<p [class.watt-text-s]="size() === 'small'">{{ message() }}</p>
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
<ng-content />
|
|
73
|
-
`, isInline: true, styles: ["@use \"@energinet/watt/utils\" as watt;watt-empty-state{display:block;text-align:center}watt-empty-state h3,watt-empty-state h5,watt-empty-state p{margin:0;white-space:pre-wrap}watt-empty-state watt-icon{color:var(--watt-color-primary-dark)}watt-empty-state watt-button{display:block;margin-top:var(--watt-space-m)}watt-empty-state watt-button:first-of-type{margin-top:var(--watt-space-l)}\n"], dependencies: [{ kind: "component", type: WattEmptyStateExploreComponent, selector: "watt-empty-state-explore" }, { kind: "component", type: WattEmptyStateNoResultsComponent, selector: "watt-empty-state-no-results" }, { kind: "component", type: WattEmptyStatePowerComponent, selector: "watt-empty-state-power" }, { kind: "component", type: WattIconComponent, selector: "watt-icon", inputs: ["name", "label", "size", "state"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
74
|
-
}
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattEmptyStateComponent, decorators: [{
|
|
76
|
-
type: Component,
|
|
77
|
-
args: [{ selector: 'watt-empty-state', encapsulation: ViewEncapsulation.None, imports: [
|
|
78
|
-
WattEmptyStateExploreComponent,
|
|
79
|
-
WattEmptyStateNoResultsComponent,
|
|
80
|
-
WattEmptyStatePowerComponent,
|
|
81
|
-
WattIconComponent,
|
|
82
|
-
], template: `
|
|
83
|
-
@let name = icon();
|
|
84
|
-
@switch (name) {
|
|
85
|
-
@case ('custom-explore') {
|
|
86
|
-
<watt-icon [size]="iconSize()" class="watt-space-stack-l">
|
|
87
|
-
<watt-empty-state-explore />
|
|
88
|
-
</watt-icon>
|
|
89
|
-
}
|
|
90
|
-
@case ('custom-no-results') {
|
|
91
|
-
<watt-icon [size]="iconSize()" class="watt-space-stack-l">
|
|
92
|
-
<watt-empty-state-no-results />
|
|
93
|
-
</watt-icon>
|
|
94
|
-
}
|
|
95
|
-
@case ('custom-power') {
|
|
96
|
-
<watt-icon [size]="iconSize()" class="watt-space-stack-l">
|
|
97
|
-
<watt-empty-state-power />
|
|
98
|
-
</watt-icon>
|
|
99
|
-
}
|
|
100
|
-
@default {
|
|
101
|
-
<watt-icon [name]="name" [size]="iconSize()" class="watt-space-stack-l" />
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
@if (size() === 'large') {
|
|
106
|
-
<h3>{{ title() }}</h3>
|
|
107
|
-
} @else {
|
|
108
|
-
<h5>{{ title() }}</h5>
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
@if (useHTML()) {
|
|
112
|
-
<div [class.watt-text-s]="size() === 'small'" [innerHTML]="message()"></div>
|
|
113
|
-
} @else {
|
|
114
|
-
<p [class.watt-text-s]="size() === 'small'">{{ message() }}</p>
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
<ng-content />
|
|
118
|
-
`, styles: ["@use \"@energinet/watt/utils\" as watt;watt-empty-state{display:block;text-align:center}watt-empty-state h3,watt-empty-state h5,watt-empty-state p{margin:0;white-space:pre-wrap}watt-empty-state watt-icon{color:var(--watt-color-primary-dark)}watt-empty-state watt-button{display:block;margin-top:var(--watt-space-m)}watt-empty-state watt-button:first-of-type{margin-top:var(--watt-space-l)}\n"] }]
|
|
119
|
-
}], propDecorators: { icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], message: [{ type: i0.Input, args: [{ isSignal: true, alias: "message", required: false }] }], useHTML: [{ type: i0.Input, args: [{ isSignal: true, alias: "useHTML", required: false }] }] } });
|
|
120
|
-
//# sourceMappingURL=watt-empty-state.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-empty-state.component.js","sourceRoot":"","sources":["../../../../libs/watt/package/empty-state/watt-empty-state.component.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAY,iBAAiB,EAAgB,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAE,8BAA8B,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,4BAA4B,EAAE,MAAM,eAAe,CAAC;;AAE7D;;;GAGG;AA4EH,MAAM,OAAO,uBAAuB;IAClC,IAAI,GAAG,KAAK,0DAAsE,CAAC;IACnF,IAAI,GAAG,KAAK,CAAoB,OAAO,gDAAC,CAAC;IACzC,KAAK,GAAG,KAAK,CAAC,EAAE,iDAAC,CAAC;IAClB,OAAO,GAAG,KAAK,CAAC,EAAE,mDAAC,CAAC;IACpB,OAAO,GAAG,KAAK,CAAC,KAAK,mDAAC,CAAC;IACvB,QAAQ,GAAG,QAAQ,CAAe,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,oDAAC,CAAC;wGANvE,uBAAuB;4FAAvB,uBAAuB,srBAtCxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCT,idArEC,8BAA8B,qEAC9B,gCAAgC,wEAChC,4BAA4B,mEAC5B,iBAAiB;;4FAoER,uBAAuB;kBA3EnC,SAAS;+BACE,kBAAkB,iBACb,iBAAiB,CAAC,IAAI,WAC5B;wBACP,8BAA8B;wBAC9B,gCAAgC;wBAChC,4BAA4B;wBAC5B,iBAAiB;qBAClB,YA6BS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCT","sourcesContent":["//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component, ViewEncapsulation, computed, input } from '@angular/core';\nimport { WattIcon, WattIconComponent, WattIconSize } from '@energinet/watt/icon';\nimport { WattEmptyStateExploreComponent } from './icons/explore';\nimport { WattEmptyStateNoResultsComponent } from './icons/no-results';\nimport { WattEmptyStatePowerComponent } from './icons/power';\n\n/**\n * Usage:\n * `import { WattEmptyStateComponent } from '@energinet/watt/empty-state';`\n */\n@Component({\n selector: 'watt-empty-state',\n encapsulation: ViewEncapsulation.None,\n imports: [\n WattEmptyStateExploreComponent,\n WattEmptyStateNoResultsComponent,\n WattEmptyStatePowerComponent,\n WattIconComponent,\n ],\n styles: `\n @use '@energinet/watt/utils' as watt;\n\n watt-empty-state {\n display: block;\n text-align: center;\n\n h3,\n h5,\n p {\n margin: 0;\n white-space: pre-wrap;\n }\n\n watt-icon {\n color: var(--watt-color-primary-dark);\n }\n\n watt-button {\n display: block;\n margin-top: var(--watt-space-m);\n\n &:first-of-type {\n margin-top: var(--watt-space-l);\n }\n }\n }\n `,\n template: `\n @let name = icon();\n @switch (name) {\n @case ('custom-explore') {\n <watt-icon [size]=\"iconSize()\" class=\"watt-space-stack-l\">\n <watt-empty-state-explore />\n </watt-icon>\n }\n @case ('custom-no-results') {\n <watt-icon [size]=\"iconSize()\" class=\"watt-space-stack-l\">\n <watt-empty-state-no-results />\n </watt-icon>\n }\n @case ('custom-power') {\n <watt-icon [size]=\"iconSize()\" class=\"watt-space-stack-l\">\n <watt-empty-state-power />\n </watt-icon>\n }\n @default {\n <watt-icon [name]=\"name\" [size]=\"iconSize()\" class=\"watt-space-stack-l\" />\n }\n }\n\n @if (size() === 'large') {\n <h3>{{ title() }}</h3>\n } @else {\n <h5>{{ title() }}</h5>\n }\n\n @if (useHTML()) {\n <div [class.watt-text-s]=\"size() === 'small'\" [innerHTML]=\"message()\"></div>\n } @else {\n <p [class.watt-text-s]=\"size() === 'small'\">{{ message() }}</p>\n }\n\n <ng-content />\n `,\n})\nexport class WattEmptyStateComponent {\n icon = input<WattIcon | 'custom-power' | 'custom-explore' | 'custom-no-results'>();\n size = input<'small' | 'large'>('large');\n title = input('');\n message = input('');\n useHTML = input(false);\n iconSize = computed<WattIconSize>(() => (this.size() === 'small' ? 'xl' : 'xxl'));\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energinet-watt.js","sourceRoot":"","sources":["../../../libs/watt/package/energinet-watt.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energinet-watt-expandable-card.js","sourceRoot":"","sources":["../../../../libs/watt/package/expandable-card/energinet-watt-expandable-card.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
//#region License
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright 2020 Energinet DataHub A/S
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
//#endregion
|
|
19
|
-
import { WattExpandableCardComponent, WattExpandableCardTitleComponent, WattExpandableCardContentDirective, } from './watt-expandable-card.component';
|
|
20
|
-
const WATT_EXPANDABLE_CARD_COMPONENTS = [
|
|
21
|
-
WattExpandableCardComponent,
|
|
22
|
-
WattExpandableCardTitleComponent,
|
|
23
|
-
WattExpandableCardContentDirective,
|
|
24
|
-
];
|
|
25
|
-
export { WattExpandableCardComponent, WattExpandableCardTitleComponent, WattExpandableCardContentDirective, WATT_EXPANDABLE_CARD_COMPONENTS, };
|
|
26
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/watt/package/expandable-card/index.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EACL,2BAA2B,EAC3B,gCAAgC,EAChC,kCAAkC,GACnC,MAAM,kCAAkC,CAAC;AAE1C,MAAM,+BAA+B,GAAG;IACtC,2BAA2B;IAC3B,gCAAgC;IAChC,kCAAkC;CAC1B,CAAC;AAEX,OAAO,EACL,2BAA2B,EAC3B,gCAAgC,EAChC,kCAAkC,EAClC,+BAA+B,GAChC,CAAC","sourcesContent":["//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport {\n WattExpandableCardComponent,\n WattExpandableCardTitleComponent,\n WattExpandableCardContentDirective,\n} from './watt-expandable-card.component';\n\nconst WATT_EXPANDABLE_CARD_COMPONENTS = [\n WattExpandableCardComponent,\n WattExpandableCardTitleComponent,\n WattExpandableCardContentDirective,\n] as const;\n\nexport {\n WattExpandableCardComponent,\n WattExpandableCardTitleComponent,\n WattExpandableCardContentDirective,\n WATT_EXPANDABLE_CARD_COMPONENTS,\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-expandable-card.component.js","sourceRoot":"","sources":["../../../../libs/watt/package/expandable-card/watt-expandable-card.component.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EACL,SAAS,EACT,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,MAAM,EACN,KAAK,EACL,YAAY,GACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAA8B,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;;;AAK7F,MAAM,OAAO,kCAAkC;IAC7C,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;wGADvB,kCAAkC;4FAAlC,kCAAkC;;4FAAlC,kCAAkC;kBAH9C,SAAS;mBAAC;oBACT,QAAQ,EAAE,6BAA6B;iBACxC;;AAKD;;;GAGG;AAgCH,MAAM,OAAO,2BAA2B;IACtC;;OAEG;IACH,WAAW,GAAG,YAAY,CAAC,kCAAkC,uDAAC,CAAC;IAE/D;;OAEG;IACH,kBAAkB,GAAG,YAAY,CAAC,2BAA2B,8DAAC,CAAC;IAE/D,oCAAoC;IACpC,QAAQ,GAAG,KAAK,CAAC,KAAK,oDAAC,CAAC;IAExB,+CAA+C;IAC/C,cAAc,GAAG,KAAK,CAA6B,OAAO,0DAAC,CAAC;IAE5D,uDAAuD;IACvD,OAAO,GAAG,KAAK,CAAwB,WAAW,mDAAC,CAAC;wGAlBzC,2BAA2B;4FAA3B,2BAA2B,uhBAIX,kCAAkC,qGAK3B,2BAA2B,gEAnCnD;;;;;;;;;;;;;;;;;;;;;;;;GAwBT,ohEA5BS,gBAAgB,mJAAE,kBAAkB;;4FA8BnC,2BAA2B;kBA/BvC,SAAS;8BACC,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,iBAChC,iBAAiB,CAAC,IAAI,YAC3B,sBAAsB,YAEtB;;;;;;;;;;;;;;;;;;;;;;;;GAwBT;gGAM0B,kCAAkC,oGAK3B,2BAA2B;AAgB/D,MAAM,OAAO,gCAAgC;wGAAhC,gCAAgC;4FAAhC,gCAAgC,sFAFjC,gBAAgB;;4FAEf,gCAAgC;kBAJ5C,SAAS;mBAAC;oBACT,QAAQ,EAAE,4BAA4B;oBACtC,QAAQ,EAAE,gBAAgB;iBAC3B","sourcesContent":["//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n Directive,\n TemplateRef,\n ViewEncapsulation,\n inject,\n input,\n contentChild,\n} from '@angular/core';\nimport { MatAccordionTogglePosition, MatExpansionModule } from '@angular/material/expansion';\n\n@Directive({\n selector: '[wattExpandableCardContent]',\n})\nexport class WattExpandableCardContentDirective {\n templateRef = inject(TemplateRef);\n}\n\n/**\n * Usage:\n * `import { WATT_EXPANDABLE_CARD_COMPONENTS } from '@energinet/watt/expandable-card';`\n */\n@Component({\n imports: [NgTemplateOutlet, MatExpansionModule],\n encapsulation: ViewEncapsulation.None,\n selector: 'watt-expandable-card',\n styleUrl: './watt-expandable-card.component.scss',\n template: `\n <mat-expansion-panel\n [togglePosition]=\"togglePosition()\"\n [expanded]=\"expanded()\"\n class=\"watt-expandable-card watt-{{ variant() }}\"\n [class.watt-expandable-card__parent]=\"containsNestedCard()\"\n >\n <mat-expansion-panel-header>\n <mat-panel-title>\n <ng-content select=\"watt-badge\" />\n <ng-content select=\"watt-expandable-card-title\" />\n </mat-panel-title>\n </mat-expansion-panel-header>\n\n <ng-content />\n\n @let _cardContent = cardContent();\n\n @if (_cardContent) {\n <ng-template matExpansionPanelContent>\n <ng-container *ngTemplateOutlet=\"_cardContent.templateRef\" />\n </ng-template>\n }\n </mat-expansion-panel>\n `,\n})\nexport class WattExpandableCardComponent {\n /**\n * @ignore\n */\n cardContent = contentChild(WattExpandableCardContentDirective);\n\n /**\n * @ignore\n */\n containsNestedCard = contentChild(WattExpandableCardComponent);\n\n /** Whether the card is expanded. */\n expanded = input(false);\n\n /** The position of the expansion indicator. */\n togglePosition = input<MatAccordionTogglePosition>('after');\n\n /** Whether the card is elevated or has solid border */\n variant = input<'solid' | 'elevation'>('elevation');\n}\n\n@Component({\n selector: 'watt-expandable-card-title',\n template: `<ng-content />`,\n})\nexport class WattExpandableCardTitleComponent {}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energinet-watt-field.js","sourceRoot":"","sources":["../../../../libs/watt/package/field/energinet-watt-field.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
package/esm2022/field/index.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
//#region License
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright 2020 Energinet DataHub A/S
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
//#endregion
|
|
19
|
-
export { WattFieldComponent } from './watt-field.component';
|
|
20
|
-
export { WattFieldErrorComponent } from './watt-field-error.component';
|
|
21
|
-
export { WattFieldHintComponent } from './watt-field-hint.component';
|
|
22
|
-
export { WattFieldWarningComponent } from './watt-field-warning.component';
|
|
23
|
-
export { WattFieldIntlService } from './watt-field-intl.service';
|
|
24
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/watt/package/field/index.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC","sourcesContent":["//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nexport { WattFieldComponent } from './watt-field.component';\nexport { WattFieldErrorComponent } from './watt-field-error.component';\nexport { WattFieldHintComponent } from './watt-field-hint.component';\nexport { WattFieldWarningComponent } from './watt-field-warning.component';\nexport { WattFieldIntlService } from './watt-field-intl.service';\n"]}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
//#region License
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright 2020 Energinet DataHub A/S
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
//#endregion
|
|
19
|
-
import { Component, ViewEncapsulation } from '@angular/core';
|
|
20
|
-
import * as i0 from "@angular/core";
|
|
21
|
-
export class WattFieldErrorComponent {
|
|
22
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattFieldErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: WattFieldErrorComponent, isStandalone: true, selector: "watt-field-error", ngImport: i0, template: `<ng-content />`, isInline: true, styles: ["watt-field-error{color:var(--watt-color-state-danger)}\n"], encapsulation: i0.ViewEncapsulation.None });
|
|
24
|
-
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattFieldErrorComponent, decorators: [{
|
|
26
|
-
type: Component,
|
|
27
|
-
args: [{ selector: 'watt-field-error', template: `<ng-content />`, encapsulation: ViewEncapsulation.None, styles: ["watt-field-error{color:var(--watt-color-state-danger)}\n"] }]
|
|
28
|
-
}] });
|
|
29
|
-
//# sourceMappingURL=watt-field-error.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-field-error.component.js","sourceRoot":"","sources":["../../../../libs/watt/package/field/watt-field-error.component.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;;AAc7D,MAAM,OAAO,uBAAuB;wGAAvB,uBAAuB;4FAAvB,uBAAuB,4EAVxB,gBAAgB;;4FAUf,uBAAuB;kBAZnC,SAAS;+BACE,kBAAkB,YAClB,gBAAgB,iBACX,iBAAiB,CAAC,IAAI","sourcesContent":["//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'watt-field-error',\n template: `<ng-content />`,\n encapsulation: ViewEncapsulation.None,\n styles: [\n `\n watt-field-error {\n color: var(--watt-color-state-danger);\n }\n `,\n ],\n})\nexport class WattFieldErrorComponent {}\n"]}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
//#region License
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright 2020 Energinet DataHub A/S
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
//#endregion
|
|
19
|
-
import { Component } from '@angular/core';
|
|
20
|
-
import * as i0 from "@angular/core";
|
|
21
|
-
export class WattFieldHintComponent {
|
|
22
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattFieldHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: WattFieldHintComponent, isStandalone: true, selector: "watt-field-hint", ngImport: i0, template: `<ng-content />`, isInline: true, styles: [":host{color:var(--watt-color-neutral-grey-700)}\n"] });
|
|
24
|
-
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattFieldHintComponent, decorators: [{
|
|
26
|
-
type: Component,
|
|
27
|
-
args: [{ selector: 'watt-field-hint', template: `<ng-content />`, styles: [":host{color:var(--watt-color-neutral-grey-700)}\n"] }]
|
|
28
|
-
}] });
|
|
29
|
-
//# sourceMappingURL=watt-field-hint.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-field-hint.component.js","sourceRoot":"","sources":["../../../../libs/watt/package/field/watt-field-hint.component.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;AAa1C,MAAM,OAAO,sBAAsB;wGAAtB,sBAAsB;4FAAtB,sBAAsB,2EAFvB,gBAAgB;;4FAEf,sBAAsB;kBAXlC,SAAS;+BACE,iBAAiB,YAQjB,gBAAgB","sourcesContent":["//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component } from '@angular/core';\n\n@Component({\n selector: 'watt-field-hint',\n styles: [\n `\n :host {\n color: var(--watt-color-neutral-grey-700);\n }\n `,\n ],\n template: `<ng-content />`,\n})\nexport class WattFieldHintComponent {}\n"]}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
//#region License
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright 2020 Energinet DataHub A/S
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
//#endregion
|
|
19
|
-
import { Injectable } from '@angular/core';
|
|
20
|
-
import { Subject } from 'rxjs';
|
|
21
|
-
import * as i0 from "@angular/core";
|
|
22
|
-
export class WattFieldIntlService {
|
|
23
|
-
changes = new Subject();
|
|
24
|
-
required = 'Field is required';
|
|
25
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattFieldIntlService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
26
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattFieldIntlService, providedIn: 'root' });
|
|
27
|
-
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattFieldIntlService, decorators: [{
|
|
29
|
-
type: Injectable,
|
|
30
|
-
args: [{ providedIn: 'root' }]
|
|
31
|
-
}] });
|
|
32
|
-
//# sourceMappingURL=watt-field-intl.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-field-intl.service.js","sourceRoot":"","sources":["../../../../libs/watt/package/field/watt-field-intl.service.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;;AAG/B,MAAM,OAAO,oBAAoB;IACtB,OAAO,GAAkB,IAAI,OAAO,EAAQ,CAAC;IACtD,QAAQ,GAAG,mBAAmB,CAAC;wGAFpB,oBAAoB;4GAApB,oBAAoB,cADP,MAAM;;4FACnB,oBAAoB;kBADhC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE","sourcesContent":["//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Injectable } from '@angular/core';\nimport { Subject } from 'rxjs';\n\n@Injectable({ providedIn: 'root' })\nexport class WattFieldIntlService {\n readonly changes: Subject<void> = new Subject<void>();\n required = 'Field is required';\n}\n"]}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
//#region License
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright 2020 Energinet DataHub A/S
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
//#endregion
|
|
19
|
-
import { Component, ViewEncapsulation } from '@angular/core';
|
|
20
|
-
import * as i0 from "@angular/core";
|
|
21
|
-
export class WattFieldWarningComponent {
|
|
22
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattFieldWarningComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: WattFieldWarningComponent, isStandalone: true, selector: "watt-field-warning", ngImport: i0, template: `<ng-content />`, isInline: true, styles: ["watt-field-warning{color:var(--watt-color-state-warning)}\n"], encapsulation: i0.ViewEncapsulation.None });
|
|
24
|
-
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattFieldWarningComponent, decorators: [{
|
|
26
|
-
type: Component,
|
|
27
|
-
args: [{ selector: 'watt-field-warning', template: `<ng-content />`, encapsulation: ViewEncapsulation.None, styles: ["watt-field-warning{color:var(--watt-color-state-warning)}\n"] }]
|
|
28
|
-
}] });
|
|
29
|
-
//# sourceMappingURL=watt-field-warning.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-field-warning.component.js","sourceRoot":"","sources":["../../../../libs/watt/package/field/watt-field-warning.component.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;;AAc7D,MAAM,OAAO,yBAAyB;wGAAzB,yBAAyB;4FAAzB,yBAAyB,8EAV1B,gBAAgB;;4FAUf,yBAAyB;kBAZrC,SAAS;+BACE,oBAAoB,YACpB,gBAAgB,iBACX,iBAAiB,CAAC,IAAI","sourcesContent":["//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'watt-field-warning',\n template: `<ng-content />`,\n encapsulation: ViewEncapsulation.None,\n styles: [\n `\n watt-field-warning {\n color: var(--watt-color-state-warning);\n }\n `,\n ],\n})\nexport class WattFieldWarningComponent {}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-field.component.js","sourceRoot":"","sources":["../../../../libs/watt/package/field/watt-field.component.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,QAAQ,EACR,MAAM,EACN,MAAM,EACN,KAAK,EACL,MAAM,EACN,SAAS,GACV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAiC,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;;AAqEnD,MAAM,OAAO,kBAAkB;IAC7B,IAAI,GAAG,MAAM,CAAC,oBAAoB,CAAC,CAAC;IACpC,UAAU,GAAG,MAAM,CAAa,UAAU,CAAC,CAAC;IAE5C,OAAO,GAAG,KAAK,CAAqB,IAAI,mDAAC,CAAC;IAC1C,KAAK,GAAG,KAAK,2DAAU,CAAC;IACxB,EAAE,GAAG,KAAK,wDAAU,CAAC;IACrB,6CAA6C;IAC7C,QAAQ,GAAG,KAAK,CAAC,KAAK,oDAAC,CAAC;IACxB,OAAO,GAAG,KAAK,6DAAU,CAAC;IAC1B,WAAW,GAAG,KAAK,CAAC,EAAE,uDAAC,CAAC;IACxB,UAAU,GAAG,KAAK,gEAAU,CAAC;IAC7B,WAAW,GAAG,KAAK,CAA6B,KAAK,uDAAC,CAAC;IACvD,SAAS,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,eAAe,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,qDAAC,CAAC;IAE3F;;OAEG;IACH,SAAS,GAAG,KAAK,CAAC,KAAK,qDAAC,CAAC;IAEzB,cAAc;IACd,YAAY,GAAG,SAAS,CAA+B,OAAO,wDAAC,CAAC;IAChE,gBAAgB,GAAG,SAAS,CAA8B,WAAW,4DAAC,CAAC;IAEvE,KAAK,GAAG,MAAM,CAAC,EAAE,iDAAC,CAAC;IACnB,MAAM,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,MAAM,CAAC,kDAAC,CAAC;IACvE,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,MAAM,CAAC,iDAAC,CAAC;IAEzE,MAAM,GAAG,MAAM,CAA0B,IAAI,kDAAC,CAAC;IAC/C,UAAU,GAAG,MAAM,CAAC,KAAK,sDAAC,CAAC;IAC3B,OAAO,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,eAAe,CAAC,mDAAC,CAAC;IAC1F,UAAU,GAAG,KAAK,CAAC,IAAI,sDAAC,CAAC;IAEzB,yCAAyC;IACzC,OAAO,GAAG,SAAS,CAAa,SAAS,mDAAC,CAAC;IAE3C;QACE,MAAM,QAAQ,GAAG,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,KAAK,IAAI,CAAC,CAAC,CAAC;QAExF,kDAAkD;QAClD,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAC1B,SAAS,CAAC,CAAC,OAAO,EAAE,EAAE,CACpB,OAAO,CAAC,YAAY,CAAC,IAAI,CACvB,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,EACxB,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,EAC/E,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CACtC,CACF,EACD,kBAAkB,EAAE,CACrB,CAAC;QAEF,iEAAiE;QACjE,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAC3B,SAAS,CAAC,CAAC,OAAO,EAAE,EAAE,CACpB,OAAO,CAAC,aAAa,CAAC,IAAI,CACxB,SAAS,CAAC,OAAO,CAAC,MAAM,CAAC,EACzB,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,CAAC,EAC/D,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAC3C,CACF,EACD,kBAAkB,EAAE,CACrB,CAAC;QAEF,6BAA6B;QAC7B,MAAM,CAAC,SAAS,EAAE,CAAC;QACnB,OAAO,CAAC,SAAS,EAAE,CAAC;QAEpB,MAAM,CAAC,GAAG,EAAE;YACV,IAAI,IAAI,CAAC,SAAS,EAAE,EAAE,CAAC;gBACrB,IAAI,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC;oBACpB,IAAI,CAAC,gBAAgB,EAAE,EAAE,aAAa,CAAC,KAAK,EAAE,CAAC;gBACjD,CAAC;qBAAM,CAAC;oBACN,IAAI,CAAC,YAAY,EAAE,EAAE,aAAa,CAAC,KAAK,EAAE,CAAC;gBAC7C,CAAC;YACH,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAED,iBAAiB,CAAC,OAAoB;QACpC,MAAM,UAAU,GAAG,CAAC,UAAU,CAAC,QAAQ,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAC;QACvE,OAAO,UAAU,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC,CAAC;IACzE,CAAC;wGAjFU,kBAAkB;4FAAlB,kBAAkB,g0DAtDnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CT,yoLAvDC,gBAAgB,oJAChB,iBAAiB,kGACjB,oBAAoB,2JACpB,uBAAuB,6DACvB,kBAAkB,2FAClB,qBAAqB;;4FAyDZ,kBAAkB;kBAnE9B,SAAS;+BACE,YAAY,mBACL,uBAAuB,CAAC,MAAM,iBAChC,iBAAiB,CAAC,IAAI,WAC5B;wBACP,gBAAgB;wBAChB,iBAAiB;wBACjB,oBAAoB;wBACpB,uBAAuB;wBACvB,kBAAkB;wBAClB,qBAAqB;qBACtB,YAES;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CT,QACK;wBACJ,8BAA8B,EAAE,qBAAqB;wBACrD,iCAAiC,EAAE,cAAc;wBACjD,SAAS,EAAE,aAAa;qBACzB;g8BAuBsD,OAAO,0EACJ,WAAW,qKAYrC,SAAS","sourcesContent":["//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n ViewEncapsulation,\n computed,\n effect,\n inject,\n input,\n signal,\n viewChild,\n} from '@angular/core';\nimport { FormControl, ValidationErrors, Validators } from '@angular/forms';\nimport { filter, map, startWith, switchMap, tap } from 'rxjs/operators';\nimport { takeUntilDestroyed, toObservable } from '@angular/core/rxjs-interop';\n\nimport { WattIconComponent } from '@energinet/watt/icon';\nimport { WattTooltipDirective } from '@energinet/watt/tooltip';\nimport { VaterFlexComponent, VaterUtilityDirective } from '@energinet/watt/vater';\nimport { WattRangeValidators } from '@energinet/watt/validators';\n\nimport { WattFieldIntlService } from './watt-field-intl.service';\nimport { WattFieldErrorComponent } from './watt-field-error.component';\nimport { NgTemplateOutlet } from '@angular/common';\n\n@Component({\n selector: 'watt-field',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [\n NgTemplateOutlet,\n WattIconComponent,\n WattTooltipDirective,\n WattFieldErrorComponent,\n VaterFlexComponent,\n VaterUtilityDirective,\n ],\n styleUrls: ['./watt-field.component.scss'],\n template: `\n @if (chipMode() || displayMode() !== 'box') {\n <span [attr.autofocus]=\"autoFocus() || null\" class=\"watt-label\" #wattLabel>\n <ng-container *ngTemplateOutlet=\"template\" />\n </span>\n } @else {\n <label [attr.autofocus]=\"autoFocus() || null\" [attr.for]=\"id()\" #label>\n <ng-container *ngTemplateOutlet=\"template\" />\n </label>\n }\n\n <ng-template #template>\n @if (label()) {\n <span class=\"label\" [class.required]=\"isRequired()\">\n {{ label() }}\n @if (tooltip(); as tooltip) {\n <watt-icon name=\"info\" wattTooltipPosition=\"top\" [wattTooltip]=\"tooltip\" />\n }\n </span>\n }\n <vater-flex direction=\"row\" gap=\"s\" align=\"center\">\n <div\n vater\n fill=\"horizontal\"\n #wrapper\n class=\"watt-field-wrapper\"\n [class.watt-field--has-placeholder]=\"!!placeholder()\"\n [style.anchor-name]=\"anchorName()\"\n >\n @if (placeholder()) {\n <div class=\"watt-field-placeholder\" aria-hidden=\"true\">\n <span class=\"watt-field-ghost\">{{ ghost() }}</span>\n <span class=\"watt-field-filler\">{{ filler() }}</span>\n </div>\n }\n <ng-content />\n </div>\n <ng-content select=\"watt-field-descriptor\" />\n </vater-flex>\n <ng-content select=\"[popover]\" />\n <ng-content select=\"watt-field-hint\" />\n <ng-content select=\"watt-field-error\" />\n <ng-content select=\"watt-field-warning\" />\n @if (isEmpty()) {\n <watt-field-error>{{ intl.required }}</watt-field-error>\n }\n </ng-template>\n `,\n host: {\n '[class.watt-field--disabled]': 'control()?.disabled',\n '[class.watt-field--show-errors]': 'showErrors()',\n '[class]': 'className()',\n },\n})\nexport class WattFieldComponent {\n intl = inject(WattFieldIntlService);\n elementRef = inject<ElementRef>(ElementRef);\n\n control = input<FormControl | null>(null);\n label = input<string>();\n id = input<string>();\n /** @deprecated Use `displayMode` instead. */\n chipMode = input(false);\n tooltip = input<string>();\n placeholder = input('');\n anchorName = input<string>();\n displayMode = input<'box' | 'chip' | 'content'>('box');\n className = computed(() => `watt-field--${this.chipMode() ? 'chip' : this.displayMode()}`);\n\n /**\n * Whether the input should receive focus when the component is rendered.\n */\n autoFocus = input(false);\n\n /** @ignore */\n labelElement = viewChild<ElementRef<HTMLLabelElement>>('label');\n wattLabelElement = viewChild<ElementRef<HTMLSpanElement>>('wattLabel');\n\n value = signal('');\n filler = computed(() => this.placeholder().slice(this.value().length));\n ghost = computed(() => this.value().slice(0, this.placeholder().length));\n\n errors = signal<ValidationErrors | null>(null);\n isRequired = signal(false);\n isEmpty = computed(() => this.errors()?.['required'] || this.errors()?.['rangeRequired']);\n showErrors = input(true);\n\n // Used for text fields with autocomplete\n wrapper = viewChild<ElementRef>('wrapper');\n\n constructor() {\n const control$ = toObservable(this.control).pipe(filter((control) => control !== null));\n\n // Track value in order to update ghost and filler\n const value$ = control$.pipe(\n switchMap((control) =>\n control.valueChanges.pipe(\n startWith(control.value),\n map((value) => (value === null || value === undefined ? '' : value.toString())),\n tap((value) => this.value.set(value))\n )\n ),\n takeUntilDestroyed()\n );\n\n // Track status in order to update required state and show errors\n const status$ = control$.pipe(\n switchMap((control) =>\n control.statusChanges.pipe(\n startWith(control.status),\n tap(() => this.isRequired.set(this.isRequiredControl(control))),\n tap(() => this.errors.set(control.errors))\n )\n ),\n takeUntilDestroyed()\n );\n\n // Subscribe for side effects\n value$.subscribe();\n status$.subscribe();\n\n effect(() => {\n if (this.autoFocus()) {\n if (this.chipMode()) {\n this.wattLabelElement()?.nativeElement.focus();\n } else {\n this.labelElement()?.nativeElement.focus();\n }\n }\n });\n }\n\n isRequiredControl(control: FormControl) {\n const validators = [Validators.required, WattRangeValidators.required];\n return validators.some((validator) => control.hasValidator(validator));\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energinet-watt-file-field.js","sourceRoot":"","sources":["../../../../libs/watt/package/file-field/energinet-watt-file-field.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
//#region License
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright 2020 Energinet DataHub A/S
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
//#endregion
|
|
19
|
-
export { WattFileField } from './watt-file-field.component';
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/watt/package/file-field/index.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC","sourcesContent":["//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nexport { WattFileField } from './watt-file-field.component';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-file-field.component.js","sourceRoot":"","sources":["../../../../libs/watt/package/file-field/watt-file-field.component.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACnF,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;;AAkC3D,MAAM,OAAO,aAAa;IACf,IAAI,GAAG,KAAK,0DAAQ,CAAC;IACrB,KAAK,GAAG,KAAK,CAAC,EAAE,iDAAC,CAAC;IAClB,WAAW,GAAG,KAAK,CAAC,EAAE,uDAAC,CAAC;IACxB,KAAK,GAAG,MAAM,EAAE,CAAC;IAChB,iBAAiB,GAAG,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC;wGALxE,aAAa;4FAAb,aAAa,+fAnBd;;;;;;;;;;;;;;;;;GAiBT,oNA5BS,mBAAmB,sIAAE,kBAAkB;;4FA8BtC,aAAa;kBAhCzB,SAAS;+BACE,iBAAiB,WAClB,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,iBACnC,iBAAiB,CAAC,IAAI,YAU3B;;;;;;;;;;;;;;;;;GAiBT","sourcesContent":["//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component, ViewEncapsulation, input, model, output } from '@angular/core';\nimport { WattButtonComponent } from '@energinet/watt/button';\nimport { WattFieldComponent } from '@energinet/watt/field';\n\n@Component({\n selector: 'watt-file-field',\n imports: [WattButtonComponent, WattFieldComponent],\n encapsulation: ViewEncapsulation.None,\n styles: `\n .watt-file-field-text {\n color: var(--watt-color-primary);\n }\n\n .watt-file-field-text:placeholder-shown {\n color: var(--watt-input-placeholder-color);\n }\n `,\n template: `\n <watt-field [label]=\"label()\">\n <input\n disabled\n class=\"watt-file-field-text\"\n [placeholder]=\"placeholder()\"\n type=\"text\"\n [value]=\"file()?.name\"\n />\n @if (!file()) {\n <input #input hidden type=\"file\" (change)=\"file.set(input.files?.item(0) ?? undefined)\" />\n <watt-button variant=\"icon\" icon=\"fileUpload\" (click)=\"input.click()\" />\n } @else {\n <watt-button variant=\"icon\" icon=\"remove\" (click)=\"clear.emit()\" />\n }\n <ng-content />\n </watt-field>\n `,\n})\nexport class WattFileField {\n readonly file = model<File>();\n readonly label = input('');\n readonly placeholder = input('');\n readonly clear = output();\n protected clearSubscription = this.clear.subscribe(() => this.file.set(undefined));\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energinet-watt-icon.js","sourceRoot":"","sources":["../../../../libs/watt/package/icon/energinet-watt-icon.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energinet-watt-icon-flags.js","sourceRoot":"","sources":["../../../../../libs/watt/package/icon/flags/energinet-watt-icon-flags.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|