@taiga-ui/kit 4.52.0-canary.536e4ff → 4.52.0-canary.698642f
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/components/avatar/avatar.component.d.ts +1 -1
- package/components/badge/badge.directive.d.ts +1 -1
- package/components/input-color/input-color.component.d.ts +2 -1
- package/components/input-number/quantum.directive.d.ts +1 -1
- package/components/line-clamp/line-clamp.component.d.ts +6 -10
- package/components/segmented/segmented.component.d.ts +4 -4
- package/components/tree/components/tree-item/tree-item.component.d.ts +1 -1
- package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +1 -6
- package/directives/index.d.ts +0 -1
- package/fesm2022/taiga-ui-kit-components-accordion.mjs +16 -17
- package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-avatar.mjs +41 -42
- package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge.mjs +10 -9
- package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-block.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +8 -10
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-button-loading.mjs +4 -5
- package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +6 -8
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +10 -10
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-carousel.mjs +21 -23
- package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-chip.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-comment.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-compass.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-confirm.mjs +9 -9
- package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +11 -12
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-drawer.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-files.mjs +31 -41
- package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-filter.mjs +6 -15
- package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-floating-container.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs +12 -14
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-color.mjs +11 -12
- package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +8 -9
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date.mjs +13 -14
- package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month.mjs +9 -10
- package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-number.mjs +23 -23
- package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-password.mjs +5 -6
- package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +9 -12
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs +9 -10
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-range.mjs +8 -16
- package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-time.mjs +12 -12
- package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-year.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +18 -18
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-like.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +33 -39
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-message.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs +36 -34
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +14 -14
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pager.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pagination.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +11 -11
- package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pin.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +11 -11
- package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview.mjs +33 -35
- package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-progress.mjs +28 -28
- package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pulse.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-push.mjs +20 -20
- package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs +7 -8
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio.mjs +9 -9
- package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-range.mjs +9 -9
- package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-rating.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-segmented.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-select.mjs +17 -17
- package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-slider.mjs +21 -22
- package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-slides.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-slides.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-status.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-stepper.mjs +12 -12
- package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-switch.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tabs.mjs +23 -25
- package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-textarea.mjs +15 -16
- package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tiles.mjs +13 -13
- package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tree.mjs +35 -51
- package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-close.mjs +3 -3
- package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs +7 -7
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-select.mjs +3 -3
- package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs +8 -8
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-connected.mjs +8 -8
- package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-copy.mjs +11 -10
- package/fesm2022/taiga-ui-kit-directives-copy.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +4 -4
- package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-fade.mjs +9 -9
- package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +4 -4
- package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-highlight.mjs +5 -5
- package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +8 -9
- package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-password.mjs +5 -5
- package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-present.mjs +4 -4
- package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +8 -8
- package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +8 -8
- package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +7 -7
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +8 -8
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +4 -4
- package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +4 -4
- package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives.mjs +0 -1
- package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-field-error.mjs +7 -7
- package/fesm2022/taiga-ui-kit-pipes-field-error.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-tokens.mjs +3 -3
- package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-utils.mjs +1 -1
- package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
- package/package.json +41 -257
- package/styles/components/badge.less +3 -18
- package/styles/components/block.less +1 -1
- package/styles/components/checkbox.less +5 -6
- package/styles/components/chip.less +1 -1
- package/styles/components/like.less +13 -10
- package/styles/components/radio.less +1 -1
- package/styles/components/switch.less +5 -5
- package/directives/icon-badge/icon-badge.directive.d.ts +0 -9
- package/directives/icon-badge/index.d.ts +0 -1
- package/esm2022/components/accordion/accordion-item-content.directive.mjs +0 -16
- package/esm2022/components/accordion/accordion-item-eager-content.directive.mjs +0 -15
- package/esm2022/components/accordion/accordion-item.component.mjs +0 -85
- package/esm2022/components/accordion/accordion.directive.mjs +0 -56
- package/esm2022/components/accordion/accordion.mjs +0 -11
- package/esm2022/components/accordion/index.mjs +0 -6
- package/esm2022/components/accordion/taiga-ui-kit-components-accordion.mjs +0 -5
- package/esm2022/components/action-bar/action-bar.component.mjs +0 -36
- package/esm2022/components/action-bar/action-bar.directive.mjs +0 -17
- package/esm2022/components/action-bar/action-bar.mjs +0 -4
- package/esm2022/components/action-bar/index.mjs +0 -4
- package/esm2022/components/action-bar/taiga-ui-kit-components-action-bar.mjs +0 -5
- package/esm2022/components/avatar/avatar-labeled.component.mjs +0 -47
- package/esm2022/components/avatar/avatar-outline.directive.mjs +0 -41
- package/esm2022/components/avatar/avatar-stack.component.mjs +0 -19
- package/esm2022/components/avatar/avatar.component.mjs +0 -59
- package/esm2022/components/avatar/avatar.options.mjs +0 -14
- package/esm2022/components/avatar/index.mjs +0 -6
- package/esm2022/components/avatar/taiga-ui-kit-components-avatar.mjs +0 -5
- package/esm2022/components/badge/badge.directive.mjs +0 -42
- package/esm2022/components/badge/badge.options.mjs +0 -13
- package/esm2022/components/badge/index.mjs +0 -3
- package/esm2022/components/badge/taiga-ui-kit-components-badge.mjs +0 -5
- package/esm2022/components/badge-notification/badge-notification.component.mjs +0 -22
- package/esm2022/components/badge-notification/badge-notification.options.mjs +0 -12
- package/esm2022/components/badge-notification/index.mjs +0 -3
- package/esm2022/components/badge-notification/taiga-ui-kit-components-badge-notification.mjs +0 -5
- package/esm2022/components/badged-content/badge-content.mjs +0 -7
- package/esm2022/components/badged-content/badged-content.component.mjs +0 -30
- package/esm2022/components/badged-content/badged-content.directive.mjs +0 -20
- package/esm2022/components/badged-content/index.mjs +0 -4
- package/esm2022/components/badged-content/taiga-ui-kit-components-badged-content.mjs +0 -5
- package/esm2022/components/block/block.directive.mjs +0 -58
- package/esm2022/components/block/block.options.mjs +0 -13
- package/esm2022/components/block/index.mjs +0 -3
- package/esm2022/components/block/taiga-ui-kit-components-block.mjs +0 -5
- package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +0 -69
- package/esm2022/components/breadcrumbs/breadcrumbs.options.mjs +0 -14
- package/esm2022/components/breadcrumbs/index.mjs +0 -3
- package/esm2022/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.mjs +0 -5
- package/esm2022/components/button-loading/button-loading.component.mjs +0 -70
- package/esm2022/components/button-loading/index.mjs +0 -2
- package/esm2022/components/button-loading/taiga-ui-kit-components-button-loading.mjs +0 -5
- package/esm2022/components/calendar-month/calendar-month.component.mjs +0 -186
- package/esm2022/components/calendar-month/calendar-month.options.mjs +0 -6
- package/esm2022/components/calendar-month/index.mjs +0 -3
- package/esm2022/components/calendar-month/taiga-ui-kit-components-calendar-month.mjs +0 -5
- package/esm2022/components/calendar-range/calculate-disabled-item-handler.mjs +0 -12
- package/esm2022/components/calendar-range/calendar-range.component.mjs +0 -224
- package/esm2022/components/calendar-range/day-caps-mapper.mjs +0 -26
- package/esm2022/components/calendar-range/day-range-period.mjs +0 -36
- package/esm2022/components/calendar-range/index.mjs +0 -5
- package/esm2022/components/calendar-range/taiga-ui-kit-components-calendar-range.mjs +0 -5
- package/esm2022/components/carousel/carousel-autoscroll.directive.mjs +0 -21
- package/esm2022/components/carousel/carousel-buttons.directive.mjs +0 -27
- package/esm2022/components/carousel/carousel-scroll.directive.mjs +0 -27
- package/esm2022/components/carousel/carousel.component.mjs +0 -166
- package/esm2022/components/carousel/carousel.directive.mjs +0 -37
- package/esm2022/components/carousel/carousel.mjs +0 -15
- package/esm2022/components/carousel/index.mjs +0 -7
- package/esm2022/components/carousel/taiga-ui-kit-components-carousel.mjs +0 -5
- package/esm2022/components/checkbox/checkbox.component.mjs +0 -74
- package/esm2022/components/checkbox/checkbox.options.mjs +0 -17
- package/esm2022/components/checkbox/index.mjs +0 -3
- package/esm2022/components/checkbox/taiga-ui-kit-components-checkbox.mjs +0 -5
- package/esm2022/components/chip/chip.directive.mjs +0 -63
- package/esm2022/components/chip/chip.options.mjs +0 -13
- package/esm2022/components/chip/index.mjs +0 -3
- package/esm2022/components/chip/taiga-ui-kit-components-chip.mjs +0 -5
- package/esm2022/components/combo-box/combo-box.directive.mjs +0 -139
- package/esm2022/components/combo-box/index.mjs +0 -2
- package/esm2022/components/combo-box/taiga-ui-kit-components-combo-box.mjs +0 -5
- package/esm2022/components/comment/comment.directive.mjs +0 -35
- package/esm2022/components/comment/index.mjs +0 -2
- package/esm2022/components/comment/taiga-ui-kit-components-comment.mjs +0 -5
- package/esm2022/components/compass/compass.component.mjs +0 -19
- package/esm2022/components/compass/index.mjs +0 -2
- package/esm2022/components/compass/taiga-ui-kit-components-compass.mjs +0 -5
- package/esm2022/components/confirm/confirm.component.mjs +0 -28
- package/esm2022/components/confirm/confirm.service.mjs +0 -32
- package/esm2022/components/confirm/index.mjs +0 -3
- package/esm2022/components/confirm/taiga-ui-kit-components-confirm.mjs +0 -5
- package/esm2022/components/data-list-wrapper/data-list-group-wrapper.component.mjs +0 -25
- package/esm2022/components/data-list-wrapper/data-list-wrapper.component.mjs +0 -86
- package/esm2022/components/data-list-wrapper/data-list-wrapper.module.mjs +0 -9
- package/esm2022/components/data-list-wrapper/index.mjs +0 -4
- package/esm2022/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.mjs +0 -5
- package/esm2022/components/drawer/drawer.component.mjs +0 -44
- package/esm2022/components/drawer/index.mjs +0 -2
- package/esm2022/components/drawer/taiga-ui-kit-components-drawer.mjs +0 -5
- package/esm2022/components/elastic-container/elastic-container.component.mjs +0 -28
- package/esm2022/components/elastic-container/elastic-container.directive.mjs +0 -48
- package/esm2022/components/elastic-container/index.mjs +0 -3
- package/esm2022/components/elastic-container/taiga-ui-kit-components-elastic-container.mjs +0 -5
- package/esm2022/components/files/file/file.component.mjs +0 -144
- package/esm2022/components/files/file/file.options.mjs +0 -16
- package/esm2022/components/files/files/files.component.mjs +0 -56
- package/esm2022/components/files/files.mjs +0 -15
- package/esm2022/components/files/files.types.mjs +0 -2
- package/esm2022/components/files/files.utils.mjs +0 -30
- package/esm2022/components/files/files.validators.mjs +0 -32
- package/esm2022/components/files/index.mjs +0 -13
- package/esm2022/components/files/input-files/input-files-validator.directive.mjs +0 -45
- package/esm2022/components/files/input-files/input-files.component.mjs +0 -70
- package/esm2022/components/files/input-files/input-files.content.mjs +0 -73
- package/esm2022/components/files/input-files/input-files.directive.mjs +0 -77
- package/esm2022/components/files/input-files/input-files.options.mjs +0 -19
- package/esm2022/components/files/pipes/file-rejected.pipe.mjs +0 -51
- package/esm2022/components/files/taiga-ui-kit-components-files.mjs +0 -5
- package/esm2022/components/filter/filter.component.mjs +0 -65
- package/esm2022/components/filter/index.mjs +0 -2
- package/esm2022/components/filter/taiga-ui-kit-components-filter.mjs +0 -5
- package/esm2022/components/floating-container/floating-container.directive.mjs +0 -37
- package/esm2022/components/floating-container/index.mjs +0 -2
- package/esm2022/components/floating-container/taiga-ui-kit-components-floating-container.mjs +0 -5
- package/esm2022/components/index.mjs +0 -73
- package/esm2022/components/input-chip/index.mjs +0 -5
- package/esm2022/components/input-chip/input-chip.component.mjs +0 -101
- package/esm2022/components/input-chip/input-chip.directive.mjs +0 -138
- package/esm2022/components/input-chip/input-chip.mjs +0 -4
- package/esm2022/components/input-chip/input-chip.options.mjs +0 -7
- package/esm2022/components/input-chip/taiga-ui-kit-components-input-chip.mjs +0 -5
- package/esm2022/components/input-color/index.mjs +0 -3
- package/esm2022/components/input-color/input-color.component.mjs +0 -89
- package/esm2022/components/input-color/input-color.options.mjs +0 -6
- package/esm2022/components/input-color/taiga-ui-kit-components-input-color.mjs +0 -5
- package/esm2022/components/input-date/date-filler.mjs +0 -20
- package/esm2022/components/input-date/index.mjs +0 -6
- package/esm2022/components/input-date/input-date.component.mjs +0 -33
- package/esm2022/components/input-date/input-date.directive.mjs +0 -167
- package/esm2022/components/input-date/input-date.mjs +0 -9
- package/esm2022/components/input-date/input-date.options.mjs +0 -11
- package/esm2022/components/input-date/taiga-ui-kit-components-input-date.mjs +0 -5
- package/esm2022/components/input-date-multi/index.mjs +0 -3
- package/esm2022/components/input-date-multi/input-date-multi.directive.mjs +0 -123
- package/esm2022/components/input-date-multi/input-date-multi.mjs +0 -9
- package/esm2022/components/input-date-multi/taiga-ui-kit-components-input-date-multi.mjs +0 -5
- package/esm2022/components/input-date-range/index.mjs +0 -4
- package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -79
- package/esm2022/components/input-date-range/input-date-range.mjs +0 -4
- package/esm2022/components/input-date-range/input-date-range.options.mjs +0 -12
- package/esm2022/components/input-date-range/taiga-ui-kit-components-input-date-range.mjs +0 -5
- package/esm2022/components/input-date-time/index.mjs +0 -5
- package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -35
- package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -178
- package/esm2022/components/input-date-time/input-date-time.mjs +0 -9
- package/esm2022/components/input-date-time/input-date-time.options.mjs +0 -20
- package/esm2022/components/input-date-time/taiga-ui-kit-components-input-date-time.mjs +0 -5
- package/esm2022/components/input-inline/index.mjs +0 -2
- package/esm2022/components/input-inline/input-inline.component.mjs +0 -23
- package/esm2022/components/input-inline/taiga-ui-kit-components-input-inline.mjs +0 -5
- package/esm2022/components/input-month/index.mjs +0 -5
- package/esm2022/components/input-month/input-month.component.mjs +0 -53
- package/esm2022/components/input-month/input-month.directive.mjs +0 -65
- package/esm2022/components/input-month/input-month.mjs +0 -9
- package/esm2022/components/input-month/input-month.options.mjs +0 -19
- package/esm2022/components/input-month/taiga-ui-kit-components-input-month.mjs +0 -5
- package/esm2022/components/input-month-range/index.mjs +0 -4
- package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -86
- package/esm2022/components/input-month-range/input-month-range.mjs +0 -7
- package/esm2022/components/input-month-range/input-month-range.options.mjs +0 -13
- package/esm2022/components/input-month-range/taiga-ui-kit-components-input-month-range.mjs +0 -5
- package/esm2022/components/input-number/index.mjs +0 -6
- package/esm2022/components/input-number/input-number.directive.mjs +0 -196
- package/esm2022/components/input-number/input-number.mjs +0 -9
- package/esm2022/components/input-number/input-number.options.mjs +0 -15
- package/esm2022/components/input-number/quantum.directive.mjs +0 -68
- package/esm2022/components/input-number/step/input-number-step.component.mjs +0 -58
- package/esm2022/components/input-number/taiga-ui-kit-components-input-number.mjs +0 -5
- package/esm2022/components/input-password/index.mjs +0 -3
- package/esm2022/components/input-password/input-password.component.mjs +0 -69
- package/esm2022/components/input-password/input-password.options.mjs +0 -24
- package/esm2022/components/input-password/taiga-ui-kit-components-input-password.mjs +0 -5
- package/esm2022/components/input-phone/index.mjs +0 -3
- package/esm2022/components/input-phone/input-phone.directive.mjs +0 -137
- package/esm2022/components/input-phone/input-phone.options.mjs +0 -9
- package/esm2022/components/input-phone/taiga-ui-kit-components-input-phone.mjs +0 -5
- package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
- package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
- package/esm2022/components/input-phone-international/index.mjs +0 -3
- package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -210
- package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -19
- package/esm2022/components/input-phone-international/taiga-ui-kit-components-input-phone-international.mjs +0 -5
- package/esm2022/components/input-pin/index.mjs +0 -2
- package/esm2022/components/input-pin/input-pin.component.mjs +0 -66
- package/esm2022/components/input-pin/taiga-ui-kit-components-input-pin.mjs +0 -5
- package/esm2022/components/input-range/index.mjs +0 -3
- package/esm2022/components/input-range/input-range.component.mjs +0 -166
- package/esm2022/components/input-range/input-range.mjs +0 -4
- package/esm2022/components/input-range/taiga-ui-kit-components-input-range.mjs +0 -5
- package/esm2022/components/input-slider/index.mjs +0 -3
- package/esm2022/components/input-slider/input-slider.directive.mjs +0 -114
- package/esm2022/components/input-slider/input-slider.mjs +0 -9
- package/esm2022/components/input-slider/taiga-ui-kit-components-input-slider.mjs +0 -5
- package/esm2022/components/input-time/index.mjs +0 -5
- package/esm2022/components/input-time/input-time.component.mjs +0 -64
- package/esm2022/components/input-time/input-time.directive.mjs +0 -159
- package/esm2022/components/input-time/input-time.mjs +0 -4
- package/esm2022/components/input-time/input-time.options.mjs +0 -10
- package/esm2022/components/input-time/taiga-ui-kit-components-input-time.mjs +0 -5
- package/esm2022/components/input-year/index.mjs +0 -4
- package/esm2022/components/input-year/input-year.directive.mjs +0 -103
- package/esm2022/components/input-year/input-year.mjs +0 -4
- package/esm2022/components/input-year/input-year.options.mjs +0 -12
- package/esm2022/components/input-year/taiga-ui-kit-components-input-year.mjs +0 -5
- package/esm2022/components/items-with-more/index.mjs +0 -6
- package/esm2022/components/items-with-more/items-with-more.component.mjs +0 -77
- package/esm2022/components/items-with-more/items-with-more.directive.mjs +0 -46
- package/esm2022/components/items-with-more/items-with-more.mjs +0 -11
- package/esm2022/components/items-with-more/items-with-more.service.mjs +0 -85
- package/esm2022/components/items-with-more/more.directive.mjs +0 -18
- package/esm2022/components/items-with-more/taiga-ui-kit-components-items-with-more.mjs +0 -5
- package/esm2022/components/like/index.mjs +0 -3
- package/esm2022/components/like/like.component.mjs +0 -46
- package/esm2022/components/like/like.options.mjs +0 -10
- package/esm2022/components/like/taiga-ui-kit-components-like.mjs +0 -5
- package/esm2022/components/line-clamp/index.mjs +0 -4
- package/esm2022/components/line-clamp/line-clamp-box.component.mjs +0 -25
- package/esm2022/components/line-clamp/line-clamp-position.directive.mjs +0 -27
- package/esm2022/components/line-clamp/line-clamp.component.mjs +0 -95
- package/esm2022/components/line-clamp/line-clamp.options.mjs +0 -15
- package/esm2022/components/line-clamp/taiga-ui-kit-components-line-clamp.mjs +0 -5
- package/esm2022/components/message/index.mjs +0 -2
- package/esm2022/components/message/message.directive.mjs +0 -43
- package/esm2022/components/message/taiga-ui-kit-components-message.mjs +0 -5
- package/esm2022/components/multi-select/index.mjs +0 -6
- package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -50
- package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -18
- package/esm2022/components/multi-select/multi-select-native/multi-select-native.component.mjs +0 -56
- package/esm2022/components/multi-select/multi-select-option/multi-select-option.component.mjs +0 -47
- package/esm2022/components/multi-select/multi-select.mjs +0 -9
- package/esm2022/components/multi-select/taiga-ui-kit-components-multi-select.mjs +0 -5
- package/esm2022/components/notification-middle/index.mjs +0 -4
- package/esm2022/components/notification-middle/notification-middle.component.mjs +0 -57
- package/esm2022/components/notification-middle/notification-middle.directive.mjs +0 -21
- package/esm2022/components/notification-middle/notification-middle.service.mjs +0 -22
- package/esm2022/components/notification-middle/taiga-ui-kit-components-notification-middle.mjs +0 -5
- package/esm2022/components/pager/index.mjs +0 -2
- package/esm2022/components/pager/pager.component.mjs +0 -97
- package/esm2022/components/pager/taiga-ui-kit-components-pager.mjs +0 -5
- package/esm2022/components/pagination/index.mjs +0 -2
- package/esm2022/components/pagination/pagination.component.mjs +0 -213
- package/esm2022/components/pagination/taiga-ui-kit-components-pagination.mjs +0 -5
- package/esm2022/components/pdf-viewer/index.mjs +0 -5
- package/esm2022/components/pdf-viewer/pdf-viewer.component.mjs +0 -28
- package/esm2022/components/pdf-viewer/pdf-viewer.directive.mjs +0 -21
- package/esm2022/components/pdf-viewer/pdf-viewer.options.mjs +0 -17
- package/esm2022/components/pdf-viewer/pdf-viewer.service.mjs +0 -22
- package/esm2022/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.mjs +0 -5
- package/esm2022/components/pin/index.mjs +0 -2
- package/esm2022/components/pin/pin.directive.mjs +0 -35
- package/esm2022/components/pin/taiga-ui-kit-components-pin.mjs +0 -5
- package/esm2022/components/preview/action/preview-action.directive.mjs +0 -30
- package/esm2022/components/preview/dialog/index.mjs +0 -4
- package/esm2022/components/preview/dialog/preview-dialog.component.mjs +0 -28
- package/esm2022/components/preview/dialog/preview-dialog.directive.mjs +0 -21
- package/esm2022/components/preview/dialog/preview-dialog.service.mjs +0 -18
- package/esm2022/components/preview/dialog/taiga-ui-kit-components-preview-dialog.mjs +0 -5
- package/esm2022/components/preview/index.mjs +0 -8
- package/esm2022/components/preview/pagination/preview-pagination.component.mjs +0 -49
- package/esm2022/components/preview/preview.component.mjs +0 -142
- package/esm2022/components/preview/preview.mjs +0 -13
- package/esm2022/components/preview/taiga-ui-kit-components-preview.mjs +0 -5
- package/esm2022/components/preview/title/preview-title.component.mjs +0 -16
- package/esm2022/components/preview/zoom/preview-zoom.component.mjs +0 -81
- package/esm2022/components/progress/index.mjs +0 -9
- package/esm2022/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.mjs +0 -39
- package/esm2022/components/progress/progress-bar/progress-bar.component.mjs +0 -25
- package/esm2022/components/progress/progress-bar/progress-color-segments.directive.mjs +0 -40
- package/esm2022/components/progress/progress-circle/progress-circle.component.mjs +0 -45
- package/esm2022/components/progress/progress-label/progress-label.component.mjs +0 -12
- package/esm2022/components/progress/progress-segmented/progress-segmented.directive.mjs +0 -34
- package/esm2022/components/progress/progress.mjs +0 -15
- package/esm2022/components/progress/progress.options.mjs +0 -13
- package/esm2022/components/progress/taiga-ui-kit-components-progress.mjs +0 -5
- package/esm2022/components/pulse/index.mjs +0 -2
- package/esm2022/components/pulse/pulse.component.mjs +0 -34
- package/esm2022/components/pulse/taiga-ui-kit-components-pulse.mjs +0 -5
- package/esm2022/components/push/index.mjs +0 -7
- package/esm2022/components/push/push-alert.component.mjs +0 -29
- package/esm2022/components/push/push.component.mjs +0 -39
- package/esm2022/components/push/push.directive.mjs +0 -33
- package/esm2022/components/push/push.mjs +0 -5
- package/esm2022/components/push/push.options.mjs +0 -21
- package/esm2022/components/push/push.service.mjs +0 -19
- package/esm2022/components/push/taiga-ui-kit-components-push.mjs +0 -5
- package/esm2022/components/radio/index.mjs +0 -5
- package/esm2022/components/radio/radio.component.mjs +0 -53
- package/esm2022/components/radio/radio.directive.mjs +0 -32
- package/esm2022/components/radio/radio.mjs +0 -4
- package/esm2022/components/radio/radio.options.mjs +0 -13
- package/esm2022/components/radio/taiga-ui-kit-components-radio.mjs +0 -5
- package/esm2022/components/radio-list/index.mjs +0 -2
- package/esm2022/components/radio-list/radio-list.component.mjs +0 -64
- package/esm2022/components/radio-list/taiga-ui-kit-components-radio-list.mjs +0 -5
- package/esm2022/components/range/index.mjs +0 -3
- package/esm2022/components/range/range-change.directive.mjs +0 -78
- package/esm2022/components/range/range.component.mjs +0 -164
- package/esm2022/components/range/taiga-ui-kit-components-range.mjs +0 -5
- package/esm2022/components/rating/index.mjs +0 -3
- package/esm2022/components/rating/rating.component.mjs +0 -64
- package/esm2022/components/rating/rating.options.mjs +0 -13
- package/esm2022/components/rating/taiga-ui-kit-components-rating.mjs +0 -5
- package/esm2022/components/routable-dialog/generate-dialogable-route.mjs +0 -17
- package/esm2022/components/routable-dialog/index.mjs +0 -3
- package/esm2022/components/routable-dialog/routable-dialog.component.mjs +0 -53
- package/esm2022/components/routable-dialog/taiga-ui-kit-components-routable-dialog.mjs +0 -5
- package/esm2022/components/segmented/index.mjs +0 -3
- package/esm2022/components/segmented/segmented.component.mjs +0 -67
- package/esm2022/components/segmented/segmented.directive.mjs +0 -65
- package/esm2022/components/segmented/taiga-ui-kit-components-segmented.mjs +0 -5
- package/esm2022/components/select/index.mjs +0 -5
- package/esm2022/components/select/native-select/native-select.component.mjs +0 -57
- package/esm2022/components/select/select-option/select-option.component.mjs +0 -51
- package/esm2022/components/select/select.directive.mjs +0 -56
- package/esm2022/components/select/select.mjs +0 -4
- package/esm2022/components/select/taiga-ui-kit-components-select.mjs +0 -5
- package/esm2022/components/slider/helpers/key-steps.mjs +0 -36
- package/esm2022/components/slider/helpers/slider-key-steps.directive.mjs +0 -110
- package/esm2022/components/slider/helpers/slider-readonly.directive.mjs +0 -75
- package/esm2022/components/slider/helpers/slider-thumb-label.component.mjs +0 -38
- package/esm2022/components/slider/index.mjs +0 -8
- package/esm2022/components/slider/slider.component.mjs +0 -124
- package/esm2022/components/slider/slider.mjs +0 -12
- package/esm2022/components/slider/slider.options.mjs +0 -16
- package/esm2022/components/slider/taiga-ui-kit-components-slider.mjs +0 -5
- package/esm2022/components/slides/index.mjs +0 -2
- package/esm2022/components/slides/slides.directive.mjs +0 -51
- package/esm2022/components/slides/taiga-ui-kit-components-slides.mjs +0 -5
- package/esm2022/components/status/index.mjs +0 -2
- package/esm2022/components/status/status.directive.mjs +0 -35
- package/esm2022/components/status/taiga-ui-kit-components-status.mjs +0 -5
- package/esm2022/components/stepper/index.mjs +0 -4
- package/esm2022/components/stepper/step.component.mjs +0 -58
- package/esm2022/components/stepper/stepper.component.mjs +0 -118
- package/esm2022/components/stepper/stepper.mjs +0 -4
- package/esm2022/components/stepper/taiga-ui-kit-components-stepper.mjs +0 -5
- package/esm2022/components/switch/index.mjs +0 -3
- package/esm2022/components/switch/switch.component.mjs +0 -63
- package/esm2022/components/switch/switch.options.mjs +0 -15
- package/esm2022/components/switch/taiga-ui-kit-components-switch.mjs +0 -5
- package/esm2022/components/tabs/index.mjs +0 -9
- package/esm2022/components/tabs/tab.directive.mjs +0 -47
- package/esm2022/components/tabs/tabs-horizontal.directive.mjs +0 -108
- package/esm2022/components/tabs/tabs-vertical.directive.mjs +0 -38
- package/esm2022/components/tabs/tabs-with-more.component.mjs +0 -213
- package/esm2022/components/tabs/tabs.directive.mjs +0 -79
- package/esm2022/components/tabs/tabs.mjs +0 -15
- package/esm2022/components/tabs/tabs.options.mjs +0 -19
- package/esm2022/components/tabs/tabs.providers.mjs +0 -35
- package/esm2022/components/tabs/taiga-ui-kit-components-tabs.mjs +0 -5
- package/esm2022/components/taiga-ui-kit-components.mjs +0 -5
- package/esm2022/components/textarea/index.mjs +0 -4
- package/esm2022/components/textarea/taiga-ui-kit-components-textarea.mjs +0 -5
- package/esm2022/components/textarea/textarea-limit.directive.mjs +0 -93
- package/esm2022/components/textarea/textarea.component.mjs +0 -58
- package/esm2022/components/textarea/textarea.options.mjs +0 -7
- package/esm2022/components/tiles/index.mjs +0 -7
- package/esm2022/components/tiles/taiga-ui-kit-components-tiles.mjs +0 -5
- package/esm2022/components/tiles/tile-handle.directive.mjs +0 -60
- package/esm2022/components/tiles/tile.component.mjs +0 -69
- package/esm2022/components/tiles/tile.service.mjs +0 -90
- package/esm2022/components/tiles/tiles.component.mjs +0 -70
- package/esm2022/components/tiles/tiles.mjs +0 -5
- package/esm2022/components/tiles/tiles.tokens.mjs +0 -37
- package/esm2022/components/tree/components/tree/tree.component.mjs +0 -64
- package/esm2022/components/tree/components/tree-item/tree-item.component.mjs +0 -63
- package/esm2022/components/tree/components/tree-item-content/tree-item-content.component.mjs +0 -44
- package/esm2022/components/tree/directives/tree-children.directive.mjs +0 -24
- package/esm2022/components/tree/directives/tree-controller.directive.mjs +0 -57
- package/esm2022/components/tree/directives/tree-item-controller.directive.mjs +0 -32
- package/esm2022/components/tree/directives/tree-node.directive.mjs +0 -32
- package/esm2022/components/tree/index.mjs +0 -12
- package/esm2022/components/tree/misc/tree.constants.mjs +0 -9
- package/esm2022/components/tree/misc/tree.interfaces.mjs +0 -2
- package/esm2022/components/tree/misc/tree.service.mjs +0 -31
- package/esm2022/components/tree/misc/tree.tokens.mjs +0 -43
- package/esm2022/components/tree/taiga-ui-kit-components-tree.mjs +0 -5
- package/esm2022/components/tree/tree.mjs +0 -17
- package/esm2022/directives/button-close/button-close.directive.mjs +0 -33
- package/esm2022/directives/button-close/index.mjs +0 -2
- package/esm2022/directives/button-close/taiga-ui-kit-directives-button-close.mjs +0 -5
- package/esm2022/directives/button-group/button-group.directive.mjs +0 -29
- package/esm2022/directives/button-group/index.mjs +0 -2
- package/esm2022/directives/button-group/taiga-ui-kit-directives-button-group.mjs +0 -5
- package/esm2022/directives/button-select/button-select.directive.mjs +0 -48
- package/esm2022/directives/button-select/index.mjs +0 -2
- package/esm2022/directives/button-select/taiga-ui-kit-directives-button-select.mjs +0 -5
- package/esm2022/directives/chevron/chevron.directive.mjs +0 -45
- package/esm2022/directives/chevron/index.mjs +0 -2
- package/esm2022/directives/chevron/taiga-ui-kit-directives-chevron.mjs +0 -5
- package/esm2022/directives/connected/connected.directive.mjs +0 -32
- package/esm2022/directives/connected/index.mjs +0 -2
- package/esm2022/directives/connected/taiga-ui-kit-directives-connected.mjs +0 -5
- package/esm2022/directives/copy/copy.component.mjs +0 -48
- package/esm2022/directives/copy/copy.directive.mjs +0 -71
- package/esm2022/directives/copy/copy.mjs +0 -4
- package/esm2022/directives/copy/copy.options.mjs +0 -3
- package/esm2022/directives/copy/index.mjs +0 -6
- package/esm2022/directives/copy/taiga-ui-kit-directives-copy.mjs +0 -5
- package/esm2022/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.mjs +0 -105
- package/esm2022/directives/data-list-dropdown-manager/index.mjs +0 -2
- package/esm2022/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +0 -5
- package/esm2022/directives/fade/fade.directive.mjs +0 -92
- package/esm2022/directives/fade/index.mjs +0 -2
- package/esm2022/directives/fade/taiga-ui-kit-directives-fade.mjs +0 -5
- package/esm2022/directives/fluid-typography/fluid-typography.directive.mjs +0 -63
- package/esm2022/directives/fluid-typography/fluid-typography.options.mjs +0 -13
- package/esm2022/directives/fluid-typography/index.mjs +0 -3
- package/esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs +0 -5
- package/esm2022/directives/highlight/highlight.directive.mjs +0 -92
- package/esm2022/directives/highlight/index.mjs +0 -2
- package/esm2022/directives/highlight/taiga-ui-kit-directives-highlight.mjs +0 -5
- package/esm2022/directives/icon-badge/icon-badge.directive.mjs +0 -41
- package/esm2022/directives/icon-badge/index.mjs +0 -2
- package/esm2022/directives/icon-badge/taiga-ui-kit-directives-icon-badge.mjs +0 -5
- package/esm2022/directives/index.mjs +0 -21
- package/esm2022/directives/lazy-loading/index.mjs +0 -3
- package/esm2022/directives/lazy-loading/lazy-loading.directive.mjs +0 -58
- package/esm2022/directives/lazy-loading/lazy-loading.service.mjs +0 -23
- package/esm2022/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.mjs +0 -5
- package/esm2022/directives/password/index.mjs +0 -3
- package/esm2022/directives/password/password.directive.mjs +0 -67
- package/esm2022/directives/password/password.options.mjs +0 -8
- package/esm2022/directives/password/taiga-ui-kit-directives-password.mjs +0 -5
- package/esm2022/directives/present/index.mjs +0 -2
- package/esm2022/directives/present/present.directive.mjs +0 -33
- package/esm2022/directives/present/taiga-ui-kit-directives-present.mjs +0 -5
- package/esm2022/directives/sensitive/index.mjs +0 -2
- package/esm2022/directives/sensitive/sensitive.directive.mjs +0 -48
- package/esm2022/directives/sensitive/taiga-ui-kit-directives-sensitive.mjs +0 -5
- package/esm2022/directives/shimmer/index.mjs +0 -2
- package/esm2022/directives/shimmer/shimmer.directive.mjs +0 -68
- package/esm2022/directives/shimmer/taiga-ui-kit-directives-shimmer.mjs +0 -5
- package/esm2022/directives/skeleton/index.mjs +0 -2
- package/esm2022/directives/skeleton/skeleton.directive.mjs +0 -69
- package/esm2022/directives/skeleton/taiga-ui-kit-directives-skeleton.mjs +0 -5
- package/esm2022/directives/taiga-ui-kit-directives.mjs +0 -5
- package/esm2022/directives/tooltip/index.mjs +0 -3
- package/esm2022/directives/tooltip/taiga-ui-kit-directives-tooltip.mjs +0 -5
- package/esm2022/directives/tooltip/tooltip.directive.mjs +0 -92
- package/esm2022/directives/tooltip/tooltip.options.mjs +0 -6
- package/esm2022/directives/unfinished-validator/index.mjs +0 -3
- package/esm2022/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.mjs +0 -5
- package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -36
- package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -7
- package/esm2022/directives/unmask-handler/index.mjs +0 -2
- package/esm2022/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.mjs +0 -5
- package/esm2022/directives/unmask-handler/unmask-handler.directive.mjs +0 -35
- package/esm2022/index.mjs +0 -6
- package/esm2022/pipes/emails/emails.options.mjs +0 -13
- package/esm2022/pipes/emails/emails.pipe.mjs +0 -26
- package/esm2022/pipes/emails/index.mjs +0 -3
- package/esm2022/pipes/emails/taiga-ui-kit-pipes-emails.mjs +0 -5
- package/esm2022/pipes/field-error/field-error-content-pipe.mjs +0 -42
- package/esm2022/pipes/field-error/field-error-pipe.mjs +0 -103
- package/esm2022/pipes/field-error/index.mjs +0 -3
- package/esm2022/pipes/field-error/taiga-ui-kit-pipes-field-error.mjs +0 -5
- package/esm2022/pipes/filter-by-input/filter-by-input.pipe.mjs +0 -68
- package/esm2022/pipes/filter-by-input/index.mjs +0 -2
- package/esm2022/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.mjs +0 -5
- package/esm2022/pipes/hide-selected/hide-selected.pipe.mjs +0 -46
- package/esm2022/pipes/hide-selected/index.mjs +0 -2
- package/esm2022/pipes/hide-selected/taiga-ui-kit-pipes-hide-selected.mjs +0 -5
- package/esm2022/pipes/index.mjs +0 -8
- package/esm2022/pipes/sort-countries/index.mjs +0 -2
- package/esm2022/pipes/sort-countries/sort-countries.pipe.mjs +0 -23
- package/esm2022/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.mjs +0 -5
- package/esm2022/pipes/stringify/index.mjs +0 -2
- package/esm2022/pipes/stringify/stringify.pipe.mjs +0 -18
- package/esm2022/pipes/stringify/taiga-ui-kit-pipes-stringify.mjs +0 -5
- package/esm2022/pipes/stringify-content/index.mjs +0 -2
- package/esm2022/pipes/stringify-content/stringify-content.pipe.mjs +0 -18
- package/esm2022/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.mjs +0 -5
- package/esm2022/pipes/taiga-ui-kit-pipes.mjs +0 -5
- package/esm2022/taiga-ui-kit.mjs +0 -5
- package/esm2022/tokens/calendar-date-stream.mjs +0 -25
- package/esm2022/tokens/date-inputs-value-transformers.mjs +0 -21
- package/esm2022/tokens/i18n.mjs +0 -75
- package/esm2022/tokens/index.mjs +0 -10
- package/esm2022/tokens/input-date-options.mjs +0 -13
- package/esm2022/tokens/items-handlers.mjs +0 -27
- package/esm2022/tokens/mobile-calendar.mjs +0 -13
- package/esm2022/tokens/month-formatter.mjs +0 -12
- package/esm2022/tokens/preview-icons.mjs +0 -17
- package/esm2022/tokens/taiga-ui-kit-tokens.mjs +0 -5
- package/esm2022/tokens/validation-errors.mjs +0 -6
- package/esm2022/utils/create-time-periods.mjs +0 -12
- package/esm2022/utils/index.mjs +0 -7
- package/esm2022/utils/inject-value.mjs +0 -11
- package/esm2022/utils/is-flat.mjs +0 -4
- package/esm2022/utils/maskito.binding.mjs +0 -6
- package/esm2022/utils/phone.mjs +0 -6
- package/esm2022/utils/taiga-ui-kit-utils.mjs +0 -5
- package/esm2022/utils/toggle-day.mjs +0 -6
- package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs +0 -47
- package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs.map +0 -1
package/esm2022/components/input-phone-international/input-phone-international.component.mjs
DELETED
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
import { NgFor, NgIf } from '@angular/common';
|
|
2
|
-
import { ChangeDetectionStrategy, Component, computed, ElementRef, forwardRef, inject, Input, Output, signal, TemplateRef, untracked, ViewChild, ViewChildren, } from '@angular/core';
|
|
3
|
-
import { toObservable, toSignal } from '@angular/core/rxjs-interop';
|
|
4
|
-
import { FormsModule } from '@angular/forms';
|
|
5
|
-
import { MaskitoDirective } from '@maskito/angular';
|
|
6
|
-
import { maskitoInitialCalibrationPlugin, maskitoTransform, } from '@maskito/core';
|
|
7
|
-
import { maskitoRemoveOnBlurPlugin } from '@maskito/kit';
|
|
8
|
-
import { maskitoGetCountryFromNumber, maskitoPhoneOptionsGenerator } from '@maskito/phone';
|
|
9
|
-
import { tuiAsControl, TuiControl } from '@taiga-ui/cdk/classes';
|
|
10
|
-
import { CHAR_PLUS, TUI_DEFAULT_MATCHER } from '@taiga-ui/cdk/constants';
|
|
11
|
-
import { TuiAutoFocus, tuiAutoFocusOptionsProvider, } from '@taiga-ui/cdk/directives/auto-focus';
|
|
12
|
-
import { TUI_IS_IOS, tuiFallbackValueProvider } from '@taiga-ui/cdk/tokens';
|
|
13
|
-
import { tuiIsInputEvent } from '@taiga-ui/cdk/utils/dom';
|
|
14
|
-
import { tuiDirectiveBinding } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
15
|
-
import { TuiDataList, TuiOption } from '@taiga-ui/core/components/data-list';
|
|
16
|
-
import { TUI_TEXTFIELD_OPTIONS, TuiTextfield, TuiTextfieldDropdownDirective, tuiTextfieldOptionsProvider, } from '@taiga-ui/core/components/textfield';
|
|
17
|
-
import { tuiDropdown, TuiDropdownDirective, TuiDropdownOpen, tuiDropdownOpen, tuiDropdownOptionsProvider, TuiWithDropdownOpen, } from '@taiga-ui/core/directives/dropdown';
|
|
18
|
-
import { TuiGroup } from '@taiga-ui/core/directives/group';
|
|
19
|
-
import { TuiFlagPipe } from '@taiga-ui/core/pipes/flag';
|
|
20
|
-
import { TUI_COMMON_ICONS } from '@taiga-ui/core/tokens';
|
|
21
|
-
import { tuiIsEditingKey } from '@taiga-ui/core/utils/miscellaneous';
|
|
22
|
-
import { TuiChevron } from '@taiga-ui/kit/directives';
|
|
23
|
-
import { TUI_COUNTRIES, TUI_INTERNATIONAL_SEARCH } from '@taiga-ui/kit/tokens';
|
|
24
|
-
import { tuiGetCallingCode } from '@taiga-ui/kit/utils';
|
|
25
|
-
import { validatePhoneNumberLength } from 'libphonenumber-js';
|
|
26
|
-
import { getCountryCallingCode } from 'libphonenumber-js/core';
|
|
27
|
-
import { from, skip } from 'rxjs';
|
|
28
|
-
import { TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS } from './input-phone-international.options';
|
|
29
|
-
import * as i0 from "@angular/core";
|
|
30
|
-
import * as i1 from "@taiga-ui/core/directives/group";
|
|
31
|
-
import * as i2 from "@taiga-ui/core/directives/dropdown";
|
|
32
|
-
import * as i3 from "@angular/forms";
|
|
33
|
-
import * as i4 from "@taiga-ui/core/components/data-list";
|
|
34
|
-
import * as i5 from "@taiga-ui/core/components/label";
|
|
35
|
-
import * as i6 from "@taiga-ui/core/components/textfield";
|
|
36
|
-
const NOT_FORM_CONTROL_SYMBOLS = /[^+\d]/g;
|
|
37
|
-
/** @deprecated use version from experimental package instead */
|
|
38
|
-
class TuiInputPhoneInternational extends TuiControl {
|
|
39
|
-
constructor() {
|
|
40
|
-
super(...arguments);
|
|
41
|
-
this.isIos = inject(TUI_IS_IOS);
|
|
42
|
-
this.dropdown = tuiDropdown(null);
|
|
43
|
-
this.options = inject(TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS);
|
|
44
|
-
this.size = inject(TUI_TEXTFIELD_OPTIONS).size;
|
|
45
|
-
this.open = tuiDropdownOpen();
|
|
46
|
-
this.names = toSignal(inject(TUI_COUNTRIES));
|
|
47
|
-
this.metadata = toSignal(from(this.options.metadata));
|
|
48
|
-
this.countries = signal(this.options.countries);
|
|
49
|
-
this.countryIsoCode = signal(this.options.countryIsoCode);
|
|
50
|
-
this.icons = inject(TUI_COMMON_ICONS);
|
|
51
|
-
this.label = toSignal(inject(TUI_INTERNATIONAL_SEARCH));
|
|
52
|
-
this.search = signal('');
|
|
53
|
-
this.separator = signal(this.options.separator);
|
|
54
|
-
this.filtered = computed(() => this.countries()
|
|
55
|
-
.map((iso) => ({
|
|
56
|
-
iso,
|
|
57
|
-
name: this.names()?.[iso] || '',
|
|
58
|
-
code: tuiGetCallingCode(iso, this.metadata()),
|
|
59
|
-
}))
|
|
60
|
-
.filter(({ name, code }) => TUI_DEFAULT_MATCHER(name + code, this.search())));
|
|
61
|
-
this.mask = computed(() => this.computeMask(this.countryIsoCode(), this.metadata(), this.separator()));
|
|
62
|
-
this.$ = tuiDirectiveBinding(TuiDropdownOpen, 'tuiDropdownEnabled', this.interactive);
|
|
63
|
-
this.textfieldValue = '';
|
|
64
|
-
this.countrySearch = false;
|
|
65
|
-
this.countryIsoCodeChange = toObservable(this.countryIsoCode).pipe(skip(1));
|
|
66
|
-
}
|
|
67
|
-
set countriesValue(value) {
|
|
68
|
-
this.countries.set(value);
|
|
69
|
-
}
|
|
70
|
-
set isoCode(code) {
|
|
71
|
-
this.countryIsoCode.set(code);
|
|
72
|
-
}
|
|
73
|
-
focusFirstItem() {
|
|
74
|
-
this.listOptions?.get(0)?.nativeElement.focus();
|
|
75
|
-
}
|
|
76
|
-
onPaste(event) {
|
|
77
|
-
const phonesMetadata = this.metadata();
|
|
78
|
-
if (!tuiIsInputEvent(event) ||
|
|
79
|
-
!phonesMetadata ||
|
|
80
|
-
(!event.inputType.includes('Drop') && !event.inputType.includes('Paste'))) {
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
const newValue = event.data || '';
|
|
84
|
-
const prefixedValue = newValue.startsWith(CHAR_PLUS)
|
|
85
|
-
? newValue
|
|
86
|
-
: CHAR_PLUS + newValue;
|
|
87
|
-
if (validatePhoneNumberLength(prefixedValue) === 'TOO_SHORT') {
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
const countryIsoCode = maskitoGetCountryFromNumber(prefixedValue, phonesMetadata);
|
|
91
|
-
if (countryIsoCode) {
|
|
92
|
-
this.countryIsoCode.set(countryIsoCode);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
onItemClick(isoCode) {
|
|
96
|
-
this.open.set(false);
|
|
97
|
-
this.countryIsoCode.set(isoCode);
|
|
98
|
-
this.input?.nativeElement.focus();
|
|
99
|
-
}
|
|
100
|
-
writeValue(unmaskedValue) {
|
|
101
|
-
super.writeValue(unmaskedValue);
|
|
102
|
-
const mask = untracked(() => this.mask());
|
|
103
|
-
const value = untracked(() => this.value());
|
|
104
|
-
this.textfieldValue = mask
|
|
105
|
-
? maskitoTransform(value, mask)
|
|
106
|
-
: // it will be calibrated later when mask is ready (by maskitoInitialCalibrationPlugin)
|
|
107
|
-
value;
|
|
108
|
-
this.cdr.detectChanges();
|
|
109
|
-
}
|
|
110
|
-
set template(template) {
|
|
111
|
-
this.dropdown.set(template);
|
|
112
|
-
}
|
|
113
|
-
onFocus() {
|
|
114
|
-
const phoneMetadata = this.metadata();
|
|
115
|
-
if (!this.textfieldValue && phoneMetadata) {
|
|
116
|
-
this.textfieldValue = `${CHAR_PLUS + getCountryCallingCode(this.countryIsoCode(), phoneMetadata)} `;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
onValueChange(maskedValue) {
|
|
120
|
-
const unmaskedValue = maskedValue.replaceAll(NOT_FORM_CONTROL_SYMBOLS, '');
|
|
121
|
-
const phonesMetadata = this.metadata();
|
|
122
|
-
const countryCallingCode = phonesMetadata
|
|
123
|
-
? CHAR_PLUS + getCountryCallingCode(this.countryIsoCode(), phonesMetadata)
|
|
124
|
-
: '';
|
|
125
|
-
this.onChange(unmaskedValue === countryCallingCode ? '' : unmaskedValue);
|
|
126
|
-
}
|
|
127
|
-
onKeyDown({ key }) {
|
|
128
|
-
if (tuiIsEditingKey(key)) {
|
|
129
|
-
this.filter?.nativeElement.focus({ preventScroll: true });
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
computeMask(countryIsoCode, metadata, separator) {
|
|
133
|
-
if (!metadata) {
|
|
134
|
-
return null;
|
|
135
|
-
}
|
|
136
|
-
const { plugins, ...restOptions } = maskitoPhoneOptionsGenerator({
|
|
137
|
-
countryIsoCode,
|
|
138
|
-
metadata,
|
|
139
|
-
separator,
|
|
140
|
-
});
|
|
141
|
-
return {
|
|
142
|
-
...restOptions,
|
|
143
|
-
plugins: [
|
|
144
|
-
...plugins,
|
|
145
|
-
maskitoRemoveOnBlurPlugin(`${CHAR_PLUS}${getCountryCallingCode(countryIsoCode, metadata)} `),
|
|
146
|
-
maskitoInitialCalibrationPlugin(),
|
|
147
|
-
],
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputPhoneInternational, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
151
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputPhoneInternational, isStandalone: true, selector: "tui-input-phone-international", inputs: { countrySearch: "countrySearch", countriesValue: ["countries", "countriesValue"], isoCode: ["countryIsoCode", "isoCode"] }, outputs: { countryIsoCodeChange: "countryIsoCodeChange" }, host: { properties: { "attr.data-size": "size()" } }, providers: [
|
|
152
|
-
tuiAsControl(TuiInputPhoneInternational),
|
|
153
|
-
tuiFallbackValueProvider(''),
|
|
154
|
-
tuiAutoFocusOptionsProvider({ preventScroll: true }),
|
|
155
|
-
tuiTextfieldOptionsProvider({ cleaner: signal(false) }),
|
|
156
|
-
tuiDropdownOptionsProvider({
|
|
157
|
-
limitWidth: 'fixed',
|
|
158
|
-
align: 'right',
|
|
159
|
-
}),
|
|
160
|
-
], viewQueries: [{ propertyName: "input", first: true, predicate: MaskitoDirective, descendants: true, read: ElementRef }, { propertyName: "filter", first: true, predicate: TuiAutoFocus, descendants: true, read: ElementRef }, { propertyName: "template", first: true, predicate: i0.forwardRef(function () { return TuiTextfieldDropdownDirective; }), descendants: true, read: TemplateRef }, { propertyName: "listOptions", predicate: TuiOption, descendants: true, read: ElementRef }], usesInheritance: true, hostDirectives: [{ directive: i1.TuiGroup }, { directive: i2.TuiDropdownDirective }, { directive: i2.TuiWithDropdownOpen }], ngImport: i0, template: "<tui-textfield\n class=\"t-select\"\n [content]=\"flag\"\n [tuiChevron]=\"open()\"\n>\n <select\n aria-label=\"Country\"\n ngModel=\"\"\n tuiTextfield\n [attr.data-mode]=\"mode()\"\n [disabled]=\"disabled()\"\n [focused]=\"open()\"\n [ngModelOptions]=\"{standalone: true}\"\n ></select>\n\n <ng-template #flag>\n <img\n class=\"t-flag\"\n [alt]=\"names()?.[countryIsoCode()]\"\n [src]=\"countryIsoCode() | tuiFlag\"\n />\n </ng-template>\n</tui-textfield>\n\n<tui-textfield>\n <!--TODO: Replace attribute bindings with inputs after Angular updated and signal bindings properly update-->\n <input\n autocomplete=\"new-password\"\n tuiTextfield\n [attr.data-mode]=\"mode()\"\n [attr.readonly]=\"readOnly() || null\"\n [disabled]=\"disabled()\"\n [maskito]=\"mask()\"\n [ngModelOptions]=\"{standalone: true}\"\n [(ngModel)]=\"textfieldValue\"\n (beforeinput.capture)=\"onPaste($event)\"\n (blur)=\"onTouched()\"\n (focus)=\"!readOnly() && onFocus()\"\n (ngModelChange)=\"onValueChange($event)\"\n />\n\n <!--\n TODO: get rid of built-in input and label and just externalize everything in 5.0\n <tui-input-phone-international>\n <label tuiLabel>My label</label>\n <input tuiTextfield placeholder=\"My placeholder\" [(ngModel)]=\"value\" />\n <tui-icon icon=\"@tui.phone\" />\n </tui-input-phone-international>\n -->\n <ng-content select=\"tui-icon, img\" />\n\n <label tuiLabel>\n <ng-content />\n </label>\n</tui-textfield>\n\n<ng-container *tuiTextfieldDropdown>\n <tui-textfield\n *ngIf=\"countrySearch\"\n tuiTextfieldSize=\"m\"\n class=\"t-search\"\n [iconStart]=\"icons.search\"\n >\n <input\n tuiTextfield\n [focused]=\"true\"\n [ngModel]=\"search()\"\n [placeholder]=\"label()\"\n [tuiAutoFocus]=\"!isIos\"\n (keydown.arrowDown)=\"focusFirstItem()\"\n (ngModelChange)=\"search.set($event)\"\n />\n </tui-textfield>\n\n <tui-data-list (keydown)=\"onKeyDown($event)\">\n <button\n *ngFor=\"let item of filtered()\"\n tuiOption\n type=\"button\"\n (click)=\"onItemClick(item.iso)\"\n >\n <img\n alt=\"\"\n class=\"t-flag\"\n [src]=\"item.iso | tuiFlag\"\n />\n <span class=\"t-name\">{{ item.name }}</span>\n <span class=\"t-code\">{{ item.code }}</span>\n </button>\n </tui-data-list>\n</ng-container>\n", styles: [".t-select{inline-size:5.625rem;flex:none}.t-select[data-size=m]{inline-size:5rem}.t-select[data-size=s]{inline-size:4rem}.t-flag{inline-size:1.75rem;block-size:1.75rem;border-radius:100%}.t-name{margin:0 auto 0 .75rem}.t-code{color:var(--tui-text-secondary);margin-inline-end:.25rem}.t-search{position:sticky;top:.375rem;background:var(--tui-background-elevation-3);box-shadow:0 -1rem var(--tui-background-elevation-3);margin:.375rem .375rem 0}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: TuiAutoFocus, selector: "[tuiAutoFocus]", inputs: ["tuiAutoFocus"] }, { kind: "directive", type: TuiChevron, selector: "[tuiChevron]", inputs: ["tuiChevron"] }, { kind: "component", type: i4.TuiDataListComponent, selector: "tui-data-list", inputs: ["emptyContent", "size"] }, { kind: "component", type: i4.TuiOption, selector: "button[tuiOption]:not([new]), a[tuiOption]:not([new]), label[tuiOption]:not([new])", inputs: ["disabled", "value"] }, { kind: "pipe", type: TuiFlagPipe, name: "tuiFlag" }, { kind: "directive", type: i5.TuiLabel, selector: "label[tuiLabel]" }, { kind: "component", type: i6.TuiSelect, selector: "select[tuiTextfield]", inputs: ["placeholder"] }, { kind: "component", type: i6.TuiTextfieldComponent, selector: "tui-textfield:not([multi])" }, { kind: "directive", type: i6.TuiTextfieldDirective, selector: "input[tuiTextfield]:not([tuiInputCard]):not([tuiInputExpire]):not([tuiInputCVC])" }, { kind: "directive", type: i6.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i6.TuiTextfieldDropdownDirective, selector: "ng-template[tuiTextfieldDropdown]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
161
|
-
}
|
|
162
|
-
export { TuiInputPhoneInternational };
|
|
163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputPhoneInternational, decorators: [{
|
|
164
|
-
type: Component,
|
|
165
|
-
args: [{ standalone: true, selector: 'tui-input-phone-international', imports: [
|
|
166
|
-
FormsModule,
|
|
167
|
-
MaskitoDirective,
|
|
168
|
-
NgFor,
|
|
169
|
-
NgIf,
|
|
170
|
-
TuiAutoFocus,
|
|
171
|
-
TuiChevron,
|
|
172
|
-
TuiDataList,
|
|
173
|
-
TuiFlagPipe,
|
|
174
|
-
TuiTextfield,
|
|
175
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
176
|
-
tuiAsControl(TuiInputPhoneInternational),
|
|
177
|
-
tuiFallbackValueProvider(''),
|
|
178
|
-
tuiAutoFocusOptionsProvider({ preventScroll: true }),
|
|
179
|
-
tuiTextfieldOptionsProvider({ cleaner: signal(false) }),
|
|
180
|
-
tuiDropdownOptionsProvider({
|
|
181
|
-
limitWidth: 'fixed',
|
|
182
|
-
align: 'right',
|
|
183
|
-
}),
|
|
184
|
-
], hostDirectives: [TuiGroup, TuiDropdownDirective, TuiWithDropdownOpen], host: {
|
|
185
|
-
'[attr.data-size]': 'size()',
|
|
186
|
-
}, template: "<tui-textfield\n class=\"t-select\"\n [content]=\"flag\"\n [tuiChevron]=\"open()\"\n>\n <select\n aria-label=\"Country\"\n ngModel=\"\"\n tuiTextfield\n [attr.data-mode]=\"mode()\"\n [disabled]=\"disabled()\"\n [focused]=\"open()\"\n [ngModelOptions]=\"{standalone: true}\"\n ></select>\n\n <ng-template #flag>\n <img\n class=\"t-flag\"\n [alt]=\"names()?.[countryIsoCode()]\"\n [src]=\"countryIsoCode() | tuiFlag\"\n />\n </ng-template>\n</tui-textfield>\n\n<tui-textfield>\n <!--TODO: Replace attribute bindings with inputs after Angular updated and signal bindings properly update-->\n <input\n autocomplete=\"new-password\"\n tuiTextfield\n [attr.data-mode]=\"mode()\"\n [attr.readonly]=\"readOnly() || null\"\n [disabled]=\"disabled()\"\n [maskito]=\"mask()\"\n [ngModelOptions]=\"{standalone: true}\"\n [(ngModel)]=\"textfieldValue\"\n (beforeinput.capture)=\"onPaste($event)\"\n (blur)=\"onTouched()\"\n (focus)=\"!readOnly() && onFocus()\"\n (ngModelChange)=\"onValueChange($event)\"\n />\n\n <!--\n TODO: get rid of built-in input and label and just externalize everything in 5.0\n <tui-input-phone-international>\n <label tuiLabel>My label</label>\n <input tuiTextfield placeholder=\"My placeholder\" [(ngModel)]=\"value\" />\n <tui-icon icon=\"@tui.phone\" />\n </tui-input-phone-international>\n -->\n <ng-content select=\"tui-icon, img\" />\n\n <label tuiLabel>\n <ng-content />\n </label>\n</tui-textfield>\n\n<ng-container *tuiTextfieldDropdown>\n <tui-textfield\n *ngIf=\"countrySearch\"\n tuiTextfieldSize=\"m\"\n class=\"t-search\"\n [iconStart]=\"icons.search\"\n >\n <input\n tuiTextfield\n [focused]=\"true\"\n [ngModel]=\"search()\"\n [placeholder]=\"label()\"\n [tuiAutoFocus]=\"!isIos\"\n (keydown.arrowDown)=\"focusFirstItem()\"\n (ngModelChange)=\"search.set($event)\"\n />\n </tui-textfield>\n\n <tui-data-list (keydown)=\"onKeyDown($event)\">\n <button\n *ngFor=\"let item of filtered()\"\n tuiOption\n type=\"button\"\n (click)=\"onItemClick(item.iso)\"\n >\n <img\n alt=\"\"\n class=\"t-flag\"\n [src]=\"item.iso | tuiFlag\"\n />\n <span class=\"t-name\">{{ item.name }}</span>\n <span class=\"t-code\">{{ item.code }}</span>\n </button>\n </tui-data-list>\n</ng-container>\n", styles: [".t-select{inline-size:5.625rem;flex:none}.t-select[data-size=m]{inline-size:5rem}.t-select[data-size=s]{inline-size:4rem}.t-flag{inline-size:1.75rem;block-size:1.75rem;border-radius:100%}.t-name{margin:0 auto 0 .75rem}.t-code{color:var(--tui-text-secondary);margin-inline-end:.25rem}.t-search{position:sticky;top:.375rem;background:var(--tui-background-elevation-3);box-shadow:0 -1rem var(--tui-background-elevation-3);margin:.375rem .375rem 0}\n"] }]
|
|
187
|
-
}], propDecorators: { input: [{
|
|
188
|
-
type: ViewChild,
|
|
189
|
-
args: [MaskitoDirective, { read: ElementRef }]
|
|
190
|
-
}], filter: [{
|
|
191
|
-
type: ViewChild,
|
|
192
|
-
args: [TuiAutoFocus, { read: ElementRef }]
|
|
193
|
-
}], listOptions: [{
|
|
194
|
-
type: ViewChildren,
|
|
195
|
-
args: [TuiOption, { read: ElementRef }]
|
|
196
|
-
}], countrySearch: [{
|
|
197
|
-
type: Input
|
|
198
|
-
}], countryIsoCodeChange: [{
|
|
199
|
-
type: Output
|
|
200
|
-
}], countriesValue: [{
|
|
201
|
-
type: Input,
|
|
202
|
-
args: ['countries']
|
|
203
|
-
}], isoCode: [{
|
|
204
|
-
type: Input,
|
|
205
|
-
args: ['countryIsoCode']
|
|
206
|
-
}], template: [{
|
|
207
|
-
type: ViewChild,
|
|
208
|
-
args: [forwardRef(() => TuiTextfieldDropdownDirective), { read: TemplateRef }]
|
|
209
|
-
}] } });
|
|
210
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtcGhvbmUtaW50ZXJuYXRpb25hbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9pbnB1dC1waG9uZS1pbnRlcm5hdGlvbmFsL2lucHV0LXBob25lLWludGVybmF0aW9uYWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvaW5wdXQtcGhvbmUtaW50ZXJuYXRpb25hbC9pbnB1dC1waG9uZS1pbnRlcm5hdGlvbmFsLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ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hKSB7XG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgfVxuXG4gICAgICAgIGNvbnN0IHtwbHVnaW5zLCAuLi5yZXN0T3B0aW9uc30gPSBtYXNraXRvUGhvbmVPcHRpb25zR2VuZXJhdG9yKHtcbiAgICAgICAgICAgIGNvdW50cnlJc29Db2RlLFxuICAgICAgICAgICAgbWV0YWRhdGEsXG4gICAgICAgICAgICBzZXBhcmF0b3IsXG4gICAgICAgIH0pO1xuXG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAuLi5yZXN0T3B0aW9ucyxcbiAgICAgICAgICAgIHBsdWdpbnM6IFtcbiAgICAgICAgICAgICAgICAuLi5wbHVnaW5zLFxuICAgICAgICAgICAgICAgIG1hc2tpdG9SZW1vdmVPbkJsdXJQbHVnaW4oXG4gICAgICAgICAgICAgICAgICAgIGAke0NIQVJfUExVU30ke2dldENvdW50cnlDYWxsaW5nQ29kZShjb3VudHJ5SXNvQ29kZSwgbWV0YWRhdGEpfSBgLFxuICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgbWFza2l0b0luaXRpYWxDYWxpYnJhdGlvblBsdWdpbigpLFxuICAgICAgICAgICAgXSxcbiAgICAgICAgfTtcbiAgICB9XG59XG4iLCI8dHVpLXRleHRmaWVsZFxuICAgIGNsYXNzPVwidC1zZWxlY3RcIlxuICAgIFtjb250ZW50XT1cImZsYWdcIlxuICAgIFt0dWlDaGV2cm9uXT1cIm9wZW4oKVwiXG4+XG4gICAgPHNlbGVjdFxuICAgICAgICBhcmlhLWxhYmVsPVwiQ291bnRyeVwiXG4gICAgICAgIG5nTW9kZWw9XCJcIlxuICAgICAgICB0dWlUZXh0ZmllbGRcbiAgICAgICAgW2F0dHIuZGF0YS1tb2RlXT1cIm1vZGUoKVwiXG4gICAgICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZCgpXCJcbiAgICAgICAgW2ZvY3VzZWRdPVwib3BlbigpXCJcbiAgICAgICAgW25nT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gICAgICAgICBbbmdNb2RlbF09XCJzZWFyY2goKVwiXG4gICAgICAgICAgICBbcGxhY2Vob2xkZXJdPVwibGFiZWwoKVwiXG4gICAgICAgICAgICBbdHVpQXV0b0ZvY3VzXT1cIiFpc0lvc1wiXG4gICAgICAgICAgICAoa2V5ZG93bi5hcnJvd0Rvd24pPVwiZm9jdXNGaXJzdEl0ZW0oKVwiXG4gICAgICAgICAgICAobmdNb2RlbENoYW5nZSk9XCJzZWFyY2guc2V0KCRldmVudClcIlxuICAgICAgICAvPlxuICAgIDwvdHVpLXRleHRmaWVsZD5cblxuICAgIDx0dWktZGF0YS1saXN0IChrZXlkb3duKT1cIm9uS2V5RG93bigkZXZlbnQpXCI+XG4gICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICpuZ0Zvcj1cImxldCBpdGVtIG9mIGZpbHRlcmVkKClcIlxuICAgICAgICAgICAgdHVpT3B0aW9uXG4gICAgICAgICAgICB0eXBlPVwiYnV0dG9uXCJcbiAgICAgICAgICAgIChjbGljayk9XCJvbkl0ZW1DbGljayhpdGVtLmlzbylcIlxuICAgICAgICA+XG4gICAgICAgICAgICA8aW1nXG4gICAgICAgICAgICAgICAgYWx0PVwiXCJcbiAgICAgICAgICAgICAgICBjbGFzcz1cInQtZmxhZ1wiXG4gICAgICAgICAgICAgICAgW3NyY109XCJpdGVtLmlzbyB8IHR1aUZsYWdcIlxuICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwidC1uYW1lXCI+e3sgaXRlbS5uYW1lIH19PC9zcGFuPlxuICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJ0LWNvZGVcIj57eyBpdGVtLmNvZGUgfX08L3NwYW4+XG4gICAgICAgIDwvYnV0dG9uPlxuICAgIDwvdHVpLWRhdGEtbGlzdD5cbjwvbmctY29udGFpbmVyPlxuIl19
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
3
|
-
import { of } from 'rxjs';
|
|
4
|
-
export const TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS = {
|
|
5
|
-
countries: [],
|
|
6
|
-
countryIsoCode: 'RU',
|
|
7
|
-
metadata: of({ countries: {}, country_calling_codes: {} }),
|
|
8
|
-
separator: '-',
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Default parameters for input phone international component
|
|
12
|
-
*/
|
|
13
|
-
export const TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS' : '', {
|
|
14
|
-
factory: () => TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS,
|
|
15
|
-
});
|
|
16
|
-
export function tuiInputPhoneInternationalOptionsProvider(options) {
|
|
17
|
-
return tuiProvideOptions(TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS, options, TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS);
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtcGhvbmUtaW50ZXJuYXRpb25hbC5vcHRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvaW5wdXQtcGhvbmUtaW50ZXJuYXRpb25hbC9pbnB1dC1waG9uZS1pbnRlcm5hdGlvbmFsLm9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLGNBQWMsRUFBZ0IsTUFBTSxlQUFlLENBQUM7QUFDNUQsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sbUNBQW1DLENBQUM7QUFHcEUsT0FBTyxFQUFrQixFQUFFLEVBQUMsTUFBTSxNQU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ICAgfSxcbik7XG5cbmV4cG9ydCBmdW5jdGlvbiB0dWlJbnB1dFBob25lSW50ZXJuYXRpb25hbE9wdGlvbnNQcm92aWRlcihcbiAgICBvcHRpb25zOiBQYXJ0aWFsPFR1aUlucHV0UGhvbmVJbnRlcm5hdGlvbmFsT3B0aW9ucz4sXG4pOiBQcm92aWRlciB7XG4gICAgcmV0dXJuIHR1aVByb3ZpZGVPcHRpb25zKFxuICAgICAgICBUVUlfSU5QVVRfUEhPTkVfSU5URVJOQVRJT05BTF9PUFRJT05TLFxuICAgICAgICBvcHRpb25zLFxuICAgICAgICBUVUlfSU5QVVRfUEhPTkVfSU5URVJOQVRJT05BTF9ERUZBVUxUX09QVElPTlMsXG4gICAgKTtcbn1cbiJdfQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWkta2l0LWNvbXBvbmVudHMtaW5wdXQtcGhvbmUtaW50ZXJuYXRpb25hbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL2lucHV0LXBob25lLWludGVybmF0aW9uYWwvdGFpZ2EtdWkta2l0LWNvbXBvbmVudHMtaW5wdXQtcGhvbmUtaW50ZXJuYXRpb25hbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './input-pin.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9pbnB1dC1waW4vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx1QkFBdUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaW5wdXQtcGluLmNvbXBvbmVudCc7XG4iXX0=
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, computed, inject, Input, signal, } from '@angular/core';
|
|
2
|
-
import { NgControl } from '@angular/forms';
|
|
3
|
-
import { MaskitoDirective } from '@maskito/angular';
|
|
4
|
-
import { TuiRepeatTimes } from '@taiga-ui/cdk/directives/repeat-times';
|
|
5
|
-
import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
|
|
6
|
-
import { tuiIsNativeFocused } from '@taiga-ui/cdk/utils/focus';
|
|
7
|
-
import { tuiIsString } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
8
|
-
import { TUI_TEXTFIELD_OPTIONS, TuiTextfieldContent, } from '@taiga-ui/core/components/textfield';
|
|
9
|
-
import { TuiAppearance } from '@taiga-ui/core/directives/appearance';
|
|
10
|
-
import { tuiMaskito } from '@taiga-ui/kit/utils';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "@maskito/angular";
|
|
13
|
-
class TuiInputPin {
|
|
14
|
-
constructor() {
|
|
15
|
-
this.el = tuiInjectElement();
|
|
16
|
-
this.mask = signal(/^\d+$/);
|
|
17
|
-
this.appearance = inject(TUI_TEXTFIELD_OPTIONS).appearance;
|
|
18
|
-
this.control = inject(NgControl);
|
|
19
|
-
this.maskito = tuiMaskito(computed(() => ({
|
|
20
|
-
mask: this.mask(),
|
|
21
|
-
overwriteMode: 'replace',
|
|
22
|
-
})));
|
|
23
|
-
}
|
|
24
|
-
set maskSetter(mask) {
|
|
25
|
-
this.mask.set(tuiIsString(mask) ? new RegExp(mask) : mask);
|
|
26
|
-
}
|
|
27
|
-
onClick(index) {
|
|
28
|
-
this.el.focus();
|
|
29
|
-
this.el.setSelectionRange(index, index + 1);
|
|
30
|
-
}
|
|
31
|
-
onSelection() {
|
|
32
|
-
if (this.el.selectionStart === this.el.maxLength) {
|
|
33
|
-
this.el.setSelectionRange(this.el.maxLength - 1, this.el.maxLength);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
onArrow() {
|
|
37
|
-
if (this.el.selectionStart === this.el.maxLength - 1 &&
|
|
38
|
-
this.el.selectionEnd === this.el.maxLength) {
|
|
39
|
-
this.el.setSelectionRange(this.el.maxLength - 2, this.el.maxLength - 2);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
isFocused(index) {
|
|
43
|
-
return (tuiIsNativeFocused(this.el) &&
|
|
44
|
-
(this.el.selectionStart === index ||
|
|
45
|
-
(this.el.selectionStart === this.el.maxLength &&
|
|
46
|
-
index === this.el.maxLength - 1)));
|
|
47
|
-
}
|
|
48
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputPin, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
49
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputPin, isStandalone: true, selector: "input[tuiInputPin]", inputs: { maskSetter: ["mask", "maskSetter"] }, host: { attributes: { "ngSkipHydration": "true", "inputmode": "numeric", "spellcheck": "false" }, listeners: { "pointerdown.prevent": "onClick(0)", "selectionchange": "onSelection()", "keydown.arrowLeft": "onArrow()" } }, hostDirectives: [{ directive: i1.MaskitoDirective }], ngImport: i0, template: "<div\n *tuiTextfieldContent\n class=\"t-wrapper\"\n>\n <label\n *tuiRepeatTimes=\"let index of el.maxLength\"\n class=\"t-item\"\n [tuiAppearance]=\"appearance()\"\n [tuiAppearanceFocus]=\"isFocused(index)\"\n [tuiAppearanceMode]=\"control.invalid && control.touched ? 'invalid' : null\"\n (pointerdown.prevent)=\"onClick(index)\"\n >\n <span\n class=\"t-value\"\n [class.t-value_filled]=\"el.value[index]\"\n [textContent]=\"el.value[index] || el.placeholder[index]\"\n ></span>\n </label>\n</div>\n", styles: ["@keyframes blink{50%{opacity:0}}:host{color:transparent;background:transparent;border:none;outline:none;--t-caret-color: rgba(255, 255, 255, .01);caret-color:var(--t-caret-color)}:host :host-context([tuiTheme=\"dark\"]){--t-caret-color: rgba(50, 50, 50, .01)}:host::selection{background:transparent}:host::placeholder{color:transparent!important}:host ::ng-deep+.t-content .t-clear{display:none!important}.t-wrapper{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;display:flex;gap:inherit;border-radius:inherit}.t-item{display:flex;flex:1;align-items:center;justify-content:center;border-radius:inherit;pointer-events:auto;cursor:text}.t-item:first-child{pointer-events:none}.t-item[data-focus=true] .t-value_filled{background:var(--tui-service-selection-background)}.t-item[data-focus=true] .t-value_filled:before{display:none}.t-item[data-focus=true] .t-value:before{content:\"\";block-size:1em;border-inline-start:1px solid var(--tui-text-primary);animation:blink 1s steps(1) infinite}.t-value{color:var(--tui-text-tertiary)}.t-value_filled{color:var(--tui-text-primary)}\n"], dependencies: [{ kind: "directive", type: TuiAppearance, selector: "[tuiAppearance]", inputs: ["tuiAppearance", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceMode"] }, { kind: "directive", type: TuiRepeatTimes, selector: "[tuiRepeatTimes][tuiRepeatTimesOf]", inputs: ["tuiRepeatTimesOf"] }, { kind: "directive", type: TuiTextfieldContent, selector: "ng-template[tuiTextfieldContent]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
50
|
-
}
|
|
51
|
-
export { TuiInputPin };
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputPin, decorators: [{
|
|
53
|
-
type: Component,
|
|
54
|
-
args: [{ standalone: true, selector: 'input[tuiInputPin]', imports: [TuiAppearance, TuiRepeatTimes, TuiTextfieldContent], changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [MaskitoDirective], host: {
|
|
55
|
-
ngSkipHydration: 'true',
|
|
56
|
-
inputmode: 'numeric',
|
|
57
|
-
spellcheck: 'false',
|
|
58
|
-
'(pointerdown.prevent)': 'onClick(0)',
|
|
59
|
-
'(selectionchange)': 'onSelection()',
|
|
60
|
-
'(keydown.arrowLeft)': 'onArrow()',
|
|
61
|
-
}, template: "<div\n *tuiTextfieldContent\n class=\"t-wrapper\"\n>\n <label\n *tuiRepeatTimes=\"let index of el.maxLength\"\n class=\"t-item\"\n [tuiAppearance]=\"appearance()\"\n [tuiAppearanceFocus]=\"isFocused(index)\"\n [tuiAppearanceMode]=\"control.invalid && control.touched ? 'invalid' : null\"\n (pointerdown.prevent)=\"onClick(index)\"\n >\n <span\n class=\"t-value\"\n [class.t-value_filled]=\"el.value[index]\"\n [textContent]=\"el.value[index] || el.placeholder[index]\"\n ></span>\n </label>\n</div>\n", styles: ["@keyframes blink{50%{opacity:0}}:host{color:transparent;background:transparent;border:none;outline:none;--t-caret-color: rgba(255, 255, 255, .01);caret-color:var(--t-caret-color)}:host :host-context([tuiTheme=\"dark\"]){--t-caret-color: rgba(50, 50, 50, .01)}:host::selection{background:transparent}:host::placeholder{color:transparent!important}:host ::ng-deep+.t-content .t-clear{display:none!important}.t-wrapper{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;display:flex;gap:inherit;border-radius:inherit}.t-item{display:flex;flex:1;align-items:center;justify-content:center;border-radius:inherit;pointer-events:auto;cursor:text}.t-item:first-child{pointer-events:none}.t-item[data-focus=true] .t-value_filled{background:var(--tui-service-selection-background)}.t-item[data-focus=true] .t-value_filled:before{display:none}.t-item[data-focus=true] .t-value:before{content:\"\";block-size:1em;border-inline-start:1px solid var(--tui-text-primary);animation:blink 1s steps(1) infinite}.t-value{color:var(--tui-text-tertiary)}.t-value_filled{color:var(--tui-text-primary)}\n"] }]
|
|
62
|
-
}], propDecorators: { maskSetter: [{
|
|
63
|
-
type: Input,
|
|
64
|
-
args: ['mask']
|
|
65
|
-
}] } });
|
|
66
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtcGluLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL2lucHV0LXBpbi9pbnB1dC1waW4uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvaW5wdXQtcGluL2lucHV0LXBpbi50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFFBQVEsRUFDUixNQUFNLEVBQ04sS0FBSyxFQUNMLE1BQU0sR0FDVCxNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUMsU0FBUyxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFDekMsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sa0JBQWtCLENBQUM7QUFFbEQsT0FBTyxFQUFDLGNBQWMsRUFBQyxNQUFNLHVDQUF1QyxDQUFDO0FBQ3JFLE9BQU8sRUFBQyxnQkFBZ0IsRUFBQyxNQUFNLHlCQUF5QixDQUFDO0FBQ3pELE9BQU8sRUFBQyxrQkFBa0IsRUFBQyxNQUFNLDJCQUEyQixDQUFDO0FBQzdELE9BQU8sRUFBQyxXQUFXLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQztBQUM5RCxPQUFPLE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m9jdXMoKTtcbiAgICAgICAgdGhpcy5lbC5zZXRTZWxlY3Rpb25SYW5nZShpbmRleCwgaW5kZXggKyAxKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgb25TZWxlY3Rpb24oKTogdm9pZCB7XG4gICAgICAgIGlmICh0aGlzLmVsLnNlbGVjdGlvblN0YXJ0ID09PSB0aGlzLmVsLm1heExlbmd0aCkge1xuICAgICAgICAgICAgdGhpcy5lbC5zZXRTZWxlY3Rpb25SYW5nZSh0aGlzLmVsLm1heExlbmd0aCAtIDEsIHRoaXMuZWwubWF4TGVuZ3RoKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHB1YmxpYyBvbkFycm93KCk6IHZvaWQge1xuICAgICAgICBpZiAoXG4gICAgICAgICAgICB0aGlzLmVsLnNlbGVjdGlvblN0YXJ0ID09PSB0aGlzLmVsLm1heExlbmd0aCAtIDEgJiZcbiAgICAgICAgICAgIHRoaXMuZWwuc2VsZWN0aW9uRW5kID09PSB0aGlzLmVsLm1heExlbmd0aFxuICAgICAgICApIHtcbiAgICAgICAgICAgIHRoaXMuZWwuc2V0U2VsZWN0aW9uUmFuZ2UodGhpcy5lbC5tYXhMZW5ndGggLSAyLCB0aGlzLmVsLm1heExlbmd0aCAtIDIpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgcHVibGljIGlzRm9jdXNlZChpbmRleDogbnVtYmVyKTogYm9vbGVhbiB7XG4gICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICB0dWlJc05hdGl2ZUZvY3VzZWQodGhpcy5lbCkgJiZcbiAgICAgICAgICAgICh0aGlzLmVsLnNlbGVjdGlvblN0YXJ0ID09PSBpbmRleCB8fFxuICAgICAgICAgICAgICAgICh0aGlzLmVsLnNlbGVjdGlvblN0YXJ0ID09PSB0aGlzLmVsLm1heExlbmd0aCAmJlxuICAgICAgICAgICAgICAgICAgICBpbmRleCA9PT0gdGhpcy5lbC5tYXhMZW5ndGggLSAxKSlcbiAgICAgICAgKTtcbiAgICB9XG59XG4iLCI8ZGl2XG4gICAgKnR1aVRleHRmaWVsZENvbnRlbnRcbiAgICBjbGFzcz1cInQtd3JhcHBlclwiXG4+XG4gICAgPGxhYmVsXG4gICAgICAgICp0dWlSZXBlYXRUaW1lcz1cImxldCBpbmRleCBvZiBlbC5tYXhMZW5ndGhcIlxuICAgICAgICBjbGFzcz1cInQtaXRlbVwiXG4gICAgICAgIFt0dWlBcHBlYXJhbmNlXT1cImFwcGVhcmFuY2UoKVwiXG4gICAgICAgIFt0dWlBcHBlYXJhbmNlRm9jdXNdPVwiaXNGb2N1c2VkKGluZGV4KVwiXG4gICAgICAgIFt0dWlBcHBlYXJhbmNlTW9kZV09XCJjb250cm9sLmludmFsaWQgJiYgY29udHJvbC50b3VjaGVkID8gJ2ludmFsaWQnIDogbnVsbFwiXG4gICAgICAgIChwb2ludGVyZG93bi5wcmV2ZW50KT1cIm9uQ2xpY2soaW5kZXgpXCJcbiAgICA+XG4gICAgICAgIDxzcGFuXG4gICAgICAgICAgICBjbGFzcz1cInQtdmFsdWVcIlxuICAgICAgICAgICAgW2NsYXNzLnQtdmFsdWVfZmlsbGVkXT1cImVsLnZhbHVlW2luZGV4XVwiXG4gICAgICAgICAgICBbdGV4dENvbnRlbnRdPVwiZWwudmFsdWVbaW5kZXhdIHx8IGVsLnBsYWNlaG9sZGVyW2luZGV4XVwiXG4gICAgICAgID48L3NwYW4+XG4gICAgPC9sYWJlbD5cbjwvZGl2PlxuIl19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWkta2l0LWNvbXBvbmVudHMtaW5wdXQtcGluLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvaW5wdXQtcGluL3RhaWdhLXVpLWtpdC1jb21wb25lbnRzLWlucHV0LXBpbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './input-range';
|
|
2
|
-
export * from './input-range.component';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9pbnB1dC1yYW5nZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9pbnB1dC1yYW5nZSc7XG5leHBvcnQgKiBmcm9tICcuL2lucHV0LXJhbmdlLmNvbXBvbmVudCc7XG4iXX0=
|