sprintify-ui 0.0.105 → 0.0.106
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/sprintify-ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import cs from "axios";
|
|
2
|
-
import { defineComponent as ve, inject as ze, resolveComponent as Ke, openBlock as U, createBlock as Se, withCtx as pe, createElementVNode as R, normalizeClass as ue, withModifiers as Bt, renderSlot as ke, createElementBlock as ee, createCommentVNode as we, toDisplayString as _e, h as Ge, unref as L, computed as W, ref as ie, watch as Fe, Teleport as Tn, createVNode as he, Transition as kt, TransitionGroup as Pl, Fragment as Le, renderList as Ue, normalizeStyle as Qe, onMounted as Ve, withDirectives as dt, normalizeProps as lt, guardReactiveProps as at, vShow as Qt, mergeProps as Lt, resolveDynamicComponent as Bn, createTextVNode as _t, onBeforeUnmount as vn, cloneVNode as fs, provide as $e, watchEffect as xt, nextTick as
|
|
2
|
+
import { defineComponent as ve, inject as ze, resolveComponent as Ke, openBlock as U, createBlock as Se, withCtx as pe, createElementVNode as R, normalizeClass as ue, withModifiers as Bt, renderSlot as ke, createElementBlock as ee, createCommentVNode as we, toDisplayString as _e, h as Ge, unref as L, computed as W, ref as ie, watch as Fe, Teleport as Tn, createVNode as he, Transition as kt, TransitionGroup as Pl, Fragment as Le, renderList as Ue, normalizeStyle as Qe, onMounted as Ve, withDirectives as dt, normalizeProps as lt, guardReactiveProps as at, vShow as Qt, mergeProps as Lt, resolveDynamicComponent as Bn, createTextVNode as _t, onBeforeUnmount as vn, cloneVNode as fs, provide as $e, watchEffect as xt, nextTick as Ze, onUnmounted as Ut, reactive as ds, isRef as Qn, withKeys as Qo, vModelText as Zo, useSlots as hs, createStaticVNode as $l, getCurrentInstance as ps, pushScopeId as ms, popScopeId as vs, createSlots as ys, vModelSelect as qo, readonly as jr } from "vue";
|
|
3
3
|
import { useI18n as Pt, createI18n as gs } from "vue-i18n";
|
|
4
4
|
import { defineStore as ki } from "pinia";
|
|
5
5
|
import el from "qs";
|
|
@@ -1911,7 +1911,7 @@ Available fill gap methods: `).concat(me, "."));
|
|
|
1911
1911
|
d(`"clearQueue" is deprecated! Use "clearQueueScrollLocks" instead.
|
|
1912
1912
|
https://github.com/FL3NKEY/scroll-lock#clearqueuescrolllocks`), N();
|
|
1913
1913
|
}
|
|
1914
|
-
},
|
|
1914
|
+
}, Je = A({
|
|
1915
1915
|
disablePageScroll: w,
|
|
1916
1916
|
enablePageScroll: E,
|
|
1917
1917
|
getScrollState: B,
|
|
@@ -1934,7 +1934,7 @@ Available fill gap methods: `).concat(me, "."));
|
|
|
1934
1934
|
refillGaps: I,
|
|
1935
1935
|
_state: _
|
|
1936
1936
|
}, tt);
|
|
1937
|
-
n.default =
|
|
1937
|
+
n.default = Je;
|
|
1938
1938
|
}
|
|
1939
1939
|
]).default;
|
|
1940
1940
|
});
|
|
@@ -4648,7 +4648,7 @@ function At(e, i, ...r) {
|
|
|
4648
4648
|
throw Error.captureStackTrace && Error.captureStackTrace(n, At), n;
|
|
4649
4649
|
}
|
|
4650
4650
|
var An = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(An || {}), ln = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(ln || {});
|
|
4651
|
-
function
|
|
4651
|
+
function Xe({ visible: e = !0, features: i = 0, ourProps: r, theirProps: n, ...o }) {
|
|
4652
4652
|
var l;
|
|
4653
4653
|
let a = cf(n, r), u = Object.assign(o, { props: a });
|
|
4654
4654
|
if (e || i & 2 && a.static)
|
|
@@ -4845,7 +4845,7 @@ function Fi(e, i = 0) {
|
|
|
4845
4845
|
}
|
|
4846
4846
|
function ca(e) {
|
|
4847
4847
|
let i = an(e);
|
|
4848
|
-
|
|
4848
|
+
Ze(() => {
|
|
4849
4849
|
i && !Fi(i.activeElement, 0) && pn(e);
|
|
4850
4850
|
});
|
|
4851
4851
|
}
|
|
@@ -4942,7 +4942,7 @@ var tr = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.
|
|
|
4942
4942
|
let Fr = ve({ name: "Hidden", props: { as: { type: [Object, String], default: "div" }, features: { type: Number, default: 1 } }, setup(e, { slots: i, attrs: r }) {
|
|
4943
4943
|
return () => {
|
|
4944
4944
|
let { features: n, ...o } = e, l = { "aria-hidden": (n & 2) === 2 ? !0 : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(n & 4) === 4 && (n & 2) !== 2 && { display: "none" } } };
|
|
4945
|
-
return
|
|
4945
|
+
return Xe({ ourProps: l, theirProps: o, slot: {}, attrs: r, slots: i, name: "Hidden" });
|
|
4946
4946
|
};
|
|
4947
4947
|
} });
|
|
4948
4948
|
function xf(e) {
|
|
@@ -5026,7 +5026,7 @@ let Vn = Object.assign(ve({ name: "FocusTrap", props: { as: { type: [Object, Str
|
|
|
5026
5026
|
}
|
|
5027
5027
|
return () => {
|
|
5028
5028
|
let s = {}, m = { ref: o, onKeydown: f, onFocusout: c }, { features: g, initialFocus: b, containers: h, ...y } = e;
|
|
5029
|
-
return Ge(Le, [Boolean(g & 4) && Ge(Fr, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: tr.Focusable }),
|
|
5029
|
+
return Ge(Le, [Boolean(g & 4) && Ge(Fr, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: tr.Focusable }), Xe({ ourProps: m, theirProps: { ...i, ...y }, slot: s, attrs: i, slots: r, name: "FocusTrap" }), Boolean(g & 4) && Ge(Fr, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: tr.Focusable })]);
|
|
5030
5030
|
};
|
|
5031
5031
|
} }), { features: pa });
|
|
5032
5032
|
function Bf({ ownerDocument: e }, i) {
|
|
@@ -5139,7 +5139,7 @@ function Lf() {
|
|
|
5139
5139
|
let si = ve({ name: "ForcePortalRoot", props: { as: { type: [Object, String], default: "template" }, force: { type: Boolean, default: !1 } }, setup(e, { slots: i, attrs: r }) {
|
|
5140
5140
|
return $e(va, e.force), () => {
|
|
5141
5141
|
let { force: n, ...o } = e;
|
|
5142
|
-
return
|
|
5142
|
+
return Xe({ theirProps: o, ourProps: {}, slot: {}, slots: i, attrs: r, name: "ForcePortalRoot" });
|
|
5143
5143
|
};
|
|
5144
5144
|
} });
|
|
5145
5145
|
function Pf(e) {
|
|
@@ -5167,7 +5167,7 @@ let ya = ve({ name: "Portal", props: { as: { type: [Object, String], default: "d
|
|
|
5167
5167
|
if (u.value === null)
|
|
5168
5168
|
return null;
|
|
5169
5169
|
let p = { ref: n, "data-headlessui-portal": "" };
|
|
5170
|
-
return Ge(Tn, { to: u.value },
|
|
5170
|
+
return Ge(Tn, { to: u.value }, Xe({ ourProps: p, theirProps: e, slot: {}, attrs: r, slots: i, name: "Portal" }));
|
|
5171
5171
|
};
|
|
5172
5172
|
} }), ga = Symbol("PortalGroupContext"), $f = ve({ name: "PortalGroup", props: { as: { type: [Object, String], default: "template" }, target: { type: Object, default: null } }, setup(e, { attrs: i, slots: r }) {
|
|
5173
5173
|
let n = ds({ resolveTarget() {
|
|
@@ -5175,7 +5175,7 @@ let ya = ve({ name: "Portal", props: { as: { type: [Object, String], default: "d
|
|
|
5175
5175
|
} });
|
|
5176
5176
|
return $e(ga, n), () => {
|
|
5177
5177
|
let { target: o, ...l } = e;
|
|
5178
|
-
return
|
|
5178
|
+
return Xe({ theirProps: l, ourProps: {}, slot: {}, attrs: i, slots: r, name: "PortalGroup" });
|
|
5179
5179
|
};
|
|
5180
5180
|
} }), ba = Symbol("StackContext");
|
|
5181
5181
|
var ui = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(ui || {});
|
|
@@ -5217,7 +5217,7 @@ let Fg = ve({ name: "Description", props: { as: { type: [Object, String], defaul
|
|
|
5217
5217
|
let n = qf();
|
|
5218
5218
|
return Ve(() => Ut(n.register(e.id))), () => {
|
|
5219
5219
|
let { name: o = "Description", slot: l = ie({}), props: a = {} } = n, { id: u, ...p } = e, d = { ...Object.entries(a).reduce((f, [c, s]) => Object.assign(f, { [c]: L(s) }), {}), id: u };
|
|
5220
|
-
return
|
|
5220
|
+
return Xe({ ourProps: d, theirProps: p, slot: l.value, attrs: i, slots: r, name: o });
|
|
5221
5221
|
};
|
|
5222
5222
|
} });
|
|
5223
5223
|
function Ui() {
|
|
@@ -5290,7 +5290,7 @@ let xr = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Ff = ve({ name: "Dialog", inher
|
|
|
5290
5290
|
return [...Array.from((x = (S = m.value) == null ? void 0 : S.querySelectorAll("body > *, [data-headlessui-portal]")) != null ? x : []).filter((w) => !(!(w instanceof HTMLElement) || w.contains(De(s)) || A.panelRef.value && w.contains(A.panelRef.value))), (_ = A.panelRef.value) != null ? _ : c.value];
|
|
5291
5291
|
}
|
|
5292
5292
|
return da(() => O(), (S, x) => {
|
|
5293
|
-
A.close(),
|
|
5293
|
+
A.close(), Ze(() => x == null ? void 0 : x.focus());
|
|
5294
5294
|
}, W(() => g.value === 0 && !h.value)), ha((l = m.value) == null ? void 0 : l.defaultView, "keydown", (S) => {
|
|
5295
5295
|
S.defaultPrevented || S.key === Ye.Escape && g.value === 0 && (h.value || (S.preventDefault(), S.stopPropagation(), A.close()));
|
|
5296
5296
|
}), xt((S) => {
|
|
@@ -5345,7 +5345,7 @@ let xr = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Ff = ve({ name: "Dialog", inher
|
|
|
5345
5345
|
_.observe(x), S(() => _.disconnect());
|
|
5346
5346
|
}), () => {
|
|
5347
5347
|
let { id: S, open: x, initialFocus: _, ...w } = e, E = { ...r, ref: c, id: S, role: "dialog", "aria-modal": g.value === 0 ? !0 : void 0, "aria-labelledby": v.value, "aria-describedby": k.value }, B = { open: g.value === 0 };
|
|
5348
|
-
return Ge(si, { force: !0 }, () => [Ge(ya, () => Ge($f, { target: c.value }, () => Ge(si, { force: !1 }, () => Ge(Vn, { initialFocus: _, containers: f, features: b.value ? At(t.value, { parent: Vn.features.RestoreFocus, leaf: Vn.features.All & ~Vn.features.FocusLock }) : Vn.features.None }, () =>
|
|
5348
|
+
return Ge(si, { force: !0 }, () => [Ge(ya, () => Ge($f, { target: c.value }, () => Ge(si, { force: !1 }, () => Ge(Vn, { initialFocus: _, containers: f, features: b.value ? At(t.value, { parent: Vn.features.RestoreFocus, leaf: Vn.features.All & ~Vn.features.FocusLock }) : Vn.features.None }, () => Xe({ ourProps: E, theirProps: w, slot: B, attrs: r, slots: n, visible: g.value === 0, features: An.RenderStrategy | An.Static, name: "Dialog" }))))), Ge(Fr, { features: tr.Hidden, ref: s })]);
|
|
5349
5349
|
};
|
|
5350
5350
|
} });
|
|
5351
5351
|
ve({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-overlay-${It()}` } }, setup(e, { attrs: i, slots: r }) {
|
|
@@ -5355,7 +5355,7 @@ ve({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div
|
|
|
5355
5355
|
}
|
|
5356
5356
|
return () => {
|
|
5357
5357
|
let { id: l, ...a } = e;
|
|
5358
|
-
return
|
|
5358
|
+
return Xe({ ourProps: { id: l, "aria-hidden": !0, onClick: o }, theirProps: a, slot: { open: n.dialogState.value === 0 }, attrs: i, slots: r, name: "DialogOverlay" });
|
|
5359
5359
|
};
|
|
5360
5360
|
} });
|
|
5361
5361
|
ve({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-backdrop-${It()}` } }, inheritAttrs: !1, setup(e, { attrs: i, slots: r, expose: n }) {
|
|
@@ -5365,7 +5365,7 @@ ve({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "di
|
|
|
5365
5365
|
throw new Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.");
|
|
5366
5366
|
}), () => {
|
|
5367
5367
|
let { id: a, ...u } = e, p = { id: a, ref: l, "aria-hidden": !0 };
|
|
5368
|
-
return Ge(si, { force: !0 }, () => Ge(ya, () =>
|
|
5368
|
+
return Ge(si, { force: !0 }, () => Ge(ya, () => Xe({ ourProps: p, theirProps: { ...i, ...u }, slot: { open: o.dialogState.value === 0 }, attrs: i, slots: r, name: "DialogBackdrop" })));
|
|
5369
5369
|
};
|
|
5370
5370
|
} });
|
|
5371
5371
|
let Uf = ve({ name: "DialogPanel", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-panel-${It()}` } }, setup(e, { attrs: i, slots: r, expose: n }) {
|
|
@@ -5376,7 +5376,7 @@ let Uf = ve({ name: "DialogPanel", props: { as: { type: [Object, String], defaul
|
|
|
5376
5376
|
}
|
|
5377
5377
|
return () => {
|
|
5378
5378
|
let { id: a, ...u } = e, p = { id: a, ref: o.panelRef, onClick: l };
|
|
5379
|
-
return
|
|
5379
|
+
return Xe({ ourProps: p, theirProps: u, slot: { open: o.dialogState.value === 0 }, attrs: i, slots: r, name: "DialogPanel" });
|
|
5380
5380
|
};
|
|
5381
5381
|
} });
|
|
5382
5382
|
ve({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" }, id: { type: String, default: () => `headlessui-dialog-title-${It()}` } }, setup(e, { attrs: i, slots: r }) {
|
|
@@ -5385,7 +5385,7 @@ ve({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" }
|
|
|
5385
5385
|
n.setTitleId(e.id), Ut(() => n.setTitleId(null));
|
|
5386
5386
|
}), () => {
|
|
5387
5387
|
let { id: o, ...l } = e;
|
|
5388
|
-
return
|
|
5388
|
+
return Xe({ ourProps: { id: o }, theirProps: l, slot: { open: n.dialogState.value === 0 }, attrs: i, slots: r, name: "DialogTitle" });
|
|
5389
5389
|
};
|
|
5390
5390
|
} });
|
|
5391
5391
|
var zf = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(zf || {}), Vf = ((e) => (e[e.Pointer = 0] = "Pointer", e[e.Other = 1] = "Other", e))(Vf || {});
|
|
@@ -5434,7 +5434,7 @@ let Kf = ve({ name: "Menu", props: { as: { type: [Object, String], default: "tem
|
|
|
5434
5434
|
c.closeMenu(), Fi(m, Di.Loose) || (s.preventDefault(), (g = De(o)) == null || g.focus());
|
|
5435
5435
|
}, W(() => n.value === 0)), $e(_a, c), la(W(() => At(n.value, { [0]: Ft.Open, [1]: Ft.Closed }))), () => {
|
|
5436
5436
|
let s = { open: n.value === 0, close: c.closeMenu };
|
|
5437
|
-
return
|
|
5437
|
+
return Xe({ ourProps: {}, theirProps: e, slot: s, slots: i, attrs: r, name: "Menu" });
|
|
5438
5438
|
};
|
|
5439
5439
|
} }), Gf = ve({ name: "MenuButton", props: { disabled: { type: Boolean, default: !1 }, as: { type: [Object, String], default: "button" }, id: { type: String, default: () => `headlessui-menu-button-${It()}` } }, setup(e, { attrs: i, slots: r, expose: n }) {
|
|
5440
5440
|
let o = Zr("MenuButton");
|
|
@@ -5444,13 +5444,13 @@ let Kf = ve({ name: "Menu", props: { as: { type: [Object, String], default: "tem
|
|
|
5444
5444
|
case Ye.Space:
|
|
5445
5445
|
case Ye.Enter:
|
|
5446
5446
|
case Ye.ArrowDown:
|
|
5447
|
-
d.preventDefault(), d.stopPropagation(), o.openMenu(),
|
|
5447
|
+
d.preventDefault(), d.stopPropagation(), o.openMenu(), Ze(() => {
|
|
5448
5448
|
var f;
|
|
5449
5449
|
(f = De(o.itemsRef)) == null || f.focus({ preventScroll: !0 }), o.goToItem(Ot.First);
|
|
5450
5450
|
});
|
|
5451
5451
|
break;
|
|
5452
5452
|
case Ye.ArrowUp:
|
|
5453
|
-
d.preventDefault(), d.stopPropagation(), o.openMenu(),
|
|
5453
|
+
d.preventDefault(), d.stopPropagation(), o.openMenu(), Ze(() => {
|
|
5454
5454
|
var f;
|
|
5455
5455
|
(f = De(o.itemsRef)) == null || f.focus({ preventScroll: !0 }), o.goToItem(Ot.Last);
|
|
5456
5456
|
});
|
|
@@ -5465,7 +5465,7 @@ let Kf = ve({ name: "Menu", props: { as: { type: [Object, String], default: "tem
|
|
|
5465
5465
|
}
|
|
5466
5466
|
}
|
|
5467
5467
|
function u(d) {
|
|
5468
|
-
e.disabled || (o.menuState.value === 0 ? (o.closeMenu(),
|
|
5468
|
+
e.disabled || (o.menuState.value === 0 ? (o.closeMenu(), Ze(() => {
|
|
5469
5469
|
var f;
|
|
5470
5470
|
return (f = De(o.buttonRef)) == null ? void 0 : f.focus({ preventScroll: !0 });
|
|
5471
5471
|
})) : (d.preventDefault(), o.openMenu(), Hf(() => {
|
|
@@ -5477,7 +5477,7 @@ let Kf = ve({ name: "Menu", props: { as: { type: [Object, String], default: "tem
|
|
|
5477
5477
|
return () => {
|
|
5478
5478
|
var d;
|
|
5479
5479
|
let f = { open: o.menuState.value === 0 }, { id: c, ...s } = e, m = { ref: o.buttonRef, id: c, type: p.value, "aria-haspopup": "menu", "aria-controls": (d = De(o.itemsRef)) == null ? void 0 : d.id, "aria-expanded": e.disabled ? void 0 : o.menuState.value === 0, onKeydown: l, onKeyup: a, onClick: u };
|
|
5480
|
-
return
|
|
5480
|
+
return Xe({ ourProps: m, theirProps: s, slot: f, attrs: i, slots: r, name: "MenuButton" });
|
|
5481
5481
|
};
|
|
5482
5482
|
} }), Wf = ve({ name: "MenuItems", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, id: { type: String, default: () => `headlessui-menu-items-${It()}` } }, setup(e, { attrs: i, slots: r, expose: n }) {
|
|
5483
5483
|
let o = Zr("MenuItems"), l = ie(null);
|
|
@@ -5510,13 +5510,13 @@ let Kf = ve({ name: "Menu", props: { as: { type: [Object, String], default: "tem
|
|
|
5510
5510
|
case Ye.PageDown:
|
|
5511
5511
|
return f.preventDefault(), f.stopPropagation(), o.goToItem(Ot.Last);
|
|
5512
5512
|
case Ye.Escape:
|
|
5513
|
-
f.preventDefault(), f.stopPropagation(), o.closeMenu(),
|
|
5513
|
+
f.preventDefault(), f.stopPropagation(), o.closeMenu(), Ze(() => {
|
|
5514
5514
|
var s;
|
|
5515
5515
|
return (s = De(o.buttonRef)) == null ? void 0 : s.focus({ preventScroll: !0 });
|
|
5516
5516
|
});
|
|
5517
5517
|
break;
|
|
5518
5518
|
case Ye.Tab:
|
|
5519
|
-
f.preventDefault(), f.stopPropagation(), o.closeMenu(),
|
|
5519
|
+
f.preventDefault(), f.stopPropagation(), o.closeMenu(), Ze(() => _f(De(o.buttonRef), f.shiftKey ? Rt.Previous : Rt.Next));
|
|
5520
5520
|
break;
|
|
5521
5521
|
default:
|
|
5522
5522
|
f.key.length === 1 && (o.search(f.key), l.value = setTimeout(() => o.clearSearch(), 350));
|
|
@@ -5534,7 +5534,7 @@ let Kf = ve({ name: "Menu", props: { as: { type: [Object, String], default: "tem
|
|
|
5534
5534
|
return () => {
|
|
5535
5535
|
var f, c;
|
|
5536
5536
|
let s = { open: o.menuState.value === 0 }, { id: m, ...g } = e, b = { "aria-activedescendant": o.activeItemIndex.value === null || (f = o.items.value[o.activeItemIndex.value]) == null ? void 0 : f.id, "aria-labelledby": (c = De(o.buttonRef)) == null ? void 0 : c.id, id: m, onKeydown: a, onKeyup: u, role: "menu", tabIndex: 0, ref: o.itemsRef };
|
|
5537
|
-
return
|
|
5537
|
+
return Xe({ ourProps: b, theirProps: g, slot: s, attrs: i, slots: r, features: An.RenderStrategy | An.Static, visible: d.value, name: "MenuItems" });
|
|
5538
5538
|
};
|
|
5539
5539
|
} }), En = ve({ name: "MenuItem", props: { as: { type: [Object, String], default: "template" }, disabled: { type: Boolean, default: !1 }, id: { type: String, default: () => `headlessui-menu-item-${It()}` } }, setup(e, { slots: i, attrs: r, expose: n }) {
|
|
5540
5540
|
let o = Zr("MenuItem"), l = ie(null);
|
|
@@ -5545,7 +5545,7 @@ let Kf = ve({ name: "Menu", props: { as: { type: [Object, String], default: "tem
|
|
|
5545
5545
|
let h = (b = (g = De(l)) == null ? void 0 : g.textContent) == null ? void 0 : b.toLowerCase().trim();
|
|
5546
5546
|
h !== void 0 && (u.value.textValue = h);
|
|
5547
5547
|
}), Ve(() => o.registerItem(e.id, u)), Ut(() => o.unregisterItem(e.id)), xt(() => {
|
|
5548
|
-
o.menuState.value === 0 && (!a.value || o.activationTrigger.value !== 0 &&
|
|
5548
|
+
o.menuState.value === 0 && (!a.value || o.activationTrigger.value !== 0 && Ze(() => {
|
|
5549
5549
|
var g, b;
|
|
5550
5550
|
return (b = (g = De(l)) == null ? void 0 : g.scrollIntoView) == null ? void 0 : b.call(g, { block: "nearest" });
|
|
5551
5551
|
}));
|
|
@@ -5572,7 +5572,7 @@ let Kf = ve({ name: "Menu", props: { as: { type: [Object, String], default: "tem
|
|
|
5572
5572
|
}
|
|
5573
5573
|
return () => {
|
|
5574
5574
|
let { disabled: g } = e, b = { active: a.value, disabled: g, close: o.closeMenu }, { id: h, ...y } = e;
|
|
5575
|
-
return
|
|
5575
|
+
return Xe({ ourProps: { id: h, ref: l, role: "menuitem", tabIndex: g === !0 ? void 0 : -1, "aria-disabled": g === !0 ? !0 : void 0, onClick: p, onFocus: d, onPointerenter: c, onMouseenter: c, onPointermove: s, onMousemove: s, onPointerleave: m, onMouseleave: m }, theirProps: y, slot: b, attrs: r, slots: i, name: "MenuItem" });
|
|
5576
5576
|
};
|
|
5577
5577
|
} }), xa = Symbol("LabelContext");
|
|
5578
5578
|
function Sa() {
|
|
@@ -5597,13 +5597,13 @@ let Qf = ve({ name: "Label", props: { as: { type: [Object, String], default: "la
|
|
|
5597
5597
|
let n = Sa();
|
|
5598
5598
|
return Ve(() => Ut(n.register(e.id))), () => {
|
|
5599
5599
|
let { name: o = "Label", slot: l = {}, props: a = {} } = n, { id: u, passive: p, ...d } = e, f = { ...Object.entries(a).reduce((c, [s, m]) => Object.assign(c, { [s]: L(m) }), {}), id: u };
|
|
5600
|
-
return p && (delete f.onClick, delete d.onClick),
|
|
5600
|
+
return p && (delete f.onClick, delete d.onClick), Xe({ ourProps: f, theirProps: d, slot: l, attrs: r, slots: i, name: o });
|
|
5601
5601
|
};
|
|
5602
5602
|
} }), Ea = Symbol("GroupContext"), Zf = ve({ name: "SwitchGroup", props: { as: { type: [Object, String], default: "template" } }, setup(e, { slots: i, attrs: r }) {
|
|
5603
5603
|
let n = ie(null), o = Yf({ name: "SwitchLabel", props: { onClick() {
|
|
5604
5604
|
!n.value || (n.value.click(), n.value.focus({ preventScroll: !0 }));
|
|
5605
5605
|
} } }), l = ka({ name: "SwitchDescription" });
|
|
5606
|
-
return $e(Ea, { switchRef: n, labelledby: o, describedby: l }), () =>
|
|
5606
|
+
return $e(Ea, { switchRef: n, labelledby: o, describedby: l }), () => Xe({ theirProps: e, ourProps: {}, slot: {}, slots: i, attrs: r, name: "SwitchGroup" });
|
|
5607
5607
|
} }), Xf = ve({ name: "Switch", emits: { "update:modelValue": (e) => !0 }, props: { as: { type: [Object, String], default: "button" }, modelValue: { type: Boolean, default: void 0 }, defaultChecked: { type: Boolean, optional: !0 }, name: { type: String, optional: !0 }, value: { type: String, optional: !0 }, id: { type: String, default: () => `headlessui-switch-${It()}` } }, inheritAttrs: !1, setup(e, { emit: i, attrs: r, slots: n, expose: o }) {
|
|
5608
5608
|
let l = ze(Ea, null), [a, u] = Sf(W(() => e.modelValue), (h) => i("update:modelValue", h), W(() => e.defaultChecked));
|
|
5609
5609
|
function p() {
|
|
@@ -5638,7 +5638,7 @@ let Qf = ve({ name: "Label", props: { as: { type: [Object, String], default: "la
|
|
|
5638
5638
|
}, { immediate: !0 });
|
|
5639
5639
|
}), () => {
|
|
5640
5640
|
let { id: h, name: y, value: t, ...k } = e, v = { checked: a.value }, A = { id: h, ref: f, role: "switch", type: c.value, tabIndex: 0, "aria-checked": a.value, "aria-labelledby": l == null ? void 0 : l.labelledby.value, "aria-describedby": l == null ? void 0 : l.describedby.value, onClick: s, onKeyup: m, onKeypress: g };
|
|
5641
|
-
return Ge(Le, [y != null && a.value != null ? Ge(Fr, ff({ features: tr.Hidden, as: "input", type: "checkbox", hidden: !0, readOnly: !0, checked: a.value, name: y, value: t })) : null,
|
|
5641
|
+
return Ge(Le, [y != null && a.value != null ? Ge(Fr, ff({ features: tr.Hidden, as: "input", type: "checkbox", hidden: !0, readOnly: !0, checked: a.value, name: y, value: t })) : null, Xe({ ourProps: A, theirProps: { ...r, ...Ri(k, ["modelValue", "defaultChecked"]) }, slot: v, attrs: r, slots: n, name: "Switch" })]);
|
|
5642
5642
|
};
|
|
5643
5643
|
} }), Jf = Qf;
|
|
5644
5644
|
function ed(e) {
|
|
@@ -5757,7 +5757,7 @@ let Aa = An.RenderStrategy, Pr = ve({ props: { as: { type: [Object, String], def
|
|
|
5757
5757
|
}, { immediate: !0 });
|
|
5758
5758
|
}), $e(Vi, b), la(W(() => At(a.value, { visible: Ft.Open, hidden: Ft.Closed }))), () => {
|
|
5759
5759
|
let { appear: x, show: _, enter: w, enterFrom: E, enterTo: B, entered: N, leave: M, leaveFrom: j, leaveTo: z, ...K } = e;
|
|
5760
|
-
return
|
|
5760
|
+
return Xe({ theirProps: K, ourProps: { ref: l }, slot: {}, slots: n, attrs: r, features: Aa, visible: a.value === "visible", name: "TransitionChild" });
|
|
5761
5761
|
};
|
|
5762
5762
|
} }), ld = Pr, Ta = ve({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(e, { emit: i, attrs: r, slots: n }) {
|
|
5763
5763
|
let o = Yr(), l = W(() => e.show === null && o !== null ? At(o.value, { [Ft.Open]: !0, [Ft.Closed]: !1 }) : e.show);
|
|
@@ -5774,7 +5774,7 @@ let Aa = An.RenderStrategy, Pr = ve({ props: { as: { type: [Object, String], def
|
|
|
5774
5774
|
});
|
|
5775
5775
|
}), $e(Vi, u), $e(zi, d), () => {
|
|
5776
5776
|
let f = Ri(e, ["show", "appear", "unmount", "onBeforeEnter", "onBeforeLeave", "onAfterEnter", "onAfterLeave"]), c = { unmount: e.unmount };
|
|
5777
|
-
return
|
|
5777
|
+
return Xe({ ourProps: { ...c, as: "template" }, theirProps: {}, slot: {}, slots: { ...n, default: () => [Ge(ld, { onBeforeEnter: () => i("beforeEnter"), onAfterEnter: () => i("afterEnter"), onBeforeLeave: () => i("beforeLeave"), onAfterLeave: () => i("afterLeave"), ...r, ...c, ...f }, n.default)] }, attrs: {}, features: Aa, visible: a.value === "visible", name: "Transition" });
|
|
5778
5778
|
};
|
|
5779
5779
|
} });
|
|
5780
5780
|
const ad = { class: "flex items-center" }, sd = {
|
|
@@ -6054,7 +6054,7 @@ const ad = { class: "flex items-center" }, sd = {
|
|
|
6054
6054
|
S.preventDefault(), y();
|
|
6055
6055
|
}
|
|
6056
6056
|
function y() {
|
|
6057
|
-
A(n.value),
|
|
6057
|
+
A(n.value), Ze(() => {
|
|
6058
6058
|
n.value = null;
|
|
6059
6059
|
});
|
|
6060
6060
|
}
|
|
@@ -6065,7 +6065,7 @@ const ad = { class: "flex items-center" }, sd = {
|
|
|
6065
6065
|
S.preventDefault(), v();
|
|
6066
6066
|
}
|
|
6067
6067
|
function v() {
|
|
6068
|
-
A(o.value), O(o.value) ||
|
|
6068
|
+
A(o.value), O(o.value) || Ze(() => {
|
|
6069
6069
|
o.value = r.modelValue;
|
|
6070
6070
|
});
|
|
6071
6071
|
}
|
|
@@ -6425,7 +6425,7 @@ const Bd = {
|
|
|
6425
6425
|
}), Fe(
|
|
6426
6426
|
() => v.value,
|
|
6427
6427
|
() => {
|
|
6428
|
-
|
|
6428
|
+
Ze(() => {
|
|
6429
6429
|
x();
|
|
6430
6430
|
});
|
|
6431
6431
|
}
|
|
@@ -6477,7 +6477,9 @@ const Bd = {
|
|
|
6477
6477
|
Fe(
|
|
6478
6478
|
() => a.query,
|
|
6479
6479
|
() => {
|
|
6480
|
-
|
|
6480
|
+
Ze(() => {
|
|
6481
|
+
Z();
|
|
6482
|
+
});
|
|
6481
6483
|
}
|
|
6482
6484
|
), Fe(
|
|
6483
6485
|
() => r.urlQuery,
|
|
@@ -6903,7 +6905,7 @@ const $a = /* @__PURE__ */ ht(Yd, [["render", Jd], ["__scopeId", "data-v-945515f
|
|
|
6903
6905
|
P();
|
|
6904
6906
|
}
|
|
6905
6907
|
), Ve(() => {
|
|
6906
|
-
|
|
6908
|
+
Ze(() => {
|
|
6907
6909
|
P();
|
|
6908
6910
|
});
|
|
6909
6911
|
});
|
|
@@ -6985,7 +6987,7 @@ const $a = /* @__PURE__ */ ht(Yd, [["render", Jd], ["__scopeId", "data-v-945515f
|
|
|
6985
6987
|
function D(I) {
|
|
6986
6988
|
f.value.push(I);
|
|
6987
6989
|
const C = s.value;
|
|
6988
|
-
C && C.children &&
|
|
6990
|
+
C && C.children && Ze(() => {
|
|
6989
6991
|
const V = f.value.map((re) => `[data-id="${re.newKey}"]`).join(","), te = Array.from(C.querySelectorAll(V)).map(
|
|
6990
6992
|
(re) => re.getAttribute("data-id")
|
|
6991
6993
|
);
|
|
@@ -8140,7 +8142,7 @@ const np = { class: "-m-0.5 flex" }, rp = { class: "w-auto p-0.5" }, op = ["disa
|
|
|
8140
8142
|
l.value ? b() : g();
|
|
8141
8143
|
}
|
|
8142
8144
|
function g() {
|
|
8143
|
-
t(), l.value = !0,
|
|
8145
|
+
t(), l.value = !0, Ze(() => {
|
|
8144
8146
|
s(), Li(), i("open");
|
|
8145
8147
|
});
|
|
8146
8148
|
}
|
|
@@ -8677,7 +8679,7 @@ const np = { class: "-m-0.5 flex" }, rp = { class: "w-auto p-0.5" }, op = ["disa
|
|
|
8677
8679
|
{ immediate: !0, deep: !0 }
|
|
8678
8680
|
);
|
|
8679
8681
|
function u() {
|
|
8680
|
-
|
|
8682
|
+
Ze(() => {
|
|
8681
8683
|
setTimeout(() => {
|
|
8682
8684
|
var s;
|
|
8683
8685
|
(s = o.value) == null || s.open();
|
|
@@ -8685,7 +8687,7 @@ const np = { class: "-m-0.5 flex" }, rp = { class: "w-auto p-0.5" }, op = ["disa
|
|
|
8685
8687
|
});
|
|
8686
8688
|
}
|
|
8687
8689
|
function p() {
|
|
8688
|
-
|
|
8690
|
+
Ze(() => {
|
|
8689
8691
|
setTimeout(() => {
|
|
8690
8692
|
var s;
|
|
8691
8693
|
(s = o.value) == null || s.setKeywords("");
|
|
@@ -10905,7 +10907,7 @@ const ov = /* @__PURE__ */ ht(Xm, [["render", rv], ["__scopeId", "data-v-e5ae83e
|
|
|
10905
10907
|
a(), _i(
|
|
10906
10908
|
r.value,
|
|
10907
10909
|
() => {
|
|
10908
|
-
n.value = !1,
|
|
10910
|
+
n.value = !1, Ze(() => {
|
|
10909
10911
|
a();
|
|
10910
10912
|
});
|
|
10911
10913
|
},
|
|
@@ -13754,13 +13756,13 @@ var yi = {}, dv = {
|
|
|
13754
13756
|
if (te.length !== 0) {
|
|
13755
13757
|
var re = I.quill.getSelection();
|
|
13756
13758
|
if (!(re == null || !I.quill.hasFocus())) {
|
|
13757
|
-
var se = I.quill.getLine(re.index), de = a(se, 2), Ee = de[0], Oe = de[1], oe = I.quill.getLeaf(re.index), ae = a(oe, 2), ye = ae[0], be = ae[1], fe = re.length === 0 ? [ye, be] : I.quill.getLeaf(re.index + re.length), Be = a(fe, 2), Ie = Be[0], Ne = Be[1], tt = ye instanceof k.default.Text ? ye.value().slice(0, be) : "",
|
|
13759
|
+
var se = I.quill.getLine(re.index), de = a(se, 2), Ee = de[0], Oe = de[1], oe = I.quill.getLeaf(re.index), ae = a(oe, 2), ye = ae[0], be = ae[1], fe = re.length === 0 ? [ye, be] : I.quill.getLeaf(re.index + re.length), Be = a(fe, 2), Ie = Be[0], Ne = Be[1], tt = ye instanceof k.default.Text ? ye.value().slice(0, be) : "", Je = Ie instanceof k.default.Text ? Ie.value().slice(Ne) : "", ge = {
|
|
13758
13760
|
collapsed: re.length === 0,
|
|
13759
13761
|
empty: re.length === 0 && Ee.length() <= 1,
|
|
13760
13762
|
format: I.quill.getFormat(re),
|
|
13761
13763
|
offset: Oe,
|
|
13762
13764
|
prefix: tt,
|
|
13763
|
-
suffix:
|
|
13765
|
+
suffix: Je
|
|
13764
13766
|
}, Y = te.some(function(me) {
|
|
13765
13767
|
if (me.collapsed != null && me.collapsed !== ge.collapsed || me.empty != null && me.empty !== ge.empty || me.offset != null && me.offset !== ge.offset)
|
|
13766
13768
|
return !1;
|
|
@@ -16085,8 +16087,8 @@ var yi = {}, dv = {
|
|
|
16085
16087
|
try {
|
|
16086
16088
|
for (var Ne = ae[Symbol.iterator](), tt; !(fe = (tt = Ne.next()).done) && (be.push(tt.value), !(ye && be.length === ye)); fe = !0)
|
|
16087
16089
|
;
|
|
16088
|
-
} catch (
|
|
16089
|
-
Be = !0, Ie =
|
|
16090
|
+
} catch (Je) {
|
|
16091
|
+
Be = !0, Ie = Je;
|
|
16090
16092
|
} finally {
|
|
16091
16093
|
try {
|
|
16092
16094
|
!fe && Ne.return && Ne.return();
|
|
@@ -16164,7 +16166,7 @@ var yi = {}, dv = {
|
|
|
16164
16166
|
var Be = this.container.innerText;
|
|
16165
16167
|
return this.container.innerHTML = "", new c.default().insert(Be, N({}, S.default.blotName, fe[S.default.blotName]));
|
|
16166
16168
|
}
|
|
16167
|
-
var Ie = this.prepareMatching(), Ne = a(Ie, 2), tt = Ne[0],
|
|
16169
|
+
var Ie = this.prepareMatching(), Ne = a(Ie, 2), tt = Ne[0], Je = Ne[1], ge = J(this.container, tt, Je);
|
|
16168
16170
|
return Q(ge, `
|
|
16169
16171
|
`) && ge.ops[ge.ops.length - 1].attributes == null && (ge = ge.compose(new c.default().retain(ge.length() - 1).delete(1))), K.log("convert", this.container.innerHTML, ge), this.container.innerHTML = "", ge;
|
|
16170
16172
|
}
|
|
@@ -16195,17 +16197,17 @@ var yi = {}, dv = {
|
|
|
16195
16197
|
value: function() {
|
|
16196
16198
|
var be = this, fe = [], Be = [];
|
|
16197
16199
|
return this.matchers.forEach(function(Ie) {
|
|
16198
|
-
var Ne = a(Ie, 2), tt = Ne[0],
|
|
16200
|
+
var Ne = a(Ie, 2), tt = Ne[0], Je = Ne[1];
|
|
16199
16201
|
switch (tt) {
|
|
16200
16202
|
case Node.TEXT_NODE:
|
|
16201
|
-
Be.push(
|
|
16203
|
+
Be.push(Je);
|
|
16202
16204
|
break;
|
|
16203
16205
|
case Node.ELEMENT_NODE:
|
|
16204
|
-
fe.push(
|
|
16206
|
+
fe.push(Je);
|
|
16205
16207
|
break;
|
|
16206
16208
|
default:
|
|
16207
16209
|
[].forEach.call(be.container.querySelectorAll(tt), function(ge) {
|
|
16208
|
-
ge[le] = ge[le] || [], ge[le].push(
|
|
16210
|
+
ge[le] = ge[le] || [], ge[le].push(Je);
|
|
16209
16211
|
});
|
|
16210
16212
|
break;
|
|
16211
16213
|
}
|
|
@@ -18376,7 +18378,7 @@ var gv = Jr, rr = {}, bv = {
|
|
|
18376
18378
|
return T ? "Symbol(src)_1." + T : "";
|
|
18377
18379
|
}(), Be = ae.toString, Ie = ye.hasOwnProperty, Ne = ye.toString, tt = RegExp(
|
|
18378
18380
|
"^" + Be.call(Ie).replace(z, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
18379
|
-
),
|
|
18381
|
+
), Je = F ? H.Buffer : void 0, ge = H.Symbol, Y = H.Uint8Array, me = Ee(Object.getPrototypeOf, Object), xe = Object.create, Ae = ye.propertyIsEnumerable, St = oe.splice, Et = Object.getOwnPropertySymbols, pt = Je ? Je.isBuffer : void 0, zt = Ee(Object.keys, Object), Xt = Nt(H, "DataView"), $t = Nt(H, "Map"), qe = Nt(H, "Promise"), Jt = Nt(H, "Set"), Vt = Nt(H, "WeakMap"), Tt = Nt(Object, "create"), Cn = mt(Xt), sn = mt($t), Ln = mt(qe), Pn = mt(Jt), $n = mt(Vt), en = ge ? ge.prototype : void 0, sr = en ? en.valueOf : void 0;
|
|
18380
18382
|
function Ht(T) {
|
|
18381
18383
|
var q = -1, X = T ? T.length : 0;
|
|
18382
18384
|
for (this.clear(); ++q < X; ) {
|
|
@@ -18538,9 +18540,9 @@ var gv = Jr, rr = {}, bv = {
|
|
|
18538
18540
|
if (bt)
|
|
18539
18541
|
return bt;
|
|
18540
18542
|
if (Pe.set(T, Me), !We)
|
|
18541
|
-
var
|
|
18542
|
-
return I(
|
|
18543
|
-
|
|
18543
|
+
var et = X ? Bo(T) : Un(T);
|
|
18544
|
+
return I(et || T, function(ct, ot) {
|
|
18545
|
+
et && (ot = ct, ct = T[ot]), cr(Me, ot, jn(ct, q, X, ce, ot, T, Pe));
|
|
18544
18546
|
}), Me;
|
|
18545
18547
|
}
|
|
18546
18548
|
function bo(T) {
|
|
@@ -18823,12 +18825,12 @@ var or = {}, wv = {
|
|
|
18823
18825
|
X[++q] = ce;
|
|
18824
18826
|
}), X;
|
|
18825
18827
|
}
|
|
18826
|
-
var Ne = Array.prototype, tt = Function.prototype,
|
|
18828
|
+
var Ne = Array.prototype, tt = Function.prototype, Je = Object.prototype, ge = G["__core-js_shared__"], Y = tt.toString, me = Je.hasOwnProperty, xe = function() {
|
|
18827
18829
|
var T = /[^.]+$/.exec(ge && ge.keys && ge.keys.IE_PROTO || "");
|
|
18828
18830
|
return T ? "Symbol(src)_1." + T : "";
|
|
18829
|
-
}(), Ae =
|
|
18831
|
+
}(), Ae = Je.toString, St = RegExp(
|
|
18830
18832
|
"^" + Y.call(me).replace(D, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
18831
|
-
), Et = V ? G.Buffer : void 0, pt = G.Symbol, zt = G.Uint8Array, Xt =
|
|
18833
|
+
), Et = V ? G.Buffer : void 0, pt = G.Symbol, zt = G.Uint8Array, Xt = Je.propertyIsEnumerable, $t = Ne.splice, qe = pt ? pt.toStringTag : void 0, Jt = Object.getOwnPropertySymbols, Vt = Et ? Et.isBuffer : void 0, Tt = Be(Object.keys, Object), Cn = Kt(G, "DataView"), sn = Kt(G, "Map"), Ln = Kt(G, "Promise"), Pn = Kt(G, "Set"), $n = Kt(G, "WeakMap"), en = Kt(Object, "create"), sr = mt(Cn), Ht = mt(sn), eo = mt(Ln), to = mt(Pn), no = mt($n), ur = pt ? pt.prototype : void 0, Mn = ur ? ur.valueOf : void 0;
|
|
18832
18834
|
function rt(T) {
|
|
18833
18835
|
var q = -1, X = T == null ? 0 : T.length;
|
|
18834
18836
|
for (this.clear(); ++q < X; ) {
|
|
@@ -18986,13 +18988,13 @@ var or = {}, wv = {
|
|
|
18986
18988
|
function So(T, q, X, ce, Ce, Te) {
|
|
18987
18989
|
var Pe = kn(T), Me = kn(q), We = Pe ? p : jt(T), Re = Me ? p : jt(q);
|
|
18988
18990
|
We = We == u ? t : We, Re = Re == u ? t : Re;
|
|
18989
|
-
var ut = We == t, bt = Re == t,
|
|
18990
|
-
if (
|
|
18991
|
+
var ut = We == t, bt = Re == t, et = We == Re;
|
|
18992
|
+
if (et && _n(T)) {
|
|
18991
18993
|
if (!_n(q))
|
|
18992
18994
|
return !1;
|
|
18993
18995
|
Pe = !0, ut = !1;
|
|
18994
18996
|
}
|
|
18995
|
-
if (
|
|
18997
|
+
if (et && !ut)
|
|
18996
18998
|
return Te || (Te = new Mt()), Pe || gr(T) ? Rn(T, q, X, ce, Ce, Te) : To(T, q, We, X, ce, Ce, Te);
|
|
18997
18999
|
if (!(X & o)) {
|
|
18998
19000
|
var ct = ut && me.call(T, "__wrapped__"), ot = bt && me.call(q, "__wrapped__");
|
|
@@ -19001,7 +19003,7 @@ var or = {}, wv = {
|
|
|
19001
19003
|
return Te || (Te = new Mt()), Ce(tn, Wt, X, ce, Te);
|
|
19002
19004
|
}
|
|
19003
19005
|
}
|
|
19004
|
-
return
|
|
19006
|
+
return et ? (Te || (Te = new Mt()), Bo(T, q, X, ce, Ce, Te)) : !1;
|
|
19005
19007
|
}
|
|
19006
19008
|
function Eo(T) {
|
|
19007
19009
|
if (!yr(T) || Lo(T))
|
|
@@ -19027,7 +19029,7 @@ var or = {}, wv = {
|
|
|
19027
19029
|
var Re = Te.get(T);
|
|
19028
19030
|
if (Re && Te.get(q))
|
|
19029
19031
|
return Re == q;
|
|
19030
|
-
var ut = -1, bt = !0,
|
|
19032
|
+
var ut = -1, bt = !0, et = X & l ? new gn() : void 0;
|
|
19031
19033
|
for (Te.set(T, q), Te.set(q, T); ++ut < Me; ) {
|
|
19032
19034
|
var ct = T[ut], ot = q[ut];
|
|
19033
19035
|
if (ce)
|
|
@@ -19038,10 +19040,10 @@ var or = {}, wv = {
|
|
|
19038
19040
|
bt = !1;
|
|
19039
19041
|
break;
|
|
19040
19042
|
}
|
|
19041
|
-
if (
|
|
19043
|
+
if (et) {
|
|
19042
19044
|
if (!Oe(q, function(Wt, fn) {
|
|
19043
|
-
if (!ye(
|
|
19044
|
-
return
|
|
19045
|
+
if (!ye(et, fn) && (ct === Wt || Ce(ct, Wt, X, ce, Te)))
|
|
19046
|
+
return et.push(fn);
|
|
19045
19047
|
})) {
|
|
19046
19048
|
bt = !1;
|
|
19047
19049
|
break;
|
|
@@ -19093,8 +19095,8 @@ var or = {}, wv = {
|
|
|
19093
19095
|
if (We != ut && !Pe)
|
|
19094
19096
|
return !1;
|
|
19095
19097
|
for (var bt = We; bt--; ) {
|
|
19096
|
-
var
|
|
19097
|
-
if (!(Pe ?
|
|
19098
|
+
var et = Me[bt];
|
|
19099
|
+
if (!(Pe ? et in q : me.call(q, et)))
|
|
19098
19100
|
return !1;
|
|
19099
19101
|
}
|
|
19100
19102
|
var ct = Te.get(T);
|
|
@@ -19103,15 +19105,15 @@ var or = {}, wv = {
|
|
|
19103
19105
|
var ot = !0;
|
|
19104
19106
|
Te.set(T, q), Te.set(q, T);
|
|
19105
19107
|
for (var tn = Pe; ++bt < We; ) {
|
|
19106
|
-
|
|
19107
|
-
var Wt = T[
|
|
19108
|
+
et = Me[bt];
|
|
19109
|
+
var Wt = T[et], fn = q[et];
|
|
19108
19110
|
if (ce)
|
|
19109
|
-
var Ji = Pe ? ce(fn, Wt,
|
|
19111
|
+
var Ji = Pe ? ce(fn, Wt, et, q, T, Te) : ce(Wt, fn, et, T, q, Te);
|
|
19110
19112
|
if (!(Ji === void 0 ? Wt === fn || Ce(Wt, fn, X, ce, Te) : Ji)) {
|
|
19111
19113
|
ot = !1;
|
|
19112
19114
|
break;
|
|
19113
19115
|
}
|
|
19114
|
-
tn || (tn =
|
|
19116
|
+
tn || (tn = et == "constructor");
|
|
19115
19117
|
}
|
|
19116
19118
|
if (ot && !tn) {
|
|
19117
19119
|
var br = T.constructor, wr = q.constructor;
|
|
@@ -19173,7 +19175,7 @@ var or = {}, wv = {
|
|
|
19173
19175
|
return !!xe && xe in T;
|
|
19174
19176
|
}
|
|
19175
19177
|
function Po(T) {
|
|
19176
|
-
var q = T && T.constructor, X = typeof q == "function" && q.prototype ||
|
|
19178
|
+
var q = T && T.constructor, X = typeof q == "function" && q.prototype || Je;
|
|
19177
19179
|
return T === X;
|
|
19178
19180
|
}
|
|
19179
19181
|
function hr(T) {
|
|
@@ -19732,7 +19734,7 @@ const Nl = {
|
|
|
19732
19734
|
const E = r == null ? void 0 : r.clipboard.convert(_);
|
|
19733
19735
|
E && (r == null || r.setContents(E, w));
|
|
19734
19736
|
}, x = () => {
|
|
19735
|
-
|
|
19737
|
+
Ze(() => {
|
|
19736
19738
|
var _;
|
|
19737
19739
|
!i.slots.toolbar && r && ((_ = r.getModule("toolbar")) === null || _ === void 0 || _.container.remove()), l();
|
|
19738
19740
|
});
|
|
@@ -19742,7 +19744,7 @@ const Nl = {
|
|
|
19742
19744
|
return;
|
|
19743
19745
|
p = _;
|
|
19744
19746
|
const w = r.getSelection();
|
|
19745
|
-
w &&
|
|
19747
|
+
w && Ze(() => r == null ? void 0 : r.setSelection(w)), t(_);
|
|
19746
19748
|
}), Fe(() => e.enable, (_) => {
|
|
19747
19749
|
r && r.enable(_);
|
|
19748
19750
|
}), {
|
package/package.json
CHANGED