@26lights/orcha 0.35.5 → 0.35.6

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 J, openBlock as v, createBlock as R, unref as Q, mergeProps as Ve, createElementBlock as g, createElementVNode as p, pushScopeId as hs, popScopeId as Cs, createStaticVNode as gs, computed as M, resolveDynamicComponent as vt, normalizeClass as x, renderSlot as te, toDisplayString as K, createCommentVNode as T, ref as ae, watch as ce, nextTick as De, withKeys as ut, toHandlers as _s, withCtx as q, createTextVNode as Ra, createVNode as V, normalizeStyle as f1, withModifiers as he, createSlots as Na, Fragment as Ce, renderList as ye, onMounted as qt, onBeforeUnmount as v1, onUnmounted as p1, Teleport as Ht, toRefs as Ae, getCurrentInstance as Mt, toRef as Vt, normalizeProps as ua, guardReactiveProps as da, withDirectives as rt, vShow as ys, onUpdated as bs, vModelText as bt, 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 pt from "vuedraggable";
4
- const Av = /* @__PURE__ */ J({
4
+ const Mv = /* @__PURE__ */ J({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
@@ -1441,11 +1441,11 @@ const fn = {
1441
1441
  todo: "todo",
1442
1442
  done: "done",
1443
1443
  archived: "archived"
1444
- }, Tv = {
1444
+ }, Av = {
1445
1445
  months: "months",
1446
1446
  weeks: "weeks",
1447
1447
  days: "days"
1448
- }, Sv = {
1448
+ }, Tv = {
1449
1449
  future: "future",
1450
1450
  this_month: "this_month",
1451
1451
  this_week: "this_week",
@@ -1469,7 +1469,7 @@ const fn = {
1469
1469
  TASKS: "tasks"
1470
1470
  };
1471
1471
  var O2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(O2 || {});
1472
- const Ov = {
1472
+ const Sv = {
1473
1473
  add: "add",
1474
1474
  remove: "remove",
1475
1475
  moved: "moved"
@@ -5343,7 +5343,7 @@ function x5(t, e, a) {
5343
5343
  let oe = b;
5344
5344
  if (G.value && w.value) {
5345
5345
  let pe = se.value;
5346
- pe || (pe = (_t, qn, wv) => gt.value.some((ms) => {
5346
+ pe || (pe = (_t, qn, bv) => gt.value.some((ms) => {
5347
5347
  let Wn = dn(Ca(_t[ms]), Y.value);
5348
5348
  return le.value ? Wn.startsWith(dn(qn, Y.value)) : Wn.indexOf(dn(qn, Y.value)) !== -1;
5349
5349
  })), oe = oe.filter((_t) => pe(_t, G.value, re));
@@ -10912,7 +10912,7 @@ const ov = { class: "ao-field ao-search-field" }, rv = ["value", "placeholder",
10912
10912
  ]));
10913
10913
  }
10914
10914
  });
10915
- const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = /* @__PURE__ */ p("div", null, "HELLOOOOOOOOOOOOOOOOOOOOOooooo", -1), fv = { class: "ao-feed__body" }, vv = /* @__PURE__ */ J({
10915
+ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { class: "ao-feed__body" }, fv = /* @__PURE__ */ J({
10916
10916
  __name: "AoFeed",
10917
10917
  props: {
10918
10918
  activities: {},
@@ -11021,7 +11021,6 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = /* @__
11021
11021
  V(Wa, null, {
11022
11022
  primary: q(() => [
11023
11023
  p("div", dv, [
11024
- cv,
11025
11024
  a.project ? (v(), R(X1, {
11026
11025
  key: 0,
11027
11026
  "is-left": !1,
@@ -11112,7 +11111,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = /* @__
11112
11111
  ]),
11113
11112
  _: 1
11114
11113
  }),
11115
- p("div", fv, [
11114
+ p("div", cv, [
11116
11115
  (v(!0), g(Ce, null, ye(E.statuses, (k) => (v(), R(iv, {
11117
11116
  key: k.id,
11118
11117
  status: k,
@@ -11170,7 +11169,7 @@ const Lt = {
11170
11169
  TEMPLATES: "templates",
11171
11170
  TEMPLATE_DETAILS: "template_details",
11172
11171
  TEMPLATES_LIST: "templates_list"
11173
- }, Ev = (t, e = {}) => [
11172
+ }, Ov = (t, e = {}) => [
11174
11173
  {
11175
11174
  path: t,
11176
11175
  name: Lt.TEMPLATES,
@@ -11180,7 +11179,7 @@ const Lt = {
11180
11179
  {
11181
11180
  path: "",
11182
11181
  name: Lt.TEMPLATES_LIST,
11183
- component: mv
11182
+ component: pv
11184
11183
  },
11185
11184
  {
11186
11185
  path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
@@ -11195,7 +11194,7 @@ const Lt = {
11195
11194
  feed: "AoProjectFeed",
11196
11195
  milestone: "AoMilestone",
11197
11196
  activity: "AoActivity"
11198
- }, Iv = (t, e = {}) => [
11197
+ }, Ev = (t, e = {}) => [
11199
11198
  {
11200
11199
  path: t,
11201
11200
  ...e,
@@ -11227,12 +11226,12 @@ const Lt = {
11227
11226
  {
11228
11227
  path: "feed",
11229
11228
  name: Ue.feed,
11230
- component: vv,
11229
+ component: fv,
11231
11230
  props: !0
11232
11231
  }
11233
11232
  ]
11234
11233
  }
11235
- ], pv = { class: "ao-templates" }, mv = /* @__PURE__ */ J({
11234
+ ], vv = { class: "ao-templates" }, pv = /* @__PURE__ */ J({
11236
11235
  __name: "AoTemplatesList",
11237
11236
  props: {
11238
11237
  templates: {}
@@ -11272,7 +11271,7 @@ const Lt = {
11272
11271
  });
11273
11272
  }
11274
11273
  };
11275
- return (r, l) => (v(), g("div", pv, [
11274
+ return (r, l) => (v(), g("div", vv, [
11276
11275
  V(Wa, null, {
11277
11276
  secondary: q(() => [
11278
11277
  V(de, {
@@ -11316,7 +11315,7 @@ const Lt = {
11316
11315
  ]));
11317
11316
  }
11318
11317
  });
11319
- const hv = { class: "ao-field__label" }, Cv = /* @__PURE__ */ J({
11318
+ const mv = { class: "ao-field__label" }, hv = /* @__PURE__ */ J({
11320
11319
  __name: "AoField",
11321
11320
  props: {
11322
11321
  label: {},
@@ -11326,11 +11325,11 @@ const hv = { class: "ao-field__label" }, Cv = /* @__PURE__ */ J({
11326
11325
  return (e, a) => (v(), g("label", {
11327
11326
  class: x(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
11328
11327
  }, [
11329
- p("span", hv, K(e.label), 1),
11328
+ p("span", mv, K(e.label), 1),
11330
11329
  te(e.$slots, "default")
11331
11330
  ], 2));
11332
11331
  }
11333
- }), gv = ["type", "value", "disabled", "readonly"], Lv = /* @__PURE__ */ J({
11332
+ }), Cv = ["type", "value", "disabled", "readonly"], Iv = /* @__PURE__ */ J({
11334
11333
  __name: "AoInputField",
11335
11334
  props: {
11336
11335
  label: { default: "" },
@@ -11347,7 +11346,7 @@ const hv = { class: "ao-field__label" }, Cv = /* @__PURE__ */ J({
11347
11346
  ), s = (o) => {
11348
11347
  a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
11349
11348
  };
11350
- return (o, i) => (v(), R(Cv, { label: o.label }, {
11349
+ return (o, i) => (v(), R(hv, { label: o.label }, {
11351
11350
  default: q(() => [
11352
11351
  p("input", Ve({
11353
11352
  class: "ao-field__input",
@@ -11357,12 +11356,12 @@ const hv = { class: "ao-field__label" }, Cv = /* @__PURE__ */ J({
11357
11356
  readonly: o.isReadonly
11358
11357
  }, {
11359
11358
  [Ms(n.value)]: i[0] || (i[0] = (r) => s(r.target.value))
11360
- }), null, 16, gv)
11359
+ }), null, 16, Cv)
11361
11360
  ]),
11362
11361
  _: 1
11363
11362
  }, 8, ["label"]));
11364
11363
  }
11365
- }), _v = { class: "ao-field" }, yv = { class: "ao-field__label" }, bv = ["checked", "disabled"], Vv = /* @__PURE__ */ J({
11364
+ }), gv = { class: "ao-field" }, _v = { class: "ao-field__label" }, yv = ["checked", "disabled"], Lv = /* @__PURE__ */ J({
11366
11365
  __name: "AoCheckboxField",
11367
11366
  props: {
11368
11367
  label: { default: "" },
@@ -11372,8 +11371,8 @@ const hv = { class: "ao-field__label" }, Cv = /* @__PURE__ */ J({
11372
11371
  },
11373
11372
  emits: ["update:modelValue"],
11374
11373
  setup(t) {
11375
- return (e, a) => (v(), g("label", _v, [
11376
- p("span", yv, K(e.label), 1),
11374
+ return (e, a) => (v(), g("label", gv, [
11375
+ p("span", _v, K(e.label), 1),
11377
11376
  p("input", {
11378
11377
  class: "ao-field__input",
11379
11378
  type: "checkbox",
@@ -11386,28 +11385,28 @@ const hv = { class: "ao-field__label" }, Cv = /* @__PURE__ */ J({
11386
11385
  ((s = n.target) == null ? void 0 : s.checked) ?? !1
11387
11386
  );
11388
11387
  })
11389
- }, null, 40, bv)
11388
+ }, null, 40, yv)
11390
11389
  ]));
11391
11390
  }
11392
11391
  });
11393
11392
  export {
11394
11393
  Q1 as AoCardFeed,
11395
- Vv as AoCheckboxField,
11396
- vv as AoFeed,
11397
- Cv as AoField,
11398
- Lv as AoInputField,
11394
+ Lv as AoCheckboxField,
11395
+ fv as AoFeed,
11396
+ hv as AoField,
11397
+ Iv as AoInputField,
11399
11398
  $e as AoMultiselect,
11400
11399
  Gf as AoProjectPhases,
11401
11400
  pf as AoTemplateDetails,
11402
- Av as AoTemplates,
11403
- mv as AoTemplatesList,
11401
+ Mv as AoTemplates,
11402
+ pv as AoTemplatesList,
11404
11403
  O2 as TemplateItemTypeEnum,
11405
- Sv as activityFeedStatus,
11406
- Tv as durationTypes,
11404
+ Tv as activityFeedStatus,
11405
+ Av as durationTypes,
11407
11406
  Et as feedFilterTypes,
11408
- Iv as getProjectOverviewRoutes,
11409
- Ev as getTemplateRoutes,
11410
- Ov as listUpdateTypes,
11407
+ Ev as getProjectOverviewRoutes,
11408
+ Ov as getTemplateRoutes,
11409
+ Sv as listUpdateTypes,
11411
11410
  fn as milestoneStatus,
11412
11411
  Ue as projectOverviewRoutes,
11413
11412
  A2 as ruleComparators,