@taiga-ui/cdk 2.41.1 → 2.44.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/abstract/dialog.service.d.ts +2 -2
- package/abstract/taiga-ui-cdk-abstract.metadata.json +1 -1
- package/bundles/taiga-ui-cdk-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-abstract.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-classes.umd.js +10 -0
- package/bundles/taiga-ui-cdk-classes.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-classes.umd.min.js +1 -1
- package/bundles/taiga-ui-cdk-classes.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-coercion.umd.js +22 -0
- package/bundles/taiga-ui-cdk-coercion.umd.js.map +1 -0
- package/bundles/taiga-ui-cdk-coercion.umd.min.js +2 -0
- package/bundles/taiga-ui-cdk-coercion.umd.min.js.map +1 -0
- package/bundles/taiga-ui-cdk-components-dialog-host.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-dialog-host.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-constants.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-date-time.umd.js +11 -3
- package/bundles/taiga-ui-cdk-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-date-time.umd.min.js +1 -1
- package/bundles/taiga-ui-cdk-date-time.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-decorators.umd.js +0 -2
- package/bundles/taiga-ui-cdk-decorators.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-decorators.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-active-zone.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-active-zone.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-auto-focus.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-checked.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-checked.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-copy-processor.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-element.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-element.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focus-trap.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-for.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-for.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-high-dpi.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-let.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-let.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-media.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-media.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.js +2 -2
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.min.js +1 -1
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-portal.umd.js +281 -0
- package/bundles/taiga-ui-cdk-directives-portal.umd.js.map +1 -0
- package/bundles/taiga-ui-cdk-directives-portal.umd.min.js +16 -0
- package/bundles/taiga-ui-cdk-directives-portal.umd.min.js.map +1 -0
- package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-repeat-times.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-validator.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-validator.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-zoom.umd.js +1 -1
- package/bundles/taiga-ui-cdk-directives-zoom.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-zoom.umd.min.js +1 -1
- package/bundles/taiga-ui-cdk-directives-zoom.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives.umd.js +12 -4
- package/bundles/taiga-ui-cdk-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives.umd.min.js +1 -1
- package/bundles/taiga-ui-cdk-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-enums.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-observables.umd.js +3 -5
- package/bundles/taiga-ui-cdk-observables.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-observables.umd.min.js +1 -1
- package/bundles/taiga-ui-cdk-observables.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-services.umd.js +9 -8
- package/bundles/taiga-ui-cdk-services.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-services.umd.min.js +1 -1
- package/bundles/taiga-ui-cdk-services.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-tokens.umd.js +7 -3
- package/bundles/taiga-ui-cdk-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-tokens.umd.min.js +1 -1
- package/bundles/taiga-ui-cdk-tokens.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-focus.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-focus.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk.umd.js +12 -4
- package/bundles/taiga-ui-cdk.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk.umd.min.js +1 -1
- package/classes/assert.d.ts +4 -1
- package/classes/taiga-ui-cdk-classes.metadata.json +1 -1
- package/classes/validation-error.d.ts +1 -1
- package/coercion/coerce-boolean-property.d.ts +5 -0
- package/coercion/index.d.ts +1 -0
- package/coercion/package.json +13 -0
- package/coercion/taiga-ui-cdk-coercion.d.ts +4 -0
- package/coercion/taiga-ui-cdk-coercion.metadata.json +1 -0
- package/constants/always-false-handler.d.ts +1 -1
- package/constants/always-true-handler.d.ts +1 -1
- package/constants/empty.d.ts +1 -1
- package/constants/taiga-ui-cdk-constants.metadata.json +1 -1
- package/date-time/day.d.ts +4 -0
- package/decorators/default-prop.d.ts +1 -3
- package/decorators/pure.d.ts +1 -1
- package/decorators/taiga-ui-cdk-decorators.metadata.json +1 -1
- package/directives/element/element.directive.d.ts +1 -1
- package/directives/element/taiga-ui-cdk-directives-element.metadata.json +1 -1
- package/directives/for/for.directive.d.ts +1 -1
- package/directives/high-dpi/high-dpi.directive.d.ts +1 -1
- package/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.metadata.json +1 -1
- package/directives/index.d.ts +1 -0
- package/directives/let/let.directive.d.ts +1 -1
- package/directives/overscroll/overscroll.directive.d.ts +1 -1
- package/directives/portal/index.d.ts +2 -0
- package/directives/portal/package.json +13 -0
- package/directives/portal/portal.directive.d.ts +10 -0
- package/directives/portal/portal.module.d.ts +2 -0
- package/directives/portal/taiga-ui-cdk-directives-portal.d.ts +4 -0
- package/directives/portal/taiga-ui-cdk-directives-portal.metadata.json +1 -0
- package/directives/taiga-ui-cdk-directives.metadata.json +1 -1
- package/directives/validator/validator.directive.d.ts +1 -1
- package/directives/zoom/taiga-ui-cdk-directives-zoom.metadata.json +1 -1
- package/enums/autocomplete.d.ts +2 -1
- package/enums/taiga-ui-cdk-enums.metadata.json +1 -1
- package/esm2015/abstract/control.js +1 -1
- package/esm2015/abstract/controller.js +1 -1
- package/esm2015/abstract/dialog.service.js +1 -1
- package/esm2015/abstract/interactive.js +1 -1
- package/esm2015/abstract/multiple-control.js +1 -1
- package/esm2015/abstract/portal-service.js +1 -1
- package/esm2015/abstract/theme-switcher.js +1 -1
- package/esm2015/classes/assert.js +10 -1
- package/esm2015/classes/validation-error.js +1 -1
- package/esm2015/coercion/coerce-boolean-property.js +10 -0
- package/esm2015/coercion/index.js +2 -0
- package/esm2015/coercion/taiga-ui-cdk-coercion.js +5 -0
- package/esm2015/components/dialog-host/dialog-host.component.js +1 -1
- package/esm2015/constants/always-false-handler.js +1 -1
- package/esm2015/constants/always-true-handler.js +1 -1
- package/esm2015/constants/empty.js +1 -1
- package/esm2015/constants/matcher.js +1 -1
- package/esm2015/date-time/date-separator.js +1 -1
- package/esm2015/date-time/day.js +11 -1
- package/esm2015/decorators/default-prop.js +1 -3
- package/esm2015/decorators/pure.js +1 -1
- package/esm2015/decorators/required-setter.js +1 -1
- package/esm2015/directives/active-zone/active-zone.directive.js +1 -1
- package/esm2015/directives/auto-focus/autofocus.directive.js +1 -1
- package/esm2015/directives/checked/checked.directive.js +1 -1
- package/esm2015/directives/copy-processor/copy-processor.directive.js +1 -1
- package/esm2015/directives/element/element.directive.js +1 -1
- package/esm2015/directives/focus-trap/focus-trap.directive.js +1 -1
- package/esm2015/directives/for/for.directive.js +1 -1
- package/esm2015/directives/high-dpi/high-dpi.directive.js +1 -1
- package/esm2015/directives/index.js +2 -1
- package/esm2015/directives/let/let.directive.js +1 -1
- package/esm2015/directives/media/media.directive.js +1 -1
- package/esm2015/directives/overscroll/overscroll.directive.js +3 -3
- package/esm2015/directives/portal/index.js +3 -0
- package/esm2015/directives/portal/portal.directive.js +36 -0
- package/esm2015/directives/portal/portal.module.js +13 -0
- package/esm2015/directives/portal/taiga-ui-cdk-directives-portal.js +5 -0
- package/esm2015/directives/repeat-times/repeat-times.directive.js +1 -1
- package/esm2015/directives/validator/validator.directive.js +1 -1
- package/esm2015/directives/zoom/zoom.directive.js +2 -2
- package/esm2015/enums/autocomplete.js +1 -1
- package/esm2015/index.js +2 -1
- package/esm2015/interfaces/alert-context.js +1 -0
- package/esm2015/interfaces/index.js +1 -1
- package/esm2015/observables/focus-visible-observable.js +3 -3
- package/esm2015/observables/prevent-default.js +2 -4
- package/esm2015/observables/zone-free.js +2 -2
- package/esm2015/services/destroy.service.js +1 -1
- package/esm2015/services/directive-styles.service.js +1 -1
- package/esm2015/services/pan.service.js +4 -2
- package/esm2015/services/resize.service.js +2 -2
- package/esm2015/services/scroll.service.js +3 -3
- package/esm2015/services/static-request.service.js +2 -2
- package/esm2015/services/zoom.service.js +3 -4
- package/esm2015/tokens/active-element.js +7 -3
- package/esm2015/tokens/window-height.js +2 -2
- package/esm2015/utils/focus/blur-native-focused.js +1 -1
- package/esm2015/utils/focus/move-focus.js +1 -1
- package/esm2015/utils/focus/set-native-focused.js +1 -1
- package/esm2015/utils/focus/set-native-mouse-focused.js +1 -1
- package/esm2015/utils/miscellaneous/mark-control-as-touched-and-validate.js +1 -1
- package/esm5/abstract/control.js +1 -1
- package/esm5/abstract/controller.js +1 -1
- package/esm5/abstract/dialog.service.js +1 -1
- package/esm5/abstract/interactive.js +1 -1
- package/esm5/abstract/multiple-control.js +1 -1
- package/esm5/abstract/portal-service.js +1 -1
- package/esm5/abstract/theme-switcher.js +1 -1
- package/esm5/classes/assert.js +10 -1
- package/esm5/classes/validation-error.js +1 -1
- package/esm5/coercion/coerce-boolean-property.js +10 -0
- package/esm5/coercion/index.js +2 -0
- package/esm5/coercion/taiga-ui-cdk-coercion.js +5 -0
- package/esm5/components/dialog-host/dialog-host.component.js +1 -1
- package/esm5/constants/always-false-handler.js +1 -1
- package/esm5/constants/always-true-handler.js +1 -1
- package/esm5/constants/empty.js +1 -1
- package/esm5/constants/matcher.js +1 -1
- package/esm5/date-time/date-separator.js +2 -4
- package/esm5/date-time/day.js +11 -1
- package/esm5/decorators/default-prop.js +1 -3
- package/esm5/decorators/pure.js +1 -1
- package/esm5/decorators/required-setter.js +1 -1
- package/esm5/directives/active-zone/active-zone.directive.js +1 -1
- package/esm5/directives/auto-focus/autofocus.directive.js +1 -1
- package/esm5/directives/checked/checked.directive.js +1 -1
- package/esm5/directives/copy-processor/copy-processor.directive.js +1 -1
- package/esm5/directives/element/element.directive.js +1 -1
- package/esm5/directives/focus-trap/focus-trap.directive.js +1 -1
- package/esm5/directives/for/for.directive.js +1 -1
- package/esm5/directives/high-dpi/high-dpi.directive.js +1 -1
- package/esm5/directives/index.js +2 -1
- package/esm5/directives/let/let.directive.js +1 -1
- package/esm5/directives/media/media.directive.js +1 -1
- package/esm5/directives/overscroll/overscroll.directive.js +3 -3
- package/esm5/directives/portal/index.js +3 -0
- package/esm5/directives/portal/portal.directive.js +41 -0
- package/esm5/directives/portal/portal.module.js +16 -0
- package/esm5/directives/portal/taiga-ui-cdk-directives-portal.js +5 -0
- package/esm5/directives/repeat-times/repeat-times.directive.js +1 -1
- package/esm5/directives/validator/validator.directive.js +1 -1
- package/esm5/directives/zoom/zoom.directive.js +2 -2
- package/esm5/enums/autocomplete.js +1 -1
- package/esm5/index.js +2 -1
- package/esm5/interfaces/alert-context.js +1 -0
- package/esm5/interfaces/index.js +1 -1
- package/esm5/observables/focus-visible-observable.js +3 -3
- package/esm5/observables/prevent-default.js +2 -4
- package/esm5/observables/zone-free.js +1 -1
- package/esm5/services/destroy.service.js +1 -1
- package/esm5/services/directive-styles.service.js +1 -1
- package/esm5/services/pan.service.js +4 -2
- package/esm5/services/resize.service.js +2 -2
- package/esm5/services/scroll.service.js +3 -3
- package/esm5/services/static-request.service.js +2 -2
- package/esm5/services/zoom.service.js +3 -4
- package/esm5/tokens/active-element.js +7 -3
- package/esm5/tokens/window-height.js +2 -2
- package/esm5/utils/focus/blur-native-focused.js +1 -1
- package/esm5/utils/focus/move-focus.js +1 -1
- package/esm5/utils/focus/set-native-focused.js +1 -1
- package/esm5/utils/focus/set-native-mouse-focused.js +1 -1
- package/esm5/utils/miscellaneous/mark-control-as-touched-and-validate.js +1 -1
- package/fesm2015/taiga-ui-cdk-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-classes.js +10 -1
- package/fesm2015/taiga-ui-cdk-classes.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-coercion.js +16 -0
- package/fesm2015/taiga-ui-cdk-coercion.js.map +1 -0
- package/fesm2015/taiga-ui-cdk-components-dialog-host.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-constants.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-date-time.js +10 -0
- package/fesm2015/taiga-ui-cdk-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-decorators.js +0 -2
- package/fesm2015/taiga-ui-cdk-decorators.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-active-zone.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-checked.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-element.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-focus-trap.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-for.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-high-dpi.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-let.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-media.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-overscroll.js +2 -2
- package/fesm2015/taiga-ui-cdk-directives-overscroll.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-portal.js +51 -0
- package/fesm2015/taiga-ui-cdk-directives-portal.js.map +1 -0
- package/fesm2015/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-validator.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-zoom.js +1 -1
- package/fesm2015/taiga-ui-cdk-directives-zoom.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives.js +1 -0
- package/fesm2015/taiga-ui-cdk-directives.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-enums.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-observables.js +4 -6
- package/fesm2015/taiga-ui-cdk-observables.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-services.js +9 -8
- package/fesm2015/taiga-ui-cdk-services.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-tokens.js +7 -3
- package/fesm2015/taiga-ui-cdk-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-focus.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js.map +1 -1
- package/fesm2015/taiga-ui-cdk.js +1 -0
- package/fesm2015/taiga-ui-cdk.js.map +1 -1
- package/fesm5/taiga-ui-cdk-abstract.js.map +1 -1
- package/fesm5/taiga-ui-cdk-classes.js +10 -1
- package/fesm5/taiga-ui-cdk-classes.js.map +1 -1
- package/fesm5/taiga-ui-cdk-coercion.js +16 -0
- package/fesm5/taiga-ui-cdk-coercion.js.map +1 -0
- package/fesm5/taiga-ui-cdk-components-dialog-host.js.map +1 -1
- package/fesm5/taiga-ui-cdk-constants.js.map +1 -1
- package/fesm5/taiga-ui-cdk-date-time.js +11 -3
- package/fesm5/taiga-ui-cdk-date-time.js.map +1 -1
- package/fesm5/taiga-ui-cdk-decorators.js +0 -2
- package/fesm5/taiga-ui-cdk-decorators.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-active-zone.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-checked.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-element.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-focus-trap.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-for.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-high-dpi.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-let.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-media.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-overscroll.js +2 -2
- package/fesm5/taiga-ui-cdk-directives-overscroll.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-portal.js +59 -0
- package/fesm5/taiga-ui-cdk-directives-portal.js.map +1 -0
- package/fesm5/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-validator.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-zoom.js +1 -1
- package/fesm5/taiga-ui-cdk-directives-zoom.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives.js +1 -0
- package/fesm5/taiga-ui-cdk-directives.js.map +1 -1
- package/fesm5/taiga-ui-cdk-enums.js.map +1 -1
- package/fesm5/taiga-ui-cdk-observables.js +3 -5
- package/fesm5/taiga-ui-cdk-observables.js.map +1 -1
- package/fesm5/taiga-ui-cdk-services.js +9 -8
- package/fesm5/taiga-ui-cdk-services.js.map +1 -1
- package/fesm5/taiga-ui-cdk-tokens.js +7 -3
- package/fesm5/taiga-ui-cdk-tokens.js.map +1 -1
- package/fesm5/taiga-ui-cdk-utils-focus.js.map +1 -1
- package/fesm5/taiga-ui-cdk-utils-miscellaneous.js.map +1 -1
- package/fesm5/taiga-ui-cdk.js +1 -0
- package/fesm5/taiga-ui-cdk.js.map +1 -1
- package/index.d.ts +1 -0
- package/interfaces/alert-context.d.ts +2 -0
- package/interfaces/index.d.ts +1 -0
- package/interfaces/taiga-ui-cdk-interfaces.metadata.json +1 -1
- package/package.json +4 -4
- package/schematics/ng-add/index.js +2 -10
- package/schematics/ng-add/steps/add-taiga-icons.js +2 -10
- package/schematics/ng-add/steps/add-taiga-modules.js +2 -10
- package/schematics/ng-add/steps/add-taiga-styles.js +2 -10
- package/schematics/ng-add/steps/wrap-with-tui-root.js +2 -10
- package/schematics/ng-update/constants/types.js +5 -0
- package/schematics/ng-update/index.js +2 -10
- package/taiga-ui-cdk.metadata.json +1 -1
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
12
4
|
const workspace_1 = require("@schematics/angular/utility/workspace");
|
|
13
5
|
const workspace_2 = require("@schematics/angular/utility/workspace");
|
|
14
6
|
const get_project_1 = require("../../utils/get-project");
|
|
@@ -19,7 +11,7 @@ const ICON_ASSETS = {
|
|
|
19
11
|
output: 'assets/taiga-ui/icons',
|
|
20
12
|
};
|
|
21
13
|
function addTaigaIcons(options) {
|
|
22
|
-
return (tree) => __awaiter(this, void 0, void 0, function* () {
|
|
14
|
+
return (tree) => tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
23
15
|
const workspace = yield workspace_2.getWorkspace(tree);
|
|
24
16
|
const project = get_project_1.getProject(options, workspace);
|
|
25
17
|
return addTaigaStylesToAngularJson(workspace, project);
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
12
4
|
const workspace_1 = require("@schematics/angular/utility/workspace");
|
|
13
5
|
const ng_morph_1 = require("ng-morph");
|
|
14
6
|
const get_project_1 = require("../../utils/get-project");
|
|
@@ -16,7 +8,7 @@ const get_project_target_options_1 = require("../../utils/get-project-target-opt
|
|
|
16
8
|
const modules_1 = require("../constants/modules");
|
|
17
9
|
const add_unique_import_1 = require("../../utils/add-unique-import");
|
|
18
10
|
function addTaigaModules(options) {
|
|
19
|
-
return (tree, context) => __awaiter(this, void 0, void 0, function* () {
|
|
11
|
+
return (tree, context) => tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
20
12
|
const workspace = yield workspace_1.getWorkspace(tree);
|
|
21
13
|
const project = get_project_1.getProject(options, workspace);
|
|
22
14
|
const buildOptions = get_project_target_options_1.getProjectTargetOptions(project, 'build');
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
12
4
|
const workspace_1 = require("@schematics/angular/utility/workspace");
|
|
13
5
|
const workspace_2 = require("@schematics/angular/utility/workspace");
|
|
14
6
|
const get_project_1 = require("../../utils/get-project");
|
|
@@ -16,7 +8,7 @@ const get_project_target_options_1 = require("../../utils/get-project-target-opt
|
|
|
16
8
|
const TAIGA_GLOBAL_STYLE = 'node_modules/@taiga-ui/core/styles/taiga-ui-global.less';
|
|
17
9
|
const TAIGA_THEME_STYLE = 'node_modules/@taiga-ui/core/styles/taiga-ui-theme.less';
|
|
18
10
|
function addTaigaStyles(options) {
|
|
19
|
-
return (tree) => __awaiter(this, void 0, void 0, function* () {
|
|
11
|
+
return (tree) => tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
20
12
|
const workspace = yield workspace_2.getWorkspace(tree);
|
|
21
13
|
const project = get_project_1.getProject(options, workspace);
|
|
22
14
|
return addTaigaStylesToAngularJson(workspace, project);
|
|
@@ -1,20 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
12
4
|
const workspace_1 = require("@schematics/angular/utility/workspace");
|
|
13
5
|
const ng_morph_1 = require("ng-morph");
|
|
14
6
|
const get_project_1 = require("../../utils/get-project");
|
|
15
7
|
const get_project_target_options_1 = require("../../utils/get-project-target-options");
|
|
16
8
|
function wrapWithTuiRootComponent(options) {
|
|
17
|
-
return (tree, context) => __awaiter(this, void 0, void 0, function* () {
|
|
9
|
+
return (tree, context) => tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
18
10
|
const workspace = yield workspace_1.getWorkspace(tree);
|
|
19
11
|
const project = get_project_1.getProject(options, workspace);
|
|
20
12
|
const buildOptions = get_project_target_options_1.getProjectTargetOptions(project, 'build');
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
12
4
|
const ng_morph_1 = require("ng-morph");
|
|
13
5
|
const versions_1 = require("../ng-add/constants/versions");
|
|
14
6
|
const replace_enums_1 = require("./steps/replace-enums");
|
|
@@ -16,7 +8,7 @@ const rename_types_1 = require("./steps/rename-types");
|
|
|
16
8
|
const replace_const_1 = require("./steps/replace-const");
|
|
17
9
|
const replace_deep_import_1 = require("./steps/replace-deep-import");
|
|
18
10
|
function updateToV3(_) {
|
|
19
|
-
return (tree, context) => __awaiter(this, void 0, void 0, function* () {
|
|
11
|
+
return (tree, context) => tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
20
12
|
context.logger.info(`taiga packages will be updated to ${versions_1.TAIGA_VERSION}`);
|
|
21
13
|
ng_morph_1.setActiveProject(ng_morph_1.createProject(tree, '/', '**/**'));
|
|
22
14
|
replace_deep_import_1.replaceDeepImports();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"exports":[{"from":"@taiga-ui/cdk/abstract"},{"from":"@taiga-ui/cdk/classes"},{"from":"@taiga-ui/cdk/components"},{"from":"@taiga-ui/cdk/constants"},{"from":"@taiga-ui/cdk/date-time"},{"from":"@taiga-ui/cdk/decorators"},{"from":"@taiga-ui/cdk/directives"},{"from":"@taiga-ui/cdk/enums"},{"from":"@taiga-ui/cdk/exceptions"},{"from":"@taiga-ui/cdk/interfaces"},{"from":"@taiga-ui/cdk/observables"},{"from":"@taiga-ui/cdk/pipes"},{"from":"@taiga-ui/cdk/services"},{"from":"@taiga-ui/cdk/tokens"},{"from":"@taiga-ui/cdk/types"},{"from":"@taiga-ui/cdk/utils"}],"metadata":{},"origins":{},"importAs":"@taiga-ui/cdk"}
|
|
1
|
+
{"__symbolic":"module","version":4,"exports":[{"from":"@taiga-ui/cdk/abstract"},{"from":"@taiga-ui/cdk/classes"},{"from":"@taiga-ui/cdk/coercion"},{"from":"@taiga-ui/cdk/components"},{"from":"@taiga-ui/cdk/constants"},{"from":"@taiga-ui/cdk/date-time"},{"from":"@taiga-ui/cdk/decorators"},{"from":"@taiga-ui/cdk/directives"},{"from":"@taiga-ui/cdk/enums"},{"from":"@taiga-ui/cdk/exceptions"},{"from":"@taiga-ui/cdk/interfaces"},{"from":"@taiga-ui/cdk/observables"},{"from":"@taiga-ui/cdk/pipes"},{"from":"@taiga-ui/cdk/services"},{"from":"@taiga-ui/cdk/tokens"},{"from":"@taiga-ui/cdk/types"},{"from":"@taiga-ui/cdk/utils"}],"metadata":{},"origins":{},"importAs":"@taiga-ui/cdk"}
|