@energinet/watt 4.2.15-alpha.0 → 4.2.15
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/energinet-watt-badge.d.ts +5 -0
- package/badge/index.d.ts +17 -0
- package/badge/watt-badge.component.d.ts +15 -0
- package/breadcrumbs/energinet-watt-breadcrumbs.d.ts +5 -0
- package/breadcrumbs/index.d.ts +17 -0
- package/{types/energinet-watt-breadcrumbs.d.ts → breadcrumbs/watt-breadcrumbs.component.d.ts} +7 -10
- package/button/energinet-watt-button.d.ts +5 -0
- package/button/index.d.ts +17 -0
- package/button/watt-button.component.d.ts +22 -0
- package/card/energinet-watt-card.d.ts +5 -0
- package/card/index.d.ts +18 -0
- package/card/watt-card-title.component.d.ts +6 -0
- package/card/watt-card.component.d.ts +15 -0
- package/checkbox/energinet-watt-checkbox.d.ts +5 -0
- package/checkbox/index.d.ts +17 -0
- package/checkbox/watt-checkbox.component.d.ts +17 -0
- package/chip/energinet-watt-chip.d.ts +5 -0
- package/chip/index.d.ts +23 -0
- package/chip/watt-action-chip.component.d.ts +8 -0
- package/chip/watt-chip.component.d.ts +8 -0
- package/chip/watt-chip.directive.d.ts +16 -0
- package/chip/watt-date-chip.component.d.ts +12 -0
- package/chip/watt-date-range-chip.component.d.ts +50 -0
- package/chip/watt-filter-chip.component.d.ts +13 -0
- package/chip/watt-menu-chip.component.d.ts +13 -0
- package/clipboard/energinet-watt-clipboard.d.ts +5 -0
- package/clipboard/index.d.ts +18 -0
- package/clipboard/watt-clipboard-intl.service.d.ts +7 -0
- package/clipboard/watt-copy-to-clipboard.directive.d.ts +12 -0
- package/code/energinet-watt-code.d.ts +5 -0
- package/code/index.d.ts +19 -0
- package/code/watt-code-intl.service.d.ts +6 -0
- package/code/watt-code.component.d.ts +45 -0
- package/code/watt-code.worker.token.d.ts +18 -0
- package/core/breakpoints/breakpoints-observer.d.ts +21 -0
- package/{types/energinet-watt-core-breakpoints.d.ts → core/breakpoints/breakpoints.d.ts} +2 -27
- package/core/breakpoints/energinet-watt-core-breakpoints.d.ts +5 -0
- package/core/breakpoints/index.d.ts +18 -0
- package/core/color/color-helper.service.d.ts +10 -0
- package/{types/energinet-watt-core-color.d.ts → core/color/colors.d.ts} +2 -15
- package/core/color/energinet-watt-core-color.d.ts +5 -0
- package/{types/energinet-watt.d.ts → core/color/index.d.ts} +2 -3
- package/core/date/dayjs.d.ts +22 -0
- package/core/date/energinet-watt-core-date.d.ts +5 -0
- package/core/date/index.d.ts +23 -0
- package/core/date/watt-danish-datetime.providers.d.ts +1 -0
- package/core/date/watt-date-adapter.d.ts +31 -0
- package/core/date/watt-date-range.d.ts +25 -0
- package/core/date/watt-date.pipe.d.ts +28 -0
- package/core/date/watt-format-date.d.ts +11 -0
- package/core/date/watt-locale.service.d.ts +11 -0
- package/data/energinet-watt-data.d.ts +5 -0
- package/data/index.d.ts +20 -0
- package/data/watt-data-actions.component.d.ts +5 -0
- package/data/watt-data-filters.component.d.ts +5 -0
- package/data/watt-data-intl.service.d.ts +15 -0
- package/data/watt-data-table.component.d.ts +34 -0
- package/datetime-field/energinet-watt-datetime-field.d.ts +5 -0
- package/datetime-field/index.d.ts +17 -0
- package/datetime-field/watt-datetime-field.component.d.ts +39 -0
- package/description-list/energinet-watt-description-list.d.ts +5 -0
- package/description-list/index.d.ts +17 -0
- package/description-list/watt-description-list-item.component.d.ts +27 -0
- package/description-list/watt-description-list.component.d.ts +20 -0
- package/drawer/energinet-watt-drawer.d.ts +5 -0
- package/drawer/index.d.ts +21 -0
- package/drawer/watt-drawer-actions.component.d.ts +5 -0
- package/drawer/watt-drawer-content.component.d.ts +5 -0
- package/drawer/watt-drawer-heading.component.d.ts +5 -0
- package/drawer/watt-drawer-topbar.component.d.ts +5 -0
- package/{types/energinet-watt-drawer.d.ts → drawer/watt-drawer.component.d.ts} +28 -35
- package/dropdown/energinet-watt-dropdown.d.ts +5 -0
- package/dropdown/index.d.ts +19 -0
- package/dropdown/watt-dropdown-option.d.ts +28 -0
- package/dropdown/watt-dropdown-value.d.ts +17 -0
- package/dropdown/watt-dropdown.component.d.ts +133 -0
- package/dropzone/energinet-watt-dropzone.d.ts +5 -0
- package/dropzone/index.d.ts +19 -0
- package/dropzone/watt-dropzone-intl.d.ts +11 -0
- package/dropzone/watt-dropzone-validators.d.ts +27 -0
- package/dropzone/watt-dropzone.d.ts +31 -0
- package/empty-state/energinet-watt-empty-state.d.ts +5 -0
- package/empty-state/icons/explore.d.ts +5 -0
- package/empty-state/icons/no-results.d.ts +5 -0
- package/empty-state/icons/not-found.d.ts +5 -0
- package/empty-state/icons/power.d.ts +5 -0
- package/empty-state/index.d.ts +21 -0
- package/empty-state/watt-empty-state.component.d.ts +16 -0
- package/energinet-watt.d.ts +5 -0
- package/esm2022/badge/energinet-watt-badge.js +5 -0
- package/esm2022/badge/energinet-watt-badge.js.map +1 -0
- package/esm2022/badge/index.js +20 -0
- package/esm2022/badge/index.js.map +1 -0
- package/{fesm2022/energinet-watt-badge.mjs → esm2022/badge/watt-badge.component.js} +4 -30
- package/esm2022/badge/watt-badge.component.js.map +1 -0
- package/esm2022/breadcrumbs/energinet-watt-breadcrumbs.js +5 -0
- package/esm2022/breadcrumbs/energinet-watt-breadcrumbs.js.map +1 -0
- package/esm2022/breadcrumbs/index.js +20 -0
- package/esm2022/breadcrumbs/index.js.map +1 -0
- package/{fesm2022/energinet-watt-breadcrumbs.mjs → esm2022/breadcrumbs/watt-breadcrumbs.component.js} +10 -36
- package/esm2022/breadcrumbs/watt-breadcrumbs.component.js.map +1 -0
- package/esm2022/button/energinet-watt-button.js +5 -0
- package/esm2022/button/energinet-watt-button.js.map +1 -0
- package/esm2022/button/index.js +20 -0
- package/esm2022/button/index.js.map +1 -0
- package/{fesm2022/energinet-watt-button.mjs → esm2022/button/watt-button.component.js} +9 -35
- package/esm2022/button/watt-button.component.js.map +1 -0
- package/esm2022/card/energinet-watt-card.js +5 -0
- package/esm2022/card/energinet-watt-card.js.map +1 -0
- package/esm2022/card/index.js +21 -0
- package/esm2022/card/index.js.map +1 -0
- package/esm2022/card/watt-card-title.component.js +33 -0
- package/esm2022/card/watt-card-title.component.js.map +1 -0
- package/{fesm2022/energinet-watt-card.mjs → esm2022/card/watt-card.component.js} +7 -63
- package/esm2022/card/watt-card.component.js.map +1 -0
- package/esm2022/checkbox/energinet-watt-checkbox.js +5 -0
- package/esm2022/checkbox/energinet-watt-checkbox.js.map +1 -0
- package/esm2022/checkbox/index.js +20 -0
- package/esm2022/checkbox/index.js.map +1 -0
- package/{fesm2022/energinet-watt-checkbox.mjs → esm2022/checkbox/watt-checkbox.component.js} +6 -32
- package/esm2022/checkbox/watt-checkbox.component.js.map +1 -0
- package/esm2022/chip/energinet-watt-chip.js +5 -0
- package/esm2022/chip/energinet-watt-chip.js.map +1 -0
- package/esm2022/chip/index.js +26 -0
- package/esm2022/chip/index.js.map +1 -0
- package/esm2022/chip/watt-action-chip.component.js +68 -0
- package/esm2022/chip/watt-action-chip.component.js.map +1 -0
- package/esm2022/chip/watt-chip.component.js +55 -0
- package/esm2022/chip/watt-chip.component.js.map +1 -0
- package/esm2022/chip/watt-chip.directive.js +92 -0
- package/esm2022/chip/watt-chip.directive.js.map +1 -0
- package/esm2022/chip/watt-date-chip.component.js +104 -0
- package/esm2022/chip/watt-date-chip.component.js.map +1 -0
- package/esm2022/chip/watt-date-range-chip.component.js +213 -0
- package/esm2022/chip/watt-date-range-chip.component.js.map +1 -0
- package/esm2022/chip/watt-filter-chip.component.js +82 -0
- package/esm2022/chip/watt-filter-chip.component.js.map +1 -0
- package/esm2022/chip/watt-menu-chip.component.js +80 -0
- package/esm2022/chip/watt-menu-chip.component.js.map +1 -0
- package/esm2022/clipboard/energinet-watt-clipboard.js +5 -0
- package/esm2022/clipboard/energinet-watt-clipboard.js.map +1 -0
- package/esm2022/clipboard/index.js +21 -0
- package/esm2022/clipboard/index.js.map +1 -0
- package/esm2022/clipboard/watt-clipboard-intl.service.js +31 -0
- package/esm2022/clipboard/watt-clipboard-intl.service.js.map +1 -0
- package/{fesm2022/energinet-watt-clipboard.mjs → esm2022/clipboard/watt-copy-to-clipboard.directive.js} +7 -61
- package/esm2022/clipboard/watt-copy-to-clipboard.directive.js.map +1 -0
- package/esm2022/code/energinet-watt-code.js +5 -0
- package/esm2022/code/energinet-watt-code.js.map +1 -0
- package/esm2022/code/index.js +22 -0
- package/esm2022/code/index.js.map +1 -0
- package/esm2022/code/watt-code-intl.service.js +30 -0
- package/esm2022/code/watt-code-intl.service.js.map +1 -0
- package/{fesm2022/energinet-watt-code.mjs → esm2022/code/watt-code.component.js} +11 -83
- package/esm2022/code/watt-code.component.js.map +1 -0
- package/esm2022/code/watt-code.worker.token.js +21 -0
- package/esm2022/code/watt-code.worker.token.js.map +1 -0
- package/esm2022/core/breakpoints/breakpoints-observer.js +41 -0
- package/esm2022/core/breakpoints/breakpoints-observer.js.map +1 -0
- package/esm2022/core/breakpoints/breakpoints.js +31 -0
- package/esm2022/core/breakpoints/breakpoints.js.map +1 -0
- package/esm2022/core/breakpoints/energinet-watt-core-breakpoints.js +5 -0
- package/esm2022/core/breakpoints/energinet-watt-core-breakpoints.js.map +1 -0
- package/esm2022/core/breakpoints/index.js +21 -0
- package/esm2022/core/breakpoints/index.js.map +1 -0
- package/esm2022/core/color/color-helper.service.js +41 -0
- package/esm2022/core/color/color-helper.service.js.map +1 -0
- package/esm2022/core/color/colors.js +58 -0
- package/esm2022/core/color/colors.js.map +1 -0
- package/esm2022/core/color/energinet-watt-core-color.js +5 -0
- package/esm2022/core/color/energinet-watt-core-color.js.map +1 -0
- package/esm2022/core/color/index.js +21 -0
- package/esm2022/core/color/index.js.map +1 -0
- package/esm2022/core/date/dayjs.js +34 -0
- package/esm2022/core/date/dayjs.js.map +1 -0
- package/esm2022/core/date/energinet-watt-core-date.js +5 -0
- package/esm2022/core/date/energinet-watt-core-date.js.map +1 -0
- package/esm2022/core/date/index.js +25 -0
- package/esm2022/core/date/index.js.map +1 -0
- package/esm2022/core/date/watt-danish-datetime.providers.js +31 -0
- package/esm2022/core/date/watt-danish-datetime.providers.js.map +1 -0
- package/esm2022/core/date/watt-date-adapter.js +43 -0
- package/esm2022/core/date/watt-date-adapter.js.map +1 -0
- package/esm2022/core/date/watt-date-range.js +2 -0
- package/esm2022/core/date/watt-date-range.js.map +1 -0
- package/esm2022/core/date/watt-date.pipe.js +38 -0
- package/esm2022/core/date/watt-date.pipe.js.map +1 -0
- package/esm2022/core/date/watt-format-date.js +50 -0
- package/esm2022/core/date/watt-format-date.js.map +1 -0
- package/esm2022/core/date/watt-locale.service.js +48 -0
- package/esm2022/core/date/watt-locale.service.js.map +1 -0
- package/esm2022/data/energinet-watt-data.js +5 -0
- package/esm2022/data/energinet-watt-data.js.map +1 -0
- package/esm2022/data/index.js +23 -0
- package/esm2022/data/index.js.map +1 -0
- package/esm2022/data/watt-data-actions.component.js +32 -0
- package/esm2022/data/watt-data-actions.component.js.map +1 -0
- package/esm2022/data/watt-data-filters.component.js +32 -0
- package/esm2022/data/watt-data-filters.component.js.map +1 -0
- package/esm2022/data/watt-data-intl.service.js +39 -0
- package/esm2022/data/watt-data-intl.service.js.map +1 -0
- package/{fesm2022/energinet-watt-data.mjs → esm2022/data/watt-data-table.component.js} +12 -134
- package/esm2022/data/watt-data-table.component.js.map +1 -0
- package/esm2022/datetime-field/energinet-watt-datetime-field.js +5 -0
- package/esm2022/datetime-field/energinet-watt-datetime-field.js.map +1 -0
- package/esm2022/datetime-field/index.js +20 -0
- package/esm2022/datetime-field/index.js.map +1 -0
- package/{fesm2022/energinet-watt-datetime-field.mjs → esm2022/datetime-field/watt-datetime-field.component.js} +14 -40
- package/esm2022/datetime-field/watt-datetime-field.component.js.map +1 -0
- package/esm2022/description-list/energinet-watt-description-list.js +5 -0
- package/esm2022/description-list/energinet-watt-description-list.js.map +1 -0
- package/esm2022/description-list/index.js +20 -0
- package/esm2022/description-list/index.js.map +1 -0
- package/esm2022/description-list/watt-description-list-item.component.js +49 -0
- package/esm2022/description-list/watt-description-list-item.component.js.map +1 -0
- package/{fesm2022/energinet-watt-description-list.mjs → esm2022/description-list/watt-description-list.component.js} +8 -77
- package/esm2022/description-list/watt-description-list.component.js.map +1 -0
- package/esm2022/drawer/energinet-watt-drawer.js +5 -0
- package/esm2022/drawer/energinet-watt-drawer.js.map +1 -0
- package/esm2022/drawer/index.js +24 -0
- package/esm2022/drawer/index.js.map +1 -0
- package/esm2022/drawer/watt-drawer-actions.component.js +29 -0
- package/esm2022/drawer/watt-drawer-actions.component.js.map +1 -0
- package/esm2022/drawer/watt-drawer-content.component.js +29 -0
- package/esm2022/drawer/watt-drawer-content.component.js.map +1 -0
- package/esm2022/drawer/watt-drawer-heading.component.js +29 -0
- package/esm2022/drawer/watt-drawer-heading.component.js.map +1 -0
- package/esm2022/drawer/watt-drawer-topbar.component.js +32 -0
- package/esm2022/drawer/watt-drawer-topbar.component.js.map +1 -0
- package/{fesm2022/energinet-watt-drawer.mjs → esm2022/drawer/watt-drawer.component.js} +17 -150
- package/esm2022/drawer/watt-drawer.component.js.map +1 -0
- package/esm2022/dropdown/energinet-watt-dropdown.js +5 -0
- package/esm2022/dropdown/energinet-watt-dropdown.js.map +1 -0
- package/esm2022/dropdown/index.js +20 -0
- package/esm2022/dropdown/index.js.map +1 -0
- package/esm2022/dropdown/watt-dropdown-option.js +2 -0
- package/esm2022/dropdown/watt-dropdown-option.js.map +1 -0
- package/esm2022/dropdown/watt-dropdown-value.js +2 -0
- package/esm2022/dropdown/watt-dropdown-value.js.map +1 -0
- package/{fesm2022/energinet-watt-dropdown.mjs → esm2022/dropdown/watt-dropdown.component.js} +18 -44
- package/esm2022/dropdown/watt-dropdown.component.js.map +1 -0
- package/esm2022/dropzone/energinet-watt-dropzone.js +5 -0
- package/esm2022/dropzone/energinet-watt-dropzone.js.map +1 -0
- package/esm2022/dropzone/index.js +22 -0
- package/esm2022/dropzone/index.js.map +1 -0
- package/esm2022/dropzone/watt-dropzone-intl.js +35 -0
- package/esm2022/dropzone/watt-dropzone-intl.js.map +1 -0
- package/esm2022/dropzone/watt-dropzone-validators.js +67 -0
- package/esm2022/dropzone/watt-dropzone-validators.js.map +1 -0
- package/{fesm2022/energinet-watt-dropzone.mjs → esm2022/dropzone/watt-dropzone.js} +14 -133
- package/esm2022/dropzone/watt-dropzone.js.map +1 -0
- package/esm2022/empty-state/energinet-watt-empty-state.js +5 -0
- package/esm2022/empty-state/energinet-watt-empty-state.js.map +1 -0
- package/esm2022/empty-state/icons/explore.js +54 -0
- package/esm2022/empty-state/icons/explore.js.map +1 -0
- package/esm2022/empty-state/icons/no-results.js +62 -0
- package/esm2022/empty-state/icons/no-results.js.map +1 -0
- package/{fesm2022/energinet-watt-empty-state.mjs → esm2022/empty-state/icons/not-found.js} +4 -301
- package/esm2022/empty-state/icons/not-found.js.map +1 -0
- package/esm2022/empty-state/icons/power.js +46 -0
- package/esm2022/empty-state/icons/power.js.map +1 -0
- package/esm2022/empty-state/index.js +24 -0
- package/esm2022/empty-state/index.js.map +1 -0
- package/esm2022/empty-state/watt-empty-state.component.js +120 -0
- package/esm2022/empty-state/watt-empty-state.component.js.map +1 -0
- package/esm2022/energinet-watt.js +5 -0
- package/esm2022/energinet-watt.js.map +1 -0
- package/esm2022/expandable-card/energinet-watt-expandable-card.js +5 -0
- package/esm2022/expandable-card/energinet-watt-expandable-card.js.map +1 -0
- package/esm2022/expandable-card/index.js +26 -0
- package/esm2022/expandable-card/index.js.map +1 -0
- package/{fesm2022/energinet-watt-expandable-card.mjs → esm2022/expandable-card/watt-expandable-card.component.js} +9 -40
- package/esm2022/expandable-card/watt-expandable-card.component.js.map +1 -0
- package/esm2022/field/energinet-watt-field.js +5 -0
- package/esm2022/field/energinet-watt-field.js.map +1 -0
- package/esm2022/field/index.js +24 -0
- package/esm2022/field/index.js.map +1 -0
- package/esm2022/field/watt-field-error.component.js +29 -0
- package/esm2022/field/watt-field-error.component.js.map +1 -0
- package/esm2022/field/watt-field-hint.component.js +29 -0
- package/esm2022/field/watt-field-hint.component.js.map +1 -0
- package/esm2022/field/watt-field-intl.service.js +32 -0
- package/esm2022/field/watt-field-intl.service.js.map +1 -0
- package/esm2022/field/watt-field-warning.component.js +29 -0
- package/esm2022/field/watt-field-warning.component.js.map +1 -0
- package/{fesm2022/energinet-watt-field.mjs → esm2022/field/watt-field.component.js} +14 -149
- package/esm2022/field/watt-field.component.js.map +1 -0
- package/esm2022/file-field/energinet-watt-file-field.js +5 -0
- package/esm2022/file-field/energinet-watt-file-field.js.map +1 -0
- package/esm2022/file-field/index.js +20 -0
- package/esm2022/file-field/index.js.map +1 -0
- package/{fesm2022/energinet-watt-file-field.mjs → esm2022/file-field/watt-file-field.component.js} +6 -32
- package/esm2022/file-field/watt-file-field.component.js.map +1 -0
- package/esm2022/icon/energinet-watt-icon.js +5 -0
- package/esm2022/icon/energinet-watt-icon.js.map +1 -0
- package/esm2022/icon/flags/energinet-watt-icon-flags.js +5 -0
- package/esm2022/icon/flags/energinet-watt-icon-flags.js.map +1 -0
- package/esm2022/icon/flags/index.js +29 -0
- package/esm2022/icon/flags/index.js.map +1 -0
- package/esm2022/icon/flags/watt-flag-ch.js +52 -0
- package/esm2022/icon/flags/watt-flag-ch.js.map +1 -0
- package/esm2022/icon/flags/watt-flag-de.js +44 -0
- package/esm2022/icon/flags/watt-flag-de.js.map +1 -0
- package/esm2022/icon/flags/watt-flag-dk.js +44 -0
- package/esm2022/icon/flags/watt-flag-dk.js.map +1 -0
- package/esm2022/icon/flags/watt-flag-fi.js +44 -0
- package/esm2022/icon/flags/watt-flag-fi.js.map +1 -0
- package/esm2022/icon/flags/watt-flag-gb.js +60 -0
- package/esm2022/icon/flags/watt-flag-gb.js.map +1 -0
- package/esm2022/icon/flags/watt-flag-nl.js +44 -0
- package/esm2022/icon/flags/watt-flag-nl.js.map +1 -0
- package/esm2022/icon/flags/watt-flag-no.js +48 -0
- package/esm2022/icon/flags/watt-flag-no.js.map +1 -0
- package/esm2022/icon/flags/watt-flag-pl.js +46 -0
- package/esm2022/icon/flags/watt-flag-pl.js.map +1 -0
- package/esm2022/icon/flags/watt-flag-se.js +42 -0
- package/esm2022/icon/flags/watt-flag-se.js.map +1 -0
- package/esm2022/icon/flags/watt-flag.js +124 -0
- package/esm2022/icon/flags/watt-flag.js.map +1 -0
- package/{fesm2022/energinet-watt-icon.mjs → esm2022/icon/icon.component.js} +6 -133
- package/esm2022/icon/icon.component.js.map +1 -0
- package/esm2022/icon/icons.js +104 -0
- package/esm2022/icon/icons.js.map +1 -0
- package/esm2022/icon/index.js +20 -0
- package/esm2022/icon/index.js.map +1 -0
- package/{fesm2022/energinet-watt.mjs → esm2022/index.js} +2 -8
- package/esm2022/index.js.map +1 -0
- package/esm2022/menu/energinet-watt-menu.js +5 -0
- package/esm2022/menu/energinet-watt-menu.js.map +1 -0
- package/esm2022/menu/index.js +36 -0
- package/esm2022/menu/index.js.map +1 -0
- package/esm2022/menu/watt-menu-group.component.js +45 -0
- package/esm2022/menu/watt-menu-group.component.js.map +1 -0
- package/esm2022/menu/watt-menu-item.component.js +50 -0
- package/esm2022/menu/watt-menu-item.component.js.map +1 -0
- package/esm2022/menu/watt-menu-trigger.directive.js +85 -0
- package/esm2022/menu/watt-menu-trigger.directive.js.map +1 -0
- package/esm2022/menu/watt-menu.component.js +77 -0
- package/esm2022/menu/watt-menu.component.js.map +1 -0
- package/esm2022/modal/energinet-watt-modal.js +5 -0
- package/esm2022/modal/energinet-watt-modal.js.map +1 -0
- package/esm2022/modal/index.js +21 -0
- package/esm2022/modal/index.js.map +1 -0
- package/{fesm2022/energinet-watt-modal.mjs → esm2022/modal/watt-modal.component.js} +13 -109
- package/esm2022/modal/watt-modal.component.js.map +1 -0
- package/esm2022/modal/watt-modal.service.js +74 -0
- package/esm2022/modal/watt-modal.service.js.map +1 -0
- package/esm2022/paginator/energinet-watt-paginator.js +5 -0
- package/esm2022/paginator/energinet-watt-paginator.js.map +1 -0
- package/esm2022/paginator/index.js +21 -0
- package/esm2022/paginator/index.js.map +1 -0
- package/esm2022/paginator/watt-paginator-intl.service.js +38 -0
- package/esm2022/paginator/watt-paginator-intl.service.js.map +1 -0
- package/{fesm2022/energinet-watt-paginator.mjs → esm2022/paginator/watt-paginator.component.js} +9 -69
- package/esm2022/paginator/watt-paginator.component.js.map +1 -0
- package/esm2022/phone-field/energinet-watt-phone-field.js +5 -0
- package/esm2022/phone-field/energinet-watt-phone-field.js.map +1 -0
- package/esm2022/phone-field/index.js +21 -0
- package/esm2022/phone-field/index.js.map +1 -0
- package/esm2022/phone-field/watt-phone-field-intl.service.js +41 -0
- package/esm2022/phone-field/watt-phone-field-intl.service.js.map +1 -0
- package/{fesm2022/energinet-watt-phone-field.mjs → esm2022/phone-field/watt-phone-field.component.js} +16 -80
- package/esm2022/phone-field/watt-phone-field.component.js.map +1 -0
- package/esm2022/picker/__shared/energinet-watt-picker-__shared.js +5 -0
- package/esm2022/picker/__shared/energinet-watt-picker-__shared.js.map +1 -0
- package/esm2022/picker/__shared/index.js +21 -0
- package/esm2022/picker/__shared/index.js.map +1 -0
- package/esm2022/picker/__shared/placeholder-mask/watt-placeholder-mask.component.js +71 -0
- package/esm2022/picker/__shared/placeholder-mask/watt-placeholder-mask.component.js.map +1 -0
- package/esm2022/picker/__shared/watt-picker-base.js +197 -0
- package/esm2022/picker/__shared/watt-picker-base.js.map +1 -0
- package/esm2022/picker/__shared/watt-picker-value.js +2 -0
- package/esm2022/picker/__shared/watt-picker-value.js.map +1 -0
- package/esm2022/picker/datepicker/energinet-watt-picker-datepicker.js +5 -0
- package/esm2022/picker/datepicker/energinet-watt-picker-datepicker.js.map +1 -0
- package/esm2022/picker/datepicker/index.js +22 -0
- package/esm2022/picker/datepicker/index.js.map +1 -0
- package/esm2022/picker/datepicker/watt-datepicker-intl.service.js +31 -0
- package/esm2022/picker/datepicker/watt-datepicker-intl.service.js.map +1 -0
- package/{fesm2022/energinet-watt-picker-datepicker.mjs → esm2022/picker/datepicker/watt-datepicker.component.js} +16 -71
- package/esm2022/picker/datepicker/watt-datepicker.component.js.map +1 -0
- package/esm2022/picker/timepicker/energinet-watt-picker-timepicker.js +5 -0
- package/esm2022/picker/timepicker/energinet-watt-picker-timepicker.js.map +1 -0
- package/esm2022/picker/timepicker/index.js +20 -0
- package/esm2022/picker/timepicker/index.js.map +1 -0
- package/esm2022/picker/timepicker/maskito-time-range-mask.js +81 -0
- package/esm2022/picker/timepicker/maskito-time-range-mask.js.map +1 -0
- package/{fesm2022/energinet-watt-picker-timepicker.mjs → esm2022/picker/timepicker/watt-timepicker.component.js} +20 -126
- package/esm2022/picker/timepicker/watt-timepicker.component.js.map +1 -0
- package/esm2022/progress-tracker/energinet-watt-progress-tracker.js +5 -0
- package/esm2022/progress-tracker/energinet-watt-progress-tracker.js.map +1 -0
- package/esm2022/progress-tracker/index.js +27 -0
- package/esm2022/progress-tracker/index.js.map +1 -0
- package/{fesm2022/energinet-watt-progress-tracker.mjs → esm2022/progress-tracker/watt-progress-tracker-step.component.js} +6 -64
- package/esm2022/progress-tracker/watt-progress-tracker-step.component.js.map +1 -0
- package/esm2022/progress-tracker/watt-progress-tracker.component.js +30 -0
- package/esm2022/progress-tracker/watt-progress-tracker.component.js.map +1 -0
- package/esm2022/query-params/energinet-watt-query-params.js +5 -0
- package/esm2022/query-params/energinet-watt-query-params.js.map +1 -0
- package/esm2022/query-params/index.js +20 -0
- package/esm2022/query-params/index.js.map +1 -0
- package/{fesm2022/energinet-watt-query-params.mjs → esm2022/query-params/watt-query-params.directive.js} +6 -32
- package/esm2022/query-params/watt-query-params.directive.js.map +1 -0
- package/esm2022/radio/energinet-watt-radio.js +5 -0
- package/esm2022/radio/energinet-watt-radio.js.map +1 -0
- package/esm2022/radio/index.js +21 -0
- package/esm2022/radio/index.js.map +1 -0
- package/esm2022/radio/watt-radio-group.component.js +119 -0
- package/esm2022/radio/watt-radio-group.component.js.map +1 -0
- package/{fesm2022/energinet-watt-radio.mjs → esm2022/radio/watt-radio.component.js} +5 -146
- package/esm2022/radio/watt-radio.component.js.map +1 -0
- package/esm2022/search/energinet-watt-search.js +5 -0
- package/esm2022/search/energinet-watt-search.js.map +1 -0
- package/esm2022/search/index.js +20 -0
- package/esm2022/search/index.js.map +1 -0
- package/{fesm2022/energinet-watt-search.mjs → esm2022/search/watt-search.component.js} +7 -33
- package/esm2022/search/watt-search.component.js.map +1 -0
- package/esm2022/segmented-buttons/energinet-watt-segmented-buttons.js +5 -0
- package/esm2022/segmented-buttons/energinet-watt-segmented-buttons.js.map +1 -0
- package/esm2022/segmented-buttons/index.js +27 -0
- package/esm2022/segmented-buttons/index.js.map +1 -0
- package/esm2022/segmented-buttons/watt-segmented-button.component.js +39 -0
- package/esm2022/segmented-buttons/watt-segmented-button.component.js.map +1 -0
- package/{fesm2022/energinet-watt-segmented-buttons.mjs → esm2022/segmented-buttons/watt-segmented-buttons.component.js} +11 -77
- package/esm2022/segmented-buttons/watt-segmented-buttons.component.js.map +1 -0
- package/esm2022/shell/energinet-watt-shell.js +5 -0
- package/esm2022/shell/energinet-watt-shell.js.map +1 -0
- package/esm2022/shell/index.js +21 -0
- package/esm2022/shell/index.js.map +1 -0
- package/esm2022/shell/nav-list/index.js +21 -0
- package/esm2022/shell/nav-list/index.js.map +1 -0
- package/esm2022/shell/nav-list/watt-expand-on-active-link.directive.js +47 -0
- package/esm2022/shell/nav-list/watt-expand-on-active-link.directive.js.map +1 -0
- package/esm2022/shell/nav-list/watt-nav-list-item.component.js +83 -0
- package/esm2022/shell/nav-list/watt-nav-list-item.component.js.map +1 -0
- package/esm2022/shell/nav-list/watt-nav-list.component.js +80 -0
- package/esm2022/shell/nav-list/watt-nav-list.component.js.map +1 -0
- package/esm2022/shell/shell.component.js +59 -0
- package/esm2022/shell/shell.component.js.map +1 -0
- package/esm2022/slide-toggle/energinet-watt-slide-toggle.js +5 -0
- package/esm2022/slide-toggle/energinet-watt-slide-toggle.js.map +1 -0
- package/esm2022/slide-toggle/index.js +20 -0
- package/esm2022/slide-toggle/index.js.map +1 -0
- package/{fesm2022/energinet-watt-slide-toggle.mjs → esm2022/slide-toggle/watt-slide-toggle.component.js} +8 -34
- package/esm2022/slide-toggle/watt-slide-toggle.component.js.map +1 -0
- package/esm2022/slider/energinet-watt-slider.js +5 -0
- package/esm2022/slider/energinet-watt-slider.js.map +1 -0
- package/esm2022/slider/index.js +20 -0
- package/esm2022/slider/index.js.map +1 -0
- package/{fesm2022/energinet-watt-slider.mjs → esm2022/slider/watt-slider.component.js} +7 -33
- package/esm2022/slider/watt-slider.component.js.map +1 -0
- package/esm2022/spinner/energinet-watt-spinner.js +5 -0
- package/esm2022/spinner/energinet-watt-spinner.js.map +1 -0
- package/esm2022/spinner/index.js +20 -0
- package/esm2022/spinner/index.js.map +1 -0
- package/{fesm2022/energinet-watt-spinner.mjs → esm2022/spinner/watt-spinner.component.js} +4 -30
- package/esm2022/spinner/watt-spinner.component.js.map +1 -0
- package/esm2022/stepper/energinet-watt-stepper.js +5 -0
- package/esm2022/stepper/energinet-watt-stepper.js.map +1 -0
- package/esm2022/stepper/index.js +21 -0
- package/esm2022/stepper/index.js.map +1 -0
- package/esm2022/stepper/watt-stepper-step.component.js +49 -0
- package/esm2022/stepper/watt-stepper-step.component.js.map +1 -0
- package/{fesm2022/energinet-watt-stepper.mjs → esm2022/stepper/watt-stepper.component.js} +15 -85
- package/esm2022/stepper/watt-stepper.component.js.map +1 -0
- package/esm2022/table/energinet-watt-table.js +5 -0
- package/esm2022/table/energinet-watt-table.js.map +1 -0
- package/esm2022/table/index.js +21 -0
- package/esm2022/table/index.js.map +1 -0
- package/esm2022/table/watt-table-data-source.js +27 -0
- package/esm2022/table/watt-table-data-source.js.map +1 -0
- package/esm2022/table/watt-table-expand-animation.js +65 -0
- package/esm2022/table/watt-table-expand-animation.js.map +1 -0
- package/{fesm2022/energinet-watt-table.mjs → esm2022/table/watt-table.component.js} +22 -134
- package/esm2022/table/watt-table.component.js.map +1 -0
- package/esm2022/tabs/energinet-watt-tabs.js +5 -0
- package/esm2022/tabs/energinet-watt-tabs.js.map +1 -0
- package/esm2022/tabs/index.js +31 -0
- package/esm2022/tabs/index.js.map +1 -0
- package/esm2022/tabs/watt-link-tab.component.js +34 -0
- package/esm2022/tabs/watt-link-tab.component.js.map +1 -0
- package/esm2022/tabs/watt-link-tabs.component.js +71 -0
- package/esm2022/tabs/watt-link-tabs.component.js.map +1 -0
- package/esm2022/tabs/watt-tab.component.js +42 -0
- package/esm2022/tabs/watt-tab.component.js.map +1 -0
- package/esm2022/tabs/watt-tabs-action.component.js +32 -0
- package/esm2022/tabs/watt-tabs-action.component.js.map +1 -0
- package/esm2022/tabs/watt-tabs.component.js +60 -0
- package/esm2022/tabs/watt-tabs.component.js.map +1 -0
- package/esm2022/text-field/energinet-watt-text-field.js +5 -0
- package/esm2022/text-field/energinet-watt-text-field.js.map +1 -0
- package/esm2022/text-field/index.js +20 -0
- package/esm2022/text-field/index.js.map +1 -0
- package/{fesm2022/energinet-watt-text-field.mjs → esm2022/text-field/watt-text-field.component.js} +10 -36
- package/esm2022/text-field/watt-text-field.component.js.map +1 -0
- package/esm2022/textarea-field/energinet-watt-textarea-field.js +5 -0
- package/esm2022/textarea-field/energinet-watt-textarea-field.js.map +1 -0
- package/esm2022/textarea-field/index.js +20 -0
- package/esm2022/textarea-field/index.js.map +1 -0
- package/{fesm2022/energinet-watt-textarea-field.mjs → esm2022/textarea-field/watt-textarea-field.component.js} +6 -32
- package/esm2022/textarea-field/watt-textarea-field.component.js.map +1 -0
- package/esm2022/toast/energinet-watt-toast.js +5 -0
- package/esm2022/toast/energinet-watt-toast.js.map +1 -0
- package/esm2022/toast/index.js +21 -0
- package/esm2022/toast/index.js.map +1 -0
- package/{fesm2022/energinet-watt-toast.mjs → esm2022/toast/watt-toast.component.js} +9 -82
- package/esm2022/toast/watt-toast.component.js.map +1 -0
- package/esm2022/toast/watt-toast.service.js +51 -0
- package/esm2022/toast/watt-toast.service.js.map +1 -0
- package/esm2022/tooltip/energinet-watt-tooltip.js +5 -0
- package/esm2022/tooltip/energinet-watt-tooltip.js.map +1 -0
- package/esm2022/tooltip/index.js +20 -0
- package/esm2022/tooltip/index.js.map +1 -0
- package/{fesm2022/energinet-watt-tooltip.mjs → esm2022/tooltip/watt-tooltip.component.js} +8 -98
- package/esm2022/tooltip/watt-tooltip.component.js.map +1 -0
- package/esm2022/tooltip/watt-tooltip.directive.js +67 -0
- package/esm2022/tooltip/watt-tooltip.directive.js.map +1 -0
- package/{fesm2022/energinet-watt-utils-css.mjs → esm2022/utils/css/css-custom-properties.service.js} +4 -30
- package/esm2022/utils/css/css-custom-properties.service.js.map +1 -0
- package/esm2022/utils/css/energinet-watt-utils-css.js +5 -0
- package/esm2022/utils/css/energinet-watt-utils-css.js.map +1 -0
- package/esm2022/utils/css/index.js +20 -0
- package/esm2022/utils/css/index.js.map +1 -0
- package/esm2022/utils/intersection-observer/energinet-watt-utils-intersection-observer.js +5 -0
- package/esm2022/utils/intersection-observer/energinet-watt-utils-intersection-observer.js.map +1 -0
- package/esm2022/utils/intersection-observer/index.js +20 -0
- package/esm2022/utils/intersection-observer/index.js.map +1 -0
- package/{fesm2022/energinet-watt-utils-intersection-observer.mjs → esm2022/utils/intersection-observer/watt-intersection-observer.service.js} +5 -31
- package/esm2022/utils/intersection-observer/watt-intersection-observer.service.js.map +1 -0
- package/esm2022/utils/resize-observer/energinet-watt-utils-resize-observer.js +5 -0
- package/esm2022/utils/resize-observer/energinet-watt-utils-resize-observer.js.map +1 -0
- package/esm2022/utils/resize-observer/index.js +21 -0
- package/esm2022/utils/resize-observer/index.js.map +1 -0
- package/esm2022/utils/resize-observer/watt-resize-observer.directive.js +53 -0
- package/esm2022/utils/resize-observer/watt-resize-observer.directive.js.map +1 -0
- package/esm2022/utils/resize-observer/watt-resize-observer.service.js +67 -0
- package/esm2022/utils/resize-observer/watt-resize-observer.service.js.map +1 -0
- package/esm2022/validation-message/energinet-watt-validation-message.js +5 -0
- package/esm2022/validation-message/energinet-watt-validation-message.js.map +1 -0
- package/esm2022/validation-message/index.js +20 -0
- package/esm2022/validation-message/index.js.map +1 -0
- package/{fesm2022/energinet-watt-validation-message.mjs → esm2022/validation-message/watt-validation-message.component.js} +5 -31
- package/esm2022/validation-message/watt-validation-message.component.js.map +1 -0
- package/esm2022/validators/energinet-watt-validators.js +5 -0
- package/esm2022/validators/energinet-watt-validators.js.map +1 -0
- package/esm2022/validators/index.js +20 -0
- package/esm2022/validators/index.js.map +1 -0
- package/{fesm2022/energinet-watt-validators.mjs → esm2022/validators/watt-range.validators.js} +2 -28
- package/esm2022/validators/watt-range.validators.js.map +1 -0
- package/esm2022/vater/energinet-watt-vater.js +5 -0
- package/esm2022/vater/energinet-watt-vater.js.map +1 -0
- package/esm2022/vater/index.js +24 -0
- package/esm2022/vater/index.js.map +1 -0
- package/esm2022/vater/types.js +20 -0
- package/esm2022/vater/types.js.map +1 -0
- package/esm2022/vater/vater-flex.component.js +49 -0
- package/esm2022/vater/vater-flex.component.js.map +1 -0
- package/esm2022/vater/vater-layout.directive.js +65 -0
- package/esm2022/vater/vater-layout.directive.js.map +1 -0
- package/esm2022/vater/vater-spacer.component.js +29 -0
- package/esm2022/vater/vater-spacer.component.js.map +1 -0
- package/esm2022/vater/vater-stack.component.js +42 -0
- package/esm2022/vater/vater-stack.component.js.map +1 -0
- package/esm2022/vater/vater-utility.directive.js +53 -0
- package/esm2022/vater/vater-utility.directive.js.map +1 -0
- package/esm2022/year-field/energinet-watt-year-field.js +5 -0
- package/esm2022/year-field/energinet-watt-year-field.js.map +1 -0
- package/esm2022/year-field/index.js +20 -0
- package/esm2022/year-field/index.js.map +1 -0
- package/{fesm2022/energinet-watt-year-field.mjs → esm2022/year-field/watt-year-field.component.js} +13 -39
- package/esm2022/year-field/watt-year-field.component.js.map +1 -0
- package/esm2022/yearmonth-field/energinet-watt-yearmonth-field.js +5 -0
- package/esm2022/yearmonth-field/energinet-watt-yearmonth-field.js.map +1 -0
- package/esm2022/yearmonth-field/index.js +21 -0
- package/esm2022/yearmonth-field/index.js.map +1 -0
- package/{fesm2022/energinet-watt-yearmonth-field.mjs → esm2022/yearmonth-field/watt-yearmonth-field.component.js} +13 -79
- package/esm2022/yearmonth-field/watt-yearmonth-field.component.js.map +1 -0
- package/esm2022/yearmonth-field/year-month.js +42 -0
- package/esm2022/yearmonth-field/year-month.js.map +1 -0
- package/expandable-card/energinet-watt-expandable-card.d.ts +5 -0
- package/expandable-card/index.d.ts +19 -0
- package/{types/energinet-watt-expandable-card.d.ts → expandable-card/watt-expandable-card.component.d.ts} +9 -31
- package/field/energinet-watt-field.d.ts +5 -0
- package/field/index.d.ts +21 -0
- package/field/watt-field-error.component.d.ts +5 -0
- package/field/watt-field-hint.component.d.ts +5 -0
- package/field/watt-field-intl.service.d.ts +8 -0
- package/field/watt-field-warning.component.d.ts +5 -0
- package/field/watt-field.component.d.ts +53 -0
- package/file-field/energinet-watt-file-field.d.ts +5 -0
- package/file-field/index.d.ts +17 -0
- package/file-field/watt-file-field.component.d.ts +10 -0
- package/icon/energinet-watt-icon.d.ts +5 -0
- package/icon/flags/energinet-watt-icon-flags.d.ts +5 -0
- package/icon/flags/index.d.ts +26 -0
- package/icon/flags/watt-flag-ch.d.ts +5 -0
- package/icon/flags/watt-flag-de.d.ts +5 -0
- package/icon/flags/watt-flag-dk.d.ts +5 -0
- package/icon/flags/watt-flag-fi.d.ts +5 -0
- package/icon/flags/watt-flag-gb.d.ts +5 -0
- package/icon/flags/watt-flag-nl.d.ts +5 -0
- package/icon/flags/watt-flag-no.d.ts +5 -0
- package/icon/flags/watt-flag-pl.d.ts +5 -0
- package/icon/flags/watt-flag-se.d.ts +5 -0
- package/icon/flags/watt-flag.d.ts +13 -0
- package/icon/icon.component.d.ts +20 -0
- package/icon/icons.d.ts +97 -0
- package/icon/index.d.ts +17 -0
- package/index.d.ts +17 -0
- package/menu/energinet-watt-menu.d.ts +5 -0
- package/menu/index.d.ts +25 -0
- package/menu/watt-menu-group.component.d.ts +9 -0
- package/menu/watt-menu-item.component.d.ts +9 -0
- package/menu/watt-menu-trigger.directive.d.ts +36 -0
- package/menu/watt-menu.component.d.ts +44 -0
- package/modal/energinet-watt-modal.d.ts +5 -0
- package/modal/index.d.ts +18 -0
- package/modal/watt-modal.component.d.ts +84 -0
- package/modal/watt-modal.service.d.ts +56 -0
- package/package.json +92 -92
- package/paginator/energinet-watt-paginator.d.ts +5 -0
- package/paginator/index.d.ts +18 -0
- package/paginator/watt-paginator-intl.service.d.ts +14 -0
- package/paginator/watt-paginator.component.d.ts +53 -0
- package/phone-field/energinet-watt-phone-field.d.ts +5 -0
- package/phone-field/index.d.ts +18 -0
- package/phone-field/watt-phone-field-intl.service.d.ts +17 -0
- package/phone-field/watt-phone-field.component.d.ts +75 -0
- package/picker/__shared/energinet-watt-picker-__shared.d.ts +5 -0
- package/picker/__shared/index.d.ts +19 -0
- package/picker/__shared/placeholder-mask/watt-placeholder-mask.component.d.ts +34 -0
- package/{types/energinet-watt-picker-__shared.d.ts → picker/__shared/watt-picker-base.d.ts} +11 -34
- package/picker/__shared/watt-picker-value.d.ts +18 -0
- package/picker/datepicker/energinet-watt-picker-datepicker.d.ts +5 -0
- package/picker/datepicker/index.d.ts +19 -0
- package/picker/datepicker/watt-datepicker-intl.service.d.ts +7 -0
- package/picker/datepicker/watt-datepicker.component.d.ts +95 -0
- package/picker/timepicker/energinet-watt-picker-timepicker.d.ts +5 -0
- package/picker/timepicker/index.d.ts +17 -0
- package/picker/timepicker/maskito-time-range-mask.d.ts +18 -0
- package/{types/energinet-watt-picker-timepicker.d.ts → picker/timepicker/watt-timepicker.component.d.ts} +12 -16
- package/progress-tracker/energinet-watt-progress-tracker.d.ts +5 -0
- package/progress-tracker/index.d.ts +20 -0
- package/progress-tracker/watt-progress-tracker-step.component.d.ts +10 -0
- package/progress-tracker/watt-progress-tracker.component.d.ts +5 -0
- package/query-params/energinet-watt-query-params.d.ts +5 -0
- package/query-params/index.d.ts +17 -0
- package/{types/energinet-watt-query-params.d.ts → query-params/watt-query-params.directive.d.ts} +2 -5
- package/radio/energinet-watt-radio.d.ts +5 -0
- package/radio/index.d.ts +18 -0
- package/radio/watt-radio-group.component.d.ts +47 -0
- package/radio/watt-radio.component.d.ts +23 -0
- package/search/energinet-watt-search.d.ts +5 -0
- package/search/index.d.ts +17 -0
- package/search/watt-search.component.d.ts +44 -0
- package/segmented-buttons/energinet-watt-segmented-buttons.d.ts +5 -0
- package/segmented-buttons/index.d.ts +21 -0
- package/segmented-buttons/watt-segmented-button.component.d.ts +25 -0
- package/segmented-buttons/watt-segmented-buttons.component.d.ts +18 -0
- package/shell/energinet-watt-shell.d.ts +5 -0
- package/shell/index.d.ts +18 -0
- package/shell/nav-list/index.d.ts +18 -0
- package/shell/nav-list/watt-expand-on-active-link.directive.d.ts +9 -0
- package/shell/nav-list/watt-nav-list-item.component.d.ts +16 -0
- package/shell/nav-list/watt-nav-list.component.d.ts +12 -0
- package/shell/shell.component.d.ts +17 -0
- package/slide-toggle/energinet-watt-slide-toggle.d.ts +5 -0
- package/slide-toggle/index.d.ts +17 -0
- package/slide-toggle/watt-slide-toggle.component.d.ts +33 -0
- package/slider/energinet-watt-slider.d.ts +5 -0
- package/slider/index.d.ts +17 -0
- package/slider/watt-slider.component.d.ts +47 -0
- package/spinner/energinet-watt-spinner.d.ts +5 -0
- package/spinner/index.d.ts +17 -0
- package/spinner/watt-spinner.component.d.ts +15 -0
- package/stepper/energinet-watt-stepper.d.ts +5 -0
- package/stepper/index.d.ts +18 -0
- package/stepper/watt-stepper-step.component.d.ts +35 -0
- package/stepper/watt-stepper.component.d.ts +40 -0
- package/table/energinet-watt-table.d.ts +5 -0
- package/table/index.d.ts +18 -0
- package/table/watt-table-data-source.d.ts +39 -0
- package/table/watt-table-expand-animation.d.ts +18 -0
- package/{types/energinet-watt-table.d.ts → table/watt-table.component.d.ts} +49 -72
- package/tabs/energinet-watt-tabs.d.ts +5 -0
- package/tabs/index.d.ts +26 -0
- package/tabs/watt-link-tab.component.d.ts +7 -0
- package/tabs/watt-link-tabs.component.d.ts +7 -0
- package/tabs/watt-tab.component.d.ts +26 -0
- package/tabs/watt-tabs-action.component.d.ts +5 -0
- package/tabs/watt-tabs.component.d.ts +36 -0
- package/text-field/energinet-watt-text-field.d.ts +5 -0
- package/text-field/index.d.ts +17 -0
- package/text-field/watt-text-field.component.d.ts +80 -0
- package/textarea-field/energinet-watt-textarea-field.d.ts +5 -0
- package/textarea-field/index.d.ts +17 -0
- package/textarea-field/watt-textarea-field.component.d.ts +28 -0
- package/toast/energinet-watt-toast.d.ts +5 -0
- package/toast/index.d.ts +19 -0
- package/{types/energinet-watt-toast.d.ts → toast/watt-toast.component.d.ts} +5 -19
- package/toast/watt-toast.service.d.ts +12 -0
- package/tooltip/energinet-watt-tooltip.d.ts +5 -0
- package/tooltip/index.d.ts +17 -0
- package/tooltip/watt-tooltip.component.d.ts +26 -0
- package/tooltip/watt-tooltip.directive.d.ts +16 -0
- package/{types/energinet-watt-utils-css.d.ts → utils/css/css-custom-properties.service.d.ts} +2 -5
- package/utils/css/energinet-watt-utils-css.d.ts +5 -0
- package/utils/css/index.d.ts +17 -0
- package/utils/intersection-observer/energinet-watt-utils-intersection-observer.d.ts +5 -0
- package/utils/intersection-observer/index.d.ts +17 -0
- package/{types/energinet-watt-utils-intersection-observer.d.ts → utils/intersection-observer/watt-intersection-observer.service.d.ts} +3 -7
- package/utils/resize-observer/energinet-watt-utils-resize-observer.d.ts +5 -0
- package/utils/resize-observer/index.d.ts +18 -0
- package/{types/energinet-watt-utils-resize-observer.d.ts → utils/resize-observer/watt-resize-observer.directive.d.ts} +3 -30
- package/utils/resize-observer/watt-resize-observer.service.d.ts +22 -0
- package/validation-message/energinet-watt-validation-message.d.ts +5 -0
- package/validation-message/index.d.ts +17 -0
- package/validation-message/watt-validation-message.component.d.ts +50 -0
- package/validators/energinet-watt-validators.d.ts +5 -0
- package/validators/index.d.ts +17 -0
- package/{types/energinet-watt-validators.d.ts → validators/watt-range.validators.d.ts} +2 -6
- package/vater/energinet-watt-vater.d.ts +5 -0
- package/vater/index.d.ts +21 -0
- package/vater/types.d.ts +22 -0
- package/vater/vater-flex.component.d.ts +14 -0
- package/vater/vater-layout.directive.d.ts +24 -0
- package/vater/vater-spacer.component.d.ts +5 -0
- package/vater/vater-stack.component.d.ts +7 -0
- package/vater/vater-utility.directive.d.ts +17 -0
- package/year-field/energinet-watt-year-field.d.ts +5 -0
- package/year-field/index.d.ts +17 -0
- package/year-field/watt-year-field.component.d.ts +56 -0
- package/yearmonth-field/energinet-watt-yearmonth-field.d.ts +5 -0
- package/yearmonth-field/index.d.ts +18 -0
- package/yearmonth-field/watt-yearmonth-field.component.d.ts +58 -0
- package/yearmonth-field/year-month.d.ts +20 -0
- package/fesm2022/energinet-watt-badge.mjs.map +0 -1
- package/fesm2022/energinet-watt-breadcrumbs.mjs.map +0 -1
- package/fesm2022/energinet-watt-button.mjs.map +0 -1
- package/fesm2022/energinet-watt-card.mjs.map +0 -1
- package/fesm2022/energinet-watt-checkbox.mjs.map +0 -1
- package/fesm2022/energinet-watt-chip.mjs +0 -694
- package/fesm2022/energinet-watt-chip.mjs.map +0 -1
- package/fesm2022/energinet-watt-clipboard.mjs.map +0 -1
- package/fesm2022/energinet-watt-code.mjs.map +0 -1
- package/fesm2022/energinet-watt-core-breakpoints.mjs +0 -97
- package/fesm2022/energinet-watt-core-breakpoints.mjs.map +0 -1
- package/fesm2022/energinet-watt-core-color.mjs +0 -124
- package/fesm2022/energinet-watt-core-color.mjs.map +0 -1
- package/fesm2022/energinet-watt-core-date.mjs +0 -256
- package/fesm2022/energinet-watt-core-date.mjs.map +0 -1
- package/fesm2022/energinet-watt-data.mjs.map +0 -1
- package/fesm2022/energinet-watt-datetime-field.mjs.map +0 -1
- package/fesm2022/energinet-watt-description-list.mjs.map +0 -1
- package/fesm2022/energinet-watt-drawer.mjs.map +0 -1
- package/fesm2022/energinet-watt-dropdown.mjs.map +0 -1
- package/fesm2022/energinet-watt-dropzone.mjs.map +0 -1
- package/fesm2022/energinet-watt-empty-state.mjs.map +0 -1
- package/fesm2022/energinet-watt-expandable-card.mjs.map +0 -1
- package/fesm2022/energinet-watt-field.mjs.map +0 -1
- package/fesm2022/energinet-watt-file-field.mjs.map +0 -1
- package/fesm2022/energinet-watt-icon-flags.mjs +0 -547
- package/fesm2022/energinet-watt-icon-flags.mjs.map +0 -1
- package/fesm2022/energinet-watt-icon.mjs.map +0 -1
- package/fesm2022/energinet-watt-menu.mjs +0 -282
- package/fesm2022/energinet-watt-menu.mjs.map +0 -1
- package/fesm2022/energinet-watt-modal.mjs.map +0 -1
- package/fesm2022/energinet-watt-paginator.mjs.map +0 -1
- package/fesm2022/energinet-watt-phone-field.mjs.map +0 -1
- package/fesm2022/energinet-watt-picker-__shared.mjs +0 -292
- package/fesm2022/energinet-watt-picker-__shared.mjs.map +0 -1
- package/fesm2022/energinet-watt-picker-datepicker.mjs.map +0 -1
- package/fesm2022/energinet-watt-picker-timepicker.mjs.map +0 -1
- package/fesm2022/energinet-watt-progress-tracker.mjs.map +0 -1
- package/fesm2022/energinet-watt-query-params.mjs.map +0 -1
- package/fesm2022/energinet-watt-radio.mjs.map +0 -1
- package/fesm2022/energinet-watt-search.mjs.map +0 -1
- package/fesm2022/energinet-watt-segmented-buttons.mjs.map +0 -1
- package/fesm2022/energinet-watt-shell.mjs +0 -303
- package/fesm2022/energinet-watt-shell.mjs.map +0 -1
- package/fesm2022/energinet-watt-slide-toggle.mjs.map +0 -1
- package/fesm2022/energinet-watt-slider.mjs.map +0 -1
- package/fesm2022/energinet-watt-spinner.mjs.map +0 -1
- package/fesm2022/energinet-watt-stepper.mjs.map +0 -1
- package/fesm2022/energinet-watt-table.mjs.map +0 -1
- package/fesm2022/energinet-watt-tabs.mjs +0 -254
- package/fesm2022/energinet-watt-tabs.mjs.map +0 -1
- package/fesm2022/energinet-watt-text-field.mjs.map +0 -1
- package/fesm2022/energinet-watt-textarea-field.mjs.map +0 -1
- package/fesm2022/energinet-watt-toast.mjs.map +0 -1
- package/fesm2022/energinet-watt-tooltip.mjs.map +0 -1
- package/fesm2022/energinet-watt-utils-css.mjs.map +0 -1
- package/fesm2022/energinet-watt-utils-intersection-observer.mjs.map +0 -1
- package/fesm2022/energinet-watt-utils-resize-observer.mjs +0 -143
- package/fesm2022/energinet-watt-utils-resize-observer.mjs.map +0 -1
- package/fesm2022/energinet-watt-validation-message.mjs.map +0 -1
- package/fesm2022/energinet-watt-validators.mjs.map +0 -1
- package/fesm2022/energinet-watt-vater.mjs +0 -248
- package/fesm2022/energinet-watt-vater.mjs.map +0 -1
- package/fesm2022/energinet-watt-year-field.mjs.map +0 -1
- package/fesm2022/energinet-watt-yearmonth-field.mjs.map +0 -1
- package/fesm2022/energinet-watt.mjs.map +0 -1
- package/types/energinet-watt-badge.d.ts +0 -19
- package/types/energinet-watt-button.d.ts +0 -23
- package/types/energinet-watt-card.d.ts +0 -24
- package/types/energinet-watt-checkbox.d.ts +0 -20
- package/types/energinet-watt-chip.d.ts +0 -104
- package/types/energinet-watt-clipboard.d.ts +0 -22
- package/types/energinet-watt-code.d.ts +0 -56
- package/types/energinet-watt-core-date.d.ts +0 -154
- package/types/energinet-watt-data.d.ts +0 -61
- package/types/energinet-watt-datetime-field.d.ts +0 -44
- package/types/energinet-watt-description-list.d.ts +0 -32
- package/types/energinet-watt-dropdown.d.ts +0 -167
- package/types/energinet-watt-dropzone.d.ts +0 -67
- package/types/energinet-watt-empty-state.d.ts +0 -39
- package/types/energinet-watt-field.d.ts +0 -62
- package/types/energinet-watt-file-field.d.ts +0 -13
- package/types/energinet-watt-icon-flags.d.ts +0 -61
- package/types/energinet-watt-icon.d.ts +0 -119
- package/types/energinet-watt-menu.d.ts +0 -119
- package/types/energinet-watt-modal.d.ts +0 -127
- package/types/energinet-watt-paginator.d.ts +0 -54
- package/types/energinet-watt-phone-field.d.ts +0 -79
- package/types/energinet-watt-picker-datepicker.d.ts +0 -90
- package/types/energinet-watt-progress-tracker.d.ts +0 -37
- package/types/energinet-watt-radio.d.ts +0 -71
- package/types/energinet-watt-search.d.ts +0 -47
- package/types/energinet-watt-segmented-buttons.d.ts +0 -48
- package/types/energinet-watt-shell.d.ts +0 -47
- package/types/energinet-watt-slide-toggle.d.ts +0 -20
- package/types/energinet-watt-slider.d.ts +0 -35
- package/types/energinet-watt-spinner.d.ts +0 -18
- package/types/energinet-watt-stepper.d.ts +0 -59
- package/types/energinet-watt-tabs.d.ts +0 -68
- package/types/energinet-watt-text-field.d.ts +0 -67
- package/types/energinet-watt-textarea-field.d.ts +0 -31
- package/types/energinet-watt-tooltip.d.ts +0 -20
- package/types/energinet-watt-validation-message.d.ts +0 -38
- package/types/energinet-watt-vater.d.ts +0 -87
- package/types/energinet-watt-year-field.d.ts +0 -60
- package/types/energinet-watt-yearmonth-field.d.ts +0 -64
|
@@ -1,167 +0,0 @@
|
|
|
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
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @license
|
|
10
|
-
* Copyright 2020 Energinet DataHub A/S
|
|
11
|
-
*
|
|
12
|
-
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
13
|
-
* you may not use this file except in compliance with the License.
|
|
14
|
-
* You may obtain a copy of the License at
|
|
15
|
-
*
|
|
16
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
17
|
-
*
|
|
18
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
19
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
20
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
21
|
-
* See the License for the specific language governing permissions and
|
|
22
|
-
* limitations under the License.
|
|
23
|
-
*/
|
|
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 };
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { Validator, AbstractControl, ValidationErrors, ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
|
|
4
|
-
declare class WattDropZoneIntlService {
|
|
5
|
-
prompt: string;
|
|
6
|
-
promptMultiple: string;
|
|
7
|
-
separator: string;
|
|
8
|
-
button: string;
|
|
9
|
-
buttonMultiple: string;
|
|
10
|
-
loadingMessage: string;
|
|
11
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WattDropZoneIntlService, never>;
|
|
12
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<WattDropZoneIntlService>;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Directive that validates the file type of provided files. This is automatically
|
|
17
|
-
* applied to the `WattDropZone` component via `hostDirectives`.
|
|
18
|
-
*/
|
|
19
|
-
declare class FileTypeValidator implements Validator {
|
|
20
|
-
component: WattDropZone;
|
|
21
|
-
validate(control: AbstractControl<File[] | null>): ValidationErrors | null;
|
|
22
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FileTypeValidator, never>;
|
|
23
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FileTypeValidator, never, never, {}, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Directive validating that a single file is selected when `multiple` is false.
|
|
27
|
-
* This is automatically applied to the `WattDropZone` component via `hostDirectives`.
|
|
28
|
-
*/
|
|
29
|
-
declare class MultipleFilesValidator implements Validator {
|
|
30
|
-
component: WattDropZone;
|
|
31
|
-
validate(control: AbstractControl<File[] | null>): ValidationErrors | null;
|
|
32
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MultipleFilesValidator, never>;
|
|
33
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MultipleFilesValidator, never, never, {}, {}, never, never, true, never>;
|
|
34
|
-
}
|
|
35
|
-
/** Validates that the file size is less than or equal to the specified maximum size. */
|
|
36
|
-
declare const limitFiles: (limit: number) => (control: AbstractControl<File[] | null>) => ValidationErrors | null;
|
|
37
|
-
/** Validates that the file size is less than or equal to the specified maximum size. */
|
|
38
|
-
declare const maxFileSize: (size: number) => (control: AbstractControl<File[] | null>) => ValidationErrors | null;
|
|
39
|
-
|
|
40
|
-
declare class WattDropZone implements ControlValueAccessor {
|
|
41
|
-
intl: WattDropZoneIntlService;
|
|
42
|
-
/** Whether the dropzone should accept multiple files. */
|
|
43
|
-
multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
44
|
-
/** Label for the dropzone. */
|
|
45
|
-
label: _angular_core.InputSignal<string | undefined>;
|
|
46
|
-
/** Comma-separated list of MIME types that the dropzone accepts. */
|
|
47
|
-
accept: _angular_core.InputSignalWithTransform<`${string}/${string}`[], `${string}/${string}`>;
|
|
48
|
-
/** Whether to show the progress bar. Use in conjunction with `progress`. */
|
|
49
|
-
showProgressBar: _angular_core.InputSignal<boolean>;
|
|
50
|
-
/** Value for the progress bar. Only shown when `showProgressBar` is true. */
|
|
51
|
-
progress: _angular_core.InputSignal<number>;
|
|
52
|
-
/** Message to display when `showProgressBar` is true. Overrides default implementation. */
|
|
53
|
-
loadingMessage: _angular_core.InputSignal<string | undefined>;
|
|
54
|
-
/** Emits when one or more files are selected. */
|
|
55
|
-
selected: _angular_core.OutputEmitterRef<File[]>;
|
|
56
|
-
dragOver: _angular_core.WritableSignal<boolean>;
|
|
57
|
-
handleChange(input: HTMLInputElement): void;
|
|
58
|
-
handleDrop(event: DragEvent): void;
|
|
59
|
-
handleDragOver(event: DragEvent): void;
|
|
60
|
-
writeValue: () => void;
|
|
61
|
-
registerOnTouched: (fn: () => void) => _angular_core.OutputRefSubscription;
|
|
62
|
-
registerOnChange: (fn: (value: File[]) => void) => _angular_core.OutputRefSubscription;
|
|
63
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WattDropZone, never>;
|
|
64
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WattDropZone, "watt-dropzone", never, { "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "showProgressBar": { "alias": "showProgressBar"; "required": false; "isSignal": true; }; "progress": { "alias": "progress"; "required": false; "isSignal": true; }; "loadingMessage": { "alias": "loadingMessage"; "required": false; "isSignal": true; }; }, { "selected": "selected"; }, never, ["*", "watt-field-error", "watt-field-warning", "watt-field-hint"], true, [{ directive: typeof FileTypeValidator; inputs: {}; outputs: {}; }, { directive: typeof MultipleFilesValidator; inputs: {}; outputs: {}; }]>;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export { FileTypeValidator, MultipleFilesValidator, WattDropZone, WattDropZoneIntlService, limitFiles, maxFileSize };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { WattIconSize } from '@energinet/watt/icon';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Usage:
|
|
6
|
-
* `import { WattEmptyStateComponent } from '@energinet/watt/empty-state';`
|
|
7
|
-
*/
|
|
8
|
-
declare class WattEmptyStateComponent {
|
|
9
|
-
icon: i0.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" | "left" | "right" | "up" | "down" | "arrowDropDown" | "arrowRightAlt" | "arrowLeftAlt" | "danger" | "warning" | "success" | "info" | "feedback" | "save" | "upload" | "download" | "fileDownload" | "fileUpload" | "print" | "preview" | "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" | undefined>;
|
|
10
|
-
size: i0.InputSignal<"small" | "large">;
|
|
11
|
-
title: i0.InputSignal<string>;
|
|
12
|
-
message: i0.InputSignal<string>;
|
|
13
|
-
useHTML: i0.InputSignal<boolean>;
|
|
14
|
-
iconSize: i0.Signal<WattIconSize>;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattEmptyStateComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WattEmptyStateComponent, "watt-empty-state", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "useHTML": { "alias": "useHTML"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
declare class WattEmptyStateExploreComponent {
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattEmptyStateExploreComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WattEmptyStateExploreComponent, "watt-empty-state-explore", never, {}, {}, never, never, true, never>;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare class WattEmptyStateNoResultsComponent {
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattEmptyStateNoResultsComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WattEmptyStateNoResultsComponent, "watt-empty-state-no-results", never, {}, {}, never, never, true, never>;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
declare class WattEmptyStatePowerComponent {
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattEmptyStatePowerComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WattEmptyStatePowerComponent, "watt-empty-state-power", never, {}, {}, never, never, true, never>;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
declare class WattEmptyStateNotFoundComponent {
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattEmptyStateNotFoundComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WattEmptyStateNotFoundComponent, "watt-empty-state-not-found", never, {}, {}, never, never, true, never>;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export { WattEmptyStateComponent, WattEmptyStateExploreComponent, WattEmptyStateNoResultsComponent, WattEmptyStateNotFoundComponent, WattEmptyStatePowerComponent };
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { ElementRef } from '@angular/core';
|
|
3
|
-
import { FormControl, ValidationErrors } from '@angular/forms';
|
|
4
|
-
import { Subject } from 'rxjs';
|
|
5
|
-
|
|
6
|
-
declare class WattFieldIntlService {
|
|
7
|
-
readonly changes: Subject<void>;
|
|
8
|
-
required: string;
|
|
9
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WattFieldIntlService, never>;
|
|
10
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<WattFieldIntlService>;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
declare class WattFieldComponent {
|
|
14
|
-
intl: WattFieldIntlService;
|
|
15
|
-
elementRef: ElementRef<any>;
|
|
16
|
-
control: _angular_core.InputSignal<FormControl<any> | null>;
|
|
17
|
-
label: _angular_core.InputSignal<string | undefined>;
|
|
18
|
-
id: _angular_core.InputSignal<string | undefined>;
|
|
19
|
-
/** @deprecated Use `displayMode` instead. */
|
|
20
|
-
chipMode: _angular_core.InputSignal<boolean>;
|
|
21
|
-
tooltip: _angular_core.InputSignal<string | undefined>;
|
|
22
|
-
placeholder: _angular_core.InputSignal<string>;
|
|
23
|
-
anchorName: _angular_core.InputSignal<string | undefined>;
|
|
24
|
-
displayMode: _angular_core.InputSignal<"box" | "chip" | "content">;
|
|
25
|
-
className: _angular_core.Signal<string>;
|
|
26
|
-
/**
|
|
27
|
-
* Whether the input should receive focus when the component is rendered.
|
|
28
|
-
*/
|
|
29
|
-
autoFocus: _angular_core.InputSignal<boolean>;
|
|
30
|
-
/** @ignore */
|
|
31
|
-
labelElement: _angular_core.Signal<ElementRef<HTMLLabelElement> | undefined>;
|
|
32
|
-
wattLabelElement: _angular_core.Signal<ElementRef<HTMLSpanElement> | undefined>;
|
|
33
|
-
value: _angular_core.WritableSignal<string>;
|
|
34
|
-
filler: _angular_core.Signal<string>;
|
|
35
|
-
ghost: _angular_core.Signal<string>;
|
|
36
|
-
errors: _angular_core.WritableSignal<ValidationErrors | null>;
|
|
37
|
-
isRequired: _angular_core.WritableSignal<boolean>;
|
|
38
|
-
isEmpty: _angular_core.Signal<any>;
|
|
39
|
-
showErrors: _angular_core.InputSignal<boolean>;
|
|
40
|
-
wrapper: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
41
|
-
constructor();
|
|
42
|
-
isRequiredControl(control: FormControl): boolean;
|
|
43
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WattFieldComponent, never>;
|
|
44
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WattFieldComponent, "watt-field", never, { "control": { "alias": "control"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "chipMode": { "alias": "chipMode"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "anchorName": { "alias": "anchorName"; "required": false; "isSignal": true; }; "displayMode": { "alias": "displayMode"; "required": false; "isSignal": true; }; "autoFocus": { "alias": "autoFocus"; "required": false; "isSignal": true; }; "showErrors": { "alias": "showErrors"; "required": false; "isSignal": true; }; }, {}, never, ["*", "watt-field-descriptor", "[popover]", "watt-field-hint", "watt-field-error", "watt-field-warning"], true, never>;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
declare class WattFieldErrorComponent {
|
|
48
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WattFieldErrorComponent, never>;
|
|
49
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WattFieldErrorComponent, "watt-field-error", never, {}, {}, never, ["*"], true, never>;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
declare class WattFieldHintComponent {
|
|
53
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WattFieldHintComponent, never>;
|
|
54
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WattFieldHintComponent, "watt-field-hint", never, {}, {}, never, ["*"], true, never>;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
declare class WattFieldWarningComponent {
|
|
58
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WattFieldWarningComponent, never>;
|
|
59
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WattFieldWarningComponent, "watt-field-warning", never, {}, {}, never, ["*"], true, never>;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export { WattFieldComponent, WattFieldErrorComponent, WattFieldHintComponent, WattFieldIntlService, WattFieldWarningComponent };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
|
|
3
|
-
declare class WattFileField {
|
|
4
|
-
readonly file: _angular_core.ModelSignal<File | undefined>;
|
|
5
|
-
readonly label: _angular_core.InputSignal<string>;
|
|
6
|
-
readonly placeholder: _angular_core.InputSignal<string>;
|
|
7
|
-
readonly clear: _angular_core.OutputEmitterRef<void>;
|
|
8
|
-
protected clearSubscription: _angular_core.OutputRefSubscription;
|
|
9
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WattFileField, never>;
|
|
10
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WattFileField, "watt-file-field", never, { "file": { "alias": "file"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; }, { "file": "fileChange"; "clear": "clear"; }, never, ["*"], true, never>;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export { WattFileField };
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { CountryCode } from 'libphonenumber-js';
|
|
3
|
-
import { WattIconSize } from '@energinet/watt/icon';
|
|
4
|
-
|
|
5
|
-
declare class WattFlagComponent {
|
|
6
|
-
/** Country code of the flag. */
|
|
7
|
-
country: i0.InputSignal<CountryCode>;
|
|
8
|
-
/** Accessible label for the icon. */
|
|
9
|
-
label: i0.InputSignal<string | undefined>;
|
|
10
|
-
/** Size of the icon. */
|
|
11
|
-
size: i0.InputSignal<WattIconSize>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattFlagComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WattFlagComponent, "watt-flag", never, { "country": { "alias": "country"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
declare class WattFlagDenmarkComponent {
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattFlagDenmarkComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WattFlagDenmarkComponent, "watt-flag-dk", never, {}, {}, never, never, true, never>;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
declare class WattFlagFinlandComponent {
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattFlagFinlandComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WattFlagFinlandComponent, "watt-flag-fi", never, {}, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
declare class WattFlagGermanyComponent {
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattFlagGermanyComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WattFlagGermanyComponent, "watt-flag-de", never, {}, {}, never, never, true, never>;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
declare class WattFlagNorwayComponent {
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattFlagNorwayComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WattFlagNorwayComponent, "watt-flag-no", never, {}, {}, never, never, true, never>;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
declare class WattFlagPolandComponent {
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattFlagPolandComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WattFlagPolandComponent, "watt-flag-pl", never, {}, {}, never, never, true, never>;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
declare class WattFlagSwedenComponent {
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattFlagSwedenComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WattFlagSwedenComponent, "watt-flag-se", never, {}, {}, never, never, true, never>;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
declare class WattFlagUnitedKingdomComponent {
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattFlagUnitedKingdomComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WattFlagUnitedKingdomComponent, "watt-flag-gb", never, {}, {}, never, never, true, never>;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
declare class WattFlagNetherlandsComponent {
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattFlagNetherlandsComponent, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WattFlagNetherlandsComponent, "watt-flag-nl", never, {}, {}, never, never, true, never>;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
declare class WattFlagSwitzerlandComponent {
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattFlagSwitzerlandComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WattFlagSwitzerlandComponent, "watt-flag-ch", never, {}, {}, never, never, true, never>;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export { WattFlagComponent, WattFlagDenmarkComponent, WattFlagFinlandComponent, WattFlagGermanyComponent, WattFlagNetherlandsComponent, WattFlagNorwayComponent, WattFlagPolandComponent, WattFlagSwedenComponent, WattFlagSwitzerlandComponent, WattFlagUnitedKingdomComponent };
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @license
|
|
5
|
-
* Copyright 2020 Energinet DataHub A/S
|
|
6
|
-
*
|
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
8
|
-
* you may not use this file except in compliance with the License.
|
|
9
|
-
* You may obtain a copy of the License at
|
|
10
|
-
*
|
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
-
*
|
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
-
* See the License for the specific language governing permissions and
|
|
17
|
-
* limitations under the License.
|
|
18
|
-
*/
|
|
19
|
-
declare const WattIconMap: {
|
|
20
|
-
search: string;
|
|
21
|
-
filter: string;
|
|
22
|
-
plus: string;
|
|
23
|
-
minus: string;
|
|
24
|
-
edit: string;
|
|
25
|
-
redo: string;
|
|
26
|
-
undo: string;
|
|
27
|
-
remove: string;
|
|
28
|
-
removeForever: string;
|
|
29
|
-
close: string;
|
|
30
|
-
cancel: string;
|
|
31
|
-
checkmark: string;
|
|
32
|
-
user: string;
|
|
33
|
-
settings: string;
|
|
34
|
-
contentCopy: string;
|
|
35
|
-
date: string;
|
|
36
|
-
time: string;
|
|
37
|
-
email: string;
|
|
38
|
-
markEmailUnread: string;
|
|
39
|
-
link: string;
|
|
40
|
-
openInNew: string;
|
|
41
|
-
monetization: string;
|
|
42
|
-
payments: string;
|
|
43
|
-
forwardMessage: string;
|
|
44
|
-
forward: string;
|
|
45
|
-
menu: string;
|
|
46
|
-
moreVertical: string;
|
|
47
|
-
logout: string;
|
|
48
|
-
login: string;
|
|
49
|
-
help: string;
|
|
50
|
-
alternateEmail: string;
|
|
51
|
-
refresh: string;
|
|
52
|
-
language: string;
|
|
53
|
-
pendingActions: string;
|
|
54
|
-
toggleOn: string;
|
|
55
|
-
toggleOff: string;
|
|
56
|
-
personCheck: string;
|
|
57
|
-
left: string;
|
|
58
|
-
right: string;
|
|
59
|
-
up: string;
|
|
60
|
-
down: string;
|
|
61
|
-
arrowDropDown: string;
|
|
62
|
-
arrowRightAlt: string;
|
|
63
|
-
arrowLeftAlt: string;
|
|
64
|
-
danger: string;
|
|
65
|
-
warning: string;
|
|
66
|
-
success: string;
|
|
67
|
-
info: string;
|
|
68
|
-
feedback: string;
|
|
69
|
-
save: string;
|
|
70
|
-
upload: string;
|
|
71
|
-
download: string;
|
|
72
|
-
fileDownload: string;
|
|
73
|
-
fileUpload: string;
|
|
74
|
-
print: string;
|
|
75
|
-
preview: string;
|
|
76
|
-
power: string;
|
|
77
|
-
location: string;
|
|
78
|
-
smartDisplay: string;
|
|
79
|
-
windmill: string;
|
|
80
|
-
solarPower: string;
|
|
81
|
-
priorityHigh: string;
|
|
82
|
-
notifications: string;
|
|
83
|
-
notificationsUnread: string;
|
|
84
|
-
horizontalRule: string;
|
|
85
|
-
wrongLocation: string;
|
|
86
|
-
heatPump: string;
|
|
87
|
-
inventory: string;
|
|
88
|
-
globe: string;
|
|
89
|
-
calculate: string;
|
|
90
|
-
bar_chart_4_bars: string;
|
|
91
|
-
view_list: string;
|
|
92
|
-
view_stream: string;
|
|
93
|
-
construction: string;
|
|
94
|
-
factory: string;
|
|
95
|
-
nest_eco_leaf: string;
|
|
96
|
-
flash_on: string;
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
type WattIcon = keyof typeof WattIconMap;
|
|
100
|
-
type WattIconSize = 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';
|
|
101
|
-
type WattIconState = 'default' | 'success' | 'danger' | 'warning' | 'info';
|
|
102
|
-
declare class WattIconComponent {
|
|
103
|
-
/** Name of an icon within the font set. */
|
|
104
|
-
name: _angular_core.InputSignal<"search" | "remove" | "edit" | "redo" | "undo" | "close" | "cancel" | "settings" | "email" | "link" | "payments" | "forward" | "menu" | "logout" | "help" | "refresh" | "language" | "info" | "feedback" | "download" | "upload" | "print" | "preview" | "power" | "notifications" | "inventory" | "globe" | "calculate" | "bar_chart_4_bars" | "view_list" | "view_stream" | "construction" | "factory" | "nest_eco_leaf" | "flash_on" | "success" | "danger" | "warning" | "filter" | "plus" | "minus" | "removeForever" | "checkmark" | "user" | "contentCopy" | "date" | "time" | "markEmailUnread" | "openInNew" | "monetization" | "forwardMessage" | "moreVertical" | "login" | "alternateEmail" | "pendingActions" | "toggleOn" | "toggleOff" | "personCheck" | "left" | "right" | "up" | "down" | "arrowDropDown" | "arrowRightAlt" | "arrowLeftAlt" | "save" | "fileDownload" | "fileUpload" | "location" | "smartDisplay" | "windmill" | "solarPower" | "priorityHigh" | "notificationsUnread" | "horizontalRule" | "wrongLocation" | "heatPump" | undefined>;
|
|
105
|
-
/** Accessible label for the icon. */
|
|
106
|
-
label: _angular_core.InputSignal<string | undefined>;
|
|
107
|
-
/** Size of the icon. */
|
|
108
|
-
size: _angular_core.InputSignal<WattIconSize>;
|
|
109
|
-
/** Color the icon to match a chosen state. */
|
|
110
|
-
state: _angular_core.InputSignal<WattIconState | undefined>;
|
|
111
|
-
icon: _angular_core.Signal<string | null>;
|
|
112
|
-
computedState: _angular_core.Signal<WattIconState>;
|
|
113
|
-
classNames: _angular_core.Signal<string>;
|
|
114
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WattIconComponent, never>;
|
|
115
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WattIconComponent, "watt-icon", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export { WattIconComponent };
|
|
119
|
-
export type { WattIcon, WattIconSize, WattIconState };
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import * as i1 from '@angular/material/menu';
|
|
3
|
-
import { MatMenu } from '@angular/material/menu';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Watt Menu Component
|
|
7
|
-
*
|
|
8
|
-
* A wrapper around Angular Material's menu component that provides consistent styling
|
|
9
|
-
* and integration with the Watt design system.
|
|
10
|
-
*
|
|
11
|
-
* @example Basic usage
|
|
12
|
-
* ```html
|
|
13
|
-
* <watt-button [wattMenuTriggerFor]="menu">
|
|
14
|
-
* Open Menu
|
|
15
|
-
* </watt-button>
|
|
16
|
-
*
|
|
17
|
-
* <watt-menu #menu>
|
|
18
|
-
* <watt-menu-item>Option 1</watt-menu-item>
|
|
19
|
-
* <watt-menu-item>Option 2</watt-menu-item>
|
|
20
|
-
* </watt-menu>
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @example With groups
|
|
24
|
-
* ```html
|
|
25
|
-
* <watt-menu #menu>
|
|
26
|
-
* <watt-menu-group label="File">
|
|
27
|
-
* <watt-menu-item>New</watt-menu-item>
|
|
28
|
-
* <watt-menu-item>Open</watt-menu-item>
|
|
29
|
-
* </watt-menu-group>
|
|
30
|
-
*
|
|
31
|
-
* <watt-menu-group label="Edit">
|
|
32
|
-
* <watt-menu-item>Cut</watt-menu-item>
|
|
33
|
-
* <watt-menu-item>Copy</watt-menu-item>
|
|
34
|
-
* </watt-menu-group>
|
|
35
|
-
* </watt-menu>
|
|
36
|
-
* ```
|
|
37
|
-
*/
|
|
38
|
-
declare class WattMenuComponent {
|
|
39
|
-
/**
|
|
40
|
-
* Reference to the underlying MatMenu instance.
|
|
41
|
-
* @ignore
|
|
42
|
-
*/
|
|
43
|
-
menu: i0.Signal<MatMenu>;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattMenuComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WattMenuComponent, "watt-menu", ["wattMenu"], {}, {}, never, ["*"], true, never>;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
declare class WattMenuItemComponent {
|
|
49
|
-
/**
|
|
50
|
-
* Whether the menu item is disabled.
|
|
51
|
-
*/
|
|
52
|
-
disabled: i0.InputSignal<boolean>;
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattMenuItemComponent, never>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WattMenuItemComponent, "watt-menu-item", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["watt-icon", "*"], true, never>;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
declare class WattMenuGroupComponent {
|
|
58
|
-
/**
|
|
59
|
-
* The label for the menu group.
|
|
60
|
-
*/
|
|
61
|
-
label: i0.InputSignal<string>;
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattMenuGroupComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WattMenuGroupComponent, "watt-menu-group", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Watt Menu Trigger Directive
|
|
68
|
-
*
|
|
69
|
-
* A wrapper around Angular Material's MatMenuTrigger directive that maintains
|
|
70
|
-
* the same API while keeping the Watt design system abstraction.
|
|
71
|
-
*
|
|
72
|
-
* @example
|
|
73
|
-
* ```html
|
|
74
|
-
* <watt-button [wattMenuTriggerFor]="menu">
|
|
75
|
-
* Open Menu
|
|
76
|
-
* </watt-button>
|
|
77
|
-
*
|
|
78
|
-
* <watt-menu #menu>
|
|
79
|
-
* <watt-menu-item>Option 1</watt-menu-item>
|
|
80
|
-
* <watt-menu-item>Option 2</watt-menu-item>
|
|
81
|
-
* </watt-menu>
|
|
82
|
-
* ```
|
|
83
|
-
*/
|
|
84
|
-
declare class WattMenuTriggerDirective {
|
|
85
|
-
private readonly matMenuTrigger;
|
|
86
|
-
wattMenuTriggerFor: i0.InputSignal<WattMenuComponent>;
|
|
87
|
-
constructor();
|
|
88
|
-
/** Opens the menu */
|
|
89
|
-
openMenu(): void;
|
|
90
|
-
/** Closes the menu */
|
|
91
|
-
closeMenu(): void;
|
|
92
|
-
/** Toggles the menu between the open and closed states */
|
|
93
|
-
toggleMenu(): void;
|
|
94
|
-
/** Whether the menu is open */
|
|
95
|
-
get menuOpen(): boolean;
|
|
96
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattMenuTriggerDirective, never>;
|
|
97
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<WattMenuTriggerDirective, "[wattMenuTriggerFor]", ["wattMenuTrigger"], { "wattMenuTriggerFor": { "alias": "wattMenuTriggerFor"; "required": true; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.MatMenuTrigger; inputs: {}; outputs: { "menuOpened": "menuOpened"; "menuClosed": "menuClosed"; }; }]>;
|
|
98
|
-
}
|
|
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 const WATT_MENU: readonly [typeof WattMenuComponent, typeof WattMenuItemComponent, typeof WattMenuGroupComponent, typeof WattMenuTriggerDirective];
|
|
118
|
-
|
|
119
|
-
export { WATT_MENU, WattMenuComponent, WattMenuGroupComponent, WattMenuItemComponent, WattMenuTriggerDirective };
|