@ptsecurity/mosaic 13.1.0 → 13.3.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 +466 -168
- package/_visual.scss +419 -239
- package/button/button.component.d.ts +1 -1
- package/core/option/option.d.ts +1 -0
- package/core/pop-up/pop-up.d.ts +1 -0
- package/core/validation/validation.d.ts +3 -3
- package/design-tokens/legacy-2017/tokens.d.ts +155 -56
- package/design-tokens/pt-2022/tokens.d.ts +151 -52
- package/dl/README.md +0 -0
- package/dl/dl.component.d.ts +26 -0
- package/dl/dl.module.d.ts +10 -0
- package/dl/index.d.ts +1 -0
- package/dl/package.json +10 -0
- package/dl/ptsecurity-mosaic-dl.d.ts +5 -0
- package/dl/public-api.d.ts +2 -0
- package/esm2020/autocomplete/autocomplete-origin.directive.mjs +3 -3
- package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +3 -3
- package/esm2020/autocomplete/autocomplete.component.mjs +5 -5
- package/esm2020/autocomplete/autocomplete.module.mjs +4 -4
- package/esm2020/button/button.component.mjs +29 -21
- package/esm2020/button/button.module.mjs +4 -4
- package/esm2020/button-toggle/button-toggle.component.mjs +8 -8
- package/esm2020/button-toggle/button-toggle.module.mjs +4 -4
- package/esm2020/card/card.component.mjs +4 -4
- package/esm2020/card/card.module.mjs +4 -4
- package/esm2020/checkbox/checkbox-module.mjs +4 -4
- package/esm2020/checkbox/checkbox-required-validator.mjs +3 -3
- package/esm2020/checkbox/checkbox.mjs +4 -4
- package/esm2020/core/common-behaviors/common-module.mjs +4 -4
- package/esm2020/core/error/error-options.mjs +6 -6
- package/esm2020/core/formatters/date/formatter.mjs +3 -3
- package/esm2020/core/formatters/index.mjs +4 -4
- package/esm2020/core/formatters/number/formatter.mjs +4 -4
- package/esm2020/core/forms/forms-module.mjs +4 -4
- package/esm2020/core/forms/forms.directive.mjs +6 -6
- package/esm2020/core/highlight/highlight.pipe.mjs +3 -3
- package/esm2020/core/highlight/index.mjs +4 -4
- package/esm2020/core/line/line.mjs +7 -7
- package/esm2020/core/option/action.mjs +3 -3
- package/esm2020/core/option/optgroup.mjs +4 -4
- package/esm2020/core/option/option-module.mjs +4 -4
- package/esm2020/core/option/option.mjs +10 -7
- package/esm2020/core/pop-up/pop-up-trigger.mjs +7 -12
- package/esm2020/core/pop-up/pop-up.mjs +7 -4
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
- package/esm2020/core/services/measure-scrollbar.service.mjs +3 -3
- package/esm2020/core/validation/validation.mjs +10 -5
- package/esm2020/datepicker/calendar-body.component.mjs +4 -4
- package/esm2020/datepicker/calendar.component.mjs +7 -7
- package/esm2020/datepicker/datepicker-input.directive.mjs +3 -3
- package/esm2020/datepicker/datepicker-intl.mjs +3 -3
- package/esm2020/datepicker/datepicker-module.mjs +4 -4
- package/esm2020/datepicker/datepicker-toggle.component.mjs +7 -7
- package/esm2020/datepicker/datepicker.component.mjs +8 -8
- package/esm2020/datepicker/month-view.component.mjs +3 -3
- package/esm2020/datepicker/multi-year-view.component.mjs +3 -3
- package/esm2020/datepicker/year-view.component.mjs +3 -3
- package/esm2020/design-tokens/legacy-2017/tokens.mjs +156 -57
- package/esm2020/design-tokens/pt-2022/tokens.mjs +152 -53
- package/esm2020/divider/divider.component.mjs +4 -4
- package/esm2020/divider/divider.module.mjs +4 -4
- package/esm2020/dl/dl.component.mjs +78 -0
- package/esm2020/dl/dl.module.mjs +42 -0
- package/esm2020/dl/index.mjs +2 -0
- package/esm2020/dl/ptsecurity-mosaic-dl.mjs +5 -0
- package/esm2020/dl/public-api.mjs +3 -0
- package/esm2020/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2020/dropdown/dropdown-item.component.mjs +5 -5
- package/esm2020/dropdown/dropdown-trigger.directive.mjs +3 -3
- package/esm2020/dropdown/dropdown.component.mjs +6 -6
- package/esm2020/dropdown/dropdown.module.mjs +4 -4
- package/esm2020/form-field/cleaner.mjs +3 -3
- package/esm2020/form-field/form-field.mjs +48 -28
- package/esm2020/form-field/form-field.module.mjs +10 -5
- package/esm2020/form-field/hint.mjs +6 -6
- package/esm2020/form-field/password-hint.mjs +134 -0
- package/esm2020/form-field/prefix.mjs +3 -3
- package/esm2020/form-field/public-api.mjs +2 -1
- package/esm2020/form-field/stepper.mjs +3 -3
- package/esm2020/form-field/suffix.mjs +3 -3
- package/esm2020/icon/icon.component.mjs +6 -6
- package/esm2020/icon/icon.module.mjs +4 -4
- package/esm2020/input/input-number-validators.mjs +6 -6
- package/esm2020/input/input-number.mjs +3 -3
- package/esm2020/input/input-password.mjs +368 -0
- package/esm2020/input/input.mjs +12 -11
- package/esm2020/input/input.module.mjs +50 -8
- package/esm2020/input/public-api.mjs +2 -1
- package/esm2020/link/link.component.mjs +3 -3
- package/esm2020/link/link.module.mjs +4 -4
- package/esm2020/list/list-selection.component.mjs +11 -11
- package/esm2020/list/list.component.mjs +7 -7
- package/esm2020/list/list.module.mjs +4 -4
- package/esm2020/modal/css-unit.pipe.mjs +3 -3
- package/esm2020/modal/modal-control.service.mjs +3 -3
- package/esm2020/modal/modal.component.mjs +4 -4
- package/esm2020/modal/modal.directive.mjs +12 -12
- package/esm2020/modal/modal.module.mjs +4 -4
- package/esm2020/modal/modal.service.mjs +3 -3
- package/esm2020/navbar/navbar-item.component.mjs +86 -79
- package/esm2020/navbar/navbar.component.mjs +10 -10
- package/esm2020/navbar/navbar.module.mjs +4 -4
- package/esm2020/navbar/vertical-navbar.component.mjs +6 -6
- package/esm2020/popover/popover-confirm.component.mjs +8 -8
- package/esm2020/popover/popover.component.mjs +8 -8
- package/esm2020/popover/popover.module.mjs +4 -4
- package/esm2020/progress-bar/progress-bar.component.mjs +4 -4
- package/esm2020/progress-bar/progress-bar.module.mjs +4 -4
- package/esm2020/progress-spinner/progress-spinner.component.mjs +4 -4
- package/esm2020/progress-spinner/progress-spinner.module.mjs +4 -4
- package/esm2020/radio/radio.component.mjs +7 -7
- package/esm2020/radio/radio.module.mjs +4 -4
- package/esm2020/select/public-api.mjs +2 -1
- package/esm2020/select/select-option.directive.mjs +65 -0
- package/esm2020/select/select.component.mjs +16 -16
- package/esm2020/select/select.module.mjs +19 -10
- package/esm2020/sidebar/sidebar.component.mjs +9 -9
- package/esm2020/sidebar/sidebar.module.mjs +4 -4
- package/esm2020/sidepanel/sidepanel-container.component.mjs +5 -5
- package/esm2020/sidepanel/sidepanel-directives.mjs +18 -18
- package/esm2020/sidepanel/sidepanel.module.mjs +4 -4
- package/esm2020/sidepanel/sidepanel.service.mjs +3 -3
- package/esm2020/splitter/splitter.component.mjs +22 -20
- package/esm2020/splitter/splitter.module.mjs +4 -4
- package/esm2020/table/table.component.mjs +3 -3
- package/esm2020/table/table.module.mjs +4 -4
- package/esm2020/tabs/paginated-tab-header.mjs +3 -3
- package/esm2020/tabs/tab-body.component.mjs +6 -6
- package/esm2020/tabs/tab-content.directive.mjs +3 -3
- package/esm2020/tabs/tab-group.component.mjs +20 -20
- package/esm2020/tabs/tab-header.component.mjs +4 -4
- package/esm2020/tabs/tab-label-wrapper.directive.mjs +3 -3
- package/esm2020/tabs/tab-label.directive.mjs +3 -3
- package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +9 -9
- package/esm2020/tabs/tab.component.mjs +3 -3
- package/esm2020/tabs/tabs.module.mjs +4 -4
- package/esm2020/tags/tag-input.mjs +3 -3
- package/esm2020/tags/tag-list.component.mjs +6 -6
- package/esm2020/tags/tag.component.mjs +60 -60
- package/esm2020/tags/tag.module.mjs +4 -4
- package/esm2020/textarea/textarea.component.mjs +9 -8
- package/esm2020/textarea/textarea.module.mjs +4 -4
- package/esm2020/timepicker/timepicker.directive.mjs +3 -3
- package/esm2020/timepicker/timepicker.module.mjs +4 -4
- package/esm2020/toggle/toggle.component.mjs +6 -6
- package/esm2020/toggle/toggle.module.mjs +4 -4
- package/esm2020/tooltip/tooltip.component.mjs +18 -14
- package/esm2020/tooltip/tooltip.module.mjs +4 -4
- package/esm2020/tree/node.mjs +3 -3
- package/esm2020/tree/outlet.mjs +3 -3
- package/esm2020/tree/padding.directive.mjs +12 -9
- package/esm2020/tree/toggle.mjs +10 -10
- package/esm2020/tree/tree-base.mjs +6 -6
- package/esm2020/tree/tree-option.component.mjs +9 -9
- package/esm2020/tree/tree-selection.component.mjs +8 -6
- package/esm2020/tree/tree.mjs +3 -3
- package/esm2020/tree/tree.module.mjs +4 -4
- package/esm2020/tree-select/tree-select.component.mjs +14 -14
- package/esm2020/tree-select/tree-select.module.mjs +4 -4
- package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +15 -15
- 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 +32 -24
- package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-card.mjs +8 -8
- package/fesm2015/ptsecurity-mosaic-card.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-checkbox.mjs +11 -11
- package/fesm2015/ptsecurity-mosaic-checkbox.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-core.mjs +97 -91
- package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-datepicker.mjs +44 -44
- package/fesm2015/ptsecurity-mosaic-datepicker.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +443 -146
- package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-divider.mjs +8 -8
- package/fesm2015/ptsecurity-mosaic-divider.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-dl.mjs +124 -0
- package/fesm2015/ptsecurity-mosaic-dl.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-dropdown.mjs +19 -19
- package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-form-field.mjs +214 -50
- package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-icon.mjs +10 -10
- package/fesm2015/ptsecurity-mosaic-icon.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-input.mjs +434 -31
- package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-link.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-link.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-list.mjs +21 -21
- package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-modal.mjs +29 -29
- package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-navbar.mjs +103 -96
- package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-popover.mjs +18 -18
- package/fesm2015/ptsecurity-mosaic-popover.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +8 -8
- package/fesm2015/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +8 -8
- package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-radio.mjs +11 -11
- package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-select.mjs +99 -33
- 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 +28 -28
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-splitter.mjs +25 -23
- package/fesm2015/ptsecurity-mosaic-splitter.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-table.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-table.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tabs.mjs +56 -56
- package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tags.mjs +74 -74
- package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-textarea.mjs +11 -10
- package/fesm2015/ptsecurity-mosaic-textarea.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-timepicker.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-timepicker.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-toggle.mjs +9 -9
- package/fesm2015/ptsecurity-mosaic-toggle.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs +21 -17
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs +17 -17
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree.mjs +158 -155
- package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +15 -15
- 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 +32 -24
- package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-card.mjs +8 -8
- package/fesm2020/ptsecurity-mosaic-card.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-checkbox.mjs +11 -11
- package/fesm2020/ptsecurity-mosaic-checkbox.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-core.mjs +97 -91
- package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-datepicker.mjs +44 -44
- package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +443 -146
- package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-divider.mjs +8 -8
- package/fesm2020/ptsecurity-mosaic-divider.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-dl.mjs +124 -0
- package/fesm2020/ptsecurity-mosaic-dl.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-dropdown.mjs +19 -19
- package/fesm2020/ptsecurity-mosaic-dropdown.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-form-field.mjs +200 -50
- package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-icon.mjs +10 -10
- package/fesm2020/ptsecurity-mosaic-icon.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-input.mjs +427 -31
- package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-link.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-link.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-list.mjs +21 -21
- package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-modal.mjs +29 -29
- package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-navbar.mjs +103 -96
- package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-popover.mjs +18 -18
- package/fesm2020/ptsecurity-mosaic-popover.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +8 -8
- package/fesm2020/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +8 -8
- package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-radio.mjs +11 -11
- package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-select.mjs +96 -32
- 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 +28 -28
- package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-splitter.mjs +25 -23
- package/fesm2020/ptsecurity-mosaic-splitter.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-table.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-table.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tabs.mjs +56 -56
- package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tags.mjs +72 -72
- package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-textarea.mjs +11 -10
- package/fesm2020/ptsecurity-mosaic-textarea.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-timepicker.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-timepicker.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-toggle.mjs +9 -9
- package/fesm2020/ptsecurity-mosaic-toggle.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tooltip.mjs +21 -17
- package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs +17 -17
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tree.mjs +155 -152
- package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic.mjs.map +1 -1
- package/form-field/form-field.d.ts +9 -2
- package/form-field/form-field.module.d.ts +8 -7
- package/form-field/password-hint.d.ts +40 -0
- package/form-field/public-api.d.ts +1 -0
- package/input/input-password.d.ts +121 -0
- package/input/input.d.ts +4 -3
- package/input/input.module.d.ts +7 -6
- package/input/public-api.d.ts +1 -0
- package/list/list-selection.component.d.ts +1 -1
- package/navbar/navbar-item.component.d.ts +19 -18
- package/package.json +12 -4
- 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/select/public-api.d.ts +1 -0
- package/select/select-option.directive.d.ts +20 -0
- package/select/select.module.d.ts +9 -7
- package/tags/tag.component.d.ts +20 -20
- package/textarea/textarea.component.d.ts +4 -3
- package/toggle/README.md +0 -0
- package/tree/padding.directive.d.ts +7 -5
- package/tree/tree-option.component.d.ts +2 -2
- package/design-tokens/legacy-2017/tokens/components/alert.json5 +0 -83
- package/design-tokens/legacy-2017/tokens/components/autocomplete.json5 +0 -11
- package/design-tokens/legacy-2017/tokens/components/badge.json5 +0 -184
- package/design-tokens/legacy-2017/tokens/components/button-toggle.json5 +0 -10
- package/design-tokens/legacy-2017/tokens/components/button.json5 +0 -143
- package/design-tokens/legacy-2017/tokens/components/card.json5 +0 -51
- package/design-tokens/legacy-2017/tokens/components/checkbox.json5 +0 -39
- package/design-tokens/legacy-2017/tokens/components/datepicker.json5 +0 -64
- package/design-tokens/legacy-2017/tokens/components/divider.json5 +0 -8
- package/design-tokens/legacy-2017/tokens/components/dropdown.json5 +0 -47
- package/design-tokens/legacy-2017/tokens/components/form-field.json5 +0 -52
- package/design-tokens/legacy-2017/tokens/components/forms.json5 +0 -52
- package/design-tokens/legacy-2017/tokens/components/input.json5 +0 -13
- package/design-tokens/legacy-2017/tokens/components/link.json5 +0 -56
- package/design-tokens/legacy-2017/tokens/components/list.json5 +0 -15
- package/design-tokens/legacy-2017/tokens/components/modal.json5 +0 -79
- package/design-tokens/legacy-2017/tokens/components/navbar.json5 +0 -69
- package/design-tokens/legacy-2017/tokens/components/optgroup.json5 +0 -10
- package/design-tokens/legacy-2017/tokens/components/option.json5 +0 -12
- package/design-tokens/legacy-2017/tokens/components/popover.json5 +0 -68
- package/design-tokens/legacy-2017/tokens/components/popup.json5 +0 -18
- package/design-tokens/legacy-2017/tokens/components/progress-bar.json5 +0 -13
- package/design-tokens/legacy-2017/tokens/components/progress-spinner.json5 +0 -7
- package/design-tokens/legacy-2017/tokens/components/radio.json5 +0 -44
- package/design-tokens/legacy-2017/tokens/components/select.json5 +0 -25
- package/design-tokens/legacy-2017/tokens/components/sidepanel.json5 +0 -30
- package/design-tokens/legacy-2017/tokens/components/table.json5 +0 -15
- package/design-tokens/legacy-2017/tokens/components/tabs.json5 +0 -25
- package/design-tokens/legacy-2017/tokens/components/tags.json5 +0 -132
- package/design-tokens/legacy-2017/tokens/components/textarea.json5 +0 -12
- package/design-tokens/legacy-2017/tokens/components/timepicker.json5 +0 -7
- package/design-tokens/legacy-2017/tokens/components/toggle.json5 +0 -79
- package/design-tokens/legacy-2017/tokens/components/tooltip.json5 +0 -83
- package/design-tokens/legacy-2017/tokens/components/tree.json5 +0 -12
- package/design-tokens/legacy-2017/tokens/properties/aliases.json5 +0 -3
- package/design-tokens/legacy-2017/tokens/properties/colors.json5 +0 -110
- package/design-tokens/legacy-2017/tokens/properties/font.json5 +0 -12
- package/design-tokens/legacy-2017/tokens/properties/globals.json5 +0 -30
- package/design-tokens/legacy-2017/tokens/properties/padding.json5 +0 -3
- package/design-tokens/legacy-2017/tokens/properties/palette.json5 +0 -163
- package/design-tokens/legacy-2017/tokens/properties/typography.json5 +0 -140
- package/design-tokens/pt-2022/tokens/components/alert.json5 +0 -83
- package/design-tokens/pt-2022/tokens/components/autocomplete.json5 +0 -11
- package/design-tokens/pt-2022/tokens/components/badge.json5 +0 -184
- package/design-tokens/pt-2022/tokens/components/button-toggle.json5 +0 -10
- package/design-tokens/pt-2022/tokens/components/button.json5 +0 -143
- package/design-tokens/pt-2022/tokens/components/card.json5 +0 -51
- package/design-tokens/pt-2022/tokens/components/checkbox.json5 +0 -39
- package/design-tokens/pt-2022/tokens/components/datepicker.json5 +0 -64
- package/design-tokens/pt-2022/tokens/components/divider.json5 +0 -8
- package/design-tokens/pt-2022/tokens/components/dropdown.json5 +0 -47
- package/design-tokens/pt-2022/tokens/components/form-field.json5 +0 -52
- package/design-tokens/pt-2022/tokens/components/forms.json5 +0 -52
- package/design-tokens/pt-2022/tokens/components/input.json5 +0 -13
- package/design-tokens/pt-2022/tokens/components/link.json5 +0 -56
- package/design-tokens/pt-2022/tokens/components/list.json5 +0 -15
- package/design-tokens/pt-2022/tokens/components/modal.json5 +0 -79
- package/design-tokens/pt-2022/tokens/components/navbar.json5 +0 -69
- package/design-tokens/pt-2022/tokens/components/optgroup.json5 +0 -10
- package/design-tokens/pt-2022/tokens/components/option.json5 +0 -12
- package/design-tokens/pt-2022/tokens/components/popover.json5 +0 -68
- package/design-tokens/pt-2022/tokens/components/popup.json5 +0 -18
- package/design-tokens/pt-2022/tokens/components/progress-bar.json5 +0 -13
- package/design-tokens/pt-2022/tokens/components/progress-spinner.json5 +0 -7
- package/design-tokens/pt-2022/tokens/components/radio.json5 +0 -44
- package/design-tokens/pt-2022/tokens/components/select.json5 +0 -25
- package/design-tokens/pt-2022/tokens/components/sidepanel.json5 +0 -30
- package/design-tokens/pt-2022/tokens/components/table.json5 +0 -15
- package/design-tokens/pt-2022/tokens/components/tabs.json5 +0 -25
- package/design-tokens/pt-2022/tokens/components/tags.json5 +0 -132
- package/design-tokens/pt-2022/tokens/components/textarea.json5 +0 -12
- package/design-tokens/pt-2022/tokens/components/timepicker.json5 +0 -7
- package/design-tokens/pt-2022/tokens/components/toggle.json5 +0 -79
- package/design-tokens/pt-2022/tokens/components/tooltip.json5 +0 -83
- package/design-tokens/pt-2022/tokens/components/tree.json5 +0 -12
- package/design-tokens/pt-2022/tokens/properties/aliases.json5 +0 -3
- package/design-tokens/pt-2022/tokens/properties/colors.json5 +0 -112
- package/design-tokens/pt-2022/tokens/properties/font.json5 +0 -15
- package/design-tokens/pt-2022/tokens/properties/globals.json5 +0 -30
- package/design-tokens/pt-2022/tokens/properties/padding.json5 +0 -3
- package/design-tokens/pt-2022/tokens/properties/palette.json5 +0 -226
- package/design-tokens/pt-2022/tokens/properties/typography.json5 +0 -140
- package/design-tokens/style-dictionary/build.js +0 -62
- package/design-tokens/style-dictionary/configs/css.js +0 -13
- package/design-tokens/style-dictionary/configs/index.js +0 -48
- package/design-tokens/style-dictionary/configs/js.js +0 -9
- package/design-tokens/style-dictionary/configs/scss.js +0 -23
- package/design-tokens/style-dictionary/filters/color.js +0 -7
- package/design-tokens/style-dictionary/filters/palette.js +0 -7
- package/design-tokens/style-dictionary/filters/size.js +0 -7
- package/design-tokens/style-dictionary/filters/typography.js +0 -7
- package/design-tokens/style-dictionary/formats/palette.js +0 -25
- package/design-tokens/style-dictionary/formats/typography.js +0 -52
- package/design-tokens/style-dictionary/transformGroups/css.js +0 -13
- package/design-tokens/style-dictionary/transformGroups/scss.js +0 -12
- package/design-tokens/style-dictionary/transforms/attribute/palette.js +0 -9
- package/design-tokens/style-dictionary/transforms/attribute/prefix.js +0 -11
- package/design-tokens/style-dictionary/transforms/attribute/size.js +0 -8
- package/design-tokens/style-dictionary/transforms/attribute/typography.js +0 -9
@@ -1,9 +1,11 @@
|
|
1
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
1
2
|
import { AfterContentChecked, AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, QueryList } from '@angular/core';
|
2
3
|
import { NgControl } from '@angular/forms';
|
3
4
|
import { CanColor, CanColorCtor } from '@ptsecurity/mosaic/core';
|
4
5
|
import { McCleaner } from './cleaner';
|
5
6
|
import { McFormFieldControl } from './form-field-control';
|
6
7
|
import { McHint } from './hint';
|
8
|
+
import { McPasswordHint } from './password-hint';
|
7
9
|
import { McPrefix } from './prefix';
|
8
10
|
import { McStepper } from './stepper';
|
9
11
|
import { McSuffix } from './suffix';
|
@@ -16,10 +18,12 @@ export declare const McFormFieldMixinBase: CanColorCtor & typeof McFormFieldBase
|
|
16
18
|
export declare class McFormField extends McFormFieldMixinBase implements AfterContentInit, AfterContentChecked, AfterViewInit, CanColor, OnDestroy {
|
17
19
|
_elementRef: ElementRef;
|
18
20
|
private _changeDetectorRef;
|
21
|
+
private focusMonitor;
|
19
22
|
control: McFormFieldControl<any>;
|
20
23
|
stepper: McStepper;
|
21
24
|
cleaner: McCleaner | null;
|
22
25
|
hint: QueryList<McHint>;
|
26
|
+
passwordHints: QueryList<McPasswordHint>;
|
23
27
|
suffix: QueryList<McSuffix>;
|
24
28
|
prefix: QueryList<McPrefix>;
|
25
29
|
connectionContainerRef: ElementRef;
|
@@ -28,6 +32,7 @@ export declare class McFormField extends McFormFieldMixinBase implements AfterCo
|
|
28
32
|
canCleanerClearByEsc: boolean;
|
29
33
|
private $unsubscribe;
|
30
34
|
get hasHint(): boolean;
|
35
|
+
get hasPasswordStrengthError(): boolean;
|
31
36
|
get hasSuffix(): boolean;
|
32
37
|
get hasPrefix(): boolean;
|
33
38
|
get hasCleaner(): boolean;
|
@@ -35,7 +40,7 @@ export declare class McFormField extends McFormFieldMixinBase implements AfterCo
|
|
35
40
|
get canShowCleaner(): boolean;
|
36
41
|
get disabled(): boolean;
|
37
42
|
get canShowStepper(): boolean;
|
38
|
-
constructor(_elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef);
|
43
|
+
constructor(_elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, focusMonitor: FocusMonitor);
|
39
44
|
ngAfterContentInit(): void;
|
40
45
|
ngAfterContentChecked(): void;
|
41
46
|
ngAfterViewInit(): void;
|
@@ -53,8 +58,10 @@ export declare class McFormField extends McFormFieldMixinBase implements AfterCo
|
|
53
58
|
ngOnDestroy(): void;
|
54
59
|
/** Throws an error if the form field's control is missing. */
|
55
60
|
protected validateControlChild(): void;
|
61
|
+
private runFocusMonitor;
|
62
|
+
private stopFocusMonitor;
|
56
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<McFormField, never>;
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McFormField, "mc-form-field", ["mcFormField"], { "color": "color"; }, {}, ["control", "stepper", "cleaner", "hint", "suffix", "prefix"], ["[mcPrefix]", "*", "[mcSuffix]", "mc-cleaner", "mc-stepper", "mc-hint"]>;
|
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"]>;
|
58
65
|
}
|
59
66
|
export declare class McFormFieldWithoutBorders {
|
60
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<McFormFieldWithoutBorders, never>;
|
@@ -1,14 +1,15 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
import * as i1 from "./form-field";
|
3
3
|
import * as i2 from "./hint";
|
4
|
-
import * as i3 from "./
|
5
|
-
import * as i4 from "./
|
6
|
-
import * as i5 from "./
|
7
|
-
import * as i6 from "./
|
8
|
-
import * as i7 from "
|
9
|
-
import * as i8 from "@
|
4
|
+
import * as i3 from "./password-hint";
|
5
|
+
import * as i4 from "./prefix";
|
6
|
+
import * as i5 from "./suffix";
|
7
|
+
import * as i6 from "./cleaner";
|
8
|
+
import * as i7 from "./stepper";
|
9
|
+
import * as i8 from "@angular/common";
|
10
|
+
import * as i9 from "@ptsecurity/mosaic/icon";
|
10
11
|
export declare class McFormFieldModule {
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<McFormFieldModule, never>;
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<McFormFieldModule, [typeof i1.McFormField, typeof i1.McFormFieldWithoutBorders, typeof i2.McHint, typeof i3.
|
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 i8.CommonModule, typeof i9.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]>;
|
13
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<McFormFieldModule>;
|
14
15
|
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { AfterContentInit, ChangeDetectorRef } from '@angular/core';
|
2
|
+
import { McFormField } from './form-field';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare enum PasswordRules {
|
5
|
+
Length = 0,
|
6
|
+
UpperLatin = 1,
|
7
|
+
LowerLatin = 2,
|
8
|
+
Digit = 3,
|
9
|
+
LatinAndSpecialSymbols = 4,
|
10
|
+
Custom = 5
|
11
|
+
}
|
12
|
+
export declare const regExpPasswordValidator: {
|
13
|
+
2: RegExp;
|
14
|
+
1: RegExp;
|
15
|
+
3: RegExp;
|
16
|
+
4: RegExp;
|
17
|
+
};
|
18
|
+
export declare class McPasswordHint implements AfterContentInit {
|
19
|
+
private changeDetectorRef;
|
20
|
+
private formField;
|
21
|
+
id: string;
|
22
|
+
rule: PasswordRules | any;
|
23
|
+
min: number;
|
24
|
+
max: number;
|
25
|
+
regex: RegExp | null;
|
26
|
+
hasError: boolean;
|
27
|
+
checked: boolean;
|
28
|
+
private checkRule;
|
29
|
+
private get control();
|
30
|
+
private lastControlValue;
|
31
|
+
constructor(changeDetectorRef: ChangeDetectorRef, formField: McFormField);
|
32
|
+
ngAfterContentInit(): void;
|
33
|
+
private checkValue;
|
34
|
+
private checkLengthRule;
|
35
|
+
private checkRegexRule;
|
36
|
+
private checkSpecialSymbolsRegexRule;
|
37
|
+
private isValueChanged;
|
38
|
+
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, ["*"]>;
|
40
|
+
}
|
@@ -0,0 +1,121 @@
|
|
1
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
2
|
+
import { Directionality } from '@angular/cdk/bidi';
|
3
|
+
import { Overlay, ScrollDispatcher } from '@angular/cdk/overlay';
|
4
|
+
import { AfterContentInit, ChangeDetectorRef, DoCheck, ElementRef, NgZone, OnChanges, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
5
|
+
import { FormControlName, FormGroupDirective, NgControl, NgForm, NgModel, Validator } from '@angular/forms';
|
6
|
+
import { CanUpdateErrorState, ErrorStateMatcher, McValidationOptions } from '@ptsecurity/mosaic/core';
|
7
|
+
import { McFormField, McFormFieldControl } from '@ptsecurity/mosaic/form-field';
|
8
|
+
import { McTooltipTrigger } from '@ptsecurity/mosaic/tooltip';
|
9
|
+
import { Subject } from 'rxjs';
|
10
|
+
import { McInputMixinBase } from './input';
|
11
|
+
import * as i0 from "@angular/core";
|
12
|
+
export declare class McPasswordToggle extends McTooltipTrigger implements OnDestroy {
|
13
|
+
private focusMonitor;
|
14
|
+
private formField;
|
15
|
+
get content(): string | TemplateRef<any>;
|
16
|
+
set content(content: string | TemplateRef<any>);
|
17
|
+
mcTooltipHidden: string | TemplateRef<any>;
|
18
|
+
get disabled(): any;
|
19
|
+
set disabled(value: any);
|
20
|
+
protected _disabled: boolean;
|
21
|
+
get tabIndex(): number;
|
22
|
+
set tabIndex(value: number);
|
23
|
+
private _tabIndex;
|
24
|
+
get hidden(): boolean;
|
25
|
+
constructor(overlay: Overlay, elementRef: ElementRef, ngZone: NgZone, scrollDispatcher: ScrollDispatcher, hostView: ViewContainerRef, scrollStrategy: any, direction: Directionality, focusMonitor: FocusMonitor, formField: McFormField);
|
26
|
+
ngOnDestroy(): void;
|
27
|
+
toggle(): void;
|
28
|
+
private runFocusMonitor;
|
29
|
+
private stopFocusMonitor;
|
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, ["*"]>;
|
32
|
+
}
|
33
|
+
export declare class McInputPassword extends McInputMixinBase implements McFormFieldControl<any>, OnChanges, OnDestroy, DoCheck, CanUpdateErrorState, AfterContentInit, OnChanges {
|
34
|
+
protected elementRef: ElementRef;
|
35
|
+
rawValidators: Validator[];
|
36
|
+
private mcValidation;
|
37
|
+
ngModel: NgModel;
|
38
|
+
formControlName: FormControlName;
|
39
|
+
private changeDetectorRef;
|
40
|
+
/** An object used to control when error messages are shown. */
|
41
|
+
errorStateMatcher: ErrorStateMatcher;
|
42
|
+
/**
|
43
|
+
* Implemented as part of McFormFieldControl.
|
44
|
+
* @docs-private
|
45
|
+
*/
|
46
|
+
focused: boolean;
|
47
|
+
/**
|
48
|
+
* Implemented as part of McFormFieldControl.
|
49
|
+
* @docs-private
|
50
|
+
*/
|
51
|
+
readonly stateChanges: Subject<any>;
|
52
|
+
/**
|
53
|
+
* Implemented as part of McFormFieldControl.
|
54
|
+
* @docs-private
|
55
|
+
*/
|
56
|
+
controlType: string;
|
57
|
+
elementType: string;
|
58
|
+
/**
|
59
|
+
* Implemented as part of McFormFieldControl.
|
60
|
+
* @docs-private
|
61
|
+
*/
|
62
|
+
placeholder: string;
|
63
|
+
protected uid: string;
|
64
|
+
protected previousNativeValue: any;
|
65
|
+
/**
|
66
|
+
* Implemented as part of McFormFieldControl.
|
67
|
+
* @docs-private
|
68
|
+
*/
|
69
|
+
get disabled(): boolean;
|
70
|
+
set disabled(value: boolean);
|
71
|
+
private _disabled;
|
72
|
+
/**
|
73
|
+
* Implemented as part of McFormFieldControl.
|
74
|
+
* @docs-private
|
75
|
+
*/
|
76
|
+
get id(): string;
|
77
|
+
set id(value: string);
|
78
|
+
private _id;
|
79
|
+
/**
|
80
|
+
* Implemented as part of McFormFieldControl.
|
81
|
+
* @docs-private
|
82
|
+
*/
|
83
|
+
get required(): boolean;
|
84
|
+
set required(value: boolean);
|
85
|
+
private _required;
|
86
|
+
/**
|
87
|
+
* Implemented as part of McFormFieldControl.
|
88
|
+
* @docs-private
|
89
|
+
*/
|
90
|
+
get value(): string;
|
91
|
+
set value(value: string);
|
92
|
+
private _inputValueAccessor;
|
93
|
+
constructor(elementRef: ElementRef, rawValidators: Validator[], mcValidation: McValidationOptions, ngControl: NgControl, ngModel: NgModel, formControlName: FormControlName, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, inputValueAccessor: any, changeDetectorRef: ChangeDetectorRef);
|
94
|
+
ngAfterContentInit(): void;
|
95
|
+
ngOnChanges(): void;
|
96
|
+
ngOnDestroy(): void;
|
97
|
+
ngDoCheck(): void;
|
98
|
+
toggleType(): void;
|
99
|
+
/** Focuses the input. */
|
100
|
+
focus(): void;
|
101
|
+
onBlur(): void;
|
102
|
+
/** Callback for the cases where the focused state of the input changes. */
|
103
|
+
focusChanged(isFocused: boolean): void;
|
104
|
+
onInput(): void;
|
105
|
+
/**
|
106
|
+
* Implemented as part of McFormFieldControl.
|
107
|
+
* @docs-private
|
108
|
+
*/
|
109
|
+
get empty(): boolean;
|
110
|
+
/**
|
111
|
+
* Implemented as part of McFormFieldControl.
|
112
|
+
* @docs-private
|
113
|
+
*/
|
114
|
+
onContainerClick(): void;
|
115
|
+
/** Does some manual dirty checking on the native input `value` property. */
|
116
|
+
protected dirtyCheckNativeValue(): void;
|
117
|
+
/** Checks whether the input is invalid based on the native validation. */
|
118
|
+
protected isBadInput(): boolean;
|
119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McInputPassword, [null, { optional: true; self: true; }, { optional: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }, null]>;
|
120
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McInputPassword, "input[mcInputPassword]", ["mcInputPassword"], { "errorStateMatcher": "errorStateMatcher"; "placeholder": "placeholder"; "disabled": "disabled"; "id": "id"; "required": "required"; "value": "value"; }, {}, never>;
|
121
|
+
}
|
package/input/input.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { AfterContentInit, DoCheck, ElementRef, OnChanges, OnDestroy } from '@angular/core';
|
1
|
+
import { AfterContentInit, ChangeDetectorRef, DoCheck, ElementRef, OnChanges, OnDestroy } from '@angular/core';
|
2
2
|
import { FormControlName, FormGroupDirective, NgControl, NgForm, NgModel, Validator } from '@angular/forms';
|
3
3
|
import { CanUpdateErrorState, CanUpdateErrorStateCtor, ErrorStateMatcher, McValidationOptions } from '@ptsecurity/mosaic/core';
|
4
4
|
import { McFormFieldControl } from '@ptsecurity/mosaic/form-field';
|
@@ -20,6 +20,7 @@ export declare class McInput extends McInputMixinBase implements McFormFieldCont
|
|
20
20
|
numberInput: McNumberInput;
|
21
21
|
ngModel: NgModel;
|
22
22
|
formControlName: FormControlName;
|
23
|
+
private changeDetectorRef;
|
23
24
|
/** An object used to control when error messages are shown. */
|
24
25
|
errorStateMatcher: ErrorStateMatcher;
|
25
26
|
/**
|
@@ -77,7 +78,7 @@ export declare class McInput extends McInputMixinBase implements McFormFieldCont
|
|
77
78
|
get value(): string;
|
78
79
|
set value(value: string);
|
79
80
|
private _inputValueAccessor;
|
80
|
-
constructor(elementRef: ElementRef, rawValidators: Validator[], mcValidation: McValidationOptions, ngControl: NgControl, numberInput: McNumberInput, ngModel: NgModel, formControlName: FormControlName, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, inputValueAccessor: any);
|
81
|
+
constructor(elementRef: ElementRef, rawValidators: Validator[], mcValidation: McValidationOptions, ngControl: NgControl, numberInput: McNumberInput, ngModel: NgModel, formControlName: FormControlName, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, inputValueAccessor: any, changeDetectorRef: ChangeDetectorRef);
|
81
82
|
ngAfterContentInit(): void;
|
82
83
|
ngOnChanges(): void;
|
83
84
|
ngOnDestroy(): void;
|
@@ -106,7 +107,7 @@ export declare class McInput extends McInputMixinBase implements McFormFieldCont
|
|
106
107
|
protected isNeverEmpty(): boolean;
|
107
108
|
/** Checks whether the input is invalid based on the native validation. */
|
108
109
|
protected isBadInput(): boolean;
|
109
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<McInput, [null, { optional: true; self: true; }, { optional: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }]>;
|
110
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McInput, [null, { optional: true; self: true; }, { optional: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }, null]>;
|
110
111
|
static ɵdir: i0.ɵɵDirectiveDeclaration<McInput, "input[mcInput]", ["mcInput"], { "errorStateMatcher": "errorStateMatcher"; "placeholder": "placeholder"; "disabled": "disabled"; "id": "id"; "required": "required"; "type": "type"; "value": "value"; }, {}, never>;
|
111
112
|
}
|
112
113
|
export declare class McInputMono {
|
package/input/input.module.d.ts
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
import * as i1 from "./input";
|
3
3
|
import * as i2 from "./input-number";
|
4
|
-
import * as i3 from "./input-
|
5
|
-
import * as i4 from "
|
6
|
-
import * as i5 from "@angular/
|
7
|
-
import * as i6 from "@
|
8
|
-
import * as i7 from "@
|
4
|
+
import * as i3 from "./input-password";
|
5
|
+
import * as i4 from "./input-number-validators";
|
6
|
+
import * as i5 from "@angular/common";
|
7
|
+
import * as i6 from "@angular/cdk/a11y";
|
8
|
+
import * as i7 from "@ptsecurity/mosaic/core";
|
9
|
+
import * as i8 from "@angular/forms";
|
9
10
|
export declare class McInputModule {
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<McInputModule, never>;
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<McInputModule, [typeof i1.McInput, typeof i2.McNumberInput, typeof i1.McInputMono, typeof
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McInputModule, [typeof i1.McInput, typeof i2.McNumberInput, typeof i3.McInputPassword, typeof i3.McPasswordToggle, typeof i1.McInputMono, typeof i4.MinValidator, typeof i4.MaxValidator], [typeof i5.CommonModule, typeof i6.A11yModule, typeof i7.McCommonModule, typeof i8.FormsModule], [typeof i1.McInput, typeof i2.McNumberInput, typeof i3.McInputPassword, typeof i3.McPasswordToggle, typeof i1.McInputMono, typeof i4.MinValidator, typeof i4.MaxValidator]>;
|
12
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<McInputModule>;
|
13
14
|
}
|
package/input/public-api.d.ts
CHANGED
@@ -61,7 +61,7 @@ export declare class McListOption implements OnDestroy, OnInit, IFocusableOption
|
|
61
61
|
blur(): void;
|
62
62
|
getHostElement(): HTMLElement;
|
63
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<McListOption, [null, null, null, null, { optional: true; }]>;
|
64
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McListOption, "mc-list-option", ["mcListOption"], { "checkboxPosition": "checkboxPosition"; "value": "value"; "disabled": "disabled"; "showCheckbox": "showCheckbox"; "selected": "selected"; }, {}, ["actionButton", "tooltipTrigger", "dropdownTrigger"], ["*", "mc-option-action"]>;
|
64
|
+
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"]>;
|
65
65
|
}
|
66
66
|
export declare const MC_SELECTION_LIST_VALUE_ACCESSOR: any;
|
67
67
|
export declare class McListSelectionChange {
|
@@ -91,6 +91,24 @@ export declare class McNavbarFocusableItem implements IFocusableOption, AfterCon
|
|
91
91
|
static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarFocusableItem, never>;
|
92
92
|
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"]>;
|
93
93
|
}
|
94
|
+
export declare class McNavbarRectangleElement {
|
95
|
+
elementRef: ElementRef;
|
96
|
+
readonly state: Subject<void>;
|
97
|
+
get horizontal(): boolean;
|
98
|
+
set horizontal(value: boolean);
|
99
|
+
private _horizontal;
|
100
|
+
get vertical(): boolean;
|
101
|
+
set vertical(value: boolean);
|
102
|
+
private _vertical;
|
103
|
+
get collapsed(): boolean;
|
104
|
+
set collapsed(value: boolean);
|
105
|
+
private _collapsed;
|
106
|
+
button: McButtonCssStyler;
|
107
|
+
constructor(elementRef: ElementRef);
|
108
|
+
getOuterElementWidth(): number;
|
109
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarRectangleElement, never>;
|
110
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarRectangleElement, "mc-navbar-item, [mc-navbar-item], mc-navbar-divider, mc-navbar-brand, [mc-navbar-brand]", never, {}, {}, ["button"]>;
|
111
|
+
}
|
94
112
|
export declare class McNavbarItem extends McTooltipTrigger {
|
95
113
|
rectangleElement: McNavbarRectangleElement;
|
96
114
|
private changeDetectorRef;
|
@@ -110,6 +128,7 @@ export declare class McNavbarItem extends McTooltipTrigger {
|
|
110
128
|
get titleText(): string | null;
|
111
129
|
get subTitleText(): string | null;
|
112
130
|
get disabled(): boolean;
|
131
|
+
set disabled(value: boolean);
|
113
132
|
get hasDropDownTrigger(): boolean;
|
114
133
|
get showVerticalDropDownAngle(): boolean;
|
115
134
|
get showHorizontalDropDownAngle(): boolean;
|
@@ -122,24 +141,6 @@ export declare class McNavbarItem extends McTooltipTrigger {
|
|
122
141
|
static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarItem, [null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
123
142
|
static ɵcmp: i0.ɵɵComponentDeclaration<McNavbarItem, "mc-navbar-item, [mc-navbar-item]", ["mcNavbarItem"], { "collapsedText": "collapsedText"; "collapsed": "collapsed"; "collapsable": "collapsable"; }, {}, ["title", "subTitle", "icon"], ["[mc-icon]", "mc-navbar-title, [mc-navbar-title]", "mc-navbar-subtitle, [mc-navbar-subtitle]", "*"]>;
|
124
143
|
}
|
125
|
-
export declare class McNavbarRectangleElement {
|
126
|
-
elementRef: ElementRef;
|
127
|
-
readonly state: Subject<void>;
|
128
|
-
get horizontal(): boolean;
|
129
|
-
set horizontal(value: boolean);
|
130
|
-
private _horizontal;
|
131
|
-
get vertical(): boolean;
|
132
|
-
set vertical(value: boolean);
|
133
|
-
private _vertical;
|
134
|
-
get collapsed(): boolean;
|
135
|
-
set collapsed(value: boolean);
|
136
|
-
private _collapsed;
|
137
|
-
button: McButtonCssStyler;
|
138
|
-
constructor(elementRef: ElementRef);
|
139
|
-
getOuterElementWidth(): number;
|
140
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarRectangleElement, never>;
|
141
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarRectangleElement, "mc-navbar-item, [mc-navbar-item], mc-navbar-divider, mc-navbar-brand, [mc-navbar-brand]", never, {}, {}, ["button"]>;
|
142
|
-
}
|
143
144
|
export declare class McNavbarToggle extends McTooltipTrigger implements OnDestroy {
|
144
145
|
navbar: McVerticalNavbar;
|
145
146
|
private changeDetectorRef;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ptsecurity/mosaic",
|
3
|
-
"version": "13.
|
3
|
+
"version": "13.3.0",
|
4
4
|
"description": "Mosaic",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -22,9 +22,9 @@
|
|
22
22
|
"@angular/core": "^13.1.0",
|
23
23
|
"@angular/common": "^13.1.0",
|
24
24
|
"@angular/forms": "^13.1.0",
|
25
|
-
"@ptsecurity/cdk": "^13.
|
26
|
-
"@ptsecurity/mosaic-moment-adapter": "^13.
|
27
|
-
"@ptsecurity/mosaic-luxon-adapter": "^13.
|
25
|
+
"@ptsecurity/cdk": "^13.3.0",
|
26
|
+
"@ptsecurity/mosaic-moment-adapter": "^13.3.0",
|
27
|
+
"@ptsecurity/mosaic-luxon-adapter": "^13.3.0",
|
28
28
|
"@ptsecurity/mosaic-icons": "^5.0.0"
|
29
29
|
},
|
30
30
|
"dependencies": {
|
@@ -127,6 +127,14 @@
|
|
127
127
|
"node": "./fesm2015/ptsecurity-mosaic-divider.mjs",
|
128
128
|
"default": "./fesm2020/ptsecurity-mosaic-divider.mjs"
|
129
129
|
},
|
130
|
+
"./dl": {
|
131
|
+
"types": "./dl/ptsecurity-mosaic-dl.d.ts",
|
132
|
+
"esm2020": "./esm2020/dl/ptsecurity-mosaic-dl.mjs",
|
133
|
+
"es2020": "./fesm2020/ptsecurity-mosaic-dl.mjs",
|
134
|
+
"es2015": "./fesm2015/ptsecurity-mosaic-dl.mjs",
|
135
|
+
"node": "./fesm2015/ptsecurity-mosaic-dl.mjs",
|
136
|
+
"default": "./fesm2020/ptsecurity-mosaic-dl.mjs"
|
137
|
+
},
|
130
138
|
"./dropdown": {
|
131
139
|
"types": "./dropdown/ptsecurity-mosaic-dropdown.d.ts",
|
132
140
|
"esm2020": "./esm2020/dropdown/ptsecurity-mosaic-dropdown.mjs",
|