@kong-ui-public/forms 2.1.33 → 2.1.35
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/forms.es.js +132 -132
- package/dist/forms.umd.js +1 -1
- package/package.json +3 -3
package/dist/forms.es.js
CHANGED
|
@@ -5533,12 +5533,12 @@ const zy = {
|
|
|
5533
5533
|
this.value[this.newKeyName] = void 0, this.value = { ...this.value }, this.keyTypes[this.newKeyName] = this.newKeyType, this.keyTypes = { ...this.keyTypes }, this.newKeyName = "";
|
|
5534
5534
|
}
|
|
5535
5535
|
}
|
|
5536
|
-
}, Jy = { key: 0 }, Xy = { key: 1 }, Qy = ["id"], jy = { key: 0 },
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5536
|
+
}, Jy = { key: 0 }, Xy = { key: 1 }, Qy = ["id"], jy = { key: 0 }, e0 = ["onUpdate:modelValue"], t0 = { key: 1 }, n0 = ["onUpdate:modelValue"], i0 = { key: 2 }, r0 = ["onUpdate:modelValue"], s0 = ["onClick"], a0 = /* @__PURE__ */ M("option", { value: "string" }, " String ", -1), o0 = /* @__PURE__ */ M("option", { value: "number" }, " Number ", -1), l0 = /* @__PURE__ */ M("option", { value: "boolean" }, " Boolean ", -1), u0 = [
|
|
5537
|
+
a0,
|
|
5538
|
+
o0,
|
|
5539
|
+
l0
|
|
5540
5540
|
];
|
|
5541
|
-
function
|
|
5541
|
+
function d0(n, a, s, h, f, d) {
|
|
5542
5542
|
const y = j("vue-form-generator"), p = kt("attributes");
|
|
5543
5543
|
return J((b(), I("div", null, [
|
|
5544
5544
|
n.schema.schema ? (b(), I("div", Jy, [
|
|
@@ -5558,23 +5558,23 @@ function d_(n, a, s, h, f, d) {
|
|
|
5558
5558
|
J(M("input", {
|
|
5559
5559
|
"onUpdate:modelValue": (D) => n.value[F] = D,
|
|
5560
5560
|
type: "text"
|
|
5561
|
-
}, null, 8,
|
|
5561
|
+
}, null, 8, e0), [
|
|
5562
5562
|
[lt, n.value[F]]
|
|
5563
5563
|
])
|
|
5564
5564
|
])) : B("", !0),
|
|
5565
|
-
f.keyTypes[F] === "boolean" ? (b(), I("td",
|
|
5565
|
+
f.keyTypes[F] === "boolean" ? (b(), I("td", t0, [
|
|
5566
5566
|
J(M("input", {
|
|
5567
5567
|
"onUpdate:modelValue": (D) => n.value[F] = D,
|
|
5568
5568
|
type: "checkbox"
|
|
5569
|
-
}, null, 8,
|
|
5569
|
+
}, null, 8, n0), [
|
|
5570
5570
|
[Cs, n.value[F]]
|
|
5571
5571
|
])
|
|
5572
5572
|
])) : B("", !0),
|
|
5573
|
-
f.keyTypes[F] === "number" ? (b(), I("td",
|
|
5573
|
+
f.keyTypes[F] === "number" ? (b(), I("td", i0, [
|
|
5574
5574
|
J(M("input", {
|
|
5575
5575
|
"onUpdate:modelValue": (D) => n.value[F] = D,
|
|
5576
5576
|
type: "number"
|
|
5577
|
-
}, null, 8,
|
|
5577
|
+
}, null, 8, r0), [
|
|
5578
5578
|
[lt, n.value[F]]
|
|
5579
5579
|
])
|
|
5580
5580
|
])) : B("", !0),
|
|
@@ -5583,13 +5583,13 @@ function d_(n, a, s, h, f, d) {
|
|
|
5583
5583
|
type: "button",
|
|
5584
5584
|
value: "x",
|
|
5585
5585
|
onClick: (D) => d.removeElement(F)
|
|
5586
|
-
}, null, 8,
|
|
5586
|
+
}, null, 8, s0)
|
|
5587
5587
|
])
|
|
5588
5588
|
]))), 128))
|
|
5589
5589
|
], 10, Qy),
|
|
5590
5590
|
J(M("select", {
|
|
5591
5591
|
"onUpdate:modelValue": a[0] || (a[0] = (E) => f.newKeyType = E)
|
|
5592
|
-
},
|
|
5592
|
+
}, u0, 512), [
|
|
5593
5593
|
[Ts, f.newKeyType]
|
|
5594
5594
|
]),
|
|
5595
5595
|
J(M("input", {
|
|
@@ -5608,7 +5608,7 @@ function d_(n, a, s, h, f, d) {
|
|
|
5608
5608
|
[p, f.attributes]
|
|
5609
5609
|
]);
|
|
5610
5610
|
}
|
|
5611
|
-
const $l = /* @__PURE__ */ K(Zy, [["render",
|
|
5611
|
+
const $l = /* @__PURE__ */ K(Zy, [["render", d0]]), c0 = {
|
|
5612
5612
|
mixins: [te],
|
|
5613
5613
|
emits: ["model-updated"],
|
|
5614
5614
|
data() {
|
|
@@ -5691,14 +5691,14 @@ const $l = /* @__PURE__ */ K(Zy, [["render", d_]]), c_ = {
|
|
|
5691
5691
|
this.$emit("model-updated", this.model[this.schema.model], a);
|
|
5692
5692
|
}
|
|
5693
5693
|
}
|
|
5694
|
-
}, Ol = (n) => (an("data-v-22600a29"), n = n(), on(), n),
|
|
5694
|
+
}, Ol = (n) => (an("data-v-22600a29"), n = n(), on(), n), f0 = ["id"], h0 = ["data-testid"], m0 = { class: "item-wrapper" }, p0 = { class: "index-wrapper" }, g0 = /* @__PURE__ */ Ol(() => /* @__PURE__ */ M("hr", { class: "divider" }, null, -1)), v0 = { key: 0 }, y0 = { key: 1 }, _0 = ["onUpdate:modelValue", "placeholder", "onInput"], b0 = {
|
|
5695
5695
|
key: 0,
|
|
5696
5696
|
class: "hint"
|
|
5697
|
-
},
|
|
5697
|
+
}, w0 = /* @__PURE__ */ Ol(() => /* @__PURE__ */ M("hr", { class: "wide-divider" }, null, -1)), S0 = { class: "input-item" }, C0 = ["placeholder"], T0 = {
|
|
5698
5698
|
key: 0,
|
|
5699
5699
|
class: "hint"
|
|
5700
5700
|
};
|
|
5701
|
-
function
|
|
5701
|
+
function I0(n, a, s, h, f, d) {
|
|
5702
5702
|
const y = j("KIcon"), p = j("KButton"), E = j("vue-form-generator");
|
|
5703
5703
|
return b(), I("div", {
|
|
5704
5704
|
id: n.getFieldID(n.schema),
|
|
@@ -5709,8 +5709,8 @@ function I_(n, a, s, h, f, d) {
|
|
|
5709
5709
|
"data-testid": `field-object-key-${D}`
|
|
5710
5710
|
}, [
|
|
5711
5711
|
M("div", null, [
|
|
5712
|
-
M("div",
|
|
5713
|
-
M("div",
|
|
5712
|
+
M("div", m0, [
|
|
5713
|
+
M("div", p0, [
|
|
5714
5714
|
M("strong", null, ee(D), 1),
|
|
5715
5715
|
M("div", null, [
|
|
5716
5716
|
Q(p, {
|
|
@@ -5729,41 +5729,41 @@ function I_(n, a, s, h, f, d) {
|
|
|
5729
5729
|
}, 1032, ["onClick"])
|
|
5730
5730
|
])
|
|
5731
5731
|
]),
|
|
5732
|
-
|
|
5733
|
-
d.subSchema ? (b(), I("div",
|
|
5732
|
+
g0,
|
|
5733
|
+
d.subSchema ? (b(), I("div", v0, [
|
|
5734
5734
|
Q(E, {
|
|
5735
5735
|
model: d.transformedModel[D],
|
|
5736
5736
|
options: { helpAsHtml: !0 },
|
|
5737
5737
|
schema: d.subSchema,
|
|
5738
5738
|
onModelUpdated: d.updateModel
|
|
5739
5739
|
}, null, 8, ["model", "schema", "onModelUpdated"])
|
|
5740
|
-
])) : (b(), I("div",
|
|
5740
|
+
])) : (b(), I("div", y0, [
|
|
5741
5741
|
J(M("input", {
|
|
5742
5742
|
"onUpdate:modelValue": (de) => n.value[D] = de,
|
|
5743
5743
|
class: "form-control",
|
|
5744
5744
|
placeholder: n.schema.fields && n.schema.fields[0].schema.placeholder,
|
|
5745
5745
|
type: "text",
|
|
5746
5746
|
onInput: (de) => d.updateModel(n.value[D], n.model[n.schema.model])
|
|
5747
|
-
}, null, 40,
|
|
5747
|
+
}, null, 40, _0), [
|
|
5748
5748
|
[lt, n.value[D]]
|
|
5749
5749
|
]),
|
|
5750
|
-
n.schema.fields && n.schema.fields[0].schema.hint ? (b(), I("p",
|
|
5750
|
+
n.schema.fields && n.schema.fields[0].schema.hint ? (b(), I("p", b0, ee(n.schema.fields[0].schema.hint), 1)) : B("", !0)
|
|
5751
5751
|
])),
|
|
5752
|
-
|
|
5752
|
+
w0
|
|
5753
5753
|
])
|
|
5754
5754
|
])
|
|
5755
|
-
], 8,
|
|
5755
|
+
], 8, h0))), 128)),
|
|
5756
5756
|
M("div", {
|
|
5757
5757
|
class: ue(["input-wrapper", { indent: d.hasObjectKeys }])
|
|
5758
5758
|
}, [
|
|
5759
|
-
M("div",
|
|
5759
|
+
M("div", S0, [
|
|
5760
5760
|
J(M("input", {
|
|
5761
5761
|
"onUpdate:modelValue": a[0] || (a[0] = (F) => f.newKeyName = F),
|
|
5762
5762
|
class: "form-control",
|
|
5763
5763
|
"data-testid": "keyname-input",
|
|
5764
5764
|
placeholder: n.schema.placeholder,
|
|
5765
5765
|
type: "text"
|
|
5766
|
-
}, null, 8,
|
|
5766
|
+
}, null, 8, C0), [
|
|
5767
5767
|
[lt, f.newKeyName]
|
|
5768
5768
|
]),
|
|
5769
5769
|
Q(p, {
|
|
@@ -5778,22 +5778,22 @@ function I_(n, a, s, h, f, d) {
|
|
|
5778
5778
|
_: 1
|
|
5779
5779
|
}, 8, ["disabled", "onClick"])
|
|
5780
5780
|
]),
|
|
5781
|
-
n.schema.hintText ? (b(), I("p",
|
|
5781
|
+
n.schema.hintText ? (b(), I("p", T0, ee(n.schema.hintText), 1)) : B("", !0)
|
|
5782
5782
|
], 2)
|
|
5783
|
-
], 10,
|
|
5783
|
+
], 10, f0);
|
|
5784
5784
|
}
|
|
5785
|
-
const kl = /* @__PURE__ */ K(
|
|
5785
|
+
const kl = /* @__PURE__ */ K(c0, [["render", I0], ["__scopeId", "data-v-22600a29"]]), Ji = "24px", Ll = (n, a) => {
|
|
5786
5786
|
const s = n.__vccOpts || n;
|
|
5787
5787
|
for (const [h, f] of a)
|
|
5788
5788
|
s[h] = f;
|
|
5789
5789
|
return s;
|
|
5790
|
-
},
|
|
5790
|
+
}, A0 = (n) => (an("data-v-2295e0fb"), n = n(), on(), n), M0 = ["aria-hidden"], E0 = {
|
|
5791
5791
|
key: 0,
|
|
5792
5792
|
"data-testid": "kui-icon-svg-title"
|
|
5793
|
-
},
|
|
5793
|
+
}, F0 = /* @__PURE__ */ A0(() => /* @__PURE__ */ M("path", {
|
|
5794
5794
|
d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
|
|
5795
5795
|
fill: "currentColor"
|
|
5796
|
-
}, null, -1)), $
|
|
5796
|
+
}, null, -1)), $0 = /* @__PURE__ */ jn({
|
|
5797
5797
|
__name: "AddIcon",
|
|
5798
5798
|
props: {
|
|
5799
5799
|
/** The accessibility text provided to screen readers */
|
|
@@ -5879,20 +5879,20 @@ const kl = /* @__PURE__ */ K(c_, [["render", I_], ["__scopeId", "data-v-22600a29
|
|
|
5879
5879
|
width: "100%",
|
|
5880
5880
|
xmlns: "http://www.w3.org/2000/svg"
|
|
5881
5881
|
}, [
|
|
5882
|
-
n.title ? (b(), I("title",
|
|
5883
|
-
|
|
5884
|
-
], 8,
|
|
5882
|
+
n.title ? (b(), I("title", E0, ee(n.title), 1)) : B("", !0),
|
|
5883
|
+
F0
|
|
5884
|
+
], 8, M0))
|
|
5885
5885
|
]),
|
|
5886
5886
|
_: 1
|
|
5887
5887
|
}, 8, ["aria-hidden", "style"]));
|
|
5888
5888
|
}
|
|
5889
|
-
}),
|
|
5889
|
+
}), O0 = /* @__PURE__ */ Ll($0, [["__scopeId", "data-v-2295e0fb"]]), k0 = (n) => (an("data-v-91b8f047"), n = n(), on(), n), L0 = ["aria-hidden"], U0 = {
|
|
5890
5890
|
key: 0,
|
|
5891
5891
|
"data-testid": "kui-icon-svg-title"
|
|
5892
|
-
},
|
|
5892
|
+
}, R0 = /* @__PURE__ */ k0(() => /* @__PURE__ */ M("path", {
|
|
5893
5893
|
d: "M7 21C6.45 21 5.97917 20.8042 5.5875 20.4125C5.19583 20.0208 5 19.55 5 19V6H4V4H9V3H15V4H20V6H19V19C19 19.55 18.8042 20.0208 18.4125 20.4125C18.0208 20.8042 17.55 21 17 21H7ZM17 6H7V19H17V6ZM9 17H11V8H9V17ZM13 17H15V8H13V17Z",
|
|
5894
5894
|
fill: "currentColor"
|
|
5895
|
-
}, null, -1)),
|
|
5895
|
+
}, null, -1)), D0 = /* @__PURE__ */ jn({
|
|
5896
5896
|
__name: "TrashIcon",
|
|
5897
5897
|
props: {
|
|
5898
5898
|
/** The accessibility text provided to screen readers */
|
|
@@ -5978,14 +5978,14 @@ const kl = /* @__PURE__ */ K(c_, [["render", I_], ["__scopeId", "data-v-22600a29
|
|
|
5978
5978
|
width: "100%",
|
|
5979
5979
|
xmlns: "http://www.w3.org/2000/svg"
|
|
5980
5980
|
}, [
|
|
5981
|
-
n.title ? (b(), I("title",
|
|
5982
|
-
|
|
5983
|
-
], 8,
|
|
5981
|
+
n.title ? (b(), I("title", U0, ee(n.title), 1)) : B("", !0),
|
|
5982
|
+
R0
|
|
5983
|
+
], 8, L0))
|
|
5984
5984
|
]),
|
|
5985
5985
|
_: 1
|
|
5986
5986
|
}, 8, ["aria-hidden", "style"]));
|
|
5987
5987
|
}
|
|
5988
|
-
}), Qi = /* @__PURE__ */ Ll(
|
|
5988
|
+
}), Qi = /* @__PURE__ */ Ll(D0, [["__scopeId", "data-v-91b8f047"]]), N0 = {
|
|
5989
5989
|
name: "FieldArrayItem",
|
|
5990
5990
|
components: { TrashIcon: Qi },
|
|
5991
5991
|
props: {
|
|
@@ -6000,10 +6000,10 @@ const kl = /* @__PURE__ */ K(c_, [["render", I_], ["__scopeId", "data-v-22600a29
|
|
|
6000
6000
|
contentVisible: !1
|
|
6001
6001
|
};
|
|
6002
6002
|
}
|
|
6003
|
-
},
|
|
6004
|
-
function
|
|
6003
|
+
}, x0 = { class: "array-item" };
|
|
6004
|
+
function B0(n, a, s, h, f, d) {
|
|
6005
6005
|
const y = j("TrashIcon"), p = j("KButton");
|
|
6006
|
-
return b(), I("div",
|
|
6006
|
+
return b(), I("div", x0, [
|
|
6007
6007
|
Xi(n.$slots, "default", {}, void 0, !0),
|
|
6008
6008
|
Q(p, {
|
|
6009
6009
|
appearance: "tertiary",
|
|
@@ -6018,7 +6018,7 @@ function B_(n, a, s, h, f, d) {
|
|
|
6018
6018
|
})
|
|
6019
6019
|
]);
|
|
6020
6020
|
}
|
|
6021
|
-
const Ul = /* @__PURE__ */ K(
|
|
6021
|
+
const Ul = /* @__PURE__ */ K(N0, [["render", B0], ["__scopeId", "data-v-d42daeb2"]]), P0 = {
|
|
6022
6022
|
name: "FieldArrayMultiItem",
|
|
6023
6023
|
emits: ["remove-item"],
|
|
6024
6024
|
data() {
|
|
@@ -6026,10 +6026,10 @@ const Ul = /* @__PURE__ */ K(N_, [["render", B_], ["__scopeId", "data-v-d42daeb2
|
|
|
6026
6026
|
contentVisible: !1
|
|
6027
6027
|
};
|
|
6028
6028
|
}
|
|
6029
|
-
},
|
|
6030
|
-
function
|
|
6029
|
+
}, V0 = (n) => (an("data-v-47ff1f9a"), n = n(), on(), n), q0 = { class: "multi-item-wrapper" }, H0 = /* @__PURE__ */ V0(() => /* @__PURE__ */ M("hr", null, null, -1));
|
|
6030
|
+
function W0(n, a, s, h, f, d) {
|
|
6031
6031
|
const y = j("KButton");
|
|
6032
|
-
return b(), I("div",
|
|
6032
|
+
return b(), I("div", q0, [
|
|
6033
6033
|
Xi(n.$slots, "default", {}, void 0, !0),
|
|
6034
6034
|
Q(y, {
|
|
6035
6035
|
appearance: "danger",
|
|
@@ -6042,12 +6042,12 @@ function W_(n, a, s, h, f, d) {
|
|
|
6042
6042
|
]),
|
|
6043
6043
|
_: 1
|
|
6044
6044
|
}),
|
|
6045
|
-
|
|
6045
|
+
H0
|
|
6046
6046
|
]);
|
|
6047
6047
|
}
|
|
6048
|
-
const Rl = /* @__PURE__ */ K(
|
|
6048
|
+
const Rl = /* @__PURE__ */ K(P0, [["render", W0], ["__scopeId", "data-v-47ff1f9a"]]), K0 = {
|
|
6049
6049
|
name: "FieldMetric",
|
|
6050
|
-
components: { AddIcon:
|
|
6050
|
+
components: { AddIcon: O0, TrashIcon: Qi },
|
|
6051
6051
|
mixins: [te],
|
|
6052
6052
|
emits: ["remove-item"],
|
|
6053
6053
|
data() {
|
|
@@ -6055,11 +6055,11 @@ const Rl = /* @__PURE__ */ K(P_, [["render", W_], ["__scopeId", "data-v-47ff1f9a
|
|
|
6055
6055
|
contentVisible: !1
|
|
6056
6056
|
};
|
|
6057
6057
|
}
|
|
6058
|
-
},
|
|
6058
|
+
}, Y0 = {
|
|
6059
6059
|
key: 0,
|
|
6060
6060
|
class: "content"
|
|
6061
6061
|
};
|
|
6062
|
-
function
|
|
6062
|
+
function z0(n, a, s, h, f, d) {
|
|
6063
6063
|
const y = j("AddIcon"), p = j("TrashIcon"), E = j("KButton");
|
|
6064
6064
|
return b(), I("div", {
|
|
6065
6065
|
class: ue(["field-dropdown", { active: f.contentVisible }])
|
|
@@ -6073,7 +6073,7 @@ function z_(n, a, s, h, f, d) {
|
|
|
6073
6073
|
]),
|
|
6074
6074
|
Q(xg, { name: "slide-fade" }, {
|
|
6075
6075
|
default: ie(() => [
|
|
6076
|
-
f.contentVisible ? (b(), I("div",
|
|
6076
|
+
f.contentVisible ? (b(), I("div", Y0, [
|
|
6077
6077
|
Xi(n.$slots, "default"),
|
|
6078
6078
|
Q(E, {
|
|
6079
6079
|
appearance: "tertiary",
|
|
@@ -6091,9 +6091,9 @@ function z_(n, a, s, h, f, d) {
|
|
|
6091
6091
|
})
|
|
6092
6092
|
], 2);
|
|
6093
6093
|
}
|
|
6094
|
-
const Dl = /* @__PURE__ */ K(
|
|
6095
|
-
function
|
|
6096
|
-
return n ? n.length === 36 && new RegExp(`^${
|
|
6094
|
+
const Dl = /* @__PURE__ */ K(K0, [["render", z0]]), tn = "kong-ui-forms-api", G0 = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}";
|
|
6095
|
+
function Z0(n) {
|
|
6096
|
+
return n ? n.length === 36 && new RegExp(`^${G0}$`).test(n) : !1;
|
|
6097
6097
|
}
|
|
6098
6098
|
const Ss = 50, rn = {
|
|
6099
6099
|
CREATE_NOT_FROM_ENTITY: "CREATE_NOT_FROM_ENTITY",
|
|
@@ -6101,10 +6101,10 @@ const Ss = 50, rn = {
|
|
|
6101
6101
|
UPDATE_ENTITY: "UPDATE_ENTITY",
|
|
6102
6102
|
SET_REFERRAL_VALUE: "SET_REFERRAL_VALUE"
|
|
6103
6103
|
};
|
|
6104
|
-
function
|
|
6104
|
+
function J0(n, a, s) {
|
|
6105
6105
|
return s ? rn.SET_REFERRAL_VALUE : n && !a || !n && a ? rn.UPDATE_ENTITY : n && a ? rn.CREATE_FROM_ENTITY : rn.CREATE_NOT_FROM_ENTITY;
|
|
6106
6106
|
}
|
|
6107
|
-
const
|
|
6107
|
+
const X0 = {
|
|
6108
6108
|
mixins: [te],
|
|
6109
6109
|
inject: [tn],
|
|
6110
6110
|
emits: ["model-updated"],
|
|
@@ -6120,7 +6120,7 @@ const X_ = {
|
|
|
6120
6120
|
},
|
|
6121
6121
|
computed: {
|
|
6122
6122
|
fieldState() {
|
|
6123
|
-
return
|
|
6123
|
+
return J0(this.model[this.schema.model], this.associatedEntity || this.entityId, this.bypassSearch);
|
|
6124
6124
|
},
|
|
6125
6125
|
associatedEntity() {
|
|
6126
6126
|
return this.$route && this.$route.params[this.entity];
|
|
@@ -6174,7 +6174,7 @@ const X_ = {
|
|
|
6174
6174
|
return;
|
|
6175
6175
|
this.loading = !0;
|
|
6176
6176
|
const a = [], s = [], h = this.getInputFields(), f = /* @__PURE__ */ new Set();
|
|
6177
|
-
|
|
6177
|
+
Z0(n) && h.includes("id") ? s.push((async () => {
|
|
6178
6178
|
const d = await this.fetchExact(n);
|
|
6179
6179
|
a.push({ ...d, label: this.getSuggestionLabel(d), value: d.id });
|
|
6180
6180
|
})()) : s.push(...h.filter((d) => d !== "id").map(async (d) => {
|
|
@@ -6228,10 +6228,10 @@ const X_ = {
|
|
|
6228
6228
|
return a ? n[a] : n.id;
|
|
6229
6229
|
}
|
|
6230
6230
|
}
|
|
6231
|
-
},
|
|
6232
|
-
function
|
|
6231
|
+
}, Q0 = { class: "field-wrap autosuggest" }, j0 = ["data-testid", "data-testlabel"], e_ = ["data-testid"], t_ = { class: "autosuggest__results_message" };
|
|
6232
|
+
function n_(n, a, s, h, f, d) {
|
|
6233
6233
|
const y = j("KSelect");
|
|
6234
|
-
return b(), I("div",
|
|
6234
|
+
return b(), I("div", Q0, [
|
|
6235
6235
|
Q(y, {
|
|
6236
6236
|
id: n.schema.model,
|
|
6237
6237
|
ref: "suggestion",
|
|
@@ -6252,15 +6252,15 @@ function n0(n, a, s, h, f, d) {
|
|
|
6252
6252
|
class: "first-part",
|
|
6253
6253
|
"data-testid": p.id && `${p.id}-0`,
|
|
6254
6254
|
"data-testlabel": p.label
|
|
6255
|
-
}, ee(d.getSuggestionLabel(p).split(" - ")[0]), 9,
|
|
6255
|
+
}, ee(d.getSuggestionLabel(p).split(" - ")[0]), 9, j0),
|
|
6256
6256
|
(b(!0), I(ge, null, Ie(d.getSuggestionLabel(p).split(" - ").slice(1), (E, F) => (b(), I("span", {
|
|
6257
6257
|
key: F,
|
|
6258
6258
|
class: "field-span",
|
|
6259
6259
|
"data-testid": p.id && `${p.id}-${F + 1}` || F + 1
|
|
6260
|
-
}, ee(E), 9,
|
|
6260
|
+
}, ee(E), 9, e_))), 128))
|
|
6261
6261
|
]),
|
|
6262
6262
|
empty: ie(() => [
|
|
6263
|
-
M("div",
|
|
6263
|
+
M("div", t_, [
|
|
6264
6264
|
M("span", null, ee(f.message), 1)
|
|
6265
6265
|
])
|
|
6266
6266
|
]),
|
|
@@ -6268,7 +6268,7 @@ function n0(n, a, s, h, f, d) {
|
|
|
6268
6268
|
}, 8, ["id", "modelValue", "items", "loading", "placeholder", "onChange", "onQueryChange"])
|
|
6269
6269
|
]);
|
|
6270
6270
|
}
|
|
6271
|
-
const Nl = /* @__PURE__ */ K(
|
|
6271
|
+
const Nl = /* @__PURE__ */ K(X0, [["render", n_], ["__scopeId", "data-v-62760c9d"]]), i_ = {
|
|
6272
6272
|
name: "FieldArrayCardContainer",
|
|
6273
6273
|
components: { TrashIcon: Qi },
|
|
6274
6274
|
props: {
|
|
@@ -6282,10 +6282,10 @@ const Nl = /* @__PURE__ */ K(X_, [["render", n0], ["__scopeId", "data-v-62760c9d
|
|
|
6282
6282
|
}
|
|
6283
6283
|
},
|
|
6284
6284
|
emits: ["remove-item"]
|
|
6285
|
-
},
|
|
6286
|
-
function
|
|
6285
|
+
}, r_ = { class: "array-card-container" };
|
|
6286
|
+
function s_(n, a, s, h, f, d) {
|
|
6287
6287
|
const y = j("KCard"), p = j("TrashIcon"), E = j("KButton");
|
|
6288
|
-
return b(), I("div",
|
|
6288
|
+
return b(), I("div", r_, [
|
|
6289
6289
|
Q(y, { class: "card" }, {
|
|
6290
6290
|
default: ie(() => [
|
|
6291
6291
|
Xi(n.$slots, "default", {}, void 0, !0)
|
|
@@ -6304,7 +6304,7 @@ function s0(n, a, s, h, f, d) {
|
|
|
6304
6304
|
})
|
|
6305
6305
|
]);
|
|
6306
6306
|
}
|
|
6307
|
-
const xl = /* @__PURE__ */ K(
|
|
6307
|
+
const xl = /* @__PURE__ */ K(i_, [["render", s_], ["__scopeId", "data-v-68702965"]]), a_ = {
|
|
6308
6308
|
mixins: [te],
|
|
6309
6309
|
emits: ["model-updated"],
|
|
6310
6310
|
methods: {
|
|
@@ -6319,14 +6319,14 @@ const xl = /* @__PURE__ */ K(i0, [["render", s0], ["__scopeId", "data-v-68702965
|
|
|
6319
6319
|
this.schema.array || (a = a.toString()), this.updateModel(a);
|
|
6320
6320
|
}
|
|
6321
6321
|
}
|
|
6322
|
-
},
|
|
6323
|
-
function
|
|
6324
|
-
return b(), I("div",
|
|
6322
|
+
}, o_ = { class: "selection-group" }, l_ = { class: "form-group" }, u_ = ["id", "checked", "name", "value"];
|
|
6323
|
+
function d_(n, a, s, h, f, d) {
|
|
6324
|
+
return b(), I("div", o_, [
|
|
6325
6325
|
(b(!0), I(ge, null, Ie(n.schema.values, (y, p) => (b(), I("div", {
|
|
6326
6326
|
key: p,
|
|
6327
6327
|
class: "option-group"
|
|
6328
6328
|
}, [
|
|
6329
|
-
M("div",
|
|
6329
|
+
M("div", l_, [
|
|
6330
6330
|
M("label", {
|
|
6331
6331
|
class: ue(["k-label", y.name])
|
|
6332
6332
|
}, [
|
|
@@ -6338,14 +6338,14 @@ function d0(n, a, s, h, f, d) {
|
|
|
6338
6338
|
type: "radio",
|
|
6339
6339
|
value: y.value,
|
|
6340
6340
|
onChange: a[0] || (a[0] = (...E) => d.onChange && d.onChange(...E))
|
|
6341
|
-
}, null, 40,
|
|
6341
|
+
}, null, 40, u_),
|
|
6342
6342
|
Ke(" " + ee(y.name), 1)
|
|
6343
6343
|
], 2)
|
|
6344
6344
|
])
|
|
6345
6345
|
]))), 128))
|
|
6346
6346
|
]);
|
|
6347
6347
|
}
|
|
6348
|
-
const Bl = /* @__PURE__ */ K(
|
|
6348
|
+
const Bl = /* @__PURE__ */ K(a_, [["render", d_], ["__scopeId", "data-v-7e49acd6"]]), c_ = {
|
|
6349
6349
|
name: "FieldArray",
|
|
6350
6350
|
components: {
|
|
6351
6351
|
FieldArrayItem: Ul,
|
|
@@ -6398,8 +6398,8 @@ const Bl = /* @__PURE__ */ K(a0, [["render", d0], ["__scopeId", "data-v-7e49acd6
|
|
|
6398
6398
|
modelUpdated() {
|
|
6399
6399
|
}
|
|
6400
6400
|
}
|
|
6401
|
-
},
|
|
6402
|
-
function
|
|
6401
|
+
}, f_ = ["id"], h_ = { key: 1 }, m_ = ["onUpdate:modelValue", "type"], p_ = ["value", "onClick"], g_ = ["onUpdate:modelValue"], v_ = ["value", "onClick"];
|
|
6402
|
+
function y_(n, a, s, h, f, d) {
|
|
6403
6403
|
const y = j("FieldTextArea"), p = j("KButton");
|
|
6404
6404
|
return n.schema ? (b(), I("div", {
|
|
6405
6405
|
key: 0,
|
|
@@ -6425,7 +6425,7 @@ function y0(n, a, s, h, f, d) {
|
|
|
6425
6425
|
}, null, 40, ["form-options", "model", "schema", "onModelUpdated"]))
|
|
6426
6426
|
]),
|
|
6427
6427
|
_: 2
|
|
6428
|
-
}, 1064, ["model", "schema", "onRemoveItem"])) : n.schema.items ? (b(), I("span",
|
|
6428
|
+
}, 1064, ["model", "schema", "onRemoveItem"])) : n.schema.items ? (b(), I("span", h_, [
|
|
6429
6429
|
(b(), ae(nn(d.getFieldType(n.schema.items)), {
|
|
6430
6430
|
"form-options": n.formOptions,
|
|
6431
6431
|
model: E,
|
|
@@ -6454,28 +6454,28 @@ function y0(n, a, s, h, f, d) {
|
|
|
6454
6454
|
"onUpdate:modelValue": (oe) => n.value[F] = oe
|
|
6455
6455
|
}, n.schema.inputAttributes, {
|
|
6456
6456
|
type: ((de = n.schema.inputAttributes) == null ? void 0 : de.type) || "text"
|
|
6457
|
-
}), null, 16,
|
|
6457
|
+
}), null, 16, m_)), [
|
|
6458
6458
|
[Bg, n.value[F]]
|
|
6459
6459
|
]),
|
|
6460
6460
|
n.schema.showRemoveButton ? (b(), I("input", Zn({ key: 2 }, n.schema.removeElementButtonAttributes, {
|
|
6461
6461
|
type: "button",
|
|
6462
6462
|
value: n.schema.removeElementButtonLabel || s.removeElementButtonLabel,
|
|
6463
6463
|
onClick: (oe) => d.removeElement(F)
|
|
6464
|
-
}), null, 16,
|
|
6464
|
+
}), null, 16, p_)) : B("", !0)
|
|
6465
6465
|
];
|
|
6466
6466
|
}),
|
|
6467
6467
|
_: 2
|
|
6468
6468
|
}, 1064, ["data-testid", "model", "schema", "onRemoveItem"])) : J((b(), I("input", Zn({ key: 3 }, n.schema.inputAttributes, {
|
|
6469
6469
|
"onUpdate:modelValue": (D) => n.value[F] = D,
|
|
6470
6470
|
type: "text"
|
|
6471
|
-
}), null, 16,
|
|
6471
|
+
}), null, 16, g_)), [
|
|
6472
6472
|
[lt, n.value[F]]
|
|
6473
6473
|
]),
|
|
6474
6474
|
n.schema.showRemoveButton ? (b(), I("input", Zn({ key: 4 }, n.schema.removeElementButtonAttributes, {
|
|
6475
6475
|
type: "button",
|
|
6476
6476
|
value: n.schema.removeElementButtonLabel || s.removeElementButtonLabel,
|
|
6477
6477
|
onClick: (D) => d.removeElement(F)
|
|
6478
|
-
}), null, 16,
|
|
6478
|
+
}), null, 16, v_)) : B("", !0)
|
|
6479
6479
|
], 2))), 128)),
|
|
6480
6480
|
Q(p, {
|
|
6481
6481
|
appearance: "tertiary",
|
|
@@ -6489,9 +6489,9 @@ function y0(n, a, s, h, f, d) {
|
|
|
6489
6489
|
]),
|
|
6490
6490
|
_: 1
|
|
6491
6491
|
}, 8, ["class", "data-testid", "onClick"])
|
|
6492
|
-
], 10,
|
|
6492
|
+
], 10, f_)) : B("", !0);
|
|
6493
6493
|
}
|
|
6494
|
-
const
|
|
6494
|
+
const __ = /* @__PURE__ */ K(c_, [["render", y_], ["__scopeId", "data-v-1731cb2f"]]), b_ = {
|
|
6495
6495
|
mixins: [te],
|
|
6496
6496
|
emits: ["model-updated"],
|
|
6497
6497
|
data() {
|
|
@@ -6518,19 +6518,19 @@ const _0 = /* @__PURE__ */ K(c0, [["render", y0], ["__scopeId", "data-v-1731cb2f
|
|
|
6518
6518
|
this.$emit("model-updated", n, a);
|
|
6519
6519
|
}
|
|
6520
6520
|
}
|
|
6521
|
-
},
|
|
6521
|
+
}, w_ = {
|
|
6522
6522
|
class: "advanced-field-dropdown-wrapper",
|
|
6523
6523
|
"data-testid": "advanced-field-dropdown-wrapper"
|
|
6524
|
-
},
|
|
6525
|
-
function
|
|
6524
|
+
}, S_ = { class: "material-icons" };
|
|
6525
|
+
function C_(n, a, s, h, f, d) {
|
|
6526
6526
|
const y = j("vue-form-generator");
|
|
6527
|
-
return b(), I("div",
|
|
6527
|
+
return b(), I("div", w_, [
|
|
6528
6528
|
M("button", {
|
|
6529
6529
|
class: "advanced-field-title",
|
|
6530
6530
|
type: "button",
|
|
6531
6531
|
onClick: a[0] || (a[0] = (...p) => d.handleOpen && d.handleOpen(...p))
|
|
6532
6532
|
}, [
|
|
6533
|
-
M("i",
|
|
6533
|
+
M("i", S_, ee(f.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
|
|
6534
6534
|
M("span", null, ee(d.titleText), 1)
|
|
6535
6535
|
]),
|
|
6536
6536
|
M("div", {
|
|
@@ -6545,7 +6545,7 @@ function C0(n, a, s, h, f, d) {
|
|
|
6545
6545
|
], 2)
|
|
6546
6546
|
]);
|
|
6547
6547
|
}
|
|
6548
|
-
const
|
|
6548
|
+
const T_ = /* @__PURE__ */ K(b_, [["render", C_], ["__scopeId", "data-v-2d8e71e1"]]), I_ = {
|
|
6549
6549
|
mixins: [te],
|
|
6550
6550
|
emits: ["model-updated"],
|
|
6551
6551
|
data() {
|
|
@@ -6580,15 +6580,15 @@ const T0 = /* @__PURE__ */ K(b0, [["render", C0], ["__scopeId", "data-v-2d8e71e1
|
|
|
6580
6580
|
this.$emit("model-updated", n, a);
|
|
6581
6581
|
}
|
|
6582
6582
|
}
|
|
6583
|
-
},
|
|
6584
|
-
function
|
|
6583
|
+
}, A_ = { class: "selection-group" }, M_ = { class: "form-group" }, E_ = ["value"], F_ = { class: "control-help" }, $_ = { class: "option-field" }, O_ = { class: "option-field-container" };
|
|
6584
|
+
function k_(n, a, s, h, f, d) {
|
|
6585
6585
|
const y = j("vue-form-generator");
|
|
6586
|
-
return b(), I("div",
|
|
6586
|
+
return b(), I("div", A_, [
|
|
6587
6587
|
(b(!0), I(ge, null, Ie(n.schema.fields, (p, E) => (b(), I("div", {
|
|
6588
6588
|
key: E,
|
|
6589
6589
|
class: "option-group"
|
|
6590
6590
|
}, [
|
|
6591
|
-
M("div",
|
|
6591
|
+
M("div", M_, [
|
|
6592
6592
|
M("label", {
|
|
6593
6593
|
class: ue(["k-label", `${p.label}-check`])
|
|
6594
6594
|
}, [
|
|
@@ -6597,15 +6597,15 @@ function k0(n, a, s, h, f, d) {
|
|
|
6597
6597
|
class: "k-input",
|
|
6598
6598
|
type: "radio",
|
|
6599
6599
|
value: E
|
|
6600
|
-
}, null, 8,
|
|
6600
|
+
}, null, 8, E_), [
|
|
6601
6601
|
[Pg, f.checkedGroup]
|
|
6602
6602
|
]),
|
|
6603
6603
|
Ke(" " + ee(p.label) + " ", 1),
|
|
6604
|
-
M("div",
|
|
6604
|
+
M("div", F_, ee(p.description), 1)
|
|
6605
6605
|
], 2)
|
|
6606
6606
|
]),
|
|
6607
|
-
J(M("div", $
|
|
6608
|
-
M("div",
|
|
6607
|
+
J(M("div", $_, [
|
|
6608
|
+
M("div", O_, [
|
|
6609
6609
|
Q(y, {
|
|
6610
6610
|
model: n.model,
|
|
6611
6611
|
options: { helpAsHtml: !0 },
|
|
@@ -6619,7 +6619,7 @@ function k0(n, a, s, h, f, d) {
|
|
|
6619
6619
|
]))), 128))
|
|
6620
6620
|
]);
|
|
6621
6621
|
}
|
|
6622
|
-
const
|
|
6622
|
+
const L_ = /* @__PURE__ */ K(I_, [["render", k_], ["__scopeId", "data-v-25fe24da"]]), U_ = {
|
|
6623
6623
|
mixins: [te],
|
|
6624
6624
|
emits: ["model-updated"],
|
|
6625
6625
|
methods: {
|
|
@@ -6628,7 +6628,7 @@ const L0 = /* @__PURE__ */ K(I0, [["render", k0], ["__scopeId", "data-v-25fe24da
|
|
|
6628
6628
|
}
|
|
6629
6629
|
}
|
|
6630
6630
|
};
|
|
6631
|
-
function
|
|
6631
|
+
function R_(n, a, s, h, f, d) {
|
|
6632
6632
|
const y = j("KMultiselect");
|
|
6633
6633
|
return b(), ae(y, {
|
|
6634
6634
|
"data-testid": "field-multiselect",
|
|
@@ -6641,7 +6641,7 @@ function R0(n, a, s, h, f, d) {
|
|
|
6641
6641
|
"onUpdate:modelValue": d.onUpdate
|
|
6642
6642
|
}, null, 8, ["items", "label-attributes", "model-value", "placeholder", "required", "onUpdate:modelValue"]);
|
|
6643
6643
|
}
|
|
6644
|
-
const
|
|
6644
|
+
const D_ = /* @__PURE__ */ K(U_, [["render", R_]]), N_ = {
|
|
6645
6645
|
name: "FieldKeyValuePairs",
|
|
6646
6646
|
components: { TrashIcon: Qi },
|
|
6647
6647
|
mixins: [te],
|
|
@@ -6689,10 +6689,10 @@ const D0 = /* @__PURE__ */ K(U0, [["render", R0]]), N0 = {
|
|
|
6689
6689
|
this.pairs.splice(n, 1);
|
|
6690
6690
|
}
|
|
6691
6691
|
}
|
|
6692
|
-
},
|
|
6693
|
-
function
|
|
6692
|
+
}, x_ = { class: "key-value-pairs-editor" }, B_ = ["data-testid", "placeholder", "value", "onInput"], P_ = ["data-testid", "placeholder", "value", "onInput"];
|
|
6693
|
+
function V_(n, a, s, h, f, d) {
|
|
6694
6694
|
const y = j("TrashIcon"), p = j("KButton");
|
|
6695
|
-
return b(), I("div",
|
|
6695
|
+
return b(), I("div", x_, [
|
|
6696
6696
|
(b(!0), I(ge, null, Ie(f.pairs, (E, F) => (b(), I("div", {
|
|
6697
6697
|
key: F,
|
|
6698
6698
|
class: "pair-item"
|
|
@@ -6706,7 +6706,7 @@ function V0(n, a, s, h, f, d) {
|
|
|
6706
6706
|
onInput: (D) => {
|
|
6707
6707
|
d.onInput(D, F, "key");
|
|
6708
6708
|
}
|
|
6709
|
-
}, null, 40,
|
|
6709
|
+
}, null, 40, B_),
|
|
6710
6710
|
M("input", {
|
|
6711
6711
|
class: "form-control",
|
|
6712
6712
|
"data-testid": `${n.getFieldID(n.schema)}-pair-value-${F}`,
|
|
@@ -6716,7 +6716,7 @@ function V0(n, a, s, h, f, d) {
|
|
|
6716
6716
|
onInput: (D) => {
|
|
6717
6717
|
d.onInput(D, F, "value");
|
|
6718
6718
|
}
|
|
6719
|
-
}, null, 40,
|
|
6719
|
+
}, null, 40, P_),
|
|
6720
6720
|
Q(p, {
|
|
6721
6721
|
appearance: "tertiary",
|
|
6722
6722
|
"data-testid": `${n.getFieldID(n.schema)}-remove-pair-${F}`,
|
|
@@ -6744,10 +6744,10 @@ function V0(n, a, s, h, f, d) {
|
|
|
6744
6744
|
}, 8, ["class", "data-testid", "onClick"])
|
|
6745
6745
|
]);
|
|
6746
6746
|
}
|
|
6747
|
-
const
|
|
6747
|
+
const q_ = /* @__PURE__ */ K(N_, [["render", V_], ["__scopeId", "data-v-29d15375"]]), H_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6748
6748
|
__proto__: null,
|
|
6749
|
-
FieldAdvanced:
|
|
6750
|
-
FieldArray:
|
|
6749
|
+
FieldAdvanced: T_,
|
|
6750
|
+
FieldArray: __,
|
|
6751
6751
|
FieldArrayCardContainer: xl,
|
|
6752
6752
|
FieldArrayItem: Ul,
|
|
6753
6753
|
FieldArrayMultiItem: Rl,
|
|
@@ -6759,11 +6759,11 @@ const q0 = /* @__PURE__ */ K(N0, [["render", V0], ["__scopeId", "data-v-29d15375
|
|
|
6759
6759
|
FieldGoogleAddress: sy,
|
|
6760
6760
|
FieldImage: cy,
|
|
6761
6761
|
FieldInput: Al,
|
|
6762
|
-
FieldKeyValuePairs:
|
|
6762
|
+
FieldKeyValuePairs: q_,
|
|
6763
6763
|
FieldLabel: wv,
|
|
6764
6764
|
FieldMasked: py,
|
|
6765
6765
|
FieldMetric: Dl,
|
|
6766
|
-
FieldMultiselect:
|
|
6766
|
+
FieldMultiselect: D_,
|
|
6767
6767
|
FieldNoUiSlider: _y,
|
|
6768
6768
|
FieldObject: $l,
|
|
6769
6769
|
FieldObjectAdvanced: kl,
|
|
@@ -6773,16 +6773,16 @@ const q0 = /* @__PURE__ */ K(N0, [["render", V0], ["__scopeId", "data-v-29d15375
|
|
|
6773
6773
|
FieldRangeSlider: Ey,
|
|
6774
6774
|
FieldSelect: Ml,
|
|
6775
6775
|
FieldSelectEx: Uy,
|
|
6776
|
-
FieldSelectionGroup:
|
|
6776
|
+
FieldSelectionGroup: L_,
|
|
6777
6777
|
FieldSpectrum: xy,
|
|
6778
6778
|
FieldStaticMap: qy,
|
|
6779
6779
|
FieldSubmit: Nv,
|
|
6780
6780
|
FieldTextArea: El,
|
|
6781
6781
|
FieldUpload: Kv,
|
|
6782
6782
|
fieldSwitch: Gy
|
|
6783
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6783
|
+
}, Symbol.toStringTag, { value: "Module" })), W_ = {
|
|
6784
6784
|
name: "FormGroup",
|
|
6785
|
-
components:
|
|
6785
|
+
components: H_,
|
|
6786
6786
|
mixins: [yl],
|
|
6787
6787
|
props: {
|
|
6788
6788
|
vfg: {
|
|
@@ -6875,16 +6875,16 @@ const q0 = /* @__PURE__ */ K(N0, [["render", V0], ["__scopeId", "data-v-29d15375
|
|
|
6875
6875
|
return n ? n.replace(/^[cC]onfig\./, "") : "";
|
|
6876
6876
|
}
|
|
6877
6877
|
}
|
|
6878
|
-
}, Pl = (n) => (an("data-v-bee61052"), n = n(), on(), n),
|
|
6878
|
+
}, Pl = (n) => (an("data-v-bee61052"), n = n(), on(), n), K_ = ["for"], Y_ = { class: "icon-wrapper" }, z_ = ["innerHTML"], G_ = /* @__PURE__ */ Pl(() => /* @__PURE__ */ M("div", {
|
|
6879
6879
|
class: "help",
|
|
6880
6880
|
role: "button",
|
|
6881
6881
|
tabindex: "0"
|
|
6882
6882
|
}, [
|
|
6883
6883
|
/* @__PURE__ */ M("i", { class: "icon" })
|
|
6884
|
-
], -1)),
|
|
6884
|
+
], -1)), Z_ = ["innerHTML"], J_ = {
|
|
6885
6885
|
key: 0,
|
|
6886
6886
|
class: "link-wrapper"
|
|
6887
|
-
},
|
|
6887
|
+
}, X_ = /* @__PURE__ */ Pl(() => /* @__PURE__ */ M("span", { class: "section-header" }, "More info", -1)), Q_ = { class: "field-wrap" }, j_ = {
|
|
6888
6888
|
key: 0,
|
|
6889
6889
|
class: "buttons"
|
|
6890
6890
|
}, e1 = ["type", "onClick", "textContent"], t1 = ["innerHTML"], n1 = {
|
|
@@ -6901,10 +6901,10 @@ function r1(n, a, s, h, f, d) {
|
|
|
6901
6901
|
class: ue(["form-group-label", s.field.labelClasses]),
|
|
6902
6902
|
for: d.getFieldID(s.field)
|
|
6903
6903
|
}, [
|
|
6904
|
-
M("div",
|
|
6904
|
+
M("div", Y_, [
|
|
6905
6905
|
M("span", {
|
|
6906
6906
|
innerHTML: d.formattedLabel(s.field.label)
|
|
6907
|
-
}, null, 8,
|
|
6907
|
+
}, null, 8, z_),
|
|
6908
6908
|
s.field.help ? (b(), ae(y, {
|
|
6909
6909
|
key: 0,
|
|
6910
6910
|
"max-width": "300",
|
|
@@ -6915,28 +6915,28 @@ function r1(n, a, s, h, f, d) {
|
|
|
6915
6915
|
s.options.helpAsHtml ? (b(), I("div", {
|
|
6916
6916
|
key: 0,
|
|
6917
6917
|
innerHTML: s.field.help
|
|
6918
|
-
}, null, 8,
|
|
6918
|
+
}, null, 8, Z_)) : (b(), I(ge, { key: 1 }, [
|
|
6919
6919
|
Ke(ee(s.field.help), 1)
|
|
6920
6920
|
], 64))
|
|
6921
6921
|
]),
|
|
6922
6922
|
default: ie(() => [
|
|
6923
|
-
|
|
6923
|
+
G_
|
|
6924
6924
|
]),
|
|
6925
6925
|
_: 1
|
|
6926
6926
|
})) : B("", !0)
|
|
6927
6927
|
]),
|
|
6928
|
-
s.field.link ? (b(), I("div",
|
|
6928
|
+
s.field.link ? (b(), I("div", J_, [
|
|
6929
6929
|
Q(p, {
|
|
6930
6930
|
href: s.field.link
|
|
6931
6931
|
}, {
|
|
6932
6932
|
default: ie(() => [
|
|
6933
|
-
|
|
6933
|
+
X_
|
|
6934
6934
|
]),
|
|
6935
6935
|
_: 1
|
|
6936
6936
|
}, 8, ["href"])
|
|
6937
6937
|
])) : B("", !0)
|
|
6938
|
-
], 10,
|
|
6939
|
-
M("div",
|
|
6938
|
+
], 10, K_)) : B("", !0),
|
|
6939
|
+
M("div", Q_, [
|
|
6940
6940
|
(b(), ae(nn(d.getFieldType(s.field)), Zn(n.$attrs, {
|
|
6941
6941
|
ref: "child",
|
|
6942
6942
|
disabled: n.fieldDisabled(s.field) || null,
|
|
@@ -6947,7 +6947,7 @@ function r1(n, a, s, h, f, d) {
|
|
|
6947
6947
|
onModelUpdated: d.onModelUpdated,
|
|
6948
6948
|
onValidated: d.onFieldValidated
|
|
6949
6949
|
}), null, 16, ["disabled", "form-options", "model", "schema", "vfg", "onModelUpdated", "onValidated"])),
|
|
6950
|
-
d.buttonVisibility(s.field) ? (b(), I("div",
|
|
6950
|
+
d.buttonVisibility(s.field) ? (b(), I("div", j_, [
|
|
6951
6951
|
(b(!0), I(ge, null, Ie(s.field.buttons, (E, F) => (b(), I("button", {
|
|
6952
6952
|
key: F,
|
|
6953
6953
|
class: ue(E.classes),
|
|
@@ -6970,7 +6970,7 @@ function r1(n, a, s, h, f, d) {
|
|
|
6970
6970
|
])) : B("", !0)
|
|
6971
6971
|
], 2);
|
|
6972
6972
|
}
|
|
6973
|
-
const s1 = /* @__PURE__ */ K(
|
|
6973
|
+
const s1 = /* @__PURE__ */ K(W_, [["render", r1], ["__scopeId", "data-v-bee61052"]]), a1 = {
|
|
6974
6974
|
key: 0,
|
|
6975
6975
|
class: "vue-form-generator"
|
|
6976
6976
|
}, o1 = ["is"], l1 = ["is"], u1 = { key: 0 };
|