@26lights/orcha 0.7.9 → 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 +181 -185
- package/dist/orcha.umd.js +1 -1
- package/dist/src/types/index.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
|
-
}, ce = {
|
|
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: {},
|
|
@@ -2485,12 +2445,8 @@ const Fd = {
|
|
|
2485
2445
|
if (l.moved) {
|
|
2486
2446
|
const p = R1(l, t.phase.milestones);
|
|
2487
2447
|
e("updateMilestone", {
|
|
2488
|
-
itemType: ce.MILESTONES,
|
|
2489
2448
|
id: l.moved.element.id,
|
|
2490
|
-
|
|
2491
|
-
data: {
|
|
2492
|
-
rank: p
|
|
2493
|
-
}
|
|
2449
|
+
rank: p
|
|
2494
2450
|
});
|
|
2495
2451
|
}
|
|
2496
2452
|
};
|
|
@@ -2527,7 +2483,7 @@ const Fd = {
|
|
|
2527
2483
|
}, null, 8, ["title", "activities", "is-active", "onUpdate:title", "onClick", "onRemove"]))
|
|
2528
2484
|
]),
|
|
2529
2485
|
footer: F(() => [
|
|
2530
|
-
r("div",
|
|
2486
|
+
r("div", L3, [
|
|
2531
2487
|
y(Pe, {
|
|
2532
2488
|
"icon-name": "AddBoxOutlineRounded",
|
|
2533
2489
|
label: l.$t("template.milestones.add"),
|
|
@@ -2538,7 +2494,7 @@ const Fd = {
|
|
|
2538
2494
|
_: 1
|
|
2539
2495
|
}, 8, ["model-value", "title"])) : A("", !0);
|
|
2540
2496
|
}
|
|
2541
|
-
}),
|
|
2497
|
+
}), E3 = /* @__PURE__ */ x({
|
|
2542
2498
|
__name: "AoCardTemplateItemActivity",
|
|
2543
2499
|
props: {
|
|
2544
2500
|
name: {},
|
|
@@ -2556,7 +2512,7 @@ const Fd = {
|
|
|
2556
2512
|
_: 3
|
|
2557
2513
|
}, 8, ["subtasks"]));
|
|
2558
2514
|
}
|
|
2559
|
-
}),
|
|
2515
|
+
}), H3 = { class: "ao-list__footer" }, O3 = /* @__PURE__ */ x({
|
|
2560
2516
|
__name: "AoTemplateDetailsActivities",
|
|
2561
2517
|
props: {
|
|
2562
2518
|
templateId: {},
|
|
@@ -2614,7 +2570,7 @@ const Fd = {
|
|
|
2614
2570
|
})
|
|
2615
2571
|
]),
|
|
2616
2572
|
item: F(({ element: c }) => [
|
|
2617
|
-
(d(), q(
|
|
2573
|
+
(d(), q(E3, {
|
|
2618
2574
|
key: c.id,
|
|
2619
2575
|
title: c.name,
|
|
2620
2576
|
subtasks: c.subtasks,
|
|
@@ -2626,7 +2582,7 @@ const Fd = {
|
|
|
2626
2582
|
}, null, 8, ["title", "subtasks", "is-active", "onUpdate:title", "onClick", "onRemove"]))
|
|
2627
2583
|
]),
|
|
2628
2584
|
footer: F(() => [
|
|
2629
|
-
r("div",
|
|
2585
|
+
r("div", H3, [
|
|
2630
2586
|
y(Pe, {
|
|
2631
2587
|
"icon-name": "AddBoxOutlineRounded",
|
|
2632
2588
|
label: l.$t("template.activities.add"),
|
|
@@ -2641,7 +2597,7 @@ const Fd = {
|
|
|
2641
2597
|
function ke(s) {
|
|
2642
2598
|
return [null, void 0].indexOf(s) !== -1;
|
|
2643
2599
|
}
|
|
2644
|
-
function
|
|
2600
|
+
function D3(s, e, t) {
|
|
2645
2601
|
const { object: n, valueProp: a, mode: o } = we(s), i = Be().proxy, l = t.iv, p = (_, f = !0) => {
|
|
2646
2602
|
l.value = h(_);
|
|
2647
2603
|
const g = c(_);
|
|
@@ -2651,7 +2607,7 @@ function U3(s, e, t) {
|
|
|
2651
2607
|
update: p
|
|
2652
2608
|
};
|
|
2653
2609
|
}
|
|
2654
|
-
function
|
|
2610
|
+
function j3(s, e) {
|
|
2655
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]);
|
|
2656
2612
|
return {
|
|
2657
2613
|
iv: i,
|
|
@@ -2662,7 +2618,7 @@ function R3(s, e) {
|
|
|
2662
2618
|
plainValue: p
|
|
2663
2619
|
};
|
|
2664
2620
|
}
|
|
2665
|
-
function
|
|
2621
|
+
function B3(s, e, t) {
|
|
2666
2622
|
const { regex: n } = we(s), a = Be().proxy, o = t.isOpen, i = t.open, l = J(null), p = J(null), c = () => {
|
|
2667
2623
|
l.value = "";
|
|
2668
2624
|
}, h = (g) => {
|
|
@@ -2691,7 +2647,7 @@ function q3(s, e, t) {
|
|
|
2691
2647
|
handlePaste: f
|
|
2692
2648
|
};
|
|
2693
2649
|
}
|
|
2694
|
-
function
|
|
2650
|
+
function P3(s, e, t) {
|
|
2695
2651
|
const { groupSelect: n, mode: a, groups: o, disabledProp: i } = we(s), l = J(null), p = (h) => {
|
|
2696
2652
|
h === void 0 || h !== null && h[i.value] || o.value && h && h.group && (a.value === "single" || !n.value) || (l.value = h);
|
|
2697
2653
|
};
|
|
@@ -2703,19 +2659,19 @@ function F3(s, e, t) {
|
|
|
2703
2659
|
}
|
|
2704
2660
|
};
|
|
2705
2661
|
}
|
|
2706
|
-
function
|
|
2662
|
+
function D1(s, e = !0) {
|
|
2707
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, "");
|
|
2708
2664
|
}
|
|
2709
|
-
function
|
|
2665
|
+
function Z3(s) {
|
|
2710
2666
|
return Object.prototype.toString.call(s) === "[object Object]";
|
|
2711
2667
|
}
|
|
2712
|
-
function
|
|
2668
|
+
function N3(s, e) {
|
|
2713
2669
|
const t = e.slice().sort();
|
|
2714
2670
|
return s.length === e.length && s.slice().sort().every(function(n, a) {
|
|
2715
2671
|
return n === t[a];
|
|
2716
2672
|
});
|
|
2717
2673
|
}
|
|
2718
|
-
function
|
|
2674
|
+
function U3(s, e, t) {
|
|
2719
2675
|
const {
|
|
2720
2676
|
options: n,
|
|
2721
2677
|
mode: a,
|
|
@@ -2939,14 +2895,14 @@ function K3(s, e, t) {
|
|
|
2939
2895
|
if (Z.value && j.value) {
|
|
2940
2896
|
let de = re.value;
|
|
2941
2897
|
de || (de = (Qe, Pd) => {
|
|
2942
|
-
let tt =
|
|
2943
|
-
return ae.value ? tt.startsWith(
|
|
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;
|
|
2944
2900
|
}), Q = Q.filter(de);
|
|
2945
2901
|
}
|
|
2946
2902
|
return l.value && T && (Q = Q.filter((de) => !Pt(de))), Q;
|
|
2947
2903
|
}, H1 = (m) => {
|
|
2948
2904
|
let T = m;
|
|
2949
|
-
return
|
|
2905
|
+
return Z3(T) && (T = Object.keys(T).map((Q) => {
|
|
2950
2906
|
let de = T[Q];
|
|
2951
2907
|
return { [D.value]: Q, [Ae.value]: de, [h.value]: de };
|
|
2952
2908
|
})), T = T.map((Q) => typeof Q == "object" ? Q : { [D.value]: Q, [Ae.value]: Q, [h.value]: Q }), T;
|
|
@@ -3015,7 +2971,7 @@ function K3(s, e, t) {
|
|
|
3015
2971
|
break;
|
|
3016
2972
|
case "multiple":
|
|
3017
2973
|
case "tags":
|
|
3018
|
-
|
|
2974
|
+
N3(V.value ? m.map((T) => T[D.value]) : m, U.value.map((T) => T[D.value])) || Se(u1(m), !1);
|
|
3019
2975
|
break;
|
|
3020
2976
|
}
|
|
3021
2977
|
}, { deep: !0 }), fe(n, (m, T) => {
|
|
@@ -3054,7 +3010,7 @@ function K3(s, e, t) {
|
|
|
3054
3010
|
refreshLabels: O1
|
|
3055
3011
|
};
|
|
3056
3012
|
}
|
|
3057
|
-
function
|
|
3013
|
+
function R3(s, e, t) {
|
|
3058
3014
|
const {
|
|
3059
3015
|
valueProp: n,
|
|
3060
3016
|
showOptions: a,
|
|
@@ -3143,7 +3099,7 @@ function x3(s, e, t) {
|
|
|
3143
3099
|
backwardPointer: re
|
|
3144
3100
|
};
|
|
3145
3101
|
}
|
|
3146
|
-
function
|
|
3102
|
+
function q3(s, e, t) {
|
|
3147
3103
|
const { disabled: n } = we(s), a = Be().proxy, o = J(!1);
|
|
3148
3104
|
return {
|
|
3149
3105
|
isOpen: o,
|
|
@@ -3155,7 +3111,7 @@ function W3(s, e, t) {
|
|
|
3155
3111
|
}
|
|
3156
3112
|
};
|
|
3157
3113
|
}
|
|
3158
|
-
function
|
|
3114
|
+
function F3(s, e, t) {
|
|
3159
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 = () => {
|
|
3160
3116
|
n.value && i.value.blur(), f.value.blur();
|
|
3161
3117
|
}, b = () => {
|
|
@@ -3196,7 +3152,7 @@ function Y3(s, e, t) {
|
|
|
3196
3152
|
}
|
|
3197
3153
|
};
|
|
3198
3154
|
}
|
|
3199
|
-
function
|
|
3155
|
+
function z3(s, e, t) {
|
|
3200
3156
|
const {
|
|
3201
3157
|
mode: n,
|
|
3202
3158
|
addTagOn: a,
|
|
@@ -3287,7 +3243,7 @@ function X3(s, e, t) {
|
|
|
3287
3243
|
preparePointer: ye
|
|
3288
3244
|
};
|
|
3289
3245
|
}
|
|
3290
|
-
function
|
|
3246
|
+
function G3(s, e, t) {
|
|
3291
3247
|
const {
|
|
3292
3248
|
classes: n,
|
|
3293
3249
|
disabled: a,
|
|
@@ -3394,7 +3350,7 @@ function Q3(s, e, t) {
|
|
|
3394
3350
|
showDropdown: O
|
|
3395
3351
|
};
|
|
3396
3352
|
}
|
|
3397
|
-
function
|
|
3353
|
+
function K3(s, e, t) {
|
|
3398
3354
|
const {
|
|
3399
3355
|
limit: n,
|
|
3400
3356
|
infinite: a
|
|
@@ -3422,7 +3378,7 @@ function J3(s, e, t) {
|
|
|
3422
3378
|
infiniteLoader: _
|
|
3423
3379
|
};
|
|
3424
3380
|
}
|
|
3425
|
-
function
|
|
3381
|
+
function x3(s, e, t) {
|
|
3426
3382
|
const {
|
|
3427
3383
|
placeholder: n,
|
|
3428
3384
|
id: a,
|
|
@@ -3481,7 +3437,7 @@ function e0(s, e, t) {
|
|
|
3481
3437
|
ariaTagLabel: he
|
|
3482
3438
|
};
|
|
3483
3439
|
}
|
|
3484
|
-
function
|
|
3440
|
+
function W3(s, e, t) {
|
|
3485
3441
|
const {
|
|
3486
3442
|
locale: n,
|
|
3487
3443
|
fallbackLocale: a
|
|
@@ -3490,7 +3446,7 @@ function t0(s, e, t) {
|
|
|
3490
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]] : ""
|
|
3491
3447
|
};
|
|
3492
3448
|
}
|
|
3493
|
-
function
|
|
3449
|
+
function Y3(s, e, t, n = {}) {
|
|
3494
3450
|
return t.forEach((a) => {
|
|
3495
3451
|
a && (n = {
|
|
3496
3452
|
...n,
|
|
@@ -3834,25 +3790,25 @@ var Ce = {
|
|
|
3834
3790
|
}
|
|
3835
3791
|
},
|
|
3836
3792
|
setup(s, e) {
|
|
3837
|
-
return
|
|
3838
|
-
t0,
|
|
3839
|
-
R3,
|
|
3840
|
-
F3,
|
|
3793
|
+
return Y3(s, e, [
|
|
3841
3794
|
W3,
|
|
3795
|
+
j3,
|
|
3796
|
+
P3,
|
|
3842
3797
|
q3,
|
|
3798
|
+
B3,
|
|
3799
|
+
D3,
|
|
3800
|
+
F3,
|
|
3843
3801
|
U3,
|
|
3844
|
-
Y3,
|
|
3845
3802
|
K3,
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
e0
|
|
3803
|
+
R3,
|
|
3804
|
+
z3,
|
|
3805
|
+
G3,
|
|
3806
|
+
x3
|
|
3851
3807
|
]);
|
|
3852
3808
|
}
|
|
3853
3809
|
};
|
|
3854
|
-
const
|
|
3855
|
-
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) {
|
|
3856
3812
|
return d(), C("div", {
|
|
3857
3813
|
ref: "multiselect",
|
|
3858
3814
|
class: K(s.classList.container),
|
|
@@ -3897,7 +3853,7 @@ function $0(s, e, t, n, a, o) {
|
|
|
3897
3853
|
}, {
|
|
3898
3854
|
...t.attrs,
|
|
3899
3855
|
...s.arias
|
|
3900
|
-
}), null, 16,
|
|
3856
|
+
}), null, 16, J3)) : A("v-if", !0),
|
|
3901
3857
|
A(" Tags (with search) "),
|
|
3902
3858
|
t.mode == "tags" ? (d(), C(
|
|
3903
3859
|
"div",
|
|
@@ -3944,8 +3900,8 @@ function $0(s, e, t, n, a, o) {
|
|
|
3944
3900
|
2
|
|
3945
3901
|
/* CLASS */
|
|
3946
3902
|
)
|
|
3947
|
-
], 10,
|
|
3948
|
-
], 42,
|
|
3903
|
+
], 10, t0)) : A("v-if", !0)
|
|
3904
|
+
], 42, e0))
|
|
3949
3905
|
])),
|
|
3950
3906
|
256
|
|
3951
3907
|
/* UNKEYED_FRAGMENT */
|
|
@@ -3989,7 +3945,7 @@ function $0(s, e, t, n, a, o) {
|
|
|
3989
3945
|
}, {
|
|
3990
3946
|
...t.attrs,
|
|
3991
3947
|
...s.arias
|
|
3992
|
-
}), null, 16,
|
|
3948
|
+
}), null, 16, s0)) : A("v-if", !0)
|
|
3993
3949
|
],
|
|
3994
3950
|
2
|
|
3995
3951
|
/* CLASS */
|
|
@@ -4031,7 +3987,7 @@ function $0(s, e, t, n, a, o) {
|
|
|
4031
3987
|
r("div", {
|
|
4032
3988
|
class: K(s.classList.multipleLabel),
|
|
4033
3989
|
innerHTML: s.multipleLabelText
|
|
4034
|
-
}, null, 10,
|
|
3990
|
+
}, null, 10, a0)
|
|
4035
3991
|
]) : A("v-if", !0),
|
|
4036
3992
|
A(" Placeholder "),
|
|
4037
3993
|
t.placeholder && !s.hasSelected && !s.search ? W(s.$slots, "placeholder", { key: 4 }, () => [
|
|
@@ -4105,7 +4061,7 @@ function $0(s, e, t, n, a, o) {
|
|
|
4105
4061
|
/* CLASS */
|
|
4106
4062
|
)
|
|
4107
4063
|
]) : A("v-if", !0)
|
|
4108
|
-
], 16,
|
|
4064
|
+
], 16, Q3),
|
|
4109
4065
|
A(" Options "),
|
|
4110
4066
|
r(
|
|
4111
4067
|
"div",
|
|
@@ -4145,9 +4101,9 @@ function $0(s, e, t, n, a, o) {
|
|
|
4145
4101
|
}, () => [
|
|
4146
4102
|
r("span", {
|
|
4147
4103
|
innerHTML: s.localize(i[t.groupLabel])
|
|
4148
|
-
}, null, 8,
|
|
4104
|
+
}, null, 8, l0)
|
|
4149
4105
|
])
|
|
4150
|
-
], 42,
|
|
4106
|
+
], 42, o0)),
|
|
4151
4107
|
r("ul", {
|
|
4152
4108
|
class: K(s.classList.groupOptions),
|
|
4153
4109
|
"aria-label": s.ariaGroupLabel(s.localize(i[t.groupLabel])),
|
|
@@ -4182,12 +4138,12 @@ function $0(s, e, t, n, a, o) {
|
|
|
4182
4138
|
/* TEXT */
|
|
4183
4139
|
)
|
|
4184
4140
|
])
|
|
4185
|
-
], 42,
|
|
4141
|
+
], 42, d0))),
|
|
4186
4142
|
128
|
|
4187
4143
|
/* KEYED_FRAGMENT */
|
|
4188
4144
|
))
|
|
4189
|
-
], 10,
|
|
4190
|
-
], 10,
|
|
4145
|
+
], 10, r0)
|
|
4146
|
+
], 10, i0))),
|
|
4191
4147
|
128
|
|
4192
4148
|
/* KEYED_FRAGMENT */
|
|
4193
4149
|
)) : (d(!0), C(
|
|
@@ -4219,22 +4175,22 @@ function $0(s, e, t, n, a, o) {
|
|
|
4219
4175
|
/* TEXT */
|
|
4220
4176
|
)
|
|
4221
4177
|
])
|
|
4222
|
-
], 42,
|
|
4178
|
+
], 42, c0))),
|
|
4223
4179
|
128
|
|
4224
4180
|
/* KEYED_FRAGMENT */
|
|
4225
4181
|
))
|
|
4226
|
-
], 10,
|
|
4182
|
+
], 10, n0),
|
|
4227
4183
|
s.noOptions ? W(s.$slots, "nooptions", { key: 0 }, () => [
|
|
4228
4184
|
r("div", {
|
|
4229
4185
|
class: K(s.classList.noOptions),
|
|
4230
4186
|
innerHTML: s.localize(t.noOptionsText)
|
|
4231
|
-
}, null, 10,
|
|
4187
|
+
}, null, 10, u0)
|
|
4232
4188
|
]) : A("v-if", !0),
|
|
4233
4189
|
s.noResults ? W(s.$slots, "noresults", { key: 1 }, () => [
|
|
4234
4190
|
r("div", {
|
|
4235
4191
|
class: K(s.classList.noResults),
|
|
4236
4192
|
innerHTML: s.localize(t.noResultsText)
|
|
4237
|
-
}, null, 10,
|
|
4193
|
+
}, null, 10, p0)
|
|
4238
4194
|
]) : A("v-if", !0),
|
|
4239
4195
|
t.infinite && s.hasMore ? (d(), C(
|
|
4240
4196
|
"div",
|
|
@@ -4271,7 +4227,7 @@ function $0(s, e, t, n, a, o) {
|
|
|
4271
4227
|
tabindex: "-1",
|
|
4272
4228
|
value: s.textValue,
|
|
4273
4229
|
required: ""
|
|
4274
|
-
}, null, 10,
|
|
4230
|
+
}, null, 10, h0)) : A("v-if", !0),
|
|
4275
4231
|
A(" Native input support "),
|
|
4276
4232
|
t.nativeSupport ? (d(), C(
|
|
4277
4233
|
oe,
|
|
@@ -4282,7 +4238,7 @@ function $0(s, e, t, n, a, o) {
|
|
|
4282
4238
|
type: "hidden",
|
|
4283
4239
|
name: t.name,
|
|
4284
4240
|
value: s.plainValue !== void 0 ? s.plainValue : ""
|
|
4285
|
-
}, null, 8,
|
|
4241
|
+
}, null, 8, m0)) : (d(!0), C(
|
|
4286
4242
|
oe,
|
|
4287
4243
|
{ key: 1 },
|
|
4288
4244
|
me(s.plainValue, (i, l) => (d(), C("input", {
|
|
@@ -4290,7 +4246,7 @@ function $0(s, e, t, n, a, o) {
|
|
|
4290
4246
|
name: `${t.name}[]`,
|
|
4291
4247
|
value: i,
|
|
4292
4248
|
key: l
|
|
4293
|
-
}, null, 8,
|
|
4249
|
+
}, null, 8, C0))),
|
|
4294
4250
|
128
|
|
4295
4251
|
/* KEYED_FRAGMENT */
|
|
4296
4252
|
))
|
|
@@ -4304,7 +4260,7 @@ function $0(s, e, t, n, a, o) {
|
|
|
4304
4260
|
class: K(s.classList.assist),
|
|
4305
4261
|
id: s.ariaAssist,
|
|
4306
4262
|
"aria-hidden": "true"
|
|
4307
|
-
}, R(s.ariaLabel), 11,
|
|
4263
|
+
}, R(s.ariaLabel), 11, v0)) : A("v-if", !0),
|
|
4308
4264
|
A(" Create height for empty input "),
|
|
4309
4265
|
r(
|
|
4310
4266
|
"div",
|
|
@@ -4315,25 +4271,25 @@ function $0(s, e, t, n, a, o) {
|
|
|
4315
4271
|
2
|
|
4316
4272
|
/* CLASS */
|
|
4317
4273
|
)
|
|
4318
|
-
], 42,
|
|
4274
|
+
], 42, X3);
|
|
4319
4275
|
}
|
|
4320
|
-
Ce.render =
|
|
4276
|
+
Ce.render = _0;
|
|
4321
4277
|
Ce.__file = "src/Multiselect.vue";
|
|
4322
|
-
const
|
|
4278
|
+
const f0 = { class: "ao-modal__wrapper" }, g0 = { class: "ao-modal" }, y0 = { class: "ao-modal__header" }, b0 = { class: "ao-modal__header-meta" }, w0 = {
|
|
4323
4279
|
key: 0,
|
|
4324
4280
|
class: "ao-modal__title-group"
|
|
4325
|
-
},
|
|
4281
|
+
}, $0 = { class: "ao-modal__body" }, vt = /* @__PURE__ */ x({
|
|
4326
4282
|
__name: "AoModal",
|
|
4327
4283
|
emits: ["close"],
|
|
4328
4284
|
setup(s) {
|
|
4329
|
-
return (e, t) => (d(), C("div",
|
|
4285
|
+
return (e, t) => (d(), C("div", f0, [
|
|
4330
4286
|
r("div", {
|
|
4331
4287
|
class: "ao-modal__backdrop",
|
|
4332
4288
|
onClick: t[0] || (t[0] = (n) => e.$emit("close"))
|
|
4333
4289
|
}),
|
|
4334
|
-
r("div",
|
|
4335
|
-
r("div",
|
|
4336
|
-
r("div",
|
|
4290
|
+
r("div", g0, [
|
|
4291
|
+
r("div", y0, [
|
|
4292
|
+
r("div", b0, [
|
|
4337
4293
|
y(ue, {
|
|
4338
4294
|
"icon-name": "CloseRounded",
|
|
4339
4295
|
variant: "ghost",
|
|
@@ -4341,11 +4297,11 @@ const I0 = { class: "ao-modal__wrapper" }, S0 = { class: "ao-modal" }, M0 = { cl
|
|
|
4341
4297
|
onClick: t[1] || (t[1] = (n) => e.$emit("close"))
|
|
4342
4298
|
})
|
|
4343
4299
|
]),
|
|
4344
|
-
e.$slots.header ? (d(), C("header",
|
|
4300
|
+
e.$slots.header ? (d(), C("header", w0, [
|
|
4345
4301
|
W(e.$slots, "header")
|
|
4346
4302
|
])) : A("", !0)
|
|
4347
4303
|
]),
|
|
4348
|
-
r("div",
|
|
4304
|
+
r("div", $0, [
|
|
4349
4305
|
W(e.$slots, "default")
|
|
4350
4306
|
])
|
|
4351
4307
|
])
|
|
@@ -4354,13 +4310,13 @@ const I0 = { class: "ao-modal__wrapper" }, S0 = { class: "ao-modal" }, M0 = { cl
|
|
|
4354
4310
|
});
|
|
4355
4311
|
var nt;
|
|
4356
4312
|
function S1() {
|
|
4357
|
-
const s =
|
|
4313
|
+
const s = I0(), e = s.appContext.config.globalProperties;
|
|
4358
4314
|
return {
|
|
4359
4315
|
i18next: e.$i18next,
|
|
4360
4316
|
t: e.$t.bind(s.proxy)
|
|
4361
4317
|
};
|
|
4362
4318
|
}
|
|
4363
|
-
function
|
|
4319
|
+
function I0() {
|
|
4364
4320
|
const s = Be();
|
|
4365
4321
|
if (!s)
|
|
4366
4322
|
throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
|
|
@@ -4386,7 +4342,7 @@ x({
|
|
|
4386
4342
|
};
|
|
4387
4343
|
}
|
|
4388
4344
|
});
|
|
4389
|
-
const
|
|
4345
|
+
const S0 = { class: "ao-subtasks" }, M0 = { class: "ao-subtasks__list" }, A0 = ["value", "onChange"], k0 = { class: "ao-subtasks__list-footer" }, T0 = /* @__PURE__ */ x({
|
|
4390
4346
|
__name: "AoActivitySubtasks",
|
|
4391
4347
|
props: {
|
|
4392
4348
|
activityId: {},
|
|
@@ -4422,8 +4378,8 @@ const V0 = { class: "ao-subtasks" }, E0 = { class: "ao-subtasks__list" }, H0 = [
|
|
|
4422
4378
|
assignees: c
|
|
4423
4379
|
});
|
|
4424
4380
|
};
|
|
4425
|
-
return (c, h) => (d(), C("div",
|
|
4426
|
-
r("ul",
|
|
4381
|
+
return (c, h) => (d(), C("div", S0, [
|
|
4382
|
+
r("ul", M0, [
|
|
4427
4383
|
(d(!0), C(oe, null, me(c.subtasks, (_) => (d(), C("li", {
|
|
4428
4384
|
key: _.id,
|
|
4429
4385
|
class: "ao-subtask"
|
|
@@ -4440,7 +4396,7 @@ const V0 = { class: "ao-subtasks" }, E0 = { class: "ao-subtasks__list" }, H0 = [
|
|
|
4440
4396
|
class: "ao-field__input ao-subtask__field",
|
|
4441
4397
|
type: "text",
|
|
4442
4398
|
onChange: (f) => o(f, _.id)
|
|
4443
|
-
}, null, 40,
|
|
4399
|
+
}, null, 40, A0),
|
|
4444
4400
|
y(N(Ce), {
|
|
4445
4401
|
mode: "tags",
|
|
4446
4402
|
value: _.assignees,
|
|
@@ -4468,7 +4424,7 @@ const V0 = { class: "ao-subtasks" }, E0 = { class: "ao-subtasks__list" }, H0 = [
|
|
|
4468
4424
|
}, null, 8, ["onClick"])
|
|
4469
4425
|
]))), 128))
|
|
4470
4426
|
]),
|
|
4471
|
-
r("div",
|
|
4427
|
+
r("div", k0, [
|
|
4472
4428
|
y(ue, {
|
|
4473
4429
|
label: c.$t("activity.subtasks.add"),
|
|
4474
4430
|
"icon-name": "Add",
|
|
@@ -4480,13 +4436,13 @@ const V0 = { class: "ao-subtasks" }, E0 = { class: "ao-subtasks__list" }, H0 = [
|
|
|
4480
4436
|
]));
|
|
4481
4437
|
}
|
|
4482
4438
|
});
|
|
4483
|
-
const
|
|
4439
|
+
const L0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], V0 = {
|
|
4484
4440
|
key: 0,
|
|
4485
4441
|
class: "ao-files__list"
|
|
4486
|
-
},
|
|
4442
|
+
}, E0 = ["href"], H0 = { class: "ao-file__title" }, O0 = {
|
|
4487
4443
|
key: 1,
|
|
4488
4444
|
class: "ao-files__dropzone"
|
|
4489
|
-
},
|
|
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({
|
|
4490
4446
|
__name: "AoActivityDetailsFiles",
|
|
4491
4447
|
props: {
|
|
4492
4448
|
attachments: {}
|
|
@@ -4541,7 +4497,7 @@ const j0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], B0 = {
|
|
|
4541
4497
|
onDragover: Te(i, ["prevent"]),
|
|
4542
4498
|
onDragleave: Te(l, ["prevent"])
|
|
4543
4499
|
}, [
|
|
4544
|
-
(_ = c.attachments) != null && _.length && c.attachments.length > 0 ? (d(), C("ul",
|
|
4500
|
+
(_ = c.attachments) != null && _.length && c.attachments.length > 0 ? (d(), C("ul", V0, [
|
|
4545
4501
|
(d(!0), C(oe, null, me(c.attachments, (f) => (d(), C("li", {
|
|
4546
4502
|
key: f.id,
|
|
4547
4503
|
class: "ao-file"
|
|
@@ -4557,8 +4513,8 @@ const j0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], B0 = {
|
|
|
4557
4513
|
name: "AttachFileRounded",
|
|
4558
4514
|
size: "sm"
|
|
4559
4515
|
}),
|
|
4560
|
-
r("span",
|
|
4561
|
-
], 8,
|
|
4516
|
+
r("span", H0, R(f.name), 1)
|
|
4517
|
+
], 8, E0),
|
|
4562
4518
|
y(ue, {
|
|
4563
4519
|
class: "ao-files__delete-button",
|
|
4564
4520
|
"icon-name": "DeleteOutlineRounded",
|
|
@@ -4569,9 +4525,9 @@ const j0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], B0 = {
|
|
|
4569
4525
|
onClick: () => t(f)
|
|
4570
4526
|
}, null, 8, ["onClick"])
|
|
4571
4527
|
]))), 128))
|
|
4572
|
-
])) : (d(), C("div",
|
|
4573
|
-
r("label",
|
|
4574
|
-
r("span",
|
|
4528
|
+
])) : (d(), C("div", O0, [
|
|
4529
|
+
r("label", D0, [
|
|
4530
|
+
r("span", j0, R(c.$t("activity.attachment.button.resting")), 1),
|
|
4575
4531
|
r("input", {
|
|
4576
4532
|
class: "input-field",
|
|
4577
4533
|
type: "file",
|
|
@@ -4581,16 +4537,16 @@ const j0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], B0 = {
|
|
|
4581
4537
|
onChange: n
|
|
4582
4538
|
}, null, 32)
|
|
4583
4539
|
]),
|
|
4584
|
-
r("span",
|
|
4540
|
+
r("span", B0, R(c.$t("activity.attachment.placeholder.resting")), 1)
|
|
4585
4541
|
]))
|
|
4586
|
-
], 42,
|
|
4542
|
+
], 42, L0);
|
|
4587
4543
|
};
|
|
4588
4544
|
}
|
|
4589
4545
|
});
|
|
4590
|
-
const
|
|
4546
|
+
const Z0 = {
|
|
4591
4547
|
key: 0,
|
|
4592
4548
|
class: "ao-activity__category"
|
|
4593
|
-
},
|
|
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({
|
|
4594
4550
|
__name: "AoActivityDetails",
|
|
4595
4551
|
props: {
|
|
4596
4552
|
activity: {},
|
|
@@ -4732,7 +4688,7 @@ const z0 = {
|
|
|
4732
4688
|
}, {
|
|
4733
4689
|
header: F(() => [
|
|
4734
4690
|
W(I.$slots, "header", {}, () => [
|
|
4735
|
-
I.breadcrumbs ? (d(), C("div",
|
|
4691
|
+
I.breadcrumbs ? (d(), C("div", Z0, R(I.breadcrumbs), 1)) : A("", !0),
|
|
4736
4692
|
y(pe, {
|
|
4737
4693
|
title: I.activity.name || I.activity.id,
|
|
4738
4694
|
level: 4,
|
|
@@ -4744,11 +4700,11 @@ const z0 = {
|
|
|
4744
4700
|
])
|
|
4745
4701
|
]),
|
|
4746
4702
|
default: F(() => [
|
|
4747
|
-
r("div",
|
|
4748
|
-
r("fieldset",
|
|
4749
|
-
r("div",
|
|
4750
|
-
r("label",
|
|
4751
|
-
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),
|
|
4752
4708
|
Fe(r("textarea", {
|
|
4753
4709
|
"onUpdate:modelValue": E[0] || (E[0] = (z) => i.value = z),
|
|
4754
4710
|
rows: "4",
|
|
@@ -4766,9 +4722,9 @@ const z0 = {
|
|
|
4766
4722
|
])
|
|
4767
4723
|
])
|
|
4768
4724
|
]),
|
|
4769
|
-
r("div",
|
|
4770
|
-
r("label",
|
|
4771
|
-
r("span",
|
|
4725
|
+
r("div", z0, [
|
|
4726
|
+
r("label", G0, [
|
|
4727
|
+
r("span", K0, R(I.$t("activity.estimation.label")), 1),
|
|
4772
4728
|
Fe(r("input", {
|
|
4773
4729
|
"onUpdate:modelValue": E[1] || (E[1] = (z) => l.value = z),
|
|
4774
4730
|
class: "ao-field__input",
|
|
@@ -4786,8 +4742,8 @@ const z0 = {
|
|
|
4786
4742
|
]
|
|
4787
4743
|
])
|
|
4788
4744
|
]),
|
|
4789
|
-
r("label",
|
|
4790
|
-
r("span",
|
|
4745
|
+
r("label", x0, [
|
|
4746
|
+
r("span", W0, R(I.$t("activity.isImportant.label")), 1),
|
|
4791
4747
|
Fe(r("input", {
|
|
4792
4748
|
"onUpdate:modelValue": E[2] || (E[2] = (z) => p.value = z),
|
|
4793
4749
|
class: "ao-field__input",
|
|
@@ -4802,9 +4758,9 @@ const z0 = {
|
|
|
4802
4758
|
])
|
|
4803
4759
|
])
|
|
4804
4760
|
]),
|
|
4805
|
-
r("div",
|
|
4806
|
-
r("div",
|
|
4807
|
-
r("span",
|
|
4761
|
+
r("div", Y0, [
|
|
4762
|
+
r("div", X0, [
|
|
4763
|
+
r("span", Q0, R(I.$t("activity.assignees.label")), 1),
|
|
4808
4764
|
y(N(Ce), {
|
|
4809
4765
|
modelValue: te.value,
|
|
4810
4766
|
"onUpdate:modelValue": E[3] || (E[3] = (z) => te.value = z),
|
|
@@ -4825,9 +4781,9 @@ const z0 = {
|
|
|
4825
4781
|
}, 8, ["modelValue", "options", "placeholder"])
|
|
4826
4782
|
])
|
|
4827
4783
|
]),
|
|
4828
|
-
r("div",
|
|
4829
|
-
r("label",
|
|
4830
|
-
r("span",
|
|
4784
|
+
r("div", J0, [
|
|
4785
|
+
r("label", e5, [
|
|
4786
|
+
r("span", t5, R(I.$t("activity.type.label")), 1),
|
|
4831
4787
|
y(N(Ce), {
|
|
4832
4788
|
modelValue: c.value,
|
|
4833
4789
|
"onUpdate:modelValue": E[4] || (E[4] = (z) => c.value = z),
|
|
@@ -4840,17 +4796,17 @@ const z0 = {
|
|
|
4840
4796
|
])
|
|
4841
4797
|
])
|
|
4842
4798
|
]),
|
|
4843
|
-
r("fieldset",
|
|
4844
|
-
r("div",
|
|
4799
|
+
r("fieldset", s5, [
|
|
4800
|
+
r("div", a5, [
|
|
4845
4801
|
y(le, { name: "FlowsheetOutlineRounded" }),
|
|
4846
4802
|
y(pe, {
|
|
4847
4803
|
level: 4,
|
|
4848
4804
|
title: I.$t("activity.dependencies.title")
|
|
4849
4805
|
}, null, 8, ["title"])
|
|
4850
4806
|
]),
|
|
4851
|
-
r("div",
|
|
4852
|
-
r("label",
|
|
4853
|
-
r("span",
|
|
4807
|
+
r("div", n5, [
|
|
4808
|
+
r("label", i5, [
|
|
4809
|
+
r("span", o5, R(I.$t("activity.dependingOn.label")), 1),
|
|
4854
4810
|
y(N(Ce), {
|
|
4855
4811
|
modelValue: _.value,
|
|
4856
4812
|
"onUpdate:modelValue": E[5] || (E[5] = (z) => _.value = z),
|
|
@@ -4862,9 +4818,9 @@ const z0 = {
|
|
|
4862
4818
|
}, null, 8, ["modelValue", "options"])
|
|
4863
4819
|
])
|
|
4864
4820
|
]),
|
|
4865
|
-
r("div",
|
|
4866
|
-
r("label",
|
|
4867
|
-
r("span",
|
|
4821
|
+
r("div", l5, [
|
|
4822
|
+
r("label", r5, [
|
|
4823
|
+
r("span", d5, R(I.$t("activity.blocking.label")), 1),
|
|
4868
4824
|
y(N(Ce), {
|
|
4869
4825
|
modelValue: g.value,
|
|
4870
4826
|
"onUpdate:modelValue": E[6] || (E[6] = (z) => g.value = z),
|
|
@@ -4876,9 +4832,9 @@ const z0 = {
|
|
|
4876
4832
|
}, null, 8, ["modelValue", "options"])
|
|
4877
4833
|
])
|
|
4878
4834
|
]),
|
|
4879
|
-
r("div",
|
|
4880
|
-
r("label",
|
|
4881
|
-
r("span",
|
|
4835
|
+
r("div", c5, [
|
|
4836
|
+
r("label", u5, [
|
|
4837
|
+
r("span", p5, R(I.$t("activity.dependingMilestone.label")), 1),
|
|
4882
4838
|
y(N(Ce), {
|
|
4883
4839
|
modelValue: O.value,
|
|
4884
4840
|
"onUpdate:modelValue": E[7] || (E[7] = (z) => O.value = z),
|
|
@@ -4891,15 +4847,15 @@ const z0 = {
|
|
|
4891
4847
|
])
|
|
4892
4848
|
])
|
|
4893
4849
|
]),
|
|
4894
|
-
r("fieldset",
|
|
4895
|
-
r("div",
|
|
4850
|
+
r("fieldset", h5, [
|
|
4851
|
+
r("div", m5, [
|
|
4896
4852
|
y(le, { name: "SelectCheckBox" }),
|
|
4897
4853
|
y(pe, {
|
|
4898
4854
|
level: 4,
|
|
4899
4855
|
title: I.$t("activity.subtasks.title")
|
|
4900
4856
|
}, null, 8, ["title"])
|
|
4901
4857
|
]),
|
|
4902
|
-
y(
|
|
4858
|
+
y(T0, {
|
|
4903
4859
|
class: "ao-activity-details__subtasks",
|
|
4904
4860
|
subtasks: I.activity.subtasks || [],
|
|
4905
4861
|
"activity-id": I.activity.id,
|
|
@@ -4911,15 +4867,15 @@ const z0 = {
|
|
|
4911
4867
|
]),
|
|
4912
4868
|
W(I.$slots, "default")
|
|
4913
4869
|
]),
|
|
4914
|
-
r("div",
|
|
4915
|
-
r("div",
|
|
4870
|
+
r("div", C5, [
|
|
4871
|
+
r("div", v5, [
|
|
4916
4872
|
y(le, { name: "AttachFileRounded" }),
|
|
4917
4873
|
y(pe, {
|
|
4918
4874
|
level: 4,
|
|
4919
4875
|
title: I.$t("activity.attachments.title")
|
|
4920
4876
|
}, null, 8, ["title"])
|
|
4921
4877
|
]),
|
|
4922
|
-
y(
|
|
4878
|
+
y(P0, {
|
|
4923
4879
|
attachments: I.activity.attachments,
|
|
4924
4880
|
onAdd: D,
|
|
4925
4881
|
onRemove: se
|
|
@@ -4930,7 +4886,47 @@ const z0 = {
|
|
|
4930
4886
|
}));
|
|
4931
4887
|
}
|
|
4932
4888
|
});
|
|
4933
|
-
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({
|
|
4934
4930
|
__name: "AoRuleLine",
|
|
4935
4931
|
props: {
|
|
4936
4932
|
rule: {},
|
|
@@ -4982,14 +4978,14 @@ const $5 = /* @__PURE__ */ x({
|
|
|
4982
4978
|
set(L) {
|
|
4983
4979
|
e("update:rule", { ...t.rule, comparator: L });
|
|
4984
4980
|
}
|
|
4985
|
-
}), h = v(() => Object.values(
|
|
4981
|
+
}), h = v(() => Object.values(g5)), _ = m1(t.rule.trigger), f = v({
|
|
4986
4982
|
get() {
|
|
4987
4983
|
return _.value;
|
|
4988
4984
|
},
|
|
4989
4985
|
set(L) {
|
|
4990
4986
|
e("update:rule", { ...t.rule, trigger: L });
|
|
4991
4987
|
}
|
|
4992
|
-
}), g = v(() => Object.values(
|
|
4988
|
+
}), g = v(() => Object.values(y5)), V = v({
|
|
4993
4989
|
get() {
|
|
4994
4990
|
return t.rule.duration;
|
|
4995
4991
|
},
|
|
@@ -5003,7 +4999,7 @@ const $5 = /* @__PURE__ */ x({
|
|
|
5003
4999
|
set(L) {
|
|
5004
5000
|
e("update:rule", { ...t.rule, durationUnit: L });
|
|
5005
5001
|
}
|
|
5006
|
-
}), O = v(() => Object.values(
|
|
5002
|
+
}), O = v(() => Object.values(b5));
|
|
5007
5003
|
return (L, b) => (d(), q(Ke(L.tagName), { class: "ao-rule-line" }, {
|
|
5008
5004
|
default: F(() => [
|
|
5009
5005
|
y(N(Ce), {
|
|
@@ -5406,7 +5402,7 @@ const A5 = {
|
|
|
5406
5402
|
}, 8, ["model-value"])
|
|
5407
5403
|
]),
|
|
5408
5404
|
r("li", E5, [
|
|
5409
|
-
o.value ? (d(), q(
|
|
5405
|
+
o.value ? (d(), q(V3, {
|
|
5410
5406
|
key: 0,
|
|
5411
5407
|
"template-id": u.templateId,
|
|
5412
5408
|
phase: o.value,
|
|
@@ -5418,7 +5414,7 @@ const A5 = {
|
|
|
5418
5414
|
}, null, 8, ["template-id", "phase", "milestone-id"])) : A("", !0)
|
|
5419
5415
|
]),
|
|
5420
5416
|
r("li", H5, [
|
|
5421
|
-
o.value && i.value ? (d(), q(
|
|
5417
|
+
o.value && i.value ? (d(), q(O3, {
|
|
5422
5418
|
key: 0,
|
|
5423
5419
|
"template-id": u.templateId,
|
|
5424
5420
|
"phase-id": (k = o.value) == null ? void 0 : k.id,
|
|
@@ -5542,7 +5538,7 @@ const P5 = { class: "ao-card-project-phase__header" }, Z5 = { class: "ao-card-pr
|
|
|
5542
5538
|
return (o = e.milestones) == null ? void 0 : o.length;
|
|
5543
5539
|
}), n = v(() => {
|
|
5544
5540
|
var o;
|
|
5545
|
-
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;
|
|
5546
5542
|
}), a = v(() => (n.value || 0) / (t.value || 1));
|
|
5547
5543
|
return (o, i) => (d(), q(z1, { class: "ao-card-project-phase" }, {
|
|
5548
5544
|
header: F(() => [
|
|
@@ -7517,7 +7513,7 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
|
|
|
7517
7513
|
},
|
|
7518
7514
|
set(u) {
|
|
7519
7515
|
const $ = {
|
|
7520
|
-
type:
|
|
7516
|
+
type: j1.project,
|
|
7521
7517
|
values: u
|
|
7522
7518
|
};
|
|
7523
7519
|
e("update:filter", $);
|
|
@@ -7531,7 +7527,7 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
|
|
|
7531
7527
|
},
|
|
7532
7528
|
set(u) {
|
|
7533
7529
|
const $ = {
|
|
7534
|
-
type:
|
|
7530
|
+
type: j1.activity_type,
|
|
7535
7531
|
values: u
|
|
7536
7532
|
};
|
|
7537
7533
|
e("update:filter", $);
|
|
@@ -7545,7 +7541,7 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
|
|
|
7545
7541
|
},
|
|
7546
7542
|
set(u) {
|
|
7547
7543
|
const $ = {
|
|
7548
|
-
type:
|
|
7544
|
+
type: j1.assignee,
|
|
7549
7545
|
values: u
|
|
7550
7546
|
};
|
|
7551
7547
|
e("update:filter", $);
|
|
@@ -7644,7 +7640,7 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
|
|
|
7644
7640
|
}, ge = (u) => {
|
|
7645
7641
|
const { id: $ } = o.value || {};
|
|
7646
7642
|
$ && e("removeComment", { id: u, activityId: $ });
|
|
7647
|
-
}, ye = v(() => Object.values(
|
|
7643
|
+
}, ye = v(() => Object.values(f5).map((u) => ({
|
|
7648
7644
|
value: u,
|
|
7649
7645
|
label: n(`activity.feedStatus.${u}`)
|
|
7650
7646
|
}))), Le = (u) => {
|
|
@@ -7813,18 +7809,18 @@ export {
|
|
|
7813
7809
|
O5 as AoTemplateDetails,
|
|
7814
7810
|
Rd as AoTemplates,
|
|
7815
7811
|
td as AoTemplatesList,
|
|
7816
|
-
|
|
7817
|
-
|
|
7812
|
+
w5 as TemplateItemTypeEnum,
|
|
7813
|
+
f5 as activityFeedStatus,
|
|
7818
7814
|
qd as durationTypes,
|
|
7819
|
-
|
|
7815
|
+
j1 as feedFilters,
|
|
7820
7816
|
Gd as getProjectOverviewRoutes,
|
|
7821
7817
|
zd as getTemplateRoutes,
|
|
7822
7818
|
Fd as listUpdateTypes,
|
|
7823
|
-
|
|
7819
|
+
_5 as milestoneStatus,
|
|
7824
7820
|
Ge as projectOverviewRoutes,
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7821
|
+
g5 as ruleComparators,
|
|
7822
|
+
b5 as ruleDurationUnits,
|
|
7823
|
+
y5 as ruleTriggerTypes,
|
|
7828
7824
|
ce as templateItemType,
|
|
7829
7825
|
t1 as templateRouteNames
|
|
7830
7826
|
};
|