@ptsecurity/mosaic 12.1.0 → 13.0.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 +113 -66
- package/_visual.scss +11 -9
- package/autocomplete/README.md +0 -0
- package/autocomplete/package.json +5 -5
- package/button/README.md +0 -0
- package/button/button.component.d.ts +17 -14
- package/button/button.module.d.ts +1 -1
- package/button/package.json +5 -5
- package/button-toggle/README.md +0 -0
- package/button-toggle/package.json +5 -5
- package/card/README.md +0 -0
- package/card/package.json +5 -5
- package/checkbox/README.md +1 -0
- package/checkbox/package.json +5 -5
- package/core/formatters/date/formatter.d.ts +4 -4
- package/core/formatters/date/templates/en-US.d.ts +8 -8
- package/core/formatters/date/templates/ru-RU.d.ts +8 -8
- package/core/package.json +5 -5
- package/core/pop-up/pop-up-trigger.d.ts +9 -12
- package/datepicker/README.md +0 -0
- package/datepicker/package.json +5 -5
- package/design-tokens/package.json +5 -5
- package/design-tokens/style-dictionary/build.js +6 -0
- package/design-tokens/style-dictionary/configs/index.js +2 -1
- package/design-tokens/tokens/components/navbar.json5 +12 -9
- package/design-tokens/tokens.d.ts +11 -9
- package/divider/README.md +0 -0
- package/divider/package.json +5 -5
- package/dropdown/dropdown-item.component.d.ts +1 -0
- package/dropdown/package.json +5 -5
- package/{esm2015/autocomplete/autocomplete-origin.directive.js → esm2020/autocomplete/autocomplete-origin.directive.mjs} +4 -4
- package/{esm2015/autocomplete/autocomplete-trigger.directive.js → esm2020/autocomplete/autocomplete-trigger.directive.mjs} +4 -4
- package/esm2020/autocomplete/autocomplete.component.mjs +154 -0
- package/{esm2015/autocomplete/autocomplete.module.js → esm2020/autocomplete/autocomplete.module.mjs} +5 -5
- package/{esm2015/autocomplete/index.js → esm2020/autocomplete/index.mjs} +0 -0
- package/{esm2015/autocomplete/ptsecurity-mosaic-autocomplete.js → esm2020/autocomplete/ptsecurity-mosaic-autocomplete.mjs} +0 -0
- package/{esm2015/autocomplete/public-api.js → esm2020/autocomplete/public-api.mjs} +0 -0
- package/esm2020/button/button.component.mjs +129 -0
- package/esm2020/button/button.module.mjs +38 -0
- package/{esm2015/button/index.js → esm2020/button/index.mjs} +0 -0
- package/{esm2015/button/ptsecurity-mosaic-button.js → esm2020/button/ptsecurity-mosaic-button.mjs} +0 -0
- package/{esm2015/button/public-api.js → esm2020/button/public-api.mjs} +0 -0
- package/esm2020/button-toggle/button-toggle.component.mjs +362 -0
- package/{esm2015/button-toggle/button-toggle.module.js → esm2020/button-toggle/button-toggle.module.mjs} +5 -5
- package/{esm2015/button-toggle/index.js → esm2020/button-toggle/index.mjs} +0 -0
- package/{esm2015/button-toggle/ptsecurity-mosaic-button-toggle.js → esm2020/button-toggle/ptsecurity-mosaic-button-toggle.mjs} +0 -0
- package/{esm2015/button-toggle/public-api.js → esm2020/button-toggle/public-api.mjs} +0 -0
- package/esm2020/card/card.component.mjs +80 -0
- package/{esm2015/card/card.module.js → esm2020/card/card.module.mjs} +5 -5
- package/{esm2015/card/index.js → esm2020/card/index.mjs} +0 -0
- package/{esm2015/card/ptsecurity-mosaic-card.js → esm2020/card/ptsecurity-mosaic-card.mjs} +0 -0
- package/{esm2015/card/public-api.js → esm2020/card/public-api.mjs} +0 -0
- package/{esm2015/checkbox/checkbox-config.js → esm2020/checkbox/checkbox-config.mjs} +0 -0
- package/{esm2015/checkbox/checkbox-module.js → esm2020/checkbox/checkbox-module.mjs} +5 -5
- package/{esm2015/checkbox/checkbox-required-validator.js → esm2020/checkbox/checkbox-required-validator.mjs} +4 -4
- package/esm2020/checkbox/checkbox.mjs +315 -0
- package/{esm2015/checkbox/index.js → esm2020/checkbox/index.mjs} +0 -0
- package/{esm2015/checkbox/ptsecurity-mosaic-checkbox.js → esm2020/checkbox/ptsecurity-mosaic-checkbox.mjs} +0 -0
- package/{esm2015/checkbox/public-api.js → esm2020/checkbox/public-api.mjs} +0 -0
- package/{esm2015/core/animation/animation.js → esm2020/core/animation/animation.mjs} +0 -0
- package/{esm2015/core/animation/fade-animations.js → esm2020/core/animation/fade-animations.mjs} +0 -0
- package/{esm2015/core/animation/index.js → esm2020/core/animation/index.mjs} +0 -0
- package/{esm2015/core/animation/select-animations.js → esm2020/core/animation/select-animations.mjs} +0 -0
- package/{esm2015/core/common-behaviors/color.js → esm2020/core/common-behaviors/color.mjs} +0 -0
- package/{esm2015/core/common-behaviors/common-module.js → esm2020/core/common-behaviors/common-module.mjs} +5 -5
- package/{esm2015/core/common-behaviors/constructor.js → esm2020/core/common-behaviors/constructor.mjs} +0 -0
- package/{esm2015/core/common-behaviors/disabled.js → esm2020/core/common-behaviors/disabled.mjs} +0 -0
- package/{esm2015/core/common-behaviors/error-state.js → esm2020/core/common-behaviors/error-state.mjs} +0 -0
- package/{esm2015/core/common-behaviors/index.js → esm2020/core/common-behaviors/index.mjs} +0 -0
- package/{esm2015/core/common-behaviors/tabindex.js → esm2020/core/common-behaviors/tabindex.mjs} +0 -0
- package/{esm2015/core/error/error-options.js → esm2020/core/error/error-options.mjs} +7 -7
- package/esm2020/core/formatters/date/formatter.mjs +314 -0
- package/esm2020/core/formatters/date/templates/en-US.mjs +280 -0
- package/esm2020/core/formatters/date/templates/ru-RU.mjs +280 -0
- package/{esm2015/core/formatters/index.js → esm2020/core/formatters/index.mjs} +5 -5
- package/esm2020/core/formatters/number/formatter.mjs +105 -0
- package/{esm2015/core/forms/forms-module.js → esm2020/core/forms/forms-module.mjs} +5 -5
- package/{esm2015/core/forms/forms.directive.js → esm2020/core/forms/forms.directive.mjs} +7 -7
- package/{esm2015/core/forms/index.js → esm2020/core/forms/index.mjs} +0 -0
- package/{esm2015/core/highlight/highlight.pipe.js → esm2020/core/highlight/highlight.pipe.mjs} +4 -4
- package/{esm2015/core/highlight/index.js → esm2020/core/highlight/index.mjs} +5 -5
- package/{esm2015/core/index.js → esm2020/core/index.mjs} +0 -0
- package/{esm2015/core/label/label-options.js → esm2020/core/label/label-options.mjs} +0 -0
- package/{esm2015/core/line/line.js → esm2020/core/line/line.mjs} +8 -8
- package/esm2020/core/option/action.mjs +121 -0
- package/{esm2015/core/option/index.js → esm2020/core/option/index.mjs} +0 -0
- package/esm2020/core/option/optgroup.mjs +31 -0
- package/{esm2015/core/option/option-module.js → esm2020/core/option/option-module.mjs} +5 -5
- package/esm2020/core/option/option.mjs +254 -0
- package/{esm2015/core/overlay/overlay-position-map.js → esm2020/core/overlay/overlay-position-map.mjs} +0 -0
- package/{esm2015/core/pop-up/constants.js → esm2020/core/pop-up/constants.mjs} +0 -0
- package/{esm2015/core/pop-up/index.js → esm2020/core/pop-up/index.mjs} +0 -0
- package/esm2020/core/pop-up/pop-up-trigger.mjs +246 -0
- package/esm2020/core/pop-up/pop-up.mjs +91 -0
- package/{esm2015/core/ptsecurity-mosaic-core.js → esm2020/core/ptsecurity-mosaic-core.mjs} +0 -0
- package/{esm2015/core/public-api.js → esm2020/core/public-api.mjs} +0 -0
- package/{esm2015/core/select/constants.js → esm2020/core/select/constants.mjs} +0 -0
- package/{esm2015/core/select/errors.js → esm2020/core/select/errors.mjs} +0 -0
- package/{esm2015/core/select/events.js → esm2020/core/select/events.mjs} +0 -0
- package/{esm2015/core/select/index.js → esm2020/core/select/index.mjs} +0 -0
- package/{esm2015/core/selection/constants.js → esm2020/core/selection/constants.mjs} +0 -0
- package/{esm2015/core/selection/index.js → esm2020/core/selection/index.mjs} +0 -0
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +37 -0
- package/{esm2015/core/selection/pseudo-checkbox/pseudo-checkbox.module.js → esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs} +5 -5
- package/{esm2015/core/services/measure-scrollbar.service.js → esm2020/core/services/measure-scrollbar.service.mjs} +4 -4
- package/{esm2015/core/utils/index.js → esm2020/core/utils/index.mjs} +0 -0
- package/{esm2015/core/utils/public-api.js → esm2020/core/utils/public-api.mjs} +0 -0
- package/{esm2015/core/utils/utils.js → esm2020/core/utils/utils.mjs} +0 -0
- package/{esm2015/core/validation/index.js → esm2020/core/validation/index.mjs} +0 -0
- package/{esm2015/core/validation/validation.js → esm2020/core/validation/validation.mjs} +0 -0
- package/esm2020/datepicker/calendar-body.component.mjs +106 -0
- package/esm2020/datepicker/calendar.component.mjs +362 -0
- package/{esm2015/datepicker/datepicker-animations.js → esm2020/datepicker/datepicker-animations.mjs} +0 -0
- package/{esm2015/datepicker/datepicker-errors.js → esm2020/datepicker/datepicker-errors.mjs} +0 -0
- package/esm2020/datepicker/datepicker-input.directive.mjs +900 -0
- package/{esm2015/datepicker/datepicker-intl.js → esm2020/datepicker/datepicker-intl.mjs} +4 -4
- package/{esm2015/datepicker/datepicker-module.js → esm2020/datepicker/datepicker-module.mjs} +5 -5
- package/esm2020/datepicker/datepicker-toggle.component.mjs +86 -0
- package/esm2020/datepicker/datepicker.component.mjs +408 -0
- package/{esm2015/datepicker/index.js → esm2020/datepicker/index.mjs} +0 -0
- package/{esm2015/datepicker/month-view.component.js → esm2020/datepicker/month-view.component.mjs} +5 -11
- package/{esm2015/datepicker/multi-year-view.component.js → esm2020/datepicker/multi-year-view.component.mjs} +5 -11
- package/{esm2015/datepicker/ptsecurity-mosaic-datepicker.js → esm2020/datepicker/ptsecurity-mosaic-datepicker.mjs} +0 -0
- package/{esm2015/datepicker/public-api.js → esm2020/datepicker/public-api.mjs} +0 -0
- package/{esm2015/datepicker/year-view.component.js → esm2020/datepicker/year-view.component.mjs} +5 -11
- package/{esm2015/design-tokens/index.js → esm2020/design-tokens/index.mjs} +0 -0
- package/{esm2015/design-tokens/ptsecurity-mosaic-design-tokens.js → esm2020/design-tokens/ptsecurity-mosaic-design-tokens.mjs} +0 -0
- package/{esm2015/design-tokens/public-api.js → esm2020/design-tokens/public-api.mjs} +0 -0
- package/{esm2015/design-tokens/tokens.js → esm2020/design-tokens/tokens.mjs} +12 -10
- package/{esm2015/divider/divider.component.js → esm2020/divider/divider.component.mjs} +6 -13
- package/{esm2015/divider/divider.module.js → esm2020/divider/divider.module.mjs} +5 -5
- package/{esm2015/divider/index.js → esm2020/divider/index.mjs} +0 -0
- package/{esm2015/divider/ptsecurity-mosaic-divider.js → esm2020/divider/ptsecurity-mosaic-divider.mjs} +0 -0
- package/{esm2015/divider/public-api.js → esm2020/divider/public-api.mjs} +0 -0
- package/{esm2015/dropdown/dropdown-animations.js → esm2020/dropdown/dropdown-animations.mjs} +0 -0
- package/{esm2015/dropdown/dropdown-content.directive.js → esm2020/dropdown/dropdown-content.directive.mjs} +6 -8
- package/{esm2015/dropdown/dropdown-errors.js → esm2020/dropdown/dropdown-errors.mjs} +0 -0
- package/esm2020/dropdown/dropdown-item.component.mjs +139 -0
- package/esm2020/dropdown/dropdown-trigger.directive.mjs +485 -0
- package/esm2020/dropdown/dropdown.component.mjs +292 -0
- package/{esm2015/dropdown/dropdown.module.js → esm2020/dropdown/dropdown.module.mjs} +5 -5
- package/{esm2015/dropdown/dropdown.types.js → esm2020/dropdown/dropdown.types.mjs} +0 -0
- package/{esm2015/dropdown/index.js → esm2020/dropdown/index.mjs} +0 -0
- package/{esm2015/dropdown/ptsecurity-mosaic-dropdown.js → esm2020/dropdown/ptsecurity-mosaic-dropdown.mjs} +0 -0
- package/{esm2015/dropdown/public-api.js → esm2020/dropdown/public-api.mjs} +0 -0
- package/esm2020/form-field/cleaner.mjs +23 -0
- package/{esm2015/form-field/form-field-control.js → esm2020/form-field/form-field-control.mjs} +0 -0
- package/{esm2015/form-field/form-field-errors.js → esm2020/form-field/form-field-errors.mjs} +0 -0
- package/esm2020/form-field/form-field.mjs +205 -0
- package/{esm2015/form-field/form-field.module.js → esm2020/form-field/form-field.module.mjs} +5 -5
- package/{esm2015/form-field/hint.js → esm2020/form-field/hint.mjs} +4 -4
- package/{esm2015/form-field/index.js → esm2020/form-field/index.mjs} +0 -0
- package/{esm2015/form-field/prefix.js → esm2020/form-field/prefix.mjs} +4 -4
- package/{esm2015/form-field/ptsecurity-mosaic-form-field.js → esm2020/form-field/ptsecurity-mosaic-form-field.mjs} +0 -0
- package/{esm2015/form-field/public-api.js → esm2020/form-field/public-api.mjs} +0 -0
- package/{esm2015/form-field/stepper.js → esm2020/form-field/stepper.mjs} +4 -4
- package/{esm2015/form-field/suffix.js → esm2020/form-field/suffix.mjs} +4 -4
- package/esm2020/icon/icon.component.mjs +44 -0
- package/{esm2015/icon/icon.module.js → esm2020/icon/icon.module.mjs} +5 -5
- package/{esm2015/icon/index.js → esm2020/icon/index.mjs} +0 -0
- package/{esm2015/icon/ptsecurity-mosaic-icon.js → esm2020/icon/ptsecurity-mosaic-icon.mjs} +0 -0
- package/{esm2015/icon/public-api.js → esm2020/icon/public-api.mjs} +0 -0
- package/{esm2015/index.js → esm2020/index.mjs} +0 -0
- package/{esm2015/input/index.js → esm2020/input/index.mjs} +0 -0
- package/{esm2015/input/input-errors.js → esm2020/input/input-errors.mjs} +0 -0
- package/esm2020/input/input-number-validators.mjs +92 -0
- package/{esm2015/input/input-number.js → esm2020/input/input-number.mjs} +4 -4
- package/{esm2015/input/input-value-accessor.js → esm2020/input/input-value-accessor.mjs} +0 -0
- package/{esm2015/input/input.js → esm2020/input/input.mjs} +7 -7
- package/{esm2015/input/input.module.js → esm2020/input/input.module.mjs} +5 -5
- package/{esm2015/input/ptsecurity-mosaic-input.js → esm2020/input/ptsecurity-mosaic-input.mjs} +0 -0
- package/{esm2015/input/public-api.js → esm2020/input/public-api.mjs} +0 -0
- package/{esm2015/link/index.js → esm2020/link/index.mjs} +0 -0
- package/esm2020/link/link.component.mjs +107 -0
- package/{esm2015/link/link.module.js → esm2020/link/link.module.mjs} +5 -5
- package/{esm2015/link/ptsecurity-mosaic-link.js → esm2020/link/ptsecurity-mosaic-link.mjs} +0 -0
- package/{esm2015/link/public-api.js → esm2020/link/public-api.mjs} +0 -0
- package/{esm2015/list/index.js → esm2020/list/index.mjs} +0 -0
- package/esm2020/list/list-selection.component.mjs +693 -0
- package/esm2020/list/list.component.mjs +44 -0
- package/{esm2015/list/list.module.js → esm2020/list/list.module.mjs} +5 -5
- package/{esm2015/list/ptsecurity-mosaic-list.js → esm2020/list/ptsecurity-mosaic-list.mjs} +0 -0
- package/{esm2015/list/public-api.js → esm2020/list/public-api.mjs} +0 -0
- package/{esm2015/modal/css-unit.pipe.js → esm2020/modal/css-unit.pipe.mjs} +4 -4
- package/{esm2015/modal/index.js → esm2020/modal/index.mjs} +0 -0
- package/{esm2015/modal/modal-control.service.js → esm2020/modal/modal-control.service.mjs} +4 -4
- package/{esm2015/modal/modal-ref.class.js → esm2020/modal/modal-ref.class.mjs} +0 -0
- package/{esm2015/modal/modal-util.js → esm2020/modal/modal-util.mjs} +0 -0
- package/esm2020/modal/modal.component.mjs +501 -0
- package/{esm2015/modal/modal.directive.js → esm2020/modal/modal.directive.mjs} +13 -13
- package/esm2020/modal/modal.module.mjs +72 -0
- package/esm2020/modal/modal.service.mjs +124 -0
- package/{esm2015/modal/modal.type.js → esm2020/modal/modal.type.mjs} +0 -0
- package/{esm2015/modal/ptsecurity-mosaic-modal.js → esm2020/modal/ptsecurity-mosaic-modal.mjs} +0 -0
- package/{esm2015/modal/public-api.js → esm2020/modal/public-api.mjs} +0 -0
- package/{esm2015/navbar/index.js → esm2020/navbar/index.mjs} +0 -0
- package/esm2020/navbar/navbar-item.component.mjs +577 -0
- package/esm2020/navbar/navbar.component.mjs +237 -0
- package/esm2020/navbar/navbar.module.mjs +92 -0
- package/{esm2015/navbar/ptsecurity-mosaic-navbar.js → esm2020/navbar/ptsecurity-mosaic-navbar.mjs} +0 -0
- package/{esm2015/navbar/public-api.js → esm2020/navbar/public-api.mjs} +0 -0
- package/{esm2015/navbar/vertical-navbar.animation.js → esm2020/navbar/vertical-navbar.animation.mjs} +2 -2
- package/esm2020/navbar/vertical-navbar.component.mjs +114 -0
- package/{esm2015/popover/index.js → esm2020/popover/index.mjs} +0 -0
- package/{esm2015/popover/popover-animations.js → esm2020/popover/popover-animations.mjs} +0 -0
- package/esm2020/popover/popover-confirm.component.mjs +108 -0
- package/esm2020/popover/popover.component.mjs +253 -0
- package/esm2020/popover/popover.module.mjs +24 -0
- package/{esm2015/popover/ptsecurity-mosaic-popover.js → esm2020/popover/ptsecurity-mosaic-popover.mjs} +0 -0
- package/{esm2015/popover/public-api.js → esm2020/popover/public-api.mjs} +2 -1
- package/{esm2015/progress-bar/index.js → esm2020/progress-bar/index.mjs} +0 -0
- package/esm2020/progress-bar/progress-bar.component.mjs +42 -0
- package/{esm2015/progress-bar/progress-bar.module.js → esm2020/progress-bar/progress-bar.module.mjs} +5 -5
- package/{esm2015/progress-bar/ptsecurity-mosaic-progress-bar.js → esm2020/progress-bar/ptsecurity-mosaic-progress-bar.mjs} +0 -0
- package/{esm2015/progress-bar/public-api.js → esm2020/progress-bar/public-api.mjs} +0 -0
- package/{esm2015/progress-spinner/index.js → esm2020/progress-spinner/index.mjs} +0 -0
- package/esm2020/progress-spinner/progress-spinner.component.mjs +46 -0
- package/{esm2015/progress-spinner/progress-spinner.module.js → esm2020/progress-spinner/progress-spinner.module.mjs} +5 -5
- package/{esm2015/progress-spinner/ptsecurity-mosaic-progress-spinner.js → esm2020/progress-spinner/ptsecurity-mosaic-progress-spinner.mjs} +0 -0
- package/{esm2015/progress-spinner/public-api.js → esm2020/progress-spinner/public-api.mjs} +0 -0
- package/{esm2015/ptsecurity-mosaic.js → esm2020/ptsecurity-mosaic.mjs} +0 -0
- package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
- package/{esm2015/radio/index.js → esm2020/radio/index.mjs} +0 -0
- package/{esm2015/radio/ptsecurity-mosaic-radio.js → esm2020/radio/ptsecurity-mosaic-radio.mjs} +0 -0
- package/{esm2015/radio/public-api.js → esm2020/radio/public-api.mjs} +0 -0
- package/esm2020/radio/radio.component.mjs +458 -0
- package/{esm2015/radio/radio.module.js → esm2020/radio/radio.module.mjs} +5 -5
- package/{esm2015/select/index.js → esm2020/select/index.mjs} +0 -0
- package/{esm2015/select/ptsecurity-mosaic-select.js → esm2020/select/ptsecurity-mosaic-select.mjs} +0 -0
- package/{esm2015/select/public-api.js → esm2020/select/public-api.mjs} +0 -0
- package/esm2020/select/select.component.mjs +1110 -0
- package/{esm2015/select/select.module.js → esm2020/select/select.module.mjs} +5 -5
- package/{esm2015/sidebar/index.js → esm2020/sidebar/index.mjs} +0 -0
- package/{esm2015/sidebar/ptsecurity-mosaic-sidebar.js → esm2020/sidebar/ptsecurity-mosaic-sidebar.mjs} +0 -0
- package/{esm2015/sidebar/public-api.js → esm2020/sidebar/public-api.mjs} +0 -0
- package/{esm2015/sidebar/sidebar-animations.js → esm2020/sidebar/sidebar-animations.mjs} +0 -0
- package/esm2020/sidebar/sidebar.component.mjs +146 -0
- package/{esm2015/sidebar/sidebar.module.js → esm2020/sidebar/sidebar.module.mjs} +5 -5
- package/{esm2015/sidepanel/index.js → esm2020/sidepanel/index.mjs} +0 -0
- package/{esm2015/sidepanel/ptsecurity-mosaic-sidepanel.js → esm2020/sidepanel/ptsecurity-mosaic-sidepanel.mjs} +0 -0
- package/{esm2015/sidepanel/public-api.js → esm2020/sidepanel/public-api.mjs} +0 -0
- package/{esm2015/sidepanel/sidepanel-animations.js → esm2020/sidepanel/sidepanel-animations.mjs} +0 -0
- package/{esm2015/sidepanel/sidepanel-config.js → esm2020/sidepanel/sidepanel-config.mjs} +0 -0
- package/esm2020/sidepanel/sidepanel-container.component.mjs +106 -0
- package/esm2020/sidepanel/sidepanel-directives.mjs +159 -0
- package/{esm2015/sidepanel/sidepanel-ref.js → esm2020/sidepanel/sidepanel-ref.mjs} +0 -0
- package/esm2020/sidepanel/sidepanel.module.mjs +74 -0
- package/esm2020/sidepanel/sidepanel.service.mjs +167 -0
- package/{esm2015/splitter/index.js → esm2020/splitter/index.mjs} +0 -0
- package/{esm2015/splitter/ptsecurity-mosaic-splitter.js → esm2020/splitter/ptsecurity-mosaic-splitter.mjs} +0 -0
- package/{esm2015/splitter/public-api.js → esm2020/splitter/public-api.mjs} +0 -0
- package/esm2020/splitter/splitter.component.mjs +480 -0
- package/esm2020/splitter/splitter.module.mjs +40 -0
- package/{esm2015/table/index.js → esm2020/table/index.mjs} +0 -0
- package/{esm2015/table/ptsecurity-mosaic-table.js → esm2020/table/ptsecurity-mosaic-table.mjs} +0 -0
- package/{esm2015/table/public-api.js → esm2020/table/public-api.mjs} +0 -0
- package/{esm2015/table/table.component.js → esm2020/table/table.component.mjs} +4 -4
- package/{esm2015/table/table.module.js → esm2020/table/table.module.mjs} +5 -5
- package/{esm2015/tabs/index.js → esm2020/tabs/index.mjs} +0 -0
- package/esm2020/tabs/paginated-tab-header.mjs +479 -0
- package/{esm2015/tabs/ptsecurity-mosaic-tabs.js → esm2020/tabs/ptsecurity-mosaic-tabs.mjs} +0 -0
- package/{esm2015/tabs/public-api.js → esm2020/tabs/public-api.mjs} +0 -0
- package/esm2020/tabs/tab-body.component.mjs +178 -0
- package/{esm2015/tabs/tab-content.directive.js → esm2020/tabs/tab-content.directive.mjs} +4 -4
- package/esm2020/tabs/tab-group.component.mjs +350 -0
- package/esm2020/tabs/tab-header.component.mjs +67 -0
- package/{esm2015/tabs/tab-label-wrapper.directive.js → esm2020/tabs/tab-label-wrapper.directive.mjs} +4 -4
- package/{esm2015/tabs/tab-label.directive.js → esm2020/tabs/tab-label.directive.mjs} +4 -4
- package/{esm2015/tabs/tab-nav-bar/index.js → esm2020/tabs/tab-nav-bar/index.mjs} +0 -0
- package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +110 -0
- package/{esm2015/tabs/tab.component.js → esm2020/tabs/tab.component.mjs} +4 -4
- package/{esm2015/tabs/tabs-animations.js → esm2020/tabs/tabs-animations.mjs} +0 -0
- package/{esm2015/tabs/tabs.module.js → esm2020/tabs/tabs.module.mjs} +5 -5
- package/{esm2015/tags/index.js → esm2020/tags/index.mjs} +0 -0
- package/{esm2015/tags/ptsecurity-mosaic-tags.js → esm2020/tags/ptsecurity-mosaic-tags.mjs} +0 -0
- package/{esm2015/tags/public-api.js → esm2020/tags/public-api.mjs} +0 -0
- package/{esm2015/tags/tag-default-options.js → esm2020/tags/tag-default-options.mjs} +0 -0
- package/{esm2015/tags/tag-input.js → esm2020/tags/tag-input.mjs} +4 -4
- package/esm2020/tags/tag-list.component.mjs +722 -0
- package/{esm2015/tags/tag-text-control.js → esm2020/tags/tag-text-control.mjs} +0 -0
- package/esm2020/tags/tag.component.mjs +374 -0
- package/{esm2015/tags/tag.module.js → esm2020/tags/tag.module.mjs} +5 -5
- package/{esm2015/textarea/index.js → esm2020/textarea/index.mjs} +0 -0
- package/{esm2015/textarea/ptsecurity-mosaic-textarea.js → esm2020/textarea/ptsecurity-mosaic-textarea.mjs} +0 -0
- package/{esm2015/textarea/public-api.js → esm2020/textarea/public-api.mjs} +0 -0
- package/{esm2015/textarea/textarea.component.js → esm2020/textarea/textarea.component.mjs} +4 -4
- package/{esm2015/textarea/textarea.module.js → esm2020/textarea/textarea.module.mjs} +5 -5
- package/{esm2015/timepicker/index.js → esm2020/timepicker/index.mjs} +0 -0
- package/{esm2015/timepicker/ptsecurity-mosaic-timepicker.js → esm2020/timepicker/ptsecurity-mosaic-timepicker.mjs} +0 -0
- package/{esm2015/timepicker/public-api.js → esm2020/timepicker/public-api.mjs} +0 -0
- package/{esm2015/timepicker/timepicker.constants.js → esm2020/timepicker/timepicker.constants.mjs} +0 -0
- package/esm2020/timepicker/timepicker.directive.mjs +653 -0
- package/{esm2015/timepicker/timepicker.module.js → esm2020/timepicker/timepicker.module.mjs} +5 -5
- package/{esm2015/toggle/index.js → esm2020/toggle/index.mjs} +0 -0
- package/{esm2015/toggle/ptsecurity-mosaic-toggle.js → esm2020/toggle/ptsecurity-mosaic-toggle.mjs} +0 -0
- package/{esm2015/toggle/public-api.js → esm2020/toggle/public-api.mjs} +0 -0
- package/esm2020/toggle/toggle.component.mjs +158 -0
- package/{esm2015/toggle/toggle.module.js → esm2020/toggle/toggle.module.mjs} +5 -5
- package/{esm2015/tooltip/index.js → esm2020/tooltip/index.mjs} +0 -0
- package/{esm2015/tooltip/ptsecurity-mosaic-tooltip.js → esm2020/tooltip/ptsecurity-mosaic-tooltip.mjs} +0 -0
- package/{esm2015/tooltip/public-api.js → esm2020/tooltip/public-api.mjs} +0 -0
- package/{esm2015/tooltip/tooltip.animations.js → esm2020/tooltip/tooltip.animations.mjs} +0 -0
- package/esm2020/tooltip/tooltip.component.mjs +291 -0
- package/{esm2015/tooltip/tooltip.module.js → esm2020/tooltip/tooltip.module.mjs} +5 -5
- package/{esm2015/tree/control/base-tree-control.js → esm2020/tree/control/base-tree-control.mjs} +0 -0
- package/{esm2015/tree/control/flat-tree-control.js → esm2020/tree/control/flat-tree-control.mjs} +0 -0
- package/{esm2015/tree/control/nested-tree-control.js → esm2020/tree/control/nested-tree-control.mjs} +0 -0
- package/{esm2015/tree/control/tree-control.js → esm2020/tree/control/tree-control.mjs} +0 -0
- package/{esm2015/tree/data-source/flat-data-source.js → esm2020/tree/data-source/flat-data-source.mjs} +0 -0
- package/{esm2015/tree/data-source/nested-data-source.js → esm2020/tree/data-source/nested-data-source.mjs} +0 -0
- package/{esm2015/tree/index.js → esm2020/tree/index.mjs} +0 -0
- package/{esm2015/tree/node.js → esm2020/tree/node.mjs} +4 -4
- package/{esm2015/tree/outlet.js → esm2020/tree/outlet.mjs} +4 -4
- package/esm2020/tree/padding.directive.mjs +110 -0
- package/{esm2015/tree/ptsecurity-mosaic-tree.js → esm2020/tree/ptsecurity-mosaic-tree.mjs} +0 -0
- package/{esm2015/tree/public-api.js → esm2020/tree/public-api.mjs} +0 -0
- package/esm2020/tree/toggle.mjs +80 -0
- package/{esm2015/tree/tree-base.js → esm2020/tree/tree-base.mjs} +7 -7
- package/{esm2015/tree/tree-errors.js → esm2020/tree/tree-errors.mjs} +0 -0
- package/esm2020/tree/tree-option.component.mjs +226 -0
- package/esm2020/tree/tree-selection.component.mjs +530 -0
- package/esm2020/tree/tree.mjs +15 -0
- package/esm2020/tree/tree.module.mjs +53 -0
- package/{esm2015/tree-select/index.js → esm2020/tree-select/index.mjs} +0 -0
- package/{esm2015/tree-select/ptsecurity-mosaic-tree-select.js → esm2020/tree-select/ptsecurity-mosaic-tree-select.mjs} +0 -0
- package/{esm2015/tree-select/public-api.js → esm2020/tree-select/public-api.mjs} +0 -0
- package/esm2020/tree-select/tree-select.component.mjs +889 -0
- package/{esm2015/tree-select/tree-select.module.js → esm2020/tree-select/tree-select.module.mjs} +5 -5
- package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +756 -0
- package/fesm2015/ptsecurity-mosaic-autocomplete.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +385 -0
- package/fesm2015/ptsecurity-mosaic-button-toggle.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-button.mjs +170 -0
- package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -0
- package/fesm2015/{ptsecurity-mosaic-card.js → ptsecurity-mosaic-card.mjs} +10 -18
- package/fesm2015/ptsecurity-mosaic-card.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-checkbox.mjs +366 -0
- package/fesm2015/ptsecurity-mosaic-checkbox.mjs.map +1 -0
- package/fesm2015/{ptsecurity-mosaic-core.js → ptsecurity-mosaic-core.mjs} +186 -241
- package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-datepicker.mjs +2700 -0
- package/fesm2015/ptsecurity-mosaic-datepicker.mjs.map +1 -0
- package/fesm2015/{ptsecurity-mosaic-design-tokens.js → ptsecurity-mosaic-design-tokens.mjs} +13 -11
- package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-divider.mjs +61 -0
- package/fesm2015/ptsecurity-mosaic-divider.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-dropdown.mjs +1106 -0
- package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-form-field.mjs +378 -0
- package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-icon.mjs +88 -0
- package/fesm2015/ptsecurity-mosaic-icon.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-input.mjs +609 -0
- package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -0
- package/fesm2015/{ptsecurity-mosaic-link.js → ptsecurity-mosaic-link.mjs} +8 -8
- package/fesm2015/ptsecurity-mosaic-link.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-list.mjs +796 -0
- package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-modal.mjs +842 -0
- package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-navbar.mjs +1025 -0
- package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-popover.mjs +393 -0
- package/fesm2015/ptsecurity-mosaic-popover.mjs.map +1 -0
- package/fesm2015/{ptsecurity-mosaic-progress-bar.js → ptsecurity-mosaic-progress-bar.mjs} +10 -18
- package/fesm2015/ptsecurity-mosaic-progress-bar.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +80 -0
- package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-radio.mjs +481 -0
- package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-select.mjs +1175 -0
- package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -0
- package/fesm2015/{ptsecurity-mosaic-sidebar.js → ptsecurity-mosaic-sidebar.mjs} +16 -25
- package/fesm2015/ptsecurity-mosaic-sidebar.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +592 -0
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-splitter.mjs +524 -0
- package/fesm2015/ptsecurity-mosaic-splitter.mjs.map +1 -0
- package/fesm2015/{ptsecurity-mosaic-table.js → ptsecurity-mosaic-table.mjs} +8 -8
- package/fesm2015/ptsecurity-mosaic-table.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-tabs.mjs +1511 -0
- package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-tags.mjs +1372 -0
- package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-textarea.mjs +293 -0
- package/fesm2015/ptsecurity-mosaic-textarea.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-timepicker.mjs +715 -0
- package/fesm2015/ptsecurity-mosaic-timepicker.mjs.map +1 -0
- package/fesm2015/{ptsecurity-mosaic-toggle.js → ptsecurity-mosaic-toggle.mjs} +12 -23
- package/fesm2015/ptsecurity-mosaic-toggle.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs +362 -0
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs +932 -0
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-tree.mjs +1707 -0
- package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -0
- package/fesm2015/{ptsecurity-mosaic.js → ptsecurity-mosaic.mjs} +1 -1
- package/fesm2015/ptsecurity-mosaic.mjs.map +1 -0
- package/{fesm2015/ptsecurity-mosaic-autocomplete.js → fesm2020/ptsecurity-mosaic-autocomplete.mjs} +17 -26
- package/fesm2020/ptsecurity-mosaic-autocomplete.mjs.map +1 -0
- package/{fesm2015/ptsecurity-mosaic-button-toggle.js → fesm2020/ptsecurity-mosaic-button-toggle.mjs} +15 -23
- package/fesm2020/ptsecurity-mosaic-button-toggle.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-button.mjs +170 -0
- package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-card.mjs +113 -0
- package/fesm2020/ptsecurity-mosaic-card.mjs.map +1 -0
- package/{fesm2015/ptsecurity-mosaic-checkbox.js → fesm2020/ptsecurity-mosaic-checkbox.mjs} +13 -23
- package/fesm2020/ptsecurity-mosaic-checkbox.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-core.mjs +2688 -0
- package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -0
- package/{fesm2015/ptsecurity-mosaic-datepicker.js → fesm2020/ptsecurity-mosaic-datepicker.mjs} +77 -121
- package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +939 -0
- package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-divider.mjs +61 -0
- package/fesm2020/ptsecurity-mosaic-divider.mjs.map +1 -0
- package/{fesm2015/ptsecurity-mosaic-dropdown.js → fesm2020/ptsecurity-mosaic-dropdown.mjs} +45 -53
- package/fesm2020/ptsecurity-mosaic-dropdown.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-form-field.mjs +377 -0
- package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-icon.mjs +86 -0
- package/fesm2020/ptsecurity-mosaic-icon.mjs.map +1 -0
- package/{fesm2015/ptsecurity-mosaic-input.js → fesm2020/ptsecurity-mosaic-input.mjs} +41 -27
- package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-link.mjs +136 -0
- package/fesm2020/ptsecurity-mosaic-link.mjs.map +1 -0
- package/{fesm2015/ptsecurity-mosaic-list.js → fesm2020/ptsecurity-mosaic-list.mjs} +41 -70
- package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -0
- package/{fesm2015/ptsecurity-mosaic-modal.js → fesm2020/ptsecurity-mosaic-modal.mjs} +63 -59
- package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-navbar.mjs +1009 -0
- package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-popover.mjs +389 -0
- package/fesm2020/ptsecurity-mosaic-popover.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +76 -0
- package/fesm2020/ptsecurity-mosaic-progress-bar.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +80 -0
- package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs.map +1 -0
- package/{fesm2015/ptsecurity-mosaic-radio.js → fesm2020/ptsecurity-mosaic-radio.mjs} +13 -22
- package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -0
- package/{fesm2015/ptsecurity-mosaic-select.js → fesm2020/ptsecurity-mosaic-select.mjs} +23 -35
- package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-sidebar.mjs +202 -0
- package/fesm2020/ptsecurity-mosaic-sidebar.mjs.map +1 -0
- package/{fesm2015/ptsecurity-mosaic-sidepanel.js → fesm2020/ptsecurity-mosaic-sidepanel.mjs} +57 -53
- package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-splitter.mjs +524 -0
- package/fesm2020/ptsecurity-mosaic-splitter.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-table.mjs +50 -0
- package/fesm2020/ptsecurity-mosaic-table.mjs.map +1 -0
- package/{fesm2015/ptsecurity-mosaic-tabs.js → fesm2020/ptsecurity-mosaic-tabs.mjs} +65 -102
- package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -0
- package/{fesm2015/ptsecurity-mosaic-tags.js → fesm2020/ptsecurity-mosaic-tags.mjs} +29 -47
- package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -0
- package/{fesm2015/ptsecurity-mosaic-textarea.js → fesm2020/ptsecurity-mosaic-textarea.mjs} +8 -8
- package/fesm2020/ptsecurity-mosaic-textarea.mjs.map +1 -0
- package/{fesm2015/ptsecurity-mosaic-timepicker.js → fesm2020/ptsecurity-mosaic-timepicker.mjs} +16 -15
- package/fesm2020/ptsecurity-mosaic-timepicker.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-toggle.mjs +180 -0
- package/fesm2020/ptsecurity-mosaic-toggle.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-tooltip.mjs +354 -0
- package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -0
- package/{fesm2015/ptsecurity-mosaic-tree-select.js → fesm2020/ptsecurity-mosaic-tree-select.mjs} +16 -27
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -0
- package/{fesm2015/ptsecurity-mosaic-tree.js → fesm2020/ptsecurity-mosaic-tree.mjs} +61 -108
- package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic.mjs +4 -0
- package/fesm2020/ptsecurity-mosaic.mjs.map +1 -0
- package/form-field/README.md +0 -0
- package/form-field/cleaner.d.ts +2 -0
- package/form-field/package.json +5 -5
- package/icon/README.md +0 -0
- package/icon/package.json +5 -5
- package/input/input-number-validators.d.ts +2 -2
- package/input/package.json +5 -5
- package/link/README.md +0 -0
- package/link/package.json +5 -5
- package/list/README.md +0 -0
- package/list/package.json +5 -5
- package/modal/README.md +34 -0
- package/modal/modal.component.d.ts +2 -0
- package/modal/modal.module.d.ts +1 -1
- package/modal/package.json +5 -5
- package/navbar/README.md +41 -0
- package/navbar/navbar-item.component.d.ts +122 -34
- package/navbar/navbar.component.d.ts +37 -9
- package/navbar/navbar.module.d.ts +2 -1
- package/navbar/package.json +5 -5
- package/navbar/vertical-navbar.component.d.ts +15 -26
- package/package.json +299 -14
- package/popover/README.md +32 -0
- package/popover/package.json +5 -5
- package/popover/popover-confirm.component.d.ts +33 -0
- package/popover/popover.component.d.ts +14 -4
- package/popover/popover.module.d.ts +6 -3
- package/popover/public-api.d.ts +1 -0
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/default-theme.css +1 -1
- package/prebuilt-visual/default-visual.css +1 -1
- package/progress-bar/README.md +0 -0
- package/progress-bar/package.json +5 -5
- package/progress-spinner/README.md +0 -0
- package/progress-spinner/package.json +5 -5
- package/radio/package.json +5 -5
- package/schematics/README.md +35 -0
- package/schematics/ng-update/data/index.d.ts +1 -0
- package/schematics/ng-update/data/index.js +10 -9
- package/schematics/ng-update/data/index.js.map +1 -1
- package/schematics/ng-update/data/symbol-removal.d.ts +2 -0
- package/schematics/ng-update/data/symbol-removal.js +5 -0
- package/schematics/ng-update/data/symbol-removal.js.map +1 -0
- package/schematics/ng-update/index.js +3 -3
- package/schematics/ng-update/index.js.map +1 -1
- package/schematics/ng-update/update-9.0.0/secondary-entry-points-migration.js +1 -2
- package/schematics/ng-update/update-9.0.0/secondary-entry-points-migration.js.map +1 -1
- package/schematics/ng-update/upgrade-data.js +2 -1
- package/schematics/ng-update/upgrade-data.js.map +1 -1
- package/schematics/tsconfig.lib.json +2 -2
- package/select/README.md +0 -0
- package/select/package.json +5 -5
- package/select/select.component.d.ts +2 -7
- package/sidebar/package.json +5 -5
- package/sidepanel/package.json +5 -5
- package/sidepanel/sidepanel-directives.d.ts +2 -0
- package/sidepanel/sidepanel.module.d.ts +2 -1
- package/splitter/package.json +5 -5
- package/splitter/splitter.component.d.ts +46 -5
- package/splitter/splitter.module.d.ts +1 -1
- package/table/README.md +0 -0
- package/table/package.json +5 -5
- package/tabs/README.md +0 -0
- package/tabs/package.json +5 -5
- package/tags/README.md +0 -0
- package/tags/package.json +5 -5
- package/textarea/README.md +0 -0
- package/textarea/package.json +5 -5
- package/timepicker/README.md +0 -0
- package/timepicker/package.json +5 -5
- package/toggle/package.json +5 -5
- package/tooltip/package.json +5 -5
- package/tooltip/tooltip.component.d.ts +12 -3
- package/tree/package.json +5 -5
- package/tree/padding.directive.d.ts +1 -1
- package/tree/tree-option.component.d.ts +1 -1
- package/tree/tree-selection.component.d.ts +2 -2
- package/tree/tree.module.d.ts +1 -1
- package/tree-select/README.md +0 -0
- package/tree-select/package.json +5 -5
- package/tree-select/tree-select.component.d.ts +2 -7
- package/bundles/ptsecurity-mosaic-autocomplete.umd.js +0 -1162
- package/bundles/ptsecurity-mosaic-autocomplete.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-button-toggle.umd.js +0 -757
- package/bundles/ptsecurity-mosaic-button-toggle.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-button.umd.js +0 -535
- package/bundles/ptsecurity-mosaic-button.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-card.umd.js +0 -481
- package/bundles/ptsecurity-mosaic-card.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-checkbox.umd.js +0 -764
- package/bundles/ptsecurity-mosaic-checkbox.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-core.umd.js +0 -2887
- package/bundles/ptsecurity-mosaic-core.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-datepicker.umd.js +0 -3357
- package/bundles/ptsecurity-mosaic-datepicker.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-design-tokens.umd.js +0 -1872
- package/bundles/ptsecurity-mosaic-design-tokens.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-divider.umd.js +0 -108
- package/bundles/ptsecurity-mosaic-divider.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-dropdown.umd.js +0 -1519
- package/bundles/ptsecurity-mosaic-dropdown.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-form-field.umd.js +0 -789
- package/bundles/ptsecurity-mosaic-form-field.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-icon.umd.js +0 -452
- package/bundles/ptsecurity-mosaic-icon.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-input.umd.js +0 -996
- package/bundles/ptsecurity-mosaic-input.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-link.umd.js +0 -517
- package/bundles/ptsecurity-mosaic-link.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-list.umd.js +0 -1250
- package/bundles/ptsecurity-mosaic-list.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-modal.umd.js +0 -1304
- package/bundles/ptsecurity-mosaic-modal.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-navbar.umd.js +0 -932
- package/bundles/ptsecurity-mosaic-navbar.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-popover.umd.js +0 -655
- package/bundles/ptsecurity-mosaic-popover.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-progress-bar.umd.js +0 -442
- package/bundles/ptsecurity-mosaic-progress-bar.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-progress-spinner.umd.js +0 -450
- package/bundles/ptsecurity-mosaic-progress-spinner.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-radio.umd.js +0 -903
- package/bundles/ptsecurity-mosaic-radio.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-select.umd.js +0 -1608
- package/bundles/ptsecurity-mosaic-select.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-sidebar.umd.js +0 -256
- package/bundles/ptsecurity-mosaic-sidebar.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-sidepanel.umd.js +0 -950
- package/bundles/ptsecurity-mosaic-sidepanel.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-splitter.umd.js +0 -438
- package/bundles/ptsecurity-mosaic-splitter.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-table.umd.js +0 -83
- package/bundles/ptsecurity-mosaic-table.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-tabs.umd.js +0 -2015
- package/bundles/ptsecurity-mosaic-tabs.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-tags.umd.js +0 -1913
- package/bundles/ptsecurity-mosaic-tags.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-textarea.umd.js +0 -666
- package/bundles/ptsecurity-mosaic-textarea.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-timepicker.umd.js +0 -822
- package/bundles/ptsecurity-mosaic-timepicker.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-toggle.umd.js +0 -559
- package/bundles/ptsecurity-mosaic-toggle.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-tooltip.umd.js +0 -728
- package/bundles/ptsecurity-mosaic-tooltip.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-tree-select.umd.js +0 -1370
- package/bundles/ptsecurity-mosaic-tree-select.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic-tree.umd.js +0 -2309
- package/bundles/ptsecurity-mosaic-tree.umd.js.map +0 -1
- package/bundles/ptsecurity-mosaic.umd.js +0 -11
- package/bundles/ptsecurity-mosaic.umd.js.map +0 -1
- package/esm2015/autocomplete/autocomplete.component.js +0 -163
- package/esm2015/button/button.component.js +0 -129
- package/esm2015/button/button.module.js +0 -42
- package/esm2015/button-toggle/button-toggle.component.js +0 -370
- package/esm2015/card/card.component.js +0 -88
- package/esm2015/checkbox/checkbox.js +0 -325
- package/esm2015/core/formatters/date/formatter.js +0 -287
- package/esm2015/core/formatters/date/templates/en-US.js +0 -280
- package/esm2015/core/formatters/date/templates/ru-RU.js +0 -280
- package/esm2015/core/formatters/number/formatter.js +0 -99
- package/esm2015/core/option/action.js +0 -131
- package/esm2015/core/option/optgroup.js +0 -40
- package/esm2015/core/option/option.js +0 -262
- package/esm2015/core/pop-up/pop-up-trigger.js +0 -273
- package/esm2015/core/pop-up/pop-up.js +0 -87
- package/esm2015/core/selection/pseudo-checkbox/pseudo-checkbox.js +0 -45
- package/esm2015/datepicker/calendar-body.component.js +0 -114
- package/esm2015/datepicker/calendar.component.js +0 -377
- package/esm2015/datepicker/datepicker-input.directive.js +0 -885
- package/esm2015/datepicker/datepicker-toggle.component.js +0 -94
- package/esm2015/datepicker/datepicker.component.js +0 -418
- package/esm2015/dropdown/dropdown-item.component.js +0 -142
- package/esm2015/dropdown/dropdown-trigger.directive.js +0 -478
- package/esm2015/dropdown/dropdown.component.js +0 -302
- package/esm2015/form-field/cleaner.js +0 -19
- package/esm2015/form-field/form-field.js +0 -224
- package/esm2015/icon/icon.component.js +0 -51
- package/esm2015/input/input-number-validators.js +0 -78
- package/esm2015/link/link.component.js +0 -108
- package/esm2015/list/list-selection.component.js +0 -708
- package/esm2015/list/list.component.js +0 -58
- package/esm2015/modal/modal.component.js +0 -506
- package/esm2015/modal/modal.module.js +0 -70
- package/esm2015/modal/modal.service.js +0 -117
- package/esm2015/navbar/navbar-item.component.js +0 -209
- package/esm2015/navbar/navbar.component.js +0 -118
- package/esm2015/navbar/navbar.module.js +0 -76
- package/esm2015/navbar/vertical-navbar.component.js +0 -140
- package/esm2015/popover/popover.component.js +0 -219
- package/esm2015/popover/popover.module.js +0 -21
- package/esm2015/progress-bar/progress-bar.component.js +0 -50
- package/esm2015/progress-spinner/progress-spinner.component.js +0 -54
- package/esm2015/radio/radio.component.js +0 -467
- package/esm2015/select/select.component.js +0 -1122
- package/esm2015/sidebar/sidebar.component.js +0 -155
- package/esm2015/sidepanel/sidepanel-container.component.js +0 -113
- package/esm2015/sidepanel/sidepanel-directives.js +0 -155
- package/esm2015/sidepanel/sidepanel.module.js +0 -70
- package/esm2015/sidepanel/sidepanel.service.js +0 -163
- package/esm2015/splitter/splitter.component.js +0 -331
- package/esm2015/splitter/splitter.module.js +0 -38
- package/esm2015/tabs/paginated-tab-header.js +0 -482
- package/esm2015/tabs/tab-body.component.js +0 -186
- package/esm2015/tabs/tab-group.component.js +0 -359
- package/esm2015/tabs/tab-header.component.js +0 -76
- package/esm2015/tabs/tab-nav-bar/tab-nav-bar.js +0 -118
- package/esm2015/tags/tag-list.component.js +0 -732
- package/esm2015/tags/tag.component.js +0 -382
- package/esm2015/timepicker/timepicker.directive.js +0 -652
- package/esm2015/toggle/toggle.component.js +0 -169
- package/esm2015/tooltip/tooltip.component.js +0 -260
- package/esm2015/tree/padding.directive.js +0 -114
- package/esm2015/tree/toggle.js +0 -89
- package/esm2015/tree/tree-option.component.js +0 -238
- package/esm2015/tree/tree-selection.component.js +0 -541
- package/esm2015/tree/tree.js +0 -23
- package/esm2015/tree/tree.module.js +0 -56
- package/esm2015/tree-select/tree-select.component.js +0 -900
- package/fesm2015/ptsecurity-mosaic-autocomplete.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-button-toggle.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-button.js +0 -174
- package/fesm2015/ptsecurity-mosaic-button.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-card.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-checkbox.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-core.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-datepicker.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-design-tokens.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-divider.js +0 -68
- package/fesm2015/ptsecurity-mosaic-divider.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-dropdown.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-form-field.js +0 -393
- package/fesm2015/ptsecurity-mosaic-form-field.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-icon.js +0 -93
- package/fesm2015/ptsecurity-mosaic-icon.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-input.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-link.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-list.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-modal.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-navbar.js +0 -539
- package/fesm2015/ptsecurity-mosaic-navbar.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-popover.js +0 -257
- package/fesm2015/ptsecurity-mosaic-popover.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-progress-bar.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-progress-spinner.js +0 -88
- package/fesm2015/ptsecurity-mosaic-progress-spinner.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-radio.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-select.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-sidebar.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-sidepanel.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-splitter.js +0 -373
- package/fesm2015/ptsecurity-mosaic-splitter.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-table.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-tabs.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-tags.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-textarea.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-timepicker.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-toggle.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-tooltip.js +0 -323
- package/fesm2015/ptsecurity-mosaic-tooltip.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-tree-select.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic-tree.js.map +0 -1
- package/fesm2015/ptsecurity-mosaic.js.map +0 -1
@@ -1,764 +0,0 @@
|
|
1
|
-
(function (global, factory) {
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@ptsecurity/mosaic/core'), require('@angular/cdk/a11y'), require('@angular/common')) :
|
3
|
-
typeof define === 'function' && define.amd ? define('@ptsecurity/mosaic/checkbox', ['exports', '@angular/core', '@angular/forms', '@ptsecurity/mosaic/core', '@angular/cdk/a11y', '@angular/common'], factory) :
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.ptsecurity = global.ptsecurity || {}, global.ptsecurity.mosaic = global.ptsecurity.mosaic || {}, global.ptsecurity.mosaic.checkbox = {}), global.ng.core, global.ng.forms, global.ptsecurity.mosaic.core, global.ng.cdk.a11y, global.ng.common));
|
5
|
-
}(this, (function (exports, i0, forms, core, i1, common) { 'use strict';
|
6
|
-
|
7
|
-
function _interopNamespace(e) {
|
8
|
-
if (e && e.__esModule) return e;
|
9
|
-
var n = Object.create(null);
|
10
|
-
if (e) {
|
11
|
-
Object.keys(e).forEach(function (k) {
|
12
|
-
if (k !== 'default') {
|
13
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
14
|
-
Object.defineProperty(n, k, d.get ? d : {
|
15
|
-
enumerable: true,
|
16
|
-
get: function () {
|
17
|
-
return e[k];
|
18
|
-
}
|
19
|
-
});
|
20
|
-
}
|
21
|
-
});
|
22
|
-
}
|
23
|
-
n['default'] = e;
|
24
|
-
return Object.freeze(n);
|
25
|
-
}
|
26
|
-
|
27
|
-
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
28
|
-
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
29
|
-
|
30
|
-
/*! *****************************************************************************
|
31
|
-
Copyright (c) Microsoft Corporation.
|
32
|
-
|
33
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
34
|
-
purpose with or without fee is hereby granted.
|
35
|
-
|
36
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
37
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
38
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
39
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
40
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
41
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
42
|
-
PERFORMANCE OF THIS SOFTWARE.
|
43
|
-
***************************************************************************** */
|
44
|
-
/* global Reflect, Promise */
|
45
|
-
var extendStatics = function (d, b) {
|
46
|
-
extendStatics = Object.setPrototypeOf ||
|
47
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
48
|
-
function (d, b) { for (var p in b)
|
49
|
-
if (Object.prototype.hasOwnProperty.call(b, p))
|
50
|
-
d[p] = b[p]; };
|
51
|
-
return extendStatics(d, b);
|
52
|
-
};
|
53
|
-
function __extends(d, b) {
|
54
|
-
if (typeof b !== "function" && b !== null)
|
55
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
56
|
-
extendStatics(d, b);
|
57
|
-
function __() { this.constructor = d; }
|
58
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
59
|
-
}
|
60
|
-
var __assign = function () {
|
61
|
-
__assign = Object.assign || function __assign(t) {
|
62
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
63
|
-
s = arguments[i];
|
64
|
-
for (var p in s)
|
65
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
66
|
-
t[p] = s[p];
|
67
|
-
}
|
68
|
-
return t;
|
69
|
-
};
|
70
|
-
return __assign.apply(this, arguments);
|
71
|
-
};
|
72
|
-
function __rest(s, e) {
|
73
|
-
var t = {};
|
74
|
-
for (var p in s)
|
75
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
76
|
-
t[p] = s[p];
|
77
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
78
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
79
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
80
|
-
t[p[i]] = s[p[i]];
|
81
|
-
}
|
82
|
-
return t;
|
83
|
-
}
|
84
|
-
function __decorate(decorators, target, key, desc) {
|
85
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
86
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
87
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
88
|
-
else
|
89
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
90
|
-
if (d = decorators[i])
|
91
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
92
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
93
|
-
}
|
94
|
-
function __param(paramIndex, decorator) {
|
95
|
-
return function (target, key) { decorator(target, key, paramIndex); };
|
96
|
-
}
|
97
|
-
function __metadata(metadataKey, metadataValue) {
|
98
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
99
|
-
return Reflect.metadata(metadataKey, metadataValue);
|
100
|
-
}
|
101
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
102
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
103
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
104
|
-
function fulfilled(value) { try {
|
105
|
-
step(generator.next(value));
|
106
|
-
}
|
107
|
-
catch (e) {
|
108
|
-
reject(e);
|
109
|
-
} }
|
110
|
-
function rejected(value) { try {
|
111
|
-
step(generator["throw"](value));
|
112
|
-
}
|
113
|
-
catch (e) {
|
114
|
-
reject(e);
|
115
|
-
} }
|
116
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
117
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
118
|
-
});
|
119
|
-
}
|
120
|
-
function __generator(thisArg, body) {
|
121
|
-
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
122
|
-
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
123
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
124
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
125
|
-
function step(op) {
|
126
|
-
if (f)
|
127
|
-
throw new TypeError("Generator is already executing.");
|
128
|
-
while (_)
|
129
|
-
try {
|
130
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
131
|
-
return t;
|
132
|
-
if (y = 0, t)
|
133
|
-
op = [op[0] & 2, t.value];
|
134
|
-
switch (op[0]) {
|
135
|
-
case 0:
|
136
|
-
case 1:
|
137
|
-
t = op;
|
138
|
-
break;
|
139
|
-
case 4:
|
140
|
-
_.label++;
|
141
|
-
return { value: op[1], done: false };
|
142
|
-
case 5:
|
143
|
-
_.label++;
|
144
|
-
y = op[1];
|
145
|
-
op = [0];
|
146
|
-
continue;
|
147
|
-
case 7:
|
148
|
-
op = _.ops.pop();
|
149
|
-
_.trys.pop();
|
150
|
-
continue;
|
151
|
-
default:
|
152
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
153
|
-
_ = 0;
|
154
|
-
continue;
|
155
|
-
}
|
156
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
157
|
-
_.label = op[1];
|
158
|
-
break;
|
159
|
-
}
|
160
|
-
if (op[0] === 6 && _.label < t[1]) {
|
161
|
-
_.label = t[1];
|
162
|
-
t = op;
|
163
|
-
break;
|
164
|
-
}
|
165
|
-
if (t && _.label < t[2]) {
|
166
|
-
_.label = t[2];
|
167
|
-
_.ops.push(op);
|
168
|
-
break;
|
169
|
-
}
|
170
|
-
if (t[2])
|
171
|
-
_.ops.pop();
|
172
|
-
_.trys.pop();
|
173
|
-
continue;
|
174
|
-
}
|
175
|
-
op = body.call(thisArg, _);
|
176
|
-
}
|
177
|
-
catch (e) {
|
178
|
-
op = [6, e];
|
179
|
-
y = 0;
|
180
|
-
}
|
181
|
-
finally {
|
182
|
-
f = t = 0;
|
183
|
-
}
|
184
|
-
if (op[0] & 5)
|
185
|
-
throw op[1];
|
186
|
-
return { value: op[0] ? op[1] : void 0, done: true };
|
187
|
-
}
|
188
|
-
}
|
189
|
-
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
190
|
-
if (k2 === undefined)
|
191
|
-
k2 = k;
|
192
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
193
|
-
}) : (function (o, m, k, k2) {
|
194
|
-
if (k2 === undefined)
|
195
|
-
k2 = k;
|
196
|
-
o[k2] = m[k];
|
197
|
-
});
|
198
|
-
function __exportStar(m, o) {
|
199
|
-
for (var p in m)
|
200
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
201
|
-
__createBinding(o, m, p);
|
202
|
-
}
|
203
|
-
function __values(o) {
|
204
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
205
|
-
if (m)
|
206
|
-
return m.call(o);
|
207
|
-
if (o && typeof o.length === "number")
|
208
|
-
return {
|
209
|
-
next: function () {
|
210
|
-
if (o && i >= o.length)
|
211
|
-
o = void 0;
|
212
|
-
return { value: o && o[i++], done: !o };
|
213
|
-
}
|
214
|
-
};
|
215
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
216
|
-
}
|
217
|
-
function __read(o, n) {
|
218
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
219
|
-
if (!m)
|
220
|
-
return o;
|
221
|
-
var i = m.call(o), r, ar = [], e;
|
222
|
-
try {
|
223
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
224
|
-
ar.push(r.value);
|
225
|
-
}
|
226
|
-
catch (error) {
|
227
|
-
e = { error: error };
|
228
|
-
}
|
229
|
-
finally {
|
230
|
-
try {
|
231
|
-
if (r && !r.done && (m = i["return"]))
|
232
|
-
m.call(i);
|
233
|
-
}
|
234
|
-
finally {
|
235
|
-
if (e)
|
236
|
-
throw e.error;
|
237
|
-
}
|
238
|
-
}
|
239
|
-
return ar;
|
240
|
-
}
|
241
|
-
/** @deprecated */
|
242
|
-
function __spread() {
|
243
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
244
|
-
ar = ar.concat(__read(arguments[i]));
|
245
|
-
return ar;
|
246
|
-
}
|
247
|
-
/** @deprecated */
|
248
|
-
function __spreadArrays() {
|
249
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
250
|
-
s += arguments[i].length;
|
251
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
252
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
253
|
-
r[k] = a[j];
|
254
|
-
return r;
|
255
|
-
}
|
256
|
-
function __spreadArray(to, from, pack) {
|
257
|
-
if (pack || arguments.length === 2)
|
258
|
-
for (var i = 0, l = from.length, ar; i < l; i++) {
|
259
|
-
if (ar || !(i in from)) {
|
260
|
-
if (!ar)
|
261
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
262
|
-
ar[i] = from[i];
|
263
|
-
}
|
264
|
-
}
|
265
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
266
|
-
}
|
267
|
-
function __await(v) {
|
268
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
269
|
-
}
|
270
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
271
|
-
if (!Symbol.asyncIterator)
|
272
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
273
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
274
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
275
|
-
function verb(n) { if (g[n])
|
276
|
-
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
277
|
-
function resume(n, v) { try {
|
278
|
-
step(g[n](v));
|
279
|
-
}
|
280
|
-
catch (e) {
|
281
|
-
settle(q[0][3], e);
|
282
|
-
} }
|
283
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
284
|
-
function fulfill(value) { resume("next", value); }
|
285
|
-
function reject(value) { resume("throw", value); }
|
286
|
-
function settle(f, v) { if (f(v), q.shift(), q.length)
|
287
|
-
resume(q[0][0], q[0][1]); }
|
288
|
-
}
|
289
|
-
function __asyncDelegator(o) {
|
290
|
-
var i, p;
|
291
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
292
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
293
|
-
}
|
294
|
-
function __asyncValues(o) {
|
295
|
-
if (!Symbol.asyncIterator)
|
296
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
297
|
-
var m = o[Symbol.asyncIterator], i;
|
298
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
299
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
300
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
301
|
-
}
|
302
|
-
function __makeTemplateObject(cooked, raw) {
|
303
|
-
if (Object.defineProperty) {
|
304
|
-
Object.defineProperty(cooked, "raw", { value: raw });
|
305
|
-
}
|
306
|
-
else {
|
307
|
-
cooked.raw = raw;
|
308
|
-
}
|
309
|
-
return cooked;
|
310
|
-
}
|
311
|
-
;
|
312
|
-
var __setModuleDefault = Object.create ? (function (o, v) {
|
313
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
314
|
-
}) : function (o, v) {
|
315
|
-
o["default"] = v;
|
316
|
-
};
|
317
|
-
function __importStar(mod) {
|
318
|
-
if (mod && mod.__esModule)
|
319
|
-
return mod;
|
320
|
-
var result = {};
|
321
|
-
if (mod != null)
|
322
|
-
for (var k in mod)
|
323
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
324
|
-
__createBinding(result, mod, k);
|
325
|
-
__setModuleDefault(result, mod);
|
326
|
-
return result;
|
327
|
-
}
|
328
|
-
function __importDefault(mod) {
|
329
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
330
|
-
}
|
331
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
332
|
-
if (kind === "a" && !f)
|
333
|
-
throw new TypeError("Private accessor was defined without a getter");
|
334
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
335
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
336
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
337
|
-
}
|
338
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
339
|
-
if (kind === "m")
|
340
|
-
throw new TypeError("Private method is not writable");
|
341
|
-
if (kind === "a" && !f)
|
342
|
-
throw new TypeError("Private accessor was defined without a setter");
|
343
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
344
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
345
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
346
|
-
}
|
347
|
-
|
348
|
-
/**
|
349
|
-
* Injection token that can be used to specify the checkbox click behavior.
|
350
|
-
*/
|
351
|
-
var MC_CHECKBOX_CLICK_ACTION = new i0.InjectionToken('mc-checkbox-click-action');
|
352
|
-
|
353
|
-
// Increasing integer for generating unique ids for checkbox components.
|
354
|
-
var nextUniqueId = 0;
|
355
|
-
/**
|
356
|
-
* Provider Expression that allows mc-checkbox to register as a ControlValueAccessor.
|
357
|
-
* This allows it to support [(ngModel)].
|
358
|
-
* @docs-private
|
359
|
-
*/
|
360
|
-
var MC_CHECKBOX_CONTROL_VALUE_ACCESSOR = {
|
361
|
-
provide: forms.NG_VALUE_ACCESSOR,
|
362
|
-
useExisting: i0.forwardRef(function () { return McCheckbox; }),
|
363
|
-
multi: true
|
364
|
-
};
|
365
|
-
/**
|
366
|
-
* Represents the different states that require custom transitions between them.
|
367
|
-
* @docs-private
|
368
|
-
*/
|
369
|
-
exports.TransitionCheckState = void 0;
|
370
|
-
(function (TransitionCheckState) {
|
371
|
-
/** The initial state of the component before any user interaction. */
|
372
|
-
TransitionCheckState[TransitionCheckState["Init"] = 0] = "Init";
|
373
|
-
/** The state representing the component when it's becoming checked. */
|
374
|
-
TransitionCheckState[TransitionCheckState["Checked"] = 1] = "Checked";
|
375
|
-
/** The state representing the component when it's becoming unchecked. */
|
376
|
-
TransitionCheckState[TransitionCheckState["Unchecked"] = 2] = "Unchecked";
|
377
|
-
/** The state representing the component when it's becoming indeterminate. */
|
378
|
-
TransitionCheckState[TransitionCheckState["Indeterminate"] = 3] = "Indeterminate";
|
379
|
-
})(exports.TransitionCheckState || (exports.TransitionCheckState = {}));
|
380
|
-
/** Change event object emitted by McCheckbox. */
|
381
|
-
var McCheckboxChange = /** @class */ (function () {
|
382
|
-
function McCheckboxChange() {
|
383
|
-
}
|
384
|
-
return McCheckboxChange;
|
385
|
-
}());
|
386
|
-
// Boilerplate for applying mixins to McCheckbox.
|
387
|
-
/** @docs-private */
|
388
|
-
var McCheckboxBase = /** @class */ (function () {
|
389
|
-
// tslint:disable-next-line:naming-convention
|
390
|
-
function McCheckboxBase(_elementRef) {
|
391
|
-
this._elementRef = _elementRef;
|
392
|
-
}
|
393
|
-
return McCheckboxBase;
|
394
|
-
}());
|
395
|
-
// tslint:disable-next-line:naming-convention
|
396
|
-
var McCheckboxMixinBase = core.mixinTabIndex(core.mixinColor(core.mixinDisabled(McCheckboxBase)));
|
397
|
-
/**
|
398
|
-
* A mosaic checkbox component. Supports all of the functionality of an HTML5 checkbox,
|
399
|
-
* and exposes a similar API. A McCheckbox can be either checked, unchecked, indeterminate, or
|
400
|
-
* disabled. Note that all additional accessibility attributes are taken care of by the component,
|
401
|
-
* so there is no need to provide them yourself. However, if you want to omit a label and still
|
402
|
-
* have the checkbox be accessible, you may supply an [aria-label] input.
|
403
|
-
*/
|
404
|
-
var McCheckbox = /** @class */ (function (_super) {
|
405
|
-
__extends(McCheckbox, _super);
|
406
|
-
function McCheckbox(elementRef, _changeDetectorRef, _focusMonitor, _clickAction) {
|
407
|
-
var _this = _super.call(this, elementRef) || this;
|
408
|
-
_this._changeDetectorRef = _changeDetectorRef;
|
409
|
-
_this._focusMonitor = _focusMonitor;
|
410
|
-
_this._clickAction = _clickAction;
|
411
|
-
/**
|
412
|
-
* Attached to the aria-label attribute of the host element. In most cases, arial-labelledby will
|
413
|
-
* take precedence so this may be omitted.
|
414
|
-
*/
|
415
|
-
_this.ariaLabel = '';
|
416
|
-
/**
|
417
|
-
* Users can specify the `aria-labelledby` attribute which will be forwarded to the input element
|
418
|
-
*/
|
419
|
-
_this.ariaLabelledby = null;
|
420
|
-
/** Whether the label should appear after or before the checkbox. Defaults to 'after' */
|
421
|
-
_this.labelPosition = 'after';
|
422
|
-
/** Name value will be applied to the input element if present */
|
423
|
-
_this.name = null;
|
424
|
-
/** Event emitted when the checkbox's `checked` value changes. */
|
425
|
-
_this.change = new i0.EventEmitter();
|
426
|
-
/** Event emitted when the checkbox's `indeterminate` value changes. */
|
427
|
-
_this.indeterminateChange = new i0.EventEmitter();
|
428
|
-
_this._checked = false;
|
429
|
-
_this._disabled = false;
|
430
|
-
_this._indeterminate = false;
|
431
|
-
_this.uniqueId = "mc-checkbox-" + ++nextUniqueId;
|
432
|
-
_this.currentAnimationClass = '';
|
433
|
-
_this.currentCheckState = exports.TransitionCheckState.Init;
|
434
|
-
/**
|
435
|
-
* Called when the checkbox is blurred. Needed to properly implement ControlValueAccessor.
|
436
|
-
* @docs-private
|
437
|
-
*/
|
438
|
-
// tslint:disable-next-line:no-empty
|
439
|
-
_this.onTouched = function () { };
|
440
|
-
// tslint:disable-next-line:no-empty
|
441
|
-
_this.controlValueAccessorChangeFn = function () { };
|
442
|
-
_this.id = _this.uniqueId;
|
443
|
-
return _this;
|
444
|
-
}
|
445
|
-
Object.defineProperty(McCheckbox.prototype, "inputId", {
|
446
|
-
/** Returns the unique id for the visual hidden input. */
|
447
|
-
get: function () {
|
448
|
-
return (this.id || this.uniqueId) + "-input";
|
449
|
-
},
|
450
|
-
enumerable: false,
|
451
|
-
configurable: true
|
452
|
-
});
|
453
|
-
Object.defineProperty(McCheckbox.prototype, "required", {
|
454
|
-
/** Whether the checkbox is required. */
|
455
|
-
get: function () {
|
456
|
-
return this._required;
|
457
|
-
},
|
458
|
-
set: function (value) {
|
459
|
-
this._required = core.toBoolean(value);
|
460
|
-
},
|
461
|
-
enumerable: false,
|
462
|
-
configurable: true
|
463
|
-
});
|
464
|
-
Object.defineProperty(McCheckbox.prototype, "checked", {
|
465
|
-
/**
|
466
|
-
* Whether the checkbox is checked.
|
467
|
-
*/
|
468
|
-
get: function () {
|
469
|
-
return this._checked;
|
470
|
-
},
|
471
|
-
set: function (value) {
|
472
|
-
if (value !== this.checked) {
|
473
|
-
this._checked = value;
|
474
|
-
this._changeDetectorRef.markForCheck();
|
475
|
-
}
|
476
|
-
},
|
477
|
-
enumerable: false,
|
478
|
-
configurable: true
|
479
|
-
});
|
480
|
-
Object.defineProperty(McCheckbox.prototype, "disabled", {
|
481
|
-
/**
|
482
|
-
* Whether the checkbox is disabled. This fully overrides the implementation provided by
|
483
|
-
* mixinDisabled, but the mixin is still required because mixinTabIndex requires it.
|
484
|
-
*/
|
485
|
-
get: function () {
|
486
|
-
return this._disabled;
|
487
|
-
},
|
488
|
-
set: function (value) {
|
489
|
-
if (value !== this.disabled) {
|
490
|
-
this._disabled = value;
|
491
|
-
this._changeDetectorRef.markForCheck();
|
492
|
-
}
|
493
|
-
},
|
494
|
-
enumerable: false,
|
495
|
-
configurable: true
|
496
|
-
});
|
497
|
-
Object.defineProperty(McCheckbox.prototype, "indeterminate", {
|
498
|
-
/**
|
499
|
-
* Whether the checkbox is indeterminate. This is also known as "mixed" mode and can be used to
|
500
|
-
* represent a checkbox with three states, e.g. a checkbox that represents a nested list of
|
501
|
-
* checkable items. Note that whenever checkbox is manually clicked, indeterminate is immediately
|
502
|
-
* set to false.
|
503
|
-
*/
|
504
|
-
get: function () {
|
505
|
-
return this._indeterminate;
|
506
|
-
},
|
507
|
-
set: function (value) {
|
508
|
-
var changed = value !== this._indeterminate;
|
509
|
-
this._indeterminate = value;
|
510
|
-
if (changed) {
|
511
|
-
if (this._indeterminate) {
|
512
|
-
this.transitionCheckState(exports.TransitionCheckState.Indeterminate);
|
513
|
-
}
|
514
|
-
else {
|
515
|
-
this.transitionCheckState(this.checked ? exports.TransitionCheckState.Checked : exports.TransitionCheckState.Unchecked);
|
516
|
-
}
|
517
|
-
this.indeterminateChange.emit(this._indeterminate);
|
518
|
-
}
|
519
|
-
},
|
520
|
-
enumerable: false,
|
521
|
-
configurable: true
|
522
|
-
});
|
523
|
-
McCheckbox.prototype.ngAfterViewInit = function () {
|
524
|
-
var _this = this;
|
525
|
-
this._focusMonitor
|
526
|
-
.monitor(this.inputElement.nativeElement)
|
527
|
-
.subscribe(function (focusOrigin) { return _this.onInputFocusChange(focusOrigin); });
|
528
|
-
};
|
529
|
-
McCheckbox.prototype.ngOnDestroy = function () {
|
530
|
-
this._focusMonitor.stopMonitoring(this.inputElement.nativeElement);
|
531
|
-
};
|
532
|
-
/** Method being called whenever the label text changes. */
|
533
|
-
McCheckbox.prototype.onLabelTextChange = function () {
|
534
|
-
// This method is getting called whenever the label of the checkbox changes.
|
535
|
-
// Since the checkbox uses the OnPush strategy we need to notify it about the change
|
536
|
-
// that has been recognized by the cdkObserveContent directive.
|
537
|
-
this._changeDetectorRef.markForCheck();
|
538
|
-
};
|
539
|
-
// Implemented as part of ControlValueAccessor.
|
540
|
-
McCheckbox.prototype.writeValue = function (value) {
|
541
|
-
this.checked = !!value;
|
542
|
-
};
|
543
|
-
// Implemented as part of ControlValueAccessor.
|
544
|
-
McCheckbox.prototype.registerOnChange = function (fn) {
|
545
|
-
this.controlValueAccessorChangeFn = fn;
|
546
|
-
};
|
547
|
-
// Implemented as part of ControlValueAccessor.
|
548
|
-
McCheckbox.prototype.registerOnTouched = function (fn) {
|
549
|
-
this.onTouched = fn;
|
550
|
-
};
|
551
|
-
// Implemented as part of ControlValueAccessor.
|
552
|
-
McCheckbox.prototype.setDisabledState = function (isDisabled) {
|
553
|
-
this.disabled = isDisabled;
|
554
|
-
};
|
555
|
-
McCheckbox.prototype.getAriaChecked = function () {
|
556
|
-
return this.checked ? 'true' : (this.indeterminate ? 'mixed' : 'false');
|
557
|
-
};
|
558
|
-
/** Toggles the `checked` state of the checkbox. */
|
559
|
-
McCheckbox.prototype.toggle = function () {
|
560
|
-
this.checked = !this.checked;
|
561
|
-
};
|
562
|
-
/**
|
563
|
-
* Event handler for checkbox input element.
|
564
|
-
* Toggles checked state if element is not disabled.
|
565
|
-
* Do not toggle on (change) event since IE doesn't fire change event when
|
566
|
-
* indeterminate checkbox is clicked.
|
567
|
-
* @param event Input click event
|
568
|
-
*/
|
569
|
-
McCheckbox.prototype.onInputClick = function (event) {
|
570
|
-
var _this = this;
|
571
|
-
// We have to stop propagation for click events on the visual hidden input element.
|
572
|
-
// By default, when a user clicks on a label element, a generated click event will be
|
573
|
-
// dispatched on the associated input element. Since we are using a label element as our
|
574
|
-
// root container, the click event on the `checkbox` will be executed twice.
|
575
|
-
// The real click event will bubble up, and the generated click event also tries to bubble up.
|
576
|
-
// This will lead to multiple click events.
|
577
|
-
// Preventing bubbling for the second event will solve that issue.
|
578
|
-
event.stopPropagation();
|
579
|
-
// If resetIndeterminate is false, and the current state is indeterminate, do nothing on click
|
580
|
-
if (!this.disabled && this._clickAction !== 'noop') {
|
581
|
-
// When user manually click on the checkbox, `indeterminate` is set to false.
|
582
|
-
if (this.indeterminate && this._clickAction !== 'check') {
|
583
|
-
Promise.resolve().then(function () {
|
584
|
-
_this._indeterminate = false;
|
585
|
-
_this.indeterminateChange.emit(_this._indeterminate);
|
586
|
-
});
|
587
|
-
}
|
588
|
-
this.toggle();
|
589
|
-
this.transitionCheckState(this._checked ? exports.TransitionCheckState.Checked : exports.TransitionCheckState.Unchecked);
|
590
|
-
// Emit our custom change event if the native input emitted one.
|
591
|
-
// It is important to only emit it, if the native input triggered one, because
|
592
|
-
// we don't want to trigger a change event, when the `checked` variable changes for example.
|
593
|
-
this.emitChangeEvent();
|
594
|
-
}
|
595
|
-
else if (!this.disabled && this._clickAction === 'noop') {
|
596
|
-
// Reset native input when clicked with noop. The native checkbox becomes checked after
|
597
|
-
// click, reset it to be align with `checked` value of `mc-checkbox`.
|
598
|
-
this.inputElement.nativeElement.checked = this.checked;
|
599
|
-
this.inputElement.nativeElement.indeterminate = this.indeterminate;
|
600
|
-
}
|
601
|
-
};
|
602
|
-
/** Focuses the checkbox. */
|
603
|
-
McCheckbox.prototype.focus = function () {
|
604
|
-
this._focusMonitor.focusVia(this.inputElement.nativeElement, 'keyboard');
|
605
|
-
};
|
606
|
-
McCheckbox.prototype.onInteractionEvent = function (event) {
|
607
|
-
// We always have to stop propagation on the change event.
|
608
|
-
// Otherwise the change event, from the input element, will bubble up and
|
609
|
-
// emit its event object to the `change` output.
|
610
|
-
event.stopPropagation();
|
611
|
-
};
|
612
|
-
McCheckbox.prototype.transitionCheckState = function (newState) {
|
613
|
-
var oldState = this.currentCheckState;
|
614
|
-
var element = this._elementRef.nativeElement;
|
615
|
-
if (oldState === newState) {
|
616
|
-
return;
|
617
|
-
}
|
618
|
-
if (this.currentAnimationClass.length > 0) {
|
619
|
-
element.classList.remove(this.currentAnimationClass);
|
620
|
-
}
|
621
|
-
this.currentCheckState = newState;
|
622
|
-
if (this.currentAnimationClass.length > 0) {
|
623
|
-
element.classList.add(this.currentAnimationClass);
|
624
|
-
}
|
625
|
-
};
|
626
|
-
McCheckbox.prototype.emitChangeEvent = function () {
|
627
|
-
var event = new McCheckboxChange();
|
628
|
-
event.source = this;
|
629
|
-
event.checked = this.checked;
|
630
|
-
this.controlValueAccessorChangeFn(this.checked);
|
631
|
-
this.change.emit(event);
|
632
|
-
};
|
633
|
-
/** Function is called whenever the focus changes for the input element. */
|
634
|
-
McCheckbox.prototype.onInputFocusChange = function (focusOrigin) {
|
635
|
-
if (focusOrigin) {
|
636
|
-
this.onTouched();
|
637
|
-
}
|
638
|
-
};
|
639
|
-
return McCheckbox;
|
640
|
-
}(McCheckboxMixinBase));
|
641
|
-
/** @nocollapse */ McCheckbox.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McCheckbox, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace.FocusMonitor }, { token: MC_CHECKBOX_CLICK_ACTION, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
642
|
-
/** @nocollapse */ McCheckbox.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.5", type: McCheckbox, selector: "mc-checkbox", inputs: { color: "color", tabIndex: "tabIndex", ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledby: ["aria-labelledby", "ariaLabelledby"], id: "id", labelPosition: "labelPosition", name: "name", value: "value", required: "required", checked: "checked", disabled: "disabled", indeterminate: "indeterminate" }, outputs: { change: "change", indeterminateChange: "indeterminateChange" }, host: { properties: { "id": "id", "attr.id": "id", "class.mc-indeterminate": "indeterminate", "class.mc-checked": "checked", "class.mc-disabled": "disabled", "class.mc-checkbox-label-before": "labelPosition == \"before\"" }, classAttribute: "mc-checkbox" }, providers: [MC_CHECKBOX_CONTROL_VALUE_ACCESSOR], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["input"], descendants: true }], exportAs: ["mcCheckbox"], usesInheritance: true, ngImport: i0__namespace, template: "<label [attr.for]=\"inputId\" class=\"mc-checkbox-layout\" #label>\n <div class=\"mc-checkbox-inner-container\"\n [class.mc-checkbox-inner-container-no-side-margin]=\"!checkboxLabel.textContent || !checkboxLabel.textContent.trim()\">\n <input #input\n type=\"checkbox\"\n class=\"mc-checkbox-input cdk-visually-hidden\"\n [id]=\"inputId\"\n [required]=\"required\"\n [checked]=\"checked\"\n [attr.value]=\"value\"\n [disabled]=\"disabled\"\n [attr.name]=\"name\"\n [tabIndex]=\"tabIndex\"\n [indeterminate]=\"indeterminate\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledby\"\n [attr.aria-checked]=\"getAriaChecked()\"\n (change)=\"onInteractionEvent($event)\"\n (click)=\"onInputClick($event)\">\n <div class=\"mc-checkbox-frame\">\n <i class=\"mc-checkbox-checkmark mc mc-check_16\"></i>\n <i class=\"mc-checkbox-mixedmark mc mc-minus_16\"></i>\n </div>\n </div>\n\n <span class=\"mc-checkbox-label\" #checkboxLabel (cdkObserveContent)=\"onLabelTextChange()\">\n <ng-content></ng-content>\n </span>\n</label>\n", styles: [".mc-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:3px;box-sizing:border-box;pointer-events:none}.mc-checkbox-checkmark,.mc-checkbox-mixedmark{display:none;position:absolute;top:-1px;left:-1px;right:0;bottom:0}.mc-checkbox-frame{background-color:transparent;border-width:1px;border-width:var(--mc-checkbox-size-border-width, 1px);border-style:solid;box-shadow:inset 0 0 1px #0003;box-shadow:var(--mc-checkbox-size-toggle-box-shadow, inset 0 0 1px 0 rgba(0, 0, 0, .2))}.mc-checkbox{display:inline-block;cursor:pointer;-webkit-tap-highlight-color:transparent}.mc-checkbox.mc-checked .mc-checkbox-checkmark{display:block}.mc-checkbox.mc-checked .mc-checkbox-mixedmark{display:none}.mc-checkbox.mc-indeterminate .mc-checkbox-checkmark{display:none}.mc-checkbox.mc-indeterminate .mc-checkbox-mixedmark{display:block}.mc-checkbox.mc-disabled{cursor:default}.mc-checkbox.mc-disabled .mc-checkbox-frame{box-shadow:none}.mc-checkbox-layout{cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap;width:100%}.mc-checkbox-inner-container{display:inline-block;height:16px;height:var(--mc-checkbox-size-width, 16px);line-height:0;margin-right:8px;order:0;position:relative;align-self:center;white-space:nowrap;width:16px;width:var(--mc-checkbox-size-width, 16px);flex-shrink:0}[dir=rtl] .mc-checkbox-inner-container{margin-left:8px;margin-right:auto}.mc-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mc-checkbox-label-before .mc-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mc-checkbox-label-before .mc-checkbox-inner-container{margin-left:auto;margin-right:8px}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
643
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McCheckbox, decorators: [{
|
644
|
-
type: i0.Component,
|
645
|
-
args: [{
|
646
|
-
selector: 'mc-checkbox',
|
647
|
-
exportAs: 'mcCheckbox',
|
648
|
-
templateUrl: 'checkbox.html',
|
649
|
-
styleUrls: ['checkbox.scss'],
|
650
|
-
host: {
|
651
|
-
class: 'mc-checkbox',
|
652
|
-
'[id]': 'id',
|
653
|
-
'[attr.id]': 'id',
|
654
|
-
'[class.mc-indeterminate]': 'indeterminate',
|
655
|
-
'[class.mc-checked]': 'checked',
|
656
|
-
'[class.mc-disabled]': 'disabled',
|
657
|
-
'[class.mc-checkbox-label-before]': 'labelPosition == "before"'
|
658
|
-
},
|
659
|
-
providers: [MC_CHECKBOX_CONTROL_VALUE_ACCESSOR],
|
660
|
-
inputs: ['color', 'tabIndex'],
|
661
|
-
encapsulation: i0.ViewEncapsulation.None,
|
662
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
663
|
-
}]
|
664
|
-
}], ctorParameters: function () {
|
665
|
-
return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace.FocusMonitor }, { type: undefined, decorators: [{
|
666
|
-
type: i0.Optional
|
667
|
-
}, {
|
668
|
-
type: i0.Inject,
|
669
|
-
args: [MC_CHECKBOX_CLICK_ACTION]
|
670
|
-
}] }];
|
671
|
-
}, propDecorators: { ariaLabel: [{
|
672
|
-
type: i0.Input,
|
673
|
-
args: ['aria-label']
|
674
|
-
}], ariaLabelledby: [{
|
675
|
-
type: i0.Input,
|
676
|
-
args: ['aria-labelledby']
|
677
|
-
}], id: [{
|
678
|
-
type: i0.Input
|
679
|
-
}], labelPosition: [{
|
680
|
-
type: i0.Input
|
681
|
-
}], name: [{
|
682
|
-
type: i0.Input
|
683
|
-
}], change: [{
|
684
|
-
type: i0.Output
|
685
|
-
}], indeterminateChange: [{
|
686
|
-
type: i0.Output
|
687
|
-
}], value: [{
|
688
|
-
type: i0.Input
|
689
|
-
}], inputElement: [{
|
690
|
-
type: i0.ViewChild,
|
691
|
-
args: ['input', { static: false }]
|
692
|
-
}], required: [{
|
693
|
-
type: i0.Input
|
694
|
-
}], checked: [{
|
695
|
-
type: i0.Input
|
696
|
-
}], disabled: [{
|
697
|
-
type: i0.Input
|
698
|
-
}], indeterminate: [{
|
699
|
-
type: i0.Input
|
700
|
-
}] } });
|
701
|
-
|
702
|
-
var MC_CHECKBOX_REQUIRED_VALIDATOR = {
|
703
|
-
provide: forms.NG_VALIDATORS,
|
704
|
-
useExisting: i0.forwardRef(function () { return McCheckboxRequiredValidator; }),
|
705
|
-
multi: true
|
706
|
-
};
|
707
|
-
/**
|
708
|
-
* Validator for Mosaic checkbox's required attribute in template-driven checkbox.
|
709
|
-
* Current CheckboxRequiredValidator only work with `input type=checkbox` and does not
|
710
|
-
* work with `mc-checkbox`.
|
711
|
-
*/
|
712
|
-
var McCheckboxRequiredValidator = /** @class */ (function (_super) {
|
713
|
-
__extends(McCheckboxRequiredValidator, _super);
|
714
|
-
function McCheckboxRequiredValidator() {
|
715
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
716
|
-
}
|
717
|
-
return McCheckboxRequiredValidator;
|
718
|
-
}(forms.CheckboxRequiredValidator));
|
719
|
-
/** @nocollapse */ McCheckboxRequiredValidator.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McCheckboxRequiredValidator, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
|
720
|
-
/** @nocollapse */ McCheckboxRequiredValidator.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: McCheckboxRequiredValidator, selector: "mc-checkbox[required][formControlName],\n mc-checkbox[required][formControl], mc-checkbox[required][ngModel]", host: { properties: { "attr.required": "required ? \"\" : null" } }, providers: [MC_CHECKBOX_REQUIRED_VALIDATOR], usesInheritance: true, ngImport: i0__namespace });
|
721
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McCheckboxRequiredValidator, decorators: [{
|
722
|
-
type: i0.Directive,
|
723
|
-
args: [{
|
724
|
-
selector: "mc-checkbox[required][formControlName],\n mc-checkbox[required][formControl], mc-checkbox[required][ngModel]",
|
725
|
-
providers: [MC_CHECKBOX_REQUIRED_VALIDATOR],
|
726
|
-
host: { '[attr.required]': 'required ? "" : null' }
|
727
|
-
}]
|
728
|
-
}] });
|
729
|
-
|
730
|
-
var McCheckboxModule = /** @class */ (function () {
|
731
|
-
function McCheckboxModule() {
|
732
|
-
}
|
733
|
-
return McCheckboxModule;
|
734
|
-
}());
|
735
|
-
/** @nocollapse */ McCheckboxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McCheckboxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
736
|
-
/** @nocollapse */ McCheckboxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McCheckboxModule, declarations: [McCheckbox, McCheckboxRequiredValidator], imports: [common.CommonModule], exports: [McCheckbox, McCheckboxRequiredValidator] });
|
737
|
-
/** @nocollapse */ McCheckboxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McCheckboxModule, imports: [[common.CommonModule]] });
|
738
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McCheckboxModule, decorators: [{
|
739
|
-
type: i0.NgModule,
|
740
|
-
args: [{
|
741
|
-
imports: [common.CommonModule],
|
742
|
-
exports: [McCheckbox, McCheckboxRequiredValidator],
|
743
|
-
declarations: [McCheckbox, McCheckboxRequiredValidator]
|
744
|
-
}]
|
745
|
-
}] });
|
746
|
-
|
747
|
-
/**
|
748
|
-
* Generated bundle index. Do not edit.
|
749
|
-
*/
|
750
|
-
|
751
|
-
exports.MC_CHECKBOX_CLICK_ACTION = MC_CHECKBOX_CLICK_ACTION;
|
752
|
-
exports.MC_CHECKBOX_CONTROL_VALUE_ACCESSOR = MC_CHECKBOX_CONTROL_VALUE_ACCESSOR;
|
753
|
-
exports.MC_CHECKBOX_REQUIRED_VALIDATOR = MC_CHECKBOX_REQUIRED_VALIDATOR;
|
754
|
-
exports.McCheckbox = McCheckbox;
|
755
|
-
exports.McCheckboxBase = McCheckboxBase;
|
756
|
-
exports.McCheckboxChange = McCheckboxChange;
|
757
|
-
exports.McCheckboxMixinBase = McCheckboxMixinBase;
|
758
|
-
exports.McCheckboxModule = McCheckboxModule;
|
759
|
-
exports.McCheckboxRequiredValidator = McCheckboxRequiredValidator;
|
760
|
-
|
761
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
762
|
-
|
763
|
-
})));
|
764
|
-
//# sourceMappingURL=ptsecurity-mosaic-checkbox.umd.js.map
|