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