@26lights/orcha 0.41.60 → 0.41.62
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/orcha.cjs.js +1 -1
- package/dist/orcha.es.js +91 -91
- package/dist/orcha.umd.js +1 -1
- package/dist/src/components/AoColorPicker.vue.d.ts +1 -3
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, openBlock as p, createBlock as D, unref as Q, mergeProps as Ae, createElementBlock as C, createElementVNode as f, pushScopeId as Vi, popScopeId as Di, createStaticVNode as Bi, computed as M, resolveDynamicComponent as ht, normalizeClass as X, renderSlot as te, toDisplayString as W, createCommentVNode as O, ref as x, watch as ce, nextTick as Me, withKeys as dt, toHandlers as ji, withCtx as N, createTextVNode as qa, createVNode as A, normalizeStyle as
|
|
1
|
+
import { defineComponent as q, openBlock as p, createBlock as D, unref as Q, mergeProps as Ae, createElementBlock as C, createElementVNode as f, pushScopeId as Vi, popScopeId as Di, createStaticVNode as Bi, computed as M, resolveDynamicComponent as ht, normalizeClass as X, renderSlot as te, toDisplayString as W, createCommentVNode as O, ref as x, watch as ce, nextTick as Me, withKeys as dt, toHandlers as ji, withCtx as N, createTextVNode as qa, createVNode as A, normalizeStyle as va, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as _e, onMounted as Et, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Mt, toRefs as Ee, getCurrentInstance as It, toRef as jt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as De, vShow as Ri, onUpdated as Ni, vModelText as Ze, resolveComponent as rt, vModelCheckbox as Ui, getCurrentScope as Fi, onScopeDispose as Zi, toHandlerKey as Wi } from "vue";
|
|
2
2
|
import { RouterView as zi, useRoute as qi, useRouter as Es } from "vue-router";
|
|
3
3
|
import mt from "vuedraggable";
|
|
4
4
|
const Q4 = /* @__PURE__ */ q({
|
|
@@ -1395,7 +1395,7 @@ const j2 = {
|
|
|
1395
1395
|
}, 8, ["class"]));
|
|
1396
1396
|
}
|
|
1397
1397
|
});
|
|
1398
|
-
const
|
|
1398
|
+
const la = /* @__PURE__ */ q({
|
|
1399
1399
|
__name: "AoTag",
|
|
1400
1400
|
props: {
|
|
1401
1401
|
label: {},
|
|
@@ -1419,7 +1419,7 @@ const ra = /* @__PURE__ */ q({
|
|
|
1419
1419
|
n.closable ? "ao-tag--closable" : "",
|
|
1420
1420
|
n.variant ? `ao-tag--${n.variant}` : ""
|
|
1421
1421
|
]),
|
|
1422
|
-
style:
|
|
1422
|
+
style: va(n.rawColor ? { "--ao-tag-bg": n.rawColor } : {})
|
|
1423
1423
|
}, [
|
|
1424
1424
|
(p(), D(ht(a.value), Ae({ class: "ao-tag__label" }, s.value, {
|
|
1425
1425
|
onClick: o[0] || (o[0] = (i) => n.$emit("click", i))
|
|
@@ -1522,7 +1522,7 @@ var Q2 = {};
|
|
|
1522
1522
|
function ga() {
|
|
1523
1523
|
return Q2;
|
|
1524
1524
|
}
|
|
1525
|
-
function
|
|
1525
|
+
function ra(t) {
|
|
1526
1526
|
var e = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
|
|
1527
1527
|
return e.setUTCFullYear(t.getFullYear()), t.getTime() - e.getTime();
|
|
1528
1528
|
}
|
|
@@ -1534,7 +1534,7 @@ function dn(t) {
|
|
|
1534
1534
|
var J2 = 864e5;
|
|
1535
1535
|
function e0(t, e) {
|
|
1536
1536
|
Ce(2, arguments);
|
|
1537
|
-
var a = dn(t), s = dn(e), n = a.getTime() -
|
|
1537
|
+
var a = dn(t), s = dn(e), n = a.getTime() - ra(a), o = s.getTime() - ra(s);
|
|
1538
1538
|
return Math.round((n - o) / J2);
|
|
1539
1539
|
}
|
|
1540
1540
|
function t0(t, e) {
|
|
@@ -2456,7 +2456,7 @@ var O0 = {
|
|
|
2456
2456
|
return O0[e];
|
|
2457
2457
|
};
|
|
2458
2458
|
const I0 = E0;
|
|
2459
|
-
function
|
|
2459
|
+
function Jt(t) {
|
|
2460
2460
|
return function(e, a) {
|
|
2461
2461
|
var s = a != null && a.context ? String(a.context) : "standalone", n;
|
|
2462
2462
|
if (s === "formatting" && t.formattingValues) {
|
|
@@ -2563,26 +2563,26 @@ var L0 = {
|
|
|
2563
2563
|
return s + "th";
|
|
2564
2564
|
}, R0 = {
|
|
2565
2565
|
ordinalNumber: j0,
|
|
2566
|
-
era:
|
|
2566
|
+
era: Jt({
|
|
2567
2567
|
values: L0,
|
|
2568
2568
|
defaultWidth: "wide"
|
|
2569
2569
|
}),
|
|
2570
|
-
quarter:
|
|
2570
|
+
quarter: Jt({
|
|
2571
2571
|
values: P0,
|
|
2572
2572
|
defaultWidth: "wide",
|
|
2573
2573
|
argumentCallback: function(e) {
|
|
2574
2574
|
return e - 1;
|
|
2575
2575
|
}
|
|
2576
2576
|
}),
|
|
2577
|
-
month:
|
|
2577
|
+
month: Jt({
|
|
2578
2578
|
values: H0,
|
|
2579
2579
|
defaultWidth: "wide"
|
|
2580
2580
|
}),
|
|
2581
|
-
day:
|
|
2581
|
+
day: Jt({
|
|
2582
2582
|
values: V0,
|
|
2583
2583
|
defaultWidth: "wide"
|
|
2584
2584
|
}),
|
|
2585
|
-
dayPeriod:
|
|
2585
|
+
dayPeriod: Jt({
|
|
2586
2586
|
values: D0,
|
|
2587
2587
|
defaultWidth: "wide",
|
|
2588
2588
|
formattingValues: B0,
|
|
@@ -2590,7 +2590,7 @@ var L0 = {
|
|
|
2590
2590
|
})
|
|
2591
2591
|
};
|
|
2592
2592
|
const N0 = R0;
|
|
2593
|
-
function
|
|
2593
|
+
function ea(t) {
|
|
2594
2594
|
return function(e) {
|
|
2595
2595
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = a.width, n = s && t.matchPatterns[s] || t.matchPatterns[t.defaultMatchWidth], o = e.match(n);
|
|
2596
2596
|
if (!o)
|
|
@@ -2684,13 +2684,13 @@ var W0 = /^(\d+)(th|st|nd|rd)?/i, z0 = /\d+/i, q0 = {
|
|
|
2684
2684
|
return parseInt(e, 10);
|
|
2685
2685
|
}
|
|
2686
2686
|
}),
|
|
2687
|
-
era:
|
|
2687
|
+
era: ea({
|
|
2688
2688
|
matchPatterns: q0,
|
|
2689
2689
|
defaultMatchWidth: "wide",
|
|
2690
2690
|
parsePatterns: Y0,
|
|
2691
2691
|
defaultParseWidth: "any"
|
|
2692
2692
|
}),
|
|
2693
|
-
quarter:
|
|
2693
|
+
quarter: ea({
|
|
2694
2694
|
matchPatterns: x0,
|
|
2695
2695
|
defaultMatchWidth: "wide",
|
|
2696
2696
|
parsePatterns: K0,
|
|
@@ -2699,19 +2699,19 @@ var W0 = /^(\d+)(th|st|nd|rd)?/i, z0 = /\d+/i, q0 = {
|
|
|
2699
2699
|
return e + 1;
|
|
2700
2700
|
}
|
|
2701
2701
|
}),
|
|
2702
|
-
month:
|
|
2702
|
+
month: ea({
|
|
2703
2703
|
matchPatterns: G0,
|
|
2704
2704
|
defaultMatchWidth: "wide",
|
|
2705
2705
|
parsePatterns: X0,
|
|
2706
2706
|
defaultParseWidth: "any"
|
|
2707
2707
|
}),
|
|
2708
|
-
day:
|
|
2708
|
+
day: ea({
|
|
2709
2709
|
matchPatterns: Q0,
|
|
2710
2710
|
defaultMatchWidth: "wide",
|
|
2711
2711
|
parsePatterns: J0,
|
|
2712
2712
|
defaultParseWidth: "any"
|
|
2713
2713
|
}),
|
|
2714
|
-
dayPeriod:
|
|
2714
|
+
dayPeriod: ea({
|
|
2715
2715
|
matchPatterns: e3,
|
|
2716
2716
|
defaultMatchWidth: "any",
|
|
2717
2717
|
parsePatterns: t3,
|
|
@@ -2749,7 +2749,7 @@ function Fn(t, e, a) {
|
|
|
2749
2749
|
var J = $e(t);
|
|
2750
2750
|
if (!Bn(J))
|
|
2751
2751
|
throw new RangeError("Invalid time value");
|
|
2752
|
-
var ae =
|
|
2752
|
+
var ae = ra(J), j = ws(J, ae), G = {
|
|
2753
2753
|
firstWeekContainsDate: z,
|
|
2754
2754
|
weekStartsOn: K,
|
|
2755
2755
|
locale: F,
|
|
@@ -2795,7 +2795,7 @@ function d3(t, e, a) {
|
|
|
2795
2795
|
throw new RangeError("Invalid time value");
|
|
2796
2796
|
var y;
|
|
2797
2797
|
_ < -6 ? y = "other" : _ < -1 ? y = "lastWeek" : _ < 0 ? y = "yesterday" : _ < 1 ? y = "today" : _ < 2 ? y = "tomorrow" : _ < 7 ? y = "nextWeek" : y = "other";
|
|
2798
|
-
var P = ws(h,
|
|
2798
|
+
var P = ws(h, ra(h)), I = ws($, ra($)), L = g.formatRelative(y, P, I, {
|
|
2799
2799
|
locale: g,
|
|
2800
2800
|
weekStartsOn: m
|
|
2801
2801
|
});
|
|
@@ -2804,7 +2804,7 @@ function d3(t, e, a) {
|
|
|
2804
2804
|
weekStartsOn: m
|
|
2805
2805
|
});
|
|
2806
2806
|
}
|
|
2807
|
-
function
|
|
2807
|
+
function ua(t, e) {
|
|
2808
2808
|
var a;
|
|
2809
2809
|
Ce(1, arguments);
|
|
2810
2810
|
var s = Qe((a = e == null ? void 0 : e.additionalDigits) !== null && a !== void 0 ? a : 2);
|
|
@@ -2865,13 +2865,13 @@ function g3(t, e) {
|
|
|
2865
2865
|
var a = t.match(p3);
|
|
2866
2866
|
if (!a)
|
|
2867
2867
|
return /* @__PURE__ */ new Date(NaN);
|
|
2868
|
-
var s = !!a[4], n =
|
|
2868
|
+
var s = !!a[4], n = ta(a[1]), o = ta(a[2]) - 1, i = ta(a[3]), l = ta(a[4]), r = ta(a[5]) - 1;
|
|
2869
2869
|
if (s)
|
|
2870
2870
|
return k3(e, l, r) ? y3(e, l, r) : /* @__PURE__ */ new Date(NaN);
|
|
2871
2871
|
var c = /* @__PURE__ */ new Date(0);
|
|
2872
2872
|
return !w3(e, o, i) || !$3(e, n) ? /* @__PURE__ */ new Date(NaN) : (c.setUTCFullYear(e, o, Math.max(n, i)), c);
|
|
2873
2873
|
}
|
|
2874
|
-
function
|
|
2874
|
+
function ta(t) {
|
|
2875
2875
|
return t ? parseInt(t) : 1;
|
|
2876
2876
|
}
|
|
2877
2877
|
function C3(t) {
|
|
@@ -2918,7 +2918,7 @@ function S3(t, e, a) {
|
|
|
2918
2918
|
function A3(t, e) {
|
|
2919
2919
|
return e >= 0 && e <= 59;
|
|
2920
2920
|
}
|
|
2921
|
-
var Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {}, Wn = {},
|
|
2921
|
+
var Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {}, Wn = {}, aa = {}, Ca = {}, xt = {}, xa = {};
|
|
2922
2922
|
Object.defineProperty(xa, "__esModule", { value: !0 });
|
|
2923
2923
|
xa.lexoHelper = void 0;
|
|
2924
2924
|
xa.lexoHelper = {
|
|
@@ -2956,8 +2956,8 @@ class T3 {
|
|
|
2956
2956
|
}
|
|
2957
2957
|
}
|
|
2958
2958
|
_a.default = T3;
|
|
2959
|
-
Object.defineProperty(
|
|
2960
|
-
|
|
2959
|
+
Object.defineProperty(xt, "__esModule", { value: !0 });
|
|
2960
|
+
xt.LexoInteger = void 0;
|
|
2961
2961
|
const Ia = xa, O3 = _a;
|
|
2962
2962
|
class ie {
|
|
2963
2963
|
constructor(e, a, s) {
|
|
@@ -3152,7 +3152,7 @@ class ie {
|
|
|
3152
3152
|
throw new Error("Expected numbers of same numeral sys");
|
|
3153
3153
|
}
|
|
3154
3154
|
}
|
|
3155
|
-
|
|
3155
|
+
xt.LexoInteger = ie;
|
|
3156
3156
|
ie.ZERO_MAG = [0];
|
|
3157
3157
|
ie.ONE_MAG = [1];
|
|
3158
3158
|
ie.NEGATIVE_SIGN = -1;
|
|
@@ -3160,23 +3160,23 @@ ie.ZERO_SIGN = 0;
|
|
|
3160
3160
|
ie.POSITIVE_SIGN = 1;
|
|
3161
3161
|
Object.defineProperty(Ca, "__esModule", { value: !0 });
|
|
3162
3162
|
Ca.LexoDecimal = void 0;
|
|
3163
|
-
const
|
|
3163
|
+
const sa = xt, E3 = _a;
|
|
3164
3164
|
class Pe {
|
|
3165
3165
|
constructor(e, a) {
|
|
3166
3166
|
this.mag = e, this.sig = a;
|
|
3167
3167
|
}
|
|
3168
3168
|
static half(e) {
|
|
3169
3169
|
const a = e.getBase() / 2 | 0;
|
|
3170
|
-
return Pe.make(
|
|
3170
|
+
return Pe.make(sa.LexoInteger.make(e, 1, [a]), 1);
|
|
3171
3171
|
}
|
|
3172
3172
|
static parse(e, a) {
|
|
3173
3173
|
const s = e.indexOf(a.getRadixPointChar());
|
|
3174
3174
|
if (e.lastIndexOf(a.getRadixPointChar()) !== s)
|
|
3175
3175
|
throw new Error("More than one " + a.getRadixPointChar());
|
|
3176
3176
|
if (s < 0)
|
|
3177
|
-
return Pe.make(
|
|
3177
|
+
return Pe.make(sa.LexoInteger.parse(e, a), 0);
|
|
3178
3178
|
const n = e.substring(0, s) + e.substring(s + 1);
|
|
3179
|
-
return Pe.make(
|
|
3179
|
+
return Pe.make(sa.LexoInteger.parse(n, a), e.length - 1 - s);
|
|
3180
3180
|
}
|
|
3181
3181
|
static from(e) {
|
|
3182
3182
|
return Pe.make(e, 0);
|
|
@@ -3219,7 +3219,7 @@ class Pe {
|
|
|
3219
3219
|
if (this.isExact())
|
|
3220
3220
|
return this.mag;
|
|
3221
3221
|
const e = this.floor();
|
|
3222
|
-
return e.add(
|
|
3222
|
+
return e.add(sa.LexoInteger.one(e.getSystem()));
|
|
3223
3223
|
}
|
|
3224
3224
|
isExact() {
|
|
3225
3225
|
if (this.sig === 0)
|
|
@@ -3238,7 +3238,7 @@ class Pe {
|
|
|
3238
3238
|
e < 0 && (e = 0);
|
|
3239
3239
|
const s = this.sig - e;
|
|
3240
3240
|
let n = this.mag.shiftRight(s);
|
|
3241
|
-
return a && (n = n.add(
|
|
3241
|
+
return a && (n = n.add(sa.LexoInteger.one(n.getSystem()))), Pe.make(n, e);
|
|
3242
3242
|
}
|
|
3243
3243
|
compareTo(e) {
|
|
3244
3244
|
if (this === e)
|
|
@@ -3270,7 +3270,7 @@ function zn() {
|
|
|
3270
3270
|
if (mn)
|
|
3271
3271
|
return La;
|
|
3272
3272
|
mn = 1, Object.defineProperty(La, "__esModule", { value: !0 });
|
|
3273
|
-
const t =
|
|
3273
|
+
const t = xt, e = Yn();
|
|
3274
3274
|
class a {
|
|
3275
3275
|
constructor(n) {
|
|
3276
3276
|
this.value = t.LexoInteger.parse(n, e.LexoRank.NUMERAL_SYSTEM);
|
|
@@ -3437,8 +3437,8 @@ Xa.LexoNumeralSystem64 = P3;
|
|
|
3437
3437
|
var gn;
|
|
3438
3438
|
function Yn() {
|
|
3439
3439
|
if (gn)
|
|
3440
|
-
return
|
|
3441
|
-
gn = 1, Object.defineProperty(
|
|
3440
|
+
return aa;
|
|
3441
|
+
gn = 1, Object.defineProperty(aa, "__esModule", { value: !0 }), aa.LexoRank = void 0;
|
|
3442
3442
|
const t = Ca, e = zn(), a = _a, s = Ps;
|
|
3443
3443
|
class n {
|
|
3444
3444
|
constructor(i, l) {
|
|
@@ -3610,7 +3610,7 @@ function Yn() {
|
|
|
3610
3610
|
return this === i ? 0 : i ? this.value.localeCompare(i.value) : 1;
|
|
3611
3611
|
}
|
|
3612
3612
|
}
|
|
3613
|
-
return
|
|
3613
|
+
return aa.LexoRank = n, aa;
|
|
3614
3614
|
}
|
|
3615
3615
|
(function(t) {
|
|
3616
3616
|
var e = Ve && Ve.__createBinding || (Object.create ? function(s, n, o, i) {
|
|
@@ -3625,7 +3625,7 @@ function Yn() {
|
|
|
3625
3625
|
for (var o in s)
|
|
3626
3626
|
o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
|
|
3627
3627
|
};
|
|
3628
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(Yn(), t), a(zn(), t), a(Ca, t), a(
|
|
3628
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Yn(), t), a(zn(), t), a(Ca, t), a(xt, t);
|
|
3629
3629
|
})(Wn);
|
|
3630
3630
|
(function(t) {
|
|
3631
3631
|
var e = Ve && Ve.__createBinding || (Object.create ? function(s, n, o, i) {
|
|
@@ -3686,7 +3686,7 @@ function Ut(t, e) {
|
|
|
3686
3686
|
function Qa(t, e = "dd/MM/yyyy") {
|
|
3687
3687
|
if (!t)
|
|
3688
3688
|
return "";
|
|
3689
|
-
const a =
|
|
3689
|
+
const a = ua(t);
|
|
3690
3690
|
return Bn(a) ? Fn(a, e) : "";
|
|
3691
3691
|
}
|
|
3692
3692
|
function Hs(t, e) {
|
|
@@ -3811,13 +3811,13 @@ const F3 = { class: "ao-card-template__subitems" }, Z3 = { class: "ao-card-templ
|
|
|
3811
3811
|
f("span", G3, W(l.$t("template.phases.title")), 1)
|
|
3812
3812
|
]),
|
|
3813
3813
|
l.phases ? (p(), C("ul", X3, [
|
|
3814
|
-
(p(!0), C(fe, null, _e(o.value, (c) => (p(), D(
|
|
3814
|
+
(p(!0), C(fe, null, _e(o.value, (c) => (p(), D(la, {
|
|
3815
3815
|
key: c.id,
|
|
3816
3816
|
label: c.name || c.id,
|
|
3817
3817
|
color: "primary",
|
|
3818
3818
|
variant: "solid"
|
|
3819
3819
|
}, null, 8, ["label"]))), 128)),
|
|
3820
|
-
i.value > 0 ? (p(), D(
|
|
3820
|
+
i.value > 0 ? (p(), D(la, {
|
|
3821
3821
|
key: 0,
|
|
3822
3822
|
label: `+${i.value} more`,
|
|
3823
3823
|
color: "primary-lighter",
|
|
@@ -4223,7 +4223,7 @@ const C5 = /* @__PURE__ */ q({
|
|
|
4223
4223
|
], 2));
|
|
4224
4224
|
}
|
|
4225
4225
|
});
|
|
4226
|
-
const
|
|
4226
|
+
const ca = Math.min, He = Math.max, Ua = Math.round, Pa = Math.floor, pt = (t) => ({
|
|
4227
4227
|
x: t,
|
|
4228
4228
|
y: t
|
|
4229
4229
|
}), I5 = {
|
|
@@ -4566,10 +4566,10 @@ const U5 = function(t) {
|
|
|
4566
4566
|
let y = g, P = m;
|
|
4567
4567
|
if (d) {
|
|
4568
4568
|
const L = v - r.left - r.right;
|
|
4569
|
-
P = u || _ ?
|
|
4569
|
+
P = u || _ ? ca(m, L) : L;
|
|
4570
4570
|
} else {
|
|
4571
4571
|
const L = h - r.top - r.bottom;
|
|
4572
|
-
y = u || _ ?
|
|
4572
|
+
y = u || _ ? ca(g, L) : L;
|
|
4573
4573
|
}
|
|
4574
4574
|
if (_ && !u) {
|
|
4575
4575
|
const L = He(r.left, 0), F = He(r.right, 0), z = He(r.top, 0), K = He(r.bottom, 0);
|
|
@@ -4671,11 +4671,11 @@ function ei(t) {
|
|
|
4671
4671
|
const e = Zt(t);
|
|
4672
4672
|
return ts(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : We(e) && wa(e) ? e : ei(e);
|
|
4673
4673
|
}
|
|
4674
|
-
function
|
|
4674
|
+
function da(t, e, a) {
|
|
4675
4675
|
var s;
|
|
4676
4676
|
e === void 0 && (e = []), a === void 0 && (a = !0);
|
|
4677
4677
|
const n = ei(t), o = n === ((s = t.ownerDocument) == null ? void 0 : s.body), i = Te(n);
|
|
4678
|
-
return o ? e.concat(i, i.visualViewport || [], wa(n) ? n : [], i.frameElement && a ?
|
|
4678
|
+
return o ? e.concat(i, i.visualViewport || [], wa(n) ? n : [], i.frameElement && a ? da(i.frameElement) : []) : e.concat(n, da(n));
|
|
4679
4679
|
}
|
|
4680
4680
|
function ti(t) {
|
|
4681
4681
|
const e = je(t);
|
|
@@ -4830,7 +4830,7 @@ function Q5(t, e) {
|
|
|
4830
4830
|
const a = e.get(t);
|
|
4831
4831
|
if (a)
|
|
4832
4832
|
return a;
|
|
4833
|
-
let s =
|
|
4833
|
+
let s = da(t, [], !1).filter((l) => et(l) && vt(l) !== "body"), n = null;
|
|
4834
4834
|
const o = je(t).position === "fixed";
|
|
4835
4835
|
let i = o ? Zt(t) : t;
|
|
4836
4836
|
for (; et(i) && !ts(i); ) {
|
|
@@ -4848,7 +4848,7 @@ function J5(t) {
|
|
|
4848
4848
|
} = t;
|
|
4849
4849
|
const i = [...a === "clippingAncestors" ? Q5(e, this._c) : [].concat(a), s], l = i[0], r = i.reduce((c, u) => {
|
|
4850
4850
|
const d = yn(e, u, n);
|
|
4851
|
-
return c.top = He(d.top, c.top), c.right =
|
|
4851
|
+
return c.top = He(d.top, c.top), c.right = ca(d.right, c.right), c.bottom = ca(d.bottom, c.bottom), c.left = He(d.left, c.left), c;
|
|
4852
4852
|
}, yn(e, l, n));
|
|
4853
4853
|
return {
|
|
4854
4854
|
width: r.right - r.left,
|
|
@@ -4941,7 +4941,7 @@ function i7(t, e) {
|
|
|
4941
4941
|
return;
|
|
4942
4942
|
const h = Pa(u), $ = Pa(n.clientWidth - (c + d)), w = Pa(n.clientHeight - (u + v)), g = Pa(c), _ = {
|
|
4943
4943
|
rootMargin: -h + "px " + -$ + "px " + -w + "px " + -g + "px",
|
|
4944
|
-
threshold: He(0,
|
|
4944
|
+
threshold: He(0, ca(1, r)) || 1
|
|
4945
4945
|
};
|
|
4946
4946
|
let y = !0;
|
|
4947
4947
|
function P(I) {
|
|
@@ -4976,7 +4976,7 @@ function o7(t, e, a, s) {
|
|
|
4976
4976
|
elementResize: i = typeof ResizeObserver == "function",
|
|
4977
4977
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
4978
4978
|
animationFrame: r = !1
|
|
4979
|
-
} = s, c = Ns(t), u = n || o ? [...c ?
|
|
4979
|
+
} = s, c = Ns(t), u = n || o ? [...c ? da(c) : [], ...da(e)] : [];
|
|
4980
4980
|
u.forEach((m) => {
|
|
4981
4981
|
n && m.addEventListener("scroll", a, {
|
|
4982
4982
|
passive: !0
|
|
@@ -5195,7 +5195,7 @@ function h7(t, e, a) {
|
|
|
5195
5195
|
disabledProp: b,
|
|
5196
5196
|
searchStart: V,
|
|
5197
5197
|
searchFilter: oe
|
|
5198
|
-
} = Ee(t), ne = It().proxy, Z = a.iv, H = a.ev, Y = a.search, he = a.clearSearch, ke = a.update,
|
|
5198
|
+
} = Ee(t), ne = It().proxy, Z = a.iv, H = a.ev, Y = a.search, he = a.clearSearch, ke = a.update, Kt = a.pointer, Gt = a.setPointer, st = a.clearPointer, $a = a.focus, rs = a.deactivate, nt = a.close, ka = a.localize, it = x([]), Ue = x([]), Ie = x(!1), Re = x(null), Ye = x(ee.value && i.value === -1 ? 10 : i.value), Xt = M(() => r.value || c.value || !1), Sa = M(() => d.value !== void 0 ? d.value : v.value !== void 0 ? v.value : !0), Le = M(() => {
|
|
5199
5199
|
if (le.value) {
|
|
5200
5200
|
let S = yt.value || /* istanbul ignore next */
|
|
5201
5201
|
[], B = [];
|
|
@@ -5209,11 +5209,11 @@ function h7(t, e, a) {
|
|
|
5209
5209
|
[]);
|
|
5210
5210
|
return it.value.length && (S = S.concat(it.value)), S;
|
|
5211
5211
|
}
|
|
5212
|
-
}),
|
|
5212
|
+
}), Qt = M(() => {
|
|
5213
5213
|
let S = Le.value;
|
|
5214
5214
|
return se.value && (S = S.reverse()), Lt.value.length && (S = Lt.value.concat(S)), fs(S);
|
|
5215
5215
|
}), ot = M(() => {
|
|
5216
|
-
let S =
|
|
5216
|
+
let S = Qt.value;
|
|
5217
5217
|
return Ye.value > 0 && (S = S.slice(0, Ye.value)), S;
|
|
5218
5218
|
}), yt = M(() => {
|
|
5219
5219
|
if (!le.value)
|
|
@@ -5255,7 +5255,7 @@ function h7(t, e, a) {
|
|
|
5255
5255
|
case "tags":
|
|
5256
5256
|
return !Fe(Z.value) && Z.value.length > 0;
|
|
5257
5257
|
}
|
|
5258
|
-
}), Ci = M(() => h !== void 0 && h.value !== void 0 ? h.value(Z.value, ne) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), _i = M(() => !Le.value.length && !Ie.value && !Lt.value.length), yi = M(() => Le.value.length > 0 && ot.value.length == 0 && (Y.value && le.value || !le.value)), Lt = M(() =>
|
|
5258
|
+
}), Ci = M(() => h !== void 0 && h.value !== void 0 ? h.value(Z.value, ne) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), _i = M(() => !Le.value.length && !Ie.value && !Lt.value.length), yi = M(() => Le.value.length > 0 && ot.value.length == 0 && (Y.value && le.value || !le.value)), Lt = M(() => Xt.value === !1 || !Y.value ? [] : Oi(Y.value) !== -1 ? [] : [{
|
|
5259
5259
|
[L.value]: Y.value,
|
|
5260
5260
|
[bt.value[0]]: Y.value,
|
|
5261
5261
|
[u.value]: Y.value,
|
|
@@ -5360,13 +5360,13 @@ function h7(t, e, a) {
|
|
|
5360
5360
|
case "tags":
|
|
5361
5361
|
Mi(S[E.value]) ? Ht(S[E.value]) : Pt(
|
|
5362
5362
|
S[E.value].filter((B) => Z.value.map((ue) => ue[L.value]).indexOf(B[L.value]) === -1).filter((B) => !B[b.value]).filter((B, ue) => Z.value.length + 1 + ue <= J.value || J.value === -1)
|
|
5363
|
-
), l.value &&
|
|
5363
|
+
), l.value && Kt.value && Gt(us.value.filter((B) => !B[b.value])[Kt.value.index]);
|
|
5364
5364
|
break;
|
|
5365
5365
|
}
|
|
5366
5366
|
j.value && rs();
|
|
5367
5367
|
}
|
|
5368
5368
|
}, vs = (S) => {
|
|
5369
|
-
Ke(S[L.value]) === void 0 &&
|
|
5369
|
+
Ke(S[L.value]) === void 0 && Xt.value && (e.emit("tag", S[L.value], ne), e.emit("option", S[L.value], ne), e.emit("create", S[L.value], ne), Sa.value && Ii(S), he());
|
|
5370
5370
|
}, Ai = () => {
|
|
5371
5371
|
n.value !== "single" && Pt(ot.value.filter((S) => !S.disabled && !xe(S)));
|
|
5372
5372
|
}, Mi = (S) => S.find((B) => !xe(B) && !B[b.value]) === void 0, Ti = (S) => S.find((B) => !xe(B)) === void 0, Ke = (S) => Le.value[Le.value.map((B) => String(B[L.value])).indexOf(String(S))], Oi = (S) => Le.value.findIndex((B) => bt.value.some((ue) => (parseInt(B[ue]) == B[ue] ? parseInt(B[ue]) : B[ue]) === (parseInt(S) == S ? parseInt(S) : S))), Ei = (S) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && xe(S), Ii = (S) => {
|
|
@@ -5429,7 +5429,7 @@ function h7(t, e, a) {
|
|
|
5429
5429
|
Re.value = ce(Y, (S) => {
|
|
5430
5430
|
S.length < _.value || !S && _.value !== 0 || (Ie.value = !0, P.value && (Ue.value = []), setTimeout(() => {
|
|
5431
5431
|
S == Y.value && s.value(Y.value, ne).then((B) => {
|
|
5432
|
-
(S == Y.value || !Y.value) && (Ue.value = B,
|
|
5432
|
+
(S == Y.value || !Y.value) && (Ue.value = B, Kt.value = ot.value.filter((ue) => ue[b.value] !== !0)[0] || null, Ie.value = !1);
|
|
5433
5433
|
}).catch(
|
|
5434
5434
|
/* istanbul ignore next */
|
|
5435
5435
|
(B) => {
|
|
@@ -5462,7 +5462,7 @@ function h7(t, e, a) {
|
|
|
5462
5462
|
}), ce(u, ms), ce(i, (S, B) => {
|
|
5463
5463
|
Ye.value = ee.value && S === -1 ? 10 : S;
|
|
5464
5464
|
}), {
|
|
5465
|
-
pfo:
|
|
5465
|
+
pfo: Qt,
|
|
5466
5466
|
fo: ot,
|
|
5467
5467
|
filteredOptions: ot,
|
|
5468
5468
|
hasSelected: cs,
|
|
@@ -5713,13 +5713,13 @@ function ss(t) {
|
|
|
5713
5713
|
function ri(t) {
|
|
5714
5714
|
return ["html", "body", "#document"].indexOf(ze(t)) >= 0 ? t.ownerDocument.body : Be(t) && Ws(t) ? t : ri(ss(t));
|
|
5715
5715
|
}
|
|
5716
|
-
function
|
|
5716
|
+
function ia(t, e) {
|
|
5717
5717
|
var a;
|
|
5718
5718
|
e === void 0 && (e = []);
|
|
5719
5719
|
var s = ri(t), n = s === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Oe(s), i = n ? [o].concat(o.visualViewport || [], Ws(s) ? s : []) : s, l = e.concat(i);
|
|
5720
5720
|
return n ? l : (
|
|
5721
5721
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
5722
|
-
l.concat(
|
|
5722
|
+
l.concat(ia(ss(i)))
|
|
5723
5723
|
);
|
|
5724
5724
|
}
|
|
5725
5725
|
function b7(t) {
|
|
@@ -5750,10 +5750,10 @@ function ns(t) {
|
|
|
5750
5750
|
a = wn(a);
|
|
5751
5751
|
return a && (ze(a) === "html" || ze(a) === "body" && tt(a).position === "static") ? e : a || w7(t) || e;
|
|
5752
5752
|
}
|
|
5753
|
-
var Ne = "top", qe = "bottom", ft = "right", Ge = "left", zs = "auto", is = [Ne, qe, ft, Ge], qt = "start",
|
|
5754
|
-
return t.concat([e + "-" + qt, e + "-" +
|
|
5753
|
+
var Ne = "top", qe = "bottom", ft = "right", Ge = "left", zs = "auto", is = [Ne, qe, ft, Ge], qt = "start", pa = "end", $7 = "clippingParents", ui = "viewport", na = "popper", k7 = "reference", $n = /* @__PURE__ */ is.reduce(function(t, e) {
|
|
5754
|
+
return t.concat([e + "-" + qt, e + "-" + pa]);
|
|
5755
5755
|
}, []), S7 = /* @__PURE__ */ [].concat(is, [zs]).reduce(function(t, e) {
|
|
5756
|
-
return t.concat([e, e + "-" + qt, e + "-" +
|
|
5756
|
+
return t.concat([e, e + "-" + qt, e + "-" + pa]);
|
|
5757
5757
|
}, []), A7 = "beforeRead", M7 = "read", T7 = "afterRead", O7 = "beforeMain", E7 = "main", I7 = "afterMain", L7 = "beforeWrite", P7 = "write", H7 = "afterWrite", V7 = [A7, M7, T7, O7, E7, I7, L7, P7, H7];
|
|
5758
5758
|
function D7(t) {
|
|
5759
5759
|
var e = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), s = [];
|
|
@@ -5857,7 +5857,7 @@ function kn(t, e, a) {
|
|
|
5857
5857
|
return e === ui ? Ss(N7(t, a)) : Ot(e) ? Z7(e, a) : Ss(U7(Ct(t)));
|
|
5858
5858
|
}
|
|
5859
5859
|
function W7(t) {
|
|
5860
|
-
var e =
|
|
5860
|
+
var e = ia(ss(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, s = a && Be(t) ? ns(t) : t;
|
|
5861
5861
|
return Ot(s) ? e.filter(function(n) {
|
|
5862
5862
|
return Ot(n) && F7(n, s) && ze(n) !== "body";
|
|
5863
5863
|
}) : [];
|
|
@@ -5918,7 +5918,7 @@ function di(t) {
|
|
|
5918
5918
|
case qt:
|
|
5919
5919
|
r[c] = r[c] - (e[u] / 2 - a[u] / 2);
|
|
5920
5920
|
break;
|
|
5921
|
-
case
|
|
5921
|
+
case pa:
|
|
5922
5922
|
r[c] = r[c] + (e[u] / 2 - a[u] / 2);
|
|
5923
5923
|
break;
|
|
5924
5924
|
}
|
|
@@ -5943,18 +5943,18 @@ function Y7(t, e) {
|
|
|
5943
5943
|
}
|
|
5944
5944
|
function qs(t, e) {
|
|
5945
5945
|
e === void 0 && (e = {});
|
|
5946
|
-
var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? $7 : l, c = a.rootBoundary, u = c === void 0 ? ui : c, d = a.elementContext, v = d === void 0 ?
|
|
5946
|
+
var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? $7 : l, c = a.rootBoundary, u = c === void 0 ? ui : c, d = a.elementContext, v = d === void 0 ? na : d, h = a.altBoundary, $ = h === void 0 ? !1 : h, w = a.padding, g = w === void 0 ? 0 : w, m = q7(typeof g != "number" ? g : Y7(g, is)), _ = v === na ? k7 : na, y = t.rects.popper, P = t.elements[$ ? _ : v], I = z7(Ot(P) ? P : P.contextElement || Ct(t.elements.popper), r, u, i), L = zt(t.elements.reference), F = di({
|
|
5947
5947
|
reference: L,
|
|
5948
5948
|
element: y,
|
|
5949
5949
|
strategy: "absolute",
|
|
5950
5950
|
placement: n
|
|
5951
|
-
}), z = Ss(Object.assign({}, y, F)), K = v ===
|
|
5951
|
+
}), z = Ss(Object.assign({}, y, F)), K = v === na ? z : L, J = {
|
|
5952
5952
|
top: I.top - K.top + m.top,
|
|
5953
5953
|
bottom: K.bottom - I.bottom + m.bottom,
|
|
5954
5954
|
left: I.left - K.left + m.left,
|
|
5955
5955
|
right: K.right - I.right + m.right
|
|
5956
5956
|
}, ae = t.modifiersData.offset;
|
|
5957
|
-
if (v ===
|
|
5957
|
+
if (v === na && ae) {
|
|
5958
5958
|
var j = ae[n];
|
|
5959
5959
|
Object.keys(J).forEach(function(G) {
|
|
5960
5960
|
var le = [ft, qe].indexOf(G) >= 0 ? 1 : -1, se = [Ne, qe].indexOf(G) >= 0 ? "y" : "x";
|
|
@@ -5996,8 +5996,8 @@ function x7(t) {
|
|
|
5996
5996
|
setOptions: function(m) {
|
|
5997
5997
|
var _ = typeof m == "function" ? m(u.options) : m;
|
|
5998
5998
|
w(), u.options = Object.assign({}, o, u.options, _), u.scrollParents = {
|
|
5999
|
-
reference: Ot(l) ?
|
|
6000
|
-
popper:
|
|
5999
|
+
reference: Ot(l) ? ia(l) : l.contextElement ? ia(l.contextElement) : [],
|
|
6000
|
+
popper: ia(r)
|
|
6001
6001
|
};
|
|
6002
6002
|
var y = B7(R7([].concat(s, u.options.modifiers)));
|
|
6003
6003
|
return u.orderedModifiers = y.filter(function(P) {
|
|
@@ -6136,7 +6136,7 @@ function Mn(t) {
|
|
|
6136
6136
|
var m = i.hasOwnProperty("x"), _ = i.hasOwnProperty("y"), y = Ge, P = Ne, I = window;
|
|
6137
6137
|
if (c) {
|
|
6138
6138
|
var L = ns(a), F = "clientHeight", z = "clientWidth";
|
|
6139
|
-
if (L === Oe(a) && (L = Ct(a), tt(L).position !== "static" && l === "absolute" && (F = "scrollHeight", z = "scrollWidth")), L = L, n === Ne || (n === Ge || n === ft) && o ===
|
|
6139
|
+
if (L === Oe(a) && (L = Ct(a), tt(L).position !== "static" && l === "absolute" && (F = "scrollHeight", z = "scrollWidth")), L = L, n === Ne || (n === Ge || n === ft) && o === pa) {
|
|
6140
6140
|
P = qe;
|
|
6141
6141
|
var K = d && L === I && I.visualViewport ? I.visualViewport.height : (
|
|
6142
6142
|
// $FlowFixMe[prop-missing]
|
|
@@ -6144,7 +6144,7 @@ function Mn(t) {
|
|
|
6144
6144
|
);
|
|
6145
6145
|
w -= K - s.height, w *= r ? 1 : -1;
|
|
6146
6146
|
}
|
|
6147
|
-
if (n === Ge || (n === Ne || n === qe) && o ===
|
|
6147
|
+
if (n === Ge || (n === Ne || n === qe) && o === pa) {
|
|
6148
6148
|
y = ft;
|
|
6149
6149
|
var J = d && L === I && I.visualViewport ? I.visualViewport.width : (
|
|
6150
6150
|
// $FlowFixMe[prop-missing]
|
|
@@ -6275,11 +6275,11 @@ function cp(t) {
|
|
|
6275
6275
|
var G, le = P === "y" ? Ne : Ge, se = P === "y" ? qe : ft, ee = P === "y" ? "height" : "width", E = L[P], T = E + g[le], k = E - g[se], R = h ? -z[ee] / 2 : 0, b = _ === qt ? F[ee] : z[ee], V = _ === qt ? -z[ee] : -F[ee], oe = e.elements.arrow, ne = h && oe ? li(oe) : {
|
|
6276
6276
|
width: 0,
|
|
6277
6277
|
height: 0
|
|
6278
|
-
}, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : pi(), H = Z[le], Y = Z[se], he = Va(0, F[ee], ne[ee]), ke = y ? F[ee] / 2 - R - he - H - J.mainAxis : b - he - H - J.mainAxis,
|
|
6278
|
+
}, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : pi(), H = Z[le], Y = Z[se], he = Va(0, F[ee], ne[ee]), ke = y ? F[ee] / 2 - R - he - H - J.mainAxis : b - he - H - J.mainAxis, Kt = y ? -F[ee] / 2 + R + he + Y + J.mainAxis : V + he + Y + J.mainAxis, Gt = e.elements.arrow && ns(e.elements.arrow), st = Gt ? P === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, $a = (G = ae == null ? void 0 : ae[P]) != null ? G : 0, rs = E + ke - $a - st, nt = E + Kt - $a, ka = Va(h ? Wa(T, rs) : T, E, h ? St(k, nt) : k);
|
|
6279
6279
|
L[P] = ka, j[P] = ka - E;
|
|
6280
6280
|
}
|
|
6281
6281
|
if (l) {
|
|
6282
|
-
var it, Ue = P === "x" ? Ne : Ge, Ie = P === "x" ? qe : ft, Re = L[I], Ye = I === "y" ? "height" : "width",
|
|
6282
|
+
var it, Ue = P === "x" ? Ne : Ge, Ie = P === "x" ? qe : ft, Re = L[I], Ye = I === "y" ? "height" : "width", Xt = Re + g[Ue], Sa = Re - g[Ie], Le = [Ne, Ge].indexOf(m) !== -1, Qt = (it = ae == null ? void 0 : ae[I]) != null ? it : 0, ot = Le ? Xt : Re - F[Ye] - z[Ye] - Qt + J.altAxis, yt = Le ? Re + F[Ye] + z[Ye] - Qt - J.altAxis : Sa, Aa = h && Le ? up(ot, Re, yt) : Va(h ? ot : Xt, Re, h ? yt : Sa);
|
|
6283
6283
|
L[I] = Aa, j[I] = Aa - Re;
|
|
6284
6284
|
}
|
|
6285
6285
|
e.modifiersData[s] = j;
|
|
@@ -8017,7 +8017,7 @@ const vv = { class: "ao-comment" }, fv = { class: "ao-comment__created-at" }, hv
|
|
|
8017
8017
|
const w = a.user;
|
|
8018
8018
|
return w ? `${w == null ? void 0 : w.firstName} ${w == null ? void 0 : w.lastName}` : null;
|
|
8019
8019
|
}), n = x(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = Pn(n), c = M(() => {
|
|
8020
|
-
const w = a.editedAt &&
|
|
8020
|
+
const w = a.editedAt && ua(a.editedAt), g = ua(a.createdAt), m = /* @__PURE__ */ new Date(), _ = w ?? g;
|
|
8021
8021
|
return _ && d3(_, m);
|
|
8022
8022
|
}), u = M(() => o.value ? "textarea" : "p"), d = r(), v = l((w) => {
|
|
8023
8023
|
e("edit", w);
|
|
@@ -8114,7 +8114,7 @@ const _v = { class: "ao-comments__header" }, yv = ["onSubmit"], bv = ["placehold
|
|
|
8114
8114
|
emits: ["createComment", "updateComment", "removeComment"],
|
|
8115
8115
|
setup(t, { emit: e }) {
|
|
8116
8116
|
const a = t, s = M(() => (a.comments || []).toSorted(
|
|
8117
|
-
(v, h) => t0(
|
|
8117
|
+
(v, h) => t0(ua(v.createdAt), ua(h.createdAt))
|
|
8118
8118
|
)), n = (d) => a.users.find((h) => h.id === d), o = x();
|
|
8119
8119
|
Me(() => {
|
|
8120
8120
|
o.value && (o.value.scrollTop = o.value.scrollHeight);
|
|
@@ -8457,7 +8457,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8457
8457
|
f("div", Sv, [
|
|
8458
8458
|
f("div", Av, [
|
|
8459
8459
|
f("div", Mv, [
|
|
8460
|
-
b.activity.slug ? (p(), D(
|
|
8460
|
+
b.activity.slug ? (p(), D(la, {
|
|
8461
8461
|
key: 0,
|
|
8462
8462
|
label: b.activity.slug,
|
|
8463
8463
|
clickable: !0,
|
|
@@ -9401,7 +9401,7 @@ const ls = /* @__PURE__ */ q({
|
|
|
9401
9401
|
(p(!0), C(fe, null, _e(a.value, (o) => (p(), C("div", {
|
|
9402
9402
|
key: o,
|
|
9403
9403
|
class: X(["ao-progress__progress"]),
|
|
9404
|
-
style:
|
|
9404
|
+
style: va({ width: `${o * 100}%` })
|
|
9405
9405
|
}, null, 4))), 128))
|
|
9406
9406
|
], 2));
|
|
9407
9407
|
}
|
|
@@ -9539,7 +9539,7 @@ const Xf = /* @__PURE__ */ q({
|
|
|
9539
9539
|
setup(t) {
|
|
9540
9540
|
return (e, a) => (p(), C("span", {
|
|
9541
9541
|
class: "aoBadge",
|
|
9542
|
-
style:
|
|
9542
|
+
style: va({ backgroundColor: e.color })
|
|
9543
9543
|
}, null, 4));
|
|
9544
9544
|
}
|
|
9545
9545
|
});
|
|
@@ -10635,7 +10635,7 @@ const Vh = { class: "color-picker-wrapper" }, vi = /* @__PURE__ */ q({
|
|
|
10635
10635
|
return (l, r) => (p(), C("div", Vh, [
|
|
10636
10636
|
te(l.$slots, "clickable", {
|
|
10637
10637
|
openPicker: n,
|
|
10638
|
-
|
|
10638
|
+
bgColor: l.color
|
|
10639
10639
|
}),
|
|
10640
10640
|
a.value ? (p(), C("div", {
|
|
10641
10641
|
key: 0,
|
|
@@ -10711,12 +10711,12 @@ const Dh = { class: "ao-mapping-card-project-phase__header" }, Bh = { class: "ao
|
|
|
10711
10711
|
color: c.value,
|
|
10712
10712
|
"onUpdate:color": v[2] || (v[2] = (h) => c.value = h)
|
|
10713
10713
|
}, {
|
|
10714
|
-
clickable: N(({ openPicker: h,
|
|
10714
|
+
clickable: N(({ openPicker: h, bgColor: $ }) => [
|
|
10715
10715
|
A(os, {
|
|
10716
10716
|
class: "ao-mapping-card-project-phase",
|
|
10717
10717
|
"is-clickable": d.isEditable,
|
|
10718
10718
|
onClick: (w) => u(w, h),
|
|
10719
|
-
style:
|
|
10719
|
+
style: va({ "--ao-card-custom-bg": $ })
|
|
10720
10720
|
}, fa({
|
|
10721
10721
|
default: N(() => [
|
|
10722
10722
|
f("div", Bh, [
|
|
@@ -11485,7 +11485,7 @@ const S9 = { class: "ao-card-feed__header" }, A9 = {
|
|
|
11485
11485
|
}, {
|
|
11486
11486
|
header: N(() => [
|
|
11487
11487
|
f("div", S9, [
|
|
11488
|
-
s.value ? (p(), D(
|
|
11488
|
+
s.value ? (p(), D(la, {
|
|
11489
11489
|
key: 0,
|
|
11490
11490
|
label: s.value,
|
|
11491
11491
|
class: "ao-card-feed__project",
|
|
@@ -11783,9 +11783,9 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11783
11783
|
color: v.value,
|
|
11784
11784
|
"onUpdate:color": y[3] || (y[3] = (I) => v.value = I)
|
|
11785
11785
|
}, {
|
|
11786
|
-
clickable: N(({ openPicker: I,
|
|
11786
|
+
clickable: N(({ openPicker: I, bgColor: L }) => [
|
|
11787
11787
|
f("button", {
|
|
11788
|
-
style:
|
|
11788
|
+
style: va({ background: L }),
|
|
11789
11789
|
class: "color-button",
|
|
11790
11790
|
onClick: I
|
|
11791
11791
|
}, null, 12, s4)
|
|
@@ -11977,7 +11977,7 @@ const o4 = /* @__PURE__ */ q({
|
|
|
11977
11977
|
class: "ao-col-header__title",
|
|
11978
11978
|
level: 4
|
|
11979
11979
|
}, null, 8, ["title"]),
|
|
11980
|
-
e.items ? (p(), D(
|
|
11980
|
+
e.items ? (p(), D(la, {
|
|
11981
11981
|
key: 0,
|
|
11982
11982
|
label: e.items,
|
|
11983
11983
|
class: "ao-col-header__items",
|
|
@@ -11995,7 +11995,7 @@ function za(t) {
|
|
|
11995
11995
|
}
|
|
11996
11996
|
const c4 = typeof window < "u" && typeof document < "u";
|
|
11997
11997
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
11998
|
-
const d4 = (t) => t != null,
|
|
11998
|
+
const d4 = (t) => t != null, oa = () => {
|
|
11999
11999
|
};
|
|
12000
12000
|
function p4(t, e) {
|
|
12001
12001
|
function a(...s) {
|
|
@@ -12006,9 +12006,9 @@ function p4(t, e) {
|
|
|
12006
12006
|
return a;
|
|
12007
12007
|
}
|
|
12008
12008
|
function v4(t, e = {}) {
|
|
12009
|
-
let a, s, n =
|
|
12009
|
+
let a, s, n = oa;
|
|
12010
12010
|
const o = (l) => {
|
|
12011
|
-
clearTimeout(l), n(), n =
|
|
12011
|
+
clearTimeout(l), n(), n = oa;
|
|
12012
12012
|
};
|
|
12013
12013
|
return (l) => {
|
|
12014
12014
|
const r = za(t), c = za(e.maxWait);
|
|
@@ -12054,7 +12054,7 @@ function C4(t, e, a = {}) {
|
|
|
12054
12054
|
const $ = za(t);
|
|
12055
12055
|
return (Array.isArray($) ? $ : [$]).map(bs).filter(d4);
|
|
12056
12056
|
});
|
|
12057
|
-
let u =
|
|
12057
|
+
let u = oa;
|
|
12058
12058
|
const d = x(l), v = r.value ? ce(
|
|
12059
12059
|
() => [c.value, bs(s), d.value],
|
|
12060
12060
|
([$, w]) => {
|
|
@@ -12069,11 +12069,11 @@ function C4(t, e, a = {}) {
|
|
|
12069
12069
|
}
|
|
12070
12070
|
);
|
|
12071
12071
|
$.forEach((m) => m && g.observe(m)), u = () => {
|
|
12072
|
-
g.disconnect(), u =
|
|
12072
|
+
g.disconnect(), u = oa;
|
|
12073
12073
|
};
|
|
12074
12074
|
},
|
|
12075
12075
|
{ immediate: l, flush: "post" }
|
|
12076
|
-
) :
|
|
12076
|
+
) : oa, h = () => {
|
|
12077
12077
|
u(), v(), d.value = !1;
|
|
12078
12078
|
};
|
|
12079
12079
|
return u4(h), {
|