@kong-ui-public/forms 2.1.21 → 2.1.22
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 +2 -2
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 }, e_ = ["onUpdate:modelValue"], t_ = { key: 1 }, n_ = ["onUpdate:modelValue"], i_ = { key: 2 }, r_ = ["onUpdate:modelValue"], s_ = ["onClick"], a_ = /* @__PURE__ */ M("option", { value: "string" }, " String ", -1), o_ = /* @__PURE__ */ M("option", { value: "number" }, " Number ", -1), l_ = /* @__PURE__ */ M("option", { value: "boolean" }, " Boolean ", -1), u_ = [
|
|
5537
|
+
a_,
|
|
5538
|
+
o_,
|
|
5539
|
+
l_
|
|
5540
5540
|
];
|
|
5541
|
-
function
|
|
5541
|
+
function d_(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 d0(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, e_), [
|
|
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", t_, [
|
|
5566
5566
|
J(M("input", {
|
|
5567
5567
|
"onUpdate:modelValue": (D) => n.value[F] = D,
|
|
5568
5568
|
type: "checkbox"
|
|
5569
|
-
}, null, 8,
|
|
5569
|
+
}, null, 8, n_), [
|
|
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", i_, [
|
|
5574
5574
|
J(M("input", {
|
|
5575
5575
|
"onUpdate:modelValue": (D) => n.value[F] = D,
|
|
5576
5576
|
type: "number"
|
|
5577
|
-
}, null, 8,
|
|
5577
|
+
}, null, 8, r_), [
|
|
5578
5578
|
[lt, n.value[F]]
|
|
5579
5579
|
])
|
|
5580
5580
|
])) : B("", !0),
|
|
@@ -5583,13 +5583,13 @@ function d0(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, s_)
|
|
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
|
+
}, u_, 512), [
|
|
5593
5593
|
[Ts, f.newKeyType]
|
|
5594
5594
|
]),
|
|
5595
5595
|
J(M("input", {
|
|
@@ -5608,7 +5608,7 @@ function d0(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", d_]]), c_ = {
|
|
5612
5612
|
mixins: [te],
|
|
5613
5613
|
emits: ["model-updated"],
|
|
5614
5614
|
data() {
|
|
@@ -5691,14 +5691,14 @@ const $l = /* @__PURE__ */ K(Zy, [["render", d0]]), c0 = {
|
|
|
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), f_ = ["id"], h_ = ["data-testid"], m_ = { class: "item-wrapper" }, p_ = { class: "index-wrapper" }, g_ = /* @__PURE__ */ Ol(() => /* @__PURE__ */ M("hr", { class: "divider" }, null, -1)), v_ = { key: 0 }, y_ = { key: 1 }, __ = ["onUpdate:modelValue", "placeholder", "onInput"], b_ = {
|
|
5695
5695
|
key: 0,
|
|
5696
5696
|
class: "hint"
|
|
5697
|
-
},
|
|
5697
|
+
}, w_ = /* @__PURE__ */ Ol(() => /* @__PURE__ */ M("hr", { class: "wide-divider" }, null, -1)), S_ = { class: "input-item" }, C_ = ["placeholder"], T_ = {
|
|
5698
5698
|
key: 0,
|
|
5699
5699
|
class: "hint"
|
|
5700
5700
|
};
|
|
5701
|
-
function
|
|
5701
|
+
function I_(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 I0(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", m_, [
|
|
5713
|
+
M("div", p_, [
|
|
5714
5714
|
M("strong", null, ee(D), 1),
|
|
5715
5715
|
M("div", null, [
|
|
5716
5716
|
Q(p, {
|
|
@@ -5729,41 +5729,41 @@ function I0(n, a, s, h, f, d) {
|
|
|
5729
5729
|
}, 1032, ["onClick"])
|
|
5730
5730
|
])
|
|
5731
5731
|
]),
|
|
5732
|
-
|
|
5733
|
-
d.subSchema ? (b(), I("div",
|
|
5732
|
+
g_,
|
|
5733
|
+
d.subSchema ? (b(), I("div", v_, [
|
|
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", y_, [
|
|
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, __), [
|
|
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", b_, ee(n.schema.fields[0].schema.hint), 1)) : B("", !0)
|
|
5751
5751
|
])),
|
|
5752
|
-
|
|
5752
|
+
w_
|
|
5753
5753
|
])
|
|
5754
5754
|
])
|
|
5755
|
-
], 8,
|
|
5755
|
+
], 8, h_))), 128)),
|
|
5756
5756
|
M("div", {
|
|
5757
5757
|
class: ue(["input-wrapper", { indent: d.hasObjectKeys }])
|
|
5758
5758
|
}, [
|
|
5759
|
-
M("div",
|
|
5759
|
+
M("div", S_, [
|
|
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, C_), [
|
|
5767
5767
|
[lt, f.newKeyName]
|
|
5768
5768
|
]),
|
|
5769
5769
|
Q(p, {
|
|
@@ -5778,22 +5778,22 @@ function I0(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", T_, ee(n.schema.hintText), 1)) : B("", !0)
|
|
5782
5782
|
], 2)
|
|
5783
|
-
], 10,
|
|
5783
|
+
], 10, f_);
|
|
5784
5784
|
}
|
|
5785
|
-
const kl = /* @__PURE__ */ K(
|
|
5785
|
+
const kl = /* @__PURE__ */ K(c_, [["render", I_], ["__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
|
+
}, A_ = (n) => (an("data-v-e68c4d49"), n = n(), on(), n), M_ = ["aria-hidden"], E_ = {
|
|
5791
5791
|
key: 0,
|
|
5792
5792
|
"data-testid": "kui-icon-svg-title"
|
|
5793
|
-
},
|
|
5793
|
+
}, F_ = /* @__PURE__ */ A_(() => /* @__PURE__ */ M("path", {
|
|
5794
5794
|
d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
|
|
5795
5795
|
fill: "currentColor"
|
|
5796
|
-
}, null, -1)), $
|
|
5796
|
+
}, null, -1)), $_ = /* @__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(c0, [["render", I0], ["__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", E_, ee(n.title), 1)) : B("", !0),
|
|
5883
|
+
F_
|
|
5884
|
+
], 8, M_))
|
|
5885
5885
|
]),
|
|
5886
5886
|
_: 1
|
|
5887
5887
|
}, 8, ["aria-hidden", "style"]));
|
|
5888
5888
|
}
|
|
5889
|
-
}),
|
|
5889
|
+
}), O_ = /* @__PURE__ */ Ll($_, [["__scopeId", "data-v-e68c4d49"]]), k_ = (n) => (an("data-v-aec75942"), n = n(), on(), n), L_ = ["aria-hidden"], U_ = {
|
|
5890
5890
|
key: 0,
|
|
5891
5891
|
"data-testid": "kui-icon-svg-title"
|
|
5892
|
-
},
|
|
5892
|
+
}, R_ = /* @__PURE__ */ k_(() => /* @__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)), D_ = /* @__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(c0, [["render", I0], ["__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", U_, ee(n.title), 1)) : B("", !0),
|
|
5982
|
+
R_
|
|
5983
|
+
], 8, L_))
|
|
5984
5984
|
]),
|
|
5985
5985
|
_: 1
|
|
5986
5986
|
}, 8, ["aria-hidden", "style"]));
|
|
5987
5987
|
}
|
|
5988
|
-
}), Qi = /* @__PURE__ */ Ll(
|
|
5988
|
+
}), Qi = /* @__PURE__ */ Ll(D_, [["__scopeId", "data-v-aec75942"]]), N_ = {
|
|
5989
5989
|
name: "FieldArrayItem",
|
|
5990
5990
|
components: { TrashIcon: Qi },
|
|
5991
5991
|
props: {
|
|
@@ -6000,10 +6000,10 @@ const kl = /* @__PURE__ */ K(c0, [["render", I0], ["__scopeId", "data-v-22600a29
|
|
|
6000
6000
|
contentVisible: !1
|
|
6001
6001
|
};
|
|
6002
6002
|
}
|
|
6003
|
-
},
|
|
6004
|
-
function
|
|
6003
|
+
}, x_ = { class: "array-item" };
|
|
6004
|
+
function B_(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", x_, [
|
|
6007
6007
|
Xi(n.$slots, "default", {}, void 0, !0),
|
|
6008
6008
|
Q(p, {
|
|
6009
6009
|
appearance: "tertiary",
|
|
@@ -6018,7 +6018,7 @@ function B0(n, a, s, h, f, d) {
|
|
|
6018
6018
|
})
|
|
6019
6019
|
]);
|
|
6020
6020
|
}
|
|
6021
|
-
const Ul = /* @__PURE__ */ K(
|
|
6021
|
+
const Ul = /* @__PURE__ */ K(N_, [["render", B_], ["__scopeId", "data-v-d42daeb2"]]), P_ = {
|
|
6022
6022
|
name: "FieldArrayMultiItem",
|
|
6023
6023
|
emits: ["remove-item"],
|
|
6024
6024
|
data() {
|
|
@@ -6026,10 +6026,10 @@ const Ul = /* @__PURE__ */ K(N0, [["render", B0], ["__scopeId", "data-v-d42daeb2
|
|
|
6026
6026
|
contentVisible: !1
|
|
6027
6027
|
};
|
|
6028
6028
|
}
|
|
6029
|
-
},
|
|
6030
|
-
function
|
|
6029
|
+
}, V_ = (n) => (an("data-v-47ff1f9a"), n = n(), on(), n), q_ = { class: "multi-item-wrapper" }, H_ = /* @__PURE__ */ V_(() => /* @__PURE__ */ M("hr", null, null, -1));
|
|
6030
|
+
function W_(n, a, s, h, f, d) {
|
|
6031
6031
|
const y = j("KButton");
|
|
6032
|
-
return b(), I("div",
|
|
6032
|
+
return b(), I("div", q_, [
|
|
6033
6033
|
Xi(n.$slots, "default", {}, void 0, !0),
|
|
6034
6034
|
Q(y, {
|
|
6035
6035
|
appearance: "danger",
|
|
@@ -6042,12 +6042,12 @@ function W0(n, a, s, h, f, d) {
|
|
|
6042
6042
|
]),
|
|
6043
6043
|
_: 1
|
|
6044
6044
|
}),
|
|
6045
|
-
|
|
6045
|
+
H_
|
|
6046
6046
|
]);
|
|
6047
6047
|
}
|
|
6048
|
-
const Rl = /* @__PURE__ */ K(
|
|
6048
|
+
const Rl = /* @__PURE__ */ K(P_, [["render", W_], ["__scopeId", "data-v-47ff1f9a"]]), K_ = {
|
|
6049
6049
|
name: "FieldMetric",
|
|
6050
|
-
components: { AddIcon:
|
|
6050
|
+
components: { AddIcon: O_, TrashIcon: Qi },
|
|
6051
6051
|
mixins: [te],
|
|
6052
6052
|
emits: ["remove-item"],
|
|
6053
6053
|
data() {
|
|
@@ -6055,11 +6055,11 @@ const Rl = /* @__PURE__ */ K(P0, [["render", W0], ["__scopeId", "data-v-47ff1f9a
|
|
|
6055
6055
|
contentVisible: !1
|
|
6056
6056
|
};
|
|
6057
6057
|
}
|
|
6058
|
-
},
|
|
6058
|
+
}, Y_ = {
|
|
6059
6059
|
key: 0,
|
|
6060
6060
|
class: "content"
|
|
6061
6061
|
};
|
|
6062
|
-
function
|
|
6062
|
+
function z_(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 z0(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", Y_, [
|
|
6077
6077
|
Xi(n.$slots, "default"),
|
|
6078
6078
|
Q(E, {
|
|
6079
6079
|
appearance: "tertiary",
|
|
@@ -6091,9 +6091,9 @@ function z0(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(K_, [["render", z_]]), tn = "kong-ui-forms-api", G_ = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}";
|
|
6095
|
+
function Z_(n) {
|
|
6096
|
+
return n ? n.length === 36 && new RegExp(`^${G_}$`).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 J_(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 X_ = {
|
|
6108
6108
|
mixins: [te],
|
|
6109
6109
|
inject: [tn],
|
|
6110
6110
|
emits: ["model-updated"],
|
|
@@ -6120,7 +6120,7 @@ const X0 = {
|
|
|
6120
6120
|
},
|
|
6121
6121
|
computed: {
|
|
6122
6122
|
fieldState() {
|
|
6123
|
-
return
|
|
6123
|
+
return J_(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 X0 = {
|
|
|
6174
6174
|
return;
|
|
6175
6175
|
this.loading = !0;
|
|
6176
6176
|
const a = [], s = [], h = this.getInputFields(), f = /* @__PURE__ */ new Set();
|
|
6177
|
-
|
|
6177
|
+
Z_(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 X0 = {
|
|
|
6228
6228
|
return a ? n[a] : n.id;
|
|
6229
6229
|
}
|
|
6230
6230
|
}
|
|
6231
|
-
},
|
|
6232
|
-
function
|
|
6231
|
+
}, Q_ = { class: "field-wrap autosuggest" }, j_ = ["data-testid", "data-testlabel"], e0 = ["data-testid"], t0 = { class: "autosuggest__results_message" };
|
|
6232
|
+
function n0(n, a, s, h, f, d) {
|
|
6233
6233
|
const y = j("KSelect");
|
|
6234
|
-
return b(), I("div",
|
|
6234
|
+
return b(), I("div", Q_, [
|
|
6235
6235
|
Q(y, {
|
|
6236
6236
|
id: n.schema.model,
|
|
6237
6237
|
ref: "suggestion",
|
|
@@ -6253,15 +6253,15 @@ function n_(n, a, s, h, f, d) {
|
|
|
6253
6253
|
class: "first-part",
|
|
6254
6254
|
"data-testid": p.id && `${p.id}-0`,
|
|
6255
6255
|
"data-testlabel": p.label
|
|
6256
|
-
}, ee(d.getSuggestionLabel(p).split(" - ")[0]), 9,
|
|
6256
|
+
}, ee(d.getSuggestionLabel(p).split(" - ")[0]), 9, j_),
|
|
6257
6257
|
(b(!0), I(ge, null, Ie(d.getSuggestionLabel(p).split(" - ").slice(1), (E, F) => (b(), I("span", {
|
|
6258
6258
|
key: F,
|
|
6259
6259
|
class: "field-span",
|
|
6260
6260
|
"data-testid": p.id && `${p.id}-${F + 1}` || F + 1
|
|
6261
|
-
}, ee(E), 9,
|
|
6261
|
+
}, ee(E), 9, e0))), 128))
|
|
6262
6262
|
]),
|
|
6263
6263
|
empty: ie(() => [
|
|
6264
|
-
M("div",
|
|
6264
|
+
M("div", t0, [
|
|
6265
6265
|
M("span", null, ee(f.message), 1)
|
|
6266
6266
|
])
|
|
6267
6267
|
]),
|
|
@@ -6269,7 +6269,7 @@ function n_(n, a, s, h, f, d) {
|
|
|
6269
6269
|
}, 8, ["id", "modelValue", "items", "loading", "placeholder", "onChange", "onQueryChange"])
|
|
6270
6270
|
]);
|
|
6271
6271
|
}
|
|
6272
|
-
const Nl = /* @__PURE__ */ K(
|
|
6272
|
+
const Nl = /* @__PURE__ */ K(X_, [["render", n0], ["__scopeId", "data-v-d6ab138d"]]), i0 = {
|
|
6273
6273
|
name: "FieldArrayCardContainer",
|
|
6274
6274
|
components: { TrashIcon: Qi },
|
|
6275
6275
|
props: {
|
|
@@ -6283,10 +6283,10 @@ const Nl = /* @__PURE__ */ K(X0, [["render", n_], ["__scopeId", "data-v-d6ab138d
|
|
|
6283
6283
|
}
|
|
6284
6284
|
},
|
|
6285
6285
|
emits: ["remove-item"]
|
|
6286
|
-
},
|
|
6287
|
-
function
|
|
6286
|
+
}, r0 = { class: "array-card-container" };
|
|
6287
|
+
function s0(n, a, s, h, f, d) {
|
|
6288
6288
|
const y = j("KCard"), p = j("TrashIcon"), E = j("KButton");
|
|
6289
|
-
return b(), I("div",
|
|
6289
|
+
return b(), I("div", r0, [
|
|
6290
6290
|
Q(y, { class: "card" }, {
|
|
6291
6291
|
default: ie(() => [
|
|
6292
6292
|
Xi(n.$slots, "default", {}, void 0, !0)
|
|
@@ -6305,7 +6305,7 @@ function s_(n, a, s, h, f, d) {
|
|
|
6305
6305
|
})
|
|
6306
6306
|
]);
|
|
6307
6307
|
}
|
|
6308
|
-
const xl = /* @__PURE__ */ K(
|
|
6308
|
+
const xl = /* @__PURE__ */ K(i0, [["render", s0], ["__scopeId", "data-v-68702965"]]), a0 = {
|
|
6309
6309
|
mixins: [te],
|
|
6310
6310
|
emits: ["model-updated"],
|
|
6311
6311
|
methods: {
|
|
@@ -6320,14 +6320,14 @@ const xl = /* @__PURE__ */ K(i_, [["render", s_], ["__scopeId", "data-v-68702965
|
|
|
6320
6320
|
this.schema.array || (a = a.toString()), this.updateModel(a);
|
|
6321
6321
|
}
|
|
6322
6322
|
}
|
|
6323
|
-
},
|
|
6324
|
-
function
|
|
6325
|
-
return b(), I("div",
|
|
6323
|
+
}, o0 = { class: "selection-group" }, l0 = { class: "form-group" }, u0 = ["id", "checked", "name", "value"];
|
|
6324
|
+
function d0(n, a, s, h, f, d) {
|
|
6325
|
+
return b(), I("div", o0, [
|
|
6326
6326
|
(b(!0), I(ge, null, Ie(n.schema.values, (y, p) => (b(), I("div", {
|
|
6327
6327
|
key: p,
|
|
6328
6328
|
class: "option-group"
|
|
6329
6329
|
}, [
|
|
6330
|
-
M("div",
|
|
6330
|
+
M("div", l0, [
|
|
6331
6331
|
M("label", {
|
|
6332
6332
|
class: ue(["k-label", y.name])
|
|
6333
6333
|
}, [
|
|
@@ -6339,14 +6339,14 @@ function d_(n, a, s, h, f, d) {
|
|
|
6339
6339
|
type: "radio",
|
|
6340
6340
|
value: y.value,
|
|
6341
6341
|
onChange: a[0] || (a[0] = (...E) => d.onChange && d.onChange(...E))
|
|
6342
|
-
}, null, 40,
|
|
6342
|
+
}, null, 40, u0),
|
|
6343
6343
|
Ke(" " + ee(y.name), 1)
|
|
6344
6344
|
], 2)
|
|
6345
6345
|
])
|
|
6346
6346
|
]))), 128))
|
|
6347
6347
|
]);
|
|
6348
6348
|
}
|
|
6349
|
-
const Bl = /* @__PURE__ */ K(
|
|
6349
|
+
const Bl = /* @__PURE__ */ K(a0, [["render", d0], ["__scopeId", "data-v-7e49acd6"]]), c0 = {
|
|
6350
6350
|
name: "FieldArray",
|
|
6351
6351
|
components: {
|
|
6352
6352
|
FieldArrayItem: Ul,
|
|
@@ -6399,8 +6399,8 @@ const Bl = /* @__PURE__ */ K(a_, [["render", d_], ["__scopeId", "data-v-7e49acd6
|
|
|
6399
6399
|
modelUpdated() {
|
|
6400
6400
|
}
|
|
6401
6401
|
}
|
|
6402
|
-
},
|
|
6403
|
-
function
|
|
6402
|
+
}, f0 = ["id"], h0 = { key: 1 }, m0 = ["onUpdate:modelValue", "type"], p0 = ["value", "onClick"], g0 = ["onUpdate:modelValue"], v0 = ["value", "onClick"];
|
|
6403
|
+
function y0(n, a, s, h, f, d) {
|
|
6404
6404
|
const y = j("FieldTextArea"), p = j("KButton");
|
|
6405
6405
|
return n.schema ? (b(), I("div", {
|
|
6406
6406
|
key: 0,
|
|
@@ -6426,7 +6426,7 @@ function y_(n, a, s, h, f, d) {
|
|
|
6426
6426
|
}, null, 40, ["form-options", "model", "schema", "onModelUpdated"]))
|
|
6427
6427
|
]),
|
|
6428
6428
|
_: 2
|
|
6429
|
-
}, 1064, ["model", "schema", "onRemoveItem"])) : n.schema.items ? (b(), I("span",
|
|
6429
|
+
}, 1064, ["model", "schema", "onRemoveItem"])) : n.schema.items ? (b(), I("span", h0, [
|
|
6430
6430
|
(b(), ae(nn(d.getFieldType(n.schema.items)), {
|
|
6431
6431
|
"form-options": n.formOptions,
|
|
6432
6432
|
model: E,
|
|
@@ -6455,28 +6455,28 @@ function y_(n, a, s, h, f, d) {
|
|
|
6455
6455
|
"onUpdate:modelValue": (oe) => n.value[F] = oe
|
|
6456
6456
|
}, n.schema.inputAttributes, {
|
|
6457
6457
|
type: ((de = n.schema.inputAttributes) == null ? void 0 : de.type) || "text"
|
|
6458
|
-
}), null, 16,
|
|
6458
|
+
}), null, 16, m0)), [
|
|
6459
6459
|
[Bg, n.value[F]]
|
|
6460
6460
|
]),
|
|
6461
6461
|
n.schema.showRemoveButton ? (b(), I("input", Zn({ key: 2 }, n.schema.removeElementButtonAttributes, {
|
|
6462
6462
|
type: "button",
|
|
6463
6463
|
value: n.schema.removeElementButtonLabel || s.removeElementButtonLabel,
|
|
6464
6464
|
onClick: (oe) => d.removeElement(F)
|
|
6465
|
-
}), null, 16,
|
|
6465
|
+
}), null, 16, p0)) : B("", !0)
|
|
6466
6466
|
];
|
|
6467
6467
|
}),
|
|
6468
6468
|
_: 2
|
|
6469
6469
|
}, 1064, ["data-testid", "model", "schema", "onRemoveItem"])) : J((b(), I("input", Zn({ key: 3 }, n.schema.inputAttributes, {
|
|
6470
6470
|
"onUpdate:modelValue": (D) => n.value[F] = D,
|
|
6471
6471
|
type: "text"
|
|
6472
|
-
}), null, 16,
|
|
6472
|
+
}), null, 16, g0)), [
|
|
6473
6473
|
[lt, n.value[F]]
|
|
6474
6474
|
]),
|
|
6475
6475
|
n.schema.showRemoveButton ? (b(), I("input", Zn({ key: 4 }, n.schema.removeElementButtonAttributes, {
|
|
6476
6476
|
type: "button",
|
|
6477
6477
|
value: n.schema.removeElementButtonLabel || s.removeElementButtonLabel,
|
|
6478
6478
|
onClick: (D) => d.removeElement(F)
|
|
6479
|
-
}), null, 16,
|
|
6479
|
+
}), null, 16, v0)) : B("", !0)
|
|
6480
6480
|
], 2))), 128)),
|
|
6481
6481
|
Q(p, {
|
|
6482
6482
|
appearance: "tertiary",
|
|
@@ -6490,9 +6490,9 @@ function y_(n, a, s, h, f, d) {
|
|
|
6490
6490
|
]),
|
|
6491
6491
|
_: 1
|
|
6492
6492
|
}, 8, ["class", "data-testid", "onClick"])
|
|
6493
|
-
], 10,
|
|
6493
|
+
], 10, f0)) : B("", !0);
|
|
6494
6494
|
}
|
|
6495
|
-
const
|
|
6495
|
+
const _0 = /* @__PURE__ */ K(c0, [["render", y0], ["__scopeId", "data-v-1731cb2f"]]), b0 = {
|
|
6496
6496
|
mixins: [te],
|
|
6497
6497
|
emits: ["model-updated"],
|
|
6498
6498
|
data() {
|
|
@@ -6519,19 +6519,19 @@ const __ = /* @__PURE__ */ K(c_, [["render", y_], ["__scopeId", "data-v-1731cb2f
|
|
|
6519
6519
|
this.$emit("model-updated", n, a);
|
|
6520
6520
|
}
|
|
6521
6521
|
}
|
|
6522
|
-
},
|
|
6522
|
+
}, w0 = {
|
|
6523
6523
|
class: "advanced-field-dropdown-wrapper",
|
|
6524
6524
|
"data-testid": "advanced-field-dropdown-wrapper"
|
|
6525
|
-
},
|
|
6526
|
-
function
|
|
6525
|
+
}, S0 = { class: "material-icons" };
|
|
6526
|
+
function C0(n, a, s, h, f, d) {
|
|
6527
6527
|
const y = j("vue-form-generator");
|
|
6528
|
-
return b(), I("div",
|
|
6528
|
+
return b(), I("div", w0, [
|
|
6529
6529
|
M("button", {
|
|
6530
6530
|
class: "advanced-field-title",
|
|
6531
6531
|
type: "button",
|
|
6532
6532
|
onClick: a[0] || (a[0] = (...p) => d.handleOpen && d.handleOpen(...p))
|
|
6533
6533
|
}, [
|
|
6534
|
-
M("i",
|
|
6534
|
+
M("i", S0, ee(f.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
|
|
6535
6535
|
M("span", null, ee(d.titleText), 1)
|
|
6536
6536
|
]),
|
|
6537
6537
|
M("div", {
|
|
@@ -6546,7 +6546,7 @@ function C_(n, a, s, h, f, d) {
|
|
|
6546
6546
|
], 2)
|
|
6547
6547
|
]);
|
|
6548
6548
|
}
|
|
6549
|
-
const
|
|
6549
|
+
const T0 = /* @__PURE__ */ K(b0, [["render", C0], ["__scopeId", "data-v-2d8e71e1"]]), I0 = {
|
|
6550
6550
|
mixins: [te],
|
|
6551
6551
|
emits: ["model-updated"],
|
|
6552
6552
|
data() {
|
|
@@ -6581,15 +6581,15 @@ const T_ = /* @__PURE__ */ K(b_, [["render", C_], ["__scopeId", "data-v-2d8e71e1
|
|
|
6581
6581
|
this.$emit("model-updated", n, a);
|
|
6582
6582
|
}
|
|
6583
6583
|
}
|
|
6584
|
-
},
|
|
6585
|
-
function
|
|
6584
|
+
}, A0 = { class: "selection-group" }, M0 = { class: "form-group" }, E0 = ["value"], F0 = { class: "control-help" }, $0 = { class: "option-field" }, O0 = { class: "option-field-container" };
|
|
6585
|
+
function k0(n, a, s, h, f, d) {
|
|
6586
6586
|
const y = j("vue-form-generator");
|
|
6587
|
-
return b(), I("div",
|
|
6587
|
+
return b(), I("div", A0, [
|
|
6588
6588
|
(b(!0), I(ge, null, Ie(n.schema.fields, (p, E) => (b(), I("div", {
|
|
6589
6589
|
key: E,
|
|
6590
6590
|
class: "option-group"
|
|
6591
6591
|
}, [
|
|
6592
|
-
M("div",
|
|
6592
|
+
M("div", M0, [
|
|
6593
6593
|
M("label", {
|
|
6594
6594
|
class: ue(["k-label", `${p.label}-check`])
|
|
6595
6595
|
}, [
|
|
@@ -6598,15 +6598,15 @@ function k_(n, a, s, h, f, d) {
|
|
|
6598
6598
|
class: "k-input",
|
|
6599
6599
|
type: "radio",
|
|
6600
6600
|
value: E
|
|
6601
|
-
}, null, 8,
|
|
6601
|
+
}, null, 8, E0), [
|
|
6602
6602
|
[Pg, f.checkedGroup]
|
|
6603
6603
|
]),
|
|
6604
6604
|
Ke(" " + ee(p.label) + " ", 1),
|
|
6605
|
-
M("div",
|
|
6605
|
+
M("div", F0, ee(p.description), 1)
|
|
6606
6606
|
], 2)
|
|
6607
6607
|
]),
|
|
6608
|
-
J(M("div", $
|
|
6609
|
-
M("div",
|
|
6608
|
+
J(M("div", $0, [
|
|
6609
|
+
M("div", O0, [
|
|
6610
6610
|
Q(y, {
|
|
6611
6611
|
model: n.model,
|
|
6612
6612
|
options: { helpAsHtml: !0 },
|
|
@@ -6620,7 +6620,7 @@ function k_(n, a, s, h, f, d) {
|
|
|
6620
6620
|
]))), 128))
|
|
6621
6621
|
]);
|
|
6622
6622
|
}
|
|
6623
|
-
const
|
|
6623
|
+
const L0 = /* @__PURE__ */ K(I0, [["render", k0], ["__scopeId", "data-v-25fe24da"]]), U0 = {
|
|
6624
6624
|
mixins: [te],
|
|
6625
6625
|
emits: ["model-updated"],
|
|
6626
6626
|
methods: {
|
|
@@ -6629,7 +6629,7 @@ const L_ = /* @__PURE__ */ K(I_, [["render", k_], ["__scopeId", "data-v-25fe24da
|
|
|
6629
6629
|
}
|
|
6630
6630
|
}
|
|
6631
6631
|
};
|
|
6632
|
-
function
|
|
6632
|
+
function R0(n, a, s, h, f, d) {
|
|
6633
6633
|
const y = j("KMultiselect");
|
|
6634
6634
|
return b(), ae(y, {
|
|
6635
6635
|
"collapsed-context": "",
|
|
@@ -6643,7 +6643,7 @@ function R_(n, a, s, h, f, d) {
|
|
|
6643
6643
|
"onUpdate:modelValue": d.onUpdate
|
|
6644
6644
|
}, null, 8, ["items", "label-attributes", "model-value", "placeholder", "required", "onUpdate:modelValue"]);
|
|
6645
6645
|
}
|
|
6646
|
-
const
|
|
6646
|
+
const D0 = /* @__PURE__ */ K(U0, [["render", R0]]), N0 = {
|
|
6647
6647
|
name: "FieldKeyValuePairs",
|
|
6648
6648
|
components: { TrashIcon: Qi },
|
|
6649
6649
|
mixins: [te],
|
|
@@ -6691,10 +6691,10 @@ const D_ = /* @__PURE__ */ K(U_, [["render", R_]]), N_ = {
|
|
|
6691
6691
|
this.pairs.splice(n, 1);
|
|
6692
6692
|
}
|
|
6693
6693
|
}
|
|
6694
|
-
},
|
|
6695
|
-
function
|
|
6694
|
+
}, x0 = { class: "key-value-pairs-editor" }, B0 = ["data-testid", "placeholder", "value", "onInput"], P0 = ["data-testid", "placeholder", "value", "onInput"];
|
|
6695
|
+
function V0(n, a, s, h, f, d) {
|
|
6696
6696
|
const y = j("TrashIcon"), p = j("KButton");
|
|
6697
|
-
return b(), I("div",
|
|
6697
|
+
return b(), I("div", x0, [
|
|
6698
6698
|
(b(!0), I(ge, null, Ie(f.pairs, (E, F) => (b(), I("div", {
|
|
6699
6699
|
key: F,
|
|
6700
6700
|
class: "pair-item"
|
|
@@ -6708,7 +6708,7 @@ function V_(n, a, s, h, f, d) {
|
|
|
6708
6708
|
onInput: (D) => {
|
|
6709
6709
|
d.onInput(D, F, "key");
|
|
6710
6710
|
}
|
|
6711
|
-
}, null, 40,
|
|
6711
|
+
}, null, 40, B0),
|
|
6712
6712
|
M("input", {
|
|
6713
6713
|
class: "form-control",
|
|
6714
6714
|
"data-testid": `${n.getFieldID(n.schema)}-pair-value-${F}`,
|
|
@@ -6718,7 +6718,7 @@ function V_(n, a, s, h, f, d) {
|
|
|
6718
6718
|
onInput: (D) => {
|
|
6719
6719
|
d.onInput(D, F, "value");
|
|
6720
6720
|
}
|
|
6721
|
-
}, null, 40,
|
|
6721
|
+
}, null, 40, P0),
|
|
6722
6722
|
Q(p, {
|
|
6723
6723
|
appearance: "tertiary",
|
|
6724
6724
|
"data-testid": `${n.getFieldID(n.schema)}-remove-pair-${F}`,
|
|
@@ -6746,10 +6746,10 @@ function V_(n, a, s, h, f, d) {
|
|
|
6746
6746
|
}, 8, ["class", "data-testid", "onClick"])
|
|
6747
6747
|
]);
|
|
6748
6748
|
}
|
|
6749
|
-
const
|
|
6749
|
+
const q0 = /* @__PURE__ */ K(N0, [["render", V0], ["__scopeId", "data-v-29d15375"]]), H0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6750
6750
|
__proto__: null,
|
|
6751
|
-
FieldAdvanced:
|
|
6752
|
-
FieldArray:
|
|
6751
|
+
FieldAdvanced: T0,
|
|
6752
|
+
FieldArray: _0,
|
|
6753
6753
|
FieldArrayCardContainer: xl,
|
|
6754
6754
|
FieldArrayItem: Ul,
|
|
6755
6755
|
FieldArrayMultiItem: Rl,
|
|
@@ -6761,11 +6761,11 @@ const q_ = /* @__PURE__ */ K(N_, [["render", V_], ["__scopeId", "data-v-29d15375
|
|
|
6761
6761
|
FieldGoogleAddress: sy,
|
|
6762
6762
|
FieldImage: cy,
|
|
6763
6763
|
FieldInput: Al,
|
|
6764
|
-
FieldKeyValuePairs:
|
|
6764
|
+
FieldKeyValuePairs: q0,
|
|
6765
6765
|
FieldLabel: wv,
|
|
6766
6766
|
FieldMasked: py,
|
|
6767
6767
|
FieldMetric: Dl,
|
|
6768
|
-
FieldMultiselect:
|
|
6768
|
+
FieldMultiselect: D0,
|
|
6769
6769
|
FieldNoUiSlider: _y,
|
|
6770
6770
|
FieldObject: $l,
|
|
6771
6771
|
FieldObjectAdvanced: kl,
|
|
@@ -6775,16 +6775,16 @@ const q_ = /* @__PURE__ */ K(N_, [["render", V_], ["__scopeId", "data-v-29d15375
|
|
|
6775
6775
|
FieldRangeSlider: Ey,
|
|
6776
6776
|
FieldSelect: Ml,
|
|
6777
6777
|
FieldSelectEx: Uy,
|
|
6778
|
-
FieldSelectionGroup:
|
|
6778
|
+
FieldSelectionGroup: L0,
|
|
6779
6779
|
FieldSpectrum: xy,
|
|
6780
6780
|
FieldStaticMap: qy,
|
|
6781
6781
|
FieldSubmit: Nv,
|
|
6782
6782
|
FieldTextArea: El,
|
|
6783
6783
|
FieldUpload: Kv,
|
|
6784
6784
|
fieldSwitch: Gy
|
|
6785
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6785
|
+
}, Symbol.toStringTag, { value: "Module" })), W0 = {
|
|
6786
6786
|
name: "FormGroup",
|
|
6787
|
-
components:
|
|
6787
|
+
components: H0,
|
|
6788
6788
|
mixins: [yl],
|
|
6789
6789
|
props: {
|
|
6790
6790
|
vfg: {
|
|
@@ -6877,16 +6877,16 @@ const q_ = /* @__PURE__ */ K(N_, [["render", V_], ["__scopeId", "data-v-29d15375
|
|
|
6877
6877
|
return n ? n.replace(/^[cC]onfig\./, "") : "";
|
|
6878
6878
|
}
|
|
6879
6879
|
}
|
|
6880
|
-
}, Pl = (n) => (an("data-v-bee61052"), n = n(), on(), n),
|
|
6880
|
+
}, Pl = (n) => (an("data-v-bee61052"), n = n(), on(), n), K0 = ["for"], Y0 = { class: "icon-wrapper" }, z0 = ["innerHTML"], G0 = /* @__PURE__ */ Pl(() => /* @__PURE__ */ M("div", {
|
|
6881
6881
|
class: "help",
|
|
6882
6882
|
role: "button",
|
|
6883
6883
|
tabindex: "0"
|
|
6884
6884
|
}, [
|
|
6885
6885
|
/* @__PURE__ */ M("i", { class: "icon" })
|
|
6886
|
-
], -1)),
|
|
6886
|
+
], -1)), Z0 = ["innerHTML"], J0 = {
|
|
6887
6887
|
key: 0,
|
|
6888
6888
|
class: "link-wrapper"
|
|
6889
|
-
},
|
|
6889
|
+
}, X0 = /* @__PURE__ */ Pl(() => /* @__PURE__ */ M("span", { class: "section-header" }, "More info", -1)), Q0 = { class: "field-wrap" }, j0 = {
|
|
6890
6890
|
key: 0,
|
|
6891
6891
|
class: "buttons"
|
|
6892
6892
|
}, e1 = ["type", "onClick", "textContent"], t1 = ["innerHTML"], n1 = {
|
|
@@ -6903,10 +6903,10 @@ function r1(n, a, s, h, f, d) {
|
|
|
6903
6903
|
class: ue(["form-group-label", s.field.labelClasses]),
|
|
6904
6904
|
for: d.getFieldID(s.field)
|
|
6905
6905
|
}, [
|
|
6906
|
-
M("div",
|
|
6906
|
+
M("div", Y0, [
|
|
6907
6907
|
M("span", {
|
|
6908
6908
|
innerHTML: d.formattedLabel(s.field.label)
|
|
6909
|
-
}, null, 8,
|
|
6909
|
+
}, null, 8, z0),
|
|
6910
6910
|
s.field.help ? (b(), ae(y, {
|
|
6911
6911
|
key: 0,
|
|
6912
6912
|
"max-width": "300",
|
|
@@ -6917,28 +6917,28 @@ function r1(n, a, s, h, f, d) {
|
|
|
6917
6917
|
s.options.helpAsHtml ? (b(), I("div", {
|
|
6918
6918
|
key: 0,
|
|
6919
6919
|
innerHTML: s.field.help
|
|
6920
|
-
}, null, 8,
|
|
6920
|
+
}, null, 8, Z0)) : (b(), I(ge, { key: 1 }, [
|
|
6921
6921
|
Ke(ee(s.field.help), 1)
|
|
6922
6922
|
], 64))
|
|
6923
6923
|
]),
|
|
6924
6924
|
default: ie(() => [
|
|
6925
|
-
|
|
6925
|
+
G0
|
|
6926
6926
|
]),
|
|
6927
6927
|
_: 1
|
|
6928
6928
|
})) : B("", !0)
|
|
6929
6929
|
]),
|
|
6930
|
-
s.field.link ? (b(), I("div",
|
|
6930
|
+
s.field.link ? (b(), I("div", J0, [
|
|
6931
6931
|
Q(p, {
|
|
6932
6932
|
href: s.field.link
|
|
6933
6933
|
}, {
|
|
6934
6934
|
default: ie(() => [
|
|
6935
|
-
|
|
6935
|
+
X0
|
|
6936
6936
|
]),
|
|
6937
6937
|
_: 1
|
|
6938
6938
|
}, 8, ["href"])
|
|
6939
6939
|
])) : B("", !0)
|
|
6940
|
-
], 10,
|
|
6941
|
-
M("div",
|
|
6940
|
+
], 10, K0)) : B("", !0),
|
|
6941
|
+
M("div", Q0, [
|
|
6942
6942
|
(b(), ae(nn(d.getFieldType(s.field)), Zn(n.$attrs, {
|
|
6943
6943
|
ref: "child",
|
|
6944
6944
|
disabled: n.fieldDisabled(s.field) || null,
|
|
@@ -6949,7 +6949,7 @@ function r1(n, a, s, h, f, d) {
|
|
|
6949
6949
|
onModelUpdated: d.onModelUpdated,
|
|
6950
6950
|
onValidated: d.onFieldValidated
|
|
6951
6951
|
}), null, 16, ["disabled", "form-options", "model", "schema", "vfg", "onModelUpdated", "onValidated"])),
|
|
6952
|
-
d.buttonVisibility(s.field) ? (b(), I("div",
|
|
6952
|
+
d.buttonVisibility(s.field) ? (b(), I("div", j0, [
|
|
6953
6953
|
(b(!0), I(ge, null, Ie(s.field.buttons, (E, F) => (b(), I("button", {
|
|
6954
6954
|
key: F,
|
|
6955
6955
|
class: ue(E.classes),
|
|
@@ -6972,7 +6972,7 @@ function r1(n, a, s, h, f, d) {
|
|
|
6972
6972
|
])) : B("", !0)
|
|
6973
6973
|
], 2);
|
|
6974
6974
|
}
|
|
6975
|
-
const s1 = /* @__PURE__ */ K(
|
|
6975
|
+
const s1 = /* @__PURE__ */ K(W0, [["render", r1], ["__scopeId", "data-v-bee61052"]]), a1 = {
|
|
6976
6976
|
key: 0,
|
|
6977
6977
|
class: "vue-form-generator"
|
|
6978
6978
|
}, o1 = ["is"], l1 = ["is"], u1 = { key: 0 };
|