@dropins/storefront-requisition-list 1.5.0-beta.1 → 1.5.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.
- package/CHANGELOG.md +192 -63
- package/api/initialize/initialize.d.ts +3 -3
- package/containers/RequisitionListForm/RequisitionListForm.d.ts +1 -1
- package/containers/RequisitionListGrid/RequisitionListGrid.d.ts +1 -1
- package/containers/RequisitionListHeader/RequisitionListHeader.d.ts +1 -1
- package/containers/RequisitionListSelector/RequisitionListSelector.d.ts +1 -1
- package/containers/RequisitionListView/RequisitionListView.d.ts +1 -1
- package/containers/ShareRequisitionListContent/ShareRequisitionListContent.d.ts +1 -1
- package/containers/SharedRequisitionList/SharedRequisitionList.d.ts +1 -1
- package/package.json +1 -1
- package/render/render.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# @dropins/storefront-requisition-list
|
|
2
2
|
|
|
3
|
+
## 1.5.1-beta.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d681e53: Bumped SDK Elsie beta version. Bumped preact library version.
|
|
8
|
+
|
|
9
|
+
## 1.5.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- f3b5b17: fix: display variant-specific SKU, options, price and thumbnail for
|
|
14
|
+
configurable requisition list items
|
|
15
|
+
|
|
16
|
+
`ProductListTable` previously showed only the parent product's name/SKU and
|
|
17
|
+
never rendered the selected configurable options (e.g. color, size), and the
|
|
18
|
+
configured product's thumbnail was shown unconditionally, ignoring the
|
|
19
|
+
storefront's "Configurable Product Image" setting used by the cart.
|
|
20
|
+
|
|
21
|
+
- Renders the selected configurable options next to the SKU.
|
|
22
|
+
- Adds a `useParentConfigurableThumbnail` prop to `ProductListTable`, driven
|
|
23
|
+
by the new `configurable_thumbnail_source` store config field, so the
|
|
24
|
+
thumbnail is consistent with the cart's admin-configured behavior.
|
|
25
|
+
- Adds a built-in `enrichConfigurableProducts` default (exported from
|
|
26
|
+
`@dropins/storefront-requisition-list`) that resolves the selected variant's
|
|
27
|
+
SKU, price and thumbnail via Catalog Service's `refineProduct`, matching
|
|
28
|
+
selected options by label, so integrators no longer need to implement this
|
|
29
|
+
resolution themselves. Passing a custom `enrichConfigurableProducts` still
|
|
30
|
+
overrides the default.
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- 4a9f96b: Bump SDK stable versions
|
|
35
|
+
- 33ac652: fix: show original and final price in requisition list
|
|
36
|
+
|
|
37
|
+
`ProductListTable` previously rendered only the final (discounted) price for
|
|
38
|
+
an item's unit price and subtotal. It now also renders the original price with
|
|
39
|
+
a strikethrough when a discount applies, for simple, configured, and bundle
|
|
40
|
+
products, matching wishlist's price display.
|
|
41
|
+
|
|
3
42
|
## 1.5.0-beta.1
|
|
4
43
|
|
|
5
44
|
### Patch Changes
|
|
@@ -10,19 +49,33 @@
|
|
|
10
49
|
|
|
11
50
|
### Minor Changes
|
|
12
51
|
|
|
13
|
-
- f3b5b17: fix: display variant-specific SKU, options, price and thumbnail for
|
|
52
|
+
- f3b5b17: fix: display variant-specific SKU, options, price and thumbnail for
|
|
53
|
+
configurable requisition list items
|
|
14
54
|
|
|
15
|
-
`ProductListTable` previously showed only the parent product's name/SKU and
|
|
55
|
+
`ProductListTable` previously showed only the parent product's name/SKU and
|
|
56
|
+
never rendered the selected configurable options (e.g. color, size), and the
|
|
57
|
+
configured product's thumbnail was shown unconditionally, ignoring the
|
|
58
|
+
storefront's "Configurable Product Image" setting used by the cart.
|
|
16
59
|
|
|
17
60
|
- Renders the selected configurable options next to the SKU.
|
|
18
|
-
- Adds a `useParentConfigurableThumbnail` prop to `ProductListTable`, driven
|
|
19
|
-
|
|
61
|
+
- Adds a `useParentConfigurableThumbnail` prop to `ProductListTable`, driven
|
|
62
|
+
by the new `configurable_thumbnail_source` store config field, so the
|
|
63
|
+
thumbnail is consistent with the cart's admin-configured behavior.
|
|
64
|
+
- Adds a built-in `enrichConfigurableProducts` default (exported from
|
|
65
|
+
`@dropins/storefront-requisition-list`) that resolves the selected variant's
|
|
66
|
+
SKU, price and thumbnail via Catalog Service's `refineProduct`, matching
|
|
67
|
+
selected options by label, so integrators no longer need to implement this
|
|
68
|
+
resolution themselves. Passing a custom `enrichConfigurableProducts` still
|
|
69
|
+
overrides the default.
|
|
20
70
|
|
|
21
71
|
### Patch Changes
|
|
22
72
|
|
|
23
73
|
- 33ac652: fix: show original and final price in requisition list
|
|
24
74
|
|
|
25
|
-
`ProductListTable` previously rendered only the final (discounted) price for
|
|
75
|
+
`ProductListTable` previously rendered only the final (discounted) price for
|
|
76
|
+
an item's unit price and subtotal. It now also renders the original price with
|
|
77
|
+
a strikethrough when a discount applies, for simple, configured, and bundle
|
|
78
|
+
products, matching wishlist's price display.
|
|
26
79
|
|
|
27
80
|
## 1.4.0
|
|
28
81
|
|
|
@@ -30,32 +83,45 @@
|
|
|
30
83
|
|
|
31
84
|
- f047a2d: feat: add requisition list sharing feature (USF-3911)
|
|
32
85
|
|
|
33
|
-
Introduces the ability for authenticated company users to share requisition
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
- Add `
|
|
38
|
-
|
|
39
|
-
- Add `
|
|
40
|
-
|
|
86
|
+
Introduces the ability for authenticated company users to share requisition
|
|
87
|
+
lists with colleagues, either via a generated link or by email. Recipients can
|
|
88
|
+
preview and import the shared list into their own account.
|
|
89
|
+
|
|
90
|
+
- Add `shareRequisitionListByToken` and `shareRequisitionListByEmail` APIs to
|
|
91
|
+
generate share links and notify colleagues
|
|
92
|
+
- Add `getSharedRequisitionList` API to preview a shared list by token
|
|
93
|
+
(read-only, sender info included)
|
|
94
|
+
- Add `importSharedRequisitionList` API to copy a shared list into the current
|
|
95
|
+
customer's account
|
|
96
|
+
- Add `ShareRequisitionListContent` component and container with copy-link and
|
|
97
|
+
email recipient selection UI
|
|
98
|
+
- Add `SharedRequisitionList` component and container to preview and import a
|
|
99
|
+
shared requisition list by token and redirect to the list detail page on
|
|
100
|
+
success
|
|
101
|
+
- Extend `useRequisitionListAlert` with `import` action for success/error
|
|
102
|
+
feedback after import
|
|
41
103
|
- Extend `getStoreConfig` with sharing-related store config fields
|
|
42
|
-
- Emit `auth/permissions` in sandbox on login/logout to correctly enable the
|
|
104
|
+
- Emit `auth/permissions` in sandbox on login/logout to correctly enable the
|
|
105
|
+
share button for company users
|
|
43
106
|
- Added `SharedRequisitionList` button in sandbox
|
|
44
107
|
|
|
45
|
-
- 66b8852: Removed the `engines.node` constraint from `package.json`. This
|
|
108
|
+
- 66b8852: Removed the `engines.node` constraint from `package.json`. This
|
|
109
|
+
package targets browser environments exclusively and does not depend on a
|
|
110
|
+
specific Node.js runtime version. The package is now built and distributed
|
|
111
|
+
using Node.js 22 LTS.
|
|
46
112
|
|
|
47
113
|
### Patch Changes
|
|
48
114
|
|
|
49
115
|
- c809d65: fix: correct isCompanyUser detection for B2C customers (USF-3911)
|
|
50
116
|
|
|
51
|
-
The `auth/permissions` listener now checks specifically for `admin: true` or
|
|
52
|
-
|
|
117
|
+
The `auth/permissions` listener now checks specifically for `admin: true` or a
|
|
118
|
+
`Magento_Company::*` key to identify company membership, instead of treating
|
|
53
119
|
any truthy key beyond `all` as proof. This prevents non-company permissions
|
|
54
120
|
from being mistaken for company membership.
|
|
55
121
|
|
|
56
122
|
Also aligns the `routeSharedRequisitionList` prop parameter name to
|
|
57
|
-
`relativeUrl` across `RequisitionListHeader` and `RequisitionListView`
|
|
58
|
-
|
|
123
|
+
`relativeUrl` across `RequisitionListHeader` and `RequisitionListView` to
|
|
124
|
+
match `ShareRequisitionListContent`.
|
|
59
125
|
|
|
60
126
|
- 34b701c: Bump commerce packages to latest stable
|
|
61
127
|
- 1877178: Bump @adobe-commerce/elsie to v1.9.0-beta.3
|
|
@@ -72,14 +138,14 @@
|
|
|
72
138
|
|
|
73
139
|
- c809d65: fix: correct isCompanyUser detection for B2C customers (USF-3911)
|
|
74
140
|
|
|
75
|
-
The `auth/permissions` listener now checks specifically for `admin: true` or
|
|
76
|
-
|
|
141
|
+
The `auth/permissions` listener now checks specifically for `admin: true` or a
|
|
142
|
+
`Magento_Company::*` key to identify company membership, instead of treating
|
|
77
143
|
any truthy key beyond `all` as proof. This prevents non-company permissions
|
|
78
144
|
from being mistaken for company membership.
|
|
79
145
|
|
|
80
146
|
Also aligns the `routeSharedRequisitionList` prop parameter name to
|
|
81
|
-
`relativeUrl` across `RequisitionListHeader` and `RequisitionListView`
|
|
82
|
-
|
|
147
|
+
`relativeUrl` across `RequisitionListHeader` and `RequisitionListView` to
|
|
148
|
+
match `ShareRequisitionListContent`.
|
|
83
149
|
|
|
84
150
|
## 1.4.0-beta.0
|
|
85
151
|
|
|
@@ -87,71 +153,125 @@
|
|
|
87
153
|
|
|
88
154
|
- f047a2d: feat: add requisition list sharing feature (USF-3911)
|
|
89
155
|
|
|
90
|
-
Introduces the ability for authenticated company users to share requisition
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
- Add `
|
|
95
|
-
|
|
96
|
-
- Add `
|
|
97
|
-
|
|
156
|
+
Introduces the ability for authenticated company users to share requisition
|
|
157
|
+
lists with colleagues, either via a generated link or by email. Recipients can
|
|
158
|
+
preview and import the shared list into their own account.
|
|
159
|
+
|
|
160
|
+
- Add `shareRequisitionListByToken` and `shareRequisitionListByEmail` APIs to
|
|
161
|
+
generate share links and notify colleagues
|
|
162
|
+
- Add `getSharedRequisitionList` API to preview a shared list by token
|
|
163
|
+
(read-only, sender info included)
|
|
164
|
+
- Add `importSharedRequisitionList` API to copy a shared list into the current
|
|
165
|
+
customer's account
|
|
166
|
+
- Add `ShareRequisitionListContent` component and container with copy-link and
|
|
167
|
+
email recipient selection UI
|
|
168
|
+
- Add `SharedRequisitionList` component and container to preview and import a
|
|
169
|
+
shared requisition list by token and redirect to the list detail page on
|
|
170
|
+
success
|
|
171
|
+
- Extend `useRequisitionListAlert` with `import` action for success/error
|
|
172
|
+
feedback after import
|
|
98
173
|
- Extend `getStoreConfig` with sharing-related store config fields
|
|
99
|
-
- Emit `auth/permissions` in sandbox on login/logout to correctly enable the
|
|
174
|
+
- Emit `auth/permissions` in sandbox on login/logout to correctly enable the
|
|
175
|
+
share button for company users
|
|
100
176
|
- Added `SharedRequisitionList` button in sandbox
|
|
101
177
|
|
|
102
|
-
- 66b8852: Removed the `engines.node` constraint from `package.json`. This
|
|
178
|
+
- 66b8852: Removed the `engines.node` constraint from `package.json`. This
|
|
179
|
+
package targets browser environments exclusively and does not depend on a
|
|
180
|
+
specific Node.js runtime version. The package is now built and distributed
|
|
181
|
+
using Node.js 22 LTS.
|
|
103
182
|
|
|
104
183
|
## 1.3.0
|
|
105
184
|
|
|
106
185
|
### Minor Changes
|
|
107
186
|
|
|
108
|
-
- 4205285: feat: add Move to List and Copy to List features for requisition list
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
- Add `
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
187
|
+
- 4205285: feat: add Move to List and Copy to List features for requisition list
|
|
188
|
+
items
|
|
189
|
+
|
|
190
|
+
- Add `moveItemsBetweenRequisitionLists` API to move items from one
|
|
191
|
+
requisition list to another, removing them from the source and adding to the
|
|
192
|
+
destination
|
|
193
|
+
- Add `copyItemsBetweenRequisitionLists` API to copy items between requisition
|
|
194
|
+
lists, keeping items in the source list
|
|
195
|
+
- Add `RequisitionListPicker` reusable component for selecting a requisition
|
|
196
|
+
list from a scrollable list of cards
|
|
197
|
+
- Add "Move to List" and "Copy to List" bulk action buttons in the requisition
|
|
198
|
+
list view, with modal-based list selection
|
|
199
|
+
- Refactor `RequisitionListSelector` to use `RequisitionListPicker` for
|
|
200
|
+
consistent list selection UX
|
|
201
|
+
- Include destination list name in success alert messages for both move and
|
|
202
|
+
copy operations
|
|
203
|
+
|
|
204
|
+
- 9fdf4f4: Add an an active class and prop to the **RequisitionListSelector** so
|
|
205
|
+
the button on the PDP page can reflect when the current product is already in
|
|
206
|
+
the requisition list. Both an `active` prop as well as
|
|
207
|
+
`requisition-list-selector--active` class was added. In addition, the
|
|
208
|
+
`activeIcon` was also included should that the developer would like to change
|
|
209
|
+
the button icon once an active state is truthy.
|
|
118
210
|
- 98cd3b9: fix: merge user-provided langDefinitions in Provider
|
|
119
211
|
|
|
120
|
-
The Provider now imports `config` and uses `deepmerge` to merge user-provided
|
|
212
|
+
The Provider now imports `config` and uses `deepmerge` to merge user-provided
|
|
213
|
+
`langDefinitions` with the drop-in's bundled defaults before passing them to
|
|
214
|
+
`UIProvider`. This enables label/placeholder overrides via the initializer
|
|
215
|
+
API.
|
|
121
216
|
|
|
122
217
|
## 1.3.0-beta.0
|
|
123
218
|
|
|
124
219
|
### Minor Changes
|
|
125
220
|
|
|
126
|
-
- 4205285: feat: add Move to List and Copy to List features for requisition list
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
- Add `
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
221
|
+
- 4205285: feat: add Move to List and Copy to List features for requisition list
|
|
222
|
+
items
|
|
223
|
+
|
|
224
|
+
- Add `moveItemsBetweenRequisitionLists` API to move items from one
|
|
225
|
+
requisition list to another, removing them from the source and adding to the
|
|
226
|
+
destination
|
|
227
|
+
- Add `copyItemsBetweenRequisitionLists` API to copy items between requisition
|
|
228
|
+
lists, keeping items in the source list
|
|
229
|
+
- Add `RequisitionListPicker` reusable component for selecting a requisition
|
|
230
|
+
list from a scrollable list of cards
|
|
231
|
+
- Add "Move to List" and "Copy to List" bulk action buttons in the requisition
|
|
232
|
+
list view, with modal-based list selection
|
|
233
|
+
- Refactor `RequisitionListSelector` to use `RequisitionListPicker` for
|
|
234
|
+
consistent list selection UX
|
|
235
|
+
- Include destination list name in success alert messages for both move and
|
|
236
|
+
copy operations
|
|
237
|
+
|
|
238
|
+
- 9fdf4f4: Add an an active class and prop to the **RequisitionListSelector** so
|
|
239
|
+
the button on the PDP page can reflect when the current product is already in
|
|
240
|
+
the requisition list. Both an `active` prop as well as
|
|
241
|
+
`requisition-list-selector--active` class was added. In addition, the
|
|
242
|
+
`activeIcon` was also included should that the developer would like to change
|
|
243
|
+
the button icon once an active state is truthy.
|
|
136
244
|
- 98cd3b9: fix: merge user-provided langDefinitions in Provider
|
|
137
245
|
|
|
138
|
-
The Provider now imports `config` and uses `deepmerge` to merge user-provided
|
|
246
|
+
The Provider now imports `config` and uses `deepmerge` to merge user-provided
|
|
247
|
+
`langDefinitions` with the drop-in's bundled defaults before passing them to
|
|
248
|
+
`UIProvider`. This enables label/placeholder overrides via the initializer
|
|
249
|
+
API.
|
|
139
250
|
|
|
140
251
|
## 1.2.0
|
|
141
252
|
|
|
142
253
|
### Minor Changes
|
|
143
254
|
|
|
144
|
-
- a23ab81: Replaced API catalog functions with props that must be injected from
|
|
255
|
+
- a23ab81: Replaced API catalog functions with props that must be injected from
|
|
256
|
+
the integration layer
|
|
145
257
|
|
|
146
258
|
### Patch Changes
|
|
147
259
|
|
|
148
260
|
- 9dfd6da: Bump adobe-commerce/elsie from 1.8.0-beta.1 to 1.8.0
|
|
149
|
-
- 13f4ea9: Add Changesets-based release automation with branch-aware workflows
|
|
261
|
+
- 13f4ea9: Add Changesets-based release automation with branch-aware workflows
|
|
262
|
+
(alpha/beta/stable), PR changeset validation, and contributor helper scripts.
|
|
150
263
|
- 2f02836: Bump "@adobe-commerce/elsie" from 1.7.0 to 1.8.0-beta.1
|
|
151
|
-
- b8e1dbe: Fix RequisitionListSelector Storybook stories:
|
|
264
|
+
- b8e1dbe: Fix RequisitionListSelector Storybook stories:
|
|
265
|
+
WhenRequisitionListIsDisabled now correctly shows disabled behavior via
|
|
266
|
+
loaders and state; WithoutExistingRequisitionLists shows empty lists via
|
|
267
|
+
loader; Docs overview uses iframe isolation (docs.story.inline: false) so all
|
|
268
|
+
stories appear and work correctly together.
|
|
152
269
|
- c26676c: fix: merge user-provided langDefinitions in Provider
|
|
153
270
|
|
|
154
|
-
The Provider now imports `config` and uses `deepmerge` to merge user-provided
|
|
271
|
+
The Provider now imports `config` and uses `deepmerge` to merge user-provided
|
|
272
|
+
`langDefinitions` with the drop-in's bundled defaults before passing them to
|
|
273
|
+
`UIProvider`. This enables label/placeholder overrides via the initializer
|
|
274
|
+
API.
|
|
155
275
|
|
|
156
276
|
## 1.2.0-beta.4
|
|
157
277
|
|
|
@@ -171,17 +291,26 @@
|
|
|
171
291
|
|
|
172
292
|
- c26676c: fix: merge user-provided langDefinitions in Provider
|
|
173
293
|
|
|
174
|
-
The Provider now imports `config` and uses `deepmerge` to merge user-provided
|
|
294
|
+
The Provider now imports `config` and uses `deepmerge` to merge user-provided
|
|
295
|
+
`langDefinitions` with the drop-in's bundled defaults before passing them to
|
|
296
|
+
`UIProvider`. This enables label/placeholder overrides via the initializer
|
|
297
|
+
API.
|
|
175
298
|
|
|
176
299
|
## 1.2.0-beta.1
|
|
177
300
|
|
|
178
301
|
### Minor Changes
|
|
179
302
|
|
|
180
|
-
- a23ab81: Replaced API catalog functions with props that must be injected from
|
|
303
|
+
- a23ab81: Replaced API catalog functions with props that must be injected from
|
|
304
|
+
the integration layer
|
|
181
305
|
|
|
182
306
|
## 1.1.1-beta.0
|
|
183
307
|
|
|
184
308
|
### Patch Changes
|
|
185
309
|
|
|
186
|
-
- 13f4ea9: Add Changesets-based release automation with branch-aware workflows
|
|
187
|
-
|
|
310
|
+
- 13f4ea9: Add Changesets-based release automation with branch-aware workflows
|
|
311
|
+
(alpha/beta/stable), PR changeset validation, and contributor helper scripts.
|
|
312
|
+
- b8e1dbe: Fix RequisitionListSelector Storybook stories:
|
|
313
|
+
WhenRequisitionListIsDisabled now correctly shows disabled behavior via
|
|
314
|
+
loaders and state; WithoutExistingRequisitionLists shows empty lists via
|
|
315
|
+
loader; Docs overview uses iframe isolation (docs.story.inline: false) so all
|
|
316
|
+
stories appear and work correctly together.
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
* is strictly forbidden unless prior written permission is obtained
|
|
15
15
|
* from Adobe.
|
|
16
16
|
*******************************************************************/
|
|
17
|
-
import { Initializer } from '
|
|
18
|
-
import { Lang } from '
|
|
17
|
+
import { Initializer } from '../../../node_modules/@dropins/tools/src/lib';
|
|
18
|
+
import { Lang } from '../../../node_modules/@dropins/tools/src/i18n';
|
|
19
19
|
type ConfigProps = {
|
|
20
20
|
langDefinitions?: Lang;
|
|
21
21
|
};
|
|
22
22
|
export declare const initialize: Initializer<ConfigProps>;
|
|
23
|
-
export declare const config: import("
|
|
23
|
+
export declare const config: import("../../../node_modules/@dropins/tools/src/lib").Config<ConfigProps>;
|
|
24
24
|
export {};
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* is strictly forbidden unless prior written permission is obtained
|
|
15
15
|
* from Adobe.
|
|
16
16
|
*******************************************************************/
|
|
17
|
-
import { Container } from '
|
|
17
|
+
import { Container } from '../../../node_modules/@dropins/tools/src/lib';
|
|
18
18
|
import { RequisitionListFormMode, RequisitionListFormValues } from '../../hooks/useRequisitionListForm';
|
|
19
19
|
import { RequisitionList } from '../../data/models/requisitionList';
|
|
20
20
|
export interface RequisitionListFormProps {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* from Adobe.
|
|
16
16
|
*******************************************************************/
|
|
17
17
|
import { HTMLAttributes } from 'preact/compat';
|
|
18
|
-
import { Container, SlotProps } from '
|
|
18
|
+
import { Container, SlotProps } from '../../../node_modules/@dropins/tools/src/lib';
|
|
19
19
|
export interface RequisitionListGridProps extends HTMLAttributes<HTMLDivElement> {
|
|
20
20
|
routeRequisitionListDetails?: (uid: string) => string | void;
|
|
21
21
|
/**
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* is strictly forbidden unless prior written permission is obtained
|
|
15
15
|
* from Adobe.
|
|
16
16
|
*******************************************************************/
|
|
17
|
-
import { Container } from '
|
|
17
|
+
import { Container } from '../../../node_modules/@dropins/tools/src/lib';
|
|
18
18
|
import { RequisitionList } from '../../data/models/requisitionList';
|
|
19
19
|
import { Item } from '../../data/models/item';
|
|
20
20
|
export interface RequisitionListHeaderProps {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* from Adobe.
|
|
16
16
|
*******************************************************************/
|
|
17
17
|
import { HTMLAttributes } from 'preact/compat';
|
|
18
|
-
import { Container } from '
|
|
18
|
+
import { Container } from '../../../node_modules/@dropins/tools/src/lib';
|
|
19
19
|
export interface RequisitionListSelectorProps extends HTMLAttributes<HTMLDivElement> {
|
|
20
20
|
canCreate?: boolean;
|
|
21
21
|
sku: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Item, Product } from '../../data/models/item';
|
|
2
|
-
import { Container } from '
|
|
2
|
+
import { Container } from '../../../node_modules/@dropins/tools/src/lib';
|
|
3
3
|
import { HTMLAttributes } from 'preact/compat';
|
|
4
4
|
export interface RequisitionListViewProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
5
|
/**
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* is strictly forbidden unless prior written permission is obtained
|
|
15
15
|
* from Adobe.
|
|
16
16
|
*******************************************************************/
|
|
17
|
-
import { Container } from '
|
|
17
|
+
import { Container } from '../../../node_modules/@dropins/tools/src/lib';
|
|
18
18
|
import { ShareRequisitionListByEmailError } from '../../api/shareRequisitionListByEmail';
|
|
19
19
|
export interface ShareRequisitionListContentProps {
|
|
20
20
|
requisitionListUid: string;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* is strictly forbidden unless prior written permission is obtained
|
|
15
15
|
* from Adobe.
|
|
16
16
|
*******************************************************************/
|
|
17
|
-
import { Container } from '
|
|
17
|
+
import { Container } from '../../../node_modules/@dropins/tools/src/lib';
|
|
18
18
|
export interface SharedRequisitionListProps {
|
|
19
19
|
/**
|
|
20
20
|
* The share token from the URL (e.g. from ?requisition_id=<token>).
|
package/package.json
CHANGED
package/render/render.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Render } from '
|
|
1
|
+
import { Render } from '../../node_modules/@dropins/tools/src/lib';
|
|
2
2
|
export declare const render: Render;
|