@26lights/orcha 0.37.22 → 0.37.23
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 +2 -2
- package/dist/orcha.es.js +35 -38
- package/dist/orcha.umd.js +2 -2
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as q, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Ii, popScopeId as Li, createStaticVNode as Hi, computed as A, resolveDynamicComponent as ht, normalizeClass as Y, renderSlot as te, toDisplayString as K, createCommentVNode as O, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Di, withCtx as Z, createTextVNode as Fa, createVNode as M, normalizeStyle as Ua, withModifiers as fe, createSlots as Za, Fragment as ve, renderList as _e, onMounted as Mt, onBeforeUnmount as Os, onUnmounted as An, Teleport as jt, toRefs as Ae, getCurrentInstance as Tt, toRef as Vt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Pi, onUpdated as Vi, vModelText as ut, resolveComponent as xe, getCurrentScope as Bi, onScopeDispose as Ri, toHandlerKey as Ni } from "vue";
|
|
2
2
|
import { RouterView as ji, useRoute as Fi } from "vue-router";
|
|
3
3
|
import mt from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const h8 = /* @__PURE__ */ q({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -1441,11 +1441,11 @@ const _n = {
|
|
|
1441
1441
|
todo: "todo",
|
|
1442
1442
|
done: "done",
|
|
1443
1443
|
archived: "archived"
|
|
1444
|
-
},
|
|
1444
|
+
}, m8 = {
|
|
1445
1445
|
months: "months",
|
|
1446
1446
|
weeks: "weeks",
|
|
1447
1447
|
days: "days"
|
|
1448
|
-
},
|
|
1448
|
+
}, C8 = {
|
|
1449
1449
|
future: "future",
|
|
1450
1450
|
this_month: "this_month",
|
|
1451
1451
|
this_week: "this_week",
|
|
@@ -1469,7 +1469,7 @@ const _n = {
|
|
|
1469
1469
|
TASKS: "tasks"
|
|
1470
1470
|
};
|
|
1471
1471
|
var W2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(W2 || {});
|
|
1472
|
-
const
|
|
1472
|
+
const g8 = {
|
|
1473
1473
|
add: "add",
|
|
1474
1474
|
remove: "remove",
|
|
1475
1475
|
moved: "moved"
|
|
@@ -5343,7 +5343,7 @@ function l7(t, e, a) {
|
|
|
5343
5343
|
let oe = $;
|
|
5344
5344
|
if (G.value && C.value) {
|
|
5345
5345
|
let me = ae.value;
|
|
5346
|
-
me || (me = (bt, os,
|
|
5346
|
+
me || (me = (bt, os, d8) => yt.value.some((Ei) => {
|
|
5347
5347
|
let rs = mn(ya(bt[Ei]), z.value);
|
|
5348
5348
|
return re.value ? rs.startsWith(mn(os, z.value)) : rs.indexOf(mn(os, z.value)) !== -1;
|
|
5349
5349
|
})), oe = oe.filter((bt) => me(bt, G.value, le));
|
|
@@ -11951,7 +11951,7 @@ const X4 = { class: "ao-field ao-search-field" }, Q4 = ["value", "placeholder",
|
|
|
11951
11951
|
]));
|
|
11952
11952
|
}
|
|
11953
11953
|
});
|
|
11954
|
-
const e8 = { class: "ao-feed" }, t8 =
|
|
11954
|
+
const e8 = { class: "ao-feed" }, t8 = { class: "ao-feed__filters" }, a8 = { class: "ao-feed__body" }, fi = /* @__PURE__ */ q({
|
|
11955
11955
|
__name: "AoFeed",
|
|
11956
11956
|
props: {
|
|
11957
11957
|
activities: {},
|
|
@@ -11975,7 +11975,7 @@ const e8 = { class: "ao-feed" }, t8 = /* @__PURE__ */ v("div", null, "**********
|
|
|
11975
11975
|
setup(t, { emit: e }) {
|
|
11976
11976
|
const a = t, { t: n } = Ot(), s = Fi();
|
|
11977
11977
|
Mt(() => {
|
|
11978
|
-
console.log(s), console.log(s.params);
|
|
11978
|
+
console.log(s.matched), console.log(s.params);
|
|
11979
11979
|
const T = s.params.activitySlug;
|
|
11980
11980
|
if (console.log(T), T) {
|
|
11981
11981
|
const k = o.value.find((m) => m.slug === T);
|
|
@@ -12066,12 +12066,9 @@ const e8 = { class: "ao-feed" }, t8 = /* @__PURE__ */ v("div", null, "**********
|
|
|
12066
12066
|
return (T, k) => {
|
|
12067
12067
|
var m;
|
|
12068
12068
|
return p(), g("div", e8, [
|
|
12069
|
-
t8,
|
|
12070
|
-
a8,
|
|
12071
|
-
n8,
|
|
12072
12069
|
M(Ga, null, {
|
|
12073
12070
|
primary: Z(() => [
|
|
12074
|
-
v("div",
|
|
12071
|
+
v("div", t8, [
|
|
12075
12072
|
a.project ? (p(), P(di, {
|
|
12076
12073
|
key: 0,
|
|
12077
12074
|
"is-left": !1,
|
|
@@ -12162,7 +12159,7 @@ const e8 = { class: "ao-feed" }, t8 = /* @__PURE__ */ v("div", null, "**********
|
|
|
12162
12159
|
]),
|
|
12163
12160
|
_: 1
|
|
12164
12161
|
}),
|
|
12165
|
-
v("div",
|
|
12162
|
+
v("div", a8, [
|
|
12166
12163
|
(p(!0), g(ve, null, _e(T.statuses, (E) => (p(), P(G4, {
|
|
12167
12164
|
key: E.id,
|
|
12168
12165
|
status: E,
|
|
@@ -12220,7 +12217,7 @@ const Pt = {
|
|
|
12220
12217
|
TEMPLATES: "templates",
|
|
12221
12218
|
TEMPLATE_DETAILS: "template_details",
|
|
12222
12219
|
TEMPLATES_LIST: "templates_list"
|
|
12223
|
-
},
|
|
12220
|
+
}, _8 = (t, e = {}) => [
|
|
12224
12221
|
{
|
|
12225
12222
|
path: t,
|
|
12226
12223
|
name: Pt.TEMPLATES,
|
|
@@ -12230,7 +12227,7 @@ const Pt = {
|
|
|
12230
12227
|
{
|
|
12231
12228
|
path: "",
|
|
12232
12229
|
name: Pt.TEMPLATES_LIST,
|
|
12233
|
-
component:
|
|
12230
|
+
component: s8
|
|
12234
12231
|
},
|
|
12235
12232
|
{
|
|
12236
12233
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -12245,7 +12242,7 @@ const Pt = {
|
|
|
12245
12242
|
feed: "AoProjectFeed",
|
|
12246
12243
|
milestone: "AoMilestone",
|
|
12247
12244
|
activity: "AoActivity"
|
|
12248
|
-
},
|
|
12245
|
+
}, y8 = (t, e = {}) => [
|
|
12249
12246
|
{
|
|
12250
12247
|
path: t,
|
|
12251
12248
|
...e,
|
|
@@ -12285,7 +12282,7 @@ const Pt = {
|
|
|
12285
12282
|
], gn = {
|
|
12286
12283
|
feed: "AoFeed",
|
|
12287
12284
|
activity: "AoActivityDetails"
|
|
12288
|
-
},
|
|
12285
|
+
}, b8 = (t, e = {}) => [
|
|
12289
12286
|
{
|
|
12290
12287
|
path: t,
|
|
12291
12288
|
redirect: { name: gn.feed },
|
|
@@ -12305,7 +12302,7 @@ const Pt = {
|
|
|
12305
12302
|
}
|
|
12306
12303
|
]
|
|
12307
12304
|
}
|
|
12308
|
-
],
|
|
12305
|
+
], n8 = { class: "ao-templates" }, s8 = /* @__PURE__ */ q({
|
|
12309
12306
|
__name: "AoTemplatesList",
|
|
12310
12307
|
props: {
|
|
12311
12308
|
templates: {}
|
|
@@ -12345,7 +12342,7 @@ const Pt = {
|
|
|
12345
12342
|
});
|
|
12346
12343
|
}
|
|
12347
12344
|
};
|
|
12348
|
-
return (r, l) => (p(), g("div",
|
|
12345
|
+
return (r, l) => (p(), g("div", n8, [
|
|
12349
12346
|
M(Ga, null, {
|
|
12350
12347
|
secondary: Z(() => [
|
|
12351
12348
|
M(ce, {
|
|
@@ -12389,7 +12386,7 @@ const Pt = {
|
|
|
12389
12386
|
]));
|
|
12390
12387
|
}
|
|
12391
12388
|
});
|
|
12392
|
-
const
|
|
12389
|
+
const i8 = { class: "ao-field__label" }, o8 = /* @__PURE__ */ q({
|
|
12393
12390
|
__name: "AoField",
|
|
12394
12391
|
props: {
|
|
12395
12392
|
label: {},
|
|
@@ -12399,11 +12396,11 @@ const l8 = { class: "ao-field__label" }, u8 = /* @__PURE__ */ q({
|
|
|
12399
12396
|
return (e, a) => (p(), g("label", {
|
|
12400
12397
|
class: Y(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12401
12398
|
}, [
|
|
12402
|
-
v("span",
|
|
12399
|
+
v("span", i8, K(e.label), 1),
|
|
12403
12400
|
te(e.$slots, "default")
|
|
12404
12401
|
], 2));
|
|
12405
12402
|
}
|
|
12406
|
-
}),
|
|
12403
|
+
}), r8 = ["type", "value", "disabled", "readonly"], w8 = /* @__PURE__ */ q({
|
|
12407
12404
|
__name: "AoInputField",
|
|
12408
12405
|
props: {
|
|
12409
12406
|
label: { default: "" },
|
|
@@ -12420,7 +12417,7 @@ const l8 = { class: "ao-field__label" }, u8 = /* @__PURE__ */ q({
|
|
|
12420
12417
|
), s = (o) => {
|
|
12421
12418
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12422
12419
|
};
|
|
12423
|
-
return (o, i) => (p(), P(
|
|
12420
|
+
return (o, i) => (p(), P(o8, { label: o.label }, {
|
|
12424
12421
|
default: Z(() => [
|
|
12425
12422
|
v("input", He({
|
|
12426
12423
|
class: "ao-field__input",
|
|
@@ -12430,12 +12427,12 @@ const l8 = { class: "ao-field__label" }, u8 = /* @__PURE__ */ q({
|
|
|
12430
12427
|
readonly: o.isReadonly
|
|
12431
12428
|
}, {
|
|
12432
12429
|
[Ni(n.value)]: i[0] || (i[0] = (r) => s(r.target.value))
|
|
12433
|
-
}), null, 16,
|
|
12430
|
+
}), null, 16, r8)
|
|
12434
12431
|
]),
|
|
12435
12432
|
_: 1
|
|
12436
12433
|
}, 8, ["label"]));
|
|
12437
12434
|
}
|
|
12438
|
-
}),
|
|
12435
|
+
}), l8 = { class: "ao-field" }, u8 = { class: "ao-field__label" }, c8 = ["checked", "disabled"], $8 = /* @__PURE__ */ q({
|
|
12439
12436
|
__name: "AoCheckboxField",
|
|
12440
12437
|
props: {
|
|
12441
12438
|
label: { default: "" },
|
|
@@ -12445,8 +12442,8 @@ const l8 = { class: "ao-field__label" }, u8 = /* @__PURE__ */ q({
|
|
|
12445
12442
|
},
|
|
12446
12443
|
emits: ["update:modelValue"],
|
|
12447
12444
|
setup(t) {
|
|
12448
|
-
return (e, a) => (p(), g("label",
|
|
12449
|
-
v("span",
|
|
12445
|
+
return (e, a) => (p(), g("label", l8, [
|
|
12446
|
+
v("span", u8, K(e.label), 1),
|
|
12450
12447
|
v("input", {
|
|
12451
12448
|
class: "ao-field__input",
|
|
12452
12449
|
type: "checkbox",
|
|
@@ -12459,31 +12456,31 @@ const l8 = { class: "ao-field__label" }, u8 = /* @__PURE__ */ q({
|
|
|
12459
12456
|
((s = n.target) == null ? void 0 : s.checked) ?? !1
|
|
12460
12457
|
);
|
|
12461
12458
|
})
|
|
12462
|
-
}, null, 40,
|
|
12459
|
+
}, null, 40, c8)
|
|
12463
12460
|
]));
|
|
12464
12461
|
}
|
|
12465
12462
|
});
|
|
12466
12463
|
export {
|
|
12467
12464
|
Je as AoAvatar,
|
|
12468
12465
|
pi as AoCardFeed,
|
|
12469
|
-
|
|
12466
|
+
$8 as AoCheckboxField,
|
|
12470
12467
|
fi as AoFeed,
|
|
12471
|
-
|
|
12472
|
-
|
|
12468
|
+
o8 as AoField,
|
|
12469
|
+
w8 as AoInputField,
|
|
12473
12470
|
$e as AoMultiselect,
|
|
12474
12471
|
p9 as AoProjectPhases,
|
|
12475
12472
|
Ov as AoTemplateDetails,
|
|
12476
|
-
|
|
12477
|
-
|
|
12473
|
+
h8 as AoTemplates,
|
|
12474
|
+
s8 as AoTemplatesList,
|
|
12478
12475
|
W2 as TemplateItemTypeEnum,
|
|
12479
12476
|
gn as activityFeedRoutes,
|
|
12480
|
-
|
|
12481
|
-
|
|
12477
|
+
C8 as activityFeedStatus,
|
|
12478
|
+
m8 as durationTypes,
|
|
12482
12479
|
Ht as feedFilterTypes,
|
|
12483
|
-
|
|
12484
|
-
|
|
12485
|
-
|
|
12486
|
-
|
|
12480
|
+
b8 as getActivityFeedRoutes,
|
|
12481
|
+
y8 as getProjectOverviewRoutes,
|
|
12482
|
+
_8 as getTemplateRoutes,
|
|
12483
|
+
g8 as listUpdateTypes,
|
|
12487
12484
|
_n as milestoneStatus,
|
|
12488
12485
|
Ye as projectOverviewRoutes,
|
|
12489
12486
|
F2 as ruleComparators,
|