@oneclick.dev/cms-kit 0.0.50 → 0.0.52
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/cms-kit.cjs +2 -2
- package/dist/cms-kit.js +447 -380
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
package/dist/cms-kit.js
CHANGED
|
@@ -51065,6 +51065,8 @@ const _sfc_main$4N = /* @__PURE__ */ defineComponent({
|
|
|
51065
51065
|
defaultOpen: { type: Boolean },
|
|
51066
51066
|
resetSearchTermOnBlur: { type: Boolean },
|
|
51067
51067
|
resetSearchTermOnSelect: { type: Boolean },
|
|
51068
|
+
openOnFocus: { type: Boolean },
|
|
51069
|
+
openOnClick: { type: Boolean },
|
|
51068
51070
|
ignoreFilter: { type: Boolean },
|
|
51069
51071
|
modelValue: {},
|
|
51070
51072
|
defaultValue: {},
|
|
@@ -51329,7 +51331,7 @@ function tryOnScopeDispose$1(fn2) {
|
|
|
51329
51331
|
return false;
|
|
51330
51332
|
}
|
|
51331
51333
|
const localProvidedStateMap = /* @__PURE__ */ new WeakMap();
|
|
51332
|
-
const injectLocal = (...args) => {
|
|
51334
|
+
const injectLocal = /* @__NO_SIDE_EFFECTS__ */ (...args) => {
|
|
51333
51335
|
var _a2;
|
|
51334
51336
|
const key = args[0];
|
|
51335
51337
|
const instance = (_a2 = getCurrentInstance()) == null ? void 0 : _a2.proxy;
|
|
@@ -51381,7 +51383,7 @@ function reactiveOmit(obj, ...keys) {
|
|
|
51381
51383
|
}
|
|
51382
51384
|
const isClient$3 = typeof window !== "undefined" && typeof document !== "undefined";
|
|
51383
51385
|
typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
|
|
51384
|
-
const isDef$
|
|
51386
|
+
const isDef$2 = (val) => typeof val !== "undefined";
|
|
51385
51387
|
const toString$1 = Object.prototype.toString;
|
|
51386
51388
|
const isObject$3 = (val) => toString$1.call(val) === "[object Object]";
|
|
51387
51389
|
function pxValue(px2) {
|
|
@@ -51465,6 +51467,7 @@ function useEventListener$1(...args) {
|
|
|
51465
51467
|
tryOnScopeDispose$1(cleanup);
|
|
51466
51468
|
return stop;
|
|
51467
51469
|
}
|
|
51470
|
+
// @__NO_SIDE_EFFECTS__
|
|
51468
51471
|
function useMounted() {
|
|
51469
51472
|
const isMounted = shallowRef(false);
|
|
51470
51473
|
const instance = getCurrentInstance();
|
|
@@ -51475,21 +51478,23 @@ function useMounted() {
|
|
|
51475
51478
|
}
|
|
51476
51479
|
return isMounted;
|
|
51477
51480
|
}
|
|
51481
|
+
// @__NO_SIDE_EFFECTS__
|
|
51478
51482
|
function useSupported(callback) {
|
|
51479
|
-
const isMounted = useMounted();
|
|
51483
|
+
const isMounted = /* @__PURE__ */ useMounted();
|
|
51480
51484
|
return computed$1(() => {
|
|
51481
51485
|
isMounted.value;
|
|
51482
51486
|
return Boolean(callback());
|
|
51483
51487
|
});
|
|
51484
51488
|
}
|
|
51485
51489
|
const ssrWidthSymbol = Symbol("vueuse-ssr-width");
|
|
51490
|
+
// @__NO_SIDE_EFFECTS__
|
|
51486
51491
|
function useSSRWidth() {
|
|
51487
|
-
const ssrWidth = hasInjectionContext() ? injectLocal(ssrWidthSymbol, null) : null;
|
|
51492
|
+
const ssrWidth = hasInjectionContext() ? /* @__PURE__ */ injectLocal(ssrWidthSymbol, null) : null;
|
|
51488
51493
|
return typeof ssrWidth === "number" ? ssrWidth : void 0;
|
|
51489
51494
|
}
|
|
51490
51495
|
function useMediaQuery(query, options = {}) {
|
|
51491
|
-
const { window: window2 = defaultWindow$1, ssrWidth = useSSRWidth() } = options;
|
|
51492
|
-
const isSupported = useSupported(() => window2 && "matchMedia" in window2 && typeof window2.matchMedia === "function");
|
|
51496
|
+
const { window: window2 = defaultWindow$1, ssrWidth = /* @__PURE__ */ useSSRWidth() } = options;
|
|
51497
|
+
const isSupported = /* @__PURE__ */ useSupported(() => window2 && "matchMedia" in window2 && typeof window2.matchMedia === "function");
|
|
51493
51498
|
const ssrSupport = shallowRef(typeof ssrWidth === "number");
|
|
51494
51499
|
const mediaQuery = shallowRef();
|
|
51495
51500
|
const matches = shallowRef(false);
|
|
@@ -51626,7 +51631,7 @@ function useDropZone(target, options = {}) {
|
|
|
51626
51631
|
function useResizeObserver(target, callback, options = {}) {
|
|
51627
51632
|
const { window: window2 = defaultWindow$1, ...observerOptions } = options;
|
|
51628
51633
|
let observer;
|
|
51629
|
-
const isSupported = useSupported(() => window2 && "ResizeObserver" in window2);
|
|
51634
|
+
const isSupported = /* @__PURE__ */ useSupported(() => window2 && "ResizeObserver" in window2);
|
|
51630
51635
|
const cleanup = () => {
|
|
51631
51636
|
if (observer) {
|
|
51632
51637
|
observer.disconnect();
|
|
@@ -51717,6 +51722,7 @@ function useElementSize(target, initialSize = { width: 0, height: 0 }, options =
|
|
|
51717
51722
|
stop
|
|
51718
51723
|
};
|
|
51719
51724
|
}
|
|
51725
|
+
// @__NO_SIDE_EFFECTS__
|
|
51720
51726
|
function useVModel$2(props, key, emit, options = {}) {
|
|
51721
51727
|
var _a2, _b, _c;
|
|
51722
51728
|
const {
|
|
@@ -51735,7 +51741,7 @@ function useVModel$2(props, key, emit, options = {}) {
|
|
|
51735
51741
|
}
|
|
51736
51742
|
event = event || `update:${key.toString()}`;
|
|
51737
51743
|
const cloneFn = (val) => !clone ? val : typeof clone === "function" ? clone(val) : cloneFnJSON$1(val);
|
|
51738
|
-
const getValue = () => isDef$
|
|
51744
|
+
const getValue = () => isDef$2(props[key]) ? cloneFn(props[key]) : defaultValue;
|
|
51739
51745
|
const triggerEmit = (value) => {
|
|
51740
51746
|
if (shouldEmit) {
|
|
51741
51747
|
if (shouldEmit(value))
|
|
@@ -51786,8 +51792,10 @@ const _sfc_main$4G = /* @__PURE__ */ defineComponent({
|
|
|
51786
51792
|
bodyLock: { type: Boolean },
|
|
51787
51793
|
side: {},
|
|
51788
51794
|
sideOffset: { default: 4 },
|
|
51795
|
+
sideFlip: { type: Boolean },
|
|
51789
51796
|
align: { default: "center" },
|
|
51790
51797
|
alignOffset: {},
|
|
51798
|
+
alignFlip: { type: Boolean },
|
|
51791
51799
|
avoidCollisions: { type: Boolean },
|
|
51792
51800
|
collisionBoundary: {},
|
|
51793
51801
|
collisionPadding: {},
|
|
@@ -52671,7 +52679,9 @@ const _sfc_main$4i = /* @__PURE__ */ defineComponent({
|
|
|
52671
52679
|
props: {
|
|
52672
52680
|
forceMount: { type: Boolean },
|
|
52673
52681
|
loop: { type: Boolean },
|
|
52682
|
+
sideFlip: { type: Boolean },
|
|
52674
52683
|
alignOffset: {},
|
|
52684
|
+
alignFlip: { type: Boolean },
|
|
52675
52685
|
avoidCollisions: { type: Boolean },
|
|
52676
52686
|
collisionBoundary: {},
|
|
52677
52687
|
collisionPadding: {},
|
|
@@ -52929,7 +52939,9 @@ const _sfc_main$49 = /* @__PURE__ */ defineComponent({
|
|
|
52929
52939
|
forceMount: { type: Boolean },
|
|
52930
52940
|
loop: { type: Boolean },
|
|
52931
52941
|
sideOffset: {},
|
|
52942
|
+
sideFlip: { type: Boolean },
|
|
52932
52943
|
alignOffset: {},
|
|
52944
|
+
alignFlip: { type: Boolean },
|
|
52933
52945
|
avoidCollisions: { type: Boolean },
|
|
52934
52946
|
collisionBoundary: {},
|
|
52935
52947
|
collisionPadding: {},
|
|
@@ -54203,8 +54215,10 @@ const _sfc_main$3W = /* @__PURE__ */ defineComponent({
|
|
|
54203
54215
|
loop: { type: Boolean },
|
|
54204
54216
|
side: {},
|
|
54205
54217
|
sideOffset: { default: 4 },
|
|
54218
|
+
sideFlip: { type: Boolean },
|
|
54206
54219
|
align: {},
|
|
54207
54220
|
alignOffset: {},
|
|
54221
|
+
alignFlip: { type: Boolean },
|
|
54208
54222
|
avoidCollisions: { type: Boolean },
|
|
54209
54223
|
collisionBoundary: {},
|
|
54210
54224
|
collisionPadding: {},
|
|
@@ -54451,7 +54465,9 @@ const _sfc_main$3N = /* @__PURE__ */ defineComponent({
|
|
|
54451
54465
|
forceMount: { type: Boolean },
|
|
54452
54466
|
loop: { type: Boolean },
|
|
54453
54467
|
sideOffset: {},
|
|
54468
|
+
sideFlip: { type: Boolean },
|
|
54454
54469
|
alignOffset: {},
|
|
54470
|
+
alignFlip: { type: Boolean },
|
|
54455
54471
|
avoidCollisions: { type: Boolean },
|
|
54456
54472
|
collisionBoundary: {},
|
|
54457
54473
|
collisionPadding: {},
|
|
@@ -54606,7 +54622,7 @@ const _sfc_main$3K = /* @__PURE__ */ defineComponent({
|
|
|
54606
54622
|
});
|
|
54607
54623
|
const props = __props;
|
|
54608
54624
|
const emits = __emit;
|
|
54609
|
-
const modelValue = useVModel$2(props, "modelValue", emits, {
|
|
54625
|
+
const modelValue = /* @__PURE__ */ useVModel$2(props, "modelValue", emits, {
|
|
54610
54626
|
passive: true,
|
|
54611
54627
|
defaultValue: props.defaultValue
|
|
54612
54628
|
});
|
|
@@ -58235,8 +58251,8 @@ function parseNode(node, existingNode, parentNode) {
|
|
|
58235
58251
|
x: 0,
|
|
58236
58252
|
y: 0
|
|
58237
58253
|
},
|
|
58238
|
-
data: isDef
|
|
58239
|
-
events: markRaw(isDef
|
|
58254
|
+
data: isDef(node.data) ? node.data : {},
|
|
58255
|
+
events: markRaw(isDef(node.events) ? node.events : {})
|
|
58240
58256
|
};
|
|
58241
58257
|
return Object.assign(existingNode ?? initialState, node, { id: node.id.toString(), parentNode });
|
|
58242
58258
|
}
|
|
@@ -58252,8 +58268,8 @@ function parseEdge(edge, existingEdge, defaultEdgeOptions) {
|
|
|
58252
58268
|
updatable: edge.updatable ?? (defaultEdgeOptions == null ? void 0 : defaultEdgeOptions.updatable),
|
|
58253
58269
|
selectable: edge.selectable ?? (defaultEdgeOptions == null ? void 0 : defaultEdgeOptions.selectable),
|
|
58254
58270
|
focusable: edge.focusable ?? (defaultEdgeOptions == null ? void 0 : defaultEdgeOptions.focusable),
|
|
58255
|
-
data: isDef
|
|
58256
|
-
events: markRaw(isDef
|
|
58271
|
+
data: isDef(edge.data) ? edge.data : {},
|
|
58272
|
+
events: markRaw(isDef(edge.events) ? edge.events : {}),
|
|
58257
58273
|
label: edge.label ?? "",
|
|
58258
58274
|
interactionWidth: edge.interactionWidth ?? (defaultEdgeOptions == null ? void 0 : defaultEdgeOptions.interactionWidth),
|
|
58259
58275
|
...defaultEdgeOptions ?? {}
|
|
@@ -59220,7 +59236,7 @@ function handleNodeClick(node, multiSelectionActive, addSelectedNodes, removeSel
|
|
|
59220
59236
|
});
|
|
59221
59237
|
}
|
|
59222
59238
|
}
|
|
59223
|
-
function isDef
|
|
59239
|
+
function isDef(val) {
|
|
59224
59240
|
const unrefVal = unref(val);
|
|
59225
59241
|
return typeof unrefVal !== "undefined";
|
|
59226
59242
|
}
|
|
@@ -60386,7 +60402,7 @@ function useWatchProps(models, props, store2) {
|
|
|
60386
60402
|
watch$1(
|
|
60387
60403
|
() => props.maxZoom,
|
|
60388
60404
|
() => {
|
|
60389
|
-
if (props.maxZoom && isDef
|
|
60405
|
+
if (props.maxZoom && isDef(props.maxZoom)) {
|
|
60390
60406
|
store2.setMaxZoom(props.maxZoom);
|
|
60391
60407
|
}
|
|
60392
60408
|
},
|
|
@@ -60401,7 +60417,7 @@ function useWatchProps(models, props, store2) {
|
|
|
60401
60417
|
watch$1(
|
|
60402
60418
|
() => props.minZoom,
|
|
60403
60419
|
() => {
|
|
60404
|
-
if (props.minZoom && isDef
|
|
60420
|
+
if (props.minZoom && isDef(props.minZoom)) {
|
|
60405
60421
|
store2.setMinZoom(props.minZoom);
|
|
60406
60422
|
}
|
|
60407
60423
|
},
|
|
@@ -60414,7 +60430,7 @@ function useWatchProps(models, props, store2) {
|
|
|
60414
60430
|
watch$1(
|
|
60415
60431
|
() => props.translateExtent,
|
|
60416
60432
|
() => {
|
|
60417
|
-
if (props.translateExtent && isDef
|
|
60433
|
+
if (props.translateExtent && isDef(props.translateExtent)) {
|
|
60418
60434
|
store2.setTranslateExtent(props.translateExtent);
|
|
60419
60435
|
}
|
|
60420
60436
|
},
|
|
@@ -60429,7 +60445,7 @@ function useWatchProps(models, props, store2) {
|
|
|
60429
60445
|
watch$1(
|
|
60430
60446
|
() => props.nodeExtent,
|
|
60431
60447
|
() => {
|
|
60432
|
-
if (props.nodeExtent && isDef
|
|
60448
|
+
if (props.nodeExtent && isDef(props.nodeExtent)) {
|
|
60433
60449
|
store2.setNodeExtent(props.nodeExtent);
|
|
60434
60450
|
}
|
|
60435
60451
|
},
|
|
@@ -60444,7 +60460,7 @@ function useWatchProps(models, props, store2) {
|
|
|
60444
60460
|
watch$1(
|
|
60445
60461
|
() => props.applyDefault,
|
|
60446
60462
|
() => {
|
|
60447
|
-
if (isDef
|
|
60463
|
+
if (isDef(props.applyDefault)) {
|
|
60448
60464
|
store2.applyDefault.value = props.applyDefault;
|
|
60449
60465
|
}
|
|
60450
60466
|
},
|
|
@@ -60468,7 +60484,7 @@ function useWatchProps(models, props, store2) {
|
|
|
60468
60484
|
watch$1(
|
|
60469
60485
|
() => props.autoConnect,
|
|
60470
60486
|
() => {
|
|
60471
|
-
if (isDef
|
|
60487
|
+
if (isDef(props.autoConnect)) {
|
|
60472
60488
|
store2.autoConnect.value = props.autoConnect;
|
|
60473
60489
|
}
|
|
60474
60490
|
},
|
|
@@ -60513,7 +60529,7 @@ function useWatchProps(models, props, store2) {
|
|
|
60513
60529
|
watch$1(
|
|
60514
60530
|
propValue,
|
|
60515
60531
|
(nextValue) => {
|
|
60516
|
-
if (isDef
|
|
60532
|
+
if (isDef(nextValue)) {
|
|
60517
60533
|
storeRef.value = nextValue;
|
|
60518
60534
|
}
|
|
60519
60535
|
},
|
|
@@ -61004,7 +61020,7 @@ function useActions(state, nodeLookup, edgeLookup) {
|
|
|
61004
61020
|
function createEdgeRemovalChanges(nodes2) {
|
|
61005
61021
|
const connectedEdges = getConnectedEdges$1(nodes2);
|
|
61006
61022
|
for (const edge of connectedEdges) {
|
|
61007
|
-
if (isDef
|
|
61023
|
+
if (isDef(edge.deletable) ? edge.deletable : true) {
|
|
61008
61024
|
edgeChanges.push(createEdgeRemoveChange(edge.id, edge.source, edge.target, edge.sourceHandle, edge.targetHandle));
|
|
61009
61025
|
}
|
|
61010
61026
|
}
|
|
@@ -61033,7 +61049,7 @@ function useActions(state, nodeLookup, edgeLookup) {
|
|
|
61033
61049
|
if (!currNode) {
|
|
61034
61050
|
continue;
|
|
61035
61051
|
}
|
|
61036
|
-
if (isDef
|
|
61052
|
+
if (isDef(currNode.deletable) && !currNode.deletable) {
|
|
61037
61053
|
continue;
|
|
61038
61054
|
}
|
|
61039
61055
|
nodeChanges.push(createNodeRemoveChange(currNode.id));
|
|
@@ -61060,7 +61076,7 @@ function useActions(state, nodeLookup, edgeLookup) {
|
|
|
61060
61076
|
if (!currEdge) {
|
|
61061
61077
|
continue;
|
|
61062
61078
|
}
|
|
61063
|
-
if (isDef
|
|
61079
|
+
if (isDef(currEdge.deletable) && !currEdge.deletable) {
|
|
61064
61080
|
continue;
|
|
61065
61081
|
}
|
|
61066
61082
|
changes.push(
|
|
@@ -61227,7 +61243,7 @@ function useActions(state, nodeLookup, edgeLookup) {
|
|
|
61227
61243
|
"dimensions",
|
|
61228
61244
|
"hooks"
|
|
61229
61245
|
];
|
|
61230
|
-
if (isDef
|
|
61246
|
+
if (isDef(opts.defaultEdgeOptions)) {
|
|
61231
61247
|
state.defaultEdgeOptions = opts.defaultEdgeOptions;
|
|
61232
61248
|
}
|
|
61233
61249
|
const elements = opts.modelValue || opts.nodes || opts.edges ? [] : void 0;
|
|
@@ -61244,20 +61260,20 @@ function useActions(state, nodeLookup, edgeLookup) {
|
|
|
61244
61260
|
setElements(elements);
|
|
61245
61261
|
}
|
|
61246
61262
|
const setSkippedOptions = () => {
|
|
61247
|
-
if (isDef
|
|
61263
|
+
if (isDef(opts.maxZoom)) {
|
|
61248
61264
|
setMaxZoom(opts.maxZoom);
|
|
61249
61265
|
}
|
|
61250
|
-
if (isDef
|
|
61266
|
+
if (isDef(opts.minZoom)) {
|
|
61251
61267
|
setMinZoom(opts.minZoom);
|
|
61252
61268
|
}
|
|
61253
|
-
if (isDef
|
|
61269
|
+
if (isDef(opts.translateExtent)) {
|
|
61254
61270
|
setTranslateExtent(opts.translateExtent);
|
|
61255
61271
|
}
|
|
61256
61272
|
};
|
|
61257
61273
|
for (const o of Object.keys(opts)) {
|
|
61258
61274
|
const key = o;
|
|
61259
61275
|
const option = opts[key];
|
|
61260
|
-
if (![...storeOptionsToSkip, ...exclude].includes(key) && isDef
|
|
61276
|
+
if (![...storeOptionsToSkip, ...exclude].includes(key) && isDef(option)) {
|
|
61261
61277
|
state[key] = option;
|
|
61262
61278
|
}
|
|
61263
61279
|
}
|
|
@@ -61477,7 +61493,7 @@ const _sfc_main$f$1 = /* @__PURE__ */ defineComponent({
|
|
|
61477
61493
|
if (typeof __props.connectable === "function") {
|
|
61478
61494
|
return __props.connectable(node, connectedEdges.value);
|
|
61479
61495
|
}
|
|
61480
|
-
return isDef
|
|
61496
|
+
return isDef(__props.connectable) ? __props.connectable : nodesConnectable.value;
|
|
61481
61497
|
});
|
|
61482
61498
|
onMounted$1(() => {
|
|
61483
61499
|
var _a2;
|
|
@@ -68898,7 +68914,7 @@ const _sfc_main$3E = {
|
|
|
68898
68914
|
toolbarPosition: __props.data.toolbarPosition
|
|
68899
68915
|
}, {
|
|
68900
68916
|
default: withCtx(() => [
|
|
68901
|
-
_cache2[0] || (_cache2[0] = createTextVNode(" START ")),
|
|
68917
|
+
_cache2[0] || (_cache2[0] = createTextVNode(" START ", -1)),
|
|
68902
68918
|
createVNode(unref(_sfc_main$f$1), {
|
|
68903
68919
|
type: "source",
|
|
68904
68920
|
id: "success",
|
|
@@ -78536,7 +78552,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
78536
78552
|
createElementVNode("div", _hoisted_3$t, [
|
|
78537
78553
|
createVNode(_component_Label, { class: "block text-sm font-medium text-muted-foreground mb-2" }, {
|
|
78538
78554
|
default: withCtx(() => _cache2[7] || (_cache2[7] = [
|
|
78539
|
-
createTextVNode("Filters")
|
|
78555
|
+
createTextVNode("Filters", -1)
|
|
78540
78556
|
])),
|
|
78541
78557
|
_: 1,
|
|
78542
78558
|
__: [7]
|
|
@@ -78600,7 +78616,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
78600
78616
|
title: "Remove filter"
|
|
78601
78617
|
}, {
|
|
78602
78618
|
default: withCtx(() => _cache2[8] || (_cache2[8] = [
|
|
78603
|
-
createTextVNode("✕")
|
|
78619
|
+
createTextVNode("✕", -1)
|
|
78604
78620
|
])),
|
|
78605
78621
|
_: 2,
|
|
78606
78622
|
__: [8]
|
|
@@ -78612,7 +78628,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
78612
78628
|
onClick: addFilter
|
|
78613
78629
|
}, {
|
|
78614
78630
|
default: withCtx(() => _cache2[9] || (_cache2[9] = [
|
|
78615
|
-
createTextVNode("+ Add Filter")
|
|
78631
|
+
createTextVNode("+ Add Filter", -1)
|
|
78616
78632
|
])),
|
|
78617
78633
|
_: 1,
|
|
78618
78634
|
__: [9]
|
|
@@ -78622,7 +78638,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
78622
78638
|
createElementVNode("div", null, [
|
|
78623
78639
|
createVNode(_component_Label, { class: "block text-sm font-medium text-muted-foreground mb-2" }, {
|
|
78624
78640
|
default: withCtx(() => _cache2[10] || (_cache2[10] = [
|
|
78625
|
-
createTextVNode("Sort")
|
|
78641
|
+
createTextVNode("Sort", -1)
|
|
78626
78642
|
])),
|
|
78627
78643
|
_: 1,
|
|
78628
78644
|
__: [10]
|
|
@@ -78656,14 +78672,14 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
78656
78672
|
default: withCtx(() => [
|
|
78657
78673
|
createVNode(_component_SelectItem, { value: "asc" }, {
|
|
78658
78674
|
default: withCtx(() => _cache2[11] || (_cache2[11] = [
|
|
78659
|
-
createTextVNode("ASC")
|
|
78675
|
+
createTextVNode("ASC", -1)
|
|
78660
78676
|
])),
|
|
78661
78677
|
_: 1,
|
|
78662
78678
|
__: [11]
|
|
78663
78679
|
}),
|
|
78664
78680
|
createVNode(_component_SelectItem, { value: "desc" }, {
|
|
78665
78681
|
default: withCtx(() => _cache2[12] || (_cache2[12] = [
|
|
78666
|
-
createTextVNode("DESC")
|
|
78682
|
+
createTextVNode("DESC", -1)
|
|
78667
78683
|
])),
|
|
78668
78684
|
_: 1,
|
|
78669
78685
|
__: [12]
|
|
@@ -78683,7 +78699,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
78683
78699
|
title: "Remove sort"
|
|
78684
78700
|
}, {
|
|
78685
78701
|
default: withCtx(() => _cache2[13] || (_cache2[13] = [
|
|
78686
|
-
createTextVNode("✕")
|
|
78702
|
+
createTextVNode("✕", -1)
|
|
78687
78703
|
])),
|
|
78688
78704
|
_: 2,
|
|
78689
78705
|
__: [13]
|
|
@@ -78695,7 +78711,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
78695
78711
|
onClick: addSort
|
|
78696
78712
|
}, {
|
|
78697
78713
|
default: withCtx(() => _cache2[14] || (_cache2[14] = [
|
|
78698
|
-
createTextVNode("+ Add Sort")
|
|
78714
|
+
createTextVNode("+ Add Sort", -1)
|
|
78699
78715
|
])),
|
|
78700
78716
|
_: 1,
|
|
78701
78717
|
__: [14]
|
|
@@ -78733,7 +78749,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
78733
78749
|
createElementVNode("div", null, [
|
|
78734
78750
|
createVNode(_component_Label, { for: "limit" }, {
|
|
78735
78751
|
default: withCtx(() => _cache2[17] || (_cache2[17] = [
|
|
78736
|
-
createTextVNode("Limit")
|
|
78752
|
+
createTextVNode("Limit", -1)
|
|
78737
78753
|
])),
|
|
78738
78754
|
_: 1,
|
|
78739
78755
|
__: [17]
|
|
@@ -78747,7 +78763,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
78747
78763
|
createElementVNode("div", null, [
|
|
78748
78764
|
createVNode(_component_Label, { for: "offset" }, {
|
|
78749
78765
|
default: withCtx(() => _cache2[18] || (_cache2[18] = [
|
|
78750
|
-
createTextVNode("Offset")
|
|
78766
|
+
createTextVNode("Offset", -1)
|
|
78751
78767
|
])),
|
|
78752
78768
|
_: 1,
|
|
78753
78769
|
__: [18]
|
|
@@ -78761,7 +78777,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
78761
78777
|
createElementVNode("div", null, [
|
|
78762
78778
|
createVNode(_component_Label, { for: "startAt" }, {
|
|
78763
78779
|
default: withCtx(() => _cache2[19] || (_cache2[19] = [
|
|
78764
|
-
createTextVNode("StartAt")
|
|
78780
|
+
createTextVNode("StartAt", -1)
|
|
78765
78781
|
])),
|
|
78766
78782
|
_: 1,
|
|
78767
78783
|
__: [19]
|
|
@@ -78775,7 +78791,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
78775
78791
|
createElementVNode("div", null, [
|
|
78776
78792
|
createVNode(_component_Label, { for: "endAt" }, {
|
|
78777
78793
|
default: withCtx(() => _cache2[20] || (_cache2[20] = [
|
|
78778
|
-
createTextVNode("EndAt")
|
|
78794
|
+
createTextVNode("EndAt", -1)
|
|
78779
78795
|
])),
|
|
78780
78796
|
_: 1,
|
|
78781
78797
|
__: [20]
|
|
@@ -79042,112 +79058,112 @@ const _sfc_main$3a = /* @__PURE__ */ defineComponent({
|
|
|
79042
79058
|
default: withCtx(() => [
|
|
79043
79059
|
createVNode(_component_SelectLabel, null, {
|
|
79044
79060
|
default: withCtx(() => _cache2[1] || (_cache2[1] = [
|
|
79045
|
-
createTextVNode("Reasoning models")
|
|
79061
|
+
createTextVNode("Reasoning models", -1)
|
|
79046
79062
|
])),
|
|
79047
79063
|
_: 1,
|
|
79048
79064
|
__: [1]
|
|
79049
79065
|
}),
|
|
79050
79066
|
createVNode(_component_SelectItem, { value: "o4-mini" }, {
|
|
79051
79067
|
default: withCtx(() => _cache2[2] || (_cache2[2] = [
|
|
79052
|
-
createTextVNode(" o4-mini ")
|
|
79068
|
+
createTextVNode(" o4-mini ", -1)
|
|
79053
79069
|
])),
|
|
79054
79070
|
_: 1,
|
|
79055
79071
|
__: [2]
|
|
79056
79072
|
}),
|
|
79057
79073
|
createVNode(_component_SelectItem, { value: "o3" }, {
|
|
79058
79074
|
default: withCtx(() => _cache2[3] || (_cache2[3] = [
|
|
79059
|
-
createTextVNode(" o3 ")
|
|
79075
|
+
createTextVNode(" o3 ", -1)
|
|
79060
79076
|
])),
|
|
79061
79077
|
_: 1,
|
|
79062
79078
|
__: [3]
|
|
79063
79079
|
}),
|
|
79064
79080
|
createVNode(_component_SelectItem, { value: "o3-pro" }, {
|
|
79065
79081
|
default: withCtx(() => _cache2[4] || (_cache2[4] = [
|
|
79066
|
-
createTextVNode(" o3-pro ")
|
|
79082
|
+
createTextVNode(" o3-pro ", -1)
|
|
79067
79083
|
])),
|
|
79068
79084
|
_: 1,
|
|
79069
79085
|
__: [4]
|
|
79070
79086
|
}),
|
|
79071
79087
|
createVNode(_component_SelectItem, { value: "o3-mini" }, {
|
|
79072
79088
|
default: withCtx(() => _cache2[5] || (_cache2[5] = [
|
|
79073
|
-
createTextVNode(" o3-mini ")
|
|
79089
|
+
createTextVNode(" o3-mini ", -1)
|
|
79074
79090
|
])),
|
|
79075
79091
|
_: 1,
|
|
79076
79092
|
__: [5]
|
|
79077
79093
|
}),
|
|
79078
79094
|
createVNode(_component_SelectItem, { value: "o1" }, {
|
|
79079
79095
|
default: withCtx(() => _cache2[6] || (_cache2[6] = [
|
|
79080
|
-
createTextVNode(" o1 ")
|
|
79096
|
+
createTextVNode(" o1 ", -1)
|
|
79081
79097
|
])),
|
|
79082
79098
|
_: 1,
|
|
79083
79099
|
__: [6]
|
|
79084
79100
|
}),
|
|
79085
79101
|
createVNode(_component_SelectItem, { value: "o1-pro" }, {
|
|
79086
79102
|
default: withCtx(() => _cache2[7] || (_cache2[7] = [
|
|
79087
|
-
createTextVNode(" o1-pro ")
|
|
79103
|
+
createTextVNode(" o1-pro ", -1)
|
|
79088
79104
|
])),
|
|
79089
79105
|
_: 1,
|
|
79090
79106
|
__: [7]
|
|
79091
79107
|
}),
|
|
79092
79108
|
createVNode(_component_SelectLabel, null, {
|
|
79093
79109
|
default: withCtx(() => _cache2[8] || (_cache2[8] = [
|
|
79094
|
-
createTextVNode("Flagship chat models")
|
|
79110
|
+
createTextVNode("Flagship chat models", -1)
|
|
79095
79111
|
])),
|
|
79096
79112
|
_: 1,
|
|
79097
79113
|
__: [8]
|
|
79098
79114
|
}),
|
|
79099
79115
|
createVNode(_component_SelectItem, { value: "gpt-4.1" }, {
|
|
79100
79116
|
default: withCtx(() => _cache2[9] || (_cache2[9] = [
|
|
79101
|
-
createTextVNode(" GPT-4.1 ")
|
|
79117
|
+
createTextVNode(" GPT-4.1 ", -1)
|
|
79102
79118
|
])),
|
|
79103
79119
|
_: 1,
|
|
79104
79120
|
__: [9]
|
|
79105
79121
|
}),
|
|
79106
79122
|
createVNode(_component_SelectItem, { value: "gpt-4o" }, {
|
|
79107
79123
|
default: withCtx(() => _cache2[10] || (_cache2[10] = [
|
|
79108
|
-
createTextVNode(" GPT-4o ")
|
|
79124
|
+
createTextVNode(" GPT-4o ", -1)
|
|
79109
79125
|
])),
|
|
79110
79126
|
_: 1,
|
|
79111
79127
|
__: [10]
|
|
79112
79128
|
}),
|
|
79113
79129
|
createVNode(_component_SelectLabel, null, {
|
|
79114
79130
|
default: withCtx(() => _cache2[11] || (_cache2[11] = [
|
|
79115
|
-
createTextVNode("Cost-optimized models")
|
|
79131
|
+
createTextVNode("Cost-optimized models", -1)
|
|
79116
79132
|
])),
|
|
79117
79133
|
_: 1,
|
|
79118
79134
|
__: [11]
|
|
79119
79135
|
}),
|
|
79120
79136
|
createVNode(_component_SelectItem, { value: "o4-mini" }, {
|
|
79121
79137
|
default: withCtx(() => _cache2[12] || (_cache2[12] = [
|
|
79122
|
-
createTextVNode(" o4-mini ")
|
|
79138
|
+
createTextVNode(" o4-mini ", -1)
|
|
79123
79139
|
])),
|
|
79124
79140
|
_: 1,
|
|
79125
79141
|
__: [12]
|
|
79126
79142
|
}),
|
|
79127
79143
|
createVNode(_component_SelectItem, { value: "gpt-4.1-mini" }, {
|
|
79128
79144
|
default: withCtx(() => _cache2[13] || (_cache2[13] = [
|
|
79129
|
-
createTextVNode(" GPT-4.1 mini ")
|
|
79145
|
+
createTextVNode(" GPT-4.1 mini ", -1)
|
|
79130
79146
|
])),
|
|
79131
79147
|
_: 1,
|
|
79132
79148
|
__: [13]
|
|
79133
79149
|
}),
|
|
79134
79150
|
createVNode(_component_SelectItem, { value: "gpt-4.1-nano" }, {
|
|
79135
79151
|
default: withCtx(() => _cache2[14] || (_cache2[14] = [
|
|
79136
|
-
createTextVNode(" GPT-4.1 nano ")
|
|
79152
|
+
createTextVNode(" GPT-4.1 nano ", -1)
|
|
79137
79153
|
])),
|
|
79138
79154
|
_: 1,
|
|
79139
79155
|
__: [14]
|
|
79140
79156
|
}),
|
|
79141
79157
|
createVNode(_component_SelectItem, { value: "o3-mini" }, {
|
|
79142
79158
|
default: withCtx(() => _cache2[15] || (_cache2[15] = [
|
|
79143
|
-
createTextVNode(" o3-mini ")
|
|
79159
|
+
createTextVNode(" o3-mini ", -1)
|
|
79144
79160
|
])),
|
|
79145
79161
|
_: 1,
|
|
79146
79162
|
__: [15]
|
|
79147
79163
|
}),
|
|
79148
79164
|
createVNode(_component_SelectItem, { value: "gpt-4o-mini" }, {
|
|
79149
79165
|
default: withCtx(() => _cache2[16] || (_cache2[16] = [
|
|
79150
|
-
createTextVNode(" GPT-4o mini ")
|
|
79166
|
+
createTextVNode(" GPT-4o mini ", -1)
|
|
79151
79167
|
])),
|
|
79152
79168
|
_: 1,
|
|
79153
79169
|
__: [16]
|
|
@@ -79795,7 +79811,7 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
|
79795
79811
|
]),
|
|
79796
79812
|
createVNode(_component_Button, { onClick: addNewUpdateAction }, {
|
|
79797
79813
|
default: withCtx(() => _cache2[1] || (_cache2[1] = [
|
|
79798
|
-
createTextVNode("Update another variable")
|
|
79814
|
+
createTextVNode("Update another variable", -1)
|
|
79799
79815
|
])),
|
|
79800
79816
|
_: 1,
|
|
79801
79817
|
__: [1]
|
|
@@ -80003,7 +80019,7 @@ const _sfc_main$2_ = /* @__PURE__ */ defineComponent({
|
|
|
80003
80019
|
createElementVNode("div", _hoisted_3$m, [
|
|
80004
80020
|
createVNode(_component_Label, { class: "text-sm font-semibold mb-2" }, {
|
|
80005
80021
|
default: withCtx(() => _cache2[1] || (_cache2[1] = [
|
|
80006
|
-
createTextVNode("Module")
|
|
80022
|
+
createTextVNode("Module", -1)
|
|
80007
80023
|
])),
|
|
80008
80024
|
_: 1,
|
|
80009
80025
|
__: [1]
|
|
@@ -80047,7 +80063,7 @@ const _sfc_main$2_ = /* @__PURE__ */ defineComponent({
|
|
|
80047
80063
|
createElementVNode("div", _hoisted_4$e, [
|
|
80048
80064
|
createVNode(_component_Label, { class: "text-sm font-semibold mb-2" }, {
|
|
80049
80065
|
default: withCtx(() => _cache2[2] || (_cache2[2] = [
|
|
80050
|
-
createTextVNode("Data")
|
|
80066
|
+
createTextVNode("Data", -1)
|
|
80051
80067
|
])),
|
|
80052
80068
|
_: 1,
|
|
80053
80069
|
__: [2]
|
|
@@ -80086,7 +80102,7 @@ const _sfc_main$2_ = /* @__PURE__ */ defineComponent({
|
|
|
80086
80102
|
}, {
|
|
80087
80103
|
default: withCtx(() => [
|
|
80088
80104
|
createVNode(unref(Plus), { class: "size-4" }),
|
|
80089
|
-
_cache2[3] || (_cache2[3] = createTextVNode(" Add Key-Value Pair "))
|
|
80105
|
+
_cache2[3] || (_cache2[3] = createTextVNode(" Add Key-Value Pair ", -1))
|
|
80090
80106
|
]),
|
|
80091
80107
|
_: 1,
|
|
80092
80108
|
__: [3]
|
|
@@ -80182,35 +80198,35 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
|
80182
80198
|
default: withCtx(() => [
|
|
80183
80199
|
createVNode(_component_SelectItem, { value: "GET" }, {
|
|
80184
80200
|
default: withCtx(() => _cache2[7] || (_cache2[7] = [
|
|
80185
|
-
createTextVNode("GET")
|
|
80201
|
+
createTextVNode("GET", -1)
|
|
80186
80202
|
])),
|
|
80187
80203
|
_: 1,
|
|
80188
80204
|
__: [7]
|
|
80189
80205
|
}),
|
|
80190
80206
|
createVNode(_component_SelectItem, { value: "POST" }, {
|
|
80191
80207
|
default: withCtx(() => _cache2[8] || (_cache2[8] = [
|
|
80192
|
-
createTextVNode("POST")
|
|
80208
|
+
createTextVNode("POST", -1)
|
|
80193
80209
|
])),
|
|
80194
80210
|
_: 1,
|
|
80195
80211
|
__: [8]
|
|
80196
80212
|
}),
|
|
80197
80213
|
createVNode(_component_SelectItem, { value: "PUT" }, {
|
|
80198
80214
|
default: withCtx(() => _cache2[9] || (_cache2[9] = [
|
|
80199
|
-
createTextVNode("PUT")
|
|
80215
|
+
createTextVNode("PUT", -1)
|
|
80200
80216
|
])),
|
|
80201
80217
|
_: 1,
|
|
80202
80218
|
__: [9]
|
|
80203
80219
|
}),
|
|
80204
80220
|
createVNode(_component_SelectItem, { value: "PATCH" }, {
|
|
80205
80221
|
default: withCtx(() => _cache2[10] || (_cache2[10] = [
|
|
80206
|
-
createTextVNode("PATCH")
|
|
80222
|
+
createTextVNode("PATCH", -1)
|
|
80207
80223
|
])),
|
|
80208
80224
|
_: 1,
|
|
80209
80225
|
__: [10]
|
|
80210
80226
|
}),
|
|
80211
80227
|
createVNode(_component_SelectItem, { value: "DELETE" }, {
|
|
80212
80228
|
default: withCtx(() => _cache2[11] || (_cache2[11] = [
|
|
80213
|
-
createTextVNode("DELETE")
|
|
80229
|
+
createTextVNode("DELETE", -1)
|
|
80214
80230
|
])),
|
|
80215
80231
|
_: 1,
|
|
80216
80232
|
__: [11]
|
|
@@ -80228,7 +80244,7 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
|
80228
80244
|
createElementVNode("div", _hoisted_4$d, [
|
|
80229
80245
|
createVNode(_component_Label, { class: "text-sm font-semibold mb-2" }, {
|
|
80230
80246
|
default: withCtx(() => _cache2[13] || (_cache2[13] = [
|
|
80231
|
-
createTextVNode("URL parameters")
|
|
80247
|
+
createTextVNode("URL parameters", -1)
|
|
80232
80248
|
])),
|
|
80233
80249
|
_: 1,
|
|
80234
80250
|
__: [13]
|
|
@@ -80267,7 +80283,7 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
|
80267
80283
|
}, {
|
|
80268
80284
|
default: withCtx(() => [
|
|
80269
80285
|
createVNode(unref(Plus), { class: "size-4" }),
|
|
80270
|
-
_cache2[14] || (_cache2[14] = createTextVNode(" Add Key-Value Pair "))
|
|
80286
|
+
_cache2[14] || (_cache2[14] = createTextVNode(" Add Key-Value Pair ", -1))
|
|
80271
80287
|
]),
|
|
80272
80288
|
_: 1,
|
|
80273
80289
|
__: [14]
|
|
@@ -80277,7 +80293,7 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
|
80277
80293
|
createElementVNode("div", _hoisted_7$8, [
|
|
80278
80294
|
createVNode(_component_Label, { class: "text-sm font-semibold mb-2" }, {
|
|
80279
80295
|
default: withCtx(() => _cache2[15] || (_cache2[15] = [
|
|
80280
|
-
createTextVNode("Headers")
|
|
80296
|
+
createTextVNode("Headers", -1)
|
|
80281
80297
|
])),
|
|
80282
80298
|
_: 1,
|
|
80283
80299
|
__: [15]
|
|
@@ -80316,7 +80332,7 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
|
80316
80332
|
}, {
|
|
80317
80333
|
default: withCtx(() => [
|
|
80318
80334
|
createVNode(unref(Plus), { class: "size-4" }),
|
|
80319
|
-
_cache2[16] || (_cache2[16] = createTextVNode(" Add Key-Value Pair "))
|
|
80335
|
+
_cache2[16] || (_cache2[16] = createTextVNode(" Add Key-Value Pair ", -1))
|
|
80320
80336
|
]),
|
|
80321
80337
|
_: 1,
|
|
80322
80338
|
__: [16]
|
|
@@ -80326,7 +80342,7 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
|
80326
80342
|
["POST", "PUT", "PATCH"].includes(node.value.data.method) ? (openBlock(), createElementBlock("div", _hoisted_10$2, [
|
|
80327
80343
|
createVNode(_component_Label, { class: "text-sm font-semibold mb-2" }, {
|
|
80328
80344
|
default: withCtx(() => _cache2[17] || (_cache2[17] = [
|
|
80329
|
-
createTextVNode("Body")
|
|
80345
|
+
createTextVNode("Body", -1)
|
|
80330
80346
|
])),
|
|
80331
80347
|
_: 1,
|
|
80332
80348
|
__: [17]
|
|
@@ -80365,7 +80381,7 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
|
80365
80381
|
}, {
|
|
80366
80382
|
default: withCtx(() => [
|
|
80367
80383
|
createVNode(unref(Plus), { class: "size-4" }),
|
|
80368
|
-
_cache2[18] || (_cache2[18] = createTextVNode(" Add Key-Value Pair "))
|
|
80384
|
+
_cache2[18] || (_cache2[18] = createTextVNode(" Add Key-Value Pair ", -1))
|
|
80369
80385
|
]),
|
|
80370
80386
|
_: 1,
|
|
80371
80387
|
__: [18]
|
|
@@ -80375,7 +80391,7 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
|
80375
80391
|
createElementVNode("div", _hoisted_13$1, [
|
|
80376
80392
|
createVNode(_component_Label, { class: "text-sm font-semibold mb-2" }, {
|
|
80377
80393
|
default: withCtx(() => _cache2[19] || (_cache2[19] = [
|
|
80378
|
-
createTextVNode("Cookies")
|
|
80394
|
+
createTextVNode("Cookies", -1)
|
|
80379
80395
|
])),
|
|
80380
80396
|
_: 1,
|
|
80381
80397
|
__: [19]
|
|
@@ -80414,7 +80430,7 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
|
80414
80430
|
}, {
|
|
80415
80431
|
default: withCtx(() => [
|
|
80416
80432
|
createVNode(unref(Plus), { class: "size-4" }),
|
|
80417
|
-
_cache2[20] || (_cache2[20] = createTextVNode(" Add Key-Value Pair "))
|
|
80433
|
+
_cache2[20] || (_cache2[20] = createTextVNode(" Add Key-Value Pair ", -1))
|
|
80418
80434
|
]),
|
|
80419
80435
|
_: 1,
|
|
80420
80436
|
__: [20]
|
|
@@ -80663,7 +80679,7 @@ const _sfc_main$2Y = /* @__PURE__ */ defineComponent({
|
|
|
80663
80679
|
onClick: _cache2[12] || (_cache2[12] = ($event) => emit("remove"))
|
|
80664
80680
|
}, {
|
|
80665
80681
|
default: withCtx(() => _cache2[15] || (_cache2[15] = [
|
|
80666
|
-
createTextVNode("Delete node")
|
|
80682
|
+
createTextVNode("Delete node", -1)
|
|
80667
80683
|
])),
|
|
80668
80684
|
_: 1,
|
|
80669
80685
|
__: [15]
|
|
@@ -81093,14 +81109,14 @@ const _sfc_main$2U = /* @__PURE__ */ defineComponent({
|
|
|
81093
81109
|
onClick: cancel
|
|
81094
81110
|
}, {
|
|
81095
81111
|
default: withCtx(() => _cache2[0] || (_cache2[0] = [
|
|
81096
|
-
createTextVNode("Cancel")
|
|
81112
|
+
createTextVNode("Cancel", -1)
|
|
81097
81113
|
])),
|
|
81098
81114
|
_: 1,
|
|
81099
81115
|
__: [0]
|
|
81100
81116
|
}),
|
|
81101
81117
|
createVNode(_component_Button, { onClick: saveForm }, {
|
|
81102
81118
|
default: withCtx(() => _cache2[1] || (_cache2[1] = [
|
|
81103
|
-
createTextVNode("Save")
|
|
81119
|
+
createTextVNode("Save", -1)
|
|
81104
81120
|
])),
|
|
81105
81121
|
_: 1,
|
|
81106
81122
|
__: [1]
|
|
@@ -81130,7 +81146,7 @@ const _sfc_main$2T = /* @__PURE__ */ defineComponent({
|
|
|
81130
81146
|
const { openFlowBuilder } = useFlowBuilder();
|
|
81131
81147
|
const props = __props;
|
|
81132
81148
|
const emits = __emit;
|
|
81133
|
-
const modelValue = useVModel$2(props, "modelValue", emits, {
|
|
81149
|
+
const modelValue = /* @__PURE__ */ useVModel$2(props, "modelValue", emits, {
|
|
81134
81150
|
passive: true
|
|
81135
81151
|
});
|
|
81136
81152
|
const editFlow = async () => {
|
|
@@ -81284,42 +81300,42 @@ const _sfc_main$2P = /* @__PURE__ */ defineComponent({
|
|
|
81284
81300
|
default: withCtx(() => [
|
|
81285
81301
|
createVNode(_component_SelectItem, { value: "default" }, {
|
|
81286
81302
|
default: withCtx(() => _cache2[3] || (_cache2[3] = [
|
|
81287
|
-
createTextVNode("Primary")
|
|
81303
|
+
createTextVNode("Primary", -1)
|
|
81288
81304
|
])),
|
|
81289
81305
|
_: 1,
|
|
81290
81306
|
__: [3]
|
|
81291
81307
|
}),
|
|
81292
81308
|
createVNode(_component_SelectItem, { value: "secondary" }, {
|
|
81293
81309
|
default: withCtx(() => _cache2[4] || (_cache2[4] = [
|
|
81294
|
-
createTextVNode("Secondary")
|
|
81310
|
+
createTextVNode("Secondary", -1)
|
|
81295
81311
|
])),
|
|
81296
81312
|
_: 1,
|
|
81297
81313
|
__: [4]
|
|
81298
81314
|
}),
|
|
81299
81315
|
createVNode(_component_SelectItem, { value: "destructive" }, {
|
|
81300
81316
|
default: withCtx(() => _cache2[5] || (_cache2[5] = [
|
|
81301
|
-
createTextVNode("Destructive")
|
|
81317
|
+
createTextVNode("Destructive", -1)
|
|
81302
81318
|
])),
|
|
81303
81319
|
_: 1,
|
|
81304
81320
|
__: [5]
|
|
81305
81321
|
}),
|
|
81306
81322
|
createVNode(_component_SelectItem, { value: "outline" }, {
|
|
81307
81323
|
default: withCtx(() => _cache2[6] || (_cache2[6] = [
|
|
81308
|
-
createTextVNode("Outline")
|
|
81324
|
+
createTextVNode("Outline", -1)
|
|
81309
81325
|
])),
|
|
81310
81326
|
_: 1,
|
|
81311
81327
|
__: [6]
|
|
81312
81328
|
}),
|
|
81313
81329
|
createVNode(_component_SelectItem, { value: "ghost" }, {
|
|
81314
81330
|
default: withCtx(() => _cache2[7] || (_cache2[7] = [
|
|
81315
|
-
createTextVNode("Ghost")
|
|
81331
|
+
createTextVNode("Ghost", -1)
|
|
81316
81332
|
])),
|
|
81317
81333
|
_: 1,
|
|
81318
81334
|
__: [7]
|
|
81319
81335
|
}),
|
|
81320
81336
|
createVNode(_component_SelectItem, { value: "link" }, {
|
|
81321
81337
|
default: withCtx(() => _cache2[8] || (_cache2[8] = [
|
|
81322
|
-
createTextVNode("Link")
|
|
81338
|
+
createTextVNode("Link", -1)
|
|
81323
81339
|
])),
|
|
81324
81340
|
_: 1,
|
|
81325
81341
|
__: [8]
|
|
@@ -81503,7 +81519,7 @@ const _sfc_main$2L = /* @__PURE__ */ defineComponent({
|
|
|
81503
81519
|
createElementVNode("div", _hoisted_3$i, [
|
|
81504
81520
|
createVNode(_component_Label, { for: "option.id + '_label'" }, {
|
|
81505
81521
|
default: withCtx(() => _cache2[4] || (_cache2[4] = [
|
|
81506
|
-
createTextVNode("Label")
|
|
81522
|
+
createTextVNode("Label", -1)
|
|
81507
81523
|
])),
|
|
81508
81524
|
_: 1,
|
|
81509
81525
|
__: [4]
|
|
@@ -81517,7 +81533,7 @@ const _sfc_main$2L = /* @__PURE__ */ defineComponent({
|
|
|
81517
81533
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue"]),
|
|
81518
81534
|
createVNode(_component_Label, { for: "option.id + '_value'" }, {
|
|
81519
81535
|
default: withCtx(() => _cache2[5] || (_cache2[5] = [
|
|
81520
|
-
createTextVNode("Value")
|
|
81536
|
+
createTextVNode("Value", -1)
|
|
81521
81537
|
])),
|
|
81522
81538
|
_: 1,
|
|
81523
81539
|
__: [5]
|
|
@@ -81535,7 +81551,7 @@ const _sfc_main$2L = /* @__PURE__ */ defineComponent({
|
|
|
81535
81551
|
onClick: ($event) => removeOption(option.id)
|
|
81536
81552
|
}, {
|
|
81537
81553
|
default: withCtx(() => _cache2[6] || (_cache2[6] = [
|
|
81538
|
-
createTextVNode("Remove")
|
|
81554
|
+
createTextVNode("Remove", -1)
|
|
81539
81555
|
])),
|
|
81540
81556
|
_: 2,
|
|
81541
81557
|
__: [6]
|
|
@@ -81627,14 +81643,14 @@ const _sfc_main$2K = /* @__PURE__ */ defineComponent({
|
|
|
81627
81643
|
default: withCtx(() => [
|
|
81628
81644
|
createVNode(_component_SelectItem, { value: "vertical" }, {
|
|
81629
81645
|
default: withCtx(() => _cache2[3] || (_cache2[3] = [
|
|
81630
|
-
createTextVNode("Vertical")
|
|
81646
|
+
createTextVNode("Vertical", -1)
|
|
81631
81647
|
])),
|
|
81632
81648
|
_: 1,
|
|
81633
81649
|
__: [3]
|
|
81634
81650
|
}),
|
|
81635
81651
|
createVNode(_component_SelectItem, { value: "horizontal" }, {
|
|
81636
81652
|
default: withCtx(() => _cache2[4] || (_cache2[4] = [
|
|
81637
|
-
createTextVNode("Horizontal")
|
|
81653
|
+
createTextVNode("Horizontal", -1)
|
|
81638
81654
|
])),
|
|
81639
81655
|
_: 1,
|
|
81640
81656
|
__: [4]
|
|
@@ -81676,7 +81692,7 @@ const _sfc_main$2K = /* @__PURE__ */ defineComponent({
|
|
|
81676
81692
|
createElementVNode("div", _hoisted_3$h, [
|
|
81677
81693
|
createVNode(_component_Label, { for: "option.id + '_label'" }, {
|
|
81678
81694
|
default: withCtx(() => _cache2[6] || (_cache2[6] = [
|
|
81679
|
-
createTextVNode("Label")
|
|
81695
|
+
createTextVNode("Label", -1)
|
|
81680
81696
|
])),
|
|
81681
81697
|
_: 1,
|
|
81682
81698
|
__: [6]
|
|
@@ -81690,7 +81706,7 @@ const _sfc_main$2K = /* @__PURE__ */ defineComponent({
|
|
|
81690
81706
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue"]),
|
|
81691
81707
|
createVNode(_component_Label, { for: "option.id + '_value'" }, {
|
|
81692
81708
|
default: withCtx(() => _cache2[7] || (_cache2[7] = [
|
|
81693
|
-
createTextVNode("Value")
|
|
81709
|
+
createTextVNode("Value", -1)
|
|
81694
81710
|
])),
|
|
81695
81711
|
_: 1,
|
|
81696
81712
|
__: [7]
|
|
@@ -81708,7 +81724,7 @@ const _sfc_main$2K = /* @__PURE__ */ defineComponent({
|
|
|
81708
81724
|
onClick: ($event) => removeOption(option.id)
|
|
81709
81725
|
}, {
|
|
81710
81726
|
default: withCtx(() => _cache2[8] || (_cache2[8] = [
|
|
81711
|
-
createTextVNode("Remove")
|
|
81727
|
+
createTextVNode("Remove", -1)
|
|
81712
81728
|
])),
|
|
81713
81729
|
_: 2,
|
|
81714
81730
|
__: [8]
|
|
@@ -111886,7 +111902,7 @@ const _sfc_main$2v = /* @__PURE__ */ defineComponent({
|
|
|
111886
111902
|
return openBlock(), createElementBlock("div", _hoisted_1$C, [
|
|
111887
111903
|
createElementVNode("div", _hoisted_2$m, [
|
|
111888
111904
|
uniqueDevices.value.length > 1 ? (openBlock(), createElementBlock("label", _hoisted_3$f, [
|
|
111889
|
-
_cache2[1] || (_cache2[1] = createTextVNode(" Camera: ")),
|
|
111905
|
+
_cache2[1] || (_cache2[1] = createTextVNode(" Camera: ", -1)),
|
|
111890
111906
|
withDirectives(createElementVNode("select", {
|
|
111891
111907
|
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => selectedDeviceId.value = $event),
|
|
111892
111908
|
class: "border rounded px-2 py-1 ml-2"
|
|
@@ -112452,7 +112468,7 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
|
112452
112468
|
], -1)),
|
|
112453
112469
|
createVNode(_component_Button, { onClick: showIntegrationActionBuilder }, {
|
|
112454
112470
|
default: withCtx(() => _cache2[0] || (_cache2[0] = [
|
|
112455
|
-
createTextVNode("+ Integration action")
|
|
112471
|
+
createTextVNode("+ Integration action", -1)
|
|
112456
112472
|
])),
|
|
112457
112473
|
_: 1,
|
|
112458
112474
|
__: [0]
|
|
@@ -112496,14 +112512,14 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
|
112496
112512
|
onClick: ($event) => editIntegrationActionName(action)
|
|
112497
112513
|
}, {
|
|
112498
112514
|
default: withCtx(() => _cache2[1] || (_cache2[1] = [
|
|
112499
|
-
createTextVNode(" Rename Action ")
|
|
112515
|
+
createTextVNode(" Rename Action ", -1)
|
|
112500
112516
|
])),
|
|
112501
112517
|
_: 2,
|
|
112502
112518
|
__: [1]
|
|
112503
112519
|
}, 1032, ["onClick"]),
|
|
112504
112520
|
createVNode(_component_ContextMenuItem, { inset: "" }, {
|
|
112505
112521
|
default: withCtx(() => _cache2[2] || (_cache2[2] = [
|
|
112506
|
-
createTextVNode(" View Data ")
|
|
112522
|
+
createTextVNode(" View Data ", -1)
|
|
112507
112523
|
])),
|
|
112508
112524
|
_: 1,
|
|
112509
112525
|
__: [2]
|
|
@@ -112513,7 +112529,7 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
|
112513
112529
|
onClick: ($event) => executeAction(action)
|
|
112514
112530
|
}, {
|
|
112515
112531
|
default: withCtx(() => _cache2[3] || (_cache2[3] = [
|
|
112516
|
-
createTextVNode(" Execute Action ")
|
|
112532
|
+
createTextVNode(" Execute Action ", -1)
|
|
112517
112533
|
])),
|
|
112518
112534
|
_: 2,
|
|
112519
112535
|
__: [3]
|
|
@@ -112524,7 +112540,7 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
|
112524
112540
|
onClick: ($event) => removeAction(action)
|
|
112525
112541
|
}, {
|
|
112526
112542
|
default: withCtx(() => _cache2[4] || (_cache2[4] = [
|
|
112527
|
-
createTextVNode(" Remove Action ")
|
|
112543
|
+
createTextVNode(" Remove Action ", -1)
|
|
112528
112544
|
])),
|
|
112529
112545
|
_: 2,
|
|
112530
112546
|
__: [4]
|
|
@@ -112535,7 +112551,7 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
|
112535
112551
|
"onUpdate:modelValue": ($event) => action.fireOnStart = $event
|
|
112536
112552
|
}, {
|
|
112537
112553
|
default: withCtx(() => _cache2[5] || (_cache2[5] = [
|
|
112538
|
-
createTextVNode(" Fire on start ")
|
|
112554
|
+
createTextVNode(" Fire on start ", -1)
|
|
112539
112555
|
])),
|
|
112540
112556
|
_: 2,
|
|
112541
112557
|
__: [5]
|
|
@@ -112604,7 +112620,7 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
112604
112620
|
size: "sm"
|
|
112605
112621
|
}, {
|
|
112606
112622
|
default: withCtx(() => _cache2[0] || (_cache2[0] = [
|
|
112607
|
-
createTextVNode(" Add new variable ")
|
|
112623
|
+
createTextVNode(" Add new variable ", -1)
|
|
112608
112624
|
])),
|
|
112609
112625
|
_: 1,
|
|
112610
112626
|
__: [0]
|
|
@@ -112717,7 +112733,7 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
|
112717
112733
|
onClick: addTransformer
|
|
112718
112734
|
}, {
|
|
112719
112735
|
default: withCtx(() => _cache2[0] || (_cache2[0] = [
|
|
112720
|
-
createTextVNode(" Add new transformer ")
|
|
112736
|
+
createTextVNode(" Add new transformer ", -1)
|
|
112721
112737
|
])),
|
|
112722
112738
|
_: 1,
|
|
112723
112739
|
__: [0]
|
|
@@ -112974,7 +112990,7 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
|
112974
112990
|
class: "mt-4"
|
|
112975
112991
|
}, {
|
|
112976
112992
|
default: withCtx(() => _cache2[2] || (_cache2[2] = [
|
|
112977
|
-
createTextVNode("Remove Element")
|
|
112993
|
+
createTextVNode("Remove Element", -1)
|
|
112978
112994
|
])),
|
|
112979
112995
|
_: 1,
|
|
112980
112996
|
__: [2]
|
|
@@ -118802,14 +118818,14 @@ const _sfc_main$2h = /* @__PURE__ */ defineComponent({
|
|
|
118802
118818
|
onClick: cancel
|
|
118803
118819
|
}, {
|
|
118804
118820
|
default: withCtx(() => _cache2[0] || (_cache2[0] = [
|
|
118805
|
-
createTextVNode("Cancel")
|
|
118821
|
+
createTextVNode("Cancel", -1)
|
|
118806
118822
|
])),
|
|
118807
118823
|
_: 1,
|
|
118808
118824
|
__: [0]
|
|
118809
118825
|
}),
|
|
118810
118826
|
createVNode(_component_Button, { onClick: save }, {
|
|
118811
118827
|
default: withCtx(() => _cache2[1] || (_cache2[1] = [
|
|
118812
|
-
createTextVNode("Save")
|
|
118828
|
+
createTextVNode("Save", -1)
|
|
118813
118829
|
])),
|
|
118814
118830
|
_: 1,
|
|
118815
118831
|
__: [1]
|
|
@@ -118848,7 +118864,7 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
|
118848
118864
|
const { openFormBuilder } = useFormBuilder();
|
|
118849
118865
|
const props = __props;
|
|
118850
118866
|
const emits = __emit;
|
|
118851
|
-
const modelValue = useVModel$2(props, "modelValue", emits, {
|
|
118867
|
+
const modelValue = /* @__PURE__ */ useVModel$2(props, "modelValue", emits, {
|
|
118852
118868
|
passive: true
|
|
118853
118869
|
});
|
|
118854
118870
|
const editForm = async () => {
|
|
@@ -122331,7 +122347,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
122331
122347
|
setup(__props, { emit: __emit }) {
|
|
122332
122348
|
const props = __props;
|
|
122333
122349
|
const emits = __emit;
|
|
122334
|
-
const modelValue = useVModel$2(props, "modelValue", emits, {
|
|
122350
|
+
const modelValue = /* @__PURE__ */ useVModel$2(props, "modelValue", emits, {
|
|
122335
122351
|
passive: true,
|
|
122336
122352
|
defaultValue: props.defaultValue
|
|
122337
122353
|
});
|
|
@@ -122340,7 +122356,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
122340
122356
|
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
|
|
122341
122357
|
"data-slot": "input",
|
|
122342
122358
|
class: normalizeClass(unref(cn$2)(
|
|
122343
|
-
"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground
|
|
122359
|
+
"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground border-input flex h-9 w-full min-w-0 rounded-md border bg-background dark:bg-input/30 px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
122344
122360
|
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
122345
122361
|
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
122346
122362
|
props.class
|
|
@@ -122494,14 +122510,14 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
122494
122510
|
default: withCtx(() => [
|
|
122495
122511
|
createVNode(_component_SheetTitle, null, {
|
|
122496
122512
|
default: withCtx(() => _cache2[5] || (_cache2[5] = [
|
|
122497
|
-
createTextVNode("New integration action")
|
|
122513
|
+
createTextVNode("New integration action", -1)
|
|
122498
122514
|
])),
|
|
122499
122515
|
_: 1,
|
|
122500
122516
|
__: [5]
|
|
122501
122517
|
}),
|
|
122502
122518
|
createVNode(_component_SheetDescription, null, {
|
|
122503
122519
|
default: withCtx(() => _cache2[6] || (_cache2[6] = [
|
|
122504
|
-
createTextVNode(" Make external calls to your integrations or APIs. ")
|
|
122520
|
+
createTextVNode(" Make external calls to your integrations or APIs. ", -1)
|
|
122505
122521
|
])),
|
|
122506
122522
|
_: 1,
|
|
122507
122523
|
__: [6]
|
|
@@ -122615,14 +122631,14 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
122615
122631
|
onClick: cancel
|
|
122616
122632
|
}, {
|
|
122617
122633
|
default: withCtx(() => _cache2[11] || (_cache2[11] = [
|
|
122618
|
-
createTextVNode("Cancel")
|
|
122634
|
+
createTextVNode("Cancel", -1)
|
|
122619
122635
|
])),
|
|
122620
122636
|
_: 1,
|
|
122621
122637
|
__: [11]
|
|
122622
122638
|
}),
|
|
122623
122639
|
createVNode(_component_Button, { onClick: createIntegrationAction }, {
|
|
122624
122640
|
default: withCtx(() => _cache2[12] || (_cache2[12] = [
|
|
122625
|
-
createTextVNode("Create")
|
|
122641
|
+
createTextVNode("Create", -1)
|
|
122626
122642
|
])),
|
|
122627
122643
|
_: 1,
|
|
122628
122644
|
__: [12]
|
|
@@ -122711,7 +122727,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
122711
122727
|
setup(__props, { emit: __emit }) {
|
|
122712
122728
|
const props = __props;
|
|
122713
122729
|
const emits = __emit;
|
|
122714
|
-
const modelValue = useVModel$2(props, "modelValue", emits, {
|
|
122730
|
+
const modelValue = /* @__PURE__ */ useVModel$2(props, "modelValue", emits, {
|
|
122715
122731
|
passive: true
|
|
122716
122732
|
});
|
|
122717
122733
|
const search = ref("");
|
|
@@ -122769,7 +122785,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
122769
122785
|
setup(__props, { emit: __emit }) {
|
|
122770
122786
|
const props = __props;
|
|
122771
122787
|
const emits = __emit;
|
|
122772
|
-
const modelValue = useVModel$2(props, "modelValue", emits, {
|
|
122788
|
+
const modelValue = /* @__PURE__ */ useVModel$2(props, "modelValue", emits, {
|
|
122773
122789
|
passive: true
|
|
122774
122790
|
});
|
|
122775
122791
|
return (_ctx, _cache2) => {
|
|
@@ -122958,7 +122974,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
122958
122974
|
createVNode(_component_SelectTrigger, { class: "w-[100px]" }, {
|
|
122959
122975
|
default: withCtx(() => [
|
|
122960
122976
|
createVNode(unref(ArrowUpDown), { class: "size-4" }),
|
|
122961
|
-
_cache2[5] || (_cache2[5] = createTextVNode(" Sort "))
|
|
122977
|
+
_cache2[5] || (_cache2[5] = createTextVNode(" Sort ", -1))
|
|
122962
122978
|
]),
|
|
122963
122979
|
_: 1,
|
|
122964
122980
|
__: [5]
|
|
@@ -122969,42 +122985,42 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
122969
122985
|
default: withCtx(() => [
|
|
122970
122986
|
createVNode(_component_SelectItem, { value: "name" }, {
|
|
122971
122987
|
default: withCtx(() => _cache2[6] || (_cache2[6] = [
|
|
122972
|
-
createTextVNode(" Name (A-Z) ")
|
|
122988
|
+
createTextVNode(" Name (A-Z) ", -1)
|
|
122973
122989
|
])),
|
|
122974
122990
|
_: 1,
|
|
122975
122991
|
__: [6]
|
|
122976
122992
|
}),
|
|
122977
122993
|
createVNode(_component_SelectItem, { value: "name-desc" }, {
|
|
122978
122994
|
default: withCtx(() => _cache2[7] || (_cache2[7] = [
|
|
122979
|
-
createTextVNode(" Name (Z-A) ")
|
|
122995
|
+
createTextVNode(" Name (Z-A) ", -1)
|
|
122980
122996
|
])),
|
|
122981
122997
|
_: 1,
|
|
122982
122998
|
__: [7]
|
|
122983
122999
|
}),
|
|
122984
123000
|
createVNode(_component_SelectItem, { value: "size" }, {
|
|
122985
123001
|
default: withCtx(() => _cache2[8] || (_cache2[8] = [
|
|
122986
|
-
createTextVNode(" Size (smallest first) ")
|
|
123002
|
+
createTextVNode(" Size (smallest first) ", -1)
|
|
122987
123003
|
])),
|
|
122988
123004
|
_: 1,
|
|
122989
123005
|
__: [8]
|
|
122990
123006
|
}),
|
|
122991
123007
|
createVNode(_component_SelectItem, { value: "size-desc" }, {
|
|
122992
123008
|
default: withCtx(() => _cache2[9] || (_cache2[9] = [
|
|
122993
|
-
createTextVNode(" Size (largest first) ")
|
|
123009
|
+
createTextVNode(" Size (largest first) ", -1)
|
|
122994
123010
|
])),
|
|
122995
123011
|
_: 1,
|
|
122996
123012
|
__: [9]
|
|
122997
123013
|
}),
|
|
122998
123014
|
createVNode(_component_SelectItem, { value: "date" }, {
|
|
122999
123015
|
default: withCtx(() => _cache2[10] || (_cache2[10] = [
|
|
123000
|
-
createTextVNode(" Date (oldest first) ")
|
|
123016
|
+
createTextVNode(" Date (oldest first) ", -1)
|
|
123001
123017
|
])),
|
|
123002
123018
|
_: 1,
|
|
123003
123019
|
__: [10]
|
|
123004
123020
|
}),
|
|
123005
123021
|
createVNode(_component_SelectItem, { value: "date-desc" }, {
|
|
123006
123022
|
default: withCtx(() => _cache2[11] || (_cache2[11] = [
|
|
123007
|
-
createTextVNode(" Date (newest first) ")
|
|
123023
|
+
createTextVNode(" Date (newest first) ", -1)
|
|
123008
123024
|
])),
|
|
123009
123025
|
_: 1,
|
|
123010
123026
|
__: [11]
|
|
@@ -123145,15 +123161,15 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
123145
123161
|
}, [
|
|
123146
123162
|
!__props.selected ? (openBlock(), createBlock(unref(Square), {
|
|
123147
123163
|
key: 0,
|
|
123148
|
-
class: "size-6 mt-2 mr-2 drop-shadow-[0_3px_3px_rgba(0,0,0,0.7)] pointer-events-none"
|
|
123164
|
+
class: "size-6 mt-2 mr-2 drop-shadow-sm dark:drop-shadow-[0_3px_3px_rgba(0,0,0,0.7)] pointer-events-none"
|
|
123149
123165
|
})) : createCommentVNode("", true)
|
|
123150
123166
|
], 32)) : createCommentVNode("", true),
|
|
123151
123167
|
!isPending.value && __props.selected ? (openBlock(), createBlock(unref(SquareCheck), {
|
|
123152
123168
|
key: 3,
|
|
123153
|
-
class: "absolute top-2 right-2 size-6 drop-shadow-[0_3px_3px_rgba(0,0,0,0.7)] pointer-events-none"
|
|
123169
|
+
class: "absolute top-2 right-2 size-6 drop-shadow-sm dark:drop-shadow-[0_3px_3px_rgba(0,0,0,0.7)] pointer-events-none"
|
|
123154
123170
|
})) : !isPending.value && focus.value ? (openBlock(), createBlock(unref(Square), {
|
|
123155
123171
|
key: 4,
|
|
123156
|
-
class: "absolute top-2 right-2 size-6 drop-shadow-[0_3px_3px_rgba(0,0,0,0.7)] pointer-events-none"
|
|
123172
|
+
class: "absolute top-2 right-2 size-6 drop-shadow-sm dark:drop-shadow-[0_3px_3px_rgba(0,0,0,0.7)] pointer-events-none"
|
|
123157
123173
|
})) : createCommentVNode("", true),
|
|
123158
123174
|
createElementVNode("div", _hoisted_4$4, [
|
|
123159
123175
|
createElementVNode("span", _hoisted_5$4, toDisplayString(__props.file.displayName || __props.file.name.split("/").pop()), 1),
|
|
@@ -123170,7 +123186,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
123170
123186
|
}, {
|
|
123171
123187
|
default: withCtx(() => [
|
|
123172
123188
|
createVNode(unref(Image), { class: "size-4" }),
|
|
123173
|
-
_cache2[4] || (_cache2[4] = createTextVNode(" Edit image "))
|
|
123189
|
+
_cache2[4] || (_cache2[4] = createTextVNode(" Edit image ", -1))
|
|
123174
123190
|
]),
|
|
123175
123191
|
_: 1,
|
|
123176
123192
|
__: [4]
|
|
@@ -123179,7 +123195,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
123179
123195
|
createVNode(_component_ContextMenuItem, null, {
|
|
123180
123196
|
default: withCtx(() => [
|
|
123181
123197
|
createVNode(unref(Copy), { class: "size-4" }),
|
|
123182
|
-
_cache2[5] || (_cache2[5] = createTextVNode(" Duplicate... "))
|
|
123198
|
+
_cache2[5] || (_cache2[5] = createTextVNode(" Duplicate... ", -1))
|
|
123183
123199
|
]),
|
|
123184
123200
|
_: 1,
|
|
123185
123201
|
__: [5]
|
|
@@ -123187,7 +123203,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
123187
123203
|
createVNode(_component_ContextMenuItem, null, {
|
|
123188
123204
|
default: withCtx(() => [
|
|
123189
123205
|
createVNode(unref(FolderInput), { class: "size-4" }),
|
|
123190
|
-
_cache2[6] || (_cache2[6] = createTextVNode(" Move... "))
|
|
123206
|
+
_cache2[6] || (_cache2[6] = createTextVNode(" Move... ", -1))
|
|
123191
123207
|
]),
|
|
123192
123208
|
_: 1,
|
|
123193
123209
|
__: [6]
|
|
@@ -123195,7 +123211,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
123195
123211
|
createVNode(_component_ContextMenuItem, null, {
|
|
123196
123212
|
default: withCtx(() => [
|
|
123197
123213
|
createVNode(unref(Pencil), { class: "size-4" }),
|
|
123198
|
-
_cache2[7] || (_cache2[7] = createTextVNode(" Rename... "))
|
|
123214
|
+
_cache2[7] || (_cache2[7] = createTextVNode(" Rename... ", -1))
|
|
123199
123215
|
]),
|
|
123200
123216
|
_: 1,
|
|
123201
123217
|
__: [7]
|
|
@@ -123203,7 +123219,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
123203
123219
|
createVNode(_component_ContextMenuItem, { variant: "destructive" }, {
|
|
123204
123220
|
default: withCtx(() => [
|
|
123205
123221
|
createVNode(unref(Trash2), { class: "size-4" }),
|
|
123206
|
-
_cache2[8] || (_cache2[8] = createTextVNode(" Delete "))
|
|
123222
|
+
_cache2[8] || (_cache2[8] = createTextVNode(" Delete ", -1))
|
|
123207
123223
|
]),
|
|
123208
123224
|
_: 1,
|
|
123209
123225
|
__: [8]
|
|
@@ -123240,9 +123256,13 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
123240
123256
|
},
|
|
123241
123257
|
maxFiles: {
|
|
123242
123258
|
type: Number
|
|
123259
|
+
},
|
|
123260
|
+
initialValue: {
|
|
123261
|
+
type: Array,
|
|
123262
|
+
default: () => []
|
|
123243
123263
|
}
|
|
123244
123264
|
},
|
|
123245
|
-
emits: ["submit"],
|
|
123265
|
+
emits: ["submit", "select-image"],
|
|
123246
123266
|
setup(__props, { emit: __emit }) {
|
|
123247
123267
|
const route = useRoute();
|
|
123248
123268
|
const emit = __emit;
|
|
@@ -123297,6 +123317,10 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
123297
123317
|
return 0;
|
|
123298
123318
|
});
|
|
123299
123319
|
});
|
|
123320
|
+
watch$1(() => dialogOpen.value, () => {
|
|
123321
|
+
console.log(props.initialValue);
|
|
123322
|
+
selectedFiles.value = props.initialValue;
|
|
123323
|
+
});
|
|
123300
123324
|
watch$1(() => activeSourceId.value, async () => {
|
|
123301
123325
|
activeSource.value = await getMediaSource(project.value, activeSourceId.value);
|
|
123302
123326
|
setEffectiveBasePath();
|
|
@@ -123333,12 +123357,15 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
123333
123357
|
currentPath.value = path;
|
|
123334
123358
|
}
|
|
123335
123359
|
const res = await getStorageContent(activeSource.value.id, currentPath.value);
|
|
123336
|
-
folders.value = (res.folders || []).
|
|
123360
|
+
folders.value = (res.folders || []).map((folder) => {
|
|
123337
123361
|
const folderPath = folder.path;
|
|
123338
123362
|
const parentPath = currentPath.value ? currentPath.value : "";
|
|
123339
123363
|
const relativePath = folderPath.startsWith(parentPath) ? folderPath.substring(parentPath.length) : folderPath;
|
|
123340
123364
|
const pathParts = relativePath.split("/").filter(Boolean);
|
|
123341
|
-
return
|
|
123365
|
+
return {
|
|
123366
|
+
name: pathParts[0],
|
|
123367
|
+
path: parentPath + pathParts[0] + "/"
|
|
123368
|
+
};
|
|
123342
123369
|
});
|
|
123343
123370
|
files.value = (res.files || []).filter((file) => {
|
|
123344
123371
|
const filePath = file.name;
|
|
@@ -123475,7 +123502,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
123475
123502
|
variant: "outline"
|
|
123476
123503
|
}, {
|
|
123477
123504
|
default: withCtx(() => _cache2[4] || (_cache2[4] = [
|
|
123478
|
-
createTextVNode("Retry")
|
|
123505
|
+
createTextVNode("Retry", -1)
|
|
123479
123506
|
])),
|
|
123480
123507
|
_: 1,
|
|
123481
123508
|
__: [4]
|
|
@@ -123494,10 +123521,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
123494
123521
|
return openBlock(), createElementBlock("div", {
|
|
123495
123522
|
key: folder.path,
|
|
123496
123523
|
onClick: ($event) => navigateToFolder(folder.path),
|
|
123497
|
-
class: normalizeClass(unref(cn$2)(
|
|
123498
|
-
"cursor-pointer border rounded-md p-2 hover:bg-muted dark:hover:bg-muted/30 transition-colors flex items-center gap-2",
|
|
123499
|
-
selectedFiles.value
|
|
123500
|
-
))
|
|
123524
|
+
class: normalizeClass(unref(cn$2)("cursor-pointer border rounded-md p-2 hover:bg-muted dark:hover:bg-muted/30 transition-colors flex items-center gap-2", selectedFiles.value))
|
|
123501
123525
|
}, [
|
|
123502
123526
|
createVNode(unref(Folder), { class: "size-5 text-blue-600" }),
|
|
123503
123527
|
createElementVNode("span", _hoisted_8$2, toDisplayString(folder.name), 1)
|
|
@@ -123523,13 +123547,11 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
123523
123547
|
onClick: onSubmit,
|
|
123524
123548
|
disabled: ((_a2 = selectedFiles.value) == null ? void 0 : _a2.length) === 0
|
|
123525
123549
|
}, {
|
|
123526
|
-
default: withCtx(() =>
|
|
123527
|
-
|
|
123528
|
-
|
|
123529
|
-
|
|
123530
|
-
|
|
123531
|
-
}),
|
|
123532
|
-
_: 1
|
|
123550
|
+
default: withCtx(() => _cache2[5] || (_cache2[5] = [
|
|
123551
|
+
createTextVNode(" Save selection ", -1)
|
|
123552
|
+
])),
|
|
123553
|
+
_: 1,
|
|
123554
|
+
__: [5]
|
|
123533
123555
|
}, 8, ["disabled"])
|
|
123534
123556
|
];
|
|
123535
123557
|
}),
|
|
@@ -123550,7 +123572,7 @@ const _hoisted_1$g = {
|
|
|
123550
123572
|
};
|
|
123551
123573
|
const _hoisted_2$5 = { class: "text-muted-foreground text-sm ml-1" };
|
|
123552
123574
|
const _hoisted_3$4 = { class: "relative" };
|
|
123553
|
-
const _hoisted_4$2 = { class: "background-grid absolute w-full grid grid-cols-6 gap-2
|
|
123575
|
+
const _hoisted_4$2 = { class: "background-grid absolute w-full grid grid-cols-6 gap-2 pointer-events-none" };
|
|
123554
123576
|
const _hoisted_5$2 = ["data-index"];
|
|
123555
123577
|
const _hoisted_6$2 = {
|
|
123556
123578
|
key: 0,
|
|
@@ -123569,6 +123591,7 @@ const _hoisted_12$1 = ["onClick"];
|
|
|
123569
123591
|
const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
123570
123592
|
__name: "MediaPickerItems",
|
|
123571
123593
|
setup(__props) {
|
|
123594
|
+
gsap.registerPlugin(Draggable);
|
|
123572
123595
|
const sources = inject$1("sources");
|
|
123573
123596
|
const items = inject$1("media-items", { value: [] });
|
|
123574
123597
|
const updateItems = inject$1("update-media-items", () => {
|
|
@@ -123578,6 +123601,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
123578
123601
|
const originalItemsArray = ref(null);
|
|
123579
123602
|
const draggingItemIndex = ref(-1);
|
|
123580
123603
|
const lastHoveredIndex = ref(-1);
|
|
123604
|
+
const cooldownDrag = ref(false);
|
|
123581
123605
|
const showAll = ref(false);
|
|
123582
123606
|
const fileSelectorCheckboxState = computed$1(() => {
|
|
123583
123607
|
if (selectedItems.value.length === items.value.length) return true;
|
|
@@ -123597,13 +123621,13 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
123597
123621
|
selectedItems.value = [];
|
|
123598
123622
|
return;
|
|
123599
123623
|
}
|
|
123600
|
-
selectedItems.value = items.value.
|
|
123624
|
+
selectedItems.value = items.value ? JSON.parse(JSON.stringify(items.value)) : [];
|
|
123601
123625
|
};
|
|
123602
123626
|
const onRemoveSelectedClick = () => {
|
|
123603
123627
|
if (!selectedItems.value.length) return;
|
|
123604
123628
|
const currentArray = [...items.value];
|
|
123605
|
-
selectedItems.value.forEach((
|
|
123606
|
-
const index = currentArray.findIndex((item) => item
|
|
123629
|
+
selectedItems.value.forEach((url) => {
|
|
123630
|
+
const index = currentArray.findIndex((item) => item === url);
|
|
123607
123631
|
if (index !== -1) {
|
|
123608
123632
|
currentArray.splice(index, 1);
|
|
123609
123633
|
}
|
|
@@ -123620,6 +123644,8 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
123620
123644
|
let rafId = null;
|
|
123621
123645
|
let lastDragEvent = null;
|
|
123622
123646
|
let currentDragTarget = null;
|
|
123647
|
+
let startLarge = false;
|
|
123648
|
+
let offsetLarge = { x: 0, y: 0 };
|
|
123623
123649
|
const onDragHandler = () => {
|
|
123624
123650
|
if (!lastDragEvent || !currentDragTarget) return;
|
|
123625
123651
|
const e = lastDragEvent;
|
|
@@ -123635,13 +123661,19 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
123635
123661
|
const itemRect = item.getBoundingClientRect();
|
|
123636
123662
|
if (mouseX >= itemRect.left && mouseX <= itemRect.right && mouseY >= itemRect.top && mouseY <= itemRect.bottom) {
|
|
123637
123663
|
const dataIndex = parseInt(item.getAttribute("data-index"), 10);
|
|
123638
|
-
|
|
123664
|
+
if (items.value.length > 8 && dataIndex == 7 && !showAll.value) break;
|
|
123639
123665
|
if (dataIndex !== lastHoveredIndex.value && originalItemsArray.value) {
|
|
123640
123666
|
lastHoveredIndex.value = dataIndex;
|
|
123667
|
+
const newLarge = item.classList.contains("col-span-2");
|
|
123641
123668
|
let { x: x1, y: y1 } = document.querySelector('.background-grid [data-index="' + draggingItemIndex.value + '"]').getBoundingClientRect();
|
|
123642
|
-
let { x: x2, y: y2 } = document.querySelector('.background-grid [data-index="' + dataIndex + '"]').getBoundingClientRect();
|
|
123643
|
-
|
|
123644
|
-
|
|
123669
|
+
let { x: x2, y: y2, width: w2, height: h2 } = document.querySelector('.background-grid [data-index="' + dataIndex + '"]').getBoundingClientRect();
|
|
123670
|
+
if (startLarge && !newLarge) {
|
|
123671
|
+
currentDragTarget.style.top = y1 - y2 + offsetLarge.y - h2 / 2 + "px";
|
|
123672
|
+
currentDragTarget.style.left = x1 - x2 + offsetLarge.x - w2 / 2 + "px";
|
|
123673
|
+
} else {
|
|
123674
|
+
currentDragTarget.style.top = y1 - y2 + "px";
|
|
123675
|
+
currentDragTarget.style.left = x1 - x2 + "px";
|
|
123676
|
+
}
|
|
123645
123677
|
const newOrder = [...originalItemsArray.value];
|
|
123646
123678
|
const draggedItem = newOrder[draggingItemIndex.value];
|
|
123647
123679
|
newOrder.splice(draggingItemIndex.value, 1);
|
|
@@ -123654,6 +123686,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
123654
123686
|
}
|
|
123655
123687
|
rafId = requestAnimationFrame(onDragHandler);
|
|
123656
123688
|
};
|
|
123689
|
+
let centeringTween = null;
|
|
123657
123690
|
const initDraggable = () => {
|
|
123658
123691
|
draggableInstances.forEach((instance) => {
|
|
123659
123692
|
if (instance && instance.kill) {
|
|
@@ -123662,22 +123695,33 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
123662
123695
|
});
|
|
123663
123696
|
draggableInstances = [];
|
|
123664
123697
|
nextTick(() => {
|
|
123665
|
-
const elements = getDraggableElements();
|
|
123698
|
+
const elements = Array.from(getDraggableElements());
|
|
123666
123699
|
if (!elements.length) return;
|
|
123667
123700
|
try {
|
|
123668
|
-
const
|
|
123701
|
+
const instances = Draggable.create(elements, {
|
|
123669
123702
|
type: "x,y",
|
|
123670
|
-
edgeResistance: 0
|
|
123703
|
+
edgeResistance: 0,
|
|
123671
123704
|
bounds: itemsContainer.value,
|
|
123672
|
-
onPress: function() {
|
|
123705
|
+
onPress: function(e) {
|
|
123706
|
+
if (cooldownDrag.value) return;
|
|
123707
|
+
console.log("press", e);
|
|
123673
123708
|
originalItemsArray.value = [...items.value];
|
|
123674
123709
|
draggingItemIndex.value = parseInt(this.target.getAttribute("data-index"), 10);
|
|
123675
123710
|
lastHoveredIndex.value = -1;
|
|
123711
|
+
startLarge = this.target.classList.contains("col-span-2");
|
|
123712
|
+
offsetLarge = startLarge ? {
|
|
123713
|
+
x: e.clientX - this.target.getBoundingClientRect().left,
|
|
123714
|
+
y: e.clientY - this.target.getBoundingClientRect().top
|
|
123715
|
+
} : { x: 0, y: 0 };
|
|
123676
123716
|
this.target.classList.add("dragging");
|
|
123677
123717
|
currentDragTarget = this.target;
|
|
123678
123718
|
},
|
|
123679
123719
|
onRelease: function(e) {
|
|
123680
123720
|
this.target.classList.remove("dragging");
|
|
123721
|
+
cooldownDrag.value = true;
|
|
123722
|
+
setTimeout(() => {
|
|
123723
|
+
cooldownDrag.value = false;
|
|
123724
|
+
}, 300);
|
|
123681
123725
|
if (rafId) {
|
|
123682
123726
|
cancelAnimationFrame(rafId);
|
|
123683
123727
|
rafId = null;
|
|
@@ -123696,25 +123740,31 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
123696
123740
|
lastHoveredIndex.value = -1;
|
|
123697
123741
|
}
|
|
123698
123742
|
});
|
|
123743
|
+
if (centeringTween) ;
|
|
123699
123744
|
},
|
|
123700
123745
|
onDrag: function(e) {
|
|
123746
|
+
if (cooldownDrag.value) return;
|
|
123701
123747
|
lastDragEvent = e;
|
|
123702
123748
|
if (!rafId) {
|
|
123703
123749
|
rafId = requestAnimationFrame(onDragHandler);
|
|
123704
123750
|
}
|
|
123705
123751
|
}
|
|
123706
123752
|
});
|
|
123707
|
-
draggableInstances.push(
|
|
123753
|
+
instances.forEach((inst) => draggableInstances.push(inst));
|
|
123708
123754
|
} catch (err) {
|
|
123709
123755
|
console.error("Error initializing draggable:", err);
|
|
123710
123756
|
}
|
|
123711
123757
|
});
|
|
123712
123758
|
};
|
|
123759
|
+
const expandItems = () => {
|
|
123760
|
+
showAll.value = true;
|
|
123761
|
+
initDraggable();
|
|
123762
|
+
};
|
|
123713
123763
|
const openMedia = (e, id2) => {
|
|
123714
123764
|
console.log("open media", id2);
|
|
123715
123765
|
};
|
|
123716
123766
|
const addMedia = (urls) => {
|
|
123717
|
-
items.value
|
|
123767
|
+
items.value = [...urls];
|
|
123718
123768
|
updateItems(items.value);
|
|
123719
123769
|
};
|
|
123720
123770
|
onMounted$1(() => {
|
|
@@ -123729,9 +123779,10 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
123729
123779
|
});
|
|
123730
123780
|
return (_ctx, _cache2) => {
|
|
123731
123781
|
const _component_Checkbox = resolveComponent("Checkbox");
|
|
123782
|
+
const _component_Button = resolveComponent("Button");
|
|
123732
123783
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
123733
123784
|
selectedItems.value.length ? (openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
123734
|
-
createVNode(
|
|
123785
|
+
createVNode(_component_Button, {
|
|
123735
123786
|
onClick: onFileSelectorCheckboxClick,
|
|
123736
123787
|
variant: "ghost",
|
|
123737
123788
|
size: "sm"
|
|
@@ -123757,17 +123808,17 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
123757
123808
|
]),
|
|
123758
123809
|
_: 1
|
|
123759
123810
|
}),
|
|
123760
|
-
createVNode(
|
|
123811
|
+
createVNode(_component_Button, {
|
|
123761
123812
|
variant: "outline",
|
|
123762
123813
|
size: "sm",
|
|
123763
123814
|
class: "text-red-500 hover:text-red-600",
|
|
123764
123815
|
onClick: onRemoveSelectedClick
|
|
123765
123816
|
}, {
|
|
123766
|
-
default: withCtx(() => _cache2[
|
|
123767
|
-
createTextVNode("Remove")
|
|
123817
|
+
default: withCtx(() => _cache2[0] || (_cache2[0] = [
|
|
123818
|
+
createTextVNode("Remove", -1)
|
|
123768
123819
|
])),
|
|
123769
123820
|
_: 1,
|
|
123770
|
-
__: [
|
|
123821
|
+
__: [0]
|
|
123771
123822
|
})
|
|
123772
123823
|
])) : createCommentVNode("", true),
|
|
123773
123824
|
createElementVNode("div", _hoisted_3$4, [
|
|
@@ -123780,24 +123831,24 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
123780
123831
|
}]),
|
|
123781
123832
|
"data-index": index
|
|
123782
123833
|
}, [
|
|
123783
|
-
_cache2[
|
|
123834
|
+
_cache2[1] || (_cache2[1] = createElementVNode("div", { class: "w-full h-full bg-muted/80 rounded-md aspect-square" }, null, -1)),
|
|
123784
123835
|
!showAll.value && unref(items).length > 8 && index === 7 ? (openBlock(), createElementBlock("div", {
|
|
123785
123836
|
key: 0,
|
|
123786
|
-
onClick:
|
|
123787
|
-
class: "absolute top-0 left-0 w-[calc(100%-8px)] h-[calc(100%-8px)] bg-black/30 rounded-md aspect-square z-10 flex items-center justify-center backdrop-blur-sm m-1 cursor-pointer"
|
|
123837
|
+
onClick: expandItems,
|
|
123838
|
+
class: "absolute top-0 left-0 w-[calc(100%-8px)] h-[calc(100%-8px)] bg-white/30 dark:bg-black/30 rounded-md aspect-square z-10 flex items-center justify-center backdrop-blur-sm m-1 cursor-pointer pointer-events-auto"
|
|
123788
123839
|
}, " + " + toDisplayString(unref(items).length - 7), 1)) : createCommentVNode("", true)
|
|
123789
123840
|
], 10, _hoisted_5$2);
|
|
123790
123841
|
}), 128)),
|
|
123791
|
-
unref(items).length == 0 ? (openBlock(), createElementBlock("div", _hoisted_6$2, _cache2[
|
|
123842
|
+
unref(items).length == 0 ? (openBlock(), createElementBlock("div", _hoisted_6$2, _cache2[2] || (_cache2[2] = [
|
|
123792
123843
|
createElementVNode("div", { class: "w-full h-full bg-muted/80 rounded-md aspect-square" }, null, -1)
|
|
123793
|
-
]))) : (openBlock(), createElementBlock("div", _hoisted_7$2, _cache2[
|
|
123844
|
+
]))) : (openBlock(), createElementBlock("div", _hoisted_7$2, _cache2[3] || (_cache2[3] = [
|
|
123794
123845
|
createElementVNode("div", { class: "w-full h-full bg-muted/80 rounded-md aspect-square" }, null, -1)
|
|
123795
123846
|
])))
|
|
123796
123847
|
]),
|
|
123797
123848
|
createElementVNode("div", {
|
|
123798
123849
|
ref_key: "itemsContainer",
|
|
123799
123850
|
ref: itemsContainer,
|
|
123800
|
-
class: "relative grid grid-cols-6 gap-2 mt-4"
|
|
123851
|
+
class: normalizeClass(["relative grid grid-cols-6 gap-2 mt-4", cooldownDrag.value ? "pointer-events-none" : ""])
|
|
123801
123852
|
}, [
|
|
123802
123853
|
createVNode(TransitionGroup, {
|
|
123803
123854
|
name: "media-item",
|
|
@@ -123809,7 +123860,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
123809
123860
|
return openBlock(), createElementBlock("div", {
|
|
123810
123861
|
key: url || index,
|
|
123811
123862
|
"data-index": index,
|
|
123812
|
-
class: normalizeClass(["draggable-item w-full relative", { "col-start-1 col-span-2 row-start-1 row-span-2": index === 0 }])
|
|
123863
|
+
class: normalizeClass(["draggable-item touch-none w-full aspect-square relative cursor-grab", { "col-start-1 col-span-2 row-start-1 row-span-2": index === 0 }])
|
|
123813
123864
|
}, [
|
|
123814
123865
|
createElementVNode("button", {
|
|
123815
123866
|
class: "relative flex justify-center items-center w-full h-full rounded-md outline outline-border group overflow-hidden focus-visible:outline-none focus-visible:ring-ring/80 focus-visible:ring-[3px] transition-all duration-200 cursor-grab active:cursor-grabbing",
|
|
@@ -123843,6 +123894,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
123843
123894
|
}),
|
|
123844
123895
|
createVNode(_sfc_main$20, {
|
|
123845
123896
|
sources: unref(sources),
|
|
123897
|
+
"initial-value": unref(items),
|
|
123846
123898
|
onSubmit: addMedia
|
|
123847
123899
|
}, {
|
|
123848
123900
|
default: withCtx(() => {
|
|
@@ -123857,14 +123909,14 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
123857
123909
|
];
|
|
123858
123910
|
}),
|
|
123859
123911
|
_: 1
|
|
123860
|
-
}, 8, ["sources"])
|
|
123861
|
-
],
|
|
123912
|
+
}, 8, ["sources", "initial-value"])
|
|
123913
|
+
], 2)
|
|
123862
123914
|
])
|
|
123863
123915
|
], 64);
|
|
123864
123916
|
};
|
|
123865
123917
|
}
|
|
123866
123918
|
});
|
|
123867
|
-
const MediaPickerItems = /* @__PURE__ */ _export_sfc$1(_sfc_main$1$, [["__scopeId", "data-v-
|
|
123919
|
+
const MediaPickerItems = /* @__PURE__ */ _export_sfc$1(_sfc_main$1$, [["__scopeId", "data-v-c4d0fb67"]]);
|
|
123868
123920
|
const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
123869
123921
|
__name: "MediaPicker",
|
|
123870
123922
|
props: {
|
|
@@ -123919,7 +123971,7 @@ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
|
|
|
123919
123971
|
const route = useRoute();
|
|
123920
123972
|
const props = __props;
|
|
123921
123973
|
const emits = __emit;
|
|
123922
|
-
const modelValue = useVModel$2(props, "modelValue", emits, {
|
|
123974
|
+
const modelValue = /* @__PURE__ */ useVModel$2(props, "modelValue", emits, {
|
|
123923
123975
|
passive: true
|
|
123924
123976
|
});
|
|
123925
123977
|
const projectId = route.params.slug;
|
|
@@ -124071,8 +124123,10 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
|
|
|
124071
124123
|
loop: { type: Boolean },
|
|
124072
124124
|
side: {},
|
|
124073
124125
|
sideOffset: { default: 8 },
|
|
124126
|
+
sideFlip: { type: Boolean },
|
|
124074
124127
|
align: { default: "start" },
|
|
124075
124128
|
alignOffset: { default: -4 },
|
|
124129
|
+
alignFlip: { type: Boolean },
|
|
124076
124130
|
avoidCollisions: { type: Boolean },
|
|
124077
124131
|
collisionBoundary: {},
|
|
124078
124132
|
collisionPadding: {},
|
|
@@ -124342,7 +124396,9 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
124342
124396
|
forceMount: { type: Boolean },
|
|
124343
124397
|
loop: { type: Boolean },
|
|
124344
124398
|
sideOffset: {},
|
|
124399
|
+
sideFlip: { type: Boolean },
|
|
124345
124400
|
alignOffset: {},
|
|
124401
|
+
alignFlip: { type: Boolean },
|
|
124346
124402
|
avoidCollisions: { type: Boolean },
|
|
124347
124403
|
collisionBoundary: {},
|
|
124348
124404
|
collisionPadding: {},
|
|
@@ -124480,6 +124536,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
124480
124536
|
formatOptions: {},
|
|
124481
124537
|
locale: {},
|
|
124482
124538
|
disabled: { type: Boolean },
|
|
124539
|
+
readonly: { type: Boolean },
|
|
124483
124540
|
disableWheelChange: { type: Boolean },
|
|
124484
124541
|
invertWheelChange: { type: Boolean },
|
|
124485
124542
|
id: {},
|
|
@@ -124594,7 +124651,11 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
|
124594
124651
|
return (_ctx, _cache2) => {
|
|
124595
124652
|
return openBlock(), createBlock(unref(NumberFieldInput), {
|
|
124596
124653
|
"data-slot": "input",
|
|
124597
|
-
class: normalizeClass(unref(cn$2)(
|
|
124654
|
+
class: normalizeClass(unref(cn$2)(
|
|
124655
|
+
"flex h-9 w-full rounded-md border border-input bg-background dark:bg-input/30 py-1 text-sm text-center shadow-xs transition-colors placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
|
|
124656
|
+
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
124657
|
+
props.class
|
|
124658
|
+
))
|
|
124598
124659
|
}, null, 8, ["class"]);
|
|
124599
124660
|
};
|
|
124600
124661
|
}
|
|
@@ -124827,8 +124888,10 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
124827
124888
|
forceMount: { type: Boolean },
|
|
124828
124889
|
side: {},
|
|
124829
124890
|
sideOffset: { default: 4 },
|
|
124891
|
+
sideFlip: { type: Boolean },
|
|
124830
124892
|
align: { default: "center" },
|
|
124831
124893
|
alignOffset: {},
|
|
124894
|
+
alignFlip: { type: Boolean },
|
|
124832
124895
|
avoidCollisions: { type: Boolean },
|
|
124833
124896
|
collisionBoundary: {},
|
|
124834
124897
|
collisionPadding: {},
|
|
@@ -125179,7 +125242,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
125179
125242
|
default: withCtx(() => [
|
|
125180
125243
|
createVNode(_component_DialogTitle, null, {
|
|
125181
125244
|
default: withCtx(() => _cache2[10] || (_cache2[10] = [
|
|
125182
|
-
createTextVNode("Query Builder")
|
|
125245
|
+
createTextVNode("Query Builder", -1)
|
|
125183
125246
|
])),
|
|
125184
125247
|
_: 1,
|
|
125185
125248
|
__: [10]
|
|
@@ -125198,7 +125261,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
125198
125261
|
class: "block text-sm font-medium text-muted-foreground mb-2"
|
|
125199
125262
|
}, {
|
|
125200
125263
|
default: withCtx(() => _cache2[11] || (_cache2[11] = [
|
|
125201
|
-
createTextVNode("Resource")
|
|
125264
|
+
createTextVNode("Resource", -1)
|
|
125202
125265
|
])),
|
|
125203
125266
|
_: 1,
|
|
125204
125267
|
__: [11]
|
|
@@ -125213,7 +125276,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
125213
125276
|
createElementVNode("div", _hoisted_4$1, [
|
|
125214
125277
|
createVNode(_component_Label, { class: "block text-sm font-medium text-muted-foreground mb-2" }, {
|
|
125215
125278
|
default: withCtx(() => _cache2[12] || (_cache2[12] = [
|
|
125216
|
-
createTextVNode("Filters")
|
|
125279
|
+
createTextVNode("Filters", -1)
|
|
125217
125280
|
])),
|
|
125218
125281
|
_: 1,
|
|
125219
125282
|
__: [12]
|
|
@@ -125277,7 +125340,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
125277
125340
|
title: "Remove filter"
|
|
125278
125341
|
}, {
|
|
125279
125342
|
default: withCtx(() => _cache2[13] || (_cache2[13] = [
|
|
125280
|
-
createTextVNode("✕")
|
|
125343
|
+
createTextVNode("✕", -1)
|
|
125281
125344
|
])),
|
|
125282
125345
|
_: 2,
|
|
125283
125346
|
__: [13]
|
|
@@ -125289,7 +125352,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
125289
125352
|
onClick: addFilter
|
|
125290
125353
|
}, {
|
|
125291
125354
|
default: withCtx(() => _cache2[14] || (_cache2[14] = [
|
|
125292
|
-
createTextVNode("+ Add Filter")
|
|
125355
|
+
createTextVNode("+ Add Filter", -1)
|
|
125293
125356
|
])),
|
|
125294
125357
|
_: 1,
|
|
125295
125358
|
__: [14]
|
|
@@ -125299,7 +125362,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
125299
125362
|
createElementVNode("div", null, [
|
|
125300
125363
|
createVNode(_component_Label, { class: "block text-sm font-medium text-muted-foreground mb-2" }, {
|
|
125301
125364
|
default: withCtx(() => _cache2[15] || (_cache2[15] = [
|
|
125302
|
-
createTextVNode("Sort")
|
|
125365
|
+
createTextVNode("Sort", -1)
|
|
125303
125366
|
])),
|
|
125304
125367
|
_: 1,
|
|
125305
125368
|
__: [15]
|
|
@@ -125333,14 +125396,14 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
125333
125396
|
default: withCtx(() => [
|
|
125334
125397
|
createVNode(_component_SelectItem, { value: "asc" }, {
|
|
125335
125398
|
default: withCtx(() => _cache2[16] || (_cache2[16] = [
|
|
125336
|
-
createTextVNode("ASC")
|
|
125399
|
+
createTextVNode("ASC", -1)
|
|
125337
125400
|
])),
|
|
125338
125401
|
_: 1,
|
|
125339
125402
|
__: [16]
|
|
125340
125403
|
}),
|
|
125341
125404
|
createVNode(_component_SelectItem, { value: "desc" }, {
|
|
125342
125405
|
default: withCtx(() => _cache2[17] || (_cache2[17] = [
|
|
125343
|
-
createTextVNode("DESC")
|
|
125406
|
+
createTextVNode("DESC", -1)
|
|
125344
125407
|
])),
|
|
125345
125408
|
_: 1,
|
|
125346
125409
|
__: [17]
|
|
@@ -125360,7 +125423,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
125360
125423
|
title: "Remove sort"
|
|
125361
125424
|
}, {
|
|
125362
125425
|
default: withCtx(() => _cache2[18] || (_cache2[18] = [
|
|
125363
|
-
createTextVNode("✕")
|
|
125426
|
+
createTextVNode("✕", -1)
|
|
125364
125427
|
])),
|
|
125365
125428
|
_: 2,
|
|
125366
125429
|
__: [18]
|
|
@@ -125372,7 +125435,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
125372
125435
|
onClick: addSort
|
|
125373
125436
|
}, {
|
|
125374
125437
|
default: withCtx(() => _cache2[19] || (_cache2[19] = [
|
|
125375
|
-
createTextVNode("+ Add Sort")
|
|
125438
|
+
createTextVNode("+ Add Sort", -1)
|
|
125376
125439
|
])),
|
|
125377
125440
|
_: 1,
|
|
125378
125441
|
__: [19]
|
|
@@ -125412,7 +125475,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
125412
125475
|
createElementVNode("div", null, [
|
|
125413
125476
|
createVNode(_component_Label, { for: "limit" }, {
|
|
125414
125477
|
default: withCtx(() => _cache2[22] || (_cache2[22] = [
|
|
125415
|
-
createTextVNode("Limit")
|
|
125478
|
+
createTextVNode("Limit", -1)
|
|
125416
125479
|
])),
|
|
125417
125480
|
_: 1,
|
|
125418
125481
|
__: [22]
|
|
@@ -125427,7 +125490,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
125427
125490
|
createElementVNode("div", null, [
|
|
125428
125491
|
createVNode(_component_Label, { for: "offset" }, {
|
|
125429
125492
|
default: withCtx(() => _cache2[23] || (_cache2[23] = [
|
|
125430
|
-
createTextVNode("Offset")
|
|
125493
|
+
createTextVNode("Offset", -1)
|
|
125431
125494
|
])),
|
|
125432
125495
|
_: 1,
|
|
125433
125496
|
__: [23]
|
|
@@ -125442,7 +125505,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
125442
125505
|
createElementVNode("div", null, [
|
|
125443
125506
|
createVNode(_component_Label, { for: "startAt" }, {
|
|
125444
125507
|
default: withCtx(() => _cache2[24] || (_cache2[24] = [
|
|
125445
|
-
createTextVNode("StartAt")
|
|
125508
|
+
createTextVNode("StartAt", -1)
|
|
125446
125509
|
])),
|
|
125447
125510
|
_: 1,
|
|
125448
125511
|
__: [24]
|
|
@@ -125456,7 +125519,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
125456
125519
|
createElementVNode("div", null, [
|
|
125457
125520
|
createVNode(_component_Label, { for: "endAt" }, {
|
|
125458
125521
|
default: withCtx(() => _cache2[25] || (_cache2[25] = [
|
|
125459
|
-
createTextVNode("EndAt")
|
|
125522
|
+
createTextVNode("EndAt", -1)
|
|
125460
125523
|
])),
|
|
125461
125524
|
_: 1,
|
|
125462
125525
|
__: [25]
|
|
@@ -125470,7 +125533,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
125470
125533
|
((_a2 = integration.value) == null ? void 0 : _a2.type) !== "FIREBASE" ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
125471
125534
|
createVNode(_component_Label, { for: "groupBy" }, {
|
|
125472
125535
|
default: withCtx(() => _cache2[26] || (_cache2[26] = [
|
|
125473
|
-
createTextVNode("Group By")
|
|
125536
|
+
createTextVNode("Group By", -1)
|
|
125474
125537
|
])),
|
|
125475
125538
|
_: 1,
|
|
125476
125539
|
__: [26]
|
|
@@ -125489,7 +125552,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
125489
125552
|
}, null, 8, ["modelValue"]),
|
|
125490
125553
|
createVNode(_component_Label, { for: "distinct" }, {
|
|
125491
125554
|
default: withCtx(() => _cache2[27] || (_cache2[27] = [
|
|
125492
|
-
createTextVNode("DISTINCT")
|
|
125555
|
+
createTextVNode("DISTINCT", -1)
|
|
125493
125556
|
])),
|
|
125494
125557
|
_: 1,
|
|
125495
125558
|
__: [27]
|
|
@@ -125507,7 +125570,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
125507
125570
|
createElementVNode("div", _hoisted_12, [
|
|
125508
125571
|
createVNode(_component_Button, { onClick: previewQuery }, {
|
|
125509
125572
|
default: withCtx(() => _cache2[28] || (_cache2[28] = [
|
|
125510
|
-
createTextVNode("Preview Query")
|
|
125573
|
+
createTextVNode("Preview Query", -1)
|
|
125511
125574
|
])),
|
|
125512
125575
|
_: 1,
|
|
125513
125576
|
__: [28]
|
|
@@ -125517,7 +125580,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
125517
125580
|
onClick: runQuery
|
|
125518
125581
|
}, {
|
|
125519
125582
|
default: withCtx(() => _cache2[29] || (_cache2[29] = [
|
|
125520
|
-
createTextVNode("Run Query")
|
|
125583
|
+
createTextVNode("Run Query", -1)
|
|
125521
125584
|
])),
|
|
125522
125585
|
_: 1,
|
|
125523
125586
|
__: [29]
|
|
@@ -125534,7 +125597,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
125534
125597
|
}, [
|
|
125535
125598
|
createVNode(_component_Button, { size: "sm" }, {
|
|
125536
125599
|
default: withCtx(() => [
|
|
125537
|
-
_cache2[30] || (_cache2[30] = createTextVNode("Create index in Firebase Console ")),
|
|
125600
|
+
_cache2[30] || (_cache2[30] = createTextVNode("Create index in Firebase Console ", -1)),
|
|
125538
125601
|
createVNode(unref(ExternalLink), { class: "size-3.5 ml-0.5" })
|
|
125539
125602
|
]),
|
|
125540
125603
|
_: 1,
|
|
@@ -125551,14 +125614,14 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
125551
125614
|
onClick: closeDialog
|
|
125552
125615
|
}, {
|
|
125553
125616
|
default: withCtx(() => _cache2[31] || (_cache2[31] = [
|
|
125554
|
-
createTextVNode("Close")
|
|
125617
|
+
createTextVNode("Close", -1)
|
|
125555
125618
|
])),
|
|
125556
125619
|
_: 1,
|
|
125557
125620
|
__: [31]
|
|
125558
125621
|
}),
|
|
125559
125622
|
createVNode(_component_Button, { onClick: saveQuery }, {
|
|
125560
125623
|
default: withCtx(() => _cache2[32] || (_cache2[32] = [
|
|
125561
|
-
createTextVNode("Save Query")
|
|
125624
|
+
createTextVNode("Save Query", -1)
|
|
125562
125625
|
])),
|
|
125563
125626
|
_: 1,
|
|
125564
125627
|
__: [32]
|
|
@@ -126088,6 +126151,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
126088
126151
|
hitAreaMargins: {},
|
|
126089
126152
|
tabindex: {},
|
|
126090
126153
|
disabled: { type: Boolean },
|
|
126154
|
+
nonce: {},
|
|
126091
126155
|
asChild: { type: Boolean },
|
|
126092
126156
|
as: {},
|
|
126093
126157
|
class: {},
|
|
@@ -126203,7 +126267,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
126203
126267
|
const { getProjectIntegrations } = useIntegrations();
|
|
126204
126268
|
const props = __props;
|
|
126205
126269
|
const emits = __emit;
|
|
126206
|
-
const modelValue = useVModel$2(props, "modelValue", emits, {
|
|
126270
|
+
const modelValue = /* @__PURE__ */ useVModel$2(props, "modelValue", emits, {
|
|
126207
126271
|
passive: true
|
|
126208
126272
|
});
|
|
126209
126273
|
const projectId = route.params.slug;
|
|
@@ -126674,8 +126738,10 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
126674
126738
|
bodyLock: { type: Boolean },
|
|
126675
126739
|
side: {},
|
|
126676
126740
|
sideOffset: {},
|
|
126741
|
+
sideFlip: { type: Boolean },
|
|
126677
126742
|
align: {},
|
|
126678
126743
|
alignOffset: {},
|
|
126744
|
+
alignFlip: { type: Boolean },
|
|
126679
126745
|
avoidCollisions: { type: Boolean },
|
|
126680
126746
|
collisionBoundary: {},
|
|
126681
126747
|
collisionPadding: {},
|
|
@@ -127306,14 +127372,14 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
127306
127372
|
default: withCtx(() => [
|
|
127307
127373
|
createVNode(_sfc_main$P, null, {
|
|
127308
127374
|
default: withCtx(() => _cache2[2] || (_cache2[2] = [
|
|
127309
|
-
createTextVNode("Sidebar")
|
|
127375
|
+
createTextVNode("Sidebar", -1)
|
|
127310
127376
|
])),
|
|
127311
127377
|
_: 1,
|
|
127312
127378
|
__: [2]
|
|
127313
127379
|
}),
|
|
127314
127380
|
createVNode(_sfc_main$S, null, {
|
|
127315
127381
|
default: withCtx(() => _cache2[3] || (_cache2[3] = [
|
|
127316
|
-
createTextVNode("Displays the mobile sidebar.")
|
|
127382
|
+
createTextVNode("Displays the mobile sidebar.", -1)
|
|
127317
127383
|
])),
|
|
127318
127384
|
_: 1,
|
|
127319
127385
|
__: [3]
|
|
@@ -128005,7 +128071,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
128005
128071
|
const emits = __emit;
|
|
128006
128072
|
const isMobile = useMediaQuery("(max-width: 767px)");
|
|
128007
128073
|
const openMobile = ref(false);
|
|
128008
|
-
const open = useVModel$2(props, "open", emits, {
|
|
128074
|
+
const open = /* @__PURE__ */ useVModel$2(props, "open", emits, {
|
|
128009
128075
|
defaultValue: props.defaultOpen ?? false,
|
|
128010
128076
|
passive: props.open === void 0
|
|
128011
128077
|
});
|
|
@@ -128220,6 +128286,177 @@ const __vite_glob_0_66 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
128220
128286
|
__proto__: null,
|
|
128221
128287
|
Toaster: _sfc_main$k
|
|
128222
128288
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
128289
|
+
const stepsOrder = [
|
|
128290
|
+
"setup",
|
|
128291
|
+
// Compute
|
|
128292
|
+
"read",
|
|
128293
|
+
// Read
|
|
128294
|
+
"resolveKeyframes",
|
|
128295
|
+
// Write/Read/Write/Read
|
|
128296
|
+
"preUpdate",
|
|
128297
|
+
// Compute
|
|
128298
|
+
"update",
|
|
128299
|
+
// Compute
|
|
128300
|
+
"preRender",
|
|
128301
|
+
// Compute
|
|
128302
|
+
"render",
|
|
128303
|
+
// Write
|
|
128304
|
+
"postRender"
|
|
128305
|
+
// Compute
|
|
128306
|
+
];
|
|
128307
|
+
function createRenderStep(runNextFrame, stepName) {
|
|
128308
|
+
let thisFrame = /* @__PURE__ */ new Set();
|
|
128309
|
+
let nextFrame = /* @__PURE__ */ new Set();
|
|
128310
|
+
let isProcessing = false;
|
|
128311
|
+
let flushNextFrame = false;
|
|
128312
|
+
const toKeepAlive = /* @__PURE__ */ new WeakSet();
|
|
128313
|
+
let latestFrameData = {
|
|
128314
|
+
delta: 0,
|
|
128315
|
+
timestamp: 0,
|
|
128316
|
+
isProcessing: false
|
|
128317
|
+
};
|
|
128318
|
+
function triggerCallback(callback) {
|
|
128319
|
+
if (toKeepAlive.has(callback)) {
|
|
128320
|
+
step.schedule(callback);
|
|
128321
|
+
runNextFrame();
|
|
128322
|
+
}
|
|
128323
|
+
callback(latestFrameData);
|
|
128324
|
+
}
|
|
128325
|
+
const step = {
|
|
128326
|
+
/**
|
|
128327
|
+
* Schedule a process to run on the next frame.
|
|
128328
|
+
*/
|
|
128329
|
+
schedule: (callback, keepAlive = false, immediate = false) => {
|
|
128330
|
+
const addToCurrentFrame = immediate && isProcessing;
|
|
128331
|
+
const queue = addToCurrentFrame ? thisFrame : nextFrame;
|
|
128332
|
+
if (keepAlive)
|
|
128333
|
+
toKeepAlive.add(callback);
|
|
128334
|
+
if (!queue.has(callback))
|
|
128335
|
+
queue.add(callback);
|
|
128336
|
+
return callback;
|
|
128337
|
+
},
|
|
128338
|
+
/**
|
|
128339
|
+
* Cancel the provided callback from running on the next frame.
|
|
128340
|
+
*/
|
|
128341
|
+
cancel: (callback) => {
|
|
128342
|
+
nextFrame.delete(callback);
|
|
128343
|
+
toKeepAlive.delete(callback);
|
|
128344
|
+
},
|
|
128345
|
+
/**
|
|
128346
|
+
* Execute all schedule callbacks.
|
|
128347
|
+
*/
|
|
128348
|
+
process: (frameData2) => {
|
|
128349
|
+
latestFrameData = frameData2;
|
|
128350
|
+
if (isProcessing) {
|
|
128351
|
+
flushNextFrame = true;
|
|
128352
|
+
return;
|
|
128353
|
+
}
|
|
128354
|
+
isProcessing = true;
|
|
128355
|
+
[thisFrame, nextFrame] = [nextFrame, thisFrame];
|
|
128356
|
+
thisFrame.forEach(triggerCallback);
|
|
128357
|
+
thisFrame.clear();
|
|
128358
|
+
isProcessing = false;
|
|
128359
|
+
if (flushNextFrame) {
|
|
128360
|
+
flushNextFrame = false;
|
|
128361
|
+
step.process(frameData2);
|
|
128362
|
+
}
|
|
128363
|
+
}
|
|
128364
|
+
};
|
|
128365
|
+
return step;
|
|
128366
|
+
}
|
|
128367
|
+
const MotionGlobalConfig = {};
|
|
128368
|
+
const maxElapsed = 40;
|
|
128369
|
+
function createRenderBatcher(scheduleNextBatch, allowKeepAlive) {
|
|
128370
|
+
let runNextFrame = false;
|
|
128371
|
+
let useDefaultElapsed = true;
|
|
128372
|
+
const state = {
|
|
128373
|
+
delta: 0,
|
|
128374
|
+
timestamp: 0,
|
|
128375
|
+
isProcessing: false
|
|
128376
|
+
};
|
|
128377
|
+
const flagRunNextFrame = () => runNextFrame = true;
|
|
128378
|
+
const steps = stepsOrder.reduce((acc, key) => {
|
|
128379
|
+
acc[key] = createRenderStep(flagRunNextFrame);
|
|
128380
|
+
return acc;
|
|
128381
|
+
}, {});
|
|
128382
|
+
const { setup, read, resolveKeyframes, preUpdate, update: update2, preRender, render: render2, postRender } = steps;
|
|
128383
|
+
const processBatch = () => {
|
|
128384
|
+
const timestamp = MotionGlobalConfig.useManualTiming ? state.timestamp : performance.now();
|
|
128385
|
+
runNextFrame = false;
|
|
128386
|
+
if (!MotionGlobalConfig.useManualTiming) {
|
|
128387
|
+
state.delta = useDefaultElapsed ? 1e3 / 60 : Math.max(Math.min(timestamp - state.timestamp, maxElapsed), 1);
|
|
128388
|
+
}
|
|
128389
|
+
state.timestamp = timestamp;
|
|
128390
|
+
state.isProcessing = true;
|
|
128391
|
+
setup.process(state);
|
|
128392
|
+
read.process(state);
|
|
128393
|
+
resolveKeyframes.process(state);
|
|
128394
|
+
preUpdate.process(state);
|
|
128395
|
+
update2.process(state);
|
|
128396
|
+
preRender.process(state);
|
|
128397
|
+
render2.process(state);
|
|
128398
|
+
postRender.process(state);
|
|
128399
|
+
state.isProcessing = false;
|
|
128400
|
+
if (runNextFrame && allowKeepAlive) {
|
|
128401
|
+
useDefaultElapsed = false;
|
|
128402
|
+
scheduleNextBatch(processBatch);
|
|
128403
|
+
}
|
|
128404
|
+
};
|
|
128405
|
+
const wake2 = () => {
|
|
128406
|
+
runNextFrame = true;
|
|
128407
|
+
useDefaultElapsed = true;
|
|
128408
|
+
if (!state.isProcessing) {
|
|
128409
|
+
scheduleNextBatch(processBatch);
|
|
128410
|
+
}
|
|
128411
|
+
};
|
|
128412
|
+
const schedule2 = stepsOrder.reduce((acc, key) => {
|
|
128413
|
+
const step = steps[key];
|
|
128414
|
+
acc[key] = (process2, keepAlive = false, immediate = false) => {
|
|
128415
|
+
if (!runNextFrame)
|
|
128416
|
+
wake2();
|
|
128417
|
+
return step.schedule(process2, keepAlive, immediate);
|
|
128418
|
+
};
|
|
128419
|
+
return acc;
|
|
128420
|
+
}, {});
|
|
128421
|
+
const cancel = (process2) => {
|
|
128422
|
+
for (let i = 0; i < stepsOrder.length; i++) {
|
|
128423
|
+
steps[stepsOrder[i]].cancel(process2);
|
|
128424
|
+
}
|
|
128425
|
+
};
|
|
128426
|
+
return { schedule: schedule2, cancel, state, steps };
|
|
128427
|
+
}
|
|
128428
|
+
const noop = /* @__NO_SIDE_EFFECTS__ */ (any) => any;
|
|
128429
|
+
const { schedule: frame, cancel: cancelFrame, state: frameData, steps: frameSteps } = /* @__PURE__ */ createRenderBatcher(typeof requestAnimationFrame !== "undefined" ? requestAnimationFrame : noop, true);
|
|
128430
|
+
let now;
|
|
128431
|
+
function clearTime() {
|
|
128432
|
+
now = void 0;
|
|
128433
|
+
}
|
|
128434
|
+
const time = {
|
|
128435
|
+
now: () => {
|
|
128436
|
+
if (now === void 0) {
|
|
128437
|
+
time.set(frameData.isProcessing || MotionGlobalConfig.useManualTiming ? frameData.timestamp : performance.now());
|
|
128438
|
+
}
|
|
128439
|
+
return now;
|
|
128440
|
+
},
|
|
128441
|
+
set: (newTime) => {
|
|
128442
|
+
now = newTime;
|
|
128443
|
+
queueMicrotask(clearTime);
|
|
128444
|
+
}
|
|
128445
|
+
};
|
|
128446
|
+
const secondsToMilliseconds = /* @__NO_SIDE_EFFECTS__ */ (seconds) => seconds * 1e3;
|
|
128447
|
+
const millisecondsToSeconds = /* @__NO_SIDE_EFFECTS__ */ (milliseconds) => milliseconds / 1e3;
|
|
128448
|
+
function delay(callback, timeout2) {
|
|
128449
|
+
const start2 = time.now();
|
|
128450
|
+
const checkElapsed = ({ timestamp }) => {
|
|
128451
|
+
const elapsed = timestamp - start2;
|
|
128452
|
+
if (elapsed >= timeout2) {
|
|
128453
|
+
cancelFrame(checkElapsed);
|
|
128454
|
+
callback(elapsed - timeout2);
|
|
128455
|
+
}
|
|
128456
|
+
};
|
|
128457
|
+
frame.setup(checkElapsed, true);
|
|
128458
|
+
return () => cancelFrame(checkElapsed);
|
|
128459
|
+
}
|
|
128223
128460
|
const checkStringStartsWith = (token) => (key) => typeof key === "string" && key.startsWith(token);
|
|
128224
128461
|
const isCSSVariableName = /* @__PURE__ */ checkStringStartsWith("--");
|
|
128225
128462
|
const startsAsVariableToken = /* @__PURE__ */ checkStringStartsWith("var(--");
|
|
@@ -128448,147 +128685,6 @@ const [injectAnimatePresence, provideAnimatePresence] = createContext("AnimatePr
|
|
|
128448
128685
|
function isVariantLabels(value) {
|
|
128449
128686
|
return typeof value === "string" || value === false || Array.isArray(value);
|
|
128450
128687
|
}
|
|
128451
|
-
const noop = /* @__NO_SIDE_EFFECTS__ */ (any) => any;
|
|
128452
|
-
const stepsOrder = [
|
|
128453
|
-
"setup",
|
|
128454
|
-
// Compute
|
|
128455
|
-
"read",
|
|
128456
|
-
// Read
|
|
128457
|
-
"resolveKeyframes",
|
|
128458
|
-
// Write/Read/Write/Read
|
|
128459
|
-
"preUpdate",
|
|
128460
|
-
// Compute
|
|
128461
|
-
"update",
|
|
128462
|
-
// Compute
|
|
128463
|
-
"preRender",
|
|
128464
|
-
// Compute
|
|
128465
|
-
"render",
|
|
128466
|
-
// Write
|
|
128467
|
-
"postRender"
|
|
128468
|
-
// Compute
|
|
128469
|
-
];
|
|
128470
|
-
function createRenderStep(runNextFrame, stepName) {
|
|
128471
|
-
let thisFrame = /* @__PURE__ */ new Set();
|
|
128472
|
-
let nextFrame = /* @__PURE__ */ new Set();
|
|
128473
|
-
let isProcessing = false;
|
|
128474
|
-
let flushNextFrame = false;
|
|
128475
|
-
const toKeepAlive = /* @__PURE__ */ new WeakSet();
|
|
128476
|
-
let latestFrameData = {
|
|
128477
|
-
delta: 0,
|
|
128478
|
-
timestamp: 0,
|
|
128479
|
-
isProcessing: false
|
|
128480
|
-
};
|
|
128481
|
-
function triggerCallback(callback) {
|
|
128482
|
-
if (toKeepAlive.has(callback)) {
|
|
128483
|
-
step.schedule(callback);
|
|
128484
|
-
runNextFrame();
|
|
128485
|
-
}
|
|
128486
|
-
callback(latestFrameData);
|
|
128487
|
-
}
|
|
128488
|
-
const step = {
|
|
128489
|
-
/**
|
|
128490
|
-
* Schedule a process to run on the next frame.
|
|
128491
|
-
*/
|
|
128492
|
-
schedule: (callback, keepAlive = false, immediate = false) => {
|
|
128493
|
-
const addToCurrentFrame = immediate && isProcessing;
|
|
128494
|
-
const queue = addToCurrentFrame ? thisFrame : nextFrame;
|
|
128495
|
-
if (keepAlive)
|
|
128496
|
-
toKeepAlive.add(callback);
|
|
128497
|
-
if (!queue.has(callback))
|
|
128498
|
-
queue.add(callback);
|
|
128499
|
-
return callback;
|
|
128500
|
-
},
|
|
128501
|
-
/**
|
|
128502
|
-
* Cancel the provided callback from running on the next frame.
|
|
128503
|
-
*/
|
|
128504
|
-
cancel: (callback) => {
|
|
128505
|
-
nextFrame.delete(callback);
|
|
128506
|
-
toKeepAlive.delete(callback);
|
|
128507
|
-
},
|
|
128508
|
-
/**
|
|
128509
|
-
* Execute all schedule callbacks.
|
|
128510
|
-
*/
|
|
128511
|
-
process: (frameData2) => {
|
|
128512
|
-
latestFrameData = frameData2;
|
|
128513
|
-
if (isProcessing) {
|
|
128514
|
-
flushNextFrame = true;
|
|
128515
|
-
return;
|
|
128516
|
-
}
|
|
128517
|
-
isProcessing = true;
|
|
128518
|
-
[thisFrame, nextFrame] = [nextFrame, thisFrame];
|
|
128519
|
-
thisFrame.forEach(triggerCallback);
|
|
128520
|
-
thisFrame.clear();
|
|
128521
|
-
isProcessing = false;
|
|
128522
|
-
if (flushNextFrame) {
|
|
128523
|
-
flushNextFrame = false;
|
|
128524
|
-
step.process(frameData2);
|
|
128525
|
-
}
|
|
128526
|
-
}
|
|
128527
|
-
};
|
|
128528
|
-
return step;
|
|
128529
|
-
}
|
|
128530
|
-
const MotionGlobalConfig = {};
|
|
128531
|
-
const maxElapsed = 40;
|
|
128532
|
-
function createRenderBatcher(scheduleNextBatch, allowKeepAlive) {
|
|
128533
|
-
let runNextFrame = false;
|
|
128534
|
-
let useDefaultElapsed = true;
|
|
128535
|
-
const state = {
|
|
128536
|
-
delta: 0,
|
|
128537
|
-
timestamp: 0,
|
|
128538
|
-
isProcessing: false
|
|
128539
|
-
};
|
|
128540
|
-
const flagRunNextFrame = () => runNextFrame = true;
|
|
128541
|
-
const steps = stepsOrder.reduce((acc, key) => {
|
|
128542
|
-
acc[key] = createRenderStep(flagRunNextFrame);
|
|
128543
|
-
return acc;
|
|
128544
|
-
}, {});
|
|
128545
|
-
const { setup, read, resolveKeyframes, preUpdate, update: update2, preRender, render: render2, postRender } = steps;
|
|
128546
|
-
const processBatch = () => {
|
|
128547
|
-
const timestamp = MotionGlobalConfig.useManualTiming ? state.timestamp : performance.now();
|
|
128548
|
-
runNextFrame = false;
|
|
128549
|
-
if (!MotionGlobalConfig.useManualTiming) {
|
|
128550
|
-
state.delta = useDefaultElapsed ? 1e3 / 60 : Math.max(Math.min(timestamp - state.timestamp, maxElapsed), 1);
|
|
128551
|
-
}
|
|
128552
|
-
state.timestamp = timestamp;
|
|
128553
|
-
state.isProcessing = true;
|
|
128554
|
-
setup.process(state);
|
|
128555
|
-
read.process(state);
|
|
128556
|
-
resolveKeyframes.process(state);
|
|
128557
|
-
preUpdate.process(state);
|
|
128558
|
-
update2.process(state);
|
|
128559
|
-
preRender.process(state);
|
|
128560
|
-
render2.process(state);
|
|
128561
|
-
postRender.process(state);
|
|
128562
|
-
state.isProcessing = false;
|
|
128563
|
-
if (runNextFrame && allowKeepAlive) {
|
|
128564
|
-
useDefaultElapsed = false;
|
|
128565
|
-
scheduleNextBatch(processBatch);
|
|
128566
|
-
}
|
|
128567
|
-
};
|
|
128568
|
-
const wake2 = () => {
|
|
128569
|
-
runNextFrame = true;
|
|
128570
|
-
useDefaultElapsed = true;
|
|
128571
|
-
if (!state.isProcessing) {
|
|
128572
|
-
scheduleNextBatch(processBatch);
|
|
128573
|
-
}
|
|
128574
|
-
};
|
|
128575
|
-
const schedule2 = stepsOrder.reduce((acc, key) => {
|
|
128576
|
-
const step = steps[key];
|
|
128577
|
-
acc[key] = (process2, keepAlive = false, immediate = false) => {
|
|
128578
|
-
if (!runNextFrame)
|
|
128579
|
-
wake2();
|
|
128580
|
-
return step.schedule(process2, keepAlive, immediate);
|
|
128581
|
-
};
|
|
128582
|
-
return acc;
|
|
128583
|
-
}, {});
|
|
128584
|
-
const cancel = (process2) => {
|
|
128585
|
-
for (let i = 0; i < stepsOrder.length; i++) {
|
|
128586
|
-
steps[stepsOrder[i]].cancel(process2);
|
|
128587
|
-
}
|
|
128588
|
-
};
|
|
128589
|
-
return { schedule: schedule2, cancel, state, steps };
|
|
128590
|
-
}
|
|
128591
|
-
const { schedule: frame, cancel: cancelFrame, state: frameData, steps: frameSteps } = /* @__PURE__ */ createRenderBatcher(typeof requestAnimationFrame !== "undefined" ? requestAnimationFrame : noop, true);
|
|
128592
128688
|
const mountedStates = /* @__PURE__ */ new WeakMap();
|
|
128593
128689
|
let id$1 = 0;
|
|
128594
128690
|
const mountedLayoutIds = /* @__PURE__ */ new Set();
|
|
@@ -128956,8 +129052,6 @@ function convertSvgStyleToAttributes(keyframes2) {
|
|
|
128956
129052
|
style: styleProps
|
|
128957
129053
|
};
|
|
128958
129054
|
}
|
|
128959
|
-
typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
|
|
128960
|
-
const isDef = (val) => typeof val !== "undefined";
|
|
128961
129055
|
function convertBoundingBoxToBox$1({ top: top2, left, right, bottom }) {
|
|
128962
129056
|
return {
|
|
128963
129057
|
x: { min: left, max: right },
|
|
@@ -129058,22 +129152,6 @@ function isControllingVariants(props) {
|
|
|
129058
129152
|
function isVariantNode(props) {
|
|
129059
129153
|
return Boolean(isControllingVariants(props) || props.variants);
|
|
129060
129154
|
}
|
|
129061
|
-
let now;
|
|
129062
|
-
function clearTime() {
|
|
129063
|
-
now = void 0;
|
|
129064
|
-
}
|
|
129065
|
-
const time = {
|
|
129066
|
-
now: () => {
|
|
129067
|
-
if (now === void 0) {
|
|
129068
|
-
time.set(frameData.isProcessing || MotionGlobalConfig.useManualTiming ? frameData.timestamp : performance.now());
|
|
129069
|
-
}
|
|
129070
|
-
return now;
|
|
129071
|
-
},
|
|
129072
|
-
set: (newTime) => {
|
|
129073
|
-
now = newTime;
|
|
129074
|
-
queueMicrotask(clearTime);
|
|
129075
|
-
}
|
|
129076
|
-
};
|
|
129077
129155
|
const warned = /* @__PURE__ */ new Set();
|
|
129078
129156
|
function warnOnce(condition, message, element) {
|
|
129079
129157
|
if (condition || warned.has(message))
|
|
@@ -130954,8 +131032,6 @@ function calcGeneratorDuration(generator) {
|
|
|
130954
131032
|
}
|
|
130955
131033
|
return duration >= maxGeneratorDuration ? Infinity : duration;
|
|
130956
131034
|
}
|
|
130957
|
-
const secondsToMilliseconds = /* @__NO_SIDE_EFFECTS__ */ (seconds) => seconds * 1e3;
|
|
130958
|
-
const millisecondsToSeconds = /* @__NO_SIDE_EFFECTS__ */ (milliseconds) => milliseconds / 1e3;
|
|
130959
131035
|
function createGeneratorEasing(options, scale2 = 100, createGenerator) {
|
|
130960
131036
|
const generator = createGenerator({ ...options, keyframes: [0, scale2] });
|
|
130961
131037
|
const duration = Math.min(calcGeneratorDuration(generator), maxGeneratorDuration);
|
|
@@ -132984,7 +133060,7 @@ class AnimationFeature extends Feature {
|
|
|
132984
133060
|
if (!hasChanged(prevTarget[key], this.state.target[key]))
|
|
132985
133061
|
return;
|
|
132986
133062
|
(_a2 = this.state.baseTarget)[key] ?? (_a2[key] = style.get(this.state.element, key));
|
|
132987
|
-
const keyValue = this.state.target[key] === "none" && isDef(transformResetValue[key]) ? transformResetValue[key] : this.state.target[key];
|
|
133063
|
+
const keyValue = this.state.target[key] === "none" && isDef$2(transformResetValue[key]) ? transformResetValue[key] : this.state.target[key];
|
|
132988
133064
|
factories.push(() => {
|
|
132989
133065
|
var _a22;
|
|
132990
133066
|
return animate(
|
|
@@ -133013,7 +133089,7 @@ class AnimationFeature extends Feature {
|
|
|
133013
133089
|
if (!this.state.activeStates[name2] || isAnimationControls$1(this.state.options[name2]))
|
|
133014
133090
|
return;
|
|
133015
133091
|
const definition = this.state.options[name2];
|
|
133016
|
-
let resolvedVariant = isDef(definition) ? resolveVariant$1(definition, variants, customValue) : void 0;
|
|
133092
|
+
let resolvedVariant = isDef$2(definition) ? resolveVariant$1(definition, variants, customValue) : void 0;
|
|
133017
133093
|
if (this.state.visualElement.isVariantNode) {
|
|
133018
133094
|
const controlVariant = resolveVariant$1(this.state.context[name2], variants, customValue);
|
|
133019
133095
|
resolvedVariant = controlVariant ? Object.assign(controlVariant || {}, resolvedVariant) : variant;
|
|
@@ -133442,18 +133518,6 @@ class FlatTree {
|
|
|
133442
133518
|
this.children.forEach(callback);
|
|
133443
133519
|
}
|
|
133444
133520
|
}
|
|
133445
|
-
function delay(callback, timeout2) {
|
|
133446
|
-
const start2 = time.now();
|
|
133447
|
-
const checkElapsed = ({ timestamp }) => {
|
|
133448
|
-
const elapsed = timestamp - start2;
|
|
133449
|
-
if (elapsed >= timeout2) {
|
|
133450
|
-
cancelFrame(checkElapsed);
|
|
133451
|
-
callback(elapsed - timeout2);
|
|
133452
|
-
}
|
|
133453
|
-
};
|
|
133454
|
-
frame.setup(checkElapsed, true);
|
|
133455
|
-
return () => cancelFrame(checkElapsed);
|
|
133456
|
-
}
|
|
133457
133521
|
function resolveMotionValue(value) {
|
|
133458
133522
|
return isMotionValue(value) ? value.get() : value;
|
|
133459
133523
|
}
|
|
@@ -135986,7 +136050,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
135986
136050
|
transition: {},
|
|
135987
136051
|
reduceMotion: {},
|
|
135988
136052
|
reducedMotion: { default: ({ reduceMotion }) => {
|
|
135989
|
-
if (isDef(reduceMotion)) {
|
|
136053
|
+
if (isDef$2(reduceMotion)) {
|
|
135990
136054
|
warning$1(false, "`reduceMotion` is deprecated. Use `reducedMotion` instead.");
|
|
135991
136055
|
return reduceMotion;
|
|
135992
136056
|
}
|
|
@@ -136011,8 +136075,11 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
136011
136075
|
}
|
|
136012
136076
|
});
|
|
136013
136077
|
function getMotionElement(el) {
|
|
136014
|
-
if (
|
|
136078
|
+
if (!el)
|
|
136079
|
+
return void 0;
|
|
136080
|
+
if (el.nodeType === 3 || el.nodeType === 8) {
|
|
136015
136081
|
return getMotionElement(el.nextSibling);
|
|
136082
|
+
}
|
|
136016
136083
|
return el;
|
|
136017
136084
|
}
|
|
136018
136085
|
const [useLazyMotionContext, lazyMotionContextProvider] = createContext("LazyMotionContext");
|
|
@@ -136976,7 +137043,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
136976
137043
|
const tailwindColors = ["yellow", "green", "cyan", "blue", "purple", "pink", "red"];
|
|
136977
137044
|
const props = __props;
|
|
136978
137045
|
const emits = __emit;
|
|
136979
|
-
const modelValue = useVModel$2(props, "modelValue", emits, {
|
|
137046
|
+
const modelValue = /* @__PURE__ */ useVModel$2(props, "modelValue", emits, {
|
|
136980
137047
|
passive: true,
|
|
136981
137048
|
defaultValue: props.defaultValue ?? ""
|
|
136982
137049
|
});
|
|
@@ -137053,7 +137120,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
137053
137120
|
setup(__props, { emit: __emit }) {
|
|
137054
137121
|
const props = __props;
|
|
137055
137122
|
const emits = __emit;
|
|
137056
|
-
const modelValue = useVModel$2(props, "modelValue", emits, {
|
|
137123
|
+
const modelValue = /* @__PURE__ */ useVModel$2(props, "modelValue", emits, {
|
|
137057
137124
|
passive: true,
|
|
137058
137125
|
defaultValue: props.defaultValue
|
|
137059
137126
|
});
|