@taiga-ui/addon-commerce 2.55.0 → 3.0.0-rc.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-addon-commerce-components-card.umd.js +424 -305
- package/bundles/taiga-ui-addon-commerce-components-card.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js +623 -466
- package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js +461 -331
- package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js +444 -314
- package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js +432 -306
- package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-money.umd.js +516 -384
- package/bundles/taiga-ui-addon-commerce-components-money.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components.umd.js +15 -27
- package/bundles/taiga-ui-addon-commerce-components.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-constants.umd.js +38 -36
- package/bundles/taiga-ui-addon-commerce-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-enums.umd.js +6 -35
- package/bundles/taiga-ui-addon-commerce-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-interfaces.umd.js +2 -2
- package/bundles/taiga-ui-addon-commerce-interfaces.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-pipes.umd.js +63 -274
- package/bundles/taiga-ui-addon-commerce-pipes.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-tokens.umd.js +11 -7
- package/bundles/taiga-ui-addon-commerce-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-types.umd.js +2 -2
- package/bundles/taiga-ui-addon-commerce-types.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-utils.umd.js +63 -107
- package/bundles/taiga-ui-addon-commerce-utils.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-validators.umd.js +17 -11
- package/bundles/taiga-ui-addon-commerce-validators.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce.umd.js +31 -33
- package/bundles/taiga-ui-addon-commerce.umd.js.map +1 -1
- package/components/card/card.component.d.ts +5 -2
- package/components/card/card.module.d.ts +7 -0
- package/components/card/package.json +2 -5
- package/components/card/taiga-ui-addon-commerce-components-card.d.ts +1 -0
- package/components/input-card/input-card.component.d.ts +4 -2
- package/components/input-card/input-card.module.d.ts +8 -0
- package/components/input-card/package.json +2 -5
- package/components/input-card/taiga-ui-addon-commerce-components-input-card.d.ts +1 -0
- package/components/input-card-grouped/input-card-grouped.component.d.ts +5 -3
- package/components/input-card-grouped/input-card-grouped.module.d.ts +12 -0
- package/components/input-card-grouped/package.json +2 -5
- package/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.d.ts +1 -0
- package/components/input-cvc/input-cvc.component.d.ts +3 -1
- package/components/input-cvc/input-cvc.module.d.ts +8 -0
- package/components/input-cvc/package.json +2 -5
- package/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.d.ts +1 -0
- package/components/input-expire/input-expire.component.d.ts +3 -1
- package/components/input-expire/input-expire.module.d.ts +8 -0
- package/components/input-expire/package.json +2 -5
- package/components/input-expire/taiga-ui-addon-commerce-components-input-expire.d.ts +1 -0
- package/components/money/money-options.d.ts +4 -4
- package/components/money/money.component.d.ts +7 -4
- package/components/money/money.module.d.ts +10 -0
- package/components/money/package.json +2 -5
- package/components/money/pipes/fraction-part.pipe.d.ts +5 -2
- package/components/money/pipes/integer-part.pipe.d.ts +3 -0
- package/components/money/pipes/sign-symbol.pipe.d.ts +5 -2
- package/components/money/taiga-ui-addon-commerce-components-money.d.ts +1 -0
- package/components/money/utils/format-fraction-part.d.ts +2 -2
- package/components/money/utils/format-sign-symbol.d.ts +2 -2
- package/components/package.json +2 -5
- package/components/taiga-ui-addon-commerce-components.d.ts +1 -0
- package/constants/package.json +2 -5
- package/constants/taiga-ui-addon-commerce-constants.d.ts +1 -0
- package/enums/currency-code.d.ts +0 -5
- package/enums/index.d.ts +0 -2
- package/enums/package.json +2 -5
- package/enums/taiga-ui-addon-commerce-enums.d.ts +1 -0
- package/esm2015/components/card/card.component.js +44 -30
- package/esm2015/components/card/card.module.js +15 -12
- package/esm2015/components/card/index.js +1 -1
- package/esm2015/components/card/taiga-ui-addon-commerce-components-card.js +1 -1
- package/esm2015/components/index.js +1 -1
- package/esm2015/components/input-card/index.js +1 -1
- package/esm2015/components/input-card/input-card.component.js +72 -56
- package/esm2015/components/input-card/input-card.module.js +24 -13
- package/esm2015/components/input-card/taiga-ui-addon-commerce-components-input-card.js +1 -1
- package/esm2015/components/input-card-grouped/index.js +1 -1
- package/esm2015/components/input-card-grouped/input-card-grouped.component.js +148 -121
- package/esm2015/components/input-card-grouped/input-card-grouped.module.js +45 -15
- package/esm2015/components/input-card-grouped/input-card-grouped.providers.js +3 -3
- package/esm2015/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.js +1 -1
- package/esm2015/components/input-cvc/index.js +1 -1
- package/esm2015/components/input-cvc/input-cvc.component.js +56 -43
- package/esm2015/components/input-cvc/input-cvc.module.js +26 -13
- package/esm2015/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.js +1 -1
- package/esm2015/components/input-expire/index.js +1 -1
- package/esm2015/components/input-expire/input-expire.component.js +49 -38
- package/esm2015/components/input-expire/input-expire.module.js +24 -13
- package/esm2015/components/input-expire/taiga-ui-addon-commerce-components-input-expire.js +1 -1
- package/esm2015/components/money/index.js +1 -1
- package/esm2015/components/money/money-options.js +4 -4
- package/esm2015/components/money/money.component.js +48 -35
- package/esm2015/components/money/money.module.js +23 -17
- package/esm2015/components/money/pipes/fraction-part.pipe.js +13 -12
- package/esm2015/components/money/pipes/integer-part.pipe.js +13 -12
- package/esm2015/components/money/pipes/sign-symbol.pipe.js +10 -8
- package/esm2015/components/money/taiga-ui-addon-commerce-components-money.js +1 -1
- package/esm2015/components/money/utils/format-fraction-part.js +4 -4
- package/esm2015/components/money/utils/format-sign-symbol.js +4 -4
- package/esm2015/components/taiga-ui-addon-commerce-components.js +1 -1
- package/esm2015/constants/card-holder-mask.js +27 -27
- package/esm2015/constants/card-mask.js +5 -5
- package/esm2015/constants/default-card-validator.js +3 -3
- package/esm2015/constants/index.js +1 -1
- package/esm2015/constants/taiga-ui-addon-commerce-constants.js +1 -1
- package/esm2015/enums/currency-code.js +1 -7
- package/esm2015/enums/currency.js +1 -1
- package/esm2015/enums/index.js +1 -3
- package/esm2015/enums/taiga-ui-addon-commerce-enums.js +1 -1
- package/esm2015/index.js +3 -1
- package/esm2015/interfaces/card.js +2 -1
- package/esm2015/interfaces/index.js +2 -1
- package/esm2015/interfaces/taiga-ui-addon-commerce-interfaces.js +2 -1
- package/esm2015/pipes/currency/currency.module.js +14 -11
- package/esm2015/pipes/currency/currency.pipe.js +12 -10
- package/esm2015/pipes/format-card/format-card.module.js +14 -11
- package/esm2015/pipes/format-card/format-card.pipe.js +14 -12
- package/esm2015/pipes/index.js +1 -1
- package/esm2015/pipes/taiga-ui-addon-commerce-pipes.js +1 -1
- package/esm2015/taiga-ui-addon-commerce.js +1 -1
- package/esm2015/tokens/i18n.js +6 -6
- package/esm2015/tokens/index.js +1 -1
- package/esm2015/tokens/taiga-ui-addon-commerce-tokens.js +1 -1
- package/esm2015/types/code-length.js +2 -1
- package/esm2015/types/currency-variants.js +2 -1
- package/esm2015/types/index.js +5 -1
- package/esm2015/types/money-sign.js +2 -1
- package/esm2015/types/payment-system.js +2 -0
- package/esm2015/types/taiga-ui-addon-commerce-types.js +2 -1
- package/esm2015/utils/create-auto-corrected-expire-pipe.js +6 -6
- package/esm2015/utils/format-currency.js +7 -7
- package/esm2015/utils/get-currency-symbol.js +21 -26
- package/esm2015/utils/get-payment-system.js +18 -48
- package/esm2015/utils/index.js +1 -1
- package/esm2015/utils/is-card-length-valid.js +9 -11
- package/esm2015/utils/is-card-number-valid.js +4 -6
- package/esm2015/utils/is-expire-valid.js +1 -1
- package/esm2015/utils/taiga-ui-addon-commerce-utils.js +1 -1
- package/esm2015/validators/card-expire.validator.js +2 -2
- package/esm2015/validators/card-number.validator.js +4 -4
- package/esm2015/validators/index.js +1 -1
- package/esm2015/validators/luhn.validator.js +5 -3
- package/esm2015/validators/taiga-ui-addon-commerce-validators.js +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-card.js +58 -39
- package/fesm2015/taiga-ui-addon-commerce-components-card.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js +196 -136
- package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-input-card.js +96 -67
- package/fesm2015/taiga-ui-addon-commerce-components-input-card.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js +81 -53
- package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-input-expire.js +72 -48
- package/fesm2015/taiga-ui-addon-commerce-components-input-expire.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-money.js +133 -108
- package/fesm2015/taiga-ui-addon-commerce-components-money.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-constants.js +32 -32
- package/fesm2015/taiga-ui-addon-commerce-constants.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-enums.js +1 -34
- package/fesm2015/taiga-ui-addon-commerce-enums.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-interfaces.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-pipes.js +47 -33
- package/fesm2015/taiga-ui-addon-commerce-pipes.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-tokens.js +5 -5
- package/fesm2015/taiga-ui-addon-commerce-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-types.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-utils.js +58 -97
- package/fesm2015/taiga-ui-addon-commerce-utils.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-validators.js +7 -5
- package/fesm2015/taiga-ui-addon-commerce-validators.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce.js +2 -0
- package/fesm2015/taiga-ui-addon-commerce.js.map +1 -1
- package/interfaces/package.json +2 -5
- package/interfaces/taiga-ui-addon-commerce-interfaces.d.ts +1 -0
- package/package.json +12 -15
- package/pipes/currency/currency.module.d.ts +5 -0
- package/pipes/currency/currency.pipe.d.ts +3 -0
- package/pipes/format-card/format-card.module.d.ts +5 -0
- package/pipes/format-card/format-card.pipe.d.ts +3 -0
- package/pipes/package.json +2 -5
- package/pipes/taiga-ui-addon-commerce-pipes.d.ts +1 -0
- package/taiga-ui-addon-commerce.d.ts +1 -0
- package/tokens/package.json +2 -5
- package/tokens/taiga-ui-addon-commerce-tokens.d.ts +1 -0
- package/types/index.d.ts +1 -0
- package/types/money-sign.d.ts +1 -1
- package/types/package.json +2 -5
- package/types/payment-system.d.ts +1 -0
- package/types/taiga-ui-addon-commerce-types.d.ts +1 -0
- package/utils/get-currency-symbol.d.ts +1 -5
- package/utils/get-payment-system.d.ts +7 -31
- package/utils/is-card-length-valid.d.ts +1 -3
- package/utils/is-card-number-valid.d.ts +1 -3
- package/utils/package.json +2 -5
- package/utils/taiga-ui-addon-commerce-utils.d.ts +1 -0
- package/validators/package.json +2 -5
- package/validators/taiga-ui-addon-commerce-validators.d.ts +1 -0
- package/bundles/taiga-ui-addon-commerce-components-card.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-commerce-components-card.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-commerce-components-input-card.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-commerce-components-input-card.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-commerce-components-money.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-commerce-components-money.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-commerce-components.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-commerce-components.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-commerce-constants.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-commerce-constants.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-commerce-enums.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-commerce-enums.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-commerce-interfaces.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-commerce-interfaces.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-commerce-pipes.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-commerce-pipes.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-commerce-tokens.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-commerce-tokens.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-commerce-types.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-commerce-types.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-commerce-utils.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-commerce-utils.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-commerce-validators.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-commerce-validators.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-commerce.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-commerce.umd.min.js.map +0 -1
- package/components/card/taiga-ui-addon-commerce-components-card.metadata.json +0 -1
- package/components/input-card/taiga-ui-addon-commerce-components-input-card.metadata.json +0 -1
- package/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.metadata.json +0 -1
- package/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.metadata.json +0 -1
- package/components/input-expire/taiga-ui-addon-commerce-components-input-expire.metadata.json +0 -1
- package/components/money/taiga-ui-addon-commerce-components-money.metadata.json +0 -1
- package/components/taiga-ui-addon-commerce-components.metadata.json +0 -1
- package/constants/taiga-ui-addon-commerce-constants.metadata.json +0 -1
- package/enums/money-sign.d.ts +0 -16
- package/enums/payment-system.d.ts +0 -8
- package/enums/taiga-ui-addon-commerce-enums.metadata.json +0 -1
- package/esm2015/enums/money-sign.js +0 -18
- package/esm2015/enums/payment-system.js +0 -9
- package/esm5/components/card/card.component.js +0 -73
- package/esm5/components/card/card.module.js +0 -19
- package/esm5/components/card/index.js +0 -3
- package/esm5/components/card/taiga-ui-addon-commerce-components-card.js +0 -5
- package/esm5/components/index.js +0 -7
- package/esm5/components/input-card/index.js +0 -3
- package/esm5/components/input-card/input-card.component.js +0 -167
- package/esm5/components/input-card/input-card.module.js +0 -25
- package/esm5/components/input-card/taiga-ui-addon-commerce-components-input-card.js +0 -5
- package/esm5/components/input-card-grouped/index.js +0 -4
- package/esm5/components/input-card-grouped/input-card-grouped.component.js +0 -511
- package/esm5/components/input-card-grouped/input-card-grouped.module.js +0 -40
- package/esm5/components/input-card-grouped/input-card-grouped.providers.js +0 -34
- package/esm5/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.js +0 -5
- package/esm5/components/input-cvc/index.js +0 -3
- package/esm5/components/input-cvc/input-cvc.component.js +0 -113
- package/esm5/components/input-cvc/input-cvc.module.js +0 -26
- package/esm5/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.js +0 -5
- package/esm5/components/input-expire/index.js +0 -3
- package/esm5/components/input-expire/input-expire.component.js +0 -108
- package/esm5/components/input-expire/input-expire.module.js +0 -25
- package/esm5/components/input-expire/taiga-ui-addon-commerce-components-input-expire.js +0 -5
- package/esm5/components/money/index.js +0 -9
- package/esm5/components/money/money-options.js +0 -18
- package/esm5/components/money/money.component.js +0 -101
- package/esm5/components/money/money.module.js +0 -27
- package/esm5/components/money/pipes/fraction-part.pipe.js +0 -27
- package/esm5/components/money/pipes/integer-part.pipe.js +0 -21
- package/esm5/components/money/pipes/sign-symbol.pipe.js +0 -16
- package/esm5/components/money/taiga-ui-addon-commerce-components-money.js +0 -5
- package/esm5/components/money/utils/format-fraction-part.js +0 -7
- package/esm5/components/money/utils/format-sign-symbol.js +0 -11
- package/esm5/components/taiga-ui-addon-commerce-components.js +0 -5
- package/esm5/constants/card-holder-mask.js +0 -37
- package/esm5/constants/card-mask.js +0 -30
- package/esm5/constants/default-card-validator.js +0 -5
- package/esm5/constants/index.js +0 -4
- package/esm5/constants/taiga-ui-addon-commerce-constants.js +0 -5
- package/esm5/enums/currency-code.js +0 -171
- package/esm5/enums/currency.js +0 -171
- package/esm5/enums/index.js +0 -5
- package/esm5/enums/money-sign.js +0 -18
- package/esm5/enums/payment-system.js +0 -9
- package/esm5/enums/taiga-ui-addon-commerce-enums.js +0 -5
- package/esm5/index.js +0 -8
- package/esm5/interfaces/card.js +0 -1
- package/esm5/interfaces/index.js +0 -1
- package/esm5/interfaces/taiga-ui-addon-commerce-interfaces.js +0 -4
- package/esm5/pipes/currency/currency.module.js +0 -16
- package/esm5/pipes/currency/currency.pipe.js +0 -18
- package/esm5/pipes/format-card/format-card.module.js +0 -16
- package/esm5/pipes/format-card/format-card.pipe.js +0 -22
- package/esm5/pipes/index.js +0 -5
- package/esm5/pipes/taiga-ui-addon-commerce-pipes.js +0 -5
- package/esm5/taiga-ui-addon-commerce.js +0 -5
- package/esm5/tokens/i18n.js +0 -13
- package/esm5/tokens/index.js +0 -2
- package/esm5/tokens/taiga-ui-addon-commerce-tokens.js +0 -5
- package/esm5/types/code-length.js +0 -1
- package/esm5/types/currency-variants.js +0 -1
- package/esm5/types/index.js +0 -1
- package/esm5/types/money-sign.js +0 -1
- package/esm5/types/taiga-ui-addon-commerce-types.js +0 -4
- package/esm5/utils/create-auto-corrected-expire-pipe.js +0 -43
- package/esm5/utils/format-currency.js +0 -17
- package/esm5/utils/get-currency-symbol.js +0 -71
- package/esm5/utils/get-payment-system.js +0 -103
- package/esm5/utils/index.js +0 -8
- package/esm5/utils/is-card-length-valid.js +0 -25
- package/esm5/utils/is-card-number-valid.js +0 -21
- package/esm5/utils/is-expire-valid.js +0 -14
- package/esm5/utils/taiga-ui-addon-commerce-utils.js +0 -5
- package/esm5/validators/card-expire.validator.js +0 -10
- package/esm5/validators/card-number.validator.js +0 -9
- package/esm5/validators/index.js +0 -4
- package/esm5/validators/luhn.validator.js +0 -9
- package/esm5/validators/taiga-ui-addon-commerce-validators.js +0 -5
- package/fesm5/taiga-ui-addon-commerce-components-card.js +0 -94
- package/fesm5/taiga-ui-addon-commerce-components-card.js.map +0 -1
- package/fesm5/taiga-ui-addon-commerce-components-input-card-grouped.js +0 -579
- package/fesm5/taiga-ui-addon-commerce-components-input-card-grouped.js.map +0 -1
- package/fesm5/taiga-ui-addon-commerce-components-input-card.js +0 -193
- package/fesm5/taiga-ui-addon-commerce-components-input-card.js.map +0 -1
- package/fesm5/taiga-ui-addon-commerce-components-input-cvc.js +0 -140
- package/fesm5/taiga-ui-addon-commerce-components-input-cvc.js.map +0 -1
- package/fesm5/taiga-ui-addon-commerce-components-input-expire.js +0 -134
- package/fesm5/taiga-ui-addon-commerce-components-input-expire.js.map +0 -1
- package/fesm5/taiga-ui-addon-commerce-components-money.js +0 -210
- package/fesm5/taiga-ui-addon-commerce-components-money.js.map +0 -1
- package/fesm5/taiga-ui-addon-commerce-components.js +0 -11
- package/fesm5/taiga-ui-addon-commerce-components.js.map +0 -1
- package/fesm5/taiga-ui-addon-commerce-constants.js +0 -78
- package/fesm5/taiga-ui-addon-commerce-constants.js.map +0 -1
- package/fesm5/taiga-ui-addon-commerce-enums.js +0 -375
- package/fesm5/taiga-ui-addon-commerce-enums.js.map +0 -1
- package/fesm5/taiga-ui-addon-commerce-interfaces.js +0 -4
- package/fesm5/taiga-ui-addon-commerce-interfaces.js.map +0 -1
- package/fesm5/taiga-ui-addon-commerce-pipes.js +0 -67
- package/fesm5/taiga-ui-addon-commerce-pipes.js.map +0 -1
- package/fesm5/taiga-ui-addon-commerce-tokens.js +0 -20
- package/fesm5/taiga-ui-addon-commerce-tokens.js.map +0 -1
- package/fesm5/taiga-ui-addon-commerce-types.js +0 -4
- package/fesm5/taiga-ui-addon-commerce-types.js.map +0 -1
- package/fesm5/taiga-ui-addon-commerce-utils.js +0 -298
- package/fesm5/taiga-ui-addon-commerce-utils.js.map +0 -1
- package/fesm5/taiga-ui-addon-commerce-validators.js +0 -31
- package/fesm5/taiga-ui-addon-commerce-validators.js.map +0 -1
- package/fesm5/taiga-ui-addon-commerce.js +0 -12
- package/fesm5/taiga-ui-addon-commerce.js.map +0 -1
- package/interfaces/taiga-ui-addon-commerce-interfaces.metadata.json +0 -1
- package/pipes/taiga-ui-addon-commerce-pipes.metadata.json +0 -1
- package/taiga-ui-addon-commerce.metadata.json +0 -1
- package/tokens/taiga-ui-addon-commerce-tokens.metadata.json +0 -1
- package/types/taiga-ui-addon-commerce-types.metadata.json +0 -1
- package/utils/taiga-ui-addon-commerce-utils.metadata.json +0 -1
- package/validators/taiga-ui-addon-commerce-validators.metadata.json +0 -1
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"main": "../../bundles/taiga-ui-addon-commerce-components-card.umd.js",
|
|
3
|
-
"module": "../../
|
|
3
|
+
"module": "../../fesm2015/taiga-ui-addon-commerce-components-card.js",
|
|
4
4
|
"es2015": "../../fesm2015/taiga-ui-addon-commerce-components-card.js",
|
|
5
|
-
"esm5": "../../esm5/components/card/taiga-ui-addon-commerce-components-card.js",
|
|
6
5
|
"esm2015": "../../esm2015/components/card/taiga-ui-addon-commerce-components-card.js",
|
|
7
|
-
"fesm5": "../../fesm5/taiga-ui-addon-commerce-components-card.js",
|
|
8
6
|
"fesm2015": "../../fesm2015/taiga-ui-addon-commerce-components-card.js",
|
|
9
7
|
"typings": "taiga-ui-addon-commerce-components-card.d.ts",
|
|
10
|
-
"metadata": "taiga-ui-addon-commerce-components-card.metadata.json",
|
|
11
8
|
"sideEffects": false,
|
|
12
9
|
"name": "@taiga-ui/addon-commerce/components/card"
|
|
13
|
-
}
|
|
10
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
|
-
import { TuiPaymentSystem } from '@taiga-ui/addon-commerce/
|
|
3
|
+
import { TuiPaymentSystem } from '@taiga-ui/addon-commerce/types';
|
|
4
4
|
import { AbstractTuiControl, TuiCreditCardAutofillName, TuiFocusableElementAccessor } from '@taiga-ui/cdk';
|
|
5
5
|
import { TuiTextfieldExampleTextDirective } from '@taiga-ui/core';
|
|
6
6
|
import { TextMaskConfig } from 'angular2-text-mask';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare function cardTextfieldControllerFactory(directive: TuiTextfieldExampleTextDirective | null): TuiTextfieldExampleTextDirective;
|
|
8
9
|
export declare class TuiInputCardComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
|
|
9
10
|
private readonly input?;
|
|
@@ -21,7 +22,8 @@ export declare class TuiInputCardComponent extends AbstractTuiControl<string> im
|
|
|
21
22
|
get formattedCard(): string;
|
|
22
23
|
onValueChange(value: string): void;
|
|
23
24
|
onFocused(focused: boolean): void;
|
|
24
|
-
onHovered(hovered: boolean): void;
|
|
25
25
|
writeValue(value: string | null): void;
|
|
26
26
|
protected getFallbackValue(): string;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputCardComponent, [{ optional: true; self: true; }, null]>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputCardComponent, "tui-input-card", never, { "cardSrc": "cardSrc"; "autocompleteEnabled": "autocompleteEnabled"; }, { "binChange": "binChange"; }, never, ["*"]>;
|
|
27
29
|
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input-card.component";
|
|
3
|
+
import * as i2 from "angular2-text-mask";
|
|
4
|
+
import * as i3 from "@taiga-ui/core";
|
|
5
|
+
import * as i4 from "@taiga-ui/kit";
|
|
1
6
|
export declare class TuiInputCardModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputCardModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputCardModule, [typeof i1.TuiInputCardComponent], [typeof i2.TextMaskModule, typeof i3.TuiPrimitiveTextfieldModule, typeof i3.TuiTextfieldControllerModule, typeof i4.TuiValueAccessorModule], [typeof i1.TuiInputCardComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputCardModule>;
|
|
2
10
|
}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"main": "../../bundles/taiga-ui-addon-commerce-components-input-card.umd.js",
|
|
3
|
-
"module": "../../
|
|
3
|
+
"module": "../../fesm2015/taiga-ui-addon-commerce-components-input-card.js",
|
|
4
4
|
"es2015": "../../fesm2015/taiga-ui-addon-commerce-components-input-card.js",
|
|
5
|
-
"esm5": "../../esm5/components/input-card/taiga-ui-addon-commerce-components-input-card.js",
|
|
6
5
|
"esm2015": "../../esm2015/components/input-card/taiga-ui-addon-commerce-components-input-card.js",
|
|
7
|
-
"fesm5": "../../fesm5/taiga-ui-addon-commerce-components-input-card.js",
|
|
8
6
|
"fesm2015": "../../fesm2015/taiga-ui-addon-commerce-components-input-card.js",
|
|
9
7
|
"typings": "taiga-ui-addon-commerce-components-input-card.d.ts",
|
|
10
|
-
"metadata": "taiga-ui-addon-commerce-components-input-card.metadata.json",
|
|
11
8
|
"sideEffects": false,
|
|
12
9
|
"name": "@taiga-ui/addon-commerce/components/input-card"
|
|
13
|
-
}
|
|
10
|
+
}
|
|
@@ -8,6 +8,7 @@ import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
|
8
8
|
import { TextMaskConfig } from 'angular2-text-mask';
|
|
9
9
|
import { Observable } from 'rxjs';
|
|
10
10
|
import { TuiCardGroupedTexts } from './input-card-grouped.providers';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class TuiInputCardGroupedComponent extends AbstractTuiNullableControl<TuiCard> implements TuiFocusableElementAccessor, TuiDataListHost<Partial<TuiCard>> {
|
|
12
13
|
private readonly elementRef;
|
|
13
14
|
readonly mode$: Observable<TuiBrightness | null>;
|
|
@@ -18,7 +19,7 @@ export declare class TuiInputCardGroupedComponent extends AbstractTuiNullableCon
|
|
|
18
19
|
private readonly inputCVC?;
|
|
19
20
|
private expireInert;
|
|
20
21
|
autocompleteEnabled: boolean;
|
|
21
|
-
cardSrc: PolymorpheusContent
|
|
22
|
+
cardSrc: PolymorpheusContent;
|
|
22
23
|
exampleText: string;
|
|
23
24
|
cardValidator: TuiBooleanHandler<string>;
|
|
24
25
|
set codeLength(length: TuiCodeCVCLength);
|
|
@@ -40,7 +41,7 @@ export declare class TuiInputCardGroupedComponent extends AbstractTuiNullableCon
|
|
|
40
41
|
get hasCleaner(): boolean;
|
|
41
42
|
get hasDropdown(): boolean;
|
|
42
43
|
get defaultIcon(): string | null;
|
|
43
|
-
get icon(): PolymorpheusContent
|
|
44
|
+
get icon(): PolymorpheusContent;
|
|
44
45
|
get bin(): string | null;
|
|
45
46
|
get placeholderRaised(): boolean;
|
|
46
47
|
get hasCardNumber(): boolean;
|
|
@@ -65,7 +66,6 @@ export declare class TuiInputCardGroupedComponent extends AbstractTuiNullableCon
|
|
|
65
66
|
onExpireChange(expire: string): void;
|
|
66
67
|
onCVCChange(cvc: string): void;
|
|
67
68
|
onActiveZoneChange(active: boolean): void;
|
|
68
|
-
onHovered(hovered: boolean): void;
|
|
69
69
|
onMouseDown(event: MouseEvent): void;
|
|
70
70
|
onScroll({ currentTarget }: Event): void;
|
|
71
71
|
clear(): void;
|
|
@@ -81,4 +81,6 @@ export declare class TuiInputCardGroupedComponent extends AbstractTuiNullableCon
|
|
|
81
81
|
private updateBin;
|
|
82
82
|
private updateProperty;
|
|
83
83
|
private focusInput;
|
|
84
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputCardGroupedComponent, [{ optional: true; self: true; }, null, null, null, null, null]>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputCardGroupedComponent, "tui-input-card-grouped", never, { "autocompleteEnabled": "autocompleteEnabled"; "cardSrc": "cardSrc"; "exampleText": "exampleText"; "cardValidator": "cardValidator"; "codeLength": "codeLength"; }, { "autofilledChange": "autofilledChange"; "binChange": "binChange"; }, ["dropdown", "datalist"], never>;
|
|
84
86
|
}
|
|
@@ -1,2 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input-card-grouped.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "angular2-text-mask";
|
|
6
|
+
import * as i5 from "@taiga-ui/cdk";
|
|
7
|
+
import * as i6 from "@taiga-ui/core";
|
|
8
|
+
import * as i7 from "@tinkoff/ng-polymorpheus";
|
|
9
|
+
import * as i8 from "@taiga-ui/addon-commerce/pipes";
|
|
1
10
|
export declare class TuiInputCardGroupedModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputCardGroupedModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputCardGroupedModule, [typeof i1.TuiInputCardGroupedComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.TextMaskModule, typeof i5.TuiFocusableModule, typeof i6.TuiSvgModule, typeof i6.TuiWrapperModule, typeof i5.TuiActiveZoneModule, typeof i5.TuiInputModeModule, typeof i5.TuiMapperPipeModule, typeof i6.TuiDropdownModule, typeof i5.TuiPreventDefaultModule, typeof i7.PolymorpheusModule, typeof i5.TuiLetModule, typeof i8.TuiFormatCardModule], [typeof i1.TuiInputCardGroupedComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputCardGroupedModule>;
|
|
2
14
|
}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"main": "../../bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js",
|
|
3
|
-
"module": "../../
|
|
3
|
+
"module": "../../fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js",
|
|
4
4
|
"es2015": "../../fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js",
|
|
5
|
-
"esm5": "../../esm5/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.js",
|
|
6
5
|
"esm2015": "../../esm2015/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.js",
|
|
7
|
-
"fesm5": "../../fesm5/taiga-ui-addon-commerce-components-input-card-grouped.js",
|
|
8
6
|
"fesm2015": "../../fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js",
|
|
9
7
|
"typings": "taiga-ui-addon-commerce-components-input-card-grouped.d.ts",
|
|
10
|
-
"metadata": "taiga-ui-addon-commerce-components-input-card-grouped.metadata.json",
|
|
11
8
|
"sideEffects": false,
|
|
12
9
|
"name": "@taiga-ui/addon-commerce/components/input-card-grouped"
|
|
13
|
-
}
|
|
10
|
+
}
|
|
@@ -4,6 +4,7 @@ import { TuiCodeCVCLength } from '@taiga-ui/addon-commerce/types';
|
|
|
4
4
|
import { AbstractTuiControl, TuiCreditCardAutofillName, TuiFocusableElementAccessor, TuiNativeFocusableElement } from '@taiga-ui/cdk';
|
|
5
5
|
import { TuiTextfieldLabelOutsideDirective } from '@taiga-ui/core';
|
|
6
6
|
import { TextMaskConfig } from 'angular2-text-mask';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class TuiInputCVCComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
|
|
8
9
|
private readonly textfieldLabelOutside;
|
|
9
10
|
private readonly input?;
|
|
@@ -17,8 +18,9 @@ export declare class TuiInputCVCComponent extends AbstractTuiControl<string> imp
|
|
|
17
18
|
get autocomplete(): TuiCreditCardAutofillName;
|
|
18
19
|
get computedExampleText(): string;
|
|
19
20
|
onFocused(focused: boolean): void;
|
|
20
|
-
onHovered(hovered: boolean): void;
|
|
21
21
|
onCopy(): void;
|
|
22
22
|
onValueChange(value: string): void;
|
|
23
23
|
protected getFallbackValue(): string;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputCVCComponent, [{ optional: true; self: true; }, null, null]>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputCVCComponent, "tui-input-cvc", never, { "autocompleteEnabled": "autocompleteEnabled"; "length": "length"; }, {}, never, ["*"]>;
|
|
24
26
|
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input-cvc.component";
|
|
3
|
+
import * as i2 from "angular2-text-mask";
|
|
4
|
+
import * as i3 from "@taiga-ui/core";
|
|
5
|
+
import * as i4 from "@taiga-ui/kit";
|
|
1
6
|
export declare class TuiInputCVCModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputCVCModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputCVCModule, [typeof i1.TuiInputCVCComponent], [typeof i2.TextMaskModule, typeof i3.TuiPrimitiveTextfieldModule, typeof i3.TuiTextfieldControllerModule, typeof i3.TuiHintControllerModule, typeof i4.TuiValueAccessorModule], [typeof i1.TuiInputCVCComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputCVCModule>;
|
|
2
10
|
}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"main": "../../bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js",
|
|
3
|
-
"module": "../../
|
|
3
|
+
"module": "../../fesm2015/taiga-ui-addon-commerce-components-input-cvc.js",
|
|
4
4
|
"es2015": "../../fesm2015/taiga-ui-addon-commerce-components-input-cvc.js",
|
|
5
|
-
"esm5": "../../esm5/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.js",
|
|
6
5
|
"esm2015": "../../esm2015/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.js",
|
|
7
|
-
"fesm5": "../../fesm5/taiga-ui-addon-commerce-components-input-cvc.js",
|
|
8
6
|
"fesm2015": "../../fesm2015/taiga-ui-addon-commerce-components-input-cvc.js",
|
|
9
7
|
"typings": "taiga-ui-addon-commerce-components-input-cvc.d.ts",
|
|
10
|
-
"metadata": "taiga-ui-addon-commerce-components-input-cvc.metadata.json",
|
|
11
8
|
"sideEffects": false,
|
|
12
9
|
"name": "@taiga-ui/addon-commerce/components/input-cvc"
|
|
13
|
-
}
|
|
10
|
+
}
|
|
@@ -2,6 +2,7 @@ import { ChangeDetectorRef } from '@angular/core';
|
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { AbstractTuiControl, TuiCreditCardAutofillName, TuiFocusableElementAccessor } from '@taiga-ui/cdk';
|
|
4
4
|
import { TextMaskConfig } from 'angular2-text-mask';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class TuiInputExpireComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
|
|
6
7
|
private readonly input?;
|
|
7
8
|
autocompleteEnabled: boolean;
|
|
@@ -12,6 +13,7 @@ export declare class TuiInputExpireComponent extends AbstractTuiControl<string>
|
|
|
12
13
|
get autocomplete(): TuiCreditCardAutofillName;
|
|
13
14
|
onValueChange(value: string): void;
|
|
14
15
|
onFocused(focused: boolean): void;
|
|
15
|
-
onHovered(hovered: boolean): void;
|
|
16
16
|
protected getFallbackValue(): string;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputExpireComponent, [{ optional: true; self: true; }, null]>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputExpireComponent, "tui-input-expire", never, { "autocompleteEnabled": "autocompleteEnabled"; }, {}, never, ["*"]>;
|
|
17
19
|
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input-expire.component";
|
|
3
|
+
import * as i2 from "angular2-text-mask";
|
|
4
|
+
import * as i3 from "@taiga-ui/core";
|
|
5
|
+
import * as i4 from "@taiga-ui/kit";
|
|
1
6
|
export declare class TuiInputExpireModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputExpireModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputExpireModule, [typeof i1.TuiInputExpireComponent], [typeof i2.TextMaskModule, typeof i3.TuiPrimitiveTextfieldModule, typeof i3.TuiTextfieldControllerModule, typeof i4.TuiValueAccessorModule], [typeof i1.TuiInputExpireComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputExpireModule>;
|
|
2
10
|
}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"main": "../../bundles/taiga-ui-addon-commerce-components-input-expire.umd.js",
|
|
3
|
-
"module": "../../
|
|
3
|
+
"module": "../../fesm2015/taiga-ui-addon-commerce-components-input-expire.js",
|
|
4
4
|
"es2015": "../../fesm2015/taiga-ui-addon-commerce-components-input-expire.js",
|
|
5
|
-
"esm5": "../../esm5/components/input-expire/taiga-ui-addon-commerce-components-input-expire.js",
|
|
6
5
|
"esm2015": "../../esm2015/components/input-expire/taiga-ui-addon-commerce-components-input-expire.js",
|
|
7
|
-
"fesm5": "../../fesm5/taiga-ui-addon-commerce-components-input-expire.js",
|
|
8
6
|
"fesm2015": "../../fesm2015/taiga-ui-addon-commerce-components-input-expire.js",
|
|
9
7
|
"typings": "taiga-ui-addon-commerce-components-input-expire.d.ts",
|
|
10
|
-
"metadata": "taiga-ui-addon-commerce-components-input-expire.metadata.json",
|
|
11
8
|
"sideEffects": false,
|
|
12
9
|
"name": "@taiga-ui/addon-commerce/components/input-expire"
|
|
13
|
-
}
|
|
10
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { InjectionToken, ValueProvider } from '@angular/core';
|
|
2
|
-
import { TuiCurrencyVariants,
|
|
3
|
-
import {
|
|
2
|
+
import { TuiCurrencyVariants, TuiMoneySign } from '@taiga-ui/addon-commerce/types';
|
|
3
|
+
import { TuiDecimal } from '@taiga-ui/core';
|
|
4
4
|
export interface TuiMoneyOptions {
|
|
5
|
-
readonly decimal:
|
|
5
|
+
readonly decimal: TuiDecimal;
|
|
6
6
|
readonly currency: TuiCurrencyVariants;
|
|
7
|
-
readonly sign:
|
|
7
|
+
readonly sign: TuiMoneySign;
|
|
8
8
|
readonly colored: boolean;
|
|
9
9
|
readonly precision: number;
|
|
10
10
|
readonly singleColor: boolean;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { TuiCurrencyVariants,
|
|
2
|
-
import {
|
|
1
|
+
import { TuiCurrencyVariants, TuiMoneySign, TuiMoneySignSymbol } from '@taiga-ui/addon-commerce/types';
|
|
2
|
+
import { TuiDecimal } from '@taiga-ui/core';
|
|
3
3
|
import { TuiMoneyOptions } from './money-options';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TuiMoneyComponent {
|
|
5
6
|
private readonly options;
|
|
6
7
|
value: number;
|
|
7
|
-
decimal:
|
|
8
|
+
decimal: TuiDecimal;
|
|
8
9
|
currency: TuiCurrencyVariants;
|
|
9
|
-
sign:
|
|
10
|
+
sign: TuiMoneySign;
|
|
10
11
|
colored: boolean;
|
|
11
12
|
precision: number;
|
|
12
13
|
singleColor: boolean;
|
|
@@ -15,4 +16,6 @@ export declare class TuiMoneyComponent {
|
|
|
15
16
|
get green(): boolean;
|
|
16
17
|
get inheritColor(): boolean;
|
|
17
18
|
constructor(options: TuiMoneyOptions);
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiMoneyComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiMoneyComponent, "tui-money", never, { "value": "value"; "decimal": "decimal"; "currency": "currency"; "sign": "sign"; "colored": "colored"; "precision": "precision"; "singleColor": "singleColor"; }, {}, never, never>;
|
|
18
21
|
}
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./money.component";
|
|
3
|
+
import * as i2 from "./pipes/fraction-part.pipe";
|
|
4
|
+
import * as i3 from "./pipes/integer-part.pipe";
|
|
5
|
+
import * as i4 from "./pipes/sign-symbol.pipe";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "@taiga-ui/addon-commerce/pipes";
|
|
1
8
|
export declare class TuiMoneyModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiMoneyModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiMoneyModule, [typeof i1.TuiMoneyComponent, typeof i2.TuiFractionPartPipe, typeof i3.TuiIntegerPartPipe, typeof i4.TuiSignSymbolPipe], [typeof i5.CommonModule, typeof i6.TuiCurrencyPipeModule], [typeof i1.TuiMoneyComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiMoneyModule>;
|
|
2
12
|
}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"main": "../../bundles/taiga-ui-addon-commerce-components-money.umd.js",
|
|
3
|
-
"module": "../../
|
|
3
|
+
"module": "../../fesm2015/taiga-ui-addon-commerce-components-money.js",
|
|
4
4
|
"es2015": "../../fesm2015/taiga-ui-addon-commerce-components-money.js",
|
|
5
|
-
"esm5": "../../esm5/components/money/taiga-ui-addon-commerce-components-money.js",
|
|
6
5
|
"esm2015": "../../esm2015/components/money/taiga-ui-addon-commerce-components-money.js",
|
|
7
|
-
"fesm5": "../../fesm5/taiga-ui-addon-commerce-components-money.js",
|
|
8
6
|
"fesm2015": "../../fesm2015/taiga-ui-addon-commerce-components-money.js",
|
|
9
7
|
"typings": "taiga-ui-addon-commerce-components-money.d.ts",
|
|
10
|
-
"metadata": "taiga-ui-addon-commerce-components-money.metadata.json",
|
|
11
8
|
"sideEffects": false,
|
|
12
9
|
"name": "@taiga-ui/addon-commerce/components/money"
|
|
13
|
-
}
|
|
10
|
+
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { TuiDecimal, TuiNumberFormatSettings } from '@taiga-ui/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class TuiFractionPartPipe implements PipeTransform {
|
|
4
5
|
private readonly numberFormat;
|
|
5
6
|
constructor(numberFormat: TuiNumberFormatSettings);
|
|
6
|
-
transform(value: number, decimal:
|
|
7
|
+
transform(value: number, decimal: TuiDecimal, precision: number): string;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiFractionPartPipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TuiFractionPartPipe, "tuiFractionPart">;
|
|
7
10
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { TuiNumberFormatSettings } from '@taiga-ui/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class TuiIntegerPartPipe implements PipeTransform {
|
|
4
5
|
private readonly numberFormat;
|
|
5
6
|
constructor(numberFormat: TuiNumberFormatSettings);
|
|
6
7
|
transform(value: number, precision: number): string;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiIntegerPartPipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TuiIntegerPartPipe, "tuiIntegerPart">;
|
|
7
10
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { TuiMoneySign, TuiMoneySignSymbol } from '@taiga-ui/addon-commerce/types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class TuiSignSymbolPipe implements PipeTransform {
|
|
4
|
-
transform(value: number, sign:
|
|
5
|
+
transform(value: number, sign: TuiMoneySign): TuiMoneySignSymbol;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSignSymbolPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TuiSignSymbolPipe, "tuiSignSymbol">;
|
|
5
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TuiDecimal, TuiNumberFormatSettings } from '@taiga-ui/core';
|
|
2
2
|
export declare function tuiFormatFractionPart(options: {
|
|
3
3
|
value: number;
|
|
4
|
-
decimal:
|
|
4
|
+
decimal: TuiDecimal;
|
|
5
5
|
precision: number;
|
|
6
6
|
numberFormat: TuiNumberFormatSettings;
|
|
7
7
|
}): string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function tuiFormatSignSymbol(value: number, sign:
|
|
1
|
+
import { TuiMoneySign, TuiMoneySignSymbol } from '@taiga-ui/addon-commerce/types';
|
|
2
|
+
export declare function tuiFormatSignSymbol(value: number, sign: TuiMoneySign): TuiMoneySignSymbol;
|
package/components/package.json
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"main": "../bundles/taiga-ui-addon-commerce-components.umd.js",
|
|
3
|
-
"module": "../
|
|
3
|
+
"module": "../fesm2015/taiga-ui-addon-commerce-components.js",
|
|
4
4
|
"es2015": "../fesm2015/taiga-ui-addon-commerce-components.js",
|
|
5
|
-
"esm5": "../esm5/components/taiga-ui-addon-commerce-components.js",
|
|
6
5
|
"esm2015": "../esm2015/components/taiga-ui-addon-commerce-components.js",
|
|
7
|
-
"fesm5": "../fesm5/taiga-ui-addon-commerce-components.js",
|
|
8
6
|
"fesm2015": "../fesm2015/taiga-ui-addon-commerce-components.js",
|
|
9
7
|
"typings": "taiga-ui-addon-commerce-components.d.ts",
|
|
10
|
-
"metadata": "taiga-ui-addon-commerce-components.metadata.json",
|
|
11
8
|
"sideEffects": false,
|
|
12
9
|
"name": "@taiga-ui/addon-commerce/components"
|
|
13
|
-
}
|
|
10
|
+
}
|
package/constants/package.json
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"main": "../bundles/taiga-ui-addon-commerce-constants.umd.js",
|
|
3
|
-
"module": "../
|
|
3
|
+
"module": "../fesm2015/taiga-ui-addon-commerce-constants.js",
|
|
4
4
|
"es2015": "../fesm2015/taiga-ui-addon-commerce-constants.js",
|
|
5
|
-
"esm5": "../esm5/constants/taiga-ui-addon-commerce-constants.js",
|
|
6
5
|
"esm2015": "../esm2015/constants/taiga-ui-addon-commerce-constants.js",
|
|
7
|
-
"fesm5": "../fesm5/taiga-ui-addon-commerce-constants.js",
|
|
8
6
|
"fesm2015": "../fesm2015/taiga-ui-addon-commerce-constants.js",
|
|
9
7
|
"typings": "taiga-ui-addon-commerce-constants.d.ts",
|
|
10
|
-
"metadata": "taiga-ui-addon-commerce-constants.metadata.json",
|
|
11
8
|
"sideEffects": false,
|
|
12
9
|
"name": "@taiga-ui/addon-commerce/constants"
|
|
13
|
-
}
|
|
10
|
+
}
|
package/enums/currency-code.d.ts
CHANGED
|
@@ -135,11 +135,6 @@ export declare const enum TuiCurrencyCode {
|
|
|
135
135
|
* @description Countries and territories: Hong Kong
|
|
136
136
|
*/
|
|
137
137
|
HongKongDollar = "344",
|
|
138
|
-
/**
|
|
139
|
-
* @deprecated
|
|
140
|
-
* TODO: 3.0 replace with {@link HongKongDollar}
|
|
141
|
-
*/
|
|
142
|
-
HongKong_dollar = "344",
|
|
143
138
|
/**
|
|
144
139
|
* Canadian dollar
|
|
145
140
|
*
|
package/enums/index.d.ts
CHANGED
package/enums/package.json
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"main": "../bundles/taiga-ui-addon-commerce-enums.umd.js",
|
|
3
|
-
"module": "../
|
|
3
|
+
"module": "../fesm2015/taiga-ui-addon-commerce-enums.js",
|
|
4
4
|
"es2015": "../fesm2015/taiga-ui-addon-commerce-enums.js",
|
|
5
|
-
"esm5": "../esm5/enums/taiga-ui-addon-commerce-enums.js",
|
|
6
5
|
"esm2015": "../esm2015/enums/taiga-ui-addon-commerce-enums.js",
|
|
7
|
-
"fesm5": "../fesm5/taiga-ui-addon-commerce-enums.js",
|
|
8
6
|
"fesm2015": "../fesm2015/taiga-ui-addon-commerce-enums.js",
|
|
9
7
|
"typings": "taiga-ui-addon-commerce-enums.d.ts",
|
|
10
|
-
"metadata": "taiga-ui-addon-commerce-enums.metadata.json",
|
|
11
8
|
"sideEffects": false,
|
|
12
9
|
"name": "@taiga-ui/addon-commerce/enums"
|
|
13
|
-
}
|
|
10
|
+
}
|