@ptsecurity/mosaic 12.0.2 → 12.2.2
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/_theming.scss +475 -101
- package/_visual.scss +131 -13
- package/bundles/ptsecurity-mosaic-autocomplete.umd.js +18 -20
- package/bundles/ptsecurity-mosaic-autocomplete.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-button-toggle.umd.js +15 -17
- package/bundles/ptsecurity-mosaic-button-toggle.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-button.umd.js +17 -19
- package/bundles/ptsecurity-mosaic-button.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-card.umd.js +11 -13
- package/bundles/ptsecurity-mosaic-card.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-checkbox.umd.js +14 -16
- package/bundles/ptsecurity-mosaic-checkbox.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-core.umd.js +259 -172
- package/bundles/ptsecurity-mosaic-core.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-datepicker.umd.js +47 -48
- package/bundles/ptsecurity-mosaic-datepicker.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-design-tokens.umd.js +231 -26
- package/bundles/ptsecurity-mosaic-design-tokens.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-divider.umd.js +11 -13
- package/bundles/ptsecurity-mosaic-divider.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-dropdown.umd.js +67 -59
- package/bundles/ptsecurity-mosaic-dropdown.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-form-field.umd.js +737 -738
- package/bundles/ptsecurity-mosaic-form-field.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-icon.umd.js +14 -16
- package/bundles/ptsecurity-mosaic-icon.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-input.umd.js +45 -33
- package/bundles/ptsecurity-mosaic-input.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-link.umd.js +11 -13
- package/bundles/ptsecurity-mosaic-link.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-list.umd.js +177 -89
- package/bundles/ptsecurity-mosaic-list.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-modal.umd.js +52 -44
- package/bundles/ptsecurity-mosaic-modal.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-navbar.umd.js +46 -43
- package/bundles/ptsecurity-mosaic-navbar.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-popover.umd.js +215 -34
- package/bundles/ptsecurity-mosaic-popover.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-progress-bar.umd.js +12 -14
- package/bundles/ptsecurity-mosaic-progress-bar.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-progress-spinner.umd.js +12 -14
- package/bundles/ptsecurity-mosaic-progress-spinner.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-radio.umd.js +14 -16
- package/bundles/ptsecurity-mosaic-radio.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-select.umd.js +22 -24
- package/bundles/ptsecurity-mosaic-select.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-sidebar.umd.js +17 -19
- package/bundles/ptsecurity-mosaic-sidebar.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-sidepanel.umd.js +62 -58
- package/bundles/ptsecurity-mosaic-sidepanel.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-splitter.umd.js +31 -21
- package/bundles/ptsecurity-mosaic-splitter.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-table.umd.js +11 -13
- package/bundles/ptsecurity-mosaic-table.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-tabs.umd.js +150 -74
- package/bundles/ptsecurity-mosaic-tabs.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-tags.umd.js +28 -29
- package/bundles/ptsecurity-mosaic-tags.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-textarea.umd.js +12 -14
- package/bundles/ptsecurity-mosaic-textarea.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-timepicker.umd.js +16 -17
- package/bundles/ptsecurity-mosaic-timepicker.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-toggle.umd.js +11 -13
- package/bundles/ptsecurity-mosaic-toggle.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-tooltip.umd.js +72 -23
- package/bundles/ptsecurity-mosaic-tooltip.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-tree-select.umd.js +24 -29
- package/bundles/ptsecurity-mosaic-tree-select.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-tree.umd.js +1018 -261
- package/bundles/ptsecurity-mosaic-tree.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic.umd.js +2 -2
- package/core/option/action.d.ts +42 -0
- package/core/option/index.d.ts +1 -0
- package/core/option/option-module.d.ts +4 -3
- package/core/pop-up/pop-up-trigger.d.ts +9 -12
- package/design-tokens/style-dictionary/build.js +6 -0
- package/design-tokens/style-dictionary/configs/index.js +2 -1
- package/design-tokens/tokens/components/badge.json5 +177 -7
- package/design-tokens/tokens/components/list.json5 +0 -4
- package/design-tokens/tokens/components/tree.json5 +3 -3
- package/design-tokens/tokens/properties/globals.json5 +1 -1
- package/design-tokens/tokens/properties/typography.json5 +16 -0
- package/design-tokens/tokens.d.ts +115 -13
- package/dropdown/dropdown-item.component.d.ts +1 -0
- package/dropdown/dropdown-trigger.directive.d.ts +3 -8
- package/dropdown/dropdown.component.d.ts +1 -0
- package/esm2015/autocomplete/autocomplete-origin.directive.js +4 -4
- package/esm2015/autocomplete/autocomplete-trigger.directive.js +4 -4
- package/esm2015/autocomplete/autocomplete.component.js +4 -4
- package/esm2015/autocomplete/autocomplete.module.js +5 -5
- package/esm2015/button/button.component.js +10 -10
- package/esm2015/button/button.module.js +5 -5
- package/esm2015/button-toggle/button-toggle.component.js +7 -7
- package/esm2015/button-toggle/button-toggle.module.js +5 -5
- package/esm2015/card/card.component.js +4 -4
- package/esm2015/card/card.module.js +5 -5
- package/esm2015/checkbox/checkbox-module.js +5 -5
- package/esm2015/checkbox/checkbox-required-validator.js +4 -4
- package/esm2015/checkbox/checkbox.js +4 -4
- package/esm2015/core/common-behaviors/common-module.js +5 -5
- package/esm2015/core/error/error-options.js +7 -7
- package/esm2015/core/formatters/date/formatter.js +6 -5
- package/esm2015/core/formatters/index.js +5 -5
- package/esm2015/core/formatters/number/formatter.js +5 -5
- package/esm2015/core/forms/forms-module.js +5 -5
- package/esm2015/core/forms/forms.directive.js +7 -7
- package/esm2015/core/highlight/highlight.pipe.js +4 -4
- package/esm2015/core/highlight/index.js +5 -5
- package/esm2015/core/line/line.js +8 -8
- package/esm2015/core/option/action.js +131 -0
- package/esm2015/core/option/index.js +2 -1
- package/esm2015/core/option/optgroup.js +4 -4
- package/esm2015/core/option/option-module.js +8 -7
- package/esm2015/core/option/option.js +4 -4
- package/esm2015/core/pop-up/pop-up-trigger.js +32 -64
- package/esm2015/core/pop-up/pop-up.js +4 -4
- package/esm2015/core/selection/pseudo-checkbox/pseudo-checkbox.js +4 -4
- package/esm2015/core/selection/pseudo-checkbox/pseudo-checkbox.module.js +5 -5
- package/esm2015/core/services/measure-scrollbar.service.js +4 -4
- package/esm2015/datepicker/calendar-body.component.js +4 -4
- package/esm2015/datepicker/calendar.component.js +7 -7
- package/esm2015/datepicker/datepicker-input.directive.js +6 -5
- package/esm2015/datepicker/datepicker-intl.js +4 -4
- package/esm2015/datepicker/datepicker-module.js +5 -5
- package/esm2015/datepicker/datepicker-toggle.component.js +7 -7
- package/esm2015/datepicker/datepicker.component.js +7 -7
- package/esm2015/datepicker/month-view.component.js +4 -4
- package/esm2015/datepicker/multi-year-view.component.js +4 -4
- package/esm2015/datepicker/year-view.component.js +4 -4
- package/esm2015/design-tokens/tokens.js +116 -14
- package/esm2015/divider/divider.component.js +4 -4
- package/esm2015/divider/divider.module.js +5 -5
- package/esm2015/dropdown/dropdown-content.directive.js +4 -4
- package/esm2015/dropdown/dropdown-item.component.js +11 -4
- package/esm2015/dropdown/dropdown-trigger.directive.js +39 -39
- package/esm2015/dropdown/dropdown.component.js +9 -5
- package/esm2015/dropdown/dropdown.module.js +5 -5
- package/esm2015/form-field/cleaner.js +9 -5
- package/esm2015/form-field/form-field.js +7 -7
- package/esm2015/form-field/form-field.module.js +5 -5
- package/esm2015/form-field/hint.js +4 -4
- package/esm2015/form-field/prefix.js +4 -4
- package/esm2015/form-field/stepper.js +4 -4
- package/esm2015/form-field/suffix.js +4 -4
- package/esm2015/icon/icon.component.js +7 -7
- package/esm2015/icon/icon.module.js +5 -5
- package/esm2015/input/input-number-validators.js +28 -14
- package/esm2015/input/input-number.js +4 -4
- package/esm2015/input/input.js +7 -7
- package/esm2015/input/input.module.js +5 -5
- package/esm2015/link/link.component.js +4 -4
- package/esm2015/link/link.module.js +5 -5
- package/esm2015/list/list-selection.component.js +155 -66
- package/esm2015/list/list.component.js +7 -7
- package/esm2015/list/list.module.js +5 -5
- package/esm2015/modal/css-unit.pipe.js +4 -4
- package/esm2015/modal/modal-control.service.js +4 -4
- package/esm2015/modal/modal.component.js +6 -4
- package/esm2015/modal/modal.directive.js +13 -13
- package/esm2015/modal/modal.module.js +9 -7
- package/esm2015/modal/modal.service.js +16 -9
- package/esm2015/navbar/navbar-item.component.js +21 -21
- package/esm2015/navbar/navbar.component.js +7 -7
- package/esm2015/navbar/navbar.module.js +5 -5
- package/esm2015/navbar/vertical-navbar.component.js +14 -9
- package/esm2015/popover/popover-confirm.component.js +116 -0
- package/esm2015/popover/popover.component.js +63 -20
- package/esm2015/popover/popover.module.js +13 -10
- package/esm2015/popover/public-api.js +2 -1
- package/esm2015/progress-bar/progress-bar.component.js +4 -4
- package/esm2015/progress-bar/progress-bar.module.js +5 -5
- package/esm2015/progress-spinner/progress-spinner.component.js +4 -4
- package/esm2015/progress-spinner/progress-spinner.module.js +5 -5
- package/esm2015/radio/radio.component.js +7 -7
- package/esm2015/radio/radio.module.js +5 -5
- package/esm2015/select/select.component.js +14 -14
- package/esm2015/select/select.module.js +5 -5
- package/esm2015/sidebar/sidebar.component.js +10 -10
- package/esm2015/sidebar/sidebar.module.js +5 -5
- package/esm2015/sidepanel/sidepanel-container.component.js +14 -13
- package/esm2015/sidepanel/sidepanel-directives.js +22 -18
- package/esm2015/sidepanel/sidepanel.module.js +12 -8
- package/esm2015/sidepanel/sidepanel.service.js +6 -5
- package/esm2015/splitter/splitter.component.js +24 -13
- package/esm2015/splitter/splitter.module.js +5 -5
- package/esm2015/table/table.component.js +4 -4
- package/esm2015/table/table.module.js +5 -5
- package/esm2015/tabs/paginated-tab-header.js +5 -5
- package/esm2015/tabs/tab-body.component.js +7 -7
- package/esm2015/tabs/tab-content.directive.js +4 -4
- package/esm2015/tabs/tab-group.component.js +56 -26
- package/esm2015/tabs/tab-header.component.js +4 -4
- package/esm2015/tabs/tab-label-wrapper.directive.js +21 -6
- package/esm2015/tabs/tab-label.directive.js +4 -4
- package/esm2015/tabs/tab-nav-bar/tab-nav-bar.js +7 -7
- package/esm2015/tabs/tab.component.js +36 -13
- package/esm2015/tabs/tabs.module.js +5 -5
- package/esm2015/tags/tag-input.js +4 -4
- package/esm2015/tags/tag-list.component.js +4 -4
- package/esm2015/tags/tag.component.js +14 -13
- package/esm2015/tags/tag.module.js +5 -5
- package/esm2015/textarea/textarea.component.js +4 -4
- package/esm2015/textarea/textarea.module.js +5 -5
- package/esm2015/timepicker/timepicker.directive.js +9 -8
- package/esm2015/timepicker/timepicker.module.js +5 -5
- package/esm2015/toggle/toggle.component.js +4 -4
- package/esm2015/toggle/toggle.module.js +5 -5
- package/esm2015/tooltip/tooltip.component.js +55 -16
- package/esm2015/tooltip/tooltip.module.js +5 -5
- package/esm2015/tree/control/base-tree-control.js +60 -0
- package/esm2015/tree/control/flat-tree-control.js +123 -0
- package/esm2015/tree/control/nested-tree-control.js +41 -0
- package/esm2015/tree/control/tree-control.js +2 -0
- package/esm2015/tree/data-source/flat-data-source.js +1 -1
- package/esm2015/tree/node.js +31 -0
- package/esm2015/tree/outlet.js +15 -0
- package/esm2015/tree/padding.directive.js +90 -23
- package/esm2015/tree/public-api.js +9 -2
- package/esm2015/tree/toggle.js +46 -52
- package/esm2015/tree/tree-base.js +243 -0
- package/esm2015/tree/tree-errors.js +36 -0
- package/esm2015/tree/tree-option.component.js +75 -32
- package/esm2015/tree/tree-selection.component.js +122 -73
- package/esm2015/tree/tree.js +23 -0
- package/esm2015/tree/tree.module.js +24 -13
- package/esm2015/tree-select/tree-select.component.js +11 -12
- package/esm2015/tree-select/tree-select.module.js +5 -9
- package/fesm2015/ptsecurity-mosaic-autocomplete.js +13 -13
- package/fesm2015/ptsecurity-mosaic-autocomplete.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-button-toggle.js +10 -10
- package/fesm2015/ptsecurity-mosaic-button-toggle.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-button.js +13 -13
- package/fesm2015/ptsecurity-mosaic-button.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-card.js +7 -7
- package/fesm2015/ptsecurity-mosaic-card.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-checkbox.js +10 -10
- package/fesm2015/ptsecurity-mosaic-checkbox.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-core.js +231 -140
- package/fesm2015/ptsecurity-mosaic-core.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-datepicker.js +42 -41
- package/fesm2015/ptsecurity-mosaic-datepicker.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-design-tokens.js +116 -14
- package/fesm2015/ptsecurity-mosaic-design-tokens.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-divider.js +7 -7
- package/fesm2015/ptsecurity-mosaic-divider.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-dropdown.js +63 -52
- package/fesm2015/ptsecurity-mosaic-dropdown.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-form-field.js +30 -27
- package/fesm2015/ptsecurity-mosaic-form-field.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-icon.js +10 -10
- package/fesm2015/ptsecurity-mosaic-icon.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-input.js +40 -26
- package/fesm2015/ptsecurity-mosaic-input.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-link.js +7 -7
- package/fesm2015/ptsecurity-mosaic-link.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-list.js +164 -76
- package/fesm2015/ptsecurity-mosaic-list.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-modal.js +46 -35
- package/fesm2015/ptsecurity-mosaic-modal.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-navbar.js +43 -38
- package/fesm2015/ptsecurity-mosaic-navbar.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-popover.js +179 -30
- package/fesm2015/ptsecurity-mosaic-popover.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-progress-bar.js +7 -7
- package/fesm2015/ptsecurity-mosaic-progress-bar.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-progress-spinner.js +7 -7
- package/fesm2015/ptsecurity-mosaic-progress-spinner.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-radio.js +10 -10
- package/fesm2015/ptsecurity-mosaic-radio.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-select.js +17 -17
- package/fesm2015/ptsecurity-mosaic-select.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-sidebar.js +13 -13
- package/fesm2015/ptsecurity-mosaic-sidebar.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-sidepanel.js +50 -41
- package/fesm2015/ptsecurity-mosaic-sidepanel.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-splitter.js +27 -16
- package/fesm2015/ptsecurity-mosaic-splitter.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-table.js +7 -7
- package/fesm2015/ptsecurity-mosaic-table.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tabs.js +240 -174
- package/fesm2015/ptsecurity-mosaic-tabs.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tags.js +23 -22
- package/fesm2015/ptsecurity-mosaic-tags.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-textarea.js +7 -7
- package/fesm2015/ptsecurity-mosaic-textarea.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-timepicker.js +12 -11
- package/fesm2015/ptsecurity-mosaic-timepicker.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-toggle.js +7 -7
- package/fesm2015/ptsecurity-mosaic-toggle.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tooltip.js +57 -18
- package/fesm2015/ptsecurity-mosaic-tooltip.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree-select.js +14 -18
- package/fesm2015/ptsecurity-mosaic-tree-select.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree.js +874 -190
- package/fesm2015/ptsecurity-mosaic-tree.js.map +1 -1
- package/form-field/cleaner.d.ts +2 -0
- package/input/input-number-validators.d.ts +2 -2
- package/list/list-selection.component.d.ts +28 -6
- package/modal/modal.component.d.ts +2 -0
- package/modal/modal.module.d.ts +1 -1
- package/package.json +5 -5
- package/popover/popover-confirm.component.d.ts +33 -0
- package/popover/popover.component.d.ts +14 -4
- package/popover/popover.module.d.ts +6 -3
- package/popover/public-api.d.ts +1 -0
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/default-theme.css +1 -1
- package/prebuilt-visual/default-visual.css +1 -1
- package/select/select.component.d.ts +2 -7
- package/sidepanel/sidepanel-directives.d.ts +2 -0
- package/sidepanel/sidepanel.module.d.ts +2 -1
- package/splitter/splitter.component.d.ts +6 -3
- package/tabs/tab-group.component.d.ts +11 -4
- package/tabs/tab-label-wrapper.directive.d.ts +7 -1
- package/tabs/tab.component.d.ts +10 -4
- package/tooltip/tooltip.component.d.ts +12 -3
- package/tree/control/base-tree-control.d.ts +40 -0
- package/tree/control/flat-tree-control.d.ts +48 -0
- package/tree/control/nested-tree-control.d.ts +19 -0
- package/tree/control/tree-control.d.ts +44 -0
- package/tree/data-source/flat-data-source.d.ts +2 -1
- package/tree/node.d.ts +34 -0
- package/tree/outlet.d.ts +9 -0
- package/tree/padding.directive.d.ts +35 -7
- package/tree/public-api.d.ts +8 -1
- package/tree/toggle.d.ts +17 -17
- package/tree/tree-base.d.ts +97 -0
- package/tree/tree-errors.d.ts +25 -0
- package/tree/tree-option.component.d.ts +13 -5
- package/tree/tree-selection.component.d.ts +32 -13
- package/tree/tree.d.ts +6 -0
- package/tree/tree.module.d.ts +10 -8
- package/tree-select/tree-select.component.d.ts +2 -7
- package/tree-select/tree-select.module.d.ts +5 -6
- package/esm2015/tree/node.directive.js +0 -19
- package/tree/node.directive.d.ts +0 -7
@@ -1,13 +1,26 @@
|
|
1
|
+
import { Clipboard } from '@angular/cdk/clipboard';
|
1
2
|
import { SelectionModel } from '@angular/cdk/collections';
|
2
3
|
import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, IterableDiffer, IterableDiffers, QueryList, ViewContainerRef } from '@angular/core';
|
3
4
|
import { ControlValueAccessor } from '@angular/forms';
|
4
5
|
import { FocusKeyManager } from '@ptsecurity/cdk/a11y';
|
5
|
-
import { CdkTree, CdkTreeNodeOutlet, FlatTreeControl } from '@ptsecurity/cdk/tree';
|
6
6
|
import { CanDisable, HasTabIndex, MultipleMode } from '@ptsecurity/mosaic/core';
|
7
7
|
import { Observable } from 'rxjs';
|
8
|
+
import { FlatTreeControl } from './control/flat-tree-control';
|
9
|
+
import { McTreeNodeOutlet } from './outlet';
|
10
|
+
import { McTreeBase } from './tree-base';
|
8
11
|
import { McTreeOption, McTreeOptionEvent } from './tree-option.component';
|
9
12
|
import * as i0 from "@angular/core";
|
10
13
|
export declare const MC_SELECTION_TREE_VALUE_ACCESSOR: any;
|
14
|
+
export declare class McTreeSelectAllEvent<T> {
|
15
|
+
source: McTreeSelection;
|
16
|
+
options: T[];
|
17
|
+
constructor(source: McTreeSelection, options: T[]);
|
18
|
+
}
|
19
|
+
export declare class McTreeCopyEvent<T> {
|
20
|
+
source: McTreeSelection;
|
21
|
+
option: T;
|
22
|
+
constructor(source: McTreeSelection, option: T);
|
23
|
+
}
|
11
24
|
export declare class McTreeNavigationChange<T> {
|
12
25
|
source: McTreeSelection;
|
13
26
|
option: T;
|
@@ -22,19 +35,22 @@ interface SelectionModelOption {
|
|
22
35
|
id: number | string;
|
23
36
|
value: string;
|
24
37
|
}
|
25
|
-
export declare class McTreeSelection extends
|
38
|
+
export declare class McTreeSelection extends McTreeBase<any> implements ControlValueAccessor, AfterContentInit, CanDisable, HasTabIndex {
|
26
39
|
private elementRef;
|
27
|
-
|
28
|
-
unorderedOptions: QueryList<McTreeOption>;
|
40
|
+
private clipboard;
|
29
41
|
renderedOptions: QueryList<McTreeOption>;
|
30
42
|
keyManager: FocusKeyManager<McTreeOption>;
|
31
43
|
selectionModel: SelectionModel<SelectionModelOption>;
|
32
44
|
resetFocusedItemOnBlur: boolean;
|
33
|
-
treeControl: FlatTreeControl<McTreeOption>;
|
34
|
-
readonly navigationChange: EventEmitter<McTreeNavigationChange<McTreeOption>>;
|
35
|
-
readonly selectionChange: EventEmitter<McTreeSelectionChange<McTreeOption>>;
|
36
45
|
multipleMode: MultipleMode | null;
|
37
46
|
userTabIndex: number | null;
|
47
|
+
nodeOutlet: McTreeNodeOutlet;
|
48
|
+
unorderedOptions: QueryList<McTreeOption>;
|
49
|
+
treeControl: FlatTreeControl<any>;
|
50
|
+
readonly navigationChange: EventEmitter<McTreeNavigationChange<McTreeOption>>;
|
51
|
+
readonly selectionChange: EventEmitter<McTreeSelectionChange<McTreeOption>>;
|
52
|
+
readonly onSelectAll: EventEmitter<McTreeSelectAllEvent<McTreeOption>>;
|
53
|
+
readonly onCopy: EventEmitter<McTreeCopyEvent<McTreeOption>>;
|
38
54
|
private sortedNodes;
|
39
55
|
get autoSelect(): boolean;
|
40
56
|
set autoSelect(value: boolean);
|
@@ -55,7 +71,7 @@ export declare class McTreeSelection extends CdkTree<McTreeOption> implements Co
|
|
55
71
|
private readonly destroy;
|
56
72
|
private optionFocusSubscription;
|
57
73
|
private optionBlurSubscription;
|
58
|
-
constructor(elementRef: ElementRef, differs: IterableDiffers, changeDetectorRef: ChangeDetectorRef, multiple: MultipleMode);
|
74
|
+
constructor(elementRef: ElementRef, differs: IterableDiffers, changeDetectorRef: ChangeDetectorRef, multiple: MultipleMode, clipboard: Clipboard);
|
59
75
|
ngAfterContentInit(): void;
|
60
76
|
ngOnDestroy(): void;
|
61
77
|
focus($event: any): void;
|
@@ -68,10 +84,10 @@ export declare class McTreeSelection extends CdkTree<McTreeOption> implements Co
|
|
68
84
|
setFocusedOption(option: McTreeOption): void;
|
69
85
|
toggleFocusedOption(): void;
|
70
86
|
renderNodeChanges(data: McTreeOption[], dataDiffer?: IterableDiffer<McTreeOption>, viewContainer?: ViewContainerRef, parentData?: McTreeOption): void;
|
71
|
-
getHeight(): number;
|
72
|
-
getItemHeight(): number;
|
73
87
|
emitNavigationEvent(option: McTreeOption): void;
|
74
88
|
emitChangeEvent(option: McTreeOption): void;
|
89
|
+
selectAllOptions(): void;
|
90
|
+
copyActiveOption(): void;
|
75
91
|
writeValue(value: any): void;
|
76
92
|
/** `View -> model callback called when value changes` */
|
77
93
|
onChange: (value: any) => void;
|
@@ -85,7 +101,10 @@ export declare class McTreeSelection extends CdkTree<McTreeOption> implements Co
|
|
85
101
|
setDisabledState(isDisabled: boolean): void;
|
86
102
|
setOptionsFromValues(values: any[]): void;
|
87
103
|
getSelectedValues(): any[];
|
88
|
-
|
104
|
+
getItemHeight(): number;
|
105
|
+
private onCopyDefaultHandler;
|
106
|
+
private getHeight;
|
107
|
+
private updateTabIndex;
|
89
108
|
private updateRenderedOptions;
|
90
109
|
private getSortedNodes;
|
91
110
|
private allowFocusEscape;
|
@@ -104,7 +123,7 @@ export declare class McTreeSelection extends CdkTree<McTreeOption> implements Co
|
|
104
123
|
private updateOptionsFocus;
|
105
124
|
private canDeselectLast;
|
106
125
|
private isFocusReceivedFromNestedOption;
|
107
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<McTreeSelection, [null, null, null, { attribute: "multiple"; }]>;
|
108
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McTreeSelection, "mc-tree-selection", ["mcTreeSelection"], { "treeControl": "treeControl"; "autoSelect": "autoSelect"; "noUnselectLast": "noUnselectLast"; "disabled": "disabled"; "tabIndex": "tabIndex"; }, { "navigationChange": "navigationChange"; "selectionChange": "selectionChange"; }, ["unorderedOptions"], never>;
|
126
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McTreeSelection, [null, null, null, { attribute: "multiple"; }, { optional: true; }]>;
|
127
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McTreeSelection, "mc-tree-selection", ["mcTreeSelection"], { "treeControl": "treeControl"; "autoSelect": "autoSelect"; "noUnselectLast": "noUnselectLast"; "disabled": "disabled"; "tabIndex": "tabIndex"; }, { "navigationChange": "navigationChange"; "selectionChange": "selectionChange"; "onSelectAll": "onSelectAll"; "onCopy": "onCopy"; }, ["unorderedOptions"], never>;
|
109
128
|
}
|
110
129
|
export {};
|
package/tree/tree.d.ts
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
import { McTreeBase } from './tree-base';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class McTree extends McTreeBase<any> {
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McTree, never>;
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McTree, "mc-tree", ["mcTree"], {}, {}, never, never>;
|
6
|
+
}
|
package/tree/tree.module.d.ts
CHANGED
@@ -1,14 +1,16 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./
|
3
|
-
import * as i2 from "./
|
4
|
-
import * as i3 from "./
|
2
|
+
import * as i1 from "./outlet";
|
3
|
+
import * as i2 from "./node";
|
4
|
+
import * as i3 from "./tree-base";
|
5
5
|
import * as i4 from "./padding.directive";
|
6
|
-
import * as i5 from "./
|
7
|
-
import * as i6 from "
|
8
|
-
import * as i7 from "
|
9
|
-
import * as i8 from "
|
6
|
+
import * as i5 from "./tree";
|
7
|
+
import * as i6 from "./tree-selection.component";
|
8
|
+
import * as i7 from "./tree-option.component";
|
9
|
+
import * as i8 from "./toggle";
|
10
|
+
import * as i9 from "@angular/common";
|
11
|
+
import * as i10 from "@ptsecurity/mosaic/core";
|
10
12
|
export declare class McTreeModule {
|
11
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<McTreeModule, never>;
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<McTreeModule, [typeof i1.
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McTreeModule, [typeof i1.McTreeNodeOutlet, typeof i2.McTreeNodeDef, typeof i3.McTreeNode, typeof i4.McTreeNodePadding, typeof i5.McTree, typeof i6.McTreeSelection, typeof i7.McTreeOption, typeof i8.McTreeNodeToggleComponent, typeof i8.McTreeNodeToggleDirective], [typeof i9.CommonModule, typeof i10.McPseudoCheckboxModule], [typeof i1.McTreeNodeOutlet, typeof i2.McTreeNodeDef, typeof i3.McTreeNode, typeof i4.McTreeNodePadding, typeof i5.McTree, typeof i6.McTreeSelection, typeof i7.McTreeOption, typeof i8.McTreeNodeToggleComponent, typeof i8.McTreeNodeToggleDirective]>;
|
13
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<McTreeModule>;
|
14
16
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Directionality } from '@angular/cdk/bidi';
|
2
2
|
import { SelectionModel } from '@angular/cdk/collections';
|
3
|
-
import { CdkConnectedOverlay, ViewportRuler } from '@angular/cdk/overlay';
|
3
|
+
import { CdkConnectedOverlay, ConnectedPosition, ViewportRuler } from '@angular/cdk/overlay';
|
4
4
|
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, DoCheck, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, QueryList, Renderer2, SimpleChanges } from '@angular/core';
|
5
5
|
import { ControlValueAccessor, FormControlName, FormGroupDirective, NgControl, NgForm, NgModel, Validator } from '@angular/forms';
|
6
6
|
import { CanDisable, CanUpdateErrorState, ErrorStateMatcher, HasTabIndex, CanDisableCtor, HasTabIndexCtor, CanUpdateErrorStateCtor, McValidationOptions } from '@ptsecurity/mosaic/core';
|
@@ -68,12 +68,7 @@ export declare class McTreeSelect extends McTreeSelectMixinBase implements After
|
|
68
68
|
* the trigger completely). If the panel cannot fit below the trigger, it
|
69
69
|
* will fall back to a position above the trigger.
|
70
70
|
*/
|
71
|
-
positions:
|
72
|
-
originX: string;
|
73
|
-
originY: string;
|
74
|
-
overlayX: string;
|
75
|
-
overlayY: string;
|
76
|
-
}[];
|
71
|
+
positions: ConnectedPosition[];
|
77
72
|
options: QueryList<McTreeOption>;
|
78
73
|
trigger: ElementRef;
|
79
74
|
panel: ElementRef;
|
@@ -2,13 +2,12 @@ import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./tree-select.component";
|
3
3
|
import * as i2 from "@angular/common";
|
4
4
|
import * as i3 from "@angular/cdk/overlay";
|
5
|
-
import * as i4 from "@ptsecurity/
|
6
|
-
import * as i5 from "@ptsecurity/mosaic/
|
7
|
-
import * as i6 from "@ptsecurity/mosaic/
|
8
|
-
import * as i7 from "@ptsecurity/mosaic/
|
9
|
-
import * as i8 from "@ptsecurity/mosaic/core";
|
5
|
+
import * as i4 from "@ptsecurity/mosaic/tree";
|
6
|
+
import * as i5 from "@ptsecurity/mosaic/icon";
|
7
|
+
import * as i6 from "@ptsecurity/mosaic/tags";
|
8
|
+
import * as i7 from "@ptsecurity/mosaic/core";
|
10
9
|
export declare class McTreeSelectModule {
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<McTreeSelectModule, never>;
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<McTreeSelectModule, [typeof i1.McTreeSelect, typeof i1.McTreeSelectTrigger], [typeof i2.CommonModule, typeof i3.OverlayModule, typeof i4.
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McTreeSelectModule, [typeof i1.McTreeSelect, typeof i1.McTreeSelectTrigger], [typeof i2.CommonModule, typeof i3.OverlayModule, typeof i4.McTreeModule, typeof i5.McIconModule, typeof i6.McTagsModule, typeof i7.McPseudoCheckboxModule], [typeof i1.McTreeSelect, typeof i1.McTreeSelectTrigger, typeof i2.CommonModule]>;
|
13
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<McTreeSelectModule>;
|
14
13
|
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { Directive, Input } from '@angular/core';
|
2
|
-
import { CdkTreeNodeDef } from '@ptsecurity/cdk/tree';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export class McTreeNodeDef extends CdkTreeNodeDef {
|
5
|
-
}
|
6
|
-
/** @nocollapse */ McTreeNodeDef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0, type: McTreeNodeDef, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
7
|
-
/** @nocollapse */ McTreeNodeDef.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: McTreeNodeDef, selector: "[mcTreeNodeDef]", inputs: { when: ["mcTreeNodeDefWhen", "when"], data: ["mcTreeNode", "data"] }, providers: [{ provide: CdkTreeNodeDef, useExisting: McTreeNodeDef }], usesInheritance: true, ngImport: i0 });
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0, type: McTreeNodeDef, decorators: [{
|
9
|
-
type: Directive,
|
10
|
-
args: [{
|
11
|
-
selector: '[mcTreeNodeDef]',
|
12
|
-
inputs: ['when: mcTreeNodeDefWhen'],
|
13
|
-
providers: [{ provide: CdkTreeNodeDef, useExisting: McTreeNodeDef }]
|
14
|
-
}]
|
15
|
-
}], propDecorators: { data: [{
|
16
|
-
type: Input,
|
17
|
-
args: ['mcTreeNode']
|
18
|
-
}] } });
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9tb3NhaWMvdHJlZS9ub2RlLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNqRCxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sc0JBQXNCLENBQUM7O0FBUXRELE1BQU0sT0FBTyxhQUFpQixTQUFRLGNBQWlCOzs2SEFBMUMsYUFBYTtpSEFBYixhQUFhLHlIQUZYLENBQUMsRUFBRSxPQUFPLEVBQUUsY0FBYyxFQUFFLFdBQVcsRUFBRSxhQUFhLEVBQUUsQ0FBQzsyRkFFM0QsYUFBYTtrQkFMekIsU0FBUzttQkFBQztvQkFDUCxRQUFRLEVBQUUsaUJBQWlCO29CQUMzQixNQUFNLEVBQUUsQ0FBQyx5QkFBeUIsQ0FBQztvQkFDbkMsU0FBUyxFQUFFLENBQUMsRUFBRSxPQUFPLEVBQUUsY0FBYyxFQUFFLFdBQVcsZUFBZSxFQUFFLENBQUM7aUJBQ3ZFOzhCQUV3QixJQUFJO3NCQUF4QixLQUFLO3VCQUFDLFlBQVkiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUsIElucHV0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDZGtUcmVlTm9kZURlZiB9IGZyb20gJ0BwdHNlY3VyaXR5L2Nkay90cmVlJztcblxuXG5ARGlyZWN0aXZlKHtcbiAgICBzZWxlY3RvcjogJ1ttY1RyZWVOb2RlRGVmXScsXG4gICAgaW5wdXRzOiBbJ3doZW46IG1jVHJlZU5vZGVEZWZXaGVuJ10sXG4gICAgcHJvdmlkZXJzOiBbeyBwcm92aWRlOiBDZGtUcmVlTm9kZURlZiwgdXNlRXhpc3Rpbmc6IE1jVHJlZU5vZGVEZWYgfV1cbn0pXG5leHBvcnQgY2xhc3MgTWNUcmVlTm9kZURlZjxUPiBleHRlbmRzIENka1RyZWVOb2RlRGVmPFQ+IHtcbiAgICBASW5wdXQoJ21jVHJlZU5vZGUnKSBkYXRhOiBUO1xufVxuIl19
|
package/tree/node.directive.d.ts
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
import { CdkTreeNodeDef } from '@ptsecurity/cdk/tree';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class McTreeNodeDef<T> extends CdkTreeNodeDef<T> {
|
4
|
-
data: T;
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<McTreeNodeDef<any>, never>;
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McTreeNodeDef<any>, "[mcTreeNodeDef]", never, { "when": "mcTreeNodeDefWhen"; "data": "mcTreeNode"; }, {}, never>;
|
7
|
-
}
|