@26lights/orcha 0.9.0 → 0.9.1
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/locales/en/translation.json +1 -1
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +316 -318
- package/dist/orcha.umd.js +2 -2
- package/dist/src/composables/useProjectOverviewStore.d.ts +1 -0
- package/dist/src/types/index.d.ts +3 -0
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as G, openBlock as c, createBlock as Z, unref as V, mergeProps as Ie, createElementBlock as p, createElementVNode as r, pushScopeId as fa, popScopeId as Ca, createStaticVNode as _a, computed as _, resolveDynamicComponent as et, normalizeClass as Y, renderSlot as x, toDisplayString as F, createCommentVNode as A, ref as J, watch as pe, nextTick as Ue, withKeys as ht, toHandlers as ga, withCtx as j, createTextVNode as a1, createVNode as y, withModifiers as Ce, Fragment as ue, renderList as _e, toRefs as be, getCurrentInstance as Ze, onMounted as Et, onUnmounted as ya, withDirectives as Xe, vModelText as pt, vModelCheckbox as ba, toRef as ct, Teleport as ft, normalizeStyle as wa, toValue as xt, onBeforeMount as $a, resolveComponent as Ma, getCurrentScope as ka, onScopeDispose as Aa, provide as Ta } from "vue";
|
|
2
2
|
import { RouterView as Sa } from "vue-router";
|
|
3
3
|
import Be from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const i9 = /* @__PURE__ */ G({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -4279,7 +4279,7 @@ function G3(a, e, t) {
|
|
|
4279
4279
|
let Q = h;
|
|
4280
4280
|
if (R.value && P.value) {
|
|
4281
4281
|
let de = ke.value;
|
|
4282
|
-
de || (de = (it,
|
|
4282
|
+
de || (de = (it, t9) => {
|
|
4283
4283
|
let g1 = Jt(X1(it[Te.value]), me.value);
|
|
4284
4284
|
return ge.value ? g1.startsWith(Jt(R.value, me.value)) : g1.indexOf(Jt(R.value, me.value)) !== -1;
|
|
4285
4285
|
}), Q = Q.filter(de);
|
|
@@ -4735,7 +4735,7 @@ function J3(a, e, t) {
|
|
|
4735
4735
|
showDropdown: H
|
|
4736
4736
|
};
|
|
4737
4737
|
}
|
|
4738
|
-
function
|
|
4738
|
+
function e5(a, e, t) {
|
|
4739
4739
|
const {
|
|
4740
4740
|
limit: s,
|
|
4741
4741
|
infinite: n
|
|
@@ -4763,7 +4763,7 @@ function ed(a, e, t) {
|
|
|
4763
4763
|
infiniteLoader: f
|
|
4764
4764
|
};
|
|
4765
4765
|
}
|
|
4766
|
-
function
|
|
4766
|
+
function t5(a, e, t) {
|
|
4767
4767
|
const {
|
|
4768
4768
|
placeholder: s,
|
|
4769
4769
|
id: n,
|
|
@@ -4822,7 +4822,7 @@ function td(a, e, t) {
|
|
|
4822
4822
|
ariaTagLabel: me
|
|
4823
4823
|
};
|
|
4824
4824
|
}
|
|
4825
|
-
function
|
|
4825
|
+
function a5(a, e, t) {
|
|
4826
4826
|
const {
|
|
4827
4827
|
locale: s,
|
|
4828
4828
|
fallbackLocale: n
|
|
@@ -4831,7 +4831,7 @@ function ad(a, e, t) {
|
|
|
4831
4831
|
localize: (i) => !i || typeof i != "object" ? i : i && i[s.value] ? i[s.value] : i && s.value && i[s.value.toUpperCase()] ? i[s.value.toUpperCase()] : i && i[n.value] ? i[n.value] : i && n.value && i[n.value.toUpperCase()] ? i[n.value.toUpperCase()] : i && Object.keys(i)[0] ? i[Object.keys(i)[0]] : ""
|
|
4832
4832
|
};
|
|
4833
4833
|
}
|
|
4834
|
-
function
|
|
4834
|
+
function n5(a, e, t, s = {}) {
|
|
4835
4835
|
return t.forEach((n) => {
|
|
4836
4836
|
n && (s = {
|
|
4837
4837
|
...s,
|
|
@@ -5175,8 +5175,8 @@ var he = {
|
|
|
5175
5175
|
}
|
|
5176
5176
|
},
|
|
5177
5177
|
setup(a, e) {
|
|
5178
|
-
return
|
|
5179
|
-
|
|
5178
|
+
return n5(a, e, [
|
|
5179
|
+
a5,
|
|
5180
5180
|
F3,
|
|
5181
5181
|
z3,
|
|
5182
5182
|
x3,
|
|
@@ -5184,16 +5184,16 @@ var he = {
|
|
|
5184
5184
|
R3,
|
|
5185
5185
|
X3,
|
|
5186
5186
|
G3,
|
|
5187
|
-
|
|
5187
|
+
e5,
|
|
5188
5188
|
K3,
|
|
5189
5189
|
Q3,
|
|
5190
5190
|
J3,
|
|
5191
|
-
|
|
5191
|
+
t5
|
|
5192
5192
|
]);
|
|
5193
5193
|
}
|
|
5194
5194
|
};
|
|
5195
|
-
const
|
|
5196
|
-
function
|
|
5195
|
+
const s5 = ["id", "dir"], i5 = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], l5 = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], o5 = ["onKeyup", "aria-label"], r5 = ["onClick"], u5 = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], d5 = ["innerHTML"], c5 = ["id"], v5 = ["id", "aria-label", "aria-selected"], m5 = ["data-pointed", "onMouseenter", "onClick"], h5 = ["innerHTML"], p5 = ["aria-label"], f5 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], C5 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], _5 = ["innerHTML"], g5 = ["innerHTML"], y5 = ["value"], b5 = ["name", "value"], w5 = ["name", "value"], $5 = ["id"];
|
|
5196
|
+
function M5(a, e, t, s, n, l) {
|
|
5197
5197
|
return c(), p("div", {
|
|
5198
5198
|
ref: "multiselect",
|
|
5199
5199
|
class: Y(a.classList.container),
|
|
@@ -5238,7 +5238,7 @@ function Md(a, e, t, s, n, l) {
|
|
|
5238
5238
|
}, {
|
|
5239
5239
|
...t.attrs,
|
|
5240
5240
|
...a.arias
|
|
5241
|
-
}), null, 16,
|
|
5241
|
+
}), null, 16, l5)) : A("v-if", !0),
|
|
5242
5242
|
A(" Tags (with search) "),
|
|
5243
5243
|
t.mode == "tags" ? (c(), p(
|
|
5244
5244
|
"div",
|
|
@@ -5285,8 +5285,8 @@ function Md(a, e, t, s, n, l) {
|
|
|
5285
5285
|
2
|
|
5286
5286
|
/* CLASS */
|
|
5287
5287
|
)
|
|
5288
|
-
], 10,
|
|
5289
|
-
], 42,
|
|
5288
|
+
], 10, r5)) : A("v-if", !0)
|
|
5289
|
+
], 42, o5))
|
|
5290
5290
|
])),
|
|
5291
5291
|
256
|
|
5292
5292
|
/* UNKEYED_FRAGMENT */
|
|
@@ -5330,7 +5330,7 @@ function Md(a, e, t, s, n, l) {
|
|
|
5330
5330
|
}, {
|
|
5331
5331
|
...t.attrs,
|
|
5332
5332
|
...a.arias
|
|
5333
|
-
}), null, 16,
|
|
5333
|
+
}), null, 16, u5)) : A("v-if", !0)
|
|
5334
5334
|
],
|
|
5335
5335
|
2
|
|
5336
5336
|
/* CLASS */
|
|
@@ -5372,7 +5372,7 @@ function Md(a, e, t, s, n, l) {
|
|
|
5372
5372
|
r("div", {
|
|
5373
5373
|
class: Y(a.classList.multipleLabel),
|
|
5374
5374
|
innerHTML: a.multipleLabelText
|
|
5375
|
-
}, null, 10,
|
|
5375
|
+
}, null, 10, d5)
|
|
5376
5376
|
]) : A("v-if", !0),
|
|
5377
5377
|
A(" Placeholder "),
|
|
5378
5378
|
t.placeholder && !a.hasSelected && !a.search ? x(a.$slots, "placeholder", { key: 4 }, () => [
|
|
@@ -5446,7 +5446,7 @@ function Md(a, e, t, s, n, l) {
|
|
|
5446
5446
|
/* CLASS */
|
|
5447
5447
|
)
|
|
5448
5448
|
]) : A("v-if", !0)
|
|
5449
|
-
], 16,
|
|
5449
|
+
], 16, i5),
|
|
5450
5450
|
A(" Options "),
|
|
5451
5451
|
r(
|
|
5452
5452
|
"div",
|
|
@@ -5486,9 +5486,9 @@ function Md(a, e, t, s, n, l) {
|
|
|
5486
5486
|
}, () => [
|
|
5487
5487
|
r("span", {
|
|
5488
5488
|
innerHTML: a.localize(i[t.groupLabel])
|
|
5489
|
-
}, null, 8,
|
|
5489
|
+
}, null, 8, h5)
|
|
5490
5490
|
])
|
|
5491
|
-
], 42,
|
|
5491
|
+
], 42, m5)),
|
|
5492
5492
|
r("ul", {
|
|
5493
5493
|
class: Y(a.classList.groupOptions),
|
|
5494
5494
|
"aria-label": a.ariaGroupLabel(a.localize(i[t.groupLabel])),
|
|
@@ -5523,12 +5523,12 @@ function Md(a, e, t, s, n, l) {
|
|
|
5523
5523
|
/* TEXT */
|
|
5524
5524
|
)
|
|
5525
5525
|
])
|
|
5526
|
-
], 42,
|
|
5526
|
+
], 42, f5))),
|
|
5527
5527
|
128
|
|
5528
5528
|
/* KEYED_FRAGMENT */
|
|
5529
5529
|
))
|
|
5530
|
-
], 10,
|
|
5531
|
-
], 10,
|
|
5530
|
+
], 10, p5)
|
|
5531
|
+
], 10, v5))),
|
|
5532
5532
|
128
|
|
5533
5533
|
/* KEYED_FRAGMENT */
|
|
5534
5534
|
)) : (c(!0), p(
|
|
@@ -5560,22 +5560,22 @@ function Md(a, e, t, s, n, l) {
|
|
|
5560
5560
|
/* TEXT */
|
|
5561
5561
|
)
|
|
5562
5562
|
])
|
|
5563
|
-
], 42,
|
|
5563
|
+
], 42, C5))),
|
|
5564
5564
|
128
|
|
5565
5565
|
/* KEYED_FRAGMENT */
|
|
5566
5566
|
))
|
|
5567
|
-
], 10,
|
|
5567
|
+
], 10, c5),
|
|
5568
5568
|
a.noOptions ? x(a.$slots, "nooptions", { key: 0 }, () => [
|
|
5569
5569
|
r("div", {
|
|
5570
5570
|
class: Y(a.classList.noOptions),
|
|
5571
5571
|
innerHTML: a.localize(t.noOptionsText)
|
|
5572
|
-
}, null, 10,
|
|
5572
|
+
}, null, 10, _5)
|
|
5573
5573
|
]) : A("v-if", !0),
|
|
5574
5574
|
a.noResults ? x(a.$slots, "noresults", { key: 1 }, () => [
|
|
5575
5575
|
r("div", {
|
|
5576
5576
|
class: Y(a.classList.noResults),
|
|
5577
5577
|
innerHTML: a.localize(t.noResultsText)
|
|
5578
|
-
}, null, 10,
|
|
5578
|
+
}, null, 10, g5)
|
|
5579
5579
|
]) : A("v-if", !0),
|
|
5580
5580
|
t.infinite && a.hasMore ? (c(), p(
|
|
5581
5581
|
"div",
|
|
@@ -5612,7 +5612,7 @@ function Md(a, e, t, s, n, l) {
|
|
|
5612
5612
|
tabindex: "-1",
|
|
5613
5613
|
value: a.textValue,
|
|
5614
5614
|
required: ""
|
|
5615
|
-
}, null, 10,
|
|
5615
|
+
}, null, 10, y5)) : A("v-if", !0),
|
|
5616
5616
|
A(" Native input support "),
|
|
5617
5617
|
t.nativeSupport ? (c(), p(
|
|
5618
5618
|
ue,
|
|
@@ -5623,7 +5623,7 @@ function Md(a, e, t, s, n, l) {
|
|
|
5623
5623
|
type: "hidden",
|
|
5624
5624
|
name: t.name,
|
|
5625
5625
|
value: a.plainValue !== void 0 ? a.plainValue : ""
|
|
5626
|
-
}, null, 8,
|
|
5626
|
+
}, null, 8, b5)) : (c(!0), p(
|
|
5627
5627
|
ue,
|
|
5628
5628
|
{ key: 1 },
|
|
5629
5629
|
_e(a.plainValue, (i, o) => (c(), p("input", {
|
|
@@ -5631,7 +5631,7 @@ function Md(a, e, t, s, n, l) {
|
|
|
5631
5631
|
name: `${t.name}[]`,
|
|
5632
5632
|
value: i,
|
|
5633
5633
|
key: o
|
|
5634
|
-
}, null, 8,
|
|
5634
|
+
}, null, 8, w5))),
|
|
5635
5635
|
128
|
|
5636
5636
|
/* KEYED_FRAGMENT */
|
|
5637
5637
|
))
|
|
@@ -5645,7 +5645,7 @@ function Md(a, e, t, s, n, l) {
|
|
|
5645
5645
|
class: Y(a.classList.assist),
|
|
5646
5646
|
id: a.ariaAssist,
|
|
5647
5647
|
"aria-hidden": "true"
|
|
5648
|
-
}, F(a.ariaLabel), 11, $
|
|
5648
|
+
}, F(a.ariaLabel), 11, $5)) : A("v-if", !0),
|
|
5649
5649
|
A(" Create height for empty input "),
|
|
5650
5650
|
r(
|
|
5651
5651
|
"div",
|
|
@@ -5656,14 +5656,14 @@ function Md(a, e, t, s, n, l) {
|
|
|
5656
5656
|
2
|
|
5657
5657
|
/* CLASS */
|
|
5658
5658
|
)
|
|
5659
|
-
], 42,
|
|
5659
|
+
], 42, s5);
|
|
5660
5660
|
}
|
|
5661
|
-
he.render =
|
|
5661
|
+
he.render = M5;
|
|
5662
5662
|
he.__file = "src/Multiselect.vue";
|
|
5663
|
-
const
|
|
5663
|
+
const k5 = { class: "ao-modal" }, A5 = { class: "ao-modal__header" }, T5 = { class: "ao-modal__header-meta" }, S5 = {
|
|
5664
5664
|
key: 0,
|
|
5665
5665
|
class: "ao-modal__title-group"
|
|
5666
|
-
},
|
|
5666
|
+
}, I5 = { class: "ao-modal__body" }, O5 = {
|
|
5667
5667
|
key: 0,
|
|
5668
5668
|
class: "ao-modal__footer"
|
|
5669
5669
|
}, l1 = /* @__PURE__ */ G({
|
|
@@ -5680,9 +5680,9 @@ const kd = { class: "ao-modal" }, Ad = { class: "ao-modal__header" }, Td = { cla
|
|
|
5680
5680
|
class: "ao-modal__backdrop",
|
|
5681
5681
|
onClick: t[0] || (t[0] = (s) => e.$emit("close"))
|
|
5682
5682
|
}),
|
|
5683
|
-
r("div",
|
|
5684
|
-
r("div",
|
|
5685
|
-
r("div",
|
|
5683
|
+
r("div", k5, [
|
|
5684
|
+
r("div", A5, [
|
|
5685
|
+
r("div", T5, [
|
|
5686
5686
|
y(le, {
|
|
5687
5687
|
"icon-name": "CloseRounded",
|
|
5688
5688
|
variant: "ghost",
|
|
@@ -5690,14 +5690,14 @@ const kd = { class: "ao-modal" }, Ad = { class: "ao-modal__header" }, Td = { cla
|
|
|
5690
5690
|
onClick: t[1] || (t[1] = (s) => e.$emit("close"))
|
|
5691
5691
|
})
|
|
5692
5692
|
]),
|
|
5693
|
-
e.$slots.header ? (c(), p("header",
|
|
5693
|
+
e.$slots.header ? (c(), p("header", S5, [
|
|
5694
5694
|
x(e.$slots, "header")
|
|
5695
5695
|
])) : A("", !0)
|
|
5696
5696
|
]),
|
|
5697
|
-
r("div",
|
|
5697
|
+
r("div", I5, [
|
|
5698
5698
|
x(e.$slots, "default")
|
|
5699
5699
|
]),
|
|
5700
|
-
e.$slots.footer ? (c(), p("footer",
|
|
5700
|
+
e.$slots.footer ? (c(), p("footer", O5, [
|
|
5701
5701
|
x(e.$slots, "footer")
|
|
5702
5702
|
])) : A("", !0)
|
|
5703
5703
|
])
|
|
@@ -5706,13 +5706,13 @@ const kd = { class: "ao-modal" }, Ad = { class: "ao-modal__header" }, Td = { cla
|
|
|
5706
5706
|
});
|
|
5707
5707
|
var A1;
|
|
5708
5708
|
function Fe() {
|
|
5709
|
-
const a =
|
|
5709
|
+
const a = L5(), e = a.appContext.config.globalProperties;
|
|
5710
5710
|
return {
|
|
5711
5711
|
i18next: e.$i18next,
|
|
5712
5712
|
t: e.$t.bind(a.proxy)
|
|
5713
5713
|
};
|
|
5714
5714
|
}
|
|
5715
|
-
function
|
|
5715
|
+
function L5() {
|
|
5716
5716
|
const a = Ze();
|
|
5717
5717
|
if (!a)
|
|
5718
5718
|
throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
|
|
@@ -5738,7 +5738,7 @@ G({
|
|
|
5738
5738
|
};
|
|
5739
5739
|
}
|
|
5740
5740
|
});
|
|
5741
|
-
const
|
|
5741
|
+
const E5 = { class: "ao-tasks" }, V5 = { class: "ao-tasks__list" }, H5 = ["value", "onChange"], D5 = { class: "ao-tasks__list-footer" }, P5 = /* @__PURE__ */ G({
|
|
5742
5742
|
__name: "AoActivityTasks",
|
|
5743
5743
|
props: {
|
|
5744
5744
|
activityId: {},
|
|
@@ -5781,8 +5781,8 @@ const Ed = { class: "ao-tasks" }, Vd = { class: "ao-tasks__list" }, Hd = ["value
|
|
|
5781
5781
|
assigneeId: v
|
|
5782
5782
|
});
|
|
5783
5783
|
};
|
|
5784
|
-
return (v, f) => (c(), p("div",
|
|
5785
|
-
r("ul",
|
|
5784
|
+
return (v, f) => (c(), p("div", E5, [
|
|
5785
|
+
r("ul", V5, [
|
|
5786
5786
|
(c(!0), p(ue, null, _e(v.tasks, (m) => {
|
|
5787
5787
|
var b, $;
|
|
5788
5788
|
return c(), p("li", {
|
|
@@ -5801,7 +5801,7 @@ const Ed = { class: "ao-tasks" }, Vd = { class: "ao-tasks__list" }, Hd = ["value
|
|
|
5801
5801
|
class: "ao-field__input ao-subtask__field",
|
|
5802
5802
|
type: "text",
|
|
5803
5803
|
onChange: (T) => i(T, m.id)
|
|
5804
|
-
}, null, 40,
|
|
5804
|
+
}, null, 40, H5),
|
|
5805
5805
|
v.users ? (c(), Z(V(he), {
|
|
5806
5806
|
key: 1,
|
|
5807
5807
|
value: ($ = m.assignee) == null ? void 0 : $.id,
|
|
@@ -5830,7 +5830,7 @@ const Ed = { class: "ao-tasks" }, Vd = { class: "ao-tasks__list" }, Hd = ["value
|
|
|
5830
5830
|
]);
|
|
5831
5831
|
}), 128))
|
|
5832
5832
|
]),
|
|
5833
|
-
r("div",
|
|
5833
|
+
r("div", D5, [
|
|
5834
5834
|
y(le, {
|
|
5835
5835
|
label: v.$t("activity.tasks.add"),
|
|
5836
5836
|
"icon-name": "Add",
|
|
@@ -5842,13 +5842,13 @@ const Ed = { class: "ao-tasks" }, Vd = { class: "ao-tasks__list" }, Hd = ["value
|
|
|
5842
5842
|
]));
|
|
5843
5843
|
}
|
|
5844
5844
|
});
|
|
5845
|
-
const
|
|
5845
|
+
const N5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], B5 = {
|
|
5846
5846
|
key: 0,
|
|
5847
5847
|
class: "ao-files__list"
|
|
5848
|
-
},
|
|
5848
|
+
}, j5 = ["href"], U5 = { class: "ao-file__title" }, Z5 = {
|
|
5849
5849
|
key: 1,
|
|
5850
5850
|
class: "ao-files__dropzone"
|
|
5851
|
-
},
|
|
5851
|
+
}, R5 = { class: "ao-files__input" }, F5 = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost" }, q5 = { class: "ao-files__placeholder" }, z5 = /* @__PURE__ */ G({
|
|
5852
5852
|
__name: "AoActivityDetailsFiles",
|
|
5853
5853
|
props: {
|
|
5854
5854
|
attachments: {}
|
|
@@ -5903,7 +5903,7 @@ const Nd = ["onDrop", "onDragenter", "onDragover", "onDragleave"], Bd = {
|
|
|
5903
5903
|
onDragover: Ce(i, ["prevent"]),
|
|
5904
5904
|
onDragleave: Ce(o, ["prevent"])
|
|
5905
5905
|
}, [
|
|
5906
|
-
(f = u.attachments) != null && f.length && u.attachments.length > 0 ? (c(), p("ul",
|
|
5906
|
+
(f = u.attachments) != null && f.length && u.attachments.length > 0 ? (c(), p("ul", B5, [
|
|
5907
5907
|
(c(!0), p(ue, null, _e(u.attachments, (m) => (c(), p("li", {
|
|
5908
5908
|
key: m.id,
|
|
5909
5909
|
class: "ao-file"
|
|
@@ -5919,8 +5919,8 @@ const Nd = ["onDrop", "onDragenter", "onDragover", "onDragleave"], Bd = {
|
|
|
5919
5919
|
name: "AttachFileRounded",
|
|
5920
5920
|
size: "sm"
|
|
5921
5921
|
}),
|
|
5922
|
-
r("span",
|
|
5923
|
-
], 8,
|
|
5922
|
+
r("span", U5, F(m.name), 1)
|
|
5923
|
+
], 8, j5),
|
|
5924
5924
|
y(le, {
|
|
5925
5925
|
class: "ao-files__delete-button",
|
|
5926
5926
|
"icon-name": "DeleteOutlineRounded",
|
|
@@ -5931,9 +5931,9 @@ const Nd = ["onDrop", "onDragenter", "onDragover", "onDragleave"], Bd = {
|
|
|
5931
5931
|
onClick: () => t(m)
|
|
5932
5932
|
}, null, 8, ["onClick"])
|
|
5933
5933
|
]))), 128))
|
|
5934
|
-
])) : (c(), p("div",
|
|
5935
|
-
r("label",
|
|
5936
|
-
r("span",
|
|
5934
|
+
])) : (c(), p("div", Z5, [
|
|
5935
|
+
r("label", R5, [
|
|
5936
|
+
r("span", F5, F(u.$t("activity.attachment.button.resting")), 1),
|
|
5937
5937
|
r("input", {
|
|
5938
5938
|
class: "input-field",
|
|
5939
5939
|
type: "file",
|
|
@@ -5943,16 +5943,16 @@ const Nd = ["onDrop", "onDragenter", "onDragover", "onDragleave"], Bd = {
|
|
|
5943
5943
|
onChange: s
|
|
5944
5944
|
}, null, 32)
|
|
5945
5945
|
]),
|
|
5946
|
-
r("span",
|
|
5946
|
+
r("span", q5, F(u.$t("activity.attachment.placeholder.resting")), 1)
|
|
5947
5947
|
]))
|
|
5948
|
-
], 42,
|
|
5948
|
+
], 42, N5);
|
|
5949
5949
|
};
|
|
5950
5950
|
}
|
|
5951
5951
|
});
|
|
5952
|
-
const
|
|
5952
|
+
const W5 = {
|
|
5953
5953
|
key: 0,
|
|
5954
5954
|
class: "ao-activity__category"
|
|
5955
|
-
},
|
|
5955
|
+
}, Y5 = { class: "ao-activity-details__content" }, G5 = { class: "ao-fieldset" }, K5 = { class: "ao-field__row" }, x5 = { class: "ao-field ao-field--full" }, X5 = { class: "ao-field__label" }, Q5 = { class: "ao-field__row" }, J5 = { class: "ao-field" }, ed = { class: "ao-field__label" }, td = { class: "ao-field" }, ad = { class: "ao-field__label" }, nd = { class: "ao-field__row" }, sd = { class: "ao-field ao-field--multiselect" }, id = { class: "ao-field__label" }, ld = { class: "ao-field__row" }, od = { class: "ao-field ao-field--multiselect" }, rd = { class: "ao-field__label" }, ud = { class: "ao-fieldset" }, dd = { class: "ao-fieldset__title" }, cd = { class: "ao-field__row" }, vd = { class: "ao-field ao-field--multiselect" }, md = { class: "ao-field__label" }, hd = { class: "ao-field__row" }, pd = { class: "ao-field ao-field--multiselect" }, fd = { class: "ao-field__label" }, Cd = { class: "ao-field__row" }, _d = { class: "ao-field ao-field--multiselect" }, gd = { class: "ao-field__label" }, yd = { class: "ao-fieldset" }, bd = { class: "ao-fieldset__title" }, wd = { class: "ao-activity-details__aside" }, $d = { class: "ao-fieldset__title" }, o1 = /* @__PURE__ */ G({
|
|
5956
5956
|
__name: "AoActivityDetails",
|
|
5957
5957
|
props: {
|
|
5958
5958
|
activity: {},
|
|
@@ -6088,7 +6088,7 @@ const Wd = {
|
|
|
6088
6088
|
}, {
|
|
6089
6089
|
header: j(() => [
|
|
6090
6090
|
x(C.$slots, "header", {}, () => [
|
|
6091
|
-
C.breadcrumbs ? (c(), p("div",
|
|
6091
|
+
C.breadcrumbs ? (c(), p("div", W5, F(C.breadcrumbs), 1)) : A("", !0),
|
|
6092
6092
|
y(ve, {
|
|
6093
6093
|
title: C.activity.name || C.activity.id,
|
|
6094
6094
|
level: 4,
|
|
@@ -6098,11 +6098,11 @@ const Wd = {
|
|
|
6098
6098
|
])
|
|
6099
6099
|
]),
|
|
6100
6100
|
default: j(() => [
|
|
6101
|
-
r("div",
|
|
6102
|
-
r("fieldset",
|
|
6103
|
-
r("div",
|
|
6104
|
-
r("label",
|
|
6105
|
-
r("span",
|
|
6101
|
+
r("div", Y5, [
|
|
6102
|
+
r("fieldset", G5, [
|
|
6103
|
+
r("div", K5, [
|
|
6104
|
+
r("label", x5, [
|
|
6105
|
+
r("span", X5, F(C.$t("activity.description.label")), 1),
|
|
6106
6106
|
Xe(r("textarea", {
|
|
6107
6107
|
"onUpdate:modelValue": E[0] || (E[0] = (M) => n.value = M),
|
|
6108
6108
|
rows: "4",
|
|
@@ -6120,9 +6120,9 @@ const Wd = {
|
|
|
6120
6120
|
])
|
|
6121
6121
|
])
|
|
6122
6122
|
]),
|
|
6123
|
-
r("div",
|
|
6124
|
-
r("label",
|
|
6125
|
-
r("span",
|
|
6123
|
+
r("div", Q5, [
|
|
6124
|
+
r("label", J5, [
|
|
6125
|
+
r("span", ed, F(C.$t("activity.estimation.label")), 1),
|
|
6126
6126
|
Xe(r("input", {
|
|
6127
6127
|
"onUpdate:modelValue": E[1] || (E[1] = (M) => l.value = M),
|
|
6128
6128
|
class: "ao-field__input",
|
|
@@ -6140,8 +6140,8 @@ const Wd = {
|
|
|
6140
6140
|
]
|
|
6141
6141
|
])
|
|
6142
6142
|
]),
|
|
6143
|
-
r("label",
|
|
6144
|
-
r("span",
|
|
6143
|
+
r("label", td, [
|
|
6144
|
+
r("span", ad, F(C.$t("activity.important.label")), 1),
|
|
6145
6145
|
Xe(r("input", {
|
|
6146
6146
|
"onUpdate:modelValue": E[2] || (E[2] = (M) => i.value = M),
|
|
6147
6147
|
class: "ao-field__input",
|
|
@@ -6156,9 +6156,9 @@ const Wd = {
|
|
|
6156
6156
|
])
|
|
6157
6157
|
])
|
|
6158
6158
|
]),
|
|
6159
|
-
r("div",
|
|
6160
|
-
r("div",
|
|
6161
|
-
r("span",
|
|
6159
|
+
r("div", nd, [
|
|
6160
|
+
r("div", sd, [
|
|
6161
|
+
r("span", id, F(C.$t("activity.assignee.label")), 1),
|
|
6162
6162
|
y(V(he), {
|
|
6163
6163
|
modelValue: P.value,
|
|
6164
6164
|
"onUpdate:modelValue": E[3] || (E[3] = (M) => P.value = M),
|
|
@@ -6179,9 +6179,9 @@ const Wd = {
|
|
|
6179
6179
|
}, 8, ["modelValue", "options", "placeholder"])
|
|
6180
6180
|
])
|
|
6181
6181
|
]),
|
|
6182
|
-
r("div",
|
|
6183
|
-
r("label",
|
|
6184
|
-
r("span",
|
|
6182
|
+
r("div", ld, [
|
|
6183
|
+
r("label", od, [
|
|
6184
|
+
r("span", rd, F(C.$t("activity.type.label")), 1),
|
|
6185
6185
|
y(V(he), {
|
|
6186
6186
|
modelValue: o.value,
|
|
6187
6187
|
"onUpdate:modelValue": E[4] || (E[4] = (M) => o.value = M),
|
|
@@ -6195,17 +6195,17 @@ const Wd = {
|
|
|
6195
6195
|
])
|
|
6196
6196
|
])
|
|
6197
6197
|
]),
|
|
6198
|
-
r("fieldset",
|
|
6199
|
-
r("div",
|
|
6198
|
+
r("fieldset", ud, [
|
|
6199
|
+
r("div", dd, [
|
|
6200
6200
|
y(ie, { name: "FlowsheetOutlineRounded" }),
|
|
6201
6201
|
y(ve, {
|
|
6202
6202
|
level: 4,
|
|
6203
6203
|
title: C.$t("activity.dependencies.title")
|
|
6204
6204
|
}, null, 8, ["title"])
|
|
6205
6205
|
]),
|
|
6206
|
-
r("div",
|
|
6207
|
-
r("label",
|
|
6208
|
-
r("span",
|
|
6206
|
+
r("div", cd, [
|
|
6207
|
+
r("label", vd, [
|
|
6208
|
+
r("span", md, F(C.$t("activity.dependingOn.label")), 1),
|
|
6209
6209
|
y(V(he), {
|
|
6210
6210
|
modelValue: u.value,
|
|
6211
6211
|
"onUpdate:modelValue": E[5] || (E[5] = (M) => u.value = M),
|
|
@@ -6217,9 +6217,9 @@ const Wd = {
|
|
|
6217
6217
|
}, null, 8, ["modelValue", "options"])
|
|
6218
6218
|
])
|
|
6219
6219
|
]),
|
|
6220
|
-
r("div",
|
|
6221
|
-
r("label",
|
|
6222
|
-
r("span",
|
|
6220
|
+
r("div", hd, [
|
|
6221
|
+
r("label", pd, [
|
|
6222
|
+
r("span", fd, F(C.$t("activity.blocking.label")), 1),
|
|
6223
6223
|
y(V(he), {
|
|
6224
6224
|
modelValue: f.value,
|
|
6225
6225
|
"onUpdate:modelValue": E[6] || (E[6] = (M) => f.value = M),
|
|
@@ -6231,9 +6231,9 @@ const Wd = {
|
|
|
6231
6231
|
}, null, 8, ["modelValue", "options"])
|
|
6232
6232
|
])
|
|
6233
6233
|
]),
|
|
6234
|
-
r("div",
|
|
6235
|
-
r("label",
|
|
6236
|
-
r("span",
|
|
6234
|
+
r("div", Cd, [
|
|
6235
|
+
r("label", _d, [
|
|
6236
|
+
r("span", gd, F(C.$t("activity.dependingMilestone.label")), 1),
|
|
6237
6237
|
y(V(he), {
|
|
6238
6238
|
modelValue: $.value,
|
|
6239
6239
|
"onUpdate:modelValue": E[7] || (E[7] = (M) => $.value = M),
|
|
@@ -6246,15 +6246,15 @@ const Wd = {
|
|
|
6246
6246
|
])
|
|
6247
6247
|
])
|
|
6248
6248
|
]),
|
|
6249
|
-
r("fieldset",
|
|
6250
|
-
r("div",
|
|
6249
|
+
r("fieldset", yd, [
|
|
6250
|
+
r("div", bd, [
|
|
6251
6251
|
y(ie, { name: "SelectCheckBox" }),
|
|
6252
6252
|
y(ve, {
|
|
6253
6253
|
level: 4,
|
|
6254
6254
|
title: C.$t("activity.tasks.title")
|
|
6255
6255
|
}, null, 8, ["title"])
|
|
6256
6256
|
]),
|
|
6257
|
-
y(
|
|
6257
|
+
y(P5, {
|
|
6258
6258
|
class: "ao-activity-details__tasks",
|
|
6259
6259
|
tasks: C.activity.tasks || [],
|
|
6260
6260
|
"activity-id": C.activity.id,
|
|
@@ -6267,15 +6267,15 @@ const Wd = {
|
|
|
6267
6267
|
]),
|
|
6268
6268
|
x(C.$slots, "default")
|
|
6269
6269
|
]),
|
|
6270
|
-
r("div",
|
|
6271
|
-
r("div", $
|
|
6270
|
+
r("div", wd, [
|
|
6271
|
+
r("div", $d, [
|
|
6272
6272
|
y(ie, { name: "AttachFileRounded" }),
|
|
6273
6273
|
y(ve, {
|
|
6274
6274
|
level: 4,
|
|
6275
6275
|
title: C.$t("activity.attachments.title")
|
|
6276
6276
|
}, null, 8, ["title"])
|
|
6277
6277
|
]),
|
|
6278
|
-
y(
|
|
6278
|
+
y(z5, {
|
|
6279
6279
|
attachments: C.activity.attachments,
|
|
6280
6280
|
onAdd: ee,
|
|
6281
6281
|
onRemove: se
|
|
@@ -6286,27 +6286,27 @@ const Wd = {
|
|
|
6286
6286
|
}));
|
|
6287
6287
|
}
|
|
6288
6288
|
});
|
|
6289
|
-
const
|
|
6289
|
+
const Md = {
|
|
6290
6290
|
todo: "todo",
|
|
6291
6291
|
done: "done",
|
|
6292
6292
|
archived: "archived"
|
|
6293
|
-
},
|
|
6293
|
+
}, l9 = {
|
|
6294
6294
|
months: "months",
|
|
6295
6295
|
weeks: "weeks",
|
|
6296
6296
|
days: "days"
|
|
6297
|
-
},
|
|
6297
|
+
}, o9 = {
|
|
6298
6298
|
future: "future",
|
|
6299
6299
|
this_month: "this_month",
|
|
6300
6300
|
this_week: "this_week",
|
|
6301
6301
|
today: "today",
|
|
6302
6302
|
done: "done"
|
|
6303
|
-
},
|
|
6303
|
+
}, kd = {
|
|
6304
6304
|
BEFORE: "before",
|
|
6305
6305
|
AFTER: "after"
|
|
6306
|
-
},
|
|
6306
|
+
}, Ad = {
|
|
6307
6307
|
START: "start",
|
|
6308
6308
|
end: "end"
|
|
6309
|
-
},
|
|
6309
|
+
}, Td = {
|
|
6310
6310
|
DAYS: "days",
|
|
6311
6311
|
WEEKS: "weeks",
|
|
6312
6312
|
MONTHS: "months"
|
|
@@ -6317,8 +6317,8 @@ const M5 = {
|
|
|
6317
6317
|
ACTIVITIES: "activities",
|
|
6318
6318
|
TASKS: "tasks"
|
|
6319
6319
|
};
|
|
6320
|
-
var
|
|
6321
|
-
const
|
|
6320
|
+
var Sd = /* @__PURE__ */ ((a) => (a.PHASES = "phases", a.MILESTONES = "milestones", a.ACTIVITIES = "activities", a))(Sd || {});
|
|
6321
|
+
const r9 = {
|
|
6322
6322
|
add: "add",
|
|
6323
6323
|
remove: "remove",
|
|
6324
6324
|
moved: "moved"
|
|
@@ -6326,7 +6326,7 @@ const u9 = {
|
|
|
6326
6326
|
project: "projectId",
|
|
6327
6327
|
type: "typeId",
|
|
6328
6328
|
assignee: "assigneeId"
|
|
6329
|
-
},
|
|
6329
|
+
}, Id = /* @__PURE__ */ G({
|
|
6330
6330
|
__name: "AoRuleLine",
|
|
6331
6331
|
props: {
|
|
6332
6332
|
rule: {},
|
|
@@ -6378,14 +6378,14 @@ const u9 = {
|
|
|
6378
6378
|
set(S) {
|
|
6379
6379
|
e("update:rule", { ...t.rule, comparator: S });
|
|
6380
6380
|
}
|
|
6381
|
-
}), v = _(() => Object.values(
|
|
6381
|
+
}), v = _(() => Object.values(kd)), f = ct(t.rule.trigger), m = _({
|
|
6382
6382
|
get() {
|
|
6383
6383
|
return f.value;
|
|
6384
6384
|
},
|
|
6385
6385
|
set(S) {
|
|
6386
6386
|
e("update:rule", { ...t.rule, trigger: S });
|
|
6387
6387
|
}
|
|
6388
|
-
}), b = _(() => Object.values(
|
|
6388
|
+
}), b = _(() => Object.values(Ad)), $ = _({
|
|
6389
6389
|
get() {
|
|
6390
6390
|
return t.rule.duration;
|
|
6391
6391
|
},
|
|
@@ -6399,7 +6399,7 @@ const u9 = {
|
|
|
6399
6399
|
set(S) {
|
|
6400
6400
|
e("update:rule", { ...t.rule, durationUnit: S });
|
|
6401
6401
|
}
|
|
6402
|
-
}), H = _(() => Object.values(
|
|
6402
|
+
}), H = _(() => Object.values(Td));
|
|
6403
6403
|
return (S, w) => (c(), Z(et(S.tagName), { class: "ao-rule-line" }, {
|
|
6404
6404
|
default: j(() => [
|
|
6405
6405
|
y(V(he), {
|
|
@@ -6450,7 +6450,7 @@ const u9 = {
|
|
|
6450
6450
|
}));
|
|
6451
6451
|
}
|
|
6452
6452
|
});
|
|
6453
|
-
const
|
|
6453
|
+
const Od = { class: "ao-template-rules__body" }, Ld = { class: "ao-template-rules__list" }, Ed = /* @__PURE__ */ G({
|
|
6454
6454
|
__name: "AoTemplateRules",
|
|
6455
6455
|
props: {
|
|
6456
6456
|
templateId: {},
|
|
@@ -6474,9 +6474,9 @@ const O5 = { class: "ao-template-rules__body" }, L5 = { class: "ao-template-rule
|
|
|
6474
6474
|
}, null, 8, ["title"])
|
|
6475
6475
|
]),
|
|
6476
6476
|
default: j(() => [
|
|
6477
|
-
r("div",
|
|
6478
|
-
r("ul",
|
|
6479
|
-
(c(!0), p(ue, null, _e(n.rules, (i) => (c(), Z(
|
|
6477
|
+
r("div", Od, [
|
|
6478
|
+
r("ul", Ld, [
|
|
6479
|
+
(c(!0), p(ue, null, _e(n.rules, (i) => (c(), Z(Id, {
|
|
6480
6480
|
key: i.id,
|
|
6481
6481
|
rule: i,
|
|
6482
6482
|
"template-phases": n.templatePhases,
|
|
@@ -6504,10 +6504,10 @@ function Qe(a, e, t) {
|
|
|
6504
6504
|
rank: l.format()
|
|
6505
6505
|
};
|
|
6506
6506
|
}
|
|
6507
|
-
const
|
|
6507
|
+
const Vd = {
|
|
6508
6508
|
key: 0,
|
|
6509
6509
|
class: "ao-template-details"
|
|
6510
|
-
},
|
|
6510
|
+
}, Hd = { class: "ao-template-details__body" }, Dd = { class: "ao-template-details__cols" }, Pd = { class: "ao-template-details__col" }, Nd = { class: "ao-list__footer" }, Bd = { class: "ao-template-details__col" }, jd = { class: "ao-template-details__col" }, Ud = /* @__PURE__ */ G({
|
|
6511
6511
|
__name: "AoTemplateDetails",
|
|
6512
6512
|
props: {
|
|
6513
6513
|
templateId: {},
|
|
@@ -6725,7 +6725,7 @@ const V5 = {
|
|
|
6725
6725
|
};
|
|
6726
6726
|
return (g, N) => {
|
|
6727
6727
|
var D, K, te, ge, ke, re;
|
|
6728
|
-
return n.value ? (c(), p("div",
|
|
6728
|
+
return n.value ? (c(), p("div", Vd, [
|
|
6729
6729
|
y(Ut, {
|
|
6730
6730
|
"can-go-back": !0,
|
|
6731
6731
|
onGoBack: N[1] || (N[1] = (z) => g.$router.push({ name: V(vt).TEMPLATES_LIST }))
|
|
@@ -6751,9 +6751,9 @@ const V5 = {
|
|
|
6751
6751
|
]),
|
|
6752
6752
|
_: 1
|
|
6753
6753
|
}),
|
|
6754
|
-
r("div",
|
|
6755
|
-
r("ol",
|
|
6756
|
-
r("li",
|
|
6754
|
+
r("div", Hd, [
|
|
6755
|
+
r("ol", Dd, [
|
|
6756
|
+
r("li", Pd, [
|
|
6757
6757
|
y(V(Be), {
|
|
6758
6758
|
"model-value": n.value.phases,
|
|
6759
6759
|
class: "ao-templates__list",
|
|
@@ -6788,7 +6788,7 @@ const V5 = {
|
|
|
6788
6788
|
];
|
|
6789
6789
|
}),
|
|
6790
6790
|
footer: j(() => [
|
|
6791
|
-
r("div",
|
|
6791
|
+
r("div", Nd, [
|
|
6792
6792
|
y(Re, {
|
|
6793
6793
|
"icon-name": "AddBoxOutlineRounded",
|
|
6794
6794
|
label: g.$t("template.phases.add"),
|
|
@@ -6799,7 +6799,7 @@ const V5 = {
|
|
|
6799
6799
|
_: 1
|
|
6800
6800
|
}, 8, ["model-value"])
|
|
6801
6801
|
]),
|
|
6802
|
-
r("li",
|
|
6802
|
+
r("li", Bd, [
|
|
6803
6803
|
l.value ? (c(), Z(B3, {
|
|
6804
6804
|
key: 0,
|
|
6805
6805
|
"template-id": g.templateId,
|
|
@@ -6811,7 +6811,7 @@ const V5 = {
|
|
|
6811
6811
|
onRemoveMilestone: w
|
|
6812
6812
|
}, null, 8, ["template-id", "phase", "milestone-id"])) : A("", !0)
|
|
6813
6813
|
]),
|
|
6814
|
-
r("li",
|
|
6814
|
+
r("li", jd, [
|
|
6815
6815
|
l.value && i.value ? (c(), Z(Z3, {
|
|
6816
6816
|
key: 0,
|
|
6817
6817
|
"template-id": g.templateId,
|
|
@@ -6847,7 +6847,7 @@ const V5 = {
|
|
|
6847
6847
|
}, null, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "onClose"])) : A("", !0)
|
|
6848
6848
|
])),
|
|
6849
6849
|
(c(), Z(ft, { to: "body" }, [
|
|
6850
|
-
E.value ? (c(), Z(
|
|
6850
|
+
E.value ? (c(), Z(Ed, {
|
|
6851
6851
|
key: 0,
|
|
6852
6852
|
"template-id": n.value.id,
|
|
6853
6853
|
rules: n.value.rules || [],
|
|
@@ -6863,10 +6863,10 @@ const V5 = {
|
|
|
6863
6863
|
};
|
|
6864
6864
|
}
|
|
6865
6865
|
});
|
|
6866
|
-
const
|
|
6866
|
+
const Zd = {
|
|
6867
6867
|
key: 0,
|
|
6868
6868
|
class: "ao-card__header"
|
|
6869
|
-
},
|
|
6869
|
+
}, Rd = { class: "ao-card__body" }, Fd = {
|
|
6870
6870
|
key: 1,
|
|
6871
6871
|
class: "ao-card__footer"
|
|
6872
6872
|
}, r1 = /* @__PURE__ */ G({
|
|
@@ -6880,13 +6880,13 @@ const Z5 = {
|
|
|
6880
6880
|
class: Y(["ao-card", { "ao-card--clickable": e.isClickable }])
|
|
6881
6881
|
}, {
|
|
6882
6882
|
default: j(() => [
|
|
6883
|
-
e.$slots.header ? (c(), p("header",
|
|
6883
|
+
e.$slots.header ? (c(), p("header", Zd, [
|
|
6884
6884
|
x(e.$slots, "header")
|
|
6885
6885
|
])) : A("", !0),
|
|
6886
|
-
r("div",
|
|
6886
|
+
r("div", Rd, [
|
|
6887
6887
|
x(e.$slots, "default")
|
|
6888
6888
|
]),
|
|
6889
|
-
e.$slots.footer ? (c(), p("footer",
|
|
6889
|
+
e.$slots.footer ? (c(), p("footer", Fd, [
|
|
6890
6890
|
x(e.$slots, "footer")
|
|
6891
6891
|
])) : A("", !0)
|
|
6892
6892
|
]),
|
|
@@ -6914,10 +6914,10 @@ const u1 = /* @__PURE__ */ G({
|
|
|
6914
6914
|
], 2));
|
|
6915
6915
|
}
|
|
6916
6916
|
});
|
|
6917
|
-
const
|
|
6917
|
+
const qd = { class: "ao-card-project-phase__header" }, zd = { class: "ao-card-project-phase__archive" }, Wd = { class: "ao-card-project-phase__footer" }, Yd = { class: "ao-card-project-phase__footer-row" }, Gd = { class: "ao-card-project-phase__subitem" }, Kd = { class: "ao-card-project-phase__subitem" }, xd = {
|
|
6918
6918
|
key: 1,
|
|
6919
6919
|
class: "ao-card-project-phase__secondary"
|
|
6920
|
-
},
|
|
6920
|
+
}, Xd = /* @__PURE__ */ G({
|
|
6921
6921
|
__name: "AoCardProjectItemPhase",
|
|
6922
6922
|
props: {
|
|
6923
6923
|
id: {},
|
|
@@ -6934,29 +6934,19 @@ const q5 = { class: "ao-card-project-phase__header" }, z5 = { class: "ao-card-pr
|
|
|
6934
6934
|
return (o = t.milestones) == null ? void 0 : o.length;
|
|
6935
6935
|
}), l = _(() => {
|
|
6936
6936
|
var o;
|
|
6937
|
-
return (o = t.milestones) == null ? void 0 : o.filter((d) => d.status ===
|
|
6937
|
+
return (o = t.milestones) == null ? void 0 : o.filter((d) => d.status === Md.done).length;
|
|
6938
6938
|
}), i = _(() => (l.value || 0) / (n.value || 1));
|
|
6939
6939
|
return (o, d) => (c(), Z(r1, { class: "ao-card-project-phase" }, {
|
|
6940
6940
|
header: j(() => [
|
|
6941
|
-
r("div",
|
|
6941
|
+
r("div", qd, [
|
|
6942
6942
|
o.projectName ? (c(), Z(Ht, {
|
|
6943
6943
|
key: 0,
|
|
6944
6944
|
label: o.projectName,
|
|
6945
6945
|
class: "ao-card-project-phase__project",
|
|
6946
6946
|
variant: "solid",
|
|
6947
6947
|
color: "primary"
|
|
6948
|
-
}, null, 8, ["label"])) : A("", !0)
|
|
6949
|
-
|
|
6950
|
-
]),
|
|
6951
|
-
default: j(() => [
|
|
6952
|
-
r("div", z5, [
|
|
6953
|
-
y(ve, {
|
|
6954
|
-
title: o.name || o.id,
|
|
6955
|
-
level: 4,
|
|
6956
|
-
"is-editable": !0,
|
|
6957
|
-
"onUpdate:title": s
|
|
6958
|
-
}, null, 8, ["title"]),
|
|
6959
|
-
r("div", W5, [
|
|
6948
|
+
}, null, 8, ["label"])) : A("", !0),
|
|
6949
|
+
r("div", zd, [
|
|
6960
6950
|
y(le, {
|
|
6961
6951
|
color: "primary",
|
|
6962
6952
|
variant: "ghost",
|
|
@@ -6970,23 +6960,31 @@ const q5 = { class: "ao-card-project-phase__header" }, z5 = { class: "ao-card-pr
|
|
|
6970
6960
|
])
|
|
6971
6961
|
])
|
|
6972
6962
|
]),
|
|
6963
|
+
default: j(() => [
|
|
6964
|
+
y(ve, {
|
|
6965
|
+
title: o.name || o.id,
|
|
6966
|
+
level: 4,
|
|
6967
|
+
"is-editable": !0,
|
|
6968
|
+
"onUpdate:title": s
|
|
6969
|
+
}, null, 8, ["title"])
|
|
6970
|
+
]),
|
|
6973
6971
|
footer: j(() => [
|
|
6974
|
-
r("div",
|
|
6975
|
-
r("div",
|
|
6972
|
+
r("div", Wd, [
|
|
6973
|
+
r("div", Yd, [
|
|
6976
6974
|
n.value ? (c(), p(ue, { key: 0 }, [
|
|
6977
|
-
r("div",
|
|
6975
|
+
r("div", Gd, [
|
|
6978
6976
|
y(ie, {
|
|
6979
6977
|
name: "MountainFlagOutlineRounded",
|
|
6980
6978
|
size: "sm"
|
|
6981
6979
|
}),
|
|
6982
|
-
r("span",
|
|
6980
|
+
r("span", Kd, F(l.value) + " / " + F(n.value), 1)
|
|
6983
6981
|
]),
|
|
6984
6982
|
y(u1, {
|
|
6985
6983
|
percentages: i.value,
|
|
6986
6984
|
class: "ao-card-project-phase__progress"
|
|
6987
6985
|
}, null, 8, ["percentages"])
|
|
6988
6986
|
], 64)) : A("", !0),
|
|
6989
|
-
o.$slots.secondary ? (c(), p("div",
|
|
6987
|
+
o.$slots.secondary ? (c(), p("div", xd, [
|
|
6990
6988
|
x(o.$slots, "secondary")
|
|
6991
6989
|
])) : A("", !0)
|
|
6992
6990
|
])
|
|
@@ -6996,10 +6994,10 @@ const q5 = { class: "ao-card-project-phase__header" }, z5 = { class: "ao-card-pr
|
|
|
6996
6994
|
}));
|
|
6997
6995
|
}
|
|
6998
6996
|
});
|
|
6999
|
-
const
|
|
6997
|
+
const Qd = { class: "ao-card-project-milestone__default" }, Jd = { class: "ao-card-project-milestone__archive" }, ec = { class: "ao-card-project-phase__footer" }, tc = { class: "ao-card-project-phase__footer-row" }, ac = { class: "ao-card-project-phase__subitem" }, nc = { class: "ao-card-project-phase__subitem" }, sc = {
|
|
7000
6998
|
key: 1,
|
|
7001
6999
|
class: "ao-card-project-phase__secondary"
|
|
7002
|
-
},
|
|
7000
|
+
}, ic = /* @__PURE__ */ G({
|
|
7003
7001
|
__name: "AoCardProjectItemMilestone",
|
|
7004
7002
|
props: {
|
|
7005
7003
|
id: {},
|
|
@@ -7027,7 +7025,7 @@ const J5 = { class: "ao-card-project-milestone__default" }, ec = { class: "ao-ca
|
|
|
7027
7025
|
"tag-name": "li"
|
|
7028
7026
|
}, {
|
|
7029
7027
|
default: j(() => [
|
|
7030
|
-
r("div",
|
|
7028
|
+
r("div", Qd, [
|
|
7031
7029
|
y(ve, {
|
|
7032
7030
|
title: o.name || o.id,
|
|
7033
7031
|
level: 5,
|
|
@@ -7035,7 +7033,7 @@ const J5 = { class: "ao-card-project-milestone__default" }, ec = { class: "ao-ca
|
|
|
7035
7033
|
class: "ao-card-project-milestone__title",
|
|
7036
7034
|
"onUpdate:title": i
|
|
7037
7035
|
}, null, 8, ["title"]),
|
|
7038
|
-
r("div",
|
|
7036
|
+
r("div", Jd, [
|
|
7039
7037
|
y(le, {
|
|
7040
7038
|
color: "primary",
|
|
7041
7039
|
variant: "ghost",
|
|
@@ -7050,22 +7048,22 @@ const J5 = { class: "ao-card-project-milestone__default" }, ec = { class: "ao-ca
|
|
|
7050
7048
|
])
|
|
7051
7049
|
]),
|
|
7052
7050
|
footer: j(() => [
|
|
7053
|
-
r("div",
|
|
7054
|
-
r("div",
|
|
7051
|
+
r("div", ec, [
|
|
7052
|
+
r("div", tc, [
|
|
7055
7053
|
s.value ? (c(), p(ue, { key: 0 }, [
|
|
7056
|
-
r("div",
|
|
7054
|
+
r("div", ac, [
|
|
7057
7055
|
y(ie, {
|
|
7058
7056
|
name: "SelectCheckBox",
|
|
7059
7057
|
size: "sm"
|
|
7060
7058
|
}),
|
|
7061
|
-
r("span",
|
|
7059
|
+
r("span", nc, F(n.value) + " / " + F(s.value), 1)
|
|
7062
7060
|
]),
|
|
7063
7061
|
y(u1, {
|
|
7064
7062
|
percentages: l.value,
|
|
7065
7063
|
class: "ao-card-project-phase__progress"
|
|
7066
7064
|
}, null, 8, ["percentages"])
|
|
7067
7065
|
], 64)) : A("", !0),
|
|
7068
|
-
o.$slots.secondary ? (c(), p("div",
|
|
7066
|
+
o.$slots.secondary ? (c(), p("div", sc, [
|
|
7069
7067
|
x(o.$slots, "secondary")
|
|
7070
7068
|
])) : A("", !0)
|
|
7071
7069
|
])
|
|
@@ -7075,7 +7073,7 @@ const J5 = { class: "ao-card-project-milestone__default" }, ec = { class: "ao-ca
|
|
|
7075
7073
|
}));
|
|
7076
7074
|
}
|
|
7077
7075
|
});
|
|
7078
|
-
const
|
|
7076
|
+
const lc = { class: "ao-project-phase" }, oc = { class: "ao-project-phase__drag ao-card__drag" }, rc = { class: "ao-project-phase__col-phase" }, uc = { class: "ao-project-phase__col-milestones" }, dc = { class: "ao-project-phase__milestones" }, cc = { class: "ao-project-phase__milestones-list-footer" }, vc = /* @__PURE__ */ G({
|
|
7079
7077
|
__name: "AoProjectPhase",
|
|
7080
7078
|
props: {
|
|
7081
7079
|
phase: {},
|
|
@@ -7104,15 +7102,15 @@ const oc = { class: "ao-project-phase" }, rc = { class: "ao-project-phase__drag
|
|
|
7104
7102
|
)
|
|
7105
7103
|
});
|
|
7106
7104
|
};
|
|
7107
|
-
return (f, m) => (c(), p("li",
|
|
7108
|
-
r("div",
|
|
7105
|
+
return (f, m) => (c(), p("li", lc, [
|
|
7106
|
+
r("div", oc, [
|
|
7109
7107
|
y(ie, {
|
|
7110
7108
|
name: "DragIndicator",
|
|
7111
7109
|
class: "ao-project-phase__drag-handle"
|
|
7112
7110
|
})
|
|
7113
7111
|
]),
|
|
7114
|
-
r("div",
|
|
7115
|
-
y(
|
|
7112
|
+
r("div", rc, [
|
|
7113
|
+
y(Xd, {
|
|
7116
7114
|
id: f.phase.id,
|
|
7117
7115
|
milestones: l.value,
|
|
7118
7116
|
name: f.phase.name,
|
|
@@ -7121,8 +7119,8 @@ const oc = { class: "ao-project-phase" }, rc = { class: "ao-project-phase__drag
|
|
|
7121
7119
|
onArchivePhase: u
|
|
7122
7120
|
}, null, 8, ["id", "milestones", "name", "project-name"])
|
|
7123
7121
|
]),
|
|
7124
|
-
r("div",
|
|
7125
|
-
r("div",
|
|
7122
|
+
r("div", uc, [
|
|
7123
|
+
r("div", dc, [
|
|
7126
7124
|
y(V(Be), Ie({
|
|
7127
7125
|
class: "ao-project-phase__milestones-list",
|
|
7128
7126
|
list: l.value,
|
|
@@ -7130,7 +7128,7 @@ const oc = { class: "ao-project-phase" }, rc = { class: "ao-project-phase__drag
|
|
|
7130
7128
|
group: "kanban"
|
|
7131
7129
|
}, f.$attrs, { onChange: v }), {
|
|
7132
7130
|
item: j(({ element: b }) => [
|
|
7133
|
-
y(
|
|
7131
|
+
y(ic, {
|
|
7134
7132
|
id: b.id,
|
|
7135
7133
|
name: b.name,
|
|
7136
7134
|
activities: b.activities,
|
|
@@ -7145,7 +7143,7 @@ const oc = { class: "ao-project-phase" }, rc = { class: "ao-project-phase__drag
|
|
|
7145
7143
|
]),
|
|
7146
7144
|
_: 1
|
|
7147
7145
|
}, 16, ["list"]),
|
|
7148
|
-
r("div",
|
|
7146
|
+
r("div", cc, [
|
|
7149
7147
|
y(Re, {
|
|
7150
7148
|
label: f.$t("project.milestone.add"),
|
|
7151
7149
|
class: "ao-project-phase__milestone-add",
|
|
@@ -7158,7 +7156,7 @@ const oc = { class: "ao-project-phase" }, rc = { class: "ao-project-phase__drag
|
|
|
7158
7156
|
]));
|
|
7159
7157
|
}
|
|
7160
7158
|
});
|
|
7161
|
-
const
|
|
7159
|
+
const mc = /* @__PURE__ */ G({
|
|
7162
7160
|
__name: "AoProjectPhases",
|
|
7163
7161
|
props: {
|
|
7164
7162
|
phases: {},
|
|
@@ -7193,7 +7191,7 @@ const hc = /* @__PURE__ */ G({
|
|
|
7193
7191
|
onChange: o
|
|
7194
7192
|
}, {
|
|
7195
7193
|
item: j(({ element: f }) => [
|
|
7196
|
-
y(
|
|
7194
|
+
y(vc, {
|
|
7197
7195
|
phase: f,
|
|
7198
7196
|
"project-name": u.projectName,
|
|
7199
7197
|
onAddMilestone: s,
|
|
@@ -7218,7 +7216,7 @@ function d1() {
|
|
|
7218
7216
|
templates: I1
|
|
7219
7217
|
};
|
|
7220
7218
|
}
|
|
7221
|
-
const
|
|
7219
|
+
const hc = ["onSubmit"], pc = { class: "ao-add-template-modal__form-body" }, fc = { class: "field__row" }, Cc = { class: "ao-add-template-modal__form-footer" }, _c = /* @__PURE__ */ G({
|
|
7222
7220
|
__name: "AoAddTemplateModal",
|
|
7223
7221
|
props: {
|
|
7224
7222
|
projectId: {}
|
|
@@ -7245,8 +7243,8 @@ const pc = ["onSubmit"], fc = { class: "ao-add-template-modal__form-body" }, Cc
|
|
|
7245
7243
|
class: "ao-add-template-modal__form",
|
|
7246
7244
|
onSubmit: Ce(o, ["prevent"])
|
|
7247
7245
|
}, [
|
|
7248
|
-
r("div",
|
|
7249
|
-
r("div",
|
|
7246
|
+
r("div", pc, [
|
|
7247
|
+
r("div", fc, [
|
|
7250
7248
|
y(V(he), {
|
|
7251
7249
|
value: l.value,
|
|
7252
7250
|
options: n.value,
|
|
@@ -7254,7 +7252,7 @@ const pc = ["onSubmit"], fc = { class: "ao-add-template-modal__form-body" }, Cc
|
|
|
7254
7252
|
}, null, 8, ["value", "options"])
|
|
7255
7253
|
])
|
|
7256
7254
|
]),
|
|
7257
|
-
r("footer",
|
|
7255
|
+
r("footer", Cc, [
|
|
7258
7256
|
y(le, {
|
|
7259
7257
|
label: d.$t("project.template.add.label"),
|
|
7260
7258
|
type: "submit",
|
|
@@ -7263,13 +7261,13 @@ const pc = ["onSubmit"], fc = { class: "ao-add-template-modal__form-body" }, Cc
|
|
|
7263
7261
|
onClick: o
|
|
7264
7262
|
}, null, 8, ["label"])
|
|
7265
7263
|
])
|
|
7266
|
-
], 40,
|
|
7264
|
+
], 40, hc)
|
|
7267
7265
|
]),
|
|
7268
7266
|
_: 1
|
|
7269
7267
|
}));
|
|
7270
7268
|
}
|
|
7271
7269
|
});
|
|
7272
|
-
const
|
|
7270
|
+
const gc = { class: "ao-project-overview" }, yc = { class: "ao-project" }, bc = { class: "ao-project__body" }, wc = { class: "ao-project__col-header" }, $c = /* @__PURE__ */ r("div", { class: "ao-project__empty_drag" }, null, -1), Mc = { class: "ao-project__col ao-project__col--phases" }, kc = { class: "ao-project__col-title" }, Ac = { class: "ao-project__col ao-project__col--milestones" }, Tc = { class: "ao-project__col-title" }, Sc = /* @__PURE__ */ G({
|
|
7273
7271
|
__name: "AoProjectOverviewProject",
|
|
7274
7272
|
props: {
|
|
7275
7273
|
project: {},
|
|
@@ -7329,8 +7327,8 @@ const yc = { class: "ao-project-overview" }, bc = { class: "ao-project" }, wc =
|
|
|
7329
7327
|
return (M, q) => {
|
|
7330
7328
|
const ne = Ma("RouterView");
|
|
7331
7329
|
return c(), p(ue, null, [
|
|
7332
|
-
r("div",
|
|
7333
|
-
r("div",
|
|
7330
|
+
r("div", gc, [
|
|
7331
|
+
r("div", yc, [
|
|
7334
7332
|
y(Ut, null, {
|
|
7335
7333
|
primary: j(() => [
|
|
7336
7334
|
y(le, {
|
|
@@ -7347,11 +7345,11 @@ const yc = { class: "ao-project-overview" }, bc = { class: "ao-project" }, wc =
|
|
|
7347
7345
|
]),
|
|
7348
7346
|
_: 1
|
|
7349
7347
|
}),
|
|
7350
|
-
r("div",
|
|
7351
|
-
r("header",
|
|
7352
|
-
|
|
7353
|
-
r("div",
|
|
7354
|
-
r("div",
|
|
7348
|
+
r("div", bc, [
|
|
7349
|
+
r("header", wc, [
|
|
7350
|
+
$c,
|
|
7351
|
+
r("div", Mc, [
|
|
7352
|
+
r("div", kc, [
|
|
7355
7353
|
y(ie, {
|
|
7356
7354
|
class: "ao-project__col-title-icon",
|
|
7357
7355
|
name: "WaterfallChartRounded",
|
|
@@ -7363,8 +7361,8 @@ const yc = { class: "ao-project-overview" }, bc = { class: "ao-project" }, wc =
|
|
|
7363
7361
|
}, null, 8, ["title"])
|
|
7364
7362
|
])
|
|
7365
7363
|
]),
|
|
7366
|
-
r("div",
|
|
7367
|
-
r("div",
|
|
7364
|
+
r("div", Ac, [
|
|
7365
|
+
r("div", Tc, [
|
|
7368
7366
|
y(ie, {
|
|
7369
7367
|
class: "ao-project__col-title-icon",
|
|
7370
7368
|
name: "MountainFlagOutlineRounded",
|
|
@@ -7377,7 +7375,7 @@ const yc = { class: "ao-project-overview" }, bc = { class: "ao-project" }, wc =
|
|
|
7377
7375
|
])
|
|
7378
7376
|
])
|
|
7379
7377
|
]),
|
|
7380
|
-
y(
|
|
7378
|
+
y(mc, {
|
|
7381
7379
|
phases: M.phases,
|
|
7382
7380
|
"project-name": M.project.name,
|
|
7383
7381
|
onAddMilestone: u,
|
|
@@ -7414,7 +7412,7 @@ const yc = { class: "ao-project-overview" }, bc = { class: "ao-project" }, wc =
|
|
|
7414
7412
|
]))
|
|
7415
7413
|
]),
|
|
7416
7414
|
(c(), Z(ft, { to: "body" }, [
|
|
7417
|
-
C.value ? (c(), Z(
|
|
7415
|
+
C.value ? (c(), Z(_c, {
|
|
7418
7416
|
key: 0,
|
|
7419
7417
|
"project-id": M.project.id,
|
|
7420
7418
|
onClose: q[2] || (q[2] = (me) => C.value = !1),
|
|
@@ -7425,31 +7423,31 @@ const yc = { class: "ao-project-overview" }, bc = { class: "ao-project" }, wc =
|
|
|
7425
7423
|
};
|
|
7426
7424
|
}
|
|
7427
7425
|
});
|
|
7428
|
-
const
|
|
7426
|
+
const Ic = { class: "ao-card-feed__header" }, Oc = {
|
|
7429
7427
|
key: 2,
|
|
7430
7428
|
class: "ao-card-feed__header-secondary ao-card-feed__secondary"
|
|
7431
|
-
},
|
|
7429
|
+
}, Lc = { class: "ao-card-feed__body" }, Ec = {
|
|
7432
7430
|
key: 0,
|
|
7433
7431
|
class: "ao-card-feed__breadcrumbs"
|
|
7434
|
-
},
|
|
7432
|
+
}, Vc = {
|
|
7435
7433
|
key: 1,
|
|
7436
7434
|
class: "ao-card-feed__deadline"
|
|
7437
|
-
},
|
|
7435
|
+
}, Hc = { class: "ao-card-feed__footer" }, Dc = { class: "ao-card-feed__footer-row" }, Pc = { class: "ao-assignees" }, Nc = {
|
|
7438
7436
|
key: 0,
|
|
7439
7437
|
class: "ao-assignee"
|
|
7440
|
-
},
|
|
7438
|
+
}, Bc = {
|
|
7441
7439
|
key: 0,
|
|
7442
7440
|
class: "ao-card-feed__subitems"
|
|
7443
|
-
},
|
|
7441
|
+
}, jc = {
|
|
7444
7442
|
key: 0,
|
|
7445
7443
|
class: "ao-card-feed__subitem"
|
|
7446
|
-
},
|
|
7444
|
+
}, Uc = { class: "ao-card-feed__subitem" }, Zc = {
|
|
7447
7445
|
key: 1,
|
|
7448
7446
|
class: "ao-card-feed__subitem"
|
|
7449
|
-
},
|
|
7447
|
+
}, Rc = { class: "ao-card-feed__subitem" }, Fc = { class: "ao-card-feed__footer-row" }, qc = {
|
|
7450
7448
|
key: 0,
|
|
7451
7449
|
class: "ao-card-feed__progress-wrapper"
|
|
7452
|
-
},
|
|
7450
|
+
}, zc = { class: "ao-card-feed__subitem" }, Wc = { class: "ao-card-feed__subitem" }, W1 = /* @__PURE__ */ G({
|
|
7453
7451
|
__name: "AoCardFeed",
|
|
7454
7452
|
props: {
|
|
7455
7453
|
id: {},
|
|
@@ -7488,7 +7486,7 @@ const Oc = { class: "ao-card-feed__header" }, Lc = {
|
|
|
7488
7486
|
"is-clickable": !0
|
|
7489
7487
|
}, {
|
|
7490
7488
|
header: j(() => [
|
|
7491
|
-
r("div",
|
|
7489
|
+
r("div", Ic, [
|
|
7492
7490
|
m.projectName ? (c(), Z(Ht, {
|
|
7493
7491
|
key: 0,
|
|
7494
7492
|
label: m.projectName,
|
|
@@ -7502,31 +7500,31 @@ const Oc = { class: "ao-card-feed__header" }, Lc = {
|
|
|
7502
7500
|
class: "ao-card-feed__important ao-card-feed__header-secondary",
|
|
7503
7501
|
size: "sm"
|
|
7504
7502
|
})) : A("", !0),
|
|
7505
|
-
m.$slots.secondary ? (c(), p("div",
|
|
7503
|
+
m.$slots.secondary ? (c(), p("div", Oc, [
|
|
7506
7504
|
x(m.$slots, "secondary")
|
|
7507
7505
|
])) : A("", !0)
|
|
7508
7506
|
])
|
|
7509
7507
|
]),
|
|
7510
7508
|
default: j(() => [
|
|
7511
|
-
r("div",
|
|
7512
|
-
n.value ? (c(), p("span",
|
|
7509
|
+
r("div", Lc, [
|
|
7510
|
+
n.value ? (c(), p("span", Ec, F(n.value), 1)) : A("", !0),
|
|
7513
7511
|
y(ve, {
|
|
7514
7512
|
title: m.name,
|
|
7515
7513
|
level: 5,
|
|
7516
7514
|
"is-editable": !0,
|
|
7517
7515
|
"onUpdate:title": s
|
|
7518
7516
|
}, null, 8, ["title"]),
|
|
7519
|
-
m.deadline ? (c(), p("span",
|
|
7517
|
+
m.deadline ? (c(), p("span", Vc, F(i.value), 1)) : A("", !0)
|
|
7520
7518
|
])
|
|
7521
7519
|
]),
|
|
7522
7520
|
footer: j(() => [
|
|
7523
|
-
r("div",
|
|
7524
|
-
r("div",
|
|
7525
|
-
r("ul",
|
|
7521
|
+
r("div", Hc, [
|
|
7522
|
+
r("div", Dc, [
|
|
7523
|
+
r("ul", Pc, [
|
|
7526
7524
|
(c(!0), p(ue, null, _e(l.value, ($) => (c(), p(ue, {
|
|
7527
7525
|
key: $.id
|
|
7528
7526
|
}, [
|
|
7529
|
-
$ ? (c(), p("li",
|
|
7527
|
+
$ ? (c(), p("li", Nc, [
|
|
7530
7528
|
y(at, {
|
|
7531
7529
|
"user-name": o($),
|
|
7532
7530
|
"is-closable": !0,
|
|
@@ -7535,31 +7533,31 @@ const Oc = { class: "ao-card-feed__header" }, Lc = {
|
|
|
7535
7533
|
])) : A("", !0)
|
|
7536
7534
|
], 64))), 128))
|
|
7537
7535
|
]),
|
|
7538
|
-
m.comments || m.attachments ? (c(), p("ul",
|
|
7539
|
-
m.comments ? (c(), p("li",
|
|
7536
|
+
m.comments || m.attachments ? (c(), p("ul", Bc, [
|
|
7537
|
+
m.comments ? (c(), p("li", jc, [
|
|
7540
7538
|
y(ie, {
|
|
7541
7539
|
name: "ChatOutline",
|
|
7542
7540
|
size: "sm"
|
|
7543
7541
|
}),
|
|
7544
|
-
r("span",
|
|
7542
|
+
r("span", Uc, F(m.comments), 1)
|
|
7545
7543
|
])) : A("", !0),
|
|
7546
|
-
m.attachments ? (c(), p("li",
|
|
7544
|
+
m.attachments ? (c(), p("li", Zc, [
|
|
7547
7545
|
y(ie, {
|
|
7548
7546
|
name: "AttachFileRounded",
|
|
7549
7547
|
size: "sm"
|
|
7550
7548
|
}),
|
|
7551
|
-
r("span",
|
|
7549
|
+
r("span", Rc, F(m.attachments), 1)
|
|
7552
7550
|
])) : A("", !0)
|
|
7553
7551
|
])) : A("", !0)
|
|
7554
7552
|
]),
|
|
7555
|
-
r("div",
|
|
7556
|
-
m.tasks ? (c(), p("div",
|
|
7557
|
-
r("div",
|
|
7553
|
+
r("div", Fc, [
|
|
7554
|
+
m.tasks ? (c(), p("div", qc, [
|
|
7555
|
+
r("div", zc, [
|
|
7558
7556
|
y(ie, {
|
|
7559
7557
|
name: "SelectCheckBox",
|
|
7560
7558
|
size: "sm"
|
|
7561
7559
|
}),
|
|
7562
|
-
r("span",
|
|
7560
|
+
r("span", Wc, F(v.value) + " / " + F(u.value), 1)
|
|
7563
7561
|
]),
|
|
7564
7562
|
y(u1, {
|
|
7565
7563
|
percentages: f.value,
|
|
@@ -7573,7 +7571,7 @@ const Oc = { class: "ao-card-feed__header" }, Lc = {
|
|
|
7573
7571
|
}));
|
|
7574
7572
|
}
|
|
7575
7573
|
});
|
|
7576
|
-
const
|
|
7574
|
+
const Yc = { class: "ao-project-milestone" }, Gc = { class: "ao-project-milestone__header" }, Kc = { class: "ao-project-milestone__title" }, xc = { class: "ao-project-milestone__body" }, Xc = { class: "ao-project-milestone__footer" }, O1 = /* @__PURE__ */ G({
|
|
7577
7575
|
__name: "AoProjectOverviewMilestoneDetails",
|
|
7578
7576
|
props: {
|
|
7579
7577
|
milestoneId: {},
|
|
@@ -7621,9 +7619,9 @@ const Gc = { class: "ao-project-milestone" }, Kc = { class: "ao-project-mileston
|
|
|
7621
7619
|
};
|
|
7622
7620
|
return (m, b) => {
|
|
7623
7621
|
var $;
|
|
7624
|
-
return c(), p("div",
|
|
7625
|
-
r("header",
|
|
7626
|
-
r("div",
|
|
7622
|
+
return c(), p("div", Yc, [
|
|
7623
|
+
r("header", Gc, [
|
|
7624
|
+
r("div", Kc, [
|
|
7627
7625
|
r("span", null, F(m.$t("project.milestone.title")), 1),
|
|
7628
7626
|
y(ve, {
|
|
7629
7627
|
title: (($ = i.value) == null ? void 0 : $.name) || m.milestoneId,
|
|
@@ -7636,7 +7634,7 @@ const Gc = { class: "ao-project-milestone" }, Kc = { class: "ao-project-mileston
|
|
|
7636
7634
|
onClick: d
|
|
7637
7635
|
})
|
|
7638
7636
|
]),
|
|
7639
|
-
r("div",
|
|
7637
|
+
r("div", xc, [
|
|
7640
7638
|
y(V(Be), Ie({
|
|
7641
7639
|
class: "ao-project-milestone__activities",
|
|
7642
7640
|
list: o.value,
|
|
@@ -7683,7 +7681,7 @@ const Gc = { class: "ao-project-milestone" }, Kc = { class: "ao-project-mileston
|
|
|
7683
7681
|
}),
|
|
7684
7682
|
_: 1
|
|
7685
7683
|
}, 16, ["list"]),
|
|
7686
|
-
r("div",
|
|
7684
|
+
r("div", Xc, [
|
|
7687
7685
|
y(Re, {
|
|
7688
7686
|
"icon-name": "Add",
|
|
7689
7687
|
label: m.$t("project.activity.add"),
|
|
@@ -7695,10 +7693,10 @@ const Gc = { class: "ao-project-milestone" }, Kc = { class: "ao-project-mileston
|
|
|
7695
7693
|
};
|
|
7696
7694
|
}
|
|
7697
7695
|
});
|
|
7698
|
-
const
|
|
7696
|
+
const Qc = { class: "ao-comment" }, Jc = { class: "ao-comment__body" }, e7 = ["contenteditable"], t7 = { class: "ao-comment__created-at" }, a7 = {
|
|
7699
7697
|
key: 1,
|
|
7700
7698
|
class: "ao-comment__footer"
|
|
7701
|
-
},
|
|
7699
|
+
}, n7 = /* @__PURE__ */ G({
|
|
7702
7700
|
__name: "AoComment",
|
|
7703
7701
|
props: {
|
|
7704
7702
|
user: {},
|
|
@@ -7717,22 +7715,22 @@ const Jc = { class: "ao-comment" }, e7 = { class: "ao-comment__body" }, t7 = ["c
|
|
|
7717
7715
|
}), b = () => {
|
|
7718
7716
|
e("remove");
|
|
7719
7717
|
};
|
|
7720
|
-
return ($, T) => (c(), p("li",
|
|
7718
|
+
return ($, T) => (c(), p("li", Qc, [
|
|
7721
7719
|
s.value ? (c(), Z(at, {
|
|
7722
7720
|
key: 0,
|
|
7723
7721
|
"user-name": s.value,
|
|
7724
7722
|
class: "ao-comment__avatar"
|
|
7725
7723
|
}, null, 8, ["user-name"])) : A("", !0),
|
|
7726
|
-
r("div",
|
|
7724
|
+
r("div", Jc, [
|
|
7727
7725
|
r("p", {
|
|
7728
7726
|
ref_key: "commentContent",
|
|
7729
7727
|
ref: n,
|
|
7730
7728
|
class: "ao-comment__content",
|
|
7731
7729
|
contenteditable: V(l)
|
|
7732
|
-
}, F($.content), 9,
|
|
7733
|
-
r("span",
|
|
7730
|
+
}, F($.content), 9, e7),
|
|
7731
|
+
r("span", t7, F(v.value || u.value), 1)
|
|
7734
7732
|
]),
|
|
7735
|
-
$.isEditable ? (c(), p("div",
|
|
7733
|
+
$.isEditable ? (c(), p("div", a7, [
|
|
7736
7734
|
V(l) ? (c(), p(ue, { key: 0 }, [
|
|
7737
7735
|
y(le, {
|
|
7738
7736
|
"icon-name": "CloseRounded",
|
|
@@ -7768,10 +7766,10 @@ const Jc = { class: "ao-comment" }, e7 = { class: "ao-comment__body" }, t7 = ["c
|
|
|
7768
7766
|
]));
|
|
7769
7767
|
}
|
|
7770
7768
|
});
|
|
7771
|
-
const
|
|
7769
|
+
const s7 = { class: "ao-comments" }, i7 = {
|
|
7772
7770
|
key: 0,
|
|
7773
7771
|
class: "ao-comments__list"
|
|
7774
|
-
},
|
|
7772
|
+
}, l7 = { class: "ao-comments__footer" }, o7 = ["onSubmit"], r7 = { class: "ao-field ao-field--full" }, u7 = { class: "ao-field__label" }, d7 = { class: "ao-comments__form-footer" }, Y1 = /* @__PURE__ */ G({
|
|
7775
7773
|
__name: "AoActivityDetailsComments",
|
|
7776
7774
|
props: {
|
|
7777
7775
|
comments: { default: () => [] },
|
|
@@ -7801,9 +7799,9 @@ const i7 = { class: "ao-comments" }, l7 = {
|
|
|
7801
7799
|
};
|
|
7802
7800
|
return (u, v) => {
|
|
7803
7801
|
var f;
|
|
7804
|
-
return c(), p("div",
|
|
7805
|
-
((f = u.comments) == null ? void 0 : f.length) > 0 ? (c(), p("ul",
|
|
7806
|
-
(c(!0), p(ue, null, _e(u.comments, (m) => (c(), Z(
|
|
7802
|
+
return c(), p("div", s7, [
|
|
7803
|
+
((f = u.comments) == null ? void 0 : f.length) > 0 ? (c(), p("ul", i7, [
|
|
7804
|
+
(c(!0), p(ue, null, _e(u.comments, (m) => (c(), Z(n7, {
|
|
7807
7805
|
key: m.id,
|
|
7808
7806
|
user: s(m.author.id),
|
|
7809
7807
|
content: m.message,
|
|
@@ -7815,13 +7813,13 @@ const i7 = { class: "ao-comments" }, l7 = {
|
|
|
7815
7813
|
onRemove: () => d(m.id)
|
|
7816
7814
|
}, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "onEdit", "onRemove"]))), 128))
|
|
7817
7815
|
])) : A("", !0),
|
|
7818
|
-
r("div",
|
|
7816
|
+
r("div", l7, [
|
|
7819
7817
|
r("form", {
|
|
7820
7818
|
class: "ao-comments__form",
|
|
7821
7819
|
onSubmit: Ce(i, ["prevent"])
|
|
7822
7820
|
}, [
|
|
7823
|
-
r("label",
|
|
7824
|
-
r("span",
|
|
7821
|
+
r("label", r7, [
|
|
7822
|
+
r("span", u7, F(u.$t("activity.comment.label")), 1),
|
|
7825
7823
|
Xe(r("textarea", {
|
|
7826
7824
|
"onUpdate:modelValue": v[0] || (v[0] = (m) => l.value = m),
|
|
7827
7825
|
rows: "4",
|
|
@@ -7835,7 +7833,7 @@ const i7 = { class: "ao-comments" }, l7 = {
|
|
|
7835
7833
|
]
|
|
7836
7834
|
])
|
|
7837
7835
|
]),
|
|
7838
|
-
r("div",
|
|
7836
|
+
r("div", d7, [
|
|
7839
7837
|
y(le, {
|
|
7840
7838
|
type: "submit",
|
|
7841
7839
|
"icon-name": "SendRounded",
|
|
@@ -7844,13 +7842,13 @@ const i7 = { class: "ao-comments" }, l7 = {
|
|
|
7844
7842
|
label: u.$t("activity.comment.submit")
|
|
7845
7843
|
}, null, 8, ["label"])
|
|
7846
7844
|
])
|
|
7847
|
-
], 40,
|
|
7845
|
+
], 40, o7)
|
|
7848
7846
|
])
|
|
7849
7847
|
]);
|
|
7850
7848
|
};
|
|
7851
7849
|
}
|
|
7852
7850
|
});
|
|
7853
|
-
const
|
|
7851
|
+
const c7 = { class: "ao-fieldset" }, v7 = { class: "ao-fieldset__title" }, m7 = /* @__PURE__ */ G({
|
|
7854
7852
|
__name: "AoProjectOverviewActivityDetails",
|
|
7855
7853
|
props: {
|
|
7856
7854
|
phaseId: {},
|
|
@@ -7899,8 +7897,8 @@ const v7 = { class: "ao-fieldset" }, m7 = { class: "ao-fieldset__title" }, h7 =
|
|
|
7899
7897
|
onAddSubtask: d
|
|
7900
7898
|
}, {
|
|
7901
7899
|
default: j(() => [
|
|
7902
|
-
r("fieldset",
|
|
7903
|
-
r("div",
|
|
7900
|
+
r("fieldset", c7, [
|
|
7901
|
+
r("div", v7, [
|
|
7904
7902
|
y(ie, { name: "ChatOutline" }),
|
|
7905
7903
|
y(ve, {
|
|
7906
7904
|
level: 4,
|
|
@@ -7924,7 +7922,7 @@ const v7 = { class: "ao-fieldset" }, m7 = { class: "ao-fieldset__title" }, h7 =
|
|
|
7924
7922
|
TEMPLATES: "templates",
|
|
7925
7923
|
TEMPLATE_DETAILS: "template_details",
|
|
7926
7924
|
TEMPLATES_LIST: "templates_list"
|
|
7927
|
-
},
|
|
7925
|
+
}, u9 = (a, e = {}) => [
|
|
7928
7926
|
{
|
|
7929
7927
|
path: a,
|
|
7930
7928
|
name: vt.TEMPLATES,
|
|
@@ -7933,12 +7931,12 @@ const v7 = { class: "ao-fieldset" }, m7 = { class: "ao-fieldset__title" }, h7 =
|
|
|
7933
7931
|
{
|
|
7934
7932
|
path: "",
|
|
7935
7933
|
name: vt.TEMPLATES_LIST,
|
|
7936
|
-
component:
|
|
7934
|
+
component: p7
|
|
7937
7935
|
},
|
|
7938
7936
|
{
|
|
7939
7937
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
7940
7938
|
name: vt.TEMPLATE_DETAILS,
|
|
7941
|
-
component:
|
|
7939
|
+
component: Ud,
|
|
7942
7940
|
props: !0
|
|
7943
7941
|
}
|
|
7944
7942
|
]
|
|
@@ -7947,7 +7945,7 @@ const v7 = { class: "ao-fieldset" }, m7 = { class: "ao-fieldset__title" }, h7 =
|
|
|
7947
7945
|
project: "AoProject",
|
|
7948
7946
|
milestone: "AoMilestone",
|
|
7949
7947
|
activity: "AoActivity"
|
|
7950
|
-
},
|
|
7948
|
+
}, d9 = (a, e = {}) => [
|
|
7951
7949
|
{
|
|
7952
7950
|
path: a,
|
|
7953
7951
|
...e,
|
|
@@ -7955,7 +7953,7 @@ const v7 = { class: "ao-fieldset" }, m7 = { class: "ao-fieldset__title" }, h7 =
|
|
|
7955
7953
|
{
|
|
7956
7954
|
path: "",
|
|
7957
7955
|
name: Je.project,
|
|
7958
|
-
component:
|
|
7956
|
+
component: Sc,
|
|
7959
7957
|
props: !0,
|
|
7960
7958
|
children: [
|
|
7961
7959
|
{
|
|
@@ -7970,14 +7968,14 @@ const v7 = { class: "ao-fieldset" }, m7 = { class: "ao-fieldset__title" }, h7 =
|
|
|
7970
7968
|
props: { default: !0, modal: !0 },
|
|
7971
7969
|
components: {
|
|
7972
7970
|
default: O1,
|
|
7973
|
-
modal:
|
|
7971
|
+
modal: m7
|
|
7974
7972
|
}
|
|
7975
7973
|
}
|
|
7976
7974
|
]
|
|
7977
7975
|
}
|
|
7978
7976
|
]
|
|
7979
7977
|
}
|
|
7980
|
-
],
|
|
7978
|
+
], h7 = { class: "ao-templates" }, p7 = /* @__PURE__ */ G({
|
|
7981
7979
|
__name: "AoTemplatesList",
|
|
7982
7980
|
props: {
|
|
7983
7981
|
templates: {}
|
|
@@ -8013,7 +8011,7 @@ const v7 = { class: "ao-fieldset" }, m7 = { class: "ao-fieldset__title" }, h7 =
|
|
|
8013
8011
|
});
|
|
8014
8012
|
}
|
|
8015
8013
|
};
|
|
8016
|
-
return (o, d) => (c(), p("div",
|
|
8014
|
+
return (o, d) => (c(), p("div", h7, [
|
|
8017
8015
|
y(Ut, null, {
|
|
8018
8016
|
secondary: j(() => [
|
|
8019
8017
|
y(le, {
|
|
@@ -8056,14 +8054,14 @@ const v7 = { class: "ao-fieldset" }, m7 = { class: "ao-fieldset__title" }, h7 =
|
|
|
8056
8054
|
]));
|
|
8057
8055
|
}
|
|
8058
8056
|
});
|
|
8059
|
-
const
|
|
8057
|
+
const f7 = { class: "ao-col-header" }, C7 = /* @__PURE__ */ G({
|
|
8060
8058
|
__name: "AoColHeader",
|
|
8061
8059
|
props: {
|
|
8062
8060
|
title: {},
|
|
8063
8061
|
items: {}
|
|
8064
8062
|
},
|
|
8065
8063
|
setup(a) {
|
|
8066
|
-
return (e, t) => (c(), p("header",
|
|
8064
|
+
return (e, t) => (c(), p("header", f7, [
|
|
8067
8065
|
y(ve, {
|
|
8068
8066
|
title: e.title,
|
|
8069
8067
|
class: "ao-col-header__title",
|
|
@@ -8079,15 +8077,15 @@ const C7 = { class: "ao-col-header" }, _7 = /* @__PURE__ */ G({
|
|
|
8079
8077
|
]));
|
|
8080
8078
|
}
|
|
8081
8079
|
});
|
|
8082
|
-
function
|
|
8080
|
+
function _7(a) {
|
|
8083
8081
|
return ka() ? (Aa(a), !0) : !1;
|
|
8084
8082
|
}
|
|
8085
8083
|
function Lt(a) {
|
|
8086
8084
|
return typeof a == "function" ? a() : V(a);
|
|
8087
8085
|
}
|
|
8088
|
-
const
|
|
8086
|
+
const g7 = typeof window < "u", y7 = (a) => a != null, mt = () => {
|
|
8089
8087
|
};
|
|
8090
|
-
function
|
|
8088
|
+
function b7(a, e) {
|
|
8091
8089
|
function t(...s) {
|
|
8092
8090
|
return new Promise((n, l) => {
|
|
8093
8091
|
Promise.resolve(a(() => e.apply(this, s), { fn: e, thisArg: this, args: s })).then(n).catch(l);
|
|
@@ -8095,7 +8093,7 @@ function w7(a, e) {
|
|
|
8095
8093
|
}
|
|
8096
8094
|
return t;
|
|
8097
8095
|
}
|
|
8098
|
-
function
|
|
8096
|
+
function w7(a, e = {}) {
|
|
8099
8097
|
let t, s, n = mt;
|
|
8100
8098
|
const l = (o) => {
|
|
8101
8099
|
clearTimeout(o), n(), n = mt;
|
|
@@ -8111,9 +8109,9 @@ function $7(a, e = {}) {
|
|
|
8111
8109
|
});
|
|
8112
8110
|
};
|
|
8113
8111
|
}
|
|
8114
|
-
function
|
|
8115
|
-
return
|
|
8116
|
-
|
|
8112
|
+
function $7(a, e = 200, t = {}) {
|
|
8113
|
+
return b7(
|
|
8114
|
+
w7(e, t),
|
|
8117
8115
|
a
|
|
8118
8116
|
);
|
|
8119
8117
|
}
|
|
@@ -8122,27 +8120,27 @@ function e1(a) {
|
|
|
8122
8120
|
const t = Lt(a);
|
|
8123
8121
|
return (e = t == null ? void 0 : t.$el) != null ? e : t;
|
|
8124
8122
|
}
|
|
8125
|
-
const
|
|
8126
|
-
function
|
|
8123
|
+
const M7 = g7 ? window : void 0;
|
|
8124
|
+
function k7() {
|
|
8127
8125
|
const a = J(!1);
|
|
8128
8126
|
return Ze() && Et(() => {
|
|
8129
8127
|
a.value = !0;
|
|
8130
8128
|
}), a;
|
|
8131
8129
|
}
|
|
8132
|
-
function
|
|
8133
|
-
const e =
|
|
8130
|
+
function A7(a) {
|
|
8131
|
+
const e = k7();
|
|
8134
8132
|
return _(() => (e.value, !!a()));
|
|
8135
8133
|
}
|
|
8136
|
-
function
|
|
8134
|
+
function T7(a, e, t = {}) {
|
|
8137
8135
|
const {
|
|
8138
8136
|
root: s,
|
|
8139
8137
|
rootMargin: n = "0px",
|
|
8140
8138
|
threshold: l = 0.1,
|
|
8141
|
-
window: i =
|
|
8139
|
+
window: i = M7,
|
|
8142
8140
|
immediate: o = !0
|
|
8143
|
-
} = t, d =
|
|
8141
|
+
} = t, d = A7(() => i && "IntersectionObserver" in i), u = _(() => {
|
|
8144
8142
|
const $ = Lt(a);
|
|
8145
|
-
return (Array.isArray($) ? $ : [$]).map(e1).filter(
|
|
8143
|
+
return (Array.isArray($) ? $ : [$]).map(e1).filter(y7);
|
|
8146
8144
|
});
|
|
8147
8145
|
let v = mt;
|
|
8148
8146
|
const f = J(o), m = d.value ? pe(
|
|
@@ -8166,7 +8164,7 @@ function S7(a, e, t = {}) {
|
|
|
8166
8164
|
) : mt, b = () => {
|
|
8167
8165
|
v(), m(), f.value = !1;
|
|
8168
8166
|
};
|
|
8169
|
-
return
|
|
8167
|
+
return _7(b), {
|
|
8170
8168
|
isSupported: d,
|
|
8171
8169
|
isActive: f,
|
|
8172
8170
|
pause() {
|
|
@@ -8178,24 +8176,24 @@ function S7(a, e, t = {}) {
|
|
|
8178
8176
|
stop: b
|
|
8179
8177
|
};
|
|
8180
8178
|
}
|
|
8181
|
-
const
|
|
8179
|
+
const S7 = {
|
|
8182
8180
|
class: /* @__PURE__ */ Y(["ao-list-kanban"])
|
|
8183
|
-
},
|
|
8181
|
+
}, I7 = { class: "ao-list-kanban__header" }, O7 = {
|
|
8184
8182
|
key: 0,
|
|
8185
8183
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
8186
|
-
},
|
|
8184
|
+
}, L7 = {
|
|
8187
8185
|
key: 1,
|
|
8188
8186
|
class: "ao-list-kanban__end"
|
|
8189
|
-
},
|
|
8187
|
+
}, E7 = {
|
|
8190
8188
|
key: 0,
|
|
8191
8189
|
class: "ao-list-kanban__no-more"
|
|
8192
|
-
},
|
|
8190
|
+
}, V7 = {
|
|
8193
8191
|
key: 1,
|
|
8194
8192
|
class: "ao-list-kanban__divider"
|
|
8195
|
-
},
|
|
8193
|
+
}, H7 = {
|
|
8196
8194
|
key: 1,
|
|
8197
8195
|
class: "ao-list-kanban__footer"
|
|
8198
|
-
},
|
|
8196
|
+
}, D7 = /* @__PURE__ */ G({
|
|
8199
8197
|
__name: "AoListKanban",
|
|
8200
8198
|
props: {
|
|
8201
8199
|
list: {},
|
|
@@ -8210,7 +8208,7 @@ const I7 = {
|
|
|
8210
8208
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "updateActivity"],
|
|
8211
8209
|
setup(a, { emit: e }) {
|
|
8212
8210
|
const t = a, s = J(!1), n = J(null);
|
|
8213
|
-
|
|
8211
|
+
T7(n, ([{ isIntersecting: d }]) => {
|
|
8214
8212
|
s.value = d;
|
|
8215
8213
|
}), pe(s, (d) => {
|
|
8216
8214
|
d && t.hasMore && !t.isLoading && e("loadMore");
|
|
@@ -8233,12 +8231,12 @@ const I7 = {
|
|
|
8233
8231
|
)
|
|
8234
8232
|
});
|
|
8235
8233
|
};
|
|
8236
|
-
return (d, u) => (c(), p("div",
|
|
8234
|
+
return (d, u) => (c(), p("div", S7, [
|
|
8237
8235
|
d.title || d.$slots.header ? x(d.$slots, "header", { key: 0 }, () => {
|
|
8238
8236
|
var v;
|
|
8239
8237
|
return [
|
|
8240
|
-
r("div",
|
|
8241
|
-
d.title ? (c(), Z(
|
|
8238
|
+
r("div", I7, [
|
|
8239
|
+
d.title ? (c(), Z(C7, {
|
|
8242
8240
|
key: 0,
|
|
8243
8241
|
title: d.title,
|
|
8244
8242
|
level: 3,
|
|
@@ -8293,20 +8291,20 @@ const I7 = {
|
|
|
8293
8291
|
];
|
|
8294
8292
|
}),
|
|
8295
8293
|
footer: j(() => [
|
|
8296
|
-
d.isLoading ? (c(), p("div",
|
|
8294
|
+
d.isLoading ? (c(), p("div", O7, [
|
|
8297
8295
|
y(ie, { name: "Loading" })
|
|
8298
8296
|
])) : d.hasMore ? (c(), p("div", {
|
|
8299
8297
|
key: 2,
|
|
8300
8298
|
ref_key: "scrollEnd",
|
|
8301
8299
|
ref: n,
|
|
8302
8300
|
class: "ao-list-kanban__end"
|
|
8303
|
-
}, null, 512)) : (c(), p("div",
|
|
8304
|
-
d.noMoreLabel ? (c(), p("span",
|
|
8301
|
+
}, null, 512)) : (c(), p("div", L7, [
|
|
8302
|
+
d.noMoreLabel ? (c(), p("span", E7, F(d.noMoreLabel), 1)) : (c(), p("span", V7))
|
|
8305
8303
|
]))
|
|
8306
8304
|
]),
|
|
8307
8305
|
_: 1
|
|
8308
8306
|
}, 16, ["list"]),
|
|
8309
|
-
d.$slots.footer || d.footerLabel ? (c(), p("div",
|
|
8307
|
+
d.$slots.footer || d.footerLabel ? (c(), p("div", H7, [
|
|
8310
8308
|
x(d.$slots, "footer", {}, () => [
|
|
8311
8309
|
y(Re, {
|
|
8312
8310
|
"icon-name": "AddBoxOutlineRounded",
|
|
@@ -8318,7 +8316,7 @@ const I7 = {
|
|
|
8318
8316
|
]));
|
|
8319
8317
|
}
|
|
8320
8318
|
});
|
|
8321
|
-
const
|
|
8319
|
+
const P7 = { class: "ao-field ao-search-field" }, N7 = ["value", "placeholder", "onKeypress"], B7 = /* @__PURE__ */ G({
|
|
8322
8320
|
__name: "AoSearchField",
|
|
8323
8321
|
props: {
|
|
8324
8322
|
modelValue: {},
|
|
@@ -8330,10 +8328,10 @@ const N7 = { class: "ao-field ao-search-field" }, B7 = ["value", "placeholder",
|
|
|
8330
8328
|
const t = a, s = async (i) => {
|
|
8331
8329
|
const d = i.target.value;
|
|
8332
8330
|
e("update:modelValue", d, i);
|
|
8333
|
-
}, n =
|
|
8331
|
+
}, n = $7(s, t.delay), l = (i) => {
|
|
8334
8332
|
e("clear", i);
|
|
8335
8333
|
};
|
|
8336
|
-
return (i, o) => (c(), p("div",
|
|
8334
|
+
return (i, o) => (c(), p("div", P7, [
|
|
8337
8335
|
r("input", {
|
|
8338
8336
|
value: i.modelValue,
|
|
8339
8337
|
type: "text",
|
|
@@ -8342,7 +8340,7 @@ const N7 = { class: "ao-field ao-search-field" }, B7 = ["value", "placeholder",
|
|
|
8342
8340
|
onInput: o[0] || (o[0] = //@ts-ignore
|
|
8343
8341
|
(...d) => V(n) && V(n)(...d)),
|
|
8344
8342
|
onKeypress: ht(s, ["enter"])
|
|
8345
|
-
}, null, 40,
|
|
8343
|
+
}, null, 40, N7),
|
|
8346
8344
|
y(ie, {
|
|
8347
8345
|
name: "SearchRounded",
|
|
8348
8346
|
class: Y(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -8358,7 +8356,7 @@ const N7 = { class: "ao-field ao-search-field" }, B7 = ["value", "placeholder",
|
|
|
8358
8356
|
]));
|
|
8359
8357
|
}
|
|
8360
8358
|
});
|
|
8361
|
-
function
|
|
8359
|
+
function j7(a) {
|
|
8362
8360
|
const e = J(), t = _(
|
|
8363
8361
|
() => a.value.find(
|
|
8364
8362
|
(n) => n.id === e.value
|
|
@@ -8372,12 +8370,12 @@ function U7(a) {
|
|
|
8372
8370
|
}
|
|
8373
8371
|
};
|
|
8374
8372
|
}
|
|
8375
|
-
const
|
|
8376
|
-
function
|
|
8377
|
-
const e =
|
|
8378
|
-
return Ta(
|
|
8373
|
+
const U7 = Symbol.for("FeedStore");
|
|
8374
|
+
function Z7(a) {
|
|
8375
|
+
const e = j7(a);
|
|
8376
|
+
return Ta(U7, e), e;
|
|
8379
8377
|
}
|
|
8380
|
-
const
|
|
8378
|
+
const R7 = { class: "ao-feed" }, F7 = { class: "ao-feed__filters" }, q7 = { class: "ao-field ao-field--inline" }, z7 = ["checked"], W7 = { class: "ao-field__label" }, Y7 = { class: "ao-feed__body" }, G7 = { class: "ao-field" }, K7 = { class: "ao-field__label" }, x7 = { class: "ao-fieldset" }, X7 = { class: "ao-field" }, Q7 = { class: "ao-field__label" }, J7 = { class: "ao-fieldset" }, e9 = { class: "ao-fieldset__title" }, c9 = /* @__PURE__ */ G({
|
|
8381
8379
|
__name: "AoFeed",
|
|
8382
8380
|
props: {
|
|
8383
8381
|
activities: {},
|
|
@@ -8393,7 +8391,7 @@ const F7 = { class: "ao-feed" }, q7 = { class: "ao-feed__filters" }, z7 = { clas
|
|
|
8393
8391
|
},
|
|
8394
8392
|
emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
|
|
8395
8393
|
setup(a, { emit: e }) {
|
|
8396
|
-
const t = a, { t: s } = Fe(), n = ct(t, "activities"), { selectActivity: l, selectedActivity: i } =
|
|
8394
|
+
const t = a, { t: s } = Fe(), n = ct(t, "activities"), { selectActivity: l, selectedActivity: i } = Z7(n), o = J({});
|
|
8397
8395
|
pe(
|
|
8398
8396
|
[() => t.statuses, () => t.activities],
|
|
8399
8397
|
([k, U]) => {
|
|
@@ -8481,16 +8479,16 @@ const F7 = { class: "ao-feed" }, q7 = { class: "ao-feed__filters" }, z7 = { clas
|
|
|
8481
8479
|
};
|
|
8482
8480
|
return (k, U) => {
|
|
8483
8481
|
var oe;
|
|
8484
|
-
return c(), p("div",
|
|
8482
|
+
return c(), p("div", R7, [
|
|
8485
8483
|
y(Ut, null, {
|
|
8486
8484
|
primary: j(() => [
|
|
8487
|
-
y(
|
|
8485
|
+
y(B7, {
|
|
8488
8486
|
"model-value": k.searchText,
|
|
8489
8487
|
placeholder: k.$t("feed.search.placeholder"),
|
|
8490
8488
|
"onUpdate:modelValue": U[0] || (U[0] = (g) => k.$emit("update:searchText", g)),
|
|
8491
8489
|
onClear: P
|
|
8492
8490
|
}, null, 8, ["model-value", "placeholder"]),
|
|
8493
|
-
r("div",
|
|
8491
|
+
r("div", F7, [
|
|
8494
8492
|
y(V(he), {
|
|
8495
8493
|
"model-value": k.filters[V(xe).project],
|
|
8496
8494
|
mode: "tags",
|
|
@@ -8530,7 +8528,7 @@ const F7 = { class: "ao-feed" }, q7 = { class: "ao-feed__filters" }, z7 = { clas
|
|
|
8530
8528
|
]),
|
|
8531
8529
|
_: 1
|
|
8532
8530
|
}, 8, ["model-value", "options", "placeholder"]),
|
|
8533
|
-
r("label",
|
|
8531
|
+
r("label", q7, [
|
|
8534
8532
|
r("input", {
|
|
8535
8533
|
checked: k.showsArchivedActivities,
|
|
8536
8534
|
class: "ao-field__input",
|
|
@@ -8539,15 +8537,15 @@ const F7 = { class: "ao-feed" }, q7 = { class: "ao-feed__filters" }, z7 = { clas
|
|
|
8539
8537
|
"update:showsArchivedActivities",
|
|
8540
8538
|
g.target.checked
|
|
8541
8539
|
))
|
|
8542
|
-
}, null, 40,
|
|
8543
|
-
r("span",
|
|
8540
|
+
}, null, 40, z7),
|
|
8541
|
+
r("span", W7, F(k.$t("feed.filters.showsArchivedActivities.label")), 1)
|
|
8544
8542
|
])
|
|
8545
8543
|
])
|
|
8546
8544
|
]),
|
|
8547
8545
|
_: 1
|
|
8548
8546
|
}),
|
|
8549
|
-
r("div",
|
|
8550
|
-
(c(!0), p(ue, null, _e(k.statuses, (g) => (c(), Z(
|
|
8547
|
+
r("div", Y7, [
|
|
8548
|
+
(c(!0), p(ue, null, _e(k.statuses, (g) => (c(), Z(D7, {
|
|
8551
8549
|
key: g.id,
|
|
8552
8550
|
status: g,
|
|
8553
8551
|
list: o.value[g.id],
|
|
@@ -8586,8 +8584,8 @@ const F7 = { class: "ao-feed" }, q7 = { class: "ao-feed__filters" }, z7 = { clas
|
|
|
8586
8584
|
"is-editable": !0,
|
|
8587
8585
|
"onUpdate:title": H
|
|
8588
8586
|
}, null, 8, ["title"]),
|
|
8589
|
-
r("label",
|
|
8590
|
-
r("span",
|
|
8587
|
+
r("label", G7, [
|
|
8588
|
+
r("span", K7, F(k.$t("activity.status.label")), 1),
|
|
8591
8589
|
y(V(he), {
|
|
8592
8590
|
options: B.value,
|
|
8593
8591
|
value: V(i).status.id,
|
|
@@ -8596,9 +8594,9 @@ const F7 = { class: "ao-feed" }, q7 = { class: "ao-feed__filters" }, z7 = { clas
|
|
|
8596
8594
|
])
|
|
8597
8595
|
]),
|
|
8598
8596
|
default: j(() => [
|
|
8599
|
-
r("fieldset",
|
|
8600
|
-
r("label",
|
|
8601
|
-
r("span",
|
|
8597
|
+
r("fieldset", x7, [
|
|
8598
|
+
r("label", X7, [
|
|
8599
|
+
r("span", Q7, F(k.$t("activity.deadline.label")), 1),
|
|
8602
8600
|
Xe(r("input", {
|
|
8603
8601
|
"onUpdate:modelValue": U[5] || (U[5] = (g) => w.value = g),
|
|
8604
8602
|
class: "ao-field__input",
|
|
@@ -8613,8 +8611,8 @@ const F7 = { class: "ao-feed" }, q7 = { class: "ao-feed__filters" }, z7 = { clas
|
|
|
8613
8611
|
])
|
|
8614
8612
|
])
|
|
8615
8613
|
]),
|
|
8616
|
-
r("fieldset",
|
|
8617
|
-
r("div",
|
|
8614
|
+
r("fieldset", J7, [
|
|
8615
|
+
r("div", e9, [
|
|
8618
8616
|
y(ie, { name: "ChatOutline" }),
|
|
8619
8617
|
y(ve, {
|
|
8620
8618
|
level: 4,
|
|
@@ -8639,22 +8637,22 @@ const F7 = { class: "ao-feed" }, q7 = { class: "ao-feed__filters" }, z7 = { clas
|
|
|
8639
8637
|
}
|
|
8640
8638
|
});
|
|
8641
8639
|
export {
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
|
|
8640
|
+
c9 as AoFeed,
|
|
8641
|
+
Ud as AoTemplateDetails,
|
|
8642
|
+
i9 as AoTemplates,
|
|
8643
|
+
p7 as AoTemplatesList,
|
|
8644
|
+
Sd as TemplateItemTypeEnum,
|
|
8645
|
+
o9 as activityFeedStatus,
|
|
8646
|
+
l9 as durationTypes,
|
|
8649
8647
|
xe as feedFilterTypes,
|
|
8650
|
-
|
|
8651
|
-
|
|
8652
|
-
|
|
8653
|
-
|
|
8648
|
+
d9 as getProjectOverviewRoutes,
|
|
8649
|
+
u9 as getTemplateRoutes,
|
|
8650
|
+
r9 as listUpdateTypes,
|
|
8651
|
+
Md as milestoneStatus,
|
|
8654
8652
|
Je as projectOverviewRoutes,
|
|
8655
|
-
|
|
8656
|
-
|
|
8657
|
-
|
|
8653
|
+
kd as ruleComparators,
|
|
8654
|
+
Td as ruleDurationUnits,
|
|
8655
|
+
Ad as ruleTriggerTypes,
|
|
8658
8656
|
ce as templateItemType,
|
|
8659
8657
|
vt as templateRouteNames
|
|
8660
8658
|
};
|