@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
package/form-field/cleaner.d.ts
CHANGED
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
3
3
|
export declare class McCleaner {
|
4
4
|
themePalette: typeof ThemePalette;
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<McCleaner, never>;
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McCleaner, "mc-cleaner", ["mcCleaner"], {}, {}, never, never>;
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McCleaner, "mc-cleaner", ["mcCleaner"], {}, {}, never, never, false>;
|
7
7
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
2
|
-
import { AfterContentChecked, AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, QueryList } from '@angular/core';
|
2
|
+
import { AfterContentChecked, AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, InjectionToken, OnDestroy, QueryList } from '@angular/core';
|
3
3
|
import { NgControl } from '@angular/forms';
|
4
4
|
import { CanColor, CanColorCtor } from '@ptsecurity/mosaic/core';
|
5
5
|
import { McCleaner } from './cleaner';
|
@@ -10,13 +10,19 @@ import { McPrefix } from './prefix';
|
|
10
10
|
import { McStepper } from './stepper';
|
11
11
|
import { McSuffix } from './suffix';
|
12
12
|
import * as i0 from "@angular/core";
|
13
|
+
/**
|
14
|
+
* Injection token that can be used to inject an instances of `MatFormField`. It serves
|
15
|
+
* as alternative token to the actual `MatFormField` class which would cause unnecessary
|
16
|
+
* retention of the `MatFormField` class and its component metadata.
|
17
|
+
*/
|
18
|
+
export declare const MC_FORM_FIELD: InjectionToken<McFormField>;
|
13
19
|
export declare class McFormFieldBase {
|
14
|
-
|
15
|
-
constructor(
|
20
|
+
elementRef: ElementRef;
|
21
|
+
constructor(elementRef: ElementRef);
|
16
22
|
}
|
17
23
|
export declare const McFormFieldMixinBase: CanColorCtor & typeof McFormFieldBase;
|
18
24
|
export declare class McFormField extends McFormFieldMixinBase implements AfterContentInit, AfterContentChecked, AfterViewInit, CanColor, OnDestroy {
|
19
|
-
|
25
|
+
elementRef: ElementRef;
|
20
26
|
private _changeDetectorRef;
|
21
27
|
private focusMonitor;
|
22
28
|
control: McFormFieldControl<any>;
|
@@ -40,7 +46,7 @@ export declare class McFormField extends McFormFieldMixinBase implements AfterCo
|
|
40
46
|
get canShowCleaner(): boolean;
|
41
47
|
get disabled(): boolean;
|
42
48
|
get canShowStepper(): boolean;
|
43
|
-
constructor(
|
49
|
+
constructor(elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, focusMonitor: FocusMonitor);
|
44
50
|
ngAfterContentInit(): void;
|
45
51
|
ngAfterContentChecked(): void;
|
46
52
|
ngAfterViewInit(): void;
|
@@ -61,9 +67,9 @@ export declare class McFormField extends McFormFieldMixinBase implements AfterCo
|
|
61
67
|
/** Throws an error if the form field's control is missing. */
|
62
68
|
protected validateControlChild(): void;
|
63
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<McFormField, never>;
|
64
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McFormField, "mc-form-field", ["mcFormField"], { "color": "color"; }, {}, ["control", "stepper", "cleaner", "hint", "passwordHints", "suffix", "prefix"], ["[mcPrefix]", "*", "[mcSuffix]", "mc-cleaner", "mc-password-toggle", "mc-stepper", "mc-hint, mc-password-hint"]>;
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McFormField, "mc-form-field", ["mcFormField"], { "color": "color"; }, {}, ["control", "stepper", "cleaner", "hint", "passwordHints", "suffix", "prefix"], ["[mcPrefix]", "*", "[mcSuffix]", "mc-cleaner", "mc-password-toggle", "mc-stepper", "mc-hint, mc-password-hint"], false>;
|
65
71
|
}
|
66
72
|
export declare class McFormFieldWithoutBorders {
|
67
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<McFormFieldWithoutBorders, never>;
|
68
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McFormFieldWithoutBorders, "mc-form-field[mcFormFieldWithoutBorders]", ["mcFormFieldWithoutBorders"], {}, {}, never>;
|
74
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McFormFieldWithoutBorders, "mc-form-field[mcFormFieldWithoutBorders]", ["mcFormFieldWithoutBorders"], {}, {}, never, never, false>;
|
69
75
|
}
|
@@ -6,10 +6,11 @@ import * as i4 from "./prefix";
|
|
6
6
|
import * as i5 from "./suffix";
|
7
7
|
import * as i6 from "./cleaner";
|
8
8
|
import * as i7 from "./stepper";
|
9
|
-
import * as i8 from "
|
10
|
-
import * as i9 from "@
|
9
|
+
import * as i8 from "./validate.directive";
|
10
|
+
import * as i9 from "@angular/common";
|
11
|
+
import * as i10 from "@ptsecurity/mosaic/icon";
|
11
12
|
export declare class McFormFieldModule {
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<McFormFieldModule, never>;
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<McFormFieldModule, [typeof i1.McFormField, typeof i1.McFormFieldWithoutBorders, typeof i2.McHint, typeof i3.McPasswordHint, typeof i4.McPrefix, typeof i5.McSuffix, typeof i6.McCleaner, typeof i7.McStepper], [typeof
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McFormFieldModule, [typeof i1.McFormField, typeof i1.McFormFieldWithoutBorders, typeof i2.McHint, typeof i3.McPasswordHint, typeof i4.McPrefix, typeof i5.McSuffix, typeof i6.McCleaner, typeof i7.McStepper, typeof i8.McValidateDirective], [typeof i9.CommonModule, typeof i10.McIconModule], [typeof i1.McFormField, typeof i1.McFormFieldWithoutBorders, typeof i2.McHint, typeof i3.McPasswordHint, typeof i4.McPrefix, typeof i5.McSuffix, typeof i6.McCleaner, typeof i7.McStepper, typeof i8.McValidateDirective]>;
|
14
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<McFormFieldModule>;
|
15
16
|
}
|
package/form-field/hint.d.ts
CHANGED
@@ -2,13 +2,13 @@ import { ElementRef } from '@angular/core';
|
|
2
2
|
import { CanColorCtor } from '@ptsecurity/mosaic/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class McHintBase {
|
5
|
-
|
6
|
-
constructor(
|
5
|
+
elementRef: ElementRef;
|
6
|
+
constructor(elementRef: ElementRef);
|
7
7
|
}
|
8
8
|
export declare const McHintMixinBase: CanColorCtor & typeof McHintBase;
|
9
9
|
export declare class McHint extends McHintMixinBase {
|
10
10
|
id: string;
|
11
11
|
constructor(elementRef: ElementRef);
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<McHint, never>;
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McHint, "mc-hint", never, { "color": "color"; "id": "id"; }, {}, never>;
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McHint, "mc-hint", never, { "color": "color"; "id": "id"; }, {}, never, never, false>;
|
14
14
|
}
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { AfterContentInit, ChangeDetectorRef } from '@angular/core';
|
2
|
-
import { McFormField } from './form-field';
|
3
2
|
import * as i0 from "@angular/core";
|
4
3
|
export declare enum PasswordRules {
|
5
4
|
Length = 0,
|
@@ -28,7 +27,7 @@ export declare class McPasswordHint implements AfterContentInit {
|
|
28
27
|
private checkRule;
|
29
28
|
private get control();
|
30
29
|
private lastControlValue;
|
31
|
-
constructor(changeDetectorRef: ChangeDetectorRef, formField:
|
30
|
+
constructor(changeDetectorRef: ChangeDetectorRef, formField: any);
|
32
31
|
ngAfterContentInit(): void;
|
33
32
|
private checkValue;
|
34
33
|
private checkLengthRule;
|
@@ -36,5 +35,5 @@ export declare class McPasswordHint implements AfterContentInit {
|
|
36
35
|
private checkSpecialSymbolsRegexRule;
|
37
36
|
private isValueChanged;
|
38
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<McPasswordHint, never>;
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McPasswordHint, "mc-password-hint", never, { "id": "id"; "rule": "rule"; "min": "min"; "max": "max"; "regex": "regex"; }, {}, never, ["*"]>;
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McPasswordHint, "mc-password-hint", never, { "id": "id"; "rule": "rule"; "min": "min"; "max": "max"; "regex": "regex"; }, {}, never, ["*"], false>;
|
40
39
|
}
|
package/form-field/prefix.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
export declare class McPrefix {
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<McPrefix, never>;
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McPrefix, "[mcPrefix]", never, {}, {}, never>;
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McPrefix, "[mcPrefix]", never, {}, {}, never, never, false>;
|
5
5
|
}
|
package/form-field/stepper.d.ts
CHANGED
@@ -7,5 +7,5 @@ export declare class McStepper {
|
|
7
7
|
onStepUp($event: MouseEvent): void;
|
8
8
|
onStepDown($event: MouseEvent): void;
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<McStepper, never>;
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McStepper, "mc-stepper", never, {}, { "stepUp": "stepUp"; "stepDown": "stepDown"; }, never, never>;
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McStepper, "mc-stepper", never, {}, { "stepUp": "stepUp"; "stepDown": "stepDown"; }, never, never, false>;
|
11
11
|
}
|
package/form-field/suffix.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
export declare class McSuffix {
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<McSuffix, never>;
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McSuffix, "[mcSuffix]", never, {}, {}, never>;
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McSuffix, "[mcSuffix]", never, {}, {}, never, never, false>;
|
5
5
|
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { AfterContentInit, ChangeDetectorRef } from '@angular/core';
|
2
|
+
import { AbstractControl, FormGroupDirective, NgControl, NgForm, Validator, ValidatorFn } from '@angular/forms';
|
3
|
+
import { McValidationOptions } from '@ptsecurity/mosaic/core';
|
4
|
+
import { McFormFieldControl } from './form-field-control';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class McValidateDirective implements AfterContentInit {
|
7
|
+
private formFieldControl;
|
8
|
+
rawValidators: Validator[];
|
9
|
+
private ngControl;
|
10
|
+
private parentForm;
|
11
|
+
private parentFormGroup;
|
12
|
+
private mcValidation;
|
13
|
+
private cdr;
|
14
|
+
get isNgModel(): boolean;
|
15
|
+
get isFormControl(): boolean;
|
16
|
+
get validationControl(): any;
|
17
|
+
get parent(): NgForm;
|
18
|
+
get hasNotSubmittedParent(): boolean;
|
19
|
+
constructor(formFieldControl: McFormFieldControl<any>, rawValidators: Validator[], ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, mcValidation: McValidationOptions, cdr: ChangeDetectorRef);
|
20
|
+
ngAfterContentInit(): void;
|
21
|
+
setValidState(control: AbstractControl, validator: ValidatorFn): void;
|
22
|
+
/** This function do next:
|
23
|
+
* - run validation on submitting parent form
|
24
|
+
* - prevent validation in required validator if form doesn't submitted
|
25
|
+
* - if control has focus validation will be prevented
|
26
|
+
*/
|
27
|
+
setMosaicValidation(): void;
|
28
|
+
setMosaicValidationForModelControl(): void;
|
29
|
+
setMosaicValidationForFormControl(): void;
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McValidateDirective, [null, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; }, { optional: true; }, null]>;
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McValidateDirective, " input[mcInput], input[mcInputPassword], input[mcTimepicker], input[mcDatepicker], mc-select, mc-tag-list, textarea[mcTextarea], mc-tree-select ", ["McValidate"], {}, {}, never, never, false>;
|
32
|
+
}
|
package/icon/icon.component.d.ts
CHANGED
@@ -3,16 +3,16 @@ import { CanColor, CanColorCtor } from '@ptsecurity/mosaic/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class McIconCSSStyler {
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<McIconCSSStyler, never>;
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McIconCSSStyler, "[mc-icon]", never, {}, {}, never>;
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McIconCSSStyler, "[mc-icon]", never, {}, {}, never, never, false>;
|
7
7
|
}
|
8
8
|
export declare class McIconBase {
|
9
|
-
|
10
|
-
constructor(
|
9
|
+
elementRef: ElementRef;
|
10
|
+
constructor(elementRef: ElementRef);
|
11
11
|
}
|
12
12
|
export declare const McIconMixinBase: CanColorCtor & typeof McIconBase;
|
13
13
|
export declare class McIcon extends McIconMixinBase implements CanColor {
|
14
14
|
constructor(elementRef: ElementRef, iconName: string);
|
15
15
|
getHostElement(): any;
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<McIcon, [null, { attribute: "mc-icon"; }]>;
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McIcon, "[mc-icon]", never, { "color": "color"; }, {}, never, ["*"]>;
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McIcon, "[mc-icon]", never, { "color": "color"; }, {}, never, ["*"], false>;
|
18
18
|
}
|
@@ -17,7 +17,7 @@ export declare class MinValidator implements Validator, OnChanges {
|
|
17
17
|
registerOnValidatorChange(fn: () => void): void;
|
18
18
|
private createValidator;
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<MinValidator, never>;
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MinValidator, "[min][formControlName],[min][formControl],[min][ngModel]", never, { "min": "min"; }, {}, never>;
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MinValidator, "[min][formControlName],[min][formControl],[min][ngModel]", never, { "min": "min"; }, {}, never, never, false>;
|
21
21
|
}
|
22
22
|
export declare const MAX_VALIDATOR: Provider;
|
23
23
|
/**
|
@@ -35,5 +35,5 @@ export declare class MaxValidator implements Validator, OnChanges {
|
|
35
35
|
registerOnValidatorChange(fn: () => void): void;
|
36
36
|
private createValidator;
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaxValidator, never>;
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MaxValidator, "[max][formControlName],[max][formControl],[max][ngModel]", never, { "max": "max"; }, {}, never>;
|
38
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MaxValidator, "[max][formControlName],[max][formControl],[max][ngModel]", never, { "max": "max"; }, {}, never, never, false>;
|
39
39
|
}
|
package/input/input-number.d.ts
CHANGED
@@ -29,5 +29,5 @@ export declare class McNumberInput {
|
|
29
29
|
stepDown(step: number): void;
|
30
30
|
private viewToModelUpdate;
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<McNumberInput, [null, { optional: true; self: true; }, { attribute: "step"; }, { attribute: "big-step"; }, { attribute: "min"; }, { attribute: "max"; }]>;
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McNumberInput, "input[mcInput][type=\"number\"]", ["mcNumericalInput"], { "bigStep": "bigStep"; "step": "step"; "min": "min"; "max": "max"; }, {}, never>;
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McNumberInput, "input[mcInput][type=\"number\"]", ["mcNumericalInput"], { "bigStep": "bigStep"; "step": "step"; "min": "min"; "max": "max"; }, {}, never, never, false>;
|
33
33
|
}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
2
2
|
import { Directionality } from '@angular/cdk/bidi';
|
3
3
|
import { Overlay, ScrollDispatcher } from '@angular/cdk/overlay';
|
4
|
-
import {
|
5
|
-
import {
|
6
|
-
import { CanUpdateErrorState, ErrorStateMatcher
|
4
|
+
import { DoCheck, ElementRef, NgZone, OnChanges, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
5
|
+
import { FormGroupDirective, NgControl, NgForm } from '@angular/forms';
|
6
|
+
import { CanUpdateErrorState, ErrorStateMatcher } from '@ptsecurity/mosaic/core';
|
7
7
|
import { McFormField, McFormFieldControl } from '@ptsecurity/mosaic/form-field';
|
8
8
|
import { McTooltipTrigger } from '@ptsecurity/mosaic/tooltip';
|
9
9
|
import { Subject } from 'rxjs';
|
@@ -28,15 +28,10 @@ export declare class McPasswordToggle extends McTooltipTrigger implements OnDest
|
|
28
28
|
private runFocusMonitor;
|
29
29
|
private stopFocusMonitor;
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<McPasswordToggle, [null, null, null, null, null, null, { optional: true; }, null, null]>;
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McPasswordToggle, "mc-password-toggle", ["mcPasswordToggle"], { "content": "mcTooltipNotHidden"; "mcTooltipHidden": "mcTooltipHidden"; "disabled": "disabled"; "tabIndex": "tabIndex"; }, {}, never, ["*"]>;
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McPasswordToggle, "mc-password-toggle", ["mcPasswordToggle"], { "content": "mcTooltipNotHidden"; "mcTooltipHidden": "mcTooltipHidden"; "disabled": "disabled"; "tabIndex": "tabIndex"; }, {}, never, ["*"], false>;
|
32
32
|
}
|
33
|
-
export declare class McInputPassword extends McInputMixinBase implements McFormFieldControl<any>, OnChanges, OnDestroy, DoCheck, CanUpdateErrorState,
|
33
|
+
export declare class McInputPassword extends McInputMixinBase implements McFormFieldControl<any>, OnChanges, OnDestroy, DoCheck, CanUpdateErrorState, OnChanges {
|
34
34
|
protected elementRef: ElementRef;
|
35
|
-
rawValidators: Validator[];
|
36
|
-
private mcValidation;
|
37
|
-
ngModel: NgModel;
|
38
|
-
formControlName: FormControlName;
|
39
|
-
private changeDetectorRef;
|
40
35
|
/** An object used to control when error messages are shown. */
|
41
36
|
errorStateMatcher: ErrorStateMatcher;
|
42
37
|
/**
|
@@ -49,7 +44,7 @@ export declare class McInputPassword extends McInputMixinBase implements McFormF
|
|
49
44
|
* @docs-private
|
50
45
|
*/
|
51
46
|
readonly stateChanges: Subject<any>;
|
52
|
-
readonly checkRule: Subject<
|
47
|
+
readonly checkRule: Subject<void>;
|
53
48
|
/**
|
54
49
|
* Implemented as part of McFormFieldControl.
|
55
50
|
* @docs-private
|
@@ -96,8 +91,7 @@ export declare class McInputPassword extends McInputMixinBase implements McFormF
|
|
96
91
|
*/
|
97
92
|
get empty(): boolean;
|
98
93
|
private _inputValueAccessor;
|
99
|
-
constructor(elementRef: ElementRef,
|
100
|
-
ngAfterContentInit(): void;
|
94
|
+
constructor(elementRef: ElementRef, ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, inputValueAccessor: any);
|
101
95
|
ngOnChanges(): void;
|
102
96
|
ngOnDestroy(): void;
|
103
97
|
ngDoCheck(): void;
|
@@ -118,6 +112,6 @@ export declare class McInputPassword extends McInputMixinBase implements McFormF
|
|
118
112
|
protected dirtyCheckNativeValue(): void;
|
119
113
|
/** Checks whether the input is invalid based on the native validation. */
|
120
114
|
protected isBadInput(): boolean;
|
121
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<McInputPassword, [null, { optional: true; self: true; }, { optional: true; }, { optional: true;
|
122
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McInputPassword, "input[mcInputPassword]", ["mcInputPassword"], { "errorStateMatcher": "errorStateMatcher"; "placeholder": "placeholder"; "disabled": "disabled"; "id": "id"; "required": "required"; "value": "value"; }, {}, never>;
|
115
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McInputPassword, [null, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }]>;
|
116
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McInputPassword, "input[mcInputPassword]", ["mcInputPassword"], { "errorStateMatcher": "errorStateMatcher"; "placeholder": "placeholder"; "disabled": "disabled"; "id": "id"; "required": "required"; "value": "value"; }, {}, never, never, false>;
|
123
117
|
}
|
package/input/input.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import { CanUpdateErrorState, CanUpdateErrorStateCtor, ErrorStateMatcher
|
1
|
+
import { DoCheck, ElementRef, OnChanges, OnDestroy } from '@angular/core';
|
2
|
+
import { FormGroupDirective, NgControl, NgForm } from '@angular/forms';
|
3
|
+
import { CanUpdateErrorState, CanUpdateErrorStateCtor, ErrorStateMatcher } from '@ptsecurity/mosaic/core';
|
4
4
|
import { McFormFieldControl } from '@ptsecurity/mosaic/form-field';
|
5
5
|
import { Subject } from 'rxjs';
|
6
6
|
import { McNumberInput } from './input-number';
|
@@ -10,17 +10,18 @@ export declare class McInputBase {
|
|
10
10
|
parentForm: NgForm;
|
11
11
|
parentFormGroup: FormGroupDirective;
|
12
12
|
ngControl: NgControl;
|
13
|
+
/**
|
14
|
+
* Emits whenever the component state changes and should cause the parent
|
15
|
+
* form-field to update. Implemented as part of `McFormFieldControl`.
|
16
|
+
* @docs-private
|
17
|
+
*/
|
18
|
+
readonly stateChanges: Subject<void>;
|
13
19
|
constructor(defaultErrorStateMatcher: ErrorStateMatcher, parentForm: NgForm, parentFormGroup: FormGroupDirective, ngControl: NgControl);
|
14
20
|
}
|
15
21
|
export declare const McInputMixinBase: CanUpdateErrorStateCtor & typeof McInputBase;
|
16
|
-
export declare class McInput extends McInputMixinBase implements McFormFieldControl<any>, OnChanges, OnDestroy, DoCheck, CanUpdateErrorState,
|
22
|
+
export declare class McInput extends McInputMixinBase implements McFormFieldControl<any>, OnChanges, OnDestroy, DoCheck, CanUpdateErrorState, OnChanges {
|
17
23
|
protected elementRef: ElementRef;
|
18
|
-
rawValidators: Validator[];
|
19
|
-
private mcValidation;
|
20
24
|
numberInput: McNumberInput;
|
21
|
-
ngModel: NgModel;
|
22
|
-
formControlName: FormControlName;
|
23
|
-
private changeDetectorRef;
|
24
25
|
/** An object used to control when error messages are shown. */
|
25
26
|
errorStateMatcher: ErrorStateMatcher;
|
26
27
|
/**
|
@@ -78,8 +79,7 @@ export declare class McInput extends McInputMixinBase implements McFormFieldCont
|
|
78
79
|
get value(): string;
|
79
80
|
set value(value: string);
|
80
81
|
private _inputValueAccessor;
|
81
|
-
constructor(elementRef: ElementRef,
|
82
|
-
ngAfterContentInit(): void;
|
82
|
+
constructor(elementRef: ElementRef, ngControl: NgControl, numberInput: McNumberInput, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, inputValueAccessor: any);
|
83
83
|
ngOnChanges(): void;
|
84
84
|
ngOnDestroy(): void;
|
85
85
|
ngDoCheck(): void;
|
@@ -107,10 +107,10 @@ export declare class McInput extends McInputMixinBase implements McFormFieldCont
|
|
107
107
|
protected isNeverEmpty(): boolean;
|
108
108
|
/** Checks whether the input is invalid based on the native validation. */
|
109
109
|
protected isBadInput(): boolean;
|
110
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<McInput, [null, { optional: true; self: true; }, { optional: true;
|
111
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McInput, "input[mcInput]", ["mcInput"], { "errorStateMatcher": "errorStateMatcher"; "placeholder": "placeholder"; "disabled": "disabled"; "id": "id"; "required": "required"; "type": "type"; "value": "value"; }, {}, never>;
|
110
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McInput, [null, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }]>;
|
111
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McInput, "input[mcInput]", ["mcInput"], { "errorStateMatcher": "errorStateMatcher"; "placeholder": "placeholder"; "disabled": "disabled"; "id": "id"; "required": "required"; "type": "type"; "value": "value"; }, {}, never, never, false>;
|
112
112
|
}
|
113
113
|
export declare class McInputMono {
|
114
114
|
static ɵfac: i0.ɵɵFactoryDeclaration<McInputMono, never>;
|
115
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McInputMono, "input[mcInputMonospace]", ["McInputMonospace"], {}, {}, never>;
|
115
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McInputMono, "input[mcInputMonospace]", ["McInputMonospace"], {}, {}, never, never, false>;
|
116
116
|
}
|
package/link/link.component.d.ts
CHANGED
@@ -34,5 +34,5 @@ export declare class McLink extends McLinkMixinBase implements OnDestroy, HasTab
|
|
34
34
|
focus(): void;
|
35
35
|
getHostElement(): any;
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<McLink, never>;
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McLink, "[mc-link]", ["mcLink"], { "tabIndex": "tabIndex"; "disabled": "disabled"; "pseudo": "pseudo"; "noUnderline": "noUnderline"; "useVisited": "useVisited"; "print": "print"; }, {}, ["icon"]>;
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McLink, "[mc-link]", ["mcLink"], { "tabIndex": "tabIndex"; "disabled": "disabled"; "pseudo": "pseudo"; "noUnderline": "noUnderline"; "useVisited": "useVisited"; "print": "print"; }, {}, ["icon"], never, false>;
|
38
38
|
}
|
@@ -112,7 +112,7 @@ export declare class McListSelection extends McListSelectionMixinBase implements
|
|
112
112
|
private selectAllOptions;
|
113
113
|
private copyActiveOption;
|
114
114
|
static ɵfac: i0.ɵɵFactoryDeclaration<McListSelection, [null, null, { attribute: "multiple"; }, { optional: true; }]>;
|
115
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McListSelection, "mc-list-selection", ["mcListSelection"], { "disabled": "disabled"; "autoSelect": "autoSelect"; "noUnselectLast": "noUnselectLast"; "horizontal": "horizontal"; "tabIndex": "tabIndex"; "compareWith": "compareWith"; }, { "onSelectAll": "onSelectAll"; "onCopy": "onCopy"; "selectionChange": "selectionChange"; }, ["options"], ["*"]>;
|
115
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McListSelection, "mc-list-selection", ["mcListSelection"], { "disabled": "disabled"; "autoSelect": "autoSelect"; "noUnselectLast": "noUnselectLast"; "horizontal": "horizontal"; "tabIndex": "tabIndex"; "compareWith": "compareWith"; }, { "onSelectAll": "onSelectAll"; "onCopy": "onCopy"; "selectionChange": "selectionChange"; }, ["options"], ["*"], false>;
|
116
116
|
}
|
117
117
|
/**
|
118
118
|
* Component for list-options of selection-list. Each list-option can automatically
|
@@ -165,5 +165,5 @@ export declare class McListOption implements OnDestroy, OnInit, IFocusableOption
|
|
165
165
|
blur(): void;
|
166
166
|
getHostElement(): HTMLElement;
|
167
167
|
static ɵfac: i0.ɵɵFactoryDeclaration<McListOption, [null, null, null, null, { optional: true; }]>;
|
168
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McListOption, "mc-list-option", ["mcListOption"], { "checkboxPosition": "checkboxPosition"; "value": "value"; "disabled": "disabled"; "showCheckbox": "showCheckbox"; "selected": "selected"; }, {}, ["actionButton", "tooltipTrigger", "dropdownTrigger"], ["[mc-icon]", "*", "mc-option-action"]>;
|
168
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McListOption, "mc-list-option", ["mcListOption"], { "checkboxPosition": "checkboxPosition"; "value": "value"; "disabled": "disabled"; "showCheckbox": "showCheckbox"; "selected": "selected"; }, {}, ["actionButton", "tooltipTrigger", "dropdownTrigger"], ["[mc-icon]", "*", "mc-option-action"], false>;
|
169
169
|
}
|
package/list/list.component.d.ts
CHANGED
@@ -3,7 +3,7 @@ import { McLine } from '@ptsecurity/mosaic/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class McList {
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<McList, never>;
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McList, "mc-list", never, {}, {}, never, ["*"]>;
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McList, "mc-list", never, {}, {}, never, ["*"], false>;
|
7
7
|
}
|
8
8
|
export declare class McListItem implements AfterContentInit {
|
9
9
|
private elementRef;
|
@@ -14,5 +14,5 @@ export declare class McListItem implements AfterContentInit {
|
|
14
14
|
handleBlur(): void;
|
15
15
|
getHostElement(): HTMLElement;
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<McListItem, never>;
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McListItem, "mc-list-item, a[mc-list-item]", never, {}, {}, ["lines"], ["[mc-list-icon], [mcListIcon]", "[mc-line], [mcLine]", "*"]>;
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McListItem, "mc-list-item, a[mc-list-item]", never, {}, {}, ["lines"], ["[mc-list-icon], [mcListIcon]", "[mc-line], [mcLine]", "*"], false>;
|
18
18
|
}
|
@@ -2,15 +2,15 @@ import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class McLoaderOverlayIndicator {
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<McLoaderOverlayIndicator, never>;
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McLoaderOverlayIndicator, "[mc-loader-overlay-indicator]", never, {}, {}, never>;
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McLoaderOverlayIndicator, "[mc-loader-overlay-indicator]", never, {}, {}, never, never, false>;
|
6
6
|
}
|
7
7
|
export declare class McLoaderOverlayText {
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<McLoaderOverlayText, never>;
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McLoaderOverlayText, "[mc-loader-overlay-text]", never, {}, {}, never>;
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McLoaderOverlayText, "[mc-loader-overlay-text]", never, {}, {}, never, never, false>;
|
10
10
|
}
|
11
11
|
export declare class McLoaderOverlayCaption {
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<McLoaderOverlayCaption, never>;
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McLoaderOverlayCaption, "[mc-loader-overlay-caption]", never, {}, {}, never>;
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McLoaderOverlayCaption, "[mc-loader-overlay-caption]", never, {}, {}, never, never, false>;
|
14
14
|
}
|
15
15
|
export declare class McLoaderOverlay implements OnInit, OnDestroy {
|
16
16
|
private elementRef;
|
@@ -30,5 +30,5 @@ export declare class McLoaderOverlay implements OnInit, OnDestroy {
|
|
30
30
|
ngOnInit(): void;
|
31
31
|
ngOnDestroy(): void;
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<McLoaderOverlay, [null, null, { attribute: "fixed-top"; optional: true; }]>;
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McLoaderOverlay, "mc-loader-overlay", never, { "text": "text"; "caption": "caption"; }, {}, ["externalIndicator", "externalText", "externalCaption"], ["[mc-loader-overlay-indicator]", "[mc-loader-overlay-text]", "[mc-loader-overlay-caption]"]>;
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McLoaderOverlay, "mc-loader-overlay", never, { "text": "text"; "caption": "caption"; }, {}, ["externalIndicator", "externalText", "externalCaption"], ["[mc-loader-overlay-indicator]", "[mc-loader-overlay-text]", "[mc-loader-overlay-caption]"], false>;
|
34
34
|
}
|
package/modal/css-unit.pipe.d.ts
CHANGED
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
3
3
|
export declare class CssUnitPipe implements PipeTransform {
|
4
4
|
transform(value: number | string, defaultUnit?: string): string;
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<CssUnitPipe, never>;
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CssUnitPipe, "toCssUnit">;
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CssUnitPipe, "toCssUnit", false>;
|
7
7
|
}
|
@@ -124,5 +124,5 @@ export declare class McModalComponent<T = any, R = any> extends McModalRef<T, R>
|
|
124
124
|
*/
|
125
125
|
private changeBodyOverflow;
|
126
126
|
static ɵfac: i0.ɵɵFactoryDeclaration<McModalComponent<any, any>, never>;
|
127
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McModalComponent<any, any>, "mc-modal", never, { "mcModalType": "mcModalType"; "mcComponent": "mcComponent"; "mcContent": "mcContent"; "mcComponentParams": "mcComponentParams"; "mcFooter": "mcFooter"; "mcVisible": "mcVisible"; "mcZIndex": "mcZIndex"; "mcWidth": "mcWidth"; "mcSize": "mcSize"; "mcWrapClassName": "mcWrapClassName"; "mcClassName": "mcClassName"; "mcStyle": "mcStyle"; "mcTitle": "mcTitle"; "mcCloseByESC": "mcCloseByESC"; "mcClosable": "mcClosable"; "mcMask": "mcMask"; "mcMaskClosable": "mcMaskClosable"; "mcMaskStyle": "mcMaskStyle"; "mcBodyStyle": "mcBodyStyle"; "mcOkText": "mcOkText"; "mcOkType": "mcOkType"; "mcRestoreFocus": "mcRestoreFocus"; "mcOkLoading": "mcOkLoading"; "mcOnOk": "mcOnOk"; "mcCancelText": "mcCancelText"; "mcCancelLoading": "mcCancelLoading"; "mcOnCancel": "mcOnCancel"; "mcGetContainer": "mcGetContainer"; }, { "mcVisibleChange": "mcVisibleChange"; "mcAfterOpen": "mcAfterOpen"; "mcAfterClose": "mcAfterClose"; "mcOnOk": "mcOnOk"; "mcOnCancel": "mcOnCancel"; }, never, ["*"]>;
|
127
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McModalComponent<any, any>, "mc-modal", never, { "mcModalType": "mcModalType"; "mcComponent": "mcComponent"; "mcContent": "mcContent"; "mcComponentParams": "mcComponentParams"; "mcFooter": "mcFooter"; "mcVisible": "mcVisible"; "mcZIndex": "mcZIndex"; "mcWidth": "mcWidth"; "mcSize": "mcSize"; "mcWrapClassName": "mcWrapClassName"; "mcClassName": "mcClassName"; "mcStyle": "mcStyle"; "mcTitle": "mcTitle"; "mcCloseByESC": "mcCloseByESC"; "mcClosable": "mcClosable"; "mcMask": "mcMask"; "mcMaskClosable": "mcMaskClosable"; "mcMaskStyle": "mcMaskStyle"; "mcBodyStyle": "mcBodyStyle"; "mcOkText": "mcOkText"; "mcOkType": "mcOkType"; "mcRestoreFocus": "mcRestoreFocus"; "mcOkLoading": "mcOkLoading"; "mcOnOk": "mcOnOk"; "mcCancelText": "mcCancelText"; "mcCancelLoading": "mcCancelLoading"; "mcOnCancel": "mcOnCancel"; "mcGetContainer": "mcGetContainer"; }, { "mcVisibleChange": "mcVisibleChange"; "mcAfterOpen": "mcAfterOpen"; "mcAfterClose": "mcAfterClose"; "mcOnOk": "mcOnOk"; "mcOnCancel": "mcOnCancel"; }, never, ["*"], false>;
|
128
128
|
}
|
@@ -1,17 +1,17 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
export declare class McModalTitle {
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<McModalTitle, never>;
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McModalTitle, "[mc-modal-title], mc-modal-title, [mcModalTitle]", never, {}, {}, never>;
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McModalTitle, "[mc-modal-title], mc-modal-title, [mcModalTitle]", never, {}, {}, never, never, false>;
|
5
5
|
}
|
6
6
|
export declare class McModalBody {
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<McModalBody, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McModalBody, "[mc-modal-body], mc-modal-body, [mcModalBody]", never, {}, {}, never>;
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McModalBody, "[mc-modal-body], mc-modal-body, [mcModalBody]", never, {}, {}, never, never, false>;
|
9
9
|
}
|
10
10
|
export declare class McModalFooter {
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<McModalFooter, never>;
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McModalFooter, "[mc-modal-footer], mc-modal-footer, [mcModalFooter]", never, {}, {}, never>;
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McModalFooter, "[mc-modal-footer], mc-modal-footer, [mcModalFooter]", never, {}, {}, never, never, false>;
|
13
13
|
}
|
14
14
|
export declare class McModalMainAction {
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<McModalMainAction, never>;
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McModalMainAction, "[mc-modal-main-action]", never, {}, {}, never>;
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McModalMainAction, "[mc-modal-main-action]", never, {}, {}, never, never, false>;
|
17
17
|
}
|
@@ -16,11 +16,11 @@ export interface McNavbarFocusableItemEvent {
|
|
16
16
|
export declare class McNavbarLogo {
|
17
17
|
readonly hovered: Subject<boolean>;
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarLogo, never>;
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarLogo, "mc-navbar-logo, [mc-navbar-logo]", never, {}, {}, never>;
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarLogo, "mc-navbar-logo, [mc-navbar-logo]", never, {}, {}, never, never, false>;
|
20
20
|
}
|
21
21
|
export declare class McNavbarBento {
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarBento, never>;
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarBento, "mc-navbar-item[bento], [mc-navbar-item][bento]", never, {}, {}, never>;
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarBento, "mc-navbar-item[bento], [mc-navbar-item][bento]", never, {}, {}, never, never, false>;
|
24
24
|
}
|
25
25
|
export declare class McNavbarTitle implements AfterViewInit {
|
26
26
|
private elementRef;
|
@@ -34,7 +34,7 @@ export declare class McNavbarTitle implements AfterViewInit {
|
|
34
34
|
checkTextOverflown(): void;
|
35
35
|
ngAfterViewInit(): void;
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarTitle, never>;
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarTitle, "mc-navbar-title, [mc-navbar-title]", never, {}, {}, never>;
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarTitle, "mc-navbar-title, [mc-navbar-title]", never, {}, {}, never, never, false>;
|
38
38
|
}
|
39
39
|
export declare class McNavbarSubTitle implements AfterContentInit {
|
40
40
|
private elementRef;
|
@@ -46,7 +46,7 @@ export declare class McNavbarSubTitle implements AfterContentInit {
|
|
46
46
|
getOuterElementWidth(): number;
|
47
47
|
ngAfterContentInit(): void;
|
48
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarSubTitle, never>;
|
49
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarSubTitle, "mc-navbar-subtitle, [mc-navbar-subtitle]", never, {}, {}, never>;
|
49
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarSubTitle, "mc-navbar-subtitle, [mc-navbar-subtitle]", never, {}, {}, never, never, false>;
|
50
50
|
}
|
51
51
|
export declare class McNavbarBrand implements AfterContentInit, OnDestroy {
|
52
52
|
private navbar;
|
@@ -59,11 +59,11 @@ export declare class McNavbarBrand implements AfterContentInit, OnDestroy {
|
|
59
59
|
ngAfterContentInit(): void;
|
60
60
|
ngOnDestroy(): void;
|
61
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarBrand, [{ optional: true; }]>;
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McNavbarBrand, "mc-navbar-brand, [mc-navbar-brand]", ["mcNavbarBrand"], {}, {}, ["logo", "title"], ["*"]>;
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McNavbarBrand, "mc-navbar-brand, [mc-navbar-brand]", ["mcNavbarBrand"], {}, {}, ["logo", "title"], ["*"], false>;
|
63
63
|
}
|
64
64
|
export declare class McNavbarDivider {
|
65
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarDivider, never>;
|
66
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarDivider, "mc-navbar-divider", never, {}, {}, never>;
|
66
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarDivider, "mc-navbar-divider", never, {}, {}, never, never, false>;
|
67
67
|
}
|
68
68
|
export declare class McNavbarFocusableItem implements IFocusableOption, AfterContentInit, OnDestroy {
|
69
69
|
private elementRef;
|
@@ -88,11 +88,11 @@ export declare class McNavbarFocusableItem implements IFocusableOption, AfterCon
|
|
88
88
|
ngOnDestroy(): void;
|
89
89
|
setTooltip(value: McTooltipTrigger): void;
|
90
90
|
onFocusHandler(): void;
|
91
|
-
focus(origin?: FocusOrigin):
|
91
|
+
focus(origin?: FocusOrigin): void;
|
92
92
|
blur(): void;
|
93
93
|
getLabel(): string;
|
94
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarFocusableItem, never>;
|
95
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarFocusableItem, "mc-navbar-item, [mc-navbar-item], mc-navbar-brand, [mc-navbar-brand], mc-navbar-toggle", never, { "disabled": "disabled"; }, {}, ["title", "button"]>;
|
95
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarFocusableItem, "mc-navbar-item, [mc-navbar-item], mc-navbar-brand, [mc-navbar-brand], mc-navbar-toggle", never, { "disabled": "disabled"; }, {}, ["title", "button"], never, false>;
|
96
96
|
}
|
97
97
|
export declare class McNavbarRectangleElement {
|
98
98
|
elementRef: ElementRef;
|
@@ -110,7 +110,7 @@ export declare class McNavbarRectangleElement {
|
|
110
110
|
constructor(elementRef: ElementRef);
|
111
111
|
getOuterElementWidth(): number;
|
112
112
|
static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarRectangleElement, never>;
|
113
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarRectangleElement, "mc-navbar-item, [mc-navbar-item], mc-navbar-divider, mc-navbar-brand, [mc-navbar-brand]", never, {}, {}, ["button"]>;
|
113
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarRectangleElement, "mc-navbar-item, [mc-navbar-item], mc-navbar-divider, mc-navbar-brand, [mc-navbar-brand]", never, {}, {}, ["button"], never, false>;
|
114
114
|
}
|
115
115
|
export declare class McNavbarItem extends McTooltipTrigger {
|
116
116
|
rectangleElement: McNavbarRectangleElement;
|
@@ -145,7 +145,7 @@ export declare class McNavbarItem extends McTooltipTrigger {
|
|
145
145
|
getTitleWidth(): number;
|
146
146
|
onKeyDown($event: KeyboardEvent): void;
|
147
147
|
static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarItem, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
148
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McNavbarItem, "mc-navbar-item, [mc-navbar-item]", ["mcNavbarItem"], { "collapsedText": "collapsedText"; "trigger": "mcTrigger"; "collapsed": "collapsed"; "collapsable": "collapsable"; }, {}, ["title", "subTitle", "icon"], ["[mc-icon]", "mc-navbar-title, [mc-navbar-title]", "mc-navbar-subtitle, [mc-navbar-subtitle]", "*"]>;
|
148
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McNavbarItem, "mc-navbar-item, [mc-navbar-item]", ["mcNavbarItem"], { "collapsedText": "collapsedText"; "trigger": "mcTrigger"; "collapsed": "collapsed"; "collapsable": "collapsable"; }, {}, ["title", "subTitle", "icon"], ["[mc-icon]", "mc-navbar-title, [mc-navbar-title]", "mc-navbar-subtitle, [mc-navbar-subtitle]", "*"], false>;
|
149
149
|
}
|
150
150
|
export declare class McNavbarToggle extends McTooltipTrigger implements OnDestroy {
|
151
151
|
navbar: McVerticalNavbar;
|
@@ -163,5 +163,5 @@ export declare class McNavbarToggle extends McTooltipTrigger implements OnDestro
|
|
163
163
|
private getWindow;
|
164
164
|
private windowToggleHandler;
|
165
165
|
static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarToggle, [null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
166
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McNavbarToggle, "mc-navbar-toggle", never, { "content": "mcCollapsedTooltip"; }, {}, ["customIcon"], ["[mc-icon]", "mc-navbar-title"]>;
|
166
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McNavbarToggle, "mc-navbar-toggle", never, { "content": "mcCollapsedTooltip"; }, {}, ["customIcon"], ["[mc-icon]", "mc-navbar-title"], false>;
|
167
167
|
}
|
@@ -28,11 +28,11 @@ export declare class McFocusableComponent implements AfterContentInit, OnDestroy
|
|
28
28
|
private isValidIndex;
|
29
29
|
private hasFocusedItem;
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<McFocusableComponent, never>;
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McFocusableComponent, never, never, { "tabIndex": "tabIndex"; }, {}, ["focusableItems"]>;
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McFocusableComponent, never, never, { "tabIndex": "tabIndex"; }, {}, ["focusableItems"], never, false>;
|
32
32
|
}
|
33
33
|
export declare class McNavbarContainer {
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarContainer, never>;
|
35
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarContainer, "mc-navbar-container", never, {}, {}, never>;
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarContainer, "mc-navbar-container", never, {}, {}, never, never, false>;
|
36
36
|
}
|
37
37
|
export declare class McNavbar extends McFocusableComponent implements AfterViewInit, AfterContentInit, OnDestroy {
|
38
38
|
private elementRef;
|
@@ -54,5 +54,5 @@ export declare class McNavbar extends McFocusableComponent implements AfterViewI
|
|
54
54
|
private expandItems;
|
55
55
|
private setItemsState;
|
56
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<McNavbar, never>;
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McNavbar, "mc-navbar", never, {}, {}, ["rectangleElements", "navbarItems"], ["[mc-navbar-container], mc-navbar-container"]>;
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McNavbar, "mc-navbar", never, {}, {}, ["rectangleElements", "navbarItems"], ["[mc-navbar-container], mc-navbar-container"], false>;
|
58
58
|
}
|
@@ -19,5 +19,5 @@ export declare class McVerticalNavbar extends McFocusableComponent implements Af
|
|
19
19
|
private updateTooltipForItems;
|
20
20
|
private setItemsState;
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<McVerticalNavbar, never>;
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McVerticalNavbar, "mc-vertical-navbar", ["McVerticalNavbar"], { "expanded": "expanded"; }, {}, ["bento", "rectangleElements", "items"], ["[mc-navbar-container], mc-navbar-container", "[mc-navbar-toggle], mc-navbar-toggle"]>;
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McVerticalNavbar, "mc-vertical-navbar", ["McVerticalNavbar"], { "expanded": "expanded"; }, {}, ["bento", "rectangleElements", "items"], ["[mc-navbar-container], mc-navbar-container", "[mc-navbar-toggle], mc-navbar-toggle"], false>;
|
23
23
|
}
|