@daffodil/design 0.76.0 → 0.78.0
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/accordion/README.md +40 -2
- package/accordion/accordion/accordion/accordion.component.d.ts +1 -1
- package/accordion/accordion/accordion-item/accordion-item.component.d.ts +19 -8
- package/accordion/accordion/accordion-item-title/accordion-item-title.directive.d.ts +1 -1
- package/accordion/accordion.d.ts +4 -0
- package/accordion/accordion.module.d.ts +6 -7
- package/accordion/examples/basic-accordion/basic-accordion.component.d.ts +1 -1
- package/accordion/examples/public_api.d.ts +0 -1
- package/accordion/public_api.d.ts +1 -0
- package/article/README.md +42 -1
- package/article/article/article.component.d.ts +1 -1
- package/article/article-meta/article-meta.directive.d.ts +1 -1
- package/article/article.d.ts +3 -0
- package/article/article.module.d.ts +5 -4
- package/article/public_api.d.ts +2 -1
- package/button/README.md +41 -0
- package/button/button/button.component.d.ts +1 -1
- package/button/button.d.ts +3 -0
- package/button/button.module.d.ts +4 -4
- package/button/public_api.d.ts +2 -1
- package/callout/README.md +42 -0
- package/callout/callout/callout.component.d.ts +1 -1
- package/callout/callout-body/callout-body.directive.d.ts +1 -1
- package/callout/callout-icon/callout-icon.directive.d.ts +1 -1
- package/callout/callout-subtitle/callout-subtitle.directive.d.ts +1 -1
- package/callout/callout-tagline/callout-tagline.directive.d.ts +1 -1
- package/callout/callout-title/callout-title.directive.d.ts +1 -1
- package/callout/callout.d.ts +7 -0
- package/callout/callout.module.d.ts +9 -8
- package/callout/public_api.d.ts +1 -0
- package/card/README.md +41 -0
- package/card/card/card.component.d.ts +1 -1
- package/card/card-actions/card-actions.directive.d.ts +1 -1
- package/card/card-content/card-content.directive.d.ts +1 -1
- package/card/card-icon/card-icon.directive.d.ts +1 -1
- package/card/card-image/card-image.directive.d.ts +1 -1
- package/card/card-tagline/card-tagline.directive.d.ts +1 -1
- package/card/card-title/card-title.directive.d.ts +1 -1
- package/card/card.d.ts +8 -0
- package/card/card.module.d.ts +12 -9
- package/card/public_api.d.ts +1 -0
- package/container/README.md +42 -1
- package/container/container/container.component.d.ts +1 -1
- package/container/container.d.ts +2 -0
- package/container/container.module.d.ts +6 -3
- package/container/public_api.d.ts +1 -0
- package/core/openable/openable.d.ts +13 -0
- package/core/openable/openable.directive.d.ts +81 -0
- package/core/openable/public_api.d.ts +2 -0
- package/core/openable/utils/state-error.d.ts +1 -0
- package/core/public_api.d.ts +1 -0
- package/esm2022/accordion/accordion/accordion/accordion.component.mjs +5 -5
- package/esm2022/accordion/accordion/accordion-item/accordion-item.component.mjs +39 -23
- package/esm2022/accordion/accordion/accordion-item-title/accordion-item-title.directive.mjs +5 -4
- package/esm2022/accordion/accordion/animation/accordion-animation-state.mjs +1 -1
- package/esm2022/accordion/accordion.mjs +9 -0
- package/esm2022/accordion/accordion.module.mjs +8 -16
- package/esm2022/accordion/examples/basic-accordion/basic-accordion.component.mjs +8 -5
- package/esm2022/accordion/examples/public_api.mjs +1 -2
- package/esm2022/accordion/public_api.mjs +2 -1
- package/esm2022/article/article/article.component.mjs +5 -5
- package/esm2022/article/article-meta/article-meta.directive.mjs +5 -4
- package/esm2022/article/article.mjs +7 -0
- package/esm2022/article/article.module.mjs +8 -8
- package/esm2022/article/examples/article-blockquote/article-blockquote.component.mjs +8 -6
- package/esm2022/article/examples/article-code-block/article-code-block.component.mjs +8 -6
- package/esm2022/article/examples/article-code-inline/article-code-inline.component.mjs +8 -6
- package/esm2022/article/examples/article-headings/article-headings.component.mjs +9 -5
- package/esm2022/article/examples/article-hr/article-hr.component.mjs +8 -6
- package/esm2022/article/examples/article-link/article-link.component.mjs +8 -6
- package/esm2022/article/examples/article-meta/article-meta.component.mjs +8 -6
- package/esm2022/article/examples/article-ol/article-ol.component.mjs +8 -6
- package/esm2022/article/examples/article-table/article-table.component.mjs +8 -6
- package/esm2022/article/examples/article-ul/article-ul.component.mjs +8 -6
- package/esm2022/article/public_api.mjs +3 -2
- package/esm2022/atoms/form/checkbox/checkbox.component.mjs +4 -4
- package/esm2022/atoms/form/checkbox/checkbox.module.mjs +5 -5
- package/esm2022/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +4 -4
- package/esm2022/atoms/form/checkbox-set/checkbox-set.component.mjs +4 -4
- package/esm2022/atoms/form/error-message/error-message.component.mjs +4 -4
- package/esm2022/atoms/form/error-message/error-message.module.mjs +5 -5
- package/esm2022/atoms/form/form-field/form-field/form-field.component.mjs +4 -4
- package/esm2022/atoms/form/form-field/form-field.module.mjs +5 -5
- package/esm2022/atoms/form/form-label/form-label.directive.mjs +4 -4
- package/esm2022/atoms/form/form-label/form-label.module.mjs +5 -5
- package/esm2022/atoms/form/input/input.component.mjs +4 -4
- package/esm2022/atoms/form/input/input.module.mjs +5 -5
- package/esm2022/atoms/form/native-select/native-select.component.mjs +4 -4
- package/esm2022/atoms/form/native-select/native-select.module.mjs +5 -5
- package/esm2022/atoms/form/quantity-field/quantity-field.component.mjs +4 -4
- package/esm2022/atoms/form/quantity-field/quantity-field.module.mjs +5 -5
- package/esm2022/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +4 -4
- package/esm2022/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +4 -4
- package/esm2022/atoms/form/radio/cva/radio-cva.directive.mjs +4 -4
- package/esm2022/atoms/form/radio/radio.component.mjs +4 -4
- package/esm2022/atoms/form/radio/radio.module.mjs +5 -5
- package/esm2022/atoms/form/radio/registry/radio-registry.mjs +4 -4
- package/esm2022/atoms/form/radio-set/radio-set.component.mjs +4 -4
- package/esm2022/breadcrumb/breadcrumb/breadcrumb.component.mjs +4 -4
- package/esm2022/breadcrumb/breadcrumb-item/breadcrumb-item.directive.mjs +4 -4
- package/esm2022/breadcrumb/breadcrumb.module.mjs +5 -5
- package/esm2022/breadcrumb/examples/basic-breadcrumb/basic-breadcrumb.component.mjs +4 -4
- package/esm2022/button/button/button-sizable.directive.mjs +4 -4
- package/esm2022/button/button/button.component.mjs +13 -8
- package/esm2022/button/button.mjs +7 -0
- package/esm2022/button/button.module.mjs +8 -14
- package/esm2022/button/examples/basic-button/basic-button.component.mjs +6 -8
- package/esm2022/button/examples/flat-button/flat-button.component.mjs +6 -8
- package/esm2022/button/examples/icon-button/icon-button.component.mjs +10 -6
- package/esm2022/button/examples/raised-button/raised-button.component.mjs +6 -8
- package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +10 -6
- package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +10 -6
- package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +6 -8
- package/esm2022/button/examples/underline-button/underline-button.component.mjs +6 -8
- package/esm2022/button/public_api.mjs +3 -2
- package/esm2022/callout/callout/callout.component.mjs +6 -6
- package/esm2022/callout/callout-body/callout-body.directive.mjs +5 -4
- package/esm2022/callout/callout-icon/callout-icon.directive.mjs +5 -4
- package/esm2022/callout/callout-subtitle/callout-subtitle.directive.mjs +5 -4
- package/esm2022/callout/callout-tagline/callout-tagline.directive.mjs +5 -4
- package/esm2022/callout/callout-title/callout-title.directive.mjs +5 -4
- package/esm2022/callout/callout.mjs +15 -0
- package/esm2022/callout/callout.module.mjs +8 -8
- package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +12 -11
- package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +10 -9
- package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +11 -10
- package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +11 -10
- package/esm2022/callout/public_api.mjs +2 -1
- package/esm2022/card/card/card.component.mjs +5 -5
- package/esm2022/card/card-actions/card-actions.directive.mjs +5 -4
- package/esm2022/card/card-content/card-content.directive.mjs +5 -4
- package/esm2022/card/card-icon/card-icon.directive.mjs +5 -4
- package/esm2022/card/card-image/card-image.directive.mjs +5 -4
- package/esm2022/card/card-tagline/card-tagline.directive.mjs +5 -4
- package/esm2022/card/card-title/card-title.directive.mjs +5 -4
- package/esm2022/card/card.mjs +17 -0
- package/esm2022/card/card.module.mjs +10 -8
- package/esm2022/card/examples/basic-card/basic-card.component.mjs +11 -10
- package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +12 -11
- package/esm2022/card/examples/card-theming/card-theming.component.mjs +6 -6
- package/esm2022/card/examples/linkable-card/linkable-card.component.mjs +8 -8
- package/esm2022/card/examples/raised-card/raised-card.component.mjs +8 -8
- package/esm2022/card/examples/stroked-card/stroked-card.component.mjs +8 -8
- package/esm2022/card/public_api.mjs +2 -1
- package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +6 -6
- package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +6 -6
- package/esm2022/container/container/container.component.mjs +5 -5
- package/esm2022/container/container.mjs +5 -0
- package/esm2022/container/container.module.mjs +9 -7
- package/esm2022/container/examples/container-sizes/container-sizes.component.mjs +6 -6
- package/esm2022/container/public_api.mjs +2 -1
- package/esm2022/core/article-encapsulated/article-encapsulated.directive.mjs +4 -4
- package/esm2022/core/breakpoints/noop.service.mjs +4 -4
- package/esm2022/core/colorable/colorable.directive.mjs +4 -4
- package/esm2022/core/compactable/compactable.directive.mjs +4 -4
- package/esm2022/core/focus/stack.service.mjs +4 -4
- package/esm2022/core/manage-container-layout/manage-container-layout.directive.mjs +4 -4
- package/esm2022/core/openable/openable.directive.mjs +122 -0
- package/esm2022/core/openable/openable.mjs +2 -0
- package/esm2022/core/openable/public_api.mjs +2 -0
- package/esm2022/core/openable/utils/state-error.mjs +2 -0
- package/esm2022/core/prefix-suffix/prefix-suffix.module.mjs +5 -5
- package/esm2022/core/prefix-suffix/prefix.directive.mjs +4 -4
- package/esm2022/core/prefix-suffix/prefixable/prefixable.mjs +4 -4
- package/esm2022/core/prefix-suffix/suffix.directive.mjs +4 -4
- package/esm2022/core/prefix-suffix/suffixable/suffixable.mjs +4 -4
- package/esm2022/core/public_api.mjs +2 -1
- package/esm2022/core/sizable/sizable.directive.mjs +4 -4
- package/esm2022/core/skeletonable/skeletonable.directive.mjs +4 -4
- package/esm2022/core/statusable/statusable.directive.mjs +4 -4
- package/esm2022/core/text-alignable/text-alignable.directive.mjs +4 -4
- package/esm2022/core/theming/functions/computer.mjs +1 -1
- package/esm2022/core/theming/services/class-setter/theme-class-setter.service.mjs +4 -4
- package/esm2022/core/theming/services/os-theme/ostheme.service.mjs +4 -4
- package/esm2022/core/theming/services/storage/theme-storage.service.mjs +4 -4
- package/esm2022/core/theming/services/theming.service.mjs +4 -4
- package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +9 -8
- package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +12 -11
- package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +10 -9
- package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +11 -10
- package/esm2022/hero/hero/hero.component.mjs +6 -9
- package/esm2022/hero/hero-body/hero-body.directive.mjs +5 -4
- package/esm2022/hero/hero-icon/hero-icon.directive.mjs +5 -4
- package/esm2022/hero/hero-subtitle/hero-subtitle.directive.mjs +5 -4
- package/esm2022/hero/hero-tagline/hero-tagline.directive.mjs +5 -4
- package/esm2022/hero/hero-title/hero-title.directive.mjs +5 -4
- package/esm2022/hero/hero.mjs +15 -0
- package/esm2022/hero/hero.module.mjs +10 -8
- package/esm2022/hero/public_api.mjs +2 -1
- package/esm2022/image/examples/basic-image/basic-image.component.mjs +8 -6
- package/esm2022/image/examples/load-image/load-image.component.mjs +9 -6
- package/esm2022/image/examples/skeleton-image/skeleton-image.component.mjs +8 -6
- package/esm2022/image/image/image.component.mjs +5 -5
- package/esm2022/image/image.mjs +5 -0
- package/esm2022/image/image.module.mjs +10 -8
- package/esm2022/image/public_api.mjs +2 -1
- package/esm2022/input/examples/basic-input/basic-input.component.mjs +4 -4
- package/esm2022/input/examples/input-disabled/input-disabled.component.mjs +4 -4
- package/esm2022/input/examples/input-error/input-error.component.mjs +4 -4
- package/esm2022/input/examples/input-with-form-field/input-with-form-field.component.mjs +4 -4
- package/esm2022/link-set/link-set/link-set.component.mjs +5 -5
- package/esm2022/link-set/link-set-heading/link-set-heading.directive.mjs +5 -4
- package/esm2022/link-set/link-set-item/link-set-item.component.mjs +5 -4
- package/esm2022/link-set/link-set-subheading/link-set-subheading.directive.mjs +5 -4
- package/esm2022/link-set/link-set.mjs +11 -0
- package/esm2022/link-set/link-set.module.mjs +11 -9
- package/esm2022/link-set/public_api.mjs +2 -1
- package/esm2022/list/examples/basic-list/basic-list.component.mjs +9 -6
- package/esm2022/list/examples/icon-list/icon-list.component.mjs +6 -8
- package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +9 -6
- package/esm2022/list/examples/nav-list/nav-list.component.mjs +6 -8
- package/esm2022/list/list/list.component.mjs +5 -5
- package/esm2022/list/list-item/list-item.component.mjs +10 -7
- package/esm2022/list/list.mjs +9 -0
- package/esm2022/list/list.module.mjs +11 -11
- package/esm2022/list/public_api.mjs +2 -1
- package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +6 -6
- package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +8 -6
- package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +5 -5
- package/esm2022/loading-icon/loading-icon.mjs +5 -0
- package/esm2022/loading-icon/loading-icon.module.mjs +9 -7
- package/esm2022/loading-icon/public_api.mjs +2 -1
- package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +10 -7
- package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +10 -7
- package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +10 -7
- package/esm2022/media-gallery/media-gallery/media-gallery.component.mjs +11 -7
- package/esm2022/media-gallery/media-gallery.mjs +9 -0
- package/esm2022/media-gallery/media-gallery.module.mjs +14 -12
- package/esm2022/media-gallery/media-renderer/media-renderer.component.mjs +5 -4
- package/esm2022/media-gallery/public_api.mjs +2 -1
- package/esm2022/media-gallery/registry/media-gallery.registry.mjs +4 -4
- package/esm2022/media-gallery/thumbnail/thumbnail.directive.mjs +5 -4
- package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +11 -7
- package/esm2022/menu/examples/basic-menu/menu-content/menu-content.component.mjs +8 -5
- package/esm2022/menu/menu/menu.component.mjs +8 -5
- package/esm2022/menu/menu-activator/menu-activator.component.mjs +5 -4
- package/esm2022/menu/menu-item/menu-item.component.mjs +10 -7
- package/esm2022/menu/menu.module.mjs +11 -10
- package/esm2022/menu/services/menu.service.mjs +10 -9
- package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +15 -7
- package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +11 -7
- package/esm2022/modal/modal/modal.component.mjs +48 -22
- package/esm2022/modal/modal-actions/modal-actions.component.mjs +5 -4
- package/esm2022/modal/modal-close/modal-close.directive.mjs +5 -4
- package/esm2022/modal/modal-content/modal-content.component.mjs +5 -4
- package/esm2022/modal/modal-header/modal-header.component.mjs +16 -9
- package/esm2022/modal/modal-title/modal-title.directive.mjs +5 -4
- package/esm2022/modal/modal.mjs +13 -0
- package/esm2022/modal/modal.module.mjs +20 -14
- package/esm2022/modal/public_api.mjs +2 -1
- package/esm2022/modal/service/modal.service.mjs +10 -8
- package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +11 -7
- package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +11 -10
- package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +10 -9
- package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +11 -7
- package/esm2022/navbar/navbar/navbar.component.mjs +5 -8
- package/esm2022/navbar/navbar.mjs +5 -0
- package/esm2022/navbar/navbar.module.mjs +12 -6
- package/esm2022/navbar/public_api.mjs +2 -1
- package/esm2022/notification/examples/default-notification/default-notification.component.mjs +8 -8
- package/esm2022/notification/examples/dismissible-notification/dismissible-notification.component.mjs +6 -6
- package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +8 -8
- package/esm2022/notification/examples/notification-status/notification-status.component.mjs +8 -8
- package/esm2022/notification/examples/notification-with-actions/notification-with-actions.component.mjs +8 -8
- package/esm2022/notification/notification/notification.component.mjs +12 -8
- package/esm2022/notification/notification-actions/notification-actions.directive.mjs +5 -4
- package/esm2022/notification/notification-message/notification-message.directive.mjs +5 -4
- package/esm2022/notification/notification-subtitle/notification-subtitle.directive.mjs +5 -4
- package/esm2022/notification/notification-title/notification-title.directive.mjs +5 -4
- package/esm2022/notification/notification.mjs +15 -0
- package/esm2022/notification/notification.module.mjs +14 -11
- package/esm2022/notification/public_api.mjs +2 -1
- package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +6 -6
- package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +6 -6
- package/esm2022/paginator/paginator/paginator.component.mjs +14 -11
- package/esm2022/paginator/paginator.mjs +5 -0
- package/esm2022/paginator/paginator.module.mjs +12 -9
- package/esm2022/paginator/public_api.mjs +2 -1
- package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.component.mjs +8 -6
- package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.mjs +8 -6
- package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.mjs +9 -6
- package/esm2022/progress-bar/progress-bar-label/progress-bar-label.directive.mjs +20 -0
- package/esm2022/progress-bar/progress-bar.component.mjs +7 -5
- package/esm2022/progress-bar/progress-bar.mjs +7 -0
- package/esm2022/progress-bar/progress-bar.module.mjs +14 -7
- package/esm2022/progress-bar/public_api.mjs +3 -1
- package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +4 -4
- package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +4 -4
- package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +4 -4
- package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +4 -4
- package/esm2022/radio/examples/basic-radio/basic-radio.component.mjs +4 -4
- package/esm2022/sidebar/animation/sidebar-animation-state.mjs +1 -1
- package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +8 -6
- package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +11 -10
- package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.mjs +7 -7
- package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.mjs +8 -6
- package/esm2022/sidebar/public_api.mjs +2 -1
- package/esm2022/sidebar/service/sidebar.service.mjs +1 -1
- package/esm2022/sidebar/sidebar/is-opening.mjs +1 -1
- package/esm2022/sidebar/sidebar/sidebar.component.mjs +36 -16
- package/esm2022/sidebar/sidebar-footer/sidebar-footer.component.mjs +5 -5
- package/esm2022/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.mjs +5 -4
- package/esm2022/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.mjs +5 -4
- package/esm2022/sidebar/sidebar-header/sidebar-header.component.mjs +5 -5
- package/esm2022/sidebar/sidebar-viewport/helper/has-parent-viewport.mjs +1 -1
- package/esm2022/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +24 -40
- package/esm2022/sidebar/sidebar-viewport/utils/content-pad.mjs +6 -6
- package/esm2022/sidebar/sidebar-viewport/utils/content-shift.mjs +1 -1
- package/esm2022/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.mjs +5 -5
- package/esm2022/sidebar/sidebar.mjs +17 -0
- package/esm2022/sidebar/sidebar.module.mjs +11 -9
- package/esm2022/toast/examples/default-toast/default-toast.component.mjs +9 -6
- package/esm2022/toast/examples/toast-positions/toast-positions.component.mjs +11 -7
- package/esm2022/toast/examples/toast-status/toast-status.component.mjs +14 -9
- package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.mjs +9 -6
- package/esm2022/toast/public_api.mjs +2 -1
- package/esm2022/toast/service/position-strategy.mjs +1 -1
- package/esm2022/toast/service/position.service.mjs +4 -4
- package/esm2022/toast/service/toast.service.mjs +10 -11
- package/esm2022/toast/toast/toast-provider.mjs +7 -0
- package/esm2022/toast/toast/toast-template.component.mjs +32 -14
- package/esm2022/toast/toast/toast.component.mjs +8 -11
- package/esm2022/toast/toast-actions/toast-actions.directive.mjs +5 -4
- package/esm2022/toast/toast-message/toast-message.directive.mjs +5 -4
- package/esm2022/toast/toast-title/toast-title.directive.mjs +5 -4
- package/esm2022/toast/toast.module.mjs +13 -14
- package/esm2022/tree/examples/basic-tree/basic-tree.component.mjs +9 -6
- package/esm2022/tree/examples/deep-tree/deep-tree.component.mjs +54 -0
- package/esm2022/tree/examples/public_api.mjs +4 -2
- package/esm2022/tree/public_api.mjs +2 -2
- package/esm2022/tree/tree/tree.component.mjs +10 -7
- package/esm2022/tree/tree-item/tree-item.directive.mjs +5 -4
- package/esm2022/tree/tree.mjs +7 -0
- package/esm2022/tree/tree.module.mjs +12 -10
- package/esm2022/tree/utils/flatten-tree.mjs +7 -3
- package/esm2022/tree/utils/transform.mjs +1 -1
- package/esm2022/tree/utils/traverse-tree.mjs +1 -1
- package/fesm2022/daffodil-design-accordion-examples.mjs +9 -28
- package/fesm2022/daffodil-design-accordion-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-accordion.mjs +59 -45
- package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
- package/fesm2022/daffodil-design-article-examples.mjs +61 -41
- package/fesm2022/daffodil-design-article-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-article.mjs +22 -16
- package/fesm2022/daffodil-design-article.mjs.map +1 -1
- package/fesm2022/daffodil-design-breadcrumb-examples.mjs +3 -3
- package/fesm2022/daffodil-design-breadcrumb-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-breadcrumb.mjs +10 -10
- package/fesm2022/daffodil-design-breadcrumb.mjs.map +1 -1
- package/fesm2022/daffodil-design-button-examples.mjs +43 -40
- package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-button.mjs +29 -26
- package/fesm2022/daffodil-design-button.mjs.map +1 -1
- package/fesm2022/daffodil-design-callout-examples.mjs +28 -27
- package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-callout.mjs +42 -28
- package/fesm2022/daffodil-design-callout.mjs.map +1 -1
- package/fesm2022/daffodil-design-card-examples.mjs +35 -34
- package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-card.mjs +48 -30
- package/fesm2022/daffodil-design-card.mjs.map +1 -1
- package/fesm2022/daffodil-design-checkbox-examples.mjs +9 -9
- package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-container-examples.mjs +5 -5
- package/fesm2022/daffodil-design-container-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-container.mjs +17 -11
- package/fesm2022/daffodil-design-container.mjs.map +1 -1
- package/fesm2022/daffodil-design-hero-examples.mjs +27 -26
- package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-hero.mjs +44 -31
- package/fesm2022/daffodil-design-hero.mjs.map +1 -1
- package/fesm2022/daffodil-design-image-examples.mjs +20 -13
- package/fesm2022/daffodil-design-image-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-image.mjs +18 -12
- package/fesm2022/daffodil-design-image.mjs.map +1 -1
- package/fesm2022/daffodil-design-input-examples.mjs +12 -12
- package/fesm2022/daffodil-design-input-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-link-set.mjs +34 -22
- package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
- package/fesm2022/daffodil-design-list-examples.mjs +22 -21
- package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-list.mjs +29 -21
- package/fesm2022/daffodil-design-list.mjs.map +1 -1
- package/fesm2022/daffodil-design-loading-icon-examples.mjs +11 -9
- package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-loading-icon.mjs +17 -11
- package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
- package/fesm2022/daffodil-design-media-gallery-examples.mjs +23 -14
- package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-media-gallery.mjs +80 -67
- package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
- package/fesm2022/daffodil-design-menu-examples.mjs +16 -9
- package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-menu.mjs +64 -57
- package/fesm2022/daffodil-design-menu.mjs.map +1 -1
- package/fesm2022/daffodil-design-modal-examples.mjs +21 -10
- package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-modal.mjs +113 -66
- package/fesm2022/daffodil-design-modal.mjs.map +1 -1
- package/fesm2022/daffodil-design-navbar-examples.mjs +30 -23
- package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-navbar.mjs +20 -13
- package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification-examples.mjs +26 -26
- package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification.mjs +50 -32
- package/fesm2022/daffodil-design-notification.mjs.map +1 -1
- package/fesm2022/daffodil-design-paginator-examples.mjs +9 -9
- package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-paginator.mjs +28 -21
- package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
- package/fesm2022/daffodil-design-progress-bar-examples.mjs +20 -13
- package/fesm2022/daffodil-design-progress-bar-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-progress-bar.mjs +43 -13
- package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
- package/fesm2022/daffodil-design-quantity-field-examples.mjs +12 -12
- package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-radio-examples.mjs +3 -3
- package/fesm2022/daffodil-design-radio-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-sidebar-examples.mjs +27 -22
- package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-sidebar.mjs +102 -84
- package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
- package/fesm2022/daffodil-design-toast-examples.mjs +32 -20
- package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-toast.mjs +156 -137
- package/fesm2022/daffodil-design-toast.mjs.map +1 -1
- package/fesm2022/daffodil-design-tree-examples.mjs +59 -6
- package/fesm2022/daffodil-design-tree-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-tree.mjs +36 -44
- package/fesm2022/daffodil-design-tree.mjs.map +1 -1
- package/fesm2022/daffodil-design.mjs +258 -137
- package/fesm2022/daffodil-design.mjs.map +1 -1
- package/hero/README.md +41 -0
- package/hero/hero/hero.component.d.ts +1 -4
- package/hero/hero-body/hero-body.directive.d.ts +1 -1
- package/hero/hero-icon/hero-icon.directive.d.ts +1 -1
- package/hero/hero-subtitle/hero-subtitle.directive.d.ts +1 -1
- package/hero/hero-tagline/hero-tagline.directive.d.ts +1 -1
- package/hero/hero-title/hero-title.directive.d.ts +1 -1
- package/hero/hero.d.ts +7 -0
- package/hero/hero.module.d.ts +11 -8
- package/hero/public_api.d.ts +1 -0
- package/image/README.md +43 -7
- package/image/image/image.component.d.ts +1 -1
- package/image/image.d.ts +2 -0
- package/image/image.module.d.ts +6 -3
- package/image/public_api.d.ts +1 -0
- package/link-set/README.md +42 -1
- package/link-set/link-set/link-set.component.d.ts +1 -1
- package/link-set/link-set-heading/link-set-heading.directive.d.ts +1 -1
- package/link-set/link-set-item/link-set-item.component.d.ts +1 -1
- package/link-set/link-set-subheading/link-set-subheading.directive.d.ts +1 -1
- package/link-set/link-set.d.ts +5 -0
- package/link-set/link-set.module.d.ts +9 -6
- package/link-set/public_api.d.ts +1 -0
- package/list/README.md +42 -1
- package/list/list/list.component.d.ts +1 -1
- package/list/list-item/list-item.component.d.ts +1 -1
- package/list/list.d.ts +4 -0
- package/list/list.module.d.ts +7 -4
- package/list/public_api.d.ts +1 -0
- package/loading-icon/README.md +41 -0
- package/loading-icon/loading-icon/loading-icon.component.d.ts +1 -1
- package/loading-icon/loading-icon.d.ts +2 -0
- package/loading-icon/loading-icon.module.d.ts +6 -3
- package/loading-icon/public_api.d.ts +1 -0
- package/media-gallery/README.md +41 -0
- package/media-gallery/media-gallery/media-gallery.component.d.ts +1 -1
- package/media-gallery/media-gallery.d.ts +4 -0
- package/media-gallery/media-gallery.module.d.ts +8 -5
- package/media-gallery/media-renderer/media-renderer.component.d.ts +1 -1
- package/media-gallery/public_api.d.ts +1 -0
- package/media-gallery/thumbnail/thumbnail.directive.d.ts +1 -1
- package/menu/README.md +23 -0
- package/menu/menu/menu.component.d.ts +1 -1
- package/menu/menu-activator/menu-activator.component.d.ts +1 -1
- package/menu/menu-item/menu-item.component.d.ts +1 -1
- package/menu/menu.module.d.ts +6 -6
- package/menu/services/menu.service.d.ts +3 -2
- package/modal/README.md +41 -0
- package/modal/modal/modal.component.d.ts +20 -8
- package/modal/modal-actions/modal-actions.component.d.ts +1 -1
- package/modal/modal-close/modal-close.directive.d.ts +1 -1
- package/modal/modal-content/modal-content.component.d.ts +1 -1
- package/modal/modal-header/modal-header.component.d.ts +1 -1
- package/modal/modal-title/modal-title.directive.d.ts +1 -1
- package/modal/modal.d.ts +6 -0
- package/modal/modal.module.d.ts +15 -12
- package/modal/public_api.d.ts +1 -0
- package/navbar/README.md +41 -0
- package/navbar/navbar/navbar.component.d.ts +1 -4
- package/navbar/navbar.d.ts +2 -0
- package/navbar/navbar.module.d.ts +6 -2
- package/navbar/public_api.d.ts +1 -0
- package/notification/README.md +41 -0
- package/notification/notification/notification.component.d.ts +1 -1
- package/notification/notification-actions/notification-actions.directive.d.ts +1 -1
- package/notification/notification-message/notification-message.directive.d.ts +1 -1
- package/notification/notification-subtitle/notification-subtitle.directive.d.ts +1 -1
- package/notification/notification-title/notification-title.directive.d.ts +1 -1
- package/notification/notification.d.ts +7 -0
- package/notification/notification.module.d.ts +12 -9
- package/notification/public_api.d.ts +1 -0
- package/package.json +1 -1
- package/paginator/README.md +45 -4
- package/paginator/paginator/paginator.component.d.ts +1 -4
- package/paginator/paginator.d.ts +2 -0
- package/paginator/paginator.module.d.ts +8 -5
- package/paginator/public_api.d.ts +1 -0
- package/progress-bar/README.md +41 -0
- package/progress-bar/progress-bar-label/progress-bar-label.directive.d.ts +6 -0
- package/progress-bar/progress-bar.component.d.ts +1 -1
- package/progress-bar/progress-bar.d.ts +3 -0
- package/progress-bar/progress-bar.module.d.ts +7 -3
- package/progress-bar/public_api.d.ts +2 -0
- package/sidebar/README.md +78 -20
- package/sidebar/public_api.d.ts +1 -0
- package/sidebar/sidebar/sidebar.component.d.ts +19 -8
- package/sidebar/sidebar-footer/sidebar-footer.component.d.ts +1 -1
- package/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.d.ts +1 -1
- package/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.d.ts +1 -1
- package/sidebar/sidebar-header/sidebar-header.component.d.ts +1 -1
- package/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +5 -17
- package/sidebar/sidebar-viewport/utils/content-pad.d.ts +2 -2
- package/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.d.ts +1 -1
- package/sidebar/sidebar.d.ts +8 -0
- package/sidebar/sidebar.module.d.ts +13 -10
- package/toast/README.md +108 -33
- package/toast/public_api.d.ts +1 -0
- package/toast/service/toast.service.d.ts +4 -3
- package/toast/src/toast-theme.scss +1 -1
- package/toast/toast/toast-provider.d.ts +2 -0
- package/toast/toast/toast-template.component.d.ts +1 -1
- package/toast/toast/toast.component.d.ts +1 -3
- package/toast/toast-actions/toast-actions.directive.d.ts +1 -1
- package/toast/toast-message/toast-message.directive.d.ts +1 -1
- package/toast/toast-title/toast-title.directive.d.ts +1 -1
- package/toast/toast.module.d.ts +14 -12
- package/tree/README.md +41 -0
- package/tree/examples/deep-tree/deep-tree.component.d.ts +7 -0
- package/tree/examples/public_api.d.ts +2 -1
- package/tree/public_api.d.ts +1 -2
- package/tree/tree/tree.component.d.ts +1 -1
- package/tree/tree-item/tree-item.directive.d.ts +1 -1
- package/tree/tree.d.ts +3 -0
- package/tree/tree.module.d.ts +7 -4
- package/tree/utils/transform.d.ts +1 -1
- package/tree/utils/traverse-tree.d.ts +1 -1
- package/accordion/examples/accordion-examples.module.d.ts +0 -9
- package/esm2022/accordion/examples/accordion-examples.module.mjs +0 -26
- package/esm2022/tree/utils/transform-in-place.mjs +0 -23
- package/tree/utils/transform-in-place.d.ts +0 -15
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as i2 from '@angular/common';
|
2
2
|
import { CommonModule, isPlatformBrowser, DOCUMENT } from '@angular/common';
|
3
3
|
import * as i0 from '@angular/core';
|
4
|
-
import { Component, ViewEncapsulation, HostBinding, Input, ContentChild, ChangeDetectionStrategy, NgModule, Optional, Self, HostListener, EventEmitter, ElementRef, ViewChild, Output, Directive, ContentChildren, Injectable, InjectionToken, inject, PLATFORM_ID, Inject, APP_INITIALIZER } from '@angular/core';
|
4
|
+
import { Component, ViewEncapsulation, HostBinding, Input, ContentChild, ChangeDetectionStrategy, NgModule, Optional, Self, HostListener, EventEmitter, ElementRef, ViewChild, Output, Directive, ContentChildren, Injectable, InjectionToken, inject, PLATFORM_ID, Inject, APP_INITIALIZER, isDevMode } from '@angular/core';
|
5
5
|
import * as i2$1 from '@fortawesome/angular-fontawesome';
|
6
6
|
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
7
7
|
import { faChevronDown } from '@fortawesome/free-solid-svg-icons';
|
@@ -115,10 +115,10 @@ class DaffFormFieldComponent {
|
|
115
115
|
ngAfterContentChecked() {
|
116
116
|
this._validateFormControl();
|
117
117
|
}
|
118
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
119
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
118
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
119
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffFormFieldComponent, selector: "daff-form-field", inputs: { formSubmitted: "formSubmitted" }, host: { properties: { "class.daff-form-field": "this.class" } }, queries: [{ propertyName: "_control", first: true, predicate: DaffFormFieldControl, descendants: true }], ngImport: i0, template: "<div class=\"daff-form-field__control\" [class.daff-error]=\"isError\" [class.daff-valid]=\"isValid\" [class.daff-focus]=\"isFocused\">\n <ng-content></ng-content>\n <div class=\"daff-form-field__icon\" *ngIf=\"_control.controlType === 'native-select'\">\n <fa-icon [icon]=\"faChevronDown\"></fa-icon>\n </div>\n</div>\n<ng-content select=\"daff-error-message\"></ng-content>\n", styles: [".daff-form-field{display:block;position:relative}.daff-form-field__control{border-radius:3px;display:inline-block;font-size:1rem;height:inherit;line-height:1.5rem;padding:10px 15px;width:100%}.daff-form-field__icon{display:inline-block;pointer-events:none;position:absolute;right:15px}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
120
120
|
}
|
121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormFieldComponent, decorators: [{
|
122
122
|
type: Component,
|
123
123
|
args: [{ selector: 'daff-form-field', encapsulation: ViewEncapsulation.None, template: "<div class=\"daff-form-field__control\" [class.daff-error]=\"isError\" [class.daff-valid]=\"isValid\" [class.daff-focus]=\"isFocused\">\n <ng-content></ng-content>\n <div class=\"daff-form-field__icon\" *ngIf=\"_control.controlType === 'native-select'\">\n <fa-icon [icon]=\"faChevronDown\"></fa-icon>\n </div>\n</div>\n<ng-content select=\"daff-error-message\"></ng-content>\n", styles: [".daff-form-field{display:block;position:relative}.daff-form-field__control{border-radius:3px;display:inline-block;font-size:1rem;height:inherit;line-height:1.5rem;padding:10px 15px;width:100%}.daff-form-field__icon{display:inline-block;pointer-events:none;position:absolute;right:15px}\n"] }]
|
124
124
|
}], propDecorators: { class: [{
|
@@ -135,10 +135,10 @@ class DaffErrorMessageComponent {
|
|
135
135
|
constructor() {
|
136
136
|
this.class = true;
|
137
137
|
}
|
138
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
139
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
138
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffErrorMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
139
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffErrorMessageComponent, selector: "daff-error-message", host: { properties: { "class.daff-error-message": "this.class" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block;font-size:.875rem;margin-top:5px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
140
140
|
}
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffErrorMessageComponent, decorators: [{
|
142
142
|
type: Component,
|
143
143
|
args: [{ selector: 'daff-error-message', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;font-size:.875rem;margin-top:5px}\n"] }]
|
144
144
|
}], propDecorators: { class: [{
|
@@ -147,11 +147,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
147
147
|
}] } });
|
148
148
|
|
149
149
|
class DaffErrorMessageModule {
|
150
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
151
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
152
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
150
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffErrorMessageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
151
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffErrorMessageModule, declarations: [DaffErrorMessageComponent], exports: [DaffErrorMessageComponent] }); }
|
152
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffErrorMessageModule }); }
|
153
153
|
}
|
154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffErrorMessageModule, decorators: [{
|
155
155
|
type: NgModule,
|
156
156
|
args: [{
|
157
157
|
exports: [
|
@@ -164,16 +164,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
164
164
|
}] });
|
165
165
|
|
166
166
|
class DaffFormFieldModule {
|
167
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
168
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
167
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
168
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffFormFieldModule, declarations: [DaffFormFieldComponent], imports: [CommonModule,
|
169
169
|
FontAwesomeModule,
|
170
170
|
DaffErrorMessageModule], exports: [DaffFormFieldComponent,
|
171
171
|
DaffErrorMessageModule] }); }
|
172
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
172
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormFieldModule, imports: [CommonModule,
|
173
173
|
FontAwesomeModule,
|
174
174
|
DaffErrorMessageModule, DaffErrorMessageModule] }); }
|
175
175
|
}
|
176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormFieldModule, decorators: [{
|
177
177
|
type: NgModule,
|
178
178
|
args: [{
|
179
179
|
imports: [
|
@@ -219,13 +219,13 @@ class DaffInputComponent {
|
|
219
219
|
onFocus() {
|
220
220
|
this._elementRef.nativeElement.focus();
|
221
221
|
}
|
222
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
223
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
222
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInputComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
223
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffInputComponent, selector: "input[daff-input]", inputs: { formSubmitted: "formSubmitted" }, host: { listeners: { "focus": "focus()", "blur": "blur()" } }, providers: [
|
224
224
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
225
225
|
{ provide: DaffFormFieldControl, useExisting: DaffInputComponent },
|
226
226
|
], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{border:none;border-radius:4px;box-shadow:none;font-size:1rem;line-height:1.5rem;margin:0;padding:0;width:100%;box-sizing:border-box}:host:focus{border:none;box-shadow:none;outline:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
227
227
|
}
|
228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInputComponent, decorators: [{
|
229
229
|
type: Component,
|
230
230
|
args: [{ selector: 'input[daff-input]', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
231
231
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
@@ -246,11 +246,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
246
246
|
}] } });
|
247
247
|
|
248
248
|
class DaffInputModule {
|
249
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
250
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
251
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
249
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
250
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffInputModule, declarations: [DaffInputComponent], imports: [CommonModule], exports: [DaffInputComponent] }); }
|
251
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInputModule, imports: [CommonModule] }); }
|
252
252
|
}
|
253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInputModule, decorators: [{
|
254
254
|
type: NgModule,
|
255
255
|
args: [{
|
256
256
|
imports: [
|
@@ -295,13 +295,13 @@ class DaffNativeSelectComponent {
|
|
295
295
|
onFocus() {
|
296
296
|
this._elementRef.nativeElement.focus();
|
297
297
|
}
|
298
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
299
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
298
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffNativeSelectComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
299
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffNativeSelectComponent, selector: "select[daff-native-select]", inputs: { formSubmitted: "formSubmitted" }, host: { listeners: { "focus": "focus()", "blur": "blur()" }, properties: { "class.daff-native-select": "this.class" } }, providers: [
|
300
300
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
301
301
|
{ provide: DaffFormFieldControl, useExisting: DaffNativeSelectComponent },
|
302
302
|
], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".daff-native-select{appearance:none;background:transparent;background-clip:padding-box;border:0;box-shadow:none;font-size:1rem;line-height:1.5rem;margin:0;min-width:45px;width:100%}.daff-native-select:focus{border:0;box-shadow:none;outline:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
303
303
|
}
|
304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffNativeSelectComponent, decorators: [{
|
305
305
|
type: Component,
|
306
306
|
args: [{ selector: 'select[daff-native-select]', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
307
307
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
@@ -325,11 +325,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
325
325
|
}] } });
|
326
326
|
|
327
327
|
class DaffNativeSelectModule {
|
328
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
329
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
330
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
328
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffNativeSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
329
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffNativeSelectModule, declarations: [DaffNativeSelectComponent], imports: [CommonModule], exports: [DaffNativeSelectComponent] }); }
|
330
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffNativeSelectModule, imports: [CommonModule] }); }
|
331
331
|
}
|
332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffNativeSelectModule, decorators: [{
|
333
333
|
type: NgModule,
|
334
334
|
args: [{
|
335
335
|
imports: [
|
@@ -446,10 +446,10 @@ class DaffCheckboxComponent {
|
|
446
446
|
this.checked = false;
|
447
447
|
this._cdRef.markForCheck();
|
448
448
|
}
|
449
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
450
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
449
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCheckboxComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
450
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffCheckboxComponent, selector: "daff-checkbox", inputs: { name: "name", value: "value", checked: "checked", id: "id", label: ["aria-label", "label"], labeledBy: ["aria-labelledby", "labeledBy"] }, outputs: { becameChecked: "becameChecked", becameUnchecked: "becameUnchecked" }, host: { properties: { "attr.role": "this.role", "class.focused": "this.focusClass", "class.disabled": "this.disabledClass" } }, viewQueries: [{ propertyName: "nativeCheckbox", first: true, predicate: ["inputElement"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: "<input #inputElement\ntype=\"checkbox\"\n[attr.aria-label]=\"label\"\n[attr.aria-labelledby]=\"labeledBy\"\n[attr.checked]=\"checked ? '' : null\"\n[attr.id] = \"id\"\n[attr.value]=\"value\"\n[attr.name]=\"name\"\n[attr.disabled] = \"disabled ? '' : null\" \n(change)=\"_onChange($event)\"\n(blur)=\"onBlur()\"\n(focus)=\"onFocus()\"\n/>\n<label [attr.for]=\"id\"><ng-content></ng-content></label>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
451
451
|
}
|
452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
452
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCheckboxComponent, decorators: [{
|
453
453
|
type: Component,
|
454
454
|
args: [{ selector: 'daff-checkbox', changeDetection: ChangeDetectionStrategy.OnPush, template: "<input #inputElement\ntype=\"checkbox\"\n[attr.aria-label]=\"label\"\n[attr.aria-labelledby]=\"labeledBy\"\n[attr.checked]=\"checked ? '' : null\"\n[attr.id] = \"id\"\n[attr.value]=\"value\"\n[attr.name]=\"name\"\n[attr.disabled] = \"disabled ? '' : null\" \n(change)=\"_onChange($event)\"\n(blur)=\"onBlur()\"\n(focus)=\"onFocus()\"\n/>\n<label [attr.for]=\"id\"><ng-content></ng-content></label>" }]
|
455
455
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { nativeCheckbox: [{
|
@@ -553,10 +553,10 @@ class DaffCheckboxControlValueAccessorDirective {
|
|
553
553
|
fireDeselect() {
|
554
554
|
this._checkbox.deselect();
|
555
555
|
}
|
556
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
557
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
556
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCheckboxControlValueAccessorDirective, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: DaffCheckboxComponent }], target: i0.ɵɵFactoryTarget.Directive }); }
|
557
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffCheckboxControlValueAccessorDirective, selector: "daff-checkbox[ngModel], daff-checkbox[formControl], daff-checkbox[formControlName]", inputs: { value: "value", name: "name" }, ngImport: i0 }); }
|
558
558
|
}
|
559
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCheckboxControlValueAccessorDirective, decorators: [{
|
560
560
|
type: Directive,
|
561
561
|
args: [{
|
562
562
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
@@ -586,10 +586,10 @@ class DaffCheckboxSetComponent {
|
|
586
586
|
const checkboxes = this.checkboxes.toArray();
|
587
587
|
return this.formArray.value.map((element, index) => element === true ? checkboxes[index].value : false).filter(element => element !== false);
|
588
588
|
}
|
589
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
590
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
589
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCheckboxSetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
590
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffCheckboxSetComponent, selector: "daff-checkbox-set", inputs: { formArray: "formArray", name: "name" }, outputs: { valueList: "valueList" }, host: { properties: { "attr.role": "this.role" } }, queries: [{ propertyName: "checkboxes", predicate: DaffCheckboxComponent }], ngImport: i0, template: "<ng-content></ng-content>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
591
591
|
}
|
592
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCheckboxSetComponent, decorators: [{
|
593
593
|
type: Component,
|
594
594
|
args: [{ selector: 'daff-checkbox-set', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>" }]
|
595
595
|
}], propDecorators: { formArray: [{
|
@@ -607,17 +607,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
607
607
|
}] } });
|
608
608
|
|
609
609
|
class DaffCheckboxModule {
|
610
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
611
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
610
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
611
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffCheckboxModule, declarations: [DaffCheckboxComponent,
|
612
612
|
DaffCheckboxSetComponent,
|
613
613
|
DaffCheckboxControlValueAccessorDirective], imports: [CommonModule], exports: [DaffCheckboxComponent,
|
614
614
|
DaffCheckboxSetComponent,
|
615
615
|
DaffCheckboxControlValueAccessorDirective] }); }
|
616
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
616
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCheckboxModule, providers: [
|
617
617
|
DaffCheckboxSetComponent,
|
618
618
|
], imports: [CommonModule] }); }
|
619
619
|
}
|
620
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCheckboxModule, decorators: [{
|
621
621
|
type: NgModule,
|
622
622
|
args: [{
|
623
623
|
exports: [
|
@@ -712,10 +712,10 @@ class DaffQuantityInputComponent {
|
|
712
712
|
? this._inputControl.disable()
|
713
713
|
: this._inputControl.enable();
|
714
714
|
}
|
715
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
716
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
715
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffQuantityInputComponent, deps: [{ token: i1.NgControl }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
716
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffQuantityInputComponent, selector: "daff-quantity-input", inputs: { min: "min", max: "max" }, viewQueries: [{ propertyName: "input", first: true, predicate: DaffInputComponent, descendants: true }], ngImport: i0, template: "<input daff-input\n type=\"number\"\n [attr.max]=\"max\"\n [attr.min]=\"min\"\n [attr.step]=\"1\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n (change)=\"onValueChange($event)\"\n [formControl]=\"_inputControl\"\n>\n", dependencies: [{ kind: "component", type: DaffInputComponent, selector: "input[daff-input]", inputs: ["formSubmitted"] }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
717
717
|
}
|
718
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
718
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffQuantityInputComponent, decorators: [{
|
719
719
|
type: Component,
|
720
720
|
args: [{ selector: 'daff-quantity-input', changeDetection: ChangeDetectionStrategy.OnPush, template: "<input daff-input\n type=\"number\"\n [attr.max]=\"max\"\n [attr.min]=\"min\"\n [attr.step]=\"1\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n (change)=\"onValueChange($event)\"\n [formControl]=\"_inputControl\"\n>\n" }]
|
721
721
|
}], ctorParameters: () => [{ type: i1.NgControl }, { type: i0.ChangeDetectorRef }], propDecorators: { input: [{
|
@@ -787,10 +787,10 @@ class DaffQuantitySelectComponent {
|
|
787
787
|
get valueArray() {
|
788
788
|
return makeValueArray(this.min, this.max, this.increment);
|
789
789
|
}
|
790
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
791
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
790
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffQuantitySelectComponent, deps: [{ token: i1.NgControl }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
791
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffQuantitySelectComponent, selector: "daff-quantity-select", inputs: { min: "min", max: "max", extendable: "extendable" }, viewQueries: [{ propertyName: "select", first: true, predicate: DaffNativeSelectComponent, descendants: true }], ngImport: i0, template: "<select daff-native-select\n [formControl]=\"ngControl.control\"\n (focus)=\"onFocus()\"\n>\n <option *ngFor=\"let item of valueArray\" [value]=\"item\">{{ item }}</option>\n <option [value]=\"max\" *ngIf=\"extendable\">{{ max }}+</option>\n <option [value]=\"max\" *ngIf=\"!extendable\">{{ max }}</option>\n</select>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DaffNativeSelectComponent, selector: "select[daff-native-select]", inputs: ["formSubmitted"] }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
792
792
|
}
|
793
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
793
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffQuantitySelectComponent, decorators: [{
|
794
794
|
type: Component,
|
795
795
|
args: [{ selector: 'daff-quantity-select', changeDetection: ChangeDetectionStrategy.OnPush, template: "<select daff-native-select\n [formControl]=\"ngControl.control\"\n (focus)=\"onFocus()\"\n>\n <option *ngFor=\"let item of valueArray\" [value]=\"item\">{{ item }}</option>\n <option [value]=\"max\" *ngIf=\"extendable\">{{ max }}+</option>\n <option [value]=\"max\" *ngIf=\"!extendable\">{{ max }}</option>\n</select>\n" }]
|
796
796
|
}], ctorParameters: () => [{ type: i1.NgControl }, { type: i0.ChangeDetectorRef }], propDecorators: { select: [{
|
@@ -892,8 +892,8 @@ class DaffQuantityFieldComponent {
|
|
892
892
|
this.input.focus();
|
893
893
|
}
|
894
894
|
}
|
895
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
896
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
895
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffQuantityFieldComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
896
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffQuantityFieldComponent, selector: "daff-quantity-field", inputs: { min: "min", max: "max", selectMax: "selectMax", id: "id" }, providers: [
|
897
897
|
{
|
898
898
|
provide: DaffFormFieldControl,
|
899
899
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
@@ -901,7 +901,7 @@ class DaffQuantityFieldComponent {
|
|
901
901
|
},
|
902
902
|
], viewQueries: [{ propertyName: "input", first: true, predicate: DaffQuantityInputComponent, descendants: true }, { propertyName: "select", first: true, predicate: DaffQuantitySelectComponent, descendants: true }], ngImport: i0, template: "<daff-quantity-select\n *ngIf=\"showSelectField\"\n [min]=\"min\"\n [max]=\"_maxFloor\"\n [extendable]=\"max > selectMax\"\n [id]=\"id\">\n</daff-quantity-select>\n<daff-quantity-input\n *ngIf=\"showInputField\"\n [min]=\"min\"\n [max]=\"max\"\n [id]=\"id\">\n</daff-quantity-input>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DaffQuantityInputComponent, selector: "daff-quantity-input", inputs: ["min", "max"] }, { kind: "component", type: DaffQuantitySelectComponent, selector: "daff-quantity-select", inputs: ["min", "max", "extendable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
903
903
|
}
|
904
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
904
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffQuantityFieldComponent, decorators: [{
|
905
905
|
type: Component,
|
906
906
|
args: [{ selector: 'daff-quantity-field', providers: [
|
907
907
|
{
|
@@ -931,8 +931,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
931
931
|
}] } });
|
932
932
|
|
933
933
|
class DaffQuantityFieldModule {
|
934
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
935
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
934
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffQuantityFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
935
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffQuantityFieldModule, declarations: [DaffQuantityFieldComponent,
|
936
936
|
DaffQuantityInputComponent,
|
937
937
|
DaffQuantitySelectComponent], imports: [CommonModule,
|
938
938
|
DaffNativeSelectModule,
|
@@ -940,12 +940,12 @@ class DaffQuantityFieldModule {
|
|
940
940
|
ReactiveFormsModule], exports: [DaffQuantityFieldComponent,
|
941
941
|
DaffQuantityInputComponent,
|
942
942
|
DaffQuantitySelectComponent] }); }
|
943
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
943
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffQuantityFieldModule, imports: [CommonModule,
|
944
944
|
DaffNativeSelectModule,
|
945
945
|
DaffInputModule,
|
946
946
|
ReactiveFormsModule] }); }
|
947
947
|
}
|
948
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffQuantityFieldModule, decorators: [{
|
949
949
|
type: NgModule,
|
950
950
|
args: [{
|
951
951
|
declarations: [
|
@@ -974,10 +974,10 @@ class DaffRadioSetComponent {
|
|
974
974
|
*/
|
975
975
|
this.role = 'radiogroup';
|
976
976
|
}
|
977
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
978
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
977
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffRadioSetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
978
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffRadioSetComponent, selector: "daff-radio-set", inputs: { name: "name" }, host: { properties: { "attr.role": "this.role" } }, ngImport: i0, template: "<ng-content></ng-content>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
979
979
|
}
|
980
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffRadioSetComponent, decorators: [{
|
981
981
|
type: Component,
|
982
982
|
args: [{ selector: 'daff-radio-set', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>" }]
|
983
983
|
}], ctorParameters: () => [], propDecorators: { name: [{
|
@@ -1080,10 +1080,10 @@ class DaffRadioComponent {
|
|
1080
1080
|
this.select();
|
1081
1081
|
}
|
1082
1082
|
;
|
1083
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1084
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
1083
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffRadioComponent, deps: [{ token: DaffRadioSetComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
1084
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffRadioComponent, selector: "daff-radio", inputs: { checked: "checked", value: "value", id: "id", name: "name", label: ["aria-label", "label"], labelledby: ["aria-labelledby", "labelledby"] }, outputs: { selectionChange: "selectionChange" }, host: { properties: { "attr.role": "this.role", "class.focused": "this.focusClass", "class.disabled": "this.disabledClass" } }, ngImport: i0, template: "<input type=\"radio\" \n[attr.checked]=\"checked ? '' : null\" \n[attr.id]=\"id\" \n[attr.name]=\"name\" \n[attr.aria-label]=\"label\"\n[attr.aria-labelledby]=\"labelledby\"\n[attr.value]=\"value\"\n[attr.disabled] = \"disabled ? '' : null\" \n(change)=\"onChange()\"\n(blur)=\"onBlur()\"\n(focus)=\"onFocus()\"/>\n<label [attr.for]=\"id\">\n <ng-content></ng-content>\n</label>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
1085
1085
|
}
|
1086
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1086
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffRadioComponent, decorators: [{
|
1087
1087
|
type: Component,
|
1088
1088
|
args: [{ selector: 'daff-radio', changeDetection: ChangeDetectionStrategy.OnPush, template: "<input type=\"radio\" \n[attr.checked]=\"checked ? '' : null\" \n[attr.id]=\"id\" \n[attr.name]=\"name\" \n[attr.aria-label]=\"label\"\n[attr.aria-labelledby]=\"labelledby\"\n[attr.value]=\"value\"\n[attr.disabled] = \"disabled ? '' : null\" \n(change)=\"onChange()\"\n(blur)=\"onBlur()\"\n(focus)=\"onFocus()\"/>\n<label [attr.for]=\"id\">\n <ng-content></ng-content>\n</label>" }]
|
1089
1089
|
}], ctorParameters: () => [{ type: DaffRadioSetComponent, decorators: [{
|
@@ -1159,10 +1159,10 @@ class DaffRadioRegistry {
|
|
1159
1159
|
return controlPair['control'].control.parent === accessor._control.control.parent
|
1160
1160
|
&& controlPair['accessor'].name === accessor.name;
|
1161
1161
|
}
|
1162
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1163
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
1162
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffRadioRegistry, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1163
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffRadioRegistry, providedIn: 'root' }); }
|
1164
1164
|
}
|
1165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffRadioRegistry, decorators: [{
|
1166
1166
|
type: Injectable,
|
1167
1167
|
args: [{ providedIn: 'root' }]
|
1168
1168
|
}] });
|
@@ -1229,10 +1229,10 @@ class DaffRadioControlValueAccessorDirective {
|
|
1229
1229
|
fireDeselect() {
|
1230
1230
|
this._radio.deselect();
|
1231
1231
|
}
|
1232
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1233
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
1232
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffRadioControlValueAccessorDirective, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: DaffRadioRegistry }, { token: DaffRadioComponent }], target: i0.ɵɵFactoryTarget.Directive }); }
|
1233
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffRadioControlValueAccessorDirective, selector: "daff-radio[ngModel], daff-radio[formControl], daff-radio[formControlName]", inputs: { value: "value", name: "name" }, ngImport: i0 }); }
|
1234
1234
|
}
|
1235
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffRadioControlValueAccessorDirective, decorators: [{
|
1236
1236
|
type: Directive,
|
1237
1237
|
args: [{
|
1238
1238
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
@@ -1249,15 +1249,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
1249
1249
|
}] } });
|
1250
1250
|
|
1251
1251
|
class DaffRadioModule {
|
1252
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1253
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
1252
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1253
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffRadioModule, declarations: [DaffRadioControlValueAccessorDirective,
|
1254
1254
|
DaffRadioComponent,
|
1255
1255
|
DaffRadioSetComponent], imports: [CommonModule], exports: [DaffRadioComponent,
|
1256
1256
|
DaffRadioSetComponent,
|
1257
1257
|
DaffRadioControlValueAccessorDirective] }); }
|
1258
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
1258
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffRadioModule, imports: [CommonModule] }); }
|
1259
1259
|
}
|
1260
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1260
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffRadioModule, decorators: [{
|
1261
1261
|
type: NgModule,
|
1262
1262
|
args: [{
|
1263
1263
|
exports: [
|
@@ -1280,10 +1280,10 @@ class DaffFormLabelDirective {
|
|
1280
1280
|
constructor() {
|
1281
1281
|
this.class = true;
|
1282
1282
|
}
|
1283
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1284
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
1283
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
1284
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffFormLabelDirective, selector: "[daffFormLabel]", host: { properties: { "class.daff-form-label": "this.class" } }, ngImport: i0 }); }
|
1285
1285
|
}
|
1286
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormLabelDirective, decorators: [{
|
1287
1287
|
type: Directive,
|
1288
1288
|
args: [{
|
1289
1289
|
selector: '[daffFormLabel]',
|
@@ -1294,11 +1294,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
1294
1294
|
}] } });
|
1295
1295
|
|
1296
1296
|
class DaffFormLabelModule {
|
1297
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1298
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
1299
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
1297
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1298
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffFormLabelModule, declarations: [DaffFormLabelDirective], exports: [DaffFormLabelDirective] }); }
|
1299
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormLabelModule }); }
|
1300
1300
|
}
|
1301
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1301
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormLabelModule, decorators: [{
|
1302
1302
|
type: NgModule,
|
1303
1303
|
args: [{
|
1304
1304
|
exports: [
|
@@ -1319,10 +1319,10 @@ class DaffPrefixDirective {
|
|
1319
1319
|
constructor() {
|
1320
1320
|
this.class = true;
|
1321
1321
|
}
|
1322
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1323
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
1322
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffPrefixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
1323
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffPrefixDirective, selector: "[daffPrefix]", host: { properties: { "class.daff-prefix": "this.class" } }, ngImport: i0 }); }
|
1324
1324
|
}
|
1325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffPrefixDirective, decorators: [{
|
1326
1326
|
type: Directive,
|
1327
1327
|
args: [{
|
1328
1328
|
selector: '[daffPrefix]',
|
@@ -1341,10 +1341,10 @@ class DaffSuffixDirective {
|
|
1341
1341
|
constructor() {
|
1342
1342
|
this.class = true;
|
1343
1343
|
}
|
1344
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1345
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
1344
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffSuffixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
1345
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffSuffixDirective, selector: "[daffSuffix]", host: { properties: { "class.daff-suffix": "this.class" } }, ngImport: i0 }); }
|
1346
1346
|
}
|
1347
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1347
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffSuffixDirective, decorators: [{
|
1348
1348
|
type: Directive,
|
1349
1349
|
args: [{
|
1350
1350
|
selector: '[daffSuffix]',
|
@@ -1355,13 +1355,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
1355
1355
|
}] } });
|
1356
1356
|
|
1357
1357
|
class DaffPrefixSuffixModule {
|
1358
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1359
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
1358
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffPrefixSuffixModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1359
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffPrefixSuffixModule, declarations: [DaffPrefixDirective,
|
1360
1360
|
DaffSuffixDirective], exports: [DaffPrefixDirective,
|
1361
1361
|
DaffSuffixDirective] }); }
|
1362
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
1362
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffPrefixSuffixModule }); }
|
1363
1363
|
}
|
1364
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffPrefixSuffixModule, decorators: [{
|
1365
1365
|
type: NgModule,
|
1366
1366
|
args: [{
|
1367
1367
|
imports: [],
|
@@ -1384,10 +1384,10 @@ function daffSuffixableMixin(Base) {
|
|
1384
1384
|
constructor(...args) {
|
1385
1385
|
super(...args);
|
1386
1386
|
}
|
1387
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1388
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
1387
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SuffixableDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
1388
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: SuffixableDirective, queries: [{ propertyName: "_suffix", first: true, predicate: DaffSuffixDirective, descendants: true, static: true }], usesInheritance: true, ngImport: i0 }); }
|
1389
1389
|
}
|
1390
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SuffixableDirective, decorators: [{
|
1391
1391
|
type: Directive
|
1392
1392
|
}], ctorParameters: () => [{ type: undefined }], propDecorators: { _suffix: [{
|
1393
1393
|
type: ContentChild,
|
@@ -1404,10 +1404,10 @@ function daffPrefixableMixin(Base) {
|
|
1404
1404
|
constructor(...args) {
|
1405
1405
|
super(...args);
|
1406
1406
|
}
|
1407
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1408
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
1407
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: PrefixableDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
1408
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: PrefixableDirective, queries: [{ propertyName: "_prefix", first: true, predicate: DaffPrefixDirective, descendants: true, static: true }], usesInheritance: true, ngImport: i0 }); }
|
1409
1409
|
}
|
1410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: PrefixableDirective, decorators: [{
|
1411
1411
|
type: Directive
|
1412
1412
|
}], ctorParameters: () => [{ type: undefined }], propDecorators: { _prefix: [{
|
1413
1413
|
type: ContentChild,
|
@@ -1538,10 +1538,10 @@ class DaffColorableDirective {
|
|
1538
1538
|
this.color = this.defaultColor;
|
1539
1539
|
}
|
1540
1540
|
}
|
1541
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1542
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
1541
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffColorableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
1542
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffColorableDirective, isStandalone: true, selector: "[daffColorable]", inputs: { color: "color" }, host: { properties: { "class": "this.class" } }, usesOnChanges: true, ngImport: i0 }); }
|
1543
1543
|
}
|
1544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffColorableDirective, decorators: [{
|
1545
1545
|
type: Directive,
|
1546
1546
|
args: [{
|
1547
1547
|
selector: '[daffColorable]',
|
@@ -1576,10 +1576,10 @@ class NoopBreakpointObserver {
|
|
1576
1576
|
observe(value) {
|
1577
1577
|
return of();
|
1578
1578
|
}
|
1579
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1580
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
1579
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: NoopBreakpointObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1580
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: NoopBreakpointObserver, providedIn: 'root' }); }
|
1581
1581
|
}
|
1582
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1582
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: NoopBreakpointObserver, decorators: [{
|
1583
1583
|
type: Injectable,
|
1584
1584
|
args: [{
|
1585
1585
|
providedIn: 'root',
|
@@ -1669,10 +1669,10 @@ class DaffStatusableDirective {
|
|
1669
1669
|
'daff-success': this.status === DaffStatusEnum.Success,
|
1670
1670
|
};
|
1671
1671
|
}
|
1672
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1673
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
1672
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffStatusableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
1673
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffStatusableDirective, isStandalone: true, selector: "[daffStatusable]", inputs: { status: "status" }, host: { properties: { "class": "this.class" } }, ngImport: i0 }); }
|
1674
1674
|
}
|
1675
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1675
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffStatusableDirective, decorators: [{
|
1676
1676
|
type: Directive,
|
1677
1677
|
args: [{
|
1678
1678
|
selector: '[daffStatusable]',
|
@@ -1733,10 +1733,10 @@ class DaffSkeletonableDirective {
|
|
1733
1733
|
constructor() {
|
1734
1734
|
this.skeleton = false;
|
1735
1735
|
}
|
1736
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1737
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
1736
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffSkeletonableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
1737
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffSkeletonableDirective, isStandalone: true, selector: "[daffSkeletonable]", inputs: { skeleton: "skeleton" }, host: { properties: { "class.daff-skeleton": "this.skeleton" } }, ngImport: i0 }); }
|
1738
1738
|
}
|
1739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffSkeletonableDirective, decorators: [{
|
1740
1740
|
type: Directive,
|
1741
1741
|
args: [{
|
1742
1742
|
selector: '[daffSkeletonable]',
|
@@ -1821,10 +1821,10 @@ class DaffTextAlignableDirective {
|
|
1821
1821
|
this.textAlignment = this.defaultAlignment;
|
1822
1822
|
}
|
1823
1823
|
}
|
1824
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1825
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
1824
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTextAlignableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
1825
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffTextAlignableDirective, isStandalone: true, selector: "[daffTextAlignable]", inputs: { textAlignment: "textAlignment" }, host: { properties: { "class": "this.class" } }, usesOnChanges: true, ngImport: i0 }); }
|
1826
1826
|
}
|
1827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTextAlignableDirective, decorators: [{
|
1828
1828
|
type: Directive,
|
1829
1829
|
args: [{
|
1830
1830
|
selector: '[daffTextAlignable]',
|
@@ -1889,10 +1889,10 @@ class DaffCompactableDirective {
|
|
1889
1889
|
constructor() {
|
1890
1890
|
this.compact = false;
|
1891
1891
|
}
|
1892
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1893
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
1892
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCompactableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
1893
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffCompactableDirective, isStandalone: true, selector: "[daffCompactable]", inputs: { compact: "compact" }, host: { properties: { "class.daff-compact": "this.compact" } }, ngImport: i0 }); }
|
1894
1894
|
}
|
1895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1895
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCompactableDirective, decorators: [{
|
1896
1896
|
type: Directive,
|
1897
1897
|
args: [{
|
1898
1898
|
selector: '[daffCompactable]',
|
@@ -1969,10 +1969,10 @@ class DaffManageContainerLayoutDirective {
|
|
1969
1969
|
constructor() {
|
1970
1970
|
this.class = true;
|
1971
1971
|
}
|
1972
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1973
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
1972
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffManageContainerLayoutDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
1973
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffManageContainerLayoutDirective, isStandalone: true, selector: "[daffManageContainerLayout]", host: { properties: { "class.daff-manage-container-layout": "this.class" } }, ngImport: i0 }); }
|
1974
1974
|
}
|
1975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffManageContainerLayoutDirective, decorators: [{
|
1976
1976
|
type: Directive,
|
1977
1977
|
args: [{
|
1978
1978
|
selector: '[daffManageContainerLayout]',
|
@@ -2012,10 +2012,10 @@ class DaffArticleEncapsulatedDirective {
|
|
2012
2012
|
constructor() {
|
2013
2013
|
this.class = true;
|
2014
2014
|
}
|
2015
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2016
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
2015
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffArticleEncapsulatedDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
2016
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffArticleEncapsulatedDirective, isStandalone: true, selector: "[daffArticleEncapsulated]", host: { properties: { "class.daff-ae": "this.class" } }, ngImport: i0 }); }
|
2017
2017
|
}
|
2018
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffArticleEncapsulatedDirective, decorators: [{
|
2019
2019
|
type: Directive,
|
2020
2020
|
args: [{
|
2021
2021
|
selector: '[daffArticleEncapsulated]',
|
@@ -2066,10 +2066,10 @@ class DaffOsThemeService {
|
|
2066
2066
|
getThemePreference() {
|
2067
2067
|
return this.preference$;
|
2068
2068
|
}
|
2069
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2070
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
2069
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffOsThemeService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2070
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffOsThemeService, providedIn: 'root' }); }
|
2071
2071
|
}
|
2072
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2072
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffOsThemeService, decorators: [{
|
2073
2073
|
type: Injectable,
|
2074
2074
|
args: [{
|
2075
2075
|
providedIn: 'root',
|
@@ -2123,10 +2123,10 @@ class DaffThemeStorageService {
|
|
2123
2123
|
this.progressStorageEvent(DaffTheme.None);
|
2124
2124
|
this.storage.removeItem(THEME_STORAGE_KEY);
|
2125
2125
|
}
|
2126
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2127
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
2126
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffThemeStorageService, deps: [{ token: DaffServerSafePersistenceServiceToken }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2127
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffThemeStorageService, providedIn: 'root' }); }
|
2128
2128
|
}
|
2129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffThemeStorageService, decorators: [{
|
2130
2130
|
type: Injectable,
|
2131
2131
|
args: [{
|
2132
2132
|
providedIn: 'root',
|
@@ -2197,10 +2197,10 @@ class DaffThemingService {
|
|
2197
2197
|
? this.lightMode()
|
2198
2198
|
: this.darkMode();
|
2199
2199
|
}
|
2200
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2201
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
2200
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffThemingService, deps: [{ token: DaffOsThemeService }, { token: DaffThemeStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2201
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffThemingService, providedIn: 'root' }); }
|
2202
2202
|
}
|
2203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffThemingService, decorators: [{
|
2204
2204
|
type: Injectable,
|
2205
2205
|
args: [{
|
2206
2206
|
providedIn: 'root',
|
@@ -2243,10 +2243,10 @@ class DaffThemeClassSetterService {
|
|
2243
2243
|
this.renderer.removeClass(this.doc.body, DAFF_THEME_LIGHT_CSS_CLASS);
|
2244
2244
|
this.renderer.removeClass(this.doc.body, DAFF_THEME_DARK_CSS_CLASS);
|
2245
2245
|
}
|
2246
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2247
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
2246
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffThemeClassSetterService, deps: [{ token: DOCUMENT }, { token: i0.RendererFactory2 }, { token: DaffThemingService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2247
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffThemeClassSetterService }); }
|
2248
2248
|
}
|
2249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffThemeClassSetterService, decorators: [{
|
2250
2250
|
type: Injectable
|
2251
2251
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
2252
2252
|
type: Inject,
|
@@ -2327,10 +2327,10 @@ class DaffFocusStackService {
|
|
2327
2327
|
this.document.activeElement.blur();
|
2328
2328
|
return this.document.activeElement;
|
2329
2329
|
}
|
2330
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2331
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
2330
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFocusStackService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2331
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFocusStackService, providedIn: 'root' }); }
|
2332
2332
|
}
|
2333
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2333
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFocusStackService, decorators: [{
|
2334
2334
|
type: Injectable,
|
2335
2335
|
args: [{ providedIn: 'root' }]
|
2336
2336
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
@@ -2427,10 +2427,10 @@ class DaffSizableDirective {
|
|
2427
2427
|
this.size = this.defaultSize;
|
2428
2428
|
}
|
2429
2429
|
}
|
2430
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2431
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
2430
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffSizableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
2431
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffSizableDirective, isStandalone: true, selector: "[daffSizable]", inputs: { size: "size" }, host: { properties: { "class": "this.class" } }, usesOnChanges: true, ngImport: i0 }); }
|
2432
2432
|
}
|
2433
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffSizableDirective, decorators: [{
|
2434
2434
|
type: Directive,
|
2435
2435
|
args: [{
|
2436
2436
|
selector: '[daffSizable]',
|
@@ -2443,6 +2443,127 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
2443
2443
|
type: Input
|
2444
2444
|
}] } });
|
2445
2445
|
|
2446
|
+
const DaffOpenableStateError = '`open` cannot be set as an input property on the DaffOpenableDirective if it is not stateless. Did you mean to call `reveal`, `hide`, or `toggle`?';
|
2447
|
+
|
2448
|
+
/**
|
2449
|
+
* A directive that opens or closes a component. It should only be used as an [Angular Host Directive](https://angular.dev/guide/directives/directive-composition-api).
|
2450
|
+
* This directive is stateless by default, but it supports both a state and stateless implementation. Only one version should be used within a component.
|
2451
|
+
*
|
2452
|
+
* ## Example
|
2453
|
+
* ```ts
|
2454
|
+
* import {
|
2455
|
+
* Component,
|
2456
|
+
* ChangeDetectionStrategy,
|
2457
|
+
* } from '@angular/core';
|
2458
|
+
*
|
2459
|
+
* import { DaffOpenableDirective } from '@daffodil/design';
|
2460
|
+
*
|
2461
|
+
* @Component({
|
2462
|
+
* selector: 'custom-component',
|
2463
|
+
* template: `
|
2464
|
+
* <button (click)="toggle()">Click me!</button>
|
2465
|
+
* <div class="hidden-block">This is a hidden block that can be shown by clicking the button.</div>
|
2466
|
+
* `,
|
2467
|
+
* styles: [`
|
2468
|
+
* :host {
|
2469
|
+
* .hidden-block {
|
2470
|
+
* display: none;
|
2471
|
+
* }
|
2472
|
+
*
|
2473
|
+
* &.daff-open {
|
2474
|
+
* .hidden-block {
|
2475
|
+
* display: block;
|
2476
|
+
* }
|
2477
|
+
* }
|
2478
|
+
* }`],
|
2479
|
+
* changeDetection: ChangeDetectionStrategy.OnPush,
|
2480
|
+
* hostDirectives: [{
|
2481
|
+
* directive: DaffOpenableDirective,
|
2482
|
+
* }],
|
2483
|
+
* })
|
2484
|
+
* export class CustomComponent {
|
2485
|
+
* constructor(private openDirective: DaffOpenableDirective) {}
|
2486
|
+
*
|
2487
|
+
* toggle() {
|
2488
|
+
* this.openDirective.toggle();
|
2489
|
+
* }
|
2490
|
+
* }
|
2491
|
+
* ```
|
2492
|
+
*/
|
2493
|
+
class DaffOpenableDirective {
|
2494
|
+
constructor() {
|
2495
|
+
/** Whether or not a component implementing the directive is open */
|
2496
|
+
this.open = false;
|
2497
|
+
/** Whether or not a component should handle state
|
2498
|
+
*
|
2499
|
+
* ```ts
|
2500
|
+
* constructor(private openDirective: DaffOpenableDirective) {
|
2501
|
+
* this.openDirective.stateless = false;
|
2502
|
+
* }
|
2503
|
+
* ```
|
2504
|
+
*/
|
2505
|
+
this.stateless = true;
|
2506
|
+
/**
|
2507
|
+
* Event fired when a component is opened (true) or closed (false)
|
2508
|
+
*/
|
2509
|
+
this.toggled = new EventEmitter();
|
2510
|
+
}
|
2511
|
+
_setOpen(v) {
|
2512
|
+
if (!this.stateless) {
|
2513
|
+
this.open = v;
|
2514
|
+
}
|
2515
|
+
}
|
2516
|
+
/**
|
2517
|
+
* Open the component
|
2518
|
+
*/
|
2519
|
+
reveal() {
|
2520
|
+
this._setOpen(true);
|
2521
|
+
this.toggled.emit(true);
|
2522
|
+
}
|
2523
|
+
/**
|
2524
|
+
* Close the component
|
2525
|
+
*/
|
2526
|
+
hide() {
|
2527
|
+
this._setOpen(false);
|
2528
|
+
this.toggled.emit(false);
|
2529
|
+
}
|
2530
|
+
/**
|
2531
|
+
* Open or close the component, depending on if it's currently open or not
|
2532
|
+
*/
|
2533
|
+
toggle() {
|
2534
|
+
const state = !this.open;
|
2535
|
+
this._setOpen(state);
|
2536
|
+
this.toggled.emit(state);
|
2537
|
+
}
|
2538
|
+
ngOnChanges(changes) {
|
2539
|
+
/**
|
2540
|
+
* Throw an error if open is set in a component that is not stateless
|
2541
|
+
*/
|
2542
|
+
if (changes.open.currentValue && !this.stateless) {
|
2543
|
+
this.open = changes.open.previousValue;
|
2544
|
+
if (isDevMode()) {
|
2545
|
+
throw new Error(DaffOpenableStateError);
|
2546
|
+
}
|
2547
|
+
}
|
2548
|
+
}
|
2549
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffOpenableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
2550
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffOpenableDirective, isStandalone: true, selector: "[daffOpenable]", inputs: { open: "open" }, outputs: { toggled: "toggled" }, host: { properties: { "class.daff-open": "this.open" } }, usesOnChanges: true, ngImport: i0 }); }
|
2551
|
+
}
|
2552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffOpenableDirective, decorators: [{
|
2553
|
+
type: Directive,
|
2554
|
+
args: [{
|
2555
|
+
selector: '[daffOpenable]',
|
2556
|
+
standalone: true,
|
2557
|
+
}]
|
2558
|
+
}], propDecorators: { open: [{
|
2559
|
+
type: Input
|
2560
|
+
}, {
|
2561
|
+
type: HostBinding,
|
2562
|
+
args: ['class.daff-open']
|
2563
|
+
}], toggled: [{
|
2564
|
+
type: Output
|
2565
|
+
}] } });
|
2566
|
+
|
2446
2567
|
// Core
|
2447
2568
|
|
2448
2569
|
/*
|
@@ -2459,5 +2580,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
2459
2580
|
* Generated bundle index. Do not edit.
|
2460
2581
|
*/
|
2461
2582
|
|
2462
|
-
export { DAFF_THEME_INITIALIZER, DaffArticleEncapsulatedDirective, DaffBreakpoints, DaffCheckboxComponent, DaffCheckboxControlValueAccessorDirective, DaffCheckboxModule, DaffCheckboxSetComponent, DaffColorableDirective, DaffCompactableDirective, DaffErrorMessageComponent, DaffErrorMessageModule, DaffErrorStateMatcher, DaffFocusStackService, DaffFormFieldComponent, DaffFormFieldControl, DaffFormFieldModule, DaffFormLabelDirective, DaffFormLabelModule, DaffInputComponent, DaffInputModule, DaffManageContainerLayoutDirective, DaffNativeSelectComponent, DaffNativeSelectModule, DaffPrefixDirective, DaffPrefixSuffixModule, DaffQuantityFieldComponent, DaffQuantityFieldModule, DaffQuantityInputComponent, DaffQuantitySelectComponent, DaffRadioComponent, DaffRadioControlValueAccessorDirective, DaffRadioModule, DaffRadioSetComponent, DaffSizableDirective, DaffSizableEnum, DaffSkeletonableDirective, DaffStatusEnum, DaffStatusableDirective, DaffSuffixDirective, DaffTextAlignableDirective, DaffTextAlignmentEnum, DaffTheme, DaffThemingService, NoopBreakpointObserver, SERVER_SAFE_BREAKPOINT_OBSERVER, daffFocusableElementsSelector, daffPrefixableMixin, daffSuffixableMixin };
|
2583
|
+
export { DAFF_THEME_INITIALIZER, DaffArticleEncapsulatedDirective, DaffBreakpoints, DaffCheckboxComponent, DaffCheckboxControlValueAccessorDirective, DaffCheckboxModule, DaffCheckboxSetComponent, DaffColorableDirective, DaffCompactableDirective, DaffErrorMessageComponent, DaffErrorMessageModule, DaffErrorStateMatcher, DaffFocusStackService, DaffFormFieldComponent, DaffFormFieldControl, DaffFormFieldModule, DaffFormLabelDirective, DaffFormLabelModule, DaffInputComponent, DaffInputModule, DaffManageContainerLayoutDirective, DaffNativeSelectComponent, DaffNativeSelectModule, DaffOpenableDirective, DaffPrefixDirective, DaffPrefixSuffixModule, DaffQuantityFieldComponent, DaffQuantityFieldModule, DaffQuantityInputComponent, DaffQuantitySelectComponent, DaffRadioComponent, DaffRadioControlValueAccessorDirective, DaffRadioModule, DaffRadioSetComponent, DaffSizableDirective, DaffSizableEnum, DaffSkeletonableDirective, DaffStatusEnum, DaffStatusableDirective, DaffSuffixDirective, DaffTextAlignableDirective, DaffTextAlignmentEnum, DaffTheme, DaffThemingService, NoopBreakpointObserver, SERVER_SAFE_BREAKPOINT_OBSERVER, daffFocusableElementsSelector, daffPrefixableMixin, daffSuffixableMixin };
|
2463
2584
|
//# sourceMappingURL=daffodil-design.mjs.map
|