@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,950 +0,0 @@
|
|
1
|
-
(function (global, factory) {
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@ptsecurity/cdk/keycodes'), require('rxjs'), require('rxjs/operators'), require('@angular/animations'), require('@ptsecurity/mosaic/core'), require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('@angular/common'), require('@ptsecurity/mosaic/icon'), require('@ptsecurity/mosaic/button')) :
|
3
|
-
typeof define === 'function' && define.amd ? define('@ptsecurity/mosaic/sidepanel', ['exports', '@angular/core', '@ptsecurity/cdk/keycodes', 'rxjs', 'rxjs/operators', '@angular/animations', '@ptsecurity/mosaic/core', '@angular/cdk/overlay', '@angular/cdk/portal', '@angular/common', '@ptsecurity/mosaic/icon', '@ptsecurity/mosaic/button'], factory) :
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.ptsecurity = global.ptsecurity || {}, global.ptsecurity.mosaic = global.ptsecurity.mosaic || {}, global.ptsecurity.mosaic.sidepanel = {}), global.ng.core, global.mc.cdk.keycodes, global.rxjs, global.rxjs.operators, global.ng.animations, global.ptsecurity.mosaic.core, global.ng.cdk.overlay, global.ng.cdk.portal, global.ng.common, global.ptsecurity.mosaic.icon, global.ptsecurity.mosaic.button));
|
5
|
-
}(this, (function (exports, i0, keycodes, rxjs, operators, animations, core, i1, i3, i2, i3$1, button) { '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
|
-
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
30
|
-
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
31
|
-
var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
|
32
|
-
|
33
|
-
/** Injection token that can be used to access the data that was passed in to a sidepanel. */
|
34
|
-
var MC_SIDEPANEL_DATA = new i0.InjectionToken('McSidepanelData');
|
35
|
-
exports.McSidepanelPosition = void 0;
|
36
|
-
(function (McSidepanelPosition) {
|
37
|
-
McSidepanelPosition["Right"] = "right";
|
38
|
-
McSidepanelPosition["Left"] = "left";
|
39
|
-
McSidepanelPosition["Top"] = "top";
|
40
|
-
McSidepanelPosition["Bottom"] = "bottom";
|
41
|
-
})(exports.McSidepanelPosition || (exports.McSidepanelPosition = {}));
|
42
|
-
var McSidepanelConfig = /** @class */ (function () {
|
43
|
-
function McSidepanelConfig() {
|
44
|
-
/** Data being injected into the child component. */
|
45
|
-
this.data = null;
|
46
|
-
this.position = exports.McSidepanelPosition.Right;
|
47
|
-
/** Whether the sidepanel has a backdrop. */
|
48
|
-
this.hasBackdrop = true;
|
49
|
-
/** When we open multiple sidepanels, backdrop appears only once, except cases then this flag is true. */
|
50
|
-
this.requiredBackdrop = false;
|
51
|
-
/** Whether the user can use escape or clicking outside to close the sidepanel. */
|
52
|
-
this.disableClose = false;
|
53
|
-
/** Custom class for the overlay pane. */
|
54
|
-
this.overlayPanelClass = '';
|
55
|
-
}
|
56
|
-
return McSidepanelConfig;
|
57
|
-
}());
|
58
|
-
|
59
|
-
var McSidepanelAnimationState;
|
60
|
-
(function (McSidepanelAnimationState) {
|
61
|
-
McSidepanelAnimationState["Void"] = "void";
|
62
|
-
McSidepanelAnimationState["Visible"] = "visible";
|
63
|
-
McSidepanelAnimationState["Hidden"] = "hidden";
|
64
|
-
})(McSidepanelAnimationState || (McSidepanelAnimationState = {}));
|
65
|
-
// TODO Find a way to use dynamic keys and avoid error "Expression form not supported."
|
66
|
-
// tslint:disable-next-line
|
67
|
-
var mcSidepanelTransformAnimation = {
|
68
|
-
right: { in: 'translateX(100%)', out: 'translateX(0%)' },
|
69
|
-
left: { in: 'translateX(-100%)', out: 'translateX(0%)' },
|
70
|
-
top: { in: 'translateY(-100%)', out: 'translateY(0%)' },
|
71
|
-
bottom: { in: 'translateY(100%)', out: 'translateY(0%)' }
|
72
|
-
};
|
73
|
-
var mcSidepanelAnimations = {
|
74
|
-
sidepanelState: animations.trigger('state', [
|
75
|
-
animations.state('hidden', animations.style({ transform: '{{transformIn}}' }), { params: { transformIn: mcSidepanelTransformAnimation[exports.McSidepanelPosition.Right].in } }),
|
76
|
-
animations.state('visible', animations.style({ transform: '{{transformOut}}' }), { params: { transformOut: mcSidepanelTransformAnimation[exports.McSidepanelPosition.Right].out } }),
|
77
|
-
animations.transition('visible => void, visible => hidden', animations.animate("200ms " + core.AnimationCurves.AccelerationCurve)),
|
78
|
-
animations.transition('void => visible', animations.animate("200ms " + core.AnimationCurves.DecelerationCurve))
|
79
|
-
])
|
80
|
-
};
|
81
|
-
|
82
|
-
// Counter for unique sidepanel ids.
|
83
|
-
var uniqueId = 0;
|
84
|
-
var McSidepanelRef = /** @class */ (function () {
|
85
|
-
function McSidepanelRef(containerInstance, overlayRef, config) {
|
86
|
-
var _this = this;
|
87
|
-
this.containerInstance = containerInstance;
|
88
|
-
this.overlayRef = overlayRef;
|
89
|
-
this.config = config;
|
90
|
-
/** Subject for notifying the user that the sidepanel has been closed and dismissed. */
|
91
|
-
this.afterClosed$ = new rxjs.Subject();
|
92
|
-
/** Subject for notifying the user that the sidepanel has opened and appeared. */
|
93
|
-
this.afterOpened$ = new rxjs.Subject();
|
94
|
-
this.id = this.config.id || "mc-sidepanel-" + uniqueId++;
|
95
|
-
this.containerInstance.id = this.id;
|
96
|
-
// Emit when opening animation completes
|
97
|
-
containerInstance.animationStateChanged.pipe(operators.filter(function (event) { return event.phaseName === 'done' && event.toState === McSidepanelAnimationState.Visible; }), operators.take(1)).subscribe(function () {
|
98
|
-
_this.afterOpened$.next();
|
99
|
-
_this.afterOpened$.complete();
|
100
|
-
});
|
101
|
-
// Dispose overlay when closing animation is complete
|
102
|
-
containerInstance.animationStateChanged.pipe(operators.filter(function (event) { return event.phaseName === 'done' && event.toState === McSidepanelAnimationState.Hidden; }), operators.take(1)).subscribe(function () {
|
103
|
-
overlayRef.dispose();
|
104
|
-
_this.afterClosed$.next(_this.result);
|
105
|
-
_this.afterClosed$.complete();
|
106
|
-
});
|
107
|
-
if (!containerInstance.sidepanelConfig.disableClose) {
|
108
|
-
rxjs.merge(overlayRef.backdropClick(), overlayRef.keydownEvents().pipe(
|
109
|
-
// tslint:disable:deprecation
|
110
|
-
// keyCode is deprecated, but IE11 and Edge don't support code property, which we need use instead
|
111
|
-
operators.filter(function (event) { return event.keyCode === keycodes.ESCAPE; }))).subscribe(function () { return _this.close(); });
|
112
|
-
}
|
113
|
-
}
|
114
|
-
McSidepanelRef.prototype.close = function (result) {
|
115
|
-
var _this = this;
|
116
|
-
if (!this.afterClosed$.closed) {
|
117
|
-
// Transition the backdrop in parallel to the sidepanel.
|
118
|
-
this.containerInstance.animationStateChanged.pipe(operators.filter(function (event) { return event.phaseName === 'done'; }), operators.take(1)).subscribe(function () { return _this.overlayRef.detachBackdrop(); });
|
119
|
-
this.result = result;
|
120
|
-
this.containerInstance.exit();
|
121
|
-
}
|
122
|
-
};
|
123
|
-
/** Gets an observable that is notified when the sidepanel is finished closing. */
|
124
|
-
McSidepanelRef.prototype.afterClosed = function () {
|
125
|
-
return this.afterClosed$.asObservable();
|
126
|
-
};
|
127
|
-
/** Gets an observable that is notified when the sidepanel has opened and appeared. */
|
128
|
-
McSidepanelRef.prototype.afterOpened = function () {
|
129
|
-
return this.afterOpened$.asObservable();
|
130
|
-
};
|
131
|
-
return McSidepanelRef;
|
132
|
-
}());
|
133
|
-
|
134
|
-
/*! *****************************************************************************
|
135
|
-
Copyright (c) Microsoft Corporation.
|
136
|
-
|
137
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
138
|
-
purpose with or without fee is hereby granted.
|
139
|
-
|
140
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
141
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
142
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
143
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
144
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
145
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
146
|
-
PERFORMANCE OF THIS SOFTWARE.
|
147
|
-
***************************************************************************** */
|
148
|
-
/* global Reflect, Promise */
|
149
|
-
var extendStatics = function (d, b) {
|
150
|
-
extendStatics = Object.setPrototypeOf ||
|
151
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
152
|
-
function (d, b) { for (var p in b)
|
153
|
-
if (Object.prototype.hasOwnProperty.call(b, p))
|
154
|
-
d[p] = b[p]; };
|
155
|
-
return extendStatics(d, b);
|
156
|
-
};
|
157
|
-
function __extends(d, b) {
|
158
|
-
if (typeof b !== "function" && b !== null)
|
159
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
160
|
-
extendStatics(d, b);
|
161
|
-
function __() { this.constructor = d; }
|
162
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
163
|
-
}
|
164
|
-
var __assign = function () {
|
165
|
-
__assign = Object.assign || function __assign(t) {
|
166
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
167
|
-
s = arguments[i];
|
168
|
-
for (var p in s)
|
169
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
170
|
-
t[p] = s[p];
|
171
|
-
}
|
172
|
-
return t;
|
173
|
-
};
|
174
|
-
return __assign.apply(this, arguments);
|
175
|
-
};
|
176
|
-
function __rest(s, e) {
|
177
|
-
var t = {};
|
178
|
-
for (var p in s)
|
179
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
180
|
-
t[p] = s[p];
|
181
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
182
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
183
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
184
|
-
t[p[i]] = s[p[i]];
|
185
|
-
}
|
186
|
-
return t;
|
187
|
-
}
|
188
|
-
function __decorate(decorators, target, key, desc) {
|
189
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
190
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
191
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
192
|
-
else
|
193
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
194
|
-
if (d = decorators[i])
|
195
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
196
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
197
|
-
}
|
198
|
-
function __param(paramIndex, decorator) {
|
199
|
-
return function (target, key) { decorator(target, key, paramIndex); };
|
200
|
-
}
|
201
|
-
function __metadata(metadataKey, metadataValue) {
|
202
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
203
|
-
return Reflect.metadata(metadataKey, metadataValue);
|
204
|
-
}
|
205
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
206
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
207
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
208
|
-
function fulfilled(value) { try {
|
209
|
-
step(generator.next(value));
|
210
|
-
}
|
211
|
-
catch (e) {
|
212
|
-
reject(e);
|
213
|
-
} }
|
214
|
-
function rejected(value) { try {
|
215
|
-
step(generator["throw"](value));
|
216
|
-
}
|
217
|
-
catch (e) {
|
218
|
-
reject(e);
|
219
|
-
} }
|
220
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
221
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
222
|
-
});
|
223
|
-
}
|
224
|
-
function __generator(thisArg, body) {
|
225
|
-
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
226
|
-
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
227
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
228
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
229
|
-
function step(op) {
|
230
|
-
if (f)
|
231
|
-
throw new TypeError("Generator is already executing.");
|
232
|
-
while (_)
|
233
|
-
try {
|
234
|
-
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)
|
235
|
-
return t;
|
236
|
-
if (y = 0, t)
|
237
|
-
op = [op[0] & 2, t.value];
|
238
|
-
switch (op[0]) {
|
239
|
-
case 0:
|
240
|
-
case 1:
|
241
|
-
t = op;
|
242
|
-
break;
|
243
|
-
case 4:
|
244
|
-
_.label++;
|
245
|
-
return { value: op[1], done: false };
|
246
|
-
case 5:
|
247
|
-
_.label++;
|
248
|
-
y = op[1];
|
249
|
-
op = [0];
|
250
|
-
continue;
|
251
|
-
case 7:
|
252
|
-
op = _.ops.pop();
|
253
|
-
_.trys.pop();
|
254
|
-
continue;
|
255
|
-
default:
|
256
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
257
|
-
_ = 0;
|
258
|
-
continue;
|
259
|
-
}
|
260
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
261
|
-
_.label = op[1];
|
262
|
-
break;
|
263
|
-
}
|
264
|
-
if (op[0] === 6 && _.label < t[1]) {
|
265
|
-
_.label = t[1];
|
266
|
-
t = op;
|
267
|
-
break;
|
268
|
-
}
|
269
|
-
if (t && _.label < t[2]) {
|
270
|
-
_.label = t[2];
|
271
|
-
_.ops.push(op);
|
272
|
-
break;
|
273
|
-
}
|
274
|
-
if (t[2])
|
275
|
-
_.ops.pop();
|
276
|
-
_.trys.pop();
|
277
|
-
continue;
|
278
|
-
}
|
279
|
-
op = body.call(thisArg, _);
|
280
|
-
}
|
281
|
-
catch (e) {
|
282
|
-
op = [6, e];
|
283
|
-
y = 0;
|
284
|
-
}
|
285
|
-
finally {
|
286
|
-
f = t = 0;
|
287
|
-
}
|
288
|
-
if (op[0] & 5)
|
289
|
-
throw op[1];
|
290
|
-
return { value: op[0] ? op[1] : void 0, done: true };
|
291
|
-
}
|
292
|
-
}
|
293
|
-
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
294
|
-
if (k2 === undefined)
|
295
|
-
k2 = k;
|
296
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
297
|
-
}) : (function (o, m, k, k2) {
|
298
|
-
if (k2 === undefined)
|
299
|
-
k2 = k;
|
300
|
-
o[k2] = m[k];
|
301
|
-
});
|
302
|
-
function __exportStar(m, o) {
|
303
|
-
for (var p in m)
|
304
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
305
|
-
__createBinding(o, m, p);
|
306
|
-
}
|
307
|
-
function __values(o) {
|
308
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
309
|
-
if (m)
|
310
|
-
return m.call(o);
|
311
|
-
if (o && typeof o.length === "number")
|
312
|
-
return {
|
313
|
-
next: function () {
|
314
|
-
if (o && i >= o.length)
|
315
|
-
o = void 0;
|
316
|
-
return { value: o && o[i++], done: !o };
|
317
|
-
}
|
318
|
-
};
|
319
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
320
|
-
}
|
321
|
-
function __read(o, n) {
|
322
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
323
|
-
if (!m)
|
324
|
-
return o;
|
325
|
-
var i = m.call(o), r, ar = [], e;
|
326
|
-
try {
|
327
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
328
|
-
ar.push(r.value);
|
329
|
-
}
|
330
|
-
catch (error) {
|
331
|
-
e = { error: error };
|
332
|
-
}
|
333
|
-
finally {
|
334
|
-
try {
|
335
|
-
if (r && !r.done && (m = i["return"]))
|
336
|
-
m.call(i);
|
337
|
-
}
|
338
|
-
finally {
|
339
|
-
if (e)
|
340
|
-
throw e.error;
|
341
|
-
}
|
342
|
-
}
|
343
|
-
return ar;
|
344
|
-
}
|
345
|
-
/** @deprecated */
|
346
|
-
function __spread() {
|
347
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
348
|
-
ar = ar.concat(__read(arguments[i]));
|
349
|
-
return ar;
|
350
|
-
}
|
351
|
-
/** @deprecated */
|
352
|
-
function __spreadArrays() {
|
353
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
354
|
-
s += arguments[i].length;
|
355
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
356
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
357
|
-
r[k] = a[j];
|
358
|
-
return r;
|
359
|
-
}
|
360
|
-
function __spreadArray(to, from, pack) {
|
361
|
-
if (pack || arguments.length === 2)
|
362
|
-
for (var i = 0, l = from.length, ar; i < l; i++) {
|
363
|
-
if (ar || !(i in from)) {
|
364
|
-
if (!ar)
|
365
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
366
|
-
ar[i] = from[i];
|
367
|
-
}
|
368
|
-
}
|
369
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
370
|
-
}
|
371
|
-
function __await(v) {
|
372
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
373
|
-
}
|
374
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
375
|
-
if (!Symbol.asyncIterator)
|
376
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
377
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
378
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
379
|
-
function verb(n) { if (g[n])
|
380
|
-
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
381
|
-
function resume(n, v) { try {
|
382
|
-
step(g[n](v));
|
383
|
-
}
|
384
|
-
catch (e) {
|
385
|
-
settle(q[0][3], e);
|
386
|
-
} }
|
387
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
388
|
-
function fulfill(value) { resume("next", value); }
|
389
|
-
function reject(value) { resume("throw", value); }
|
390
|
-
function settle(f, v) { if (f(v), q.shift(), q.length)
|
391
|
-
resume(q[0][0], q[0][1]); }
|
392
|
-
}
|
393
|
-
function __asyncDelegator(o) {
|
394
|
-
var i, p;
|
395
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
396
|
-
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; }
|
397
|
-
}
|
398
|
-
function __asyncValues(o) {
|
399
|
-
if (!Symbol.asyncIterator)
|
400
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
401
|
-
var m = o[Symbol.asyncIterator], i;
|
402
|
-
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);
|
403
|
-
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); }); }; }
|
404
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
405
|
-
}
|
406
|
-
function __makeTemplateObject(cooked, raw) {
|
407
|
-
if (Object.defineProperty) {
|
408
|
-
Object.defineProperty(cooked, "raw", { value: raw });
|
409
|
-
}
|
410
|
-
else {
|
411
|
-
cooked.raw = raw;
|
412
|
-
}
|
413
|
-
return cooked;
|
414
|
-
}
|
415
|
-
;
|
416
|
-
var __setModuleDefault = Object.create ? (function (o, v) {
|
417
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
418
|
-
}) : function (o, v) {
|
419
|
-
o["default"] = v;
|
420
|
-
};
|
421
|
-
function __importStar(mod) {
|
422
|
-
if (mod && mod.__esModule)
|
423
|
-
return mod;
|
424
|
-
var result = {};
|
425
|
-
if (mod != null)
|
426
|
-
for (var k in mod)
|
427
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
428
|
-
__createBinding(result, mod, k);
|
429
|
-
__setModuleDefault(result, mod);
|
430
|
-
return result;
|
431
|
-
}
|
432
|
-
function __importDefault(mod) {
|
433
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
434
|
-
}
|
435
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
436
|
-
if (kind === "a" && !f)
|
437
|
-
throw new TypeError("Private accessor was defined without a getter");
|
438
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
439
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
440
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
441
|
-
}
|
442
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
443
|
-
if (kind === "m")
|
444
|
-
throw new TypeError("Private method is not writable");
|
445
|
-
if (kind === "a" && !f)
|
446
|
-
throw new TypeError("Private accessor was defined without a setter");
|
447
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
448
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
449
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
450
|
-
}
|
451
|
-
|
452
|
-
var MC_SIDEPANEL_WITH_INDENT = new i0.InjectionToken('mc-sidepanel-with-indent');
|
453
|
-
var MC_SIDEPANEL_WITH_SHADOW = new i0.InjectionToken('mc-sidepanel-with-shadow');
|
454
|
-
var McSidepanelContainerComponent = /** @class */ (function (_super) {
|
455
|
-
__extends(McSidepanelContainerComponent, _super);
|
456
|
-
function McSidepanelContainerComponent(elementRef, changeDetectorRef, sidepanelConfig, withIndent, withShadow) {
|
457
|
-
var _this = _super.call(this) || this;
|
458
|
-
_this.elementRef = elementRef;
|
459
|
-
_this.changeDetectorRef = changeDetectorRef;
|
460
|
-
_this.sidepanelConfig = sidepanelConfig;
|
461
|
-
_this.withIndent = withIndent;
|
462
|
-
_this.withShadow = withShadow;
|
463
|
-
/** The state of the sidepanel animations. */
|
464
|
-
_this.animationState = McSidepanelAnimationState.Void;
|
465
|
-
/** Emits whenever the state of the animation changes. */
|
466
|
-
_this.animationStateChanged = new i0.EventEmitter();
|
467
|
-
return _this;
|
468
|
-
}
|
469
|
-
McSidepanelContainerComponent.prototype.ngOnDestroy = function () {
|
470
|
-
this.destroyed = true;
|
471
|
-
};
|
472
|
-
/** Attach a component portal as content to this sidepanel container. */
|
473
|
-
McSidepanelContainerComponent.prototype.attachComponentPortal = function (portal) {
|
474
|
-
this.validatePortalAttached();
|
475
|
-
this.setAnimation();
|
476
|
-
this.setPanelClass();
|
477
|
-
return this.portalOutlet.attachComponentPortal(portal);
|
478
|
-
};
|
479
|
-
/** Attach a template portal as content to this sidepanel container. */
|
480
|
-
McSidepanelContainerComponent.prototype.attachTemplatePortal = function (portal) {
|
481
|
-
this.validatePortalAttached();
|
482
|
-
this.setAnimation();
|
483
|
-
this.setPanelClass();
|
484
|
-
return this.portalOutlet.attachTemplatePortal(portal);
|
485
|
-
};
|
486
|
-
/** Begin animation of the sidepanel entrance into view. */
|
487
|
-
McSidepanelContainerComponent.prototype.enter = function () {
|
488
|
-
if (!this.destroyed) {
|
489
|
-
this.animationState = McSidepanelAnimationState.Visible;
|
490
|
-
this.changeDetectorRef.detectChanges();
|
491
|
-
}
|
492
|
-
};
|
493
|
-
/** Begin animation of the sidepanel exiting from view. */
|
494
|
-
McSidepanelContainerComponent.prototype.exit = function () {
|
495
|
-
if (!this.destroyed) {
|
496
|
-
this.animationState = McSidepanelAnimationState.Hidden;
|
497
|
-
this.changeDetectorRef.markForCheck();
|
498
|
-
}
|
499
|
-
};
|
500
|
-
McSidepanelContainerComponent.prototype.onAnimation = function (event) {
|
501
|
-
this.animationStateChanged.emit(event);
|
502
|
-
};
|
503
|
-
McSidepanelContainerComponent.prototype.setAnimation = function () {
|
504
|
-
var position = this.sidepanelConfig.position;
|
505
|
-
this.animationTransform = {
|
506
|
-
transformIn: mcSidepanelTransformAnimation[position].in,
|
507
|
-
transformOut: mcSidepanelTransformAnimation[position].out
|
508
|
-
};
|
509
|
-
};
|
510
|
-
McSidepanelContainerComponent.prototype.setPanelClass = function () {
|
511
|
-
var element = this.elementRef.nativeElement;
|
512
|
-
var position = this.sidepanelConfig.position;
|
513
|
-
element.classList.add("mc-sidepanel-container_" + position);
|
514
|
-
};
|
515
|
-
McSidepanelContainerComponent.prototype.validatePortalAttached = function () {
|
516
|
-
if (this.portalOutlet.hasAttached()) {
|
517
|
-
throw Error('Attempting to attach sidepanel content after content is already attached');
|
518
|
-
}
|
519
|
-
};
|
520
|
-
return McSidepanelContainerComponent;
|
521
|
-
}(i3.BasePortalOutlet));
|
522
|
-
/** @nocollapse */ McSidepanelContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McSidepanelContainerComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: McSidepanelConfig }, { token: MC_SIDEPANEL_WITH_INDENT }, { token: MC_SIDEPANEL_WITH_SHADOW }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
523
|
-
/** @nocollapse */ McSidepanelContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.5", type: McSidepanelContainerComponent, selector: "mc-sidepanel-container", host: { attributes: { "role": "dialog", "aria-modal": "true" }, listeners: { "@state.start": "onAnimation($event)", "@state.done": "onAnimation($event)" }, properties: { "class.mc-sidepanel_nested": "withIndent", "class.mc-sidepanel-container_shadowed": "withShadow", "attr.id": "id", "attr.tabindex": "-1", "@state": "{\n value: animationState,\n params: animationTransform\n }" }, classAttribute: "mc-sidepanel-container" }, viewQueries: [{ propertyName: "portalOutlet", first: true, predicate: i3.CdkPortalOutlet, descendants: true, static: true }], usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"mc-sidepanel-wrapper\">\n\n <div *ngIf=\"withIndent\" class=\"mc-sidepanel-indent\" (click)=\"exit()\"></div>\n\n <div class=\"mc-sidepanel-content\">\n <ng-template cdkPortalOutlet></ng-template>\n </div>\n</div>\n", styles: [".mc-no-select{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.mc-sidepanel-container{outline:none;display:flex;flex:1;position:fixed;min-height:0}.mc-sidepanel-container .flex{min-height:0}.mc-sidepanel-container_left,.mc-sidepanel-container_right{width:33%;min-width:400px;height:100%;top:0}.mc-sidepanel-container_left .mc-sidepanel-indent,.mc-sidepanel-container_right .mc-sidepanel-indent{width:16px;height:100%}.mc-sidepanel-container_right{right:0;transform:translate(100%)}.mc-sidepanel-container_right .mc-sidepanel-wrapper{flex-direction:row}.mc-sidepanel-container_left{left:0;transform:translate(-100%)}.mc-sidepanel-container_left .mc-sidepanel-wrapper{flex-direction:row-reverse}.mc-sidepanel-container_top,.mc-sidepanel-container_bottom{flex-direction:column;height:33%;min-height:400px;width:100%;left:0}.mc-sidepanel-container_top .mc-sidepanel-indent,.mc-sidepanel-container_bottom .mc-sidepanel-indent{height:16px;width:100%}.mc-sidepanel-container_top{top:0;transform:translateY(-100%)}.mc-sidepanel-container_top .mc-sidepanel-wrapper{flex-direction:column-reverse}.mc-sidepanel-container_bottom{bottom:0;transform:translateY(100%)}.mc-sidepanel-container_bottom .mc-sidepanel-wrapper{flex-direction:column}.mc-sidepanel-wrapper{display:flex;flex:1;min-height:0;width:100%}.mc-sidepanel-indent{display:flex;flex:0 0 auto}.mc-sidepanel-indent .mc-sidepanel-close{width:100%;height:100%;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;background:transparent;padding:0}.mc-sidepanel-content{display:flex;flex-direction:column;flex:1;min-height:0;width:100%}.mc-sidepanel-header{padding:14px 16px;padding:var(--mc-sidepanel-header-size-padding, 14px 16px);display:flex;flex-flow:row nowrap;justify-content:space-between;align-items:center;flex:0 0 auto}.mc-sidepanel-header .mc-sidepanel-close{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;background:transparent;padding:0 0 0 8px;padding:var(--mc-sidepanel-header-size-close-padding, 0 0 0 8px)}.mc-sidepanel-title{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mc-sidepanel-body{overflow-y:auto;display:flex;flex:1;flex-direction:column;min-height:0}.mc-sidepanel-footer{padding:16px;padding:var(--mc-sidepanel-footer-size-padding, 16px);display:flex;flex-flow:row nowrap;justify-content:space-between;align-items:center;flex:0 0 auto}.mc-sidepanel-footer .mc-sidepanel-actions{display:flex;align-items:center;flex-direction:row;flex:1}.mc-sidepanel-footer .mc-sidepanel-actions[align=left]{justify-content:start}.mc-sidepanel-footer .mc-sidepanel-actions[align=right]{justify-content:flex-end}.mc-sidepanel-footer button+button{margin-left:16px}\n"], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], animations: [mcSidepanelAnimations.sidepanelState], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
524
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McSidepanelContainerComponent, decorators: [{
|
525
|
-
type: i0.Component,
|
526
|
-
args: [{
|
527
|
-
selector: 'mc-sidepanel-container',
|
528
|
-
templateUrl: './sidepanel-container.component.html',
|
529
|
-
styleUrls: ['./sidepanel.scss'],
|
530
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
531
|
-
encapsulation: i0.ViewEncapsulation.None,
|
532
|
-
animations: [mcSidepanelAnimations.sidepanelState],
|
533
|
-
host: {
|
534
|
-
class: 'mc-sidepanel-container',
|
535
|
-
'[class.mc-sidepanel_nested]': 'withIndent',
|
536
|
-
'[class.mc-sidepanel-container_shadowed]': 'withShadow',
|
537
|
-
role: 'dialog',
|
538
|
-
'aria-modal': 'true',
|
539
|
-
'[attr.id]': 'id',
|
540
|
-
'[attr.tabindex]': '-1',
|
541
|
-
'[@state]': "{\n value: animationState,\n params: animationTransform\n }",
|
542
|
-
'(@state.start)': 'onAnimation($event)',
|
543
|
-
'(@state.done)': 'onAnimation($event)'
|
544
|
-
}
|
545
|
-
}]
|
546
|
-
}], ctorParameters: function () {
|
547
|
-
return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: McSidepanelConfig }, { type: undefined, decorators: [{
|
548
|
-
type: i0.Inject,
|
549
|
-
args: [MC_SIDEPANEL_WITH_INDENT]
|
550
|
-
}] }, { type: undefined, decorators: [{
|
551
|
-
type: i0.Inject,
|
552
|
-
args: [MC_SIDEPANEL_WITH_SHADOW]
|
553
|
-
}] }];
|
554
|
-
}, propDecorators: { portalOutlet: [{
|
555
|
-
type: i0.ViewChild,
|
556
|
-
args: [i3.CdkPortalOutlet, { static: true }]
|
557
|
-
}] } });
|
558
|
-
|
559
|
-
/** Injection token that can be used to specify default sidepanel options. */
|
560
|
-
var MC_SIDEPANEL_DEFAULT_OPTIONS = new i0.InjectionToken('mc-sidepanel-default-options');
|
561
|
-
var McSidepanelService = /** @class */ (function () {
|
562
|
-
function McSidepanelService(overlay, injector, defaultOptions, parentSidepanelService) {
|
563
|
-
this.overlay = overlay;
|
564
|
-
this.injector = injector;
|
565
|
-
this.defaultOptions = defaultOptions;
|
566
|
-
this.parentSidepanelService = parentSidepanelService;
|
567
|
-
this.openedSidepanelsAtThisLevel = [];
|
568
|
-
}
|
569
|
-
Object.defineProperty(McSidepanelService.prototype, "openedSidepanels", {
|
570
|
-
/** Keeps track of the currently-open sidepanels. */
|
571
|
-
get: function () {
|
572
|
-
return this.parentSidepanelService ? this.parentSidepanelService.openedSidepanels :
|
573
|
-
this.openedSidepanelsAtThisLevel;
|
574
|
-
},
|
575
|
-
enumerable: false,
|
576
|
-
configurable: true
|
577
|
-
});
|
578
|
-
McSidepanelService.prototype.ngOnDestroy = function () {
|
579
|
-
// Only close the sidepanels at this level on destroy
|
580
|
-
// since the parent service may still be active.
|
581
|
-
this.closeSidepanels(this.openedSidepanelsAtThisLevel);
|
582
|
-
};
|
583
|
-
McSidepanelService.prototype.open = function (componentOrTemplateRef, config) {
|
584
|
-
var _this = this;
|
585
|
-
var fullConfig = Object.assign(Object.assign({}, (this.defaultOptions || new McSidepanelConfig())), config);
|
586
|
-
if (fullConfig.id && this.getSidepanelById(fullConfig.id)) {
|
587
|
-
throw Error("Sidepanel with id \"" + fullConfig.id + "\" exists already. The sidepanel id must be unique.");
|
588
|
-
}
|
589
|
-
var overlayRef = this.createOverlay(fullConfig);
|
590
|
-
var container = this.attachContainer(overlayRef, fullConfig);
|
591
|
-
var ref = new McSidepanelRef(container, overlayRef, fullConfig);
|
592
|
-
if (componentOrTemplateRef instanceof i0.TemplateRef) {
|
593
|
-
container.attachTemplatePortal(new i3.TemplatePortal(componentOrTemplateRef, null, {
|
594
|
-
$implicit: fullConfig.data,
|
595
|
-
sidepanelRef: ref
|
596
|
-
}));
|
597
|
-
}
|
598
|
-
else {
|
599
|
-
var injector = this.createInjector(fullConfig, ref, container);
|
600
|
-
var portal = new i3.ComponentPortal(componentOrTemplateRef, undefined, injector);
|
601
|
-
var contentRef = container.attachComponentPortal(portal);
|
602
|
-
ref.instance = contentRef.instance;
|
603
|
-
}
|
604
|
-
this.openedSidepanels.push(ref);
|
605
|
-
ref.afterClosed().subscribe(function () { return _this.removeOpenSidepanel(ref); });
|
606
|
-
container.enter();
|
607
|
-
return ref;
|
608
|
-
};
|
609
|
-
/**
|
610
|
-
* Closes all of the currently-open sidepanels.
|
611
|
-
*/
|
612
|
-
McSidepanelService.prototype.closeAll = function () {
|
613
|
-
this.closeSidepanels(this.openedSidepanels);
|
614
|
-
};
|
615
|
-
/**
|
616
|
-
* Finds an open sidepanel by its id.
|
617
|
-
* @param id ID to use when looking up the sidepanel.
|
618
|
-
*/
|
619
|
-
McSidepanelService.prototype.getSidepanelById = function (id) {
|
620
|
-
return this.openedSidepanels.find(function (sidepanel) { return sidepanel.id === id; });
|
621
|
-
};
|
622
|
-
/**
|
623
|
-
* Attaches the sidepanel container component to the overlay.
|
624
|
-
*/
|
625
|
-
McSidepanelService.prototype.attachContainer = function (overlayRef, config) {
|
626
|
-
var openedSidepanelsWithSamePosition = this.getOpenedSidepanelsWithSamePosition(config);
|
627
|
-
// tslint:disable-next-line:deprecation
|
628
|
-
var injector = new i3.PortalInjector(this.injector, new WeakMap([
|
629
|
-
[McSidepanelConfig, config],
|
630
|
-
[MC_SIDEPANEL_WITH_INDENT, openedSidepanelsWithSamePosition.length >= 1],
|
631
|
-
[MC_SIDEPANEL_WITH_SHADOW, openedSidepanelsWithSamePosition.length < 2] // tslint:disable-line
|
632
|
-
]));
|
633
|
-
var containerPortal = new i3.ComponentPortal(McSidepanelContainerComponent, undefined, injector);
|
634
|
-
var containerRef = overlayRef.attach(containerPortal);
|
635
|
-
return containerRef.instance;
|
636
|
-
};
|
637
|
-
/**
|
638
|
-
* Creates a custom injector to be used inside the sidepanel. This allows a component loaded inside
|
639
|
-
* of a sidepanel to close itself and, optionally, to return a value.
|
640
|
-
* @param config Config object that is used to construct the sidepanel.
|
641
|
-
* @param sidepanelRef Reference to the sidepanel.
|
642
|
-
* @param sidepanelContainer Sidepanel container element that wraps all of the contents.
|
643
|
-
* @returns The custom injector that can be used inside the sidepanel.
|
644
|
-
*/
|
645
|
-
McSidepanelService.prototype.createInjector = function (config, sidepanelRef,
|
646
|
-
// tslint:disable-next-line:deprecation
|
647
|
-
sidepanelContainer) {
|
648
|
-
// The McSidepanelContainerComponent is injected in the portal as the McSidepanelContainerComponent and
|
649
|
-
// the sidepanel's content are created out of the same ViewContainerRef and as such, are siblings for injector
|
650
|
-
// purposes. To allow the hierarchy that is expected, the McSidepanelContainerComponent is explicitly
|
651
|
-
// added to the injection tokens.
|
652
|
-
var injectionTokens = new WeakMap([
|
653
|
-
[McSidepanelContainerComponent, sidepanelContainer],
|
654
|
-
[MC_SIDEPANEL_DATA, config.data],
|
655
|
-
[McSidepanelRef, sidepanelRef]
|
656
|
-
]);
|
657
|
-
// tslint:disable-next-line:deprecation
|
658
|
-
return new i3.PortalInjector(this.injector, injectionTokens);
|
659
|
-
};
|
660
|
-
/**
|
661
|
-
* Creates a new overlay and places it in the correct location.
|
662
|
-
* @param config The user-specified sidepanel config.
|
663
|
-
*/
|
664
|
-
McSidepanelService.prototype.createOverlay = function (config) {
|
665
|
-
var overlayConfig = new i1.OverlayConfig({
|
666
|
-
hasBackdrop: config.hasBackdrop,
|
667
|
-
backdropClass: this.getBackdropClass(config),
|
668
|
-
maxWidth: '100%',
|
669
|
-
panelClass: config.overlayPanelClass,
|
670
|
-
scrollStrategy: this.overlay.scrollStrategies.block(),
|
671
|
-
positionStrategy: this.overlay.position().global()
|
672
|
-
});
|
673
|
-
return this.overlay.create(overlayConfig);
|
674
|
-
};
|
675
|
-
McSidepanelService.prototype.closeSidepanels = function (sidepanels) {
|
676
|
-
var reversedOpenedSidepanels = __spreadArray([], __read(sidepanels.reverse()));
|
677
|
-
reversedOpenedSidepanels.forEach(function (sidepanelRef) {
|
678
|
-
sidepanelRef.close();
|
679
|
-
});
|
680
|
-
};
|
681
|
-
McSidepanelService.prototype.getBackdropClass = function (config) {
|
682
|
-
if (config.hasBackdrop && config.backdropClass) {
|
683
|
-
return config.backdropClass;
|
684
|
-
}
|
685
|
-
var hasOpenedSidepanelWithBackdrop = this.openedSidepanels.some(function (sidepanelRef) { return sidepanelRef.config.hasBackdrop; });
|
686
|
-
return config.requiredBackdrop || !hasOpenedSidepanelWithBackdrop ? 'cdk-overlay-dark-backdrop' :
|
687
|
-
'cdk-overlay-transparent-backdrop';
|
688
|
-
};
|
689
|
-
McSidepanelService.prototype.getOpenedSidepanelsWithSamePosition = function (config) {
|
690
|
-
return this.openedSidepanels.filter(function (sidepanelRef) { return sidepanelRef.config.position === config.position; });
|
691
|
-
};
|
692
|
-
/**
|
693
|
-
* Removes a sidepanel from the array of open sidepanels.
|
694
|
-
* @param sidepanelRef Sidepanel to be removed.
|
695
|
-
*/
|
696
|
-
McSidepanelService.prototype.removeOpenSidepanel = function (sidepanelRef) {
|
697
|
-
var index = this.openedSidepanels.indexOf(sidepanelRef);
|
698
|
-
if (index > -1) {
|
699
|
-
this.openedSidepanels.splice(index, 1);
|
700
|
-
}
|
701
|
-
};
|
702
|
-
return McSidepanelService;
|
703
|
-
}());
|
704
|
-
/** @nocollapse */ McSidepanelService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McSidepanelService, deps: [{ token: i1__namespace.Overlay }, { token: i0__namespace.Injector }, { token: MC_SIDEPANEL_DEFAULT_OPTIONS, optional: true }, { token: McSidepanelService, optional: true, skipSelf: true }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
705
|
-
/** @nocollapse */ McSidepanelService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McSidepanelService });
|
706
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McSidepanelService, decorators: [{
|
707
|
-
type: i0.Injectable
|
708
|
-
}], ctorParameters: function () {
|
709
|
-
return [{ type: i1__namespace.Overlay }, { type: i0__namespace.Injector }, { type: McSidepanelConfig, decorators: [{
|
710
|
-
type: i0.Optional
|
711
|
-
}, {
|
712
|
-
type: i0.Inject,
|
713
|
-
args: [MC_SIDEPANEL_DEFAULT_OPTIONS]
|
714
|
-
}] }, { type: McSidepanelService, decorators: [{
|
715
|
-
type: i0.Optional
|
716
|
-
}, {
|
717
|
-
type: i0.SkipSelf
|
718
|
-
}] }];
|
719
|
-
} });
|
720
|
-
|
721
|
-
/**
|
722
|
-
* Button that will close the current sidepanel.
|
723
|
-
*/
|
724
|
-
var McSidepanelClose = /** @class */ (function () {
|
725
|
-
function McSidepanelClose(sidepanelRef, elementRef, sidepanelService) {
|
726
|
-
this.sidepanelRef = sidepanelRef;
|
727
|
-
this.elementRef = elementRef;
|
728
|
-
this.sidepanelService = sidepanelService;
|
729
|
-
}
|
730
|
-
McSidepanelClose.prototype.ngOnInit = function () {
|
731
|
-
var _this = this;
|
732
|
-
if (!this.sidepanelRef) {
|
733
|
-
// When this directive is included in a sidepanel via TemplateRef (rather than being
|
734
|
-
// in a Component), the SidepanelRef isn't available via injection because embedded
|
735
|
-
// views cannot be given a custom injector. Instead, we look up the SidepanelRef by
|
736
|
-
// ID.
|
737
|
-
// This must occur in `onInit`, as the ID binding for the sidepanel container won't
|
738
|
-
// be resolved at constructor time. We use setTimeout by same reason.
|
739
|
-
setTimeout(function () {
|
740
|
-
_this.sidepanelRef = getClosestSidepanel(_this.elementRef, _this.sidepanelService.openedSidepanels);
|
741
|
-
});
|
742
|
-
}
|
743
|
-
};
|
744
|
-
McSidepanelClose.prototype.ngOnChanges = function (changes) {
|
745
|
-
var proxiedChange = changes.mcSidepanelClose || changes.sidepanelResult;
|
746
|
-
if (proxiedChange) {
|
747
|
-
this.sidepanelResult = proxiedChange.currentValue;
|
748
|
-
}
|
749
|
-
};
|
750
|
-
return McSidepanelClose;
|
751
|
-
}());
|
752
|
-
/** @nocollapse */ McSidepanelClose.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McSidepanelClose, deps: [{ token: McSidepanelRef, optional: true }, { token: i0__namespace.ElementRef }, { token: McSidepanelService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
753
|
-
/** @nocollapse */ McSidepanelClose.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: McSidepanelClose, selector: "button[mc-sidepanel-close], button[mcSidepanelClose]", inputs: { sidepanelResult: ["mc-sidepanel-close", "sidepanelResult"], mcSidepanelClose: "mcSidepanelClose" }, host: { listeners: { "click": "sidepanelRef.close(sidepanelResult)" }, classAttribute: "mc-sidepanel-close" }, usesOnChanges: true, ngImport: i0__namespace });
|
754
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McSidepanelClose, decorators: [{
|
755
|
-
type: i0.Directive,
|
756
|
-
args: [{
|
757
|
-
selector: 'button[mc-sidepanel-close], button[mcSidepanelClose]',
|
758
|
-
host: {
|
759
|
-
'(click)': 'sidepanelRef.close(sidepanelResult)',
|
760
|
-
class: 'mc-sidepanel-close'
|
761
|
-
}
|
762
|
-
}]
|
763
|
-
}], ctorParameters: function () {
|
764
|
-
return [{ type: McSidepanelRef, decorators: [{
|
765
|
-
type: i0.Optional
|
766
|
-
}] }, { type: i0__namespace.ElementRef }, { type: McSidepanelService }];
|
767
|
-
}, propDecorators: { sidepanelResult: [{
|
768
|
-
type: i0.Input,
|
769
|
-
args: ['mc-sidepanel-close']
|
770
|
-
}], mcSidepanelClose: [{
|
771
|
-
type: i0.Input,
|
772
|
-
args: ['mcSidepanelClose']
|
773
|
-
}] } });
|
774
|
-
/**
|
775
|
-
* Header of a sidepanel.
|
776
|
-
*/
|
777
|
-
var McSidepanelHeader = /** @class */ (function () {
|
778
|
-
function McSidepanelHeader() {
|
779
|
-
}
|
780
|
-
return McSidepanelHeader;
|
781
|
-
}());
|
782
|
-
/** @nocollapse */ McSidepanelHeader.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McSidepanelHeader, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
783
|
-
/** @nocollapse */ McSidepanelHeader.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.5", type: McSidepanelHeader, selector: "mc-sidepanel-header", inputs: { closeable: "closeable" }, host: { classAttribute: "mc-sidepanel-header" }, ngImport: i0__namespace, template: "\n <div class=\"mc-sidepanel-title\">\n <ng-content></ng-content>\n </div>\n <button *ngIf=\"closeable\" mc-sidepanel-close>\n <span class=\"mc-sidepanel-close-x\">\n <i mc-icon=\"mc-close-L_16\" class=\"mc-icon mc-icon_light\" [color]=\"'second'\"></i>\n </span>\n </button>\n ", isInline: true, components: [{ type: i3__namespace$1.McIcon, selector: "[mc-icon]", inputs: ["color"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: McSidepanelClose, selector: "button[mc-sidepanel-close], button[mcSidepanelClose]", inputs: ["mc-sidepanel-close", "mcSidepanelClose"] }, { type: i3__namespace$1.McIconCSSStyler, selector: "[mc-icon]" }] });
|
784
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McSidepanelHeader, decorators: [{
|
785
|
-
type: i0.Component,
|
786
|
-
args: [{
|
787
|
-
selector: 'mc-sidepanel-header',
|
788
|
-
template: "\n <div class=\"mc-sidepanel-title\">\n <ng-content></ng-content>\n </div>\n <button *ngIf=\"closeable\" mc-sidepanel-close>\n <span class=\"mc-sidepanel-close-x\">\n <i mc-icon=\"mc-close-L_16\" class=\"mc-icon mc-icon_light\" [color]=\"'second'\"></i>\n </span>\n </button>\n ",
|
789
|
-
host: {
|
790
|
-
class: 'mc-sidepanel-header'
|
791
|
-
}
|
792
|
-
}]
|
793
|
-
}], propDecorators: { closeable: [{
|
794
|
-
type: i0.Input
|
795
|
-
}] } });
|
796
|
-
/**
|
797
|
-
* Scrollable content container of a sidepanel.
|
798
|
-
*/
|
799
|
-
var McSidepanelBody = /** @class */ (function () {
|
800
|
-
function McSidepanelBody() {
|
801
|
-
}
|
802
|
-
return McSidepanelBody;
|
803
|
-
}());
|
804
|
-
/** @nocollapse */ McSidepanelBody.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McSidepanelBody, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
805
|
-
/** @nocollapse */ McSidepanelBody.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: McSidepanelBody, selector: "mc-sidepanel-body, [mc-sidepanel-body], mcSidepanelBody", host: { classAttribute: "mc-sidepanel-body" }, ngImport: i0__namespace });
|
806
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McSidepanelBody, decorators: [{
|
807
|
-
type: i0.Directive,
|
808
|
-
args: [{
|
809
|
-
selector: 'mc-sidepanel-body, [mc-sidepanel-body], mcSidepanelBody',
|
810
|
-
host: {
|
811
|
-
class: 'mc-sidepanel-body'
|
812
|
-
}
|
813
|
-
}]
|
814
|
-
}] });
|
815
|
-
/**
|
816
|
-
* Footer of a sidepanel.
|
817
|
-
*/
|
818
|
-
var McSidepanelFooter = /** @class */ (function () {
|
819
|
-
function McSidepanelFooter() {
|
820
|
-
}
|
821
|
-
return McSidepanelFooter;
|
822
|
-
}());
|
823
|
-
/** @nocollapse */ McSidepanelFooter.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McSidepanelFooter, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
824
|
-
/** @nocollapse */ McSidepanelFooter.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: McSidepanelFooter, selector: "mc-sidepanel-footer, [mc-sidepanel-footer], mcSidepanelFooter", host: { classAttribute: "mc-sidepanel-footer" }, ngImport: i0__namespace });
|
825
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McSidepanelFooter, decorators: [{
|
826
|
-
type: i0.Directive,
|
827
|
-
args: [{
|
828
|
-
selector: 'mc-sidepanel-footer, [mc-sidepanel-footer], mcSidepanelFooter',
|
829
|
-
host: {
|
830
|
-
class: 'mc-sidepanel-footer'
|
831
|
-
}
|
832
|
-
}]
|
833
|
-
}] });
|
834
|
-
/**
|
835
|
-
* Actions block of a sidepanel footer.
|
836
|
-
*/
|
837
|
-
var McSidepanelActions = /** @class */ (function () {
|
838
|
-
function McSidepanelActions() {
|
839
|
-
}
|
840
|
-
return McSidepanelActions;
|
841
|
-
}());
|
842
|
-
/** @nocollapse */ McSidepanelActions.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McSidepanelActions, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
843
|
-
/** @nocollapse */ McSidepanelActions.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: McSidepanelActions, selector: "mc-sidepanel-actions, [mc-sidepanel-actions], mcSidepanelActions", host: { classAttribute: "mc-sidepanel-actions" }, ngImport: i0__namespace });
|
844
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McSidepanelActions, decorators: [{
|
845
|
-
type: i0.Directive,
|
846
|
-
args: [{
|
847
|
-
selector: 'mc-sidepanel-actions, [mc-sidepanel-actions], mcSidepanelActions',
|
848
|
-
host: {
|
849
|
-
class: 'mc-sidepanel-actions'
|
850
|
-
}
|
851
|
-
}]
|
852
|
-
}] });
|
853
|
-
/**
|
854
|
-
* Finds the closest McSidepanelRef to an element by looking at the DOM.
|
855
|
-
* @param element Element relative to which to look for a sidepanel.
|
856
|
-
* @param openSidepanels References to the currently-open sidepanels.
|
857
|
-
*/
|
858
|
-
function getClosestSidepanel(element, openSidepanels) {
|
859
|
-
var parent = element.nativeElement.parentElement;
|
860
|
-
while (parent && !parent.classList.contains('mc-sidepanel-container')) {
|
861
|
-
parent = parent.parentElement;
|
862
|
-
}
|
863
|
-
return parent ? openSidepanels.find(function (sidepanel) { return sidepanel.id === parent.id; }) : null;
|
864
|
-
}
|
865
|
-
|
866
|
-
var McSidepanelModule = /** @class */ (function () {
|
867
|
-
function McSidepanelModule() {
|
868
|
-
}
|
869
|
-
return McSidepanelModule;
|
870
|
-
}());
|
871
|
-
/** @nocollapse */ McSidepanelModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McSidepanelModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
872
|
-
/** @nocollapse */ McSidepanelModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McSidepanelModule, declarations: [McSidepanelContainerComponent,
|
873
|
-
McSidepanelClose,
|
874
|
-
McSidepanelHeader,
|
875
|
-
McSidepanelBody,
|
876
|
-
McSidepanelFooter,
|
877
|
-
McSidepanelActions], imports: [i2.CommonModule,
|
878
|
-
i1.OverlayModule,
|
879
|
-
i3.PortalModule,
|
880
|
-
core.McCommonModule,
|
881
|
-
button.McButtonModule,
|
882
|
-
i3$1.McIconModule], exports: [McSidepanelContainerComponent,
|
883
|
-
McSidepanelClose,
|
884
|
-
McSidepanelHeader,
|
885
|
-
McSidepanelBody,
|
886
|
-
McSidepanelFooter,
|
887
|
-
McSidepanelActions] });
|
888
|
-
/** @nocollapse */ McSidepanelModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McSidepanelModule, providers: [McSidepanelService], imports: [[
|
889
|
-
i2.CommonModule,
|
890
|
-
i1.OverlayModule,
|
891
|
-
i3.PortalModule,
|
892
|
-
core.McCommonModule,
|
893
|
-
button.McButtonModule,
|
894
|
-
i3$1.McIconModule
|
895
|
-
]] });
|
896
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McSidepanelModule, decorators: [{
|
897
|
-
type: i0.NgModule,
|
898
|
-
args: [{
|
899
|
-
imports: [
|
900
|
-
i2.CommonModule,
|
901
|
-
i1.OverlayModule,
|
902
|
-
i3.PortalModule,
|
903
|
-
core.McCommonModule,
|
904
|
-
button.McButtonModule,
|
905
|
-
i3$1.McIconModule
|
906
|
-
],
|
907
|
-
providers: [McSidepanelService],
|
908
|
-
declarations: [
|
909
|
-
McSidepanelContainerComponent,
|
910
|
-
McSidepanelClose,
|
911
|
-
McSidepanelHeader,
|
912
|
-
McSidepanelBody,
|
913
|
-
McSidepanelFooter,
|
914
|
-
McSidepanelActions
|
915
|
-
],
|
916
|
-
entryComponents: [McSidepanelContainerComponent],
|
917
|
-
exports: [
|
918
|
-
McSidepanelContainerComponent,
|
919
|
-
McSidepanelClose,
|
920
|
-
McSidepanelHeader,
|
921
|
-
McSidepanelBody,
|
922
|
-
McSidepanelFooter,
|
923
|
-
McSidepanelActions
|
924
|
-
]
|
925
|
-
}]
|
926
|
-
}] });
|
927
|
-
|
928
|
-
/**
|
929
|
-
* Generated bundle index. Do not edit.
|
930
|
-
*/
|
931
|
-
|
932
|
-
exports.MC_SIDEPANEL_DATA = MC_SIDEPANEL_DATA;
|
933
|
-
exports.MC_SIDEPANEL_DEFAULT_OPTIONS = MC_SIDEPANEL_DEFAULT_OPTIONS;
|
934
|
-
exports.MC_SIDEPANEL_WITH_INDENT = MC_SIDEPANEL_WITH_INDENT;
|
935
|
-
exports.MC_SIDEPANEL_WITH_SHADOW = MC_SIDEPANEL_WITH_SHADOW;
|
936
|
-
exports.McSidepanelActions = McSidepanelActions;
|
937
|
-
exports.McSidepanelBody = McSidepanelBody;
|
938
|
-
exports.McSidepanelClose = McSidepanelClose;
|
939
|
-
exports.McSidepanelConfig = McSidepanelConfig;
|
940
|
-
exports.McSidepanelContainerComponent = McSidepanelContainerComponent;
|
941
|
-
exports.McSidepanelFooter = McSidepanelFooter;
|
942
|
-
exports.McSidepanelHeader = McSidepanelHeader;
|
943
|
-
exports.McSidepanelModule = McSidepanelModule;
|
944
|
-
exports.McSidepanelRef = McSidepanelRef;
|
945
|
-
exports.McSidepanelService = McSidepanelService;
|
946
|
-
|
947
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
948
|
-
|
949
|
-
})));
|
950
|
-
//# sourceMappingURL=ptsecurity-mosaic-sidepanel.umd.js.map
|