@taiga-ui/addon-commerce 2.43.0 → 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.
Files changed (61) hide show
  1. package/bundles/taiga-ui-addon-commerce-components-input-CVC.umd.js.map +1 -1
  2. package/bundles/taiga-ui-addon-commerce-components-input-CVC.umd.min.js.map +1 -1
  3. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js +10 -19
  4. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js.map +1 -1
  5. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.min.js +2 -2
  6. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.min.js.map +1 -1
  7. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js.map +1 -1
  8. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.min.js.map +1 -1
  9. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js.map +1 -1
  10. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.min.js.map +1 -1
  11. package/bundles/taiga-ui-addon-commerce-pipes.umd.js +33 -0
  12. package/bundles/taiga-ui-addon-commerce-pipes.umd.js.map +1 -1
  13. package/bundles/taiga-ui-addon-commerce-pipes.umd.min.js +1 -1
  14. package/bundles/taiga-ui-addon-commerce-pipes.umd.min.js.map +1 -1
  15. package/components/input-card-grouped/input-card-grouped.component.d.ts +0 -1
  16. package/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.metadata.json +1 -1
  17. package/esm2015/components/input-CVC/input-CVC.component.js +1 -1
  18. package/esm2015/components/input-card/input-card.component.js +1 -1
  19. package/esm2015/components/input-card-grouped/input-card-grouped.component.js +5 -12
  20. package/esm2015/components/input-card-grouped/input-card-grouped.module.js +5 -2
  21. package/esm2015/components/input-expire/input-expire.component.js +1 -1
  22. package/esm2015/pipes/currency/currency.module.js +13 -0
  23. package/esm2015/pipes/currency/currency.pipe.js +15 -0
  24. package/esm2015/pipes/format-card/format-card.module.js +13 -0
  25. package/esm2015/pipes/format-card/format-card.pipe.js +17 -0
  26. package/esm2015/pipes/index.js +5 -3
  27. package/esm5/components/input-CVC/input-CVC.component.js +1 -1
  28. package/esm5/components/input-card/input-card.component.js +1 -1
  29. package/esm5/components/input-card-grouped/input-card-grouped.component.js +5 -16
  30. package/esm5/components/input-card-grouped/input-card-grouped.module.js +5 -2
  31. package/esm5/components/input-expire/input-expire.component.js +1 -1
  32. package/esm5/pipes/currency/currency.module.js +16 -0
  33. package/esm5/pipes/currency/currency.pipe.js +18 -0
  34. package/esm5/pipes/format-card/format-card.module.js +16 -0
  35. package/esm5/pipes/format-card/format-card.pipe.js +22 -0
  36. package/esm5/pipes/index.js +5 -3
  37. package/fesm2015/taiga-ui-addon-commerce-components-input-CVC.js.map +1 -1
  38. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js +8 -12
  39. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js.map +1 -1
  40. package/fesm2015/taiga-ui-addon-commerce-components-input-card.js.map +1 -1
  41. package/fesm2015/taiga-ui-addon-commerce-components-input-expire.js.map +1 -1
  42. package/fesm2015/taiga-ui-addon-commerce-pipes.js +24 -1
  43. package/fesm2015/taiga-ui-addon-commerce-pipes.js.map +1 -1
  44. package/fesm5/taiga-ui-addon-commerce-components-input-CVC.js.map +1 -1
  45. package/fesm5/taiga-ui-addon-commerce-components-input-card-grouped.js +8 -16
  46. package/fesm5/taiga-ui-addon-commerce-components-input-card-grouped.js.map +1 -1
  47. package/fesm5/taiga-ui-addon-commerce-components-input-card.js.map +1 -1
  48. package/fesm5/taiga-ui-addon-commerce-components-input-expire.js.map +1 -1
  49. package/fesm5/taiga-ui-addon-commerce-pipes.js +32 -1
  50. package/fesm5/taiga-ui-addon-commerce-pipes.js.map +1 -1
  51. package/package.json +4 -4
  52. package/pipes/{currency.module.d.ts → currency/currency.module.d.ts} +0 -0
  53. package/pipes/{currency.pipe.d.ts → currency/currency.pipe.d.ts} +0 -0
  54. package/pipes/format-card/format-card.module.d.ts +2 -0
  55. package/pipes/format-card/format-card.pipe.d.ts +4 -0
  56. package/pipes/index.d.ts +4 -2
  57. package/pipes/taiga-ui-addon-commerce-pipes.metadata.json +1 -1
  58. package/esm2015/pipes/currency.module.js +0 -13
  59. package/esm2015/pipes/currency.pipe.js +0 -15
  60. package/esm5/pipes/currency.module.js +0 -16
  61. package/esm5/pipes/currency.pipe.js +0 -18
@@ -1,16 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { NgModule } from '@angular/core';
3
- import { TuiCurrencyPipe } from './currency.pipe';
4
- var TuiCurrencyPipeModule = /** @class */ (function () {
5
- function TuiCurrencyPipeModule() {
6
- }
7
- TuiCurrencyPipeModule = __decorate([
8
- NgModule({
9
- declarations: [TuiCurrencyPipe],
10
- exports: [TuiCurrencyPipe],
11
- })
12
- ], TuiCurrencyPipeModule);
13
- return TuiCurrencyPipeModule;
14
- }());
15
- export { TuiCurrencyPipeModule };
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VycmVuY3kubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2FkZG9uLWNvbW1lcmNlL3BpcGVzLyIsInNvdXJjZXMiOlsiY3VycmVuY3kubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRXZDLE9BQU8sRUFBQyxlQUFlLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQU1oRDtJQUFBO0lBQW9DLENBQUM7SUFBeEIscUJBQXFCO1FBSmpDLFFBQVEsQ0FBQztZQUNOLFlBQVksRUFBRSxDQUFDLGVBQWUsQ0FBQztZQUMvQixPQUFPLEVBQUUsQ0FBQyxlQUFlLENBQUM7U0FDN0IsQ0FBQztPQUNXLHFCQUFxQixDQUFHO0lBQUQsNEJBQUM7Q0FBQSxBQUFyQyxJQUFxQztTQUF4QixxQkFBcUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge05nTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHtUdWlDdXJyZW5jeVBpcGV9IGZyb20gJy4vY3VycmVuY3kucGlwZSc7XG5cbkBOZ01vZHVsZSh7XG4gICAgZGVjbGFyYXRpb25zOiBbVHVpQ3VycmVuY3lQaXBlXSxcbiAgICBleHBvcnRzOiBbVHVpQ3VycmVuY3lQaXBlXSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpQ3VycmVuY3lQaXBlTW9kdWxlIHt9XG4iXX0=
@@ -1,18 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { Pipe } from '@angular/core';
3
- import { formatCurrency } from '@taiga-ui/addon-commerce/utils';
4
- var TuiCurrencyPipe = /** @class */ (function () {
5
- function TuiCurrencyPipe() {
6
- }
7
- TuiCurrencyPipe.prototype.transform = function (currency) {
8
- return formatCurrency(currency);
9
- };
10
- TuiCurrencyPipe = __decorate([
11
- Pipe({
12
- name: 'tuiCurrency',
13
- })
14
- ], TuiCurrencyPipe);
15
- return TuiCurrencyPipe;
16
- }());
17
- export { TuiCurrencyPipe };
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VycmVuY3kucGlwZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9hZGRvbi1jb21tZXJjZS9waXBlcy8iLCJzb3VyY2VzIjpbImN1cnJlbmN5LnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxJQUFJLEVBQWdCLE1BQU0sZUFBZSxDQUFDO0FBRWxELE9BQU8sRUFBQyxjQUFjLEVBQUMsTUFBTSxnQ0FBZ0MsQ0FBQztBQUs5RDtJQUFBO0lBSUEsQ0FBQztJQUhHLG1DQUFTLEdB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