@processmaker/screen-builder 3.0.4 → 3.0.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.
@@ -7612,7 +7612,7 @@ const xl = {
7612
7612
  methods: {
7613
7613
  elementCssClass(t) {
7614
7614
  const e = [];
7615
- return t.config.bgcolor && e.push(t.config.bgcolor), t.config.color && e.push(t.config.color), e.join(" ");
7615
+ return t.config.bgcolor && e.push(t.config.bgcolor), t.config.color && e.push(t.config.color), t.config.bgcolormodern && e.push(t.config.bgcolormodern), e.join(" ");
7616
7616
  },
7617
7617
  elementCssClassModern(t) {
7618
7618
  const e = [];
@@ -44824,9 +44824,10 @@ const sK = {
44824
44824
  }
44825
44825
  };
44826
44826
  var oK = function() {
44827
+ var i;
44827
44828
  var e = this, r = e._self._c;
44828
- return r("b-container", { attrs: { fluid: "" } }, [e.displayAsyncLoading ? r("div", { ref: "watchersAsynchronous", staticClass: "alert alert-light", attrs: { role: "alert" } }, [r("svg", { staticClass: "lds-gear", attrs: { width: "20px", height: "20px", xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink", viewBox: "0 0 100 100", preserveAspectRatio: "xMidYMid" } }, [r("g", { attrs: { transform: "translate(50 50)" } }, [r("g", { attrs: { transform: "rotate(248.825)" } }, [r("animateTransform", { attrs: { attributeName: "transform", type: "rotate", values: "0;360", keyTimes: "0;1", dur: "4.7s", repeatCount: "indefinite" } }), r("path", { attrs: { d: "M37.43995192304605 -6.5 L47.43995192304605 -6.5 L47.43995192304605 6.5 L37.43995192304605 6.5 A38 38 0 0 1 35.67394948182593 13.090810836924174 L35.67394948182593 13.090810836924174 L44.33420351967032 18.090810836924174 L37.83420351967032 29.34914108612188 L29.17394948182593 24.34914108612188 A38 38 0 0 1 24.34914108612188 29.17394948182593 L24.34914108612188 29.17394948182593 L29.34914108612188 37.83420351967032 L18.090810836924184 44.33420351967032 L13.090810836924183 35.67394948182593 A38 38 0 0 1 6.5 37.43995192304605 L6.5 37.43995192304605 L6.500000000000001 47.43995192304605 L-6.499999999999995 47.43995192304606 L-6.499999999999996 37.43995192304606 A38 38 0 0 1 -13.09081083692417 35.67394948182593 L-13.09081083692417 35.67394948182593 L-18.09081083692417 44.33420351967032 L-29.34914108612187 37.834203519670325 L-24.349141086121872 29.173949481825936 A38 38 0 0 1 -29.17394948182592 24.34914108612189 L-29.17394948182592 24.34914108612189 L-37.83420351967031 29.349141086121893 L-44.33420351967031 18.0908108369242 L-35.67394948182592 13.090810836924193 A38 38 0 0 1 -37.43995192304605 6.5000000000000036 L-37.43995192304605 6.5000000000000036 L-47.43995192304605 6.500000000000004 L-47.43995192304606 -6.499999999999993 L-37.43995192304606 -6.499999999999994 A38 38 0 0 1 -35.67394948182593 -13.090810836924167 L-35.67394948182593 -13.090810836924167 L-44.33420351967032 -18.090810836924163 L-37.834203519670325 -29.34914108612187 L-29.173949481825936 -24.34914108612187 A38 38 0 0 1 -24.349141086121893 -29.17394948182592 L-24.349141086121893 -29.17394948182592 L-29.349141086121897 -37.834203519670304 L-18.0908108369242 -44.334203519670304 L-13.090810836924195 -35.67394948182592 A38 38 0 0 1 -6.500000000000005 -37.43995192304605 L-6.500000000000005 -37.43995192304605 L-6.500000000000007 -47.43995192304605 L6.49999999999999 -47.43995192304606 L6.499999999999992 -37.43995192304606 A38 38 0 0 1 13.090810836924149 -35.67394948182594 L13.090810836924149 -35.67394948182594 L18.090810836924142 -44.33420351967033 L29.349141086121847 -37.83420351967034 L24.349141086121854 -29.17394948182595 A38 38 0 0 1 29.17394948182592 -24.349141086121893 L29.17394948182592 -24.349141086121893 L37.834203519670304 -29.349141086121897 L44.334203519670304 -18.0908108369242 L35.67394948182592 -13.090810836924197 A38 38 0 0 1 37.43995192304605 -6.500000000000007 M0 -20A20 20 0 1 0 0 20 A20 20 0 1 0 0 -20" } })], 1)])]), e._v(" " + e._s(e.$t("Loading...")) + " ")]) : e._e(), r(e.component, { ref: "component", tag: "component", attrs: { vdata: e.value, _parent: e._parent || e.value._parent, "_initial-page": e.currentPage, taskdraft: e.taskdraft }, on: { "after-submit": e.afterSubmit, submit: e.submit, asyncWatcherTriggered: e.onAsyncWatcherOn, asyncWatcherCompleted: e.onAsyncWatcherOff } }), e.showErrors && e.building.error ? r("screen-renderer-error", { model: { value: e.building, callback: function(i) {
44829
- e.building = i;
44829
+ return r("b-container", { attrs: { fluid: "" } }, [e.displayAsyncLoading ? r("div", { ref: "watchersAsynchronous", staticClass: "alert alert-light", attrs: { role: "alert" } }, [r("svg", { staticClass: "lds-gear", attrs: { width: "20px", height: "20px", xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink", viewBox: "0 0 100 100", preserveAspectRatio: "xMidYMid" } }, [r("g", { attrs: { transform: "translate(50 50)" } }, [r("g", { attrs: { transform: "rotate(248.825)" } }, [r("animateTransform", { attrs: { attributeName: "transform", type: "rotate", values: "0;360", keyTimes: "0;1", dur: "4.7s", repeatCount: "indefinite" } }), r("path", { attrs: { d: "M37.43995192304605 -6.5 L47.43995192304605 -6.5 L47.43995192304605 6.5 L37.43995192304605 6.5 A38 38 0 0 1 35.67394948182593 13.090810836924174 L35.67394948182593 13.090810836924174 L44.33420351967032 18.090810836924174 L37.83420351967032 29.34914108612188 L29.17394948182593 24.34914108612188 A38 38 0 0 1 24.34914108612188 29.17394948182593 L24.34914108612188 29.17394948182593 L29.34914108612188 37.83420351967032 L18.090810836924184 44.33420351967032 L13.090810836924183 35.67394948182593 A38 38 0 0 1 6.5 37.43995192304605 L6.5 37.43995192304605 L6.500000000000001 47.43995192304605 L-6.499999999999995 47.43995192304606 L-6.499999999999996 37.43995192304606 A38 38 0 0 1 -13.09081083692417 35.67394948182593 L-13.09081083692417 35.67394948182593 L-18.09081083692417 44.33420351967032 L-29.34914108612187 37.834203519670325 L-24.349141086121872 29.173949481825936 A38 38 0 0 1 -29.17394948182592 24.34914108612189 L-29.17394948182592 24.34914108612189 L-37.83420351967031 29.349141086121893 L-44.33420351967031 18.0908108369242 L-35.67394948182592 13.090810836924193 A38 38 0 0 1 -37.43995192304605 6.5000000000000036 L-37.43995192304605 6.5000000000000036 L-47.43995192304605 6.500000000000004 L-47.43995192304606 -6.499999999999993 L-37.43995192304606 -6.499999999999994 A38 38 0 0 1 -35.67394948182593 -13.090810836924167 L-35.67394948182593 -13.090810836924167 L-44.33420351967032 -18.090810836924163 L-37.834203519670325 -29.34914108612187 L-29.173949481825936 -24.34914108612187 A38 38 0 0 1 -24.349141086121893 -29.17394948182592 L-24.349141086121893 -29.17394948182592 L-29.349141086121897 -37.834203519670304 L-18.0908108369242 -44.334203519670304 L-13.090810836924195 -35.67394948182592 A38 38 0 0 1 -6.500000000000005 -37.43995192304605 L-6.500000000000005 -37.43995192304605 L-6.500000000000007 -47.43995192304605 L6.49999999999999 -47.43995192304606 L6.499999999999992 -37.43995192304606 A38 38 0 0 1 13.090810836924149 -35.67394948182594 L13.090810836924149 -35.67394948182594 L18.090810836924142 -44.33420351967033 L29.349141086121847 -37.83420351967034 L24.349141086121854 -29.17394948182595 A38 38 0 0 1 29.17394948182592 -24.349141086121893 L29.17394948182592 -24.349141086121893 L37.834203519670304 -29.349141086121897 L44.334203519670304 -18.0908108369242 L35.67394948182592 -13.090810836924197 A38 38 0 0 1 37.43995192304605 -6.500000000000007 M0 -20A20 20 0 1 0 0 20 A20 20 0 1 0 0 -20" } })], 1)])]), e._v(" " + e._s(e.$t("Loading...")) + " ")]) : e._e(), r(e.component, { ref: "component", tag: "component", attrs: { vdata: e.value, _parent: e._parent || ((i = e.value) == null ? void 0 : i._parent), "_initial-page": e.currentPage, taskdraft: e.taskdraft }, on: { "after-submit": e.afterSubmit, submit: e.submit, asyncWatcherTriggered: e.onAsyncWatcherOn, asyncWatcherCompleted: e.onAsyncWatcherOff } }), e.showErrors && e.building.error ? r("screen-renderer-error", { model: { value: e.building, callback: function(a) {
44830
+ e.building = a;
44830
44831
  }, expression: "building" } }) : e._e(), r("watchers-synchronous", { ref: "watchersSynchronous" })], 1);
44831
44832
  }, lK = [], uK = /* @__PURE__ */ ee(
44832
44833
  sK,
@@ -45075,15 +45076,16 @@ const cK = {
45075
45076
  }
45076
45077
  };
45077
45078
  var dK = function() {
45079
+ var i;
45078
45080
  var e = this, r = e._self._c;
45079
- return r("div", { ref: "formRendererContainer", class: [e.containerClass, e.containerDeviceClass], style: e.cssDevice, attrs: { id: "vue-form-renderer", "data-cy": "screen-renderer-container" } }, [r("custom-css-output", [e._v(e._s(e.customCssWrapped))]), r("screen-renderer", { ref: "renderer", staticClass: "p-0", attrs: { value: e.data, _parent: e._parent || e.data._parent, definition: e.definition, "current-page": e.currentPage, "data-cy": "screen-renderer", "show-errors": e.showErrors, "test-screen-definition": e.testScreenDefinition || !1, "loop-context": e.loopContext, taskdraft: e.taskdraft }, on: { "after-submit": e.afterSubmit, submit: e.submit } })], 1);
45081
+ return r("div", { ref: "formRendererContainer", class: [e.containerClass, e.containerDeviceClass], style: e.cssDevice, attrs: { id: "vue-form-renderer", "data-cy": "screen-renderer-container" } }, [r("custom-css-output", [e._v(e._s(e.customCssWrapped))]), r("screen-renderer", { ref: "renderer", staticClass: "p-0", attrs: { value: e.data, _parent: e._parent || ((i = e.data) == null ? void 0 : i._parent), definition: e.definition, "current-page": e.currentPage, "data-cy": "screen-renderer", "show-errors": e.showErrors, "test-screen-definition": e.testScreenDefinition || !1, "loop-context": e.loopContext, taskdraft: e.taskdraft }, on: { "after-submit": e.afterSubmit, submit: e.submit } })], 1);
45080
45082
  }, fK = [], pK = /* @__PURE__ */ ee(
45081
45083
  cK,
45082
45084
  dK,
45083
45085
  fK,
45084
45086
  !1,
45085
45087
  null,
45086
- "e0c23fad",
45088
+ "f47c54c2",
45087
45089
  null,
45088
45090
  null
45089
45091
  );
@@ -45486,17 +45488,17 @@ const TK = {
45486
45488
  },
45487
45489
  // The fields used for our vue table
45488
45490
  tableFields() {
45489
- var e, r;
45491
+ var e, r, i;
45490
45492
  const t = this.getTableFieldsFromDataSource();
45491
- return this.editable && !this.selfReferenced && t.push(TK), ["single-field", "single-record"].includes((e = this.source) == null ? void 0 : e.dataSelectionOptions) && t.unshift({
45493
+ return this.editable && !this.selfReferenced && t.push(TK), ((e = this.source) == null ? void 0 : e.sourceOptions) === "Collection" && (["single-field", "single-record"].includes((r = this.source) == null ? void 0 : r.dataSelectionOptions) && t.unshift({
45492
45494
  key: "radio",
45493
45495
  label: "",
45494
45496
  sortable: !1
45495
- }), ((r = this.source) == null ? void 0 : r.dataSelectionOptions) === "multiple-records" && t.unshift({
45497
+ }), ((i = this.source) == null ? void 0 : i.dataSelectionOptions) === "multiple-records" && t.unshift({
45496
45498
  key: "checkbox",
45497
45499
  label: "",
45498
45500
  sortable: !1
45499
- }), t;
45501
+ })), t;
45500
45502
  },
45501
45503
  // Determines if the form used for add/edit is self referencing. If so, we should not show it
45502
45504
  selfReferenced() {
@@ -46425,14 +46427,14 @@ var r_ = function() {
46425
46427
  } }, [e.containsHTML(e.getNestedPropertyValue(i, n)) ? [r("div", { class: { "pm-table-truncate": n.truncate }, style: { maxWidth: n.width + "px" }, attrs: { id: `element-${a}-${s}` } }, [r("span", { domProps: { innerHTML: e._s(e.sanitize(e.getNestedPropertyValue(i, n))) } })]), n.truncate ? r("b-tooltip", { attrs: { target: `element-${a}-${s}`, "custom-class": "pm-table-tooltip", placement: "topright", trigger: "hover", boundary: "viewport", delay: { show: 0, hide: 0 } }, on: { show: e.checkIfTooltipIsNeeded } }, [e._v(" " + e._s(e.sanitizeTooltip(e.getNestedPropertyValue(i, n))) + " ")]) : e._e()] : [e.isComponent(i[n.field]) ? [r(i[n.field].component, e._b({ tag: "component" }, "component", i[n.field].props, !1))] : [r("div", { class: { "pm-table-truncate": n.truncate }, style: { maxWidth: n.width + "px" }, attrs: { id: `element-${a}-${s}` } }, [e._v(" " + e._s(e.getNestedPropertyValue(i, n)) + " "), n.truncate ? r("b-tooltip", { attrs: { target: `element-${a}-${s}`, "custom-class": "pm-table-tooltip", placement: "topright", trigger: "hover", boundary: "viewport", delay: { show: 0, hide: 0 } }, on: { show: e.checkIfTooltipIsNeeded } }, [e._v(" " + e._s(e.getNestedPropertyValue(i, n)) + " ")]) : e._e()], 1)]]], 2);
46426
46428
  });
46427
46429
  }, proxy: !0 };
46428
- })], null, !0) })], 1) : r("div", [r("formEmpty", { attrs: { link: "Requests", title: "No Cases to Show", url: e.noDataUrl } })], 1);
46430
+ })], null, !0) })], 1) : r("div", [r("formEmpty", { attrs: { link: "Requests", title: e.$t("No Cases to Show"), url: e.noDataUrl } })], 1);
46429
46431
  }, i_ = [], a_ = /* @__PURE__ */ ee(
46430
46432
  t_,
46431
46433
  r_,
46432
46434
  i_,
46433
46435
  !1,
46434
46436
  null,
46435
- "7880db17",
46437
+ "2a7e0d76",
46436
46438
  null,
46437
46439
  null
46438
46440
  );
@@ -46575,7 +46577,7 @@ var f_ = function() {
46575
46577
  return e._l(e.emptyStartEvents(i), function(n, s) {
46576
46578
  return r("div", { key: `process-${a}-${s}`, staticClass: "col-sm-6" }, [r("ProcessCard", { attrs: { filter: e.filter, process: i, event: n } })], 1);
46577
46579
  });
46578
- })], 2)]) : r("div", [r("formEmpty", { attrs: { link: "", title: "No Case to Start", url: "" } })], 1)]);
46580
+ })], 2)]) : r("div", [r("formEmpty", { attrs: { link: "", title: e.$t("No Case to Start"), url: "" } })], 1)]);
46579
46581
  }, p_ = [], h_ = /* @__PURE__ */ ee(
46580
46582
  d_,
46581
46583
  f_,
@@ -46618,11 +46620,11 @@ const v_ = {
46618
46620
  },
46619
46621
  watch: {
46620
46622
  listOption() {
46621
- this.title = this.checkTitle(this.listOption), this.dataControl = {};
46623
+ this.title = this.$t(this.checkTitle(this.listOption)), this.dataControl = {};
46622
46624
  }
46623
46625
  },
46624
46626
  mounted() {
46625
- this.title = this.checkTitle(this.listOption);
46627
+ this.title = this.$t(this.checkTitle(this.listOption));
46626
46628
  },
46627
46629
  methods: {
46628
46630
  /**
@@ -46705,7 +46707,7 @@ var g_ = function() {
46705
46707
  b_,
46706
46708
  !1,
46707
46709
  null,
46708
- "d2551af0",
46710
+ "c896b8d7",
46709
46711
  null,
46710
46712
  null
46711
46713
  );
@@ -46873,7 +46875,8 @@ const Nu = L_.exports, yg = [
46873
46875
  dataRecordList: [],
46874
46876
  idCollectionScreenView: null,
46875
46877
  idCollectionScreenEdit: null,
46876
- screenMode: null
46878
+ screenMode: null,
46879
+ collectionsMap: {}
46877
46880
  };
46878
46881
  },
46879
46882
  computed: {
@@ -46892,7 +46895,7 @@ const Nu = L_.exports, yg = [
46892
46895
  },
46893
46896
  collectionId: {
46894
46897
  handler() {
46895
- this.getFields();
46898
+ this.updateScreenIds(), this.getFields();
46896
46899
  }
46897
46900
  },
46898
46901
  options: {
@@ -46922,12 +46925,14 @@ const Nu = L_.exports, yg = [
46922
46925
  },
46923
46926
  getCollections() {
46924
46927
  this.$dataProvider.getCollections().then((t) => {
46925
- const [e = {}] = t.data.data || [];
46926
- this.idCollectionScreenView = e.read_screen_id, this.idCollectionScreenEdit = e.create_screen_id, this.collections = [
46928
+ this.collectionsMap = t.data.data.reduce((e, r) => (e[r.id] = {
46929
+ read_screen_id: r.read_screen_id,
46930
+ create_screen_id: r.create_screen_id
46931
+ }, e), {}), this.collections = [
46927
46932
  { value: null, text: this.$t("Select a collection") },
46928
- ...t.data.data.map((r) => ({
46929
- text: r.name,
46930
- value: r.id
46933
+ ...t.data.data.map((e) => ({
46934
+ text: e.name,
46935
+ value: e.id
46931
46936
  }))
46932
46937
  ];
46933
46938
  });
@@ -46949,6 +46954,13 @@ const Nu = L_.exports, yg = [
46949
46954
  },
46950
46955
  onPmqlChange(t) {
46951
46956
  this.pmql = t;
46957
+ },
46958
+ updateScreenIds() {
46959
+ if (this.collectionId && this.collectionsMap[this.collectionId]) {
46960
+ const t = this.collectionsMap[this.collectionId];
46961
+ this.idCollectionScreenView = t.read_screen_id, this.idCollectionScreenEdit = t.create_screen_id;
46962
+ } else
46963
+ this.idCollectionScreenView = null, this.idCollectionScreenEdit = null;
46952
46964
  }
46953
46965
  }
46954
46966
  };
@@ -47007,7 +47019,8 @@ const V_ = typeof window > "u" ? global : window, Jc = [
47007
47019
  screenType: "",
47008
47020
  hasMustache: !1,
47009
47021
  flagDraft: {},
47010
- taskDraft: {}
47022
+ taskDraft: {},
47023
+ enableDraft: !0
47011
47024
  };
47012
47025
  },
47013
47026
  computed: {
@@ -47055,9 +47068,9 @@ const V_ = typeof window > "u" ? global : window, Jc = [
47055
47068
  var o, u;
47056
47069
  this.placeholder = "";
47057
47070
  const a = i.data, n = i.collection.read_screen_id, s = i.collection.update_screen_id;
47058
- this.screenCollectionId = this.selDisplayMode === "View" ? n : s, this.loadScreen(this.screenCollectionId), ((u = (o = this.taskDraft) == null ? void 0 : o.draft) == null ? void 0 : u.data) == null || this.taskDraft.draft.data === "" ? this.localData = a : this.localData = ie.merge({}, a, this.taskDraft.draft.data);
47071
+ this.screenCollectionId = typeof this.selDisplayMode == "function" ? this.collectionmode.modeId === "View" ? n : s : this.selDisplayMode === "View" ? n : s, this.loadScreen(this.screenCollectionId), ((u = (o = this.taskDraft) == null ? void 0 : o.draft) == null ? void 0 : u.data) == null || this.taskDraft.draft.data === "" || !this.enableDraft ? this.localData = a : this.localData = ie.merge({}, a, this.taskDraft.draft.data);
47059
47072
  }).catch(() => {
47060
- this.localData = {}, V_.ProcessMaker.alert(this.$t("This content does not exist. We could not locate indicated data"), "danger");
47073
+ this.localData = {}, V_.ProcessMaker.alert(this.$t("This content does not exist. We could not locate indicated data"), "danger"), this.placeholder = "Select a collection";
47061
47074
  });
47062
47075
  },
47063
47076
  isMustache(t) {
@@ -47074,7 +47087,7 @@ const V_ = typeof window > "u" ? global : window, Jc = [
47074
47087
  t && (this.selCollectionId = t.collectionId);
47075
47088
  },
47076
47089
  record(t) {
47077
- this.hasMustache = !1, t && !isNaN(t) && t > 0 && this.collection.collectionId ? (this.selRecordId = t, this.loadRecordCollection(this.collection.collectionId, t, this.selDisplayMode)) : (this.isMustache(t) && this.callbackRecord(), this.localData = {});
47090
+ this.hasMustache = !1, this.enableDraft = !1, t && !isNaN(t) && t > 0 && this.collection.collectionId ? (this.selRecordId = t, this.loadRecordCollection(this.collection.collectionId, t, this.selDisplayMode)) : (this.isMustache(t) && this.callbackRecord(), this.localData = {});
47078
47091
  },
47079
47092
  collectionmode(t) {
47080
47093
  t && (this.selDisplayMode = t.modeId), this.loadRecordCollection(this.selCollectionId, this.selRecordId, this.selDisplayMode);
@@ -49077,7 +49090,7 @@ var bee = function() {
49077
49090
  e.showJsonEditor = !1;
49078
49091
  } } }, [r("i", { staticClass: "fas fa-code", attrs: { "aria-hidden": "true" } }), e._v(" " + e._s(e.$t("Edit as Option List")) + " ")])], 1) : e._e(), e.showTypeOfValueReturned ? r("div", [r("label", { attrs: { for: "value-type-returned" } }, [e._v(e._s(e.$t("Type of Value Returned")))]), r("b-form-select", { attrs: { id: "value-type-returded", options: e.returnValueOptions, "data-cy": "inspector-value-returned" }, model: { value: e.valueTypeReturned, callback: function(i) {
49079
49092
  e.valueTypeReturned = i;
49080
- }, expression: "valueTypeReturned" } }), r("small", { staticClass: "form-text text-muted mb-3" }, [e._v(e._s(e.$t("Select 'Single Value' to use parts of the selected object. Select 'Object' to use the entire selected value.")))])], 1) : e._e(), e.dataSource === e.dataSourceValues.dataConnector ? r("div", [e.valueTypeReturned === "single" ? r("div", [r("label", { attrs: { for: "key" } }, [e._v(e._s(e.$t("Value")))]), r("mustache-helper"), r("b-form-input", { attrs: { id: "key", "data-cy": "inspector-datasource-value" }, on: { change: e.keyChanged }, model: { value: e.key, callback: function(i) {
49093
+ }, expression: "valueTypeReturned" } }), r("small", { staticClass: "form-text text-muted mb-3" }, [e._v(e._s(e.$t("Select 'Single Value' to use parts of the selected object. Select 'Object' to use the entire selected value.")))])], 1) : e._e(), e.dataSource === e.dataSourceValues.dataConnector ? r("div", [e.valueTypeReturned === "single" || e.valueTypeReturned === "object" && e.$attrs["screen-type"] === "conversational" ? r("div", [r("label", { attrs: { for: "key" } }, [e._v(e._s(e.$t("Value")))]), r("mustache-helper"), r("b-form-input", { attrs: { id: "key", "data-cy": "inspector-datasource-value" }, on: { change: e.keyChanged }, model: { value: e.key, callback: function(i) {
49081
49094
  e.key = i;
49082
49095
  }, expression: "key" } }), r("small", { staticClass: "form-text text-muted mb-3" }, [e._v(e._s(e.$t("Key name in the selected object to use as the value of this control. Leave blank to use the entire selected value.")))])], 1) : e._e(), r("label", { attrs: { for: "value" } }, [e._v(e._s(e.$t("Content")))]), r("mustache-helper"), r("b-form-input", { attrs: { id: "value", "data-cy": "inspector-datasource-content" }, on: { change: e.valueChanged }, model: { value: e.value, callback: function(i) {
49083
49096
  e.value = i;
@@ -49096,7 +49109,7 @@ var bee = function() {
49096
49109
  yee,
49097
49110
  !1,
49098
49111
  null,
49099
- "282ac989",
49112
+ "d8fa58ec",
49100
49113
  null,
49101
49114
  null
49102
49115
  );
@@ -51917,22 +51930,22 @@ var yre = function() {
51917
51930
  return e.removeFromClipboard(e.extendedPages[i].items[n]);
51918
51931
  } } }) : e._e(), e.isAiSection(a) && e.aiPreview(a) ? r("button", { staticClass: "btn btn-sm btn-primary mr-2", attrs: { "data-test": "apply-ai-btn", title: e.$t("Apply Changes") }, on: { click: function(s) {
51919
51932
  return e.applyAiChanges(a);
51920
- } } }, [e._v(" " + e._s(e.$t("Apply Changes")) + " ")]) : e._e(), e.isAiSection(a) && e.aiPreview(a) ? e._e() : r("button", { staticClass: "btn btn-sm btn-secondary mr-2", attrs: { "data-test": "copy-control-btn", title: e.$t("Copy Control") }, on: { click: function(s) {
51933
+ } } }, [e._v(" " + e._s(e.$t("Apply Changes")) + " ")]) : e._e(), e.isAiSection(a) && e.aiPreview(a) ? e._e() : r("button", { staticClass: "btn btn-sm btn-primary mr-2", attrs: { "data-test": "copy-control-btn", title: e.$t("Copy Control") }, on: { click: function(s) {
51921
51934
  return e.duplicateItem(n);
51922
51935
  } } }, [r("i", { staticClass: "fas fa-copy text-light" })]), r("button", { staticClass: "btn btn-sm btn-danger", attrs: { "data-test": "delete-control-btn", title: e.$t("Delete Control") }, on: { click: function(s) {
51923
51936
  return e.deleteItem(n);
51924
- } } }, [r("i", { staticClass: "far fa-trash-alt text-light" })])], 1)], 1) : e._e(), r(a["editor-component"], { tag: "component", staticClass: "card-body", class: e.styleMode === "Modern" && a.component === "FormRecordList" ? e.elementCssClassModern(a) : e.elementCssClass(a), attrs: { "validation-errors": e.validationErrors, selected: e.selected, config: a.config, "ai-element": a, "screen-type": e.screenType }, on: { inspect: e.inspect, "update-state": e.updateState }, model: { value: a.items, callback: function(s) {
51937
+ } } }, [r("i", { staticClass: "far fa-trash-alt text-light" })])], 1)], 1) : e._e(), r(a["editor-component"], { tag: "component", staticClass: "card-body", class: e.elementCssClass(a), attrs: { "validation-errors": e.validationErrors, selected: e.selected, config: a.config, "ai-element": a, "screen-type": e.screenType }, on: { inspect: e.inspect, "update-state": e.updateState }, model: { value: a.items, callback: function(s) {
51925
51938
  e.$set(a, "items", s);
51926
51939
  }, expression: "element.items" } })], 1) : r("div", { staticClass: "card", attrs: { "data-cy": "screen-element-container" } }, [e.selected === a ? r("div", { staticClass: "card-header form-element-header d-flex align-items-center" }, [r("i", { staticClass: "fas fa-arrows-alt-v mr-1 text-muted" }), a.config.icon ? r("i", { staticClass: "mr-2 ml-1", class: a.config.icon }) : e._e(), e._v(" " + e._s(a.config.name || e.$t("Variable Name")) + " "), !e.isClipboardPage(i) && e.isInClipboard(e.extendedPages[i].items[n]) && e.screenType === "form" ? r("b-badge", { staticClass: "m-2 custom-badge", attrs: { "data-cy": "copied-badge", pill: "" } }, [r("i", { staticClass: "far fa-check-circle" }), r("span", { staticClass: "pl-2" }, [e._v(e._s(e.$t("Copied")))])]) : e._e(), r("div", { staticClass: "ml-auto" }, [!e.isClipboardPage(i) && e.screenType === "form" ? r("clipboard-button", { attrs: { index: n, config: a.config, isInClipboard: e.isInClipboard(e.extendedPages[i].items[n]), addTitle: e.$t("Add to clipboard"), removeTitle: e.$t("Remove from clipboard") }, on: { addToClipboard: function(s) {
51927
51940
  return e.addToClipboard(e.extendedPages[i].items[n]);
51928
51941
  }, removeFromClipboard: function(s) {
51929
51942
  return e.removeFromClipboard(e.extendedPages[i].items[n]);
51930
- } } }) : e._e(), r("button", { staticClass: "btn btn-sm btn-secondary mr-2", attrs: { title: e.$t("Copy Control") }, on: { click: function(s) {
51943
+ } } }) : e._e(), r("button", { staticClass: "btn btn-sm btn-primary mr-2", attrs: { title: e.$t("Copy Control") }, on: { click: function(s) {
51931
51944
  return e.duplicateItem(n);
51932
51945
  } } }, [r("i", { staticClass: "fas fa-copy text-light" })]), r("button", { staticClass: "btn btn-sm btn-danger", attrs: { title: e.$t("Delete Control") }, on: { click: function(s) {
51933
51946
  return e.deleteItem(n);
51934
51947
  } } }, [r("i", { staticClass: "far fa-trash-alt text-light" })])], 1)], 1) : e._e(), r(a["editor-component"], e._b({ tag: "component", staticClass: "card-body m-0 pb-4 pt-4", class: [
51935
- e.styleMode === "Modern" && a.component === "FormRecordList" ? e.elementCssClassModern(a) : e.elementCssClass(a),
51948
+ e.elementCssClass(a),
51936
51949
  { "prevent-interaction": !a.config.interactive }
51937
51950
  ], attrs: { tabindex: a.config.interactive ? 0 : -1, "screen-type": e.screenType }, on: { input: function(s) {
51938
51951
  a.config.interactive && (a.config.content = s);
@@ -51985,7 +51998,7 @@ var yre = function() {
51985
51998
  xre,
51986
51999
  !1,
51987
52000
  null,
51988
- "a75f5502",
52001
+ "8adaccab",
51989
52002
  null,
51990
52003
  null
51991
52004
  );
@@ -52535,7 +52548,16 @@ const Ire = Lu(Ere), hae = Lu(jre), mae = Lu([zre]), Lre = Lu([cS, uS]), Fre = N
52535
52548
  dataSource: yi.provideData,
52536
52549
  jsonData: ""
52537
52550
  },
52538
- form: ""
52551
+ form: "",
52552
+ source: {
52553
+ collectionFields: [],
52554
+ collectionFieldsColumns: [],
52555
+ pmql: null,
52556
+ sourceOptions: "Variable",
52557
+ variableStore: null,
52558
+ dataSelectionOptions: "no-selection",
52559
+ singleField: null
52560
+ }
52539
52561
  },
52540
52562
  inspector: [
52541
52563
  cr,
@@ -54009,7 +54031,7 @@ var Kre = function() {
54009
54031
  return e.removeFromClipboard(e.items[a]);
54010
54032
  } } }) : e._e(), e.isAiSection(i) && e.aiPreview(i) ? r("button", { staticClass: "btn btn-sm btn-primary mr-2", attrs: { title: e.$t("Apply Changes") }, on: { click: function(n) {
54011
54033
  return e.applyAiChanges(i);
54012
- } } }, [e._v(" " + e._s(e.$t("Apply Changes")) + " ")]) : e._e(), e.isAiSection(i) && e.aiPreview(i) ? e._e() : r("button", { staticClass: "btn btn-sm btn-secondary mr-2", attrs: { title: e.$t("Copy Control") }, on: { click: function(n) {
54034
+ } } }, [e._v(" " + e._s(e.$t("Apply Changes")) + " ")]) : e._e(), e.isAiSection(i) && e.aiPreview(i) ? e._e() : r("button", { staticClass: "btn btn-sm btn-primary mr-2", attrs: { title: e.$t("Copy Control") }, on: { click: function(n) {
54013
54035
  return e.duplicateItem(a);
54014
54036
  } } }, [r("i", { staticClass: "fas fa-copy text-light" })]), r("button", { staticClass: "btn btn-sm btn-danger", attrs: { "aria-label": e.$t("Delete") }, on: { click: function(n) {
54015
54037
  return e.deleteItem(a);
@@ -54021,7 +54043,7 @@ var Kre = function() {
54021
54043
  return e.addToClipboard(e.items[a]);
54022
54044
  }, removeFromClipboard: function(n) {
54023
54045
  return e.removeFromClipboard(e.items[a]);
54024
- } } }) : e._e(), r("button", { staticClass: "btn btn-sm btn-secondary mr-2", attrs: { title: e.$t("Copy Control") }, on: { click: function(n) {
54046
+ } } }) : e._e(), r("button", { staticClass: "btn btn-sm btn-primary mr-2", attrs: { title: e.$t("Copy Control") }, on: { click: function(n) {
54025
54047
  return e.duplicateItem(a);
54026
54048
  } } }, [r("i", { staticClass: "fas fa-copy text-light" })]), r("button", { staticClass: "btn btn-sm btn-danger", attrs: { "aria-label": e.$t("Delete") }, on: { click: function(n) {
54027
54049
  return e.deleteItem(a);
@@ -54038,7 +54060,7 @@ var Kre = function() {
54038
54060
  _re,
54039
54061
  !1,
54040
54062
  null,
54041
- "dbf93f27",
54063
+ "9d689ab6",
54042
54064
  null,
54043
54065
  null
54044
54066
  );
@@ -54164,7 +54186,7 @@ var iie = function() {
54164
54186
  return e.removeFromClipboard(n);
54165
54187
  } } }) : e._e(), e.isAiSection(n) && e.aiPreview(n) ? r("button", { staticClass: "btn btn-sm btn-primary mr-2", attrs: { title: e.$t("Apply Changes") }, on: { click: function(o) {
54166
54188
  return e.applyAiChanges(n);
54167
- } } }, [e._v(" " + e._s(e.$t("Apply Changes")) + " ")]) : e._e(), e.isAiSection(n) && e.aiPreview(n) ? e._e() : r("button", { staticClass: "btn btn-sm btn-secondary mr-2", attrs: { "aria-label": e.$t("Duplicate") }, on: { click: function(o) {
54189
+ } } }, [e._v(" " + e._s(e.$t("Apply Changes")) + " ")]) : e._e(), e.isAiSection(n) && e.aiPreview(n) ? e._e() : r("button", { staticClass: "btn btn-sm btn-primary mr-2", attrs: { "aria-label": e.$t("Duplicate") }, on: { click: function(o) {
54168
54190
  return e.duplicateItem(a, s);
54169
54191
  } } }, [r("i", { staticClass: "fas fa-copy text-light" })]), r("button", { staticClass: "btn btn-sm btn-danger", attrs: { "aria-label": e.$t("Delete") }, on: { click: function(o) {
54170
54192
  return e.deleteItem(a, s);
@@ -54176,7 +54198,7 @@ var iie = function() {
54176
54198
  return e.addToClipboard(n);
54177
54199
  }, removeFromClipboard: function(o) {
54178
54200
  return e.removeFromClipboard(n);
54179
- } } }) : e._e(), r("button", { staticClass: "btn btn-sm btn-secondary mr-2", attrs: { title: e.$t("Copy Control") }, on: { click: function(o) {
54201
+ } } }) : e._e(), r("button", { staticClass: "btn btn-sm btn-primary mr-2", attrs: { title: e.$t("Copy Control") }, on: { click: function(o) {
54180
54202
  return e.duplicateItem(a, s);
54181
54203
  } } }, [r("i", { staticClass: "fas fa-copy text-light" })]), r("button", { staticClass: "btn btn-sm btn-danger", attrs: { "aria-label": e.$t("Delete") }, on: { click: function(o) {
54182
54204
  return e.deleteItem(a, s);
@@ -54194,7 +54216,7 @@ var iie = function() {
54194
54216
  aie,
54195
54217
  !1,
54196
54218
  null,
54197
- "c18cf715",
54219
+ "fb76657c",
54198
54220
  null,
54199
54221
  null
54200
54222
  );