@v-miniapp/ui-react 1.0.71 → 1.0.73

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.
Files changed (118) hide show
  1. package/dist/components/toast/index.d.ts +1 -0
  2. package/dist/components/uploader/uploader.js +52 -52
  3. package/dist/external/index.js +103 -102
  4. package/dist/index.js +36 -34
  5. package/dist-storybook/assets/{AIApp-C4keJkW8.js → AIApp-_PxNw_hL.js} +1 -1
  6. package/dist-storybook/assets/{App-BkiRuUOF.js → App-m4MKIZCb.js} +1 -1
  7. package/dist-storybook/assets/{Color-6BZIO3FS-EdXZe4iv.js → Color-6BZIO3FS-C41L_hs-.js} +1 -1
  8. package/dist-storybook/assets/{DEEPLINK-CvpIbZVm.js → DEEPLINK-iTWtPNB4.js} +1 -1
  9. package/dist-storybook/assets/{DocsRenderer-LL677BLK-Ch7ovClC.js → DocsRenderer-LL677BLK-BsK3wzRV.js} +2 -2
  10. package/dist-storybook/assets/{EVENTS-Bnl2ehlm.js → EVENTS-0ZvCoqwd.js} +1 -1
  11. package/dist-storybook/assets/{GETTING_STARTED-CBY9dL2_.js → GETTING_STARTED-BRRlSurV.js} +1 -1
  12. package/dist-storybook/assets/{GETTING_STARTED-BmHWFQQE.js → GETTING_STARTED-COsppkHO.js} +1 -1
  13. package/dist-storybook/assets/{GETTING_STARTED-BYcN9hg3.js → GETTING_STARTED-CnKJAqB3.js} +1 -1
  14. package/dist-storybook/assets/{GETTING_STARTED-C1AOB25Z.js → GETTING_STARTED-nxH3uKar.js} +1 -1
  15. package/dist-storybook/assets/ICON-BBbwr8Pg.js +6 -0
  16. package/dist-storybook/assets/ICON-Zs313Mkv.js +6 -0
  17. package/dist-storybook/assets/{INFINITE_SCROLL-BJeWhgO7.js → INFINITE_SCROLL-BXWtrTQ3.js} +1 -1
  18. package/dist-storybook/assets/{LocalesProvider-CQEwtoq3.js → LocalesProvider-DTUh3RfY.js} +1 -1
  19. package/dist-storybook/assets/{MIGRATE_DARKMODE_TO_THEME-DCxXgvQC.js → MIGRATE_DARKMODE_TO_THEME-CKvZp9GT.js} +1 -1
  20. package/dist-storybook/assets/{MIGRATION_GUIDE-BN_V-xNj.js → MIGRATION_GUIDE-Bg7ISavE.js} +1 -1
  21. package/dist-storybook/assets/{OVERVIEW-AI-CLWBzviY.js → OVERVIEW-AI-BTli3w2O.js} +1 -1
  22. package/dist-storybook/assets/{OVERVIEW-Byly3lQV.js → OVERVIEW-Kl077pou.js} +1 -1
  23. package/dist-storybook/assets/{Router-CO6rjSXr.js → Router-9Ke7YUA9.js} +1 -1
  24. package/dist-storybook/assets/{TAILWIND_INTEGRATION-CpN4_fSu.js → TAILWIND_INTEGRATION-DZqhxmz1.js} +1 -1
  25. package/dist-storybook/assets/{THEME-B9Y39f9D.js → THEME-8FOoAaa4.js} +1 -1
  26. package/dist-storybook/assets/{WithTooltip-65CFNBJE-D6J_7FjK.js → WithTooltip-65CFNBJE-BAGccKXr.js} +1 -1
  27. package/dist-storybook/assets/{alert.stories-CUItfPLn.js → alert.stories-B5Lru6_J.js} +1 -1
  28. package/dist-storybook/assets/{app.store-BJVKVv1J.js → app.store-cpcSSeoH.js} +1 -1
  29. package/dist-storybook/assets/{avatar.stories-8_vV7Bb0.js → avatar.stories-zcCOvBCb.js} +1 -1
  30. package/dist-storybook/assets/{axe-4EaTvypG.js → axe-Dp1_m3af.js} +1 -1
  31. package/dist-storybook/assets/{badge-Gh2kTOE3.js → badge-BDzxT0vO.js} +1 -1
  32. package/dist-storybook/assets/{badge.stories-BXGAtgaV.js → badge.stories-DmRzf4im.js} +1 -1
  33. package/dist-storybook/assets/{blocks-CB7UwFa4.js → blocks-YH_FlHNe.js} +5 -5
  34. package/dist-storybook/assets/{bottom-tab-bar.stories-OrY-k1sb.js → bottom-tab-bar.stories-CW90Xs7W.js} +1 -1
  35. package/dist-storybook/assets/{button-BLW8SOpg.js → button-Dllugowd.js} +1 -1
  36. package/dist-storybook/assets/{button.stories--0kpp_af.js → button.stories-CxnCKWb3.js} +1 -1
  37. package/dist-storybook/assets/{calendar-ySr-9cXG.js → calendar-CX_QciaU.js} +1 -1
  38. package/dist-storybook/assets/{calendar.stories-4MQj1nsX.js → calendar.stories-C1bOkxWg.js} +1 -1
  39. package/dist-storybook/assets/{carousel.stories-CMtljvBR.js → carousel.stories-CKQ26RPC.js} +1 -1
  40. package/dist-storybook/assets/{checkbox.stories-xYjsVg2X.js → checkbox.stories-D_V1uHuA.js} +1 -1
  41. package/dist-storybook/assets/{chip.stories-DYEfUGq3.js → chip.stories-D7zIpToa.js} +1 -1
  42. package/dist-storybook/assets/{classname-Bl5epEs-.js → classname-j9cKNBJt.js} +1 -1
  43. package/dist-storybook/assets/{client-CN8vOzuD.js → client-QENDbUXM.js} +1 -1
  44. package/dist-storybook/assets/{date-DWIyMGld.js → date-CudELDq-.js} +1 -1
  45. package/dist-storybook/assets/{date-field.stories-5Tlzdpvr.js → date-field.stories-BYkkO7Of.js} +1 -1
  46. package/dist-storybook/assets/{date-picker-DeB43YU4.js → date-picker-CUPSmKVv.js} +1 -1
  47. package/dist-storybook/assets/{date-picker.stories-Shn-MmVG.js → date-picker.stories-Ct1nyYF9.js} +1 -1
  48. package/dist-storybook/assets/{dialog.stories-DeNKN0oJ.js → dialog.stories-DYNLtwcR.js} +1 -1
  49. package/dist-storybook/assets/{dropdown.stories-Bqmu2_KM.js → dropdown.stories-DuMHcPmK.js} +1 -1
  50. package/dist-storybook/assets/{embla-carousel-react.esm-DOEAp-w3.js → embla-carousel-react.esm-kjiVLhoj.js} +1 -1
  51. package/dist-storybook/assets/formatter-EIJCOSYU-v8aQ1Zfa.js +1 -0
  52. package/dist-storybook/assets/{icon-Cc9W858e.js → icon-CNKWXprF.js} +1 -1
  53. package/dist-storybook/assets/{icon-list-grid-CSnpdoAW.js → icon-list-grid-DoOsBMQg.js} +1 -1
  54. package/dist-storybook/assets/{icon.stories-DE484rTd.js → icon.stories-CYR8KraY.js} +1 -1
  55. package/dist-storybook/assets/{iframe-Crg_lbde.js → iframe-CwpOmiVg.js} +4 -4
  56. package/dist-storybook/assets/{image-CB4oeTy-.js → image-DfceViqD.js} +1 -1
  57. package/dist-storybook/assets/{image.stories-BlYIb_Qu.js → image.stories-Cab_evZi.js} +1 -1
  58. package/dist-storybook/assets/{index-B24pfkXD.js → index-C962ZRj_.js} +1 -1
  59. package/dist-storybook/assets/{index-hDlmuyu2.js → index-Dvav2jPE.js} +1 -1
  60. package/dist-storybook/assets/{index-CdnALcTP.js → index-SQXvi4Hn.js} +1 -1
  61. package/dist-storybook/assets/{input-wrapper-Gd3QJKqj.js → input-wrapper-Dt4hGcjK.js} +1 -1
  62. package/dist-storybook/assets/{label-zfqCJTGJ.js → label-BZ7u7vau.js} +1 -1
  63. package/dist-storybook/assets/{label.stories-C-MVt-cu.js → label.stories-_Zb4g3mj.js} +1 -1
  64. package/dist-storybook/assets/{navigation-bar.stories-CZ-y3eDE.js → navigation-bar.stories-Ce1QRdE0.js} +1 -1
  65. package/dist-storybook/assets/{number-field.stories-BA0FySSU.js → number-field.stories-Cv1LVFpi.js} +1 -1
  66. package/dist-storybook/assets/{omit-CRXr8Lio.js → omit-VA9qWaRH.js} +1 -1
  67. package/dist-storybook/assets/{option-item-DFWc14Up.js → option-item-BGTpH6mG.js} +1 -1
  68. package/dist-storybook/assets/{option-item.stories-DqA-ydWX.js → option-item.stories-1n_m-NYN.js} +1 -1
  69. package/dist-storybook/assets/{pagination-CjgiVNvu.js → pagination-DlQ4OdLE.js} +1 -1
  70. package/dist-storybook/assets/{pagination.stories-BsKHvdF4.js → pagination.stories-DofUDp5F.js} +1 -1
  71. package/dist-storybook/assets/{radio.stories-CBmxZRxo.js → radio.stories-DJtDgFV2.js} +1 -1
  72. package/dist-storybook/assets/{rating.stories-CcdFtcNH.js → rating.stories-_c1IMAaP.js} +1 -1
  73. package/dist-storybook/assets/{react-18-D2tl8ksm.js → react-18-DDzsHhPn.js} +1 -1
  74. package/dist-storybook/assets/{react-DO0-owxu.js → react-D0pCkoQ5.js} +1 -1
  75. package/dist-storybook/assets/{search-field-zl4ROLfn.js → search-field-D8PnC6xh.js} +1 -1
  76. package/dist-storybook/assets/{search-field.stories-DoclnxtC.js → search-field.stories-CoKWeGCe.js} +1 -1
  77. package/dist-storybook/assets/{section.stories-Bqz_QgYp.js → section.stories-BluBPEOh.js} +1 -1
  78. package/dist-storybook/assets/{sheet-body-2dWL2AE5.js → sheet-body-C2iQbsjb.js} +1 -1
  79. package/dist-storybook/assets/{sheet-footer-DuPhbVOb.js → sheet-footer-BXXMuZ71.js} +1 -1
  80. package/dist-storybook/assets/{sheet.stories-CoXnt4LG.js → sheet.stories-D_AjI4ZQ.js} +1 -1
  81. package/dist-storybook/assets/{skeleton-BVLpHxKT.js → skeleton-D4olSWeN.js} +1 -1
  82. package/dist-storybook/assets/{skeleton.stories-B-OfMZId.js → skeleton.stories-DNvCIPdU.js} +1 -1
  83. package/dist-storybook/assets/{switch.stories-D4PQjgbo.js → switch.stories-DhlXmlW0.js} +1 -1
  84. package/dist-storybook/assets/{syntaxhighlighter-ED5Y7EFY-BxRQp_WE.js → syntaxhighlighter-ED5Y7EFY-CCu2o3S4.js} +1 -1
  85. package/dist-storybook/assets/{tab-bar.stories-BrcQMypS.js → tab-bar.stories-Cl57k4wB.js} +1 -1
  86. package/dist-storybook/assets/{text-area.stories-Bpaw2_4A.js → text-area.stories-DSi8_IE3.js} +1 -1
  87. package/dist-storybook/assets/{text-field-CqJG0bIl.js → text-field-Dvj2ft-b.js} +1 -1
  88. package/dist-storybook/assets/{text-field.stories-PQoP3DbL.js → text-field.stories-DIcrzICP.js} +1 -1
  89. package/dist-storybook/assets/{toast.stories-DmPy9T3m.js → toast.stories-G9BdRB3z.js} +1 -1
  90. package/dist-storybook/assets/{tooltip.stories-Be_kIaDc.js → tooltip.stories-D_I3ZlPZ.js} +1 -1
  91. package/dist-storybook/assets/{typography-CMIMyivt.js → typography-B019AQYH.js} +1 -1
  92. package/dist-storybook/assets/{typography.stories-DSt5W_AG.js → typography.stories-1dyN8AoL.js} +1 -1
  93. package/dist-storybook/assets/{uploader.stories-C5CmeXEk.js → uploader.stories-Yj8ZHgmi.js} +10 -10
  94. package/dist-storybook/assets/{use-app-pause-_ycnhKwZ.js → use-app-pause-B-gOoNBn.js} +1 -1
  95. package/dist-storybook/assets/{use-app-resume-CWb2s-wo.js → use-app-resume-Bk4GckOL.js} +1 -1
  96. package/dist-storybook/assets/{use-bottom-tab-bar--DRl-8c4.js → use-bottom-tab-bar-BKcVNDJd.js} +1 -1
  97. package/dist-storybook/assets/{use-custom-icon-event-BXcRPkLg.js → use-custom-icon-event-CBdHlZ04.js} +1 -1
  98. package/dist-storybook/assets/{use-did-hide-LBcrwoUo.js → use-did-hide-BExFPTMC.js} +1 -1
  99. package/dist-storybook/assets/{use-did-show-BXLstTgt.js → use-did-show-fGnLVYD9.js} +1 -1
  100. package/dist-storybook/assets/{use-histories-Cz7ncXaj.js → use-histories-BknZeX2F.js} +1 -1
  101. package/dist-storybook/assets/{use-history-B_w6SPwr.js → use-history-Bp7OOVl1.js} +1 -1
  102. package/dist-storybook/assets/{use-language-D84C9QNT.js → use-language-DYxdY6Ft.js} +1 -1
  103. package/dist-storybook/assets/{use-load-more-Bb9YFkAE.js → use-load-more-DOeXmNjp.js} +1 -1
  104. package/dist-storybook/assets/{use-location-DnxJ5FvJ.js → use-location-Dn6n38WV.js} +1 -1
  105. package/dist-storybook/assets/{use-navigate-OLqoL3vR.js → use-navigate-DrOR9Tq1.js} +1 -1
  106. package/dist-storybook/assets/{use-navigation-bar-D5BX6S-r.js → use-navigation-bar-C-h-uIVX.js} +1 -1
  107. package/dist-storybook/assets/{use-navigation-type-Cq7T35ur.js → use-navigation-type-hrwQdqXJ.js} +1 -1
  108. package/dist-storybook/assets/{use-page-layout-BrFRWwC6.js → use-page-layout-COmNtUSO.js} +1 -1
  109. package/dist-storybook/assets/{use-page-scroll-BZ8XiPza.js → use-page-scroll-B13Lqf5-.js} +1 -1
  110. package/dist-storybook/assets/{use-pull-to-refresh-BEjtxiFn.js → use-pull-to-refresh-CG2UoiVR.js} +1 -1
  111. package/dist-storybook/assets/{use-settings-changed-UaQRSWAg.js → use-settings-changed-CyyTxLz7.js} +1 -1
  112. package/dist-storybook/assets/{use-translate-BO8E9Sde.js → use-translate-BU2rC7hs.js} +1 -1
  113. package/dist-storybook/iframe.html +1 -1
  114. package/dist-storybook/project.json +1 -1
  115. package/package.json +1 -1
  116. package/dist-storybook/assets/ICON-BaZgXbtw.js +0 -6
  117. package/dist-storybook/assets/ICON-CT1pTB1A.js +0 -6
  118. package/dist-storybook/assets/formatter-EIJCOSYU-DZLV30KU.js +0 -1
@@ -664,7 +664,7 @@ const M = /* @__PURE__ */ St(EP), H = (e) => `vsf-${e}`, Hg = (e) => /* @__PURE_
664
664
  }, ap = (e) => {
665
665
  if (e)
666
666
  return OP[e] || e;
667
- }, Kg = H("icon"), I3 = Object.keys($_).map(
667
+ }, Kg = H("icon"), O3 = Object.keys($_).map(
668
668
  (e) => e.endsWith("-fill") ? e.slice(0, -5) : e.endsWith("-outline") ? e.slice(0, -8) : e
669
669
  ), pe = ({
670
670
  size: e,
@@ -3070,7 +3070,7 @@ const kE = {
3070
3070
  })), ri = (e, t, n) => {
3071
3071
  const r = st.getState().translate;
3072
3072
  return r(e, t, n);
3073
- }, O3 = ri, D3 = () => st.getState().language, R3 = () => st.getState().systemLanguage, L3 = (e) => {
3073
+ }, D3 = ri, R3 = () => st.getState().language, L3 = () => st.getState().systemLanguage, N3 = (e) => {
3074
3074
  st.getState().setLanguage(e);
3075
3075
  }, IE = (e) => {
3076
3076
  st.getState().init(e);
@@ -9122,7 +9122,7 @@ const Z0 = H("toast-provider"), e1 = ({ position: e }) => {
9122
9122
  }, cA = () => /* @__PURE__ */ j(je, { children: [
9123
9123
  _n(/* @__PURE__ */ v(e1, { position: "top" }), document.body),
9124
9124
  _n(/* @__PURE__ */ v(e1, { position: "bottom" }), document.body)
9125
- ] }), j3 = ({ children: e, localesConfig: t }) => /* @__PURE__ */ v(G_, { isGlobal: !0, children: /* @__PURE__ */ j(
9125
+ ] }), M3 = ({ children: e, localesConfig: t }) => /* @__PURE__ */ v(G_, { isGlobal: !0, children: /* @__PURE__ */ j(
9126
9126
  uC,
9127
9127
  {
9128
9128
  config: ct({}, t, { resources: { vi: _p, en: Cp } }),
@@ -10998,7 +10998,7 @@ function YL() {
10998
10998
  return Xf = n, Xf;
10999
10999
  }
11000
11000
  var XL = YL();
11001
- const bn = /* @__PURE__ */ Er(XL), Kr = 40, Qf = 32, M3 = () => {
11001
+ const bn = /* @__PURE__ */ Er(XL), Kr = 40, Qf = 32, V3 = () => {
11002
11002
  const e = z(!1);
11003
11003
  return U(() => jA(
11004
11004
  (t) => e.current = t
@@ -11570,7 +11570,7 @@ const wg = nn({
11570
11570
  }
11571
11571
  const i = r.current.animation?.mode || "view-transition";
11572
11572
  return /* @__PURE__ */ v(mN, { Component: r.current.ErrorPage, children: /* @__PURE__ */ v(F_, { fallback: /* @__PURE__ */ v(hR, {}), children: i === "style-transition" ? /* @__PURE__ */ v(TN, {}) : /* @__PURE__ */ v(SN, {}) }) });
11573
- }, V3 = (e) => {
11573
+ }, B3 = (e) => {
11574
11574
  const t = z(e);
11575
11575
  t.current = e, U(() => {
11576
11576
  const n = () => {
@@ -11580,7 +11580,7 @@ const wg = nn({
11580
11580
  window?.removeEventListener("onAppPause", n);
11581
11581
  };
11582
11582
  }, []);
11583
- }, B3 = (e) => {
11583
+ }, F3 = (e) => {
11584
11584
  const t = z(e);
11585
11585
  t.current = e, U(() => {
11586
11586
  const n = () => {
@@ -11626,7 +11626,7 @@ const lo = () => {
11626
11626
  ), [t]), U(() => {
11627
11627
  i.current?.();
11628
11628
  }, []), n;
11629
- }, Dr = () => lo()?.location, _g = () => ke((e) => e.navigate), F3 = () => lo().action, $3 = (e) => {
11629
+ }, Dr = () => lo()?.location, _g = () => ke((e) => e.navigate), $3 = () => lo().action, q3 = (e) => {
11630
11630
  const t = _g(), n = e.params, r = ee(() => {
11631
11631
  if (typeof e.to == "number")
11632
11632
  return e.to < 0 ? `#back:${e.to}` : `#forward:${e.to}`;
@@ -11643,7 +11643,7 @@ const lo = () => {
11643
11643
  onClick: (i) => (i.preventDefault(), e.to, t(e.to, e), !1)
11644
11644
  }
11645
11645
  );
11646
- }, q3 = ({ color: e }) => /* @__PURE__ */ j(
11646
+ }, z3 = ({ color: e }) => /* @__PURE__ */ j(
11647
11647
  "div",
11648
11648
  {
11649
11649
  style: {
@@ -13269,7 +13269,7 @@ const uo = () => {
13269
13269
  resetPagePageLayout: y,
13270
13270
  resetAppPageLayout: b
13271
13271
  };
13272
- }, U3 = (e) => {
13272
+ }, K3 = (e) => {
13273
13273
  const { setPagePageLayout: t } = uo(), n = z(e);
13274
13274
  n.current = e, U(() => {
13275
13275
  t({
@@ -13278,7 +13278,7 @@ const uo = () => {
13278
13278
  }
13279
13279
  });
13280
13280
  }, [t]);
13281
- }, K3 = (e, t) => {
13281
+ }, G3 = (e, t) => {
13282
13282
  const { setPagePageLayout: n } = uo(), r = z(e);
13283
13283
  r.current = e, U(() => {
13284
13284
  n({
@@ -13286,7 +13286,7 @@ const uo = () => {
13286
13286
  pageScrollOptions: t
13287
13287
  });
13288
13288
  }, [n, JSON.stringify(t)]);
13289
- }, G3 = (e) => {
13289
+ }, W3 = (e) => {
13290
13290
  const { setPagePageLayout: t } = uo(), n = z(e);
13291
13291
  n.current = e, U(() => {
13292
13292
  t({
@@ -13719,7 +13719,7 @@ const ij = () => {
13719
13719
  }, sj = () => {
13720
13720
  const e = window?.matchMedia("(prefers-color-scheme: dark)").matches;
13721
13721
  pr(e ? "dark" : "light");
13722
- }, W3 = () => {
13722
+ }, Y3 = () => {
13723
13723
  const e = aj();
13724
13724
  pr(e === "dark" ? "light" : "dark");
13725
13725
  };
@@ -13770,7 +13770,7 @@ const pt = new lj(), cj = H("app"), uj = ({ config: e, children: t }) => {
13770
13770
  /* @__PURE__ */ v(cA, {}),
13771
13771
  t
13772
13772
  ] });
13773
- }, Y3 = ({
13773
+ }, X3 = ({
13774
13774
  className: e,
13775
13775
  config: t,
13776
13776
  localesConfig: n,
@@ -15248,7 +15248,7 @@ const Wj = (e = {}) => {
15248
15248
  })
15249
15249
  },
15250
15250
  o
15251
- )) }), gi = H("carousel"), X3 = Ke(
15251
+ )) }), gi = H("carousel"), Q3 = Ke(
15252
15252
  ({ className: e, carousel: t, options: n, pagination: r = !0, children: i }, o) => {
15253
15253
  const a = Wj(n);
15254
15254
  return t = t || a, mt(o, () => t), /* @__PURE__ */ j(
@@ -15273,7 +15273,7 @@ const Wj = (e = {}) => {
15273
15273
  }
15274
15274
  );
15275
15275
  }
15276
- ), Q3 = ({
15276
+ ), J3 = ({
15277
15277
  children: e,
15278
15278
  className: t,
15279
15279
  ...n
@@ -15511,7 +15511,7 @@ const Wj = (e = {}) => {
15511
15511
  /* @__PURE__ */ v(jg, { ref: i, open: n, ...t }),
15512
15512
  document.body
15513
15513
  );
15514
- }, J3 = ({ portal: e = !0, ...t }) => e && pt.isUsingApp && pt.isUsingRouter ? /* @__PURE__ */ v(Zj, { ...t }) : e && (!pt.isUsingApp || !pt.isUsingRouter) ? /* @__PURE__ */ v(eM, { ...t }) : /* @__PURE__ */ v(jg, { ...t }), zd = H("section"), Z3 = ({
15514
+ }, Z3 = ({ portal: e = !0, ...t }) => e && pt.isUsingApp && pt.isUsingRouter ? /* @__PURE__ */ v(Zj, { ...t }) : e && (!pt.isUsingApp || !pt.isUsingRouter) ? /* @__PURE__ */ v(eM, { ...t }) : /* @__PURE__ */ v(jg, { ...t }), zd = H("section"), eV = ({
15515
15515
  className: e,
15516
15516
  space: t = !0,
15517
15517
  shape: n = "rounded",
@@ -15525,7 +15525,7 @@ const Wj = (e = {}) => {
15525
15525
  }),
15526
15526
  ...r
15527
15527
  }
15528
- ), Jr = H("section-title"), eV = ({
15528
+ ), Jr = H("section-title"), tV = ({
15529
15529
  className: e,
15530
15530
  leftIcon: t,
15531
15531
  onLeftIconClick: n,
@@ -15548,10 +15548,10 @@ const Wj = (e = {}) => {
15548
15548
  ),
15549
15549
  !!r && /* @__PURE__ */ v("div", { className: `${Jr}__icon`, onClick: i, children: Xe(r) }),
15550
15550
  o
15551
- ] }), tM = H("section-content"), tV = ({
15551
+ ] }), tM = H("section-content"), nV = ({
15552
15552
  className: e,
15553
15553
  ...t
15554
- }) => /* @__PURE__ */ v("div", { className: M(tM, e), ...t }), zt = H("list-item"), nV = ({
15554
+ }) => /* @__PURE__ */ v("div", { className: M(tM, e), ...t }), zt = H("list-item"), rV = ({
15555
15555
  className: e,
15556
15556
  label: t,
15557
15557
  description: n,
@@ -15625,7 +15625,7 @@ const Wj = (e = {}) => {
15625
15625
  ]
15626
15626
  }
15627
15627
  );
15628
- }, cn = H("alert"), rV = ({
15628
+ }, cn = H("alert"), iV = ({
15629
15629
  type: e = "informative",
15630
15630
  title: t,
15631
15631
  message: n,
@@ -15714,13 +15714,13 @@ const Wj = (e = {}) => {
15714
15714
  ...r ? { "--height": r + (typeof r == "number" ? "px" : "") } : {}
15715
15715
  }
15716
15716
  }
15717
- ), iV = (e) => /* @__PURE__ */ v(
15717
+ ), oV = (e) => /* @__PURE__ */ v(
15718
15718
  Ee,
15719
15719
  {
15720
15720
  ...e,
15721
15721
  className: M(`${sr}--title`, e.className)
15722
15722
  }
15723
- ), oV = ({
15723
+ ), aV = ({
15724
15724
  lineCount: e = 3,
15725
15725
  ...t
15726
15726
  }) => /* @__PURE__ */ v("div", { children: new Array(e).fill(0).map((n, r) => /* @__PURE__ */ v(
@@ -16332,10 +16332,10 @@ const Bn = ({
16332
16332
  }
16333
16333
  );
16334
16334
  }
16335
- ), aV = ({
16335
+ ), sV = ({
16336
16336
  countryCode: e,
16337
16337
  ...t
16338
- }) => /* @__PURE__ */ v(lP, { type: "tel", ...t, prefix: e }), Ae = H("number-field"), sV = Ke(
16338
+ }) => /* @__PURE__ */ v(lP, { type: "tel", ...t, prefix: e }), Ae = H("number-field"), lV = Ke(
16339
16339
  (e, t) => {
16340
16340
  const {
16341
16341
  length: n = 6,
@@ -16517,7 +16517,7 @@ const Bn = ({
16517
16517
  ...t,
16518
16518
  children: /* @__PURE__ */ v("rect", { x: "2", y: "6.5", width: "11", height: "2", rx: "1", fill: e })
16519
16519
  }
16520
- ), rt = H("checkbox"), lV = Ke(
16520
+ ), rt = H("checkbox"), cV = Ke(
16521
16521
  (e, t) => {
16522
16522
  const {
16523
16523
  disabled: n = !1,
@@ -16667,7 +16667,7 @@ const Bn = ({
16667
16667
  ...n,
16668
16668
  children: e
16669
16669
  }
16670
- ), Ge = H("chip"), cV = ({
16670
+ ), Ge = H("chip"), uV = ({
16671
16671
  theme: e = "default",
16672
16672
  type: t = "selection",
16673
16673
  leadingIcon: n,
@@ -16736,7 +16736,7 @@ const Bn = ({
16736
16736
  ]
16737
16737
  }
16738
16738
  );
16739
- }, Pt = H("radio"), uV = Ke((e, t) => {
16739
+ }, Pt = H("radio"), fV = Ke((e, t) => {
16740
16740
  const {
16741
16741
  theme: n = "brand",
16742
16742
  type: r = "radio",
@@ -17844,7 +17844,7 @@ const ze = new r3(), i3 = (e) => ({
17844
17844
  }
17845
17845
  ) })
17846
17846
  ] });
17847
- }, bh = H("date-field"), fV = Ke(
17847
+ }, bh = H("date-field"), dV = Ke(
17848
17848
  (e, t) => {
17849
17849
  const { wrapper: n, props: r } = jr(e), {
17850
17850
  picker: i = "date-picker",
@@ -17982,7 +17982,7 @@ const ze = new r3(), i3 = (e) => ({
17982
17982
  }
17983
17983
  ) })
17984
17984
  ] });
17985
- }, M_ = H("date-field-range"), dV = Ke((e, t) => {
17985
+ }, M_ = H("date-field-range"), hV = Ke((e, t) => {
17986
17986
  const { wrapper: n, props: r } = jr(e), { picker: i = "date-picker", pickerProps: o } = r, [a, s] = J(-1), [l, c] = J(r.autoFocus), [u, f] = Re(r, {
17987
17987
  trigger: "onChange",
17988
17988
  valuePropName: "value",
@@ -18150,7 +18150,7 @@ const ze = new r3(), i3 = (e) => ({
18150
18150
  onChange: n
18151
18151
  }
18152
18152
  );
18153
- }, Kn = H("text-area"), hV = Ke(
18153
+ }, Kn = H("text-area"), pV = Ke(
18154
18154
  (e, t) => {
18155
18155
  const { wrapper: n, props: r } = jr(e), [i, o] = J(r.autoFocus), a = z(null), [s, l] = Re(r, {
18156
18156
  trigger: "onChange",
@@ -18213,7 +18213,7 @@ const ze = new r3(), i3 = (e) => ({
18213
18213
  }
18214
18214
  );
18215
18215
  }
18216
- ), Gn = H("dropdown"), pV = Ke(
18216
+ ), Gn = H("dropdown"), gV = Ke(
18217
18217
  (e, t) => {
18218
18218
  const { wrapper: n, props: r } = jr(e), [i, o] = J(!1), [a, s] = Re(r, {
18219
18219
  trigger: "onChange",
@@ -18343,7 +18343,7 @@ const ze = new r3(), i3 = (e) => ({
18343
18343
  )
18344
18344
  ] });
18345
18345
  }
18346
- ), y3 = (e, t) => t ? typeof e.label == "string" || typeof e.label == "number" ? e.label.toString().toLowerCase().includes(t.toLowerCase()) : !1 : !0, b3 = H("dropdown"), gV = (e) => /* @__PURE__ */ v(
18346
+ ), y3 = (e, t) => t ? typeof e.label == "string" || typeof e.label == "number" ? e.label.toString().toLowerCase().includes(t.toLowerCase()) : !1 : !0, b3 = H("dropdown"), mV = (e) => /* @__PURE__ */ v(
18347
18347
  Bn,
18348
18348
  {
18349
18349
  trailingIcon: {
@@ -18357,7 +18357,7 @@ const ze = new r3(), i3 = (e) => ({
18357
18357
  /* @__PURE__ */ v(Ee, { width: 24, height: 24, shape: "pill" })
18358
18358
  ] })
18359
18359
  }
18360
- ), hn = H("avatar"), mV = ({
18360
+ ), hn = H("avatar"), vV = ({
18361
18361
  size: e = 40,
18362
18362
  shape: t = "rounded",
18363
18363
  border: n,
@@ -18454,7 +18454,10 @@ async function T3(e) {
18454
18454
  return console.error("Failed to upload image", t), [];
18455
18455
  }
18456
18456
  }
18457
- const Xt = H("uploader"), vV = ({
18457
+ const Xt = H("uploader"), _3 = (e) => {
18458
+ const t = {};
18459
+ return e.value !== void 0 && (t.value = e.value), e.onChange !== void 0 && (t.onChange = e.onChange), t;
18460
+ }, yV = ({
18458
18461
  limit: e,
18459
18462
  disabled: t,
18460
18463
  showPreview: n,
@@ -18465,10 +18468,7 @@ const Xt = H("uploader"), vV = ({
18465
18468
  ...s
18466
18469
  }) => {
18467
18470
  const [l, c] = Re(
18468
- {
18469
- ...o !== void 0 && { value: o },
18470
- ...a !== void 0 && { onChange: a }
18471
- },
18471
+ _3(s),
18472
18472
  {
18473
18473
  defaultValue: [],
18474
18474
  trigger: "onChange"
@@ -18510,8 +18510,8 @@ const Xt = H("uploader"), vV = ({
18510
18510
  color: t ? "alias-object-disabled" : "global-neutral-neutral-50"
18511
18511
  }
18512
18512
  ) }),
18513
- n && /* @__PURE__ */ v("div", { className: `${Xt}__preview-list`, children: [...l ?? []].reverse().map((d, h) => /* @__PURE__ */ v(
18514
- _3,
18513
+ n && !!l && /* @__PURE__ */ v("div", { className: `${Xt}__preview-list`, children: l.map((d, h) => /* @__PURE__ */ v(
18514
+ C3,
18515
18515
  {
18516
18516
  previewSrc: d.tempFile.data,
18517
18517
  onDelete: () => f(h)
@@ -18521,7 +18521,7 @@ const Xt = H("uploader"), vV = ({
18521
18521
  ]
18522
18522
  }
18523
18523
  );
18524
- }, _3 = ({
18524
+ }, C3 = ({
18525
18525
  previewSrc: e,
18526
18526
  onDelete: t
18527
18527
  }) => /* @__PURE__ */ j("div", { className: `${Xt}__preview-item`, children: [
@@ -18534,7 +18534,7 @@ const Xt = H("uploader"), vV = ({
18534
18534
  }
18535
18535
  ),
18536
18536
  /* @__PURE__ */ v("div", { className: `${Xt}__delete-button`, onClick: t, children: /* @__PURE__ */ v(pe, { name: "xmark", size: 16, color: "white" }) })
18537
- ] }), kt = H("switch"), yV = Ke(
18537
+ ] }), kt = H("switch"), bV = Ke(
18538
18538
  (e, t) => {
18539
18539
  const {
18540
18540
  disabled: n = !1,
@@ -18593,7 +18593,7 @@ const Xt = H("uploader"), vV = ({
18593
18593
  }
18594
18594
  );
18595
18595
  }
18596
- ), Wn = H("tab-bar__item"), C3 = Ke(
18596
+ ), Wn = H("tab-bar__item"), x3 = Ke(
18597
18597
  ({ className: e, id: t, active: n, icon: r, name: i, badge: o, onItemClick: a, ...s }, l) => {
18598
18598
  const c = () => {
18599
18599
  if (!r) return null;
@@ -18637,7 +18637,7 @@ const Xt = H("uploader"), vV = ({
18637
18637
  }
18638
18638
  );
18639
18639
  }
18640
- ), Sh = H("tab-bar"), bV = (e) => {
18640
+ ), Sh = H("tab-bar"), wV = (e) => {
18641
18641
  const [t, n] = Re(e, {
18642
18642
  trigger: "onItemClick",
18643
18643
  valuePropName: "activeId",
@@ -18744,7 +18744,7 @@ const Xt = H("uploader"), vV = ({
18744
18744
  }
18745
18745
  ),
18746
18746
  r.map((y, b) => /* @__PURE__ */ v(
18747
- C3,
18747
+ x3,
18748
18748
  {
18749
18749
  ref: (w) => m(y.id, w),
18750
18750
  onItemClick: () => n(y, b),
@@ -18757,7 +18757,7 @@ const Xt = H("uploader"), vV = ({
18757
18757
  ]
18758
18758
  }
18759
18759
  );
18760
- }, Th = "vsf-metadata", wV = ({ metadata: e }) => {
18760
+ }, Th = "vsf-metadata", SV = ({ metadata: e }) => {
18761
18761
  const t = JSON.stringify(e, null, 2);
18762
18762
  return Sg(() => {
18763
18763
  const n = document.getElementById(Th);
@@ -18768,7 +18768,7 @@ const Xt = H("uploader"), vV = ({
18768
18768
  );
18769
18769
  n || (n = document.createElement("script"), n.id = Th, n.type = "application/ld+json", document.head.appendChild(n)), n.textContent = t;
18770
18770
  }), null;
18771
- }, _h = H("rating"), x3 = ({ value: e = 0, ...t }) => {
18771
+ }, _h = H("rating"), A3 = ({ value: e = 0, ...t }) => {
18772
18772
  const n = Math.max(Math.min(e, 1), 0) * 100, r = Oi(), i = "M21.2849 7.66933C21.1676 7.308 20.8543 7.044 20.4783 6.98933L14.3183 6.09467L11.5636 0.512C11.2276 -0.170667 10.1063 -0.170667 9.77025 0.512L7.01559 6.09333L0.855586 6.988C0.479586 7.04267 0.166253 7.30667 0.0489193 7.668C-0.068414 8.02933 0.0289192 8.428 0.302253 8.69333L4.75959 13.0373L3.70625 19.172C3.64225 19.548 3.79559 19.9267 4.10359 20.1507C4.41159 20.3733 4.82092 20.4027 5.15692 20.2267L10.6663 17.3293L16.1756 20.2267C16.3223 20.304 16.4809 20.3413 16.6409 20.3413C16.8476 20.3413 17.0543 20.2773 17.2289 20.1507C17.5369 19.9267 17.6916 19.548 17.6263 19.172L16.5729 13.0373L21.0303 8.69333C21.3036 8.428 21.4009 8.02933 21.2836 7.668L21.2849 7.66933Z";
18773
18773
  return /* @__PURE__ */ v("span", { className: `${_h}__icon`, ...t, children: /* @__PURE__ */ j("svg", { width: "100%", height: "100%", viewBox: "0 0 22 21", fill: "none", children: [
18774
18774
  /* @__PURE__ */ v("defs", { children: /* @__PURE__ */ v("clipPath", { id: r, children: /* @__PURE__ */ v("path", { d: i }) }) }),
@@ -18783,11 +18783,11 @@ const Xt = H("uploader"), vV = ({
18783
18783
  }
18784
18784
  )
18785
18785
  ] }) });
18786
- }, A3 = 5, Ch = H("rating"), SV = (e) => {
18786
+ }, P3 = 5, Ch = H("rating"), TV = (e) => {
18787
18787
  const {
18788
18788
  size: t = "medium",
18789
18789
  className: n,
18790
- max: r = A3,
18790
+ max: r = P3,
18791
18791
  readonly: i = !1,
18792
18792
  defaultValue: o,
18793
18793
  onChange: a,
@@ -18826,7 +18826,7 @@ const Xt = H("uploader"), vV = ({
18826
18826
  ),
18827
18827
  ...l,
18828
18828
  children: f.length ? f.map((h, p) => /* @__PURE__ */ v(
18829
- x3,
18829
+ A3,
18830
18830
  {
18831
18831
  value: h.value,
18832
18832
  onClick: () => d(p)
@@ -18835,7 +18835,7 @@ const Xt = H("uploader"), vV = ({
18835
18835
  )) : null
18836
18836
  }
18837
18837
  );
18838
- }, Ut = H("tooltip"), TV = (e) => {
18838
+ }, Ut = H("tooltip"), _V = (e) => {
18839
18839
  const {
18840
18840
  type: t = "default",
18841
18841
  position: n = "top",
@@ -18869,7 +18869,7 @@ const Xt = H("uploader"), vV = ({
18869
18869
  ]
18870
18870
  }
18871
18871
  );
18872
- }, _V = (e) => {
18872
+ }, CV = (e) => {
18873
18873
  const t = z(e);
18874
18874
  t.current = e, U(() => {
18875
18875
  const n = (r) => {
@@ -18880,7 +18880,7 @@ const Xt = H("uploader"), vV = ({
18880
18880
  window?.removeEventListener("onCustomIconEvent", n);
18881
18881
  };
18882
18882
  }, []);
18883
- }, CV = (e) => {
18883
+ }, xV = (e) => {
18884
18884
  const t = z(e);
18885
18885
  t.current = e, U(() => {
18886
18886
  const n = (r) => {
@@ -18891,110 +18891,111 @@ const Xt = H("uploader"), vV = ({
18891
18891
  window?.removeEventListener("onSettingsChanged", n);
18892
18892
  };
18893
18893
  }, []);
18894
- }, xV = (e) => {
18894
+ }, AV = (e) => {
18895
18895
  IE(ct({}, e, { resources: { vi: _p, en: Cp } }));
18896
18896
  };
18897
18897
  export {
18898
- j3 as AIApp,
18899
- rV as Alert,
18900
- Y3 as App,
18901
- mV as Avatar,
18898
+ M3 as AIApp,
18899
+ iV as Alert,
18900
+ X3 as App,
18901
+ vV as Avatar,
18902
18902
  ep as Badge,
18903
18903
  DM as BadgeContainer,
18904
18904
  rj as BottomTabBar,
18905
18905
  Me as Button,
18906
18906
  vP as Calendar,
18907
- X3 as Carousel,
18908
- Q3 as CarouselItem,
18909
- lV as Checkbox,
18910
- cV as Chip,
18911
- fV as DateField,
18912
- dV as DateFieldRange,
18907
+ Q3 as Carousel,
18908
+ J3 as CarouselItem,
18909
+ cV as Checkbox,
18910
+ uV as Chip,
18911
+ dV as DateField,
18912
+ hV as DateFieldRange,
18913
18913
  n3 as DatePicker,
18914
18914
  t3 as DatePickerBase,
18915
- J3 as Dialog,
18916
- pV as Dropdown,
18917
- gV as DropdownBase,
18915
+ Z3 as Dialog,
18916
+ gV as Dropdown,
18917
+ mV as DropdownBase,
18918
18918
  sk as ErrorComponent,
18919
- _3 as FilePreview,
18919
+ C3 as FilePreview,
18920
18920
  pe as Icon,
18921
18921
  Ri as Image,
18922
18922
  Bn as InputWrapper,
18923
18923
  rM as Label,
18924
- $3 as Link,
18925
- nV as ListItem,
18924
+ q3 as Link,
18925
+ rV as ListItem,
18926
18926
  uC as LocalesProvider,
18927
18927
  ej as NavigationBar,
18928
- sV as NumberField,
18928
+ lV as NumberField,
18929
18929
  nM as OptionItem,
18930
18930
  Zt as PAGE_PATH_NAME,
18931
18931
  x9 as Page,
18932
- q3 as PageLoading,
18932
+ z3 as PageLoading,
18933
18933
  Yj as Pagination,
18934
- aV as PhoneNumberField,
18934
+ sV as PhoneNumberField,
18935
18935
  C9 as PullToRefresh,
18936
- uV as Radio,
18937
- SV as Rating,
18936
+ fV as Radio,
18937
+ TV as Rating,
18938
18938
  _N as Router,
18939
18939
  v3 as SearchField,
18940
- Z3 as Section,
18941
- tV as SectionContent,
18942
- eV as SectionTitle,
18943
- wV as Seo,
18940
+ eV as Section,
18941
+ nV as SectionContent,
18942
+ tV as SectionTitle,
18943
+ SV as Seo,
18944
18944
  Th as SeoMetadataId,
18945
18945
  po as Sheet,
18946
18946
  mo as SheetBody,
18947
18947
  Ng as SheetFooter,
18948
18948
  go as SheetHeader,
18949
18949
  Ee as Skeleton,
18950
- oV as SkeletonParagraph,
18951
- iV as SkeletonTitle,
18952
- yV as Switch,
18953
- bV as TabBar,
18954
- hV as TextArea,
18950
+ aV as SkeletonParagraph,
18951
+ oV as SkeletonTitle,
18952
+ bV as Switch,
18953
+ wV as TabBar,
18954
+ pV as TextArea,
18955
18955
  lP as TextField,
18956
18956
  er as Toast,
18957
- TV as Tooltip,
18957
+ cA as ToastProvider,
18958
+ _V as Tooltip,
18958
18959
  te as Typography,
18959
- vV as Uploader,
18960
+ yV as Uploader,
18960
18961
  K_ as VisibilitySensor,
18961
18962
  M as classNames,
18962
18963
  aj as getDataTheme,
18963
18964
  jr as getInputProps,
18964
- D3 as getLanguage,
18965
+ R3 as getLanguage,
18965
18966
  H as getPrefixClassName,
18966
- R3 as getSystemLanguage,
18967
- I3 as iconNames,
18968
- xV as initLocales,
18967
+ L3 as getSystemLanguage,
18968
+ O3 as iconNames,
18969
+ AV as initLocales,
18969
18970
  jA as onSwipeNavigation,
18970
18971
  Xe as renderIcon,
18971
18972
  Be as routerEvents,
18972
18973
  pr as setDataTheme,
18973
- L3 as setLanguage,
18974
- O3 as t,
18975
- W3 as toggleDataTheme,
18974
+ N3 as setLanguage,
18975
+ D3 as t,
18976
+ Y3 as toggleDataTheme,
18976
18977
  ri as translate,
18977
- V3 as useAppPause,
18978
- B3 as useAppResume,
18978
+ B3 as useAppPause,
18979
+ F3 as useAppResume,
18979
18980
  FA as useAppState,
18980
18981
  ij as useBottomTabBar,
18981
18982
  Wj as useCarousel,
18982
- _V as useCustomIconEvent,
18983
+ CV as useCustomIconEvent,
18983
18984
  Sg as useDidHide,
18984
18985
  Tg as useDidShow,
18985
18986
  CN as useHistories,
18986
18987
  lo as useHistory,
18987
18988
  DE as useIsUsingLocales,
18988
18989
  OE as useLanguage,
18989
- G3 as useLoadMore,
18990
+ W3 as useLoadMore,
18990
18991
  Dr as useLocation,
18991
18992
  _g as useNavigate,
18992
18993
  tj as useNavigationBar,
18993
- F3 as useNavigationType,
18994
+ $3 as useNavigationType,
18994
18995
  uo as usePageLayout,
18995
- K3 as usePageScroll,
18996
- U3 as usePullToRefresh,
18997
- CV as useSettingsChanged,
18998
- M3 as useSwipeNavigation,
18996
+ G3 as usePageScroll,
18997
+ K3 as usePullToRefresh,
18998
+ xV as useSettingsChanged,
18999
+ V3 as useSwipeNavigation,
18999
19000
  fC as useTranslate
19000
19001
  };