@commercetools-frontend/experimental-components 0.0.2
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/CHANGELOG.md +7 -0
- package/dist/commercetools-frontend-experimental-components.cjs.dev.js +15285 -0
- package/dist/commercetools-frontend-experimental-components.cjs.js +7 -0
- package/dist/commercetools-frontend-experimental-components.cjs.prod.js +15276 -0
- package/dist/commercetools-frontend-experimental-components.esm.js +14983 -0
- package/package.json +88 -0
- package/src/actions/reference-search/cart-discount/cart-discount.ctp.graphql +29 -0
- package/src/actions/reference-search/cart-discount/cart-discount.js +69 -0
- package/src/actions/reference-search/cart-discount/cart-discount.spec.js +115 -0
- package/src/actions/reference-search/cart-discount/index.js +1 -0
- package/src/actions/reference-search/category/category.ctp.graphql +44 -0
- package/src/actions/reference-search/category/category.js +50 -0
- package/src/actions/reference-search/category/category.spec.js +82 -0
- package/src/actions/reference-search/category/index.js +1 -0
- package/src/components/attribute-definitions/reference-search/cart-discount-reference-search/cart-discount-reference-search.jsx +132 -0
- package/src/components/attribute-definitions/reference-search/cart-discount-reference-search/cart-discount-reference-search.spec.js +225 -0
- package/src/components/attribute-definitions/reference-search/cart-discount-reference-search/index.js +1 -0
- package/src/components/attribute-definitions/reference-search/cart-discount-reference-search/messages.js +33 -0
- package/src/components/attribute-definitions/reference-search/cart-discount-reference-search/option.jsx +45 -0
- package/src/components/attribute-definitions/reference-search/category-reference-search/category-reference-search.jsx +96 -0
- package/src/components/attribute-definitions/reference-search/category-reference-search/category-reference-search.spec.js +281 -0
- package/src/components/attribute-definitions/reference-search/category-reference-search/index.js +2 -0
- package/src/components/attribute-definitions/reference-search/category-reference-search/messages.js +37 -0
- package/src/components/attribute-definitions/reference-search/category-reference-search/option.jsx +71 -0
- package/src/components/attribute-definitions/reference-search/category-reference-search/use-cached-category-options.js +21 -0
- package/src/components/attribute-definitions/reference-search/index.js +10 -0
- package/src/components/attribute-definitions/reference-search/reference-search.jsx +179 -0
- package/src/components/attribute-definitions/reference-search/reference-search.module.css +13 -0
- package/src/components/business-unit-select-field/business-unit-select-field.jsx +141 -0
- package/src/components/business-unit-select-field/index.js +1 -0
- package/src/components/business-unit-select-input/business-unit-select-input.jsx +160 -0
- package/src/components/business-unit-select-input/business-unit-select-input.spec.js +118 -0
- package/src/components/business-unit-select-input/components/business-unit-async-select-input/business-unit-async-select-input.jsx +181 -0
- package/src/components/business-unit-select-input/components/business-unit-async-select-input/index.js +1 -0
- package/src/components/business-unit-select-input/components/business-unit-basic-select-input/business-unit-basic-select-input.jsx +150 -0
- package/src/components/business-unit-select-input/components/business-unit-basic-select-input/index.js +1 -0
- package/src/components/business-unit-select-input/components/business-unit-search-select-input/business-unit-search-select-input.jsx +187 -0
- package/src/components/business-unit-select-input/components/business-unit-search-select-input/fetch-business-units-by-where-predicate.ctp.graphql +9 -0
- package/src/components/business-unit-select-input/components/business-unit-search-select-input/index.js +1 -0
- package/src/components/business-unit-select-input/components/business-unit-search-select-input/mocks/handlers.js +16 -0
- package/src/components/business-unit-select-input/components/business-unit-search-select-input/mocks/index.js +3 -0
- package/src/components/business-unit-select-input/constants.js +2 -0
- package/src/components/business-unit-select-input/hooks/index.js +5 -0
- package/src/components/business-unit-select-input/hooks/use-business-units-by-field-fetcher/fetch-business-units-by-field.ctp.graphql +9 -0
- package/src/components/business-unit-select-input/hooks/use-business-units-by-field-fetcher/index.js +2 -0
- package/src/components/business-unit-select-input/hooks/use-business-units-by-field-fetcher/mocks/handlers.js +17 -0
- package/src/components/business-unit-select-input/hooks/use-business-units-by-field-fetcher/mocks/index.js +3 -0
- package/src/components/business-unit-select-input/hooks/use-business-units-by-field-fetcher/use-business-units-by-field-fetcher.js +35 -0
- package/src/components/business-unit-select-input/hooks/use-business-units-list-fetcher/fetch-business-units-list.ctp.graphql +21 -0
- package/src/components/business-unit-select-input/hooks/use-business-units-list-fetcher/index.js +2 -0
- package/src/components/business-unit-select-input/hooks/use-business-units-list-fetcher/mocks/handlers.js +17 -0
- package/src/components/business-unit-select-input/hooks/use-business-units-list-fetcher/mocks/index.js +3 -0
- package/src/components/business-unit-select-input/hooks/use-business-units-list-fetcher/use-business-units-list-fetcher.js +50 -0
- package/src/components/business-unit-select-input/hooks/use-total-number-of-business-units-fetcher/index.js +2 -0
- package/src/components/business-unit-select-input/hooks/use-total-number-of-business-units-fetcher/mocks/handlers.js +17 -0
- package/src/components/business-unit-select-input/hooks/use-total-number-of-business-units-fetcher/mocks/index.js +3 -0
- package/src/components/business-unit-select-input/hooks/use-total-number-of-business-units-fetcher/total-number-of-business-units.ctp.graphql +5 -0
- package/src/components/business-unit-select-input/hooks/use-total-number-of-business-units-fetcher/use-total-number-of-business-units-fetcher.js +20 -0
- package/src/components/business-unit-select-input/index.js +5 -0
- package/src/components/business-unit-select-input/messages.js +30 -0
- package/src/components/business-unit-select-input/utils.js +27 -0
- package/src/components/buttons/button/button.jsx +42 -0
- package/src/components/buttons/button/button.module.css +214 -0
- package/src/components/buttons/button/button.spec.js +84 -0
- package/src/components/buttons/button/index.js +1 -0
- package/src/components/buttons/button-close/__snapshots__/button-close.spec.js.snap +19 -0
- package/src/components/buttons/button-close/button-close.jsx +37 -0
- package/src/components/buttons/button-close/button-close.module.css +3 -0
- package/src/components/buttons/button-close/button-close.spec.js +68 -0
- package/src/components/buttons/button-close/index.js +1 -0
- package/src/components/buttons/button-group/button-group.jsx +62 -0
- package/src/components/buttons/button-group/button-group.module.css +53 -0
- package/src/components/buttons/button-group/button-group.spec.js +142 -0
- package/src/components/buttons/button-group/index.js +1 -0
- package/src/components/buttons/button-typed/button-typed.jsx +120 -0
- package/src/components/buttons/button-typed/button-typed.spec.js +95 -0
- package/src/components/buttons/button-typed/index.js +1 -0
- package/src/components/buttons/file-input/README.md +45 -0
- package/src/components/buttons/file-input/file-input.jsx +35 -0
- package/src/components/buttons/file-input/file-input.module.css +31 -0
- package/src/components/buttons/file-input/file-input.spec.js +115 -0
- package/src/components/buttons/file-input/index.js +1 -0
- package/src/components/buttons/file-input/messages.js +9 -0
- package/src/components/buttons/index.jsx +42 -0
- package/src/components/centered-loading-spinner/centered-loading-spinner.jsx +18 -0
- package/src/components/centered-loading-spinner/centered-loading-spinner.module.css +7 -0
- package/src/components/centered-loading-spinner/centered-loading-spinner.spec.js +13 -0
- package/src/components/centered-loading-spinner/index.js +2 -0
- package/src/components/channel-picker-input/channel-picker-input.ctp.graphql +24 -0
- package/src/components/channel-picker-input/channel-picker-input.jsx +210 -0
- package/src/components/channel-picker-input/channel-picker-input.spec.js +405 -0
- package/src/components/channel-picker-input/index.js +1 -0
- package/src/components/channel-picker-input/messages.js +14 -0
- package/src/components/channel-picker-input/tracking-events.js +24 -0
- package/src/components/country-picker/components/countries-async-select-dropdown/countries-async-select-dropdown.jsx +89 -0
- package/src/components/country-picker/components/countries-async-select-dropdown/index.js +1 -0
- package/src/components/country-picker/components/countries-basic-select-dropdown/countries-basic-select-dropdown.jsx +50 -0
- package/src/components/country-picker/components/countries-basic-select-dropdown/index.js +1 -0
- package/src/components/country-picker/constants.js +1 -0
- package/src/components/country-picker/country-picker.jsx +49 -0
- package/src/components/country-picker/index.js +1 -0
- package/src/components/country-picker/messages.js +20 -0
- package/src/components/divider/divider.jsx +21 -0
- package/src/components/divider/divider.module.css +25 -0
- package/src/components/divider/index.js +1 -0
- package/src/components/formatted-date-time/README.md +44 -0
- package/src/components/formatted-date-time/__snapshots__/formatted-date-time.spec.js.snap +19 -0
- package/src/components/formatted-date-time/formatted-date-time.jsx +35 -0
- package/src/components/formatted-date-time/formatted-date-time.spec.js +68 -0
- package/src/components/formatted-date-time/index.js +1 -0
- package/src/components/keep-display-name/index.js +1 -0
- package/src/components/keep-display-name/keep-display-name.js +6 -0
- package/src/components/messages.js +17 -0
- package/src/components/modal-container/__snapshots__/modal-container.spec.js.snap +21 -0
- package/src/components/modal-container/index.js +1 -0
- package/src/components/modal-container/modal-container.jsx +36 -0
- package/src/components/modal-container/modal-container.spec.js +10 -0
- package/src/components/modal-content-layout/index.js +1 -0
- package/src/components/modal-content-layout/modal-content-layout.jsx +38 -0
- package/src/components/modal-content-layout/modal-content-layout.module.css +69 -0
- package/src/components/modal-content-layout/modal-content-layout.spec.js +109 -0
- package/src/components/product-attributes/README.md +72 -0
- package/src/components/product-attributes/conversions.js +75 -0
- package/src/components/product-attributes/conversions.spec.js +97 -0
- package/src/components/product-attributes/index.js +3 -0
- package/src/components/product-attributes/product-attribute-input.jsx +68 -0
- package/src/components/product-attributes/product-attributes.jsx +79 -0
- package/src/components/product-picker-input/index.js +1 -0
- package/src/components/product-picker-input/messages.js +14 -0
- package/src/components/product-picker-input/product-picker-input.ctp.graphql +31 -0
- package/src/components/product-picker-input/product-picker-input.jsx +203 -0
- package/src/components/product-picker-input/product-picker-input.spec.js +357 -0
- package/src/components/product-picker-input/tracking-events.js +19 -0
- package/src/components/product-selection-picker/components/product-selection-async-select-dropdown/index.js +1 -0
- package/src/components/product-selection-picker/components/product-selection-async-select-dropdown/product-selection-async-select-dropdown.jsx +113 -0
- package/src/components/product-selection-picker/components/product-selection-basic-select-dropdown/index.js +1 -0
- package/src/components/product-selection-picker/components/product-selection-basic-select-dropdown/product-selection-basic-select-dropdown.jsx +98 -0
- package/src/components/product-selection-picker/components/product-selections-search-select-dropdown/index.js +1 -0
- package/src/components/product-selection-picker/components/product-selections-search-select-dropdown/product-selections-fetcher.ctp.graphql +13 -0
- package/src/components/product-selection-picker/components/product-selections-search-select-dropdown/product-selections-search-select-dropdown.jsx +121 -0
- package/src/components/product-selection-picker/constants.js +2 -0
- package/src/components/product-selection-picker/index.js +1 -0
- package/src/components/product-selection-picker/messages.js +20 -0
- package/src/components/product-selection-picker/product-selection-picker.jsx +84 -0
- package/src/components/product-type-picker-input/index.js +1 -0
- package/src/components/product-type-picker-input/messages.js +14 -0
- package/src/components/product-type-picker-input/product-type-picker-input.ctp.graphql +15 -0
- package/src/components/product-type-picker-input/product-type-picker-input.jsx +172 -0
- package/src/components/product-type-picker-input/product-type-picker-input.spec.js +266 -0
- package/src/components/product-type-picker-input/tracking-events.js +14 -0
- package/src/components/required-indicator/__snapshots__/required-indicator.spec.js.snap +17 -0
- package/src/components/required-indicator/index.js +1 -0
- package/src/components/required-indicator/required-indicator.jsx +16 -0
- package/src/components/required-indicator/required-indicator.module.css +3 -0
- package/src/components/required-indicator/required-indicator.spec.js +14 -0
- package/src/components/scroll-to-field-error/index.js +1 -0
- package/src/components/scroll-to-field-error/scroll-to-field-error.js +32 -0
- package/src/components/selectable-field-search-input/index.js +1 -0
- package/src/components/selectable-field-search-input/messages.js +14 -0
- package/src/components/selectable-field-search-input/selectable-field-search-input.jsx +147 -0
- package/src/components/selectable-field-search-input/selectable-field-search-input.module.css +14 -0
- package/src/components/selectable-field-search-input/selectable-field-search-input.spec.js +82 -0
- package/src/components/state-picker-input/index.js +1 -0
- package/src/components/state-picker-input/messages.js +14 -0
- package/src/components/state-picker-input/state-picker-input.ctp.graphql +24 -0
- package/src/components/state-picker-input/state-picker-input.jsx +204 -0
- package/src/components/state-picker-input/state-picker-input.spec.js +447 -0
- package/src/components/state-picker-input/tracking-events.js +24 -0
- package/src/components/store-select-field/index.js +1 -0
- package/src/components/store-select-field/store-select-field.jsx +145 -0
- package/src/components/store-select-input/components/stores-async-select-input/index.js +1 -0
- package/src/components/store-select-input/components/stores-async-select-input/stores-async-select-input.jsx +214 -0
- package/src/components/store-select-input/components/stores-basic-select-input/index.js +1 -0
- package/src/components/store-select-input/components/stores-basic-select-input/stores-basic-select-input.jsx +172 -0
- package/src/components/store-select-input/components/stores-search-select-input/fetch-stores-by-where-predicate.ctp.graphql +26 -0
- package/src/components/store-select-input/components/stores-search-select-input/index.js +2 -0
- package/src/components/store-select-input/components/stores-search-select-input/mocks/handlers.js +16 -0
- package/src/components/store-select-input/components/stores-search-select-input/mocks/index.js +3 -0
- package/src/components/store-select-input/components/stores-search-select-input/stores-search-select-input.jsx +261 -0
- package/src/components/store-select-input/constants.js +2 -0
- package/src/components/store-select-input/hooks/index.js +4 -0
- package/src/components/store-select-input/hooks/use-stores-by-field-fetcher/fetch-stores-by-field.ctp.graphql +22 -0
- package/src/components/store-select-input/hooks/use-stores-by-field-fetcher/index.js +2 -0
- package/src/components/store-select-input/hooks/use-stores-by-field-fetcher/mocks/handlers.js +16 -0
- package/src/components/store-select-input/hooks/use-stores-by-field-fetcher/mocks/index.js +3 -0
- package/src/components/store-select-input/hooks/use-stores-by-field-fetcher/use-stores-by-field-fetcher.js +47 -0
- package/src/components/store-select-input/hooks/use-total-number-of-stores-fetcher/index.js +2 -0
- package/src/components/store-select-input/hooks/use-total-number-of-stores-fetcher/mocks/handlers.js +16 -0
- package/src/components/store-select-input/hooks/use-total-number-of-stores-fetcher/mocks/index.js +3 -0
- package/src/components/store-select-input/hooks/use-total-number-of-stores-fetcher/total-number-of-stores.ctp.graphql +5 -0
- package/src/components/store-select-input/hooks/use-total-number-of-stores-fetcher/use-total-number-of-stores-fetcher.js +20 -0
- package/src/components/store-select-input/index.js +4 -0
- package/src/components/store-select-input/messages.js +36 -0
- package/src/components/store-select-input/store-select-input.jsx +163 -0
- package/src/components/store-select-input/store-select-input.spec.js +124 -0
- package/src/components/store-select-input/utils.js +40 -0
- package/src/components/tooltip/index.js +1 -0
- package/src/components/tooltip/tooltip.jsx +192 -0
- package/src/components/tooltip/tooltip.module.css +281 -0
- package/src/components/tooltip/tooltip.spec.js +138 -0
- package/src/components/validated-input/__snapshots__/validated-input.spec.js.snap +13 -0
- package/src/components/validated-input/index.js +2 -0
- package/src/components/validated-input/validated-input.jsx +318 -0
- package/src/components/validated-input/validated-input.module.css +9 -0
- package/src/components/validated-input/validated-input.spec.js +91 -0
- package/src/components/validation-error/README.md +87 -0
- package/src/components/validation-error/__snapshots__/validation-error-match.spec.js.snap +9 -0
- package/src/components/validation-error/__snapshots__/validation-error-switch.spec.js.snap +12 -0
- package/src/components/validation-error/index.js +4 -0
- package/src/components/validation-error/validation-error-match.js +31 -0
- package/src/components/validation-error/validation-error-match.spec.js +102 -0
- package/src/components/validation-error/validation-error-switch.js +45 -0
- package/src/components/validation-error/validation-error-switch.spec.js +78 -0
- package/src/components/with-mouse-over-state/README.md +33 -0
- package/src/components/with-mouse-over-state/index.js +1 -0
- package/src/components/with-mouse-over-state/with-mouse-over-state.jsx +32 -0
- package/src/components/with-mouse-over-state/with-mouse-over-state.spec.js +35 -0
- package/src/constants/index.js +114 -0
- package/src/custom-fields/custom-field-definitions-connector/README.md +90 -0
- package/src/custom-fields/custom-field-definitions-connector/__snapshots__/custom-field-definitions-connector.spec.js.snap +7 -0
- package/src/custom-fields/custom-field-definitions-connector/custom-field-definitions-connector.ctp.graphql +54 -0
- package/src/custom-fields/custom-field-definitions-connector/custom-field-definitions-connector.js +150 -0
- package/src/custom-fields/custom-field-definitions-connector/custom-field-definitions-connector.spec.js +288 -0
- package/src/custom-fields/custom-field-definitions-connector/index.js +3 -0
- package/src/custom-fields/custom-field-definitions-connector/mocks/handlers.js +16 -0
- package/src/custom-fields/custom-field-definitions-connector/mocks/index.js +4 -0
- package/src/custom-fields/custom-field-type-definitions-connector/README.md +193 -0
- package/src/custom-fields/custom-field-type-definitions-connector/__snapshots__/custom-field-type-definitions-connector.spec.js.snap +7 -0
- package/src/custom-fields/custom-field-type-definitions-connector/custom-field-type-definitions-connector.ctp.graphql +72 -0
- package/src/custom-fields/custom-field-type-definitions-connector/custom-field-type-definitions-connector.js +131 -0
- package/src/custom-fields/custom-field-type-definitions-connector/custom-field-type-definitions-connector.spec.js +82 -0
- package/src/custom-fields/custom-field-type-definitions-connector/index.js +1 -0
- package/src/custom-fields/custom-field-type-definitions-connector/utils.js +89 -0
- package/src/custom-fields/custom-field-type-definitions-connector/utils.spec.js +235 -0
- package/src/custom-fields/custom-fields/README.md +75 -0
- package/src/custom-fields/custom-fields/constants.js +38 -0
- package/src/custom-fields/custom-fields/custom-field-errors.jsx +60 -0
- package/src/custom-fields/custom-fields/custom-field-input.jsx +100 -0
- package/src/custom-fields/custom-fields/custom-field-tooltip.jsx +34 -0
- package/src/custom-fields/custom-fields/custom-fields-internal.jsx +148 -0
- package/src/custom-fields/custom-fields/custom-fields-label/cart-discounts-count.ctp.graphql +5 -0
- package/src/custom-fields/custom-fields/custom-fields-label/custom-fields-label.jsx +156 -0
- package/src/custom-fields/custom-fields/custom-fields-label/custom-fields-label.spec.js +92 -0
- package/src/custom-fields/custom-fields/custom-fields-label/index.js +1 -0
- package/src/custom-fields/custom-fields/custom-fields-label/messages.js +37 -0
- package/src/custom-fields/custom-fields/custom-fields.jsx +61 -0
- package/src/custom-fields/custom-fields/custom-nested-field-input/custom-nested-field-input.jsx +66 -0
- package/src/custom-fields/custom-fields/custom-nested-field-input/fetch-product-type.ctp.graphql +82 -0
- package/src/custom-fields/custom-fields/custom-nested-field-input/index.js +1 -0
- package/src/custom-fields/custom-fields/custom-nested-field-input/messages.js +9 -0
- package/src/custom-fields/custom-fields/custom-nested-field-input/product-type-reference.jsx +20 -0
- package/src/custom-fields/custom-fields/custom-nested-field-input/use-nested-product-type.js +72 -0
- package/src/custom-fields/custom-fields/index.js +5 -0
- package/src/custom-fields/custom-fields/nesting-level-context.js +5 -0
- package/src/custom-fields/custom-fields/set/custom-boolean-input-set.jsx +69 -0
- package/src/custom-fields/custom-fields/set/custom-boolean-input-set.spec.js +89 -0
- package/src/custom-fields/custom-fields/set/custom-input-set.jsx +233 -0
- package/src/custom-fields/custom-fields/set/custom-input-set.spec.js +193 -0
- package/src/custom-fields/custom-fields/set/expand-button.jsx +37 -0
- package/src/custom-fields/custom-fields/set/expand-button.spec.js +43 -0
- package/src/custom-fields/custom-fields/set/set-buttons.jsx +47 -0
- package/src/custom-fields/custom-fields/set/set-buttons.module.css +7 -0
- package/src/custom-fields/custom-fields/set/set-buttons.spec.js +39 -0
- package/src/custom-fields/custom-fields/test-utils.jsx +167 -0
- package/src/custom-fields/custom-fields/types/custom-boolean-input.jsx +49 -0
- package/src/custom-fields/custom-fields/types/custom-boolean-input.spec.js +51 -0
- package/src/custom-fields/custom-fields/types/custom-date-time-input.jsx +53 -0
- package/src/custom-fields/custom-fields/types/custom-date-time-input.spec.js +116 -0
- package/src/custom-fields/custom-fields/types/custom-enum-input.jsx +61 -0
- package/src/custom-fields/custom-fields/types/custom-enum-input.spec.js +113 -0
- package/src/custom-fields/custom-fields/types/custom-localized-enum-input.jsx +70 -0
- package/src/custom-fields/custom-fields/types/custom-localized-enum-input.spec.js +133 -0
- package/src/custom-fields/custom-fields/types/custom-localized-text-input.jsx +86 -0
- package/src/custom-fields/custom-fields/types/custom-localized-text-input.spec.js +99 -0
- package/src/custom-fields/custom-fields/types/custom-money-input.jsx +117 -0
- package/src/custom-fields/custom-fields/types/custom-money-input.module.css +3 -0
- package/src/custom-fields/custom-fields/types/custom-money-input.spec.js +124 -0
- package/src/custom-fields/custom-fields/types/custom-nested-input/custom-nested-input.jsx +331 -0
- package/src/custom-fields/custom-fields/types/custom-nested-input/custom-nested-input.spec.js +470 -0
- package/src/custom-fields/custom-fields/types/custom-nested-input/index.js +1 -0
- package/src/custom-fields/custom-fields/types/custom-nested-input/messages.js +82 -0
- package/src/custom-fields/custom-fields/types/custom-number-input.jsx +34 -0
- package/src/custom-fields/custom-fields/types/custom-number-input.spec.js +42 -0
- package/src/custom-fields/custom-fields/types/custom-reference-input/custom-cart-discount-reference-input.jsx +44 -0
- package/src/custom-fields/custom-fields/types/custom-reference-input/custom-cart-discount-reference-input.spec.js +132 -0
- package/src/custom-fields/custom-fields/types/custom-reference-input/custom-category-reference-input.jsx +46 -0
- package/src/custom-fields/custom-fields/types/custom-reference-input/custom-category-reference-input.spec.js +134 -0
- package/src/custom-fields/custom-fields/types/custom-reference-input/custom-channel-reference-input.jsx +36 -0
- package/src/custom-fields/custom-fields/types/custom-reference-input/custom-channel-reference-input.spec.js +130 -0
- package/src/custom-fields/custom-fields/types/custom-reference-input/custom-product-reference-input.jsx +37 -0
- package/src/custom-fields/custom-fields/types/custom-reference-input/custom-product-reference-input.spec.js +123 -0
- package/src/custom-fields/custom-fields/types/custom-reference-input/custom-product-type-reference-input.jsx +36 -0
- package/src/custom-fields/custom-fields/types/custom-reference-input/custom-product-type-reference-input.spec.js +146 -0
- package/src/custom-fields/custom-fields/types/custom-reference-input/custom-raw-id-reference-input.jsx +32 -0
- package/src/custom-fields/custom-fields/types/custom-reference-input/custom-raw-id-reference-input.spec.js +83 -0
- package/src/custom-fields/custom-fields/types/custom-reference-input/custom-reference-input.jsx +78 -0
- package/src/custom-fields/custom-fields/types/custom-reference-input/custom-state-reference-input.jsx +36 -0
- package/src/custom-fields/custom-fields/types/custom-reference-input/custom-state-reference-input.spec.js +130 -0
- package/src/custom-fields/custom-fields/types/custom-reference-input/index.js +1 -0
- package/src/custom-fields/custom-fields/types/custom-text-input.jsx +46 -0
- package/src/custom-fields/custom-fields/types/custom-text-input.spec.js +66 -0
- package/src/custom-fields/custom-fields/types/custom-time-input.jsx +74 -0
- package/src/custom-fields/custom-fields/types/custom-time-input.spec.js +91 -0
- package/src/custom-fields/custom-fields/utils/index.js +1 -0
- package/src/custom-fields/custom-fields/utils/utils.js +22 -0
- package/src/custom-fields/custom-fields/validations/index.js +1 -0
- package/src/custom-fields/custom-fields/validations/validations.js +117 -0
- package/src/custom-fields/custom-fields/validations/validations.spec.js +134 -0
- package/src/custom-fields/custom-fields-error-text-notification/custom-fields-error-text-notification.jsx +29 -0
- package/src/custom-fields/custom-fields-error-text-notification/custom-fields-error-text-notification.spec.js +31 -0
- package/src/custom-fields/custom-fields-error-text-notification/index.js +1 -0
- package/src/custom-fields/custom-fields-error-text-notification/messages.js +10 -0
- package/src/custom-fields/messages/custom-fields.js +17 -0
- package/src/features/picker/index.js +11 -0
- package/src/features/picker/shared/components/index.js +1 -0
- package/src/features/picker/shared/components/messages.js +9 -0
- package/src/features/picker/shared/components/option.jsx +51 -0
- package/src/features/picker/shared/hooks/use-current-option.js +24 -0
- package/src/features/picker/shared/hooks/use-current-option.spec.js +125 -0
- package/src/features/picker/shared/hooks/use-handlers.js +42 -0
- package/src/features/picker/shared/hooks/use-load-options.js +63 -0
- package/src/features/picker/shared/hooks/use-load-options.spec.js +63 -0
- package/src/features/picker/shared/hooks/use-product-type-options.js +190 -0
- package/src/features/picker/shared/hooks/use-product-type-options.spec.js +151 -0
- package/src/features/pim-indexer/components/index.js +5 -0
- package/src/features/pim-indexer/components/pim-indexer-context/index.js +1 -0
- package/src/features/pim-indexer/components/pim-indexer-context/pim-indexer-context.js +28 -0
- package/src/features/pim-indexer/components/pim-indexer-provider/fetch-indices-exist.pim-indexer.graphql +12 -0
- package/src/features/pim-indexer/components/pim-indexer-provider/fetch-pim-index-status.js +42 -0
- package/src/features/pim-indexer/components/pim-indexer-provider/fetch-pim-index-status.spec.js +128 -0
- package/src/features/pim-indexer/components/pim-indexer-provider/index.js +1 -0
- package/src/features/pim-indexer/components/pim-indexer-provider/messages.js +17 -0
- package/src/features/pim-indexer/components/pim-indexer-provider/pim-indexer-provider.jsx +287 -0
- package/src/features/pim-indexer/components/pim-indexer-provider/pim-indexer-provider.spec.js +80 -0
- package/src/features/pim-indexer/components/pim-indexer-provider/pim-indexer.pim-indexer.graphql +55 -0
- package/src/features/pim-indexer/components/with-pim-indexer/index.js +1 -0
- package/src/features/pim-indexer/components/with-pim-indexer/with-pim-indexer.jsx +19 -0
- package/src/features/pim-indexer/hocs/index.js +2 -0
- package/src/features/pim-indexer/hocs/inject-pim-indexer/index.js +1 -0
- package/src/features/pim-indexer/hocs/inject-pim-indexer/inject-pim-indexer.jsx +23 -0
- package/src/features/pim-indexer/hocs/inject-pim-indexer/inject-pim-indexer.spec.js +37 -0
- package/src/features/pim-indexer/hooks/index.js +2 -0
- package/src/features/pim-indexer/hooks/use-pim-indexer/index.js +1 -0
- package/src/features/pim-indexer/hooks/use-pim-indexer/use-pim-indexer.js +6 -0
- package/src/features/pim-indexer/index.js +6 -0
- package/src/features/platform-limits/assets/graphic-limits-reached.react.svg +50 -0
- package/src/features/platform-limits/customer-groups/components/index.js +5 -0
- package/src/features/platform-limits/customer-groups/components/platform-limits-customer-groups-combined/index.js +1 -0
- package/src/features/platform-limits/customer-groups/components/platform-limits-customer-groups-combined/platform-limits-customer-groups-combined.jsx +32 -0
- package/src/features/platform-limits/customer-groups/components/platform-limits-customer-groups-combined/platform-limits-customer-groups-combined.module.css +3 -0
- package/src/features/platform-limits/customer-groups/components/platform-limits-customer-groups-error-modal/index.js +1 -0
- package/src/features/platform-limits/customer-groups/components/platform-limits-customer-groups-error-modal/messages.js +15 -0
- package/src/features/platform-limits/customer-groups/components/platform-limits-customer-groups-error-modal/platform-limits-customer-groups-error-modal.jsx +43 -0
- package/src/features/platform-limits/customer-groups/components/platform-limits-customer-groups-notification/index.js +1 -0
- package/src/features/platform-limits/customer-groups/components/platform-limits-customer-groups-notification/platform-limits-customer-groups-notification.jsx +42 -0
- package/src/features/platform-limits/customer-groups/components/platform-limits-customer-groups-notification/platform-limits-customer-groups-notification.spec.js +51 -0
- package/src/features/platform-limits/customer-groups/components/platform-limits-customer-groups-status/index.js +1 -0
- package/src/features/platform-limits/customer-groups/components/platform-limits-customer-groups-status/messages.js +9 -0
- package/src/features/platform-limits/customer-groups/components/platform-limits-customer-groups-status/platform-limits-customer-groups-status.jsx +37 -0
- package/src/features/platform-limits/customer-groups/components/platform-limits-customer-groups-status/platform-limits-customer-groups-status.module.css +3 -0
- package/src/features/platform-limits/customer-groups/components/platform-limits-customer-groups-tooltip/index.js +1 -0
- package/src/features/platform-limits/customer-groups/components/platform-limits-customer-groups-tooltip/messages.js +9 -0
- package/src/features/platform-limits/customer-groups/components/platform-limits-customer-groups-tooltip/platform-limits-customer-groups-tooltip.jsx +18 -0
- package/src/features/platform-limits/customer-groups/hocs/index.js +2 -0
- package/src/features/platform-limits/customer-groups/hocs/inject-customer-groups-platform-limits/index.js +1 -0
- package/src/features/platform-limits/customer-groups/hocs/inject-customer-groups-platform-limits/inject-customer-groups-platform-limits.jsx +23 -0
- package/src/features/platform-limits/customer-groups/hooks/index.js +4 -0
- package/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits/index.js +1 -0
- package/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits/use-customer-groups-platform-limits.js +40 -0
- package/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits-fetcher/index.js +1 -0
- package/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits-fetcher/use-customer-groups-platform-limits-fetcher.js +18 -0
- package/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits-fetcher/use-customer-groups-platform-limits-fetcher.spec.js +45 -0
- package/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits-modal-state/index.js +1 -0
- package/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits-modal-state/use-customer-groups-platform-limits-modal-state.js +21 -0
- package/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits-modal-state/use-customer-groups-platform-limits-modal-state.spec.js +39 -0
- package/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits-status/index.js +1 -0
- package/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits-status/use-customer-groups-platform-limits-status.js +35 -0
- package/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits-status/use-customer-groups-platform-limits-status.spec.js +66 -0
- package/src/features/platform-limits/customer-groups/index.js +3 -0
- package/src/features/platform-limits/customers/components/index.js +5 -0
- package/src/features/platform-limits/customers/components/platform-limits-customers-combined/index.js +1 -0
- package/src/features/platform-limits/customers/components/platform-limits-customers-combined/platform-limits-customers-combined.jsx +28 -0
- package/src/features/platform-limits/customers/components/platform-limits-customers-combined/platform-limits-customers-combined.module.css +3 -0
- package/src/features/platform-limits/customers/components/platform-limits-customers-error-modal/index.js +1 -0
- package/src/features/platform-limits/customers/components/platform-limits-customers-error-modal/messages.js +14 -0
- package/src/features/platform-limits/customers/components/platform-limits-customers-error-modal/platform-limits-customers-error-modal.jsx +43 -0
- package/src/features/platform-limits/customers/components/platform-limits-customers-notification/index.js +1 -0
- package/src/features/platform-limits/customers/components/platform-limits-customers-notification/platform-limits-customers-notification.jsx +40 -0
- package/src/features/platform-limits/customers/components/platform-limits-customers-notification/platform-limits-customers-notification.spec.js +51 -0
- package/src/features/platform-limits/customers/components/platform-limits-customers-status/index.js +1 -0
- package/src/features/platform-limits/customers/components/platform-limits-customers-status/messages.js +9 -0
- package/src/features/platform-limits/customers/components/platform-limits-customers-status/platform-limits-customers-status.jsx +36 -0
- package/src/features/platform-limits/customers/components/platform-limits-customers-status/platform-limits-customers-status.module.css +3 -0
- package/src/features/platform-limits/customers/components/platform-limits-customers-tooltip/index.js +1 -0
- package/src/features/platform-limits/customers/components/platform-limits-customers-tooltip/messages.js +9 -0
- package/src/features/platform-limits/customers/components/platform-limits-customers-tooltip/platform-limits-customers-tooltip.jsx +17 -0
- package/src/features/platform-limits/customers/hocs/index.js +2 -0
- package/src/features/platform-limits/customers/hocs/inject-customers-platform-limits/index.js +1 -0
- package/src/features/platform-limits/customers/hocs/inject-customers-platform-limits/inject-customers-platform-limits.jsx +23 -0
- package/src/features/platform-limits/customers/hooks/index.js +4 -0
- package/src/features/platform-limits/customers/hooks/use-customers-platform-limits/index.js +1 -0
- package/src/features/platform-limits/customers/hooks/use-customers-platform-limits/use-customers-platform-limits.js +38 -0
- package/src/features/platform-limits/customers/hooks/use-customers-platform-limits-fetcher/index.js +1 -0
- package/src/features/platform-limits/customers/hooks/use-customers-platform-limits-fetcher/use-customers-platform-limits-fetcher.js +18 -0
- package/src/features/platform-limits/customers/hooks/use-customers-platform-limits-fetcher/use-customers-platform-limits-fetcher.spec.js +43 -0
- package/src/features/platform-limits/customers/hooks/use-customers-platform-limits-modal-state/index.js +1 -0
- package/src/features/platform-limits/customers/hooks/use-customers-platform-limits-modal-state/use-customers-platform-limits-modal-state.js +20 -0
- package/src/features/platform-limits/customers/hooks/use-customers-platform-limits-modal-state/use-customers-platform-limits-modal-state.spec.js +39 -0
- package/src/features/platform-limits/customers/hooks/use-customers-platform-limits-status/index.js +1 -0
- package/src/features/platform-limits/customers/hooks/use-customers-platform-limits-status/use-customers-platform-limits-status.js +35 -0
- package/src/features/platform-limits/customers/hooks/use-customers-platform-limits-status/use-customers-platform-limits-status.spec.js +61 -0
- package/src/features/platform-limits/customers/index.js +3 -0
- package/src/features/platform-limits/index.js +21 -0
- package/src/features/platform-limits/shared/components/index.js +2 -0
- package/src/features/platform-limits/shared/components/notifications/error/error.jsx +33 -0
- package/src/features/platform-limits/shared/components/notifications/error/index.js +1 -0
- package/src/features/platform-limits/shared/components/notifications/error/messages.js +34 -0
- package/src/features/platform-limits/shared/components/notifications/index.js +1 -0
- package/src/features/platform-limits/shared/components/notifications/notifications.js +9 -0
- package/src/features/platform-limits/shared/components/notifications/warning/index.js +1 -0
- package/src/features/platform-limits/shared/components/notifications/warning/messages.js +34 -0
- package/src/features/platform-limits/shared/components/notifications/warning/warning.jsx +41 -0
- package/src/features/platform-limits/shared/components/status-text/index.js +1 -0
- package/src/features/platform-limits/shared/components/status-text/status-text.jsx +19 -0
- package/src/features/platform-limits/shared/constants.js +16 -0
- package/src/features/platform-limits/shared/hooks/index.js +5 -0
- package/src/features/platform-limits/shared/hooks/use-intercept-navigation/index.js +1 -0
- package/src/features/platform-limits/shared/hooks/use-intercept-navigation/use-intercept-navigation.js +31 -0
- package/src/features/platform-limits/shared/hooks/use-intercept-navigation/use-intercept-navigation.spec.js +76 -0
- package/src/features/platform-limits/shared/hooks/use-limits-modal-state/index.js +1 -0
- package/src/features/platform-limits/shared/hooks/use-limits-modal-state/use-limits-modal-state.js +17 -0
- package/src/features/platform-limits/shared/hooks/use-limits-modal-state/use-limits-modal-state.spec.js +33 -0
- package/src/features/platform-limits/shared/hooks/use-platform-limits-fetcher/__mocks__/index.js +405 -0
- package/src/features/platform-limits/shared/hooks/use-platform-limits-fetcher/index.js +1 -0
- package/src/features/platform-limits/shared/hooks/use-platform-limits-fetcher/mocks/handlers.js +16 -0
- package/src/features/platform-limits/shared/hooks/use-platform-limits-fetcher/mocks/index.js +4 -0
- package/src/features/platform-limits/shared/hooks/use-platform-limits-fetcher/platform-limits-query-variables.js +18 -0
- package/src/features/platform-limits/shared/hooks/use-platform-limits-fetcher/use-platform-limits-fetcher.ctp.graphql +87 -0
- package/src/features/platform-limits/shared/hooks/use-platform-limits-fetcher/use-platform-limits-fetcher.js +30 -0
- package/src/features/platform-limits/shared/hooks/use-platform-limits-fetcher/use-platform-limits-fetcher.spec.js +202 -0
- package/src/features/platform-limits/shared/index.js +15 -0
- package/src/features/platform-limits/shared/utils/index.js +5 -0
- package/src/features/platform-limits/shared/utils/utils.js +17 -0
- package/src/features/platform-limits/shared/utils/utils.spec.js +126 -0
- package/src/features/platform-limits/shipping-methods/components/index.js +3 -0
- package/src/features/platform-limits/shipping-methods/components/platform-limits-shipping-methods-notification/index.js +1 -0
- package/src/features/platform-limits/shipping-methods/components/platform-limits-shipping-methods-notification/platform-limits-shipping-methods-notification.jsx +42 -0
- package/src/features/platform-limits/shipping-methods/components/platform-limits-shipping-methods-notification/platform-limits-shipping-methods-notification.spec.js +51 -0
- package/src/features/platform-limits/shipping-methods/components/platform-limits-shipping-methods-status/index.js +1 -0
- package/src/features/platform-limits/shipping-methods/components/platform-limits-shipping-methods-status/messages.js +9 -0
- package/src/features/platform-limits/shipping-methods/components/platform-limits-shipping-methods-status/platform-limits-shipping-methods-status.jsx +29 -0
- package/src/features/platform-limits/shipping-methods/components/platform-limits-shipping-methods-status/platform-limits-shipping-methods-status.spec.js +37 -0
- package/src/features/platform-limits/shipping-methods/components/platform-limits-shipping-methods-tooltip/index.js +1 -0
- package/src/features/platform-limits/shipping-methods/components/platform-limits-shipping-methods-tooltip/messages.js +10 -0
- package/src/features/platform-limits/shipping-methods/components/platform-limits-shipping-methods-tooltip/platform-limits-shipping-methods-tooltip.jsx +18 -0
- package/src/features/platform-limits/shipping-methods/hocs/index.js +2 -0
- package/src/features/platform-limits/shipping-methods/hocs/inject-shipping-methods-platform-limits/index.js +1 -0
- package/src/features/platform-limits/shipping-methods/hocs/inject-shipping-methods-platform-limits/inject-shipping-methods-platform-limits.jsx +23 -0
- package/src/features/platform-limits/shipping-methods/hooks/index.js +3 -0
- package/src/features/platform-limits/shipping-methods/hooks/use-shipping-methods-platform-limits/index.js +1 -0
- package/src/features/platform-limits/shipping-methods/hooks/use-shipping-methods-platform-limits/use-shipping-methods-platform-limits.js +30 -0
- package/src/features/platform-limits/shipping-methods/hooks/use-shipping-methods-platform-limits-fetcher/index.js +1 -0
- package/src/features/platform-limits/shipping-methods/hooks/use-shipping-methods-platform-limits-fetcher/use-shipping-methods-platform-limits-fetcher.js +18 -0
- package/src/features/platform-limits/shipping-methods/hooks/use-shipping-methods-platform-limits-fetcher/use-shipping-methods-platform-limits-fetcher.spec.js +46 -0
- package/src/features/platform-limits/shipping-methods/hooks/use-shipping-methods-platform-limits-status/index.js +1 -0
- package/src/features/platform-limits/shipping-methods/hooks/use-shipping-methods-platform-limits-status/use-shipping-methods-platform-limits-status.js +35 -0
- package/src/features/platform-limits/shipping-methods/hooks/use-shipping-methods-platform-limits-status/use-shipping-methods-platform-limits-status.spec.js +67 -0
- package/src/features/platform-limits/shipping-methods/index.js +3 -0
- package/src/features/platform-limits/stores/hooks/index.js +3 -0
- package/src/features/platform-limits/stores/hooks/use-store-platform-limits/index.js +1 -0
- package/src/features/platform-limits/stores/hooks/use-store-platform-limits/use-store-platform-limits.js +19 -0
- package/src/features/platform-limits/stores/hooks/use-store-platform-limits-fetcher/index.js +1 -0
- package/src/features/platform-limits/stores/hooks/use-store-platform-limits-fetcher/use-store-platform-limits-fetcher.js +28 -0
- package/src/features/platform-limits/stores/hooks/use-store-platform-limits-fetcher/use-store-platform-limits-fetcher.spec.js +51 -0
- package/src/features/platform-limits/stores/hooks/use-store-platform-limits-status/index.js +1 -0
- package/src/features/platform-limits/stores/hooks/use-store-platform-limits-status/use-store-platform-limits-status.js +35 -0
- package/src/features/platform-limits/stores/hooks/use-store-platform-limits-status/use-store-platform-limits-status.spec.js +61 -0
- package/src/features/platform-limits/stores/index.js +1 -0
- package/src/features/platform-limits/tax-categories/components/index.js +3 -0
- package/src/features/platform-limits/tax-categories/components/platform-limits-tax-categories-notification/index.js +1 -0
- package/src/features/platform-limits/tax-categories/components/platform-limits-tax-categories-notification/platform-limits-tax-categories-notification.jsx +42 -0
- package/src/features/platform-limits/tax-categories/components/platform-limits-tax-categories-notification/platform-limits-tax-categories-notification.spec.js +51 -0
- package/src/features/platform-limits/tax-categories/components/platform-limits-tax-categories-status/index.js +1 -0
- package/src/features/platform-limits/tax-categories/components/platform-limits-tax-categories-status/messages.js +9 -0
- package/src/features/platform-limits/tax-categories/components/platform-limits-tax-categories-status/platform-limits-tax-categories-status.jsx +29 -0
- package/src/features/platform-limits/tax-categories/components/platform-limits-tax-categories-status/platform-limits-tax-categories-status.spec.js +37 -0
- package/src/features/platform-limits/tax-categories/components/platform-limits-tax-categories-tooltip/index.js +1 -0
- package/src/features/platform-limits/tax-categories/components/platform-limits-tax-categories-tooltip/messages.js +9 -0
- package/src/features/platform-limits/tax-categories/components/platform-limits-tax-categories-tooltip/platform-limits-tax-categories-tooltip.jsx +18 -0
- package/src/features/platform-limits/tax-categories/hocs/index.js +2 -0
- package/src/features/platform-limits/tax-categories/hocs/inject-tax-categories-platform-limits/index.js +1 -0
- package/src/features/platform-limits/tax-categories/hocs/inject-tax-categories-platform-limits/inject-tax-categories-platform-limits.jsx +23 -0
- package/src/features/platform-limits/tax-categories/hooks/index.js +3 -0
- package/src/features/platform-limits/tax-categories/hooks/use-tax-categories-platform-limits/index.js +1 -0
- package/src/features/platform-limits/tax-categories/hooks/use-tax-categories-platform-limits/use-tax-categories-platform-limits.js +30 -0
- package/src/features/platform-limits/tax-categories/hooks/use-tax-categories-platform-limits-fetcher/index.js +1 -0
- package/src/features/platform-limits/tax-categories/hooks/use-tax-categories-platform-limits-fetcher/use-tax-categories-platform-limits-fetcher.js +18 -0
- package/src/features/platform-limits/tax-categories/hooks/use-tax-categories-platform-limits-fetcher/use-tax-categories-platform-limits-fetcher.spec.js +48 -0
- package/src/features/platform-limits/tax-categories/hooks/use-tax-categories-platform-limits-status/index.js +1 -0
- package/src/features/platform-limits/tax-categories/hooks/use-tax-categories-platform-limits-status/use-tax-categories-platform-limits-status.js +35 -0
- package/src/features/platform-limits/tax-categories/hooks/use-tax-categories-platform-limits-status/use-tax-categories-platform-limits-status.spec.js +66 -0
- package/src/features/platform-limits/tax-categories/index.js +3 -0
- package/src/features/platform-limits/test-utils/index.js +1 -0
- package/src/features/platform-limits/zones/components/index.js +3 -0
- package/src/features/platform-limits/zones/components/platform-limits-zones-notification/index.js +1 -0
- package/src/features/platform-limits/zones/components/platform-limits-zones-notification/platform-limits-zones-notification.jsx +40 -0
- package/src/features/platform-limits/zones/components/platform-limits-zones-notification/platform-limits-zones-notification.spec.js +51 -0
- package/src/features/platform-limits/zones/components/platform-limits-zones-status/index.js +1 -0
- package/src/features/platform-limits/zones/components/platform-limits-zones-status/messages.js +9 -0
- package/src/features/platform-limits/zones/components/platform-limits-zones-status/platform-limits-zones-status.jsx +32 -0
- package/src/features/platform-limits/zones/components/platform-limits-zones-status/platform-limits-zones-status.spec.js +37 -0
- package/src/features/platform-limits/zones/components/platform-limits-zones-tooltip/index.js +1 -0
- package/src/features/platform-limits/zones/components/platform-limits-zones-tooltip/messages.js +9 -0
- package/src/features/platform-limits/zones/components/platform-limits-zones-tooltip/platform-limits-zones-tooltip.jsx +17 -0
- package/src/features/platform-limits/zones/hocs/index.js +2 -0
- package/src/features/platform-limits/zones/hocs/inject-zones-platform-limits/index.js +1 -0
- package/src/features/platform-limits/zones/hocs/inject-zones-platform-limits/inject-zones-platform-limits.jsx +23 -0
- package/src/features/platform-limits/zones/hooks/index.js +3 -0
- package/src/features/platform-limits/zones/hooks/use-zones-platform-limits/index.js +1 -0
- package/src/features/platform-limits/zones/hooks/use-zones-platform-limits/use-zones-platform-limits.js +24 -0
- package/src/features/platform-limits/zones/hooks/use-zones-platform-limits-fetcher/index.js +1 -0
- package/src/features/platform-limits/zones/hooks/use-zones-platform-limits-fetcher/use-zones-platform-limits-fetcher.js +18 -0
- package/src/features/platform-limits/zones/hooks/use-zones-platform-limits-fetcher/use-zones-platform-limits-fetcher.spec.js +42 -0
- package/src/features/platform-limits/zones/hooks/use-zones-platform-limits-status/index.js +1 -0
- package/src/features/platform-limits/zones/hooks/use-zones-platform-limits-status/use-zones-platform-limits-status.js +35 -0
- package/src/features/platform-limits/zones/hooks/use-zones-platform-limits-status/use-zones-platform-limits-status.spec.js +61 -0
- package/src/features/platform-limits/zones/index.js +2 -0
- package/src/fields/attribute-reference-label/attribute-reference-label.jsx +38 -0
- package/src/fields/attribute-reference-label/attribute-reference-label.module.css +7 -0
- package/src/fields/attribute-reference-label/index.js +1 -0
- package/src/fields/autocomplete/README.md +66 -0
- package/src/fields/autocomplete/autocomplete.jsx +129 -0
- package/src/fields/autocomplete/autocomplete.module.css +3 -0
- package/src/fields/autocomplete/autocomplete.spec.js +144 -0
- package/src/fields/autocomplete/dropdown-indicator.jsx +14 -0
- package/src/fields/autocomplete/dropdown-indicator.module.css +5 -0
- package/src/fields/autocomplete/index.js +1 -0
- package/src/fields/boolean-field/boolean-field.jsx +82 -0
- package/src/fields/boolean-field/boolean-field.spec.js +80 -0
- package/src/fields/boolean-field/index.js +3 -0
- package/src/fields/boolean-field/messages.js +14 -0
- package/src/fields/checkbox-field/checkbox-field.jsx +50 -0
- package/src/fields/checkbox-field/checkbox-field.module.css +40 -0
- package/src/fields/checkbox-field/checkbox-field.spec.js +67 -0
- package/src/fields/checkbox-field/index.js +1 -0
- package/src/fields/checkbox-field/radio-check-icons.png +0 -0
- package/src/fields/expandable-field/expandable-field.jsx +93 -0
- package/src/fields/expandable-field/expandable-field.module.css +3 -0
- package/src/fields/expandable-field/expandable-field.spec.js +68 -0
- package/src/fields/expandable-field/index.js +1 -0
- package/src/fields/expandable-field/messages.js +14 -0
- package/src/fields/label-range/index.js +1 -0
- package/src/fields/label-range/label-range.jsx +28 -0
- package/src/fields/label-range/label-range.module.css +4 -0
- package/src/fields/label-range/label-range.spec.js +28 -0
- package/src/fields/label-required/index.js +2 -0
- package/src/fields/label-required/label-required.jsx +25 -0
- package/src/fields/localized-field/index.js +1 -0
- package/src/fields/localized-field/localized-field.jsx +320 -0
- package/src/fields/localized-field/localized-field.module.css +291 -0
- package/src/fields/localized-field/localized-field.spec.js +53 -0
- package/src/fields/localized-input/index.js +1 -0
- package/src/fields/localized-input/localized-input.jsx +20 -0
- package/src/fields/localized-textarea/index.js +1 -0
- package/src/fields/localized-textarea/localized-textarea.jsx +50 -0
- package/src/fields/missing-value-field/__snapshots__/missing-value-field.spec.js.snap +22 -0
- package/src/fields/missing-value-field/index.js +2 -0
- package/src/fields/missing-value-field/messages.js +9 -0
- package/src/fields/missing-value-field/missing-value-field.jsx +28 -0
- package/src/fields/missing-value-field/missing-value-field.spec.js +35 -0
- package/src/fields/multi-value-search-input/index.js +1 -0
- package/src/fields/multi-value-search-input/messages.js +14 -0
- package/src/fields/multi-value-search-input/multi-value-search-input.jsx +175 -0
- package/src/fields/multi-value-search-input/multi-value-search-input.module.css +45 -0
- package/src/fields/numeric-format-input/index.js +1 -0
- package/src/fields/numeric-format-input/numeric-format-input.jsx +184 -0
- package/src/fields/numeric-format-input/numeric-format-input.module.css +10 -0
- package/src/fields/numeric-format-input/numeric-format-input.spec.js +323 -0
- package/src/fields/search-input/index.js +1 -0
- package/src/fields/search-input/messages.js +14 -0
- package/src/fields/search-input/search-input.jsx +202 -0
- package/src/fields/search-input/search-input.module.css +75 -0
- package/src/fields/search-input/search-input.spec.js +116 -0
- package/src/fields/throttled-field/index.js +1 -0
- package/src/fields/throttled-field/throttled-field.jsx +189 -0
- package/src/fields/throttled-field/throttled-field.module.css +75 -0
- package/src/fields/throttled-field/throttled-field.spec.js +172 -0
- package/src/hocs/index.js +9 -0
- package/src/hocs/inject-data-table-pagination-state/index.js +1 -0
- package/src/hocs/inject-data-table-pagination-state/inject-data-table-pagination-state.jsx +41 -0
- package/src/hocs/inject-modal-state/index.js +1 -0
- package/src/hocs/inject-modal-state/inject-modal-state.jsx +31 -0
- package/src/hocs/inject-modal-state/inject-modal-state.spec.js +60 -0
- package/src/hocs/inject-notifications/README.md +43 -0
- package/src/hocs/inject-notifications/index.js +1 -0
- package/src/hocs/inject-notifications/inject-notifications.jsx +35 -0
- package/src/hocs/inject-notifications/inject-notifications.spec.js +55 -0
- package/src/hocs/inject-storage/index.js +1 -0
- package/src/hocs/inject-storage/inject-storage.jsx +45 -0
- package/src/hocs/inject-storage/inject-storage.spec.js +32 -0
- package/src/hocs/inject-toggle-state/index.js +1 -0
- package/src/hocs/inject-toggle-state/inject-toggle-state.jsx +31 -0
- package/src/hocs/inject-toggle-state/inject-toggle-state.spec.js +58 -0
- package/src/hocs/utils/get-display-name/get-display-name.js +13 -0
- package/src/hocs/utils/get-display-name/get-display-name.spec.js +52 -0
- package/src/hocs/utils/get-display-name/index.js +1 -0
- package/src/hocs/utils/index.js +2 -0
- package/src/hocs/utils/set-display-name/index.js +1 -0
- package/src/hocs/utils/set-display-name/set-display-name.js +8 -0
- package/src/hocs/utils/set-display-name/set-display-name.spec.js +9 -0
- package/src/hocs/with-props/index.js +1 -0
- package/src/hocs/with-props/with-props.jsx +21 -0
- package/src/hocs/with-props/with-props.spec.js +57 -0
- package/src/hocs/with-redirect-to/index.js +1 -0
- package/src/hocs/with-redirect-to/with-redirect-to.jsx +42 -0
- package/src/hocs/with-redirect-to/with-redirect-to.spec.js +77 -0
- package/src/hocs/wrap-display-name/index.js +1 -0
- package/src/hocs/wrap-display-name/wrap-display-name.js +6 -0
- package/src/hocs/wrap-display-name/wrap-display-name.spec.js +26 -0
- package/src/hooks/index.js +37 -0
- package/src/hooks/use-debounced-promise-callback.js +8 -0
- package/src/hooks/use-did-form-validation-fail/index.js +1 -0
- package/src/hooks/use-did-form-validation-fail/use-did-form-validation-fail.js +30 -0
- package/src/hooks/use-did-form-validation-fail/use-did-form-validation-fail.spec.js +48 -0
- package/src/hooks/use-event-callback/index.js +1 -0
- package/src/hooks/use-event-callback/use-event-callback.js +18 -0
- package/src/hooks/use-format-localized-field-to-string/index.js +1 -0
- package/src/hooks/use-format-localized-field-to-string/use-format-localized-field-to-string.js +43 -0
- package/src/hooks/use-format-localized-field-to-string/use-format-localized-field-to-string.spec.js +36 -0
- package/src/hooks/use-is-sso-user/index.js +1 -0
- package/src/hooks/use-is-sso-user/use-is-sso-user.js +13 -0
- package/src/hooks/use-is-sso-user/use-is-sso-user.spec.js +46 -0
- package/src/hooks/use-localized-key-fallback/index.js +1 -0
- package/src/hooks/use-localized-key-fallback/messages.js +9 -0
- package/src/hooks/use-localized-key-fallback/use-localized-key-fallback.js +31 -0
- package/src/hooks/use-localized-key-fallback/use-localized-key-fallback.spec.js +44 -0
- package/src/hooks/use-pending-requests/index.js +1 -0
- package/src/hooks/use-pending-requests/use-pending-requests.js +39 -0
- package/src/hooks/use-pending-requests/use-pending-requests.spec.js +10 -0
- package/src/hooks/use-persisted-reminder/index.js +1 -0
- package/src/hooks/use-persisted-reminder/use-persisted-reminder.js +88 -0
- package/src/hooks/use-persisted-reminder/use-persisted-reminder.spec.js +114 -0
- package/src/hooks/use-persisted-table-configuration/index.js +1 -0
- package/src/hooks/use-persisted-table-configuration/use-persisted-table-configuration.js +136 -0
- package/src/hooks/use-persisted-table-configuration/use-persisted-table-configuration.spec.js +170 -0
- package/src/hooks/use-previous/index.js +1 -0
- package/src/hooks/use-previous/use-previous.js +12 -0
- package/src/hooks/use-previous/use-previous.spec.js +25 -0
- package/src/hooks/use-product-selections-fetcher/conversions.js +15 -0
- package/src/hooks/use-product-selections-fetcher/fetch-product-selections.ctp.graphql +18 -0
- package/src/hooks/use-product-selections-fetcher/index.js +2 -0
- package/src/hooks/use-product-selections-fetcher/mocks/handlers.js +16 -0
- package/src/hooks/use-product-selections-fetcher/mocks/index.js +3 -0
- package/src/hooks/use-product-selections-fetcher/use-product-selections-fetcher.js +39 -0
- package/src/hooks/use-product-selections-fetcher/use-product-selections-fetcher.spec.js +71 -0
- package/src/hooks/use-product-selections-total-fetcher/fetch-product-selections-total.ctp.graphql +5 -0
- package/src/hooks/use-product-selections-total-fetcher/index.js +2 -0
- package/src/hooks/use-product-selections-total-fetcher/mocks/handlers.js +19 -0
- package/src/hooks/use-product-selections-total-fetcher/mocks/index.js +3 -0
- package/src/hooks/use-product-selections-total-fetcher/use-product-selections-total-fetcher.js +19 -0
- package/src/hooks/use-role-based-channels-fetcher/index.js +2 -0
- package/src/hooks/use-role-based-channels-fetcher/role-based-channels-fetcher.ctp.graphql +12 -0
- package/src/hooks/use-role-based-channels-fetcher/test-utils.js +37 -0
- package/src/hooks/use-role-based-channels-fetcher/use-role-based-channels-fetcher.js +44 -0
- package/src/hooks/use-role-notification/index.js +1 -0
- package/src/hooks/use-role-notification/notification-text/index.js +1 -0
- package/src/hooks/use-role-notification/notification-text/messages.js +21 -0
- package/src/hooks/use-role-notification/notification-text/notification-text.jsx +46 -0
- package/src/hooks/use-role-notification/use-role-notification.jsx +36 -0
- package/src/hooks/use-role-notification/use-role-notification.spec.js +46 -0
- package/src/hooks/use-role-notification-effect/index.js +1 -0
- package/src/hooks/use-role-notification-effect/use-role-notification-effect.js +56 -0
- package/src/hooks/use-role-notification-effect/use-role-notification-effect.spec.js +72 -0
- package/src/hooks/use-storage/__mocks__/index.js +26 -0
- package/src/hooks/use-storage/index.js +1 -0
- package/src/hooks/use-storage/use-storage.js +85 -0
- package/src/hooks/use-storage/use-storage.spec.js +237 -0
- package/src/hooks/use-store-keys-in-data-fence/index.js +1 -0
- package/src/hooks/use-store-keys-in-data-fence/use-store-keys-in-data-fence.js +38 -0
- package/src/hooks/use-store-keys-in-data-fence/use-store-keys-in-data-fence.spec.js +141 -0
- package/src/hooks/use-stores-list-fetcher/index.js +2 -0
- package/src/hooks/use-stores-list-fetcher/mocks/handlers.js +76 -0
- package/src/hooks/use-stores-list-fetcher/mocks/index.js +3 -0
- package/src/hooks/use-stores-list-fetcher/stores-list-query.ctp.graphql +52 -0
- package/src/hooks/use-stores-list-fetcher/use-stores-list-fetcher.js +71 -0
- package/src/hooks/use-stores-list-fetcher/use-stores-list-fetcher.spec.js +234 -0
- package/src/hooks/use-tracking/index.js +1 -0
- package/src/hooks/use-tracking/use-tracking.js +4 -0
- package/src/hooks/use-tracking/use-tracking.spec.js +29 -0
- package/src/hooks/use-tracking-shared/__mocks__/index.js +16 -0
- package/src/hooks/use-tracking-shared/index.js +1 -0
- package/src/hooks/use-tracking-shared/use-tracking-shared.js +58 -0
- package/src/index.js +489 -0
- package/src/internal-index.js +143 -0
- package/src/utils/active-modals/active-modals.js +7 -0
- package/src/utils/active-modals/active-modals.spec.js +27 -0
- package/src/utils/active-modals/index.js +1 -0
- package/src/utils/ariaset/ariaset.js +11 -0
- package/src/utils/ariaset/ariaset.spec.js +20 -0
- package/src/utils/ariaset/index.js +1 -0
- package/src/utils/array-helpers/array-helpers.js +2 -0
- package/src/utils/array-helpers/index.js +1 -0
- package/src/utils/attributes/attributes.js +38 -0
- package/src/utils/attributes/attributes.spec.js +180 -0
- package/src/utils/attributes/index.js +1 -0
- package/src/utils/build-search-query/build-search-query.js +27 -0
- package/src/utils/build-search-query/build-search-query.spec.js +129 -0
- package/src/utils/build-search-query/index.js +1 -0
- package/src/utils/bulk-notifications/get-bulk-notification.js +34 -0
- package/src/utils/bulk-notifications/get-bulk-notification.spec.js +142 -0
- package/src/utils/bulk-notifications/index.js +4 -0
- package/src/utils/business-roles/business-roles.js +24 -0
- package/src/utils/business-roles/index.js +4 -0
- package/src/utils/business-roles/messages.js +95 -0
- package/src/utils/capitalize-first/capitalize-first.js +3 -0
- package/src/utils/capitalize-first/capitalize-first.spec.js +7 -0
- package/src/utils/capitalize-first/index.js +1 -0
- package/src/utils/categories/categories.js +56 -0
- package/src/utils/categories/categories.spec.js +122 -0
- package/src/utils/categories/index.js +1 -0
- package/src/utils/clone/clone.js +3 -0
- package/src/utils/clone/clone.spec.js +23 -0
- package/src/utils/clone/index.js +1 -0
- package/src/utils/coerce-to-integer/coerce-to-integer.js +3 -0
- package/src/utils/coerce-to-integer/coerce-to-integer.spec.js +49 -0
- package/src/utils/coerce-to-integer/index.js +1 -0
- package/src/utils/connector/connector.js +30 -0
- package/src/utils/connector/connector.spec.js +174 -0
- package/src/utils/connector/index.js +1 -0
- package/src/utils/constants.js +43 -0
- package/src/utils/conversions/sort-array.js +6 -0
- package/src/utils/create-next-sort-definition/create-next-sort-definition.js +46 -0
- package/src/utils/create-next-sort-definition/create-next-sort-definition.spec.js +121 -0
- package/src/utils/create-next-sort-definition/index.js +1 -0
- package/src/utils/create-reducer/create-reducer.js +21 -0
- package/src/utils/create-reducer/create-reducer.spec.js +45 -0
- package/src/utils/create-reducer/index.js +1 -0
- package/src/utils/create-resource-reducer/create-resource-reducer.js +53 -0
- package/src/utils/create-resource-reducer/create-resource-reducer.spec.js +151 -0
- package/src/utils/create-resource-reducer/index.js +1 -0
- package/src/utils/customer/format-customer-address/format-customer-address.js +12 -0
- package/src/utils/customer/format-customer-address/format-customer-address.spec.js +43 -0
- package/src/utils/customer/format-customer-address/index.js +1 -0
- package/src/utils/customer/format-customer-name/format-customer-name.js +9 -0
- package/src/utils/customer/format-customer-name/format-customer-name.spec.js +44 -0
- package/src/utils/customer/format-customer-name/index.js +1 -0
- package/src/utils/customer/format-customer-title/format-customer-title.js +5 -0
- package/src/utils/customer/format-customer-title/format-customer-title.spec.js +23 -0
- package/src/utils/customer/format-customer-title/index.js +1 -0
- package/src/utils/dataset/dataset.js +34 -0
- package/src/utils/dataset/dataset.spec.js +70 -0
- package/src/utils/dataset/index.js +1 -0
- package/src/utils/encodings/encodings.js +24 -0
- package/src/utils/encodings/encodings.spec.js +21 -0
- package/src/utils/encodings/index.js +1 -0
- package/src/utils/filters/README.md +56 -0
- package/src/utils/filters/custom-fields/custom-fields.js +56 -0
- package/src/utils/filters/custom-fields/custom-fields.spec.js +328 -0
- package/src/utils/filters/custom-fields/index.js +1 -0
- package/src/utils/filters/date/date.js +114 -0
- package/src/utils/filters/date/date.spec.js +138 -0
- package/src/utils/filters/date/index.js +1 -0
- package/src/utils/filters/graphql/category-level/category-level.js +17 -0
- package/src/utils/filters/graphql/category-level/index.js +1 -0
- package/src/utils/filters/graphql/date/date.js +58 -0
- package/src/utils/filters/graphql/date/date.spec.js +122 -0
- package/src/utils/filters/graphql/date/index.js +1 -0
- package/src/utils/filters/graphql/graphql.js +42 -0
- package/src/utils/filters/graphql/graphql.spec.js +130 -0
- package/src/utils/filters/graphql/index.js +1 -0
- package/src/utils/filters/graphql/missing/index.js +1 -0
- package/src/utils/filters/graphql/missing/missing.js +7 -0
- package/src/utils/filters/graphql/missing/missing.spec.js +17 -0
- package/src/utils/filters/graphql/missing-locale/index.js +1 -0
- package/src/utils/filters/graphql/missing-locale/missing-locale.js +8 -0
- package/src/utils/filters/graphql/missing-locale/missing-locale.spec.js +17 -0
- package/src/utils/filters/graphql/number/index.js +1 -0
- package/src/utils/filters/graphql/number/number.js +37 -0
- package/src/utils/filters/graphql/number/number.spec.js +65 -0
- package/src/utils/filters/graphql/reference/index.js +1 -0
- package/src/utils/filters/graphql/reference/reference.js +26 -0
- package/src/utils/filters/graphql/reference/reference.spec.js +20 -0
- package/src/utils/filters/graphql/text/index.js +1 -0
- package/src/utils/filters/graphql/text/text.js +8 -0
- package/src/utils/filters/graphql/text/text.spec.js +35 -0
- package/src/utils/filters/is-date/index.js +1 -0
- package/src/utils/filters/is-date/is-date.js +17 -0
- package/src/utils/filters/is-date/is-date.spec.js +73 -0
- package/src/utils/filters/is-empty/index.js +1 -0
- package/src/utils/filters/is-empty/is-empty.js +9 -0
- package/src/utils/filters/is-empty/is-empty.spec.js +20 -0
- package/src/utils/filters/is-empty/range/index.js +1 -0
- package/src/utils/filters/is-empty/range/range.js +8 -0
- package/src/utils/filters/is-empty/range/range.spec.js +22 -0
- package/src/utils/filters/is-empty/single/index.js +1 -0
- package/src/utils/filters/is-empty/single/single.js +5 -0
- package/src/utils/filters/is-empty/single/single.spec.js +17 -0
- package/src/utils/filters/localized-string/index.js +1 -0
- package/src/utils/filters/localized-string/localized-string.js +4 -0
- package/src/utils/filters/localized-string/localized-string.spec.js +26 -0
- package/src/utils/filters/money/index.js +1 -0
- package/src/utils/filters/money/money.js +36 -0
- package/src/utils/filters/money/money.spec.js +55 -0
- package/src/utils/filters/time/index.js +1 -0
- package/src/utils/filters/time/time.js +65 -0
- package/src/utils/filters/time/time.spec.js +96 -0
- package/src/utils/filters/validation/custom-field/custom-field.js +70 -0
- package/src/utils/filters/validation/custom-field/custom-field.spec.js +237 -0
- package/src/utils/filters/validation/custom-field/index.js +1 -0
- package/src/utils/filters/validation/date/date.js +42 -0
- package/src/utils/filters/validation/date/date.spec.js +60 -0
- package/src/utils/filters/validation/date/index.js +1 -0
- package/src/utils/filters/validation/enum/enum.js +16 -0
- package/src/utils/filters/validation/enum/enum.spec.js +44 -0
- package/src/utils/filters/validation/enum/index.js +1 -0
- package/src/utils/filters/validation/number/index.js +1 -0
- package/src/utils/filters/validation/number/number.js +52 -0
- package/src/utils/filters/validation/number/number.spec.js +39 -0
- package/src/utils/filters/validation/text/index.js +1 -0
- package/src/utils/filters/validation/text/text.js +9 -0
- package/src/utils/filters/validation/text/text.spec.js +20 -0
- package/src/utils/formats/custom-field/custom-field.js +66 -0
- package/src/utils/formats/custom-field/custom-field.spec.js +91 -0
- package/src/utils/formats/custom-field/index.js +1 -0
- package/src/utils/formats/date/__mocks__/index.js +2 -0
- package/src/utils/formats/date/date.js +58 -0
- package/src/utils/formats/date/date.spec.js +241 -0
- package/src/utils/formats/date/index.js +1 -0
- package/src/utils/formats/discount/discount.js +12 -0
- package/src/utils/formats/discount/discount.spec.js +75 -0
- package/src/utils/formats/discount/index.js +1 -0
- package/src/utils/formats/index.js +4 -0
- package/src/utils/formats/money/index.js +6 -0
- package/src/utils/formats/money/money.js +50 -0
- package/src/utils/formats/money/money.spec.js +117 -0
- package/src/utils/formats/percentage/index.js +1 -0
- package/src/utils/formats/percentage/percentage.js +7 -0
- package/src/utils/formats/percentage/percentage.spec.js +18 -0
- package/src/utils/formats/product-attribute/index.js +1 -0
- package/src/utils/formats/product-attribute/messages.js +14 -0
- package/src/utils/formats/product-attribute/product-attribute.js +127 -0
- package/src/utils/formats/product-attribute/product-attribute.spec.js +128 -0
- package/src/utils/get-currency-code-data/currency-code-data.js +1247 -0
- package/src/utils/get-currency-code-data/get-currency-code-data.js +53 -0
- package/src/utils/get-currency-code-data/index.js +12 -0
- package/src/utils/get-prefix-search-bounds/get-prefix-search-bounds.js +26 -0
- package/src/utils/get-prefix-search-bounds/get-prefix-search-bounds.spec.js +14 -0
- package/src/utils/get-prefix-search-bounds/index.js +1 -0
- package/src/utils/graphql/__snapshots__/graphql.spec.js.snap +45 -0
- package/src/utils/graphql/fragments/address.ctp.graphql +39 -0
- package/src/utils/graphql/fragments/custom-fields.ctp.graphql +67 -0
- package/src/utils/graphql/fragments/store-basic-info.ctp.graphql +11 -0
- package/src/utils/graphql/graphql.js +579 -0
- package/src/utils/graphql/graphql.spec.js +1129 -0
- package/src/utils/graphql/index.js +1 -0
- package/src/utils/has-error-code/has-error-code.js +15 -0
- package/src/utils/has-error-code/has-error-code.spec.js +56 -0
- package/src/utils/has-error-code/has-invalid-input-error.js +7 -0
- package/src/utils/has-error-code/has-semantic-error.js +7 -0
- package/src/utils/has-error-code/has-semantic-error.spec.js +56 -0
- package/src/utils/has-error-code/index.js +3 -0
- package/src/utils/is-uuid/index.js +1 -0
- package/src/utils/is-uuid/is-uuid.js +6 -0
- package/src/utils/is-uuid/is-uuid.spec.js +25 -0
- package/src/utils/minusify/index.js +1 -0
- package/src/utils/minusify/minusify.js +4 -0
- package/src/utils/minusify/minusify.spec.js +9 -0
- package/src/utils/numbers/index.js +1 -0
- package/src/utils/numbers/numbers.js +32 -0
- package/src/utils/numbers/numbers.spec.js +57 -0
- package/src/utils/omit-deep/index.js +1 -0
- package/src/utils/omit-deep/omit-deep.js +20 -0
- package/src/utils/pim-query-clauses.js +43 -0
- package/src/utils/prices/index.js +1 -0
- package/src/utils/prices/prices.js +79 -0
- package/src/utils/prices/prices.spec.js +265 -0
- package/src/utils/product-selections/convert-product-selection-from-graphql.js +80 -0
- package/src/utils/product-selections/index.js +1 -0
- package/src/utils/product-types/index.js +1 -0
- package/src/utils/product-types/product-types.js +122 -0
- package/src/utils/product-types/product-types.spec.js +328 -0
- package/src/utils/products/index.js +1 -0
- package/src/utils/products/messages.js +16 -0
- package/src/utils/products/products.jsx +258 -0
- package/src/utils/products/products.spec.js +331 -0
- package/src/utils/query-string/index.js +1 -0
- package/src/utils/query-string/query-string.js +37 -0
- package/src/utils/query-string/query-string.spec.js +56 -0
- package/src/utils/request-cache/index.js +2 -0
- package/src/utils/request-cache/request-cache.js +52 -0
- package/src/utils/request-cache/request-cache.spec.js +118 -0
- package/src/utils/shallow-equal/index.js +1 -0
- package/src/utils/shallow-equal/shallow-equal.js +19 -0
- package/src/utils/shallow-equal/shallow-equal.spec.js +45 -0
- package/src/utils/should-update-attribute-input/index.js +1 -0
- package/src/utils/should-update-attribute-input/should-update-attribute-input.js +43 -0
- package/src/utils/should-update-attribute-input/should-update-attribute-input.spec.js +96 -0
- package/src/utils/slugify/index.js +1 -0
- package/src/utils/slugify/slugify.js +10 -0
- package/src/utils/slugify/slugify.spec.js +11 -0
- package/src/utils/swap-array-items/index.js +2 -0
- package/src/utils/swap-array-items/swap-array-items.js +13 -0
- package/src/utils/swap-array-items/swap-array-items.spec.js +52 -0
- package/src/utils/text-fallback/text-fallback.js +6 -0
- package/src/utils/time-zones/index.js +5 -0
- package/src/utils/time-zones/time-zone-utils.js +34 -0
- package/src/utils/time-zones/time-zone-utils.spec.js +47 -0
- package/src/utils/track-menu-click/index.js +1 -0
- package/src/utils/track-menu-click/track-menu-click.js +28 -0
- package/src/utils/track-menu-click/track-menu-click.spec.js +66 -0
- package/src/utils/transform-to-proper-noun-case/index.js +1 -0
- package/src/utils/transform-to-proper-noun-case/transform-to-proper-noun-case.js +10 -0
- package/src/utils/transform-to-proper-noun-case/transform-to-proper-noun-case.spec.js +23 -0
- package/src/utils/truncate/index.js +1 -0
- package/src/utils/truncate/truncate.js +9 -0
- package/src/utils/truncate/truncate.spec.js +23 -0
- package/src/utils/type-definitions/index.js +1 -0
- package/src/utils/type-definitions/type-definitions.js +118 -0
- package/src/utils/type-definitions/type-definitions.spec.js +547 -0
- package/src/utils/update-status-in-list/index.js +1 -0
- package/src/utils/update-status-in-list/update-status-in-list.js +16 -0
- package/src/utils/validation/get-indexes-of-invalid-values.js +16 -0
- package/src/utils/validation/get-indexes-of-invalid-values.spec.js +31 -0
- package/src/utils/validation/index.js +3 -0
- package/src/utils/validation/validation.js +169 -0
- package/src/utils/validation/validation.spec.js +99 -0
- package/src/utils/validation/without-empty-errors-by-field.js +5 -0
- package/src/utils/validation/without-empty-errors-by-field.spec.js +74 -0
- package/src/utils/with-pending-requests/index.js +1 -0
- package/src/utils/with-pending-requests/with-pending-requests.jsx +21 -0
- package/src/utils/with-pending-requests/with-pending-requests.spec.js +62 -0
|
@@ -0,0 +1,1247 @@
|
|
|
1
|
+
/* This is is short-term solution that patches fraction digits not being available from the Dashboard backend.
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2020 Santosh Yadav
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
const currencyData = {
|
|
25
|
+
AED: {
|
|
26
|
+
isoCode: '784',
|
|
27
|
+
fractionDigit: 2,
|
|
28
|
+
currencyName: 'UAE Dirham',
|
|
29
|
+
countries: ['United Arab Emirates (The)'],
|
|
30
|
+
},
|
|
31
|
+
AFN: {
|
|
32
|
+
isoCode: '971',
|
|
33
|
+
fractionDigit: 2,
|
|
34
|
+
currencyName: 'Afghani',
|
|
35
|
+
countries: ['Afghanistan'],
|
|
36
|
+
},
|
|
37
|
+
ALL: {
|
|
38
|
+
isoCode: '008',
|
|
39
|
+
fractionDigit: 2,
|
|
40
|
+
currencyName: 'Lek',
|
|
41
|
+
countries: ['Albania'],
|
|
42
|
+
},
|
|
43
|
+
AMD: {
|
|
44
|
+
isoCode: '051',
|
|
45
|
+
fractionDigit: 2,
|
|
46
|
+
currencyName: 'Armenian Dram',
|
|
47
|
+
countries: ['Armenia'],
|
|
48
|
+
},
|
|
49
|
+
ANG: {
|
|
50
|
+
isoCode: '532',
|
|
51
|
+
fractionDigit: 2,
|
|
52
|
+
currencyName: 'Netherlands Antillean Guilder',
|
|
53
|
+
countries: ['Curaçao', 'Sint Maarten (Dutch Part)'],
|
|
54
|
+
},
|
|
55
|
+
AOA: {
|
|
56
|
+
isoCode: '973',
|
|
57
|
+
fractionDigit: 2,
|
|
58
|
+
currencyName: 'Kwanza',
|
|
59
|
+
countries: ['Angola'],
|
|
60
|
+
},
|
|
61
|
+
ARS: {
|
|
62
|
+
isoCode: '032',
|
|
63
|
+
fractionDigit: 2,
|
|
64
|
+
currencyName: 'Argentine Peso',
|
|
65
|
+
countries: ['Argentina'],
|
|
66
|
+
},
|
|
67
|
+
AUD: {
|
|
68
|
+
isoCode: '036',
|
|
69
|
+
fractionDigit: 2,
|
|
70
|
+
currencyName: 'Australian Dollar',
|
|
71
|
+
countries: [
|
|
72
|
+
'Australia',
|
|
73
|
+
'Christmas Island',
|
|
74
|
+
'Cocos (Keeling) Islands (The)',
|
|
75
|
+
'Heard Island and Mcdonald Islands',
|
|
76
|
+
'Kiribati',
|
|
77
|
+
'Nauru',
|
|
78
|
+
'Norfolk Island',
|
|
79
|
+
'Tuvalu',
|
|
80
|
+
],
|
|
81
|
+
},
|
|
82
|
+
AWG: {
|
|
83
|
+
isoCode: '533',
|
|
84
|
+
fractionDigit: 2,
|
|
85
|
+
currencyName: 'Aruban Florin',
|
|
86
|
+
countries: ['Aruba'],
|
|
87
|
+
},
|
|
88
|
+
AZN: {
|
|
89
|
+
isoCode: '944',
|
|
90
|
+
fractionDigit: 2,
|
|
91
|
+
currencyName: 'Azerbaijan Manat',
|
|
92
|
+
countries: ['Azerbaijan'],
|
|
93
|
+
},
|
|
94
|
+
BAM: {
|
|
95
|
+
isoCode: '977',
|
|
96
|
+
fractionDigit: 2,
|
|
97
|
+
currencyName: 'Convertible Mark',
|
|
98
|
+
countries: ['Bosnia and Herzegovina'],
|
|
99
|
+
},
|
|
100
|
+
BBD: {
|
|
101
|
+
isoCode: '052',
|
|
102
|
+
fractionDigit: 2,
|
|
103
|
+
currencyName: 'Barbados Dollar',
|
|
104
|
+
countries: ['Barbados'],
|
|
105
|
+
},
|
|
106
|
+
BDT: {
|
|
107
|
+
isoCode: '050',
|
|
108
|
+
fractionDigit: 2,
|
|
109
|
+
currencyName: 'Taka',
|
|
110
|
+
countries: ['Bangladesh'],
|
|
111
|
+
},
|
|
112
|
+
BGN: {
|
|
113
|
+
isoCode: '975',
|
|
114
|
+
fractionDigit: 2,
|
|
115
|
+
symbol: 'лв',
|
|
116
|
+
unicode: 'лв',
|
|
117
|
+
htmlCode: 'лв',
|
|
118
|
+
hexCode: 'лв',
|
|
119
|
+
currencyName: 'Bulgarian Lev',
|
|
120
|
+
countries: ['Bulgaria'],
|
|
121
|
+
},
|
|
122
|
+
BHD: {
|
|
123
|
+
isoCode: '048',
|
|
124
|
+
fractionDigit: 3,
|
|
125
|
+
currencyName: 'Bahraini Dinar',
|
|
126
|
+
countries: ['Bahrain'],
|
|
127
|
+
},
|
|
128
|
+
BIF: {
|
|
129
|
+
isoCode: '108',
|
|
130
|
+
fractionDigit: 0,
|
|
131
|
+
currencyName: 'Burundi Franc',
|
|
132
|
+
countries: ['Burundi'],
|
|
133
|
+
},
|
|
134
|
+
BMD: {
|
|
135
|
+
isoCode: '060',
|
|
136
|
+
fractionDigit: 2,
|
|
137
|
+
currencyName: 'Bermudian Dollar',
|
|
138
|
+
countries: ['Bermuda'],
|
|
139
|
+
},
|
|
140
|
+
BND: {
|
|
141
|
+
isoCode: '096',
|
|
142
|
+
fractionDigit: 2,
|
|
143
|
+
currencyName: 'Brunei Dollar',
|
|
144
|
+
countries: ['Brunei Darussalam'],
|
|
145
|
+
},
|
|
146
|
+
BOB: {
|
|
147
|
+
isoCode: '068',
|
|
148
|
+
fractionDigit: 2,
|
|
149
|
+
currencyName: 'Boliviano',
|
|
150
|
+
countries: ['Bolivia (Plurinational State Of)'],
|
|
151
|
+
},
|
|
152
|
+
BOV: {
|
|
153
|
+
isoCode: '984',
|
|
154
|
+
fractionDigit: 2,
|
|
155
|
+
currencyName: 'Mvdol',
|
|
156
|
+
countries: ['Bolivia (Plurinational State Of)'],
|
|
157
|
+
},
|
|
158
|
+
BRL: {
|
|
159
|
+
isoCode: '986',
|
|
160
|
+
fractionDigit: 2,
|
|
161
|
+
currencyName: 'Brazilian Real',
|
|
162
|
+
countries: ['Brazil'],
|
|
163
|
+
},
|
|
164
|
+
BSD: {
|
|
165
|
+
isoCode: '044',
|
|
166
|
+
fractionDigit: 2,
|
|
167
|
+
currencyName: 'Bahamian Dollar',
|
|
168
|
+
countries: ['Bahamas (The)'],
|
|
169
|
+
},
|
|
170
|
+
BTN: {
|
|
171
|
+
isoCode: '064',
|
|
172
|
+
fractionDigit: 2,
|
|
173
|
+
currencyName: 'Ngultrum',
|
|
174
|
+
countries: ['Bhutan'],
|
|
175
|
+
},
|
|
176
|
+
BWP: {
|
|
177
|
+
isoCode: '072',
|
|
178
|
+
fractionDigit: 2,
|
|
179
|
+
currencyName: 'Pula',
|
|
180
|
+
countries: ['Botswana'],
|
|
181
|
+
},
|
|
182
|
+
BYN: {
|
|
183
|
+
isoCode: '933',
|
|
184
|
+
fractionDigit: 2,
|
|
185
|
+
currencyName: 'Belarusian Ruble',
|
|
186
|
+
countries: ['Belarus'],
|
|
187
|
+
},
|
|
188
|
+
BZD: {
|
|
189
|
+
isoCode: '084',
|
|
190
|
+
fractionDigit: 2,
|
|
191
|
+
currencyName: 'Belize Dollar',
|
|
192
|
+
countries: ['Belize'],
|
|
193
|
+
},
|
|
194
|
+
CAD: {
|
|
195
|
+
isoCode: '124',
|
|
196
|
+
fractionDigit: 2,
|
|
197
|
+
currencyName: 'Canadian Dollar',
|
|
198
|
+
countries: ['Canada'],
|
|
199
|
+
},
|
|
200
|
+
CDF: {
|
|
201
|
+
isoCode: '976',
|
|
202
|
+
fractionDigit: 2,
|
|
203
|
+
currencyName: 'Congolese Franc',
|
|
204
|
+
countries: ['Congo (The Democratic Republic of The)'],
|
|
205
|
+
},
|
|
206
|
+
CHE: {
|
|
207
|
+
isoCode: '947',
|
|
208
|
+
fractionDigit: 2,
|
|
209
|
+
currencyName: 'WIR Euro',
|
|
210
|
+
countries: ['Switzerland'],
|
|
211
|
+
},
|
|
212
|
+
CHF: {
|
|
213
|
+
isoCode: '756',
|
|
214
|
+
fractionDigit: 2,
|
|
215
|
+
symbol: 'CHF',
|
|
216
|
+
unicode: 'CHF',
|
|
217
|
+
htmlCode: 'CHF',
|
|
218
|
+
hexCode: 'CHF',
|
|
219
|
+
currencyName: 'Swiss Franc',
|
|
220
|
+
countries: ['Liechtenstein', 'Switzerland'],
|
|
221
|
+
},
|
|
222
|
+
CHW: {
|
|
223
|
+
isoCode: '948',
|
|
224
|
+
fractionDigit: 2,
|
|
225
|
+
currencyName: 'WIR Franc',
|
|
226
|
+
countries: ['Switzerland'],
|
|
227
|
+
},
|
|
228
|
+
CLF: {
|
|
229
|
+
isoCode: '990',
|
|
230
|
+
fractionDigit: 4,
|
|
231
|
+
currencyName: 'Unidad de Fomento',
|
|
232
|
+
countries: ['Chile'],
|
|
233
|
+
},
|
|
234
|
+
CLP: {
|
|
235
|
+
isoCode: '152',
|
|
236
|
+
fractionDigit: 0,
|
|
237
|
+
currencyName: 'Chilean Peso',
|
|
238
|
+
countries: ['Chile'],
|
|
239
|
+
},
|
|
240
|
+
CNY: {
|
|
241
|
+
isoCode: '156',
|
|
242
|
+
fractionDigit: 2,
|
|
243
|
+
currencyName: 'Yuan Renminbi',
|
|
244
|
+
countries: ['China'],
|
|
245
|
+
},
|
|
246
|
+
COP: {
|
|
247
|
+
isoCode: '170',
|
|
248
|
+
fractionDigit: 2,
|
|
249
|
+
currencyName: 'Colombian Peso',
|
|
250
|
+
countries: ['Colombia'],
|
|
251
|
+
},
|
|
252
|
+
COU: {
|
|
253
|
+
isoCode: '970',
|
|
254
|
+
fractionDigit: 2,
|
|
255
|
+
currencyName: 'Unidad de Valor Real',
|
|
256
|
+
countries: ['Colombia'],
|
|
257
|
+
},
|
|
258
|
+
CRC: {
|
|
259
|
+
isoCode: '188',
|
|
260
|
+
fractionDigit: 2,
|
|
261
|
+
currencyName: 'Costa Rican Colon',
|
|
262
|
+
countries: ['Costa Rica'],
|
|
263
|
+
},
|
|
264
|
+
CUC: {
|
|
265
|
+
isoCode: '931',
|
|
266
|
+
fractionDigit: 2,
|
|
267
|
+
currencyName: 'Peso Convertible',
|
|
268
|
+
countries: ['Cuba'],
|
|
269
|
+
},
|
|
270
|
+
CUP: {
|
|
271
|
+
isoCode: '192',
|
|
272
|
+
fractionDigit: 2,
|
|
273
|
+
currencyName: 'Cuban Peso',
|
|
274
|
+
countries: ['Cuba'],
|
|
275
|
+
},
|
|
276
|
+
CVE: {
|
|
277
|
+
isoCode: '132',
|
|
278
|
+
fractionDigit: 2,
|
|
279
|
+
currencyName: 'Cabo Verde Escudo',
|
|
280
|
+
countries: ['Cabo Verde'],
|
|
281
|
+
},
|
|
282
|
+
CZK: {
|
|
283
|
+
isoCode: '203',
|
|
284
|
+
fractionDigit: 2,
|
|
285
|
+
symbol: 'Kč',
|
|
286
|
+
unicode: 'Kč',
|
|
287
|
+
htmlCode: 'Kč',
|
|
288
|
+
hexCode: 'Kč',
|
|
289
|
+
currencyName: 'Czech Koruna',
|
|
290
|
+
countries: ['Czechia'],
|
|
291
|
+
},
|
|
292
|
+
DJF: {
|
|
293
|
+
isoCode: '262',
|
|
294
|
+
fractionDigit: 0,
|
|
295
|
+
currencyName: 'Djibouti Franc',
|
|
296
|
+
countries: ['Djibouti'],
|
|
297
|
+
},
|
|
298
|
+
DKK: {
|
|
299
|
+
isoCode: '208',
|
|
300
|
+
fractionDigit: 2,
|
|
301
|
+
symbol: 'kr',
|
|
302
|
+
unicode: 'kr',
|
|
303
|
+
htmlCode: 'kr',
|
|
304
|
+
hexCode: 'kr',
|
|
305
|
+
currencyName: 'Danish Krone',
|
|
306
|
+
countries: ['Denmark', 'Faroe Islands (The)', 'Greenland'],
|
|
307
|
+
},
|
|
308
|
+
DOP: {
|
|
309
|
+
isoCode: '214',
|
|
310
|
+
fractionDigit: 2,
|
|
311
|
+
currencyName: 'Dominican Peso',
|
|
312
|
+
countries: ['Dominican Republic (The)'],
|
|
313
|
+
},
|
|
314
|
+
DZD: {
|
|
315
|
+
isoCode: '012',
|
|
316
|
+
fractionDigit: 2,
|
|
317
|
+
currencyName: 'Algerian Dinar',
|
|
318
|
+
countries: ['Algeria'],
|
|
319
|
+
},
|
|
320
|
+
EGP: {
|
|
321
|
+
isoCode: '818',
|
|
322
|
+
fractionDigit: 2,
|
|
323
|
+
currencyName: 'Egyptian Pound',
|
|
324
|
+
countries: ['Egypt'],
|
|
325
|
+
},
|
|
326
|
+
ERN: {
|
|
327
|
+
isoCode: '232',
|
|
328
|
+
fractionDigit: 2,
|
|
329
|
+
currencyName: 'Nakfa',
|
|
330
|
+
countries: ['Eritrea'],
|
|
331
|
+
},
|
|
332
|
+
ETB: {
|
|
333
|
+
isoCode: '230',
|
|
334
|
+
fractionDigit: 2,
|
|
335
|
+
currencyName: 'Ethiopian Birr',
|
|
336
|
+
countries: ['Ethiopia'],
|
|
337
|
+
},
|
|
338
|
+
EUR: {
|
|
339
|
+
isoCode: '978',
|
|
340
|
+
fractionDigit: 2,
|
|
341
|
+
symbol: '€',
|
|
342
|
+
unicode: 'U+020AC',
|
|
343
|
+
htmlCode: '€',
|
|
344
|
+
hexCode: '€',
|
|
345
|
+
currencyName: 'Euro',
|
|
346
|
+
countries: [
|
|
347
|
+
'Åland Islands',
|
|
348
|
+
'Andorra',
|
|
349
|
+
'Austria',
|
|
350
|
+
'Belgium',
|
|
351
|
+
'Cyprus',
|
|
352
|
+
'Estonia',
|
|
353
|
+
'European Union',
|
|
354
|
+
'Finland',
|
|
355
|
+
'France',
|
|
356
|
+
'French Guiana',
|
|
357
|
+
'French Southern Territories (The)',
|
|
358
|
+
'Germany',
|
|
359
|
+
'Greece',
|
|
360
|
+
'Guadeloupe',
|
|
361
|
+
'Holy See (The)',
|
|
362
|
+
'Ireland',
|
|
363
|
+
'Italy',
|
|
364
|
+
'Latvia',
|
|
365
|
+
'Lithuania',
|
|
366
|
+
'Luxembourg',
|
|
367
|
+
'Malta',
|
|
368
|
+
'Martinique',
|
|
369
|
+
'Mayotte',
|
|
370
|
+
'Monaco',
|
|
371
|
+
'Montenegro',
|
|
372
|
+
'Netherlands (The)',
|
|
373
|
+
'Portugal',
|
|
374
|
+
'Réunion',
|
|
375
|
+
'Saint Barthélemy',
|
|
376
|
+
'Saint Martin (French Part)',
|
|
377
|
+
'Saint Pierre and Miquelon',
|
|
378
|
+
'San Marino',
|
|
379
|
+
'Slovakia',
|
|
380
|
+
'Slovenia',
|
|
381
|
+
'Spain',
|
|
382
|
+
],
|
|
383
|
+
},
|
|
384
|
+
FJD: {
|
|
385
|
+
isoCode: '242',
|
|
386
|
+
fractionDigit: 2,
|
|
387
|
+
currencyName: 'Fiji Dollar',
|
|
388
|
+
countries: ['Fiji'],
|
|
389
|
+
},
|
|
390
|
+
FKP: {
|
|
391
|
+
isoCode: '238',
|
|
392
|
+
fractionDigit: 2,
|
|
393
|
+
currencyName: 'Falkland Islands Pound',
|
|
394
|
+
countries: ['Falkland Islands (The) [Malvinas]'],
|
|
395
|
+
},
|
|
396
|
+
GBP: {
|
|
397
|
+
isoCode: '826',
|
|
398
|
+
fractionDigit: 2,
|
|
399
|
+
symbol: '£',
|
|
400
|
+
unicode: 'U+000A3',
|
|
401
|
+
htmlCode: '£',
|
|
402
|
+
hexCode: '£',
|
|
403
|
+
currencyName: 'Pound Sterling',
|
|
404
|
+
countries: [
|
|
405
|
+
'Guernsey',
|
|
406
|
+
'Isle of Man',
|
|
407
|
+
'Jersey',
|
|
408
|
+
'United Kingdom of Great Britain and Northern Ireland (The)',
|
|
409
|
+
],
|
|
410
|
+
},
|
|
411
|
+
GEL: {
|
|
412
|
+
isoCode: '981',
|
|
413
|
+
fractionDigit: 2,
|
|
414
|
+
symbol: '₾',
|
|
415
|
+
unicode: 'U+20BE',
|
|
416
|
+
htmlCode: '₾',
|
|
417
|
+
hexCode: '₾',
|
|
418
|
+
currencyName: 'Lari',
|
|
419
|
+
countries: ['Georgia'],
|
|
420
|
+
},
|
|
421
|
+
GHS: {
|
|
422
|
+
isoCode: '936',
|
|
423
|
+
fractionDigit: 2,
|
|
424
|
+
currencyName: 'Ghana Cedi',
|
|
425
|
+
countries: ['Ghana'],
|
|
426
|
+
},
|
|
427
|
+
GIP: {
|
|
428
|
+
isoCode: '292',
|
|
429
|
+
fractionDigit: 2,
|
|
430
|
+
currencyName: 'Gibraltar Pound',
|
|
431
|
+
countries: ['Gibraltar'],
|
|
432
|
+
},
|
|
433
|
+
GMD: {
|
|
434
|
+
isoCode: '270',
|
|
435
|
+
fractionDigit: 2,
|
|
436
|
+
currencyName: 'Dalasi',
|
|
437
|
+
countries: ['Gambia (The)'],
|
|
438
|
+
},
|
|
439
|
+
GNF: {
|
|
440
|
+
isoCode: '324',
|
|
441
|
+
fractionDigit: 0,
|
|
442
|
+
currencyName: 'Guinean Franc',
|
|
443
|
+
countries: ['Guinea'],
|
|
444
|
+
},
|
|
445
|
+
GTQ: {
|
|
446
|
+
isoCode: '320',
|
|
447
|
+
fractionDigit: 2,
|
|
448
|
+
currencyName: 'Quetzal',
|
|
449
|
+
countries: ['Guatemala'],
|
|
450
|
+
},
|
|
451
|
+
GYD: {
|
|
452
|
+
isoCode: '328',
|
|
453
|
+
fractionDigit: 2,
|
|
454
|
+
currencyName: 'Guyana Dollar',
|
|
455
|
+
countries: ['Guyana'],
|
|
456
|
+
},
|
|
457
|
+
HKD: {
|
|
458
|
+
isoCode: '344',
|
|
459
|
+
fractionDigit: 2,
|
|
460
|
+
currencyName: 'Hong Kong Dollar',
|
|
461
|
+
countries: ['Hong Kong'],
|
|
462
|
+
},
|
|
463
|
+
HNL: {
|
|
464
|
+
isoCode: '340',
|
|
465
|
+
fractionDigit: 2,
|
|
466
|
+
currencyName: 'Lempira',
|
|
467
|
+
countries: ['Honduras'],
|
|
468
|
+
},
|
|
469
|
+
HRK: {
|
|
470
|
+
isoCode: '191',
|
|
471
|
+
fractionDigit: 2,
|
|
472
|
+
symbol: 'kn',
|
|
473
|
+
unicode: 'kn',
|
|
474
|
+
htmlCode: 'kn',
|
|
475
|
+
hexCode: 'kn',
|
|
476
|
+
currencyName: 'Kuna',
|
|
477
|
+
countries: ['Croatia'],
|
|
478
|
+
},
|
|
479
|
+
HTG: {
|
|
480
|
+
isoCode: '332',
|
|
481
|
+
fractionDigit: 2,
|
|
482
|
+
currencyName: 'Gourde',
|
|
483
|
+
countries: ['Haiti'],
|
|
484
|
+
},
|
|
485
|
+
HUF: {
|
|
486
|
+
isoCode: '348',
|
|
487
|
+
fractionDigit: 2,
|
|
488
|
+
currencyName: 'Forint',
|
|
489
|
+
countries: ['Hungary'],
|
|
490
|
+
},
|
|
491
|
+
IDR: {
|
|
492
|
+
isoCode: '360',
|
|
493
|
+
fractionDigit: 2,
|
|
494
|
+
currencyName: 'Rupiah',
|
|
495
|
+
countries: ['Indonesia'],
|
|
496
|
+
},
|
|
497
|
+
ILS: {
|
|
498
|
+
isoCode: '376',
|
|
499
|
+
fractionDigit: 2,
|
|
500
|
+
currencyName: 'New Israeli Sheqel',
|
|
501
|
+
countries: ['Israel'],
|
|
502
|
+
},
|
|
503
|
+
INR: {
|
|
504
|
+
isoCode: '356',
|
|
505
|
+
fractionDigit: 2,
|
|
506
|
+
symbol: '₹',
|
|
507
|
+
unicode: 'U+020B9',
|
|
508
|
+
htmlCode: '₹',
|
|
509
|
+
hexCode: '₹',
|
|
510
|
+
currencyName: 'Indian Rupee',
|
|
511
|
+
countries: ['Bhutan', 'India'],
|
|
512
|
+
},
|
|
513
|
+
IQD: {
|
|
514
|
+
isoCode: '368',
|
|
515
|
+
fractionDigit: 3,
|
|
516
|
+
currencyName: 'Iraqi Dinar',
|
|
517
|
+
countries: ['Iraq'],
|
|
518
|
+
},
|
|
519
|
+
IRR: {
|
|
520
|
+
isoCode: '364',
|
|
521
|
+
fractionDigit: 2,
|
|
522
|
+
currencyName: 'Iranian Rial',
|
|
523
|
+
countries: ['Iran (Islamic Republic Of)'],
|
|
524
|
+
},
|
|
525
|
+
ISK: {
|
|
526
|
+
isoCode: '352',
|
|
527
|
+
fractionDigit: 0,
|
|
528
|
+
currencyName: 'Iceland Krona',
|
|
529
|
+
countries: ['Iceland'],
|
|
530
|
+
},
|
|
531
|
+
JMD: {
|
|
532
|
+
isoCode: '388',
|
|
533
|
+
fractionDigit: 2,
|
|
534
|
+
currencyName: 'Jamaican Dollar',
|
|
535
|
+
countries: ['Jamaica'],
|
|
536
|
+
},
|
|
537
|
+
JOD: {
|
|
538
|
+
isoCode: '400',
|
|
539
|
+
fractionDigit: 3,
|
|
540
|
+
currencyName: 'Jordanian Dinar',
|
|
541
|
+
countries: ['Jordan'],
|
|
542
|
+
},
|
|
543
|
+
JPY: {
|
|
544
|
+
isoCode: '392',
|
|
545
|
+
fractionDigit: 0,
|
|
546
|
+
symbol: '¥',
|
|
547
|
+
unicode: 'U+000A5',
|
|
548
|
+
htmlCode: '¥',
|
|
549
|
+
hexCode: '¥',
|
|
550
|
+
currencyName: 'Yen',
|
|
551
|
+
countries: ['Japan'],
|
|
552
|
+
},
|
|
553
|
+
KES: {
|
|
554
|
+
isoCode: '404',
|
|
555
|
+
fractionDigit: 2,
|
|
556
|
+
currencyName: 'Kenyan Shilling',
|
|
557
|
+
countries: ['Kenya'],
|
|
558
|
+
},
|
|
559
|
+
KGS: {
|
|
560
|
+
isoCode: '417',
|
|
561
|
+
fractionDigit: 2,
|
|
562
|
+
currencyName: 'Som',
|
|
563
|
+
countries: ['Kyrgyzstan'],
|
|
564
|
+
},
|
|
565
|
+
KHR: {
|
|
566
|
+
isoCode: '116',
|
|
567
|
+
fractionDigit: 2,
|
|
568
|
+
currencyName: 'Riel',
|
|
569
|
+
countries: ['Cambodia'],
|
|
570
|
+
},
|
|
571
|
+
KMF: {
|
|
572
|
+
isoCode: '174',
|
|
573
|
+
fractionDigit: 0,
|
|
574
|
+
currencyName: 'Comorian Franc ',
|
|
575
|
+
countries: ['Comoros (The)'],
|
|
576
|
+
},
|
|
577
|
+
KPW: {
|
|
578
|
+
isoCode: '408',
|
|
579
|
+
fractionDigit: 2,
|
|
580
|
+
currencyName: 'North Korean Won',
|
|
581
|
+
countries: ['Korea (The Democratic People’s Republic Of)'],
|
|
582
|
+
},
|
|
583
|
+
KRW: {
|
|
584
|
+
isoCode: '410',
|
|
585
|
+
fractionDigit: 0,
|
|
586
|
+
currencyName: 'Won',
|
|
587
|
+
countries: ['Korea (The Republic Of)'],
|
|
588
|
+
},
|
|
589
|
+
KWD: {
|
|
590
|
+
isoCode: '414',
|
|
591
|
+
fractionDigit: 3,
|
|
592
|
+
currencyName: 'Kuwaiti Dinar',
|
|
593
|
+
countries: ['Kuwait'],
|
|
594
|
+
},
|
|
595
|
+
KYD: {
|
|
596
|
+
isoCode: '136',
|
|
597
|
+
fractionDigit: 2,
|
|
598
|
+
currencyName: 'Cayman Islands Dollar',
|
|
599
|
+
countries: ['Cayman Islands (The)'],
|
|
600
|
+
},
|
|
601
|
+
KZT: {
|
|
602
|
+
isoCode: '398',
|
|
603
|
+
fractionDigit: 2,
|
|
604
|
+
currencyName: 'Tenge',
|
|
605
|
+
countries: ['Kazakhstan'],
|
|
606
|
+
},
|
|
607
|
+
LAK: {
|
|
608
|
+
isoCode: '418',
|
|
609
|
+
fractionDigit: 2,
|
|
610
|
+
currencyName: 'Lao Kip',
|
|
611
|
+
countries: ['Lao People’s Democratic Republic (The)'],
|
|
612
|
+
},
|
|
613
|
+
LBP: {
|
|
614
|
+
isoCode: '422',
|
|
615
|
+
fractionDigit: 2,
|
|
616
|
+
currencyName: 'Lebanese Pound',
|
|
617
|
+
countries: ['Lebanon'],
|
|
618
|
+
},
|
|
619
|
+
LKR: {
|
|
620
|
+
isoCode: '144',
|
|
621
|
+
fractionDigit: 2,
|
|
622
|
+
currencyName: 'Sri Lanka Rupee',
|
|
623
|
+
countries: ['Sri Lanka'],
|
|
624
|
+
},
|
|
625
|
+
LRD: {
|
|
626
|
+
isoCode: '430',
|
|
627
|
+
fractionDigit: 2,
|
|
628
|
+
currencyName: 'Liberian Dollar',
|
|
629
|
+
countries: ['Liberia'],
|
|
630
|
+
},
|
|
631
|
+
LSL: {
|
|
632
|
+
isoCode: '426',
|
|
633
|
+
fractionDigit: 2,
|
|
634
|
+
currencyName: 'Loti',
|
|
635
|
+
countries: ['Lesotho'],
|
|
636
|
+
},
|
|
637
|
+
LYD: {
|
|
638
|
+
isoCode: '434',
|
|
639
|
+
fractionDigit: 3,
|
|
640
|
+
currencyName: 'Libyan Dinar',
|
|
641
|
+
countries: ['Libya'],
|
|
642
|
+
},
|
|
643
|
+
MAD: {
|
|
644
|
+
isoCode: '504',
|
|
645
|
+
fractionDigit: 2,
|
|
646
|
+
currencyName: 'Moroccan Dirham',
|
|
647
|
+
countries: ['Morocco', 'Western Sahara'],
|
|
648
|
+
},
|
|
649
|
+
MDL: {
|
|
650
|
+
isoCode: '498',
|
|
651
|
+
fractionDigit: 2,
|
|
652
|
+
currencyName: 'Moldovan Leu',
|
|
653
|
+
countries: ['Moldova (The Republic Of)'],
|
|
654
|
+
},
|
|
655
|
+
MGA: {
|
|
656
|
+
isoCode: '969',
|
|
657
|
+
fractionDigit: 2,
|
|
658
|
+
currencyName: 'Malagasy Ariary',
|
|
659
|
+
countries: ['Madagascar'],
|
|
660
|
+
},
|
|
661
|
+
MKD: {
|
|
662
|
+
isoCode: '807',
|
|
663
|
+
fractionDigit: 2,
|
|
664
|
+
currencyName: 'Denar',
|
|
665
|
+
countries: ['Macedonia (The Former Yugoslav Republic Of)'],
|
|
666
|
+
},
|
|
667
|
+
MMK: {
|
|
668
|
+
isoCode: '104',
|
|
669
|
+
fractionDigit: 2,
|
|
670
|
+
currencyName: 'Kyat',
|
|
671
|
+
countries: ['Myanmar'],
|
|
672
|
+
},
|
|
673
|
+
MNT: {
|
|
674
|
+
isoCode: '496',
|
|
675
|
+
fractionDigit: 2,
|
|
676
|
+
currencyName: 'Tugrik',
|
|
677
|
+
countries: ['Mongolia'],
|
|
678
|
+
},
|
|
679
|
+
MOP: {
|
|
680
|
+
isoCode: '446',
|
|
681
|
+
fractionDigit: 2,
|
|
682
|
+
currencyName: 'Pataca',
|
|
683
|
+
countries: ['Macao'],
|
|
684
|
+
},
|
|
685
|
+
MRU: {
|
|
686
|
+
isoCode: '929',
|
|
687
|
+
fractionDigit: 2,
|
|
688
|
+
currencyName: 'Ouguiya',
|
|
689
|
+
countries: ['Mauritania'],
|
|
690
|
+
},
|
|
691
|
+
MUR: {
|
|
692
|
+
isoCode: '480',
|
|
693
|
+
fractionDigit: 2,
|
|
694
|
+
currencyName: 'Mauritius Rupee',
|
|
695
|
+
countries: ['Mauritius'],
|
|
696
|
+
},
|
|
697
|
+
MVR: {
|
|
698
|
+
isoCode: '462',
|
|
699
|
+
fractionDigit: 2,
|
|
700
|
+
currencyName: 'Rufiyaa',
|
|
701
|
+
countries: ['Maldives'],
|
|
702
|
+
},
|
|
703
|
+
MWK: {
|
|
704
|
+
isoCode: '454',
|
|
705
|
+
fractionDigit: 2,
|
|
706
|
+
currencyName: 'Malawi Kwacha',
|
|
707
|
+
countries: ['Malawi'],
|
|
708
|
+
},
|
|
709
|
+
MXN: {
|
|
710
|
+
isoCode: '484',
|
|
711
|
+
fractionDigit: 2,
|
|
712
|
+
currencyName: 'Mexican Peso',
|
|
713
|
+
countries: ['Mexico'],
|
|
714
|
+
},
|
|
715
|
+
MXV: {
|
|
716
|
+
isoCode: '979',
|
|
717
|
+
fractionDigit: 2,
|
|
718
|
+
currencyName: 'Mexican Unidad de Inversion (UDI)',
|
|
719
|
+
countries: ['Mexico'],
|
|
720
|
+
},
|
|
721
|
+
MYR: {
|
|
722
|
+
isoCode: '458',
|
|
723
|
+
fractionDigit: 2,
|
|
724
|
+
currencyName: 'Malaysian Ringgit',
|
|
725
|
+
countries: ['Malaysia'],
|
|
726
|
+
},
|
|
727
|
+
MZN: {
|
|
728
|
+
isoCode: '943',
|
|
729
|
+
fractionDigit: 2,
|
|
730
|
+
currencyName: 'Mozambique Metical',
|
|
731
|
+
countries: ['Mozambique'],
|
|
732
|
+
},
|
|
733
|
+
NAD: {
|
|
734
|
+
isoCode: '516',
|
|
735
|
+
fractionDigit: 2,
|
|
736
|
+
currencyName: 'Namibia Dollar',
|
|
737
|
+
countries: ['Namibia'],
|
|
738
|
+
},
|
|
739
|
+
NGN: {
|
|
740
|
+
isoCode: '566',
|
|
741
|
+
fractionDigit: 2,
|
|
742
|
+
currencyName: 'Naira',
|
|
743
|
+
countries: ['Nigeria'],
|
|
744
|
+
},
|
|
745
|
+
NIO: {
|
|
746
|
+
isoCode: '558',
|
|
747
|
+
fractionDigit: 2,
|
|
748
|
+
currencyName: 'Cordoba Oro',
|
|
749
|
+
countries: ['Nicaragua'],
|
|
750
|
+
},
|
|
751
|
+
NOK: {
|
|
752
|
+
isoCode: '578',
|
|
753
|
+
fractionDigit: 2,
|
|
754
|
+
currencyName: 'Norwegian Krone',
|
|
755
|
+
countries: ['Bouvet Island', 'Norway', 'Svalbard and Jan Mayen'],
|
|
756
|
+
},
|
|
757
|
+
NPR: {
|
|
758
|
+
isoCode: '524',
|
|
759
|
+
fractionDigit: 2,
|
|
760
|
+
currencyName: 'Nepalese Rupee',
|
|
761
|
+
countries: ['Nepal'],
|
|
762
|
+
},
|
|
763
|
+
NZD: {
|
|
764
|
+
isoCode: '554',
|
|
765
|
+
fractionDigit: 2,
|
|
766
|
+
currencyName: 'New Zealand Dollar',
|
|
767
|
+
countries: [
|
|
768
|
+
'Cook Islands (The)',
|
|
769
|
+
'New Zealand',
|
|
770
|
+
'Niue',
|
|
771
|
+
'Pitcairn',
|
|
772
|
+
'Tokelau',
|
|
773
|
+
],
|
|
774
|
+
},
|
|
775
|
+
OMR: {
|
|
776
|
+
isoCode: '512',
|
|
777
|
+
fractionDigit: 3,
|
|
778
|
+
currencyName: 'Rial Omani',
|
|
779
|
+
countries: ['Oman'],
|
|
780
|
+
},
|
|
781
|
+
PAB: {
|
|
782
|
+
isoCode: '590',
|
|
783
|
+
fractionDigit: 2,
|
|
784
|
+
currencyName: 'Balboa',
|
|
785
|
+
countries: ['Panama'],
|
|
786
|
+
},
|
|
787
|
+
PEN: {
|
|
788
|
+
isoCode: '604',
|
|
789
|
+
fractionDigit: 2,
|
|
790
|
+
currencyName: 'Sol',
|
|
791
|
+
countries: ['Peru'],
|
|
792
|
+
},
|
|
793
|
+
PGK: {
|
|
794
|
+
isoCode: '598',
|
|
795
|
+
fractionDigit: 2,
|
|
796
|
+
currencyName: 'Kina',
|
|
797
|
+
countries: ['Papua New Guinea'],
|
|
798
|
+
},
|
|
799
|
+
PHP: {
|
|
800
|
+
isoCode: '608',
|
|
801
|
+
fractionDigit: 2,
|
|
802
|
+
currencyName: 'Philippine Peso',
|
|
803
|
+
countries: ['Philippines (The)'],
|
|
804
|
+
},
|
|
805
|
+
PKR: {
|
|
806
|
+
isoCode: '586',
|
|
807
|
+
fractionDigit: 2,
|
|
808
|
+
currencyName: 'Pakistan Rupee',
|
|
809
|
+
countries: ['Pakistan'],
|
|
810
|
+
},
|
|
811
|
+
PLN: {
|
|
812
|
+
isoCode: '985',
|
|
813
|
+
fractionDigit: 2,
|
|
814
|
+
currencyName: 'Zloty',
|
|
815
|
+
countries: ['Poland'],
|
|
816
|
+
},
|
|
817
|
+
PYG: {
|
|
818
|
+
isoCode: '600',
|
|
819
|
+
fractionDigit: 0,
|
|
820
|
+
currencyName: 'Guarani',
|
|
821
|
+
countries: ['Paraguay'],
|
|
822
|
+
},
|
|
823
|
+
QAR: {
|
|
824
|
+
isoCode: '634',
|
|
825
|
+
fractionDigit: 2,
|
|
826
|
+
currencyName: 'Qatari Rial',
|
|
827
|
+
countries: ['Qatar'],
|
|
828
|
+
},
|
|
829
|
+
RON: {
|
|
830
|
+
isoCode: '946',
|
|
831
|
+
fractionDigit: 2,
|
|
832
|
+
currencyName: 'Romanian Leu',
|
|
833
|
+
countries: ['Romania'],
|
|
834
|
+
},
|
|
835
|
+
RSD: {
|
|
836
|
+
isoCode: '941',
|
|
837
|
+
fractionDigit: 2,
|
|
838
|
+
currencyName: 'Serbian Dinar',
|
|
839
|
+
countries: ['Serbia'],
|
|
840
|
+
},
|
|
841
|
+
RUB: {
|
|
842
|
+
isoCode: '643',
|
|
843
|
+
fractionDigit: 2,
|
|
844
|
+
currencyName: 'Russian Ruble',
|
|
845
|
+
countries: ['Russian Federation (The)'],
|
|
846
|
+
},
|
|
847
|
+
RWF: {
|
|
848
|
+
isoCode: '646',
|
|
849
|
+
fractionDigit: 0,
|
|
850
|
+
currencyName: 'Rwanda Franc',
|
|
851
|
+
countries: ['Rwanda'],
|
|
852
|
+
},
|
|
853
|
+
SAR: {
|
|
854
|
+
isoCode: '682',
|
|
855
|
+
fractionDigit: 2,
|
|
856
|
+
currencyName: 'Saudi Riyal',
|
|
857
|
+
countries: ['Saudi Arabia'],
|
|
858
|
+
},
|
|
859
|
+
SBD: {
|
|
860
|
+
isoCode: '090',
|
|
861
|
+
fractionDigit: 2,
|
|
862
|
+
currencyName: 'Solomon Islands Dollar',
|
|
863
|
+
countries: ['Solomon Islands'],
|
|
864
|
+
},
|
|
865
|
+
SCR: {
|
|
866
|
+
isoCode: '690',
|
|
867
|
+
fractionDigit: 2,
|
|
868
|
+
currencyName: 'Seychelles Rupee',
|
|
869
|
+
countries: ['Seychelles'],
|
|
870
|
+
},
|
|
871
|
+
SDG: {
|
|
872
|
+
isoCode: '938',
|
|
873
|
+
fractionDigit: 2,
|
|
874
|
+
currencyName: 'Sudanese Pound',
|
|
875
|
+
countries: ['Sudan (The)'],
|
|
876
|
+
},
|
|
877
|
+
SEK: {
|
|
878
|
+
isoCode: '752',
|
|
879
|
+
fractionDigit: 2,
|
|
880
|
+
currencyName: 'Swedish Krona',
|
|
881
|
+
countries: ['Sweden'],
|
|
882
|
+
},
|
|
883
|
+
SGD: {
|
|
884
|
+
isoCode: '702',
|
|
885
|
+
fractionDigit: 2,
|
|
886
|
+
currencyName: 'Singapore Dollar',
|
|
887
|
+
countries: ['Singapore'],
|
|
888
|
+
},
|
|
889
|
+
SHP: {
|
|
890
|
+
isoCode: '654',
|
|
891
|
+
fractionDigit: 2,
|
|
892
|
+
currencyName: 'Saint Helena Pound',
|
|
893
|
+
countries: ['Saint Helena, Ascension and Tristan Da Cunha'],
|
|
894
|
+
},
|
|
895
|
+
SLL: {
|
|
896
|
+
isoCode: '694',
|
|
897
|
+
fractionDigit: 2,
|
|
898
|
+
currencyName: 'Leone',
|
|
899
|
+
countries: ['Sierra Leone'],
|
|
900
|
+
},
|
|
901
|
+
SOS: {
|
|
902
|
+
isoCode: '706',
|
|
903
|
+
fractionDigit: 2,
|
|
904
|
+
currencyName: 'Somali Shilling',
|
|
905
|
+
countries: ['Somalia'],
|
|
906
|
+
},
|
|
907
|
+
SRD: {
|
|
908
|
+
isoCode: '968',
|
|
909
|
+
fractionDigit: 2,
|
|
910
|
+
currencyName: 'Surinam Dollar',
|
|
911
|
+
countries: ['Suriname'],
|
|
912
|
+
},
|
|
913
|
+
SSP: {
|
|
914
|
+
isoCode: '728',
|
|
915
|
+
fractionDigit: 2,
|
|
916
|
+
currencyName: 'South Sudanese Pound',
|
|
917
|
+
countries: ['South Sudan'],
|
|
918
|
+
},
|
|
919
|
+
STN: {
|
|
920
|
+
isoCode: '930',
|
|
921
|
+
fractionDigit: 2,
|
|
922
|
+
currencyName: 'Dobra',
|
|
923
|
+
countries: ['Sao Tome and Principe'],
|
|
924
|
+
},
|
|
925
|
+
SVC: {
|
|
926
|
+
isoCode: '222',
|
|
927
|
+
fractionDigit: 2,
|
|
928
|
+
currencyName: 'El Salvador Colon',
|
|
929
|
+
countries: ['El Salvador'],
|
|
930
|
+
},
|
|
931
|
+
SYP: {
|
|
932
|
+
isoCode: '760',
|
|
933
|
+
fractionDigit: 2,
|
|
934
|
+
currencyName: 'Syrian Pound',
|
|
935
|
+
countries: ['Syrian Arab Republic'],
|
|
936
|
+
},
|
|
937
|
+
SZL: {
|
|
938
|
+
isoCode: '748',
|
|
939
|
+
fractionDigit: 2,
|
|
940
|
+
currencyName: 'Lilangeni',
|
|
941
|
+
countries: ['Eswatini'],
|
|
942
|
+
},
|
|
943
|
+
THB: {
|
|
944
|
+
isoCode: '764',
|
|
945
|
+
fractionDigit: 2,
|
|
946
|
+
currencyName: 'Baht',
|
|
947
|
+
countries: ['Thailand'],
|
|
948
|
+
},
|
|
949
|
+
TJS: {
|
|
950
|
+
isoCode: '972',
|
|
951
|
+
fractionDigit: 2,
|
|
952
|
+
currencyName: 'Somoni',
|
|
953
|
+
countries: ['Tajikistan'],
|
|
954
|
+
},
|
|
955
|
+
TMT: {
|
|
956
|
+
isoCode: '934',
|
|
957
|
+
fractionDigit: 2,
|
|
958
|
+
currencyName: 'Turkmenistan New Manat',
|
|
959
|
+
countries: ['Turkmenistan'],
|
|
960
|
+
},
|
|
961
|
+
TND: {
|
|
962
|
+
isoCode: '788',
|
|
963
|
+
fractionDigit: 3,
|
|
964
|
+
currencyName: 'Tunisian Dinar',
|
|
965
|
+
countries: ['Tunisia'],
|
|
966
|
+
},
|
|
967
|
+
TOP: {
|
|
968
|
+
isoCode: '776',
|
|
969
|
+
fractionDigit: 2,
|
|
970
|
+
currencyName: 'Pa’anga',
|
|
971
|
+
countries: ['Tonga'],
|
|
972
|
+
},
|
|
973
|
+
TRY: {
|
|
974
|
+
isoCode: '949',
|
|
975
|
+
fractionDigit: 2,
|
|
976
|
+
currencyName: 'Turkish Lira',
|
|
977
|
+
countries: ['Turkey'],
|
|
978
|
+
},
|
|
979
|
+
TTD: {
|
|
980
|
+
isoCode: '780',
|
|
981
|
+
fractionDigit: 2,
|
|
982
|
+
currencyName: 'Trinidad and Tobago Dollar',
|
|
983
|
+
countries: ['Trinidad and Tobago'],
|
|
984
|
+
},
|
|
985
|
+
TWD: {
|
|
986
|
+
isoCode: '901',
|
|
987
|
+
fractionDigit: 2,
|
|
988
|
+
currencyName: 'New Taiwan Dollar',
|
|
989
|
+
countries: ['Taiwan (Province of China)'],
|
|
990
|
+
},
|
|
991
|
+
TZS: {
|
|
992
|
+
isoCode: '834',
|
|
993
|
+
fractionDigit: 2,
|
|
994
|
+
currencyName: 'Tanzanian Shilling',
|
|
995
|
+
countries: ['Tanzania, United Republic Of'],
|
|
996
|
+
},
|
|
997
|
+
UAH: {
|
|
998
|
+
isoCode: '980',
|
|
999
|
+
fractionDigit: 2,
|
|
1000
|
+
currencyName: 'Hryvnia',
|
|
1001
|
+
countries: ['Ukraine'],
|
|
1002
|
+
},
|
|
1003
|
+
UGX: {
|
|
1004
|
+
isoCode: '800',
|
|
1005
|
+
fractionDigit: 0,
|
|
1006
|
+
currencyName: 'Uganda Shilling',
|
|
1007
|
+
countries: ['Uganda'],
|
|
1008
|
+
},
|
|
1009
|
+
USD: {
|
|
1010
|
+
isoCode: '840',
|
|
1011
|
+
fractionDigit: 2,
|
|
1012
|
+
symbol: '$',
|
|
1013
|
+
unicode: 'U+00024',
|
|
1014
|
+
htmlCode: '$',
|
|
1015
|
+
hexCode: '$',
|
|
1016
|
+
currencyName: 'US Dollar',
|
|
1017
|
+
countries: [
|
|
1018
|
+
'American Samoa',
|
|
1019
|
+
'Bonaire, Sint Eustatius and Saba',
|
|
1020
|
+
'British Indian Ocean Territory (The)',
|
|
1021
|
+
'Ecuador',
|
|
1022
|
+
'El Salvador',
|
|
1023
|
+
'Guam',
|
|
1024
|
+
'Haiti',
|
|
1025
|
+
'Marshall Islands (The)',
|
|
1026
|
+
'Micronesia (Federated States Of)',
|
|
1027
|
+
'Northern Mariana Islands (The)',
|
|
1028
|
+
'Palau',
|
|
1029
|
+
'Panama',
|
|
1030
|
+
'Puerto Rico',
|
|
1031
|
+
'Timor-Leste',
|
|
1032
|
+
'Turks and Caicos Islands (The)',
|
|
1033
|
+
'United States Minor Outlying Islands (The)',
|
|
1034
|
+
'United States of America (The)',
|
|
1035
|
+
'Virgin Islands (British)',
|
|
1036
|
+
'Virgin Islands (U.S.)',
|
|
1037
|
+
],
|
|
1038
|
+
},
|
|
1039
|
+
USN: {
|
|
1040
|
+
isoCode: '997',
|
|
1041
|
+
fractionDigit: 2,
|
|
1042
|
+
currencyName: 'US Dollar (Next day)',
|
|
1043
|
+
countries: ['United States of America (The)'],
|
|
1044
|
+
},
|
|
1045
|
+
UYI: {
|
|
1046
|
+
isoCode: '940',
|
|
1047
|
+
fractionDigit: 0,
|
|
1048
|
+
currencyName: 'Uruguay Peso en Unidades Indexadas (UI)',
|
|
1049
|
+
countries: ['Uruguay'],
|
|
1050
|
+
},
|
|
1051
|
+
UYU: {
|
|
1052
|
+
isoCode: '858',
|
|
1053
|
+
fractionDigit: 2,
|
|
1054
|
+
currencyName: 'Peso Uruguayo',
|
|
1055
|
+
countries: ['Uruguay'],
|
|
1056
|
+
},
|
|
1057
|
+
UYW: {
|
|
1058
|
+
isoCode: '927',
|
|
1059
|
+
fractionDigit: 4,
|
|
1060
|
+
currencyName: 'Unidad Previsional',
|
|
1061
|
+
countries: ['Uruguay'],
|
|
1062
|
+
},
|
|
1063
|
+
UZS: {
|
|
1064
|
+
isoCode: '860',
|
|
1065
|
+
fractionDigit: 2,
|
|
1066
|
+
currencyName: 'Uzbekistan Sum',
|
|
1067
|
+
countries: ['Uzbekistan'],
|
|
1068
|
+
},
|
|
1069
|
+
VES: {
|
|
1070
|
+
isoCode: '928',
|
|
1071
|
+
fractionDigit: 2,
|
|
1072
|
+
currencyName: 'Bolívar Soberano',
|
|
1073
|
+
countries: ['Venezuela (Bolivarian Republic Of)'],
|
|
1074
|
+
},
|
|
1075
|
+
VND: {
|
|
1076
|
+
isoCode: '704',
|
|
1077
|
+
fractionDigit: 0,
|
|
1078
|
+
currencyName: 'Dong',
|
|
1079
|
+
countries: ['Viet Nam'],
|
|
1080
|
+
},
|
|
1081
|
+
VUV: {
|
|
1082
|
+
isoCode: '548',
|
|
1083
|
+
fractionDigit: 0,
|
|
1084
|
+
currencyName: 'Vatu',
|
|
1085
|
+
countries: ['Vanuatu'],
|
|
1086
|
+
},
|
|
1087
|
+
WST: {
|
|
1088
|
+
isoCode: '882',
|
|
1089
|
+
fractionDigit: 2,
|
|
1090
|
+
currencyName: 'Tala',
|
|
1091
|
+
countries: ['Samoa'],
|
|
1092
|
+
},
|
|
1093
|
+
XAF: {
|
|
1094
|
+
isoCode: '950',
|
|
1095
|
+
fractionDigit: 0,
|
|
1096
|
+
currencyName: 'CFA Franc BEAC',
|
|
1097
|
+
countries: [
|
|
1098
|
+
'Cameroon',
|
|
1099
|
+
'Central African Republic (The)',
|
|
1100
|
+
'Chad',
|
|
1101
|
+
'Congo (The)',
|
|
1102
|
+
'Equatorial Guinea',
|
|
1103
|
+
'Gabon',
|
|
1104
|
+
],
|
|
1105
|
+
},
|
|
1106
|
+
XAG: {
|
|
1107
|
+
isoCode: '961',
|
|
1108
|
+
fractionDigit: 0,
|
|
1109
|
+
currencyName: 'Silver',
|
|
1110
|
+
countries: ['Zz11_silver'],
|
|
1111
|
+
},
|
|
1112
|
+
XAU: {
|
|
1113
|
+
isoCode: '959',
|
|
1114
|
+
fractionDigit: 0,
|
|
1115
|
+
currencyName: 'Gold',
|
|
1116
|
+
countries: ['Zz08_gold'],
|
|
1117
|
+
},
|
|
1118
|
+
XBA: {
|
|
1119
|
+
isoCode: '955',
|
|
1120
|
+
fractionDigit: 0,
|
|
1121
|
+
currencyName: 'Bond Markets Unit European Composite Unit (EURCO)',
|
|
1122
|
+
countries: ['Zz01_bond Markets Unit European_eurco'],
|
|
1123
|
+
},
|
|
1124
|
+
XBB: {
|
|
1125
|
+
isoCode: '956',
|
|
1126
|
+
fractionDigit: 0,
|
|
1127
|
+
currencyName: 'Bond Markets Unit European Monetary Unit (E.M.U.-6)',
|
|
1128
|
+
countries: ['Zz02_bond Markets Unit European_emu-6'],
|
|
1129
|
+
},
|
|
1130
|
+
XBC: {
|
|
1131
|
+
isoCode: '957',
|
|
1132
|
+
fractionDigit: 0,
|
|
1133
|
+
currencyName: 'Bond Markets Unit European Unit of Account 9 (E.U.A.-9)',
|
|
1134
|
+
countries: ['Zz03_bond Markets Unit European_eua-9'],
|
|
1135
|
+
},
|
|
1136
|
+
XBD: {
|
|
1137
|
+
isoCode: '958',
|
|
1138
|
+
fractionDigit: 0,
|
|
1139
|
+
currencyName: 'Bond Markets Unit European Unit of Account 17 (E.U.A.-17)',
|
|
1140
|
+
countries: ['Zz04_bond Markets Unit European_eua-17'],
|
|
1141
|
+
},
|
|
1142
|
+
XCD: {
|
|
1143
|
+
isoCode: '951',
|
|
1144
|
+
fractionDigit: 2,
|
|
1145
|
+
currencyName: 'East Caribbean Dollar',
|
|
1146
|
+
countries: [
|
|
1147
|
+
'Anguilla',
|
|
1148
|
+
'Antigua and Barbuda',
|
|
1149
|
+
'Dominica',
|
|
1150
|
+
'Grenada',
|
|
1151
|
+
'Montserrat',
|
|
1152
|
+
'Saint Kitts and Nevis',
|
|
1153
|
+
'Saint Lucia',
|
|
1154
|
+
'Saint Vincent and the Grenadines',
|
|
1155
|
+
],
|
|
1156
|
+
},
|
|
1157
|
+
XDR: {
|
|
1158
|
+
isoCode: '960',
|
|
1159
|
+
fractionDigit: 0,
|
|
1160
|
+
currencyName: 'SDR (Special Drawing Right)',
|
|
1161
|
+
countries: ['International Monetary Fund (Imf) '],
|
|
1162
|
+
},
|
|
1163
|
+
XOF: {
|
|
1164
|
+
isoCode: '952',
|
|
1165
|
+
fractionDigit: 0,
|
|
1166
|
+
currencyName: 'CFA Franc BCEAO',
|
|
1167
|
+
countries: [
|
|
1168
|
+
'Benin',
|
|
1169
|
+
'Burkina Faso',
|
|
1170
|
+
"Côte d'Ivoire",
|
|
1171
|
+
'Guinea-Bissau',
|
|
1172
|
+
'Mali',
|
|
1173
|
+
'Niger (The)',
|
|
1174
|
+
'Senegal',
|
|
1175
|
+
'Togo',
|
|
1176
|
+
],
|
|
1177
|
+
},
|
|
1178
|
+
XPD: {
|
|
1179
|
+
isoCode: '964',
|
|
1180
|
+
fractionDigit: 0,
|
|
1181
|
+
currencyName: 'Palladium',
|
|
1182
|
+
countries: ['Zz09_palladium'],
|
|
1183
|
+
},
|
|
1184
|
+
XPF: {
|
|
1185
|
+
isoCode: '953',
|
|
1186
|
+
fractionDigit: 0,
|
|
1187
|
+
currencyName: 'CFP Franc',
|
|
1188
|
+
countries: ['French Polynesia', 'New Caledonia', 'Wallis and Futuna'],
|
|
1189
|
+
},
|
|
1190
|
+
XPT: {
|
|
1191
|
+
isoCode: '962',
|
|
1192
|
+
fractionDigit: 0,
|
|
1193
|
+
currencyName: 'Platinum',
|
|
1194
|
+
countries: ['Zz10_platinum'],
|
|
1195
|
+
},
|
|
1196
|
+
XSU: {
|
|
1197
|
+
isoCode: '994',
|
|
1198
|
+
fractionDigit: 0,
|
|
1199
|
+
currencyName: 'Sucre',
|
|
1200
|
+
countries: ['Sistema Unitario De Compensacion Regional De Pagos "Sucre"'],
|
|
1201
|
+
},
|
|
1202
|
+
XTS: {
|
|
1203
|
+
isoCode: '963',
|
|
1204
|
+
fractionDigit: 0,
|
|
1205
|
+
currencyName: 'Codes specifically reserved for testing purposes',
|
|
1206
|
+
countries: ['Zz06_testing_code'],
|
|
1207
|
+
},
|
|
1208
|
+
XUA: {
|
|
1209
|
+
isoCode: '965',
|
|
1210
|
+
fractionDigit: 0,
|
|
1211
|
+
currencyName: 'ADB Unit of Account',
|
|
1212
|
+
countries: ['Member Countries of the African Development Bank Group'],
|
|
1213
|
+
},
|
|
1214
|
+
XXX: {
|
|
1215
|
+
isoCode: '999',
|
|
1216
|
+
fractionDigit: 0,
|
|
1217
|
+
currencyName:
|
|
1218
|
+
'The codes assigned for transactions where no currency is involved',
|
|
1219
|
+
countries: ['Zz07_no_currency'],
|
|
1220
|
+
},
|
|
1221
|
+
YER: {
|
|
1222
|
+
isoCode: '886',
|
|
1223
|
+
fractionDigit: 2,
|
|
1224
|
+
currencyName: 'Yemeni Rial',
|
|
1225
|
+
countries: ['Yemen'],
|
|
1226
|
+
},
|
|
1227
|
+
ZAR: {
|
|
1228
|
+
isoCode: '710',
|
|
1229
|
+
fractionDigit: 2,
|
|
1230
|
+
currencyName: 'Rand',
|
|
1231
|
+
countries: ['Lesotho', 'Namibia', 'South Africa'],
|
|
1232
|
+
},
|
|
1233
|
+
ZMW: {
|
|
1234
|
+
isoCode: '967',
|
|
1235
|
+
fractionDigit: 2,
|
|
1236
|
+
currencyName: 'Zambian Kwacha',
|
|
1237
|
+
countries: ['Zambia'],
|
|
1238
|
+
},
|
|
1239
|
+
ZWL: {
|
|
1240
|
+
isoCode: '932',
|
|
1241
|
+
fractionDigit: 2,
|
|
1242
|
+
currencyName: 'Zimbabwe Dollar',
|
|
1243
|
+
countries: ['Zimbabwe'],
|
|
1244
|
+
},
|
|
1245
|
+
};
|
|
1246
|
+
|
|
1247
|
+
export default currencyData;
|