@ptsecurity/mosaic 13.10.0 → 14.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_theming.scss +90 -7388
- package/_visual.scss +6 -2778
- package/autocomplete/autocomplete-origin.directive.d.ts +1 -1
- package/autocomplete/autocomplete-trigger.directive.d.ts +1 -1
- package/autocomplete/autocomplete.component.d.ts +1 -1
- package/button/button.component.d.ts +4 -4
- package/button-toggle/button-toggle.component.d.ts +2 -2
- package/card/card.component.d.ts +3 -3
- package/checkbox/checkbox-required-validator.d.ts +1 -1
- package/checkbox/checkbox.d.ts +7 -16
- package/core/common-behaviors/color.d.ts +4 -1
- package/core/common-behaviors/error-state.d.ts +7 -4
- package/core/error/error-options.d.ts +3 -3
- package/core/formatters/date/formatter.pipe.d.ts +95 -0
- package/core/formatters/index.d.ts +3 -1
- package/core/formatters/number/formatter.d.ts +1 -1
- package/core/forms/forms.directive.d.ts +2 -2
- package/core/highlight/highlight.pipe.d.ts +1 -1
- package/core/line/line.d.ts +1 -1
- package/core/option/action.d.ts +2 -2
- package/core/option/optgroup.d.ts +2 -2
- package/core/option/option.d.ts +1 -1
- package/core/pop-up/pop-up-trigger.d.ts +5 -4
- package/core/pop-up/pop-up.d.ts +2 -2
- package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +3 -3
- package/core/validation/validation.d.ts +1 -12
- package/datepicker/calendar-body.component.d.ts +1 -1
- package/datepicker/calendar.component.d.ts +30 -30
- package/datepicker/datepicker-input.directive.d.ts +6 -11
- package/datepicker/datepicker-toggle.component.d.ts +2 -2
- package/datepicker/datepicker.component.d.ts +2 -2
- package/datepicker/month-view.component.d.ts +1 -1
- package/datepicker/multi-year-view.component.d.ts +1 -1
- package/datepicker/year-view.component.d.ts +1 -1
- package/design-tokens/legacy-2017/tokens/components/badge.json5 +46 -46
- package/design-tokens/legacy-2017/tokens/components/button-toggle.json5 +2 -1
- package/design-tokens/legacy-2017/tokens/components/checkbox.json5 +20 -15
- package/design-tokens/legacy-2017/tokens/components/forms.json5 +0 -4
- package/design-tokens/legacy-2017/tokens/components/progress-spinner.json5 +10 -1
- package/design-tokens/legacy-2017/tokens/components/timezone.json5 +23 -0
- package/design-tokens/legacy-2017/tokens.d.ts +55 -35
- package/design-tokens/pt-2022/tokens/components/button-toggle.json5 +2 -1
- package/design-tokens/pt-2022/tokens/components/checkbox.json5 +21 -16
- package/design-tokens/pt-2022/tokens/components/forms.json5 +0 -4
- package/design-tokens/pt-2022/tokens/components/progress-spinner.json5 +10 -1
- package/design-tokens/pt-2022/tokens/components/timezone.json5 +23 -0
- package/design-tokens/pt-2022/tokens/properties/colors.json5 +2 -2
- package/design-tokens/pt-2022/tokens/properties/typography.json5 +17 -17
- package/design-tokens/pt-2022/tokens.d.ts +43 -23
- package/design-tokens/style-dictionary/formats/figma.js +2 -2
- package/design-tokens/style-dictionary/transforms/attribute/palette.js +1 -1
- package/design-tokens/style-dictionary/transforms/attribute/size.js +1 -1
- package/design-tokens/style-dictionary/transforms/attribute/typography.js +1 -1
- package/divider/divider.component.d.ts +1 -1
- package/dl/dl.component.d.ts +3 -3
- package/dropdown/dropdown-content.directive.d.ts +1 -1
- package/dropdown/dropdown-item.component.d.ts +1 -1
- package/dropdown/dropdown-trigger.directive.d.ts +1 -1
- package/dropdown/dropdown.component.d.ts +1 -1
- package/esm2020/autocomplete/autocomplete-origin.directive.mjs +4 -4
- package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +7 -7
- package/esm2020/autocomplete/autocomplete.component.mjs +5 -6
- package/esm2020/autocomplete/autocomplete.module.mjs +5 -5
- package/esm2020/button/button.component.mjs +13 -13
- package/esm2020/button/button.module.mjs +7 -9
- package/esm2020/button-toggle/button-toggle.component.mjs +9 -9
- package/esm2020/button-toggle/button-toggle.module.mjs +5 -5
- package/esm2020/card/card.component.mjs +9 -9
- package/esm2020/card/card.module.mjs +7 -9
- package/esm2020/checkbox/checkbox-module.mjs +5 -5
- package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
- package/esm2020/checkbox/checkbox.mjs +22 -38
- package/esm2020/core/common-behaviors/color.mjs +6 -3
- package/esm2020/core/common-behaviors/common-module.mjs +5 -5
- package/esm2020/core/common-behaviors/disabled.mjs +1 -1
- package/esm2020/core/common-behaviors/error-state.mjs +1 -11
- package/esm2020/core/error/error-options.mjs +7 -7
- package/esm2020/core/formatters/date/formatter.mjs +4 -4
- package/esm2020/core/formatters/date/formatter.pipe.mjs +187 -0
- package/esm2020/core/formatters/index.mjs +65 -7
- package/esm2020/core/formatters/number/formatter.mjs +5 -5
- package/esm2020/core/forms/forms-module.mjs +5 -5
- package/esm2020/core/forms/forms.directive.mjs +7 -7
- package/esm2020/core/highlight/highlight.pipe.mjs +4 -4
- package/esm2020/core/highlight/index.mjs +5 -5
- package/esm2020/core/line/line.mjs +8 -8
- package/esm2020/core/option/action.mjs +6 -6
- package/esm2020/core/option/optgroup.mjs +6 -6
- package/esm2020/core/option/option-module.mjs +6 -6
- package/esm2020/core/option/option.mjs +6 -6
- package/esm2020/core/pop-up/pop-up-trigger.mjs +16 -14
- package/esm2020/core/pop-up/pop-up.mjs +4 -4
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +6 -7
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +5 -5
- package/esm2020/core/services/measure-scrollbar.service.mjs +4 -4
- package/esm2020/core/validation/validation.mjs +1 -114
- package/esm2020/datepicker/calendar-body.component.mjs +4 -4
- package/esm2020/datepicker/calendar.component.mjs +125 -128
- package/esm2020/datepicker/datepicker-input.directive.mjs +14 -32
- package/esm2020/datepicker/datepicker-intl.mjs +4 -4
- package/esm2020/datepicker/datepicker-module.mjs +11 -17
- package/esm2020/datepicker/datepicker-toggle.component.mjs +10 -10
- package/esm2020/datepicker/datepicker.component.mjs +10 -10
- package/esm2020/datepicker/month-view.component.mjs +6 -6
- package/esm2020/datepicker/multi-year-view.component.mjs +4 -4
- package/esm2020/datepicker/year-view.component.mjs +4 -4
- package/esm2020/design-tokens/legacy-2017/tokens.mjs +56 -36
- package/esm2020/design-tokens/pt-2022/tokens.mjs +44 -24
- package/esm2020/divider/divider.component.mjs +4 -4
- package/esm2020/divider/divider.module.mjs +5 -5
- package/esm2020/dl/dl.component.mjs +11 -11
- package/esm2020/dl/dl.module.mjs +7 -9
- package/esm2020/dropdown/dropdown-content.directive.mjs +4 -4
- package/esm2020/dropdown/dropdown-item.component.mjs +7 -7
- package/esm2020/dropdown/dropdown-trigger.directive.mjs +4 -4
- package/esm2020/dropdown/dropdown.component.mjs +5 -5
- package/esm2020/dropdown/dropdown.module.mjs +7 -9
- package/esm2020/form-field/cleaner.mjs +4 -4
- package/esm2020/form-field/form-field.mjs +24 -21
- package/esm2020/form-field/form-field.module.mjs +14 -9
- package/esm2020/form-field/hint.mjs +6 -7
- package/esm2020/form-field/password-hint.mjs +11 -12
- package/esm2020/form-field/prefix.mjs +4 -4
- package/esm2020/form-field/public-api.mjs +2 -1
- package/esm2020/form-field/stepper.mjs +4 -4
- package/esm2020/form-field/suffix.mjs +4 -4
- package/esm2020/form-field/validate.directive.mjs +156 -0
- package/esm2020/icon/icon.component.mjs +10 -11
- package/esm2020/icon/icon.module.mjs +7 -9
- package/esm2020/input/input-number-validators.mjs +7 -7
- package/esm2020/input/input-number.mjs +4 -4
- package/esm2020/input/input-password.mjs +17 -50
- package/esm2020/input/input.mjs +19 -46
- package/esm2020/input/input.module.mjs +8 -10
- package/esm2020/link/link.component.mjs +4 -4
- package/esm2020/link/link.module.mjs +6 -8
- package/esm2020/list/list-selection.component.mjs +10 -10
- package/esm2020/list/list.component.mjs +8 -8
- package/esm2020/list/list.module.mjs +9 -11
- package/esm2020/loader-overlay/loader-overlay.component.mjs +15 -15
- package/esm2020/loader-overlay/loader-overlay.module.mjs +8 -10
- package/esm2020/modal/css-unit.pipe.mjs +4 -4
- package/esm2020/modal/modal-control.service.mjs +4 -4
- package/esm2020/modal/modal.component.mjs +8 -8
- package/esm2020/modal/modal.directive.mjs +13 -13
- package/esm2020/modal/modal.module.mjs +11 -14
- package/esm2020/modal/modal.service.mjs +6 -6
- package/esm2020/navbar/navbar-item.component.mjs +36 -36
- package/esm2020/navbar/navbar.component.mjs +11 -11
- package/esm2020/navbar/navbar.module.mjs +9 -11
- package/esm2020/navbar/vertical-navbar.component.mjs +6 -6
- package/esm2020/popover/popover-confirm.component.mjs +11 -11
- package/esm2020/popover/popover.component.mjs +20 -11
- package/esm2020/popover/popover.module.mjs +6 -7
- package/esm2020/progress-bar/progress-bar.component.mjs +7 -8
- package/esm2020/progress-bar/progress-bar.module.mjs +6 -8
- package/esm2020/progress-spinner/progress-spinner.component.mjs +25 -11
- package/esm2020/progress-spinner/progress-spinner.module.mjs +6 -8
- package/esm2020/radio/radio.component.mjs +53 -54
- package/esm2020/radio/radio.module.mjs +5 -5
- package/esm2020/select/select-option.directive.mjs +4 -4
- package/esm2020/select/select.component.mjs +41 -55
- package/esm2020/select/select.module.mjs +10 -12
- package/esm2020/sidebar/sidebar.component.mjs +10 -10
- package/esm2020/sidebar/sidebar.module.mjs +5 -5
- package/esm2020/sidepanel/sidepanel-container.component.mjs +7 -7
- package/esm2020/sidepanel/sidepanel-directives.mjs +22 -20
- package/esm2020/sidepanel/sidepanel.module.mjs +11 -14
- package/esm2020/sidepanel/sidepanel.service.mjs +33 -29
- package/esm2020/splitter/splitter.component.mjs +37 -37
- package/esm2020/splitter/splitter.module.mjs +6 -8
- package/esm2020/table/table.component.mjs +4 -4
- package/esm2020/table/table.module.mjs +7 -9
- package/esm2020/tabs/paginated-tab-header.mjs +4 -4
- package/esm2020/tabs/tab-body.component.mjs +7 -7
- package/esm2020/tabs/tab-content.directive.mjs +4 -4
- package/esm2020/tabs/tab-group.component.mjs +29 -30
- package/esm2020/tabs/tab-header.component.mjs +5 -5
- package/esm2020/tabs/tab-label-wrapper.directive.mjs +4 -4
- package/esm2020/tabs/tab-label.directive.mjs +4 -4
- package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +7 -7
- package/esm2020/tabs/tab.component.mjs +4 -4
- package/esm2020/tabs/tabs.module.mjs +11 -13
- package/esm2020/tags/tag-input.mjs +4 -4
- package/esm2020/tags/tag-list.component.mjs +26 -35
- package/esm2020/tags/tag.component.mjs +23 -21
- package/esm2020/tags/tag.module.mjs +6 -6
- package/esm2020/textarea/textarea.component.mjs +24 -39
- package/esm2020/textarea/textarea.module.mjs +5 -5
- package/esm2020/timepicker/timepicker.directive.mjs +10 -27
- package/esm2020/timepicker/timepicker.module.mjs +8 -10
- package/esm2020/timezone/cities-by-filter.pipe.mjs +17 -0
- package/esm2020/timezone/index.mjs +2 -0
- package/esm2020/timezone/ptsecurity-mosaic-timezone.mjs +5 -0
- package/esm2020/timezone/public-api.mjs +7 -0
- package/esm2020/timezone/timezone-option.component.mjs +48 -0
- package/esm2020/timezone/timezone-option.directive.mjs +58 -0
- package/esm2020/timezone/timezone-select.component.mjs +40 -0
- package/esm2020/timezone/timezone.models.mjs +3 -0
- package/esm2020/timezone/timezone.module.mjs +75 -0
- package/esm2020/timezone/timezone.utils.mjs +72 -0
- package/esm2020/timezone/utc-offset.pipe.mjs +17 -0
- package/esm2020/toast/toast-container.component.mjs +5 -5
- package/esm2020/toast/toast.component.mjs +9 -9
- package/esm2020/toast/toast.module.mjs +12 -12
- package/esm2020/toast/toast.service.mjs +23 -14
- package/esm2020/toggle/toggle.component.mjs +13 -16
- package/esm2020/toggle/toggle.module.mjs +5 -5
- package/esm2020/tooltip/tooltip.component.mjs +14 -14
- package/esm2020/tooltip/tooltip.module.mjs +7 -8
- package/esm2020/tree/control/flat-tree-control.mjs +1 -1
- package/esm2020/tree/data-source/nested-data-source.mjs +1 -1
- package/esm2020/tree/node.mjs +4 -4
- package/esm2020/tree/outlet.mjs +4 -4
- package/esm2020/tree/padding.directive.mjs +4 -4
- package/esm2020/tree/toggle.mjs +10 -10
- package/esm2020/tree/tree-base.mjs +7 -7
- package/esm2020/tree/tree-option.component.mjs +8 -8
- package/esm2020/tree/tree-selection.component.mjs +5 -5
- package/esm2020/tree/tree.mjs +4 -4
- package/esm2020/tree/tree.module.mjs +5 -5
- package/esm2020/tree-select/tree-select.component.mjs +39 -53
- package/esm2020/tree-select/tree-select.module.mjs +11 -13
- package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +17 -18
- package/fesm2015/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +12 -12
- package/fesm2015/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-button.mjs +18 -20
- package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-card.mjs +14 -16
- package/fesm2015/ptsecurity-mosaic-card.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-checkbox.mjs +28 -44
- package/fesm2015/ptsecurity-mosaic-checkbox.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-core.mjs +341 -217
- package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-datepicker.mjs +174 -201
- package/fesm2015/ptsecurity-mosaic-datepicker.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +153 -93
- package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-divider.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-divider.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-dl.mjs +16 -18
- package/fesm2015/ptsecurity-mosaic-dl.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-dropdown.mjs +22 -24
- package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-form-field.mjs +216 -57
- package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-icon.mjs +15 -18
- package/fesm2015/ptsecurity-mosaic-icon.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-input.mjs +45 -107
- package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-link.mjs +8 -10
- package/fesm2015/ptsecurity-mosaic-link.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-list.mjs +24 -26
- package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs +21 -23
- package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-modal.mjs +41 -44
- package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-navbar.mjs +58 -60
- package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-popover.mjs +33 -25
- package/fesm2015/ptsecurity-mosaic-popover.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +11 -14
- package/fesm2015/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +29 -17
- package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-radio.mjs +57 -57
- package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-select.mjs +52 -68
- package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-sidebar.mjs +13 -13
- package/fesm2015/ptsecurity-mosaic-sidebar.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +69 -66
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-splitter.mjs +41 -43
- package/fesm2015/ptsecurity-mosaic-splitter.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-table.mjs +9 -11
- package/fesm2015/ptsecurity-mosaic-table.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tabs.mjs +137 -140
- package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tags.mjs +54 -61
- package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-textarea.mjs +28 -42
- package/fesm2015/ptsecurity-mosaic-textarea.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-timepicker.mjs +15 -34
- package/fesm2015/ptsecurity-mosaic-timepicker.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-timezone.mjs +308 -0
- package/fesm2015/ptsecurity-mosaic-timezone.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-toast.mjs +135 -125
- package/fesm2015/ptsecurity-mosaic-toast.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-toggle.mjs +16 -19
- package/fesm2015/ptsecurity-mosaic-toggle.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs +19 -20
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs +50 -66
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree.mjs +43 -43
- package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +17 -18
- package/fesm2020/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-button-toggle.mjs +12 -12
- package/fesm2020/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-button.mjs +18 -20
- package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-card.mjs +14 -16
- package/fesm2020/ptsecurity-mosaic-card.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-checkbox.mjs +28 -44
- package/fesm2020/ptsecurity-mosaic-checkbox.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-core.mjs +338 -217
- package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-datepicker.mjs +173 -200
- package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +153 -93
- package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-divider.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-divider.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-dl.mjs +16 -18
- package/fesm2020/ptsecurity-mosaic-dl.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-dropdown.mjs +22 -24
- package/fesm2020/ptsecurity-mosaic-dropdown.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-form-field.mjs +214 -57
- package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-icon.mjs +15 -18
- package/fesm2020/ptsecurity-mosaic-icon.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-input.mjs +45 -107
- package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-link.mjs +8 -10
- package/fesm2020/ptsecurity-mosaic-link.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-list.mjs +24 -26
- package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs +21 -23
- package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-modal.mjs +41 -44
- package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-navbar.mjs +58 -60
- package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-popover.mjs +33 -25
- package/fesm2020/ptsecurity-mosaic-popover.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +11 -14
- package/fesm2020/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +29 -17
- package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-radio.mjs +56 -57
- package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-select.mjs +50 -67
- package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-sidebar.mjs +13 -13
- package/fesm2020/ptsecurity-mosaic-sidebar.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +69 -66
- package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-splitter.mjs +41 -43
- package/fesm2020/ptsecurity-mosaic-splitter.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-table.mjs +9 -11
- package/fesm2020/ptsecurity-mosaic-table.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tabs.mjs +66 -69
- package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tags.mjs +53 -61
- package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-textarea.mjs +26 -41
- package/fesm2020/ptsecurity-mosaic-textarea.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-timepicker.mjs +15 -34
- package/fesm2020/ptsecurity-mosaic-timepicker.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-timezone.mjs +306 -0
- package/fesm2020/ptsecurity-mosaic-timezone.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-toast.mjs +130 -120
- package/fesm2020/ptsecurity-mosaic-toast.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-toggle.mjs +16 -19
- package/fesm2020/ptsecurity-mosaic-toggle.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tooltip.mjs +19 -20
- package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs +47 -64
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tree.mjs +43 -43
- package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
- package/form-field/cleaner.d.ts +1 -1
- package/form-field/form-field.d.ts +13 -7
- package/form-field/form-field.module.d.ts +4 -3
- package/form-field/hint.d.ts +3 -3
- package/form-field/password-hint.d.ts +2 -3
- package/form-field/prefix.d.ts +1 -1
- package/form-field/public-api.d.ts +1 -0
- package/form-field/stepper.d.ts +1 -1
- package/form-field/suffix.d.ts +1 -1
- package/form-field/validate.directive.d.ts +32 -0
- package/icon/icon.component.d.ts +4 -4
- package/input/input-number-validators.d.ts +2 -2
- package/input/input-number.d.ts +1 -1
- package/input/input-password.d.ts +9 -15
- package/input/input.d.ts +14 -14
- package/link/link.component.d.ts +1 -1
- package/list/list-selection.component.d.ts +2 -2
- package/list/list.component.d.ts +2 -2
- package/loader-overlay/loader-overlay.component.d.ts +4 -4
- package/modal/css-unit.pipe.d.ts +1 -1
- package/modal/modal.component.d.ts +1 -1
- package/modal/modal.directive.d.ts +4 -4
- package/navbar/navbar-item.component.d.ts +11 -11
- package/navbar/navbar.component.d.ts +3 -3
- package/navbar/vertical-navbar.component.d.ts +1 -1
- package/package.json +56 -48
- package/popover/popover-confirm.component.d.ts +2 -2
- package/popover/popover.component.d.ts +5 -5
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/default-theme.css +1 -1
- package/prebuilt-visual/default-visual.css +1 -1
- package/progress-bar/progress-bar.component.d.ts +3 -3
- package/progress-spinner/progress-spinner.component.d.ts +8 -3
- package/radio/radio.component.d.ts +11 -17
- package/select/select-option.directive.d.ts +1 -1
- package/select/select.component.d.ts +16 -14
- package/sidebar/sidebar.component.d.ts +3 -3
- package/sidepanel/sidepanel-container.component.d.ts +1 -1
- package/sidepanel/sidepanel-directives.d.ts +5 -5
- package/splitter/splitter.component.d.ts +4 -4
- package/table/table.component.d.ts +1 -1
- package/tabs/paginated-tab-header.d.ts +1 -1
- package/tabs/tab-body.component.d.ts +2 -2
- package/tabs/tab-content.directive.d.ts +1 -1
- package/tabs/tab-group.component.d.ts +8 -8
- package/tabs/tab-header.component.d.ts +1 -1
- package/tabs/tab-label-wrapper.directive.d.ts +1 -1
- package/tabs/tab-label.directive.d.ts +1 -1
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +2 -2
- package/tabs/tab.component.d.ts +1 -1
- package/tags/tag-input.d.ts +1 -1
- package/tags/tag-list.component.d.ts +14 -10
- package/tags/tag.component.d.ts +8 -6
- package/textarea/textarea.component.d.ts +14 -13
- package/timepicker/timepicker.directive.d.ts +5 -10
- package/timezone/README.md +0 -0
- package/timezone/cities-by-filter.pipe.d.ts +7 -0
- package/timezone/index.d.ts +1 -0
- package/timezone/public-api.d.ts +6 -0
- package/timezone/timezone-option.component.d.ts +15 -0
- package/timezone/timezone-option.directive.d.ts +20 -0
- package/timezone/timezone-select.component.d.ts +14 -0
- package/timezone/timezone.models.d.ts +16 -0
- package/timezone/timezone.module.d.ts +19 -0
- package/timezone/timezone.utils.d.ts +18 -0
- package/timezone/utc-offset.pipe.d.ts +7 -0
- package/toast/toast-container.component.d.ts +1 -1
- package/toast/toast.component.d.ts +1 -1
- package/toast/toast.service.d.ts +6 -4
- package/toggle/toggle.component.d.ts +5 -5
- package/tooltip/tooltip.component.d.ts +5 -6
- package/tree/control/flat-tree-control.d.ts +8 -8
- package/tree/node.d.ts +1 -1
- package/tree/outlet.d.ts +1 -1
- package/tree/padding.directive.d.ts +1 -1
- package/tree/toggle.d.ts +3 -3
- package/tree/tree-base.d.ts +2 -2
- package/tree/tree-option.component.d.ts +1 -1
- package/tree/tree-selection.component.d.ts +1 -1
- package/tree/tree.d.ts +1 -1
- package/tree-select/tree-select.component.d.ts +14 -12
- package/autocomplete/package.json +0 -10
- package/autocomplete/ptsecurity-mosaic-autocomplete.d.ts +0 -5
- package/button/package.json +0 -10
- package/button/ptsecurity-mosaic-button.d.ts +0 -5
- package/button-toggle/package.json +0 -10
- package/button-toggle/ptsecurity-mosaic-button-toggle.d.ts +0 -5
- package/card/package.json +0 -10
- package/card/ptsecurity-mosaic-card.d.ts +0 -5
- package/checkbox/package.json +0 -10
- package/checkbox/ptsecurity-mosaic-checkbox.d.ts +0 -5
- package/core/package.json +0 -10
- package/core/ptsecurity-mosaic-core.d.ts +0 -5
- package/datepicker/package.json +0 -10
- package/datepicker/ptsecurity-mosaic-datepicker.d.ts +0 -5
- package/design-tokens/package.json +0 -10
- package/design-tokens/ptsecurity-mosaic-design-tokens.d.ts +0 -5
- package/divider/package.json +0 -10
- package/divider/ptsecurity-mosaic-divider.d.ts +0 -5
- package/dl/package.json +0 -10
- package/dl/ptsecurity-mosaic-dl.d.ts +0 -5
- package/dropdown/package.json +0 -10
- package/dropdown/ptsecurity-mosaic-dropdown.d.ts +0 -5
- package/form-field/package.json +0 -10
- package/form-field/ptsecurity-mosaic-form-field.d.ts +0 -5
- package/icon/package.json +0 -10
- package/icon/ptsecurity-mosaic-icon.d.ts +0 -5
- package/input/package.json +0 -10
- package/input/ptsecurity-mosaic-input.d.ts +0 -5
- package/link/package.json +0 -10
- package/link/ptsecurity-mosaic-link.d.ts +0 -5
- package/list/package.json +0 -10
- package/list/ptsecurity-mosaic-list.d.ts +0 -5
- package/loader-overlay/package.json +0 -10
- package/loader-overlay/ptsecurity-mosaic-loader-overlay.d.ts +0 -5
- package/modal/package.json +0 -10
- package/modal/ptsecurity-mosaic-modal.d.ts +0 -5
- package/navbar/package.json +0 -10
- package/navbar/ptsecurity-mosaic-navbar.d.ts +0 -5
- package/popover/package.json +0 -10
- package/popover/ptsecurity-mosaic-popover.d.ts +0 -5
- package/progress-bar/package.json +0 -10
- package/progress-bar/ptsecurity-mosaic-progress-bar.d.ts +0 -5
- package/progress-spinner/package.json +0 -10
- package/progress-spinner/ptsecurity-mosaic-progress-spinner.d.ts +0 -5
- package/ptsecurity-mosaic.d.ts +0 -5
- package/radio/package.json +0 -10
- package/radio/ptsecurity-mosaic-radio.d.ts +0 -5
- package/select/package.json +0 -10
- package/select/ptsecurity-mosaic-select.d.ts +0 -5
- package/sidebar/package.json +0 -10
- package/sidebar/ptsecurity-mosaic-sidebar.d.ts +0 -5
- package/sidepanel/package.json +0 -10
- package/sidepanel/ptsecurity-mosaic-sidepanel.d.ts +0 -5
- package/splitter/package.json +0 -10
- package/splitter/ptsecurity-mosaic-splitter.d.ts +0 -5
- package/table/package.json +0 -10
- package/table/ptsecurity-mosaic-table.d.ts +0 -5
- package/tabs/package.json +0 -10
- package/tabs/ptsecurity-mosaic-tabs.d.ts +0 -5
- package/tags/package.json +0 -10
- package/tags/ptsecurity-mosaic-tags.d.ts +0 -5
- package/textarea/package.json +0 -10
- package/textarea/ptsecurity-mosaic-textarea.d.ts +0 -5
- package/timepicker/package.json +0 -10
- package/timepicker/ptsecurity-mosaic-timepicker.d.ts +0 -5
- package/toast/package.json +0 -10
- package/toast/ptsecurity-mosaic-toast.d.ts +0 -5
- package/toggle/package.json +0 -10
- package/toggle/ptsecurity-mosaic-toggle.d.ts +0 -5
- package/tooltip/package.json +0 -10
- package/tooltip/ptsecurity-mosaic-tooltip.d.ts +0 -5
- package/tree/package.json +0 -10
- package/tree/ptsecurity-mosaic-tree.d.ts +0 -5
- package/tree-select/package.json +0 -10
- package/tree-select/ptsecurity-mosaic-tree-select.d.ts +0 -5
@@ -8,5 +8,5 @@ export declare class McAutocompleteOrigin {
|
|
8
8
|
elementRef: ElementRef<HTMLElement>;
|
9
9
|
constructor(elementRef: ElementRef<HTMLElement>);
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<McAutocompleteOrigin, never>;
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McAutocompleteOrigin, "[mcAutocompleteOrigin]", ["mcAutocompleteOrigin"], {}, {}, never>;
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McAutocompleteOrigin, "[mcAutocompleteOrigin]", ["mcAutocompleteOrigin"], {}, {}, never, never, false>;
|
12
12
|
}
|
@@ -163,5 +163,5 @@ export declare class McAutocompleteTrigger implements ControlValueAccessor, OnDe
|
|
163
163
|
private resetActiveItem;
|
164
164
|
private canOpen;
|
165
165
|
static ɵfac: i0.ɵɵFactoryDeclaration<McAutocompleteTrigger, [null, null, null, null, null, null, { optional: true; }, { optional: true; host: true; }, { optional: true; }, null]>;
|
166
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McAutocompleteTrigger, "input[mcAutocomplete], textarea[mcAutocomplete]", ["mcAutocompleteTrigger"], { "autocomplete": "mcAutocomplete"; "connectedTo": "mcAutocompleteConnectedTo"; "autocompleteAttribute": "autocomplete"; "autocompleteDisabled": "mcAutocompleteDisabled"; }, {}, never>;
|
166
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McAutocompleteTrigger, "input[mcAutocomplete], textarea[mcAutocomplete]", ["mcAutocompleteTrigger"], { "autocomplete": "mcAutocomplete"; "connectedTo": "mcAutocompleteConnectedTo"; "autocompleteAttribute": "autocomplete"; "autocompleteDisabled": "mcAutocompleteDisabled"; }, {}, never, never, false>;
|
167
167
|
}
|
@@ -69,5 +69,5 @@ export declare class McAutocomplete implements AfterContentInit {
|
|
69
69
|
emitSelectEvent(option: McOption): void;
|
70
70
|
onKeydown(event: KeyboardEvent): any;
|
71
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<McAutocomplete, never>;
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McAutocomplete, "mc-autocomplete", ["mcAutocomplete"], { "displayWith": "displayWith"; "panelWidth": "panelWidth"; "classList": "class"; "autoActiveFirstOption": "autoActiveFirstOption"; "openOnFocus": "openOnFocus"; }, { "optionSelected": "optionSelected"; "opened": "opened"; "closed": "closed"; }, ["options", "optionGroups"], ["*"]>;
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McAutocomplete, "mc-autocomplete", ["mcAutocomplete"], { "displayWith": "displayWith"; "panelWidth": "panelWidth"; "classList": "class"; "autoActiveFirstOption": "autoActiveFirstOption"; "openOnFocus": "openOnFocus"; }, { "optionSelected": "optionSelected"; "opened": "opened"; "closed": "closed"; }, ["options", "optionGroups"], ["*"], false>;
|
73
73
|
}
|
@@ -12,11 +12,11 @@ export declare class McButtonCssStyler implements AfterContentInit {
|
|
12
12
|
ngAfterContentInit(): void;
|
13
13
|
updateClassModifierForIcons(): void;
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<McButtonCssStyler, never>;
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McButtonCssStyler, "[mc-button]", never, {}, {}, ["icons"]>;
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McButtonCssStyler, "[mc-button]", never, {}, {}, ["icons"], never, false>;
|
16
16
|
}
|
17
17
|
export declare class McButtonBase {
|
18
|
-
|
19
|
-
constructor(
|
18
|
+
elementRef: ElementRef;
|
19
|
+
constructor(elementRef: ElementRef);
|
20
20
|
}
|
21
21
|
export declare const McButtonMixinBase: HasTabIndexCtor & CanColorCtor & typeof McButtonBase;
|
22
22
|
export declare class McButton extends McButtonMixinBase implements OnDestroy, CanDisable, CanColor {
|
@@ -36,5 +36,5 @@ export declare class McButton extends McButtonMixinBase implements OnDestroy, Ca
|
|
36
36
|
private runFocusMonitor;
|
37
37
|
private stopFocusMonitor;
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<McButton, never>;
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McButton, "[mc-button]", never, { "color": "color"; "tabIndex": "tabIndex"; "disabled": "disabled"; }, {}, never, ["*"]>;
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McButton, "[mc-button]", never, { "color": "color"; "tabIndex": "tabIndex"; "disabled": "disabled"; }, {}, never, ["*"], false>;
|
40
40
|
}
|
@@ -99,7 +99,7 @@ export declare class McButtonToggleGroup implements ControlValueAccessor, OnInit
|
|
99
99
|
/** Selects a value if there's a toggle that corresponds to it. */
|
100
100
|
private selectValue;
|
101
101
|
static ɵfac: i0.ɵɵFactoryDeclaration<McButtonToggleGroup, never>;
|
102
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McButtonToggleGroup, "mc-button-toggle-group", ["mcButtonToggleGroup"], { "vertical": "vertical"; "value": "value"; "multiple": "multiple"; "disabled": "disabled"; }, { "valueChange": "valueChange"; "change": "change"; }, ["buttonToggles"]>;
|
102
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McButtonToggleGroup, "mc-button-toggle-group", ["mcButtonToggleGroup"], { "vertical": "vertical"; "value": "value"; "multiple": "multiple"; "disabled": "disabled"; }, { "valueChange": "valueChange"; "change": "change"; }, ["buttonToggles"], never, false>;
|
103
103
|
}
|
104
104
|
/** Single button inside of a toggle group. */
|
105
105
|
export declare class McButtonToggle implements OnInit, OnDestroy {
|
@@ -137,5 +137,5 @@ export declare class McButtonToggle implements OnInit, OnDestroy {
|
|
137
137
|
*/
|
138
138
|
markForCheck(): void;
|
139
139
|
static ɵfac: i0.ɵɵFactoryDeclaration<McButtonToggle, [{ optional: true; }, null, null, null]>;
|
140
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McButtonToggle, "mc-button-toggle", ["mcButtonToggle"], { "checked": "checked"; "value": "value"; "tabIndex": "tabIndex"; "disabled": "disabled"; }, { "change": "change"; }, never, ["*"]>;
|
140
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McButtonToggle, "mc-button-toggle", ["mcButtonToggle"], { "checked": "checked"; "value": "value"; "tabIndex": "tabIndex"; "disabled": "disabled"; }, { "change": "change"; }, never, ["*"], false>;
|
141
141
|
}
|
package/card/card.component.d.ts
CHANGED
@@ -3,8 +3,8 @@ import { ElementRef, OnDestroy, EventEmitter } from '@angular/core';
|
|
3
3
|
import { CanColorCtor } from '@ptsecurity/mosaic/core';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class McCardBase {
|
6
|
-
|
7
|
-
constructor(
|
6
|
+
elementRef: ElementRef;
|
7
|
+
constructor(elementRef: ElementRef);
|
8
8
|
}
|
9
9
|
export declare const McCardBaseMixin: CanColorCtor & typeof McCardBase;
|
10
10
|
export declare class McCard extends McCardBaseMixin implements OnDestroy {
|
@@ -22,5 +22,5 @@ export declare class McCard extends McCardBaseMixin implements OnDestroy {
|
|
22
22
|
onKeyDown($event: KeyboardEvent): void;
|
23
23
|
private get hostElement();
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<McCard, never>;
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McCard, "mc-card", never, { "color": "color"; "readonly": "readonly"; "selected": "selected"; "tabIndex": "tabIndex"; }, { "selectedChange": "selectedChange"; }, never, ["*"]>;
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McCard, "mc-card", never, { "color": "color"; "readonly": "readonly"; "selected": "selected"; "tabIndex": "tabIndex"; }, { "selectedChange": "selectedChange"; }, never, ["*"], false>;
|
26
26
|
}
|
@@ -9,5 +9,5 @@ export declare const MC_CHECKBOX_REQUIRED_VALIDATOR: Provider;
|
|
9
9
|
*/
|
10
10
|
export declare class McCheckboxRequiredValidator extends CheckboxRequiredValidator {
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<McCheckboxRequiredValidator, never>;
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McCheckboxRequiredValidator, "mc-checkbox[required][formControlName], mc-checkbox[required][formControl], mc-checkbox[required][ngModel]", never, {}, {}, never>;
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McCheckboxRequiredValidator, "mc-checkbox[required][formControlName], mc-checkbox[required][formControl], mc-checkbox[required][ngModel]", never, {}, {}, never, never, false>;
|
13
13
|
}
|
package/checkbox/checkbox.d.ts
CHANGED
@@ -33,8 +33,8 @@ export declare class McCheckboxChange {
|
|
33
33
|
}
|
34
34
|
/** @docs-private */
|
35
35
|
export declare class McCheckboxBase {
|
36
|
-
|
37
|
-
constructor(
|
36
|
+
elementRef: ElementRef;
|
37
|
+
constructor(elementRef: ElementRef);
|
38
38
|
}
|
39
39
|
export declare const McCheckboxMixinBase: HasTabIndexCtor & CanColorCtor & CanDisableCtor & typeof McCheckboxBase;
|
40
40
|
/**
|
@@ -45,18 +45,9 @@ export declare const McCheckboxMixinBase: HasTabIndexCtor & CanColorCtor & CanDi
|
|
45
45
|
* have the checkbox be accessible, you may supply an [aria-label] input.
|
46
46
|
*/
|
47
47
|
export declare class McCheckbox extends McCheckboxMixinBase implements ControlValueAccessor, AfterViewInit, OnDestroy, CanColor, CanDisable, HasTabIndex {
|
48
|
-
private
|
49
|
-
private
|
50
|
-
private
|
51
|
-
/**
|
52
|
-
* Attached to the aria-label attribute of the host element. In most cases, arial-labelledby will
|
53
|
-
* take precedence so this may be omitted.
|
54
|
-
*/
|
55
|
-
ariaLabel: string;
|
56
|
-
/**
|
57
|
-
* Users can specify the `aria-labelledby` attribute which will be forwarded to the input element
|
58
|
-
*/
|
59
|
-
ariaLabelledby: string | null;
|
48
|
+
private changeDetectorRef;
|
49
|
+
private focusMonitor;
|
50
|
+
private clickAction;
|
60
51
|
/** A unique id for the checkbox input. If none is supplied, it will be auto-generated. */
|
61
52
|
id: string;
|
62
53
|
/** Whether the label should appear after or before the checkbox. Defaults to 'after' */
|
@@ -102,7 +93,7 @@ export declare class McCheckbox extends McCheckboxMixinBase implements ControlVa
|
|
102
93
|
private uniqueId;
|
103
94
|
private currentAnimationClass;
|
104
95
|
private currentCheckState;
|
105
|
-
constructor(elementRef: ElementRef,
|
96
|
+
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, focusMonitor: FocusMonitor, clickAction: McCheckboxClickAction);
|
106
97
|
/**
|
107
98
|
* Called when the checkbox is blurred. Needed to properly implement ControlValueAccessor.
|
108
99
|
* @docs-private
|
@@ -136,5 +127,5 @@ export declare class McCheckbox extends McCheckboxMixinBase implements ControlVa
|
|
136
127
|
/** Function is called whenever the focus changes for the input element. */
|
137
128
|
private onInputFocusChange;
|
138
129
|
static ɵfac: i0.ɵɵFactoryDeclaration<McCheckbox, [null, null, null, { optional: true; }]>;
|
139
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McCheckbox, "mc-checkbox", ["mcCheckbox"], { "color": "color"; "tabIndex": "tabIndex"; "
|
130
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McCheckbox, "mc-checkbox", ["mcCheckbox"], { "color": "color"; "tabIndex": "tabIndex"; "id": "id"; "labelPosition": "labelPosition"; "name": "name"; "value": "value"; "required": "required"; "checked": "checked"; "disabled": "disabled"; "indeterminate": "indeterminate"; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, ["*", "mc-hint"], false>;
|
140
131
|
}
|
@@ -6,12 +6,15 @@ export interface CanColor {
|
|
6
6
|
/** @docs-private */
|
7
7
|
export declare type CanColorCtor = Constructor<CanColor> & AbstractConstructor<CanColor>;
|
8
8
|
export interface HasElementRef {
|
9
|
-
|
9
|
+
elementRef: ElementRef;
|
10
10
|
}
|
11
11
|
export declare enum ThemePalette {
|
12
12
|
Primary = "primary",
|
13
13
|
Second = "second",
|
14
14
|
Error = "error",
|
15
|
+
Info = "info",
|
16
|
+
Warning = "warning",
|
17
|
+
Success = "success",
|
15
18
|
Default = "second",
|
16
19
|
Empty = ""
|
17
20
|
}
|
@@ -1,13 +1,15 @@
|
|
1
1
|
import { FormGroupDirective, NgControl, NgForm } from '@angular/forms';
|
2
2
|
import { Subject } from 'rxjs';
|
3
3
|
import { ErrorStateMatcher } from '../error/error-options';
|
4
|
-
import { Constructor } from './constructor';
|
4
|
+
import { AbstractConstructor, Constructor } from './constructor';
|
5
5
|
/** @docs-private */
|
6
6
|
export interface CanUpdateErrorState {
|
7
|
-
|
7
|
+
/** Whether the component is in an error state. */
|
8
8
|
errorState: boolean;
|
9
|
+
/** An object used to control the error state of the component. */
|
9
10
|
errorStateMatcher: ErrorStateMatcher;
|
10
|
-
|
11
|
+
/** Updates the error state based on the provided error state matcher. */
|
12
|
+
updateErrorState(): void;
|
11
13
|
}
|
12
14
|
/** @docs-private */
|
13
15
|
export declare type CanUpdateErrorStateCtor = Constructor<CanUpdateErrorState>;
|
@@ -17,9 +19,10 @@ export interface HasErrorState {
|
|
17
19
|
parentForm: NgForm;
|
18
20
|
defaultErrorStateMatcher: ErrorStateMatcher;
|
19
21
|
ngControl: NgControl;
|
22
|
+
stateChanges: Subject<void>;
|
20
23
|
}
|
21
24
|
/**
|
22
25
|
* Mixin to augment a directive with updateErrorState method.
|
23
26
|
* For component with `errorState` and need to update `errorState`.
|
24
27
|
*/
|
25
|
-
export declare function mixinErrorState<T extends
|
28
|
+
export declare function mixinErrorState<T extends AbstractConstructor<HasErrorState>>(base: T): CanUpdateErrorStateCtor & T;
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import { FormGroupDirective, NgForm,
|
1
|
+
import { FormGroupDirective, NgForm, UntypedFormControl } from '@angular/forms';
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
/** Error state matcher that matches when a control is invalid and dirty. */
|
4
4
|
export declare class ShowOnDirtyErrorStateMatcher implements ErrorStateMatcher {
|
5
|
-
isErrorState(control:
|
5
|
+
isErrorState(control: UntypedFormControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShowOnDirtyErrorStateMatcher, never>;
|
7
7
|
static ɵprov: i0.ɵɵInjectableDeclaration<ShowOnDirtyErrorStateMatcher>;
|
8
8
|
}
|
9
9
|
/** Provider that defines how form controls behave with regards to displaying error messages. */
|
10
10
|
export declare class ErrorStateMatcher {
|
11
|
-
isErrorState(control:
|
11
|
+
isErrorState(control: UntypedFormControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorStateMatcher, never>;
|
13
13
|
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorStateMatcher>;
|
14
14
|
}
|
@@ -0,0 +1,95 @@
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
2
|
+
import { DateTime } from 'luxon';
|
3
|
+
import { DateFormatter, DateTimeOptions } from './formatter';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class AbsoluteDateFormatterPipe implements PipeTransform {
|
6
|
+
private formatter;
|
7
|
+
constructor(formatter: DateFormatter<DateTime>);
|
8
|
+
transform(value: any, currYear?: boolean): string;
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbsoluteDateFormatterPipe, never>;
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AbsoluteDateFormatterPipe, "absoluteLongDate", false>;
|
11
|
+
}
|
12
|
+
export declare class AbsoluteDateTimeFormatterPipe implements PipeTransform {
|
13
|
+
private formatter;
|
14
|
+
constructor(formatter: DateFormatter<DateTime>);
|
15
|
+
transform(value: any, options?: DateTimeOptions): string;
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbsoluteDateTimeFormatterPipe, never>;
|
17
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AbsoluteDateTimeFormatterPipe, "absoluteLongDateTime", false>;
|
18
|
+
}
|
19
|
+
export declare class AbsoluteDateShortFormatterPipe implements PipeTransform {
|
20
|
+
private formatter;
|
21
|
+
constructor(formatter: DateFormatter<DateTime>);
|
22
|
+
transform(value: any, currYear?: boolean): string;
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbsoluteDateShortFormatterPipe, never>;
|
24
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AbsoluteDateShortFormatterPipe, "absoluteShortDate", false>;
|
25
|
+
}
|
26
|
+
export declare class AbsoluteShortDateTimeFormatterPipe implements PipeTransform {
|
27
|
+
private formatter;
|
28
|
+
constructor(formatter: DateFormatter<DateTime>);
|
29
|
+
transform(value: any, options?: DateTimeOptions): string;
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbsoluteShortDateTimeFormatterPipe, never>;
|
31
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AbsoluteShortDateTimeFormatterPipe, "absoluteShortDateTime", false>;
|
32
|
+
}
|
33
|
+
export declare class RelativeDateFormatterPipe implements PipeTransform {
|
34
|
+
private formatter;
|
35
|
+
constructor(formatter: DateFormatter<DateTime>);
|
36
|
+
transform(value: any): string;
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RelativeDateFormatterPipe, never>;
|
38
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RelativeDateFormatterPipe, "relativeLongDate", false>;
|
39
|
+
}
|
40
|
+
export declare class RelativeDateTimeFormatterPipe implements PipeTransform {
|
41
|
+
private formatter;
|
42
|
+
constructor(formatter: DateFormatter<DateTime>);
|
43
|
+
transform(value: any, options?: DateTimeOptions): string;
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RelativeDateTimeFormatterPipe, never>;
|
45
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RelativeDateTimeFormatterPipe, "relativeLongDateTime", false>;
|
46
|
+
}
|
47
|
+
export declare class RelativeShortDateFormatterPipe implements PipeTransform {
|
48
|
+
private formatter;
|
49
|
+
constructor(formatter: DateFormatter<DateTime>);
|
50
|
+
transform(value: any): string;
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RelativeShortDateFormatterPipe, never>;
|
52
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RelativeShortDateFormatterPipe, "relativeShortDate", false>;
|
53
|
+
}
|
54
|
+
export declare class RelativeShortDateTimeFormatterPipe implements PipeTransform {
|
55
|
+
private formatter;
|
56
|
+
constructor(formatter: DateFormatter<DateTime>);
|
57
|
+
transform(value: any, options?: DateTimeOptions): string;
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RelativeShortDateTimeFormatterPipe, never>;
|
59
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RelativeShortDateTimeFormatterPipe, "relativeShortDateTime", false>;
|
60
|
+
}
|
61
|
+
export declare class RangeDateFormatterPipe implements PipeTransform {
|
62
|
+
private formatter;
|
63
|
+
constructor(formatter: DateFormatter<DateTime>);
|
64
|
+
transform([value1, value2]: any): string;
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeDateFormatterPipe, never>;
|
66
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RangeDateFormatterPipe, "rangeLongDate", false>;
|
67
|
+
}
|
68
|
+
export declare class RangeShortDateFormatterPipe implements PipeTransform {
|
69
|
+
private formatter;
|
70
|
+
constructor(formatter: DateFormatter<DateTime>);
|
71
|
+
transform([value1, value2]: any): string;
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeShortDateFormatterPipe, never>;
|
73
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RangeShortDateFormatterPipe, "rangeShortDate", false>;
|
74
|
+
}
|
75
|
+
export declare class RangeDateTimeFormatterPipe implements PipeTransform {
|
76
|
+
private formatter;
|
77
|
+
constructor(formatter: DateFormatter<DateTime>);
|
78
|
+
transform([value1, value2]: any, options?: DateTimeOptions): string;
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeDateTimeFormatterPipe, never>;
|
80
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RangeDateTimeFormatterPipe, "rangeLongDateTime", false>;
|
81
|
+
}
|
82
|
+
export declare class RangeMiddleDateTimeFormatterPipe implements PipeTransform {
|
83
|
+
private formatter;
|
84
|
+
constructor(formatter: DateFormatter<DateTime>);
|
85
|
+
transform([value1, value2]: any, options?: DateTimeOptions): string;
|
86
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeMiddleDateTimeFormatterPipe, never>;
|
87
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RangeMiddleDateTimeFormatterPipe, "rangeMiddleDateTime", false>;
|
88
|
+
}
|
89
|
+
export declare class RangeShortDateTimeFormatterPipe implements PipeTransform {
|
90
|
+
private formatter;
|
91
|
+
constructor(formatter: DateFormatter<DateTime>);
|
92
|
+
transform([value1, value2]: any, options?: DateTimeOptions): string;
|
93
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeShortDateTimeFormatterPipe, never>;
|
94
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RangeShortDateTimeFormatterPipe, "rangeShortDateTime", false>;
|
95
|
+
}
|
@@ -1,9 +1,11 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
import * as i1 from "./number/formatter";
|
3
|
+
import * as i2 from "./date/formatter.pipe";
|
3
4
|
export declare class McFormattersModule {
|
4
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<McFormattersModule, never>;
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<McFormattersModule, [typeof i1.McDecimalPipe], never, [typeof i1.McDecimalPipe]>;
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McFormattersModule, [typeof i1.McDecimalPipe, typeof i2.AbsoluteDateFormatterPipe, typeof i2.AbsoluteDateTimeFormatterPipe, typeof i2.AbsoluteDateShortFormatterPipe, typeof i2.AbsoluteShortDateTimeFormatterPipe, typeof i2.RelativeDateFormatterPipe, typeof i2.RelativeDateTimeFormatterPipe, typeof i2.RelativeShortDateFormatterPipe, typeof i2.RelativeShortDateTimeFormatterPipe, typeof i2.RangeDateFormatterPipe, typeof i2.RangeShortDateFormatterPipe, typeof i2.RangeDateTimeFormatterPipe, typeof i2.RangeShortDateTimeFormatterPipe, typeof i2.RangeMiddleDateTimeFormatterPipe], never, [typeof i1.McDecimalPipe, typeof i2.AbsoluteDateFormatterPipe, typeof i2.AbsoluteDateTimeFormatterPipe, typeof i2.AbsoluteDateShortFormatterPipe, typeof i2.AbsoluteShortDateTimeFormatterPipe, typeof i2.RelativeDateFormatterPipe, typeof i2.RelativeDateTimeFormatterPipe, typeof i2.RelativeShortDateFormatterPipe, typeof i2.RelativeShortDateTimeFormatterPipe, typeof i2.RangeDateFormatterPipe, typeof i2.RangeShortDateFormatterPipe, typeof i2.RangeDateTimeFormatterPipe, typeof i2.RangeShortDateTimeFormatterPipe, typeof i2.RangeMiddleDateTimeFormatterPipe]>;
|
6
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<McFormattersModule>;
|
7
8
|
}
|
8
9
|
export * from './number/formatter';
|
9
10
|
export * from './date/formatter';
|
11
|
+
export * from './date/formatter.pipe';
|
@@ -22,6 +22,6 @@ export declare class McDecimalPipe implements PipeTransform {
|
|
22
22
|
*/
|
23
23
|
transform(value: any, digitsInfo?: string, locale?: string): string | null;
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<McDecimalPipe, [{ optional: true; }]>;
|
25
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<McDecimalPipe, "mcNumber">;
|
25
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<McDecimalPipe, "mcNumber", false>;
|
26
26
|
static ɵprov: i0.ɵɵInjectableDeclaration<McDecimalPipe>;
|
27
27
|
}
|
@@ -11,12 +11,12 @@ export declare class McFormElement implements AfterContentInit {
|
|
11
11
|
constructor(element: ElementRef<HTMLElement>);
|
12
12
|
ngAfterContentInit(): void;
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<McFormElement, never>;
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McFormElement, ".mc-form__row, .mc-form__fieldset, .mc-form__legend", ["mcFormElement"], {}, {}, ["elements"]>;
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McFormElement, ".mc-form__row, .mc-form__fieldset, .mc-form__legend", ["mcFormElement"], {}, {}, ["elements"], never, false>;
|
15
15
|
}
|
16
16
|
export declare class McForm implements AfterContentInit {
|
17
17
|
elements: QueryList<McFormElement>;
|
18
18
|
ngAfterContentInit(): void;
|
19
19
|
handleElements(elements: QueryList<McFormElement>): void;
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<McForm, never>;
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McForm, ".mc-form-vertical, .mc-form-horizontal", ["mcForm"], {}, {}, ["elements"]>;
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McForm, ".mc-form-vertical, .mc-form-horizontal", ["mcForm"], {}, {}, ["elements"], never, false>;
|
22
22
|
}
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
3
3
|
export declare class McHighlightPipe implements PipeTransform {
|
4
4
|
transform(value: any, args: any): any;
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<McHighlightPipe, never>;
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<McHighlightPipe, "mcHighlight">;
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<McHighlightPipe, "mcHighlight", false>;
|
7
7
|
}
|
package/core/line/line.d.ts
CHANGED
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
7
7
|
*/
|
8
8
|
export declare class McLine {
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<McLine, never>;
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McLine, "[mc-line], [mcLine]", never, {}, {}, never>;
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McLine, "[mc-line], [mcLine]", never, {}, {}, never, never, false>;
|
11
11
|
}
|
12
12
|
/**
|
13
13
|
* Helper that takes a query list of lines and sets the correct class on the host.
|
package/core/option/action.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
|
2
2
|
import { AfterViewInit, ElementRef, EventEmitter, InjectionToken, OnDestroy } from '@angular/core';
|
3
|
-
import { CanDisableCtor, HasTabIndexCtor } from '../common-behaviors
|
3
|
+
import { CanDisableCtor, HasTabIndexCtor } from '../common-behaviors';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export interface McOptionActionParent {
|
6
6
|
dropdownTrigger: {
|
@@ -38,5 +38,5 @@ export declare class McOptionActionComponent extends McOptionActionMixinBase imp
|
|
38
38
|
onKeyDown($event: any): void;
|
39
39
|
private preventShowingTooltip;
|
40
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<McOptionActionComponent, never>;
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McOptionActionComponent, "mc-option-action", ["mcOptionAction"], { "disabled": "disabled"; }, {}, ["customIcon"], ["[mc-icon]"]>;
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McOptionActionComponent, "mc-option-action", ["mcOptionAction"], { "disabled": "disabled"; }, {}, ["customIcon"], ["[mc-icon]"], false>;
|
42
42
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CanDisable, CanDisableCtor } from '../common-behaviors
|
1
|
+
import { CanDisable, CanDisableCtor } from '../common-behaviors';
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
/** @docs-private */
|
4
4
|
export declare class McOptgroupBase {
|
@@ -12,5 +12,5 @@ export declare class McOptgroup extends McOptgroupMixinBase implements CanDisabl
|
|
12
12
|
/** Unique id for the underlying label. */
|
13
13
|
labelId: string;
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<McOptgroup, never>;
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McOptgroup, "mc-optgroup", ["mcOptgroup"], { "disabled": "disabled"; "label": "label"; }, {}, never, ["mc-option, mc-list-option, ng-container"]>;
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McOptgroup, "mc-optgroup", ["mcOptgroup"], { "disabled": "disabled"; "label": "label"; }, {}, never, ["mc-option, mc-list-option, mc-timezone-option, ng-container"], false>;
|
16
16
|
}
|
package/core/option/option.d.ts
CHANGED
@@ -94,7 +94,7 @@ export declare class McOption implements AfterViewChecked, OnDestroy {
|
|
94
94
|
/** Emits the selection change event. */
|
95
95
|
private emitSelectionChangeEvent;
|
96
96
|
static ɵfac: i0.ɵɵFactoryDeclaration<McOption, [null, null, { optional: true; }, { optional: true; }]>;
|
97
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McOption, "mc-option", ["mcOption"], { "value": "value"; "showCheckbox": "showCheckbox"; "disabled": "disabled"; }, { "onSelectionChange": "onSelectionChange"; }, never, ["*"]>;
|
97
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McOption, "mc-option", ["mcOption"], { "value": "value"; "showCheckbox": "showCheckbox"; "disabled": "disabled"; }, { "onSelectionChange": "onSelectionChange"; }, never, ["*"], false>;
|
98
98
|
}
|
99
99
|
/**
|
100
100
|
* Counts the amount of option group labels that precede the specified option.
|
@@ -1,9 +1,8 @@
|
|
1
1
|
import { Directionality } from '@angular/cdk/bidi';
|
2
|
-
import { ConnectedOverlayPositionChange, ConnectionPositionPair, Overlay, OverlayRef, ScrollDispatcher } from '@angular/cdk/overlay';
|
3
|
-
import { OverlayConfig } from '@angular/cdk/overlay/overlay-config';
|
2
|
+
import { ConnectedOverlayPositionChange, ConnectionPositionPair, Overlay, OverlayRef, ScrollDispatcher, OverlayConfig } from '@angular/cdk/overlay';
|
4
3
|
import { ComponentPortal } from '@angular/cdk/portal';
|
5
4
|
import { ElementRef, EventEmitter, NgZone, TemplateRef, Type, ViewContainerRef } from '@angular/core';
|
6
|
-
import { Observable, Subject } from 'rxjs';
|
5
|
+
import { Observable, Subject, Subscription } from 'rxjs';
|
7
6
|
import { PopUpPlacements } from './constants';
|
8
7
|
import * as i0 from "@angular/core";
|
9
8
|
export declare abstract class McPopUpTrigger<T> {
|
@@ -35,6 +34,7 @@ export declare abstract class McPopUpTrigger<T> {
|
|
35
34
|
protected portal: ComponentPortal<T>;
|
36
35
|
protected instance: any | null;
|
37
36
|
protected listeners: Map<string, EventListenerOrEventListenerObject>;
|
37
|
+
protected closingActionsSubscription: Subscription;
|
38
38
|
protected readonly availablePositions: {
|
39
39
|
[key: string]: ConnectionPositionPair;
|
40
40
|
};
|
@@ -65,6 +65,7 @@ export declare abstract class McPopUpTrigger<T> {
|
|
65
65
|
protected clearListeners(): void;
|
66
66
|
private addEventListener;
|
67
67
|
private removeEventListener;
|
68
|
+
private subscribeOnClosingActions;
|
68
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<McPopUpTrigger<any>, never>;
|
69
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McPopUpTrigger<any>, never, never, {}, {}, never>;
|
70
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McPopUpTrigger<any>, never, never, {}, {}, never, never, false>;
|
70
71
|
}
|
package/core/pop-up/pop-up.d.ts
CHANGED
@@ -13,7 +13,7 @@ export declare abstract class McPopUp implements OnDestroy {
|
|
13
13
|
visibleChange: EventEmitter<boolean>;
|
14
14
|
protected prefix: string;
|
15
15
|
/** Subject for notifying that the tooltip has been hidden from the view */
|
16
|
-
protected readonly onHideSubject: Subject<
|
16
|
+
protected readonly onHideSubject: Subject<void>;
|
17
17
|
protected closeOnInteraction: boolean;
|
18
18
|
private showTimeoutId;
|
19
19
|
private hideTimeoutId;
|
@@ -32,5 +32,5 @@ export declare abstract class McPopUp implements OnDestroy {
|
|
32
32
|
animationDone({ toState }: AnimationEvent): void;
|
33
33
|
handleBodyInteraction(): void;
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<McPopUp, never>;
|
35
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McPopUp, never, never, {}, {}, never>;
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McPopUp, never, never, {}, {}, never, never, false>;
|
36
36
|
}
|
@@ -4,8 +4,8 @@ import * as i0 from "@angular/core";
|
|
4
4
|
export declare type McPseudoCheckboxState = 'unchecked' | 'checked' | 'indeterminate';
|
5
5
|
/** @docs-private */
|
6
6
|
export declare class McPseudoCheckboxBase {
|
7
|
-
|
8
|
-
constructor(
|
7
|
+
elementRef: ElementRef;
|
8
|
+
constructor(elementRef: ElementRef);
|
9
9
|
}
|
10
10
|
export declare const McPseudoCheckboxMixinBase: CanColorCtor & CanDisableCtor & typeof McPseudoCheckboxBase;
|
11
11
|
/**
|
@@ -26,5 +26,5 @@ export declare class McPseudoCheckbox extends McPseudoCheckboxMixinBase implemen
|
|
26
26
|
disabled: boolean;
|
27
27
|
constructor(elementRef: ElementRef);
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<McPseudoCheckbox, never>;
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McPseudoCheckbox, "mc-pseudo-checkbox", never, { "color": "color"; "state": "state"; "disabled": "disabled"; }, {}, never, never>;
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McPseudoCheckbox, "mc-pseudo-checkbox", never, { "color": "color"; "state": "state"; "disabled": "disabled"; }, {}, never, never, false>;
|
30
30
|
}
|
@@ -1,18 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
import { AbstractControl, NgControl, NgForm, Validator, ValidatorFn } from '@angular/forms';
|
1
|
+
import { InjectionToken } from '@angular/core';
|
3
2
|
export declare const validationTooltipShowDelay = 10;
|
4
3
|
export declare const validationTooltipHideDelay = 3000;
|
5
4
|
export interface McValidationOptions {
|
6
5
|
useValidation: boolean;
|
7
6
|
}
|
8
7
|
export declare const MC_VALIDATION: InjectionToken<McValidationOptions>;
|
9
|
-
export declare function setValidState(control: AbstractControl, validator: ValidatorFn): void;
|
10
|
-
/** This function do next:
|
11
|
-
* - run validation on submitting parent form
|
12
|
-
* - prevent validation in required validator if form doesn't submitted
|
13
|
-
* - if control has focus validation will be prevented
|
14
|
-
*/
|
15
|
-
export declare function setMosaicValidation(component: any, cdr?: ChangeDetectorRef): void;
|
16
|
-
export declare function setMosaicValidationForModelControl(component: any, validators: Validator[], parentForm: NgForm): void;
|
17
|
-
export declare function setMosaicValidationForFormControl(component: any, parentForm: NgForm, ngControl: NgControl, cdr?: ChangeDetectorRef): void;
|
18
|
-
export declare function setMosaicValidationForCustomFormControl(component: any, cdr?: ChangeDetectorRef): void;
|
@@ -59,5 +59,5 @@ export declare class McCalendarBody implements OnChanges {
|
|
59
59
|
/** Focuses the active cell after the microtask queue is empty. */
|
60
60
|
focusActiveCell(): void;
|
61
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<McCalendarBody, never>;
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McCalendarBody, "[mc-calendar-body]", ["mcCalendarBody"], { "label": "label"; "rows": "rows"; "todayValue": "todayValue"; "selectedValue": "selectedValue"; "labelMinRequiredCells": "labelMinRequiredCells"; "numCols": "numCols"; "activeCell": "activeCell"; "cellAspectRatio": "cellAspectRatio"; }, { "selectedValueChange": "selectedValueChange"; }, never, never>;
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McCalendarBody, "[mc-calendar-body]", ["mcCalendarBody"], { "label": "label"; "rows": "rows"; "todayValue": "todayValue"; "selectedValue": "selectedValue"; "labelMinRequiredCells": "labelMinRequiredCells"; "numCols": "numCols"; "activeCell": "activeCell"; "cellAspectRatio": "cellAspectRatio"; }, { "selectedValueChange": "selectedValueChange"; }, never, never, false>;
|
63
63
|
}
|
@@ -17,35 +17,6 @@ export declare enum McCalendarView {
|
|
17
17
|
Year = "year",
|
18
18
|
MultiYear = "multi-year"
|
19
19
|
}
|
20
|
-
/** Default header for McCalendar */
|
21
|
-
export declare class McCalendarHeader<D> {
|
22
|
-
private readonly intl;
|
23
|
-
calendar: McCalendar<D>;
|
24
|
-
private readonly dateAdapter;
|
25
|
-
private readonly dateFormats;
|
26
|
-
constructor(intl: McDatepickerIntl, calendar: McCalendar<D>, dateAdapter: DateAdapter<D>, dateFormats: McDateFormats, changeDetectorRef: ChangeDetectorRef);
|
27
|
-
/** The label for the current calendar view. */
|
28
|
-
get periodButtonText(): string;
|
29
|
-
get periodButtonLabel(): string;
|
30
|
-
/** The label for the previous button. */
|
31
|
-
get prevButtonLabel(): string;
|
32
|
-
/** The label for the next button. */
|
33
|
-
get nextButtonLabel(): string;
|
34
|
-
/** Handles user clicks on the period label. */
|
35
|
-
currentPeriodClicked(): void;
|
36
|
-
/** Handles user clicks on the previous button. */
|
37
|
-
previousClicked(): void;
|
38
|
-
/** Handles user clicks on the next button. */
|
39
|
-
nextClicked(): void;
|
40
|
-
/** Whether the previous period button is enabled. */
|
41
|
-
previousEnabled(): boolean;
|
42
|
-
/** Whether the next period button is enabled. */
|
43
|
-
nextEnabled(): boolean;
|
44
|
-
/** Whether the two dates represent the same view in the current view mode (month or year). */
|
45
|
-
private isSameView;
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<McCalendarHeader<any>, [null, null, { optional: true; }, { optional: true; }, null]>;
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McCalendarHeader<any>, "mc-calendar-header", ["mcCalendarHeader"], {}, {}, never, never>;
|
48
|
-
}
|
49
20
|
/**
|
50
21
|
* A calendar that is used as part of the datepicker.
|
51
22
|
* @docs-private
|
@@ -147,5 +118,34 @@ export declare class McCalendar<D> implements AfterContentInit, AfterViewChecked
|
|
147
118
|
/** Returns the component instance that corresponds to the current calendar view. */
|
148
119
|
private getCurrentViewComponent;
|
149
120
|
static ɵfac: i0.ɵɵFactoryDeclaration<McCalendar<any>, [null, { optional: true; }, { optional: true; }, null]>;
|
150
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McCalendar<any>, "mc-calendar", ["mcCalendar"], { "startAt": "startAt"; "selected": "selected"; "minDate": "minDate"; "maxDate": "maxDate"; "headerComponent": "headerComponent"; "startView": "startView"; "dateFilter": "dateFilter"; "dateClass": "dateClass"; }, { "selectedChange": "selectedChange"; "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "userSelection": "userSelection"; }, never, never>;
|
121
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McCalendar<any>, "mc-calendar", ["mcCalendar"], { "startAt": "startAt"; "selected": "selected"; "minDate": "minDate"; "maxDate": "maxDate"; "headerComponent": "headerComponent"; "startView": "startView"; "dateFilter": "dateFilter"; "dateClass": "dateClass"; }, { "selectedChange": "selectedChange"; "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "userSelection": "userSelection"; }, never, never, false>;
|
122
|
+
}
|
123
|
+
/** Default header for McCalendar */
|
124
|
+
export declare class McCalendarHeader<D> {
|
125
|
+
private readonly intl;
|
126
|
+
calendar: McCalendar<D>;
|
127
|
+
private readonly dateAdapter;
|
128
|
+
private readonly dateFormats;
|
129
|
+
constructor(intl: McDatepickerIntl, calendar: McCalendar<D>, dateAdapter: DateAdapter<D>, dateFormats: McDateFormats, changeDetectorRef: ChangeDetectorRef);
|
130
|
+
/** The label for the current calendar view. */
|
131
|
+
get periodButtonText(): string;
|
132
|
+
get periodButtonLabel(): string;
|
133
|
+
/** The label for the previous button. */
|
134
|
+
get prevButtonLabel(): string;
|
135
|
+
/** The label for the next button. */
|
136
|
+
get nextButtonLabel(): string;
|
137
|
+
/** Handles user clicks on the period label. */
|
138
|
+
currentPeriodClicked(): void;
|
139
|
+
/** Handles user clicks on the previous button. */
|
140
|
+
previousClicked(): void;
|
141
|
+
/** Handles user clicks on the next button. */
|
142
|
+
nextClicked(): void;
|
143
|
+
/** Whether the previous period button is enabled. */
|
144
|
+
previousEnabled(): boolean;
|
145
|
+
/** Whether the next period button is enabled. */
|
146
|
+
nextEnabled(): boolean;
|
147
|
+
/** Whether the two dates represent the same view in the current view mode (month or year). */
|
148
|
+
private isSameView;
|
149
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McCalendarHeader<any>, [null, null, { optional: true; }, { optional: true; }, null]>;
|
150
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McCalendarHeader<any>, "mc-calendar-header", ["mcCalendarHeader"], {}, {}, never, never, false>;
|
151
151
|
}
|