@licklist/design 0.68.2-dev.2 → 0.68.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/assets/iframe/selectArrow.svg.js +17 -0
- package/dist/auth/Login/LoginComponent.js +1 -2
- package/dist/calendar/components/CalendarButtons/CalendarButtons.d.ts.map +1 -1
- package/dist/calendar/components/CalendarButtons/CalendarButtons.js +40 -35
- package/dist/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
- package/dist/events/edit-event-modal/IntervalInput.js +1 -7
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +1 -0
- package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.js +23 -24
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -0
- 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/page/components/PageBody/hooks/useResizePageBody.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/hooks/useResizePageBody.js +1 -0
- package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
- 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/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/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 -59
- 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/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/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/sales/booking/results/components/ResultCard.d.ts.map +1 -1
- package/dist/sales/booking/results/components/ResultCard.js +2 -0
- 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/styles/iframe-events/Calendar.scss +1 -0
- package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
- package/dist/styles/iframe-page/PageBody.scss +1 -1
- package/dist/styles/product-set/ProductSetForm.scss +0 -22
- package/dist/styles/sales/BookingResults.scss +1 -1
- package/dist/tiptap-editor/TipTapMenu/extensions/utils.d.ts +1 -1
- package/dist/tiptap-editor/TipTapMenu/extensions/utils.d.ts.map +1 -1
- package/dist/tiptap-editor/TipTapMenu/extensions/utils.js +1 -3
- 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/package.json +7 -9
- package/src/affiliate/form/AffiliateForm.tsx +0 -1
- package/src/auth/Login/LoginComponent.tsx +1 -1
- package/src/calendar/components/CalendarButtons/CalendarButtons.tsx +28 -29
- package/src/events/edit-event-modal/IntervalInput.tsx +1 -8
- package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +1 -0
- package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +85 -82
- package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +1 -0
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +0 -1
- package/src/iframe/page/components/PageBody/hooks/useResizePageBody.ts +1 -0
- package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +0 -1
- package/src/layout/DropDown.tsx +1 -2
- package/src/modals/confirmation/ConfirmModal.tsx +3 -19
- package/src/product-set/card/ProductSetCard.tsx +8 -47
- package/src/product-set/control/DateInput.tsx +1 -2
- package/src/product-set/form/ProductCategoriesControl.tsx +1 -37
- package/src/product-set/form/ProductSetForm.tsx +2 -17
- 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-zone/ProductZoneControl.tsx +1 -1
- package/src/product-set/utils/index.ts +0 -11
- package/src/sales/booking/results/components/ResultCard.tsx +2 -0
- package/src/snippet/snippet-template/preview/Preview.tsx +0 -6
- package/src/sortable-tree/SortableTreeItem.tsx +0 -6
- package/src/styles/iframe-events/Calendar.scss +1 -0
- package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
- package/src/styles/iframe-page/PageBody.scss +1 -1
- package/src/styles/product-set/ProductSetForm.scss +0 -22
- package/src/styles/sales/BookingResults.scss +1 -1
- package/src/tiptap-editor/TipTapMenu/extensions/utils.ts +1 -4
- package/src/typeahead/Typeahead.tsx +1 -15
- package/yarn.lock +33 -59
- 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/dist/tiptap-editor/TipTapMenu/extensions/constants.d.ts +0 -2
- package/dist/tiptap-editor/TipTapMenu/extensions/constants.d.ts.map +0 -1
- package/dist/tiptap-editor/TipTapMenu/extensions/constants.js +0 -3
- package/src/product-set/form/ProductSetNameControl.tsx +0 -27
- package/src/tiptap-editor/TipTapMenu/extensions/constants.ts +0 -1
|
@@ -3,7 +3,6 @@ import { SmsTemplate } from '@licklist/core/dist/DataMapper/Notification/SmsTemp
|
|
|
3
3
|
import { TFunction } from 'react-i18next'
|
|
4
4
|
import { UseFormSetError } from 'react-hook-form'
|
|
5
5
|
import { checkIfZoneCategory } from '@licklist/plugins'
|
|
6
|
-
import { ProductSet } from '@licklist/core/dist/DataMapper/Product/ProductSetDataMapper'
|
|
7
6
|
import { TemplateItem } from '../control/ProductSetControl'
|
|
8
7
|
import { ProductSetFormValues } from '../form/ProductSetForm'
|
|
9
8
|
|
|
@@ -13,11 +12,6 @@ interface CheckAvailableTimesErrors {
|
|
|
13
12
|
t: TFunction
|
|
14
13
|
}
|
|
15
14
|
|
|
16
|
-
export interface MenuTypeheadItem {
|
|
17
|
-
id: number
|
|
18
|
-
label: string
|
|
19
|
-
value: number
|
|
20
|
-
}
|
|
21
15
|
export const moveArrayElements = <T>(
|
|
22
16
|
array: T[],
|
|
23
17
|
prevIndex: number,
|
|
@@ -89,8 +83,3 @@ export const checkAvailableTimesErrors = ({
|
|
|
89
83
|
})
|
|
90
84
|
return hasError
|
|
91
85
|
}
|
|
92
|
-
|
|
93
|
-
export const getTypeHeadItemsFromMenus = (
|
|
94
|
-
menus?: (ProductSet | ProductSetFormValues)[],
|
|
95
|
-
): MenuTypeheadItem[] =>
|
|
96
|
-
menus?.map((menu) => ({ id: menu.id, value: menu.id, label: menu.name }))
|
|
@@ -307,7 +307,6 @@ export function Preview({
|
|
|
307
307
|
productCategoryId: 57,
|
|
308
308
|
productGroupId: null,
|
|
309
309
|
availableQuantity: 980,
|
|
310
|
-
zoneId: null,
|
|
311
310
|
name: 'Cofee',
|
|
312
311
|
description: '',
|
|
313
312
|
price: 15,
|
|
@@ -316,8 +315,6 @@ export function Preview({
|
|
|
316
315
|
maxQuantity: 15,
|
|
317
316
|
totalQuantity: 980,
|
|
318
317
|
type: 'sale' as const,
|
|
319
|
-
capacity: 0,
|
|
320
|
-
duration: 0,
|
|
321
318
|
weight: 0,
|
|
322
319
|
isAvailable: true,
|
|
323
320
|
isSoldOut: false,
|
|
@@ -336,7 +333,6 @@ export function Preview({
|
|
|
336
333
|
productCategoryId: 57,
|
|
337
334
|
productGroupId: null,
|
|
338
335
|
availableQuantity: 980,
|
|
339
|
-
zoneId: null,
|
|
340
336
|
name: 'Cofee 2',
|
|
341
337
|
description: '',
|
|
342
338
|
price: 15,
|
|
@@ -345,8 +341,6 @@ export function Preview({
|
|
|
345
341
|
maxQuantity: 15,
|
|
346
342
|
totalQuantity: 980,
|
|
347
343
|
type: 'sale' as const,
|
|
348
|
-
capacity: 0,
|
|
349
|
-
duration: 0,
|
|
350
344
|
weight: 0,
|
|
351
345
|
isAvailable: true,
|
|
352
346
|
isSoldOut: false,
|
|
@@ -33,7 +33,6 @@ export interface SortableTreeItemProps {
|
|
|
33
33
|
body: ReactNode
|
|
34
34
|
children?: ReactNode
|
|
35
35
|
preItem?: ReactNode
|
|
36
|
-
itemButton?: ReactNode
|
|
37
36
|
postItem?: ReactNode
|
|
38
37
|
sortableItems?: string[]
|
|
39
38
|
isExpanded?: boolean
|
|
@@ -83,7 +82,6 @@ export function SortableTreeItem({
|
|
|
83
82
|
secondaryBadge,
|
|
84
83
|
setIsExpanded,
|
|
85
84
|
isOverride,
|
|
86
|
-
itemButton,
|
|
87
85
|
}: SortableTreeItemProps) {
|
|
88
86
|
const [expanded, setExpanded] = useState(isExpanded)
|
|
89
87
|
const [isModalVisible, setIsModalVisible] = useState(isNewAdded)
|
|
@@ -289,13 +287,9 @@ export function SortableTreeItem({
|
|
|
289
287
|
className={clsx(
|
|
290
288
|
'sortable-tree-item-title',
|
|
291
289
|
modalLabel && 'sortable-tree-product-set-element-title',
|
|
292
|
-
'd-flex justify-content-between',
|
|
293
290
|
)}
|
|
294
291
|
>
|
|
295
292
|
{title}
|
|
296
|
-
<div className="sortable-tree-item-subtitle">
|
|
297
|
-
{itemButton}
|
|
298
|
-
</div>
|
|
299
293
|
</span>
|
|
300
294
|
{!expanded && (
|
|
301
295
|
<span className="sortable-tree-item-subtitle">
|
|
@@ -15,7 +15,7 @@ body[bkdt-scrollable='false'] .bkdt-mask {
|
|
|
15
15
|
left: 0;
|
|
16
16
|
width: 100%;
|
|
17
17
|
height: 100%;
|
|
18
|
-
z-index:
|
|
18
|
+
z-index: 1000000;
|
|
19
19
|
background-color: rgba(0, 0, 0, 0.5);
|
|
20
20
|
display: none;
|
|
21
21
|
}
|
|
@@ -24,7 +24,7 @@ body[bkdt-scrollable='false'] .bkdt-mask {
|
|
|
24
24
|
position: fixed;
|
|
25
25
|
top: 0;
|
|
26
26
|
left: 0;
|
|
27
|
-
z-index:
|
|
27
|
+
z-index: 1000001;
|
|
28
28
|
display: none;
|
|
29
29
|
width: 100%;
|
|
30
30
|
height: 100%;
|
|
@@ -15,12 +15,10 @@
|
|
|
15
15
|
height: 2.5rem;
|
|
16
16
|
border-width: 2px;
|
|
17
17
|
padding: 2px;
|
|
18
|
-
|
|
19
18
|
label,
|
|
20
19
|
.btn-switch-indicator {
|
|
21
20
|
border-radius: 0.375rem !important;
|
|
22
21
|
}
|
|
23
|
-
|
|
24
22
|
label {
|
|
25
23
|
height: 2rem;
|
|
26
24
|
}
|
|
@@ -36,7 +34,6 @@
|
|
|
36
34
|
margin-top: 1.5rem;
|
|
37
35
|
margin-bottom: 1.5rem;
|
|
38
36
|
}
|
|
39
|
-
|
|
40
37
|
@include media-breakpoint-down(sm) {
|
|
41
38
|
padding: 1.5rem 1rem;
|
|
42
39
|
margin-top: 0.5rem;
|
|
@@ -62,21 +59,10 @@
|
|
|
62
59
|
background-color: #ffdbdb;
|
|
63
60
|
color: #d52902;
|
|
64
61
|
}
|
|
65
|
-
|
|
66
62
|
.category-badge {
|
|
67
63
|
background-color: #e8f4f6;
|
|
68
64
|
color: #1a93aa;
|
|
69
65
|
}
|
|
70
|
-
|
|
71
|
-
.item-icon {
|
|
72
|
-
display: flex;
|
|
73
|
-
justify-items: center;
|
|
74
|
-
align-items: center;
|
|
75
|
-
font-size: 0.65rem;
|
|
76
|
-
padding: 0.2rem;
|
|
77
|
-
margin-right: 1rem;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
66
|
.product-badge {
|
|
81
67
|
background-color: #e9f5ea;
|
|
82
68
|
color: #269b36;
|
|
@@ -89,12 +75,10 @@
|
|
|
89
75
|
|
|
90
76
|
.product-set-mobile-modal {
|
|
91
77
|
margin: 0;
|
|
92
|
-
|
|
93
78
|
.modal-content {
|
|
94
79
|
border-radius: 1rem 1rem 0 0;
|
|
95
80
|
border-width: 0;
|
|
96
81
|
margin: 0;
|
|
97
|
-
|
|
98
82
|
.modal-body {
|
|
99
83
|
padding: 1rem 0;
|
|
100
84
|
}
|
|
@@ -116,22 +100,18 @@
|
|
|
116
100
|
font-weight: 600;
|
|
117
101
|
font-size: 0.625rem;
|
|
118
102
|
}
|
|
119
|
-
|
|
120
103
|
.product-set-subtitle-dot {
|
|
121
104
|
margin-right: 0.375rem;
|
|
122
105
|
width: 0.375rem;
|
|
123
106
|
height: 0.375rem;
|
|
124
107
|
border-radius: 3px;
|
|
125
108
|
}
|
|
126
|
-
|
|
127
109
|
.product-set-subtitle-category-dot {
|
|
128
110
|
background-color: #269b36;
|
|
129
111
|
}
|
|
130
|
-
|
|
131
112
|
.product-set-subtitle-step-dot {
|
|
132
113
|
background-color: #1a93aa;
|
|
133
114
|
}
|
|
134
|
-
|
|
135
115
|
.product-set-subtitle-product-dot {
|
|
136
116
|
background-color: #269b36;
|
|
137
117
|
}
|
|
@@ -176,7 +156,6 @@
|
|
|
176
156
|
justify-self: flex-end;
|
|
177
157
|
align-items: flex-end;
|
|
178
158
|
}
|
|
179
|
-
|
|
180
159
|
.small-badge {
|
|
181
160
|
font-size: 0.5rem;
|
|
182
161
|
height: 1rem;
|
|
@@ -184,7 +163,6 @@
|
|
|
184
163
|
padding: 0 0.2rem;
|
|
185
164
|
margin-bottom: 0.2rem;
|
|
186
165
|
}
|
|
187
|
-
|
|
188
166
|
.product-set-save-btn-wrapper {
|
|
189
167
|
padding-left: 0 !important;
|
|
190
168
|
display: flex;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { parse } from 'twemoji-parser'
|
|
2
|
-
import { EMOJI_URL } from './constants'
|
|
3
2
|
|
|
4
3
|
function parseTwemoji(emoji: string) {
|
|
5
4
|
const [twemoji] = parse(emoji)
|
|
6
5
|
|
|
7
|
-
const emojiPathUrl = EMOJI_URL.concat(twemoji.url.split("/").slice(-1));
|
|
8
|
-
|
|
9
6
|
return {
|
|
10
|
-
src:
|
|
7
|
+
src: twemoji.url,
|
|
11
8
|
alt: twemoji.text,
|
|
12
9
|
class: 'emoji',
|
|
13
10
|
draggable: 'false',
|
|
@@ -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
|
@@ -2554,35 +2554,9 @@ __metadata:
|
|
|
2554
2554
|
languageName: node
|
|
2555
2555
|
linkType: hard
|
|
2556
2556
|
|
|
2557
|
-
"@licklist/core@npm:0.
|
|
2558
|
-
version: 0.
|
|
2559
|
-
resolution: "@licklist/core@npm:0.
|
|
2560
|
-
dependencies:
|
|
2561
|
-
"@sentry/browser": "npm:6.2.0"
|
|
2562
|
-
axios: "npm:0.26.0"
|
|
2563
|
-
i18next: "npm:19.4.5"
|
|
2564
|
-
luxon: "npm:3.5.0"
|
|
2565
|
-
react: "npm:17.0.2"
|
|
2566
|
-
react-dom: "npm:17.0.2"
|
|
2567
|
-
react-i18next: "npm:11.8.8"
|
|
2568
|
-
react-intl: "npm:6.6.8"
|
|
2569
|
-
uuid: "npm:9.0.0"
|
|
2570
|
-
wait-for-expect: "npm:3.0.2"
|
|
2571
|
-
peerDependencies:
|
|
2572
|
-
"@licklist/eslint-config": 0.5.5
|
|
2573
|
-
axios: 0.26.0
|
|
2574
|
-
luxon: 3.5.0
|
|
2575
|
-
react: 17.0.2
|
|
2576
|
-
react-dom: 17.0.2
|
|
2577
|
-
react-i18next: 11.8.8
|
|
2578
|
-
react-intl: 6.6.8
|
|
2579
|
-
checksum: 10c0/cacb058eb075b8e42fe9135877aa90f5104b661a0a99addbadfe916604ee35d468d07f9ce4e349fad573015044977bf77821b92dc385bab23393bc4d72677c4f
|
|
2580
|
-
languageName: node
|
|
2581
|
-
linkType: hard
|
|
2582
|
-
|
|
2583
|
-
"@licklist/core@npm:0.30.0-dev.0":
|
|
2584
|
-
version: 0.30.0-dev.0
|
|
2585
|
-
resolution: "@licklist/core@npm:0.30.0-dev.0"
|
|
2557
|
+
"@licklist/core@npm:0.30.1":
|
|
2558
|
+
version: 0.30.1
|
|
2559
|
+
resolution: "@licklist/core@npm:0.30.1"
|
|
2586
2560
|
dependencies:
|
|
2587
2561
|
"@sentry/browser": "npm:6.2.0"
|
|
2588
2562
|
axios: "npm:0.26.0"
|
|
@@ -2602,7 +2576,7 @@ __metadata:
|
|
|
2602
2576
|
react-dom: 17.0.2
|
|
2603
2577
|
react-i18next: 11.8.8
|
|
2604
2578
|
react-intl: 6.6.8
|
|
2605
|
-
checksum: 10c0/
|
|
2579
|
+
checksum: 10c0/2b3ec4eebfffd120e188825beb607864dfc85ddc6f5cd834e6c7b99b0191171936da0299441f2a91721d70ebb196279b6b72d8e9ec37fc21d4f51f97400b8475
|
|
2606
2580
|
languageName: node
|
|
2607
2581
|
linkType: hard
|
|
2608
2582
|
|
|
@@ -2617,9 +2591,9 @@ __metadata:
|
|
|
2617
2591
|
"@dnd-kit/utilities": "npm:2.0.0"
|
|
2618
2592
|
"@fortawesome/fontawesome-svg-core": "npm:1.2.34"
|
|
2619
2593
|
"@fortawesome/free-solid-svg-icons": "npm:5.15.2"
|
|
2620
|
-
"@licklist/core": "npm:0.30.
|
|
2594
|
+
"@licklist/core": "npm:0.30.1"
|
|
2621
2595
|
"@licklist/eslint-config": "npm:0.5.6"
|
|
2622
|
-
"@licklist/plugins": "npm:0.33.
|
|
2596
|
+
"@licklist/plugins": "npm:0.33.1"
|
|
2623
2597
|
"@mdx-js/react": "npm:1.6.22"
|
|
2624
2598
|
"@popperjs/core": "npm:2.11.8"
|
|
2625
2599
|
"@react-aria/utils": "npm:3.9.0"
|
|
@@ -2739,9 +2713,9 @@ __metadata:
|
|
|
2739
2713
|
vite-plugin-svgr: "npm:4.2.0"
|
|
2740
2714
|
vite-tsconfig-paths: "npm:5.0.1"
|
|
2741
2715
|
peerDependencies:
|
|
2742
|
-
"@licklist/core": 0.30.
|
|
2716
|
+
"@licklist/core": 0.30.1
|
|
2743
2717
|
"@licklist/eslint-config": 0.5.6
|
|
2744
|
-
"@licklist/plugins": 0.33.
|
|
2718
|
+
"@licklist/plugins": 0.33.1
|
|
2745
2719
|
lodash: 4.17.21
|
|
2746
2720
|
luxon: 3.5.0
|
|
2747
2721
|
react: 17.0.2
|
|
@@ -2771,11 +2745,11 @@ __metadata:
|
|
|
2771
2745
|
languageName: node
|
|
2772
2746
|
linkType: hard
|
|
2773
2747
|
|
|
2774
|
-
"@licklist/plugins@npm:0.33.
|
|
2775
|
-
version: 0.33.
|
|
2776
|
-
resolution: "@licklist/plugins@npm:0.33.
|
|
2748
|
+
"@licklist/plugins@npm:0.33.1":
|
|
2749
|
+
version: 0.33.1
|
|
2750
|
+
resolution: "@licklist/plugins@npm:0.33.1"
|
|
2777
2751
|
dependencies:
|
|
2778
|
-
"@licklist/core": "npm:0.
|
|
2752
|
+
"@licklist/core": "npm:0.30.1"
|
|
2779
2753
|
"@ungap/url-search-params": "npm:0.2.2"
|
|
2780
2754
|
axios: "npm:0.26.0"
|
|
2781
2755
|
history: "npm:4.10.1"
|
|
@@ -2796,7 +2770,7 @@ __metadata:
|
|
|
2796
2770
|
rrule: "npm:2.6.8"
|
|
2797
2771
|
use-debounce: "npm:7.0.1"
|
|
2798
2772
|
peerDependencies:
|
|
2799
|
-
"@licklist/core": 0.
|
|
2773
|
+
"@licklist/core": 0.30.1
|
|
2800
2774
|
"@licklist/eslint-config": 0.5.6
|
|
2801
2775
|
axios: 0.26.0
|
|
2802
2776
|
lodash: 4.17.21
|
|
@@ -2808,7 +2782,7 @@ __metadata:
|
|
|
2808
2782
|
react-loader: 2.4.7
|
|
2809
2783
|
react-query: 3.34.12
|
|
2810
2784
|
react-router-dom: 5.2.0
|
|
2811
|
-
checksum: 10c0/
|
|
2785
|
+
checksum: 10c0/9f9cba3fcf3b2543c1b781233c0cfa2d6638ff47edde93ed3500ea4dfe12f7940380e9d79b6051b6cc8eb5cb26cdbb97fcd412b83bfd3dce7cd1c34835f975a7
|
|
2812
2786
|
languageName: node
|
|
2813
2787
|
linkType: hard
|
|
2814
2788
|
|
|
@@ -5577,11 +5551,11 @@ __metadata:
|
|
|
5577
5551
|
linkType: hard
|
|
5578
5552
|
|
|
5579
5553
|
"@types/node@npm:*":
|
|
5580
|
-
version: 22.7.
|
|
5581
|
-
resolution: "@types/node@npm:22.7.
|
|
5554
|
+
version: 22.7.4
|
|
5555
|
+
resolution: "@types/node@npm:22.7.4"
|
|
5582
5556
|
dependencies:
|
|
5583
5557
|
undici-types: "npm:~6.19.2"
|
|
5584
|
-
checksum: 10c0/
|
|
5558
|
+
checksum: 10c0/c22bf54515c78ff3170142c1e718b90e2a0003419dc2d55f79c9c9362edd590a6ab1450deb09ff6e1b32d1b4698da407930b16285e8be3a009ea6cd2695cac01
|
|
5585
5559
|
languageName: node
|
|
5586
5560
|
linkType: hard
|
|
5587
5561
|
|
|
@@ -8051,8 +8025,8 @@ __metadata:
|
|
|
8051
8025
|
linkType: hard
|
|
8052
8026
|
|
|
8053
8027
|
"chromatic@npm:^11.4.0":
|
|
8054
|
-
version: 11.
|
|
8055
|
-
resolution: "chromatic@npm:11.
|
|
8028
|
+
version: 11.11.0
|
|
8029
|
+
resolution: "chromatic@npm:11.11.0"
|
|
8056
8030
|
peerDependencies:
|
|
8057
8031
|
"@chromatic-com/cypress": ^0.*.* || ^1.0.0
|
|
8058
8032
|
"@chromatic-com/playwright": ^0.*.* || ^1.0.0
|
|
@@ -8065,7 +8039,7 @@ __metadata:
|
|
|
8065
8039
|
chroma: dist/bin.js
|
|
8066
8040
|
chromatic: dist/bin.js
|
|
8067
8041
|
chromatic-cli: dist/bin.js
|
|
8068
|
-
checksum: 10c0/
|
|
8042
|
+
checksum: 10c0/fb69a07ba721624baac20122d94d449d8ae56cbcffa45931d6a1679aafa00a899e3e66e8b68b8dc24e44c7cf1356e7979a7be8088647bc76ae3a14e2fad8eeea
|
|
8069
8043
|
languageName: node
|
|
8070
8044
|
linkType: hard
|
|
8071
8045
|
|
|
@@ -8427,7 +8401,7 @@ __metadata:
|
|
|
8427
8401
|
languageName: node
|
|
8428
8402
|
linkType: hard
|
|
8429
8403
|
|
|
8430
|
-
"confbox@npm:^0.1.
|
|
8404
|
+
"confbox@npm:^0.1.7":
|
|
8431
8405
|
version: 0.1.8
|
|
8432
8406
|
resolution: "confbox@npm:0.1.8"
|
|
8433
8407
|
checksum: 10c0/fc2c68d97cb54d885b10b63e45bd8da83a8a71459d3ecf1825143dd4c7f9f1b696b3283e07d9d12a144c1301c2ebc7842380bdf0014e55acc4ae1c9550102418
|
|
@@ -9567,9 +9541,9 @@ __metadata:
|
|
|
9567
9541
|
linkType: hard
|
|
9568
9542
|
|
|
9569
9543
|
"electron-to-chromium@npm:^1.3.564, electron-to-chromium@npm:^1.5.28":
|
|
9570
|
-
version: 1.5.
|
|
9571
|
-
resolution: "electron-to-chromium@npm:1.5.
|
|
9572
|
-
checksum: 10c0/
|
|
9544
|
+
version: 1.5.32
|
|
9545
|
+
resolution: "electron-to-chromium@npm:1.5.32"
|
|
9546
|
+
checksum: 10c0/d0c0c418fae6f7714fb6cfeb8f6a74a9504cf41ed6a4119d5388d94442ee224238c331bacc5917f2c89e3ffebd1b9f870ea5c0951c473ca7e58debef0f3e9137
|
|
9573
9547
|
languageName: node
|
|
9574
9548
|
linkType: hard
|
|
9575
9549
|
|
|
@@ -13024,15 +12998,15 @@ __metadata:
|
|
|
13024
12998
|
linkType: hard
|
|
13025
12999
|
|
|
13026
13000
|
"iterator.prototype@npm:^1.1.2":
|
|
13027
|
-
version: 1.1.
|
|
13028
|
-
resolution: "iterator.prototype@npm:1.1.
|
|
13001
|
+
version: 1.1.2
|
|
13002
|
+
resolution: "iterator.prototype@npm:1.1.2"
|
|
13029
13003
|
dependencies:
|
|
13030
13004
|
define-properties: "npm:^1.2.1"
|
|
13031
13005
|
get-intrinsic: "npm:^1.2.1"
|
|
13032
13006
|
has-symbols: "npm:^1.0.3"
|
|
13033
13007
|
reflect.getprototypeof: "npm:^1.0.4"
|
|
13034
13008
|
set-function-name: "npm:^2.0.1"
|
|
13035
|
-
checksum: 10c0/
|
|
13009
|
+
checksum: 10c0/a32151326095e916f306990d909f6bbf23e3221999a18ba686419535dcd1749b10ded505e89334b77dc4c7a58a8508978f0eb16c2c8573e6d412eb7eb894ea79
|
|
13036
13010
|
languageName: node
|
|
13037
13011
|
linkType: hard
|
|
13038
13012
|
|
|
@@ -14411,7 +14385,7 @@ __metadata:
|
|
|
14411
14385
|
languageName: node
|
|
14412
14386
|
linkType: hard
|
|
14413
14387
|
|
|
14414
|
-
"mlly@npm:^1.4.2, mlly@npm:^1.7.
|
|
14388
|
+
"mlly@npm:^1.4.2, mlly@npm:^1.7.1":
|
|
14415
14389
|
version: 1.7.2
|
|
14416
14390
|
resolution: "mlly@npm:1.7.2"
|
|
14417
14391
|
dependencies:
|
|
@@ -15518,13 +15492,13 @@ __metadata:
|
|
|
15518
15492
|
linkType: hard
|
|
15519
15493
|
|
|
15520
15494
|
"pkg-types@npm:^1.0.3, pkg-types@npm:^1.2.0":
|
|
15521
|
-
version: 1.2.
|
|
15522
|
-
resolution: "pkg-types@npm:1.2.
|
|
15495
|
+
version: 1.2.0
|
|
15496
|
+
resolution: "pkg-types@npm:1.2.0"
|
|
15523
15497
|
dependencies:
|
|
15524
|
-
confbox: "npm:^0.1.
|
|
15525
|
-
mlly: "npm:^1.7.
|
|
15498
|
+
confbox: "npm:^0.1.7"
|
|
15499
|
+
mlly: "npm:^1.7.1"
|
|
15526
15500
|
pathe: "npm:^1.1.2"
|
|
15527
|
-
checksum: 10c0/
|
|
15501
|
+
checksum: 10c0/111cf6ad4235438821ea195a0d70570b1bd36a71d094d258349027c9c304dea8b4f9669c9f7ce813f9a48a02942fb0d7fe9809127dbe7bb4b18a8de71583a081
|
|
15528
15502
|
languageName: node
|
|
15529
15503
|
linkType: hard
|
|
15530
15504
|
|
|
@@ -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"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { Form } from 'react-bootstrap';
|
|
3
|
-
import { useTranslation } from 'react-i18next';
|
|
4
|
-
|
|
5
|
-
var ProductSetNameControl = function(param) {
|
|
6
|
-
var value = param.value, onChange = param.onChange, error = param.error;
|
|
7
|
-
var t = useTranslation([
|
|
8
|
-
'Design'
|
|
9
|
-
]).t;
|
|
10
|
-
return /*#__PURE__*/ jsxs(Form.Group, {
|
|
11
|
-
children: [
|
|
12
|
-
/*#__PURE__*/ jsxs(Form.Label, {
|
|
13
|
-
children: [
|
|
14
|
-
t('Design:ProductSetName'),
|
|
15
|
-
"*"
|
|
16
|
-
]
|
|
17
|
-
}),
|
|
18
|
-
/*#__PURE__*/ jsx(Form.Control, {
|
|
19
|
-
value: value,
|
|
20
|
-
maxLength: 255,
|
|
21
|
-
onChange: function(e) {
|
|
22
|
-
return onChange(e.target.value);
|
|
23
|
-
},
|
|
24
|
-
placeholder: t('Design:placeholderProductSetName'),
|
|
25
|
-
isInvalid: Boolean(error)
|
|
26
|
-
}),
|
|
27
|
-
/*#__PURE__*/ jsx(Form.Control.Feedback, {
|
|
28
|
-
type: "invalid",
|
|
29
|
-
children: error
|
|
30
|
-
})
|
|
31
|
-
]
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export { ProductSetNameControl };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/tiptap-editor/TipTapMenu/extensions/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,sEAAsE,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Form } from 'react-bootstrap'
|
|
2
|
-
import { useTranslation } from 'react-i18next'
|
|
3
|
-
|
|
4
|
-
export const ProductSetNameControl = ({
|
|
5
|
-
value,
|
|
6
|
-
onChange,
|
|
7
|
-
error,
|
|
8
|
-
}: {
|
|
9
|
-
value: string
|
|
10
|
-
onChange: (value: string) => void
|
|
11
|
-
error?: string
|
|
12
|
-
}) => {
|
|
13
|
-
const { t } = useTranslation(['Design'])
|
|
14
|
-
return (
|
|
15
|
-
<Form.Group>
|
|
16
|
-
<Form.Label>{t('Design:ProductSetName')}*</Form.Label>
|
|
17
|
-
<Form.Control
|
|
18
|
-
value={value}
|
|
19
|
-
maxLength={255}
|
|
20
|
-
onChange={(e) => onChange(e.target.value)}
|
|
21
|
-
placeholder={t('Design:placeholderProductSetName')}
|
|
22
|
-
isInvalid={Boolean(error)}
|
|
23
|
-
/>
|
|
24
|
-
<Form.Control.Feedback type="invalid">{error}</Form.Control.Feedback>
|
|
25
|
-
</Form.Group>
|
|
26
|
-
)
|
|
27
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const EMOJI_URL = "https://cdnjs.cloudflare.com/ajax/libs/emojione/2.2.7/assets/svg/";
|