@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
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { default as useTaxCategoriesPlatformLimitsFetcher } from "./use-tax-categories-platform-limits-fetcher/index.js";
|
|
2
|
+
export { default as useTaxCategoriesPlatformLimitsStatus } from "./use-tax-categories-platform-limits-status/index.js";
|
|
3
|
+
export { default as useTaxCategoriesPlatformLimits } from "./use-tax-categories-platform-limits/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./use-tax-categories-platform-limits.js";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export default useTaxCategoriesLimits;
|
|
2
|
+
declare function useTaxCategoriesLimits(): {
|
|
3
|
+
TaxCategoriesLimits: {
|
|
4
|
+
Notifications: {
|
|
5
|
+
(): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
Status: {
|
|
9
|
+
({ total }: {
|
|
10
|
+
total: any;
|
|
11
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
+
propTypes: {
|
|
13
|
+
total: any;
|
|
14
|
+
};
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
Tooltip: {
|
|
18
|
+
(props: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
refetchTaxCategoriesPlatformLimits: (variables?: Partial<{}> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
23
|
+
status: {
|
|
24
|
+
hasReachedTaxCategoriesWarningLimit: boolean;
|
|
25
|
+
hasReachedTaxCategoriesErrorLimit: boolean;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./use-tax-categories-platform-limits-fetcher.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export default useTaxCategoriesPlatformLimitsFetcher;
|
|
2
|
+
declare function useTaxCategoriesPlatformLimitsFetcher(): {
|
|
3
|
+
isLoading: boolean;
|
|
4
|
+
error: import("@apollo/client").ApolloError | undefined;
|
|
5
|
+
platformLimits: Pick<any, string | number | symbol>;
|
|
6
|
+
refetch: (variables?: Partial<{}> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./use-tax-categories-platform-limits-status.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as injectZonesPlatformLimits } from "./inject-zones-platform-limits/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./inject-zones-platform-limits.jsx";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { default as useZonesPlatformLimitsFetcher } from "./use-zones-platform-limits-fetcher/index.js";
|
|
2
|
+
export { default as useZonesPlatformLimitsStatus } from "./use-zones-platform-limits-status/index.js";
|
|
3
|
+
export { default as useZonesPlatformLimits } from "./use-zones-platform-limits/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./use-zones-platform-limits.js";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export default useZonesLimits;
|
|
2
|
+
declare function useZonesLimits(): {
|
|
3
|
+
ZonesLimits: {
|
|
4
|
+
Notifications: {
|
|
5
|
+
(): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
Status: {
|
|
9
|
+
({ total }: {
|
|
10
|
+
total: any;
|
|
11
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
+
propTypes: {
|
|
13
|
+
total: any;
|
|
14
|
+
};
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
Tooltip: {
|
|
18
|
+
(props: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
refetchZonesPlatformLimits: (variables?: Partial<{}> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
23
|
+
status: {
|
|
24
|
+
hasReachedZonesWarningLimit: boolean;
|
|
25
|
+
hasReachedZonesErrorLimit: boolean;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./use-zones-platform-limits-fetcher.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export default useZonesPlatformLimitsFetcher;
|
|
2
|
+
declare function useZonesPlatformLimitsFetcher(): {
|
|
3
|
+
isLoading: boolean;
|
|
4
|
+
error: import("@apollo/client").ApolloError | undefined;
|
|
5
|
+
platformLimits: Pick<any, string | number | symbol>;
|
|
6
|
+
refetch: (variables?: Partial<{}> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./use-zones-platform-limits-status.js";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export namespace valueMapping {
|
|
2
|
+
let yes: boolean;
|
|
3
|
+
let no: boolean;
|
|
4
|
+
let all: boolean[];
|
|
5
|
+
}
|
|
6
|
+
export function BooleanField({ isRequired, disabled, ...props }: {
|
|
7
|
+
[x: string]: any;
|
|
8
|
+
isRequired?: boolean | undefined;
|
|
9
|
+
disabled?: boolean | undefined;
|
|
10
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
|
+
export namespace BooleanField {
|
|
12
|
+
let displayName: string;
|
|
13
|
+
namespace propTypes {
|
|
14
|
+
let isMulti: any;
|
|
15
|
+
let isRequired: any;
|
|
16
|
+
let name: any;
|
|
17
|
+
let value: any;
|
|
18
|
+
let onChange: any;
|
|
19
|
+
let disabled: any;
|
|
20
|
+
let intl: any;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
declare const _default: import("react").FC<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<"intl">>> & {
|
|
24
|
+
WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<"intl">>;
|
|
25
|
+
};
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace yes {
|
|
3
|
+
let id: string;
|
|
4
|
+
let description: string;
|
|
5
|
+
let defaultMessage: string;
|
|
6
|
+
}
|
|
7
|
+
namespace no {
|
|
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,11 @@
|
|
|
1
|
+
export default MissingValueField;
|
|
2
|
+
declare function MissingValueField({ isChecked, ...props }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
isChecked?: boolean | undefined;
|
|
5
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare namespace MissingValueField {
|
|
7
|
+
namespace propTypes {
|
|
8
|
+
let isChecked: any;
|
|
9
|
+
let onChange: any;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const IS_MULTI_VALUE_FLAG: "?isMulti=true";
|
|
2
|
+
export default MultiValueSearchInput;
|
|
3
|
+
declare function MultiValueSearchInput(props: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare namespace MultiValueSearchInput {
|
|
5
|
+
let displayName: string;
|
|
6
|
+
namespace propTypes {
|
|
7
|
+
let tooltip: any;
|
|
8
|
+
let placeholder: any;
|
|
9
|
+
let isDisabled: any;
|
|
10
|
+
let onSubmit: any;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export class NumericFormatInput extends PureComponent<any, any, any> {
|
|
2
|
+
static displayName: string;
|
|
3
|
+
static propTypes: {
|
|
4
|
+
numberFormat: any;
|
|
5
|
+
className: any;
|
|
6
|
+
placeholder: any;
|
|
7
|
+
name: any;
|
|
8
|
+
value: (props: any, propName: any, componentName: any) => Error | undefined;
|
|
9
|
+
onChangeValue: any;
|
|
10
|
+
onBlurValue: any;
|
|
11
|
+
onFocus: any;
|
|
12
|
+
onInvalidValue: any;
|
|
13
|
+
isValid: any;
|
|
14
|
+
numeralDecimalScale: any;
|
|
15
|
+
formatNumber: any;
|
|
16
|
+
parseNumber: any;
|
|
17
|
+
disabled: any;
|
|
18
|
+
};
|
|
19
|
+
static defaultProps: {
|
|
20
|
+
numberFormatType: string;
|
|
21
|
+
isValid: boolean;
|
|
22
|
+
numeralDecimalScale: number;
|
|
23
|
+
formatNumber: (number: any) => any;
|
|
24
|
+
parseNumber: (number: any) => number | undefined;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
};
|
|
27
|
+
constructor(props: any);
|
|
28
|
+
constructor(props: any, context: any);
|
|
29
|
+
state: {
|
|
30
|
+
parsedValue: any;
|
|
31
|
+
};
|
|
32
|
+
componentDidUpdate(prevProps: any): void;
|
|
33
|
+
setValue: (value: any) => void;
|
|
34
|
+
handleInit: (owner: any) => void;
|
|
35
|
+
owner: any;
|
|
36
|
+
handleChange: (event: any) => void;
|
|
37
|
+
handleBlur: () => void;
|
|
38
|
+
registerInputRef: (ref: any) => void;
|
|
39
|
+
textInput: any;
|
|
40
|
+
render(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
41
|
+
}
|
|
42
|
+
export function withPropsForMoney(ownProps: any): {
|
|
43
|
+
value: any;
|
|
44
|
+
formatNumber: (number: any) => any;
|
|
45
|
+
onChangeValue: (value: any) => void;
|
|
46
|
+
numeralDecimalScale: number;
|
|
47
|
+
} | {
|
|
48
|
+
value?: undefined;
|
|
49
|
+
formatNumber?: undefined;
|
|
50
|
+
onChangeValue?: undefined;
|
|
51
|
+
numeralDecimalScale?: undefined;
|
|
52
|
+
};
|
|
53
|
+
declare const _default: {
|
|
54
|
+
(ownProps: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
55
|
+
displayName: string;
|
|
56
|
+
};
|
|
57
|
+
export default _default;
|
|
58
|
+
import { PureComponent } from 'react';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace buttonLabel {
|
|
3
|
+
let id: string;
|
|
4
|
+
let description: string;
|
|
5
|
+
let defaultMessage: string;
|
|
6
|
+
}
|
|
7
|
+
namespace placeholder {
|
|
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,55 @@
|
|
|
1
|
+
export class SearchInput extends Component<any, any, any> {
|
|
2
|
+
static displayName: string;
|
|
3
|
+
static propTypes: {
|
|
4
|
+
initialValue: any;
|
|
5
|
+
onSubmit: any;
|
|
6
|
+
onReset: any;
|
|
7
|
+
onBlur: any;
|
|
8
|
+
shouldSubmitOnInputChange: any;
|
|
9
|
+
placeholder: any;
|
|
10
|
+
blockClassName: any;
|
|
11
|
+
containerClassName: any;
|
|
12
|
+
throttleMS: any;
|
|
13
|
+
onChange: any;
|
|
14
|
+
disabled: any;
|
|
15
|
+
enableDisabledStyle: any;
|
|
16
|
+
isGranular: any;
|
|
17
|
+
shouldClearOnSubmit: any;
|
|
18
|
+
inputRef: any;
|
|
19
|
+
iconColor: any;
|
|
20
|
+
testId: any;
|
|
21
|
+
label: any;
|
|
22
|
+
searchMode: any;
|
|
23
|
+
intl: any;
|
|
24
|
+
handleMouseOver: any;
|
|
25
|
+
handleMouseOut: any;
|
|
26
|
+
isMouseOver: any;
|
|
27
|
+
};
|
|
28
|
+
static defaultProps: {
|
|
29
|
+
throttleMS: number;
|
|
30
|
+
onReset: () => null;
|
|
31
|
+
label: string;
|
|
32
|
+
onChange: () => null;
|
|
33
|
+
};
|
|
34
|
+
static getDerivedStateFromProps(nextProps: any, prevState: any): {
|
|
35
|
+
initialValue: any;
|
|
36
|
+
text: any;
|
|
37
|
+
} | null;
|
|
38
|
+
constructor(props: any);
|
|
39
|
+
constructor(props: any, context: any);
|
|
40
|
+
state: {
|
|
41
|
+
initialValue: any;
|
|
42
|
+
text: any;
|
|
43
|
+
};
|
|
44
|
+
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
45
|
+
handleInputChange: (event: any) => void;
|
|
46
|
+
handleEnter: (value: any) => void;
|
|
47
|
+
handleSubmit: () => void;
|
|
48
|
+
handleClear: () => void;
|
|
49
|
+
setInputRef: (inputRef: any) => void;
|
|
50
|
+
inputRef: any;
|
|
51
|
+
render(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
52
|
+
}
|
|
53
|
+
declare const _default: any;
|
|
54
|
+
export default _default;
|
|
55
|
+
import { Component } from 'react';
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export default ThrottledField;
|
|
2
|
+
declare class ThrottledField extends PureComponent<any, any, any> {
|
|
3
|
+
static displayName: string;
|
|
4
|
+
static propTypes: {
|
|
5
|
+
autoComplete: any;
|
|
6
|
+
onChange: any;
|
|
7
|
+
onBlurValue: any;
|
|
8
|
+
onEnter: any;
|
|
9
|
+
value: any;
|
|
10
|
+
throttleMS: any;
|
|
11
|
+
isValid: any;
|
|
12
|
+
isGranular: any;
|
|
13
|
+
as: any;
|
|
14
|
+
style: any;
|
|
15
|
+
disabled: any;
|
|
16
|
+
name: any;
|
|
17
|
+
label: any;
|
|
18
|
+
placeholder: any;
|
|
19
|
+
autoSize: any;
|
|
20
|
+
autoFocus: any;
|
|
21
|
+
inputRef: any;
|
|
22
|
+
};
|
|
23
|
+
static defaultProps: {
|
|
24
|
+
as: string;
|
|
25
|
+
style: string;
|
|
26
|
+
throttleMS: number;
|
|
27
|
+
isValid: boolean;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
autoSize: boolean;
|
|
30
|
+
autoFocus: boolean;
|
|
31
|
+
label: string;
|
|
32
|
+
};
|
|
33
|
+
static getDerivedStateFromProps(nextProps: any, prevState: any): {
|
|
34
|
+
draftValue: any;
|
|
35
|
+
prevValue: any;
|
|
36
|
+
} | null;
|
|
37
|
+
constructor(props: any);
|
|
38
|
+
constructor(props: any, context: any);
|
|
39
|
+
state: {
|
|
40
|
+
draftValue: string;
|
|
41
|
+
prevValue: string;
|
|
42
|
+
};
|
|
43
|
+
componentWillUnmount(): void;
|
|
44
|
+
clearPendingUpdates: () => void;
|
|
45
|
+
changeTimeout: any;
|
|
46
|
+
blurTimeout: any;
|
|
47
|
+
handleChange: (event: any) => void;
|
|
48
|
+
handleEnter: (event: any) => void;
|
|
49
|
+
handleBlur: (event: any) => void;
|
|
50
|
+
doDelayedUpdate: (updateFunction: any, event: any, eventType: any) => void;
|
|
51
|
+
render(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
52
|
+
}
|
|
53
|
+
import { PureComponent } from 'react';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as injectDataTablePaginationState } from "./inject-data-table-pagination-state/index.js";
|
|
2
|
+
export { default as injectNotifications } from "./inject-notifications/index.js";
|
|
3
|
+
export { default as wrapDisplayName } from "./wrap-display-name/index.js";
|
|
4
|
+
export { default as withProps } from "./with-props/index.js";
|
|
5
|
+
export { default as withRedirectTo } from "./with-redirect-to/index.js";
|
|
6
|
+
export { default as injectModalState } from "./inject-modal-state/index.js";
|
|
7
|
+
export { default as injectToggleState } from "./inject-toggle-state/index.js";
|
|
8
|
+
export { default as injectStorage } from "./inject-storage/index.js";
|
|
9
|
+
export { getDisplayName, setDisplayName } from "./utils/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./inject-data-table-pagination-state.jsx";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default injectDataTablePaginationState;
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @param { page, perPage, tableSorting: { key, order } } initialValues
|
|
5
|
+
* @returns
|
|
6
|
+
*/
|
|
7
|
+
declare function injectDataTablePaginationState(initialValues: any): (Component: any) => {
|
|
8
|
+
(props: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./inject-modal-state.jsx";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./inject-notifications.jsx";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./inject-storage.jsx";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./inject-toggle-state.jsx";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./get-display-name.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./set-display-name.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./with-props.jsx";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./with-redirect-to.jsx";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./wrap-display-name.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { default as useFormatLocalizedFieldToString } from "./use-format-localized-field-to-string/index.js";
|
|
2
|
+
export { default as useIsFieldDuplicated } from "./use-is-field-duplicated/index.js";
|
|
3
|
+
export { default as usePrevious } from "./use-previous/index.js";
|
|
4
|
+
export { default as useStorage, type UseStorageOptions } from "./use-storage/index.js";
|
|
5
|
+
export { default as useStoresListFetcher } from "./use-stores-list-fetcher/index.js";
|
|
6
|
+
export { default as useStoreKeysInDataFences } from "./use-store-keys-in-data-fence/index.js";
|
|
7
|
+
export { default as useDidFormValidationFail } from "./use-did-form-validation-fail/index.js";
|
|
8
|
+
export { default as usePersistedReminder } from "./use-persisted-reminder/index.js";
|
|
9
|
+
export { default as useRoleNotificationEffect } from "./use-role-notification-effect/index.js";
|
|
10
|
+
export { default as useRoleNotification } from "./use-role-notification/index.js";
|
|
11
|
+
export { default as usePendingRequests } from "./use-pending-requests/index.js";
|
|
12
|
+
export { default as useEventCallback } from "./use-event-callback/index.js";
|
|
13
|
+
export { default as useLocalizedKeyFallback } from "./use-localized-key-fallback/index.js";
|
|
14
|
+
export { default as useDebouncedPromiseCallback } from "./use-debounced-promise-callback.js";
|
|
15
|
+
export { default as usePersistedTableConfiguration } from "./use-persisted-table-configuration/index.js";
|
|
16
|
+
export { default as useProductSelectionsTotalFetcher } from "./use-product-selections-total-fetcher/index.js";
|
|
17
|
+
export { default as useProductSelectionsFetcher } from "./use-product-selections-fetcher/index.js";
|
|
18
|
+
export { useFormatLocalizedString } from "./use-format-localized-string/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./use-did-form-validation-fail.js";
|
package/dist/declarations/src/hooks/use-did-form-validation-fail/use-did-form-validation-fail.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useDidFormValidationFail(): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./use-event-callback.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./use-format-localized-field-to-string.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LocalizedField } from '@commercetools-frontend/l10n/dist/declarations/src/types';
|
|
2
|
+
/**
|
|
3
|
+
* @returns function with the following parameters
|
|
4
|
+
* - {LocalizedStrings} localizedStrings - an array of graphql LocalizedString,
|
|
5
|
+
* with [{ locale: 'en', value: 'Hello' }] form. This corresponds to graphql
|
|
6
|
+
* *AllLocales fields.
|
|
7
|
+
* - {string} fallback - fallback value when localizedStrings were not
|
|
8
|
+
* provided or empty
|
|
9
|
+
*/
|
|
10
|
+
declare function useFormatLocalizedFieldToString(): (localizedField?: LocalizedField[] | null, fallback?: string) => string;
|
|
11
|
+
export default useFormatLocalizedFieldToString;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useFormatLocalizedString } from "./use-format-localized-string.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, MC_RESOURCES_WITH_KEYS } from "./use-is-field-duplicated.js";
|