@dropins/storefront-purchase-order 1.2.0 → 1.2.1-beta.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 (232) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/api/addPurchaseOrderComment/addPurchaseOrderComment.d.ts +16 -2
  3. package/api/addPurchaseOrderComment/graphql/addPurchaseOrderComment.graphql.d.ts +0 -1
  4. package/api/addPurchaseOrderComment/index.d.ts +0 -1
  5. package/api/addPurchaseOrderItemsToCart/addPurchaseOrderItemsToCart.d.ts +16 -2
  6. package/api/addPurchaseOrderItemsToCart/graphql/addPurchaseOrderItemsToCart.graphql.d.ts +0 -1
  7. package/api/addPurchaseOrderItemsToCart/index.d.ts +0 -1
  8. package/api/approvePurchaseOrders/approvePurchaseOrders.d.ts +0 -2
  9. package/api/approvePurchaseOrders/graphql/approvePurchaseOrders.graphql.d.ts +1 -2
  10. package/api/approvePurchaseOrders/index.d.ts +0 -1
  11. package/api/cancelPurchaseOrders/cancelPurchaseOrders.d.ts +0 -2
  12. package/api/cancelPurchaseOrders/graphql/cancelPurchaseOrders.graphql.d.ts +1 -2
  13. package/api/cancelPurchaseOrders/index.d.ts +0 -1
  14. package/api/createPurchaseOrderApprovalRule/createPurchaseOrderApprovalRule.d.ts +0 -2
  15. package/api/createPurchaseOrderApprovalRule/graphql/createPurchaseOrderApprovalRule.graphql.d.ts +0 -1
  16. package/api/createPurchaseOrderApprovalRule/index.d.ts +0 -1
  17. package/api/currencyInfo/currencyInfo.d.ts +0 -1
  18. package/api/currencyInfo/graphql/currencyInfo.graphql.d.ts +0 -1
  19. package/api/currencyInfo/index.d.ts +0 -1
  20. package/api/deletePurchaseOrderApprovalRule/deletePurchaseOrderApprovalRule.d.ts +0 -1
  21. package/api/deletePurchaseOrderApprovalRule/graphql/deletePurchaseOrderApprovalRule.graphql.d.ts +0 -1
  22. package/api/deletePurchaseOrderApprovalRule/index.d.ts +0 -1
  23. package/api/fetch-graphql/fetch-graphql.d.ts +3 -4
  24. package/api/fetch-graphql/index.d.ts +0 -1
  25. package/api/fragments.d.ts +0 -1
  26. package/api/getPurchaseOrder/getPurchaseOrder.d.ts +16 -2
  27. package/api/getPurchaseOrder/graphql/getPurchaseOrder.graphql.d.ts +1 -2
  28. package/api/getPurchaseOrder/index.d.ts +0 -1
  29. package/api/getPurchaseOrderApprovalRule/getPurchaseOrderApprovalRule.d.ts +16 -2
  30. package/api/getPurchaseOrderApprovalRule/graphql/getPurchaseOrderApprovalRule.graphql.d.ts +0 -1
  31. package/api/getPurchaseOrderApprovalRule/index.d.ts +0 -1
  32. package/api/getPurchaseOrderApprovalRuleMetadata/getPurchaseOrderApprovalRuleMetadata.d.ts +16 -2
  33. package/api/getPurchaseOrderApprovalRuleMetadata/graphql/getPurchaseOrderApprovalRuleMetadata.graphql.d.ts +0 -1
  34. package/api/getPurchaseOrderApprovalRuleMetadata/index.d.ts +0 -1
  35. package/api/getPurchaseOrderApprovalRules/getPurchaseOrderApprovalRules.d.ts +16 -2
  36. package/api/getPurchaseOrderApprovalRules/graphql/getPurchaseOrderApprovalRules.graphql.d.ts +0 -1
  37. package/api/getPurchaseOrderApprovalRules/index.d.ts +0 -1
  38. package/api/getPurchaseOrders/getPurchaseOrders.d.ts +16 -2
  39. package/api/getPurchaseOrders/graphql/getPurchaseOrders.graphql.d.ts +1 -2
  40. package/api/getPurchaseOrders/index.d.ts +0 -1
  41. package/api/graphql/PurchaseOrderQuoteFragment.d.ts +0 -1
  42. package/api/graphql/PurchaseOrdersFragment.graphql.d.ts +1 -2
  43. package/api/index.d.ts +0 -1
  44. package/api/initialize/index.d.ts +0 -1
  45. package/api/initialize/initialize.d.ts +19 -5
  46. package/api/permissions.d.ts +0 -1
  47. package/api/placeOrderForPurchaseOrder/graphql/placeOrderForPurchaseOrder.graphql.d.ts +0 -1
  48. package/api/placeOrderForPurchaseOrder/index.d.ts +0 -1
  49. package/api/placeOrderForPurchaseOrder/placeOrderForPurchaseOrder.d.ts +16 -2
  50. package/api/placePurchaseOrder/graphql/placePurchaseOrder.graphql.d.ts +1 -2
  51. package/api/placePurchaseOrder/index.d.ts +0 -1
  52. package/api/placePurchaseOrder/placePurchaseOrder.d.ts +16 -2
  53. package/api/rejectPurchaseOrders/graphql/rejectPurchaseOrders.graphql.d.ts +1 -2
  54. package/api/rejectPurchaseOrders/index.d.ts +0 -1
  55. package/api/rejectPurchaseOrders/rejectPurchaseOrders.d.ts +0 -2
  56. package/api/updatePurchaseOrderApprovalRule/graphql/updatePurchaseOrderApprovalRule.graphql.d.ts +0 -1
  57. package/api/updatePurchaseOrderApprovalRule/index.d.ts +0 -1
  58. package/api/updatePurchaseOrderApprovalRule/updatePurchaseOrderApprovalRule.d.ts +0 -2
  59. package/api/validatePurchaseOrders/graphql/validatePurchaseOrders.graphql.d.ts +1 -2
  60. package/api/validatePurchaseOrders/index.d.ts +0 -1
  61. package/api/validatePurchaseOrders/validatePurchaseOrders.d.ts +0 -2
  62. package/api.d.ts +1 -1
  63. package/api.js +12 -12
  64. package/api.js.map +1 -1
  65. package/chunks/components.js +1 -1
  66. package/chunks/components.js.map +1 -1
  67. package/components/ApprovalRuleDetailsContent/ApprovalRuleDetailsContent.d.ts +16 -2
  68. package/components/ApprovalRuleDetailsContent/index.d.ts +0 -1
  69. package/components/ApprovalRuleForm/ApprovalRuleForm.d.ts +16 -2
  70. package/components/ApprovalRuleForm/blocks/ErrorMessage.d.ts +16 -2
  71. package/components/ApprovalRuleForm/blocks/Form.d.ts +18 -4
  72. package/components/ApprovalRuleForm/blocks/index.d.ts +0 -1
  73. package/components/ApprovalRuleForm/index.d.ts +0 -1
  74. package/components/FormLoader/FormLoader.d.ts +16 -2
  75. package/components/FormLoader/index.d.ts +0 -1
  76. package/components/PurchaseOrderApprovalFlowContent/PurchaseOrderApprovalFlowContent.d.ts +16 -2
  77. package/components/PurchaseOrderApprovalFlowContent/index.d.ts +0 -1
  78. package/components/PurchaseOrderCommentFormContent/PurchaseOrderCommentFormContent.d.ts +16 -2
  79. package/components/PurchaseOrderCommentFormContent/index.d.ts +0 -1
  80. package/components/PurchaseOrderCommentsListContent/PurchaseOrderCommentsListContent.d.ts +16 -2
  81. package/components/PurchaseOrderCommentsListContent/index.d.ts +0 -1
  82. package/components/PurchaseOrderConfirmationContent/PurchaseOrderConfirmationContent.d.ts +16 -2
  83. package/components/PurchaseOrderConfirmationContent/index.d.ts +0 -1
  84. package/components/PurchaseOrderHistoryLogContent/PurchaseOrderHistoryLogContent.d.ts +16 -2
  85. package/components/PurchaseOrderHistoryLogContent/index.d.ts +0 -1
  86. package/components/PurchaseOrderStatusContent/PurchaseOrderStatusContent.d.ts +16 -2
  87. package/components/PurchaseOrderStatusContent/index.d.ts +0 -1
  88. package/components/PurchaseOrdersHeader/PurchaseOrdersHeader.d.ts +16 -2
  89. package/components/PurchaseOrdersHeader/index.d.ts +0 -1
  90. package/components/PurchaseOrdersTable/PurchaseOrdersTable.d.ts +16 -2
  91. package/components/PurchaseOrdersTable/index.d.ts +0 -1
  92. package/components/PurchaseOrdersTableActions/PurchaseOrdersTableActions.d.ts +16 -2
  93. package/components/PurchaseOrdersTableActions/index.d.ts +0 -1
  94. package/components/index.d.ts +0 -1
  95. package/configs/approvalRuleForm.config.d.ts +19 -5
  96. package/configs/companyPurchaseOrders.config.d.ts +16 -2
  97. package/configs/customerPurchaseOrders.config.d.ts +16 -2
  98. package/configs/index.d.ts +0 -1
  99. package/configs/pageSize.config.d.ts +0 -1
  100. package/configs/purchaseOrderApprovalRules.config.d.ts +16 -2
  101. package/containers/ApprovalRuleDetails/ApprovalRuleDetails.d.ts +17 -3
  102. package/containers/ApprovalRuleDetails/index.d.ts +0 -1
  103. package/containers/ApprovalRuleDetails.d.ts +1 -3
  104. package/containers/ApprovalRuleDetails.js +1 -1
  105. package/containers/ApprovalRuleForm/ApprovalRuleForm.d.ts +17 -3
  106. package/containers/ApprovalRuleForm/index.d.ts +0 -1
  107. package/containers/ApprovalRuleForm.d.ts +1 -3
  108. package/containers/ApprovalRuleForm.js +1 -1
  109. package/containers/ApprovalRulesList/ApprovalRulesList.d.ts +17 -3
  110. package/containers/ApprovalRulesList/index.d.ts +0 -1
  111. package/containers/ApprovalRulesList.d.ts +1 -3
  112. package/containers/ApprovalRulesList.js +1 -1
  113. package/containers/CompanyPurchaseOrders/CompanyPurchaseOrders.d.ts +17 -3
  114. package/containers/CompanyPurchaseOrders/index.d.ts +0 -1
  115. package/containers/CompanyPurchaseOrders.d.ts +1 -3
  116. package/containers/CompanyPurchaseOrders.js +1 -1
  117. package/containers/CustomerPurchaseOrders/CustomerPurchaseOrders.d.ts +17 -3
  118. package/containers/CustomerPurchaseOrders/index.d.ts +0 -1
  119. package/containers/CustomerPurchaseOrders.d.ts +1 -3
  120. package/containers/CustomerPurchaseOrders.js +1 -1
  121. package/containers/PurchaseOrderApprovalFlow/PurchaseOrderApprovalFlow.d.ts +17 -3
  122. package/containers/PurchaseOrderApprovalFlow/index.d.ts +0 -1
  123. package/containers/PurchaseOrderApprovalFlow.d.ts +1 -3
  124. package/containers/PurchaseOrderApprovalFlow.js +1 -1
  125. package/containers/PurchaseOrderCommentForm/PurchaseOrderCommentForm.d.ts +17 -3
  126. package/containers/PurchaseOrderCommentForm/index.d.ts +0 -1
  127. package/containers/PurchaseOrderCommentForm.d.ts +1 -3
  128. package/containers/PurchaseOrderCommentForm.js +1 -1
  129. package/containers/PurchaseOrderCommentsList/PurchaseOrderCommentsList.d.ts +17 -3
  130. package/containers/PurchaseOrderCommentsList/index.d.ts +0 -1
  131. package/containers/PurchaseOrderCommentsList.d.ts +1 -3
  132. package/containers/PurchaseOrderCommentsList.js +1 -1
  133. package/containers/PurchaseOrderConfirmation/PurchaseOrderConfirmation.d.ts +17 -3
  134. package/containers/PurchaseOrderConfirmation/index.d.ts +0 -1
  135. package/containers/PurchaseOrderConfirmation.d.ts +1 -3
  136. package/containers/PurchaseOrderConfirmation.js +1 -1
  137. package/containers/PurchaseOrderHistoryLog/PurchaseOrderHistoryLog.d.ts +17 -3
  138. package/containers/PurchaseOrderHistoryLog/index.d.ts +0 -1
  139. package/containers/PurchaseOrderHistoryLog.d.ts +1 -3
  140. package/containers/PurchaseOrderHistoryLog.js +1 -1
  141. package/containers/PurchaseOrderStatus/PurchaseOrderStatus.d.ts +17 -3
  142. package/containers/PurchaseOrderStatus/index.d.ts +0 -1
  143. package/containers/PurchaseOrderStatus.d.ts +1 -3
  144. package/containers/PurchaseOrderStatus.js +1 -1
  145. package/containers/RequireApprovalPurchaseOrders/RequireApprovalPurchaseOrders.d.ts +17 -3
  146. package/containers/RequireApprovalPurchaseOrders/index.d.ts +0 -1
  147. package/containers/RequireApprovalPurchaseOrders.d.ts +1 -3
  148. package/containers/RequireApprovalPurchaseOrders.js +1 -1
  149. package/containers/index.d.ts +0 -1
  150. package/data/models/cart-model.d.ts +0 -1
  151. package/data/models/customer-order-model.d.ts +0 -1
  152. package/data/models/customer-role-permissions-model.d.ts +0 -1
  153. package/data/models/index.d.ts +0 -1
  154. package/data/models/purchase-order-approval-rule-metadata-model.d.ts +0 -1
  155. package/data/models/purchase-order-approval-rule-model.d.ts +0 -1
  156. package/data/models/purchase-order-comment-model.d.ts +0 -1
  157. package/data/models/purchase-order-model.d.ts +0 -1
  158. package/data/transforms/index.d.ts +0 -1
  159. package/data/transforms/transform-cart.d.ts +16 -2
  160. package/data/transforms/transform-customer-order.d.ts +16 -2
  161. package/data/transforms/transform-customer-role-permissions.d.ts +16 -2
  162. package/data/transforms/transform-purchase-order-approval-rule-metadata.d.ts +16 -2
  163. package/data/transforms/transform-purchase-order-approval-rule.d.ts +16 -2
  164. package/data/transforms/transform-purchase-order-comment.d.ts +16 -2
  165. package/data/transforms/transform-purchase-order.d.ts +16 -2
  166. package/hooks/index.d.ts +0 -1
  167. package/hooks/useApprovalRuleDetails.d.ts +16 -2
  168. package/hooks/useApprovalRuleForm.d.ts +16 -2
  169. package/hooks/useApprovalRulesList.d.ts +16 -2
  170. package/hooks/useCustomerRolePermissions.d.ts +16 -2
  171. package/hooks/usePurchaseOrderData.d.ts +16 -2
  172. package/hooks/usePurchaseOrderStatus.d.ts +16 -2
  173. package/hooks/usePurchaseOrders.d.ts +16 -2
  174. package/lib/case-converter.d.ts +0 -1
  175. package/lib/cleanAndDeep.d.ts +0 -1
  176. package/lib/fetch-error.d.ts +0 -1
  177. package/lib/formValidation.d.ts +16 -2
  178. package/lib/formatDate.d.ts +0 -1
  179. package/lib/getRange.d.ts +0 -1
  180. package/lib/getStatusVariant.d.ts +0 -1
  181. package/lib/index.d.ts +1 -1
  182. package/lib/isValidUrl.d.ts +0 -1
  183. package/lib/navigation.d.ts +1 -0
  184. package/lib/network-error.d.ts +0 -1
  185. package/lib/transformToFormValues.d.ts +16 -2
  186. package/lib/updateFormFieldValue.d.ts +16 -2
  187. package/mocks/index.d.ts +2 -3
  188. package/mocks/storybook/approval-rules.d.ts +18 -0
  189. package/mocks/storybook/events-data.d.ts +6 -2
  190. package/mocks/storybook/index.d.ts +0 -1
  191. package/mocks/storybook/purchase-orders.d.ts +179 -0
  192. package/package.json +1 -1
  193. package/render/Provider.d.ts +16 -2
  194. package/render/index.d.ts +0 -1
  195. package/render/render.d.ts +17 -3
  196. package/render.d.ts +1 -1
  197. package/types/api/api.enums.types.d.ts +0 -1
  198. package/types/api/index.d.ts +0 -1
  199. package/types/components/approvalFlowContent.types.d.ts +0 -2
  200. package/types/components/approvalRuleDetailsContentProps.types.d.ts +16 -2
  201. package/types/components/approvalRuleForm.types.d.ts +16 -2
  202. package/types/components/historyLogContent.types.d.ts +0 -2
  203. package/types/components/index.d.ts +0 -1
  204. package/types/components/pagination.types.d.ts +0 -1
  205. package/types/components/purchaseOrderCommentFormContent.types.d.ts +0 -2
  206. package/types/components/purchaseOrderCommentsListContent.types.d.ts +0 -2
  207. package/types/components/purchaseOrderConfirmationContent.types.d.ts +16 -2
  208. package/types/components/purchaseOrderHistoryLogContent.types.d.ts +16 -2
  209. package/types/components/purchaseOrderStatusContent.types.d.ts +17 -3
  210. package/types/components/purchaseOrdersTable.types.d.ts +16 -2
  211. package/types/components/purchaseOrdersTableActions.d.ts +0 -1
  212. package/types/containers/approvalRuleDetailsProps.types.d.ts +0 -1
  213. package/types/containers/approvalRuleForm.types.d.ts +16 -2
  214. package/types/containers/approvalRulesList.types.d.ts +16 -2
  215. package/types/containers/companyPurchaseOrders.types.d.ts +16 -2
  216. package/types/containers/customerPurchaseOrders.types.d.ts +16 -2
  217. package/types/containers/historyLog.types.d.ts +0 -1
  218. package/types/containers/index.d.ts +0 -1
  219. package/types/containers/purchaseOrderApprovalFlow.types.d.ts +0 -1
  220. package/types/containers/purchaseOrderCommentForm.types.d.ts +0 -1
  221. package/types/containers/purchaseOrderCommentsList.types.d.ts +0 -1
  222. package/types/containers/purchaseOrderConfirmationProps.types.d.ts +16 -2
  223. package/types/containers/purchaseOrderHistoryLog.types.d.ts +0 -1
  224. package/types/containers/purchaseOrderStatus.types.d.ts +17 -3
  225. package/types/containers/requireApprovalPurchaseOrders.types.d.ts +16 -2
  226. package/types/hooks/index.d.ts +0 -1
  227. package/types/hooks/useApprovalRuleDetails.types.d.ts +0 -1
  228. package/types/hooks/useApprovalRuleForm.types.d.ts +16 -2
  229. package/types/hooks/useApprovalRulesList.types.d.ts +16 -2
  230. package/types/hooks/usePurchaseOrderStatus.types.d.ts +17 -3
  231. package/types/hooks/usePurchaseOrders.types.d.ts +16 -2
  232. package/i18n/en_US.json.d.ts +0 -310
@@ -0,0 +1,179 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export declare const mockCompanyPurchaseOrdersData: {
18
+ data: {
19
+ customer: {
20
+ purchase_orders: {
21
+ total_count: number;
22
+ page_info: {
23
+ current_page: number;
24
+ page_size: number;
25
+ total_pages: number;
26
+ };
27
+ items: ({
28
+ uid: string;
29
+ number: string;
30
+ status: string;
31
+ created_at: string;
32
+ updated_at: string;
33
+ available_actions: string[];
34
+ created_by: {
35
+ firstname: string;
36
+ lastname: string;
37
+ email: string;
38
+ };
39
+ order: null;
40
+ quote: {
41
+ prices: {
42
+ grand_total: {
43
+ value: number;
44
+ currency: string;
45
+ };
46
+ };
47
+ };
48
+ } | {
49
+ uid: string;
50
+ number: string;
51
+ status: string;
52
+ created_at: string;
53
+ updated_at: string;
54
+ available_actions: string[];
55
+ created_by: {
56
+ firstname: string;
57
+ lastname: string;
58
+ email: string;
59
+ };
60
+ order: {
61
+ id: string;
62
+ number: string;
63
+ total: {
64
+ grand_total: {
65
+ value: number;
66
+ currency: string;
67
+ };
68
+ };
69
+ };
70
+ quote: null;
71
+ })[];
72
+ };
73
+ };
74
+ };
75
+ };
76
+ export declare const mockPurchaseOrdersData: {
77
+ data: {
78
+ customer: {
79
+ purchase_orders: {
80
+ total_count: number;
81
+ page_info: {
82
+ current_page: number;
83
+ page_size: number;
84
+ total_pages: number;
85
+ };
86
+ items: ({
87
+ uid: string;
88
+ number: string;
89
+ status: string;
90
+ created_at: string;
91
+ updated_at: string;
92
+ available_actions: string[];
93
+ created_by: {
94
+ firstname: string;
95
+ lastname: string;
96
+ email: string;
97
+ };
98
+ order: {
99
+ id: string;
100
+ number: string;
101
+ total: {
102
+ grand_total: {
103
+ value: number;
104
+ currency: string;
105
+ };
106
+ };
107
+ };
108
+ quote: null;
109
+ } | {
110
+ uid: string;
111
+ number: string;
112
+ status: string;
113
+ created_at: string;
114
+ updated_at: string;
115
+ available_actions: string[];
116
+ created_by: {
117
+ firstname: string;
118
+ lastname: string;
119
+ email: string;
120
+ };
121
+ order: null;
122
+ quote: {
123
+ prices: {
124
+ grand_total: {
125
+ value: number;
126
+ currency: string;
127
+ };
128
+ };
129
+ };
130
+ })[];
131
+ };
132
+ };
133
+ };
134
+ };
135
+ export declare const mockPurchaseOrdersEmpty: {
136
+ data: {
137
+ customer: {
138
+ purchase_orders: {
139
+ total_count: number;
140
+ page_info: {
141
+ current_page: number;
142
+ page_size: number;
143
+ total_pages: number;
144
+ };
145
+ items: never[];
146
+ };
147
+ };
148
+ };
149
+ };
150
+ export declare const mockPurchaseOrdersLoading: {
151
+ data: {
152
+ customer: {
153
+ purchase_orders: {
154
+ total_count: number;
155
+ page_info: {
156
+ current_page: number;
157
+ page_size: number;
158
+ total_pages: number;
159
+ };
160
+ items: never[];
161
+ };
162
+ };
163
+ };
164
+ };
165
+ export declare const mockPurchaseOrdersError: {
166
+ errors: {
167
+ message: string;
168
+ extensions: {
169
+ category: string;
170
+ };
171
+ }[];
172
+ };
173
+ export declare const purchaseOrderHandlers: import("msw").GraphQLHandler[];
174
+ export declare const purchaseOrderLoadingHandlers: import("msw").GraphQLHandler[];
175
+ export declare const purchaseOrderEmptyHandlers: import("msw").GraphQLHandler[];
176
+ export declare const purchaseOrderErrorHandlers: import("msw").GraphQLHandler[];
177
+ export declare const purchaseOrderPaginationHandlers: import("msw").GraphQLHandler[];
178
+ export declare const companyPurchaseOrderPaginationHandlers: import("msw").GraphQLHandler[];
179
+ export declare const storybookHandlers: import("msw").GraphQLHandler[];
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@dropins/storefront-purchase-order",
3
- "version": "1.2.0",
3
+ "version": "1.2.1-beta.0",
4
4
  "license": "SEE LICENSE IN LICENSE.md"
5
5
  }
@@ -1,8 +1,22 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  import { FunctionComponent } from 'preact';
2
-
3
18
  interface CartProviderProps {
4
19
  children?: any;
5
20
  }
6
21
  export declare const Provider: FunctionComponent<CartProviderProps>;
7
22
  export {};
8
- //# sourceMappingURL=Provider.d.ts.map
package/render/index.d.ts CHANGED
@@ -15,4 +15,3 @@
15
15
  * from Adobe.
16
16
  *******************************************************************/
17
17
  export * from './render';
18
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,18 @@
1
- import { Render } from '@dropins/tools/types/elsie/src/lib';
2
-
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ import { Render } from '@dropins/tools/lib';
3
18
  export declare const render: Render;
4
- //# sourceMappingURL=render.d.ts.map
package/render.d.ts CHANGED
@@ -1 +1 @@
1
- export * from './render/index'
1
+ export * from './render/index';
@@ -34,4 +34,3 @@ export declare enum EnumPurchaseOrdersView {
34
34
  COMPANY_PURCHASE_ORDERS = "companyPurchaseOrders",
35
35
  CUSTOMER_APPROVAL_PURCHASE_ORDERS = "customerApprovalPurchaseOrders"
36
36
  }
37
- //# sourceMappingURL=api.enums.types.d.ts.map
@@ -15,4 +15,3 @@
15
15
  * from Adobe.
16
16
  *******************************************************************/
17
17
  export * from './api.enums.types';
18
- //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,4 @@
1
1
  import { PurchaseOrderModel } from '../../data/models';
2
-
3
2
  export interface PurchaseOrderApprovalFlowContentProps {
4
3
  approvalFlow: PurchaseOrderModel['approvalFlow'];
5
4
  }
6
- //# sourceMappingURL=approvalFlowContent.types.d.ts.map
@@ -1,9 +1,23 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  import { VNode } from 'preact';
2
-
3
18
  export interface ApprovalRuleDetailsContentProps {
4
19
  formValues: {
5
20
  label: string | VNode;
6
21
  value: string | VNode;
7
22
  }[];
8
23
  }
9
- //# sourceMappingURL=approvalRuleDetailsContentProps.types.d.ts.map
@@ -1,5 +1,20 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  import { FormValuesParams } from '../hooks';
2
-
3
18
  export interface ApprovalRuleFormProps {
4
19
  className?: string;
5
20
  withHeader?: boolean;
@@ -9,4 +24,3 @@ export interface ApprovalRuleFormProps {
9
24
  onSubmit?: (formValues: FormValuesParams) => Promise<void>;
10
25
  onChange?: (formValues: FormValuesParams) => void;
11
26
  }
12
- //# sourceMappingURL=approvalRuleForm.types.d.ts.map
@@ -1,7 +1,5 @@
1
1
  import { PurchaseOrderModel } from '../../data/models';
2
-
3
2
  export interface HistoryLogContentProps {
4
3
  historyLogList: PurchaseOrderModel['historyLog'];
5
4
  visibleRecordsLimit: number;
6
5
  }
7
- //# sourceMappingURL=historyLogContent.types.d.ts.map
@@ -25,4 +25,3 @@ export * from './purchaseOrderCommentsListContent.types';
25
25
  export * from './purchaseOrderCommentFormContent.types';
26
26
  export * from './approvalFlowContent.types';
27
27
  export * from './purchaseOrderHistoryLogContent.types';
28
- //# sourceMappingURL=index.d.ts.map
@@ -24,4 +24,3 @@ export interface PageSizeListProps {
24
24
  value: string;
25
25
  selected: boolean;
26
26
  }
27
- //# sourceMappingURL=pagination.types.d.ts.map
@@ -1,7 +1,5 @@
1
1
  import { PurchaseOrderModel } from '../../data/models';
2
-
3
2
  export interface PurchaseOrderCommentFormContentProps {
4
3
  t: Record<string, string>;
5
4
  purchaseOrderData: PurchaseOrderModel | null;
6
5
  }
7
- //# sourceMappingURL=purchaseOrderCommentFormContent.types.d.ts.map
@@ -1,7 +1,5 @@
1
1
  import { PurchaseOrderModel } from '../../data/models';
2
-
3
2
  export interface PurchaseOrderCommentsListContentProps {
4
3
  commentsList: PurchaseOrderModel['comments'] | [];
5
4
  visibleRecordsLimit: number;
6
5
  }
7
- //# sourceMappingURL=purchaseOrderCommentsListContent.types.d.ts.map
@@ -1,7 +1,21 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  import { HTMLAttributes } from 'preact/compat';
2
-
3
18
  export interface PurchaseOrderConfirmationContentProps extends HTMLAttributes<HTMLDivElement> {
4
19
  purchaseOrderNumber: string | number;
5
20
  routePurchaseOrderDetails: () => string;
6
21
  }
7
- //# sourceMappingURL=purchaseOrderConfirmationContent.types.d.ts.map
@@ -1,7 +1,21 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  import { PurchaseOrderModel } from '../../data/models';
2
-
3
18
  export interface PurchaseOrderHistoryLogContentProps {
4
19
  historyLogRecords: PurchaseOrderModel['historyLog'];
5
20
  visibleRecordsLimit: number;
6
21
  }
7
- //# sourceMappingURL=purchaseOrderHistoryLogContent.types.d.ts.map
@@ -1,7 +1,22 @@
1
- import { SlotProps } from '@dropins/tools/types/elsie/src/lib';
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ import { SlotProps } from '@dropins/tools/lib';
2
18
  import { PurchaseOrderStatusSlotContext } from '../containers';
3
19
  import { PURCHASE_ORDER_ACTION } from '../hooks';
4
-
5
20
  export interface PurchaseOrderStatusContentProps {
6
21
  t: Record<string, string>;
7
22
  loading: boolean;
@@ -14,4 +29,3 @@ export interface PurchaseOrderStatusContentProps {
14
29
  PurchaseOrderActions: SlotProps<PurchaseOrderStatusSlotContext>;
15
30
  };
16
31
  }
17
- //# sourceMappingURL=purchaseOrderStatusContent.types.d.ts.map
@@ -1,8 +1,23 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  import { VNode } from 'preact';
2
18
  import { HTMLAttributes } from 'preact/compat';
3
19
  import { PageSizeListProps, PaginationState } from '.';
4
20
  import { AlertMessageConfigType } from '../hooks';
5
-
6
21
  export type Column = {
7
22
  label: string | VNode<HTMLAttributes<HTMLElement>>;
8
23
  key: string;
@@ -41,4 +56,3 @@ export interface PurchaseOrdersTableProps {
41
56
  alertMessageConfig?: AlertMessageConfigType;
42
57
  withWrapper?: boolean;
43
58
  }
44
- //# sourceMappingURL=purchaseOrdersTable.types.d.ts.map
@@ -21,4 +21,3 @@ export interface PurchaseOrdersTableActionsProps {
21
21
  handleRejectSelected?: () => void;
22
22
  handleApproveSelected?: () => void;
23
23
  }
24
- //# sourceMappingURL=purchaseOrdersTableActions.d.ts.map
@@ -21,4 +21,3 @@ export interface ApprovalRuleDetailsProps {
21
21
  approvalRuleID?: string;
22
22
  routeApprovalRulesList: () => string;
23
23
  }
24
- //# sourceMappingURL=approvalRuleDetailsProps.types.d.ts.map
@@ -1,5 +1,20 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  import { FormValuesParams } from '../hooks';
2
-
3
18
  export interface ApprovalRuleFormProps {
4
19
  withHeader?: boolean;
5
20
  withWrapper?: boolean;
@@ -9,4 +24,3 @@ export interface ApprovalRuleFormProps {
9
24
  onSubmit?: (formValues: FormValuesParams) => Promise<void>;
10
25
  onChange?: (formValues: FormValuesParams) => void;
11
26
  }
12
- //# sourceMappingURL=approvalRuleForm.types.d.ts.map
@@ -1,5 +1,20 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  import { Column, PageSizeListProps, Row } from '../components';
2
-
3
18
  export interface ApprovalRulesListProps {
4
19
  initialPageSize?: PageSizeListProps[];
5
20
  routeCreateApprovalRule?: (id: string) => string;
@@ -12,4 +27,3 @@ export interface ApprovalRulesListProps {
12
27
  withWrapper?: boolean;
13
28
  skeletonRowCount?: number;
14
29
  }
15
- //# sourceMappingURL=approvalRulesList.types.d.ts.map
@@ -1,5 +1,20 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  import { Column, PageSizeListProps, Row } from '../components';
2
-
3
18
  export interface CompanyPurchaseOrdersProps {
4
19
  initialPageSize: PageSizeListProps[];
5
20
  routePurchaseOrderDetails?: (poId: string) => string;
@@ -10,4 +25,3 @@ export interface CompanyPurchaseOrdersProps {
10
25
  withWrapper?: boolean;
11
26
  skeletonRowCount?: number;
12
27
  }
13
- //# sourceMappingURL=companyPurchaseOrders.types.d.ts.map
@@ -1,5 +1,20 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  import { Column, PageSizeListProps, Row } from '../components';
2
-
3
18
  export interface CustomerPurchaseOrdersProps {
4
19
  initialPageSize: PageSizeListProps[];
5
20
  routePurchaseOrderDetails?: (poId: string) => string;
@@ -10,4 +25,3 @@ export interface CustomerPurchaseOrdersProps {
10
25
  withWrapper?: boolean;
11
26
  skeletonRowCount?: number;
12
27
  }
13
- //# sourceMappingURL=customerPurchaseOrders.types.d.ts.map
@@ -4,4 +4,3 @@ export interface HistoryLogProps {
4
4
  withWrapper?: boolean;
5
5
  className?: string;
6
6
  }
7
- //# sourceMappingURL=historyLog.types.d.ts.map
@@ -26,4 +26,3 @@ export * from './purchaseOrderCommentsList.types';
26
26
  export * from './purchaseOrderCommentForm.types';
27
27
  export * from './purchaseOrderApprovalFlow.types';
28
28
  export * from './purchaseOrderHistoryLog.types';
29
- //# sourceMappingURL=index.d.ts.map
@@ -3,4 +3,3 @@ export interface PurchaseOrderApprovalFlowProps {
3
3
  withHeader?: boolean;
4
4
  withWrapper?: boolean;
5
5
  }
6
- //# sourceMappingURL=purchaseOrderApprovalFlow.types.d.ts.map
@@ -3,4 +3,3 @@ export interface PurchaseOrderCommentFormProps {
3
3
  withWrapper?: boolean;
4
4
  className?: string;
5
5
  }
6
- //# sourceMappingURL=purchaseOrderCommentForm.types.d.ts.map
@@ -4,4 +4,3 @@ export interface PurchaseOrderCommentsListProps {
4
4
  visibleRecordsLimit?: number;
5
5
  className?: string;
6
6
  }
7
- //# sourceMappingURL=purchaseOrderCommentsList.types.d.ts.map
@@ -1,7 +1,21 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  import { HTMLAttributes } from 'preact/compat';
2
-
3
18
  export interface PurchaseOrderConfirmationProps extends HTMLAttributes<HTMLDivElement> {
4
19
  purchaseOrderNumber: string | number;
5
20
  routePurchaseOrderDetails: () => string;
6
21
  }
7
- //# sourceMappingURL=purchaseOrderConfirmationProps.types.d.ts.map
@@ -20,4 +20,3 @@ export interface PurchaseOrderHistoryLogProps {
20
20
  withWrapper?: boolean;
21
21
  className?: string;
22
22
  }
23
- //# sourceMappingURL=purchaseOrderHistoryLog.types.d.ts.map