@26lights/orcha 0.42.92 → 0.42.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +108 -103
- package/dist/orcha.umd.js +22 -22
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -4,7 +4,7 @@ var G = (t, e, n) => (Ag(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
|
4
4
|
import { defineComponent as pe, openBlock as k, createBlock as Y, unref as ve, mergeProps as Dt, createElementBlock as D, createElementVNode as x, createStaticVNode as Tg, computed as L, resolveDynamicComponent as To, normalizeClass as ye, renderSlot as Ce, toDisplayString as se, createCommentVNode as F, ref as ae, watch as Pe, nextTick as Jt, withKeys as oi, toHandlers as Eg, withCtx as fe, createTextVNode as Eu, createVNode as I, normalizeStyle as Hn, withModifiers as xe, createSlots as xs, Fragment as qe, renderList as nt, onMounted as Tt, onBeforeUnmount as $u, onUnmounted as gn, Teleport as lr, toRefs as rn, getCurrentInstance as Eo, toRef as Yo, normalizeProps as Ss, guardReactiveProps as As, withDirectives as Yt, vShow as ya, provide as $g, inject as Dg, useTemplateRef as Mg, readonly as Og, toValue as Xl, watchEffect as Kp, shallowRef as Aa, h as Lg, vModelText as Nr, resolveComponent as xr, vModelCheckbox as Ng, getCurrentScope as Ig, onScopeDispose as Pg, toHandlerKey as Fg } from "vue";
|
|
5
5
|
import { RouterView as Rg, useRoute as Bg, useRouter as Du } from "vue-router";
|
|
6
6
|
import Ur from "vuedraggable";
|
|
7
|
-
const
|
|
7
|
+
const s0e = /* @__PURE__ */ pe({
|
|
8
8
|
__name: "AoTemplates",
|
|
9
9
|
props: {
|
|
10
10
|
templates: {}
|
|
@@ -1476,11 +1476,11 @@ const Ta = {
|
|
|
1476
1476
|
todo: "todo",
|
|
1477
1477
|
done: "done",
|
|
1478
1478
|
archived: "archived"
|
|
1479
|
-
},
|
|
1479
|
+
}, a0e = {
|
|
1480
1480
|
months: "months",
|
|
1481
1481
|
weeks: "weeks",
|
|
1482
1482
|
days: "days"
|
|
1483
|
-
},
|
|
1483
|
+
}, l0e = {
|
|
1484
1484
|
future: "future",
|
|
1485
1485
|
this_month: "this_month",
|
|
1486
1486
|
this_week: "this_week",
|
|
@@ -1504,7 +1504,7 @@ const Ta = {
|
|
|
1504
1504
|
TASKS: "tasks"
|
|
1505
1505
|
};
|
|
1506
1506
|
var m_ = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(m_ || {});
|
|
1507
|
-
const
|
|
1507
|
+
const c0e = {
|
|
1508
1508
|
add: "add",
|
|
1509
1509
|
remove: "remove",
|
|
1510
1510
|
moved: "moved"
|
|
@@ -28918,7 +28918,7 @@ const rhe = { class: "ao-project-phase" }, ohe = {
|
|
|
28918
28918
|
t.isEditable ? (k(), D("div", {
|
|
28919
28919
|
key: 0,
|
|
28920
28920
|
class: ye(["ao-project-phase__milestone-quick-add", { "ao-project-phase__milestone-quick-add--visible": _.value }]),
|
|
28921
|
-
title: w.$t("project.milestone.
|
|
28921
|
+
title: w.$t("project.milestone.add"),
|
|
28922
28922
|
onClick: b[0] || (b[0] = () => u(t.phase.id))
|
|
28923
28923
|
}, [
|
|
28924
28924
|
I(Me, {
|
|
@@ -29220,7 +29220,6 @@ const Ahe = { class: "ao-project" }, The = { class: "ao-project__body" }, Ehe =
|
|
|
29220
29220
|
const { name: z, rank: ie } = po(r.phases, "phase", n);
|
|
29221
29221
|
o("addPhase", { name: z, rank: ie, projectId: r.project.id });
|
|
29222
29222
|
}, a = () => {
|
|
29223
|
-
r.phases[0];
|
|
29224
29223
|
const z = n("template.defaultName.phase", { idx: 1 }), ie = Ms(r.phases);
|
|
29225
29224
|
o("addPhase", { name: z, rank: ie, projectId: r.project.id });
|
|
29226
29225
|
}, l = (z) => {
|
|
@@ -29299,7 +29298,7 @@ const Ahe = { class: "ao-project" }, The = { class: "ao-project__body" }, Ehe =
|
|
|
29299
29298
|
"icon-position": "start",
|
|
29300
29299
|
color: "primary",
|
|
29301
29300
|
variant: "ghost",
|
|
29302
|
-
label: z.$t("project.phase.
|
|
29301
|
+
label: z.$t("project.phase.add"),
|
|
29303
29302
|
onClick: a
|
|
29304
29303
|
}, null, 8, ["label"])) : F("", !0),
|
|
29305
29304
|
I(Ee, {
|
|
@@ -29627,7 +29626,10 @@ const $he = { class: "ao-card-feed__header" }, Dhe = {
|
|
|
29627
29626
|
const Xhe = { class: "ao-project-milestone" }, Qhe = { class: "ao-project-milestone__header" }, eme = { class: "ao-project-milestone__header_line" }, tme = { class: "ao-project-milestone__header_line" }, nme = { class: "ao-project-milestone__title" }, rme = {
|
|
29628
29627
|
key: 0,
|
|
29629
29628
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
29630
|
-
}, ome = { class: "ao-field__row ao-milestone__field-row" }, ime = { class: "ao-field ao-field--inline" }, sme = { class: "ao-field__row ao-milestone__field-row" }, ame = { class: "ao-field ao-milestone__field-multiselect" }, lme = ["onClick"], cme = { class: "ao-project-milestone__body" }, ume =
|
|
29629
|
+
}, ome = { class: "ao-field__row ao-milestone__field-row" }, ime = { class: "ao-field ao-field--inline" }, sme = { class: "ao-field__row ao-milestone__field-row" }, ame = { class: "ao-field ao-milestone__field-multiselect" }, lme = ["onClick"], cme = { class: "ao-project-milestone__body" }, ume = {
|
|
29630
|
+
key: 0,
|
|
29631
|
+
class: "ao-project-milestone__activities-header"
|
|
29632
|
+
}, dme = ["title"], fme = {
|
|
29631
29633
|
key: 1,
|
|
29632
29634
|
class: "ao-project-milestone__footer"
|
|
29633
29635
|
}, Zp = /* @__PURE__ */ pe({
|
|
@@ -29849,17 +29851,19 @@ const Xhe = { class: "ao-project-milestone" }, Qhe = { class: "ao-project-milest
|
|
|
29849
29851
|
])) : F("", !0)
|
|
29850
29852
|
]),
|
|
29851
29853
|
x("div", cme, [
|
|
29852
|
-
t.isEditable ? (k(), D("div",
|
|
29853
|
-
|
|
29854
|
-
|
|
29855
|
-
|
|
29856
|
-
|
|
29857
|
-
|
|
29858
|
-
|
|
29859
|
-
|
|
29860
|
-
|
|
29861
|
-
|
|
29862
|
-
|
|
29854
|
+
t.isEditable ? (k(), D("div", ume, [
|
|
29855
|
+
x("button", {
|
|
29856
|
+
type: "button",
|
|
29857
|
+
class: "ao-project-milestone__quick-add",
|
|
29858
|
+
title: b.$t("project.activity.add"),
|
|
29859
|
+
onClick: f
|
|
29860
|
+
}, [
|
|
29861
|
+
I(Me, {
|
|
29862
|
+
name: "Add",
|
|
29863
|
+
class: "ao-project-milestone__quick-add-icon"
|
|
29864
|
+
})
|
|
29865
|
+
], 8, dme)
|
|
29866
|
+
])) : F("", !0),
|
|
29863
29867
|
I(ve(Ur), Dt({
|
|
29864
29868
|
class: "ao-project-milestone__activities",
|
|
29865
29869
|
list: c.value,
|
|
@@ -29932,7 +29936,7 @@ const Xhe = { class: "ao-project-milestone" }, Qhe = { class: "ao-project-milest
|
|
|
29932
29936
|
}),
|
|
29933
29937
|
_: 1
|
|
29934
29938
|
}, 16, ["list", "disabled"]),
|
|
29935
|
-
t.isEditable ? (k(), D("div",
|
|
29939
|
+
t.isEditable ? (k(), D("div", fme, [
|
|
29936
29940
|
I(Hr, {
|
|
29937
29941
|
"icon-name": "Add",
|
|
29938
29942
|
label: b.$t("project.activity.add"),
|
|
@@ -29944,7 +29948,7 @@ const Xhe = { class: "ao-project-milestone" }, Qhe = { class: "ao-project-milest
|
|
|
29944
29948
|
};
|
|
29945
29949
|
}
|
|
29946
29950
|
});
|
|
29947
|
-
const
|
|
29951
|
+
const pme = /* @__PURE__ */ pe({
|
|
29948
29952
|
__name: "AoProjectOverviewActivityDetails",
|
|
29949
29953
|
props: {
|
|
29950
29954
|
phaseId: {},
|
|
@@ -30035,14 +30039,14 @@ const fme = /* @__PURE__ */ pe({
|
|
|
30035
30039
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "time-tracking-data", "load-attachment-preview", "onClose"])) : F("", !0);
|
|
30036
30040
|
};
|
|
30037
30041
|
}
|
|
30038
|
-
}),
|
|
30042
|
+
}), hme = { class: "ao-col-header" }, mme = /* @__PURE__ */ pe({
|
|
30039
30043
|
__name: "AoColHeader",
|
|
30040
30044
|
props: {
|
|
30041
30045
|
title: {},
|
|
30042
30046
|
items: {}
|
|
30043
30047
|
},
|
|
30044
30048
|
setup(t) {
|
|
30045
|
-
return (e, n) => (k(), D("header",
|
|
30049
|
+
return (e, n) => (k(), D("header", hme, [
|
|
30046
30050
|
I(At, {
|
|
30047
30051
|
title: t.title,
|
|
30048
30052
|
class: "ao-col-header__title",
|
|
@@ -30058,17 +30062,17 @@ const fme = /* @__PURE__ */ pe({
|
|
|
30058
30062
|
]));
|
|
30059
30063
|
}
|
|
30060
30064
|
});
|
|
30061
|
-
function
|
|
30065
|
+
function gme(t) {
|
|
30062
30066
|
return Ig() ? (Pg(t), !0) : !1;
|
|
30063
30067
|
}
|
|
30064
30068
|
function rl(t) {
|
|
30065
30069
|
return typeof t == "function" ? t() : ve(t);
|
|
30066
30070
|
}
|
|
30067
|
-
const
|
|
30071
|
+
const vme = typeof window < "u" && typeof document < "u";
|
|
30068
30072
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
30069
|
-
const
|
|
30073
|
+
const _me = (t) => t != null, ls = () => {
|
|
30070
30074
|
};
|
|
30071
|
-
function
|
|
30075
|
+
function yme(t, e) {
|
|
30072
30076
|
function n(...r) {
|
|
30073
30077
|
return new Promise((o, i) => {
|
|
30074
30078
|
Promise.resolve(t(() => e.apply(this, r), { fn: e, thisArg: this, args: r })).then(o).catch(i);
|
|
@@ -30076,7 +30080,7 @@ function _me(t, e) {
|
|
|
30076
30080
|
}
|
|
30077
30081
|
return n;
|
|
30078
30082
|
}
|
|
30079
|
-
function
|
|
30083
|
+
function bme(t, e = {}) {
|
|
30080
30084
|
let n, r, o = ls;
|
|
30081
30085
|
const i = (a) => {
|
|
30082
30086
|
clearTimeout(a), o(), o = ls;
|
|
@@ -30092,9 +30096,9 @@ function yme(t, e = {}) {
|
|
|
30092
30096
|
});
|
|
30093
30097
|
};
|
|
30094
30098
|
}
|
|
30095
|
-
function
|
|
30096
|
-
return
|
|
30097
|
-
|
|
30099
|
+
function Cme(t, e = 200, n = {}) {
|
|
30100
|
+
return yme(
|
|
30101
|
+
bme(e, n),
|
|
30098
30102
|
t
|
|
30099
30103
|
);
|
|
30100
30104
|
}
|
|
@@ -30103,27 +30107,27 @@ function qc(t) {
|
|
|
30103
30107
|
const n = rl(t);
|
|
30104
30108
|
return (e = n == null ? void 0 : n.$el) != null ? e : n;
|
|
30105
30109
|
}
|
|
30106
|
-
const
|
|
30107
|
-
function
|
|
30110
|
+
const wme = vme ? window : void 0;
|
|
30111
|
+
function kme() {
|
|
30108
30112
|
const t = ae(!1), e = Eo();
|
|
30109
30113
|
return e && Tt(() => {
|
|
30110
30114
|
t.value = !0;
|
|
30111
30115
|
}, e), t;
|
|
30112
30116
|
}
|
|
30113
|
-
function
|
|
30114
|
-
const e =
|
|
30117
|
+
function xme(t) {
|
|
30118
|
+
const e = kme();
|
|
30115
30119
|
return L(() => (e.value, !!t()));
|
|
30116
30120
|
}
|
|
30117
|
-
function
|
|
30121
|
+
function Sme(t, e, n = {}) {
|
|
30118
30122
|
const {
|
|
30119
30123
|
root: r,
|
|
30120
30124
|
rootMargin: o = "0px",
|
|
30121
30125
|
threshold: i = 0.1,
|
|
30122
|
-
window: s =
|
|
30126
|
+
window: s = wme,
|
|
30123
30127
|
immediate: a = !0
|
|
30124
|
-
} = n, l =
|
|
30128
|
+
} = n, l = xme(() => s && "IntersectionObserver" in s), c = L(() => {
|
|
30125
30129
|
const h = rl(t);
|
|
30126
|
-
return (Array.isArray(h) ? h : [h]).map(qc).filter(
|
|
30130
|
+
return (Array.isArray(h) ? h : [h]).map(qc).filter(_me);
|
|
30127
30131
|
});
|
|
30128
30132
|
let u = ls;
|
|
30129
30133
|
const d = ae(a), f = l.value ? Pe(
|
|
@@ -30147,7 +30151,7 @@ function xme(t, e, n = {}) {
|
|
|
30147
30151
|
) : ls, p = () => {
|
|
30148
30152
|
u(), f(), d.value = !1;
|
|
30149
30153
|
};
|
|
30150
|
-
return
|
|
30154
|
+
return gme(p), {
|
|
30151
30155
|
isSupported: l,
|
|
30152
30156
|
isActive: d,
|
|
30153
30157
|
pause() {
|
|
@@ -30159,24 +30163,24 @@ function xme(t, e, n = {}) {
|
|
|
30159
30163
|
stop: p
|
|
30160
30164
|
};
|
|
30161
30165
|
}
|
|
30162
|
-
const
|
|
30166
|
+
const Ame = {
|
|
30163
30167
|
class: /* @__PURE__ */ ye(["ao-list-kanban"])
|
|
30164
|
-
},
|
|
30168
|
+
}, Tme = { class: "ao-list-kanban__header" }, Eme = ["title"], $me = {
|
|
30165
30169
|
key: 0,
|
|
30166
30170
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
30167
|
-
},
|
|
30171
|
+
}, Dme = {
|
|
30168
30172
|
key: 1,
|
|
30169
30173
|
class: "ao-list-kanban__end"
|
|
30170
|
-
},
|
|
30174
|
+
}, Mme = {
|
|
30171
30175
|
key: 0,
|
|
30172
30176
|
class: "ao-list-kanban__no-more"
|
|
30173
|
-
},
|
|
30177
|
+
}, Ome = {
|
|
30174
30178
|
key: 1,
|
|
30175
30179
|
class: "ao-list-kanban__divider"
|
|
30176
|
-
},
|
|
30180
|
+
}, Lme = {
|
|
30177
30181
|
key: 1,
|
|
30178
30182
|
class: "ao-list-kanban__footer"
|
|
30179
|
-
},
|
|
30183
|
+
}, Nme = /* @__PURE__ */ pe({
|
|
30180
30184
|
__name: "AoListKanban",
|
|
30181
30185
|
props: {
|
|
30182
30186
|
list: {},
|
|
@@ -30195,7 +30199,7 @@ const Sme = {
|
|
|
30195
30199
|
emits: ["add", "addAtBeginning", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity", "startTimer"],
|
|
30196
30200
|
setup(t, { emit: e }) {
|
|
30197
30201
|
const n = t, r = e, o = ae(!1), i = ae(null);
|
|
30198
|
-
|
|
30202
|
+
Sme(i, ([{ isIntersecting: d }]) => {
|
|
30199
30203
|
o.value = d;
|
|
30200
30204
|
}), Pe(o, (d) => {
|
|
30201
30205
|
d && n.hasMore && !n.isLoading && r("loadMore");
|
|
@@ -30220,13 +30224,14 @@ const Sme = {
|
|
|
30220
30224
|
)
|
|
30221
30225
|
});
|
|
30222
30226
|
}, u = ae(!1);
|
|
30223
|
-
return (d, f) => (k(), D("div",
|
|
30227
|
+
return (d, f) => (k(), D("div", Ame, [
|
|
30224
30228
|
t.title || d.$slots.header ? Ce(d.$slots, "header", {}, () => {
|
|
30225
30229
|
var p;
|
|
30226
30230
|
return [
|
|
30227
|
-
x("div",
|
|
30228
|
-
t.title ? (k(), Y(
|
|
30231
|
+
x("div", Tme, [
|
|
30232
|
+
t.title ? (k(), Y(mme, {
|
|
30229
30233
|
key: 0,
|
|
30234
|
+
class: "ao-list-kanban__col-header",
|
|
30230
30235
|
title: t.title,
|
|
30231
30236
|
level: 3,
|
|
30232
30237
|
items: (p = t.list) == null ? void 0 : p.length
|
|
@@ -30234,11 +30239,11 @@ const Sme = {
|
|
|
30234
30239
|
t.showHeaderAdd ? (k(), D("button", {
|
|
30235
30240
|
key: 1,
|
|
30236
30241
|
class: "ao-list-kanban__header-add",
|
|
30237
|
-
title: d.$t("feed.activity.
|
|
30242
|
+
title: d.$t("feed.activity.add"),
|
|
30238
30243
|
onClick: f[0] || (f[0] = (h) => d.$emit("addAtBeginning"))
|
|
30239
30244
|
}, [
|
|
30240
30245
|
I(Me, { name: "Add" })
|
|
30241
|
-
], 8,
|
|
30246
|
+
], 8, Eme)) : F("", !0)
|
|
30242
30247
|
])
|
|
30243
30248
|
];
|
|
30244
30249
|
}, void 0, 0) : F("", !0),
|
|
@@ -30321,20 +30326,20 @@ const Sme = {
|
|
|
30321
30326
|
];
|
|
30322
30327
|
}),
|
|
30323
30328
|
footer: fe(() => [
|
|
30324
|
-
t.isLoading ? (k(), D("div",
|
|
30329
|
+
t.isLoading ? (k(), D("div", $me, [
|
|
30325
30330
|
I(Me, { name: "Loading" })
|
|
30326
30331
|
])) : t.hasMore ? (k(), D("div", {
|
|
30327
30332
|
key: 2,
|
|
30328
30333
|
ref_key: "scrollEnd",
|
|
30329
30334
|
ref: i,
|
|
30330
30335
|
class: "ao-list-kanban__end"
|
|
30331
|
-
}, null, 512)) : (k(), D("div",
|
|
30332
|
-
t.noMoreLabel ? (k(), D("span",
|
|
30336
|
+
}, null, 512)) : (k(), D("div", Dme, [
|
|
30337
|
+
t.noMoreLabel ? (k(), D("span", Mme, se(t.noMoreLabel), 1)) : t.isEditable ? (k(), D("span", Ome)) : F("", !0)
|
|
30333
30338
|
]))
|
|
30334
30339
|
]),
|
|
30335
30340
|
_: 1
|
|
30336
30341
|
}, 16, ["class", "list", "disabled"]),
|
|
30337
|
-
d.$slots.footer || t.footerLabel ? (k(), D("div",
|
|
30342
|
+
d.$slots.footer || t.footerLabel ? (k(), D("div", Lme, [
|
|
30338
30343
|
Ce(d.$slots, "footer", {}, () => [
|
|
30339
30344
|
t.isEditable ? (k(), Y(Hr, {
|
|
30340
30345
|
key: 0,
|
|
@@ -30347,7 +30352,7 @@ const Sme = {
|
|
|
30347
30352
|
]));
|
|
30348
30353
|
}
|
|
30349
30354
|
});
|
|
30350
|
-
const
|
|
30355
|
+
const Ime = { class: "ao-field ao-search-field" }, Pme = ["value", "placeholder"], Fme = /* @__PURE__ */ pe({
|
|
30351
30356
|
__name: "AoSearchField",
|
|
30352
30357
|
props: {
|
|
30353
30358
|
modelValue: {},
|
|
@@ -30359,10 +30364,10 @@ const Nme = { class: "ao-field ao-search-field" }, Ime = ["value", "placeholder"
|
|
|
30359
30364
|
const n = t, r = e, o = async (a) => {
|
|
30360
30365
|
const c = a.target.value;
|
|
30361
30366
|
r("update:modelValue", c, a);
|
|
30362
|
-
}, i =
|
|
30367
|
+
}, i = Cme(o, n.delay), s = (a) => {
|
|
30363
30368
|
r("clear", a);
|
|
30364
30369
|
};
|
|
30365
|
-
return (a, l) => (k(), D("div",
|
|
30370
|
+
return (a, l) => (k(), D("div", Ime, [
|
|
30366
30371
|
x("input", {
|
|
30367
30372
|
value: t.modelValue,
|
|
30368
30373
|
type: "text",
|
|
@@ -30371,7 +30376,7 @@ const Nme = { class: "ao-field ao-search-field" }, Ime = ["value", "placeholder"
|
|
|
30371
30376
|
onInput: l[0] || (l[0] = //@ts-ignore
|
|
30372
30377
|
(...c) => ve(i) && ve(i)(...c)),
|
|
30373
30378
|
onKeypress: oi(o, ["enter"])
|
|
30374
|
-
}, null, 40,
|
|
30379
|
+
}, null, 40, Pme),
|
|
30375
30380
|
I(Me, {
|
|
30376
30381
|
name: "SearchRounded",
|
|
30377
30382
|
class: ye(`ao-search-field__icon ao-search-field__action ${t.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -30387,7 +30392,7 @@ const Nme = { class: "ao-field ao-search-field" }, Ime = ["value", "placeholder"
|
|
|
30387
30392
|
]));
|
|
30388
30393
|
}
|
|
30389
30394
|
});
|
|
30390
|
-
const
|
|
30395
|
+
const Rme = { class: "ao-feed" }, Bme = { class: "ao-feed__filters" }, Ume = { class: "ao-feed__body" }, qme = /* @__PURE__ */ pe({
|
|
30391
30396
|
__name: "AoFeed",
|
|
30392
30397
|
props: {
|
|
30393
30398
|
activities: {},
|
|
@@ -30523,16 +30528,16 @@ const Fme = { class: "ao-feed" }, Rme = { class: "ao-feed__filters" }, Bme = { c
|
|
|
30523
30528
|
H === "feed" ? (K.push({ name: pt.feed }), console.log("Navigating to feed...")) : H === "overview" ? (K.push({ name: pt.project }), console.log("Navigating to feed...")) : H === "mapping" && (K.push({ name: pt.mapping }), console.log("Navigating to feed..."));
|
|
30524
30529
|
}), (H, he) => {
|
|
30525
30530
|
var de;
|
|
30526
|
-
return k(), D("div",
|
|
30531
|
+
return k(), D("div", Rme, [
|
|
30527
30532
|
I(Os, null, {
|
|
30528
30533
|
primary: fe(() => [
|
|
30529
|
-
x("div",
|
|
30534
|
+
x("div", Bme, [
|
|
30530
30535
|
I(Vl, {
|
|
30531
30536
|
modelValue: z.value,
|
|
30532
30537
|
"onUpdate:modelValue": he[0] || (he[0] = (te) => z.value = te),
|
|
30533
30538
|
tabs: ie
|
|
30534
30539
|
}, null, 8, ["modelValue"]),
|
|
30535
|
-
I(
|
|
30540
|
+
I(Fme, {
|
|
30536
30541
|
"model-value": t.searchText,
|
|
30537
30542
|
placeholder: H.$t("feed.search.placeholder"),
|
|
30538
30543
|
class: "ao-feed__search",
|
|
@@ -30625,8 +30630,8 @@ const Fme = { class: "ao-feed" }, Rme = { class: "ao-feed__filters" }, Bme = { c
|
|
|
30625
30630
|
]),
|
|
30626
30631
|
_: 1
|
|
30627
30632
|
}),
|
|
30628
|
-
x("div",
|
|
30629
|
-
(k(!0), D(qe, null, nt(t.statuses, (te) => (k(), Y(
|
|
30633
|
+
x("div", Ume, [
|
|
30634
|
+
(k(!0), D(qe, null, nt(t.statuses, (te) => (k(), Y(Nme, {
|
|
30630
30635
|
key: te.id,
|
|
30631
30636
|
status: te,
|
|
30632
30637
|
list: l.value[te.id],
|
|
@@ -30685,10 +30690,10 @@ const Fme = { class: "ao-feed" }, Rme = { class: "ao-feed__filters" }, Bme = { c
|
|
|
30685
30690
|
};
|
|
30686
30691
|
}
|
|
30687
30692
|
});
|
|
30688
|
-
const
|
|
30693
|
+
const Hme = { class: "ao-project-mapping" }, zme = { class: "ao-project-mapping-mapping__body" }, Vme = { class: "ao-project-mapping-mapping__phases" }, jme = {
|
|
30689
30694
|
key: 0,
|
|
30690
30695
|
class: "ao-project-mapping-mapping__image-wrapper"
|
|
30691
|
-
},
|
|
30696
|
+
}, Wme = ["src", "alt"], Zme = /* @__PURE__ */ pe({
|
|
30692
30697
|
__name: "AoMapping",
|
|
30693
30698
|
props: {
|
|
30694
30699
|
project: {},
|
|
@@ -30737,7 +30742,7 @@ const qme = { class: "ao-project-mapping" }, Hme = { class: "ao-project-mapping-
|
|
|
30737
30742
|
var C;
|
|
30738
30743
|
return k(), D(qe, null, [
|
|
30739
30744
|
x("div", Dt({ class: "ao-project-mapping-overview" }, g.$attrs), [
|
|
30740
|
-
x("div",
|
|
30745
|
+
x("div", Hme, [
|
|
30741
30746
|
I(Os, null, {
|
|
30742
30747
|
primary: fe(() => [
|
|
30743
30748
|
I(Vl, {
|
|
@@ -30753,7 +30758,7 @@ const qme = { class: "ao-project-mapping" }, Hme = { class: "ao-project-mapping-
|
|
|
30753
30758
|
"icon-position": "start",
|
|
30754
30759
|
color: "primary",
|
|
30755
30760
|
variant: "ghost",
|
|
30756
|
-
label: g.$t("project.phase.
|
|
30761
|
+
label: g.$t("project.phase.add"),
|
|
30757
30762
|
onClick: s
|
|
30758
30763
|
}, null, 8, ["label"])) : F("", !0),
|
|
30759
30764
|
I(Ee, {
|
|
@@ -30787,8 +30792,8 @@ const qme = { class: "ao-project-mapping" }, Hme = { class: "ao-project-mapping-
|
|
|
30787
30792
|
]),
|
|
30788
30793
|
_: 1
|
|
30789
30794
|
}),
|
|
30790
|
-
x("div",
|
|
30791
|
-
x("div",
|
|
30795
|
+
x("div", zme, [
|
|
30796
|
+
x("div", Vme, [
|
|
30792
30797
|
I(mg, {
|
|
30793
30798
|
phases: t.phases,
|
|
30794
30799
|
"closed-status": t.closedStatus,
|
|
@@ -30802,12 +30807,12 @@ const qme = { class: "ao-project-mapping" }, Hme = { class: "ao-project-mapping-
|
|
|
30802
30807
|
onCopyPhaseToTemplate: u
|
|
30803
30808
|
}, null, 8, ["phases", "closed-status", "is-editable", "users", "estimation-unit"])
|
|
30804
30809
|
]),
|
|
30805
|
-
t.project.architectureImage ? (k(), D("div",
|
|
30810
|
+
t.project.architectureImage ? (k(), D("div", jme, [
|
|
30806
30811
|
x("img", {
|
|
30807
30812
|
class: "architecture-image",
|
|
30808
30813
|
src: t.project.architectureImage.url,
|
|
30809
30814
|
alt: ve(n)("architectureImage.alt")
|
|
30810
|
-
}, null, 8,
|
|
30815
|
+
}, null, 8, Wme)
|
|
30811
30816
|
])) : F("", !0)
|
|
30812
30817
|
])
|
|
30813
30818
|
])
|
|
@@ -30835,7 +30840,7 @@ const Go = {
|
|
|
30835
30840
|
TEMPLATES: "templates",
|
|
30836
30841
|
TEMPLATE_DETAILS: "template_details",
|
|
30837
30842
|
TEMPLATES_LIST: "templates_list"
|
|
30838
|
-
},
|
|
30843
|
+
}, p0e = (t, e = {}) => [
|
|
30839
30844
|
{
|
|
30840
30845
|
path: t,
|
|
30841
30846
|
name: Go.TEMPLATES,
|
|
@@ -30845,7 +30850,7 @@ const Go = {
|
|
|
30845
30850
|
{
|
|
30846
30851
|
path: "",
|
|
30847
30852
|
name: Go.TEMPLATES_LIST,
|
|
30848
|
-
component:
|
|
30853
|
+
component: Gme
|
|
30849
30854
|
},
|
|
30850
30855
|
{
|
|
30851
30856
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -30861,7 +30866,7 @@ const Go = {
|
|
|
30861
30866
|
mapping: "AoProjectMapping",
|
|
30862
30867
|
milestone: "AoMilestone",
|
|
30863
30868
|
activity: "AoActivity"
|
|
30864
|
-
},
|
|
30869
|
+
}, h0e = (t, e = {}) => [
|
|
30865
30870
|
{
|
|
30866
30871
|
path: t,
|
|
30867
30872
|
...e,
|
|
@@ -30885,7 +30890,7 @@ const Go = {
|
|
|
30885
30890
|
props: { default: !0, modal: !0 },
|
|
30886
30891
|
components: {
|
|
30887
30892
|
default: Zp,
|
|
30888
|
-
modal:
|
|
30893
|
+
modal: pme
|
|
30889
30894
|
}
|
|
30890
30895
|
}
|
|
30891
30896
|
]
|
|
@@ -30893,18 +30898,18 @@ const Go = {
|
|
|
30893
30898
|
{
|
|
30894
30899
|
path: "feed",
|
|
30895
30900
|
name: pt.feed,
|
|
30896
|
-
component:
|
|
30901
|
+
component: qme,
|
|
30897
30902
|
props: !0
|
|
30898
30903
|
},
|
|
30899
30904
|
{
|
|
30900
30905
|
path: "mapping",
|
|
30901
30906
|
name: pt.mapping,
|
|
30902
|
-
component:
|
|
30907
|
+
component: Zme,
|
|
30903
30908
|
props: !0
|
|
30904
30909
|
}
|
|
30905
30910
|
]
|
|
30906
30911
|
}
|
|
30907
|
-
],
|
|
30912
|
+
], Kme = { class: "ao-templates" }, Gme = /* @__PURE__ */ pe({
|
|
30908
30913
|
__name: "AoTemplatesList",
|
|
30909
30914
|
props: {
|
|
30910
30915
|
templates: {}
|
|
@@ -30953,7 +30958,7 @@ const Go = {
|
|
|
30953
30958
|
});
|
|
30954
30959
|
}
|
|
30955
30960
|
};
|
|
30956
|
-
return (c, u) => (k(), D("div",
|
|
30961
|
+
return (c, u) => (k(), D("div", Kme, [
|
|
30957
30962
|
I(Os, null, {
|
|
30958
30963
|
secondary: fe(() => [
|
|
30959
30964
|
I(Ee, {
|
|
@@ -30998,7 +31003,7 @@ const Go = {
|
|
|
30998
31003
|
]));
|
|
30999
31004
|
}
|
|
31000
31005
|
});
|
|
31001
|
-
const
|
|
31006
|
+
const Yme = { class: "ao-field__label" }, Jme = /* @__PURE__ */ pe({
|
|
31002
31007
|
__name: "AoField",
|
|
31003
31008
|
props: {
|
|
31004
31009
|
label: {},
|
|
@@ -31008,11 +31013,11 @@ const Gme = { class: "ao-field__label" }, Yme = /* @__PURE__ */ pe({
|
|
|
31008
31013
|
return (e, n) => (k(), D("label", {
|
|
31009
31014
|
class: ye(["ao-field", { "ao-field--multiselect": t.isMultiselect }])
|
|
31010
31015
|
}, [
|
|
31011
|
-
x("span",
|
|
31016
|
+
x("span", Yme, se(t.label), 1),
|
|
31012
31017
|
Ce(e.$slots, "default")
|
|
31013
31018
|
], 2));
|
|
31014
31019
|
}
|
|
31015
|
-
}),
|
|
31020
|
+
}), Xme = ["type", "value", "disabled", "readonly"], m0e = /* @__PURE__ */ pe({
|
|
31016
31021
|
__name: "AoInputField",
|
|
31017
31022
|
props: {
|
|
31018
31023
|
label: { default: "" },
|
|
@@ -31029,7 +31034,7 @@ const Gme = { class: "ao-field__label" }, Yme = /* @__PURE__ */ pe({
|
|
|
31029
31034
|
), i = (s) => {
|
|
31030
31035
|
n.modelModifiers.number && (s = Number(s)), r("update:modelValue", s);
|
|
31031
31036
|
};
|
|
31032
|
-
return (s, a) => (k(), Y(
|
|
31037
|
+
return (s, a) => (k(), Y(Jme, { label: t.label }, {
|
|
31033
31038
|
default: fe(() => [
|
|
31034
31039
|
x("input", Dt({
|
|
31035
31040
|
class: "ao-field__input",
|
|
@@ -31039,12 +31044,12 @@ const Gme = { class: "ao-field__label" }, Yme = /* @__PURE__ */ pe({
|
|
|
31039
31044
|
readonly: t.isReadonly
|
|
31040
31045
|
}, {
|
|
31041
31046
|
[Fg(o.value)]: a[0] || (a[0] = (l) => i(l.target.value))
|
|
31042
|
-
}), null, 16,
|
|
31047
|
+
}), null, 16, Xme)
|
|
31043
31048
|
]),
|
|
31044
31049
|
_: 1
|
|
31045
31050
|
}, 8, ["label"]));
|
|
31046
31051
|
}
|
|
31047
|
-
}),
|
|
31052
|
+
}), Qme = { class: "ao-field" }, e0e = { class: "ao-field__label" }, t0e = ["checked", "disabled"], g0e = /* @__PURE__ */ pe({
|
|
31048
31053
|
__name: "AoCheckboxField",
|
|
31049
31054
|
props: {
|
|
31050
31055
|
label: { default: "" },
|
|
@@ -31054,8 +31059,8 @@ const Gme = { class: "ao-field__label" }, Yme = /* @__PURE__ */ pe({
|
|
|
31054
31059
|
},
|
|
31055
31060
|
emits: ["update:modelValue"],
|
|
31056
31061
|
setup(t) {
|
|
31057
|
-
return (e, n) => (k(), D("label",
|
|
31058
|
-
x("span",
|
|
31062
|
+
return (e, n) => (k(), D("label", Qme, [
|
|
31063
|
+
x("span", e0e, se(t.label), 1),
|
|
31059
31064
|
x("input", {
|
|
31060
31065
|
class: "ao-field__input",
|
|
31061
31066
|
type: "checkbox",
|
|
@@ -31068,32 +31073,32 @@ const Gme = { class: "ao-field__label" }, Yme = /* @__PURE__ */ pe({
|
|
|
31068
31073
|
((o = r.target) == null ? void 0 : o.checked) ?? !1
|
|
31069
31074
|
);
|
|
31070
31075
|
})
|
|
31071
|
-
}, null, 40,
|
|
31076
|
+
}, null, 40, t0e)
|
|
31072
31077
|
]));
|
|
31073
31078
|
}
|
|
31074
31079
|
});
|
|
31075
31080
|
export {
|
|
31076
31081
|
qr as AoAvatar,
|
|
31077
31082
|
_g as AoCardFeed,
|
|
31078
|
-
|
|
31083
|
+
g0e as AoCheckboxField,
|
|
31079
31084
|
jd as AoColorPicker,
|
|
31080
|
-
|
|
31081
|
-
|
|
31082
|
-
|
|
31085
|
+
qme as AoFeed,
|
|
31086
|
+
Jme as AoField,
|
|
31087
|
+
m0e as AoInputField,
|
|
31083
31088
|
an as AoMultiselect,
|
|
31084
31089
|
mg as AoProjectPhases,
|
|
31085
31090
|
Vl as AoTabBar,
|
|
31086
31091
|
Zfe as AoTemplateDetails,
|
|
31087
|
-
|
|
31088
|
-
|
|
31092
|
+
s0e as AoTemplates,
|
|
31093
|
+
Gme as AoTemplatesList,
|
|
31089
31094
|
g_ as EstimationUnit,
|
|
31090
31095
|
m_ as TemplateItemTypeEnum,
|
|
31091
|
-
|
|
31092
|
-
|
|
31096
|
+
l0e as activityFeedStatus,
|
|
31097
|
+
a0e as durationTypes,
|
|
31093
31098
|
Ro as feedFilterTypes,
|
|
31094
|
-
|
|
31095
|
-
|
|
31096
|
-
|
|
31099
|
+
h0e as getProjectOverviewRoutes,
|
|
31100
|
+
p0e as getTemplateRoutes,
|
|
31101
|
+
c0e as listUpdateTypes,
|
|
31097
31102
|
Ta as milestoneStatus,
|
|
31098
31103
|
pt as projectOverviewRoutes,
|
|
31099
31104
|
f_ as ruleComparators,
|