@commercetools-frontend/experimental-components 6.4.0 → 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 +85 -34
- package/dist/commercetools-frontend-experimental-components.cjs.prod.js +83 -30
- package/dist/commercetools-frontend-experimental-components.esm.js +85 -35
- 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 +21 -21
- package/package.json +26 -25
- package/test-utils/dist/commercetools-frontend-experimental-components-test-utils.cjs.d.ts +2 -0
|
@@ -830,17 +830,18 @@ const constructPrefixSearchPredicate = (prefixSearchFields, lowerBound, upperBou
|
|
|
830
830
|
return _mapInstanceProperty(prefixSearchFields).call(prefixSearchFields, constructPrefixSearchExpression).join(' or ');
|
|
831
831
|
};
|
|
832
832
|
const constructWherePredicate = (inputValue, prefixSearchFields) => {
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
833
|
+
let wherePredicate;
|
|
834
|
+
if (inputValue.length) {
|
|
835
|
+
if (isUUID$1(inputValue)) {
|
|
836
|
+
wherePredicate = `id = "${inputValue}"`;
|
|
837
|
+
} else {
|
|
838
|
+
const _getPrefixSearchBound = getPrefixSearchBounds$1(inputValue),
|
|
839
|
+
_getPrefixSearchBound2 = _slicedToArray(_getPrefixSearchBound, 2),
|
|
840
|
+
lowerBound = _getPrefixSearchBound2[0],
|
|
841
|
+
upperBound = _getPrefixSearchBound2[1];
|
|
842
|
+
wherePredicate = constructPrefixSearchPredicate(prefixSearchFields, lowerBound, upperBound);
|
|
842
843
|
}
|
|
843
|
-
}
|
|
844
|
+
}
|
|
844
845
|
return wherePredicate;
|
|
845
846
|
};
|
|
846
847
|
const useFetchProductTypessFromCTP = _ref2 => {
|
|
@@ -3917,7 +3918,9 @@ const doNotFormat = _ref13 => {
|
|
|
3917
3918
|
let value = _ref13.value;
|
|
3918
3919
|
return value;
|
|
3919
3920
|
};
|
|
3920
|
-
const getFormatter = type =>
|
|
3921
|
+
const getFormatter = type => {
|
|
3922
|
+
if (isNil$1(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;
|
|
3923
|
+
};
|
|
3921
3924
|
function formatAttribute(_ref14) {
|
|
3922
3925
|
let type = _ref14.type,
|
|
3923
3926
|
value = _ref14.value,
|
|
@@ -7241,7 +7244,8 @@ function CustomReferenceInput(props) {
|
|
|
7241
7244
|
props.setFieldValue(props.name, nullifiedIfNeeded);
|
|
7242
7245
|
props.renderWarnings && props.handleWarningChange(props.name, props.fieldDefinition, rawValue);
|
|
7243
7246
|
});
|
|
7244
|
-
|
|
7247
|
+
let ReferenceInputComponent;
|
|
7248
|
+
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;
|
|
7245
7249
|
return jsx(ReferenceInputComponent, {
|
|
7246
7250
|
id: props.name,
|
|
7247
7251
|
name: props.name,
|
|
@@ -7483,7 +7487,17 @@ function CustomFieldsLabelSubtitle(_ref3) {
|
|
|
7483
7487
|
const referenceTypeId = type.referenceTypeId;
|
|
7484
7488
|
const referenceTypeName = capitalizeFirst(referenceTypeId);
|
|
7485
7489
|
if (_includesInstanceProperty(_context = [SEARCHABLE_REFERENCES.category, SEARCHABLE_REFERENCES.cartDiscount]).call(_context, referenceTypeId)) return referenceTypeName;
|
|
7486
|
-
|
|
7490
|
+
if (referenceTypeId === SEARCHABLE_REFERENCES.product) {
|
|
7491
|
+
return formatMessage(messages$x.productReferenceLabel);
|
|
7492
|
+
} else if (referenceTypeId === SEARCHABLE_REFERENCES.productType) {
|
|
7493
|
+
return jsx(CustomFieldsProductTypeReferenceSubtitle, {});
|
|
7494
|
+
} else if (referenceTypeId === SEARCHABLE_REFERENCES.channel) {
|
|
7495
|
+
return formatMessage(messages$x.channelReferenceLabel);
|
|
7496
|
+
} else if (referenceTypeId === SEARCHABLE_REFERENCES.state) {
|
|
7497
|
+
return formatMessage(messages$x.stateReferenceLabel);
|
|
7498
|
+
} else {
|
|
7499
|
+
return `${referenceTypeName} ID`;
|
|
7500
|
+
}
|
|
7487
7501
|
}
|
|
7488
7502
|
const Portal = props => /*#__PURE__*/ReactDOM.createPortal(props.children, document.body);
|
|
7489
7503
|
var _ref$1 = process.env.NODE_ENV === "production" ? {
|
|
@@ -7491,8 +7505,7 @@ var _ref$1 = process.env.NODE_ENV === "production" ? {
|
|
|
7491
7505
|
styles: "cursor:pointer;line-height:normal"
|
|
7492
7506
|
} : {
|
|
7493
7507
|
name: "471ze2-CustomFieldsCountIndicator",
|
|
7494
|
-
styles: "cursor:pointer;line-height:normal;label:CustomFieldsCountIndicator;",
|
|
7495
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImN1c3RvbS1maWVsZHMtbGFiZWwuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9KZ0IiLCJmaWxlIjoiY3VzdG9tLWZpZWxkcy1sYWJlbC5qc3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBtZW1vIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcbmltcG9ydCB7IHVzZVF1ZXJ5IH0gZnJvbSAnQGFwb2xsby9jbGllbnQvcmVhY3QnO1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IFJlYWN0RE9NIGZyb20gJ3JlYWN0LWRvbSc7XG5pbXBvcnQgeyBGb3JtYXR0ZWRNZXNzYWdlLCB1c2VJbnRsIH0gZnJvbSAncmVhY3QtaW50bCc7XG5pbXBvcnQgeyB1c2VBcHBsaWNhdGlvbkNvbnRleHQgfSBmcm9tICdAY29tbWVyY2V0b29scy1mcm9udGVuZC9hcHBsaWNhdGlvbi1zaGVsbC1jb25uZWN0b3JzJztcbmltcG9ydCB7IEdSQVBIUUxfVEFSR0VUUyB9IGZyb20gJ0Bjb21tZXJjZXRvb2xzLWZyb250ZW5kL2NvbnN0YW50cyc7XG5pbXBvcnQgeyBmb3JtYXRMb2NhbGl6ZWRTdHJpbmcgfSBmcm9tICdAY29tbWVyY2V0b29scy1mcm9udGVuZC9sMTBuJztcbmltcG9ydCB7XG4gIENvbnN0cmFpbnRzLFxuICBGaWVsZExhYmVsLFxuICBTcGFjaW5ncyxcbiAgU3dpdGNoZXJJY29uLFxuICBUb29sdGlwLFxuICBXYXJuaW5nSWNvbixcbn0gZnJvbSAnQGNvbW1lcmNldG9vbHM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iAgICAgIGh0bWxGb3I9e25hbWV9XG4gICAgICB0aXRsZT17XG4gICAgICAgIDxDb25zdHJhaW50cy5Ib3Jpem9udGFsIG1heD1cInNjYWxlXCI+XG4gICAgICAgICAgPFNwYWNpbmdzLklubGluZSBzY2FsZT1cInNcIiBhbGlnbkl0ZW1zPVwiZmxleC1lbmRcIj5cbiAgICAgICAgICAgIDxkaXY+XG4gICAgICAgICAgICAgIHtmb3JtYXRMb2NhbGl6ZWRTdHJpbmcoZmllbGREZWZpbml0aW9uLCB7XG4gICAgICAgICAgICAgICAga2V5OiAnbGFiZWwnLFxuICAgICAgICAgICAgICAgIGxvY2FsZTogbGFuZ3VhZ2UsXG4gICAgICAgICAgICAgICAgZmFsbGJhY2tPcmRlcjogbGFuZ3VhZ2VzLFxuICAgICAgICAgICAgICAgIGZhbGxiYWNrOiBmaWVsZERlZmluaXRpb24ubmFtZSxcbiAgICAgICAgICAgICAgfSl9XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDxDdXN0b21GaWVsZHNDb3VudEluZGljYXRvclxuICAgICAgICAgICAgICBhc3NpZ25lZEF0dHJpYnV0ZUdyb3Vwcz17ZmllbGREZWZpbml0aW9uLmFzc2lnbmVkQXR0cmlidXRlR3JvdXBzfVxuICAgICAgICAgICAgLz5cbiAgICAgICAgICA8L1NwYWNpbmdzLklubGluZT5cbiAgICAgICAgPC9Db25zdHJhaW50cy5Ib3Jpem9udGFsPlxuICAgICAgfVxuICAgICAgZGVzY3JpcHRpb249e1xuICAgICAgICA8Q3VzdG9tRmllbGRzTGFiZWxTdWJ0aXRsZSBmaWVsZERlZmluaXRpb249e2ZpZWxkRGVmaW5pdGlvbn0gLz5cbiAgICAgIH1cbiAgICAgIGhpbnQ9ezxDdXN0b21GaWVsZHNMYWJlbEhpbnQgZmllbGREZWZpbml0aW9uPXtmaWVsZERlZmluaXRpb259IC8+fVxuICAgICAgaGFzUmVxdWlyZWRJbmRpY2F0b3I9e2ZpZWxkRGVmaW5pdGlvbi5yZXF1aXJlZH1cbiAgICAvPlxuICApO1xufSk7XG5DdXN0b21GaWVsZHNMYWJlbC5kaXNwbGF5TmFtZSA9ICdDdXN0b21GaWVsZHNUaXRsZSc7XG5DdXN0b21GaWVsZHNMYWJlbC5wcm9wVHlwZXMgPSB7XG4gIG5hbWU6IFByb3BUeXBlcy5zdHJpbmcuaXNSZXF1aXJlZCxcbiAgZmllbGREZWZpbml0aW9uOiBQcm9wVHlwZXMuc2hhcGUoe1xuICAgIGFzc2lnbmVkQXR0cmlidXRlR3JvdXBzOiBQcm9wVHlwZXMuYXJyYXksXG4gICAgbmFtZTogUHJvcFR5cGVzLnN0cmluZyxcbiAgICBpbnB1dFRpcDogUHJvcFR5cGVzLm9iamVjdCxcbiAgICByZXF1aXJlZDogUHJvcFR5cGVzLmJvb2wsXG4gIH0pLFxufTtcbmV4cG9ydCBkZWZhdWx0IEN1c3RvbUZpZWxkc0xhYmVsO1xuIl19 */",
|
|
7508
|
+
styles: "cursor:pointer;line-height:normal;label:CustomFieldsCountIndicator;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImN1c3RvbS1maWVsZHMtbGFiZWwuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFKZ0IiLCJmaWxlIjoiY3VzdG9tLWZpZWxkcy1sYWJlbC5qc3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBtZW1vIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcbmltcG9ydCB7IHVzZVF1ZXJ5IH0gZnJvbSAnQGFwb2xsby9jbGllbnQvcmVhY3QnO1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IFJlYWN0RE9NIGZyb20gJ3JlYWN0LWRvbSc7XG5pbXBvcnQgeyBGb3JtYXR0ZW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ION_STRINGIFIED_CSS_ERROR__$1
|
|
7497
7510
|
};
|
|
7498
7511
|
function CustomFieldsCountIndicator(_ref4) {
|
|
@@ -7639,8 +7652,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
7639
7652
|
styles: "z-index:100000!important"
|
|
7640
7653
|
} : {
|
|
7641
7654
|
name: "4jor1w-child",
|
|
7642
|
-
styles: "z-index:100000!important;label:child;",
|
|
7643
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImRyYWdnYWJsZS13cmFwcGVyLmpzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1Q29CIiwiZmlsZSI6ImRyYWdnYWJsZS13cmFwcGVyLmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBQcm9wVHlwZXMgZnJvbSAncHJvcC10eXBlcyc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyBEcmFnZ2FibGUgfSBmcm9tICdyZWFjdC1iZWF1dGlmdWwtZG5kJztcbmltcG9ydCBSZWFjdERPTSBmcm9tICdyZWFjdC1kb20nO1xuaW1wb3J0IHsgY3VzdG9tUHJvcGVydGllcywgR3JpZCwgQ2FyZCB9IGZyb20gJ0Bjb21tZXJjZXRvb2xzLWZyb250ZW5kL3VpLWtpdCc7XG5pbXBvcnQgeyBEcmFnSGFuZGxlIH0gZnJvbSAnLi9kcmFnLWhhbmRsZSc7XG5cbmV4cG9ydCBjb25zdCBEcmFnZ2FibGVXcmFwcGVyID0gKHtcbiAgY2hpbGRyZW4sXG4gIGRyYWdnYWJsZUtleSxcbiAgZHJhZ2dhYmxlSWQsXG4gIGluZGV4LFxufSkgPT4ge1xuICBjb25zdCBwb3J0YWwgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdkaXYnKTtcbiAgcG9ydGFsLmlkID0gJ2RyYWctcmJkLXBvcnR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IDxHcmlkXG4gICAgICAgICAgICAgICAgZ3JpZFRlbXBsYXRlQ29sdW1ucz17JzFmciAyMGZyJ31cbiAgICAgICAgICAgICAgICBncmlkVGVtcGxhdGVSb3dzPVwiYXV0byAxZnIgYXV0b1wiXG4gICAgICAgICAgICAgICAgZ3JpZEdhcD17XG4gICAgICAgICAgICAgICAgICBzbmFwc2hvdC5pc0RyYWdnaW5nXG4gICAgICAgICAgICAgICAgICAgID8gY3VzdG9tUHJvcGVydGllcy5zcGFjaW5nU1xuICAgICAgICAgICAgICAgICAgICA6IGN1c3RvbVByb3BlcnRpZXMuc3BhY2luZ01cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8R3JpZC5JdGVtPlxuICAgICAgICAgICAgICAgICAgPERyYWdIYW5kbGUgey4uLnByb3ZpZGVkLmRyYWdIYW5kbGVQcm9wc30gLz5cbiAgICAgICAgICAgICAgICA8L0dyaWQuSXRlbT5cbiAgICAgICAgICAgICAgICA8R3JpZC5JdGVtPntjaGlsZHJlbn08L0dyaWQuSXRlbT5cbiAgICAgICAgICAgICAgPC9HcmlkPlxuICAgICAgICAgICAgPC9EcmFnZ2luZ0NhcmQ+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgICk7XG5cbiAgICAgICAgaWYgKCFzbmFwc2hvdC5pc0RyYWdnaW5nKSB7XG4gICAgICAgICAgcmV0dXJuIGNoaWxkO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gcmVuZGVyIHRoZSBkcmFnZ2FibGUgaW4gdGhlIHBvcnRhbCB3aGVuIGl0J3MgYmVpbmcgZHJhZ2dlZFxuICAgICAgICByZXR1cm4gUmVhY3RET00uY3JlYXRlUG9ydGFsKDxkaXY+e2NoaWxkfTwvZGl2PiwgcG9ydGFsKTtcbiAgICAgIH19XG4gICAgPC9EcmFnZ2FibGU+XG4gICk7XG59O1xuXG5EcmFnZ2FibGVXcmFwcGVyLnByb3BUeXBlcyA9IHt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hcHNob3QuaXNEcmFnZ2luZ30+XG4gICAgICAgICAgICAgIDxHcmlkXG4gICAgICAgICAgICAgICAgZ3JpZFRlbXBsYXRlQ29sdW1ucz17JzFmciAyMGZyJ31cbiAgICAgICAgICAgICAgICBncmlkVGVtcGxhdGVSb3dzPVwiYXV0byAxZnIgYXV0b1wiXG4gICAgICAgICAgICAgICAgZ3JpZEdhcD17XG4gICAgICAgICAgICAgICAgICBzbmFwc2hvdC5pc0RyYWdnaW5nXG4gICAgICAgICAgICAgICAgICAgID8gY3VzdG9tUHJvcGVydGllcy5zcGFjaW5nU1xuICAgICAgICAgICAgICAgICAgICA6IGN1c3RvbVByb3BlcnRpZXMuc3BhY2luZ01cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8R3JpZC5JdGVtPlxuICAgICAgICAgICAgICAgICAgPERyYWdIYW5kbGUgey4uLnByb3ZpZGVkLmRyYWdIYW5kbGVQcm9wc30gLz5cbiAgICAgICAgICAgICAgICA8L0dyaWQuSXRlbT5cbiAgICAgICAgICAgICAgICA8R3JpZC5JdGVtPntjaGlsZHJlbn08L0dyaWQuSXRlbT5cbiAgICAgICAgICAgICAgPC9HcmlkPlxuICAgICAgICAgICAgPC9EcmFnZ2luZ0NhcmQ+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgICk7XG5cbiAgICAgICAgaWYgKCFzbmFwc2hvdC5pc0RyYWdnaW5nKSB7XG4gICAgICAgICAgcmV0dXJuIGNoaWxkO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gcmVuZGVyIHRoZSBkcmFnZ2FibGUgaW4gdGhlIHBvcnRhbCB3aGVuIGl0J3MgYmVpbmcgZHJhZ2dlZFxuICAgICAgICByZXR1cm4gUmVhY3RET00uY3JlYXRlUG9ydGFsKDxkaXY+e2NoaWxkfTwvZGl2PiwgcG9ydGFsKTtcbiAgICAgIH19XG4gICAgPC9EcmFnZ2FibGU+XG4gICk7XG59O1xuXG5EcmFnZ2FibGVXcmFwcGVyLnByb3BUeXBlcyA9IHtcbiAgZHJhZ2dhYmxlS2V5OiBQcm9wVHlwZXMuc3RyaW5nLmlzUmVxdWlyZWQsXG4gIGluZGV4OiBQcm9wVHlwZXMubnVtYmVyLmlzUmVxdWlyZWQsXG4gIGRyYWdnYWJsZUlkOiBQcm9wVHlwZXMuc3RyaW5nLmlzUmVxdWlyZWQsXG4gIGNoaWxkcmVuOiBQcm9wVHlwZXMubm9kZS5pc1JlcXVpcmVkLFxufTtcbiJdfQ== */",
|
|
7644
7656
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
7645
7657
|
};
|
|
7646
7658
|
const DraggableWrapper = _ref2 => {
|
|
@@ -7766,10 +7778,11 @@ const useDnDContext = () => {
|
|
|
7766
7778
|
|
|
7767
7779
|
const _excluded$9 = ["renderCustomWarnings", "WrapperComponent"];
|
|
7768
7780
|
function ownKeys$J(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7769
|
-
function _objectSpread$J(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
7781
|
+
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(_context2 = ownKeys$J(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$J(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7770
7782
|
const existingAttributeTypes = ['text', 'ltext'];
|
|
7771
7783
|
const newAttributeTypes = ['text', 'ltext', 'number', 'enum', 'lenum', 'money', 'boolean', 'date', 'datetime', 'reference', 'time']; // Add more types here
|
|
7772
7784
|
const setAttributeTypes = ['text', 'ltext', 'number', 'enum', 'lenum', 'money', 'boolean', 'date', 'time', 'datetime', 'reference'];
|
|
7785
|
+
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];
|
|
7773
7786
|
const getFieldName = (parentName, fieldName) => {
|
|
7774
7787
|
if (!parentName) return fieldName;
|
|
7775
7788
|
return `${parentName}.${fieldName}`;
|
|
@@ -7800,6 +7813,14 @@ const CustomFieldsInternal = _ref => {
|
|
|
7800
7813
|
values = _valuesInstanceProperty(_useFormikContext),
|
|
7801
7814
|
handleBlur = _useFormikContext.handleBlur,
|
|
7802
7815
|
status = _useFormikContext.status;
|
|
7816
|
+
const _useIntl = useIntl(),
|
|
7817
|
+
locale = _useIntl.locale;
|
|
7818
|
+
const _useApplicationContex = useApplicationContext(applicationContext => ({
|
|
7819
|
+
timeZone: applicationContext.user.timeZone,
|
|
7820
|
+
userLocale: applicationContext.dataLocale
|
|
7821
|
+
})),
|
|
7822
|
+
timeZone = _useApplicationContex.timeZone,
|
|
7823
|
+
userLocale = _useApplicationContex.userLocale;
|
|
7803
7824
|
const isTailoringAttributesEnabled = useFeatureToggle(PRODUCT_TAILORING_FOR_ATTRIBUTES);
|
|
7804
7825
|
const isTailoringAttributeForOtherTypes = useFeatureToggle(PRODUCT_TAILORING_FOR_ATTRIBUTES_TYPES_OTHER_THAN_TEXT);
|
|
7805
7826
|
const isTailoringFallbackEnabled = useFeatureToggle(PRODUCT_TAILORING_FOR_ATTRIBUTES_FALLBACK_VALUES);
|
|
@@ -7814,10 +7835,13 @@ const CustomFieldsInternal = _ref => {
|
|
|
7814
7835
|
return jsx(DroppableWrapper, {
|
|
7815
7836
|
onDragEnd: onDragEnd,
|
|
7816
7837
|
children: _mapInstanceProperty(fieldDefinitions).call(fieldDefinitions, (fieldDefinition, index) => {
|
|
7838
|
+
var _context;
|
|
7817
7839
|
const fieldName = getFieldName(props.name, fieldDefinition.name);
|
|
7818
7840
|
const isTouched = Boolean(getIn(touched, fieldName));
|
|
7819
7841
|
const isFieldDisabled = props.isDisabled && !(isAttributeType(fieldDefinition.type, isTailoringAttributeForOtherTypes) && isTailoringAttributesEnabled);
|
|
7820
7842
|
const isSet = fieldDefinition.type.name === 'set';
|
|
7843
|
+
const shouldUseAdditionalInfoProp = _includesInstanceProperty(_context = [CUSTOM_FIELD_TYPES.ltext, CUSTOM_FIELD_TYPES.localizedstring, CUSTOM_FIELD_TYPES.localizedenum]).call(_context, fieldDefinition.type.name);
|
|
7844
|
+
const shouldDisplayFallbackRow = isTailoringFallbackEnabled && !shouldUseAdditionalInfoProp && _includesInstanceProperty(ENABLED_FALLBACK_ATTRIBUTE_TYPES).call(ENABLED_FALLBACK_ATTRIBUTE_TYPES, fieldDefinition.type.name);
|
|
7821
7845
|
const fieldErrors = getIn(errors, fieldName);
|
|
7822
7846
|
const value = props.inputValuesConverter(fieldName, getIn(values, fieldName));
|
|
7823
7847
|
|
|
@@ -7843,9 +7867,10 @@ const CustomFieldsInternal = _ref => {
|
|
|
7843
7867
|
hasWarning: props.renderWarnings && status?.warnings[fieldName],
|
|
7844
7868
|
handleWarningChange: props.handleWarningChange,
|
|
7845
7869
|
renderWarnings: props.renderWarnings,
|
|
7846
|
-
additionalInfo: isTailoringFallbackEnabled && props.additionalInfoHandler
|
|
7870
|
+
additionalInfo: !isSet && isTailoringFallbackEnabled && shouldUseAdditionalInfoProp && props.additionalInfoHandler ? props.additionalInfoHandler(fieldDefinition, locale, timeZone, userLocale) : undefined
|
|
7847
7871
|
};
|
|
7848
7872
|
const Field = jsx(FieldComponent, _objectSpread$J({}, fieldProps));
|
|
7873
|
+
// the several values inside the key are needed to make sure the field is re-rendered when those values change
|
|
7849
7874
|
return jsx(FastField, {
|
|
7850
7875
|
name: fieldName,
|
|
7851
7876
|
validate: validate,
|
|
@@ -7867,7 +7892,10 @@ const CustomFieldsInternal = _ref => {
|
|
|
7867
7892
|
alignItems: "stretch",
|
|
7868
7893
|
children: [WrapperComponent ? jsx(WrapperComponent, {
|
|
7869
7894
|
children: Field
|
|
7870
|
-
}) : Field,
|
|
7895
|
+
}) : Field, shouldDisplayFallbackRow && jsx(Text.Detail, {
|
|
7896
|
+
tone: "tertiary",
|
|
7897
|
+
children: props.additionalInfoHandler(fieldDefinition, locale, timeZone, userLocale)
|
|
7898
|
+
}), props.renderWarnings && status?.warnings[fieldName] && renderCustomWarnings(fieldDefinition), jsx(CustomFieldErrors$1, {
|
|
7871
7899
|
isTouched: isTouched,
|
|
7872
7900
|
errors: fieldErrors
|
|
7873
7901
|
})]
|
|
@@ -7875,7 +7903,7 @@ const CustomFieldsInternal = _ref => {
|
|
|
7875
7903
|
})
|
|
7876
7904
|
})
|
|
7877
7905
|
})
|
|
7878
|
-
}, `${fieldName}-${index}-${fieldKey}`);
|
|
7906
|
+
}, `${fieldName}-${index}-${fieldKey}-${locale}-${userLocale}`);
|
|
7879
7907
|
})
|
|
7880
7908
|
});
|
|
7881
7909
|
};
|
|
@@ -8482,7 +8510,8 @@ function ProductSelectionsPicker(_ref) {
|
|
|
8482
8510
|
};
|
|
8483
8511
|
}, [optionType]);
|
|
8484
8512
|
if (productSelectionsTotalFetcher.isLoading) return jsx(CenteredLoadingSpinner$1, {});
|
|
8485
|
-
|
|
8513
|
+
let CustomProductSelectionsPicker;
|
|
8514
|
+
if (productSelectionsTotalFetcher.total <= lowerProductSelectionsLimit) CustomProductSelectionsPicker = ProductSelectionBasicSelectDropdown;else if (productSelectionsTotalFetcher.total <= upperProductSelectionsLimit) CustomProductSelectionsPicker = ProductSelectionsAsyncSelectDropdown;else CustomProductSelectionsPicker = ProductSelectionsSearchSelectDropdown;
|
|
8486
8515
|
return jsx(Spacings.Stack, {
|
|
8487
8516
|
children: jsx(CustomProductSelectionsPicker, _objectSpread$F(_objectSpread$F({
|
|
8488
8517
|
lowerProductSelectionsLimit: lowerProductSelectionsLimit,
|
|
@@ -9189,7 +9218,23 @@ const StoreSelectInput = _ref => {
|
|
|
9189
9218
|
};
|
|
9190
9219
|
}, [optionType, totalNumberOfStoresFetcher.total, upperStoresLimit]);
|
|
9191
9220
|
if (totalNumberOfStoresFetcher.isLoading) return jsx(CenteredLoadingSpinner$1, {});
|
|
9192
|
-
|
|
9221
|
+
let CustomStoreSelectInput;
|
|
9222
|
+
// GIVEN total number of available stores <= lowerStoresLimit
|
|
9223
|
+
// THEN render basic SelectField with all available stores as options
|
|
9224
|
+
if (totalNumberOfStoresFetcher.total <= lowerStoresLimit) {
|
|
9225
|
+
CustomStoreSelectInput = StoresBasicSelectInput$1;
|
|
9226
|
+
}
|
|
9227
|
+
// GIVEN lowerStoresLimit > total number of available stores <= upperStoresLimit
|
|
9228
|
+
// THEN render AsyncSelectField with option list containing only first lowerStoresLimit stores options
|
|
9229
|
+
// AND hinting the user to start typing to load more
|
|
9230
|
+
else if (totalNumberOfStoresFetcher.total <= upperStoresLimit) {
|
|
9231
|
+
CustomStoreSelectInput = StoresAsyncSelectInput$1;
|
|
9232
|
+
}
|
|
9233
|
+
// GIVEN total number of available stores > 500
|
|
9234
|
+
// THEN render search input to search based on key.
|
|
9235
|
+
else {
|
|
9236
|
+
CustomStoreSelectInput = StoresSearchSelectInput$1;
|
|
9237
|
+
}
|
|
9193
9238
|
return jsx(CustomStoreSelectInput, _objectSpread$B(_objectSpread$B({
|
|
9194
9239
|
menuIsOpen: props.menuIsOpen,
|
|
9195
9240
|
placeholder: props.placeholder,
|
|
@@ -9745,8 +9790,7 @@ let CustomFieldTypeDefinitionsConnector = /*#__PURE__*/function (_Component) {
|
|
|
9745
9790
|
}(Component);
|
|
9746
9791
|
CustomFieldTypeDefinitionsConnector.displayName = 'CustomFieldTypeDefinitionsConnector';
|
|
9747
9792
|
CustomFieldTypeDefinitionsConnector.defaultProps = {
|
|
9748
|
-
resources: []
|
|
9749
|
-
limit: QUERY_LIMIT.DEFAULT_MAX
|
|
9793
|
+
resources: []
|
|
9750
9794
|
};
|
|
9751
9795
|
CustomFieldTypeDefinitionsConnector.restDocToForm = restDocToForm;
|
|
9752
9796
|
CustomFieldTypeDefinitionsConnector.graphQlDocToForm = graphQlDocToForm;
|
|
@@ -9759,7 +9803,7 @@ const createGraphQlOptions = ownProps => {
|
|
|
9759
9803
|
return {
|
|
9760
9804
|
variables: {
|
|
9761
9805
|
where,
|
|
9762
|
-
limit:
|
|
9806
|
+
limit: QUERY_LIMIT.DEFAULT_MAX
|
|
9763
9807
|
},
|
|
9764
9808
|
context: {
|
|
9765
9809
|
target: GRAPHQL_TARGETS.COMMERCETOOLS_PLATFORM,
|
|
@@ -10943,14 +10987,20 @@ const PlatformLimitsShippingMethodsStatus = _ref => {
|
|
|
10943
10987
|
platformLimits = _useShippingMethodsPl.platformLimits;
|
|
10944
10988
|
const current = platformLimits?.shippingMethods?.total?.current;
|
|
10945
10989
|
const limit = platformLimits?.shippingMethods?.total?.limit;
|
|
10946
|
-
return
|
|
10947
|
-
|
|
10948
|
-
|
|
10949
|
-
|
|
10950
|
-
|
|
10951
|
-
|
|
10952
|
-
|
|
10953
|
-
|
|
10990
|
+
return jsxs(Spacings.Inline, {
|
|
10991
|
+
scale: "s",
|
|
10992
|
+
alignItems: "baseline",
|
|
10993
|
+
children: [jsx(StatusText, {
|
|
10994
|
+
intlMessage: messages$n.shippingMethodsStatus
|
|
10995
|
+
}), jsxs(Text.Detail, {
|
|
10996
|
+
tone: "secondary",
|
|
10997
|
+
children: [getPlatformLimitsStatus({
|
|
10998
|
+
limit,
|
|
10999
|
+
current,
|
|
11000
|
+
total,
|
|
11001
|
+
intl
|
|
11002
|
+
}), ' ']
|
|
11003
|
+
})]
|
|
10954
11004
|
});
|
|
10955
11005
|
};
|
|
10956
11006
|
PlatformLimitsShippingMethodsStatus.displayName = 'PlatformLimitsShippingMethodsStatus';
|
|
@@ -13747,4 +13797,4 @@ function withPendingRequests() {
|
|
|
13747
13797
|
|
|
13748
13798
|
var CategorySearchPickerOptionFragment = { kind: "Document", definitions: [{ kind: "FragmentDefinition", name: { kind: "Name", value: "CategorySearchPickerOptionFragment" }, typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CategorySearch" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "externalId" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "slugAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "parent" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "ancestors" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }] } }], loc: { start: 0, end: 685, source: { body: "query SearchCategoryReference($locale: Locale!, $text: String!) {\n categories: categoryAutocomplete(locale: $locale, text: $text) {\n results {\n ...CategorySearchPickerOptionFragment\n }\n }\n}\n\nquery FetchCategoriesByIds($where: String!) {\n categories(where: $where) {\n results {\n id\n nameAllLocales {\n locale\n value\n }\n }\n }\n}\n\nfragment CategorySearchPickerOptionFragment on CategorySearch {\n id\n externalId\n nameAllLocales {\n locale\n value\n }\n slugAllLocales {\n locale\n value\n }\n parent {\n nameAllLocales {\n locale\n value\n }\n }\n ancestors {\n nameAllLocales {\n locale\n value\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
13749
13799
|
|
|
13750
|
-
export { booleanField as BooleanField, Button$1 as Button, CartDiscountReferenceSearch, CategoryReferenceSearch, CategorySearchPickerOptionFragment, CenteredLoadingSpinner$1 as CenteredLoadingSpinner, ChannelPickerInput$1 as ChannelPickerInput, CountriesPicker, customFieldDefinitionsConnector as CustomFieldDefinitionsConnector, CustomFieldTooltip$1 as CustomFieldTooltip, CustomFieldTypeDefinitionsConnector$1 as CustomFieldTypeDefinitionsConnector, CustomFields$1 as CustomFields, CustomFieldsErrorTextNotification$1 as CustomFieldsErrorTextNotification, CustomFieldsFormField$1 as CustomFieldsFormField, CustomerGroupPickerInput$1 as CustomerGroupPickerInput, DefaultPageSizes, Divider, EMAIL_REGEX, FileInput$1 as FileInput, FormattedDateTime$1 as FormattedDateTime, FormattedLocalizedString, LabelRange$1 as LabelRange, MC_RESOURCES_WITH_KEYS, MissingValueField$1 as MissingValueField, MultiValueSearchInput$1 as MultiValueSearchInput, numericFormatInput as NumericFormatInput, Option$2 as Option, PRECISION_TYPES, pimIndexerProvider as PimIndexerProvider, ProductAttributeInput, ProductAttributes, ProductPickerInput$1 as ProductPickerInput, ProductSelectionsPicker as ProductSelectionPicker, RequestCache$1 as RequestCache, RequiredIndicator$1 as RequiredIndicator, ScrollToFieldError$1 as ScrollToFieldError, searchInput as SearchInput, SelectableFieldSearchInput$1 as SelectableFieldSearchInput, StoreSelectField$1 as StoreSelectField, StoreSelectInput$1 as StoreSelectInput, ThrottledField$1 as ThrottledField, VALIDATOR_INTEGER, VALIDATOR_NUMERIC, VALIDATOR_REQUIRED, WithPimIndexer$1 as WithPimIndexer, allowedProperties, and, attributesMapToNameValuePairs, base64ToString, messages$c as booleanMessages, buildSearchQuery$1 as buildSearchQuery, businessRoleConstants$1 as businessRoleConstants, messages$7 as businessRoleMessages, businessRoleKeys$1 as businessRoles, capitalizeFirst, clone, coerceToInteger, computedProperties, convertApolloNetworkStatusToLoadingState, convertApolloQueryDataToConnectorData, convertProductSelectionFromGraphQl, convertRatioToPercentage, createGraphQlUpdateActions, createNextSortDefinition$1 as createNextSortDefinition, createReducer, createResourceReducer, customFields as customFieldsTransformer, dateTransformer$1 as dateTransformer, exact, exists, extractErrorFromGraphQlResponse, filterCustomTypeUpdateActionValues, filterDataAttributes, filterEmptyValues, formatCustomField, formatCustomerAddress, formatCustomerName, formatDateRangeValue, formatDateTime$1 as formatDateTime, formatDiscount, formatMoney$2 as formatMoney, formatMoneyRangeValue, formatMoneyValue, formatPercentage, formatAttribute as formatProductAttribute, getAncestors, getAttributeValueByType, getAttributeValueType, getBottomOption, getBulkNotification, getCategoryLevel, getCountsFromBulkSummary, getDiscountValue, getDisplayName$1 as getDisplayName, getFractionedAmount, getIndexesOfInvalidValues, getMinimumPricesByCurrencyCode, getNetUnitPrice, getPathName, getPrefixSearchBounds$1 as getPrefixSearchBounds, getPriceChannelName, getReferenceTypeId, getSelectedPrice, getTimeZoneId, getTimeZoneLabel, getTypeNameOfType, graphqlCategoryLevelTransformer, dateTransformer as graphqlDateTransformer, missingLocaleTransformer as graphqlMissingLocaleTransformer, missingTransformer as graphqlMissingTransformer, numberTransformer as graphqlNumberTransformer, graphqlQueryBuilder, referenceTransformer as graphqlReferenceTransformer, textTransformer as graphqlTextTransformer, hasInvalidInputError$1 as hasInvalidInputError, hasSemanticError$1 as hasSemanticError, injectCustomerGroupsPlatformLimits$1 as injectCustomerGroupsPlatformLimits, injectCustomersPlatformLimits$1 as injectCustomersPlatformLimits, injectDataTablePaginationState$1 as injectDataTablePaginationState, injectModalState$3 as injectModalState, injectNotifications$1 as injectNotifications, injectPimIndexer, injectShippingMethodsPlatformLimits$1 as injectShippingMethodsPlatformLimits, injectStorage$1 as injectStorage, injectTaxCategoriesPlatformLimits$1 as injectTaxCategoriesPlatformLimits, injectModalState$1 as injectToggleState, injectZonesPlatformLimits$1 as injectZonesPlatformLimits, isEmptyFilter as isEmpty, isEmptyValue, isUUID$1 as isUUID, isValidISODate, isValidISODateTime, isValidISOTime, keepDisplayName$1 as keepDisplayName, mapStoresToOptions, mapTimeZonesToOptions, minusify, messages$9 as missingValueMessages, nameValuePairsToMap, normalizeProductSettings, not, omitDeep, omitSetsOfSets, or, pickerMessages$1 as pickerMessages, range, reorderArrayItems, resolveStatusType, safelyAddFallback, sanitize, searchCategories, messages$N as searchInputMessages, setDisplayName$1 as setDisplayName, setToArray, shallowEqual, shouldUpdateAttributeInput, slugify, sortDataByIdsArray, sortRequiresLanguage, splitVariantAttributesByConstraint, stringToBase64, swapArrayItems, transformAllToProperNounCase, transformCustomFieldsRawToCustomFields, transformLocalizedFieldsForCategory, truncate, unique, uniqueObjects, useCachedCategoryOptions, useCurrentOption, useDnDContext as useCustomFieldsDnDContext, useCustomerGroupsPlatformLimits$1 as useCustomerGroupsPlatformLimits, useCustomersPlatformLimits$1 as useCustomersPlatformLimits, useDebouncedPromiseCallback$1 as useDebouncedPromiseCallback, useFormatLocalizedFieldToString, useFormatLocalizedString, useIsFieldDuplicated$1 as useIsFieldDuplicated, useLoadOptions$1 as useLoadOptions, useLocalizedKeyFallback$1 as useLocalizedKeyFallback, usePendingRequests, usePersistedTableConfiguration$1 as usePersistedTableConfiguration, usePimIndexer, usePrevious$1 as usePrevious, useProductSelectionsFetcher$1 as useProductSelectionsFetcher, useProductSelectionsTotalFetcher$1 as useProductSelectionsTotalFetcher, useRoleNotificationEffect$1 as useRoleNotificationEffect, useShippingMethodsPlatformLimits, useStorage$1 as useStorage, useStoreKeysInDataFences$1 as useStoreKeysInDataFences, useStoresListFetcher$1 as useStoresListFetcher, useTaxCategoriesPlatformLimits, useTotalNumberOfStoresFetcher$1 as useTotalNumberOfStoresFetcher, validateFilter$2 as validateCustomField, validations as validateCustomFields, validateFilter$1 as validateDate, validateMultiOptionEnum, validateFilter as validateNumber, validateSingleOptionEnum, validateText, validatedInput, validationMessages, withPendingRequests, withProps$1 as withProps, withRedirectTo$1 as withRedirectTo, withoutEmptyErrorsByField$1 as withoutEmptyErrorsByField, wrapDisplayName$1 as wrapDisplayName };
|
|
13800
|
+
export { booleanField as BooleanField, Button$1 as Button, CartDiscountReferenceSearch, CategoryReferenceSearch, CategorySearchPickerOptionFragment, CenteredLoadingSpinner$1 as CenteredLoadingSpinner, ChannelPickerInput$1 as ChannelPickerInput, CountriesPicker, customFieldDefinitionsConnector as CustomFieldDefinitionsConnector, CustomFieldTooltip$1 as CustomFieldTooltip, CustomFieldTypeDefinitionsConnector$1 as CustomFieldTypeDefinitionsConnector, CustomFields$1 as CustomFields, CustomFieldsErrorTextNotification$1 as CustomFieldsErrorTextNotification, CustomFieldsFormField$1 as CustomFieldsFormField, CustomerGroupPickerInput$1 as CustomerGroupPickerInput, DefaultPageSizes, Divider, EMAIL_REGEX, FileInput$1 as FileInput, FormattedDateTime$1 as FormattedDateTime, FormattedLocalizedString, LabelRange$1 as LabelRange, MC_RESOURCES_WITH_KEYS, MissingValueField$1 as MissingValueField, MultiValueSearchInput$1 as MultiValueSearchInput, numericFormatInput as NumericFormatInput, Option$2 as Option, PRECISION_TYPES, pimIndexerProvider as PimIndexerProvider, ProductAttributeInput, ProductAttributes, ProductPickerInput$1 as ProductPickerInput, ProductSelectionsPicker as ProductSelectionPicker, QUERY_LIMIT, RequestCache$1 as RequestCache, RequiredIndicator$1 as RequiredIndicator, ScrollToFieldError$1 as ScrollToFieldError, searchInput as SearchInput, SelectableFieldSearchInput$1 as SelectableFieldSearchInput, StoreSelectField$1 as StoreSelectField, StoreSelectInput$1 as StoreSelectInput, ThrottledField$1 as ThrottledField, VALIDATOR_INTEGER, VALIDATOR_NUMERIC, VALIDATOR_REQUIRED, WithPimIndexer$1 as WithPimIndexer, allowedProperties, and, attributesMapToNameValuePairs, base64ToString, messages$c as booleanMessages, buildSearchQuery$1 as buildSearchQuery, businessRoleConstants$1 as businessRoleConstants, messages$7 as businessRoleMessages, businessRoleKeys$1 as businessRoles, capitalizeFirst, clone, coerceToInteger, computedProperties, convertApolloNetworkStatusToLoadingState, convertApolloQueryDataToConnectorData, convertProductSelectionFromGraphQl, convertRatioToPercentage, createGraphQlUpdateActions, createNextSortDefinition$1 as createNextSortDefinition, createReducer, createResourceReducer, customFields as customFieldsTransformer, dateTransformer$1 as dateTransformer, exact, exists, extractErrorFromGraphQlResponse, filterCustomTypeUpdateActionValues, filterDataAttributes, filterEmptyValues, formatCustomField, formatCustomerAddress, formatCustomerName, formatDateRangeValue, formatDateTime$1 as formatDateTime, formatDiscount, formatMoney$2 as formatMoney, formatMoneyRangeValue, formatMoneyValue, formatPercentage, formatAttribute as formatProductAttribute, getAncestors, getAttributeValueByType, getAttributeValueType, getBottomOption, getBulkNotification, getCategoryLevel, getCountsFromBulkSummary, getDiscountValue, getDisplayName$1 as getDisplayName, getFractionedAmount, getIndexesOfInvalidValues, getMinimumPricesByCurrencyCode, getNetUnitPrice, getPathName, getPrefixSearchBounds$1 as getPrefixSearchBounds, getPriceChannelName, getReferenceTypeId, getSelectedPrice, getTimeZoneId, getTimeZoneLabel, getTypeNameOfType, graphqlCategoryLevelTransformer, dateTransformer as graphqlDateTransformer, missingLocaleTransformer as graphqlMissingLocaleTransformer, missingTransformer as graphqlMissingTransformer, numberTransformer as graphqlNumberTransformer, graphqlQueryBuilder, referenceTransformer as graphqlReferenceTransformer, textTransformer as graphqlTextTransformer, hasInvalidInputError$1 as hasInvalidInputError, hasSemanticError$1 as hasSemanticError, injectCustomerGroupsPlatformLimits$1 as injectCustomerGroupsPlatformLimits, injectCustomersPlatformLimits$1 as injectCustomersPlatformLimits, injectDataTablePaginationState$1 as injectDataTablePaginationState, injectModalState$3 as injectModalState, injectNotifications$1 as injectNotifications, injectPimIndexer, injectShippingMethodsPlatformLimits$1 as injectShippingMethodsPlatformLimits, injectStorage$1 as injectStorage, injectTaxCategoriesPlatformLimits$1 as injectTaxCategoriesPlatformLimits, injectModalState$1 as injectToggleState, injectZonesPlatformLimits$1 as injectZonesPlatformLimits, isEmptyFilter as isEmpty, isEmptyValue, isUUID$1 as isUUID, isValidISODate, isValidISODateTime, isValidISOTime, keepDisplayName$1 as keepDisplayName, mapStoresToOptions, mapTimeZonesToOptions, minusify, messages$9 as missingValueMessages, nameValuePairsToMap, normalizeProductSettings, not, omitDeep, omitSetsOfSets, or, pickerMessages$1 as pickerMessages, range, reorderArrayItems, resolveStatusType, safelyAddFallback, sanitize, searchCategories, messages$N as searchInputMessages, setDisplayName$1 as setDisplayName, setToArray, shallowEqual, shouldUpdateAttributeInput, slugify, sortDataByIdsArray, sortRequiresLanguage, splitVariantAttributesByConstraint, stringToBase64, swapArrayItems, transformAllToProperNounCase, transformCustomFieldsRawToCustomFields, transformLocalizedFieldsForCategory, truncate, unique, uniqueObjects, useCachedCategoryOptions, useCurrentOption, useDnDContext as useCustomFieldsDnDContext, useCustomerGroupsPlatformLimits$1 as useCustomerGroupsPlatformLimits, useCustomersPlatformLimits$1 as useCustomersPlatformLimits, useDebouncedPromiseCallback$1 as useDebouncedPromiseCallback, useFormatLocalizedFieldToString, useFormatLocalizedString, useIsFieldDuplicated$1 as useIsFieldDuplicated, useLoadOptions$1 as useLoadOptions, useLocalizedKeyFallback$1 as useLocalizedKeyFallback, usePendingRequests, usePersistedTableConfiguration$1 as usePersistedTableConfiguration, usePimIndexer, usePrevious$1 as usePrevious, useProductSelectionsFetcher$1 as useProductSelectionsFetcher, useProductSelectionsTotalFetcher$1 as useProductSelectionsTotalFetcher, useRoleNotificationEffect$1 as useRoleNotificationEffect, useShippingMethodsPlatformLimits, useStorage$1 as useStorage, useStoreKeysInDataFences$1 as useStoreKeysInDataFences, useStoresListFetcher$1 as useStoresListFetcher, useTaxCategoriesPlatformLimits, useTotalNumberOfStoresFetcher$1 as useTotalNumberOfStoresFetcher, validateFilter$2 as validateCustomField, validations as validateCustomFields, validateFilter$1 as validateDate, validateMultiOptionEnum, validateFilter as validateNumber, validateSingleOptionEnum, validateText, validatedInput, validationMessages, withPendingRequests, withProps$1 as withProps, withRedirectTo$1 as withRedirectTo, withoutEmptyErrorsByField$1 as withoutEmptyErrorsByField, wrapDisplayName$1 as wrapDisplayName };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare function CartDiscountReferenceSearch(props: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare namespace CartDiscountReferenceSearch {
|
|
3
|
+
namespace propTypes {
|
|
4
|
+
let id: any;
|
|
5
|
+
let isClearable: any;
|
|
6
|
+
let isDisabled: any;
|
|
7
|
+
let hasError: any;
|
|
8
|
+
let onBlur: any;
|
|
9
|
+
let onChange: any;
|
|
10
|
+
let value: any;
|
|
11
|
+
let hasWarning: any;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export default CartDiscountReferenceSearch;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function CategoryReferenceSearch(props: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare namespace CategoryReferenceSearch {
|
|
3
|
+
namespace propTypes {
|
|
4
|
+
let id: any;
|
|
5
|
+
let isClearable: any;
|
|
6
|
+
let isDisabled: any;
|
|
7
|
+
let isReadOnly: any;
|
|
8
|
+
let isMulti: any;
|
|
9
|
+
let hasError: any;
|
|
10
|
+
let onBlur: any;
|
|
11
|
+
let onChange: any;
|
|
12
|
+
let components: any;
|
|
13
|
+
let value: any;
|
|
14
|
+
let hasWarning: any;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export default CategoryReferenceSearch;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useCachedCategoryOptions(ids: any): any;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export default Button;
|
|
2
|
+
declare function Button({ type, ...props }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
type?: string | undefined;
|
|
5
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare namespace Button {
|
|
7
|
+
let displayName: string;
|
|
8
|
+
let propTypes: {
|
|
9
|
+
className: any;
|
|
10
|
+
type: any;
|
|
11
|
+
onClick: any;
|
|
12
|
+
isDisabled: any;
|
|
13
|
+
children: any;
|
|
14
|
+
'aria-label': any;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default FileInput;
|
|
2
|
+
declare function FileInput({ children, allowMultiple, acceptTypes, ...props }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
children?: import("@emotion/react/jsx-runtime").JSX.Element | undefined;
|
|
5
|
+
allowMultiple?: boolean | undefined;
|
|
6
|
+
acceptTypes?: string | undefined;
|
|
7
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare namespace FileInput {
|
|
9
|
+
let displayName: string;
|
|
10
|
+
namespace propTypes {
|
|
11
|
+
let children: any;
|
|
12
|
+
let onChange: any;
|
|
13
|
+
let acceptTypes: any;
|
|
14
|
+
let name: any;
|
|
15
|
+
let allowMultiple: any;
|
|
16
|
+
}
|
|
17
|
+
}
|
package/dist/declarations/src/components/centered-loading-spinner/centered-loading-spinner.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default CenteredLoadingSpinner;
|
|
2
|
+
/**
|
|
3
|
+
* renders a centered LoadingSpinner that assumes the height of its parent
|
|
4
|
+
* - the ui-kit Spacings.Stack does not allow for custom styles, nor does it stretch to fill its container's height
|
|
5
|
+
*/
|
|
6
|
+
declare function CenteredLoadingSpinner(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare namespace CenteredLoadingSpinner {
|
|
8
|
+
let displayName: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./centered-loading-spinner.jsx";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export default ChannelPickerInput;
|
|
2
|
+
declare function ChannelPickerInput({ isClearable, isDisabled, isReadOnly, onChange, name, onBlur, value, hasError, onError, placeholder, roles, hasWarning, }: {
|
|
3
|
+
isClearable: any;
|
|
4
|
+
isDisabled: any;
|
|
5
|
+
isReadOnly: any;
|
|
6
|
+
onChange: any;
|
|
7
|
+
name: any;
|
|
8
|
+
onBlur: any;
|
|
9
|
+
value: any;
|
|
10
|
+
hasError: any;
|
|
11
|
+
onError: any;
|
|
12
|
+
placeholder: any;
|
|
13
|
+
roles: any;
|
|
14
|
+
hasWarning: any;
|
|
15
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare namespace ChannelPickerInput {
|
|
17
|
+
let displayName: string;
|
|
18
|
+
namespace propTypes {
|
|
19
|
+
let name: any;
|
|
20
|
+
let onChange: any;
|
|
21
|
+
let onBlur: any;
|
|
22
|
+
let value: any;
|
|
23
|
+
let hasError: any;
|
|
24
|
+
let onError: any;
|
|
25
|
+
let isClearable: any;
|
|
26
|
+
let isDisabled: any;
|
|
27
|
+
let isReadOnly: any;
|
|
28
|
+
let placeholder: any;
|
|
29
|
+
let roles: any;
|
|
30
|
+
let hasWarning: any;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./channel-picker-input.jsx";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare function CountriesPicker({ countriesAsyncLoadingLimit, isMulti, isRequired, hasWarning, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
countriesAsyncLoadingLimit?: number | undefined;
|
|
4
|
+
isMulti?: boolean | undefined;
|
|
5
|
+
isRequired?: boolean | undefined;
|
|
6
|
+
hasWarning?: boolean | undefined;
|
|
7
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare namespace CountriesPicker {
|
|
9
|
+
namespace propTypes {
|
|
10
|
+
let id: any;
|
|
11
|
+
let name: any;
|
|
12
|
+
let title: any;
|
|
13
|
+
let isRequired: any;
|
|
14
|
+
let isMulti: any;
|
|
15
|
+
let value: any;
|
|
16
|
+
let options: any;
|
|
17
|
+
let description: any;
|
|
18
|
+
let onChange: any;
|
|
19
|
+
let isDisabled: any;
|
|
20
|
+
let isReadOnly: any;
|
|
21
|
+
let countriesAsyncLoadingLimit: any;
|
|
22
|
+
let hasWarning: any;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export default CountriesPicker;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./country-picker.jsx";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export default CustomerGroupPickerInput;
|
|
2
|
+
declare function CustomerGroupPickerInput({ isClearable, isDisabled, isReadOnly, onChange, name, onBlur, value, hasError, onError, placeholder, }: {
|
|
3
|
+
isClearable: any;
|
|
4
|
+
isDisabled: any;
|
|
5
|
+
isReadOnly: any;
|
|
6
|
+
onChange: any;
|
|
7
|
+
name: any;
|
|
8
|
+
onBlur: any;
|
|
9
|
+
value: any;
|
|
10
|
+
hasError: any;
|
|
11
|
+
onError: any;
|
|
12
|
+
placeholder: any;
|
|
13
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare namespace CustomerGroupPickerInput {
|
|
15
|
+
let displayName: string;
|
|
16
|
+
namespace propTypes {
|
|
17
|
+
let name: any;
|
|
18
|
+
let onChange: any;
|
|
19
|
+
let onBlur: any;
|
|
20
|
+
let value: any;
|
|
21
|
+
let hasError: any;
|
|
22
|
+
let onError: any;
|
|
23
|
+
let isClearable: any;
|
|
24
|
+
let isDisabled: any;
|
|
25
|
+
let isReadOnly: any;
|
|
26
|
+
let placeholder: any;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./customer-group-picker-input.jsx";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare function Divider({ isDashed, orientation }: {
|
|
2
|
+
isDashed: any;
|
|
3
|
+
orientation?: string | undefined;
|
|
4
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare namespace Divider {
|
|
6
|
+
let displayName: string;
|
|
7
|
+
namespace propTypes {
|
|
8
|
+
let isDashed: any;
|
|
9
|
+
let orientation: any;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
export default Divider;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./divider.jsx";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export class FormattedDateTime extends PureComponent<any, any, any> {
|
|
2
|
+
static displayName: string;
|
|
3
|
+
static propTypes: {
|
|
4
|
+
type: any;
|
|
5
|
+
value: any;
|
|
6
|
+
timeZone: any;
|
|
7
|
+
intl: any;
|
|
8
|
+
};
|
|
9
|
+
constructor(props: any);
|
|
10
|
+
constructor(props: any, context: any);
|
|
11
|
+
render(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: import("react").FC<import("react-intl").WithIntlProps<any>> & {
|
|
14
|
+
WrappedComponent: import("react").ComponentType<any>;
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
17
|
+
import { PureComponent } from 'react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FormattedLocalizedString } from "./formatted-localized-string.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./keep-display-name.js";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace loadingErrorMessage {
|
|
3
|
+
let id: string;
|
|
4
|
+
let description: string;
|
|
5
|
+
let defaultMessage: string;
|
|
6
|
+
}
|
|
7
|
+
namespace shortLoadingErrorMessage {
|
|
8
|
+
let id_1: string;
|
|
9
|
+
export { id_1 as id };
|
|
10
|
+
let description_1: string;
|
|
11
|
+
export { description_1 as description };
|
|
12
|
+
let defaultMessage_1: string;
|
|
13
|
+
export { defaultMessage_1 as defaultMessage };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export function convertEnumValues(value: any, attributeDefinition: any): any;
|
|
2
|
+
export function customFieldToAttribute(value: any, attributeDefinition: any): any;
|
|
3
|
+
export function attributeToCustomField(attributeValue: any, attributeDefinition: any): any;
|
|
4
|
+
export function attributeDefinitionToFieldDefinition(attributeDefinition: any): {
|
|
5
|
+
name: any;
|
|
6
|
+
label: any;
|
|
7
|
+
inputHint: any;
|
|
8
|
+
inputTip: any;
|
|
9
|
+
required: any;
|
|
10
|
+
type: any;
|
|
11
|
+
assignedAttributeGroups: any;
|
|
12
|
+
attributeConstraint: any;
|
|
13
|
+
};
|
|
14
|
+
export function nameValuePairsToMap(pairs: any): any;
|
|
15
|
+
export function attributesMapToNameValuePairs(map: any): {
|
|
16
|
+
name: string;
|
|
17
|
+
value: any;
|
|
18
|
+
}[];
|