@eightshift/ui-components 6.0.10 → 6.0.12
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/components/draggable/draggable.js +174 -277
- package/dist/components/menu/menu.js +5 -4
- package/dist/components/responsive/responsive-legacy.js +1 -1
- package/dist/components/responsive/responsive.js +1 -1
- package/dist/components/slider/slider.js +5 -1
- package/dist/icons/icons.js +32 -2
- package/package.json +1 -1
|
@@ -3,7 +3,6 @@ import { useEffect, useRef, useLayoutEffect, useMemo, useState, useCallback, cre
|
|
|
3
3
|
import { _ as __ } from "../../default-i18n-CnQeC5Pl.js";
|
|
4
4
|
import { DraggableContext } from "./draggable-context.js";
|
|
5
5
|
import { r as reactDomExports } from "../../index-sSixe2j_.js";
|
|
6
|
-
import { randomId } from "../../utilities/hash.js";
|
|
7
6
|
var i = /* @__PURE__ */ Symbol.for("preact-signals");
|
|
8
7
|
function t() {
|
|
9
8
|
if (!(s > 1)) {
|
|
@@ -371,31 +370,31 @@ function E(i2, t2) {
|
|
|
371
370
|
return o2;
|
|
372
371
|
}
|
|
373
372
|
var __create$5 = Object.create;
|
|
374
|
-
var __defProp$
|
|
375
|
-
var __defProps$
|
|
373
|
+
var __defProp$6 = Object.defineProperty;
|
|
374
|
+
var __defProps$5 = Object.defineProperties;
|
|
376
375
|
var __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor;
|
|
377
|
-
var __getOwnPropDescs$
|
|
378
|
-
var __getOwnPropSymbols$
|
|
379
|
-
var __hasOwnProp$
|
|
380
|
-
var __propIsEnum$
|
|
376
|
+
var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
|
|
377
|
+
var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
|
|
378
|
+
var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
|
|
379
|
+
var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
|
|
381
380
|
var __knownSymbol$5 = (name, symbol) => (symbol = Symbol[name]) ? symbol : /* @__PURE__ */ Symbol.for("Symbol." + name);
|
|
382
381
|
var __typeError$6 = (msg) => {
|
|
383
382
|
throw TypeError(msg);
|
|
384
383
|
};
|
|
385
|
-
var __defNormalProp$
|
|
386
|
-
var __spreadValues$
|
|
384
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
385
|
+
var __spreadValues$6 = (a2, b2) => {
|
|
387
386
|
for (var prop in b2 || (b2 = {}))
|
|
388
|
-
if (__hasOwnProp$
|
|
389
|
-
__defNormalProp$
|
|
390
|
-
if (__getOwnPropSymbols$
|
|
391
|
-
for (var prop of __getOwnPropSymbols$
|
|
392
|
-
if (__propIsEnum$
|
|
393
|
-
__defNormalProp$
|
|
387
|
+
if (__hasOwnProp$7.call(b2, prop))
|
|
388
|
+
__defNormalProp$6(a2, prop, b2[prop]);
|
|
389
|
+
if (__getOwnPropSymbols$7)
|
|
390
|
+
for (var prop of __getOwnPropSymbols$7(b2)) {
|
|
391
|
+
if (__propIsEnum$7.call(b2, prop))
|
|
392
|
+
__defNormalProp$6(a2, prop, b2[prop]);
|
|
394
393
|
}
|
|
395
394
|
return a2;
|
|
396
395
|
};
|
|
397
|
-
var __spreadProps$
|
|
398
|
-
var __name$2 = (target, value) => __defProp$
|
|
396
|
+
var __spreadProps$5 = (a2, b2) => __defProps$5(a2, __getOwnPropDescs$5(b2));
|
|
397
|
+
var __name$2 = (target, value) => __defProp$6(target, "name", { value, configurable: true });
|
|
399
398
|
var __decoratorStart$5 = (base) => {
|
|
400
399
|
var _a22;
|
|
401
400
|
return [, , , __create$5((_a22 = void 0) != null ? _a22 : null)];
|
|
@@ -403,7 +402,7 @@ var __decoratorStart$5 = (base) => {
|
|
|
403
402
|
var __decoratorStrings$5 = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"];
|
|
404
403
|
var __expectFn$5 = (fn) => fn !== void 0 && typeof fn !== "function" ? __typeError$6("Function expected") : fn;
|
|
405
404
|
var __decoratorContext$5 = (kind, name, done, metadata, fns) => ({ kind: __decoratorStrings$5[kind], name, metadata, addInitializer: (fn) => done._ ? __typeError$6("Already initialized") : fns.push(__expectFn$5(fn || null)) });
|
|
406
|
-
var __decoratorMetadata$5 = (array, target) => __defNormalProp$
|
|
405
|
+
var __decoratorMetadata$5 = (array, target) => __defNormalProp$6(target, __knownSymbol$5("metadata"), array[3]);
|
|
407
406
|
var __runInitializers$5 = (array, flags, self, value) => {
|
|
408
407
|
for (var i2 = 0, fns = array[flags >> 1], n2 = fns && fns.length; i2 < n2; i2++) flags & 1 ? fns[i2].call(self) : value = fns[i2].call(self, value);
|
|
409
408
|
return value;
|
|
@@ -430,7 +429,7 @@ var __decorateElement$5 = (array, flags, name, decorators, target, extra) => {
|
|
|
430
429
|
else if (typeof it !== "object" || it === null) __typeError$6("Object expected");
|
|
431
430
|
else __expectFn$5(fn = it.get) && (desc.get = fn), __expectFn$5(fn = it.set) && (desc.set = fn), __expectFn$5(fn = it.init) && initializers.unshift(fn);
|
|
432
431
|
}
|
|
433
|
-
return k || __decoratorMetadata$5(array, target), desc && __defProp$
|
|
432
|
+
return k || __decoratorMetadata$5(array, target), desc && __defProp$6(target, name, desc), p2 ? k ^ 4 ? extra : desc : target;
|
|
434
433
|
};
|
|
435
434
|
var __accessCheck$6 = (obj, member, msg) => member.has(obj) || __typeError$6("Cannot " + msg);
|
|
436
435
|
var __privateIn$2 = (member, obj) => Object(obj) !== obj ? __typeError$6('Cannot use the "in" operator on this value') : member.has(obj);
|
|
@@ -526,7 +525,7 @@ function enumerable(enumerable2 = true) {
|
|
|
526
525
|
const host = context.kind === "field" ? this : context.static ? this : Object.getPrototypeOf(this);
|
|
527
526
|
const descriptor2 = Object.getOwnPropertyDescriptor(host, context.name);
|
|
528
527
|
if (descriptor2) {
|
|
529
|
-
Object.defineProperty(host, context.name, __spreadProps$
|
|
528
|
+
Object.defineProperty(host, context.name, __spreadProps$5(__spreadValues$6({}, descriptor2), { enumerable: enumerable2 }));
|
|
530
529
|
}
|
|
531
530
|
});
|
|
532
531
|
};
|
|
@@ -624,25 +623,25 @@ var WeakStore = class {
|
|
|
624
623
|
};
|
|
625
624
|
_store = /* @__PURE__ */ new WeakMap();
|
|
626
625
|
var __create$4 = Object.create;
|
|
627
|
-
var __defProp$
|
|
626
|
+
var __defProp$5 = Object.defineProperty;
|
|
628
627
|
var __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor;
|
|
629
|
-
var __getOwnPropSymbols$
|
|
630
|
-
var __hasOwnProp$
|
|
631
|
-
var __propIsEnum$
|
|
628
|
+
var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
|
|
629
|
+
var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
|
|
630
|
+
var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
|
|
632
631
|
var __knownSymbol$4 = (name, symbol) => (symbol = Symbol[name]) ? symbol : /* @__PURE__ */ Symbol.for("Symbol." + name);
|
|
633
632
|
var __typeError$5 = (msg) => {
|
|
634
633
|
throw TypeError(msg);
|
|
635
634
|
};
|
|
636
635
|
var __pow = Math.pow;
|
|
637
|
-
var __defNormalProp$
|
|
638
|
-
var __spreadValues$
|
|
636
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
637
|
+
var __spreadValues$5 = (a2, b2) => {
|
|
639
638
|
for (var prop in b2 || (b2 = {}))
|
|
640
|
-
if (__hasOwnProp$
|
|
641
|
-
__defNormalProp$
|
|
642
|
-
if (__getOwnPropSymbols$
|
|
643
|
-
for (var prop of __getOwnPropSymbols$
|
|
644
|
-
if (__propIsEnum$
|
|
645
|
-
__defNormalProp$
|
|
639
|
+
if (__hasOwnProp$6.call(b2, prop))
|
|
640
|
+
__defNormalProp$5(a2, prop, b2[prop]);
|
|
641
|
+
if (__getOwnPropSymbols$6)
|
|
642
|
+
for (var prop of __getOwnPropSymbols$6(b2)) {
|
|
643
|
+
if (__propIsEnum$6.call(b2, prop))
|
|
644
|
+
__defNormalProp$5(a2, prop, b2[prop]);
|
|
646
645
|
}
|
|
647
646
|
return a2;
|
|
648
647
|
};
|
|
@@ -653,7 +652,7 @@ var __decoratorStart$4 = (base) => {
|
|
|
653
652
|
var __decoratorStrings$4 = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"];
|
|
654
653
|
var __expectFn$4 = (fn) => fn !== void 0 && typeof fn !== "function" ? __typeError$5("Function expected") : fn;
|
|
655
654
|
var __decoratorContext$4 = (kind, name, done, metadata, fns) => ({ kind: __decoratorStrings$4[kind], name, metadata, addInitializer: (fn) => done._ ? __typeError$5("Already initialized") : fns.push(__expectFn$4(fn || null)) });
|
|
656
|
-
var __decoratorMetadata$4 = (array, target) => __defNormalProp$
|
|
655
|
+
var __decoratorMetadata$4 = (array, target) => __defNormalProp$5(target, __knownSymbol$4("metadata"), array[3]);
|
|
657
656
|
var __runInitializers$4 = (array, flags, self, value) => {
|
|
658
657
|
for (var i2 = 0, fns = array[flags >> 1], n2 = fns && fns.length; i2 < n2; i2++) fns[i2].call(self);
|
|
659
658
|
return value;
|
|
@@ -672,7 +671,7 @@ var __decorateElement$4 = (array, flags, name, decorators, target, extra) => {
|
|
|
672
671
|
it = (0, decorators[i2])(desc[key], ctx), done._ = 1;
|
|
673
672
|
__expectFn$4(it) && (desc[key] = it);
|
|
674
673
|
}
|
|
675
|
-
return desc && __defProp$
|
|
674
|
+
return desc && __defProp$5(target, name, desc), target;
|
|
676
675
|
};
|
|
677
676
|
var __accessCheck$5 = (obj, member, msg) => member.has(obj) || __typeError$5("Cannot " + msg);
|
|
678
677
|
var __privateGet$5 = (obj, member, getter) => (__accessCheck$5(obj, member, "read from private field"), member.get(obj));
|
|
@@ -738,7 +737,7 @@ var Rectangle = class _Rectangle {
|
|
|
738
737
|
translate(x, y2) {
|
|
739
738
|
const { top, left, width, height, scale } = this;
|
|
740
739
|
const newShape = new _Rectangle(left + x, top + y2, width, height);
|
|
741
|
-
newShape.scale = __spreadValues$
|
|
740
|
+
newShape.scale = __spreadValues$5({}, scale);
|
|
742
741
|
return newShape;
|
|
743
742
|
}
|
|
744
743
|
get boundingRectangle() {
|
|
@@ -913,39 +912,39 @@ var Axis$1 = /* @__PURE__ */ ((Axis2) => {
|
|
|
913
912
|
})(Axis$1 || {});
|
|
914
913
|
var Axes = Object.values(Axis$1);
|
|
915
914
|
var __create$3 = Object.create;
|
|
916
|
-
var __defProp$
|
|
917
|
-
var __defProps$
|
|
915
|
+
var __defProp$4 = Object.defineProperty;
|
|
916
|
+
var __defProps$4 = Object.defineProperties;
|
|
918
917
|
var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor;
|
|
919
|
-
var __getOwnPropDescs$
|
|
920
|
-
var __getOwnPropSymbols$
|
|
921
|
-
var __hasOwnProp$
|
|
922
|
-
var __propIsEnum$
|
|
918
|
+
var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
|
|
919
|
+
var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
|
|
920
|
+
var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
|
|
921
|
+
var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
|
|
923
922
|
var __knownSymbol$3 = (name, symbol) => (symbol = Symbol[name]) ? symbol : /* @__PURE__ */ Symbol.for("Symbol." + name);
|
|
924
923
|
var __typeError$4 = (msg) => {
|
|
925
924
|
throw TypeError(msg);
|
|
926
925
|
};
|
|
927
|
-
var __defNormalProp$
|
|
928
|
-
var __spreadValues$
|
|
926
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
927
|
+
var __spreadValues$4 = (a2, b2) => {
|
|
929
928
|
for (var prop in b2 || (b2 = {}))
|
|
930
|
-
if (__hasOwnProp$
|
|
931
|
-
__defNormalProp$
|
|
932
|
-
if (__getOwnPropSymbols$
|
|
933
|
-
for (var prop of __getOwnPropSymbols$
|
|
934
|
-
if (__propIsEnum$
|
|
935
|
-
__defNormalProp$
|
|
929
|
+
if (__hasOwnProp$5.call(b2, prop))
|
|
930
|
+
__defNormalProp$4(a2, prop, b2[prop]);
|
|
931
|
+
if (__getOwnPropSymbols$5)
|
|
932
|
+
for (var prop of __getOwnPropSymbols$5(b2)) {
|
|
933
|
+
if (__propIsEnum$5.call(b2, prop))
|
|
934
|
+
__defNormalProp$4(a2, prop, b2[prop]);
|
|
936
935
|
}
|
|
937
936
|
return a2;
|
|
938
937
|
};
|
|
939
|
-
var __spreadProps$
|
|
940
|
-
var __name$1 = (target, value) => __defProp$
|
|
938
|
+
var __spreadProps$4 = (a2, b2) => __defProps$4(a2, __getOwnPropDescs$4(b2));
|
|
939
|
+
var __name$1 = (target, value) => __defProp$4(target, "name", { value, configurable: true });
|
|
941
940
|
var __objRest$3 = (source, exclude) => {
|
|
942
941
|
var target = {};
|
|
943
942
|
for (var prop in source)
|
|
944
|
-
if (__hasOwnProp$
|
|
943
|
+
if (__hasOwnProp$5.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
945
944
|
target[prop] = source[prop];
|
|
946
|
-
if (source != null && __getOwnPropSymbols$
|
|
947
|
-
for (var prop of __getOwnPropSymbols$
|
|
948
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
945
|
+
if (source != null && __getOwnPropSymbols$5)
|
|
946
|
+
for (var prop of __getOwnPropSymbols$5(source)) {
|
|
947
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$5.call(source, prop))
|
|
949
948
|
target[prop] = source[prop];
|
|
950
949
|
}
|
|
951
950
|
return target;
|
|
@@ -957,7 +956,7 @@ var __decoratorStart$3 = (base) => {
|
|
|
957
956
|
var __decoratorStrings$3 = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"];
|
|
958
957
|
var __expectFn$3 = (fn) => fn !== void 0 && typeof fn !== "function" ? __typeError$4("Function expected") : fn;
|
|
959
958
|
var __decoratorContext$3 = (kind, name, done, metadata, fns) => ({ kind: __decoratorStrings$3[kind], name, metadata, addInitializer: (fn) => done._ ? __typeError$4("Already initialized") : fns.push(__expectFn$3(fn || null)) });
|
|
960
|
-
var __decoratorMetadata$3 = (array, target) => __defNormalProp$
|
|
959
|
+
var __decoratorMetadata$3 = (array, target) => __defNormalProp$4(target, __knownSymbol$3("metadata"), array[3]);
|
|
961
960
|
var __runInitializers$3 = (array, flags, self, value) => {
|
|
962
961
|
for (var i2 = 0, fns = array[flags >> 1], n2 = fns && fns.length; i2 < n2; i2++) flags & 1 ? fns[i2].call(self) : value = fns[i2].call(self, value);
|
|
963
962
|
return value;
|
|
@@ -984,7 +983,7 @@ var __decorateElement$3 = (array, flags, name, decorators, target, extra) => {
|
|
|
984
983
|
else if (typeof it !== "object" || it === null) __typeError$4("Object expected");
|
|
985
984
|
else __expectFn$3(fn = it.get) && (desc.get = fn), __expectFn$3(fn = it.set) && (desc.set = fn), __expectFn$3(fn = it.init) && initializers.unshift(fn);
|
|
986
985
|
}
|
|
987
|
-
return k || __decoratorMetadata$3(array, target), desc && __defProp$
|
|
986
|
+
return k || __decoratorMetadata$3(array, target), desc && __defProp$4(target, name, desc), p2 ? k ^ 4 ? extra : desc : target;
|
|
988
987
|
};
|
|
989
988
|
var __accessCheck$4 = (obj, member, msg) => member.has(obj) || __typeError$4("Cannot " + msg);
|
|
990
989
|
var __privateIn$1 = (member, obj) => Object(obj) !== obj ? __typeError$4('Cannot use the "in" operator on this value') : member.has(obj);
|
|
@@ -1411,7 +1410,7 @@ var DragDropMonitor = class extends Monitor {
|
|
|
1411
1410
|
};
|
|
1412
1411
|
function defaultPreventable(event, cancelable = true) {
|
|
1413
1412
|
let defaultPrevented = false;
|
|
1414
|
-
return __spreadProps$
|
|
1413
|
+
return __spreadProps$4(__spreadValues$4({}, event), {
|
|
1415
1414
|
cancelable,
|
|
1416
1415
|
get defaultPrevented() {
|
|
1417
1416
|
return defaultPrevented;
|
|
@@ -2228,7 +2227,7 @@ var DragOperation = class {
|
|
|
2228
2227
|
const { x, y: y2 } = this.position.delta;
|
|
2229
2228
|
let transform = { x, y: y2 };
|
|
2230
2229
|
for (const modifier of this.modifiers) {
|
|
2231
|
-
transform = modifier.apply(__spreadProps$
|
|
2230
|
+
transform = modifier.apply(__spreadProps$4(__spreadValues$4({}, this.snapshot()), {
|
|
2232
2231
|
transform
|
|
2233
2232
|
}));
|
|
2234
2233
|
}
|
|
@@ -3755,39 +3754,39 @@ function generateUniqueId(prefix) {
|
|
|
3755
3754
|
return `${prefix}-${id}`;
|
|
3756
3755
|
}
|
|
3757
3756
|
var __create$2 = Object.create;
|
|
3758
|
-
var __defProp$
|
|
3759
|
-
var __defProps$
|
|
3757
|
+
var __defProp$3 = Object.defineProperty;
|
|
3758
|
+
var __defProps$3 = Object.defineProperties;
|
|
3760
3759
|
var __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor;
|
|
3761
|
-
var __getOwnPropDescs$
|
|
3762
|
-
var __getOwnPropSymbols$
|
|
3763
|
-
var __hasOwnProp$
|
|
3764
|
-
var __propIsEnum$
|
|
3760
|
+
var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
|
|
3761
|
+
var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
|
|
3762
|
+
var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
|
|
3763
|
+
var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
|
|
3765
3764
|
var __knownSymbol$2 = (name, symbol) => (symbol = Symbol[name]) ? symbol : /* @__PURE__ */ Symbol.for("Symbol." + name);
|
|
3766
3765
|
var __typeError$2 = (msg) => {
|
|
3767
3766
|
throw TypeError(msg);
|
|
3768
3767
|
};
|
|
3769
|
-
var __defNormalProp$
|
|
3770
|
-
var __spreadValues$
|
|
3768
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3769
|
+
var __spreadValues$3 = (a2, b2) => {
|
|
3771
3770
|
for (var prop in b2 || (b2 = {}))
|
|
3772
|
-
if (__hasOwnProp$
|
|
3773
|
-
__defNormalProp$
|
|
3774
|
-
if (__getOwnPropSymbols$
|
|
3775
|
-
for (var prop of __getOwnPropSymbols$
|
|
3776
|
-
if (__propIsEnum$
|
|
3777
|
-
__defNormalProp$
|
|
3771
|
+
if (__hasOwnProp$4.call(b2, prop))
|
|
3772
|
+
__defNormalProp$3(a2, prop, b2[prop]);
|
|
3773
|
+
if (__getOwnPropSymbols$4)
|
|
3774
|
+
for (var prop of __getOwnPropSymbols$4(b2)) {
|
|
3775
|
+
if (__propIsEnum$4.call(b2, prop))
|
|
3776
|
+
__defNormalProp$3(a2, prop, b2[prop]);
|
|
3778
3777
|
}
|
|
3779
3778
|
return a2;
|
|
3780
3779
|
};
|
|
3781
|
-
var __spreadProps$
|
|
3782
|
-
var __name = (target, value) => __defProp$
|
|
3780
|
+
var __spreadProps$3 = (a2, b2) => __defProps$3(a2, __getOwnPropDescs$3(b2));
|
|
3781
|
+
var __name = (target, value) => __defProp$3(target, "name", { value, configurable: true });
|
|
3783
3782
|
var __objRest$2 = (source, exclude) => {
|
|
3784
3783
|
var target = {};
|
|
3785
3784
|
for (var prop in source)
|
|
3786
|
-
if (__hasOwnProp$
|
|
3785
|
+
if (__hasOwnProp$4.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3787
3786
|
target[prop] = source[prop];
|
|
3788
|
-
if (source != null && __getOwnPropSymbols$
|
|
3789
|
-
for (var prop of __getOwnPropSymbols$
|
|
3790
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3787
|
+
if (source != null && __getOwnPropSymbols$4)
|
|
3788
|
+
for (var prop of __getOwnPropSymbols$4(source)) {
|
|
3789
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$4.call(source, prop))
|
|
3791
3790
|
target[prop] = source[prop];
|
|
3792
3791
|
}
|
|
3793
3792
|
return target;
|
|
@@ -3799,7 +3798,7 @@ var __decoratorStart$2 = (base) => {
|
|
|
3799
3798
|
var __decoratorStrings$2 = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"];
|
|
3800
3799
|
var __expectFn$2 = (fn) => fn !== void 0 && typeof fn !== "function" ? __typeError$2("Function expected") : fn;
|
|
3801
3800
|
var __decoratorContext$2 = (kind, name, done, metadata, fns) => ({ kind: __decoratorStrings$2[kind], name, metadata, addInitializer: (fn) => done._ ? __typeError$2("Already initialized") : fns.push(__expectFn$2(fn || null)) });
|
|
3802
|
-
var __decoratorMetadata$2 = (array, target) => __defNormalProp$
|
|
3801
|
+
var __decoratorMetadata$2 = (array, target) => __defNormalProp$3(target, __knownSymbol$2("metadata"), array[3]);
|
|
3803
3802
|
var __runInitializers$2 = (array, flags, self, value) => {
|
|
3804
3803
|
for (var i2 = 0, fns = array[flags >> 1], n2 = fns && fns.length; i2 < n2; i2++) flags & 1 ? fns[i2].call(self) : value = fns[i2].call(self, value);
|
|
3805
3804
|
return value;
|
|
@@ -3826,7 +3825,7 @@ var __decorateElement$2 = (array, flags, name, decorators, target, extra) => {
|
|
|
3826
3825
|
else if (typeof it !== "object" || it === null) __typeError$2("Object expected");
|
|
3827
3826
|
else __expectFn$2(fn = it.get) && (desc.get = fn), __expectFn$2(fn = it.set) && (desc.set = fn), __expectFn$2(fn = it.init) && initializers.unshift(fn);
|
|
3828
3827
|
}
|
|
3829
|
-
return k || __decoratorMetadata$2(array, target), desc && __defProp$
|
|
3828
|
+
return k || __decoratorMetadata$2(array, target), desc && __defProp$3(target, name, desc), p2 ? k ^ 4 ? extra : desc : target;
|
|
3830
3829
|
};
|
|
3831
3830
|
var __accessCheck$2 = (obj, member, msg) => member.has(obj) || __typeError$2("Cannot " + msg);
|
|
3832
3831
|
var __privateIn = (member, obj) => Object(obj) !== obj ? __typeError$2('Cannot use the "in" operator on this value') : member.has(obj);
|
|
@@ -4626,7 +4625,7 @@ render_fn = function() {
|
|
|
4626
4625
|
elementMutationObserver == null ? void 0 : elementMutationObserver.takeRecords();
|
|
4627
4626
|
animateTransform({
|
|
4628
4627
|
element: feedbackElement,
|
|
4629
|
-
keyframes: __spreadProps$
|
|
4628
|
+
keyframes: __spreadProps$3(__spreadValues$3(__spreadValues$3({}, heightKeyframes), widthKeyframes), {
|
|
4630
4629
|
translate: [
|
|
4631
4630
|
`${currentTranslate.x}px ${currentTranslate.y}px 0`,
|
|
4632
4631
|
`${finalTranslate.x}px ${finalTranslate.y}px 0`
|
|
@@ -5609,7 +5608,7 @@ var DragDropManager2 = class extends DragDropManager$1 {
|
|
|
5609
5608
|
sensors = defaultPreset.sensors,
|
|
5610
5609
|
modifiers = []
|
|
5611
5610
|
} = input;
|
|
5612
|
-
super(__spreadProps$
|
|
5611
|
+
super(__spreadProps$3(__spreadValues$3({}, input), {
|
|
5613
5612
|
plugins: [ScrollListener, Scroller, ...plugins],
|
|
5614
5613
|
sensors,
|
|
5615
5614
|
modifiers
|
|
@@ -5631,7 +5630,7 @@ var Draggable$1 = class Draggable2 extends (_c = Draggable$2, _handle_dec = [rea
|
|
|
5631
5630
|
"feedback"
|
|
5632
5631
|
]);
|
|
5633
5632
|
super(
|
|
5634
|
-
__spreadValues$
|
|
5633
|
+
__spreadValues$3({
|
|
5635
5634
|
effects: () => [
|
|
5636
5635
|
...effects2(),
|
|
5637
5636
|
() => {
|
|
@@ -5693,7 +5692,7 @@ var Droppable2 = class extends (_c2 = Droppable$1, _element_dec2 = [reactive], _
|
|
|
5693
5692
|
};
|
|
5694
5693
|
const observePosition = d(false);
|
|
5695
5694
|
super(
|
|
5696
|
-
__spreadProps$
|
|
5695
|
+
__spreadProps$3(__spreadValues$3({}, input), {
|
|
5697
5696
|
collisionDetector,
|
|
5698
5697
|
effects: () => [
|
|
5699
5698
|
...effects2(),
|
|
@@ -5753,38 +5752,38 @@ _d = __decorateElement$2(_init5, 20, "#element", _element_dec2, _Droppable_insta
|
|
|
5753
5752
|
__decorateElement$2(_init5, 4, "proxy", _proxy_dec, Droppable2, _proxy);
|
|
5754
5753
|
__decoratorMetadata$2(_init5, Droppable2);
|
|
5755
5754
|
var __create$1 = Object.create;
|
|
5756
|
-
var __defProp$
|
|
5757
|
-
var __defProps$
|
|
5755
|
+
var __defProp$2 = Object.defineProperty;
|
|
5756
|
+
var __defProps$2 = Object.defineProperties;
|
|
5758
5757
|
var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
|
|
5759
|
-
var __getOwnPropDescs$
|
|
5760
|
-
var __getOwnPropSymbols$
|
|
5761
|
-
var __hasOwnProp$
|
|
5762
|
-
var __propIsEnum$
|
|
5758
|
+
var __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;
|
|
5759
|
+
var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
|
|
5760
|
+
var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
|
|
5761
|
+
var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
|
|
5763
5762
|
var __knownSymbol$1 = (name, symbol) => (symbol = Symbol[name]) ? symbol : /* @__PURE__ */ Symbol.for("Symbol." + name);
|
|
5764
5763
|
var __typeError$1 = (msg) => {
|
|
5765
5764
|
throw TypeError(msg);
|
|
5766
5765
|
};
|
|
5767
|
-
var __defNormalProp$
|
|
5768
|
-
var __spreadValues$
|
|
5766
|
+
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5767
|
+
var __spreadValues$2 = (a2, b2) => {
|
|
5769
5768
|
for (var prop in b2 || (b2 = {}))
|
|
5770
|
-
if (__hasOwnProp$
|
|
5771
|
-
__defNormalProp$
|
|
5772
|
-
if (__getOwnPropSymbols$
|
|
5773
|
-
for (var prop of __getOwnPropSymbols$
|
|
5774
|
-
if (__propIsEnum$
|
|
5775
|
-
__defNormalProp$
|
|
5769
|
+
if (__hasOwnProp$3.call(b2, prop))
|
|
5770
|
+
__defNormalProp$2(a2, prop, b2[prop]);
|
|
5771
|
+
if (__getOwnPropSymbols$3)
|
|
5772
|
+
for (var prop of __getOwnPropSymbols$3(b2)) {
|
|
5773
|
+
if (__propIsEnum$3.call(b2, prop))
|
|
5774
|
+
__defNormalProp$2(a2, prop, b2[prop]);
|
|
5776
5775
|
}
|
|
5777
5776
|
return a2;
|
|
5778
5777
|
};
|
|
5779
|
-
var __spreadProps$
|
|
5778
|
+
var __spreadProps$2 = (a2, b2) => __defProps$2(a2, __getOwnPropDescs$2(b2));
|
|
5780
5779
|
var __objRest$1 = (source, exclude) => {
|
|
5781
5780
|
var target = {};
|
|
5782
5781
|
for (var prop in source)
|
|
5783
|
-
if (__hasOwnProp$
|
|
5782
|
+
if (__hasOwnProp$3.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
5784
5783
|
target[prop] = source[prop];
|
|
5785
|
-
if (source != null && __getOwnPropSymbols$
|
|
5786
|
-
for (var prop of __getOwnPropSymbols$
|
|
5787
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
5784
|
+
if (source != null && __getOwnPropSymbols$3)
|
|
5785
|
+
for (var prop of __getOwnPropSymbols$3(source)) {
|
|
5786
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$3.call(source, prop))
|
|
5788
5787
|
target[prop] = source[prop];
|
|
5789
5788
|
}
|
|
5790
5789
|
return target;
|
|
@@ -5796,7 +5795,7 @@ var __decoratorStart$1 = (base) => {
|
|
|
5796
5795
|
var __decoratorStrings$1 = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"];
|
|
5797
5796
|
var __expectFn$1 = (fn) => fn !== void 0 && typeof fn !== "function" ? __typeError$1("Function expected") : fn;
|
|
5798
5797
|
var __decoratorContext$1 = (kind, name, done, metadata, fns) => ({ kind: __decoratorStrings$1[kind], name, metadata, addInitializer: (fn) => done._ ? __typeError$1("Already initialized") : fns.push(__expectFn$1(fn || null)) });
|
|
5799
|
-
var __decoratorMetadata$1 = (array, target) => __defNormalProp$
|
|
5798
|
+
var __decoratorMetadata$1 = (array, target) => __defNormalProp$2(target, __knownSymbol$1("metadata"), array[3]);
|
|
5800
5799
|
var __runInitializers$1 = (array, flags, self, value) => {
|
|
5801
5800
|
for (var i2 = 0, fns = array[flags >> 1], n2 = fns && fns.length; i2 < n2; i2++) flags & 1 ? fns[i2].call(self) : value = fns[i2].call(self, value);
|
|
5802
5801
|
return value;
|
|
@@ -5822,7 +5821,7 @@ var __decorateElement$1 = (array, flags, name, decorators, target, extra) => {
|
|
|
5822
5821
|
else if (typeof it !== "object" || it === null) __typeError$1("Object expected");
|
|
5823
5822
|
else __expectFn$1(fn = it.get) && (desc.get = fn), __expectFn$1(fn = it.set) && (desc.set = fn), __expectFn$1(fn = it.init) && initializers.unshift(fn);
|
|
5824
5823
|
}
|
|
5825
|
-
return desc && __defProp$
|
|
5824
|
+
return desc && __defProp$2(target, name, desc), target;
|
|
5826
5825
|
};
|
|
5827
5826
|
var __accessCheck$1 = (obj, member, msg) => member.has(obj) || __typeError$1("Cannot " + msg);
|
|
5828
5827
|
var __privateGet$1 = (obj, member, getter) => (__accessCheck$1(obj, member, "read from private field"), member.get(obj));
|
|
@@ -5989,7 +5988,7 @@ function arrayMove$1(array, from, to) {
|
|
|
5989
5988
|
newArray.splice(to, 0, newArray.splice(from, 1)[0]);
|
|
5990
5989
|
return newArray;
|
|
5991
5990
|
}
|
|
5992
|
-
function mutate
|
|
5991
|
+
function mutate(items, event, mutation) {
|
|
5993
5992
|
var _a4, _b2;
|
|
5994
5993
|
const { source, target, canceled } = event.operation;
|
|
5995
5994
|
if (!source || !target || canceled) {
|
|
@@ -6067,8 +6066,8 @@ function mutate$1(items, event, mutation) {
|
|
|
6067
6066
|
]
|
|
6068
6067
|
});
|
|
6069
6068
|
}
|
|
6070
|
-
function move
|
|
6071
|
-
return mutate
|
|
6069
|
+
function move(items, event) {
|
|
6070
|
+
return mutate(items, event, arrayMove$1);
|
|
6072
6071
|
}
|
|
6073
6072
|
var defaultGroup = "__default__";
|
|
6074
6073
|
var OptimisticSortingPlugin = class extends Plugin {
|
|
@@ -6140,7 +6139,7 @@ var OptimisticSortingPlugin = class extends Plugin {
|
|
|
6140
6139
|
[sourceGroup]: orderedSourceSortables,
|
|
6141
6140
|
[targetGroup]: orderedTargetSortables
|
|
6142
6141
|
};
|
|
6143
|
-
const newState = move
|
|
6142
|
+
const newState = move(state, event);
|
|
6144
6143
|
if (state === newState) return;
|
|
6145
6144
|
const sourceIndex = newState[targetGroup].indexOf(source.sortable);
|
|
6146
6145
|
const targetIndex = newState[targetGroup].indexOf(target.sortable);
|
|
@@ -6285,7 +6284,7 @@ var Sortable2 = class {
|
|
|
6285
6284
|
]);
|
|
6286
6285
|
this.droppable = new SortableDroppable(input, manager, this);
|
|
6287
6286
|
this.draggable = new SortableDraggable(
|
|
6288
|
-
__spreadProps$
|
|
6287
|
+
__spreadProps$2(__spreadValues$2({}, input), {
|
|
6289
6288
|
effects: () => [
|
|
6290
6289
|
() => {
|
|
6291
6290
|
var _a22, _b22, _c3;
|
|
@@ -6644,17 +6643,17 @@ function useOnElementChange(value, onChange) {
|
|
|
6644
6643
|
}
|
|
6645
6644
|
});
|
|
6646
6645
|
}
|
|
6647
|
-
var __getOwnPropSymbols$
|
|
6648
|
-
var __hasOwnProp$
|
|
6649
|
-
var __propIsEnum$
|
|
6646
|
+
var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
|
|
6647
|
+
var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
|
|
6648
|
+
var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
|
|
6650
6649
|
var __objRest = (source, exclude) => {
|
|
6651
6650
|
var target = {};
|
|
6652
6651
|
for (var prop in source)
|
|
6653
|
-
if (__hasOwnProp$
|
|
6652
|
+
if (__hasOwnProp$2.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
6654
6653
|
target[prop] = source[prop];
|
|
6655
|
-
if (source != null && __getOwnPropSymbols$
|
|
6656
|
-
for (var prop of __getOwnPropSymbols$
|
|
6657
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6654
|
+
if (source != null && __getOwnPropSymbols$2)
|
|
6655
|
+
for (var prop of __getOwnPropSymbols$2(source)) {
|
|
6656
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$2.call(source, prop))
|
|
6658
6657
|
target[prop] = source[prop];
|
|
6659
6658
|
}
|
|
6660
6659
|
return target;
|
|
@@ -6972,25 +6971,25 @@ var Axis = /* @__PURE__ */ ((Axis2) => {
|
|
|
6972
6971
|
return Axis2;
|
|
6973
6972
|
})(Axis || {});
|
|
6974
6973
|
Object.values(Axis);
|
|
6975
|
-
var __defProp$
|
|
6976
|
-
var __defProps$
|
|
6977
|
-
var __getOwnPropDescs$
|
|
6978
|
-
var __getOwnPropSymbols$
|
|
6979
|
-
var __hasOwnProp$
|
|
6980
|
-
var __propIsEnum$
|
|
6981
|
-
var __defNormalProp$
|
|
6982
|
-
var __spreadValues$
|
|
6974
|
+
var __defProp$1 = Object.defineProperty;
|
|
6975
|
+
var __defProps$1 = Object.defineProperties;
|
|
6976
|
+
var __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;
|
|
6977
|
+
var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
|
|
6978
|
+
var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
|
|
6979
|
+
var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
|
|
6980
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6981
|
+
var __spreadValues$1 = (a2, b2) => {
|
|
6983
6982
|
for (var prop in b2 || (b2 = {}))
|
|
6984
|
-
if (__hasOwnProp$
|
|
6985
|
-
__defNormalProp$
|
|
6986
|
-
if (__getOwnPropSymbols$
|
|
6987
|
-
for (var prop of __getOwnPropSymbols$
|
|
6988
|
-
if (__propIsEnum$
|
|
6989
|
-
__defNormalProp$
|
|
6983
|
+
if (__hasOwnProp$1.call(b2, prop))
|
|
6984
|
+
__defNormalProp$1(a2, prop, b2[prop]);
|
|
6985
|
+
if (__getOwnPropSymbols$1)
|
|
6986
|
+
for (var prop of __getOwnPropSymbols$1(b2)) {
|
|
6987
|
+
if (__propIsEnum$1.call(b2, prop))
|
|
6988
|
+
__defNormalProp$1(a2, prop, b2[prop]);
|
|
6990
6989
|
}
|
|
6991
6990
|
return a2;
|
|
6992
6991
|
};
|
|
6993
|
-
var __spreadProps$
|
|
6992
|
+
var __spreadProps$1 = (a2, b2) => __defProps$1(a2, __getOwnPropDescs$1(b2));
|
|
6994
6993
|
function useSortable(input) {
|
|
6995
6994
|
const {
|
|
6996
6995
|
accept,
|
|
@@ -7009,10 +7008,10 @@ function useSortable(input) {
|
|
|
7009
7008
|
target,
|
|
7010
7009
|
type
|
|
7011
7010
|
} = input;
|
|
7012
|
-
const transition = __spreadValues$
|
|
7011
|
+
const transition = __spreadValues$1(__spreadValues$1({}, defaultSortableTransition), input.transition);
|
|
7013
7012
|
const sortable = useInstance((manager) => {
|
|
7014
7013
|
return new Sortable2(
|
|
7015
|
-
__spreadProps$
|
|
7014
|
+
__spreadProps$1(__spreadValues$1({}, input), {
|
|
7016
7015
|
transition,
|
|
7017
7016
|
register: false,
|
|
7018
7017
|
handle: currentValue(handle),
|
|
@@ -7135,25 +7134,25 @@ function shouldUpdateSynchronously(key, oldValue, newValue) {
|
|
|
7135
7134
|
if (key === "isDragSource" && !newValue && oldValue) return true;
|
|
7136
7135
|
return false;
|
|
7137
7136
|
}
|
|
7138
|
-
var __defProp
|
|
7139
|
-
var __defProps
|
|
7140
|
-
var __getOwnPropDescs
|
|
7141
|
-
var __getOwnPropSymbols
|
|
7142
|
-
var __hasOwnProp
|
|
7143
|
-
var __propIsEnum
|
|
7144
|
-
var __defNormalProp
|
|
7145
|
-
var __spreadValues
|
|
7137
|
+
var __defProp = Object.defineProperty;
|
|
7138
|
+
var __defProps = Object.defineProperties;
|
|
7139
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
7140
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
7141
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7142
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7143
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7144
|
+
var __spreadValues = (a2, b2) => {
|
|
7146
7145
|
for (var prop in b2 || (b2 = {}))
|
|
7147
|
-
if (__hasOwnProp
|
|
7148
|
-
__defNormalProp
|
|
7149
|
-
if (__getOwnPropSymbols
|
|
7150
|
-
for (var prop of __getOwnPropSymbols
|
|
7151
|
-
if (__propIsEnum
|
|
7152
|
-
__defNormalProp
|
|
7146
|
+
if (__hasOwnProp.call(b2, prop))
|
|
7147
|
+
__defNormalProp(a2, prop, b2[prop]);
|
|
7148
|
+
if (__getOwnPropSymbols)
|
|
7149
|
+
for (var prop of __getOwnPropSymbols(b2)) {
|
|
7150
|
+
if (__propIsEnum.call(b2, prop))
|
|
7151
|
+
__defNormalProp(a2, prop, b2[prop]);
|
|
7153
7152
|
}
|
|
7154
7153
|
return a2;
|
|
7155
7154
|
};
|
|
7156
|
-
var __spreadProps
|
|
7155
|
+
var __spreadProps = (a2, b2) => __defProps(a2, __getOwnPropDescs(b2));
|
|
7157
7156
|
var _AxisModifier = class _AxisModifier2 extends Modifier {
|
|
7158
7157
|
/**
|
|
7159
7158
|
* Applies the axis restriction to the drag operation.
|
|
@@ -7166,7 +7165,7 @@ var _AxisModifier = class _AxisModifier2 extends Modifier {
|
|
|
7166
7165
|
return transform;
|
|
7167
7166
|
}
|
|
7168
7167
|
const { axis, value } = this.options;
|
|
7169
|
-
return __spreadProps
|
|
7168
|
+
return __spreadProps(__spreadValues({}, transform), {
|
|
7170
7169
|
[axis]: value
|
|
7171
7170
|
});
|
|
7172
7171
|
}
|
|
@@ -7182,7 +7181,7 @@ var RestrictToHorizontalAxis = AxisModifier.configure({
|
|
|
7182
7181
|
value: 0
|
|
7183
7182
|
});
|
|
7184
7183
|
function restrictShapeToBoundingRectangle(shape, transform, boundingRect) {
|
|
7185
|
-
const value = __spreadValues
|
|
7184
|
+
const value = __spreadValues({}, transform);
|
|
7186
7185
|
if (shape.boundingRectangle.top + transform.y <= boundingRect.top) {
|
|
7187
7186
|
value.y = boundingRect.top - shape.boundingRectangle.top;
|
|
7188
7187
|
} else if (shape.boundingRectangle.bottom + transform.y >= boundingRect.top + boundingRect.height) {
|
|
@@ -7207,7 +7206,7 @@ var _SnapModifier = class _SnapModifier2 extends Modifier {
|
|
|
7207
7206
|
const { size = 20 } = (_a4 = this.options) != null ? _a4 : {};
|
|
7208
7207
|
const x = typeof size === "number" ? size : size.x;
|
|
7209
7208
|
const y2 = typeof size === "number" ? size : size.y;
|
|
7210
|
-
return __spreadProps
|
|
7209
|
+
return __spreadProps(__spreadValues({}, transform), {
|
|
7211
7210
|
x: Math.ceil(transform.x / x) * x,
|
|
7212
7211
|
y: Math.ceil(transform.y / y2) * y2
|
|
7213
7212
|
});
|
|
@@ -7282,25 +7281,6 @@ var _RestrictToElement = class _RestrictToElement2 extends Modifier {
|
|
|
7282
7281
|
};
|
|
7283
7282
|
_RestrictToElement.configure = configurator(_RestrictToElement);
|
|
7284
7283
|
var RestrictToElement = _RestrictToElement;
|
|
7285
|
-
var __defProp = Object.defineProperty;
|
|
7286
|
-
var __defProps = Object.defineProperties;
|
|
7287
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
7288
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
7289
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7290
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7291
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7292
|
-
var __spreadValues = (a2, b2) => {
|
|
7293
|
-
for (var prop in b2 || (b2 = {}))
|
|
7294
|
-
if (__hasOwnProp.call(b2, prop))
|
|
7295
|
-
__defNormalProp(a2, prop, b2[prop]);
|
|
7296
|
-
if (__getOwnPropSymbols)
|
|
7297
|
-
for (var prop of __getOwnPropSymbols(b2)) {
|
|
7298
|
-
if (__propIsEnum.call(b2, prop))
|
|
7299
|
-
__defNormalProp(a2, prop, b2[prop]);
|
|
7300
|
-
}
|
|
7301
|
-
return a2;
|
|
7302
|
-
};
|
|
7303
|
-
var __spreadProps = (a2, b2) => __defProps(a2, __getOwnPropDescs(b2));
|
|
7304
7284
|
function arrayMove(array, from, to) {
|
|
7305
7285
|
if (from === to) {
|
|
7306
7286
|
return array;
|
|
@@ -7309,88 +7289,6 @@ function arrayMove(array, from, to) {
|
|
|
7309
7289
|
newArray.splice(to, 0, newArray.splice(from, 1)[0]);
|
|
7310
7290
|
return newArray;
|
|
7311
7291
|
}
|
|
7312
|
-
function mutate(items, event, mutation) {
|
|
7313
|
-
var _a4, _b2;
|
|
7314
|
-
const { source, target, canceled } = event.operation;
|
|
7315
|
-
if (!source || !target || canceled) {
|
|
7316
|
-
if ("preventDefault" in event) event.preventDefault();
|
|
7317
|
-
return items;
|
|
7318
|
-
}
|
|
7319
|
-
const findIndex = (item, id) => item === id || typeof item === "object" && "id" in item && item.id === id;
|
|
7320
|
-
if (Array.isArray(items)) {
|
|
7321
|
-
const sourceIndex2 = items.findIndex((item) => findIndex(item, source.id));
|
|
7322
|
-
const targetIndex2 = items.findIndex((item) => findIndex(item, target.id));
|
|
7323
|
-
if (sourceIndex2 === -1 || targetIndex2 === -1) {
|
|
7324
|
-
return items;
|
|
7325
|
-
}
|
|
7326
|
-
if (!canceled && "index" in source && typeof source.index === "number") {
|
|
7327
|
-
const projectedSourceIndex = source.index;
|
|
7328
|
-
if (projectedSourceIndex !== sourceIndex2) {
|
|
7329
|
-
return mutation(items, sourceIndex2, projectedSourceIndex);
|
|
7330
|
-
}
|
|
7331
|
-
}
|
|
7332
|
-
return mutation(items, sourceIndex2, targetIndex2);
|
|
7333
|
-
}
|
|
7334
|
-
const entries = Object.entries(items);
|
|
7335
|
-
let sourceIndex = -1;
|
|
7336
|
-
let sourceParent;
|
|
7337
|
-
let targetIndex = -1;
|
|
7338
|
-
let targetParent;
|
|
7339
|
-
for (const [id, children] of entries) {
|
|
7340
|
-
if (sourceIndex === -1) {
|
|
7341
|
-
sourceIndex = children.findIndex((item) => findIndex(item, source.id));
|
|
7342
|
-
if (sourceIndex !== -1) {
|
|
7343
|
-
sourceParent = id;
|
|
7344
|
-
}
|
|
7345
|
-
}
|
|
7346
|
-
if (targetIndex === -1) {
|
|
7347
|
-
targetIndex = children.findIndex((item) => findIndex(item, target.id));
|
|
7348
|
-
if (targetIndex !== -1) {
|
|
7349
|
-
targetParent = id;
|
|
7350
|
-
}
|
|
7351
|
-
}
|
|
7352
|
-
if (sourceIndex !== -1 && targetIndex !== -1) {
|
|
7353
|
-
break;
|
|
7354
|
-
}
|
|
7355
|
-
}
|
|
7356
|
-
if (!source.manager) return items;
|
|
7357
|
-
const { dragOperation } = source.manager;
|
|
7358
|
-
const position = (_b2 = (_a4 = dragOperation.shape) == null ? void 0 : _a4.current.center) != null ? _b2 : dragOperation.position.current;
|
|
7359
|
-
if (targetParent == null) {
|
|
7360
|
-
if (target.id in items) {
|
|
7361
|
-
const insertionIndex = target.shape && position.y > target.shape.center.y ? items[target.id].length : 0;
|
|
7362
|
-
targetParent = target.id;
|
|
7363
|
-
targetIndex = insertionIndex;
|
|
7364
|
-
}
|
|
7365
|
-
}
|
|
7366
|
-
if (sourceParent == null || targetParent == null || sourceParent === targetParent && sourceIndex === targetIndex) {
|
|
7367
|
-
if ("preventDefault" in event) event.preventDefault();
|
|
7368
|
-
return items;
|
|
7369
|
-
}
|
|
7370
|
-
if (sourceParent === targetParent) {
|
|
7371
|
-
return __spreadProps(__spreadValues({}, items), {
|
|
7372
|
-
[sourceParent]: mutation(items[sourceParent], sourceIndex, targetIndex)
|
|
7373
|
-
});
|
|
7374
|
-
}
|
|
7375
|
-
const isBelowTarget = target.shape && Math.round(position.y) > Math.round(target.shape.center.y);
|
|
7376
|
-
const modifier = isBelowTarget ? 1 : 0;
|
|
7377
|
-
const sourceItem = items[sourceParent][sourceIndex];
|
|
7378
|
-
return __spreadProps(__spreadValues({}, items), {
|
|
7379
|
-
[sourceParent]: [
|
|
7380
|
-
...items[sourceParent].slice(0, sourceIndex),
|
|
7381
|
-
...items[sourceParent].slice(sourceIndex + 1)
|
|
7382
|
-
],
|
|
7383
|
-
[targetParent]: [
|
|
7384
|
-
...items[targetParent].slice(0, targetIndex + modifier),
|
|
7385
|
-
sourceItem,
|
|
7386
|
-
...items[targetParent].slice(targetIndex + modifier)
|
|
7387
|
-
]
|
|
7388
|
-
});
|
|
7389
|
-
}
|
|
7390
|
-
function move(items, event) {
|
|
7391
|
-
return mutate(items, event, arrayMove);
|
|
7392
|
-
}
|
|
7393
|
-
const removeIds = (arr) => arr.map(({ id, ...item }) => item);
|
|
7394
7292
|
const SortableItem = ({ id, index, disabled, children, axis }) => {
|
|
7395
7293
|
const [element, setElement] = useState(null);
|
|
7396
7294
|
const handleRef = useRef(null);
|
|
@@ -7452,7 +7350,7 @@ const SortableItem = ({ id, index, disabled, children, axis }) => {
|
|
|
7452
7350
|
const Draggable3 = (props) => {
|
|
7453
7351
|
const {
|
|
7454
7352
|
children,
|
|
7455
|
-
items
|
|
7353
|
+
items,
|
|
7456
7354
|
onChange,
|
|
7457
7355
|
noReorder,
|
|
7458
7356
|
axis = "both",
|
|
@@ -7461,19 +7359,18 @@ const Draggable3 = (props) => {
|
|
|
7461
7359
|
hidden,
|
|
7462
7360
|
...rest
|
|
7463
7361
|
} = props;
|
|
7464
|
-
if (typeof
|
|
7362
|
+
if (typeof items === "undefined" || items === null || !Array.isArray(items)) {
|
|
7465
7363
|
console.warn(__("Draggable: 'items' are not an array or are undefined!", "eightshift-ui-components"));
|
|
7466
7364
|
}
|
|
7467
|
-
const [items, setItems] = useState(rawItems.map((item) => ({ ...item, id: item?.id || randomId(6) })));
|
|
7468
|
-
useEffect(() => {
|
|
7469
|
-
if (JSON.stringify(rawItems) === JSON.stringify(removeIds(items))) {
|
|
7470
|
-
return;
|
|
7471
|
-
}
|
|
7472
|
-
setItems(rawItems.map((item) => ({ ...item, id: randomId(6) })));
|
|
7473
|
-
}, [rawItems]);
|
|
7474
7365
|
if (hidden) {
|
|
7475
7366
|
return null;
|
|
7476
7367
|
}
|
|
7368
|
+
const [internalIds, setInternalIds] = useState(items.map((_2, index) => index));
|
|
7369
|
+
useEffect(() => {
|
|
7370
|
+
if (items.length !== internalIds.length) {
|
|
7371
|
+
setInternalIds(items.map((_2, index) => index));
|
|
7372
|
+
}
|
|
7373
|
+
}, [items]);
|
|
7477
7374
|
return /* @__PURE__ */ jsx(
|
|
7478
7375
|
"div",
|
|
7479
7376
|
{
|
|
@@ -7486,16 +7383,18 @@ const Draggable3 = (props) => {
|
|
|
7486
7383
|
if (event?.canceled) {
|
|
7487
7384
|
return;
|
|
7488
7385
|
}
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
|
|
7386
|
+
if (!("operation" in event)) {
|
|
7387
|
+
return;
|
|
7388
|
+
}
|
|
7389
|
+
const oldIndex = event?.operation?.source?.sortable?.initialIndex;
|
|
7390
|
+
const newIndex = event?.operation?.source?.sortable?.index;
|
|
7391
|
+
onChange(arrayMove(items, oldIndex, newIndex));
|
|
7392
|
+
setInternalIds(arrayMove(internalIds, oldIndex, newIndex));
|
|
7494
7393
|
},
|
|
7495
|
-
children: items.map((
|
|
7394
|
+
children: items.map((item, index) => /* @__PURE__ */ jsx(
|
|
7496
7395
|
SortableItem,
|
|
7497
7396
|
{
|
|
7498
|
-
id
|
|
7397
|
+
id: `item-${internalIds?.[index] ?? index}`,
|
|
7499
7398
|
index,
|
|
7500
7399
|
item,
|
|
7501
7400
|
disabled: noReorder,
|
|
@@ -7508,21 +7407,19 @@ const Draggable3 = (props) => {
|
|
|
7508
7407
|
...updated[index],
|
|
7509
7408
|
...newValue
|
|
7510
7409
|
};
|
|
7511
|
-
|
|
7512
|
-
onChange(removeIds(updated));
|
|
7410
|
+
onChange(updated);
|
|
7513
7411
|
},
|
|
7514
7412
|
itemIndex: index,
|
|
7515
7413
|
deleteItem: () => {
|
|
7516
|
-
|
|
7517
|
-
|
|
7414
|
+
onChange([...items].filter((_2, i2) => i2 !== index));
|
|
7415
|
+
setInternalIds([...internalIds].filter((_2, i2) => i2 !== index));
|
|
7518
7416
|
if (onAfterItemRemove) {
|
|
7519
|
-
|
|
7520
|
-
onAfterItemRemove(restItem);
|
|
7417
|
+
onAfterItemRemove(item);
|
|
7521
7418
|
}
|
|
7522
7419
|
}
|
|
7523
7420
|
}) })
|
|
7524
7421
|
},
|
|
7525
|
-
|
|
7422
|
+
`item-${internalIds?.[index] ?? index}`
|
|
7526
7423
|
))
|
|
7527
7424
|
}
|
|
7528
7425
|
)
|
|
@@ -100,6 +100,7 @@ const Menu = (props) => {
|
|
|
100
100
|
additionalProps.trigger = "longPress";
|
|
101
101
|
}
|
|
102
102
|
const hasSubmenuItems = Array.isArray(children) ? children.some((child) => child?.type?.displayName === "SubMenuItem") : children?.type?.displayName === "SubMenuItem";
|
|
103
|
+
let { className: popoverClassName, wrapperClassName: popoverWrapperClassName, ...otherPopoverProps } = popoverProps || {};
|
|
103
104
|
return /* @__PURE__ */ jsxs(
|
|
104
105
|
$3674c52c6b3c5bce$export$27d2ad3c5815583e,
|
|
105
106
|
{
|
|
@@ -122,11 +123,11 @@ const Menu = (props) => {
|
|
|
122
123
|
"aria-label": ariaLabel,
|
|
123
124
|
popoverProps: {
|
|
124
125
|
maxHeight: Math.max(240, window.innerHeight * 0.42),
|
|
125
|
-
...
|
|
126
|
+
...otherPopoverProps
|
|
126
127
|
},
|
|
127
|
-
...
|
|
128
|
-
className: clsx("es:p-1.5 es:any-focus:outline-hidden", !manualWidth && "es:w-56", manualWidth && "es:max-w-80",
|
|
129
|
-
wrapperClassName: clsx(!hasSubmenuItems && "es:overflow-y-auto",
|
|
128
|
+
...otherPopoverProps,
|
|
129
|
+
className: clsx("es:p-1.5 es:any-focus:outline-hidden", !manualWidth && "es:w-56", manualWidth && "es:max-w-80", popoverClassName),
|
|
130
|
+
wrapperClassName: clsx(!hasSubmenuItems && "es:overflow-y-auto", popoverWrapperClassName),
|
|
130
131
|
children: /* @__PURE__ */ jsx(
|
|
131
132
|
$3674c52c6b3c5bce$export$d9b273488cd8ce6f,
|
|
132
133
|
{
|
|
@@ -214,7 +214,7 @@ const ResponsiveLegacy = (props) => {
|
|
|
214
214
|
visible: detailsVisible,
|
|
215
215
|
children: [
|
|
216
216
|
/* @__PURE__ */ jsx(DefaultTooltip, {}),
|
|
217
|
-
/* @__PURE__ */ jsx("div", { className: "es:col-start-2 es:col-end-2", children: children({
|
|
217
|
+
/* @__PURE__ */ jsx("div", { className: "es:col-start-2 es:col-end-2 es:w-full", children: children({
|
|
218
218
|
breakpoint: defaultBreakpoint,
|
|
219
219
|
currentValue: value?.[attribute[defaultBreakpoint]],
|
|
220
220
|
options,
|
|
@@ -346,7 +346,7 @@ const Responsive = (props) => {
|
|
|
346
346
|
visible: detailsVisible,
|
|
347
347
|
children: [
|
|
348
348
|
/* @__PURE__ */ jsx(DefaultTooltip, {}),
|
|
349
|
-
/* @__PURE__ */ jsx("div", { className: "es:col-start-2 es:col-end-2", children: children({
|
|
349
|
+
/* @__PURE__ */ jsx("div", { className: "es:col-start-2 es:col-end-2 es:w-full", children: children({
|
|
350
350
|
breakpoint: "_default",
|
|
351
351
|
currentValue: value?.["_default"],
|
|
352
352
|
handleChange: (newValue) => onChange({
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { useState } from "react";
|
|
2
3
|
import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-DPWyf-gp.js";
|
|
3
4
|
import { $ as $6f909507e6374d18$export$472062a354075cee, a as $6f909507e6374d18$export$105594979f116971, b as $6f909507e6374d18$export$2c1b491743890dec, c as $6f909507e6374d18$export$a590f758a961cb5b } from "../../Slider-CZV3HhHY.js";
|
|
4
5
|
import { BaseControl } from "../base-control/base-control.js";
|
|
@@ -87,6 +88,7 @@ const Slider = (props) => {
|
|
|
87
88
|
hidden,
|
|
88
89
|
...other
|
|
89
90
|
} = props;
|
|
91
|
+
const [hoveredThumbs, setHoveredThumbs] = useState([]);
|
|
90
92
|
if (hidden) {
|
|
91
93
|
return null;
|
|
92
94
|
}
|
|
@@ -247,6 +249,8 @@ const Slider = (props) => {
|
|
|
247
249
|
$6f909507e6374d18$export$2c1b491743890dec,
|
|
248
250
|
{
|
|
249
251
|
index: i,
|
|
252
|
+
onHoverStart: () => setHoveredThumbs((prev) => [...prev, i]),
|
|
253
|
+
onHoverEnd: () => setHoveredThumbs((prev) => prev.filter((val) => val !== i)),
|
|
250
254
|
"aria-label": thumbLabels?.[i],
|
|
251
255
|
className: clsx(
|
|
252
256
|
!vertical && ["es:h-10 es:w-0.75", "es:row-1"],
|
|
@@ -271,7 +275,7 @@ const Slider = (props) => {
|
|
|
271
275
|
},
|
|
272
276
|
children: [
|
|
273
277
|
thumbContent && thumbContent(i),
|
|
274
|
-
/* @__PURE__ */ jsx(AnimatePresence, { children:
|
|
278
|
+
/* @__PURE__ */ jsx(AnimatePresence, { children: (state.focusedThumb === i || hoveredThumbs.includes(i)) && /* @__PURE__ */ jsx(
|
|
275
279
|
motion.div,
|
|
276
280
|
{
|
|
277
281
|
className: clsx(
|
package/dist/icons/icons.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { GenericColorSwatch } from "./generic-color-swatch.js";
|
|
3
3
|
const icons = {
|
|
4
4
|
width: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: [
|
|
@@ -3407,7 +3407,37 @@ const icons = {
|
|
|
3407
3407
|
/* @__PURE__ */ jsx("path", { stroke: "currentColor", strokeLinecap: "round", d: "M2.5 14.5h15", fill: "none" }),
|
|
3408
3408
|
/* @__PURE__ */ jsx("path", { d: "M12.5 3h-5a.5.5 0 0 1-.3-.9L9.7.225a.5.5 0 0 1 .6 0L12.8 2.1a.5.5 0 0 1-.3.9Zm0 14h-5a.5.5 0 0 0-.3.9l2.5 1.875a.5.5 0 0 0 .6 0l2.5-1.875a.5.5 0 0 0-.3-.9Z", fill: "currentColor" })
|
|
3409
3409
|
] }),
|
|
3410
|
-
loaderAlt: /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: /* @__PURE__ */ jsx("path", { d: "M10 19v-2m-9-7h2m13.367 6.367-1.414-1.414m-11.32 1.414 1.414-1.414M10 3V1m7 9h2M5.047 5.047 3.633 3.633m11.32 1.414 1.414-1.414M10 17v-1.555M3 10h1.555m10.396 4.951-1.1-1.1m-8.803 1.1 1.1-1.1M10 4.556V3m5.444 7H17M6.147 6.147l-1.1-1.1m8.806 1.1 1.1-1.1", stroke: "currentColor", strokeLinecap: "round", fill: "none" }) })
|
|
3410
|
+
loaderAlt: /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: /* @__PURE__ */ jsx("path", { d: "M10 19v-2m-9-7h2m13.367 6.367-1.414-1.414m-11.32 1.414 1.414-1.414M10 3V1m7 9h2M5.047 5.047 3.633 3.633m11.32 1.414 1.414-1.414M10 17v-1.555M3 10h1.555m10.396 4.951-1.1-1.1m-8.803 1.1 1.1-1.1M10 4.556V3m5.444 7H17M6.147 6.147l-1.1-1.1m8.806 1.1 1.1-1.1", stroke: "currentColor", strokeLinecap: "round", fill: "none" }) }),
|
|
3411
|
+
verticalAlignAround: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: [
|
|
3412
|
+
/* @__PURE__ */ jsx("rect", { x: "2.75", y: "3", width: "4.5", height: "14", rx: "1.5", fill: "currentColor", fillOpacity: "0.5" }),
|
|
3413
|
+
/* @__PURE__ */ jsx("rect", { x: "12.75", y: "3", width: "4.5", height: "14", rx: "1.5", fill: "currentColor", fillOpacity: "0.5" }),
|
|
3414
|
+
/* @__PURE__ */ jsx("path", { d: "M1 1h18M1 19h18", stroke: "currentColor", strokeLinecap: "round", fill: "none" })
|
|
3415
|
+
] }),
|
|
3416
|
+
verticalAlignEvenly: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: [
|
|
3417
|
+
/* @__PURE__ */ jsx("rect", { x: "3.75", y: "3", width: "4.5", height: "14", rx: "1.5", fill: "currentColor", fillOpacity: "0.5" }),
|
|
3418
|
+
/* @__PURE__ */ jsx("rect", { x: "11.75", y: "3", width: "4.5", height: "14", rx: "1.5", fill: "currentColor", fillOpacity: "0.5" }),
|
|
3419
|
+
/* @__PURE__ */ jsx("path", { d: "M1 1h18M1 19h18", stroke: "currentColor", strokeLinecap: "round", fill: "none" })
|
|
3420
|
+
] }),
|
|
3421
|
+
verticalAlignBetween: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: [
|
|
3422
|
+
/* @__PURE__ */ jsx("rect", { x: "0.75", y: "3", width: "4.5", height: "14", rx: "1.5", fill: "currentColor", fillOpacity: "0.5" }),
|
|
3423
|
+
/* @__PURE__ */ jsx("rect", { x: "14.75", y: "3", width: "4.5", height: "14", rx: "1.5", fill: "currentColor", fillOpacity: "0.5" }),
|
|
3424
|
+
/* @__PURE__ */ jsx("path", { d: "M1 1h18M1 19h18", stroke: "currentColor", strokeLinecap: "round", fill: "none" })
|
|
3425
|
+
] }),
|
|
3426
|
+
horizontalAlignAround: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: [
|
|
3427
|
+
/* @__PURE__ */ jsx("rect", { width: "4.5", height: "14", rx: "1.5", transform: "matrix(0 1 1 0 3 2.75)", fill: "currentColor", fillOpacity: "0.5" }),
|
|
3428
|
+
/* @__PURE__ */ jsx("rect", { width: "4.5", height: "14", rx: "1.5", transform: "matrix(0 1 1 0 3 12.75)", fill: "currentColor", fillOpacity: "0.5" }),
|
|
3429
|
+
/* @__PURE__ */ jsx("path", { d: "M1 1v18M19 1v18", stroke: "currentColor", strokeLinecap: "round", fill: "none" })
|
|
3430
|
+
] }),
|
|
3431
|
+
horizontalAlignEvenly: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: [
|
|
3432
|
+
/* @__PURE__ */ jsx("rect", { width: "4.5", height: "14", rx: "1.5", transform: "matrix(0 1 1 0 3 3.75)", fill: "currentColor", fillOpacity: "0.5" }),
|
|
3433
|
+
/* @__PURE__ */ jsx("rect", { width: "4.5", height: "14", rx: "1.5", transform: "matrix(0 1 1 0 3 11.75)", fill: "currentColor", fillOpacity: "0.5" }),
|
|
3434
|
+
/* @__PURE__ */ jsx("path", { d: "M1 1v18M19 1v18", stroke: "currentColor", strokeLinecap: "round", fill: "none" })
|
|
3435
|
+
] }),
|
|
3436
|
+
horizontalAlignBetween: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: [
|
|
3437
|
+
/* @__PURE__ */ jsx("rect", { width: "4.5", height: "14", rx: "1.5", transform: "matrix(0 1 1 0 3 .75)", fill: "currentColor", fillOpacity: "0.5" }),
|
|
3438
|
+
/* @__PURE__ */ jsx("rect", { width: "4.5", height: "14", rx: "1.5", transform: "matrix(0 1 1 0 3 14.75)", fill: "currentColor", fillOpacity: "0.5" }),
|
|
3439
|
+
/* @__PURE__ */ jsx("path", { d: "M1 1v18M19 1v18", stroke: "currentColor", strokeLinecap: "round", fill: "none" })
|
|
3440
|
+
] })
|
|
3411
3441
|
};
|
|
3412
3442
|
const blockIcons = {
|
|
3413
3443
|
// Eightshift blocks.
|