@arbocollab/arbo-web-scene 0.26.5-alpha.44 → 0.26.5-alpha.45

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/es/index.es.js CHANGED
@@ -51370,7 +51370,7 @@ const bgn = {
51370
51370
  (s = (a = e == null ? void 0 : e.config) == null ? void 0 : a.globalProperties) == null || s.setStoreValue("scene", "setCurrentSceneTabId", o);
51371
51371
  }
51372
51372
  return e.config.globalProperties.setStoreValue = r, e.config.globalProperties.handleSetTab = i, { handleSetTab: i };
51373
- }, Egn = "0.26.5-alpha.44", xgn = {
51373
+ }, Egn = "0.26.5-alpha.45", xgn = {
51374
51374
  "@arbocollab/arbo-chart-component": "1.0.1",
51375
51375
  "@arbocollab/arbo-comment-utils": "1.0.1",
51376
51376
  "@arbocollab/arbo-common-utils": "npm:@arbocollab/arbo-common-utils@0.0.12-alpha.0",
@@ -204085,11 +204085,11 @@ const OLr = /* @__PURE__ */ pi(DLr, [["render", ALr], ["__scopeId", "data-v-4a44
204085
204085
  return kft(C, "white") ? "#f3f5f8" : "white";
204086
204086
  }), w = async (C) => {
204087
204087
  var x, E, T;
204088
- if (C == a.value || C == null || !g.value) {
204089
- c.value = (x = o.value) == null ? void 0 : x.find((O) => O.id === a.value);
204088
+ if (console.log("nextStatus", C), C.id == a.value || C == null || !g.value) {
204089
+ c.value = (x = o.value) == null ? void 0 : x.find((O) => O.id === a.value), console.log("status not changed or no permission,", C, a.value, g.value);
204090
204090
  return;
204091
204091
  }
204092
- const y = (E = o == null ? void 0 : o.value) == null ? void 0 : E.find((O) => O.id === C);
204092
+ const y = (E = o == null ? void 0 : o.value) == null ? void 0 : E.find((O) => O.id === C.id);
204093
204093
  y && (f.value = !0, (await d({ template_flow_status_id: y.id })).success ? (c.value = y, await i(), s.value === "home" && m()) : c.value = (T = o.value) == null ? void 0 : T.find((A) => A.id === a.value), f.value = !1);
204094
204094
  };
204095
204095
  gt(a, () => {
@@ -204111,15 +204111,12 @@ function RLr(e, t, n, r, i, o) {
204111
204111
  class: $e(["arbo-status-button", { "status-disabled": !r.canUpdate }]),
204112
204112
  style: pn({ borderColor: r.borderColor }),
204113
204113
  disable: !r.canUpdate || r.props.disabled,
204114
- modelValue: r._status,
204115
- "onUpdate:modelValue": [
204116
- t[0] || (t[0] = (a) => r._status = a),
204117
- r.handleUpdateStatus
204118
- ],
204114
+ "model-value": r._status,
204119
204115
  options: r.allStatus,
204116
+ "onUpdate:modelValue": r.handleUpdateStatus,
204120
204117
  withNextBtn: !0,
204121
204118
  loading: r.isUpdating
204122
- }, null, 8, ["style", "class", "disable", "modelValue", "options", "loading"]);
204119
+ }, null, 8, ["style", "class", "disable", "model-value", "options", "loading"]);
204123
204120
  }
204124
204121
  const $Lr = /* @__PURE__ */ pi(ILr, [["render", RLr], ["__scopeId", "data-v-c28bbc90"], ["__file", "/home/mor-ubuntu/arbo/arbo-web-scene/src/components/scene-footer/SceneFooter.vue"]]), XDt = () => {
204125
204122
  const e = wd(), t = Eo(), {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arbocollab/arbo-web-scene",
3
3
  "description": "Arbo Web Scene",
4
- "version": "0.26.5-alpha.44",
4
+ "version": "0.26.5-alpha.45",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "scripts": {