@26lights/orcha 0.34.8 → 0.34.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/orcha.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as ae, openBlock as f, createBlock as N, unref as ee, mergeProps as Ve, createElementBlock as g, createElementVNode as v, pushScopeId as hs, popScopeId as Cs, createStaticVNode as gs, computed as M, resolveDynamicComponent as pt, normalizeClass as Q, renderSlot as ne, toDisplayString as J, createCommentVNode as E, ref as se, watch as ce, nextTick as De, withKeys as dt, toHandlers as _s, withCtx as z, createTextVNode as Ra, createVNode as L, normalizeStyle as vn, withModifiers as he, createSlots as Na, Fragment as Ce, renderList as ye, onMounted as Ft, onBeforeUnmount as pn, onUnmounted as mn, Teleport as Ht, toRefs as Ae, getCurrentInstance as Mt, toRef as Vt, normalizeProps as ua, guardReactiveProps as da, withDirectives as xe, vShow as ys, onUpdated as bs, vModelText as rt, resolveComponent as ws, getCurrentScope as $s, onScopeDispose as ks, toHandlerKey as Ms } from "vue";
2
2
  import { RouterView as As } from "vue-router";
3
3
  import mt from "vuedraggable";
4
- const Sv = /* @__PURE__ */ ae({
4
+ const Ev = /* @__PURE__ */ ae({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
@@ -1441,11 +1441,11 @@ const c1 = {
1441
1441
  todo: "todo",
1442
1442
  done: "done",
1443
1443
  archived: "archived"
1444
- }, Ev = {
1444
+ }, Ov = {
1445
1445
  months: "months",
1446
1446
  weeks: "weeks",
1447
1447
  days: "days"
1448
- }, Ov = {
1448
+ }, Iv = {
1449
1449
  future: "future",
1450
1450
  this_month: "this_month",
1451
1451
  this_week: "this_week",
@@ -1469,7 +1469,7 @@ const c1 = {
1469
1469
  TASKS: "tasks"
1470
1470
  };
1471
1471
  var E2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(E2 || {});
1472
- const Iv = {
1472
+ const Lv = {
1473
1473
  add: "add",
1474
1474
  remove: "remove",
1475
1475
  moved: "moved"
@@ -5343,7 +5343,7 @@ function Y5(t, e, a) {
5343
5343
  let oe = b;
5344
5344
  if (G.value && w.value) {
5345
5345
  let pe = re.value;
5346
- pe || (pe = (yt, q1, kv) => _t.value.some((ms) => {
5346
+ pe || (pe = (yt, q1, Mv) => _t.value.some((ms) => {
5347
5347
  let W1 = u1(Ca(yt[ms]), X.value);
5348
5348
  return x.value ? W1.startsWith(u1(q1, X.value)) : W1.indexOf(u1(q1, X.value)) !== -1;
5349
5349
  })), oe = oe.filter((yt) => pe(yt, G.value, W));
@@ -10843,7 +10843,7 @@ const av = { class: "ao-feed" }, nv = { class: "ao-feed__filters" }, sv = { clas
10843
10843
  }, uv = { class: "ao-field__label" }, dv = {
10844
10844
  key: 2,
10845
10845
  class: "ao-field ao-feed__activity-details__status"
10846
- }, cv = { class: "ao-field__label" }, fv = { class: "ao-field__row" }, vv = { class: "ao-field" }, pv = { class: "ao-field__label" }, mv = /* @__PURE__ */ ae({
10846
+ }, cv = { class: "ao-field__label" }, fv = { class: "ao-field__row" }, vv = { class: "ao-field" }, pv = /* @__PURE__ */ v("h1", null, "pouet", -1), mv = { class: "ao-field__label" }, hv = /* @__PURE__ */ ae({
10847
10847
  __name: "AoFeed",
10848
10848
  props: {
10849
10849
  activities: {},
@@ -11171,7 +11171,8 @@ const av = { class: "ao-feed" }, nv = { class: "ao-feed__filters" }, sv = { clas
11171
11171
  default: z((W) => [
11172
11172
  v("div", fv, [
11173
11173
  v("label", vv, [
11174
- v("span", pv, J(k.$t("activity.deadline.label")), 1),
11174
+ pv,
11175
+ v("span", mv, J(k.$t("activity.deadline.label")), 1),
11175
11176
  xe(v("input", {
11176
11177
  "onUpdate:modelValue": x[6] || (x[6] = (R) => S.value = R),
11177
11178
  class: "ao-field__input",
@@ -11199,7 +11200,7 @@ const Lt = {
11199
11200
  TEMPLATES: "templates",
11200
11201
  TEMPLATE_DETAILS: "template_details",
11201
11202
  TEMPLATES_LIST: "templates_list"
11202
- }, Lv = (t, e = {}) => [
11203
+ }, Vv = (t, e = {}) => [
11203
11204
  {
11204
11205
  path: t,
11205
11206
  name: Lt.TEMPLATES,
@@ -11209,7 +11210,7 @@ const Lt = {
11209
11210
  {
11210
11211
  path: "",
11211
11212
  name: Lt.TEMPLATES_LIST,
11212
- component: Cv
11213
+ component: gv
11213
11214
  },
11214
11215
  {
11215
11216
  path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
@@ -11224,7 +11225,7 @@ const Lt = {
11224
11225
  feed: "AoProjectFeed",
11225
11226
  milestone: "AoMilestone",
11226
11227
  activity: "AoActivity"
11227
- }, Vv = (t, e = {}) => [
11228
+ }, Dv = (t, e = {}) => [
11228
11229
  {
11229
11230
  path: t,
11230
11231
  ...e,
@@ -11256,12 +11257,12 @@ const Lt = {
11256
11257
  {
11257
11258
  path: "feed",
11258
11259
  name: Ue.feed,
11259
- component: mv,
11260
+ component: hv,
11260
11261
  props: !0
11261
11262
  }
11262
11263
  ]
11263
11264
  }
11264
- ], hv = { class: "ao-templates" }, Cv = /* @__PURE__ */ ae({
11265
+ ], Cv = { class: "ao-templates" }, gv = /* @__PURE__ */ ae({
11265
11266
  __name: "AoTemplatesList",
11266
11267
  props: {
11267
11268
  templates: {}
@@ -11301,7 +11302,7 @@ const Lt = {
11301
11302
  });
11302
11303
  }
11303
11304
  };
11304
- return (l, r) => (f(), g("div", hv, [
11305
+ return (l, r) => (f(), g("div", Cv, [
11305
11306
  L(Wa, null, {
11306
11307
  secondary: z(() => [
11307
11308
  L(de, {
@@ -11345,7 +11346,7 @@ const Lt = {
11345
11346
  ]));
11346
11347
  }
11347
11348
  });
11348
- const gv = { class: "ao-field__label" }, _v = /* @__PURE__ */ ae({
11349
+ const _v = { class: "ao-field__label" }, yv = /* @__PURE__ */ ae({
11349
11350
  __name: "AoField",
11350
11351
  props: {
11351
11352
  label: {},
@@ -11355,11 +11356,11 @@ const gv = { class: "ao-field__label" }, _v = /* @__PURE__ */ ae({
11355
11356
  return (e, a) => (f(), g("label", {
11356
11357
  class: Q(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
11357
11358
  }, [
11358
- v("span", gv, J(e.label), 1),
11359
+ v("span", _v, J(e.label), 1),
11359
11360
  ne(e.$slots, "default")
11360
11361
  ], 2));
11361
11362
  }
11362
- }), yv = ["type", "value", "disabled", "readonly"], Dv = /* @__PURE__ */ ae({
11363
+ }), bv = ["type", "value", "disabled", "readonly"], Pv = /* @__PURE__ */ ae({
11363
11364
  __name: "AoInputField",
11364
11365
  props: {
11365
11366
  label: { default: "" },
@@ -11376,7 +11377,7 @@ const gv = { class: "ao-field__label" }, _v = /* @__PURE__ */ ae({
11376
11377
  ), s = (o) => {
11377
11378
  a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
11378
11379
  };
11379
- return (o, i) => (f(), N(_v, { label: o.label }, {
11380
+ return (o, i) => (f(), N(yv, { label: o.label }, {
11380
11381
  default: z(() => [
11381
11382
  v("input", Ve({
11382
11383
  class: "ao-field__input",
@@ -11386,12 +11387,12 @@ const gv = { class: "ao-field__label" }, _v = /* @__PURE__ */ ae({
11386
11387
  readonly: o.isReadonly
11387
11388
  }, {
11388
11389
  [Ms(n.value)]: i[0] || (i[0] = (l) => s(l.target.value))
11389
- }), null, 16, yv)
11390
+ }), null, 16, bv)
11390
11391
  ]),
11391
11392
  _: 1
11392
11393
  }, 8, ["label"]));
11393
11394
  }
11394
- }), bv = { class: "ao-field" }, wv = { class: "ao-field__label" }, $v = ["checked", "disabled"], Pv = /* @__PURE__ */ ae({
11395
+ }), wv = { class: "ao-field" }, $v = { class: "ao-field__label" }, kv = ["checked", "disabled"], Hv = /* @__PURE__ */ ae({
11395
11396
  __name: "AoCheckboxField",
11396
11397
  props: {
11397
11398
  label: { default: "" },
@@ -11401,8 +11402,8 @@ const gv = { class: "ao-field__label" }, _v = /* @__PURE__ */ ae({
11401
11402
  },
11402
11403
  emits: ["update:modelValue"],
11403
11404
  setup(t) {
11404
- return (e, a) => (f(), g("label", bv, [
11405
- v("span", wv, J(e.label), 1),
11405
+ return (e, a) => (f(), g("label", wv, [
11406
+ v("span", $v, J(e.label), 1),
11406
11407
  v("input", {
11407
11408
  class: "ao-field__input",
11408
11409
  type: "checkbox",
@@ -11415,28 +11416,28 @@ const gv = { class: "ao-field__label" }, _v = /* @__PURE__ */ ae({
11415
11416
  ((s = n.target) == null ? void 0 : s.checked) ?? !1
11416
11417
  );
11417
11418
  })
11418
- }, null, 40, $v)
11419
+ }, null, 40, kv)
11419
11420
  ]));
11420
11421
  }
11421
11422
  });
11422
11423
  export {
11423
11424
  Qn as AoCardFeed,
11424
- Pv as AoCheckboxField,
11425
- mv as AoFeed,
11426
- _v as AoField,
11427
- Dv as AoInputField,
11425
+ Hv as AoCheckboxField,
11426
+ hv as AoFeed,
11427
+ yv as AoField,
11428
+ Pv as AoInputField,
11428
11429
  we as AoMultiselect,
11429
11430
  Zf as AoProjectPhases,
11430
11431
  lf as AoTemplateDetails,
11431
- Sv as AoTemplates,
11432
- Cv as AoTemplatesList,
11432
+ Ev as AoTemplates,
11433
+ gv as AoTemplatesList,
11433
11434
  E2 as TemplateItemTypeEnum,
11434
- Ov as activityFeedStatus,
11435
- Ev as durationTypes,
11435
+ Iv as activityFeedStatus,
11436
+ Ov as durationTypes,
11436
11437
  Ot as feedFilterTypes,
11437
- Vv as getProjectOverviewRoutes,
11438
- Lv as getTemplateRoutes,
11439
- Iv as listUpdateTypes,
11438
+ Dv as getProjectOverviewRoutes,
11439
+ Vv as getTemplateRoutes,
11440
+ Lv as listUpdateTypes,
11440
11441
  c1 as milestoneStatus,
11441
11442
  Ue as projectOverviewRoutes,
11442
11443
  A2 as ruleComparators,