@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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-format-date.js","sourceRoot":"","sources":["../../../../../libs/watt/package/core/date/watt-format-date.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,YAAY;IACnB,SAAS,EAAE,cAAc;IACzB,IAAI,EAAE,kBAAkB;IACxB,QAAQ,EAAE,oBAAoB;IAC9B,IAAI,EAAE,OAAO;IACb,mBAAmB,EAAE,sBAAsB;CAC5C,CAAC;AAEF,MAAM,UAAU,cAAc,CAC5B,KAA2E,EAC3E,SAAqC,OAAO,EAC5C,QAAQ,GAAG,mBAAmB;IAE9B,IAAI,CAAC,KAAK;QAAE,OAAO,IAAI,CAAC;IAExB,IAAI,KAAK,YAAY,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QACvD,OAAO,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;IACjE,CAAC;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QACrC,OAAO,KAAK,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;IAC3E,CAAC;SAAM,CAAC;QACN,OAAO,cAAc,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACvC,CAAC;AACH,CAAC;AAED,SAAS,cAAc,CACrB,KAA+B,EAC/B,MAAkC;IAElC,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,IAAI,KAAK,CAAC,GAAG,KAAK,IAAI,EAAE,CAAC;QAC7E,OAAO,cAAc,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAC7C,CAAC;SAAM,CAAC;QACN,OAAO,GAAG,cAAc,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,cAAc,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,CAAC,EAAE,CAAC;IACzF,CAAC;AACH,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 { dayjs } from './dayjs';\nimport { WattRange } from './watt-date-range';\n\nexport const formatStrings = {\n monthYear: 'MMMM YYYY',\n short: 'DD-MM-YYYY',\n shortAbbr: 'DD. MMM YYYY',\n long: 'DD-MM-YYYY HH:mm',\n longAbbr: 'DD. MMM YYYY HH:mm',\n time: 'HH:mm',\n longAbbrWithSeconds: 'DD-MMM YYYY HH:mm:ss',\n};\n\nexport function wattFormatDate(\n input?: WattRange<Date> | WattRange<string> | Date | string | number | null,\n format: keyof typeof formatStrings = 'short',\n timeZone = 'Europe/Copenhagen'\n): string | null {\n if (!input) return null;\n\n if (input instanceof Date || typeof input === 'string') {\n return dayjs(input).tz(timeZone).format(formatStrings[format]);\n } else if (typeof input === 'number') {\n return dayjs(new Date(input)).tz(timeZone).format(formatStrings[format]);\n } else {\n return transformRange(input, format);\n }\n}\n\nfunction transformRange(\n input: WattRange<Date | string>,\n format: keyof typeof formatStrings\n): string | null {\n if (dayjs(input.start).isSame(dayjs(input.end), 'day') || input.end === null) {\n return wattFormatDate(input.start, format);\n } else {\n return `${wattFormatDate(input.start, format)} ― ${wattFormatDate(input.end, format)}`;\n }\n}\n"]}
|
|
@@ -1,48 +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 { computed, inject, Injectable, LOCALE_ID, signal } from '@angular/core';
|
|
20
|
-
import { DateAdapter } from '@angular/material/core';
|
|
21
|
-
import { dayjs } from './dayjs';
|
|
22
|
-
import * as i0 from "@angular/core";
|
|
23
|
-
export class WattLocaleService {
|
|
24
|
-
dateAdapter = inject(DateAdapter);
|
|
25
|
-
locale = signal(inject(LOCALE_ID), ...(ngDevMode ? [{ debugName: "locale" }] : []));
|
|
26
|
-
isDanish = computed(() => this.locale() == 'da', ...(ngDevMode ? [{ debugName: "isDanish" }] : []));
|
|
27
|
-
isEnglish = computed(() => this.locale() == 'en', ...(ngDevMode ? [{ debugName: "isEnglish" }] : []));
|
|
28
|
-
async setActiveLocale(locale) {
|
|
29
|
-
if (locale === 'da') {
|
|
30
|
-
await import('dayjs/locale/da');
|
|
31
|
-
}
|
|
32
|
-
if (locale === 'en') {
|
|
33
|
-
await import('dayjs/locale/en');
|
|
34
|
-
}
|
|
35
|
-
dayjs.locale(locale);
|
|
36
|
-
this.dateAdapter.setActiveLocale(locale);
|
|
37
|
-
this.locale.set(locale);
|
|
38
|
-
}
|
|
39
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattLocaleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
40
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattLocaleService, providedIn: 'root' });
|
|
41
|
-
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattLocaleService, decorators: [{
|
|
43
|
-
type: Injectable,
|
|
44
|
-
args: [{
|
|
45
|
-
providedIn: 'root',
|
|
46
|
-
}]
|
|
47
|
-
}] });
|
|
48
|
-
//# sourceMappingURL=watt-locale.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-locale.service.js","sourceRoot":"","sources":["../../../../../libs/watt/package/core/date/watt-locale.service.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAChF,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAGrD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;;AAKhC,MAAM,OAAO,iBAAiB;IACX,WAAW,GAAG,MAAM,CAAuB,WAAW,CAAC,CAAC;IAEzE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAuB,SAAS,CAAC,kDAAC,CAAC;IACzD,QAAQ,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,IAAI,oDAAC,CAAC;IACjD,SAAS,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,IAAI,qDAAC,CAAC;IAElD,KAAK,CAAC,eAAe,CAAC,MAA4B;QAChD,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;YACpB,MAAM,MAAM,CAAC,iBAAiB,CAAC,CAAC;QAClC,CAAC;QAED,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;YACpB,MAAM,MAAM,CAAC,iBAAiB,CAAC,CAAC;QAClC,CAAC;QAED,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpB,IAAI,CAAC,WAA+B,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;QAC9D,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAC1B,CAAC;wGAnBU,iBAAiB;4GAAjB,iBAAiB,cAFhB,MAAM;;4FAEP,iBAAiB;kBAH7B,UAAU;mBAAC;oBACV,UAAU,EAAE,MAAM;iBACnB","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 { computed, inject, Injectable, LOCALE_ID, signal } from '@angular/core';\nimport { DateAdapter } from '@angular/material/core';\n\nimport { WattDateAdapter, WattSupportedLocales } from './watt-date-adapter';\nimport { dayjs } from './dayjs';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class WattLocaleService {\n private readonly dateAdapter = inject<DateAdapter<unknown>>(DateAdapter);\n\n locale = signal(inject<WattSupportedLocales>(LOCALE_ID));\n isDanish = computed(() => this.locale() == 'da');\n isEnglish = computed(() => this.locale() == 'en');\n\n async setActiveLocale(locale: WattSupportedLocales): Promise<void> {\n if (locale === 'da') {\n await import('dayjs/locale/da');\n }\n\n if (locale === 'en') {\n await import('dayjs/locale/en');\n }\n\n dayjs.locale(locale);\n (this.dateAdapter as WattDateAdapter).setActiveLocale(locale);\n this.locale.set(locale);\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energinet-watt-data.js","sourceRoot":"","sources":["../../../../libs/watt/package/data/energinet-watt-data.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/data/index.js
DELETED
|
@@ -1,23 +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 { WattDataFiltersComponent } from './watt-data-filters.component';
|
|
20
|
-
export { WattDataActionsComponent } from './watt-data-actions.component';
|
|
21
|
-
export { WattDataIntlService } from './watt-data-intl.service';
|
|
22
|
-
export { WattDataTableComponent } from './watt-data-table.component';
|
|
23
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/watt/package/data/index.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,sBAAsB,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 { WattDataFiltersComponent } from './watt-data-filters.component';\nexport { WattDataActionsComponent } from './watt-data-actions.component';\nexport { WattDataIntlService } from './watt-data-intl.service';\nexport { WattDataTableComponent } from './watt-data-table.component';\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 { Component } from '@angular/core';
|
|
20
|
-
import * as i0 from "@angular/core";
|
|
21
|
-
export class WattDataActionsComponent {
|
|
22
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattDataActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: WattDataActionsComponent, isStandalone: true, selector: "watt-data-actions", ngImport: i0, template: `<ng-content />`, isInline: true });
|
|
24
|
-
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattDataActionsComponent, decorators: [{
|
|
26
|
-
type: Component,
|
|
27
|
-
args: [{
|
|
28
|
-
selector: 'watt-data-actions',
|
|
29
|
-
template: `<ng-content />`,
|
|
30
|
-
}]
|
|
31
|
-
}] });
|
|
32
|
-
//# sourceMappingURL=watt-data-actions.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-data-actions.component.js","sourceRoot":"","sources":["../../../../libs/watt/package/data/watt-data-actions.component.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;AAM1C,MAAM,OAAO,wBAAwB;wGAAxB,wBAAwB;4FAAxB,wBAAwB,6EAFzB,gBAAgB;;4FAEf,wBAAwB;kBAJpC,SAAS;mBAAC;oBACT,QAAQ,EAAE,mBAAmB;oBAC7B,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 { Component } from '@angular/core';\n\n@Component({\n selector: 'watt-data-actions',\n template: `<ng-content />`,\n})\nexport class WattDataActionsComponent {}\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 { Component } from '@angular/core';
|
|
20
|
-
import * as i0 from "@angular/core";
|
|
21
|
-
export class WattDataFiltersComponent {
|
|
22
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattDataFiltersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: WattDataFiltersComponent, isStandalone: true, selector: "watt-data-filters", ngImport: i0, template: `<ng-content />`, isInline: true });
|
|
24
|
-
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattDataFiltersComponent, decorators: [{
|
|
26
|
-
type: Component,
|
|
27
|
-
args: [{
|
|
28
|
-
selector: 'watt-data-filters',
|
|
29
|
-
template: `<ng-content />`,
|
|
30
|
-
}]
|
|
31
|
-
}] });
|
|
32
|
-
//# sourceMappingURL=watt-data-filters.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-data-filters.component.js","sourceRoot":"","sources":["../../../../libs/watt/package/data/watt-data-filters.component.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;AAM1C,MAAM,OAAO,wBAAwB;wGAAxB,wBAAwB;4FAAxB,wBAAwB,6EAFzB,gBAAgB;;4FAEf,wBAAwB;kBAJpC,SAAS;mBAAC;oBACT,QAAQ,EAAE,mBAAmB;oBAC7B,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 { Component } from '@angular/core';\n\n@Component({\n selector: 'watt-data-filters',\n template: `<ng-content />`,\n})\nexport class WattDataFiltersComponent {}\n"]}
|
|
@@ -1,39 +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 WattDataIntlService {
|
|
23
|
-
changes = new Subject();
|
|
24
|
-
search = 'Search';
|
|
25
|
-
emptyTitle = 'No results found';
|
|
26
|
-
emptyText = 'Try changing the search criteria.';
|
|
27
|
-
emptyRetry = 'Retry';
|
|
28
|
-
errorTitle = 'An unexpected error occured';
|
|
29
|
-
errorText = 'Unfortunately, an error occurred while retrieving the necessary information.';
|
|
30
|
-
defaultTitle = 'An unexpected error occured';
|
|
31
|
-
defaultText = 'Unfortunately, an error occurred while retrieving the necessary information.';
|
|
32
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattDataIntlService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
33
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattDataIntlService, providedIn: 'root' });
|
|
34
|
-
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattDataIntlService, decorators: [{
|
|
36
|
-
type: Injectable,
|
|
37
|
-
args: [{ providedIn: 'root' }]
|
|
38
|
-
}] });
|
|
39
|
-
//# sourceMappingURL=watt-data-intl.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-data-intl.service.js","sourceRoot":"","sources":["../../../../libs/watt/package/data/watt-data-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,mBAAmB;IACrB,OAAO,GAAkB,IAAI,OAAO,EAAQ,CAAC;IACtD,MAAM,GAAG,QAAQ,CAAC;IAClB,UAAU,GAAG,kBAAkB,CAAC;IAChC,SAAS,GAAG,mCAAmC,CAAC;IAChD,UAAU,GAAG,OAAO,CAAC;IACrB,UAAU,GAAG,6BAA6B,CAAC;IAC3C,SAAS,GAAG,8EAA8E,CAAC;IAC3F,YAAY,GAAG,6BAA6B,CAAC;IAC7C,WAAW,GAAG,8EAA8E,CAAC;wGATlF,mBAAmB;4GAAnB,mBAAmB,cADN,MAAM;;4FACnB,mBAAmB;kBAD/B,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 WattDataIntlService {\n readonly changes: Subject<void> = new Subject<void>();\n search = 'Search';\n emptyTitle = 'No results found';\n emptyText = 'Try changing the search criteria.';\n emptyRetry = 'Retry';\n errorTitle = 'An unexpected error occured';\n errorText = 'Unfortunately, an error occurred while retrieving the necessary information.';\n defaultTitle = 'An unexpected error occured';\n defaultText = 'Unfortunately, an error occurred while retrieving the necessary information.';\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-data-table.component.js","sourceRoot":"","sources":["../../../../libs/watt/package/data/watt-data-table.component.ts"],"names":[],"mappings":"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","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 Component,\n ViewEncapsulation,\n contentChild,\n inject,\n input,\n output,\n viewChild,\n} from '@angular/core';\nimport { PageEvent } from '@angular/material/paginator';\n\nimport {\n VaterFlexComponent,\n VaterSpacerComponent,\n VaterStackComponent,\n VaterUtilityDirective,\n} from '@energinet/watt/vater';\nimport { WATT_CARD_VARIANT, WattCardComponent } from '@energinet/watt/card';\nimport { WattButtonComponent } from '@energinet/watt/button';\nimport { WattEmptyStateComponent } from '@energinet/watt/empty-state';\nimport { WattPaginatorComponent } from '@energinet/watt/paginator';\nimport { WattSearchComponent } from '@energinet/watt/search';\nimport { WattTableComponent } from '@energinet/watt/table';\nimport { WattIcon } from '@energinet/watt/icon';\n\nimport { WattDataIntlService } from './watt-data-intl.service';\n\n@Component({\n selector: 'watt-data-table',\n imports: [\n VaterFlexComponent,\n VaterSpacerComponent,\n VaterStackComponent,\n VaterUtilityDirective,\n WattCardComponent,\n WattEmptyStateComponent,\n WattPaginatorComponent,\n WattSearchComponent,\n WattButtonComponent,\n ],\n encapsulation: ViewEncapsulation.None,\n styles: [\n `\n watt-data-table h3,\n watt-data-table h4 {\n line-height: 44px;\n min-height: 44px;\n margin: 0;\n }\n\n watt-data-table watt-paginator {\n display: block;\n margin: calc(-1 * var(--watt-space-m));\n }\n\n watt-data-table watt-empty-state {\n margin: var(--watt-space-xl) 0;\n }\n `,\n ],\n template: `\n <watt-card vater fill=\"vertical\" [variant]=\"variant()\">\n <vater-flex autoSize fill=\"vertical\" gap=\"m\">\n @if (header()) {\n <vater-stack direction=\"row\" gap=\"m\">\n <vater-stack direction=\"row\" gap=\"s\">\n <ng-content select=\"h3\" />\n <ng-content select=\"h4\" />\n @if (enableCount()) {\n <span class=\"watt-chip-label\">\n {{ count() ?? table().dataSource().totalCount }}\n </span>\n }\n @if (queryTime()) {\n <span class=\"watt-label\">in {{ queryTime() }} ms</span>\n }\n </vater-stack>\n <ng-content />\n <vater-spacer />\n @if (enableSearch()) {\n <watt-search\n [label]=\"searchLabel() ?? intl.search\"\n [trim]=\"trimSearch()\"\n (search)=\"onSearch($event)\"\n />\n }\n <ng-content select=\"watt-data-actions\" />\n <ng-content select=\"watt-button\" />\n </vater-stack>\n }\n <ng-content select=\"watt-data-filters\" />\n <vater-flex [autoSize]=\"autoSize()\" fill=\"vertical\">\n <ng-content select=\"watt-table\" />\n @if (\n enableEmptyState() &&\n !table().loading() &&\n table().dataSource().filteredData.length === 0\n ) {\n <vater-flex [autoSize]=\"autoSize()\" fill=\"vertical\">\n <vater-stack scrollable justify=\"center\">\n <watt-empty-state\n [icon]=\"error() ? 'custom-power' : ready() ? emptyStateIcon() : 'custom-explore'\"\n [title]=\"\n error() ? intl.errorTitle : ready() ? intl.emptyTitle : intl.defaultTitle\n \"\n [message]=\"error() ? intl.errorText : ready() ? intl.emptyText : intl.defaultText\"\n >\n @if (enableRetry()) {\n <watt-button variant=\"secondary\" (click)=\"retry.emit()\">{{\n intl.emptyRetry\n }}</watt-button>\n }\n </watt-empty-state>\n </vater-stack>\n </vater-flex>\n }\n </vater-flex>\n @if (enablePaginator()) {\n <watt-paginator\n [for]=\"table().dataSource()\"\n [length]=\"count() ?? 0\"\n [pageSize]=\"pageSize()\"\n (changed)=\"pageChanged.emit($event)\"\n />\n }\n </vater-flex>\n </watt-card>\n `,\n})\nexport class WattDataTableComponent {\n intl = inject(WattDataIntlService);\n\n error = input<unknown>();\n ready = input(true);\n enableSearch = input(true);\n trimSearch = input(true);\n header = input(true);\n enableRetry = input(false);\n enableCount = input(true);\n enableEmptyState = input(true);\n queryTime = input<number>();\n searchLabel = input<string>();\n enablePaginator = input(true);\n pageSize = input<number>(50);\n count = input<number>();\n autoSize = input(false);\n variant = input<WATT_CARD_VARIANT>('solid');\n emptyStateIcon = input<WattIcon | 'custom-power' | 'custom-explore' | 'custom-no-results'>(\n 'cancel'\n );\n\n clear = output();\n pageChanged = output<PageEvent>();\n retry = output();\n\n table = contentChild.required(WattTableComponent<unknown>, { descendants: true });\n\n search = viewChild(WattSearchComponent);\n reset = () => this.search()?.clear();\n\n onSearch(value: string) {\n this.table().dataSource().filter = value;\n if (!value) this.clear.emit();\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energinet-watt-datetime-field.js","sourceRoot":"","sources":["../../../../libs/watt/package/datetime-field/energinet-watt-datetime-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 { WattDateTimeField } from './watt-datetime-field.component';
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/watt/package/datetime-field/index.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,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 { WattDateTimeField } from './watt-datetime-field.component';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-datetime-field.component.js","sourceRoot":"","sources":["../../../../libs/watt/package/datetime-field/watt-datetime-field.component.ts"],"names":[],"mappings":"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","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 computed,\n forwardRef,\n inject,\n input,\n output,\n signal,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n ControlValueAccessor,\n FormControl,\n NG_VALUE_ACCESSOR,\n ReactiveFormsModule,\n} from '@angular/forms';\nimport { outputFromObservable, takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { MatCalendar } from '@angular/material/datepicker';\nimport { MaskitoDirective } from '@maskito/angular';\nimport { maskitoDateTimeOptionsGenerator } from '@maskito/kit';\nimport { map, share } from 'rxjs';\nimport { dayjs, WattLocaleService } from '@energinet/watt/core/date';\nimport { WattFieldComponent } from '@energinet/watt/field';\nimport { WattButtonComponent } from '@energinet/watt/button';\n\nconst DA_FILLER = 'dd-mm-åååå, tt:mm';\nconst EN_FILLER = 'dd-mm-yyyy, hh:mm';\nconst DATETIME_FORMAT = 'DD-MM-YYYY, HH:mm';\nconst PARTIAL_DATETIME_FORMAT = 'DD-MM-YYYY, ';\nconst DANISH_TIME_ZONE_IDENTIFIER = 'Europe/Copenhagen';\n\n/* eslint-disable @angular-eslint/component-class-suffix */\n@Component({\n selector: 'watt-datetime-field',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => WattDateTimeField),\n multi: true,\n },\n ],\n imports: [\n ReactiveFormsModule,\n MaskitoDirective,\n MatCalendar,\n WattButtonComponent,\n WattFieldComponent,\n ],\n styles: [\n `\n watt-datetime-field {\n display: block;\n width: 100%;\n }\n\n .watt-datetime-field-picker {\n position: fixed;\n position-area: bottom span-right;\n position-try-fallbacks: flip-block;\n width: 296px;\n height: 354px;\n inset: unset;\n margin: unset;\n border: 0;\n }\n `,\n ],\n template: `\n <watt-field\n [label]=\"label()\"\n [control]=\"control\"\n [placeholder]=\"placeholder()\"\n [anchorName]=\"anchorName\"\n >\n <input\n #field\n [formControl]=\"control\"\n [maskito]=\"mask()\"\n (focus)=\"picker.showPopover()\"\n (blur)=\"handleBlur(picker, $event)\"\n />\n <watt-button icon=\"date\" variant=\"icon\" (click)=\"field.focus()\" />\n <div\n #picker\n class=\"watt-elevation watt-datetime-field-picker\"\n popover=\"manual\"\n tabindex=\"0\"\n [style.position-anchor]=\"anchorName\"\n >\n <mat-calendar\n [startAt]=\"selected()\"\n [selected]=\"selected()\"\n [minDate]=\"min()\"\n [maxDate]=\"max()\"\n (selectedChange)=\"handleSelectedChange(field, picker, $event)\"\n />\n </div>\n <ng-content />\n <ng-content select=\"watt-field-error\" ngProjectAs=\"watt-field-error\" />\n <ng-content select=\"watt-field-warning\" ngProjectAs=\"watt-field-warning\" />\n <ng-content select=\"watt-field-hint\" ngProjectAs=\"watt-field-hint\" />\n </watt-field>\n `,\n})\nexport class WattDateTimeField implements ControlValueAccessor {\n private locale = inject(WattLocaleService);\n\n // Popovers exists on an entirely different layer, meaning that for anchor positioning they\n // look at the entire tree for the anchor name. This gives each field a unique anchor name.\n private static instance = 0;\n private instance = WattDateTimeField.instance++;\n protected anchorName = `--watt-datetime-field-popover-anchor-${this.instance}`;\n\n /** Converts date from outer FormControl to format of inner FormControl. */\n protected modelToView = (value: Date | null, format = DATETIME_FORMAT) =>\n value ? dayjs(value).tz(DANISH_TIME_ZONE_IDENTIFIER).format(format) : '';\n\n /** Converts value of inner FormControl to type of outer FormControl. */\n protected viewToModel = (value: string) => {\n const date = dayjs(value, DATETIME_FORMAT, true);\n if (!date.isValid()) return null;\n return this.inclusive() ? date.endOf('m').toDate() : date.toDate();\n };\n\n // Must unfortunately be queried in order to update `activeDate`\n private calendar = viewChild.required<MatCalendar<Date>>(MatCalendar);\n\n // This inner FormControl is string only, but the outer FormControl is of type Date.\n protected control = new FormControl('', { nonNullable: true });\n\n // `registerOnChange` may subscribe to this component after it has been destroyed, thus\n // triggering an NG0911 from the `takeUntilDestroyed` operator. By sharing the observable,\n // the observable will already be closed and `subscribe` becomes a proper noop.\n private valueChanges = this.control.valueChanges.pipe(\n map(this.viewToModel),\n takeUntilDestroyed(),\n share()\n );\n\n /** Set the label text for `watt-field`. */\n label = input('');\n\n /** The minimum selectable date. */\n min = input<Date>();\n\n /** The maximum selectable date. */\n max = input<Date>();\n\n /** When true, seconds will be set to 59 and milliseconds to 999. Otherwise, both are 0. */\n inclusive = input(false);\n\n /** Emits when the selected date has changed. */\n dateChange = outputFromObservable(this.valueChanges);\n\n /** Emits when the field loses focus. */\n // eslint-disable-next-line @angular-eslint/no-output-native\n blur = output<FocusEvent>();\n\n protected selected = signal<Date | null>(null);\n protected placeholder = computed(() => (this.locale.isDanish() ? DA_FILLER : EN_FILLER));\n protected mask = computed(() =>\n maskitoDateTimeOptionsGenerator({\n min: this.min(),\n max: this.max(),\n dateMode: 'dd/mm/yyyy',\n timeMode: 'HH:MM',\n dateSeparator: '-',\n timeStep: 1,\n })\n );\n\n protected handleBlur = (picker: HTMLElement, event: FocusEvent) => {\n if (event.relatedTarget instanceof HTMLElement && picker.contains(event.relatedTarget)) {\n const target = event.target as HTMLInputElement; // safe type assertion\n setTimeout(() => target.focus()); // keep focus on input element while using the picker\n } else {\n picker.hidePopover();\n this.blur.emit(event);\n }\n };\n\n protected handleSelectedChange = (\n field: HTMLInputElement,\n picker: HTMLDivElement,\n date: Date\n ) => {\n const prev = this.viewToModel(this.control.value);\n\n // Only write the date part\n field.value = prev\n ? this.modelToView(dayjs(date).set('h', prev.getHours()).set('m', prev.getMinutes()).toDate())\n : this.modelToView(date, PARTIAL_DATETIME_FORMAT);\n\n field.dispatchEvent(new Event('input', { bubbles: true }));\n picker.hidePopover();\n };\n\n constructor() {\n this.valueChanges.subscribe((value) => {\n this.selected.set(value);\n this.calendar().activeDate = value ?? new Date();\n });\n }\n\n // Implementation for ControlValueAccessor\n writeValue = (value: Date | null) => this.control.setValue(this.modelToView(value));\n setDisabledState = (x: boolean) => (x ? this.control.disable() : this.control.enable());\n registerOnTouched = (fn: () => void) => this.blur.subscribe(fn);\n registerOnChange = (fn: (value: Date | null) => void) => this.valueChanges.subscribe(fn);\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energinet-watt-description-list.js","sourceRoot":"","sources":["../../../../libs/watt/package/description-list/energinet-watt-description-list.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 { WattDescriptionListComponent, WattDescriptionListItemComponent, WATT_DESCRIPTION_LIST, } from './watt-description-list.component';
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/watt/package/description-list/index.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EACL,4BAA4B,EAC5B,gCAAgC,EAChC,qBAAqB,GACtB,MAAM,mCAAmC,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 {\n WattDescriptionListComponent,\n WattDescriptionListItemComponent,\n WATT_DESCRIPTION_LIST,\n} from './watt-description-list.component';\n"]}
|
|
@@ -1,49 +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 { ChangeDetectionStrategy, Component, input, viewChild } from '@angular/core';
|
|
20
|
-
import { NgClass } from '@angular/common';
|
|
21
|
-
import * as i0 from "@angular/core";
|
|
22
|
-
import * as i1 from "@angular/common";
|
|
23
|
-
export class WattDescriptionListItemComponent {
|
|
24
|
-
templateRef = viewChild.required('templateRef');
|
|
25
|
-
label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
26
|
-
value = input(null, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
27
|
-
forceNewRow = input(false, ...(ngDevMode ? [{ debugName: "forceNewRow" }] : []));
|
|
28
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattDescriptionListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.15", type: WattDescriptionListItemComponent, isStandalone: true, selector: "watt-description-list-item", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, forceNewRow: { classPropertyName: "forceNewRow", publicName: "forceNewRow", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["templateRef"], descendants: true, isSignal: true }], hostDirectives: [{ directive: i1.NgClass }], ngImport: i0, template: `<ng-template #templateRef
|
|
30
|
-
><div [ngClass]="{ 'force-new-row': forceNewRow() }">
|
|
31
|
-
<dt class="watt-label watt-on-light--high-emphasis">{{ label() }}</dt>
|
|
32
|
-
<dd class="watt-text-s">{{ value() }}<ng-content /></dd></div
|
|
33
|
-
></ng-template>`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
34
|
-
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattDescriptionListItemComponent, decorators: [{
|
|
36
|
-
type: Component,
|
|
37
|
-
args: [{
|
|
38
|
-
imports: [NgClass],
|
|
39
|
-
selector: 'watt-description-list-item',
|
|
40
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
41
|
-
hostDirectives: [NgClass],
|
|
42
|
-
template: `<ng-template #templateRef
|
|
43
|
-
><div [ngClass]="{ 'force-new-row': forceNewRow() }">
|
|
44
|
-
<dt class="watt-label watt-on-light--high-emphasis">{{ label() }}</dt>
|
|
45
|
-
<dd class="watt-text-s">{{ value() }}<ng-content /></dd></div
|
|
46
|
-
></ng-template>`,
|
|
47
|
-
}]
|
|
48
|
-
}], propDecorators: { templateRef: [{ type: i0.ViewChild, args: ['templateRef', { isSignal: true }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], forceNewRow: [{ type: i0.Input, args: [{ isSignal: true, alias: "forceNewRow", required: false }] }] } });
|
|
49
|
-
//# sourceMappingURL=watt-description-list-item.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-description-list-item.component.js","sourceRoot":"","sources":["../../../../libs/watt/package/description-list/watt-description-list-item.component.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,KAAK,EAAe,SAAS,EAAE,MAAM,eAAe,CAAC;AAClG,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;;;AAa1C,MAAM,OAAO,gCAAgC;IAC3C,WAAW,GAAG,SAAS,CAAC,QAAQ,CAA8B,aAAa,CAAC,CAAC;IAC7E,KAAK,GAAG,KAAK,CAAS,EAAE,iDAAC,CAAC;IAC1B,KAAK,GAAG,KAAK,CAAW,IAAI,iDAAC,CAAC;IAC9B,WAAW,GAAG,KAAK,CAAC,KAAK,uDAAC,CAAC;wGAJhB,gCAAgC;4FAAhC,gCAAgC,qoBANjC;;;;kBAIM,4DARN,OAAO;;4FAUN,gCAAgC;kBAX5C,SAAS;mBAAC;oBACT,OAAO,EAAE,CAAC,OAAO,CAAC;oBAClB,QAAQ,EAAE,4BAA4B;oBACtC,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,cAAc,EAAE,CAAC,OAAO,CAAC;oBACzB,QAAQ,EAAE;;;;kBAIM;iBACjB;yEAE+D,aAAa","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 { ChangeDetectionStrategy, Component, input, TemplateRef, viewChild } from '@angular/core';\nimport { NgClass } from '@angular/common';\n\n@Component({\n imports: [NgClass],\n selector: 'watt-description-list-item',\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [NgClass],\n template: `<ng-template #templateRef\n ><div [ngClass]=\"{ 'force-new-row': forceNewRow() }\">\n <dt class=\"watt-label watt-on-light--high-emphasis\">{{ label() }}</dt>\n <dd class=\"watt-text-s\">{{ value() }}<ng-content /></dd></div\n ></ng-template>`,\n})\nexport class WattDescriptionListItemComponent<T> {\n templateRef = viewChild.required<TemplateRef<unknown | null>>('templateRef');\n label = input<string>('');\n value = input<T | null>(null);\n forceNewRow = input(false);\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-description-list.component.js","sourceRoot":"","sources":["../../../../libs/watt/package/description-list/watt-description-list.component.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,EACL,SAAS,EACT,QAAQ,EACR,eAAe,EACf,MAAM,EACN,MAAM,EACN,KAAK,EACL,iBAAiB,GAClB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;;;AAC1F;;;GAGG;AACH,MAgBM,4BAA4B;IACxB,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC;IAClC,gBAAgB,GAAG,eAAe,CAAC,CAAA,gCAAmC,CAAA,4DAAC,CAAC;IACxE,OAAO,GAAG,KAAK,CAA+C,MAAM,mDAAC,CAAC;IACtE,kBAAkB,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,yBAAyB,IAAI,CAAC,OAAO,EAAE,EAAE,8DAAC,CAAC;IAC/E,YAAY,GAAG,KAAK,CAAS,CAAC,wDAAC,CAAC;IAChC,cAAc,GAAG,KAAK,CAAC,IAAI,0DAAC,CAAC;IAE7B;QACE,MAAM,CAAC,GAAG,EAAE;YACV,IAAI,CAAC,OAAO,CAAC,OAAO,GAAG;gBACrB,CAAC,iBAAiB,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE;aAC3C,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;wGAdG,4BAA4B;4FAA5B,4BAA4B,ypBAEG,CAAA,gCAAmC,CAAA,0FAb5D;;;;QAIJ,ggDALI,gBAAgB;;4FAYtB,4BAA4B;kBAhBjC,SAAS;oCACO,iBAAiB,CAAC,IAAI,YAC3B,uBAAuB,WAExB,CAAC,gBAAgB,CAAC,YACjB;;;;QAIJ,kBACU,CAAC,OAAO,CAAC,QACnB;wBACJ,gDAAgD,EAAE,gBAAgB;wBAClE,SAAS,EAAE,sBAAsB;qBAClC;kIAIkC,gCAAmC;AAexE,OAAO,EAAE,gCAAgC,EAAE,4BAA4B,EAAE,CAAC;AAC1E,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,4BAA4B;IAC5B,gCAAgC;CACxB,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 { NgClass, NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n computed,\n contentChildren,\n effect,\n inject,\n input,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport { WattDescriptionListItemComponent } from './watt-description-list-item.component';\n/**\n * Usage:\n * `import { WattDescriptionListComponent } from '@energinet/watt/description-list';`\n */\n@Component({\n encapsulation: ViewEncapsulation.None,\n selector: 'watt-description-list',\n styleUrls: ['./watt-description-list.component.scss'],\n imports: [NgTemplateOutlet],\n template: `<dl>\n @for (item of descriptionItems(); track item) {\n <ng-container *ngTemplateOutlet=\"item.templateRef()\" />\n }\n </dl>`,\n hostDirectives: [NgClass],\n host: {\n '[style.--watt-description-list-groups-per-row]': 'groupsPerRow()',\n '[class]': 'descriptionVariant()',\n },\n})\nclass WattDescriptionListComponent<T> {\n private ngClass = inject(NgClass);\n descriptionItems = contentChildren(WattDescriptionListItemComponent<T>);\n variant = input<'flow' | 'inline-flow' | 'stack' | 'compact'>('flow');\n descriptionVariant = computed(() => `watt-description-list-${this.variant()}`);\n groupsPerRow = input<number>(3);\n itemSeparators = input(true);\n\n constructor() {\n effect(() => {\n this.ngClass.ngClass = {\n [`item-separators`]: this.itemSeparators(),\n };\n });\n }\n}\n\nexport { WattDescriptionListItemComponent, WattDescriptionListComponent };\nexport const WATT_DESCRIPTION_LIST = [\n WattDescriptionListComponent,\n WattDescriptionListItemComponent,\n] as const;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energinet-watt-drawer.js","sourceRoot":"","sources":["../../../../libs/watt/package/drawer/energinet-watt-drawer.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/drawer/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 { WattDrawerTopbarComponent } from './watt-drawer-topbar.component';
|
|
20
|
-
export { WattDrawerActionsComponent } from './watt-drawer-actions.component';
|
|
21
|
-
export { WattDrawerContentComponent } from './watt-drawer-content.component';
|
|
22
|
-
export { WattDrawerHeadingComponent } from './watt-drawer-heading.component';
|
|
23
|
-
export { WattDrawerComponent, WATT_DRAWER } from './watt-drawer.component';
|
|
24
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/watt/package/drawer/index.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAkB,MAAM,yBAAyB,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 { WattDrawerTopbarComponent } from './watt-drawer-topbar.component';\nexport { WattDrawerActionsComponent } from './watt-drawer-actions.component';\nexport { WattDrawerContentComponent } from './watt-drawer-content.component';\nexport { WattDrawerHeadingComponent } from './watt-drawer-heading.component';\nexport { WattDrawerComponent, WATT_DRAWER, WattDrawerSize } from './watt-drawer.component';\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 WattDrawerActionsComponent {
|
|
22
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattDrawerActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: WattDrawerActionsComponent, isStandalone: true, selector: "watt-drawer-actions", ngImport: i0, template: `<ng-content select="watt-button" />`, isInline: true, styles: [":host{display:flex;gap:var(--watt-space-s)}\n"] });
|
|
24
|
-
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattDrawerActionsComponent, decorators: [{
|
|
26
|
-
type: Component,
|
|
27
|
-
args: [{ selector: 'watt-drawer-actions', template: `<ng-content select="watt-button" />`, styles: [":host{display:flex;gap:var(--watt-space-s)}\n"] }]
|
|
28
|
-
}] });
|
|
29
|
-
//# sourceMappingURL=watt-drawer-actions.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-drawer-actions.component.js","sourceRoot":"","sources":["../../../../libs/watt/package/drawer/watt-drawer-actions.component.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;AAY1C,MAAM,OAAO,0BAA0B;wGAA1B,0BAA0B;4FAA1B,0BAA0B,+EAF3B,qCAAqC;;4FAEpC,0BAA0B;kBAVtC,SAAS;+BACE,qBAAqB,YAOrB,qCAAqC","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-drawer-actions',\n styles: `\n :host {\n display: flex;\n gap: var(--watt-space-s);\n }\n `,\n template: `<ng-content select=\"watt-button\" />`,\n})\nexport class WattDrawerActionsComponent {}\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 WattDrawerContentComponent {
|
|
22
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattDrawerContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: WattDrawerContentComponent, isStandalone: true, selector: "watt-drawer-content", ngImport: i0, template: `<ng-content />`, isInline: true, styles: [":host{overflow:auto;padding:var(--watt-space-ml)}\n"] });
|
|
24
|
-
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattDrawerContentComponent, decorators: [{
|
|
26
|
-
type: Component,
|
|
27
|
-
args: [{ selector: 'watt-drawer-content', template: `<ng-content />`, styles: [":host{overflow:auto;padding:var(--watt-space-ml)}\n"] }]
|
|
28
|
-
}] });
|
|
29
|
-
//# sourceMappingURL=watt-drawer-content.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-drawer-content.component.js","sourceRoot":"","sources":["../../../../libs/watt/package/drawer/watt-drawer-content.component.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;AAc1C,MAAM,OAAO,0BAA0B;wGAA1B,0BAA0B;4FAA1B,0BAA0B,+EAV3B,gBAAgB;;4FAUf,0BAA0B;kBAZtC,SAAS;+BACE,qBAAqB,YACrB,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-drawer-content',\n template: `<ng-content />`,\n styles: [\n `\n :host {\n overflow: auto;\n padding: var(--watt-space-ml);\n }\n `,\n ],\n})\nexport class WattDrawerContentComponent {}\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 WattDrawerHeadingComponent {
|
|
22
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattDrawerHeadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: WattDrawerHeadingComponent, isStandalone: true, selector: "watt-drawer-heading", ngImport: i0, template: `<ng-content />`, isInline: true, styles: ["watt-drawer-heading{width:100%;display:block}watt-drawer-heading h1,watt-drawer-heading h2,watt-drawer-heading h3,watt-drawer-heading h4,watt-drawer-heading h5,watt-drawer-heading h6{margin:0;line-height:48px!important}\n"], encapsulation: i0.ViewEncapsulation.None });
|
|
24
|
-
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattDrawerHeadingComponent, decorators: [{
|
|
26
|
-
type: Component,
|
|
27
|
-
args: [{ selector: 'watt-drawer-heading', encapsulation: ViewEncapsulation.None, template: `<ng-content />`, styles: ["watt-drawer-heading{width:100%;display:block}watt-drawer-heading h1,watt-drawer-heading h2,watt-drawer-heading h3,watt-drawer-heading h4,watt-drawer-heading h5,watt-drawer-heading h6{margin:0;line-height:48px!important}\n"] }]
|
|
28
|
-
}] });
|
|
29
|
-
//# sourceMappingURL=watt-drawer-heading.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watt-drawer-heading.component.js","sourceRoot":"","sources":["../../../../libs/watt/package/drawer/watt-drawer-heading.component.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;;;;;;GAeG;AACH,YAAY;AACZ,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;;AAyB7D,MAAM,OAAO,0BAA0B;wGAA1B,0BAA0B;4FAA1B,0BAA0B,+EApB3B,gBAAgB;;4FAoBf,0BAA0B;kBAvBtC,SAAS;+BACE,qBAAqB,iBAChB,iBAAiB,CAAC,IAAI,YAC3B,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, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'watt-drawer-heading',\n encapsulation: ViewEncapsulation.None,\n template: `<ng-content />`,\n styles: [\n `\n watt-drawer-heading {\n width: 100%;\n display: block;\n }\n\n watt-drawer-heading h1,\n watt-drawer-heading h2,\n watt-drawer-heading h3,\n watt-drawer-heading h4,\n watt-drawer-heading h5,\n watt-drawer-heading h6 {\n margin: 0;\n line-height: 48px !important; /* align with actions */\n }\n `,\n ],\n})\nexport class WattDrawerHeadingComponent {}\n"]}
|