@fewangsit/wangsvue-fats 1.0.1-alpha.20 → 1.0.1-alpha.21

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.
@@ -6951,7 +6951,8 @@ const hT = {
6951
6951
  asideRightExpandedButtonLabel: "Tutup <"
6952
6952
  },
6953
6953
  InputPhoneNumber: {
6954
- defaultPlaceholder: "Masukkan nomor telepon"
6954
+ defaultPlaceholder: "Masukkan nomor telepon",
6955
+ emptyInvalidText: "{label} harus diisi"
6955
6956
  },
6956
6957
  InputNumber: {
6957
6958
  defaultPlaceholder: "Tulis {label}",
@@ -49503,7 +49504,17 @@ const CY = {
49503
49504
  )
49504
49505
  ), n.value != null && k(n.value), n.modelValue != null && k(n.modelValue);
49505
49506
  });
49506
- const { locale: r } = Zt("InputPhoneNumber"), o = gt("preset", {}).inputphonenumber, s = oe(!1), a = K(() => n.invalid || !!h.errorMessage), l = navigator.userAgent.includes("Chrome"), u = (w) => n.invalid && n.validatorMessage ? n.validatorMessage : w == null && n.mandatory ? n.validatorMessage ?? `${n.label} harus diisi.` : !0, c = oe(), d = oe(), f = oe(), p = oe(0), h = hn({ value: null }), m = async () => {
49507
+ const { locale: r } = Zt("InputPhoneNumber"), o = gt("preset", {}).inputphonenumber, s = oe(!1), a = K(() => n.invalid || !!h.errorMessage), l = navigator.userAgent.includes("Chrome"), u = (w) => {
49508
+ var y;
49509
+ if (n.invalid && typeof n.validatorMessage == "string")
49510
+ return n.validatorMessage;
49511
+ if (typeof n.validatorMessage != "string") {
49512
+ const { empty: C } = n.validatorMessage ?? {};
49513
+ if (w == null && n.mandatory)
49514
+ return C ?? ((y = r.emptyInvalidText) == null ? void 0 : y.replace("{label}", n.label));
49515
+ }
49516
+ return !0;
49517
+ }, c = oe(), d = oe(), f = oe(), p = oe(0), h = hn({ value: null }), m = async () => {
49507
49518
  const { data: w } = await FC.get(
49508
49519
  "https://assets.tagsamurai.com/json/country-dial-code.json"
49509
49520
  );
@@ -57803,7 +57814,8 @@ const vA = /* @__PURE__ */ Iu(Yee), yA = "data:image/png;base64,iVBORw0KGgoAAAAN
57803
57814
  asideRightExpandedButtonLabel: "Close <"
57804
57815
  },
57805
57816
  InputPhoneNumber: {
57806
- defaultPlaceholder: "Enter phone number"
57817
+ defaultPlaceholder: "Enter phone number",
57818
+ emptyInvalidText: "{label} must not be empty"
57807
57819
  },
57808
57820
  InputNumber: {
57809
57821
  defaultPlaceholder: "Enter {label}",