@commercetools-frontend/experimental-components 6.4.1 → 6.4.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/dist/commercetools-frontend-experimental-components.cjs.d.ts +2 -0
- package/dist/commercetools-frontend-experimental-components.cjs.dev.js +84 -31
- package/dist/commercetools-frontend-experimental-components.cjs.prod.js +83 -30
- package/dist/commercetools-frontend-experimental-components.esm.js +84 -32
- package/dist/declarations/src/actions/reference-search/category/category.d.ts +2 -0
- package/dist/declarations/src/components/attribute-definitions/reference-search/cart-discount-reference-search/cart-discount-reference-search.d.ts +14 -0
- package/dist/declarations/src/components/attribute-definitions/reference-search/category-reference-search/category-reference-search.d.ts +17 -0
- package/dist/declarations/src/components/attribute-definitions/reference-search/category-reference-search/use-cached-category-options.d.ts +1 -0
- package/dist/declarations/src/components/buttons/button/button.d.ts +16 -0
- package/dist/declarations/src/components/buttons/file-input/file-input.d.ts +17 -0
- package/dist/declarations/src/components/centered-loading-spinner/centered-loading-spinner.d.ts +9 -0
- package/dist/declarations/src/components/centered-loading-spinner/index.d.ts +1 -0
- package/dist/declarations/src/components/channel-picker-input/channel-picker-input.d.ts +32 -0
- package/dist/declarations/src/components/channel-picker-input/index.d.ts +1 -0
- package/dist/declarations/src/components/country-picker/country-picker.d.ts +25 -0
- package/dist/declarations/src/components/country-picker/index.d.ts +1 -0
- package/dist/declarations/src/components/customer-group-picker-input/customer-group-picker-input.d.ts +28 -0
- package/dist/declarations/src/components/customer-group-picker-input/index.d.ts +1 -0
- package/dist/declarations/src/components/divider/divider.d.ts +12 -0
- package/dist/declarations/src/components/divider/index.d.ts +1 -0
- package/dist/declarations/src/components/formatted-date-time/formatted-date-time.d.ts +17 -0
- package/dist/declarations/src/components/formatted-localized-string/formatted-localized-string.d.ts +6 -0
- package/dist/declarations/src/components/formatted-localized-string/index.d.ts +1 -0
- package/dist/declarations/src/components/keep-display-name/index.d.ts +1 -0
- package/dist/declarations/src/components/keep-display-name/keep-display-name.d.ts +2 -0
- package/dist/declarations/src/components/messages.d.ts +16 -0
- package/dist/declarations/src/components/product-attributes/conversions.d.ts +18 -0
- package/dist/declarations/src/components/product-attributes/index.d.ts +3 -0
- package/dist/declarations/src/components/product-attributes/product-attribute-input.d.ts +13 -0
- package/dist/declarations/src/components/product-attributes/product-attributes.d.ts +18 -0
- package/dist/declarations/src/components/product-picker-input/index.d.ts +1 -0
- package/dist/declarations/src/components/product-picker-input/product-picker-input.d.ts +30 -0
- package/dist/declarations/src/components/product-selection-picker/index.d.ts +1 -0
- package/dist/declarations/src/components/product-selection-picker/product-selection-picker.d.ts +42 -0
- package/dist/declarations/src/components/required-indicator/required-indicator.d.ts +10 -0
- package/dist/declarations/src/components/scroll-to-field-error/scroll-to-field-error.d.ts +2 -0
- package/dist/declarations/src/components/selectable-field-search-input/selectable-field-search-input.d.ts +14 -0
- package/dist/declarations/src/components/store-select-field/store-select-field.d.ts +46 -0
- package/dist/declarations/src/components/store-select-input/components/stores-search-select-input/mocks/handlers.d.ts +6 -0
- package/dist/declarations/src/components/store-select-input/components/stores-search-select-input/mocks/index.d.ts +2 -0
- package/dist/declarations/src/components/store-select-input/hooks/use-stores-by-field-fetcher/mocks/handlers.d.ts +6 -0
- package/dist/declarations/src/components/store-select-input/hooks/use-stores-by-field-fetcher/mocks/index.d.ts +2 -0
- package/dist/declarations/src/components/store-select-input/hooks/use-total-number-of-stores-fetcher/mocks/handlers.d.ts +6 -0
- package/dist/declarations/src/components/store-select-input/hooks/use-total-number-of-stores-fetcher/mocks/index.d.ts +2 -0
- package/dist/declarations/src/components/store-select-input/hooks/use-total-number-of-stores-fetcher/use-total-number-of-stores-fetcher.d.ts +5 -0
- package/dist/declarations/src/components/store-select-input/store-select-input.d.ts +47 -0
- package/dist/declarations/src/components/store-select-input/utils.d.ts +18 -0
- package/dist/declarations/src/components/validated-input/validated-input.d.ts +148 -0
- package/dist/declarations/src/constants/index.d.ts +72 -0
- package/dist/declarations/src/custom-fields/custom-field-definitions-connector/custom-field-definitions-connector.d.ts +25 -0
- package/dist/declarations/src/custom-fields/custom-field-definitions-connector/index.d.ts +1 -0
- package/dist/declarations/src/custom-fields/custom-field-definitions-connector/mocks/handlers.d.ts +6 -0
- package/dist/declarations/src/custom-fields/custom-field-definitions-connector/mocks/index.d.ts +2 -0
- package/dist/declarations/src/custom-fields/custom-field-type-definitions-connector/custom-field-type-definitions-connector.d.ts +56 -0
- package/dist/declarations/src/custom-fields/custom-field-type-definitions-connector/index.d.ts +1 -0
- package/dist/declarations/src/custom-fields/custom-fields/custom-field-tooltip.d.ts +11 -0
- package/dist/declarations/src/custom-fields/custom-fields/custom-fields.d.ts +13 -0
- package/dist/declarations/src/custom-fields/custom-fields/dnd-provider.d.ts +30 -0
- package/dist/declarations/src/custom-fields/custom-fields/index.d.ts +5 -0
- package/dist/declarations/src/custom-fields/custom-fields/validations/index.d.ts +1 -0
- package/dist/declarations/src/custom-fields/custom-fields/validations/validations.d.ts +1 -0
- package/dist/declarations/src/custom-fields/custom-fields-error-text-notification/custom-fields-error-text-notification.d.ts +8 -0
- package/dist/declarations/src/custom-fields/custom-fields-form-field/custom-fields-form-field.d.ts +23 -0
- package/dist/declarations/src/custom-fields/custom-fields-form-field/index.d.ts +1 -0
- package/dist/declarations/src/custom-fields/custom-fields-form-field/utils.d.ts +46 -0
- package/dist/declarations/src/features/picker/index.d.ts +5 -0
- package/dist/declarations/src/features/picker/shared/components/index.d.ts +1 -0
- package/dist/declarations/src/features/picker/shared/components/option.d.ts +14 -0
- package/dist/declarations/src/features/picker/shared/hooks/use-current-option.d.ts +12 -0
- package/dist/declarations/src/features/picker/shared/hooks/use-handlers.d.ts +2 -0
- package/dist/declarations/src/features/picker/shared/hooks/use-load-options.d.ts +6 -0
- package/dist/declarations/src/features/picker/shared/hooks/use-product-type-options.d.ts +18 -0
- package/dist/declarations/src/features/pim-indexer/components/pim-indexer-context/pim-indexer-context.d.ts +13 -0
- package/dist/declarations/src/features/pim-indexer/components/pim-indexer-provider/index.d.ts +1 -0
- package/dist/declarations/src/features/pim-indexer/components/pim-indexer-provider/pim-indexer-provider.d.ts +44 -0
- package/dist/declarations/src/features/pim-indexer/components/with-pim-indexer/index.d.ts +1 -0
- package/dist/declarations/src/features/pim-indexer/components/with-pim-indexer/with-pim-indexer.d.ts +11 -0
- package/dist/declarations/src/features/pim-indexer/hocs/inject-pim-indexer/index.d.ts +1 -0
- package/dist/declarations/src/features/pim-indexer/hocs/inject-pim-indexer/inject-pim-indexer.d.ts +5 -0
- package/dist/declarations/src/features/pim-indexer/hooks/use-pim-indexer/index.d.ts +1 -0
- package/dist/declarations/src/features/pim-indexer/hooks/use-pim-indexer/use-pim-indexer.d.ts +1 -0
- package/dist/declarations/src/features/pim-indexer/index.d.ts +5 -0
- package/dist/declarations/src/features/platform-limits/customer-groups/hocs/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/customer-groups/hocs/inject-customer-groups-platform-limits/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/customer-groups/hocs/inject-customer-groups-platform-limits/inject-customer-groups-platform-limits.d.ts +5 -0
- package/dist/declarations/src/features/platform-limits/customer-groups/hooks/index.d.ts +4 -0
- package/dist/declarations/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits/use-customer-groups-platform-limits.d.ts +41 -0
- package/dist/declarations/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits-fetcher/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits-fetcher/use-customer-groups-platform-limits-fetcher.d.ts +7 -0
- package/dist/declarations/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits-modal-state/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits-modal-state/use-customer-groups-platform-limits-modal-state.d.ts +4 -0
- package/dist/declarations/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits-status/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits-status/use-customer-groups-platform-limits-status.d.ts +5 -0
- package/dist/declarations/src/features/platform-limits/customer-groups/index.d.ts +2 -0
- package/dist/declarations/src/features/platform-limits/customers/hocs/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/customers/hocs/inject-customers-platform-limits/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/customers/hocs/inject-customers-platform-limits/inject-customers-platform-limits.d.ts +5 -0
- package/dist/declarations/src/features/platform-limits/customers/hooks/index.d.ts +4 -0
- package/dist/declarations/src/features/platform-limits/customers/hooks/use-customers-platform-limits/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/customers/hooks/use-customers-platform-limits/use-customers-platform-limits.d.ts +41 -0
- package/dist/declarations/src/features/platform-limits/customers/hooks/use-customers-platform-limits-fetcher/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/customers/hooks/use-customers-platform-limits-fetcher/use-customers-platform-limits-fetcher.d.ts +7 -0
- package/dist/declarations/src/features/platform-limits/customers/hooks/use-customers-platform-limits-modal-state/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/customers/hooks/use-customers-platform-limits-modal-state/use-customers-platform-limits-modal-state.d.ts +4 -0
- package/dist/declarations/src/features/platform-limits/customers/hooks/use-customers-platform-limits-status/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/customers/hooks/use-customers-platform-limits-status/use-customers-platform-limits-status.d.ts +5 -0
- package/dist/declarations/src/features/platform-limits/customers/index.d.ts +2 -0
- package/dist/declarations/src/features/platform-limits/index.d.ts +5 -0
- package/dist/declarations/src/features/platform-limits/shared/hooks/use-platform-limits-fetcher/mocks/handlers.d.ts +6 -0
- package/dist/declarations/src/features/platform-limits/shared/hooks/use-platform-limits-fetcher/mocks/index.d.ts +2 -0
- package/dist/declarations/src/features/platform-limits/shipping-methods/hocs/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/shipping-methods/hocs/inject-shipping-methods-platform-limits/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/shipping-methods/hocs/inject-shipping-methods-platform-limits/inject-shipping-methods-platform-limits.d.ts +5 -0
- package/dist/declarations/src/features/platform-limits/shipping-methods/hooks/index.d.ts +3 -0
- package/dist/declarations/src/features/platform-limits/shipping-methods/hooks/use-shipping-methods-platform-limits/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/shipping-methods/hooks/use-shipping-methods-platform-limits/use-shipping-methods-platform-limits.d.ts +27 -0
- package/dist/declarations/src/features/platform-limits/shipping-methods/hooks/use-shipping-methods-platform-limits-fetcher/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/shipping-methods/hooks/use-shipping-methods-platform-limits-fetcher/use-shipping-methods-platform-limits-fetcher.d.ts +7 -0
- package/dist/declarations/src/features/platform-limits/shipping-methods/hooks/use-shipping-methods-platform-limits-status/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/shipping-methods/hooks/use-shipping-methods-platform-limits-status/use-shipping-methods-platform-limits-status.d.ts +5 -0
- package/dist/declarations/src/features/platform-limits/shipping-methods/index.d.ts +2 -0
- package/dist/declarations/src/features/platform-limits/tax-categories/hocs/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/tax-categories/hocs/inject-tax-categories-platform-limits/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/tax-categories/hocs/inject-tax-categories-platform-limits/inject-tax-categories-platform-limits.d.ts +5 -0
- package/dist/declarations/src/features/platform-limits/tax-categories/hooks/index.d.ts +3 -0
- package/dist/declarations/src/features/platform-limits/tax-categories/hooks/use-tax-categories-platform-limits/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/tax-categories/hooks/use-tax-categories-platform-limits/use-tax-categories-platform-limits.d.ts +27 -0
- package/dist/declarations/src/features/platform-limits/tax-categories/hooks/use-tax-categories-platform-limits-fetcher/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/tax-categories/hooks/use-tax-categories-platform-limits-fetcher/use-tax-categories-platform-limits-fetcher.d.ts +7 -0
- package/dist/declarations/src/features/platform-limits/tax-categories/hooks/use-tax-categories-platform-limits-status/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/tax-categories/hooks/use-tax-categories-platform-limits-status/use-tax-categories-platform-limits-status.d.ts +5 -0
- package/dist/declarations/src/features/platform-limits/tax-categories/index.d.ts +2 -0
- package/dist/declarations/src/features/platform-limits/zones/hocs/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/zones/hocs/inject-zones-platform-limits/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/zones/hocs/inject-zones-platform-limits/inject-zones-platform-limits.d.ts +5 -0
- package/dist/declarations/src/features/platform-limits/zones/hooks/index.d.ts +3 -0
- package/dist/declarations/src/features/platform-limits/zones/hooks/use-zones-platform-limits/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/zones/hooks/use-zones-platform-limits/use-zones-platform-limits.d.ts +27 -0
- package/dist/declarations/src/features/platform-limits/zones/hooks/use-zones-platform-limits-fetcher/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/zones/hooks/use-zones-platform-limits-fetcher/use-zones-platform-limits-fetcher.d.ts +7 -0
- package/dist/declarations/src/features/platform-limits/zones/hooks/use-zones-platform-limits-status/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/zones/hooks/use-zones-platform-limits-status/use-zones-platform-limits-status.d.ts +5 -0
- package/dist/declarations/src/features/platform-limits/zones/index.d.ts +2 -0
- package/dist/declarations/src/fields/boolean-field/boolean-field.d.ts +26 -0
- package/dist/declarations/src/fields/boolean-field/index.d.ts +3 -0
- package/dist/declarations/src/fields/boolean-field/messages.d.ts +16 -0
- package/dist/declarations/src/fields/label-range/label-range.d.ts +10 -0
- package/dist/declarations/src/fields/missing-value-field/index.d.ts +2 -0
- package/dist/declarations/src/fields/missing-value-field/messages.d.ts +8 -0
- package/dist/declarations/src/fields/missing-value-field/missing-value-field.d.ts +11 -0
- package/dist/declarations/src/fields/multi-value-search-input/multi-value-search-input.d.ts +12 -0
- package/dist/declarations/src/fields/numeric-format-input/numeric-format-input.d.ts +58 -0
- package/dist/declarations/src/fields/search-input/messages.d.ts +16 -0
- package/dist/declarations/src/fields/search-input/search-input.d.ts +55 -0
- package/dist/declarations/src/fields/throttled-field/throttled-field.d.ts +53 -0
- package/dist/declarations/src/hocs/index.d.ts +9 -0
- package/dist/declarations/src/hocs/inject-data-table-pagination-state/index.d.ts +1 -0
- package/dist/declarations/src/hocs/inject-data-table-pagination-state/inject-data-table-pagination-state.d.ts +10 -0
- package/dist/declarations/src/hocs/inject-modal-state/index.d.ts +1 -0
- package/dist/declarations/src/hocs/inject-modal-state/inject-modal-state.d.ts +5 -0
- package/dist/declarations/src/hocs/inject-notifications/index.d.ts +1 -0
- package/dist/declarations/src/hocs/inject-notifications/inject-notifications.d.ts +5 -0
- package/dist/declarations/src/hocs/inject-storage/index.d.ts +1 -0
- package/dist/declarations/src/hocs/inject-storage/inject-storage.d.ts +5 -0
- package/dist/declarations/src/hocs/inject-toggle-state/index.d.ts +1 -0
- package/dist/declarations/src/hocs/inject-toggle-state/inject-toggle-state.d.ts +5 -0
- package/dist/declarations/src/hocs/utils/get-display-name/get-display-name.d.ts +2 -0
- package/dist/declarations/src/hocs/utils/get-display-name/index.d.ts +1 -0
- package/dist/declarations/src/hocs/utils/index.d.ts +2 -0
- package/dist/declarations/src/hocs/utils/set-display-name/index.d.ts +1 -0
- package/dist/declarations/src/hocs/utils/set-display-name/set-display-name.d.ts +2 -0
- package/dist/declarations/src/hocs/with-props/index.d.ts +1 -0
- package/dist/declarations/src/hocs/with-props/with-props.d.ts +5 -0
- package/dist/declarations/src/hocs/with-redirect-to/index.d.ts +1 -0
- package/dist/declarations/src/hocs/with-redirect-to/with-redirect-to.d.ts +5 -0
- package/dist/declarations/src/hocs/wrap-display-name/index.d.ts +1 -0
- package/dist/declarations/src/hocs/wrap-display-name/wrap-display-name.d.ts +2 -0
- package/dist/declarations/src/hooks/index.d.ts +18 -0
- package/dist/declarations/src/hooks/use-debounced-promise-callback.d.ts +2 -0
- package/dist/declarations/src/hooks/use-did-form-validation-fail/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-did-form-validation-fail/use-did-form-validation-fail.d.ts +1 -0
- package/dist/declarations/src/hooks/use-event-callback/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-event-callback/use-event-callback.d.ts +2 -0
- package/dist/declarations/src/hooks/use-format-localized-field-to-string/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-format-localized-field-to-string/use-format-localized-field-to-string.d.ts +11 -0
- package/dist/declarations/src/hooks/use-format-localized-string/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-format-localized-string/use-format-localized-string.d.ts +5 -0
- package/dist/declarations/src/hooks/use-is-field-duplicated/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-is-field-duplicated/mocks/handlers.d.ts +6 -0
- package/dist/declarations/src/hooks/use-is-field-duplicated/mocks/index.d.ts +2 -0
- package/dist/declarations/src/hooks/use-is-field-duplicated/use-is-field-duplicated.d.ts +43 -0
- package/dist/declarations/src/hooks/use-localized-key-fallback/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-localized-key-fallback/use-localized-key-fallback.d.ts +2 -0
- package/dist/declarations/src/hooks/use-pending-requests/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-pending-requests/use-pending-requests.d.ts +6 -0
- package/dist/declarations/src/hooks/use-persisted-reminder/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-persisted-reminder/use-persisted-reminder.d.ts +2 -0
- package/dist/declarations/src/hooks/use-persisted-table-configuration/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-persisted-table-configuration/use-persisted-table-configuration.d.ts +8 -0
- package/dist/declarations/src/hooks/use-previous/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-previous/use-previous.d.ts +2 -0
- package/dist/declarations/src/hooks/use-product-selections-fetcher/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-product-selections-fetcher/mocks/handlers.d.ts +6 -0
- package/dist/declarations/src/hooks/use-product-selections-fetcher/mocks/index.d.ts +2 -0
- package/dist/declarations/src/hooks/use-product-selections-fetcher/use-product-selections-fetcher.d.ts +10 -0
- package/dist/declarations/src/hooks/use-product-selections-total-fetcher/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-product-selections-total-fetcher/mocks/handlers.d.ts +6 -0
- package/dist/declarations/src/hooks/use-product-selections-total-fetcher/mocks/index.d.ts +2 -0
- package/dist/declarations/src/hooks/use-product-selections-total-fetcher/use-product-selections-total-fetcher.d.ts +5 -0
- package/dist/declarations/src/hooks/use-role-based-channels-fetcher/test-utils.d.ts +2 -0
- package/dist/declarations/src/hooks/use-role-notification/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-role-notification/use-role-notification.d.ts +4 -0
- package/dist/declarations/src/hooks/use-role-notification-effect/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-role-notification-effect/use-role-notification-effect.d.ts +2 -0
- package/dist/declarations/src/hooks/use-storage/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-storage/use-storage.d.ts +7 -0
- package/dist/declarations/src/hooks/use-store-keys-in-data-fence/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-store-keys-in-data-fence/use-store-keys-in-data-fence.d.ts +6 -0
- package/dist/declarations/src/hooks/use-stores-list-fetcher/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-stores-list-fetcher/mocks/handlers.d.ts +7 -0
- package/dist/declarations/src/hooks/use-stores-list-fetcher/mocks/index.d.ts +2 -0
- package/dist/declarations/src/hooks/use-stores-list-fetcher/use-stores-list-fetcher.d.ts +40 -0
- package/dist/declarations/src/index.d.ts +116 -0
- package/dist/declarations/src/test-utils.d.ts +10 -0
- package/dist/declarations/src/utils/array-helpers/array-helpers.d.ts +1 -0
- package/dist/declarations/src/utils/attributes/attributes.d.ts +14 -0
- package/dist/declarations/src/utils/build-search-query/build-search-query.d.ts +2 -0
- package/dist/declarations/src/utils/bulk-notifications/get-bulk-notification.d.ts +13 -0
- package/dist/declarations/src/utils/business-roles/business-role-constants.d.ts +11 -0
- package/dist/declarations/src/utils/business-roles/business-roles.d.ts +2 -0
- package/dist/declarations/src/utils/business-roles/index.d.ts +4 -0
- package/dist/declarations/src/utils/business-roles/messages.d.ts +64 -0
- package/dist/declarations/src/utils/capitalize-first/capitalize-first.d.ts +1 -0
- package/dist/declarations/src/utils/categories/categories.d.ts +20 -0
- package/dist/declarations/src/utils/clone/clone.d.ts +1 -0
- package/dist/declarations/src/utils/coerce-to-integer/coerce-to-integer.d.ts +1 -0
- package/dist/declarations/src/utils/connector/connector.d.ts +19 -0
- package/dist/declarations/src/utils/constants.d.ts +39 -0
- package/dist/declarations/src/utils/conversions/sort-array.d.ts +1 -0
- package/dist/declarations/src/utils/create-next-sort-definition/create-next-sort-definition.d.ts +11 -0
- package/dist/declarations/src/utils/create-reducer/create-reducer.d.ts +6 -0
- package/dist/declarations/src/utils/create-resource-reducer/create-resource-reducer.d.ts +1 -0
- package/dist/declarations/src/utils/customer/format-customer-address/format-customer-address.d.ts +4 -0
- package/dist/declarations/src/utils/customer/format-customer-name/format-customer-name.d.ts +4 -0
- package/dist/declarations/src/utils/dataset/dataset.d.ts +3 -0
- package/dist/declarations/src/utils/encodings/encodings.d.ts +2 -0
- package/dist/declarations/src/utils/encodings/index.d.ts +1 -0
- package/dist/declarations/src/utils/filters/custom-fields/custom-fields.d.ts +1 -0
- package/dist/declarations/src/utils/filters/custom-fields/index.d.ts +1 -0
- package/dist/declarations/src/utils/filters/date/date.d.ts +6 -0
- package/dist/declarations/src/utils/filters/date/index.d.ts +1 -0
- package/dist/declarations/src/utils/filters/graphql/category-level/category-level.d.ts +1 -0
- package/dist/declarations/src/utils/filters/graphql/category-level/index.d.ts +1 -0
- package/dist/declarations/src/utils/filters/graphql/date/date.d.ts +5 -0
- package/dist/declarations/src/utils/filters/graphql/date/index.d.ts +1 -0
- package/dist/declarations/src/utils/filters/graphql/graphql.d.ts +29 -0
- package/dist/declarations/src/utils/filters/graphql/index.d.ts +1 -0
- package/dist/declarations/src/utils/filters/graphql/missing/index.d.ts +1 -0
- package/dist/declarations/src/utils/filters/graphql/missing/missing.d.ts +1 -0
- package/dist/declarations/src/utils/filters/graphql/missing-locale/index.d.ts +1 -0
- package/dist/declarations/src/utils/filters/graphql/missing-locale/missing-locale.d.ts +1 -0
- package/dist/declarations/src/utils/filters/graphql/number/index.d.ts +1 -0
- package/dist/declarations/src/utils/filters/graphql/number/number.d.ts +5 -0
- package/dist/declarations/src/utils/filters/graphql/reference/index.d.ts +1 -0
- package/dist/declarations/src/utils/filters/graphql/reference/reference.d.ts +5 -0
- package/dist/declarations/src/utils/filters/graphql/text/index.d.ts +1 -0
- package/dist/declarations/src/utils/filters/graphql/text/text.d.ts +1 -0
- package/dist/declarations/src/utils/filters/is-date/is-date.d.ts +12 -0
- package/dist/declarations/src/utils/filters/is-empty/index.d.ts +1 -0
- package/dist/declarations/src/utils/filters/is-empty/is-empty.d.ts +4 -0
- package/dist/declarations/src/utils/filters/validation/custom-field/custom-field.d.ts +15 -0
- package/dist/declarations/src/utils/filters/validation/custom-field/index.d.ts +2 -0
- package/dist/declarations/src/utils/filters/validation/custom-field/messages.d.ts +16 -0
- package/dist/declarations/src/utils/filters/validation/date/date.d.ts +4 -0
- package/dist/declarations/src/utils/filters/validation/date/index.d.ts +1 -0
- package/dist/declarations/src/utils/filters/validation/enum/enum.d.ts +2 -0
- package/dist/declarations/src/utils/filters/validation/number/index.d.ts +1 -0
- package/dist/declarations/src/utils/filters/validation/number/number.d.ts +5 -0
- package/dist/declarations/src/utils/filters/validation/text/text.d.ts +1 -0
- package/dist/declarations/src/utils/formats/custom-field/custom-field.d.ts +17 -0
- package/dist/declarations/src/utils/formats/custom-field/index.d.ts +1 -0
- package/dist/declarations/src/utils/formats/date/date.d.ts +9 -0
- package/dist/declarations/src/utils/formats/date/index.d.ts +1 -0
- package/dist/declarations/src/utils/formats/discount/discount.d.ts +1 -0
- package/dist/declarations/src/utils/formats/index.d.ts +4 -0
- package/dist/declarations/src/utils/formats/money/index.d.ts +1 -0
- package/dist/declarations/src/utils/formats/money/money.d.ts +4 -0
- package/dist/declarations/src/utils/formats/percentage/percentage.d.ts +2 -0
- package/dist/declarations/src/utils/formats/product-attribute/index.d.ts +1 -0
- package/dist/declarations/src/utils/formats/product-attribute/product-attribute.d.ts +9 -0
- package/dist/declarations/src/utils/get-prefix-search-bounds/get-prefix-search-bounds.d.ts +2 -0
- package/dist/declarations/src/utils/graphql/graphql.d.ts +26 -0
- package/dist/declarations/src/utils/has-error-code/has-invalid-input-error.d.ts +2 -0
- package/dist/declarations/src/utils/has-error-code/has-semantic-error.d.ts +2 -0
- package/dist/declarations/src/utils/is-uuid/is-uuid.d.ts +2 -0
- package/dist/declarations/src/utils/minusify/minusify.d.ts +1 -0
- package/dist/declarations/src/utils/omit-deep/omit-deep.d.ts +2 -0
- package/dist/declarations/src/utils/pim-query-clauses.d.ts +30 -0
- package/dist/declarations/src/utils/prices/prices.d.ts +8 -0
- package/dist/declarations/src/utils/product-selections/convert-product-selection-from-graphql.d.ts +14 -0
- package/dist/declarations/src/utils/products/products.d.ts +57 -0
- package/dist/declarations/src/utils/query-string/query-string.d.ts +3 -0
- package/dist/declarations/src/utils/request-cache/request-cache.d.ts +17 -0
- package/dist/declarations/src/utils/shallow-equal/shallow-equal.d.ts +1 -0
- package/dist/declarations/src/utils/should-update-attribute-input/should-update-attribute-input.d.ts +6 -0
- package/dist/declarations/src/utils/slugify/slugify.d.ts +1 -0
- package/dist/declarations/src/utils/swap-array-items/swap-array-items.d.ts +2 -0
- package/dist/declarations/src/utils/text-fallback/text-fallback.d.ts +1 -0
- package/dist/declarations/src/utils/time-zones/time-zone-utils.d.ts +6 -0
- package/dist/declarations/src/utils/transform-to-proper-noun-case/transform-to-proper-noun-case.d.ts +2 -0
- package/dist/declarations/src/utils/truncate/index.d.ts +1 -0
- package/dist/declarations/src/utils/truncate/truncate.d.ts +1 -0
- package/dist/declarations/src/utils/type-definitions/type-definitions.d.ts +18 -0
- package/dist/declarations/src/utils/validation/get-indexes-of-invalid-values.d.ts +1 -0
- package/dist/declarations/src/utils/validation/index.d.ts +4 -0
- package/dist/declarations/src/utils/validation/messages.d.ts +64 -0
- package/dist/declarations/src/utils/validation/validation.d.ts +23 -0
- package/dist/declarations/src/utils/validation/without-empty-errors-by-field.d.ts +2 -0
- package/dist/declarations/src/utils/with-pending-requests/with-pending-requests.d.ts +5 -0
- package/dist/styles.css +87 -87
- package/package.json +26 -25
- package/test-utils/dist/commercetools-frontend-experimental-components-test-utils.cjs.d.ts +2 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from "./declarations/src/index.js";
|
|
2
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVyY2V0b29scy1mcm9udGVuZC1leHBlcmltZW50YWwtY29tcG9uZW50cy5janMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4vZGVjbGFyYXRpb25zL3NyYy9pbmRleC5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0=
|
|
@@ -930,17 +930,18 @@ const constructPrefixSearchPredicate = (prefixSearchFields, lowerBound, upperBou
|
|
|
930
930
|
return _mapInstanceProperty__default["default"](prefixSearchFields).call(prefixSearchFields, constructPrefixSearchExpression).join(' or ');
|
|
931
931
|
};
|
|
932
932
|
const constructWherePredicate = (inputValue, prefixSearchFields) => {
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
933
|
+
let wherePredicate;
|
|
934
|
+
if (inputValue.length) {
|
|
935
|
+
if (isUUID$1(inputValue)) {
|
|
936
|
+
wherePredicate = `id = "${inputValue}"`;
|
|
937
|
+
} else {
|
|
938
|
+
const _getPrefixSearchBound = getPrefixSearchBounds$1(inputValue),
|
|
939
|
+
_getPrefixSearchBound2 = _slicedToArray(_getPrefixSearchBound, 2),
|
|
940
|
+
lowerBound = _getPrefixSearchBound2[0],
|
|
941
|
+
upperBound = _getPrefixSearchBound2[1];
|
|
942
|
+
wherePredicate = constructPrefixSearchPredicate(prefixSearchFields, lowerBound, upperBound);
|
|
942
943
|
}
|
|
943
|
-
}
|
|
944
|
+
}
|
|
944
945
|
return wherePredicate;
|
|
945
946
|
};
|
|
946
947
|
const useFetchProductTypessFromCTP = _ref2 => {
|
|
@@ -4017,7 +4018,9 @@ const doNotFormat = _ref13 => {
|
|
|
4017
4018
|
let value = _ref13.value;
|
|
4018
4019
|
return value;
|
|
4019
4020
|
};
|
|
4020
|
-
const getFormatter = type =>
|
|
4021
|
+
const getFormatter = type => {
|
|
4022
|
+
if (isNil__default["default"](type)) return formatNilType;else if (type.name === 'nested') return formatNested;else if (type.name === 'set') return formatSet;else if (type.name === 'enum') return formatEnum;else if (type.name === 'lenum') return formatLenum;else if (type.name === 'ltext') return formatLtext;else if (type.name === 'money') return formatMoney$1;else if (type.name === 'reference') return formatReference;else if (type.name === 'date') return formatDate;else if (type.name === 'time') return doNotFormat;else if (type.name === 'datetime') return formatDateTime;else if (type.name === 'boolean') return formatBoolean;else if (type.name === 'text') return doNotFormat;else if (type.name === 'number') return doNotFormat;else return formatUnknown;
|
|
4023
|
+
};
|
|
4021
4024
|
function formatAttribute(_ref14) {
|
|
4022
4025
|
let type = _ref14.type,
|
|
4023
4026
|
value = _ref14.value,
|
|
@@ -7341,7 +7344,8 @@ function CustomReferenceInput(props) {
|
|
|
7341
7344
|
props.setFieldValue(props.name, nullifiedIfNeeded);
|
|
7342
7345
|
props.renderWarnings && props.handleWarningChange(props.name, props.fieldDefinition, rawValue);
|
|
7343
7346
|
});
|
|
7344
|
-
|
|
7347
|
+
let ReferenceInputComponent;
|
|
7348
|
+
if (referenceTypeId === SEARCHABLE_REFERENCES.category) ReferenceInputComponent = CustomCategoryReferenceInput;else if (referenceTypeId === SEARCHABLE_REFERENCES.cartDiscount) ReferenceInputComponent = CustomCartDiscountReferenceInput;else if (referenceTypeId === SEARCHABLE_REFERENCES.product) ReferenceInputComponent = CustomProductReferenceInput;else if (referenceTypeId === SEARCHABLE_REFERENCES.productType) ReferenceInputComponent = CustomProductTypeReferenceInput;else if (referenceTypeId === SEARCHABLE_REFERENCES.channel) ReferenceInputComponent = CustomChannelReferenceInput;else if (referenceTypeId === SEARCHABLE_REFERENCES.state) ReferenceInputComponent = CustomStateReferenceInput;else ReferenceInputComponent = CustomRawIdReferenceInput;
|
|
7345
7349
|
return jsxRuntime.jsx(ReferenceInputComponent, {
|
|
7346
7350
|
id: props.name,
|
|
7347
7351
|
name: props.name,
|
|
@@ -7583,7 +7587,17 @@ function CustomFieldsLabelSubtitle(_ref3) {
|
|
|
7583
7587
|
const referenceTypeId = type.referenceTypeId;
|
|
7584
7588
|
const referenceTypeName = capitalizeFirst(referenceTypeId);
|
|
7585
7589
|
if (_includesInstanceProperty__default["default"](_context = [SEARCHABLE_REFERENCES.category, SEARCHABLE_REFERENCES.cartDiscount]).call(_context, referenceTypeId)) return referenceTypeName;
|
|
7586
|
-
|
|
7590
|
+
if (referenceTypeId === SEARCHABLE_REFERENCES.product) {
|
|
7591
|
+
return formatMessage(messages$x.productReferenceLabel);
|
|
7592
|
+
} else if (referenceTypeId === SEARCHABLE_REFERENCES.productType) {
|
|
7593
|
+
return jsxRuntime.jsx(CustomFieldsProductTypeReferenceSubtitle, {});
|
|
7594
|
+
} else if (referenceTypeId === SEARCHABLE_REFERENCES.channel) {
|
|
7595
|
+
return formatMessage(messages$x.channelReferenceLabel);
|
|
7596
|
+
} else if (referenceTypeId === SEARCHABLE_REFERENCES.state) {
|
|
7597
|
+
return formatMessage(messages$x.stateReferenceLabel);
|
|
7598
|
+
} else {
|
|
7599
|
+
return `${referenceTypeName} ID`;
|
|
7600
|
+
}
|
|
7587
7601
|
}
|
|
7588
7602
|
const Portal = props => /*#__PURE__*/ReactDOM__default["default"].createPortal(props.children, document.body);
|
|
7589
7603
|
var _ref$1 = process.env.NODE_ENV === "production" ? {
|
|
@@ -7591,7 +7605,7 @@ var _ref$1 = process.env.NODE_ENV === "production" ? {
|
|
|
7591
7605
|
styles: "cursor:pointer;line-height:normal"
|
|
7592
7606
|
} : {
|
|
7593
7607
|
name: "471ze2-CustomFieldsCountIndicator",
|
|
7594
|
-
styles: "cursor:pointer;line-height:normal;label:CustomFieldsCountIndicator;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
7608
|
+
styles: "cursor:pointer;line-height:normal;label:CustomFieldsCountIndicator;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImN1c3RvbS1maWVsZHMtbGFiZWwuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFKZ0IiLCJmaWxlIjoiY3VzdG9tLWZpZWxkcy1sYWJlbC5qc3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBtZW1vIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcbmltcG9ydCB7IHVzZVF1ZXJ5IH0gZnJvbSAnQGFwb2xsby9jbGllbnQvcmVhY3QnO1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IFJlYWN0RE9NIGZyb20gJ3JlYWN0LWRvbSc7XG5pbXBvcnQgeyBGb3JtYXR0ZWRNZXNzYWdlLCB1c2VJbnRsIH0gZnJvbSAncmVhY3QtaW50bCc7XG5pbXBvcnQgeyB1c2VBcHBsaWNhdGlvbkNvbnRleHQgfSBmcm9tICdAY29tbWVyY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uYXNzaWduZWRBdHRyaWJ1dGVHcm91cHN9XG4gICAgICAgICAgICAvPlxuICAgICAgICAgIDwvU3BhY2luZ3MuSW5saW5lPlxuICAgICAgICA8L0NvbnN0cmFpbnRzLkhvcml6b250YWw+XG4gICAgICB9XG4gICAgICBkZXNjcmlwdGlvbj17XG4gICAgICAgIDxDdXN0b21GaWVsZHNMYWJlbFN1YnRpdGxlIGZpZWxkRGVmaW5pdGlvbj17ZmllbGREZWZpbml0aW9ufSAvPlxuICAgICAgfVxuICAgICAgaGludD17PEN1c3RvbUZpZWxkc0xhYmVsSGludCBmaWVsZERlZmluaXRpb249e2ZpZWxkRGVmaW5pdGlvbn0gLz59XG4gICAgICBoYXNSZXF1aXJlZEluZGljYXRvcj17ZmllbGREZWZpbml0aW9uLnJlcXVpcmVkfVxuICAgIC8+XG4gICk7XG59KTtcbkN1c3RvbUZpZWxkc0xhYmVsLmRpc3BsYXlOYW1lID0gJ0N1c3RvbUZpZWxkc1RpdGxlJztcbkN1c3RvbUZpZWxkc0xhYmVsLnByb3BUeXBlcyA9IHtcbiAgbmFtZTogUHJvcFR5cGVzLnN0cmluZy5pc1JlcXVpcmVkLFxuICBmaWVsZERlZmluaXRpb246IFByb3BUeXBlcy5zaGFwZSh7XG4gICAgYXNzaWduZWRBdHRyaWJ1dGVHcm91cHM6IFByb3BUeXBlcy5hcnJheSxcbiAgICBuYW1lOiBQcm9wVHlwZXMuc3RyaW5nLFxuICAgIGlucHV0VGlwOiBQcm9wVHlwZXMub2JqZWN0LFxuICAgIHJlcXVpcmVkOiBQcm9wVHlwZXMuYm9vbCxcbiAgfSksXG59O1xuZXhwb3J0IGRlZmF1bHQgQ3VzdG9tRmllbGRzTGFiZWw7XG4iXX0= */",
|
|
7595
7609
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1
|
|
7596
7610
|
};
|
|
7597
7611
|
function CustomFieldsCountIndicator(_ref4) {
|
|
@@ -7864,10 +7878,11 @@ const useDnDContext = () => {
|
|
|
7864
7878
|
|
|
7865
7879
|
const _excluded$9 = ["renderCustomWarnings", "WrapperComponent"];
|
|
7866
7880
|
function ownKeys$J(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7867
|
-
function _objectSpread$J(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
7881
|
+
function _objectSpread$J(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context2 = ownKeys$J(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context3 = ownKeys$J(Object(t))).call(_context3, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
7868
7882
|
const existingAttributeTypes = ['text', 'ltext'];
|
|
7869
7883
|
const newAttributeTypes = ['text', 'ltext', 'number', 'enum', 'lenum', 'money', 'boolean', 'date', 'datetime', 'reference', 'time']; // Add more types here
|
|
7870
7884
|
const setAttributeTypes = ['text', 'ltext', 'number', 'enum', 'lenum', 'money', 'boolean', 'date', 'time', 'datetime', 'reference'];
|
|
7885
|
+
const ENABLED_FALLBACK_ATTRIBUTE_TYPES = [CUSTOM_FIELD_TYPES.enum, CUSTOM_FIELD_TYPES.lenum, CUSTOM_FIELD_TYPES.number, CUSTOM_FIELD_TYPES.text, CUSTOM_FIELD_TYPES.boolean, CUSTOM_FIELD_TYPES.money, CUSTOM_FIELD_TYPES.datetime, CUSTOM_FIELD_TYPES.date, CUSTOM_FIELD_TYPES.reference, CUSTOM_FIELD_TYPES.time];
|
|
7871
7886
|
const getFieldName = (parentName, fieldName) => {
|
|
7872
7887
|
if (!parentName) return fieldName;
|
|
7873
7888
|
return `${parentName}.${fieldName}`;
|
|
@@ -7898,6 +7913,14 @@ const CustomFieldsInternal = _ref => {
|
|
|
7898
7913
|
values = _valuesInstanceProperty__default["default"](_useFormikContext),
|
|
7899
7914
|
handleBlur = _useFormikContext.handleBlur,
|
|
7900
7915
|
status = _useFormikContext.status;
|
|
7916
|
+
const _useIntl = reactIntl.useIntl(),
|
|
7917
|
+
locale = _useIntl.locale;
|
|
7918
|
+
const _useApplicationContex = applicationShellConnectors.useApplicationContext(applicationContext => ({
|
|
7919
|
+
timeZone: applicationContext.user.timeZone,
|
|
7920
|
+
userLocale: applicationContext.dataLocale
|
|
7921
|
+
})),
|
|
7922
|
+
timeZone = _useApplicationContex.timeZone,
|
|
7923
|
+
userLocale = _useApplicationContex.userLocale;
|
|
7901
7924
|
const isTailoringAttributesEnabled = applicationShell.useFeatureToggle(PRODUCT_TAILORING_FOR_ATTRIBUTES);
|
|
7902
7925
|
const isTailoringAttributeForOtherTypes = applicationShell.useFeatureToggle(PRODUCT_TAILORING_FOR_ATTRIBUTES_TYPES_OTHER_THAN_TEXT);
|
|
7903
7926
|
const isTailoringFallbackEnabled = applicationShell.useFeatureToggle(PRODUCT_TAILORING_FOR_ATTRIBUTES_FALLBACK_VALUES);
|
|
@@ -7912,10 +7935,13 @@ const CustomFieldsInternal = _ref => {
|
|
|
7912
7935
|
return jsxRuntime.jsx(DroppableWrapper, {
|
|
7913
7936
|
onDragEnd: onDragEnd,
|
|
7914
7937
|
children: _mapInstanceProperty__default["default"](fieldDefinitions).call(fieldDefinitions, (fieldDefinition, index) => {
|
|
7938
|
+
var _context;
|
|
7915
7939
|
const fieldName = getFieldName(props.name, fieldDefinition.name);
|
|
7916
7940
|
const isTouched = Boolean(formik.getIn(touched, fieldName));
|
|
7917
7941
|
const isFieldDisabled = props.isDisabled && !(isAttributeType(fieldDefinition.type, isTailoringAttributeForOtherTypes) && isTailoringAttributesEnabled);
|
|
7918
7942
|
const isSet = fieldDefinition.type.name === 'set';
|
|
7943
|
+
const shouldUseAdditionalInfoProp = _includesInstanceProperty__default["default"](_context = [CUSTOM_FIELD_TYPES.ltext, CUSTOM_FIELD_TYPES.localizedstring, CUSTOM_FIELD_TYPES.localizedenum]).call(_context, fieldDefinition.type.name);
|
|
7944
|
+
const shouldDisplayFallbackRow = isTailoringFallbackEnabled && !shouldUseAdditionalInfoProp && _includesInstanceProperty__default["default"](ENABLED_FALLBACK_ATTRIBUTE_TYPES).call(ENABLED_FALLBACK_ATTRIBUTE_TYPES, fieldDefinition.type.name);
|
|
7919
7945
|
const fieldErrors = formik.getIn(errors, fieldName);
|
|
7920
7946
|
const value = props.inputValuesConverter(fieldName, formik.getIn(values, fieldName));
|
|
7921
7947
|
|
|
@@ -7941,9 +7967,10 @@ const CustomFieldsInternal = _ref => {
|
|
|
7941
7967
|
hasWarning: props.renderWarnings && status?.warnings[fieldName],
|
|
7942
7968
|
handleWarningChange: props.handleWarningChange,
|
|
7943
7969
|
renderWarnings: props.renderWarnings,
|
|
7944
|
-
additionalInfo: isTailoringFallbackEnabled && props.additionalInfoHandler
|
|
7970
|
+
additionalInfo: !isSet && isTailoringFallbackEnabled && shouldUseAdditionalInfoProp && props.additionalInfoHandler ? props.additionalInfoHandler(fieldDefinition, locale, timeZone, userLocale) : undefined
|
|
7945
7971
|
};
|
|
7946
7972
|
const Field = jsxRuntime.jsx(FieldComponent, _objectSpread$J({}, fieldProps));
|
|
7973
|
+
// the several values inside the key are needed to make sure the field is re-rendered when those values change
|
|
7947
7974
|
return jsxRuntime.jsx(formik.FastField, {
|
|
7948
7975
|
name: fieldName,
|
|
7949
7976
|
validate: validate,
|
|
@@ -7965,7 +7992,10 @@ const CustomFieldsInternal = _ref => {
|
|
|
7965
7992
|
alignItems: "stretch",
|
|
7966
7993
|
children: [WrapperComponent ? jsxRuntime.jsx(WrapperComponent, {
|
|
7967
7994
|
children: Field
|
|
7968
|
-
}) : Field,
|
|
7995
|
+
}) : Field, shouldDisplayFallbackRow && jsxRuntime.jsx(uiKit.Text.Detail, {
|
|
7996
|
+
tone: "tertiary",
|
|
7997
|
+
children: props.additionalInfoHandler(fieldDefinition, locale, timeZone, userLocale)
|
|
7998
|
+
}), props.renderWarnings && status?.warnings[fieldName] && renderCustomWarnings(fieldDefinition), jsxRuntime.jsx(CustomFieldErrors$1, {
|
|
7969
7999
|
isTouched: isTouched,
|
|
7970
8000
|
errors: fieldErrors
|
|
7971
8001
|
})]
|
|
@@ -7973,7 +8003,7 @@ const CustomFieldsInternal = _ref => {
|
|
|
7973
8003
|
})
|
|
7974
8004
|
})
|
|
7975
8005
|
})
|
|
7976
|
-
}, `${fieldName}-${index}-${fieldKey}`);
|
|
8006
|
+
}, `${fieldName}-${index}-${fieldKey}-${locale}-${userLocale}`);
|
|
7977
8007
|
})
|
|
7978
8008
|
});
|
|
7979
8009
|
};
|
|
@@ -8580,7 +8610,8 @@ function ProductSelectionsPicker(_ref) {
|
|
|
8580
8610
|
};
|
|
8581
8611
|
}, [optionType]);
|
|
8582
8612
|
if (productSelectionsTotalFetcher.isLoading) return jsxRuntime.jsx(CenteredLoadingSpinner$1, {});
|
|
8583
|
-
|
|
8613
|
+
let CustomProductSelectionsPicker;
|
|
8614
|
+
if (productSelectionsTotalFetcher.total <= lowerProductSelectionsLimit) CustomProductSelectionsPicker = ProductSelectionBasicSelectDropdown;else if (productSelectionsTotalFetcher.total <= upperProductSelectionsLimit) CustomProductSelectionsPicker = ProductSelectionsAsyncSelectDropdown;else CustomProductSelectionsPicker = ProductSelectionsSearchSelectDropdown;
|
|
8584
8615
|
return jsxRuntime.jsx(uiKit.Spacings.Stack, {
|
|
8585
8616
|
children: jsxRuntime.jsx(CustomProductSelectionsPicker, _objectSpread$F(_objectSpread$F({
|
|
8586
8617
|
lowerProductSelectionsLimit: lowerProductSelectionsLimit,
|
|
@@ -9287,7 +9318,23 @@ const StoreSelectInput = _ref => {
|
|
|
9287
9318
|
};
|
|
9288
9319
|
}, [optionType, totalNumberOfStoresFetcher.total, upperStoresLimit]);
|
|
9289
9320
|
if (totalNumberOfStoresFetcher.isLoading) return jsxRuntime.jsx(CenteredLoadingSpinner$1, {});
|
|
9290
|
-
|
|
9321
|
+
let CustomStoreSelectInput;
|
|
9322
|
+
// GIVEN total number of available stores <= lowerStoresLimit
|
|
9323
|
+
// THEN render basic SelectField with all available stores as options
|
|
9324
|
+
if (totalNumberOfStoresFetcher.total <= lowerStoresLimit) {
|
|
9325
|
+
CustomStoreSelectInput = StoresBasicSelectInput$1;
|
|
9326
|
+
}
|
|
9327
|
+
// GIVEN lowerStoresLimit > total number of available stores <= upperStoresLimit
|
|
9328
|
+
// THEN render AsyncSelectField with option list containing only first lowerStoresLimit stores options
|
|
9329
|
+
// AND hinting the user to start typing to load more
|
|
9330
|
+
else if (totalNumberOfStoresFetcher.total <= upperStoresLimit) {
|
|
9331
|
+
CustomStoreSelectInput = StoresAsyncSelectInput$1;
|
|
9332
|
+
}
|
|
9333
|
+
// GIVEN total number of available stores > 500
|
|
9334
|
+
// THEN render search input to search based on key.
|
|
9335
|
+
else {
|
|
9336
|
+
CustomStoreSelectInput = StoresSearchSelectInput$1;
|
|
9337
|
+
}
|
|
9291
9338
|
return jsxRuntime.jsx(CustomStoreSelectInput, _objectSpread$B(_objectSpread$B({
|
|
9292
9339
|
menuIsOpen: props.menuIsOpen,
|
|
9293
9340
|
placeholder: props.placeholder,
|
|
@@ -9843,8 +9890,7 @@ let CustomFieldTypeDefinitionsConnector = /*#__PURE__*/function (_Component) {
|
|
|
9843
9890
|
}(React.Component);
|
|
9844
9891
|
CustomFieldTypeDefinitionsConnector.displayName = 'CustomFieldTypeDefinitionsConnector';
|
|
9845
9892
|
CustomFieldTypeDefinitionsConnector.defaultProps = {
|
|
9846
|
-
resources: []
|
|
9847
|
-
limit: QUERY_LIMIT.DEFAULT_MAX
|
|
9893
|
+
resources: []
|
|
9848
9894
|
};
|
|
9849
9895
|
CustomFieldTypeDefinitionsConnector.restDocToForm = restDocToForm;
|
|
9850
9896
|
CustomFieldTypeDefinitionsConnector.graphQlDocToForm = graphQlDocToForm;
|
|
@@ -9857,7 +9903,7 @@ const createGraphQlOptions = ownProps => {
|
|
|
9857
9903
|
return {
|
|
9858
9904
|
variables: {
|
|
9859
9905
|
where,
|
|
9860
|
-
limit:
|
|
9906
|
+
limit: QUERY_LIMIT.DEFAULT_MAX
|
|
9861
9907
|
},
|
|
9862
9908
|
context: {
|
|
9863
9909
|
target: constants.GRAPHQL_TARGETS.COMMERCETOOLS_PLATFORM,
|
|
@@ -11041,14 +11087,20 @@ const PlatformLimitsShippingMethodsStatus = _ref => {
|
|
|
11041
11087
|
platformLimits = _useShippingMethodsPl.platformLimits;
|
|
11042
11088
|
const current = platformLimits?.shippingMethods?.total?.current;
|
|
11043
11089
|
const limit = platformLimits?.shippingMethods?.total?.limit;
|
|
11044
|
-
return jsxRuntime.
|
|
11045
|
-
|
|
11046
|
-
|
|
11047
|
-
|
|
11048
|
-
|
|
11049
|
-
|
|
11050
|
-
|
|
11051
|
-
|
|
11090
|
+
return jsxRuntime.jsxs(uiKit.Spacings.Inline, {
|
|
11091
|
+
scale: "s",
|
|
11092
|
+
alignItems: "baseline",
|
|
11093
|
+
children: [jsxRuntime.jsx(StatusText, {
|
|
11094
|
+
intlMessage: messages$n.shippingMethodsStatus
|
|
11095
|
+
}), jsxRuntime.jsxs(uiKit.Text.Detail, {
|
|
11096
|
+
tone: "secondary",
|
|
11097
|
+
children: [getPlatformLimitsStatus({
|
|
11098
|
+
limit,
|
|
11099
|
+
current,
|
|
11100
|
+
total,
|
|
11101
|
+
intl
|
|
11102
|
+
}), ' ']
|
|
11103
|
+
})]
|
|
11052
11104
|
});
|
|
11053
11105
|
};
|
|
11054
11106
|
PlatformLimitsShippingMethodsStatus.displayName = 'PlatformLimitsShippingMethodsStatus';
|
|
@@ -13878,6 +13930,7 @@ exports.ProductAttributeInput = ProductAttributeInput;
|
|
|
13878
13930
|
exports.ProductAttributes = ProductAttributes;
|
|
13879
13931
|
exports.ProductPickerInput = ProductPickerInput$1;
|
|
13880
13932
|
exports.ProductSelectionPicker = ProductSelectionsPicker;
|
|
13933
|
+
exports.QUERY_LIMIT = QUERY_LIMIT;
|
|
13881
13934
|
exports.RequestCache = RequestCache$1;
|
|
13882
13935
|
exports.RequiredIndicator = RequiredIndicator$1;
|
|
13883
13936
|
exports.ScrollToFieldError = ScrollToFieldError$1;
|
|
@@ -929,17 +929,18 @@ const constructPrefixSearchPredicate = (prefixSearchFields, lowerBound, upperBou
|
|
|
929
929
|
return _mapInstanceProperty__default["default"](prefixSearchFields).call(prefixSearchFields, constructPrefixSearchExpression).join(' or ');
|
|
930
930
|
};
|
|
931
931
|
const constructWherePredicate = (inputValue, prefixSearchFields) => {
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
932
|
+
let wherePredicate;
|
|
933
|
+
if (inputValue.length) {
|
|
934
|
+
if (isUUID$1(inputValue)) {
|
|
935
|
+
wherePredicate = `id = "${inputValue}"`;
|
|
936
|
+
} else {
|
|
937
|
+
const _getPrefixSearchBound = getPrefixSearchBounds$1(inputValue),
|
|
938
|
+
_getPrefixSearchBound2 = _slicedToArray(_getPrefixSearchBound, 2),
|
|
939
|
+
lowerBound = _getPrefixSearchBound2[0],
|
|
940
|
+
upperBound = _getPrefixSearchBound2[1];
|
|
941
|
+
wherePredicate = constructPrefixSearchPredicate(prefixSearchFields, lowerBound, upperBound);
|
|
941
942
|
}
|
|
942
|
-
}
|
|
943
|
+
}
|
|
943
944
|
return wherePredicate;
|
|
944
945
|
};
|
|
945
946
|
const useFetchProductTypessFromCTP = _ref2 => {
|
|
@@ -4016,7 +4017,9 @@ const doNotFormat = _ref13 => {
|
|
|
4016
4017
|
let value = _ref13.value;
|
|
4017
4018
|
return value;
|
|
4018
4019
|
};
|
|
4019
|
-
const getFormatter = type =>
|
|
4020
|
+
const getFormatter = type => {
|
|
4021
|
+
if (isNil__default["default"](type)) return formatNilType;else if (type.name === 'nested') return formatNested;else if (type.name === 'set') return formatSet;else if (type.name === 'enum') return formatEnum;else if (type.name === 'lenum') return formatLenum;else if (type.name === 'ltext') return formatLtext;else if (type.name === 'money') return formatMoney$1;else if (type.name === 'reference') return formatReference;else if (type.name === 'date') return formatDate;else if (type.name === 'time') return doNotFormat;else if (type.name === 'datetime') return formatDateTime;else if (type.name === 'boolean') return formatBoolean;else if (type.name === 'text') return doNotFormat;else if (type.name === 'number') return doNotFormat;else return formatUnknown;
|
|
4022
|
+
};
|
|
4020
4023
|
function formatAttribute(_ref14) {
|
|
4021
4024
|
let type = _ref14.type,
|
|
4022
4025
|
value = _ref14.value,
|
|
@@ -7340,7 +7343,8 @@ function CustomReferenceInput(props) {
|
|
|
7340
7343
|
props.setFieldValue(props.name, nullifiedIfNeeded);
|
|
7341
7344
|
props.renderWarnings && props.handleWarningChange(props.name, props.fieldDefinition, rawValue);
|
|
7342
7345
|
});
|
|
7343
|
-
|
|
7346
|
+
let ReferenceInputComponent;
|
|
7347
|
+
if (referenceTypeId === SEARCHABLE_REFERENCES.category) ReferenceInputComponent = CustomCategoryReferenceInput;else if (referenceTypeId === SEARCHABLE_REFERENCES.cartDiscount) ReferenceInputComponent = CustomCartDiscountReferenceInput;else if (referenceTypeId === SEARCHABLE_REFERENCES.product) ReferenceInputComponent = CustomProductReferenceInput;else if (referenceTypeId === SEARCHABLE_REFERENCES.productType) ReferenceInputComponent = CustomProductTypeReferenceInput;else if (referenceTypeId === SEARCHABLE_REFERENCES.channel) ReferenceInputComponent = CustomChannelReferenceInput;else if (referenceTypeId === SEARCHABLE_REFERENCES.state) ReferenceInputComponent = CustomStateReferenceInput;else ReferenceInputComponent = CustomRawIdReferenceInput;
|
|
7344
7348
|
return jsxRuntime.jsx(ReferenceInputComponent, {
|
|
7345
7349
|
id: props.name,
|
|
7346
7350
|
name: props.name,
|
|
@@ -7581,7 +7585,17 @@ function CustomFieldsLabelSubtitle(_ref3) {
|
|
|
7581
7585
|
const referenceTypeId = type.referenceTypeId;
|
|
7582
7586
|
const referenceTypeName = capitalizeFirst(referenceTypeId);
|
|
7583
7587
|
if (_includesInstanceProperty__default["default"](_context = [SEARCHABLE_REFERENCES.category, SEARCHABLE_REFERENCES.cartDiscount]).call(_context, referenceTypeId)) return referenceTypeName;
|
|
7584
|
-
|
|
7588
|
+
if (referenceTypeId === SEARCHABLE_REFERENCES.product) {
|
|
7589
|
+
return formatMessage(messages$x.productReferenceLabel);
|
|
7590
|
+
} else if (referenceTypeId === SEARCHABLE_REFERENCES.productType) {
|
|
7591
|
+
return jsxRuntime.jsx(CustomFieldsProductTypeReferenceSubtitle, {});
|
|
7592
|
+
} else if (referenceTypeId === SEARCHABLE_REFERENCES.channel) {
|
|
7593
|
+
return formatMessage(messages$x.channelReferenceLabel);
|
|
7594
|
+
} else if (referenceTypeId === SEARCHABLE_REFERENCES.state) {
|
|
7595
|
+
return formatMessage(messages$x.stateReferenceLabel);
|
|
7596
|
+
} else {
|
|
7597
|
+
return `${referenceTypeName} ID`;
|
|
7598
|
+
}
|
|
7585
7599
|
}
|
|
7586
7600
|
const Portal = props => /*#__PURE__*/ReactDOM__default["default"].createPortal(props.children, document.body);
|
|
7587
7601
|
var _ref$1 = {
|
|
@@ -7853,10 +7867,11 @@ const useDnDContext = () => {
|
|
|
7853
7867
|
|
|
7854
7868
|
const _excluded$9 = ["renderCustomWarnings", "WrapperComponent"];
|
|
7855
7869
|
function ownKeys$J(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7856
|
-
function _objectSpread$J(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
7870
|
+
function _objectSpread$J(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context2 = ownKeys$J(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context3 = ownKeys$J(Object(t))).call(_context3, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
7857
7871
|
const existingAttributeTypes = ['text', 'ltext'];
|
|
7858
7872
|
const newAttributeTypes = ['text', 'ltext', 'number', 'enum', 'lenum', 'money', 'boolean', 'date', 'datetime', 'reference', 'time']; // Add more types here
|
|
7859
7873
|
const setAttributeTypes = ['text', 'ltext', 'number', 'enum', 'lenum', 'money', 'boolean', 'date', 'time', 'datetime', 'reference'];
|
|
7874
|
+
const ENABLED_FALLBACK_ATTRIBUTE_TYPES = [CUSTOM_FIELD_TYPES.enum, CUSTOM_FIELD_TYPES.lenum, CUSTOM_FIELD_TYPES.number, CUSTOM_FIELD_TYPES.text, CUSTOM_FIELD_TYPES.boolean, CUSTOM_FIELD_TYPES.money, CUSTOM_FIELD_TYPES.datetime, CUSTOM_FIELD_TYPES.date, CUSTOM_FIELD_TYPES.reference, CUSTOM_FIELD_TYPES.time];
|
|
7860
7875
|
const getFieldName = (parentName, fieldName) => {
|
|
7861
7876
|
if (!parentName) return fieldName;
|
|
7862
7877
|
return `${parentName}.${fieldName}`;
|
|
@@ -7887,6 +7902,14 @@ const CustomFieldsInternal = _ref => {
|
|
|
7887
7902
|
values = _valuesInstanceProperty__default["default"](_useFormikContext),
|
|
7888
7903
|
handleBlur = _useFormikContext.handleBlur,
|
|
7889
7904
|
status = _useFormikContext.status;
|
|
7905
|
+
const _useIntl = reactIntl.useIntl(),
|
|
7906
|
+
locale = _useIntl.locale;
|
|
7907
|
+
const _useApplicationContex = applicationShellConnectors.useApplicationContext(applicationContext => ({
|
|
7908
|
+
timeZone: applicationContext.user.timeZone,
|
|
7909
|
+
userLocale: applicationContext.dataLocale
|
|
7910
|
+
})),
|
|
7911
|
+
timeZone = _useApplicationContex.timeZone,
|
|
7912
|
+
userLocale = _useApplicationContex.userLocale;
|
|
7890
7913
|
const isTailoringAttributesEnabled = applicationShell.useFeatureToggle(PRODUCT_TAILORING_FOR_ATTRIBUTES);
|
|
7891
7914
|
const isTailoringAttributeForOtherTypes = applicationShell.useFeatureToggle(PRODUCT_TAILORING_FOR_ATTRIBUTES_TYPES_OTHER_THAN_TEXT);
|
|
7892
7915
|
const isTailoringFallbackEnabled = applicationShell.useFeatureToggle(PRODUCT_TAILORING_FOR_ATTRIBUTES_FALLBACK_VALUES);
|
|
@@ -7901,10 +7924,13 @@ const CustomFieldsInternal = _ref => {
|
|
|
7901
7924
|
return jsxRuntime.jsx(DroppableWrapper, {
|
|
7902
7925
|
onDragEnd: onDragEnd,
|
|
7903
7926
|
children: _mapInstanceProperty__default["default"](fieldDefinitions).call(fieldDefinitions, (fieldDefinition, index) => {
|
|
7927
|
+
var _context;
|
|
7904
7928
|
const fieldName = getFieldName(props.name, fieldDefinition.name);
|
|
7905
7929
|
const isTouched = Boolean(formik.getIn(touched, fieldName));
|
|
7906
7930
|
const isFieldDisabled = props.isDisabled && !(isAttributeType(fieldDefinition.type, isTailoringAttributeForOtherTypes) && isTailoringAttributesEnabled);
|
|
7907
7931
|
const isSet = fieldDefinition.type.name === 'set';
|
|
7932
|
+
const shouldUseAdditionalInfoProp = _includesInstanceProperty__default["default"](_context = [CUSTOM_FIELD_TYPES.ltext, CUSTOM_FIELD_TYPES.localizedstring, CUSTOM_FIELD_TYPES.localizedenum]).call(_context, fieldDefinition.type.name);
|
|
7933
|
+
const shouldDisplayFallbackRow = isTailoringFallbackEnabled && !shouldUseAdditionalInfoProp && _includesInstanceProperty__default["default"](ENABLED_FALLBACK_ATTRIBUTE_TYPES).call(ENABLED_FALLBACK_ATTRIBUTE_TYPES, fieldDefinition.type.name);
|
|
7908
7934
|
const fieldErrors = formik.getIn(errors, fieldName);
|
|
7909
7935
|
const value = props.inputValuesConverter(fieldName, formik.getIn(values, fieldName));
|
|
7910
7936
|
|
|
@@ -7930,9 +7956,10 @@ const CustomFieldsInternal = _ref => {
|
|
|
7930
7956
|
hasWarning: props.renderWarnings && status?.warnings[fieldName],
|
|
7931
7957
|
handleWarningChange: props.handleWarningChange,
|
|
7932
7958
|
renderWarnings: props.renderWarnings,
|
|
7933
|
-
additionalInfo: isTailoringFallbackEnabled && props.additionalInfoHandler
|
|
7959
|
+
additionalInfo: !isSet && isTailoringFallbackEnabled && shouldUseAdditionalInfoProp && props.additionalInfoHandler ? props.additionalInfoHandler(fieldDefinition, locale, timeZone, userLocale) : undefined
|
|
7934
7960
|
};
|
|
7935
7961
|
const Field = jsxRuntime.jsx(FieldComponent, _objectSpread$J({}, fieldProps));
|
|
7962
|
+
// the several values inside the key are needed to make sure the field is re-rendered when those values change
|
|
7936
7963
|
return jsxRuntime.jsx(formik.FastField, {
|
|
7937
7964
|
name: fieldName,
|
|
7938
7965
|
validate: validate,
|
|
@@ -7954,7 +7981,10 @@ const CustomFieldsInternal = _ref => {
|
|
|
7954
7981
|
alignItems: "stretch",
|
|
7955
7982
|
children: [WrapperComponent ? jsxRuntime.jsx(WrapperComponent, {
|
|
7956
7983
|
children: Field
|
|
7957
|
-
}) : Field,
|
|
7984
|
+
}) : Field, shouldDisplayFallbackRow && jsxRuntime.jsx(uiKit.Text.Detail, {
|
|
7985
|
+
tone: "tertiary",
|
|
7986
|
+
children: props.additionalInfoHandler(fieldDefinition, locale, timeZone, userLocale)
|
|
7987
|
+
}), props.renderWarnings && status?.warnings[fieldName] && renderCustomWarnings(fieldDefinition), jsxRuntime.jsx(CustomFieldErrors$1, {
|
|
7958
7988
|
isTouched: isTouched,
|
|
7959
7989
|
errors: fieldErrors
|
|
7960
7990
|
})]
|
|
@@ -7962,7 +7992,7 @@ const CustomFieldsInternal = _ref => {
|
|
|
7962
7992
|
})
|
|
7963
7993
|
})
|
|
7964
7994
|
})
|
|
7965
|
-
}, `${fieldName}-${index}-${fieldKey}`);
|
|
7995
|
+
}, `${fieldName}-${index}-${fieldKey}-${locale}-${userLocale}`);
|
|
7966
7996
|
})
|
|
7967
7997
|
});
|
|
7968
7998
|
};
|
|
@@ -8569,7 +8599,8 @@ function ProductSelectionsPicker(_ref) {
|
|
|
8569
8599
|
};
|
|
8570
8600
|
}, [optionType]);
|
|
8571
8601
|
if (productSelectionsTotalFetcher.isLoading) return jsxRuntime.jsx(CenteredLoadingSpinner$1, {});
|
|
8572
|
-
|
|
8602
|
+
let CustomProductSelectionsPicker;
|
|
8603
|
+
if (productSelectionsTotalFetcher.total <= lowerProductSelectionsLimit) CustomProductSelectionsPicker = ProductSelectionBasicSelectDropdown;else if (productSelectionsTotalFetcher.total <= upperProductSelectionsLimit) CustomProductSelectionsPicker = ProductSelectionsAsyncSelectDropdown;else CustomProductSelectionsPicker = ProductSelectionsSearchSelectDropdown;
|
|
8573
8604
|
return jsxRuntime.jsx(uiKit.Spacings.Stack, {
|
|
8574
8605
|
children: jsxRuntime.jsx(CustomProductSelectionsPicker, _objectSpread$F(_objectSpread$F({
|
|
8575
8606
|
lowerProductSelectionsLimit: lowerProductSelectionsLimit,
|
|
@@ -9276,7 +9307,23 @@ const StoreSelectInput = _ref => {
|
|
|
9276
9307
|
};
|
|
9277
9308
|
}, [optionType, totalNumberOfStoresFetcher.total, upperStoresLimit]);
|
|
9278
9309
|
if (totalNumberOfStoresFetcher.isLoading) return jsxRuntime.jsx(CenteredLoadingSpinner$1, {});
|
|
9279
|
-
|
|
9310
|
+
let CustomStoreSelectInput;
|
|
9311
|
+
// GIVEN total number of available stores <= lowerStoresLimit
|
|
9312
|
+
// THEN render basic SelectField with all available stores as options
|
|
9313
|
+
if (totalNumberOfStoresFetcher.total <= lowerStoresLimit) {
|
|
9314
|
+
CustomStoreSelectInput = StoresBasicSelectInput$1;
|
|
9315
|
+
}
|
|
9316
|
+
// GIVEN lowerStoresLimit > total number of available stores <= upperStoresLimit
|
|
9317
|
+
// THEN render AsyncSelectField with option list containing only first lowerStoresLimit stores options
|
|
9318
|
+
// AND hinting the user to start typing to load more
|
|
9319
|
+
else if (totalNumberOfStoresFetcher.total <= upperStoresLimit) {
|
|
9320
|
+
CustomStoreSelectInput = StoresAsyncSelectInput$1;
|
|
9321
|
+
}
|
|
9322
|
+
// GIVEN total number of available stores > 500
|
|
9323
|
+
// THEN render search input to search based on key.
|
|
9324
|
+
else {
|
|
9325
|
+
CustomStoreSelectInput = StoresSearchSelectInput$1;
|
|
9326
|
+
}
|
|
9280
9327
|
return jsxRuntime.jsx(CustomStoreSelectInput, _objectSpread$B(_objectSpread$B({
|
|
9281
9328
|
menuIsOpen: props.menuIsOpen,
|
|
9282
9329
|
placeholder: props.placeholder,
|
|
@@ -9824,8 +9871,7 @@ let CustomFieldTypeDefinitionsConnector = /*#__PURE__*/function (_Component) {
|
|
|
9824
9871
|
}(React.Component);
|
|
9825
9872
|
CustomFieldTypeDefinitionsConnector.displayName = 'CustomFieldTypeDefinitionsConnector';
|
|
9826
9873
|
CustomFieldTypeDefinitionsConnector.defaultProps = {
|
|
9827
|
-
resources: []
|
|
9828
|
-
limit: QUERY_LIMIT.DEFAULT_MAX
|
|
9874
|
+
resources: []
|
|
9829
9875
|
};
|
|
9830
9876
|
CustomFieldTypeDefinitionsConnector.restDocToForm = restDocToForm;
|
|
9831
9877
|
CustomFieldTypeDefinitionsConnector.graphQlDocToForm = graphQlDocToForm;
|
|
@@ -9838,7 +9884,7 @@ const createGraphQlOptions = ownProps => {
|
|
|
9838
9884
|
return {
|
|
9839
9885
|
variables: {
|
|
9840
9886
|
where,
|
|
9841
|
-
limit:
|
|
9887
|
+
limit: QUERY_LIMIT.DEFAULT_MAX
|
|
9842
9888
|
},
|
|
9843
9889
|
context: {
|
|
9844
9890
|
target: constants.GRAPHQL_TARGETS.COMMERCETOOLS_PLATFORM,
|
|
@@ -11022,14 +11068,20 @@ const PlatformLimitsShippingMethodsStatus = _ref => {
|
|
|
11022
11068
|
platformLimits = _useShippingMethodsPl.platformLimits;
|
|
11023
11069
|
const current = platformLimits?.shippingMethods?.total?.current;
|
|
11024
11070
|
const limit = platformLimits?.shippingMethods?.total?.limit;
|
|
11025
|
-
return jsxRuntime.
|
|
11026
|
-
|
|
11027
|
-
|
|
11028
|
-
|
|
11029
|
-
|
|
11030
|
-
|
|
11031
|
-
|
|
11032
|
-
|
|
11071
|
+
return jsxRuntime.jsxs(uiKit.Spacings.Inline, {
|
|
11072
|
+
scale: "s",
|
|
11073
|
+
alignItems: "baseline",
|
|
11074
|
+
children: [jsxRuntime.jsx(StatusText, {
|
|
11075
|
+
intlMessage: messages$n.shippingMethodsStatus
|
|
11076
|
+
}), jsxRuntime.jsxs(uiKit.Text.Detail, {
|
|
11077
|
+
tone: "secondary",
|
|
11078
|
+
children: [getPlatformLimitsStatus({
|
|
11079
|
+
limit,
|
|
11080
|
+
current,
|
|
11081
|
+
total,
|
|
11082
|
+
intl
|
|
11083
|
+
}), ' ']
|
|
11084
|
+
})]
|
|
11033
11085
|
});
|
|
11034
11086
|
};
|
|
11035
11087
|
PlatformLimitsShippingMethodsStatus.displayName = 'PlatformLimitsShippingMethodsStatus';
|
|
@@ -13859,6 +13911,7 @@ exports.ProductAttributeInput = ProductAttributeInput;
|
|
|
13859
13911
|
exports.ProductAttributes = ProductAttributes;
|
|
13860
13912
|
exports.ProductPickerInput = ProductPickerInput$1;
|
|
13861
13913
|
exports.ProductSelectionPicker = ProductSelectionsPicker;
|
|
13914
|
+
exports.QUERY_LIMIT = QUERY_LIMIT;
|
|
13862
13915
|
exports.RequestCache = RequestCache$1;
|
|
13863
13916
|
exports.RequiredIndicator = RequiredIndicator$1;
|
|
13864
13917
|
exports.ScrollToFieldError = ScrollToFieldError$1;
|