@commercetools-frontend-extensions/change-history 8.24.0 → 8.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/commercetools-frontend-extensions-change-history.cjs.d.ts +2 -0
  2. package/dist/commercetools-frontend-extensions-change-history.cjs.dev.js +9107 -9027
  3. package/dist/commercetools-frontend-extensions-change-history.cjs.prod.js +8083 -7936
  4. package/dist/commercetools-frontend-extensions-change-history.esm.js +20410 -20330
  5. package/dist/declarations/src/components/change-history/change-history.d.ts +5 -0
  6. package/dist/declarations/src/components/change-history/index.d.ts +1 -0
  7. package/dist/declarations/src/components/change-history-link/change-history-link.d.ts +9 -0
  8. package/dist/declarations/src/components/change-history-link/index.d.ts +1 -0
  9. package/dist/declarations/src/constants/resource-types.d.ts +87 -0
  10. package/dist/declarations/src/feature-toggles.d.ts +6 -0
  11. package/dist/declarations/src/i18n/index.d.ts +3 -0
  12. package/dist/declarations/src/i18n/load-i18n.d.ts +7301 -0
  13. package/dist/declarations/src/i18n/use-async-intl-messages.d.ts +6 -0
  14. package/dist/declarations/src/index.d.ts +25 -0
  15. package/dist/declarations/src/resources/associate-role/associate-role-tab.d.ts +5 -0
  16. package/dist/declarations/src/resources/business-unit/business-unit-tab.d.ts +5 -0
  17. package/dist/declarations/src/resources/category/category-tab.d.ts +5 -0
  18. package/dist/declarations/src/resources/channel/channel-tab.d.ts +5 -0
  19. package/dist/declarations/src/resources/customer/customer-group/customer-group-tab.d.ts +5 -0
  20. package/dist/declarations/src/resources/customer/customer-tab.d.ts +5 -0
  21. package/dist/declarations/src/resources/discounts/cart-discount/cart-discount-tab.d.ts +5 -0
  22. package/dist/declarations/src/resources/discounts/discount-code/discount-code-tab.d.ts +5 -0
  23. package/dist/declarations/src/resources/discounts/product-discount/product-discount-tab.d.ts +5 -0
  24. package/dist/declarations/src/resources/order/order-tab.d.ts +5 -0
  25. package/dist/declarations/src/resources/product/product-tab.d.ts +5 -0
  26. package/dist/declarations/src/resources/product-selection/product-selection-tab.d.ts +5 -0
  27. package/dist/declarations/src/resources/product-type/product-type-tab.d.ts +5 -0
  28. package/dist/declarations/src/resources/quotes/quote/quote-tab.d.ts +5 -0
  29. package/dist/declarations/src/resources/quotes/quote-request/quote-request-tab.d.ts +5 -0
  30. package/dist/declarations/src/resources/quotes/staged-quote/staged-quote-tab.d.ts +5 -0
  31. package/dist/declarations/src/resources/store/store-tab.d.ts +5 -0
  32. package/dist/declarations/src/resources/tax-category/tax-category-tab.d.ts +5 -0
  33. package/dist/declarations/src/resources/zone/zone-tab.d.ts +5 -0
  34. package/dist/declarations/src/types/common-types.d.ts +11 -0
  35. package/dist/declarations/src/version.d.ts +2 -0
  36. package/dist/declarations/types/src/generated/change-history.d.ts +8276 -0
  37. package/package.json +28 -23
@@ -0,0 +1,5 @@
1
+ export default ChangeHistoryRoutes;
2
+ declare function ChangeHistoryRoutes(): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
3
+ declare namespace ChangeHistoryRoutes {
4
+ let displayName: string;
5
+ }
@@ -0,0 +1 @@
1
+ export { default } from "./change-history.js";
@@ -0,0 +1,9 @@
1
+ export default ChangeHistoryLink;
2
+ declare function ChangeHistoryLink(props: any): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
3
+ declare namespace ChangeHistoryLink {
4
+ let displayName: string;
5
+ namespace propTypes {
6
+ let to: any;
7
+ let resource: any;
8
+ }
9
+ }
@@ -0,0 +1 @@
1
+ export { default } from "./change-history-link.js";
@@ -0,0 +1,87 @@
1
+ import { ValueOf } from "../types/common-types.js";
2
+ export declare const RESOURCE_TYPE: {
3
+ readonly ASSOCIATE_ROLE: "AssociateRole";
4
+ readonly BUSINESS_UNIT: "BusinessUnit";
5
+ readonly CART: "Cart";
6
+ readonly CART_DISCOUNT: "CartDiscount";
7
+ readonly CATEGORY: "Category";
8
+ readonly CHANNEL: "Channel";
9
+ readonly CUSTOMER: "Customer";
10
+ readonly CUSTOMER_GROUP: "CustomerGroup";
11
+ readonly CUSTOM_OBJECT: "CustomObject";
12
+ readonly DISCOUNT_CODE: "DiscountCode";
13
+ readonly EXTENSION: "Extension";
14
+ readonly INVENTORY_ENTRY: "InventoryEntry";
15
+ readonly ORDER: "Order";
16
+ readonly PAYMENT: "Payment";
17
+ readonly PRODUCT: "Product";
18
+ readonly PRODUCT_DISCOUNT: "ProductDiscount";
19
+ readonly PRODUCT_SELECTION: "ProductSelection";
20
+ readonly PRODUCT_TYPE: "ProductType";
21
+ readonly QUOTE: "Quote";
22
+ readonly QUOTE_REQUEST: "QuoteRequest";
23
+ readonly REVIEW: "Review";
24
+ readonly SHOPPING_LIST: "ShoppingList";
25
+ readonly STATE: "State";
26
+ readonly STAGED_QUOTE: "StagedQuote";
27
+ readonly STORE: "Store";
28
+ readonly SUBSCRIPTION: "Subscription";
29
+ readonly TAX_CATEGORY: "TaxCategory";
30
+ readonly TYPE: "Type";
31
+ readonly ZONE: "Zone";
32
+ };
33
+ export type TResourceType = ValueOf<typeof RESOURCE_TYPE>;
34
+ export type TResourceTypeKey = keyof typeof RESOURCE_TYPE;
35
+ export declare const RESOURCE_TYPE_NAME: {
36
+ readonly ASSOCIATE_ROLE: "associate-role";
37
+ readonly BUSINESS_UNIT: "business-unit";
38
+ readonly CART_DISCOUNT: "cart-discount";
39
+ readonly CATEGORY: "category";
40
+ readonly CHANNEL: "channel";
41
+ readonly CUSTOMER: "customer";
42
+ readonly CUSTOMER_GROUP: "customer-group";
43
+ readonly CUSTOM_OBJECT: "key-value-document";
44
+ readonly DISCOUNT_CODE: "discount-code";
45
+ readonly EXTENSION: "extension";
46
+ readonly INVENTORY_ENTRY: "inventory-entry";
47
+ readonly ORDER: "order";
48
+ readonly PAYMENT: "payment";
49
+ readonly PRODUCT: "product";
50
+ readonly PRODUCT_DISCOUNT: "product-discount";
51
+ readonly PRODUCT_SELECTION: "product-selection";
52
+ readonly PRODUCT_TYPE: "product-type";
53
+ readonly QUOTE: "quote";
54
+ readonly QUOTE_REQUEST: "quote-request";
55
+ readonly REVIEW: "review";
56
+ readonly SHOPPING_LIST: "shopping-list";
57
+ readonly STATE: "state";
58
+ readonly STAGED_QUOTE: "staged-quote";
59
+ readonly STORE: "store";
60
+ readonly SUBSCRIPTION: "subscription";
61
+ readonly TAX_CATEGORY: "tax-category";
62
+ readonly TYPE: "type";
63
+ readonly ZONE: "zone";
64
+ };
65
+ export type TResourceTypeName = ValueOf<typeof RESOURCE_TYPE_NAME>;
66
+ export declare const RESOURCE_MODAL_TYPES: {
67
+ readonly ASSOCIATE_ROLE: "AssociateRole";
68
+ readonly BUSINESS_UNIT: "BusinessUnit";
69
+ readonly CART_DISCOUNT: "CartDiscount";
70
+ readonly CATEGORY: "Category";
71
+ readonly CHANNEL: "Channel";
72
+ readonly CUSTOMER: "Customer";
73
+ readonly CUSTOMER_GROUP: "CustomerGroup";
74
+ readonly DISCOUNT_CODE: "DiscountCode";
75
+ readonly ORDER: "Order";
76
+ readonly PRODUCT: "Product";
77
+ readonly PRODUCT_DISCOUNT: "ProductDiscount";
78
+ readonly PRODUCT_SELECTION: "ProductSelection";
79
+ readonly PRODUCT_TYPE: "ProductType";
80
+ readonly QUOTE: "Quote";
81
+ readonly QUOTE_REQUEST: "QuoteRequest";
82
+ readonly STAGED_QUOTE: "StagedQuote";
83
+ readonly STORE: "Store";
84
+ readonly TAX_CATEGORY: "TaxCategory";
85
+ readonly ZONE: "Zone";
86
+ };
87
+ export type TResourceModalType = ValueOf<typeof RESOURCE_MODAL_TYPES>;
@@ -0,0 +1,6 @@
1
+ export const AL_LAYOUT_REDESIGN: "alLayoutRedesign";
2
+ export const AL_FILTER_REDESIGN: "alFilterRedesign";
3
+ export namespace FLAGS {
4
+ let alLayoutRedesign: boolean;
5
+ let alFilterRedesign: boolean;
6
+ }
@@ -0,0 +1,3 @@
1
+ export { loadI18n, loadMessages } from "./load-i18n.js";
2
+ export { default as useAsyncIntlMessages } from "./use-async-intl-messages.js";
3
+ export { mapLocaleToIntlLocale } from '@commercetools-frontend/i18n';