toku-form-extensions 0.0.2 → 0.0.4

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.
@@ -1 +1 @@
1
- {"version":3,"file":"CustomForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CustomForm/CustomForm"],"names":[],"mappings":"AAsDA;AAOA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAOzD,OAAO,sBAAsB,CAAC;AAI9B,UAAU,iBAAiB;IACzB,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,CAAC;IACxD,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,CAAC;IAC1D,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,CAAC;IAC9D,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,CAAC;IACzD,SAAS,EAAE,OAAO,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GACR,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,CAAC;CAC5C;AAED,KAAK,gBAAgB,GAAG,SAAS,GAAG,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgZ5C,wBAAkD"}
1
+ {"version":3,"file":"CustomForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CustomForm/CustomForm"],"names":[],"mappings":"AAsDA;AAOA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAOzD,OAAO,sBAAsB,CAAC;AAI9B,UAAU,iBAAiB;IACzB,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,CAAC;IACxD,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,CAAC;IAC1D,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,CAAC;IAC9D,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,CAAC;IACzD,SAAS,EAAE,OAAO,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GACR,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,CAAC;CAC5C;AAED,KAAK,gBAAgB,GAAG,SAAS,GAAG,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8Y5C,wBAAkD"}
@@ -1 +1 @@
1
- {"version":3,"file":"SignupFields.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CustomForm/SignupFields"],"names":[],"mappings":"AAiEA;AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmP3C,wBAAkD"}
1
+ {"version":3,"file":"SignupFields.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CustomForm/SignupFields"],"names":[],"mappings":"AAmEA;AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqP3C,wBAAkD"}
package/dist/index.es.js CHANGED
@@ -20178,9 +20178,9 @@ var yB = function() {
20178
20178
  var t = this, n = t._self._c, i = t._self._setupProxy;
20179
20179
  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) {
20180
20180
  var u, c;
20181
- 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 }) {
20181
+ return [t.fieldsType === "invoice" && s.isAccount ? n(i.TSelect, { key: s.id || s.name, staticClass: "t-select", 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 }) {
20182
20182
  return n("option", { key: f, domProps: { value: f } }, [t._v(" " + t._s(p) + " ")]);
20183
- }), 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) {
20183
+ }), 0) : s.defaultOptions !== void 0 ? n(i.TSelect, { key: s.id || s.name, staticClass: "t-select", 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) {
20184
20184
  return n("option", { key: f.toString(), domProps: { value: f.toString() } }, [t._v(" " + t._s(f) + " ")]);
20185
20185
  }), 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) {
20186
20186
  i.isFieldSearchable(s) && i.handleRightIconClick();
@@ -20192,7 +20192,7 @@ var yB = function() {
20192
20192
  wB,
20193
20193
  !1,
20194
20194
  null,
20195
- "e9612c9c",
20195
+ "78b11c27",
20196
20196
  null,
20197
20197
  null
20198
20198
  );
@@ -20321,14 +20321,14 @@ var FB = function() {
20321
20321
  return i.emit("reset");
20322
20322
  } } }) : n("div", [n("div", { staticClass: "fields" }, [n(i.SignupFields, { attrs: { fields: i.customerFields, "fields-type": "customer", title: t.customerFieldsTitle, autocomplete: i.isAutocompleteEnabled, accounts: t.accounts }, on: { input: (u) => i.handleInput(i.customerFields, u), search: i.handleSearch } }), n(i.SignupFields, { attrs: { fields: i.invoiceFields, "fields-type": "invoice", title: t.invoiceFieldsTitle, accounts: t.accounts }, on: { input: (u) => i.handleInput(i.invoiceFields, u) } })], 1), n("div", [(s = t.organization) != null && s.subscription_payment_methods ? t._e() : n("b-checkbox", { attrs: { id: "send_email" }, model: { value: i.sendEmail, callback: function(u) {
20323
20323
  i.sendEmail = u;
20324
- }, expression: "sendEmail" } }, [t._v(" " + t._s(t.sendByEmailText) + " ")])], 1), n("div", [n(i.TButton, { class: { "is-loading": i.isLoading }, attrs: { disabled: t.disableSubmit, size: "medium" }, on: { click: i.submitForm } }, [t._v(" " + t._s(t.buttonLabel) + " ")])], 1)])], 1)], 1);
20324
+ }, expression: "sendEmail" } }, [t._v(" " + t._s(t.sendByEmailText) + " ")])], 1), n("div", [n(i.TButton, { attrs: { disabled: t.disableSubmit, size: "medium", loading: i.isLoading }, on: { click: i.submitForm } }, [t._v(" " + t._s(t.buttonLabel) + " ")])], 1)])], 1)], 1);
20325
20325
  }, MB = [], TB = /* @__PURE__ */ Ta(
20326
20326
  AB,
20327
20327
  FB,
20328
20328
  MB,
20329
20329
  !1,
20330
20330
  null,
20331
- "10f87459",
20331
+ "535a7b36",
20332
20332
  null,
20333
20333
  null
20334
20334
  );