@processmaker/screen-builder 3.0.5 → 3.0.7

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 = [];
@@ -7756,7 +7756,7 @@ const Z0 = "Clipboard", Zd = {
7756
7756
  hideHeaderClose: !0,
7757
7757
  centered: !0
7758
7758
  }
7759
- ) && (this.clipboardPage.items = [], this.$store.dispatch("clipboardModule/clearClipboard"), this.$root.$emit("update-clipboard"));
7759
+ ) && (this.$store.dispatch("clipboardModule/clearClipboard"), this.$root.$emit("update-clipboard"), this.clipboardPage.items = this.$store.getters["clipboardModule/clipboardItems"]);
7760
7760
  },
7761
7761
  /**
7762
7762
  * Close Clipboard
@@ -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
  );
@@ -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
  };
@@ -47008,7 +47020,8 @@ const V_ = typeof window > "u" ? global : window, Jc = [
47008
47020
  hasMustache: !1,
47009
47021
  flagDraft: {},
47010
47022
  taskDraft: {},
47011
- enableDraft: !0
47023
+ enableDraft: !0,
47024
+ defaultColumnsRecordId: 1
47012
47025
  };
47013
47026
  },
47014
47027
  computed: {
@@ -47072,7 +47085,11 @@ const V_ = typeof window > "u" ? global : window, Jc = [
47072
47085
  },
47073
47086
  watch: {
47074
47087
  collection(t) {
47075
- t && (this.selCollectionId = t.collectionId);
47088
+ if (t) {
47089
+ this.selCollectionId = t.collectionId;
47090
+ const e = this.localData;
47091
+ this.$set(t, "data", Array.isArray(e) ? e : [e]), this.$set(t, "screen", this.screenCollectionId);
47092
+ }
47076
47093
  },
47077
47094
  record(t) {
47078
47095
  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 = {});
@@ -47082,9 +47099,12 @@ const V_ = typeof window > "u" ? global : window, Jc = [
47082
47099
  }
47083
47100
  },
47084
47101
  mounted() {
47085
- this.$root.$on("taskdraft-input", (t) => {
47102
+ if (this.$root.$on("taskdraft-input", (t) => {
47086
47103
  this.taskDraft = t;
47087
- }), this.collection && this.record && this.loadRecordCollection(this.collection.collectionId, this.record, this.collectionmode.modeId);
47104
+ }), this.collection && this.record) {
47105
+ const t = this.isMustache(this.record) ? this.defaultColumnsRecordId : this.record;
47106
+ this.isMustache(this.record) && (this.hasMustache = !0), this.loadRecordCollection(this.collection.collectionId, t, this.collectionmode.modeId);
47107
+ }
47088
47108
  }
47089
47109
  };
47090
47110
  var W_ = function() {
@@ -49078,7 +49098,7 @@ var bee = function() {
49078
49098
  e.showJsonEditor = !1;
49079
49099
  } } }, [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) {
49080
49100
  e.valueTypeReturned = i;
49081
- }, 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) {
49101
+ }, 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) {
49082
49102
  e.key = i;
49083
49103
  }, 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) {
49084
49104
  e.value = i;
@@ -49097,7 +49117,7 @@ var bee = function() {
49097
49117
  yee,
49098
49118
  !1,
49099
49119
  null,
49100
- "282ac989",
49120
+ "d8fa58ec",
49101
49121
  null,
49102
49122
  null
49103
49123
  );
@@ -51918,22 +51938,22 @@ var yre = function() {
51918
51938
  return e.removeFromClipboard(e.extendedPages[i].items[n]);
51919
51939
  } } }) : 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) {
51920
51940
  return e.applyAiChanges(a);
51921
- } } }, [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) {
51941
+ } } }, [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) {
51922
51942
  return e.duplicateItem(n);
51923
51943
  } } }, [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) {
51924
51944
  return e.deleteItem(n);
51925
- } } }, [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) {
51945
+ } } }, [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) {
51926
51946
  e.$set(a, "items", s);
51927
51947
  }, 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) {
51928
51948
  return e.addToClipboard(e.extendedPages[i].items[n]);
51929
51949
  }, removeFromClipboard: function(s) {
51930
51950
  return e.removeFromClipboard(e.extendedPages[i].items[n]);
51931
- } } }) : e._e(), r("button", { staticClass: "btn btn-sm btn-secondary mr-2", attrs: { title: e.$t("Copy Control") }, on: { click: function(s) {
51951
+ } } }) : e._e(), r("button", { staticClass: "btn btn-sm btn-primary mr-2", attrs: { title: e.$t("Copy Control") }, on: { click: function(s) {
51932
51952
  return e.duplicateItem(n);
51933
51953
  } } }, [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) {
51934
51954
  return e.deleteItem(n);
51935
51955
  } } }, [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: [
51936
- e.styleMode === "Modern" && a.component === "FormRecordList" ? e.elementCssClassModern(a) : e.elementCssClass(a),
51956
+ e.elementCssClass(a),
51937
51957
  { "prevent-interaction": !a.config.interactive }
51938
51958
  ], attrs: { tabindex: a.config.interactive ? 0 : -1, "screen-type": e.screenType }, on: { input: function(s) {
51939
51959
  a.config.interactive && (a.config.content = s);
@@ -51986,7 +52006,7 @@ var yre = function() {
51986
52006
  xre,
51987
52007
  !1,
51988
52008
  null,
51989
- "a75f5502",
52009
+ "8adaccab",
51990
52010
  null,
51991
52011
  null
51992
52012
  );
@@ -54019,7 +54039,7 @@ var Kre = function() {
54019
54039
  return e.removeFromClipboard(e.items[a]);
54020
54040
  } } }) : 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) {
54021
54041
  return e.applyAiChanges(i);
54022
- } } }, [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) {
54042
+ } } }, [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) {
54023
54043
  return e.duplicateItem(a);
54024
54044
  } } }, [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) {
54025
54045
  return e.deleteItem(a);
@@ -54031,7 +54051,7 @@ var Kre = function() {
54031
54051
  return e.addToClipboard(e.items[a]);
54032
54052
  }, removeFromClipboard: function(n) {
54033
54053
  return e.removeFromClipboard(e.items[a]);
54034
- } } }) : e._e(), r("button", { staticClass: "btn btn-sm btn-secondary mr-2", attrs: { title: e.$t("Copy Control") }, on: { click: function(n) {
54054
+ } } }) : e._e(), r("button", { staticClass: "btn btn-sm btn-primary mr-2", attrs: { title: e.$t("Copy Control") }, on: { click: function(n) {
54035
54055
  return e.duplicateItem(a);
54036
54056
  } } }, [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) {
54037
54057
  return e.deleteItem(a);
@@ -54048,7 +54068,7 @@ var Kre = function() {
54048
54068
  _re,
54049
54069
  !1,
54050
54070
  null,
54051
- "dbf93f27",
54071
+ "9d689ab6",
54052
54072
  null,
54053
54073
  null
54054
54074
  );
@@ -54174,7 +54194,7 @@ var iie = function() {
54174
54194
  return e.removeFromClipboard(n);
54175
54195
  } } }) : 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) {
54176
54196
  return e.applyAiChanges(n);
54177
- } } }, [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) {
54197
+ } } }, [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) {
54178
54198
  return e.duplicateItem(a, s);
54179
54199
  } } }, [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) {
54180
54200
  return e.deleteItem(a, s);
@@ -54186,7 +54206,7 @@ var iie = function() {
54186
54206
  return e.addToClipboard(n);
54187
54207
  }, removeFromClipboard: function(o) {
54188
54208
  return e.removeFromClipboard(n);
54189
- } } }) : e._e(), r("button", { staticClass: "btn btn-sm btn-secondary mr-2", attrs: { title: e.$t("Copy Control") }, on: { click: function(o) {
54209
+ } } }) : e._e(), r("button", { staticClass: "btn btn-sm btn-primary mr-2", attrs: { title: e.$t("Copy Control") }, on: { click: function(o) {
54190
54210
  return e.duplicateItem(a, s);
54191
54211
  } } }, [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) {
54192
54212
  return e.deleteItem(a, s);
@@ -54204,7 +54224,7 @@ var iie = function() {
54204
54224
  aie,
54205
54225
  !1,
54206
54226
  null,
54207
- "c18cf715",
54227
+ "fb76657c",
54208
54228
  null,
54209
54229
  null
54210
54230
  );