@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
@@ -4,16 +4,17 @@ export class DaffToastActionsDirective {
|
|
4
4
|
constructor() {
|
5
5
|
this.class = true;
|
6
6
|
}
|
7
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
8
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
7
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffToastActionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
8
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffToastActionsDirective, isStandalone: true, selector: "[daffToastActions]", host: { properties: { "class.daff-toast__actions": "this.class" } }, ngImport: i0 }); }
|
9
9
|
}
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffToastActionsDirective, decorators: [{
|
11
11
|
type: Directive,
|
12
12
|
args: [{
|
13
13
|
selector: '[daffToastActions]',
|
14
|
+
standalone: true,
|
14
15
|
}]
|
15
16
|
}], propDecorators: { class: [{
|
16
17
|
type: HostBinding,
|
17
18
|
args: ['class.daff-toast__actions']
|
18
19
|
}] } });
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3QtYWN0aW9ucy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi90b2FzdC9zcmMvdG9hc3QtYWN0aW9ucy90b2FzdC1hY3Rpb25zLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULFdBQVcsR0FDWixNQUFNLGVBQWUsQ0FBQzs7QUFPdkIsTUFBTSxPQUFPLHlCQUF5QjtJQUx0QztRQU80QyxVQUFLLEdBQUcsSUFBSSxDQUFDO0tBQ3hEO2lJQUhZLHlCQUF5QjtxSEFBekIseUJBQXlCOzsyRkFBekIseUJBQXlCO2tCQUxyQyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxvQkFBb0I7b0JBQzlCLFVBQVUsRUFBRSxJQUFJO2lCQUNqQjs4QkFJMkMsS0FBSztzQkFBOUMsV0FBVzt1QkFBQywyQkFBMkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICBEaXJlY3RpdmUsXG4gIEhvc3RCaW5kaW5nLFxufSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQERpcmVjdGl2ZSh7XG4gIHNlbGVjdG9yOiAnW2RhZmZUb2FzdEFjdGlvbnNdJyxcbiAgc3RhbmRhbG9uZTogdHJ1ZSxcbn0pXG5cbmV4cG9ydCBjbGFzcyBEYWZmVG9hc3RBY3Rpb25zRGlyZWN0aXZlIHtcblxuICBASG9zdEJpbmRpbmcoJ2NsYXNzLmRhZmYtdG9hc3RfX2FjdGlvbnMnKSBjbGFzcyA9IHRydWU7XG59XG4iXX0=
|
@@ -4,16 +4,17 @@ export class DaffToastMessageDirective {
|
|
4
4
|
constructor() {
|
5
5
|
this.class = true;
|
6
6
|
}
|
7
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
8
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
7
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffToastMessageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
8
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffToastMessageDirective, isStandalone: true, selector: "[daffToastMessage]", host: { properties: { "class.daff-toast__message": "this.class" } }, ngImport: i0 }); }
|
9
9
|
}
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffToastMessageDirective, decorators: [{
|
11
11
|
type: Directive,
|
12
12
|
args: [{
|
13
13
|
selector: '[daffToastMessage]',
|
14
|
+
standalone: true,
|
14
15
|
}]
|
15
16
|
}], propDecorators: { class: [{
|
16
17
|
type: HostBinding,
|
17
18
|
args: ['class.daff-toast__message']
|
18
19
|
}] } });
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3QtbWVzc2FnZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi90b2FzdC9zcmMvdG9hc3QtbWVzc2FnZS90b2FzdC1tZXNzYWdlLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULFdBQVcsR0FDWixNQUFNLGVBQWUsQ0FBQzs7QUFPdkIsTUFBTSxPQUFPLHlCQUF5QjtJQUx0QztRQU80QyxVQUFLLEdBQUcsSUFBSSxDQUFDO0tBQ3hEO2lJQUhZLHlCQUF5QjtxSEFBekIseUJBQXlCOzsyRkFBekIseUJBQXlCO2tCQUxyQyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxvQkFBb0I7b0JBQzlCLFVBQVUsRUFBRSxJQUFJO2lCQUNqQjs4QkFJMkMsS0FBSztzQkFBOUMsV0FBVzt1QkFBQywyQkFBMkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICBEaXJlY3RpdmUsXG4gIEhvc3RCaW5kaW5nLFxufSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQERpcmVjdGl2ZSh7XG4gIHNlbGVjdG9yOiAnW2RhZmZUb2FzdE1lc3NhZ2VdJyxcbiAgc3RhbmRhbG9uZTogdHJ1ZSxcbn0pXG5cbmV4cG9ydCBjbGFzcyBEYWZmVG9hc3RNZXNzYWdlRGlyZWN0aXZlIHtcblxuICBASG9zdEJpbmRpbmcoJ2NsYXNzLmRhZmYtdG9hc3RfX21lc3NhZ2UnKSBjbGFzcyA9IHRydWU7XG59XG4iXX0=
|
@@ -4,16 +4,17 @@ export class DaffToastTitleDirective {
|
|
4
4
|
constructor() {
|
5
5
|
this.class = true;
|
6
6
|
}
|
7
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
8
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
7
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffToastTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
8
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffToastTitleDirective, isStandalone: true, selector: "[daffToastTitle]", host: { properties: { "class.daff-toast__title": "this.class" } }, ngImport: i0 }); }
|
9
9
|
}
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffToastTitleDirective, decorators: [{
|
11
11
|
type: Directive,
|
12
12
|
args: [{
|
13
13
|
selector: '[daffToastTitle]',
|
14
|
+
standalone: true,
|
14
15
|
}]
|
15
16
|
}], propDecorators: { class: [{
|
16
17
|
type: HostBinding,
|
17
18
|
args: ['class.daff-toast__title']
|
18
19
|
}] } });
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3QtdGl0bGUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vdG9hc3Qvc3JjL3RvYXN0LXRpdGxlL3RvYXN0LXRpdGxlLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULFdBQVcsR0FDWixNQUFNLGVBQWUsQ0FBQzs7QUFPdkIsTUFBTSxPQUFPLHVCQUF1QjtJQUxwQztRQU8wQyxVQUFLLEdBQUcsSUFBSSxDQUFDO0tBQ3REO2lJQUhZLHVCQUF1QjtxSEFBdkIsdUJBQXVCOzsyRkFBdkIsdUJBQXVCO2tCQUxuQyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxrQkFBa0I7b0JBQzVCLFVBQVUsRUFBRSxJQUFJO2lCQUNqQjs4QkFJeUMsS0FBSztzQkFBNUMsV0FBVzt1QkFBQyx5QkFBeUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICBEaXJlY3RpdmUsXG4gIEhvc3RCaW5kaW5nLFxufSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQERpcmVjdGl2ZSh7XG4gIHNlbGVjdG9yOiAnW2RhZmZUb2FzdFRpdGxlXScsXG4gIHN0YW5kYWxvbmU6IHRydWUsXG59KVxuXG5leHBvcnQgY2xhc3MgRGFmZlRvYXN0VGl0bGVEaXJlY3RpdmUge1xuXG4gIEBIb3N0QmluZGluZygnY2xhc3MuZGFmZi10b2FzdF9fdGl0bGUnKSBjbGFzcyA9IHRydWU7XG59XG4iXX0=
|
@@ -6,29 +6,31 @@ import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
|
6
6
|
import { DaffPrefixSuffixModule } from '@daffodil/design';
|
7
7
|
import { DaffButtonModule } from '@daffodil/design/button';
|
8
8
|
import { DaffToastPositionService } from './service/position.service';
|
9
|
-
import { DaffToastTemplateComponent } from './toast/toast-template.component';
|
10
9
|
import { DaffToastComponent } from './toast/toast.component';
|
11
10
|
import { DaffToastActionsDirective } from './toast-actions/toast-actions.directive';
|
12
11
|
import { DaffToastMessageDirective } from './toast-message/toast-message.directive';
|
13
12
|
import { DaffToastTitleDirective } from './toast-title/toast-title.directive';
|
14
13
|
import * as i0 from "@angular/core";
|
14
|
+
/**
|
15
|
+
* @deprecated in favor of {@link daffProvideToast}
|
16
|
+
*/
|
15
17
|
export class DaffToastModule {
|
16
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
17
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
18
|
-
DaffToastActionsDirective,
|
19
|
-
DaffToastTitleDirective,
|
20
|
-
DaffToastMessageDirective,
|
21
|
-
DaffToastTemplateComponent], imports: [CommonModule,
|
18
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
19
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffToastModule, imports: [CommonModule,
|
22
20
|
DaffPrefixSuffixModule,
|
23
21
|
DaffButtonModule,
|
24
22
|
FontAwesomeModule,
|
25
23
|
PortalModule,
|
26
|
-
OverlayModule
|
24
|
+
OverlayModule,
|
25
|
+
DaffToastComponent,
|
26
|
+
DaffToastActionsDirective,
|
27
|
+
DaffToastTitleDirective,
|
28
|
+
DaffToastMessageDirective], exports: [DaffToastComponent,
|
27
29
|
DaffToastActionsDirective,
|
28
30
|
DaffToastTitleDirective,
|
29
31
|
DaffToastMessageDirective,
|
30
32
|
DaffPrefixSuffixModule] }); }
|
31
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
33
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffToastModule, providers: [
|
32
34
|
DaffToastPositionService,
|
33
35
|
], imports: [CommonModule,
|
34
36
|
DaffPrefixSuffixModule,
|
@@ -37,7 +39,7 @@ export class DaffToastModule {
|
|
37
39
|
PortalModule,
|
38
40
|
OverlayModule, DaffPrefixSuffixModule] }); }
|
39
41
|
}
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffToastModule, decorators: [{
|
41
43
|
type: NgModule,
|
42
44
|
args: [{
|
43
45
|
imports: [
|
@@ -47,13 +49,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
47
49
|
FontAwesomeModule,
|
48
50
|
PortalModule,
|
49
51
|
OverlayModule,
|
50
|
-
],
|
51
|
-
declarations: [
|
52
52
|
DaffToastComponent,
|
53
53
|
DaffToastActionsDirective,
|
54
54
|
DaffToastTitleDirective,
|
55
55
|
DaffToastMessageDirective,
|
56
|
-
DaffToastTemplateComponent,
|
57
56
|
],
|
58
57
|
exports: [
|
59
58
|
DaffToastComponent,
|
@@ -67,4 +66,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
67
66
|
],
|
68
67
|
}]
|
69
68
|
}] });
|
70
|
-
//# sourceMappingURL=data:application/json;base64,
|
69
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3QubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vdG9hc3Qvc3JjL3RvYXN0Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDckQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ25ELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGtDQUFrQyxDQUFDO0FBRXJFLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQzFELE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBRTNELE9BQ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{ RouterLink } from '@angular/router';
|
3
|
-
import {
|
3
|
+
import { DAFF_TREE_COMPONENTS, } from '@daffodil/design/tree';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
import * as i1 from "@daffodil/design/tree";
|
6
6
|
export class BasicTreeComponent {
|
@@ -30,11 +30,14 @@ export class BasicTreeComponent {
|
|
30
30
|
data: {},
|
31
31
|
};
|
32
32
|
}
|
33
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
34
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
33
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: BasicTreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
34
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: BasicTreeComponent, isStandalone: true, selector: "basic-tree", ngImport: i0, template: "<ul daff-tree [tree]=\"tree\">\n\t<ng-template #daffTreeItemWithChildrenTpl let-node>\n\t\t\t<button daffTreeItem [node]=\"node\">{{ node.title }} </button>\n\t</ng-template>\n\t\n\t<ng-template #daffTreeItemTpl let-node>\n\t\t\t<a daffTreeItem [node]=\"node\" [routerLink]=\"node.url\">{{ node.title }}</a>\n\t</ng-template>\n</ul>\n\n", dependencies: [{ kind: "component", type: i1.DaffTreeComponent, selector: "ul[daff-tree]", inputs: ["renderMode", "tree"] }, { kind: "directive", type: i1.DaffTreeItemDirective, selector: "[daffTreeItem]", inputs: ["node", "selected"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
35
35
|
}
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: BasicTreeComponent, decorators: [{
|
37
37
|
type: Component,
|
38
|
-
args: [{ selector: 'basic-tree', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
38
|
+
args: [{ selector: 'basic-tree', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
39
|
+
DAFF_TREE_COMPONENTS,
|
40
|
+
RouterLink,
|
41
|
+
], template: "<ul daff-tree [tree]=\"tree\">\n\t<ng-template #daffTreeItemWithChildrenTpl let-node>\n\t\t\t<button daffTreeItem [node]=\"node\">{{ node.title }} </button>\n\t</ng-template>\n\t\n\t<ng-template #daffTreeItemTpl let-node>\n\t\t\t<a daffTreeItem [node]=\"node\" [routerLink]=\"node.url\">{{ node.title }}</a>\n\t</ng-template>\n</ul>\n\n" }]
|
39
42
|
}] });
|
40
|
-
//# sourceMappingURL=data:application/json;base64,
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzaWMtdHJlZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi90cmVlL2V4YW1wbGVzL3NyYy9iYXNpYy10cmVlL2Jhc2ljLXRyZWUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vdHJlZS9leGFtcGxlcy9zcmMvYmFzaWMtdHJlZS9iYXNpYy10cmVlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxHQUNWLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxpQkFB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BMaW5rJyxcbiAgICAgICAgaXRlbXM6IFtdLFxuICAgICAgICB1cmw6ICcjJyxcbiAgICAgICAgaWQ6ICcnLFxuICAgICAgICBkYXRhOiB7fSxcbiAgICAgIH0sXG4gICAgXSxcbiAgICB1cmw6ICcnLFxuICAgIGlkOiAnJyxcbiAgICBkYXRhOiB7fSxcbiAgfTtcbn1cbiIsIjx1bCBkYWZmLXRyZWUgW3RyZWVdPVwidHJlZVwiPlxuXHQ8bmctdGVtcGxhdGUgI2RhZmZUcmVlSXRlbVdpdGhDaGlsZHJlblRwbCBsZXQtbm9kZT5cblx0XHRcdDxidXR0b24gZGFmZlRyZWVJdGVtIFtub2RlXT1cIm5vZGVcIj57eyBub2RlLnRpdGxlIH19IDwvYnV0dG9uPlxuXHQ8L25nLXRlbXBsYXRlPlxuXHRcblx0PG5nLXRlbXBsYXRlICNkYWZmVHJlZUl0ZW1UcGwgbGV0LW5vZGU+XG5cdFx0XHQ8YSBkYWZmVHJlZUl0ZW0gW25vZGVdPVwibm9kZVwiIFtyb3V0ZXJMaW5rXT1cIm5vZGUudXJsXCI+e3sgbm9kZS50aXRsZSB9fTwvYT5cblx0PC9uZy10ZW1wbGF0ZT5cbjwvdWw+XG5cbiJdfQ==
|
@@ -0,0 +1,54 @@
|
|
1
|
+
import { ChangeDetectionStrategy, Component, } from '@angular/core';
|
2
|
+
import { RouterLink } from '@angular/router';
|
3
|
+
import { DaffTreeModule, } from '@daffodil/design/tree';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
import * as i1 from "@daffodil/design/tree";
|
6
|
+
export class DeepTreeComponent {
|
7
|
+
constructor() {
|
8
|
+
this.tree = {
|
9
|
+
title: 'Root',
|
10
|
+
items: [
|
11
|
+
{
|
12
|
+
title: 'Example Children',
|
13
|
+
items: [
|
14
|
+
{
|
15
|
+
title: 'Example Child',
|
16
|
+
url: '#',
|
17
|
+
id: '',
|
18
|
+
items: [
|
19
|
+
{
|
20
|
+
title: 'Nested Child',
|
21
|
+
url: '#',
|
22
|
+
id: '',
|
23
|
+
items: [],
|
24
|
+
data: {},
|
25
|
+
},
|
26
|
+
],
|
27
|
+
data: {},
|
28
|
+
},
|
29
|
+
],
|
30
|
+
url: '#',
|
31
|
+
id: '',
|
32
|
+
data: {},
|
33
|
+
},
|
34
|
+
{
|
35
|
+
title: 'Example Link',
|
36
|
+
items: [],
|
37
|
+
url: '#',
|
38
|
+
id: '',
|
39
|
+
data: {},
|
40
|
+
},
|
41
|
+
],
|
42
|
+
url: '',
|
43
|
+
id: '',
|
44
|
+
data: {},
|
45
|
+
};
|
46
|
+
}
|
47
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DeepTreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
48
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DeepTreeComponent, isStandalone: true, selector: "deep-tree", ngImport: i0, template: "<ul daff-tree [tree]=\"tree\">\n\t<ng-template #daffTreeItemWithChildrenTpl let-node>\n\t\t\t<button daffTreeItem [node]=\"node\">{{ node.title }} </button>\n\t</ng-template>\n\t\n\t<ng-template #daffTreeItemTpl let-node>\n\t\t\t<a daffTreeItem [node]=\"node\" [routerLink]=\"node.url\">{{ node.title }}</a>\n\t</ng-template>\n</ul>\n\n", dependencies: [{ kind: "ngmodule", type: DaffTreeModule }, { kind: "component", type: i1.DaffTreeComponent, selector: "ul[daff-tree]", inputs: ["renderMode", "tree"] }, { kind: "directive", type: i1.DaffTreeItemDirective, selector: "[daffTreeItem]", inputs: ["node", "selected"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
49
|
+
}
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DeepTreeComponent, decorators: [{
|
51
|
+
type: Component,
|
52
|
+
args: [{ selector: 'deep-tree', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DaffTreeModule, RouterLink], template: "<ul daff-tree [tree]=\"tree\">\n\t<ng-template #daffTreeItemWithChildrenTpl let-node>\n\t\t\t<button daffTreeItem [node]=\"node\">{{ node.title }} </button>\n\t</ng-template>\n\t\n\t<ng-template #daffTreeItemTpl let-node>\n\t\t\t<a daffTreeItem [node]=\"node\" [routerLink]=\"node.url\">{{ node.title }}</a>\n\t</ng-template>\n</ul>\n\n" }]
|
53
|
+
}] });
|
54
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVlcC10cmVlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3RyZWUvZXhhbXBsZXMvc3JjL2RlZXAtdHJlZS9kZWVwLXRyZWUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vdHJlZS9leGFtcGxlcy9zcmMvZGVlcC10cmVlL2RlZXAtdHJlZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsR0FDVixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFN0MsT0FBTyxFQUVMLGNBQWMsR0FDZixNQUFNLHVCQUF1QixDQUFDOzs7QUFVL0IsTUFBTSxPQUFPLGlCQUFpQjtJQVI5QjtRQVNFLFNBQUksR0FBMEI7WUFDNUIsS0FBSyxFQUFFLE1BQU07WUFDYixLQUFLLEVBQUU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ICAgICAgIGl0ZW1zOiBbXSxcbiAgICAgICAgICAgICAgICBkYXRhOiB7fSxcbiAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIF0sXG4gICAgICAgICAgICBkYXRhOiB7fSxcbiAgICAgICAgICB9LFxuICAgICAgICBdLFxuICAgICAgICB1cmw6ICcjJyxcbiAgICAgICAgaWQ6ICcnLFxuICAgICAgICBkYXRhOiB7fSxcbiAgICAgIH0sXG4gICAgICB7XG4gICAgICAgIHRpdGxlOiAnRXhhbXBsZSBMaW5rJyxcbiAgICAgICAgaXRlbXM6IFtdLFxuICAgICAgICB1cmw6ICcjJyxcbiAgICAgICAgaWQ6ICcnLFxuICAgICAgICBkYXRhOiB7fSxcbiAgICAgIH0sXG4gICAgXSxcbiAgICB1cmw6ICcnLFxuICAgIGlkOiAnJyxcbiAgICBkYXRhOiB7fSxcbiAgfTtcbn1cbiIsIjx1bCBkYWZmLXRyZWUgW3RyZWVdPVwidHJlZVwiPlxuXHQ8bmctdGVtcGxhdGUgI2RhZmZUcmVlSXRlbVdpdGhDaGlsZHJlblRwbCBsZXQtbm9kZT5cblx0XHRcdDxidXR0b24gZGFmZlRyZWVJdGVtIFtub2RlXT1cIm5vZGVcIj57eyBub2RlLnRpdGxlIH19IDwvYnV0dG9uPlxuXHQ8L25nLXRlbXBsYXRlPlxuXHRcblx0PG5nLXRlbXBsYXRlICNkYWZmVHJlZUl0ZW1UcGwgbGV0LW5vZGU+XG5cdFx0XHQ8YSBkYWZmVHJlZUl0ZW0gW25vZGVdPVwibm9kZVwiIFtyb3V0ZXJMaW5rXT1cIm5vZGUudXJsXCI+e3sgbm9kZS50aXRsZSB9fTwvYT5cblx0PC9uZy10ZW1wbGF0ZT5cbjwvdWw+XG5cbiJdfQ==
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import { BasicTreeComponent } from './basic-tree/basic-tree.component';
|
2
|
-
|
2
|
+
import { DeepTreeComponent } from './deep-tree/deep-tree.component';
|
3
|
+
export { BasicTreeComponent, DeepTreeComponent, };
|
3
4
|
export const TREE_EXAMPLES = [
|
4
5
|
BasicTreeComponent,
|
6
|
+
DeepTreeComponent,
|
5
7
|
];
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3RyZWUvZXhhbXBsZXMvc3JjL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFDdkUsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFFcEUsT0FBTyxFQUNMLGtCQUFrQixFQUNsQixpQkFBaUIsR0FDbEIsQ0FBQztBQUVGLE1BQU0sQ0FBQyxNQUFNLGFBQWEsR0FBRztJQUMzQixrQkFBa0I7SUFDbEIsaUJBQWlCO0NBQ2xCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBCYXNpY1RyZWVDb21wb25lbnQgfSBmcm9tICcuL2Jhc2ljLXRyZWUvYmFzaWMtdHJlZS5jb21wb25lbnQnO1xuaW1wb3J0IHsgRGVlcFRyZWVDb21wb25lbnQgfSBmcm9tICcuL2RlZXAtdHJlZS9kZWVwLXRyZWUuY29tcG9uZW50JztcblxuZXhwb3J0IHtcbiAgQmFzaWNUcmVlQ29tcG9uZW50LFxuICBEZWVwVHJlZUNvbXBvbmVudCxcbn07XG5cbmV4cG9ydCBjb25zdCBUUkVFX0VYQU1QTEVTID0gW1xuICBCYXNpY1RyZWVDb21wb25lbnQsXG4gIERlZXBUcmVlQ29tcG9uZW50LFxuXTtcbiJdfQ==
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export { DaffTreeModule } from './tree.module';
|
2
2
|
export { DaffTreeComponent } from './tree/tree.component';
|
3
3
|
export { DaffTreeItemDirective } from './tree-item/tree-item.directive';
|
4
|
-
export { daffTransformTreeInPlace } from './utils/transform-in-place';
|
5
4
|
export { daffTransformTree } from './utils/transform';
|
6
|
-
|
5
|
+
export { DAFF_TREE_COMPONENTS } from './tree';
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3RyZWUvc3JjL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMvQyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUMxRCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUV4RSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUV0RCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxRQUFRLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBEYWZmVHJlZU1vZHVsZSB9IGZyb20gJy4vdHJlZS5tb2R1bGUnO1xuZXhwb3J0IHsgRGFmZlRyZWVDb21wb25lbnQgfSBmcm9tICcuL3RyZWUvdHJlZS5jb21wb25lbnQnO1xuZXhwb3J0IHsgRGFmZlRyZWVJdGVtRGlyZWN0aXZlIH0gZnJvbSAnLi90cmVlLWl0ZW0vdHJlZS1pdGVtLmRpcmVjdGl2ZSc7XG5leHBvcnQgeyBEYWZmVHJlZURhdGEgfSBmcm9tICcuL2ludGVyZmFjZXMvdHJlZS1kYXRhJztcbmV4cG9ydCB7IGRhZmZUcmFuc2Zvcm1UcmVlIH0gZnJvbSAnLi91dGlscy90cmFuc2Zvcm0nO1xuZXhwb3J0IHsgRGFmZlRyZWVSZW5kZXJNb2RlIH0gZnJvbSAnLi9pbnRlcmZhY2VzL3RyZWUtcmVuZGVyLW1vZGUnO1xuZXhwb3J0IHsgREFGRl9UUkVFX0NPTVBPTkVOVFMgfSBmcm9tICcuL3RyZWUnO1xuIl19
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { NgFor, NgTemplateOutlet, } from '@angular/common';
|
1
2
|
import { ChangeDetectionStrategy, Component, ContentChild, HostBinding, Input, TemplateRef, ViewEncapsulation, } from '@angular/core';
|
2
3
|
import { DaffArticleEncapsulatedDirective } from '@daffodil/design';
|
3
4
|
import { DaffTreeNotifierService } from './tree-notifier.service';
|
@@ -6,7 +7,6 @@ import { hydrateTree } from '../utils/hydrate-tree';
|
|
6
7
|
import * as i0 from "@angular/core";
|
7
8
|
import * as i1 from "./tree-notifier.service";
|
8
9
|
import * as i2 from "@daffodil/design";
|
9
|
-
import * as i3 from "@angular/common";
|
10
10
|
/**
|
11
11
|
* The `DaffTreeComponent` allows you to render tree structures as interactable ui.
|
12
12
|
*
|
@@ -74,18 +74,21 @@ export class DaffTreeComponent {
|
|
74
74
|
this.flatTree = flattenTree(this._tree, this.renderMode === 'not-in-dom');
|
75
75
|
});
|
76
76
|
}
|
77
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
78
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
77
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTreeComponent, deps: [{ token: i1.DaffTreeNotifierService }], target: i0.ɵɵFactoryTarget.Component }); }
|
78
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffTreeComponent, isStandalone: true, selector: "ul[daff-tree]", inputs: { renderMode: "renderMode", tree: "tree" }, host: { properties: { "class.daff-tree": "this.class" } }, providers: [
|
79
79
|
DaffTreeNotifierService,
|
80
|
-
], queries: [{ propertyName: "withChildrenTemplate", first: true, predicate: ["daffTreeItemWithChildrenTpl"], descendants: true, static: true }, { propertyName: "treeItemTemplate", first: true, predicate: ["daffTreeItemTpl"], descendants: true, static: true }], usesOnChanges: true, hostDirectives: [{ directive: i2.DaffArticleEncapsulatedDirective }], ngImport: i0, template: "<ng-container *ngFor=\"let node of flatTree; trackBy: trackByTreeElement\">\n\t<ng-container>\n\t\t<li [attr.aria-level]=\"node.level\" [class.hidden]=\"!node.visible\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"node.hasChildren ? withChildrenTemplate : treeItemTemplate; context: { $implicit: node }\">\n\t\t\t</ng-container>\n\t\t</li>\n\t</ng-container>\n</ng-container>", styles: [".daff-tree{margin:0;padding:0;list-style:none;--tree-padding: 1rem}.daff-tree li.hidden{display:none}.daff-tree-item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;position:relative;background:none;border:0;padding:.5rem 1rem .5rem 0;line-height:1.5rem;font-weight:400;text-align:left;text-decoration:none;width:100%;padding-left:calc(var(--tree-padding) * (var(--depth)))}.daff-tree-item:before{content:\"\";position:absolute;top:0;bottom:0;left:0;width:.25rem}.daff-tree-item:focus,.daff-tree-item:focus-visible{z-index:1}.daff-tree-item.selected{font-weight:600}.daff-tree-item.parent{position:relative;padding-right:2.5rem}.daff-tree-item.parent:after{content:\"\";position:absolute;top:48%;right:1rem;display:inline-block;border-right:2px solid currentColor;border-bottom:2px solid currentColor;width:.5rem;height:.5rem;transform:translateY(-50%) rotate(45deg);transition:transform .15s}.daff-tree-item.parent.open:after{top:56%;transform:translateY(-50%) rotate(225deg)}\n"], dependencies: [{ kind: "directive", type:
|
80
|
+
], queries: [{ propertyName: "withChildrenTemplate", first: true, predicate: ["daffTreeItemWithChildrenTpl"], descendants: true, static: true }, { propertyName: "treeItemTemplate", first: true, predicate: ["daffTreeItemTpl"], descendants: true, static: true }], usesOnChanges: true, hostDirectives: [{ directive: i2.DaffArticleEncapsulatedDirective }], ngImport: i0, template: "<ng-container *ngFor=\"let node of flatTree; trackBy: trackByTreeElement\">\n\t<ng-container>\n\t\t<li [attr.aria-level]=\"node.level\" [class.hidden]=\"!node.visible\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"node.hasChildren ? withChildrenTemplate : treeItemTemplate; context: { $implicit: node }\">\n\t\t\t</ng-container>\n\t\t</li>\n\t</ng-container>\n</ng-container>", styles: [".daff-tree{margin:0;padding:0;list-style:none;--tree-padding: 1rem}.daff-tree li.hidden{display:none}.daff-tree-item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;position:relative;background:none;border:0;padding:.5rem 1rem .5rem 0;line-height:1.5rem;font-weight:400;text-align:left;text-decoration:none;width:100%;padding-left:calc(var(--tree-padding) * (var(--depth)))}.daff-tree-item:before{content:\"\";position:absolute;top:0;bottom:0;left:0;width:.25rem}.daff-tree-item:focus,.daff-tree-item:focus-visible{z-index:1}.daff-tree-item.selected{font-weight:600}.daff-tree-item.parent{position:relative;padding-right:2.5rem}.daff-tree-item.parent:after{content:\"\";position:absolute;top:48%;right:1rem;display:inline-block;border-right:2px solid currentColor;border-bottom:2px solid currentColor;width:.5rem;height:.5rem;transform:translateY(-50%) rotate(45deg);transition:transform .15s}.daff-tree-item.parent.open:after{top:56%;transform:translateY(-50%) rotate(225deg)}\n"], dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
81
81
|
}
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTreeComponent, decorators: [{
|
83
83
|
type: Component,
|
84
84
|
args: [{ selector: 'ul[daff-tree]', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
85
85
|
DaffTreeNotifierService,
|
86
86
|
], hostDirectives: [{
|
87
87
|
directive: DaffArticleEncapsulatedDirective,
|
88
|
-
}],
|
88
|
+
}], standalone: true, imports: [
|
89
|
+
NgFor,
|
90
|
+
NgTemplateOutlet,
|
91
|
+
], template: "<ng-container *ngFor=\"let node of flatTree; trackBy: trackByTreeElement\">\n\t<ng-container>\n\t\t<li [attr.aria-level]=\"node.level\" [class.hidden]=\"!node.visible\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"node.hasChildren ? withChildrenTemplate : treeItemTemplate; context: { $implicit: node }\">\n\t\t\t</ng-container>\n\t\t</li>\n\t</ng-container>\n</ng-container>", styles: [".daff-tree{margin:0;padding:0;list-style:none;--tree-padding: 1rem}.daff-tree li.hidden{display:none}.daff-tree-item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;position:relative;background:none;border:0;padding:.5rem 1rem .5rem 0;line-height:1.5rem;font-weight:400;text-align:left;text-decoration:none;width:100%;padding-left:calc(var(--tree-padding) * (var(--depth)))}.daff-tree-item:before{content:\"\";position:absolute;top:0;bottom:0;left:0;width:.25rem}.daff-tree-item:focus,.daff-tree-item:focus-visible{z-index:1}.daff-tree-item.selected{font-weight:600}.daff-tree-item.parent{position:relative;padding-right:2.5rem}.daff-tree-item.parent:after{content:\"\";position:absolute;top:48%;right:1rem;display:inline-block;border-right:2px solid currentColor;border-bottom:2px solid currentColor;width:.5rem;height:.5rem;transform:translateY(-50%) rotate(45deg);transition:transform .15s}.daff-tree-item.parent.open:after{top:56%;transform:translateY(-50%) rotate(225deg)}\n"] }]
|
89
92
|
}], ctorParameters: () => [{ type: i1.DaffTreeNotifierService }], propDecorators: { class: [{
|
90
93
|
type: HostBinding,
|
91
94
|
args: ['class.daff-tree']
|
@@ -100,4 +103,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
100
103
|
type: ContentChild,
|
101
104
|
args: ['daffTreeItemTpl', { static: true }]
|
102
105
|
}] } });
|
103
|
-
//# sourceMappingURL=data:application/json;base64,
|
106
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi90cmVlL3NyYy90cmVlL3RyZWUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vdHJlZS9zcmMvdHJlZS90cmVlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxLQUFLLEVBQ0wsZ0JBQWdCLEdBQ2pCLE1BQU0saUJBQWlCLENBQUM7QUFDekIsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsWUFBWSxFQUNaLFdBQVcsRUFDWCxLQUFLLEVBSUwsV0FBVyxFQUNYLGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUsZ0NBQWdDLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUVwRSxPQUFPLEVBQUUsdUJBQXVCLEV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affTreeItemDirective {
|
|
110
110
|
node._treeRef.open = false;
|
111
111
|
}
|
112
112
|
}
|
113
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
114
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
113
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTreeItemDirective, deps: [{ token: DOCUMENT }, { token: i1.DaffTreeNotifierService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
114
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffTreeItemDirective, isStandalone: true, selector: "[daffTreeItem]", inputs: { node: "node", selected: "selected" }, host: { listeners: { "keydown.escape": "onEscape()", "click": "onClick()" }, properties: { "class.daff-tree-item": "this.class", "class.parent": "this.classParent", "attr.id": "this.id", "attr.aria-expanded": "this.ariaExpanded", "style.--depth": "this.depth", "class.selected": "this.selectedClass", "class.open": "this.openClass" } }, ngImport: i0 }); }
|
115
115
|
}
|
116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTreeItemDirective, decorators: [{
|
117
117
|
type: Directive,
|
118
118
|
args: [{
|
119
119
|
selector: '[daffTreeItem]',
|
120
|
+
standalone: true,
|
120
121
|
}]
|
121
122
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
122
123
|
type: Inject,
|
@@ -153,4 +154,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
153
154
|
type: HostListener,
|
154
155
|
args: ['click']
|
155
156
|
}] } });
|
156
|
-
//# sourceMappingURL=data:application/json;base64,
|
157
|
+
//# sourceMappingUR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0gIW5vZGUuX3RyZWVSZWYucGFyZW50Lm9wZW47XG4gICAgKDxEb2N1bWVudD50aGlzLmRvY3VtZW50KS5nZXRFbGVtZW50QnlJZCgndHJlZS0nICsgbm9kZS5fdHJlZVJlZi5wYXJlbnQuaWQpLmZvY3VzKCk7XG4gIH1cblxuICAvKipcbiAgICogVG9nZ2xlIHRoZSBvcGVuIHN0YXRlIG9mIHRoaXMgc3BlY2lmaWMgc3VidHJlZSB0cmVlLlxuICAgKi9cbiAgdG9nZ2xlVHJlZShub2RlOiBEYWZmVHJlZUZsYXROb2RlKSB7XG4gICAgaWYobm9kZS5fdHJlZVJlZi5vcGVuID09PSBmYWxzZSkge1xuICAgICAgbm9kZS5fdHJlZVJlZi5vcGVuID0gdHJ1ZTtcbiAgICB9IGVsc2Uge1xuICAgICAgbm9kZS5fdHJlZVJlZi5vcGVuID0gZmFsc2U7XG4gICAgfVxuICB9XG59XG4iXX0=
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { DaffTreeComponent } from './tree/tree.component';
|
2
|
+
import { DaffTreeItemDirective } from './tree-item/tree-item.directive';
|
3
|
+
export const DAFF_TREE_COMPONENTS = [
|
4
|
+
DaffTreeComponent,
|
5
|
+
DaffTreeItemDirective,
|
6
|
+
];
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3RyZWUvc3JjL3RyZWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDMUQsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFFeEUsTUFBTSxDQUFDLE1BQU0sb0JBQW9CLEdBQVc7SUFDMUMsaUJBQWlCO0lBQ2pCLHFCQUFxQjtDQUN0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGFmZlRyZWVDb21wb25lbnQgfSBmcm9tICcuL3RyZWUvdHJlZS5jb21wb25lbnQnO1xuaW1wb3J0IHsgRGFmZlRyZWVJdGVtRGlyZWN0aXZlIH0gZnJvbSAnLi90cmVlLWl0ZW0vdHJlZS1pdGVtLmRpcmVjdGl2ZSc7XG5cbmV4cG9ydCBjb25zdCBEQUZGX1RSRUVfQ09NUE9ORU5UUyA9IDxjb25zdD4gW1xuICBEYWZmVHJlZUNvbXBvbmVudCxcbiAgRGFmZlRyZWVJdGVtRGlyZWN0aXZlLFxuXTtcbiJdfQ==
|
@@ -3,22 +3,24 @@ import { NgModule } from '@angular/core';
|
|
3
3
|
import { DaffTreeComponent } from './tree/tree.component';
|
4
4
|
import { DaffTreeItemDirective } from './tree-item/tree-item.directive';
|
5
5
|
import * as i0 from "@angular/core";
|
6
|
+
/**
|
7
|
+
* @deprecated in favor of {@link DAFF_TREE_COMPONENTS}
|
8
|
+
*/
|
6
9
|
export class DaffTreeModule {
|
7
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
8
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
9
|
-
|
10
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTreeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
11
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffTreeModule, imports: [CommonModule,
|
12
|
+
DaffTreeComponent,
|
13
|
+
DaffTreeItemDirective], exports: [DaffTreeComponent,
|
10
14
|
DaffTreeItemDirective] }); }
|
11
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
15
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTreeModule, imports: [CommonModule] }); }
|
12
16
|
}
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTreeModule, decorators: [{
|
14
18
|
type: NgModule,
|
15
19
|
args: [{
|
16
|
-
declarations: [
|
17
|
-
DaffTreeComponent,
|
18
|
-
DaffTreeItemDirective,
|
19
|
-
],
|
20
20
|
imports: [
|
21
21
|
CommonModule,
|
22
|
+
DaffTreeComponent,
|
23
|
+
DaffTreeItemDirective,
|
22
24
|
],
|
23
25
|
exports: [
|
24
26
|
DaffTreeComponent,
|
@@ -26,4 +28,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
26
28
|
],
|
27
29
|
}]
|
28
30
|
}] });
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi90cmVlL3NyYy90cmVlLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6QyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUMxRCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQ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