@koobiq/components 20.4.1 → 21.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/accordion-trigger.scss +3 -10
- package/accordion/accordion.scss +4 -6
- package/actions-panel/actions-panel-container.scss +45 -1
- package/alert/alert.component.scss +3 -2
- package/app-switcher/_app-switcher-theme.scss +0 -4
- package/app-switcher/app-switcher-dropdown-app.scss +3 -2
- package/app-switcher/app-switcher-dropdown-site.scss +2 -1
- package/app-switcher/{kbq-app-switcher-list-item.scss → app-switcher-list-item.scss} +18 -4
- package/app-switcher/app-switcher-tokens.scss +15 -0
- package/app-switcher/app-switcher.scss +14 -4
- package/autocomplete/autocomplete.scss +7 -6
- package/badge/badge.component.scss +5 -8
- package/breadcrumbs/breadcrumbs.scss +25 -10
- package/button/_button-base.scss +30 -7
- package/button/_button-theme.scss +16 -0
- package/button/button-group.scss +7 -0
- package/button/button-tokens.scss +0 -2
- package/button/button.scss +34 -2
- package/button-toggle/_button-toggle-theme.scss +7 -2
- package/button-toggle/button-toggle.scss +65 -15
- package/checkbox/_checkbox-theme.scss +4 -3
- package/checkbox/checkbox.scss +3 -6
- package/clamped-text/clamped-text.scss +6 -2
- package/code-block/code-block-tokens.scss +0 -224
- package/code-block/code-block.scss +20 -9
- package/content-panel/content-panel-aside.scss +3 -2
- package/content-panel/content-panel-container.scss +37 -0
- package/content-panel/content-panel.scss +4 -3
- package/core/highlight/_highlight-theme.scss +3 -1
- package/core/option/action-container.scss +2 -2
- package/core/option/action.scss +2 -1
- package/core/option/option.scss +2 -1
- package/core/pop-up/_pop-up.scss +0 -37
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +5 -10
- package/core/styles/_core.scss +3 -0
- package/core/styles/_koobiq-theme.scss +5 -6
- package/core/styles/common/_animation.scss +44 -16
- package/core/styles/common/_groups-mixins.scss +21 -19
- package/core/styles/common/_groups.scss +4 -32
- package/core/styles/common/_index.scss +0 -2
- package/core/styles/common/_link.scss +117 -0
- package/core/styles/common/_list.scss +0 -26
- package/core/styles/common/_overlay.scss +8 -10
- package/core/styles/common/_rtl.scss +0 -14
- package/core/styles/common/_select.scss +33 -15
- package/core/styles/common/_squircle.scss +63 -0
- package/core/styles/common/_tokens.scss +0 -11
- package/core/styles/common/_vendor-prefixes.scss +0 -20
- package/core/styles/functions/_timing.scss +0 -22
- package/core/styles/theming/_scrollbar-theme.scss +6 -1
- package/core/styles/theming/_theming.scss +13 -65
- package/core/styles/typography/_index.scss +0 -1
- package/core/styles/typography/_typography.scss +0 -143
- package/core/styles/visual/_body.scss +1 -6
- package/core/styles/visual/_layout.scss +0 -12
- package/datepicker/calendar-body.scss +3 -1
- package/datepicker/calendar-header.scss +0 -1
- package/datepicker/datepicker-content.scss +33 -1
- package/datepicker/datepicker-toggle.scss +0 -38
- package/dl/dl-tokens.scss +10 -0
- package/dl/dl.scss +113 -13
- package/dropdown/_dropdown-theme.scss +4 -16
- package/dropdown/dropdown-item.scss +4 -10
- package/dropdown/dropdown.scss +2 -1
- package/empty-state/_empty-state-theme.scss +10 -4
- package/empty-state/empty-state-tokens.scss +4 -4
- package/empty-state/empty-state.scss +4 -0
- package/fesm2022/koobiq-components-accordion.mjs +347 -229
- package/fesm2022/koobiq-components-accordion.mjs.map +1 -1
- package/fesm2022/koobiq-components-actions-panel.mjs +302 -187
- package/fesm2022/koobiq-components-actions-panel.mjs.map +1 -1
- package/fesm2022/koobiq-components-alert.mjs +39 -39
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-app-switcher.mjs +677 -367
- package/fesm2022/koobiq-components-app-switcher.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +620 -253
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +46 -48
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-breadcrumbs.mjs +221 -169
- package/fesm2022/koobiq-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +565 -196
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +332 -116
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +172 -132
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-clamped-text.mjs +165 -158
- package/fesm2022/koobiq-components-clamped-text.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +755 -601
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-content-panel.mjs +260 -143
- package/fesm2022/koobiq-components-content-panel.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +4342 -1595
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +1713 -1606
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs +73 -36
- package/fesm2022/koobiq-components-divider.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +447 -89
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +703 -599
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-dynamic-translation.mjs +20 -20
- package/fesm2022/koobiq-components-dynamic-translation.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +46 -31
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-empty-state.mjs +116 -60
- package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +550 -290
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-filter-bar.mjs +2810 -2538
- package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-flag.mjs +79 -24
- package/fesm2022/koobiq-components-flag.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +389 -525
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +366 -136
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-inline-edit.mjs +429 -212
- package/fesm2022/koobiq-components-inline-edit.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +601 -459
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link-deprecated.mjs +196 -0
- package/fesm2022/koobiq-components-link-deprecated.mjs.map +1 -0
- package/fesm2022/koobiq-components-link.mjs +328 -125
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +583 -433
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +167 -68
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +55 -78
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +853 -475
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +895 -556
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-notification-center.mjs +680 -310
- package/fesm2022/koobiq-components-notification-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-overflow-items.mjs +46 -64
- package/fesm2022/koobiq-components-overflow-items.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +684 -285
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-bar.mjs +87 -33
- package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +52 -43
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +450 -231
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-resizer.mjs +127 -21
- package/fesm2022/koobiq-components-resizer.mjs.map +1 -1
- package/fesm2022/koobiq-components-scrollbar-deprecated.mjs +299 -0
- package/fesm2022/koobiq-components-scrollbar-deprecated.mjs.map +1 -0
- package/fesm2022/koobiq-components-scrollbar.mjs +745 -222
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-search-expandable.mjs +288 -126
- package/fesm2022/koobiq-components-search-expandable.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +883 -693
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +207 -88
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +689 -296
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-skeleton.mjs +815 -41
- package/fesm2022/koobiq-components-skeleton.mjs.map +1 -1
- package/fesm2022/koobiq-components-split-button.mjs +109 -88
- package/fesm2022/koobiq-components-split-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter-deprecated.mjs +591 -0
- package/fesm2022/koobiq-components-splitter-deprecated.mjs.map +1 -0
- package/fesm2022/koobiq-components-splitter.mjs +890 -501
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +63 -49
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +1062 -603
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +886 -733
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +213 -185
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-time-range.mjs +299 -147
- package/fesm2022/koobiq-components-time-range.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +233 -245
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +344 -142
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +229 -145
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +486 -165
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +177 -130
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +657 -214
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-top-bar.mjs +61 -32
- package/fesm2022/koobiq-components-top-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +719 -488
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +1506 -558
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/fesm2022/koobiq-components-username.mjs +290 -135
- package/fesm2022/koobiq-components-username.mjs.map +1 -1
- package/file-upload/dropzone.scss +31 -3
- package/file-upload/file-upload-tokens.scss +2 -22
- package/file-upload/file-upload.scss +6 -0
- package/file-upload/multiple-file-upload.component.scss +14 -12
- package/file-upload/single-file-upload.component.scss +3 -2
- package/filter-bar/filters.scss +7 -0
- package/filter-bar/pipes/base-pipe.scss +3 -3
- package/filter-bar/pipes/pipe-date.scss +8 -1
- package/flag/flag-tokens.scss +22 -0
- package/flag/flag.scss +34 -21
- package/form-field/{_fiedset-theme.scss → _fieldset-theme.scss} +1 -5
- package/form-field/_form-field-theme.scss +4 -9
- package/form-field/cleaner.scss +3 -1
- package/form-field/fieldset.scss +3 -4
- package/form-field/form-field.scss +26 -21
- package/form-field/password-toggle.scss +3 -1
- package/icon/_icon-button-theme.scss +7 -0
- package/icon/_icon-theme.scss +10 -7
- package/icon/icon-button.scss +0 -2
- package/icon/icon-tokens.scss +12 -9
- package/inline-edit/inline-edit.scss +40 -54
- package/input/input.scss +4 -0
- package/link/{_link-theme.scss → deprecated/_link-theme.scss} +11 -6
- package/link/deprecated/link-tokens.scss +27 -0
- package/link/link-tokens.scss +6 -25
- package/link/link.scss +137 -0
- package/list/list.scss +3 -2
- package/loader-overlay/_loader-overlay-theme.scss +19 -10
- package/loader-overlay/loader-overlay-tokens.scss +0 -2
- package/loader-overlay/loader-overlay.scss +7 -1
- package/markdown/_markdown-theme.scss +16 -0
- package/markdown/markdown-tokens.scss +5 -0
- package/markdown/markdown.scss +2 -1
- package/modal/_modal-animation.scss +23 -14
- package/modal/modal-tokens.scss +2 -1
- package/modal/modal.scss +35 -31
- package/navbar/_navbar-item_horizontal.scss +8 -6
- package/navbar/_navbar-item_vertical.scss +18 -6
- package/navbar/_navbar-theme.scss +9 -1
- package/navbar/navbar-brand.scss +8 -6
- package/navbar/navbar-divider.scss +1 -1
- package/navbar/navbar-item.scss +8 -9
- package/navbar/navbar-toggle.scss +3 -3
- package/navbar/navbar-tokens.scss +14 -0
- package/navbar/navbar.scss +1 -2
- package/navbar/vertical-navbar.scss +2 -2
- package/notification-center/_notification-center-theme.scss +11 -6
- package/notification-center/notification-center-tokens.scss +33 -0
- package/notification-center/notification-center.scss +58 -20
- package/notification-center/notification-item.scss +15 -6
- package/package.json +112 -81
- package/popover/popover-tokens.scss +0 -2
- package/popover/popover.scss +41 -19
- package/prebuilt-themes/theme.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +20 -3
- package/progress-bar/progress-bar-tokens.scss +3 -0
- package/progress-bar/progress-bar.scss +36 -8
- package/progress-spinner/progress-spinner.scss +4 -3
- package/radio/_radio-theme.scss +21 -4
- package/radio/radio-tokens.scss +7 -3
- package/radio/radio.scss +55 -8
- package/schematics/collection.json +399 -7
- package/schematics/migrations/accordion-state-saving-default/README.md +60 -0
- package/schematics/migrations/accordion-state-saving-default/data.js +75 -0
- package/schematics/migrations/accordion-state-saving-default/index.js +60 -0
- package/schematics/migrations/accordion-state-saving-default/schema.json +15 -0
- package/schematics/migrations/actions-panel-overlay-container/README.md +35 -0
- package/schematics/migrations/actions-panel-overlay-container/data.js +47 -0
- package/schematics/migrations/actions-panel-overlay-container/index.js +54 -0
- package/schematics/migrations/actions-panel-overlay-container/schema.json +15 -0
- package/schematics/migrations/alert-signals/README.md +13 -7
- package/schematics/migrations/alert-signals/data.js +3 -0
- package/schematics/migrations/alert-signals/index.js +70 -203
- package/schematics/migrations/angular-animations-removal/README.md +46 -0
- package/schematics/migrations/angular-animations-removal/data.js +150 -0
- package/schematics/migrations/angular-animations-removal/index.js +20 -0
- package/schematics/migrations/angular-animations-removal/schema.json +15 -0
- package/schematics/migrations/app-switcher-signals/README.md +88 -0
- package/schematics/migrations/app-switcher-signals/data.js +136 -0
- package/schematics/migrations/app-switcher-signals/index.js +365 -0
- package/schematics/migrations/app-switcher-signals/schema.json +20 -0
- package/schematics/migrations/autocomplete-panel-width-auto/README.md +2 -2
- package/schematics/migrations/autocomplete-panel-width-auto/index.js +1 -1
- package/schematics/migrations/autocomplete-signals/README.md +92 -0
- package/schematics/migrations/autocomplete-signals/data.js +149 -0
- package/schematics/migrations/autocomplete-signals/index.js +706 -0
- package/schematics/migrations/autocomplete-signals/schema.json +20 -0
- package/schematics/migrations/badge-signals/README.md +77 -0
- package/schematics/migrations/badge-signals/data.js +109 -0
- package/schematics/migrations/badge-signals/index.js +693 -0
- package/schematics/migrations/badge-signals/schema.json +20 -0
- package/schematics/migrations/button-state-and-styles/README.md +129 -0
- package/schematics/migrations/button-state-and-styles/data.js +136 -0
- package/schematics/migrations/button-state-and-styles/index.js +220 -0
- package/schematics/migrations/button-state-and-styles/schema.json +20 -0
- package/schematics/migrations/button-supported-colors/README.md +73 -0
- package/schematics/migrations/button-supported-colors/data.js +106 -0
- package/schematics/migrations/button-supported-colors/index.js +260 -0
- package/schematics/migrations/button-supported-colors/schema.json +20 -0
- package/schematics/migrations/button-toggle-signals-and-aria/README.md +137 -0
- package/schematics/migrations/button-toggle-signals-and-aria/data.js +200 -0
- package/schematics/migrations/button-toggle-signals-and-aria/index.js +496 -0
- package/schematics/migrations/button-toggle-signals-and-aria/schema.json +20 -0
- package/schematics/migrations/button-truncation/README.md +110 -0
- package/schematics/migrations/button-truncation/data.js +88 -0
- package/schematics/migrations/button-truncation/index.js +269 -0
- package/schematics/migrations/button-truncation/schema.json +20 -0
- package/schematics/migrations/checkbox-signals/README.md +76 -0
- package/schematics/migrations/checkbox-signals/data.js +114 -0
- package/schematics/migrations/checkbox-signals/index.js +634 -0
- package/schematics/migrations/checkbox-signals/schema.json +20 -0
- package/schematics/migrations/clamped-text-disclosure/README.md +62 -0
- package/schematics/migrations/clamped-text-disclosure/data.js +101 -0
- package/schematics/migrations/clamped-text-disclosure/index.js +59 -0
- package/schematics/migrations/clamped-text-disclosure/schema.json +15 -0
- package/schematics/migrations/code-block-signals/README.md +84 -0
- package/schematics/migrations/code-block-signals/data.js +121 -0
- package/schematics/migrations/code-block-signals/index.js +700 -0
- package/schematics/migrations/code-block-signals/schema.json +20 -0
- package/schematics/migrations/color-signals/README.md +46 -0
- package/schematics/migrations/color-signals/data.js +131 -0
- package/schematics/migrations/color-signals/index.js +19 -0
- package/schematics/migrations/color-signals/schema.json +20 -0
- package/schematics/migrations/core-mixins-removal/README.md +20 -0
- package/schematics/migrations/core-mixins-removal/data.js +27 -0
- package/schematics/migrations/core-mixins-removal/index.js +17 -0
- package/schematics/migrations/core-mixins-removal/schema.json +15 -0
- package/schematics/migrations/css-selectors/README.md +2 -2
- package/schematics/migrations/css-selectors/index.js +1 -1
- package/schematics/migrations/datepicker-signals/README.md +24 -0
- package/schematics/migrations/datepicker-signals/data.js +49 -0
- package/schematics/migrations/datepicker-signals/index.js +17 -0
- package/schematics/migrations/datepicker-signals/schema.json +15 -0
- package/schematics/migrations/deprecated-icons/README.md +2 -2
- package/schematics/migrations/deprecated-icons/index.js +1 -1
- package/schematics/migrations/design-tokens-v4/README.md +75 -0
- package/schematics/migrations/design-tokens-v4/index.js +59 -0
- package/schematics/migrations/design-tokens-v4/schema.json +15 -0
- package/schematics/migrations/divider-signals-and-aria/README.md +47 -0
- package/schematics/migrations/divider-signals-and-aria/data.js +62 -0
- package/schematics/migrations/divider-signals-and-aria/index.js +211 -0
- package/schematics/migrations/divider-signals-and-aria/schema.json +15 -0
- package/schematics/migrations/dl-attribute-coercion/README.md +59 -0
- package/schematics/migrations/dl-attribute-coercion/data.js +85 -0
- package/schematics/migrations/dl-attribute-coercion/index.js +161 -0
- package/schematics/migrations/dl-attribute-coercion/schema.json +15 -0
- package/schematics/migrations/dl-standalone-names/README.md +49 -0
- package/schematics/migrations/dl-standalone-names/data.js +44 -0
- package/schematics/migrations/dl-standalone-names/index.js +321 -0
- package/schematics/migrations/dl-standalone-names/schema.json +20 -0
- package/schematics/migrations/dropdown-demote-overlay/README.md +137 -0
- package/schematics/migrations/dropdown-demote-overlay/data.js +84 -0
- package/schematics/migrations/dropdown-demote-overlay/index.js +288 -0
- package/schematics/migrations/dropdown-demote-overlay/schema.json +20 -0
- package/schematics/migrations/dropdown-signals/README.md +83 -0
- package/schematics/migrations/dropdown-signals/data.js +152 -0
- package/schematics/migrations/dropdown-signals/index.js +19 -0
- package/schematics/migrations/dropdown-signals/schema.json +20 -0
- package/schematics/migrations/empty-state-error-color/README.md +84 -0
- package/schematics/migrations/empty-state-error-color/data.js +85 -0
- package/schematics/migrations/empty-state-error-color/index.js +71 -0
- package/schematics/migrations/empty-state-error-color/schema.json +15 -0
- package/schematics/migrations/empty-state-size-attr/README.md +2 -2
- package/schematics/migrations/empty-state-size-attr/index.js +1 -1
- package/schematics/migrations/file-upload-cva-and-primitives/README.md +70 -0
- package/schematics/migrations/file-upload-cva-and-primitives/data.js +97 -0
- package/schematics/migrations/file-upload-cva-and-primitives/index.js +60 -0
- package/schematics/migrations/file-upload-cva-and-primitives/schema.json +15 -0
- package/schematics/migrations/file-upload-deprecated-outputs/README.md +90 -0
- package/schematics/migrations/file-upload-deprecated-outputs/data.js +20 -0
- package/schematics/migrations/file-upload-deprecated-outputs/index.js +70 -0
- package/schematics/migrations/file-upload-deprecated-outputs/schema.json +20 -0
- package/schematics/migrations/filter-bar-rename-action/README.md +183 -0
- package/schematics/migrations/filter-bar-rename-action/data.js +151 -0
- package/schematics/migrations/filter-bar-rename-action/index.js +177 -0
- package/schematics/migrations/filter-bar-rename-action/schema.json +20 -0
- package/schematics/migrations/filter-bar-signals/README.md +27 -16
- package/schematics/migrations/filter-bar-signals/data.js +1 -2
- package/schematics/migrations/filter-bar-signals/index.js +100 -195
- package/schematics/migrations/filter-bar-state-saving-default/README.md +53 -0
- package/schematics/migrations/filter-bar-state-saving-default/data.js +87 -0
- package/schematics/migrations/filter-bar-state-saving-default/index.js +61 -0
- package/schematics/migrations/filter-bar-state-saving-default/schema.json +15 -0
- package/schematics/migrations/flag-inner-html/README.md +67 -0
- package/schematics/migrations/flag-inner-html/data.js +58 -0
- package/schematics/migrations/flag-inner-html/index.js +61 -0
- package/schematics/migrations/flag-inner-html/schema.json +15 -0
- package/schematics/migrations/form-field-signals/README.md +125 -0
- package/schematics/migrations/form-field-signals/data.js +288 -0
- package/schematics/migrations/form-field-signals/index.js +382 -0
- package/schematics/migrations/form-field-signals/schema.json +20 -0
- package/schematics/migrations/icon-semantics-and-api/README.md +65 -0
- package/schematics/migrations/icon-semantics-and-api/data.js +97 -0
- package/schematics/migrations/icon-semantics-and-api/index.js +64 -0
- package/schematics/migrations/icon-semantics-and-api/schema.json +15 -0
- package/schematics/migrations/icons-replacement/README.md +5 -5
- package/schematics/migrations/icons-replacement/index.js +1 -1
- package/schematics/migrations/inline-edit-a11y-and-types/README.md +82 -0
- package/schematics/migrations/inline-edit-a11y-and-types/data.js +117 -0
- package/schematics/migrations/inline-edit-a11y-and-types/index.js +97 -0
- package/schematics/migrations/inline-edit-a11y-and-types/schema.json +20 -0
- package/schematics/migrations/input-number-surface/README.md +140 -0
- package/schematics/migrations/input-number-surface/data.js +135 -0
- package/schematics/migrations/input-number-surface/index.js +292 -0
- package/schematics/migrations/input-number-surface/schema.json +20 -0
- package/schematics/migrations/input-signals/README.md +20 -0
- package/schematics/migrations/input-signals/data.js +30 -0
- package/schematics/migrations/input-signals/index.js +17 -0
- package/schematics/migrations/input-signals/schema.json +15 -0
- package/schematics/migrations/link-deprecated-path/README.md +144 -0
- package/schematics/migrations/link-deprecated-path/index.js +19 -0
- package/schematics/migrations/link-deprecated-path/schema.json +20 -0
- package/schematics/migrations/link-signals/README.md +71 -0
- package/schematics/migrations/link-signals/data.js +116 -0
- package/schematics/migrations/link-signals/index.js +415 -0
- package/schematics/migrations/link-signals/schema.json +20 -0
- package/schematics/migrations/list-signals/README.md +22 -0
- package/schematics/migrations/list-signals/data.js +35 -0
- package/schematics/migrations/list-signals/index.js +17 -0
- package/schematics/migrations/list-signals/schema.json +15 -0
- package/schematics/migrations/list-tree-multiple-input/README.md +105 -0
- package/schematics/migrations/list-tree-multiple-input/data.js +74 -0
- package/schematics/migrations/list-tree-multiple-input/index.js +221 -0
- package/schematics/migrations/list-tree-multiple-input/schema.json +20 -0
- package/schematics/migrations/loader-overlay-signals/README.md +62 -0
- package/schematics/migrations/loader-overlay-signals/data.js +101 -0
- package/schematics/migrations/loader-overlay-signals/index.js +697 -0
- package/schematics/migrations/loader-overlay-signals/schema.json +20 -0
- package/schematics/migrations/loader-overlay-size-attr/README.md +2 -2
- package/schematics/migrations/loader-overlay-size-attr/index.js +1 -1
- package/schematics/migrations/locale-configuration-providers/README.md +163 -0
- package/schematics/migrations/locale-configuration-providers/data.js +257 -0
- package/schematics/migrations/locale-configuration-providers/index.js +294 -0
- package/schematics/migrations/locale-configuration-providers/schema.json +20 -0
- package/schematics/migrations/mandatory-peer-dependencies/README.md +70 -0
- package/schematics/migrations/mandatory-peer-dependencies/index.js +42 -0
- package/schematics/migrations/mandatory-peer-dependencies/schema.json +15 -0
- package/schematics/migrations/markdown-signals/README.md +58 -0
- package/schematics/migrations/markdown-signals/data.js +79 -0
- package/schematics/migrations/markdown-signals/index.js +639 -0
- package/schematics/migrations/markdown-signals/schema.json +20 -0
- package/schematics/migrations/modal-dialog-semantics/README.md +106 -0
- package/schematics/migrations/modal-dialog-semantics/data.js +110 -0
- package/schematics/migrations/modal-dialog-semantics/index.js +58 -0
- package/schematics/migrations/modal-dialog-semantics/schema.json +15 -0
- package/schematics/migrations/modal-signals/README.md +88 -0
- package/schematics/migrations/modal-signals/data.js +132 -0
- package/schematics/migrations/modal-signals/index.js +19 -0
- package/schematics/migrations/modal-signals/schema.json +20 -0
- package/schematics/migrations/navbar-signals-and-aria/README.md +111 -0
- package/schematics/migrations/navbar-signals-and-aria/data.js +198 -0
- package/schematics/migrations/navbar-signals-and-aria/index.js +568 -0
- package/schematics/migrations/navbar-signals-and-aria/schema.json +20 -0
- package/schematics/migrations/new-icons-pack/README.md +10 -10
- package/schematics/migrations/new-icons-pack/index.js +1 -1
- package/schematics/migrations/notification-center-signals/README.md +67 -0
- package/schematics/migrations/notification-center-signals/data.js +66 -0
- package/schematics/migrations/notification-center-signals/index.js +61 -0
- package/schematics/migrations/notification-center-signals/schema.json +15 -0
- package/schematics/migrations/option-signals/README.md +37 -0
- package/schematics/migrations/option-signals/data.js +86 -0
- package/schematics/migrations/option-signals/index.js +19 -0
- package/schematics/migrations/option-signals/schema.json +20 -0
- package/schematics/migrations/popover-leave-delay/README.md +51 -0
- package/schematics/migrations/popover-leave-delay/data.js +61 -0
- package/schematics/migrations/popover-leave-delay/index.js +54 -0
- package/schematics/migrations/popover-leave-delay/schema.json +15 -0
- package/schematics/migrations/progress-bar-percentage-and-aria/README.md +54 -0
- package/schematics/migrations/progress-bar-percentage-and-aria/data.js +76 -0
- package/schematics/migrations/progress-bar-percentage-and-aria/index.js +58 -0
- package/schematics/migrations/progress-bar-percentage-and-aria/schema.json +15 -0
- package/schematics/migrations/progress-spinner-signals/README.md +72 -0
- package/schematics/migrations/progress-spinner-signals/data.js +83 -0
- package/schematics/migrations/progress-spinner-signals/index.js +694 -0
- package/schematics/migrations/progress-spinner-signals/schema.json +20 -0
- package/schematics/migrations/query-list-signals/README.md +32 -0
- package/schematics/migrations/query-list-signals/data.js +70 -0
- package/schematics/migrations/query-list-signals/index.js +17 -0
- package/schematics/migrations/query-list-signals/schema.json +15 -0
- package/schematics/migrations/radio-signals-and-aria/README.md +82 -0
- package/schematics/migrations/radio-signals-and-aria/data.js +163 -0
- package/schematics/migrations/radio-signals-and-aria/index.js +39 -0
- package/schematics/migrations/radio-signals-and-aria/schema.json +20 -0
- package/schematics/migrations/read-state-dwell-handlers/README.md +125 -0
- package/schematics/migrations/read-state-dwell-handlers/data.js +45 -0
- package/schematics/migrations/read-state-dwell-handlers/index.js +215 -0
- package/schematics/migrations/read-state-dwell-handlers/schema.json +20 -0
- package/schematics/migrations/scrollbar-deprecated-path/README.md +128 -0
- package/schematics/migrations/scrollbar-deprecated-path/index.js +20 -0
- package/schematics/migrations/scrollbar-deprecated-path/schema.json +20 -0
- package/schematics/migrations/select-signal-inputs/README.md +61 -0
- package/schematics/migrations/select-signal-inputs/data.js +99 -0
- package/schematics/migrations/select-signal-inputs/index.js +57 -0
- package/schematics/migrations/select-signal-inputs/schema.json +15 -0
- package/schematics/migrations/sidepanel-non-modal-behavior/README.md +57 -0
- package/schematics/migrations/sidepanel-non-modal-behavior/data.js +111 -0
- package/schematics/migrations/sidepanel-non-modal-behavior/index.js +57 -0
- package/schematics/migrations/sidepanel-non-modal-behavior/schema.json +15 -0
- package/schematics/migrations/signal-inputs-subclasses/README.md +28 -0
- package/schematics/migrations/signal-inputs-subclasses/data.js +69 -0
- package/schematics/migrations/signal-inputs-subclasses/index.js +17 -0
- package/schematics/migrations/signal-inputs-subclasses/schema.json +15 -0
- package/schematics/migrations/split-button-optional-disabled/README.md +47 -0
- package/schematics/migrations/split-button-optional-disabled/data.js +53 -0
- package/schematics/migrations/split-button-optional-disabled/index.js +57 -0
- package/schematics/migrations/split-button-optional-disabled/schema.json +15 -0
- package/schematics/migrations/splitter-deprecated-path/README.md +136 -0
- package/schematics/migrations/splitter-deprecated-path/index.js +20 -0
- package/schematics/migrations/splitter-deprecated-path/schema.json +20 -0
- package/schematics/migrations/state-saving-default/README.md +67 -0
- package/schematics/migrations/state-saving-default/data.js +88 -0
- package/schematics/migrations/state-saving-default/index.js +62 -0
- package/schematics/migrations/state-saving-default/schema.json +15 -0
- package/schematics/migrations/table-cell-content/README.md +55 -0
- package/schematics/migrations/table-cell-content/data.js +66 -0
- package/schematics/migrations/table-cell-content/index.js +66 -0
- package/schematics/migrations/table-cell-content/schema.json +15 -0
- package/schematics/migrations/tabs-signals-and-aria/README.md +93 -0
- package/schematics/migrations/tabs-signals-and-aria/data.js +139 -0
- package/schematics/migrations/tabs-signals-and-aria/index.js +65 -0
- package/schematics/migrations/tabs-signals-and-aria/schema.json +15 -0
- package/schematics/migrations/tag-list-cleaner/README.md +58 -0
- package/schematics/migrations/tag-list-cleaner/data.js +42 -0
- package/schematics/migrations/tag-list-cleaner/index.js +196 -0
- package/schematics/migrations/tag-list-cleaner/schema.json +20 -0
- package/schematics/migrations/tag-slots/README.md +41 -0
- package/schematics/migrations/tag-slots/index.js +190 -0
- package/schematics/migrations/tag-slots/schema.json +20 -0
- package/schematics/migrations/tags-signals/README.md +85 -0
- package/schematics/migrations/tags-signals/data.js +103 -0
- package/schematics/migrations/tags-signals/index.js +673 -0
- package/schematics/migrations/tags-signals/schema.json +20 -0
- package/schematics/migrations/textarea-signals/README.md +72 -0
- package/schematics/migrations/textarea-signals/data.js +121 -0
- package/schematics/migrations/textarea-signals/index.js +379 -0
- package/schematics/migrations/textarea-signals/schema.json +20 -0
- package/schematics/migrations/time-range-title-for/README.md +164 -0
- package/schematics/migrations/time-range-title-for/data.js +139 -0
- package/schematics/migrations/time-range-title-for/index.js +163 -0
- package/schematics/migrations/time-range-title-for/schema.json +20 -0
- package/schematics/migrations/timepicker-signals/README.md +78 -0
- package/schematics/migrations/timepicker-signals/data.js +82 -0
- package/schematics/migrations/timepicker-signals/index.js +709 -0
- package/schematics/migrations/timepicker-signals/schema.json +20 -0
- package/schematics/migrations/timezone-grouping-utils/README.md +73 -0
- package/schematics/migrations/timezone-grouping-utils/data.js +101 -0
- package/schematics/migrations/timezone-grouping-utils/index.js +64 -0
- package/schematics/migrations/timezone-grouping-utils/schema.json +15 -0
- package/schematics/migrations/title-encapsulation/README.md +49 -0
- package/schematics/migrations/title-encapsulation/data.js +69 -0
- package/schematics/migrations/title-encapsulation/index.js +57 -0
- package/schematics/migrations/title-encapsulation/schema.json +15 -0
- package/schematics/migrations/toast-stack-and-defaults/README.md +102 -0
- package/schematics/migrations/toast-stack-and-defaults/data.js +79 -0
- package/schematics/migrations/toast-stack-and-defaults/index.js +53 -0
- package/schematics/migrations/toast-stack-and-defaults/schema.json +15 -0
- package/schematics/migrations/tooltip-pointer-events-and-types/README.md +53 -0
- package/schematics/migrations/tooltip-pointer-events-and-types/data.js +89 -0
- package/schematics/migrations/tooltip-pointer-events-and-types/index.js +60 -0
- package/schematics/migrations/tooltip-pointer-events-and-types/schema.json +15 -0
- package/schematics/migrations/top-bar-container-selectors/README.md +111 -0
- package/schematics/migrations/top-bar-container-selectors/data.js +56 -0
- package/schematics/migrations/top-bar-container-selectors/index.js +84 -0
- package/schematics/migrations/top-bar-container-selectors/schema.json +20 -0
- package/schematics/migrations/tree-select-signals/README.md +61 -0
- package/schematics/migrations/tree-select-signals/data.js +106 -0
- package/schematics/migrations/tree-select-signals/index.js +58 -0
- package/schematics/migrations/tree-select-signals/schema.json +15 -0
- package/schematics/migrations/tree-signals/README.md +82 -0
- package/schematics/migrations/tree-signals/data.js +123 -0
- package/schematics/migrations/tree-signals/index.js +54 -0
- package/schematics/migrations/tree-signals/schema.json +15 -0
- package/schematics/migrations/tree-state-saving-default/README.md +66 -0
- package/schematics/migrations/tree-state-saving-default/data.js +78 -0
- package/schematics/migrations/tree-state-saving-default/index.js +60 -0
- package/schematics/migrations/tree-state-saving-default/schema.json +15 -0
- package/schematics/migrations/username-pipe-injection/README.md +59 -0
- package/schematics/migrations/username-pipe-injection/data.js +78 -0
- package/schematics/migrations/username-pipe-injection/index.js +58 -0
- package/schematics/migrations/username-pipe-injection/schema.json +15 -0
- package/schematics/migrations/v20-upgrade/README.md +36 -16
- package/schematics/migrations/v20-upgrade/data.js +124 -77
- package/schematics/migrations/v20-upgrade/index.js +6 -213
- package/schematics/migrations/v21-upgrade/README.md +271 -0
- package/schematics/migrations/v21-upgrade/data.js +1371 -0
- package/schematics/migrations/v21-upgrade/index.js +94 -0
- package/schematics/migrations/v21-upgrade/schema.json +20 -0
- package/schematics/migrations/zoneless-change-detection/README.md +30 -0
- package/schematics/migrations/zoneless-change-detection/data.js +29 -0
- package/schematics/migrations/zoneless-change-detection/index.js +20 -0
- package/schematics/migrations/zoneless-change-detection/schema.json +15 -0
- package/schematics/migrations.json +392 -2
- package/schematics/ng-add/index.js +515 -14
- package/schematics/ng-add/schema.json +15 -0
- package/schematics/utils/deprecated-path-migration.js +61 -0
- package/schematics/utils/package-config.js +9 -105
- package/scrollbar/{_scrollbar-component-theme.scss → deprecated/_scrollbar-component-theme.scss} +1 -1
- package/scrollbar/{scrollbar.component.scss → deprecated/scrollbar.component.scss} +1 -1
- package/scrollbar/native-scrollbar.scss +68 -0
- package/scrollbar/scrollbar-tokens.scss +13 -22
- package/scrollbar/scrollbar-track.scss +94 -0
- package/scrollbar/scrollbar-viewport.scss +33 -0
- package/scrollbar/scrollbar.scss +24 -0
- package/search-expandable/search-expandable-tokens.scss +4 -0
- package/search-expandable/search-expandable.scss +4 -2
- package/select/_select-theme.scss +3 -16
- package/select/select.scss +0 -6
- package/sidebar/sidebar.scss +20 -0
- package/sidepanel/_sidepanel-theme.scss +1 -1
- package/sidepanel/sidepanel-tokens.scss +7 -1
- package/sidepanel/sidepanel.scss +41 -5
- package/skeleton/skeleton-presets.scss +350 -0
- package/skeleton/skeleton-tokens.scss +127 -0
- package/skeleton/skeleton.scss +53 -45
- package/split-button/_split-button-theme.scss +4 -4
- package/split-button/split-button.scss +2 -6
- package/splitter/{_splitter-theme.scss → deprecated/_splitter-theme.scss} +1 -1
- package/splitter/deprecated/splitter.scss +51 -0
- package/splitter/splitter-tokens.scss +19 -0
- package/splitter/splitter.scss +148 -28
- package/table/_table-theme.scss +13 -12
- package/table/table-tokens.scss +8 -0
- package/table/table.scss +47 -22
- package/tabs/_tabs-common.scss +14 -14
- package/tabs/_tabs-theme.scss +4 -5
- package/tabs/tab-body.scss +49 -1
- package/tabs/tab-header.scss +2 -1
- package/tags/tag-list.scss +4 -0
- package/tags/tag.scss +19 -1
- package/time-range/time-range.scss +9 -0
- package/timezone/timezone-option.component.scss +4 -7
- package/timezone/timezone-select.component.scss +3 -0
- package/toast/_toast-theme.scss +1 -4
- package/toast/toast-container.component.scss +19 -13
- package/toast/toast-tokens.scss +12 -6
- package/toast/toast.component.scss +42 -19
- package/toggle/_toggle-theme.scss +4 -10
- package/toggle/toggle.scss +67 -26
- package/tooltip/_tooltip-theme.scss +7 -1
- package/tooltip/tooltip-tokens.scss +1 -2
- package/tooltip/tooltip.scss +55 -9
- package/top-bar/top-bar-tokens.scss +13 -2
- package/top-bar/top-bar.scss +24 -19
- package/tree/_tree-theme.scss +0 -1
- package/tree/toggle.scss +5 -9
- package/tree/tree-option.scss +2 -4
- package/tree/tree-tokens.scss +2 -1
- package/tree/tree.scss +3 -5
- package/tree-select/_tree-select-theme.scss +4 -15
- package/tree-select/tree-select-tokens.scss +16 -0
- package/tree-select/tree-select.scss +0 -6
- package/{accordion/index.d.ts → types/koobiq-components-accordion.d.ts} +102 -84
- package/{actions-panel/index.d.ts → types/koobiq-components-actions-panel.d.ts} +44 -59
- package/{alert/index.d.ts → types/koobiq-components-alert.d.ts} +8 -3
- package/types/koobiq-components-app-switcher.d.ts +406 -0
- package/types/koobiq-components-autocomplete.d.ts +443 -0
- package/{badge/index.d.ts → types/koobiq-components-badge.d.ts} +25 -20
- package/{breadcrumbs/index.d.ts → types/koobiq-components-breadcrumbs.d.ts} +97 -46
- package/types/koobiq-components-button-toggle.d.ts +340 -0
- package/types/koobiq-components-button.d.ts +296 -0
- package/types/koobiq-components-checkbox.d.ts +172 -0
- package/types/koobiq-components-clamped-text.d.ts +184 -0
- package/{code-block/index.d.ts → types/koobiq-components-code-block.d.ts} +114 -79
- package/{content-panel/index.d.ts → types/koobiq-components-content-panel.d.ts} +81 -25
- package/{core/index.d.ts → types/koobiq-components-core.d.ts} +2827 -865
- package/{datepicker/index.d.ts → types/koobiq-components-datepicker.d.ts} +161 -116
- package/types/koobiq-components-divider.d.ts +43 -0
- package/types/koobiq-components-dl.d.ts +235 -0
- package/{dropdown/index.d.ts → types/koobiq-components-dropdown.d.ts} +245 -239
- package/types/koobiq-components-ellipsis-center.d.ts +85 -0
- package/types/koobiq-components-empty-state.d.ts +106 -0
- package/{file-upload/index.d.ts → types/koobiq-components-file-upload.d.ts} +214 -107
- package/{filter-bar/index.d.ts → types/koobiq-components-filter-bar.d.ts} +410 -495
- package/types/koobiq-components-flag.d.ts +68 -0
- package/{form-field/index.d.ts → types/koobiq-components-form-field.d.ts} +167 -191
- package/types/koobiq-components-icon.d.ts +333 -0
- package/{inline-edit/index.d.ts → types/koobiq-components-inline-edit.d.ts} +109 -46
- package/types/koobiq-components-input.d.ts +477 -0
- package/types/koobiq-components-link-deprecated.d.ts +101 -0
- package/types/koobiq-components-link.d.ts +176 -0
- package/{list/index.d.ts → types/koobiq-components-list.d.ts} +162 -99
- package/types/koobiq-components-loader-overlay.d.ts +101 -0
- package/{markdown/index.d.ts → types/koobiq-components-markdown.d.ts} +16 -24
- package/types/koobiq-components-modal.d.ts +666 -0
- package/types/koobiq-components-navbar.d.ts +569 -0
- package/types/koobiq-components-notification-center.d.ts +500 -0
- package/{overflow-items/index.d.ts → types/koobiq-components-overflow-items.d.ts} +8 -22
- package/types/koobiq-components-popover.d.ts +468 -0
- package/types/koobiq-components-progress-bar.d.ts +67 -0
- package/{progress-spinner/index.d.ts → types/koobiq-components-progress-spinner.d.ts} +33 -10
- package/types/koobiq-components-radio.d.ts +294 -0
- package/{resizer/index.d.ts → types/koobiq-components-resizer.d.ts} +37 -2
- package/{scrollbar/index.d.ts → types/koobiq-components-scrollbar-deprecated.d.ts} +18 -1
- package/types/koobiq-components-scrollbar.d.ts +154 -0
- package/types/koobiq-components-search-expandable.d.ts +164 -0
- package/{select/index.d.ts → types/koobiq-components-select.d.ts} +360 -167
- package/types/koobiq-components-sidebar.d.ts +152 -0
- package/types/koobiq-components-sidepanel.d.ts +436 -0
- package/types/koobiq-components-skeleton.d.ts +234 -0
- package/types/koobiq-components-split-button.d.ts +65 -0
- package/{splitter/index.d.ts → types/koobiq-components-splitter-deprecated.d.ts} +44 -1
- package/types/koobiq-components-splitter.d.ts +406 -0
- package/types/koobiq-components-table.d.ts +44 -0
- package/types/koobiq-components-tabs.d.ts +888 -0
- package/{tags/index.d.ts → types/koobiq-components-tags.d.ts} +249 -133
- package/types/koobiq-components-textarea.d.ts +178 -0
- package/{time-range/index.d.ts → types/koobiq-components-time-range.d.ts} +135 -62
- package/types/koobiq-components-timepicker.d.ts +223 -0
- package/types/koobiq-components-timezone.d.ts +266 -0
- package/types/koobiq-components-title.d.ts +184 -0
- package/types/koobiq-components-toast.d.ts +289 -0
- package/types/koobiq-components-toggle.d.ts +121 -0
- package/types/koobiq-components-tooltip.d.ts +610 -0
- package/types/koobiq-components-top-bar.d.ts +61 -0
- package/types/koobiq-components-tree-select.d.ts +667 -0
- package/types/koobiq-components-tree.d.ts +1290 -0
- package/types/koobiq-components-username.d.ts +340 -0
- package/username/_username-theme.scss +35 -0
- package/username/username.scss +10 -34
- package/app-switcher/index.d.ts +0 -276
- package/autocomplete/index.d.ts +0 -286
- package/button/index.d.ts +0 -153
- package/button-toggle/index.d.ts +0 -162
- package/checkbox/index.d.ts +0 -163
- package/clamped-text/index.d.ts +0 -146
- package/core/styles/_tokens.scss +0 -7
- package/core/styles/common/_clearfix.scss +0 -13
- package/core/styles/common/_popup.scss +0 -6
- package/core/styles/functions/_index.scss +0 -3
- package/core/styles/functions/_number.scss +0 -60
- package/core/styles/functions/_string.scss +0 -18
- package/core/styles/theming/scrollbar-tokens.scss +0 -25
- package/core/styles/typography/_typography-utils.scss +0 -84
- package/divider/index.d.ts +0 -20
- package/dl/index.d.ts +0 -45
- package/ellipsis-center/index.d.ts +0 -71
- package/empty-state/index.d.ts +0 -45
- package/flag/index.d.ts +0 -44
- package/icon/index.d.ts +0 -200
- package/input/index.d.ts +0 -354
- package/link/index.d.ts +0 -56
- package/loader-overlay/index.d.ts +0 -57
- package/modal/index.d.ts +0 -339
- package/navbar/index.d.ts +0 -372
- package/notification-center/index.d.ts +0 -323
- package/popover/index.d.ts +0 -182
- package/prebuilt-themes/dark-theme.css +0 -1
- package/prebuilt-themes/light-theme.css +0 -1
- package/progress-bar/index.d.ts +0 -31
- package/radio/index.d.ts +0 -203
- package/search-expandable/index.d.ts +0 -101
- package/sidebar/index.d.ts +0 -94
- package/sidepanel/index.d.ts +0 -272
- package/skeleton/index.d.ts +0 -26
- package/split-button/index.d.ts +0 -46
- package/table/index.d.ts +0 -25
- package/tabs/index.d.ts +0 -677
- package/textarea/index.d.ts +0 -138
- package/timepicker/index.d.ts +0 -197
- package/timezone/index.d.ts +0 -125
- package/title/index.d.ts +0 -139
- package/toast/index.d.ts +0 -187
- package/toggle/index.d.ts +0 -104
- package/tooltip/index.d.ts +0 -335
- package/top-bar/index.d.ts +0 -33
- package/tree/index.d.ts +0 -802
- package/tree-select/index.d.ts +0 -475
- package/username/index.d.ts +0 -194
- /package/{dynamic-translation/index.d.ts → types/koobiq-components-dynamic-translation.d.ts} +0 -0
- /package/{index.d.ts → types/koobiq-components.d.ts} +0 -0
|
@@ -1,76 +1,850 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ViewEncapsulation, Component, inject, input, booleanAttribute, afterRenderEffect, Directive, NgModule } from '@angular/core';
|
|
2
|
+
import { ViewEncapsulation, ChangeDetectionStrategy, Component, inject, NgZone, Injectable, input, booleanAttribute, afterRenderEffect, Directive, InjectionToken, numberAttribute, computed, NgModule } from '@angular/core';
|
|
3
3
|
import { _CdkPrivateStyleLoader } from '@angular/cdk/private';
|
|
4
|
-
import { kbqInjectNativeElement,
|
|
4
|
+
import { KBQ_WINDOW, kbqInjectNativeElement, kbqAnimationsDisabled } from '@koobiq/components/core';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
const WAVE_ANIMATION_NAME = 'kbq-skeleton-wave';
|
|
7
|
+
const OFFSCREEN_SELECTOR = 'kbq-skeleton_offscreen';
|
|
8
|
+
const findWave = (host) => host
|
|
9
|
+
.getAnimations()
|
|
10
|
+
.find((animation) => 'animationName' in animation && animation.animationName === WAVE_ANIMATION_NAME);
|
|
10
11
|
/**
|
|
11
|
-
* Component used to load the `.kbq-skeleton`
|
|
12
|
+
* Component used to load the styles of `.kbq-skeleton` and of the presets, each of which renders a `.kbq-skeleton`.
|
|
12
13
|
*/
|
|
13
14
|
class SkeletonStyleLoader {
|
|
14
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.30", type: SkeletonStyleLoader, isStandalone: true, selector: "skeleton-style-loader", ngImport: i0, template: '', isInline: true, styles: ["@keyframes wave{0%{transform:translate(calc(var(--kbq-skeleton-wave-width) * -1))}to{transform:translate(100vw)}}.kbq-skeleton:not(.kbq-skeleton_disabled){--kbq-skeleton-min-height: var(--kbq-size-l);--kbq-skeleton-animation-duration: 1.2s;--kbq-skeleton-animation-delay: 0ms;--kbq-skeleton-border-radius: var(--kbq-size-xxs);--kbq-skeleton-wave-width: 100px;--kbq-skeleton-z-index: 1}.kbq-skeleton:not(.kbq-skeleton_disabled):is(kbq-skeleton){display:flex;min-height:var(--kbq-skeleton-min-height);border-radius:var(--kbq-skeleton-border-radius)}.kbq-skeleton:not(.kbq-skeleton_disabled){position:relative;overflow:hidden;clip-path:inset(0);-webkit-user-select:none;user-select:none;pointer-events:none;border-color:transparent;outline-color:transparent}.kbq-skeleton:not(.kbq-skeleton_disabled):before{content:\"\";position:absolute;inset:0;background-color:var(--kbq-skeleton-background);z-index:var(--kbq-skeleton-z-index)}.kbq-skeleton:not(.kbq-skeleton_disabled):after{content:\"\";position:fixed;inset-block:0;left:calc(var(--kbq-skeleton-wave-width) * -1);width:var(--kbq-skeleton-wave-width);z-index:var(--kbq-skeleton-z-index);background:linear-gradient(90deg,var(--kbq-skeleton-animation-wave-start) 0%,var(--kbq-skeleton-animation-wave-center) 50%,var(--kbq-skeleton-animation-wave-end) 100%);animation:wave var(--kbq-skeleton-animation-duration) ease-in var(--kbq-skeleton-animation-delay) infinite}@media(prefers-reduced-motion:reduce){.kbq-skeleton:not(.kbq-skeleton_disabled):after{animation:none}}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
|
15
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SkeletonStyleLoader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: SkeletonStyleLoader, isStandalone: true, selector: "skeleton-style-loader", ngImport: i0, template: '', isInline: true, styles: ["@charset \"UTF-8\";@keyframes kbq-skeleton-wave{0%{-webkit-mask-position:calc(var(--kbq-skeleton-wave-width) * -2 - var(--kbq-skeleton-offset, 0px)) 0,0 0;mask-position:calc(var(--kbq-skeleton-wave-width) * -2 - var(--kbq-skeleton-offset, 0px)) 0,0 0}to{-webkit-mask-position:calc(100vw - var(--kbq-skeleton-wave-width) - var(--kbq-skeleton-offset, 0px)) 0,0 0;mask-position:calc(100vw - var(--kbq-skeleton-wave-width) - var(--kbq-skeleton-offset, 0px)) 0,0 0}}:where(.kbq-skeleton:not(.kbq-skeleton_disabled)){border-radius:var(--kbq-skeleton-border-radius)}:where(kbq-skeleton:not(.kbq-skeleton_disabled)){display:flex;min-height:var(--kbq-skeleton-min-height)}.kbq-skeleton:not(.kbq-skeleton_disabled){color:transparent!important;background:var(--kbq-background-bg)!important;box-shadow:none!important;-webkit-box-decoration-break:clone;box-decoration-break:clone;filter:var(--kbq-skeleton-filter);-webkit-mask-image:linear-gradient(90deg,var(--kbq-skeleton-animation-wave-start),var(--kbq-skeleton-animation-wave-center),var(--kbq-skeleton-animation-wave-end)),linear-gradient(var(--kbq-skeleton-fill),var(--kbq-skeleton-fill));mask-image:linear-gradient(90deg,var(--kbq-skeleton-animation-wave-start),var(--kbq-skeleton-animation-wave-center),var(--kbq-skeleton-animation-wave-end)),linear-gradient(var(--kbq-skeleton-fill),var(--kbq-skeleton-fill));-webkit-mask-size:var(--kbq-skeleton-wave-width) 100%,100% 100%;mask-size:var(--kbq-skeleton-wave-width) 100%,100% 100%;-webkit-mask-position:calc(var(--kbq-skeleton-wave-width) * -1) 0,0 0;mask-position:calc(var(--kbq-skeleton-wave-width) * -1) 0,0 0;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;animation:kbq-skeleton-wave var(--kbq-skeleton-animation-duration) ease-in infinite;-webkit-user-select:none;user-select:none;pointer-events:none}.kbq-skeleton:not(.kbq-skeleton_disabled).kbq-skeleton_offscreen{animation:none}.kbq-skeleton:not(.kbq-skeleton_disabled).kbq-animations-disabled{animation:none;transition:none}@media(prefers-reduced-motion:reduce){.kbq-skeleton:not(.kbq-skeleton_disabled){animation:none;transition:none}}\n", ":where(.kbq-skeleton-button,.kbq-skeleton-badge,.kbq-skeleton-tag,.kbq-skeleton-icon,.kbq-skeleton-link){display:inline-flex;flex-shrink:0;vertical-align:middle}:where(.kbq-skeleton-button){width:72px;height:var(--kbq-size-3xl)}:where(.kbq-skeleton-badge,.kbq-skeleton-tag){width:var(--kbq-size-6xl);height:var(--kbq-size-xxl)}:where(.kbq-skeleton-icon){width:var(--kbq-size-xxl);height:var(--kbq-size-xxl)}:where(.kbq-skeleton-link){width:var(--kbq-size-3xl);height:var(--kbq-size-xl)}:where(.kbq-skeleton-typography){display:flex;flex-direction:column;width:100%}:where(.kbq-skeleton-typography__line){height:calc(1lh - var(--kbq-skeleton-typography-gap));margin-block:calc(var(--kbq-skeleton-typography-gap) / 2)}:where(.kbq-skeleton-typography__line:nth-child(3n+1)){width:var(--kbq-skeleton-typography-line-width-1)}:where(.kbq-skeleton-typography__line:nth-child(3n+2)){width:var(--kbq-skeleton-typography-line-width-2)}:where(.kbq-skeleton-typography__line:nth-child(3n)){width:var(--kbq-skeleton-typography-line-width-3)}:where(.kbq-skeleton-typography__line:only-child){width:var(--kbq-skeleton-typography-single-line-width)}:where(.kbq-skeleton-dl){display:grid;grid-template-columns:var(--kbq-skeleton-dl-term-width) minmax(0,1fr);grid-auto-rows:var(--kbq-skeleton-dl-row-height);align-items:center;gap:var(--kbq-skeleton-dl-row-gap) var(--kbq-skeleton-dl-column-gap);width:100%}:where(.kbq-skeleton-dl__term,.kbq-skeleton-dl__description){height:var(--kbq-skeleton-dl-line-height)}:where(.kbq-skeleton-dl__description:nth-child(6n+2)){width:var(--kbq-skeleton-dl-line-width-1)}:where(.kbq-skeleton-dl__description:nth-child(6n+4)){width:var(--kbq-skeleton-dl-line-width-2)}:where(.kbq-skeleton-dl__description:nth-child(6n)){width:var(--kbq-skeleton-dl-line-width-3)}:where(.kbq-skeleton-table){display:grid;width:100%}:where(.kbq-skeleton-table__cell){display:flex;align-items:center;min-width:0;height:var(--kbq-skeleton-table-row-height);padding-inline:var(--kbq-skeleton-table-cell-padding-horizontal)}:where(.kbq-skeleton-table__cell_header){border-bottom:var(--kbq-skeleton-table-border-width) solid var(--kbq-skeleton-table-border-color)}:where(.kbq-skeleton-table__cell_pinned-edge){border-inline-end:var(--kbq-skeleton-table-border-width) solid var(--kbq-skeleton-table-border-color)}:where(.kbq-skeleton-table__cell>.kbq-skeleton){flex:1;height:var(--kbq-skeleton-table-line-height)}:where(.kbq-skeleton-table__cell_selection>.kbq-skeleton){flex:none;width:var(--kbq-skeleton-table-selection-size);height:var(--kbq-skeleton-table-selection-size)}:where(.kbq-skeleton-group){display:flex;flex-wrap:wrap;align-items:center;gap:var(--kbq-skeleton-group-gap)}:where(.kbq-skeleton-form-field){display:flex;flex-direction:column;width:100%}:where(.kbq-skeleton-form-field_horizontal){flex-direction:row;align-items:flex-start}:where(.kbq-skeleton-form-field__label){box-sizing:border-box;display:flex;margin-bottom:var(--kbq-skeleton-form-field-gap)}:where(.kbq-skeleton-form-field_horizontal>.kbq-skeleton-form-field__label){margin-bottom:0;padding:var(--kbq-size-xs) var(--kbq-size-l) 0 0}:where(.kbq-skeleton-form-field__label>.kbq-skeleton){width:var(--kbq-skeleton-form-field-label-width);height:var(--kbq-skeleton-form-field-line-height);margin-block:calc((var(--kbq-skeleton-form-field-label-height) - var(--kbq-skeleton-form-field-line-height)) / 2)}:where(.kbq-skeleton-form-field__content){display:flex;flex-direction:column;flex:1;min-width:0}:where(.kbq-skeleton-form-field__control){height:var(--kbq-skeleton-form-field-control-height)}:where(.kbq-skeleton-form-field_textarea .kbq-skeleton-form-field__control){height:var(--kbq-skeleton-form-field-textarea-height)}:where(.kbq-skeleton-form-field__hint){width:var(--kbq-skeleton-form-field-hint-width);height:var(--kbq-skeleton-form-field-hint-height);margin-top:var(--kbq-skeleton-form-field-gap)}:where(.kbq-skeleton-accordion){display:flex;flex-direction:column;width:100%}:where(.kbq-skeleton-accordion__item){display:flex;align-items:center;box-sizing:border-box;height:calc(var(--kbq-skeleton-accordion-header-height) + var(--kbq-skeleton-accordion-border-width) * 2);border:var(--kbq-skeleton-accordion-border-width) solid transparent;padding:var(--kbq-skeleton-accordion-padding)}:where(.kbq-skeleton-accordion__icon){flex:none;align-self:flex-start;width:var(--kbq-skeleton-accordion-icon-size);height:var(--kbq-skeleton-accordion-icon-size);margin:var(--kbq-skeleton-accordion-icon-padding)}:where(.kbq-skeleton-accordion__title){flex:1;height:var(--kbq-skeleton-accordion-line-height)}:where(.kbq-skeleton-checkable){display:flex;flex-direction:column;gap:var(--kbq-skeleton-checkable-gap)}:where(.kbq-skeleton-checkable__row){display:flex;align-items:flex-start;gap:var(--kbq-skeleton-checkable-control-gap)}:where(.kbq-skeleton-checkable__control){flex:none;width:var(--kbq-skeleton-checkable-control-width);height:var(--kbq-skeleton-checkable-control-height);margin-top:calc((var(--kbq-skeleton-checkable-label-line-height) - var(--kbq-skeleton-checkable-control-height)) / 2)}:where(.kbq-skeleton-checkable__text){display:flex;flex-direction:column}:where(.kbq-skeleton-checkable__label){height:var(--kbq-skeleton-checkable-line-height);margin-block:calc((var(--kbq-skeleton-checkable-label-line-height) - var(--kbq-skeleton-checkable-line-height)) / 2)}:where(.kbq-skeleton-checkable__row:nth-child(3n+1) .kbq-skeleton-checkable__label){width:var(--kbq-skeleton-checkable-label-width-1)}:where(.kbq-skeleton-checkable__row:nth-child(3n+2) .kbq-skeleton-checkable__label){width:var(--kbq-skeleton-checkable-label-width-2)}:where(.kbq-skeleton-checkable__row:nth-child(3n) .kbq-skeleton-checkable__label){width:var(--kbq-skeleton-checkable-label-width-3)}:where(.kbq-skeleton-checkable__hint){width:var(--kbq-skeleton-checkable-hint-width);height:var(--kbq-skeleton-checkable-hint-height);margin-top:var(--kbq-skeleton-checkable-hint-gap)}:where(.kbq-skeleton-tabs){display:flex;flex-direction:column;gap:var(--kbq-skeleton-tabs-content-gap);width:100%}:where(.kbq-skeleton-tabs_vertical){flex-direction:row}:where(.kbq-skeleton-tabs__header){display:flex;gap:var(--kbq-skeleton-tabs-gap)}:where(.kbq-skeleton-tabs_vertical>.kbq-skeleton-tabs__header){flex-direction:column;flex:none;width:var(--kbq-skeleton-tabs-vertical-width)}:where(.kbq-skeleton-tabs__tab){display:flex;align-items:center;height:var(--kbq-skeleton-tabs-tab-height)}:where(.kbq-skeleton-tabs__tab>.kbq-skeleton){width:var(--kbq-skeleton-tabs-tab-width);height:var(--kbq-skeleton-tabs-line-height)}:where(.kbq-skeleton-tabs__tab_selected>.kbq-skeleton){height:var(--kbq-skeleton-tabs-tab-height)}:where(.kbq-skeleton-tabs_vertical .kbq-skeleton-tabs__tab>.kbq-skeleton){width:100%}:where(.kbq-skeleton-tabs_vertical .kbq-skeleton-tabs__tab:not(.kbq-skeleton-tabs__tab_selected)){padding-inline:var(--kbq-skeleton-tabs-tab-padding)}:where(.kbq-skeleton-tabs__content){min-width:0}:where(.kbq-skeleton-tabs_vertical>.kbq-skeleton-tabs__content){flex:1}:where(.kbq-skeleton-tree){display:flex;flex-direction:column;width:100%}:where(.kbq-skeleton-tree__node){display:flex;align-items:center;gap:var(--kbq-skeleton-tree-gap);height:var(--kbq-skeleton-tree-node-height);padding-inline-start:var(--kbq-skeleton-tree-padding)}:where(.kbq-skeleton-tree__node_nested){padding-inline-start:calc(var(--kbq-skeleton-tree-padding) + var(--kbq-skeleton-tree-indent))}:where(.kbq-skeleton-tree__toggle){flex:none;width:var(--kbq-skeleton-tree-toggle-size);height:var(--kbq-skeleton-tree-toggle-size)}:where(.kbq-skeleton-tree__label){height:var(--kbq-skeleton-tree-line-height)}:where(.kbq-skeleton-tree__node_1>.kbq-skeleton-tree__label){width:var(--kbq-skeleton-tree-label-width-1)}:where(.kbq-skeleton-tree__node_2>.kbq-skeleton-tree__label){width:var(--kbq-skeleton-tree-label-width-2)}:where(.kbq-skeleton-tree__node_3>.kbq-skeleton-tree__label){width:var(--kbq-skeleton-tree-label-width-3)}\n", ":where(.kbq-skeleton){--kbq-skeleton-min-height: var(--kbq-size-l);--kbq-skeleton-border-radius: var(--kbq-size-xxs);--kbq-skeleton-animation-duration: 1.2s;--kbq-skeleton-wave-width: 100px}:where(.kbq-skeleton-typography){--kbq-skeleton-typography-gap: var(--kbq-size-xxs);--kbq-skeleton-typography-line-width-1: 80%;--kbq-skeleton-typography-line-width-2: 100%;--kbq-skeleton-typography-line-width-3: 60%;--kbq-skeleton-typography-single-line-width: 50%}:where(.kbq-skeleton-dl){--kbq-skeleton-dl-term-width: 120px;--kbq-skeleton-dl-line-height: var(--kbq-size-l);--kbq-skeleton-dl-row-height: var(--kbq-size-xl);--kbq-skeleton-dl-column-gap: var(--kbq-size-l);--kbq-skeleton-dl-row-gap: var(--kbq-size-l);--kbq-skeleton-dl-line-width-1: 80%;--kbq-skeleton-dl-line-width-2: 100%;--kbq-skeleton-dl-line-width-3: 60%}:where(.kbq-skeleton-table){--kbq-skeleton-table-row-height: var(--kbq-size-4xl);--kbq-skeleton-table-line-height: var(--kbq-size-l);--kbq-skeleton-table-cell-padding-horizontal: var(--kbq-size-s);--kbq-skeleton-table-border-width: var(--kbq-size-border-width);--kbq-skeleton-table-border-color: var(--kbq-line-contrast-less);--kbq-skeleton-table-selection-width: var(--kbq-size-4xl);--kbq-skeleton-table-selection-size: var(--kbq-size-l)}:where(.kbq-skeleton-group){--kbq-skeleton-group-gap: var(--kbq-size-xxs)}:where(.kbq-skeleton-group_button){--kbq-skeleton-group-gap: var(--kbq-size-s)}:where(.kbq-skeleton-form-field){--kbq-skeleton-form-field-label-width: 120px;--kbq-skeleton-form-field-label-height: var(--kbq-size-xl);--kbq-skeleton-form-field-line-height: var(--kbq-size-l);--kbq-skeleton-form-field-control-height: var(--kbq-size-3xl);--kbq-skeleton-form-field-textarea-height: 72px;--kbq-skeleton-form-field-hint-width: 60%;--kbq-skeleton-form-field-hint-height: var(--kbq-size-l);--kbq-skeleton-form-field-gap: var(--kbq-size-xs)}:where(.kbq-skeleton-accordion){--kbq-skeleton-accordion-header-height: 36px;--kbq-skeleton-accordion-border-width: 2px;--kbq-skeleton-accordion-padding: var(--kbq-size-xs) var(--kbq-size-s);--kbq-skeleton-accordion-icon-size: var(--kbq-size-l);--kbq-skeleton-accordion-icon-padding: var(--kbq-size-xxs);--kbq-skeleton-accordion-line-height: var(--kbq-size-l)}:where(.kbq-skeleton-checkable){--kbq-skeleton-checkable-gap: var(--kbq-size-s);--kbq-skeleton-checkable-control-gap: var(--kbq-size-s);--kbq-skeleton-checkable-control-width: var(--kbq-size-l);--kbq-skeleton-checkable-control-height: var(--kbq-size-l);--kbq-skeleton-checkable-label-line-height: var(--kbq-size-xl);--kbq-skeleton-checkable-line-height: var(--kbq-size-l);--kbq-skeleton-checkable-label-width-1: 120px;--kbq-skeleton-checkable-label-width-2: 140px;--kbq-skeleton-checkable-label-width-3: 80px;--kbq-skeleton-checkable-hint-width: 60%;--kbq-skeleton-checkable-hint-height: var(--kbq-size-l);--kbq-skeleton-checkable-hint-gap: var(--kbq-size-3xs)}:where(.kbq-skeleton-checkable_toggle){--kbq-skeleton-checkable-control-width: 28px}:where(.kbq-skeleton-tabs){--kbq-skeleton-tabs-tab-height: var(--kbq-size-3xl);--kbq-skeleton-tabs-tab-width: var(--kbq-size-6xl);--kbq-skeleton-tabs-tab-padding: var(--kbq-size-m);--kbq-skeleton-tabs-line-height: var(--kbq-size-l);--kbq-skeleton-tabs-gap: var(--kbq-size-s);--kbq-skeleton-tabs-content-gap: var(--kbq-size-s);--kbq-skeleton-tabs-vertical-width: 160px}:where(.kbq-skeleton-tree){--kbq-skeleton-tree-node-height: var(--kbq-size-3xl);--kbq-skeleton-tree-padding: var(--kbq-size-m);--kbq-skeleton-tree-indent: 14px;--kbq-skeleton-tree-gap: var(--kbq-size-s);--kbq-skeleton-tree-toggle-size: var(--kbq-size-l);--kbq-skeleton-tree-line-height: var(--kbq-size-l);--kbq-skeleton-tree-label-width-1: 120px;--kbq-skeleton-tree-label-width-2: 100px;--kbq-skeleton-tree-label-width-3: 80px}:where(:root,.kbq-light){--kbq-skeleton-filter: contrast(0) brightness(0);--kbq-skeleton-fill: var(--kbq-semantic-contrast-a1)}:where(.kbq-dark){--kbq-skeleton-filter: contrast(0) brightness(0) invert(1);--kbq-skeleton-fill: var(--kbq-semantic-dark-contrast-a2)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
16
17
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SkeletonStyleLoader, decorators: [{
|
|
18
19
|
type: Component,
|
|
19
|
-
args: [{ selector: 'skeleton-style-loader', template: '', encapsulation: ViewEncapsulation.None, styles: ["@keyframes wave{0%{transform:translate(calc(var(--kbq-skeleton-wave-width) * -1))}to{transform:translate(100vw)}}.kbq-skeleton:not(.kbq-skeleton_disabled){--kbq-skeleton-min-height: var(--kbq-size-l);--kbq-skeleton-animation-duration: 1.2s;--kbq-skeleton-animation-delay: 0ms;--kbq-skeleton-border-radius: var(--kbq-size-xxs);--kbq-skeleton-wave-width: 100px;--kbq-skeleton-z-index: 1}.kbq-skeleton:not(.kbq-skeleton_disabled):is(kbq-skeleton){display:flex;min-height:var(--kbq-skeleton-min-height);border-radius:var(--kbq-skeleton-border-radius)}.kbq-skeleton:not(.kbq-skeleton_disabled){position:relative;overflow:hidden;clip-path:inset(0);-webkit-user-select:none;user-select:none;pointer-events:none;border-color:transparent;outline-color:transparent}.kbq-skeleton:not(.kbq-skeleton_disabled):before{content:\"\";position:absolute;inset:0;background-color:var(--kbq-skeleton-background);z-index:var(--kbq-skeleton-z-index)}.kbq-skeleton:not(.kbq-skeleton_disabled):after{content:\"\";position:fixed;inset-block:0;left:calc(var(--kbq-skeleton-wave-width) * -1);width:var(--kbq-skeleton-wave-width);z-index:var(--kbq-skeleton-z-index);background:linear-gradient(90deg,var(--kbq-skeleton-animation-wave-start) 0%,var(--kbq-skeleton-animation-wave-center) 50%,var(--kbq-skeleton-animation-wave-end) 100%);animation:wave var(--kbq-skeleton-animation-duration) ease-in var(--kbq-skeleton-animation-delay) infinite}@media(prefers-reduced-motion:reduce){.kbq-skeleton:not(.kbq-skeleton_disabled):after{animation:none}}\n"] }]
|
|
20
|
+
args: [{ selector: 'skeleton-style-loader', template: '', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: ["@charset \"UTF-8\";@keyframes kbq-skeleton-wave{0%{-webkit-mask-position:calc(var(--kbq-skeleton-wave-width) * -2 - var(--kbq-skeleton-offset, 0px)) 0,0 0;mask-position:calc(var(--kbq-skeleton-wave-width) * -2 - var(--kbq-skeleton-offset, 0px)) 0,0 0}to{-webkit-mask-position:calc(100vw - var(--kbq-skeleton-wave-width) - var(--kbq-skeleton-offset, 0px)) 0,0 0;mask-position:calc(100vw - var(--kbq-skeleton-wave-width) - var(--kbq-skeleton-offset, 0px)) 0,0 0}}:where(.kbq-skeleton:not(.kbq-skeleton_disabled)){border-radius:var(--kbq-skeleton-border-radius)}:where(kbq-skeleton:not(.kbq-skeleton_disabled)){display:flex;min-height:var(--kbq-skeleton-min-height)}.kbq-skeleton:not(.kbq-skeleton_disabled){color:transparent!important;background:var(--kbq-background-bg)!important;box-shadow:none!important;-webkit-box-decoration-break:clone;box-decoration-break:clone;filter:var(--kbq-skeleton-filter);-webkit-mask-image:linear-gradient(90deg,var(--kbq-skeleton-animation-wave-start),var(--kbq-skeleton-animation-wave-center),var(--kbq-skeleton-animation-wave-end)),linear-gradient(var(--kbq-skeleton-fill),var(--kbq-skeleton-fill));mask-image:linear-gradient(90deg,var(--kbq-skeleton-animation-wave-start),var(--kbq-skeleton-animation-wave-center),var(--kbq-skeleton-animation-wave-end)),linear-gradient(var(--kbq-skeleton-fill),var(--kbq-skeleton-fill));-webkit-mask-size:var(--kbq-skeleton-wave-width) 100%,100% 100%;mask-size:var(--kbq-skeleton-wave-width) 100%,100% 100%;-webkit-mask-position:calc(var(--kbq-skeleton-wave-width) * -1) 0,0 0;mask-position:calc(var(--kbq-skeleton-wave-width) * -1) 0,0 0;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;animation:kbq-skeleton-wave var(--kbq-skeleton-animation-duration) ease-in infinite;-webkit-user-select:none;user-select:none;pointer-events:none}.kbq-skeleton:not(.kbq-skeleton_disabled).kbq-skeleton_offscreen{animation:none}.kbq-skeleton:not(.kbq-skeleton_disabled).kbq-animations-disabled{animation:none;transition:none}@media(prefers-reduced-motion:reduce){.kbq-skeleton:not(.kbq-skeleton_disabled){animation:none;transition:none}}\n", ":where(.kbq-skeleton-button,.kbq-skeleton-badge,.kbq-skeleton-tag,.kbq-skeleton-icon,.kbq-skeleton-link){display:inline-flex;flex-shrink:0;vertical-align:middle}:where(.kbq-skeleton-button){width:72px;height:var(--kbq-size-3xl)}:where(.kbq-skeleton-badge,.kbq-skeleton-tag){width:var(--kbq-size-6xl);height:var(--kbq-size-xxl)}:where(.kbq-skeleton-icon){width:var(--kbq-size-xxl);height:var(--kbq-size-xxl)}:where(.kbq-skeleton-link){width:var(--kbq-size-3xl);height:var(--kbq-size-xl)}:where(.kbq-skeleton-typography){display:flex;flex-direction:column;width:100%}:where(.kbq-skeleton-typography__line){height:calc(1lh - var(--kbq-skeleton-typography-gap));margin-block:calc(var(--kbq-skeleton-typography-gap) / 2)}:where(.kbq-skeleton-typography__line:nth-child(3n+1)){width:var(--kbq-skeleton-typography-line-width-1)}:where(.kbq-skeleton-typography__line:nth-child(3n+2)){width:var(--kbq-skeleton-typography-line-width-2)}:where(.kbq-skeleton-typography__line:nth-child(3n)){width:var(--kbq-skeleton-typography-line-width-3)}:where(.kbq-skeleton-typography__line:only-child){width:var(--kbq-skeleton-typography-single-line-width)}:where(.kbq-skeleton-dl){display:grid;grid-template-columns:var(--kbq-skeleton-dl-term-width) minmax(0,1fr);grid-auto-rows:var(--kbq-skeleton-dl-row-height);align-items:center;gap:var(--kbq-skeleton-dl-row-gap) var(--kbq-skeleton-dl-column-gap);width:100%}:where(.kbq-skeleton-dl__term,.kbq-skeleton-dl__description){height:var(--kbq-skeleton-dl-line-height)}:where(.kbq-skeleton-dl__description:nth-child(6n+2)){width:var(--kbq-skeleton-dl-line-width-1)}:where(.kbq-skeleton-dl__description:nth-child(6n+4)){width:var(--kbq-skeleton-dl-line-width-2)}:where(.kbq-skeleton-dl__description:nth-child(6n)){width:var(--kbq-skeleton-dl-line-width-3)}:where(.kbq-skeleton-table){display:grid;width:100%}:where(.kbq-skeleton-table__cell){display:flex;align-items:center;min-width:0;height:var(--kbq-skeleton-table-row-height);padding-inline:var(--kbq-skeleton-table-cell-padding-horizontal)}:where(.kbq-skeleton-table__cell_header){border-bottom:var(--kbq-skeleton-table-border-width) solid var(--kbq-skeleton-table-border-color)}:where(.kbq-skeleton-table__cell_pinned-edge){border-inline-end:var(--kbq-skeleton-table-border-width) solid var(--kbq-skeleton-table-border-color)}:where(.kbq-skeleton-table__cell>.kbq-skeleton){flex:1;height:var(--kbq-skeleton-table-line-height)}:where(.kbq-skeleton-table__cell_selection>.kbq-skeleton){flex:none;width:var(--kbq-skeleton-table-selection-size);height:var(--kbq-skeleton-table-selection-size)}:where(.kbq-skeleton-group){display:flex;flex-wrap:wrap;align-items:center;gap:var(--kbq-skeleton-group-gap)}:where(.kbq-skeleton-form-field){display:flex;flex-direction:column;width:100%}:where(.kbq-skeleton-form-field_horizontal){flex-direction:row;align-items:flex-start}:where(.kbq-skeleton-form-field__label){box-sizing:border-box;display:flex;margin-bottom:var(--kbq-skeleton-form-field-gap)}:where(.kbq-skeleton-form-field_horizontal>.kbq-skeleton-form-field__label){margin-bottom:0;padding:var(--kbq-size-xs) var(--kbq-size-l) 0 0}:where(.kbq-skeleton-form-field__label>.kbq-skeleton){width:var(--kbq-skeleton-form-field-label-width);height:var(--kbq-skeleton-form-field-line-height);margin-block:calc((var(--kbq-skeleton-form-field-label-height) - var(--kbq-skeleton-form-field-line-height)) / 2)}:where(.kbq-skeleton-form-field__content){display:flex;flex-direction:column;flex:1;min-width:0}:where(.kbq-skeleton-form-field__control){height:var(--kbq-skeleton-form-field-control-height)}:where(.kbq-skeleton-form-field_textarea .kbq-skeleton-form-field__control){height:var(--kbq-skeleton-form-field-textarea-height)}:where(.kbq-skeleton-form-field__hint){width:var(--kbq-skeleton-form-field-hint-width);height:var(--kbq-skeleton-form-field-hint-height);margin-top:var(--kbq-skeleton-form-field-gap)}:where(.kbq-skeleton-accordion){display:flex;flex-direction:column;width:100%}:where(.kbq-skeleton-accordion__item){display:flex;align-items:center;box-sizing:border-box;height:calc(var(--kbq-skeleton-accordion-header-height) + var(--kbq-skeleton-accordion-border-width) * 2);border:var(--kbq-skeleton-accordion-border-width) solid transparent;padding:var(--kbq-skeleton-accordion-padding)}:where(.kbq-skeleton-accordion__icon){flex:none;align-self:flex-start;width:var(--kbq-skeleton-accordion-icon-size);height:var(--kbq-skeleton-accordion-icon-size);margin:var(--kbq-skeleton-accordion-icon-padding)}:where(.kbq-skeleton-accordion__title){flex:1;height:var(--kbq-skeleton-accordion-line-height)}:where(.kbq-skeleton-checkable){display:flex;flex-direction:column;gap:var(--kbq-skeleton-checkable-gap)}:where(.kbq-skeleton-checkable__row){display:flex;align-items:flex-start;gap:var(--kbq-skeleton-checkable-control-gap)}:where(.kbq-skeleton-checkable__control){flex:none;width:var(--kbq-skeleton-checkable-control-width);height:var(--kbq-skeleton-checkable-control-height);margin-top:calc((var(--kbq-skeleton-checkable-label-line-height) - var(--kbq-skeleton-checkable-control-height)) / 2)}:where(.kbq-skeleton-checkable__text){display:flex;flex-direction:column}:where(.kbq-skeleton-checkable__label){height:var(--kbq-skeleton-checkable-line-height);margin-block:calc((var(--kbq-skeleton-checkable-label-line-height) - var(--kbq-skeleton-checkable-line-height)) / 2)}:where(.kbq-skeleton-checkable__row:nth-child(3n+1) .kbq-skeleton-checkable__label){width:var(--kbq-skeleton-checkable-label-width-1)}:where(.kbq-skeleton-checkable__row:nth-child(3n+2) .kbq-skeleton-checkable__label){width:var(--kbq-skeleton-checkable-label-width-2)}:where(.kbq-skeleton-checkable__row:nth-child(3n) .kbq-skeleton-checkable__label){width:var(--kbq-skeleton-checkable-label-width-3)}:where(.kbq-skeleton-checkable__hint){width:var(--kbq-skeleton-checkable-hint-width);height:var(--kbq-skeleton-checkable-hint-height);margin-top:var(--kbq-skeleton-checkable-hint-gap)}:where(.kbq-skeleton-tabs){display:flex;flex-direction:column;gap:var(--kbq-skeleton-tabs-content-gap);width:100%}:where(.kbq-skeleton-tabs_vertical){flex-direction:row}:where(.kbq-skeleton-tabs__header){display:flex;gap:var(--kbq-skeleton-tabs-gap)}:where(.kbq-skeleton-tabs_vertical>.kbq-skeleton-tabs__header){flex-direction:column;flex:none;width:var(--kbq-skeleton-tabs-vertical-width)}:where(.kbq-skeleton-tabs__tab){display:flex;align-items:center;height:var(--kbq-skeleton-tabs-tab-height)}:where(.kbq-skeleton-tabs__tab>.kbq-skeleton){width:var(--kbq-skeleton-tabs-tab-width);height:var(--kbq-skeleton-tabs-line-height)}:where(.kbq-skeleton-tabs__tab_selected>.kbq-skeleton){height:var(--kbq-skeleton-tabs-tab-height)}:where(.kbq-skeleton-tabs_vertical .kbq-skeleton-tabs__tab>.kbq-skeleton){width:100%}:where(.kbq-skeleton-tabs_vertical .kbq-skeleton-tabs__tab:not(.kbq-skeleton-tabs__tab_selected)){padding-inline:var(--kbq-skeleton-tabs-tab-padding)}:where(.kbq-skeleton-tabs__content){min-width:0}:where(.kbq-skeleton-tabs_vertical>.kbq-skeleton-tabs__content){flex:1}:where(.kbq-skeleton-tree){display:flex;flex-direction:column;width:100%}:where(.kbq-skeleton-tree__node){display:flex;align-items:center;gap:var(--kbq-skeleton-tree-gap);height:var(--kbq-skeleton-tree-node-height);padding-inline-start:var(--kbq-skeleton-tree-padding)}:where(.kbq-skeleton-tree__node_nested){padding-inline-start:calc(var(--kbq-skeleton-tree-padding) + var(--kbq-skeleton-tree-indent))}:where(.kbq-skeleton-tree__toggle){flex:none;width:var(--kbq-skeleton-tree-toggle-size);height:var(--kbq-skeleton-tree-toggle-size)}:where(.kbq-skeleton-tree__label){height:var(--kbq-skeleton-tree-line-height)}:where(.kbq-skeleton-tree__node_1>.kbq-skeleton-tree__label){width:var(--kbq-skeleton-tree-label-width-1)}:where(.kbq-skeleton-tree__node_2>.kbq-skeleton-tree__label){width:var(--kbq-skeleton-tree-label-width-2)}:where(.kbq-skeleton-tree__node_3>.kbq-skeleton-tree__label){width:var(--kbq-skeleton-tree-label-width-3)}\n", ":where(.kbq-skeleton){--kbq-skeleton-min-height: var(--kbq-size-l);--kbq-skeleton-border-radius: var(--kbq-size-xxs);--kbq-skeleton-animation-duration: 1.2s;--kbq-skeleton-wave-width: 100px}:where(.kbq-skeleton-typography){--kbq-skeleton-typography-gap: var(--kbq-size-xxs);--kbq-skeleton-typography-line-width-1: 80%;--kbq-skeleton-typography-line-width-2: 100%;--kbq-skeleton-typography-line-width-3: 60%;--kbq-skeleton-typography-single-line-width: 50%}:where(.kbq-skeleton-dl){--kbq-skeleton-dl-term-width: 120px;--kbq-skeleton-dl-line-height: var(--kbq-size-l);--kbq-skeleton-dl-row-height: var(--kbq-size-xl);--kbq-skeleton-dl-column-gap: var(--kbq-size-l);--kbq-skeleton-dl-row-gap: var(--kbq-size-l);--kbq-skeleton-dl-line-width-1: 80%;--kbq-skeleton-dl-line-width-2: 100%;--kbq-skeleton-dl-line-width-3: 60%}:where(.kbq-skeleton-table){--kbq-skeleton-table-row-height: var(--kbq-size-4xl);--kbq-skeleton-table-line-height: var(--kbq-size-l);--kbq-skeleton-table-cell-padding-horizontal: var(--kbq-size-s);--kbq-skeleton-table-border-width: var(--kbq-size-border-width);--kbq-skeleton-table-border-color: var(--kbq-line-contrast-less);--kbq-skeleton-table-selection-width: var(--kbq-size-4xl);--kbq-skeleton-table-selection-size: var(--kbq-size-l)}:where(.kbq-skeleton-group){--kbq-skeleton-group-gap: var(--kbq-size-xxs)}:where(.kbq-skeleton-group_button){--kbq-skeleton-group-gap: var(--kbq-size-s)}:where(.kbq-skeleton-form-field){--kbq-skeleton-form-field-label-width: 120px;--kbq-skeleton-form-field-label-height: var(--kbq-size-xl);--kbq-skeleton-form-field-line-height: var(--kbq-size-l);--kbq-skeleton-form-field-control-height: var(--kbq-size-3xl);--kbq-skeleton-form-field-textarea-height: 72px;--kbq-skeleton-form-field-hint-width: 60%;--kbq-skeleton-form-field-hint-height: var(--kbq-size-l);--kbq-skeleton-form-field-gap: var(--kbq-size-xs)}:where(.kbq-skeleton-accordion){--kbq-skeleton-accordion-header-height: 36px;--kbq-skeleton-accordion-border-width: 2px;--kbq-skeleton-accordion-padding: var(--kbq-size-xs) var(--kbq-size-s);--kbq-skeleton-accordion-icon-size: var(--kbq-size-l);--kbq-skeleton-accordion-icon-padding: var(--kbq-size-xxs);--kbq-skeleton-accordion-line-height: var(--kbq-size-l)}:where(.kbq-skeleton-checkable){--kbq-skeleton-checkable-gap: var(--kbq-size-s);--kbq-skeleton-checkable-control-gap: var(--kbq-size-s);--kbq-skeleton-checkable-control-width: var(--kbq-size-l);--kbq-skeleton-checkable-control-height: var(--kbq-size-l);--kbq-skeleton-checkable-label-line-height: var(--kbq-size-xl);--kbq-skeleton-checkable-line-height: var(--kbq-size-l);--kbq-skeleton-checkable-label-width-1: 120px;--kbq-skeleton-checkable-label-width-2: 140px;--kbq-skeleton-checkable-label-width-3: 80px;--kbq-skeleton-checkable-hint-width: 60%;--kbq-skeleton-checkable-hint-height: var(--kbq-size-l);--kbq-skeleton-checkable-hint-gap: var(--kbq-size-3xs)}:where(.kbq-skeleton-checkable_toggle){--kbq-skeleton-checkable-control-width: 28px}:where(.kbq-skeleton-tabs){--kbq-skeleton-tabs-tab-height: var(--kbq-size-3xl);--kbq-skeleton-tabs-tab-width: var(--kbq-size-6xl);--kbq-skeleton-tabs-tab-padding: var(--kbq-size-m);--kbq-skeleton-tabs-line-height: var(--kbq-size-l);--kbq-skeleton-tabs-gap: var(--kbq-size-s);--kbq-skeleton-tabs-content-gap: var(--kbq-size-s);--kbq-skeleton-tabs-vertical-width: 160px}:where(.kbq-skeleton-tree){--kbq-skeleton-tree-node-height: var(--kbq-size-3xl);--kbq-skeleton-tree-padding: var(--kbq-size-m);--kbq-skeleton-tree-indent: 14px;--kbq-skeleton-tree-gap: var(--kbq-size-s);--kbq-skeleton-tree-toggle-size: var(--kbq-size-l);--kbq-skeleton-tree-line-height: var(--kbq-size-l);--kbq-skeleton-tree-label-width-1: 120px;--kbq-skeleton-tree-label-width-2: 100px;--kbq-skeleton-tree-label-width-3: 80px}:where(:root,.kbq-light){--kbq-skeleton-filter: contrast(0) brightness(0);--kbq-skeleton-fill: var(--kbq-semantic-contrast-a1)}:where(.kbq-dark){--kbq-skeleton-filter: contrast(0) brightness(0) invert(1);--kbq-skeleton-fill: var(--kbq-semantic-dark-contrast-a2)}\n"] }]
|
|
21
|
+
}] });
|
|
22
|
+
/**
|
|
23
|
+
* The single wave shared by every skeleton on the page. Hosts outside the viewport stop animating, the ones that
|
|
24
|
+
* animate are pinned to one start time, and their offsets are measured in one batch per frame.
|
|
25
|
+
*
|
|
26
|
+
* Everything here runs outside Angular: none of it changes a binding, and a wave pass must not start change
|
|
27
|
+
* detection once per skeleton.
|
|
28
|
+
*/
|
|
29
|
+
class SkeletonWave {
|
|
30
|
+
constructor() {
|
|
31
|
+
// Widened because TypeScript declares the observer constructors on `globalThis` rather than on `Window`.
|
|
32
|
+
this.window = inject(KBQ_WINDOW);
|
|
33
|
+
this.ngZone = inject(NgZone);
|
|
34
|
+
this.observer = this.createObserver();
|
|
35
|
+
this.hosts = new Set();
|
|
36
|
+
/** Hosts waiting to be measured, with whether their wave has just started and needs to be pinned. */
|
|
37
|
+
this.pending = new Map();
|
|
38
|
+
this.frame = null;
|
|
39
|
+
this.startTime = null;
|
|
40
|
+
}
|
|
41
|
+
/** Adds a host to the wave and returns the function that removes it. */
|
|
42
|
+
add(host) {
|
|
43
|
+
const onAnimationEvent = ({ target, type, animationName }) => {
|
|
44
|
+
if (target === host && animationName === WAVE_ANIMATION_NAME)
|
|
45
|
+
this.schedule(host, type === 'animationstart');
|
|
46
|
+
};
|
|
47
|
+
this.hosts.add(host);
|
|
48
|
+
this.ngZone.runOutsideAngular(() => {
|
|
49
|
+
host.addEventListener('animationstart', onAnimationEvent);
|
|
50
|
+
host.addEventListener('animationiteration', onAnimationEvent);
|
|
51
|
+
});
|
|
52
|
+
this.observer?.observe(host);
|
|
53
|
+
return () => {
|
|
54
|
+
this.hosts.delete(host);
|
|
55
|
+
host.removeEventListener('animationstart', onAnimationEvent);
|
|
56
|
+
host.removeEventListener('animationiteration', onAnimationEvent);
|
|
57
|
+
this.observer?.unobserve(host);
|
|
58
|
+
host.classList.remove(OFFSCREEN_SELECTOR);
|
|
59
|
+
host.style.removeProperty('--kbq-skeleton-offset');
|
|
60
|
+
this.pending.delete(host);
|
|
61
|
+
if (!this.hosts.size) {
|
|
62
|
+
this.startTime = null;
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
createObserver() {
|
|
67
|
+
const view = this.window;
|
|
68
|
+
// Missing on the server and in jsdom: the wave then simply runs on every host.
|
|
69
|
+
if (typeof view.IntersectionObserver !== 'function')
|
|
70
|
+
return null;
|
|
71
|
+
// The margin starts the wave just before a host scrolls in.
|
|
72
|
+
return this.ngZone.runOutsideAngular(() => new view.IntersectionObserver((entries) => {
|
|
73
|
+
for (const { target, isIntersecting } of entries) {
|
|
74
|
+
// Entries queued before `unobserve` are still delivered, for hosts that have left.
|
|
75
|
+
if (this.hosts.has(target)) {
|
|
76
|
+
target.classList.toggle(OFFSCREEN_SELECTOR, !isIntersecting);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}, { rootMargin: '100px' }));
|
|
80
|
+
}
|
|
81
|
+
schedule(host, sync) {
|
|
82
|
+
this.pending.set(host, sync || !!this.pending.get(host));
|
|
83
|
+
this.frame ??= this.window.requestAnimationFrame(() => this.flush());
|
|
84
|
+
}
|
|
85
|
+
// Every host is read before any is written: a whole row of skeletons then costs one style and layout flush
|
|
86
|
+
// instead of one per host.
|
|
87
|
+
flush() {
|
|
88
|
+
const hosts = [...this.pending].map(([host, sync]) => ({
|
|
89
|
+
host,
|
|
90
|
+
offset: `${host.getBoundingClientRect().left}px`,
|
|
91
|
+
wave: sync ? findWave(host) : undefined
|
|
92
|
+
}));
|
|
93
|
+
this.pending.clear();
|
|
94
|
+
this.frame = null;
|
|
95
|
+
for (const { host, offset, wave } of hosts) {
|
|
96
|
+
if (wave) {
|
|
97
|
+
this.startTime ??= wave.startTime;
|
|
98
|
+
// Still unresolved on a wave that has not started yet: setting it would pause the wave.
|
|
99
|
+
if (this.startTime !== null) {
|
|
100
|
+
wave.startTime = this.startTime;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
// Writing an unchanged offset back would invalidate the host's style for nothing.
|
|
104
|
+
if (host.style.getPropertyValue('--kbq-skeleton-offset') !== offset) {
|
|
105
|
+
host.style.setProperty('--kbq-skeleton-offset', offset);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SkeletonWave, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
110
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SkeletonWave, providedIn: 'root' }); }
|
|
111
|
+
}
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SkeletonWave, decorators: [{
|
|
113
|
+
type: Injectable,
|
|
114
|
+
args: [{ providedIn: 'root' }]
|
|
20
115
|
}] });
|
|
21
116
|
/**
|
|
22
117
|
* Directive representing a skeleton placeholder.
|
|
118
|
+
*
|
|
119
|
+
* Paints the host, children included, as one flat shape of the host's own outline with a wave running across it,
|
|
120
|
+
* and makes the host inert: it leaves the tab order and the accessibility tree until the skeleton is disabled.
|
|
23
121
|
*/
|
|
24
122
|
class KbqSkeleton {
|
|
25
123
|
constructor() {
|
|
26
124
|
this.styleLoader = inject(_CdkPrivateStyleLoader);
|
|
27
125
|
this.element = kbqInjectNativeElement();
|
|
28
|
-
this.
|
|
126
|
+
this.wave = inject(SkeletonWave);
|
|
29
127
|
/** Whether the skeleton is enabled. */
|
|
30
|
-
this.enabled = input(true, ...(ngDevMode ?
|
|
31
|
-
|
|
128
|
+
this.enabled = input(true, { ...(ngDevMode ? { debugName: "enabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute, alias: 'kbqSkeleton' });
|
|
129
|
+
/**
|
|
130
|
+
* Whether the fill stands still, without the wave.
|
|
131
|
+
*
|
|
132
|
+
* @docs-private
|
|
133
|
+
*/
|
|
134
|
+
this.animationsDisabled = kbqAnimationsDisabled();
|
|
32
135
|
this.styleLoader.load(SkeletonStyleLoader);
|
|
33
|
-
afterRenderEffect(() => {
|
|
34
|
-
if (
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
animationStartTime ??= enabledAt;
|
|
38
|
-
this.syncAnimation(enabledAt);
|
|
136
|
+
afterRenderEffect((onCleanup) => {
|
|
137
|
+
if (this.enabled()) {
|
|
138
|
+
onCleanup(this.wave.add(this.element));
|
|
139
|
+
}
|
|
39
140
|
});
|
|
40
141
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
animationStartTime = null;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
syncAnimation(enabledAt) {
|
|
47
|
-
const elapsed = enabledAt - (animationStartTime ?? 0);
|
|
48
|
-
const durationMs = parseFloat(this.window.getComputedStyle(this.element).getPropertyValue('--kbq-skeleton-animation-duration'));
|
|
49
|
-
const delay = -(elapsed % durationMs);
|
|
50
|
-
this.element.style.setProperty('--kbq-skeleton-animation-delay', `${delay}ms`);
|
|
51
|
-
}
|
|
52
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.30", ngImport: i0, type: KbqSkeleton, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
53
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.30", type: KbqSkeleton, isStandalone: true, selector: "kbq-skeleton, [kbqSkeleton]", inputs: { enabled: { classPropertyName: "enabled", publicName: "kbqSkeleton", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.kbq-skeleton_disabled": "!enabled()" }, classAttribute: "kbq-skeleton" }, exportAs: ["kbqSkeleton"], ngImport: i0 }); }
|
|
142
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeleton, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
143
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: KbqSkeleton, isStandalone: true, selector: "kbq-skeleton, [kbqSkeleton]", inputs: { enabled: { classPropertyName: "enabled", publicName: "kbqSkeleton", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.kbq-skeleton_disabled": "!enabled()", "class.kbq-animations-disabled": "animationsDisabled", "attr.inert": "enabled() || null" }, classAttribute: "kbq-skeleton" }, exportAs: ["kbqSkeleton"], ngImport: i0 }); }
|
|
54
144
|
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeleton, decorators: [{
|
|
56
146
|
type: Directive,
|
|
57
147
|
args: [{
|
|
58
148
|
selector: 'kbq-skeleton, [kbqSkeleton]',
|
|
59
149
|
host: {
|
|
60
150
|
class: 'kbq-skeleton',
|
|
61
|
-
'[class.kbq-skeleton_disabled]': '!enabled()'
|
|
151
|
+
'[class.kbq-skeleton_disabled]': '!enabled()',
|
|
152
|
+
'[class.kbq-animations-disabled]': 'animationsDisabled',
|
|
153
|
+
'[attr.inert]': 'enabled() || null'
|
|
62
154
|
},
|
|
63
155
|
exportAs: 'kbqSkeleton'
|
|
64
156
|
}]
|
|
65
157
|
}], ctorParameters: () => [], propDecorators: { enabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "kbqSkeleton", required: false }] }] } });
|
|
66
158
|
|
|
67
|
-
const
|
|
159
|
+
const KBQ_SKELETON_PRESETS_DEFAULT_CONFIGURATION = {
|
|
160
|
+
typographyLines: 1,
|
|
161
|
+
dlRows: 3,
|
|
162
|
+
tableRows: 3,
|
|
163
|
+
tableColumns: 3,
|
|
164
|
+
groupCount: 3,
|
|
165
|
+
accordionRows: 3,
|
|
166
|
+
checkableRows: 1,
|
|
167
|
+
tabsCount: 3,
|
|
168
|
+
tabsContentLines: 3,
|
|
169
|
+
treeRows: 3,
|
|
170
|
+
treeChildren: 3
|
|
171
|
+
};
|
|
172
|
+
/** Numbers of items of the skeleton presets. */
|
|
173
|
+
const KBQ_SKELETON_PRESETS_CONFIGURATION = new InjectionToken('KBQ_SKELETON_PRESETS_CONFIGURATION', { factory: () => KBQ_SKELETON_PRESETS_DEFAULT_CONFIGURATION });
|
|
174
|
+
/**
|
|
175
|
+
* Utility provider for `KBQ_SKELETON_PRESETS_CONFIGURATION`, for an application or a part of it. The keys it leaves
|
|
176
|
+
* out keep the values of the closest provider above.
|
|
177
|
+
*/
|
|
178
|
+
const kbqSkeletonPresetsConfigurationProvider = (configuration) => ({
|
|
179
|
+
provide: KBQ_SKELETON_PRESETS_CONFIGURATION,
|
|
180
|
+
useFactory: () => ({
|
|
181
|
+
...KBQ_SKELETON_PRESETS_DEFAULT_CONFIGURATION,
|
|
182
|
+
...inject(KBQ_SKELETON_PRESETS_CONFIGURATION, { skipSelf: true, optional: true }),
|
|
183
|
+
...configuration
|
|
184
|
+
})
|
|
185
|
+
});
|
|
186
|
+
/** Indexes of `count` items, for a `@for` that repeats a placeholder; a single one for a count that is not a number. */
|
|
187
|
+
const range = (count) => Array.from({ length: Number.isFinite(count) ? count : 1 }, (_, index) => index);
|
|
188
|
+
/** Placeholder of a button whose data has not loaded yet. */
|
|
189
|
+
class KbqSkeletonButton {
|
|
190
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonButton, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
191
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: KbqSkeletonButton, isStandalone: true, selector: "kbq-skeleton-button", host: { classAttribute: "kbq-skeleton-button" }, hostDirectives: [{ directive: KbqSkeleton }], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
192
|
+
}
|
|
193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonButton, decorators: [{
|
|
194
|
+
type: Component,
|
|
195
|
+
args: [{
|
|
196
|
+
selector: 'kbq-skeleton-button',
|
|
197
|
+
template: '',
|
|
198
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
199
|
+
encapsulation: ViewEncapsulation.None,
|
|
200
|
+
host: { class: 'kbq-skeleton-button' },
|
|
201
|
+
hostDirectives: [KbqSkeleton]
|
|
202
|
+
}]
|
|
203
|
+
}] });
|
|
204
|
+
/** Placeholder of a badge whose data has not loaded yet. */
|
|
205
|
+
class KbqSkeletonBadge {
|
|
206
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonBadge, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
207
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: KbqSkeletonBadge, isStandalone: true, selector: "kbq-skeleton-badge", host: { classAttribute: "kbq-skeleton-badge" }, hostDirectives: [{ directive: KbqSkeleton }], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
208
|
+
}
|
|
209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonBadge, decorators: [{
|
|
210
|
+
type: Component,
|
|
211
|
+
args: [{
|
|
212
|
+
selector: 'kbq-skeleton-badge',
|
|
213
|
+
template: '',
|
|
214
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
215
|
+
encapsulation: ViewEncapsulation.None,
|
|
216
|
+
host: { class: 'kbq-skeleton-badge' },
|
|
217
|
+
hostDirectives: [KbqSkeleton]
|
|
218
|
+
}]
|
|
219
|
+
}] });
|
|
220
|
+
/** Placeholder of a tag whose data has not loaded yet. */
|
|
221
|
+
class KbqSkeletonTag {
|
|
222
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonTag, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
223
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: KbqSkeletonTag, isStandalone: true, selector: "kbq-skeleton-tag", host: { classAttribute: "kbq-skeleton-tag" }, hostDirectives: [{ directive: KbqSkeleton }], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
224
|
+
}
|
|
225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonTag, decorators: [{
|
|
226
|
+
type: Component,
|
|
227
|
+
args: [{
|
|
228
|
+
selector: 'kbq-skeleton-tag',
|
|
229
|
+
template: '',
|
|
230
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
231
|
+
encapsulation: ViewEncapsulation.None,
|
|
232
|
+
host: { class: 'kbq-skeleton-tag' },
|
|
233
|
+
hostDirectives: [KbqSkeleton]
|
|
234
|
+
}]
|
|
235
|
+
}] });
|
|
236
|
+
/** Placeholder of an icon or an icon button whose data has not loaded yet. */
|
|
237
|
+
class KbqSkeletonIcon {
|
|
238
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonIcon, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
239
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: KbqSkeletonIcon, isStandalone: true, selector: "kbq-skeleton-icon", host: { classAttribute: "kbq-skeleton-icon" }, hostDirectives: [{ directive: KbqSkeleton }], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
240
|
+
}
|
|
241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonIcon, decorators: [{
|
|
242
|
+
type: Component,
|
|
243
|
+
args: [{
|
|
244
|
+
selector: 'kbq-skeleton-icon',
|
|
245
|
+
template: '',
|
|
246
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
247
|
+
encapsulation: ViewEncapsulation.None,
|
|
248
|
+
host: { class: 'kbq-skeleton-icon' },
|
|
249
|
+
hostDirectives: [KbqSkeleton]
|
|
250
|
+
}]
|
|
251
|
+
}] });
|
|
252
|
+
/** Placeholder of a link whose data has not loaded yet. */
|
|
253
|
+
class KbqSkeletonLink {
|
|
254
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonLink, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
255
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: KbqSkeletonLink, isStandalone: true, selector: "kbq-skeleton-link", host: { classAttribute: "kbq-skeleton-link" }, hostDirectives: [{ directive: KbqSkeleton }], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
256
|
+
}
|
|
257
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonLink, decorators: [{
|
|
258
|
+
type: Component,
|
|
259
|
+
args: [{
|
|
260
|
+
selector: 'kbq-skeleton-link',
|
|
261
|
+
template: '',
|
|
262
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
263
|
+
encapsulation: ViewEncapsulation.None,
|
|
264
|
+
host: { class: 'kbq-skeleton-link' },
|
|
265
|
+
hostDirectives: [KbqSkeleton]
|
|
266
|
+
}]
|
|
267
|
+
}] });
|
|
268
|
+
/**
|
|
269
|
+
* Placeholder of text that has not loaded yet: lines as tall as the lines of its typography level, a line of body text
|
|
270
|
+
* by default. A single line, such as a heading, is shorter than the lines of a paragraph, which differ in length.
|
|
271
|
+
*/
|
|
272
|
+
class KbqSkeletonTypography {
|
|
273
|
+
constructor() {
|
|
274
|
+
this.configuration = inject(KBQ_SKELETON_PRESETS_CONFIGURATION);
|
|
275
|
+
/** Typography level of the text, the name of its class without `kbq-`, such as `title` or `caps-compact`. */
|
|
276
|
+
this.level = input('text-normal', ...(ngDevMode ? [{ debugName: "level" }] : /* istanbul ignore next */ []));
|
|
277
|
+
/** Number of lines, `typographyLines` of `KBQ_SKELETON_PRESETS_CONFIGURATION` by default. */
|
|
278
|
+
this.lines = input(this.configuration.typographyLines, { ...(ngDevMode ? { debugName: "lines" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
279
|
+
this.lineList = computed(() => range(this.lines()), ...(ngDevMode ? [{ debugName: "lineList" }] : /* istanbul ignore next */ []));
|
|
280
|
+
this.levelClass = computed(() => `kbq-${this.level()}`, ...(ngDevMode ? [{ debugName: "levelClass" }] : /* istanbul ignore next */ []));
|
|
281
|
+
}
|
|
282
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonTypography, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
283
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: KbqSkeletonTypography, isStandalone: true, selector: "kbq-skeleton-typography", inputs: { level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, lines: { classPropertyName: "lines", publicName: "lines", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "levelClass()" }, classAttribute: "kbq-skeleton-typography" }, ngImport: i0, template: `
|
|
284
|
+
@for (line of lineList(); track line) {
|
|
285
|
+
<div kbqSkeleton class="kbq-skeleton-typography__line"></div>
|
|
286
|
+
}
|
|
287
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: KbqSkeleton, selector: "kbq-skeleton, [kbqSkeleton]", inputs: ["kbqSkeleton"], exportAs: ["kbqSkeleton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
288
|
+
}
|
|
289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonTypography, decorators: [{
|
|
290
|
+
type: Component,
|
|
291
|
+
args: [{
|
|
292
|
+
selector: 'kbq-skeleton-typography',
|
|
293
|
+
imports: [KbqSkeleton],
|
|
294
|
+
template: `
|
|
295
|
+
@for (line of lineList(); track line) {
|
|
296
|
+
<div kbqSkeleton class="kbq-skeleton-typography__line"></div>
|
|
297
|
+
}
|
|
298
|
+
`,
|
|
299
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
300
|
+
encapsulation: ViewEncapsulation.None,
|
|
301
|
+
host: {
|
|
302
|
+
class: 'kbq-skeleton-typography',
|
|
303
|
+
'[class]': 'levelClass()'
|
|
304
|
+
}
|
|
305
|
+
}]
|
|
306
|
+
}], propDecorators: { level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }], lines: [{ type: i0.Input, args: [{ isSignal: true, alias: "lines", required: false }] }] } });
|
|
307
|
+
/** Placeholder of a description list whose data has not loaded yet. */
|
|
308
|
+
class KbqSkeletonDl {
|
|
309
|
+
constructor() {
|
|
310
|
+
this.configuration = inject(KBQ_SKELETON_PRESETS_CONFIGURATION);
|
|
311
|
+
/** Number of terms with their descriptions, `dlRows` of `KBQ_SKELETON_PRESETS_CONFIGURATION` by default. */
|
|
312
|
+
this.rows = input(this.configuration.dlRows, { ...(ngDevMode ? { debugName: "rows" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
313
|
+
this.rowList = computed(() => range(this.rows()), ...(ngDevMode ? [{ debugName: "rowList" }] : /* istanbul ignore next */ []));
|
|
314
|
+
}
|
|
315
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonDl, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
316
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: KbqSkeletonDl, isStandalone: true, selector: "kbq-skeleton-dl", inputs: { rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "kbq-skeleton-dl" }, ngImport: i0, template: `
|
|
317
|
+
@for (row of rowList(); track row) {
|
|
318
|
+
<div kbqSkeleton class="kbq-skeleton-dl__term"></div>
|
|
319
|
+
<div kbqSkeleton class="kbq-skeleton-dl__description"></div>
|
|
320
|
+
}
|
|
321
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: KbqSkeleton, selector: "kbq-skeleton, [kbqSkeleton]", inputs: ["kbqSkeleton"], exportAs: ["kbqSkeleton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
322
|
+
}
|
|
323
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonDl, decorators: [{
|
|
324
|
+
type: Component,
|
|
325
|
+
args: [{
|
|
326
|
+
selector: 'kbq-skeleton-dl',
|
|
327
|
+
imports: [KbqSkeleton],
|
|
328
|
+
template: `
|
|
329
|
+
@for (row of rowList(); track row) {
|
|
330
|
+
<div kbqSkeleton class="kbq-skeleton-dl__term"></div>
|
|
331
|
+
<div kbqSkeleton class="kbq-skeleton-dl__description"></div>
|
|
332
|
+
}
|
|
333
|
+
`,
|
|
334
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
335
|
+
encapsulation: ViewEncapsulation.None,
|
|
336
|
+
host: { class: 'kbq-skeleton-dl' }
|
|
337
|
+
}]
|
|
338
|
+
}], propDecorators: { rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }] } });
|
|
339
|
+
const equalColumns = (count) => range(count).map(() => 'minmax(0, 1fr)');
|
|
340
|
+
const toColumns = (value) => typeof value === 'object' ? value : equalColumns(numberAttribute(value));
|
|
341
|
+
/** Placeholder of a table whose data has not loaded yet. */
|
|
342
|
+
class KbqSkeletonTable {
|
|
343
|
+
constructor() {
|
|
344
|
+
this.configuration = inject(KBQ_SKELETON_PRESETS_CONFIGURATION);
|
|
345
|
+
/** Number of rows below the header, `tableRows` of `KBQ_SKELETON_PRESETS_CONFIGURATION` by default. */
|
|
346
|
+
this.rows = input(this.configuration.tableRows, { ...(ngDevMode ? { debugName: "rows" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
347
|
+
/**
|
|
348
|
+
* Number of columns of equal width, `tableColumns` of `KBQ_SKELETON_PRESETS_CONFIGURATION` by default, or the
|
|
349
|
+
* width of every column as a CSS grid track, such as `160px`, `1fr` or `auto`, for a table whose columns are known.
|
|
350
|
+
*/
|
|
351
|
+
this.columns = input(equalColumns(this.configuration.tableColumns), { ...(ngDevMode ? { debugName: "columns" } : /* istanbul ignore next */ {}), transform: toColumns });
|
|
352
|
+
/** Whether the table has a header row. */
|
|
353
|
+
this.header = input(true, { ...(ngDevMode ? { debugName: "header" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
354
|
+
/** Whether every row starts with a checkbox, as in a grid whose rows can be selected. */
|
|
355
|
+
this.selectable = input(false, { ...(ngDevMode ? { debugName: "selectable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
356
|
+
/** Number of columns pinned to the start and set apart from the rest by a line, as in a grid. */
|
|
357
|
+
this.pinnedColumns = input(0, { ...(ngDevMode ? { debugName: "pinnedColumns" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
358
|
+
this.rowList = computed(() => range(this.rows()), ...(ngDevMode ? [{ debugName: "rowList" }] : /* istanbul ignore next */ []));
|
|
359
|
+
this.gridTemplateColumns = computed(() => [...(this.selectable() ? ['var(--kbq-skeleton-table-selection-width)'] : []), ...this.columns()].join(' '), ...(ngDevMode ? [{ debugName: "gridTemplateColumns" }] : /* istanbul ignore next */ []));
|
|
360
|
+
}
|
|
361
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonTable, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
362
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: KbqSkeletonTable, isStandalone: true, selector: "kbq-skeleton-table", inputs: { rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, selectable: { classPropertyName: "selectable", publicName: "selectable", isSignal: true, isRequired: false, transformFunction: null }, pinnedColumns: { classPropertyName: "pinnedColumns", publicName: "pinnedColumns", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.grid-template-columns": "gridTemplateColumns()" }, classAttribute: "kbq-skeleton-table" }, ngImport: i0, template: `
|
|
363
|
+
@if (header()) {
|
|
364
|
+
@if (selectable()) {
|
|
365
|
+
<div
|
|
366
|
+
class="kbq-skeleton-table__cell kbq-skeleton-table__cell_header kbq-skeleton-table__cell_selection"
|
|
367
|
+
>
|
|
368
|
+
<div kbqSkeleton></div>
|
|
369
|
+
</div>
|
|
370
|
+
}
|
|
371
|
+
@for (column of columns(); track $index) {
|
|
372
|
+
<div
|
|
373
|
+
class="kbq-skeleton-table__cell kbq-skeleton-table__cell_header"
|
|
374
|
+
[class.kbq-skeleton-table__cell_pinned-edge]="$index === pinnedColumns() - 1"
|
|
375
|
+
>
|
|
376
|
+
<div kbqSkeleton></div>
|
|
377
|
+
</div>
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
@for (row of rowList(); track row) {
|
|
381
|
+
@if (selectable()) {
|
|
382
|
+
<div class="kbq-skeleton-table__cell kbq-skeleton-table__cell_selection">
|
|
383
|
+
<div kbqSkeleton></div>
|
|
384
|
+
</div>
|
|
385
|
+
}
|
|
386
|
+
@for (column of columns(); track $index) {
|
|
387
|
+
<div
|
|
388
|
+
class="kbq-skeleton-table__cell"
|
|
389
|
+
[class.kbq-skeleton-table__cell_pinned-edge]="$index === pinnedColumns() - 1"
|
|
390
|
+
>
|
|
391
|
+
<div kbqSkeleton></div>
|
|
392
|
+
</div>
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: KbqSkeleton, selector: "kbq-skeleton, [kbqSkeleton]", inputs: ["kbqSkeleton"], exportAs: ["kbqSkeleton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
396
|
+
}
|
|
397
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonTable, decorators: [{
|
|
398
|
+
type: Component,
|
|
399
|
+
args: [{
|
|
400
|
+
selector: 'kbq-skeleton-table',
|
|
401
|
+
imports: [KbqSkeleton],
|
|
402
|
+
template: `
|
|
403
|
+
@if (header()) {
|
|
404
|
+
@if (selectable()) {
|
|
405
|
+
<div
|
|
406
|
+
class="kbq-skeleton-table__cell kbq-skeleton-table__cell_header kbq-skeleton-table__cell_selection"
|
|
407
|
+
>
|
|
408
|
+
<div kbqSkeleton></div>
|
|
409
|
+
</div>
|
|
410
|
+
}
|
|
411
|
+
@for (column of columns(); track $index) {
|
|
412
|
+
<div
|
|
413
|
+
class="kbq-skeleton-table__cell kbq-skeleton-table__cell_header"
|
|
414
|
+
[class.kbq-skeleton-table__cell_pinned-edge]="$index === pinnedColumns() - 1"
|
|
415
|
+
>
|
|
416
|
+
<div kbqSkeleton></div>
|
|
417
|
+
</div>
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
@for (row of rowList(); track row) {
|
|
421
|
+
@if (selectable()) {
|
|
422
|
+
<div class="kbq-skeleton-table__cell kbq-skeleton-table__cell_selection">
|
|
423
|
+
<div kbqSkeleton></div>
|
|
424
|
+
</div>
|
|
425
|
+
}
|
|
426
|
+
@for (column of columns(); track $index) {
|
|
427
|
+
<div
|
|
428
|
+
class="kbq-skeleton-table__cell"
|
|
429
|
+
[class.kbq-skeleton-table__cell_pinned-edge]="$index === pinnedColumns() - 1"
|
|
430
|
+
>
|
|
431
|
+
<div kbqSkeleton></div>
|
|
432
|
+
</div>
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
`,
|
|
436
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
437
|
+
encapsulation: ViewEncapsulation.None,
|
|
438
|
+
host: {
|
|
439
|
+
class: 'kbq-skeleton-table',
|
|
440
|
+
'[style.grid-template-columns]': 'gridTemplateColumns()'
|
|
441
|
+
}
|
|
442
|
+
}]
|
|
443
|
+
}], propDecorators: { rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }], columns: [{ type: i0.Input, args: [{ isSignal: true, alias: "columns", required: false }] }], header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], selectable: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectable", required: false }] }], pinnedColumns: [{ type: i0.Input, args: [{ isSignal: true, alias: "pinnedColumns", required: false }] }] } });
|
|
444
|
+
/** Row of placeholders of one kind, such as the tags of a tag list. */
|
|
445
|
+
class KbqSkeletonGroup {
|
|
446
|
+
constructor() {
|
|
447
|
+
this.configuration = inject(KBQ_SKELETON_PRESETS_CONFIGURATION);
|
|
448
|
+
/** Placeholder of every item of the row. */
|
|
449
|
+
this.preset = input.required(...(ngDevMode ? [{ debugName: "preset" }] : /* istanbul ignore next */ []));
|
|
450
|
+
/** Number of placeholders, `groupCount` of `KBQ_SKELETON_PRESETS_CONFIGURATION` by default. */
|
|
451
|
+
this.count = input(this.configuration.groupCount, { ...(ngDevMode ? { debugName: "count" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
452
|
+
this.itemList = computed(() => range(this.count()), ...(ngDevMode ? [{ debugName: "itemList" }] : /* istanbul ignore next */ []));
|
|
453
|
+
this.presetClass = computed(() => `kbq-skeleton-group_${this.preset()}`, ...(ngDevMode ? [{ debugName: "presetClass" }] : /* istanbul ignore next */ []));
|
|
454
|
+
}
|
|
455
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonGroup, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
456
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: KbqSkeletonGroup, isStandalone: true, selector: "kbq-skeleton-group", inputs: { preset: { classPropertyName: "preset", publicName: "preset", isSignal: true, isRequired: true, transformFunction: null }, count: { classPropertyName: "count", publicName: "count", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "presetClass()" }, classAttribute: "kbq-skeleton-group" }, ngImport: i0, template: `
|
|
457
|
+
@for (item of itemList(); track item) {
|
|
458
|
+
@switch (preset()) {
|
|
459
|
+
@case ('button') {
|
|
460
|
+
<kbq-skeleton-button />
|
|
461
|
+
}
|
|
462
|
+
@case ('badge') {
|
|
463
|
+
<kbq-skeleton-badge />
|
|
464
|
+
}
|
|
465
|
+
@case ('tag') {
|
|
466
|
+
<kbq-skeleton-tag />
|
|
467
|
+
}
|
|
468
|
+
@case ('icon') {
|
|
469
|
+
<kbq-skeleton-icon />
|
|
470
|
+
}
|
|
471
|
+
@case ('link') {
|
|
472
|
+
<kbq-skeleton-link />
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
`, isInline: true, dependencies: [{ kind: "component", type: KbqSkeletonButton, selector: "kbq-skeleton-button" }, { kind: "component", type: KbqSkeletonBadge, selector: "kbq-skeleton-badge" }, { kind: "component", type: KbqSkeletonTag, selector: "kbq-skeleton-tag" }, { kind: "component", type: KbqSkeletonIcon, selector: "kbq-skeleton-icon" }, { kind: "component", type: KbqSkeletonLink, selector: "kbq-skeleton-link" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
477
|
+
}
|
|
478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonGroup, decorators: [{
|
|
479
|
+
type: Component,
|
|
480
|
+
args: [{
|
|
481
|
+
selector: 'kbq-skeleton-group',
|
|
482
|
+
imports: [KbqSkeletonButton, KbqSkeletonBadge, KbqSkeletonTag, KbqSkeletonIcon, KbqSkeletonLink],
|
|
483
|
+
template: `
|
|
484
|
+
@for (item of itemList(); track item) {
|
|
485
|
+
@switch (preset()) {
|
|
486
|
+
@case ('button') {
|
|
487
|
+
<kbq-skeleton-button />
|
|
488
|
+
}
|
|
489
|
+
@case ('badge') {
|
|
490
|
+
<kbq-skeleton-badge />
|
|
491
|
+
}
|
|
492
|
+
@case ('tag') {
|
|
493
|
+
<kbq-skeleton-tag />
|
|
494
|
+
}
|
|
495
|
+
@case ('icon') {
|
|
496
|
+
<kbq-skeleton-icon />
|
|
497
|
+
}
|
|
498
|
+
@case ('link') {
|
|
499
|
+
<kbq-skeleton-link />
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
`,
|
|
504
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
505
|
+
encapsulation: ViewEncapsulation.None,
|
|
506
|
+
host: {
|
|
507
|
+
class: 'kbq-skeleton-group',
|
|
508
|
+
'[class]': 'presetClass()'
|
|
509
|
+
}
|
|
510
|
+
}]
|
|
511
|
+
}], propDecorators: { preset: [{ type: i0.Input, args: [{ isSignal: true, alias: "preset", required: true }] }], count: [{ type: i0.Input, args: [{ isSignal: true, alias: "count", required: false }] }] } });
|
|
512
|
+
/** Placeholder of a form field whose value has not loaded yet: its label, control and hint. */
|
|
513
|
+
class KbqSkeletonFormField {
|
|
514
|
+
constructor() {
|
|
515
|
+
/** Whether the label is to the left of the control, as in a horizontal `kbq-form-field`. */
|
|
516
|
+
this.horizontal = input(false, { ...(ngDevMode ? { debugName: "horizontal" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
517
|
+
/** Control of the form field. */
|
|
518
|
+
this.control = input('input', ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
|
|
519
|
+
/** Whether the form field has a label, as a `kbq-form-field` with `kbq-label`. */
|
|
520
|
+
this.label = input(true, { ...(ngDevMode ? { debugName: "label" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
521
|
+
/** Whether the form field has a hint below the control. */
|
|
522
|
+
this.hint = input(false, { ...(ngDevMode ? { debugName: "hint" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
523
|
+
/** Classes of the label, such as the `labelClass` of the `kbq-form-field` the placeholder stands in for. */
|
|
524
|
+
this.labelClass = input(...(ngDevMode ? [undefined, { debugName: "labelClass" }] : /* istanbul ignore next */ []));
|
|
525
|
+
/** Classes of the control and the hint, such as the `contentClass` of the `kbq-form-field`. */
|
|
526
|
+
this.contentClass = input(...(ngDevMode ? [undefined, { debugName: "contentClass" }] : /* istanbul ignore next */ []));
|
|
527
|
+
}
|
|
528
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonFormField, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
529
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: KbqSkeletonFormField, isStandalone: true, selector: "kbq-skeleton-form-field", inputs: { horizontal: { classPropertyName: "horizontal", publicName: "horizontal", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, labelClass: { classPropertyName: "labelClass", publicName: "labelClass", isSignal: true, isRequired: false, transformFunction: null }, contentClass: { classPropertyName: "contentClass", publicName: "contentClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.kbq-skeleton-form-field_horizontal": "horizontal()", "class.kbq-skeleton-form-field_textarea": "control() === \"textarea\"" }, classAttribute: "kbq-skeleton-form-field" }, ngImport: i0, template: `
|
|
530
|
+
@if (label()) {
|
|
531
|
+
<div class="kbq-skeleton-form-field__label" [class]="labelClass()">
|
|
532
|
+
<div kbqSkeleton></div>
|
|
533
|
+
</div>
|
|
534
|
+
}
|
|
535
|
+
<div class="kbq-skeleton-form-field__content" [class]="contentClass()">
|
|
536
|
+
<div kbqSkeleton class="kbq-skeleton-form-field__control"></div>
|
|
537
|
+
@if (hint()) {
|
|
538
|
+
<div kbqSkeleton class="kbq-skeleton-form-field__hint"></div>
|
|
539
|
+
}
|
|
540
|
+
</div>
|
|
541
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: KbqSkeleton, selector: "kbq-skeleton, [kbqSkeleton]", inputs: ["kbqSkeleton"], exportAs: ["kbqSkeleton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
542
|
+
}
|
|
543
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonFormField, decorators: [{
|
|
544
|
+
type: Component,
|
|
545
|
+
args: [{
|
|
546
|
+
selector: 'kbq-skeleton-form-field',
|
|
547
|
+
imports: [KbqSkeleton],
|
|
548
|
+
template: `
|
|
549
|
+
@if (label()) {
|
|
550
|
+
<div class="kbq-skeleton-form-field__label" [class]="labelClass()">
|
|
551
|
+
<div kbqSkeleton></div>
|
|
552
|
+
</div>
|
|
553
|
+
}
|
|
554
|
+
<div class="kbq-skeleton-form-field__content" [class]="contentClass()">
|
|
555
|
+
<div kbqSkeleton class="kbq-skeleton-form-field__control"></div>
|
|
556
|
+
@if (hint()) {
|
|
557
|
+
<div kbqSkeleton class="kbq-skeleton-form-field__hint"></div>
|
|
558
|
+
}
|
|
559
|
+
</div>
|
|
560
|
+
`,
|
|
561
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
562
|
+
encapsulation: ViewEncapsulation.None,
|
|
563
|
+
host: {
|
|
564
|
+
class: 'kbq-skeleton-form-field',
|
|
565
|
+
'[class.kbq-skeleton-form-field_horizontal]': 'horizontal()',
|
|
566
|
+
'[class.kbq-skeleton-form-field_textarea]': 'control() === "textarea"'
|
|
567
|
+
}
|
|
568
|
+
}]
|
|
569
|
+
}], propDecorators: { horizontal: [{ type: i0.Input, args: [{ isSignal: true, alias: "horizontal", required: false }] }], control: [{ type: i0.Input, args: [{ isSignal: true, alias: "control", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], hint: [{ type: i0.Input, args: [{ isSignal: true, alias: "hint", required: false }] }], labelClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelClass", required: false }] }], contentClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "contentClass", required: false }] }] } });
|
|
570
|
+
/** Placeholder of an accordion whose items have not loaded yet: collapsed items with their icon and title. */
|
|
571
|
+
class KbqSkeletonAccordion {
|
|
572
|
+
constructor() {
|
|
573
|
+
this.configuration = inject(KBQ_SKELETON_PRESETS_CONFIGURATION);
|
|
574
|
+
/** Number of collapsed items, `accordionRows` of `KBQ_SKELETON_PRESETS_CONFIGURATION` by default. */
|
|
575
|
+
this.rows = input(this.configuration.accordionRows, { ...(ngDevMode ? { debugName: "rows" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
576
|
+
this.rowList = computed(() => range(this.rows()), ...(ngDevMode ? [{ debugName: "rowList" }] : /* istanbul ignore next */ []));
|
|
577
|
+
}
|
|
578
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonAccordion, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
579
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: KbqSkeletonAccordion, isStandalone: true, selector: "kbq-skeleton-accordion", inputs: { rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "kbq-skeleton-accordion" }, ngImport: i0, template: `
|
|
580
|
+
@for (row of rowList(); track row) {
|
|
581
|
+
<div class="kbq-skeleton-accordion__item">
|
|
582
|
+
<div kbqSkeleton class="kbq-skeleton-accordion__icon"></div>
|
|
583
|
+
<div kbqSkeleton class="kbq-skeleton-accordion__title"></div>
|
|
584
|
+
</div>
|
|
585
|
+
}
|
|
586
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: KbqSkeleton, selector: "kbq-skeleton, [kbqSkeleton]", inputs: ["kbqSkeleton"], exportAs: ["kbqSkeleton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
587
|
+
}
|
|
588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonAccordion, decorators: [{
|
|
589
|
+
type: Component,
|
|
590
|
+
args: [{
|
|
591
|
+
selector: 'kbq-skeleton-accordion',
|
|
592
|
+
imports: [KbqSkeleton],
|
|
593
|
+
template: `
|
|
594
|
+
@for (row of rowList(); track row) {
|
|
595
|
+
<div class="kbq-skeleton-accordion__item">
|
|
596
|
+
<div kbqSkeleton class="kbq-skeleton-accordion__icon"></div>
|
|
597
|
+
<div kbqSkeleton class="kbq-skeleton-accordion__title"></div>
|
|
598
|
+
</div>
|
|
599
|
+
}
|
|
600
|
+
`,
|
|
601
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
602
|
+
encapsulation: ViewEncapsulation.None,
|
|
603
|
+
host: { class: 'kbq-skeleton-accordion' }
|
|
604
|
+
}]
|
|
605
|
+
}], propDecorators: { rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }] } });
|
|
606
|
+
/**
|
|
607
|
+
* Placeholder of checkboxes, radio buttons or toggles whose data has not loaded yet: the control, and the label with
|
|
608
|
+
* its hint on demand.
|
|
609
|
+
*/
|
|
610
|
+
class KbqSkeletonCheckable {
|
|
611
|
+
constructor() {
|
|
612
|
+
this.configuration = inject(KBQ_SKELETON_PRESETS_CONFIGURATION);
|
|
613
|
+
/** Control the placeholder stands in for. */
|
|
614
|
+
this.control = input('checkbox', ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
|
|
615
|
+
/** Number of controls, `checkableRows` of `KBQ_SKELETON_PRESETS_CONFIGURATION` by default. */
|
|
616
|
+
this.rows = input(this.configuration.checkableRows, { ...(ngDevMode ? { debugName: "rows" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
617
|
+
/** Whether a control has a label. */
|
|
618
|
+
this.label = input(true, { ...(ngDevMode ? { debugName: "label" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
619
|
+
/** Whether the label has a hint below it. */
|
|
620
|
+
this.hint = input(false, { ...(ngDevMode ? { debugName: "hint" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
621
|
+
this.rowList = computed(() => range(this.rows()), ...(ngDevMode ? [{ debugName: "rowList" }] : /* istanbul ignore next */ []));
|
|
622
|
+
this.controlClass = computed(() => `kbq-skeleton-checkable_${this.control()}`, ...(ngDevMode ? [{ debugName: "controlClass" }] : /* istanbul ignore next */ []));
|
|
623
|
+
}
|
|
624
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonCheckable, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
625
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: KbqSkeletonCheckable, isStandalone: true, selector: "kbq-skeleton-checkable", inputs: { control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "controlClass()" }, classAttribute: "kbq-skeleton-checkable" }, ngImport: i0, template: `
|
|
626
|
+
@for (row of rowList(); track row) {
|
|
627
|
+
<div class="kbq-skeleton-checkable__row">
|
|
628
|
+
<div kbqSkeleton class="kbq-skeleton-checkable__control"></div>
|
|
629
|
+
@if (label()) {
|
|
630
|
+
<div class="kbq-skeleton-checkable__text">
|
|
631
|
+
<div kbqSkeleton class="kbq-skeleton-checkable__label"></div>
|
|
632
|
+
@if (hint()) {
|
|
633
|
+
<div kbqSkeleton class="kbq-skeleton-checkable__hint"></div>
|
|
634
|
+
}
|
|
635
|
+
</div>
|
|
636
|
+
}
|
|
637
|
+
</div>
|
|
638
|
+
}
|
|
639
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: KbqSkeleton, selector: "kbq-skeleton, [kbqSkeleton]", inputs: ["kbqSkeleton"], exportAs: ["kbqSkeleton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
640
|
+
}
|
|
641
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonCheckable, decorators: [{
|
|
642
|
+
type: Component,
|
|
643
|
+
args: [{
|
|
644
|
+
selector: 'kbq-skeleton-checkable',
|
|
645
|
+
imports: [KbqSkeleton],
|
|
646
|
+
template: `
|
|
647
|
+
@for (row of rowList(); track row) {
|
|
648
|
+
<div class="kbq-skeleton-checkable__row">
|
|
649
|
+
<div kbqSkeleton class="kbq-skeleton-checkable__control"></div>
|
|
650
|
+
@if (label()) {
|
|
651
|
+
<div class="kbq-skeleton-checkable__text">
|
|
652
|
+
<div kbqSkeleton class="kbq-skeleton-checkable__label"></div>
|
|
653
|
+
@if (hint()) {
|
|
654
|
+
<div kbqSkeleton class="kbq-skeleton-checkable__hint"></div>
|
|
655
|
+
}
|
|
656
|
+
</div>
|
|
657
|
+
}
|
|
658
|
+
</div>
|
|
659
|
+
}
|
|
660
|
+
`,
|
|
661
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
662
|
+
encapsulation: ViewEncapsulation.None,
|
|
663
|
+
host: {
|
|
664
|
+
class: 'kbq-skeleton-checkable',
|
|
665
|
+
'[class]': 'controlClass()'
|
|
666
|
+
}
|
|
667
|
+
}]
|
|
668
|
+
}], propDecorators: { control: [{ type: i0.Input, args: [{ isSignal: true, alias: "control", required: false }] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], hint: [{ type: i0.Input, args: [{ isSignal: true, alias: "hint", required: false }] }] } });
|
|
669
|
+
/**
|
|
670
|
+
* Placeholder of tabs whose data has not loaded yet: the first tab stands out as the selected one. The content below
|
|
671
|
+
* or beside them is text, or the placeholders projected into the component.
|
|
672
|
+
*/
|
|
673
|
+
class KbqSkeletonTabs {
|
|
674
|
+
constructor() {
|
|
675
|
+
this.configuration = inject(KBQ_SKELETON_PRESETS_CONFIGURATION);
|
|
676
|
+
/** Whether the tabs are stacked beside the content, as in a vertical `kbq-tab-group`. */
|
|
677
|
+
this.vertical = input(false, { ...(ngDevMode ? { debugName: "vertical" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
678
|
+
/** Number of tabs, `tabsCount` of `KBQ_SKELETON_PRESETS_CONFIGURATION` by default. */
|
|
679
|
+
this.count = input(this.configuration.tabsCount, { ...(ngDevMode ? { debugName: "count" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
680
|
+
/**
|
|
681
|
+
* Number of lines of the text that stands for the content when nothing is projected, `tabsContentLines` of
|
|
682
|
+
* `KBQ_SKELETON_PRESETS_CONFIGURATION` by default.
|
|
683
|
+
*/
|
|
684
|
+
this.contentLines = input(this.configuration.tabsContentLines, { ...(ngDevMode ? { debugName: "contentLines" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
685
|
+
this.tabList = computed(() => range(this.count()), ...(ngDevMode ? [{ debugName: "tabList" }] : /* istanbul ignore next */ []));
|
|
686
|
+
}
|
|
687
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonTabs, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
688
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: KbqSkeletonTabs, isStandalone: true, selector: "kbq-skeleton-tabs", inputs: { vertical: { classPropertyName: "vertical", publicName: "vertical", isSignal: true, isRequired: false, transformFunction: null }, count: { classPropertyName: "count", publicName: "count", isSignal: true, isRequired: false, transformFunction: null }, contentLines: { classPropertyName: "contentLines", publicName: "contentLines", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.kbq-skeleton-tabs_vertical": "vertical()" }, classAttribute: "kbq-skeleton-tabs" }, ngImport: i0, template: `
|
|
689
|
+
<div class="kbq-skeleton-tabs__header">
|
|
690
|
+
@for (tab of tabList(); track tab) {
|
|
691
|
+
<div class="kbq-skeleton-tabs__tab" [class.kbq-skeleton-tabs__tab_selected]="tab === 0">
|
|
692
|
+
<div kbqSkeleton></div>
|
|
693
|
+
</div>
|
|
694
|
+
}
|
|
695
|
+
</div>
|
|
696
|
+
<div class="kbq-skeleton-tabs__content">
|
|
697
|
+
<ng-content>
|
|
698
|
+
<kbq-skeleton-typography [lines]="contentLines()" />
|
|
699
|
+
</ng-content>
|
|
700
|
+
</div>
|
|
701
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: KbqSkeleton, selector: "kbq-skeleton, [kbqSkeleton]", inputs: ["kbqSkeleton"], exportAs: ["kbqSkeleton"] }, { kind: "component", type: KbqSkeletonTypography, selector: "kbq-skeleton-typography", inputs: ["level", "lines"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
702
|
+
}
|
|
703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonTabs, decorators: [{
|
|
704
|
+
type: Component,
|
|
705
|
+
args: [{
|
|
706
|
+
selector: 'kbq-skeleton-tabs',
|
|
707
|
+
imports: [KbqSkeleton, KbqSkeletonTypography],
|
|
708
|
+
template: `
|
|
709
|
+
<div class="kbq-skeleton-tabs__header">
|
|
710
|
+
@for (tab of tabList(); track tab) {
|
|
711
|
+
<div class="kbq-skeleton-tabs__tab" [class.kbq-skeleton-tabs__tab_selected]="tab === 0">
|
|
712
|
+
<div kbqSkeleton></div>
|
|
713
|
+
</div>
|
|
714
|
+
}
|
|
715
|
+
</div>
|
|
716
|
+
<div class="kbq-skeleton-tabs__content">
|
|
717
|
+
<ng-content>
|
|
718
|
+
<kbq-skeleton-typography [lines]="contentLines()" />
|
|
719
|
+
</ng-content>
|
|
720
|
+
</div>
|
|
721
|
+
`,
|
|
722
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
723
|
+
encapsulation: ViewEncapsulation.None,
|
|
724
|
+
host: {
|
|
725
|
+
class: 'kbq-skeleton-tabs',
|
|
726
|
+
'[class.kbq-skeleton-tabs_vertical]': 'vertical()'
|
|
727
|
+
}
|
|
728
|
+
}]
|
|
729
|
+
}], propDecorators: { vertical: [{ type: i0.Input, args: [{ isSignal: true, alias: "vertical", required: false }] }], count: [{ type: i0.Input, args: [{ isSignal: true, alias: "count", required: false }] }], contentLines: [{ type: i0.Input, args: [{ isSignal: true, alias: "contentLines", required: false }] }] } });
|
|
730
|
+
/** Placeholder of a tree whose nodes have not loaded yet, with the second node expanded. */
|
|
731
|
+
class KbqSkeletonTree {
|
|
732
|
+
constructor() {
|
|
733
|
+
this.configuration = inject(KBQ_SKELETON_PRESETS_CONFIGURATION);
|
|
734
|
+
/** Number of top-level nodes, `treeRows` of `KBQ_SKELETON_PRESETS_CONFIGURATION` by default. */
|
|
735
|
+
this.rows = input(this.configuration.treeRows, { ...(ngDevMode ? { debugName: "rows" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
736
|
+
/**
|
|
737
|
+
* Number of children of the expanded second node, `treeChildren` of `KBQ_SKELETON_PRESETS_CONFIGURATION` by
|
|
738
|
+
* default.
|
|
739
|
+
*/
|
|
740
|
+
this.children = input(this.configuration.treeChildren, { ...(ngDevMode ? { debugName: "children" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
741
|
+
this.rowList = computed(() => range(this.rows()), ...(ngDevMode ? [{ debugName: "rowList" }] : /* istanbul ignore next */ []));
|
|
742
|
+
this.childList = computed(() => range(this.children()), ...(ngDevMode ? [{ debugName: "childList" }] : /* istanbul ignore next */ []));
|
|
743
|
+
}
|
|
744
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonTree, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
745
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: KbqSkeletonTree, isStandalone: true, selector: "kbq-skeleton-tree", inputs: { rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, children: { classPropertyName: "children", publicName: "children", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "kbq-skeleton-tree" }, ngImport: i0, template: `
|
|
746
|
+
@for (row of rowList(); track row) {
|
|
747
|
+
<div class="kbq-skeleton-tree__node kbq-skeleton-tree__node_{{ (row % 3) + 1 }}">
|
|
748
|
+
<div kbqSkeleton class="kbq-skeleton-tree__toggle"></div>
|
|
749
|
+
<div kbqSkeleton class="kbq-skeleton-tree__label"></div>
|
|
750
|
+
</div>
|
|
751
|
+
@if (row === 1) {
|
|
752
|
+
@for (child of childList(); track child) {
|
|
753
|
+
<div
|
|
754
|
+
class="kbq-skeleton-tree__node kbq-skeleton-tree__node_nested kbq-skeleton-tree__node_{{
|
|
755
|
+
(child % 3) + 1
|
|
756
|
+
}}"
|
|
757
|
+
>
|
|
758
|
+
<div kbqSkeleton class="kbq-skeleton-tree__toggle"></div>
|
|
759
|
+
<div kbqSkeleton class="kbq-skeleton-tree__label"></div>
|
|
760
|
+
</div>
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: KbqSkeleton, selector: "kbq-skeleton, [kbqSkeleton]", inputs: ["kbqSkeleton"], exportAs: ["kbqSkeleton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
765
|
+
}
|
|
766
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonTree, decorators: [{
|
|
767
|
+
type: Component,
|
|
768
|
+
args: [{
|
|
769
|
+
selector: 'kbq-skeleton-tree',
|
|
770
|
+
imports: [KbqSkeleton],
|
|
771
|
+
template: `
|
|
772
|
+
@for (row of rowList(); track row) {
|
|
773
|
+
<div class="kbq-skeleton-tree__node kbq-skeleton-tree__node_{{ (row % 3) + 1 }}">
|
|
774
|
+
<div kbqSkeleton class="kbq-skeleton-tree__toggle"></div>
|
|
775
|
+
<div kbqSkeleton class="kbq-skeleton-tree__label"></div>
|
|
776
|
+
</div>
|
|
777
|
+
@if (row === 1) {
|
|
778
|
+
@for (child of childList(); track child) {
|
|
779
|
+
<div
|
|
780
|
+
class="kbq-skeleton-tree__node kbq-skeleton-tree__node_nested kbq-skeleton-tree__node_{{
|
|
781
|
+
(child % 3) + 1
|
|
782
|
+
}}"
|
|
783
|
+
>
|
|
784
|
+
<div kbqSkeleton class="kbq-skeleton-tree__toggle"></div>
|
|
785
|
+
<div kbqSkeleton class="kbq-skeleton-tree__label"></div>
|
|
786
|
+
</div>
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
`,
|
|
791
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
792
|
+
encapsulation: ViewEncapsulation.None,
|
|
793
|
+
host: { class: 'kbq-skeleton-tree' }
|
|
794
|
+
}]
|
|
795
|
+
}], propDecorators: { rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }], children: [{ type: i0.Input, args: [{ isSignal: true, alias: "children", required: false }] }] } });
|
|
796
|
+
|
|
797
|
+
const COMPONENTS = [
|
|
798
|
+
KbqSkeleton,
|
|
799
|
+
KbqSkeletonButton,
|
|
800
|
+
KbqSkeletonBadge,
|
|
801
|
+
KbqSkeletonTag,
|
|
802
|
+
KbqSkeletonIcon,
|
|
803
|
+
KbqSkeletonLink,
|
|
804
|
+
KbqSkeletonTypography,
|
|
805
|
+
KbqSkeletonDl,
|
|
806
|
+
KbqSkeletonTable,
|
|
807
|
+
KbqSkeletonGroup,
|
|
808
|
+
KbqSkeletonFormField,
|
|
809
|
+
KbqSkeletonAccordion,
|
|
810
|
+
KbqSkeletonCheckable,
|
|
811
|
+
KbqSkeletonTabs,
|
|
812
|
+
KbqSkeletonTree
|
|
813
|
+
];
|
|
68
814
|
class KbqSkeletonModule {
|
|
69
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
70
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
71
|
-
|
|
815
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
816
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonModule, imports: [KbqSkeleton,
|
|
817
|
+
KbqSkeletonButton,
|
|
818
|
+
KbqSkeletonBadge,
|
|
819
|
+
KbqSkeletonTag,
|
|
820
|
+
KbqSkeletonIcon,
|
|
821
|
+
KbqSkeletonLink,
|
|
822
|
+
KbqSkeletonTypography,
|
|
823
|
+
KbqSkeletonDl,
|
|
824
|
+
KbqSkeletonTable,
|
|
825
|
+
KbqSkeletonGroup,
|
|
826
|
+
KbqSkeletonFormField,
|
|
827
|
+
KbqSkeletonAccordion,
|
|
828
|
+
KbqSkeletonCheckable,
|
|
829
|
+
KbqSkeletonTabs,
|
|
830
|
+
KbqSkeletonTree], exports: [KbqSkeleton,
|
|
831
|
+
KbqSkeletonButton,
|
|
832
|
+
KbqSkeletonBadge,
|
|
833
|
+
KbqSkeletonTag,
|
|
834
|
+
KbqSkeletonIcon,
|
|
835
|
+
KbqSkeletonLink,
|
|
836
|
+
KbqSkeletonTypography,
|
|
837
|
+
KbqSkeletonDl,
|
|
838
|
+
KbqSkeletonTable,
|
|
839
|
+
KbqSkeletonGroup,
|
|
840
|
+
KbqSkeletonFormField,
|
|
841
|
+
KbqSkeletonAccordion,
|
|
842
|
+
KbqSkeletonCheckable,
|
|
843
|
+
KbqSkeletonTabs,
|
|
844
|
+
KbqSkeletonTree] }); }
|
|
845
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonModule }); }
|
|
72
846
|
}
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
847
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: KbqSkeletonModule, decorators: [{
|
|
74
848
|
type: NgModule,
|
|
75
849
|
args: [{
|
|
76
850
|
imports: COMPONENTS,
|
|
@@ -82,5 +856,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.30", ngImpo
|
|
|
82
856
|
* Generated bundle index. Do not edit.
|
|
83
857
|
*/
|
|
84
858
|
|
|
85
|
-
export { KbqSkeleton, KbqSkeletonModule };
|
|
859
|
+
export { KBQ_SKELETON_PRESETS_CONFIGURATION, KbqSkeleton, KbqSkeletonAccordion, KbqSkeletonBadge, KbqSkeletonButton, KbqSkeletonCheckable, KbqSkeletonDl, KbqSkeletonFormField, KbqSkeletonGroup, KbqSkeletonIcon, KbqSkeletonLink, KbqSkeletonModule, KbqSkeletonTable, KbqSkeletonTabs, KbqSkeletonTag, KbqSkeletonTree, KbqSkeletonTypography, kbqSkeletonPresetsConfigurationProvider };
|
|
86
860
|
//# sourceMappingURL=koobiq-components-skeleton.mjs.map
|