@26lights/orcha 0.7.8 → 0.7.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.es.js +221 -242
- package/dist/orcha.umd.js +1 -1
- package/dist/src/types/index.d.ts +1 -1
- package/dist/src/views/AoTemplateDetails.vue.d.ts +1 -1
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -2426,47 +2426,7 @@ const k3 = /* @__PURE__ */ x({
|
|
|
2426
2426
|
_: 3
|
|
2427
2427
|
}, 8, ["activities"]));
|
|
2428
2428
|
}
|
|
2429
|
-
}), L3 = {
|
|
2430
|
-
todo: "todo",
|
|
2431
|
-
done: "done",
|
|
2432
|
-
archived: "archived"
|
|
2433
|
-
}, qd = {
|
|
2434
|
-
months: "months",
|
|
2435
|
-
weeks: "weeks",
|
|
2436
|
-
days: "days"
|
|
2437
|
-
}, V3 = {
|
|
2438
|
-
future: "future",
|
|
2439
|
-
this_month: "this_month",
|
|
2440
|
-
this_week: "this_week",
|
|
2441
|
-
today: "today",
|
|
2442
|
-
done: "done"
|
|
2443
|
-
}, E3 = {
|
|
2444
|
-
BEFORE: "before",
|
|
2445
|
-
AFTER: "after"
|
|
2446
|
-
}, H3 = {
|
|
2447
|
-
START: "start",
|
|
2448
|
-
end: "end"
|
|
2449
|
-
}, O3 = {
|
|
2450
|
-
DAYS: "days",
|
|
2451
|
-
WEEKS: "weeks",
|
|
2452
|
-
MONTHS: "months"
|
|
2453
|
-
}, de = {
|
|
2454
|
-
TEMPLATES: "templates",
|
|
2455
|
-
PHASES: "phases",
|
|
2456
|
-
MILESTONES: "milestones",
|
|
2457
|
-
ACTIVITIES: "activities",
|
|
2458
|
-
SUBTASKS: "subtasks"
|
|
2459
|
-
};
|
|
2460
|
-
var D3 = /* @__PURE__ */ ((s) => (s.PHASES = "phases", s.MILESTONES = "milestones", s.ACTIVITIES = "activities", s))(D3 || {});
|
|
2461
|
-
const Fd = {
|
|
2462
|
-
add: "add",
|
|
2463
|
-
remove: "remove",
|
|
2464
|
-
moved: "moved"
|
|
2465
|
-
}, D1 = {
|
|
2466
|
-
project: "project",
|
|
2467
|
-
activity_type: "activity_type",
|
|
2468
|
-
assignee: "assignee"
|
|
2469
|
-
}, j3 = { class: "ao-list__footer" }, B3 = /* @__PURE__ */ x({
|
|
2429
|
+
}), L3 = { class: "ao-list__footer" }, V3 = /* @__PURE__ */ x({
|
|
2470
2430
|
__name: "AoTemplateDetailsMilestones",
|
|
2471
2431
|
props: {
|
|
2472
2432
|
templateId: {},
|
|
@@ -2475,24 +2435,7 @@ const Fd = {
|
|
|
2475
2435
|
},
|
|
2476
2436
|
emits: ["addMilestone", "updateMilestone", "updatePhase", "removeMilestone"],
|
|
2477
2437
|
setup(s, { emit: e }) {
|
|
2478
|
-
const t = s
|
|
2479
|
-
v({
|
|
2480
|
-
get() {
|
|
2481
|
-
return [...t.phase.milestones || []].sort((p, c) => p.order - c.order);
|
|
2482
|
-
},
|
|
2483
|
-
set(l) {
|
|
2484
|
-
const p = l.map((c, h) => (c.order = h, c));
|
|
2485
|
-
e("updatePhase", {
|
|
2486
|
-
itemType: de.PHASES,
|
|
2487
|
-
id: t.phase.id,
|
|
2488
|
-
templateId: t.templateId,
|
|
2489
|
-
data: {
|
|
2490
|
-
milestones: p
|
|
2491
|
-
}
|
|
2492
|
-
});
|
|
2493
|
-
}
|
|
2494
|
-
});
|
|
2495
|
-
const n = () => {
|
|
2438
|
+
const t = s, n = () => {
|
|
2496
2439
|
e("addMilestone", { phaseId: t.phase.id });
|
|
2497
2440
|
}, a = (l) => {
|
|
2498
2441
|
e("removeMilestone", { phaseId: t.phase.id, id: l });
|
|
@@ -2501,13 +2444,9 @@ const Fd = {
|
|
|
2501
2444
|
}, i = (l) => {
|
|
2502
2445
|
if (l.moved) {
|
|
2503
2446
|
const p = R1(l, t.phase.milestones);
|
|
2504
|
-
e("
|
|
2505
|
-
itemType: de.MILESTONES,
|
|
2447
|
+
e("updateMilestone", {
|
|
2506
2448
|
id: l.moved.element.id,
|
|
2507
|
-
|
|
2508
|
-
data: {
|
|
2509
|
-
rank: p
|
|
2510
|
-
}
|
|
2449
|
+
rank: p
|
|
2511
2450
|
});
|
|
2512
2451
|
}
|
|
2513
2452
|
};
|
|
@@ -2544,7 +2483,7 @@ const Fd = {
|
|
|
2544
2483
|
}, null, 8, ["title", "activities", "is-active", "onUpdate:title", "onClick", "onRemove"]))
|
|
2545
2484
|
]),
|
|
2546
2485
|
footer: F(() => [
|
|
2547
|
-
r("div",
|
|
2486
|
+
r("div", L3, [
|
|
2548
2487
|
y(Pe, {
|
|
2549
2488
|
"icon-name": "AddBoxOutlineRounded",
|
|
2550
2489
|
label: l.$t("template.milestones.add"),
|
|
@@ -2555,7 +2494,7 @@ const Fd = {
|
|
|
2555
2494
|
_: 1
|
|
2556
2495
|
}, 8, ["model-value", "title"])) : A("", !0);
|
|
2557
2496
|
}
|
|
2558
|
-
}),
|
|
2497
|
+
}), E3 = /* @__PURE__ */ x({
|
|
2559
2498
|
__name: "AoCardTemplateItemActivity",
|
|
2560
2499
|
props: {
|
|
2561
2500
|
name: {},
|
|
@@ -2573,7 +2512,7 @@ const Fd = {
|
|
|
2573
2512
|
_: 3
|
|
2574
2513
|
}, 8, ["subtasks"]));
|
|
2575
2514
|
}
|
|
2576
|
-
}),
|
|
2515
|
+
}), H3 = { class: "ao-list__footer" }, O3 = /* @__PURE__ */ x({
|
|
2577
2516
|
__name: "AoTemplateDetailsActivities",
|
|
2578
2517
|
props: {
|
|
2579
2518
|
templateId: {},
|
|
@@ -2631,7 +2570,7 @@ const Fd = {
|
|
|
2631
2570
|
})
|
|
2632
2571
|
]),
|
|
2633
2572
|
item: F(({ element: c }) => [
|
|
2634
|
-
(d(), q(
|
|
2573
|
+
(d(), q(E3, {
|
|
2635
2574
|
key: c.id,
|
|
2636
2575
|
title: c.name,
|
|
2637
2576
|
subtasks: c.subtasks,
|
|
@@ -2643,7 +2582,7 @@ const Fd = {
|
|
|
2643
2582
|
}, null, 8, ["title", "subtasks", "is-active", "onUpdate:title", "onClick", "onRemove"]))
|
|
2644
2583
|
]),
|
|
2645
2584
|
footer: F(() => [
|
|
2646
|
-
r("div",
|
|
2585
|
+
r("div", H3, [
|
|
2647
2586
|
y(Pe, {
|
|
2648
2587
|
"icon-name": "AddBoxOutlineRounded",
|
|
2649
2588
|
label: l.$t("template.activities.add"),
|
|
@@ -2658,7 +2597,7 @@ const Fd = {
|
|
|
2658
2597
|
function ke(s) {
|
|
2659
2598
|
return [null, void 0].indexOf(s) !== -1;
|
|
2660
2599
|
}
|
|
2661
|
-
function
|
|
2600
|
+
function D3(s, e, t) {
|
|
2662
2601
|
const { object: n, valueProp: a, mode: o } = we(s), i = Be().proxy, l = t.iv, p = (_, f = !0) => {
|
|
2663
2602
|
l.value = h(_);
|
|
2664
2603
|
const g = c(_);
|
|
@@ -2668,7 +2607,7 @@ function U3(s, e, t) {
|
|
|
2668
2607
|
update: p
|
|
2669
2608
|
};
|
|
2670
2609
|
}
|
|
2671
|
-
function
|
|
2610
|
+
function j3(s, e) {
|
|
2672
2611
|
const { value: t, modelValue: n, mode: a, valueProp: o } = we(s), i = J(a.value !== "single" ? [] : {}), l = n && n.value !== void 0 ? n : t, p = v(() => a.value === "single" ? i.value[o.value] : i.value.map((h) => h[o.value])), c = v(() => a.value !== "single" ? i.value.map((h) => h[o.value]).join(",") : i.value[o.value]);
|
|
2673
2612
|
return {
|
|
2674
2613
|
iv: i,
|
|
@@ -2679,7 +2618,7 @@ function R3(s, e) {
|
|
|
2679
2618
|
plainValue: p
|
|
2680
2619
|
};
|
|
2681
2620
|
}
|
|
2682
|
-
function
|
|
2621
|
+
function B3(s, e, t) {
|
|
2683
2622
|
const { regex: n } = we(s), a = Be().proxy, o = t.isOpen, i = t.open, l = J(null), p = J(null), c = () => {
|
|
2684
2623
|
l.value = "";
|
|
2685
2624
|
}, h = (g) => {
|
|
@@ -2708,7 +2647,7 @@ function q3(s, e, t) {
|
|
|
2708
2647
|
handlePaste: f
|
|
2709
2648
|
};
|
|
2710
2649
|
}
|
|
2711
|
-
function
|
|
2650
|
+
function P3(s, e, t) {
|
|
2712
2651
|
const { groupSelect: n, mode: a, groups: o, disabledProp: i } = we(s), l = J(null), p = (h) => {
|
|
2713
2652
|
h === void 0 || h !== null && h[i.value] || o.value && h && h.group && (a.value === "single" || !n.value) || (l.value = h);
|
|
2714
2653
|
};
|
|
@@ -2720,19 +2659,19 @@ function F3(s, e, t) {
|
|
|
2720
2659
|
}
|
|
2721
2660
|
};
|
|
2722
2661
|
}
|
|
2723
|
-
function
|
|
2662
|
+
function D1(s, e = !0) {
|
|
2724
2663
|
return e ? String(s).toLowerCase().trim() : String(s).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g), "ae").replace(new RegExp(/œ/g), "oe").replace(new RegExp(/ø/g), "o").replace(/\p{Diacritic}/gu, "");
|
|
2725
2664
|
}
|
|
2726
|
-
function
|
|
2665
|
+
function Z3(s) {
|
|
2727
2666
|
return Object.prototype.toString.call(s) === "[object Object]";
|
|
2728
2667
|
}
|
|
2729
|
-
function
|
|
2668
|
+
function N3(s, e) {
|
|
2730
2669
|
const t = e.slice().sort();
|
|
2731
2670
|
return s.length === e.length && s.slice().sort().every(function(n, a) {
|
|
2732
2671
|
return n === t[a];
|
|
2733
2672
|
});
|
|
2734
2673
|
}
|
|
2735
|
-
function
|
|
2674
|
+
function U3(s, e, t) {
|
|
2736
2675
|
const {
|
|
2737
2676
|
options: n,
|
|
2738
2677
|
mode: a,
|
|
@@ -2776,8 +2715,8 @@ function K3(s, e, t) {
|
|
|
2776
2715
|
let m = r1.value || /* istanbul ignore next */
|
|
2777
2716
|
[], T = [];
|
|
2778
2717
|
return m.forEach((Q) => {
|
|
2779
|
-
H1(Q[u.value]).forEach((
|
|
2780
|
-
T.push(Object.assign({},
|
|
2718
|
+
H1(Q[u.value]).forEach((de) => {
|
|
2719
|
+
T.push(Object.assign({}, de, Q[P.value] ? { [P.value]: !0 } : {}));
|
|
2781
2720
|
});
|
|
2782
2721
|
}), T;
|
|
2783
2722
|
} else {
|
|
@@ -2814,13 +2753,13 @@ function K3(s, e, t) {
|
|
|
2814
2753
|
let m = St.value;
|
|
2815
2754
|
return Nt((m || /* istanbul ignore next */
|
|
2816
2755
|
[]).map((T, Q) => {
|
|
2817
|
-
const
|
|
2756
|
+
const de = H1(T[u.value]);
|
|
2818
2757
|
return {
|
|
2819
2758
|
...T,
|
|
2820
2759
|
index: Q,
|
|
2821
2760
|
group: !0,
|
|
2822
|
-
[u.value]: E1(
|
|
2823
|
-
__VISIBLE__: E1(
|
|
2761
|
+
[u.value]: E1(de, !1).map((Qe) => Object.assign({}, Qe, T[P.value] ? { [P.value]: !0 } : {})),
|
|
2762
|
+
__VISIBLE__: E1(de).map((Qe) => Object.assign({}, Qe, T[P.value] ? { [P.value]: !0 } : {}))
|
|
2824
2763
|
};
|
|
2825
2764
|
}));
|
|
2826
2765
|
}), k1 = v(() => {
|
|
@@ -2954,26 +2893,26 @@ function K3(s, e, t) {
|
|
|
2954
2893
|
) : m.filter((T) => Z.value ? T.__VISIBLE__.length : !0), E1 = (m, T = !0) => {
|
|
2955
2894
|
let Q = m;
|
|
2956
2895
|
if (Z.value && j.value) {
|
|
2957
|
-
let
|
|
2958
|
-
|
|
2959
|
-
let tt =
|
|
2960
|
-
return ae.value ? tt.startsWith(
|
|
2961
|
-
}), Q = Q.filter(
|
|
2896
|
+
let de = re.value;
|
|
2897
|
+
de || (de = (Qe, Pd) => {
|
|
2898
|
+
let tt = D1($t(Qe[Ae.value]), he.value);
|
|
2899
|
+
return ae.value ? tt.startsWith(D1(Z.value, he.value)) : tt.indexOf(D1(Z.value, he.value)) !== -1;
|
|
2900
|
+
}), Q = Q.filter(de);
|
|
2962
2901
|
}
|
|
2963
|
-
return l.value && T && (Q = Q.filter((
|
|
2902
|
+
return l.value && T && (Q = Q.filter((de) => !Pt(de))), Q;
|
|
2964
2903
|
}, H1 = (m) => {
|
|
2965
2904
|
let T = m;
|
|
2966
|
-
return
|
|
2967
|
-
let
|
|
2968
|
-
return { [D.value]: Q, [Ae.value]:
|
|
2905
|
+
return Z3(T) && (T = Object.keys(T).map((Q) => {
|
|
2906
|
+
let de = T[Q];
|
|
2907
|
+
return { [D.value]: Q, [Ae.value]: de, [h.value]: de };
|
|
2969
2908
|
})), T = T.map((Q) => typeof Q == "object" ? Q : { [D.value]: Q, [Ae.value]: Q, [h.value]: Q }), T;
|
|
2970
2909
|
}, d1 = () => {
|
|
2971
2910
|
ke(M.value) || (U.value = u1(M.value));
|
|
2972
2911
|
}, c1 = (m) => (Me.value = !0, new Promise((T, Q) => {
|
|
2973
|
-
n.value(Z.value, ee).then((
|
|
2974
|
-
He.value =
|
|
2975
|
-
}).catch((
|
|
2976
|
-
console.error(
|
|
2912
|
+
n.value(Z.value, ee).then((de) => {
|
|
2913
|
+
He.value = de || [], typeof m == "function" && m(de), Me.value = !1;
|
|
2914
|
+
}).catch((de) => {
|
|
2915
|
+
console.error(de), He.value = [], Me.value = !1;
|
|
2977
2916
|
}).finally(() => {
|
|
2978
2917
|
T();
|
|
2979
2918
|
});
|
|
@@ -2989,8 +2928,8 @@ function K3(s, e, t) {
|
|
|
2989
2928
|
U.value.forEach((m, T) => {
|
|
2990
2929
|
let Q = Ee(U.value[T][D.value]);
|
|
2991
2930
|
if (Q !== void 0) {
|
|
2992
|
-
let
|
|
2993
|
-
U.value[T][h.value] =
|
|
2931
|
+
let de = Q[h.value];
|
|
2932
|
+
U.value[T][h.value] = de, V.value && (M.value[T][h.value] = de);
|
|
2994
2933
|
}
|
|
2995
2934
|
});
|
|
2996
2935
|
}, Ut = (m) => {
|
|
@@ -3032,7 +2971,7 @@ function K3(s, e, t) {
|
|
|
3032
2971
|
break;
|
|
3033
2972
|
case "multiple":
|
|
3034
2973
|
case "tags":
|
|
3035
|
-
|
|
2974
|
+
N3(V.value ? m.map((T) => T[D.value]) : m, U.value.map((T) => T[D.value])) || Se(u1(m), !1);
|
|
3036
2975
|
break;
|
|
3037
2976
|
}
|
|
3038
2977
|
}, { deep: !0 }), fe(n, (m, T) => {
|
|
@@ -3071,7 +3010,7 @@ function K3(s, e, t) {
|
|
|
3071
3010
|
refreshLabels: O1
|
|
3072
3011
|
};
|
|
3073
3012
|
}
|
|
3074
|
-
function
|
|
3013
|
+
function R3(s, e, t) {
|
|
3075
3014
|
const {
|
|
3076
3015
|
valueProp: n,
|
|
3077
3016
|
showOptions: a,
|
|
@@ -3160,7 +3099,7 @@ function x3(s, e, t) {
|
|
|
3160
3099
|
backwardPointer: re
|
|
3161
3100
|
};
|
|
3162
3101
|
}
|
|
3163
|
-
function
|
|
3102
|
+
function q3(s, e, t) {
|
|
3164
3103
|
const { disabled: n } = we(s), a = Be().proxy, o = J(!1);
|
|
3165
3104
|
return {
|
|
3166
3105
|
isOpen: o,
|
|
@@ -3172,7 +3111,7 @@ function W3(s, e, t) {
|
|
|
3172
3111
|
}
|
|
3173
3112
|
};
|
|
3174
3113
|
}
|
|
3175
|
-
function
|
|
3114
|
+
function F3(s, e, t) {
|
|
3176
3115
|
const { searchable: n, disabled: a, clearOnBlur: o } = we(s), i = t.input, l = t.open, p = t.close, c = t.clearSearch, h = t.isOpen, _ = J(null), f = J(null), g = J(null), V = J(!1), w = J(!1), O = v(() => n.value || a.value ? -1 : 0), L = () => {
|
|
3177
3116
|
n.value && i.value.blur(), f.value.blur();
|
|
3178
3117
|
}, b = () => {
|
|
@@ -3213,7 +3152,7 @@ function Y3(s, e, t) {
|
|
|
3213
3152
|
}
|
|
3214
3153
|
};
|
|
3215
3154
|
}
|
|
3216
|
-
function
|
|
3155
|
+
function z3(s, e, t) {
|
|
3217
3156
|
const {
|
|
3218
3157
|
mode: n,
|
|
3219
3158
|
addTagOn: a,
|
|
@@ -3304,7 +3243,7 @@ function X3(s, e, t) {
|
|
|
3304
3243
|
preparePointer: ye
|
|
3305
3244
|
};
|
|
3306
3245
|
}
|
|
3307
|
-
function
|
|
3246
|
+
function G3(s, e, t) {
|
|
3308
3247
|
const {
|
|
3309
3248
|
classes: n,
|
|
3310
3249
|
disabled: a,
|
|
@@ -3411,7 +3350,7 @@ function Q3(s, e, t) {
|
|
|
3411
3350
|
showDropdown: O
|
|
3412
3351
|
};
|
|
3413
3352
|
}
|
|
3414
|
-
function
|
|
3353
|
+
function K3(s, e, t) {
|
|
3415
3354
|
const {
|
|
3416
3355
|
limit: n,
|
|
3417
3356
|
infinite: a
|
|
@@ -3439,7 +3378,7 @@ function J3(s, e, t) {
|
|
|
3439
3378
|
infiniteLoader: _
|
|
3440
3379
|
};
|
|
3441
3380
|
}
|
|
3442
|
-
function
|
|
3381
|
+
function x3(s, e, t) {
|
|
3443
3382
|
const {
|
|
3444
3383
|
placeholder: n,
|
|
3445
3384
|
id: a,
|
|
@@ -3498,7 +3437,7 @@ function e0(s, e, t) {
|
|
|
3498
3437
|
ariaTagLabel: he
|
|
3499
3438
|
};
|
|
3500
3439
|
}
|
|
3501
|
-
function
|
|
3440
|
+
function W3(s, e, t) {
|
|
3502
3441
|
const {
|
|
3503
3442
|
locale: n,
|
|
3504
3443
|
fallbackLocale: a
|
|
@@ -3507,7 +3446,7 @@ function t0(s, e, t) {
|
|
|
3507
3446
|
localize: (i) => !i || typeof i != "object" ? i : i && i[n.value] ? i[n.value] : i && n.value && i[n.value.toUpperCase()] ? i[n.value.toUpperCase()] : i && i[a.value] ? i[a.value] : i && a.value && i[a.value.toUpperCase()] ? i[a.value.toUpperCase()] : i && Object.keys(i)[0] ? i[Object.keys(i)[0]] : ""
|
|
3508
3447
|
};
|
|
3509
3448
|
}
|
|
3510
|
-
function
|
|
3449
|
+
function Y3(s, e, t, n = {}) {
|
|
3511
3450
|
return t.forEach((a) => {
|
|
3512
3451
|
a && (n = {
|
|
3513
3452
|
...n,
|
|
@@ -3851,25 +3790,25 @@ var Ce = {
|
|
|
3851
3790
|
}
|
|
3852
3791
|
},
|
|
3853
3792
|
setup(s, e) {
|
|
3854
|
-
return
|
|
3855
|
-
t0,
|
|
3856
|
-
R3,
|
|
3857
|
-
F3,
|
|
3793
|
+
return Y3(s, e, [
|
|
3858
3794
|
W3,
|
|
3795
|
+
j3,
|
|
3796
|
+
P3,
|
|
3859
3797
|
q3,
|
|
3798
|
+
B3,
|
|
3799
|
+
D3,
|
|
3800
|
+
F3,
|
|
3860
3801
|
U3,
|
|
3861
|
-
Y3,
|
|
3862
3802
|
K3,
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
e0
|
|
3803
|
+
R3,
|
|
3804
|
+
z3,
|
|
3805
|
+
G3,
|
|
3806
|
+
x3
|
|
3868
3807
|
]);
|
|
3869
3808
|
}
|
|
3870
3809
|
};
|
|
3871
|
-
const
|
|
3872
|
-
function
|
|
3810
|
+
const X3 = ["id", "dir"], Q3 = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], J3 = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], e0 = ["onKeyup", "aria-label"], t0 = ["onClick"], s0 = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], a0 = ["innerHTML"], n0 = ["id"], i0 = ["id", "aria-label", "aria-selected"], o0 = ["data-pointed", "onMouseenter", "onClick"], l0 = ["innerHTML"], r0 = ["aria-label"], d0 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], c0 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], u0 = ["innerHTML"], p0 = ["innerHTML"], h0 = ["value"], m0 = ["name", "value"], C0 = ["name", "value"], v0 = ["id"];
|
|
3811
|
+
function _0(s, e, t, n, a, o) {
|
|
3873
3812
|
return d(), C("div", {
|
|
3874
3813
|
ref: "multiselect",
|
|
3875
3814
|
class: K(s.classList.container),
|
|
@@ -3914,7 +3853,7 @@ function $0(s, e, t, n, a, o) {
|
|
|
3914
3853
|
}, {
|
|
3915
3854
|
...t.attrs,
|
|
3916
3855
|
...s.arias
|
|
3917
|
-
}), null, 16,
|
|
3856
|
+
}), null, 16, J3)) : A("v-if", !0),
|
|
3918
3857
|
A(" Tags (with search) "),
|
|
3919
3858
|
t.mode == "tags" ? (d(), C(
|
|
3920
3859
|
"div",
|
|
@@ -3961,8 +3900,8 @@ function $0(s, e, t, n, a, o) {
|
|
|
3961
3900
|
2
|
|
3962
3901
|
/* CLASS */
|
|
3963
3902
|
)
|
|
3964
|
-
], 10,
|
|
3965
|
-
], 42,
|
|
3903
|
+
], 10, t0)) : A("v-if", !0)
|
|
3904
|
+
], 42, e0))
|
|
3966
3905
|
])),
|
|
3967
3906
|
256
|
|
3968
3907
|
/* UNKEYED_FRAGMENT */
|
|
@@ -4006,7 +3945,7 @@ function $0(s, e, t, n, a, o) {
|
|
|
4006
3945
|
}, {
|
|
4007
3946
|
...t.attrs,
|
|
4008
3947
|
...s.arias
|
|
4009
|
-
}), null, 16,
|
|
3948
|
+
}), null, 16, s0)) : A("v-if", !0)
|
|
4010
3949
|
],
|
|
4011
3950
|
2
|
|
4012
3951
|
/* CLASS */
|
|
@@ -4048,7 +3987,7 @@ function $0(s, e, t, n, a, o) {
|
|
|
4048
3987
|
r("div", {
|
|
4049
3988
|
class: K(s.classList.multipleLabel),
|
|
4050
3989
|
innerHTML: s.multipleLabelText
|
|
4051
|
-
}, null, 10,
|
|
3990
|
+
}, null, 10, a0)
|
|
4052
3991
|
]) : A("v-if", !0),
|
|
4053
3992
|
A(" Placeholder "),
|
|
4054
3993
|
t.placeholder && !s.hasSelected && !s.search ? W(s.$slots, "placeholder", { key: 4 }, () => [
|
|
@@ -4122,7 +4061,7 @@ function $0(s, e, t, n, a, o) {
|
|
|
4122
4061
|
/* CLASS */
|
|
4123
4062
|
)
|
|
4124
4063
|
]) : A("v-if", !0)
|
|
4125
|
-
], 16,
|
|
4064
|
+
], 16, Q3),
|
|
4126
4065
|
A(" Options "),
|
|
4127
4066
|
r(
|
|
4128
4067
|
"div",
|
|
@@ -4162,9 +4101,9 @@ function $0(s, e, t, n, a, o) {
|
|
|
4162
4101
|
}, () => [
|
|
4163
4102
|
r("span", {
|
|
4164
4103
|
innerHTML: s.localize(i[t.groupLabel])
|
|
4165
|
-
}, null, 8,
|
|
4104
|
+
}, null, 8, l0)
|
|
4166
4105
|
])
|
|
4167
|
-
], 42,
|
|
4106
|
+
], 42, o0)),
|
|
4168
4107
|
r("ul", {
|
|
4169
4108
|
class: K(s.classList.groupOptions),
|
|
4170
4109
|
"aria-label": s.ariaGroupLabel(s.localize(i[t.groupLabel])),
|
|
@@ -4199,12 +4138,12 @@ function $0(s, e, t, n, a, o) {
|
|
|
4199
4138
|
/* TEXT */
|
|
4200
4139
|
)
|
|
4201
4140
|
])
|
|
4202
|
-
], 42,
|
|
4141
|
+
], 42, d0))),
|
|
4203
4142
|
128
|
|
4204
4143
|
/* KEYED_FRAGMENT */
|
|
4205
4144
|
))
|
|
4206
|
-
], 10,
|
|
4207
|
-
], 10,
|
|
4145
|
+
], 10, r0)
|
|
4146
|
+
], 10, i0))),
|
|
4208
4147
|
128
|
|
4209
4148
|
/* KEYED_FRAGMENT */
|
|
4210
4149
|
)) : (d(!0), C(
|
|
@@ -4236,22 +4175,22 @@ function $0(s, e, t, n, a, o) {
|
|
|
4236
4175
|
/* TEXT */
|
|
4237
4176
|
)
|
|
4238
4177
|
])
|
|
4239
|
-
], 42,
|
|
4178
|
+
], 42, c0))),
|
|
4240
4179
|
128
|
|
4241
4180
|
/* KEYED_FRAGMENT */
|
|
4242
4181
|
))
|
|
4243
|
-
], 10,
|
|
4182
|
+
], 10, n0),
|
|
4244
4183
|
s.noOptions ? W(s.$slots, "nooptions", { key: 0 }, () => [
|
|
4245
4184
|
r("div", {
|
|
4246
4185
|
class: K(s.classList.noOptions),
|
|
4247
4186
|
innerHTML: s.localize(t.noOptionsText)
|
|
4248
|
-
}, null, 10,
|
|
4187
|
+
}, null, 10, u0)
|
|
4249
4188
|
]) : A("v-if", !0),
|
|
4250
4189
|
s.noResults ? W(s.$slots, "noresults", { key: 1 }, () => [
|
|
4251
4190
|
r("div", {
|
|
4252
4191
|
class: K(s.classList.noResults),
|
|
4253
4192
|
innerHTML: s.localize(t.noResultsText)
|
|
4254
|
-
}, null, 10,
|
|
4193
|
+
}, null, 10, p0)
|
|
4255
4194
|
]) : A("v-if", !0),
|
|
4256
4195
|
t.infinite && s.hasMore ? (d(), C(
|
|
4257
4196
|
"div",
|
|
@@ -4288,7 +4227,7 @@ function $0(s, e, t, n, a, o) {
|
|
|
4288
4227
|
tabindex: "-1",
|
|
4289
4228
|
value: s.textValue,
|
|
4290
4229
|
required: ""
|
|
4291
|
-
}, null, 10,
|
|
4230
|
+
}, null, 10, h0)) : A("v-if", !0),
|
|
4292
4231
|
A(" Native input support "),
|
|
4293
4232
|
t.nativeSupport ? (d(), C(
|
|
4294
4233
|
oe,
|
|
@@ -4299,7 +4238,7 @@ function $0(s, e, t, n, a, o) {
|
|
|
4299
4238
|
type: "hidden",
|
|
4300
4239
|
name: t.name,
|
|
4301
4240
|
value: s.plainValue !== void 0 ? s.plainValue : ""
|
|
4302
|
-
}, null, 8,
|
|
4241
|
+
}, null, 8, m0)) : (d(!0), C(
|
|
4303
4242
|
oe,
|
|
4304
4243
|
{ key: 1 },
|
|
4305
4244
|
me(s.plainValue, (i, l) => (d(), C("input", {
|
|
@@ -4307,7 +4246,7 @@ function $0(s, e, t, n, a, o) {
|
|
|
4307
4246
|
name: `${t.name}[]`,
|
|
4308
4247
|
value: i,
|
|
4309
4248
|
key: l
|
|
4310
|
-
}, null, 8,
|
|
4249
|
+
}, null, 8, C0))),
|
|
4311
4250
|
128
|
|
4312
4251
|
/* KEYED_FRAGMENT */
|
|
4313
4252
|
))
|
|
@@ -4321,7 +4260,7 @@ function $0(s, e, t, n, a, o) {
|
|
|
4321
4260
|
class: K(s.classList.assist),
|
|
4322
4261
|
id: s.ariaAssist,
|
|
4323
4262
|
"aria-hidden": "true"
|
|
4324
|
-
}, R(s.ariaLabel), 11,
|
|
4263
|
+
}, R(s.ariaLabel), 11, v0)) : A("v-if", !0),
|
|
4325
4264
|
A(" Create height for empty input "),
|
|
4326
4265
|
r(
|
|
4327
4266
|
"div",
|
|
@@ -4332,25 +4271,25 @@ function $0(s, e, t, n, a, o) {
|
|
|
4332
4271
|
2
|
|
4333
4272
|
/* CLASS */
|
|
4334
4273
|
)
|
|
4335
|
-
], 42,
|
|
4274
|
+
], 42, X3);
|
|
4336
4275
|
}
|
|
4337
|
-
Ce.render =
|
|
4276
|
+
Ce.render = _0;
|
|
4338
4277
|
Ce.__file = "src/Multiselect.vue";
|
|
4339
|
-
const
|
|
4278
|
+
const f0 = { class: "ao-modal__wrapper" }, g0 = { class: "ao-modal" }, y0 = { class: "ao-modal__header" }, b0 = { class: "ao-modal__header-meta" }, w0 = {
|
|
4340
4279
|
key: 0,
|
|
4341
4280
|
class: "ao-modal__title-group"
|
|
4342
|
-
},
|
|
4281
|
+
}, $0 = { class: "ao-modal__body" }, vt = /* @__PURE__ */ x({
|
|
4343
4282
|
__name: "AoModal",
|
|
4344
4283
|
emits: ["close"],
|
|
4345
4284
|
setup(s) {
|
|
4346
|
-
return (e, t) => (d(), C("div",
|
|
4285
|
+
return (e, t) => (d(), C("div", f0, [
|
|
4347
4286
|
r("div", {
|
|
4348
4287
|
class: "ao-modal__backdrop",
|
|
4349
4288
|
onClick: t[0] || (t[0] = (n) => e.$emit("close"))
|
|
4350
4289
|
}),
|
|
4351
|
-
r("div",
|
|
4352
|
-
r("div",
|
|
4353
|
-
r("div",
|
|
4290
|
+
r("div", g0, [
|
|
4291
|
+
r("div", y0, [
|
|
4292
|
+
r("div", b0, [
|
|
4354
4293
|
y(ue, {
|
|
4355
4294
|
"icon-name": "CloseRounded",
|
|
4356
4295
|
variant: "ghost",
|
|
@@ -4358,11 +4297,11 @@ const I0 = { class: "ao-modal__wrapper" }, S0 = { class: "ao-modal" }, M0 = { cl
|
|
|
4358
4297
|
onClick: t[1] || (t[1] = (n) => e.$emit("close"))
|
|
4359
4298
|
})
|
|
4360
4299
|
]),
|
|
4361
|
-
e.$slots.header ? (d(), C("header",
|
|
4300
|
+
e.$slots.header ? (d(), C("header", w0, [
|
|
4362
4301
|
W(e.$slots, "header")
|
|
4363
4302
|
])) : A("", !0)
|
|
4364
4303
|
]),
|
|
4365
|
-
r("div",
|
|
4304
|
+
r("div", $0, [
|
|
4366
4305
|
W(e.$slots, "default")
|
|
4367
4306
|
])
|
|
4368
4307
|
])
|
|
@@ -4371,13 +4310,13 @@ const I0 = { class: "ao-modal__wrapper" }, S0 = { class: "ao-modal" }, M0 = { cl
|
|
|
4371
4310
|
});
|
|
4372
4311
|
var nt;
|
|
4373
4312
|
function S1() {
|
|
4374
|
-
const s =
|
|
4313
|
+
const s = I0(), e = s.appContext.config.globalProperties;
|
|
4375
4314
|
return {
|
|
4376
4315
|
i18next: e.$i18next,
|
|
4377
4316
|
t: e.$t.bind(s.proxy)
|
|
4378
4317
|
};
|
|
4379
4318
|
}
|
|
4380
|
-
function
|
|
4319
|
+
function I0() {
|
|
4381
4320
|
const s = Be();
|
|
4382
4321
|
if (!s)
|
|
4383
4322
|
throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
|
|
@@ -4403,7 +4342,7 @@ x({
|
|
|
4403
4342
|
};
|
|
4404
4343
|
}
|
|
4405
4344
|
});
|
|
4406
|
-
const
|
|
4345
|
+
const S0 = { class: "ao-subtasks" }, M0 = { class: "ao-subtasks__list" }, A0 = ["value", "onChange"], k0 = { class: "ao-subtasks__list-footer" }, T0 = /* @__PURE__ */ x({
|
|
4407
4346
|
__name: "AoActivitySubtasks",
|
|
4408
4347
|
props: {
|
|
4409
4348
|
activityId: {},
|
|
@@ -4439,8 +4378,8 @@ const V0 = { class: "ao-subtasks" }, E0 = { class: "ao-subtasks__list" }, H0 = [
|
|
|
4439
4378
|
assignees: c
|
|
4440
4379
|
});
|
|
4441
4380
|
};
|
|
4442
|
-
return (c, h) => (d(), C("div",
|
|
4443
|
-
r("ul",
|
|
4381
|
+
return (c, h) => (d(), C("div", S0, [
|
|
4382
|
+
r("ul", M0, [
|
|
4444
4383
|
(d(!0), C(oe, null, me(c.subtasks, (_) => (d(), C("li", {
|
|
4445
4384
|
key: _.id,
|
|
4446
4385
|
class: "ao-subtask"
|
|
@@ -4457,7 +4396,7 @@ const V0 = { class: "ao-subtasks" }, E0 = { class: "ao-subtasks__list" }, H0 = [
|
|
|
4457
4396
|
class: "ao-field__input ao-subtask__field",
|
|
4458
4397
|
type: "text",
|
|
4459
4398
|
onChange: (f) => o(f, _.id)
|
|
4460
|
-
}, null, 40,
|
|
4399
|
+
}, null, 40, A0),
|
|
4461
4400
|
y(N(Ce), {
|
|
4462
4401
|
mode: "tags",
|
|
4463
4402
|
value: _.assignees,
|
|
@@ -4485,7 +4424,7 @@ const V0 = { class: "ao-subtasks" }, E0 = { class: "ao-subtasks__list" }, H0 = [
|
|
|
4485
4424
|
}, null, 8, ["onClick"])
|
|
4486
4425
|
]))), 128))
|
|
4487
4426
|
]),
|
|
4488
|
-
r("div",
|
|
4427
|
+
r("div", k0, [
|
|
4489
4428
|
y(ue, {
|
|
4490
4429
|
label: c.$t("activity.subtasks.add"),
|
|
4491
4430
|
"icon-name": "Add",
|
|
@@ -4497,13 +4436,13 @@ const V0 = { class: "ao-subtasks" }, E0 = { class: "ao-subtasks__list" }, H0 = [
|
|
|
4497
4436
|
]));
|
|
4498
4437
|
}
|
|
4499
4438
|
});
|
|
4500
|
-
const
|
|
4439
|
+
const L0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], V0 = {
|
|
4501
4440
|
key: 0,
|
|
4502
4441
|
class: "ao-files__list"
|
|
4503
|
-
},
|
|
4442
|
+
}, E0 = ["href"], H0 = { class: "ao-file__title" }, O0 = {
|
|
4504
4443
|
key: 1,
|
|
4505
4444
|
class: "ao-files__dropzone"
|
|
4506
|
-
},
|
|
4445
|
+
}, D0 = { class: "ao-files__input" }, j0 = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost" }, B0 = { class: "ao-files__placeholder" }, P0 = /* @__PURE__ */ x({
|
|
4507
4446
|
__name: "AoActivityDetailsFiles",
|
|
4508
4447
|
props: {
|
|
4509
4448
|
attachments: {}
|
|
@@ -4558,7 +4497,7 @@ const j0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], B0 = {
|
|
|
4558
4497
|
onDragover: Te(i, ["prevent"]),
|
|
4559
4498
|
onDragleave: Te(l, ["prevent"])
|
|
4560
4499
|
}, [
|
|
4561
|
-
(_ = c.attachments) != null && _.length && c.attachments.length > 0 ? (d(), C("ul",
|
|
4500
|
+
(_ = c.attachments) != null && _.length && c.attachments.length > 0 ? (d(), C("ul", V0, [
|
|
4562
4501
|
(d(!0), C(oe, null, me(c.attachments, (f) => (d(), C("li", {
|
|
4563
4502
|
key: f.id,
|
|
4564
4503
|
class: "ao-file"
|
|
@@ -4574,8 +4513,8 @@ const j0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], B0 = {
|
|
|
4574
4513
|
name: "AttachFileRounded",
|
|
4575
4514
|
size: "sm"
|
|
4576
4515
|
}),
|
|
4577
|
-
r("span",
|
|
4578
|
-
], 8,
|
|
4516
|
+
r("span", H0, R(f.name), 1)
|
|
4517
|
+
], 8, E0),
|
|
4579
4518
|
y(ue, {
|
|
4580
4519
|
class: "ao-files__delete-button",
|
|
4581
4520
|
"icon-name": "DeleteOutlineRounded",
|
|
@@ -4586,9 +4525,9 @@ const j0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], B0 = {
|
|
|
4586
4525
|
onClick: () => t(f)
|
|
4587
4526
|
}, null, 8, ["onClick"])
|
|
4588
4527
|
]))), 128))
|
|
4589
|
-
])) : (d(), C("div",
|
|
4590
|
-
r("label",
|
|
4591
|
-
r("span",
|
|
4528
|
+
])) : (d(), C("div", O0, [
|
|
4529
|
+
r("label", D0, [
|
|
4530
|
+
r("span", j0, R(c.$t("activity.attachment.button.resting")), 1),
|
|
4592
4531
|
r("input", {
|
|
4593
4532
|
class: "input-field",
|
|
4594
4533
|
type: "file",
|
|
@@ -4598,16 +4537,16 @@ const j0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], B0 = {
|
|
|
4598
4537
|
onChange: n
|
|
4599
4538
|
}, null, 32)
|
|
4600
4539
|
]),
|
|
4601
|
-
r("span",
|
|
4540
|
+
r("span", B0, R(c.$t("activity.attachment.placeholder.resting")), 1)
|
|
4602
4541
|
]))
|
|
4603
|
-
], 42,
|
|
4542
|
+
], 42, L0);
|
|
4604
4543
|
};
|
|
4605
4544
|
}
|
|
4606
4545
|
});
|
|
4607
|
-
const
|
|
4546
|
+
const Z0 = {
|
|
4608
4547
|
key: 0,
|
|
4609
4548
|
class: "ao-activity__category"
|
|
4610
|
-
},
|
|
4549
|
+
}, N0 = { class: "ao-activity-details__content" }, U0 = { class: "ao-fieldset" }, R0 = { class: "ao-field__row" }, q0 = { class: "ao-field ao-field--full" }, F0 = { class: "ao-field__label" }, z0 = { class: "ao-field__row" }, G0 = { class: "ao-field" }, K0 = { class: "ao-field__label" }, x0 = { class: "ao-field" }, W0 = { class: "ao-field__label" }, Y0 = { class: "ao-field__row" }, X0 = { class: "ao-field ao-field--multiselect" }, Q0 = { class: "ao-field__label" }, J0 = { class: "ao-field__row" }, e5 = { class: "ao-field ao-field--multiselect" }, t5 = { class: "ao-field__label" }, s5 = { class: "ao-fieldset" }, a5 = { class: "ao-fieldset__title" }, n5 = { class: "ao-field__row" }, i5 = { class: "ao-field ao-field--multiselect" }, o5 = { class: "ao-field__label" }, l5 = { class: "ao-field__row" }, r5 = { class: "ao-field ao-field--multiselect" }, d5 = { class: "ao-field__label" }, c5 = { class: "ao-field__row" }, u5 = { class: "ao-field ao-field--multiselect" }, p5 = { class: "ao-field__label" }, h5 = { class: "ao-fieldset" }, m5 = { class: "ao-fieldset__title" }, C5 = { class: "ao-activity-details__aside" }, v5 = { class: "ao-fieldset__title" }, F1 = /* @__PURE__ */ x({
|
|
4611
4550
|
__name: "AoActivityDetails",
|
|
4612
4551
|
props: {
|
|
4613
4552
|
activity: {},
|
|
@@ -4749,7 +4688,7 @@ const z0 = {
|
|
|
4749
4688
|
}, {
|
|
4750
4689
|
header: F(() => [
|
|
4751
4690
|
W(I.$slots, "header", {}, () => [
|
|
4752
|
-
I.breadcrumbs ? (d(), C("div",
|
|
4691
|
+
I.breadcrumbs ? (d(), C("div", Z0, R(I.breadcrumbs), 1)) : A("", !0),
|
|
4753
4692
|
y(pe, {
|
|
4754
4693
|
title: I.activity.name || I.activity.id,
|
|
4755
4694
|
level: 4,
|
|
@@ -4761,11 +4700,11 @@ const z0 = {
|
|
|
4761
4700
|
])
|
|
4762
4701
|
]),
|
|
4763
4702
|
default: F(() => [
|
|
4764
|
-
r("div",
|
|
4765
|
-
r("fieldset",
|
|
4766
|
-
r("div",
|
|
4767
|
-
r("label",
|
|
4768
|
-
r("span",
|
|
4703
|
+
r("div", N0, [
|
|
4704
|
+
r("fieldset", U0, [
|
|
4705
|
+
r("div", R0, [
|
|
4706
|
+
r("label", q0, [
|
|
4707
|
+
r("span", F0, R(I.$t("activity.description.label")), 1),
|
|
4769
4708
|
Fe(r("textarea", {
|
|
4770
4709
|
"onUpdate:modelValue": E[0] || (E[0] = (z) => i.value = z),
|
|
4771
4710
|
rows: "4",
|
|
@@ -4783,9 +4722,9 @@ const z0 = {
|
|
|
4783
4722
|
])
|
|
4784
4723
|
])
|
|
4785
4724
|
]),
|
|
4786
|
-
r("div",
|
|
4787
|
-
r("label",
|
|
4788
|
-
r("span",
|
|
4725
|
+
r("div", z0, [
|
|
4726
|
+
r("label", G0, [
|
|
4727
|
+
r("span", K0, R(I.$t("activity.estimation.label")), 1),
|
|
4789
4728
|
Fe(r("input", {
|
|
4790
4729
|
"onUpdate:modelValue": E[1] || (E[1] = (z) => l.value = z),
|
|
4791
4730
|
class: "ao-field__input",
|
|
@@ -4803,8 +4742,8 @@ const z0 = {
|
|
|
4803
4742
|
]
|
|
4804
4743
|
])
|
|
4805
4744
|
]),
|
|
4806
|
-
r("label",
|
|
4807
|
-
r("span",
|
|
4745
|
+
r("label", x0, [
|
|
4746
|
+
r("span", W0, R(I.$t("activity.isImportant.label")), 1),
|
|
4808
4747
|
Fe(r("input", {
|
|
4809
4748
|
"onUpdate:modelValue": E[2] || (E[2] = (z) => p.value = z),
|
|
4810
4749
|
class: "ao-field__input",
|
|
@@ -4819,9 +4758,9 @@ const z0 = {
|
|
|
4819
4758
|
])
|
|
4820
4759
|
])
|
|
4821
4760
|
]),
|
|
4822
|
-
r("div",
|
|
4823
|
-
r("div",
|
|
4824
|
-
r("span",
|
|
4761
|
+
r("div", Y0, [
|
|
4762
|
+
r("div", X0, [
|
|
4763
|
+
r("span", Q0, R(I.$t("activity.assignees.label")), 1),
|
|
4825
4764
|
y(N(Ce), {
|
|
4826
4765
|
modelValue: te.value,
|
|
4827
4766
|
"onUpdate:modelValue": E[3] || (E[3] = (z) => te.value = z),
|
|
@@ -4842,9 +4781,9 @@ const z0 = {
|
|
|
4842
4781
|
}, 8, ["modelValue", "options", "placeholder"])
|
|
4843
4782
|
])
|
|
4844
4783
|
]),
|
|
4845
|
-
r("div",
|
|
4846
|
-
r("label",
|
|
4847
|
-
r("span",
|
|
4784
|
+
r("div", J0, [
|
|
4785
|
+
r("label", e5, [
|
|
4786
|
+
r("span", t5, R(I.$t("activity.type.label")), 1),
|
|
4848
4787
|
y(N(Ce), {
|
|
4849
4788
|
modelValue: c.value,
|
|
4850
4789
|
"onUpdate:modelValue": E[4] || (E[4] = (z) => c.value = z),
|
|
@@ -4857,17 +4796,17 @@ const z0 = {
|
|
|
4857
4796
|
])
|
|
4858
4797
|
])
|
|
4859
4798
|
]),
|
|
4860
|
-
r("fieldset",
|
|
4861
|
-
r("div",
|
|
4799
|
+
r("fieldset", s5, [
|
|
4800
|
+
r("div", a5, [
|
|
4862
4801
|
y(le, { name: "FlowsheetOutlineRounded" }),
|
|
4863
4802
|
y(pe, {
|
|
4864
4803
|
level: 4,
|
|
4865
4804
|
title: I.$t("activity.dependencies.title")
|
|
4866
4805
|
}, null, 8, ["title"])
|
|
4867
4806
|
]),
|
|
4868
|
-
r("div",
|
|
4869
|
-
r("label",
|
|
4870
|
-
r("span",
|
|
4807
|
+
r("div", n5, [
|
|
4808
|
+
r("label", i5, [
|
|
4809
|
+
r("span", o5, R(I.$t("activity.dependingOn.label")), 1),
|
|
4871
4810
|
y(N(Ce), {
|
|
4872
4811
|
modelValue: _.value,
|
|
4873
4812
|
"onUpdate:modelValue": E[5] || (E[5] = (z) => _.value = z),
|
|
@@ -4879,9 +4818,9 @@ const z0 = {
|
|
|
4879
4818
|
}, null, 8, ["modelValue", "options"])
|
|
4880
4819
|
])
|
|
4881
4820
|
]),
|
|
4882
|
-
r("div",
|
|
4883
|
-
r("label",
|
|
4884
|
-
r("span",
|
|
4821
|
+
r("div", l5, [
|
|
4822
|
+
r("label", r5, [
|
|
4823
|
+
r("span", d5, R(I.$t("activity.blocking.label")), 1),
|
|
4885
4824
|
y(N(Ce), {
|
|
4886
4825
|
modelValue: g.value,
|
|
4887
4826
|
"onUpdate:modelValue": E[6] || (E[6] = (z) => g.value = z),
|
|
@@ -4893,9 +4832,9 @@ const z0 = {
|
|
|
4893
4832
|
}, null, 8, ["modelValue", "options"])
|
|
4894
4833
|
])
|
|
4895
4834
|
]),
|
|
4896
|
-
r("div",
|
|
4897
|
-
r("label",
|
|
4898
|
-
r("span",
|
|
4835
|
+
r("div", c5, [
|
|
4836
|
+
r("label", u5, [
|
|
4837
|
+
r("span", p5, R(I.$t("activity.dependingMilestone.label")), 1),
|
|
4899
4838
|
y(N(Ce), {
|
|
4900
4839
|
modelValue: O.value,
|
|
4901
4840
|
"onUpdate:modelValue": E[7] || (E[7] = (z) => O.value = z),
|
|
@@ -4908,15 +4847,15 @@ const z0 = {
|
|
|
4908
4847
|
])
|
|
4909
4848
|
])
|
|
4910
4849
|
]),
|
|
4911
|
-
r("fieldset",
|
|
4912
|
-
r("div",
|
|
4850
|
+
r("fieldset", h5, [
|
|
4851
|
+
r("div", m5, [
|
|
4913
4852
|
y(le, { name: "SelectCheckBox" }),
|
|
4914
4853
|
y(pe, {
|
|
4915
4854
|
level: 4,
|
|
4916
4855
|
title: I.$t("activity.subtasks.title")
|
|
4917
4856
|
}, null, 8, ["title"])
|
|
4918
4857
|
]),
|
|
4919
|
-
y(
|
|
4858
|
+
y(T0, {
|
|
4920
4859
|
class: "ao-activity-details__subtasks",
|
|
4921
4860
|
subtasks: I.activity.subtasks || [],
|
|
4922
4861
|
"activity-id": I.activity.id,
|
|
@@ -4928,15 +4867,15 @@ const z0 = {
|
|
|
4928
4867
|
]),
|
|
4929
4868
|
W(I.$slots, "default")
|
|
4930
4869
|
]),
|
|
4931
|
-
r("div",
|
|
4932
|
-
r("div",
|
|
4870
|
+
r("div", C5, [
|
|
4871
|
+
r("div", v5, [
|
|
4933
4872
|
y(le, { name: "AttachFileRounded" }),
|
|
4934
4873
|
y(pe, {
|
|
4935
4874
|
level: 4,
|
|
4936
4875
|
title: I.$t("activity.attachments.title")
|
|
4937
4876
|
}, null, 8, ["title"])
|
|
4938
4877
|
]),
|
|
4939
|
-
y(
|
|
4878
|
+
y(P0, {
|
|
4940
4879
|
attachments: I.activity.attachments,
|
|
4941
4880
|
onAdd: D,
|
|
4942
4881
|
onRemove: se
|
|
@@ -4947,7 +4886,47 @@ const z0 = {
|
|
|
4947
4886
|
}));
|
|
4948
4887
|
}
|
|
4949
4888
|
});
|
|
4950
|
-
const
|
|
4889
|
+
const _5 = {
|
|
4890
|
+
todo: "todo",
|
|
4891
|
+
done: "done",
|
|
4892
|
+
archived: "archived"
|
|
4893
|
+
}, qd = {
|
|
4894
|
+
months: "months",
|
|
4895
|
+
weeks: "weeks",
|
|
4896
|
+
days: "days"
|
|
4897
|
+
}, f5 = {
|
|
4898
|
+
future: "future",
|
|
4899
|
+
this_month: "this_month",
|
|
4900
|
+
this_week: "this_week",
|
|
4901
|
+
today: "today",
|
|
4902
|
+
done: "done"
|
|
4903
|
+
}, g5 = {
|
|
4904
|
+
BEFORE: "before",
|
|
4905
|
+
AFTER: "after"
|
|
4906
|
+
}, y5 = {
|
|
4907
|
+
START: "start",
|
|
4908
|
+
end: "end"
|
|
4909
|
+
}, b5 = {
|
|
4910
|
+
DAYS: "days",
|
|
4911
|
+
WEEKS: "weeks",
|
|
4912
|
+
MONTHS: "months"
|
|
4913
|
+
}, ce = {
|
|
4914
|
+
TEMPLATES: "templates",
|
|
4915
|
+
PHASES: "phases",
|
|
4916
|
+
MILESTONES: "milestones",
|
|
4917
|
+
ACTIVITIES: "activities",
|
|
4918
|
+
SUBTASKS: "subtasks"
|
|
4919
|
+
};
|
|
4920
|
+
var w5 = /* @__PURE__ */ ((s) => (s.PHASES = "phases", s.MILESTONES = "milestones", s.ACTIVITIES = "activities", s))(w5 || {});
|
|
4921
|
+
const Fd = {
|
|
4922
|
+
add: "add",
|
|
4923
|
+
remove: "remove",
|
|
4924
|
+
moved: "moved"
|
|
4925
|
+
}, j1 = {
|
|
4926
|
+
project: "project",
|
|
4927
|
+
activity_type: "activity_type",
|
|
4928
|
+
assignee: "assignee"
|
|
4929
|
+
}, $5 = /* @__PURE__ */ x({
|
|
4951
4930
|
__name: "AoRuleLine",
|
|
4952
4931
|
props: {
|
|
4953
4932
|
rule: {},
|
|
@@ -4959,7 +4938,7 @@ const $5 = /* @__PURE__ */ x({
|
|
|
4959
4938
|
emits: ["update:rule", "close"],
|
|
4960
4939
|
setup(s, { emit: e }) {
|
|
4961
4940
|
const t = s, n = m1(
|
|
4962
|
-
t.rule.itemType ||
|
|
4941
|
+
t.rule.itemType || ce.ACTIVITIES
|
|
4963
4942
|
), a = v({
|
|
4964
4943
|
get() {
|
|
4965
4944
|
return n.value;
|
|
@@ -4971,7 +4950,7 @@ const $5 = /* @__PURE__ */ x({
|
|
|
4971
4950
|
subItemId: void 0
|
|
4972
4951
|
});
|
|
4973
4952
|
}
|
|
4974
|
-
}), o = v(() => Object.values(
|
|
4953
|
+
}), o = v(() => Object.values(ce)), i = v({
|
|
4975
4954
|
get() {
|
|
4976
4955
|
return t.rule.subItemId;
|
|
4977
4956
|
},
|
|
@@ -4985,9 +4964,9 @@ const $5 = /* @__PURE__ */ x({
|
|
|
4985
4964
|
}), l = v(() => {
|
|
4986
4965
|
var b;
|
|
4987
4966
|
return !t.templateActivities || !t.templateMilestones || !t.templatePhases ? null : (b = {
|
|
4988
|
-
[
|
|
4989
|
-
[
|
|
4990
|
-
[
|
|
4967
|
+
[ce.ACTIVITIES]: t.templateActivities,
|
|
4968
|
+
[ce.MILESTONES]: t.templateMilestones,
|
|
4969
|
+
[ce.PHASES]: t.templatePhases
|
|
4991
4970
|
}[n.value]) == null ? void 0 : b.map((j) => ({
|
|
4992
4971
|
value: j.id,
|
|
4993
4972
|
label: j.name
|
|
@@ -4999,14 +4978,14 @@ const $5 = /* @__PURE__ */ x({
|
|
|
4999
4978
|
set(L) {
|
|
5000
4979
|
e("update:rule", { ...t.rule, comparator: L });
|
|
5001
4980
|
}
|
|
5002
|
-
}), h = v(() => Object.values(
|
|
4981
|
+
}), h = v(() => Object.values(g5)), _ = m1(t.rule.trigger), f = v({
|
|
5003
4982
|
get() {
|
|
5004
4983
|
return _.value;
|
|
5005
4984
|
},
|
|
5006
4985
|
set(L) {
|
|
5007
4986
|
e("update:rule", { ...t.rule, trigger: L });
|
|
5008
4987
|
}
|
|
5009
|
-
}), g = v(() => Object.values(
|
|
4988
|
+
}), g = v(() => Object.values(y5)), V = v({
|
|
5010
4989
|
get() {
|
|
5011
4990
|
return t.rule.duration;
|
|
5012
4991
|
},
|
|
@@ -5020,7 +4999,7 @@ const $5 = /* @__PURE__ */ x({
|
|
|
5020
4999
|
set(L) {
|
|
5021
5000
|
e("update:rule", { ...t.rule, durationUnit: L });
|
|
5022
5001
|
}
|
|
5023
|
-
}), O = v(() => Object.values(
|
|
5002
|
+
}), O = v(() => Object.values(b5));
|
|
5024
5003
|
return (L, b) => (d(), q(Ke(L.tagName), { class: "ao-rule-line" }, {
|
|
5025
5004
|
default: F(() => [
|
|
5026
5005
|
y(N(Ce), {
|
|
@@ -5194,7 +5173,7 @@ const A5 = {
|
|
|
5194
5173
|
templateId: t.templateId
|
|
5195
5174
|
};
|
|
5196
5175
|
e("addItem", {
|
|
5197
|
-
type:
|
|
5176
|
+
type: ce.PHASES,
|
|
5198
5177
|
templateId: t.templateId,
|
|
5199
5178
|
item: k
|
|
5200
5179
|
});
|
|
@@ -5202,12 +5181,12 @@ const A5 = {
|
|
|
5202
5181
|
e("updateItem", {
|
|
5203
5182
|
templateId: t.templateId,
|
|
5204
5183
|
id: t.templateId,
|
|
5205
|
-
itemType:
|
|
5184
|
+
itemType: ce.TEMPLATES,
|
|
5206
5185
|
data: { name: u }
|
|
5207
5186
|
});
|
|
5208
5187
|
}, V = (u) => {
|
|
5209
5188
|
e("removeItem", {
|
|
5210
|
-
type:
|
|
5189
|
+
type: ce.PHASES,
|
|
5211
5190
|
templateId: t.templateId,
|
|
5212
5191
|
data: {
|
|
5213
5192
|
id: u
|
|
@@ -5217,7 +5196,7 @@ const A5 = {
|
|
|
5217
5196
|
e("updateItem", {
|
|
5218
5197
|
templateId: t.templateId,
|
|
5219
5198
|
id: u,
|
|
5220
|
-
itemType:
|
|
5199
|
+
itemType: ce.PHASES,
|
|
5221
5200
|
data: { name: $ }
|
|
5222
5201
|
});
|
|
5223
5202
|
}, O = (u) => {
|
|
@@ -5231,14 +5210,14 @@ const A5 = {
|
|
|
5231
5210
|
phaseId: u.phaseId
|
|
5232
5211
|
};
|
|
5233
5212
|
e("addItem", {
|
|
5234
|
-
type:
|
|
5213
|
+
type: ce.MILESTONES,
|
|
5235
5214
|
templateId: t.templateId,
|
|
5236
5215
|
phaseId: u.phaseId,
|
|
5237
5216
|
item: P
|
|
5238
5217
|
});
|
|
5239
5218
|
}, b = (u) => {
|
|
5240
5219
|
e("removeItem", {
|
|
5241
|
-
type:
|
|
5220
|
+
type: ce.MILESTONES,
|
|
5242
5221
|
templateId: t.templateId,
|
|
5243
5222
|
phaseId: u.phaseId,
|
|
5244
5223
|
data: {
|
|
@@ -5248,7 +5227,7 @@ const A5 = {
|
|
|
5248
5227
|
}, j = (u) => {
|
|
5249
5228
|
const { id: $, ...S } = u;
|
|
5250
5229
|
e("updateItem", {
|
|
5251
|
-
itemType:
|
|
5230
|
+
itemType: ce.MILESTONES,
|
|
5252
5231
|
id: $,
|
|
5253
5232
|
templateId: t.templateId,
|
|
5254
5233
|
data: S
|
|
@@ -5263,14 +5242,14 @@ const A5 = {
|
|
|
5263
5242
|
milestoneId: $
|
|
5264
5243
|
};
|
|
5265
5244
|
e("addItem", {
|
|
5266
|
-
type:
|
|
5245
|
+
type: ce.ACTIVITIES,
|
|
5267
5246
|
milestoneId: $,
|
|
5268
5247
|
item: ae
|
|
5269
5248
|
});
|
|
5270
5249
|
}, te = (u) => {
|
|
5271
5250
|
const { phaseId: $, milestoneId: S } = u;
|
|
5272
5251
|
e("removeItem", {
|
|
5273
|
-
type:
|
|
5252
|
+
type: ce.ACTIVITIES,
|
|
5274
5253
|
templateId: t.templateId,
|
|
5275
5254
|
phaseId: $,
|
|
5276
5255
|
milestoneId: S,
|
|
@@ -5281,7 +5260,7 @@ const A5 = {
|
|
|
5281
5260
|
}, D = (u) => {
|
|
5282
5261
|
const { id: $, ...S } = u;
|
|
5283
5262
|
e("updateItem", {
|
|
5284
|
-
itemType:
|
|
5263
|
+
itemType: ce.ACTIVITIES,
|
|
5285
5264
|
id: $,
|
|
5286
5265
|
templateId: t.templateId,
|
|
5287
5266
|
data: S
|
|
@@ -5297,7 +5276,7 @@ const A5 = {
|
|
|
5297
5276
|
if (u.moved) {
|
|
5298
5277
|
const S = R1(u, (($ = a.value) == null ? void 0 : $.phases) ?? []);
|
|
5299
5278
|
e("updateItem", {
|
|
5300
|
-
itemType:
|
|
5279
|
+
itemType: ce.PHASES,
|
|
5301
5280
|
id: u.moved.element.id,
|
|
5302
5281
|
templateId: t.templateId,
|
|
5303
5282
|
data: {
|
|
@@ -5307,7 +5286,7 @@ const A5 = {
|
|
|
5307
5286
|
}
|
|
5308
5287
|
}, B = (u) => {
|
|
5309
5288
|
!o.value || !i.value || !c.value || e("addItem", {
|
|
5310
|
-
type:
|
|
5289
|
+
type: ce.SUBTASKS,
|
|
5311
5290
|
activityId: u.activityId,
|
|
5312
5291
|
milestoneId: i.value.id,
|
|
5313
5292
|
phaseId: o.value.id,
|
|
@@ -5423,7 +5402,7 @@ const A5 = {
|
|
|
5423
5402
|
}, 8, ["model-value"])
|
|
5424
5403
|
]),
|
|
5425
5404
|
r("li", E5, [
|
|
5426
|
-
o.value ? (d(), q(
|
|
5405
|
+
o.value ? (d(), q(V3, {
|
|
5427
5406
|
key: 0,
|
|
5428
5407
|
"template-id": u.templateId,
|
|
5429
5408
|
phase: o.value,
|
|
@@ -5435,7 +5414,7 @@ const A5 = {
|
|
|
5435
5414
|
}, null, 8, ["template-id", "phase", "milestone-id"])) : A("", !0)
|
|
5436
5415
|
]),
|
|
5437
5416
|
r("li", H5, [
|
|
5438
|
-
o.value && i.value ? (d(), q(
|
|
5417
|
+
o.value && i.value ? (d(), q(O3, {
|
|
5439
5418
|
key: 0,
|
|
5440
5419
|
"template-id": u.templateId,
|
|
5441
5420
|
"phase-id": (k = o.value) == null ? void 0 : k.id,
|
|
@@ -5559,7 +5538,7 @@ const P5 = { class: "ao-card-project-phase__header" }, Z5 = { class: "ao-card-pr
|
|
|
5559
5538
|
return (o = e.milestones) == null ? void 0 : o.length;
|
|
5560
5539
|
}), n = v(() => {
|
|
5561
5540
|
var o;
|
|
5562
|
-
return (o = e.milestones) == null ? void 0 : o.filter((i) => i.status ===
|
|
5541
|
+
return (o = e.milestones) == null ? void 0 : o.filter((i) => i.status === _5.done).length;
|
|
5563
5542
|
}), a = v(() => (n.value || 0) / (t.value || 1));
|
|
5564
5543
|
return (o, i) => (d(), q(z1, { class: "ao-card-project-phase" }, {
|
|
5565
5544
|
header: F(() => [
|
|
@@ -6256,7 +6235,7 @@ const X7 = { class: "ao-fieldset" }, Q7 = { class: "ao-fieldset__title" }, J7 =
|
|
|
6256
6235
|
}), l = (f) => {
|
|
6257
6236
|
const { id: g } = f;
|
|
6258
6237
|
o.value && o.value.projectId && e("update:activity", {
|
|
6259
|
-
itemType:
|
|
6238
|
+
itemType: ce.ACTIVITIES,
|
|
6260
6239
|
id: g,
|
|
6261
6240
|
projectId: o.value.projectId,
|
|
6262
6241
|
data: {
|
|
@@ -6393,7 +6372,7 @@ const X7 = { class: "ao-fieldset" }, Q7 = { class: "ao-fieldset__title" }, J7 =
|
|
|
6393
6372
|
e("addTemplate", h);
|
|
6394
6373
|
}, o = (l, p) => {
|
|
6395
6374
|
e("updateItem", {
|
|
6396
|
-
itemType:
|
|
6375
|
+
itemType: ce.TEMPLATES,
|
|
6397
6376
|
id: l,
|
|
6398
6377
|
templateId: l,
|
|
6399
6378
|
data: {
|
|
@@ -6404,7 +6383,7 @@ const X7 = { class: "ao-fieldset" }, Q7 = { class: "ao-fieldset__title" }, J7 =
|
|
|
6404
6383
|
if (l.moved) {
|
|
6405
6384
|
const p = R1(l, t.templates ?? []);
|
|
6406
6385
|
e("updateItem", {
|
|
6407
|
-
itemType:
|
|
6386
|
+
itemType: ce.TEMPLATES,
|
|
6408
6387
|
id: l.moved.element.id,
|
|
6409
6388
|
templateId: l.moved.element.id,
|
|
6410
6389
|
data: {
|
|
@@ -7534,7 +7513,7 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
|
|
|
7534
7513
|
},
|
|
7535
7514
|
set(u) {
|
|
7536
7515
|
const $ = {
|
|
7537
|
-
type:
|
|
7516
|
+
type: j1.project,
|
|
7538
7517
|
values: u
|
|
7539
7518
|
};
|
|
7540
7519
|
e("update:filter", $);
|
|
@@ -7548,7 +7527,7 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
|
|
|
7548
7527
|
},
|
|
7549
7528
|
set(u) {
|
|
7550
7529
|
const $ = {
|
|
7551
|
-
type:
|
|
7530
|
+
type: j1.activity_type,
|
|
7552
7531
|
values: u
|
|
7553
7532
|
};
|
|
7554
7533
|
e("update:filter", $);
|
|
@@ -7562,7 +7541,7 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
|
|
|
7562
7541
|
},
|
|
7563
7542
|
set(u) {
|
|
7564
7543
|
const $ = {
|
|
7565
|
-
type:
|
|
7544
|
+
type: j1.assignee,
|
|
7566
7545
|
values: u
|
|
7567
7546
|
};
|
|
7568
7547
|
e("update:filter", $);
|
|
@@ -7661,7 +7640,7 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
|
|
|
7661
7640
|
}, ge = (u) => {
|
|
7662
7641
|
const { id: $ } = o.value || {};
|
|
7663
7642
|
$ && e("removeComment", { id: u, activityId: $ });
|
|
7664
|
-
}, ye = v(() => Object.values(
|
|
7643
|
+
}, ye = v(() => Object.values(f5).map((u) => ({
|
|
7665
7644
|
value: u,
|
|
7666
7645
|
label: n(`activity.feedStatus.${u}`)
|
|
7667
7646
|
}))), Le = (u) => {
|
|
@@ -7830,18 +7809,18 @@ export {
|
|
|
7830
7809
|
O5 as AoTemplateDetails,
|
|
7831
7810
|
Rd as AoTemplates,
|
|
7832
7811
|
td as AoTemplatesList,
|
|
7833
|
-
|
|
7834
|
-
|
|
7812
|
+
w5 as TemplateItemTypeEnum,
|
|
7813
|
+
f5 as activityFeedStatus,
|
|
7835
7814
|
qd as durationTypes,
|
|
7836
|
-
|
|
7815
|
+
j1 as feedFilters,
|
|
7837
7816
|
Gd as getProjectOverviewRoutes,
|
|
7838
7817
|
zd as getTemplateRoutes,
|
|
7839
7818
|
Fd as listUpdateTypes,
|
|
7840
|
-
|
|
7819
|
+
_5 as milestoneStatus,
|
|
7841
7820
|
Ge as projectOverviewRoutes,
|
|
7842
|
-
|
|
7843
|
-
|
|
7844
|
-
|
|
7845
|
-
|
|
7821
|
+
g5 as ruleComparators,
|
|
7822
|
+
b5 as ruleDurationUnits,
|
|
7823
|
+
y5 as ruleTriggerTypes,
|
|
7824
|
+
ce as templateItemType,
|
|
7846
7825
|
t1 as templateRouteNames
|
|
7847
7826
|
};
|