@licklist/design 0.69.1-dev.4 → 0.69.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/affiliate/form/AffiliateForm.d.ts.map +1 -1
- package/dist/auth/Login/LoginComponent.js +1 -2
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts +1 -2
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +2 -3
- package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts +1 -2
- package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.js +24 -50
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +0 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +2 -3
- package/dist/iframe/activity-card/ActivityCard.d.ts +4 -5
- package/dist/iframe/activity-card/ActivityCard.d.ts.map +1 -1
- package/dist/iframe/activity-card/ActivityCard.js +40 -52
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +0 -13
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +0 -2
- package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts +2 -2
- package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.js +2 -8
- package/dist/iframe/ryft/utils/ryft-form.d.ts +1 -2
- package/dist/iframe/ryft/utils/ryft-form.d.ts.map +1 -1
- package/dist/iframe/ryft/utils/ryft-form.js +1 -20
- package/dist/index.js +0 -1
- package/dist/layout/DropDown.d.ts +1 -2
- package/dist/layout/DropDown.d.ts.map +1 -1
- package/dist/modals/confirmation/ConfirmModal.d.ts +1 -3
- package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
- package/dist/modals/confirmation/ConfirmModal.js +8 -172
- package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
- package/dist/notification/email-template/control/EmailTemplateControl.js +0 -3
- package/dist/product-set/card/ProductSetCard.d.ts +2 -6
- package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
- package/dist/product-set/card/ProductSetCard.js +11 -30
- package/dist/product-set/control/DateInput.d.ts.map +1 -1
- package/dist/product-set/control/DateInput.js +2 -2
- package/dist/product-set/control/ProductSetControl.d.ts +0 -4
- package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
- package/dist/product-set/control/ProductSetControl.js +3 -24
- package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductCategoriesControl.js +2 -48
- package/dist/product-set/form/ProductSetForm.d.ts +1 -4
- package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
- package/dist/product-set/form/ProductSetForm.js +1 -64
- package/dist/product-set/form/ProductZonesControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductZonesControl.js +2 -0
- package/dist/product-set/form/ProductsControl.js +0 -1
- package/dist/product-set/form/SelectCategoryModal.d.ts +0 -12
- package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
- package/dist/product-set/form/SelectCategoryModal.js +1 -1
- package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
- package/dist/product-set/form/SubProductsControl.js +3 -0
- package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
- package/dist/product-set/form/VenueMapsControl.js +3 -0
- package/dist/product-set/form/index.d.ts +0 -1
- package/dist/product-set/form/index.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.d.ts.map +1 -1
- package/dist/product-set/product/booking-management/ProductBookingManagementControl.d.ts.map +1 -1
- package/dist/product-set/product/booking-management/ProductBookingManagementControl.js +0 -6
- package/dist/product-set/product/deposit/ProductDepositControl.d.ts.map +1 -1
- package/dist/product-set/product/deposit/ProductDepositControl.js +0 -3
- package/dist/product-set/product/duration/ProductDurationControl.d.ts.map +1 -1
- package/dist/product-set/product/duration/ProductDurationControl.js +0 -6
- package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
- package/dist/product-set/product/price/ProductPriceControl.js +0 -3
- package/dist/product-set/product/quantity/ProductQuantityConstantControl.d.ts.map +1 -1
- package/dist/product-set/product/quantity/ProductQuantityConstantControl.js +0 -6
- package/dist/product-set/product/quantity/ProductQuantityControl.d.ts.map +1 -1
- package/dist/product-set/product/quantity/ProductQuantityControl.js +0 -6
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +1 -4
- package/dist/product-set/product-category/ProductCategoryControl.d.ts.map +1 -1
- package/dist/product-set/product-category/ProductCategoryControl.js +0 -12
- package/dist/product-set/utils/index.d.ts +0 -7
- package/dist/product-set/utils/index.d.ts.map +1 -1
- package/dist/product-set/utils/index.js +1 -10
- package/dist/recurrence-input/RecurrenceEndInput.d.ts.map +1 -1
- package/dist/recurrence-input/RecurrenceEndInput.js +0 -3
- package/dist/recurring-date-picker-input/RecurrenceEndInput.d.ts.map +1 -1
- package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
- package/dist/resource/form/components/CapacityControl.js +0 -3
- package/dist/resource/form/components/SortControl.d.ts.map +1 -1
- package/dist/resource/form/components/SortControl.js +0 -3
- package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
- package/dist/sales/booking/results/components/ResultCard.js +2 -0
- package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
- package/dist/sales/coupon/control/CouponFormControl.js +0 -21
- package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
- package/dist/setting/admin/PaymentFeeForm.js +1 -16
- package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/DashboardSettingForm.js +1 -4
- package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
- package/dist/snippet/snippet-template/preview/Preview.js +0 -6
- package/dist/sortable-tree/SortableTreeItem.d.ts +1 -2
- package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
- package/dist/sortable-tree/SortableTreeItem.js +4 -10
- package/dist/static/CurrencyNumberInput.d.ts.map +1 -1
- package/dist/static/CurrencyNumberInput.js +0 -3
- package/dist/static/form-number-input/FormNumberInput.d.ts.map +1 -1
- package/dist/static/form-number-input/FormNumberInput.js +0 -3
- package/dist/static/number-input/NumberInput.d.ts.map +1 -1
- package/dist/static/number-input/NumberInput.js +0 -3
- package/dist/styles/activity-card/{ActivitiesCard.scss → GridActivitiesCard.scss} +5 -19
- package/dist/styles/activity-card/ListActivitiesCard.scss +42 -12
- package/dist/styles/activity-card/_index.scss +1 -1
- package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
- package/dist/styles/product-set/ProductSetForm.scss +0 -22
- package/dist/styles/ryft-payment-form/RyftPaymentForm.scss +1 -28
- package/dist/styles/sales/BookingResults.scss +1 -1
- package/dist/typeahead/Typeahead.d.ts +1 -5
- package/dist/typeahead/Typeahead.d.ts.map +1 -1
- package/dist/typeahead/Typeahead.js +2 -9
- package/dist/zone/form/components/GameDurationControl.d.ts.map +1 -1
- package/dist/zone/form/components/GameDurationControl.js +0 -3
- package/dist/zone/form/components/SortControl.d.ts.map +1 -1
- package/dist/zone/form/components/SortControl.js +0 -3
- package/package.json +6 -8
- package/src/affiliate/form/AffiliateForm.tsx +0 -1
- package/src/auth/Login/LoginComponent.tsx +1 -1
- package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +2 -3
- package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +86 -85
- package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +1 -2
- package/src/iframe/activity-card/ActivityCard.tsx +24 -35
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +0 -9
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +0 -1
- package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +0 -1
- package/src/iframe/ryft/RyftPaymentForm.tsx +5 -13
- package/src/iframe/ryft/utils/ryft-form.ts +2 -26
- package/src/layout/DropDown.tsx +1 -1
- package/src/modals/confirmation/ConfirmModal.tsx +3 -19
- package/src/notification/email-template/control/EmailTemplateControl.tsx +0 -1
- package/src/product-set/card/ProductSetCard.tsx +8 -47
- package/src/product-set/control/DateInput.tsx +1 -2
- package/src/product-set/control/ProductSetControl.tsx +52 -46
- package/src/product-set/form/ProductCategoriesControl.tsx +1 -37
- package/src/product-set/form/ProductSetForm.tsx +2 -24
- package/src/product-set/form/ProductZonesControl.tsx +4 -1
- package/src/product-set/form/SelectCategoryModal.tsx +2 -2
- package/src/product-set/form/SubProductsControl.tsx +3 -0
- package/src/product-set/form/VenueMapsControl.tsx +3 -0
- package/src/product-set/form/index.ts +0 -1
- package/src/product-set/product/ProductControl.tsx +1 -0
- package/src/product-set/product/advanced-options/AdvancedOptions.tsx +1 -1
- package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +0 -2
- package/src/product-set/product/deposit/ProductDepositControl.tsx +0 -1
- package/src/product-set/product/duration/ProductDurationControl.tsx +0 -2
- package/src/product-set/product/price/ProductPriceControl.tsx +0 -1
- package/src/product-set/product/quantity/ProductQuantityConstantControl.tsx +0 -2
- package/src/product-set/product/quantity/ProductQuantityControl.tsx +0 -2
- package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +0 -1
- package/src/product-set/product-category/ProductCategoryControl.tsx +0 -4
- package/src/product-set/product-zone/ProductZoneControl.tsx +1 -1
- package/src/product-set/utils/index.ts +0 -11
- package/src/recurrence-input/RecurrenceEndInput.tsx +0 -1
- package/src/recurring-date-picker-input/RecurrenceEndInput.tsx +0 -1
- package/src/resource/form/components/CapacityControl.tsx +0 -1
- package/src/resource/form/components/SortControl.tsx +0 -1
- package/src/sales/booking/results/components/ResultCard.tsx +2 -0
- package/src/sales/coupon/control/CouponFormControl.tsx +0 -7
- package/src/setting/admin/PaymentFeeForm.tsx +0 -5
- package/src/setting/dashboard/DashboardSettingForm.tsx +0 -1
- package/src/snippet/snippet-template/preview/Preview.tsx +0 -6
- package/src/sortable-tree/SortableTreeItem.tsx +0 -6
- package/src/static/CurrencyNumberInput.tsx +0 -1
- package/src/static/form-number-input/FormNumberInput.tsx +0 -1
- package/src/static/number-input/NumberInput.tsx +0 -1
- package/src/styles/activity-card/{ActivitiesCard.scss → GridActivitiesCard.scss} +5 -19
- package/src/styles/activity-card/ListActivitiesCard.scss +42 -12
- package/src/styles/activity-card/_index.scss +1 -1
- package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
- package/src/styles/product-set/ProductSetForm.scss +0 -22
- package/src/styles/ryft-payment-form/RyftPaymentForm.scss +1 -28
- package/src/styles/sales/BookingResults.scss +1 -1
- package/src/typeahead/Typeahead.tsx +1 -15
- package/src/zone/form/components/GameDurationControl.tsx +0 -1
- package/src/zone/form/components/SortControl.tsx +0 -1
- package/yarn.lock +32 -58
- package/dist/product-set/control/ProductSetImageControl.d.ts +0 -2
- package/dist/product-set/control/ProductSetImageControl.d.ts.map +0 -1
- package/dist/product-set/control/ProductSetImageControl.js +0 -279
- package/dist/product-set/form/ProductSetNameControl.d.ts +0 -6
- package/dist/product-set/form/ProductSetNameControl.d.ts.map +0 -1
- package/dist/product-set/form/ProductSetNameControl.js +0 -35
- package/src/product-set/control/ProductSetImageControl.tsx +0 -97
- package/src/product-set/form/ProductSetNameControl.tsx +0 -27
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
|
|
15
15
|
.navigation {
|
|
16
16
|
display: block;
|
|
17
|
-
|
|
18
17
|
@include media-breakpoint-down(sm) {
|
|
19
18
|
padding: 0;
|
|
20
19
|
}
|
|
@@ -24,7 +23,6 @@
|
|
|
24
23
|
margin-left: 0;
|
|
25
24
|
height: calc(100vh - 2rem);
|
|
26
25
|
max-height: calc(100vh - 1rem);
|
|
27
|
-
|
|
28
26
|
@include media-breakpoint-down(sm) {
|
|
29
27
|
width: calc(100% - 2rem);
|
|
30
28
|
max-width: unset;
|
|
@@ -71,11 +69,9 @@
|
|
|
71
69
|
.left-block {
|
|
72
70
|
min-height: 100%;
|
|
73
71
|
}
|
|
74
|
-
|
|
75
72
|
.right-block {
|
|
76
73
|
margin: 0 auto;
|
|
77
74
|
width: 100%;
|
|
78
|
-
|
|
79
75
|
.children-wrapper {
|
|
80
76
|
.accordion {
|
|
81
77
|
.collapse {
|
|
@@ -89,7 +85,6 @@
|
|
|
89
85
|
}
|
|
90
86
|
}
|
|
91
87
|
}
|
|
92
|
-
|
|
93
88
|
::-webkit-scrollbar {
|
|
94
89
|
display: none;
|
|
95
90
|
scrollbar-width: none;
|
|
@@ -102,14 +97,6 @@
|
|
|
102
97
|
}
|
|
103
98
|
|
|
104
99
|
.ryft-payment-form {
|
|
105
|
-
|
|
106
|
-
.form-disable-box {
|
|
107
|
-
display: none;
|
|
108
|
-
position: absolute;
|
|
109
|
-
width: 100%;
|
|
110
|
-
height: 100%;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
100
|
.submit-button-wrapper {
|
|
114
101
|
margin: -1rem 0 1rem;
|
|
115
102
|
|
|
@@ -117,18 +104,15 @@
|
|
|
117
104
|
width: 100%;
|
|
118
105
|
}
|
|
119
106
|
}
|
|
120
|
-
|
|
121
107
|
#mobile-pay-divider-container {
|
|
122
108
|
display: flex;
|
|
123
109
|
position: relative;
|
|
124
110
|
margin-bottom: 1rem;
|
|
125
|
-
|
|
126
111
|
#mobile-pay-divider-text {
|
|
127
112
|
margin-right: 1rem;
|
|
128
113
|
font-size: 0.875rem;
|
|
129
114
|
font-weight: 600;
|
|
130
115
|
}
|
|
131
|
-
|
|
132
116
|
#mobile-pay-divider {
|
|
133
117
|
width: 100%;
|
|
134
118
|
border-bottom: 1px #dfdfdf solid;
|
|
@@ -141,7 +125,6 @@
|
|
|
141
125
|
border: none;
|
|
142
126
|
margin-bottom: 0.5rem;
|
|
143
127
|
text-align: left;
|
|
144
|
-
|
|
145
128
|
:first-child {
|
|
146
129
|
font-size: 1rem;
|
|
147
130
|
font-weight: 600;
|
|
@@ -152,17 +135,14 @@
|
|
|
152
135
|
margin-bottom: 0.5rem;
|
|
153
136
|
}
|
|
154
137
|
}
|
|
155
|
-
|
|
156
138
|
.ryft-pay-grid {
|
|
157
139
|
display: flex;
|
|
158
140
|
flex-direction: column;
|
|
159
|
-
|
|
160
141
|
.apple-pay-button {
|
|
161
142
|
height: 2.5rem;
|
|
162
143
|
margin-top: 1rem;
|
|
163
144
|
}
|
|
164
145
|
}
|
|
165
|
-
|
|
166
146
|
.mobile-pay-title {
|
|
167
147
|
display: block;
|
|
168
148
|
font-weight: 600;
|
|
@@ -176,16 +156,10 @@
|
|
|
176
156
|
}
|
|
177
157
|
|
|
178
158
|
@include media-breakpoint-up(md) {
|
|
179
|
-
|
|
180
159
|
.ryft-payment-form,
|
|
181
|
-
.form-disable-box {
|
|
182
|
-
height: 50%;
|
|
183
|
-
top: 15rem;
|
|
184
|
-
}
|
|
185
160
|
.iframe-payment-form {
|
|
186
161
|
position: relative;
|
|
187
162
|
max-height: 300px !important;
|
|
188
|
-
|
|
189
163
|
.submit-button-wrapper {
|
|
190
164
|
max-width: 15.5rem;
|
|
191
165
|
}
|
|
@@ -197,7 +171,6 @@
|
|
|
197
171
|
max-width: 15.5rem;
|
|
198
172
|
margin-bottom: 1rem;
|
|
199
173
|
}
|
|
200
|
-
|
|
201
174
|
.ryft-pay-apple-pay-button {
|
|
202
175
|
border-radius: 0.25rem;
|
|
203
176
|
}
|
|
@@ -205,4 +178,4 @@
|
|
|
205
178
|
.divider {
|
|
206
179
|
display: none !important;
|
|
207
180
|
}
|
|
208
|
-
}
|
|
181
|
+
}
|
|
@@ -12,13 +12,10 @@ export interface TypeaheadProps {
|
|
|
12
12
|
placeholder: string
|
|
13
13
|
isRequired?: boolean
|
|
14
14
|
name: string
|
|
15
|
-
value?: TypeaheadOptions
|
|
16
15
|
isMultipleChoise?: boolean
|
|
17
16
|
noOptionsMessage: string
|
|
18
17
|
isInvalid?: boolean
|
|
19
18
|
isCouponForm?: boolean
|
|
20
|
-
containerStyles?: CSSObjectWithLabel
|
|
21
|
-
onChangeValue?: (value: TypeaheadOptions) => void
|
|
22
19
|
}
|
|
23
20
|
|
|
24
21
|
function Typeahead({
|
|
@@ -27,9 +24,6 @@ function Typeahead({
|
|
|
27
24
|
isRequired = false,
|
|
28
25
|
isMultipleChoise,
|
|
29
26
|
name = '',
|
|
30
|
-
value,
|
|
31
|
-
onChangeValue,
|
|
32
|
-
containerStyles,
|
|
33
27
|
isCouponForm = false,
|
|
34
28
|
noOptionsMessage = '',
|
|
35
29
|
isInvalid,
|
|
@@ -59,23 +53,15 @@ function Typeahead({
|
|
|
59
53
|
render={({ field }) => (
|
|
60
54
|
<Select
|
|
61
55
|
placeholder={placeholder}
|
|
62
|
-
value={
|
|
56
|
+
value={field.value}
|
|
63
57
|
isMulti={isMultipleChoise}
|
|
64
58
|
styles={{
|
|
65
|
-
container: (base) => ({
|
|
66
|
-
...base,
|
|
67
|
-
...containerStyles,
|
|
68
|
-
}),
|
|
69
59
|
control: (base) => ({
|
|
70
60
|
...base,
|
|
71
61
|
...getStyle(),
|
|
72
62
|
}),
|
|
73
63
|
}}
|
|
74
64
|
onChange={(value) => {
|
|
75
|
-
if (onChangeValue) {
|
|
76
|
-
onChangeValue(value)
|
|
77
|
-
return
|
|
78
|
-
}
|
|
79
65
|
field.onChange(value)
|
|
80
66
|
}}
|
|
81
67
|
options={options}
|
package/yarn.lock
CHANGED
|
@@ -2453,35 +2453,9 @@ __metadata:
|
|
|
2453
2453
|
languageName: node
|
|
2454
2454
|
linkType: hard
|
|
2455
2455
|
|
|
2456
|
-
"@licklist/core@npm:0.
|
|
2457
|
-
version: 0.
|
|
2458
|
-
resolution: "@licklist/core@npm:0.
|
|
2459
|
-
dependencies:
|
|
2460
|
-
"@sentry/browser": "npm:6.2.0"
|
|
2461
|
-
axios: "npm:0.26.0"
|
|
2462
|
-
i18next: "npm:19.4.5"
|
|
2463
|
-
luxon: "npm:3.5.0"
|
|
2464
|
-
react: "npm:17.0.2"
|
|
2465
|
-
react-dom: "npm:17.0.2"
|
|
2466
|
-
react-i18next: "npm:11.8.8"
|
|
2467
|
-
react-intl: "npm:6.6.8"
|
|
2468
|
-
uuid: "npm:9.0.0"
|
|
2469
|
-
wait-for-expect: "npm:3.0.2"
|
|
2470
|
-
peerDependencies:
|
|
2471
|
-
"@licklist/eslint-config": 0.5.5
|
|
2472
|
-
axios: 0.26.0
|
|
2473
|
-
luxon: 3.5.0
|
|
2474
|
-
react: 17.0.2
|
|
2475
|
-
react-dom: 17.0.2
|
|
2476
|
-
react-i18next: 11.8.8
|
|
2477
|
-
react-intl: 6.6.8
|
|
2478
|
-
checksum: 10c0/cacb058eb075b8e42fe9135877aa90f5104b661a0a99addbadfe916604ee35d468d07f9ce4e349fad573015044977bf77821b92dc385bab23393bc4d72677c4f
|
|
2479
|
-
languageName: node
|
|
2480
|
-
linkType: hard
|
|
2481
|
-
|
|
2482
|
-
"@licklist/core@npm:0.30.0-dev.0":
|
|
2483
|
-
version: 0.30.0-dev.0
|
|
2484
|
-
resolution: "@licklist/core@npm:0.30.0-dev.0"
|
|
2456
|
+
"@licklist/core@npm:0.30.1":
|
|
2457
|
+
version: 0.30.1
|
|
2458
|
+
resolution: "@licklist/core@npm:0.30.1"
|
|
2485
2459
|
dependencies:
|
|
2486
2460
|
"@sentry/browser": "npm:6.2.0"
|
|
2487
2461
|
axios: "npm:0.26.0"
|
|
@@ -2501,7 +2475,7 @@ __metadata:
|
|
|
2501
2475
|
react-dom: 17.0.2
|
|
2502
2476
|
react-i18next: 11.8.8
|
|
2503
2477
|
react-intl: 6.6.8
|
|
2504
|
-
checksum: 10c0/
|
|
2478
|
+
checksum: 10c0/2b3ec4eebfffd120e188825beb607864dfc85ddc6f5cd834e6c7b99b0191171936da0299441f2a91721d70ebb196279b6b72d8e9ec37fc21d4f51f97400b8475
|
|
2505
2479
|
languageName: node
|
|
2506
2480
|
linkType: hard
|
|
2507
2481
|
|
|
@@ -2516,9 +2490,9 @@ __metadata:
|
|
|
2516
2490
|
"@dnd-kit/utilities": "npm:2.0.0"
|
|
2517
2491
|
"@fortawesome/fontawesome-svg-core": "npm:1.2.34"
|
|
2518
2492
|
"@fortawesome/free-solid-svg-icons": "npm:5.15.2"
|
|
2519
|
-
"@licklist/core": "npm:0.30.
|
|
2493
|
+
"@licklist/core": "npm:0.30.1"
|
|
2520
2494
|
"@licklist/eslint-config": "npm:0.5.6"
|
|
2521
|
-
"@licklist/plugins": "npm:0.33.
|
|
2495
|
+
"@licklist/plugins": "npm:0.33.1"
|
|
2522
2496
|
"@mantine/core": "npm:6.0.22"
|
|
2523
2497
|
"@mantine/hooks": "npm:6.0.22"
|
|
2524
2498
|
"@mdx-js/react": "npm:1.6.22"
|
|
@@ -2647,9 +2621,9 @@ __metadata:
|
|
|
2647
2621
|
vite-plugin-svgr: "npm:4.2.0"
|
|
2648
2622
|
vite-tsconfig-paths: "npm:5.0.1"
|
|
2649
2623
|
peerDependencies:
|
|
2650
|
-
"@licklist/core": 0.30.
|
|
2624
|
+
"@licklist/core": 0.30.1
|
|
2651
2625
|
"@licklist/eslint-config": 0.5.6
|
|
2652
|
-
"@licklist/plugins": 0.33.
|
|
2626
|
+
"@licklist/plugins": 0.33.1
|
|
2653
2627
|
lodash: 4.17.21
|
|
2654
2628
|
luxon: 3.5.0
|
|
2655
2629
|
react: 17.0.2
|
|
@@ -2679,11 +2653,11 @@ __metadata:
|
|
|
2679
2653
|
languageName: node
|
|
2680
2654
|
linkType: hard
|
|
2681
2655
|
|
|
2682
|
-
"@licklist/plugins@npm:0.33.
|
|
2683
|
-
version: 0.33.
|
|
2684
|
-
resolution: "@licklist/plugins@npm:0.33.
|
|
2656
|
+
"@licklist/plugins@npm:0.33.1":
|
|
2657
|
+
version: 0.33.1
|
|
2658
|
+
resolution: "@licklist/plugins@npm:0.33.1"
|
|
2685
2659
|
dependencies:
|
|
2686
|
-
"@licklist/core": "npm:0.
|
|
2660
|
+
"@licklist/core": "npm:0.30.1"
|
|
2687
2661
|
"@ungap/url-search-params": "npm:0.2.2"
|
|
2688
2662
|
axios: "npm:0.26.0"
|
|
2689
2663
|
history: "npm:4.10.1"
|
|
@@ -2704,7 +2678,7 @@ __metadata:
|
|
|
2704
2678
|
rrule: "npm:2.6.8"
|
|
2705
2679
|
use-debounce: "npm:7.0.1"
|
|
2706
2680
|
peerDependencies:
|
|
2707
|
-
"@licklist/core": 0.
|
|
2681
|
+
"@licklist/core": 0.30.1
|
|
2708
2682
|
"@licklist/eslint-config": 0.5.6
|
|
2709
2683
|
axios: 0.26.0
|
|
2710
2684
|
lodash: 4.17.21
|
|
@@ -2716,7 +2690,7 @@ __metadata:
|
|
|
2716
2690
|
react-loader: 2.4.7
|
|
2717
2691
|
react-query: 3.34.12
|
|
2718
2692
|
react-router-dom: 5.2.0
|
|
2719
|
-
checksum: 10c0/
|
|
2693
|
+
checksum: 10c0/9f9cba3fcf3b2543c1b781233c0cfa2d6638ff47edde93ed3500ea4dfe12f7940380e9d79b6051b6cc8eb5cb26cdbb97fcd412b83bfd3dce7cd1c34835f975a7
|
|
2720
2694
|
languageName: node
|
|
2721
2695
|
linkType: hard
|
|
2722
2696
|
|
|
@@ -6578,11 +6552,11 @@ __metadata:
|
|
|
6578
6552
|
linkType: hard
|
|
6579
6553
|
|
|
6580
6554
|
"acorn@npm:^8.12.1, acorn@npm:^8.5.0, acorn@npm:^8.8.2":
|
|
6581
|
-
version: 8.
|
|
6582
|
-
resolution: "acorn@npm:8.
|
|
6555
|
+
version: 8.12.1
|
|
6556
|
+
resolution: "acorn@npm:8.12.1"
|
|
6583
6557
|
bin:
|
|
6584
6558
|
acorn: bin/acorn
|
|
6585
|
-
checksum: 10c0/
|
|
6559
|
+
checksum: 10c0/51fb26cd678f914e13287e886da2d7021f8c2bc0ccc95e03d3e0447ee278dd3b40b9c57dc222acd5881adcf26f3edc40901a4953403232129e3876793cd17386
|
|
6586
6560
|
languageName: node
|
|
6587
6561
|
linkType: hard
|
|
6588
6562
|
|
|
@@ -8057,9 +8031,9 @@ __metadata:
|
|
|
8057
8031
|
linkType: hard
|
|
8058
8032
|
|
|
8059
8033
|
"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001109, caniuse-lite@npm:^1.0.30001125, caniuse-lite@npm:^1.0.30001646, caniuse-lite@npm:^1.0.30001663":
|
|
8060
|
-
version: 1.0.
|
|
8061
|
-
resolution: "caniuse-lite@npm:1.0.
|
|
8062
|
-
checksum: 10c0/
|
|
8034
|
+
version: 1.0.30001668
|
|
8035
|
+
resolution: "caniuse-lite@npm:1.0.30001668"
|
|
8036
|
+
checksum: 10c0/247b3200aeec55038f3a11f3e6ab66f656c54d30df7b01d8d447efaba9af96ad3e17128da2ddd42ddc9cb6c286bac65b634a20955b3cc6619be7ca4601fddc8e
|
|
8063
8037
|
languageName: node
|
|
8064
8038
|
linkType: hard
|
|
8065
8039
|
|
|
@@ -9816,9 +9790,9 @@ __metadata:
|
|
|
9816
9790
|
linkType: hard
|
|
9817
9791
|
|
|
9818
9792
|
"electron-to-chromium@npm:^1.3.564, electron-to-chromium@npm:^1.5.28":
|
|
9819
|
-
version: 1.5.
|
|
9820
|
-
resolution: "electron-to-chromium@npm:1.5.
|
|
9821
|
-
checksum: 10c0/
|
|
9793
|
+
version: 1.5.36
|
|
9794
|
+
resolution: "electron-to-chromium@npm:1.5.36"
|
|
9795
|
+
checksum: 10c0/cd8d0de7801107f2b2744b5b18641c969a49b0503996cc1a586bb79d893020d0c4e916ac1935603eea65104b4fc1096bc339e0151531dca9e0f0ce0c1882e2d8
|
|
9822
9796
|
languageName: node
|
|
9823
9797
|
linkType: hard
|
|
9824
9798
|
|
|
@@ -10910,9 +10884,9 @@ __metadata:
|
|
|
10910
10884
|
linkType: hard
|
|
10911
10885
|
|
|
10912
10886
|
"fast-uri@npm:^3.0.1":
|
|
10913
|
-
version: 3.0.
|
|
10914
|
-
resolution: "fast-uri@npm:3.0.
|
|
10915
|
-
checksum: 10c0/
|
|
10887
|
+
version: 3.0.2
|
|
10888
|
+
resolution: "fast-uri@npm:3.0.2"
|
|
10889
|
+
checksum: 10c0/8cdd3da7b4022a037d348d587d55caff74b7e4f862bbdd2cc35c1e6e3f97d0aedb567894d44c57ee8798d3192cceb97dcf41dbdabfa07dd2842a0474a6c6eeef
|
|
10916
10890
|
languageName: node
|
|
10917
10891
|
linkType: hard
|
|
10918
10892
|
|
|
@@ -14165,12 +14139,12 @@ __metadata:
|
|
|
14165
14139
|
linkType: hard
|
|
14166
14140
|
|
|
14167
14141
|
"match-sorter@npm:^6.0.2":
|
|
14168
|
-
version: 6.4
|
|
14169
|
-
resolution: "match-sorter@npm:6.4
|
|
14142
|
+
version: 6.3.4
|
|
14143
|
+
resolution: "match-sorter@npm:6.3.4"
|
|
14170
14144
|
dependencies:
|
|
14171
14145
|
"@babel/runtime": "npm:^7.23.8"
|
|
14172
14146
|
remove-accents: "npm:0.5.0"
|
|
14173
|
-
checksum: 10c0/
|
|
14147
|
+
checksum: 10c0/35d2a6b6df003c677d9ec87ecd4683657638f5bce856f43f9cf90b03e357ed2f09813ebbac759defa7e7438706936dd34dc2bfe1a18771f7d2541f14d639b4ad
|
|
14174
14148
|
languageName: node
|
|
14175
14149
|
linkType: hard
|
|
14176
14150
|
|
|
@@ -20546,9 +20520,9 @@ __metadata:
|
|
|
20546
20520
|
linkType: hard
|
|
20547
20521
|
|
|
20548
20522
|
"tslib@npm:^2, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.3.0, tslib@npm:^2.4.0":
|
|
20549
|
-
version: 2.
|
|
20550
|
-
resolution: "tslib@npm:2.
|
|
20551
|
-
checksum: 10c0/
|
|
20523
|
+
version: 2.7.0
|
|
20524
|
+
resolution: "tslib@npm:2.7.0"
|
|
20525
|
+
checksum: 10c0/469e1d5bf1af585742128827000711efa61010b699cb040ab1800bcd3ccdd37f63ec30642c9e07c4439c1db6e46345582614275daca3e0f4abae29b0083f04a6
|
|
20552
20526
|
languageName: node
|
|
20553
20527
|
linkType: hard
|
|
20554
20528
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductSetImageControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/ProductSetImageControl.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,sBAAsB,+CAsFlC,CAAA"}
|
|
@@ -1,279 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { useFormContext } from 'react-hook-form';
|
|
3
|
-
import { useImages, HookFormService } from '@licklist/plugins';
|
|
4
|
-
import { IMAGE_TYPE_IMAGE } from '@licklist/core/dist/DataMapper/Media/ImageDataMapper';
|
|
5
|
-
import { useCallback, useEffect } from 'react';
|
|
6
|
-
import { Form } from 'react-bootstrap';
|
|
7
|
-
import { FileUpload } from '../../file-upload/FileUpload.js';
|
|
8
|
-
import { useTranslation } from 'react-i18next';
|
|
9
|
-
import { isEqual } from 'lodash';
|
|
10
|
-
|
|
11
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
12
|
-
try {
|
|
13
|
-
var info = gen[key](arg);
|
|
14
|
-
var value = info.value;
|
|
15
|
-
} catch (error) {
|
|
16
|
-
reject(error);
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
if (info.done) {
|
|
20
|
-
resolve(value);
|
|
21
|
-
} else {
|
|
22
|
-
Promise.resolve(value).then(_next, _throw);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
function _async_to_generator(fn) {
|
|
26
|
-
return function() {
|
|
27
|
-
var self = this, args = arguments;
|
|
28
|
-
return new Promise(function(resolve, reject) {
|
|
29
|
-
var gen = fn.apply(self, args);
|
|
30
|
-
function _next(value) {
|
|
31
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
32
|
-
}
|
|
33
|
-
function _throw(err) {
|
|
34
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
35
|
-
}
|
|
36
|
-
_next(undefined);
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function _define_property(obj, key, value) {
|
|
41
|
-
if (key in obj) {
|
|
42
|
-
Object.defineProperty(obj, key, {
|
|
43
|
-
value: value,
|
|
44
|
-
enumerable: true,
|
|
45
|
-
configurable: true,
|
|
46
|
-
writable: true
|
|
47
|
-
});
|
|
48
|
-
} else {
|
|
49
|
-
obj[key] = value;
|
|
50
|
-
}
|
|
51
|
-
return obj;
|
|
52
|
-
}
|
|
53
|
-
function _object_spread(target) {
|
|
54
|
-
for(var i = 1; i < arguments.length; i++){
|
|
55
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
56
|
-
var ownKeys = Object.keys(source);
|
|
57
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
58
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
59
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
60
|
-
}));
|
|
61
|
-
}
|
|
62
|
-
ownKeys.forEach(function(key) {
|
|
63
|
-
_define_property(target, key, source[key]);
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
return target;
|
|
67
|
-
}
|
|
68
|
-
function ownKeys(object, enumerableOnly) {
|
|
69
|
-
var keys = Object.keys(object);
|
|
70
|
-
if (Object.getOwnPropertySymbols) {
|
|
71
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
72
|
-
if (enumerableOnly) {
|
|
73
|
-
symbols = symbols.filter(function(sym) {
|
|
74
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
keys.push.apply(keys, symbols);
|
|
78
|
-
}
|
|
79
|
-
return keys;
|
|
80
|
-
}
|
|
81
|
-
function _object_spread_props(target, source) {
|
|
82
|
-
source = source != null ? source : {};
|
|
83
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
84
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
85
|
-
} else {
|
|
86
|
-
ownKeys(Object(source)).forEach(function(key) {
|
|
87
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
return target;
|
|
91
|
-
}
|
|
92
|
-
function _ts_generator(thisArg, body) {
|
|
93
|
-
var f, y, t, g, _ = {
|
|
94
|
-
label: 0,
|
|
95
|
-
sent: function() {
|
|
96
|
-
if (t[0] & 1) throw t[1];
|
|
97
|
-
return t[1];
|
|
98
|
-
},
|
|
99
|
-
trys: [],
|
|
100
|
-
ops: []
|
|
101
|
-
};
|
|
102
|
-
return g = {
|
|
103
|
-
next: verb(0),
|
|
104
|
-
"throw": verb(1),
|
|
105
|
-
"return": verb(2)
|
|
106
|
-
}, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
107
|
-
return this;
|
|
108
|
-
}), g;
|
|
109
|
-
function verb(n) {
|
|
110
|
-
return function(v) {
|
|
111
|
-
return step([
|
|
112
|
-
n,
|
|
113
|
-
v
|
|
114
|
-
]);
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
function step(op) {
|
|
118
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
119
|
-
while(_)try {
|
|
120
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
121
|
-
if (y = 0, t) op = [
|
|
122
|
-
op[0] & 2,
|
|
123
|
-
t.value
|
|
124
|
-
];
|
|
125
|
-
switch(op[0]){
|
|
126
|
-
case 0:
|
|
127
|
-
case 1:
|
|
128
|
-
t = op;
|
|
129
|
-
break;
|
|
130
|
-
case 4:
|
|
131
|
-
_.label++;
|
|
132
|
-
return {
|
|
133
|
-
value: op[1],
|
|
134
|
-
done: false
|
|
135
|
-
};
|
|
136
|
-
case 5:
|
|
137
|
-
_.label++;
|
|
138
|
-
y = op[1];
|
|
139
|
-
op = [
|
|
140
|
-
0
|
|
141
|
-
];
|
|
142
|
-
continue;
|
|
143
|
-
case 7:
|
|
144
|
-
op = _.ops.pop();
|
|
145
|
-
_.trys.pop();
|
|
146
|
-
continue;
|
|
147
|
-
default:
|
|
148
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
149
|
-
_ = 0;
|
|
150
|
-
continue;
|
|
151
|
-
}
|
|
152
|
-
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
153
|
-
_.label = op[1];
|
|
154
|
-
break;
|
|
155
|
-
}
|
|
156
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
157
|
-
_.label = t[1];
|
|
158
|
-
t = op;
|
|
159
|
-
break;
|
|
160
|
-
}
|
|
161
|
-
if (t && _.label < t[2]) {
|
|
162
|
-
_.label = t[2];
|
|
163
|
-
_.ops.push(op);
|
|
164
|
-
break;
|
|
165
|
-
}
|
|
166
|
-
if (t[2]) _.ops.pop();
|
|
167
|
-
_.trys.pop();
|
|
168
|
-
continue;
|
|
169
|
-
}
|
|
170
|
-
op = body.call(thisArg, _);
|
|
171
|
-
} catch (e) {
|
|
172
|
-
op = [
|
|
173
|
-
6,
|
|
174
|
-
e
|
|
175
|
-
];
|
|
176
|
-
y = 0;
|
|
177
|
-
} finally{
|
|
178
|
-
f = t = 0;
|
|
179
|
-
}
|
|
180
|
-
if (op[0] & 5) throw op[1];
|
|
181
|
-
return {
|
|
182
|
-
value: op[0] ? op[1] : void 0,
|
|
183
|
-
done: true
|
|
184
|
-
};
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
var ProductSetImageControl = function() {
|
|
188
|
-
var t = useTranslation('Design').t;
|
|
189
|
-
var _useFormContext = useFormContext(), errors = _useFormContext.formState.errors, setValue = _useFormContext.setValue, watch = _useFormContext.watch, clearErrors = _useFormContext.clearErrors;
|
|
190
|
-
var currentProductSet = watch();
|
|
191
|
-
var _useImages = useImages(null), images = _useImages.images, handleImageRemove = _useImages.handleImageRemove, handleImageUploading = _useImages.handleImageUploading, isImageUploading = _useImages.isLoading, setImages = _useImages.setImages;
|
|
192
|
-
var onFilesChange = useCallback(function() {
|
|
193
|
-
var _ref = _async_to_generator(function(files) {
|
|
194
|
-
var uploadedFiles;
|
|
195
|
-
return _ts_generator(this, function(_state) {
|
|
196
|
-
switch(_state.label){
|
|
197
|
-
case 0:
|
|
198
|
-
return [
|
|
199
|
-
4,
|
|
200
|
-
handleImageUploading(files, IMAGE_TYPE_IMAGE)
|
|
201
|
-
];
|
|
202
|
-
case 1:
|
|
203
|
-
uploadedFiles = _state.sent();
|
|
204
|
-
if (!uploadedFiles) return [
|
|
205
|
-
2
|
|
206
|
-
];
|
|
207
|
-
setValue('localImageBlobURL', URL.createObjectURL(files[0]));
|
|
208
|
-
return [
|
|
209
|
-
2
|
|
210
|
-
];
|
|
211
|
-
}
|
|
212
|
-
});
|
|
213
|
-
});
|
|
214
|
-
return function(files) {
|
|
215
|
-
return _ref.apply(this, arguments);
|
|
216
|
-
};
|
|
217
|
-
}(), // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
218
|
-
[
|
|
219
|
-
handleImageUploading
|
|
220
|
-
]);
|
|
221
|
-
var onImageRemove = useCallback(function(id, path) {
|
|
222
|
-
handleImageRemove(id, path);
|
|
223
|
-
setValue('localImageBlobURL', undefined);
|
|
224
|
-
}, // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
225
|
-
[
|
|
226
|
-
handleImageRemove
|
|
227
|
-
]);
|
|
228
|
-
useEffect(function() {
|
|
229
|
-
if (!currentProductSet || !currentProductSet.image) return;
|
|
230
|
-
setImages([
|
|
231
|
-
_object_spread_props(_object_spread({}, currentProductSet.image), {
|
|
232
|
-
url: currentProductSet.image.url || (currentProductSet === null || currentProductSet === void 0 ? void 0 : currentProductSet.localImageBlobURL)
|
|
233
|
-
})
|
|
234
|
-
]);
|
|
235
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
236
|
-
}, [
|
|
237
|
-
currentProductSet === null || currentProductSet === void 0 ? void 0 : currentProductSet.image
|
|
238
|
-
]);
|
|
239
|
-
useEffect(function() {
|
|
240
|
-
if (isEqual(images[0], currentProductSet === null || currentProductSet === void 0 ? void 0 : currentProductSet.image)) return;
|
|
241
|
-
setValue('image', images[0] || null);
|
|
242
|
-
if (images[0]) {
|
|
243
|
-
clearErrors('image');
|
|
244
|
-
}
|
|
245
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
246
|
-
}, [
|
|
247
|
-
images
|
|
248
|
-
]);
|
|
249
|
-
return /*#__PURE__*/ jsxs(Form.Group, {
|
|
250
|
-
controlId: "name",
|
|
251
|
-
children: [
|
|
252
|
-
/*#__PURE__*/ jsx(Form.Control, {
|
|
253
|
-
isInvalid: HookFormService.isInvalid('image', errors),
|
|
254
|
-
hidden: true
|
|
255
|
-
}),
|
|
256
|
-
/*#__PURE__*/ jsx(FileUpload, {
|
|
257
|
-
onFilesChange: onFilesChange,
|
|
258
|
-
allowedExtensions: [
|
|
259
|
-
'jpeg',
|
|
260
|
-
'jpg',
|
|
261
|
-
'png'
|
|
262
|
-
],
|
|
263
|
-
subTitle: ".jpeg .jpg .png",
|
|
264
|
-
enablePreview: true,
|
|
265
|
-
onFileRemove: onImageRemove,
|
|
266
|
-
defaultFiles: images,
|
|
267
|
-
isLoading: isImageUploading,
|
|
268
|
-
withIcon: true,
|
|
269
|
-
title: t('Design:addImage')
|
|
270
|
-
}),
|
|
271
|
-
/*#__PURE__*/ jsx(Form.Control.Feedback, {
|
|
272
|
-
type: "invalid",
|
|
273
|
-
children: HookFormService.getErrors('image', errors)
|
|
274
|
-
})
|
|
275
|
-
]
|
|
276
|
-
});
|
|
277
|
-
};
|
|
278
|
-
|
|
279
|
-
export { ProductSetImageControl };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductSetNameControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/ProductSetNameControl.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,qBAAqB,gCAI/B;IACD,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,4CAeA,CAAA"}
|