@daffodil/design 0.80.0 → 0.81.1
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/button/button/basic/button.component.d.ts +1 -1
- package/button/button/flat/flat.component.d.ts +1 -1
- package/button/button/icon/icon.component.d.ts +1 -1
- package/button/button/raised/raised.component.d.ts +1 -1
- package/button/button/stroked/stroked.component.d.ts +1 -1
- package/button/button/underline/underline.component.d.ts +1 -1
- package/core/article-encapsulated/article-encapsulated.directive.d.ts +4 -5
- package/core/colorable/colorable.directive.d.ts +28 -18
- package/core/compactable/compactable.directive.d.ts +6 -10
- package/core/focus/stack.service.d.ts +3 -1
- package/core/manage-container-layout/manage-container-layout.directive.d.ts +2 -4
- package/core/openable/openable.directive.d.ts +2 -1
- package/core/sizable/sizable.directive.d.ts +4 -8
- package/core/skeletonable/skeletonable.directive.d.ts +7 -9
- package/core/statusable/statusable.directive.d.ts +4 -8
- package/core/text-alignable/text-alignable.directive.d.ts +9 -12
- package/core/theming/initializer.d.ts +1 -2
- package/fesm2022/daffodil-design-accordion-examples.mjs +4 -4
- package/fesm2022/daffodil-design-accordion-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-accordion.mjs +13 -13
- package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
- package/fesm2022/daffodil-design-article-examples.mjs +40 -40
- package/fesm2022/daffodil-design-article-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-article.mjs +11 -11
- package/fesm2022/daffodil-design-article.mjs.map +1 -1
- package/fesm2022/daffodil-design-breadcrumb-examples.mjs +4 -4
- 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 +32 -32
- package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-button.mjs +40 -40
- package/fesm2022/daffodil-design-button.mjs.map +1 -1
- package/fesm2022/daffodil-design-callout-examples.mjs +16 -16
- package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-callout.mjs +23 -23
- package/fesm2022/daffodil-design-callout.mjs.map +1 -1
- package/fesm2022/daffodil-design-card-examples.mjs +24 -24
- package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-card.mjs +25 -25
- package/fesm2022/daffodil-design-card.mjs.map +1 -1
- package/fesm2022/daffodil-design-checkbox-examples.mjs +8 -8
- package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-container-examples.mjs +4 -4
- package/fesm2022/daffodil-design-container-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-container.mjs +7 -7
- package/fesm2022/daffodil-design-container.mjs.map +1 -1
- package/fesm2022/daffodil-design-hero-examples.mjs +16 -16
- package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-hero.mjs +23 -23
- package/fesm2022/daffodil-design-hero.mjs.map +1 -1
- package/fesm2022/daffodil-design-image-examples.mjs +12 -12
- package/fesm2022/daffodil-design-image-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-image.mjs +7 -7
- package/fesm2022/daffodil-design-image.mjs.map +1 -1
- package/fesm2022/daffodil-design-input-examples.mjs +16 -16
- package/fesm2022/daffodil-design-input-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-link-set.mjs +17 -17
- package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
- package/fesm2022/daffodil-design-list-examples.mjs +16 -16
- package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-list.mjs +12 -12
- package/fesm2022/daffodil-design-list.mjs.map +1 -1
- package/fesm2022/daffodil-design-loading-icon-examples.mjs +4 -4
- package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-loading-icon.mjs +7 -7
- package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
- package/fesm2022/daffodil-design-media-gallery-examples.mjs +12 -12
- package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-media-gallery.mjs +17 -17
- package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
- package/fesm2022/daffodil-design-menu-examples.mjs +8 -8
- package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-menu.mjs +18 -18
- package/fesm2022/daffodil-design-menu.mjs.map +1 -1
- package/fesm2022/daffodil-design-modal-examples.mjs +8 -8
- package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-modal.mjs +27 -27
- package/fesm2022/daffodil-design-modal.mjs.map +1 -1
- package/fesm2022/daffodil-design-navbar-examples.mjs +20 -20
- package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-navbar.mjs +7 -7
- package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification-examples.mjs +20 -20
- package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification.mjs +20 -20
- package/fesm2022/daffodil-design-notification.mjs.map +1 -1
- package/fesm2022/daffodil-design-paginator-examples.mjs +8 -8
- package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-paginator.mjs +8 -8
- package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
- package/fesm2022/daffodil-design-progress-bar-examples.mjs +12 -12
- package/fesm2022/daffodil-design-progress-bar-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-progress-bar.mjs +11 -11
- package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
- package/fesm2022/daffodil-design-quantity-field-examples.mjs +16 -16
- package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-radio-examples.mjs +4 -4
- package/fesm2022/daffodil-design-radio-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-sidebar-examples.mjs +18 -18
- package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-sidebar.mjs +70 -42
- package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
- package/fesm2022/daffodil-design-switch-examples.mjs +20 -20
- package/fesm2022/daffodil-design-switch-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-switch.mjs +9 -6
- package/fesm2022/daffodil-design-switch.mjs.map +1 -1
- package/fesm2022/daffodil-design-tabs-examples.mjs +33 -17
- package/fesm2022/daffodil-design-tabs-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-tabs.mjs +69 -25
- package/fesm2022/daffodil-design-tabs.mjs.map +1 -1
- package/fesm2022/daffodil-design-text-snippet-examples.mjs +4 -4
- package/fesm2022/daffodil-design-text-snippet-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-text-snippet.mjs +5 -4
- package/fesm2022/daffodil-design-text-snippet.mjs.map +1 -1
- package/fesm2022/daffodil-design-toast-examples.mjs +16 -16
- package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-toast.mjs +26 -27
- package/fesm2022/daffodil-design-toast.mjs.map +1 -1
- package/fesm2022/daffodil-design-tree-examples.mjs +8 -8
- package/fesm2022/daffodil-design-tree-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-tree.mjs +17 -19
- package/fesm2022/daffodil-design-tree.mjs.map +1 -1
- package/fesm2022/daffodil-design.mjs +233 -237
- package/fesm2022/daffodil-design.mjs.map +1 -1
- package/media-gallery/README.md +2 -2
- package/navbar/README.md +1 -1
- package/package.json +1 -1
- package/scss/global.scss +1 -1
- package/scss/interactions/mouse/_clickable.scss +1 -0
- package/scss/theming/_theme-css-variables.scss +6 -3
- package/scss/typography/_classes.scss +2 -1
- package/scss/typography/mixins/_font-weight.scss +2 -0
- package/scss/typography/mixins/_sizes.scss +4 -4
- package/sidebar/sidebar-header/sidebar-header.component.d.ts +10 -1
- package/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +13 -11
- package/switch/switch/switch.component.d.ts +5 -2
- package/tabs/README.md +3 -0
- package/tabs/examples/link-tabs/link-tabs.component.d.ts +6 -0
- package/tabs/src/tabs-theme.scss +8 -0
- package/tabs/tabs/tab/tab.component.d.ts +3 -2
- package/tabs/tabs/tab-label/tab-label.component.d.ts +1 -0
- package/tabs/tabs/tab-panel/tab-panel.component.d.ts +1 -0
- package/tabs/tabs/tabs.component.d.ts +31 -6
- package/tree/tree/tree.component.d.ts +1 -2
- package/tree/tree-item/tree-item.directive.d.ts +5 -6
- package/esm2022/accordion/accordion/accordion/accordion.component.mjs +0 -15
- package/esm2022/accordion/accordion/accordion-item/accordion-item.component.mjs +0 -81
- package/esm2022/accordion/accordion/accordion-item-title/accordion-item-title.directive.mjs +0 -23
- package/esm2022/accordion/accordion/animation/accordion-animation-state.mjs +0 -9
- package/esm2022/accordion/accordion/animation/accordion-animation.mjs +0 -15
- package/esm2022/accordion/accordion.mjs +0 -9
- package/esm2022/accordion/accordion.module.mjs +0 -36
- package/esm2022/accordion/daffodil-design-accordion.mjs +0 -5
- package/esm2022/accordion/examples/basic-accordion/basic-accordion.component.mjs +0 -15
- package/esm2022/accordion/examples/daffodil-design-accordion-examples.mjs +0 -5
- package/esm2022/accordion/examples/examples.mjs +0 -5
- package/esm2022/accordion/examples/index.mjs +0 -2
- package/esm2022/accordion/examples/public_api.mjs +0 -3
- package/esm2022/accordion/index.mjs +0 -2
- package/esm2022/accordion/public_api.mjs +0 -6
- package/esm2022/article/article/article.component.mjs +0 -30
- package/esm2022/article/article-meta/article-meta.directive.mjs +0 -23
- package/esm2022/article/article.mjs +0 -7
- package/esm2022/article/article.module.mjs +0 -31
- package/esm2022/article/daffodil-design-article.mjs +0 -5
- package/esm2022/article/examples/article-blockquote/article-blockquote.component.mjs +0 -15
- package/esm2022/article/examples/article-code-block/article-code-block.component.mjs +0 -15
- package/esm2022/article/examples/article-code-inline/article-code-inline.component.mjs +0 -15
- package/esm2022/article/examples/article-headings/article-headings.component.mjs +0 -15
- package/esm2022/article/examples/article-hr/article-hr.component.mjs +0 -15
- package/esm2022/article/examples/article-link/article-link.component.mjs +0 -15
- package/esm2022/article/examples/article-meta/article-meta.component.mjs +0 -15
- package/esm2022/article/examples/article-ol/article-ol.component.mjs +0 -15
- package/esm2022/article/examples/article-table/article-table.component.mjs +0 -15
- package/esm2022/article/examples/article-ul/article-ul.component.mjs +0 -15
- package/esm2022/article/examples/daffodil-design-article-examples.mjs +0 -5
- package/esm2022/article/examples/examples.mjs +0 -23
- package/esm2022/article/examples/index.mjs +0 -2
- package/esm2022/article/examples/public_api.mjs +0 -11
- package/esm2022/article/index.mjs +0 -2
- package/esm2022/article/public_api.mjs +0 -5
- package/esm2022/atoms/form/checkbox/checkbox.component.mjs +0 -142
- package/esm2022/atoms/form/checkbox/checkbox.module.mjs +0 -39
- package/esm2022/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +0 -94
- package/esm2022/atoms/form/checkbox/public_api.mjs +0 -5
- package/esm2022/atoms/form/checkbox-set/checkbox-set.component.mjs +0 -38
- package/esm2022/atoms/form/core/error-state-matcher/error-state-matcher.mjs +0 -6
- package/esm2022/atoms/form/core/public_api.mjs +0 -2
- package/esm2022/atoms/form/error-message/error-message.component.mjs +0 -17
- package/esm2022/atoms/form/error-message/error-message.module.mjs +0 -20
- package/esm2022/atoms/form/error-message/public_api.mjs +0 -3
- package/esm2022/atoms/form/form-field/form-field/form-field.component.mjs +0 -102
- package/esm2022/atoms/form/form-field/form-field-control.mjs +0 -15
- package/esm2022/atoms/form/form-field/form-field-errors.mjs +0 -2
- package/esm2022/atoms/form/form-field/form-field.module.mjs +0 -34
- package/esm2022/atoms/form/form-field/public_api.mjs +0 -4
- package/esm2022/atoms/form/form-label/form-label.directive.mjs +0 -19
- package/esm2022/atoms/form/form-label/form-label.module.mjs +0 -20
- package/esm2022/atoms/form/form-label/public_api.mjs +0 -3
- package/esm2022/atoms/form/input/input.component.mjs +0 -59
- package/esm2022/atoms/form/input/input.module.mjs +0 -24
- package/esm2022/atoms/form/input/public_api.mjs +0 -3
- package/esm2022/atoms/form/native-select/native-select.component.mjs +0 -64
- package/esm2022/atoms/form/native-select/native-select.module.mjs +0 -24
- package/esm2022/atoms/form/native-select/public_api.mjs +0 -3
- package/esm2022/atoms/form/quantity-field/public_api.mjs +0 -5
- package/esm2022/atoms/form/quantity-field/quantity-field.component.mjs +0 -137
- package/esm2022/atoms/form/quantity-field/quantity-field.module.mjs +0 -46
- package/esm2022/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +0 -97
- package/esm2022/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +0 -84
- package/esm2022/atoms/form/radio/cva/radio-cva.directive.mjs +0 -89
- package/esm2022/atoms/form/radio/public_api.mjs +0 -5
- package/esm2022/atoms/form/radio/radio.component.mjs +0 -132
- package/esm2022/atoms/form/radio/radio.module.mjs +0 -34
- package/esm2022/atoms/form/radio/registry/radio-registry.mjs +0 -54
- package/esm2022/atoms/form/radio-set/radio-set.component.mjs +0 -22
- package/esm2022/breadcrumb/breadcrumb/breadcrumb.component.mjs +0 -25
- package/esm2022/breadcrumb/breadcrumb-item/breadcrumb-item.directive.mjs +0 -33
- package/esm2022/breadcrumb/breadcrumb.mjs +0 -7
- package/esm2022/breadcrumb/breadcrumb.module.mjs +0 -28
- package/esm2022/breadcrumb/daffodil-design-breadcrumb.mjs +0 -5
- package/esm2022/breadcrumb/examples/basic-breadcrumb/basic-breadcrumb.component.mjs +0 -15
- package/esm2022/breadcrumb/examples/daffodil-design-breadcrumb-examples.mjs +0 -5
- package/esm2022/breadcrumb/examples/index.mjs +0 -2
- package/esm2022/breadcrumb/examples/public_api.mjs +0 -5
- package/esm2022/breadcrumb/index.mjs +0 -2
- package/esm2022/breadcrumb/public_api.mjs +0 -5
- package/esm2022/button/button/basic/button.component.mjs +0 -48
- package/esm2022/button/button/button-base.directive.mjs +0 -105
- package/esm2022/button/button/button-sizable.directive.mjs +0 -14
- package/esm2022/button/button/flat/flat.component.mjs +0 -48
- package/esm2022/button/button/icon/icon.component.mjs +0 -44
- package/esm2022/button/button/raised/raised.component.mjs +0 -48
- package/esm2022/button/button/stroked/stroked.component.mjs +0 -48
- package/esm2022/button/button/underline/underline.component.mjs +0 -48
- package/esm2022/button/button.mjs +0 -17
- package/esm2022/button/button.module.mjs +0 -60
- package/esm2022/button/daffodil-design-button.mjs +0 -5
- package/esm2022/button/examples/basic-button/basic-button.component.mjs +0 -21
- package/esm2022/button/examples/daffodil-design-button-examples.mjs +0 -5
- package/esm2022/button/examples/examples.mjs +0 -19
- package/esm2022/button/examples/flat-button/flat-button.component.mjs +0 -21
- package/esm2022/button/examples/icon-button/icon-button.component.mjs +0 -20
- package/esm2022/button/examples/index.mjs +0 -2
- package/esm2022/button/examples/public_api.mjs +0 -10
- package/esm2022/button/examples/raised-button/raised-button.component.mjs +0 -21
- package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +0 -22
- package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +0 -24
- package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +0 -21
- package/esm2022/button/examples/underline-button/underline-button.component.mjs +0 -21
- package/esm2022/button/index.mjs +0 -2
- package/esm2022/button/public_api.mjs +0 -10
- package/esm2022/callout/callout/callout.component.mjs +0 -43
- package/esm2022/callout/callout-body/callout-body.directive.mjs +0 -23
- package/esm2022/callout/callout-icon/callout-icon.directive.mjs +0 -23
- package/esm2022/callout/callout-subtitle/callout-subtitle.directive.mjs +0 -23
- package/esm2022/callout/callout-tagline/callout-tagline.directive.mjs +0 -23
- package/esm2022/callout/callout-title/callout-title.directive.mjs +0 -23
- package/esm2022/callout/callout.mjs +0 -15
- package/esm2022/callout/callout.module.mjs +0 -51
- package/esm2022/callout/daffodil-design-callout.mjs +0 -5
- package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +0 -38
- package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +0 -39
- package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +0 -27
- package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +0 -26
- package/esm2022/callout/examples/daffodil-design-callout-examples.mjs +0 -5
- package/esm2022/callout/examples/examples.mjs +0 -11
- package/esm2022/callout/examples/index.mjs +0 -2
- package/esm2022/callout/examples/public_api.mjs +0 -6
- package/esm2022/callout/index.mjs +0 -2
- package/esm2022/callout/public_api.mjs +0 -9
- package/esm2022/card/card/card.component.mjs +0 -108
- package/esm2022/card/card-actions/card-actions.directive.mjs +0 -23
- package/esm2022/card/card-content/card-content.directive.mjs +0 -23
- package/esm2022/card/card-icon/card-icon.directive.mjs +0 -23
- package/esm2022/card/card-image/card-image.directive.mjs +0 -23
- package/esm2022/card/card-tagline/card-tagline.directive.mjs +0 -23
- package/esm2022/card/card-title/card-title.directive.mjs +0 -23
- package/esm2022/card/card.mjs +0 -17
- package/esm2022/card/card.module.mjs +0 -56
- package/esm2022/card/daffodil-design-card.mjs +0 -5
- package/esm2022/card/examples/basic-card/basic-card.component.mjs +0 -26
- package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +0 -37
- package/esm2022/card/examples/card-theming/card-theming.component.mjs +0 -33
- package/esm2022/card/examples/daffodil-design-card-examples.mjs +0 -5
- package/esm2022/card/examples/index.mjs +0 -2
- package/esm2022/card/examples/linkable-card/linkable-card.component.mjs +0 -38
- package/esm2022/card/examples/public_api.mjs +0 -16
- package/esm2022/card/examples/raised-card/raised-card.component.mjs +0 -36
- package/esm2022/card/examples/stroked-card/stroked-card.component.mjs +0 -36
- package/esm2022/card/index.mjs +0 -2
- package/esm2022/card/public_api.mjs +0 -10
- package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +0 -32
- package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +0 -33
- package/esm2022/checkbox/examples/daffodil-design-checkbox-examples.mjs +0 -5
- package/esm2022/checkbox/examples/examples.mjs +0 -7
- package/esm2022/checkbox/examples/index.mjs +0 -2
- package/esm2022/checkbox/examples/public_api.mjs +0 -2
- package/esm2022/container/container/container.component.mjs +0 -30
- package/esm2022/container/container.mjs +0 -5
- package/esm2022/container/container.module.mjs +0 -26
- package/esm2022/container/daffodil-design-container.mjs +0 -5
- package/esm2022/container/examples/container-sizes/container-sizes.component.mjs +0 -30
- package/esm2022/container/examples/daffodil-design-container-examples.mjs +0 -5
- package/esm2022/container/examples/examples.mjs +0 -5
- package/esm2022/container/examples/index.mjs +0 -2
- package/esm2022/container/examples/public_api.mjs +0 -3
- package/esm2022/container/index.mjs +0 -2
- package/esm2022/container/public_api.mjs +0 -4
- package/esm2022/core/animation/animation-state-with-params.mjs +0 -2
- package/esm2022/core/article-encapsulated/article-encapsulated.directive.mjs +0 -45
- package/esm2022/core/article-encapsulated/public_api.mjs +0 -2
- package/esm2022/core/breakpoints/breakpoints.mjs +0 -10
- package/esm2022/core/breakpoints/noop.service.mjs +0 -25
- package/esm2022/core/breakpoints/provider.mjs +0 -13
- package/esm2022/core/breakpoints/public_api.mjs +0 -4
- package/esm2022/core/colorable/colorable.directive.mjs +0 -104
- package/esm2022/core/colorable/colorable.mjs +0 -37
- package/esm2022/core/colorable/public_api.mjs +0 -2
- package/esm2022/core/compactable/compactable.directive.mjs +0 -70
- package/esm2022/core/compactable/compactable.mjs +0 -2
- package/esm2022/core/compactable/public_api.mjs +0 -2
- package/esm2022/core/constructor/constructor.mjs +0 -7
- package/esm2022/core/focus/focusable-elements.mjs +0 -2
- package/esm2022/core/focus/public_api.mjs +0 -3
- package/esm2022/core/focus/stack.service.mjs +0 -71
- package/esm2022/core/lazy/lazy-component.mjs +0 -3
- package/esm2022/core/lazy/public_api.mjs +0 -2
- package/esm2022/core/manage-container-layout/manage-container-layout.directive.mjs +0 -80
- package/esm2022/core/manage-container-layout/public_api.mjs +0 -2
- package/esm2022/core/mutable/mutable.mjs +0 -2
- package/esm2022/core/openable/openable.directive.mjs +0 -122
- package/esm2022/core/openable/openable.mjs +0 -2
- package/esm2022/core/openable/public_api.mjs +0 -2
- package/esm2022/core/openable/utils/state-error.mjs +0 -2
- package/esm2022/core/prefix-suffix/prefix-suffix.module.mjs +0 -26
- package/esm2022/core/prefix-suffix/prefix.directive.mjs +0 -24
- package/esm2022/core/prefix-suffix/prefixable/prefixable-interface.mjs +0 -2
- package/esm2022/core/prefix-suffix/prefixable/prefixable.mjs +0 -23
- package/esm2022/core/prefix-suffix/public_api.mjs +0 -6
- package/esm2022/core/prefix-suffix/suffix.directive.mjs +0 -24
- package/esm2022/core/prefix-suffix/suffixable/suffixable-interface.mjs +0 -2
- package/esm2022/core/prefix-suffix/suffixable/suffixable.mjs +0 -23
- package/esm2022/core/public_api.mjs +0 -20
- package/esm2022/core/selectable/public_api.mjs +0 -2
- package/esm2022/core/selectable/selectable.directive.mjs +0 -41
- package/esm2022/core/selectable/selectable.mjs +0 -2
- package/esm2022/core/sizable/public_api.mjs +0 -3
- package/esm2022/core/sizable/sizable.directive.mjs +0 -96
- package/esm2022/core/sizable/sizable.mjs +0 -12
- package/esm2022/core/skeletonable/public_api.mjs +0 -2
- package/esm2022/core/skeletonable/skeletonable.directive.mjs +0 -66
- package/esm2022/core/skeletonable/skeletonable.mjs +0 -2
- package/esm2022/core/statusable/public_api.mjs +0 -3
- package/esm2022/core/statusable/statusable.directive.mjs +0 -79
- package/esm2022/core/statusable/statusable.mjs +0 -11
- package/esm2022/core/text-alignable/public_api.mjs +0 -3
- package/esm2022/core/text-alignable/text-alignable.directive.mjs +0 -84
- package/esm2022/core/text-alignable/text-alignable.mjs +0 -7
- package/esm2022/core/theming/functions/computer.mjs +0 -18
- package/esm2022/core/theming/initializer.mjs +0 -17
- package/esm2022/core/theming/public_api.mjs +0 -4
- package/esm2022/core/theming/services/class-setter/theme-class-setter.service.mjs +0 -52
- package/esm2022/core/theming/services/os-theme/ostheme.service.mjs +0 -49
- package/esm2022/core/theming/services/storage/theme-storage.service.mjs +0 -67
- package/esm2022/core/theming/services/theming.service.mjs +0 -61
- package/esm2022/core/theming/types/theme.mjs +0 -10
- package/esm2022/daffodil-design.mjs +0 -5
- package/esm2022/hero/daffodil-design-hero.mjs +0 -5
- package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +0 -23
- package/esm2022/hero/examples/daffodil-design-hero-examples.mjs +0 -5
- package/esm2022/hero/examples/examples.mjs +0 -11
- package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +0 -38
- package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +0 -28
- package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +0 -26
- package/esm2022/hero/examples/index.mjs +0 -2
- package/esm2022/hero/examples/public_api.mjs +0 -6
- package/esm2022/hero/hero/hero.component.mjs +0 -40
- package/esm2022/hero/hero-body/hero-body.directive.mjs +0 -23
- package/esm2022/hero/hero-icon/hero-icon.directive.mjs +0 -23
- package/esm2022/hero/hero-subtitle/hero-subtitle.directive.mjs +0 -23
- package/esm2022/hero/hero-tagline/hero-tagline.directive.mjs +0 -23
- package/esm2022/hero/hero-title/hero-title.directive.mjs +0 -23
- package/esm2022/hero/hero.mjs +0 -15
- package/esm2022/hero/hero.module.mjs +0 -51
- package/esm2022/hero/index.mjs +0 -2
- package/esm2022/hero/public_api.mjs +0 -9
- package/esm2022/image/daffodil-design-image.mjs +0 -5
- package/esm2022/image/examples/basic-image/basic-image.component.mjs +0 -15
- package/esm2022/image/examples/daffodil-design-image-examples.mjs +0 -5
- package/esm2022/image/examples/index.mjs +0 -2
- package/esm2022/image/examples/load-image/load-image.component.mjs +0 -23
- package/esm2022/image/examples/public_api.mjs +0 -9
- package/esm2022/image/examples/skeleton-image/skeleton-image.component.mjs +0 -15
- package/esm2022/image/image/image.component.mjs +0 -116
- package/esm2022/image/image.mjs +0 -5
- package/esm2022/image/image.module.mjs +0 -26
- package/esm2022/image/index.mjs +0 -2
- package/esm2022/image/public_api.mjs +0 -4
- package/esm2022/index.mjs +0 -6
- package/esm2022/input/examples/basic-input/basic-input.component.mjs +0 -13
- package/esm2022/input/examples/daffodil-design-input-examples.mjs +0 -5
- package/esm2022/input/examples/examples.mjs +0 -11
- package/esm2022/input/examples/index.mjs +0 -2
- package/esm2022/input/examples/input-disabled/input-disabled.component.mjs +0 -13
- package/esm2022/input/examples/input-error/input-error.component.mjs +0 -25
- package/esm2022/input/examples/input-with-form-field/input-with-form-field.component.mjs +0 -13
- package/esm2022/input/examples/public_api.mjs +0 -2
- package/esm2022/link-set/daffodil-design-link-set.mjs +0 -5
- package/esm2022/link-set/index.mjs +0 -2
- package/esm2022/link-set/link-set/link-set.component.mjs +0 -27
- package/esm2022/link-set/link-set-heading/link-set-heading.directive.mjs +0 -26
- package/esm2022/link-set/link-set-item/link-set-item.component.mjs +0 -27
- package/esm2022/link-set/link-set-subheading/link-set-subheading.directive.mjs +0 -26
- package/esm2022/link-set/link-set.mjs +0 -11
- package/esm2022/link-set/link-set.module.mjs +0 -41
- package/esm2022/link-set/public_api.mjs +0 -7
- package/esm2022/list/daffodil-design-list.mjs +0 -5
- package/esm2022/list/examples/basic-list/basic-list.component.mjs +0 -16
- package/esm2022/list/examples/daffodil-design-list-examples.mjs +0 -5
- package/esm2022/list/examples/examples.mjs +0 -11
- package/esm2022/list/examples/icon-list/icon-list.component.mjs +0 -22
- package/esm2022/list/examples/index.mjs +0 -2
- package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +0 -16
- package/esm2022/list/examples/nav-list/nav-list.component.mjs +0 -22
- package/esm2022/list/examples/public_api.mjs +0 -6
- package/esm2022/list/index.mjs +0 -2
- package/esm2022/list/list/list.component.mjs +0 -63
- package/esm2022/list/list-item/list-item.component.mjs +0 -59
- package/esm2022/list/list.mjs +0 -9
- package/esm2022/list/list.module.mjs +0 -35
- package/esm2022/list/public_api.mjs +0 -5
- package/esm2022/loading-icon/daffodil-design-loading-icon.mjs +0 -5
- package/esm2022/loading-icon/examples/daffodil-design-loading-icon-examples.mjs +0 -5
- package/esm2022/loading-icon/examples/examples.mjs +0 -5
- package/esm2022/loading-icon/examples/index.mjs +0 -2
- package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +0 -33
- package/esm2022/loading-icon/examples/public_api.mjs +0 -3
- package/esm2022/loading-icon/index.mjs +0 -2
- package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +0 -30
- package/esm2022/loading-icon/loading-icon.mjs +0 -5
- package/esm2022/loading-icon/loading-icon.module.mjs +0 -26
- package/esm2022/loading-icon/public_api.mjs +0 -4
- package/esm2022/media-gallery/daffodil-design-media-gallery.mjs +0 -5
- package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +0 -18
- package/esm2022/media-gallery/examples/daffodil-design-media-gallery-examples.mjs +0 -5
- package/esm2022/media-gallery/examples/examples.mjs +0 -9
- package/esm2022/media-gallery/examples/index.mjs +0 -2
- package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +0 -18
- package/esm2022/media-gallery/examples/public_api.mjs +0 -5
- package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +0 -18
- package/esm2022/media-gallery/helpers/media-gallery-registration.interface.mjs +0 -2
- package/esm2022/media-gallery/helpers/media-gallery-token.mjs +0 -7
- package/esm2022/media-gallery/index.mjs +0 -2
- package/esm2022/media-gallery/media-gallery/media-gallery.component.mjs +0 -57
- package/esm2022/media-gallery/media-gallery.mjs +0 -9
- package/esm2022/media-gallery/media-gallery.module.mjs +0 -34
- package/esm2022/media-gallery/media-renderer/media-renderer.component.mjs +0 -81
- package/esm2022/media-gallery/public_api.mjs +0 -6
- package/esm2022/media-gallery/registry/media-gallery.registry.mjs +0 -97
- package/esm2022/media-gallery/thumbnail/thumbnail-compat.token.mjs +0 -11
- package/esm2022/media-gallery/thumbnail/thumbnail-registration.interface.mjs +0 -2
- package/esm2022/media-gallery/thumbnail/thumbnail.directive.mjs +0 -76
- package/esm2022/menu/daffodil-design-menu.mjs +0 -5
- package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +0 -21
- package/esm2022/menu/examples/basic-menu/menu-content/menu-content.component.mjs +0 -23
- package/esm2022/menu/examples/daffodil-design-menu-examples.mjs +0 -5
- package/esm2022/menu/examples/index.mjs +0 -2
- package/esm2022/menu/examples/public_api.mjs +0 -5
- package/esm2022/menu/helpers/create-overlay.mjs +0 -29
- package/esm2022/menu/helpers/public_api.mjs +0 -2
- package/esm2022/menu/index.mjs +0 -2
- package/esm2022/menu/menu/menu.component.mjs +0 -66
- package/esm2022/menu/menu-activator/menu-activator.component.mjs +0 -49
- package/esm2022/menu/menu-item/menu-item.component.mjs +0 -38
- package/esm2022/menu/menu.module.mjs +0 -45
- package/esm2022/menu/public_api.mjs +0 -7
- package/esm2022/menu/services/menu.service.mjs +0 -53
- package/esm2022/modal/animations/modal-animation-state.mjs +0 -2
- package/esm2022/modal/animations/modal-animation.mjs +0 -9
- package/esm2022/modal/daffodil-design-modal.mjs +0 -5
- package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +0 -28
- package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +0 -17
- package/esm2022/modal/examples/daffodil-design-modal-examples.mjs +0 -5
- package/esm2022/modal/examples/index.mjs +0 -2
- package/esm2022/modal/examples/public_api.mjs +0 -5
- package/esm2022/modal/index.mjs +0 -2
- package/esm2022/modal/modal/modal-config.mjs +0 -2
- package/esm2022/modal/modal/modal.component.mjs +0 -163
- package/esm2022/modal/modal/modal.mjs +0 -2
- package/esm2022/modal/modal-actions/modal-actions.component.mjs +0 -22
- package/esm2022/modal/modal-close/modal-close.directive.mjs +0 -48
- package/esm2022/modal/modal-content/modal-content.component.mjs +0 -22
- package/esm2022/modal/modal-header/modal-header.component.mjs +0 -37
- package/esm2022/modal/modal-title/modal-title.directive.mjs +0 -50
- package/esm2022/modal/modal.mjs +0 -13
- package/esm2022/modal/modal.module.mjs +0 -75
- package/esm2022/modal/public_api.mjs +0 -10
- package/esm2022/modal/service/modal.service.mjs +0 -74
- package/esm2022/navbar/daffodil-design-navbar.mjs +0 -5
- package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +0 -17
- package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +0 -20
- package/esm2022/navbar/examples/daffodil-design-navbar-examples.mjs +0 -5
- package/esm2022/navbar/examples/examples.mjs +0 -11
- package/esm2022/navbar/examples/index.mjs +0 -2
- package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +0 -35
- package/esm2022/navbar/examples/public_api.mjs +0 -6
- package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +0 -17
- package/esm2022/navbar/index.mjs +0 -2
- package/esm2022/navbar/navbar/navbar.component.mjs +0 -41
- package/esm2022/navbar/navbar.mjs +0 -5
- package/esm2022/navbar/navbar.module.mjs +0 -26
- package/esm2022/navbar/public_api.mjs +0 -4
- package/esm2022/notification/daffodil-design-notification.mjs +0 -5
- package/esm2022/notification/examples/daffodil-design-notification-examples.mjs +0 -5
- package/esm2022/notification/examples/default-notification/default-notification.component.mjs +0 -30
- package/esm2022/notification/examples/dismissible-notification/dismissible-notification.component.mjs +0 -30
- package/esm2022/notification/examples/index.mjs +0 -2
- package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +0 -30
- package/esm2022/notification/examples/notification-status/notification-status.component.mjs +0 -32
- package/esm2022/notification/examples/notification-with-actions/notification-with-actions.component.mjs +0 -29
- package/esm2022/notification/examples/public_api.mjs +0 -13
- package/esm2022/notification/index.mjs +0 -2
- package/esm2022/notification/notification/notification.component.mjs +0 -108
- package/esm2022/notification/notification-actions/notification-actions.directive.mjs +0 -20
- package/esm2022/notification/notification-message/notification-message.directive.mjs +0 -20
- package/esm2022/notification/notification-subtitle/notification-subtitle.directive.mjs +0 -20
- package/esm2022/notification/notification-title/notification-title.directive.mjs +0 -20
- package/esm2022/notification/notification.mjs +0 -15
- package/esm2022/notification/notification.module.mjs +0 -57
- package/esm2022/notification/public_api.mjs +0 -8
- package/esm2022/paginator/daffodil-design-paginator.mjs +0 -5
- package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +0 -22
- package/esm2022/paginator/examples/daffodil-design-paginator-examples.mjs +0 -5
- package/esm2022/paginator/examples/examples.mjs +0 -7
- package/esm2022/paginator/examples/index.mjs +0 -2
- package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +0 -30
- package/esm2022/paginator/examples/public_api.mjs +0 -4
- package/esm2022/paginator/index.mjs +0 -2
- package/esm2022/paginator/paginator/paginator.component.mjs +0 -169
- package/esm2022/paginator/paginator.mjs +0 -5
- package/esm2022/paginator/paginator.module.mjs +0 -35
- package/esm2022/paginator/public_api.mjs +0 -4
- package/esm2022/paginator/utils/paginator-errors.mjs +0 -3
- package/esm2022/progress-bar/animation/progress-bar-animation.mjs +0 -9
- package/esm2022/progress-bar/daffodil-design-progress-bar.mjs +0 -5
- package/esm2022/progress-bar/examples/daffodil-design-progress-bar-examples.mjs +0 -5
- package/esm2022/progress-bar/examples/index.mjs +0 -2
- package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.component.mjs +0 -15
- package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.mjs +0 -15
- package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.mjs +0 -22
- package/esm2022/progress-bar/examples/public_api.mjs +0 -9
- package/esm2022/progress-bar/index.mjs +0 -2
- package/esm2022/progress-bar/progress-bar-label/progress-bar-label.directive.mjs +0 -20
- package/esm2022/progress-bar/progress-bar.component.mjs +0 -139
- package/esm2022/progress-bar/progress-bar.mjs +0 -7
- package/esm2022/progress-bar/progress-bar.module.mjs +0 -31
- package/esm2022/progress-bar/public_api.mjs +0 -5
- package/esm2022/public_api.mjs +0 -16
- package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +0 -22
- package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +0 -22
- package/esm2022/quantity-field/examples/daffodil-design-quantity-field-examples.mjs +0 -5
- package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +0 -22
- package/esm2022/quantity-field/examples/index.mjs +0 -2
- package/esm2022/quantity-field/examples/public_api.mjs +0 -12
- package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +0 -22
- package/esm2022/radio/examples/basic-radio/basic-radio.component.mjs +0 -20
- package/esm2022/radio/examples/daffodil-design-radio-examples.mjs +0 -5
- package/esm2022/radio/examples/examples.mjs +0 -5
- package/esm2022/radio/examples/index.mjs +0 -2
- package/esm2022/radio/examples/public_api.mjs +0 -2
- package/esm2022/sidebar/animation/sidebar-animation-state.mjs +0 -24
- package/esm2022/sidebar/animation/sidebar-animation-width.mjs +0 -2
- package/esm2022/sidebar/animation/sidebar-animation.mjs +0 -51
- package/esm2022/sidebar/animation/sidebar-viewport-animation-state.mjs +0 -4
- package/esm2022/sidebar/daffodil-design-sidebar.mjs +0 -5
- package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +0 -15
- package/esm2022/sidebar/examples/daffodil-design-sidebar-examples.mjs +0 -5
- package/esm2022/sidebar/examples/index.mjs +0 -2
- package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +0 -36
- package/esm2022/sidebar/examples/public_api.mjs +0 -11
- package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.mjs +0 -15
- package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.mjs +0 -15
- package/esm2022/sidebar/helper/is-docked-mode.mjs +0 -9
- package/esm2022/sidebar/helper/is-floating-mode.mjs +0 -9
- package/esm2022/sidebar/helper/sidebar-mode.mjs +0 -2
- package/esm2022/sidebar/helper/sidebar-side.mjs +0 -2
- package/esm2022/sidebar/index.mjs +0 -2
- package/esm2022/sidebar/public_api.mjs +0 -14
- package/esm2022/sidebar/service/registration.type.mjs +0 -2
- package/esm2022/sidebar/service/sidebar.service.mjs +0 -36
- package/esm2022/sidebar/sidebar/is-opening.mjs +0 -13
- package/esm2022/sidebar/sidebar/sidebar.component.mjs +0 -178
- package/esm2022/sidebar/sidebar-footer/sidebar-footer.component.mjs +0 -17
- package/esm2022/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.mjs +0 -23
- package/esm2022/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.mjs +0 -23
- package/esm2022/sidebar/sidebar-header/sidebar-header.component.mjs +0 -17
- package/esm2022/sidebar/sidebar-viewport/helper/has-parent-viewport.mjs +0 -16
- package/esm2022/sidebar/sidebar-viewport/nav-placement.mjs +0 -10
- package/esm2022/sidebar/sidebar-viewport/scroll-token/scroll.token.mjs +0 -45
- package/esm2022/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +0 -198
- package/esm2022/sidebar/sidebar-viewport/utils/backdrop-interactable.mjs +0 -5
- package/esm2022/sidebar/sidebar-viewport/utils/content-pad.mjs +0 -17
- package/esm2022/sidebar/sidebar-viewport/utils/content-shift.mjs +0 -21
- package/esm2022/sidebar/sidebar-viewport-backdrop/animation/backdrop-animation-state.mjs +0 -2
- package/esm2022/sidebar/sidebar-viewport-backdrop/animation/backdrop-animation.mjs +0 -20
- package/esm2022/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.mjs +0 -87
- package/esm2022/sidebar/sidebar.mjs +0 -17
- package/esm2022/sidebar/sidebar.module.mjs +0 -60
- package/esm2022/switch/daffodil-design-switch.mjs +0 -5
- package/esm2022/switch/examples/basic-switch/basic-switch.component.mjs +0 -23
- package/esm2022/switch/examples/daffodil-design-switch-examples.mjs +0 -5
- package/esm2022/switch/examples/disabled-switch/disabled-switch.component.mjs +0 -20
- package/esm2022/switch/examples/examples.mjs +0 -13
- package/esm2022/switch/examples/index.mjs +0 -2
- package/esm2022/switch/examples/loading-switch/loading-switch.component.mjs +0 -20
- package/esm2022/switch/examples/public_api.mjs +0 -7
- package/esm2022/switch/examples/switch-error/switch-error.component.mjs +0 -22
- package/esm2022/switch/examples/switch-label-positions/switch-label-positions.component.mjs +0 -31
- package/esm2022/switch/index.mjs +0 -2
- package/esm2022/switch/public_api.mjs +0 -3
- package/esm2022/switch/switch/label-position.mjs +0 -11
- package/esm2022/switch/switch/switch.component.mjs +0 -126
- package/esm2022/switch/switch.mjs +0 -7
- package/esm2022/tabs/daffodil-design-tabs.mjs +0 -5
- package/esm2022/tabs/examples/basic-tabs/basic-tabs.component.mjs +0 -22
- package/esm2022/tabs/examples/custom-select-tabs/custom-select-tabs.component.mjs +0 -34
- package/esm2022/tabs/examples/daffodil-design-tabs-examples.mjs +0 -5
- package/esm2022/tabs/examples/disabled-tabs/disabled-tabs.component.mjs +0 -22
- package/esm2022/tabs/examples/index.mjs +0 -2
- package/esm2022/tabs/examples/initially-select-tab/initially-select-tab.component.mjs +0 -22
- package/esm2022/tabs/examples/public_api.mjs +0 -11
- package/esm2022/tabs/index.mjs +0 -2
- package/esm2022/tabs/public_api.mjs +0 -6
- package/esm2022/tabs/tabs/tab/tab.component.mjs +0 -86
- package/esm2022/tabs/tabs/tab-activator/tab-activator.component.mjs +0 -84
- package/esm2022/tabs/tabs/tab-label/tab-label.component.mjs +0 -33
- package/esm2022/tabs/tabs/tab-panel/tab-panel.component.mjs +0 -68
- package/esm2022/tabs/tabs/tabs.component.mjs +0 -157
- package/esm2022/tabs/tabs.mjs +0 -13
- package/esm2022/text-snippet/daffodil-design-text-snippet.mjs +0 -5
- package/esm2022/text-snippet/examples/basic-text-snippet/basic-text-snippet.component.mjs +0 -14
- package/esm2022/text-snippet/examples/daffodil-design-text-snippet-examples.mjs +0 -5
- package/esm2022/text-snippet/examples/index.mjs +0 -2
- package/esm2022/text-snippet/examples/public_api.mjs +0 -5
- package/esm2022/text-snippet/index.mjs +0 -2
- package/esm2022/text-snippet/public_api.mjs +0 -2
- package/esm2022/text-snippet/text-snippet.component.mjs +0 -46
- package/esm2022/toast/daffodil-design-toast.mjs +0 -5
- package/esm2022/toast/examples/daffodil-design-toast-examples.mjs +0 -5
- package/esm2022/toast/examples/default-toast/default-toast.component.mjs +0 -40
- package/esm2022/toast/examples/index.mjs +0 -2
- package/esm2022/toast/examples/public_api.mjs +0 -11
- package/esm2022/toast/examples/toast-positions/toast-positions.component.mjs +0 -61
- package/esm2022/toast/examples/toast-status/toast-status.component.mjs +0 -49
- package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.mjs +0 -28
- package/esm2022/toast/index.mjs +0 -2
- package/esm2022/toast/interfaces/toast-action.mjs +0 -2
- package/esm2022/toast/interfaces/toast.mjs +0 -2
- package/esm2022/toast/options/daff-toast-options.mjs +0 -16
- package/esm2022/toast/public_api.mjs +0 -10
- package/esm2022/toast/service/changes-focus.mjs +0 -2
- package/esm2022/toast/service/position-strategy.mjs +0 -29
- package/esm2022/toast/service/position.service.mjs +0 -33
- package/esm2022/toast/service/toast.service.mjs +0 -115
- package/esm2022/toast/toast/toast-config.mjs +0 -2
- package/esm2022/toast/toast/toast-provider.mjs +0 -7
- package/esm2022/toast/toast/toast-template.component.mjs +0 -280
- package/esm2022/toast/toast/toast.component.mjs +0 -73
- package/esm2022/toast/toast-actions/toast-actions.directive.mjs +0 -20
- package/esm2022/toast/toast-message/toast-message.directive.mjs +0 -20
- package/esm2022/toast/toast-title/toast-title.directive.mjs +0 -20
- package/esm2022/toast/toast.module.mjs +0 -69
- package/esm2022/tree/daffodil-design-tree.mjs +0 -5
- package/esm2022/tree/examples/basic-tree/basic-tree.component.mjs +0 -43
- package/esm2022/tree/examples/daffodil-design-tree-examples.mjs +0 -5
- package/esm2022/tree/examples/deep-tree/deep-tree.component.mjs +0 -54
- package/esm2022/tree/examples/index.mjs +0 -2
- package/esm2022/tree/examples/public_api.mjs +0 -8
- package/esm2022/tree/index.mjs +0 -2
- package/esm2022/tree/interfaces/recursive-key.mjs +0 -2
- package/esm2022/tree/interfaces/tree-data.mjs +0 -2
- package/esm2022/tree/interfaces/tree-render-mode.mjs +0 -2
- package/esm2022/tree/interfaces/tree-ui.mjs +0 -2
- package/esm2022/tree/public_api.mjs +0 -6
- package/esm2022/tree/tree/tree-notifier.service.mjs +0 -45
- package/esm2022/tree/tree/tree.component.mjs +0 -106
- package/esm2022/tree/tree-item/tree-item.directive.mjs +0 -157
- package/esm2022/tree/tree.mjs +0 -7
- package/esm2022/tree/tree.module.mjs +0 -31
- package/esm2022/tree/utils/flatten-tree.mjs +0 -63
- package/esm2022/tree/utils/hydrate-tree.mjs +0 -31
- package/esm2022/tree/utils/transform.mjs +0 -25
- package/esm2022/tree/utils/traverse-tree.mjs +0 -21
@@ -6,23 +6,23 @@ import * as i2 from '@angular/forms';
|
|
6
6
|
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
7
7
|
|
8
8
|
class ProgressBarDefaultComponent {
|
9
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
10
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
9
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ProgressBarDefaultComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
10
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.7", type: ProgressBarDefaultComponent, isStandalone: true, selector: "progress-bar-default", ngImport: i0, template: "<daff-progress-bar percentage=\"25\">\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>\n", styles: [":host{display:flex;flex-direction:column;gap:8px}\n"], dependencies: [{ kind: "component", type: i1.DaffProgressBarComponent, selector: "daff-progress-bar", inputs: ["percentage", "indeterminate"], outputs: ["finished"] }, { kind: "directive", type: i1.DaffProgressBarLabelDirective, selector: "[daffProgressBarLabel]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
11
11
|
}
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ProgressBarDefaultComponent, decorators: [{
|
13
13
|
type: Component,
|
14
|
-
args: [{ selector: 'progress-bar-default', changeDetection: ChangeDetectionStrategy.OnPush,
|
14
|
+
args: [{ selector: 'progress-bar-default', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
15
15
|
DAFF_PROGRESS_BAR_COMPONENTS,
|
16
16
|
], template: "<daff-progress-bar percentage=\"25\">\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>\n", styles: [":host{display:flex;flex-direction:column;gap:8px}\n"] }]
|
17
17
|
}] });
|
18
18
|
|
19
19
|
class ProgressBarIndeterminateComponent {
|
20
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
21
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
20
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ProgressBarIndeterminateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
21
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.7", type: ProgressBarIndeterminateComponent, isStandalone: true, selector: "progress-bar-indeterminate", ngImport: i0, template: "<daff-progress-bar indeterminate>\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>", styles: [":host{display:flex;flex-direction:column;gap:8px}\n"], dependencies: [{ kind: "component", type: i1.DaffProgressBarComponent, selector: "daff-progress-bar", inputs: ["percentage", "indeterminate"], outputs: ["finished"] }, { kind: "directive", type: i1.DaffProgressBarLabelDirective, selector: "[daffProgressBarLabel]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
22
22
|
}
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ProgressBarIndeterminateComponent, decorators: [{
|
24
24
|
type: Component,
|
25
|
-
args: [{ selector: 'progress-bar-indeterminate', changeDetection: ChangeDetectionStrategy.OnPush,
|
25
|
+
args: [{ selector: 'progress-bar-indeterminate', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
26
26
|
DAFF_PROGRESS_BAR_COMPONENTS,
|
27
27
|
], template: "<daff-progress-bar indeterminate>\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>", styles: [":host{display:flex;flex-direction:column;gap:8px}\n"] }]
|
28
28
|
}] });
|
@@ -32,12 +32,12 @@ class ProgressBarThemesComponent {
|
|
32
32
|
this.color = 'primary';
|
33
33
|
this.colorControl = new FormControl('');
|
34
34
|
}
|
35
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
36
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
35
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ProgressBarThemesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
36
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.7", type: ProgressBarThemesComponent, isStandalone: true, selector: "progress-bar-themes", ngImport: i0, template: "<daff-progress-bar percentage=\"25\" [color]=\"colorControl.value\">\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>\n\n<select [formControl]=\"colorControl\">\n\t<option value=\"\">Default</option>\n\t<option value=\"primary\">Primary</option>\n\t<option value=\"secondary\">Secondary</option>\n\t<option value=\"tertiary\">Tertiary</option>\n\t<option value=\"theme\">Theme</option>\n\t<option value=\"theme-contrast\">Theme Contrast</option>\n\t<option value=\"white\">White</option>\n\t<option value=\"black\">Black</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:flex-start;gap:16px}\n"], dependencies: [{ kind: "component", type: i1.DaffProgressBarComponent, selector: "daff-progress-bar", inputs: ["percentage", "indeterminate"], outputs: ["finished"] }, { kind: "directive", type: i1.DaffProgressBarLabelDirective, selector: "[daffProgressBarLabel]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
37
37
|
}
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ProgressBarThemesComponent, decorators: [{
|
39
39
|
type: Component,
|
40
|
-
args: [{ selector: 'progress-bar-themes', changeDetection: ChangeDetectionStrategy.OnPush,
|
40
|
+
args: [{ selector: 'progress-bar-themes', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
41
41
|
DAFF_PROGRESS_BAR_COMPONENTS,
|
42
42
|
ReactiveFormsModule,
|
43
43
|
], template: "<daff-progress-bar percentage=\"25\" [color]=\"colorControl.value\">\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>\n\n<select [formControl]=\"colorControl\">\n\t<option value=\"\">Default</option>\n\t<option value=\"primary\">Primary</option>\n\t<option value=\"secondary\">Secondary</option>\n\t<option value=\"tertiary\">Tertiary</option>\n\t<option value=\"theme\">Theme</option>\n\t<option value=\"theme-contrast\">Theme Contrast</option>\n\t<option value=\"white\">White</option>\n\t<option value=\"black\">Black</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:flex-start;gap:16px}\n"] }]
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"daffodil-design-progress-bar-examples.mjs","sources":["../../../libs/design/progress-bar/examples/src/progress-bar-default/progress-bar-default.component.ts","../../../libs/design/progress-bar/examples/src/progress-bar-default/progress-bar-default.component.html","../../../libs/design/progress-bar/examples/src/progress-bar-indeterminate/progress-bar-indeterminate.component.ts","../../../libs/design/progress-bar/examples/src/progress-bar-indeterminate/progress-bar-indeterminate.component.html","../../../libs/design/progress-bar/examples/src/progress-bar-themes/progress-bar-themes.component.ts","../../../libs/design/progress-bar/examples/src/progress-bar-themes/progress-bar-themes.component.html","../../../libs/design/progress-bar/examples/src/public_api.ts","../../../libs/design/progress-bar/examples/src/daffodil-design-progress-bar-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DAFF_PROGRESS_BAR_COMPONENTS } from '@daffodil/design/progress-bar';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'progress-bar-default',\n templateUrl: './progress-bar-default.component.html',\n styles: [`\n :host {\n display: flex;\n flex-direction: column;\n gap: 8px;\n }`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n
|
1
|
+
{"version":3,"file":"daffodil-design-progress-bar-examples.mjs","sources":["../../../libs/design/progress-bar/examples/src/progress-bar-default/progress-bar-default.component.ts","../../../libs/design/progress-bar/examples/src/progress-bar-default/progress-bar-default.component.html","../../../libs/design/progress-bar/examples/src/progress-bar-indeterminate/progress-bar-indeterminate.component.ts","../../../libs/design/progress-bar/examples/src/progress-bar-indeterminate/progress-bar-indeterminate.component.html","../../../libs/design/progress-bar/examples/src/progress-bar-themes/progress-bar-themes.component.ts","../../../libs/design/progress-bar/examples/src/progress-bar-themes/progress-bar-themes.component.html","../../../libs/design/progress-bar/examples/src/public_api.ts","../../../libs/design/progress-bar/examples/src/daffodil-design-progress-bar-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DAFF_PROGRESS_BAR_COMPONENTS } from '@daffodil/design/progress-bar';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'progress-bar-default',\n templateUrl: './progress-bar-default.component.html',\n styles: [`\n :host {\n display: flex;\n flex-direction: column;\n gap: 8px;\n }`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n DAFF_PROGRESS_BAR_COMPONENTS,\n ],\n})\nexport class ProgressBarDefaultComponent {}\n","<daff-progress-bar percentage=\"25\">\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DAFF_PROGRESS_BAR_COMPONENTS } from '@daffodil/design/progress-bar';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'progress-bar-indeterminate',\n templateUrl: './progress-bar-indeterminate.component.html',\n styles: [`\n :host {\n display: flex;\n flex-direction: column;\n gap: 8px;\n }`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n DAFF_PROGRESS_BAR_COMPONENTS,\n ],\n})\nexport class ProgressBarIndeterminateComponent {}\n","<daff-progress-bar indeterminate>\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n FormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\n\nimport { DaffPalette } from '@daffodil/design';\nimport { DAFF_PROGRESS_BAR_COMPONENTS } from '@daffodil/design/progress-bar';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'progress-bar-themes',\n templateUrl: './progress-bar-themes.component.html',\n styles: [`\n :host {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 16px;\n }`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n DAFF_PROGRESS_BAR_COMPONENTS,\n ReactiveFormsModule,\n ],\n})\nexport class ProgressBarThemesComponent {\n color: DaffPalette = 'primary';\n\n colorControl: FormControl = new FormControl('');\n}\n","<daff-progress-bar percentage=\"25\" [color]=\"colorControl.value\">\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>\n\n<select [formControl]=\"colorControl\">\n\t<option value=\"\">Default</option>\n\t<option value=\"primary\">Primary</option>\n\t<option value=\"secondary\">Secondary</option>\n\t<option value=\"tertiary\">Tertiary</option>\n\t<option value=\"theme\">Theme</option>\n\t<option value=\"theme-contrast\">Theme Contrast</option>\n\t<option value=\"white\">White</option>\n\t<option value=\"black\">Black</option>\n</select>","import { ProgressBarDefaultComponent } from './progress-bar-default/progress-bar-default.component';\nimport { ProgressBarIndeterminateComponent } from './progress-bar-indeterminate/progress-bar-indeterminate.component';\nimport { ProgressBarThemesComponent } from './progress-bar-themes/progress-bar-themes.component';\n\nexport const PROGRESS_BAR_EXAMPLES = [\n ProgressBarDefaultComponent,\n ProgressBarIndeterminateComponent,\n ProgressBarThemesComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAsBa,2BAA2B,CAAA;iIAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA3B,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,E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
@@ -10,10 +10,10 @@ class DaffProgressBarLabelDirective {
|
|
10
10
|
constructor() {
|
11
11
|
this.class = true;
|
12
12
|
}
|
13
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
14
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
13
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffProgressBarLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
14
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.7", type: DaffProgressBarLabelDirective, isStandalone: true, selector: "[daffProgressBarLabel]", host: { properties: { "class.daff-progress-bar__label": "this.class" } }, ngImport: i0 }); }
|
15
15
|
}
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffProgressBarLabelDirective, decorators: [{
|
17
17
|
type: Directive,
|
18
18
|
args: [{
|
19
19
|
selector: '[daffProgressBarLabel]',
|
@@ -118,12 +118,12 @@ class DaffProgressBarComponent {
|
|
118
118
|
},
|
119
119
|
};
|
120
120
|
}
|
121
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
122
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
121
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffProgressBarComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.DaffColorableDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
122
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.7", type: DaffProgressBarComponent, isStandalone: true, selector: "daff-progress-bar", inputs: { percentage: "percentage", indeterminate: "indeterminate" }, outputs: { finished: "finished" }, host: { properties: { "class.daff-progress-bar": "this.class", "class.indeterminate": "this.indeterminateClass", "role": "this.role", "attr.aria-label": "this.ariaLabel", "attr.aria-valuemin": "this.ariaValueMin", "attr.aria-valuemax": "this.ariaValueMax", "attr.aria-valuenow": "this.ariaValueNow" } }, hostDirectives: [{ directive: i1.DaffColorableDirective, inputs: ["color", "color"] }], ngImport: i0, template: "<ng-content select=\"label[daffProgressBarLabel]\"></ng-content>\n<div class=\"daff-progress-bar__track\">\n\t<div *ngIf=\"!indeterminate\" class=\"daff-progress-bar__fill\" [@fill]=\"fillState\" (@fill.done)=\"onAnimationComplete($event)\"></div>\n\t<div *ngIf=\"indeterminate\" class=\"daff-progress-bar__fill indeterminate-bar\"></div>\n</div>", styles: [":host(.daff-progress-bar){display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}:host(.daff-progress-bar) ::ng-deep .daff-progress-bar__label{font-size:.875rem;line-height:1rem}:host(.daff-progress-bar) .daff-progress-bar__track{height:4px;position:relative;width:100%}:host(.daff-progress-bar) .daff-progress-bar__fill{height:4px;width:100%;transform:scaleX(0);transform-origin:0 center}:host(.daff-progress-bar).indeterminate{overflow:hidden}:host(.daff-progress-bar).indeterminate .indeterminate-bar{height:100%;width:100%;animation:indeterminate-animation 1.5s infinite linear;transform-origin:0% 50%}@keyframes indeterminate-animation{0%{transform:translate(0) scaleX(0)}20%{transform:translate(0) scaleX(25%)}to{transform:translate(100%) scaleX(25%)}}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [
|
123
123
|
daffProgressBarAnimation.fill,
|
124
124
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
125
125
|
}
|
126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffProgressBarComponent, decorators: [{
|
127
127
|
type: Component,
|
128
128
|
args: [{ selector: 'daff-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
129
129
|
{
|
@@ -132,7 +132,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
|
|
132
132
|
},
|
133
133
|
], animations: [
|
134
134
|
daffProgressBarAnimation.fill,
|
135
|
-
],
|
135
|
+
], imports: [
|
136
136
|
NgIf,
|
137
137
|
], template: "<ng-content select=\"label[daffProgressBarLabel]\"></ng-content>\n<div class=\"daff-progress-bar__track\">\n\t<div *ngIf=\"!indeterminate\" class=\"daff-progress-bar__fill\" [@fill]=\"fillState\" (@fill.done)=\"onAnimationComplete($event)\"></div>\n\t<div *ngIf=\"indeterminate\" class=\"daff-progress-bar__fill indeterminate-bar\"></div>\n</div>", styles: [":host(.daff-progress-bar){display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}:host(.daff-progress-bar) ::ng-deep .daff-progress-bar__label{font-size:.875rem;line-height:1rem}:host(.daff-progress-bar) .daff-progress-bar__track{height:4px;position:relative;width:100%}:host(.daff-progress-bar) .daff-progress-bar__fill{height:4px;width:100%;transform:scaleX(0);transform-origin:0 center}:host(.daff-progress-bar).indeterminate{overflow:hidden}:host(.daff-progress-bar).indeterminate .indeterminate-bar{height:100%;width:100%;animation:indeterminate-animation 1.5s infinite linear;transform-origin:0% 50%}@keyframes indeterminate-animation{0%{transform:translate(0) scaleX(0)}20%{transform:translate(0) scaleX(25%)}to{transform:translate(100%) scaleX(25%)}}\n"] }]
|
138
138
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.DaffColorableDirective }], propDecorators: { class: [{
|
@@ -168,14 +168,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
|
|
168
168
|
* @deprecated in favor of {@link DAFF_PROGRESS_BAR_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
169
169
|
*/
|
170
170
|
class DaffProgressBarModule {
|
171
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
172
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
171
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
172
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.7", ngImport: i0, type: DaffProgressBarModule, imports: [CommonModule,
|
173
173
|
DaffProgressBarComponent,
|
174
174
|
DaffProgressBarLabelDirective], exports: [DaffProgressBarComponent,
|
175
175
|
DaffProgressBarLabelDirective] }); }
|
176
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
176
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffProgressBarModule, imports: [CommonModule] }); }
|
177
177
|
}
|
178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffProgressBarModule, decorators: [{
|
179
179
|
type: NgModule,
|
180
180
|
args: [{
|
181
181
|
imports: [
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"daffodil-design-progress-bar.mjs","sources":["../../../libs/design/progress-bar/src/progress-bar-label/progress-bar-label.directive.ts","../../../libs/design/progress-bar/src/animation/progress-bar-animation.ts","../../../libs/design/progress-bar/src/progress-bar.component.ts","../../../libs/design/progress-bar/src/progress-bar.component.html","../../../libs/design/progress-bar/src/progress-bar.module.ts","../../../libs/design/progress-bar/src/progress-bar.ts","../../../libs/design/progress-bar/src/daffodil-design-progress-bar.ts"],"sourcesContent":["import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffProgressBarLabel]',\n standalone: true,\n})\nexport class DaffProgressBarLabelDirective {\n @HostBinding('class.daff-progress-bar__label') class = true;\n}\n","import {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\nexport const daffProgressBarAnimation: {\n readonly fill: AnimationTriggerMetadata;\n} = {\n fill: trigger('fill', [\n state('*', style({ transform: 'scaleX(calc({{ percentage }}/100))' }), { params: { percentage: 0 }}),\n transition('void <=> *', animate(0)),\n transition('* <=> *', animate(1000)),\n ]),\n};\n","import { AnimationEvent } from '@angular/animations';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { NgIf } from '@angular/common';\nimport {\n Component,\n Input,\n ChangeDetectionStrategy,\n Output,\n EventEmitter,\n HostBinding,\n ChangeDetectorRef,\n} from '@angular/core';\n\nimport { DaffColorableDirective } from '@daffodil/design';\n\nimport { daffProgressBarAnimation } from './animation/progress-bar-animation';\n\nexport const clamp = (number: number, min: number, max: number) => Math.min(Math.max(number, min), max);\n\n/**\n * @inheritdoc\n */\n@Component({\n selector: 'daff-progress-bar',\n templateUrl: './progress-bar.component.html',\n styleUrls: ['./progress-bar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: DaffColorableDirective,\n inputs: ['color'],\n },\n ],\n animations: [\n daffProgressBarAnimation.fill,\n ],\n standalone: true,\n imports: [\n NgIf,\n ],\n})\nexport class DaffProgressBarComponent {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-progress-bar') class = true;\n\n /**\n * @docs-private\n */\n @HostBinding('class.indeterminate') get indeterminateClass() {\n return this._indeterminate;\n }\n\n @HostBinding('role') get role() {\n return 'progressbar';\n }\n\n @HostBinding('attr.aria-label') get ariaLabel() {\n return this._indeterminate ? 'loading' : null;\n }\n\n @HostBinding('attr.aria-valuemin') ariaValueMin = '0';\n @HostBinding('attr.aria-valuemax') ariaValueMax = '100';\n @HostBinding('attr.aria-valuenow') get ariaValueNow() {\n return this.percentage;\n }\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private colorable: DaffColorableDirective,\n ) {\n this.colorable.defaultColor = 'primary';\n }\n\n private _percentage = 0;\n private _indeterminate = false;\n\n /**\n * Sets the percentage completion of the progression,\n * expressed as a whole number between 0 and 100.\n *\n */\n @Input() get percentage(): number {\n return this._percentage;\n };\n set percentage(val: number) {\n this._percentage = clamp(val, 0, 100);\n this._changeDetectorRef.markForCheck();\n }\n\n /**\n * Property to set the animation of a progress bar to\n * run for an indefinite amount of time.\n *\n * See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress\n **/\n @Input() get indeterminate() {\n return this._indeterminate;\n }\n set indeterminate(value: any) {\n this._indeterminate = coerceBooleanProperty(value);\n }\n\n /**\n * An event that emits each time the progression reaches 100%\n * and the animation is finished\n */\n @Output() finished: EventEmitter<void> = new EventEmitter();\n\n /**\n * Calculates when the progress animation is fully completed\n *\n * @param event: AnimationEvent\n */\n onAnimationComplete(event: AnimationEvent): void {\n // @ts-expect-error: @angular/animations typing error on event.toState as string\n // See: https://github.com/angular/angular/issues/26507\n if(event.toState === '100' || event.toState === 100) {\n this.finished.emit();\n }\n }\n\n /**\n * @docs-private\n */\n get fillState(): any {\n return {\n value: this.percentage,\n params: {\n percentage: this.percentage,\n },\n };\n }\n}\n","<ng-content select=\"label[daffProgressBarLabel]\"></ng-content>\n<div class=\"daff-progress-bar__track\">\n\t<div *ngIf=\"!indeterminate\" class=\"daff-progress-bar__fill\" [@fill]=\"fillState\" (@fill.done)=\"onAnimationComplete($event)\"></div>\n\t<div *ngIf=\"indeterminate\" class=\"daff-progress-bar__fill indeterminate-bar\"></div>\n</div>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffProgressBarLabelDirective } from './progress-bar-label/progress-bar-label.directive';\nimport { DaffProgressBarComponent } from './progress-bar.component';\n\n/**\n * @deprecated in favor of {@link DAFF_PROGRESS_BAR_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n imports: [\n CommonModule,\n DaffProgressBarComponent,\n DaffProgressBarLabelDirective,\n ],\n exports: [\n DaffProgressBarComponent,\n DaffProgressBarLabelDirective,\n ],\n})\nexport class DaffProgressBarModule { }\n","import { DaffProgressBarLabelDirective } from './progress-bar-label/progress-bar-label.directive';\nimport { DaffProgressBarComponent } from './progress-bar.component';\n\nexport const DAFF_PROGRESS_BAR_COMPONENTS = <const> [\n DaffProgressBarComponent,\n DaffProgressBarLabelDirective,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MASa,6BAA6B,CAAA;AAJ1C,IAAA,WAAA,GAAA;QAKiD,IAAK,CAAA,KAAA,GAAG,IAAI,CAAC;AAC7D,KAAA;iIAFY,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;qHAA7B,6BAA6B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,gCAAA,EAAA,YAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAA7B,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAJzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA,CAAA;8BAEg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,qBAAqB,YAT9B,YAAY;YACZ,wBAAwB;AACxB,YAAA,6BAA6B,aAG7B,wBAAwB;YACxB,6BAA6B,CAAA,EAAA,CAAA,CAAA,EAAA;AAGpB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,YAT9B,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FASH,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAXjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,wBAAwB;wBACxB,6BAA6B;AAC9B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,wBAAwB;wBACxB,6BAA6B;AAC9B,qBAAA;AACF,iBAAA,CAAA;;;AChBY,MAAA,4BAA4B,GAAW;IAClD,wBAAwB;IACxB,6BAA6B;;;ACL/B;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"daffodil-design-progress-bar.mjs","sources":["../../../libs/design/progress-bar/src/progress-bar-label/progress-bar-label.directive.ts","../../../libs/design/progress-bar/src/animation/progress-bar-animation.ts","../../../libs/design/progress-bar/src/progress-bar.component.ts","../../../libs/design/progress-bar/src/progress-bar.component.html","../../../libs/design/progress-bar/src/progress-bar.module.ts","../../../libs/design/progress-bar/src/progress-bar.ts","../../../libs/design/progress-bar/src/daffodil-design-progress-bar.ts"],"sourcesContent":["import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffProgressBarLabel]',\n standalone: true,\n})\nexport class DaffProgressBarLabelDirective {\n @HostBinding('class.daff-progress-bar__label') class = true;\n}\n","import {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\nexport const daffProgressBarAnimation: {\n readonly fill: AnimationTriggerMetadata;\n} = {\n fill: trigger('fill', [\n state('*', style({ transform: 'scaleX(calc({{ percentage }}/100))' }), { params: { percentage: 0 }}),\n transition('void <=> *', animate(0)),\n transition('* <=> *', animate(1000)),\n ]),\n};\n","import { AnimationEvent } from '@angular/animations';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { NgIf } from '@angular/common';\nimport {\n Component,\n Input,\n ChangeDetectionStrategy,\n Output,\n EventEmitter,\n HostBinding,\n ChangeDetectorRef,\n} from '@angular/core';\n\nimport { DaffColorableDirective } from '@daffodil/design';\n\nimport { daffProgressBarAnimation } from './animation/progress-bar-animation';\n\nexport const clamp = (number: number, min: number, max: number) => Math.min(Math.max(number, min), max);\n\n/**\n * @inheritdoc\n */\n@Component({\n selector: 'daff-progress-bar',\n templateUrl: './progress-bar.component.html',\n styleUrls: ['./progress-bar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: DaffColorableDirective,\n inputs: ['color'],\n },\n ],\n animations: [\n daffProgressBarAnimation.fill,\n ],\n imports: [\n NgIf,\n ],\n})\nexport class DaffProgressBarComponent {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-progress-bar') class = true;\n\n /**\n * @docs-private\n */\n @HostBinding('class.indeterminate') get indeterminateClass() {\n return this._indeterminate;\n }\n\n @HostBinding('role') get role() {\n return 'progressbar';\n }\n\n @HostBinding('attr.aria-label') get ariaLabel() {\n return this._indeterminate ? 'loading' : null;\n }\n\n @HostBinding('attr.aria-valuemin') ariaValueMin = '0';\n @HostBinding('attr.aria-valuemax') ariaValueMax = '100';\n @HostBinding('attr.aria-valuenow') get ariaValueNow() {\n return this.percentage;\n }\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private colorable: DaffColorableDirective,\n ) {\n this.colorable.defaultColor = 'primary';\n }\n\n private _percentage = 0;\n private _indeterminate = false;\n\n /**\n * Sets the percentage completion of the progression,\n * expressed as a whole number between 0 and 100.\n *\n */\n @Input() get percentage(): number {\n return this._percentage;\n };\n set percentage(val: number) {\n this._percentage = clamp(val, 0, 100);\n this._changeDetectorRef.markForCheck();\n }\n\n /**\n * Property to set the animation of a progress bar to\n * run for an indefinite amount of time.\n *\n * See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress\n **/\n @Input() get indeterminate() {\n return this._indeterminate;\n }\n set indeterminate(value: any) {\n this._indeterminate = coerceBooleanProperty(value);\n }\n\n /**\n * An event that emits each time the progression reaches 100%\n * and the animation is finished\n */\n @Output() finished: EventEmitter<void> = new EventEmitter();\n\n /**\n * Calculates when the progress animation is fully completed\n *\n * @param event: AnimationEvent\n */\n onAnimationComplete(event: AnimationEvent): void {\n // @ts-expect-error: @angular/animations typing error on event.toState as string\n // See: https://github.com/angular/angular/issues/26507\n if(event.toState === '100' || event.toState === 100) {\n this.finished.emit();\n }\n }\n\n /**\n * @docs-private\n */\n get fillState(): any {\n return {\n value: this.percentage,\n params: {\n percentage: this.percentage,\n },\n };\n }\n}\n","<ng-content select=\"label[daffProgressBarLabel]\"></ng-content>\n<div class=\"daff-progress-bar__track\">\n\t<div *ngIf=\"!indeterminate\" class=\"daff-progress-bar__fill\" [@fill]=\"fillState\" (@fill.done)=\"onAnimationComplete($event)\"></div>\n\t<div *ngIf=\"indeterminate\" class=\"daff-progress-bar__fill indeterminate-bar\"></div>\n</div>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffProgressBarLabelDirective } from './progress-bar-label/progress-bar-label.directive';\nimport { DaffProgressBarComponent } from './progress-bar.component';\n\n/**\n * @deprecated in favor of {@link DAFF_PROGRESS_BAR_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n imports: [\n CommonModule,\n DaffProgressBarComponent,\n DaffProgressBarLabelDirective,\n ],\n exports: [\n DaffProgressBarComponent,\n DaffProgressBarLabelDirective,\n ],\n})\nexport class DaffProgressBarModule { }\n","import { DaffProgressBarLabelDirective } from './progress-bar-label/progress-bar-label.directive';\nimport { DaffProgressBarComponent } from './progress-bar.component';\n\nexport const DAFF_PROGRESS_BAR_COMPONENTS = <const> [\n DaffProgressBarComponent,\n DaffProgressBarLabelDirective,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MASa,6BAA6B,CAAA;AAJ1C,IAAA,WAAA,GAAA;QAKiD,IAAK,CAAA,KAAA,GAAG,IAAI;AAC5D;iIAFY,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;qHAA7B,6BAA6B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,gCAAA,EAAA,YAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAA7B,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAJzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;8BAEgD,KAAK,EAAA,CAAA;sBAAnD,WAAW;uBAAC,gCAAgC;;;ACDxC,MAAM,wBAAwB,GAEjC;AACF,IAAA,IAAI,EAAE,OAAO,CAAC,MAAM,EAAE;QACpB,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,oCAAoC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,CAAC,EAAE,EAAC,CAAC;AACpG,QAAA,UAAU,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACpC,QAAA,UAAU,CAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;KACrC,CAAC;CACH;;ACAM,MAAM,KAAK,GAAG,CAAC,MAAc,EAAE,GAAW,EAAE,GAAW,KAAK,I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ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
13
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
12
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: BasicQuantityFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
13
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.7", type: BasicQuantityFieldComponent, isStandalone: true, selector: "basic-quantity-field", ngImport: i0, template: "<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: DaffFormFieldModule }, { kind: "component", type: i1.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "ngmodule", type: DaffQuantityFieldModule }, { kind: "component", type: i1.DaffQuantityFieldComponent, selector: "daff-quantity-field", inputs: ["min", "max", "selectMax", "id"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
14
14
|
}
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: BasicQuantityFieldComponent, decorators: [{
|
16
16
|
type: Component,
|
17
|
-
args: [{ selector: 'basic-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush,
|
17
|
+
args: [{ selector: 'basic-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
18
18
|
DaffFormFieldModule,
|
19
19
|
DaffQuantityFieldModule,
|
20
20
|
ReactiveFormsModule,
|
@@ -25,12 +25,12 @@ class CustomRangeQuantityFieldComponent {
|
|
25
25
|
constructor() {
|
26
26
|
this.control = new UntypedFormControl(5);
|
27
27
|
}
|
28
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
29
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
28
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: CustomRangeQuantityFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
29
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.7", type: CustomRangeQuantityFieldComponent, isStandalone: true, selector: "custom-range-quantity-field", ngImport: i0, template: "<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [min]=\"5\"\n [max]=\"50\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: DaffFormFieldModule }, { kind: "component", type: i1.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "ngmodule", type: DaffQuantityFieldModule }, { kind: "component", type: i1.DaffQuantityFieldComponent, selector: "daff-quantity-field", inputs: ["min", "max", "selectMax", "id"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
30
30
|
}
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: CustomRangeQuantityFieldComponent, decorators: [{
|
32
32
|
type: Component,
|
33
|
-
args: [{ selector: 'custom-range-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush,
|
33
|
+
args: [{ selector: 'custom-range-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
34
34
|
DaffFormFieldModule,
|
35
35
|
DaffQuantityFieldModule,
|
36
36
|
ReactiveFormsModule,
|
@@ -41,12 +41,12 @@ class DisabledQuantityFieldComponent {
|
|
41
41
|
constructor() {
|
42
42
|
this.control = new UntypedFormControl({ value: '1', disabled: true });
|
43
43
|
}
|
44
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
45
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
44
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DisabledQuantityFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
45
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.7", type: DisabledQuantityFieldComponent, isStandalone: true, selector: "disabled-quantity-field", ngImport: i0, template: "<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: DaffFormFieldModule }, { kind: "component", type: i1.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "ngmodule", type: DaffQuantityFieldModule }, { kind: "component", type: i1.DaffQuantityFieldComponent, selector: "daff-quantity-field", inputs: ["min", "max", "selectMax", "id"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
46
46
|
}
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DisabledQuantityFieldComponent, decorators: [{
|
48
48
|
type: Component,
|
49
|
-
args: [{ selector: 'disabled-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush,
|
49
|
+
args: [{ selector: 'disabled-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
50
50
|
DaffFormFieldModule,
|
51
51
|
DaffQuantityFieldModule,
|
52
52
|
ReactiveFormsModule,
|
@@ -57,12 +57,12 @@ class SelectMaxQuantityFieldComponent {
|
|
57
57
|
constructor() {
|
58
58
|
this.control = new UntypedFormControl(1);
|
59
59
|
}
|
60
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
61
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
60
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: SelectMaxQuantityFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
61
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.7", type: SelectMaxQuantityFieldComponent, isStandalone: true, selector: "select-max-quantity-field", ngImport: i0, template: "<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [selectMax]=\"15\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: DaffFormFieldModule }, { kind: "component", type: i1.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "ngmodule", type: DaffQuantityFieldModule }, { kind: "component", type: i1.DaffQuantityFieldComponent, selector: "daff-quantity-field", inputs: ["min", "max", "selectMax", "id"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
62
62
|
}
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: SelectMaxQuantityFieldComponent, decorators: [{
|
64
64
|
type: Component,
|
65
|
-
args: [{ selector: 'select-max-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush,
|
65
|
+
args: [{ selector: 'select-max-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
66
66
|
DaffFormFieldModule,
|
67
67
|
DaffQuantityFieldModule,
|
68
68
|
ReactiveFormsModule,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"daffodil-design-quantity-field-examples.mjs","sources":["../../../libs/design/quantity-field/examples/src/basic-quantity-field/basic-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/basic-quantity-field/basic-quantity-field.component.html","../../../libs/design/quantity-field/examples/src/custom-range-quantity-field/custom-range-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/custom-range-quantity-field/custom-range-quantity-field.component.html","../../../libs/design/quantity-field/examples/src/disabled-quantity-field/disabled-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/disabled-quantity-field/disabled-quantity-field.component.html","../../../libs/design/quantity-field/examples/src/select-max-quantity-field/select-max-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/select-max-quantity-field/select-max-quantity-field.component.html","../../../libs/design/quantity-field/examples/src/public_api.ts","../../../libs/design/quantity-field/examples/src/daffodil-design-quantity-field-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n UntypedFormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\n\nimport {\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n} from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-quantity-field',\n templateUrl: './basic-quantity-field.component.html',\n styleUrls: ['./basic-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ReactiveFormsModule,\n ],\n})\nexport class BasicQuantityFieldComponent {\n control = new UntypedFormControl(1);\n}\n","<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n UntypedFormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\n\nimport {\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n} from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'custom-range-quantity-field',\n templateUrl: './custom-range-quantity-field.component.html',\n styleUrls: ['./custom-range-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ReactiveFormsModule,\n ],\n})\nexport class CustomRangeQuantityFieldComponent {\n control = new UntypedFormControl(5);\n}\n","<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [min]=\"5\"\n [max]=\"50\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n UntypedFormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\n\nimport {\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n} from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'disabled-quantity-field',\n templateUrl: './disabled-quantity-field.component.html',\n styleUrls: ['./disabled-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ReactiveFormsModule,\n ],\n})\nexport class DisabledQuantityFieldComponent {\n control = new UntypedFormControl({ value : '1', disabled: true });\n}\n","<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n UntypedFormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\n\nimport {\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n} from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'select-max-quantity-field',\n templateUrl: './select-max-quantity-field.component.html',\n styleUrls: ['./select-max-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ReactiveFormsModule,\n ],\n})\nexport class SelectMaxQuantityFieldComponent {\n control = new UntypedFormControl(1);\n}\n","<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [selectMax]=\"15\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n","import { BasicQuantityFieldComponent } from './basic-quantity-field/basic-quantity-field.component';\nimport { CustomRangeQuantityFieldComponent } from './custom-range-quantity-field/custom-range-quantity-field.component';\nimport { DisabledQuantityFieldComponent } from './disabled-quantity-field/disabled-quantity-field.component';\nimport { SelectMaxQuantityFieldComponent } from './select-max-quantity-field/select-max-quantity-field.component';\n\n\nexport const QUANTITY_FIELD_EXAMPLES = [\n BasicQuantityFieldComponent,\n CustomRangeQuantityFieldComponent,\n DisabledQuantityFieldComponent,\n SelectMaxQuantityFieldComponent,\n];\n\nexport {\n BasicQuantityFieldComponent,\n CustomRangeQuantityFieldComponent,\n DisabledQuantityFieldComponent,\n SelectMaxQuantityFieldComponent,\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MA2Ba,2BAA2B,CAAA;AAbxC,IAAA,WAAA,GAAA;AAcE,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,kBAAkB,CAAC,CAAC,CAAC,CAAC;AACrC,KAAA;iIAFY,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA3B,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,2BAA2B,gFC3BxC,mKAOA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDeI,mBAAmB,EACnB,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,sBAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,CAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,uBAAuB,sKACvB,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAA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2BAA2B;IAC3B,iCAAiC;IACjC,8BAA8B;IAC9B,+BAA+B;;;ACVjC;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"daffodil-design-quantity-field-examples.mjs","sources":["../../../libs/design/quantity-field/examples/src/basic-quantity-field/basic-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/basic-quantity-field/basic-quantity-field.component.html","../../../libs/design/quantity-field/examples/src/custom-range-quantity-field/custom-range-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/custom-range-quantity-field/custom-range-quantity-field.component.html","../../../libs/design/quantity-field/examples/src/disabled-quantity-field/disabled-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/disabled-quantity-field/disabled-quantity-field.component.html","../../../libs/design/quantity-field/examples/src/select-max-quantity-field/select-max-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/select-max-quantity-field/select-max-quantity-field.component.html","../../../libs/design/quantity-field/examples/src/public_api.ts","../../../libs/design/quantity-field/examples/src/daffodil-design-quantity-field-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n UntypedFormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\n\nimport {\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n} from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-quantity-field',\n templateUrl: './basic-quantity-field.component.html',\n styleUrls: ['./basic-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ReactiveFormsModule,\n ],\n})\nexport class BasicQuantityFieldComponent {\n control = new UntypedFormControl(1);\n}\n","<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n UntypedFormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\n\nimport {\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n} from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'custom-range-quantity-field',\n templateUrl: './custom-range-quantity-field.component.html',\n styleUrls: ['./custom-range-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ReactiveFormsModule,\n ],\n})\nexport class CustomRangeQuantityFieldComponent {\n control = new UntypedFormControl(5);\n}\n","<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [min]=\"5\"\n [max]=\"50\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n UntypedFormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\n\nimport {\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n} from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'disabled-quantity-field',\n templateUrl: './disabled-quantity-field.component.html',\n styleUrls: ['./disabled-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ReactiveFormsModule,\n ],\n})\nexport class DisabledQuantityFieldComponent {\n control = new UntypedFormControl({ value : '1', disabled: true });\n}\n","<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n UntypedFormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\n\nimport {\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n} from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'select-max-quantity-field',\n templateUrl: './select-max-quantity-field.component.html',\n styleUrls: ['./select-max-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ReactiveFormsModule,\n ],\n})\nexport class SelectMaxQuantityFieldComponent {\n control = new UntypedFormControl(1);\n}\n","<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [selectMax]=\"15\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n","import { BasicQuantityFieldComponent } from './basic-quantity-field/basic-quantity-field.component';\nimport { CustomRangeQuantityFieldComponent } from './custom-range-quantity-field/custom-range-quantity-field.component';\nimport { DisabledQuantityFieldComponent } from './disabled-quantity-field/disabled-quantity-field.component';\nimport { SelectMaxQuantityFieldComponent } from './select-max-quantity-field/select-max-quantity-field.component';\n\n\nexport const QUANTITY_FIELD_EXAMPLES = [\n BasicQuantityFieldComponent,\n CustomRangeQuantityFieldComponent,\n DisabledQuantityFieldComponent,\n SelectMaxQuantityFieldComponent,\n];\n\nexport {\n BasicQuantityFieldComponent,\n CustomRangeQuantityFieldComponent,\n DisabledQuantityFieldComponent,\n SelectMaxQuantityFieldComponent,\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MA0Ba,2BAA2B,CAAA;AAZxC,IAAA,WAAA,GAAA;AAaE,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,kBAAkB,CAAC,CAAC,CAAC;AACpC;iIAFY,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA3B,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,2BAA2B,gFC1BxC,mKAOA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,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AAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,2BAA2B,EAGpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACtC,OAAA,EAAA;wBACP,mBAAmB;wBACnB,uBAAuB;wBACvB,mBAAmB;AACpB,qBAAA,EAAA,QAAA,EAAA,oMAAA,EAAA;;;AElBU,MAAA,uBAAuB,GAAG;IACrC,2BAA2B;IAC3B,iCAAiC;IACjC,8BAA8B;IAC9B,+BAA+B;;;ACVjC;;AAEG;;;;"}
|
@@ -11,12 +11,12 @@ class BasicRadioComponent {
|
|
11
11
|
race: new UntypedFormControl('Zerg'),
|
12
12
|
});
|
13
13
|
}
|
14
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
15
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
14
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: BasicRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
15
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.7", type: BasicRadioComponent, isStandalone: true, selector: "basic-radio", ngImport: i0, template: "<h2>Basic Radio</h2>\n<daff-radio-set [formGroup]=\"radioGroup\" name=\"race\">\n <daff-radio formControlName=\"race\" value=\"Terran\">Terran</daff-radio>\n <daff-radio formControlName=\"race\" value=\"Protoss\">Protoss</daff-radio>\n <daff-radio formControlName=\"race\" value=\"Zerg\">Zerg</daff-radio>\n</daff-radio-set>\n<div>\n The best race to play as is: {{this.radioGroup.get('race').value}}\n</div>", dependencies: [{ kind: "ngmodule", type: DaffRadioModule }, { kind: "component", type: i1.DaffRadioComponent, selector: "daff-radio", inputs: ["checked", "value", "id", "name", "aria-label", "aria-labelledby"], outputs: ["selectionChange"] }, { kind: "component", type: i1.DaffRadioSetComponent, selector: "daff-radio-set", inputs: ["name"] }, { kind: "directive", type: i1.DaffRadioControlValueAccessorDirective, selector: "daff-radio[ngModel], daff-radio[formControl], daff-radio[formControlName]", inputs: ["value", "name"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
16
16
|
}
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: BasicRadioComponent, decorators: [{
|
18
18
|
type: Component,
|
19
|
-
args: [{ selector: 'basic-radio', changeDetection: ChangeDetectionStrategy.OnPush,
|
19
|
+
args: [{ selector: 'basic-radio', changeDetection: ChangeDetectionStrategy.OnPush, imports: [DaffRadioModule, ReactiveFormsModule], template: "<h2>Basic Radio</h2>\n<daff-radio-set [formGroup]=\"radioGroup\" name=\"race\">\n <daff-radio formControlName=\"race\" value=\"Terran\">Terran</daff-radio>\n <daff-radio formControlName=\"race\" value=\"Protoss\">Protoss</daff-radio>\n <daff-radio formControlName=\"race\" value=\"Zerg\">Zerg</daff-radio>\n</daff-radio-set>\n<div>\n The best race to play as is: {{this.radioGroup.get('race').value}}\n</div>" }]
|
20
20
|
}], ctorParameters: () => [] });
|
21
21
|
|
22
22
|
const RADIO_EXAMPLES = [
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"daffodil-design-radio-examples.mjs","sources":["../../../libs/design/radio/examples/src/basic-radio/basic-radio.component.ts","../../../libs/design/radio/examples/src/basic-radio/basic-radio.component.html","../../../libs/design/radio/examples/src/examples.ts","../../../libs/design/radio/examples/src/daffodil-design-radio-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n UntypedFormGroup,\n UntypedFormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\n\nimport { DaffRadioModule } from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-radio',\n templateUrl: './basic-radio.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n
|
1
|
+
{"version":3,"file":"daffodil-design-radio-examples.mjs","sources":["../../../libs/design/radio/examples/src/basic-radio/basic-radio.component.ts","../../../libs/design/radio/examples/src/basic-radio/basic-radio.component.html","../../../libs/design/radio/examples/src/examples.ts","../../../libs/design/radio/examples/src/daffodil-design-radio-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n UntypedFormGroup,\n UntypedFormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\n\nimport { DaffRadioModule } from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-radio',\n templateUrl: './basic-radio.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [DaffRadioModule, ReactiveFormsModule],\n})\nexport class BasicRadioComponent {\n radioGroup = new UntypedFormGroup({\n race: new UntypedFormControl('Zerg'),\n });\n\n constructor() {}\n}\n","<h2>Basic Radio</h2>\n<daff-radio-set [formGroup]=\"radioGroup\" name=\"race\">\n <daff-radio formControlName=\"race\" value=\"Terran\">Terran</daff-radio>\n <daff-radio formControlName=\"race\" value=\"Protoss\">Protoss</daff-radio>\n <daff-radio formControlName=\"race\" value=\"Zerg\">Zerg</daff-radio>\n</daff-radio-set>\n<div>\n The best race to play as is: {{this.radioGroup.get('race').value}}\n</div>","import { BasicRadioComponent } from './basic-radio/basic-radio.component';\n\nexport const RADIO_EXAMPLES = [\n BasicRadioComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAmBa,mBAAmB,CAAA;AAK9B,IAAA,WAAA,GAAA;QAJA,IAAU,CAAA,UAAA,GAAG,IAAI,gBAAgB,CAAC;AAChC,YAAA,IAAI,EAAE,IAAI,kBAAkB,CAAC,MAAM,CAAC;AACrC,SAAA,CAAC;;iIAHS,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,ECnBhC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,8ZAQM,EDSM,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,eAAe,ofAAE,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,QAAA,EAAA,0FAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,CAAA,WAAA,CAAA,EAAA,OAAA,EAAA,CAAA,UAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,CAAA,iBAAA,EAAA,UAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAEnC,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAP/B,SAAS;+BAEE,aAAa,EAAA,eAAA,EAEN,uBAAuB,CAAC,MAAM,WACtC,CAAC,eAAe,EAAE,mBAAmB,CAAC,EAAA,QAAA,EAAA,8ZAAA,EAAA;;;AEfpC,MAAA,cAAc,GAAG;IAC5B,mBAAmB;;;ACHrB;;AAEG;;;;"}
|
@@ -11,14 +11,14 @@ import * as i2$1 from '@daffodil/design/navbar';
|
|
11
11
|
import { DAFF_NAVBAR_COMPONENTS } from '@daffodil/design/navbar';
|
12
12
|
|
13
13
|
class BasicSidebarComponent {
|
14
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
15
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
14
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: BasicSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
15
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.7", type: BasicSidebarComponent, isStandalone: true, selector: "basic-sidebar", ngImport: i0, template: "<daff-sidebar-viewport>\n <daff-sidebar class=\"basic-sidebar\">\n <daff-sidebar-header [dismissible]=\"true\">\n Sidebar Title\n </daff-sidebar-header>\n Sidebar content\n </daff-sidebar>\n <div class=\"basic-sidebar__content\">\n Page content\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.basic-sidebar{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}\n"], dependencies: [{ kind: "component", type: i1.DaffSidebarComponent, selector: "daff-sidebar", inputs: ["side", "mode"], outputs: ["escapePressed"] }, { kind: "component", type: i1.DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: ["navPlacement"], outputs: ["backdropClicked"] }, { kind: "component", type: i1.DaffSidebarHeaderComponent, selector: "daff-sidebar-header", inputs: ["dismissible"], outputs: ["closeSidebar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
16
16
|
}
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: BasicSidebarComponent, decorators: [{
|
18
18
|
type: Component,
|
19
|
-
args: [{ selector: 'basic-sidebar', changeDetection: ChangeDetectionStrategy.OnPush,
|
19
|
+
args: [{ selector: 'basic-sidebar', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
20
20
|
DAFF_SIDEBAR_COMPONENTS,
|
21
|
-
], template: "<daff-sidebar-viewport>\n <daff-sidebar class=\"basic-sidebar\">\n Sidebar content\n </daff-sidebar>\n <div class=\"basic-sidebar__content\">\n Page content\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.basic-sidebar{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}\n"] }]
|
21
|
+
], template: "<daff-sidebar-viewport>\n <daff-sidebar class=\"basic-sidebar\">\n <daff-sidebar-header [dismissible]=\"true\">\n Sidebar Title\n </daff-sidebar-header>\n Sidebar content\n </daff-sidebar>\n <div class=\"basic-sidebar__content\">\n Page content\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.basic-sidebar{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}\n"] }]
|
22
22
|
}] });
|
23
23
|
|
24
24
|
class OverandUnderSidebarsComponent {
|
@@ -34,36 +34,36 @@ class OverandUnderSidebarsComponent {
|
|
34
34
|
closeSidebar() {
|
35
35
|
this.open = false;
|
36
36
|
}
|
37
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
38
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
37
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: OverandUnderSidebarsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
38
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.7", type: OverandUnderSidebarsComponent, isStandalone: true, selector: "over-and-under-sidebars", ngImport: i0, template: "<daff-sidebar-viewport (backdropClicked)=\"closeSidebar()\">\n <daff-sidebar class=\"over-sidebar\" [mode]=\"modeControl.value\" [side]=\"sideControl.value\" [open]=\"open\" (escapePressed)=\"closeSidebar()\">\n <daff-sidebar-header [dismissible]=\"true\">\n <div daffSidebarHeaderTitle>Title</div>\n </daff-sidebar-header>\n <div class=\"over-and-under-sidebars__sidebar-content\">\n Sidebar content\n </div>\n <daff-sidebar-footer>\n <div class=\"over-and-under-sidebars__footer\">\n Sidebar footer\n </div>\n </daff-sidebar-footer>\n </daff-sidebar>\n <div class=\"over-and-under-sidebars__body-content\">\n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Side:</div>\n <select [formControl]=\"sideControl\">\n <option value=\"left\">Left</option>\n <option value=\"right\">Right</option>\n </select>\n </div>\n \n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Mode:</div>\n <select [formControl]=\"modeControl\">\n <option value=\"over\">Over</option>\n <option value=\"under\">Under</option>\n </select>\n </div>\n\n <button daff-button (click)=\"openSidebar()\">\n Open\n </button>\n </div>\n</daff-sidebar-viewport>\n", styles: ["daff-sidebar-viewport{height:288px}.over-and-under-sidebars__options-container{display:flex;gap:8px;margin:0 0 16px}.over-and-under-sidebars__footer,.over-and-under-sidebars__sidebar-content{padding:16px}\n"], dependencies: [{ kind: "component", type: i1.DaffSidebarComponent, selector: "daff-sidebar", inputs: ["side", "mode"], outputs: ["escapePressed"] }, { kind: "component", type: i1.DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: ["navPlacement"], outputs: ["backdropClicked"] }, { kind: "component", type: i1.DaffSidebarHeaderComponent, selector: "daff-sidebar-header", inputs: ["dismissible"], outputs: ["closeSidebar"] }, { kind: "component", type: i1.DaffSidebarFooterComponent, selector: "daff-sidebar-footer" }, { kind: "directive", type: i1.DaffSidebarHeaderTitleDirective, selector: "[daffSidebarHeaderTitle]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: DaffButtonComponent, selector: "button[daff-button],a[daff-button]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
39
39
|
}
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: OverandUnderSidebarsComponent, decorators: [{
|
41
41
|
type: Component,
|
42
|
-
args: [{ selector: 'over-and-under-sidebars', changeDetection: ChangeDetectionStrategy.OnPush,
|
42
|
+
args: [{ selector: 'over-and-under-sidebars', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
43
43
|
DAFF_SIDEBAR_COMPONENTS,
|
44
44
|
FaIconComponent,
|
45
45
|
ReactiveFormsModule,
|
46
46
|
DaffButtonComponent,
|
47
47
|
DaffIconButtonComponent,
|
48
|
-
], template: "<daff-sidebar-viewport (backdropClicked)=\"closeSidebar()\">\n <daff-sidebar class=\"over-sidebar\" [mode]=\"modeControl.value\" [side]=\"sideControl.value\" [open]=\"open\" (escapePressed)=\"closeSidebar()\">\n <daff-sidebar-header
|
48
|
+
], template: "<daff-sidebar-viewport (backdropClicked)=\"closeSidebar()\">\n <daff-sidebar class=\"over-sidebar\" [mode]=\"modeControl.value\" [side]=\"sideControl.value\" [open]=\"open\" (escapePressed)=\"closeSidebar()\">\n <daff-sidebar-header [dismissible]=\"true\">\n <div daffSidebarHeaderTitle>Title</div>\n </daff-sidebar-header>\n <div class=\"over-and-under-sidebars__sidebar-content\">\n Sidebar content\n </div>\n <daff-sidebar-footer>\n <div class=\"over-and-under-sidebars__footer\">\n Sidebar footer\n </div>\n </daff-sidebar-footer>\n </daff-sidebar>\n <div class=\"over-and-under-sidebars__body-content\">\n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Side:</div>\n <select [formControl]=\"sideControl\">\n <option value=\"left\">Left</option>\n <option value=\"right\">Right</option>\n </select>\n </div>\n \n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Mode:</div>\n <select [formControl]=\"modeControl\">\n <option value=\"over\">Over</option>\n <option value=\"under\">Under</option>\n </select>\n </div>\n\n <button daff-button (click)=\"openSidebar()\">\n Open\n </button>\n </div>\n</daff-sidebar-viewport>\n", styles: ["daff-sidebar-viewport{height:288px}.over-and-under-sidebars__options-container{display:flex;gap:8px;margin:0 0 16px}.over-and-under-sidebars__footer,.over-and-under-sidebars__sidebar-content{padding:16px}\n"] }]
|
49
49
|
}] });
|
50
50
|
|
51
51
|
class SideFixedSidebarComponent {
|
52
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
53
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
52
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: SideFixedSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
53
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.7", type: SideFixedSidebarComponent, isStandalone: true, selector: "side-fixed-sidebar", ngImport: i0, template: "<daff-sidebar-viewport navPlacement=\"beside\">\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"side-fixed-sidebar\">\n Fixed sidebar content\n </daff-sidebar>\n <nav daff-sidebar-viewport-nav daff-navbar>Navbar</nav>\n <div class=\"content\">\n Page content\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.side-fixed-sidebar{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}.content{padding:24px;height:480px}\n"], dependencies: [{ kind: "component", type: i1.DaffSidebarComponent, selector: "daff-sidebar", inputs: ["side", "mode"], outputs: ["escapePressed"] }, { kind: "component", type: i1.DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: ["navPlacement"], outputs: ["backdropClicked"] }, { kind: "component", type: i2$1.DaffNavbarComponent, selector: "nav[daff-navbar]", inputs: ["raised"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
54
54
|
}
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: SideFixedSidebarComponent, decorators: [{
|
56
56
|
type: Component,
|
57
|
-
args: [{ selector: 'side-fixed-sidebar', changeDetection: ChangeDetectionStrategy.OnPush,
|
57
|
+
args: [{ selector: 'side-fixed-sidebar', changeDetection: ChangeDetectionStrategy.OnPush, imports: [DAFF_SIDEBAR_COMPONENTS, DAFF_NAVBAR_COMPONENTS], template: "<daff-sidebar-viewport navPlacement=\"beside\">\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"side-fixed-sidebar\">\n Fixed sidebar content\n </daff-sidebar>\n <nav daff-sidebar-viewport-nav daff-navbar>Navbar</nav>\n <div class=\"content\">\n Page content\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.side-fixed-sidebar{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}.content{padding:24px;height:480px}\n"] }]
|
58
58
|
}] });
|
59
59
|
|
60
60
|
class SidebarWithStickyContentComponent {
|
61
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
62
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
61
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: SidebarWithStickyContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
62
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.7", type: SidebarWithStickyContentComponent, isStandalone: true, selector: "sidebar-with-sticky-content", ngImport: i0, template: "<daff-sidebar-viewport>\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"sidebar-with-sticky-content\">\n Fixed sidebar content\n </daff-sidebar>\n <div class=\"content\">\n <div class=\"sticky\">\n <div>Sticky content</div>\n </div>\n <div class=\"inner-content\">Inner content</div>\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.sidebar-with-sticky-content{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}.content{height:480px}.sticky{position:sticky;background:#fafafa;padding:16px;top:0}.inner-content{padding:16px}\n"], dependencies: [{ kind: "component", type: i1.DaffSidebarComponent, selector: "daff-sidebar", inputs: ["side", "mode"], outputs: ["escapePressed"] }, { kind: "component", type: i1.DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: ["navPlacement"], outputs: ["backdropClicked"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
63
63
|
}
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: SidebarWithStickyContentComponent, decorators: [{
|
65
65
|
type: Component,
|
66
|
-
args: [{ selector: 'sidebar-with-sticky-content', changeDetection: ChangeDetectionStrategy.OnPush,
|
66
|
+
args: [{ selector: 'sidebar-with-sticky-content', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
67
67
|
DAFF_SIDEBAR_COMPONENTS,
|
68
68
|
], template: "<daff-sidebar-viewport>\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"sidebar-with-sticky-content\">\n Fixed sidebar content\n </daff-sidebar>\n <div class=\"content\">\n <div class=\"sticky\">\n <div>Sticky content</div>\n </div>\n <div class=\"inner-content\">Inner content</div>\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.sidebar-with-sticky-content{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}.content{height:480px}.sticky{position:sticky;background:#fafafa;padding:16px;top:0}.inner-content{padding:16px}\n"] }]
|
69
69
|
}] });
|