@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
@@ -1,16 +1,22 @@
|
|
1
|
+
import * as i2$1 from '@angular/cdk/bidi';
|
1
2
|
import { BidiModule } from '@angular/cdk/bidi';
|
2
3
|
import * as i0 from '@angular/core';
|
3
|
-
import { InjectionToken, isDevMode, NgModule, Optional, Inject, Directive, Injectable, Pipe, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, EventEmitter,
|
4
|
+
import { InjectionToken, isDevMode, NgModule, Optional, Inject, Directive, Injectable, Pipe, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, EventEmitter, Output, ContentChild, ContentChildren, TemplateRef } from '@angular/core';
|
4
5
|
import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
|
5
6
|
import { Subject } from 'rxjs';
|
6
|
-
import
|
7
|
-
import * as
|
7
|
+
import MessageFormat from '@messageformat/core';
|
8
|
+
import * as i1 from '@ptsecurity/cdk/datetime';
|
9
|
+
import { MC_DATE_LOCALE } from '@ptsecurity/cdk/datetime';
|
8
10
|
import { RequiredValidator } from '@angular/forms';
|
9
|
-
import * as
|
11
|
+
import * as i2 from '@angular/common';
|
10
12
|
import { CommonModule, DOCUMENT } from '@angular/common';
|
13
|
+
import * as i1$2 from '@angular/cdk/overlay';
|
11
14
|
import { Overlay } from '@angular/cdk/overlay';
|
12
15
|
import { trigger, state, style, transition, animate, group } from '@angular/animations';
|
13
|
-
import { ENTER, SPACE } from '@ptsecurity/cdk/keycodes';
|
16
|
+
import { ENTER, SPACE, TAB, ESCAPE } from '@ptsecurity/cdk/keycodes';
|
17
|
+
import * as i1$1 from '@angular/cdk/a11y';
|
18
|
+
import { takeUntil, distinctUntilChanged, delay } from 'rxjs/operators';
|
19
|
+
import { ComponentPortal } from '@angular/cdk/portal';
|
14
20
|
|
15
21
|
function isBoolean(val) { return typeof val === 'boolean'; }
|
16
22
|
function toBoolean(value) {
|
@@ -81,16 +87,21 @@ class McCommonModule {
|
|
81
87
|
}
|
82
88
|
}
|
83
89
|
}
|
84
|
-
McCommonModule
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
]
|
90
|
+
/** @nocollapse */ McCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McCommonModule, deps: [{ token: MC_SANITY_CHECKS, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
91
|
+
/** @nocollapse */ McCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McCommonModule, imports: [BidiModule], exports: [BidiModule] });
|
92
|
+
/** @nocollapse */ McCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McCommonModule, imports: [[BidiModule], BidiModule] });
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McCommonModule, decorators: [{
|
94
|
+
type: NgModule,
|
95
|
+
args: [{
|
96
|
+
imports: [BidiModule],
|
97
|
+
exports: [BidiModule]
|
98
|
+
}]
|
99
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
100
|
+
type: Optional
|
101
|
+
}, {
|
102
|
+
type: Inject,
|
103
|
+
args: [MC_SANITY_CHECKS]
|
104
|
+
}] }]; } });
|
94
105
|
|
95
106
|
function mixinDisabled(base) {
|
96
107
|
return class extends base {
|
@@ -116,16 +127,13 @@ var ThemePalette;
|
|
116
127
|
ThemePalette["Default"] = "second";
|
117
128
|
ThemePalette["Empty"] = "";
|
118
129
|
})(ThemePalette || (ThemePalette = {}));
|
119
|
-
/** Mixin to augment a directive with a `color` property. */
|
120
130
|
function mixinColor(base, defaultColor = ThemePalette.Default) {
|
121
131
|
return class extends base {
|
122
132
|
constructor(...args) {
|
123
133
|
super(...args);
|
124
134
|
this.color = defaultColor;
|
125
135
|
}
|
126
|
-
get color() {
|
127
|
-
return this._color;
|
128
|
-
}
|
136
|
+
get color() { return this._color; }
|
129
137
|
set color(value) {
|
130
138
|
const colorPalette = value || defaultColor;
|
131
139
|
if (colorPalette !== this._color) {
|
@@ -141,17 +149,12 @@ function mixinColor(base, defaultColor = ThemePalette.Default) {
|
|
141
149
|
};
|
142
150
|
}
|
143
151
|
|
144
|
-
// Mixin to augment a directive with a `tabIndex` property.
|
145
152
|
function mixinTabIndex(base, defaultTabIndex = 0) {
|
146
|
-
|
147
|
-
// but given we `extend` it from another class, we can assume a constructor being accessible.
|
148
|
-
// tslint:disable-next-line:naming-convention
|
149
|
-
class Mixin extends base {
|
153
|
+
return class extends base {
|
150
154
|
constructor(...args) {
|
151
155
|
super(...args);
|
152
|
-
// tslint:disable-next-line:orthodox-getter-and-setter
|
153
|
-
this._tabIndex = defaultTabIndex;
|
154
156
|
this.defaultTabIndex = defaultTabIndex;
|
157
|
+
this._tabIndex = defaultTabIndex;
|
155
158
|
}
|
156
159
|
get tabIndex() {
|
157
160
|
return this.disabled ? -1 : this._tabIndex;
|
@@ -160,11 +163,7 @@ function mixinTabIndex(base, defaultTabIndex = 0) {
|
|
160
163
|
// If the specified tabIndex value is null or undefined, fall back to the default value.
|
161
164
|
this._tabIndex = value != null ? coerceNumberProperty(value) : this.defaultTabIndex;
|
162
165
|
}
|
163
|
-
}
|
164
|
-
// Since we don't directly extend from `base` with it's original types, and we instruct
|
165
|
-
// TypeScript that `T` actually is instantiatable through `new`, the types don't overlap.
|
166
|
-
// This is a limitation in TS as abstract classes cannot be typed properly dynamically.
|
167
|
-
return Mixin;
|
166
|
+
};
|
168
167
|
}
|
169
168
|
|
170
169
|
/**
|
@@ -204,12 +203,15 @@ function mixinErrorState(base) {
|
|
204
203
|
*/
|
205
204
|
class McLine {
|
206
205
|
}
|
207
|
-
McLine
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
]
|
206
|
+
/** @nocollapse */ McLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McLine, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
207
|
+
/** @nocollapse */ McLine.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: McLine, selector: "[mc-line], [mcLine]", host: { classAttribute: "mc-line" }, ngImport: i0 });
|
208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McLine, decorators: [{
|
209
|
+
type: Directive,
|
210
|
+
args: [{
|
211
|
+
selector: '[mc-line], [mcLine]',
|
212
|
+
host: { class: 'mc-line' }
|
213
|
+
}]
|
214
|
+
}] });
|
213
215
|
/**
|
214
216
|
* Helper that takes a query list of lines and sets the correct class on the host.
|
215
217
|
* @docs-private
|
@@ -250,13 +252,17 @@ class McLineSetter {
|
|
250
252
|
}
|
251
253
|
class McLineModule {
|
252
254
|
}
|
253
|
-
McLineModule
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
]
|
255
|
+
/** @nocollapse */ McLineModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McLineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
256
|
+
/** @nocollapse */ McLineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McLineModule, declarations: [McLine], exports: [McLine] });
|
257
|
+
/** @nocollapse */ McLineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McLineModule, imports: [[]] });
|
258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McLineModule, decorators: [{
|
259
|
+
type: NgModule,
|
260
|
+
args: [{
|
261
|
+
imports: [],
|
262
|
+
exports: [McLine],
|
263
|
+
declarations: [McLine]
|
264
|
+
}]
|
265
|
+
}] });
|
260
266
|
|
261
267
|
/** Error state matcher that matches when a control is invalid and dirty. */
|
262
268
|
class ShowOnDirtyErrorStateMatcher {
|
@@ -264,19 +270,23 @@ class ShowOnDirtyErrorStateMatcher {
|
|
264
270
|
return !!(control && control.invalid && (control.dirty || (form && form.submitted)));
|
265
271
|
}
|
266
272
|
}
|
267
|
-
ShowOnDirtyErrorStateMatcher
|
268
|
-
|
269
|
-
|
273
|
+
/** @nocollapse */ ShowOnDirtyErrorStateMatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ShowOnDirtyErrorStateMatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
274
|
+
/** @nocollapse */ ShowOnDirtyErrorStateMatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ShowOnDirtyErrorStateMatcher });
|
275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ShowOnDirtyErrorStateMatcher, decorators: [{
|
276
|
+
type: Injectable
|
277
|
+
}] });
|
270
278
|
/** Provider that defines how form controls behave with regards to displaying error messages. */
|
271
279
|
class ErrorStateMatcher {
|
272
280
|
isErrorState(control, form) {
|
273
281
|
return !!(control && control.invalid && (control.touched || (form && form.submitted)));
|
274
282
|
}
|
275
283
|
}
|
276
|
-
/** @nocollapse */ ErrorStateMatcher.ɵ
|
277
|
-
ErrorStateMatcher
|
278
|
-
|
279
|
-
|
284
|
+
/** @nocollapse */ ErrorStateMatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ErrorStateMatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
285
|
+
/** @nocollapse */ ErrorStateMatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ErrorStateMatcher, providedIn: 'root' });
|
286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ErrorStateMatcher, decorators: [{
|
287
|
+
type: Injectable,
|
288
|
+
args: [{ providedIn: 'root' }]
|
289
|
+
}] });
|
280
290
|
|
281
291
|
const enUS = {
|
282
292
|
relativeTemplates: {
|
@@ -1109,14 +1119,14 @@ class DateFormatter {
|
|
1109
1119
|
return this.adapter.hasSame(startDate, endDate, unit) ? 'yes' : 'no';
|
1110
1120
|
}
|
1111
1121
|
}
|
1112
|
-
DateFormatter
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
];
|
1122
|
+
/** @nocollapse */ DateFormatter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: DateFormatter, deps: [{ token: i1.DateAdapter }, { token: MC_DATE_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable });
|
1123
|
+
/** @nocollapse */ DateFormatter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: DateFormatter });
|
1124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: DateFormatter, decorators: [{
|
1125
|
+
type: Injectable
|
1126
|
+
}], ctorParameters: function () { return [{ type: i1.DateAdapter }, { type: undefined, decorators: [{
|
1127
|
+
type: Inject,
|
1128
|
+
args: [MC_DATE_LOCALE]
|
1129
|
+
}] }]; } });
|
1120
1130
|
|
1121
1131
|
/* tslint:disable:naming-convention */
|
1122
1132
|
const MC_LOCALE_ID = new InjectionToken('McLocaleId');
|
@@ -1199,25 +1209,35 @@ class McDecimalPipe {
|
|
1199
1209
|
}
|
1200
1210
|
}
|
1201
1211
|
}
|
1202
|
-
/** @nocollapse */ McDecimalPipe.ɵ
|
1203
|
-
McDecimalPipe
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
]
|
1212
|
+
/** @nocollapse */ McDecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McDecimalPipe, deps: [{ token: MC_LOCALE_ID, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
1213
|
+
/** @nocollapse */ McDecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McDecimalPipe, name: "mcNumber" });
|
1214
|
+
/** @nocollapse */ McDecimalPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McDecimalPipe, providedIn: 'root' });
|
1215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McDecimalPipe, decorators: [{
|
1216
|
+
type: Injectable,
|
1217
|
+
args: [{ providedIn: 'root' }]
|
1218
|
+
}, {
|
1219
|
+
type: Pipe,
|
1220
|
+
args: [{ name: 'mcNumber' }]
|
1221
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
1222
|
+
type: Optional
|
1223
|
+
}, {
|
1224
|
+
type: Inject,
|
1225
|
+
args: [MC_LOCALE_ID]
|
1226
|
+
}] }]; } });
|
1211
1227
|
|
1212
1228
|
class McFormattersModule {
|
1213
1229
|
}
|
1214
|
-
McFormattersModule
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
]
|
1230
|
+
/** @nocollapse */ McFormattersModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McFormattersModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1231
|
+
/** @nocollapse */ McFormattersModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McFormattersModule, declarations: [McDecimalPipe], exports: [McDecimalPipe] });
|
1232
|
+
/** @nocollapse */ McFormattersModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McFormattersModule, providers: [DateFormatter] });
|
1233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McFormattersModule, decorators: [{
|
1234
|
+
type: NgModule,
|
1235
|
+
args: [{
|
1236
|
+
exports: [McDecimalPipe],
|
1237
|
+
declarations: [McDecimalPipe],
|
1238
|
+
providers: [DateFormatter]
|
1239
|
+
}]
|
1240
|
+
}] });
|
1221
1241
|
|
1222
1242
|
const validationTooltipShowDelay = 10;
|
1223
1243
|
const validationTooltipHideDelay = 3000;
|
@@ -1309,19 +1329,26 @@ class McHighlightPipe {
|
|
1309
1329
|
return value.replace(new RegExp(`(${args})`, 'gi'), '<mark class="mc-highlight">$1</mark>');
|
1310
1330
|
}
|
1311
1331
|
}
|
1312
|
-
McHighlightPipe
|
1313
|
-
|
1314
|
-
|
1332
|
+
/** @nocollapse */ McHighlightPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McHighlightPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
1333
|
+
/** @nocollapse */ McHighlightPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McHighlightPipe, name: "mcHighlight" });
|
1334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McHighlightPipe, decorators: [{
|
1335
|
+
type: Pipe,
|
1336
|
+
args: [{ name: 'mcHighlight' }]
|
1337
|
+
}] });
|
1315
1338
|
|
1316
1339
|
class McHighlightModule {
|
1317
1340
|
}
|
1318
|
-
McHighlightModule
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1324
|
-
]
|
1341
|
+
/** @nocollapse */ McHighlightModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McHighlightModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1342
|
+
/** @nocollapse */ McHighlightModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McHighlightModule, declarations: [McHighlightPipe], imports: [CommonModule], exports: [McHighlightPipe] });
|
1343
|
+
/** @nocollapse */ McHighlightModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McHighlightModule, imports: [[CommonModule]] });
|
1344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McHighlightModule, decorators: [{
|
1345
|
+
type: NgModule,
|
1346
|
+
args: [{
|
1347
|
+
imports: [CommonModule],
|
1348
|
+
exports: [McHighlightPipe],
|
1349
|
+
declarations: [McHighlightPipe]
|
1350
|
+
}]
|
1351
|
+
}] });
|
1325
1352
|
|
1326
1353
|
const selectEvents = 'selectEvents';
|
1327
1354
|
|
@@ -1462,13 +1489,19 @@ const POSITION_MAP = {
|
|
1462
1489
|
overlayY: 'bottom'
|
1463
1490
|
}
|
1464
1491
|
};
|
1465
|
-
const DEFAULT_4_POSITIONS = objectValues([
|
1466
|
-
POSITION_MAP.top, POSITION_MAP.right, POSITION_MAP.bottom, POSITION_MAP.left
|
1467
|
-
]);
|
1468
1492
|
const EXTENDED_OVERLAY_POSITIONS = objectValues([
|
1469
|
-
POSITION_MAP.top,
|
1470
|
-
POSITION_MAP.
|
1471
|
-
POSITION_MAP.
|
1493
|
+
POSITION_MAP.top,
|
1494
|
+
POSITION_MAP.topLeft,
|
1495
|
+
POSITION_MAP.topRight,
|
1496
|
+
POSITION_MAP.right,
|
1497
|
+
POSITION_MAP.rightTop,
|
1498
|
+
POSITION_MAP.rightBottom,
|
1499
|
+
POSITION_MAP.bottom,
|
1500
|
+
POSITION_MAP.bottomLeft,
|
1501
|
+
POSITION_MAP.bottomRight,
|
1502
|
+
POSITION_MAP.left,
|
1503
|
+
POSITION_MAP.leftTop,
|
1504
|
+
POSITION_MAP.leftBottom
|
1472
1505
|
]);
|
1473
1506
|
const TOP_POSITION_PRIORITY = objectValues([
|
1474
1507
|
POSITION_MAP.top,
|
@@ -1598,15 +1631,9 @@ const POSITION_TO_CSS_MAP = {
|
|
1598
1631
|
bottomLeft: 'bottom-left',
|
1599
1632
|
bottomRight: 'bottom-right'
|
1600
1633
|
};
|
1601
|
-
const DEFAULT_4_POSITIONS_TO_CSS_MAP = {
|
1602
|
-
top: 'top',
|
1603
|
-
bottom: 'bottom',
|
1604
|
-
right: 'right',
|
1605
|
-
left: 'left'
|
1606
|
-
};
|
1607
1634
|
function arrayMap(array, iteratee) {
|
1608
1635
|
let index = -1;
|
1609
|
-
const length = array
|
1636
|
+
const length = array === null ? 0 : array.length;
|
1610
1637
|
const result = Array(length);
|
1611
1638
|
while (++index < length) {
|
1612
1639
|
result[index] = iteratee(array[index], index, array);
|
@@ -1614,12 +1641,10 @@ function arrayMap(array, iteratee) {
|
|
1614
1641
|
return result;
|
1615
1642
|
}
|
1616
1643
|
function baseValues(object, props) {
|
1617
|
-
return arrayMap(props, (key) =>
|
1618
|
-
return object[key];
|
1619
|
-
});
|
1644
|
+
return arrayMap(props, (key) => object[key]);
|
1620
1645
|
}
|
1621
1646
|
function objectValues(object) {
|
1622
|
-
return object
|
1647
|
+
return object === null ? [] : baseValues(object, Object.keys(object));
|
1623
1648
|
}
|
1624
1649
|
|
1625
1650
|
const fadeAnimation = trigger('fadeAnimation', [
|
@@ -1710,36 +1735,43 @@ class McPseudoCheckbox {
|
|
1710
1735
|
this.disabled = false;
|
1711
1736
|
}
|
1712
1737
|
}
|
1713
|
-
McPseudoCheckbox
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1718
|
-
|
1719
|
-
|
1720
|
-
|
1721
|
-
|
1722
|
-
|
1723
|
-
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1727
|
-
|
1728
|
-
|
1729
|
-
|
1730
|
-
|
1731
|
-
|
1732
|
-
|
1738
|
+
/** @nocollapse */ McPseudoCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McPseudoCheckbox, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
1739
|
+
/** @nocollapse */ McPseudoCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: McPseudoCheckbox, selector: "mc-pseudo-checkbox", inputs: { state: "state", disabled: "disabled" }, host: { properties: { "class.mc-indeterminate": "state === \"indeterminate\"", "class.mc-checked": "state === \"checked\"", "class.mc-disabled": "disabled" }, classAttribute: "mc-pseudo-checkbox" }, ngImport: i0, template: "<i class=\"mc-checkbox-checkmark mc mc-check_16\"></i>\n<i class=\"mc-checkbox-mixedmark mc mc-minus_16\"></i>\n", styles: [".mc-pseudo-checkbox{position:relative;display:inline-block;box-sizing:border-box;width:16px;width:var(--mc-checkbox-size-width, 16px);height:16px;height:var(--mc-checkbox-size-width, 16px);border-radius:3px;border-width:1px;border-width:var(--mc-checkbox-size-border-width, 1px);border-style:solid;cursor:pointer;vertical-align:middle;flex-shrink:0}.mc-pseudo-checkbox .mc-checkbox-checkmark,.mc-pseudo-checkbox .mc-checkbox-mixedmark{display:none;position:absolute;top:calc(-1 * 1px);top:calc(-1 * var(--mc-checkbox-size-border-width, 1px));left:calc(-1 * 1px);left:calc(-1 * var(--mc-checkbox-size-border-width, 1px))}.mc-pseudo-checkbox.mc-pseudo-checkbox-checked,.mc-pseudo-checkbox.mc-pseudo-checkbox-indeterminate{border-color:transparent}.mc-pseudo-checkbox.mc-checked .mc-checkbox-checkmark{display:inline-block}.mc-pseudo-checkbox.mc-indeterminate .mc-checkbox-mixedmark{display:inline-block}.mc-pseudo-checkbox.mc-disabled{cursor:default}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
1740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McPseudoCheckbox, decorators: [{
|
1741
|
+
type: Component,
|
1742
|
+
args: [{
|
1743
|
+
selector: 'mc-pseudo-checkbox',
|
1744
|
+
templateUrl: 'pseudo-checkbox.partial.html',
|
1745
|
+
styleUrls: ['pseudo-checkbox.scss'],
|
1746
|
+
host: {
|
1747
|
+
class: 'mc-pseudo-checkbox',
|
1748
|
+
'[class.mc-indeterminate]': 'state === "indeterminate"',
|
1749
|
+
'[class.mc-checked]': 'state === "checked"',
|
1750
|
+
'[class.mc-disabled]': 'disabled'
|
1751
|
+
},
|
1752
|
+
preserveWhitespaces: false,
|
1753
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
1754
|
+
encapsulation: ViewEncapsulation.None
|
1755
|
+
}]
|
1756
|
+
}], propDecorators: { state: [{
|
1757
|
+
type: Input
|
1758
|
+
}], disabled: [{
|
1759
|
+
type: Input
|
1760
|
+
}] } });
|
1733
1761
|
|
1734
1762
|
class McPseudoCheckboxModule {
|
1735
1763
|
}
|
1736
|
-
McPseudoCheckboxModule
|
1737
|
-
|
1738
|
-
|
1739
|
-
|
1740
|
-
|
1741
|
-
|
1742
|
-
]
|
1764
|
+
/** @nocollapse */ McPseudoCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McPseudoCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1765
|
+
/** @nocollapse */ McPseudoCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McPseudoCheckboxModule, declarations: [McPseudoCheckbox], imports: [CommonModule], exports: [McPseudoCheckbox] });
|
1766
|
+
/** @nocollapse */ McPseudoCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McPseudoCheckboxModule, imports: [[CommonModule]] });
|
1767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McPseudoCheckboxModule, decorators: [{
|
1768
|
+
type: NgModule,
|
1769
|
+
args: [{
|
1770
|
+
imports: [CommonModule],
|
1771
|
+
exports: [McPseudoCheckbox],
|
1772
|
+
declarations: [McPseudoCheckbox]
|
1773
|
+
}]
|
1774
|
+
}] });
|
1743
1775
|
|
1744
1776
|
class McMeasureScrollbarService {
|
1745
1777
|
constructor(document) {
|
@@ -1774,16 +1806,17 @@ class McMeasureScrollbarService {
|
|
1774
1806
|
this._scrollBarWidth = width;
|
1775
1807
|
}
|
1776
1808
|
}
|
1777
|
-
/** @nocollapse */ McMeasureScrollbarService.ɵ
|
1778
|
-
McMeasureScrollbarService
|
1779
|
-
|
1780
|
-
|
1781
|
-
|
1782
|
-
|
1783
|
-
|
1784
|
-
|
1785
|
-
|
1786
|
-
]
|
1809
|
+
/** @nocollapse */ McMeasureScrollbarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McMeasureScrollbarService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
1810
|
+
/** @nocollapse */ McMeasureScrollbarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McMeasureScrollbarService, providedIn: 'root' });
|
1811
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McMeasureScrollbarService, decorators: [{
|
1812
|
+
type: Injectable,
|
1813
|
+
args: [{
|
1814
|
+
providedIn: 'root'
|
1815
|
+
}]
|
1816
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
1817
|
+
type: Inject,
|
1818
|
+
args: [DOCUMENT]
|
1819
|
+
}] }]; } });
|
1787
1820
|
|
1788
1821
|
/** @docs-private */
|
1789
1822
|
class McOptgroupBase {
|
@@ -1801,24 +1834,26 @@ class McOptgroup extends McOptgroupMixinBase {
|
|
1801
1834
|
this.labelId = `mc-optgroup-label-${uniqueOptgroupIdCounter++}`;
|
1802
1835
|
}
|
1803
1836
|
}
|
1804
|
-
McOptgroup
|
1805
|
-
|
1806
|
-
|
1807
|
-
|
1808
|
-
|
1809
|
-
|
1810
|
-
|
1811
|
-
|
1812
|
-
|
1813
|
-
|
1814
|
-
|
1815
|
-
|
1816
|
-
|
1817
|
-
|
1818
|
-
]
|
1819
|
-
|
1820
|
-
|
1821
|
-
}
|
1837
|
+
/** @nocollapse */ McOptgroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McOptgroup, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
1838
|
+
/** @nocollapse */ McOptgroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: McOptgroup, selector: "mc-optgroup", inputs: { disabled: "disabled", label: "label" }, host: { properties: { "class.mc-disabled": "disabled" }, classAttribute: "mc-optgroup" }, exportAs: ["mcOptgroup"], usesInheritance: true, ngImport: i0, template: "<label class=\"mc-optgroup-label\" [id]=\"labelId\">{{ label }}</label>\n<ng-content select=\"mc-option, mc-list-option, ng-container\"></ng-content>\n", styles: [".mc-optgroup-label{padding-left:17px;padding-left:var(--mc-optgroup-size-padding-left, 17px);-webkit-user-select:none;user-select:none;cursor:default}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
1839
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McOptgroup, decorators: [{
|
1840
|
+
type: Component,
|
1841
|
+
args: [{
|
1842
|
+
selector: 'mc-optgroup',
|
1843
|
+
exportAs: 'mcOptgroup',
|
1844
|
+
templateUrl: 'optgroup.html',
|
1845
|
+
styleUrls: ['./optgroup.scss'],
|
1846
|
+
encapsulation: ViewEncapsulation.None,
|
1847
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
1848
|
+
inputs: ['disabled'],
|
1849
|
+
host: {
|
1850
|
+
class: 'mc-optgroup',
|
1851
|
+
'[class.mc-disabled]': 'disabled'
|
1852
|
+
}
|
1853
|
+
}]
|
1854
|
+
}], propDecorators: { label: [{
|
1855
|
+
type: Input
|
1856
|
+
}] } });
|
1822
1857
|
|
1823
1858
|
/**
|
1824
1859
|
* Option IDs need to be unique across components, so this counter exists outside of
|
@@ -1994,40 +2029,45 @@ class McOption {
|
|
1994
2029
|
this.onSelectionChange.emit(new McOptionSelectionChange(this, isUserInput));
|
1995
2030
|
}
|
1996
2031
|
}
|
1997
|
-
McOption
|
1998
|
-
{ type:
|
1999
|
-
|
2000
|
-
|
2001
|
-
|
2002
|
-
|
2003
|
-
|
2004
|
-
|
2005
|
-
|
2006
|
-
|
2007
|
-
|
2008
|
-
|
2009
|
-
|
2010
|
-
|
2011
|
-
|
2012
|
-
|
2013
|
-
|
2014
|
-
|
2015
|
-
|
2016
|
-
|
2017
|
-
|
2018
|
-
|
2019
|
-
|
2020
|
-
|
2021
|
-
|
2022
|
-
|
2023
|
-
|
2024
|
-
]
|
2025
|
-
|
2026
|
-
|
2027
|
-
|
2028
|
-
|
2029
|
-
|
2030
|
-
|
2032
|
+
/** @nocollapse */ McOption.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McOption, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: MC_OPTION_PARENT_COMPONENT, optional: true }, { token: McOptgroup, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
2033
|
+
/** @nocollapse */ McOption.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: McOption, selector: "mc-option", inputs: { value: "value", showCheckbox: "showCheckbox", disabled: "disabled" }, outputs: { onSelectionChange: "onSelectionChange" }, host: { listeners: { "click": "selectViaInteraction()", "keydown": "handleKeydown($event)" }, properties: { "attr.tabindex": "getTabIndex()", "class.mc-selected": "selected", "class.mc-option-multiple": "multiple", "class.mc-active": "active", "class.mc-disabled": "disabled", "id": "id" }, classAttribute: "mc-option" }, exportAs: ["mcOption"], ngImport: i0, template: "<mc-pseudo-checkbox\n *ngIf=\"showCheckbox\"\n [state]=\"selected ? 'checked' : 'unchecked'\"\n [disabled]=\"disabled\">\n</mc-pseudo-checkbox>\n\n<span class=\"mc-option-text\"><ng-content></ng-content></span>\n\n<div class=\"mc-option-overlay\"></div>\n", styles: [".mc-option{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;position:relative;max-width:100%;height:32px;height:var(--mc-option-size-height, 32px);border:2px solid transparent;border:var(--mc-option-size-border-width, 2px) solid transparent;cursor:pointer;outline:none;padding-left:16px;padding-left:var(--mc-option-size-horizontal-padding, 16px);padding-right:16px;padding-right:var(--mc-option-size-horizontal-padding, 16px);-webkit-tap-highlight-color:transparent}.mc-option.mc-disabled{cursor:default}.mc-option .mc-pseudo-checkbox{margin-right:8px}.mc-option .mc-option-overlay{position:absolute;top:calc(-1 * 2px);top:calc(-1 * var(--mc-option-size-border-width, 2px));left:calc(-1 * 2px);left:calc(-1 * var(--mc-option-size-border-width, 2px));right:calc(-1 * 2px);right:calc(-1 * var(--mc-option-size-border-width, 2px));bottom:calc(-1 * 2px);bottom:calc(-1 * var(--mc-option-size-border-width, 2px));pointer-events:none;border-radius:inherit}.mc-option-text{display:inline-block;flex-grow:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"], components: [{ type: McPseudoCheckbox, selector: "mc-pseudo-checkbox", inputs: ["state", "disabled"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
2034
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McOption, decorators: [{
|
2035
|
+
type: Component,
|
2036
|
+
args: [{
|
2037
|
+
selector: 'mc-option',
|
2038
|
+
exportAs: 'mcOption',
|
2039
|
+
host: {
|
2040
|
+
'[attr.tabindex]': 'getTabIndex()',
|
2041
|
+
class: 'mc-option',
|
2042
|
+
'[class.mc-selected]': 'selected',
|
2043
|
+
'[class.mc-option-multiple]': 'multiple',
|
2044
|
+
'[class.mc-active]': 'active',
|
2045
|
+
'[class.mc-disabled]': 'disabled',
|
2046
|
+
'[id]': 'id',
|
2047
|
+
'(click)': 'selectViaInteraction()',
|
2048
|
+
'(keydown)': 'handleKeydown($event)'
|
2049
|
+
},
|
2050
|
+
styleUrls: ['option.scss'],
|
2051
|
+
templateUrl: 'option.html',
|
2052
|
+
encapsulation: ViewEncapsulation.None,
|
2053
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
2054
|
+
}]
|
2055
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
2056
|
+
type: Optional
|
2057
|
+
}, {
|
2058
|
+
type: Inject,
|
2059
|
+
args: [MC_OPTION_PARENT_COMPONENT]
|
2060
|
+
}] }, { type: McOptgroup, decorators: [{
|
2061
|
+
type: Optional
|
2062
|
+
}] }]; }, propDecorators: { value: [{
|
2063
|
+
type: Input
|
2064
|
+
}], showCheckbox: [{
|
2065
|
+
type: Input
|
2066
|
+
}], onSelectionChange: [{
|
2067
|
+
type: Output
|
2068
|
+
}], disabled: [{
|
2069
|
+
type: Input
|
2070
|
+
}] } });
|
2031
2071
|
/**
|
2032
2072
|
* Counts the amount of option group labels that precede the specified option.
|
2033
2073
|
* @param optionIndex Index of the option at which to start counting.
|
@@ -2068,15 +2108,141 @@ function getOptionScrollPosition(optionIndex, optionHeight, currentScrollPositio
|
|
2068
2108
|
return currentScrollPosition;
|
2069
2109
|
}
|
2070
2110
|
|
2111
|
+
const MC_OPTION_ACTION_PARENT = new InjectionToken('MC_OPTION_ACTION_PARENT');
|
2112
|
+
class McOptionActionBase {
|
2113
|
+
}
|
2114
|
+
// tslint:disable-next-line:naming-convention
|
2115
|
+
const McOptionActionMixinBase = mixinTabIndex(mixinDisabled(McOptionActionBase));
|
2116
|
+
class McOptionActionComponent extends McOptionActionMixinBase {
|
2117
|
+
constructor(elementRef, focusMonitor, option) {
|
2118
|
+
super();
|
2119
|
+
this.elementRef = elementRef;
|
2120
|
+
this.focusMonitor = focusMonitor;
|
2121
|
+
this.option = option;
|
2122
|
+
this.hasFocus = false;
|
2123
|
+
this.destroy = new Subject();
|
2124
|
+
this.focusMonitor.monitor(this.elementRef.nativeElement);
|
2125
|
+
}
|
2126
|
+
get active() {
|
2127
|
+
var _a;
|
2128
|
+
return this.hasFocus || !!((_a = this.option.dropdownTrigger) === null || _a === void 0 ? void 0 : _a.opened);
|
2129
|
+
}
|
2130
|
+
ngAfterViewInit() {
|
2131
|
+
if (!this.option.dropdownTrigger) {
|
2132
|
+
return;
|
2133
|
+
}
|
2134
|
+
this.option.dropdownTrigger.restoreFocus = false;
|
2135
|
+
this.option.dropdownTrigger.dropdownClosed
|
2136
|
+
.pipe(takeUntil(this.destroy))
|
2137
|
+
.subscribe(() => {
|
2138
|
+
this.preventShowingTooltip();
|
2139
|
+
const destroyReason = this.option.dropdownTrigger.lastDestroyReason === 'keydown' ?
|
2140
|
+
'keyboard' :
|
2141
|
+
'program';
|
2142
|
+
this.focus(destroyReason);
|
2143
|
+
});
|
2144
|
+
}
|
2145
|
+
ngOnDestroy() {
|
2146
|
+
this.destroy.next();
|
2147
|
+
this.destroy.complete();
|
2148
|
+
this.focusMonitor.stopMonitoring(this.elementRef.nativeElement);
|
2149
|
+
}
|
2150
|
+
focus(origin, options) {
|
2151
|
+
if (this.focusMonitor && origin) {
|
2152
|
+
this.focusMonitor.focusVia(this.elementRef.nativeElement, origin, options);
|
2153
|
+
}
|
2154
|
+
else {
|
2155
|
+
this.elementRef.nativeElement.focus();
|
2156
|
+
}
|
2157
|
+
this.hasFocus = true;
|
2158
|
+
}
|
2159
|
+
onFocus($event) {
|
2160
|
+
$event.stopPropagation();
|
2161
|
+
this.hasFocus = true;
|
2162
|
+
}
|
2163
|
+
onBlur() {
|
2164
|
+
this.hasFocus = false;
|
2165
|
+
}
|
2166
|
+
onClick($event) {
|
2167
|
+
$event.stopPropagation();
|
2168
|
+
}
|
2169
|
+
onKeyDown($event) {
|
2170
|
+
if ([SPACE, ENTER].includes($event.keyCode) && this.option.dropdownTrigger) {
|
2171
|
+
this.option.dropdownTrigger.openedBy = 'keyboard';
|
2172
|
+
this.option.dropdownTrigger.toggle();
|
2173
|
+
}
|
2174
|
+
else if ($event.shiftKey && $event.keyCode === TAB) {
|
2175
|
+
this.hasFocus = false;
|
2176
|
+
this.option.focus();
|
2177
|
+
}
|
2178
|
+
else if ($event.keyCode === TAB) {
|
2179
|
+
return;
|
2180
|
+
}
|
2181
|
+
$event.preventDefault();
|
2182
|
+
$event.stopPropagation();
|
2183
|
+
}
|
2184
|
+
preventShowingTooltip() {
|
2185
|
+
if (!this.option.tooltipTrigger) {
|
2186
|
+
return;
|
2187
|
+
}
|
2188
|
+
this.option.tooltipTrigger.disabled = true;
|
2189
|
+
setTimeout(() => this.option.tooltipTrigger.disabled = false);
|
2190
|
+
}
|
2191
|
+
}
|
2192
|
+
/** @nocollapse */ McOptionActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McOptionActionComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.FocusMonitor }, { token: MC_OPTION_ACTION_PARENT }], target: i0.ɵɵFactoryTarget.Component });
|
2193
|
+
/** @nocollapse */ McOptionActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: McOptionActionComponent, selector: "mc-option-action", inputs: { disabled: "disabled" }, host: { listeners: { "focus": "onFocus($event)", "blur": "onBlur()", "click": "onClick($event)", "keydown": "onKeyDown($event)" }, properties: { "class.mc-opened": "false", "attr.disabled": "disabled || null", "attr.tabIndex": "-1" }, classAttribute: "mc-option-action" }, queries: [{ propertyName: "customIcon", first: true, predicate: ["customIcon"], descendants: true }], exportAs: ["mcOptionAction"], usesInheritance: true, ngImport: i0, template: `
|
2194
|
+
<ng-container [ngSwitch]="!!customIcon">
|
2195
|
+
<i class="mc mc-icon mc-ellipsis_16" *ngSwitchCase="false"></i>
|
2196
|
+
<ng-content select="[mc-icon]" *ngSwitchCase="true"></ng-content>
|
2197
|
+
</ng-container>
|
2198
|
+
`, isInline: true, styles: [".mc-option-action{box-sizing:unset;position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-right:-2px;width:28px;height:100%;cursor:pointer;outline:none;border:2px solid transparent;background:transparent}.mc-option-action[disabled]{cursor:default}\n"], directives: [{ type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
2199
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McOptionActionComponent, decorators: [{
|
2200
|
+
type: Component,
|
2201
|
+
args: [{
|
2202
|
+
selector: 'mc-option-action',
|
2203
|
+
exportAs: 'mcOptionAction',
|
2204
|
+
template: `
|
2205
|
+
<ng-container [ngSwitch]="!!customIcon">
|
2206
|
+
<i class="mc mc-icon mc-ellipsis_16" *ngSwitchCase="false"></i>
|
2207
|
+
<ng-content select="[mc-icon]" *ngSwitchCase="true"></ng-content>
|
2208
|
+
</ng-container>
|
2209
|
+
`,
|
2210
|
+
styleUrls: ['./action.scss'],
|
2211
|
+
host: {
|
2212
|
+
class: 'mc-option-action',
|
2213
|
+
'[class.mc-opened]': 'false',
|
2214
|
+
'[attr.disabled]': 'disabled || null',
|
2215
|
+
'[attr.tabIndex]': '-1',
|
2216
|
+
'(focus)': 'onFocus($event)',
|
2217
|
+
'(blur)': 'onBlur()',
|
2218
|
+
'(click)': 'onClick($event)',
|
2219
|
+
'(keydown)': 'onKeyDown($event)'
|
2220
|
+
},
|
2221
|
+
inputs: ['disabled'],
|
2222
|
+
encapsulation: ViewEncapsulation.None,
|
2223
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
2224
|
+
}]
|
2225
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.FocusMonitor }, { type: undefined, decorators: [{
|
2226
|
+
type: Inject,
|
2227
|
+
args: [MC_OPTION_ACTION_PARENT]
|
2228
|
+
}] }]; }, propDecorators: { customIcon: [{
|
2229
|
+
type: ContentChild,
|
2230
|
+
args: ['customIcon']
|
2231
|
+
}] } });
|
2232
|
+
|
2071
2233
|
class McOptionModule {
|
2072
2234
|
}
|
2073
|
-
McOptionModule
|
2074
|
-
|
2075
|
-
|
2076
|
-
|
2077
|
-
|
2078
|
-
|
2079
|
-
]
|
2235
|
+
/** @nocollapse */ McOptionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2236
|
+
/** @nocollapse */ McOptionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McOptionModule, declarations: [McOption, McOptgroup, McOptionActionComponent], imports: [CommonModule, McPseudoCheckboxModule], exports: [McOption, McOptgroup, McOptionActionComponent] });
|
2237
|
+
/** @nocollapse */ McOptionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McOptionModule, imports: [[CommonModule, McPseudoCheckboxModule]] });
|
2238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McOptionModule, decorators: [{
|
2239
|
+
type: NgModule,
|
2240
|
+
args: [{
|
2241
|
+
imports: [CommonModule, McPseudoCheckboxModule],
|
2242
|
+
declarations: [McOption, McOptgroup, McOptionActionComponent],
|
2243
|
+
exports: [McOption, McOptgroup, McOptionActionComponent]
|
2244
|
+
}]
|
2245
|
+
}] });
|
2080
2246
|
|
2081
2247
|
class McFormElement {
|
2082
2248
|
constructor(element) {
|
@@ -2097,22 +2263,21 @@ class McFormElement {
|
|
2097
2263
|
}
|
2098
2264
|
}
|
2099
2265
|
}
|
2100
|
-
McFormElement
|
2101
|
-
|
2102
|
-
|
2103
|
-
|
2104
|
-
|
2105
|
-
'
|
2106
|
-
|
2107
|
-
|
2108
|
-
]
|
2109
|
-
|
2110
|
-
|
2111
|
-
|
2112
|
-
|
2113
|
-
McFormElement
|
2114
|
-
|
2115
|
-
};
|
2266
|
+
/** @nocollapse */ McFormElement.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McFormElement, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
2267
|
+
/** @nocollapse */ McFormElement.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: McFormElement, selector: ".mc-form__row, .mc-form__fieldset, .mc-form__legend", host: { properties: { "class.mc-form-row_margin": "margin" } }, queries: [{ propertyName: "elements", predicate: McFormElement }], exportAs: ["mcFormElement"], ngImport: i0 });
|
2268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McFormElement, decorators: [{
|
2269
|
+
type: Directive,
|
2270
|
+
args: [{
|
2271
|
+
selector: '.mc-form__row, .mc-form__fieldset, .mc-form__legend',
|
2272
|
+
exportAs: 'mcFormElement',
|
2273
|
+
host: {
|
2274
|
+
'[class.mc-form-row_margin]': 'margin'
|
2275
|
+
}
|
2276
|
+
}]
|
2277
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { elements: [{
|
2278
|
+
type: ContentChildren,
|
2279
|
+
args: [McFormElement]
|
2280
|
+
}] } });
|
2116
2281
|
class McForm {
|
2117
2282
|
ngAfterContentInit() {
|
2118
2283
|
this.handleElements(this.elements);
|
@@ -2127,37 +2292,391 @@ class McForm {
|
|
2127
2292
|
});
|
2128
2293
|
}
|
2129
2294
|
}
|
2130
|
-
McForm
|
2131
|
-
|
2132
|
-
|
2133
|
-
|
2134
|
-
|
2135
|
-
|
2136
|
-
|
2137
|
-
|
2138
|
-
|
2139
|
-
|
2140
|
-
|
2141
|
-
}
|
2295
|
+
/** @nocollapse */ McForm.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McForm, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
2296
|
+
/** @nocollapse */ McForm.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: McForm, selector: ".mc-form-vertical, .mc-form-horizontal", host: { classAttribute: "mc-form" }, queries: [{ propertyName: "elements", predicate: McFormElement }], exportAs: ["mcForm"], ngImport: i0 });
|
2297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McForm, decorators: [{
|
2298
|
+
type: Directive,
|
2299
|
+
args: [{
|
2300
|
+
selector: '.mc-form-vertical, .mc-form-horizontal',
|
2301
|
+
exportAs: 'mcForm',
|
2302
|
+
host: {
|
2303
|
+
class: 'mc-form'
|
2304
|
+
}
|
2305
|
+
}]
|
2306
|
+
}], propDecorators: { elements: [{
|
2307
|
+
type: ContentChildren,
|
2308
|
+
args: [McFormElement]
|
2309
|
+
}] } });
|
2142
2310
|
|
2143
2311
|
class McFormsModule {
|
2144
2312
|
}
|
2145
|
-
McFormsModule
|
2146
|
-
|
2147
|
-
|
2148
|
-
|
2149
|
-
|
2150
|
-
|
2151
|
-
|
2152
|
-
|
2153
|
-
|
2154
|
-
|
2155
|
-
|
2156
|
-
]
|
2313
|
+
/** @nocollapse */ McFormsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2314
|
+
/** @nocollapse */ McFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McFormsModule, declarations: [McForm,
|
2315
|
+
McFormElement], exports: [McForm,
|
2316
|
+
McFormElement] });
|
2317
|
+
/** @nocollapse */ McFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McFormsModule });
|
2318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McFormsModule, decorators: [{
|
2319
|
+
type: NgModule,
|
2320
|
+
args: [{
|
2321
|
+
exports: [
|
2322
|
+
McForm,
|
2323
|
+
McFormElement
|
2324
|
+
],
|
2325
|
+
declarations: [
|
2326
|
+
McForm,
|
2327
|
+
McFormElement
|
2328
|
+
]
|
2329
|
+
}]
|
2330
|
+
}] });
|
2331
|
+
|
2332
|
+
var PopUpPlacements;
|
2333
|
+
(function (PopUpPlacements) {
|
2334
|
+
PopUpPlacements["Top"] = "top";
|
2335
|
+
PopUpPlacements["TopLeft"] = "topLeft";
|
2336
|
+
PopUpPlacements["TopRight"] = "topRight";
|
2337
|
+
PopUpPlacements["Right"] = "right";
|
2338
|
+
PopUpPlacements["RightTop"] = "rightTop";
|
2339
|
+
PopUpPlacements["RightBottom"] = "rightBottom";
|
2340
|
+
PopUpPlacements["Left"] = "left";
|
2341
|
+
PopUpPlacements["LeftTop"] = "leftTop";
|
2342
|
+
PopUpPlacements["LeftBottom"] = "leftBottom";
|
2343
|
+
PopUpPlacements["Bottom"] = "bottom";
|
2344
|
+
PopUpPlacements["BottomLeft"] = "bottomLeft";
|
2345
|
+
PopUpPlacements["BottomRight"] = "bottomRight";
|
2346
|
+
})(PopUpPlacements || (PopUpPlacements = {}));
|
2347
|
+
var PopUpVisibility;
|
2348
|
+
(function (PopUpVisibility) {
|
2349
|
+
PopUpVisibility["Initial"] = "initial";
|
2350
|
+
PopUpVisibility["Visible"] = "visible";
|
2351
|
+
PopUpVisibility["Hidden"] = "hidden";
|
2352
|
+
})(PopUpVisibility || (PopUpVisibility = {}));
|
2353
|
+
var PopUpTriggers;
|
2354
|
+
(function (PopUpTriggers) {
|
2355
|
+
PopUpTriggers["Click"] = "click";
|
2356
|
+
PopUpTriggers["Focus"] = "focus";
|
2357
|
+
PopUpTriggers["Hover"] = "hover";
|
2358
|
+
})(PopUpTriggers || (PopUpTriggers = {}));
|
2359
|
+
var PopUpSizes;
|
2360
|
+
(function (PopUpSizes) {
|
2361
|
+
PopUpSizes["Small"] = "small";
|
2362
|
+
PopUpSizes["Normal"] = "normal";
|
2363
|
+
PopUpSizes["Large"] = "large";
|
2364
|
+
})(PopUpSizes || (PopUpSizes = {}));
|
2365
|
+
|
2366
|
+
// tslint:disable-next-line:naming-convention
|
2367
|
+
class McPopUp {
|
2368
|
+
constructor(changeDetectorRef) {
|
2369
|
+
this.changeDetectorRef = changeDetectorRef;
|
2370
|
+
this.classMap = {};
|
2371
|
+
this.visibility = PopUpVisibility.Initial;
|
2372
|
+
this.visibleChange = new EventEmitter();
|
2373
|
+
/** Subject for notifying that the tooltip has been hidden from the view */
|
2374
|
+
this.onHideSubject = new Subject();
|
2375
|
+
this.closeOnInteraction = false;
|
2376
|
+
}
|
2377
|
+
ngOnDestroy() {
|
2378
|
+
clearTimeout(this.showTimeoutId);
|
2379
|
+
clearTimeout(this.hideTimeoutId);
|
2380
|
+
this.onHideSubject.complete();
|
2381
|
+
}
|
2382
|
+
isTemplateRef(value) {
|
2383
|
+
return value instanceof TemplateRef;
|
2384
|
+
}
|
2385
|
+
show(delay) {
|
2386
|
+
if (this.hideTimeoutId) {
|
2387
|
+
clearTimeout(this.hideTimeoutId);
|
2388
|
+
}
|
2389
|
+
this.closeOnInteraction = true;
|
2390
|
+
this.showTimeoutId = setTimeout(() => {
|
2391
|
+
this.showTimeoutId = undefined;
|
2392
|
+
this.visibility = PopUpVisibility.Visible;
|
2393
|
+
this.visibleChange.emit(true);
|
2394
|
+
// Mark for check so if any parent component has set the
|
2395
|
+
// ChangeDetectionStrategy to OnPush it will be checked anyways
|
2396
|
+
this.markForCheck();
|
2397
|
+
}, delay);
|
2398
|
+
}
|
2399
|
+
hide(delay) {
|
2400
|
+
if (this.showTimeoutId) {
|
2401
|
+
clearTimeout(this.showTimeoutId);
|
2402
|
+
}
|
2403
|
+
this.hideTimeoutId = setTimeout(() => {
|
2404
|
+
this.hideTimeoutId = undefined;
|
2405
|
+
this.visibility = PopUpVisibility.Hidden;
|
2406
|
+
this.visibleChange.emit(false);
|
2407
|
+
this.onHideSubject.next();
|
2408
|
+
// Mark for check so if any parent component has set the
|
2409
|
+
// ChangeDetectionStrategy to OnPush it will be checked anyways
|
2410
|
+
this.markForCheck();
|
2411
|
+
}, delay);
|
2412
|
+
}
|
2413
|
+
isVisible() {
|
2414
|
+
return this.visibility === PopUpVisibility.Visible;
|
2415
|
+
}
|
2416
|
+
updateClassMap(placement, customClass, classMap) {
|
2417
|
+
this.classMap = Object.assign({ [`${this.prefix}_placement-${placement}`]: true, [customClass]: !!customClass }, classMap);
|
2418
|
+
}
|
2419
|
+
/** Returns an observable that notifies when the tooltip has been hidden from view. */
|
2420
|
+
afterHidden() {
|
2421
|
+
return this.onHideSubject.asObservable();
|
2422
|
+
}
|
2423
|
+
markForCheck() {
|
2424
|
+
this.changeDetectorRef.markForCheck();
|
2425
|
+
}
|
2426
|
+
animationStart() {
|
2427
|
+
this.closeOnInteraction = false;
|
2428
|
+
}
|
2429
|
+
animationDone({ toState }) {
|
2430
|
+
if (toState === PopUpVisibility.Hidden && !this.isVisible()) {
|
2431
|
+
this.onHideSubject.next();
|
2432
|
+
}
|
2433
|
+
if (toState === PopUpVisibility.Visible || toState === PopUpVisibility.Hidden) {
|
2434
|
+
this.closeOnInteraction = true;
|
2435
|
+
}
|
2436
|
+
}
|
2437
|
+
handleBodyInteraction() {
|
2438
|
+
if (this.closeOnInteraction) {
|
2439
|
+
this.hide(0);
|
2440
|
+
}
|
2441
|
+
}
|
2442
|
+
}
|
2443
|
+
/** @nocollapse */ McPopUp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McPopUp, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
2444
|
+
/** @nocollapse */ McPopUp.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: McPopUp, ngImport: i0 });
|
2445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McPopUp, decorators: [{
|
2446
|
+
type: Directive
|
2447
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
2448
|
+
|
2449
|
+
const VIEWPORT_MARGIN = 8;
|
2450
|
+
// tslint:disable-next-line:naming-convention
|
2451
|
+
class McPopUpTrigger {
|
2452
|
+
constructor(overlay, elementRef, ngZone, scrollDispatcher, hostView, scrollStrategy, direction) {
|
2453
|
+
this.overlay = overlay;
|
2454
|
+
this.elementRef = elementRef;
|
2455
|
+
this.ngZone = ngZone;
|
2456
|
+
this.scrollDispatcher = scrollDispatcher;
|
2457
|
+
this.hostView = hostView;
|
2458
|
+
this.scrollStrategy = scrollStrategy;
|
2459
|
+
this.direction = direction;
|
2460
|
+
this.isOpen = false;
|
2461
|
+
this.enterDelay = 0;
|
2462
|
+
this.leaveDelay = 0;
|
2463
|
+
this.placement = PopUpPlacements.Top;
|
2464
|
+
this.placementPriority = null;
|
2465
|
+
this.visible = false;
|
2466
|
+
// tslint:disable-next-line:naming-convention orthodox-getter-and-setter
|
2467
|
+
this._disabled = false;
|
2468
|
+
this.listeners = new Map();
|
2469
|
+
this.destroyed = new Subject();
|
2470
|
+
this.detach = () => {
|
2471
|
+
if (this.overlayRef && this.overlayRef.hasAttached()) {
|
2472
|
+
this.overlayRef.detach();
|
2473
|
+
}
|
2474
|
+
this.instance = null;
|
2475
|
+
};
|
2476
|
+
this.onPositionChange = ($event) => {
|
2477
|
+
if (!this.instance) {
|
2478
|
+
return;
|
2479
|
+
}
|
2480
|
+
let newPlacement = this.placement;
|
2481
|
+
const { originX, originY, overlayX, overlayY } = $event.connectionPair;
|
2482
|
+
Object.keys(this.availablePositions).some((key) => {
|
2483
|
+
if (originX === this.availablePositions[key].originX && originY === this.availablePositions[key].originY &&
|
2484
|
+
overlayX === this.availablePositions[key].overlayX && overlayY === this.availablePositions[key].overlayY) {
|
2485
|
+
newPlacement = key;
|
2486
|
+
return true;
|
2487
|
+
}
|
2488
|
+
return false;
|
2489
|
+
});
|
2490
|
+
this.placementChange.emit(newPlacement);
|
2491
|
+
this.updateClassMap(newPlacement);
|
2492
|
+
if ($event.scrollableViewProperties.isOverlayClipped && this.instance.isVisible()) {
|
2493
|
+
// After position changes occur and the overlay is clipped by
|
2494
|
+
// a parent scrollable then close the tooltip.
|
2495
|
+
this.ngZone.run(() => this.hide());
|
2496
|
+
}
|
2497
|
+
};
|
2498
|
+
this.addEventListener = (listener, event) => {
|
2499
|
+
this.elementRef.nativeElement.addEventListener(event, listener);
|
2500
|
+
};
|
2501
|
+
this.removeEventListener = (listener, event) => {
|
2502
|
+
this.elementRef.nativeElement.removeEventListener(event, listener);
|
2503
|
+
};
|
2504
|
+
this.availablePositions = POSITION_MAP;
|
2505
|
+
}
|
2506
|
+
ngOnInit() {
|
2507
|
+
this.initListeners();
|
2508
|
+
}
|
2509
|
+
ngOnDestroy() {
|
2510
|
+
if (this.overlayRef) {
|
2511
|
+
this.overlayRef.dispose();
|
2512
|
+
}
|
2513
|
+
this.listeners.forEach(this.removeEventListener);
|
2514
|
+
this.listeners.clear();
|
2515
|
+
this.destroyed.next();
|
2516
|
+
this.destroyed.complete();
|
2517
|
+
}
|
2518
|
+
updatePlacement(value) {
|
2519
|
+
if (POSITION_TO_CSS_MAP[value]) {
|
2520
|
+
this.placement = value;
|
2521
|
+
this.updateClassMap();
|
2522
|
+
}
|
2523
|
+
else {
|
2524
|
+
this.placement = PopUpPlacements.Top;
|
2525
|
+
console.warn(`Unknown position: ${value}. Will used default position: ${this.placement}`);
|
2526
|
+
}
|
2527
|
+
if (this.visible) {
|
2528
|
+
this.updatePosition();
|
2529
|
+
}
|
2530
|
+
}
|
2531
|
+
updatePlacementPriority(value) {
|
2532
|
+
if (value && value.length > 0) {
|
2533
|
+
this.placementPriority = value;
|
2534
|
+
}
|
2535
|
+
else {
|
2536
|
+
this.placementPriority = null;
|
2537
|
+
}
|
2538
|
+
}
|
2539
|
+
updateVisible(externalValue) {
|
2540
|
+
const value = coerceBooleanProperty(externalValue);
|
2541
|
+
if (this.visible !== value) {
|
2542
|
+
this.visible = value;
|
2543
|
+
if (value) {
|
2544
|
+
this.show();
|
2545
|
+
}
|
2546
|
+
else {
|
2547
|
+
this.hide();
|
2548
|
+
}
|
2549
|
+
}
|
2550
|
+
}
|
2551
|
+
handleKeydown(event) {
|
2552
|
+
if (this.isOpen && event.keyCode === ESCAPE) { // tslint:disable-line
|
2553
|
+
this.hide();
|
2554
|
+
}
|
2555
|
+
}
|
2556
|
+
handleTouchend() {
|
2557
|
+
this.hide();
|
2558
|
+
}
|
2559
|
+
show(delay = this.enterDelay) {
|
2560
|
+
if (this.disabled || this.instance) {
|
2561
|
+
return;
|
2562
|
+
}
|
2563
|
+
this.overlayRef = this.createOverlay();
|
2564
|
+
this.detach();
|
2565
|
+
this.portal = this.portal || new ComponentPortal(this.getOverlayHandleComponentType(), this.hostView);
|
2566
|
+
this.instance = this.overlayRef.attach(this.portal).instance;
|
2567
|
+
this.instance.afterHidden()
|
2568
|
+
.pipe(takeUntil(this.destroyed))
|
2569
|
+
.subscribe(this.detach);
|
2570
|
+
this.updateClassMap();
|
2571
|
+
this.updateData();
|
2572
|
+
this.instance.visibleChange
|
2573
|
+
.pipe(takeUntil(this.destroyed), distinctUntilChanged())
|
2574
|
+
.subscribe((value) => {
|
2575
|
+
this.visible = value;
|
2576
|
+
this.visibleChange.emit(value);
|
2577
|
+
this.isOpen = value;
|
2578
|
+
});
|
2579
|
+
this.updatePosition();
|
2580
|
+
this.instance.show(delay);
|
2581
|
+
}
|
2582
|
+
hide(delay = this.leaveDelay) {
|
2583
|
+
if (this.instance) {
|
2584
|
+
this.instance.hide(delay);
|
2585
|
+
}
|
2586
|
+
}
|
2587
|
+
/** Create the overlay config and position strategy */
|
2588
|
+
createOverlay() {
|
2589
|
+
if (this.overlayRef) {
|
2590
|
+
return this.overlayRef;
|
2591
|
+
}
|
2592
|
+
// Create connected position strategy that listens for scroll events to reposition.
|
2593
|
+
const strategy = this.overlay.position()
|
2594
|
+
.flexibleConnectedTo(this.elementRef)
|
2595
|
+
.withTransformOriginOn(this.originSelector)
|
2596
|
+
.withFlexibleDimensions(false)
|
2597
|
+
.withViewportMargin(VIEWPORT_MARGIN)
|
2598
|
+
.withPositions([...EXTENDED_OVERLAY_POSITIONS])
|
2599
|
+
.withScrollableContainers(this.scrollDispatcher.getAncestorScrollContainers(this.elementRef));
|
2600
|
+
strategy.positionChanges
|
2601
|
+
.pipe(takeUntil(this.destroyed))
|
2602
|
+
.subscribe(this.onPositionChange);
|
2603
|
+
this.overlayRef = this.overlay.create(Object.assign(Object.assign({}, this.overlayConfig), { direction: this.direction, positionStrategy: strategy, scrollStrategy: this.scrollStrategy() }));
|
2604
|
+
this.closingActions()
|
2605
|
+
.pipe(takeUntil(this.destroyed))
|
2606
|
+
.pipe(delay(0))
|
2607
|
+
.subscribe(() => this.hide());
|
2608
|
+
this.overlayRef.outsidePointerEvents()
|
2609
|
+
.subscribe(() => this.instance.handleBodyInteraction());
|
2610
|
+
this.overlayRef.detachments()
|
2611
|
+
.pipe(takeUntil(this.destroyed))
|
2612
|
+
.subscribe(this.detach);
|
2613
|
+
return this.overlayRef;
|
2614
|
+
}
|
2615
|
+
initListeners() {
|
2616
|
+
this.clearListeners();
|
2617
|
+
if (this.trigger.includes(PopUpTriggers.Click)) {
|
2618
|
+
this.listeners
|
2619
|
+
.set('click', () => this.show())
|
2620
|
+
.forEach(this.addEventListener);
|
2621
|
+
}
|
2622
|
+
if (this.trigger.includes(PopUpTriggers.Hover)) {
|
2623
|
+
this.listeners
|
2624
|
+
.set('mouseenter', () => this.show())
|
2625
|
+
.set('mouseleave', () => this.hide())
|
2626
|
+
.forEach(this.addEventListener);
|
2627
|
+
}
|
2628
|
+
if (this.trigger.includes(PopUpTriggers.Focus)) {
|
2629
|
+
this.listeners
|
2630
|
+
.set('focus', () => this.show())
|
2631
|
+
.set('blur', () => this.hide())
|
2632
|
+
.forEach(this.addEventListener);
|
2633
|
+
}
|
2634
|
+
}
|
2635
|
+
/** Updates the position of the current popover. */
|
2636
|
+
updatePosition(reapplyPosition = false) {
|
2637
|
+
this.overlayRef = this.createOverlay();
|
2638
|
+
const position = this.overlayRef.getConfig().positionStrategy
|
2639
|
+
.withPositions(this.getPrioritizedPositions())
|
2640
|
+
.withPush(true);
|
2641
|
+
if (reapplyPosition) {
|
2642
|
+
setTimeout(() => position.reapplyLastPosition());
|
2643
|
+
}
|
2644
|
+
}
|
2645
|
+
getPriorityPlacementStrategy(value) {
|
2646
|
+
const result = [];
|
2647
|
+
const possiblePositions = Object.keys(this.availablePositions);
|
2648
|
+
if (Array.isArray(value)) {
|
2649
|
+
value.forEach((position) => {
|
2650
|
+
if (possiblePositions.includes(position)) {
|
2651
|
+
result.push(this.availablePositions[position]);
|
2652
|
+
}
|
2653
|
+
});
|
2654
|
+
}
|
2655
|
+
else if (possiblePositions.includes(value)) {
|
2656
|
+
result.push(this.availablePositions[value]);
|
2657
|
+
}
|
2658
|
+
return result;
|
2659
|
+
}
|
2660
|
+
getPrioritizedPositions() {
|
2661
|
+
if (this.placementPriority) {
|
2662
|
+
return this.getPriorityPlacementStrategy(this.placementPriority);
|
2663
|
+
}
|
2664
|
+
return POSITION_PRIORITY_STRATEGY[this.placement];
|
2665
|
+
}
|
2666
|
+
clearListeners() {
|
2667
|
+
this.listeners.forEach(this.removeEventListener);
|
2668
|
+
this.listeners.clear();
|
2669
|
+
}
|
2670
|
+
}
|
2671
|
+
/** @nocollapse */ McPopUpTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McPopUpTrigger, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
2672
|
+
/** @nocollapse */ McPopUpTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: McPopUpTrigger, ngImport: i0 });
|
2673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McPopUpTrigger, decorators: [{
|
2674
|
+
type: Directive
|
2675
|
+
}], ctorParameters: function () { return [{ type: i1$2.Overlay }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i1$2.ScrollDispatcher }, { type: i0.ViewContainerRef }, { type: undefined }, { type: i2$1.Directionality }]; } });
|
2157
2676
|
|
2158
2677
|
/**
|
2159
2678
|
* Generated bundle index. Do not edit.
|
2160
2679
|
*/
|
2161
2680
|
|
2162
|
-
export { AnimationCurves, BOTTOM_LEFT_POSITION_PRIORITY, BOTTOM_POSITION_PRIORITY, BOTTOM_RIGHT_POSITION_PRIORITY,
|
2681
|
+
export { AnimationCurves, BOTTOM_LEFT_POSITION_PRIORITY, BOTTOM_POSITION_PRIORITY, BOTTOM_RIGHT_POSITION_PRIORITY, DEFAULT_MC_LOCALE_ID, DateFormatter, EXTENDED_OVERLAY_POSITIONS, ErrorStateMatcher, LEFT_BOTTOM_POSITION_PRIORITY, LEFT_POSITION_PRIORITY, LEFT_TOP_POSITION_PRIORITY, MC_LABEL_GLOBAL_OPTIONS, MC_LOCALE_ID, MC_OPTION_ACTION_PARENT, MC_OPTION_PARENT_COMPONENT, MC_SANITY_CHECKS, MC_SELECT_SCROLL_STRATEGY, MC_SELECT_SCROLL_STRATEGY_PROVIDER, MC_VALIDATION, McCommonModule, McDecimalPipe, McForm, McFormElement, McFormattersModule, McFormsModule, McHighlightModule, McHighlightPipe, McLine, McLineModule, McLineSetter, McMeasureScrollbarService, McOptgroup, McOptgroupBase, McOptgroupMixinBase, McOption, McOptionActionBase, McOptionActionComponent, McOptionActionMixinBase, McOptionModule, McOptionSelectionChange, McPopUp, McPopUpTrigger, McPseudoCheckbox, McPseudoCheckboxModule, MultipleMode, NUMBER_FORMAT_REGEXP, POSITION_MAP, POSITION_PRIORITY_STRATEGY, POSITION_TO_CSS_MAP, PopUpPlacements, PopUpSizes, PopUpTriggers, PopUpVisibility, RIGHT_BOTTOM_POSITION_PRIORITY, RIGHT_POSITION_PRIORITY, RIGHT_TOP_POSITION_PRIORITY, SELECT_PANEL_INDENT_PADDING_X, SELECT_PANEL_MAX_HEIGHT, SELECT_PANEL_PADDING_X, SELECT_PANEL_VIEWPORT_PADDING, ShowOnDirtyErrorStateMatcher, TOP_LEFT_POSITION_PRIORITY, TOP_POSITION_PRIORITY, TOP_RIGHT_POSITION_PRIORITY, ThemePalette, countGroupLabelsBeforeOption, fadeAnimation, getMcSelectDynamicMultipleError, getMcSelectNonArrayValueError, getMcSelectNonFunctionValueError, getOptionScrollPosition, isBoolean, mcSelectAnimations, mcSelectScrollStrategyProviderFactory, mixinColor, mixinDisabled, mixinErrorState, mixinTabIndex, selectEvents, setMosaicValidation, setMosaicValidationForFormControl, setMosaicValidationForModelControl, toBoolean, validationTooltipHideDelay, validationTooltipShowDelay };
|
2163
2682
|
//# sourceMappingURL=ptsecurity-mosaic-core.js.map
|