@ptsecurity/mosaic 11.6.0 → 12.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_theming.scss +407 -99
- package/_visual.scss +63 -26
- package/autocomplete/autocomplete-origin.directive.d.ts +3 -0
- package/autocomplete/autocomplete-trigger.directive.d.ts +3 -0
- package/autocomplete/autocomplete.component.d.ts +3 -0
- package/autocomplete/autocomplete.module.d.ts +10 -0
- package/autocomplete/package.json +0 -1
- package/autocomplete/ptsecurity-mosaic-autocomplete.d.ts +1 -0
- package/bundles/ptsecurity-mosaic-autocomplete.umd.js +178 -114
- package/bundles/ptsecurity-mosaic-autocomplete.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-button-toggle.umd.js +107 -71
- package/bundles/ptsecurity-mosaic-button-toggle.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-button.umd.js +106 -77
- package/bundles/ptsecurity-mosaic-button.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-card.umd.js +74 -43
- package/bundles/ptsecurity-mosaic-card.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-checkbox.umd.js +114 -69
- package/bundles/ptsecurity-mosaic-checkbox.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-core.umd.js +804 -256
- package/bundles/ptsecurity-mosaic-core.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-datepicker.umd.js +599 -420
- package/bundles/ptsecurity-mosaic-datepicker.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-design-tokens.umd.js +108 -26
- package/bundles/ptsecurity-mosaic-design-tokens.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-divider.umd.js +55 -28
- package/bundles/ptsecurity-mosaic-divider.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-dropdown.umd.js +263 -187
- package/bundles/ptsecurity-mosaic-dropdown.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-form-field.umd.js +200 -125
- package/bundles/ptsecurity-mosaic-form-field.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-icon.umd.js +79 -41
- package/bundles/ptsecurity-mosaic-icon.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-input.umd.js +222 -124
- package/bundles/ptsecurity-mosaic-input.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-link.umd.js +76 -45
- package/bundles/ptsecurity-mosaic-link.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-list.umd.js +344 -200
- package/bundles/ptsecurity-mosaic-list.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-modal.umd.js +324 -220
- package/bundles/ptsecurity-mosaic-modal.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-navbar.umd.js +289 -208
- package/bundles/ptsecurity-mosaic-navbar.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-popover.umd.js +346 -640
- package/bundles/ptsecurity-mosaic-popover.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-progress-bar.umd.js +69 -40
- package/bundles/ptsecurity-mosaic-progress-bar.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-progress-spinner.umd.js +69 -40
- package/bundles/ptsecurity-mosaic-progress-spinner.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-radio.umd.js +126 -81
- package/bundles/ptsecurity-mosaic-radio.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-select.umd.js +276 -154
- package/bundles/ptsecurity-mosaic-select.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-sidebar.umd.js +105 -68
- package/bundles/ptsecurity-mosaic-sidebar.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-sidepanel.umd.js +236 -158
- package/bundles/ptsecurity-mosaic-sidepanel.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-splitter.umd.js +112 -83
- package/bundles/ptsecurity-mosaic-splitter.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-table.umd.js +77 -44
- package/bundles/ptsecurity-mosaic-table.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-tabs.umd.js +894 -687
- package/bundles/ptsecurity-mosaic-tabs.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-tags.umd.js +313 -209
- package/bundles/ptsecurity-mosaic-tags.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-textarea.umd.js +107 -53
- package/bundles/ptsecurity-mosaic-textarea.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-timepicker.umd.js +116 -71
- package/bundles/ptsecurity-mosaic-timepicker.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-toggle.umd.js +97 -58
- package/bundles/ptsecurity-mosaic-toggle.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-tooltip.umd.js +347 -615
- package/bundles/ptsecurity-mosaic-tooltip.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-tree-select.umd.js +223 -118
- package/bundles/ptsecurity-mosaic-tree-select.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-tree.umd.js +1162 -344
- package/bundles/ptsecurity-mosaic-tree.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic.umd.js +2 -2
- package/button/button.component.d.ts +7 -0
- package/button/button.module.d.ts +8 -0
- package/button/package.json +0 -1
- package/button/ptsecurity-mosaic-button.d.ts +1 -0
- package/button-toggle/button-toggle.component.d.ts +5 -0
- package/button-toggle/button-toggle.module.d.ts +7 -0
- package/button-toggle/package.json +0 -1
- package/button-toggle/ptsecurity-mosaic-button-toggle.d.ts +1 -0
- package/card/card.component.d.ts +3 -0
- package/card/card.module.d.ts +8 -0
- package/card/package.json +0 -1
- package/card/ptsecurity-mosaic-card.d.ts +1 -0
- package/checkbox/checkbox-module.d.ts +7 -0
- package/checkbox/checkbox-required-validator.d.ts +3 -0
- package/checkbox/checkbox.d.ts +3 -0
- package/checkbox/package.json +0 -1
- package/checkbox/ptsecurity-mosaic-checkbox.d.ts +1 -0
- package/core/common-behaviors/color.d.ts +3 -3
- package/core/common-behaviors/common-module.d.ts +5 -0
- package/core/common-behaviors/disabled.d.ts +4 -3
- package/core/common-behaviors/tabindex.d.ts +2 -1
- package/core/error/error-options.d.ts +5 -0
- package/core/formatters/date/formatter.d.ts +3 -0
- package/core/formatters/index.d.ts +5 -0
- package/core/formatters/number/formatter.d.ts +4 -0
- package/core/forms/forms-module.d.ts +5 -0
- package/core/forms/forms.directive.d.ts +5 -0
- package/core/highlight/highlight.pipe.d.ts +3 -0
- package/core/highlight/index.d.ts +6 -0
- package/core/line/line.d.ts +6 -0
- package/core/option/action.d.ts +42 -0
- package/core/option/index.d.ts +1 -0
- package/core/option/optgroup.d.ts +3 -0
- package/core/option/option-module.d.ts +9 -0
- package/core/option/option.d.ts +3 -0
- package/core/overlay/overlay-position-map.d.ts +0 -4
- package/core/package.json +0 -1
- package/core/pop-up/constants.d.ts +29 -0
- package/core/pop-up/index.d.ts +3 -0
- package/core/pop-up/pop-up-trigger.d.ts +70 -0
- package/core/pop-up/pop-up.d.ts +35 -0
- package/core/ptsecurity-mosaic-core.d.ts +1 -1
- package/core/public-api.d.ts +1 -0
- package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +3 -0
- package/core/selection/pseudo-checkbox/pseudo-checkbox.module.d.ts +6 -0
- package/core/services/measure-scrollbar.service.d.ts +3 -0
- package/datepicker/calendar-body.component.d.ts +5 -6
- package/datepicker/calendar.component.d.ts +5 -0
- package/datepicker/datepicker-input.directive.d.ts +6 -2
- package/datepicker/datepicker-intl.d.ts +3 -0
- package/datepicker/datepicker-module.d.ts +18 -0
- package/datepicker/datepicker-toggle.component.d.ts +5 -0
- package/datepicker/datepicker.component.d.ts +5 -0
- package/datepicker/month-view.component.d.ts +3 -0
- package/datepicker/multi-year-view.component.d.ts +3 -0
- package/datepicker/package.json +0 -1
- package/datepicker/ptsecurity-mosaic-datepicker.d.ts +1 -0
- package/datepicker/year-view.component.d.ts +3 -0
- package/design-tokens/package.json +0 -1
- package/design-tokens/ptsecurity-mosaic-design-tokens.d.ts +1 -0
- package/design-tokens/tokens/components/list.json5 +0 -4
- package/design-tokens/tokens/components/popover.json5 +32 -4
- package/design-tokens/tokens/components/tooltip.json5 +49 -3
- package/design-tokens/tokens/components/tree.json5 +3 -3
- package/design-tokens/tokens/properties/globals.json5 +1 -1
- package/design-tokens/tokens.d.ts +56 -15
- package/divider/divider.component.d.ts +3 -0
- package/divider/divider.module.d.ts +6 -0
- package/divider/package.json +0 -1
- package/divider/ptsecurity-mosaic-divider.d.ts +1 -0
- package/dropdown/dropdown-content.directive.d.ts +3 -0
- package/dropdown/dropdown-item.component.d.ts +3 -0
- package/dropdown/dropdown-trigger.directive.d.ts +6 -8
- package/dropdown/dropdown.component.d.ts +5 -1
- package/dropdown/dropdown.module.d.ts +11 -0
- package/dropdown/package.json +0 -1
- package/dropdown/ptsecurity-mosaic-dropdown.d.ts +1 -0
- package/esm2015/autocomplete/autocomplete-origin.directive.js +11 -11
- package/esm2015/autocomplete/autocomplete-trigger.directive.js +53 -38
- package/esm2015/autocomplete/autocomplete.component.js +56 -37
- package/esm2015/autocomplete/autocomplete.module.js +25 -15
- package/esm2015/button/button.component.js +52 -56
- package/esm2015/button/button.module.js +35 -20
- package/esm2015/button-toggle/button-toggle.component.js +76 -55
- package/esm2015/button-toggle/button-toggle.module.js +13 -8
- package/esm2015/card/card.component.js +32 -30
- package/esm2015/card/card.module.js +23 -12
- package/esm2015/checkbox/checkbox-module.js +13 -8
- package/esm2015/checkbox/checkbox-required-validator.js +12 -8
- package/esm2015/checkbox/checkbox.js +61 -44
- package/esm2015/core/common-behaviors/color.js +2 -5
- package/esm2015/core/common-behaviors/common-module.js +17 -11
- package/esm2015/core/common-behaviors/disabled.js +1 -1
- package/esm2015/core/common-behaviors/tabindex.js +4 -13
- package/esm2015/core/error/error-options.js +12 -8
- package/esm2015/core/formatters/date/formatter.js +13 -10
- package/esm2015/core/formatters/index.js +13 -8
- package/esm2015/core/formatters/number/formatter.js +16 -10
- package/esm2015/core/forms/forms-module.js +20 -13
- package/esm2015/core/forms/forms.directive.js +32 -29
- package/esm2015/core/highlight/highlight.pipe.js +8 -4
- package/esm2015/core/highlight/index.js +13 -8
- package/esm2015/core/line/line.js +22 -14
- package/esm2015/core/option/action.js +131 -0
- package/esm2015/core/option/index.js +2 -1
- package/esm2015/core/option/optgroup.js +22 -19
- package/esm2015/core/option/option-module.js +14 -8
- package/esm2015/core/option/option.js +44 -35
- package/esm2015/core/overlay/overlay-position-map.js +16 -18
- package/esm2015/core/pop-up/constants.js +34 -0
- package/esm2015/core/pop-up/index.js +4 -0
- package/esm2015/core/pop-up/pop-up-trigger.js +241 -0
- package/esm2015/core/pop-up/pop-up.js +87 -0
- package/esm2015/core/ptsecurity-mosaic-core.js +1 -2
- package/esm2015/core/public-api.js +2 -1
- package/esm2015/core/selection/pseudo-checkbox/pseudo-checkbox.js +25 -21
- package/esm2015/core/selection/pseudo-checkbox/pseudo-checkbox.module.js +13 -8
- package/esm2015/core/services/measure-scrollbar.service.js +12 -12
- package/esm2015/datepicker/calendar-body.component.js +39 -32
- package/esm2015/datepicker/calendar.component.js +92 -58
- package/esm2015/datepicker/datepicker-input.directive.js +92 -61
- package/esm2015/datepicker/datepicker-intl.js +7 -5
- package/esm2015/datepicker/datepicker-module.js +89 -48
- package/esm2015/datepicker/datepicker-toggle.component.js +44 -32
- package/esm2015/datepicker/datepicker.component.js +88 -63
- package/esm2015/datepicker/month-view.component.js +48 -29
- package/esm2015/datepicker/multi-year-view.component.js +40 -27
- package/esm2015/datepicker/year-view.component.js +45 -28
- package/esm2015/design-tokens/tokens.js +57 -16
- package/esm2015/divider/divider.component.js +24 -20
- package/esm2015/divider/divider.module.js +13 -8
- package/esm2015/dropdown/dropdown-content.directive.js +13 -15
- package/esm2015/dropdown/dropdown-item.component.js +40 -30
- package/esm2015/dropdown/dropdown-trigger.directive.js +75 -67
- package/esm2015/dropdown/dropdown.component.js +63 -38
- package/esm2015/dropdown/dropdown.module.js +40 -23
- package/esm2015/form-field/cleaner.js +20 -11
- package/esm2015/form-field/form-field.js +77 -53
- package/esm2015/form-field/form-field.module.js +41 -24
- package/esm2015/form-field/hint.js +16 -13
- package/esm2015/form-field/prefix.js +10 -6
- package/esm2015/form-field/stepper.js +22 -11
- package/esm2015/form-field/suffix.js +10 -6
- package/esm2015/icon/icon.component.js +27 -22
- package/esm2015/icon/icon.module.js +31 -18
- package/esm2015/input/input-number-validators.js +48 -29
- package/esm2015/input/input-number.js +42 -28
- package/esm2015/input/input.js +94 -52
- package/esm2015/input/input.module.js +13 -8
- package/esm2015/link/link.component.js +38 -34
- package/esm2015/link/link.module.js +20 -11
- package/esm2015/list/list-selection.component.js +224 -122
- package/esm2015/list/list.component.js +35 -32
- package/esm2015/list/list.module.js +47 -25
- package/esm2015/modal/css-unit.pipe.js +10 -6
- package/esm2015/modal/modal-control.service.js +11 -8
- package/esm2015/modal/modal.component.js +107 -61
- package/esm2015/modal/modal.directive.js +43 -30
- package/esm2015/modal/modal.module.js +59 -31
- package/esm2015/modal/modal.service.js +9 -9
- package/esm2015/modal/ptsecurity-mosaic-modal.js +1 -3
- package/esm2015/navbar/navbar-item.component.js +111 -95
- package/esm2015/navbar/navbar.component.js +40 -30
- package/esm2015/navbar/navbar.module.js +66 -35
- package/esm2015/navbar/ptsecurity-mosaic-navbar.js +1 -2
- package/esm2015/navbar/vertical-navbar.component.js +68 -46
- package/esm2015/popover/popover-confirm.component.js +115 -0
- package/esm2015/popover/popover.component.js +180 -587
- package/esm2015/popover/popover.module.js +18 -12
- package/esm2015/popover/public-api.js +2 -1
- package/esm2015/progress-bar/progress-bar.component.js +26 -24
- package/esm2015/progress-bar/progress-bar.module.js +24 -15
- package/esm2015/progress-spinner/progress-spinner.component.js +26 -24
- package/esm2015/progress-spinner/progress-spinner.module.js +24 -15
- package/esm2015/radio/radio.component.js +87 -67
- package/esm2015/radio/radio.module.js +13 -8
- package/esm2015/select/select.component.js +181 -105
- package/esm2015/select/select.module.js +54 -28
- package/esm2015/sidebar/ptsecurity-mosaic-sidebar.js +1 -2
- package/esm2015/sidebar/sidebar.component.js +61 -50
- package/esm2015/sidebar/sidebar.module.js +25 -16
- package/esm2015/sidepanel/ptsecurity-mosaic-sidepanel.js +1 -2
- package/esm2015/sidepanel/sidepanel-container.component.js +46 -40
- package/esm2015/sidepanel/sidepanel-directives.js +87 -57
- package/esm2015/sidepanel/sidepanel.module.js +63 -30
- package/esm2015/sidepanel/sidepanel.service.js +20 -12
- package/esm2015/splitter/splitter.component.js +62 -64
- package/esm2015/splitter/splitter.module.js +32 -19
- package/esm2015/table/table.component.js +13 -9
- package/esm2015/table/table.module.js +23 -12
- package/esm2015/tabs/paginated-tab-header.js +20 -18
- package/esm2015/tabs/ptsecurity-mosaic-tabs.js +1 -6
- package/esm2015/tabs/tab-body.component.js +52 -42
- package/esm2015/tabs/tab-content.directive.js +8 -8
- package/esm2015/tabs/tab-group.component.js +145 -74
- package/esm2015/tabs/tab-header.component.js +50 -36
- package/esm2015/tabs/tab-label-wrapper.directive.js +30 -16
- package/esm2015/tabs/tab-label.directive.js +11 -7
- package/esm2015/tabs/tab-nav-bar/tab-nav-bar.js +46 -46
- package/esm2015/tabs/tab.component.js +67 -33
- package/esm2015/tabs/tabs.module.js +87 -45
- package/esm2015/tags/tag-input.js +48 -34
- package/esm2015/tags/tag-list.component.js +93 -56
- package/esm2015/tags/tag.component.js +90 -73
- package/esm2015/tags/tag.module.js +46 -29
- package/esm2015/textarea/textarea.component.js +70 -41
- package/esm2015/textarea/textarea.module.js +13 -8
- package/esm2015/timepicker/timepicker.directive.js +64 -52
- package/esm2015/timepicker/timepicker.module.js +26 -13
- package/esm2015/toggle/toggle.component.js +65 -47
- package/esm2015/toggle/toggle.module.js +13 -8
- package/esm2015/tooltip/tooltip.animations.js +19 -0
- package/esm2015/tooltip/tooltip.component.js +239 -555
- package/esm2015/tooltip/tooltip.module.js +38 -11
- 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 +98 -25
- package/esm2015/tree/public-api.js +9 -2
- package/esm2015/tree/toggle.js +65 -70
- package/esm2015/tree/tree-base.js +243 -0
- package/esm2015/tree/tree-errors.js +36 -0
- package/esm2015/tree/tree-option.component.js +102 -56
- package/esm2015/tree/tree-selection.component.js +180 -115
- package/esm2015/tree/tree.js +23 -0
- package/esm2015/tree/tree.module.js +38 -12
- package/esm2015/tree-select/tree-select.component.js +153 -85
- package/esm2015/tree-select/tree-select.module.js +33 -18
- package/fesm2015/ptsecurity-mosaic-autocomplete.js +140 -102
- package/fesm2015/ptsecurity-mosaic-autocomplete.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-button-toggle.js +87 -63
- package/fesm2015/ptsecurity-mosaic-button-toggle.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-button.js +86 -76
- package/fesm2015/ptsecurity-mosaic-button.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-card.js +54 -42
- package/fesm2015/ptsecurity-mosaic-card.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-checkbox.js +82 -59
- package/fesm2015/ptsecurity-mosaic-checkbox.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-core.js +758 -239
- package/fesm2015/ptsecurity-mosaic-core.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-datepicker.js +544 -376
- package/fesm2015/ptsecurity-mosaic-datepicker.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-design-tokens.js +57 -16
- package/fesm2015/ptsecurity-mosaic-design-tokens.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-divider.js +34 -26
- package/fesm2015/ptsecurity-mosaic-divider.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-dropdown.js +219 -171
- package/fesm2015/ptsecurity-mosaic-dropdown.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-form-field.js +184 -119
- package/fesm2015/ptsecurity-mosaic-form-field.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-icon.js +56 -39
- package/fesm2015/ptsecurity-mosaic-icon.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-input.js +191 -116
- package/fesm2015/ptsecurity-mosaic-input.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-link.js +57 -45
- package/fesm2015/ptsecurity-mosaic-link.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-list.js +301 -177
- package/fesm2015/ptsecurity-mosaic-list.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-modal.js +243 -159
- package/fesm2015/ptsecurity-mosaic-modal.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-navbar.js +280 -205
- package/fesm2015/ptsecurity-mosaic-navbar.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-popover.js +297 -597
- package/fesm2015/ptsecurity-mosaic-popover.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-progress-bar.js +48 -38
- package/fesm2015/ptsecurity-mosaic-progress-bar.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-progress-spinner.js +48 -38
- package/fesm2015/ptsecurity-mosaic-progress-spinner.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-radio.js +99 -76
- package/fesm2015/ptsecurity-mosaic-radio.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-select.js +236 -136
- package/fesm2015/ptsecurity-mosaic-select.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-sidebar.js +85 -66
- package/fesm2015/ptsecurity-mosaic-sidebar.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-sidepanel.js +207 -139
- package/fesm2015/ptsecurity-mosaic-sidepanel.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-splitter.js +92 -82
- package/fesm2015/ptsecurity-mosaic-splitter.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-table.js +33 -19
- package/fesm2015/ptsecurity-mosaic-table.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tabs.js +557 -387
- package/fesm2015/ptsecurity-mosaic-tabs.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tags.js +273 -192
- package/fesm2015/ptsecurity-mosaic-tags.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-textarea.js +83 -50
- package/fesm2015/ptsecurity-mosaic-textarea.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-timepicker.js +87 -64
- package/fesm2015/ptsecurity-mosaic-timepicker.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-toggle.js +77 -55
- package/fesm2015/ptsecurity-mosaic-toggle.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tooltip.js +293 -566
- package/fesm2015/ptsecurity-mosaic-tooltip.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree-select.js +188 -106
- package/fesm2015/ptsecurity-mosaic-tree-select.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree.js +1001 -279
- package/fesm2015/ptsecurity-mosaic-tree.js.map +1 -1
- package/form-field/cleaner.d.ts +5 -0
- package/form-field/form-field.d.ts +5 -0
- package/form-field/form-field.module.d.ts +12 -0
- package/form-field/hint.d.ts +3 -0
- package/form-field/package.json +0 -1
- package/form-field/prefix.d.ts +3 -0
- package/form-field/ptsecurity-mosaic-form-field.d.ts +1 -0
- package/form-field/stepper.d.ts +3 -0
- package/form-field/suffix.d.ts +3 -0
- package/icon/icon.component.d.ts +5 -0
- package/icon/icon.module.d.ts +8 -0
- package/icon/package.json +0 -1
- package/icon/ptsecurity-mosaic-icon.d.ts +1 -0
- package/input/input-number-validators.d.ts +7 -2
- package/input/input-number.d.ts +3 -0
- package/input/input.d.ts +5 -0
- package/input/input.module.d.ts +11 -0
- package/input/package.json +0 -1
- package/input/ptsecurity-mosaic-input.d.ts +1 -0
- package/link/link.component.d.ts +3 -0
- package/link/link.module.d.ts +7 -0
- package/link/package.json +0 -1
- package/link/ptsecurity-mosaic-link.d.ts +1 -0
- package/list/list-selection.component.d.ts +30 -3
- package/list/list.component.d.ts +5 -0
- package/list/list.module.d.ts +9 -0
- package/list/package.json +0 -1
- package/list/ptsecurity-mosaic-list.d.ts +1 -0
- package/modal/css-unit.pipe.d.ts +3 -0
- package/modal/modal-control.service.d.ts +3 -0
- package/modal/modal.component.d.ts +5 -0
- package/modal/modal.directive.d.ts +9 -0
- package/modal/modal.module.d.ts +12 -0
- package/modal/modal.service.d.ts +3 -0
- package/modal/package.json +0 -1
- package/modal/ptsecurity-mosaic-modal.d.ts +1 -2
- package/navbar/navbar-item.component.d.ts +13 -0
- package/navbar/navbar.component.d.ts +5 -0
- package/navbar/navbar.module.d.ts +11 -0
- package/navbar/package.json +0 -1
- package/navbar/ptsecurity-mosaic-navbar.d.ts +1 -1
- package/navbar/vertical-navbar.component.d.ts +5 -0
- package/package.json +8 -9
- package/popover/package.json +0 -1
- package/popover/popover-confirm.component.d.ts +33 -0
- package/popover/popover.component.d.ts +50 -136
- package/popover/popover.module.d.ts +9 -0
- package/popover/ptsecurity-mosaic-popover.d.ts +1 -0
- 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 -0
- package/progress-bar/package.json +0 -1
- package/progress-bar/progress-bar.component.d.ts +3 -0
- package/progress-bar/progress-bar.module.d.ts +7 -0
- package/progress-bar/ptsecurity-mosaic-progress-bar.d.ts +1 -0
- package/progress-spinner/package.json +0 -1
- package/progress-spinner/progress-spinner.component.d.ts +3 -0
- package/progress-spinner/progress-spinner.module.d.ts +7 -0
- package/progress-spinner/ptsecurity-mosaic-progress-spinner.d.ts +1 -0
- package/ptsecurity-mosaic.d.ts +1 -0
- package/radio/package.json +0 -1
- package/radio/ptsecurity-mosaic-radio.d.ts +1 -0
- package/radio/radio.component.d.ts +5 -0
- package/radio/radio.module.d.ts +8 -0
- package/schematics/ng-update/update-9.0.0/secondary-entry-points-migration.js +6 -3
- package/schematics/ng-update/update-9.0.0/secondary-entry-points-migration.js.map +1 -1
- package/select/package.json +0 -1
- package/select/ptsecurity-mosaic-select.d.ts +1 -0
- package/select/select.component.d.ts +11 -7
- package/select/select.module.d.ts +11 -0
- package/sidebar/package.json +0 -1
- package/sidebar/ptsecurity-mosaic-sidebar.d.ts +1 -1
- package/sidebar/sidebar.component.d.ts +7 -0
- package/sidebar/sidebar.module.d.ts +6 -0
- package/sidepanel/package.json +0 -1
- package/sidepanel/ptsecurity-mosaic-sidepanel.d.ts +1 -1
- package/sidepanel/sidepanel-container.component.d.ts +3 -0
- package/sidepanel/sidepanel-directives.d.ts +13 -0
- package/sidepanel/sidepanel.module.d.ts +13 -0
- package/sidepanel/sidepanel.service.d.ts +3 -0
- package/splitter/package.json +0 -1
- package/splitter/ptsecurity-mosaic-splitter.d.ts +1 -0
- package/splitter/splitter.component.d.ts +7 -0
- package/splitter/splitter.module.d.ts +7 -0
- package/table/package.json +0 -1
- package/table/ptsecurity-mosaic-table.d.ts +1 -0
- package/table/table.component.d.ts +3 -0
- package/table/table.module.d.ts +8 -0
- package/tabs/package.json +0 -1
- package/tabs/paginated-tab-header.d.ts +3 -0
- package/tabs/ptsecurity-mosaic-tabs.d.ts +1 -5
- package/tabs/tab-body.component.d.ts +5 -0
- package/tabs/tab-content.directive.d.ts +3 -0
- package/tabs/tab-group.component.d.ts +24 -4
- package/tabs/tab-header.component.d.ts +3 -0
- package/tabs/tab-label-wrapper.directive.d.ts +9 -0
- package/tabs/tab-label.directive.d.ts +3 -0
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +5 -0
- package/tabs/tab.component.d.ts +12 -3
- package/tabs/tabs.module.d.ts +18 -0
- package/tags/package.json +0 -1
- package/tags/ptsecurity-mosaic-tags.d.ts +1 -0
- package/tags/tag-input.d.ts +3 -0
- package/tags/tag-list.component.d.ts +3 -0
- package/tags/tag.component.d.ts +9 -0
- package/tags/tag.module.d.ts +9 -0
- package/textarea/package.json +0 -1
- package/textarea/ptsecurity-mosaic-textarea.d.ts +1 -0
- package/textarea/textarea.component.d.ts +3 -0
- package/textarea/textarea.module.d.ts +9 -0
- package/timepicker/package.json +0 -1
- package/timepicker/ptsecurity-mosaic-timepicker.d.ts +1 -0
- package/timepicker/timepicker.directive.d.ts +5 -2
- package/timepicker/timepicker.module.d.ts +9 -0
- package/toggle/package.json +0 -1
- package/toggle/ptsecurity-mosaic-toggle.d.ts +1 -0
- package/toggle/toggle.component.d.ts +3 -0
- package/toggle/toggle.module.d.ts +8 -0
- package/tooltip/package.json +0 -1
- package/tooltip/ptsecurity-mosaic-tooltip.d.ts +1 -0
- package/tooltip/tooltip.animations.d.ts +8 -0
- package/tooltip/tooltip.component.d.ts +74 -134
- package/tooltip/tooltip.module.d.ts +7 -0
- 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/package.json +0 -1
- package/tree/padding.directive.d.ts +36 -5
- package/tree/ptsecurity-mosaic-tree.d.ts +1 -0
- package/tree/public-api.d.ts +8 -1
- package/tree/toggle.d.ts +20 -15
- package/tree/tree-base.d.ts +97 -0
- package/tree/tree-errors.d.ts +25 -0
- package/tree/tree-option.component.d.ts +15 -4
- package/tree/tree-selection.component.d.ts +46 -24
- package/tree/tree.d.ts +6 -0
- package/tree/tree.module.d.ts +14 -0
- package/tree-select/package.json +0 -1
- package/tree-select/ptsecurity-mosaic-tree-select.d.ts +1 -0
- package/tree-select/tree-select.component.d.ts +8 -8
- package/tree-select/tree-select.module.d.ts +11 -0
- package/autocomplete/ptsecurity-mosaic-autocomplete.metadata.json +0 -1
- package/bundles/ptsecurity-mosaic-autocomplete.umd.min.js +0 -2
- package/bundles/ptsecurity-mosaic-autocomplete.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-button-toggle.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-button-toggle.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-button.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-button.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-card.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-card.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-checkbox.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-checkbox.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-core.umd.min.js +0 -17
- package/bundles/ptsecurity-mosaic-core.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-datepicker.umd.min.js +0 -2
- package/bundles/ptsecurity-mosaic-datepicker.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-design-tokens.umd.min.js +0 -2
- package/bundles/ptsecurity-mosaic-design-tokens.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-divider.umd.min.js +0 -2
- package/bundles/ptsecurity-mosaic-divider.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-dropdown.umd.min.js +0 -17
- package/bundles/ptsecurity-mosaic-dropdown.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-form-field.umd.min.js +0 -17
- package/bundles/ptsecurity-mosaic-form-field.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-icon.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-icon.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-input.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-input.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-link.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-link.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-list.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-list.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-modal.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-modal.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-navbar.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-navbar.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-popover.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-popover.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-progress-bar.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-progress-bar.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-progress-spinner.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-progress-spinner.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-radio.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-radio.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-select.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-select.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-sidebar.umd.min.js +0 -2
- package/bundles/ptsecurity-mosaic-sidebar.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-sidepanel.umd.min.js +0 -2
- package/bundles/ptsecurity-mosaic-sidepanel.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-splitter.umd.min.js +0 -2
- package/bundles/ptsecurity-mosaic-splitter.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-table.umd.min.js +0 -2
- package/bundles/ptsecurity-mosaic-table.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-tabs.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-tabs.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-tags.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-tags.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-textarea.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-textarea.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-timepicker.umd.min.js +0 -2
- package/bundles/ptsecurity-mosaic-timepicker.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-toggle.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-toggle.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-tooltip.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-tooltip.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-tree-select.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-tree-select.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic-tree.umd.min.js +0 -16
- package/bundles/ptsecurity-mosaic-tree.umd.min.js.map +0 -1
- package/bundles/ptsecurity-mosaic.umd.min.js +0 -2
- package/bundles/ptsecurity-mosaic.umd.min.js.map +0 -1
- package/button/ptsecurity-mosaic-button.metadata.json +0 -1
- package/button-toggle/ptsecurity-mosaic-button-toggle.metadata.json +0 -1
- package/card/ptsecurity-mosaic-card.metadata.json +0 -1
- package/checkbox/ptsecurity-mosaic-checkbox.metadata.json +0 -1
- package/core/ptsecurity-mosaic-core.metadata.json +0 -1
- package/datepicker/ptsecurity-mosaic-datepicker.metadata.json +0 -1
- package/design-tokens/ptsecurity-mosaic-design-tokens.metadata.json +0 -1
- package/divider/ptsecurity-mosaic-divider.metadata.json +0 -1
- package/dropdown/ptsecurity-mosaic-dropdown.metadata.json +0 -1
- package/esm2015/tree/node.directive.js +0 -15
- package/form-field/ptsecurity-mosaic-form-field.metadata.json +0 -1
- package/icon/ptsecurity-mosaic-icon.metadata.json +0 -1
- package/input/ptsecurity-mosaic-input.metadata.json +0 -1
- package/link/ptsecurity-mosaic-link.metadata.json +0 -1
- package/list/ptsecurity-mosaic-list.metadata.json +0 -1
- package/modal/ptsecurity-mosaic-modal.metadata.json +0 -1
- package/navbar/ptsecurity-mosaic-navbar.metadata.json +0 -1
- package/popover/ptsecurity-mosaic-popover.metadata.json +0 -1
- package/progress-bar/ptsecurity-mosaic-progress-bar.metadata.json +0 -1
- package/progress-spinner/ptsecurity-mosaic-progress-spinner.metadata.json +0 -1
- package/ptsecurity-mosaic.metadata.json +0 -1
- package/radio/ptsecurity-mosaic-radio.metadata.json +0 -1
- package/select/ptsecurity-mosaic-select.metadata.json +0 -1
- package/sidebar/ptsecurity-mosaic-sidebar.metadata.json +0 -1
- package/sidepanel/ptsecurity-mosaic-sidepanel.metadata.json +0 -1
- package/splitter/ptsecurity-mosaic-splitter.metadata.json +0 -1
- package/table/ptsecurity-mosaic-table.metadata.json +0 -1
- package/tabs/ptsecurity-mosaic-tabs.metadata.json +0 -1
- package/tags/ptsecurity-mosaic-tags.metadata.json +0 -1
- package/textarea/ptsecurity-mosaic-textarea.metadata.json +0 -1
- package/timepicker/ptsecurity-mosaic-timepicker.metadata.json +0 -1
- package/toggle/ptsecurity-mosaic-toggle.metadata.json +0 -1
- package/tooltip/ptsecurity-mosaic-tooltip.metadata.json +0 -1
- package/tree/node.directive.d.ts +0 -4
- package/tree/ptsecurity-mosaic-tree.metadata.json +0 -1
- package/tree-select/ptsecurity-mosaic-tree-select.metadata.json +0 -1
package/tabs/tab.component.d.ts
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
import { TemplatePortal } from '@angular/cdk/portal';
|
2
2
|
import { OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
3
|
-
import { CanDisable, CanDisableCtor } from '@ptsecurity/mosaic/core';
|
3
|
+
import { CanDisable, CanDisableCtor, PopUpPlacements } from '@ptsecurity/mosaic/core';
|
4
4
|
import { Subject } from 'rxjs';
|
5
5
|
import { McTabLabel } from './tab-label.directive';
|
6
|
+
import * as i0 from "@angular/core";
|
6
7
|
export declare class McTabBase {
|
7
8
|
}
|
8
9
|
export declare const McTabMixinBase: CanDisableCtor & typeof McTabBase;
|
@@ -19,11 +20,13 @@ export declare class McTab extends McTabMixinBase implements OnInit, CanDisable,
|
|
19
20
|
explicitContent: TemplateRef<any>;
|
20
21
|
/** Template inside the McTab view that contains an `<ng-content>`. */
|
21
22
|
implicitContent: TemplateRef<any>;
|
23
|
+
get tooltipTitle(): string;
|
24
|
+
set tooltipTitle(value: string);
|
25
|
+
private _tooltipTitle;
|
26
|
+
tooltipPlacement: PopUpPlacements;
|
22
27
|
/** Plain text label for the tab, used when there is no template label. */
|
23
28
|
textLabel: string;
|
24
29
|
empty: boolean;
|
25
|
-
tooltipTitle: string;
|
26
|
-
tooltipPlacement: string;
|
27
30
|
tabId: string;
|
28
31
|
/** Emits whenever the internal state of the tab changes. */
|
29
32
|
readonly stateChanges: Subject<void>;
|
@@ -41,6 +44,10 @@ export declare class McTab extends McTabMixinBase implements OnInit, CanDisable,
|
|
41
44
|
* Whether the tab is currently active.
|
42
45
|
*/
|
43
46
|
isActive: boolean;
|
47
|
+
get isOverflown(): boolean;
|
48
|
+
get overflowTooltipTitle(): string;
|
49
|
+
set overflowTooltipTitle(value: string);
|
50
|
+
private _overflowTooltipTitle;
|
44
51
|
/** Portal that will be the hosted content of the tab */
|
45
52
|
private contentPortal;
|
46
53
|
constructor(viewContainerRef: ViewContainerRef);
|
@@ -54,4 +61,6 @@ export declare class McTab extends McTabMixinBase implements OnInit, CanDisable,
|
|
54
61
|
* @docs-private
|
55
62
|
*/
|
56
63
|
protected setTemplateLabelInput(value: McTabLabel): void;
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McTab, never>;
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McTab, "mc-tab", ["mcTab"], { "disabled": "disabled"; "tooltipTitle": "tooltipTitle"; "tooltipPlacement": "tooltipPlacement"; "textLabel": "label"; "empty": "empty"; "tabId": "tabId"; }, {}, ["templateLabel", "explicitContent"], ["*"]>;
|
57
66
|
}
|
package/tabs/tabs.module.d.ts
CHANGED
@@ -1,2 +1,20 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./tab-group.component";
|
3
|
+
import * as i2 from "./tab-label.directive";
|
4
|
+
import * as i3 from "./tab.component";
|
5
|
+
import * as i4 from "./tab-label-wrapper.directive";
|
6
|
+
import * as i5 from "./tab-nav-bar/tab-nav-bar";
|
7
|
+
import * as i6 from "./tab-body.component";
|
8
|
+
import * as i7 from "./tab-header.component";
|
9
|
+
import * as i8 from "./tab-content.directive";
|
10
|
+
import * as i9 from "@angular/common";
|
11
|
+
import * as i10 from "@angular/cdk/portal";
|
12
|
+
import * as i11 from "@angular/cdk/a11y";
|
13
|
+
import * as i12 from "@ptsecurity/mosaic/core";
|
14
|
+
import * as i13 from "@ptsecurity/mosaic/icon";
|
15
|
+
import * as i14 from "@ptsecurity/mosaic/tooltip";
|
1
16
|
export declare class McTabsModule {
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McTabsModule, never>;
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McTabsModule, [typeof i1.McTabGroup, typeof i2.McTabLabel, typeof i3.McTab, typeof i4.McTabLabelWrapper, typeof i5.McTabNav, typeof i5.McTabLink, typeof i6.McTabBody, typeof i6.McTabBodyPortal, typeof i7.McTabHeader, typeof i8.McTabContent, typeof i1.McOldTabsCssStyler, typeof i1.McAlignTabsCenterCssStyler, typeof i1.McAlignTabsEndCssStyler, typeof i1.McStretchTabsCssStyler, typeof i1.McVerticalTabsCssStyler], [typeof i9.CommonModule, typeof i10.PortalModule, typeof i11.A11yModule, typeof i12.McCommonModule, typeof i13.McIconModule, typeof i14.McToolTipModule], [typeof i12.McCommonModule, typeof i1.McTabGroup, typeof i2.McTabLabel, typeof i3.McTab, typeof i5.McTabNav, typeof i5.McTabLink, typeof i8.McTabContent, typeof i1.McOldTabsCssStyler, typeof i1.McAlignTabsCenterCssStyler, typeof i1.McAlignTabsEndCssStyler, typeof i1.McStretchTabsCssStyler, typeof i1.McVerticalTabsCssStyler]>;
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<McTabsModule>;
|
2
20
|
}
|
package/tags/package.json
CHANGED
@@ -5,7 +5,6 @@
|
|
5
5
|
"esm2015": "../esm2015/tags/ptsecurity-mosaic-tags.js",
|
6
6
|
"fesm2015": "../fesm2015/ptsecurity-mosaic-tags.js",
|
7
7
|
"typings": "ptsecurity-mosaic-tags.d.ts",
|
8
|
-
"metadata": "ptsecurity-mosaic-tags.metadata.json",
|
9
8
|
"sideEffects": false,
|
10
9
|
"name": "@ptsecurity/mosaic/tags"
|
11
10
|
}
|
package/tags/tag-input.d.ts
CHANGED
@@ -3,6 +3,7 @@ import { NgControl } from '@angular/forms';
|
|
3
3
|
import { McTagsDefaultOptions } from './tag-default-options';
|
4
4
|
import { McTagList } from './tag-list.component';
|
5
5
|
import { McTagTextControl } from './tag-text-control';
|
6
|
+
import * as i0 from "@angular/core";
|
6
7
|
/** Represents an input event on a `mcTagInput`. */
|
7
8
|
export interface McTagInputEvent {
|
8
9
|
/** The native `<input>` element that the event is being fired for. */
|
@@ -71,4 +72,6 @@ export declare class McTagInput implements McTagTextControl, OnChanges {
|
|
71
72
|
private setDefaultInputWidth;
|
72
73
|
/** Checks whether a keycode is one of the configured separators. */
|
73
74
|
private isSeparatorKey;
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McTagInput, [null, null, null, { optional: true; self: true; }]>;
|
76
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McTagInput, "input[mcTagInputFor]", ["mcTagInput", "mcTagInputFor"], { "separatorKeyCodes": "mcTagInputSeparatorKeyCodes"; "placeholder": "placeholder"; "id": "id"; "tagList": "mcTagInputFor"; "addOnBlur": "mcTagInputAddOnBlur"; "disabled": "disabled"; }, { "tagEnd": "mcTagInputTokenEnd"; }, never>;
|
74
77
|
}
|
@@ -8,6 +8,7 @@ import { McCleaner, McFormFieldControl } from '@ptsecurity/mosaic/form-field';
|
|
8
8
|
import { Observable } from 'rxjs';
|
9
9
|
import { McTagTextControl } from './tag-text-control';
|
10
10
|
import { McTag, McTagEvent, McTagSelectionChange } from './tag.component';
|
11
|
+
import * as i0 from "@angular/core";
|
11
12
|
export declare class McTagListBase {
|
12
13
|
defaultErrorStateMatcher: ErrorStateMatcher;
|
13
14
|
parentForm: NgForm;
|
@@ -234,4 +235,6 @@ export declare class McTagList extends McTagListMixinBase implements McFormField
|
|
234
235
|
private hasFocusedTag;
|
235
236
|
/** Syncs the list's disabled state with the individual tags. */
|
236
237
|
private syncTagsDisabledState;
|
238
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McTagList, [null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; self: true; }]>;
|
239
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McTagList, "mc-tag-list", ["mcTagList"], { "multiple": "multiple"; "compareWith": "compareWith"; "value": "value"; "required": "required"; "placeholder": "placeholder"; "disabled": "disabled"; "selectable": "selectable"; "tabIndex": "tabIndex"; "errorStateMatcher": "errorStateMatcher"; "orientation": "orientation"; }, { "valueChange": "valueChange"; "change": "change"; }, ["cleaner", "tags"], ["*", "mc-cleaner"]>;
|
237
240
|
}
|
package/tags/tag.component.d.ts
CHANGED
@@ -3,6 +3,7 @@ import { IFocusableOption } from '@ptsecurity/cdk/a11y';
|
|
3
3
|
import { CanColor, CanColorCtor, CanDisable, CanDisableCtor } from '@ptsecurity/mosaic/core';
|
4
4
|
import { McIcon } from '@ptsecurity/mosaic/icon';
|
5
5
|
import { Subject } from 'rxjs';
|
6
|
+
import * as i0 from "@angular/core";
|
6
7
|
export interface McTagEvent {
|
7
8
|
tag: McTag;
|
8
9
|
}
|
@@ -18,12 +19,16 @@ export declare class McTagSelectionChange {
|
|
18
19
|
* @docs-private
|
19
20
|
*/
|
20
21
|
export declare class McTagAvatar {
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McTagAvatar, never>;
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McTagAvatar, "mc-tag-avatar, [mcTagAvatar]", never, {}, {}, never>;
|
21
24
|
}
|
22
25
|
/**
|
23
26
|
* Dummy directive to add CSS class to tag trailing icon.
|
24
27
|
* @docs-private
|
25
28
|
*/
|
26
29
|
export declare class McTagTrailingIcon {
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McTagTrailingIcon, never>;
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McTagTrailingIcon, "mc-tag-trailing-icon, [mcTagTrailingIcon]", never, {}, {}, never>;
|
27
32
|
}
|
28
33
|
export declare class McTagBase {
|
29
34
|
_elementRef: ElementRef;
|
@@ -105,6 +110,8 @@ export declare class McTag extends McTagMixinBase implements IFocusableOption, O
|
|
105
110
|
handleKeydown(event: KeyboardEvent): void;
|
106
111
|
blur(): void;
|
107
112
|
private dispatchSelectionChange;
|
113
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McTag, never>;
|
114
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McTag, "mc-tag, [mc-tag], mc-basic-tag, [mc-basic-tag]", ["mcTag"], { "color": "color"; "selected": "selected"; "value": "value"; "selectable": "selectable"; "removable": "removable"; "disabled": "disabled"; }, { "selectionChange": "selectionChange"; "destroyed": "destroyed"; "removed": "removed"; }, ["avatar", "trailingIcon", "removeIcon", "contentChildren"], ["*", "[mc-icon]"]>;
|
108
115
|
}
|
109
116
|
/**
|
110
117
|
*
|
@@ -123,4 +130,6 @@ export declare class McTagRemove {
|
|
123
130
|
focus($event: any): void;
|
124
131
|
/** Calls the parent tag's public `remove()` method if applicable. */
|
125
132
|
handleClick(event: Event): void;
|
133
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McTagRemove, never>;
|
134
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McTagRemove, "[mcTagRemove]", never, {}, {}, never>;
|
126
135
|
}
|
package/tags/tag.module.d.ts
CHANGED
@@ -1,2 +1,11 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./tag-list.component";
|
3
|
+
import * as i2 from "./tag.component";
|
4
|
+
import * as i3 from "./tag-input";
|
5
|
+
import * as i4 from "@angular/common";
|
6
|
+
import * as i5 from "@angular/cdk/platform";
|
1
7
|
export declare class McTagsModule {
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McTagsModule, never>;
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McTagsModule, [typeof i1.McTagList, typeof i2.McTag, typeof i3.McTagInput, typeof i2.McTagTrailingIcon, typeof i2.McTagAvatar, typeof i2.McTagRemove], [typeof i4.CommonModule, typeof i5.PlatformModule], [typeof i1.McTagList, typeof i2.McTag, typeof i3.McTagInput, typeof i2.McTagTrailingIcon, typeof i2.McTagAvatar, typeof i2.McTagRemove]>;
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<McTagsModule>;
|
2
11
|
}
|
package/textarea/package.json
CHANGED
@@ -5,7 +5,6 @@
|
|
5
5
|
"esm2015": "../esm2015/textarea/ptsecurity-mosaic-textarea.js",
|
6
6
|
"fesm2015": "../fesm2015/ptsecurity-mosaic-textarea.js",
|
7
7
|
"typings": "ptsecurity-mosaic-textarea.d.ts",
|
8
|
-
"metadata": "ptsecurity-mosaic-textarea.metadata.json",
|
9
8
|
"sideEffects": false,
|
10
9
|
"name": "@ptsecurity/mosaic/textarea"
|
11
10
|
}
|
@@ -3,6 +3,7 @@ import { FormGroupDirective, NgControl, NgForm, NgModel, Validator } from '@angu
|
|
3
3
|
import { CanUpdateErrorState, CanUpdateErrorStateCtor, ErrorStateMatcher, McValidationOptions } from '@ptsecurity/mosaic/core';
|
4
4
|
import { McFormFieldControl } from '@ptsecurity/mosaic/form-field';
|
5
5
|
import { Subject } from 'rxjs';
|
6
|
+
import * as i0 from "@angular/core";
|
6
7
|
export declare const MC_TEXTAREA_VALUE_ACCESSOR: InjectionToken<{
|
7
8
|
value: any;
|
8
9
|
}>;
|
@@ -104,4 +105,6 @@ export declare class McTextarea extends McTextareaMixinBase implements McFormFie
|
|
104
105
|
protected dirtyCheckNativeValue(): void;
|
105
106
|
/** Checks whether the textarea is invalid based on the native validation. */
|
106
107
|
protected isBadInput(): boolean;
|
108
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McTextarea, [null, { optional: true; self: true; }, { optional: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; self: true; }, { optional: true; }, null, { optional: true; self: true; }, null]>;
|
109
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McTextarea, "textarea[mcTextarea]", ["mcTextarea"], { "canGrow": "canGrow"; "errorStateMatcher": "errorStateMatcher"; "disabled": "disabled"; "id": "id"; "placeholder": "placeholder"; "required": "required"; "value": "value"; }, {}, never>;
|
107
110
|
}
|
@@ -1,2 +1,11 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./textarea.component";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@angular/cdk/a11y";
|
5
|
+
import * as i4 from "@ptsecurity/mosaic/core";
|
6
|
+
import * as i5 from "@angular/forms";
|
1
7
|
export declare class McTextareaModule {
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McTextareaModule, never>;
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McTextareaModule, [typeof i1.McTextarea], [typeof i2.CommonModule, typeof i3.A11yModule, typeof i4.McCommonModule, typeof i5.FormsModule], [typeof i1.McTextarea]>;
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<McTextareaModule>;
|
2
11
|
}
|
package/timepicker/package.json
CHANGED
@@ -5,7 +5,6 @@
|
|
5
5
|
"esm2015": "../esm2015/timepicker/ptsecurity-mosaic-timepicker.js",
|
6
6
|
"fesm2015": "../fesm2015/ptsecurity-mosaic-timepicker.js",
|
7
7
|
"typings": "ptsecurity-mosaic-timepicker.d.ts",
|
8
|
-
"metadata": "ptsecurity-mosaic-timepicker.metadata.json",
|
9
8
|
"sideEffects": false,
|
10
9
|
"name": "@ptsecurity/mosaic/timepicker"
|
11
10
|
}
|
@@ -2,9 +2,10 @@ import { ElementRef, EventEmitter, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
2
|
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
3
3
|
import { DateAdapter } from '@ptsecurity/cdk/datetime';
|
4
4
|
import { McFormFieldControl } from '@ptsecurity/mosaic/form-field';
|
5
|
-
import {
|
5
|
+
import { McWarningTooltipTrigger } from '@ptsecurity/mosaic/tooltip';
|
6
6
|
import { Subject } from 'rxjs';
|
7
7
|
import { TimeFormats } from './timepicker.constants';
|
8
|
+
import * as i0 from "@angular/core";
|
8
9
|
/** @docs-private */
|
9
10
|
export declare const MC_TIMEPICKER_VALUE_ACCESSOR: any;
|
10
11
|
/** @docs-private */
|
@@ -61,7 +62,7 @@ export declare class McTimepicker<D> implements McFormFieldControl<D>, ControlVa
|
|
61
62
|
get value(): D | null;
|
62
63
|
set value(value: D | null);
|
63
64
|
private _value;
|
64
|
-
set mcValidationTooltip(tooltip:
|
65
|
+
set mcValidationTooltip(tooltip: McWarningTooltipTrigger);
|
65
66
|
incorrectInput: EventEmitter<void>;
|
66
67
|
get hasSelection(): boolean;
|
67
68
|
get isFullFormat(): boolean;
|
@@ -136,4 +137,6 @@ export declare class McTimepicker<D> implements McFormFieldControl<D>, ControlVa
|
|
136
137
|
private updateView;
|
137
138
|
private setControl;
|
138
139
|
private validatorOnChange;
|
140
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McTimepicker<any>, [null, null, { optional: true; }]>;
|
141
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McTimepicker<any>, "input[mcTimepicker]", ["mcTimepicker"], { "placeholder": "placeholder"; "disabled": "disabled"; "id": "id"; "required": "required"; "format": "format"; "min": "min"; "max": "max"; "value": "value"; "mcValidationTooltip": "mcValidationTooltip"; }, { "incorrectInput": "incorrectInput"; }, never>;
|
139
142
|
}
|
@@ -1,2 +1,11 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./timepicker.directive";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@angular/cdk/a11y";
|
5
|
+
import * as i4 from "@angular/cdk/platform";
|
6
|
+
import * as i5 from "@angular/forms";
|
1
7
|
export declare class McTimepickerModule {
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McTimepickerModule, never>;
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McTimepickerModule, [typeof i1.McTimepicker], [typeof i2.CommonModule, typeof i3.A11yModule, typeof i4.PlatformModule, typeof i5.FormsModule], [typeof i1.McTimepicker]>;
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<McTimepickerModule>;
|
2
11
|
}
|
package/toggle/package.json
CHANGED
@@ -5,7 +5,6 @@
|
|
5
5
|
"esm2015": "../esm2015/toggle/ptsecurity-mosaic-toggle.js",
|
6
6
|
"fesm2015": "../fesm2015/ptsecurity-mosaic-toggle.js",
|
7
7
|
"typings": "ptsecurity-mosaic-toggle.d.ts",
|
8
|
-
"metadata": "ptsecurity-mosaic-toggle.metadata.json",
|
9
8
|
"sideEffects": false,
|
10
9
|
"name": "@ptsecurity/mosaic/toggle"
|
11
10
|
}
|
@@ -2,6 +2,7 @@ import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
2
|
import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
4
4
|
import { CanColor, CanColorCtor, CanDisable, CanDisableCtor, HasTabIndex, HasTabIndexCtor } from '@ptsecurity/mosaic/core';
|
5
|
+
import * as i0 from "@angular/core";
|
5
6
|
declare type ToggleLabelPositionType = 'left' | 'right';
|
6
7
|
export declare class McToggleBase {
|
7
8
|
_elementRef: ElementRef;
|
@@ -47,5 +48,7 @@ export declare class McToggleComponent extends McToggleMixinBase implements Cont
|
|
47
48
|
private onChangeCallback;
|
48
49
|
private updateModelValue;
|
49
50
|
private emitChangeEvent;
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McToggleComponent, never>;
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McToggleComponent, "mc-toggle", ["mcToggle"], { "color": "color"; "tabIndex": "tabIndex"; "labelPosition": "labelPosition"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "id": "id"; "name": "name"; "value": "value"; "disabled": "disabled"; "checked": "checked"; }, { "change": "change"; }, never, ["*"]>;
|
50
53
|
}
|
51
54
|
export {};
|
@@ -1,2 +1,10 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./toggle.component";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@angular/cdk/a11y";
|
5
|
+
import * as i4 from "@ptsecurity/mosaic/core";
|
1
6
|
export declare class McToggleModule {
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McToggleModule, never>;
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McToggleModule, [typeof i1.McToggleComponent], [typeof i2.CommonModule, typeof i3.A11yModule, typeof i4.McCommonModule], [typeof i1.McToggleComponent]>;
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<McToggleModule>;
|
2
10
|
}
|
package/tooltip/package.json
CHANGED
@@ -5,7 +5,6 @@
|
|
5
5
|
"esm2015": "../esm2015/tooltip/ptsecurity-mosaic-tooltip.js",
|
6
6
|
"fesm2015": "../fesm2015/ptsecurity-mosaic-tooltip.js",
|
7
7
|
"typings": "ptsecurity-mosaic-tooltip.d.ts",
|
8
|
-
"metadata": "ptsecurity-mosaic-tooltip.metadata.json",
|
9
8
|
"sideEffects": false,
|
10
9
|
"name": "@ptsecurity/mosaic/tooltip"
|
11
10
|
}
|
@@ -1,61 +1,33 @@
|
|
1
1
|
import { Directionality } from '@angular/cdk/bidi';
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, NgZone,
|
5
|
-
import {
|
6
|
-
|
7
|
-
export declare
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
2
|
+
import { Overlay, ScrollDispatcher, ScrollStrategy } from '@angular/cdk/overlay';
|
3
|
+
import { OverlayConfig } from '@angular/cdk/overlay/overlay-config';
|
4
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, NgZone, TemplateRef, Type, ViewContainerRef } from '@angular/core';
|
5
|
+
import { McPopUp, McPopUpTrigger, PopUpPlacements } from '@ptsecurity/mosaic/core';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
export declare enum TooltipModifier {
|
8
|
+
Default = "default",
|
9
|
+
Warning = "warning",
|
10
|
+
Extended = "extended"
|
11
|
+
}
|
12
|
+
export declare const MC_TOOLTIP_OPEN_TIME: InjectionToken<() => ScrollStrategy>;
|
13
|
+
/** @docs-private */
|
14
|
+
export declare const MC_TOOLTIP_OPEN_TIME_PROVIDER: {
|
15
|
+
provide: InjectionToken<() => ScrollStrategy>;
|
16
|
+
useValue: {
|
17
|
+
value: number;
|
18
|
+
};
|
13
19
|
};
|
14
|
-
export declare
|
15
|
-
|
20
|
+
export declare const MIN_TIME_FOR_DELAY = 2000;
|
21
|
+
export declare class McTooltipComponent extends McPopUp {
|
22
|
+
private openTime;
|
16
23
|
prefix: string;
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
mcVisibleChange: EventEmitter<boolean>;
|
25
|
-
mcMouseEnterDelay: number;
|
26
|
-
mcMouseLeaveDelay: number;
|
27
|
-
get mcTitle(): string | TemplateRef<any>;
|
28
|
-
set mcTitle(value: string | TemplateRef<any>);
|
29
|
-
private _mcTitle;
|
30
|
-
get mcTrigger(): string;
|
31
|
-
set mcTrigger(value: string);
|
32
|
-
private _mcTrigger;
|
33
|
-
get mcPlacement(): string;
|
34
|
-
set mcPlacement(value: string);
|
35
|
-
private _mcPlacement;
|
36
|
-
get mcTooltipClass(): string;
|
37
|
-
set mcTooltipClass(value: string);
|
38
|
-
private _mcTooltipClass;
|
39
|
-
get mcVisible(): boolean;
|
40
|
-
set mcVisible(value: boolean);
|
41
|
-
private _mcVisible;
|
42
|
-
get mcArrowPlacement(): ArrowPlacements;
|
43
|
-
set mcArrowPlacement(value: ArrowPlacements);
|
44
|
-
private _mcArrowPlacement;
|
45
|
-
/** Subject for notifying that the tooltip has been hidden from the view */
|
46
|
-
private readonly onHideSubject;
|
47
|
-
private closeOnInteraction;
|
48
|
-
constructor(cdr: ChangeDetectorRef);
|
49
|
-
show(): void;
|
50
|
-
hide(): void;
|
51
|
-
setClassMap(): void;
|
52
|
-
isContentEmpty(): boolean;
|
53
|
-
/** Returns an observable that notifies when the tooltip has been hidden from view. */
|
54
|
-
afterHidden(): Observable<void>;
|
55
|
-
markForCheck(): void;
|
56
|
-
handleBodyInteraction(): void;
|
57
|
-
get isTemplateRef(): boolean;
|
58
|
-
get isNonEmptyString(): boolean;
|
24
|
+
constructor(changeDetectorRef: ChangeDetectorRef, openTime: any);
|
25
|
+
show(delay: number): void;
|
26
|
+
updateClassMap(placement: string, customClass: string, { modifier }: {
|
27
|
+
modifier: any;
|
28
|
+
}): void;
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McTooltipComponent, never>;
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McTooltipComponent, "mc-tooltip-component", never, {}, {}, never, never>;
|
59
31
|
}
|
60
32
|
export declare const MC_TOOLTIP_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
|
61
33
|
/** @docs-private */
|
@@ -66,86 +38,54 @@ export declare const MC_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER: {
|
|
66
38
|
deps: (typeof Overlay)[];
|
67
39
|
useFactory: typeof mcTooltipScrollStrategyFactory;
|
68
40
|
};
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
private direction;
|
79
|
-
isTooltipOpen: boolean;
|
80
|
-
isDynamicTooltip: boolean;
|
81
|
-
parentDisabled: boolean;
|
82
|
-
overlayRef: OverlayRef | null;
|
83
|
-
portal: ComponentPortal<McTooltipComponent>;
|
84
|
-
availablePositions: any;
|
85
|
-
tooltip: McTooltipComponent | null;
|
86
|
-
mcVisibleChange: EventEmitter<boolean>;
|
87
|
-
private $unsubscribe;
|
88
|
-
get mcTitle(): string | TemplateRef<any>;
|
89
|
-
set mcTitle(title: string | TemplateRef<any>);
|
90
|
-
private _mcTitle;
|
91
|
-
set setTitle(title: string | TemplateRef<any>);
|
41
|
+
export declare class McTooltipTrigger extends McPopUpTrigger<McTooltipComponent> {
|
42
|
+
get tooltipVisible(): boolean;
|
43
|
+
set tooltipVisible(value: boolean);
|
44
|
+
get tooltipPlacement(): PopUpPlacements;
|
45
|
+
set tooltipPlacement(value: PopUpPlacements);
|
46
|
+
get tooltipPlacementPriority(): string | string[] | null;
|
47
|
+
set tooltipPlacementPriority(value: string | string[] | null);
|
48
|
+
get content(): string | TemplateRef<any>;
|
49
|
+
set content(content: string | TemplateRef<any>);
|
92
50
|
get disabled(): boolean;
|
93
51
|
set disabled(value: boolean);
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
private _mcPlacement;
|
107
|
-
get mcTooltipClass(): string;
|
108
|
-
set mcTooltipClass(value: string);
|
109
|
-
private _mcTooltipClass;
|
110
|
-
get mcVisible(): boolean;
|
111
|
-
set mcVisible(externalValue: boolean);
|
112
|
-
private _mcVisible;
|
113
|
-
get mcArrowPlacement(): ArrowPlacements;
|
114
|
-
set mcArrowPlacement(value: ArrowPlacements);
|
115
|
-
private _mcArrowPlacement;
|
116
|
-
private manualListeners;
|
117
|
-
private readonly destroyed;
|
52
|
+
enterDelay: number;
|
53
|
+
leaveDelay: number;
|
54
|
+
get trigger(): string;
|
55
|
+
set trigger(value: string);
|
56
|
+
private _trigger;
|
57
|
+
get customClass(): string;
|
58
|
+
set customClass(value: string);
|
59
|
+
placementChange: EventEmitter<any>;
|
60
|
+
visibleChange: EventEmitter<boolean>;
|
61
|
+
protected originSelector: string;
|
62
|
+
protected overlayConfig: OverlayConfig;
|
63
|
+
protected modifier: TooltipModifier;
|
118
64
|
constructor(overlay: Overlay, elementRef: ElementRef, ngZone: NgZone, scrollDispatcher: ScrollDispatcher, hostView: ViewContainerRef, scrollStrategy: any, direction: Directionality);
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
main: OverlayConnectionPosition;
|
146
|
-
fallback: OverlayConnectionPosition;
|
147
|
-
};
|
148
|
-
/** Inverts an overlay position. */
|
149
|
-
private invertPosition;
|
150
|
-
private getTooltipArrowElem;
|
65
|
+
updateData(): void;
|
66
|
+
closingActions(): import("rxjs").Observable<void | MouseEvent>;
|
67
|
+
getOverlayHandleComponentType(): Type<McTooltipComponent>;
|
68
|
+
updateClassMap(newPlacement?: string): void;
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McTooltipTrigger, [null, null, null, null, null, null, { optional: true; }]>;
|
70
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McTooltipTrigger, "[mcTooltip]", ["mcTooltip"], { "tooltipVisible": "mcVisible"; "tooltipPlacement": "mcPlacement"; "tooltipPlacementPriority": "mcPlacementPriority"; "content": "mcTooltip"; "disabled": "mcTooltipDisabled"; "enterDelay": "mcEnterDelay"; "leaveDelay": "mcLeaveDelay"; "trigger": "mcTrigger"; "customClass": "mcTooltipClass"; }, { "placementChange": "mcPlacementChange"; "visibleChange": "mcVisibleChange"; }, never>;
|
71
|
+
}
|
72
|
+
export declare class McWarningTooltipTrigger extends McTooltipTrigger {
|
73
|
+
get content(): string | TemplateRef<any>;
|
74
|
+
set content(content: string | TemplateRef<any>);
|
75
|
+
protected modifier: TooltipModifier;
|
76
|
+
constructor(overlay: Overlay, elementRef: ElementRef, ngZone: NgZone, scrollDispatcher: ScrollDispatcher, hostView: ViewContainerRef, scrollStrategy: any, direction: Directionality);
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McWarningTooltipTrigger, [null, null, null, null, null, null, { optional: true; }]>;
|
78
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McWarningTooltipTrigger, "[mcWarningTooltip]", ["mcWarningTooltip"], { "content": "mcWarningTooltip"; }, {}, never>;
|
79
|
+
}
|
80
|
+
export declare class McExtendedTooltipTrigger extends McTooltipTrigger {
|
81
|
+
get content(): string | TemplateRef<any>;
|
82
|
+
set content(content: string | TemplateRef<any>);
|
83
|
+
get header(): string | TemplateRef<any>;
|
84
|
+
set header(header: string | TemplateRef<any>);
|
85
|
+
private _header;
|
86
|
+
protected modifier: TooltipModifier;
|
87
|
+
constructor(overlay: Overlay, elementRef: ElementRef, ngZone: NgZone, scrollDispatcher: ScrollDispatcher, hostView: ViewContainerRef, scrollStrategy: any, direction: Directionality);
|
88
|
+
updateData(): void;
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McExtendedTooltipTrigger, [null, null, null, null, null, null, { optional: true; }]>;
|
90
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McExtendedTooltipTrigger, "[mcExtendedTooltip]", ["mcExtendedTooltip"], { "content": "mcExtendedTooltip"; "header": "mcTooltipHeader"; }, {}, never>;
|
151
91
|
}
|
@@ -1,2 +1,9 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./tooltip.component";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@angular/cdk/overlay";
|
1
5
|
export declare class McToolTipModule {
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McToolTipModule, never>;
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McToolTipModule, [typeof i1.McTooltipComponent, typeof i1.McTooltipTrigger, typeof i1.McExtendedTooltipTrigger, typeof i1.McWarningTooltipTrigger], [typeof i2.CommonModule, typeof i3.OverlayModule], [typeof i1.McTooltipComponent, typeof i1.McTooltipTrigger, typeof i1.McExtendedTooltipTrigger, typeof i1.McWarningTooltipTrigger]>;
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<McToolTipModule>;
|
2
9
|
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { SelectionModel } from '@angular/cdk/collections';
|
2
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
3
|
+
import { TreeControl } from './tree-control';
|
4
|
+
/** Base tree control. It has basic toggle/expand/collapse operations on a single data node. */
|
5
|
+
export declare abstract class BaseTreeControl<T> implements TreeControl<T> {
|
6
|
+
dataNodes: T[];
|
7
|
+
/** A selection model with multi-selection to track expansion status. */
|
8
|
+
expansionModel: SelectionModel<T>;
|
9
|
+
filterModel: SelectionModel<T>;
|
10
|
+
filterValue: BehaviorSubject<string>;
|
11
|
+
/** Get depth of a given data node, return the level number. This is for flat tree node. */
|
12
|
+
getLevel: (dataNode: T) => number;
|
13
|
+
/**
|
14
|
+
* Whether the data node is expandable. Returns true if expandable.
|
15
|
+
* This is for flat tree node.
|
16
|
+
*/
|
17
|
+
isExpandable: (dataNode: T) => boolean;
|
18
|
+
/** Gets a stream that emits whenever the given data node's children change. */
|
19
|
+
getChildren: (dataNode: T) => Observable<T[]>;
|
20
|
+
/** Gets a list of descendent data nodes of a subtree rooted at given data node recursively. */
|
21
|
+
abstract getDescendants(dataNode: T): T[];
|
22
|
+
/** Expands all data nodes in the tree. */
|
23
|
+
abstract expandAll(): void;
|
24
|
+
/** Toggles one single data node's expanded/collapsed state. */
|
25
|
+
toggle(dataNode: T): void;
|
26
|
+
/** Expands one single data node. */
|
27
|
+
expand(dataNode: T): void;
|
28
|
+
/** Collapses one single data node. */
|
29
|
+
collapse(dataNode: T): void;
|
30
|
+
/** Whether a given data node is expanded or not. Returns true if the data node is expanded. */
|
31
|
+
isExpanded(dataNode: T): boolean;
|
32
|
+
/** Toggles a subtree rooted at `node` recursively. */
|
33
|
+
toggleDescendants(dataNode: T): void;
|
34
|
+
/** Collapse all dataNodes in the tree. */
|
35
|
+
collapseAll(): void;
|
36
|
+
/** Expands a subtree rooted at given data node recursively. */
|
37
|
+
expandDescendants(dataNode: T): void;
|
38
|
+
/** Collapses a subtree rooted at given data node recursively. */
|
39
|
+
collapseDescendants(dataNode: T): void;
|
40
|
+
}
|