@taiga-ui/core 3.17.0 → 3.18.0-dev.main-6071534
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/bundles/taiga-ui-core-abstract.umd.js +11 -19
- package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-alert.umd.js +14 -23
- package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-button.umd.js +11 -20
- package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-calendar.umd.js +11 -20
- package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-data-list.umd.js +20 -29
- package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +203 -190
- package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-error.umd.js +11 -20
- package/bundles/taiga-ui-core-components-error.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-expand.umd.js +14 -23
- package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-group.umd.js +14 -23
- package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hints-host.umd.js +7 -7
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +14 -23
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-label.umd.js +11 -20
- package/bundles/taiga-ui-core-components-label.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-link.umd.js +11 -20
- package/bundles/taiga-ui-core-components-link.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.js +11 -20
- package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.js +13 -22
- package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +11 -20
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +11 -20
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +11 -20
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +21 -30
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +11 -20
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.js +11 -20
- package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js +17 -26
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scrollbar.umd.js +17 -26
- package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-svg.umd.js +109 -38
- package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.js +11 -20
- package/bundles/taiga-ui-core-components-theme-night.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.js +39 -30
- package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js +83 -72
- package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js +95 -100
- package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +7 -7
- package/bundles/taiga-ui-core-directives-mode.umd.js +11 -20
- package/bundles/taiga-ui-core-directives-mode.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +11 -20
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +35 -44
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-wrapper.umd.js +7 -7
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +11 -20
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +7 -7
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js +7 -7
- package/bundles/taiga-ui-core-pipes-format-date.umd.js +7 -7
- package/bundles/taiga-ui-core-pipes-format-number.umd.js +7 -7
- package/bundles/taiga-ui-core-pipes-format-phone.umd.js +7 -7
- package/bundles/taiga-ui-core-pipes-month.umd.js +7 -7
- package/bundles/taiga-ui-core-pipes-order-week-days.umd.js +11 -20
- package/bundles/taiga-ui-core-pipes-order-week-days.umd.js.map +1 -1
- package/bundles/taiga-ui-core-services.umd.js +22 -31
- package/bundles/taiga-ui-core-services.umd.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.js +43 -14
- package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.js +4 -13
- package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.js +4 -13
- package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
- package/components/dialog/dialog-close.service.d.ts +15 -0
- package/components/dialog/dialog.component.d.ts +5 -4
- package/components/dialog/dialog.tokens.d.ts +2 -0
- package/components/dialog/index.d.ts +1 -1
- package/components/notification/notification.component.d.ts +2 -2
- package/components/svg/deprecated-icons.d.ts +1 -0
- package/components/svg/index.d.ts +2 -0
- package/components/svg/svg-options.d.ts +14 -0
- package/components/svg/svg.component.d.ts +5 -7
- package/components/tooltip/tooltip.component.d.ts +2 -2
- package/components/tooltip/tooltip.module.d.ts +5 -4
- package/directives/dropdown/dropdown-hover-options.directive.d.ts +9 -0
- package/directives/dropdown/dropdown-hover.directive.d.ts +3 -1
- package/directives/dropdown/dropdown-position-sided.directive.d.ts +2 -2
- package/directives/dropdown/dropdown-position.directive.d.ts +2 -2
- package/directives/dropdown/index.d.ts +1 -0
- package/directives/hint/hint-hover.directive.d.ts +4 -2
- package/directives/hint/hint-position.directive.d.ts +2 -2
- package/esm2015/abstract/abstract-driver.directive.js +3 -3
- package/esm2015/abstract/abstract-textfield-host.js +3 -3
- package/esm2015/abstract/rect-accessor.js +2 -1
- package/esm2015/components/alert/alert.component.js +3 -3
- package/esm2015/components/alert/alert.module.js +4 -4
- package/esm2015/components/alert/alert.service.js +3 -3
- package/esm2015/components/button/button.component.js +3 -3
- package/esm2015/components/button/button.module.js +4 -4
- package/esm2015/components/calendar/calendar.component.js +3 -3
- package/esm2015/components/calendar/calendar.module.js +4 -4
- package/esm2015/components/data-list/data-list.component.js +3 -3
- package/esm2015/components/data-list/data-list.directive.js +3 -3
- package/esm2015/components/data-list/data-list.module.js +4 -4
- package/esm2015/components/data-list/opt-group.directive.js +3 -3
- package/esm2015/components/data-list/option/option.component.js +3 -3
- package/esm2015/components/dialog/dialog-close.service.js +51 -0
- package/esm2015/components/dialog/dialog.component.js +27 -11
- package/esm2015/components/dialog/dialog.directive.js +3 -3
- package/esm2015/components/dialog/dialog.module.js +4 -4
- package/esm2015/components/dialog/dialog.service.js +3 -3
- package/esm2015/components/dialog/dialog.tokens.js +5 -1
- package/esm2015/components/dialog/index.js +2 -2
- package/esm2015/components/error/error.component.js +3 -3
- package/esm2015/components/error/error.module.js +4 -4
- package/esm2015/components/expand/expand-content.directive.js +3 -3
- package/esm2015/components/expand/expand.component.js +3 -3
- package/esm2015/components/expand/expand.module.js +4 -4
- package/esm2015/components/group/group-styles.component.js +3 -3
- package/esm2015/components/group/group.directive.js +3 -3
- package/esm2015/components/group/group.module.js +4 -4
- package/esm2015/components/hints-host/hints-host.component.js +3 -3
- package/esm2015/components/hints-host/hints-host.module.js +4 -4
- package/esm2015/components/hosted-dropdown/hosted-dropdown-connector.directive.js +3 -3
- package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +3 -3
- package/esm2015/components/hosted-dropdown/hosted-dropdown.module.js +4 -4
- package/esm2015/components/label/label.component.js +3 -3
- package/esm2015/components/label/label.module.js +4 -4
- package/esm2015/components/link/link.component.js +3 -3
- package/esm2015/components/link/link.module.js +4 -4
- package/esm2015/components/loader/loader.component.js +3 -3
- package/esm2015/components/loader/loader.module.js +4 -4
- package/esm2015/components/notification/notification.component.js +6 -6
- package/esm2015/components/notification/notification.module.js +4 -4
- package/esm2015/components/primitive-calendar/primitive-calendar.component.js +3 -3
- package/esm2015/components/primitive-calendar/primitive-calendar.module.js +4 -4
- package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +3 -3
- package/esm2015/components/primitive-checkbox/primitive-checkbox.module.js +4 -4
- package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +3 -3
- package/esm2015/components/primitive-spin-button/primitive-spin-button.module.js +4 -4
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +5 -5
- package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +3 -3
- package/esm2015/components/primitive-textfield/primitive-textfield.module.js +4 -4
- package/esm2015/components/primitive-textfield/textfield/textfield.component.js +3 -3
- package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +3 -3
- package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +3 -3
- package/esm2015/components/primitive-year-picker/primitive-year-picker.module.js +4 -4
- package/esm2015/components/root/root.component.js +3 -3
- package/esm2015/components/root/root.module.js +4 -4
- package/esm2015/components/scroll-controls/scroll-controls.component.js +3 -3
- package/esm2015/components/scroll-controls/scroll-controls.module.js +4 -4
- package/esm2015/components/scroll-controls/scrollbar-wrapper.directive.js +3 -3
- package/esm2015/components/scroll-controls/scrollbar.directive.js +3 -3
- package/esm2015/components/scrollbar/scroll-ref.directive.js +3 -3
- package/esm2015/components/scrollbar/scrollable.directive.js +3 -3
- package/esm2015/components/scrollbar/scrollbar.component.js +3 -3
- package/esm2015/components/scrollbar/scrollbar.module.js +4 -4
- package/esm2015/components/svg/deprecated-icons.js +59 -0
- package/esm2015/components/svg/index.js +3 -1
- package/esm2015/components/svg/svg-options.js +29 -0
- package/esm2015/components/svg/svg.component.js +14 -19
- package/esm2015/components/svg/svg.module.js +4 -4
- package/esm2015/components/theme-night/theme-night.component.js +3 -3
- package/esm2015/components/theme-night/theme-night.module.js +4 -4
- package/esm2015/components/tooltip/tooltip.component.js +15 -15
- package/esm2015/components/tooltip/tooltip.module.js +23 -6
- package/esm2015/directives/dropdown/dropdown-context.directive.js +3 -3
- package/esm2015/directives/dropdown/dropdown-driver.directive.js +3 -3
- package/esm2015/directives/dropdown/dropdown-host.directive.js +3 -3
- package/esm2015/directives/dropdown/dropdown-hover-options.directive.js +14 -0
- package/esm2015/directives/dropdown/dropdown-hover.directive.js +12 -7
- package/esm2015/directives/dropdown/dropdown-manual.directive.js +3 -3
- package/esm2015/directives/dropdown/dropdown-options.directive.js +3 -3
- package/esm2015/directives/dropdown/dropdown-position-sided.directive.js +14 -14
- package/esm2015/directives/dropdown/dropdown-position.directive.js +13 -13
- package/esm2015/directives/dropdown/dropdown-selection.directive.js +3 -3
- package/esm2015/directives/dropdown/dropdown.component.js +3 -3
- package/esm2015/directives/dropdown/dropdown.directive.js +3 -3
- package/esm2015/directives/dropdown/dropdown.module.js +4 -4
- package/esm2015/directives/dropdown/index.js +2 -1
- package/esm2015/directives/hint/hint-describe.directive.js +3 -3
- package/esm2015/directives/hint/hint-driver.directive.js +3 -3
- package/esm2015/directives/hint/hint-host.directive.js +3 -3
- package/esm2015/directives/hint/hint-hover.directive.js +14 -11
- package/esm2015/directives/hint/hint-manual.directive.js +3 -3
- package/esm2015/directives/hint/hint-options.directive.js +5 -5
- package/esm2015/directives/hint/hint-pointer.directive.js +3 -3
- package/esm2015/directives/hint/hint-position.directive.js +14 -13
- package/esm2015/directives/hint/hint.component.js +6 -5
- package/esm2015/directives/hint/hint.directive.js +3 -3
- package/esm2015/directives/hint/hint.module.js +4 -4
- package/esm2015/directives/mask-accessor/mask-accessor.directive.js +3 -3
- package/esm2015/directives/mask-accessor/mask-accessor.module.js +4 -4
- package/esm2015/directives/mode/mode.directive.js +3 -3
- package/esm2015/directives/mode/mode.module.js +4 -4
- package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +3 -3
- package/esm2015/directives/scroll-into-view/scroll-into-view.module.js +4 -4
- package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +3 -3
- package/esm2015/directives/textfield-controller/textfield-controller.module.js +4 -4
- package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +3 -3
- package/esm2015/directives/textfield-controller/textfield-filler.directive.js +3 -3
- package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +3 -3
- package/esm2015/directives/textfield-controller/textfield-icon.directive.js +3 -3
- package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +3 -3
- package/esm2015/directives/textfield-controller/textfield-postfix.directive.js +3 -3
- package/esm2015/directives/textfield-controller/textfield-prefix.directive.js +3 -3
- package/esm2015/directives/textfield-controller/textfield-size.directive.js +3 -3
- package/esm2015/directives/wrapper/wrapper.directive.js +3 -3
- package/esm2015/directives/wrapper/wrapper.module.js +4 -4
- package/esm2015/interfaces/dialog-options.js +1 -1
- package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +3 -3
- package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +4 -4
- package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +3 -3
- package/esm2015/internal/svg-defs-host/svg-defs-host.module.js +4 -4
- package/esm2015/pipes/calendar-sheet/calendar-sheet.module.js +4 -4
- package/esm2015/pipes/calendar-sheet/calendar-sheet.pipe.js +3 -3
- package/esm2015/pipes/format-date/format-date.module.js +4 -4
- package/esm2015/pipes/format-date/format-date.pipe.js +3 -3
- package/esm2015/pipes/format-number/format-number.module.js +4 -4
- package/esm2015/pipes/format-number/format-number.pipe.js +3 -3
- package/esm2015/pipes/format-phone/format-phone.module.js +4 -4
- package/esm2015/pipes/format-phone/format-phone.pipe.js +3 -3
- package/esm2015/pipes/month/month.module.js +4 -4
- package/esm2015/pipes/month/month.pipe.js +3 -3
- package/esm2015/pipes/order-week-days/order-week-days.module.js +4 -4
- package/esm2015/pipes/order-week-days/order-week-days.pipe.js +3 -3
- package/esm2015/services/format-date.service.js +3 -3
- package/esm2015/services/hint.service.js +3 -3
- package/esm2015/services/night-theme.service.js +3 -3
- package/esm2015/services/position.service.js +3 -3
- package/esm2015/services/router-link-active.service.js +3 -3
- package/esm2015/services/svg.service.js +3 -3
- package/esm2015/tokens/icon-place.js +5 -2
- package/esm2015/tokens/icons-path.js +4 -1
- package/esm2015/tokens/index.js +2 -1
- package/esm2015/tokens/svg-content-processor.js +4 -1
- package/esm2015/tokens/svg-src-processor.js +4 -1
- package/esm2015/tokens/viewport.js +26 -0
- package/fesm2015/taiga-ui-core-abstract.js +7 -6
- package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-alert.js +10 -10
- package/fesm2015/taiga-ui-core-components-button.js +7 -7
- package/fesm2015/taiga-ui-core-components-calendar.js +7 -7
- package/fesm2015/taiga-ui-core-components-data-list.js +16 -16
- package/fesm2015/taiga-ui-core-components-dialog.js +96 -80
- package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-error.js +7 -7
- package/fesm2015/taiga-ui-core-components-expand.js +10 -10
- package/fesm2015/taiga-ui-core-components-group.js +10 -10
- package/fesm2015/taiga-ui-core-components-hints-host.js +7 -7
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +10 -10
- package/fesm2015/taiga-ui-core-components-label.js +7 -7
- package/fesm2015/taiga-ui-core-components-link.js +7 -7
- package/fesm2015/taiga-ui-core-components-loader.js +7 -7
- package/fesm2015/taiga-ui-core-components-notification.js +9 -9
- package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js +7 -7
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +7 -7
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +7 -7
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +17 -17
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +7 -7
- package/fesm2015/taiga-ui-core-components-root.js +7 -7
- package/fesm2015/taiga-ui-core-components-scroll-controls.js +13 -13
- package/fesm2015/taiga-ui-core-components-scrollbar.js +13 -13
- package/fesm2015/taiga-ui-core-components-svg.js +103 -26
- package/fesm2015/taiga-ui-core-components-svg.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-theme-night.js +7 -7
- package/fesm2015/taiga-ui-core-components-tooltip.js +36 -19
- package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js +76 -59
- package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-hint.js +61 -58
- package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js +7 -7
- package/fesm2015/taiga-ui-core-directives-mode.js +7 -7
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +7 -7
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js +31 -31
- package/fesm2015/taiga-ui-core-directives-wrapper.js +7 -7
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +7 -7
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +7 -7
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js +7 -7
- package/fesm2015/taiga-ui-core-pipes-format-date.js +7 -7
- package/fesm2015/taiga-ui-core-pipes-format-number.js +7 -7
- package/fesm2015/taiga-ui-core-pipes-format-phone.js +7 -7
- package/fesm2015/taiga-ui-core-pipes-month.js +7 -7
- package/fesm2015/taiga-ui-core-pipes-order-week-days.js +7 -7
- package/fesm2015/taiga-ui-core-services.js +18 -18
- package/fesm2015/taiga-ui-core-tokens.js +38 -2
- package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
- package/interfaces/dialog-options.d.ts +4 -3
- package/package.json +4 -4
- package/styles/mixins/textfield.less +4 -22
- package/styles/mixins/textfield.scss +3 -22
- package/styles/theme/wrapper/icon.less +17 -27
- package/tokens/icon-place.d.ts +3 -0
- package/tokens/icons-path.d.ts +3 -0
- package/tokens/index.d.ts +1 -0
- package/tokens/svg-content-processor.d.ts +3 -0
- package/tokens/svg-src-processor.d.ts +3 -0
- package/tokens/viewport.d.ts +4 -0
- package/components/dialog/dialog.providers.d.ts +0 -5
- package/esm2015/components/dialog/dialog.providers.js +0 -51
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { InjectionToken, ValueProvider } from '@angular/core';
|
|
2
|
+
import { SafeHtml } from '@angular/platform-browser';
|
|
3
|
+
import { TuiHandler, TuiStringHandler } from '@taiga-ui/cdk';
|
|
4
|
+
export interface TuiSvgOptions {
|
|
5
|
+
readonly path: TuiStringHandler<string>;
|
|
6
|
+
readonly deprecated: TuiStringHandler<string>;
|
|
7
|
+
readonly srcProcessor: TuiHandler<SafeHtml | string, SafeHtml | string>;
|
|
8
|
+
readonly contentProcessor: TuiHandler<SafeHtml | string, SafeHtml | string>;
|
|
9
|
+
}
|
|
10
|
+
export declare const TUI_SVG_DEFAULT_OPTIONS: TuiSvgOptions;
|
|
11
|
+
export declare const TUI_SVG_OPTIONS: InjectionToken<TuiSvgOptions>;
|
|
12
|
+
export declare const tuiSvgOptionsProvider: (options: Partial<Omit<TuiSvgOptions, 'path'>> & {
|
|
13
|
+
path?: TuiSvgOptions['path'] | string;
|
|
14
|
+
}) => ValueProvider;
|
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
import { ElementRef, Sanitizer } from '@angular/core';
|
|
2
2
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
|
-
import {
|
|
3
|
+
import { TuiStaticRequestService } from '@taiga-ui/cdk';
|
|
4
4
|
import { TuiSvgService } from '@taiga-ui/core/services';
|
|
5
|
-
import { TUI_SVG_CONTENT_PROCESSOR, TUI_SVG_SRC_PROCESSOR } from '@taiga-ui/core/tokens';
|
|
6
5
|
import { Observable } from 'rxjs';
|
|
6
|
+
import { TuiSvgOptions } from './svg-options';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class TuiSvgComponent {
|
|
9
9
|
private readonly documentRef;
|
|
10
10
|
private readonly windowRef;
|
|
11
|
-
private readonly
|
|
11
|
+
private readonly options;
|
|
12
12
|
private readonly tuiSanitizer;
|
|
13
13
|
private readonly svgService;
|
|
14
14
|
private readonly staticRequestService;
|
|
15
15
|
private readonly sanitizer;
|
|
16
16
|
private readonly elementRef;
|
|
17
|
-
private readonly srcProcessor;
|
|
18
|
-
private readonly contentProcessor;
|
|
19
17
|
private readonly src$;
|
|
20
18
|
private icon;
|
|
21
19
|
readonly innerHTML$: Observable<SafeHtml>;
|
|
22
|
-
constructor(documentRef: Document, windowRef: Window,
|
|
20
|
+
constructor(documentRef: Document, windowRef: Window, options: TuiSvgOptions, tuiSanitizer: Sanitizer | null, svgService: TuiSvgService, staticRequestService: TuiStaticRequestService, sanitizer: DomSanitizer, elementRef: ElementRef<Element>);
|
|
23
21
|
set src(src: SafeHtml | string);
|
|
24
22
|
get src(): SafeHtml | string;
|
|
25
23
|
get use(): string;
|
|
@@ -37,6 +35,6 @@ export declare class TuiSvgComponent {
|
|
|
37
35
|
private process;
|
|
38
36
|
private sanitize;
|
|
39
37
|
private getExternalIcon;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSvgComponent, [null, null, null, { optional: true; }, null, null, null, null
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSvgComponent, [null, null, null, { optional: true; }, null, null, null, null]>;
|
|
41
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiSvgComponent, "tui-svg", never, { "src": "src"; }, {}, never, never>;
|
|
42
40
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { TuiHintOptions, TuiHintOptionsDirective } from '@taiga-ui/core/directives';
|
|
1
|
+
import { TuiHintHoverDirective, TuiHintOptions, TuiHintOptionsDirective } from '@taiga-ui/core/directives';
|
|
2
2
|
import { TuiBrightness } from '@taiga-ui/core/types';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TuiTooltipComponent extends TuiHintOptionsDirective {
|
|
6
6
|
private readonly isMobile;
|
|
7
7
|
private mode;
|
|
8
|
-
readonly driver
|
|
8
|
+
readonly driver$?: TuiHintHoverDirective;
|
|
9
9
|
describeId: string;
|
|
10
10
|
constructor(destroy$: Observable<unknown>, mode$: Observable<TuiBrightness | null>, options: TuiHintOptions, isMobile: boolean);
|
|
11
11
|
get computedAppearance(): string;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./tooltip.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@taiga-ui/core/
|
|
5
|
-
import * as i4 from "@taiga-ui/core/
|
|
6
|
-
import * as i5 from "@
|
|
4
|
+
import * as i3 from "@taiga-ui/core/directives/wrapper";
|
|
5
|
+
import * as i4 from "@taiga-ui/core/components/svg";
|
|
6
|
+
import * as i5 from "@taiga-ui/core/directives/hint";
|
|
7
|
+
import * as i6 from "@tinkoff/ng-polymorpheus";
|
|
7
8
|
export declare class TuiTooltipModule {
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTooltipModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiTooltipModule, [typeof i1.TuiTooltipComponent], [typeof i2.CommonModule, typeof i3.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiTooltipModule, [typeof i1.TuiTooltipComponent], [typeof i2.CommonModule, typeof i3.TuiWrapperModule, typeof i4.TuiSvgModule, typeof i5.TuiHintModule, typeof i6.PolymorpheusModule], [typeof i1.TuiTooltipComponent]>;
|
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiTooltipModule>;
|
|
11
12
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InjectionToken, ValueProvider } from '@angular/core';
|
|
2
|
+
export interface TuiDropdownHoverOptions {
|
|
3
|
+
readonly showDelay: number;
|
|
4
|
+
readonly hideDelay: number;
|
|
5
|
+
}
|
|
6
|
+
/** Default values for hint options */
|
|
7
|
+
export declare const TUI_DROPDOWN_HOVER_DEFAULT_OPTIONS: TuiDropdownHoverOptions;
|
|
8
|
+
export declare const TUI_DROPDOWN_HOVER_OPTIONS: InjectionToken<TuiDropdownHoverOptions>;
|
|
9
|
+
export declare const tuiDropdownHoverOptionsProvider: (options: Partial<TuiDropdownHoverOptions>) => ValueProvider;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { TuiDriver } from '@taiga-ui/core/abstract';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import { TuiDropdownHoverOptions } from './dropdown-hover-options.directive';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TuiDropdownHoverDirective extends TuiDriver {
|
|
5
6
|
private readonly hovered$;
|
|
7
|
+
private readonly options;
|
|
6
8
|
private readonly toggle$;
|
|
7
9
|
private readonly stream$;
|
|
8
10
|
showDelay: number;
|
|
9
11
|
hideDelay: number;
|
|
10
12
|
hovered: boolean;
|
|
11
|
-
constructor(hovered$: Observable<boolean
|
|
13
|
+
constructor(hovered$: Observable<boolean>, options: TuiDropdownHoverOptions);
|
|
12
14
|
toggle(visible: boolean): void;
|
|
13
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownHoverDirective, never>;
|
|
14
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownHoverDirective, "[tuiDropdownHover]:not(ng-container)", never, { "showDelay": "tuiDropdownShowDelay"; "hideDelay": "tuiDropdownHideDelay"; }, {}, never>;
|
|
@@ -4,13 +4,13 @@ import { TuiDropdownOptions } from './dropdown-options.directive';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TuiDropdownPositionSidedDirective implements TuiPositionAccessor {
|
|
6
6
|
private readonly options;
|
|
7
|
-
private readonly
|
|
7
|
+
private readonly viewport;
|
|
8
8
|
private readonly accessor;
|
|
9
9
|
private readonly vertical;
|
|
10
10
|
private previous;
|
|
11
11
|
tuiDropdownSided: boolean | string;
|
|
12
12
|
tuiDropdownSidedOffset: number;
|
|
13
|
-
constructor(options: TuiDropdownOptions,
|
|
13
|
+
constructor(options: TuiDropdownOptions, viewport: TuiRectAccessor, accessor: TuiRectAccessor, vertical: TuiPositionAccessor);
|
|
14
14
|
getPosition(rect: ClientRect): TuiPoint;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownPositionSidedDirective, never>;
|
|
16
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownPositionSidedDirective, "[tuiDropdownSided]", never, { "tuiDropdownSided": "tuiDropdownSided"; "tuiDropdownSidedOffset": "tuiDropdownSidedOffset"; }, {}, never>;
|
|
@@ -4,10 +4,10 @@ import { TuiDropdownOptions } from './dropdown-options.directive';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TuiDropdownPositionDirective implements TuiPositionAccessor {
|
|
6
6
|
private readonly options;
|
|
7
|
-
private readonly
|
|
7
|
+
private readonly viewport;
|
|
8
8
|
private readonly accessor;
|
|
9
9
|
private previous?;
|
|
10
|
-
constructor(options: TuiDropdownOptions,
|
|
10
|
+
constructor(options: TuiDropdownOptions, viewport: TuiRectAccessor, accessor: TuiRectAccessor);
|
|
11
11
|
getPosition({ width, height }: ClientRect): TuiPoint;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownPositionDirective, never>;
|
|
13
13
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownPositionDirective, "[tuiDropdown]:not([tuiDropdownCustomPosition]):not([tuiDropdownSided])", never, {}, {}, never>;
|
|
@@ -6,6 +6,7 @@ export * from './dropdown-context.directive';
|
|
|
6
6
|
export * from './dropdown-driver.directive';
|
|
7
7
|
export * from './dropdown-host.directive';
|
|
8
8
|
export * from './dropdown-hover.directive';
|
|
9
|
+
export * from './dropdown-hover-options.directive';
|
|
9
10
|
export * from './dropdown-manual.directive';
|
|
10
11
|
export * from './dropdown-options.directive';
|
|
11
12
|
export * from './dropdown-position.directive';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
1
2
|
import { TuiDriver } from '@taiga-ui/core/abstract';
|
|
2
3
|
import { Observable } from 'rxjs';
|
|
3
4
|
import { TuiHintOptions } from './hint-options.directive';
|
|
@@ -5,12 +6,13 @@ import * as i0 from "@angular/core";
|
|
|
5
6
|
export declare class TuiHintHoverDirective extends TuiDriver {
|
|
6
7
|
private readonly hovered$;
|
|
7
8
|
private readonly options;
|
|
9
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
8
10
|
private readonly toggle$;
|
|
9
11
|
private readonly stream$;
|
|
10
12
|
showDelay: TuiHintOptions['showDelay'];
|
|
11
13
|
hideDelay: TuiHintOptions['hideDelay'];
|
|
12
|
-
constructor(hovered$: Observable<boolean>, options: TuiHintOptions);
|
|
14
|
+
constructor(hovered$: Observable<boolean>, options: TuiHintOptions, elementRef: ElementRef<HTMLElement>);
|
|
13
15
|
toggle(visible: boolean): void;
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintHoverDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintHoverDirective, "[tuiHint]:not(ng-container)",
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintHoverDirective, "[tuiHint]:not(ng-container)", ["tuiHintHover"], { "showDelay": "tuiHintShowDelay"; "hideDelay": "tuiHintHideDelay"; }, {}, never>;
|
|
16
18
|
}
|
|
@@ -4,11 +4,11 @@ import { TuiHintOptions } from './hint-options.directive';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TuiHintPositionDirective implements TuiPositionAccessor {
|
|
6
6
|
private readonly options;
|
|
7
|
-
private readonly
|
|
7
|
+
private readonly viewport;
|
|
8
8
|
private readonly accessor;
|
|
9
9
|
private readonly points;
|
|
10
10
|
direction: TuiHintOptions['direction'];
|
|
11
|
-
constructor(options: TuiHintOptions,
|
|
11
|
+
constructor(options: TuiHintOptions, viewport: TuiRectAccessor, accessor: TuiRectAccessor);
|
|
12
12
|
getPosition({ width, height }: ClientRect): TuiPoint;
|
|
13
13
|
private get fallback();
|
|
14
14
|
private checkPosition;
|
|
@@ -13,9 +13,9 @@ export class AbstractTuiDriverDirective {
|
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
AbstractTuiDriverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
17
|
-
AbstractTuiDriverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
16
|
+
AbstractTuiDriverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AbstractTuiDriverDirective, deps: [{ token: TuiDestroyService, self: true }, { token: TuiDriver }, { token: TuiVehicle }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17
|
+
AbstractTuiDriverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: AbstractTuiDriverDirective, ngImport: i0 });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AbstractTuiDriverDirective, decorators: [{
|
|
19
19
|
type: Directive
|
|
20
20
|
}], ctorParameters: function () { return [{ type: i1.Observable, decorators: [{
|
|
21
21
|
type: Self
|
|
@@ -23,9 +23,9 @@ export class AbstractTuiTextfieldHost {
|
|
|
23
23
|
}
|
|
24
24
|
process(_input) { }
|
|
25
25
|
}
|
|
26
|
-
AbstractTuiTextfieldHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
27
|
-
AbstractTuiTextfieldHost.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
26
|
+
AbstractTuiTextfieldHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AbstractTuiTextfieldHost, deps: [{ token: AbstractTuiControl }], target: i0.ɵɵFactoryTarget.Directive });
|
|
27
|
+
AbstractTuiTextfieldHost.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: AbstractTuiTextfieldHost, ngImport: i0 });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AbstractTuiTextfieldHost, decorators: [{
|
|
29
29
|
type: Directive
|
|
30
30
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
31
31
|
type: Inject,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// TODO: Rename to getBoundingClientRect to match the DOM API
|
|
1
2
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
2
3
|
export class TuiRectAccessor {
|
|
3
4
|
}
|
|
@@ -7,4 +8,4 @@ export function tuiAsRectAccessor(useExisting) {
|
|
|
7
8
|
useExisting,
|
|
8
9
|
};
|
|
9
10
|
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVjdC1hY2Nlc3Nvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvYWJzdHJhY3QvcmVjdC1hY2Nlc3Nvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSw2REFBNkQ7QUFDN0QsZ0VBQWdFO0FBQ2hFLE1BQU0sT0FBZ0IsZUFBZTtDQUVwQztBQUVELE1BQU0sVUFBVSxpQkFBaUIsQ0FBQyxXQUFrQztJQUNoRSxPQUFPO1FBQ0gsT0FBTyxFQUFFLGVBQWU7UUFDeEIsV0FBVztLQUNkLENBQUM7QUFDTixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtFeGlzdGluZ1Byb3ZpZGVyLCBUeXBlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuLy8gVE9ETzogUmVuYW1lIHRvIGdldEJvdW5kaW5nQ2xpZW50UmVjdCB0byBtYXRjaCB0aGUgRE9NIEFQSVxuLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uYW1pbmctY29udmVudGlvblxuZXhwb3J0IGFic3RyYWN0IGNsYXNzIFR1aVJlY3RBY2Nlc3NvciB7XG4gICAgYWJzdHJhY3QgZ2V0Q2xpZW50UmVjdCgpOiBDbGllbnRSZWN0O1xufVxuXG5leHBvcnQgZnVuY3Rpb24gdHVpQXNSZWN0QWNjZXNzb3IodXNlRXhpc3Rpbmc6IFR5cGU8VHVpUmVjdEFjY2Vzc29yPik6IEV4aXN0aW5nUHJvdmlkZXIge1xuICAgIHJldHVybiB7XG4gICAgICAgIHByb3ZpZGU6IFR1aVJlY3RBY2Nlc3NvcixcbiAgICAgICAgdXNlRXhpc3RpbmcsXG4gICAgfTtcbn1cbiJdfQ==
|
|
@@ -50,9 +50,9 @@ export class TuiAlertComponent {
|
|
|
50
50
|
.subscribe(() => this.closeNotification());
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
TuiAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
54
|
-
TuiAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
53
|
+
TuiAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAlertComponent, deps: [{ token: ElementRef }, { token: TuiDestroyService, self: true }, { token: TUI_NOTIFICATION_OPTIONS }, { token: TUI_ANIMATION_OPTIONS }, { token: POLYMORPHEUS_CONTEXT }], target: i0.ɵɵFactoryTarget.Component });
|
|
54
|
+
TuiAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiAlertComponent, selector: "tui-alert", host: { attributes: { "role": "alert" }, properties: { "@tuiFadeIn": "this.animation", "@tuiSlideInRight": "this.animation", "@tuiHeightCollapse": "this.animation" } }, providers: [TuiDestroyService], ngImport: i0, template: "<tui-notification\n *ngIf=\"item.hasCloseButton; else noClose\"\n [status]=\"item.status\"\n [hasIcon]=\"item.hasIcon\"\n (close)=\"closeNotification()\"\n>\n <label\n *ngIf=\"item.label\"\n automation-id=\"tui-notification-alert__heading\"\n class=\"t-heading\"\n >\n <!-- TODO: Polymorpheus fix type -->\n <ng-container *polymorpheusOutlet=\"$any(item.label) as text; context: item\">\n {{ text }}\n </ng-container>\n </label>\n <div\n automation-id=\"tui-notification-alert__content\"\n class=\"t-content\"\n >\n <!-- TODO: Polymorpheus fix type -->\n <ng-container *polymorpheusOutlet=\"item.content as text; context: $any(item)\">\n {{ text }}\n </ng-container>\n </div>\n</tui-notification>\n<ng-template #noClose>\n <tui-notification\n [status]=\"item.status\"\n [hasIcon]=\"item.hasIcon\"\n >\n <label\n *ngIf=\"item.label\"\n automation-id=\"tui-notification-alert__heading\"\n class=\"t-heading\"\n >\n <!-- TODO: Polymorpheus fix type -->\n <ng-container *polymorpheusOutlet=\"$any(item.label) as text; context: item\">\n {{ text }}\n </ng-container>\n </label>\n <div\n automation-id=\"tui-notification-alert__content\"\n class=\"t-content\"\n >\n <!-- TODO: Polymorpheus fix type -->\n <ng-container *polymorpheusOutlet=\"item.content as text; context: $any(item)\">\n {{ text }}\n </ng-container>\n </div>\n </tui-notification>\n</ng-template>\n", styles: [":host{box-shadow:0 1.5rem 1rem rgba(0,0,0,.03),0 .75rem .75rem rgba(0,0,0,.04),0 .25rem .375rem rgba(0,0,0,.05);display:block;border-radius:var(--tui-radius-m);width:18rem;margin:2rem 3rem 0 auto}:host-context(tui-root._mobile) :host{margin:1rem 1rem 0 auto}:host:not(:first-child){margin-top:.75rem}.t-heading{font:var(--tui-font-text-m);line-height:1.25rem;font-weight:bold;margin:0}.t-content{color:var(--tui-text-01);word-wrap:break-word}.t-content:empty{display:none}\n"], components: [{ type: i1.TuiNotificationComponent, selector: "tui-notification", inputs: ["hasIcon", "status"], outputs: ["close"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [tuiFadeIn, tuiSlideInRight, tuiHeightCollapse], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAlertComponent, decorators: [{
|
|
56
56
|
type: Component,
|
|
57
57
|
args: [{
|
|
58
58
|
selector: 'tui-alert',
|
|
@@ -8,10 +8,10 @@ import { TuiAlertService } from './alert.service';
|
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export class TuiAlertModule {
|
|
10
10
|
}
|
|
11
|
-
TuiAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12
|
-
TuiAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
13
|
-
TuiAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11
|
+
TuiAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
+
TuiAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAlertModule, declarations: [TuiAlertComponent], imports: [CommonModule, PolymorpheusModule, TuiNotificationModule], exports: [TuiAlertComponent] });
|
|
13
|
+
TuiAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAlertModule, providers: [tuiAsAlerts(TuiAlertService)], imports: [[CommonModule, PolymorpheusModule, TuiNotificationModule]] });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAlertModule, decorators: [{
|
|
15
15
|
type: NgModule,
|
|
16
16
|
args: [{
|
|
17
17
|
imports: [CommonModule, PolymorpheusModule, TuiNotificationModule],
|
|
@@ -12,9 +12,9 @@ export class TuiAlertService extends AbstractTuiDialogService {
|
|
|
12
12
|
this.component = new PolymorpheusComponent(TuiAlertComponent);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
TuiAlertService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
16
|
-
TuiAlertService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
15
|
+
TuiAlertService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAlertService, deps: [{ token: TUI_NOTIFICATION_OPTIONS }, { token: TuiIdService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16
|
+
TuiAlertService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAlertService, providedIn: `root` });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAlertService, decorators: [{
|
|
18
18
|
type: Injectable,
|
|
19
19
|
args: [{ providedIn: `root` }]
|
|
20
20
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -56,8 +56,8 @@ export class TuiButtonComponent extends AbstractTuiInteractive {
|
|
|
56
56
|
this.updateFocused(focused);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
TuiButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
60
|
-
TuiButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
59
|
+
TuiButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonComponent, deps: [{ token: TuiModeDirective, optional: true }, { token: ElementRef }, { token: TuiFocusVisibleService }, { token: TUI_BUTTON_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
|
|
60
|
+
TuiButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: { appearance: "appearance", disabled: "disabled", icon: "icon", iconRight: "iconRight", shape: "shape", showLoader: "showLoader", size: "size" }, host: { listeners: { "focusin": "onFocused(true)", "focusout": "onFocused(false)" }, properties: { "attr.data-shape": "this.shape", "class._loading": "this.showLoader", "attr.data-size": "this.size", "attr.data-appearance": "this.computedAppearance", "attr.disabled": "this.nativeDisabled", "tabIndex": "this.tabIndex" } }, providers: [
|
|
61
61
|
tuiAsFocusableItemAccessor(TuiButtonComponent),
|
|
62
62
|
TuiDestroyService,
|
|
63
63
|
TuiFocusVisibleService,
|
|
@@ -83,7 +83,7 @@ __decorate([
|
|
|
83
83
|
__decorate([
|
|
84
84
|
tuiDefaultProp()
|
|
85
85
|
], TuiButtonComponent.prototype, "size", void 0);
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonComponent, decorators: [{
|
|
87
87
|
type: Component,
|
|
88
88
|
args: [{
|
|
89
89
|
selector: 'button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]',
|
|
@@ -8,20 +8,20 @@ import { TuiButtonComponent } from './button.component';
|
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export class TuiButtonModule {
|
|
10
10
|
}
|
|
11
|
-
TuiButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12
|
-
TuiButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
11
|
+
TuiButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
+
TuiButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonModule, declarations: [TuiButtonComponent], imports: [CommonModule,
|
|
13
13
|
PolymorpheusModule,
|
|
14
14
|
TuiWrapperModule,
|
|
15
15
|
TuiSvgModule,
|
|
16
16
|
TuiLoaderModule], exports: [TuiButtonComponent] });
|
|
17
|
-
TuiButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
17
|
+
TuiButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonModule, imports: [[
|
|
18
18
|
CommonModule,
|
|
19
19
|
PolymorpheusModule,
|
|
20
20
|
TuiWrapperModule,
|
|
21
21
|
TuiSvgModule,
|
|
22
22
|
TuiLoaderModule,
|
|
23
23
|
]] });
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonModule, decorators: [{
|
|
25
25
|
type: NgModule,
|
|
26
26
|
args: [{
|
|
27
27
|
imports: [
|
|
@@ -77,8 +77,8 @@ export class TuiCalendarComponent {
|
|
|
77
77
|
this.hoveredItemChange.emit(day);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
TuiCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
81
|
-
TuiCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
80
|
+
TuiCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
81
|
+
TuiCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiCalendarComponent, selector: "tui-calendar", inputs: { month: "month", disabledItemHandler: "disabledItemHandler", min: "min", max: "max", minViewedMonth: "minViewedMonth", maxViewedMonth: "maxViewedMonth", hoveredItem: "hoveredItem", showAdjacent: "showAdjacent", markerHandler: "markerHandler", value: "value" }, outputs: { dayClick: "dayClick", monthChange: "monthChange", hoveredItemChange: "hoveredItemChange" }, ngImport: i0, template: "<tui-scrollbar\n *ngIf=\"year; else calendar\"\n automation-id=\"tui-calendar__scrollbar\"\n class=\"t-scrollbar\"\n>\n <tui-primitive-year-picker\n automation-id=\"tui-calendar__year\"\n [min]=\"min\"\n [max]=\"max\"\n [initialItem]=\"year\"\n [value]=\"value\"\n (yearClick)=\"onPickerYearClick($event)\"\n ></tui-primitive-year-picker>\n</tui-scrollbar>\n<ng-template #calendar>\n <tui-primitive-year-month-pagination\n automation-id=\"tui-calendar__pagination\"\n class=\"t-pagination\"\n [min]=\"computedMinViewedMonth\"\n [max]=\"computedMaxViewedMonth\"\n [value]=\"month\"\n (valueChange)=\"onPaginationValueChange($event)\"\n (yearClick)=\"onPaginationYearClick($event)\"\n ></tui-primitive-year-month-pagination>\n <tui-primitive-calendar\n automation-id=\"tui-calendar__calendar\"\n [showAdjacent]=\"showAdjacent\"\n [value]=\"value\"\n [month]=\"month\"\n [disabledItemHandler]=\"disabledItemHandler | tuiMapper : disabledItemHandlerMapper : min : max\"\n [markerHandler]=\"markerHandler\"\n [hoveredItem]=\"hoveredItem\"\n (hoveredItemChange)=\"onHoveredItemChange($event)\"\n (dayClick)=\"onDayClick($event)\"\n ></tui-primitive-calendar>\n</ng-template>\n", styles: [":host{display:block;height:18.25rem;width:15.75rem;padding:1rem 1.125rem;box-sizing:content-box}.t-scrollbar{height:18.25rem;width:16.875rem}.t-pagination{margin-bottom:1rem}\n"], components: [{ type: i1.TuiScrollbarComponent, selector: "tui-scrollbar", inputs: ["hidden"] }, { type: i2.TuiPrimitiveYearPickerComponent, selector: "tui-primitive-year-picker", inputs: ["value", "initialItem", "min", "max", "disabledItemHandler"], outputs: ["yearClick"] }, { type: i3.TuiPrimitiveYearMonthPaginationComponent, selector: "tui-primitive-year-month-pagination", inputs: ["value", "min", "max"], outputs: ["valueChange", "yearClick"] }, { type: i4.TuiPrimitiveCalendarComponent, selector: "tui-primitive-calendar", inputs: ["month", "disabledItemHandler", "markerHandler", "value", "hoveredItem", "showAdjacent"], outputs: ["hoveredItemChange", "dayClick"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "tuiMapper": i6.TuiMapperPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
82
82
|
__decorate([
|
|
83
83
|
tuiDefaultProp()
|
|
84
84
|
], TuiCalendarComponent.prototype, "month", void 0);
|
|
@@ -109,7 +109,7 @@ __decorate([
|
|
|
109
109
|
__decorate([
|
|
110
110
|
tuiDefaultProp()
|
|
111
111
|
], TuiCalendarComponent.prototype, "value", null);
|
|
112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCalendarComponent, decorators: [{
|
|
113
113
|
type: Component,
|
|
114
114
|
args: [{
|
|
115
115
|
selector: 'tui-calendar',
|
|
@@ -9,14 +9,14 @@ import { TuiCalendarComponent } from './calendar.component';
|
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export class TuiCalendarModule {
|
|
11
11
|
}
|
|
12
|
-
TuiCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13
|
-
TuiCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
12
|
+
TuiCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
TuiCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCalendarModule, declarations: [TuiCalendarComponent], imports: [CommonModule,
|
|
14
14
|
TuiPrimitiveYearMonthPaginationModule,
|
|
15
15
|
TuiPrimitiveCalendarModule,
|
|
16
16
|
TuiPrimitiveYearPickerModule,
|
|
17
17
|
TuiScrollbarModule,
|
|
18
18
|
TuiMapperPipeModule], exports: [TuiCalendarComponent] });
|
|
19
|
-
TuiCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
19
|
+
TuiCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCalendarModule, imports: [[
|
|
20
20
|
CommonModule,
|
|
21
21
|
TuiPrimitiveYearMonthPaginationModule,
|
|
22
22
|
TuiPrimitiveCalendarModule,
|
|
@@ -24,7 +24,7 @@ TuiCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
|
|
|
24
24
|
TuiScrollbarModule,
|
|
25
25
|
TuiMapperPipeModule,
|
|
26
26
|
]] });
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCalendarModule, decorators: [{
|
|
28
28
|
type: NgModule,
|
|
29
29
|
args: [{
|
|
30
30
|
imports: [
|
|
@@ -61,8 +61,8 @@ export class TuiDataListComponent {
|
|
|
61
61
|
return Array.from(this.elementRef.nativeElement.querySelectorAll('[tuiOption]'));
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
TuiDataListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
65
|
-
TuiDataListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
64
|
+
TuiDataListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDataListComponent, deps: [{ token: TUI_TEXTFIELD_WATCHED_CONTROLLER, optional: true }, { token: ElementRef }, { token: TUI_NOTHING_FOUND_MESSAGE }], target: i0.ɵɵFactoryTarget.Component });
|
|
65
|
+
TuiDataListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiDataListComponent, selector: "tui-data-list", inputs: { role: "role", emptyContent: "emptyContent", size: "size" }, host: { listeners: { "focusin": "onFocusIn($event.relatedTarget,$event.currentTarget)", "mousedown.prevent": "noop()", "keydown.arrowDown.prevent": "onKeyDownArrow($event.target,1)", "keydown.arrowUp.prevent": "onKeyDownArrow($event.target,-1)", "wheel.silent.passive": "handleFocusLossIfNecessary()", "mouseleave": "handleFocusLossIfNecessary($event.target)" }, properties: { "attr.role": "this.role", "attr.data-list-size": "this.size" } }, providers: [
|
|
66
66
|
tuiAsDataListAccessor(TuiDataListComponent),
|
|
67
67
|
TEXTFIELD_CONTROLLER_PROVIDER,
|
|
68
68
|
], queries: [{ propertyName: "options", predicate: i0.forwardRef(function () { return TuiOptionComponent; }), descendants: true }], ngImport: i0, template: "<div\n tabindex=\"0\"\n class=\"t-trap\"\n (focusin)=\"onFocus($event, true)\"\n></div>\n<ng-content></ng-content>\n<div\n *ngIf=\"empty$ | async\"\n class=\"t-empty\"\n>\n <ng-container *polymorpheusOutlet=\"emptyContent || (defaultEmptyContent$ | async) as text\">\n {{ text }}\n </ng-container>\n</div>\n<div\n tabindex=\"0\"\n class=\"t-trap\"\n (focusin)=\"onFocus($event, false)\"\n></div>\n", styles: ["tui-data-list{--tui-data-list-padding: .25rem;--tui-data-list-margin: .0625rem;display:flex;font:var(--tui-font-text-m);flex-direction:column;padding:calc(var(--tui-data-list-padding) - var(--tui-data-list-margin)) var(--tui-data-list-padding);color:var(--tui-text-03)}tui-data-list:focus-within .t-trap{display:none}tui-data-list:focus-within [tuiOption]._with-dropdown:not(:focus){background-color:transparent}tui-data-list[data-list-size=s]{--tui-data-list-margin: 0rem}tui-data-list[data-list-size=l]{--tui-data-list-padding: .375rem;--tui-data-list-margin: .125rem}tui-data-list>.t-empty{margin:.75rem 1rem}tui-opt-group{position:relative;display:flex;font:var(--tui-font-text-xs);color:var(--tui-text-02);flex-direction:column;line-height:1rem}tui-data-list[data-list-size=l] tui-opt-group{font:var(--tui-font-text-s);line-height:1.25rem}tui-data-list[data-list-size=l] tui-opt-group:before{padding-left:.625rem;padding-right:.625rem}tui-data-list[data-list-size=l] tui-opt-group:after{left:.625rem;right:.625rem}tui-opt-group:empty:before,tui-opt-group:empty:after{display:none}tui-opt-group:before{content:attr(data-label);padding:var(--tui-data-list-padding) .5rem var(--tui-data-list-padding);margin:var(--tui-data-list-margin) 0;white-space:normal;word-break:break-word}tui-opt-group:after{position:absolute;left:.5rem;right:.5rem;top:var(--tui-data-list-padding);height:1px;background:var(--tui-base-03)}tui-opt-group:not(:empty)~tui-opt-group:before{padding-top:calc(.75rem + var(--tui-data-list-padding))}tui-opt-group:not(:empty)~tui-opt-group[data-label=\"\"]:before{padding:var(--tui-data-list-padding) 0}tui-opt-group:not(:empty)~tui-opt-group:after{content:\"\"}tui-opt-group[data-label=\"\"]:before{padding:0 .5rem}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], pipes: { "async": i1.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
@@ -78,7 +78,7 @@ __decorate([
|
|
|
78
78
|
__decorate([
|
|
79
79
|
tuiPure
|
|
80
80
|
], TuiDataListComponent.prototype, "empty$", null);
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDataListComponent, decorators: [{
|
|
82
82
|
type: Component,
|
|
83
83
|
args: [{
|
|
84
84
|
selector: 'tui-data-list',
|
|
@@ -2,9 +2,9 @@ import { Directive } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export class TuiDataListDirective {
|
|
4
4
|
}
|
|
5
|
-
TuiDataListDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
6
|
-
TuiDataListDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
5
|
+
TuiDataListDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDataListDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6
|
+
TuiDataListDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiDataListDirective, selector: "ng-template[tuiDataList]", ngImport: i0 });
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDataListDirective, decorators: [{
|
|
8
8
|
type: Directive,
|
|
9
9
|
args: [{
|
|
10
10
|
selector: 'ng-template[tuiDataList]',
|
|
@@ -9,16 +9,16 @@ import { TuiOptionComponent } from './option/option.component';
|
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export class TuiDataListModule {
|
|
11
11
|
}
|
|
12
|
-
TuiDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13
|
-
TuiDataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
12
|
+
TuiDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDataListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
TuiDataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDataListModule, declarations: [TuiDataListComponent,
|
|
14
14
|
TuiOptionComponent,
|
|
15
15
|
TuiOptGroupDirective,
|
|
16
16
|
TuiDataListDirective], imports: [CommonModule, TuiSvgModule, PolymorpheusModule], exports: [TuiDataListComponent,
|
|
17
17
|
TuiOptionComponent,
|
|
18
18
|
TuiOptGroupDirective,
|
|
19
19
|
TuiDataListDirective] });
|
|
20
|
-
TuiDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
20
|
+
TuiDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDataListModule, imports: [[CommonModule, TuiSvgModule, PolymorpheusModule]] });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDataListModule, decorators: [{
|
|
22
22
|
type: NgModule,
|
|
23
23
|
args: [{
|
|
24
24
|
imports: [CommonModule, TuiSvgModule, PolymorpheusModule],
|
|
@@ -7,12 +7,12 @@ export class TuiOptGroupDirective {
|
|
|
7
7
|
this.label = '';
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
TuiOptGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11
|
-
TuiOptGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
10
|
+
TuiOptGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiOptGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
11
|
+
TuiOptGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiOptGroupDirective, selector: "tui-opt-group", inputs: { label: "label" }, host: { attributes: { "role": "group" }, properties: { "attr.data-label": "this.label" } }, ngImport: i0 });
|
|
12
12
|
__decorate([
|
|
13
13
|
tuiDefaultProp()
|
|
14
14
|
], TuiOptGroupDirective.prototype, "label", void 0);
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiOptGroupDirective, decorators: [{
|
|
16
16
|
type: Directive,
|
|
17
17
|
args: [{
|
|
18
18
|
selector: 'tui-opt-group',
|
|
@@ -46,8 +46,8 @@ export class TuiOptionComponent {
|
|
|
46
46
|
this.dataList.handleFocusLossIfNecessary(this.elementRef.nativeElement);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
TuiOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
50
|
-
TuiOptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
49
|
+
TuiOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiOptionComponent, deps: [{ token: TUI_OPTION_CONTENT, optional: true }, { token: forwardRef(() => TuiDataListComponent) }, { token: ElementRef }, { token: TUI_DATA_LIST_HOST, optional: true }, { token: TuiDropdownDirective, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
50
|
+
TuiOptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiOptionComponent, selector: "button[tuiOption], a[tuiOption]", inputs: { size: "size", role: "role", disabled: "disabled", value: "value" }, host: { attributes: { "tabIndex": "-1", "type": "button" }, listeners: { "click": "onClick()", "mousemove.silent": "onMouseMove($event)" }, properties: { "attr.disabled": "disabled || null", "attr.data-size": "this.size", "attr.role": "this.role", "class._with-dropdown": "this.active" } }, ngImport: i0, template: "<ng-container *polymorpheusOutlet=\"content || base as text; context: {$implicit: base}\">\n {{ text }}\n</ng-container>\n<ng-template #base>\n <ng-content></ng-content>\n <tui-svg\n *ngIf=\"dropdown\"\n src=\"tuiIconChevronRight\"\n class=\"t-arrow\"\n ></tui-svg>\n</ng-template>\n", styles: [":host{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;align-items:center;justify-content:space-between;text-align:left;box-sizing:border-box;color:var(--tui-text-01);border-radius:var(--tui-radius-s);outline:none;text-decoration:none;cursor:pointer;background-clip:padding-box;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem;margin:.125rem 0}:host:disabled{opacity:var(--tui-disabled-opacity);cursor:default}:host:focus,:host._with-dropdown{background-color:var(--tui-clear)}:host :host-context([data-list-size=\"s\"]),:host :host-context([data-list-size=\"xs\"]),:host[data-size=s][data-size=s],:host[data-size=xs][data-size=xs]{font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem;margin:var(--tui-data-list-margin) 0}:host :host-context([data-list-size=\"m\"]),:host[data-size=m][data-size=m]{font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem;margin:var(--tui-data-list-margin) 0}:host :host-context([data-list-size=\"l\"]),:host[data-size=l][data-size=l]{font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem;margin:var(--tui-data-list-margin) 0}.t-arrow{margin:0 -.5rem 0 .75rem}\n"], components: [{ type: i1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }], directives: [{ type: i2.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
51
51
|
__decorate([
|
|
52
52
|
tuiDefaultProp()
|
|
53
53
|
], TuiOptionComponent.prototype, "size", void 0);
|
|
@@ -60,7 +60,7 @@ __decorate([
|
|
|
60
60
|
__decorate([
|
|
61
61
|
shouldCall(shouldFocus)
|
|
62
62
|
], TuiOptionComponent.prototype, "onMouseMove", null);
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiOptionComponent, decorators: [{
|
|
64
64
|
type: Component,
|
|
65
65
|
args: [{
|
|
66
66
|
selector: 'button[tuiOption], a[tuiOption]',
|