@ptsecurity/mosaic 15.6.0 → 16.1.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 +28 -1
- package/_visual.scss +3 -1
- 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/_code-block-theme.scss +8 -0
- 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 +19 -1
- package/core/locales/es-LA.d.ts +27 -0
- package/core/locales/fa-IR.d.ts +28 -0
- package/core/locales/locale-service.d.ts +148 -3
- package/core/locales/pt-BR.d.ts +27 -0
- package/core/locales/ru-RU.d.ts +20 -1
- package/core/locales/zh-CN.d.ts +26 -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/pop-up/constants.d.ts +2 -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.scss +6 -6
- 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 +28 -0
- package/esm2022/core/locales/es-LA.mjs +35 -0
- package/esm2022/core/locales/fa-IR.mjs +34 -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 +33 -0
- package/esm2022/core/locales/ru-RU.mjs +31 -0
- package/esm2022/core/locales/zh-CN.mjs +32 -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 +299 -0
- package/esm2022/core/overlay/overlay-position-map.mjs +251 -0
- package/{esm2020 → esm2022}/core/pop-up/constants.mjs +2 -1
- package/esm2022/core/pop-up/pop-up-trigger.mjs +256 -0
- 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 +963 -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/esm2022/form-field/password-hint.mjs +149 -0
- 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 +386 -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 +523 -0
- package/{esm2020 → esm2022}/modal/modal.directive.mjs +13 -13
- package/esm2022/modal/modal.module.mjs +75 -0
- package/esm2022/modal/modal.service.mjs +124 -0
- 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/esm2022/navbar/vertical-navbar.component.mjs +117 -0
- 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/esm2022/timezone/timezone-select.component.mjs +40 -0
- 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 +650 -220
- package/fesm2022/ptsecurity-mosaic-core.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-datepicker.mjs +343 -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 +90 -90
- 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 +87 -84
- package/fesm2022/ptsecurity-mosaic-form-field.mjs.map +1 -0
- 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 +383 -167
- package/fesm2022/ptsecurity-mosaic-input.mjs.map +1 -0
- 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 +164 -148
- package/fesm2022/ptsecurity-mosaic-modal.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-navbar.mjs +186 -178
- package/fesm2022/ptsecurity-mosaic-navbar.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ptsecurity-mosaic-popover.mjs +38 -38
- package/fesm2022/ptsecurity-mosaic-popover.mjs.map +1 -0
- 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 +189 -175
- 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 +54 -54
- package/fesm2022/ptsecurity-mosaic-timezone.mjs.map +1 -0
- 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 +123 -123
- 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 +2 -1
- package/icon/icon.component.d.ts +1 -1
- package/input/input-number-validators.d.ts +2 -2
- package/input/input-number.d.ts +61 -10
- 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 +12 -2
- package/markdown/markdown.component.d.ts +1 -1
- package/modal/modal.component.d.ts +6 -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-item.scss +5 -0
- package/navbar/navbar.component.d.ts +7 -4
- package/navbar/vertical-navbar.component.d.ts +5 -3
- package/package.json +148 -237
- 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/pop-up/pop-up-trigger.mjs +0 -247
- 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/password-hint.mjs +0 -146
- 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/modal/modal.service.mjs +0 -124
- package/esm2020/navbar/navbar-item.component.mjs +0 -606
- package/esm2020/navbar/navbar.component.mjs +0 -239
- package/esm2020/navbar/vertical-navbar.component.mjs +0 -114
- 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/timezone/timezone-select.component.mjs +0 -40
- 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-popover.mjs.map +0 -1
- 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-form-field.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-icon.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-input.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-timezone.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/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,217 @@ 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
|
520
|
-
dateInput: 'dd
|
519
|
+
placeholder: 'yyyy-mm-dd',
|
520
|
+
dateInput: 'yyyy-MM-dd'
|
521
|
+
},
|
522
|
+
formatters: {
|
523
|
+
number: {
|
524
|
+
rounding: {
|
525
|
+
separator: '',
|
526
|
+
groupSeparator: '.',
|
527
|
+
thousand: 'K',
|
528
|
+
million: 'M',
|
529
|
+
billion: 'B',
|
530
|
+
trillion: 'T'
|
531
|
+
}
|
532
|
+
}
|
533
|
+
},
|
534
|
+
input: {
|
535
|
+
number: {
|
536
|
+
groupSeparator: [','],
|
537
|
+
fractionSeparator: '.'
|
538
|
+
}
|
521
539
|
}
|
522
540
|
}
|
523
541
|
};
|
524
542
|
|
525
543
|
const esLALocaleData = {
|
526
544
|
'es-LA': {
|
527
|
-
select: { hiddenItemsText: 'más' }
|
545
|
+
select: { hiddenItemsText: 'más' },
|
546
|
+
datepicker: {
|
547
|
+
placeholder: 'dd/mm/aaaa'
|
548
|
+
},
|
549
|
+
timepicker: {
|
550
|
+
placeholder: {
|
551
|
+
full: 'hh:mm:ss',
|
552
|
+
short: 'hh:mm'
|
553
|
+
}
|
554
|
+
},
|
555
|
+
formatters: {
|
556
|
+
number: {
|
557
|
+
rounding: {
|
558
|
+
separator: '',
|
559
|
+
groupSeparator: ',',
|
560
|
+
thousand: 'K',
|
561
|
+
million: 'M',
|
562
|
+
billion: 'MRD',
|
563
|
+
trillion: 'B'
|
564
|
+
}
|
565
|
+
}
|
566
|
+
},
|
567
|
+
input: {
|
568
|
+
number: {
|
569
|
+
// nbsp is generated automatically and used by default in spec
|
570
|
+
// tslint:disable-next-line:no-irregular-whitespace
|
571
|
+
groupSeparator: [' ', ' '],
|
572
|
+
fractionSeparator: ','
|
573
|
+
}
|
574
|
+
}
|
528
575
|
}
|
529
576
|
};
|
530
577
|
|
531
578
|
const faIRLocaleData = {
|
532
579
|
'fa-IR': {
|
533
|
-
select: { hiddenItemsText: 'أكثر' }
|
580
|
+
select: { hiddenItemsText: 'أكثر' },
|
581
|
+
datepicker: {
|
582
|
+
placeholder: 'روز/ ماه/سال'
|
583
|
+
},
|
584
|
+
timepicker: {
|
585
|
+
placeholder: {
|
586
|
+
full: 'ثانیه:دقیقه:ساعت',
|
587
|
+
short: 'دقیقه:ساعت'
|
588
|
+
}
|
589
|
+
},
|
590
|
+
formatters: {
|
591
|
+
number: {
|
592
|
+
rounding: {
|
593
|
+
separator: ' ',
|
594
|
+
groupSeparator: '٫',
|
595
|
+
thousand: 'هزار',
|
596
|
+
million: 'میلیون',
|
597
|
+
billion: 'م',
|
598
|
+
trillion: 'تریلیون',
|
599
|
+
rtl: true
|
600
|
+
}
|
601
|
+
}
|
602
|
+
},
|
603
|
+
input: {
|
604
|
+
number: {
|
605
|
+
groupSeparator: ['\u066C'],
|
606
|
+
fractionSeparator: '\u066B'
|
607
|
+
}
|
608
|
+
}
|
534
609
|
}
|
535
610
|
};
|
536
611
|
|
537
612
|
const ptBRLocaleData = {
|
538
613
|
'pt-BR': {
|
539
|
-
select: { hiddenItemsText: 'mais' }
|
614
|
+
select: { hiddenItemsText: 'mais' },
|
615
|
+
datepicker: {
|
616
|
+
placeholder: 'dd/mm/yyyy'
|
617
|
+
},
|
618
|
+
timepicker: {
|
619
|
+
placeholder: {
|
620
|
+
full: 'hh:mm:ss',
|
621
|
+
short: 'hh:mm'
|
622
|
+
}
|
623
|
+
},
|
624
|
+
formatters: {
|
625
|
+
number: {
|
626
|
+
rounding: {
|
627
|
+
separator: ' ',
|
628
|
+
groupSeparator: ',',
|
629
|
+
thousand: 'mil',
|
630
|
+
million: 'mi',
|
631
|
+
billion: 'bi',
|
632
|
+
trillion: 'tri'
|
633
|
+
}
|
634
|
+
}
|
635
|
+
},
|
636
|
+
input: {
|
637
|
+
number: {
|
638
|
+
groupSeparator: ['.'],
|
639
|
+
fractionSeparator: ','
|
640
|
+
}
|
641
|
+
}
|
540
642
|
}
|
541
643
|
};
|
542
644
|
|
543
645
|
const ruRULocaleData = {
|
544
|
-
ru: {
|
646
|
+
'ru-RU': {
|
545
647
|
select: { hiddenItemsText: 'еще' },
|
546
648
|
datepicker: {
|
547
649
|
placeholder: 'дд.мм.гггг',
|
548
650
|
dateInput: 'dd.MM.yyyy'
|
651
|
+
},
|
652
|
+
formatters: {
|
653
|
+
number: {
|
654
|
+
rounding: {
|
655
|
+
separator: ' ',
|
656
|
+
groupSeparator: ',',
|
657
|
+
thousand: 'К',
|
658
|
+
million: 'М',
|
659
|
+
billion: 'М',
|
660
|
+
trillion: 'Т'
|
661
|
+
}
|
662
|
+
}
|
663
|
+
},
|
664
|
+
input: {
|
665
|
+
number: {
|
666
|
+
// nbsp is generated automatically and used by default in spec
|
667
|
+
// tslint:disable-next-line:no-irregular-whitespace
|
668
|
+
groupSeparator: [' ', ' '],
|
669
|
+
fractionSeparator: ',',
|
670
|
+
startFormattingFrom: 4
|
671
|
+
}
|
549
672
|
}
|
550
673
|
}
|
551
674
|
};
|
552
675
|
|
553
676
|
const znCNLocaleData = {
|
554
677
|
'zh-CN': {
|
555
|
-
select: { hiddenItemsText: '更多的' }
|
678
|
+
select: { hiddenItemsText: '更多的' },
|
679
|
+
datepicker: {
|
680
|
+
placeholder: '年/月/日'
|
681
|
+
},
|
682
|
+
timepicker: {
|
683
|
+
placeholder: {
|
684
|
+
full: '时:分:秒',
|
685
|
+
short: '时:分'
|
686
|
+
}
|
687
|
+
},
|
688
|
+
formatters: {
|
689
|
+
number: {
|
690
|
+
rounding: {
|
691
|
+
separator: ' ',
|
692
|
+
groupSeparator: '.',
|
693
|
+
tenThousand: '万',
|
694
|
+
oneHundredMillions: '亿',
|
695
|
+
trillion: '兆'
|
696
|
+
}
|
697
|
+
}
|
698
|
+
},
|
699
|
+
input: {
|
700
|
+
number: {
|
701
|
+
groupSeparator: [','],
|
702
|
+
fractionSeparator: '.'
|
703
|
+
}
|
704
|
+
}
|
556
705
|
}
|
557
706
|
};
|
558
707
|
|
559
708
|
const MC_LOCALE_ID$1 = new InjectionToken('McLocaleId');
|
560
|
-
const MC_DEFAULT_LOCALE_ID = 'ru';
|
709
|
+
const MC_DEFAULT_LOCALE_ID = 'ru-RU';
|
561
710
|
function MC_DEFAULT_LOCALE_DATA_FACTORY() {
|
562
711
|
return {
|
563
712
|
items: [
|
564
|
-
{ id: 'en', name: 'English' },
|
713
|
+
{ id: 'en-US', name: 'English' },
|
565
714
|
{ id: 'zh-CN', name: '简体中文' },
|
566
715
|
{ id: 'es-LA', name: 'Español' },
|
567
716
|
{ id: 'pt-BR', name: 'Português' },
|
568
|
-
{ id: 'ru', name: 'Русский' },
|
717
|
+
{ id: 'ru-RU', name: 'Русский' },
|
569
718
|
{ id: 'fa-IR', name: 'فارسی' }
|
570
719
|
],
|
571
720
|
...ruRULocaleData,
|
@@ -599,10 +748,10 @@ class McLocaleService {
|
|
599
748
|
getParams(componentName) {
|
600
749
|
return this.current[componentName];
|
601
750
|
}
|
751
|
+
/** @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 }); }
|
752
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLocaleService, providedIn: 'root' }); }
|
602
753
|
}
|
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: [{
|
754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLocaleService, decorators: [{
|
606
755
|
type: Injectable,
|
607
756
|
args: [{ providedIn: 'root' }]
|
608
757
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
@@ -618,13 +767,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
618
767
|
}] }]; } });
|
619
768
|
|
620
769
|
class McLocaleServiceModule {
|
770
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLocaleServiceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
771
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McLocaleServiceModule }); }
|
772
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLocaleServiceModule, providers: [
|
773
|
+
{ provide: MC_LOCALE_SERVICE, useClass: McLocaleService }
|
774
|
+
] }); }
|
621
775
|
}
|
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: [{
|
776
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLocaleServiceModule, decorators: [{
|
628
777
|
type: NgModule,
|
629
778
|
args: [{
|
630
779
|
providers: [
|
@@ -660,8 +809,29 @@ const minIntGroupPosition = 1;
|
|
660
809
|
const minFractionGroupPosition = 3;
|
661
810
|
const maxFractionGroupPosition = 5;
|
662
811
|
const useGroupingPosition = 7;
|
812
|
+
// tslint:disable:no-magic-numbers
|
813
|
+
const ROUNDING_UNITS = {
|
814
|
+
thousand: 1e3,
|
815
|
+
tenThousand: 10 * 1e3,
|
816
|
+
million: 1e6,
|
817
|
+
oneHundredMillions: 100 * 1e6,
|
818
|
+
billion: 1e9,
|
819
|
+
trillion: 1e12
|
820
|
+
};
|
821
|
+
const intervalsConfig = {
|
822
|
+
supportedLanguages: ['ru-RU', 'en-US', 'es-LA', 'pt-BR', 'fa-IR'],
|
823
|
+
intervals: [
|
824
|
+
{ startRange: 1, endRange: ROUNDING_UNITS.thousand },
|
825
|
+
{ startRange: ROUNDING_UNITS.thousand, endRange: ROUNDING_UNITS.tenThousand, precision: 1 },
|
826
|
+
{ startRange: ROUNDING_UNITS.tenThousand, endRange: ROUNDING_UNITS.million },
|
827
|
+
{ startRange: ROUNDING_UNITS.million, endRange: ROUNDING_UNITS.million * 10, precision: 1 },
|
828
|
+
{ startRange: ROUNDING_UNITS.million * 10, endRange: ROUNDING_UNITS.billion }
|
829
|
+
]
|
830
|
+
};
|
831
|
+
// tslint:enable:no-magic-numbers
|
663
832
|
class ParsedDigitsInfo {
|
664
833
|
}
|
834
|
+
const defaultValueForGroupingInRULocale = 10000;
|
665
835
|
function parseDigitsInfo(digitsInfo) {
|
666
836
|
const parts = digitsInfo.match(NUMBER_FORMAT_REGEXP);
|
667
837
|
if (parts === null) {
|
@@ -725,19 +895,31 @@ class McDecimalPipe {
|
|
725
895
|
...this.options,
|
726
896
|
...parsedDigitsInfo
|
727
897
|
};
|
898
|
+
if (this.isSpecialFormatForRULocale(currentLocale, value, parsedDigitsInfo?.useGrouping)) {
|
899
|
+
options.useGrouping = false;
|
900
|
+
}
|
728
901
|
try {
|
729
902
|
const num = strToNumber(value);
|
903
|
+
/* Guideline requires for group separator to be `space`, as in 'ru-RU' locale.
|
904
|
+
* But by default in es-LA locale is used `comma`.
|
905
|
+
* To reduce data manipulation, 'ru-RU' locale is used. */
|
906
|
+
if (currentLocale === 'es-LA') {
|
907
|
+
return Intl.NumberFormat.call(this, 'ru-RU', options).format(num);
|
908
|
+
}
|
730
909
|
return Intl.NumberFormat.call(this, currentLocale, options).format(num);
|
731
910
|
}
|
732
911
|
catch (error) {
|
733
912
|
throw Error(`InvalidPipeArgument: McDecimalPipe for pipe '${JSON.stringify(error.message)}'`);
|
734
913
|
}
|
735
914
|
}
|
915
|
+
isSpecialFormatForRULocale(locale, value, grouping) {
|
916
|
+
return ['ru', 'ru-RU'].includes(locale) && grouping === undefined && value < defaultValueForGroupingInRULocale;
|
917
|
+
}
|
918
|
+
/** @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 }); }
|
919
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McDecimalPipe, name: "mcNumber", pure: false }); }
|
920
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McDecimalPipe, providedIn: 'root' }); }
|
736
921
|
}
|
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: [{
|
922
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McDecimalPipe, decorators: [{
|
741
923
|
type: Injectable,
|
742
924
|
args: [{ providedIn: 'root' }]
|
743
925
|
}, {
|
@@ -759,43 +941,237 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
759
941
|
type: Inject,
|
760
942
|
args: [MC_NUMBER_FORMATTER_OPTIONS]
|
761
943
|
}] }]; } });
|
944
|
+
class McTableNumberPipe {
|
945
|
+
constructor(id, localeService, options) {
|
946
|
+
this.id = id;
|
947
|
+
this.localeService = localeService;
|
948
|
+
this.options = options;
|
949
|
+
this.options = this.options || MC_NUMBER_FORMATTER_DEFAULT_OPTIONS;
|
950
|
+
this.localeService?.changes
|
951
|
+
.subscribe((newId) => this.id = newId);
|
952
|
+
}
|
953
|
+
/**
|
954
|
+
* @param value The number to be formatted.
|
955
|
+
* @param digitsInfo Decimal representation options, specified by a string
|
956
|
+
* in the following format:<br>
|
957
|
+
* <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.
|
958
|
+
* - `minIntegerDigits`: The minimum number of integer digits before the decimal point.
|
959
|
+
* Default is `1`.
|
960
|
+
* - `minFractionDigits`: The minimum number of digits after the decimal point.
|
961
|
+
* Default is `0`.
|
962
|
+
* - `maxFractionDigits`: The maximum number of digits after the decimal point.
|
963
|
+
* Default is `3`.
|
964
|
+
* @param locale A locale code for the locale format rules to use.
|
965
|
+
* When not supplied, uses the value of `MC_LOCALE_ID`, which is `ru` by default.
|
966
|
+
*/
|
967
|
+
transform(value, digitsInfo, locale) {
|
968
|
+
if (isEmpty(value)) {
|
969
|
+
return null;
|
970
|
+
}
|
971
|
+
const currentLocale = locale || this.id || MC_DEFAULT_LOCALE_ID;
|
972
|
+
let parsedDigitsInfo;
|
973
|
+
if (digitsInfo) {
|
974
|
+
parsedDigitsInfo = parseDigitsInfo(digitsInfo);
|
975
|
+
}
|
976
|
+
const options = {
|
977
|
+
...this.options,
|
978
|
+
...parsedDigitsInfo
|
979
|
+
};
|
980
|
+
try {
|
981
|
+
const num = strToNumber(value);
|
982
|
+
/* Guideline requires for group separator to be `space`, as in 'ru-RU' locale.
|
983
|
+
* But by default in es-LA locale is used `comma`.
|
984
|
+
* To reduce data manipulation, 'ru-RU' locale is used. */
|
985
|
+
if (currentLocale === 'es-LA') {
|
986
|
+
return Intl.NumberFormat.call(this, 'ru-RU', options).format(num);
|
987
|
+
}
|
988
|
+
return Intl.NumberFormat.call(this, currentLocale, options).format(num);
|
989
|
+
}
|
990
|
+
catch (error) {
|
991
|
+
throw Error(`InvalidPipeArgument: McDecimalPipe for pipe '${JSON.stringify(error.message)}'`);
|
992
|
+
}
|
993
|
+
}
|
994
|
+
/** @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 }); }
|
995
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McTableNumberPipe, name: "mcTableNumber", pure: false }); }
|
996
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McTableNumberPipe, providedIn: 'root' }); }
|
997
|
+
}
|
998
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McTableNumberPipe, decorators: [{
|
999
|
+
type: Injectable,
|
1000
|
+
args: [{ providedIn: 'root' }]
|
1001
|
+
}, {
|
1002
|
+
type: Pipe,
|
1003
|
+
args: [{ name: 'mcTableNumber', pure: false }]
|
1004
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
1005
|
+
type: Optional
|
1006
|
+
}, {
|
1007
|
+
type: Inject,
|
1008
|
+
args: [MC_LOCALE_ID]
|
1009
|
+
}] }, { type: McLocaleService, decorators: [{
|
1010
|
+
type: Optional
|
1011
|
+
}, {
|
1012
|
+
type: Inject,
|
1013
|
+
args: [MC_LOCALE_SERVICE]
|
1014
|
+
}] }, { type: ParsedDigitsInfo, decorators: [{
|
1015
|
+
type: Optional
|
1016
|
+
}, {
|
1017
|
+
type: Inject,
|
1018
|
+
args: [MC_NUMBER_FORMATTER_OPTIONS]
|
1019
|
+
}] }]; } });
|
1020
|
+
function isWithin(startRange, endRange, valueToCheck) {
|
1021
|
+
return startRange <= valueToCheck && valueToCheck < endRange;
|
1022
|
+
}
|
1023
|
+
class McRoundDecimalPipe {
|
1024
|
+
constructor(id, localeService) {
|
1025
|
+
this.id = id;
|
1026
|
+
this.localeService = localeService;
|
1027
|
+
this.localeService?.changes
|
1028
|
+
.subscribe((newId) => this.id = newId);
|
1029
|
+
}
|
1030
|
+
transform(value, locale) {
|
1031
|
+
if (isEmpty(value)) {
|
1032
|
+
return null;
|
1033
|
+
}
|
1034
|
+
const currentLocale = locale || this.id || MC_DEFAULT_LOCALE_ID;
|
1035
|
+
this.roundingOptions = this.localeService.locales[currentLocale].formatters.number.rounding;
|
1036
|
+
try {
|
1037
|
+
const num = strToNumber(value);
|
1038
|
+
const unit = this.calculateUnit(num);
|
1039
|
+
if (!unit) {
|
1040
|
+
return Intl.NumberFormat.call(this, currentLocale, { useGrouping: false }).format(num);
|
1041
|
+
}
|
1042
|
+
let parts = {};
|
1043
|
+
if (intervalsConfig.supportedLanguages.includes(currentLocale)) {
|
1044
|
+
intervalsConfig.intervals
|
1045
|
+
.find(({ startRange, endRange, precision }) => {
|
1046
|
+
const within = isWithin(startRange, endRange, num);
|
1047
|
+
if (within) {
|
1048
|
+
if (precision) {
|
1049
|
+
parts = unit === 'thousand' ?
|
1050
|
+
this.calculatePartsForThousands(num) :
|
1051
|
+
{
|
1052
|
+
num: Math.trunc(num / ROUNDING_UNITS[unit]),
|
1053
|
+
fraction: this.calculateDecimal(num, ROUNDING_UNITS[unit])
|
1054
|
+
};
|
1055
|
+
}
|
1056
|
+
else {
|
1057
|
+
parts = { num: Math.round(num / ROUNDING_UNITS[unit]) };
|
1058
|
+
}
|
1059
|
+
}
|
1060
|
+
return within;
|
1061
|
+
});
|
1062
|
+
}
|
1063
|
+
parts = parts.num ? parts : {
|
1064
|
+
num: Math.trunc(num / ROUNDING_UNITS[unit]),
|
1065
|
+
fraction: this.calculateDecimal(num, ROUNDING_UNITS[unit])
|
1066
|
+
};
|
1067
|
+
Object.keys(parts).forEach((key) => {
|
1068
|
+
parts[key] = Intl.NumberFormat.call(this, currentLocale, { useGrouping: false }).format(parts[key]);
|
1069
|
+
});
|
1070
|
+
const calculatedValue = parts.fraction
|
1071
|
+
? `${parts.num}${this.roundingOptions.groupSeparator}${parts.fraction}`
|
1072
|
+
: `${parts.num}`;
|
1073
|
+
return `${calculatedValue}${this.roundingOptions.separator}${this.roundingOptions[unit]}`;
|
1074
|
+
}
|
1075
|
+
catch (error) {
|
1076
|
+
throw Error(`InvalidPipeArgument: McRoundDecimalPipe for pipe '${JSON.stringify(error.message)}'`);
|
1077
|
+
}
|
1078
|
+
}
|
1079
|
+
calculateDecimal(num, divider) {
|
1080
|
+
/* tslint:disable-next-line:no-magic-numbers */
|
1081
|
+
return Math.round(num / divider % 1 * 10);
|
1082
|
+
}
|
1083
|
+
/**
|
1084
|
+
* 2 * 1000 is a number in the interval of [1500...2500)
|
1085
|
+
*
|
1086
|
+
* 2,0 * 1000 is a number in the interval of [1950...2050)
|
1087
|
+
*/
|
1088
|
+
calculatePartsForThousands(num) {
|
1089
|
+
const dividedValue = num / ROUNDING_UNITS.thousand;
|
1090
|
+
const div = Math.round(dividedValue) * ROUNDING_UNITS.thousand;
|
1091
|
+
const fifty = 50;
|
1092
|
+
return isWithin(div - fifty, div + fifty, num)
|
1093
|
+
? { num: Math.round(dividedValue), fraction: 0 }
|
1094
|
+
: { num: Math.round(dividedValue) };
|
1095
|
+
}
|
1096
|
+
calculateUnit(num) {
|
1097
|
+
let currentUnit;
|
1098
|
+
const localizedOptions = Object.keys(this.roundingOptions);
|
1099
|
+
Object.keys(ROUNDING_UNITS).every((key) => {
|
1100
|
+
if (!localizedOptions.includes(key)) {
|
1101
|
+
return true;
|
1102
|
+
}
|
1103
|
+
if (num / ROUNDING_UNITS[key] >= 1) {
|
1104
|
+
currentUnit = key;
|
1105
|
+
return true;
|
1106
|
+
}
|
1107
|
+
return false;
|
1108
|
+
});
|
1109
|
+
return currentUnit;
|
1110
|
+
}
|
1111
|
+
/** @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 }); }
|
1112
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McRoundDecimalPipe, name: "mcRoundNumber", pure: false }); }
|
1113
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McRoundDecimalPipe, providedIn: 'root' }); }
|
1114
|
+
}
|
1115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McRoundDecimalPipe, decorators: [{
|
1116
|
+
type: Injectable,
|
1117
|
+
args: [{ providedIn: 'root' }]
|
1118
|
+
}, {
|
1119
|
+
type: Pipe,
|
1120
|
+
args: [{ name: 'mcRoundNumber', pure: false }]
|
1121
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
1122
|
+
type: Optional
|
1123
|
+
}, {
|
1124
|
+
type: Inject,
|
1125
|
+
args: [MC_LOCALE_ID]
|
1126
|
+
}] }, { type: McLocaleService, decorators: [{
|
1127
|
+
type: Optional
|
1128
|
+
}, {
|
1129
|
+
type: Inject,
|
1130
|
+
args: [MC_LOCALE_SERVICE]
|
1131
|
+
}] }]; } });
|
762
1132
|
|
763
1133
|
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
|
-
|
1134
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McFormattersModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1135
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McFormattersModule, declarations: [McDecimalPipe,
|
1136
|
+
McRoundDecimalPipe,
|
1137
|
+
McTableNumberPipe,
|
1138
|
+
AbsoluteDateFormatterPipe,
|
1139
|
+
AbsoluteDateTimeFormatterPipe,
|
1140
|
+
AbsoluteDateShortFormatterPipe,
|
1141
|
+
AbsoluteShortDateTimeFormatterPipe,
|
1142
|
+
RelativeDateFormatterPipe,
|
1143
|
+
RelativeDateTimeFormatterPipe,
|
1144
|
+
RelativeShortDateFormatterPipe,
|
1145
|
+
RelativeShortDateTimeFormatterPipe,
|
1146
|
+
RangeDateFormatterPipe,
|
1147
|
+
RangeShortDateFormatterPipe,
|
1148
|
+
RangeDateTimeFormatterPipe,
|
1149
|
+
RangeShortDateTimeFormatterPipe,
|
1150
|
+
RangeMiddleDateTimeFormatterPipe], exports: [McDecimalPipe,
|
1151
|
+
McRoundDecimalPipe,
|
1152
|
+
McTableNumberPipe,
|
1153
|
+
AbsoluteDateFormatterPipe,
|
1154
|
+
AbsoluteDateTimeFormatterPipe,
|
1155
|
+
AbsoluteDateShortFormatterPipe,
|
1156
|
+
AbsoluteShortDateTimeFormatterPipe,
|
1157
|
+
RelativeDateFormatterPipe,
|
1158
|
+
RelativeDateTimeFormatterPipe,
|
1159
|
+
RelativeShortDateFormatterPipe,
|
1160
|
+
RelativeShortDateTimeFormatterPipe,
|
1161
|
+
RangeDateFormatterPipe,
|
1162
|
+
RangeShortDateFormatterPipe,
|
1163
|
+
RangeDateTimeFormatterPipe,
|
1164
|
+
RangeShortDateTimeFormatterPipe,
|
1165
|
+
RangeMiddleDateTimeFormatterPipe] }); }
|
1166
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McFormattersModule, providers: [DateFormatter] }); }
|
1167
|
+
}
|
1168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McFormattersModule, decorators: [{
|
795
1169
|
type: NgModule,
|
796
1170
|
args: [{
|
797
1171
|
declarations: [
|
798
1172
|
McDecimalPipe,
|
1173
|
+
McRoundDecimalPipe,
|
1174
|
+
McTableNumberPipe,
|
799
1175
|
AbsoluteDateFormatterPipe,
|
800
1176
|
AbsoluteDateTimeFormatterPipe,
|
801
1177
|
AbsoluteDateShortFormatterPipe,
|
@@ -812,6 +1188,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
812
1188
|
],
|
813
1189
|
exports: [
|
814
1190
|
McDecimalPipe,
|
1191
|
+
McRoundDecimalPipe,
|
1192
|
+
McTableNumberPipe,
|
815
1193
|
AbsoluteDateFormatterPipe,
|
816
1194
|
AbsoluteDateTimeFormatterPipe,
|
817
1195
|
AbsoluteDateShortFormatterPipe,
|
@@ -848,10 +1226,10 @@ class McFormElement {
|
|
848
1226
|
this.hasLegend = this.element.nativeElement.firstElementChild.classList.contains('mc-form__legend');
|
849
1227
|
}
|
850
1228
|
}
|
1229
|
+
/** @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 }); }
|
1230
|
+
/** @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
1231
|
}
|
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: [{
|
1232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McFormElement, decorators: [{
|
855
1233
|
type: Directive,
|
856
1234
|
args: [{
|
857
1235
|
selector: '.mc-form__row, .mc-form__fieldset, .mc-form__legend',
|
@@ -877,10 +1255,10 @@ class McForm {
|
|
877
1255
|
element.margin = !!(nextElement && !nextElement.hasLegend);
|
878
1256
|
});
|
879
1257
|
}
|
1258
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McForm, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
1259
|
+
/** @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
1260
|
}
|
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: [{
|
1261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McForm, decorators: [{
|
884
1262
|
type: Directive,
|
885
1263
|
args: [{
|
886
1264
|
selector: '.mc-form-vertical, .mc-form-horizontal',
|
@@ -895,13 +1273,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
895
1273
|
}] } });
|
896
1274
|
|
897
1275
|
class McFormsModule {
|
1276
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1277
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McFormsModule, declarations: [McForm,
|
1278
|
+
McFormElement], exports: [McForm,
|
1279
|
+
McFormElement] }); }
|
1280
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McFormsModule }); }
|
898
1281
|
}
|
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: [{
|
1282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McFormsModule, decorators: [{
|
905
1283
|
type: NgModule,
|
906
1284
|
args: [{
|
907
1285
|
exports: [
|
@@ -928,20 +1306,20 @@ class McHighlightPipe {
|
|
928
1306
|
}
|
929
1307
|
return value.replace(new RegExp(`(${escapeRegExp(args)})`, 'gi'), '<mark class="mc-highlight">$1</mark>');
|
930
1308
|
}
|
1309
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McHighlightPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
1310
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McHighlightPipe, name: "mcHighlight" }); }
|
931
1311
|
}
|
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: [{
|
1312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McHighlightPipe, decorators: [{
|
935
1313
|
type: Pipe,
|
936
1314
|
args: [{ name: 'mcHighlight' }]
|
937
1315
|
}] });
|
938
1316
|
|
939
1317
|
class McHighlightModule {
|
1318
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McHighlightModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1319
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McHighlightModule, declarations: [McHighlightPipe], imports: [CommonModule], exports: [McHighlightPipe] }); }
|
1320
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McHighlightModule, imports: [CommonModule] }); }
|
940
1321
|
}
|
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: [{
|
1322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McHighlightModule, decorators: [{
|
945
1323
|
type: NgModule,
|
946
1324
|
args: [{
|
947
1325
|
imports: [CommonModule],
|
@@ -959,10 +1337,10 @@ const MC_LABEL_GLOBAL_OPTIONS = new InjectionToken('mc-label-global-options');
|
|
959
1337
|
* counted by checking the query list's length.
|
960
1338
|
*/
|
961
1339
|
class McLine {
|
1340
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLine, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
1341
|
+
/** @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
1342
|
}
|
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: [{
|
1343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLine, decorators: [{
|
966
1344
|
type: Directive,
|
967
1345
|
args: [{
|
968
1346
|
selector: '[mc-line], [mcLine]',
|
@@ -1008,11 +1386,11 @@ class McLineSetter {
|
|
1008
1386
|
}
|
1009
1387
|
}
|
1010
1388
|
class McLineModule {
|
1389
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1390
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McLineModule, declarations: [McLine], exports: [McLine] }); }
|
1391
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLineModule }); }
|
1011
1392
|
}
|
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: [{
|
1393
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McLineModule, decorators: [{
|
1016
1394
|
type: NgModule,
|
1017
1395
|
args: [{
|
1018
1396
|
imports: [],
|
@@ -1038,10 +1416,10 @@ class McOptgroup extends McOptgroupMixinBase {
|
|
1038
1416
|
/** Unique id for the underlying label. */
|
1039
1417
|
this.labelId = `mc-optgroup-label-${uniqueOptgroupIdCounter++}`;
|
1040
1418
|
}
|
1419
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McOptgroup, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
1420
|
+
/** @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
1421
|
}
|
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: [{
|
1422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McOptgroup, decorators: [{
|
1045
1423
|
type: Component,
|
1046
1424
|
args: [{ selector: 'mc-optgroup', exportAs: 'mcOptgroup', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['disabled'], host: {
|
1047
1425
|
class: 'mc-optgroup',
|
@@ -1079,10 +1457,10 @@ class McPseudoCheckbox extends McPseudoCheckboxMixinBase {
|
|
1079
1457
|
this.state = 'unchecked';
|
1080
1458
|
this.disabled = false;
|
1081
1459
|
}
|
1460
|
+
/** @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 }); }
|
1461
|
+
/** @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
1462
|
}
|
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: [{
|
1463
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McPseudoCheckbox, decorators: [{
|
1086
1464
|
type: Component,
|
1087
1465
|
args: [{ selector: 'mc-pseudo-checkbox', host: {
|
1088
1466
|
class: 'mc-pseudo-checkbox',
|
@@ -1112,26 +1490,49 @@ class McOptionSelectionChange {
|
|
1112
1490
|
* Injection token used to provide the parent component to options.
|
1113
1491
|
*/
|
1114
1492
|
const MC_OPTION_PARENT_COMPONENT = new InjectionToken('MC_OPTION_PARENT_COMPONENT');
|
1493
|
+
class McOptionBase {
|
1494
|
+
/** Emits the selection change event. */
|
1495
|
+
emitSelectionChangeEvent(isUserInput = false) {
|
1496
|
+
this.onSelectionChange.emit(new McOptionSelectionChange(this, isUserInput));
|
1497
|
+
}
|
1498
|
+
}
|
1499
|
+
class McVirtualOption extends McOptionBase {
|
1500
|
+
get disabled() {
|
1501
|
+
return this._disabled;
|
1502
|
+
}
|
1503
|
+
set disabled(value) {
|
1504
|
+
this._disabled = coerceBooleanProperty(value);
|
1505
|
+
}
|
1506
|
+
get selected() {
|
1507
|
+
return this._selected;
|
1508
|
+
}
|
1509
|
+
get viewValue() {
|
1510
|
+
return this.value;
|
1511
|
+
}
|
1512
|
+
constructor(value, _disabled = false) {
|
1513
|
+
super();
|
1514
|
+
this.value = value;
|
1515
|
+
this._disabled = _disabled;
|
1516
|
+
this._selected = false;
|
1517
|
+
this.onSelectionChange = new EventEmitter();
|
1518
|
+
}
|
1519
|
+
select() {
|
1520
|
+
if (!this._selected) {
|
1521
|
+
this._selected = true;
|
1522
|
+
this.emitSelectionChangeEvent();
|
1523
|
+
}
|
1524
|
+
}
|
1525
|
+
deselect() {
|
1526
|
+
if (this._selected) {
|
1527
|
+
this._selected = false;
|
1528
|
+
this.emitSelectionChangeEvent();
|
1529
|
+
}
|
1530
|
+
}
|
1531
|
+
}
|
1115
1532
|
/**
|
1116
1533
|
* Single option inside of a `<mc-select>` element.
|
1117
1534
|
*/
|
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
|
-
}
|
1535
|
+
class McOption extends McOptionBase {
|
1135
1536
|
get showCheckbox() {
|
1136
1537
|
return this._showCheckbox === undefined ? this.multiple : this._showCheckbox;
|
1137
1538
|
}
|
@@ -1171,6 +1572,23 @@ class McOption {
|
|
1171
1572
|
get active() {
|
1172
1573
|
return this._active;
|
1173
1574
|
}
|
1575
|
+
constructor(element, changeDetectorRef, parent, group) {
|
1576
|
+
super();
|
1577
|
+
this.element = element;
|
1578
|
+
this.changeDetectorRef = changeDetectorRef;
|
1579
|
+
this.parent = parent;
|
1580
|
+
this.group = group;
|
1581
|
+
/** Event emitted when the option is selected or deselected. */
|
1582
|
+
// tslint:disable-next-line:no-output-on-prefix
|
1583
|
+
this.onSelectionChange = new EventEmitter();
|
1584
|
+
/** Emits when the state of the option changes and any parents have to be notified. */
|
1585
|
+
this.stateChanges = new Subject();
|
1586
|
+
this._id = `mc-option-${uniqueIdCounter++}`;
|
1587
|
+
this._selected = false;
|
1588
|
+
this._disabled = false;
|
1589
|
+
this._active = false;
|
1590
|
+
this.mostRecentViewValue = '';
|
1591
|
+
}
|
1174
1592
|
ngAfterViewChecked() {
|
1175
1593
|
// Since parent components could be using the option's label to display the selected values
|
1176
1594
|
// (e.g. `mc-select`) and they don't have a way of knowing if the option's label has changed
|
@@ -1246,6 +1664,7 @@ class McOption {
|
|
1246
1664
|
this.selectViaInteraction();
|
1247
1665
|
// Prevent the page from scrolling down and form submits.
|
1248
1666
|
event.preventDefault();
|
1667
|
+
event.stopPropagation();
|
1249
1668
|
}
|
1250
1669
|
}
|
1251
1670
|
/**
|
@@ -1265,16 +1684,12 @@ class McOption {
|
|
1265
1684
|
getHostElement() {
|
1266
1685
|
return this.element.nativeElement;
|
1267
1686
|
}
|
1268
|
-
/**
|
1269
|
-
|
1270
|
-
|
1271
|
-
}
|
1687
|
+
/** @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 }); }
|
1688
|
+
/** @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: [{
|
1689
|
+
provide: MC_TITLE_TEXT_REF, useExisting: McOption
|
1690
|
+
}], 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
1691
|
}
|
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: [{
|
1692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McOption, decorators: [{
|
1278
1693
|
type: Component,
|
1279
1694
|
args: [{ selector: 'mc-option', exportAs: 'mcOption', host: {
|
1280
1695
|
'[attr.tabindex]': 'getTabIndex()',
|
@@ -1355,6 +1770,9 @@ class McOptionActionBase {
|
|
1355
1770
|
/** @docs-private */
|
1356
1771
|
const McOptionActionMixinBase = mixinTabIndex(mixinDisabled(McOptionActionBase));
|
1357
1772
|
class McOptionActionComponent extends McOptionActionMixinBase {
|
1773
|
+
get active() {
|
1774
|
+
return this.hasFocus || !!this.option.dropdownTrigger?.opened;
|
1775
|
+
}
|
1358
1776
|
constructor(elementRef, focusMonitor, option) {
|
1359
1777
|
super();
|
1360
1778
|
this.elementRef = elementRef;
|
@@ -1364,9 +1782,6 @@ class McOptionActionComponent extends McOptionActionMixinBase {
|
|
1364
1782
|
this.destroy = new Subject();
|
1365
1783
|
this.focusMonitor.monitor(this.elementRef.nativeElement);
|
1366
1784
|
}
|
1367
|
-
get active() {
|
1368
|
-
return this.hasFocus || !!this.option.dropdownTrigger?.opened;
|
1369
|
-
}
|
1370
1785
|
ngAfterViewInit() {
|
1371
1786
|
if (!this.option.dropdownTrigger) {
|
1372
1787
|
return;
|
@@ -1428,15 +1843,15 @@ class McOptionActionComponent extends McOptionActionMixinBase {
|
|
1428
1843
|
this.option.tooltipTrigger.disabled = true;
|
1429
1844
|
setTimeout(() => this.option.tooltipTrigger.disabled = false);
|
1430
1845
|
}
|
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: `
|
1846
|
+
/** @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 }); }
|
1847
|
+
/** @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
1848
|
<ng-container [ngSwitch]="!!customIcon">
|
1435
1849
|
<i class="mc mc-icon mc-ellipsis_16" *ngSwitchCase="false"></i>
|
1436
1850
|
<ng-content select="[mc-icon]" *ngSwitchCase="true"></ng-content>
|
1437
1851
|
</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
|
-
|
1852
|
+
`, 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 }); }
|
1853
|
+
}
|
1854
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McOptionActionComponent, decorators: [{
|
1440
1855
|
type: Component,
|
1441
1856
|
args: [{ selector: 'mc-option-action', exportAs: 'mcOptionAction', template: `
|
1442
1857
|
<ng-container [ngSwitch]="!!customIcon">
|
@@ -1468,11 +1883,11 @@ var MultipleMode;
|
|
1468
1883
|
})(MultipleMode || (MultipleMode = {}));
|
1469
1884
|
|
1470
1885
|
class McPseudoCheckboxModule {
|
1886
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McPseudoCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1887
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McPseudoCheckboxModule, declarations: [McPseudoCheckbox], imports: [CommonModule], exports: [McPseudoCheckbox] }); }
|
1888
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McPseudoCheckboxModule, imports: [CommonModule] }); }
|
1471
1889
|
}
|
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: [{
|
1890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McPseudoCheckboxModule, decorators: [{
|
1476
1891
|
type: NgModule,
|
1477
1892
|
args: [{
|
1478
1893
|
imports: [CommonModule],
|
@@ -1482,11 +1897,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
1482
1897
|
}] });
|
1483
1898
|
|
1484
1899
|
class McOptionModule {
|
1900
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1901
|
+
/** @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] }); }
|
1902
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McOptionModule, imports: [CommonModule, McPseudoCheckboxModule] }); }
|
1485
1903
|
}
|
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: [{
|
1904
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McOptionModule, decorators: [{
|
1490
1905
|
type: NgModule,
|
1491
1906
|
args: [{
|
1492
1907
|
imports: [CommonModule, McPseudoCheckboxModule],
|
@@ -1724,6 +2139,11 @@ const POSITION_TO_CSS_MAP = {
|
|
1724
2139
|
bottomLeft: 'bottom-left',
|
1725
2140
|
bottomRight: 'bottom-right'
|
1726
2141
|
};
|
2142
|
+
const MC_CUSTOM_SCROLL_STRATEGY_PROVIDER = (token, factory) => ({
|
2143
|
+
provide: token,
|
2144
|
+
deps: [Overlay],
|
2145
|
+
useFactory: factory
|
2146
|
+
});
|
1727
2147
|
function arrayMap(array, iteratee) {
|
1728
2148
|
let index = -1;
|
1729
2149
|
const length = array === null ? 0 : array.length;
|
@@ -1766,6 +2186,7 @@ var PopUpTriggers;
|
|
1766
2186
|
PopUpTriggers["Click"] = "click";
|
1767
2187
|
PopUpTriggers["Focus"] = "focus";
|
1768
2188
|
PopUpTriggers["Hover"] = "hover";
|
2189
|
+
PopUpTriggers["Keydown"] = "keydown";
|
1769
2190
|
})(PopUpTriggers || (PopUpTriggers = {}));
|
1770
2191
|
var PopUpSizes;
|
1771
2192
|
(function (PopUpSizes) {
|
@@ -1859,10 +2280,10 @@ class McPopUp {
|
|
1859
2280
|
this.hide(0);
|
1860
2281
|
}
|
1861
2282
|
}
|
2283
|
+
/** @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 }); }
|
2284
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: McPopUp, ngImport: i0 }); }
|
1862
2285
|
}
|
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: [{
|
2286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McPopUp, decorators: [{
|
1866
2287
|
type: Directive
|
1867
2288
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
1868
2289
|
|
@@ -2044,6 +2465,15 @@ class McPopUpTrigger {
|
|
2044
2465
|
.set('blur', () => this.hide())
|
2045
2466
|
.forEach(this.addEventListener);
|
2046
2467
|
}
|
2468
|
+
if (this.trigger.includes(PopUpTriggers.Keydown)) {
|
2469
|
+
this.listeners
|
2470
|
+
.set('keydown', (event) => {
|
2471
|
+
if (event instanceof KeyboardEvent && [ENTER, SPACE].includes(event.keyCode)) {
|
2472
|
+
this.show();
|
2473
|
+
}
|
2474
|
+
})
|
2475
|
+
.forEach(this.addEventListener);
|
2476
|
+
}
|
2047
2477
|
}
|
2048
2478
|
/** Updates the position of the current popover. */
|
2049
2479
|
updatePosition(reapplyPosition = false) {
|
@@ -2093,10 +2523,10 @@ class McPopUpTrigger {
|
|
2093
2523
|
this.hide();
|
2094
2524
|
});
|
2095
2525
|
}
|
2526
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McPopUpTrigger, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
2527
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: McPopUpTrigger, ngImport: i0 }); }
|
2096
2528
|
}
|
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: [{
|
2529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McPopUpTrigger, decorators: [{
|
2100
2530
|
type: Directive
|
2101
2531
|
}], 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
2532
|
|
@@ -2154,6 +2584,13 @@ const MC_SELECT_SCROLL_STRATEGY_PROVIDER = {
|
|
2154
2584
|
};
|
2155
2585
|
|
2156
2586
|
class McMeasureScrollbarService {
|
2587
|
+
get scrollBarWidth() {
|
2588
|
+
if (this._scrollBarWidth) {
|
2589
|
+
return this._scrollBarWidth;
|
2590
|
+
}
|
2591
|
+
this.initScrollBarWidth();
|
2592
|
+
return this._scrollBarWidth;
|
2593
|
+
}
|
2157
2594
|
constructor(document) {
|
2158
2595
|
this.document = document;
|
2159
2596
|
this.scrollbarMeasure = {
|
@@ -2165,13 +2602,6 @@ class McMeasureScrollbarService {
|
|
2165
2602
|
};
|
2166
2603
|
this.initScrollBarWidth();
|
2167
2604
|
}
|
2168
|
-
get scrollBarWidth() {
|
2169
|
-
if (this._scrollBarWidth) {
|
2170
|
-
return this._scrollBarWidth;
|
2171
|
-
}
|
2172
|
-
this.initScrollBarWidth();
|
2173
|
-
return this._scrollBarWidth;
|
2174
|
-
}
|
2175
2605
|
initScrollBarWidth() {
|
2176
2606
|
const scrollDiv = this.document.createElement('div');
|
2177
2607
|
// tslint:disable-next-line
|
@@ -2185,10 +2615,10 @@ class McMeasureScrollbarService {
|
|
2185
2615
|
this.document.body.removeChild(scrollDiv);
|
2186
2616
|
this._scrollBarWidth = width;
|
2187
2617
|
}
|
2618
|
+
/** @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 }); }
|
2619
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McMeasureScrollbarService, providedIn: 'root' }); }
|
2188
2620
|
}
|
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: [{
|
2621
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McMeasureScrollbarService, decorators: [{
|
2192
2622
|
type: Injectable,
|
2193
2623
|
args: [{
|
2194
2624
|
providedIn: 'root'
|
@@ -2279,21 +2709,21 @@ class McDataSizePipe {
|
|
2279
2709
|
const { value, unit } = formatDataSize(source, measurementSystem, precision);
|
2280
2710
|
return `${value} ${unit}`;
|
2281
2711
|
}
|
2712
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McDataSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
2713
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McDataSizePipe, name: "mcDataSize" }); }
|
2282
2714
|
}
|
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: [{
|
2715
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McDataSizePipe, decorators: [{
|
2286
2716
|
type: Pipe,
|
2287
2717
|
args: [{
|
2288
2718
|
name: 'mcDataSize'
|
2289
2719
|
}]
|
2290
2720
|
}] });
|
2291
2721
|
class McDataSizeModule {
|
2722
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McDataSizeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
2723
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McDataSizeModule, declarations: [McDataSizePipe], exports: [McDataSizePipe] }); }
|
2724
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McDataSizeModule }); }
|
2292
2725
|
}
|
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: [{
|
2726
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McDataSizeModule, decorators: [{
|
2297
2727
|
type: NgModule,
|
2298
2728
|
args: [{
|
2299
2729
|
imports: [],
|
@@ -2306,11 +2736,11 @@ const validationTooltipShowDelay = 10;
|
|
2306
2736
|
const validationTooltipHideDelay = 3000;
|
2307
2737
|
const MC_VALIDATION = new InjectionToken('McUseValidation', { factory: () => ({ useValidation: true }) });
|
2308
2738
|
|
2309
|
-
const VERSION = new Version('
|
2739
|
+
const VERSION = new Version('16.1.0+sha-2948d7e');
|
2310
2740
|
|
2311
2741
|
/**
|
2312
2742
|
* Generated bundle index. Do not edit.
|
2313
2743
|
*/
|
2314
2744
|
|
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 };
|
2745
|
+
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
2746
|
//# sourceMappingURL=ptsecurity-mosaic-core.mjs.map
|