@processmaker/screen-builder 3.1.1 → 3.2.1
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/vue-form-builder.css +1 -1
- package/dist/vue-form-builder.es.js +57 -47
- package/dist/vue-form-builder.es.js.map +1 -1
- package/dist/vue-form-builder.umd.js +42 -42
- package/dist/vue-form-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/inspector/collection-data-source.vue +153 -155
- package/src/components/inspector/column-setup.vue +2 -3
- package/src/components/inspector/options-list.vue +32 -17
- package/src/components/screen-renderer.vue +1 -0
- package/src/components/task.vue +6 -1
- package/src/components/vue-form-builder.vue +1 -1
- package/src/components/vue-form-renderer.vue +2 -0
- package/src/form-builder-controls.js +1 -0
- package/src/mixins/extensions/PageNavigate.js +1 -0
|
@@ -14208,7 +14208,7 @@ const jb = /* @__PURE__ */ Sr(HO), Cr = typeof window > "u" ? global : window, a
|
|
|
14208
14208
|
},
|
|
14209
14209
|
pageNavigationBuild(t) {
|
|
14210
14210
|
this.addData(t, "currentPage__", "this._initialPage"), t.methods.pageNavigate = function(e) {
|
|
14211
|
-
this.$parent.definition.config[e] && (this.currentPage__ = e);
|
|
14211
|
+
this.$parent.definition.config[e] && (this.$parent.$emit("updatePage"), this.currentPage__ = e);
|
|
14212
14212
|
};
|
|
14213
14213
|
}
|
|
14214
14214
|
},
|
|
@@ -44816,7 +44816,7 @@ const sK = {
|
|
|
44816
44816
|
return this.$refs.component.getCurrentPage();
|
|
44817
44817
|
},
|
|
44818
44818
|
setCurrentPage(t) {
|
|
44819
|
-
this.$refs.component.setCurrentPage(t);
|
|
44819
|
+
this.$emit("updatedPage"), this.$refs.component.setCurrentPage(t);
|
|
44820
44820
|
},
|
|
44821
44821
|
afterSubmit() {
|
|
44822
44822
|
this.$emit("after-submit", ...arguments);
|
|
@@ -45065,7 +45065,7 @@ const cK = {
|
|
|
45065
45065
|
return this.$refs.renderer.getCurrentPage();
|
|
45066
45066
|
},
|
|
45067
45067
|
setCurrentPage(t) {
|
|
45068
|
-
this.$refs.renderer.setCurrentPage(t);
|
|
45068
|
+
this.$emit("update-page-task"), this.$refs.renderer.setCurrentPage(t);
|
|
45069
45069
|
},
|
|
45070
45070
|
onContainerObserver(t) {
|
|
45071
45071
|
t[0].target.getBoundingClientRect(), this.parseCss();
|
|
@@ -45078,14 +45078,14 @@ const cK = {
|
|
|
45078
45078
|
var dK = function() {
|
|
45079
45079
|
var i;
|
|
45080
45080
|
var e = this, r = e._self._c;
|
|
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);
|
|
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: { updatePage: e.setCurrentPage, "after-submit": e.afterSubmit, submit: e.submit } })], 1);
|
|
45082
45082
|
}, fK = [], pK = /* @__PURE__ */ ee(
|
|
45083
45083
|
cK,
|
|
45084
45084
|
dK,
|
|
45085
45085
|
fK,
|
|
45086
45086
|
!1,
|
|
45087
45087
|
null,
|
|
45088
|
-
"
|
|
45088
|
+
"fcdcc032",
|
|
45089
45089
|
null,
|
|
45090
45090
|
null
|
|
45091
45091
|
);
|
|
@@ -47413,7 +47413,6 @@ const eS = e$.exports, wg = [
|
|
|
47413
47413
|
fields: [],
|
|
47414
47414
|
sourceOptions: "Variable",
|
|
47415
47415
|
submitCollectionCheck: !0,
|
|
47416
|
-
sourceDisplayOptions: [],
|
|
47417
47416
|
collectionFields: [],
|
|
47418
47417
|
collectionFieldsColumns: [],
|
|
47419
47418
|
variableStore: null,
|
|
@@ -47452,25 +47451,6 @@ const eS = e$.exports, wg = [
|
|
|
47452
47451
|
singleField: null
|
|
47453
47452
|
};
|
|
47454
47453
|
},
|
|
47455
|
-
methods: {
|
|
47456
|
-
displayOptionChange() {
|
|
47457
|
-
this.collectionFields = [], this.collectionFieldsColumns = [], this.pmql = null, this.$root.$emit("collection-changed", !0);
|
|
47458
|
-
},
|
|
47459
|
-
collectionChanged(t) {
|
|
47460
|
-
if (Array.isArray(t)) {
|
|
47461
|
-
const [e] = t;
|
|
47462
|
-
(e == null ? void 0 : e.collection_id) !== this.collectionFields.collectionId && this.$root.$emit("collection-changed", !0);
|
|
47463
|
-
}
|
|
47464
|
-
},
|
|
47465
|
-
getCollectionColumns(t) {
|
|
47466
|
-
const [e] = (t == null ? void 0 : t.dataRecordList) || [];
|
|
47467
|
-
if (e != null && e.data) {
|
|
47468
|
-
const r = e.data;
|
|
47469
|
-
for (const [i, a] of Object.entries(r))
|
|
47470
|
-
this.singleFieldOptions.push({ text: i, value: i });
|
|
47471
|
-
}
|
|
47472
|
-
}
|
|
47473
|
-
},
|
|
47474
47454
|
computed: {
|
|
47475
47455
|
options() {
|
|
47476
47456
|
return Object.fromEntries(
|
|
@@ -47513,19 +47493,41 @@ const eS = e$.exports, wg = [
|
|
|
47513
47493
|
dataSelectionOptions() {
|
|
47514
47494
|
this.singleField = null;
|
|
47515
47495
|
}
|
|
47496
|
+
},
|
|
47497
|
+
mounted() {
|
|
47498
|
+
this.$root.$emit("record-list-option", this.sourceOptions);
|
|
47499
|
+
},
|
|
47500
|
+
methods: {
|
|
47501
|
+
displayOptionChange() {
|
|
47502
|
+
this.collectionFields = [], this.collectionFieldsColumns = [], this.pmql = null, this.$root.$emit("collection-changed", !0);
|
|
47503
|
+
},
|
|
47504
|
+
collectionChanged(t) {
|
|
47505
|
+
if (Array.isArray(t)) {
|
|
47506
|
+
const [e] = t;
|
|
47507
|
+
(e == null ? void 0 : e.collection_id) !== this.collectionFields.collectionId && this.$root.$emit("collection-changed", !0);
|
|
47508
|
+
}
|
|
47509
|
+
},
|
|
47510
|
+
getCollectionColumns(t) {
|
|
47511
|
+
const [e] = (t == null ? void 0 : t.dataRecordList) || [];
|
|
47512
|
+
if (e != null && e.data) {
|
|
47513
|
+
const r = e.data;
|
|
47514
|
+
for (const [i] of Object.entries(r))
|
|
47515
|
+
this.singleFieldOptions.push({ text: i, value: i });
|
|
47516
|
+
}
|
|
47517
|
+
}
|
|
47516
47518
|
}
|
|
47517
47519
|
};
|
|
47518
47520
|
var r$ = function() {
|
|
47519
47521
|
var e = this, r = e._self._c;
|
|
47520
47522
|
return r("div", [r("div", [r("label", { attrs: { for: "collectionsource" } }, [e._v(e._s(e.$t("Source of Record List")))]), r("b-form-select", { attrs: { id: "collectionsource", options: e.sourceDisplayOptions, "data-cy": "inspector-collection-data-source" }, on: { change: e.displayOptionChange }, model: { value: e.sourceOptions, callback: function(i) {
|
|
47521
47523
|
e.sourceOptions = i;
|
|
47522
|
-
}, expression: "sourceOptions" } }), r("small", { staticClass: "mt-3 form-text text-muted" }, [e._v(e._s(e.$t("A record list can display the data of a defined variable or a collection")))])], 1), e.sourceOptions === "Collection" ? r("div", { staticClass: "mt-2" }, [r("CollectionRecordsList", { attrs: { "record-pmql": e.pmql }, on: { change: e.collectionChanged }, model: { value: e.collectionFields, callback: function(i) {
|
|
47524
|
+
}, expression: "sourceOptions" } }), r("small", { staticClass: "mt-3 form-text text-muted" }, [e._v(" " + e._s(e.$t("A record list can display the data of a defined variable or a collection")) + " ")])], 1), e.sourceOptions === "Collection" ? r("div", { staticClass: "mt-2" }, [r("CollectionRecordsList", { attrs: { "record-pmql": e.pmql }, on: { change: e.collectionChanged }, model: { value: e.collectionFields, callback: function(i) {
|
|
47523
47525
|
e.collectionFields = i;
|
|
47524
47526
|
}, expression: "collectionFields" } }), r("pmql-input", { staticClass: "mt-3 mb-1", attrs: { "search-type": "collections_w_mustaches", "data-cy": "inspector-collection-pmql", "input-label": "PMQL", condensed: !0, "ai-enabled": !0, placeholder: e.$t("PMQL") }, model: { value: e.pmql, callback: function(i) {
|
|
47525
47527
|
e.pmql = i;
|
|
47526
|
-
}, expression: "pmql" } }), r("small", { staticClass: "mt-3 form-text text-muted" }, [e._v(e._s(e.$t("Leave this field empty to show all the records of the collection")))]), r("label", { staticClass: "mt-3", attrs: {
|
|
47528
|
+
}, expression: "pmql" } }), r("small", { staticClass: "mt-3 form-text text-muted" }, [e._v(" " + e._s(e.$t("Leave this field empty to show all the records of the collection")) + " ")]), r("label", { staticClass: "mt-3", attrs: { for: "data-selection" } }, [e._v(e._s(e.$t("Data Selection")))]), r("b-form-select", { attrs: { id: "data-selection", options: e.dataSelectionDisplayOptions, "data-cy": "inspector-collection-data-selection" }, model: { value: e.dataSelectionOptions, callback: function(i) {
|
|
47527
47529
|
e.dataSelectionOptions = i;
|
|
47528
|
-
}, expression: "dataSelectionOptions" } }), r("small", { staticClass: "mt-3 form-text text-muted" }, [e._v(e._s(e.$t("The user can select specific data to be stored into a variable")))]), e.dataSelectionOptions === "single-field" ? r("div", { staticClass: "mt-3" }, [r("label", { attrs: {
|
|
47530
|
+
}, expression: "dataSelectionOptions" } }), r("small", { staticClass: "mt-3 form-text text-muted" }, [e._v(" " + e._s(e.$t("The user can select specific data to be stored into a variable")) + " ")]), e.dataSelectionOptions === "single-field" ? r("div", { staticClass: "mt-3" }, [r("label", { attrs: { for: "single-columns" } }, [e._v(e._s(e.$t("Column")))]), r("b-form-select", { attrs: { id: "single-columns", options: e.singleFieldOptions, "data-cy": "inspector-collection-single-field" }, model: { value: e.singleField, callback: function(i) {
|
|
47529
47531
|
e.singleField = i;
|
|
47530
47532
|
}, expression: "singleField" } }, [r("option", { attrs: { disabled: "", value: "" } }, [e._v(e._s(e.$t("Select a column")))])])], 1) : e._e()], 1) : e._e()]);
|
|
47531
47533
|
}, i$ = [], a$ = /* @__PURE__ */ ee(
|
|
@@ -48148,7 +48150,7 @@ var k$ = function() {
|
|
|
48148
48150
|
M$,
|
|
48149
48151
|
!1,
|
|
48150
48152
|
null,
|
|
48151
|
-
"
|
|
48153
|
+
"faf2ec78",
|
|
48152
48154
|
null,
|
|
48153
48155
|
null
|
|
48154
48156
|
);
|
|
@@ -48888,7 +48890,7 @@ const gee = {
|
|
|
48888
48890
|
return this.value || "content";
|
|
48889
48891
|
},
|
|
48890
48892
|
ariaLabelField() {
|
|
48891
|
-
return this.
|
|
48893
|
+
return this.ariaLabel || "ariaLabel";
|
|
48892
48894
|
},
|
|
48893
48895
|
currentItemToDelete() {
|
|
48894
48896
|
if (this.removeIndex !== null && this.optionsList.length > 0 && this.optionsList[this.removeIndex] !== void 0) {
|
|
@@ -48930,7 +48932,7 @@ const gee = {
|
|
|
48930
48932
|
}, 1500);
|
|
48931
48933
|
},
|
|
48932
48934
|
mounted() {
|
|
48933
|
-
this.dataSource = this.options.dataSource, this.jsonData = this.options.jsonData, this.dataName = this.options.dataName, this.collectionOptions = this.options.collectionOptions, this.selectedDataSource = this.options.selectedDataSource, this.selectedEndPoint = this.options.selectedEndPoint, this.key = this.options.key, this.value = this.options.value, this.optionAriaLabel = this.options.
|
|
48935
|
+
this.dataSource = this.options.dataSource, this.jsonData = this.options.jsonData, this.dataName = this.options.dataName, this.collectionOptions = this.options.collectionOptions, this.selectedDataSource = this.options.selectedDataSource, this.selectedEndPoint = this.options.selectedEndPoint, this.key = this.options.key, this.value = this.options.value, this.optionAriaLabel = this.options.ariaLabel, this.pmqlQuery = this.options.pmqlQuery, this.defaultOptionKey = this.options.defaultOptionKey, this.selectedOptions = this.options.selectedOptions, this.optionsList = this.options.optionsList ? this.options.optionsList : [], this.jsonData = JSON.stringify(this.optionsList), this.showRenderAs = this.options.showRenderAs, this.renderAs = this.options.renderAs, this.allowMultiSelect = this.options.allowMultiSelect, this.valueTypeReturned = this.options.valueTypeReturned;
|
|
48934
48936
|
},
|
|
48935
48937
|
methods: {
|
|
48936
48938
|
monacoMounted(t) {
|
|
@@ -48973,10 +48975,13 @@ const gee = {
|
|
|
48973
48975
|
this.optionsList = [];
|
|
48974
48976
|
const e = this;
|
|
48975
48977
|
t.forEach((r) => {
|
|
48976
|
-
e.optionsList.push({
|
|
48978
|
+
e.renderAs === "checkbox" ? e.optionsList.push({
|
|
48977
48979
|
[e.keyField]: r[e.keyField],
|
|
48978
48980
|
[e.valueField]: r[e.valueField],
|
|
48979
48981
|
[e.ariaLabelField]: r[e.ariaLabelField]
|
|
48982
|
+
}) : e.optionsList.push({
|
|
48983
|
+
[e.keyField]: r[e.keyField],
|
|
48984
|
+
[e.valueField]: r[e.valueField]
|
|
48980
48985
|
});
|
|
48981
48986
|
}), this.jsonError = "";
|
|
48982
48987
|
},
|
|
@@ -48996,7 +49001,7 @@ const gee = {
|
|
|
48996
49001
|
this.jsonData = JSON.stringify(this.optionsList), this.$emit("change", this.dataObjectOptions);
|
|
48997
49002
|
},
|
|
48998
49003
|
showEditOption(t) {
|
|
48999
|
-
this.optionCardType = "edit", this.editIndex = t, this.optionContent = this.optionsList[t][this.valueField], this.optionValue = this.optionsList[t][this.keyField], this.optionAriaLabel = this.optionsList[t][this.ariaLabelField], this.optionError = "";
|
|
49004
|
+
this.optionCardType = "edit", this.editIndex = t, this.optionContent = this.optionsList[t][this.valueField], this.optionValue = this.optionsList[t][this.keyField], this.renderAs === "checkbox" && (this.optionAriaLabel = this.optionsList[t][this.ariaLabelField]), this.optionError = "";
|
|
49000
49005
|
},
|
|
49001
49006
|
showAddOption() {
|
|
49002
49007
|
this.optionCardType = "insert", this.optionContent = "", this.optionValue = "", this.optionAriaLabel = "", this.showOptionCard = !0, this.optionError = "", this.editIndex = null;
|
|
@@ -49008,19 +49013,20 @@ const gee = {
|
|
|
49008
49013
|
this.optionError = "An item with the same key already exists";
|
|
49009
49014
|
return;
|
|
49010
49015
|
}
|
|
49011
|
-
this.optionsList.push(
|
|
49012
|
-
|
|
49013
|
-
|
|
49014
|
-
|
|
49015
|
-
|
|
49016
|
-
|
|
49017
|
-
|
|
49016
|
+
this.renderAs === "checkbox" ? this.optionsList.push({
|
|
49017
|
+
[this.valueField]: this.optionContent,
|
|
49018
|
+
[this.keyField]: this.optionValue,
|
|
49019
|
+
[this.ariaLabelField]: this.optionAriaLabel
|
|
49020
|
+
}) : this.optionsList.push({
|
|
49021
|
+
[this.valueField]: this.optionContent,
|
|
49022
|
+
[this.keyField]: this.optionValue
|
|
49023
|
+
});
|
|
49018
49024
|
} else {
|
|
49019
49025
|
if (this.optionsList.find((e, r) => e[t.keyField] === this.optionValue && r !== this.editIndex)) {
|
|
49020
49026
|
this.optionError = "An item with the same key already exists";
|
|
49021
49027
|
return;
|
|
49022
49028
|
}
|
|
49023
|
-
this.optionsList[this.editIndex][this.keyField] = this.optionValue, this.optionsList[this.editIndex][this.valueField] = this.optionContent, this.optionsList[this.editIndex][this.ariaLabelField] = this.optionAriaLabel;
|
|
49029
|
+
this.optionsList[this.editIndex][this.keyField] = this.optionValue, this.optionsList[this.editIndex][this.valueField] = this.optionContent, this.renderAs === "checkbox" && (this.optionsList[this.editIndex][this.ariaLabelField] = this.optionAriaLabel);
|
|
49024
49030
|
}
|
|
49025
49031
|
this.jsonData = JSON.stringify(this.optionsList), this.showOptionCard = !1, this.optionError = "", this.editIndex = null;
|
|
49026
49032
|
},
|
|
@@ -49136,7 +49142,7 @@ var bee = function() {
|
|
|
49136
49142
|
yee,
|
|
49137
49143
|
!1,
|
|
49138
49144
|
null,
|
|
49139
|
-
"
|
|
49145
|
+
"e8b1152f",
|
|
49140
49146
|
null,
|
|
49141
49147
|
null
|
|
49142
49148
|
);
|
|
@@ -51995,7 +52001,7 @@ var yre = function() {
|
|
|
51995
52001
|
return e.shouldShow(a, i) ? r(a.type, e._b({ key: n, tag: "component", staticClass: "border-bottom m-0 p-4", attrs: { "data-cy": "inspector-" + (a.field || a.config.name), "field-name": a.field, "field-accordion": `accordion-${e.accordionName(i).replace(
|
|
51996
52002
|
" ",
|
|
51997
52003
|
""
|
|
51998
|
-
)}`, builder: e.builder, "form-config": e.
|
|
52004
|
+
)}`, builder: e.builder, "form-config": e.config, "screen-type": e.screenType, "current-page": e.currentPage, "selected-control": e.selected }, on: { "update-state": e.updateState, setName: function(s) {
|
|
51999
52005
|
e.inspection.config.name = s;
|
|
52000
52006
|
} }, nativeOn: { focusout: function(s) {
|
|
52001
52007
|
return e.updateState.apply(null, arguments);
|
|
@@ -52025,7 +52031,7 @@ var yre = function() {
|
|
|
52025
52031
|
xre,
|
|
52026
52032
|
!1,
|
|
52027
52033
|
null,
|
|
52028
|
-
"
|
|
52034
|
+
"d259169f",
|
|
52029
52035
|
null,
|
|
52030
52036
|
null
|
|
52031
52037
|
);
|
|
@@ -52320,6 +52326,7 @@ const Ire = Lu(Ere), hae = Lu(jre), mae = Lu([zre]), Lre = Lu([cS, uS]), Fre = N
|
|
|
52320
52326
|
optionsList: [],
|
|
52321
52327
|
key: "value",
|
|
52322
52328
|
value: "content",
|
|
52329
|
+
ariaLabel: "ariaLabel",
|
|
52323
52330
|
valueTypeReturned: "single"
|
|
52324
52331
|
},
|
|
52325
52332
|
helper: null
|
|
@@ -53488,6 +53495,9 @@ const Xre = () => new Promise((t) => {
|
|
|
53488
53495
|
this.task.draft.data
|
|
53489
53496
|
)), this.refreshScreen++), this.$emit("task-updated", this.task), this.task.process_request.status === "ERROR" ? (this.hasErrors = !0, this.$emit("error", this.requestId)) : this.hasErrors = !1;
|
|
53490
53497
|
},
|
|
53498
|
+
pageUpdate() {
|
|
53499
|
+
this.$emit("updated-page-core");
|
|
53500
|
+
},
|
|
53491
53501
|
resetScreenState() {
|
|
53492
53502
|
this.loadingButton = !1, this.disabled = !1, this.$refs.renderer && this.$refs.renderer.$children[0] && (this.$refs.renderer.$children[0].currentPage = 0, this.$refs.renderer.restartValidation());
|
|
53493
53503
|
},
|
|
@@ -53942,9 +53952,9 @@ var Ure = function() {
|
|
|
53942
53952
|
var e = this, r = e._self._c;
|
|
53943
53953
|
return r("div", { staticClass: "tab-pane active show h-100", attrs: { id: "tab-form", role: "tabpanel", "aria-labelledby": "tab-form" } }, [e.screen ? [r("b-overlay", { attrs: { show: e.disabled || e.isSelfService, id: "overlay-background", variant: e.isSelfService ? "white" : "transparent", blur: null, cardStyles: "pointer-events: none;pointer-events: none;inset: 1px", rounded: "sm" }, scopedSlots: e._u([{ key: "overlay", fn: function() {
|
|
53944
53954
|
return [r("div", { staticClass: "text-center" }, [e.isSelfService ? r("p", [e._v("Please claim this task to continue.")]) : e._e()])];
|
|
53945
|
-
}, proxy: !0 }], null, !1, 2076353390) }, [r("div", { staticClass: "card card-body border-top-0 h-100", class: e.screenTypeClass }, [e.renderComponent === "task-screen" ? r("div", [r("vue-form-renderer", { key: e.refreshScreen, ref: "renderer", class: { loading: e.loadingTask || e.loadingListeners }, attrs: { config: e.screen.config, computed: e.screen.computed, "custom-css": e.screen.custom_css, watchers: e.screen.watchers, "loop-context": e.loopContext, taskdraft: this.task }, on: { update: e.onUpdate, "after-submit": e.afterSubmit, submit: e.submit }, model: { value: e.requestData, callback: function(i) {
|
|
53955
|
+
}, proxy: !0 }], null, !1, 2076353390) }, [r("div", { staticClass: "card card-body border-top-0 h-100", class: e.screenTypeClass }, [e.renderComponent === "task-screen" ? r("div", [r("vue-form-renderer", { key: e.refreshScreen, ref: "renderer", class: { loading: e.loadingTask || e.loadingListeners }, attrs: { config: e.screen.config, computed: e.screen.computed, "custom-css": e.screen.custom_css, watchers: e.screen.watchers, "loop-context": e.loopContext, taskdraft: this.task }, on: { "update-page-task": e.pageUpdate, update: e.onUpdate, "after-submit": e.afterSubmit, submit: e.submit }, model: { value: e.requestData, callback: function(i) {
|
|
53946
53956
|
e.requestData = i;
|
|
53947
|
-
}, expression: "requestData" } })], 1) : r("div", [r(e.renderComponent, { tag: "component", attrs: { "process-id": e.processId, "instance-id": e.requestId, "token-id": e.taskId, screen: e.screen.config, "csrf-token": e.csrfToken, computed: e.screen.computed, "custom-css": e.screen.custom_css, watchers: e.screen.watchers, data: e.requestData, type: e.screen.type }, on: { update: e.onUpdate, "after-submit": e.afterSubmit, submit: e.submit } })], 1)]), e.shouldAddSubmitButton ? r("div", { staticClass: "card-footer" }, [r("button", { staticClass: "btn btn-primary", attrs: { type: "button" }, on: { click: function(i) {
|
|
53957
|
+
}, expression: "requestData" } })], 1) : r("div", [r(e.renderComponent, { tag: "component", attrs: { "process-id": e.processId, "instance-id": e.requestId, "token-id": e.taskId, screen: e.screen.config, "csrf-token": e.csrfToken, computed: e.screen.computed, "custom-css": e.screen.custom_css, watchers: e.screen.watchers, data: e.requestData, type: e.screen.type }, on: { "update-page-task": e.pageUpdate, update: e.onUpdate, "after-submit": e.afterSubmit, submit: e.submit } })], 1)]), e.shouldAddSubmitButton ? r("div", { staticClass: "card-footer" }, [r("button", { staticClass: "btn btn-primary", attrs: { type: "button" }, on: { click: function(i) {
|
|
53948
53958
|
return e.submit(null);
|
|
53949
53959
|
} } }, [e._v(" " + e._s(e.$t("Complete Task")) + " ")])]) : e._e()])] : e._e(), e.showTaskIsCompleted ? [r("div", { staticClass: "card card-body text-center" }, [r("h1", [e._v(" " + e._s(e.$t("Task Completed")) + " "), r("i", { staticClass: "fas fa-clipboard-check" })])])] : e._e()], 2);
|
|
53950
53960
|
}, Gre = [], Qre = /* @__PURE__ */ ee(
|
|
@@ -53953,7 +53963,7 @@ var Ure = function() {
|
|
|
53953
53963
|
Gre,
|
|
53954
53964
|
!1,
|
|
53955
53965
|
null,
|
|
53956
|
-
"
|
|
53966
|
+
"fcbd2da6",
|
|
53957
53967
|
null,
|
|
53958
53968
|
null
|
|
53959
53969
|
);
|