@26lights/orcha 0.36.30 → 0.36.32
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 +2 -2
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +540 -528
- package/dist/orcha.umd.js +3 -3
- package/dist/src/components/AoBadge.vue.d.ts +12 -0
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as z, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as S, resolveDynamicComponent as ht, normalizeClass as K, renderSlot as te, toDisplayString as G, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as Fa, createVNode as M, normalizeStyle as
|
|
1
|
+
import { defineComponent as z, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as S, resolveDynamicComponent as ht, normalizeClass as K, renderSlot as te, toDisplayString as G, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as Fa, createVNode as M, normalizeStyle as Ua, withModifiers as fe, createSlots as Za, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as $n, Teleport as Nt, toRefs as Me, getCurrentInstance as At, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as Ye, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
|
|
2
2
|
import { RouterView as Ri } from "vue-router";
|
|
3
3
|
import mt from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const d8 = /* @__PURE__ */ z({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -1134,7 +1134,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1134
1134
|
SOLID: "solid",
|
|
1135
1135
|
GHOST: "ghost",
|
|
1136
1136
|
OUTLINE: "outline"
|
|
1137
|
-
},
|
|
1137
|
+
}, Wa = {
|
|
1138
1138
|
SM: "sm",
|
|
1139
1139
|
MD: "md",
|
|
1140
1140
|
LG: "lg",
|
|
@@ -1159,7 +1159,7 @@ const Os = {
|
|
|
1159
1159
|
__name: "AoIcon",
|
|
1160
1160
|
props: {
|
|
1161
1161
|
name: {},
|
|
1162
|
-
size: { default:
|
|
1162
|
+
size: { default: Wa.MD }
|
|
1163
1163
|
},
|
|
1164
1164
|
setup(t) {
|
|
1165
1165
|
const e = t, a = S(() => k2[e.name]);
|
|
@@ -1181,7 +1181,7 @@ const A2 = ["type"], T2 = {
|
|
|
1181
1181
|
type: { default: () => "button" },
|
|
1182
1182
|
color: {},
|
|
1183
1183
|
footer: { type: Boolean, default: () => !1 },
|
|
1184
|
-
size: { default: () =>
|
|
1184
|
+
size: { default: () => Wa.MD },
|
|
1185
1185
|
isLoading: { type: Boolean, default: () => !1 },
|
|
1186
1186
|
corners: { default: () => Os.ROUNDED }
|
|
1187
1187
|
},
|
|
@@ -1413,7 +1413,7 @@ const Mn = /* @__PURE__ */ z({
|
|
|
1413
1413
|
s.closable ? "ao-tag--closable" : "",
|
|
1414
1414
|
s.variant ? `ao-tag--${s.variant}` : ""
|
|
1415
1415
|
]),
|
|
1416
|
-
style:
|
|
1416
|
+
style: Ua(s.rawColor ? { "--ao-tag-bg": s.rawColor } : {})
|
|
1417
1417
|
}, [
|
|
1418
1418
|
(p(), P(ht(a.value), He({ class: "ao-tag__label" }, n.value, {
|
|
1419
1419
|
onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
|
|
@@ -1437,15 +1437,15 @@ const Mn = /* @__PURE__ */ z({
|
|
|
1437
1437
|
], 6));
|
|
1438
1438
|
}
|
|
1439
1439
|
});
|
|
1440
|
-
const
|
|
1440
|
+
const mn = {
|
|
1441
1441
|
todo: "todo",
|
|
1442
1442
|
done: "done",
|
|
1443
1443
|
archived: "archived"
|
|
1444
|
-
},
|
|
1444
|
+
}, p8 = {
|
|
1445
1445
|
months: "months",
|
|
1446
1446
|
weeks: "weeks",
|
|
1447
1447
|
days: "days"
|
|
1448
|
-
},
|
|
1448
|
+
}, f8 = {
|
|
1449
1449
|
future: "future",
|
|
1450
1450
|
this_month: "this_month",
|
|
1451
1451
|
this_week: "this_week",
|
|
@@ -1469,7 +1469,7 @@ const hn = {
|
|
|
1469
1469
|
TASKS: "tasks"
|
|
1470
1470
|
};
|
|
1471
1471
|
var F2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(F2 || {});
|
|
1472
|
-
const
|
|
1472
|
+
const v8 = {
|
|
1473
1473
|
add: "add",
|
|
1474
1474
|
remove: "remove",
|
|
1475
1475
|
moved: "moved"
|
|
@@ -1540,7 +1540,7 @@ function Ds(t) {
|
|
|
1540
1540
|
var e = be(t);
|
|
1541
1541
|
return !isNaN(Number(e));
|
|
1542
1542
|
}
|
|
1543
|
-
function
|
|
1543
|
+
function Cn(t, e) {
|
|
1544
1544
|
ge(2, arguments);
|
|
1545
1545
|
var a = Qe(e);
|
|
1546
1546
|
return U2(t, -a);
|
|
@@ -2397,7 +2397,7 @@ var p0 = {
|
|
|
2397
2397
|
return typeof o == "string" ? s = o : a === 1 ? s = o.one : s = o.other.replace("{{count}}", a.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + s : s + " ago" : s;
|
|
2398
2398
|
};
|
|
2399
2399
|
const v0 = f0;
|
|
2400
|
-
function
|
|
2400
|
+
function pn(t) {
|
|
2401
2401
|
return function() {
|
|
2402
2402
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = e.width ? String(e.width) : t.defaultWidth, n = t.formats[a] || t.formats[t.defaultWidth];
|
|
2403
2403
|
return n;
|
|
@@ -2419,15 +2419,15 @@ var h0 = {
|
|
|
2419
2419
|
medium: "{{date}}, {{time}}",
|
|
2420
2420
|
short: "{{date}}, {{time}}"
|
|
2421
2421
|
}, g0 = {
|
|
2422
|
-
date:
|
|
2422
|
+
date: pn({
|
|
2423
2423
|
formats: h0,
|
|
2424
2424
|
defaultWidth: "full"
|
|
2425
2425
|
}),
|
|
2426
|
-
time:
|
|
2426
|
+
time: pn({
|
|
2427
2427
|
formats: m0,
|
|
2428
2428
|
defaultWidth: "full"
|
|
2429
2429
|
}),
|
|
2430
|
-
dateTime:
|
|
2430
|
+
dateTime: pn({
|
|
2431
2431
|
formats: C0,
|
|
2432
2432
|
defaultWidth: "full"
|
|
2433
2433
|
})
|
|
@@ -2737,7 +2737,7 @@ function Ns(t, e, a) {
|
|
|
2737
2737
|
var O = be(t);
|
|
2738
2738
|
if (!Ds(O))
|
|
2739
2739
|
throw new RangeError("Invalid time value");
|
|
2740
|
-
var x = ra(O), R =
|
|
2740
|
+
var x = ra(O), R = Cn(O, x), Z = {
|
|
2741
2741
|
firstWeekContainsDate: U,
|
|
2742
2742
|
weekStartsOn: q,
|
|
2743
2743
|
locale: F,
|
|
@@ -2783,7 +2783,7 @@ function a3(t, e, a) {
|
|
|
2783
2783
|
throw new RangeError("Invalid time value");
|
|
2784
2784
|
var C;
|
|
2785
2785
|
_ < -6 ? C = "other" : _ < -1 ? C = "lastWeek" : _ < 0 ? C = "yesterday" : _ < 1 ? C = "today" : _ < 2 ? C = "tomorrow" : _ < 7 ? C = "nextWeek" : C = "other";
|
|
2786
|
-
var D =
|
|
2786
|
+
var D = Cn(h, ra(h)), L = Cn(w, ra(w)), H = y.formatRelative(C, D, L, {
|
|
2787
2787
|
locale: y,
|
|
2788
2788
|
weekStartsOn: k
|
|
2789
2789
|
});
|
|
@@ -2866,10 +2866,10 @@ function u3(t) {
|
|
|
2866
2866
|
var e = t.match(s3);
|
|
2867
2867
|
if (!e)
|
|
2868
2868
|
return NaN;
|
|
2869
|
-
var a =
|
|
2869
|
+
var a = fn(e[1]), n = fn(e[2]), s = fn(e[3]);
|
|
2870
2870
|
return m3(a, n, s) ? a * Hs + n * Ls + s * 1e3 : NaN;
|
|
2871
2871
|
}
|
|
2872
|
-
function
|
|
2872
|
+
function fn(t) {
|
|
2873
2873
|
return t && parseFloat(t.replace(",", ".")) || 0;
|
|
2874
2874
|
}
|
|
2875
2875
|
function c3(t) {
|
|
@@ -2906,10 +2906,10 @@ function m3(t, e, a) {
|
|
|
2906
2906
|
function C3(t, e) {
|
|
2907
2907
|
return e >= 0 && e <= 59;
|
|
2908
2908
|
}
|
|
2909
|
-
var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ie = {}, Fs = {}, aa = {}, ha = {}, Yt = {},
|
|
2910
|
-
Object.defineProperty(
|
|
2911
|
-
|
|
2912
|
-
|
|
2909
|
+
var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ie = {}, Fs = {}, aa = {}, ha = {}, Yt = {}, qa = {};
|
|
2910
|
+
Object.defineProperty(qa, "__esModule", { value: !0 });
|
|
2911
|
+
qa.lexoHelper = void 0;
|
|
2912
|
+
qa.lexoHelper = {
|
|
2913
2913
|
arrayCopy: g3
|
|
2914
2914
|
};
|
|
2915
2915
|
function g3(t, e, a, n, s) {
|
|
@@ -2946,7 +2946,7 @@ class _3 {
|
|
|
2946
2946
|
ma.default = _3;
|
|
2947
2947
|
Object.defineProperty(Yt, "__esModule", { value: !0 });
|
|
2948
2948
|
Yt.LexoInteger = void 0;
|
|
2949
|
-
const Aa =
|
|
2949
|
+
const Aa = qa, y3 = ma;
|
|
2950
2950
|
class se {
|
|
2951
2951
|
constructor(e, a, n) {
|
|
2952
2952
|
this.sys = e, this.sign = a, this.mag = n;
|
|
@@ -3313,9 +3313,9 @@ function Us() {
|
|
|
3313
3313
|
}
|
|
3314
3314
|
var An = {}, Zs = {};
|
|
3315
3315
|
Object.defineProperty(Zs, "__esModule", { value: !0 });
|
|
3316
|
-
var
|
|
3317
|
-
Object.defineProperty(
|
|
3318
|
-
|
|
3316
|
+
var za = {};
|
|
3317
|
+
Object.defineProperty(za, "__esModule", { value: !0 });
|
|
3318
|
+
za.LexoNumeralSystem10 = void 0;
|
|
3319
3319
|
class w3 {
|
|
3320
3320
|
getBase() {
|
|
3321
3321
|
return 10;
|
|
@@ -3338,10 +3338,10 @@ class w3 {
|
|
|
3338
3338
|
return String.fromCharCode(e + 48);
|
|
3339
3339
|
}
|
|
3340
3340
|
}
|
|
3341
|
-
|
|
3342
|
-
var
|
|
3343
|
-
Object.defineProperty(
|
|
3344
|
-
|
|
3341
|
+
za.LexoNumeralSystem10 = w3;
|
|
3342
|
+
var xa = {};
|
|
3343
|
+
Object.defineProperty(xa, "__esModule", { value: !0 });
|
|
3344
|
+
xa.LexoNumeralSystem36 = void 0;
|
|
3345
3345
|
class $3 {
|
|
3346
3346
|
constructor() {
|
|
3347
3347
|
this.DIGITS = "0123456789abcdefghijklmnopqrstuvwxyz".split("");
|
|
@@ -3369,10 +3369,10 @@ class $3 {
|
|
|
3369
3369
|
return this.DIGITS[e];
|
|
3370
3370
|
}
|
|
3371
3371
|
}
|
|
3372
|
-
|
|
3373
|
-
var
|
|
3374
|
-
Object.defineProperty(
|
|
3375
|
-
|
|
3372
|
+
xa.LexoNumeralSystem36 = $3;
|
|
3373
|
+
var Ya = {};
|
|
3374
|
+
Object.defineProperty(Ya, "__esModule", { value: !0 });
|
|
3375
|
+
Ya.LexoNumeralSystem64 = void 0;
|
|
3376
3376
|
class k3 {
|
|
3377
3377
|
constructor() {
|
|
3378
3378
|
this.DIGITS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_abcdefghijklmnopqrstuvwxyz".split("");
|
|
@@ -3406,7 +3406,7 @@ class k3 {
|
|
|
3406
3406
|
return this.DIGITS[e];
|
|
3407
3407
|
}
|
|
3408
3408
|
}
|
|
3409
|
-
|
|
3409
|
+
Ya.LexoNumeralSystem64 = k3;
|
|
3410
3410
|
(function(t) {
|
|
3411
3411
|
var e = Le && Le.__createBinding || (Object.create ? function(n, s, o, i) {
|
|
3412
3412
|
i === void 0 && (i = o);
|
|
@@ -3420,7 +3420,7 @@ xa.LexoNumeralSystem64 = k3;
|
|
|
3420
3420
|
for (var o in n)
|
|
3421
3421
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3422
3422
|
};
|
|
3423
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(Zs, t), a(
|
|
3423
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Zs, t), a(za, t), a(xa, t), a(Ya, t);
|
|
3424
3424
|
})(An);
|
|
3425
3425
|
var fs;
|
|
3426
3426
|
function Ws() {
|
|
@@ -3686,7 +3686,7 @@ function T3(t, e) {
|
|
|
3686
3686
|
function O3(t, e) {
|
|
3687
3687
|
return {
|
|
3688
3688
|
...t,
|
|
3689
|
-
status: T3(t, e) ?
|
|
3689
|
+
status: T3(t, e) ? mn.done : mn.todo
|
|
3690
3690
|
};
|
|
3691
3691
|
}
|
|
3692
3692
|
const zs = (t) => {
|
|
@@ -3701,7 +3701,7 @@ const zs = (t) => {
|
|
|
3701
3701
|
userName: {},
|
|
3702
3702
|
avatarUrl: {},
|
|
3703
3703
|
isClosable: { type: Boolean },
|
|
3704
|
-
size: { default:
|
|
3704
|
+
size: { default: Wa.MD },
|
|
3705
3705
|
color: { default: "primary" }
|
|
3706
3706
|
},
|
|
3707
3707
|
emits: ["close"],
|
|
@@ -3764,7 +3764,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3764
3764
|
title: n.title,
|
|
3765
3765
|
"is-draggable": !0,
|
|
3766
3766
|
"onUpdate:title": a
|
|
3767
|
-
},
|
|
3767
|
+
}, Za({
|
|
3768
3768
|
subtitle: W(() => [
|
|
3769
3769
|
v("ul", H3, [
|
|
3770
3770
|
v("li", D3, [
|
|
@@ -3836,7 +3836,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3836
3836
|
const J3 = { class: "ao-page-header" }, e5 = { class: "ao-page-header-main" }, t5 = {
|
|
3837
3837
|
key: 0,
|
|
3838
3838
|
class: "ao-page-header-secondary"
|
|
3839
|
-
},
|
|
3839
|
+
}, Ka = /* @__PURE__ */ z({
|
|
3840
3840
|
__name: "AoPageHeader",
|
|
3841
3841
|
props: {
|
|
3842
3842
|
canGoBack: { type: Boolean }
|
|
@@ -3870,7 +3870,7 @@ const a5 = ["type"], n5 = {
|
|
|
3870
3870
|
iconPosition: {},
|
|
3871
3871
|
type: { default: () => "button" },
|
|
3872
3872
|
color: { default: () => Sn.BLACK },
|
|
3873
|
-
size: { default: () =>
|
|
3873
|
+
size: { default: () => Wa.MD },
|
|
3874
3874
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3875
3875
|
corners: { default: () => Os.ROUNDED }
|
|
3876
3876
|
},
|
|
@@ -4207,7 +4207,7 @@ function Ln(t, e) {
|
|
|
4207
4207
|
function Ft(t) {
|
|
4208
4208
|
return t.split("-")[0];
|
|
4209
4209
|
}
|
|
4210
|
-
function
|
|
4210
|
+
function Ga(t) {
|
|
4211
4211
|
return t.split("-")[1];
|
|
4212
4212
|
}
|
|
4213
4213
|
function $5(t) {
|
|
@@ -4224,15 +4224,15 @@ function Ys(t) {
|
|
|
4224
4224
|
}
|
|
4225
4225
|
function k5(t, e, a) {
|
|
4226
4226
|
a === void 0 && (a = !1);
|
|
4227
|
-
const n =
|
|
4227
|
+
const n = Ga(t), s = Ys(t), o = xs(s);
|
|
4228
4228
|
let i = s === "x" ? n === (a ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
4229
4229
|
return e.reference[o] > e.floating[o] && (i = Ba(i)), [i, Ba(i)];
|
|
4230
4230
|
}
|
|
4231
4231
|
function S5(t) {
|
|
4232
4232
|
const e = Ba(t);
|
|
4233
|
-
return [
|
|
4233
|
+
return [gn(t), e, gn(e)];
|
|
4234
4234
|
}
|
|
4235
|
-
function
|
|
4235
|
+
function gn(t) {
|
|
4236
4236
|
return t.replace(/start|end/g, (e) => w5[e]);
|
|
4237
4237
|
}
|
|
4238
4238
|
function M5(t, e, a) {
|
|
@@ -4249,9 +4249,9 @@ function M5(t, e, a) {
|
|
|
4249
4249
|
}
|
|
4250
4250
|
}
|
|
4251
4251
|
function A5(t, e, a, n) {
|
|
4252
|
-
const s =
|
|
4252
|
+
const s = Ga(t);
|
|
4253
4253
|
let o = M5(Ft(t), a === "start", n);
|
|
4254
|
-
return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(
|
|
4254
|
+
return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(gn)))), o;
|
|
4255
4255
|
}
|
|
4256
4256
|
function Ba(t) {
|
|
4257
4257
|
return t.replace(/left|right|bottom|top/g, (e) => b5[e]);
|
|
@@ -4320,7 +4320,7 @@ function vs(t, e, a) {
|
|
|
4320
4320
|
y: n.y
|
|
4321
4321
|
};
|
|
4322
4322
|
}
|
|
4323
|
-
switch (
|
|
4323
|
+
switch (Ga(e)) {
|
|
4324
4324
|
case "start":
|
|
4325
4325
|
h[i] -= d * (a && c ? -1 : 1);
|
|
4326
4326
|
break;
|
|
@@ -4522,7 +4522,7 @@ const I5 = function(t) {
|
|
|
4522
4522
|
apply: i = () => {
|
|
4523
4523
|
},
|
|
4524
4524
|
...r
|
|
4525
|
-
} = Ln(t, e), l = await Ks(e, r), c = Ft(a), u =
|
|
4525
|
+
} = Ln(t, e), l = await Ks(e, r), c = Ft(a), u = Ga(a), f = Hn(a) === "y", {
|
|
4526
4526
|
width: d,
|
|
4527
4527
|
height: h
|
|
4528
4528
|
} = n.floating;
|
|
@@ -4572,7 +4572,7 @@ function Gs(t) {
|
|
|
4572
4572
|
function et(t) {
|
|
4573
4573
|
return t instanceof Element || t instanceof ke(t).Element;
|
|
4574
4574
|
}
|
|
4575
|
-
function
|
|
4575
|
+
function Ue(t) {
|
|
4576
4576
|
return t instanceof HTMLElement || t instanceof ke(t).HTMLElement;
|
|
4577
4577
|
}
|
|
4578
4578
|
function hs(t) {
|
|
@@ -4596,7 +4596,7 @@ function Dn(t) {
|
|
|
4596
4596
|
}
|
|
4597
4597
|
function D5(t) {
|
|
4598
4598
|
let e = Ut(t);
|
|
4599
|
-
for (;
|
|
4599
|
+
for (; Ue(e) && !Xa(e); ) {
|
|
4600
4600
|
if (Dn(e))
|
|
4601
4601
|
return e;
|
|
4602
4602
|
e = Ut(e);
|
|
@@ -4606,13 +4606,13 @@ function D5(t) {
|
|
|
4606
4606
|
function Pn() {
|
|
4607
4607
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4608
4608
|
}
|
|
4609
|
-
function
|
|
4609
|
+
function Xa(t) {
|
|
4610
4610
|
return ["html", "body", "#document"].includes(ft(t));
|
|
4611
4611
|
}
|
|
4612
4612
|
function Ve(t) {
|
|
4613
4613
|
return ke(t).getComputedStyle(t);
|
|
4614
4614
|
}
|
|
4615
|
-
function
|
|
4615
|
+
function Qa(t) {
|
|
4616
4616
|
return et(t) ? {
|
|
4617
4617
|
scrollLeft: t.scrollLeft,
|
|
4618
4618
|
scrollTop: t.scrollTop
|
|
@@ -4635,7 +4635,7 @@ function Ut(t) {
|
|
|
4635
4635
|
}
|
|
4636
4636
|
function Xs(t) {
|
|
4637
4637
|
const e = Ut(t);
|
|
4638
|
-
return
|
|
4638
|
+
return Xa(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ue(e) && ga(e) ? e : Xs(e);
|
|
4639
4639
|
}
|
|
4640
4640
|
function ca(t, e, a) {
|
|
4641
4641
|
var n;
|
|
@@ -4646,7 +4646,7 @@ function ca(t, e, a) {
|
|
|
4646
4646
|
function Qs(t) {
|
|
4647
4647
|
const e = Ve(t);
|
|
4648
4648
|
let a = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
4649
|
-
const s =
|
|
4649
|
+
const s = Ue(t), o = s ? t.offsetWidth : a, i = s ? t.offsetHeight : n, r = Va(a) !== o || Va(n) !== i;
|
|
4650
4650
|
return r && (a = o, n = i), {
|
|
4651
4651
|
width: a,
|
|
4652
4652
|
height: n,
|
|
@@ -4658,7 +4658,7 @@ function Vn(t) {
|
|
|
4658
4658
|
}
|
|
4659
4659
|
function Vt(t) {
|
|
4660
4660
|
const e = Vn(t);
|
|
4661
|
-
if (!
|
|
4661
|
+
if (!Ue(e))
|
|
4662
4662
|
return pt(1);
|
|
4663
4663
|
const a = e.getBoundingClientRect(), {
|
|
4664
4664
|
width: n,
|
|
@@ -4710,7 +4710,7 @@ function B5(t) {
|
|
|
4710
4710
|
offsetParent: a,
|
|
4711
4711
|
strategy: n
|
|
4712
4712
|
} = t;
|
|
4713
|
-
const s =
|
|
4713
|
+
const s = Ue(a), o = at(a);
|
|
4714
4714
|
if (a === o)
|
|
4715
4715
|
return e;
|
|
4716
4716
|
let i = {
|
|
@@ -4718,7 +4718,7 @@ function B5(t) {
|
|
|
4718
4718
|
scrollTop: 0
|
|
4719
4719
|
}, r = pt(1);
|
|
4720
4720
|
const l = pt(0);
|
|
4721
|
-
if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i =
|
|
4721
|
+
if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i = Qa(a)), Ue(a))) {
|
|
4722
4722
|
const c = St(a);
|
|
4723
4723
|
r = Vt(a), l.x = c.x + a.clientLeft, l.y = c.y + a.clientTop;
|
|
4724
4724
|
}
|
|
@@ -4733,10 +4733,10 @@ function R5(t) {
|
|
|
4733
4733
|
return Array.from(t.getClientRects());
|
|
4734
4734
|
}
|
|
4735
4735
|
function ei(t) {
|
|
4736
|
-
return St(at(t)).left +
|
|
4736
|
+
return St(at(t)).left + Qa(t).scrollLeft;
|
|
4737
4737
|
}
|
|
4738
4738
|
function N5(t) {
|
|
4739
|
-
const e = at(t), a =
|
|
4739
|
+
const e = at(t), a = Qa(t), n = t.ownerDocument.body, s = Ee(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), o = Ee(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
|
|
4740
4740
|
let i = -a.scrollLeft + ei(t);
|
|
4741
4741
|
const r = -a.scrollTop;
|
|
4742
4742
|
return Ve(n).direction === "rtl" && (i += Ee(e.clientWidth, n.clientWidth) - s), {
|
|
@@ -4762,7 +4762,7 @@ function j5(t, e) {
|
|
|
4762
4762
|
};
|
|
4763
4763
|
}
|
|
4764
4764
|
function F5(t, e) {
|
|
4765
|
-
const a = St(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o =
|
|
4765
|
+
const a = St(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o = Ue(t) ? Vt(t) : pt(1), i = t.clientWidth * o.x, r = t.clientHeight * o.y, l = s * o.x, c = n * o.y;
|
|
4766
4766
|
return {
|
|
4767
4767
|
width: i,
|
|
4768
4768
|
height: r,
|
|
@@ -4790,7 +4790,7 @@ function ms(t, e, a) {
|
|
|
4790
4790
|
}
|
|
4791
4791
|
function ti(t, e) {
|
|
4792
4792
|
const a = Ut(t);
|
|
4793
|
-
return a === e || !et(a) ||
|
|
4793
|
+
return a === e || !et(a) || Xa(a) ? !1 : Ve(a).position === "fixed" || ti(a, e);
|
|
4794
4794
|
}
|
|
4795
4795
|
function U5(t, e) {
|
|
4796
4796
|
const a = e.get(t);
|
|
@@ -4799,7 +4799,7 @@ function U5(t, e) {
|
|
|
4799
4799
|
let n = ca(t, [], !1).filter((r) => et(r) && ft(r) !== "body"), s = null;
|
|
4800
4800
|
const o = Ve(t).position === "fixed";
|
|
4801
4801
|
let i = o ? Ut(t) : t;
|
|
4802
|
-
for (; et(i) && !
|
|
4802
|
+
for (; et(i) && !Xa(i); ) {
|
|
4803
4803
|
const r = Ve(i), l = Dn(i);
|
|
4804
4804
|
!l && r.position === "fixed" && (s = null), (o ? !l && !s : !l && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || ga(i) && !l && ti(t, i)) ? n = n.filter((u) => u !== i) : s = r, i = Ut(i);
|
|
4805
4805
|
}
|
|
@@ -4827,14 +4827,14 @@ function W5(t) {
|
|
|
4827
4827
|
return Qs(t);
|
|
4828
4828
|
}
|
|
4829
4829
|
function q5(t, e, a) {
|
|
4830
|
-
const n =
|
|
4830
|
+
const n = Ue(e), s = at(e), o = a === "fixed", i = St(t, !0, o, e);
|
|
4831
4831
|
let r = {
|
|
4832
4832
|
scrollLeft: 0,
|
|
4833
4833
|
scrollTop: 0
|
|
4834
4834
|
};
|
|
4835
4835
|
const l = pt(0);
|
|
4836
4836
|
if (n || !n && !o)
|
|
4837
|
-
if ((ft(e) !== "body" || ga(s)) && (r =
|
|
4837
|
+
if ((ft(e) !== "body" || ga(s)) && (r = Qa(e)), n) {
|
|
4838
4838
|
const c = St(e, !0, o, e);
|
|
4839
4839
|
l.x = c.x + e.clientLeft, l.y = c.y + e.clientTop;
|
|
4840
4840
|
} else
|
|
@@ -4847,11 +4847,11 @@ function q5(t, e, a) {
|
|
|
4847
4847
|
};
|
|
4848
4848
|
}
|
|
4849
4849
|
function Cs(t, e) {
|
|
4850
|
-
return !
|
|
4850
|
+
return !Ue(t) || Ve(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
4851
4851
|
}
|
|
4852
4852
|
function ai(t, e) {
|
|
4853
4853
|
const a = ke(t);
|
|
4854
|
-
if (!
|
|
4854
|
+
if (!Ue(t))
|
|
4855
4855
|
return a;
|
|
4856
4856
|
let n = Cs(t, e);
|
|
4857
4857
|
for (; n && H5(n) && Ve(n).position === "static"; )
|
|
@@ -5110,7 +5110,7 @@ function a7(t, e, a) {
|
|
|
5110
5110
|
}
|
|
5111
5111
|
};
|
|
5112
5112
|
}
|
|
5113
|
-
function
|
|
5113
|
+
function vn(t, e = !0) {
|
|
5114
5114
|
return e ? String(t).toLowerCase().trim() : String(t).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g), "ae").replace(new RegExp(/œ/g), "oe").replace(new RegExp(/ø/g), "o").replace(/\p{Diacritic}/gu, "");
|
|
5115
5115
|
}
|
|
5116
5116
|
function n7(t) {
|
|
@@ -5161,26 +5161,26 @@ function i7(t, e, a) {
|
|
|
5161
5161
|
disabledProp: ae,
|
|
5162
5162
|
searchStart: le,
|
|
5163
5163
|
searchFilter: ne
|
|
5164
|
-
} = Me(t), re = At().proxy, Y = a.iv, V = a.ev, X = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus,
|
|
5164
|
+
} = Me(t), re = At().proxy, Y = a.iv, V = a.ev, X = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, an = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Ae = ee(!1), Be = ee(null), qe = ee(N.value && i.value === -1 ? 10 : i.value), Xt = S(() => l.value || c.value || !1), ba = S(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = S(() => {
|
|
5165
5165
|
if (ie.value) {
|
|
5166
5166
|
let $ = _t.value || /* istanbul ignore next */
|
|
5167
5167
|
[], B = [];
|
|
5168
5168
|
return $.forEach((oe) => {
|
|
5169
|
-
|
|
5169
|
+
cn(oe[A.value]).forEach((me) => {
|
|
5170
5170
|
B.push(Object.assign({}, me, oe[ae.value] ? { [ae.value]: !0 } : {}));
|
|
5171
5171
|
});
|
|
5172
5172
|
}), B;
|
|
5173
5173
|
} else {
|
|
5174
|
-
let $ =
|
|
5174
|
+
let $ = cn(Ne.value || /* istanbul ignore next */
|
|
5175
5175
|
[]);
|
|
5176
5176
|
return it.value.length && ($ = $.concat(it.value)), $;
|
|
5177
5177
|
}
|
|
5178
5178
|
}), Qt = S(() => {
|
|
5179
5179
|
let $ = Te.value;
|
|
5180
|
-
return E.value && ($ = $.reverse()), Ot.value.length && ($ = Ot.value.concat($)),
|
|
5180
|
+
return E.value && ($ = $.reverse()), Ot.value.length && ($ = Ot.value.concat($)), un($);
|
|
5181
5181
|
}), ot = S(() => {
|
|
5182
5182
|
let $ = Qt.value;
|
|
5183
|
-
return
|
|
5183
|
+
return qe.value > 0 && ($ = $.slice(0, qe.value)), $;
|
|
5184
5184
|
}), _t = S(() => {
|
|
5185
5185
|
if (!ie.value)
|
|
5186
5186
|
return [];
|
|
@@ -5198,22 +5198,22 @@ function i7(t, e, a) {
|
|
|
5198
5198
|
[A.value]: [...Ot.value],
|
|
5199
5199
|
__CREATE__: !0
|
|
5200
5200
|
}].concat($)), $;
|
|
5201
|
-
}),
|
|
5201
|
+
}), nn = S(() => {
|
|
5202
5202
|
if (!ie.value)
|
|
5203
5203
|
return [];
|
|
5204
5204
|
let $ = wa.value;
|
|
5205
5205
|
return Mi(($ || /* istanbul ignore next */
|
|
5206
5206
|
[]).map((B, oe) => {
|
|
5207
|
-
const me =
|
|
5207
|
+
const me = cn(B[A.value]);
|
|
5208
5208
|
return {
|
|
5209
5209
|
...B,
|
|
5210
5210
|
index: oe,
|
|
5211
5211
|
group: !0,
|
|
5212
|
-
[A.value]:
|
|
5213
|
-
__VISIBLE__:
|
|
5212
|
+
[A.value]: un(me, !1).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {})),
|
|
5213
|
+
__VISIBLE__: un(me).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {}))
|
|
5214
5214
|
};
|
|
5215
5215
|
}));
|
|
5216
|
-
}),
|
|
5216
|
+
}), sn = S(() => {
|
|
5217
5217
|
switch (s.value) {
|
|
5218
5218
|
case "single":
|
|
5219
5219
|
return !je(Y.value[H.value]);
|
|
@@ -5235,7 +5235,7 @@ function i7(t, e, a) {
|
|
|
5235
5235
|
return [];
|
|
5236
5236
|
}
|
|
5237
5237
|
}), mi = S(() => b.value || Ae.value), Et = ($) => {
|
|
5238
|
-
switch (typeof $ != "object" && ($ =
|
|
5238
|
+
switch (typeof $ != "object" && ($ = xe($)), s.value) {
|
|
5239
5239
|
case "single":
|
|
5240
5240
|
we($);
|
|
5241
5241
|
break;
|
|
@@ -5246,7 +5246,7 @@ function i7(t, e, a) {
|
|
|
5246
5246
|
}
|
|
5247
5247
|
e.emit("select", es($), $, re);
|
|
5248
5248
|
}, It = ($) => {
|
|
5249
|
-
switch (typeof $ != "object" && ($ =
|
|
5249
|
+
switch (typeof $ != "object" && ($ = xe($)), s.value) {
|
|
5250
5250
|
case "single":
|
|
5251
5251
|
as();
|
|
5252
5252
|
break;
|
|
@@ -5266,7 +5266,7 @@ function i7(t, e, a) {
|
|
|
5266
5266
|
ts($);
|
|
5267
5267
|
}, as = () => {
|
|
5268
5268
|
we(hi.value), e.emit("clear", re);
|
|
5269
|
-
},
|
|
5269
|
+
}, ze = ($) => {
|
|
5270
5270
|
if ($.group !== void 0)
|
|
5271
5271
|
return s.value === "single" ? !1 : wi($[A.value]) && $[A.value].length;
|
|
5272
5272
|
switch (s.value) {
|
|
@@ -5276,9 +5276,9 @@ function i7(t, e, a) {
|
|
|
5276
5276
|
case "multiple":
|
|
5277
5277
|
return !je(Y.value) && Y.value.map((B) => B[H.value]).indexOf($[H.value]) !== -1;
|
|
5278
5278
|
}
|
|
5279
|
-
},
|
|
5280
|
-
if (!
|
|
5281
|
-
if (J && J.value && !
|
|
5279
|
+
}, on = ($) => $[ae.value] === !0, rn = () => O === void 0 || O.value === -1 || !sn.value && O.value > 0 ? !1 : Y.value.length >= O.value, gi = ($) => {
|
|
5280
|
+
if (!on($)) {
|
|
5281
|
+
if (J && J.value && !ze($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = J.value($, re), $ instanceof Promise)) {
|
|
5282
5282
|
Ae.value = !0, $.then((B) => {
|
|
5283
5283
|
Ae.value = !1, ns(B);
|
|
5284
5284
|
});
|
|
@@ -5289,67 +5289,67 @@ function i7(t, e, a) {
|
|
|
5289
5289
|
}, ns = ($) => {
|
|
5290
5290
|
switch ($.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__), s.value) {
|
|
5291
5291
|
case "single":
|
|
5292
|
-
if ($ &&
|
|
5292
|
+
if ($ && ze($)) {
|
|
5293
5293
|
q.value && It($), Z.value && (nt(), st());
|
|
5294
5294
|
return;
|
|
5295
5295
|
}
|
|
5296
|
-
$ &&
|
|
5296
|
+
$ && ln($), L.value && he(), R.value && (nt(), st()), $ && Et($);
|
|
5297
5297
|
break;
|
|
5298
5298
|
case "multiple":
|
|
5299
|
-
if ($ &&
|
|
5299
|
+
if ($ && ze($)) {
|
|
5300
5300
|
It($), Z.value && (nt(), st());
|
|
5301
5301
|
return;
|
|
5302
5302
|
}
|
|
5303
|
-
if (
|
|
5303
|
+
if (rn()) {
|
|
5304
5304
|
e.emit("max", re);
|
|
5305
5305
|
return;
|
|
5306
5306
|
}
|
|
5307
|
-
$ && (
|
|
5307
|
+
$ && (ln($), Et($)), L.value && he(), r.value && nt(), R.value && st();
|
|
5308
5308
|
break;
|
|
5309
5309
|
case "tags":
|
|
5310
|
-
if ($ &&
|
|
5310
|
+
if ($ && ze($)) {
|
|
5311
5311
|
It($), Z.value && (nt(), st());
|
|
5312
5312
|
return;
|
|
5313
5313
|
}
|
|
5314
|
-
if (
|
|
5314
|
+
if (rn()) {
|
|
5315
5315
|
e.emit("max", re);
|
|
5316
5316
|
return;
|
|
5317
5317
|
}
|
|
5318
|
-
$ &&
|
|
5318
|
+
$ && ln($), L.value && he(), $ && Et($), r.value && nt(), R.value && st();
|
|
5319
5319
|
break;
|
|
5320
5320
|
}
|
|
5321
5321
|
R.value || _a();
|
|
5322
5322
|
}, _i = ($) => {
|
|
5323
|
-
if (!(
|
|
5323
|
+
if (!(on($) || s.value === "single" || !I.value)) {
|
|
5324
5324
|
switch (s.value) {
|
|
5325
5325
|
case "multiple":
|
|
5326
5326
|
case "tags":
|
|
5327
5327
|
bi($[A.value]) ? It($[A.value]) : Et(
|
|
5328
5328
|
$[A.value].filter((B) => Y.value.map((oe) => oe[H.value]).indexOf(B[H.value]) === -1).filter((B) => !B[ae.value]).filter((B, oe) => Y.value.length + 1 + oe <= O.value || O.value === -1)
|
|
5329
|
-
), r.value && Kt.value && Gt(
|
|
5329
|
+
), r.value && Kt.value && Gt(nn.value.filter((B) => !B[ae.value])[Kt.value.index]);
|
|
5330
5330
|
break;
|
|
5331
5331
|
}
|
|
5332
|
-
R.value &&
|
|
5332
|
+
R.value && an();
|
|
5333
5333
|
}
|
|
5334
|
-
},
|
|
5335
|
-
|
|
5334
|
+
}, ln = ($) => {
|
|
5335
|
+
xe($[H.value]) === void 0 && Xt.value && (e.emit("tag", $[H.value], re), e.emit("option", $[H.value], re), e.emit("create", $[H.value], re), ba.value && Si($), he());
|
|
5336
5336
|
}, yi = () => {
|
|
5337
|
-
s.value !== "single" && Et(ot.value.filter(($) => !$.disabled && !
|
|
5338
|
-
}, bi = ($) => $.find((B) => !
|
|
5337
|
+
s.value !== "single" && Et(ot.value.filter(($) => !$.disabled && !ze($)));
|
|
5338
|
+
}, bi = ($) => $.find((B) => !ze(B) && !B[ae.value]) === void 0, wi = ($) => $.find((B) => !ze(B)) === void 0, xe = ($) => Te.value[Te.value.map((B) => String(B[H.value])).indexOf(String($))], $i = ($) => Te.value.findIndex((B) => yt.value.some((oe) => (parseInt(B[oe]) == B[oe] ? parseInt(B[oe]) : B[oe]) === (parseInt($) == $ ? parseInt($) : $))), ki = ($) => ["tags", "multiple"].indexOf(s.value) !== -1 && r.value && ze($), Si = ($) => {
|
|
5339
5339
|
it.value.push($);
|
|
5340
5340
|
}, Mi = ($) => m.value ? $.filter(
|
|
5341
5341
|
(B) => X.value ? B.__VISIBLE__.length : B[A.value].length
|
|
5342
|
-
) : $.filter((B) => X.value ? B.__VISIBLE__.length : !0),
|
|
5342
|
+
) : $.filter((B) => X.value ? B.__VISIBLE__.length : !0), un = ($, B = !0) => {
|
|
5343
5343
|
let oe = $;
|
|
5344
5344
|
if (X.value && C.value) {
|
|
5345
5345
|
let me = ne.value;
|
|
5346
|
-
me || (me = (bt, is,
|
|
5347
|
-
let os =
|
|
5348
|
-
return le.value ? os.startsWith(
|
|
5346
|
+
me || (me = (bt, is, r8) => yt.value.some((Ti) => {
|
|
5347
|
+
let os = vn(ya(bt[Ti]), x.value);
|
|
5348
|
+
return le.value ? os.startsWith(vn(is, x.value)) : os.indexOf(vn(is, x.value)) !== -1;
|
|
5349
5349
|
})), oe = oe.filter((bt) => me(bt, X.value, re));
|
|
5350
5350
|
}
|
|
5351
5351
|
return r.value && B && (oe = oe.filter((me) => !ki(me))), oe;
|
|
5352
|
-
},
|
|
5352
|
+
}, cn = ($) => {
|
|
5353
5353
|
let B = $;
|
|
5354
5354
|
return n7(B) && (B = Object.keys(B).map((oe) => {
|
|
5355
5355
|
let me = B[oe];
|
|
@@ -5365,17 +5365,17 @@ function i7(t, e, a) {
|
|
|
5365
5365
|
}).finally(() => {
|
|
5366
5366
|
B();
|
|
5367
5367
|
});
|
|
5368
|
-
})),
|
|
5369
|
-
if (
|
|
5368
|
+
})), dn = () => {
|
|
5369
|
+
if (sn.value)
|
|
5370
5370
|
if (s.value === "single") {
|
|
5371
|
-
let $ =
|
|
5371
|
+
let $ = xe(Y.value[H.value]);
|
|
5372
5372
|
if ($ !== void 0) {
|
|
5373
5373
|
let B = $[u.value];
|
|
5374
5374
|
Y.value[u.value] = B, w.value && (V.value[u.value] = B);
|
|
5375
5375
|
}
|
|
5376
5376
|
} else
|
|
5377
5377
|
Y.value.forEach(($, B) => {
|
|
5378
|
-
let oe =
|
|
5378
|
+
let oe = xe(Y.value[B][H.value]);
|
|
5379
5379
|
if (oe !== void 0) {
|
|
5380
5380
|
let me = oe[u.value];
|
|
5381
5381
|
Y.value[B][u.value] = me, w.value && (V.value[B][u.value] = me);
|
|
@@ -5383,11 +5383,11 @@ function i7(t, e, a) {
|
|
|
5383
5383
|
});
|
|
5384
5384
|
}, Ai = ($) => {
|
|
5385
5385
|
ka($);
|
|
5386
|
-
}, Sa = ($) => je($) ? s.value === "single" ? {} : [] : w.value ? $ : s.value === "single" ?
|
|
5386
|
+
}, Sa = ($) => je($) ? s.value === "single" ? {} : [] : w.value ? $ : s.value === "single" ? xe($) || (F.value ? {
|
|
5387
5387
|
[u.value]: $,
|
|
5388
5388
|
[H.value]: $,
|
|
5389
5389
|
[yt.value[0]]: $
|
|
5390
|
-
} : {}) : $.filter((B) => !!
|
|
5390
|
+
} : {}) : $.filter((B) => !!xe(B) || F.value).map((B) => xe(B) || {
|
|
5391
5391
|
[u.value]: B,
|
|
5392
5392
|
[H.value]: B,
|
|
5393
5393
|
[yt.value[0]]: B
|
|
@@ -5424,41 +5424,41 @@ function i7(t, e, a) {
|
|
|
5424
5424
|
break;
|
|
5425
5425
|
}
|
|
5426
5426
|
}, { deep: !0 }), de(n, ($, B) => {
|
|
5427
|
-
typeof t.options == "function" ? k.value && (!B || $ && $.toString() !== B.toString()) && ka() : (Ne.value = t.options, Object.keys(Y.value).length || $a(),
|
|
5428
|
-
}), de(u,
|
|
5429
|
-
|
|
5427
|
+
typeof t.options == "function" ? k.value && (!B || $ && $.toString() !== B.toString()) && ka() : (Ne.value = t.options, Object.keys(Y.value).length || $a(), dn());
|
|
5428
|
+
}), de(u, dn), de(i, ($, B) => {
|
|
5429
|
+
qe.value = N.value && $ === -1 ? 10 : $;
|
|
5430
5430
|
}), {
|
|
5431
5431
|
pfo: Qt,
|
|
5432
5432
|
fo: ot,
|
|
5433
5433
|
filteredOptions: ot,
|
|
5434
|
-
hasSelected:
|
|
5434
|
+
hasSelected: sn,
|
|
5435
5435
|
multipleLabelText: pi,
|
|
5436
5436
|
eo: Te,
|
|
5437
5437
|
extendedOptions: Te,
|
|
5438
5438
|
eg: _t,
|
|
5439
5439
|
extendedGroups: _t,
|
|
5440
|
-
fg:
|
|
5441
|
-
filteredGroups:
|
|
5440
|
+
fg: nn,
|
|
5441
|
+
filteredGroups: nn,
|
|
5442
5442
|
noOptions: fi,
|
|
5443
5443
|
noResults: vi,
|
|
5444
5444
|
resolving: Ae,
|
|
5445
5445
|
busy: mi,
|
|
5446
|
-
offset:
|
|
5446
|
+
offset: qe,
|
|
5447
5447
|
select: Et,
|
|
5448
5448
|
deselect: It,
|
|
5449
5449
|
remove: ts,
|
|
5450
5450
|
selectAll: yi,
|
|
5451
5451
|
clear: as,
|
|
5452
|
-
isSelected:
|
|
5453
|
-
isDisabled:
|
|
5454
|
-
isMax:
|
|
5455
|
-
getOption:
|
|
5452
|
+
isSelected: ze,
|
|
5453
|
+
isDisabled: on,
|
|
5454
|
+
isMax: rn,
|
|
5455
|
+
getOption: xe,
|
|
5456
5456
|
handleOptionClick: gi,
|
|
5457
5457
|
handleGroupClick: _i,
|
|
5458
5458
|
handleTagRemove: Ci,
|
|
5459
5459
|
refreshOptions: Ai,
|
|
5460
5460
|
resolveOptions: ka,
|
|
5461
|
-
refreshLabels:
|
|
5461
|
+
refreshLabels: dn
|
|
5462
5462
|
};
|
|
5463
5463
|
}
|
|
5464
5464
|
function o7(t, e, a) {
|
|
@@ -5574,14 +5574,14 @@ function Bn(t) {
|
|
|
5574
5574
|
return t instanceof e || t instanceof ShadowRoot;
|
|
5575
5575
|
}
|
|
5576
5576
|
var kt = Math.max, Na = Math.min, Zt = Math.round;
|
|
5577
|
-
function
|
|
5577
|
+
function _n() {
|
|
5578
5578
|
var t = navigator.userAgentData;
|
|
5579
5579
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
5580
5580
|
return e.brand + "/" + e.version;
|
|
5581
5581
|
}).join(" ") : navigator.userAgent;
|
|
5582
5582
|
}
|
|
5583
5583
|
function ni() {
|
|
5584
|
-
return !/^((?!chrome|android).)*safari/i.test(
|
|
5584
|
+
return !/^((?!chrome|android).)*safari/i.test(_n());
|
|
5585
5585
|
}
|
|
5586
5586
|
function Wt(t, e, a) {
|
|
5587
5587
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
@@ -5615,7 +5615,7 @@ function r7(t) {
|
|
|
5615
5615
|
function l7(t) {
|
|
5616
5616
|
return t === Se(t) || !Pe(t) ? Rn(t) : r7(t);
|
|
5617
5617
|
}
|
|
5618
|
-
function
|
|
5618
|
+
function Ze(t) {
|
|
5619
5619
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
5620
5620
|
}
|
|
5621
5621
|
function gt(t) {
|
|
@@ -5647,7 +5647,7 @@ function c7(t, e, a) {
|
|
|
5647
5647
|
x: 0,
|
|
5648
5648
|
y: 0
|
|
5649
5649
|
};
|
|
5650
|
-
return (n || !n && !a) && ((
|
|
5650
|
+
return (n || !n && !a) && ((Ze(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
5651
5651
|
jn(o)) && (r = l7(e)), Pe(e) ? (l = Wt(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : o && (l.x = Nn(o))), {
|
|
5652
5652
|
x: i.left + r.scrollLeft - l.x,
|
|
5653
5653
|
y: i.top + r.scrollTop - l.y,
|
|
@@ -5664,8 +5664,8 @@ function si(t) {
|
|
|
5664
5664
|
height: n
|
|
5665
5665
|
};
|
|
5666
5666
|
}
|
|
5667
|
-
function
|
|
5668
|
-
return
|
|
5667
|
+
function Ja(t) {
|
|
5668
|
+
return Ze(t) === "html" ? t : (
|
|
5669
5669
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
5670
5670
|
// $FlowFixMe[incompatible-return]
|
|
5671
5671
|
// $FlowFixMe[prop-missing]
|
|
@@ -5677,7 +5677,7 @@ function Qa(t) {
|
|
|
5677
5677
|
);
|
|
5678
5678
|
}
|
|
5679
5679
|
function ii(t) {
|
|
5680
|
-
return ["html", "body", "#document"].indexOf(
|
|
5680
|
+
return ["html", "body", "#document"].indexOf(Ze(t)) >= 0 ? t.ownerDocument.body : Pe(t) && jn(t) ? t : ii(Ja(t));
|
|
5681
5681
|
}
|
|
5682
5682
|
function ia(t, e) {
|
|
5683
5683
|
var a;
|
|
@@ -5685,25 +5685,25 @@ function ia(t, e) {
|
|
|
5685
5685
|
var n = ii(t), s = n === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Se(n), i = s ? [o].concat(o.visualViewport || [], jn(n) ? n : []) : n, r = e.concat(i);
|
|
5686
5686
|
return s ? r : (
|
|
5687
5687
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
5688
|
-
r.concat(ia(
|
|
5688
|
+
r.concat(ia(Ja(i)))
|
|
5689
5689
|
);
|
|
5690
5690
|
}
|
|
5691
5691
|
function d7(t) {
|
|
5692
|
-
return ["table", "td", "th"].indexOf(
|
|
5692
|
+
return ["table", "td", "th"].indexOf(Ze(t)) >= 0;
|
|
5693
5693
|
}
|
|
5694
5694
|
function gs(t) {
|
|
5695
5695
|
return !Pe(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
5696
5696
|
tt(t).position === "fixed" ? null : t.offsetParent;
|
|
5697
5697
|
}
|
|
5698
5698
|
function p7(t) {
|
|
5699
|
-
var e = /firefox/i.test(
|
|
5699
|
+
var e = /firefox/i.test(_n()), a = /Trident/i.test(_n());
|
|
5700
5700
|
if (a && Pe(t)) {
|
|
5701
5701
|
var n = tt(t);
|
|
5702
5702
|
if (n.position === "fixed")
|
|
5703
5703
|
return null;
|
|
5704
5704
|
}
|
|
5705
|
-
var s =
|
|
5706
|
-
for (Bn(s) && (s = s.host); Pe(s) && ["html", "body"].indexOf(
|
|
5705
|
+
var s = Ja(t);
|
|
5706
|
+
for (Bn(s) && (s = s.host); Pe(s) && ["html", "body"].indexOf(Ze(s)) < 0; ) {
|
|
5707
5707
|
var o = tt(s);
|
|
5708
5708
|
if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
|
|
5709
5709
|
return s;
|
|
@@ -5711,14 +5711,14 @@ function p7(t) {
|
|
|
5711
5711
|
}
|
|
5712
5712
|
return null;
|
|
5713
5713
|
}
|
|
5714
|
-
function
|
|
5714
|
+
function en(t) {
|
|
5715
5715
|
for (var e = Se(t), a = gs(t); a && d7(a) && tt(a).position === "static"; )
|
|
5716
5716
|
a = gs(a);
|
|
5717
|
-
return a && (
|
|
5717
|
+
return a && (Ze(a) === "html" || Ze(a) === "body" && tt(a).position === "static") ? e : a || p7(t) || e;
|
|
5718
5718
|
}
|
|
5719
|
-
var Re = "top",
|
|
5719
|
+
var Re = "top", We = "bottom", vt = "right", Ge = "left", Fn = "auto", tn = [Re, We, vt, Ge], qt = "start", da = "end", f7 = "clippingParents", oi = "viewport", sa = "popper", v7 = "reference", _s = /* @__PURE__ */ tn.reduce(function(t, e) {
|
|
5720
5720
|
return t.concat([e + "-" + qt, e + "-" + da]);
|
|
5721
|
-
}, []), h7 = /* @__PURE__ */ [].concat(
|
|
5721
|
+
}, []), h7 = /* @__PURE__ */ [].concat(tn, [Fn]).reduce(function(t, e) {
|
|
5722
5722
|
return t.concat([e, e + "-" + qt, e + "-" + da]);
|
|
5723
5723
|
}, []), m7 = "beforeRead", C7 = "read", g7 = "afterRead", _7 = "beforeMain", y7 = "main", b7 = "afterMain", w7 = "beforeWrite", $7 = "write", k7 = "afterWrite", S7 = [m7, C7, g7, _7, y7, b7, w7, $7, k7];
|
|
5724
5724
|
function M7(t) {
|
|
@@ -5807,7 +5807,7 @@ function L7(t, e) {
|
|
|
5807
5807
|
}
|
|
5808
5808
|
return !1;
|
|
5809
5809
|
}
|
|
5810
|
-
function
|
|
5810
|
+
function yn(t) {
|
|
5811
5811
|
return Object.assign({}, t, {
|
|
5812
5812
|
left: t.x,
|
|
5813
5813
|
top: t.y,
|
|
@@ -5820,12 +5820,12 @@ function H7(t, e) {
|
|
|
5820
5820
|
return a.top = a.top + t.clientTop, a.left = a.left + t.clientLeft, a.bottom = a.top + t.clientHeight, a.right = a.left + t.clientWidth, a.width = t.clientWidth, a.height = t.clientHeight, a.x = a.left, a.y = a.top, a;
|
|
5821
5821
|
}
|
|
5822
5822
|
function ys(t, e, a) {
|
|
5823
|
-
return e === oi ?
|
|
5823
|
+
return e === oi ? yn(E7(t, a)) : Mt(e) ? H7(e, a) : yn(I7(gt(t)));
|
|
5824
5824
|
}
|
|
5825
5825
|
function D7(t) {
|
|
5826
|
-
var e = ia(
|
|
5826
|
+
var e = ia(Ja(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, n = a && Pe(t) ? en(t) : t;
|
|
5827
5827
|
return Mt(n) ? e.filter(function(s) {
|
|
5828
|
-
return Mt(s) && L7(s, n) &&
|
|
5828
|
+
return Mt(s) && L7(s, n) && Ze(s) !== "body";
|
|
5829
5829
|
}) : [];
|
|
5830
5830
|
}
|
|
5831
5831
|
function P7(t, e, a, n) {
|
|
@@ -5853,7 +5853,7 @@ function li(t) {
|
|
|
5853
5853
|
y: e.y - a.height
|
|
5854
5854
|
};
|
|
5855
5855
|
break;
|
|
5856
|
-
case
|
|
5856
|
+
case We:
|
|
5857
5857
|
l = {
|
|
5858
5858
|
x: i,
|
|
5859
5859
|
y: e.y + e.height
|
|
@@ -5909,12 +5909,12 @@ function B7(t, e) {
|
|
|
5909
5909
|
}
|
|
5910
5910
|
function Un(t, e) {
|
|
5911
5911
|
e === void 0 && (e = {});
|
|
5912
|
-
var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, h = a.altBoundary, w = h === void 0 ? !1 : h, b = a.padding, y = b === void 0 ? 0 : b, k = V7(typeof y != "number" ? y : B7(y,
|
|
5912
|
+
var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, h = a.altBoundary, w = h === void 0 ? !1 : h, b = a.padding, y = b === void 0 ? 0 : b, k = V7(typeof y != "number" ? y : B7(y, tn)), _ = d === sa ? v7 : sa, C = t.rects.popper, D = t.elements[w ? _ : d], L = P7(Mt(D) ? D : D.contextElement || gt(t.elements.popper), l, u, i), H = Wt(t.elements.reference), F = li({
|
|
5913
5913
|
reference: H,
|
|
5914
5914
|
element: C,
|
|
5915
5915
|
strategy: "absolute",
|
|
5916
5916
|
placement: s
|
|
5917
|
-
}), U =
|
|
5917
|
+
}), U = yn(Object.assign({}, C, F)), q = d === sa ? U : H, O = {
|
|
5918
5918
|
top: L.top - q.top + k.top,
|
|
5919
5919
|
bottom: q.bottom - L.bottom + k.bottom,
|
|
5920
5920
|
left: L.left - q.left + k.left,
|
|
@@ -5923,7 +5923,7 @@ function Un(t, e) {
|
|
|
5923
5923
|
if (d === sa && x) {
|
|
5924
5924
|
var R = x[s];
|
|
5925
5925
|
Object.keys(O).forEach(function(Z) {
|
|
5926
|
-
var ie = [vt,
|
|
5926
|
+
var ie = [vt, We].indexOf(Z) >= 0 ? 1 : -1, E = [Re, We].indexOf(Z) >= 0 ? "y" : "x";
|
|
5927
5927
|
O[Z] += R[E] * ie;
|
|
5928
5928
|
});
|
|
5929
5929
|
}
|
|
@@ -5980,7 +5980,7 @@ function R7(t) {
|
|
|
5980
5980
|
var k = u.elements, _ = k.reference, C = k.popper;
|
|
5981
5981
|
if (ws(_, C)) {
|
|
5982
5982
|
u.rects = {
|
|
5983
|
-
reference: c7(_,
|
|
5983
|
+
reference: c7(_, en(C), u.options.strategy === "fixed"),
|
|
5984
5984
|
popper: si(C)
|
|
5985
5985
|
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(O) {
|
|
5986
5986
|
return u.modifiersData[O.name] = Object.assign({}, O.data);
|
|
@@ -6101,16 +6101,16 @@ function $s(t) {
|
|
|
6101
6101
|
h = y.x, b = y.y;
|
|
6102
6102
|
var k = i.hasOwnProperty("x"), _ = i.hasOwnProperty("y"), C = Ge, D = Re, L = window;
|
|
6103
6103
|
if (c) {
|
|
6104
|
-
var H =
|
|
6104
|
+
var H = en(a), F = "clientHeight", U = "clientWidth";
|
|
6105
6105
|
if (H === Se(a) && (H = gt(a), tt(H).position !== "static" && r === "absolute" && (F = "scrollHeight", U = "scrollWidth")), H = H, s === Re || (s === Ge || s === vt) && o === da) {
|
|
6106
|
-
D =
|
|
6106
|
+
D = We;
|
|
6107
6107
|
var q = f && H === L && L.visualViewport ? L.visualViewport.height : (
|
|
6108
6108
|
// $FlowFixMe[prop-missing]
|
|
6109
6109
|
H[F]
|
|
6110
6110
|
);
|
|
6111
6111
|
b -= q - n.height, b *= l ? 1 : -1;
|
|
6112
6112
|
}
|
|
6113
|
-
if (s === Ge || (s === Re || s ===
|
|
6113
|
+
if (s === Ge || (s === Re || s === We) && o === da) {
|
|
6114
6114
|
C = vt;
|
|
6115
6115
|
var O = f && H === L && L.visualViewport ? L.visualViewport.width : (
|
|
6116
6116
|
// $FlowFixMe[prop-missing]
|
|
@@ -6168,7 +6168,7 @@ function x7(t) {
|
|
|
6168
6168
|
var e = t.state;
|
|
6169
6169
|
Object.keys(e.elements).forEach(function(a) {
|
|
6170
6170
|
var n = e.styles[a] || {}, s = e.attributes[a] || {}, o = e.elements[a];
|
|
6171
|
-
!Pe(o) || !
|
|
6171
|
+
!Pe(o) || !Ze(o) || (Object.assign(o.style, n), Object.keys(s).forEach(function(i) {
|
|
6172
6172
|
var r = s[i];
|
|
6173
6173
|
r === !1 ? o.removeAttribute(i) : o.setAttribute(i, r === !0 ? "" : r);
|
|
6174
6174
|
}));
|
|
@@ -6192,7 +6192,7 @@ function Y7(t) {
|
|
|
6192
6192
|
var s = e.elements[n], o = e.attributes[n] || {}, i = Object.keys(e.styles.hasOwnProperty(n) ? e.styles[n] : a[n]), r = i.reduce(function(l, c) {
|
|
6193
6193
|
return l[c] = "", l;
|
|
6194
6194
|
}, {});
|
|
6195
|
-
!Pe(s) || !
|
|
6195
|
+
!Pe(s) || !Ze(s) || (Object.assign(s.style, r), Object.keys(o).forEach(function(l) {
|
|
6196
6196
|
s.removeAttribute(l);
|
|
6197
6197
|
}));
|
|
6198
6198
|
});
|
|
@@ -6238,14 +6238,14 @@ function ep(t) {
|
|
|
6238
6238
|
};
|
|
6239
6239
|
if (H) {
|
|
6240
6240
|
if (o) {
|
|
6241
|
-
var Z, ie = D === "y" ? Re : Ge, E = D === "y" ?
|
|
6241
|
+
var Z, ie = D === "y" ? Re : Ge, E = D === "y" ? We : vt, N = D === "y" ? "height" : "width", A = H[D], m = A + y[ie], I = A - y[E], J = h ? -U[N] / 2 : 0, ae = _ === qt ? F[N] : U[N], le = _ === qt ? -U[N] : -F[N], ne = e.elements.arrow, re = h && ne ? si(ne) : {
|
|
6242
6242
|
width: 0,
|
|
6243
6243
|
height: 0
|
|
6244
|
-
}, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = Y[ie], X = Y[E], he = Ia(0, F[N], re[N]), we = C ? F[N] / 2 - J - he - V - O.mainAxis : ae - he - V - O.mainAxis, Kt = C ? -F[N] / 2 + J + he + X + O.mainAxis : le + he + X + O.mainAxis, Gt = e.elements.arrow &&
|
|
6244
|
+
}, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = Y[ie], X = Y[E], he = Ia(0, F[N], re[N]), we = C ? F[N] / 2 - J - he - V - O.mainAxis : ae - he - V - O.mainAxis, Kt = C ? -F[N] / 2 + J + he + X + O.mainAxis : le + he + X + O.mainAxis, Gt = e.elements.arrow && en(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (Z = x == null ? void 0 : x[D]) != null ? Z : 0, an = A + we - _a - nt, st = A + Kt - _a, ya = Ia(h ? Na(m, an) : m, A, h ? kt(I, st) : I);
|
|
6245
6245
|
H[D] = ya, R[D] = ya - A;
|
|
6246
6246
|
}
|
|
6247
6247
|
if (r) {
|
|
6248
|
-
var it, Ne = D === "x" ? Re : Ge, Ae = D === "x" ?
|
|
6248
|
+
var it, Ne = D === "x" ? Re : Ge, Ae = D === "x" ? We : vt, Be = H[L], qe = L === "y" ? "height" : "width", Xt = Be + y[Ne], ba = Be - y[Ae], Te = [Re, Ge].indexOf(k) !== -1, Qt = (it = x == null ? void 0 : x[L]) != null ? it : 0, ot = Te ? Xt : Be - F[qe] - U[qe] - Qt + O.altAxis, _t = Te ? Be + F[qe] + U[qe] - Qt - O.altAxis : ba, wa = h && Te ? J7(ot, Be, _t) : Ia(h ? ot : Xt, Be, h ? _t : ba);
|
|
6249
6249
|
H[L] = wa, R[L] = wa - Be;
|
|
6250
6250
|
}
|
|
6251
6251
|
e.modifiersData[n] = R;
|
|
@@ -6281,7 +6281,7 @@ function sp(t, e) {
|
|
|
6281
6281
|
e === void 0 && (e = {});
|
|
6282
6282
|
var a = e, n = a.placement, s = a.boundary, o = a.rootBoundary, i = a.padding, r = a.flipVariations, l = a.allowedAutoPlacements, c = l === void 0 ? h7 : l, u = zt(n), f = u ? r ? _s : _s.filter(function(w) {
|
|
6283
6283
|
return zt(w) === u;
|
|
6284
|
-
}) :
|
|
6284
|
+
}) : tn, d = f.filter(function(w) {
|
|
6285
6285
|
return c.indexOf(w) >= 0;
|
|
6286
6286
|
});
|
|
6287
6287
|
d.length === 0 && (d = f);
|
|
@@ -6316,13 +6316,13 @@ function op(t) {
|
|
|
6316
6316
|
allowedAutoPlacements: b
|
|
6317
6317
|
}) : Y);
|
|
6318
6318
|
}, []), L = e.rects.reference, H = e.rects.popper, F = /* @__PURE__ */ new Map(), U = !0, q = D[0], O = 0; O < D.length; O++) {
|
|
6319
|
-
var x = D[O], R = ct(x), Z = zt(x) === qt, ie = [Re,
|
|
6319
|
+
var x = D[O], R = ct(x), Z = zt(x) === qt, ie = [Re, We].indexOf(R) >= 0, E = ie ? "width" : "height", N = Un(e, {
|
|
6320
6320
|
placement: x,
|
|
6321
6321
|
boundary: u,
|
|
6322
6322
|
rootBoundary: f,
|
|
6323
6323
|
altBoundary: d,
|
|
6324
6324
|
padding: c
|
|
6325
|
-
}), A = ie ? Z ? vt : Ge : Z ?
|
|
6325
|
+
}), A = ie ? Z ? vt : Ge : Z ? We : Re;
|
|
6326
6326
|
L[E] > H[E] && (A = La(A));
|
|
6327
6327
|
var m = La(A), I = [];
|
|
6328
6328
|
if (o && I.push(N[R] <= 0), r && I.push(N[A] <= 0, N[m] <= 0), I.every(function(re) {
|
|
@@ -7658,7 +7658,7 @@ const $e = /* @__PURE__ */ z({
|
|
|
7658
7658
|
ref_key: "multiselectRef",
|
|
7659
7659
|
ref: n,
|
|
7660
7660
|
class: "ao-multiselect"
|
|
7661
|
-
},
|
|
7661
|
+
}, Za({ _: 2 }, [
|
|
7662
7662
|
_e(s.$slots, (i, r) => ({
|
|
7663
7663
|
name: r,
|
|
7664
7664
|
fn: W((l) => [
|
|
@@ -8157,7 +8157,7 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
|
|
|
8157
8157
|
};
|
|
8158
8158
|
}
|
|
8159
8159
|
});
|
|
8160
|
-
const
|
|
8160
|
+
const bn = /* @__PURE__ */ z({
|
|
8161
8161
|
__name: "AoButtonCheck",
|
|
8162
8162
|
props: {
|
|
8163
8163
|
modelValue: { type: Boolean },
|
|
@@ -8192,16 +8192,16 @@ const yn = /* @__PURE__ */ z({
|
|
|
8192
8192
|
}, Zf = { class: "ao-field" }, Wf = { class: "ao-field__label" }, qf = { class: "ao-activity-details__aside-section" }, zf = { class: "ao-field ao-field--multiselect" }, xf = { class: "ao-field__label" }, Yf = { class: "ao-activity-details__aside-section" }, Kf = {
|
|
8193
8193
|
key: 0,
|
|
8194
8194
|
class: "ao-field__row"
|
|
8195
|
-
}, Gf = { class: "ao-field" }, Xf = { class: "ao-field__label" }, Qf = ["readonly"], Jf = { class: "ao-activity-details__aside-section" },
|
|
8195
|
+
}, Gf = { class: "ao-field" }, Xf = { class: "ao-field__label" }, Qf = ["readonly"], Jf = { class: "ao-activity-details__aside-section" }, ev = {
|
|
8196
8196
|
key: 0,
|
|
8197
8197
|
class: "ao-field__row"
|
|
8198
|
-
},
|
|
8198
|
+
}, tv = { class: "ao-field ao-field--multiselect" }, av = { class: "ao-activity-details__aside-section" }, nv = {
|
|
8199
8199
|
key: 1,
|
|
8200
8200
|
class: "ao-activity-details__aside-section"
|
|
8201
|
-
},
|
|
8201
|
+
}, sv = { class: "ao-fieldset ao-activity-details__aside-section" }, iv = { class: "ao-fieldset__title" }, ov = { class: "ao-fieldset__body" }, rv = { class: "ao-field__row" }, lv = { class: "ao-field ao-field--multiselect" }, uv = { class: "ao-field__label" }, cv = { class: "ao-field__row" }, dv = { class: "ao-field ao-field--multiselect" }, pv = { class: "ao-field__label" }, fv = {
|
|
8202
8202
|
key: 2,
|
|
8203
8203
|
class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
|
|
8204
|
-
},
|
|
8204
|
+
}, vv = { class: "ao-activity__created-by" }, Zn = /* @__PURE__ */ z({
|
|
8205
8205
|
__name: "AoActivityDetails",
|
|
8206
8206
|
props: {
|
|
8207
8207
|
activity: {},
|
|
@@ -8613,8 +8613,8 @@ const yn = /* @__PURE__ */ z({
|
|
|
8613
8613
|
])) : T("", !0)
|
|
8614
8614
|
]),
|
|
8615
8615
|
v("div", Jf, [
|
|
8616
|
-
u.value ? (p(), g("div",
|
|
8617
|
-
v("label",
|
|
8616
|
+
u.value ? (p(), g("div", ev, [
|
|
8617
|
+
v("label", tv, [
|
|
8618
8618
|
M($e, {
|
|
8619
8619
|
modelValue: f.value,
|
|
8620
8620
|
"onUpdate:modelValue": I[5] || (I[5] = (ne) => f.value = ne),
|
|
@@ -8630,8 +8630,8 @@ const yn = /* @__PURE__ */ z({
|
|
|
8630
8630
|
])) : T("", !0),
|
|
8631
8631
|
te(m.$slots, "default", { activity: m.activity })
|
|
8632
8632
|
]),
|
|
8633
|
-
v("div",
|
|
8634
|
-
M(
|
|
8633
|
+
v("div", av, [
|
|
8634
|
+
M(bn, {
|
|
8635
8635
|
modelValue: r.value,
|
|
8636
8636
|
"onUpdate:modelValue": I[6] || (I[6] = (ne) => r.value = ne),
|
|
8637
8637
|
modelModifiers: { lazy: !0 },
|
|
@@ -8645,8 +8645,8 @@ const yn = /* @__PURE__ */ z({
|
|
|
8645
8645
|
size: "sm"
|
|
8646
8646
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8647
8647
|
]),
|
|
8648
|
-
m.isTemplate !== !0 && m.activity.createdBy.id === m.userId ? (p(), g("div",
|
|
8649
|
-
M(
|
|
8648
|
+
m.isTemplate !== !0 && m.activity.createdBy.id === m.userId ? (p(), g("div", nv, [
|
|
8649
|
+
M(bn, {
|
|
8650
8650
|
modelValue: l.value,
|
|
8651
8651
|
"onUpdate:modelValue": I[7] || (I[7] = (ne) => l.value = ne),
|
|
8652
8652
|
modelModifiers: { lazy: !0 },
|
|
@@ -8659,18 +8659,18 @@ const yn = /* @__PURE__ */ z({
|
|
|
8659
8659
|
size: "sm"
|
|
8660
8660
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8661
8661
|
])) : T("", !0),
|
|
8662
|
-
v("fieldset",
|
|
8663
|
-
v("div",
|
|
8662
|
+
v("fieldset", sv, [
|
|
8663
|
+
v("div", iv, [
|
|
8664
8664
|
M(pe, { name: "FlowsheetOutlineRounded" }),
|
|
8665
8665
|
M(ye, {
|
|
8666
8666
|
level: 4,
|
|
8667
8667
|
title: m.$t("activity.dependencies.title")
|
|
8668
8668
|
}, null, 8, ["title"])
|
|
8669
8669
|
]),
|
|
8670
|
-
v("div",
|
|
8671
|
-
v("div",
|
|
8672
|
-
v("label",
|
|
8673
|
-
v("span",
|
|
8670
|
+
v("div", ov, [
|
|
8671
|
+
v("div", rv, [
|
|
8672
|
+
v("label", lv, [
|
|
8673
|
+
v("span", uv, G(m.$t("activity.dependingOn.label")), 1),
|
|
8674
8674
|
M($e, {
|
|
8675
8675
|
modelValue: h.value,
|
|
8676
8676
|
"onUpdate:modelValue": I[8] || (I[8] = (ne) => h.value = ne),
|
|
@@ -8684,9 +8684,9 @@ const yn = /* @__PURE__ */ z({
|
|
|
8684
8684
|
}, null, 8, ["modelValue", "options", "disabled", "caret"])
|
|
8685
8685
|
])
|
|
8686
8686
|
]),
|
|
8687
|
-
v("div",
|
|
8688
|
-
v("label",
|
|
8689
|
-
v("span",
|
|
8687
|
+
v("div", cv, [
|
|
8688
|
+
v("label", dv, [
|
|
8689
|
+
v("span", pv, G(m.$t("activity.blocking.label")), 1),
|
|
8690
8690
|
M($e, {
|
|
8691
8691
|
modelValue: b.value,
|
|
8692
8692
|
"onUpdate:modelValue": I[9] || (I[9] = (ne) => b.value = ne),
|
|
@@ -8702,8 +8702,8 @@ const yn = /* @__PURE__ */ z({
|
|
|
8702
8702
|
])
|
|
8703
8703
|
])
|
|
8704
8704
|
]),
|
|
8705
|
-
m.isTemplate !== !0 && A.value ? (p(), g("div",
|
|
8706
|
-
v("div",
|
|
8705
|
+
m.isTemplate !== !0 && A.value ? (p(), g("div", fv, [
|
|
8706
|
+
v("div", vv, [
|
|
8707
8707
|
M(Je, {
|
|
8708
8708
|
"user-name": A.value,
|
|
8709
8709
|
color: "black"
|
|
@@ -8719,7 +8719,7 @@ const yn = /* @__PURE__ */ z({
|
|
|
8719
8719
|
}));
|
|
8720
8720
|
}
|
|
8721
8721
|
});
|
|
8722
|
-
const
|
|
8722
|
+
const hv = /* @__PURE__ */ z({
|
|
8723
8723
|
__name: "AoRuleLine",
|
|
8724
8724
|
props: {
|
|
8725
8725
|
rule: {},
|
|
@@ -8843,7 +8843,7 @@ const h9 = /* @__PURE__ */ z({
|
|
|
8843
8843
|
}));
|
|
8844
8844
|
}
|
|
8845
8845
|
});
|
|
8846
|
-
const
|
|
8846
|
+
const mv = { class: "ao-template-rules__body" }, Cv = { class: "ao-template-rules__list" }, gv = /* @__PURE__ */ z({
|
|
8847
8847
|
__name: "AoTemplateRules",
|
|
8848
8848
|
props: {
|
|
8849
8849
|
templateId: {},
|
|
@@ -8867,9 +8867,9 @@ const m9 = { class: "ao-template-rules__body" }, C9 = { class: "ao-template-rule
|
|
|
8867
8867
|
}, null, 8, ["title"])
|
|
8868
8868
|
]),
|
|
8869
8869
|
default: W(() => [
|
|
8870
|
-
v("div",
|
|
8871
|
-
v("ul",
|
|
8872
|
-
(p(!0), g(ve, null, _e(s.rules, (i) => (p(), P(
|
|
8870
|
+
v("div", mv, [
|
|
8871
|
+
v("ul", Cv, [
|
|
8872
|
+
(p(!0), g(ve, null, _e(s.rules, (i) => (p(), P(hv, {
|
|
8873
8873
|
key: i.id,
|
|
8874
8874
|
rule: i,
|
|
8875
8875
|
"template-phases": s.templatePhases,
|
|
@@ -8897,10 +8897,10 @@ function Bt(t, e, a) {
|
|
|
8897
8897
|
rank: o.format()
|
|
8898
8898
|
};
|
|
8899
8899
|
}
|
|
8900
|
-
const
|
|
8900
|
+
const _v = {
|
|
8901
8901
|
key: 0,
|
|
8902
8902
|
class: "ao-template-details"
|
|
8903
|
-
},
|
|
8903
|
+
}, yv = { class: "ao-template-details__body" }, bv = { class: "ao-template-details__cols" }, wv = { class: "ao-template-details__col" }, $v = { class: "ao-list__footer" }, kv = { class: "ao-template-details__col" }, Sv = { class: "ao-template-details__col" }, Mv = /* @__PURE__ */ z({
|
|
8904
8904
|
__name: "AoTemplateDetails",
|
|
8905
8905
|
props: {
|
|
8906
8906
|
templateId: {},
|
|
@@ -9142,8 +9142,8 @@ const _9 = {
|
|
|
9142
9142
|
};
|
|
9143
9143
|
return (A, m) => {
|
|
9144
9144
|
var I, J, ae, le, ne, re;
|
|
9145
|
-
return s.value ? (p(), g("div",
|
|
9146
|
-
M(
|
|
9145
|
+
return s.value ? (p(), g("div", _v, [
|
|
9146
|
+
M(Ka, {
|
|
9147
9147
|
"can-go-back": !0,
|
|
9148
9148
|
onGoBack: m[1] || (m[1] = (Y) => A.$router.push({ name: Q(Dt).TEMPLATES_LIST }))
|
|
9149
9149
|
}, {
|
|
@@ -9159,9 +9159,9 @@ const _9 = {
|
|
|
9159
9159
|
]),
|
|
9160
9160
|
_: 1
|
|
9161
9161
|
}),
|
|
9162
|
-
v("div",
|
|
9163
|
-
v("ol",
|
|
9164
|
-
v("li",
|
|
9162
|
+
v("div", yv, [
|
|
9163
|
+
v("ol", bv, [
|
|
9164
|
+
v("li", wv, [
|
|
9165
9165
|
M(Q(mt), {
|
|
9166
9166
|
"model-value": s.value.phases,
|
|
9167
9167
|
class: "ao-templates__list",
|
|
@@ -9196,7 +9196,7 @@ const _9 = {
|
|
|
9196
9196
|
];
|
|
9197
9197
|
}),
|
|
9198
9198
|
footer: W(() => [
|
|
9199
|
-
v("div", $
|
|
9199
|
+
v("div", $v, [
|
|
9200
9200
|
M(Ct, {
|
|
9201
9201
|
"icon-name": "AddBoxOutlineRounded",
|
|
9202
9202
|
label: A.$t("template.phases.add"),
|
|
@@ -9207,7 +9207,7 @@ const _9 = {
|
|
|
9207
9207
|
_: 1
|
|
9208
9208
|
}, 8, ["model-value"])
|
|
9209
9209
|
]),
|
|
9210
|
-
v("li",
|
|
9210
|
+
v("li", kv, [
|
|
9211
9211
|
i.value ? (p(), P(d5, {
|
|
9212
9212
|
key: 0,
|
|
9213
9213
|
"template-id": A.templateId,
|
|
@@ -9219,7 +9219,7 @@ const _9 = {
|
|
|
9219
9219
|
onRemoveMilestone: _
|
|
9220
9220
|
}, null, 8, ["template-id", "phase", "milestone-id"])) : T("", !0)
|
|
9221
9221
|
]),
|
|
9222
|
-
v("li",
|
|
9222
|
+
v("li", Sv, [
|
|
9223
9223
|
i.value && r.value ? (p(), P(v5, {
|
|
9224
9224
|
key: 0,
|
|
9225
9225
|
"template-id": A.templateId,
|
|
@@ -9263,7 +9263,7 @@ const _9 = {
|
|
|
9263
9263
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
|
|
9264
9264
|
])),
|
|
9265
9265
|
(p(), P(Nt, { to: "body" }, [
|
|
9266
|
-
F.value ? (p(), P(
|
|
9266
|
+
F.value ? (p(), P(gv, {
|
|
9267
9267
|
key: 0,
|
|
9268
9268
|
"template-id": s.value.id,
|
|
9269
9269
|
rules: s.value.rules || [],
|
|
@@ -9279,10 +9279,10 @@ const _9 = {
|
|
|
9279
9279
|
};
|
|
9280
9280
|
}
|
|
9281
9281
|
});
|
|
9282
|
-
const
|
|
9282
|
+
const Av = {
|
|
9283
9283
|
key: 0,
|
|
9284
9284
|
class: "ao-card__header"
|
|
9285
|
-
},
|
|
9285
|
+
}, Tv = { class: "ao-card__body" }, Ov = {
|
|
9286
9286
|
key: 1,
|
|
9287
9287
|
class: "ao-card__footer"
|
|
9288
9288
|
}, Wn = /* @__PURE__ */ z({
|
|
@@ -9303,13 +9303,13 @@ const A9 = {
|
|
|
9303
9303
|
])
|
|
9304
9304
|
}, {
|
|
9305
9305
|
default: W(() => [
|
|
9306
|
-
e.$slots.header ? (p(), g("header",
|
|
9306
|
+
e.$slots.header ? (p(), g("header", Av, [
|
|
9307
9307
|
te(e.$slots, "header")
|
|
9308
9308
|
])) : T("", !0),
|
|
9309
|
-
v("div",
|
|
9309
|
+
v("div", Tv, [
|
|
9310
9310
|
te(e.$slots, "default")
|
|
9311
9311
|
]),
|
|
9312
|
-
e.$slots.footer ? (p(), g("footer",
|
|
9312
|
+
e.$slots.footer ? (p(), g("footer", Ov, [
|
|
9313
9313
|
te(e.$slots, "footer")
|
|
9314
9314
|
])) : T("", !0)
|
|
9315
9315
|
]),
|
|
@@ -9332,18 +9332,18 @@ const qn = /* @__PURE__ */ z({
|
|
|
9332
9332
|
(p(!0), g(ve, null, _e(a.value, (o) => (p(), g("div", {
|
|
9333
9333
|
key: o,
|
|
9334
9334
|
class: K(["ao-progress__progress"]),
|
|
9335
|
-
style:
|
|
9335
|
+
style: Ua({ width: `${o * 100}%` })
|
|
9336
9336
|
}, null, 4))), 128))
|
|
9337
9337
|
], 2));
|
|
9338
9338
|
}
|
|
9339
9339
|
});
|
|
9340
|
-
const
|
|
9340
|
+
const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-project-phase__footer" }, Lv = {
|
|
9341
9341
|
key: 0,
|
|
9342
9342
|
class: "ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"
|
|
9343
|
-
},
|
|
9343
|
+
}, Hv = { class: "ao-card-project-phase__subitem" }, Dv = { class: "ao-card-project-phase__subitem" }, Pv = {
|
|
9344
9344
|
key: 0,
|
|
9345
9345
|
class: "ao-card-project-phase__secondary"
|
|
9346
|
-
},
|
|
9346
|
+
}, Vv = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, Bv = /* @__PURE__ */ z({
|
|
9347
9347
|
__name: "AoCardProjectItemPhase",
|
|
9348
9348
|
props: {
|
|
9349
9349
|
id: {},
|
|
@@ -9372,7 +9372,7 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9372
9372
|
return (c = a.milestones) == null ? void 0 : c.length;
|
|
9373
9373
|
}), i = S(() => {
|
|
9374
9374
|
var c;
|
|
9375
|
-
return (c = a.milestones) == null ? void 0 : c.filter((u) => u.status ===
|
|
9375
|
+
return (c = a.milestones) == null ? void 0 : c.filter((u) => u.status === mn.done).length;
|
|
9376
9376
|
}), r = S(() => (i.value || 0) / (o.value || 1)), l = S({
|
|
9377
9377
|
get: () => a.deadline ?? "",
|
|
9378
9378
|
set: (c) => e("update:deadline", c != null && c.length ? c : null)
|
|
@@ -9380,7 +9380,7 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9380
9380
|
return (c, u) => (p(), P(Wn, {
|
|
9381
9381
|
class: "ao-card-project-phase",
|
|
9382
9382
|
"is-clickable": c.isEditable
|
|
9383
|
-
},
|
|
9383
|
+
}, Za({
|
|
9384
9384
|
default: W(() => [
|
|
9385
9385
|
M(ye, {
|
|
9386
9386
|
id: c.id,
|
|
@@ -9392,20 +9392,20 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9392
9392
|
}, null, 8, ["id", "title", "is-editable"])
|
|
9393
9393
|
]),
|
|
9394
9394
|
footer: W(() => [
|
|
9395
|
-
v("div",
|
|
9396
|
-
o.value ? (p(), g("div",
|
|
9397
|
-
v("div",
|
|
9395
|
+
v("div", Iv, [
|
|
9396
|
+
o.value ? (p(), g("div", Lv, [
|
|
9397
|
+
v("div", Hv, [
|
|
9398
9398
|
M(pe, {
|
|
9399
9399
|
name: "MountainFlagOutlineRounded",
|
|
9400
9400
|
size: "sm"
|
|
9401
9401
|
}),
|
|
9402
|
-
v("span",
|
|
9402
|
+
v("span", Dv, G(i.value) + " / " + G(o.value), 1)
|
|
9403
9403
|
]),
|
|
9404
9404
|
M(qn, {
|
|
9405
9405
|
percentages: r.value,
|
|
9406
9406
|
class: "ao-card-project-phase__progress"
|
|
9407
9407
|
}, null, 8, ["percentages"]),
|
|
9408
|
-
c.$slots.secondary ? (p(), g("div",
|
|
9408
|
+
c.$slots.secondary ? (p(), g("div", Pv, [
|
|
9409
9409
|
te(c.$slots, "secondary")
|
|
9410
9410
|
])) : T("", !0)
|
|
9411
9411
|
])) : T("", !0),
|
|
@@ -9425,7 +9425,7 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9425
9425
|
{ lazy: !0 }
|
|
9426
9426
|
]
|
|
9427
9427
|
]) : T("", !0),
|
|
9428
|
-
v("span",
|
|
9428
|
+
v("span", Vv, G(Q(Tn)(c.deadline)), 1)
|
|
9429
9429
|
], 2)
|
|
9430
9430
|
])
|
|
9431
9431
|
]),
|
|
@@ -9434,7 +9434,7 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9434
9434
|
c.isEditable ? {
|
|
9435
9435
|
name: "header",
|
|
9436
9436
|
fn: W(() => [
|
|
9437
|
-
v("div",
|
|
9437
|
+
v("div", Ev, [
|
|
9438
9438
|
M(ce, {
|
|
9439
9439
|
class: "ao-card-project-phase__archive",
|
|
9440
9440
|
color: "primary",
|
|
@@ -9453,19 +9453,32 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9453
9453
|
]), 1032, ["is-clickable"]));
|
|
9454
9454
|
}
|
|
9455
9455
|
});
|
|
9456
|
-
const
|
|
9456
|
+
const Rv = /* @__PURE__ */ z({
|
|
9457
|
+
__name: "AoBadge",
|
|
9458
|
+
props: {
|
|
9459
|
+
color: {}
|
|
9460
|
+
},
|
|
9461
|
+
setup(t) {
|
|
9462
|
+
return (e, a) => (p(), g("span", {
|
|
9463
|
+
class: "badge",
|
|
9464
|
+
"aria-hidden": "true",
|
|
9465
|
+
style: Ua({ backgroundColor: e.color })
|
|
9466
|
+
}, null, 4));
|
|
9467
|
+
}
|
|
9468
|
+
});
|
|
9469
|
+
const Nv = { class: "ao-card-project-milestone__default" }, jv = { style: { display: "flex", gap: "8px" } }, Fv = {
|
|
9457
9470
|
key: 0,
|
|
9458
9471
|
class: "ao-card-project-milestone__archive"
|
|
9459
|
-
},
|
|
9472
|
+
}, Uv = { class: "ao-card-project-milestone__activities" }, Zv = { class: "ao-card-project-milestone__activities-row" }, Wv = { class: "ao-card-project-milestone__subitem" }, qv = { class: "ao-card-project-milestone__subitem" }, zv = {
|
|
9460
9473
|
key: 1,
|
|
9461
9474
|
class: "ao-card-project-milestone__secondary"
|
|
9462
|
-
},
|
|
9475
|
+
}, xv = { class: "ao-card-project-milestone__footer" }, Yv = {
|
|
9463
9476
|
key: 1,
|
|
9464
9477
|
class: "ao-field ao-card-project-milestone__deadline"
|
|
9465
|
-
},
|
|
9478
|
+
}, Kv = { class: "ao-field__label" }, Gv = {
|
|
9466
9479
|
key: 2,
|
|
9467
9480
|
class: "ao-card-project-milestone__assignee"
|
|
9468
|
-
},
|
|
9481
|
+
}, Xv = /* @__PURE__ */ z({
|
|
9469
9482
|
__name: "AoCardProjectItemMilestone",
|
|
9470
9483
|
props: {
|
|
9471
9484
|
id: {},
|
|
@@ -9497,96 +9510,95 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = { style: { disp
|
|
|
9497
9510
|
}), i = S(() => (o.value || 0) / (s.value || 1)), r = (l) => {
|
|
9498
9511
|
e("updateMilestone", { id: a.id, name: l });
|
|
9499
9512
|
};
|
|
9500
|
-
return (l, c) => {
|
|
9501
|
-
|
|
9502
|
-
|
|
9503
|
-
|
|
9504
|
-
|
|
9505
|
-
|
|
9506
|
-
|
|
9507
|
-
|
|
9508
|
-
|
|
9509
|
-
|
|
9510
|
-
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
]),
|
|
9524
|
-
!l.readonly && l.isEditable ? (p(), g("div", j9, [
|
|
9525
|
-
M(ce, {
|
|
9526
|
-
color: l.isSelected ? void 0 : "primary",
|
|
9527
|
-
variant: "ghost",
|
|
9528
|
-
"icon-name": "ArchiveOutlineRounded",
|
|
9529
|
-
size: "sm",
|
|
9530
|
-
"icon-position": "start",
|
|
9531
|
-
corners: "round",
|
|
9532
|
-
label: l.$t("archive"),
|
|
9533
|
-
onClick: c[0] || (c[0] = fe(() => l.$emit("archiveMilestone", { id: l.id }), ["stop"]))
|
|
9534
|
-
}, null, 8, ["color", "label"])
|
|
9535
|
-
])) : T("", !0)
|
|
9513
|
+
return (l, c) => (p(), P(Wn, {
|
|
9514
|
+
class: K([
|
|
9515
|
+
"ao-card-project-milestone",
|
|
9516
|
+
{ "ao-card-project-milestone--selected": l.isSelected }
|
|
9517
|
+
]),
|
|
9518
|
+
"is-clickable": !l.readonly,
|
|
9519
|
+
"tag-name": "li",
|
|
9520
|
+
"is-selected": l.isSelected
|
|
9521
|
+
}, {
|
|
9522
|
+
default: W(() => [
|
|
9523
|
+
v("div", Nv, [
|
|
9524
|
+
v("div", jv, [
|
|
9525
|
+
M(Rv, {
|
|
9526
|
+
color: l.color || ""
|
|
9527
|
+
}, null, 8, ["color"]),
|
|
9528
|
+
M(ye, {
|
|
9529
|
+
id: l.id,
|
|
9530
|
+
title: n.value || "",
|
|
9531
|
+
level: 5,
|
|
9532
|
+
"is-editable": !l.readonly && l.isEditable,
|
|
9533
|
+
class: "ao-card-project-milestone__title",
|
|
9534
|
+
"onUpdate:title": r
|
|
9535
|
+
}, null, 8, ["id", "title", "is-editable"])
|
|
9536
9536
|
]),
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
|
|
9545
|
-
|
|
9546
|
-
|
|
9547
|
-
|
|
9548
|
-
|
|
9549
|
-
class: "ao-card-project-milestone__progress"
|
|
9550
|
-
}, null, 8, ["percentages"])
|
|
9551
|
-
], 64)) : T("", !0),
|
|
9552
|
-
l.$slots.secondary ? (p(), g("div", q9, [
|
|
9553
|
-
te(l.$slots, "secondary")
|
|
9554
|
-
])) : T("", !0)
|
|
9555
|
-
])
|
|
9556
|
-
])
|
|
9537
|
+
!l.readonly && l.isEditable ? (p(), g("div", Fv, [
|
|
9538
|
+
M(ce, {
|
|
9539
|
+
color: l.isSelected ? void 0 : "primary",
|
|
9540
|
+
variant: "ghost",
|
|
9541
|
+
"icon-name": "ArchiveOutlineRounded",
|
|
9542
|
+
size: "sm",
|
|
9543
|
+
"icon-position": "start",
|
|
9544
|
+
corners: "round",
|
|
9545
|
+
label: l.$t("archive"),
|
|
9546
|
+
onClick: c[0] || (c[0] = fe(() => l.$emit("archiveMilestone", { id: l.id }), ["stop"]))
|
|
9547
|
+
}, null, 8, ["color", "label"])
|
|
9548
|
+
])) : T("", !0)
|
|
9557
9549
|
]),
|
|
9558
|
-
|
|
9559
|
-
v("div",
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
|
|
9568
|
-
|
|
9569
|
-
|
|
9570
|
-
|
|
9571
|
-
|
|
9572
|
-
|
|
9573
|
-
|
|
9574
|
-
|
|
9575
|
-
color: l.isSelected ? "black" : "primary",
|
|
9576
|
-
size: "sm"
|
|
9577
|
-
}, null, 8, ["user-name", "avatar-url", "color"])
|
|
9550
|
+
v("div", Uv, [
|
|
9551
|
+
v("div", Zv, [
|
|
9552
|
+
s.value ? (p(), g(ve, { key: 0 }, [
|
|
9553
|
+
v("div", Wv, [
|
|
9554
|
+
M(pe, {
|
|
9555
|
+
name: "SelectCheckBox",
|
|
9556
|
+
size: "sm"
|
|
9557
|
+
}),
|
|
9558
|
+
v("span", qv, G(o.value) + " / " + G(s.value), 1)
|
|
9559
|
+
]),
|
|
9560
|
+
M(qn, {
|
|
9561
|
+
percentages: i.value,
|
|
9562
|
+
class: "ao-card-project-milestone__progress"
|
|
9563
|
+
}, null, 8, ["percentages"])
|
|
9564
|
+
], 64)) : T("", !0),
|
|
9565
|
+
l.$slots.secondary ? (p(), g("div", zv, [
|
|
9566
|
+
te(l.$slots, "secondary")
|
|
9578
9567
|
])) : T("", !0)
|
|
9579
9568
|
])
|
|
9580
|
-
])
|
|
9581
|
-
|
|
9582
|
-
|
|
9583
|
-
|
|
9569
|
+
])
|
|
9570
|
+
]),
|
|
9571
|
+
footer: W(() => [
|
|
9572
|
+
v("div", xv, [
|
|
9573
|
+
l.important ? (p(), P(pe, {
|
|
9574
|
+
key: 0,
|
|
9575
|
+
name: "FlagRounded",
|
|
9576
|
+
class: K(
|
|
9577
|
+
l.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
|
|
9578
|
+
),
|
|
9579
|
+
size: "sm"
|
|
9580
|
+
}, null, 8, ["class"])) : T("", !0),
|
|
9581
|
+
l.deadline ? (p(), g("label", Yv, [
|
|
9582
|
+
v("span", Kv, G(Q(Tn)(l.deadline)), 1)
|
|
9583
|
+
])) : T("", !0),
|
|
9584
|
+
l.assignee ? (p(), g("div", Gv, [
|
|
9585
|
+
M(Je, {
|
|
9586
|
+
"user-name": Q(zs)(l.assignee),
|
|
9587
|
+
"avatar-url": l.assignee.avatarUrl,
|
|
9588
|
+
color: l.isSelected ? "black" : "primary",
|
|
9589
|
+
size: "sm"
|
|
9590
|
+
}, null, 8, ["user-name", "avatar-url", "color"])
|
|
9591
|
+
])) : T("", !0)
|
|
9592
|
+
])
|
|
9593
|
+
]),
|
|
9594
|
+
_: 3
|
|
9595
|
+
}, 8, ["class", "is-clickable", "is-selected"]));
|
|
9584
9596
|
}
|
|
9585
9597
|
});
|
|
9586
|
-
const
|
|
9598
|
+
const Qv = {
|
|
9587
9599
|
key: 0,
|
|
9588
9600
|
class: "ao-project-phase__drag ao-card__drag"
|
|
9589
|
-
},
|
|
9601
|
+
}, Jv = { class: "ao-project-phase__col-phase" }, e9 = { class: "ao-project-phase__col-milestones" }, t9 = { class: "ao-project-phase__milestones" }, a9 = { class: "ao-project-phase__milestones-list-footer" }, n9 = /* @__PURE__ */ z({
|
|
9590
9602
|
__name: "AoProjectPhase",
|
|
9591
9603
|
props: {
|
|
9592
9604
|
phase: {},
|
|
@@ -9643,14 +9655,14 @@ const X9 = {
|
|
|
9643
9655
|
{ "ao-project-phase--selected": d.phase.id === ((w = d.$route.params) == null ? void 0 : w.phaseId) }
|
|
9644
9656
|
])
|
|
9645
9657
|
}, [
|
|
9646
|
-
d.isEditable ? (p(), g("div",
|
|
9658
|
+
d.isEditable ? (p(), g("div", Qv, [
|
|
9647
9659
|
M(pe, {
|
|
9648
9660
|
name: "DragIndicator",
|
|
9649
9661
|
class: "ao-project-phase__drag-handle"
|
|
9650
9662
|
})
|
|
9651
9663
|
])) : T("", !0),
|
|
9652
|
-
v("div",
|
|
9653
|
-
M(
|
|
9664
|
+
v("div", Jv, [
|
|
9665
|
+
M(Bv, {
|
|
9654
9666
|
id: d.phase.id,
|
|
9655
9667
|
milestones: i.value,
|
|
9656
9668
|
name: d.phase.name,
|
|
@@ -9661,8 +9673,8 @@ const X9 = {
|
|
|
9661
9673
|
onArchivePhase: u
|
|
9662
9674
|
}, null, 8, ["id", "milestones", "name", "deadline", "is-editable"])
|
|
9663
9675
|
]),
|
|
9664
|
-
v("div",
|
|
9665
|
-
v("div",
|
|
9676
|
+
v("div", e9, [
|
|
9677
|
+
v("div", t9, [
|
|
9666
9678
|
M(Q(mt), He({
|
|
9667
9679
|
class: "ao-project-phase__milestones-list",
|
|
9668
9680
|
list: i.value,
|
|
@@ -9673,7 +9685,7 @@ const X9 = {
|
|
|
9673
9685
|
item: W(({ element: b }) => {
|
|
9674
9686
|
var y;
|
|
9675
9687
|
return [
|
|
9676
|
-
M(
|
|
9688
|
+
M(Xv, {
|
|
9677
9689
|
id: b.id,
|
|
9678
9690
|
name: b.name,
|
|
9679
9691
|
color: b.color,
|
|
@@ -9688,7 +9700,7 @@ const X9 = {
|
|
|
9688
9700
|
readonly: d.readonly,
|
|
9689
9701
|
class: K(["ao-project-phase__milestone"]),
|
|
9690
9702
|
onClick: (k) => !d.readonly && d.$router.push({
|
|
9691
|
-
name: Q(
|
|
9703
|
+
name: Q(Fe).milestone,
|
|
9692
9704
|
params: { phaseId: d.phase.id, milestoneId: b.id }
|
|
9693
9705
|
}),
|
|
9694
9706
|
onUpdateMilestone: l,
|
|
@@ -9698,7 +9710,7 @@ const X9 = {
|
|
|
9698
9710
|
}),
|
|
9699
9711
|
_: 1
|
|
9700
9712
|
}, 16, ["list", "disabled"]),
|
|
9701
|
-
v("div",
|
|
9713
|
+
v("div", a9, [
|
|
9702
9714
|
d.isEditable ? (p(), P(Ct, {
|
|
9703
9715
|
key: 0,
|
|
9704
9716
|
label: d.$t("project.milestone.add"),
|
|
@@ -9713,10 +9725,10 @@ const X9 = {
|
|
|
9713
9725
|
};
|
|
9714
9726
|
}
|
|
9715
9727
|
});
|
|
9716
|
-
const
|
|
9728
|
+
const s9 = { class: "ao-project__phases" }, i9 = {
|
|
9717
9729
|
key: 0,
|
|
9718
9730
|
class: "ao-project-phase__phases-list-footer"
|
|
9719
|
-
},
|
|
9731
|
+
}, o9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__empty_drag" }, null, -1), r9 = { class: "ao-project-phase__col-phase" }, l9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__col-milestones" }, null, -1), u9 = /* @__PURE__ */ z({
|
|
9720
9732
|
__name: "AoProjectPhases",
|
|
9721
9733
|
props: {
|
|
9722
9734
|
phases: {},
|
|
@@ -9752,7 +9764,7 @@ const nv = { class: "ao-project__phases" }, sv = {
|
|
|
9752
9764
|
}, c = (u) => {
|
|
9753
9765
|
e("addPhase", u);
|
|
9754
9766
|
};
|
|
9755
|
-
return (u, f) => (p(), g("div",
|
|
9767
|
+
return (u, f) => (p(), g("div", s9, [
|
|
9756
9768
|
M(Q(mt), {
|
|
9757
9769
|
class: "ao-project-phase__phases-list",
|
|
9758
9770
|
"model-value": u.phases,
|
|
@@ -9761,7 +9773,7 @@ const nv = { class: "ao-project__phases" }, sv = {
|
|
|
9761
9773
|
onChange: r
|
|
9762
9774
|
}, {
|
|
9763
9775
|
item: W(({ element: d }) => [
|
|
9764
|
-
M(
|
|
9776
|
+
M(n9, {
|
|
9765
9777
|
phase: d,
|
|
9766
9778
|
"is-editable": !u.readonly && u.isEditable,
|
|
9767
9779
|
"closed-status": u.closedStatus,
|
|
@@ -9776,9 +9788,9 @@ const nv = { class: "ao-project__phases" }, sv = {
|
|
|
9776
9788
|
]),
|
|
9777
9789
|
_: 1
|
|
9778
9790
|
}, 8, ["model-value"]),
|
|
9779
|
-
u.isEditable ? (p(), g("div",
|
|
9780
|
-
|
|
9781
|
-
v("div",
|
|
9791
|
+
u.isEditable ? (p(), g("div", i9, [
|
|
9792
|
+
o9,
|
|
9793
|
+
v("div", r9, [
|
|
9782
9794
|
M(Ct, {
|
|
9783
9795
|
label: u.$t("project.phases.add"),
|
|
9784
9796
|
"icon-name": "Add",
|
|
@@ -9786,12 +9798,12 @@ const nv = { class: "ao-project__phases" }, sv = {
|
|
|
9786
9798
|
onClick: c
|
|
9787
9799
|
}, null, 8, ["label"])
|
|
9788
9800
|
]),
|
|
9789
|
-
|
|
9801
|
+
l9
|
|
9790
9802
|
])) : T("", !0)
|
|
9791
9803
|
]));
|
|
9792
9804
|
}
|
|
9793
9805
|
});
|
|
9794
|
-
const
|
|
9806
|
+
const c9 = ["onSubmit"], d9 = { class: "ao-add-template-modal__form-body" }, p9 = { class: "field__row" }, f9 = { class: "ao-add-template-modal__form-footer" }, v9 = /* @__PURE__ */ z({
|
|
9795
9807
|
__name: "AoAddTemplateModal",
|
|
9796
9808
|
props: {
|
|
9797
9809
|
projectId: {},
|
|
@@ -9819,8 +9831,8 @@ const uv = ["onSubmit"], cv = { class: "ao-add-template-modal__form-body" }, dv
|
|
|
9819
9831
|
class: "ao-add-template-modal__form",
|
|
9820
9832
|
onSubmit: fe(i, ["prevent"])
|
|
9821
9833
|
}, [
|
|
9822
|
-
v("div",
|
|
9823
|
-
v("div",
|
|
9834
|
+
v("div", d9, [
|
|
9835
|
+
v("div", p9, [
|
|
9824
9836
|
M($e, {
|
|
9825
9837
|
value: s.value,
|
|
9826
9838
|
options: n.value,
|
|
@@ -9829,7 +9841,7 @@ const uv = ["onSubmit"], cv = { class: "ao-add-template-modal__form-body" }, dv
|
|
|
9829
9841
|
}, null, 8, ["value", "options"])
|
|
9830
9842
|
])
|
|
9831
9843
|
]),
|
|
9832
|
-
v("footer",
|
|
9844
|
+
v("footer", f9, [
|
|
9833
9845
|
M(ce, {
|
|
9834
9846
|
label: r.$t("project.template.add.label"),
|
|
9835
9847
|
type: "submit",
|
|
@@ -9838,13 +9850,13 @@ const uv = ["onSubmit"], cv = { class: "ao-add-template-modal__form-body" }, dv
|
|
|
9838
9850
|
onClick: i
|
|
9839
9851
|
}, null, 8, ["label"])
|
|
9840
9852
|
])
|
|
9841
|
-
], 40,
|
|
9853
|
+
], 40, c9)
|
|
9842
9854
|
]),
|
|
9843
9855
|
_: 1
|
|
9844
9856
|
}));
|
|
9845
9857
|
}
|
|
9846
9858
|
});
|
|
9847
|
-
const
|
|
9859
|
+
const h9 = z({
|
|
9848
9860
|
props: {
|
|
9849
9861
|
isLeft: {
|
|
9850
9862
|
type: Boolean,
|
|
@@ -9873,9 +9885,9 @@ const vv = z({
|
|
|
9873
9885
|
}
|
|
9874
9886
|
}
|
|
9875
9887
|
});
|
|
9876
|
-
const
|
|
9877
|
-
function
|
|
9878
|
-
return p(), g("div",
|
|
9888
|
+
const m9 = { class: "toggle-wrapper" };
|
|
9889
|
+
function C9(t, e, a, n, s, o) {
|
|
9890
|
+
return p(), g("div", m9, [
|
|
9879
9891
|
v("button", {
|
|
9880
9892
|
class: K({
|
|
9881
9893
|
button: !0,
|
|
@@ -9896,7 +9908,7 @@ function mv(t, e, a, n, s, o) {
|
|
|
9896
9908
|
}, G(t.rightLabel), 3)
|
|
9897
9909
|
]);
|
|
9898
9910
|
}
|
|
9899
|
-
const ci = /* @__PURE__ */ j(
|
|
9911
|
+
const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527"]]), g9 = { class: "ao-project" }, _9 = { class: "ao-project__body" }, y9 = /* @__PURE__ */ z({
|
|
9900
9912
|
__name: "AoProjectOverviewProject",
|
|
9901
9913
|
props: {
|
|
9902
9914
|
project: {},
|
|
@@ -9959,18 +9971,18 @@ const ci = /* @__PURE__ */ j(vv, [["render", mv], ["__scopeId", "data-v-cbe33527
|
|
|
9959
9971
|
e("applyTemplate", { templateId: O, projectId: x }), U.value = !1;
|
|
9960
9972
|
};
|
|
9961
9973
|
return (O, x) => {
|
|
9962
|
-
const R =
|
|
9974
|
+
const R = Ye("RouterView");
|
|
9963
9975
|
return p(), g(ve, null, [
|
|
9964
9976
|
v("div", He({ class: "ao-project-overview" }, O.$attrs), [
|
|
9965
|
-
v("div",
|
|
9966
|
-
M(
|
|
9977
|
+
v("div", g9, [
|
|
9978
|
+
M(Ka, null, {
|
|
9967
9979
|
primary: W(() => [
|
|
9968
9980
|
M(ci, {
|
|
9969
9981
|
"is-left": !0,
|
|
9970
9982
|
"right-label": O.$t("project.switch.feed"),
|
|
9971
9983
|
"left-label": O.$t("project.switch.overview"),
|
|
9972
9984
|
"onUpdate:isLeft": x[0] || (x[0] = (Z) => {
|
|
9973
|
-
Z || O.$router.push({ name: Q(
|
|
9985
|
+
Z || O.$router.push({ name: Q(Fe).feed });
|
|
9974
9986
|
})
|
|
9975
9987
|
}, null, 8, ["right-label", "left-label"]),
|
|
9976
9988
|
M(ce, {
|
|
@@ -9997,8 +10009,8 @@ const ci = /* @__PURE__ */ j(vv, [["render", mv], ["__scopeId", "data-v-cbe33527
|
|
|
9997
10009
|
]),
|
|
9998
10010
|
_: 1
|
|
9999
10011
|
}),
|
|
10000
|
-
v("div",
|
|
10001
|
-
M(
|
|
10012
|
+
v("div", _9, [
|
|
10013
|
+
M(u9, {
|
|
10002
10014
|
phases: O.phases,
|
|
10003
10015
|
"closed-status": O.closedStatus,
|
|
10004
10016
|
"is-editable": O.isEditable === !0,
|
|
@@ -10020,7 +10032,7 @@ const ci = /* @__PURE__ */ j(vv, [["render", mv], ["__scopeId", "data-v-cbe33527
|
|
|
10020
10032
|
users: O.users,
|
|
10021
10033
|
"is-editable": O.isEditable === !0,
|
|
10022
10034
|
"closed-status": O.closedStatus,
|
|
10023
|
-
onClose: x[3] || (x[3] = (Z) => O.$router.push({ name: Q(
|
|
10035
|
+
onClose: x[3] || (x[3] = (Z) => O.$router.push({ name: Q(Fe).project })),
|
|
10024
10036
|
onUpdateMilestone: c,
|
|
10025
10037
|
onAddActivity: f,
|
|
10026
10038
|
onUpdateActivity: d,
|
|
@@ -10063,7 +10075,7 @@ const ci = /* @__PURE__ */ j(vv, [["render", mv], ["__scopeId", "data-v-cbe33527
|
|
|
10063
10075
|
]))
|
|
10064
10076
|
], 16),
|
|
10065
10077
|
(p(), P(Nt, { to: "body" }, [
|
|
10066
|
-
U.value ? (p(), P(
|
|
10078
|
+
U.value ? (p(), P(v9, {
|
|
10067
10079
|
key: 0,
|
|
10068
10080
|
"project-id": O.project.id,
|
|
10069
10081
|
templates: O.templates,
|
|
@@ -10075,36 +10087,36 @@ const ci = /* @__PURE__ */ j(vv, [["render", mv], ["__scopeId", "data-v-cbe33527
|
|
|
10075
10087
|
};
|
|
10076
10088
|
}
|
|
10077
10089
|
});
|
|
10078
|
-
const
|
|
10090
|
+
const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
10079
10091
|
key: 1,
|
|
10080
10092
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
10081
|
-
},
|
|
10093
|
+
}, $9 = {
|
|
10082
10094
|
key: 2,
|
|
10083
10095
|
class: "ao-card-feed__header-secondary ao-card-feed__secondary"
|
|
10084
|
-
},
|
|
10096
|
+
}, k9 = { class: "ao-card-feed__body" }, S9 = {
|
|
10085
10097
|
key: 0,
|
|
10086
10098
|
class: "ao-card-feed__breadcrumbs"
|
|
10087
|
-
},
|
|
10099
|
+
}, M9 = {
|
|
10088
10100
|
class: /* @__PURE__ */ K(["ao-card-feed__title-group"])
|
|
10089
|
-
},
|
|
10101
|
+
}, A9 = {
|
|
10090
10102
|
key: 1,
|
|
10091
10103
|
class: "ao-card-feed__deadline"
|
|
10092
|
-
},
|
|
10104
|
+
}, T9 = { class: "ao-card-feed__footer" }, O9 = { class: "ao-card-feed__footer-row" }, E9 = { class: "ao-assignees" }, I9 = {
|
|
10093
10105
|
key: 0,
|
|
10094
10106
|
class: "ao-assignee"
|
|
10095
|
-
},
|
|
10107
|
+
}, L9 = {
|
|
10096
10108
|
key: 0,
|
|
10097
10109
|
class: "ao-card-feed__subitems"
|
|
10098
|
-
},
|
|
10110
|
+
}, H9 = {
|
|
10099
10111
|
key: 0,
|
|
10100
10112
|
class: "ao-card-feed__subitem"
|
|
10101
|
-
},
|
|
10113
|
+
}, D9 = { class: "ao-card-feed__subitem" }, P9 = {
|
|
10102
10114
|
key: 1,
|
|
10103
10115
|
class: "ao-card-feed__subitem"
|
|
10104
|
-
},
|
|
10116
|
+
}, V9 = { class: "ao-card-feed__subitem" }, B9 = { class: "ao-card-feed__footer-row" }, R9 = {
|
|
10105
10117
|
key: 0,
|
|
10106
10118
|
class: "ao-card-feed__progress-wrapper"
|
|
10107
|
-
},
|
|
10119
|
+
}, N9 = { class: "ao-card-feed__subitem" }, j9 = { class: "ao-card-feed__subitem" }, di = /* @__PURE__ */ z({
|
|
10108
10120
|
__name: "AoCardFeed",
|
|
10109
10121
|
props: {
|
|
10110
10122
|
id: {},
|
|
@@ -10146,7 +10158,7 @@ const yv = { class: "ao-card-feed__header" }, bv = {
|
|
|
10146
10158
|
"is-clickable": !0
|
|
10147
10159
|
}, {
|
|
10148
10160
|
header: W(() => [
|
|
10149
|
-
v("div",
|
|
10161
|
+
v("div", b9, [
|
|
10150
10162
|
n.value ? (p(), P(Mn, {
|
|
10151
10163
|
key: 0,
|
|
10152
10164
|
label: n.value,
|
|
@@ -10155,7 +10167,7 @@ const yv = { class: "ao-card-feed__header" }, bv = {
|
|
|
10155
10167
|
color: h.projectColor ? void 0 : "primary",
|
|
10156
10168
|
"raw-color": s.value
|
|
10157
10169
|
}, null, 8, ["label", "color", "raw-color"])) : T("", !0),
|
|
10158
|
-
h.isPrivate || h.important || h.isClosed ? (p(), g("div",
|
|
10170
|
+
h.isPrivate || h.important || h.isClosed ? (p(), g("div", w9, [
|
|
10159
10171
|
h.isPrivate ? (p(), P(pe, {
|
|
10160
10172
|
key: 0,
|
|
10161
10173
|
name: "Lock",
|
|
@@ -10174,15 +10186,15 @@ const yv = { class: "ao-card-feed__header" }, bv = {
|
|
|
10174
10186
|
class: "ao-card-feed__closed"
|
|
10175
10187
|
})) : T("", !0)
|
|
10176
10188
|
])) : T("", !0),
|
|
10177
|
-
h.$slots.secondary ? (p(), g("div",
|
|
10189
|
+
h.$slots.secondary ? (p(), g("div", $9, [
|
|
10178
10190
|
te(h.$slots, "secondary")
|
|
10179
10191
|
])) : T("", !0)
|
|
10180
10192
|
])
|
|
10181
10193
|
]),
|
|
10182
10194
|
default: W(() => [
|
|
10183
|
-
v("div",
|
|
10184
|
-
i.value ? (p(), g("span",
|
|
10185
|
-
v("div",
|
|
10195
|
+
v("div", k9, [
|
|
10196
|
+
i.value ? (p(), g("span", S9, G(i.value), 1)) : T("", !0),
|
|
10197
|
+
v("div", M9, [
|
|
10186
10198
|
M(ye, {
|
|
10187
10199
|
id: h.id,
|
|
10188
10200
|
title: h.name,
|
|
@@ -10191,17 +10203,17 @@ const yv = { class: "ao-card-feed__header" }, bv = {
|
|
|
10191
10203
|
"onUpdate:title": o
|
|
10192
10204
|
}, null, 8, ["id", "title", "is-editable"])
|
|
10193
10205
|
]),
|
|
10194
|
-
h.deadline ? (p(), g("span",
|
|
10206
|
+
h.deadline ? (p(), g("span", A9, G(l.value), 1)) : T("", !0)
|
|
10195
10207
|
])
|
|
10196
10208
|
]),
|
|
10197
10209
|
footer: W(() => [
|
|
10198
|
-
v("div",
|
|
10199
|
-
v("div",
|
|
10200
|
-
v("ul",
|
|
10210
|
+
v("div", T9, [
|
|
10211
|
+
v("div", O9, [
|
|
10212
|
+
v("ul", E9, [
|
|
10201
10213
|
(p(!0), g(ve, null, _e(r.value, (b) => (p(), g(ve, {
|
|
10202
10214
|
key: b.id
|
|
10203
10215
|
}, [
|
|
10204
|
-
b ? (p(), g("li",
|
|
10216
|
+
b ? (p(), g("li", I9, [
|
|
10205
10217
|
M(Je, {
|
|
10206
10218
|
"user-name": Q(zs)(b),
|
|
10207
10219
|
"avatar-url": b.avatarUrl,
|
|
@@ -10211,31 +10223,31 @@ const yv = { class: "ao-card-feed__header" }, bv = {
|
|
|
10211
10223
|
])) : T("", !0)
|
|
10212
10224
|
], 64))), 128))
|
|
10213
10225
|
]),
|
|
10214
|
-
h.comments || h.attachments ? (p(), g("ul",
|
|
10215
|
-
h.comments ? (p(), g("li",
|
|
10226
|
+
h.comments || h.attachments ? (p(), g("ul", L9, [
|
|
10227
|
+
h.comments ? (p(), g("li", H9, [
|
|
10216
10228
|
M(pe, {
|
|
10217
10229
|
name: "ChatOutline",
|
|
10218
10230
|
size: "sm"
|
|
10219
10231
|
}),
|
|
10220
|
-
v("span",
|
|
10232
|
+
v("span", D9, G(h.comments), 1)
|
|
10221
10233
|
])) : T("", !0),
|
|
10222
|
-
h.attachments ? (p(), g("li",
|
|
10234
|
+
h.attachments ? (p(), g("li", P9, [
|
|
10223
10235
|
M(pe, {
|
|
10224
10236
|
name: "AttachFileRounded",
|
|
10225
10237
|
size: "sm"
|
|
10226
10238
|
}),
|
|
10227
|
-
v("span",
|
|
10239
|
+
v("span", V9, G(h.attachments), 1)
|
|
10228
10240
|
])) : T("", !0)
|
|
10229
10241
|
])) : T("", !0)
|
|
10230
10242
|
]),
|
|
10231
|
-
v("div",
|
|
10232
|
-
h.tasks && h.tasks.length ? (p(), g("div",
|
|
10233
|
-
v("div",
|
|
10243
|
+
v("div", B9, [
|
|
10244
|
+
h.tasks && h.tasks.length ? (p(), g("div", R9, [
|
|
10245
|
+
v("div", N9, [
|
|
10234
10246
|
M(pe, {
|
|
10235
10247
|
name: "SelectCheckBox",
|
|
10236
10248
|
size: "sm"
|
|
10237
10249
|
}),
|
|
10238
|
-
v("span",
|
|
10250
|
+
v("span", j9, G(f.value) + " / " + G(u.value), 1)
|
|
10239
10251
|
]),
|
|
10240
10252
|
M(qn, {
|
|
10241
10253
|
percentages: d.value,
|
|
@@ -10256,23 +10268,23 @@ const yv = { class: "ao-card-feed__header" }, bv = {
|
|
|
10256
10268
|
*/
|
|
10257
10269
|
function wt(t) {
|
|
10258
10270
|
let e = { r: 0, g: 0, b: 0, a: 1 };
|
|
10259
|
-
/#/.test(t) ? e =
|
|
10260
|
-
const { r: a, g: n, b: s, a: o } = e, { h: i, s: r, v: l } =
|
|
10271
|
+
/#/.test(t) ? e = U9(t) : /rgb/.test(t) ? e = Ms(t) : typeof t == "string" ? e = Ms(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
|
|
10272
|
+
const { r: a, g: n, b: s, a: o } = e, { h: i, s: r, v: l } = Z9(e);
|
|
10261
10273
|
return { r: a, g: n, b: s, a: o === void 0 ? 1 : o, h: i, s: r, v: l };
|
|
10262
10274
|
}
|
|
10263
10275
|
function zn(t) {
|
|
10264
10276
|
const e = document.createElement("canvas"), a = e.getContext("2d"), n = t * 2;
|
|
10265
10277
|
return e.width = n, e.height = n, a.fillStyle = "#ffffff", a.fillRect(0, 0, n, n), a.fillStyle = "#ccd5db", a.fillRect(0, 0, t, t), a.fillRect(t, t, t, t), e;
|
|
10266
10278
|
}
|
|
10267
|
-
function
|
|
10279
|
+
function wn(t, e, a, n, s, o) {
|
|
10268
10280
|
const i = t === "l", r = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : n);
|
|
10269
10281
|
r.addColorStop(0.01, s), r.addColorStop(0.99, o), e.fillStyle = r, e.fillRect(0, 0, a, n);
|
|
10270
10282
|
}
|
|
10271
|
-
function
|
|
10283
|
+
function F9({ r: t, g: e, b: a }, n) {
|
|
10272
10284
|
const s = (i) => ("0" + Number(i).toString(16)).slice(-2), o = `#${s(t)}${s(e)}${s(a)}`;
|
|
10273
10285
|
return n ? o.toUpperCase() : o;
|
|
10274
10286
|
}
|
|
10275
|
-
function
|
|
10287
|
+
function U9(t) {
|
|
10276
10288
|
t = t.slice(1);
|
|
10277
10289
|
const e = (a) => parseInt(a, 16) || 0;
|
|
10278
10290
|
return {
|
|
@@ -10289,7 +10301,7 @@ function Ms(t) {
|
|
|
10289
10301
|
a: Number(t[3] ? t[3] : 1)
|
|
10290
10302
|
}) : t;
|
|
10291
10303
|
}
|
|
10292
|
-
function
|
|
10304
|
+
function Z9({ r: t, g: e, b: a }) {
|
|
10293
10305
|
t = t / 255, e = e / 255, a = a / 255;
|
|
10294
10306
|
const n = Math.max(t, e, a), s = Math.min(t, e, a), o = n - s;
|
|
10295
10307
|
let i = 0;
|
|
@@ -10330,7 +10342,7 @@ var xn = z({
|
|
|
10330
10342
|
methods: {
|
|
10331
10343
|
renderColor() {
|
|
10332
10344
|
const t = this.$refs.canvasSaturation, e = this.size, a = t.getContext("2d");
|
|
10333
|
-
t.width = e, t.height = e, a.fillStyle = this.color, a.fillRect(0, 0, e, e),
|
|
10345
|
+
t.width = e, t.height = e, a.fillStyle = this.color, a.fillRect(0, 0, e, e), wn("l", a, e, e, "#FFFFFF", "rgba(255,255,255,0)"), wn("p", a, e, e, "rgba(0,0,0,0)", "#000000");
|
|
10334
10346
|
},
|
|
10335
10347
|
renderSlide() {
|
|
10336
10348
|
this.slideSaturationStyle = {
|
|
@@ -10356,8 +10368,8 @@ var xn = z({
|
|
|
10356
10368
|
}
|
|
10357
10369
|
}
|
|
10358
10370
|
});
|
|
10359
|
-
const
|
|
10360
|
-
function
|
|
10371
|
+
const W9 = { ref: "canvasSaturation" };
|
|
10372
|
+
function q9(t, e, a, n, s, o) {
|
|
10361
10373
|
return p(), P(
|
|
10362
10374
|
"div",
|
|
10363
10375
|
{
|
|
@@ -10367,7 +10379,7 @@ function Wv(t, e, a, n, s, o) {
|
|
|
10367
10379
|
[
|
|
10368
10380
|
M(
|
|
10369
10381
|
"canvas",
|
|
10370
|
-
|
|
10382
|
+
W9,
|
|
10371
10383
|
null,
|
|
10372
10384
|
512
|
|
10373
10385
|
/* NEED_PATCH */
|
|
@@ -10387,7 +10399,7 @@ function Wv(t, e, a, n, s, o) {
|
|
|
10387
10399
|
/* HYDRATE_EVENTS */
|
|
10388
10400
|
);
|
|
10389
10401
|
}
|
|
10390
|
-
xn.render =
|
|
10402
|
+
xn.render = q9;
|
|
10391
10403
|
xn.__file = "src/color/Saturation.vue";
|
|
10392
10404
|
var Yn = z({
|
|
10393
10405
|
props: {
|
|
@@ -10442,8 +10454,8 @@ var Yn = z({
|
|
|
10442
10454
|
}
|
|
10443
10455
|
}
|
|
10444
10456
|
});
|
|
10445
|
-
const
|
|
10446
|
-
function
|
|
10457
|
+
const z9 = { ref: "canvasHue" };
|
|
10458
|
+
function x9(t, e, a, n, s, o) {
|
|
10447
10459
|
return p(), P(
|
|
10448
10460
|
"div",
|
|
10449
10461
|
{
|
|
@@ -10453,7 +10465,7 @@ function zv(t, e, a, n, s, o) {
|
|
|
10453
10465
|
[
|
|
10454
10466
|
M(
|
|
10455
10467
|
"canvas",
|
|
10456
|
-
|
|
10468
|
+
z9,
|
|
10457
10469
|
null,
|
|
10458
10470
|
512
|
|
10459
10471
|
/* NEED_PATCH */
|
|
@@ -10473,7 +10485,7 @@ function zv(t, e, a, n, s, o) {
|
|
|
10473
10485
|
/* HYDRATE_EVENTS */
|
|
10474
10486
|
);
|
|
10475
10487
|
}
|
|
10476
|
-
Yn.render =
|
|
10488
|
+
Yn.render = x9;
|
|
10477
10489
|
Yn.__file = "src/color/Hue.vue";
|
|
10478
10490
|
var Kn = z({
|
|
10479
10491
|
props: {
|
|
@@ -10515,7 +10527,7 @@ var Kn = z({
|
|
|
10515
10527
|
methods: {
|
|
10516
10528
|
renderColor() {
|
|
10517
10529
|
const t = this.$refs.canvasAlpha, e = this.width, a = this.height, n = this.alphaSize, s = zn(n), o = t.getContext("2d");
|
|
10518
|
-
t.width = e, t.height = a, o.fillStyle = o.createPattern(s, "repeat"), o.fillRect(0, 0, e, a),
|
|
10530
|
+
t.width = e, t.height = a, o.fillStyle = o.createPattern(s, "repeat"), o.fillRect(0, 0, e, a), wn("p", o, e, a, "rgba(255,255,255,0)", this.color);
|
|
10519
10531
|
},
|
|
10520
10532
|
renderSlide() {
|
|
10521
10533
|
this.slideAlphaStyle = {
|
|
@@ -10537,8 +10549,8 @@ var Kn = z({
|
|
|
10537
10549
|
}
|
|
10538
10550
|
}
|
|
10539
10551
|
});
|
|
10540
|
-
const
|
|
10541
|
-
function
|
|
10552
|
+
const Y9 = { ref: "canvasAlpha" };
|
|
10553
|
+
function K9(t, e, a, n, s, o) {
|
|
10542
10554
|
return p(), P(
|
|
10543
10555
|
"div",
|
|
10544
10556
|
{
|
|
@@ -10548,7 +10560,7 @@ function Yv(t, e, a, n, s, o) {
|
|
|
10548
10560
|
[
|
|
10549
10561
|
M(
|
|
10550
10562
|
"canvas",
|
|
10551
|
-
|
|
10563
|
+
Y9,
|
|
10552
10564
|
null,
|
|
10553
10565
|
512
|
|
10554
10566
|
/* NEED_PATCH */
|
|
@@ -10568,7 +10580,7 @@ function Yv(t, e, a, n, s, o) {
|
|
|
10568
10580
|
/* HYDRATE_EVENTS */
|
|
10569
10581
|
);
|
|
10570
10582
|
}
|
|
10571
|
-
Kn.render =
|
|
10583
|
+
Kn.render = K9;
|
|
10572
10584
|
Kn.__file = "src/color/Alpha.vue";
|
|
10573
10585
|
var Gn = z({
|
|
10574
10586
|
props: {
|
|
@@ -10605,10 +10617,10 @@ var Gn = z({
|
|
|
10605
10617
|
}
|
|
10606
10618
|
}
|
|
10607
10619
|
});
|
|
10608
|
-
function
|
|
10620
|
+
function G9(t, e, a, n, s, o) {
|
|
10609
10621
|
return p(), P("canvas");
|
|
10610
10622
|
}
|
|
10611
|
-
Gn.render =
|
|
10623
|
+
Gn.render = G9;
|
|
10612
10624
|
Gn.__file = "src/color/Preview.vue";
|
|
10613
10625
|
var Xn = z({
|
|
10614
10626
|
props: {
|
|
@@ -10671,19 +10683,19 @@ var Xn = z({
|
|
|
10671
10683
|
}
|
|
10672
10684
|
}
|
|
10673
10685
|
});
|
|
10674
|
-
const
|
|
10686
|
+
const X9 = /* @__PURE__ */ M(
|
|
10675
10687
|
"path",
|
|
10676
10688
|
{ d: "M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1" },
|
|
10677
10689
|
null,
|
|
10678
10690
|
-1
|
|
10679
10691
|
/* HOISTED */
|
|
10680
|
-
),
|
|
10692
|
+
), Q9 = {
|
|
10681
10693
|
key: 1,
|
|
10682
10694
|
class: "sucker",
|
|
10683
10695
|
viewBox: "-16 -16 68 68",
|
|
10684
10696
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10685
10697
|
stroke: "#9099a4"
|
|
10686
|
-
},
|
|
10698
|
+
}, J9 = /* @__PURE__ */ M(
|
|
10687
10699
|
"g",
|
|
10688
10700
|
{
|
|
10689
10701
|
fill: "none",
|
|
@@ -10715,7 +10727,7 @@ const Gv = /* @__PURE__ */ M(
|
|
|
10715
10727
|
-1
|
|
10716
10728
|
/* HOISTED */
|
|
10717
10729
|
);
|
|
10718
|
-
function
|
|
10730
|
+
function e4(t, e, a, n, s, o) {
|
|
10719
10731
|
return p(), P("div", null, [
|
|
10720
10732
|
t.isSucking ? T("v-if", !0) : (p(), P(
|
|
10721
10733
|
"svg",
|
|
@@ -10727,17 +10739,17 @@ function Jv(t, e, a, n, s, o) {
|
|
|
10727
10739
|
onClick: e[1] || (e[1] = (...i) => t.openSucker && t.openSucker(...i))
|
|
10728
10740
|
},
|
|
10729
10741
|
[
|
|
10730
|
-
|
|
10742
|
+
X9
|
|
10731
10743
|
],
|
|
10732
10744
|
2
|
|
10733
10745
|
/* CLASS */
|
|
10734
10746
|
)),
|
|
10735
|
-
t.isSucking ? (p(), P("svg",
|
|
10736
|
-
|
|
10747
|
+
t.isSucking ? (p(), P("svg", Q9, [
|
|
10748
|
+
J9
|
|
10737
10749
|
])) : T("v-if", !0)
|
|
10738
10750
|
]);
|
|
10739
10751
|
}
|
|
10740
|
-
Xn.render =
|
|
10752
|
+
Xn.render = e4;
|
|
10741
10753
|
Xn.__file = "src/color/Sucker.vue";
|
|
10742
10754
|
var Qn = z({
|
|
10743
10755
|
props: {
|
|
@@ -10770,12 +10782,12 @@ var Qn = z({
|
|
|
10770
10782
|
};
|
|
10771
10783
|
}
|
|
10772
10784
|
});
|
|
10773
|
-
const
|
|
10774
|
-
function
|
|
10775
|
-
return p(), P("div",
|
|
10785
|
+
const t4 = { class: "color-type" }, a4 = { class: "name" };
|
|
10786
|
+
function n4(t, e, a, n, s, o) {
|
|
10787
|
+
return p(), P("div", t4, [
|
|
10776
10788
|
M(
|
|
10777
10789
|
"span",
|
|
10778
|
-
|
|
10790
|
+
a4,
|
|
10779
10791
|
G(t.name),
|
|
10780
10792
|
1
|
|
10781
10793
|
/* TEXT */
|
|
@@ -10796,7 +10808,7 @@ function a4(t, e, a, n, s, o) {
|
|
|
10796
10808
|
])
|
|
10797
10809
|
]);
|
|
10798
10810
|
}
|
|
10799
|
-
Qn.render =
|
|
10811
|
+
Qn.render = n4;
|
|
10800
10812
|
Qn.__file = "src/color/Box.vue";
|
|
10801
10813
|
var Jn = z({
|
|
10802
10814
|
name: "ColorPicker",
|
|
@@ -10838,13 +10850,13 @@ var Jn = z({
|
|
|
10838
10850
|
};
|
|
10839
10851
|
}
|
|
10840
10852
|
});
|
|
10841
|
-
const
|
|
10853
|
+
const s4 = { class: "colors" }, i4 = {
|
|
10842
10854
|
key: 0,
|
|
10843
10855
|
class: "colors history"
|
|
10844
10856
|
};
|
|
10845
|
-
function
|
|
10857
|
+
function o4(t, e, a, n, s, o) {
|
|
10846
10858
|
return p(), P("div", null, [
|
|
10847
|
-
M("ul",
|
|
10859
|
+
M("ul", s4, [
|
|
10848
10860
|
(p(!0), P(
|
|
10849
10861
|
ve,
|
|
10850
10862
|
null,
|
|
@@ -10878,7 +10890,7 @@ function i4(t, e, a, n, s, o) {
|
|
|
10878
10890
|
/* KEYED_FRAGMENT */
|
|
10879
10891
|
))
|
|
10880
10892
|
]),
|
|
10881
|
-
t.colorsHistory.length ? (p(), P("ul",
|
|
10893
|
+
t.colorsHistory.length ? (p(), P("ul", i4, [
|
|
10882
10894
|
(p(!0), P(
|
|
10883
10895
|
ve,
|
|
10884
10896
|
null,
|
|
@@ -10914,7 +10926,7 @@ function i4(t, e, a, n, s, o) {
|
|
|
10914
10926
|
])) : T("v-if", !0)
|
|
10915
10927
|
]);
|
|
10916
10928
|
}
|
|
10917
|
-
Jn.render =
|
|
10929
|
+
Jn.render = o4;
|
|
10918
10930
|
Jn.__file = "src/color/Colors.vue";
|
|
10919
10931
|
var Rt = z({
|
|
10920
10932
|
components: {
|
|
@@ -11025,7 +11037,7 @@ var Rt = z({
|
|
|
11025
11037
|
return `rgba(${this.rgbaStringShort})`;
|
|
11026
11038
|
},
|
|
11027
11039
|
hexString() {
|
|
11028
|
-
return
|
|
11040
|
+
return F9(this.rgba, !0);
|
|
11029
11041
|
}
|
|
11030
11042
|
},
|
|
11031
11043
|
created() {
|
|
@@ -11089,9 +11101,9 @@ var Rt = z({
|
|
|
11089
11101
|
}
|
|
11090
11102
|
}
|
|
11091
11103
|
});
|
|
11092
|
-
const
|
|
11093
|
-
function
|
|
11094
|
-
const i =
|
|
11104
|
+
const r4 = { class: "color-set" };
|
|
11105
|
+
function l4(t, e, a, n, s, o) {
|
|
11106
|
+
const i = Ye("Saturation"), r = Ye("Hue"), l = Ye("Alpha"), c = Ye("Preview"), u = Ye("Sucker"), f = Ye("Box"), d = Ye("Colors");
|
|
11095
11107
|
return p(), P(
|
|
11096
11108
|
"div",
|
|
11097
11109
|
{
|
|
@@ -11099,7 +11111,7 @@ function r4(t, e, a, n, s, o) {
|
|
|
11099
11111
|
style: { width: t.totalWidth + "px" }
|
|
11100
11112
|
},
|
|
11101
11113
|
[
|
|
11102
|
-
M("div",
|
|
11114
|
+
M("div", r4, [
|
|
11103
11115
|
M(i, {
|
|
11104
11116
|
ref: "saturation",
|
|
11105
11117
|
color: t.rgbString,
|
|
@@ -11173,12 +11185,12 @@ function r4(t, e, a, n, s, o) {
|
|
|
11173
11185
|
/* CLASS, STYLE */
|
|
11174
11186
|
);
|
|
11175
11187
|
}
|
|
11176
|
-
Rt.render =
|
|
11188
|
+
Rt.render = l4;
|
|
11177
11189
|
Rt.__file = "src/color/ColorPicker.vue";
|
|
11178
11190
|
Rt.install = (t) => {
|
|
11179
11191
|
t.component(Rt.name, Rt);
|
|
11180
11192
|
};
|
|
11181
|
-
const
|
|
11193
|
+
const u4 = {
|
|
11182
11194
|
props: {
|
|
11183
11195
|
color: {
|
|
11184
11196
|
type: String,
|
|
@@ -11202,12 +11214,12 @@ const l4 = {
|
|
|
11202
11214
|
this.$emit("update:color", o);
|
|
11203
11215
|
}
|
|
11204
11216
|
}
|
|
11205
|
-
},
|
|
11206
|
-
function
|
|
11207
|
-
const i =
|
|
11208
|
-
return p(), g("div",
|
|
11217
|
+
}, c4 = { class: "color-picker-wrapper" };
|
|
11218
|
+
function d4(t, e, a, n, s, o) {
|
|
11219
|
+
const i = Ye("ColorPicker");
|
|
11220
|
+
return p(), g("div", c4, [
|
|
11209
11221
|
v("button", {
|
|
11210
|
-
style:
|
|
11222
|
+
style: Ua({ backgroundColor: a.color }),
|
|
11211
11223
|
class: "color-button",
|
|
11212
11224
|
onClick: e[0] || (e[0] = (...r) => o.togglePicker && o.togglePicker(...r))
|
|
11213
11225
|
}, null, 4),
|
|
@@ -11220,10 +11232,10 @@ function c4(t, e, a, n, s, o) {
|
|
|
11220
11232
|
}, null, 8, ["color", "onChangeColor"])) : T("", !0)
|
|
11221
11233
|
]);
|
|
11222
11234
|
}
|
|
11223
|
-
const
|
|
11235
|
+
const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-milestone" }, v4 = { class: "ao-project-milestone__header" }, h4 = { class: "ao-project-milestone__header_line" }, m4 = { class: "ao-project-milestone__header_line" }, C4 = { class: "ao-project-milestone__title" }, g4 = {
|
|
11224
11236
|
key: 0,
|
|
11225
11237
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
11226
|
-
},
|
|
11238
|
+
}, _4 = { class: "ao-field__row ao-milestone__field-row" }, y4 = { class: "ao-field ao-field--inline" }, b4 = { class: "ao-field__row ao-milestone__field-row" }, w4 = { class: "ao-field ao-milestone__field-multiselect" }, $4 = { class: "ao-project-milestone__body" }, k4 = {
|
|
11227
11239
|
key: 0,
|
|
11228
11240
|
class: "ao-project-milestone__footer"
|
|
11229
11241
|
}, As = /* @__PURE__ */ z({
|
|
@@ -11330,9 +11342,9 @@ const d4 = /* @__PURE__ */ j(l4, [["render", c4]]), p4 = { class: "ao-project-mi
|
|
|
11330
11342
|
});
|
|
11331
11343
|
return (_, C) => {
|
|
11332
11344
|
var D;
|
|
11333
|
-
return p(), g("div",
|
|
11334
|
-
v("header",
|
|
11335
|
-
v("div",
|
|
11345
|
+
return p(), g("div", f4, [
|
|
11346
|
+
v("header", v4, [
|
|
11347
|
+
v("div", h4, [
|
|
11336
11348
|
M(ce, {
|
|
11337
11349
|
"icon-name": "CloseRounded",
|
|
11338
11350
|
variant: "ghost",
|
|
@@ -11341,13 +11353,13 @@ const d4 = /* @__PURE__ */ j(l4, [["render", c4]]), p4 = { class: "ao-project-mi
|
|
|
11341
11353
|
onClick: l
|
|
11342
11354
|
})
|
|
11343
11355
|
]),
|
|
11344
|
-
v("div",
|
|
11345
|
-
v("div",
|
|
11356
|
+
v("div", m4, [
|
|
11357
|
+
v("div", C4, [
|
|
11346
11358
|
M(ye, {
|
|
11347
11359
|
title: ((D = i.value) == null ? void 0 : D.name) || _.milestoneId,
|
|
11348
11360
|
level: 5
|
|
11349
11361
|
}, null, 8, ["title"]),
|
|
11350
|
-
M(
|
|
11362
|
+
M(bn, {
|
|
11351
11363
|
modelValue: k.value,
|
|
11352
11364
|
"onUpdate:modelValue": C[0] || (C[0] = (L) => k.value = L),
|
|
11353
11365
|
modelModifiers: { lazy: !0 },
|
|
@@ -11361,9 +11373,9 @@ const d4 = /* @__PURE__ */ j(l4, [["render", c4]]), p4 = { class: "ao-project-mi
|
|
|
11361
11373
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
11362
11374
|
])
|
|
11363
11375
|
]),
|
|
11364
|
-
i.value ? (p(), g("div",
|
|
11365
|
-
v("div",
|
|
11366
|
-
v("label",
|
|
11376
|
+
i.value ? (p(), g("div", g4, [
|
|
11377
|
+
v("div", _4, [
|
|
11378
|
+
v("label", y4, [
|
|
11367
11379
|
Ke(v("input", {
|
|
11368
11380
|
"onUpdate:modelValue": C[1] || (C[1] = (L) => h.value = L),
|
|
11369
11381
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
@@ -11378,8 +11390,8 @@ const d4 = /* @__PURE__ */ j(l4, [["render", c4]]), p4 = { class: "ao-project-mi
|
|
|
11378
11390
|
])
|
|
11379
11391
|
])
|
|
11380
11392
|
]),
|
|
11381
|
-
v("div",
|
|
11382
|
-
v("label",
|
|
11393
|
+
v("div", b4, [
|
|
11394
|
+
v("label", w4, [
|
|
11383
11395
|
M($e, {
|
|
11384
11396
|
modelValue: y.value,
|
|
11385
11397
|
"onUpdate:modelValue": C[2] || (C[2] = (L) => y.value = L),
|
|
@@ -11408,13 +11420,13 @@ const d4 = /* @__PURE__ */ j(l4, [["render", c4]]), p4 = { class: "ao-project-mi
|
|
|
11408
11420
|
}, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
11409
11421
|
])
|
|
11410
11422
|
]),
|
|
11411
|
-
M(
|
|
11423
|
+
M(p4, {
|
|
11412
11424
|
color: d.value,
|
|
11413
11425
|
"onUpdate:color": C[3] || (C[3] = (L) => d.value = L)
|
|
11414
11426
|
}, null, 8, ["color"])
|
|
11415
11427
|
])) : T("", !0)
|
|
11416
11428
|
]),
|
|
11417
|
-
v("div",
|
|
11429
|
+
v("div", $4, [
|
|
11418
11430
|
M(Q(mt), He({
|
|
11419
11431
|
class: "ao-project-milestone__activities",
|
|
11420
11432
|
list: r.value,
|
|
@@ -11442,12 +11454,12 @@ const d4 = /* @__PURE__ */ j(l4, [["render", c4]]), p4 = { class: "ao-project-mi
|
|
|
11442
11454
|
"is-private": L.private,
|
|
11443
11455
|
"is-closed": w(L),
|
|
11444
11456
|
onClick: (x) => _.$router.push({
|
|
11445
|
-
name: Q(
|
|
11457
|
+
name: Q(Fe).activity,
|
|
11446
11458
|
params: { milestoneId: _.milestoneId, activityId: L.id }
|
|
11447
11459
|
}),
|
|
11448
11460
|
onUpdateActivity: u,
|
|
11449
11461
|
onRemoveAssignee: () => u({ id: L.id, assigneeId: null })
|
|
11450
|
-
},
|
|
11462
|
+
}, Za({ _: 2 }, [
|
|
11451
11463
|
_.isEditable ? {
|
|
11452
11464
|
name: "secondary",
|
|
11453
11465
|
fn: W(() => [
|
|
@@ -11484,7 +11496,7 @@ const d4 = /* @__PURE__ */ j(l4, [["render", c4]]), p4 = { class: "ao-project-mi
|
|
|
11484
11496
|
}),
|
|
11485
11497
|
_: 1
|
|
11486
11498
|
}, 16, ["list", "disabled"]),
|
|
11487
|
-
_.isEditable ? (p(), g("div",
|
|
11499
|
+
_.isEditable ? (p(), g("div", k4, [
|
|
11488
11500
|
M(Ct, {
|
|
11489
11501
|
"icon-name": "Add",
|
|
11490
11502
|
label: _.$t("project.activity.add"),
|
|
@@ -11496,7 +11508,7 @@ const d4 = /* @__PURE__ */ j(l4, [["render", c4]]), p4 = { class: "ao-project-mi
|
|
|
11496
11508
|
};
|
|
11497
11509
|
}
|
|
11498
11510
|
});
|
|
11499
|
-
const
|
|
11511
|
+
const S4 = /* @__PURE__ */ z({
|
|
11500
11512
|
__name: "AoProjectOverviewActivityDetails",
|
|
11501
11513
|
props: {
|
|
11502
11514
|
phaseId: {},
|
|
@@ -11583,14 +11595,14 @@ const k4 = /* @__PURE__ */ z({
|
|
|
11583
11595
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : T("", !0);
|
|
11584
11596
|
};
|
|
11585
11597
|
}
|
|
11586
|
-
}),
|
|
11598
|
+
}), M4 = { class: "ao-col-header" }, A4 = /* @__PURE__ */ z({
|
|
11587
11599
|
__name: "AoColHeader",
|
|
11588
11600
|
props: {
|
|
11589
11601
|
title: {},
|
|
11590
11602
|
items: {}
|
|
11591
11603
|
},
|
|
11592
11604
|
setup(t) {
|
|
11593
|
-
return (e, a) => (p(), g("header",
|
|
11605
|
+
return (e, a) => (p(), g("header", M4, [
|
|
11594
11606
|
M(ye, {
|
|
11595
11607
|
title: e.title,
|
|
11596
11608
|
class: "ao-col-header__title",
|
|
@@ -11606,17 +11618,17 @@ const k4 = /* @__PURE__ */ z({
|
|
|
11606
11618
|
]));
|
|
11607
11619
|
}
|
|
11608
11620
|
});
|
|
11609
|
-
function
|
|
11621
|
+
function T4(t) {
|
|
11610
11622
|
return Pi() ? (Vi(t), !0) : !1;
|
|
11611
11623
|
}
|
|
11612
11624
|
function ja(t) {
|
|
11613
11625
|
return typeof t == "function" ? t() : Q(t);
|
|
11614
11626
|
}
|
|
11615
|
-
const
|
|
11627
|
+
const O4 = typeof window < "u" && typeof document < "u";
|
|
11616
11628
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
11617
|
-
const
|
|
11629
|
+
const E4 = (t) => t != null, oa = () => {
|
|
11618
11630
|
};
|
|
11619
|
-
function
|
|
11631
|
+
function I4(t, e) {
|
|
11620
11632
|
function a(...n) {
|
|
11621
11633
|
return new Promise((s, o) => {
|
|
11622
11634
|
Promise.resolve(t(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(s).catch(o);
|
|
@@ -11624,7 +11636,7 @@ function E4(t, e) {
|
|
|
11624
11636
|
}
|
|
11625
11637
|
return a;
|
|
11626
11638
|
}
|
|
11627
|
-
function
|
|
11639
|
+
function L4(t, e = {}) {
|
|
11628
11640
|
let a, n, s = oa;
|
|
11629
11641
|
const o = (r) => {
|
|
11630
11642
|
clearTimeout(r), s(), s = oa;
|
|
@@ -11640,49 +11652,49 @@ function I4(t, e = {}) {
|
|
|
11640
11652
|
});
|
|
11641
11653
|
};
|
|
11642
11654
|
}
|
|
11643
|
-
function
|
|
11644
|
-
return
|
|
11645
|
-
|
|
11655
|
+
function H4(t, e = 200, a = {}) {
|
|
11656
|
+
return I4(
|
|
11657
|
+
L4(e, a),
|
|
11646
11658
|
t
|
|
11647
11659
|
);
|
|
11648
11660
|
}
|
|
11649
|
-
function
|
|
11661
|
+
function hn(t) {
|
|
11650
11662
|
var e;
|
|
11651
11663
|
const a = ja(t);
|
|
11652
11664
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
11653
11665
|
}
|
|
11654
|
-
const
|
|
11655
|
-
function
|
|
11666
|
+
const D4 = O4 ? window : void 0;
|
|
11667
|
+
function P4() {
|
|
11656
11668
|
const t = ee(!1), e = At();
|
|
11657
11669
|
return e && xt(() => {
|
|
11658
11670
|
t.value = !0;
|
|
11659
11671
|
}, e), t;
|
|
11660
11672
|
}
|
|
11661
|
-
function
|
|
11662
|
-
const e =
|
|
11673
|
+
function V4(t) {
|
|
11674
|
+
const e = P4();
|
|
11663
11675
|
return S(() => (e.value, !!t()));
|
|
11664
11676
|
}
|
|
11665
|
-
function
|
|
11677
|
+
function B4(t, e, a = {}) {
|
|
11666
11678
|
const {
|
|
11667
11679
|
root: n,
|
|
11668
11680
|
rootMargin: s = "0px",
|
|
11669
11681
|
threshold: o = 0.1,
|
|
11670
|
-
window: i =
|
|
11682
|
+
window: i = D4,
|
|
11671
11683
|
immediate: r = !0
|
|
11672
|
-
} = a, l =
|
|
11684
|
+
} = a, l = V4(() => i && "IntersectionObserver" in i), c = S(() => {
|
|
11673
11685
|
const w = ja(t);
|
|
11674
|
-
return (Array.isArray(w) ? w : [w]).map(
|
|
11686
|
+
return (Array.isArray(w) ? w : [w]).map(hn).filter(E4);
|
|
11675
11687
|
});
|
|
11676
11688
|
let u = oa;
|
|
11677
11689
|
const f = ee(r), d = l.value ? de(
|
|
11678
|
-
() => [c.value,
|
|
11690
|
+
() => [c.value, hn(n), f.value],
|
|
11679
11691
|
([w, b]) => {
|
|
11680
11692
|
if (u(), !f.value || !w.length)
|
|
11681
11693
|
return;
|
|
11682
11694
|
const y = new IntersectionObserver(
|
|
11683
11695
|
e,
|
|
11684
11696
|
{
|
|
11685
|
-
root:
|
|
11697
|
+
root: hn(b),
|
|
11686
11698
|
rootMargin: s,
|
|
11687
11699
|
threshold: o
|
|
11688
11700
|
}
|
|
@@ -11695,7 +11707,7 @@ function V4(t, e, a = {}) {
|
|
|
11695
11707
|
) : oa, h = () => {
|
|
11696
11708
|
u(), d(), f.value = !1;
|
|
11697
11709
|
};
|
|
11698
|
-
return
|
|
11710
|
+
return T4(h), {
|
|
11699
11711
|
isSupported: l,
|
|
11700
11712
|
isActive: f,
|
|
11701
11713
|
pause() {
|
|
@@ -11707,24 +11719,24 @@ function V4(t, e, a = {}) {
|
|
|
11707
11719
|
stop: h
|
|
11708
11720
|
};
|
|
11709
11721
|
}
|
|
11710
|
-
const
|
|
11722
|
+
const R4 = {
|
|
11711
11723
|
class: /* @__PURE__ */ K(["ao-list-kanban"])
|
|
11712
|
-
},
|
|
11724
|
+
}, N4 = { class: "ao-list-kanban__header" }, j4 = {
|
|
11713
11725
|
key: 0,
|
|
11714
11726
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
11715
|
-
},
|
|
11727
|
+
}, F4 = {
|
|
11716
11728
|
key: 1,
|
|
11717
11729
|
class: "ao-list-kanban__end"
|
|
11718
|
-
},
|
|
11730
|
+
}, U4 = {
|
|
11719
11731
|
key: 0,
|
|
11720
11732
|
class: "ao-list-kanban__no-more"
|
|
11721
|
-
},
|
|
11733
|
+
}, Z4 = {
|
|
11722
11734
|
key: 1,
|
|
11723
11735
|
class: "ao-list-kanban__divider"
|
|
11724
|
-
},
|
|
11736
|
+
}, W4 = {
|
|
11725
11737
|
key: 1,
|
|
11726
11738
|
class: "ao-list-kanban__footer"
|
|
11727
|
-
},
|
|
11739
|
+
}, q4 = /* @__PURE__ */ z({
|
|
11728
11740
|
__name: "AoListKanban",
|
|
11729
11741
|
props: {
|
|
11730
11742
|
list: {},
|
|
@@ -11742,7 +11754,7 @@ const B4 = {
|
|
|
11742
11754
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
11743
11755
|
setup(t, { emit: e }) {
|
|
11744
11756
|
const a = t, n = ee(!1), s = ee(null);
|
|
11745
|
-
|
|
11757
|
+
B4(s, ([{ isIntersecting: u }]) => {
|
|
11746
11758
|
n.value = u;
|
|
11747
11759
|
}), de(n, (u) => {
|
|
11748
11760
|
u && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -11767,12 +11779,12 @@ const B4 = {
|
|
|
11767
11779
|
)
|
|
11768
11780
|
});
|
|
11769
11781
|
}, c = ee(!1);
|
|
11770
|
-
return (u, f) => (p(), g("div",
|
|
11782
|
+
return (u, f) => (p(), g("div", R4, [
|
|
11771
11783
|
u.title || u.$slots.header ? te(u.$slots, "header", { key: 0 }, () => {
|
|
11772
11784
|
var d;
|
|
11773
11785
|
return [
|
|
11774
|
-
v("div",
|
|
11775
|
-
u.title ? (p(), P(
|
|
11786
|
+
v("div", N4, [
|
|
11787
|
+
u.title ? (p(), P(A4, {
|
|
11776
11788
|
key: 0,
|
|
11777
11789
|
title: u.title,
|
|
11778
11790
|
level: 3,
|
|
@@ -11857,20 +11869,20 @@ const B4 = {
|
|
|
11857
11869
|
];
|
|
11858
11870
|
}),
|
|
11859
11871
|
footer: W(() => [
|
|
11860
|
-
u.isLoading ? (p(), g("div",
|
|
11872
|
+
u.isLoading ? (p(), g("div", j4, [
|
|
11861
11873
|
M(pe, { name: "Loading" })
|
|
11862
11874
|
])) : u.hasMore ? (p(), g("div", {
|
|
11863
11875
|
key: 2,
|
|
11864
11876
|
ref_key: "scrollEnd",
|
|
11865
11877
|
ref: s,
|
|
11866
11878
|
class: "ao-list-kanban__end"
|
|
11867
|
-
}, null, 512)) : (p(), g("div",
|
|
11868
|
-
u.noMoreLabel ? (p(), g("span",
|
|
11879
|
+
}, null, 512)) : (p(), g("div", F4, [
|
|
11880
|
+
u.noMoreLabel ? (p(), g("span", U4, G(u.noMoreLabel), 1)) : u.isEditable ? (p(), g("span", Z4)) : T("", !0)
|
|
11869
11881
|
]))
|
|
11870
11882
|
]),
|
|
11871
11883
|
_: 1
|
|
11872
11884
|
}, 16, ["class", "list", "disabled"]),
|
|
11873
|
-
u.$slots.footer || u.footerLabel ? (p(), g("div",
|
|
11885
|
+
u.$slots.footer || u.footerLabel ? (p(), g("div", W4, [
|
|
11874
11886
|
te(u.$slots, "footer", {}, () => [
|
|
11875
11887
|
u.isEditable ? (p(), P(Ct, {
|
|
11876
11888
|
key: 0,
|
|
@@ -11883,7 +11895,7 @@ const B4 = {
|
|
|
11883
11895
|
]));
|
|
11884
11896
|
}
|
|
11885
11897
|
});
|
|
11886
|
-
const
|
|
11898
|
+
const z4 = { class: "ao-field ao-search-field" }, x4 = ["value", "placeholder", "onKeypress"], Y4 = /* @__PURE__ */ z({
|
|
11887
11899
|
__name: "AoSearchField",
|
|
11888
11900
|
props: {
|
|
11889
11901
|
modelValue: {},
|
|
@@ -11895,10 +11907,10 @@ const q4 = { class: "ao-field ao-search-field" }, z4 = ["value", "placeholder",
|
|
|
11895
11907
|
const a = t, n = async (i) => {
|
|
11896
11908
|
const l = i.target.value;
|
|
11897
11909
|
e("update:modelValue", l, i);
|
|
11898
|
-
}, s =
|
|
11910
|
+
}, s = H4(n, a.delay), o = (i) => {
|
|
11899
11911
|
e("clear", i);
|
|
11900
11912
|
};
|
|
11901
|
-
return (i, r) => (p(), g("div",
|
|
11913
|
+
return (i, r) => (p(), g("div", z4, [
|
|
11902
11914
|
v("input", {
|
|
11903
11915
|
value: i.modelValue,
|
|
11904
11916
|
type: "text",
|
|
@@ -11907,7 +11919,7 @@ const q4 = { class: "ao-field ao-search-field" }, z4 = ["value", "placeholder",
|
|
|
11907
11919
|
onInput: r[0] || (r[0] = //@ts-ignore
|
|
11908
11920
|
(...l) => Q(s) && Q(s)(...l)),
|
|
11909
11921
|
onKeypress: dt(n, ["enter"])
|
|
11910
|
-
}, null, 40,
|
|
11922
|
+
}, null, 40, x4),
|
|
11911
11923
|
M(pe, {
|
|
11912
11924
|
name: "SearchRounded",
|
|
11913
11925
|
class: K(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -11923,7 +11935,7 @@ const q4 = { class: "ao-field ao-search-field" }, z4 = ["value", "placeholder",
|
|
|
11923
11935
|
]));
|
|
11924
11936
|
}
|
|
11925
11937
|
});
|
|
11926
|
-
const
|
|
11938
|
+
const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { class: "ao-feed__body" }, Q4 = /* @__PURE__ */ z({
|
|
11927
11939
|
__name: "AoFeed",
|
|
11928
11940
|
props: {
|
|
11929
11941
|
activities: {},
|
|
@@ -12028,20 +12040,20 @@ const Y4 = { class: "ao-feed" }, K4 = { class: "ao-feed__filters" }, G4 = { clas
|
|
|
12028
12040
|
};
|
|
12029
12041
|
return (E, N) => {
|
|
12030
12042
|
var A;
|
|
12031
|
-
return p(), g("div",
|
|
12032
|
-
M(
|
|
12043
|
+
return p(), g("div", K4, [
|
|
12044
|
+
M(Ka, null, {
|
|
12033
12045
|
primary: W(() => [
|
|
12034
|
-
v("div",
|
|
12046
|
+
v("div", G4, [
|
|
12035
12047
|
a.project ? (p(), P(ci, {
|
|
12036
12048
|
key: 0,
|
|
12037
12049
|
"is-left": !1,
|
|
12038
12050
|
"right-label": E.$t("project.switch.feed"),
|
|
12039
12051
|
"left-label": E.$t("project.switch.overview"),
|
|
12040
12052
|
"onUpdate:isLeft": N[0] || (N[0] = (m) => {
|
|
12041
|
-
m && E.$router.push({ name: Q(
|
|
12053
|
+
m && E.$router.push({ name: Q(Fe).project });
|
|
12042
12054
|
})
|
|
12043
12055
|
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
12044
|
-
M(
|
|
12056
|
+
M(Y4, {
|
|
12045
12057
|
"model-value": E.searchText,
|
|
12046
12058
|
placeholder: E.$t("feed.search.placeholder"),
|
|
12047
12059
|
class: "ao-feed__search",
|
|
@@ -12122,8 +12134,8 @@ const Y4 = { class: "ao-feed" }, K4 = { class: "ao-feed__filters" }, G4 = { clas
|
|
|
12122
12134
|
]),
|
|
12123
12135
|
_: 1
|
|
12124
12136
|
}),
|
|
12125
|
-
v("div",
|
|
12126
|
-
(p(!0), g(ve, null, _e(E.statuses, (m) => (p(), P(
|
|
12137
|
+
v("div", X4, [
|
|
12138
|
+
(p(!0), g(ve, null, _e(E.statuses, (m) => (p(), P(q4, {
|
|
12127
12139
|
key: m.id,
|
|
12128
12140
|
status: m,
|
|
12129
12141
|
list: i.value[m.id],
|
|
@@ -12180,7 +12192,7 @@ const Dt = {
|
|
|
12180
12192
|
TEMPLATES: "templates",
|
|
12181
12193
|
TEMPLATE_DETAILS: "template_details",
|
|
12182
12194
|
TEMPLATES_LIST: "templates_list"
|
|
12183
|
-
},
|
|
12195
|
+
}, h8 = (t, e = {}) => [
|
|
12184
12196
|
{
|
|
12185
12197
|
path: t,
|
|
12186
12198
|
name: Dt.TEMPLATES,
|
|
@@ -12190,59 +12202,59 @@ const Dt = {
|
|
|
12190
12202
|
{
|
|
12191
12203
|
path: "",
|
|
12192
12204
|
name: Dt.TEMPLATES_LIST,
|
|
12193
|
-
component:
|
|
12205
|
+
component: e8
|
|
12194
12206
|
},
|
|
12195
12207
|
{
|
|
12196
12208
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
12197
12209
|
name: Dt.TEMPLATE_DETAILS,
|
|
12198
|
-
component:
|
|
12210
|
+
component: Mv,
|
|
12199
12211
|
props: !0
|
|
12200
12212
|
}
|
|
12201
12213
|
]
|
|
12202
12214
|
}
|
|
12203
|
-
],
|
|
12215
|
+
], Fe = {
|
|
12204
12216
|
project: "AoProject",
|
|
12205
12217
|
feed: "AoProjectFeed",
|
|
12206
12218
|
milestone: "AoMilestone",
|
|
12207
12219
|
activity: "AoActivity"
|
|
12208
|
-
},
|
|
12220
|
+
}, m8 = (t, e = {}) => [
|
|
12209
12221
|
{
|
|
12210
12222
|
path: t,
|
|
12211
12223
|
...e,
|
|
12212
|
-
redirect: { name:
|
|
12224
|
+
redirect: { name: Fe.project },
|
|
12213
12225
|
children: [
|
|
12214
12226
|
{
|
|
12215
12227
|
path: "",
|
|
12216
|
-
name:
|
|
12217
|
-
component:
|
|
12228
|
+
name: Fe.project,
|
|
12229
|
+
component: y9,
|
|
12218
12230
|
props: !0,
|
|
12219
12231
|
children: [
|
|
12220
12232
|
{
|
|
12221
12233
|
path: ":phaseId/:milestoneId",
|
|
12222
|
-
name:
|
|
12234
|
+
name: Fe.milestone,
|
|
12223
12235
|
component: As,
|
|
12224
12236
|
props: !0
|
|
12225
12237
|
},
|
|
12226
12238
|
{
|
|
12227
12239
|
path: ":phaseId/:milestoneId/:activityId",
|
|
12228
|
-
name:
|
|
12240
|
+
name: Fe.activity,
|
|
12229
12241
|
props: { default: !0, modal: !0 },
|
|
12230
12242
|
components: {
|
|
12231
12243
|
default: As,
|
|
12232
|
-
modal:
|
|
12244
|
+
modal: S4
|
|
12233
12245
|
}
|
|
12234
12246
|
}
|
|
12235
12247
|
]
|
|
12236
12248
|
},
|
|
12237
12249
|
{
|
|
12238
12250
|
path: "feed",
|
|
12239
|
-
name:
|
|
12240
|
-
component:
|
|
12251
|
+
name: Fe.feed,
|
|
12252
|
+
component: Q4,
|
|
12241
12253
|
props: !0
|
|
12242
12254
|
}
|
|
12243
12255
|
]
|
|
12244
12256
|
}
|
|
12245
|
-
],
|
|
12257
|
+
], J4 = { class: "ao-templates" }, e8 = /* @__PURE__ */ z({
|
|
12246
12258
|
__name: "AoTemplatesList",
|
|
12247
12259
|
props: {
|
|
12248
12260
|
templates: {}
|
|
@@ -12282,8 +12294,8 @@ const Dt = {
|
|
|
12282
12294
|
});
|
|
12283
12295
|
}
|
|
12284
12296
|
};
|
|
12285
|
-
return (r, l) => (p(), g("div",
|
|
12286
|
-
M(
|
|
12297
|
+
return (r, l) => (p(), g("div", J4, [
|
|
12298
|
+
M(Ka, null, {
|
|
12287
12299
|
secondary: W(() => [
|
|
12288
12300
|
M(ce, {
|
|
12289
12301
|
label: r.$t("templates.new"),
|
|
@@ -12326,7 +12338,7 @@ const Dt = {
|
|
|
12326
12338
|
]));
|
|
12327
12339
|
}
|
|
12328
12340
|
});
|
|
12329
|
-
const
|
|
12341
|
+
const t8 = { class: "ao-field__label" }, a8 = /* @__PURE__ */ z({
|
|
12330
12342
|
__name: "AoField",
|
|
12331
12343
|
props: {
|
|
12332
12344
|
label: {},
|
|
@@ -12336,11 +12348,11 @@ const e8 = { class: "ao-field__label" }, t8 = /* @__PURE__ */ z({
|
|
|
12336
12348
|
return (e, a) => (p(), g("label", {
|
|
12337
12349
|
class: K(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12338
12350
|
}, [
|
|
12339
|
-
v("span",
|
|
12351
|
+
v("span", t8, G(e.label), 1),
|
|
12340
12352
|
te(e.$slots, "default")
|
|
12341
12353
|
], 2));
|
|
12342
12354
|
}
|
|
12343
|
-
}),
|
|
12355
|
+
}), n8 = ["type", "value", "disabled", "readonly"], C8 = /* @__PURE__ */ z({
|
|
12344
12356
|
__name: "AoInputField",
|
|
12345
12357
|
props: {
|
|
12346
12358
|
label: { default: "" },
|
|
@@ -12357,7 +12369,7 @@ const e8 = { class: "ao-field__label" }, t8 = /* @__PURE__ */ z({
|
|
|
12357
12369
|
), s = (o) => {
|
|
12358
12370
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12359
12371
|
};
|
|
12360
|
-
return (o, i) => (p(), P(
|
|
12372
|
+
return (o, i) => (p(), P(a8, { label: o.label }, {
|
|
12361
12373
|
default: W(() => [
|
|
12362
12374
|
v("input", He({
|
|
12363
12375
|
class: "ao-field__input",
|
|
@@ -12367,12 +12379,12 @@ const e8 = { class: "ao-field__label" }, t8 = /* @__PURE__ */ z({
|
|
|
12367
12379
|
readonly: o.isReadonly
|
|
12368
12380
|
}, {
|
|
12369
12381
|
[Bi(n.value)]: i[0] || (i[0] = (r) => s(r.target.value))
|
|
12370
|
-
}), null, 16,
|
|
12382
|
+
}), null, 16, n8)
|
|
12371
12383
|
]),
|
|
12372
12384
|
_: 1
|
|
12373
12385
|
}, 8, ["label"]));
|
|
12374
12386
|
}
|
|
12375
|
-
}),
|
|
12387
|
+
}), s8 = { class: "ao-field" }, i8 = { class: "ao-field__label" }, o8 = ["checked", "disabled"], g8 = /* @__PURE__ */ z({
|
|
12376
12388
|
__name: "AoCheckboxField",
|
|
12377
12389
|
props: {
|
|
12378
12390
|
label: { default: "" },
|
|
@@ -12382,8 +12394,8 @@ const e8 = { class: "ao-field__label" }, t8 = /* @__PURE__ */ z({
|
|
|
12382
12394
|
},
|
|
12383
12395
|
emits: ["update:modelValue"],
|
|
12384
12396
|
setup(t) {
|
|
12385
|
-
return (e, a) => (p(), g("label",
|
|
12386
|
-
v("span",
|
|
12397
|
+
return (e, a) => (p(), g("label", s8, [
|
|
12398
|
+
v("span", i8, G(e.label), 1),
|
|
12387
12399
|
v("input", {
|
|
12388
12400
|
class: "ao-field__input",
|
|
12389
12401
|
type: "checkbox",
|
|
@@ -12396,30 +12408,30 @@ const e8 = { class: "ao-field__label" }, t8 = /* @__PURE__ */ z({
|
|
|
12396
12408
|
((s = n.target) == null ? void 0 : s.checked) ?? !1
|
|
12397
12409
|
);
|
|
12398
12410
|
})
|
|
12399
|
-
}, null, 40,
|
|
12411
|
+
}, null, 40, o8)
|
|
12400
12412
|
]));
|
|
12401
12413
|
}
|
|
12402
12414
|
});
|
|
12403
12415
|
export {
|
|
12404
12416
|
di as AoCardFeed,
|
|
12405
|
-
|
|
12406
|
-
|
|
12407
|
-
|
|
12408
|
-
|
|
12417
|
+
g8 as AoCheckboxField,
|
|
12418
|
+
Q4 as AoFeed,
|
|
12419
|
+
a8 as AoField,
|
|
12420
|
+
C8 as AoInputField,
|
|
12409
12421
|
$e as AoMultiselect,
|
|
12410
|
-
|
|
12411
|
-
|
|
12412
|
-
|
|
12413
|
-
|
|
12422
|
+
u9 as AoProjectPhases,
|
|
12423
|
+
Mv as AoTemplateDetails,
|
|
12424
|
+
d8 as AoTemplates,
|
|
12425
|
+
e8 as AoTemplatesList,
|
|
12414
12426
|
F2 as TemplateItemTypeEnum,
|
|
12415
|
-
|
|
12416
|
-
|
|
12427
|
+
f8 as activityFeedStatus,
|
|
12428
|
+
p8 as durationTypes,
|
|
12417
12429
|
Lt as feedFilterTypes,
|
|
12418
|
-
|
|
12419
|
-
|
|
12420
|
-
|
|
12421
|
-
|
|
12422
|
-
|
|
12430
|
+
m8 as getProjectOverviewRoutes,
|
|
12431
|
+
h8 as getTemplateRoutes,
|
|
12432
|
+
v8 as listUpdateTypes,
|
|
12433
|
+
mn as milestoneStatus,
|
|
12434
|
+
Fe as projectOverviewRoutes,
|
|
12423
12435
|
R2 as ruleComparators,
|
|
12424
12436
|
j2 as ruleDurationUnits,
|
|
12425
12437
|
N2 as ruleTriggerTypes,
|