@koobiq/components 21.0.0 → 21.1.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/badge/_badge-theme.scss +31 -0
- package/breadcrumbs/breadcrumbs.scss +5 -1
- package/checkbox/_checkbox-theme.scss +0 -17
- package/checkbox/checkbox-tokens.scss +0 -4
- package/code-block/_code-block-theme.scss +7 -6
- package/code-block/code-block-tokens.scss +8 -4
- package/code-block/code-block.scss +54 -32
- package/content-panel/content-panel-header.scss +2 -3
- package/content-panel/content-panel.scss +3 -0
- package/core/selection/pseudo-checkbox/pseudo-checkbox-tokens.scss +0 -2
- package/fesm2022/koobiq-components-accordion.mjs +4 -4
- package/fesm2022/koobiq-components-accordion.mjs.map +1 -1
- package/fesm2022/koobiq-components-actions-panel.mjs +10 -2
- package/fesm2022/koobiq-components-actions-panel.mjs.map +1 -1
- package/fesm2022/koobiq-components-app-switcher.mjs +1 -1
- package/fesm2022/koobiq-components-app-switcher.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +2 -2
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-breadcrumbs.mjs +2 -2
- package/fesm2022/koobiq-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +18 -8
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-clamped-text.mjs +78 -10
- package/fesm2022/koobiq-components-clamped-text.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +106 -394
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-content-panel.mjs +4 -4
- package/fesm2022/koobiq-components-content-panel.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +300 -37
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +151 -60
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs +3 -3
- package/fesm2022/koobiq-components-divider.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +3 -3
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +17 -8
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-filter-bar.mjs +124 -41
- package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-flag.mjs +3 -3
- package/fesm2022/koobiq-components-flag.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +90 -27
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +38 -17
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-inline-edit.mjs +19 -2
- package/fesm2022/koobiq-components-inline-edit.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +76 -17
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +1 -1
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +3 -3
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +86 -25
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-notification-center.mjs +4 -4
- package/fesm2022/koobiq-components-notification-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-overflow-items.mjs +116 -38
- package/fesm2022/koobiq-components-overflow-items.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +86 -7
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +41 -19
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-search-expandable.mjs +29 -17
- package/fesm2022/koobiq-components-search-expandable.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +49 -12
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +198 -186
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +49 -25
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +30 -11
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +1 -1
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +28 -11
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-time-range.mjs +2 -2
- package/fesm2022/koobiq-components-time-range.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +71 -16
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +2 -2
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +2 -2
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +25 -9
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +90 -17
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-top-bar.mjs +27 -7
- package/fesm2022/koobiq-components-top-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +24 -9
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +288 -109
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +0 -12
- package/file-upload/file-upload-tokens.scss +0 -1
- package/file-upload/file-upload.scss +0 -1
- package/filter-bar/_filter-bar-theme.scss +7 -8
- package/filter-bar/filter-bar.scss +0 -1
- package/filter-bar/pipes/base-pipe.scss +36 -2
- package/filter-bar/pipes/pipe-multi-tree-select.scss +27 -0
- package/form-field/_fieldset-theme.scss +2 -7
- package/form-field/_form-field-theme.scss +9 -22
- package/form-field/_hint-theme.scss +20 -0
- package/form-field/fieldset-tokens.scss +0 -1
- package/form-field/fieldset.scss +0 -3
- package/form-field/form-field-tokens.scss +1 -1
- package/form-field/form-field.scss +9 -0
- package/form-field/hint-tokens.scss +3 -0
- package/modal/modal.scss +2 -0
- package/navbar/_navbar-item_vertical.scss +48 -2
- package/navbar/_navbar-theme.scss +11 -3
- package/navbar/navbar-item.scss +17 -0
- package/navbar/navbar-tokens.scss +3 -0
- package/package.json +4 -4
- package/popover/popover.scss +1 -1
- package/radio/_radio-theme.scss +0 -30
- package/radio/radio-tokens.scss +0 -2
- package/schematics/collection.json +94 -89
- package/schematics/migrations/accordion-state-saving-default/{index.js → index.cjs} +5 -4
- package/schematics/migrations/actions-panel-overlay-container/{index.js → index.cjs} +5 -4
- package/schematics/migrations/alert-signals/{index.js → index.cjs} +14 -13
- package/schematics/migrations/angular-animations-removal/index.cjs +21 -0
- package/schematics/migrations/app-switcher-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/autocomplete-panel-width-auto/{index.js → index.cjs} +6 -5
- package/schematics/migrations/autocomplete-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/badge-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/button-state-and-styles/{index.js → index.cjs} +7 -6
- package/schematics/migrations/button-supported-colors/{index.js → index.cjs} +7 -6
- package/schematics/migrations/button-toggle-signals-and-aria/{index.js → index.cjs} +7 -6
- package/schematics/migrations/button-truncation/{index.js → index.cjs} +7 -6
- package/schematics/migrations/checkbox-signals/{index.js → index.cjs} +9 -8
- package/schematics/migrations/clamped-text-disclosure/{index.js → index.cjs} +5 -4
- package/schematics/migrations/code-block-highlight-js-core/README.md +53 -0
- package/schematics/migrations/code-block-highlight-js-core/data.cjs +64 -0
- package/schematics/migrations/code-block-highlight-js-core/index.cjs +319 -0
- package/schematics/migrations/code-block-highlight-js-core/schema.json +20 -0
- package/schematics/migrations/code-block-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/color-signals/index.cjs +20 -0
- package/schematics/migrations/core-mixins-removal/index.cjs +18 -0
- package/schematics/migrations/css-selectors/{index.js → index.cjs} +4 -3
- package/schematics/migrations/datepicker-signals/index.cjs +18 -0
- package/schematics/migrations/deprecated-icons/README.md +21 -5
- package/schematics/migrations/deprecated-icons/{index.js → index.cjs} +15 -28
- package/schematics/migrations/deprecated-icons/schema.json +1 -1
- package/schematics/migrations/design-tokens-v4/{index.js → index.cjs} +3 -2
- package/schematics/migrations/divider-signals-and-aria/{index.js → index.cjs} +5 -4
- package/schematics/migrations/dl-attribute-coercion/{index.js → index.cjs} +7 -6
- package/schematics/migrations/dl-standalone-names/{index.js → index.cjs} +11 -10
- package/schematics/migrations/dropdown-demote-overlay/{index.js → index.cjs} +7 -6
- package/schematics/migrations/dropdown-signals/index.cjs +20 -0
- package/schematics/migrations/empty-state-error-color/{index.js → index.cjs} +5 -4
- package/schematics/migrations/empty-state-size-attr/{index.js → index.cjs} +6 -5
- package/schematics/migrations/file-upload-cva-and-primitives/{index.js → index.cjs} +5 -4
- package/schematics/migrations/file-upload-deprecated-outputs/{index.js → index.cjs} +5 -4
- package/schematics/migrations/filter-bar-rename-action/{index.js → index.cjs} +5 -4
- package/schematics/migrations/filter-bar-signals/{index.js → index.cjs} +16 -15
- package/schematics/migrations/filter-bar-state-saving-default/{index.js → index.cjs} +5 -4
- package/schematics/migrations/flag-inner-html/{index.js → index.cjs} +5 -4
- package/schematics/migrations/form-field-signals/{index.js → index.cjs} +18 -17
- package/schematics/migrations/icon-semantics-and-api/{data.js → data.cjs} +4 -4
- package/schematics/migrations/icon-semantics-and-api/{index.js → index.cjs} +6 -5
- package/schematics/migrations/icons-replacement/README.md +16 -2
- package/schematics/migrations/icons-replacement/{index.js → index.cjs} +21 -18
- package/schematics/migrations/icons-replacement/schema.json +12 -3
- package/schematics/migrations/inline-edit-a11y-and-types/{index.js → index.cjs} +5 -4
- package/schematics/migrations/input-number-surface/{index.js → index.cjs} +5 -4
- package/schematics/migrations/input-signals/index.cjs +18 -0
- package/schematics/migrations/link-deprecated-path/{index.js → index.cjs} +4 -3
- package/schematics/migrations/link-signals/{index.js → index.cjs} +5 -4
- package/schematics/migrations/list-signals/index.cjs +18 -0
- package/schematics/migrations/list-tree-multiple-input/{index.js → index.cjs} +7 -6
- package/schematics/migrations/loader-overlay-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/loader-overlay-size-attr/{index.js → index.cjs} +6 -5
- package/schematics/migrations/locale-configuration-providers/{index.js → index.cjs} +5 -4
- package/schematics/migrations/mandatory-peer-dependencies/{index.js → index.cjs} +3 -2
- package/schematics/migrations/markdown-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/modal-dialog-semantics/{index.js → index.cjs} +5 -4
- package/schematics/migrations/modal-signals/index.cjs +20 -0
- package/schematics/migrations/navbar-signals-and-aria/{index.js → index.cjs} +7 -6
- package/schematics/migrations/new-icons-pack/README.md +37 -25
- package/schematics/migrations/new-icons-pack/{index.js → index.cjs} +29 -38
- package/schematics/migrations/new-icons-pack/replacement.json +2 -14
- package/schematics/migrations/new-icons-pack/schema.json +3 -3
- package/schematics/migrations/notification-center-signals/{index.js → index.cjs} +5 -4
- package/schematics/migrations/option-signals/index.cjs +20 -0
- package/schematics/migrations/popover-leave-delay/{index.js → index.cjs} +5 -4
- package/schematics/migrations/progress-bar-percentage-and-aria/{index.js → index.cjs} +5 -4
- package/schematics/migrations/progress-spinner-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/query-list-signals/index.cjs +18 -0
- package/schematics/migrations/radio-signals-and-aria/{index.js → index.cjs} +9 -8
- package/schematics/migrations/read-state-dwell-handlers/{index.js → index.cjs} +5 -4
- package/schematics/migrations/scrollbar-deprecated-path/{index.js → index.cjs} +4 -3
- package/schematics/migrations/select-signal-inputs/{index.js → index.cjs} +5 -4
- package/schematics/migrations/sidepanel-non-modal-behavior/{index.js → index.cjs} +5 -4
- package/schematics/migrations/signal-inputs-subclasses/index.cjs +18 -0
- package/schematics/migrations/split-button-optional-disabled/{index.js → index.cjs} +5 -4
- package/schematics/migrations/splitter-deprecated-path/{index.js → index.cjs} +4 -3
- package/schematics/migrations/state-saving-default/{index.js → index.cjs} +5 -4
- package/schematics/migrations/table-cell-content/{index.js → index.cjs} +5 -4
- package/schematics/migrations/tabs-signals-and-aria/{index.js → index.cjs} +5 -4
- package/schematics/migrations/tag-list-cleaner/{index.js → index.cjs} +7 -6
- package/schematics/migrations/tag-slots/{index.js → index.cjs} +6 -5
- package/schematics/migrations/tags-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/textarea-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/time-range-title-for/{index.js → index.cjs} +5 -4
- package/schematics/migrations/timepicker-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/timezone-grouping-utils/{index.js → index.cjs} +5 -4
- package/schematics/migrations/title-encapsulation/{index.js → index.cjs} +5 -4
- package/schematics/migrations/toast-stack-and-defaults/{index.js → index.cjs} +5 -4
- package/schematics/migrations/tooltip-pointer-events-and-types/{index.js → index.cjs} +5 -4
- package/schematics/migrations/top-bar-container-selectors/{index.js → index.cjs} +5 -4
- package/schematics/migrations/tree-select-signals/{index.js → index.cjs} +5 -4
- package/schematics/migrations/tree-signals/{index.js → index.cjs} +5 -4
- package/schematics/migrations/tree-state-saving-default/{index.js → index.cjs} +5 -4
- package/schematics/migrations/username-pipe-injection/{index.js → index.cjs} +5 -4
- package/schematics/migrations/v20-upgrade/{data.js → data.cjs} +7 -7
- package/schematics/migrations/v20-upgrade/index.cjs +19 -0
- package/schematics/migrations/v21-upgrade/{data.js → data.cjs} +22 -22
- package/schematics/migrations/v21-upgrade/{index.js → index.cjs} +11 -10
- package/schematics/migrations/zoneless-change-detection/index.cjs +21 -0
- package/schematics/migrations.json +87 -82
- package/schematics/ng-add/{index.js → index.cjs} +15 -289
- package/schematics/utils/{angular-parsing.js → angular-parsing.cjs} +2 -2
- package/schematics/utils/custom-data.cjs +64 -0
- package/schematics/utils/{deprecated-path-migration.js → deprecated-path-migration.cjs} +4 -3
- package/schematics/utils/html-config.cjs +148 -0
- package/schematics/utils/{icon-migration.js → icon-migration.cjs} +11 -5
- package/schematics/utils/list-item-pattern.cjs +16 -0
- package/schematics/utils/{messages.js → messages.cjs} +4 -0
- package/schematics/utils/package-config.cjs +99 -0
- package/schematics/utils/project-files.cjs +25 -0
- package/schematics/utils/replacement-driver.cjs +337 -0
- package/schematics/utils/safe-rule.cjs +23 -0
- package/schematics/utils/signal-members-migration.cjs +779 -0
- package/schematics/utils/tag-patterns.cjs +21 -0
- package/schematics/utils/template-ref-access.cjs +155 -0
- package/schematics/utils/{typescript.js → typescript.cjs} +1 -1
- package/schematics/utils/warn-only-migration.cjs +52 -0
- package/schematics/utils/workspace-styles.cjs +123 -0
- package/select/select.scss +7 -0
- package/tabs/_tabs-common.scss +23 -0
- package/textarea/textarea-tokens.scss +4 -1
- package/toast/toast.component.scss +1 -0
- package/toggle/_toggle-theme.scss +0 -17
- package/tooltip/tooltip.scss +1 -1
- package/top-bar/top-bar-tokens.scss +1 -0
- package/top-bar/top-bar.scss +10 -0
- package/types/koobiq-components-accordion.d.ts +25 -0
- package/types/koobiq-components-button-toggle.d.ts +6 -0
- package/types/koobiq-components-checkbox.d.ts +30 -0
- package/types/koobiq-components-clamped-text.d.ts +16 -3
- package/types/koobiq-components-code-block.d.ts +55 -14
- package/types/koobiq-components-core.d.ts +226 -13
- package/types/koobiq-components-datepicker.d.ts +28 -1
- package/types/koobiq-components-divider.d.ts +28 -10
- package/types/koobiq-components-dropdown.d.ts +19 -0
- package/types/koobiq-components-filter-bar.d.ts +79 -6
- package/types/koobiq-components-flag.d.ts +18 -0
- package/types/koobiq-components-form-field.d.ts +87 -6
- package/types/koobiq-components-icon.d.ts +15 -0
- package/types/koobiq-components-inline-edit.d.ts +8 -1
- package/types/koobiq-components-input.d.ts +22 -3
- package/types/koobiq-components-list.d.ts +6 -0
- package/types/koobiq-components-modal.d.ts +7 -0
- package/types/koobiq-components-navbar.d.ts +71 -7
- package/types/koobiq-components-notification-center.d.ts +13 -0
- package/types/koobiq-components-overflow-items.d.ts +26 -2
- package/types/koobiq-components-popover.d.ts +38 -3
- package/types/koobiq-components-radio.d.ts +30 -0
- package/types/koobiq-components-search-expandable.d.ts +10 -0
- package/types/koobiq-components-select.d.ts +36 -4
- package/types/koobiq-components-sidepanel.d.ts +52 -1
- package/types/koobiq-components-splitter.d.ts +13 -4
- package/types/koobiq-components-tabs.d.ts +4 -0
- package/types/koobiq-components-tags.d.ts +6 -0
- package/types/koobiq-components-textarea.d.ts +9 -2
- package/types/koobiq-components-timepicker.d.ts +15 -0
- package/types/koobiq-components-toggle.d.ts +30 -0
- package/types/koobiq-components-tooltip.d.ts +55 -10
- package/types/koobiq-components-top-bar.d.ts +11 -3
- package/types/koobiq-components-tree-select.d.ts +23 -8
- package/types/koobiq-components-tree.d.ts +144 -60
- package/schematics/migrations/angular-animations-removal/index.js +0 -20
- package/schematics/migrations/color-signals/index.js +0 -19
- package/schematics/migrations/core-mixins-removal/index.js +0 -17
- package/schematics/migrations/datepicker-signals/index.js +0 -17
- package/schematics/migrations/dropdown-signals/index.js +0 -19
- package/schematics/migrations/input-signals/index.js +0 -17
- package/schematics/migrations/list-signals/index.js +0 -17
- package/schematics/migrations/modal-signals/index.js +0 -19
- package/schematics/migrations/option-signals/index.js +0 -19
- package/schematics/migrations/query-list-signals/index.js +0 -17
- package/schematics/migrations/signal-inputs-subclasses/index.js +0 -17
- package/schematics/migrations/v20-upgrade/index.js +0 -18
- package/schematics/migrations/zoneless-change-detection/index.js +0 -20
- package/schematics/utils/package-config.js +0 -13
- /package/schematics/migrations/accordion-state-saving-default/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/actions-panel-overlay-container/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/alert-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/angular-animations-removal/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/app-switcher-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/autocomplete-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/badge-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/button-state-and-styles/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/button-supported-colors/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/button-toggle-signals-and-aria/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/button-truncation/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/checkbox-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/clamped-text-disclosure/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/code-block-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/color-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/core-mixins-removal/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/css-selectors/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/datepicker-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/deprecated-icons/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/divider-signals-and-aria/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/dl-attribute-coercion/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/dl-standalone-names/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/dropdown-demote-overlay/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/dropdown-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/empty-state-error-color/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/file-upload-cva-and-primitives/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/file-upload-deprecated-outputs/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/filter-bar-rename-action/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/filter-bar-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/filter-bar-state-saving-default/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/flag-inner-html/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/form-field-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/icons-replacement/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/inline-edit-a11y-and-types/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/input-number-surface/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/input-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/link-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/list-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/list-tree-multiple-input/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/loader-overlay-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/locale-configuration-providers/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/markdown-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/modal-dialog-semantics/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/modal-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/navbar-signals-and-aria/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/new-icons-pack/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/notification-center-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/option-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/popover-leave-delay/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/progress-bar-percentage-and-aria/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/progress-spinner-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/query-list-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/radio-signals-and-aria/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/read-state-dwell-handlers/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/select-signal-inputs/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/sidepanel-non-modal-behavior/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/signal-inputs-subclasses/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/split-button-optional-disabled/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/state-saving-default/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/table-cell-content/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/tabs-signals-and-aria/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/tag-list-cleaner/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/tags-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/textarea-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/time-range-title-for/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/timepicker-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/timezone-grouping-utils/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/title-encapsulation/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/toast-stack-and-defaults/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/tooltip-pointer-events-and-types/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/top-bar-container-selectors/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/tree-select-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/tree-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/tree-state-saving-default/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/username-pipe-injection/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/zoneless-change-detection/{data.js → data.cjs} +0 -0
- /package/schematics/utils/{ast.js → ast.cjs} +0 -0
|
@@ -11,17 +11,33 @@ import { KbqTooltipTrigger } from '@koobiq/components/tooltip';
|
|
|
11
11
|
import { ControlValueAccessor } from '@angular/forms';
|
|
12
12
|
import * as i2 from '@koobiq/components/icon';
|
|
13
13
|
|
|
14
|
+
/** Options of `FlatTreeControl` and `NestedTreeControl`. */
|
|
15
|
+
interface KbqTreeControlOptions<T, K> {
|
|
16
|
+
/** Initial value of the control's `trackBy`. */
|
|
17
|
+
trackBy?: (dataNode: T) => K;
|
|
18
|
+
}
|
|
14
19
|
/**
|
|
15
20
|
* Tree control interface. User can implement TreeControl to expand/collapse dataNodes in the tree.
|
|
16
21
|
* The Tree will use this TreeControl to expand/collapse a node.
|
|
17
22
|
* User can also use it outside the `<kbq-tree>` to control the expansion status of the tree.
|
|
18
23
|
*/
|
|
19
|
-
interface TreeControl<T> {
|
|
24
|
+
interface TreeControl<T, K = T> {
|
|
20
25
|
/** The saved tree nodes data for `expandAll` action. */
|
|
21
26
|
dataNodes: T[];
|
|
22
|
-
/** The expansion model */
|
|
23
|
-
expansionModel: SelectionModel<
|
|
27
|
+
/** The expansion model: the keys of the expanded data nodes, which are the nodes themselves by default. */
|
|
28
|
+
expansionModel: SelectionModel<K>;
|
|
24
29
|
filterModel: SelectionModel<T>;
|
|
30
|
+
/** The query of the active filter, or `null` when no filter is active. */
|
|
31
|
+
readonly filterQuery: string | null;
|
|
32
|
+
/** Whether a filter is active: the filter model holds at least one node, or a query is set. */
|
|
33
|
+
readonly hasActiveFilter: boolean;
|
|
34
|
+
/** Gives the key a data node is expanded by. Without it the node object is its own key. */
|
|
35
|
+
trackBy?: (dataNode: T) => K;
|
|
36
|
+
/**
|
|
37
|
+
* Stream with the filter query or result. Published for backward compatibility.
|
|
38
|
+
*
|
|
39
|
+
* @deprecated Use `filterQuery` for the query string and `filterModel` for the filter state. Will be removed in 22.0.0.
|
|
40
|
+
*/
|
|
25
41
|
filterValue: BehaviorSubject<T[] | string | null>;
|
|
26
42
|
/** Get depth of a given data node, return the level number. This is for flat tree node. */
|
|
27
43
|
getLevel(dataNode: T): number;
|
|
@@ -55,12 +71,31 @@ interface TreeControl<T> {
|
|
|
55
71
|
}
|
|
56
72
|
|
|
57
73
|
/** Base tree control. It has basic toggle/expand/collapse operations on a single data node. */
|
|
58
|
-
declare abstract class BaseTreeControl<T> implements TreeControl<T> {
|
|
74
|
+
declare abstract class BaseTreeControl<T, K = T> implements TreeControl<T, K> {
|
|
59
75
|
dataNodes: T[];
|
|
60
|
-
/** A selection model with multi-selection to track expansion status. */
|
|
61
|
-
expansionModel: SelectionModel<
|
|
76
|
+
/** A selection model with multi-selection to track expansion status: it holds the key of every expanded node. */
|
|
77
|
+
expansionModel: SelectionModel<K>;
|
|
78
|
+
/**
|
|
79
|
+
* Gives the key a data node is expanded by. Without it the node object is its own key, so a node
|
|
80
|
+
* rebuilt as a new object — as a flattener does whenever its data changes — comes back collapsed.
|
|
81
|
+
*
|
|
82
|
+
* Set it before anything is expanded: keys stored under another function no longer match.
|
|
83
|
+
*/
|
|
84
|
+
trackBy?: (dataNode: T) => K;
|
|
62
85
|
filterModel: SelectionModel<T>;
|
|
86
|
+
/**
|
|
87
|
+
* Stream with the filter query or result. Published for backward compatibility.
|
|
88
|
+
*
|
|
89
|
+
* @deprecated Use `filterQuery` for the query string and `filterModel` for the filter state. Will be removed in 22.0.0.
|
|
90
|
+
*/
|
|
63
91
|
filterValue: BehaviorSubject<string | T[] | null>;
|
|
92
|
+
/**
|
|
93
|
+
* The query of the active filter, or `null` when no filter is active. Defaults to `null`.
|
|
94
|
+
* Set by `FlatTreeControl.applyFilter`; stays `null` on controls without filtering, such as `NestedTreeControl`.
|
|
95
|
+
*/
|
|
96
|
+
filterQuery: string | null;
|
|
97
|
+
/** Whether a filter is active: the filter model holds at least one node, or a query is set. */
|
|
98
|
+
get hasActiveFilter(): boolean;
|
|
64
99
|
/** Get depth of a given data node, return the level number. This is for flat tree node. */
|
|
65
100
|
getLevel: (dataNode: T) => number;
|
|
66
101
|
/**
|
|
@@ -90,6 +125,8 @@ declare abstract class BaseTreeControl<T> implements TreeControl<T> {
|
|
|
90
125
|
expandDescendants(dataNode: T): void;
|
|
91
126
|
/** Collapses a subtree rooted at given data node recursively. */
|
|
92
127
|
collapseDescendants(dataNode: T): void;
|
|
128
|
+
/** The key `expansionModel` holds for a data node. */
|
|
129
|
+
protected expansionKey(dataNode: T): K;
|
|
93
130
|
}
|
|
94
131
|
|
|
95
132
|
declare const kbqTreeSelectAllValue = "selectAll";
|
|
@@ -99,13 +136,15 @@ interface FlatTreeControlFilter<T> {
|
|
|
99
136
|
}
|
|
100
137
|
/**
|
|
101
138
|
* Default first stage of the filter pipeline: keeps the nodes whose view value matches the query.
|
|
139
|
+
* An optional `matches` predicate keeps a node matched by anything else, e.g. by another field.
|
|
102
140
|
*
|
|
103
141
|
* @docs-private
|
|
104
142
|
*/
|
|
105
|
-
declare class FilterByViewValue<T> implements FlatTreeControlFilter<T> {
|
|
143
|
+
declare class FilterByViewValue<T, K = T> implements FlatTreeControlFilter<T> {
|
|
106
144
|
private control;
|
|
145
|
+
private matches?;
|
|
107
146
|
result: T[];
|
|
108
|
-
constructor(control: FlatTreeControl<T
|
|
147
|
+
constructor(control: FlatTreeControl<T, K>, matches?: ((node: T, query: string | null) => boolean) | undefined);
|
|
109
148
|
handle(value: string | null): T[];
|
|
110
149
|
}
|
|
111
150
|
/**
|
|
@@ -114,17 +153,17 @@ declare class FilterByViewValue<T> implements FlatTreeControlFilter<T> {
|
|
|
114
153
|
*
|
|
115
154
|
* @docs-private
|
|
116
155
|
*/
|
|
117
|
-
declare class FilterParentsForNodes<T> implements FlatTreeControlFilter<T> {
|
|
156
|
+
declare class FilterParentsForNodes<T, K = T> implements FlatTreeControlFilter<T> {
|
|
118
157
|
private control;
|
|
119
158
|
result: T[];
|
|
120
|
-
constructor(control: FlatTreeControl<T>);
|
|
159
|
+
constructor(control: FlatTreeControl<T, K>);
|
|
121
160
|
handle(_: any, prevFilter: FlatTreeControlFilter<T>): T[];
|
|
122
161
|
}
|
|
123
|
-
declare class FilterByValues<T> implements FlatTreeControlFilter<T> {
|
|
162
|
+
declare class FilterByValues<T, K = T> implements FlatTreeControlFilter<T> {
|
|
124
163
|
private control;
|
|
125
164
|
result: T[];
|
|
126
165
|
private values;
|
|
127
|
-
constructor(control: FlatTreeControl<T>);
|
|
166
|
+
constructor(control: FlatTreeControl<T, K>);
|
|
128
167
|
handle(_: any, prevFilter?: FlatTreeControlFilter<T>): T[];
|
|
129
168
|
setValues: (values: string[]) => void;
|
|
130
169
|
getValues(): string[];
|
|
@@ -133,7 +172,7 @@ declare class FilterByValues<T> implements FlatTreeControlFilter<T> {
|
|
|
133
172
|
declare function defaultCompareValues(firstValue: string, secondValue: string): boolean;
|
|
134
173
|
declare function defaultCompareViewValues(firstViewValue: string, secondViewValue: string): boolean;
|
|
135
174
|
/** Flat tree control. Able to expand/collapse a subtree recursively for flattened tree. */
|
|
136
|
-
declare class FlatTreeControl<T> extends BaseTreeControl<T> {
|
|
175
|
+
declare class FlatTreeControl<T, K = T> extends BaseTreeControl<T, K> {
|
|
137
176
|
getLevel: (dataNode: T) => number;
|
|
138
177
|
isExpandable: (dataNode: T) => boolean;
|
|
139
178
|
/** getValue will be used to determine if the tree contains value or not. Used in method hasValue */
|
|
@@ -146,8 +185,9 @@ declare class FlatTreeControl<T> extends BaseTreeControl<T> {
|
|
|
146
185
|
compareViewValues: (firstViewValue: any, secondViewValue: any) => boolean;
|
|
147
186
|
/** isDisabled will be used to determine if the node is disabled. */
|
|
148
187
|
isDisabled: (dataNode: T) => boolean;
|
|
149
|
-
expandedItemsBeforeFiltration:
|
|
188
|
+
expandedItemsBeforeFiltration: K[];
|
|
150
189
|
private filters;
|
|
190
|
+
private readonly nodeIndexes;
|
|
151
191
|
/** Construct with flat tree data node functions getLevel, isExpandable, getValue and getViewValue. */
|
|
152
192
|
constructor(getLevel: (dataNode: T) => number, isExpandable: (dataNode: T) => boolean,
|
|
153
193
|
/** getValue will be used to determine if the tree contains value or not. Used in method hasValue */
|
|
@@ -159,7 +199,9 @@ declare class FlatTreeControl<T> extends BaseTreeControl<T> {
|
|
|
159
199
|
/** compareValues will be used to comparing values. */
|
|
160
200
|
compareViewValues?: (firstViewValue: any, secondViewValue: any) => boolean,
|
|
161
201
|
/** isDisabled will be used to determine if the node is disabled. */
|
|
162
|
-
isDisabled?: (dataNode: T) => boolean
|
|
202
|
+
isDisabled?: (dataNode: T) => boolean,
|
|
203
|
+
/** Further options: the `trackBy` the nodes are expanded by. */
|
|
204
|
+
options?: KbqTreeControlOptions<T, K>);
|
|
163
205
|
getFilters(): FlatTreeControlFilter<T>[];
|
|
164
206
|
setFilters(...filters: FlatTreeControlFilter<T>[]): void;
|
|
165
207
|
/**
|
|
@@ -189,14 +231,28 @@ declare class FlatTreeControl<T> extends BaseTreeControl<T> {
|
|
|
189
231
|
*/
|
|
190
232
|
getParents(node: T, result?: T[]): T[];
|
|
191
233
|
hasValue(value: string): T | undefined;
|
|
234
|
+
/** Filters nodes by a query and expands the ancestors of every match. An empty string resets the filter. */
|
|
235
|
+
applyFilter(value?: string | null): void;
|
|
236
|
+
/** Clears the active filter and restores the expansion state saved before filtering. */
|
|
237
|
+
resetFilter(): void;
|
|
238
|
+
/**
|
|
239
|
+
* Filters nodes by a query and expands the ancestors of every match.
|
|
240
|
+
*
|
|
241
|
+
* @deprecated Use `applyFilter` instead. Will be removed in 22.0.0.
|
|
242
|
+
*/
|
|
192
243
|
filterNodes(value?: string | null): void;
|
|
193
244
|
private updateFilterValue;
|
|
194
245
|
private saveExpansionState;
|
|
195
246
|
private restoreExpansionState;
|
|
247
|
+
/**
|
|
248
|
+
* Position of the node in `dataNodes`, constant-time while the index matches the array. With `trackBy` a node
|
|
249
|
+
* rebuilt as a new object since is found by its key, as the expansion methods accept it too.
|
|
250
|
+
*/
|
|
251
|
+
private indexOfNode;
|
|
196
252
|
}
|
|
197
253
|
|
|
198
254
|
/** Nested tree control. Able to expand/collapse a subtree recursively for NestedNode type. */
|
|
199
|
-
declare class NestedTreeControl<T> extends BaseTreeControl<T> {
|
|
255
|
+
declare class NestedTreeControl<T, K = T> extends BaseTreeControl<T, K> {
|
|
200
256
|
getChildren: (dataNode: T) => Observable<T[]>;
|
|
201
257
|
/**
|
|
202
258
|
* Construct with nested tree function getChildren.
|
|
@@ -205,7 +261,7 @@ declare class NestedTreeControl<T> extends BaseTreeControl<T> {
|
|
|
205
261
|
* `getDescendants` walks the tree with `take(1)` and returns as soon as the recursion unwinds, so
|
|
206
262
|
* an asynchronous source yields an incomplete — usually empty — descendant list.
|
|
207
263
|
*/
|
|
208
|
-
constructor(getChildren: (dataNode: T) => Observable<T[]>);
|
|
264
|
+
constructor(getChildren: (dataNode: T) => Observable<T[]>, options?: KbqTreeControlOptions<T, K>);
|
|
209
265
|
/**
|
|
210
266
|
* Expands all dataNodes in the tree.
|
|
211
267
|
*
|
|
@@ -280,8 +336,10 @@ declare class KbqTreeFlattener<T, F> {
|
|
|
280
336
|
/**
|
|
281
337
|
* Expand flattened node with current expansion status.
|
|
282
338
|
* The returned list may have different length.
|
|
339
|
+
*
|
|
340
|
+
* Reads only `isExpanded` of the tree control, so it takes a control of any key type.
|
|
283
341
|
*/
|
|
284
|
-
expandFlattenedNodes(nodes: F[], treeControl: TreeControl<F>): F[];
|
|
342
|
+
expandFlattenedNodes(nodes: F[], treeControl: Pick<TreeControl<F>, 'isExpanded'>): F[];
|
|
285
343
|
}
|
|
286
344
|
/**
|
|
287
345
|
* Data source for flat tree.
|
|
@@ -290,7 +348,7 @@ declare class KbqTreeFlattener<T, F> {
|
|
|
290
348
|
* The nested tree nodes of type `T` are flattened through `KbqTreeFlattener`, and converted
|
|
291
349
|
* to type `F` for `KbqTree` to consume.
|
|
292
350
|
*/
|
|
293
|
-
declare class KbqTreeFlatDataSource<T, F> extends DataSource<F> {
|
|
351
|
+
declare class KbqTreeFlatDataSource<T, F, K = F> extends DataSource<F> {
|
|
294
352
|
private treeControl;
|
|
295
353
|
private treeFlattener;
|
|
296
354
|
flattenedData: BehaviorSubject<F[]>;
|
|
@@ -299,10 +357,10 @@ declare class KbqTreeFlatDataSource<T, F> extends DataSource<F> {
|
|
|
299
357
|
get data(): T[];
|
|
300
358
|
set data(value: T[]);
|
|
301
359
|
private readonly _data;
|
|
302
|
-
constructor(treeControl: FlatTreeControl<F>, treeFlattener: KbqTreeFlattener<T, F>, initialData?: T[]);
|
|
360
|
+
constructor(treeControl: FlatTreeControl<F, K>, treeFlattener: KbqTreeFlattener<T, F>, initialData?: T[]);
|
|
303
361
|
connect(collectionViewer: CollectionViewer): Observable<F[]>;
|
|
304
362
|
filterHandler(): F[];
|
|
305
|
-
expansionHandler(_change: SelectionChange<
|
|
363
|
+
expansionHandler(_change: SelectionChange<K>): F[];
|
|
306
364
|
disconnect(): void;
|
|
307
365
|
}
|
|
308
366
|
|
|
@@ -368,8 +426,10 @@ type KbqTreeState = string[];
|
|
|
368
426
|
* ported by hand.
|
|
369
427
|
*
|
|
370
428
|
* `C` narrows the tree control a concrete tree accepts, and so the type its `treeControl` binding is checked against.
|
|
429
|
+
* The bound leaves out `expansionModel` and `trackBy`, the members typed by the control's key, so that it admits
|
|
430
|
+
* a control of any key type: the model makes a control invariant in that type.
|
|
371
431
|
*/
|
|
372
|
-
declare class KbqTreeBase<T, C extends TreeControl<T> = TreeControl<T>> implements AfterContentChecked, AfterContentInit, CollectionViewer, OnDestroy, OnInit {
|
|
432
|
+
declare class KbqTreeBase<T, C extends Omit<TreeControl<T>, 'expansionModel' | 'trackBy'> = TreeControl<T>> implements AfterContentChecked, AfterContentInit, CollectionViewer, OnDestroy, OnInit {
|
|
373
433
|
protected differs: IterableDiffers;
|
|
374
434
|
protected changeDetectorRef: ChangeDetectorRef;
|
|
375
435
|
/**
|
|
@@ -391,6 +451,8 @@ declare class KbqTreeBase<T, C extends TreeControl<T> = TreeControl<T>> implemen
|
|
|
391
451
|
*
|
|
392
452
|
* Views are reused for nodes the function reports as unchanged, which a data source that rebuilds
|
|
393
453
|
* its node objects on every emission — a flattener among them — otherwise cannot get.
|
|
454
|
+
*
|
|
455
|
+
* Defaults to the `trackBy` of the tree control, read when the tree initializes and when the data source changes.
|
|
394
456
|
*/
|
|
395
457
|
readonly trackBy: _angular_core.InputSignal<TrackByFunction<T>>;
|
|
396
458
|
private readonly nodeOutletQuery;
|
|
@@ -438,7 +500,7 @@ declare class KbqTreeBase<T, C extends TreeControl<T> = TreeControl<T>> implemen
|
|
|
438
500
|
private warnedAboutTreeControl;
|
|
439
501
|
private warnedAboutValues;
|
|
440
502
|
/** @docs-private */
|
|
441
|
-
readonly dataSourceInput: _angular_core.InputSignal<
|
|
503
|
+
readonly dataSourceInput: _angular_core.InputSignal<T[] | DataSource<T> | Observable<T[]> | null | undefined>;
|
|
442
504
|
/**
|
|
443
505
|
* Provides a stream containing the latest data array to render. Influenced by the tree's
|
|
444
506
|
* stream of view window (what dataNodes are currently on screen).
|
|
@@ -530,7 +592,7 @@ declare class KbqTreeBase<T, C extends TreeControl<T> = TreeControl<T>> implemen
|
|
|
530
592
|
}
|
|
531
593
|
declare class KbqTreeNode<T> implements IFocusableOption, OnDestroy {
|
|
532
594
|
protected elementRef: ElementRef<HTMLElement>;
|
|
533
|
-
tree: KbqTreeBase<T, TreeControl<T>>;
|
|
595
|
+
tree: KbqTreeBase<T, TreeControl<T, T>>;
|
|
534
596
|
/**
|
|
535
597
|
* The most recently created `KbqTreeNode`, across every tree on the page.
|
|
536
598
|
*
|
|
@@ -567,7 +629,7 @@ declare class KbqTreeNode<T> implements IFocusableOption, OnDestroy {
|
|
|
567
629
|
|
|
568
630
|
declare class KbqTreeNodePadding<T> implements AfterViewInit {
|
|
569
631
|
protected treeNode: KbqTreeNode<T>;
|
|
570
|
-
protected tree: KbqTreeBase<T, _koobiq_components_tree.TreeControl<T>>;
|
|
632
|
+
protected tree: KbqTreeBase<T, _koobiq_components_tree.TreeControl<T, T>>;
|
|
571
633
|
private renderer;
|
|
572
634
|
private element;
|
|
573
635
|
private option;
|
|
@@ -666,6 +728,10 @@ interface KbqTreeOptionParent<T = any> {
|
|
|
666
728
|
selectionModel: SelectionModel<T>;
|
|
667
729
|
unorderedOptions: QueryList<KbqTreeOption<T>>;
|
|
668
730
|
setSelectedOptionsByClick(option: KbqTreeOption<T>, shiftKey: boolean, ctrlKey: boolean): void;
|
|
731
|
+
/** Called when an option takes focus. */
|
|
732
|
+
reportOptionFocus?(event: KbqTreeOptionEvent): void;
|
|
733
|
+
/** Called when an option loses focus. */
|
|
734
|
+
reportOptionBlur?(event: KbqTreeOptionEvent): void;
|
|
669
735
|
}
|
|
670
736
|
/** Injection token used to provide the parent component to options. */
|
|
671
737
|
declare const KBQ_TREE_OPTION_PARENT_COMPONENT: InjectionToken<KbqTreeOptionParent>;
|
|
@@ -677,10 +743,12 @@ declare class KbqTreeOptionChange {
|
|
|
677
743
|
/** The tree option that has been modified or selected. */
|
|
678
744
|
source: KbqTreeOption);
|
|
679
745
|
}
|
|
680
|
-
declare class KbqTreeOption<T = any> extends KbqTreeNode<T> implements AfterContentInit, DoCheck, KbqTitleTextRef {
|
|
746
|
+
declare class KbqTreeOption<T = any> extends KbqTreeNode<T> implements OnInit, AfterContentInit, DoCheck, KbqTitleTextRef {
|
|
681
747
|
private changeDetectorRef;
|
|
682
748
|
private readonly environmentInjector;
|
|
683
749
|
private readonly destroyRef;
|
|
750
|
+
private readonly ngZone;
|
|
751
|
+
private readonly renderer;
|
|
684
752
|
tree: KbqTreeOptionParent<T> & KbqTreeBase<T>;
|
|
685
753
|
private readonly focusEvents;
|
|
686
754
|
private readonly blurEvents;
|
|
@@ -709,6 +777,8 @@ declare class KbqTreeOption<T = any> extends KbqTreeNode<T> implements AfterCont
|
|
|
709
777
|
set value(value: any);
|
|
710
778
|
private _value;
|
|
711
779
|
/** @docs-private */
|
|
780
|
+
readonly viewValueInput: _angular_core.InputSignal<string | undefined>;
|
|
781
|
+
/** @docs-private */
|
|
712
782
|
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, string | boolean | null | undefined>;
|
|
713
783
|
/** Whether the option is disabled: through its own input, the tree, or the tree control's `isDisabled`. */
|
|
714
784
|
get disabled(): boolean;
|
|
@@ -758,10 +828,12 @@ declare class KbqTreeOption<T = any> extends KbqTreeNode<T> implements AfterCont
|
|
|
758
828
|
private readonly selectedState;
|
|
759
829
|
get id(): string;
|
|
760
830
|
private _id;
|
|
831
|
+
/** The displayed value used by type-ahead. Falls back to the text of the option. */
|
|
761
832
|
get viewValue(): string;
|
|
762
833
|
get hasFocus(): boolean;
|
|
763
834
|
set hasFocus(value: boolean);
|
|
764
835
|
private readonly focused;
|
|
836
|
+
private focusReported;
|
|
765
837
|
get isExpandable(): boolean;
|
|
766
838
|
/** The "select all" row sits above the tree at root depth; `getLevel` has no node to resolve for it. */
|
|
767
839
|
get level(): number;
|
|
@@ -786,6 +858,7 @@ declare class KbqTreeOption<T = any> extends KbqTreeNode<T> implements AfterCont
|
|
|
786
858
|
/** `aria-selected` of the row as of the last check. Options with a checkbox report `aria-checked` instead. */
|
|
787
859
|
protected get ariaSelected(): boolean | null;
|
|
788
860
|
constructor();
|
|
861
|
+
ngOnInit(): void;
|
|
789
862
|
ngDoCheck(): void;
|
|
790
863
|
ngAfterContentInit(): void;
|
|
791
864
|
/**
|
|
@@ -829,14 +902,14 @@ declare class KbqTreeOption<T = any> extends KbqTreeNode<T> implements AfterCont
|
|
|
829
902
|
private toAriaChecked;
|
|
830
903
|
private resolvePredicates;
|
|
831
904
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<KbqTreeOption<any>, never>;
|
|
832
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KbqTreeOption<any>, "kbq-tree-option", ["kbqTreeOption"], { "checkboxThirdState": { "alias": "checkboxThirdState"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "selectAllRow": { "alias": "selectAllRow"; "required": false; "isSignal": true; }; "showCheckboxInput": { "alias": "showCheckbox"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; "onSelectionChange": "onSelectionChange"; }, ["toggleElementDirective", "toggleElementComponent", "pseudoCheckbox", "actionButton", "tooltipTriggerQuery", "dropdownTriggerQuery"], ["kbq-tree-node-toggle, [kbq-tree-node-toggle], [kbqTreeNodeToggle]", "kbq-pseudo-checkbox", "kbq-checkbox", "[kbq-icon]", "kbq-progress-spinner", "*", "kbq-option-action"], true, never>;
|
|
905
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KbqTreeOption<any>, "kbq-tree-option", ["kbqTreeOption"], { "checkboxThirdState": { "alias": "checkboxThirdState"; "required": false; "isSignal": true; }; "viewValueInput": { "alias": "viewValue"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "selectAllRow": { "alias": "selectAllRow"; "required": false; "isSignal": true; }; "showCheckboxInput": { "alias": "showCheckbox"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; "onSelectionChange": "onSelectionChange"; }, ["toggleElementDirective", "toggleElementComponent", "pseudoCheckbox", "actionButton", "tooltipTriggerQuery", "dropdownTriggerQuery"], ["kbq-tree-node-toggle, [kbq-tree-node-toggle], [kbqTreeNodeToggle]", "kbq-pseudo-checkbox", "kbq-checkbox", "[kbq-icon]", "kbq-progress-spinner", "*", "kbq-option-action"], true, never>;
|
|
833
906
|
}
|
|
834
907
|
|
|
835
908
|
declare const KBQ_SELECTION_TREE_VALUE_ACCESSOR: Provider;
|
|
836
|
-
declare class KbqTreeSelectAllEvent<T, N = any> {
|
|
837
|
-
source: KbqTreeSelection<N>;
|
|
909
|
+
declare class KbqTreeSelectAllEvent<T, N = any, K = N> {
|
|
910
|
+
source: KbqTreeSelection<N, K>;
|
|
838
911
|
options: T[];
|
|
839
|
-
constructor(source: KbqTreeSelection<N>, options: T[]);
|
|
912
|
+
constructor(source: KbqTreeSelection<N, K>, options: T[]);
|
|
840
913
|
}
|
|
841
914
|
/**
|
|
842
915
|
* Event class that occurs when copying an item from the KbqTreeSelection.
|
|
@@ -846,24 +919,24 @@ declare class KbqTreeSelectAllEvent<T, N = any> {
|
|
|
846
919
|
* @param option - instance of KbqTreeOption
|
|
847
920
|
* @param event - original keyboard event (optional) that triggered the copy
|
|
848
921
|
*/
|
|
849
|
-
declare class KbqTreeCopyEvent<T, N = any> {
|
|
850
|
-
source: KbqTreeSelection<N>;
|
|
922
|
+
declare class KbqTreeCopyEvent<T, N = any, K = N> {
|
|
923
|
+
source: KbqTreeSelection<N, K>;
|
|
851
924
|
option: T;
|
|
852
925
|
event?: KeyboardEvent | undefined;
|
|
853
|
-
constructor(source: KbqTreeSelection<N>, option: T, event?: KeyboardEvent | undefined);
|
|
926
|
+
constructor(source: KbqTreeSelection<N, K>, option: T, event?: KeyboardEvent | undefined);
|
|
854
927
|
}
|
|
855
|
-
declare class KbqTreeNavigationChange<T, N = any> {
|
|
856
|
-
source: KbqTreeSelection<N>;
|
|
928
|
+
declare class KbqTreeNavigationChange<T, N = any, K = N> {
|
|
929
|
+
source: KbqTreeSelection<N, K>;
|
|
857
930
|
option: T;
|
|
858
|
-
constructor(source: KbqTreeSelection<N>, option: T);
|
|
931
|
+
constructor(source: KbqTreeSelection<N, K>, option: T);
|
|
859
932
|
}
|
|
860
|
-
declare class KbqTreeSelectionChange<T, N = any> {
|
|
861
|
-
source: KbqTreeSelection<N>;
|
|
933
|
+
declare class KbqTreeSelectionChange<T, N = any, K = N> {
|
|
934
|
+
source: KbqTreeSelection<N, K>;
|
|
862
935
|
option: T;
|
|
863
936
|
options?: T[] | undefined;
|
|
864
|
-
constructor(source: KbqTreeSelection<N>, option: T, options?: T[] | undefined);
|
|
937
|
+
constructor(source: KbqTreeSelection<N, K>, option: T, options?: T[] | undefined);
|
|
865
938
|
}
|
|
866
|
-
declare class KbqTreeSelection<T = any> extends KbqTreeBase<T, FlatTreeControl<T>> implements ControlValueAccessor, AfterContentInit, AfterViewInit, OnDestroy {
|
|
939
|
+
declare class KbqTreeSelection<T = any, K = T> extends KbqTreeBase<T, FlatTreeControl<T, K>> implements ControlValueAccessor, AfterContentInit, AfterViewInit, OnDestroy {
|
|
867
940
|
private elementRef;
|
|
868
941
|
private scheduler;
|
|
869
942
|
private clipboard;
|
|
@@ -905,7 +978,8 @@ declare class KbqTreeSelection<T = any> extends KbqTreeBase<T, FlatTreeControl<T
|
|
|
905
978
|
* a subscription taken on the model directly is left behind on the discarded instance.
|
|
906
979
|
*
|
|
907
980
|
* `T` is the type of the data nodes, inferred from `[treeControl]` in a template. A query names it:
|
|
908
|
-
* `viewChild.required<KbqTreeSelection<Node>>(KbqTreeSelection)
|
|
981
|
+
* `viewChild.required<KbqTreeSelection<Node>>(KbqTreeSelection)`, and a tree whose control has a `trackBy`
|
|
982
|
+
* names the key type too: `KbqTreeSelection<Node, string>`.
|
|
909
983
|
*/
|
|
910
984
|
selectionModel: SelectionModel<T>;
|
|
911
985
|
resetFocusedItemOnBlur: boolean;
|
|
@@ -921,30 +995,30 @@ declare class KbqTreeSelection<T = any> extends KbqTreeBase<T, FlatTreeControl<T
|
|
|
921
995
|
private readonly unorderedOptionsQuery;
|
|
922
996
|
private readonly unorderedOptionsList;
|
|
923
997
|
get unorderedOptions(): QueryList<KbqTreeOption<T>>;
|
|
924
|
-
readonly navigationChange: _angular_core.OutputEmitterRef<KbqTreeNavigationChange<KbqTreeOption<T>, T>>;
|
|
998
|
+
readonly navigationChange: _angular_core.OutputEmitterRef<KbqTreeNavigationChange<KbqTreeOption<T>, T, K>>;
|
|
925
999
|
/**
|
|
926
1000
|
* Emits when the selection changes. A stream rather than an `output()`: `KbqTreeSelect` pipes it with rxjs.
|
|
927
1001
|
*/
|
|
928
|
-
readonly selectionChange: EventEmitter<KbqTreeSelectionChange<KbqTreeOption<T>, T>>;
|
|
1002
|
+
readonly selectionChange: EventEmitter<KbqTreeSelectionChange<KbqTreeOption<T>, T, K>>;
|
|
929
1003
|
/** @docs-private */
|
|
930
|
-
readonly selectionChangeOutput: _angular_core.OutputRef<KbqTreeSelectionChange<KbqTreeOption<T>, T>>;
|
|
1004
|
+
readonly selectionChangeOutput: _angular_core.OutputRef<KbqTreeSelectionChange<KbqTreeOption<T>, T, K>>;
|
|
931
1005
|
/** Emits after "select all" ran, with the options it could act on. */
|
|
932
|
-
readonly selectAllChange: _angular_core.OutputEmitterRef<KbqTreeSelectAllEvent<KbqTreeOption<T>, T>>;
|
|
1006
|
+
readonly selectAllChange: _angular_core.OutputEmitterRef<KbqTreeSelectAllEvent<KbqTreeOption<T>, T, K>>;
|
|
933
1007
|
/** @deprecated Use `selectAllChange` instead. Will be removed in 22.0.0. */
|
|
934
|
-
readonly onSelectAll: _angular_core.OutputEmitterRef<KbqTreeSelectAllEvent<KbqTreeOption<T>, T>>;
|
|
1008
|
+
readonly onSelectAll: _angular_core.OutputEmitterRef<KbqTreeSelectAllEvent<KbqTreeOption<T>, T, K>>;
|
|
935
1009
|
/**
|
|
936
1010
|
* Emits when the active option is copied with Ctrl/Cmd + C. Subscribing replaces the built-in
|
|
937
1011
|
* clipboard handler, so the event has to stay an `EventEmitter`: the decision is made by reading
|
|
938
1012
|
* `observed`, which `OutputEmitterRef` does not have. A template listener subscribes to it through
|
|
939
1013
|
* the output below.
|
|
940
1014
|
*/
|
|
941
|
-
readonly copyChange: EventEmitter<KbqTreeCopyEvent<KbqTreeOption<T>, T>>;
|
|
1015
|
+
readonly copyChange: EventEmitter<KbqTreeCopyEvent<KbqTreeOption<T>, T, K>>;
|
|
942
1016
|
/** @docs-private */
|
|
943
|
-
readonly copyChangeOutput: _angular_core.OutputRef<KbqTreeCopyEvent<KbqTreeOption<T>, T>>;
|
|
1017
|
+
readonly copyChangeOutput: _angular_core.OutputRef<KbqTreeCopyEvent<KbqTreeOption<T>, T, K>>;
|
|
944
1018
|
/** @deprecated Use `copyChange` instead. Will be removed in 22.0.0. */
|
|
945
|
-
readonly onCopy: EventEmitter<KbqTreeCopyEvent<KbqTreeOption<T>, T>>;
|
|
1019
|
+
readonly onCopy: EventEmitter<KbqTreeCopyEvent<KbqTreeOption<T>, T, K>>;
|
|
946
1020
|
/** @docs-private */
|
|
947
|
-
readonly onCopyOutput: _angular_core.OutputRef<KbqTreeCopyEvent<KbqTreeOption<T>, T>>;
|
|
1021
|
+
readonly onCopyOutput: _angular_core.OutputRef<KbqTreeCopyEvent<KbqTreeOption<T>, T, K>>;
|
|
948
1022
|
private sortedNodes;
|
|
949
1023
|
private lastSyncedDataNodes;
|
|
950
1024
|
/** @docs-private */
|
|
@@ -960,7 +1034,11 @@ declare class KbqTreeSelection<T = any> extends KbqTreeBase<T, FlatTreeControl<T
|
|
|
960
1034
|
*/
|
|
961
1035
|
get autoSelect(): boolean;
|
|
962
1036
|
set autoSelect(value: boolean);
|
|
1037
|
+
private readonly optionFocusEvents;
|
|
1038
|
+
private readonly optionBlurEvents;
|
|
1039
|
+
/** Emits when an option of the tree takes focus. */
|
|
963
1040
|
get optionFocusChanges(): Observable<KbqTreeOptionEvent>;
|
|
1041
|
+
/** Emits when an option of the tree loses focus. */
|
|
964
1042
|
get optionBlurChanges(): Observable<KbqTreeOptionEvent>;
|
|
965
1043
|
/**
|
|
966
1044
|
* Selection mode of the tree.
|
|
@@ -1063,9 +1141,8 @@ declare class KbqTreeSelection<T = any> extends KbqTreeBase<T, FlatTreeControl<T
|
|
|
1063
1141
|
* reactive pass and would otherwise make a consumer's own node count race against that pass.
|
|
1064
1142
|
*/
|
|
1065
1143
|
get nodesCount(): number;
|
|
1066
|
-
private optionFocusSubscription;
|
|
1067
|
-
private optionBlurSubscription;
|
|
1068
1144
|
private selectionModelSubscription;
|
|
1145
|
+
private readonly selectionSweeps;
|
|
1069
1146
|
/** Whether a value report is queued for the end of the current tick. Cleared by `writeValue` to cancel it. */
|
|
1070
1147
|
private pendingValueReport;
|
|
1071
1148
|
/** The `multiple` binding the mode was last set from, see `applyMultipleInput`. */
|
|
@@ -1166,6 +1243,10 @@ declare class KbqTreeSelection<T = any> extends KbqTreeBase<T, FlatTreeControl<T
|
|
|
1166
1243
|
/** @docs-private */
|
|
1167
1244
|
setSelectedOptionsByKey(option: KbqTreeOption<T>, shiftKey: boolean, ctrlKey: boolean): void;
|
|
1168
1245
|
/** @docs-private */
|
|
1246
|
+
reportOptionFocus(event: KbqTreeOptionEvent): void;
|
|
1247
|
+
/** @docs-private */
|
|
1248
|
+
reportOptionBlur(event: KbqTreeOptionEvent): void;
|
|
1249
|
+
/** @docs-private */
|
|
1169
1250
|
setSelectedOptionsByClick(option: KbqTreeOption<T>, shiftKey: boolean, ctrlKey: boolean): void;
|
|
1170
1251
|
/** @docs-private */
|
|
1171
1252
|
protected selectActiveOptions(): void;
|
|
@@ -1176,7 +1257,7 @@ declare class KbqTreeSelection<T = any> extends KbqTreeBase<T, FlatTreeControl<T
|
|
|
1176
1257
|
/**
|
|
1177
1258
|
* Recomputes every option's checkbox state where no selection change follows to do it: after `dataNodes` is
|
|
1178
1259
|
* replaced, which moves the descendants a branch counts, and once a hidden checkbox appears. A microtask later, as
|
|
1179
|
-
* a
|
|
1260
|
+
* a consumer's data source can assign `dataNodes` after it emits.
|
|
1180
1261
|
*/
|
|
1181
1262
|
private scheduleCheckboxSync;
|
|
1182
1263
|
/** @docs-private */
|
|
@@ -1184,12 +1265,12 @@ declare class KbqTreeSelection<T = any> extends KbqTreeBase<T, FlatTreeControl<T
|
|
|
1184
1265
|
/** @docs-private */
|
|
1185
1266
|
protected emitChangeEvent(option: KbqTreeOption<T>): void;
|
|
1186
1267
|
/** @docs-private */
|
|
1187
|
-
readonly selectAllHandlerInput: _angular_core.InputSignalWithTransform<((event: KeyboardEvent, tree: KbqTreeSelection<T>) => void) | undefined, ((event: KeyboardEvent, tree: KbqTreeSelection<T>) => void) | undefined>;
|
|
1268
|
+
readonly selectAllHandlerInput: _angular_core.InputSignalWithTransform<((event: KeyboardEvent, tree: KbqTreeSelection<T, K>) => void) | undefined, ((event: KeyboardEvent, tree: KbqTreeSelection<T, K>) => void) | undefined>;
|
|
1188
1269
|
/**
|
|
1189
1270
|
* Function for handling the combination Ctrl + A (select all). By default, the internal handler is used,
|
|
1190
1271
|
* which toggles the selection of all non-disabled, selectable options.
|
|
1191
1272
|
*/
|
|
1192
|
-
get selectAllHandler(): (event: KeyboardEvent, tree: KbqTreeSelection<T>) => void;
|
|
1273
|
+
get selectAllHandler(): (event: KeyboardEvent, tree: KbqTreeSelection<T, K>) => void;
|
|
1193
1274
|
private defaultSelectAllHandler;
|
|
1194
1275
|
selectAllOptions(allowDeselect?: boolean): void;
|
|
1195
1276
|
copyActiveOption(event: KeyboardEvent): void;
|
|
@@ -1259,10 +1340,13 @@ declare class KbqTreeSelection<T = any> extends KbqTreeBase<T, FlatTreeControl<T
|
|
|
1259
1340
|
private getHeight;
|
|
1260
1341
|
/** A tree with nothing rendered leaves the tab order, unless a tab index other than `0` is bound. */
|
|
1261
1342
|
private updateTabIndex;
|
|
1343
|
+
/**
|
|
1344
|
+
* Whether the same options as before now stand for the rows in another order. A different count means rows were
|
|
1345
|
+
* added or removed, which the options query reports itself.
|
|
1346
|
+
*/
|
|
1347
|
+
private renderedOptionsOutOfOrder;
|
|
1262
1348
|
private updateRenderedOptions;
|
|
1263
1349
|
private getSortedNodes;
|
|
1264
|
-
private resetOptions;
|
|
1265
|
-
private dropSubscriptions;
|
|
1266
1350
|
private listenToOptionsFocus;
|
|
1267
1351
|
/**
|
|
1268
1352
|
* Utility to ensure all indexes are valid.
|
|
@@ -1276,8 +1360,8 @@ declare class KbqTreeSelection<T = any> extends KbqTreeBase<T, FlatTreeControl<T
|
|
|
1276
1360
|
private updateOptionsFocus;
|
|
1277
1361
|
private canDeselectLast;
|
|
1278
1362
|
private isFocusReceivedFromNestedOption;
|
|
1279
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<KbqTreeSelection<any>, never>;
|
|
1280
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KbqTreeSelection<any>, "kbq-tree-selection", ["kbqTreeSelection"], { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "autoSelectInput": { "alias": "autoSelect"; "required": false; "isSignal": true; }; "multipleInput": { "alias": "multiple"; "required": false; "isSignal": true; }; "noUnselectLastInput": { "alias": "noUnselectLast"; "required": false; "isSignal": true; }; "typeAheadInput": { "alias": "typeAhead"; "required": false; "isSignal": true; }; "selectAllToggle": { "alias": "selectAllToggle"; "required": false; "isSignal": true; }; "selectAllInput": { "alias": "selectAll"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "tabIndexInput": { "alias": "tabIndex"; "required": false; "isSignal": true; }; "selectAllHandlerInput": { "alias": "selectAllHandler"; "required": false; "isSignal": true; }; }, { "navigationChange": "navigationChange"; "selectionChangeOutput": "selectionChange"; "selectAllChange": "selectAllChange"; "onSelectAll": "onSelectAll"; "copyChangeOutput": "copyChange"; "onCopyOutput": "onCopy"; }, ["unorderedOptionsQuery"], never, true, [{ directive: typeof i1.KbqStateSaving; inputs: { "useStateSaving": "useStateSaving"; "stateSavingKey": "stateSavingKey"; }; outputs: {}; }, { directive: typeof i1.KbqLocaleOverridesDirective; inputs: { "kbqLocaleOverrides": "localeOverrides"; }; outputs: {}; }]>;
|
|
1363
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<KbqTreeSelection<any, any>, never>;
|
|
1364
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KbqTreeSelection<any, any>, "kbq-tree-selection", ["kbqTreeSelection"], { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "autoSelectInput": { "alias": "autoSelect"; "required": false; "isSignal": true; }; "multipleInput": { "alias": "multiple"; "required": false; "isSignal": true; }; "noUnselectLastInput": { "alias": "noUnselectLast"; "required": false; "isSignal": true; }; "typeAheadInput": { "alias": "typeAhead"; "required": false; "isSignal": true; }; "selectAllToggle": { "alias": "selectAllToggle"; "required": false; "isSignal": true; }; "selectAllInput": { "alias": "selectAll"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "tabIndexInput": { "alias": "tabIndex"; "required": false; "isSignal": true; }; "selectAllHandlerInput": { "alias": "selectAllHandler"; "required": false; "isSignal": true; }; }, { "navigationChange": "navigationChange"; "selectionChangeOutput": "selectionChange"; "selectAllChange": "selectAllChange"; "onSelectAll": "onSelectAll"; "copyChangeOutput": "copyChange"; "onCopyOutput": "onCopy"; }, ["unorderedOptionsQuery"], never, true, [{ directive: typeof i1.KbqStateSaving; inputs: { "useStateSaving": "useStateSaving"; "stateSavingKey": "stateSavingKey"; }; outputs: {}; }, { directive: typeof i1.KbqLocaleOverridesDirective; inputs: { "kbqLocaleOverrides": "localeOverrides"; }; outputs: {}; }]>;
|
|
1281
1365
|
}
|
|
1282
1366
|
|
|
1283
1367
|
declare class KbqTreeModule {
|
|
@@ -1287,4 +1371,4 @@ declare class KbqTreeModule {
|
|
|
1287
1371
|
}
|
|
1288
1372
|
|
|
1289
1373
|
export { BaseTreeControl, FilterByValues, FilterByViewValue, FilterParentsForNodes, FlatTreeControl, KBQ_SELECTION_TREE_VALUE_ACCESSOR, KBQ_TREE_OPTION_PARENT_COMPONENT, KbqTree, KbqTreeBase, KbqTreeCopyEvent, KbqTreeFlatDataSource, KbqTreeFlattener, KbqTreeModule, KbqTreeNavigationChange, KbqTreeNestedDataSource, KbqTreeNode, KbqTreeNodeDef, KbqTreeNodeOutlet, KbqTreeNodeOutletContext, KbqTreeNodePadding, KbqTreeNodeToggleBaseDirective, KbqTreeNodeToggleComponent, KbqTreeNodeToggleDirective, KbqTreeOption, KbqTreeOptionChange, KbqTreeSelectAllEvent, KbqTreeSelection, KbqTreeSelectionChange, NestedTreeControl, defaultCompareValues, defaultCompareViewValues, kbqTreeSelectAllValue };
|
|
1290
|
-
export type { FlatTreeControlFilter, KbqTreeOptionEvent, KbqTreeOptionParent, KbqTreeState, TreeControl };
|
|
1374
|
+
export type { FlatTreeControlFilter, KbqTreeControlOptions, KbqTreeOptionEvent, KbqTreeOptionParent, KbqTreeState, TreeControl };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var warnOnlyMigration = require('../../warn-only-migration-BISJBODk.js');
|
|
6
|
-
var migrations_angularAnimationsRemoval_data = require('./data.js');
|
|
7
|
-
require('../../utils/messages.js');
|
|
8
|
-
require('../../package-config-BhU2TfC8.js');
|
|
9
|
-
require('@angular-devkit/schematics');
|
|
10
|
-
require('@schematics/angular/utility');
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Reports the uses of the removed animation triggers and of the members that carried an `AnimationEvent`.
|
|
14
|
-
* Never writes: what replaces a member depends on what the code did with the event.
|
|
15
|
-
*/
|
|
16
|
-
function angularAnimationsRemoval(options) {
|
|
17
|
-
return warnOnlyMigration.warnOnlyRule({ label: '[angular-animations-removal]', warnPatterns: migrations_angularAnimationsRemoval_data.warnPatterns, summary: migrations_angularAnimationsRemoval_data.SUMMARY }, options);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
exports.default = angularAnimationsRemoval;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var signalMembersMigration = require('../../signal-members-migration-BoAJKutT.js');
|
|
6
|
-
var migrations_colorSignals_data = require('./data.js');
|
|
7
|
-
require('typescript');
|
|
8
|
-
require('../../utils/ast.js');
|
|
9
|
-
require('../../utils/messages.js');
|
|
10
|
-
require('../../package-config-BhU2TfC8.js');
|
|
11
|
-
require('@angular-devkit/schematics');
|
|
12
|
-
require('@schematics/angular/utility');
|
|
13
|
-
require('../../utils/typescript.js');
|
|
14
|
-
|
|
15
|
-
function colorSignals(options) {
|
|
16
|
-
return signalMembersMigration.signalMembersRule(migrations_colorSignals_data.config, options);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
exports.default = colorSignals;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var warnOnlyMigration = require('../../warn-only-migration-BISJBODk.js');
|
|
6
|
-
var migrations_coreMixinsRemoval_data = require('./data.js');
|
|
7
|
-
require('../../utils/messages.js');
|
|
8
|
-
require('../../package-config-BhU2TfC8.js');
|
|
9
|
-
require('@angular-devkit/schematics');
|
|
10
|
-
require('@schematics/angular/utility');
|
|
11
|
-
|
|
12
|
-
/** Reports the uses of the removed `mixinDisabled` and `mixinTabIndex`. Never writes. */
|
|
13
|
-
function coreMixinsRemoval(options) {
|
|
14
|
-
return warnOnlyMigration.warnOnlyRule({ label: '[core-mixins-removal]', warnPatterns: migrations_coreMixinsRemoval_data.warnPatterns, summary: migrations_coreMixinsRemoval_data.SUMMARY }, options);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
exports.default = coreMixinsRemoval;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var warnOnlyMigration = require('../../warn-only-migration-BISJBODk.js');
|
|
6
|
-
var migrations_datepickerSignals_data = require('./data.js');
|
|
7
|
-
require('../../utils/messages.js');
|
|
8
|
-
require('../../package-config-BhU2TfC8.js');
|
|
9
|
-
require('@angular-devkit/schematics');
|
|
10
|
-
require('@schematics/angular/utility');
|
|
11
|
-
|
|
12
|
-
/** Reports subclasses of the datepicker classes and direct calls of their `ngOnChanges`. Never writes. */
|
|
13
|
-
function datepickerSignals(options) {
|
|
14
|
-
return warnOnlyMigration.warnOnlyRule({ label: '[datepicker-signals]', warnPatterns: migrations_datepickerSignals_data.warnPatterns, summary: migrations_datepickerSignals_data.SUMMARY }, options);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
exports.default = datepickerSignals;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var signalMembersMigration = require('../../signal-members-migration-BoAJKutT.js');
|
|
6
|
-
var migrations_dropdownSignals_data = require('./data.js');
|
|
7
|
-
require('typescript');
|
|
8
|
-
require('../../utils/ast.js');
|
|
9
|
-
require('../../utils/messages.js');
|
|
10
|
-
require('../../package-config-BhU2TfC8.js');
|
|
11
|
-
require('@angular-devkit/schematics');
|
|
12
|
-
require('@schematics/angular/utility');
|
|
13
|
-
require('../../utils/typescript.js');
|
|
14
|
-
|
|
15
|
-
function dropdownSignals(options) {
|
|
16
|
-
return signalMembersMigration.signalMembersRule(migrations_dropdownSignals_data.config, options);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
exports.default = dropdownSignals;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var warnOnlyMigration = require('../../warn-only-migration-BISJBODk.js');
|
|
6
|
-
var migrations_inputSignals_data = require('./data.js');
|
|
7
|
-
require('../../utils/messages.js');
|
|
8
|
-
require('../../package-config-BhU2TfC8.js');
|
|
9
|
-
require('@angular-devkit/schematics');
|
|
10
|
-
require('@schematics/angular/utility');
|
|
11
|
-
|
|
12
|
-
/** Reports programmatic writes to the signal inputs of `KbqNumberInput` and `KbqInput`. Never writes. */
|
|
13
|
-
function inputSignals(options) {
|
|
14
|
-
return warnOnlyMigration.warnOnlyRule({ label: '[input-signals]', warnPatterns: migrations_inputSignals_data.warnPatterns, summary: migrations_inputSignals_data.SUMMARY }, options);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
exports.default = inputSignals;
|