@taiga-ui/kit 2.22.0 → 2.26.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/README.md +7 -3
- package/bundles/taiga-ui-kit-components-accordion.umd.js +5 -6
- package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-accordion.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-action.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-action.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-avatar.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-avatar.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-badge.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-badge.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-badged-content.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-badged-content.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +6 -6
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-carousel.umd.js +581 -0
- package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -0
- package/bundles/taiga-ui-kit-components-carousel.umd.min.js +16 -0
- package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +1 -0
- package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-field-error.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-filter.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-filter.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js +7 -2
- package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-file.umd.js +191 -191
- package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-file.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-inline.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-inline.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.js +8 -2
- package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.js +3 -2
- package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-range.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-range.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-island.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js +5 -5
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +16 -12
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.js +29 -46
- package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +338 -0
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -0
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js +16 -0
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +1 -0
- package/bundles/taiga-ui-kit-components-progress.umd.js +61 -25
- package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-progress.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-range.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-range.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select-option.umd.js +23 -14
- package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select-option.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-slider.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-slider.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-stepper.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-stepper.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.js +3 -3
- package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tag.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tag.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-text-area.umd.js +19 -2
- package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-text-area.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tree.umd.js +146 -135
- package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tree.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components.umd.js +42 -26
- package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-constants.umd.js +3 -0
- package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-constants.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-constants.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +2 -1
- package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-highlight.umd.js +6 -1
- package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-highlight.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-directives.umd.js +12 -12
- package/bundles/taiga-ui-kit-directives.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +1 -1
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +21 -21
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-tokens.umd.js +14 -14
- package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-tokens.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-format.umd.js +0 -2
- package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +1 -1
- package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +1 -1
- package/components/action/taiga-ui-kit-components-action.metadata.json +1 -1
- package/components/arrow/taiga-ui-kit-components-arrow.metadata.json +1 -1
- package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +1 -1
- package/components/badge/taiga-ui-kit-components-badge.metadata.json +1 -1
- package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +1 -1
- package/components/breadcrumbs/index.d.ts +1 -1
- package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +1 -1
- package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +1 -1
- package/components/calendar-range/taiga-ui-kit-components-calendar-range.metadata.json +1 -1
- package/components/carousel/carousel-buttons.directive.d.ts +4 -0
- package/components/carousel/carousel-draggable.directive.d.ts +16 -0
- package/components/carousel/carousel-scroller.directive.d.ts +17 -0
- package/components/carousel/carousel.component.d.ts +18 -0
- package/components/carousel/carousel.directive.d.ts +18 -0
- package/components/carousel/carousel.module.d.ts +2 -0
- package/components/carousel/index.d.ts +6 -0
- package/components/carousel/package.json +13 -0
- package/components/carousel/taiga-ui-kit-components-carousel.d.ts +4 -0
- package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +1 -0
- package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +1 -1
- package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +1 -1
- package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +1 -1
- package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +1 -1
- package/components/filter/taiga-ui-kit-components-filter.metadata.json +1 -1
- package/components/index.d.ts +5 -3
- package/components/input/taiga-ui-kit-components-input.metadata.json +1 -1
- package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +1 -1
- package/components/input-count/input-count.component.d.ts +1 -0
- package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +1 -1
- package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +1 -1
- package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +1 -1
- package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +1 -1
- package/components/input-file/index.d.ts +1 -1
- package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +1 -1
- package/components/input-inline/taiga-ui-kit-components-input-inline.metadata.json +1 -1
- package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +1 -1
- package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +1 -1
- package/components/input-number/input-number.component.d.ts +1 -0
- package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +1 -1
- package/components/input-password/index.d.ts +1 -1
- package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +1 -1
- package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +1 -1
- package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +1 -1
- package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +1 -1
- package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
- package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +1 -1
- package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +1 -1
- package/components/island/taiga-ui-kit-components-island.metadata.json +1 -1
- package/components/line-clamp/index.d.ts +1 -1
- package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +1 -1
- package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +1 -1
- package/components/multi-select/index.d.ts +0 -1
- package/components/multi-select/multi-select.component.d.ts +7 -5
- package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +1 -1
- package/components/multi-select-option/multi-select-option.component.d.ts +1 -1
- package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.metadata.json +1 -1
- package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +1 -1
- package/components/pdf-viewer/index.d.ts +5 -0
- package/components/pdf-viewer/package.json +13 -0
- package/components/pdf-viewer/pdf-viewer-options.d.ts +6 -0
- package/components/pdf-viewer/pdf-viewer.component.d.ts +20 -0
- package/components/pdf-viewer/pdf-viewer.directive.d.ts +4 -0
- package/components/pdf-viewer/pdf-viewer.module.d.ts +2 -0
- package/components/pdf-viewer/pdf-viewer.service.d.ts +8 -0
- package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +4 -0
- package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.metadata.json +1 -0
- package/components/progress/index.d.ts +4 -2
- package/components/progress/pipes/abstract-color-segments.d.ts +9 -0
- package/components/progress/pipes/progress-color-segments-async.pipe.d.ts +5 -0
- package/components/progress/pipes/progress-color-segments.pipe.d.ts +7 -6
- package/components/progress/taiga-ui-kit-components-progress.metadata.json +1 -1
- package/components/radio/taiga-ui-kit-components-radio.metadata.json +1 -1
- package/components/radio-group/taiga-ui-kit-components-radio-group.metadata.json +1 -1
- package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +1 -1
- package/components/range/taiga-ui-kit-components-range.metadata.json +1 -1
- package/components/select/taiga-ui-kit-components-select.metadata.json +1 -1
- package/components/select-option/select-option.component.d.ts +4 -2
- package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +1 -1
- package/components/slider/taiga-ui-kit-components-slider.metadata.json +1 -1
- package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
- package/components/tabs/index.d.ts +2 -2
- package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
- package/components/tag/taiga-ui-kit-components-tag.metadata.json +1 -1
- package/components/taiga-ui-kit-components.metadata.json +1 -1
- package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +1 -1
- package/components/text-area/text-area.component.d.ts +2 -0
- package/components/toggle/index.d.ts +1 -1
- package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +1 -1
- package/components/tree/components/tree/tree.component.d.ts +6 -1
- package/components/tree/index.d.ts +4 -4
- package/components/tree/taiga-ui-kit-components-tree.metadata.json +1 -1
- package/constants/icon-blank.d.ts +1 -0
- package/constants/index.d.ts +1 -0
- package/constants/taiga-ui-kit-constants.metadata.json +1 -1
- package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +1 -1
- package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.metadata.json +1 -1
- package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.metadata.json +1 -1
- package/directives/highlight/highlight.directive.d.ts +1 -0
- package/directives/highlight/taiga-ui-kit-directives-highlight.metadata.json +1 -1
- package/directives/index.d.ts +1 -1
- package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.metadata.json +1 -1
- package/directives/present/taiga-ui-kit-directives-present.metadata.json +1 -1
- package/directives/project-class/taiga-ui-kit-directives-project-class.metadata.json +1 -1
- package/directives/taiga-ui-kit-directives.metadata.json +1 -1
- package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.metadata.json +1 -1
- package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.metadata.json +1 -1
- package/esm2015/components/accordion/accordion-item/accordion-item.component.js +5 -6
- package/esm2015/components/accordion/accordion.component.js +2 -2
- package/esm2015/components/accordion/accordion.module.js +3 -3
- package/esm2015/components/action/action.component.js +2 -2
- package/esm2015/components/arrow/arrow.module.js +1 -1
- package/esm2015/components/avatar/avatar.component.js +2 -2
- package/esm2015/components/avatar/avatar.module.js +1 -1
- package/esm2015/components/badge/badge.component.js +3 -3
- package/esm2015/components/badge/badge.module.js +1 -1
- package/esm2015/components/badged-content/badged-content.component.js +1 -1
- package/esm2015/components/badged-content/badged-content.module.js +1 -1
- package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +2 -2
- package/esm2015/components/breadcrumbs/breadcrumbs.component.js +2 -2
- package/esm2015/components/breadcrumbs/breadcrumbs.module.js +2 -2
- package/esm2015/components/breadcrumbs/index.js +2 -2
- package/esm2015/components/calendar-month/calendar-month.component.js +2 -2
- package/esm2015/components/calendar-month/calendar-month.module.js +1 -1
- package/esm2015/components/calendar-range/calendar-range.component.js +2 -2
- package/esm2015/components/carousel/carousel-buttons.directive.js +24 -0
- package/esm2015/components/carousel/carousel-draggable.directive.js +67 -0
- package/esm2015/components/carousel/carousel-scroller.directive.js +76 -0
- package/esm2015/components/carousel/carousel.component.js +87 -0
- package/esm2015/components/carousel/carousel.directive.js +65 -0
- package/esm2015/components/carousel/carousel.module.js +34 -0
- package/esm2015/components/carousel/index.js +7 -0
- package/esm2015/components/carousel/taiga-ui-kit-components-carousel.js +5 -0
- package/esm2015/components/checkbox/checkbox.module.js +1 -1
- package/esm2015/components/combo-box/combo-box.component.js +2 -2
- package/esm2015/components/combo-box/combo-box.module.js +1 -1
- package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
- package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
- package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +1 -1
- package/esm2015/components/field-error/field-error.module.js +1 -1
- package/esm2015/components/filter/filter.component.js +1 -1
- package/esm2015/components/filter/filter.module.js +1 -1
- package/esm2015/components/index.js +6 -4
- package/esm2015/components/input/input.component.js +2 -2
- package/esm2015/components/input/input.module.js +1 -1
- package/esm2015/components/input/input.providers.js +1 -1
- package/esm2015/components/input-copy/input-copy.component.js +2 -2
- package/esm2015/components/input-copy/input-copy.module.js +1 -1
- package/esm2015/components/input-count/input-count.component.js +8 -3
- package/esm2015/components/input-count/input-count.module.js +1 -1
- package/esm2015/components/input-date/input-date.component.js +3 -3
- package/esm2015/components/input-date/input-date.module.js +1 -1
- package/esm2015/components/input-date-range/input-date-range.component.js +2 -2
- package/esm2015/components/input-date-range/input-date-range.module.js +1 -1
- package/esm2015/components/input-date-time/input-date-time.component.js +2 -2
- package/esm2015/components/input-date-time/input-date-time.module.js +1 -1
- package/esm2015/components/input-file/file/file.component.js +3 -3
- package/esm2015/components/input-file/index.js +2 -2
- package/esm2015/components/input-file/input-file.component.js +3 -3
- package/esm2015/components/input-file/input-file.module.js +1 -1
- package/esm2015/components/input-inline/input-inline.component.js +1 -1
- package/esm2015/components/input-inline/input-inline.module.js +1 -1
- package/esm2015/components/input-month/input-month.component.js +1 -1
- package/esm2015/components/input-month-range/input-month-range.component.js +1 -1
- package/esm2015/components/input-number/input-number.component.js +9 -3
- package/esm2015/components/input-number/input-number.module.js +1 -1
- package/esm2015/components/input-password/index.js +2 -2
- package/esm2015/components/input-password/input-password.component.js +3 -3
- package/esm2015/components/input-password/input-password.module.js +3 -1
- package/esm2015/components/input-phone/input-phone.component.js +3 -3
- package/esm2015/components/input-phone/input-phone.module.js +1 -1
- package/esm2015/components/input-phone-international/const/countries.js +1 -1
- package/esm2015/components/input-phone-international/input-phone-international.component.js +2 -2
- package/esm2015/components/input-phone-international/input-phone-international.module.js +1 -1
- package/esm2015/components/input-range/input-range.component.js +3 -3
- package/esm2015/components/input-slider/input-slider.component.js +3 -3
- package/esm2015/components/input-tag/input-tag.component.js +3 -3
- package/esm2015/components/input-tag/input-tag.module.js +1 -1
- package/esm2015/components/input-time/input-time.component.js +3 -3
- package/esm2015/components/input-time/input-time.module.js +1 -1
- package/esm2015/components/island/island.module.js +1 -1
- package/esm2015/components/line-clamp/index.js +2 -2
- package/esm2015/components/line-clamp/line-clamp.component.js +1 -1
- package/esm2015/components/line-clamp/line-clamp.module.js +1 -1
- package/esm2015/components/marker-icon/marker-icon.module.js +1 -1
- package/esm2015/components/multi-select/hide-selected.pipe.js +1 -1
- package/esm2015/components/multi-select/index.js +1 -2
- package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +10 -4
- package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +1 -1
- package/esm2015/components/multi-select/multi-select.component.js +16 -17
- package/esm2015/components/multi-select/multi-select.module.js +2 -4
- package/esm2015/components/multi-select-option/multi-select-option.component.js +8 -10
- package/esm2015/components/multi-select-option/multi-select-option.module.js +1 -1
- package/esm2015/components/pagination/pagination.component.js +1 -1
- package/esm2015/components/pagination/pagination.module.js +1 -1
- package/esm2015/components/pdf-viewer/index.js +5 -0
- package/esm2015/components/pdf-viewer/pdf-viewer-options.js +1 -0
- package/esm2015/components/pdf-viewer/pdf-viewer.component.js +50 -0
- package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +21 -0
- package/esm2015/components/pdf-viewer/pdf-viewer.module.js +28 -0
- package/esm2015/components/pdf-viewer/pdf-viewer.service.js +24 -0
- package/esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +5 -0
- package/esm2015/components/progress/index.js +5 -3
- package/esm2015/components/progress/pipes/abstract-color-segments.js +32 -0
- package/esm2015/components/progress/pipes/progress-color-segments-async.pipe.js +15 -0
- package/esm2015/components/progress/pipes/progress-color-segments.pipe.js +12 -28
- package/esm2015/components/progress/progress-circle/progress-circle.component.js +2 -2
- package/esm2015/components/progress/progress-label/progress-label.component.js +1 -1
- package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +2 -2
- package/esm2015/components/progress/progress.module.js +4 -1
- package/esm2015/components/radio/radio.component.js +1 -1
- package/esm2015/components/radio/radio.module.js +1 -1
- package/esm2015/components/radio-group/radio-group.module.js +1 -1
- package/esm2015/components/radio-labeled/radio-labeled.component.js +1 -1
- package/esm2015/components/range/range.component.js +3 -3
- package/esm2015/components/range/range.module.js +1 -1
- package/esm2015/components/select/select.component.js +2 -2
- package/esm2015/components/select/select.module.js +1 -1
- package/esm2015/components/select-option/select-option.component.js +20 -12
- package/esm2015/components/select-option/select-option.module.js +1 -1
- package/esm2015/components/slider/slider.component.js +3 -3
- package/esm2015/components/slider/slider.module.js +1 -1
- package/esm2015/components/stepper/step/step.component.js +2 -2
- package/esm2015/components/stepper/stepper.component.js +1 -1
- package/esm2015/components/stepper/stepper.module.js +1 -1
- package/esm2015/components/tabs/index.js +3 -3
- package/esm2015/components/tabs/tab/tab.component.js +1 -1
- package/esm2015/components/tabs/tabs/tabs.component.js +2 -2
- package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +3 -3
- package/esm2015/components/tabs/tabs.module.js +2 -2
- package/esm2015/components/tag/tag.component.js +3 -3
- package/esm2015/components/tag/tag.module.js +1 -1
- package/esm2015/components/text-area/text-area.component.js +10 -4
- package/esm2015/components/text-area/text-area.module.js +5 -2
- package/esm2015/components/text-area/text-area.providers.js +1 -1
- package/esm2015/components/toggle/index.js +2 -2
- package/esm2015/components/toggle/toggle.component.js +2 -2
- package/esm2015/components/toggle/toggle.module.js +1 -1
- package/esm2015/components/tree/components/tree/tree.component.js +16 -3
- package/esm2015/components/tree/components/tree-item/tree-item.component.js +9 -9
- package/esm2015/components/tree/components/tree-item/tree-item.providers.js +1 -1
- package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +5 -6
- package/esm2015/components/tree/directives/tree-controller.directive.js +1 -1
- package/esm2015/components/tree/directives/tree-item-controller.directive.js +1 -1
- package/esm2015/components/tree/directives/tree-node.directive.js +1 -1
- package/esm2015/components/tree/index.js +4 -4
- package/esm2015/components/tree/misc/tree.constants.js +1 -1
- package/esm2015/components/tree/misc/tree.interfaces.js +1 -1
- package/esm2015/components/tree/misc/tree.service.js +1 -1
- package/esm2015/components/tree/misc/tree.tokens.js +1 -1
- package/esm2015/components/tree/tree.module.js +3 -3
- package/esm2015/constants/icon-blank.js +2 -0
- package/esm2015/constants/index.js +2 -1
- package/esm2015/directives/dropdown-context/dropdown-context.directive.js +1 -1
- package/esm2015/directives/dropdown-context/dropdown-context.module.js +1 -1
- package/esm2015/directives/dropdown-hover/dropdown-hover.module.js +1 -1
- package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +3 -2
- package/esm2015/directives/dropdown-selection/dropdown-selection.module.js +1 -1
- package/esm2015/directives/highlight/highlight.directive.js +7 -2
- package/esm2015/directives/highlight/highlight.module.js +1 -1
- package/esm2015/directives/index.js +2 -2
- package/esm2015/directives/lazy-loading/lazy-loading.directive.js +1 -1
- package/esm2015/directives/lazy-loading/lazy-loading.module.js +1 -1
- package/esm2015/directives/present/present.module.js +1 -1
- package/esm2015/directives/project-class/project-class.module.js +1 -1
- package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +1 -1
- package/esm2015/directives/value-accessor/value-accessor.module.js +1 -1
- package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
- package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +1 -1
- package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
- package/esm2015/pipes/filter-by-input/filter-by-input.module.js +2 -2
- package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
- package/esm2015/pipes/stringify/stringify.module.js +1 -1
- package/esm2015/pipes/stringify-content/stringify-content.module.js +1 -1
- package/esm2015/tokens/index.js +2 -2
- package/esm2015/utils/format/string-hash-to-hsl.js +1 -3
- package/esm2015/utils/mask/index.js +2 -2
- package/esm5/components/accordion/accordion-item/accordion-item.component.js +5 -6
- package/esm5/components/accordion/accordion.component.js +2 -2
- package/esm5/components/accordion/accordion.module.js +3 -3
- package/esm5/components/action/action.component.js +2 -2
- package/esm5/components/arrow/arrow.module.js +1 -1
- package/esm5/components/avatar/avatar.component.js +2 -2
- package/esm5/components/avatar/avatar.module.js +1 -1
- package/esm5/components/badge/badge.component.js +3 -3
- package/esm5/components/badge/badge.module.js +1 -1
- package/esm5/components/badged-content/badged-content.component.js +1 -1
- package/esm5/components/badged-content/badged-content.module.js +1 -1
- package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +2 -2
- package/esm5/components/breadcrumbs/breadcrumbs.component.js +2 -2
- package/esm5/components/breadcrumbs/breadcrumbs.module.js +2 -2
- package/esm5/components/breadcrumbs/index.js +2 -2
- package/esm5/components/calendar-month/calendar-month.component.js +2 -2
- package/esm5/components/calendar-month/calendar-month.module.js +1 -1
- package/esm5/components/calendar-range/calendar-range.component.js +2 -2
- package/esm5/components/carousel/carousel-buttons.directive.js +27 -0
- package/esm5/components/carousel/carousel-draggable.directive.js +73 -0
- package/esm5/components/carousel/carousel-scroller.directive.js +82 -0
- package/esm5/components/carousel/carousel.component.js +90 -0
- package/esm5/components/carousel/carousel.directive.js +82 -0
- package/esm5/components/carousel/carousel.module.js +37 -0
- package/esm5/components/carousel/index.js +7 -0
- package/esm5/components/carousel/taiga-ui-kit-components-carousel.js +5 -0
- package/esm5/components/checkbox/checkbox.module.js +1 -1
- package/esm5/components/combo-box/combo-box.component.js +2 -2
- package/esm5/components/combo-box/combo-box.module.js +1 -1
- package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
- package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
- package/esm5/components/data-list-wrapper/data-list-wrapper.module.js +1 -1
- package/esm5/components/field-error/field-error.module.js +1 -1
- package/esm5/components/filter/filter.component.js +1 -1
- package/esm5/components/filter/filter.module.js +1 -1
- package/esm5/components/index.js +6 -4
- package/esm5/components/input/input.component.js +2 -2
- package/esm5/components/input/input.module.js +1 -1
- package/esm5/components/input/input.providers.js +1 -1
- package/esm5/components/input-copy/input-copy.component.js +2 -2
- package/esm5/components/input-copy/input-copy.module.js +1 -1
- package/esm5/components/input-count/input-count.component.js +8 -3
- package/esm5/components/input-count/input-count.module.js +1 -1
- package/esm5/components/input-date/input-date.component.js +3 -3
- package/esm5/components/input-date/input-date.module.js +1 -1
- package/esm5/components/input-date-range/input-date-range.component.js +2 -2
- package/esm5/components/input-date-range/input-date-range.module.js +1 -1
- package/esm5/components/input-date-time/input-date-time.component.js +2 -2
- package/esm5/components/input-date-time/input-date-time.module.js +1 -1
- package/esm5/components/input-file/file/file.component.js +3 -3
- package/esm5/components/input-file/index.js +2 -2
- package/esm5/components/input-file/input-file.component.js +3 -3
- package/esm5/components/input-file/input-file.module.js +1 -1
- package/esm5/components/input-inline/input-inline.component.js +1 -1
- package/esm5/components/input-inline/input-inline.module.js +1 -1
- package/esm5/components/input-month/input-month.component.js +1 -1
- package/esm5/components/input-month-range/input-month-range.component.js +1 -1
- package/esm5/components/input-number/input-number.component.js +9 -3
- package/esm5/components/input-number/input-number.module.js +1 -1
- package/esm5/components/input-password/index.js +2 -2
- package/esm5/components/input-password/input-password.component.js +3 -3
- package/esm5/components/input-password/input-password.module.js +3 -1
- package/esm5/components/input-phone/input-phone.component.js +3 -3
- package/esm5/components/input-phone/input-phone.module.js +1 -1
- package/esm5/components/input-phone-international/const/countries.js +1 -1
- package/esm5/components/input-phone-international/input-phone-international.component.js +2 -2
- package/esm5/components/input-phone-international/input-phone-international.module.js +1 -1
- package/esm5/components/input-range/input-range.component.js +3 -3
- package/esm5/components/input-slider/input-slider.component.js +3 -3
- package/esm5/components/input-tag/input-tag.component.js +3 -3
- package/esm5/components/input-tag/input-tag.module.js +1 -1
- package/esm5/components/input-time/input-time.component.js +3 -3
- package/esm5/components/input-time/input-time.module.js +1 -1
- package/esm5/components/island/island.module.js +1 -1
- package/esm5/components/line-clamp/index.js +2 -2
- package/esm5/components/line-clamp/line-clamp.component.js +1 -1
- package/esm5/components/line-clamp/line-clamp.module.js +1 -1
- package/esm5/components/marker-icon/marker-icon.module.js +1 -1
- package/esm5/components/multi-select/hide-selected.pipe.js +1 -1
- package/esm5/components/multi-select/index.js +1 -2
- package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +10 -4
- package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +1 -1
- package/esm5/components/multi-select/multi-select.component.js +20 -21
- package/esm5/components/multi-select/multi-select.module.js +2 -4
- package/esm5/components/multi-select-option/multi-select-option.component.js +14 -11
- package/esm5/components/multi-select-option/multi-select-option.module.js +1 -1
- package/esm5/components/pagination/pagination.component.js +1 -1
- package/esm5/components/pagination/pagination.module.js +1 -1
- package/esm5/components/pdf-viewer/index.js +5 -0
- package/esm5/components/pdf-viewer/pdf-viewer-options.js +1 -0
- package/esm5/components/pdf-viewer/pdf-viewer.component.js +51 -0
- package/esm5/components/pdf-viewer/pdf-viewer.directive.js +26 -0
- package/esm5/components/pdf-viewer/pdf-viewer.module.js +31 -0
- package/esm5/components/pdf-viewer/pdf-viewer.service.js +27 -0
- package/esm5/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +5 -0
- package/esm5/components/progress/index.js +5 -3
- package/esm5/components/progress/pipes/abstract-color-segments.js +35 -0
- package/esm5/components/progress/pipes/progress-color-segments-async.pipe.js +21 -0
- package/esm5/components/progress/pipes/progress-color-segments.pipe.js +16 -30
- package/esm5/components/progress/progress-circle/progress-circle.component.js +2 -2
- package/esm5/components/progress/progress-label/progress-label.component.js +1 -1
- package/esm5/components/progress/progress-segmented/progress-segmented.component.js +2 -2
- package/esm5/components/progress/progress.module.js +4 -1
- package/esm5/components/radio/radio.component.js +1 -1
- package/esm5/components/radio/radio.module.js +1 -1
- package/esm5/components/radio-group/radio-group.module.js +1 -1
- package/esm5/components/radio-labeled/radio-labeled.component.js +1 -1
- package/esm5/components/range/range.component.js +3 -3
- package/esm5/components/range/range.module.js +1 -1
- package/esm5/components/select/select.component.js +2 -2
- package/esm5/components/select/select.module.js +1 -1
- package/esm5/components/select-option/select-option.component.js +24 -14
- package/esm5/components/select-option/select-option.module.js +1 -1
- package/esm5/components/slider/slider.component.js +3 -3
- package/esm5/components/slider/slider.module.js +1 -1
- package/esm5/components/stepper/step/step.component.js +2 -2
- package/esm5/components/stepper/stepper.component.js +1 -1
- package/esm5/components/stepper/stepper.module.js +1 -1
- package/esm5/components/tabs/index.js +3 -3
- package/esm5/components/tabs/tab/tab.component.js +1 -1
- package/esm5/components/tabs/tabs/tabs.component.js +2 -2
- package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +3 -3
- package/esm5/components/tabs/tabs.module.js +2 -2
- package/esm5/components/tag/tag.component.js +3 -3
- package/esm5/components/tag/tag.module.js +1 -1
- package/esm5/components/text-area/text-area.component.js +18 -4
- package/esm5/components/text-area/text-area.module.js +5 -2
- package/esm5/components/text-area/text-area.providers.js +1 -1
- package/esm5/components/toggle/index.js +2 -2
- package/esm5/components/toggle/toggle.component.js +2 -2
- package/esm5/components/toggle/toggle.module.js +1 -1
- package/esm5/components/tree/components/tree/tree.component.js +16 -3
- package/esm5/components/tree/components/tree-item/tree-item.component.js +9 -9
- package/esm5/components/tree/components/tree-item/tree-item.providers.js +1 -1
- package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +5 -6
- package/esm5/components/tree/directives/tree-controller.directive.js +1 -1
- package/esm5/components/tree/directives/tree-item-controller.directive.js +1 -1
- package/esm5/components/tree/directives/tree-node.directive.js +1 -1
- package/esm5/components/tree/index.js +4 -4
- package/esm5/components/tree/misc/tree.constants.js +1 -1
- package/esm5/components/tree/misc/tree.interfaces.js +1 -1
- package/esm5/components/tree/misc/tree.service.js +1 -1
- package/esm5/components/tree/misc/tree.tokens.js +1 -1
- package/esm5/components/tree/tree.module.js +3 -3
- package/esm5/constants/icon-blank.js +2 -0
- package/esm5/constants/index.js +2 -1
- package/esm5/directives/dropdown-context/dropdown-context.directive.js +1 -1
- package/esm5/directives/dropdown-context/dropdown-context.module.js +1 -1
- package/esm5/directives/dropdown-hover/dropdown-hover.module.js +1 -1
- package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +3 -2
- package/esm5/directives/dropdown-selection/dropdown-selection.module.js +1 -1
- package/esm5/directives/highlight/highlight.directive.js +7 -2
- package/esm5/directives/highlight/highlight.module.js +1 -1
- package/esm5/directives/index.js +2 -2
- package/esm5/directives/lazy-loading/lazy-loading.directive.js +1 -1
- package/esm5/directives/lazy-loading/lazy-loading.module.js +1 -1
- package/esm5/directives/present/present.module.js +1 -1
- package/esm5/directives/project-class/project-class.module.js +1 -1
- package/esm5/directives/unfinished-validator/unfinished-validator.module.js +1 -1
- package/esm5/directives/value-accessor/value-accessor.module.js +1 -1
- package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
- package/esm5/internal/primitive-calendar-range/primitive-calendar-range.module.js +1 -1
- package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
- package/esm5/pipes/filter-by-input/filter-by-input.module.js +2 -2
- package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
- package/esm5/pipes/stringify/stringify.module.js +1 -1
- package/esm5/pipes/stringify-content/stringify-content.module.js +1 -1
- package/esm5/tokens/index.js +2 -2
- package/esm5/utils/format/string-hash-to-hsl.js +1 -3
- package/esm5/utils/mask/index.js +2 -2
- package/fesm2015/taiga-ui-kit-components-accordion.js +5 -6
- package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-action.js +2 -2
- package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-avatar.js +1 -1
- package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-badge.js +2 -2
- package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-badged-content.js +1 -1
- package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +4 -4
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-month.js +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-range.js +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-carousel.js +323 -0
- package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -0
- package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-combo-box.js +2 -2
- package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +2 -2
- package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-filter.js +1 -1
- package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-copy.js +2 -2
- package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-count.js +7 -2
- package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-range.js +2 -2
- package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-time.js +2 -2
- package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date.js +2 -2
- package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-file.js +148 -148
- package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-inline.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month-range.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-number.js +8 -2
- package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-password.js +5 -4
- package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone.js +2 -2
- package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-range.js +2 -2
- package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-slider.js +2 -2
- package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-tag.js +2 -2
- package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-time.js +2 -2
- package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-line-clamp.js +2 -2
- package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-multi-select-option.js +7 -9
- package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-multi-select.js +25 -37
- package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-pagination.js +1 -1
- package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +108 -0
- package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -0
- package/fesm2015/taiga-ui-kit-components-progress.js +41 -16
- package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-labeled.js +1 -1
- package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-range.js +2 -2
- package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-select-option.js +19 -11
- package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-select.js +2 -2
- package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-slider.js +2 -2
- package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-stepper.js +1 -1
- package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tabs.js +3 -3
- package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tag.js +2 -2
- package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-text-area.js +12 -3
- package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-toggle.js +2 -2
- package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tree.js +131 -120
- package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components.js +5 -3
- package/fesm2015/taiga-ui-kit-components.js.map +1 -1
- package/fesm2015/taiga-ui-kit-constants.js +3 -1
- package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +2 -1
- package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-highlight.js +6 -1
- package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives.js +1 -1
- package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
- package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +15 -15
- package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
- package/fesm2015/taiga-ui-kit-tokens.js +14 -14
- package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-format.js +0 -2
- package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-accordion.js +5 -6
- package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-action.js +2 -2
- package/fesm5/taiga-ui-kit-components-arrow.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-avatar.js +1 -1
- package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-badge.js +2 -2
- package/fesm5/taiga-ui-kit-components-badge.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-badged-content.js +1 -1
- package/fesm5/taiga-ui-kit-components-badged-content.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-breadcrumbs.js +4 -4
- package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-calendar-month.js +1 -1
- package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-calendar-range.js +1 -1
- package/fesm5/taiga-ui-kit-components-calendar-range.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-carousel.js +361 -0
- package/fesm5/taiga-ui-kit-components-carousel.js.map +1 -0
- package/fesm5/taiga-ui-kit-components-checkbox.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-combo-box.js +2 -2
- package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +2 -2
- package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-filter.js +1 -1
- package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-copy.js +2 -2
- package/fesm5/taiga-ui-kit-components-input-copy.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-count.js +7 -2
- package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-date-range.js +2 -2
- package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-date-time.js +2 -2
- package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-date.js +2 -2
- package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-file.js +194 -194
- package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-inline.js +1 -1
- package/fesm5/taiga-ui-kit-components-input-inline.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-month-range.js +1 -1
- package/fesm5/taiga-ui-kit-components-input-month.js +1 -1
- package/fesm5/taiga-ui-kit-components-input-number.js +8 -2
- package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-password.js +5 -4
- package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-phone-international.js +1 -1
- package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-phone.js +2 -2
- package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-range.js +2 -2
- package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-slider.js +2 -2
- package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-tag.js +2 -2
- package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-time.js +2 -2
- package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input.js +1 -1
- package/fesm5/taiga-ui-kit-components-input.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-island.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-line-clamp.js +2 -2
- package/fesm5/taiga-ui-kit-components-line-clamp.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-multi-select-option.js +13 -10
- package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-multi-select.js +29 -44
- package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-pagination.js +1 -1
- package/fesm5/taiga-ui-kit-components-pagination.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-pdf-viewer.js +120 -0
- package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +1 -0
- package/fesm5/taiga-ui-kit-components-progress.js +55 -19
- package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-radio-group.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-radio-labeled.js +1 -1
- package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-range.js +2 -2
- package/fesm5/taiga-ui-kit-components-range.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-select-option.js +23 -13
- package/fesm5/taiga-ui-kit-components-select-option.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-select.js +2 -2
- package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-slider.js +2 -2
- package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-stepper.js +1 -1
- package/fesm5/taiga-ui-kit-components-stepper.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-tabs.js +3 -3
- package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-tag.js +2 -2
- package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-text-area.js +20 -3
- package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-toggle.js +2 -2
- package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-tree.js +146 -135
- package/fesm5/taiga-ui-kit-components-tree.js.map +1 -1
- package/fesm5/taiga-ui-kit-components.js +5 -3
- package/fesm5/taiga-ui-kit-components.js.map +1 -1
- package/fesm5/taiga-ui-kit-constants.js +3 -1
- package/fesm5/taiga-ui-kit-constants.js.map +1 -1
- package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
- package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
- package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +2 -1
- package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
- package/fesm5/taiga-ui-kit-directives-highlight.js +6 -1
- package/fesm5/taiga-ui-kit-directives-highlight.js.map +1 -1
- package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
- package/fesm5/taiga-ui-kit-directives-present.js.map +1 -1
- package/fesm5/taiga-ui-kit-directives-project-class.js.map +1 -1
- package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
- package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +1 -1
- package/fesm5/taiga-ui-kit-directives.js +1 -1
- package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
- package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
- package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +22 -22
- package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
- package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
- package/fesm5/taiga-ui-kit-pipes-stringify.js.map +1 -1
- package/fesm5/taiga-ui-kit-tokens.js +14 -14
- package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
- package/fesm5/taiga-ui-kit-utils-format.js +0 -2
- package/fesm5/taiga-ui-kit-utils-format.js.map +1 -1
- package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +1 -1
- package/package.json +7 -6
- package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.metadata.json +1 -1
- package/pipes/stringify/taiga-ui-kit-pipes-stringify.metadata.json +1 -1
- package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.metadata.json +1 -1
- package/tokens/index.d.ts +1 -1
- package/tokens/taiga-ui-kit-tokens.metadata.json +1 -1
- package/utils/mask/index.d.ts +1 -1
- package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +1 -1
- package/components/multi-select/multi-select-group/multi-select-group-reset.directive.d.ts +0 -3
- package/esm2015/components/multi-select/multi-select-group/multi-select-group-reset.directive.js +0 -20
- package/esm5/components/multi-select/multi-select-group/multi-select-group-reset.directive.js +0 -23
|
@@ -8,10 +8,9 @@ import { TuiInputTagModule } from '@taiga-ui/kit/components/input-tag';
|
|
|
8
8
|
import { TuiMultiSelectOptionModule } from '@taiga-ui/kit/components/multi-select-option';
|
|
9
9
|
import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
|
|
10
10
|
import { TuiHideSelectedPipe } from './hide-selected.pipe';
|
|
11
|
-
import {
|
|
11
|
+
import { TuiMultiSelectComponent } from './multi-select.component';
|
|
12
12
|
import { TuiMultiSelectGroupComponent } from './multi-select-group/multi-select-group.component';
|
|
13
13
|
import { TuiMultiSelectGroupDirective } from './multi-select-group/multi-select-group.directive';
|
|
14
|
-
import { TuiMultiSelectComponent } from './multi-select.component';
|
|
15
14
|
var TuiMultiSelectModule = /** @class */ (function () {
|
|
16
15
|
function TuiMultiSelectModule() {
|
|
17
16
|
}
|
|
@@ -37,7 +36,6 @@ var TuiMultiSelectModule = /** @class */ (function () {
|
|
|
37
36
|
TuiMultiSelectComponent,
|
|
38
37
|
TuiMultiSelectGroupComponent,
|
|
39
38
|
TuiMultiSelectGroupDirective,
|
|
40
|
-
TuiMultiSelectGroupResetDirective,
|
|
41
39
|
TuiHideSelectedPipe,
|
|
42
40
|
],
|
|
43
41
|
exports: [
|
|
@@ -51,4 +49,4 @@ var TuiMultiSelectModule = /** @class */ (function () {
|
|
|
51
49
|
return TuiMultiSelectModule;
|
|
52
50
|
}());
|
|
53
51
|
export { TuiMultiSelectModule };
|
|
54
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJ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1bHRNb2R1bGUsXG4gICAgICAgIFR1aUFjdGl2ZVpvbmVNb2R1bGUsXG4gICAgICAgIFR1aUxldE1vZHVsZSxcbiAgICAgICAgVHVpTWFwcGVyUGlwZU1vZHVsZSxcbiAgICAgICAgVHVpSG92ZXJlZE1vZHVsZSxcbiAgICAgICAgVHVpU3ZnTW9kdWxlLFxuICAgICAgICBUdWlIb3N0ZWREcm9wZG93bk1vZHVsZSxcbiAgICAgICAgVHVpSW5wdXRUYWdNb2R1bGUsXG4gICAgICAgIFR1aU11bHRpU2VsZWN0T3B0aW9uTW9kdWxlLFxuICAgICAgICBUdWlQcmltaXRpdmVDaGVja2JveE1vZHVsZSxcbiAgICAgICAgVHVpRGF0YUxpc3RNb2R1bGUsXG4gICAgXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtcbiAgICAgICAgVHVpTXVsdGlTZWxlY3RDb21wb25lbnQsXG4gICAgICAgIFR1aU11bHRpU2VsZWN0R3JvdXBDb21wb25lbnQsXG4gICAgICAgIFR1aU11bHRpU2VsZWN0R3JvdXBEaXJlY3RpdmUsXG4gICAgICAgIFR1aUhpZGVTZWxlY3RlZFBpcGUsXG4gICAgXSxcbiAgICBleHBvcnRzOiBbXG4gICAgICAgIFR1aU11bHRpU2VsZWN0Q29tcG9uZW50LFxuICAgICAgICBUdWlNdWx0aVNlbGVjdEdyb3VwQ29tcG9uZW50LFxuICAgICAgICBUdWlNdWx0aVNlbGVjdEdyb3VwRGlyZWN0aXZlLFxuICAgICAgICBUdWlIaWRlU2VsZWN0ZWRQaXBlLFxuICAgIF0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aU11bHRpU2VsZWN0TW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
import { __decorate, __extends } from "tslib";
|
|
2
2
|
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { isPresent
|
|
3
|
+
import { isPresent } from '@taiga-ui/cdk';
|
|
4
4
|
import { sizeBigger } from '@taiga-ui/core';
|
|
5
5
|
import { TuiSelectOptionComponent } from '@taiga-ui/kit/components/select-option';
|
|
6
|
-
import { map } from 'rxjs/operators';
|
|
7
6
|
var TuiMultiSelectOptionComponent = /** @class */ (function (_super) {
|
|
8
7
|
__extends(TuiMultiSelectOptionComponent, _super);
|
|
9
8
|
function TuiMultiSelectOptionComponent() {
|
|
10
|
-
|
|
11
|
-
_this.selected$ = tuiReplayedValueChangesFrom(_this.control).pipe(map(function (value) {
|
|
12
|
-
return isPresent(_this.option.value) &&
|
|
13
|
-
!!value &&
|
|
14
|
-
!!value.find(function (item) { return _this.matcher(item, _this.option.value); });
|
|
15
|
-
}));
|
|
16
|
-
return _this;
|
|
9
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
17
10
|
}
|
|
18
11
|
Object.defineProperty(TuiMultiSelectOptionComponent.prototype, "size", {
|
|
19
12
|
get: function () {
|
|
@@ -22,15 +15,25 @@ var TuiMultiSelectOptionComponent = /** @class */ (function (_super) {
|
|
|
22
15
|
enumerable: true,
|
|
23
16
|
configurable: true
|
|
24
17
|
});
|
|
18
|
+
Object.defineProperty(TuiMultiSelectOptionComponent.prototype, "selected", {
|
|
19
|
+
get: function () {
|
|
20
|
+
var _this = this;
|
|
21
|
+
return (isPresent(this.option.value) &&
|
|
22
|
+
isPresent(this.control.value) &&
|
|
23
|
+
!!this.control.value.find(function (item) { return _this.matcher(item, _this.option.value); }));
|
|
24
|
+
},
|
|
25
|
+
enumerable: true,
|
|
26
|
+
configurable: true
|
|
27
|
+
});
|
|
25
28
|
TuiMultiSelectOptionComponent = __decorate([
|
|
26
29
|
Component({
|
|
27
30
|
selector: 'tui-multi-select-option',
|
|
28
31
|
template: "<tui-primitive-checkbox\n class=\"tui-space_right-3\"\n [size]=\"size\"\n [value]=\"selected$ | async\"\n></tui-primitive-checkbox>\n<ng-container *ngTemplateOutlet=\"context.$implicit\"></ng-container>\n",
|
|
29
32
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
30
|
-
styles: [":host{display:flex;flex:1;align-items:center;overflow:hidden}"]
|
|
33
|
+
styles: ["@-webkit-keyframes retrigger{from{left:1px}to{left:2px}}@keyframes retrigger{from{left:1px}to{left:2px}}:host{display:flex;flex:1;align-items:center;overflow:hidden;-webkit-animation:1s retrigger;animation:1s retrigger}"]
|
|
31
34
|
})
|
|
32
35
|
], TuiMultiSelectOptionComponent);
|
|
33
36
|
return TuiMultiSelectOptionComponent;
|
|
34
37
|
}(TuiSelectOptionComponent));
|
|
35
38
|
export { TuiMultiSelectOptionComponent };
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXVsdGktc2VsZWN0LW9wdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L2NvbXBvbmVudHMvbXVsdGktc2VsZWN0LW9wdGlvbi8iLCJzb3VyY2VzIjpbIm11bHRpLXNlbGVjdC1vcHRpb24uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsdUJBQXVCLEVBQUUsU0FBUyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2pFLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEMsT0FBTyxFQUFDLFVBQVUsRUFBVyxNQUFNLGdCQUFnQixDQUFDO0FBQ3BELE9BQU8sRUFBQyx3QkFBd0IsRUFBQyxNQUFNLHdDQUF3QyxDQUFDO0FBUWhGO0lBQXNELGlEQUEyQjtJQUFqRjs7SUFZQSxDQUFDO0lBWEcsc0JBQUksK0NBQUk7YUFBUjtZQUNJLE9BQU8sVUFBVSxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQ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AQ29tcG9uZW50KHtcbiAgICBzZWxlY3RvcjogJ3R1aS1tdWx0aS1zZWxlY3Qtb3B0aW9uJyxcbiAgICB0ZW1wbGF0ZVVybDogJy4vbXVsdGktc2VsZWN0LW9wdGlvbi50ZW1wbGF0ZS5odG1sJyxcbiAgICBzdHlsZVVybHM6IFsnLi9tdWx0aS1zZWxlY3Qtb3B0aW9uLnN0eWxlLmxlc3MnXSxcbiAgICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbn0pXG5leHBvcnQgY2xhc3MgVHVpTXVsdGlTZWxlY3RPcHRpb25Db21wb25lbnQ8VD4gZXh0ZW5kcyBUdWlTZWxlY3RPcHRpb25Db21wb25lbnQ8VD4ge1xuICAgIGdldCBzaXplKCk6IFR1aVNpemVMIHtcbiAgICAgICAgcmV0dXJuIHNpemVCaWdnZXIodGhpcy5vcHRpb24uc2l6ZSkgPyAnbCcgOiAnbSc7XG4gICAgfVxuXG4gICAgcHJvdGVjdGVkIGdldCBzZWxlY3RlZCgpOiBib29sZWFuIHtcbiAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgIGlzUHJlc2VudCh0aGlzLm9wdGlvbi52YWx1ZSkgJiZcbiAgICAgICAgICAgIGlzUHJlc2VudCh0aGlzLmNvbnRyb2wudmFsdWUpICYmXG4gICAgICAgICAgICAhIXRoaXMuY29udHJvbC52YWx1ZS5maW5kKChpdGVtOiBUKSA9PiB0aGlzLm1hdGNoZXIoaXRlbSwgdGhpcy5vcHRpb24udmFsdWUhKSlcbiAgICAgICAgKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -17,4 +17,4 @@ var TuiMultiSelectOptionModule = /** @class */ (function () {
|
|
|
17
17
|
return TuiMultiSelectOptionModule;
|
|
18
18
|
}());
|
|
19
19
|
export { TuiMultiSelectOptionModule };
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64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Sc7XG5cbmltcG9ydCB7VHVpTXVsdGlTZWxlY3RPcHRpb25Db21wb25lbnR9IGZyb20gJy4vbXVsdGktc2VsZWN0LW9wdGlvbi5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtDb21tb25Nb2R1bGUsIFR1aVByaW1pdGl2ZUNoZWNrYm94TW9kdWxlXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtUdWlNdWx0aVNlbGVjdE9wdGlvbkNvbXBvbmVudF0sXG4gICAgZXhwb3J0czogW1R1aU11bHRpU2VsZWN0T3B0aW9uQ29tcG9uZW50XSxcbiAgICBlbnRyeUNvbXBvbmVudHM6IFtUdWlNdWx0aVNlbGVjdE9wdGlvbkNvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aU11bHRpU2VsZWN0T3B0aW9uTW9kdWxlIHt9XG4iXX0=
|
|
@@ -298,7 +298,7 @@ var TuiPaginationComponent = /** @class */ (function (_super) {
|
|
|
298
298
|
TuiPaginationComponent = TuiPaginationComponent_1 = __decorate([
|
|
299
299
|
Component({
|
|
300
300
|
selector: 'tui-pagination',
|
|
301
|
-
template: "<div class=\"content\" (tuiActiveZoneChange)=\"onActiveZone($event)\">\n <ng-container *ngIf=\"sizeM && (texts$ | async) as texts; else smallButtons\">\n <button\n tuiIconButton\n type=\"button\"\n tuiPreventDefault=\"mousedown\"\n
|
|
301
|
+
template: "<div class=\"content\" (tuiActiveZoneChange)=\"onActiveZone($event)\">\n <ng-container *ngIf=\"sizeM && (texts$ | async) as texts; else smallButtons\">\n <button\n tuiIconButton\n type=\"button\"\n tuiPreventDefault=\"mousedown\"\n size=\"s\"\n appearance=\"flat\"\n icon=\"tuiIconChevronLeft\"\n class=\"button\"\n [title]=\"texts[0]\"\n [disabled]=\"arrowIsDisabledLeft\"\n [focusable]=\"false\"\n (click)=\"onArrowClick('left')\"\n ></button>\n <ng-container *tuiRepeatTimes=\"let elementIndex of elementsLength\">\n <ng-container\n *tuiLet=\"getItemIndexByElementIndex(elementIndex) as index\"\n >\n <button\n *ngIf=\"index !== null; else dotsTemplate\"\n #element\n tuiButton\n type=\"button\"\n automation-id=\"tui-pagination__element\"\n shape=\"square\"\n size=\"s\"\n class=\"button\"\n [disabled]=\"disabled\"\n [focusable]=\"elementIsFocusable(index)\"\n [appearance]=\"getElementMode(index)\"\n (click)=\"onElementClick(index)\"\n (keydown.arrowLeft.prevent)=\"onElementKeyDownArrowLeft(element)\"\n (keydown.arrowRight.prevent)=\"onElementKeyDownArrowRight(element)\"\n >\n <div\n polymorpheus-outlet\n [content]=\"content || index + 1\"\n [context]=\"getItemContext(index)\"\n ></div>\n </button>\n </ng-container>\n </ng-container>\n <button\n tuiIconButton\n type=\"button\"\n tuiPreventDefault=\"mousedown\"\n size=\"s\"\n appearance=\"flat\"\n icon=\"tuiIconChevronRight\"\n class=\"button\"\n [title]=\"texts[1]\"\n [disabled]=\"arrowIsDisabledRight\"\n [focusable]=\"false\"\n (click)=\"onArrowClick('right')\"\n ></button>\n </ng-container>\n <ng-template #smallButtons>\n <button\n *tuiRepeatTimes=\"let indexItem of length\"\n #element\n tuiButton\n type=\"button\"\n shape=\"square\"\n class=\"button button_small\"\n [class.button_active]=\"indexItem === index\"\n [disabled]=\"disabled\"\n [focusable]=\"elementIsFocusable(indexItem)\"\n [appearance]=\"getSmallElementMode(indexItem, mode)\"\n (click)=\"onElementClick(indexItem)\"\n (keydown.arrowLeft.prevent)=\"onElementKeyDownArrowLeft(element)\"\n (keydown.arrowRight.prevent)=\"onElementKeyDownArrowRight(element)\"\n ></button>\n </ng-template>\n <ng-template #dotsTemplate>\n <div automation-id=\"tui-pagination__element\" class=\"dots\"></div>\n </ng-template>\n</div>\n",
|
|
302
302
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
303
303
|
providers: [
|
|
304
304
|
{
|
|
@@ -26,4 +26,4 @@ var TuiPaginationModule = /** @class */ (function () {
|
|
|
26
26
|
return TuiPaginationModule;
|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gVHVpUGFnaW5hdGlvbk1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './pdf-viewer.component';
|
|
2
|
+
export * from './pdf-viewer.directive';
|
|
3
|
+
export * from './pdf-viewer.module';
|
|
4
|
+
export * from './pdf-viewer.service';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L2NvbXBvbmVudHMvcGRmLXZpZXdlci8iLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMsc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3BkZi12aWV3ZXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vcGRmLXZpZXdlci5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9wZGYtdmlld2VyLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL3BkZi12aWV3ZXIuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL3BkZi12aWV3ZXItb3B0aW9ucyc7XG4iXX0=
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGRmLXZpZXdlci1vcHRpb25zLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2tpdC9jb21wb25lbnRzL3BkZi12aWV3ZXIvIiwic291cmNlcyI6WyJwZGYtdmlld2VyLW9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7UG9seW1vcnBoZXVzQ29udGVudH0gZnJvbSAnQHRpbmtvZmYvbmctcG9seW1vcnBoZXVzJztcblxuZXhwb3J0IGludGVyZmFjZSBUdWlQZGZWaWV3ZXJPcHRpb25zPEkgPSB1bmRlZmluZWQ+IHtcbiAgICByZWFkb25seSBsYWJlbDogc3RyaW5nO1xuICAgIHJlYWRvbmx5IGFjdGlvbnM6IFBvbHltb3JwaGV1c0NvbnRlbnQ8VHVpUGRmVmlld2VyT3B0aW9uczxJPj47XG4gICAgcmVhZG9ubHkgZGF0YTogSTtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { __assign, __decorate, __param } from "tslib";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, HostBinding, Inject } from '@angular/core';
|
|
3
|
+
import { DomSanitizer, SafeValue } from '@angular/platform-browser';
|
|
4
|
+
import { tuiPure } from '@taiga-ui/cdk';
|
|
5
|
+
import { TUI_ANIMATION_OPTIONS, TUI_CLOSE_WORD, tuiFadeIn, tuiSlideInTop, } from '@taiga-ui/core';
|
|
6
|
+
import { POLYMORPHEUS_CONTEXT } from '@tinkoff/ng-polymorpheus';
|
|
7
|
+
import { Observable } from 'rxjs';
|
|
8
|
+
var TuiPdfViewerComponent = /** @class */ (function () {
|
|
9
|
+
function TuiPdfViewerComponent(sanitizer, options, closeWord$, context) {
|
|
10
|
+
this.sanitizer = sanitizer;
|
|
11
|
+
this.options = options;
|
|
12
|
+
this.closeWord$ = closeWord$;
|
|
13
|
+
this.context = context;
|
|
14
|
+
this.animation = __assign({ value: '' }, this.options);
|
|
15
|
+
}
|
|
16
|
+
TuiPdfViewerComponent.prototype.bypass = function (url) {
|
|
17
|
+
if (!url.endsWith('.pdf')) {
|
|
18
|
+
throw 'PdfViewer is intended for PDF files only';
|
|
19
|
+
}
|
|
20
|
+
return this.sanitizer.bypassSecurityTrustResourceUrl(url);
|
|
21
|
+
};
|
|
22
|
+
TuiPdfViewerComponent.ctorParameters = function () { return [
|
|
23
|
+
{ type: DomSanitizer, decorators: [{ type: Inject, args: [DomSanitizer,] }] },
|
|
24
|
+
{ type: undefined, decorators: [{ type: Inject, args: [TUI_ANIMATION_OPTIONS,] }] },
|
|
25
|
+
{ type: Observable, decorators: [{ type: Inject, args: [TUI_CLOSE_WORD,] }] },
|
|
26
|
+
{ type: undefined, decorators: [{ type: Inject, args: [POLYMORPHEUS_CONTEXT,] }] }
|
|
27
|
+
]; };
|
|
28
|
+
__decorate([
|
|
29
|
+
HostBinding('@tuiSlideInTop'),
|
|
30
|
+
HostBinding('@tuiFadeIn')
|
|
31
|
+
], TuiPdfViewerComponent.prototype, "animation", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
tuiPure
|
|
34
|
+
], TuiPdfViewerComponent.prototype, "bypass", null);
|
|
35
|
+
TuiPdfViewerComponent = __decorate([
|
|
36
|
+
Component({
|
|
37
|
+
selector: 'tui-pdf-viewer',
|
|
38
|
+
template: "<header class=\"t-header\">\n <h2 class=\"t-title\">{{context.label}}</h2>\n <div\n polymorpheus-outlet\n class=\"t-actions\"\n [content]=\"context.actions\"\n [context]=\"context\"\n ></div>\n <button\n tuiIconButton\n shape=\"rounded\"\n appearance=\"\"\n size=\"s\"\n icon=\"tuiIconCloseLarge\"\n class=\"t-close\"\n [title]=\"closeWord$ | async\"\n (click)=\"context.$implicit.complete()\"\n ></button>\n</header>\n<section\n polymorpheus-outlet\n class=\"t-content\"\n [content]=\"context.content\"\n [context]=\"context\"\n>\n <ng-template let-content>\n <iframe class=\"t-iframe\" [src]=\"bypass(content)\"></iframe>\n </ng-template>\n</section>\n",
|
|
39
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
40
|
+
animations: [tuiSlideInTop, tuiFadeIn],
|
|
41
|
+
styles: [":host{display:block;width:100%;height:100%;box-sizing:border-box;color:var(--tui-text-01-night);background:#333639}.t-header{display:flex;align-items:center;height:4rem;padding:0 1rem 0 1.5625rem;box-shadow:inset 0 -1px #535659}.t-title{margin:0;font:var(--tui-font-text-m)}.t-actions{display:flex;margin-left:auto}.t-close{transition-property:background;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;margin-left:.75rem;color:var(--tui-text-01-night);background:rgba(255,255,255,.32)}.t-close:hover{background:rgba(255,255,255,.4)}.t-content{height:calc(100% - 4rem);overflow:hidden}.t-iframe{width:100%;height:100%}"]
|
|
42
|
+
}),
|
|
43
|
+
__param(0, Inject(DomSanitizer)),
|
|
44
|
+
__param(1, Inject(TUI_ANIMATION_OPTIONS)),
|
|
45
|
+
__param(2, Inject(TUI_CLOSE_WORD)),
|
|
46
|
+
__param(3, Inject(POLYMORPHEUS_CONTEXT))
|
|
47
|
+
], TuiPdfViewerComponent);
|
|
48
|
+
return TuiPdfViewerComponent;
|
|
49
|
+
}());
|
|
50
|
+
export { TuiPdfViewerComponent };
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGRmLXZpZXdlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L2NvbXBvbmVudHMvcGRmLXZpZXdlci8iLCJzb3VyY2VzIjpbInBkZi12aWV3ZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFDQSxPQUFPLEVBQUMsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxNQUFNLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdEYsT0FBTyxFQUFDLFlBQVksRUFBRSxTQUFTLEVBQUMsTUFBTSwyQkFBMkIsQ0FBQztBQUNsRSxPQUFPLEVBQVksT0FBTyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2pELE9BQU8sRUFDSCxxQkFBcUIsRUFDckIsY0FBYyxFQUNkLFNBQVMsRUFDVCxhQUFhLEdBQ2hCLE1BQU0sZ0JBQWdCLENBQUM7QUFDeEI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iAgICBAdHVpUHVyZVxuICAgIGJ5cGFzcyh1cmw6IHN0cmluZyk6IFNhZmVWYWx1ZSB7XG4gICAgICAgIGlmICghdXJsLmVuZHNXaXRoKCcucGRmJykpIHtcbiAgICAgICAgICAgIHRocm93ICdQZGZWaWV3ZXIgaXMgaW50ZW5kZWQgZm9yIFBERiBmaWxlcyBvbmx5JztcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiB0aGlzLnNhbml0aXplci5ieXBhc3NTZWN1cml0eVRydXN0UmVzb3VyY2VVcmwodXJsKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { __decorate, __extends } from "tslib";
|
|
2
|
+
import { Directive } from '@angular/core';
|
|
3
|
+
import { AbstractTuiDialogDirective, AbstractTuiDialogService } from '@taiga-ui/cdk';
|
|
4
|
+
import { TuiPdfViewerService } from './pdf-viewer.service';
|
|
5
|
+
var TuiPdfViewerDirective = /** @class */ (function (_super) {
|
|
6
|
+
__extends(TuiPdfViewerDirective, _super);
|
|
7
|
+
function TuiPdfViewerDirective() {
|
|
8
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
9
|
+
}
|
|
10
|
+
TuiPdfViewerDirective = __decorate([
|
|
11
|
+
Directive({
|
|
12
|
+
selector: 'ng-template[tuiPdfViewer]',
|
|
13
|
+
providers: [
|
|
14
|
+
{
|
|
15
|
+
provide: AbstractTuiDialogService,
|
|
16
|
+
useExisting: TuiPdfViewerService,
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
inputs: ['options: tuiPdfViewerOptions', 'open: tuiPdfViewer'],
|
|
20
|
+
outputs: ['openChange: tuiPdfViewerChange'],
|
|
21
|
+
})
|
|
22
|
+
], TuiPdfViewerDirective);
|
|
23
|
+
return TuiPdfViewerDirective;
|
|
24
|
+
}(AbstractTuiDialogDirective));
|
|
25
|
+
export { TuiPdfViewerDirective };
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJ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GRmVmlld2VyU2VydmljZX0gZnJvbSAnLi9wZGYtdmlld2VyLnNlcnZpY2UnO1xuaW1wb3J0IHtUdWlQZGZWaWV3ZXJPcHRpb25zfSBmcm9tICcuL3BkZi12aWV3ZXItb3B0aW9ucyc7XG5cbkBEaXJlY3RpdmUoe1xuICAgIHNlbGVjdG9yOiAnbmctdGVtcGxhdGVbdHVpUGRmVmlld2VyXScsXG4gICAgcHJvdmlkZXJzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICAgIHByb3ZpZGU6IEFic3RyYWN0VHVpRGlhbG9nU2VydmljZSxcbiAgICAgICAgICAgIHVzZUV4aXN0aW5nOiBUdWlQZGZWaWV3ZXJTZXJ2aWNlLFxuICAgICAgICB9LFxuICAgIF0sXG4gICAgaW5wdXRzOiBbJ29wdGlvbnM6IHR1aVBkZlZpZXdlck9wdGlvbnMnLCAnb3BlbjogdHVpUGRmVmlld2VyJ10sXG4gICAgb3V0cHV0czogWydvcGVuQ2hhbmdlOiB0dWlQZGZWaWV3ZXJDaGFuZ2UnXSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpUGRmVmlld2VyRGlyZWN0aXZlPFQ+IGV4dGVuZHMgQWJzdHJhY3RUdWlEaWFsb2dEaXJlY3RpdmU8XG4gICAgVHVpUGRmVmlld2VyT3B0aW9uczxUPlxuPiB7fVxuIl19
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { NgModule } from '@angular/core';
|
|
4
|
+
import { TUI_DIALOGS } from '@taiga-ui/cdk';
|
|
5
|
+
import { TuiButtonModule } from '@taiga-ui/core';
|
|
6
|
+
import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
|
|
7
|
+
import { TuiPdfViewerComponent } from './pdf-viewer.component';
|
|
8
|
+
import { TuiPdfViewerDirective } from './pdf-viewer.directive';
|
|
9
|
+
import { TuiPdfViewerService } from './pdf-viewer.service';
|
|
10
|
+
var TuiPdfViewerModule = /** @class */ (function () {
|
|
11
|
+
function TuiPdfViewerModule() {
|
|
12
|
+
}
|
|
13
|
+
TuiPdfViewerModule = __decorate([
|
|
14
|
+
NgModule({
|
|
15
|
+
imports: [CommonModule, TuiButtonModule, PolymorpheusModule],
|
|
16
|
+
declarations: [TuiPdfViewerComponent, TuiPdfViewerDirective],
|
|
17
|
+
exports: [TuiPdfViewerComponent, TuiPdfViewerDirective],
|
|
18
|
+
providers: [
|
|
19
|
+
{
|
|
20
|
+
provide: TUI_DIALOGS,
|
|
21
|
+
useExisting: TuiPdfViewerService,
|
|
22
|
+
multi: true,
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
entryComponents: [TuiPdfViewerComponent],
|
|
26
|
+
})
|
|
27
|
+
], TuiPdfViewerModule);
|
|
28
|
+
return TuiPdfViewerModule;
|
|
29
|
+
}());
|
|
30
|
+
export { TuiPdfViewerModule };
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGRmLXZpZXdlci5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L2NvbXBvbmVudHMvcGRmLXZpZXdlci8iLCJzb3VyY2VzIjpbInBkZi12aWV3ZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBQyxlQUFlLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUMvQyxPQUFPLEVBQUMsa0JBQWtCLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQztBQUU1RCxPQUFPLEVBQUMscUJBQX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yQ29tcG9uZW50fSBmcm9tICcuL3BkZi12aWV3ZXIuY29tcG9uZW50JztcbmltcG9ydCB7VHVpUGRmVmlld2VyRGlyZWN0aXZlfSBmcm9tICcuL3BkZi12aWV3ZXIuZGlyZWN0aXZlJztcbmltcG9ydCB7VHVpUGRmVmlld2VyU2VydmljZX0gZnJvbSAnLi9wZGYtdmlld2VyLnNlcnZpY2UnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtDb21tb25Nb2R1bGUsIFR1aUJ1dHRvbk1vZHVsZSwgUG9seW1vcnBoZXVzTW9kdWxlXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtUdWlQZGZWaWV3ZXJDb21wb25lbnQsIFR1aVBkZlZpZXdlckRpcmVjdGl2ZV0sXG4gICAgZXhwb3J0czogW1R1aVBkZlZpZXdlckNvbXBvbmVudCwgVHVpUGRmVmlld2VyRGlyZWN0aXZlXSxcbiAgICBwcm92aWRlcnM6IFtcbiAgICAgICAge1xuICAgICAgICAgICAgcHJvdmlkZTogVFVJX0RJQUxPR1MsXG4gICAgICAgICAgICB1c2VFeGlzdGluZzogVHVpUGRmVmlld2VyU2VydmljZSxcbiAgICAgICAgICAgIG11bHRpOiB0cnVlLFxuICAgICAgICB9LFxuICAgIF0sXG4gICAgZW50cnlDb21wb25lbnRzOiBbVHVpUGRmVmlld2VyQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpUGRmVmlld2VyTW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { __decorate, __extends } from "tslib";
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
|
+
import { AbstractTuiDialogService } from '@taiga-ui/cdk';
|
|
4
|
+
import { PolymorpheusComponent } from '@tinkoff/ng-polymorpheus';
|
|
5
|
+
import { TuiPdfViewerComponent } from './pdf-viewer.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@taiga-ui/cdk/services";
|
|
8
|
+
var DIALOG = new PolymorpheusComponent(TuiPdfViewerComponent);
|
|
9
|
+
var DEFAULT_OPTIONS = { label: '', actions: '' };
|
|
10
|
+
var TuiPdfViewerService = /** @class */ (function (_super) {
|
|
11
|
+
__extends(TuiPdfViewerService, _super);
|
|
12
|
+
function TuiPdfViewerService() {
|
|
13
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
14
|
+
_this.component = DIALOG;
|
|
15
|
+
_this.defaultOptions = DEFAULT_OPTIONS;
|
|
16
|
+
return _this;
|
|
17
|
+
}
|
|
18
|
+
TuiPdfViewerService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TuiPdfViewerService_Factory() { return new TuiPdfViewerService(i0.ɵɵinject(i1.TuiIdService)); }, token: TuiPdfViewerService, providedIn: "root" });
|
|
19
|
+
TuiPdfViewerService = __decorate([
|
|
20
|
+
Injectable({
|
|
21
|
+
providedIn: 'root',
|
|
22
|
+
})
|
|
23
|
+
], TuiPdfViewerService);
|
|
24
|
+
return TuiPdfViewerService;
|
|
25
|
+
}(AbstractTuiDialogService));
|
|
26
|
+
export { TuiPdfViewerService };
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGRmLXZpZXdlci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2tpdC9jb21wb25lbnRzL3BkZi12aWV3ZXIvIiwic291cmNlcyI6WyJwZGYtdmlld2VyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFDLHdCQUF3QixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZELE9BQU8sRUFBQyxxQkFBcUIsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBRS9ELE9BQU8sRUFBQyxxQkFBcUIsRUFBQy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b25zdDtcblxuQEluamVjdGFibGUoe1xuICAgIHByb3ZpZGVkSW46ICdyb290Jyxcbn0pXG5leHBvcnQgY2xhc3MgVHVpUGRmVmlld2VyU2VydmljZSBleHRlbmRzIEFic3RyYWN0VHVpRGlhbG9nU2VydmljZTxcbiAgICBUdWlQZGZWaWV3ZXJPcHRpb25zPGFueT5cbj4ge1xuICAgIHByb3RlY3RlZCByZWFkb25seSBjb21wb25lbnQgPSBESUFMT0c7XG4gICAgcHJvdGVjdGVkIHJlYWRvbmx5IGRlZmF1bHRPcHRpb25zOiBUdWlQZGZWaWV3ZXJPcHRpb25zPGFueT4gPSBERUZBVUxUX09QVElPTlMgYXMgYW55O1xufVxuIl19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWkta2l0LWNvbXBvbmVudHMtcGRmLXZpZXdlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy9wZGYtdmlld2VyLyIsInNvdXJjZXMiOlsidGFpZ2EtdWkta2l0LWNvbXBvbmVudHMtcGRmLXZpZXdlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
export * from './pipes/abstract-color-segments';
|
|
2
|
+
export * from './pipes/progress-color-segments.pipe';
|
|
3
|
+
export * from './pipes/progress-color-segments-async.pipe';
|
|
1
4
|
export * from './progress.module';
|
|
2
5
|
export * from './progress-bar/progress-bar.component';
|
|
3
6
|
export * from './progress-circle/progress-circle.component';
|
|
4
|
-
export * from './progress-segmented/progress-segmented.component';
|
|
5
7
|
export * from './progress-label/progress-label.component';
|
|
6
|
-
export * from './
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
8
|
+
export * from './progress-segmented/progress-segmented.component';
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L2NvbXBvbmVudHMvcHJvZ3Jlc3MvIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELGNBQWMsc0NBQXNDLENBQUM7QUFDckQsY0FBYyw0Q0FBNEMsQ0FBQztBQUMzRCxjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsdUNBQXVDLENBQUM7QUFDdEQsY0FBYyw2Q0FBNkMsQ0FBQztBQUM1RCxjQUFjLDJDQUEyQyxDQUFDO0FBQzFELGNBQWMsbURBQW1ELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3BpcGVzL2Fic3RyYWN0LWNvbG9yLXNlZ21lbnRzJztcbmV4cG9ydCAqIGZyb20gJy4vcGlwZXMvcHJvZ3Jlc3MtY29sb3Itc2VnbWVudHMucGlwZSc7XG5leHBvcnQgKiBmcm9tICcuL3BpcGVzL3Byb2dyZXNzLWNvbG9yLXNlZ21lbnRzLWFzeW5jLnBpcGUnO1xuZXhwb3J0ICogZnJvbSAnLi9wcm9ncmVzcy5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9wcm9ncmVzcy1iYXIvcHJvZ3Jlc3MtYmFyLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3Byb2dyZXNzLWNpcmNsZS9wcm9ncmVzcy1jaXJjbGUuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vcHJvZ3Jlc3MtbGFiZWwvcHJvZ3Jlc3MtbGFiZWwuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vcHJvZ3Jlc3Mtc2VnbWVudGVkL3Byb2dyZXNzLXNlZ21lbnRlZC5jb21wb25lbnQnO1xuIl19
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { __decorate, __param } from "tslib";
|
|
2
|
+
import { ElementRef, Inject, Injectable, PipeTransform } from '@angular/core';
|
|
3
|
+
import { USER_AGENT } from '@ng-web-apis/common';
|
|
4
|
+
import { CHROMIUM_EDGE_START_VERSION, isEdgeOlderThan, isIE } from '@taiga-ui/cdk';
|
|
5
|
+
var AbstractTuiColorSegments = /** @class */ (function () {
|
|
6
|
+
function AbstractTuiColorSegments(userAgent, elementRef) {
|
|
7
|
+
this.userAgent = userAgent;
|
|
8
|
+
this.elementRef = elementRef;
|
|
9
|
+
this.isOldBrowsers = isEdgeOlderThan(CHROMIUM_EDGE_START_VERSION, this.userAgent) ||
|
|
10
|
+
isIE(this.userAgent);
|
|
11
|
+
}
|
|
12
|
+
AbstractTuiColorSegments.prototype.calculate = function (colors) {
|
|
13
|
+
if (this.isOldBrowsers) {
|
|
14
|
+
return colors[0];
|
|
15
|
+
}
|
|
16
|
+
var elementWidth = this.elementRef.nativeElement.offsetWidth;
|
|
17
|
+
var segmentWidth = Math.ceil(elementWidth / colors.length);
|
|
18
|
+
var colorsString = colors.reduce(function (acc, color, i) {
|
|
19
|
+
return acc + ", " + color + " " + i * segmentWidth + "px " + (i + 1) * segmentWidth + "px";
|
|
20
|
+
}, '');
|
|
21
|
+
return "linear-gradient(to right " + colorsString + ")";
|
|
22
|
+
};
|
|
23
|
+
AbstractTuiColorSegments.ctorParameters = function () { return [
|
|
24
|
+
{ type: String, decorators: [{ type: Inject, args: [USER_AGENT,] }] },
|
|
25
|
+
{ type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] }
|
|
26
|
+
]; };
|
|
27
|
+
AbstractTuiColorSegments = __decorate([
|
|
28
|
+
Injectable(),
|
|
29
|
+
__param(0, Inject(USER_AGENT)),
|
|
30
|
+
__param(1, Inject(ElementRef))
|
|
31
|
+
], AbstractTuiColorSegments);
|
|
32
|
+
return AbstractTuiColorSegments;
|
|
33
|
+
}());
|
|
34
|
+
export { AbstractTuiColorSegments };
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJzdHJhY3QtY29sb3Itc2VnbWVudHMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L2NvbXBvbmVudHMvcHJvZ3Jlc3MvIiwic291cmNlcyI6WyJwaXBlcy9hYnN0cmFjdC1jb2xvci1zZWdtZW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLFVBQVUsRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLGFBQWEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUM1RSxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0scUJBQXFCLENBQUM7QUFDL0MsT0FBTyxFQUFDLDJCQUEyQixFQUFFLGVBQWUsRUFBRSxJQUFJLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFHakY7SUFLSSxrQ0FDeUMsU0FBaUIsRUFDakIsVUFBbUM7UUFEbkMsY0FBUyxHQUFULFNBQVMsQ0FBUTtRQUNqQixlQUFVLEdBQVYsVUFBVSxDQUF5QjtRQU4zRCxrQkFBYSxHQUMxQixlQUFlLENBQUMsMkJBQTJCLEVBQUUsSUFBSSxDQUFDLFNBQVMsQ0FBQztZQUM1RCxJQUFJLENBQUMsSUFBSSxDQUFDLFNBQVMsQ0FBQyxDQUFDO0lBS3RCLENBQUM7SUFJTSw0Q0FBUyxHQUFuQixVQUFv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WR0aCA9IE1hdGguY2VpbChlbGVtZW50V2lkdGggLyBjb2xvcnMubGVuZ3RoKTtcbiAgICAgICAgY29uc3QgY29sb3JzU3RyaW5nID0gY29sb3JzLnJlZHVjZShcbiAgICAgICAgICAgIChhY2MsIGNvbG9yLCBpKSA9PlxuICAgICAgICAgICAgICAgIGAke2FjY30sICR7Y29sb3J9ICR7aSAqIHNlZ21lbnRXaWR0aH1weCAkeyhpICsgMSkgKiBzZWdtZW50V2lkdGh9cHhgLFxuICAgICAgICAgICAgJycsXG4gICAgICAgICk7XG5cbiAgICAgICAgcmV0dXJuIGBsaW5lYXItZ3JhZGllbnQodG8gcmlnaHQgJHtjb2xvcnNTdHJpbmd9KWA7XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { __decorate, __extends } from "tslib";
|
|
2
|
+
import { Pipe } from '@angular/core';
|
|
3
|
+
import { timer } from 'rxjs';
|
|
4
|
+
import { map } from 'rxjs/operators';
|
|
5
|
+
import { AbstractTuiColorSegments } from './abstract-color-segments';
|
|
6
|
+
var TuiProgressColorSegmentsAsyncPipe = /** @class */ (function (_super) {
|
|
7
|
+
__extends(TuiProgressColorSegmentsAsyncPipe, _super);
|
|
8
|
+
function TuiProgressColorSegmentsAsyncPipe() {
|
|
9
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
10
|
+
}
|
|
11
|
+
TuiProgressColorSegmentsAsyncPipe.prototype.transform = function (colors) {
|
|
12
|
+
var _this = this;
|
|
13
|
+
return timer(0).pipe(map(function () { return _this.calculate(colors); }));
|
|
14
|
+
};
|
|
15
|
+
TuiProgressColorSegmentsAsyncPipe = __decorate([
|
|
16
|
+
Pipe({ name: 'tuiProgressColorSegmentsAsync' })
|
|
17
|
+
], TuiProgressColorSegmentsAsyncPipe);
|
|
18
|
+
return TuiProgressColorSegmentsAsyncPipe;
|
|
19
|
+
}(AbstractTuiColorSegments));
|
|
20
|
+
export { TuiProgressColorSegmentsAsyncPipe };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FibGUsIHRpbWVyfSBmcm9tICdyeGpzJztcbmltcG9ydCB7bWFwfSBmcm9tICdyeGpzL29wZXJhdG9ycyc7XG5cbmltcG9ydCB7QWJzdHJhY3RUdWlDb2xvclNlZ21lbnRzfSBmcm9tICcuL2Fic3RyYWN0LWNvbG9yLXNlZ21lbnRzJztcblxuQFBpcGUoe25hbWU6ICd0dWlQcm9ncmVzc0NvbG9yU2VnbWVudHNBc3luYyd9KVxuZXhwb3J0IGNsYXNzIFR1aVByb2dyZXNzQ29sb3JTZWdtZW50c0FzeW5jUGlwZSBleHRlbmRzIEFic3RyYWN0VHVpQ29sb3JTZWdtZW50czxcbiAgICBPYnNlcnZhYmxlPHN0cmluZz5cbj4ge1xuICAgIHRyYW5zZm9ybShjb2xvcnM6IHN0cmluZ1tdKTogT2JzZXJ2YWJsZTxzdHJpbmc+IHtcbiAgICAgICAgcmV0dXJuIHRpbWVyKDApLnBpcGUobWFwKCgpID0+IHRoaXMuY2FsY3VsYXRlKGNvbG9ycykpKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,37 +1,23 @@
|
|
|
1
|
-
import { __decorate,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { __decorate, __extends } from "tslib";
|
|
2
|
+
import { Pipe } from '@angular/core';
|
|
3
|
+
import { AbstractTuiColorSegments } from './abstract-color-segments';
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated use tuiProgressColorSegmentsAsync instead
|
|
6
|
+
* {@link TuiProgressColorSegmentsAsyncPipe}
|
|
7
|
+
* example: `<progress [color]="colors | tuiProgressColorSegmentsAsync | async">`
|
|
8
|
+
*/
|
|
9
|
+
var TuiProgressColorSegmentsPipe = /** @class */ (function (_super) {
|
|
10
|
+
__extends(TuiProgressColorSegmentsPipe, _super);
|
|
11
|
+
function TuiProgressColorSegmentsPipe() {
|
|
12
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
11
13
|
}
|
|
12
14
|
TuiProgressColorSegmentsPipe.prototype.transform = function (colors) {
|
|
13
|
-
|
|
14
|
-
return colors[0];
|
|
15
|
-
}
|
|
16
|
-
var elementWidth = this.elementRef.nativeElement.offsetWidth;
|
|
17
|
-
var segmentWidth = Math.ceil(elementWidth / colors.length);
|
|
18
|
-
var colorsString = colors.reduce(function (acc, color, i) {
|
|
19
|
-
return acc + ", " + color + " " + i * segmentWidth + "px " + (i + 1) * segmentWidth + "px";
|
|
20
|
-
}, '');
|
|
21
|
-
return "linear-gradient(to right " + colorsString + ")";
|
|
15
|
+
return this.calculate(colors);
|
|
22
16
|
};
|
|
23
|
-
TuiProgressColorSegmentsPipe.ctorParameters = function () { return [
|
|
24
|
-
{ type: String, decorators: [{ type: Inject, args: [USER_AGENT,] }] },
|
|
25
|
-
{ type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] }
|
|
26
|
-
]; };
|
|
27
17
|
TuiProgressColorSegmentsPipe = __decorate([
|
|
28
|
-
Pipe({
|
|
29
|
-
name: 'tuiProgressColorSegments',
|
|
30
|
-
}),
|
|
31
|
-
__param(0, Inject(USER_AGENT)),
|
|
32
|
-
__param(1, Inject(ElementRef))
|
|
18
|
+
Pipe({ name: 'tuiProgressColorSegments' })
|
|
33
19
|
], TuiProgressColorSegmentsPipe);
|
|
34
20
|
return TuiProgressColorSegmentsPipe;
|
|
35
|
-
}());
|
|
21
|
+
}(AbstractTuiColorSegments));
|
|
36
22
|
export { TuiProgressColorSegmentsPipe };
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3MtY29sb3Itc2VnbWVudHMucGlwZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy9wcm9ncmVzcy8iLCJzb3VyY2V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NsYXNzIFR1aVByb2dyZXNzQ29sb3JTZWdtZW50c1BpcGUgZXh0ZW5kcyBBYnN0cmFjdFR1aUNvbG9yU2VnbWVudHM8c3RyaW5nPiB7XG4gICAgdHJhbnNmb3JtKGNvbG9yczogc3RyaW5nW10pOiBzdHJpbmcge1xuICAgICAgICByZXR1cm4gdGhpcy5jYWxjdWxhdGUoY29sb3JzKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -64,9 +64,9 @@ var TuiProgressCircleComponent = /** @class */ (function () {
|
|
|
64
64
|
TuiProgressCircleComponent = __decorate([
|
|
65
65
|
Component({
|
|
66
66
|
selector: 'tui-progress-circle',
|
|
67
|
-
template: "<progress class=\"t-hidden-progress\" [value]=\"value\" [max]=\"max\"></progress>\n\n<svg
|
|
67
|
+
template: "<progress class=\"t-hidden-progress\" [value]=\"value\" [max]=\"max\"></progress>\n\n<svg height=\"100%\" width=\"100%\" aria-hidden=\"true\" class=\"t-svg\">\n <circle\n cx=\"50%\"\n cy=\"50%\"\n class=\"t-track\"\n [attr.r]=\"oldEdgeRadiusFallback\"\n ></circle>\n\n <circle\n #progressCircle\n cx=\"50%\"\n cy=\"50%\"\n class=\"t-progress\"\n [attr.r]=\"oldEdgeRadiusFallback\"\n ></circle>\n</svg>\n",
|
|
68
68
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
69
|
-
styles: [":host{display:block;
|
|
69
|
+
styles: [":host{position:relative;display:block;color:var(--tui-primary);transform:rotate(-90deg);transform-origin:center;font-size:1rem}:host[data-size='s']{width:2em;height:2em}:host[data-size='s'] .t-track{\n r: 0.75em;\n stroke-width:.5em}:host[data-size='s'] .t-progress{\n r: 0.75em;\n stroke-width:.5em;stroke-dasharray:4.71238898em;stroke-dashoffset:calc(4.71238898em - var(--progress-percentage) * 4.71238898em)}:host[data-size='m']{width:3em;height:3em}:host[data-size='m'] .t-track{\n r: 1.375em;\n stroke-width:.25em}:host[data-size='m'] .t-progress{\n r: 1.3125em;\n stroke-width:.375em;stroke-dasharray:8.24668072em;stroke-dashoffset:calc(8.24668072em - var(--progress-percentage) * 8.24668072em)}:host[data-size='l']{width:4em;height:4em}:host[data-size='l'] .t-track{\n r: 1.875em;\n stroke-width:.25em}:host[data-size='l'] .t-progress{\n r: 1.8125em;\n stroke-width:.375em;stroke-dasharray:11.38827337em;stroke-dashoffset:calc(11.38827337em - var(--progress-percentage) * 11.38827337em)}:host[data-size=xl]{width:7em;height:7em}:host[data-size=xl] .t-track{\n r: 3.375em;\n stroke-width:.25em}:host[data-size=xl] .t-progress{\n r: 3.3125em;\n stroke-width:.375em;stroke-dasharray:20.81305133em;stroke-dashoffset:calc(20.81305133em - var(--progress-percentage) * 20.81305133em)}.t-track{fill:transparent;stroke:var(--tui-base-03)}.t-progress{fill:transparent;stroke:var(--tui-progress-color,currentColor);transition:stroke-dashoffset var(--tui-duration) linear}.t-hidden-progress{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0}.t-svg{overflow:unset}"]
|
|
70
70
|
}),
|
|
71
71
|
__param(0, Inject(USER_AGENT)),
|
|
72
72
|
__param(1, Inject(WINDOW)),
|
|
@@ -8,7 +8,7 @@ var TuiProgressLabelComponent = /** @class */ (function () {
|
|
|
8
8
|
selector: 'label[tuiProgressLabel]',
|
|
9
9
|
template: "<ng-content select=\"progress\"></ng-content>\n<ng-content select=\"tui-progress-circle\"></ng-content>\n<span class=\"t-label\">\n <ng-content></ng-content>\n</span>\n",
|
|
10
10
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11
|
-
styles: [":host{position:relative;display:inline-block}.t-label{position:absolute;top:0;left:0;width:100%;height:100%;font:var(--tui-font-text-s);color:var(--tui-text-01);
|
|
11
|
+
styles: [":host{position:relative;display:inline-block}.t-label{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;font:var(--tui-font-text-s);color:var(--tui-text-01);flex-direction:column;justify-content:center;align-items:center}"]
|
|
12
12
|
})
|
|
13
13
|
], TuiProgressLabelComponent);
|
|
14
14
|
return TuiProgressLabelComponent;
|
|
@@ -39,9 +39,9 @@ var TuiProgressSegmentedComponent = /** @class */ (function () {
|
|
|
39
39
|
TuiProgressSegmentedComponent = __decorate([
|
|
40
40
|
Component({
|
|
41
41
|
selector: 'tui-progress-segmented',
|
|
42
|
-
template: "<progress class=\"t-hidden-progress\" [value]=\"value\" [max]=\"max\"></progress>\n\n<span\n *tuiRepeatTimes=\"let index of max\"\n
|
|
42
|
+
template: "<progress class=\"t-hidden-progress\" [value]=\"value\" [max]=\"max\"></progress>\n\n<span\n *tuiRepeatTimes=\"let index of max\"\n aria-hidden=\"true\"\n class=\"t-segment\"\n [style.background]=\"index < value ? getActiveColor(index) : null\"\n></span>\n",
|
|
43
43
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
44
|
-
styles: [":host{display:flex}.t-segment{transition-property:background-color;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;flex:1 1 100%;border-radius:var(--tui-radius-xs);background-color:var(--tui-base-03)}.t-segment:not(:last-child){margin-right:.25rem}:host[data-size='s'] .t-segment{height:.25rem}:host[data-size='m'] .t-segment{height:.5rem}.t-hidden-progress{clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0
|
|
44
|
+
styles: [":host{display:flex}.t-segment{transition-property:background-color;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;flex:1 1 100%;border-radius:var(--tui-radius-xs);background-color:var(--tui-base-03)}.t-segment:not(:last-child){margin-right:.25rem}:host[data-size='s'] .t-segment{height:.25rem}:host[data-size='m'] .t-segment{height:.5rem}.t-hidden-progress{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0}"]
|
|
45
45
|
})
|
|
46
46
|
], TuiProgressSegmentedComponent);
|
|
47
47
|
return TuiProgressSegmentedComponent;
|
|
@@ -3,6 +3,7 @@ import { CommonModule } from '@angular/common';
|
|
|
3
3
|
import { NgModule } from '@angular/core';
|
|
4
4
|
import { TuiRepeatTimesModule } from '@taiga-ui/cdk';
|
|
5
5
|
import { TuiProgressColorSegmentsPipe } from './pipes/progress-color-segments.pipe';
|
|
6
|
+
import { TuiProgressColorSegmentsAsyncPipe } from './pipes/progress-color-segments-async.pipe';
|
|
6
7
|
import { TuiProgressBarComponent } from './progress-bar/progress-bar.component';
|
|
7
8
|
import { TuiProgressCircleComponent } from './progress-circle/progress-circle.component';
|
|
8
9
|
import { TuiProgressLabelComponent } from './progress-label/progress-label.component';
|
|
@@ -16,6 +17,7 @@ var TuiProgressModule = /** @class */ (function () {
|
|
|
16
17
|
declarations: [
|
|
17
18
|
TuiProgressBarComponent,
|
|
18
19
|
TuiProgressColorSegmentsPipe,
|
|
20
|
+
TuiProgressColorSegmentsAsyncPipe,
|
|
19
21
|
TuiProgressCircleComponent,
|
|
20
22
|
TuiProgressLabelComponent,
|
|
21
23
|
TuiProgressSegmentedComponent,
|
|
@@ -24,6 +26,7 @@ var TuiProgressModule = /** @class */ (function () {
|
|
|
24
26
|
TuiProgressBarComponent,
|
|
25
27
|
TuiProgressCircleComponent,
|
|
26
28
|
TuiProgressColorSegmentsPipe,
|
|
29
|
+
TuiProgressColorSegmentsAsyncPipe,
|
|
27
30
|
TuiProgressLabelComponent,
|
|
28
31
|
TuiProgressSegmentedComponent,
|
|
29
32
|
],
|
|
@@ -32,4 +35,4 @@ var TuiProgressModule = /** @class */ (function () {
|
|
|
32
35
|
return TuiProgressModule;
|
|
33
36
|
}());
|
|
34
37
|
export { TuiProgressModule };
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3MubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8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