@26lights/orcha 0.31.5 → 0.31.6
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 -179
- package/dist/orcha.umd.js +1 -1
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as K, openBlock as f, createBlock as N, unref as z, mergeProps as Ee, createElementBlock as h, createElementVNode as v, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as b, resolveDynamicComponent as Qe, normalizeClass as G, renderSlot as X, toDisplayString as q, createCommentVNode as T, ref as Q, watch as ue, nextTick as Oe, withKeys as Ke, toHandlers as fs, withCtx as U, createTextVNode as a1, createVNode as E, normalizeStyle as ca, withModifiers as _e, createSlots as s1, Fragment as ve, renderList as ye, onMounted as Dt, onBeforeUnmount as vs, onUnmounted as fa, toRefs as $e, getCurrentInstance as st, toRef as vt, normalizeProps as Ht, guardReactiveProps as Pt, onUpdated as ps, withDirectives as Ye, vModelText as mt, vModelCheckbox as Q1, Teleport as It, resolveComponent as hs, getCurrentScope as ms, onScopeDispose as Cs, provide as _s, toHandlerKey as gs } from "vue";
|
|
2
2
|
import { RouterView as ys } from "vue-router";
|
|
3
3
|
import Je from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const c8 = /* @__PURE__ */ K({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -1432,11 +1432,11 @@ const T1 = {
|
|
|
1432
1432
|
todo: "todo",
|
|
1433
1433
|
done: "done",
|
|
1434
1434
|
archived: "archived"
|
|
1435
|
-
},
|
|
1435
|
+
}, f8 = {
|
|
1436
1436
|
months: "months",
|
|
1437
1437
|
weeks: "weeks",
|
|
1438
1438
|
days: "days"
|
|
1439
|
-
},
|
|
1439
|
+
}, v8 = {
|
|
1440
1440
|
future: "future",
|
|
1441
1441
|
this_month: "this_month",
|
|
1442
1442
|
this_week: "this_week",
|
|
@@ -1460,7 +1460,7 @@ const T1 = {
|
|
|
1460
1460
|
TASKS: "tasks"
|
|
1461
1461
|
};
|
|
1462
1462
|
var kd = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(kd || {});
|
|
1463
|
-
const
|
|
1463
|
+
const p8 = {
|
|
1464
1464
|
add: "add",
|
|
1465
1465
|
remove: "remove",
|
|
1466
1466
|
moved: "moved"
|
|
@@ -5290,7 +5290,7 @@ function F3(t, e, a) {
|
|
|
5290
5290
|
let ne = C;
|
|
5291
5291
|
if (R.value && L.value) {
|
|
5292
5292
|
let pe = Y.value;
|
|
5293
|
-
pe || (pe = ($t,
|
|
5293
|
+
pe || (pe = ($t, l8) => {
|
|
5294
5294
|
let x1 = M1(qa($t[Ve.value]), g.value);
|
|
5295
5295
|
return $.value ? x1.startsWith(M1(R.value, g.value)) : x1.indexOf(M1(R.value, g.value)) !== -1;
|
|
5296
5296
|
}), ne = ne.filter(pe);
|
|
@@ -8229,7 +8229,7 @@ const Z1 = /* @__PURE__ */ K({
|
|
|
8229
8229
|
const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-project-phase__footer" }, e9 = { class: "ao-card-project-phase__footer-row" }, t9 = { class: "ao-card-project-phase__subitem" }, a9 = { class: "ao-card-project-phase__subitem" }, s9 = {
|
|
8230
8230
|
key: 1,
|
|
8231
8231
|
class: "ao-card-project-phase__secondary"
|
|
8232
|
-
}, n9 = /* @__PURE__ */ K({
|
|
8232
|
+
}, n9 = { class: "ao-card-project-phase__footer-row" }, i9 = /* @__PURE__ */ K({
|
|
8233
8233
|
__name: "AoCardProjectItemPhase",
|
|
8234
8234
|
props: {
|
|
8235
8235
|
id: {},
|
|
@@ -8277,10 +8277,12 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
|
|
|
8277
8277
|
class: "ao-card-project-phase__progress"
|
|
8278
8278
|
}, null, 8, ["percentages"])
|
|
8279
8279
|
], 64)) : T("", !0),
|
|
8280
|
-
v("div", null, q(l.deadline), 1),
|
|
8281
8280
|
l.$slots.secondary ? (f(), h("div", s9, [
|
|
8282
8281
|
X(l.$slots, "secondary")
|
|
8283
8282
|
])) : T("", !0)
|
|
8283
|
+
]),
|
|
8284
|
+
v("div", n9, [
|
|
8285
|
+
v("div", null, q(l.deadline), 1)
|
|
8284
8286
|
])
|
|
8285
8287
|
])
|
|
8286
8288
|
]),
|
|
@@ -8308,13 +8310,13 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
|
|
|
8308
8310
|
]), 1024));
|
|
8309
8311
|
}
|
|
8310
8312
|
});
|
|
8311
|
-
const
|
|
8313
|
+
const o9 = { class: "ao-card-project-milestone__default" }, l9 = {
|
|
8312
8314
|
key: 0,
|
|
8313
8315
|
class: "ao-card-project-milestone__archive"
|
|
8314
|
-
},
|
|
8316
|
+
}, r9 = { class: "ao-card-project-phase__footer" }, u9 = { class: "ao-card-project-phase__footer-row" }, d9 = { class: "ao-card-project-phase__subitem" }, c9 = { class: "ao-card-project-phase__subitem" }, f9 = {
|
|
8315
8317
|
key: 1,
|
|
8316
8318
|
class: "ao-card-project-phase__secondary"
|
|
8317
|
-
},
|
|
8319
|
+
}, v9 = /* @__PURE__ */ K({
|
|
8318
8320
|
__name: "AoCardProjectItemMilestone",
|
|
8319
8321
|
props: {
|
|
8320
8322
|
id: {},
|
|
@@ -8340,7 +8342,7 @@ const i9 = { class: "ao-card-project-milestone__default" }, o9 = {
|
|
|
8340
8342
|
"tag-name": "li"
|
|
8341
8343
|
}, {
|
|
8342
8344
|
default: U(() => [
|
|
8343
|
-
v("div",
|
|
8345
|
+
v("div", o9, [
|
|
8344
8346
|
E(Ce, {
|
|
8345
8347
|
id: l.id,
|
|
8346
8348
|
title: l.name || "",
|
|
@@ -8349,7 +8351,7 @@ const i9 = { class: "ao-card-project-milestone__default" }, o9 = {
|
|
|
8349
8351
|
class: "ao-card-project-milestone__title",
|
|
8350
8352
|
"onUpdate:title": i
|
|
8351
8353
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
8352
|
-
l.isEditable ? (f(), h("div",
|
|
8354
|
+
l.isEditable ? (f(), h("div", l9, [
|
|
8353
8355
|
E(de, {
|
|
8354
8356
|
color: "primary",
|
|
8355
8357
|
variant: "ghost",
|
|
@@ -8364,22 +8366,22 @@ const i9 = { class: "ao-card-project-milestone__default" }, o9 = {
|
|
|
8364
8366
|
])
|
|
8365
8367
|
]),
|
|
8366
8368
|
footer: U(() => [
|
|
8367
|
-
v("div",
|
|
8368
|
-
v("div",
|
|
8369
|
+
v("div", r9, [
|
|
8370
|
+
v("div", u9, [
|
|
8369
8371
|
n.value ? (f(), h(ve, { key: 0 }, [
|
|
8370
|
-
v("div",
|
|
8372
|
+
v("div", d9, [
|
|
8371
8373
|
E(fe, {
|
|
8372
8374
|
name: "SelectCheckBox",
|
|
8373
8375
|
size: "sm"
|
|
8374
8376
|
}),
|
|
8375
|
-
v("span",
|
|
8377
|
+
v("span", c9, q(s.value) + " / " + q(n.value), 1)
|
|
8376
8378
|
]),
|
|
8377
8379
|
E(Z1, {
|
|
8378
8380
|
percentages: o.value,
|
|
8379
8381
|
class: "ao-card-project-phase__progress"
|
|
8380
8382
|
}, null, 8, ["percentages"])
|
|
8381
8383
|
], 64)) : T("", !0),
|
|
8382
|
-
l.$slots.secondary ? (f(), h("div",
|
|
8384
|
+
l.$slots.secondary ? (f(), h("div", f9, [
|
|
8383
8385
|
X(l.$slots, "secondary")
|
|
8384
8386
|
])) : T("", !0)
|
|
8385
8387
|
])
|
|
@@ -8389,10 +8391,10 @@ const i9 = { class: "ao-card-project-milestone__default" }, o9 = {
|
|
|
8389
8391
|
}));
|
|
8390
8392
|
}
|
|
8391
8393
|
});
|
|
8392
|
-
const
|
|
8394
|
+
const p9 = { class: "ao-project-phase" }, h9 = {
|
|
8393
8395
|
key: 0,
|
|
8394
8396
|
class: "ao-project-phase__drag ao-card__drag"
|
|
8395
|
-
},
|
|
8397
|
+
}, m9 = { class: "ao-project-phase__col-phase" }, C9 = { class: "ao-project-phase__col-milestones" }, _9 = { class: "ao-project-phase__milestones" }, g9 = { class: "ao-project-phase__milestones-list-footer" }, y9 = /* @__PURE__ */ K({
|
|
8396
8398
|
__name: "AoProjectPhase",
|
|
8397
8399
|
props: {
|
|
8398
8400
|
phase: {},
|
|
@@ -8425,15 +8427,15 @@ const v9 = { class: "ao-project-phase" }, p9 = {
|
|
|
8425
8427
|
)
|
|
8426
8428
|
});
|
|
8427
8429
|
};
|
|
8428
|
-
return (u, p) => (f(), h("li",
|
|
8429
|
-
u.isEditable ? (f(), h("div",
|
|
8430
|
+
return (u, p) => (f(), h("li", p9, [
|
|
8431
|
+
u.isEditable ? (f(), h("div", h9, [
|
|
8430
8432
|
E(fe, {
|
|
8431
8433
|
name: "DragIndicator",
|
|
8432
8434
|
class: "ao-project-phase__drag-handle"
|
|
8433
8435
|
})
|
|
8434
8436
|
])) : T("", !0),
|
|
8435
|
-
v("div",
|
|
8436
|
-
E(
|
|
8437
|
+
v("div", m9, [
|
|
8438
|
+
E(i9, {
|
|
8437
8439
|
id: u.phase.id,
|
|
8438
8440
|
milestones: o.value,
|
|
8439
8441
|
name: u.phase.name,
|
|
@@ -8443,8 +8445,8 @@ const v9 = { class: "ao-project-phase" }, p9 = {
|
|
|
8443
8445
|
onArchivePhase: r
|
|
8444
8446
|
}, null, 8, ["id", "milestones", "name", "deadline", "is-editable"])
|
|
8445
8447
|
]),
|
|
8446
|
-
v("div",
|
|
8447
|
-
v("div",
|
|
8448
|
+
v("div", C9, [
|
|
8449
|
+
v("div", _9, [
|
|
8448
8450
|
E(z(Je), Ee({
|
|
8449
8451
|
class: "ao-project-phase__milestones-list",
|
|
8450
8452
|
list: o.value,
|
|
@@ -8453,7 +8455,7 @@ const v9 = { class: "ao-project-phase" }, p9 = {
|
|
|
8453
8455
|
group: "kanban"
|
|
8454
8456
|
}, u.$attrs, { onChange: c }), {
|
|
8455
8457
|
item: U(({ element: m }) => [
|
|
8456
|
-
E(
|
|
8458
|
+
E(v9, {
|
|
8457
8459
|
id: m.id,
|
|
8458
8460
|
name: m.name,
|
|
8459
8461
|
activities: m.activities,
|
|
@@ -8471,7 +8473,7 @@ const v9 = { class: "ao-project-phase" }, p9 = {
|
|
|
8471
8473
|
]),
|
|
8472
8474
|
_: 1
|
|
8473
8475
|
}, 16, ["list", "disabled"]),
|
|
8474
|
-
v("div",
|
|
8476
|
+
v("div", g9, [
|
|
8475
8477
|
u.isEditable ? (f(), N(et, {
|
|
8476
8478
|
key: 0,
|
|
8477
8479
|
label: u.$t("project.milestone.add"),
|
|
@@ -8485,10 +8487,10 @@ const v9 = { class: "ao-project-phase" }, p9 = {
|
|
|
8485
8487
|
]));
|
|
8486
8488
|
}
|
|
8487
8489
|
});
|
|
8488
|
-
const
|
|
8490
|
+
const b9 = { class: "ao-project__phases" }, w9 = {
|
|
8489
8491
|
key: 0,
|
|
8490
8492
|
class: "ao-project-phase__phases-list-footer"
|
|
8491
|
-
},
|
|
8493
|
+
}, $9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__empty_drag" }, null, -1), k9 = { class: "ao-project-phase__col-phase" }, M9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__col-milestones" }, null, -1), A9 = /* @__PURE__ */ K({
|
|
8492
8494
|
__name: "AoProjectPhases",
|
|
8493
8495
|
props: {
|
|
8494
8496
|
phases: {},
|
|
@@ -8522,7 +8524,7 @@ const y9 = { class: "ao-project__phases" }, b9 = {
|
|
|
8522
8524
|
}, r = (c) => {
|
|
8523
8525
|
e("addPhase", c);
|
|
8524
8526
|
};
|
|
8525
|
-
return (c, u) => (f(), h("div",
|
|
8527
|
+
return (c, u) => (f(), h("div", b9, [
|
|
8526
8528
|
E(z(Je), {
|
|
8527
8529
|
class: "ao-project-phase__phases-list",
|
|
8528
8530
|
"model-value": c.phases,
|
|
@@ -8531,7 +8533,7 @@ const y9 = { class: "ao-project__phases" }, b9 = {
|
|
|
8531
8533
|
onChange: l
|
|
8532
8534
|
}, {
|
|
8533
8535
|
item: U(({ element: p }) => [
|
|
8534
|
-
E(
|
|
8536
|
+
E(y9, {
|
|
8535
8537
|
phase: p,
|
|
8536
8538
|
"is-editable": c.isEditable,
|
|
8537
8539
|
"closed-status": c.closedStatus,
|
|
@@ -8544,9 +8546,9 @@ const y9 = { class: "ao-project__phases" }, b9 = {
|
|
|
8544
8546
|
]),
|
|
8545
8547
|
_: 1
|
|
8546
8548
|
}, 8, ["model-value"]),
|
|
8547
|
-
c.isEditable ? (f(), h("div",
|
|
8548
|
-
|
|
8549
|
-
v("div",
|
|
8549
|
+
c.isEditable ? (f(), h("div", w9, [
|
|
8550
|
+
$9,
|
|
8551
|
+
v("div", k9, [
|
|
8550
8552
|
E(et, {
|
|
8551
8553
|
label: c.$t("project.phases.add"),
|
|
8552
8554
|
"icon-name": "Add",
|
|
@@ -8554,12 +8556,12 @@ const y9 = { class: "ao-project__phases" }, b9 = {
|
|
|
8554
8556
|
onClick: r
|
|
8555
8557
|
}, null, 8, ["label"])
|
|
8556
8558
|
]),
|
|
8557
|
-
|
|
8559
|
+
M9
|
|
8558
8560
|
])) : T("", !0)
|
|
8559
8561
|
]));
|
|
8560
8562
|
}
|
|
8561
8563
|
});
|
|
8562
|
-
const
|
|
8564
|
+
const T9 = ["onSubmit"], S9 = { class: "ao-add-template-modal__form-body" }, E9 = { class: "field__row" }, I9 = { class: "ao-add-template-modal__form-footer" }, O9 = /* @__PURE__ */ K({
|
|
8563
8565
|
__name: "AoAddTemplateModal",
|
|
8564
8566
|
props: {
|
|
8565
8567
|
projectId: {},
|
|
@@ -8587,8 +8589,8 @@ const A9 = ["onSubmit"], T9 = { class: "ao-add-template-modal__form-body" }, S9
|
|
|
8587
8589
|
class: "ao-add-template-modal__form",
|
|
8588
8590
|
onSubmit: _e(i, ["prevent"])
|
|
8589
8591
|
}, [
|
|
8590
|
-
v("div",
|
|
8591
|
-
v("div",
|
|
8592
|
+
v("div", S9, [
|
|
8593
|
+
v("div", E9, [
|
|
8592
8594
|
E(be, {
|
|
8593
8595
|
value: s.value,
|
|
8594
8596
|
options: n.value,
|
|
@@ -8597,7 +8599,7 @@ const A9 = ["onSubmit"], T9 = { class: "ao-add-template-modal__form-body" }, S9
|
|
|
8597
8599
|
}, null, 8, ["value", "options"])
|
|
8598
8600
|
])
|
|
8599
8601
|
]),
|
|
8600
|
-
v("footer",
|
|
8602
|
+
v("footer", I9, [
|
|
8601
8603
|
E(de, {
|
|
8602
8604
|
label: l.$t("project.template.add.label"),
|
|
8603
8605
|
type: "submit",
|
|
@@ -8606,13 +8608,13 @@ const A9 = ["onSubmit"], T9 = { class: "ao-add-template-modal__form-body" }, S9
|
|
|
8606
8608
|
onClick: i
|
|
8607
8609
|
}, null, 8, ["label"])
|
|
8608
8610
|
])
|
|
8609
|
-
], 40,
|
|
8611
|
+
], 40, T9)
|
|
8610
8612
|
]),
|
|
8611
8613
|
_: 1
|
|
8612
8614
|
}));
|
|
8613
8615
|
}
|
|
8614
8616
|
});
|
|
8615
|
-
const
|
|
8617
|
+
const L9 = K({
|
|
8616
8618
|
props: {
|
|
8617
8619
|
isLeft: {
|
|
8618
8620
|
type: Boolean,
|
|
@@ -8641,9 +8643,9 @@ const O9 = K({
|
|
|
8641
8643
|
}
|
|
8642
8644
|
}
|
|
8643
8645
|
});
|
|
8644
|
-
const
|
|
8645
|
-
function
|
|
8646
|
-
return f(), h("div",
|
|
8646
|
+
const V9 = { class: "toggle-wrapper" };
|
|
8647
|
+
function D9(t, e, a, n, s, o) {
|
|
8648
|
+
return f(), h("div", V9, [
|
|
8647
8649
|
v("button", {
|
|
8648
8650
|
class: G({
|
|
8649
8651
|
button: !0,
|
|
@@ -8664,7 +8666,7 @@ function V9(t, e, a, n, s, o) {
|
|
|
8664
8666
|
}, q(t.rightLabel), 3)
|
|
8665
8667
|
]);
|
|
8666
8668
|
}
|
|
8667
|
-
const Ra = /* @__PURE__ */ B(
|
|
8669
|
+
const Ra = /* @__PURE__ */ B(L9, [["render", D9], ["__scopeId", "data-v-5637c519"]]), H9 = { class: "ao-project" }, P9 = { class: "ao-project__body" }, B9 = /* @__PURE__ */ K({
|
|
8668
8670
|
__name: "AoProjectOverviewProject",
|
|
8669
8671
|
props: {
|
|
8670
8672
|
project: {},
|
|
@@ -8727,7 +8729,7 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519
|
|
|
8727
8729
|
const g = hs("RouterView");
|
|
8728
8730
|
return f(), h(ve, null, [
|
|
8729
8731
|
v("div", Ee({ class: "ao-project-overview" }, I.$attrs), [
|
|
8730
|
-
v("div",
|
|
8732
|
+
v("div", H9, [
|
|
8731
8733
|
E(d1, null, {
|
|
8732
8734
|
primary: U(() => [
|
|
8733
8735
|
E(Ra, {
|
|
@@ -8760,8 +8762,8 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519
|
|
|
8760
8762
|
]),
|
|
8761
8763
|
_: 1
|
|
8762
8764
|
}),
|
|
8763
|
-
v("div",
|
|
8764
|
-
E(
|
|
8765
|
+
v("div", P9, [
|
|
8766
|
+
E(A9, {
|
|
8765
8767
|
phases: I.phases,
|
|
8766
8768
|
"closed-status": I.closedStatus,
|
|
8767
8769
|
"is-editable": I.isEditable,
|
|
@@ -8820,7 +8822,7 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519
|
|
|
8820
8822
|
]))
|
|
8821
8823
|
], 16),
|
|
8822
8824
|
(f(), N(It, { to: "body" }, [
|
|
8823
|
-
x.value ? (f(), N(
|
|
8825
|
+
x.value ? (f(), N(O9, {
|
|
8824
8826
|
key: 0,
|
|
8825
8827
|
"project-id": I.project.id,
|
|
8826
8828
|
templates: I.templates,
|
|
@@ -8832,34 +8834,34 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519
|
|
|
8832
8834
|
};
|
|
8833
8835
|
}
|
|
8834
8836
|
});
|
|
8835
|
-
const
|
|
8837
|
+
const N9 = { class: "ao-card-feed__header" }, R9 = {
|
|
8836
8838
|
key: 1,
|
|
8837
8839
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
8838
|
-
},
|
|
8840
|
+
}, U9 = {
|
|
8839
8841
|
key: 2,
|
|
8840
8842
|
class: "ao-card-feed__header-secondary ao-card-feed__secondary"
|
|
8841
|
-
},
|
|
8843
|
+
}, j9 = { class: "ao-card-feed__body" }, Z9 = {
|
|
8842
8844
|
key: 0,
|
|
8843
8845
|
class: "ao-card-feed__breadcrumbs"
|
|
8844
|
-
},
|
|
8846
|
+
}, F9 = {
|
|
8845
8847
|
key: 1,
|
|
8846
8848
|
class: "ao-card-feed__deadline"
|
|
8847
|
-
},
|
|
8849
|
+
}, q9 = { class: "ao-card-feed__footer" }, z9 = { class: "ao-card-feed__footer-row" }, W9 = { class: "ao-assignees" }, Y9 = {
|
|
8848
8850
|
key: 0,
|
|
8849
8851
|
class: "ao-assignee"
|
|
8850
|
-
},
|
|
8852
|
+
}, K9 = {
|
|
8851
8853
|
key: 0,
|
|
8852
8854
|
class: "ao-card-feed__subitems"
|
|
8853
|
-
},
|
|
8855
|
+
}, G9 = {
|
|
8854
8856
|
key: 0,
|
|
8855
8857
|
class: "ao-card-feed__subitem"
|
|
8856
|
-
},
|
|
8858
|
+
}, X9 = { class: "ao-card-feed__subitem" }, x9 = {
|
|
8857
8859
|
key: 1,
|
|
8858
8860
|
class: "ao-card-feed__subitem"
|
|
8859
|
-
},
|
|
8861
|
+
}, Q9 = { class: "ao-card-feed__subitem" }, J9 = { class: "ao-card-feed__footer-row" }, e4 = {
|
|
8860
8862
|
key: 0,
|
|
8861
8863
|
class: "ao-card-feed__progress-wrapper"
|
|
8862
|
-
},
|
|
8864
|
+
}, t4 = { class: "ao-card-feed__subitem" }, a4 = { class: "ao-card-feed__subitem" }, Ua = /* @__PURE__ */ K({
|
|
8863
8865
|
__name: "AoCardFeed",
|
|
8864
8866
|
props: {
|
|
8865
8867
|
id: {},
|
|
@@ -8901,7 +8903,7 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
8901
8903
|
"is-clickable": !0
|
|
8902
8904
|
}, {
|
|
8903
8905
|
header: U(() => [
|
|
8904
|
-
v("div",
|
|
8906
|
+
v("div", N9, [
|
|
8905
8907
|
p.projectName ? (f(), N(O1, {
|
|
8906
8908
|
key: 0,
|
|
8907
8909
|
label: p.projectName,
|
|
@@ -8910,7 +8912,7 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
8910
8912
|
color: p.projectColor ? void 0 : "primary",
|
|
8911
8913
|
"raw-color": p.projectColor
|
|
8912
8914
|
}, null, 8, ["label", "color", "raw-color"])) : T("", !0),
|
|
8913
|
-
p.isPrivate || p.important ? (f(), h("div",
|
|
8915
|
+
p.isPrivate || p.important ? (f(), h("div", R9, [
|
|
8914
8916
|
p.isPrivate ? (f(), N(fe, {
|
|
8915
8917
|
key: 0,
|
|
8916
8918
|
name: "Lock",
|
|
@@ -8924,14 +8926,14 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
8924
8926
|
size: "sm"
|
|
8925
8927
|
})) : T("", !0)
|
|
8926
8928
|
])) : T("", !0),
|
|
8927
|
-
p.$slots.secondary ? (f(), h("div",
|
|
8929
|
+
p.$slots.secondary ? (f(), h("div", U9, [
|
|
8928
8930
|
X(p.$slots, "secondary")
|
|
8929
8931
|
])) : T("", !0)
|
|
8930
8932
|
])
|
|
8931
8933
|
]),
|
|
8932
8934
|
default: U(() => [
|
|
8933
|
-
v("div",
|
|
8934
|
-
s.value ? (f(), h("span",
|
|
8935
|
+
v("div", j9, [
|
|
8936
|
+
s.value ? (f(), h("span", Z9, q(s.value), 1)) : T("", !0),
|
|
8935
8937
|
E(Ce, {
|
|
8936
8938
|
id: p.id,
|
|
8937
8939
|
title: p.name,
|
|
@@ -8939,17 +8941,17 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
8939
8941
|
"is-editable": p.isEditable,
|
|
8940
8942
|
"onUpdate:title": n
|
|
8941
8943
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
8942
|
-
p.deadline ? (f(), h("span",
|
|
8944
|
+
p.deadline ? (f(), h("span", F9, q(i.value), 1)) : T("", !0)
|
|
8943
8945
|
])
|
|
8944
8946
|
]),
|
|
8945
8947
|
footer: U(() => [
|
|
8946
|
-
v("div",
|
|
8947
|
-
v("div",
|
|
8948
|
-
v("ul",
|
|
8948
|
+
v("div", q9, [
|
|
8949
|
+
v("div", z9, [
|
|
8950
|
+
v("ul", W9, [
|
|
8949
8951
|
(f(!0), h(ve, null, ye(o.value, (w) => (f(), h(ve, {
|
|
8950
8952
|
key: w.id
|
|
8951
8953
|
}, [
|
|
8952
|
-
w ? (f(), h("li",
|
|
8954
|
+
w ? (f(), h("li", Y9, [
|
|
8953
8955
|
E(yt, {
|
|
8954
8956
|
"user-name": l(w),
|
|
8955
8957
|
"avatar-url": w.avatarUrl,
|
|
@@ -8959,31 +8961,31 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
8959
8961
|
])) : T("", !0)
|
|
8960
8962
|
], 64))), 128))
|
|
8961
8963
|
]),
|
|
8962
|
-
p.comments || p.attachments ? (f(), h("ul",
|
|
8963
|
-
p.comments ? (f(), h("li",
|
|
8964
|
+
p.comments || p.attachments ? (f(), h("ul", K9, [
|
|
8965
|
+
p.comments ? (f(), h("li", G9, [
|
|
8964
8966
|
E(fe, {
|
|
8965
8967
|
name: "ChatOutline",
|
|
8966
8968
|
size: "sm"
|
|
8967
8969
|
}),
|
|
8968
|
-
v("span",
|
|
8970
|
+
v("span", X9, q(p.comments), 1)
|
|
8969
8971
|
])) : T("", !0),
|
|
8970
|
-
p.attachments ? (f(), h("li",
|
|
8972
|
+
p.attachments ? (f(), h("li", x9, [
|
|
8971
8973
|
E(fe, {
|
|
8972
8974
|
name: "AttachFileRounded",
|
|
8973
8975
|
size: "sm"
|
|
8974
8976
|
}),
|
|
8975
|
-
v("span",
|
|
8977
|
+
v("span", Q9, q(p.attachments), 1)
|
|
8976
8978
|
])) : T("", !0)
|
|
8977
8979
|
])) : T("", !0)
|
|
8978
8980
|
]),
|
|
8979
|
-
v("div",
|
|
8980
|
-
p.tasks && p.tasks.length ? (f(), h("div",
|
|
8981
|
-
v("div",
|
|
8981
|
+
v("div", J9, [
|
|
8982
|
+
p.tasks && p.tasks.length ? (f(), h("div", e4, [
|
|
8983
|
+
v("div", t4, [
|
|
8982
8984
|
E(fe, {
|
|
8983
8985
|
name: "SelectCheckBox",
|
|
8984
8986
|
size: "sm"
|
|
8985
8987
|
}),
|
|
8986
|
-
v("span",
|
|
8988
|
+
v("span", a4, q(c.value) + " / " + q(r.value), 1)
|
|
8987
8989
|
]),
|
|
8988
8990
|
E(Z1, {
|
|
8989
8991
|
percentages: u.value,
|
|
@@ -8997,7 +8999,7 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
8997
8999
|
}));
|
|
8998
9000
|
}
|
|
8999
9001
|
});
|
|
9000
|
-
const
|
|
9002
|
+
const s4 = { class: "ao-project-milestone" }, n4 = { class: "ao-project-milestone__header" }, i4 = { class: "ao-project-milestone__header_line" }, o4 = { class: "ao-project-milestone__title" }, l4 = { key: 0 }, r4 = { class: "ao-field ao-field__inline" }, u4 = { class: "ao-field__label" }, d4 = { class: "ao-project-milestone__body" }, c4 = {
|
|
9001
9003
|
key: 0,
|
|
9002
9004
|
class: "ao-project-milestone__footer"
|
|
9003
9005
|
}, da = /* @__PURE__ */ K({
|
|
@@ -9051,10 +9053,10 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
|
|
|
9051
9053
|
};
|
|
9052
9054
|
return (p, m) => {
|
|
9053
9055
|
var w;
|
|
9054
|
-
return f(), h("div",
|
|
9055
|
-
v("header",
|
|
9056
|
-
v("div",
|
|
9057
|
-
v("div",
|
|
9056
|
+
return f(), h("div", s4, [
|
|
9057
|
+
v("header", n4, [
|
|
9058
|
+
v("div", i4, [
|
|
9059
|
+
v("div", o4, [
|
|
9058
9060
|
v("span", null, q(p.$t("project.milestone.title")), 1),
|
|
9059
9061
|
E(Ce, {
|
|
9060
9062
|
title: ((w = i.value) == null ? void 0 : w.name) || p.milestoneId,
|
|
@@ -9067,9 +9069,9 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
|
|
|
9067
9069
|
onClick: d
|
|
9068
9070
|
})
|
|
9069
9071
|
]),
|
|
9070
|
-
i.value ? (f(), h("div",
|
|
9071
|
-
v("label",
|
|
9072
|
-
v("span",
|
|
9072
|
+
i.value ? (f(), h("div", l4, [
|
|
9073
|
+
v("label", r4, [
|
|
9074
|
+
v("span", u4, q(p.$t("activity.deadline.label")), 1),
|
|
9073
9075
|
Ye(v("input", {
|
|
9074
9076
|
"onUpdate:modelValue": m[0] || (m[0] = (M) => i.value.deadline = M),
|
|
9075
9077
|
class: "ao-field__input",
|
|
@@ -9085,7 +9087,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
|
|
|
9085
9087
|
])
|
|
9086
9088
|
])) : T("", !0)
|
|
9087
9089
|
]),
|
|
9088
|
-
v("div",
|
|
9090
|
+
v("div", d4, [
|
|
9089
9091
|
E(z(Je), Ee({
|
|
9090
9092
|
class: "ao-project-milestone__activities",
|
|
9091
9093
|
list: l.value,
|
|
@@ -9138,7 +9140,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
|
|
|
9138
9140
|
}),
|
|
9139
9141
|
_: 1
|
|
9140
9142
|
}, 16, ["list", "disabled"]),
|
|
9141
|
-
p.isEditable ? (f(), h("div",
|
|
9143
|
+
p.isEditable ? (f(), h("div", c4, [
|
|
9142
9144
|
E(et, {
|
|
9143
9145
|
"icon-name": "Add",
|
|
9144
9146
|
label: p.$t("project.activity.add"),
|
|
@@ -9150,7 +9152,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
|
|
|
9150
9152
|
};
|
|
9151
9153
|
}
|
|
9152
9154
|
});
|
|
9153
|
-
const
|
|
9155
|
+
const f4 = /* @__PURE__ */ K({
|
|
9154
9156
|
__name: "AoProjectOverviewActivityDetails",
|
|
9155
9157
|
props: {
|
|
9156
9158
|
phaseId: {},
|
|
@@ -9234,14 +9236,14 @@ const c4 = /* @__PURE__ */ K({
|
|
|
9234
9236
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : T("", !0);
|
|
9235
9237
|
};
|
|
9236
9238
|
}
|
|
9237
|
-
}),
|
|
9239
|
+
}), v4 = { class: "ao-col-header" }, p4 = /* @__PURE__ */ K({
|
|
9238
9240
|
__name: "AoColHeader",
|
|
9239
9241
|
props: {
|
|
9240
9242
|
title: {},
|
|
9241
9243
|
items: {}
|
|
9242
9244
|
},
|
|
9243
9245
|
setup(t) {
|
|
9244
|
-
return (e, a) => (f(), h("header",
|
|
9246
|
+
return (e, a) => (f(), h("header", v4, [
|
|
9245
9247
|
E(Ce, {
|
|
9246
9248
|
title: e.title,
|
|
9247
9249
|
class: "ao-col-header__title",
|
|
@@ -9257,15 +9259,15 @@ const c4 = /* @__PURE__ */ K({
|
|
|
9257
9259
|
]));
|
|
9258
9260
|
}
|
|
9259
9261
|
});
|
|
9260
|
-
function
|
|
9262
|
+
function h4(t) {
|
|
9261
9263
|
return ms() ? (Cs(t), !0) : !1;
|
|
9262
9264
|
}
|
|
9263
9265
|
function t1(t) {
|
|
9264
9266
|
return typeof t == "function" ? t() : z(t);
|
|
9265
9267
|
}
|
|
9266
|
-
const
|
|
9268
|
+
const m4 = typeof window < "u", C4 = (t) => t != null, Et = () => {
|
|
9267
9269
|
};
|
|
9268
|
-
function
|
|
9270
|
+
function _4(t, e) {
|
|
9269
9271
|
function a(...n) {
|
|
9270
9272
|
return new Promise((s, o) => {
|
|
9271
9273
|
Promise.resolve(t(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(s).catch(o);
|
|
@@ -9273,7 +9275,7 @@ function C4(t, e) {
|
|
|
9273
9275
|
}
|
|
9274
9276
|
return a;
|
|
9275
9277
|
}
|
|
9276
|
-
function
|
|
9278
|
+
function g4(t, e = {}) {
|
|
9277
9279
|
let a, n, s = Et;
|
|
9278
9280
|
const o = (l) => {
|
|
9279
9281
|
clearTimeout(l), s(), s = Et;
|
|
@@ -9289,9 +9291,9 @@ function _4(t, e = {}) {
|
|
|
9289
9291
|
});
|
|
9290
9292
|
};
|
|
9291
9293
|
}
|
|
9292
|
-
function
|
|
9293
|
-
return
|
|
9294
|
-
|
|
9294
|
+
function y4(t, e = 200, a = {}) {
|
|
9295
|
+
return _4(
|
|
9296
|
+
g4(e, a),
|
|
9295
9297
|
t
|
|
9296
9298
|
);
|
|
9297
9299
|
}
|
|
@@ -9300,27 +9302,27 @@ function A1(t) {
|
|
|
9300
9302
|
const a = t1(t);
|
|
9301
9303
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
9302
9304
|
}
|
|
9303
|
-
const
|
|
9304
|
-
function
|
|
9305
|
+
const b4 = m4 ? window : void 0;
|
|
9306
|
+
function w4() {
|
|
9305
9307
|
const t = Q(!1);
|
|
9306
9308
|
return st() && Dt(() => {
|
|
9307
9309
|
t.value = !0;
|
|
9308
9310
|
}), t;
|
|
9309
9311
|
}
|
|
9310
|
-
function
|
|
9311
|
-
const e =
|
|
9312
|
+
function $4(t) {
|
|
9313
|
+
const e = w4();
|
|
9312
9314
|
return b(() => (e.value, !!t()));
|
|
9313
9315
|
}
|
|
9314
|
-
function
|
|
9316
|
+
function k4(t, e, a = {}) {
|
|
9315
9317
|
const {
|
|
9316
9318
|
root: n,
|
|
9317
9319
|
rootMargin: s = "0px",
|
|
9318
9320
|
threshold: o = 0.1,
|
|
9319
|
-
window: i =
|
|
9321
|
+
window: i = b4,
|
|
9320
9322
|
immediate: l = !0
|
|
9321
|
-
} = a, d =
|
|
9323
|
+
} = a, d = $4(() => i && "IntersectionObserver" in i), r = b(() => {
|
|
9322
9324
|
const w = t1(t);
|
|
9323
|
-
return (Array.isArray(w) ? w : [w]).map(A1).filter(
|
|
9325
|
+
return (Array.isArray(w) ? w : [w]).map(A1).filter(C4);
|
|
9324
9326
|
});
|
|
9325
9327
|
let c = Et;
|
|
9326
9328
|
const u = Q(l), p = d.value ? ue(
|
|
@@ -9344,7 +9346,7 @@ function $4(t, e, a = {}) {
|
|
|
9344
9346
|
) : Et, m = () => {
|
|
9345
9347
|
c(), p(), u.value = !1;
|
|
9346
9348
|
};
|
|
9347
|
-
return
|
|
9349
|
+
return h4(m), {
|
|
9348
9350
|
isSupported: d,
|
|
9349
9351
|
isActive: u,
|
|
9350
9352
|
pause() {
|
|
@@ -9356,24 +9358,24 @@ function $4(t, e, a = {}) {
|
|
|
9356
9358
|
stop: m
|
|
9357
9359
|
};
|
|
9358
9360
|
}
|
|
9359
|
-
const
|
|
9361
|
+
const M4 = {
|
|
9360
9362
|
class: /* @__PURE__ */ G(["ao-list-kanban"])
|
|
9361
|
-
},
|
|
9363
|
+
}, A4 = { class: "ao-list-kanban__header" }, T4 = {
|
|
9362
9364
|
key: 0,
|
|
9363
9365
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
9364
|
-
},
|
|
9366
|
+
}, S4 = {
|
|
9365
9367
|
key: 1,
|
|
9366
9368
|
class: "ao-list-kanban__end"
|
|
9367
|
-
},
|
|
9369
|
+
}, E4 = {
|
|
9368
9370
|
key: 0,
|
|
9369
9371
|
class: "ao-list-kanban__no-more"
|
|
9370
|
-
},
|
|
9372
|
+
}, I4 = {
|
|
9371
9373
|
key: 1,
|
|
9372
9374
|
class: "ao-list-kanban__divider"
|
|
9373
|
-
},
|
|
9375
|
+
}, O4 = {
|
|
9374
9376
|
key: 1,
|
|
9375
9377
|
class: "ao-list-kanban__footer"
|
|
9376
|
-
},
|
|
9378
|
+
}, L4 = /* @__PURE__ */ K({
|
|
9377
9379
|
__name: "AoListKanban",
|
|
9378
9380
|
props: {
|
|
9379
9381
|
list: {},
|
|
@@ -9389,7 +9391,7 @@ const k4 = {
|
|
|
9389
9391
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "updateActivity"],
|
|
9390
9392
|
setup(t, { emit: e }) {
|
|
9391
9393
|
const a = t, n = Q(!1), s = Q(null);
|
|
9392
|
-
|
|
9394
|
+
k4(s, ([{ isIntersecting: r }]) => {
|
|
9393
9395
|
n.value = r;
|
|
9394
9396
|
}), ue(n, (r) => {
|
|
9395
9397
|
r && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -9411,12 +9413,12 @@ const k4 = {
|
|
|
9411
9413
|
)
|
|
9412
9414
|
});
|
|
9413
9415
|
}, d = Q(!1);
|
|
9414
|
-
return (r, c) => (f(), h("div",
|
|
9416
|
+
return (r, c) => (f(), h("div", M4, [
|
|
9415
9417
|
r.title || r.$slots.header ? X(r.$slots, "header", { key: 0 }, () => {
|
|
9416
9418
|
var u;
|
|
9417
9419
|
return [
|
|
9418
|
-
v("div",
|
|
9419
|
-
r.title ? (f(), N(
|
|
9420
|
+
v("div", A4, [
|
|
9421
|
+
r.title ? (f(), N(p4, {
|
|
9420
9422
|
key: 0,
|
|
9421
9423
|
title: r.title,
|
|
9422
9424
|
level: 3,
|
|
@@ -9489,20 +9491,20 @@ const k4 = {
|
|
|
9489
9491
|
];
|
|
9490
9492
|
}),
|
|
9491
9493
|
footer: U(() => [
|
|
9492
|
-
r.isLoading ? (f(), h("div",
|
|
9494
|
+
r.isLoading ? (f(), h("div", T4, [
|
|
9493
9495
|
E(fe, { name: "Loading" })
|
|
9494
9496
|
])) : r.hasMore ? (f(), h("div", {
|
|
9495
9497
|
key: 2,
|
|
9496
9498
|
ref_key: "scrollEnd",
|
|
9497
9499
|
ref: s,
|
|
9498
9500
|
class: "ao-list-kanban__end"
|
|
9499
|
-
}, null, 512)) : (f(), h("div",
|
|
9500
|
-
r.noMoreLabel ? (f(), h("span",
|
|
9501
|
+
}, null, 512)) : (f(), h("div", S4, [
|
|
9502
|
+
r.noMoreLabel ? (f(), h("span", E4, q(r.noMoreLabel), 1)) : r.isEditable ? (f(), h("span", I4)) : T("", !0)
|
|
9501
9503
|
]))
|
|
9502
9504
|
]),
|
|
9503
9505
|
_: 1
|
|
9504
9506
|
}, 16, ["class", "list", "disabled"]),
|
|
9505
|
-
r.$slots.footer || r.footerLabel ? (f(), h("div",
|
|
9507
|
+
r.$slots.footer || r.footerLabel ? (f(), h("div", O4, [
|
|
9506
9508
|
X(r.$slots, "footer", {}, () => [
|
|
9507
9509
|
r.isEditable ? (f(), N(et, {
|
|
9508
9510
|
key: 0,
|
|
@@ -9515,7 +9517,7 @@ const k4 = {
|
|
|
9515
9517
|
]));
|
|
9516
9518
|
}
|
|
9517
9519
|
});
|
|
9518
|
-
const
|
|
9520
|
+
const V4 = { class: "ao-field ao-search-field" }, D4 = ["value", "placeholder", "onKeypress"], H4 = /* @__PURE__ */ K({
|
|
9519
9521
|
__name: "AoSearchField",
|
|
9520
9522
|
props: {
|
|
9521
9523
|
modelValue: {},
|
|
@@ -9527,10 +9529,10 @@ const L4 = { class: "ao-field ao-search-field" }, V4 = ["value", "placeholder",
|
|
|
9527
9529
|
const a = t, n = async (i) => {
|
|
9528
9530
|
const d = i.target.value;
|
|
9529
9531
|
e("update:modelValue", d, i);
|
|
9530
|
-
}, s =
|
|
9532
|
+
}, s = y4(n, a.delay), o = (i) => {
|
|
9531
9533
|
e("clear", i);
|
|
9532
9534
|
};
|
|
9533
|
-
return (i, l) => (f(), h("div",
|
|
9535
|
+
return (i, l) => (f(), h("div", V4, [
|
|
9534
9536
|
v("input", {
|
|
9535
9537
|
value: i.modelValue,
|
|
9536
9538
|
type: "text",
|
|
@@ -9539,7 +9541,7 @@ const L4 = { class: "ao-field ao-search-field" }, V4 = ["value", "placeholder",
|
|
|
9539
9541
|
onInput: l[0] || (l[0] = //@ts-ignore
|
|
9540
9542
|
(...d) => z(s) && z(s)(...d)),
|
|
9541
9543
|
onKeypress: Ke(n, ["enter"])
|
|
9542
|
-
}, null, 40,
|
|
9544
|
+
}, null, 40, D4),
|
|
9543
9545
|
E(fe, {
|
|
9544
9546
|
name: "SearchRounded",
|
|
9545
9547
|
class: G(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -9555,7 +9557,7 @@ const L4 = { class: "ao-field ao-search-field" }, V4 = ["value", "placeholder",
|
|
|
9555
9557
|
]));
|
|
9556
9558
|
}
|
|
9557
9559
|
});
|
|
9558
|
-
function
|
|
9560
|
+
function P4(t) {
|
|
9559
9561
|
const e = Q(), a = b(
|
|
9560
9562
|
() => t.value.find(
|
|
9561
9563
|
(s) => s.id === e.value
|
|
@@ -9569,21 +9571,21 @@ function H4(t) {
|
|
|
9569
9571
|
}
|
|
9570
9572
|
};
|
|
9571
9573
|
}
|
|
9572
|
-
const
|
|
9573
|
-
function
|
|
9574
|
-
const e =
|
|
9575
|
-
return _s(
|
|
9574
|
+
const B4 = Symbol.for("FeedStore");
|
|
9575
|
+
function N4(t) {
|
|
9576
|
+
const e = P4(t);
|
|
9577
|
+
return _s(B4, e), e;
|
|
9576
9578
|
}
|
|
9577
|
-
const
|
|
9579
|
+
const R4 = { class: "ao-feed" }, U4 = { class: "ao-feed__filters" }, j4 = { class: "ao-feed__body" }, Z4 = { class: "ao-feed__activity-details__header" }, F4 = {
|
|
9578
9580
|
key: 0,
|
|
9579
9581
|
class: "ao-field ao-feed__activity-details__project"
|
|
9580
|
-
},
|
|
9582
|
+
}, q4 = { class: "ao-field__label" }, z4 = {
|
|
9581
9583
|
key: 1,
|
|
9582
9584
|
class: "ao-field ao-feed__activity-details__project"
|
|
9583
|
-
},
|
|
9585
|
+
}, W4 = { class: "ao-field__label" }, Y4 = {
|
|
9584
9586
|
key: 2,
|
|
9585
9587
|
class: "ao-field ao-feed__activity-details__status"
|
|
9586
|
-
},
|
|
9588
|
+
}, K4 = { class: "ao-field__label" }, G4 = { class: "ao-field__row" }, X4 = { class: "ao-field" }, x4 = { class: "ao-field__label" }, Q4 = /* @__PURE__ */ K({
|
|
9587
9589
|
__name: "AoFeed",
|
|
9588
9590
|
props: {
|
|
9589
9591
|
activities: {},
|
|
@@ -9603,7 +9605,7 @@ const N4 = { class: "ao-feed" }, R4 = { class: "ao-feed__filters" }, U4 = { clas
|
|
|
9603
9605
|
},
|
|
9604
9606
|
emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
|
|
9605
9607
|
setup(t, { emit: e }) {
|
|
9606
|
-
const a = t, { t: n } = nt(), s = vt(a, "activities"), { selectActivity: o, selectedActivity: i } =
|
|
9608
|
+
const a = t, { t: n } = nt(), s = vt(a, "activities"), { selectActivity: o, selectedActivity: i } = N4(s), l = async ($) => {
|
|
9607
9609
|
o($), await e("selectActivity", $);
|
|
9608
9610
|
}, d = Q({}), r = Q(!1), c = Q(!1);
|
|
9609
9611
|
ue(
|
|
@@ -9729,10 +9731,10 @@ const N4 = { class: "ao-feed" }, R4 = { class: "ao-feed__filters" }, U4 = { clas
|
|
|
9729
9731
|
};
|
|
9730
9732
|
return ($, Y) => {
|
|
9731
9733
|
var ie;
|
|
9732
|
-
return f(), h("div",
|
|
9734
|
+
return f(), h("div", R4, [
|
|
9733
9735
|
E(d1, null, {
|
|
9734
9736
|
primary: U(() => [
|
|
9735
|
-
v("div",
|
|
9737
|
+
v("div", U4, [
|
|
9736
9738
|
a.project ? (f(), N(Ra, {
|
|
9737
9739
|
key: 0,
|
|
9738
9740
|
"is-left": !1,
|
|
@@ -9742,7 +9744,7 @@ const N4 = { class: "ao-feed" }, R4 = { class: "ao-feed__filters" }, U4 = { clas
|
|
|
9742
9744
|
H && $.$router.push({ name: z(He).project });
|
|
9743
9745
|
})
|
|
9744
9746
|
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
9745
|
-
E(
|
|
9747
|
+
E(H4, {
|
|
9746
9748
|
"model-value": $.searchText,
|
|
9747
9749
|
placeholder: $.$t("feed.search.placeholder"),
|
|
9748
9750
|
class: "ao-feed__search",
|
|
@@ -9822,8 +9824,8 @@ const N4 = { class: "ao-feed" }, R4 = { class: "ao-feed__filters" }, U4 = { clas
|
|
|
9822
9824
|
]),
|
|
9823
9825
|
_: 1
|
|
9824
9826
|
}),
|
|
9825
|
-
v("div",
|
|
9826
|
-
(f(!0), h(ve, null, ye($.statuses, (H) => (f(), N(
|
|
9827
|
+
v("div", j4, [
|
|
9828
|
+
(f(!0), h(ve, null, ye($.statuses, (H) => (f(), N(L4, {
|
|
9827
9829
|
key: H.id,
|
|
9828
9830
|
status: H,
|
|
9829
9831
|
list: d.value[H.id],
|
|
@@ -9864,9 +9866,9 @@ const N4 = { class: "ao-feed" }, R4 = { class: "ao-feed__filters" }, U4 = { clas
|
|
|
9864
9866
|
header: U(() => {
|
|
9865
9867
|
var H, O, R;
|
|
9866
9868
|
return [
|
|
9867
|
-
v("div",
|
|
9868
|
-
re.value && !a.project ? (f(), h("label",
|
|
9869
|
-
v("span",
|
|
9869
|
+
v("div", Z4, [
|
|
9870
|
+
re.value && !a.project ? (f(), h("label", F4, [
|
|
9871
|
+
v("span", q4, q($.$t("activity.project.label")), 1),
|
|
9870
9872
|
E(be, {
|
|
9871
9873
|
options: re.value,
|
|
9872
9874
|
value: (H = z(i).project) == null ? void 0 : H.id,
|
|
@@ -9876,8 +9878,8 @@ const N4 = { class: "ao-feed" }, R4 = { class: "ao-feed__filters" }, U4 = { clas
|
|
|
9876
9878
|
onChange: F
|
|
9877
9879
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
9878
9880
|
])) : T("", !0),
|
|
9879
|
-
A.value ? (f(), h("label",
|
|
9880
|
-
v("span",
|
|
9881
|
+
A.value ? (f(), h("label", z4, [
|
|
9882
|
+
v("span", W4, q($.$t("activity.milestone.label")), 1),
|
|
9881
9883
|
E(be, {
|
|
9882
9884
|
options: A.value,
|
|
9883
9885
|
value: (O = z(i).milestone) == null ? void 0 : O.id,
|
|
@@ -9887,8 +9889,8 @@ const N4 = { class: "ao-feed" }, R4 = { class: "ao-feed__filters" }, U4 = { clas
|
|
|
9887
9889
|
onChange: j
|
|
9888
9890
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
9889
9891
|
])) : T("", !0),
|
|
9890
|
-
ae.value ? (f(), h("label",
|
|
9891
|
-
v("span",
|
|
9892
|
+
ae.value ? (f(), h("label", Y4, [
|
|
9893
|
+
v("span", K4, q($.$t("activity.status.label")), 1),
|
|
9892
9894
|
E(be, {
|
|
9893
9895
|
options: ae.value,
|
|
9894
9896
|
value: (R = z(i).status) == null ? void 0 : R.id,
|
|
@@ -9903,9 +9905,9 @@ const N4 = { class: "ao-feed" }, R4 = { class: "ao-feed__filters" }, U4 = { clas
|
|
|
9903
9905
|
];
|
|
9904
9906
|
}),
|
|
9905
9907
|
default: U((H) => [
|
|
9906
|
-
v("div",
|
|
9907
|
-
v("label",
|
|
9908
|
-
v("span",
|
|
9908
|
+
v("div", G4, [
|
|
9909
|
+
v("label", X4, [
|
|
9910
|
+
v("span", x4, q($.$t("activity.deadline.label")), 1),
|
|
9909
9911
|
Ye(v("input", {
|
|
9910
9912
|
"onUpdate:modelValue": Y[6] || (Y[6] = (O) => W.value = O),
|
|
9911
9913
|
class: "ao-field__input",
|
|
@@ -9933,7 +9935,7 @@ const ft = {
|
|
|
9933
9935
|
TEMPLATES: "templates",
|
|
9934
9936
|
TEMPLATE_DETAILS: "template_details",
|
|
9935
9937
|
TEMPLATES_LIST: "templates_list"
|
|
9936
|
-
},
|
|
9938
|
+
}, h8 = (t, e = {}) => [
|
|
9937
9939
|
{
|
|
9938
9940
|
path: t,
|
|
9939
9941
|
name: ft.TEMPLATES,
|
|
@@ -9943,7 +9945,7 @@ const ft = {
|
|
|
9943
9945
|
{
|
|
9944
9946
|
path: "",
|
|
9945
9947
|
name: ft.TEMPLATES_LIST,
|
|
9946
|
-
component:
|
|
9948
|
+
component: e8
|
|
9947
9949
|
},
|
|
9948
9950
|
{
|
|
9949
9951
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -9958,7 +9960,7 @@ const ft = {
|
|
|
9958
9960
|
feed: "AoProjectFeed",
|
|
9959
9961
|
milestone: "AoMilestone",
|
|
9960
9962
|
activity: "AoActivity"
|
|
9961
|
-
},
|
|
9963
|
+
}, m8 = (t, e = {}) => [
|
|
9962
9964
|
{
|
|
9963
9965
|
path: t,
|
|
9964
9966
|
...e,
|
|
@@ -9967,7 +9969,7 @@ const ft = {
|
|
|
9967
9969
|
{
|
|
9968
9970
|
path: "",
|
|
9969
9971
|
name: He.project,
|
|
9970
|
-
component:
|
|
9972
|
+
component: B9,
|
|
9971
9973
|
props: !0,
|
|
9972
9974
|
children: [
|
|
9973
9975
|
{
|
|
@@ -9982,7 +9984,7 @@ const ft = {
|
|
|
9982
9984
|
props: { default: !0, modal: !0 },
|
|
9983
9985
|
components: {
|
|
9984
9986
|
default: da,
|
|
9985
|
-
modal:
|
|
9987
|
+
modal: f4
|
|
9986
9988
|
}
|
|
9987
9989
|
}
|
|
9988
9990
|
]
|
|
@@ -9990,12 +9992,12 @@ const ft = {
|
|
|
9990
9992
|
{
|
|
9991
9993
|
path: "feed",
|
|
9992
9994
|
name: He.feed,
|
|
9993
|
-
component:
|
|
9995
|
+
component: Q4,
|
|
9994
9996
|
props: !0
|
|
9995
9997
|
}
|
|
9996
9998
|
]
|
|
9997
9999
|
}
|
|
9998
|
-
],
|
|
10000
|
+
], J4 = { class: "ao-templates" }, e8 = /* @__PURE__ */ K({
|
|
9999
10001
|
__name: "AoTemplatesList",
|
|
10000
10002
|
props: {
|
|
10001
10003
|
templates: {}
|
|
@@ -10035,7 +10037,7 @@ const ft = {
|
|
|
10035
10037
|
});
|
|
10036
10038
|
}
|
|
10037
10039
|
};
|
|
10038
|
-
return (l, d) => (f(), h("div",
|
|
10040
|
+
return (l, d) => (f(), h("div", J4, [
|
|
10039
10041
|
E(d1, null, {
|
|
10040
10042
|
secondary: U(() => [
|
|
10041
10043
|
E(de, {
|
|
@@ -10079,7 +10081,7 @@ const ft = {
|
|
|
10079
10081
|
]));
|
|
10080
10082
|
}
|
|
10081
10083
|
});
|
|
10082
|
-
const
|
|
10084
|
+
const t8 = { class: "ao-field__label" }, a8 = /* @__PURE__ */ K({
|
|
10083
10085
|
__name: "AoField",
|
|
10084
10086
|
props: {
|
|
10085
10087
|
label: {},
|
|
@@ -10089,11 +10091,11 @@ const e8 = { class: "ao-field__label" }, t8 = /* @__PURE__ */ K({
|
|
|
10089
10091
|
return (e, a) => (f(), h("label", {
|
|
10090
10092
|
class: G(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
10091
10093
|
}, [
|
|
10092
|
-
v("span",
|
|
10094
|
+
v("span", t8, q(e.label), 1),
|
|
10093
10095
|
X(e.$slots, "default")
|
|
10094
10096
|
], 2));
|
|
10095
10097
|
}
|
|
10096
|
-
}),
|
|
10098
|
+
}), s8 = ["type", "value", "disabled", "readonly"], C8 = /* @__PURE__ */ K({
|
|
10097
10099
|
__name: "AoInputField",
|
|
10098
10100
|
props: {
|
|
10099
10101
|
label: { default: "" },
|
|
@@ -10110,7 +10112,7 @@ const e8 = { class: "ao-field__label" }, t8 = /* @__PURE__ */ K({
|
|
|
10110
10112
|
), s = (o) => {
|
|
10111
10113
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
10112
10114
|
};
|
|
10113
|
-
return (o, i) => (f(), N(
|
|
10115
|
+
return (o, i) => (f(), N(a8, { label: o.label }, {
|
|
10114
10116
|
default: U(() => [
|
|
10115
10117
|
v("input", Ee({
|
|
10116
10118
|
class: "ao-field__input",
|
|
@@ -10120,12 +10122,12 @@ const e8 = { class: "ao-field__label" }, t8 = /* @__PURE__ */ K({
|
|
|
10120
10122
|
readonly: o.isReadonly
|
|
10121
10123
|
}, {
|
|
10122
10124
|
[gs(n.value)]: i[0] || (i[0] = (l) => s(l.target.value))
|
|
10123
|
-
}), null, 16,
|
|
10125
|
+
}), null, 16, s8)
|
|
10124
10126
|
]),
|
|
10125
10127
|
_: 1
|
|
10126
10128
|
}, 8, ["label"]));
|
|
10127
10129
|
}
|
|
10128
|
-
}),
|
|
10130
|
+
}), n8 = { class: "ao-field" }, i8 = { class: "ao-field__label" }, o8 = ["checked", "disabled"], _8 = /* @__PURE__ */ K({
|
|
10129
10131
|
__name: "AoCheckboxField",
|
|
10130
10132
|
props: {
|
|
10131
10133
|
label: { default: "" },
|
|
@@ -10135,8 +10137,8 @@ const e8 = { class: "ao-field__label" }, t8 = /* @__PURE__ */ K({
|
|
|
10135
10137
|
},
|
|
10136
10138
|
emits: ["update:modelValue"],
|
|
10137
10139
|
setup(t) {
|
|
10138
|
-
return (e, a) => (f(), h("label",
|
|
10139
|
-
v("span",
|
|
10140
|
+
return (e, a) => (f(), h("label", n8, [
|
|
10141
|
+
v("span", i8, q(e.label), 1),
|
|
10140
10142
|
v("input", {
|
|
10141
10143
|
class: "ao-field__input",
|
|
10142
10144
|
type: "checkbox",
|
|
@@ -10149,27 +10151,27 @@ const e8 = { class: "ao-field__label" }, t8 = /* @__PURE__ */ K({
|
|
|
10149
10151
|
((s = n.target) == null ? void 0 : s.checked) ?? !1
|
|
10150
10152
|
);
|
|
10151
10153
|
})
|
|
10152
|
-
}, null, 40,
|
|
10154
|
+
}, null, 40, o8)
|
|
10153
10155
|
]));
|
|
10154
10156
|
}
|
|
10155
10157
|
});
|
|
10156
10158
|
export {
|
|
10157
10159
|
Ua as AoCardFeed,
|
|
10158
|
-
|
|
10159
|
-
|
|
10160
|
-
|
|
10161
|
-
|
|
10160
|
+
_8 as AoCheckboxField,
|
|
10161
|
+
Q4 as AoFeed,
|
|
10162
|
+
a8 as AoField,
|
|
10163
|
+
C8 as AoInputField,
|
|
10162
10164
|
be as AoMultiselect,
|
|
10163
10165
|
K7 as AoTemplateDetails,
|
|
10164
|
-
|
|
10165
|
-
|
|
10166
|
+
c8 as AoTemplates,
|
|
10167
|
+
e8 as AoTemplatesList,
|
|
10166
10168
|
kd as TemplateItemTypeEnum,
|
|
10167
|
-
|
|
10168
|
-
|
|
10169
|
+
v8 as activityFeedStatus,
|
|
10170
|
+
f8 as durationTypes,
|
|
10169
10171
|
dt as feedFilterTypes,
|
|
10170
|
-
|
|
10171
|
-
|
|
10172
|
-
|
|
10172
|
+
m8 as getProjectOverviewRoutes,
|
|
10173
|
+
h8 as getTemplateRoutes,
|
|
10174
|
+
p8 as listUpdateTypes,
|
|
10173
10175
|
T1 as milestoneStatus,
|
|
10174
10176
|
He as projectOverviewRoutes,
|
|
10175
10177
|
bd as ruleComparators,
|