toku-form-extensions 0.0.0 → 0.0.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/index.es.js +7 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/entities.d.ts +0 -1
- package/dist/types/entities.d.ts.map +1 -1
- package/package.json +5 -1
package/dist/index.es.js
CHANGED
|
@@ -20175,11 +20175,12 @@ const mB = vB.exports, gB = /* @__PURE__ */ St({
|
|
|
20175
20175
|
var _B = function() {
|
|
20176
20176
|
var t = this, n = t._self._c, i = t._self._setupProxy;
|
|
20177
20177
|
return n("div", { staticClass: "form" }, [n(i.TTypography, { attrs: { variant: "s2", "font-weight": "medium" } }, [t._v(" " + t._s(t.title) + " ")]), n("div", { staticClass: "form__base" }, [t._l(i.fieldsToShow, function(s) {
|
|
20178
|
-
|
|
20179
|
-
|
|
20180
|
-
|
|
20181
|
-
|
|
20182
|
-
|
|
20178
|
+
var u, c;
|
|
20179
|
+
return [t.fieldsType === "invoice" && s.isAccount ? n(i.TSelect, { key: s.id || s.name, attrs: { placeholder: s.placeholder, label: s.label, value: (u = s.value) == null ? void 0 : u.toString(), "helper-text": s.helperText }, on: { input: (f) => i.handleInput(s.id || s.id || s.name, f) } }, t._l(t.accounts, function({ id: f, name: p }) {
|
|
20180
|
+
return n("option", { key: f, domProps: { value: f } }, [t._v(" " + t._s(p) + " ")]);
|
|
20181
|
+
}), 0) : s.defaultOptions !== void 0 ? n(i.TSelect, { key: s.id || s.name, attrs: { placeholder: s.placeholder, label: s.label, value: (c = s.value) == null ? void 0 : c.toString(), "helper-text": s.helperText }, on: { input: (f) => i.handleInput(s.id || s.name, f) } }, t._l(s.defaultOptions, function(f) {
|
|
20182
|
+
return n("option", { key: f.toString(), domProps: { value: f.toString() } }, [t._v(" " + t._s(f) + " ")]);
|
|
20183
|
+
}), 0) : n(i.SignupFieldComponent, { key: s.name, attrs: { id: s.id || s.name, value: i.getFieldValue(s), type: s.type, label: s.label, placeholder: s.placeholder, decimals: s.decimals, "helper-text": s.helperText, "left-icon": i.retrocompatibleIcon(s.leftIcon), required: s.required, regex: s.regex, "display-info": s.displayInfo, "right-icon": i.isFieldSearchable(s) ? "ph:magnifying-glass" : void 0 }, on: { input: (f) => i.handleInput(s.id || s.name, f), "right-icon-click": function(f) {
|
|
20183
20184
|
i.isFieldSearchable(s) && i.handleRightIconClick();
|
|
20184
20185
|
} } })];
|
|
20185
20186
|
})], 2)], 1);
|
|
@@ -20189,7 +20190,7 @@ var _B = function() {
|
|
|
20189
20190
|
bB,
|
|
20190
20191
|
!1,
|
|
20191
20192
|
null,
|
|
20192
|
-
"
|
|
20193
|
+
"e9612c9c",
|
|
20193
20194
|
null,
|
|
20194
20195
|
null
|
|
20195
20196
|
);
|