@wix/editor-react-components 1.2254.0 → 1.2256.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/site/components/AccordionComponent/component.js +4 -81
  2. package/dist/site/components/AccordionComponent/manifest.js +1 -1
  3. package/dist/site/components/AudioPlayer/component.js +1 -1
  4. package/dist/site/components/AudioPlayer/manifest.js +1 -1
  5. package/dist/site/components/Breadcrumbs/component.js +1 -1
  6. package/dist/site/components/Breadcrumbs/manifest.js +1 -1
  7. package/dist/site/components/CollapsibleText/component.js +1 -1
  8. package/dist/site/components/CollapsibleText/manifest.js +1 -1
  9. package/dist/site/components/Dropdown/Dropdown.d.ts +3 -0
  10. package/dist/site/components/Dropdown/Dropdown.types.d.ts +91 -0
  11. package/dist/site/components/Dropdown/component.d.ts +2 -0
  12. package/dist/site/components/Dropdown/component.js +31100 -0
  13. package/dist/site/components/Dropdown/component.preview.d.ts +4 -0
  14. package/dist/site/components/Dropdown/components/DropdownChips.d.ts +7 -0
  15. package/dist/site/components/Dropdown/components/DropdownList.d.ts +17 -0
  16. package/dist/site/components/Dropdown/components/DropdownTrigger.d.ts +18 -0
  17. package/dist/site/components/Dropdown/constants.d.ts +140 -0
  18. package/dist/site/components/Dropdown/css.css +255 -0
  19. package/dist/site/components/Dropdown/dropdownUtils.d.ts +24 -0
  20. package/dist/site/components/Dropdown/hooks/useChipOverflow.d.ts +9 -0
  21. package/dist/site/components/Dropdown/hooks/useDropdownQuery.d.ts +15 -0
  22. package/dist/site/components/Dropdown/hooks/useDropdownSelection.d.ts +16 -0
  23. package/dist/site/components/Dropdown/index.d.ts +2 -0
  24. package/dist/site/components/Dropdown/index.js +6 -0
  25. package/dist/site/components/Dropdown/manifest.d.ts +5 -0
  26. package/dist/site/components/Dropdown/manifest.js +418 -0
  27. package/dist/site/components/Line/manifest.js +3 -39
  28. package/dist/site/components/chunks/_baseSlice.js +43 -0
  29. package/dist/site/components/chunks/constants29.js +114 -46
  30. package/dist/site/components/chunks/constants30.js +53 -71
  31. package/dist/site/components/chunks/constants31.js +73 -77
  32. package/dist/site/components/chunks/constants32.js +76 -57
  33. package/dist/site/components/chunks/constants33.js +72 -0
  34. package/dist/site/components/chunks/isArray.js +12 -0
  35. package/dist/site/components/chunks/isArrayLike.js +88 -0
  36. package/dist/site/components/chunks/isObjectLike.js +5 -15
  37. package/dist/site/components/chunks/manifestSdkMixins.js +13 -0
  38. package/dist/site/components/chunks/useConsentPolicyProps.js +5 -5
  39. package/dist/site/components/extensions.js +51 -46
  40. package/package.json +4 -3
@@ -0,0 +1,418 @@
1
+ import { C as CSS_PROPERTIES, b as DISPLAY_GROUPS, D as DATA, N as NativeStateType, a as ACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
2
+ import { D as DesignStates, f as DisplayNames, d as defaultValues, e as selectors } from "../chunks/constants29.js";
3
+ import { w as withSpec, g as getSelector } from "../chunks/manifest.js";
4
+ import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
5
+ import { m as manifestFocusable, d as manifestInputable, c as manifestChangeable } from "../chunks/manifestSdkMixins.js";
6
+ const manifest = {
7
+ id: "f49b3649-fff3-42b4-8e18-a3cd2b23c2eb",
8
+ type: "wixEditorElements.Dropdown__DEV__v3",
9
+ description: "A single-select dropdown input. Visitors pick a value from a list of options (and can clear it when enabled). Options can be set statically or fed dynamically by a connected data source. Turn on search to filter a long list.",
10
+ installation: {
11
+ initialSize: {
12
+ width: {
13
+ sizingType: LAYOUT.SIZING_TYPE.pixels,
14
+ pixels: 240
15
+ },
16
+ height: {
17
+ sizingType: LAYOUT.SIZING_TYPE.content
18
+ }
19
+ }
20
+ },
21
+ editorElement: {
22
+ selector: getSelector(selectors.root),
23
+ displayName: DisplayNames.root.elementDisplayName,
24
+ archetype: Archetype.Dropdown,
25
+ layout: {
26
+ resizeDirection: LAYOUT.RESIZE_DIRECTION.horizontal,
27
+ contentResizeDirection: LAYOUT.CONTENT_RESIZE_DIRECTION.horizontalAndVertical,
28
+ disableStretching: true,
29
+ disablePositioning: false
30
+ },
31
+ actions: {
32
+ manageItems: {
33
+ displayName: DisplayNames.root.displayGroups.optionsGroup,
34
+ execution: {
35
+ actionType: ACTIONS.ACTION_TYPE.data,
36
+ data: {
37
+ dataItemKey: "options"
38
+ }
39
+ }
40
+ }
41
+ },
42
+ // Design states (gated behind the design-states spec so they stay inert in
43
+ // prod until the experiment is declared). BEM classNames: `<block>--<state>`.
44
+ states: {
45
+ hover: withSpec({
46
+ spec: IS_SUPPORT_DESIGN_STATE_SPEC,
47
+ displayName: DesignStates.root.hover.displayName,
48
+ className: DesignStates.root.hover.className,
49
+ pseudoClass: NativeStateType.hover
50
+ }),
51
+ disabled: withSpec({
52
+ spec: IS_SUPPORT_DESIGN_STATE_SPEC,
53
+ displayName: DesignStates.root.disabled.displayName,
54
+ className: DesignStates.root.disabled.className,
55
+ pseudoClass: NativeStateType.disabled,
56
+ props: { isDisabled: true }
57
+ })
58
+ },
59
+ data: {
60
+ options: {
61
+ dataType: DATA.DATA_TYPE.arrayItems,
62
+ displayName: DisplayNames.root.data.options,
63
+ [DATA.DATA_TYPE.arrayItems]: {
64
+ data: {
65
+ items: {
66
+ label: {
67
+ dataType: DATA.DATA_TYPE.text,
68
+ displayName: DisplayNames.root.data.optionLabel
69
+ },
70
+ value: {
71
+ dataType: DATA.DATA_TYPE.text,
72
+ displayName: DisplayNames.root.data.optionValue
73
+ }
74
+ }
75
+ }
76
+ }
77
+ },
78
+ // Single-select selection (shown when `multiple` is off — see preview).
79
+ value: {
80
+ dataType: DATA.DATA_TYPE.text,
81
+ displayName: DisplayNames.root.data.value
82
+ },
83
+ // Multi-select selection (shown when `multiple` is on). A separate field
84
+ // because a data field's schema is fixed — it can't switch text↔arrayItems.
85
+ values: {
86
+ dataType: DATA.DATA_TYPE.arrayItems,
87
+ displayName: DisplayNames.root.data.values,
88
+ [DATA.DATA_TYPE.arrayItems]: {
89
+ data: {
90
+ items: {
91
+ value: {
92
+ dataType: DATA.DATA_TYPE.text,
93
+ displayName: DisplayNames.root.data.optionValue
94
+ }
95
+ }
96
+ }
97
+ }
98
+ },
99
+ inputValue: {
100
+ dataType: DATA.DATA_TYPE.text,
101
+ displayName: DisplayNames.root.data.inputValue,
102
+ defaultValue: defaultValues.inputValue
103
+ },
104
+ open: {
105
+ dataType: DATA.DATA_TYPE.booleanValue,
106
+ displayName: DisplayNames.root.data.open,
107
+ defaultValue: defaultValues.open
108
+ },
109
+ isDisabled: {
110
+ dataType: DATA.DATA_TYPE.booleanValue,
111
+ displayName: DisplayNames.root.data.isDisabled,
112
+ defaultValue: defaultValues.isDisabled
113
+ },
114
+ filter: {
115
+ dataType: DATA.DATA_TYPE.function,
116
+ [DATA.DATA_TYPE.function]: {}
117
+ },
118
+ label: {
119
+ dataType: DATA.DATA_TYPE.text,
120
+ displayName: DisplayNames.root.data.label,
121
+ defaultValue: defaultValues.label
122
+ },
123
+ placeholder: {
124
+ dataType: DATA.DATA_TYPE.text,
125
+ displayName: DisplayNames.root.data.placeholder,
126
+ defaultValue: defaultValues.placeholder
127
+ },
128
+ searchable: {
129
+ dataType: DATA.DATA_TYPE.booleanValue,
130
+ displayName: DisplayNames.root.data.searchable,
131
+ defaultValue: defaultValues.searchable
132
+ },
133
+ multiple: {
134
+ dataType: DATA.DATA_TYPE.booleanValue,
135
+ displayName: DisplayNames.root.data.multiple,
136
+ defaultValue: defaultValues.multiple
137
+ },
138
+ clearable: {
139
+ dataType: DATA.DATA_TYPE.booleanValue,
140
+ displayName: DisplayNames.root.data.clearable,
141
+ defaultValue: defaultValues.clearable
142
+ },
143
+ autoHighlight: {
144
+ dataType: DATA.DATA_TYPE.booleanValue,
145
+ displayName: DisplayNames.root.data.autoHighlight,
146
+ defaultValue: defaultValues.autoHighlight
147
+ },
148
+ openOnInputClick: {
149
+ dataType: DATA.DATA_TYPE.booleanValue,
150
+ displayName: DisplayNames.root.data.openOnInputClick,
151
+ defaultValue: defaultValues.openOnInputClick
152
+ },
153
+ inline: {
154
+ dataType: DATA.DATA_TYPE.booleanValue,
155
+ displayName: DisplayNames.root.data.inline,
156
+ defaultValue: defaultValues.inline
157
+ },
158
+ grid: {
159
+ dataType: DATA.DATA_TYPE.booleanValue,
160
+ displayName: DisplayNames.root.data.grid,
161
+ defaultValue: defaultValues.grid
162
+ },
163
+ columns: {
164
+ dataType: DATA.DATA_TYPE.number,
165
+ displayName: DisplayNames.root.data.columns,
166
+ defaultValue: defaultValues.columns
167
+ },
168
+ limit: {
169
+ dataType: DATA.DATA_TYPE.number,
170
+ displayName: DisplayNames.root.data.limit,
171
+ defaultValue: defaultValues.limit
172
+ },
173
+ required: {
174
+ dataType: DATA.DATA_TYPE.booleanValue,
175
+ displayName: DisplayNames.root.data.required,
176
+ defaultValue: defaultValues.required
177
+ },
178
+ readOnly: {
179
+ dataType: DATA.DATA_TYPE.booleanValue,
180
+ displayName: DisplayNames.root.data.readOnly,
181
+ defaultValue: defaultValues.readOnly
182
+ },
183
+ description: {
184
+ dataType: DATA.DATA_TYPE.text,
185
+ displayName: DisplayNames.root.data.description,
186
+ defaultValue: defaultValues.description
187
+ },
188
+ triggerMode: {
189
+ dataType: DATA.DATA_TYPE.textEnum,
190
+ displayName: DisplayNames.root.data.triggerMode.displayName,
191
+ [DATA.DATA_TYPE.textEnum]: {
192
+ options: [
193
+ {
194
+ value: "onSelection",
195
+ displayName: DisplayNames.root.data.triggerMode.options.onSelection
196
+ },
197
+ {
198
+ value: "onApply",
199
+ displayName: DisplayNames.root.data.triggerMode.options.onApply
200
+ }
201
+ ]
202
+ },
203
+ defaultValue: defaultValues.triggerMode
204
+ },
205
+ applyButtonLabel: {
206
+ dataType: DATA.DATA_TYPE.text,
207
+ displayName: DisplayNames.root.data.applyButtonLabel,
208
+ defaultValue: defaultValues.applyButtonLabel
209
+ },
210
+ a11y: {
211
+ dataType: DATA.DATA_TYPE.a11y,
212
+ [DATA.DATA_TYPE.a11y]: {
213
+ attributes: [DATA.A11Y_ATTRIBUTES.ariaLabel]
214
+ }
215
+ },
216
+ direction: {
217
+ dataType: DATA.DATA_TYPE.direction
218
+ },
219
+ ...manifestChangeable(),
220
+ ...manifestInputable(),
221
+ ...manifestFocusable()
222
+ },
223
+ displayGroups: {
224
+ optionsGroup: {
225
+ displayName: DisplayNames.root.displayGroups.optionsGroup,
226
+ groupType: DISPLAY_GROUPS.GROUP_TYPE.listItem,
227
+ listItem: {
228
+ arrayItems: "options",
229
+ label: "label"
230
+ }
231
+ },
232
+ orderedDataGroup: {
233
+ groupType: DISPLAY_GROUPS.GROUP_TYPE.data,
234
+ data: {
235
+ items: [
236
+ "required",
237
+ "readOnly",
238
+ "searchable",
239
+ "multiple",
240
+ "clearable",
241
+ "grid",
242
+ "columns",
243
+ "triggerMode",
244
+ "applyButtonLabel",
245
+ "description"
246
+ ]
247
+ }
248
+ },
249
+ sizeGroup: {
250
+ displayName: DisplayNames.root.displayGroups.sizeGroup,
251
+ groupType: DISPLAY_GROUPS.GROUP_TYPE.cssDataType,
252
+ cssDataType: {
253
+ items: ["width", "maxWidth"]
254
+ }
255
+ },
256
+ backgroundGroup: {
257
+ displayName: DisplayNames.root.displayGroups.backgroundGroup,
258
+ groupType: DISPLAY_GROUPS.GROUP_TYPE.background,
259
+ [DISPLAY_GROUPS.GROUP_TYPE.background]: {
260
+ backgroundColor: "backgroundColor"
261
+ }
262
+ },
263
+ borderGroup: {
264
+ groupType: DISPLAY_GROUPS.GROUP_TYPE.border,
265
+ border: {
266
+ color: "borderColor",
267
+ width: "borderWidth"
268
+ }
269
+ },
270
+ cornersGroup: {
271
+ displayName: DisplayNames.root.displayGroups.cornersGroup,
272
+ groupType: DISPLAY_GROUPS.GROUP_TYPE.borderRadius,
273
+ [DISPLAY_GROUPS.GROUP_TYPE.borderRadius]: {
274
+ topLeft: "borderStartStartRadius",
275
+ topRight: "borderStartEndRadius",
276
+ bottomLeft: "borderEndStartRadius",
277
+ bottomRight: "borderEndEndRadius"
278
+ }
279
+ },
280
+ paddingGroup: {
281
+ displayName: DisplayNames.root.displayGroups.paddingGroup,
282
+ groupType: DISPLAY_GROUPS.GROUP_TYPE.padding,
283
+ padding: {
284
+ top: "paddingTop",
285
+ bottom: "paddingBottom",
286
+ left: "paddingInlineStart",
287
+ right: "paddingInlineEnd"
288
+ }
289
+ }
290
+ },
291
+ cssCustomProperties: {
292
+ width: {
293
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.lengthPercentage,
294
+ displayName: DisplayNames.root.cssCustomProperties.width
295
+ },
296
+ maxWidth: {
297
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.lengthPercentage,
298
+ displayName: DisplayNames.root.cssCustomProperties.maxWidth,
299
+ defaultValue: "480px"
300
+ },
301
+ backgroundColor: {
302
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.backgroundColor,
303
+ displayName: DisplayNames.root.cssCustomProperties.backgroundColor
304
+ },
305
+ borderColor: {
306
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.borderColor,
307
+ displayName: DisplayNames.root.cssCustomProperties.borderColor
308
+ },
309
+ borderWidth: {
310
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.borderWidth,
311
+ displayName: DisplayNames.root.cssCustomProperties.borderWidth,
312
+ defaultValue: "1px"
313
+ },
314
+ borderStartStartRadius: {
315
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.borderStartStartRadius,
316
+ defaultValue: "4px"
317
+ },
318
+ borderStartEndRadius: {
319
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.borderStartEndRadius,
320
+ defaultValue: "4px"
321
+ },
322
+ borderEndStartRadius: {
323
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.borderEndStartRadius,
324
+ defaultValue: "4px"
325
+ },
326
+ borderEndEndRadius: {
327
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.borderEndEndRadius,
328
+ defaultValue: "4px"
329
+ },
330
+ paddingTop: {
331
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.paddingTop,
332
+ displayName: DisplayNames.root.cssCustomProperties.paddingTop,
333
+ defaultValue: "8px"
334
+ },
335
+ paddingBottom: {
336
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.paddingBottom,
337
+ displayName: DisplayNames.root.cssCustomProperties.paddingBottom,
338
+ defaultValue: "8px"
339
+ },
340
+ paddingInlineStart: {
341
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.paddingInlineStart,
342
+ displayName: DisplayNames.root.cssCustomProperties.paddingInlineStart,
343
+ defaultValue: "12px"
344
+ },
345
+ paddingInlineEnd: {
346
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.paddingInlineEnd,
347
+ displayName: DisplayNames.root.cssCustomProperties.paddingInlineEnd,
348
+ defaultValue: "12px"
349
+ },
350
+ gap: {
351
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.gap,
352
+ displayName: DisplayNames.root.cssCustomProperties.gap,
353
+ defaultValue: "8px"
354
+ },
355
+ textAlign: {
356
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.textAlign,
357
+ displayName: DisplayNames.root.cssCustomProperties.textAlign,
358
+ defaultValue: "start"
359
+ },
360
+ font: {
361
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.font,
362
+ displayName: DisplayNames.root.cssCustomProperties.font,
363
+ defaultValue: "normal normal normal 16px/1.5em madefor-text, helveticaneuew01-45ligh, helveticaneuew02-45ligh, helveticaneuew10-45ligh, sans-serif"
364
+ },
365
+ textColor: {
366
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.color,
367
+ displayName: DisplayNames.root.cssCustomProperties.textColor
368
+ },
369
+ labelFont: {
370
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.font,
371
+ displayName: DisplayNames.root.cssCustomProperties.labelFont,
372
+ defaultValue: "normal normal normal 14px/1.4em madefor-text, helveticaneuew01-45ligh, helveticaneuew02-45ligh, helveticaneuew10-45ligh, sans-serif"
373
+ },
374
+ labelColor: {
375
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.color,
376
+ displayName: DisplayNames.root.cssCustomProperties.labelColor
377
+ },
378
+ helperFont: {
379
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.font,
380
+ displayName: DisplayNames.root.cssCustomProperties.helperFont,
381
+ defaultValue: "normal normal normal 14px/1.4em madefor-text, helveticaneuew01-45ligh, helveticaneuew02-45ligh, helveticaneuew10-45ligh, sans-serif"
382
+ },
383
+ helperColor: {
384
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.color,
385
+ displayName: DisplayNames.root.cssCustomProperties.helperColor
386
+ },
387
+ optionTextColor: {
388
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.color,
389
+ displayName: DisplayNames.root.cssCustomProperties.optionTextColor
390
+ },
391
+ optionHoverBackgroundColor: {
392
+ cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.color,
393
+ displayName: DisplayNames.root.cssCustomProperties.optionHoverBackgroundColor
394
+ }
395
+ }
396
+ },
397
+ resources: {
398
+ client: {
399
+ componentUrl: "./site/components/Dropdown/component.tsx",
400
+ dependencies: {
401
+ serviceDependencies: [
402
+ "@wix/viewer-service-environment",
403
+ "@wix/viewer-service-translations"
404
+ ]
405
+ }
406
+ },
407
+ editor: {
408
+ componentUrl: "./site/components/Dropdown/component.preview.tsx"
409
+ }
410
+ },
411
+ moduleConfiguration: {
412
+ package: { name: "@wix/editor-react-components", version: "^1.0.0" },
413
+ component: { path: "site/components/Dropdown" }
414
+ }
415
+ };
416
+ export {
417
+ manifest as default
418
+ };
@@ -1,6 +1,8 @@
1
1
  import { C as CSS_PROPERTIES, L as LAYOUT, D as DATA, I as INTERACTIONS, b as DISPLAY_GROUPS, a as ACTIONS, A as Archetype } from "../chunks/chunk-JPMZBG44.js";
2
2
  import { g as getDefaultExportFromCjs } from "../chunks/_commonjsHelpers.js";
3
- import { r as require_baseGetTag, a as requireIsObjectLike, b as require_Symbol, c as requireIsArray } from "../chunks/isObjectLike.js";
3
+ import { r as require_Symbol } from "../chunks/isObjectLike.js";
4
+ import { r as requireIsArray } from "../chunks/isArray.js";
5
+ import { r as requireIsSymbol, a as require_baseSlice } from "../chunks/_baseSlice.js";
4
6
  var _arrayMap;
5
7
  var hasRequired_arrayMap;
6
8
  function require_arrayMap() {
@@ -16,19 +18,6 @@ function require_arrayMap() {
16
18
  _arrayMap = arrayMap;
17
19
  return _arrayMap;
18
20
  }
19
- var isSymbol_1;
20
- var hasRequiredIsSymbol;
21
- function requireIsSymbol() {
22
- if (hasRequiredIsSymbol) return isSymbol_1;
23
- hasRequiredIsSymbol = 1;
24
- var baseGetTag = require_baseGetTag(), isObjectLike = requireIsObjectLike();
25
- var symbolTag = "[object Symbol]";
26
- function isSymbol(value) {
27
- return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
28
- }
29
- isSymbol_1 = isSymbol;
30
- return isSymbol_1;
31
- }
32
21
  var _baseToString;
33
22
  var hasRequired_baseToString;
34
23
  function require_baseToString() {
@@ -64,31 +53,6 @@ function requireToString() {
64
53
  toString_1 = toString;
65
54
  return toString_1;
66
55
  }
67
- var _baseSlice;
68
- var hasRequired_baseSlice;
69
- function require_baseSlice() {
70
- if (hasRequired_baseSlice) return _baseSlice;
71
- hasRequired_baseSlice = 1;
72
- function baseSlice(array, start, end) {
73
- var index = -1, length = array.length;
74
- if (start < 0) {
75
- start = -start > length ? 0 : length + start;
76
- }
77
- end = end > length ? length : end;
78
- if (end < 0) {
79
- end += length;
80
- }
81
- length = start > end ? 0 : end - start >>> 0;
82
- start >>>= 0;
83
- var result = Array(length);
84
- while (++index < length) {
85
- result[index] = array[index + start];
86
- }
87
- return result;
88
- }
89
- _baseSlice = baseSlice;
90
- return _baseSlice;
91
- }
92
56
  const typeValues = {
93
57
  solid: "Solid",
94
58
  dash: "Dash",
@@ -0,0 +1,43 @@
1
+ import { a as require_baseGetTag, b as requireIsObjectLike } from "./isObjectLike.js";
2
+ var isSymbol_1;
3
+ var hasRequiredIsSymbol;
4
+ function requireIsSymbol() {
5
+ if (hasRequiredIsSymbol) return isSymbol_1;
6
+ hasRequiredIsSymbol = 1;
7
+ var baseGetTag = require_baseGetTag(), isObjectLike = requireIsObjectLike();
8
+ var symbolTag = "[object Symbol]";
9
+ function isSymbol(value) {
10
+ return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
11
+ }
12
+ isSymbol_1 = isSymbol;
13
+ return isSymbol_1;
14
+ }
15
+ var _baseSlice;
16
+ var hasRequired_baseSlice;
17
+ function require_baseSlice() {
18
+ if (hasRequired_baseSlice) return _baseSlice;
19
+ hasRequired_baseSlice = 1;
20
+ function baseSlice(array, start, end) {
21
+ var index = -1, length = array.length;
22
+ if (start < 0) {
23
+ start = -start > length ? 0 : length + start;
24
+ }
25
+ end = end > length ? length : end;
26
+ if (end < 0) {
27
+ end += length;
28
+ }
29
+ length = start > end ? 0 : end - start >>> 0;
30
+ start >>>= 0;
31
+ var result = Array(length);
32
+ while (++index < length) {
33
+ result[index] = array[index + start];
34
+ }
35
+ return result;
36
+ }
37
+ _baseSlice = baseSlice;
38
+ return _baseSlice;
39
+ }
40
+ export {
41
+ require_baseSlice as a,
42
+ requireIsSymbol as r
43
+ };