@ptsecurity/mosaic 15.3.1 → 15.4.0-beta.1
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 +688 -212
- package/_visual.scss +132 -42
- package/alert/README.md +0 -0
- package/alert/_alert-theme.scss +61 -0
- package/alert/alert.component.d.ts +22 -0
- package/alert/alert.component.scss +81 -0
- package/alert/alert.module.d.ts +10 -0
- package/alert/index.d.ts +1 -0
- package/alert/public-api.d.ts +2 -0
- package/autocomplete/_autocomplete-theme.nvl.scss +21 -0
- package/button/_button-base.scss +2 -2
- package/button/_button-theme.nvl.scss +180 -0
- package/button/_button-theme.scss +0 -2
- package/button/button.component.d.ts +12 -3
- package/button/button.scss +19 -5
- package/button-toggle/_button-toggle-theme.scss +92 -0
- package/button-toggle/button-toggle.component.d.ts +6 -2
- package/button-toggle/button-toggle.module.d.ts +2 -1
- package/button-toggle/button-toggle.scss +110 -82
- package/card/_card-theme.nvl.scss +61 -0
- package/checkbox/_checkbox-theme.nvl.scss +120 -0
- package/checkbox/_checkbox-theme.scss +7 -7
- package/checkbox/checkbox.d.ts +2 -1
- package/checkbox/checkbox.scss +85 -52
- package/code-block/_code-block-theme.nvl.scss +326 -0
- package/core/common-behaviors/color.d.ts +13 -2
- package/core/common-behaviors/index.d.ts +1 -1
- package/core/forms/_forms-theme.nvl.scss +31 -0
- package/core/highlight/_highlight-theme.nvl.scss +8 -0
- package/core/highlight/_highlight-theme.scss +0 -2
- package/core/option/_optgroup-theme.nvl.scss +25 -0
- package/core/option/_option-action-theme.nvl.scss +41 -0
- package/core/option/_option-theme.nvl.scss +44 -0
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.nvl.scss +48 -0
- package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +2 -1
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +26 -6
- package/core/styles/_mosaic-theme.nvl.scss +153 -0
- package/core/styles/_mosaic-theme.scss +7 -2
- package/core/styles/_tokens.scss +4 -4
- package/core/styles/theming/_badges-theme.nvl.scss +118 -0
- package/core/styles/theming/_badges.nvl.scss +57 -0
- package/core/styles/theming/_components-theming.nvl.scss +1185 -0
- package/core/styles/theming/_components-theming.scss +92 -0
- package/core/styles/theming/_scrollbars-theme.nvl.scss +98 -0
- package/core/styles/theming/_scrollbars.nvl.scss +39 -0
- package/core/styles/theming/_theming.nvl.scss +137 -0
- package/core/styles/theming/prebuilt/dark-theme.nvl.scss +20 -0
- package/core/styles/theming/prebuilt/light-theme.nvl.scss +20 -0
- package/core/styles/typography/_typography.scss +5 -4
- package/core/utils/data-size/config.d.ts +20 -0
- package/core/utils/data-size/data-size.pipe.d.ts +13 -0
- package/core/utils/data-size/index.d.ts +3 -0
- package/core/utils/data-size/size.d.ts +16 -0
- package/core/utils/public-api.d.ts +1 -0
- package/datepicker/_datepicker-theme.nvl.scss +101 -0
- package/datepicker/datepicker-toggle.scss +2 -2
- package/divider/_divider-theme.nvl.scss +10 -0
- package/divider/_divider-theme.scss +1 -0
- package/divider/divider.component.d.ts +4 -1
- package/divider/divider.scss +24 -24
- package/dl/_dl-theme.nvl.scss +86 -0
- package/dl/_dl-theme.scss +0 -1
- package/dropdown/_dropdown-theme.nvl.scss +85 -0
- package/dropdown/dropdown.scss +3 -3
- package/ellipsis-center/ellipsis-center.directive.d.ts +27 -0
- package/ellipsis-center/index.d.ts +1 -0
- package/ellipsis-center/public-api.d.ts +1 -0
- package/esm2020/alert/alert.component.mjs +67 -0
- package/esm2020/alert/alert.module.mjs +44 -0
- package/esm2020/alert/index.mjs +2 -0
- package/esm2020/alert/ptsecurity-mosaic-alert.mjs +5 -0
- package/esm2020/alert/public-api.mjs +3 -0
- package/esm2020/autocomplete/autocomplete-origin.directive.mjs +3 -3
- package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +3 -3
- package/esm2020/autocomplete/autocomplete.component.mjs +5 -5
- package/esm2020/autocomplete/autocomplete.module.mjs +4 -4
- package/esm2020/button/button.component.mjs +37 -19
- package/esm2020/button/button.module.mjs +4 -4
- package/esm2020/button-toggle/button-toggle.component.mjs +33 -14
- package/esm2020/button-toggle/button-toggle.module.mjs +7 -6
- package/esm2020/card/card.component.mjs +3 -3
- package/esm2020/card/card.module.mjs +4 -4
- package/esm2020/checkbox/checkbox-module.mjs +4 -4
- package/esm2020/checkbox/checkbox-required-validator.mjs +3 -3
- package/esm2020/checkbox/checkbox.mjs +13 -9
- package/esm2020/code-block/actionbar.component.mjs +5 -5
- package/esm2020/code-block/code-block.component.mjs +4 -4
- package/esm2020/code-block/code-block.module.mjs +4 -4
- package/esm2020/core/common-behaviors/color.mjs +14 -2
- package/esm2020/core/common-behaviors/common-module.mjs +4 -4
- package/esm2020/core/common-behaviors/index.mjs +2 -2
- package/esm2020/core/error/error-options.mjs +6 -6
- package/esm2020/core/formatters/date/formatter.mjs +3 -3
- package/esm2020/core/formatters/date/formatter.pipe.mjs +39 -39
- package/esm2020/core/formatters/index.mjs +4 -4
- package/esm2020/core/formatters/number/formatter.mjs +4 -4
- package/esm2020/core/forms/forms-module.mjs +4 -4
- package/esm2020/core/forms/forms.directive.mjs +6 -6
- package/esm2020/core/highlight/highlight.pipe.mjs +3 -3
- package/esm2020/core/highlight/index.mjs +4 -4
- package/esm2020/core/line/line.mjs +7 -7
- package/esm2020/core/locales/locale-service.mjs +3 -3
- package/esm2020/core/locales/locale-service.module.mjs +4 -4
- package/esm2020/core/option/action.mjs +3 -3
- package/esm2020/core/option/optgroup.mjs +3 -3
- package/esm2020/core/option/option-module.mjs +4 -4
- package/esm2020/core/option/option.mjs +4 -4
- package/esm2020/core/pop-up/pop-up-trigger.mjs +3 -3
- package/esm2020/core/pop-up/pop-up.mjs +3 -3
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +12 -8
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
- package/esm2020/core/services/measure-scrollbar.service.mjs +3 -3
- package/esm2020/core/utils/data-size/config.mjs +22 -0
- package/esm2020/core/utils/data-size/data-size.pipe.mjs +32 -0
- package/esm2020/core/utils/data-size/index.mjs +4 -0
- package/esm2020/core/utils/data-size/size.mjs +50 -0
- package/esm2020/core/utils/public-api.mjs +2 -1
- package/esm2020/core/version.mjs +2 -2
- package/esm2020/datepicker/calendar-body.component.mjs +3 -3
- package/esm2020/datepicker/calendar-header.component.mjs +3 -3
- package/esm2020/datepicker/calendar.component.mjs +3 -3
- package/esm2020/datepicker/datepicker-input.directive.mjs +3 -3
- package/esm2020/datepicker/datepicker-intl.mjs +3 -3
- package/esm2020/datepicker/datepicker-module.mjs +4 -4
- package/esm2020/datepicker/datepicker-toggle.component.mjs +7 -7
- package/esm2020/datepicker/datepicker.component.mjs +6 -6
- package/esm2020/datepicker/month-view.component.mjs +3 -3
- package/esm2020/divider/divider.component.mjs +16 -6
- package/esm2020/divider/divider.module.mjs +4 -4
- package/esm2020/dl/dl.component.mjs +9 -9
- package/esm2020/dl/dl.module.mjs +4 -4
- package/esm2020/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2020/dropdown/dropdown-item.component.mjs +5 -5
- package/esm2020/dropdown/dropdown-trigger.directive.mjs +3 -3
- package/esm2020/dropdown/dropdown.component.mjs +6 -6
- package/esm2020/dropdown/dropdown.module.mjs +4 -4
- package/esm2020/ellipsis-center/ellipsis-center.directive.mjs +106 -0
- package/esm2020/ellipsis-center/index.mjs +2 -0
- package/esm2020/ellipsis-center/ptsecurity-mosaic-ellipsis-center.mjs +5 -0
- package/esm2020/ellipsis-center/public-api.mjs +2 -0
- package/esm2020/file-upload/file-drop.mjs +43 -0
- package/esm2020/file-upload/file-upload.mjs +4 -0
- package/esm2020/file-upload/file-upload.module.mjs +66 -0
- package/esm2020/file-upload/index.mjs +2 -0
- package/esm2020/file-upload/multiple-file-upload.component.mjs +161 -0
- package/esm2020/file-upload/ptsecurity-mosaic-file-upload.mjs +5 -0
- package/esm2020/file-upload/public-api.mjs +6 -0
- package/esm2020/file-upload/single-file-upload.component.mjs +130 -0
- package/esm2020/form-field/cleaner.mjs +7 -7
- package/esm2020/form-field/form-field.mjs +10 -10
- package/esm2020/form-field/form-field.module.mjs +4 -4
- package/esm2020/form-field/hint.mjs +15 -15
- package/esm2020/form-field/password-hint.mjs +4 -4
- package/esm2020/form-field/prefix.mjs +3 -3
- package/esm2020/form-field/stepper.mjs +3 -3
- package/esm2020/form-field/suffix.mjs +3 -3
- package/esm2020/form-field/validate.directive.mjs +3 -3
- package/esm2020/icon/icon.component.mjs +78 -21
- package/esm2020/icon/icon.module.mjs +14 -10
- package/esm2020/input/input-number-validators.mjs +6 -6
- package/esm2020/input/input-number.mjs +3 -3
- package/esm2020/input/input-password.mjs +6 -6
- package/esm2020/input/input.mjs +6 -6
- package/esm2020/input/input.module.mjs +4 -4
- package/esm2020/link/link.component.mjs +14 -4
- package/esm2020/link/link.module.mjs +4 -4
- package/esm2020/list/list-selection.component.mjs +9 -9
- package/esm2020/list/list.component.mjs +7 -7
- package/esm2020/list/list.module.mjs +4 -4
- package/esm2020/loader-overlay/loader-overlay.component.mjs +12 -12
- package/esm2020/loader-overlay/loader-overlay.module.mjs +4 -4
- package/esm2020/markdown/markdown.component.mjs +5 -5
- package/esm2020/markdown/markdown.module.mjs +4 -4
- package/esm2020/markdown/markdown.service.mjs +3 -3
- package/esm2020/modal/css-unit.pipe.mjs +3 -3
- package/esm2020/modal/modal-control.service.mjs +3 -3
- package/esm2020/modal/modal.component.mjs +4 -4
- package/esm2020/modal/modal.directive.mjs +12 -12
- package/esm2020/modal/modal.module.mjs +4 -4
- package/esm2020/modal/modal.service.mjs +3 -3
- package/esm2020/navbar/navbar-item.component.mjs +31 -31
- package/esm2020/navbar/navbar.component.mjs +9 -9
- package/esm2020/navbar/navbar.module.mjs +4 -4
- package/esm2020/navbar/vertical-navbar.component.mjs +3 -3
- package/esm2020/popover/popover-confirm.component.mjs +8 -8
- package/esm2020/popover/popover.component.mjs +7 -7
- package/esm2020/popover/popover.module.mjs +4 -4
- package/esm2020/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2020/progress-bar/progress-bar.module.mjs +4 -4
- package/esm2020/progress-spinner/progress-spinner.component.mjs +6 -6
- package/esm2020/progress-spinner/progress-spinner.module.mjs +4 -4
- package/esm2020/radio/radio.component.mjs +13 -9
- package/esm2020/radio/radio.module.mjs +4 -4
- package/esm2020/select/select-option.directive.mjs +3 -3
- package/esm2020/select/select.component.mjs +22 -22
- package/esm2020/select/select.module.mjs +4 -4
- package/esm2020/sidebar/sidebar.component.mjs +9 -9
- package/esm2020/sidebar/sidebar.module.mjs +4 -4
- package/esm2020/sidepanel/sidepanel-container.component.mjs +4 -4
- package/esm2020/sidepanel/sidepanel-directives.mjs +17 -17
- package/esm2020/sidepanel/sidepanel.module.mjs +4 -4
- package/esm2020/sidepanel/sidepanel.service.mjs +3 -3
- package/esm2020/splitter/splitter.component.mjs +12 -12
- package/esm2020/splitter/splitter.module.mjs +4 -4
- package/esm2020/table/table.component.mjs +3 -3
- package/esm2020/table/table.module.mjs +4 -4
- package/esm2020/tabs/paginated-tab-header.mjs +3 -3
- package/esm2020/tabs/tab-body.component.mjs +9 -8
- package/esm2020/tabs/tab-content.directive.mjs +3 -3
- package/esm2020/tabs/tab-group.component.mjs +18 -18
- package/esm2020/tabs/tab-header.component.mjs +4 -4
- package/esm2020/tabs/tab-label-wrapper.directive.mjs +3 -3
- package/esm2020/tabs/tab-label.directive.mjs +3 -3
- package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +7 -7
- package/esm2020/tabs/tab.component.mjs +3 -3
- package/esm2020/tabs/tabs.module.mjs +9 -5
- package/esm2020/tags/tag-input.mjs +3 -3
- package/esm2020/tags/tag-list.component.mjs +4 -4
- package/esm2020/tags/tag.component.mjs +16 -16
- package/esm2020/tags/tag.module.mjs +4 -4
- package/esm2020/textarea/textarea.component.mjs +3 -3
- package/esm2020/textarea/textarea.module.mjs +4 -4
- package/esm2020/timepicker/timepicker.directive.mjs +3 -3
- package/esm2020/timepicker/timepicker.module.mjs +4 -4
- package/esm2020/timezone/cities-by-filter.pipe.mjs +3 -3
- package/esm2020/timezone/timezone-option.component.mjs +3 -3
- package/esm2020/timezone/timezone-option.directive.mjs +3 -3
- package/esm2020/timezone/timezone-select.component.mjs +8 -8
- package/esm2020/timezone/timezone.module.mjs +4 -4
- package/esm2020/timezone/utc-offset.pipe.mjs +3 -3
- package/esm2020/title/title.directive.mjs +3 -3
- package/esm2020/title/title.module.mjs +4 -4
- package/esm2020/toast/toast-container.component.mjs +3 -3
- package/esm2020/toast/toast.component.mjs +5 -5
- package/esm2020/toast/toast.module.mjs +4 -4
- package/esm2020/toast/toast.service.mjs +3 -3
- package/esm2020/toggle/toggle.component.mjs +17 -13
- package/esm2020/toggle/toggle.module.mjs +4 -4
- package/esm2020/tooltip/tooltip.component.mjs +26 -17
- package/esm2020/tooltip/tooltip.module.mjs +4 -4
- package/esm2020/tree/node.mjs +3 -3
- package/esm2020/tree/outlet.mjs +3 -3
- package/esm2020/tree/padding.directive.mjs +3 -3
- package/esm2020/tree/toggle.mjs +9 -9
- package/esm2020/tree/tree-base.mjs +6 -6
- package/esm2020/tree/tree-option.component.mjs +4 -4
- package/esm2020/tree/tree-selection.component.mjs +3 -3
- package/esm2020/tree/tree.mjs +3 -3
- package/esm2020/tree/tree.module.mjs +4 -4
- package/esm2020/tree-select/tree-select.component.mjs +16 -13
- package/esm2020/tree-select/tree-select.module.mjs +4 -4
- package/fesm2015/ptsecurity-mosaic-alert.mjs +115 -0
- package/fesm2015/ptsecurity-mosaic-alert.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +15 -15
- package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +38 -18
- package/fesm2015/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-button.mjs +41 -23
- package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-card.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-checkbox.mjs +19 -15
- package/fesm2015/ptsecurity-mosaic-checkbox.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-code-block.mjs +12 -12
- package/fesm2015/ptsecurity-mosaic-code-block.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-core.mjs +242 -127
- package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-datepicker.mjs +35 -35
- package/fesm2015/ptsecurity-mosaic-datepicker.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-divider.mjs +19 -9
- package/fesm2015/ptsecurity-mosaic-divider.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-dl.mjs +13 -13
- package/fesm2015/ptsecurity-mosaic-dropdown.mjs +20 -20
- package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-ellipsis-center.mjs +113 -0
- package/fesm2015/ptsecurity-mosaic-ellipsis-center.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-file-upload.mjs +392 -0
- package/fesm2015/ptsecurity-mosaic-file-upload.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-form-field.mjs +49 -49
- package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-icon.mjs +93 -29
- package/fesm2015/ptsecurity-mosaic-icon.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-input.mjs +25 -25
- package/fesm2015/ptsecurity-mosaic-link.mjs +17 -7
- package/fesm2015/ptsecurity-mosaic-link.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-list.mjs +20 -20
- package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs +16 -16
- package/fesm2015/ptsecurity-mosaic-markdown.mjs +12 -12
- package/fesm2015/ptsecurity-mosaic-markdown.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-modal.mjs +29 -29
- package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-navbar.mjs +47 -47
- package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-popover.mjs +18 -18
- package/fesm2015/ptsecurity-mosaic-popover.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +9 -9
- package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-radio.mjs +16 -12
- package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-select.mjs +28 -28
- package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-sidebar.mjs +13 -13
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +27 -27
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-splitter.mjs +16 -16
- package/fesm2015/ptsecurity-mosaic-table.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-tabs.mjs +60 -56
- package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tags.mjs +26 -26
- package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-textarea.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-timepicker.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-timezone.mjs +24 -24
- package/fesm2015/ptsecurity-mosaic-timezone.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-title.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-toast.mjs +14 -14
- package/fesm2015/ptsecurity-mosaic-toast.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-toggle.mjs +21 -17
- package/fesm2015/ptsecurity-mosaic-toggle.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs +29 -20
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs +19 -16
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree.mjs +38 -38
- package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-alert.mjs +115 -0
- package/fesm2020/ptsecurity-mosaic-alert.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +15 -15
- package/fesm2020/ptsecurity-mosaic-button-toggle.mjs +38 -18
- package/fesm2020/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-button.mjs +41 -23
- package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-card.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-checkbox.mjs +19 -15
- package/fesm2020/ptsecurity-mosaic-checkbox.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-code-block.mjs +12 -12
- package/fesm2020/ptsecurity-mosaic-code-block.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-core.mjs +242 -127
- package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-datepicker.mjs +36 -35
- package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-divider.mjs +19 -9
- package/fesm2020/ptsecurity-mosaic-divider.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-dl.mjs +13 -13
- package/fesm2020/ptsecurity-mosaic-dropdown.mjs +20 -20
- package/fesm2020/ptsecurity-mosaic-dropdown.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-ellipsis-center.mjs +111 -0
- package/fesm2020/ptsecurity-mosaic-ellipsis-center.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-file-upload.mjs +388 -0
- package/fesm2020/ptsecurity-mosaic-file-upload.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-form-field.mjs +49 -49
- package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-icon.mjs +89 -29
- package/fesm2020/ptsecurity-mosaic-icon.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-input.mjs +25 -25
- package/fesm2020/ptsecurity-mosaic-link.mjs +17 -7
- package/fesm2020/ptsecurity-mosaic-link.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-list.mjs +20 -20
- package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs +16 -16
- package/fesm2020/ptsecurity-mosaic-markdown.mjs +12 -12
- package/fesm2020/ptsecurity-mosaic-markdown.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-modal.mjs +29 -29
- package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-navbar.mjs +47 -47
- package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-popover.mjs +18 -18
- package/fesm2020/ptsecurity-mosaic-popover.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +9 -9
- package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-radio.mjs +16 -12
- package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-select.mjs +28 -28
- package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-sidebar.mjs +13 -13
- package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +27 -27
- package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-splitter.mjs +16 -16
- package/fesm2020/ptsecurity-mosaic-table.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-tabs.mjs +60 -56
- package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tags.mjs +26 -26
- package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-textarea.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-timepicker.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-timezone.mjs +24 -24
- package/fesm2020/ptsecurity-mosaic-timezone.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-title.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-toast.mjs +14 -14
- package/fesm2020/ptsecurity-mosaic-toast.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-toggle.mjs +21 -17
- package/fesm2020/ptsecurity-mosaic-toggle.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tooltip.mjs +29 -20
- package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs +19 -16
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tree.mjs +38 -38
- package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
- package/file-upload/README.md +0 -0
- package/file-upload/_file-upload-theme.scss +174 -0
- package/file-upload/file-drop.d.ts +11 -0
- package/file-upload/file-upload.d.ts +22 -0
- package/file-upload/file-upload.module.d.ts +18 -0
- package/file-upload/file-upload.scss +46 -0
- package/file-upload/index.d.ts +1 -0
- package/file-upload/multiple-file-upload.component.d.ts +51 -0
- package/file-upload/multiple-file-upload.component.scss +148 -0
- package/file-upload/public-api.d.ts +5 -0
- package/file-upload/single-file-upload.component.d.ts +34 -0
- package/file-upload/single-file-upload.component.scss +60 -0
- package/form-field/_form-field-theme.nvl.scss +111 -0
- package/form-field/_hint-theme.nvl.scss +67 -0
- package/form-field/cleaner.d.ts +2 -2
- package/form-field/hint.d.ts +2 -1
- package/form-field/hint.scss +15 -0
- package/icon/_icon-theme.nvl.scss +267 -0
- package/icon/icon.component.d.ts +22 -6
- package/icon/icon.module.d.ts +1 -1
- package/icon/icon.scss +39 -0
- package/input/_input-theme.nvl.scss +56 -0
- package/input/input.scss +5 -0
- package/link/_link-theme.nvl.scss +178 -0
- package/link/_link-theme.scss +2 -3
- package/link/link.component.d.ts +4 -1
- package/list/_list-theme.nvl.scss +47 -0
- package/loader-overlay/_loader-overlay-theme.nvl.scss +34 -0
- package/loader-overlay/_loader-overlay-theme.scss +0 -1
- package/markdown/_markdown-theme.nvl.scss +142 -0
- package/markdown/markdown.scss +13 -7
- package/modal/_modal-theme.nvl.scss +90 -0
- package/navbar/_navbar-theme.nvl.scss +123 -0
- package/package.json +26 -2
- package/popover/_popover-theme.nvl.scss +111 -0
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/dark-theme.nvl.css +1 -0
- package/prebuilt-themes/default-theme.css +1 -1
- package/prebuilt-themes/light-theme.nvl.css +1 -0
- package/progress-bar/_progress-bar-theme.nvl.scss +28 -0
- package/progress-spinner/_progress-spinner-theme.nvl.scss +24 -0
- package/radio/_radio-theme.nvl.scss +95 -0
- package/radio/_radio-theme.scss +1 -1
- package/radio/radio.component.d.ts +2 -1
- package/radio/radio.scss +60 -27
- package/select/_select-theme.nvl.scss +55 -0
- package/select/_select-theme.scss +6 -0
- package/select/select.component.d.ts +1 -1
- package/select/select.scss +51 -27
- package/sidepanel/_sidepanel-theme.nvl.scss +67 -0
- package/splitter/_splitter-theme.nvl.scss +31 -0
- package/table/_table-theme.nvl.scss +65 -0
- package/table/_table-theme.scss +0 -1
- package/tabs/_tabs-theme.nvl.scss +240 -0
- package/tabs/tabs.module.d.ts +5 -4
- package/tags/_tag-theme.nvl.scss +100 -0
- package/tags/_tag-theme.scss +0 -1
- package/tags/tag-list.scss +23 -7
- package/tags/tag.scss +21 -69
- package/textarea/_textarea-theme.nvl.scss +37 -0
- package/timezone/_timezone-option-theme.nvl.scss +34 -0
- package/toast/_toast-theme.nvl.scss +61 -0
- package/toggle/_toggle-theme.nvl.scss +98 -0
- package/toggle/_toggle-theme.scss +0 -3
- package/toggle/toggle.component.d.ts +2 -1
- package/toggle/toggle.scss +51 -76
- package/tooltip/_tooltip-theme.nvl.scss +49 -0
- package/tooltip/tooltip.component.d.ts +5 -2
- package/tooltip/tooltip.scss +10 -39
- package/tree/_tree-theme.nvl.scss +69 -0
- package/tree-select/_tree-select-theme.nvl.scss +41 -0
- package/tree-select/_tree-select-theme.scss +6 -0
- package/tree-select/tree-select.component.d.ts +2 -2
- package/tree-select/tree-select.scss +13 -0
- package/core/styles/theming/_alerts.scss +0 -166
@@ -6,6 +6,9 @@ export declare class McDivider {
|
|
6
6
|
get inset(): boolean;
|
7
7
|
set inset(value: boolean);
|
8
8
|
private _inset;
|
9
|
+
get paddings(): boolean;
|
10
|
+
set paddings(value: boolean);
|
11
|
+
private _paddings;
|
9
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<McDivider, never>;
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McDivider, "mc-divider", never, { "vertical": "vertical"; "inset": "inset"; }, {}, never, never, false, never>;
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McDivider, "mc-divider", never, { "vertical": "vertical"; "inset": "inset"; "paddings": "paddings"; }, {}, never, never, false, never>;
|
11
14
|
}
|
package/divider/divider.scss
CHANGED
@@ -6,42 +6,42 @@
|
|
6
6
|
|
7
7
|
$tokens: meta.module-variables(tokens) !default;
|
8
8
|
|
9
|
-
// This mixin provides the correct offset for an inset divider based on the
|
10
|
-
// size of the parent class (e.g. avatar vs icon)
|
11
|
-
@mixin mc-inset-divider-offset($offset, $padding) {
|
12
|
-
$mc-inset-divider-offset: (2 * $padding) + $offset;
|
13
|
-
|
14
|
-
margin-left: $mc-inset-divider-offset;
|
15
|
-
width: 100% - $mc-inset-divider-offset;
|
16
|
-
|
17
|
-
[dir='rtl'] & {
|
18
|
-
margin-left: auto;
|
19
|
-
margin-right: $mc-inset-divider-offset;
|
20
|
-
}
|
21
|
-
}
|
22
9
|
|
23
10
|
.mc-divider {
|
24
11
|
display: block;
|
25
12
|
margin: 0;
|
26
13
|
|
27
14
|
&.mc-divider_horizontal {
|
28
|
-
|
29
|
-
|
15
|
+
height: var(--mc-divider-size-horizontal-width, map.get($tokens, divider-size-horizontal-width));
|
16
|
+
|
17
|
+
&.mc-divider_paddings {
|
18
|
+
margin-top: var(
|
19
|
+
--mc-divider-size-horizontal-margin-vertical,
|
20
|
+
map.get($tokens, divider-size-horizontal-margin-vertical)
|
21
|
+
);
|
22
|
+
|
23
|
+
margin-bottom: var(
|
24
|
+
--mc-divider-size-horizontal-margin-vertical,
|
25
|
+
map.get($tokens, divider-size-horizontal-margin-vertical)
|
26
|
+
);
|
27
|
+
}
|
30
28
|
}
|
31
29
|
|
32
30
|
&.mc-divider_vertical {
|
31
|
+
width: var(--mc-divider-size-vertical-width, map.get($tokens, divider-size-vertical-width));
|
33
32
|
height: 100%;
|
34
33
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
margin-left: var(--mc-divider-size-inset-margin, map.get($tokens, divider-size-inset-margin));
|
34
|
+
&.mc-divider_paddings {
|
35
|
+
margin-left: var(
|
36
|
+
--mc-divider-size-vertical-margin-horizontal,
|
37
|
+
map.get($tokens, divider-size-vertical-margin-horizontal)
|
38
|
+
);
|
41
39
|
|
42
|
-
|
43
|
-
|
44
|
-
|
40
|
+
margin-right: var(
|
41
|
+
--mc-divider-size-vertical-margin-horizontal,
|
42
|
+
map.get($tokens, divider-size-vertical-margin-horizontal)
|
43
|
+
);
|
45
44
|
}
|
46
45
|
}
|
46
|
+
|
47
47
|
}
|
@@ -0,0 +1,86 @@
|
|
1
|
+
@use 'sass:meta';
|
2
|
+
@use 'sass:map';
|
3
|
+
|
4
|
+
@use '../core/styles/typography/typography-utils' as *;
|
5
|
+
|
6
|
+
|
7
|
+
@mixin nvl-mc-dl-theme($theme) {
|
8
|
+
$dl: map.get(map.get($theme, components), dl);
|
9
|
+
|
10
|
+
.mc-dt {
|
11
|
+
color: map.get($dl, dt);
|
12
|
+
}
|
13
|
+
|
14
|
+
.mc-dd {
|
15
|
+
color: map.get($dl, dd);
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
@mixin nvl-mc-dl-typography($config) {
|
20
|
+
$tokens: map.get($config, tokens);
|
21
|
+
|
22
|
+
.mc-dl {
|
23
|
+
& .mc-dt {
|
24
|
+
@include mc-typography-level-to-styles(
|
25
|
+
$config,
|
26
|
+
map.get($tokens, description-list-font-default-horizontal-dt)
|
27
|
+
);
|
28
|
+
}
|
29
|
+
|
30
|
+
& .mc-dd {
|
31
|
+
@include mc-typography-level-to-styles(
|
32
|
+
$config,
|
33
|
+
map.get($tokens, description-list-font-default-horizontal-dd)
|
34
|
+
);
|
35
|
+
}
|
36
|
+
|
37
|
+
&.mc-dl_small {
|
38
|
+
& .mc-dt {
|
39
|
+
@include mc-typography-level-to-styles(
|
40
|
+
$config,
|
41
|
+
map.get($tokens, description-list-font-small-horizontal-dt)
|
42
|
+
);
|
43
|
+
}
|
44
|
+
|
45
|
+
& .mc-dd {
|
46
|
+
@include mc-typography-level-to-styles(
|
47
|
+
$config,
|
48
|
+
map.get($tokens, description-list-font-small-horizontal-dd)
|
49
|
+
);
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
.mc-dl.mc-dl_vertical {
|
55
|
+
& .mc-dt {
|
56
|
+
@include mc-typography-level-to-styles(
|
57
|
+
$config,
|
58
|
+
map.get($tokens, description-list-font-default-vertical-dt)
|
59
|
+
);
|
60
|
+
}
|
61
|
+
|
62
|
+
& .mc-dd {
|
63
|
+
@include mc-typography-level-to-styles(
|
64
|
+
$config,
|
65
|
+
map.get($tokens, description-list-font-default-vertical-dd)
|
66
|
+
);
|
67
|
+
}
|
68
|
+
|
69
|
+
&.mc-dl_small {
|
70
|
+
& .mc-dt {
|
71
|
+
@include mc-typography-level-to-styles(
|
72
|
+
$config,
|
73
|
+
map.get($tokens, description-list-font-small-vertical-dt)
|
74
|
+
);
|
75
|
+
}
|
76
|
+
|
77
|
+
& .mc-dd {
|
78
|
+
@include mc-typography-level-to-styles(
|
79
|
+
$config,
|
80
|
+
map.get($tokens, description-list-font-small-vertical-dd)
|
81
|
+
);
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
package/dl/_dl-theme.scss
CHANGED
@@ -0,0 +1,85 @@
|
|
1
|
+
@use 'sass:meta';
|
2
|
+
@use 'sass:map';
|
3
|
+
|
4
|
+
@use '../core/styles/common/popup' as *;
|
5
|
+
@use '../core/styles/theming/theming' as *;
|
6
|
+
@use '../core/styles/typography/typography-utils' as *;
|
7
|
+
|
8
|
+
|
9
|
+
@mixin nvl-mc-dropdown-theme($theme) {
|
10
|
+
$foreground: map.get($theme, foreground);
|
11
|
+
$background: map.get($theme, background);
|
12
|
+
$secondary: map.get($theme, secondary);
|
13
|
+
|
14
|
+
.mc-dropdown__panel {
|
15
|
+
@include popup-params($theme);
|
16
|
+
}
|
17
|
+
|
18
|
+
.mc-dropdown-item {
|
19
|
+
color: map.get($foreground, text);
|
20
|
+
|
21
|
+
background: transparent;
|
22
|
+
|
23
|
+
&:hover {
|
24
|
+
background: map.get($background, overlay-hover);
|
25
|
+
}
|
26
|
+
|
27
|
+
&.cdk-keyboard-focused {
|
28
|
+
outline: map.get(map.get($theme, states), focused-color) solid 2px;
|
29
|
+
outline-offset: -2px !important;
|
30
|
+
}
|
31
|
+
|
32
|
+
&.mc-selected {
|
33
|
+
background: map.get(map.get($theme, states), selected-color);
|
34
|
+
}
|
35
|
+
|
36
|
+
&[disabled] {
|
37
|
+
color: map.get($foreground, text-disabled);
|
38
|
+
|
39
|
+
background: transparent;
|
40
|
+
}
|
41
|
+
|
42
|
+
.mc-dropdown-item__caption {
|
43
|
+
color: map.get($foreground, text-less-contrast);
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.mc-dropdown-item_highlighted {
|
48
|
+
background: map.get($background, overlay-hover);
|
49
|
+
}
|
50
|
+
|
51
|
+
.mc-dropdown-item-overlay {
|
52
|
+
background: transparent;
|
53
|
+
}
|
54
|
+
|
55
|
+
.mc-dropdown__divider {
|
56
|
+
background-color: map.get($foreground, divider);
|
57
|
+
}
|
58
|
+
|
59
|
+
.mc-dropdown-trigger.mc-pressed {
|
60
|
+
& .mc-button-overlay {
|
61
|
+
background: mc-color($secondary, A8);
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
@mixin nvl-mc-dropdown-typography($config) {
|
67
|
+
$tokens: map.get($config, tokens);
|
68
|
+
|
69
|
+
.mc-dropdown-item,
|
70
|
+
.mc-dropdown__content {
|
71
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, dropdown-item-font-default));
|
72
|
+
}
|
73
|
+
|
74
|
+
.mc-dropdown-item__caption {
|
75
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, dropdown-item-font-caption));
|
76
|
+
}
|
77
|
+
|
78
|
+
.mc-dropdown__group-header {
|
79
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, dropdown-group-header-font-default));
|
80
|
+
|
81
|
+
&.mc-dropdown__group-header_small {
|
82
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, dropdown-group-header-font-small));
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
package/dropdown/dropdown.scss
CHANGED
@@ -7,18 +7,18 @@
|
|
7
7
|
$tokens: meta.module-variables(tokens) !default;
|
8
8
|
|
9
9
|
.mc-dropdown-trigger {
|
10
|
-
&.mc-
|
10
|
+
&.mc-button-icon_right {
|
11
11
|
padding-right: var(
|
12
12
|
--mc-dropdown-trigger-size-button-right-padding,
|
13
13
|
map.get($tokens, dropdown-trigger-size-button-right-padding)
|
14
14
|
);
|
15
15
|
}
|
16
16
|
|
17
|
-
&.mc-
|
17
|
+
&.mc-button-icon_right.mc-button-icon_left .mc-icon_left {
|
18
18
|
margin-right: 0;
|
19
19
|
}
|
20
20
|
|
21
|
-
|
21
|
+
&.mc-button-icon .mc-icon_right {
|
22
22
|
margin-left: var(
|
23
23
|
--mc-dropdown-trigger-size-right-icon-padding, map.get($tokens, dropdown-trigger-size-right-icon-padding)
|
24
24
|
);
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { Directionality } from '@angular/cdk/bidi';
|
2
|
+
import { Overlay, ScrollDispatcher } from '@angular/cdk/overlay';
|
3
|
+
import { ElementRef, OnInit, OnDestroy, NgZone, ViewContainerRef, Renderer2, AfterViewInit } from '@angular/core';
|
4
|
+
import { McTooltipTrigger } from '@ptsecurity/mosaic/tooltip';
|
5
|
+
import { Subject } from 'rxjs';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
export declare class McEllipsisCenterDirective extends McTooltipTrigger implements OnInit, AfterViewInit, OnDestroy {
|
8
|
+
private renderer;
|
9
|
+
set mcEllipsisCenter(value: string);
|
10
|
+
minVisibleLength: number;
|
11
|
+
readonly resizeStream: Subject<Event>;
|
12
|
+
private _mcEllipsisCenter;
|
13
|
+
private resizeSubscription;
|
14
|
+
private readonly debounceInterval;
|
15
|
+
constructor(overlay: Overlay, elementRef: ElementRef<HTMLElement>, ngZone: NgZone, scrollDispatcher: ScrollDispatcher, hostView: ViewContainerRef, scrollStrategy: any, direction: Directionality, renderer: Renderer2);
|
16
|
+
ngOnInit(): void;
|
17
|
+
ngAfterViewInit(): void;
|
18
|
+
ngOnDestroy(): void;
|
19
|
+
private refresh;
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McEllipsisCenterDirective, [null, null, null, null, null, null, { optional: true; }, null]>;
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McEllipsisCenterDirective, "[mcEllipsisCenter]", never, { "mcEllipsisCenter": "mcEllipsisCenter"; "minVisibleLength": "minVisibleLength"; }, {}, never, never, false, never>;
|
22
|
+
}
|
23
|
+
export declare class McEllipsisCenterModule {
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McEllipsisCenterModule, never>;
|
25
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McEllipsisCenterModule, [typeof McEllipsisCenterDirective], never, [typeof McEllipsisCenterDirective]>;
|
26
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<McEllipsisCenterModule>;
|
27
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './public-api';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './ellipsis-center.directive';
|
@@ -0,0 +1,67 @@
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ContentChild, Directive, ViewEncapsulation } from '@angular/core';
|
2
|
+
import { McIconItem } from '@ptsecurity/mosaic/icon';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "@angular/common";
|
5
|
+
export class McAlertTitle {
|
6
|
+
}
|
7
|
+
/** @nocollapse */ McAlertTitle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAlertTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
8
|
+
/** @nocollapse */ McAlertTitle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: McAlertTitle, selector: "[mc-alert-title]", host: { classAttribute: "mc-alert__title" }, ngImport: i0 });
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAlertTitle, decorators: [{
|
10
|
+
type: Directive,
|
11
|
+
args: [{
|
12
|
+
selector: '[mc-alert-title]',
|
13
|
+
host: {
|
14
|
+
class: 'mc-alert__title'
|
15
|
+
}
|
16
|
+
}]
|
17
|
+
}] });
|
18
|
+
export class McAlertCloseButton {
|
19
|
+
}
|
20
|
+
/** @nocollapse */ McAlertCloseButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAlertCloseButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
21
|
+
/** @nocollapse */ McAlertCloseButton.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: McAlertCloseButton, selector: "[mc-alert-close-button]", host: { classAttribute: "mc-alert-close-button" }, ngImport: i0 });
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAlertCloseButton, decorators: [{
|
23
|
+
type: Directive,
|
24
|
+
args: [{
|
25
|
+
selector: '[mc-alert-close-button]',
|
26
|
+
host: {
|
27
|
+
class: 'mc-alert-close-button'
|
28
|
+
}
|
29
|
+
}]
|
30
|
+
}] });
|
31
|
+
export class McAlertControl {
|
32
|
+
}
|
33
|
+
/** @nocollapse */ McAlertControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAlertControl, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
34
|
+
/** @nocollapse */ McAlertControl.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: McAlertControl, selector: "[mc-alert-control]", host: { classAttribute: "mc-alert-control" }, ngImport: i0 });
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAlertControl, decorators: [{
|
36
|
+
type: Directive,
|
37
|
+
args: [{
|
38
|
+
selector: '[mc-alert-control]',
|
39
|
+
host: {
|
40
|
+
class: 'mc-alert-control'
|
41
|
+
}
|
42
|
+
}]
|
43
|
+
}] });
|
44
|
+
export class McAlert {
|
45
|
+
}
|
46
|
+
/** @nocollapse */ McAlert.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAlert, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
47
|
+
/** @nocollapse */ McAlert.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: McAlert, selector: "mc-alert", host: { properties: { "class.mc-alert_dismissible": "closeButton" }, classAttribute: "mc-alert" }, queries: [{ propertyName: "iconItem", first: true, predicate: McIconItem, descendants: true }, { propertyName: "title", first: true, predicate: McAlertTitle, descendants: true }, { propertyName: "control", first: true, predicate: McAlertControl, descendants: true }, { propertyName: "closeButton", first: true, predicate: McAlertCloseButton, descendants: true }], ngImport: i0, template: "<div class=\"mc-alert__icon\" *ngIf=\"iconItem\">\n <ng-content select=\"[mc-icon-item]\"></ng-content>\n</div>\n\n<div class=\"mc-alert__content\">\n <ng-content select=\"[mc-alert-title]\"></ng-content>\n\n <div class=\"mc-alert__text\">\n <ng-content></ng-content>\n </div>\n\n <div class=\"mc-alert__controls\" *ngIf=\"control\">\n <ng-content select=\"[mc-alert-control]\"></ng-content>\n </div>\n</div>\n\n<div class=\"mc-alert__close-button\" [hidden]=\"!closeButton\">\n <ng-content select=\"[mc-alert-close-button]\"></ng-content>\n</div>\n", styles: [".mc-alert{display:flex;border-radius:var(--mc-alert-size-container-border-radius, 12px);min-width:var(--mc-alert-size-container-min-width, );min-height:calc(var(--mc-alert-size-container-min-height, 48px) - var(--mc-alert-size-container-padding-vertical, 16px) * 2);padding:var(--mc-alert-size-container-padding-vertical, 16px) var(--mc-alert-size-container-padding-horizontal, 20px)}.mc-alert__icon{margin-right:var(--mc-alert-size-container-content-gap-horizontal, 12px)}.mc-alert__title{margin-bottom:var(--mc-alert-size-container-content-gap-vertical, 4px)}.mc-alert__controls{margin-top:var(--mc-alert-size-container-content-gap-vertical, 4px);padding-top:var(--mc-alert-size-button-stack-content-padding-top, 12px)}.mc-alert__controls .mc-button{margin-right:var(--mc-alert-size-button-stack-content-content-gap-horizontal, 4px)}.mc-alert__controls .mc-link{margin-right:16px}.mc-alert__content{display:flex;flex-direction:column;flex:1;justify-content:center}.mc-alert__close-button{margin-left:var(--mc-alert-size-container-content-gap-horizontal, 12px)}.mc-alert_dismissible .mc-alert__close-button{margin-top:var(--mc-alert-size-close-button-margin-top, -8px);margin-right:var(--mc-alert-size-close-button-margin-right, -12px)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAlert, decorators: [{
|
49
|
+
type: Component,
|
50
|
+
args: [{ selector: 'mc-alert', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
51
|
+
class: 'mc-alert',
|
52
|
+
'[class.mc-alert_dismissible]': 'closeButton'
|
53
|
+
}, template: "<div class=\"mc-alert__icon\" *ngIf=\"iconItem\">\n <ng-content select=\"[mc-icon-item]\"></ng-content>\n</div>\n\n<div class=\"mc-alert__content\">\n <ng-content select=\"[mc-alert-title]\"></ng-content>\n\n <div class=\"mc-alert__text\">\n <ng-content></ng-content>\n </div>\n\n <div class=\"mc-alert__controls\" *ngIf=\"control\">\n <ng-content select=\"[mc-alert-control]\"></ng-content>\n </div>\n</div>\n\n<div class=\"mc-alert__close-button\" [hidden]=\"!closeButton\">\n <ng-content select=\"[mc-alert-close-button]\"></ng-content>\n</div>\n", styles: [".mc-alert{display:flex;border-radius:var(--mc-alert-size-container-border-radius, 12px);min-width:var(--mc-alert-size-container-min-width, );min-height:calc(var(--mc-alert-size-container-min-height, 48px) - var(--mc-alert-size-container-padding-vertical, 16px) * 2);padding:var(--mc-alert-size-container-padding-vertical, 16px) var(--mc-alert-size-container-padding-horizontal, 20px)}.mc-alert__icon{margin-right:var(--mc-alert-size-container-content-gap-horizontal, 12px)}.mc-alert__title{margin-bottom:var(--mc-alert-size-container-content-gap-vertical, 4px)}.mc-alert__controls{margin-top:var(--mc-alert-size-container-content-gap-vertical, 4px);padding-top:var(--mc-alert-size-button-stack-content-padding-top, 12px)}.mc-alert__controls .mc-button{margin-right:var(--mc-alert-size-button-stack-content-content-gap-horizontal, 4px)}.mc-alert__controls .mc-link{margin-right:16px}.mc-alert__content{display:flex;flex-direction:column;flex:1;justify-content:center}.mc-alert__close-button{margin-left:var(--mc-alert-size-container-content-gap-horizontal, 12px)}.mc-alert_dismissible .mc-alert__close-button{margin-top:var(--mc-alert-size-close-button-margin-top, -8px);margin-right:var(--mc-alert-size-close-button-margin-right, -12px)}\n"] }]
|
54
|
+
}], propDecorators: { iconItem: [{
|
55
|
+
type: ContentChild,
|
56
|
+
args: [McIconItem]
|
57
|
+
}], title: [{
|
58
|
+
type: ContentChild,
|
59
|
+
args: [McAlertTitle]
|
60
|
+
}], control: [{
|
61
|
+
type: ContentChild,
|
62
|
+
args: [McAlertControl]
|
63
|
+
}], closeButton: [{
|
64
|
+
type: ContentChild,
|
65
|
+
args: [McAlertCloseButton]
|
66
|
+
}] } });
|
67
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcGFja2FnZXMvbW9zYWljL2FsZXJ0L2FsZXJ0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uL3BhY2thZ2VzL21vc2FpYy9hbGVydC9hbGVydC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFBRSxZQUFZLEVBQUUsU0FBUyxFQUNsQyxpQkFBaUIsRUFDcEIsTUFBTSxlQUFlLENBQUM7QUFDd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LWNvbnRlbnQ+XG4gICAgPC9kaXY+XG5cbiAgICA8ZGl2IGNsYXNzPVwibWMtYWxlcnRfX2NvbnRyb2xzXCIgKm5nSWY9XCJjb250cm9sXCI+XG4gICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cIlttYy1hbGVydC1jb250cm9sXVwiPjwvbmctY29udGVudD5cbiAgICA8L2Rpdj5cbjwvZGl2PlxuXG48ZGl2IGNsYXNzPVwibWMtYWxlcnRfX2Nsb3NlLWJ1dHRvblwiIFtoaWRkZW5dPVwiIWNsb3NlQnV0dG9uXCI+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW21jLWFsZXJ0LWNsb3NlLWJ1dHRvbl1cIj48L25nLWNvbnRlbnQ+XG48L2Rpdj5cbiJdfQ==
|
@@ -0,0 +1,44 @@
|
|
1
|
+
import { A11yModule } from '@angular/cdk/a11y';
|
2
|
+
import { PlatformModule } from '@angular/cdk/platform';
|
3
|
+
import { CommonModule } from '@angular/common';
|
4
|
+
import { NgModule } from '@angular/core';
|
5
|
+
import { McAlert, McAlertCloseButton, McAlertControl, McAlertTitle } from './alert.component';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
export class McAlertModule {
|
8
|
+
}
|
9
|
+
/** @nocollapse */ McAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
10
|
+
/** @nocollapse */ McAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: McAlertModule, declarations: [McAlert,
|
11
|
+
McAlertTitle,
|
12
|
+
McAlertCloseButton,
|
13
|
+
McAlertControl], imports: [CommonModule,
|
14
|
+
A11yModule,
|
15
|
+
PlatformModule], exports: [McAlert,
|
16
|
+
McAlertTitle,
|
17
|
+
McAlertCloseButton,
|
18
|
+
McAlertControl] });
|
19
|
+
/** @nocollapse */ McAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAlertModule, imports: [CommonModule,
|
20
|
+
A11yModule,
|
21
|
+
PlatformModule] });
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAlertModule, decorators: [{
|
23
|
+
type: NgModule,
|
24
|
+
args: [{
|
25
|
+
imports: [
|
26
|
+
CommonModule,
|
27
|
+
A11yModule,
|
28
|
+
PlatformModule
|
29
|
+
],
|
30
|
+
exports: [
|
31
|
+
McAlert,
|
32
|
+
McAlertTitle,
|
33
|
+
McAlertCloseButton,
|
34
|
+
McAlertControl
|
35
|
+
],
|
36
|
+
declarations: [
|
37
|
+
McAlert,
|
38
|
+
McAlertTitle,
|
39
|
+
McAlertCloseButton,
|
40
|
+
McAlertControl
|
41
|
+
]
|
42
|
+
}]
|
43
|
+
}] });
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcGFja2FnZXMvbW9zYWljL2FsZXJ0L2FsZXJ0Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDL0MsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFDSCxPQUFPLEVBQ1Asa0JBQWtCLEVBQ2xCLGNBQWMsRUFDZCxZQUFZLEVBQ2YsTUFBTSxtQkFBbUIsQ0FBQzs7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oe1xuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxuICAgICAgICBBMTF5TW9kdWxlLFxuICAgICAgICBQbGF0Zm9ybU1vZHVsZVxuICAgIF0sXG4gICAgZXhwb3J0czogW1xuICAgICAgICBNY0FsZXJ0LFxuICAgICAgICBNY0FsZXJ0VGl0bGUsXG4gICAgICAgIE1jQWxlcnRDbG9zZUJ1dHRvbixcbiAgICAgICAgTWNBbGVydENvbnRyb2xcbiAgICBdLFxuICAgIGRlY2xhcmF0aW9uczogW1xuICAgICAgICBNY0FsZXJ0LFxuICAgICAgICBNY0FsZXJ0VGl0bGUsXG4gICAgICAgIE1jQWxlcnRDbG9zZUJ1dHRvbixcbiAgICAgICAgTWNBbGVydENvbnRyb2xcbiAgICBdXG59KVxuZXhwb3J0IGNsYXNzIE1jQWxlcnRNb2R1bGUge31cbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export * from './public-api';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9tb3NhaWMvYWxlcnQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './index';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHRzZWN1cml0eS1tb3NhaWMtYWxlcnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9tb3NhaWMvYWxlcnQvcHRzZWN1cml0eS1tb3NhaWMtYWxlcnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export * from './alert.module';
|
2
|
+
export * from './alert.component';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL21vc2FpYy9hbGVydC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyxtQkFBbUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYWxlcnQubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vYWxlcnQuY29tcG9uZW50JztcbiJdfQ==
|
@@ -9,9 +9,9 @@ export class McAutocompleteOrigin {
|
|
9
9
|
this.elementRef = elementRef;
|
10
10
|
}
|
11
11
|
}
|
12
|
-
/** @nocollapse */ McAutocompleteOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
13
|
-
/** @nocollapse */ McAutocompleteOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
12
|
+
/** @nocollapse */ McAutocompleteOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAutocompleteOrigin, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
13
|
+
/** @nocollapse */ McAutocompleteOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: McAutocompleteOrigin, selector: "[mcAutocompleteOrigin]", exportAs: ["mcAutocompleteOrigin"], ngImport: i0 });
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAutocompleteOrigin, decorators: [{
|
15
15
|
type: Directive,
|
16
16
|
args: [{
|
17
17
|
selector: '[mcAutocompleteOrigin]',
|
@@ -502,9 +502,9 @@ export class McAutocompleteTrigger {
|
|
502
502
|
return !element.readOnly && !element.disabled && !this._autocompleteDisabled;
|
503
503
|
}
|
504
504
|
}
|
505
|
-
/** @nocollapse */ McAutocompleteTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
506
|
-
/** @nocollapse */ McAutocompleteTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
507
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
505
|
+
/** @nocollapse */ McAutocompleteTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAutocompleteTrigger, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }, { token: i1.Overlay }, { token: i0.NgZone }, { token: MC_AUTOCOMPLETE_SCROLL_STRATEGY }, { token: i2.Directionality, optional: true }, { token: i3.McFormField, host: true, optional: true }, { token: DOCUMENT, optional: true }, { token: i4.ViewportRuler }], target: i0.ɵɵFactoryTarget.Directive });
|
506
|
+
/** @nocollapse */ McAutocompleteTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: McAutocompleteTrigger, selector: "input[mcAutocomplete], textarea[mcAutocomplete]", inputs: { autocomplete: ["mcAutocomplete", "autocomplete"], connectedTo: ["mcAutocompleteConnectedTo", "connectedTo"], autocompleteAttribute: ["autocomplete", "autocompleteAttribute"], autocompleteDisabled: ["mcAutocompleteDisabled", "autocompleteDisabled"] }, host: { listeners: { "focusin": "handleFocus()", "blur": "onTouched()", "input": "handleInput($event)", "keydown": "handleKeydown($event)", "click": "handleClick($event)" }, properties: { "attr.autocomplete": "autocompleteAttribute" }, classAttribute: "mc-autocomplete-trigger" }, providers: [MAT_AUTOCOMPLETE_VALUE_ACCESSOR], exportAs: ["mcAutocompleteTrigger"], ngImport: i0 });
|
507
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAutocompleteTrigger, decorators: [{
|
508
508
|
type: Directive,
|
509
509
|
args: [{
|
510
510
|
selector: `input[mcAutocomplete], textarea[mcAutocomplete]`,
|
@@ -106,17 +106,17 @@ export class McAutocomplete {
|
|
106
106
|
this.keyManager.onKeydown(event);
|
107
107
|
}
|
108
108
|
}
|
109
|
-
/** @nocollapse */ McAutocomplete.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
110
|
-
/** @nocollapse */ McAutocomplete.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.
|
109
|
+
/** @nocollapse */ McAutocomplete.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAutocomplete, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: MC_AUTOCOMPLETE_DEFAULT_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
|
110
|
+
/** @nocollapse */ McAutocomplete.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: McAutocomplete, selector: "mc-autocomplete", inputs: { displayWith: "displayWith", panelWidth: "panelWidth", classList: ["class", "classList"], autoActiveFirstOption: "autoActiveFirstOption", openOnFocus: "openOnFocus" }, outputs: { optionSelected: "optionSelected", opened: "opened", closed: "closed" }, host: { classAttribute: "mc-autocomplete" }, providers: [{
|
111
111
|
provide: MC_OPTION_PARENT_COMPONENT, useExisting: McAutocomplete
|
112
|
-
}], queries: [{ propertyName: "options", predicate: McOption, descendants: true }, { propertyName: "optionGroups", predicate: McOptgroup }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }, { propertyName: "panel", first: true, predicate: ["panel"], descendants: true }], exportAs: ["mcAutocomplete"], ngImport: i0, template: "<ng-template>\n <div class=\"mc-autocomplete-panel mc-scrollbar\" role=\"listbox\" [id]=\"id\" [ngClass]=\"classList\" #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: [".mc-autocomplete-trigger{text-overflow:ellipsis}.mc-autocomplete-panel{visibility:hidden;position:relative;overflow:hidden auto;-webkit-overflow-scrolling:touch;margin-top:-1px;min-width:100%;width:100%;max-width:none;max-height:var(--mc-autocomplete-size-panel-max-height, 256px);border-width:1px;border-style:solid;border-bottom-left-radius:var(--mc-autocomplete-size-panel-border-radius,
|
113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
112
|
+
}], queries: [{ propertyName: "options", predicate: McOption, descendants: true }, { propertyName: "optionGroups", predicate: McOptgroup }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }, { propertyName: "panel", first: true, predicate: ["panel"], descendants: true }], exportAs: ["mcAutocomplete"], ngImport: i0, template: "<ng-template>\n <div class=\"mc-autocomplete-panel mc-scrollbar\" role=\"listbox\" [id]=\"id\" [ngClass]=\"classList\" #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: [".mc-autocomplete-trigger{text-overflow:ellipsis}.mc-autocomplete-panel{visibility:hidden;position:relative;overflow:hidden auto;-webkit-overflow-scrolling:touch;margin-top:-1px;min-width:100%;width:100%;max-width:none;max-height:var(--mc-autocomplete-size-panel-max-height, 256px);border-width:1px;border-style:solid;border-bottom-left-radius:var(--mc-autocomplete-size-panel-border-radius, 8px);border-bottom-right-radius:var(--mc-autocomplete-size-panel-border-radius, 8px);padding:var(--mc-autocomplete-size-panel-padding, 4px 0)}.mc-autocomplete-panel.mc-autocomplete_visible{visibility:visible}.mc-autocomplete-panel.mc-autocomplete_hidden{visibility:hidden}.mc-autocomplete-panel-above .mc-autocomplete-panel{border-radius:var(--mc-autocomplete-size-panel-border-radius, 8px) var(--mc-autocomplete-size-panel-border-radius, 8px) 0 0}.mc-autocomplete-panel .mc-divider-horizontal{margin-top:-1px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAutocomplete, decorators: [{
|
114
114
|
type: Component,
|
115
115
|
args: [{ selector: 'mc-autocomplete', exportAs: 'mcAutocomplete', host: {
|
116
116
|
class: 'mc-autocomplete'
|
117
117
|
}, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{
|
118
118
|
provide: MC_OPTION_PARENT_COMPONENT, useExisting: McAutocomplete
|
119
|
-
}], template: "<ng-template>\n <div class=\"mc-autocomplete-panel mc-scrollbar\" role=\"listbox\" [id]=\"id\" [ngClass]=\"classList\" #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: [".mc-autocomplete-trigger{text-overflow:ellipsis}.mc-autocomplete-panel{visibility:hidden;position:relative;overflow:hidden auto;-webkit-overflow-scrolling:touch;margin-top:-1px;min-width:100%;width:100%;max-width:none;max-height:var(--mc-autocomplete-size-panel-max-height, 256px);border-width:1px;border-style:solid;border-bottom-left-radius:var(--mc-autocomplete-size-panel-border-radius,
|
119
|
+
}], template: "<ng-template>\n <div class=\"mc-autocomplete-panel mc-scrollbar\" role=\"listbox\" [id]=\"id\" [ngClass]=\"classList\" #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: [".mc-autocomplete-trigger{text-overflow:ellipsis}.mc-autocomplete-panel{visibility:hidden;position:relative;overflow:hidden auto;-webkit-overflow-scrolling:touch;margin-top:-1px;min-width:100%;width:100%;max-width:none;max-height:var(--mc-autocomplete-size-panel-max-height, 256px);border-width:1px;border-style:solid;border-bottom-left-radius:var(--mc-autocomplete-size-panel-border-radius, 8px);border-bottom-right-radius:var(--mc-autocomplete-size-panel-border-radius, 8px);padding:var(--mc-autocomplete-size-panel-padding, 4px 0)}.mc-autocomplete-panel.mc-autocomplete_visible{visibility:visible}.mc-autocomplete-panel.mc-autocomplete_hidden{visibility:hidden}.mc-autocomplete-panel-above .mc-autocomplete-panel{border-radius:var(--mc-autocomplete-size-panel-border-radius, 8px) var(--mc-autocomplete-size-panel-border-radius, 8px) 0 0}.mc-autocomplete-panel .mc-divider-horizontal{margin-top:-1px}\n"] }]
|
120
120
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
121
121
|
type: Inject,
|
122
122
|
args: [MC_AUTOCOMPLETE_DEFAULT_OPTIONS]
|
@@ -8,15 +8,15 @@ import { McAutocomplete } from './autocomplete.component';
|
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
export class McAutocompleteModule {
|
10
10
|
}
|
11
|
-
/** @nocollapse */ McAutocompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
12
|
-
/** @nocollapse */ McAutocompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.
|
11
|
+
/** @nocollapse */ McAutocompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
12
|
+
/** @nocollapse */ McAutocompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: McAutocompleteModule, declarations: [McAutocomplete, McAutocompleteTrigger, McAutocompleteOrigin], imports: [McOptionModule, OverlayModule, McCommonModule, CommonModule], exports: [McAutocomplete,
|
13
13
|
McOptionModule,
|
14
14
|
McAutocompleteTrigger,
|
15
15
|
McAutocompleteOrigin,
|
16
16
|
McCommonModule] });
|
17
|
-
/** @nocollapse */ McAutocompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.
|
17
|
+
/** @nocollapse */ McAutocompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAutocompleteModule, providers: [MC_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [McOptionModule, OverlayModule, McCommonModule, CommonModule, McOptionModule,
|
18
18
|
McCommonModule] });
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McAutocompleteModule, decorators: [{
|
20
20
|
type: NgModule,
|
21
21
|
args: [{
|
22
22
|
imports: [McOptionModule, OverlayModule, McCommonModule, CommonModule],
|