@ptsecurity/mosaic 15.6.0 → 16.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 +19 -0
- package/_visual.scss +2 -0
- package/autocomplete/autocomplete-trigger.directive.d.ts +6 -16
- package/autocomplete/autocomplete.component.d.ts +1 -1
- package/button/button.component.d.ts +1 -1
- package/button-toggle/button-toggle.component.d.ts +3 -3
- package/card/card.component.d.ts +1 -1
- package/checkbox/_checkbox-theme.scss +4 -0
- package/checkbox/checkbox-config.d.ts +1 -1
- package/checkbox/checkbox.d.ts +1 -1
- package/code-block/actionbar.component.d.ts +1 -1
- package/code-block/code-block.component.d.ts +1 -1
- package/core/common-behaviors/color.d.ts +1 -1
- package/core/common-behaviors/constructor.d.ts +2 -2
- package/core/common-behaviors/disabled.d.ts +1 -1
- package/core/common-behaviors/error-state.d.ts +1 -1
- package/core/common-behaviors/tabindex.d.ts +1 -1
- package/core/datetime/date-formats.d.ts +1 -1
- package/core/formatters/index.d.ts +1 -1
- package/core/formatters/number/formatter.d.ts +55 -0
- package/core/label/label-options.d.ts +1 -1
- package/core/locales/en-US.d.ts +13 -2
- package/core/locales/es-LA.d.ts +21 -0
- package/core/locales/fa-IR.d.ts +22 -0
- package/core/locales/locale-service.d.ts +111 -5
- package/core/locales/pt-BR.d.ts +21 -0
- package/core/locales/ru-RU.d.ts +13 -2
- package/core/locales/zh-CN.d.ts +20 -0
- package/core/option/action.d.ts +1 -1
- package/core/option/optgroup.d.ts +1 -1
- package/core/option/option.d.ts +37 -8
- package/core/overlay/overlay-position-map.d.ts +7 -1
- package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +2 -2
- package/core/styles/_variables.scss +1 -0
- package/core/styles/theming/_theming.scss +1 -0
- package/datepicker/calendar-body.component.d.ts +2 -2
- package/datepicker/calendar-header.component.d.ts +9 -3
- package/datepicker/calendar.component.d.ts +4 -5
- package/datepicker/datepicker-input.directive.d.ts +1 -1
- package/datepicker/datepicker-toggle.component.d.ts +1 -1
- package/datepicker/datepicker.component.d.ts +1 -1
- package/datepicker/month-view.component.d.ts +4 -5
- package/divider/divider.component.d.ts +1 -1
- package/dl/dl.component.d.ts +1 -1
- package/dropdown/dropdown-item.component.d.ts +1 -1
- package/dropdown/dropdown-trigger.directive.d.ts +1 -1
- package/dropdown/dropdown.component.d.ts +1 -1
- package/dropdown/dropdown.types.d.ts +3 -3
- package/ellipsis-center/ellipsis-center.directive.d.ts +1 -1
- package/{esm2020 → esm2022}/autocomplete/autocomplete-origin.directive.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +555 -0
- package/{esm2020 → esm2022}/autocomplete/autocomplete.component.mjs +26 -26
- package/{esm2020 → esm2022}/autocomplete/autocomplete.module.mjs +10 -10
- package/esm2022/button/button.component.mjs +148 -0
- package/{esm2020 → esm2022}/button/button.module.mjs +13 -13
- package/esm2022/button-toggle/button-toggle.component.mjs +381 -0
- package/{esm2020 → esm2022}/button-toggle/button-toggle.module.mjs +5 -5
- package/esm2022/card/card.component.mjs +80 -0
- package/{esm2020 → esm2022}/card/card.module.mjs +9 -9
- package/{esm2020 → esm2022}/checkbox/checkbox-module.mjs +5 -5
- package/{esm2020 → esm2022}/checkbox/checkbox-required-validator.mjs +4 -4
- package/esm2022/checkbox/checkbox.mjs +300 -0
- package/{esm2020 → esm2022}/code-block/actionbar.component.mjs +4 -4
- package/esm2022/code-block/code-block.component.mjs +157 -0
- package/esm2022/code-block/code-block.module.mjs +60 -0
- package/esm2022/core/common-behaviors/color.mjs +33 -0
- package/{esm2020 → esm2022}/core/common-behaviors/common-module.mjs +5 -5
- package/{esm2020 → esm2022}/core/common-behaviors/disabled.mjs +6 -6
- package/{esm2020 → esm2022}/core/common-behaviors/tabindex.mjs +6 -6
- package/{esm2020 → esm2022}/core/error/error-options.mjs +7 -7
- package/{esm2020 → esm2022}/core/formatters/date/formatter.mjs +4 -4
- package/{esm2020 → esm2022}/core/formatters/date/formatter.pipe.mjs +40 -40
- package/esm2022/core/formatters/index.mjs +86 -0
- package/esm2022/core/formatters/number/formatter.mjs +350 -0
- package/{esm2020 → esm2022}/core/forms/forms-module.mjs +7 -7
- package/{esm2020 → esm2022}/core/forms/forms.directive.mjs +7 -7
- package/{esm2020 → esm2022}/core/highlight/highlight.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/core/highlight/index.mjs +5 -5
- package/{esm2020 → esm2022}/core/line/line.mjs +8 -8
- package/esm2022/core/locales/en-US.mjs +21 -0
- package/esm2022/core/locales/es-LA.mjs +27 -0
- package/esm2022/core/locales/fa-IR.mjs +28 -0
- package/{esm2020 → esm2022}/core/locales/locale-service.mjs +7 -7
- package/{esm2020 → esm2022}/core/locales/locale-service.module.mjs +7 -7
- package/esm2022/core/locales/pt-BR.mjs +27 -0
- package/esm2022/core/locales/ru-RU.mjs +21 -0
- package/esm2022/core/locales/zh-CN.mjs +26 -0
- package/{esm2020 → esm2022}/core/option/action.mjs +9 -9
- package/{esm2020 → esm2022}/core/option/optgroup.mjs +4 -4
- package/{esm2020 → esm2022}/core/option/option-module.mjs +5 -5
- package/esm2022/core/option/option.mjs +298 -0
- package/esm2022/core/overlay/overlay-position-map.mjs +251 -0
- package/{esm2020 → esm2022}/core/pop-up/pop-up-trigger.mjs +4 -4
- package/{esm2020 → esm2022}/core/pop-up/pop-up.mjs +4 -4
- package/{esm2020 → esm2022}/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
- package/{esm2020 → esm2022}/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +5 -5
- package/esm2022/core/services/measure-scrollbar.service.mjs +48 -0
- package/{esm2020 → esm2022}/core/utils/data-size/data-size.pipe.mjs +8 -8
- package/{esm2020 → esm2022}/core/version.mjs +2 -2
- package/{esm2020 → esm2022}/datepicker/calendar-body.component.mjs +4 -4
- package/esm2022/datepicker/calendar-header.component.mjs +135 -0
- package/esm2022/datepicker/calendar.component.mjs +166 -0
- package/esm2022/datepicker/datepicker-input.directive.mjs +955 -0
- package/{esm2020 → esm2022}/datepicker/datepicker-intl.mjs +4 -4
- package/{esm2020 → esm2022}/datepicker/datepicker-module.mjs +38 -38
- package/esm2022/datepicker/datepicker-toggle.component.mjs +86 -0
- package/esm2022/datepicker/datepicker.component.mjs +393 -0
- package/esm2022/datepicker/month-view.component.mjs +149 -0
- package/{esm2020 → esm2022}/divider/divider.component.mjs +4 -4
- package/{esm2020 → esm2022}/divider/divider.module.mjs +5 -5
- package/{esm2020 → esm2022}/dl/dl.component.mjs +10 -10
- package/{esm2020 → esm2022}/dl/dl.module.mjs +13 -13
- package/{esm2020 → esm2022}/dropdown/dropdown-content.directive.mjs +4 -4
- package/{esm2020 → esm2022}/dropdown/dropdown-item.component.mjs +6 -6
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +489 -0
- package/esm2022/dropdown/dropdown.component.mjs +292 -0
- package/{esm2020 → esm2022}/dropdown/dropdown.module.mjs +15 -15
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +106 -0
- package/{esm2020 → esm2022}/file-upload/file-drop.mjs +4 -4
- package/{esm2020 → esm2022}/file-upload/file-upload.module.mjs +25 -25
- package/esm2022/file-upload/multiple-file-upload.component.mjs +165 -0
- package/esm2022/file-upload/single-file-upload.component.mjs +134 -0
- package/{esm2020 → esm2022}/form-field/cleaner.mjs +4 -4
- package/esm2022/form-field/form-field.mjs +267 -0
- package/{esm2020 → esm2022}/form-field/form-field.module.mjs +23 -23
- package/{esm2020 → esm2022}/form-field/hint.mjs +4 -4
- package/{esm2020 → esm2022}/form-field/password-hint.mjs +9 -9
- package/{esm2020 → esm2022}/form-field/prefix.mjs +4 -4
- package/{esm2020 → esm2022}/form-field/stepper.mjs +6 -6
- package/{esm2020 → esm2022}/form-field/suffix.mjs +4 -4
- package/esm2022/form-field/validate.directive.mjs +158 -0
- package/{esm2020 → esm2022}/icon/icon.component.mjs +7 -7
- package/{esm2020 → esm2022}/icon/icon.module.mjs +11 -11
- package/{esm2020 → esm2022}/input/input-number-validators.mjs +7 -7
- package/esm2022/input/input-number.mjs +168 -0
- package/esm2022/input/input-password.mjs +343 -0
- package/esm2022/input/input.mjs +297 -0
- package/{esm2020 → esm2022}/input/input.module.mjs +23 -23
- package/esm2022/link/link.component.mjs +122 -0
- package/{esm2020 → esm2022}/link/link.module.mjs +7 -7
- package/esm2022/list/list-selection.component.mjs +705 -0
- package/{esm2020 → esm2022}/list/list.component.mjs +7 -7
- package/{esm2020 → esm2022}/list/list.module.mjs +20 -20
- package/esm2022/loader-overlay/loader-overlay.component.mjs +103 -0
- package/{esm2020 → esm2022}/loader-overlay/loader-overlay.module.mjs +17 -17
- package/{esm2020 → esm2022}/markdown/markdown.component.mjs +13 -13
- package/{esm2020 → esm2022}/markdown/markdown.module.mjs +5 -5
- package/{esm2020 → esm2022}/markdown/markdown.service.mjs +4 -4
- package/{esm2020 → esm2022}/modal/css-unit.pipe.mjs +4 -4
- package/esm2022/modal/modal-control.service.mjs +85 -0
- package/esm2022/modal/modal.component.mjs +520 -0
- package/{esm2020 → esm2022}/modal/modal.directive.mjs +13 -13
- package/esm2022/modal/modal.module.mjs +75 -0
- package/{esm2020 → esm2022}/modal/modal.service.mjs +8 -8
- package/esm2022/navbar/navbar-item.component.mjs +606 -0
- package/esm2022/navbar/navbar.component.mjs +248 -0
- package/{esm2020 → esm2022}/navbar/navbar.module.mjs +37 -37
- package/{esm2020 → esm2022}/navbar/vertical-navbar.component.mjs +20 -17
- package/esm2022/popover/popover-confirm.component.mjs +108 -0
- package/esm2022/popover/popover.component.mjs +266 -0
- package/{esm2020 → esm2022}/popover/popover.module.mjs +8 -8
- package/{esm2020 → esm2022}/progress-bar/progress-bar.component.mjs +4 -4
- package/{esm2020 → esm2022}/progress-bar/progress-bar.module.mjs +7 -7
- package/{esm2020 → esm2022}/progress-spinner/progress-spinner.component.mjs +12 -12
- package/{esm2020 → esm2022}/progress-spinner/progress-spinner.module.mjs +7 -7
- package/esm2022/radio/radio.component.mjs +457 -0
- package/{esm2020 → esm2022}/radio/radio.module.mjs +5 -5
- package/esm2022/select/select-option.directive.mjs +65 -0
- package/esm2022/select/select.component.mjs +1160 -0
- package/{esm2020 → esm2022}/select/select.module.mjs +32 -32
- package/esm2022/sidebar/sidebar.component.mjs +146 -0
- package/{esm2020 → esm2022}/sidebar/sidebar.module.mjs +9 -9
- package/esm2022/sidepanel/sidepanel-container.component.mjs +110 -0
- package/{esm2020 → esm2022}/sidepanel/sidepanel-directives.mjs +18 -18
- package/{esm2020 → esm2022}/sidepanel/sidepanel.module.mjs +32 -32
- package/{esm2020 → esm2022}/sidepanel/sidepanel.service.mjs +10 -10
- package/esm2022/splitter/splitter.component.mjs +482 -0
- package/{esm2020 → esm2022}/splitter/splitter.module.mjs +12 -12
- package/{esm2020 → esm2022}/table/table.component.mjs +4 -4
- package/{esm2020 → esm2022}/table/table.module.mjs +9 -9
- package/esm2022/tabs/paginated-tab-header.mjs +488 -0
- package/esm2022/tabs/tab-body.component.mjs +179 -0
- package/{esm2020 → esm2022}/tabs/tab-content.directive.mjs +4 -4
- package/esm2022/tabs/tab-group.component.mjs +349 -0
- package/{esm2020 → esm2022}/tabs/tab-header.component.mjs +4 -4
- package/{esm2020 → esm2022}/tabs/tab-label-wrapper.directive.mjs +4 -4
- package/{esm2020 → esm2022}/tabs/tab-label.directive.mjs +4 -4
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +111 -0
- package/{esm2020 → esm2022}/tabs/tab.component.mjs +43 -34
- package/{esm2020 → esm2022}/tabs/tabs.module.mjs +42 -42
- package/esm2022/tags/tag-input.mjs +250 -0
- package/esm2022/tags/tag-list.component.mjs +718 -0
- package/esm2022/tags/tag.component.mjs +381 -0
- package/esm2022/tags/tag.module.mjs +56 -0
- package/esm2022/textarea/textarea.component.mjs +254 -0
- package/{esm2020 → esm2022}/textarea/textarea.module.mjs +5 -5
- package/esm2022/timepicker/timepicker.directive.mjs +647 -0
- package/{esm2020 → esm2022}/timepicker/timepicker.module.mjs +11 -11
- package/{esm2020 → esm2022}/timezone/cities-by-filter.pipe.mjs +4 -4
- package/esm2022/timezone/timezone-option.component.mjs +48 -0
- package/{esm2020 → esm2022}/timezone/timezone-option.directive.mjs +4 -4
- package/{esm2020 → esm2022}/timezone/timezone-select.component.mjs +11 -11
- package/{esm2020 → esm2022}/timezone/timezone.module.mjs +29 -29
- package/{esm2020 → esm2022}/timezone/utc-offset.pipe.mjs +4 -4
- package/esm2022/title/title.directive.mjs +107 -0
- package/{esm2020 → esm2022}/title/title.module.mjs +5 -5
- package/{esm2020 → esm2022}/toast/toast-container.component.mjs +4 -4
- package/esm2022/toast/toast.component.mjs +92 -0
- package/esm2022/toast/toast.module.mjs +48 -0
- package/esm2022/toast/toast.service.mjs +188 -0
- package/esm2022/toggle/toggle.component.mjs +156 -0
- package/{esm2020 → esm2022}/toggle/toggle.module.mjs +5 -5
- package/esm2022/tooltip/tooltip.component.mjs +299 -0
- package/{esm2020 → esm2022}/tooltip/tooltip.module.mjs +14 -14
- package/esm2022/tree/data-source/flat-data-source.mjs +162 -0
- package/{esm2020 → esm2022}/tree/node.mjs +4 -4
- package/{esm2020 → esm2022}/tree/outlet.mjs +4 -4
- package/esm2022/tree/padding.directive.mjs +113 -0
- package/esm2022/tree/toggle.mjs +81 -0
- package/esm2022/tree/tree-base.mjs +243 -0
- package/esm2022/tree/tree-option.component.mjs +303 -0
- package/esm2022/tree/tree-selection.component.mjs +558 -0
- package/{esm2020 → esm2022}/tree/tree.mjs +4 -4
- package/{esm2020 → esm2022}/tree/tree.module.mjs +21 -21
- package/esm2022/tree-select/tree-select.component.mjs +936 -0
- package/{esm2020 → esm2022}/tree-select/tree-select.module.mjs +17 -17
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-autocomplete.mjs +80 -77
- package/fesm2022/ptsecurity-mosaic-autocomplete.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-button-toggle.mjs +47 -47
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-button.mjs +25 -25
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-button.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-card.mjs +17 -17
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-card.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-checkbox.mjs +39 -39
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-checkbox.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-code-block.mjs +34 -34
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-code-block.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-core.mjs +598 -222
- package/fesm2022/ptsecurity-mosaic-core.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-datepicker.mjs +335 -351
- package/fesm2022/ptsecurity-mosaic-datepicker.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-divider.mjs +7 -7
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-divider.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-dl.mjs +21 -21
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-dl.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-dropdown.mjs +89 -89
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-dropdown.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-ellipsis-center.mjs +11 -11
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-ellipsis-center.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-file-upload.mjs +55 -47
- package/fesm2022/ptsecurity-mosaic-file-upload.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-form-field.mjs +80 -80
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-icon.mjs +16 -16
- package/fesm2022/ptsecurity-mosaic-icon.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-input.mjs +128 -128
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-input.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-link.mjs +22 -22
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-link.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-list.mjs +86 -86
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-list.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-loader-overlay.mjs +155 -0
- package/{fesm2015 → fesm2022}/ptsecurity-mosaic-loader-overlay.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-markdown.mjs +19 -19
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-markdown.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-modal.mjs +157 -144
- package/fesm2022/ptsecurity-mosaic-modal.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-navbar.mjs +184 -176
- package/fesm2022/ptsecurity-mosaic-navbar.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-popover.mjs +37 -37
- package/{fesm2015 → fesm2022}/ptsecurity-mosaic-popover.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-progress-bar.mjs +9 -9
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-progress-spinner.mjs +18 -18
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-radio.mjs +78 -78
- package/{fesm2015 → fesm2022}/ptsecurity-mosaic-radio.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-select.mjs +188 -174
- package/fesm2022/ptsecurity-mosaic-select.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-sidebar.mjs +29 -29
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-sidebar.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-sidepanel.mjs +63 -63
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/ptsecurity-mosaic-splitter.mjs +55 -55
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-splitter.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-table.mjs +45 -0
- package/fesm2022/ptsecurity-mosaic-table.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-tabs.mjs +188 -179
- package/fesm2022/ptsecurity-mosaic-tabs.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-tags.mjs +131 -131
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-tags.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-textarea.mjs +41 -41
- package/{fesm2015 → fesm2022}/ptsecurity-mosaic-textarea.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-timepicker.mjs +95 -95
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-timepicker.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-timezone.mjs +53 -53
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-timezone.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-title.mjs +18 -18
- package/fesm2022/ptsecurity-mosaic-title.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-toast.mjs +47 -41
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-toast.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-toggle.mjs +35 -35
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-toggle.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-tooltip.mjs +47 -47
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-tooltip.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-tree-select.mjs +122 -122
- package/fesm2022/ptsecurity-mosaic-tree-select.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-tree.mjs +202 -198
- package/fesm2022/ptsecurity-mosaic-tree.mjs.map +1 -0
- package/file-upload/file-upload.d.ts +1 -1
- package/file-upload/multiple-file-upload.component.d.ts +5 -4
- package/file-upload/single-file-upload.component.d.ts +5 -4
- package/form-field/_form-field-theme.scss +4 -0
- package/form-field/form-field.d.ts +1 -1
- package/form-field/hint.d.ts +1 -1
- package/form-field/password-hint.d.ts +1 -1
- package/icon/icon.component.d.ts +1 -1
- package/input/input-number-validators.d.ts +2 -2
- package/input/input-number.d.ts +1 -1
- package/input/input-password.d.ts +2 -2
- package/input/input.d.ts +1 -1
- package/link/link.component.d.ts +1 -1
- package/list/list-selection.component.d.ts +2 -2
- package/loader-overlay/loader-overlay.component.d.ts +1 -1
- package/loader-overlay/loader-overlay.scss +3 -0
- package/markdown/markdown.component.d.ts +1 -1
- package/modal/modal.component.d.ts +5 -2
- package/modal/modal.module.d.ts +2 -1
- package/modal/modal.scss +14 -2
- package/modal/modal.type.d.ts +3 -3
- package/navbar/navbar-item.component.d.ts +3 -3
- package/navbar/navbar.component.d.ts +7 -4
- package/navbar/vertical-navbar.component.d.ts +5 -3
- package/package.json +149 -239
- package/popover/popover-confirm.component.d.ts +1 -1
- package/popover/popover.component.d.ts +1 -1
- 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/progress-bar.component.d.ts +2 -2
- package/progress-spinner/progress-spinner.component.d.ts +3 -3
- package/radio/_radio-theme.scss +4 -0
- package/radio/radio.component.d.ts +2 -2
- package/select/select.component.d.ts +12 -9
- package/select/select.scss +1 -1
- package/sidebar/sidebar.component.d.ts +3 -3
- package/sidepanel/sidepanel-directives.d.ts +2 -2
- package/splitter/splitter.component.d.ts +3 -3
- package/tabs/paginated-tab-header.d.ts +3 -3
- package/tabs/tab-body.component.d.ts +3 -3
- package/tabs/tab-group.component.d.ts +2 -2
- package/tabs/tab-header.component.d.ts +2 -2
- package/tabs/tab-label-wrapper.directive.d.ts +1 -1
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +1 -1
- package/tabs/tab.component.d.ts +1 -1
- package/tags/tag-input.d.ts +1 -1
- package/tags/tag-list.component.d.ts +1 -1
- package/tags/tag.component.d.ts +1 -1
- package/textarea/textarea.component.d.ts +1 -1
- package/timepicker/timepicker.directive.d.ts +1 -1
- package/timezone/timezone-option.component.d.ts +1 -1
- package/toast/toast.type.d.ts +1 -1
- package/toggle/toggle.component.d.ts +2 -2
- package/tooltip/tooltip.component.d.ts +3 -3
- package/tree/node.d.ts +1 -1
- package/tree/padding.directive.d.ts +1 -1
- package/tree/toggle.d.ts +2 -2
- package/tree/tree-base.d.ts +1 -1
- package/tree/tree-option.component.d.ts +1 -1
- package/tree/tree-option.scss +4 -2
- package/tree/tree-selection.component.d.ts +1 -1
- package/tree-select/tree-select.component.d.ts +1 -1
- package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +0 -552
- package/esm2020/button/button.component.mjs +0 -148
- package/esm2020/button-toggle/button-toggle.component.mjs +0 -381
- package/esm2020/card/card.component.mjs +0 -80
- package/esm2020/checkbox/checkbox.mjs +0 -300
- package/esm2020/code-block/code-block.component.mjs +0 -157
- package/esm2020/code-block/code-block.module.mjs +0 -60
- package/esm2020/core/common-behaviors/color.mjs +0 -33
- package/esm2020/core/formatters/index.mjs +0 -78
- package/esm2020/core/formatters/number/formatter.mjs +0 -129
- package/esm2020/core/locales/en-US.mjs +0 -10
- package/esm2020/core/locales/es-LA.mjs +0 -6
- package/esm2020/core/locales/fa-IR.mjs +0 -6
- package/esm2020/core/locales/pt-BR.mjs +0 -6
- package/esm2020/core/locales/ru-RU.mjs +0 -10
- package/esm2020/core/locales/zh-CN.mjs +0 -6
- package/esm2020/core/option/option.mjs +0 -262
- package/esm2020/core/overlay/overlay-position-map.mjs +0 -245
- package/esm2020/core/services/measure-scrollbar.service.mjs +0 -48
- package/esm2020/datepicker/calendar-header.component.mjs +0 -134
- package/esm2020/datepicker/calendar.component.mjs +0 -175
- package/esm2020/datepicker/datepicker-input.directive.mjs +0 -954
- package/esm2020/datepicker/datepicker-toggle.component.mjs +0 -86
- package/esm2020/datepicker/datepicker.component.mjs +0 -393
- package/esm2020/datepicker/month-view.component.mjs +0 -158
- package/esm2020/dropdown/dropdown-trigger.directive.mjs +0 -489
- package/esm2020/dropdown/dropdown.component.mjs +0 -292
- package/esm2020/ellipsis-center/ellipsis-center.directive.mjs +0 -106
- package/esm2020/file-upload/multiple-file-upload.component.mjs +0 -161
- package/esm2020/file-upload/single-file-upload.component.mjs +0 -130
- package/esm2020/form-field/form-field.mjs +0 -267
- package/esm2020/form-field/validate.directive.mjs +0 -158
- package/esm2020/input/input-number.mjs +0 -168
- package/esm2020/input/input-password.mjs +0 -343
- package/esm2020/input/input.mjs +0 -297
- package/esm2020/link/link.component.mjs +0 -122
- package/esm2020/list/list-selection.component.mjs +0 -705
- package/esm2020/loader-overlay/loader-overlay.component.mjs +0 -103
- package/esm2020/modal/modal-control.service.mjs +0 -85
- package/esm2020/modal/modal.component.mjs +0 -510
- package/esm2020/modal/modal.module.mjs +0 -71
- package/esm2020/navbar/navbar-item.component.mjs +0 -606
- package/esm2020/navbar/navbar.component.mjs +0 -239
- package/esm2020/popover/popover-confirm.component.mjs +0 -108
- package/esm2020/popover/popover.component.mjs +0 -266
- package/esm2020/radio/radio.component.mjs +0 -457
- package/esm2020/select/select-option.directive.mjs +0 -65
- package/esm2020/select/select.component.mjs +0 -1146
- package/esm2020/sidebar/sidebar.component.mjs +0 -146
- package/esm2020/sidepanel/sidepanel-container.component.mjs +0 -110
- package/esm2020/splitter/splitter.component.mjs +0 -482
- package/esm2020/tabs/paginated-tab-header.mjs +0 -488
- package/esm2020/tabs/tab-body.component.mjs +0 -179
- package/esm2020/tabs/tab-group.component.mjs +0 -349
- package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +0 -111
- package/esm2020/tags/tag-input.mjs +0 -250
- package/esm2020/tags/tag-list.component.mjs +0 -718
- package/esm2020/tags/tag.component.mjs +0 -381
- package/esm2020/tags/tag.module.mjs +0 -56
- package/esm2020/textarea/textarea.component.mjs +0 -254
- package/esm2020/timepicker/timepicker.directive.mjs +0 -647
- package/esm2020/timezone/timezone-option.component.mjs +0 -48
- package/esm2020/title/title.directive.mjs +0 -107
- package/esm2020/toast/toast.component.mjs +0 -92
- package/esm2020/toast/toast.module.mjs +0 -42
- package/esm2020/toast/toast.service.mjs +0 -188
- package/esm2020/toggle/toggle.component.mjs +0 -156
- package/esm2020/tooltip/tooltip.component.mjs +0 -299
- package/esm2020/tree/data-source/flat-data-source.mjs +0 -162
- package/esm2020/tree/padding.directive.mjs +0 -113
- package/esm2020/tree/toggle.mjs +0 -81
- package/esm2020/tree/tree-base.mjs +0 -243
- package/esm2020/tree/tree-option.component.mjs +0 -300
- package/esm2020/tree/tree-selection.component.mjs +0 -557
- package/esm2020/tree-select/tree-select.component.mjs +0 -936
- package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +0 -753
- package/fesm2015/ptsecurity-mosaic-autocomplete.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +0 -405
- package/fesm2015/ptsecurity-mosaic-button-toggle.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-button.mjs +0 -193
- package/fesm2015/ptsecurity-mosaic-button.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-card.mjs +0 -111
- package/fesm2015/ptsecurity-mosaic-card.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-checkbox.mjs +0 -351
- package/fesm2015/ptsecurity-mosaic-checkbox.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-code-block.mjs +0 -280
- package/fesm2015/ptsecurity-mosaic-code-block.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-core.mjs +0 -2314
- package/fesm2015/ptsecurity-mosaic-core.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-datepicker.mjs +0 -2112
- package/fesm2015/ptsecurity-mosaic-datepicker.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-divider.mjs +0 -61
- package/fesm2015/ptsecurity-mosaic-divider.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-dl.mjs +0 -126
- package/fesm2015/ptsecurity-mosaic-dl.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-dropdown.mjs +0 -1115
- package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-ellipsis-center.mjs +0 -113
- package/fesm2015/ptsecurity-mosaic-ellipsis-center.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-file-upload.mjs +0 -392
- package/fesm2015/ptsecurity-mosaic-file-upload.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-form-field.mjs +0 -772
- package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-icon.mjs +0 -86
- package/fesm2015/ptsecurity-mosaic-icon.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-input.mjs +0 -951
- package/fesm2015/ptsecurity-mosaic-input.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-link.mjs +0 -150
- package/fesm2015/ptsecurity-mosaic-link.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-list.mjs +0 -807
- package/fesm2015/ptsecurity-mosaic-list.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs +0 -157
- package/fesm2015/ptsecurity-mosaic-markdown.mjs +0 -128
- package/fesm2015/ptsecurity-mosaic-markdown.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-modal.mjs +0 -875
- package/fesm2015/ptsecurity-mosaic-modal.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-navbar.mjs +0 -1055
- package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-popover.mjs +0 -411
- package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +0 -74
- package/fesm2015/ptsecurity-mosaic-progress-bar.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +0 -93
- package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-radio.mjs +0 -481
- package/fesm2015/ptsecurity-mosaic-select.mjs +0 -1286
- package/fesm2015/ptsecurity-mosaic-select.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-sidebar.mjs +0 -202
- package/fesm2015/ptsecurity-mosaic-sidebar.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +0 -622
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-splitter.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-table.mjs +0 -45
- package/fesm2015/ptsecurity-mosaic-table.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-tabs.mjs +0 -1523
- package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-tags.mjs +0 -1397
- package/fesm2015/ptsecurity-mosaic-tags.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-textarea.mjs +0 -280
- package/fesm2015/ptsecurity-mosaic-timepicker.mjs +0 -708
- package/fesm2015/ptsecurity-mosaic-timepicker.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-timezone.mjs +0 -316
- package/fesm2015/ptsecurity-mosaic-timezone.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-title.mjs +0 -128
- package/fesm2015/ptsecurity-mosaic-title.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-toast.mjs +0 -379
- package/fesm2015/ptsecurity-mosaic-toast.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-toggle.mjs +0 -178
- package/fesm2015/ptsecurity-mosaic-toggle.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs +0 -369
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs +0 -983
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +0 -1
- package/fesm2015/ptsecurity-mosaic-tree.mjs +0 -1816
- package/fesm2015/ptsecurity-mosaic-tree.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-autocomplete.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-core.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-file-upload.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-icon.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs +0 -155
- package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-modal.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-popover.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-radio.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-select.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-splitter.mjs +0 -524
- package/fesm2020/ptsecurity-mosaic-table.mjs +0 -45
- package/fesm2020/ptsecurity-mosaic-table.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-textarea.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-title.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-tree.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic.mjs +0 -4
- package/fesm2020/ptsecurity-mosaic.mjs.map +0 -1
- /package/{esm2020 → esm2022}/autocomplete/index.mjs +0 -0
- /package/{esm2020 → esm2022}/autocomplete/ptsecurity-mosaic-autocomplete.mjs +0 -0
- /package/{esm2020 → esm2022}/autocomplete/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/button/index.mjs +0 -0
- /package/{esm2020 → esm2022}/button/ptsecurity-mosaic-button.mjs +0 -0
- /package/{esm2020 → esm2022}/button/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/button-toggle/index.mjs +0 -0
- /package/{esm2020 → esm2022}/button-toggle/ptsecurity-mosaic-button-toggle.mjs +0 -0
- /package/{esm2020 → esm2022}/button-toggle/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/card/index.mjs +0 -0
- /package/{esm2020 → esm2022}/card/ptsecurity-mosaic-card.mjs +0 -0
- /package/{esm2020 → esm2022}/card/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/checkbox-config.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/index.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/ptsecurity-mosaic-checkbox.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/code-block/code-block.types.mjs +0 -0
- /package/{esm2020 → esm2022}/code-block/index.mjs +0 -0
- /package/{esm2020 → esm2022}/code-block/ptsecurity-mosaic-code-block.mjs +0 -0
- /package/{esm2020 → esm2022}/code-block/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/animation/animation.mjs +0 -0
- /package/{esm2020 → esm2022}/core/animation/fade-animations.mjs +0 -0
- /package/{esm2020 → esm2022}/core/animation/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/animation/select-animations.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common-behaviors/constructor.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common-behaviors/error-state.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common-behaviors/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/datetime/date-adapter.mjs +0 -0
- /package/{esm2020 → esm2022}/core/datetime/date-formats.mjs +0 -0
- /package/{esm2020 → esm2022}/core/datetime/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/forms/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/label/label-options.mjs +0 -0
- /package/{esm2020 → esm2022}/core/locales/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/option/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/pop-up/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/core/pop-up/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/ptsecurity-mosaic-core.mjs +0 -0
- /package/{esm2020 → esm2022}/core/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/select/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/core/select/errors.mjs +0 -0
- /package/{esm2020 → esm2022}/core/select/events.mjs +0 -0
- /package/{esm2020 → esm2022}/core/select/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/selection/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/core/selection/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/title/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/title/title-text-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/core/utils/data-size/config.mjs +0 -0
- /package/{esm2020 → esm2022}/core/utils/data-size/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/utils/data-size/size.mjs +0 -0
- /package/{esm2020 → esm2022}/core/utils/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/utils/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/utils/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/core/validation/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/validation/validation.mjs +0 -0
- /package/{esm2020 → esm2022}/datepicker/datepicker-animations.mjs +0 -0
- /package/{esm2020 → esm2022}/datepicker/datepicker-errors.mjs +0 -0
- /package/{esm2020 → esm2022}/datepicker/index.mjs +0 -0
- /package/{esm2020 → esm2022}/datepicker/ptsecurity-mosaic-datepicker.mjs +0 -0
- /package/{esm2020 → esm2022}/datepicker/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/divider/index.mjs +0 -0
- /package/{esm2020 → esm2022}/divider/ptsecurity-mosaic-divider.mjs +0 -0
- /package/{esm2020 → esm2022}/divider/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/dl/index.mjs +0 -0
- /package/{esm2020 → esm2022}/dl/ptsecurity-mosaic-dl.mjs +0 -0
- /package/{esm2020 → esm2022}/dl/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/dropdown/dropdown-animations.mjs +0 -0
- /package/{esm2020 → esm2022}/dropdown/dropdown-errors.mjs +0 -0
- /package/{esm2020 → esm2022}/dropdown/dropdown.types.mjs +0 -0
- /package/{esm2020 → esm2022}/dropdown/index.mjs +0 -0
- /package/{esm2020 → esm2022}/dropdown/ptsecurity-mosaic-dropdown.mjs +0 -0
- /package/{esm2020 → esm2022}/dropdown/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/ellipsis-center/index.mjs +0 -0
- /package/{esm2020 → esm2022}/ellipsis-center/ptsecurity-mosaic-ellipsis-center.mjs +0 -0
- /package/{esm2020 → esm2022}/ellipsis-center/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/file-upload/file-upload.mjs +0 -0
- /package/{esm2020 → esm2022}/file-upload/index.mjs +0 -0
- /package/{esm2020 → esm2022}/file-upload/ptsecurity-mosaic-file-upload.mjs +0 -0
- /package/{esm2020 → esm2022}/file-upload/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/form-field/form-field-control.mjs +0 -0
- /package/{esm2020 → esm2022}/form-field/form-field-errors.mjs +0 -0
- /package/{esm2020 → esm2022}/form-field/index.mjs +0 -0
- /package/{esm2020 → esm2022}/form-field/ptsecurity-mosaic-form-field.mjs +0 -0
- /package/{esm2020 → esm2022}/form-field/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/icon/index.mjs +0 -0
- /package/{esm2020 → esm2022}/icon/ptsecurity-mosaic-icon.mjs +0 -0
- /package/{esm2020 → esm2022}/icon/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/input/index.mjs +0 -0
- /package/{esm2020 → esm2022}/input/input-errors.mjs +0 -0
- /package/{esm2020 → esm2022}/input/input-value-accessor.mjs +0 -0
- /package/{esm2020 → esm2022}/input/ptsecurity-mosaic-input.mjs +0 -0
- /package/{esm2020 → esm2022}/input/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/link/index.mjs +0 -0
- /package/{esm2020 → esm2022}/link/ptsecurity-mosaic-link.mjs +0 -0
- /package/{esm2020 → esm2022}/link/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/list/index.mjs +0 -0
- /package/{esm2020 → esm2022}/list/ptsecurity-mosaic-list.mjs +0 -0
- /package/{esm2020 → esm2022}/list/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/loader-overlay/index.mjs +0 -0
- /package/{esm2020 → esm2022}/loader-overlay/ptsecurity-mosaic-loader-overlay.mjs +0 -0
- /package/{esm2020 → esm2022}/loader-overlay/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/markdown/index.mjs +0 -0
- /package/{esm2020 → esm2022}/markdown/markdown.values.mjs +0 -0
- /package/{esm2020 → esm2022}/markdown/ptsecurity-mosaic-markdown.mjs +0 -0
- /package/{esm2020 → esm2022}/markdown/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/modal/index.mjs +0 -0
- /package/{esm2020 → esm2022}/modal/modal-ref.class.mjs +0 -0
- /package/{esm2020 → esm2022}/modal/modal-util.mjs +0 -0
- /package/{esm2020 → esm2022}/modal/modal.type.mjs +0 -0
- /package/{esm2020 → esm2022}/modal/ptsecurity-mosaic-modal.mjs +0 -0
- /package/{esm2020 → esm2022}/modal/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/navbar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/navbar/ptsecurity-mosaic-navbar.mjs +0 -0
- /package/{esm2020 → esm2022}/navbar/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/navbar/vertical-navbar.animation.mjs +0 -0
- /package/{esm2020 → esm2022}/popover/index.mjs +0 -0
- /package/{esm2020 → esm2022}/popover/popover-animations.mjs +0 -0
- /package/{esm2020 → esm2022}/popover/ptsecurity-mosaic-popover.mjs +0 -0
- /package/{esm2020 → esm2022}/popover/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-bar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-bar/ptsecurity-mosaic-progress-bar.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-bar/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-spinner/index.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-spinner/ptsecurity-mosaic-progress-spinner.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-spinner/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/ptsecurity-mosaic.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/index.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/ptsecurity-mosaic-radio.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/select/index.mjs +0 -0
- /package/{esm2020 → esm2022}/select/ptsecurity-mosaic-select.mjs +0 -0
- /package/{esm2020 → esm2022}/select/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/sidebar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/sidebar/ptsecurity-mosaic-sidebar.mjs +0 -0
- /package/{esm2020 → esm2022}/sidebar/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/sidebar/sidebar-animations.mjs +0 -0
- /package/{esm2020 → esm2022}/sidepanel/index.mjs +0 -0
- /package/{esm2020 → esm2022}/sidepanel/ptsecurity-mosaic-sidepanel.mjs +0 -0
- /package/{esm2020 → esm2022}/sidepanel/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/sidepanel/sidepanel-animations.mjs +0 -0
- /package/{esm2020 → esm2022}/sidepanel/sidepanel-config.mjs +0 -0
- /package/{esm2020 → esm2022}/sidepanel/sidepanel-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/splitter/index.mjs +0 -0
- /package/{esm2020 → esm2022}/splitter/ptsecurity-mosaic-splitter.mjs +0 -0
- /package/{esm2020 → esm2022}/splitter/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/table/index.mjs +0 -0
- /package/{esm2020 → esm2022}/table/ptsecurity-mosaic-table.mjs +0 -0
- /package/{esm2020 → esm2022}/table/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/tabs/index.mjs +0 -0
- /package/{esm2020 → esm2022}/tabs/ptsecurity-mosaic-tabs.mjs +0 -0
- /package/{esm2020 → esm2022}/tabs/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/tabs/tab-nav-bar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/tabs/tabs-animations.mjs +0 -0
- /package/{esm2020 → esm2022}/tags/index.mjs +0 -0
- /package/{esm2020 → esm2022}/tags/ptsecurity-mosaic-tags.mjs +0 -0
- /package/{esm2020 → esm2022}/tags/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/tags/tag-default-options.mjs +0 -0
- /package/{esm2020 → esm2022}/tags/tag-text-control.mjs +0 -0
- /package/{esm2020 → esm2022}/textarea/index.mjs +0 -0
- /package/{esm2020 → esm2022}/textarea/ptsecurity-mosaic-textarea.mjs +0 -0
- /package/{esm2020 → esm2022}/textarea/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/timepicker/index.mjs +0 -0
- /package/{esm2020 → esm2022}/timepicker/ptsecurity-mosaic-timepicker.mjs +0 -0
- /package/{esm2020 → esm2022}/timepicker/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/timepicker/timepicker.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/timezone/index.mjs +0 -0
- /package/{esm2020 → esm2022}/timezone/ptsecurity-mosaic-timezone.mjs +0 -0
- /package/{esm2020 → esm2022}/timezone/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/timezone/timezone.models.mjs +0 -0
- /package/{esm2020 → esm2022}/timezone/timezone.utils.mjs +0 -0
- /package/{esm2020 → esm2022}/title/index.mjs +0 -0
- /package/{esm2020 → esm2022}/title/ptsecurity-mosaic-title.mjs +0 -0
- /package/{esm2020 → esm2022}/title/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/toast/index.mjs +0 -0
- /package/{esm2020 → esm2022}/toast/ptsecurity-mosaic-toast.mjs +0 -0
- /package/{esm2020 → esm2022}/toast/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/toast/toast-animations.mjs +0 -0
- /package/{esm2020 → esm2022}/toast/toast.type.mjs +0 -0
- /package/{esm2020 → esm2022}/toggle/index.mjs +0 -0
- /package/{esm2020 → esm2022}/toggle/ptsecurity-mosaic-toggle.mjs +0 -0
- /package/{esm2020 → esm2022}/toggle/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/index.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/ptsecurity-mosaic-tooltip.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/tooltip.animations.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/control/base-tree-control.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/control/flat-tree-control.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/control/nested-tree-control.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/control/tree-control.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/data-source/nested-data-source.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/index.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/ptsecurity-mosaic-tree.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/tree-errors.mjs +0 -0
- /package/{esm2020 → esm2022}/tree-select/index.mjs +0 -0
- /package/{esm2020 → esm2022}/tree-select/ptsecurity-mosaic-tree-select.mjs +0 -0
- /package/{esm2020 → esm2022}/tree-select/public-api.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ptsecurity-mosaic.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ptsecurity-mosaic.mjs.map +0 -0
@@ -140,11 +140,11 @@ class McCommonModule {
|
|
140
140
|
this._document.body.removeChild(testElement);
|
141
141
|
}
|
142
142
|
}
|
143
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McCommonModule, deps: [{ token: MC_SANITY_CHECKS, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
144
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McCommonModule, imports: [BidiModule], exports: [BidiModule] }); }
|
145
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McCommonModule, imports: [BidiModule, BidiModule] }); }
|
143
146
|
}
|
144
|
-
|
145
|
-
/** @nocollapse */ McCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: McCommonModule, imports: [BidiModule], exports: [BidiModule] });
|
146
|
-
/** @nocollapse */ McCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McCommonModule, imports: [BidiModule, BidiModule] });
|
147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McCommonModule, decorators: [{
|
147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McCommonModule, decorators: [{
|
148
148
|
type: NgModule,
|
149
149
|
args: [{
|
150
150
|
imports: [BidiModule],
|
@@ -159,17 +159,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
159
159
|
|
160
160
|
function mixinDisabled(base) {
|
161
161
|
return class extends base {
|
162
|
-
constructor(...args) {
|
163
|
-
// tslint:disable-next-line
|
164
|
-
super(...args);
|
165
|
-
this._disabled = false;
|
166
|
-
}
|
167
162
|
get disabled() {
|
168
163
|
return this._disabled;
|
169
164
|
}
|
170
165
|
set disabled(value) {
|
171
166
|
this._disabled = coerceBooleanProperty(value);
|
172
167
|
}
|
168
|
+
constructor(...args) {
|
169
|
+
// tslint:disable-next-line
|
170
|
+
super(...args);
|
171
|
+
this._disabled = false;
|
172
|
+
}
|
173
173
|
};
|
174
174
|
}
|
175
175
|
|
@@ -186,10 +186,6 @@ var ThemePalette;
|
|
186
186
|
})(ThemePalette || (ThemePalette = {}));
|
187
187
|
function mixinColor(base, defaultColor = ThemePalette.Default) {
|
188
188
|
return class extends base {
|
189
|
-
constructor(...args) {
|
190
|
-
super(...args);
|
191
|
-
this.color = defaultColor;
|
192
|
-
}
|
193
189
|
get color() { return this._color; }
|
194
190
|
set color(value) {
|
195
191
|
const colorPalette = value || defaultColor;
|
@@ -203,16 +199,15 @@ function mixinColor(base, defaultColor = ThemePalette.Default) {
|
|
203
199
|
this._color = colorPalette;
|
204
200
|
}
|
205
201
|
}
|
202
|
+
constructor(...args) {
|
203
|
+
super(...args);
|
204
|
+
this.color = defaultColor;
|
205
|
+
}
|
206
206
|
};
|
207
207
|
}
|
208
208
|
|
209
209
|
function mixinTabIndex(base, defaultTabIndex = 0) {
|
210
210
|
return class extends base {
|
211
|
-
constructor(...args) {
|
212
|
-
super(...args);
|
213
|
-
this.defaultTabIndex = defaultTabIndex;
|
214
|
-
this._tabIndex = defaultTabIndex;
|
215
|
-
}
|
216
211
|
get tabIndex() {
|
217
212
|
return this.disabled ? -1 : this._tabIndex;
|
218
213
|
}
|
@@ -220,6 +215,11 @@ function mixinTabIndex(base, defaultTabIndex = 0) {
|
|
220
215
|
// If the specified tabIndex value is null or undefined, fall back to the default value.
|
221
216
|
this._tabIndex = value != null ? coerceNumberProperty(value) : this.defaultTabIndex;
|
222
217
|
}
|
218
|
+
constructor(...args) {
|
219
|
+
super(...args);
|
220
|
+
this.defaultTabIndex = defaultTabIndex;
|
221
|
+
this._tabIndex = defaultTabIndex;
|
222
|
+
}
|
223
223
|
};
|
224
224
|
}
|
225
225
|
|
@@ -264,10 +264,10 @@ class ShowOnDirtyErrorStateMatcher {
|
|
264
264
|
isErrorState(control, form) {
|
265
265
|
return !!(control && control.invalid && (control.dirty || (form && form.submitted)));
|
266
266
|
}
|
267
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ShowOnDirtyErrorStateMatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
268
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ShowOnDirtyErrorStateMatcher }); }
|
267
269
|
}
|
268
|
-
|
269
|
-
/** @nocollapse */ ShowOnDirtyErrorStateMatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ShowOnDirtyErrorStateMatcher });
|
270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ShowOnDirtyErrorStateMatcher, decorators: [{
|
270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ShowOnDirtyErrorStateMatcher, decorators: [{
|
271
271
|
type: Injectable
|
272
272
|
}] });
|
273
273
|
/** Provider that defines how form controls behave with regards to displaying error messages. */
|
@@ -275,10 +275,10 @@ class ErrorStateMatcher {
|
|
275
275
|
isErrorState(control, form) {
|
276
276
|
return !!(control && control.invalid && (control.touched || (form && form.submitted)));
|
277
277
|
}
|
278
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ErrorStateMatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
279
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ErrorStateMatcher, providedIn: 'root' }); }
|
278
280
|
}
|
279
|
-
|
280
|
-
/** @nocollapse */ ErrorStateMatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ErrorStateMatcher, providedIn: 'root' });
|
281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ErrorStateMatcher, decorators: [{
|
281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ErrorStateMatcher, decorators: [{
|
282
282
|
type: Injectable,
|
283
283
|
args: [{ providedIn: 'root' }]
|
284
284
|
}] });
|
@@ -288,10 +288,10 @@ class DateFormatter extends DateFormatter$1 {
|
|
288
288
|
super(adapter, locale);
|
289
289
|
this.adapter = adapter;
|
290
290
|
}
|
291
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: DateFormatter, deps: [{ token: i1.DateAdapter }, { token: MC_DATE_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
292
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: DateFormatter }); }
|
291
293
|
}
|
292
|
-
|
293
|
-
/** @nocollapse */ DateFormatter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DateFormatter });
|
294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DateFormatter, decorators: [{
|
294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: DateFormatter, decorators: [{
|
295
295
|
type: Injectable
|
296
296
|
}], ctorParameters: function () { return [{ type: i1.DateAdapter }, { type: undefined, decorators: [{
|
297
297
|
type: Inject,
|
@@ -307,10 +307,10 @@ class AbsoluteDateFormatterPipe {
|
|
307
307
|
const date = this.adapter.deserialize(value);
|
308
308
|
return date ? this.formatter.absoluteLongDate(date, currYear) : '';
|
309
309
|
}
|
310
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AbsoluteDateFormatterPipe, deps: [{ token: DateAdapter }, { token: DateFormatter }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
311
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: AbsoluteDateFormatterPipe, name: "absoluteLongDate" }); }
|
310
312
|
}
|
311
|
-
|
312
|
-
/** @nocollapse */ AbsoluteDateFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: AbsoluteDateFormatterPipe, name: "absoluteLongDate" });
|
313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AbsoluteDateFormatterPipe, decorators: [{
|
313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AbsoluteDateFormatterPipe, decorators: [{
|
314
314
|
type: Pipe,
|
315
315
|
args: [{ name: 'absoluteLongDate' }]
|
316
316
|
}], ctorParameters: function () { return [{ type: DateAdapter }, { type: DateFormatter }]; } });
|
@@ -323,10 +323,10 @@ class AbsoluteDateTimeFormatterPipe {
|
|
323
323
|
const date = this.adapter.deserialize(value);
|
324
324
|
return date ? this.formatter.absoluteLongDateTime(date, options) : '';
|
325
325
|
}
|
326
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AbsoluteDateTimeFormatterPipe, deps: [{ token: DateAdapter }, { token: DateFormatter }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
327
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: AbsoluteDateTimeFormatterPipe, name: "absoluteLongDateTime" }); }
|
326
328
|
}
|
327
|
-
|
328
|
-
/** @nocollapse */ AbsoluteDateTimeFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: AbsoluteDateTimeFormatterPipe, name: "absoluteLongDateTime" });
|
329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AbsoluteDateTimeFormatterPipe, decorators: [{
|
329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AbsoluteDateTimeFormatterPipe, decorators: [{
|
330
330
|
type: Pipe,
|
331
331
|
args: [{ name: 'absoluteLongDateTime' }]
|
332
332
|
}], ctorParameters: function () { return [{ type: DateAdapter }, { type: DateFormatter }]; } });
|
@@ -339,10 +339,10 @@ class AbsoluteDateShortFormatterPipe {
|
|
339
339
|
const date = this.adapter.deserialize(value);
|
340
340
|
return date ? this.formatter.absoluteShortDate(date, currYear) : '';
|
341
341
|
}
|
342
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AbsoluteDateShortFormatterPipe, deps: [{ token: DateAdapter }, { token: DateFormatter }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
343
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: AbsoluteDateShortFormatterPipe, name: "absoluteShortDate" }); }
|
342
344
|
}
|
343
|
-
|
344
|
-
/** @nocollapse */ AbsoluteDateShortFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: AbsoluteDateShortFormatterPipe, name: "absoluteShortDate" });
|
345
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AbsoluteDateShortFormatterPipe, decorators: [{
|
345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AbsoluteDateShortFormatterPipe, decorators: [{
|
346
346
|
type: Pipe,
|
347
347
|
args: [{ name: 'absoluteShortDate' }]
|
348
348
|
}], ctorParameters: function () { return [{ type: DateAdapter }, { type: DateFormatter }]; } });
|
@@ -355,10 +355,10 @@ class AbsoluteShortDateTimeFormatterPipe {
|
|
355
355
|
const date = this.adapter.deserialize(value);
|
356
356
|
return date ? this.formatter.absoluteShortDateTime(date, options) : '';
|
357
357
|
}
|
358
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AbsoluteShortDateTimeFormatterPipe, deps: [{ token: DateAdapter }, { token: DateFormatter }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
359
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: AbsoluteShortDateTimeFormatterPipe, name: "absoluteShortDateTime" }); }
|
358
360
|
}
|
359
|
-
|
360
|
-
/** @nocollapse */ AbsoluteShortDateTimeFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: AbsoluteShortDateTimeFormatterPipe, name: "absoluteShortDateTime" });
|
361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AbsoluteShortDateTimeFormatterPipe, decorators: [{
|
361
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AbsoluteShortDateTimeFormatterPipe, decorators: [{
|
362
362
|
type: Pipe,
|
363
363
|
args: [{ name: 'absoluteShortDateTime' }]
|
364
364
|
}], ctorParameters: function () { return [{ type: DateAdapter }, { type: DateFormatter }]; } });
|
@@ -371,10 +371,10 @@ class RelativeDateFormatterPipe {
|
|
371
371
|
const date = this.adapter.deserialize(value);
|
372
372
|
return date ? this.formatter.relativeLongDate(date) : '';
|
373
373
|
}
|
374
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RelativeDateFormatterPipe, deps: [{ token: DateAdapter }, { token: DateFormatter }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
375
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: RelativeDateFormatterPipe, name: "relativeLongDate" }); }
|
374
376
|
}
|
375
|
-
|
376
|
-
/** @nocollapse */ RelativeDateFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: RelativeDateFormatterPipe, name: "relativeLongDate" });
|
377
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RelativeDateFormatterPipe, decorators: [{
|
377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RelativeDateFormatterPipe, decorators: [{
|
378
378
|
type: Pipe,
|
379
379
|
args: [{ name: 'relativeLongDate' }]
|
380
380
|
}], ctorParameters: function () { return [{ type: DateAdapter }, { type: DateFormatter }]; } });
|
@@ -387,10 +387,10 @@ class RelativeDateTimeFormatterPipe {
|
|
387
387
|
const date = this.adapter.deserialize(value);
|
388
388
|
return date ? this.formatter.relativeLongDateTime(date, options) : '';
|
389
389
|
}
|
390
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RelativeDateTimeFormatterPipe, deps: [{ token: DateAdapter }, { token: DateFormatter }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
391
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: RelativeDateTimeFormatterPipe, name: "relativeLongDateTime" }); }
|
390
392
|
}
|
391
|
-
|
392
|
-
/** @nocollapse */ RelativeDateTimeFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: RelativeDateTimeFormatterPipe, name: "relativeLongDateTime" });
|
393
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RelativeDateTimeFormatterPipe, decorators: [{
|
393
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RelativeDateTimeFormatterPipe, decorators: [{
|
394
394
|
type: Pipe,
|
395
395
|
args: [{ name: 'relativeLongDateTime' }]
|
396
396
|
}], ctorParameters: function () { return [{ type: DateAdapter }, { type: DateFormatter }]; } });
|
@@ -403,10 +403,10 @@ class RelativeShortDateFormatterPipe {
|
|
403
403
|
const date = this.adapter.deserialize(value);
|
404
404
|
return date ? this.formatter.relativeShortDate(date) : '';
|
405
405
|
}
|
406
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RelativeShortDateFormatterPipe, deps: [{ token: DateAdapter }, { token: DateFormatter }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
407
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: RelativeShortDateFormatterPipe, name: "relativeShortDate" }); }
|
406
408
|
}
|
407
|
-
|
408
|
-
/** @nocollapse */ RelativeShortDateFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: RelativeShortDateFormatterPipe, name: "relativeShortDate" });
|
409
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RelativeShortDateFormatterPipe, decorators: [{
|
409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RelativeShortDateFormatterPipe, decorators: [{
|
410
410
|
type: Pipe,
|
411
411
|
args: [{ name: 'relativeShortDate' }]
|
412
412
|
}], ctorParameters: function () { return [{ type: DateAdapter }, { type: DateFormatter }]; } });
|
@@ -419,10 +419,10 @@ class RelativeShortDateTimeFormatterPipe {
|
|
419
419
|
const date = this.adapter.deserialize(value);
|
420
420
|
return date ? this.formatter.relativeShortDateTime(date, options) : '';
|
421
421
|
}
|
422
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RelativeShortDateTimeFormatterPipe, deps: [{ token: DateAdapter }, { token: DateFormatter }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
423
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: RelativeShortDateTimeFormatterPipe, name: "relativeShortDateTime" }); }
|
422
424
|
}
|
423
|
-
|
424
|
-
/** @nocollapse */ RelativeShortDateTimeFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: RelativeShortDateTimeFormatterPipe, name: "relativeShortDateTime" });
|
425
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RelativeShortDateTimeFormatterPipe, decorators: [{
|
425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RelativeShortDateTimeFormatterPipe, decorators: [{
|
426
426
|
type: Pipe,
|
427
427
|
args: [{ name: 'relativeShortDateTime' }]
|
428
428
|
}], ctorParameters: function () { return [{ type: DateAdapter }, { type: DateFormatter }]; } });
|
@@ -436,10 +436,10 @@ class RangeDateFormatterPipe {
|
|
436
436
|
const date2 = this.adapter.deserialize(value2);
|
437
437
|
return this.formatter.rangeLongDate(date1, date2);
|
438
438
|
}
|
439
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RangeDateFormatterPipe, deps: [{ token: DateAdapter }, { token: DateFormatter }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
440
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: RangeDateFormatterPipe, name: "rangeLongDate" }); }
|
439
441
|
}
|
440
|
-
|
441
|
-
/** @nocollapse */ RangeDateFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: RangeDateFormatterPipe, name: "rangeLongDate" });
|
442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RangeDateFormatterPipe, decorators: [{
|
442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RangeDateFormatterPipe, decorators: [{
|
443
443
|
type: Pipe,
|
444
444
|
args: [{ name: 'rangeLongDate' }]
|
445
445
|
}], ctorParameters: function () { return [{ type: DateAdapter }, { type: DateFormatter }]; } });
|
@@ -453,10 +453,10 @@ class RangeShortDateFormatterPipe {
|
|
453
453
|
const date2 = this.adapter.deserialize(value2);
|
454
454
|
return this.formatter.rangeShortDate(date1, date2);
|
455
455
|
}
|
456
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RangeShortDateFormatterPipe, deps: [{ token: DateAdapter }, { token: DateFormatter }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
457
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: RangeShortDateFormatterPipe, name: "rangeShortDate" }); }
|
456
458
|
}
|
457
|
-
|
458
|
-
/** @nocollapse */ RangeShortDateFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: RangeShortDateFormatterPipe, name: "rangeShortDate" });
|
459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RangeShortDateFormatterPipe, decorators: [{
|
459
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RangeShortDateFormatterPipe, decorators: [{
|
460
460
|
type: Pipe,
|
461
461
|
args: [{ name: 'rangeShortDate' }]
|
462
462
|
}], ctorParameters: function () { return [{ type: DateAdapter }, { type: DateFormatter }]; } });
|
@@ -470,10 +470,10 @@ class RangeDateTimeFormatterPipe {
|
|
470
470
|
const date2 = this.adapter.deserialize(value2);
|
471
471
|
return this.formatter.rangeLongDateTime(date1, date2, options);
|
472
472
|
}
|
473
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RangeDateTimeFormatterPipe, deps: [{ token: DateAdapter }, { token: DateFormatter }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
474
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: RangeDateTimeFormatterPipe, name: "rangeLongDateTime" }); }
|
473
475
|
}
|
474
|
-
|
475
|
-
/** @nocollapse */ RangeDateTimeFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: RangeDateTimeFormatterPipe, name: "rangeLongDateTime" });
|
476
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RangeDateTimeFormatterPipe, decorators: [{
|
476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RangeDateTimeFormatterPipe, decorators: [{
|
477
477
|
type: Pipe,
|
478
478
|
args: [{ name: 'rangeLongDateTime' }]
|
479
479
|
}], ctorParameters: function () { return [{ type: DateAdapter }, { type: DateFormatter }]; } });
|
@@ -487,10 +487,10 @@ class RangeMiddleDateTimeFormatterPipe {
|
|
487
487
|
const date2 = this.adapter.deserialize(value2);
|
488
488
|
return this.formatter.rangeMiddleDateTime(date1, date2, options);
|
489
489
|
}
|
490
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RangeMiddleDateTimeFormatterPipe, deps: [{ token: DateAdapter }, { token: DateFormatter }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
491
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: RangeMiddleDateTimeFormatterPipe, name: "rangeMiddleDateTime" }); }
|
490
492
|
}
|
491
|
-
|
492
|
-
/** @nocollapse */ RangeMiddleDateTimeFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: RangeMiddleDateTimeFormatterPipe, name: "rangeMiddleDateTime" });
|
493
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RangeMiddleDateTimeFormatterPipe, decorators: [{
|
493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RangeMiddleDateTimeFormatterPipe, decorators: [{
|
494
494
|
type: Pipe,
|
495
495
|
args: [{ name: 'rangeMiddleDateTime' }]
|
496
496
|
}], ctorParameters: function () { return [{ type: DateAdapter }, { type: DateFormatter }]; } });
|
@@ -504,68 +504,174 @@ class RangeShortDateTimeFormatterPipe {
|
|
504
504
|
const date2 = this.adapter.deserialize(value2);
|
505
505
|
return this.formatter.rangeShortDateTime(date1, date2, options);
|
506
506
|
}
|
507
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RangeShortDateTimeFormatterPipe, deps: [{ token: DateAdapter }, { token: DateFormatter }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
508
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: RangeShortDateTimeFormatterPipe, name: "rangeShortDateTime" }); }
|
507
509
|
}
|
508
|
-
|
509
|
-
/** @nocollapse */ RangeShortDateTimeFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: RangeShortDateTimeFormatterPipe, name: "rangeShortDateTime" });
|
510
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RangeShortDateTimeFormatterPipe, decorators: [{
|
510
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: RangeShortDateTimeFormatterPipe, decorators: [{
|
511
511
|
type: Pipe,
|
512
512
|
args: [{ name: 'rangeShortDateTime' }]
|
513
513
|
}], ctorParameters: function () { return [{ type: DateAdapter }, { type: DateFormatter }]; } });
|
514
514
|
|
515
515
|
const enUSLocaleData = {
|
516
|
-
en: {
|
516
|
+
'en-US': {
|
517
517
|
select: { hiddenItemsText: 'one more' },
|
518
518
|
datepicker: {
|
519
|
-
placeholder: 'dd/mm/yyyy'
|
520
|
-
|
519
|
+
placeholder: 'dd/mm/yyyy'
|
520
|
+
},
|
521
|
+
formatters: {
|
522
|
+
number: {
|
523
|
+
rounding: {
|
524
|
+
separator: '',
|
525
|
+
groupSeparator: '.',
|
526
|
+
thousand: 'K',
|
527
|
+
million: 'M',
|
528
|
+
billion: 'B',
|
529
|
+
trillion: 'T'
|
530
|
+
}
|
531
|
+
}
|
521
532
|
}
|
522
533
|
}
|
523
534
|
};
|
524
535
|
|
525
536
|
const esLALocaleData = {
|
526
537
|
'es-LA': {
|
527
|
-
select: { hiddenItemsText: 'más' }
|
538
|
+
select: { hiddenItemsText: 'más' },
|
539
|
+
datepicker: {
|
540
|
+
placeholder: 'dd/mm/aaaa'
|
541
|
+
},
|
542
|
+
timepicker: {
|
543
|
+
placeholder: {
|
544
|
+
full: 'hh:mm:ss',
|
545
|
+
short: 'hh:mm'
|
546
|
+
}
|
547
|
+
},
|
548
|
+
formatters: {
|
549
|
+
number: {
|
550
|
+
rounding: {
|
551
|
+
separator: '',
|
552
|
+
groupSeparator: ',',
|
553
|
+
thousand: 'K',
|
554
|
+
million: 'M',
|
555
|
+
billion: 'MRD',
|
556
|
+
trillion: 'B'
|
557
|
+
}
|
558
|
+
}
|
559
|
+
}
|
528
560
|
}
|
529
561
|
};
|
530
562
|
|
531
563
|
const faIRLocaleData = {
|
532
564
|
'fa-IR': {
|
533
|
-
select: { hiddenItemsText: 'أكثر' }
|
565
|
+
select: { hiddenItemsText: 'أكثر' },
|
566
|
+
datepicker: {
|
567
|
+
placeholder: 'روز/ ماه/سال'
|
568
|
+
},
|
569
|
+
timepicker: {
|
570
|
+
placeholder: {
|
571
|
+
full: 'ثانیه:دقیقه:ساعت',
|
572
|
+
short: 'دقیقه:ساعت'
|
573
|
+
}
|
574
|
+
},
|
575
|
+
formatters: {
|
576
|
+
number: {
|
577
|
+
rounding: {
|
578
|
+
separator: ' ',
|
579
|
+
groupSeparator: '٫',
|
580
|
+
thousand: 'هزار',
|
581
|
+
million: 'میلیون',
|
582
|
+
billion: 'م',
|
583
|
+
trillion: 'تریلیون',
|
584
|
+
rtl: true
|
585
|
+
}
|
586
|
+
}
|
587
|
+
}
|
534
588
|
}
|
535
589
|
};
|
536
590
|
|
537
591
|
const ptBRLocaleData = {
|
538
592
|
'pt-BR': {
|
539
|
-
select: { hiddenItemsText: 'mais' }
|
593
|
+
select: { hiddenItemsText: 'mais' },
|
594
|
+
datepicker: {
|
595
|
+
placeholder: 'dd/mm/yyyy'
|
596
|
+
},
|
597
|
+
timepicker: {
|
598
|
+
placeholder: {
|
599
|
+
full: 'hh:mm:ss',
|
600
|
+
short: 'hh:mm'
|
601
|
+
}
|
602
|
+
},
|
603
|
+
formatters: {
|
604
|
+
number: {
|
605
|
+
rounding: {
|
606
|
+
separator: ' ',
|
607
|
+
groupSeparator: ',',
|
608
|
+
thousand: 'mil',
|
609
|
+
million: 'mi',
|
610
|
+
billion: 'bi',
|
611
|
+
trillion: 'tri'
|
612
|
+
}
|
613
|
+
}
|
614
|
+
}
|
540
615
|
}
|
541
616
|
};
|
542
617
|
|
543
618
|
const ruRULocaleData = {
|
544
|
-
ru: {
|
619
|
+
'ru-RU': {
|
545
620
|
select: { hiddenItemsText: 'еще' },
|
546
621
|
datepicker: {
|
547
|
-
placeholder: 'дд.мм.гггг'
|
548
|
-
|
622
|
+
placeholder: 'дд.мм.гггг'
|
623
|
+
},
|
624
|
+
formatters: {
|
625
|
+
number: {
|
626
|
+
rounding: {
|
627
|
+
separator: ' ',
|
628
|
+
groupSeparator: ',',
|
629
|
+
thousand: 'К',
|
630
|
+
million: 'М',
|
631
|
+
billion: 'М',
|
632
|
+
trillion: 'Т'
|
633
|
+
}
|
634
|
+
}
|
549
635
|
}
|
550
636
|
}
|
551
637
|
};
|
552
638
|
|
553
639
|
const znCNLocaleData = {
|
554
640
|
'zh-CN': {
|
555
|
-
select: { hiddenItemsText: '更多的' }
|
641
|
+
select: { hiddenItemsText: '更多的' },
|
642
|
+
datepicker: {
|
643
|
+
placeholder: '年/月/日'
|
644
|
+
},
|
645
|
+
timepicker: {
|
646
|
+
placeholder: {
|
647
|
+
full: '时:分:秒',
|
648
|
+
short: '时:分'
|
649
|
+
}
|
650
|
+
},
|
651
|
+
formatters: {
|
652
|
+
number: {
|
653
|
+
rounding: {
|
654
|
+
separator: ' ',
|
655
|
+
groupSeparator: '.',
|
656
|
+
tenThousand: '万',
|
657
|
+
oneHundredMillions: '亿',
|
658
|
+
trillion: '兆'
|
659
|
+
}
|
660
|
+
}
|
661
|
+
}
|
556
662
|
}
|
557
663
|
};
|
558
664
|
|
559
665
|
const MC_LOCALE_ID$1 = new InjectionToken('McLocaleId');
|
560
|
-
const MC_DEFAULT_LOCALE_ID = 'ru';
|
666
|
+
const MC_DEFAULT_LOCALE_ID = 'ru-RU';
|
561
667
|
function MC_DEFAULT_LOCALE_DATA_FACTORY() {
|
562
668
|
return {
|
563
669
|
items: [
|
564
|
-
{ id: 'en', name: 'English' },
|
670
|
+
{ id: 'en-US', name: 'English' },
|
565
671
|
{ id: 'zh-CN', name: '简体中文' },
|
566
672
|
{ id: 'es-LA', name: 'Español' },
|
567
673
|
{ id: 'pt-BR', name: 'Português' },
|
568
|
-
{ id: 'ru', name: 'Русский' },
|
674
|
+
{ id: 'ru-RU', name: 'Русский' },
|
569
675
|
{ id: 'fa-IR', name: 'فارسی' }
|
570
676
|
],
|
571
677
|
...ruRULocaleData,
|
@@ -599,10 +705,10 @@ class McLocaleService {
|
|
599
705
|
getParams(componentName) {
|
600
706
|
return this.current[componentName];
|
601
707
|
}
|
708
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLocaleService, deps: [{ token: MC_LOCALE_ID$1, optional: true }, { token: MC_LOCALE_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
709
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLocaleService, providedIn: 'root' }); }
|
602
710
|
}
|
603
|
-
|
604
|
-
/** @nocollapse */ McLocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McLocaleService, providedIn: 'root' });
|
605
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McLocaleService, decorators: [{
|
711
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLocaleService, decorators: [{
|
606
712
|
type: Injectable,
|
607
713
|
args: [{ providedIn: 'root' }]
|
608
714
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
@@ -618,13 +724,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
618
724
|
}] }]; } });
|
619
725
|
|
620
726
|
class McLocaleServiceModule {
|
727
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLocaleServiceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
728
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McLocaleServiceModule }); }
|
729
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLocaleServiceModule, providers: [
|
730
|
+
{ provide: MC_LOCALE_SERVICE, useClass: McLocaleService }
|
731
|
+
] }); }
|
621
732
|
}
|
622
|
-
|
623
|
-
/** @nocollapse */ McLocaleServiceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: McLocaleServiceModule });
|
624
|
-
/** @nocollapse */ McLocaleServiceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McLocaleServiceModule, providers: [
|
625
|
-
{ provide: MC_LOCALE_SERVICE, useClass: McLocaleService }
|
626
|
-
] });
|
627
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McLocaleServiceModule, decorators: [{
|
733
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLocaleServiceModule, decorators: [{
|
628
734
|
type: NgModule,
|
629
735
|
args: [{
|
630
736
|
providers: [
|
@@ -660,8 +766,29 @@ const minIntGroupPosition = 1;
|
|
660
766
|
const minFractionGroupPosition = 3;
|
661
767
|
const maxFractionGroupPosition = 5;
|
662
768
|
const useGroupingPosition = 7;
|
769
|
+
// tslint:disable:no-magic-numbers
|
770
|
+
const ROUNDING_UNITS = {
|
771
|
+
thousand: 1e3,
|
772
|
+
tenThousand: 10 * 1e3,
|
773
|
+
million: 1e6,
|
774
|
+
oneHundredMillions: 100 * 1e6,
|
775
|
+
billion: 1e9,
|
776
|
+
trillion: 1e12
|
777
|
+
};
|
778
|
+
const intervalsConfig = {
|
779
|
+
supportedLanguages: ['ru-RU', 'en-US', 'es-LA', 'pt-BR', 'fa-IR'],
|
780
|
+
intervals: [
|
781
|
+
{ startRange: 1, endRange: ROUNDING_UNITS.thousand },
|
782
|
+
{ startRange: ROUNDING_UNITS.thousand, endRange: ROUNDING_UNITS.tenThousand, precision: 1 },
|
783
|
+
{ startRange: ROUNDING_UNITS.tenThousand, endRange: ROUNDING_UNITS.million },
|
784
|
+
{ startRange: ROUNDING_UNITS.million, endRange: ROUNDING_UNITS.million * 10, precision: 1 },
|
785
|
+
{ startRange: ROUNDING_UNITS.million * 10, endRange: ROUNDING_UNITS.billion }
|
786
|
+
]
|
787
|
+
};
|
788
|
+
// tslint:enable:no-magic-numbers
|
663
789
|
class ParsedDigitsInfo {
|
664
790
|
}
|
791
|
+
const defaultValueForGroupingInRULocale = 10000;
|
665
792
|
function parseDigitsInfo(digitsInfo) {
|
666
793
|
const parts = digitsInfo.match(NUMBER_FORMAT_REGEXP);
|
667
794
|
if (parts === null) {
|
@@ -725,19 +852,31 @@ class McDecimalPipe {
|
|
725
852
|
...this.options,
|
726
853
|
...parsedDigitsInfo
|
727
854
|
};
|
855
|
+
if (this.isSpecialFormatForRULocale(currentLocale, value, parsedDigitsInfo?.useGrouping)) {
|
856
|
+
options.useGrouping = false;
|
857
|
+
}
|
728
858
|
try {
|
729
859
|
const num = strToNumber(value);
|
860
|
+
/* Guideline requires for group separator to be `space`, as in 'ru-RU' locale.
|
861
|
+
* But by default in es-LA locale is used `comma`.
|
862
|
+
* To reduce data manipulation, 'ru-RU' locale is used. */
|
863
|
+
if (currentLocale === 'es-LA') {
|
864
|
+
return Intl.NumberFormat.call(this, 'ru-RU', options).format(num);
|
865
|
+
}
|
730
866
|
return Intl.NumberFormat.call(this, currentLocale, options).format(num);
|
731
867
|
}
|
732
868
|
catch (error) {
|
733
869
|
throw Error(`InvalidPipeArgument: McDecimalPipe for pipe '${JSON.stringify(error.message)}'`);
|
734
870
|
}
|
735
871
|
}
|
872
|
+
isSpecialFormatForRULocale(locale, value, grouping) {
|
873
|
+
return ['ru', 'ru-RU'].includes(locale) && grouping === undefined && value < defaultValueForGroupingInRULocale;
|
874
|
+
}
|
875
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McDecimalPipe, deps: [{ token: MC_LOCALE_ID, optional: true }, { token: MC_LOCALE_SERVICE, optional: true }, { token: MC_NUMBER_FORMATTER_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
876
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McDecimalPipe, name: "mcNumber", pure: false }); }
|
877
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McDecimalPipe, providedIn: 'root' }); }
|
736
878
|
}
|
737
|
-
|
738
|
-
/** @nocollapse */ McDecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: McDecimalPipe, name: "mcNumber", pure: false });
|
739
|
-
/** @nocollapse */ McDecimalPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McDecimalPipe, providedIn: 'root' });
|
740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McDecimalPipe, decorators: [{
|
879
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McDecimalPipe, decorators: [{
|
741
880
|
type: Injectable,
|
742
881
|
args: [{ providedIn: 'root' }]
|
743
882
|
}, {
|
@@ -759,43 +898,237 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
759
898
|
type: Inject,
|
760
899
|
args: [MC_NUMBER_FORMATTER_OPTIONS]
|
761
900
|
}] }]; } });
|
901
|
+
class McTableNumberPipe {
|
902
|
+
constructor(id, localeService, options) {
|
903
|
+
this.id = id;
|
904
|
+
this.localeService = localeService;
|
905
|
+
this.options = options;
|
906
|
+
this.options = this.options || MC_NUMBER_FORMATTER_DEFAULT_OPTIONS;
|
907
|
+
this.localeService?.changes
|
908
|
+
.subscribe((newId) => this.id = newId);
|
909
|
+
}
|
910
|
+
/**
|
911
|
+
* @param value The number to be formatted.
|
912
|
+
* @param digitsInfo Decimal representation options, specified by a string
|
913
|
+
* in the following format:<br>
|
914
|
+
* <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.
|
915
|
+
* - `minIntegerDigits`: The minimum number of integer digits before the decimal point.
|
916
|
+
* Default is `1`.
|
917
|
+
* - `minFractionDigits`: The minimum number of digits after the decimal point.
|
918
|
+
* Default is `0`.
|
919
|
+
* - `maxFractionDigits`: The maximum number of digits after the decimal point.
|
920
|
+
* Default is `3`.
|
921
|
+
* @param locale A locale code for the locale format rules to use.
|
922
|
+
* When not supplied, uses the value of `MC_LOCALE_ID`, which is `ru` by default.
|
923
|
+
*/
|
924
|
+
transform(value, digitsInfo, locale) {
|
925
|
+
if (isEmpty(value)) {
|
926
|
+
return null;
|
927
|
+
}
|
928
|
+
const currentLocale = locale || this.id || MC_DEFAULT_LOCALE_ID;
|
929
|
+
let parsedDigitsInfo;
|
930
|
+
if (digitsInfo) {
|
931
|
+
parsedDigitsInfo = parseDigitsInfo(digitsInfo);
|
932
|
+
}
|
933
|
+
const options = {
|
934
|
+
...this.options,
|
935
|
+
...parsedDigitsInfo
|
936
|
+
};
|
937
|
+
try {
|
938
|
+
const num = strToNumber(value);
|
939
|
+
/* Guideline requires for group separator to be `space`, as in 'ru-RU' locale.
|
940
|
+
* But by default in es-LA locale is used `comma`.
|
941
|
+
* To reduce data manipulation, 'ru-RU' locale is used. */
|
942
|
+
if (currentLocale === 'es-LA') {
|
943
|
+
return Intl.NumberFormat.call(this, 'ru-RU', options).format(num);
|
944
|
+
}
|
945
|
+
return Intl.NumberFormat.call(this, currentLocale, options).format(num);
|
946
|
+
}
|
947
|
+
catch (error) {
|
948
|
+
throw Error(`InvalidPipeArgument: McDecimalPipe for pipe '${JSON.stringify(error.message)}'`);
|
949
|
+
}
|
950
|
+
}
|
951
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McTableNumberPipe, deps: [{ token: MC_LOCALE_ID, optional: true }, { token: MC_LOCALE_SERVICE, optional: true }, { token: MC_NUMBER_FORMATTER_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
952
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McTableNumberPipe, name: "mcTableNumber", pure: false }); }
|
953
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McTableNumberPipe, providedIn: 'root' }); }
|
954
|
+
}
|
955
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McTableNumberPipe, decorators: [{
|
956
|
+
type: Injectable,
|
957
|
+
args: [{ providedIn: 'root' }]
|
958
|
+
}, {
|
959
|
+
type: Pipe,
|
960
|
+
args: [{ name: 'mcTableNumber', pure: false }]
|
961
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
962
|
+
type: Optional
|
963
|
+
}, {
|
964
|
+
type: Inject,
|
965
|
+
args: [MC_LOCALE_ID]
|
966
|
+
}] }, { type: McLocaleService, decorators: [{
|
967
|
+
type: Optional
|
968
|
+
}, {
|
969
|
+
type: Inject,
|
970
|
+
args: [MC_LOCALE_SERVICE]
|
971
|
+
}] }, { type: ParsedDigitsInfo, decorators: [{
|
972
|
+
type: Optional
|
973
|
+
}, {
|
974
|
+
type: Inject,
|
975
|
+
args: [MC_NUMBER_FORMATTER_OPTIONS]
|
976
|
+
}] }]; } });
|
977
|
+
function isWithin(startRange, endRange, valueToCheck) {
|
978
|
+
return startRange <= valueToCheck && valueToCheck < endRange;
|
979
|
+
}
|
980
|
+
class McRoundDecimalPipe {
|
981
|
+
constructor(id, localeService) {
|
982
|
+
this.id = id;
|
983
|
+
this.localeService = localeService;
|
984
|
+
this.localeService?.changes
|
985
|
+
.subscribe((newId) => this.id = newId);
|
986
|
+
}
|
987
|
+
transform(value, locale) {
|
988
|
+
if (isEmpty(value)) {
|
989
|
+
return null;
|
990
|
+
}
|
991
|
+
const currentLocale = locale || this.id || MC_DEFAULT_LOCALE_ID;
|
992
|
+
this.roundingOptions = this.localeService.locales[currentLocale].formatters.number.rounding;
|
993
|
+
try {
|
994
|
+
const num = strToNumber(value);
|
995
|
+
const unit = this.calculateUnit(num);
|
996
|
+
if (!unit) {
|
997
|
+
return Intl.NumberFormat.call(this, currentLocale, { useGrouping: false }).format(num);
|
998
|
+
}
|
999
|
+
let parts = {};
|
1000
|
+
if (intervalsConfig.supportedLanguages.includes(currentLocale)) {
|
1001
|
+
intervalsConfig.intervals
|
1002
|
+
.find(({ startRange, endRange, precision }) => {
|
1003
|
+
const within = isWithin(startRange, endRange, num);
|
1004
|
+
if (within) {
|
1005
|
+
if (precision) {
|
1006
|
+
parts = unit === 'thousand' ?
|
1007
|
+
this.calculatePartsForThousands(num) :
|
1008
|
+
{
|
1009
|
+
num: Math.trunc(num / ROUNDING_UNITS[unit]),
|
1010
|
+
fraction: this.calculateDecimal(num, ROUNDING_UNITS[unit])
|
1011
|
+
};
|
1012
|
+
}
|
1013
|
+
else {
|
1014
|
+
parts = { num: Math.round(num / ROUNDING_UNITS[unit]) };
|
1015
|
+
}
|
1016
|
+
}
|
1017
|
+
return within;
|
1018
|
+
});
|
1019
|
+
}
|
1020
|
+
parts = parts.num ? parts : {
|
1021
|
+
num: Math.trunc(num / ROUNDING_UNITS[unit]),
|
1022
|
+
fraction: this.calculateDecimal(num, ROUNDING_UNITS[unit])
|
1023
|
+
};
|
1024
|
+
Object.keys(parts).forEach((key) => {
|
1025
|
+
parts[key] = Intl.NumberFormat.call(this, currentLocale, { useGrouping: false }).format(parts[key]);
|
1026
|
+
});
|
1027
|
+
const calculatedValue = parts.fraction
|
1028
|
+
? `${parts.num}${this.roundingOptions.groupSeparator}${parts.fraction}`
|
1029
|
+
: `${parts.num}`;
|
1030
|
+
return `${calculatedValue}${this.roundingOptions.separator}${this.roundingOptions[unit]}`;
|
1031
|
+
}
|
1032
|
+
catch (error) {
|
1033
|
+
throw Error(`InvalidPipeArgument: McRoundDecimalPipe for pipe '${JSON.stringify(error.message)}'`);
|
1034
|
+
}
|
1035
|
+
}
|
1036
|
+
calculateDecimal(num, divider) {
|
1037
|
+
/* tslint:disable-next-line:no-magic-numbers */
|
1038
|
+
return Math.round(num / divider % 1 * 10);
|
1039
|
+
}
|
1040
|
+
/**
|
1041
|
+
* 2 * 1000 is a number in the interval of [1500...2500)
|
1042
|
+
*
|
1043
|
+
* 2,0 * 1000 is a number in the interval of [1950...2050)
|
1044
|
+
*/
|
1045
|
+
calculatePartsForThousands(num) {
|
1046
|
+
const dividedValue = num / ROUNDING_UNITS.thousand;
|
1047
|
+
const div = Math.round(dividedValue) * ROUNDING_UNITS.thousand;
|
1048
|
+
const fifty = 50;
|
1049
|
+
return isWithin(div - fifty, div + fifty, num)
|
1050
|
+
? { num: Math.round(dividedValue), fraction: 0 }
|
1051
|
+
: { num: Math.round(dividedValue) };
|
1052
|
+
}
|
1053
|
+
calculateUnit(num) {
|
1054
|
+
let currentUnit;
|
1055
|
+
const localizedOptions = Object.keys(this.roundingOptions);
|
1056
|
+
Object.keys(ROUNDING_UNITS).every((key) => {
|
1057
|
+
if (!localizedOptions.includes(key)) {
|
1058
|
+
return true;
|
1059
|
+
}
|
1060
|
+
if (num / ROUNDING_UNITS[key] >= 1) {
|
1061
|
+
currentUnit = key;
|
1062
|
+
return true;
|
1063
|
+
}
|
1064
|
+
return false;
|
1065
|
+
});
|
1066
|
+
return currentUnit;
|
1067
|
+
}
|
1068
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McRoundDecimalPipe, deps: [{ token: MC_LOCALE_ID, optional: true }, { token: MC_LOCALE_SERVICE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
1069
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McRoundDecimalPipe, name: "mcRoundNumber", pure: false }); }
|
1070
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McRoundDecimalPipe, providedIn: 'root' }); }
|
1071
|
+
}
|
1072
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McRoundDecimalPipe, decorators: [{
|
1073
|
+
type: Injectable,
|
1074
|
+
args: [{ providedIn: 'root' }]
|
1075
|
+
}, {
|
1076
|
+
type: Pipe,
|
1077
|
+
args: [{ name: 'mcRoundNumber', pure: false }]
|
1078
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
1079
|
+
type: Optional
|
1080
|
+
}, {
|
1081
|
+
type: Inject,
|
1082
|
+
args: [MC_LOCALE_ID]
|
1083
|
+
}] }, { type: McLocaleService, decorators: [{
|
1084
|
+
type: Optional
|
1085
|
+
}, {
|
1086
|
+
type: Inject,
|
1087
|
+
args: [MC_LOCALE_SERVICE]
|
1088
|
+
}] }]; } });
|
762
1089
|
|
763
1090
|
class McFormattersModule {
|
764
|
-
}
|
765
|
-
/** @nocollapse */
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
1091
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McFormattersModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1092
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McFormattersModule, declarations: [McDecimalPipe,
|
1093
|
+
McRoundDecimalPipe,
|
1094
|
+
McTableNumberPipe,
|
1095
|
+
AbsoluteDateFormatterPipe,
|
1096
|
+
AbsoluteDateTimeFormatterPipe,
|
1097
|
+
AbsoluteDateShortFormatterPipe,
|
1098
|
+
AbsoluteShortDateTimeFormatterPipe,
|
1099
|
+
RelativeDateFormatterPipe,
|
1100
|
+
RelativeDateTimeFormatterPipe,
|
1101
|
+
RelativeShortDateFormatterPipe,
|
1102
|
+
RelativeShortDateTimeFormatterPipe,
|
1103
|
+
RangeDateFormatterPipe,
|
1104
|
+
RangeShortDateFormatterPipe,
|
1105
|
+
RangeDateTimeFormatterPipe,
|
1106
|
+
RangeShortDateTimeFormatterPipe,
|
1107
|
+
RangeMiddleDateTimeFormatterPipe], exports: [McDecimalPipe,
|
1108
|
+
McRoundDecimalPipe,
|
1109
|
+
McTableNumberPipe,
|
1110
|
+
AbsoluteDateFormatterPipe,
|
1111
|
+
AbsoluteDateTimeFormatterPipe,
|
1112
|
+
AbsoluteDateShortFormatterPipe,
|
1113
|
+
AbsoluteShortDateTimeFormatterPipe,
|
1114
|
+
RelativeDateFormatterPipe,
|
1115
|
+
RelativeDateTimeFormatterPipe,
|
1116
|
+
RelativeShortDateFormatterPipe,
|
1117
|
+
RelativeShortDateTimeFormatterPipe,
|
1118
|
+
RangeDateFormatterPipe,
|
1119
|
+
RangeShortDateFormatterPipe,
|
1120
|
+
RangeDateTimeFormatterPipe,
|
1121
|
+
RangeShortDateTimeFormatterPipe,
|
1122
|
+
RangeMiddleDateTimeFormatterPipe] }); }
|
1123
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McFormattersModule, providers: [DateFormatter] }); }
|
1124
|
+
}
|
1125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McFormattersModule, decorators: [{
|
795
1126
|
type: NgModule,
|
796
1127
|
args: [{
|
797
1128
|
declarations: [
|
798
1129
|
McDecimalPipe,
|
1130
|
+
McRoundDecimalPipe,
|
1131
|
+
McTableNumberPipe,
|
799
1132
|
AbsoluteDateFormatterPipe,
|
800
1133
|
AbsoluteDateTimeFormatterPipe,
|
801
1134
|
AbsoluteDateShortFormatterPipe,
|
@@ -812,6 +1145,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
812
1145
|
],
|
813
1146
|
exports: [
|
814
1147
|
McDecimalPipe,
|
1148
|
+
McRoundDecimalPipe,
|
1149
|
+
McTableNumberPipe,
|
815
1150
|
AbsoluteDateFormatterPipe,
|
816
1151
|
AbsoluteDateTimeFormatterPipe,
|
817
1152
|
AbsoluteDateShortFormatterPipe,
|
@@ -848,10 +1183,10 @@ class McFormElement {
|
|
848
1183
|
this.hasLegend = this.element.nativeElement.firstElementChild.classList.contains('mc-form__legend');
|
849
1184
|
}
|
850
1185
|
}
|
1186
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McFormElement, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
1187
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: McFormElement, selector: ".mc-form__row, .mc-form__fieldset, .mc-form__legend", host: { properties: { "class.mc-form-row_margin": "margin" } }, queries: [{ propertyName: "elements", predicate: McFormElement }], exportAs: ["mcFormElement"], ngImport: i0 }); }
|
851
1188
|
}
|
852
|
-
|
853
|
-
/** @nocollapse */ McFormElement.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: McFormElement, selector: ".mc-form__row, .mc-form__fieldset, .mc-form__legend", host: { properties: { "class.mc-form-row_margin": "margin" } }, queries: [{ propertyName: "elements", predicate: McFormElement }], exportAs: ["mcFormElement"], ngImport: i0 });
|
854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McFormElement, decorators: [{
|
1189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McFormElement, decorators: [{
|
855
1190
|
type: Directive,
|
856
1191
|
args: [{
|
857
1192
|
selector: '.mc-form__row, .mc-form__fieldset, .mc-form__legend',
|
@@ -877,10 +1212,10 @@ class McForm {
|
|
877
1212
|
element.margin = !!(nextElement && !nextElement.hasLegend);
|
878
1213
|
});
|
879
1214
|
}
|
1215
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McForm, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
1216
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: McForm, selector: ".mc-form-vertical, .mc-form-horizontal", host: { classAttribute: "mc-form" }, queries: [{ propertyName: "elements", predicate: McFormElement }], exportAs: ["mcForm"], ngImport: i0 }); }
|
880
1217
|
}
|
881
|
-
|
882
|
-
/** @nocollapse */ McForm.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: McForm, selector: ".mc-form-vertical, .mc-form-horizontal", host: { classAttribute: "mc-form" }, queries: [{ propertyName: "elements", predicate: McFormElement }], exportAs: ["mcForm"], ngImport: i0 });
|
883
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McForm, decorators: [{
|
1218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McForm, decorators: [{
|
884
1219
|
type: Directive,
|
885
1220
|
args: [{
|
886
1221
|
selector: '.mc-form-vertical, .mc-form-horizontal',
|
@@ -895,13 +1230,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
895
1230
|
}] } });
|
896
1231
|
|
897
1232
|
class McFormsModule {
|
1233
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1234
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McFormsModule, declarations: [McForm,
|
1235
|
+
McFormElement], exports: [McForm,
|
1236
|
+
McFormElement] }); }
|
1237
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McFormsModule }); }
|
898
1238
|
}
|
899
|
-
|
900
|
-
/** @nocollapse */ McFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: McFormsModule, declarations: [McForm,
|
901
|
-
McFormElement], exports: [McForm,
|
902
|
-
McFormElement] });
|
903
|
-
/** @nocollapse */ McFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McFormsModule });
|
904
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McFormsModule, decorators: [{
|
1239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McFormsModule, decorators: [{
|
905
1240
|
type: NgModule,
|
906
1241
|
args: [{
|
907
1242
|
exports: [
|
@@ -928,20 +1263,20 @@ class McHighlightPipe {
|
|
928
1263
|
}
|
929
1264
|
return value.replace(new RegExp(`(${escapeRegExp(args)})`, 'gi'), '<mark class="mc-highlight">$1</mark>');
|
930
1265
|
}
|
1266
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McHighlightPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
1267
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McHighlightPipe, name: "mcHighlight" }); }
|
931
1268
|
}
|
932
|
-
|
933
|
-
/** @nocollapse */ McHighlightPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: McHighlightPipe, name: "mcHighlight" });
|
934
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McHighlightPipe, decorators: [{
|
1269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McHighlightPipe, decorators: [{
|
935
1270
|
type: Pipe,
|
936
1271
|
args: [{ name: 'mcHighlight' }]
|
937
1272
|
}] });
|
938
1273
|
|
939
1274
|
class McHighlightModule {
|
1275
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McHighlightModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1276
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McHighlightModule, declarations: [McHighlightPipe], imports: [CommonModule], exports: [McHighlightPipe] }); }
|
1277
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McHighlightModule, imports: [CommonModule] }); }
|
940
1278
|
}
|
941
|
-
|
942
|
-
/** @nocollapse */ McHighlightModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: McHighlightModule, declarations: [McHighlightPipe], imports: [CommonModule], exports: [McHighlightPipe] });
|
943
|
-
/** @nocollapse */ McHighlightModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McHighlightModule, imports: [CommonModule] });
|
944
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McHighlightModule, decorators: [{
|
1279
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McHighlightModule, decorators: [{
|
945
1280
|
type: NgModule,
|
946
1281
|
args: [{
|
947
1282
|
imports: [CommonModule],
|
@@ -959,10 +1294,10 @@ const MC_LABEL_GLOBAL_OPTIONS = new InjectionToken('mc-label-global-options');
|
|
959
1294
|
* counted by checking the query list's length.
|
960
1295
|
*/
|
961
1296
|
class McLine {
|
1297
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLine, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
1298
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: McLine, selector: "[mc-line], [mcLine]", host: { classAttribute: "mc-line" }, ngImport: i0 }); }
|
962
1299
|
}
|
963
|
-
|
964
|
-
/** @nocollapse */ McLine.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: McLine, selector: "[mc-line], [mcLine]", host: { classAttribute: "mc-line" }, ngImport: i0 });
|
965
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McLine, decorators: [{
|
1300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLine, decorators: [{
|
966
1301
|
type: Directive,
|
967
1302
|
args: [{
|
968
1303
|
selector: '[mc-line], [mcLine]',
|
@@ -1008,11 +1343,11 @@ class McLineSetter {
|
|
1008
1343
|
}
|
1009
1344
|
}
|
1010
1345
|
class McLineModule {
|
1346
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1347
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McLineModule, declarations: [McLine], exports: [McLine] }); }
|
1348
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLineModule }); }
|
1011
1349
|
}
|
1012
|
-
|
1013
|
-
/** @nocollapse */ McLineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: McLineModule, declarations: [McLine], exports: [McLine] });
|
1014
|
-
/** @nocollapse */ McLineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McLineModule });
|
1015
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McLineModule, decorators: [{
|
1350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLineModule, decorators: [{
|
1016
1351
|
type: NgModule,
|
1017
1352
|
args: [{
|
1018
1353
|
imports: [],
|
@@ -1038,10 +1373,10 @@ class McOptgroup extends McOptgroupMixinBase {
|
|
1038
1373
|
/** Unique id for the underlying label. */
|
1039
1374
|
this.labelId = `mc-optgroup-label-${uniqueOptgroupIdCounter++}`;
|
1040
1375
|
}
|
1376
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McOptgroup, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
1377
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: McOptgroup, selector: "mc-optgroup", inputs: { disabled: "disabled", label: "label" }, host: { properties: { "class.mc-disabled": "disabled" }, classAttribute: "mc-optgroup" }, exportAs: ["mcOptgroup"], usesInheritance: true, ngImport: i0, template: "<label class=\"mc-optgroup-label\" [id]=\"labelId\">{{ label }}</label>\n<ng-content select=\"mc-option, mc-list-option, mc-timezone-option, ng-container\"></ng-content>\n", styles: [".mc-optgroup-label{padding-left:var(--mc-optgroup-size-padding-left, 12px);-webkit-user-select:none;user-select:none;cursor:default}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
1041
1378
|
}
|
1042
|
-
|
1043
|
-
/** @nocollapse */ McOptgroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: McOptgroup, selector: "mc-optgroup", inputs: { disabled: "disabled", label: "label" }, host: { properties: { "class.mc-disabled": "disabled" }, classAttribute: "mc-optgroup" }, exportAs: ["mcOptgroup"], usesInheritance: true, ngImport: i0, template: "<label class=\"mc-optgroup-label\" [id]=\"labelId\">{{ label }}</label>\n<ng-content select=\"mc-option, mc-list-option, mc-timezone-option, ng-container\"></ng-content>\n", styles: [".mc-optgroup-label{padding-left:var(--mc-optgroup-size-padding-left, 12px);-webkit-user-select:none;user-select:none;cursor:default}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
1044
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McOptgroup, decorators: [{
|
1379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McOptgroup, decorators: [{
|
1045
1380
|
type: Component,
|
1046
1381
|
args: [{ selector: 'mc-optgroup', exportAs: 'mcOptgroup', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['disabled'], host: {
|
1047
1382
|
class: 'mc-optgroup',
|
@@ -1079,10 +1414,10 @@ class McPseudoCheckbox extends McPseudoCheckboxMixinBase {
|
|
1079
1414
|
this.state = 'unchecked';
|
1080
1415
|
this.disabled = false;
|
1081
1416
|
}
|
1417
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McPseudoCheckbox, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
1418
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: McPseudoCheckbox, selector: "mc-pseudo-checkbox", inputs: { color: "color", state: "state", disabled: "disabled" }, host: { properties: { "class.mc-indeterminate": "state === \"indeterminate\"", "class.mc-checked": "state === \"checked\"", "class.mc-disabled": "disabled" }, classAttribute: "mc-pseudo-checkbox" }, usesInheritance: true, ngImport: i0, template: "<i class=\"mc-checkbox-checkmark mc mc-check_16\"></i>\n<i class=\"mc-checkbox-mixedmark mc mc-minus_16\"></i>\n", styles: [".mc-pseudo-checkbox{position:relative;display:inline-block;box-sizing:border-box;width:var(--mc-checkbox-size-width, 16px);height:var(--mc-checkbox-size-width, 16px);border-radius:3px;border-width:var(--mc-checkbox-size-border-width, 1px);border-style:solid;cursor:pointer;vertical-align:middle;flex-shrink:0}.mc-pseudo-checkbox .mc-checkbox-checkmark,.mc-pseudo-checkbox .mc-checkbox-mixedmark{display:none;position:absolute;top:calc(-1 * var(--mc-checkbox-size-border-width, 1px));left:calc(-1 * var(--mc-checkbox-size-border-width, 1px))}.mc-pseudo-checkbox.mc-pseudo-checkbox-checked,.mc-pseudo-checkbox.mc-pseudo-checkbox-indeterminate{border-color:transparent}.mc-pseudo-checkbox.mc-checked .mc-checkbox-checkmark,.mc-pseudo-checkbox.mc-indeterminate .mc-checkbox-mixedmark{display:inline-block}.mc-pseudo-checkbox.mc-disabled{cursor:default}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
1082
1419
|
}
|
1083
|
-
|
1084
|
-
/** @nocollapse */ McPseudoCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: McPseudoCheckbox, selector: "mc-pseudo-checkbox", inputs: { color: "color", state: "state", disabled: "disabled" }, host: { properties: { "class.mc-indeterminate": "state === \"indeterminate\"", "class.mc-checked": "state === \"checked\"", "class.mc-disabled": "disabled" }, classAttribute: "mc-pseudo-checkbox" }, usesInheritance: true, ngImport: i0, template: "<i class=\"mc-checkbox-checkmark mc mc-check_16\"></i>\n<i class=\"mc-checkbox-mixedmark mc mc-minus_16\"></i>\n", styles: [".mc-pseudo-checkbox{position:relative;display:inline-block;box-sizing:border-box;width:var(--mc-checkbox-size-width, 16px);height:var(--mc-checkbox-size-width, 16px);border-radius:3px;border-width:var(--mc-checkbox-size-border-width, 1px);border-style:solid;cursor:pointer;vertical-align:middle;flex-shrink:0}.mc-pseudo-checkbox .mc-checkbox-checkmark,.mc-pseudo-checkbox .mc-checkbox-mixedmark{display:none;position:absolute;top:calc(-1 * var(--mc-checkbox-size-border-width, 1px));left:calc(-1 * var(--mc-checkbox-size-border-width, 1px))}.mc-pseudo-checkbox.mc-pseudo-checkbox-checked,.mc-pseudo-checkbox.mc-pseudo-checkbox-indeterminate{border-color:transparent}.mc-pseudo-checkbox.mc-checked .mc-checkbox-checkmark,.mc-pseudo-checkbox.mc-indeterminate .mc-checkbox-mixedmark{display:inline-block}.mc-pseudo-checkbox.mc-disabled{cursor:default}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
1085
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McPseudoCheckbox, decorators: [{
|
1420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McPseudoCheckbox, decorators: [{
|
1086
1421
|
type: Component,
|
1087
1422
|
args: [{ selector: 'mc-pseudo-checkbox', host: {
|
1088
1423
|
class: 'mc-pseudo-checkbox',
|
@@ -1112,26 +1447,49 @@ class McOptionSelectionChange {
|
|
1112
1447
|
* Injection token used to provide the parent component to options.
|
1113
1448
|
*/
|
1114
1449
|
const MC_OPTION_PARENT_COMPONENT = new InjectionToken('MC_OPTION_PARENT_COMPONENT');
|
1450
|
+
class McOptionBase {
|
1451
|
+
/** Emits the selection change event. */
|
1452
|
+
emitSelectionChangeEvent(isUserInput = false) {
|
1453
|
+
this.onSelectionChange.emit(new McOptionSelectionChange(this, isUserInput));
|
1454
|
+
}
|
1455
|
+
}
|
1456
|
+
class McVirtualOption extends McOptionBase {
|
1457
|
+
get disabled() {
|
1458
|
+
return this._disabled;
|
1459
|
+
}
|
1460
|
+
set disabled(value) {
|
1461
|
+
this._disabled = coerceBooleanProperty(value);
|
1462
|
+
}
|
1463
|
+
get selected() {
|
1464
|
+
return this._selected;
|
1465
|
+
}
|
1466
|
+
get viewValue() {
|
1467
|
+
return this.value;
|
1468
|
+
}
|
1469
|
+
constructor(value, _disabled = false) {
|
1470
|
+
super();
|
1471
|
+
this.value = value;
|
1472
|
+
this._disabled = _disabled;
|
1473
|
+
this._selected = false;
|
1474
|
+
this.onSelectionChange = new EventEmitter();
|
1475
|
+
}
|
1476
|
+
select() {
|
1477
|
+
if (!this._selected) {
|
1478
|
+
this._selected = true;
|
1479
|
+
this.emitSelectionChangeEvent();
|
1480
|
+
}
|
1481
|
+
}
|
1482
|
+
deselect() {
|
1483
|
+
if (this._selected) {
|
1484
|
+
this._selected = false;
|
1485
|
+
this.emitSelectionChangeEvent();
|
1486
|
+
}
|
1487
|
+
}
|
1488
|
+
}
|
1115
1489
|
/**
|
1116
1490
|
* Single option inside of a `<mc-select>` element.
|
1117
1491
|
*/
|
1118
|
-
class McOption {
|
1119
|
-
constructor(element, changeDetectorRef, parent, group) {
|
1120
|
-
this.element = element;
|
1121
|
-
this.changeDetectorRef = changeDetectorRef;
|
1122
|
-
this.parent = parent;
|
1123
|
-
this.group = group;
|
1124
|
-
/** Event emitted when the option is selected or deselected. */
|
1125
|
-
// tslint:disable-next-line:no-output-on-prefix
|
1126
|
-
this.onSelectionChange = new EventEmitter();
|
1127
|
-
/** Emits when the state of the option changes and any parents have to be notified. */
|
1128
|
-
this.stateChanges = new Subject();
|
1129
|
-
this._id = `mc-option-${uniqueIdCounter++}`;
|
1130
|
-
this._selected = false;
|
1131
|
-
this._disabled = false;
|
1132
|
-
this._active = false;
|
1133
|
-
this.mostRecentViewValue = '';
|
1134
|
-
}
|
1492
|
+
class McOption extends McOptionBase {
|
1135
1493
|
get showCheckbox() {
|
1136
1494
|
return this._showCheckbox === undefined ? this.multiple : this._showCheckbox;
|
1137
1495
|
}
|
@@ -1171,6 +1529,23 @@ class McOption {
|
|
1171
1529
|
get active() {
|
1172
1530
|
return this._active;
|
1173
1531
|
}
|
1532
|
+
constructor(element, changeDetectorRef, parent, group) {
|
1533
|
+
super();
|
1534
|
+
this.element = element;
|
1535
|
+
this.changeDetectorRef = changeDetectorRef;
|
1536
|
+
this.parent = parent;
|
1537
|
+
this.group = group;
|
1538
|
+
/** Event emitted when the option is selected or deselected. */
|
1539
|
+
// tslint:disable-next-line:no-output-on-prefix
|
1540
|
+
this.onSelectionChange = new EventEmitter();
|
1541
|
+
/** Emits when the state of the option changes and any parents have to be notified. */
|
1542
|
+
this.stateChanges = new Subject();
|
1543
|
+
this._id = `mc-option-${uniqueIdCounter++}`;
|
1544
|
+
this._selected = false;
|
1545
|
+
this._disabled = false;
|
1546
|
+
this._active = false;
|
1547
|
+
this.mostRecentViewValue = '';
|
1548
|
+
}
|
1174
1549
|
ngAfterViewChecked() {
|
1175
1550
|
// Since parent components could be using the option's label to display the selected values
|
1176
1551
|
// (e.g. `mc-select`) and they don't have a way of knowing if the option's label has changed
|
@@ -1265,16 +1640,12 @@ class McOption {
|
|
1265
1640
|
getHostElement() {
|
1266
1641
|
return this.element.nativeElement;
|
1267
1642
|
}
|
1268
|
-
/**
|
1269
|
-
|
1270
|
-
|
1271
|
-
}
|
1643
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McOption, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: MC_OPTION_PARENT_COMPONENT, optional: true }, { token: McOptgroup, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
1644
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: McOption, selector: "mc-option", inputs: { value: "value", showCheckbox: "showCheckbox", disabled: "disabled" }, outputs: { onSelectionChange: "onSelectionChange" }, host: { listeners: { "click": "selectViaInteraction()", "keydown": "handleKeydown($event)" }, properties: { "attr.tabindex": "getTabIndex()", "class.mc-selected": "selected", "class.mc-option-multiple": "multiple", "class.mc-active": "active", "class.mc-disabled": "disabled", "id": "id" }, classAttribute: "mc-option" }, providers: [{
|
1645
|
+
provide: MC_TITLE_TEXT_REF, useExisting: McOption
|
1646
|
+
}], viewQueries: [{ propertyName: "textElement", first: true, predicate: ["mcTitleText"], descendants: true }], exportAs: ["mcOption"], usesInheritance: true, ngImport: i0, template: "<mc-pseudo-checkbox\n *ngIf=\"showCheckbox\"\n [state]=\"selected ? 'checked' : 'unchecked'\"\n [disabled]=\"disabled\">\n</mc-pseudo-checkbox>\n\n<span #mcTitleText class=\"mc-option-text\"><ng-content></ng-content></span>\n\n<div class=\"mc-option-overlay\"></div>\n", styles: [".mc-option{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;position:relative;max-width:100%;height:var(--mc-option-size-height, 32px);border:var(--mc-option-size-border-width, 2px) solid transparent;cursor:pointer;outline:none;padding-left:var(--mc-option-size-horizontal-padding, 10px);padding-right:var(--mc-option-size-horizontal-padding, 10px);-webkit-tap-highlight-color:transparent}.mc-option.mc-disabled{cursor:default}.mc-option .mc-pseudo-checkbox{margin-right:8px}.mc-option .mc-option-overlay{position:absolute;top:calc(-1 * var(--mc-option-size-border-width, 2px));left:calc(-1 * var(--mc-option-size-border-width, 2px));right:calc(-1 * var(--mc-option-size-border-width, 2px));bottom:calc(-1 * var(--mc-option-size-border-width, 2px));pointer-events:none;border-radius:inherit}.mc-option-text{display:inline-block;flex-grow:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: McPseudoCheckbox, selector: "mc-pseudo-checkbox", inputs: ["color", "state", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
1272
1647
|
}
|
1273
|
-
|
1274
|
-
/** @nocollapse */ McOption.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: McOption, selector: "mc-option", inputs: { value: "value", showCheckbox: "showCheckbox", disabled: "disabled" }, outputs: { onSelectionChange: "onSelectionChange" }, host: { listeners: { "click": "selectViaInteraction()", "keydown": "handleKeydown($event)" }, properties: { "attr.tabindex": "getTabIndex()", "class.mc-selected": "selected", "class.mc-option-multiple": "multiple", "class.mc-active": "active", "class.mc-disabled": "disabled", "id": "id" }, classAttribute: "mc-option" }, providers: [{
|
1275
|
-
provide: MC_TITLE_TEXT_REF, useExisting: McOption
|
1276
|
-
}], viewQueries: [{ propertyName: "textElement", first: true, predicate: ["mcTitleText"], descendants: true }], exportAs: ["mcOption"], ngImport: i0, template: "<mc-pseudo-checkbox\n *ngIf=\"showCheckbox\"\n [state]=\"selected ? 'checked' : 'unchecked'\"\n [disabled]=\"disabled\">\n</mc-pseudo-checkbox>\n\n<span #mcTitleText class=\"mc-option-text\"><ng-content></ng-content></span>\n\n<div class=\"mc-option-overlay\"></div>\n", styles: [".mc-option{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;position:relative;max-width:100%;height:var(--mc-option-size-height, 32px);border:var(--mc-option-size-border-width, 2px) solid transparent;cursor:pointer;outline:none;padding-left:var(--mc-option-size-horizontal-padding, 10px);padding-right:var(--mc-option-size-horizontal-padding, 10px);-webkit-tap-highlight-color:transparent}.mc-option.mc-disabled{cursor:default}.mc-option .mc-pseudo-checkbox{margin-right:8px}.mc-option .mc-option-overlay{position:absolute;top:calc(-1 * var(--mc-option-size-border-width, 2px));left:calc(-1 * var(--mc-option-size-border-width, 2px));right:calc(-1 * var(--mc-option-size-border-width, 2px));bottom:calc(-1 * var(--mc-option-size-border-width, 2px));pointer-events:none;border-radius:inherit}.mc-option-text{display:inline-block;flex-grow:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: McPseudoCheckbox, selector: "mc-pseudo-checkbox", inputs: ["color", "state", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
1277
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McOption, decorators: [{
|
1648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McOption, decorators: [{
|
1278
1649
|
type: Component,
|
1279
1650
|
args: [{ selector: 'mc-option', exportAs: 'mcOption', host: {
|
1280
1651
|
'[attr.tabindex]': 'getTabIndex()',
|
@@ -1355,6 +1726,9 @@ class McOptionActionBase {
|
|
1355
1726
|
/** @docs-private */
|
1356
1727
|
const McOptionActionMixinBase = mixinTabIndex(mixinDisabled(McOptionActionBase));
|
1357
1728
|
class McOptionActionComponent extends McOptionActionMixinBase {
|
1729
|
+
get active() {
|
1730
|
+
return this.hasFocus || !!this.option.dropdownTrigger?.opened;
|
1731
|
+
}
|
1358
1732
|
constructor(elementRef, focusMonitor, option) {
|
1359
1733
|
super();
|
1360
1734
|
this.elementRef = elementRef;
|
@@ -1364,9 +1738,6 @@ class McOptionActionComponent extends McOptionActionMixinBase {
|
|
1364
1738
|
this.destroy = new Subject();
|
1365
1739
|
this.focusMonitor.monitor(this.elementRef.nativeElement);
|
1366
1740
|
}
|
1367
|
-
get active() {
|
1368
|
-
return this.hasFocus || !!this.option.dropdownTrigger?.opened;
|
1369
|
-
}
|
1370
1741
|
ngAfterViewInit() {
|
1371
1742
|
if (!this.option.dropdownTrigger) {
|
1372
1743
|
return;
|
@@ -1428,15 +1799,15 @@ class McOptionActionComponent extends McOptionActionMixinBase {
|
|
1428
1799
|
this.option.tooltipTrigger.disabled = true;
|
1429
1800
|
setTimeout(() => this.option.tooltipTrigger.disabled = false);
|
1430
1801
|
}
|
1431
|
-
}
|
1432
|
-
/** @nocollapse */
|
1433
|
-
/** @nocollapse */ McOptionActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: McOptionActionComponent, selector: "mc-option-action", inputs: { disabled: "disabled" }, host: { listeners: { "focus": "onFocus($event)", "blur": "onBlur()", "click": "onClick($event)", "keydown": "onKeyDown($event)" }, properties: { "class.mc-expanded": "false", "attr.disabled": "disabled || null", "attr.tabIndex": "-1" }, classAttribute: "mc-option-action" }, queries: [{ propertyName: "customIcon", first: true, predicate: ["customIcon"], descendants: true }], exportAs: ["mcOptionAction"], usesInheritance: true, ngImport: i0, template: `
|
1802
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McOptionActionComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.FocusMonitor }, { token: MC_OPTION_ACTION_PARENT }], target: i0.ɵɵFactoryTarget.Component }); }
|
1803
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: McOptionActionComponent, selector: "mc-option-action", inputs: { disabled: "disabled" }, host: { listeners: { "focus": "onFocus($event)", "blur": "onBlur()", "click": "onClick($event)", "keydown": "onKeyDown($event)" }, properties: { "class.mc-expanded": "false", "attr.disabled": "disabled || null", "attr.tabIndex": "-1" }, classAttribute: "mc-option-action" }, queries: [{ propertyName: "customIcon", first: true, predicate: ["customIcon"], descendants: true }], exportAs: ["mcOptionAction"], usesInheritance: true, ngImport: i0, template: `
|
1434
1804
|
<ng-container [ngSwitch]="!!customIcon">
|
1435
1805
|
<i class="mc mc-icon mc-ellipsis_16" *ngSwitchCase="false"></i>
|
1436
1806
|
<ng-content select="[mc-icon]" *ngSwitchCase="true"></ng-content>
|
1437
1807
|
</ng-container>
|
1438
|
-
`, isInline: true, styles: [".mc-option-action{box-sizing:unset;position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-right:-2px;width:28px;height:100%;cursor:pointer;outline:none;border:2px solid transparent;background:transparent}.mc-option-action[disabled]{cursor:default}\n"], dependencies: [{ kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
1439
|
-
|
1808
|
+
`, isInline: true, styles: [".mc-option-action{box-sizing:unset;position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-right:-2px;width:28px;height:100%;cursor:pointer;outline:none;border:2px solid transparent;background:transparent}.mc-option-action[disabled]{cursor:default}\n"], dependencies: [{ kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
1809
|
+
}
|
1810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McOptionActionComponent, decorators: [{
|
1440
1811
|
type: Component,
|
1441
1812
|
args: [{ selector: 'mc-option-action', exportAs: 'mcOptionAction', template: `
|
1442
1813
|
<ng-container [ngSwitch]="!!customIcon">
|
@@ -1468,11 +1839,11 @@ var MultipleMode;
|
|
1468
1839
|
})(MultipleMode || (MultipleMode = {}));
|
1469
1840
|
|
1470
1841
|
class McPseudoCheckboxModule {
|
1842
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McPseudoCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1843
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McPseudoCheckboxModule, declarations: [McPseudoCheckbox], imports: [CommonModule], exports: [McPseudoCheckbox] }); }
|
1844
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McPseudoCheckboxModule, imports: [CommonModule] }); }
|
1471
1845
|
}
|
1472
|
-
|
1473
|
-
/** @nocollapse */ McPseudoCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: McPseudoCheckboxModule, declarations: [McPseudoCheckbox], imports: [CommonModule], exports: [McPseudoCheckbox] });
|
1474
|
-
/** @nocollapse */ McPseudoCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McPseudoCheckboxModule, imports: [CommonModule] });
|
1475
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McPseudoCheckboxModule, decorators: [{
|
1846
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McPseudoCheckboxModule, decorators: [{
|
1476
1847
|
type: NgModule,
|
1477
1848
|
args: [{
|
1478
1849
|
imports: [CommonModule],
|
@@ -1482,11 +1853,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
1482
1853
|
}] });
|
1483
1854
|
|
1484
1855
|
class McOptionModule {
|
1856
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1857
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McOptionModule, declarations: [McOption, McOptgroup, McOptionActionComponent], imports: [CommonModule, McPseudoCheckboxModule], exports: [McOption, McOptgroup, McOptionActionComponent] }); }
|
1858
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McOptionModule, imports: [CommonModule, McPseudoCheckboxModule] }); }
|
1485
1859
|
}
|
1486
|
-
|
1487
|
-
/** @nocollapse */ McOptionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: McOptionModule, declarations: [McOption, McOptgroup, McOptionActionComponent], imports: [CommonModule, McPseudoCheckboxModule], exports: [McOption, McOptgroup, McOptionActionComponent] });
|
1488
|
-
/** @nocollapse */ McOptionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McOptionModule, imports: [CommonModule, McPseudoCheckboxModule] });
|
1489
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McOptionModule, decorators: [{
|
1860
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McOptionModule, decorators: [{
|
1490
1861
|
type: NgModule,
|
1491
1862
|
args: [{
|
1492
1863
|
imports: [CommonModule, McPseudoCheckboxModule],
|
@@ -1724,6 +2095,11 @@ const POSITION_TO_CSS_MAP = {
|
|
1724
2095
|
bottomLeft: 'bottom-left',
|
1725
2096
|
bottomRight: 'bottom-right'
|
1726
2097
|
};
|
2098
|
+
const MC_CUSTOM_SCROLL_STRATEGY_PROVIDER = (token, factory) => ({
|
2099
|
+
provide: token,
|
2100
|
+
deps: [Overlay],
|
2101
|
+
useFactory: factory
|
2102
|
+
});
|
1727
2103
|
function arrayMap(array, iteratee) {
|
1728
2104
|
let index = -1;
|
1729
2105
|
const length = array === null ? 0 : array.length;
|
@@ -1859,10 +2235,10 @@ class McPopUp {
|
|
1859
2235
|
this.hide(0);
|
1860
2236
|
}
|
1861
2237
|
}
|
2238
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McPopUp, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
2239
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: McPopUp, ngImport: i0 }); }
|
1862
2240
|
}
|
1863
|
-
|
1864
|
-
/** @nocollapse */ McPopUp.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: McPopUp, ngImport: i0 });
|
1865
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McPopUp, decorators: [{
|
2241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McPopUp, decorators: [{
|
1866
2242
|
type: Directive
|
1867
2243
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
1868
2244
|
|
@@ -2093,10 +2469,10 @@ class McPopUpTrigger {
|
|
2093
2469
|
this.hide();
|
2094
2470
|
});
|
2095
2471
|
}
|
2472
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McPopUpTrigger, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
2473
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: McPopUpTrigger, ngImport: i0 }); }
|
2096
2474
|
}
|
2097
|
-
|
2098
|
-
/** @nocollapse */ McPopUpTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: McPopUpTrigger, ngImport: i0 });
|
2099
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McPopUpTrigger, decorators: [{
|
2475
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McPopUpTrigger, decorators: [{
|
2100
2476
|
type: Directive
|
2101
2477
|
}], ctorParameters: function () { return [{ type: i1$2.Overlay }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i1$2.ScrollDispatcher }, { type: i0.ViewContainerRef }, { type: undefined }, { type: i2$1.Directionality }]; } });
|
2102
2478
|
|
@@ -2154,6 +2530,13 @@ const MC_SELECT_SCROLL_STRATEGY_PROVIDER = {
|
|
2154
2530
|
};
|
2155
2531
|
|
2156
2532
|
class McMeasureScrollbarService {
|
2533
|
+
get scrollBarWidth() {
|
2534
|
+
if (this._scrollBarWidth) {
|
2535
|
+
return this._scrollBarWidth;
|
2536
|
+
}
|
2537
|
+
this.initScrollBarWidth();
|
2538
|
+
return this._scrollBarWidth;
|
2539
|
+
}
|
2157
2540
|
constructor(document) {
|
2158
2541
|
this.document = document;
|
2159
2542
|
this.scrollbarMeasure = {
|
@@ -2165,13 +2548,6 @@ class McMeasureScrollbarService {
|
|
2165
2548
|
};
|
2166
2549
|
this.initScrollBarWidth();
|
2167
2550
|
}
|
2168
|
-
get scrollBarWidth() {
|
2169
|
-
if (this._scrollBarWidth) {
|
2170
|
-
return this._scrollBarWidth;
|
2171
|
-
}
|
2172
|
-
this.initScrollBarWidth();
|
2173
|
-
return this._scrollBarWidth;
|
2174
|
-
}
|
2175
2551
|
initScrollBarWidth() {
|
2176
2552
|
const scrollDiv = this.document.createElement('div');
|
2177
2553
|
// tslint:disable-next-line
|
@@ -2185,10 +2561,10 @@ class McMeasureScrollbarService {
|
|
2185
2561
|
this.document.body.removeChild(scrollDiv);
|
2186
2562
|
this._scrollBarWidth = width;
|
2187
2563
|
}
|
2564
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McMeasureScrollbarService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2565
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McMeasureScrollbarService, providedIn: 'root' }); }
|
2188
2566
|
}
|
2189
|
-
|
2190
|
-
/** @nocollapse */ McMeasureScrollbarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McMeasureScrollbarService, providedIn: 'root' });
|
2191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McMeasureScrollbarService, decorators: [{
|
2567
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McMeasureScrollbarService, decorators: [{
|
2192
2568
|
type: Injectable,
|
2193
2569
|
args: [{
|
2194
2570
|
providedIn: 'root'
|
@@ -2279,21 +2655,21 @@ class McDataSizePipe {
|
|
2279
2655
|
const { value, unit } = formatDataSize(source, measurementSystem, precision);
|
2280
2656
|
return `${value} ${unit}`;
|
2281
2657
|
}
|
2658
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McDataSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
2659
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McDataSizePipe, name: "mcDataSize" }); }
|
2282
2660
|
}
|
2283
|
-
|
2284
|
-
/** @nocollapse */ McDataSizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: McDataSizePipe, name: "mcDataSize" });
|
2285
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McDataSizePipe, decorators: [{
|
2661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McDataSizePipe, decorators: [{
|
2286
2662
|
type: Pipe,
|
2287
2663
|
args: [{
|
2288
2664
|
name: 'mcDataSize'
|
2289
2665
|
}]
|
2290
2666
|
}] });
|
2291
2667
|
class McDataSizeModule {
|
2668
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McDataSizeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
2669
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McDataSizeModule, declarations: [McDataSizePipe], exports: [McDataSizePipe] }); }
|
2670
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McDataSizeModule }); }
|
2292
2671
|
}
|
2293
|
-
|
2294
|
-
/** @nocollapse */ McDataSizeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: McDataSizeModule, declarations: [McDataSizePipe], exports: [McDataSizePipe] });
|
2295
|
-
/** @nocollapse */ McDataSizeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McDataSizeModule });
|
2296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McDataSizeModule, decorators: [{
|
2672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McDataSizeModule, decorators: [{
|
2297
2673
|
type: NgModule,
|
2298
2674
|
args: [{
|
2299
2675
|
imports: [],
|
@@ -2306,11 +2682,11 @@ const validationTooltipShowDelay = 10;
|
|
2306
2682
|
const validationTooltipHideDelay = 3000;
|
2307
2683
|
const MC_VALIDATION = new InjectionToken('McUseValidation', { factory: () => ({ useValidation: true }) });
|
2308
2684
|
|
2309
|
-
const VERSION = new Version('
|
2685
|
+
const VERSION = new Version('16.0.0+sha-5a897cb');
|
2310
2686
|
|
2311
2687
|
/**
|
2312
2688
|
* Generated bundle index. Do not edit.
|
2313
2689
|
*/
|
2314
2690
|
|
2315
|
-
export { AbsoluteDateFormatterPipe, AbsoluteDateShortFormatterPipe, AbsoluteDateTimeFormatterPipe, AbsoluteShortDateTimeFormatterPipe, AnimationCurves, BOTTOM_LEFT_POSITION_PRIORITY, BOTTOM_POSITION_PRIORITY, BOTTOM_RIGHT_POSITION_PRIORITY, DateAdapter, DateFormatter, EXTENDED_OVERLAY_POSITIONS, ErrorStateMatcher, LEFT_BOTTOM_POSITION_PRIORITY, LEFT_POSITION_PRIORITY, LEFT_TOP_POSITION_PRIORITY, MC_DATE_FORMATS, MC_DATE_LOCALE, MC_DATE_LOCALE_FACTORY, MC_DEFAULT_LOCALE_DATA_FACTORY, MC_DEFAULT_LOCALE_ID, MC_LABEL_GLOBAL_OPTIONS, MC_LOCALE_DATA, MC_LOCALE_ID, MC_LOCALE_SERVICE, MC_NUMBER_FORMATTER_DEFAULT_OPTIONS, MC_NUMBER_FORMATTER_OPTIONS, MC_OPTION_ACTION_PARENT, MC_OPTION_PARENT_COMPONENT, MC_SANITY_CHECKS, MC_SELECT_SCROLL_STRATEGY, MC_SELECT_SCROLL_STRATEGY_PROVIDER, MC_TITLE_TEXT_REF, MC_VALIDATION, McCommonModule, McDataSizeModule, McDataSizePipe, McDecimalPipe, McForm, McFormElement, McFormattersModule, McFormsModule, McHighlightModule, McHighlightPipe, McLine, McLineModule, McLineSetter, McLocaleService, McLocaleServiceModule, McMeasureScrollbarService, McOptgroup, McOptgroupBase, McOptgroupMixinBase, McOption, McOptionActionBase, McOptionActionComponent, McOptionActionMixinBase, McOptionModule, McOptionSelectionChange, McPopUp, McPopUpTrigger, McPseudoCheckbox, McPseudoCheckboxBase, McPseudoCheckboxMixinBase, McPseudoCheckboxModule, MeasurementSystem, MultipleMode, NUMBER_FORMAT_REGEXP, POSITION_MAP, POSITION_PRIORITY_STRATEGY, POSITION_TO_CSS_MAP, PopUpPlacements, PopUpSizes, PopUpTriggers, PopUpVisibility, RIGHT_BOTTOM_POSITION_PRIORITY, RIGHT_POSITION_PRIORITY, RIGHT_TOP_POSITION_PRIORITY, RangeDateFormatterPipe, RangeDateTimeFormatterPipe, RangeMiddleDateTimeFormatterPipe, RangeShortDateFormatterPipe, RangeShortDateTimeFormatterPipe, RelativeDateFormatterPipe, RelativeDateTimeFormatterPipe, RelativeShortDateFormatterPipe, RelativeShortDateTimeFormatterPipe, SELECT_PANEL_INDENT_PADDING_X, SELECT_PANEL_MAX_HEIGHT, SELECT_PANEL_PADDING_X, SELECT_PANEL_VIEWPORT_PADDING, ShowOnDirtyErrorStateMatcher, TOP_LEFT_POSITION_PRIORITY, TOP_POSITION_PRIORITY, TOP_RIGHT_POSITION_PRIORITY, ThemePalette, VERSION, countGroupLabelsBeforeOption, escapeRegExp, fadeAnimation, formatDataSize, getHumanizedBytes, getMcSelectDynamicMultipleError, getMcSelectNonArrayValueError, getMcSelectNonFunctionValueError, getOptionScrollPosition, isBoolean, mcSelectAnimations, mcSelectScrollStrategyProviderFactory, mixinColor, mixinDisabled, mixinErrorState, mixinTabIndex, selectEvents, sizeUnitsConfig, toBoolean, validationTooltipHideDelay, validationTooltipShowDelay };
|
2691
|
+
export { AbsoluteDateFormatterPipe, AbsoluteDateShortFormatterPipe, AbsoluteDateTimeFormatterPipe, AbsoluteShortDateTimeFormatterPipe, AnimationCurves, BOTTOM_LEFT_POSITION_PRIORITY, BOTTOM_POSITION_PRIORITY, BOTTOM_RIGHT_POSITION_PRIORITY, DateAdapter, DateFormatter, EXTENDED_OVERLAY_POSITIONS, ErrorStateMatcher, LEFT_BOTTOM_POSITION_PRIORITY, LEFT_POSITION_PRIORITY, LEFT_TOP_POSITION_PRIORITY, MC_CUSTOM_SCROLL_STRATEGY_PROVIDER, MC_DATE_FORMATS, MC_DATE_LOCALE, MC_DATE_LOCALE_FACTORY, MC_DEFAULT_LOCALE_DATA_FACTORY, MC_DEFAULT_LOCALE_ID, MC_LABEL_GLOBAL_OPTIONS, MC_LOCALE_DATA, MC_LOCALE_ID, MC_LOCALE_SERVICE, MC_NUMBER_FORMATTER_DEFAULT_OPTIONS, MC_NUMBER_FORMATTER_OPTIONS, MC_OPTION_ACTION_PARENT, MC_OPTION_PARENT_COMPONENT, MC_SANITY_CHECKS, MC_SELECT_SCROLL_STRATEGY, MC_SELECT_SCROLL_STRATEGY_PROVIDER, MC_TITLE_TEXT_REF, MC_VALIDATION, McCommonModule, McDataSizeModule, McDataSizePipe, McDecimalPipe, McForm, McFormElement, McFormattersModule, McFormsModule, McHighlightModule, McHighlightPipe, McLine, McLineModule, McLineSetter, McLocaleService, McLocaleServiceModule, McMeasureScrollbarService, McOptgroup, McOptgroupBase, McOptgroupMixinBase, McOption, McOptionActionBase, McOptionActionComponent, McOptionActionMixinBase, McOptionBase, McOptionModule, McOptionSelectionChange, McPopUp, McPopUpTrigger, McPseudoCheckbox, McPseudoCheckboxBase, McPseudoCheckboxMixinBase, McPseudoCheckboxModule, McRoundDecimalPipe, McTableNumberPipe, McVirtualOption, MeasurementSystem, MultipleMode, NUMBER_FORMAT_REGEXP, POSITION_MAP, POSITION_PRIORITY_STRATEGY, POSITION_TO_CSS_MAP, PopUpPlacements, PopUpSizes, PopUpTriggers, PopUpVisibility, RIGHT_BOTTOM_POSITION_PRIORITY, RIGHT_POSITION_PRIORITY, RIGHT_TOP_POSITION_PRIORITY, RangeDateFormatterPipe, RangeDateTimeFormatterPipe, RangeMiddleDateTimeFormatterPipe, RangeShortDateFormatterPipe, RangeShortDateTimeFormatterPipe, RelativeDateFormatterPipe, RelativeDateTimeFormatterPipe, RelativeShortDateFormatterPipe, RelativeShortDateTimeFormatterPipe, SELECT_PANEL_INDENT_PADDING_X, SELECT_PANEL_MAX_HEIGHT, SELECT_PANEL_PADDING_X, SELECT_PANEL_VIEWPORT_PADDING, ShowOnDirtyErrorStateMatcher, TOP_LEFT_POSITION_PRIORITY, TOP_POSITION_PRIORITY, TOP_RIGHT_POSITION_PRIORITY, ThemePalette, VERSION, countGroupLabelsBeforeOption, escapeRegExp, fadeAnimation, formatDataSize, getHumanizedBytes, getMcSelectDynamicMultipleError, getMcSelectNonArrayValueError, getMcSelectNonFunctionValueError, getOptionScrollPosition, isBoolean, isWithin, mcSelectAnimations, mcSelectScrollStrategyProviderFactory, mixinColor, mixinDisabled, mixinErrorState, mixinTabIndex, selectEvents, sizeUnitsConfig, toBoolean, validationTooltipHideDelay, validationTooltipShowDelay };
|
2316
2692
|
//# sourceMappingURL=ptsecurity-mosaic-core.mjs.map
|