@fctc/sme-widget-ui 2.3.4 → 2.3.6

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/utils.js CHANGED
@@ -6855,7 +6855,16 @@ var vi_default = {
6855
6855
  "no-available": "Kh\xF4ng c\xF3 l\u1EF1a ch\u1ECDn n\xE0o",
6856
6856
  paid_amount: "S\u1ED1 ti\u1EC1n \u0111\xE3 \u0111\xF3ng",
6857
6857
  remanining_amount: "S\u1ED1 ti\u1EC1n c\xF2n l\u1EA1i",
6858
- only_image_accept: "Ch\u1EC9 \u0111\u01B0\u1EE3c upload file h\xECnh \u1EA3nh"
6858
+ only_image_accept: "Ch\u1EC9 \u0111\u01B0\u1EE3c upload file h\xECnh \u1EA3nh",
6859
+ "text-only": "Ch\u1EC9 \u0111\u01B0\u1EE3c nh\u1EADp ch\u1EEF (kh\xF4ng ch\u1EE9a s\u1ED1 v\xE0 k\xFD t\u1EF1 \u0111\u1EB7c bi\u1EC7t)",
6860
+ "number-only": "Ch\u1EC9 \u0111\u01B0\u1EE3c nh\u1EADp s\u1ED1 (kh\xF4ng ch\u1EE9a ch\u1EEF v\xE0 k\xFD t\u1EF1 \u0111\u1EB7c bi\u1EC7t)",
6861
+ "email-only": "Email kh\xF4ng h\u1EE3p l\u1EC7",
6862
+ "phone-only": "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i kh\xF4ng h\u1EE3p l\u1EC7",
6863
+ message: "M\u1EADt kh\u1EA9u ph\u1EA3i c\xF3 t\u1EEB {{min}} \u0111\u1EBFn {{max}} k\xFD t\u1EF1",
6864
+ "message-text-error": " kh\xF4ng \u0111\u01B0\u1EE3c v\u01B0\u1EE3t qu\xE1 {{max}} k\xFD t\u1EF1",
6865
+ upcase: ", {{count}} ch\u1EEF in hoa",
6866
+ digit: ", {{count}} s\u1ED1",
6867
+ special: ", {{count}} k\xFD t\u1EF1 \u0111\u1EB7c bi\u1EC7t"
6859
6868
  };
6860
6869
 
6861
6870
  // src/locales/en.json
@@ -6905,7 +6914,16 @@ var en_default = {
6905
6914
  "no-available": "No options available",
6906
6915
  paid_amount: "Amount Paid",
6907
6916
  remanining_amount: "Amount Remaining",
6908
- only_image_accept: "Only accept image"
6917
+ only_image_accept: "Only accept image",
6918
+ "text-only": "Only letters (no numbers or special characters)",
6919
+ "number-only": "Only enter numbers (no letters or special characters)",
6920
+ "email-only": "Invalid email address",
6921
+ "phone-only": "Invalid phone number",
6922
+ message: "Password must be between {{min}} and {{max}} characters",
6923
+ "message-text-error": " must not exceed {{max}} characters",
6924
+ upcase: ", {{count}} uppercase letter",
6925
+ digit: ", {{count}} digit",
6926
+ special: ", {{count}} special character"
6909
6927
  };
6910
6928
 
6911
6929
  // src/utils/i18n.ts
package/dist/utils.mjs CHANGED
@@ -6832,7 +6832,16 @@ var vi_default = {
6832
6832
  "no-available": "Kh\xF4ng c\xF3 l\u1EF1a ch\u1ECDn n\xE0o",
6833
6833
  paid_amount: "S\u1ED1 ti\u1EC1n \u0111\xE3 \u0111\xF3ng",
6834
6834
  remanining_amount: "S\u1ED1 ti\u1EC1n c\xF2n l\u1EA1i",
6835
- only_image_accept: "Ch\u1EC9 \u0111\u01B0\u1EE3c upload file h\xECnh \u1EA3nh"
6835
+ only_image_accept: "Ch\u1EC9 \u0111\u01B0\u1EE3c upload file h\xECnh \u1EA3nh",
6836
+ "text-only": "Ch\u1EC9 \u0111\u01B0\u1EE3c nh\u1EADp ch\u1EEF (kh\xF4ng ch\u1EE9a s\u1ED1 v\xE0 k\xFD t\u1EF1 \u0111\u1EB7c bi\u1EC7t)",
6837
+ "number-only": "Ch\u1EC9 \u0111\u01B0\u1EE3c nh\u1EADp s\u1ED1 (kh\xF4ng ch\u1EE9a ch\u1EEF v\xE0 k\xFD t\u1EF1 \u0111\u1EB7c bi\u1EC7t)",
6838
+ "email-only": "Email kh\xF4ng h\u1EE3p l\u1EC7",
6839
+ "phone-only": "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i kh\xF4ng h\u1EE3p l\u1EC7",
6840
+ message: "M\u1EADt kh\u1EA9u ph\u1EA3i c\xF3 t\u1EEB {{min}} \u0111\u1EBFn {{max}} k\xFD t\u1EF1",
6841
+ "message-text-error": " kh\xF4ng \u0111\u01B0\u1EE3c v\u01B0\u1EE3t qu\xE1 {{max}} k\xFD t\u1EF1",
6842
+ upcase: ", {{count}} ch\u1EEF in hoa",
6843
+ digit: ", {{count}} s\u1ED1",
6844
+ special: ", {{count}} k\xFD t\u1EF1 \u0111\u1EB7c bi\u1EC7t"
6836
6845
  };
6837
6846
 
6838
6847
  // src/locales/en.json
@@ -6882,7 +6891,16 @@ var en_default = {
6882
6891
  "no-available": "No options available",
6883
6892
  paid_amount: "Amount Paid",
6884
6893
  remanining_amount: "Amount Remaining",
6885
- only_image_accept: "Only accept image"
6894
+ only_image_accept: "Only accept image",
6895
+ "text-only": "Only letters (no numbers or special characters)",
6896
+ "number-only": "Only enter numbers (no letters or special characters)",
6897
+ "email-only": "Invalid email address",
6898
+ "phone-only": "Invalid phone number",
6899
+ message: "Password must be between {{min}} and {{max}} characters",
6900
+ "message-text-error": " must not exceed {{max}} characters",
6901
+ upcase: ", {{count}} uppercase letter",
6902
+ digit: ", {{count}} digit",
6903
+ special: ", {{count}} special character"
6886
6904
  };
6887
6905
 
6888
6906
  // src/utils/i18n.ts
package/dist/widgets.js CHANGED
@@ -7779,7 +7779,16 @@ var vi_default = {
7779
7779
  "no-available": "Kh\xF4ng c\xF3 l\u1EF1a ch\u1ECDn n\xE0o",
7780
7780
  paid_amount: "S\u1ED1 ti\u1EC1n \u0111\xE3 \u0111\xF3ng",
7781
7781
  remanining_amount: "S\u1ED1 ti\u1EC1n c\xF2n l\u1EA1i",
7782
- only_image_accept: "Ch\u1EC9 \u0111\u01B0\u1EE3c upload file h\xECnh \u1EA3nh"
7782
+ only_image_accept: "Ch\u1EC9 \u0111\u01B0\u1EE3c upload file h\xECnh \u1EA3nh",
7783
+ "text-only": "Ch\u1EC9 \u0111\u01B0\u1EE3c nh\u1EADp ch\u1EEF (kh\xF4ng ch\u1EE9a s\u1ED1 v\xE0 k\xFD t\u1EF1 \u0111\u1EB7c bi\u1EC7t)",
7784
+ "number-only": "Ch\u1EC9 \u0111\u01B0\u1EE3c nh\u1EADp s\u1ED1 (kh\xF4ng ch\u1EE9a ch\u1EEF v\xE0 k\xFD t\u1EF1 \u0111\u1EB7c bi\u1EC7t)",
7785
+ "email-only": "Email kh\xF4ng h\u1EE3p l\u1EC7",
7786
+ "phone-only": "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i kh\xF4ng h\u1EE3p l\u1EC7",
7787
+ message: "M\u1EADt kh\u1EA9u ph\u1EA3i c\xF3 t\u1EEB {{min}} \u0111\u1EBFn {{max}} k\xFD t\u1EF1",
7788
+ "message-text-error": " kh\xF4ng \u0111\u01B0\u1EE3c v\u01B0\u1EE3t qu\xE1 {{max}} k\xFD t\u1EF1",
7789
+ upcase: ", {{count}} ch\u1EEF in hoa",
7790
+ digit: ", {{count}} s\u1ED1",
7791
+ special: ", {{count}} k\xFD t\u1EF1 \u0111\u1EB7c bi\u1EC7t"
7783
7792
  };
7784
7793
 
7785
7794
  // src/locales/en.json
@@ -7829,7 +7838,16 @@ var en_default = {
7829
7838
  "no-available": "No options available",
7830
7839
  paid_amount: "Amount Paid",
7831
7840
  remanining_amount: "Amount Remaining",
7832
- only_image_accept: "Only accept image"
7841
+ only_image_accept: "Only accept image",
7842
+ "text-only": "Only letters (no numbers or special characters)",
7843
+ "number-only": "Only enter numbers (no letters or special characters)",
7844
+ "email-only": "Invalid email address",
7845
+ "phone-only": "Invalid phone number",
7846
+ message: "Password must be between {{min}} and {{max}} characters",
7847
+ "message-text-error": " must not exceed {{max}} characters",
7848
+ upcase: ", {{count}} uppercase letter",
7849
+ digit: ", {{count}} digit",
7850
+ special: ", {{count}} special character"
7833
7851
  };
7834
7852
 
7835
7853
  // src/utils/i18n.ts
@@ -8805,26 +8823,30 @@ var import_jsx_runtime19 = require("react/jsx-runtime");
8805
8823
  var EyeIcon = () => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
8806
8824
  "svg",
8807
8825
  {
8808
- width: "20",
8809
- height: "21",
8810
- viewBox: "0 0 20 21",
8811
- fill: "none",
8812
8826
  xmlns: "http://www.w3.org/2000/svg",
8827
+ width: "16",
8828
+ height: "16",
8829
+ viewBox: "0 0 16 16",
8830
+ fill: "none",
8813
8831
  children: [
8814
8832
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
8815
8833
  "path",
8816
8834
  {
8817
- d: "M2.72904 13.5776C2.02076 12.6574 1.66663 12.1974 1.66663 10.8312C1.66663 9.46507 2.02076 9.00499 2.72904 8.08483C4.14326 6.24752 6.51505 4.16455 9.99996 4.16455C13.4849 4.16455 15.8567 6.24752 17.2709 8.08483C17.9792 9.00499 18.3333 9.46507 18.3333 10.8312C18.3333 12.1974 17.9792 12.6574 17.2709 13.5776C15.8567 15.4149 13.4849 17.4979 9.99996 17.4979C6.51505 17.4979 4.14326 15.4149 2.72904 13.5776Z",
8818
- stroke: "#ABACAE",
8819
- strokeWidth: "1.5"
8835
+ d: "M10.3866 7.99995C10.3866 9.31995 9.31995 10.3866 7.99995 10.3866C6.67995 10.3866 5.61328 9.31995 5.61328 7.99995C5.61328 6.67995 6.67995 5.61328 7.99995 5.61328C9.31995 5.61328 10.3866 6.67995 10.3866 7.99995Z",
8836
+ stroke: "#646566",
8837
+ strokeWidth: "1.5",
8838
+ strokeLinecap: "round",
8839
+ strokeLinejoin: "round"
8820
8840
  }
8821
8841
  ),
8822
8842
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
8823
8843
  "path",
8824
8844
  {
8825
- d: "M12.5 10.8311C12.5 12.2118 11.3807 13.3311 10 13.3311C8.61929 13.3311 7.5 12.2118 7.5 10.8311C7.5 9.45034 8.61929 8.33105 10 8.33105C11.3807 8.33105 12.5 9.45034 12.5 10.8311Z",
8826
- stroke: "#ABACAE",
8827
- strokeWidth: "1.5"
8845
+ d: "M7.9999 13.5138C10.3532 13.5138 12.5466 12.1271 14.0732 9.72714C14.6732 8.78714 14.6732 7.20714 14.0732 6.26714C12.5466 3.86714 10.3532 2.48047 7.9999 2.48047C5.64656 2.48047 3.45323 3.86714 1.92656 6.26714C1.32656 7.20714 1.32656 8.78714 1.92656 9.72714C3.45323 12.1271 5.64656 13.5138 7.9999 13.5138Z",
8846
+ stroke: "#646566",
8847
+ strokeWidth: "1.5",
8848
+ strokeLinecap: "round",
8849
+ strokeLinejoin: "round"
8828
8850
  }
8829
8851
  )
8830
8852
  ]
@@ -16619,7 +16641,7 @@ var import_react41 = require("react");
16619
16641
  // src/icons/eye-hidden-icon.tsx
16620
16642
  var import_jsx_runtime79 = require("react/jsx-runtime");
16621
16643
  var EyeHiddenIcon = () => {
16622
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
16644
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
16623
16645
  "svg",
16624
16646
  {
16625
16647
  xmlns: "http://www.w3.org/2000/svg",
@@ -16627,68 +16649,13 @@ var EyeHiddenIcon = () => {
16627
16649
  height: "16",
16628
16650
  viewBox: "0 0 16 16",
16629
16651
  fill: "none",
16630
- children: [
16631
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
16632
- "path",
16633
- {
16634
- d: "M9.68661 6.31328L6.31328 9.68661C5.87995 9.25328 5.61328 8.65995 5.61328 7.99995C5.61328 6.67995 6.67995 5.61328 7.99995 5.61328C8.65995 5.61328 9.25328 5.87995 9.68661 6.31328Z",
16635
- stroke: "#576071",
16636
- strokeWidth: "1.5",
16637
- strokeLinecap: "round",
16638
- strokeLinejoin: "round"
16639
- }
16640
- ),
16641
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
16642
- "path",
16643
- {
16644
- d: "M11.8799 3.8473C10.7132 2.9673 9.3799 2.4873 7.9999 2.4873C5.64656 2.4873 3.45323 3.87397 1.92656 6.27397C1.32656 7.21397 1.32656 8.79397 1.92656 9.73397C2.45323 10.5606 3.06656 11.274 3.73323 11.8473",
16645
- stroke: "#576071",
16646
- strokeWidth: "1.5",
16647
- strokeLinecap: "round",
16648
- strokeLinejoin: "round"
16649
- }
16650
- ),
16651
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
16652
- "path",
16653
- {
16654
- d: "M5.61328 13.0195C6.37328 13.3395 7.17995 13.5128 7.99995 13.5128C10.3533 13.5128 12.5466 12.1261 14.0733 9.72613C14.6733 8.78613 14.6733 7.20613 14.0733 6.26613C13.8533 5.91947 13.6133 5.5928 13.3666 5.28613",
16655
- stroke: "#576071",
16656
- strokeWidth: "1.5",
16657
- strokeLinecap: "round",
16658
- strokeLinejoin: "round"
16659
- }
16660
- ),
16661
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
16662
- "path",
16663
- {
16664
- d: "M10.3409 8.4668C10.1676 9.4068 9.40094 10.1735 8.46094 10.3468",
16665
- stroke: "#576071",
16666
- strokeWidth: "1.5",
16667
- strokeLinecap: "round",
16668
- strokeLinejoin: "round"
16669
- }
16670
- ),
16671
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
16672
- "path",
16673
- {
16674
- d: "M6.31203 9.68652L1.33203 14.6665",
16675
- stroke: "#576071",
16676
- strokeWidth: "1.5",
16677
- strokeLinecap: "round",
16678
- strokeLinejoin: "round"
16679
- }
16680
- ),
16681
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
16682
- "path",
16683
- {
16684
- d: "M14.6675 1.33301L9.6875 6.31301",
16685
- stroke: "#576071",
16686
- strokeWidth: "1.5",
16687
- strokeLinecap: "round",
16688
- strokeLinejoin: "round"
16689
- }
16690
- )
16691
- ]
16652
+ children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
16653
+ "path",
16654
+ {
16655
+ d: "M2.02273 4.37106C1.85957 3.99034 1.41866 3.81398 1.03793 3.97715C0.657212 4.14031 0.480849 4.58122 0.644015 4.96194L1.33337 4.6665L2.02273 4.37106ZM10.3915 8.88564L10.1168 8.18775L10.1168 8.18775L10.3915 8.88564ZM6.23722 9.29468C6.46313 8.94749 6.36481 8.48291 6.01762 8.257C5.67043 8.03109 5.20585 8.12941 4.97994 8.4766L5.60858 8.88564L6.23722 9.29468ZM4.03807 9.92413C3.81216 10.2713 3.91048 10.7359 4.25767 10.9618C4.60486 11.1877 5.06944 11.0894 5.29535 10.7422L4.66671 10.3332L4.03807 9.92413ZM15.3561 4.96194C15.5192 4.58122 15.3429 4.14031 14.9621 3.97715C14.5814 3.81398 14.1405 3.99034 13.9773 4.37106L14.6667 4.6665L15.3561 4.96194ZM12.6667 7.41906L12.1534 6.87221H12.1534L12.6667 7.41906ZM13.1364 8.94939C13.4293 9.24229 13.9041 9.24229 14.197 8.94939C14.4899 8.6565 14.4899 8.18163 14.197 7.88873L13.6667 8.41906L13.1364 8.94939ZM7.25004 10.9998C7.25004 11.4141 7.58583 11.7498 8.00004 11.7498C8.41425 11.7498 8.75004 11.4141 8.75004 10.9998H8.00004H7.25004ZM10.7047 10.7422C10.9306 11.0894 11.3952 11.1877 11.7424 10.9618C12.0896 10.7359 12.1879 10.2713 11.962 9.92413L11.3334 10.3332L10.7047 10.7422ZM3.8637 7.94939C4.1566 7.6565 4.1566 7.18163 3.8637 6.88873C3.57081 6.59584 3.09594 6.59584 2.80304 6.88873L3.33337 7.41906L3.8637 7.94939ZM1.80304 7.88873C1.51015 8.18163 1.51015 8.6565 1.80304 8.94939C2.09594 9.24229 2.57081 9.24229 2.8637 8.94939L2.33337 8.41906L1.80304 7.88873ZM8.00004 9.33317V8.58317C5.94282 8.58317 4.46137 7.56111 3.4663 6.4895C2.96899 5.95393 2.60371 5.41601 2.36326 5.01206C2.24346 4.81079 2.15582 4.64476 2.09925 4.53161C2.07099 4.4751 2.05057 4.43196 2.03785 4.40441C2.03149 4.39065 2.02706 4.3808 2.02455 4.37514C2.02329 4.37231 2.02251 4.37054 2.02221 4.36984C2.02206 4.3695 2.02203 4.36942 2.02211 4.36963C2.02216 4.36973 2.02223 4.3699 2.02233 4.37014C2.02239 4.37026 2.02249 4.37049 2.02251 4.37055C2.02262 4.3708 2.02273 4.37106 1.33337 4.6665C0.644015 4.96194 0.644145 4.96225 0.644283 4.96257C0.644339 4.9627 0.644484 4.96304 0.644597 4.9633C0.644822 4.96382 0.645079 4.96442 0.645367 4.96508C0.645943 4.96641 0.646645 4.96803 0.647473 4.96993C0.64913 4.97372 0.651291 4.97864 0.65396 4.98464C0.659298 4.99664 0.666671 5.013 0.6761 5.03341C0.694953 5.07423 0.722061 5.13135 0.757606 5.20243C0.828639 5.3445 0.933705 5.54305 1.07432 5.77928C1.35471 6.25033 1.78109 6.87907 2.36711 7.51018C3.53871 8.7719 5.3906 10.0832 8.00004 10.0832V9.33317ZM10.3915 8.88564L10.1168 8.18775C9.49772 8.43143 8.7951 8.58317 8.00004 8.58317V9.33317V10.0832C8.9916 10.0832 9.88017 9.89291 10.6662 9.58352L10.3915 8.88564ZM5.60858 8.88564L4.97994 8.4766L4.03807 9.92413L4.66671 10.3332L5.29535 10.7422L6.23722 9.29468L5.60858 8.88564ZM14.6667 4.6665C13.9773 4.37106 13.9774 4.37091 13.9775 4.37076C13.9775 4.37072 13.9776 4.37058 13.9776 4.37049C13.9777 4.37032 13.9777 4.37018 13.9778 4.37005C13.9779 4.3698 13.978 4.36964 13.978 4.36957C13.9781 4.36941 13.978 4.36961 13.9777 4.37014C13.9773 4.37121 13.9762 4.37363 13.9745 4.37736C13.9712 4.38483 13.9655 4.39752 13.9573 4.41503C13.941 4.45007 13.915 4.50434 13.8791 4.5747C13.8072 4.71559 13.6963 4.91998 13.5448 5.1631C13.2405 5.65149 12.7799 6.28423 12.1534 6.87221L12.6667 7.41906L13.18 7.96591C13.9259 7.26575 14.4653 6.52221 14.8179 5.95636C14.9949 5.67235 15.1266 5.43013 15.2153 5.25619C15.2597 5.16913 15.2935 5.09893 15.3168 5.04886C15.3285 5.02381 15.3376 5.00378 15.3441 4.98916C15.3474 4.98186 15.35 4.9759 15.352 4.97135C15.353 4.96907 15.3538 4.96714 15.3545 4.96557C15.3548 4.96479 15.3551 4.96409 15.3554 4.96349C15.3555 4.96319 15.3557 4.96291 15.3558 4.96265C15.3558 4.96252 15.3559 4.96234 15.3559 4.96228C15.356 4.96211 15.3561 4.96194 14.6667 4.6665ZM12.6667 7.41906L12.1534 6.87221C11.5987 7.39287 10.9224 7.87068 10.1168 8.18775L10.3915 8.88564L10.6662 9.58352C11.684 9.18292 12.5176 8.58764 13.18 7.96591L12.6667 7.41906ZM12.6667 7.41906L12.1364 7.94939L13.1364 8.94939L13.6667 8.41906L14.197 7.88873L13.197 6.88873L12.6667 7.41906ZM8.00004 9.33317H7.25004V10.9998H8.00004H8.75004V9.33317H8.00004ZM10.3915 8.88564L9.76286 9.29468L10.7047 10.7422L11.3334 10.3332L11.962 9.92413L11.0201 8.4766L10.3915 8.88564ZM3.33337 7.41906L2.80304 6.88873L1.80304 7.88873L2.33337 8.41906L2.8637 8.94939L3.8637 7.94939L3.33337 7.41906Z",
16656
+ fill: "#646566"
16657
+ }
16658
+ )
16692
16659
  }
16693
16660
  );
16694
16661
  };