@dropins/storefront-quote-management 0.0.1-alpha10

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 (94) hide show
  1. package/LICENSE.md +128 -0
  2. package/api/fetch-graphql/fetch-graphql.d.ts +8 -0
  3. package/api/fetch-graphql/index.d.ts +2 -0
  4. package/api/getCustomerData/getCustomerData.d.ts +10 -0
  5. package/api/getCustomerData/graphql/CustomerQuery.d.ts +2 -0
  6. package/api/getCustomerData/index.d.ts +10 -0
  7. package/api/getQuoteData/getQuoteData.d.ts +10 -0
  8. package/api/getQuoteData/graphql/QuoteDataQuery.d.ts +2 -0
  9. package/api/getQuoteData/index.d.ts +10 -0
  10. package/api/graphql/CustomerFragment.d.ts +2 -0
  11. package/api/graphql/NegotiableQuoteFragment.d.ts +18 -0
  12. package/api/graphql/NegotiableQuoteListFragment.d.ts +10 -0
  13. package/api/graphql/SearchResultPageInfoFragment.d.ts +10 -0
  14. package/api/graphql/SortFieldsFragment.d.ts +10 -0
  15. package/api/index.d.ts +7 -0
  16. package/api/initialize/index.d.ts +2 -0
  17. package/api/initialize/initialize.d.ts +11 -0
  18. package/api/negotiableQuotes/graphql/NegotiableQuotesQuery.d.ts +10 -0
  19. package/api/negotiableQuotes/index.d.ts +10 -0
  20. package/api/negotiableQuotes/negotiableQuotes.d.ts +39 -0
  21. package/api/requestNegotiableQuote/graphql/RequestNegotiableQuoteMutation.d.ts +18 -0
  22. package/api/requestNegotiableQuote/index.d.ts +10 -0
  23. package/api/requestNegotiableQuote/requestNegotiableQuote.d.ts +10 -0
  24. package/api.d.ts +1 -0
  25. package/api.js +41 -0
  26. package/api.js.map +1 -0
  27. package/chunks/WarningFilled.js +4 -0
  28. package/chunks/WarningFilled.js.map +1 -0
  29. package/chunks/negotiableQuotes.js +66 -0
  30. package/chunks/negotiableQuotes.js.map +1 -0
  31. package/chunks/requestNegotiableQuote.js +169 -0
  32. package/chunks/requestNegotiableQuote.js.map +1 -0
  33. package/chunks/transform-quote.js +4 -0
  34. package/chunks/transform-quote.js.map +1 -0
  35. package/components/ActionsBar/ActionsBar.d.ts +14 -0
  36. package/components/ActionsBar/index.d.ts +11 -0
  37. package/components/ItemsQuoted/ItemsQuoted.d.ts +11 -0
  38. package/components/ItemsQuoted/index.d.ts +11 -0
  39. package/components/ManageNegotiableQuote/ManageNegotiableQuote.d.ts +20 -0
  40. package/components/ManageNegotiableQuote/__fixtures__/ManageNegotiableQuoteProps.d.ts +4 -0
  41. package/components/ManageNegotiableQuote/index.d.ts +11 -0
  42. package/components/ProductListTable/ProductListTable.d.ts +13 -0
  43. package/components/ProductListTable/index.d.ts +11 -0
  44. package/components/QuotePricesSummary/QuotePricesSummary.d.ts +16 -0
  45. package/components/QuotePricesSummary/index.d.ts +11 -0
  46. package/components/QuotesListTable/QuotesListTable.d.ts +29 -0
  47. package/components/QuotesListTable/index.d.ts +11 -0
  48. package/components/RequestNegotiableQuoteForm/RequestNegotiableQuoteForm.d.ts +15 -0
  49. package/components/RequestNegotiableQuoteForm/index.d.ts +11 -0
  50. package/components/TabbedContent/TabbedContent.d.ts +10 -0
  51. package/components/TabbedContent/index.d.ts +11 -0
  52. package/components/index.d.ts +9 -0
  53. package/containers/ItemsQuoted/ItemsQuoted.d.ts +25 -0
  54. package/containers/ItemsQuoted/index.d.ts +11 -0
  55. package/containers/ItemsQuoted.d.ts +3 -0
  56. package/containers/ItemsQuoted.js +4 -0
  57. package/containers/ItemsQuoted.js.map +1 -0
  58. package/containers/ManageNegotiableQuote/ManageNegotiableQuote.d.ts +48 -0
  59. package/containers/ManageNegotiableQuote/index.d.ts +11 -0
  60. package/containers/ManageNegotiableQuote.d.ts +3 -0
  61. package/containers/ManageNegotiableQuote.js +4 -0
  62. package/containers/ManageNegotiableQuote.js.map +1 -0
  63. package/containers/QuotesListTable/QuotesListTable.d.ts +72 -0
  64. package/containers/QuotesListTable/index.d.ts +11 -0
  65. package/containers/QuotesListTable.d.ts +3 -0
  66. package/containers/QuotesListTable.js +4 -0
  67. package/containers/QuotesListTable.js.map +1 -0
  68. package/containers/RequestNegotiableQuoteForm/RequestNegotiableQuoteForm.d.ts +58 -0
  69. package/containers/RequestNegotiableQuoteForm/index.d.ts +11 -0
  70. package/containers/RequestNegotiableQuoteForm.d.ts +3 -0
  71. package/containers/RequestNegotiableQuoteForm.js +4 -0
  72. package/containers/RequestNegotiableQuoteForm.js.map +1 -0
  73. package/containers/index.d.ts +5 -0
  74. package/data/models/__fixtures__/customerModel.d.ts +4 -0
  75. package/data/models/__fixtures__/negotiableQuoteModel.d.ts +7 -0
  76. package/data/models/__fixtures__/negotiableQuotesListModel.d.ts +5 -0
  77. package/data/models/customer-model.d.ts +18 -0
  78. package/data/models/index.d.ts +3 -0
  79. package/data/models/negotiable-quote-model.d.ts +136 -0
  80. package/data/transforms/__fixtures__/customerData.d.ts +10 -0
  81. package/data/transforms/__fixtures__/negotiableQuoteData.d.ts +358 -0
  82. package/data/transforms/index.d.ts +19 -0
  83. package/data/transforms/transform-customer.d.ts +15 -0
  84. package/data/transforms/transform-quote.d.ts +7 -0
  85. package/i18n/en_US.json.d.ts +94 -0
  86. package/lib/state.d.ts +10 -0
  87. package/package.json +1 -0
  88. package/render/Provider.d.ts +8 -0
  89. package/render/index.d.ts +2 -0
  90. package/render/render.d.ts +4 -0
  91. package/render.d.ts +1 -0
  92. package/render.js +7 -0
  93. package/render.js.map +1 -0
  94. package/types/state.types.d.ts +10 -0
@@ -0,0 +1,136 @@
1
+ export interface NegotiableQuoteModel {
2
+ uid: string;
3
+ name: string;
4
+ createdAt: string;
5
+ salesRepName: string;
6
+ expirationDate: string;
7
+ updatedAt: string;
8
+ status: NegotiableQuoteStatus;
9
+ buyer: {
10
+ firstname: string;
11
+ lastname: string;
12
+ };
13
+ templateName?: string;
14
+ comments?: {
15
+ uid: string;
16
+ createdAt: string;
17
+ author: {
18
+ firstname: string;
19
+ lastname: string;
20
+ };
21
+ }[];
22
+ prices: {
23
+ subtotalExcludingTax?: Currency;
24
+ subtotalIncludingTax?: Currency;
25
+ subtotalWithDiscountExcludingTax?: Currency;
26
+ grandTotal?: Currency;
27
+ appliedTaxes?: {
28
+ amount: Currency;
29
+ label: string;
30
+ }[];
31
+ };
32
+ items: NegotiableQuoteCartItem[];
33
+ canCheckout: boolean;
34
+ canSendForReview: boolean;
35
+ }
36
+ export interface NegotiableQuoteCartItem {
37
+ product: {
38
+ uid: string;
39
+ sku: string;
40
+ name: string;
41
+ templateId?: string;
42
+ templateName?: string;
43
+ priceRange: {
44
+ maximumPrice: {
45
+ regularPrice: {
46
+ value: number;
47
+ };
48
+ };
49
+ };
50
+ };
51
+ catalogDiscount: {
52
+ amountOff: number;
53
+ percentOff: number;
54
+ };
55
+ discounts: {
56
+ label: string;
57
+ value: string;
58
+ amount: Currency;
59
+ }[];
60
+ stockStatus: string;
61
+ quantity: number;
62
+ prices: {
63
+ originalItemPrice: Currency;
64
+ rowTotal: Currency;
65
+ };
66
+ configurableOptions?: {
67
+ optionLabel: string;
68
+ valueLabel: string;
69
+ }[];
70
+ bundleOptions?: {
71
+ label: string;
72
+ values: {
73
+ label: string;
74
+ quantity: number;
75
+ originalPrice: Currency;
76
+ price: Currency;
77
+ }[];
78
+ }[];
79
+ }
80
+ export interface Currency {
81
+ value: number;
82
+ currency: string;
83
+ }
84
+ export interface NegotiableQuoteListEntry {
85
+ uid: string;
86
+ name: string;
87
+ createdAt: string;
88
+ updatedAt: string;
89
+ status: NegotiableQuoteStatus;
90
+ buyer: {
91
+ firstname: string;
92
+ lastname: string;
93
+ };
94
+ templateName: string;
95
+ prices: {
96
+ grandTotal: Currency;
97
+ };
98
+ }
99
+ export interface NegotiableQuotesListModel {
100
+ items: NegotiableQuoteListEntry[];
101
+ pageInfo: {
102
+ currentPage: number;
103
+ pageSize: number;
104
+ totalPages: number;
105
+ };
106
+ totalCount: number;
107
+ paginationInfo?: PaginationInfo;
108
+ sortFields?: {
109
+ default: string;
110
+ options: Array<{
111
+ label: string;
112
+ value: string;
113
+ }>;
114
+ };
115
+ }
116
+ export declare enum NegotiableQuoteStatus {
117
+ SUBMITTED = "SUBMITTED",
118
+ PENDING = "PENDING",
119
+ UPDATED = "UPDATED",
120
+ OPEN = "OPEN",
121
+ ORDERED = "ORDERED",
122
+ CLOSED = "CLOSED",
123
+ DECLINED = "DECLINED",
124
+ EXPIRED = "EXPIRED",
125
+ DRAFT = "DRAFT"
126
+ }
127
+ export interface PaginationInfo {
128
+ currentPage: number;
129
+ totalCount: number;
130
+ pageSize: number;
131
+ startItem: number;
132
+ endItem: number;
133
+ totalPages: number;
134
+ pageSizeOptions?: number[];
135
+ }
136
+ //# sourceMappingURL=negotiable-quote-model.d.ts.map
@@ -0,0 +1,10 @@
1
+ /********************************************************************
2
+ * Copyright 2025 Adobe
3
+ * All Rights Reserved.
4
+ *
5
+ * NOTICE: Adobe permits you to use, modify, and distribute this
6
+ * file in accordance with the terms of the Adobe license agreement
7
+ * accompanying it.
8
+ *******************************************************************/
9
+ export declare const customer: any;
10
+ //# sourceMappingURL=customerData.d.ts.map
@@ -0,0 +1,358 @@
1
+ import { NegotiableQuoteStatus } from '../../models/negotiable-quote-model';
2
+
3
+ export declare const mockGraphQLResponse: {
4
+ data: {
5
+ requestNegotiableQuote: {
6
+ quote: {
7
+ uid: string;
8
+ name: string;
9
+ created_at: string;
10
+ updated_at: string;
11
+ status: string;
12
+ buyer: {
13
+ firstname: string;
14
+ lastname: string;
15
+ };
16
+ comments: {
17
+ uid: string;
18
+ created_at: string;
19
+ author: {
20
+ firstname: string;
21
+ lastname: string;
22
+ };
23
+ }[];
24
+ items: {
25
+ product: {
26
+ uid: string;
27
+ sku: string;
28
+ name: string;
29
+ price_range: {
30
+ maximum_price: {
31
+ regular_price: {
32
+ value: number;
33
+ };
34
+ };
35
+ };
36
+ };
37
+ quantity: number;
38
+ }[];
39
+ prices: {
40
+ subtotal_excluding_tax: {
41
+ value: number;
42
+ };
43
+ subtotal_including_tax: {
44
+ value: number;
45
+ };
46
+ subtotal_with_discount_excluding_tax: {
47
+ value: number;
48
+ };
49
+ grand_total: {
50
+ value: number;
51
+ currency: string;
52
+ };
53
+ };
54
+ };
55
+ };
56
+ };
57
+ };
58
+ export declare const mockQuoteData: {
59
+ uid: string;
60
+ name: string;
61
+ created_at: string;
62
+ status: string;
63
+ sales_rep_name: string;
64
+ expiration_date: string;
65
+ updated_at: string;
66
+ buyer: {
67
+ firstname: string;
68
+ lastname: string;
69
+ };
70
+ comments: {
71
+ uid: string;
72
+ created_at: string;
73
+ author: {
74
+ firstname: string;
75
+ lastname: string;
76
+ };
77
+ text: string;
78
+ }[];
79
+ template_id: null;
80
+ template_name: null;
81
+ items: ({
82
+ product: {
83
+ name: string;
84
+ sku: string;
85
+ uid: string;
86
+ stock_status: string;
87
+ quantity: null;
88
+ price_range: {
89
+ maximum_price: {
90
+ regular_price: {
91
+ value: number;
92
+ };
93
+ };
94
+ };
95
+ };
96
+ prices: {
97
+ price: {
98
+ currency: string;
99
+ value: number;
100
+ };
101
+ original_item_price: {
102
+ currency: string;
103
+ value: number;
104
+ };
105
+ original_row_total: {
106
+ currency: string;
107
+ value: number;
108
+ };
109
+ row_total: {
110
+ currency: string;
111
+ value: number;
112
+ };
113
+ catalog_discount: {
114
+ amount_off: number;
115
+ percent_off: number;
116
+ };
117
+ discounts: {
118
+ label: string;
119
+ value: number;
120
+ amount: {
121
+ currency: string;
122
+ value: number;
123
+ };
124
+ }[];
125
+ };
126
+ quantity: number;
127
+ configurable_options?: undefined;
128
+ bundle_options?: undefined;
129
+ } | {
130
+ product: {
131
+ name: string;
132
+ sku: string;
133
+ uid: string;
134
+ stock_status: string;
135
+ quantity: null;
136
+ price_range: {
137
+ maximum_price: {
138
+ regular_price: {
139
+ value: number;
140
+ };
141
+ };
142
+ };
143
+ };
144
+ prices: {
145
+ price: {
146
+ currency: string;
147
+ value: number;
148
+ };
149
+ original_item_price: {
150
+ currency: string;
151
+ value: number;
152
+ };
153
+ original_row_total: {
154
+ currency: string;
155
+ value: number;
156
+ };
157
+ row_total: {
158
+ currency: string;
159
+ value: number;
160
+ };
161
+ catalog_discount: {
162
+ amount_off: number;
163
+ percent_off: number;
164
+ };
165
+ discounts: never[];
166
+ };
167
+ quantity: number;
168
+ configurable_options: {
169
+ option_label: string;
170
+ value_label: string;
171
+ }[];
172
+ bundle_options?: undefined;
173
+ } | {
174
+ product: {
175
+ name: string;
176
+ sku: string;
177
+ uid: string;
178
+ stock_status: string;
179
+ quantity: null;
180
+ price_range: {
181
+ maximum_price: {
182
+ regular_price: {
183
+ value: number;
184
+ };
185
+ };
186
+ };
187
+ };
188
+ prices: {
189
+ price: {
190
+ currency: string;
191
+ value: number;
192
+ };
193
+ original_item_price: {
194
+ currency: string;
195
+ value: number;
196
+ };
197
+ original_row_total: {
198
+ currency: string;
199
+ value: number;
200
+ };
201
+ row_total: {
202
+ currency: string;
203
+ value: number;
204
+ };
205
+ catalog_discount: {
206
+ amount_off: number;
207
+ percent_off: number;
208
+ };
209
+ discounts: {
210
+ label: string;
211
+ value: number;
212
+ amount: {
213
+ currency: string;
214
+ value: number;
215
+ };
216
+ }[];
217
+ };
218
+ quantity: number;
219
+ bundle_options: {
220
+ label: string;
221
+ values: {
222
+ label: string;
223
+ quantity: number;
224
+ original_price: {
225
+ currency: string;
226
+ value: number;
227
+ };
228
+ priceV2: {
229
+ currency: string;
230
+ value: number;
231
+ };
232
+ }[];
233
+ }[];
234
+ configurable_options?: undefined;
235
+ })[];
236
+ history: {
237
+ uid: string;
238
+ created_at: string;
239
+ author: {
240
+ firstname: string;
241
+ lastname: string;
242
+ };
243
+ change_type: string;
244
+ changes: {
245
+ comment_added: {
246
+ comment: string;
247
+ };
248
+ statuses: {
249
+ changes: {
250
+ new_status: string;
251
+ old_status: null;
252
+ }[];
253
+ };
254
+ expiration: {
255
+ new_expiration: null;
256
+ old_expiration: null;
257
+ };
258
+ };
259
+ }[];
260
+ prices: {
261
+ subtotal_excluding_tax: {
262
+ currency: string;
263
+ value: number;
264
+ };
265
+ subtotal_including_tax: {
266
+ currency: string;
267
+ value: number;
268
+ };
269
+ subtotal_with_discount_excluding_tax: {
270
+ currency: string;
271
+ value: number;
272
+ };
273
+ applied_taxes: {
274
+ label: string;
275
+ amount: {
276
+ currency: string;
277
+ value: number;
278
+ };
279
+ }[];
280
+ grand_total: {
281
+ currency: string;
282
+ value: number;
283
+ };
284
+ };
285
+ };
286
+ export declare const mockNegotiableQuotesResponse: {
287
+ data: {
288
+ negotiableQuotes: {
289
+ items: {
290
+ uid: string;
291
+ name: string;
292
+ created_at: string;
293
+ updated_at: string;
294
+ status: NegotiableQuoteStatus;
295
+ buyer: {
296
+ firstname: string;
297
+ lastname: string;
298
+ };
299
+ items: {
300
+ product: {
301
+ uid: string;
302
+ sku: string;
303
+ name: string;
304
+ template_id: string;
305
+ template_name: string;
306
+ price_range: {
307
+ maximum_price: {
308
+ regular_price: {
309
+ value: number;
310
+ };
311
+ };
312
+ };
313
+ };
314
+ quantity: number;
315
+ }[];
316
+ prices: {
317
+ subtotal_excluding_tax: {
318
+ value: number;
319
+ };
320
+ subtotal_including_tax: {
321
+ value: number;
322
+ };
323
+ subtotal_with_discount_excluding_tax: {
324
+ value: number;
325
+ };
326
+ grand_total: {
327
+ value: number;
328
+ };
329
+ };
330
+ }[];
331
+ page_info: {
332
+ current_page: number;
333
+ page_size: number;
334
+ total_pages: number;
335
+ };
336
+ total_count: number;
337
+ };
338
+ };
339
+ };
340
+ export declare const mockEmptyNegotiableQuotesResponse: {
341
+ data: {
342
+ negotiableQuotes: {
343
+ items: never[];
344
+ page_info: {
345
+ current_page: number;
346
+ page_size: number;
347
+ total_pages: number;
348
+ };
349
+ total_count: number;
350
+ };
351
+ };
352
+ };
353
+ export declare const mockNullNegotiableQuotesResponse: {
354
+ data: {
355
+ negotiableQuotes: null;
356
+ };
357
+ };
358
+ //# sourceMappingURL=negotiableQuoteData.d.ts.map
@@ -0,0 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 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 * from './transform-customer';
18
+ export * from './transform-quote';
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,15 @@
1
+ import { CustomerModel } from '../models';
2
+
3
+ type PermissionsSchema = {
4
+ text: string;
5
+ children: PermissionsSchema[];
6
+ };
7
+ /**
8
+ * Flatten the permissions into a list of strings
9
+ * @param permissions - The permissions to flatten
10
+ * @returns A list of strings representing the flattened permissions
11
+ */
12
+ export declare const flattenPermissions: (permissions: PermissionsSchema[]) => string[];
13
+ export declare function transformCustomer(customerData: any): CustomerModel;
14
+ export {};
15
+ //# sourceMappingURL=transform-customer.d.ts.map
@@ -0,0 +1,7 @@
1
+ import { NegotiableQuoteModel, NegotiableQuotesListModel, PaginationInfo } from '../models/negotiable-quote-model';
2
+
3
+ export declare function transformQuote(quoteData: any): NegotiableQuoteModel | null;
4
+ export declare function transformNegotiableQuotesList(quotesData: any): NegotiableQuotesListModel | null;
5
+ export declare function transformPaginationInfo(quotesData: NegotiableQuotesListModel | null): PaginationInfo | null;
6
+ export declare const getDefaultPageSizeOptions: () => number[];
7
+ //# sourceMappingURL=transform-quote.d.ts.map
@@ -0,0 +1,94 @@
1
+ declare const _default: {
2
+ "NegotiableQuote": {
3
+ "Request": {
4
+ "title": "Request a Quote",
5
+ "comment": "Comment",
6
+ "commentError": "Please add your comment",
7
+ "quoteName": "Quote name",
8
+ "quoteNameError": "Please add a quote name",
9
+ "attachmentsError": "Error uploading attachments",
10
+ "requestCta": "Request a Quote",
11
+ "saveDraftCta": "Save as draft",
12
+ "error": {
13
+ "header": "Error",
14
+ "unauthenticated": "Please sign in to request a quote.",
15
+ "unauthorized": "You are not authorized to request a quote.",
16
+ "missingCart": "Could not find a valid cart."
17
+ },
18
+ "success": {
19
+ "header": "Success",
20
+ "submitted": "Quote request submitted successfully!",
21
+ "draftSaved": "Quote saved as draft successfully!"
22
+ }
23
+ },
24
+ "Manage": {
25
+ "createdLabel": "Created:",
26
+ "salesRepLabel": "Sales Rep:",
27
+ "expiresLabel": "Expires:",
28
+ "actionsLabel": "Actions",
29
+ "actions": {
30
+ "remove": "Remove"
31
+ },
32
+ "bannerTitle": "Alert",
33
+ "bannerStatusMessages": {
34
+ "pending": "This quote is currently locked for editing. It will become available once released by the Merchant.",
35
+ "expired": "Your quote has expired and the product prices have been updated as per the latest prices in your catalog. You can either re-submit the quote to seller for further negotiation or go to checkout."
36
+ },
37
+ "actionButtons": {
38
+ "close": "Close quote",
39
+ "delete": "Delete quote",
40
+ "print": "Print quote",
41
+ "createTemplate": "Create quote template",
42
+ "createCopy": "Create copy",
43
+ "sendForReview": "Send for review"
44
+ },
45
+ "shippingInformation": {
46
+ "title": "Shipping Information"
47
+ },
48
+ "quoteComments": {
49
+ "title": "Quote Comments",
50
+ "placeholder": "Add your comment"
51
+ },
52
+ "productListTable": {
53
+ "headers": {
54
+ "productName": "Product name",
55
+ "sku": "SKU",
56
+ "price": "Price",
57
+ "quantity": "Quantity",
58
+ "discount": "Discount",
59
+ "subtotal": "Subtotal",
60
+ "actions": "Actions"
61
+ },
62
+ "submitButton": "Update",
63
+ "actions": {
64
+ "editNoteToSeller": "Edit note to seller",
65
+ "remove": "Remove"
66
+ }
67
+ },
68
+ "quotePricesSummary": {
69
+ "subtotal": {
70
+ "excludingTax": "Quote Subtotal (excluding tax)"
71
+ },
72
+ "appliedTaxes": "Applied Taxes",
73
+ "grandTotal": {
74
+ "includingTax": "Quote Grand Total (including tax)"
75
+ }
76
+ }
77
+ }
78
+ },
79
+ "QuoteManagement": {
80
+ "QuotesListTable": {
81
+ "quoteName": "Quote Name",
82
+ "created": "Created",
83
+ "createdBy": "Created By",
84
+ "status": "Status",
85
+ "lastUpdated": "Last Updated",
86
+ "quoteTemplate": "Quote Template",
87
+ "quoteTotal": "Quote Total",
88
+ "actions": "Action"
89
+ }
90
+ }
91
+ }
92
+ ;
93
+
94
+ export default _default;
package/lib/state.d.ts ADDED
@@ -0,0 +1,10 @@
1
+ import { State } from '../types/state.types';
2
+
3
+ export declare const DEFAULT_PERMISSIONS: {
4
+ requestQuote: boolean;
5
+ editQuote: boolean;
6
+ deleteQuote: boolean;
7
+ checkoutQuote: boolean;
8
+ };
9
+ export declare const state: State;
10
+ //# sourceMappingURL=state.d.ts.map
package/package.json ADDED
@@ -0,0 +1 @@
1
+ {"name": "@dropins/storefront-quote-management", "version": "0.0.1-alpha10", "@dropins/tools": "^1.5.0-beta4", "license": "SEE LICENSE IN LICENSE.md"}
@@ -0,0 +1,8 @@
1
+ import { FunctionComponent } from 'preact';
2
+
3
+ interface CartProviderProps {
4
+ children?: any;
5
+ }
6
+ export declare const Provider: FunctionComponent<CartProviderProps>;
7
+ export {};
8
+ //# sourceMappingURL=Provider.d.ts.map
@@ -0,0 +1,2 @@
1
+ export * from './render';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,4 @@
1
+ import { Render } from '@dropins/tools/types/elsie/src/lib';
2
+
3
+ export declare const render: Render;
4
+ //# sourceMappingURL=render.d.ts.map
package/render.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './render/index'