@energinet/watt 4.2.15 → 4.2.17
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} +137 -8
- 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
package/core/date/index.d.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
import utc from 'dayjs/plugin/utc';
|
|
2
|
+
import timezone from 'dayjs/plugin/timezone';
|
|
3
|
+
import duration from 'dayjs/plugin/duration';
|
|
4
|
+
import customParseFormat from 'dayjs/plugin/customParseFormat';
|
|
5
|
+
import * as _angular_core from '@angular/core';
|
|
6
|
+
import { PipeTransform } from '@angular/core';
|
|
7
|
+
import { NativeDateAdapter } from '@angular/material/core';
|
|
8
|
+
export { default as dayjs } from 'dayjs';
|
|
9
|
+
|
|
1
10
|
/**
|
|
2
11
|
* @license
|
|
3
12
|
* Copyright 2020 Energinet DataHub A/S
|
|
@@ -14,10 +23,115 @@
|
|
|
14
23
|
* See the License for the specific language governing permissions and
|
|
15
24
|
* limitations under the License.
|
|
16
25
|
*/
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
26
|
+
|
|
27
|
+
type __ngPackagrDayjsTypeScriptWorkaround = typeof utc | typeof timezone | typeof duration | typeof customParseFormat;
|
|
28
|
+
|
|
29
|
+
declare const danishDatetimeProviders: _angular_core.EnvironmentProviders;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @license
|
|
33
|
+
* Copyright 2020 Energinet DataHub A/S
|
|
34
|
+
*
|
|
35
|
+
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
36
|
+
* you may not use this file except in compliance with the License.
|
|
37
|
+
* You may obtain a copy of the License at
|
|
38
|
+
*
|
|
39
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
40
|
+
*
|
|
41
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
42
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
43
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
44
|
+
* See the License for the specific language governing permissions and
|
|
45
|
+
* limitations under the License.
|
|
46
|
+
*/
|
|
47
|
+
|
|
48
|
+
type WattSupportedLocales = 'da' | 'en';
|
|
49
|
+
declare class WattDateAdapter extends NativeDateAdapter {
|
|
50
|
+
setActiveLocale(language: WattSupportedLocales): void;
|
|
51
|
+
/**
|
|
52
|
+
* This is necessary to remove the dots from the date (ordinals) for danish locale in the calendar view.
|
|
53
|
+
* due to `Intl.DateTimeFormat`
|
|
54
|
+
*/
|
|
55
|
+
getDateNames(): string[];
|
|
56
|
+
/**
|
|
57
|
+
* Our week starts on Monday
|
|
58
|
+
* @returns 0 for Sunday, 1 for Monday, etc.
|
|
59
|
+
*/
|
|
60
|
+
getFirstDayOfWeek(): number;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @license
|
|
65
|
+
* Copyright 2020 Energinet DataHub A/S
|
|
66
|
+
*
|
|
67
|
+
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
68
|
+
* you may not use this file except in compliance with the License.
|
|
69
|
+
* You may obtain a copy of the License at
|
|
70
|
+
*
|
|
71
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
72
|
+
*
|
|
73
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
74
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
75
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
76
|
+
* See the License for the specific language governing permissions and
|
|
77
|
+
* limitations under the License.
|
|
78
|
+
*/
|
|
79
|
+
interface WattRange<T> {
|
|
80
|
+
start: T;
|
|
81
|
+
end: T | null;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* This is included for legacy reasons, components should return Date objects instead of strings.
|
|
85
|
+
* @deprecated Avoid using strings as dates, use Date objects instead.
|
|
86
|
+
*/
|
|
87
|
+
type WattDateRange = WattRange<string>;
|
|
88
|
+
|
|
89
|
+
declare const formatStrings: {
|
|
90
|
+
monthYear: string;
|
|
91
|
+
short: string;
|
|
92
|
+
shortAbbr: string;
|
|
93
|
+
long: string;
|
|
94
|
+
longAbbr: string;
|
|
95
|
+
time: string;
|
|
96
|
+
longAbbrWithSeconds: string;
|
|
97
|
+
};
|
|
98
|
+
declare function wattFormatDate(input?: WattRange<Date> | WattRange<string> | Date | string | number | null, format?: keyof typeof formatStrings, timeZone?: string): string | null;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @license
|
|
102
|
+
* Copyright 2020 Energinet DataHub A/S
|
|
103
|
+
*
|
|
104
|
+
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
105
|
+
* you may not use this file except in compliance with the License.
|
|
106
|
+
* You may obtain a copy of the License at
|
|
107
|
+
*
|
|
108
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
109
|
+
*
|
|
110
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
111
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
112
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
113
|
+
* See the License for the specific language governing permissions and
|
|
114
|
+
* limitations under the License.
|
|
115
|
+
*/
|
|
116
|
+
|
|
117
|
+
declare class WattDatePipe implements PipeTransform {
|
|
118
|
+
/**
|
|
119
|
+
* @param input WattDateRange or string in ISO 8601 format or unix timestamp number
|
|
120
|
+
*/
|
|
121
|
+
transform(input?: WattRange<Date> | WattRange<string> | Date | string | number | null, format?: keyof typeof formatStrings, timeZone?: string): string | null;
|
|
122
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WattDatePipe, never>;
|
|
123
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<WattDatePipe, "wattDate", true>;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
declare class WattLocaleService {
|
|
127
|
+
private readonly dateAdapter;
|
|
128
|
+
locale: _angular_core.WritableSignal<WattSupportedLocales>;
|
|
129
|
+
isDanish: _angular_core.Signal<boolean>;
|
|
130
|
+
isEnglish: _angular_core.Signal<boolean>;
|
|
131
|
+
setActiveLocale(locale: WattSupportedLocales): Promise<void>;
|
|
132
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WattLocaleService, never>;
|
|
133
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<WattLocaleService>;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export { WattDateAdapter, WattDatePipe, WattLocaleService, danishDatetimeProviders, wattFormatDate };
|
|
137
|
+
export type { WattDateRange, WattRange, WattSupportedLocales, __ngPackagrDayjsTypeScriptWorkaround };
|
package/data/index.d.ts
CHANGED
|
@@ -1,20 +1,61 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
*
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { PageEvent } from '@angular/material/paginator';
|
|
4
|
+
import { WATT_CARD_VARIANT } from '@energinet/watt/card';
|
|
5
|
+
import { WattSearchComponent } from '@energinet/watt/search';
|
|
6
|
+
import { WattTableComponent } from '@energinet/watt/table';
|
|
7
|
+
|
|
8
|
+
declare class WattDataFiltersComponent {
|
|
9
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WattDataFiltersComponent, never>;
|
|
10
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WattDataFiltersComponent, "watt-data-filters", never, {}, {}, never, ["*"], true, never>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare class WattDataActionsComponent {
|
|
14
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WattDataActionsComponent, never>;
|
|
15
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WattDataActionsComponent, "watt-data-actions", never, {}, {}, never, ["*"], true, never>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare class WattDataIntlService {
|
|
19
|
+
readonly changes: Subject<void>;
|
|
20
|
+
search: string;
|
|
21
|
+
emptyTitle: string;
|
|
22
|
+
emptyText: string;
|
|
23
|
+
emptyRetry: string;
|
|
24
|
+
errorTitle: string;
|
|
25
|
+
errorText: string;
|
|
26
|
+
defaultTitle: string;
|
|
27
|
+
defaultText: string;
|
|
28
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WattDataIntlService, never>;
|
|
29
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<WattDataIntlService>;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
declare class WattDataTableComponent {
|
|
33
|
+
intl: WattDataIntlService;
|
|
34
|
+
error: _angular_core.InputSignal<unknown>;
|
|
35
|
+
ready: _angular_core.InputSignal<boolean>;
|
|
36
|
+
enableSearch: _angular_core.InputSignal<boolean>;
|
|
37
|
+
trimSearch: _angular_core.InputSignal<boolean>;
|
|
38
|
+
header: _angular_core.InputSignal<boolean>;
|
|
39
|
+
enableRetry: _angular_core.InputSignal<boolean>;
|
|
40
|
+
enableCount: _angular_core.InputSignal<boolean>;
|
|
41
|
+
enableEmptyState: _angular_core.InputSignal<boolean>;
|
|
42
|
+
queryTime: _angular_core.InputSignal<number | undefined>;
|
|
43
|
+
searchLabel: _angular_core.InputSignal<string | undefined>;
|
|
44
|
+
enablePaginator: _angular_core.InputSignal<boolean>;
|
|
45
|
+
pageSize: _angular_core.InputSignal<number>;
|
|
46
|
+
count: _angular_core.InputSignal<number | undefined>;
|
|
47
|
+
autoSize: _angular_core.InputSignal<boolean>;
|
|
48
|
+
variant: _angular_core.InputSignal<WATT_CARD_VARIANT>;
|
|
49
|
+
emptyStateIcon: _angular_core.InputSignal<"search" | "filter" | "plus" | "minus" | "edit" | "redo" | "undo" | "remove" | "removeForever" | "close" | "cancel" | "checkmark" | "user" | "settings" | "contentCopy" | "date" | "time" | "email" | "markEmailUnread" | "link" | "openInNew" | "monetization" | "payments" | "forwardMessage" | "forward" | "menu" | "moreVertical" | "logout" | "login" | "help" | "alternateEmail" | "refresh" | "language" | "pendingActions" | "toggleOn" | "toggleOff" | "personCheck" | "send" | "left" | "right" | "up" | "down" | "arrowDropDown" | "arrowRightAlt" | "arrowLeftAlt" | "danger" | "warning" | "success" | "info" | "feedback" | "save" | "upload" | "download" | "fileDownload" | "fileUpload" | "print" | "preview" | "attachFile" | "power" | "location" | "smartDisplay" | "windmill" | "solarPower" | "priorityHigh" | "notifications" | "notificationsUnread" | "horizontalRule" | "wrongLocation" | "heatPump" | "inventory" | "globe" | "calculate" | "bar_chart_4_bars" | "view_list" | "view_stream" | "construction" | "factory" | "nest_eco_leaf" | "flash_on" | "custom-power" | "custom-explore" | "custom-no-results">;
|
|
50
|
+
clear: _angular_core.OutputEmitterRef<void>;
|
|
51
|
+
pageChanged: _angular_core.OutputEmitterRef<PageEvent>;
|
|
52
|
+
retry: _angular_core.OutputEmitterRef<void>;
|
|
53
|
+
table: _angular_core.Signal<WattTableComponent<any>>;
|
|
54
|
+
search: _angular_core.Signal<WattSearchComponent | undefined>;
|
|
55
|
+
reset: () => void | undefined;
|
|
56
|
+
onSearch(value: string): void;
|
|
57
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WattDataTableComponent, never>;
|
|
58
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WattDataTableComponent, "watt-data-table", never, { "error": { "alias": "error"; "required": false; "isSignal": true; }; "ready": { "alias": "ready"; "required": false; "isSignal": true; }; "enableSearch": { "alias": "enableSearch"; "required": false; "isSignal": true; }; "trimSearch": { "alias": "trimSearch"; "required": false; "isSignal": true; }; "header": { "alias": "header"; "required": false; "isSignal": true; }; "enableRetry": { "alias": "enableRetry"; "required": false; "isSignal": true; }; "enableCount": { "alias": "enableCount"; "required": false; "isSignal": true; }; "enableEmptyState": { "alias": "enableEmptyState"; "required": false; "isSignal": true; }; "queryTime": { "alias": "queryTime"; "required": false; "isSignal": true; }; "searchLabel": { "alias": "searchLabel"; "required": false; "isSignal": true; }; "enablePaginator": { "alias": "enablePaginator"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "count": { "alias": "count"; "required": false; "isSignal": true; }; "autoSize": { "alias": "autoSize"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "emptyStateIcon": { "alias": "emptyStateIcon"; "required": false; "isSignal": true; }; }, { "clear": "clear"; "pageChanged": "pageChanged"; "retry": "retry"; }, ["table"], ["h3", "h4", "*", "watt-data-actions", "watt-button", "watt-data-filters", "watt-table"], true, never>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export { WattDataActionsComponent, WattDataFiltersComponent, WattDataIntlService, WattDataTableComponent };
|
|
@@ -1,17 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
* @
|
|
3
|
-
*
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import * as rxjs from 'rxjs';
|
|
2
|
+
import * as _maskito_core from '@maskito/core';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
4
|
+
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
5
|
+
|
|
6
|
+
declare class WattDateTimeField implements ControlValueAccessor {
|
|
7
|
+
private locale;
|
|
8
|
+
private static instance;
|
|
9
|
+
private instance;
|
|
10
|
+
protected anchorName: string;
|
|
11
|
+
/** Converts date from outer FormControl to format of inner FormControl. */
|
|
12
|
+
protected modelToView: (value: Date | null, format?: string) => string;
|
|
13
|
+
/** Converts value of inner FormControl to type of outer FormControl. */
|
|
14
|
+
protected viewToModel: (value: string) => Date | null;
|
|
15
|
+
private calendar;
|
|
16
|
+
protected control: FormControl<string>;
|
|
17
|
+
private valueChanges;
|
|
18
|
+
/** Set the label text for `watt-field`. */
|
|
19
|
+
label: _angular_core.InputSignal<string>;
|
|
20
|
+
/** The minimum selectable date. */
|
|
21
|
+
min: _angular_core.InputSignal<Date | undefined>;
|
|
22
|
+
/** The maximum selectable date. */
|
|
23
|
+
max: _angular_core.InputSignal<Date | undefined>;
|
|
24
|
+
/** When true, seconds will be set to 59 and milliseconds to 999. Otherwise, both are 0. */
|
|
25
|
+
inclusive: _angular_core.InputSignal<boolean>;
|
|
26
|
+
/** Emits when the selected date has changed. */
|
|
27
|
+
dateChange: _angular_core.OutputRef<Date | null>;
|
|
28
|
+
/** Emits when the field loses focus. */
|
|
29
|
+
blur: _angular_core.OutputEmitterRef<FocusEvent>;
|
|
30
|
+
protected selected: _angular_core.WritableSignal<Date | null>;
|
|
31
|
+
protected placeholder: _angular_core.Signal<"dd-mm-åååå, tt:mm" | "dd-mm-yyyy, hh:mm">;
|
|
32
|
+
protected mask: _angular_core.Signal<Required<_maskito_core.MaskitoOptions>>;
|
|
33
|
+
protected handleBlur: (picker: HTMLElement, event: FocusEvent) => void;
|
|
34
|
+
protected handleSelectedChange: (field: HTMLInputElement, picker: HTMLDivElement, date: Date) => void;
|
|
35
|
+
constructor();
|
|
36
|
+
writeValue: (value: Date | null) => void;
|
|
37
|
+
setDisabledState: (x: boolean) => void;
|
|
38
|
+
registerOnTouched: (fn: () => void) => _angular_core.OutputRefSubscription;
|
|
39
|
+
registerOnChange: (fn: (value: Date | null) => void) => rxjs.Subscription;
|
|
40
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WattDateTimeField, never>;
|
|
41
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WattDateTimeField, "watt-datetime-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "inclusive": { "alias": "inclusive"; "required": false; "isSignal": true; }; }, { "dateChange": "dateChange"; "blur": "blur"; }, never, ["*", "watt-field-error", "watt-field-warning", "watt-field-hint"], true, never>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { WattDateTimeField };
|
|
@@ -1,17 +1,32 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
|
|
5
|
+
declare class WattDescriptionListItemComponent<T> {
|
|
6
|
+
templateRef: _angular_core.Signal<TemplateRef<unknown>>;
|
|
7
|
+
label: _angular_core.InputSignal<string>;
|
|
8
|
+
value: _angular_core.InputSignal<T | null>;
|
|
9
|
+
forceNewRow: _angular_core.InputSignal<boolean>;
|
|
10
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WattDescriptionListItemComponent<any>, never>;
|
|
11
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WattDescriptionListItemComponent<any>, "watt-description-list-item", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "forceNewRow": { "alias": "forceNewRow"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgClass; inputs: {}; outputs: {}; }]>;
|
|
12
|
+
}
|
|
13
|
+
|
|
1
14
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
15
|
+
* Usage:
|
|
16
|
+
* `import { WattDescriptionListComponent } from '@energinet/watt/description-list';`
|
|
16
17
|
*/
|
|
17
|
-
|
|
18
|
+
declare class WattDescriptionListComponent<T> {
|
|
19
|
+
private ngClass;
|
|
20
|
+
descriptionItems: _angular_core.Signal<readonly WattDescriptionListItemComponent<T>[]>;
|
|
21
|
+
variant: _angular_core.InputSignal<"flow" | "inline-flow" | "stack" | "compact">;
|
|
22
|
+
descriptionVariant: _angular_core.Signal<string>;
|
|
23
|
+
groupsPerRow: _angular_core.InputSignal<number>;
|
|
24
|
+
itemSeparators: _angular_core.InputSignal<boolean>;
|
|
25
|
+
constructor();
|
|
26
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WattDescriptionListComponent<any>, never>;
|
|
27
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WattDescriptionListComponent<any>, "watt-description-list", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "groupsPerRow": { "alias": "groupsPerRow"; "required": false; "isSignal": true; }; "itemSeparators": { "alias": "itemSeparators"; "required": false; "isSignal": true; }; }, {}, ["descriptionItems"], never, true, [{ directive: typeof i1.NgClass; inputs: {}; outputs: {}; }]>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare const WATT_DESCRIPTION_LIST: readonly [typeof WattDescriptionListComponent, typeof WattDescriptionListItemComponent];
|
|
31
|
+
|
|
32
|
+
export { WATT_DESCRIPTION_LIST, WattDescriptionListComponent, WattDescriptionListItemComponent };
|
package/drawer/index.d.ts
CHANGED
|
@@ -1,21 +1,73 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnDestroy } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class WattDrawerTopbarComponent {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WattDrawerTopbarComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WattDrawerTopbarComponent, "watt-drawer-topbar", never, {}, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare class WattDrawerActionsComponent {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WattDrawerActionsComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WattDrawerActionsComponent, "watt-drawer-actions", never, {}, {}, never, ["watt-button"], true, never>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare class WattDrawerContentComponent {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WattDrawerContentComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WattDrawerContentComponent, "watt-drawer-content", never, {}, {}, never, ["*"], true, never>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
declare class WattDrawerHeadingComponent {
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WattDrawerHeadingComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WattDrawerHeadingComponent, "watt-drawer-heading", never, {}, {}, never, ["*"], true, never>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type WattDrawerSize = 'small' | 'normal' | 'large';
|
|
25
|
+
declare class WattDrawerComponent implements OnDestroy {
|
|
26
|
+
private elementRef;
|
|
27
|
+
private overlayContainer;
|
|
28
|
+
private content;
|
|
29
|
+
private heading;
|
|
30
|
+
private topBar;
|
|
31
|
+
private cdkTrapFocus;
|
|
32
|
+
private bypassClickCheck;
|
|
33
|
+
private writableIsOpen;
|
|
34
|
+
private static currentDrawer?;
|
|
35
|
+
/** Used to adjust drawer size to best fit the content. */
|
|
36
|
+
size: i0.InputSignal<WattDrawerSize>;
|
|
37
|
+
/**
|
|
38
|
+
* Whether the drawer should open automatically. If `key` is provided and
|
|
39
|
+
* `autoOpen` is true, the drawer will open every time the key changes.
|
|
40
|
+
*/
|
|
41
|
+
autoOpen: i0.InputSignalWithTransform<boolean, unknown>;
|
|
42
|
+
/**
|
|
43
|
+
* Used to track the current drawer when reusing the same drawer instance to
|
|
44
|
+
* render different content. This is required when interactions outside the
|
|
45
|
+
* drawer should result in updating the drawer's content instead of closing it.
|
|
46
|
+
*/
|
|
47
|
+
key: i0.InputSignal<unknown>;
|
|
48
|
+
/** Whether the drawer should show a loading state. */
|
|
49
|
+
loading: i0.InputSignal<boolean>;
|
|
50
|
+
/** Adds a brief animation to indicate that the content has changed. */
|
|
51
|
+
animateOnKeyChange: i0.InputSignal<boolean>;
|
|
52
|
+
/** Emits whenever the drawer is fully closed. */
|
|
53
|
+
closed: i0.OutputEmitterRef<void>;
|
|
54
|
+
/** Whether the drawer is open. */
|
|
55
|
+
isOpen: i0.Signal<boolean>;
|
|
56
|
+
constructor();
|
|
57
|
+
/** @ignore */
|
|
58
|
+
handleDocumentClick(event: MouseEvent): void;
|
|
59
|
+
/** @ignore */
|
|
60
|
+
handleEscKeyPressed(): void;
|
|
61
|
+
/** @ignore */
|
|
62
|
+
ngOnDestroy(): void;
|
|
63
|
+
/** Opens the drawer. Subsequent calls are ignored while the drawer is opened. */
|
|
64
|
+
open(): void;
|
|
65
|
+
/** Closes the drawer. */
|
|
66
|
+
close(): void;
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WattDrawerComponent, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WattDrawerComponent, "watt-drawer", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "autoOpen": { "alias": "autoOpen"; "required": false; "isSignal": true; }; "key": { "alias": "key"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "animateOnKeyChange": { "alias": "animateOnKeyChange"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, ["content", "heading", "topBar"], ["watt-drawer-topbar", "watt-drawer-heading", "watt-drawer-actions", "*", "watt-drawer-content"], true, never>;
|
|
69
|
+
}
|
|
70
|
+
declare const WATT_DRAWER: (typeof WattDrawerTopbarComponent)[];
|
|
71
|
+
|
|
72
|
+
export { WATT_DRAWER, WattDrawerActionsComponent, WattDrawerComponent, WattDrawerContentComponent, WattDrawerHeadingComponent, WattDrawerTopbarComponent };
|
|
73
|
+
export type { WattDrawerSize };
|
package/dropdown/index.d.ts
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import * as rxjs from 'rxjs';
|
|
4
|
+
import { ReplaySubject } from 'rxjs';
|
|
5
|
+
import { ControlValueAccessor, FormControl, UntypedFormControl } from '@angular/forms';
|
|
6
|
+
import { MatSelect } from '@angular/material/select';
|
|
7
|
+
|
|
1
8
|
/**
|
|
2
9
|
* @license
|
|
3
10
|
* Copyright 2020 Energinet DataHub A/S
|
|
@@ -14,6 +21,147 @@
|
|
|
14
21
|
* See the License for the specific language governing permissions and
|
|
15
22
|
* limitations under the License.
|
|
16
23
|
*/
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
24
|
+
type WattDropdownValue = string | string[] | null;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @license
|
|
28
|
+
* Copyright 2020 Energinet DataHub A/S
|
|
29
|
+
*
|
|
30
|
+
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
31
|
+
* you may not use this file except in compliance with the License.
|
|
32
|
+
* You may obtain a copy of the License at
|
|
33
|
+
*
|
|
34
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
35
|
+
*
|
|
36
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
37
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
38
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
39
|
+
* See the License for the specific language governing permissions and
|
|
40
|
+
* limitations under the License.
|
|
41
|
+
*/
|
|
42
|
+
interface WattDropdownOption<T = string> {
|
|
43
|
+
value: T;
|
|
44
|
+
displayValue: string;
|
|
45
|
+
disabled?: boolean;
|
|
46
|
+
}
|
|
47
|
+
interface WattDropdownOptionGroup<T = string> {
|
|
48
|
+
label: string;
|
|
49
|
+
options: WattDropdownOption<T>[];
|
|
50
|
+
disabled?: boolean;
|
|
51
|
+
}
|
|
52
|
+
type WattDropdownOptions<T = string> = WattDropdownOption<T>[];
|
|
53
|
+
type WattDropdownGroupedOptions<T = string> = WattDropdownOptionGroup<T>[];
|
|
54
|
+
|
|
55
|
+
declare class WattDropdownComponent<T = string> implements ControlValueAccessor, OnInit {
|
|
56
|
+
private parentControlDirective;
|
|
57
|
+
private destroyRef;
|
|
58
|
+
private validateParent?;
|
|
59
|
+
private validateParentAsync?;
|
|
60
|
+
private _options;
|
|
61
|
+
private _groupedOptions;
|
|
62
|
+
parentControl: FormControl | null;
|
|
63
|
+
matSelectControl: FormControl<string | string[] | null | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* Control for the MatSelect filter keyword
|
|
66
|
+
*/
|
|
67
|
+
filterControl: UntypedFormControl;
|
|
68
|
+
/**
|
|
69
|
+
* List of options filtered by search keyword
|
|
70
|
+
*/
|
|
71
|
+
filteredOptions$: ReplaySubject<WattDropdownOptions>;
|
|
72
|
+
/**
|
|
73
|
+
* List of grouped options filtered by search keyword
|
|
74
|
+
*/
|
|
75
|
+
filteredGroupedOptions$: ReplaySubject<WattDropdownGroupedOptions>;
|
|
76
|
+
mergedFilteredOptions$: rxjs.Observable<string[]>;
|
|
77
|
+
emDash: string;
|
|
78
|
+
isToggleAllChecked: boolean;
|
|
79
|
+
isToggleAllIndeterminate: boolean;
|
|
80
|
+
isDisabled: _angular_core.WritableSignal<boolean>;
|
|
81
|
+
get showTriggerValue(): boolean;
|
|
82
|
+
get showChipLabel(): boolean;
|
|
83
|
+
matSelect: _angular_core.Signal<MatSelect | undefined>;
|
|
84
|
+
hideSearch: _angular_core.InputSignal<boolean>;
|
|
85
|
+
panelWidth: _angular_core.InputSignal<"auto" | null>;
|
|
86
|
+
getCustomTrigger: _angular_core.InputSignal<((value: string | string[]) => string) | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* Set the mode of the dropdown.
|
|
89
|
+
*/
|
|
90
|
+
chipMode: _angular_core.InputSignal<boolean>;
|
|
91
|
+
disableSelectedMode: _angular_core.InputSignal<boolean>;
|
|
92
|
+
sortDirection: _angular_core.InputSignal<"asc" | "desc" | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* Sets the options for the dropdown.
|
|
95
|
+
* Can be a flat array of options or an array containing both options and option groups.
|
|
96
|
+
*/
|
|
97
|
+
options: _angular_core.ModelSignal<WattDropdownOptions<T> | WattDropdownGroupedOptions<T>>;
|
|
98
|
+
/**
|
|
99
|
+
* Sets support for selecting multiple dropdown options.
|
|
100
|
+
*/
|
|
101
|
+
multiple: _angular_core.InputSignal<boolean>;
|
|
102
|
+
/**
|
|
103
|
+
* Sets support for hiding the reset option in "single" select mode.
|
|
104
|
+
*/
|
|
105
|
+
showResetOption: _angular_core.InputSignal<boolean>;
|
|
106
|
+
/**
|
|
107
|
+
* Sets the placeholder for the dropdown.
|
|
108
|
+
*/
|
|
109
|
+
placeholder: _angular_core.InputSignal<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Sets the label for the dropdown.
|
|
112
|
+
*/
|
|
113
|
+
label: _angular_core.InputSignal<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Label to be shown when no options are found after filtering.
|
|
116
|
+
*
|
|
117
|
+
* Note: The label is visible in "multiple" mode only.
|
|
118
|
+
*/
|
|
119
|
+
noOptionsFoundLabel: _angular_core.InputSignal<string>;
|
|
120
|
+
hasGroups: _angular_core.Signal<boolean>;
|
|
121
|
+
constructor();
|
|
122
|
+
private handleFlat;
|
|
123
|
+
private handleGroup;
|
|
124
|
+
private processGroupedOptions;
|
|
125
|
+
ngOnInit(): void;
|
|
126
|
+
writeValue(value: WattDropdownValue): void;
|
|
127
|
+
registerOnChange(onChangeFn: (value: WattDropdownValue) => void): void;
|
|
128
|
+
registerOnTouched(onTouchFn: () => void): void;
|
|
129
|
+
setDisabledState(shouldDisable: boolean): void;
|
|
130
|
+
onToggleAll(toggleAllState: boolean): void;
|
|
131
|
+
sortOptions(options: WattDropdownOptions): WattDropdownOptions;
|
|
132
|
+
private listenForFilterFieldValueChanges;
|
|
133
|
+
private changeParentValue;
|
|
134
|
+
private markParentControlAsTouched;
|
|
135
|
+
/**
|
|
136
|
+
* @ignore
|
|
137
|
+
*
|
|
138
|
+
* Store the parent control, its validators and async validators in properties
|
|
139
|
+
* of this component.
|
|
140
|
+
*/
|
|
141
|
+
private initializePropertiesFromParent;
|
|
142
|
+
/**
|
|
143
|
+
* @ignore
|
|
144
|
+
*
|
|
145
|
+
* Inherit validators from parent form control.
|
|
146
|
+
*/
|
|
147
|
+
private bindParentValidatorsToControl;
|
|
148
|
+
/**
|
|
149
|
+
* @ignore
|
|
150
|
+
*
|
|
151
|
+
* Emit values to the parent form control when our form control's value
|
|
152
|
+
* changes.
|
|
153
|
+
*
|
|
154
|
+
* Reflect parent validation errors in our form control.
|
|
155
|
+
*/
|
|
156
|
+
private bindControlToParent;
|
|
157
|
+
private handleStatusChange;
|
|
158
|
+
private handleValueChange;
|
|
159
|
+
private filterOptions;
|
|
160
|
+
private filterGroups;
|
|
161
|
+
private determineToggleAllCheckboxState;
|
|
162
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WattDropdownComponent<any>, never>;
|
|
163
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WattDropdownComponent<any>, "watt-dropdown", never, { "hideSearch": { "alias": "hideSearch"; "required": false; "isSignal": true; }; "panelWidth": { "alias": "panelWidth"; "required": false; "isSignal": true; }; "getCustomTrigger": { "alias": "getCustomTrigger"; "required": false; "isSignal": true; }; "chipMode": { "alias": "chipMode"; "required": false; "isSignal": true; }; "disableSelectedMode": { "alias": "disableSelectedMode"; "required": false; "isSignal": true; }; "sortDirection": { "alias": "sortDirection"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "showResetOption": { "alias": "showResetOption"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "noOptionsFoundLabel": { "alias": "noOptionsFoundLabel"; "required": false; "isSignal": true; }; }, { "options": "optionsChange"; }, never, ["*", "watt-field-hint", "watt-field-error"], true, never>;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export { WattDropdownComponent };
|
|
167
|
+
export type { WattDropdownGroupedOptions, WattDropdownOption, WattDropdownOptionGroup, WattDropdownOptions, WattDropdownValue };
|