@taiga-ui/core 2.51.0 → 2.53.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/bundles/taiga-ui-core-components-data-list.umd.js +1 -0
- package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-data-list.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +1 -0
- package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-expand.umd.js +1 -1
- package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-expand.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-expand.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-hints-host.umd.js +14 -20
- package/bundles/taiga-ui-core-components-hints-host.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hints-host.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-hints-host.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-link.umd.js +1 -1
- package/bundles/taiga-ui-core-components-link.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-link.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +3 -3
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-scrollbar.umd.js +1 -0
- package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scrollbar.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-constants.umd.js +1 -1
- package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-core-constants.umd.min.js +1 -1
- package/bundles/taiga-ui-core-constants.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-described-by.umd.js +1 -0
- package/bundles/taiga-ui-core-directives-described-by.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-described-by.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +1 -0
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +15 -0
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.min.js +1 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-observables.umd.js +9 -3
- package/bundles/taiga-ui-core-observables.umd.js.map +1 -1
- package/bundles/taiga-ui-core-observables.umd.min.js +1 -1
- package/bundles/taiga-ui-core-observables.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-providers.umd.js +18 -0
- package/bundles/taiga-ui-core-providers.umd.js.map +1 -1
- package/bundles/taiga-ui-core-providers.umd.min.js +1 -1
- package/bundles/taiga-ui-core-providers.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-dom.umd.js +26 -0
- package/bundles/taiga-ui-core-utils-dom.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-dom.umd.min.js +1 -1
- package/bundles/taiga-ui-core-utils-dom.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.js +33 -0
- package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.min.js +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.js +12 -0
- package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.min.js +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +30 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.min.js +1 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mobile.umd.js +1 -1
- package/bundles/taiga-ui-core-utils-mobile.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mobile.umd.min.js +1 -1
- package/bundles/taiga-ui-core-utils-mobile.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-polyfills.umd.js +1 -0
- package/bundles/taiga-ui-core-utils-polyfills.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-polyfills.umd.min.js.map +1 -1
- package/components/data-list/taiga-ui-core-components-data-list.metadata.json +1 -1
- package/components/dialog/taiga-ui-core-components-dialog.metadata.json +1 -1
- package/components/expand/taiga-ui-core-components-expand.metadata.json +1 -1
- package/components/hints-host/hint-box/hint-box.component.d.ts +1 -0
- package/components/hints-host/hints-host.component.d.ts +4 -5
- package/components/hints-host/taiga-ui-core-components-hints-host.metadata.json +1 -1
- package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.metadata.json +1 -1
- package/components/link/taiga-ui-core-components-link.metadata.json +1 -1
- package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.metadata.json +1 -1
- package/components/scrollbar/taiga-ui-core-components-scrollbar.metadata.json +1 -1
- package/constants/taiga-ui-core-constants.metadata.json +1 -1
- package/constants/version.d.ts +1 -1
- package/directives/described-by/taiga-ui-core-directives-described-by.metadata.json +1 -1
- package/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.metadata.json +1 -1
- package/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.metadata.json +1 -1
- package/directives/textfield-controller/textfield-controller.provider.d.ts +4 -0
- package/esm2015/components/data-list/option/option.component.js +2 -1
- package/esm2015/components/dialog/dialog.providers.js +2 -1
- package/esm2015/components/expand/expand.component.js +2 -2
- package/esm2015/components/hints-host/hint-box/hint-box.component.js +8 -2
- package/esm2015/components/hints-host/hint-box/hint-box.module.js +3 -2
- package/esm2015/components/hints-host/hints-host.component.js +4 -9
- package/esm2015/components/hints-host/hints-host.module.js +3 -9
- package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +2 -2
- package/esm2015/components/link/link.component.js +1 -1
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +2 -2
- package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +3 -3
- package/esm2015/components/scrollbar/scrollbar.component.js +2 -1
- package/esm2015/constants/version.js +2 -2
- package/esm2015/directives/described-by/described-by.providers.js +2 -1
- package/esm2015/directives/mask-accessor/mask-accessor.directive.js +2 -1
- package/esm2015/directives/textfield-controller/textfield-autocomplete.directive.js +2 -1
- package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +2 -1
- package/esm2015/directives/textfield-controller/textfield-controller.provider.js +6 -1
- package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +2 -1
- package/esm2015/directives/textfield-controller/textfield-example-text.directive.js +2 -1
- package/esm2015/directives/textfield-controller/textfield-input-mode.directive.js +2 -1
- package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +2 -1
- package/esm2015/directives/textfield-controller/textfield-max-length.directive.js +2 -1
- package/esm2015/directives/textfield-controller/textfield-size.directive.js +2 -1
- package/esm2015/directives/textfield-controller/textfield-type.directive.js +2 -1
- package/esm2015/interfaces/hint.js +1 -0
- package/esm2015/interfaces/index.js +1 -1
- package/esm2015/observables/smart-search.js +8 -3
- package/esm2015/providers/is-mobile-resolution.provider.js +6 -1
- package/esm2015/providers/mode.provider.js +6 -1
- package/esm2015/providers/watched-controller-provider-factory.js +6 -1
- package/esm2015/utils/dom/are-css-vars-supported.js +4 -1
- package/esm2015/utils/dom/check-fixed-position.js +6 -1
- package/esm2015/utils/dom/get-safe-area-size.js +4 -1
- package/esm2015/utils/dom/get-screen-width.js +6 -1
- package/esm2015/utils/dom/process-icon.js +6 -1
- package/esm2015/utils/format/capitalize-first-letter.js +6 -1
- package/esm2015/utils/format/capitalize.js +4 -1
- package/esm2015/utils/format/format-number.js +4 -1
- package/esm2015/utils/format/format-phone.js +4 -1
- package/esm2015/utils/format/get-fractional-part-padded.js +4 -1
- package/esm2015/utils/format/number-to-string-without-exp.js +4 -1
- package/esm2015/utils/format/other-decimal-symbol.js +6 -1
- package/esm2015/utils/format/pluralize.js +2 -1
- package/esm2015/utils/mask/masked-money-value-is-empty.js +6 -1
- package/esm2015/utils/mask/masked-number-string-to-number.js +6 -1
- package/esm2015/utils/miscellaneous/color-fallback.js +5 -2
- package/esm2015/utils/miscellaneous/get-border.js +6 -1
- package/esm2015/utils/miscellaneous/icons-path-factory.js +6 -1
- package/esm2015/utils/miscellaneous/is-editing-key.js +4 -1
- package/esm2015/utils/miscellaneous/is-presumed-html-string.js +6 -1
- package/esm2015/utils/miscellaneous/size-bigger.js +4 -1
- package/esm2015/utils/mobile/is-mobile.js +2 -2
- package/esm2015/utils/polyfills/inner-html.js +2 -1
- package/esm5/components/data-list/option/option.component.js +2 -1
- package/esm5/components/dialog/dialog.providers.js +2 -1
- package/esm5/components/expand/expand.component.js +2 -2
- package/esm5/components/hints-host/hint-box/hint-box.component.js +8 -2
- package/esm5/components/hints-host/hint-box/hint-box.module.js +3 -2
- package/esm5/components/hints-host/hints-host.component.js +4 -9
- package/esm5/components/hints-host/hints-host.module.js +3 -9
- package/esm5/components/hosted-dropdown/hosted-dropdown.component.js +2 -2
- package/esm5/components/link/link.component.js +1 -1
- package/esm5/components/primitive-textfield/primitive-textfield.component.js +2 -2
- package/esm5/components/primitive-textfield/value-decoration/value-decoration.component.js +3 -3
- package/esm5/components/scrollbar/scrollbar.component.js +2 -1
- package/esm5/constants/version.js +2 -2
- package/esm5/directives/described-by/described-by.providers.js +2 -1
- package/esm5/directives/mask-accessor/mask-accessor.directive.js +2 -1
- package/esm5/directives/textfield-controller/textfield-autocomplete.directive.js +2 -1
- package/esm5/directives/textfield-controller/textfield-cleaner.directive.js +2 -1
- package/esm5/directives/textfield-controller/textfield-controller.provider.js +6 -1
- package/esm5/directives/textfield-controller/textfield-custom-content.directive.js +2 -1
- package/esm5/directives/textfield-controller/textfield-example-text.directive.js +2 -1
- package/esm5/directives/textfield-controller/textfield-input-mode.directive.js +2 -1
- package/esm5/directives/textfield-controller/textfield-label-outside.directive.js +2 -1
- package/esm5/directives/textfield-controller/textfield-max-length.directive.js +2 -1
- package/esm5/directives/textfield-controller/textfield-size.directive.js +2 -1
- package/esm5/directives/textfield-controller/textfield-type.directive.js +2 -1
- package/esm5/interfaces/hint.js +1 -0
- package/esm5/interfaces/index.js +1 -1
- package/esm5/observables/smart-search.js +9 -4
- package/esm5/providers/is-mobile-resolution.provider.js +6 -1
- package/esm5/providers/mode.provider.js +6 -1
- package/esm5/providers/watched-controller-provider-factory.js +6 -1
- package/esm5/utils/dom/are-css-vars-supported.js +4 -1
- package/esm5/utils/dom/check-fixed-position.js +6 -1
- package/esm5/utils/dom/get-safe-area-size.js +4 -1
- package/esm5/utils/dom/get-screen-width.js +6 -1
- package/esm5/utils/dom/process-icon.js +6 -1
- package/esm5/utils/format/capitalize-first-letter.js +6 -1
- package/esm5/utils/format/capitalize.js +4 -1
- package/esm5/utils/format/format-number.js +4 -1
- package/esm5/utils/format/format-phone.js +4 -1
- package/esm5/utils/format/get-fractional-part-padded.js +4 -1
- package/esm5/utils/format/number-to-string-without-exp.js +4 -1
- package/esm5/utils/format/other-decimal-symbol.js +6 -1
- package/esm5/utils/format/pluralize.js +2 -1
- package/esm5/utils/mask/masked-money-value-is-empty.js +6 -1
- package/esm5/utils/mask/masked-number-string-to-number.js +6 -1
- package/esm5/utils/miscellaneous/color-fallback.js +5 -2
- package/esm5/utils/miscellaneous/get-border.js +6 -1
- package/esm5/utils/miscellaneous/icons-path-factory.js +6 -1
- package/esm5/utils/miscellaneous/is-editing-key.js +4 -1
- package/esm5/utils/miscellaneous/is-presumed-html-string.js +6 -1
- package/esm5/utils/miscellaneous/size-bigger.js +4 -1
- package/esm5/utils/mobile/is-mobile.js +2 -2
- package/esm5/utils/polyfills/inner-html.js +2 -1
- package/fesm2015/taiga-ui-core-components-data-list.js +1 -0
- package/fesm2015/taiga-ui-core-components-data-list.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dialog.js +1 -0
- package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-expand.js +1 -1
- package/fesm2015/taiga-ui-core-components-expand.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hints-host.js +11 -17
- package/fesm2015/taiga-ui-core-components-hints-host.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +1 -1
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-link.js +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +3 -3
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-scrollbar.js +1 -0
- package/fesm2015/taiga-ui-core-components-scrollbar.js.map +1 -1
- package/fesm2015/taiga-ui-core-constants.js +1 -1
- package/fesm2015/taiga-ui-core-constants.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-described-by.js +1 -0
- package/fesm2015/taiga-ui-core-directives-described-by.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js +1 -0
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js +15 -1
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-observables.js +8 -3
- package/fesm2015/taiga-ui-core-observables.js.map +1 -1
- package/fesm2015/taiga-ui-core-providers.js +16 -1
- package/fesm2015/taiga-ui-core-providers.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-dom.js +22 -1
- package/fesm2015/taiga-ui-core-utils-dom.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-format.js +27 -1
- package/fesm2015/taiga-ui-core-utils-format.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-mask.js +11 -1
- package/fesm2015/taiga-ui-core-utils-mask.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js +26 -2
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-mobile.js +1 -1
- package/fesm2015/taiga-ui-core-utils-mobile.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-polyfills.js +1 -0
- package/fesm2015/taiga-ui-core-utils-polyfills.js.map +1 -1
- package/fesm5/taiga-ui-core-components-data-list.js +1 -0
- package/fesm5/taiga-ui-core-components-data-list.js.map +1 -1
- package/fesm5/taiga-ui-core-components-dialog.js +1 -0
- package/fesm5/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm5/taiga-ui-core-components-expand.js +1 -1
- package/fesm5/taiga-ui-core-components-expand.js.map +1 -1
- package/fesm5/taiga-ui-core-components-hints-host.js +11 -17
- package/fesm5/taiga-ui-core-components-hints-host.js.map +1 -1
- package/fesm5/taiga-ui-core-components-hosted-dropdown.js +1 -1
- package/fesm5/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
- package/fesm5/taiga-ui-core-components-link.js +1 -1
- package/fesm5/taiga-ui-core-components-primitive-textfield.js +3 -3
- package/fesm5/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm5/taiga-ui-core-components-scrollbar.js +1 -0
- package/fesm5/taiga-ui-core-components-scrollbar.js.map +1 -1
- package/fesm5/taiga-ui-core-constants.js +1 -1
- package/fesm5/taiga-ui-core-constants.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-described-by.js +1 -0
- package/fesm5/taiga-ui-core-directives-described-by.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-mask-accessor.js +1 -0
- package/fesm5/taiga-ui-core-directives-mask-accessor.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-textfield-controller.js +15 -1
- package/fesm5/taiga-ui-core-directives-textfield-controller.js.map +1 -1
- package/fesm5/taiga-ui-core-observables.js +9 -4
- package/fesm5/taiga-ui-core-observables.js.map +1 -1
- package/fesm5/taiga-ui-core-providers.js +16 -1
- package/fesm5/taiga-ui-core-providers.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-dom.js +22 -1
- package/fesm5/taiga-ui-core-utils-dom.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-format.js +27 -1
- package/fesm5/taiga-ui-core-utils-format.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-mask.js +11 -1
- package/fesm5/taiga-ui-core-utils-mask.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-miscellaneous.js +26 -2
- package/fesm5/taiga-ui-core-utils-miscellaneous.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-mobile.js +1 -1
- package/fesm5/taiga-ui-core-utils-mobile.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-polyfills.js +1 -0
- package/fesm5/taiga-ui-core-utils-polyfills.js.map +1 -1
- package/interfaces/hint.d.ts +7 -0
- package/interfaces/index.d.ts +1 -0
- package/interfaces/taiga-ui-core-interfaces.metadata.json +1 -1
- package/observables/smart-search.d.ts +5 -1
- package/observables/taiga-ui-core-observables.metadata.json +1 -1
- package/package.json +4 -4
- package/providers/is-mobile-resolution.provider.d.ts +4 -0
- package/providers/mode.provider.d.ts +4 -0
- package/providers/taiga-ui-core-providers.metadata.json +1 -1
- package/providers/watched-controller-provider-factory.d.ts +4 -0
- package/styles/mixins/mixins.less +2 -2
- package/utils/dom/are-css-vars-supported.d.ts +2 -0
- package/utils/dom/check-fixed-position.d.ts +4 -0
- package/utils/dom/get-safe-area-size.d.ts +2 -0
- package/utils/dom/get-screen-width.d.ts +4 -0
- package/utils/dom/process-icon.d.ts +4 -0
- package/utils/dom/taiga-ui-core-utils-dom.metadata.json +1 -1
- package/utils/format/capitalize-first-letter.d.ts +4 -0
- package/utils/format/capitalize.d.ts +2 -0
- package/utils/format/format-number.d.ts +2 -0
- package/utils/format/format-phone.d.ts +2 -0
- package/utils/format/get-fractional-part-padded.d.ts +2 -0
- package/utils/format/number-to-string-without-exp.d.ts +2 -0
- package/utils/format/other-decimal-symbol.d.ts +4 -0
- package/utils/format/taiga-ui-core-utils-format.metadata.json +1 -1
- package/utils/mask/masked-money-value-is-empty.d.ts +4 -0
- package/utils/mask/masked-number-string-to-number.d.ts +4 -0
- package/utils/mask/taiga-ui-core-utils-mask.metadata.json +1 -1
- package/utils/miscellaneous/color-fallback.d.ts +3 -1
- package/utils/miscellaneous/get-border.d.ts +4 -0
- package/utils/miscellaneous/icons-path-factory.d.ts +4 -0
- package/utils/miscellaneous/is-editing-key.d.ts +2 -0
- package/utils/miscellaneous/is-presumed-html-string.d.ts +4 -0
- package/utils/miscellaneous/size-bigger.d.ts +2 -0
- package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.metadata.json +1 -1
- package/utils/mobile/taiga-ui-core-utils-mobile.metadata.json +1 -1
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { TuiController } from '@taiga-ui/cdk';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated: use {@link tuiWatchedControllerFactory} instead
|
|
6
|
+
*/
|
|
4
7
|
export declare function watchedControllerFactory(controller: TuiController, changeDetectorRef: ChangeDetectorRef, destroy$: Observable<void>): TuiController;
|
|
8
|
+
export declare const tuiWatchedControllerFactory: typeof watchedControllerFactory;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @deprecated: use {@link tuiAreCssVarsSupported} instead
|
|
2
3
|
* TODO: 3.0 remove this function
|
|
3
4
|
*/
|
|
4
5
|
export declare function areCssVarsSupported(cssRef: typeof CSS, userAgent: string): boolean;
|
|
6
|
+
export declare const tuiAreCssVarsSupported: typeof areCssVarsSupported;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @deprecated: use {@link tuiGetSafeAreaSize} instead
|
|
2
3
|
* Calculates size of safe area on mobile devices (status bars)
|
|
3
4
|
*
|
|
4
5
|
* ATTENTION: Only use in browser environment
|
|
5
6
|
*/
|
|
6
7
|
export declare function getSafeAreaSize(): number;
|
|
8
|
+
export declare const tuiGetSafeAreaSize: typeof getSafeAreaSize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"areCssVarsSupported":{"__symbolic":"function","parameters":["cssRef","userAgent"],"value":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"cssRef"},"member":"supports"},"arguments":["(--a: 0)"]},"right":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"isEdgeOlderThan","line":
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"areCssVarsSupported":{"__symbolic":"function","parameters":["cssRef","userAgent"],"value":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"cssRef"},"member":"supports"},"arguments":["(--a: 0)"]},"right":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"isEdgeOlderThan","line":8,"character":43},"arguments":[17,{"__symbolic":"reference","name":"userAgent"}]}}}},"tuiAreCssVarsSupported":{"__symbolic":"reference","name":"areCssVarsSupported"},"checkFixedPosition":{"__symbolic":"function"},"tuiCheckFixedPosition":{"__symbolic":"reference","name":"checkFixedPosition"},"getSafeAreaSize":{"__symbolic":"function"},"tuiGetSafeAreaSize":{"__symbolic":"reference","name":"getSafeAreaSize"},"getScreenWidth":{"__symbolic":"function","parameters":["documentRef"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"Math"},"member":"max"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"documentRef"},"member":"documentElement"},"member":"clientWidth"},{"__symbolic":"if","condition":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"documentRef"},"member":"defaultView"},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"documentRef"},"member":"defaultView"},"member":"innerWidth"},"elseExpression":0}]}},"tuiGetScreenWidth":{"__symbolic":"reference","name":"getScreenWidth"},"tuiGetViewportHeight":{"__symbolic":"function","parameters":["document","innerHeight"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"Math"},"member":"max"},"arguments":[{"__symbolic":"binop","operator":"||","left":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"document"},"member":"documentElement"},"member":"clientHeight"},"right":0},{"__symbolic":"binop","operator":"||","left":{"__symbolic":"reference","name":"innerHeight"},"right":0}]}},"tuiGetViewportWidth":{"__symbolic":"function","parameters":["document","innerWidth"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"Math"},"member":"max"},"arguments":[{"__symbolic":"binop","operator":"||","left":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"document"},"member":"documentElement"},"member":"clientWidth"},"right":0},{"__symbolic":"binop","operator":"||","left":{"__symbolic":"reference","name":"innerWidth"},"right":0}]}},"processIcon":{"__symbolic":"function"},"tuiProcessIcon":{"__symbolic":"reference","name":"processIcon"}},"origins":{"areCssVarsSupported":"./are-css-vars-supported","tuiAreCssVarsSupported":"./are-css-vars-supported","checkFixedPosition":"./check-fixed-position","tuiCheckFixedPosition":"./check-fixed-position","getSafeAreaSize":"./get-safe-area-size","tuiGetSafeAreaSize":"./get-safe-area-size","getScreenWidth":"./get-screen-width","tuiGetScreenWidth":"./get-screen-width","tuiGetViewportHeight":"./get-viewport-height","tuiGetViewportWidth":"./get-viewport-width","processIcon":"./process-icon","tuiProcessIcon":"./process-icon"},"importAs":"@taiga-ui/core/utils/dom"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @deprecated: use {@link tuiCapitalize} instead
|
|
2
3
|
* Capitalizes a given string, replacing it with a lowercase string and making
|
|
3
4
|
* the first letter of each word uppercase.
|
|
4
5
|
*
|
|
@@ -6,3 +7,4 @@
|
|
|
6
7
|
* @return the capitalized string
|
|
7
8
|
*/
|
|
8
9
|
export declare function capitalize(value: string): string;
|
|
10
|
+
export declare const tuiCapitalize: typeof capitalize;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @deprecated: use {@link tuiFormatNumber} instead
|
|
2
3
|
* Formats number adding a thousand separators and correct decimal separator
|
|
3
4
|
* padding decimal part with zeroes to given length
|
|
4
5
|
*
|
|
@@ -10,3 +11,4 @@
|
|
|
10
11
|
* @return the formatted string
|
|
11
12
|
*/
|
|
12
13
|
export declare function formatNumber(value: number, decimalLimit?: number | null, decimalSeparator?: string, thousandSeparator?: string, zeroPadding?: boolean): string;
|
|
14
|
+
export declare const tuiFormatNumber: typeof formatNumber;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @deprecated: use {@link tuiFormatPhone} instead
|
|
2
3
|
* Formats a string with the phone format +7XXXXXXXXXXXX or XXXXXXXXXXXX,
|
|
3
4
|
* adding parentheses and hyphens.
|
|
4
5
|
*
|
|
@@ -8,3 +9,4 @@
|
|
|
8
9
|
* @return the formatted phone string of the form +7 XXX XXX-XX-XX
|
|
9
10
|
*/
|
|
10
11
|
export declare function formatPhone(value: string, countryCode: string, phoneMask: string): string;
|
|
12
|
+
export declare const tuiFormatPhone: typeof formatPhone;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @deprecated: use {@link tuiGetFractionPartPadded} instead
|
|
2
3
|
* Return fractional part of number
|
|
3
4
|
*
|
|
4
5
|
* @param value the number
|
|
@@ -6,3 +7,4 @@
|
|
|
6
7
|
* @return the fractional part of number
|
|
7
8
|
*/
|
|
8
9
|
export declare function getFractionPartPadded(value: number, precision?: number | null): string;
|
|
10
|
+
export declare const tuiGetFractionPartPadded: typeof getFractionPartPadded;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @deprecated: use {@link tuiNumberToStringWithoutExp} instead
|
|
2
3
|
* Convert number to string with replacing exponent part on decimals
|
|
3
4
|
*
|
|
4
5
|
* @param value the number
|
|
5
6
|
* @return string representation of a number
|
|
6
7
|
*/
|
|
7
8
|
export declare function numberToStringWithoutExp(value: number): string;
|
|
9
|
+
export declare const tuiNumberToStringWithoutExp: typeof numberToStringWithoutExp;
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
import { TuiDecimalSymbol } from '@taiga-ui/core/types';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated: use {@link tuiOtherDecimalSymbol} instead
|
|
4
|
+
*/
|
|
2
5
|
export declare function otherDecimalSymbol(symbol: TuiDecimalSymbol): TuiDecimalSymbol;
|
|
6
|
+
export declare const tuiOtherDecimalSymbol: typeof otherDecimalSymbol;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"capitalize":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"value"},"member":"toLowerCase"}},"member":"replace"},"arguments":[{"__symbolic":"error","message":"Expression form not supported","line":
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"capitalize":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"value"},"member":"toLowerCase"}},"member":"replace"},"arguments":[{"__symbolic":"error","message":"Expression form not supported","line":10,"character":39,"module":"./capitalize"},{"__symbolic":"error","message":"Lambda not supported","line":10,"character":54,"module":"./capitalize"}]}},"tuiCapitalize":{"__symbolic":"reference","name":"capitalize"},"capitalizeFirstLetter":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"value"},"member":"charAt"},"arguments":[0]},"member":"toUpperCase"}},"right":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"value"},"member":"slice"},"arguments":[1]}}},"tuiCapitalizeFirstLetter":{"__symbolic":"reference","name":"capitalizeFirstLetter"},"formatNumber":{"__symbolic":"function"},"tuiFormatNumber":{"__symbolic":"reference","name":"formatNumber"},"formatPhone":{"__symbolic":"function"},"tuiFormatPhone":{"__symbolic":"reference","name":"formatPhone"},"getFractionPartPadded":{"__symbolic":"function"},"tuiGetFractionPartPadded":{"__symbolic":"reference","name":"getFractionPartPadded"},"numberToStringWithoutExp":{"__symbolic":"function"},"tuiNumberToStringWithoutExp":{"__symbolic":"reference","name":"numberToStringWithoutExp"},"otherDecimalSymbol":{"__symbolic":"function","parameters":["symbol"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"symbol"},"right":"."},"thenExpression":",","elseExpression":"."}},"tuiOtherDecimalSymbol":{"__symbolic":"reference","name":"otherDecimalSymbol"},"pluralize":{"__symbolic":"function"},"tuiPluralizeToICU":{"__symbolic":"function","parameters":["pluralize"],"value":{"one":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"pluralize"},"index":0},"few":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"pluralize"},"index":1},"many":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"pluralize"},"index":2},"other":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"pluralize"},"index":2}}}},"origins":{"capitalize":"./capitalize","tuiCapitalize":"./capitalize","capitalizeFirstLetter":"./capitalize-first-letter","tuiCapitalizeFirstLetter":"./capitalize-first-letter","formatNumber":"./format-number","tuiFormatNumber":"./format-number","formatPhone":"./format-phone","tuiFormatPhone":"./format-phone","getFractionPartPadded":"./get-fractional-part-padded","tuiGetFractionPartPadded":"./get-fractional-part-padded","numberToStringWithoutExp":"./number-to-string-without-exp","tuiNumberToStringWithoutExp":"./number-to-string-without-exp","otherDecimalSymbol":"./other-decimal-symbol","tuiOtherDecimalSymbol":"./other-decimal-symbol","pluralize":"./pluralize","tuiPluralizeToICU":"./pluralize-to-icu"},"importAs":"@taiga-ui/core/utils/format"}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
import { TuiDecimalSymbol } from '@taiga-ui/core/types';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated: use {@link tuiMaskedNumberStringToNumber} instead
|
|
4
|
+
*/
|
|
2
5
|
export declare function maskedNumberStringToNumber(value: string, decimalsSymbol: TuiDecimalSymbol, thousandSymbol: string): number;
|
|
6
|
+
export declare const tuiMaskedNumberStringToNumber: typeof maskedNumberStringToNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"tuiCreateAutoCorrectedNumberPipe":{"__symbolic":"function"},"tuiCreateCorrectionMask":{"__symbolic":"function","parameters":["allowed","correctionHandler"],"value":{"__symbolic":"error","message":"Lambda not supported","line":14,"character":11,"module":"./create-correction-mask"}},"tuiCreateNumberMask":{"__symbolic":"function"},"tuiEnableAutoCorrectDecimalSymbol":{"__symbolic":"function","parameters":["thousandSeparator"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@taiga-ui/core/constants","name":"TUI_DECIMAL_SYMBOLS","line":6,"character":12},"member":"includes"},"arguments":[{"__symbolic":"reference","name":"thousandSeparator"}]}}},"maskedMoneyValueIsEmpty":{"__symbolic":"function"},"maskedNumberStringToNumber":{"__symbolic":"function","parameters":["value","decimalsSymbol","thousandSymbol"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"parseFloat"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"value"},"member":"split"},"arguments":[{"__symbolic":"reference","name":"thousandSymbol"}]},"member":"join"},"arguments":[""]},"member":"split"},"arguments":[{"__symbolic":"reference","name":"decimalsSymbol"}]},"member":"join"},"arguments":["."]}]}}},"origins":{"tuiCreateAutoCorrectedNumberPipe":"./create-auto-corrected-money-pipe","tuiCreateCorrectionMask":"./create-correction-mask","tuiCreateNumberMask":"./create-number-mask","tuiEnableAutoCorrectDecimalSymbol":"./enable-auto-correct-decimal-symbol","maskedMoneyValueIsEmpty":"./masked-money-value-is-empty","maskedNumberStringToNumber":"./masked-number-string-to-number"},"importAs":"@taiga-ui/core/utils/mask"}
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"tuiCreateAutoCorrectedNumberPipe":{"__symbolic":"function"},"tuiCreateCorrectionMask":{"__symbolic":"function","parameters":["allowed","correctionHandler"],"value":{"__symbolic":"error","message":"Lambda not supported","line":14,"character":11,"module":"./create-correction-mask"}},"tuiCreateNumberMask":{"__symbolic":"function"},"tuiEnableAutoCorrectDecimalSymbol":{"__symbolic":"function","parameters":["thousandSeparator"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@taiga-ui/core/constants","name":"TUI_DECIMAL_SYMBOLS","line":6,"character":12},"member":"includes"},"arguments":[{"__symbolic":"reference","name":"thousandSeparator"}]}}},"maskedMoneyValueIsEmpty":{"__symbolic":"function"},"tuiMaskedMoneyValueIsEmpty":{"__symbolic":"reference","name":"maskedMoneyValueIsEmpty"},"maskedNumberStringToNumber":{"__symbolic":"function","parameters":["value","decimalsSymbol","thousandSymbol"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"parseFloat"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"value"},"member":"split"},"arguments":[{"__symbolic":"reference","name":"thousandSymbol"}]},"member":"join"},"arguments":[""]},"member":"split"},"arguments":[{"__symbolic":"reference","name":"decimalsSymbol"}]},"member":"join"},"arguments":["."]}]}},"tuiMaskedNumberStringToNumber":{"__symbolic":"reference","name":"maskedNumberStringToNumber"}},"origins":{"tuiCreateAutoCorrectedNumberPipe":"./create-auto-corrected-money-pipe","tuiCreateCorrectionMask":"./create-correction-mask","tuiCreateNumberMask":"./create-number-mask","tuiEnableAutoCorrectDecimalSymbol":"./enable-auto-correct-decimal-symbol","maskedMoneyValueIsEmpty":"./masked-money-value-is-empty","tuiMaskedMoneyValueIsEmpty":"./masked-money-value-is-empty","maskedNumberStringToNumber":"./masked-number-string-to-number","tuiMaskedNumberStringToNumber":"./masked-number-string-to-number"},"importAs":"@taiga-ui/core/utils/mask"}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
import { TuiStringHandler } from '@taiga-ui/cdk';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated: use {@link tuiIconsPathFactory} instead
|
|
4
|
+
*/
|
|
2
5
|
export declare function iconsPathFactory(staticPath: string): TuiStringHandler<string>;
|
|
6
|
+
export declare const tuiIconsPathFactory: typeof iconsPathFactory;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { TuiSizeXS, TuiSizeXXL } from '@taiga-ui/core/types';
|
|
2
2
|
/**
|
|
3
|
+
* @deprecated: use {@link tuiSizeBigger} instead
|
|
3
4
|
* Compares size constants to determine if first size is bigger than the second
|
|
4
5
|
*
|
|
5
6
|
* @param size size that we need to compare
|
|
6
7
|
* @param biggerThanSize size to compare with, 's' by default
|
|
7
8
|
*/
|
|
8
9
|
export declare function sizeBigger(size: TuiSizeXS | TuiSizeXXL, biggerThanSize?: TuiSizeXS | TuiSizeXXL): boolean;
|
|
10
|
+
export declare const tuiSizeBigger: typeof sizeBigger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"colorFallback":{"__symbolic":"function"},"getBorder":{"__symbolic":"function"},"iconsPathFactory":{"__symbolic":"function"},"isEditingKey":{"__symbolic":"function","parameters":["key"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"key"},"member":"length"},"right":1},"right":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@taiga-ui/core/constants","name":"tuiEditingKeys","line":
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"colorFallback":{"__symbolic":"function"},"getBorder":{"__symbolic":"function"},"tuiGetBorder":{"__symbolic":"reference","name":"getBorder"},"iconsPathFactory":{"__symbolic":"function"},"tuiIconsPathFactory":{"__symbolic":"reference","name":"iconsPathFactory"},"isEditingKey":{"__symbolic":"function","parameters":["key"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"key"},"member":"length"},"right":1},"right":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@taiga-ui/core/constants","name":"tuiEditingKeys","line":8,"character":31},"member":"includes"},"arguments":[{"__symbolic":"reference","name":"key"}]}}},"tuiIsEditingKey":{"__symbolic":"reference","name":"isEditingKey"},"isPresumedHTMLString":{"__symbolic":"function"},"tuiIsPresumedHTMLString":{"__symbolic":"reference","name":"isPresumedHTMLString"},"sizeBigger":{"__symbolic":"function","parameters":["size","biggerThanSize"],"defaults":[null,"s"],"value":{"__symbolic":"binop","operator":">","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":["xs","s","m","l","xl","xxl"],"member":"indexOf"},"arguments":[{"__symbolic":"reference","name":"size"}]},"right":{"__symbolic":"call","expression":{"__symbolic":"select","expression":["xs","s","m","l","xl","xxl"],"member":"indexOf"},"arguments":[{"__symbolic":"reference","name":"biggerThanSize"}]}}},"tuiSizeBigger":{"__symbolic":"reference","name":"sizeBigger"}},"origins":{"colorFallback":"./color-fallback","getBorder":"./get-border","tuiGetBorder":"./get-border","iconsPathFactory":"./icons-path-factory","tuiIconsPathFactory":"./icons-path-factory","isEditingKey":"./is-editing-key","tuiIsEditingKey":"./is-editing-key","isPresumedHTMLString":"./is-presumed-html-string","tuiIsPresumedHTMLString":"./is-presumed-html-string","sizeBigger":"./size-bigger","tuiSizeBigger":"./size-bigger"},"importAs":"@taiga-ui/core/utils/miscellaneous"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"tuiIsMobile":{"__symbolic":"function","parameters":["windowRef","mobile"],"value":{"__symbolic":"binop","operator":"
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"tuiIsMobile":{"__symbolic":"function","parameters":["windowRef","mobile"],"value":{"__symbolic":"binop","operator":"<","left":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/core/utils/dom","name":"tuiGetViewportWidth","line":4,"character":11},"arguments":[{"__symbolic":"reference","name":"windowRef"}]},"right":{"__symbolic":"reference","name":"mobile"}}}},"origins":{"tuiIsMobile":"./is-mobile"},"importAs":"@taiga-ui/core/utils/mobile"}
|