@ptsecurity/mosaic 11.5.0 → 12.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_theming.scss +409 -100
- package/_visual.scss +66 -23
- 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 +601 -421
- 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 +354 -202
- 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 +117 -72
- 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 +94 -62
- 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 +234 -124
- 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 +66 -54
- 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 +546 -377
- 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 +311 -179
- 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 +89 -66
- 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 -1
- 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
@@ -2,6 +2,7 @@ import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
2
|
import { ElementRef, OnDestroy, Renderer2, QueryList, AfterContentInit } from '@angular/core';
|
3
3
|
import { CanColor, CanDisable, CanDisableCtor, CanColorCtor, HasTabIndexCtor } from '@ptsecurity/mosaic/core';
|
4
4
|
import { McIcon } from '@ptsecurity/mosaic/icon';
|
5
|
+
import * as i0 from "@angular/core";
|
5
6
|
export declare class McButtonCssStyler implements AfterContentInit {
|
6
7
|
private renderer;
|
7
8
|
icons: QueryList<McIcon>;
|
@@ -10,6 +11,8 @@ export declare class McButtonCssStyler implements AfterContentInit {
|
|
10
11
|
constructor(elementRef: ElementRef, renderer: Renderer2);
|
11
12
|
ngAfterContentInit(): void;
|
12
13
|
updateClassModifierForIcons(): void;
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McButtonCssStyler, never>;
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McButtonCssStyler, "button[mc-button], a[mc-button]", never, {}, {}, ["icons"]>;
|
13
16
|
}
|
14
17
|
export declare class McButtonBase {
|
15
18
|
_elementRef: ElementRef;
|
@@ -23,8 +26,12 @@ export declare class McButton extends McButtonMixinBase implements OnDestroy, Ca
|
|
23
26
|
focus(): void;
|
24
27
|
focusViaKeyboard(): void;
|
25
28
|
getHostElement(): any;
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McButton, never>;
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McButton, "button[mc-button]", never, { "disabled": "disabled"; "color": "color"; }, {}, never, ["*"]>;
|
26
31
|
}
|
27
32
|
export declare class McAnchor extends McButton {
|
28
33
|
constructor(focusMonitor: FocusMonitor, elementRef: ElementRef);
|
29
34
|
haltDisabledEvents(event: Event): void;
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McAnchor, never>;
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McAnchor, "a[mc-button]", never, { "disabled": "disabled"; "color": "color"; "tabIndex": "tabIndex"; }, {}, never, ["*"]>;
|
30
37
|
}
|
@@ -1,2 +1,10 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./button.component";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@angular/cdk/a11y";
|
5
|
+
import * as i4 from "@angular/cdk/platform";
|
1
6
|
export declare class McButtonModule {
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McButtonModule, never>;
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McButtonModule, [typeof i1.McButton, typeof i1.McAnchor, typeof i1.McButtonCssStyler], [typeof i2.CommonModule, typeof i3.A11yModule, typeof i4.PlatformModule], [typeof i1.McButton, typeof i1.McAnchor, typeof i1.McButtonCssStyler]>;
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<McButtonModule>;
|
2
10
|
}
|
package/button/package.json
CHANGED
@@ -5,7 +5,6 @@
|
|
5
5
|
"esm2015": "../esm2015/button/ptsecurity-mosaic-button.js",
|
6
6
|
"fesm2015": "../fesm2015/ptsecurity-mosaic-button.js",
|
7
7
|
"typings": "ptsecurity-mosaic-button.d.ts",
|
8
|
-
"metadata": "ptsecurity-mosaic-button.metadata.json",
|
9
8
|
"sideEffects": false,
|
10
9
|
"name": "@ptsecurity/mosaic/button"
|
11
10
|
}
|
@@ -2,6 +2,7 @@ import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
2
|
import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
4
4
|
import { McButton } from '@ptsecurity/mosaic/button';
|
5
|
+
import * as i0 from "@angular/core";
|
5
6
|
/** Acceptable types for a button toggle. */
|
6
7
|
export declare type ToggleType = 'checkbox' | 'radio';
|
7
8
|
/**
|
@@ -97,6 +98,8 @@ export declare class McButtonToggleGroup implements ControlValueAccessor, OnInit
|
|
97
98
|
private clearSelection;
|
98
99
|
/** Selects a value if there's a toggle that corresponds to it. */
|
99
100
|
private selectValue;
|
101
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McButtonToggleGroup, never>;
|
102
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McButtonToggleGroup, "mc-button-toggle-group", ["mcButtonToggleGroup"], { "vertical": "vertical"; "value": "value"; "multiple": "multiple"; "disabled": "disabled"; }, { "valueChange": "valueChange"; "change": "change"; }, ["buttonToggles"]>;
|
100
103
|
}
|
101
104
|
/** Single button inside of a toggle group. */
|
102
105
|
export declare class McButtonToggle implements OnInit, OnDestroy {
|
@@ -133,4 +136,6 @@ export declare class McButtonToggle implements OnInit, OnDestroy {
|
|
133
136
|
* update bound properties of the radio button.
|
134
137
|
*/
|
135
138
|
markForCheck(): void;
|
139
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McButtonToggle, [{ optional: true; }, null, null, null]>;
|
140
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McButtonToggle, "mc-button-toggle", ["mcButtonToggle"], { "checked": "checked"; "value": "value"; "tabIndex": "tabIndex"; "disabled": "disabled"; }, { "change": "change"; }, never, ["*"]>;
|
136
141
|
}
|
@@ -1,2 +1,9 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./button-toggle.component";
|
3
|
+
import * as i2 from "@ptsecurity/mosaic/core";
|
4
|
+
import * as i3 from "@ptsecurity/mosaic/button";
|
1
5
|
export declare class McButtonToggleModule {
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McButtonToggleModule, never>;
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McButtonToggleModule, [typeof i1.McButtonToggleGroup, typeof i1.McButtonToggle], [typeof i2.McCommonModule, typeof i3.McButtonModule], [typeof i2.McCommonModule, typeof i1.McButtonToggleGroup, typeof i1.McButtonToggle]>;
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<McButtonToggleModule>;
|
2
9
|
}
|
@@ -5,7 +5,6 @@
|
|
5
5
|
"esm2015": "../esm2015/button-toggle/ptsecurity-mosaic-button-toggle.js",
|
6
6
|
"fesm2015": "../fesm2015/ptsecurity-mosaic-button-toggle.js",
|
7
7
|
"typings": "ptsecurity-mosaic-button-toggle.d.ts",
|
8
|
-
"metadata": "ptsecurity-mosaic-button-toggle.metadata.json",
|
9
8
|
"sideEffects": false,
|
10
9
|
"name": "@ptsecurity/mosaic/button-toggle"
|
11
10
|
}
|
package/card/card.component.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
2
2
|
import { ElementRef, OnDestroy, EventEmitter } from '@angular/core';
|
3
3
|
import { CanColorCtor } from '@ptsecurity/mosaic/core';
|
4
|
+
import * as i0 from "@angular/core";
|
4
5
|
export declare class McCardBase {
|
5
6
|
_elementRef: ElementRef;
|
6
7
|
constructor(_elementRef: ElementRef);
|
@@ -20,4 +21,6 @@ export declare class McCard extends McCardBaseMixin implements OnDestroy {
|
|
20
21
|
onClick($event: MouseEvent): void;
|
21
22
|
onKeyDown($event: KeyboardEvent): void;
|
22
23
|
private get hostElement();
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McCard, never>;
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McCard, "mc-card", never, { "color": "color"; "readonly": "readonly"; "selected": "selected"; "tabIndex": "tabIndex"; }, { "selectedChange": "selectedChange"; }, never, ["*"]>;
|
23
26
|
}
|
package/card/card.module.d.ts
CHANGED
@@ -1,2 +1,10 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./card.component";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@angular/cdk/a11y";
|
5
|
+
import * as i4 from "@angular/cdk/platform";
|
1
6
|
export declare class McCardModule {
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McCardModule, never>;
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McCardModule, [typeof i1.McCard], [typeof i2.CommonModule, typeof i3.A11yModule, typeof i4.PlatformModule], [typeof i1.McCard]>;
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<McCardModule>;
|
2
10
|
}
|
package/card/package.json
CHANGED
@@ -5,7 +5,6 @@
|
|
5
5
|
"esm2015": "../esm2015/card/ptsecurity-mosaic-card.js",
|
6
6
|
"fesm2015": "../fesm2015/ptsecurity-mosaic-card.js",
|
7
7
|
"typings": "ptsecurity-mosaic-card.d.ts",
|
8
|
-
"metadata": "ptsecurity-mosaic-card.metadata.json",
|
9
8
|
"sideEffects": false,
|
10
9
|
"name": "@ptsecurity/mosaic/card"
|
11
10
|
}
|
@@ -1,2 +1,9 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./checkbox";
|
3
|
+
import * as i2 from "./checkbox-required-validator";
|
4
|
+
import * as i3 from "@angular/common";
|
1
5
|
export declare class McCheckboxModule {
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McCheckboxModule, never>;
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McCheckboxModule, [typeof i1.McCheckbox, typeof i2.McCheckboxRequiredValidator], [typeof i3.CommonModule], [typeof i1.McCheckbox, typeof i2.McCheckboxRequiredValidator]>;
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<McCheckboxModule>;
|
2
9
|
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { Provider } from '@angular/core';
|
2
2
|
import { CheckboxRequiredValidator } from '@angular/forms';
|
3
|
+
import * as i0 from "@angular/core";
|
3
4
|
export declare const MC_CHECKBOX_REQUIRED_VALIDATOR: Provider;
|
4
5
|
/**
|
5
6
|
* Validator for Mosaic checkbox's required attribute in template-driven checkbox.
|
@@ -7,4 +8,6 @@ export declare const MC_CHECKBOX_REQUIRED_VALIDATOR: Provider;
|
|
7
8
|
* work with `mc-checkbox`.
|
8
9
|
*/
|
9
10
|
export declare class McCheckboxRequiredValidator extends CheckboxRequiredValidator {
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McCheckboxRequiredValidator, never>;
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McCheckboxRequiredValidator, "mc-checkbox[required][formControlName], mc-checkbox[required][formControl], mc-checkbox[required][ngModel]", never, {}, {}, never>;
|
10
13
|
}
|
package/checkbox/checkbox.d.ts
CHANGED
@@ -3,6 +3,7 @@ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy }
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
4
4
|
import { CanColor, CanColorCtor, CanDisable, CanDisableCtor, HasTabIndex, HasTabIndexCtor } from '@ptsecurity/mosaic/core';
|
5
5
|
import { McCheckboxClickAction } from './checkbox-config';
|
6
|
+
import * as i0 from "@angular/core";
|
6
7
|
/**
|
7
8
|
* Provider Expression that allows mc-checkbox to register as a ControlValueAccessor.
|
8
9
|
* This allows it to support [(ngModel)].
|
@@ -134,4 +135,6 @@ export declare class McCheckbox extends McCheckboxMixinBase implements ControlVa
|
|
134
135
|
private emitChangeEvent;
|
135
136
|
/** Function is called whenever the focus changes for the input element. */
|
136
137
|
private onInputFocusChange;
|
138
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McCheckbox, [null, null, null, { optional: true; }]>;
|
139
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McCheckbox, "mc-checkbox", ["mcCheckbox"], { "color": "color"; "tabIndex": "tabIndex"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "id": "id"; "labelPosition": "labelPosition"; "name": "name"; "value": "value"; "required": "required"; "checked": "checked"; "disabled": "disabled"; "indeterminate": "indeterminate"; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, ["*"]>;
|
137
140
|
}
|
package/checkbox/package.json
CHANGED
@@ -5,7 +5,6 @@
|
|
5
5
|
"esm2015": "../esm2015/checkbox/ptsecurity-mosaic-checkbox.js",
|
6
6
|
"fesm2015": "../fesm2015/ptsecurity-mosaic-checkbox.js",
|
7
7
|
"typings": "ptsecurity-mosaic-checkbox.d.ts",
|
8
|
-
"metadata": "ptsecurity-mosaic-checkbox.metadata.json",
|
9
8
|
"sideEffects": false,
|
10
9
|
"name": "@ptsecurity/mosaic/checkbox"
|
11
10
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
2
|
-
import { Constructor } from './constructor';
|
2
|
+
import { AbstractConstructor, Constructor } from './constructor';
|
3
3
|
export interface CanColor {
|
4
4
|
color: ThemePalette;
|
5
5
|
}
|
6
6
|
/** @docs-private */
|
7
|
-
export declare type CanColorCtor = Constructor<CanColor>;
|
7
|
+
export declare type CanColorCtor = Constructor<CanColor> & AbstractConstructor<CanColor>;
|
8
8
|
export interface HasElementRef {
|
9
9
|
_elementRef: ElementRef;
|
10
10
|
}
|
@@ -16,4 +16,4 @@ export declare enum ThemePalette {
|
|
16
16
|
Empty = ""
|
17
17
|
}
|
18
18
|
/** Mixin to augment a directive with a `color` property. */
|
19
|
-
export declare function mixinColor<T extends
|
19
|
+
export declare function mixinColor<T extends AbstractConstructor<HasElementRef>>(base: T, defaultColor?: ThemePalette): CanColorCtor & T;
|
@@ -1,4 +1,6 @@
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
import * as i1 from "@angular/cdk/bidi";
|
2
4
|
export declare const MC_SANITY_CHECKS: InjectionToken<boolean>;
|
3
5
|
export declare function mcSanityChecksFactory(): boolean;
|
4
6
|
/**
|
@@ -17,4 +19,7 @@ export declare class McCommonModule {
|
|
17
19
|
private isTestEnv;
|
18
20
|
private checkDoctypeIsDefined;
|
19
21
|
private checkThemeIsPresent;
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McCommonModule, [{ optional: true; }]>;
|
23
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McCommonModule, never, [typeof i1.BidiModule], [typeof i1.BidiModule]>;
|
24
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<McCommonModule>;
|
20
25
|
}
|
@@ -1,7 +1,8 @@
|
|
1
|
-
import { Constructor } from './constructor';
|
1
|
+
import { AbstractConstructor, Constructor } from './constructor';
|
2
2
|
export interface CanDisable {
|
3
3
|
disabled: boolean;
|
4
4
|
}
|
5
5
|
/** @docs-private */
|
6
|
-
export declare type CanDisableCtor = Constructor<CanDisable>;
|
7
|
-
|
6
|
+
export declare type CanDisableCtor = Constructor<CanDisable> & AbstractConstructor<CanDisable>;
|
7
|
+
/** Mixin to augment a directive with a `disabled` property. */
|
8
|
+
export declare function mixinDisabled<T extends AbstractConstructor<{}>>(base: T): CanDisableCtor & T;
|
@@ -3,5 +3,6 @@ import { CanDisable } from './disabled';
|
|
3
3
|
export interface HasTabIndex {
|
4
4
|
tabIndex: number;
|
5
5
|
}
|
6
|
-
export declare type HasTabIndexCtor = Constructor<HasTabIndex>;
|
6
|
+
export declare type HasTabIndexCtor = Constructor<HasTabIndex> & AbstractConstructor<HasTabIndex>;
|
7
|
+
/** Mixin to augment a directive with a `tabIndex` property. */
|
7
8
|
export declare function mixinTabIndex<T extends AbstractConstructor<CanDisable>>(base: T, defaultTabIndex?: number): HasTabIndexCtor & T;
|
@@ -1,9 +1,14 @@
|
|
1
1
|
import { FormGroupDirective, NgForm, FormControl } from '@angular/forms';
|
2
|
+
import * as i0 from "@angular/core";
|
2
3
|
/** Error state matcher that matches when a control is invalid and dirty. */
|
3
4
|
export declare class ShowOnDirtyErrorStateMatcher implements ErrorStateMatcher {
|
4
5
|
isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowOnDirtyErrorStateMatcher, never>;
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ShowOnDirtyErrorStateMatcher>;
|
5
8
|
}
|
6
9
|
/** Provider that defines how form controls behave with regards to displaying error messages. */
|
7
10
|
export declare class ErrorStateMatcher {
|
8
11
|
isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorStateMatcher, never>;
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorStateMatcher>;
|
9
14
|
}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { DateAdapter } from '@ptsecurity/cdk/datetime';
|
2
|
+
import * as i0 from "@angular/core";
|
2
3
|
/**
|
3
4
|
* interface for absolute date or datetime formatter template
|
4
5
|
*/
|
@@ -173,4 +174,6 @@ export declare class DateFormatter<D> {
|
|
173
174
|
rangeMiddleDateTime(startDate: D, endDate: D): string;
|
174
175
|
private compileVariables;
|
175
176
|
private hasSame;
|
177
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatter<any>, never>;
|
178
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateFormatter<any>>;
|
176
179
|
}
|
@@ -1,4 +1,9 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./number/formatter";
|
1
3
|
export declare class McFormattersModule {
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McFormattersModule, never>;
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McFormattersModule, [typeof i1.McDecimalPipe], never, [typeof i1.McDecimalPipe]>;
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<McFormattersModule>;
|
2
7
|
}
|
3
8
|
export * from './number/formatter';
|
4
9
|
export * from './date/formatter';
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { InjectionToken, PipeTransform } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
2
3
|
export declare const MC_LOCALE_ID: InjectionToken<string>;
|
3
4
|
export declare const DEFAULT_MC_LOCALE_ID = "ru";
|
4
5
|
export declare const NUMBER_FORMAT_REGEXP: RegExp;
|
@@ -20,4 +21,7 @@ export declare class McDecimalPipe implements PipeTransform {
|
|
20
21
|
* When not supplied, uses the value of `MC_LOCALE_ID`, which is `ru` by default.
|
21
22
|
*/
|
22
23
|
transform(value: any, digitsInfo?: string, locale?: string): string | null;
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McDecimalPipe, [{ optional: true; }]>;
|
25
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<McDecimalPipe, "mcNumber">;
|
26
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<McDecimalPipe>;
|
23
27
|
}
|
@@ -1,2 +1,7 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./forms.directive";
|
1
3
|
export declare class McFormsModule {
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McFormsModule, never>;
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McFormsModule, [typeof i1.McForm, typeof i1.McFormElement], never, [typeof i1.McForm, typeof i1.McFormElement]>;
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<McFormsModule>;
|
2
7
|
}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { AfterContentInit, ElementRef, QueryList } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
2
3
|
export declare class McFormElement implements AfterContentInit {
|
3
4
|
private readonly element;
|
4
5
|
margin: boolean;
|
@@ -9,9 +10,13 @@ export declare class McFormElement implements AfterContentInit {
|
|
9
10
|
elements: QueryList<McFormElement>;
|
10
11
|
constructor(element: ElementRef<HTMLElement>);
|
11
12
|
ngAfterContentInit(): void;
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McFormElement, never>;
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McFormElement, ".mc-form__row, .mc-form__fieldset, .mc-form__legend", ["mcFormElement"], {}, {}, ["elements"]>;
|
12
15
|
}
|
13
16
|
export declare class McForm implements AfterContentInit {
|
14
17
|
elements: QueryList<McFormElement>;
|
15
18
|
ngAfterContentInit(): void;
|
16
19
|
handleElements(elements: QueryList<McFormElement>): void;
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McForm, never>;
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McForm, ".mc-form-vertical, .mc-form-horizontal", ["mcForm"], {}, {}, ["elements"]>;
|
17
22
|
}
|
@@ -1,4 +1,7 @@
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
2
3
|
export declare class McHighlightPipe implements PipeTransform {
|
3
4
|
transform(value: any, args: any): any;
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McHighlightPipe, never>;
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<McHighlightPipe, "mcHighlight">;
|
4
7
|
}
|
@@ -1,3 +1,9 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./highlight.pipe";
|
3
|
+
import * as i2 from "@angular/common";
|
1
4
|
export declare class McHighlightModule {
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McHighlightModule, never>;
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McHighlightModule, [typeof i1.McHighlightPipe], [typeof i2.CommonModule], [typeof i1.McHighlightPipe]>;
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<McHighlightModule>;
|
2
8
|
}
|
3
9
|
export * from './highlight.pipe';
|
package/core/line/line.d.ts
CHANGED
@@ -1,10 +1,13 @@
|
|
1
1
|
import { ElementRef, QueryList } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
2
3
|
/**
|
3
4
|
* Shared directive to count lines inside a text area, such as a list item.
|
4
5
|
* Line elements can be extracted with a @ContentChildren(McLine) query, then
|
5
6
|
* counted by checking the query list's length.
|
6
7
|
*/
|
7
8
|
export declare class McLine {
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McLine, never>;
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McLine, "[mc-line], [mcLine]", never, {}, {}, never>;
|
8
11
|
}
|
9
12
|
/**
|
10
13
|
* Helper that takes a query list of lines and sets the correct class on the host.
|
@@ -19,4 +22,7 @@ export declare class McLineSetter {
|
|
19
22
|
private setClass;
|
20
23
|
}
|
21
24
|
export declare class McLineModule {
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McLineModule, never>;
|
26
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McLineModule, [typeof McLine], never, [typeof McLine]>;
|
27
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<McLineModule>;
|
22
28
|
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
|
2
|
+
import { AfterViewInit, ElementRef, EventEmitter, InjectionToken, OnDestroy } from '@angular/core';
|
3
|
+
import { CanDisableCtor, HasTabIndexCtor } from '../common-behaviors/index';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export interface McOptionActionParent {
|
6
|
+
dropdownTrigger: {
|
7
|
+
opened: boolean;
|
8
|
+
restoreFocus: boolean;
|
9
|
+
dropdownClosed: EventEmitter<void>;
|
10
|
+
lastDestroyReason: void | 'click' | 'keydown' | 'tab';
|
11
|
+
openedBy: Exclude<FocusOrigin, 'program' | null> | undefined;
|
12
|
+
toggle(): void;
|
13
|
+
};
|
14
|
+
tooltipTrigger: {
|
15
|
+
disabled: boolean;
|
16
|
+
};
|
17
|
+
focus(): void;
|
18
|
+
}
|
19
|
+
export declare const MC_OPTION_ACTION_PARENT: InjectionToken<McOptionActionParent>;
|
20
|
+
export declare class McOptionActionBase {
|
21
|
+
}
|
22
|
+
export declare const McOptionActionMixinBase: HasTabIndexCtor & CanDisableCtor & typeof McOptionActionBase;
|
23
|
+
export declare class McOptionActionComponent extends McOptionActionMixinBase implements AfterViewInit, OnDestroy {
|
24
|
+
private elementRef;
|
25
|
+
private focusMonitor;
|
26
|
+
private option;
|
27
|
+
customIcon: ElementRef;
|
28
|
+
hasFocus: boolean;
|
29
|
+
get active(): boolean;
|
30
|
+
private readonly destroy;
|
31
|
+
constructor(elementRef: ElementRef, focusMonitor: FocusMonitor, option: McOptionActionParent);
|
32
|
+
ngAfterViewInit(): void;
|
33
|
+
ngOnDestroy(): void;
|
34
|
+
focus(origin?: FocusOrigin, options?: FocusOptions): void;
|
35
|
+
onFocus($event: any): void;
|
36
|
+
onBlur(): void;
|
37
|
+
onClick($event: any): void;
|
38
|
+
onKeyDown($event: any): void;
|
39
|
+
private preventShowingTooltip;
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McOptionActionComponent, never>;
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McOptionActionComponent, "mc-option-action", ["mcOptionAction"], { "disabled": "disabled"; }, {}, ["customIcon"], ["[mc-icon]"]>;
|
42
|
+
}
|
package/core/option/index.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { CanDisable, CanDisableCtor } from '../common-behaviors/index';
|
2
|
+
import * as i0 from "@angular/core";
|
2
3
|
/** @docs-private */
|
3
4
|
export declare class McOptgroupBase {
|
4
5
|
}
|
@@ -10,4 +11,6 @@ export declare class McOptgroup extends McOptgroupMixinBase implements CanDisabl
|
|
10
11
|
label: string;
|
11
12
|
/** Unique id for the underlying label. */
|
12
13
|
labelId: string;
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McOptgroup, never>;
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McOptgroup, "mc-optgroup", ["mcOptgroup"], { "disabled": "disabled"; "label": "label"; }, {}, never, ["mc-option, mc-list-option, ng-container"]>;
|
13
16
|
}
|
@@ -1,2 +1,11 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./option";
|
3
|
+
import * as i2 from "./optgroup";
|
4
|
+
import * as i3 from "./action";
|
5
|
+
import * as i4 from "@angular/common";
|
6
|
+
import * as i5 from "../selection/pseudo-checkbox/pseudo-checkbox.module";
|
1
7
|
export declare class McOptionModule {
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McOptionModule, never>;
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McOptionModule, [typeof i1.McOption, typeof i2.McOptgroup, typeof i3.McOptionActionComponent], [typeof i4.CommonModule, typeof i5.McPseudoCheckboxModule], [typeof i1.McOption, typeof i2.McOptgroup, typeof i3.McOptionActionComponent]>;
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<McOptionModule>;
|
2
11
|
}
|
package/core/option/option.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import { AfterViewChecked, ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, OnDestroy, QueryList } from '@angular/core';
|
2
2
|
import { Subject } from 'rxjs';
|
3
3
|
import { McOptgroup } from './optgroup';
|
4
|
+
import * as i0 from "@angular/core";
|
4
5
|
/** Event object emitted by McOption when selected or deselected. */
|
5
6
|
export declare class McOptionSelectionChange {
|
6
7
|
source: McOption;
|
@@ -91,6 +92,8 @@ export declare class McOption implements AfterViewChecked, OnDestroy {
|
|
91
92
|
getHostElement(): HTMLElement;
|
92
93
|
/** Emits the selection change event. */
|
93
94
|
private emitSelectionChangeEvent;
|
95
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McOption, [null, null, { optional: true; }, { optional: true; }]>;
|
96
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McOption, "mc-option", ["mcOption"], { "value": "value"; "showCheckbox": "showCheckbox"; "disabled": "disabled"; }, { "onSelectionChange": "onSelectionChange"; }, never, ["*"]>;
|
94
97
|
}
|
95
98
|
/**
|
96
99
|
* Counts the amount of option group labels that precede the specified option.
|
@@ -2,7 +2,6 @@ import { ConnectionPositionPair } from '@angular/cdk/overlay';
|
|
2
2
|
export declare const POSITION_MAP: {
|
3
3
|
[key: string]: ConnectionPositionPair;
|
4
4
|
};
|
5
|
-
export declare const DEFAULT_4_POSITIONS: ConnectionPositionPair[];
|
6
5
|
export declare const EXTENDED_OVERLAY_POSITIONS: ConnectionPositionPair[];
|
7
6
|
export declare const TOP_POSITION_PRIORITY: ConnectionPositionPair[];
|
8
7
|
export declare const BOTTOM_POSITION_PRIORITY: ConnectionPositionPair[];
|
@@ -33,6 +32,3 @@ export declare const POSITION_PRIORITY_STRATEGY: {
|
|
33
32
|
export declare const POSITION_TO_CSS_MAP: {
|
34
33
|
[key: string]: string;
|
35
34
|
};
|
36
|
-
export declare const DEFAULT_4_POSITIONS_TO_CSS_MAP: {
|
37
|
-
[key: string]: string;
|
38
|
-
};
|
package/core/package.json
CHANGED
@@ -5,7 +5,6 @@
|
|
5
5
|
"esm2015": "../esm2015/core/ptsecurity-mosaic-core.js",
|
6
6
|
"fesm2015": "../fesm2015/ptsecurity-mosaic-core.js",
|
7
7
|
"typings": "ptsecurity-mosaic-core.d.ts",
|
8
|
-
"metadata": "ptsecurity-mosaic-core.metadata.json",
|
9
8
|
"sideEffects": false,
|
10
9
|
"name": "@ptsecurity/mosaic/core"
|
11
10
|
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
export declare enum PopUpPlacements {
|
2
|
+
Top = "top",
|
3
|
+
TopLeft = "topLeft",
|
4
|
+
TopRight = "topRight",
|
5
|
+
Right = "right",
|
6
|
+
RightTop = "rightTop",
|
7
|
+
RightBottom = "rightBottom",
|
8
|
+
Left = "left",
|
9
|
+
LeftTop = "leftTop",
|
10
|
+
LeftBottom = "leftBottom",
|
11
|
+
Bottom = "bottom",
|
12
|
+
BottomLeft = "bottomLeft",
|
13
|
+
BottomRight = "bottomRight"
|
14
|
+
}
|
15
|
+
export declare enum PopUpVisibility {
|
16
|
+
Initial = "initial",
|
17
|
+
Visible = "visible",
|
18
|
+
Hidden = "hidden"
|
19
|
+
}
|
20
|
+
export declare enum PopUpTriggers {
|
21
|
+
Click = "click",
|
22
|
+
Focus = "focus",
|
23
|
+
Hover = "hover"
|
24
|
+
}
|
25
|
+
export declare enum PopUpSizes {
|
26
|
+
Small = "small",
|
27
|
+
Normal = "normal",
|
28
|
+
Large = "large"
|
29
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
import { Directionality } from '@angular/cdk/bidi';
|
2
|
+
import { ConnectedOverlayPositionChange, ConnectionPositionPair, Overlay, OverlayRef, ScrollDispatcher } from '@angular/cdk/overlay';
|
3
|
+
import { OverlayConfig } from '@angular/cdk/overlay/overlay-config';
|
4
|
+
import { ComponentPortal } from '@angular/cdk/portal';
|
5
|
+
import { ElementRef, EventEmitter, NgZone, TemplateRef, Type, ViewContainerRef } from '@angular/core';
|
6
|
+
import { Observable, Subject } from 'rxjs';
|
7
|
+
import { PopUpPlacements } from './constants';
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
export declare abstract class McPopUpTrigger<T> {
|
10
|
+
protected overlay: Overlay;
|
11
|
+
protected elementRef: ElementRef;
|
12
|
+
protected ngZone: NgZone;
|
13
|
+
protected scrollDispatcher: ScrollDispatcher;
|
14
|
+
protected hostView: ViewContainerRef;
|
15
|
+
protected scrollStrategy: any;
|
16
|
+
protected direction?: Directionality | undefined;
|
17
|
+
isOpen: boolean;
|
18
|
+
enterDelay: number;
|
19
|
+
leaveDelay: number;
|
20
|
+
abstract disabled: boolean;
|
21
|
+
abstract trigger: string;
|
22
|
+
abstract customClass: string;
|
23
|
+
abstract content: string | TemplateRef<any>;
|
24
|
+
abstract placementChange: EventEmitter<string>;
|
25
|
+
abstract visibleChange: EventEmitter<boolean>;
|
26
|
+
protected abstract originSelector: string;
|
27
|
+
protected abstract overlayConfig: OverlayConfig;
|
28
|
+
protected placement: PopUpPlacements;
|
29
|
+
protected placementPriority: string | string[] | null;
|
30
|
+
protected visible: boolean;
|
31
|
+
protected _content: string | TemplateRef<any>;
|
32
|
+
protected _disabled: boolean;
|
33
|
+
protected _customClass: string;
|
34
|
+
protected overlayRef: OverlayRef | null;
|
35
|
+
protected portal: ComponentPortal<T>;
|
36
|
+
protected instance: any | null;
|
37
|
+
protected listeners: Map<string, EventListenerOrEventListenerObject>;
|
38
|
+
protected readonly availablePositions: {
|
39
|
+
[key: string]: ConnectionPositionPair;
|
40
|
+
};
|
41
|
+
protected readonly destroyed: Subject<void>;
|
42
|
+
protected constructor(overlay: Overlay, elementRef: ElementRef, ngZone: NgZone, scrollDispatcher: ScrollDispatcher, hostView: ViewContainerRef, scrollStrategy: any, direction?: Directionality | undefined);
|
43
|
+
abstract updateClassMap(newPlacement?: string): void;
|
44
|
+
abstract updateData(): void;
|
45
|
+
abstract closingActions(): Observable<any>;
|
46
|
+
abstract getOverlayHandleComponentType(): Type<T>;
|
47
|
+
ngOnInit(): void;
|
48
|
+
ngOnDestroy(): void;
|
49
|
+
updatePlacement(value: PopUpPlacements): void;
|
50
|
+
updatePlacementPriority(value: any): void;
|
51
|
+
updateVisible(externalValue: boolean): void;
|
52
|
+
handleKeydown(event: KeyboardEvent): void;
|
53
|
+
handleTouchend(): void;
|
54
|
+
show(delay?: number): void;
|
55
|
+
hide(delay?: number): void;
|
56
|
+
detach: () => void;
|
57
|
+
/** Create the overlay config and position strategy */
|
58
|
+
createOverlay(): OverlayRef;
|
59
|
+
onPositionChange: ($event: ConnectedOverlayPositionChange) => void;
|
60
|
+
initListeners(): void;
|
61
|
+
/** Updates the position of the current popover. */
|
62
|
+
updatePosition(reapplyPosition?: boolean): void;
|
63
|
+
protected getPriorityPlacementStrategy(value: string | string[]): ConnectionPositionPair[];
|
64
|
+
protected getPrioritizedPositions(): ConnectionPositionPair[];
|
65
|
+
protected clearListeners(): void;
|
66
|
+
private addEventListener;
|
67
|
+
private removeEventListener;
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McPopUpTrigger<any>, never>;
|
69
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McPopUpTrigger<any>, never, never, {}, {}, never>;
|
70
|
+
}
|