@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
@@ -124,7 +124,6 @@ function getDeclarationSymbolOfNode(node, checker) {
|
|
124
124
|
return symbol;
|
125
125
|
}
|
126
126
|
function resolveModuleName(node, typeChecker) {
|
127
|
-
var _a;
|
128
127
|
// Get the symbol for the named binding element. Note that we cannot determine the
|
129
128
|
// value declaration based on the type of the element as types are not necessarily
|
130
129
|
// specific to a given secondary entry-point (e.g. exports with the type of "string")
|
@@ -140,7 +139,7 @@ function resolveModuleName(node, typeChecker) {
|
|
140
139
|
// The filename for the source file of the node that contains the
|
141
140
|
// first declaration of the symbol. All symbol declarations must be
|
142
141
|
// part of a defining node, so parent can be asserted to be defined.
|
143
|
-
const resolvedNode = symbol.valueDeclaration ||
|
142
|
+
const resolvedNode = symbol.valueDeclaration || symbol.declarations?.[0];
|
144
143
|
if (!resolvedNode) {
|
145
144
|
return null;
|
146
145
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"secondary-entry-points-migration.js","sourceRoot":"","sources":["../../../../../packages/mosaic/schematics/ng-update/update-9.0.0/secondary-entry-points-migration.ts"],"names":[],"mappings":";;;AAAA,iBAAiB;AACjB,wDAAmE;AACnE,iCAAiC;AAGjC,MAAM,2BAA2B,GAAG,qDAAqD;IACrF,4DAA4D,CAAC;AAEjE,MAAM,mCAAmC,GAAG,oCAAoC;IAC5E,4DAA4D,CAAC;AAGjE,MAAM,2BAA2B,GAAG,oBAAoB,CAAC;AACzD,MAAM,4BAA4B,GAAG,oBAAoB,CAAC;AAE1D,MAAM,wBAAwB,GAAG,IAAI,MAAM,CACvC,GAAG,2BAA2B,SAAS,CAC1C,CAAC;AAEF,2CAA2C;AAC3C,MAAM,oBAAoB,GAA6B,OAAO,CAAC,uBAAuB,CAAC,CAAC;AAGxF,2CAA2C;AAC3C,MAAa,6BAA8B,SAAQ,sBAAe;IAAlE;;QAEI,YAAO,GAAG,EAAE,CAAC,aAAa,EAAE,CAAC;QAE7B,4DAA4D;QAC5D,YAAO,GAAG,IAAI,CAAC,aAAa,KAAK,0BAAa,CAAC,EAAE,IAAI,IAAI,CAAC,aAAa,KAAK,0BAAa,CAAC,EAAE,CAAC;IA+GjG,CAAC;IA7GG,gDAAgD;IAChD,SAAS,CAAC,WAAoB;QAE1B,IACI,CAAC,EAAE,CAAC,mBAAmB,CAAC,WAAW,CAAC;YACpC,CAAC,EAAE,CAAC,mBAAmB,CAAC,WAAW,CAAC,eAAe,CAAC,EACtD;YACE,OAAO;SACV;QAED,MAAM,cAAc,GAAG,WAAW,CAAC,eAAe,CAAC,IAAI,CAAC;QACxD,8DAA8D;QAC9D,IAAI,cAAc,KAAK,2BAA2B,EAAE;YAChD,OAAO;SACV;QAED,wEAAwE;QACxE,0DAA0D;QAC1D,IAAI,C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I,CAAC,MAAM,CAAC,YAAY,IAAI,MAAM,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,EAAE;QACpG,2CAA2C;QAC3C,OAAO,IAAI,CAAC;KACf;IAED,iEAAiE;IACjE,mEAAmE;IACnE,oEAAoE;IACpE,MAAM,YAAY,GAAG,MAAM,CAAC,gBAAgB,KAAI,MAAA,MAAM,CAAC,YAAY,0CAAG,CAAC,CAAC,CAAA,CAAC;IAEzE,IAAI,CAAC,YAAY,EAAE;QAAE,OAAO,IAAI,CAAC;KAAE;IAEnC,MAAM,UAAU,GAAG,YAAY,CAAC,aAAa,EAAE,CAAC,QAAQ,CAAC;IAEzD,kEAAkE;IAClE,mEAAmE;IACnE,yBAAyB;IACzB,MAAM,OAAO,GAAG,UAAU,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAE3D,2CAA2C;IAC3C,OAAO,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AACvC,CAAC","sourcesContent":["// tslint:disable\nimport { Migration, TargetVersion } from '@angular/cdk/schematics';\nimport * as ts from 'typescript';\n\n\nconst ONLY_SUBPACKAGE_FAILURE_STR = `Importing from \"@ptsecurity/mosaic\" is deprecated. ` +\n `Instead import from the entry-point the symbol belongs to.`;\n\nconst NO_IMPORT_NAMED_SYMBOLS_FAILURE_STR = `Imports from Mosaic should import ` +\n `specific symbols rather than importing the entire library.`;\n\n\nconst legacyMosaicModuleSpecifier = '@ptsecurity/mosaic';\nconst currentMosaicModuleSpecifier = '@ptsecurity/mosaic';\n\nconst MOSAIC_AC_FILEPATH_REGEX = new RegExp(\n `${legacyMosaicModuleSpecifier}/(.*?)/`\n);\n\n// tslint:disable-next-line:no-var-requires\nconst ENTRY_POINT_MAPPINGS: {[name: string]: string} = require('./mosaic-symbols.json');\n\n\n// tslint:disable-next-line:no-null-keyword\nexport class SecondaryEntryPointsMigration extends Migration<null> {\n\n printer = ts.createPrinter();\n\n // Only enable this rule if the migration targets version 8.\n enabled = this.targetVersion === TargetVersion.V8 || this.targetVersion === TargetVersion.V9;\n\n // tslint:disable-next-line:max-func-body-length\n visitNode(declaration: ts.Node): void {\n\n if (\n !ts.isImportDeclaration(declaration) ||\n !ts.isStringLiteralLike(declaration.moduleSpecifier)\n ) {\n return;\n }\n\n const importLocation = declaration.moduleSpecifier.text;\n // skip check - if the import module is not @ptsecurity/mosaic\n if (importLocation !== legacyMosaicModuleSpecifier) {\n return;\n }\n\n // If no import clause is found, or nothing is named as a binding in the\n // import, add failure saying to import symbols in clause.\n if (!declaration.importClause || !declaration.importClause.namedBindings) {\n this.createFailureAtNode(declaration, NO_IMPORT_NAMED_SYMBOLS_FAILURE_STR);\n\n return;\n }\n\n // All named bindings in import clauses must be named symbols, otherwise add\n // failure saying to import symbols in clause.\n if (!ts.isNamedImports(declaration.importClause.namedBindings)) {\n this.createFailureAtNode(declaration, NO_IMPORT_NAMED_SYMBOLS_FAILURE_STR);\n\n return;\n }\n\n // If no symbols are in the named bindings then add failure saying to\n // import symbols in clause.\n if (!declaration.importClause.namedBindings.elements.length) {\n this.createFailureAtNode(declaration, NO_IMPORT_NAMED_SYMBOLS_FAILURE_STR);\n\n return;\n }\n\n // Map which consists of secondary entry-points and import specifiers which are used\n // within the current import declaration.\n const importMap = new Map<string, ts.ImportSpecifier[]>();\n\n // Determine the subpackage each symbol in the namedBinding comes from.\n for (const element of declaration.importClause.namedBindings.elements) {\n\n const elementName = element.propertyName ? element.propertyName : element.name;\n\n const moduleName = resolveModuleName(elementName, this.typeChecker) ||\n // tslint:disable-next-line:no-null-keyword\n ENTRY_POINT_MAPPINGS[elementName.text] || null;\n\n if (!moduleName) {\n\n this.createFailureAtNode(\n element, `\"${element.getText()}\" was not found in the Mosaic library.`);\n\n return;\n }\n\n // The module name where the symbol is defined e.g. card, dialog. The\n // first capture group is contains the module name.\n if (importMap.has(moduleName)) {\n importMap.get(moduleName)!.push(element);\n } else {\n importMap.set(moduleName, [element]);\n }\n }\n\n const singleQuoteImport = declaration.moduleSpecifier.getText()[0] === `'`;\n\n // Transforms the import declaration into multiple import declarations that import\n // the given symbols from the individual secondary entry-points. For example:\n // import { McCardModule } from '@ptsecurity/mosaic/card';\n // import { McRadioModule } from '@ptsecurity/mosaic/radio';\n const newImportStatements =\n Array.from(importMap.entries())\n .sort()\n .map(([name, elements]) => {\n const newImport = ts.createImportDeclaration(\n undefined, undefined,\n ts.createImportClause(undefined, ts.createNamedImports(elements)),\n createStringLiteral(`${currentMosaicModuleSpecifier}/${name}`, singleQuoteImport));\n\n return this.printer.printNode(\n ts.EmitHint.Unspecified, newImport, declaration.getSourceFile());\n })\n .join('\\n');\n\n // Without any import statements that were generated, we can assume that this was an empty\n // import declaration. We still want to add a failure in order to make developers aware that\n // importing from \"@ptsecurity/mosaic\" is deprecated.\n if (!newImportStatements) {\n this.createFailureAtNode(declaration.moduleSpecifier, ONLY_SUBPACKAGE_FAILURE_STR);\n\n return;\n }\n\n const filePath = this.fileSystem.resolve(\n declaration.moduleSpecifier.getSourceFile().fileName);\n\n const recorder = this.fileSystem.edit(filePath);\n\n // Perform the replacement that switches the primary entry-point import to\n // the individual secondary entry-point imports.\n recorder.remove(declaration.getStart(), declaration.getWidth());\n recorder.insertRight(declaration.getStart(), newImportStatements);\n }\n}\n\n/**\n * Creates a string literal from the specified text.\n * @param text Text of the string literal.\n * @param singleQuotes Whether single quotes should be used when printing the literal node.\n */\nfunction createStringLiteral(text: string, singleQuotes: boolean): ts.StringLiteral {\n const literal = ts.createStringLiteral(text);\n // See: https://github.com/microsoft/TypeScript/blob/master/src/compiler/utilities.ts#L584-L590\n // tslint:disable-next-line: no-string-literal\n literal['singleQuote'] = singleQuotes;\n\n return literal;\n}\n\nfunction getDeclarationSymbolOfNode(node: ts.Node, checker: ts.TypeChecker): ts.Symbol | undefined {\n // tslint:disable-next-line:no-reserved-keywords\n const symbol = checker.getSymbolAtLocation(node);\n\n // Symbols can be aliases of the declaration symbol. e.g. in named import specifiers.\n // We need to resolve the aliased symbol back to the declaration symbol.\n // tslint:disable-next-line:no-bitwise\n if (symbol && (symbol.flags & ts.SymbolFlags.Alias) !== 0) {\n return checker.getAliasedSymbol(symbol);\n }\n\n return symbol;\n}\n\nfunction resolveModuleName(node: ts.Identifier, typeChecker: ts.TypeChecker) {\n // Get the symbol for the named binding element. Note that we cannot determine the\n // value declaration based on the type of the element as types are not necessarily\n // specific to a given secondary entry-point (e.g. exports with the type of \"string\")\n // would resolve to the module types provided by TypeScript itself.\n // tslint:disable-next-line:no-reserved-keywords\n const symbol = getDeclarationSymbolOfNode(node, typeChecker);\n\n // If the symbol can't be found, or no declaration could be found within\n // the symbol, add failure to report that the given symbol can't be found.\n if (!symbol || !(symbol.valueDeclaration || (symbol.declarations && symbol.declarations.length !== 0))) {\n // tslint:disable-next-line:no-null-keyword\n return null;\n }\n\n // The filename for the source file of the node that contains the\n // first declaration of the symbol. All symbol declarations must be\n // part of a defining node, so parent can be asserted to be defined.\n const resolvedNode = symbol.valueDeclaration || symbol.declarations?.[0];\n\n if (!resolvedNode) { return null; }\n\n const sourceFile = resolvedNode.getSourceFile().fileName;\n\n // File the module the symbol belongs to from a regex match of the\n // filename. This will always match since only \"@ptsecurity/mosaic\"\n // elements are analyzed.\n const matches = sourceFile.match(MOSAIC_AC_FILEPATH_REGEX);\n\n // tslint:disable-next-line:no-null-keyword\n return matches ? matches[1] : null;\n}\n"]}
|
1
|
+
{"version":3,"file":"secondary-entry-points-migration.js","sourceRoot":"","sources":["../../../../../packages/mosaic/schematics/ng-update/update-9.0.0/secondary-entry-points-migration.ts"],"names":[],"mappings":";;;AAAA,iBAAiB;AACjB,wDAAmE;AACnE,iCAAiC;AAGjC,MAAM,2BAA2B,GAAG,qDAAqD;IACrF,4DAA4D,CAAC;AAEjE,MAAM,mCAAmC,GAAG,oCAAoC;IAC5E,4DAA4D,CAAC;AAGjE,MAAM,2BAA2B,GAAG,oBAAoB,CAAC;AACzD,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AmE;IACnE,yBAAyB;IACzB,MAAM,OAAO,GAAG,UAAU,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAE3D,2CAA2C;IAC3C,OAAO,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AACvC,CAAC","sourcesContent":["// tslint:disable\nimport { Migration, TargetVersion } from '@angular/cdk/schematics';\nimport * as ts from 'typescript';\n\n\nconst ONLY_SUBPACKAGE_FAILURE_STR = `Importing from \"@ptsecurity/mosaic\" is deprecated. ` +\n `Instead import from the entry-point the symbol belongs to.`;\n\nconst NO_IMPORT_NAMED_SYMBOLS_FAILURE_STR = `Imports from Mosaic should import ` +\n `specific symbols rather than importing the entire library.`;\n\n\nconst legacyMosaicModuleSpecifier = '@ptsecurity/mosaic';\nconst currentMosaicModuleSpecifier = '@ptsecurity/mosaic';\n\nconst MOSAIC_AC_FILEPATH_REGEX = new RegExp(\n `${legacyMosaicModuleSpecifier}/(.*?)/`\n);\n\n// tslint:disable-next-line:no-var-requires\nconst ENTRY_POINT_MAPPINGS: {[name: string]: string} = require('./mosaic-symbols.json');\n\n\n// tslint:disable-next-line:no-null-keyword\nexport class SecondaryEntryPointsMigration extends Migration<null> {\n\n printer = ts.createPrinter();\n\n // Only enable this rule if the migration targets version 8.\n enabled = this.targetVersion === TargetVersion.V8 || this.targetVersion === TargetVersion.V9;\n\n // tslint:disable-next-line:max-func-body-length\n visitNode(declaration: ts.Node): void {\n\n if (\n !ts.isImportDeclaration(declaration) ||\n !ts.isStringLiteralLike(declaration.moduleSpecifier)\n ) {\n return;\n }\n\n const importLocation = declaration.moduleSpecifier.text;\n // skip check - if the import module is not @ptsecurity/mosaic\n if (importLocation !== legacyMosaicModuleSpecifier) {\n return;\n }\n\n // If no import clause is found, or nothing is named as a binding in the\n // import, add failure saying to import symbols in clause.\n if (!declaration.importClause || !declaration.importClause.namedBindings) {\n this.createFailureAtNode(declaration, NO_IMPORT_NAMED_SYMBOLS_FAILURE_STR);\n\n return;\n }\n\n // All named bindings in import clauses must be named symbols, otherwise add\n // failure saying to import symbols in clause.\n if (!ts.isNamedImports(declaration.importClause.namedBindings)) {\n this.createFailureAtNode(declaration, NO_IMPORT_NAMED_SYMBOLS_FAILURE_STR);\n\n return;\n }\n\n // If no symbols are in the named bindings then add failure saying to\n // import symbols in clause.\n if (!declaration.importClause.namedBindings.elements.length) {\n this.createFailureAtNode(declaration, NO_IMPORT_NAMED_SYMBOLS_FAILURE_STR);\n\n return;\n }\n\n // Map which consists of secondary entry-points and import specifiers which are used\n // within the current import declaration.\n const importMap = new Map<string, ts.ImportSpecifier[]>();\n\n // Determine the subpackage each symbol in the namedBinding comes from.\n for (const element of declaration.importClause.namedBindings.elements) {\n\n const elementName = element.propertyName ? element.propertyName : element.name;\n\n const moduleName = resolveModuleName(elementName, this.typeChecker) ||\n // tslint:disable-next-line:no-null-keyword\n ENTRY_POINT_MAPPINGS[elementName.text] || null;\n\n if (!moduleName) {\n\n this.createFailureAtNode(\n element, `\"${element.getText()}\" was not found in the Mosaic library.`);\n\n return;\n }\n\n // The module name where the symbol is defined e.g. card, dialog. The\n // first capture group is contains the module name.\n if (importMap.has(moduleName)) {\n importMap.get(moduleName)!.push(element);\n } else {\n importMap.set(moduleName, [element]);\n }\n }\n\n const singleQuoteImport = declaration.moduleSpecifier.getText()[0] === `'`;\n\n // Transforms the import declaration into multiple import declarations that import\n // the given symbols from the individual secondary entry-points. For example:\n // import { McCardModule } from '@ptsecurity/mosaic/card';\n // import { McRadioModule } from '@ptsecurity/mosaic/radio';\n const newImportStatements =\n Array.from(importMap.entries())\n .sort()\n .map(([name, elements]) => {\n const newImport = ts.createImportDeclaration(\n undefined, undefined,\n ts.createImportClause(undefined, ts.createNamedImports(elements)),\n createStringLiteral(`${currentMosaicModuleSpecifier}/${name}`, singleQuoteImport));\n\n return this.printer.printNode(\n ts.EmitHint.Unspecified, newImport, declaration.getSourceFile());\n })\n .join('\\n');\n\n // Without any import statements that were generated, we can assume that this was an empty\n // import declaration. We still want to add a failure in order to make developers aware that\n // importing from \"@ptsecurity/mosaic\" is deprecated.\n if (!newImportStatements) {\n this.createFailureAtNode(declaration.moduleSpecifier, ONLY_SUBPACKAGE_FAILURE_STR);\n\n return;\n }\n\n const filePath = this.fileSystem.resolve(\n declaration.moduleSpecifier.getSourceFile().fileName);\n\n const recorder = this.fileSystem.edit(filePath);\n\n // Perform the replacement that switches the primary entry-point import to\n // the individual secondary entry-point imports.\n recorder.remove(declaration.getStart(), declaration.getWidth());\n recorder.insertRight(declaration.getStart(), newImportStatements);\n }\n}\n\n/**\n * Creates a string literal from the specified text.\n * @param text Text of the string literal.\n * @param singleQuotes Whether single quotes should be used when printing the literal node.\n */\nfunction createStringLiteral(text: string, singleQuotes: boolean): ts.StringLiteral {\n const literal = ts.createStringLiteral(text);\n // See: https://github.com/microsoft/TypeScript/blob/master/src/compiler/utilities.ts#L584-L590\n // tslint:disable-next-line: no-string-literal\n literal['singleQuote'] = singleQuotes;\n\n return literal;\n}\n\nfunction getDeclarationSymbolOfNode(node: ts.Node, checker: ts.TypeChecker): ts.Symbol | undefined {\n // tslint:disable-next-line:no-reserved-keywords\n const symbol = checker.getSymbolAtLocation(node);\n\n // Symbols can be aliases of the declaration symbol. e.g. in named import specifiers.\n // We need to resolve the aliased symbol back to the declaration symbol.\n // tslint:disable-next-line:no-bitwise\n if (symbol && (symbol.flags & ts.SymbolFlags.Alias) !== 0) {\n return checker.getAliasedSymbol(symbol);\n }\n\n return symbol;\n}\n\nfunction resolveModuleName(node: ts.Identifier, typeChecker: ts.TypeChecker) {\n // Get the symbol for the named binding element. Note that we cannot determine the\n // value declaration based on the type of the element as types are not necessarily\n // specific to a given secondary entry-point (e.g. exports with the type of \"string\")\n // would resolve to the module types provided by TypeScript itself.\n // tslint:disable-next-line:no-reserved-keywords\n const symbol = getDeclarationSymbolOfNode(node, typeChecker);\n\n // If the symbol can't be found, or no declaration could be found within\n // the symbol, add failure to report that the given symbol can't be found.\n if (!symbol || !(symbol.valueDeclaration || (symbol.declarations && symbol.declarations.length !== 0))) {\n // tslint:disable-next-line:no-null-keyword\n return null;\n }\n\n // The filename for the source file of the node that contains the\n // first declaration of the symbol. All symbol declarations must be\n // part of a defining node, so parent can be asserted to be defined.\n const resolvedNode = symbol.valueDeclaration || symbol.declarations?.[0];\n\n if (!resolvedNode) { return null; }\n\n const sourceFile = resolvedNode.getSourceFile().fileName;\n\n // File the module the symbol belongs to from a regex match of the\n // filename. This will always match since only \"@ptsecurity/mosaic\"\n // elements are analyzed.\n const matches = sourceFile.match(MOSAIC_AC_FILEPATH_REGEX);\n\n // tslint:disable-next-line:no-null-keyword\n return matches ? matches[1] : null;\n}\n"]}
|
@@ -11,6 +11,7 @@ exports.mosaicUpgradeData = {
|
|
11
11
|
inputNames: data_1.inputNames,
|
12
12
|
methodCallChecks: data_1.methodCallChecks,
|
13
13
|
outputNames: data_1.outputNames,
|
14
|
-
propertyNames: data_1.propertyNames
|
14
|
+
propertyNames: data_1.propertyNames,
|
15
|
+
symbolRemoval: data_1.symbolRemoval
|
15
16
|
};
|
16
17
|
//# sourceMappingURL=upgrade-data.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"upgrade-data.js","sourceRoot":"","sources":["../../../../packages/mosaic/schematics/ng-update/upgrade-data.ts"],"names":[],"mappings":";;;AAEA,
|
1
|
+
{"version":3,"file":"upgrade-data.js","sourceRoot":"","sources":["../../../../packages/mosaic/schematics/ng-update/upgrade-data.ts"],"names":[],"mappings":";;;AAEA,iCAWgB;AAGH,QAAA,iBAAiB,GAAgB;IAC1C,kBAAkB,EAAlB,yBAAkB;IAClB,UAAU,EAAV,iBAAU;IACV,iBAAiB,EAAjB,wBAAiB;IACjB,YAAY,EAAZ,mBAAY;IACZ,gBAAgB,EAAhB,uBAAgB;IAChB,UAAU,EAAV,iBAAU;IACV,gBAAgB,EAAhB,uBAAgB;IAChB,WAAW,EAAX,kBAAW;IACX,aAAa,EAAb,oBAAa;IACb,aAAa,EAAb,oBAAa;CAChB,CAAC","sourcesContent":["import { UpgradeData } from '@angular/cdk/schematics';\n\nimport {\n attributeSelectors,\n classNames,\n constructorChecks,\n cssSelectors,\n elementSelectors,\n inputNames,\n methodCallChecks,\n outputNames,\n propertyNames,\n symbolRemoval\n} from './data';\n\n\nexport const mosaicUpgradeData: UpgradeData = {\n attributeSelectors,\n classNames,\n constructorChecks,\n cssSelectors,\n elementSelectors,\n inputNames,\n methodCallChecks,\n outputNames,\n propertyNames,\n symbolRemoval\n};\n"]}
|
@@ -3,11 +3,11 @@
|
|
3
3
|
"compilerOptions": {
|
4
4
|
"outDir": "../../../dist/out-tsc",
|
5
5
|
"module": "commonjs",
|
6
|
-
"target": "
|
6
|
+
"target": "es2020",
|
7
7
|
"declaration": true,
|
8
8
|
"inlineSources": true,
|
9
9
|
"types": [],
|
10
|
-
"lib": ["dom", "
|
10
|
+
"lib": ["dom", "es2020"]
|
11
11
|
},
|
12
12
|
"exclude": [
|
13
13
|
"**/*.spec.ts",
|
package/select/README.md
ADDED
File without changes
|
package/select/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
"
|
5
|
-
"
|
6
|
-
"fesm2015": "../fesm2015/ptsecurity-mosaic-select.
|
2
|
+
"module": "../fesm2015/ptsecurity-mosaic-select.mjs",
|
3
|
+
"es2020": "../fesm2020/ptsecurity-mosaic-select.mjs",
|
4
|
+
"esm2020": "../esm2020/select/ptsecurity-mosaic-select.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ptsecurity-mosaic-select.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ptsecurity-mosaic-select.mjs",
|
7
7
|
"typings": "ptsecurity-mosaic-select.d.ts",
|
8
8
|
"sideEffects": false,
|
9
9
|
"name": "@ptsecurity/mosaic/select"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Directionality } from '@angular/cdk/bidi';
|
2
2
|
import { SelectionModel } from '@angular/cdk/collections';
|
3
|
-
import { CdkConnectedOverlay } from '@angular/cdk/overlay';
|
3
|
+
import { CdkConnectedOverlay, ConnectedPosition } from '@angular/cdk/overlay';
|
4
4
|
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, DoCheck, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, QueryList, Renderer2, SimpleChanges } from '@angular/core';
|
5
5
|
import { ControlValueAccessor, FormControlName, FormGroupDirective, NgControl, NgForm, NgModel, Validator } from '@angular/forms';
|
6
6
|
import { ActiveDescendantKeyManager } from '@ptsecurity/cdk/a11y';
|
@@ -87,12 +87,7 @@ export declare class McSelect extends McSelectMixinBase implements AfterContentI
|
|
87
87
|
* the trigger completely). If the panel cannot fit below the trigger, it
|
88
88
|
* will fall back to a position above the trigger.
|
89
89
|
*/
|
90
|
-
positions:
|
91
|
-
originX: string;
|
92
|
-
originY: string;
|
93
|
-
overlayX: string;
|
94
|
-
overlayY: string;
|
95
|
-
}[];
|
90
|
+
positions: ConnectedPosition[];
|
96
91
|
trigger: ElementRef;
|
97
92
|
panel: ElementRef;
|
98
93
|
optionsContainer: ElementRef;
|
package/sidebar/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
"
|
5
|
-
"
|
6
|
-
"fesm2015": "../fesm2015/ptsecurity-mosaic-sidebar.
|
2
|
+
"module": "../fesm2015/ptsecurity-mosaic-sidebar.mjs",
|
3
|
+
"es2020": "../fesm2020/ptsecurity-mosaic-sidebar.mjs",
|
4
|
+
"esm2020": "../esm2020/sidebar/ptsecurity-mosaic-sidebar.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ptsecurity-mosaic-sidebar.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ptsecurity-mosaic-sidebar.mjs",
|
7
7
|
"typings": "ptsecurity-mosaic-sidebar.d.ts",
|
8
8
|
"sideEffects": false,
|
9
9
|
"name": "@ptsecurity/mosaic/sidebar"
|
package/sidepanel/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
"
|
5
|
-
"
|
6
|
-
"fesm2015": "../fesm2015/ptsecurity-mosaic-sidepanel.
|
2
|
+
"module": "../fesm2015/ptsecurity-mosaic-sidepanel.mjs",
|
3
|
+
"es2020": "../fesm2020/ptsecurity-mosaic-sidepanel.mjs",
|
4
|
+
"esm2020": "../esm2020/sidepanel/ptsecurity-mosaic-sidepanel.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ptsecurity-mosaic-sidepanel.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ptsecurity-mosaic-sidepanel.mjs",
|
7
7
|
"typings": "ptsecurity-mosaic-sidepanel.d.ts",
|
8
8
|
"sideEffects": false,
|
9
9
|
"name": "@ptsecurity/mosaic/sidepanel"
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
2
|
+
import { ThemePalette } from '@ptsecurity/mosaic/core';
|
2
3
|
import { McSidepanelRef } from './sidepanel-ref';
|
3
4
|
import { McSidepanelService } from './sidepanel.service';
|
4
5
|
import * as i0 from "@angular/core";
|
@@ -21,6 +22,7 @@ export declare class McSidepanelClose implements OnInit, OnChanges {
|
|
21
22
|
* Header of a sidepanel.
|
22
23
|
*/
|
23
24
|
export declare class McSidepanelHeader {
|
25
|
+
themePalette: typeof ThemePalette;
|
24
26
|
closeable: boolean;
|
25
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<McSidepanelHeader, never>;
|
26
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<McSidepanelHeader, "mc-sidepanel-header", never, { "closeable": "closeable"; }, {}, never, ["*"]>;
|
@@ -7,8 +7,9 @@ import * as i5 from "@angular/cdk/portal";
|
|
7
7
|
import * as i6 from "@ptsecurity/mosaic/core";
|
8
8
|
import * as i7 from "@ptsecurity/mosaic/button";
|
9
9
|
import * as i8 from "@ptsecurity/mosaic/icon";
|
10
|
+
import * as i9 from "@angular/cdk/a11y";
|
10
11
|
export declare class McSidepanelModule {
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<McSidepanelModule, never>;
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<McSidepanelModule, [typeof i1.McSidepanelContainerComponent, typeof i2.McSidepanelClose, typeof i2.McSidepanelHeader, typeof i2.McSidepanelBody, typeof i2.McSidepanelFooter, typeof i2.McSidepanelActions], [typeof i3.CommonModule, typeof i4.OverlayModule, typeof i5.PortalModule, typeof i6.McCommonModule, typeof i7.McButtonModule, typeof i8.McIconModule], [typeof i1.McSidepanelContainerComponent, typeof i2.McSidepanelClose, typeof i2.McSidepanelHeader, typeof i2.McSidepanelBody, typeof i2.McSidepanelFooter, typeof i2.McSidepanelActions]>;
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McSidepanelModule, [typeof i1.McSidepanelContainerComponent, typeof i2.McSidepanelClose, typeof i2.McSidepanelHeader, typeof i2.McSidepanelBody, typeof i2.McSidepanelFooter, typeof i2.McSidepanelActions], [typeof i3.CommonModule, typeof i4.OverlayModule, typeof i5.PortalModule, typeof i6.McCommonModule, typeof i7.McButtonModule, typeof i8.McIconModule, typeof i9.A11yModule], [typeof i1.McSidepanelContainerComponent, typeof i2.McSidepanelClose, typeof i2.McSidepanelHeader, typeof i2.McSidepanelBody, typeof i2.McSidepanelFooter, typeof i2.McSidepanelActions]>;
|
13
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<McSidepanelModule>;
|
14
15
|
}
|
package/splitter/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
"
|
5
|
-
"
|
6
|
-
"fesm2015": "../fesm2015/ptsecurity-mosaic-splitter.
|
2
|
+
"module": "../fesm2015/ptsecurity-mosaic-splitter.mjs",
|
3
|
+
"es2020": "../fesm2020/ptsecurity-mosaic-splitter.mjs",
|
4
|
+
"esm2020": "../esm2020/splitter/ptsecurity-mosaic-splitter.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ptsecurity-mosaic-splitter.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ptsecurity-mosaic-splitter.mjs",
|
7
7
|
"typings": "ptsecurity-mosaic-splitter.d.ts",
|
8
8
|
"sideEffects": false,
|
9
9
|
"name": "@ptsecurity/mosaic/splitter"
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, NgZone, OnDestroy, OnInit, QueryList, Renderer2 } from '@angular/core';
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, QueryList, Renderer2 } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
interface IArea {
|
4
4
|
area: McSplitterAreaDirective;
|
@@ -6,6 +6,10 @@ interface IArea {
|
|
6
6
|
order: number;
|
7
7
|
initialSize: number;
|
8
8
|
}
|
9
|
+
interface IPoint {
|
10
|
+
x: number;
|
11
|
+
y: number;
|
12
|
+
}
|
9
13
|
export declare enum Direction {
|
10
14
|
Horizontal = "horizontal",
|
11
15
|
Vertical = "vertical"
|
@@ -22,22 +26,49 @@ export declare class McGutterDirective implements OnInit {
|
|
22
26
|
get size(): number;
|
23
27
|
set size(size: number);
|
24
28
|
private _size;
|
29
|
+
get isVertical(): boolean;
|
25
30
|
dragged: boolean;
|
26
31
|
constructor(elementRef: ElementRef, renderer: Renderer2);
|
27
32
|
ngOnInit(): void;
|
28
|
-
|
33
|
+
getPosition(): IPoint;
|
29
34
|
private setStyle;
|
30
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<McGutterDirective, never>;
|
31
36
|
static ɵdir: i0.ɵɵDirectiveDeclaration<McGutterDirective, "mc-gutter", never, { "direction": "direction"; "order": "order"; "size": "size"; }, {}, never>;
|
32
37
|
}
|
38
|
+
export declare class McGutterGhostDirective {
|
39
|
+
private elementRef;
|
40
|
+
private renderer;
|
41
|
+
visible: boolean;
|
42
|
+
get x(): number;
|
43
|
+
set x(x: number);
|
44
|
+
private _x;
|
45
|
+
get y(): number;
|
46
|
+
set y(y: number);
|
47
|
+
private _y;
|
48
|
+
get direction(): Direction;
|
49
|
+
set direction(direction: Direction);
|
50
|
+
private _direction;
|
51
|
+
get size(): number;
|
52
|
+
set size(size: number);
|
53
|
+
private _size;
|
54
|
+
get isVertical(): boolean;
|
55
|
+
constructor(elementRef: ElementRef, renderer: Renderer2);
|
56
|
+
private updateDimensions;
|
57
|
+
private setStyle;
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McGutterGhostDirective, never>;
|
59
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McGutterGhostDirective, "mc-gutter-ghost", never, { "visible": "visible"; "x": "x"; "y": "y"; "direction": "direction"; "size": "size"; }, {}, never>;
|
60
|
+
}
|
33
61
|
export declare class McSplitterComponent implements OnInit {
|
34
62
|
elementRef: ElementRef;
|
35
63
|
changeDetectorRef: ChangeDetectorRef;
|
36
64
|
private ngZone;
|
37
65
|
private renderer;
|
66
|
+
gutterPositionChange: EventEmitter<void>;
|
38
67
|
readonly areas: IArea[];
|
39
68
|
gutters: QueryList<McGutterDirective>;
|
40
|
-
|
69
|
+
ghost: McGutterGhostDirective;
|
70
|
+
get isDragging(): boolean;
|
71
|
+
private _isDragging;
|
41
72
|
private readonly areaPositionDivider;
|
42
73
|
private readonly listeners;
|
43
74
|
get hideGutters(): boolean;
|
@@ -49,9 +80,14 @@ export declare class McSplitterComponent implements OnInit {
|
|
49
80
|
get disabled(): boolean;
|
50
81
|
set disabled(disabled: boolean);
|
51
82
|
private _disabled;
|
83
|
+
get useGhost(): boolean;
|
84
|
+
set useGhost(useGhost: boolean);
|
85
|
+
private _useGhost;
|
52
86
|
get gutterSize(): number;
|
53
87
|
set gutterSize(gutterSize: number);
|
54
88
|
private _gutterSize;
|
89
|
+
get resizing(): boolean;
|
90
|
+
private _resizing;
|
55
91
|
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, ngZone: NgZone, renderer: Renderer2);
|
56
92
|
addArea(area: McSplitterAreaDirective): void;
|
57
93
|
ngOnInit(): void;
|
@@ -60,22 +96,26 @@ export declare class McSplitterComponent implements OnInit {
|
|
60
96
|
isVertical(): boolean;
|
61
97
|
private updateGutter;
|
62
98
|
private onMouseMove;
|
99
|
+
private resizeAreas;
|
63
100
|
private onMouseUp;
|
64
101
|
private setStyle;
|
65
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<McSplitterComponent, never>;
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McSplitterComponent, "mc-splitter", ["mcSplitter"], { "hideGutters": "hideGutters"; "direction": "direction"; "disabled": "disabled"; "gutterSize": "gutterSize"; }, {}, never, ["*"]>;
|
103
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McSplitterComponent, "mc-splitter", ["mcSplitter"], { "hideGutters": "hideGutters"; "direction": "direction"; "disabled": "disabled"; "useGhost": "useGhost"; "gutterSize": "gutterSize"; }, { "gutterPositionChange": "gutterPositionChange"; }, never, ["*"]>;
|
67
104
|
}
|
68
105
|
export declare class McSplitterAreaDirective implements OnInit, OnDestroy {
|
69
106
|
private elementRef;
|
70
107
|
private renderer;
|
71
108
|
private splitter;
|
109
|
+
sizeChange: EventEmitter<number>;
|
72
110
|
constructor(elementRef: ElementRef, renderer: Renderer2, splitter: McSplitterComponent);
|
111
|
+
isResizing(): boolean;
|
73
112
|
disableFlex(): void;
|
74
113
|
ngOnInit(): void;
|
75
114
|
ngOnDestroy(): void;
|
76
115
|
setOrder(order: number): void;
|
77
116
|
setSize(size: number): void;
|
78
117
|
getSize(): number;
|
118
|
+
getPosition(): IPoint;
|
79
119
|
getMinSize(): number;
|
80
120
|
private isVertical;
|
81
121
|
private getMinSizeProperty;
|
@@ -83,7 +123,8 @@ export declare class McSplitterAreaDirective implements OnInit, OnDestroy {
|
|
83
123
|
private getSizeProperty;
|
84
124
|
private setStyle;
|
85
125
|
private removeStyle;
|
126
|
+
private emitSizeChange;
|
86
127
|
static ɵfac: i0.ɵɵFactoryDeclaration<McSplitterAreaDirective, never>;
|
87
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McSplitterAreaDirective, "[mc-splitter-area]", never, {}, {}, never>;
|
128
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McSplitterAreaDirective, "[mc-splitter-area]", never, {}, { "sizeChange": "sizeChange"; }, never>;
|
88
129
|
}
|
89
130
|
export {};
|
@@ -4,6 +4,6 @@ import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@ptsecurity/mosaic/icon";
|
5
5
|
export declare class McSplitterModule {
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<McSplitterModule, never>;
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<McSplitterModule, [typeof i1.McGutterDirective, typeof i1.McSplitterAreaDirective, typeof i1.McSplitterComponent], [typeof i2.CommonModule, typeof i3.McIconModule], [typeof i1.McGutterDirective, typeof i1.McSplitterAreaDirective, typeof i1.McSplitterComponent]>;
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McSplitterModule, [typeof i1.McGutterDirective, typeof i1.McGutterGhostDirective, typeof i1.McSplitterAreaDirective, typeof i1.McSplitterComponent], [typeof i2.CommonModule, typeof i3.McIconModule], [typeof i1.McGutterDirective, typeof i1.McSplitterAreaDirective, typeof i1.McSplitterComponent]>;
|
8
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<McSplitterModule>;
|
9
9
|
}
|
package/table/README.md
ADDED
File without changes
|
package/table/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
"
|
5
|
-
"
|
6
|
-
"fesm2015": "../fesm2015/ptsecurity-mosaic-table.
|
2
|
+
"module": "../fesm2015/ptsecurity-mosaic-table.mjs",
|
3
|
+
"es2020": "../fesm2020/ptsecurity-mosaic-table.mjs",
|
4
|
+
"esm2020": "../esm2020/table/ptsecurity-mosaic-table.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ptsecurity-mosaic-table.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ptsecurity-mosaic-table.mjs",
|
7
7
|
"typings": "ptsecurity-mosaic-table.d.ts",
|
8
8
|
"sideEffects": false,
|
9
9
|
"name": "@ptsecurity/mosaic/table"
|
package/tabs/README.md
ADDED
File without changes
|
package/tabs/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
"
|
5
|
-
"
|
6
|
-
"fesm2015": "../fesm2015/ptsecurity-mosaic-tabs.
|
2
|
+
"module": "../fesm2015/ptsecurity-mosaic-tabs.mjs",
|
3
|
+
"es2020": "../fesm2020/ptsecurity-mosaic-tabs.mjs",
|
4
|
+
"esm2020": "../esm2020/tabs/ptsecurity-mosaic-tabs.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ptsecurity-mosaic-tabs.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ptsecurity-mosaic-tabs.mjs",
|
7
7
|
"typings": "ptsecurity-mosaic-tabs.d.ts",
|
8
8
|
"sideEffects": false,
|
9
9
|
"name": "@ptsecurity/mosaic/tabs"
|
package/tags/README.md
ADDED
File without changes
|
package/tags/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
"
|
5
|
-
"
|
6
|
-
"fesm2015": "../fesm2015/ptsecurity-mosaic-tags.
|
2
|
+
"module": "../fesm2015/ptsecurity-mosaic-tags.mjs",
|
3
|
+
"es2020": "../fesm2020/ptsecurity-mosaic-tags.mjs",
|
4
|
+
"esm2020": "../esm2020/tags/ptsecurity-mosaic-tags.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ptsecurity-mosaic-tags.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ptsecurity-mosaic-tags.mjs",
|
7
7
|
"typings": "ptsecurity-mosaic-tags.d.ts",
|
8
8
|
"sideEffects": false,
|
9
9
|
"name": "@ptsecurity/mosaic/tags"
|
File without changes
|
package/textarea/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
"
|
5
|
-
"
|
6
|
-
"fesm2015": "../fesm2015/ptsecurity-mosaic-textarea.
|
2
|
+
"module": "../fesm2015/ptsecurity-mosaic-textarea.mjs",
|
3
|
+
"es2020": "../fesm2020/ptsecurity-mosaic-textarea.mjs",
|
4
|
+
"esm2020": "../esm2020/textarea/ptsecurity-mosaic-textarea.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ptsecurity-mosaic-textarea.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ptsecurity-mosaic-textarea.mjs",
|
7
7
|
"typings": "ptsecurity-mosaic-textarea.d.ts",
|
8
8
|
"sideEffects": false,
|
9
9
|
"name": "@ptsecurity/mosaic/textarea"
|
File without changes
|
package/timepicker/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
"
|
5
|
-
"
|
6
|
-
"fesm2015": "../fesm2015/ptsecurity-mosaic-timepicker.
|
2
|
+
"module": "../fesm2015/ptsecurity-mosaic-timepicker.mjs",
|
3
|
+
"es2020": "../fesm2020/ptsecurity-mosaic-timepicker.mjs",
|
4
|
+
"esm2020": "../esm2020/timepicker/ptsecurity-mosaic-timepicker.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ptsecurity-mosaic-timepicker.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ptsecurity-mosaic-timepicker.mjs",
|
7
7
|
"typings": "ptsecurity-mosaic-timepicker.d.ts",
|
8
8
|
"sideEffects": false,
|
9
9
|
"name": "@ptsecurity/mosaic/timepicker"
|
package/toggle/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
"
|
5
|
-
"
|
6
|
-
"fesm2015": "../fesm2015/ptsecurity-mosaic-toggle.
|
2
|
+
"module": "../fesm2015/ptsecurity-mosaic-toggle.mjs",
|
3
|
+
"es2020": "../fesm2020/ptsecurity-mosaic-toggle.mjs",
|
4
|
+
"esm2020": "../esm2020/toggle/ptsecurity-mosaic-toggle.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ptsecurity-mosaic-toggle.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ptsecurity-mosaic-toggle.mjs",
|
7
7
|
"typings": "ptsecurity-mosaic-toggle.d.ts",
|
8
8
|
"sideEffects": false,
|
9
9
|
"name": "@ptsecurity/mosaic/toggle"
|
package/tooltip/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
"
|
5
|
-
"
|
6
|
-
"fesm2015": "../fesm2015/ptsecurity-mosaic-tooltip.
|
2
|
+
"module": "../fesm2015/ptsecurity-mosaic-tooltip.mjs",
|
3
|
+
"es2020": "../fesm2020/ptsecurity-mosaic-tooltip.mjs",
|
4
|
+
"esm2020": "../esm2020/tooltip/ptsecurity-mosaic-tooltip.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ptsecurity-mosaic-tooltip.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ptsecurity-mosaic-tooltip.mjs",
|
7
7
|
"typings": "ptsecurity-mosaic-tooltip.d.ts",
|
8
8
|
"sideEffects": false,
|
9
9
|
"name": "@ptsecurity/mosaic/tooltip"
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Directionality } from '@angular/cdk/bidi';
|
2
2
|
import { Overlay, ScrollDispatcher, ScrollStrategy } from '@angular/cdk/overlay';
|
3
3
|
import { OverlayConfig } from '@angular/cdk/overlay/overlay-config';
|
4
|
-
import { ChangeDetectorRef, ElementRef, InjectionToken, NgZone, TemplateRef, Type, ViewContainerRef } from '@angular/core';
|
5
|
-
import { McPopUp, McPopUpTrigger } from '@ptsecurity/mosaic/core';
|
4
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, NgZone, TemplateRef, Type, ViewContainerRef } from '@angular/core';
|
5
|
+
import { McPopUp, McPopUpTrigger, PopUpPlacements } from '@ptsecurity/mosaic/core';
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
export declare enum TooltipModifier {
|
8
8
|
Default = "default",
|
@@ -39,16 +39,25 @@ export declare const MC_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER: {
|
|
39
39
|
useFactory: typeof mcTooltipScrollStrategyFactory;
|
40
40
|
};
|
41
41
|
export declare class McTooltipTrigger extends McPopUpTrigger<McTooltipComponent> {
|
42
|
+
get tooltipVisible(): boolean;
|
43
|
+
set tooltipVisible(value: boolean);
|
44
|
+
get tooltipPlacement(): PopUpPlacements;
|
45
|
+
set tooltipPlacement(value: PopUpPlacements);
|
46
|
+
get tooltipPlacementPriority(): string | string[] | null;
|
47
|
+
set tooltipPlacementPriority(value: string | string[] | null);
|
42
48
|
get content(): string | TemplateRef<any>;
|
43
49
|
set content(content: string | TemplateRef<any>);
|
44
50
|
get disabled(): boolean;
|
45
51
|
set disabled(value: boolean);
|
46
52
|
enterDelay: number;
|
53
|
+
leaveDelay: number;
|
47
54
|
get trigger(): string;
|
48
55
|
set trigger(value: string);
|
49
56
|
private _trigger;
|
50
57
|
get customClass(): string;
|
51
58
|
set customClass(value: string);
|
59
|
+
placementChange: EventEmitter<any>;
|
60
|
+
visibleChange: EventEmitter<boolean>;
|
52
61
|
protected originSelector: string;
|
53
62
|
protected overlayConfig: OverlayConfig;
|
54
63
|
protected modifier: TooltipModifier;
|
@@ -58,7 +67,7 @@ export declare class McTooltipTrigger extends McPopUpTrigger<McTooltipComponent>
|
|
58
67
|
getOverlayHandleComponentType(): Type<McTooltipComponent>;
|
59
68
|
updateClassMap(newPlacement?: string): void;
|
60
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<McTooltipTrigger, [null, null, null, null, null, null, { optional: true; }]>;
|
61
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McTooltipTrigger, "[mcTooltip]", ["mcTooltip"], { "content": "mcTooltip"; "disabled": "mcTooltipDisabled"; "enterDelay": "mcEnterDelay"; "trigger": "mcTrigger"; "customClass": "mcTooltipClass"; }, {}, never>;
|
70
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McTooltipTrigger, "[mcTooltip]", ["mcTooltip"], { "tooltipVisible": "mcVisible"; "tooltipPlacement": "mcPlacement"; "tooltipPlacementPriority": "mcPlacementPriority"; "content": "mcTooltip"; "disabled": "mcTooltipDisabled"; "enterDelay": "mcEnterDelay"; "leaveDelay": "mcLeaveDelay"; "trigger": "mcTrigger"; "customClass": "mcTooltipClass"; }, { "placementChange": "mcPlacementChange"; "visibleChange": "mcVisibleChange"; }, never>;
|
62
71
|
}
|
63
72
|
export declare class McWarningTooltipTrigger extends McTooltipTrigger {
|
64
73
|
get content(): string | TemplateRef<any>;
|
package/tree/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
"
|
5
|
-
"
|
6
|
-
"fesm2015": "../fesm2015/ptsecurity-mosaic-tree.
|
2
|
+
"module": "../fesm2015/ptsecurity-mosaic-tree.mjs",
|
3
|
+
"es2020": "../fesm2020/ptsecurity-mosaic-tree.mjs",
|
4
|
+
"esm2020": "../esm2020/tree/ptsecurity-mosaic-tree.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ptsecurity-mosaic-tree.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ptsecurity-mosaic-tree.mjs",
|
7
7
|
"typings": "ptsecurity-mosaic-tree.d.ts",
|
8
8
|
"sideEffects": false,
|
9
9
|
"name": "@ptsecurity/mosaic/tree"
|
@@ -41,5 +41,5 @@ export declare class McTreeNodePadding<T> implements OnInit, OnDestroy {
|
|
41
41
|
private setIndentInput;
|
42
42
|
private setPadding;
|
43
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<McTreeNodePadding<any>, [null, null, null, null, { optional: true; }]>;
|
44
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McTreeNodePadding<any>, "[mcTreeNodePadding]", ["mcTreeNodePadding"], { "
|
44
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McTreeNodePadding<any>, "[mcTreeNodePadding]", ["mcTreeNodePadding"], { "indent": "mcTreeNodePaddingIndent"; }, {}, never>;
|
45
45
|
}
|
@@ -62,5 +62,5 @@ export declare class McTreeOption extends McTreeNode<McTreeOption> implements Af
|
|
62
62
|
getHostElement(): HTMLElement;
|
63
63
|
markForCheck(): void;
|
64
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<McTreeOption, never>;
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McTreeOption, "mc-tree-option", ["mcTreeOption"], { "disabled": "disabled"; "showCheckbox": "showCheckbox"; }, { "onSelectionChange": "onSelectionChange"; }, ["toggleElement", "actionButton", "tooltipTrigger", "dropdownTrigger"], ["mc-tree-node-toggle", "[mc-icon]", "*", "mc-option-action"]>;
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McTreeOption, "mc-tree-option", ["mcTreeOption"], { "disabled": "disabled"; "showCheckbox": "showCheckbox"; }, { "onSelectionChange": "onSelectionChange"; }, ["toggleElement", "actionButton", "tooltipTrigger", "dropdownTrigger"], ["mc-tree-node-toggle", "mc-checkbox", "[mc-icon]", "*", "mc-option-action"]>;
|
66
66
|
}
|
@@ -35,7 +35,7 @@ interface SelectionModelOption {
|
|
35
35
|
id: number | string;
|
36
36
|
value: string;
|
37
37
|
}
|
38
|
-
export declare class McTreeSelection extends McTreeBase<
|
38
|
+
export declare class McTreeSelection extends McTreeBase<any> implements ControlValueAccessor, AfterContentInit, CanDisable, HasTabIndex {
|
39
39
|
private elementRef;
|
40
40
|
private clipboard;
|
41
41
|
renderedOptions: QueryList<McTreeOption>;
|
@@ -46,7 +46,7 @@ export declare class McTreeSelection extends McTreeBase<McTreeOption> implements
|
|
46
46
|
userTabIndex: number | null;
|
47
47
|
nodeOutlet: McTreeNodeOutlet;
|
48
48
|
unorderedOptions: QueryList<McTreeOption>;
|
49
|
-
treeControl: FlatTreeControl<
|
49
|
+
treeControl: FlatTreeControl<any>;
|
50
50
|
readonly navigationChange: EventEmitter<McTreeNavigationChange<McTreeOption>>;
|
51
51
|
readonly selectionChange: EventEmitter<McTreeSelectionChange<McTreeOption>>;
|
52
52
|
readonly onSelectAll: EventEmitter<McTreeSelectAllEvent<McTreeOption>>;
|
package/tree/tree.module.d.ts
CHANGED
@@ -11,6 +11,6 @@ import * as i9 from "@angular/common";
|
|
11
11
|
import * as i10 from "@ptsecurity/mosaic/core";
|
12
12
|
export declare class McTreeModule {
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<McTreeModule, never>;
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<McTreeModule, [typeof i1.McTreeNodeOutlet, typeof i2.McTreeNodeDef, typeof i3.McTreeNode, typeof i4.McTreeNodePadding, typeof i5.McTree, typeof i6.McTreeSelection, typeof i7.McTreeOption, typeof
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McTreeModule, [typeof i1.McTreeNodeOutlet, typeof i2.McTreeNodeDef, typeof i3.McTreeNode, typeof i4.McTreeNodePadding, typeof i5.McTree, typeof i6.McTreeSelection, typeof i7.McTreeOption, typeof i8.McTreeNodeToggleComponent, typeof i8.McTreeNodeToggleDirective], [typeof i9.CommonModule, typeof i10.McPseudoCheckboxModule], [typeof i1.McTreeNodeOutlet, typeof i2.McTreeNodeDef, typeof i3.McTreeNode, typeof i4.McTreeNodePadding, typeof i5.McTree, typeof i6.McTreeSelection, typeof i7.McTreeOption, typeof i8.McTreeNodeToggleComponent, typeof i8.McTreeNodeToggleDirective]>;
|
15
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<McTreeModule>;
|
16
16
|
}
|
File without changes
|