@26lights/orcha 0.41.17 → 0.41.18
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 +38 -32
- package/dist/orcha.umd.js +2 -2
- package/dist/src/types/index.d.ts +5 -0
- 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 V, unref as J, mergeProps as Ae, createElementBlock as _, createElementVNode as v, pushScopeId as Hi, popScopeId as Vi, createStaticVNode as Di, computed as M, resolveDynamicComponent as ht, normalizeClass as Q, renderSlot as te, toDisplayString as z, createCommentVNode as E, ref as X, watch as ce, nextTick as Ve, withKeys as dt, toHandlers as Bi, withCtx as Z, createTextVNode as Za, createVNode as T, normalizeStyle as Wa, withModifiers as ve, createSlots as za, Fragment as fe, renderList as _e, onMounted as Et, onBeforeUnmount as In, onUnmounted as Ss, Teleport as Mt, toRefs as Oe, getCurrentInstance as It, toRef as Rt, normalizeProps as va, guardReactiveProps as fa, withDirectives as Ne, vShow as Ri, onUpdated as Ni, vModelText as Ge, vModelCheckbox as ji, resolveComponent as Ke, getCurrentScope as Ui, onScopeDispose as Fi, toHandlerKey as Zi } from "vue";
|
|
2
2
|
import { RouterView as Wi, useRoute as zi, useRouter as As } from "vue-router";
|
|
3
3
|
import mt from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const j4 = /* @__PURE__ */ q({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -1453,11 +1453,11 @@ const Cs = {
|
|
|
1453
1453
|
todo: "todo",
|
|
1454
1454
|
done: "done",
|
|
1455
1455
|
archived: "archived"
|
|
1456
|
-
},
|
|
1456
|
+
}, U4 = {
|
|
1457
1457
|
months: "months",
|
|
1458
1458
|
weeks: "weeks",
|
|
1459
1459
|
days: "days"
|
|
1460
|
-
},
|
|
1460
|
+
}, F4 = {
|
|
1461
1461
|
future: "future",
|
|
1462
1462
|
this_month: "this_month",
|
|
1463
1463
|
this_week: "this_week",
|
|
@@ -1481,7 +1481,7 @@ const Cs = {
|
|
|
1481
1481
|
TASKS: "tasks"
|
|
1482
1482
|
};
|
|
1483
1483
|
var K2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(K2 || {});
|
|
1484
|
-
const
|
|
1484
|
+
const Z4 = {
|
|
1485
1485
|
add: "add",
|
|
1486
1486
|
remove: "remove",
|
|
1487
1487
|
moved: "moved"
|
|
@@ -5377,7 +5377,7 @@ function f7(t, e, a) {
|
|
|
5377
5377
|
let ue = k;
|
|
5378
5378
|
if (x.value && y.value) {
|
|
5379
5379
|
let ge = le.value;
|
|
5380
|
-
ge || (ge = (wt, rn,
|
|
5380
|
+
ge || (ge = (wt, rn, D4) => bt.value.some((Pi) => {
|
|
5381
5381
|
let un = ms(wa(wt[Pi]), ae.value);
|
|
5382
5382
|
return H.value ? un.startsWith(ms(rn, ae.value)) : un.indexOf(ms(rn, ae.value)) !== -1;
|
|
5383
5383
|
})), ue = ue.filter((wt) => ge(wt, x.value, ne));
|
|
@@ -12387,7 +12387,7 @@ const y4 = { class: "ao-feed" }, b4 = { class: "ao-feed__filters" }, w4 = { clas
|
|
|
12387
12387
|
};
|
|
12388
12388
|
}
|
|
12389
12389
|
});
|
|
12390
|
-
const k4 = { class: "ao-project" }, S4 = { class: "ao-project__body" }, A4 = /* @__PURE__ */ q({
|
|
12390
|
+
const k4 = { class: "ao-project" }, S4 = { class: "ao-project__body" }, A4 = ["src", "alt"], M4 = /* @__PURE__ */ q({
|
|
12391
12391
|
__name: "AoMapping",
|
|
12392
12392
|
props: {
|
|
12393
12393
|
project: {},
|
|
@@ -12496,7 +12496,13 @@ const k4 = { class: "ao-project" }, S4 = { class: "ao-project__body" }, A4 = /*
|
|
|
12496
12496
|
onArchivePhase: l,
|
|
12497
12497
|
onUnarchivePhase: r,
|
|
12498
12498
|
onCopyPhaseToTemplate: c
|
|
12499
|
-
}, null, 8, ["phases", "closed-status", "is-editable", "users"])
|
|
12499
|
+
}, null, 8, ["phases", "closed-status", "is-editable", "users"]),
|
|
12500
|
+
O.project.architectureImage ? (p(), _("img", {
|
|
12501
|
+
key: 0,
|
|
12502
|
+
class: "main-image",
|
|
12503
|
+
src: O.project.architectureImage.url,
|
|
12504
|
+
alt: J(s)("architectureImage.alt")
|
|
12505
|
+
}, null, 8, A4)) : E("", !0)
|
|
12500
12506
|
])
|
|
12501
12507
|
])
|
|
12502
12508
|
], 16),
|
|
@@ -12522,7 +12528,7 @@ const Bt = {
|
|
|
12522
12528
|
TEMPLATES: "templates",
|
|
12523
12529
|
TEMPLATE_DETAILS: "template_details",
|
|
12524
12530
|
TEMPLATES_LIST: "templates_list"
|
|
12525
|
-
},
|
|
12531
|
+
}, W4 = (t, e = {}) => [
|
|
12526
12532
|
{
|
|
12527
12533
|
path: t,
|
|
12528
12534
|
name: Bt.TEMPLATES,
|
|
@@ -12532,7 +12538,7 @@ const Bt = {
|
|
|
12532
12538
|
{
|
|
12533
12539
|
path: "",
|
|
12534
12540
|
name: Bt.TEMPLATES_LIST,
|
|
12535
|
-
component:
|
|
12541
|
+
component: O4
|
|
12536
12542
|
},
|
|
12537
12543
|
{
|
|
12538
12544
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -12548,7 +12554,7 @@ const Bt = {
|
|
|
12548
12554
|
mapping: "AoProjectMapping",
|
|
12549
12555
|
milestone: "AoMilestone",
|
|
12550
12556
|
activity: "AoActivity"
|
|
12551
|
-
},
|
|
12557
|
+
}, z4 = (t, e = {}) => [
|
|
12552
12558
|
{
|
|
12553
12559
|
path: t,
|
|
12554
12560
|
...e,
|
|
@@ -12586,12 +12592,12 @@ const Bt = {
|
|
|
12586
12592
|
{
|
|
12587
12593
|
path: "mapping",
|
|
12588
12594
|
name: ye.mapping,
|
|
12589
|
-
component:
|
|
12595
|
+
component: M4,
|
|
12590
12596
|
props: !0
|
|
12591
12597
|
}
|
|
12592
12598
|
]
|
|
12593
12599
|
}
|
|
12594
|
-
],
|
|
12600
|
+
], T4 = { class: "ao-templates" }, O4 = /* @__PURE__ */ q({
|
|
12595
12601
|
__name: "AoTemplatesList",
|
|
12596
12602
|
props: {
|
|
12597
12603
|
templates: {}
|
|
@@ -12640,7 +12646,7 @@ const Bt = {
|
|
|
12640
12646
|
});
|
|
12641
12647
|
}
|
|
12642
12648
|
};
|
|
12643
|
-
return (r, c) => (p(), _("div",
|
|
12649
|
+
return (r, c) => (p(), _("div", T4, [
|
|
12644
12650
|
T(_a, null, {
|
|
12645
12651
|
secondary: Z(() => [
|
|
12646
12652
|
T(re, {
|
|
@@ -12685,7 +12691,7 @@ const Bt = {
|
|
|
12685
12691
|
]));
|
|
12686
12692
|
}
|
|
12687
12693
|
});
|
|
12688
|
-
const
|
|
12694
|
+
const E4 = { class: "ao-field__label" }, I4 = /* @__PURE__ */ q({
|
|
12689
12695
|
__name: "AoField",
|
|
12690
12696
|
props: {
|
|
12691
12697
|
label: {},
|
|
@@ -12695,11 +12701,11 @@ const O4 = { class: "ao-field__label" }, E4 = /* @__PURE__ */ q({
|
|
|
12695
12701
|
return (e, a) => (p(), _("label", {
|
|
12696
12702
|
class: Q(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12697
12703
|
}, [
|
|
12698
|
-
v("span",
|
|
12704
|
+
v("span", E4, z(e.label), 1),
|
|
12699
12705
|
te(e.$slots, "default")
|
|
12700
12706
|
], 2));
|
|
12701
12707
|
}
|
|
12702
|
-
}),
|
|
12708
|
+
}), L4 = ["type", "value", "disabled", "readonly"], q4 = /* @__PURE__ */ q({
|
|
12703
12709
|
__name: "AoInputField",
|
|
12704
12710
|
props: {
|
|
12705
12711
|
label: { default: "" },
|
|
@@ -12716,7 +12722,7 @@ const O4 = { class: "ao-field__label" }, E4 = /* @__PURE__ */ q({
|
|
|
12716
12722
|
), n = (o) => {
|
|
12717
12723
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12718
12724
|
};
|
|
12719
|
-
return (o, i) => (p(), V(
|
|
12725
|
+
return (o, i) => (p(), V(I4, { label: o.label }, {
|
|
12720
12726
|
default: Z(() => [
|
|
12721
12727
|
v("input", Ae({
|
|
12722
12728
|
class: "ao-field__input",
|
|
@@ -12726,12 +12732,12 @@ const O4 = { class: "ao-field__label" }, E4 = /* @__PURE__ */ q({
|
|
|
12726
12732
|
readonly: o.isReadonly
|
|
12727
12733
|
}, {
|
|
12728
12734
|
[Zi(s.value)]: i[0] || (i[0] = (l) => n(l.target.value))
|
|
12729
|
-
}), null, 16,
|
|
12735
|
+
}), null, 16, L4)
|
|
12730
12736
|
]),
|
|
12731
12737
|
_: 1
|
|
12732
12738
|
}, 8, ["label"]));
|
|
12733
12739
|
}
|
|
12734
|
-
}),
|
|
12740
|
+
}), P4 = { class: "ao-field" }, H4 = { class: "ao-field__label" }, V4 = ["checked", "disabled"], x4 = /* @__PURE__ */ q({
|
|
12735
12741
|
__name: "AoCheckboxField",
|
|
12736
12742
|
props: {
|
|
12737
12743
|
label: { default: "" },
|
|
@@ -12741,8 +12747,8 @@ const O4 = { class: "ao-field__label" }, E4 = /* @__PURE__ */ q({
|
|
|
12741
12747
|
},
|
|
12742
12748
|
emits: ["update:modelValue"],
|
|
12743
12749
|
setup(t) {
|
|
12744
|
-
return (e, a) => (p(), _("label",
|
|
12745
|
-
v("span",
|
|
12750
|
+
return (e, a) => (p(), _("label", P4, [
|
|
12751
|
+
v("span", H4, z(e.label), 1),
|
|
12746
12752
|
v("input", {
|
|
12747
12753
|
class: "ao-field__input",
|
|
12748
12754
|
type: "checkbox",
|
|
@@ -12755,29 +12761,29 @@ const O4 = { class: "ao-field__label" }, E4 = /* @__PURE__ */ q({
|
|
|
12755
12761
|
((n = s.target) == null ? void 0 : n.checked) ?? !1
|
|
12756
12762
|
);
|
|
12757
12763
|
})
|
|
12758
|
-
}, null, 40,
|
|
12764
|
+
}, null, 40, V4)
|
|
12759
12765
|
]));
|
|
12760
12766
|
}
|
|
12761
12767
|
});
|
|
12762
12768
|
export {
|
|
12763
12769
|
et as AoAvatar,
|
|
12764
12770
|
mi as AoCardFeed,
|
|
12765
|
-
|
|
12771
|
+
x4 as AoCheckboxField,
|
|
12766
12772
|
$4 as AoFeed,
|
|
12767
|
-
|
|
12768
|
-
|
|
12773
|
+
I4 as AoField,
|
|
12774
|
+
q4 as AoInputField,
|
|
12769
12775
|
Se as AoMultiselect,
|
|
12770
12776
|
vi as AoProjectPhases,
|
|
12771
12777
|
Df as AoTemplateDetails,
|
|
12772
|
-
|
|
12773
|
-
|
|
12778
|
+
j4 as AoTemplates,
|
|
12779
|
+
O4 as AoTemplatesList,
|
|
12774
12780
|
K2 as TemplateItemTypeEnum,
|
|
12775
|
-
|
|
12776
|
-
|
|
12781
|
+
F4 as activityFeedStatus,
|
|
12782
|
+
U4 as durationTypes,
|
|
12777
12783
|
Vt as feedFilterTypes,
|
|
12778
|
-
|
|
12779
|
-
|
|
12780
|
-
|
|
12784
|
+
z4 as getProjectOverviewRoutes,
|
|
12785
|
+
W4 as getTemplateRoutes,
|
|
12786
|
+
Z4 as listUpdateTypes,
|
|
12781
12787
|
Cs as milestoneStatus,
|
|
12782
12788
|
ye as projectOverviewRoutes,
|
|
12783
12789
|
q2 as ruleComparators,
|