@v-miniapp/ui-react 1.0.60 → 1.0.72

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 (492) hide show
  1. package/dist/_virtual/_cloneBuffer.js +4 -0
  2. package/dist/_virtual/_commonjsHelpers.js +8 -0
  3. package/dist/_virtual/_nodeUtil.js +4 -0
  4. package/dist/_virtual/cloneDeepWith.js +7 -0
  5. package/dist/_virtual/isBuffer.js +4 -0
  6. package/dist/_virtual/isObject.js +7 -0
  7. package/dist/_virtual/isSameOrAfter.js +7 -0
  8. package/dist/_virtual/isSameOrAfter2.js +4 -0
  9. package/dist/_virtual/isSameOrBefore.js +7 -0
  10. package/dist/_virtual/isSameOrBefore2.js +4 -0
  11. package/dist/_virtual/merge.js +7 -0
  12. package/dist/_virtual/omit.js +7 -0
  13. package/dist/_virtual/pick.js +7 -0
  14. package/dist/_virtual/throttle.js +7 -0
  15. package/dist/assets/icons/loader.svg.js +5 -0
  16. package/dist/assets/icons/placeholder.svg.js +5 -0
  17. package/dist/assets/images/broken-image.svg.js +5 -0
  18. package/dist/assets/images/default-error.png.js +4 -0
  19. package/dist/assets/images/image.svg.js +5 -0
  20. package/dist/components/ai-app/ai-app.d.ts +7 -0
  21. package/dist/components/ai-app/ai-app.js +20 -0
  22. package/dist/components/ai-app/index.d.ts +1 -0
  23. package/dist/components/alert/alert.js +76 -0
  24. package/dist/components/app/app.d.ts +1 -6
  25. package/dist/components/app/app.js +78 -0
  26. package/dist/components/app/app.store.d.ts +6 -0
  27. package/dist/components/app/app.store.js +8 -0
  28. package/dist/components/app/bottom-tab-bar-layout/hook.js +36 -0
  29. package/dist/components/app/bottom-tab-bar-layout/index.js +38 -0
  30. package/dist/components/app/bottom-tab-bar-layout/store.js +54 -0
  31. package/dist/components/app/data-theme.js +29 -0
  32. package/dist/components/app/navigation-bar-layout/hook.js +39 -0
  33. package/dist/components/app/navigation-bar-layout/index.js +46 -0
  34. package/dist/components/app/navigation-bar-layout/store.js +60 -0
  35. package/dist/components/app/page-layout/hook.js +62 -0
  36. package/dist/components/app/page-layout/index.js +21 -0
  37. package/dist/components/app/page-layout/store.js +52 -0
  38. package/dist/components/avatar/avatar.js +79 -0
  39. package/dist/components/badge/badge.js +40 -0
  40. package/dist/components/bottom-tab-bar/bottom-tab-bar.js +90 -0
  41. package/dist/components/button/button.const.js +7 -0
  42. package/dist/components/button/button.js +62 -0
  43. package/dist/components/calendar/calendar-range-sheet.js +66 -0
  44. package/dist/components/calendar/calendar-single-sheet.js +64 -0
  45. package/dist/components/calendar/calendar.js +16 -0
  46. package/dist/components/calendar/default-render.js +16 -0
  47. package/dist/components/calendar/range-picker.js +301 -0
  48. package/dist/components/calendar/single-picker.js +186 -0
  49. package/dist/components/calendar/utils.js +25 -0
  50. package/dist/components/carousel/carousel.js +47 -0
  51. package/dist/components/carousel/use-carousel.js +54 -0
  52. package/dist/components/checkbox/check-icon.js +23 -0
  53. package/dist/components/checkbox/checkbox.js +131 -0
  54. package/dist/components/checkbox/indeterminate-icon.js +20 -0
  55. package/dist/components/chip/chip.js +80 -0
  56. package/dist/components/date-field/date-field-range.js +153 -0
  57. package/dist/components/date-field/date-field.js +100 -0
  58. package/dist/components/date-field/input.js +53 -0
  59. package/dist/components/date-picker/date-picker-base.js +214 -0
  60. package/dist/components/date-picker/date-picker-item.js +69 -0
  61. package/dist/components/date-picker/date-picker-sheet.js +54 -0
  62. package/dist/components/date-picker/date-picker.constant.js +11 -0
  63. package/dist/components/date-picker/date-picker.js +76 -0
  64. package/dist/components/date-picker/date-picker.utils.js +58 -0
  65. package/dist/components/dialog/dialog.js +115 -0
  66. package/dist/components/dropdown/dropdown-base.js +22 -0
  67. package/dist/components/dropdown/dropdown.js +148 -0
  68. package/dist/components/error/error-boundary.js +28 -0
  69. package/dist/components/error/error.js +25 -0
  70. package/dist/components/icon/icon-mapping.js +260 -0
  71. package/dist/components/icon/icon.js +54 -0
  72. package/dist/components/image/image.js +70 -0
  73. package/dist/components/index.d.ts +1 -0
  74. package/dist/components/input-wrapper/input-wrapper.js +153 -0
  75. package/dist/components/label/label.js +58 -0
  76. package/dist/components/layout/page-loading.js +39 -0
  77. package/dist/components/layout/page.js +103 -0
  78. package/dist/components/list-item/list-item.js +36 -0
  79. package/dist/components/navigation-bar/navigation-bar.d.ts +1 -4
  80. package/dist/components/navigation-bar/navigation-bar.js +106 -0
  81. package/dist/components/number-field/number-field.js +162 -0
  82. package/dist/components/option-item/option-item.js +56 -0
  83. package/dist/components/pagination/pagination.js +20 -0
  84. package/dist/components/pull-to-refresh/pull-to-refresh.js +120 -0
  85. package/dist/components/radio/radio.js +72 -0
  86. package/dist/components/rating/rating.js +62 -0
  87. package/dist/components/rating/star.js +22 -0
  88. package/dist/components/search-field/search-field.js +40 -0
  89. package/dist/components/section/section-content.js +10 -0
  90. package/dist/components/section/section-title.js +32 -0
  91. package/dist/components/section/section.js +21 -0
  92. package/dist/components/seo/seo.js +18 -0
  93. package/dist/components/sheet/sheet-body.js +25 -0
  94. package/dist/components/sheet/sheet-footer.js +11 -0
  95. package/dist/components/sheet/sheet-header.js +52 -0
  96. package/dist/components/sheet/sheet.js +72 -0
  97. package/dist/components/skeleton/skeleton.js +50 -0
  98. package/dist/components/switch/switch.js +68 -0
  99. package/dist/components/tab-bar/tab-bar.js +130 -0
  100. package/dist/components/tab-bar/tab.js +55 -0
  101. package/dist/components/text-area/text-area.js +75 -0
  102. package/dist/components/text-field/text-field.js +63 -0
  103. package/dist/components/toast/index.d.ts +1 -0
  104. package/dist/components/toast/toast-provider.js +45 -0
  105. package/dist/components/toast/toast.js +66 -0
  106. package/dist/components/toast/toast.store.js +35 -0
  107. package/dist/components/tooltip/tooltip.js +43 -0
  108. package/dist/components/typography/typography.js +28 -0
  109. package/dist/components/uploader/helper.js +21 -0
  110. package/dist/components/uploader/uploader.js +93 -0
  111. package/dist/components/visibility-sensor/visibility-sensor.js +17 -0
  112. package/dist/docs/ui-react/icon-list-grid.d.ts +1 -0
  113. package/dist/external/index.js +13358 -13497
  114. package/dist/external/styles.css +1 -1
  115. package/dist/hooks/use-custom-icon-event.js +16 -0
  116. package/dist/hooks/use-settings-changed.js +16 -0
  117. package/dist/index.d.ts +1 -0
  118. package/dist/index.js +141 -7488
  119. package/dist/locales/en.json.js +30 -0
  120. package/dist/locales/index.d.ts +2 -0
  121. package/dist/locales/index.js +10 -0
  122. package/dist/locales/vi.json.js +30 -0
  123. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/isSameOrAfter.js +18 -0
  124. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/isSameOrBefore.js +18 -0
  125. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_DataView.js +12 -0
  126. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Hash.js +22 -0
  127. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_ListCache.js +22 -0
  128. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Map.js +12 -0
  129. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_MapCache.js +22 -0
  130. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Promise.js +12 -0
  131. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Set.js +12 -0
  132. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Stack.js +20 -0
  133. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Symbol.js +11 -0
  134. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Uint8Array.js +11 -0
  135. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_WeakMap.js +12 -0
  136. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_apply.js +22 -0
  137. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayEach.js +14 -0
  138. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayFilter.js +16 -0
  139. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayLikeKeys.js +26 -0
  140. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayMap.js +14 -0
  141. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayPush.js +14 -0
  142. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_assignMergeValue.js +15 -0
  143. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_assignValue.js +16 -0
  144. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_assocIndexOf.js +17 -0
  145. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseAssign.js +15 -0
  146. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseAssignIn.js +15 -0
  147. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseAssignValue.js +19 -0
  148. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseClone.js +70 -0
  149. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseCreate.js +23 -0
  150. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseFlatten.js +20 -0
  151. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseFor.js +11 -0
  152. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGet.js +18 -0
  153. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGetAllKeys.js +16 -0
  154. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGetTag.js +16 -0
  155. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseHasIn.js +12 -0
  156. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsArguments.js +15 -0
  157. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsMap.js +15 -0
  158. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsNative.js +22 -0
  159. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsSet.js +15 -0
  160. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsTypedArray.js +17 -0
  161. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseKeys.js +20 -0
  162. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseKeysIn.js +21 -0
  163. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseMerge.js +27 -0
  164. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseMergeDeep.js +38 -0
  165. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_basePick.js +17 -0
  166. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_basePickBy.js +20 -0
  167. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseRest.js +16 -0
  168. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseSet.js +31 -0
  169. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseSetToString.js +20 -0
  170. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseSlice.js +16 -0
  171. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseTimes.js +14 -0
  172. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseToString.js +24 -0
  173. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseTrim.js +14 -0
  174. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseUnary.js +14 -0
  175. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseUnset.js +34 -0
  176. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_castPath.js +17 -0
  177. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneArrayBuffer.js +15 -0
  178. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneBuffer.js +19 -0
  179. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneDataView.js +15 -0
  180. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneRegExp.js +14 -0
  181. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneSymbol.js +14 -0
  182. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneTypedArray.js +15 -0
  183. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_copyArray.js +15 -0
  184. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_copyObject.js +21 -0
  185. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_copySymbols.js +15 -0
  186. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_copySymbolsIn.js +15 -0
  187. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_coreJsData.js +11 -0
  188. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_createAssigner.js +22 -0
  189. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_createBaseFor.js +19 -0
  190. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_customOmitClone.js +14 -0
  191. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_defineProperty.js +17 -0
  192. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_flatRest.js +16 -0
  193. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_freeGlobal.js +11 -0
  194. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getAllKeys.js +16 -0
  195. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getAllKeysIn.js +16 -0
  196. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getMapData.js +15 -0
  197. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getNative.js +16 -0
  198. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getPrototype.js +11 -0
  199. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getRawTag.js +21 -0
  200. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getSymbols.js +16 -0
  201. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getSymbolsIn.js +18 -0
  202. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getTag.js +33 -0
  203. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getValue.js +12 -0
  204. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hasPath.js +26 -0
  205. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashClear.js +14 -0
  206. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashDelete.js +13 -0
  207. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashGet.js +19 -0
  208. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashHas.js +15 -0
  209. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashSet.js +15 -0
  210. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_initCloneArray.js +14 -0
  211. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_initCloneByTag.js +48 -0
  212. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_initCloneObject.js +16 -0
  213. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isFlattenable.js +16 -0
  214. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isIndex.js +14 -0
  215. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isIterateeCall.js +20 -0
  216. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isKey.js +18 -0
  217. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isKeyable.js +13 -0
  218. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isMasked.js +17 -0
  219. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isPrototype.js +14 -0
  220. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheClear.js +12 -0
  221. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheDelete.js +18 -0
  222. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheGet.js +15 -0
  223. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheHas.js +14 -0
  224. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheSet.js +15 -0
  225. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheClear.js +20 -0
  226. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheDelete.js +15 -0
  227. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheGet.js +14 -0
  228. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheHas.js +14 -0
  229. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheSet.js +15 -0
  230. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_memoizeCapped.js +17 -0
  231. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_nativeCreate.js +11 -0
  232. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_nativeKeys.js +11 -0
  233. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_nativeKeysIn.js +16 -0
  234. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_nodeUtil.js +19 -0
  235. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_objectToString.js +13 -0
  236. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_overArg.js +14 -0
  237. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_overRest.js +21 -0
  238. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_parent.js +15 -0
  239. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_root.js +11 -0
  240. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_safeGet.js +13 -0
  241. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_setToString.js +12 -0
  242. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_shortOut.js +22 -0
  243. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackClear.js +14 -0
  244. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackDelete.js +13 -0
  245. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackGet.js +12 -0
  246. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackHas.js +12 -0
  247. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackSet.js +23 -0
  248. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stringToPath.js +16 -0
  249. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_toKey.js +17 -0
  250. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_toSource.js +23 -0
  251. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_trimmedEndIndex.js +15 -0
  252. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/cloneDeepWith.js +14 -0
  253. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/constant.js +14 -0
  254. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/debounce.js +60 -0
  255. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/eq.js +12 -0
  256. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/flatten.js +15 -0
  257. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/hasIn.js +15 -0
  258. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/identity.js +12 -0
  259. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isArguments.js +16 -0
  260. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isArray.js +10 -0
  261. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isArrayLike.js +15 -0
  262. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isArrayLikeObject.js +15 -0
  263. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isBuffer.js +14 -0
  264. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isFunction.js +18 -0
  265. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isLength.js +13 -0
  266. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isMap.js +13 -0
  267. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObject.js +13 -0
  268. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObjectLike.js +12 -0
  269. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isPlainObject.js +22 -0
  270. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isSet.js +13 -0
  271. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isSymbol.js +15 -0
  272. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isTypedArray.js +13 -0
  273. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/keys.js +16 -0
  274. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/keysIn.js +16 -0
  275. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/last.js +13 -0
  276. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/memoize.js +23 -0
  277. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/merge.js +14 -0
  278. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/now.js +13 -0
  279. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/omit.js +29 -0
  280. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/pick.js +14 -0
  281. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/stubArray.js +12 -0
  282. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/stubFalse.js +12 -0
  283. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/throttle.js +22 -0
  284. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toNumber.js +28 -0
  285. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toPlainObject.js +15 -0
  286. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toString.js +14 -0
  287. package/dist/styles.css +1 -1
  288. package/dist/utils/bound.js +7 -0
  289. package/dist/utils/can-use-dom.js +4 -0
  290. package/dist/utils/classname.js +6 -0
  291. package/dist/utils/colors.gen.js +371 -0
  292. package/dist/utils/colors.js +8 -0
  293. package/dist/utils/convert-px.js +14 -0
  294. package/dist/utils/date.d.ts +2 -1
  295. package/dist/utils/date.js +9 -0
  296. package/dist/utils/deep-clone.js +10 -0
  297. package/dist/utils/dev-log.js +7 -0
  298. package/dist/utils/get-scroll-parent.js +20 -0
  299. package/dist/utils/is-dev.js +4 -0
  300. package/dist/utils/rubberband.js +11 -0
  301. package/dist/utils/sleep.js +4 -0
  302. package/dist/utils/supports-passive.js +15 -0
  303. package/dist/utils/to-css-length.js +6 -0
  304. package/dist/vsf/choose-image.js +14 -0
  305. package/dist-storybook/assets/AIApp-C4keJkW8.js +37 -0
  306. package/dist-storybook/assets/{App-CJxOxRXd.js → App-BkiRuUOF.js} +1 -1
  307. package/dist-storybook/assets/Color-6BZIO3FS-EdXZe4iv.js +1 -0
  308. package/dist-storybook/assets/{DEEPLINK-B5vUshJ4.js → DEEPLINK-CvpIbZVm.js} +1 -1
  309. package/dist-storybook/assets/DocsRenderer-LL677BLK-Ch7ovClC.js +2 -0
  310. package/dist-storybook/assets/{EVENTS-DIl-sE2t.js → EVENTS-Bnl2ehlm.js} +1 -1
  311. package/dist-storybook/assets/{GETTING_STARTED-CR4dG_o7.js → GETTING_STARTED-BYcN9hg3.js} +1 -1
  312. package/dist-storybook/assets/{GETTING_STARTED-CtonLhRi.js → GETTING_STARTED-BmHWFQQE.js} +1 -1
  313. package/dist-storybook/assets/GETTING_STARTED-C1AOB25Z.js +45 -0
  314. package/dist-storybook/assets/{GETTING_STARTED-CS2BpDsP.js → GETTING_STARTED-CBY9dL2_.js} +1 -1
  315. package/dist-storybook/assets/ICON-BaZgXbtw.js +6 -0
  316. package/dist-storybook/assets/ICON-CT1pTB1A.js +6 -0
  317. package/dist-storybook/assets/{INFINITE_SCROLL-BerukJIr.js → INFINITE_SCROLL-BJeWhgO7.js} +1 -1
  318. package/dist-storybook/assets/{LocalesProvider-CehS9yzW.js → LocalesProvider-CQEwtoq3.js} +1 -1
  319. package/dist-storybook/assets/{MIGRATE_DARKMODE_TO_THEME-CRf-7Wcz.js → MIGRATE_DARKMODE_TO_THEME-DCxXgvQC.js} +1 -1
  320. package/dist-storybook/assets/{MIGRATION_GUIDE-CRIHuXpT.js → MIGRATION_GUIDE-BN_V-xNj.js} +1 -1
  321. package/dist-storybook/assets/OVERVIEW-AI-CLWBzviY.js +35 -0
  322. package/dist-storybook/assets/{OVERVIEW-DayETux4.js → OVERVIEW-Byly3lQV.js} +1 -1
  323. package/dist-storybook/assets/{Router-CGsO5Wd_.js → Router-CO6rjSXr.js} +1 -1
  324. package/dist-storybook/assets/{TAILWIND_INTEGRATION-RPvFP-GI.js → TAILWIND_INTEGRATION-CpN4_fSu.js} +1 -1
  325. package/dist-storybook/assets/{THEME-C-pA_uq_.js → THEME-B9Y39f9D.js} +1 -1
  326. package/dist-storybook/assets/WithTooltip-65CFNBJE-D6J_7FjK.js +9 -0
  327. package/dist-storybook/assets/{alert.stories-CFBhdabd.js → alert.stories-CUItfPLn.js} +12 -12
  328. package/dist-storybook/assets/app.store-BJVKVv1J.js +1 -0
  329. package/dist-storybook/assets/avatar.stories-8_vV7Bb0.js +136 -0
  330. package/dist-storybook/assets/{axe-Cj9fkEY9.js → axe-4EaTvypG.js} +13 -13
  331. package/dist-storybook/assets/badge-Gh2kTOE3.js +1 -0
  332. package/dist-storybook/assets/{badge.stories-DhVKBE64.js → badge.stories-BXGAtgaV.js} +3 -3
  333. package/dist-storybook/assets/blocks-CB7UwFa4.js +758 -0
  334. package/dist-storybook/assets/bottom-tab-bar.stories-OrY-k1sb.js +280 -0
  335. package/dist-storybook/assets/button-BLW8SOpg.js +1 -0
  336. package/dist-storybook/assets/{button.stories-DgRH6oVV.js → button.stories--0kpp_af.js} +3 -3
  337. package/dist-storybook/assets/calendar-ySr-9cXG.js +1 -0
  338. package/dist-storybook/assets/{calendar.stories-B0K_T9ak.js → calendar.stories-4MQj1nsX.js} +1 -1
  339. package/dist-storybook/assets/carousel.stories-CMtljvBR.js +253 -0
  340. package/dist-storybook/assets/checkbox.stories-xYjsVg2X.js +201 -0
  341. package/dist-storybook/assets/{chip.stories-D0908ZyT.js → chip.stories-DYEfUGq3.js} +12 -12
  342. package/dist-storybook/assets/classname-Bl5epEs-.js +1 -0
  343. package/dist-storybook/assets/client-CN8vOzuD.js +9 -0
  344. package/dist-storybook/assets/{date-C1W0DfQy.js → date-DWIyMGld.js} +1 -1
  345. package/dist-storybook/assets/date-field.stories-5Tlzdpvr.js +129 -0
  346. package/dist-storybook/assets/date-picker-DeB43YU4.js +1 -0
  347. package/dist-storybook/assets/{date-picker.stories-Bahq3f1W.js → date-picker.stories-Shn-MmVG.js} +1 -1
  348. package/dist-storybook/assets/dialog.stories-DeNKN0oJ.js +212 -0
  349. package/dist-storybook/assets/dropdown.stories-Bqmu2_KM.js +449 -0
  350. package/dist-storybook/assets/{embla-carousel-react.esm-Pp2OIUrN.js → embla-carousel-react.esm-DOEAp-w3.js} +1 -1
  351. package/dist-storybook/assets/{en-Cs9O0XWn.js → en-IjeCvZ5U.js} +1 -1
  352. package/dist-storybook/assets/formatter-EIJCOSYU-DZLV30KU.js +1 -0
  353. package/dist-storybook/assets/icon-Cc9W858e.js +1 -0
  354. package/dist-storybook/assets/icon-list-grid-CSnpdoAW.js +1 -0
  355. package/dist-storybook/assets/{icon.stories-qg8UAHBM.js → icon.stories-DE484rTd.js} +3 -3
  356. package/dist-storybook/assets/iframe-BBKyXin_.css +1 -0
  357. package/dist-storybook/assets/iframe-Crg_lbde.js +1119 -0
  358. package/dist-storybook/assets/image-CB4oeTy-.js +9 -0
  359. package/dist-storybook/assets/{image.stories-sQtCaoL2.js → image.stories-BlYIb_Qu.js} +1 -1
  360. package/dist-storybook/assets/index-B24pfkXD.js +1 -0
  361. package/dist-storybook/assets/{index-1AHvPexM.js → index-CdnALcTP.js} +1 -1
  362. package/dist-storybook/assets/{index-DWjPAWoJ.js → index-hDlmuyu2.js} +1 -1
  363. package/dist-storybook/assets/input-wrapper-Gd3QJKqj.js +1 -0
  364. package/dist-storybook/assets/label-zfqCJTGJ.js +22 -0
  365. package/dist-storybook/assets/{label.stories-CCtGPDrS.js → label.stories-C-MVt-cu.js} +3 -3
  366. package/dist-storybook/assets/matchers-5TDFFDYO-HJu_DfWo.js +14 -0
  367. package/dist-storybook/assets/navigation-bar.stories-CZ-y3eDE.js +136 -0
  368. package/dist-storybook/assets/number-field.stories-BA0FySSU.js +167 -0
  369. package/dist-storybook/assets/omit-CRXr8Lio.js +1 -0
  370. package/dist-storybook/assets/option-item-DFWc14Up.js +1 -0
  371. package/dist-storybook/assets/{option-item.stories-ClUj8qVT.js → option-item.stories-DqA-ydWX.js} +3 -3
  372. package/dist-storybook/assets/pagination-CjgiVNvu.js +1 -0
  373. package/dist-storybook/assets/{pagination.stories-C9j6mE5z.js → pagination.stories-BsKHvdF4.js} +4 -4
  374. package/dist-storybook/assets/{radio.stories-D8_YUTw1.js → radio.stories-CBmxZRxo.js} +10 -10
  375. package/dist-storybook/assets/{rating.stories-BIftLeu2.js → rating.stories-CcdFtcNH.js} +9 -9
  376. package/dist-storybook/assets/react-18-D2tl8ksm.js +1 -0
  377. package/dist-storybook/assets/{react-zqqxT5R_.js → react-DO0-owxu.js} +1 -1
  378. package/dist-storybook/assets/search-field-zl4ROLfn.js +1 -0
  379. package/dist-storybook/assets/{search-field.stories-D1okdN8e.js → search-field.stories-DoclnxtC.js} +1 -1
  380. package/dist-storybook/assets/{section.stories-Cq5CY978.js → section.stories-Bqz_QgYp.js} +8 -8
  381. package/dist-storybook/assets/sheet-body-2dWL2AE5.js +1 -0
  382. package/dist-storybook/assets/sheet-footer-DuPhbVOb.js +1 -0
  383. package/dist-storybook/assets/{sheet.stories-DPcC0I5i.js → sheet.stories-CoXnt4LG.js} +4 -4
  384. package/dist-storybook/assets/skeleton-BVLpHxKT.js +1 -0
  385. package/dist-storybook/assets/{skeleton.stories-CD3J1XrJ.js → skeleton.stories-B-OfMZId.js} +3 -3
  386. package/dist-storybook/assets/{store-BmYgrUro.js → store-BwIebEt6.js} +5 -5
  387. package/dist-storybook/assets/{switch.stories-C5SDbdGL.js → switch.stories-D4PQjgbo.js} +9 -9
  388. package/dist-storybook/assets/syntaxhighlighter-ED5Y7EFY-BxRQp_WE.js +6 -0
  389. package/dist-storybook/assets/tab-bar.stories-BrcQMypS.js +164 -0
  390. package/dist-storybook/assets/{text-area.stories-3Z574UAD.js → text-area.stories-Bpaw2_4A.js} +10 -10
  391. package/dist-storybook/assets/text-field-CqJG0bIl.js +1 -0
  392. package/dist-storybook/assets/{text-field.stories-DzjpcKin.js → text-field.stories-PQoP3DbL.js} +1 -1
  393. package/dist-storybook/assets/toast.stories-DmPy9T3m.js +209 -0
  394. package/dist-storybook/assets/{tooltip.stories-DEnYdL1d.js → tooltip.stories-Be_kIaDc.js} +8 -8
  395. package/dist-storybook/assets/typography-CMIMyivt.js +1 -0
  396. package/dist-storybook/assets/{typography.stories-DWxFgTz3.js → typography.stories-DSt5W_AG.js} +3 -3
  397. package/dist-storybook/assets/uploader.stories-C5CmeXEk.js +65 -0
  398. package/dist-storybook/assets/{use-app-pause-CyjeIEPG.js → use-app-pause-_ycnhKwZ.js} +3 -3
  399. package/dist-storybook/assets/{use-app-resume-DntO6Rkm.js → use-app-resume-CWb2s-wo.js} +1 -1
  400. package/dist-storybook/assets/{use-bottom-tab-bar-Da7gjw6y.js → use-bottom-tab-bar--DRl-8c4.js} +1 -1
  401. package/dist-storybook/assets/{use-custom-icon-event-BEYPYrKY.js → use-custom-icon-event-BXcRPkLg.js} +1 -1
  402. package/dist-storybook/assets/{use-did-hide-Do-KOSzV.js → use-did-hide-LBcrwoUo.js} +1 -1
  403. package/dist-storybook/assets/{use-did-show-Bv9k7DdG.js → use-did-show-BXLstTgt.js} +1 -1
  404. package/dist-storybook/assets/{use-histories-Ci1HfRe-.js → use-histories-Cz7ncXaj.js} +1 -1
  405. package/dist-storybook/assets/{use-history-CkVE1jRy.js → use-history-B_w6SPwr.js} +1 -1
  406. package/dist-storybook/assets/{use-language-Bg-LzpzQ.js → use-language-D84C9QNT.js} +1 -1
  407. package/dist-storybook/assets/{use-load-more-eaC8W6Cc.js → use-load-more-Bb9YFkAE.js} +1 -1
  408. package/dist-storybook/assets/{use-location-BMrQnhPi.js → use-location-DnxJ5FvJ.js} +1 -1
  409. package/dist-storybook/assets/{use-navigate-BwwmhToy.js → use-navigate-OLqoL3vR.js} +3 -3
  410. package/dist-storybook/assets/{use-navigation-bar-DzgWeTpM.js → use-navigation-bar-D5BX6S-r.js} +15 -15
  411. package/dist-storybook/assets/{use-navigation-type-DNvXTqYH.js → use-navigation-type-Cq7T35ur.js} +1 -1
  412. package/dist-storybook/assets/{use-page-layout-BA2HvjAQ.js → use-page-layout-BrFRWwC6.js} +1 -1
  413. package/dist-storybook/assets/{use-page-scroll-D_gjlV-S.js → use-page-scroll-BZ8XiPza.js} +1 -1
  414. package/dist-storybook/assets/{use-pull-to-refresh-SZfswIA6.js → use-pull-to-refresh-BEjtxiFn.js} +1 -1
  415. package/dist-storybook/assets/{use-settings-changed-D2gdx5rD.js → use-settings-changed-UaQRSWAg.js} +1 -1
  416. package/dist-storybook/assets/{use-translate-BTC2AQ0k.js → use-translate-BO8E9Sde.js} +1 -1
  417. package/dist-storybook/iframe.html +58 -40
  418. package/dist-storybook/index.html +8 -16
  419. package/dist-storybook/index.json +1 -1
  420. package/dist-storybook/project.json +1 -1
  421. package/dist-storybook/sb-addons/a11y-2/manager-bundle.js +55 -3
  422. package/dist-storybook/sb-addons/docs-1/manager-bundle.js +1 -149
  423. package/dist-storybook/sb-addons/storybook-build-3/manager-bundle.js +19 -1
  424. package/dist-storybook/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +93 -436
  425. package/dist-storybook/sb-manager/globals-runtime.js +73307 -65142
  426. package/dist-storybook/sb-manager/globals.js +6 -16
  427. package/dist-storybook/sb-manager/manager-stores.js +23 -0
  428. package/dist-storybook/sb-manager/runtime.js +17679 -10455
  429. package/dist-storybook/stories-data.json +91 -27
  430. package/dist-storybook/vite-inject-mocker-entry.js +2 -2
  431. package/package.json +5 -5
  432. package/dist-storybook/assets/Color-AVL7NMMY-DwohVA43.js +0 -1
  433. package/dist-storybook/assets/DocsRenderer-PQXLIZUC-vNsl3A7z.js +0 -2
  434. package/dist-storybook/assets/_baseClone-4nOrhHpR.js +0 -1
  435. package/dist-storybook/assets/alert-D3VdqAYm.js +0 -1
  436. package/dist-storybook/assets/app-B__CxZQv.js +0 -1
  437. package/dist-storybook/assets/avatar-BVV1WSnD.js +0 -1
  438. package/dist-storybook/assets/avatar.stories-D0RA2Mhh.js +0 -136
  439. package/dist-storybook/assets/badge-DLt8CmDs.js +0 -1
  440. package/dist-storybook/assets/blocks-D4qvS4eZ.js +0 -1243
  441. package/dist-storybook/assets/bottom-tab-bar-UaYvPAic.js +0 -115
  442. package/dist-storybook/assets/bottom-tab-bar.stories--7Qh-68J.js +0 -186
  443. package/dist-storybook/assets/button-CbLEqALK.js +0 -1
  444. package/dist-storybook/assets/calendar-C7tiySn0.js +0 -1
  445. package/dist-storybook/assets/carousel-C1nQGnJZ.js +0 -37
  446. package/dist-storybook/assets/carousel.stories-C5d6yLzd.js +0 -217
  447. package/dist-storybook/assets/checkbox-Bs8ghsWP.js +0 -1
  448. package/dist-storybook/assets/checkbox.stories-CG74gIlt.js +0 -201
  449. package/dist-storybook/assets/chip-D4_ukvFv.js +0 -1
  450. package/dist-storybook/assets/date-field-range-DSAQp9qR.js +0 -1
  451. package/dist-storybook/assets/date-field.stories-Dx6-qeWT.js +0 -129
  452. package/dist-storybook/assets/date-picker--PiU9sOL.js +0 -1
  453. package/dist-storybook/assets/dialog-8K5u-kre.js +0 -1
  454. package/dist-storybook/assets/dialog.stories-BxYc78Eo.js +0 -212
  455. package/dist-storybook/assets/dropdown-BeoO7m-R.js +0 -247
  456. package/dist-storybook/assets/dropdown.stories-Bfhg63tZ.js +0 -200
  457. package/dist-storybook/assets/icon-CgGksgRS.js +0 -1
  458. package/dist-storybook/assets/iframe-BKfReaAn.css +0 -1
  459. package/dist-storybook/assets/iframe-C0PGuV5s.js +0 -1071
  460. package/dist-storybook/assets/image-BdsCB1je.js +0 -9
  461. package/dist-storybook/assets/index-BLzgbpm2.js +0 -1
  462. package/dist-storybook/assets/index-SzFZQQjs.js +0 -1
  463. package/dist-storybook/assets/input-wrapper-DkEl0Eih.js +0 -1
  464. package/dist-storybook/assets/label-CHVpMhb5.js +0 -27
  465. package/dist-storybook/assets/matchers-7Z3WT2CE-Dw4MQV_s.js +0 -14
  466. package/dist-storybook/assets/navigation-bar-TpF0DSXB.js +0 -79
  467. package/dist-storybook/assets/navigation-bar.stories-CNXAxMYL.js +0 -73
  468. package/dist-storybook/assets/number-field-CvCF5adO.js +0 -1
  469. package/dist-storybook/assets/number-field.stories-Dsb_eChm.js +0 -167
  470. package/dist-storybook/assets/omit-D04qL5V_.js +0 -1
  471. package/dist-storybook/assets/option-item-Bmby544G.js +0 -1
  472. package/dist-storybook/assets/pagination-MBP1YLhT.js +0 -1
  473. package/dist-storybook/assets/proxy-edvPwIiD.js +0 -1
  474. package/dist-storybook/assets/radio-DRPO7cjx.js +0 -1
  475. package/dist-storybook/assets/rating-CTv8C1tH.js +0 -1
  476. package/dist-storybook/assets/react-18-CacBUmwb.js +0 -9
  477. package/dist-storybook/assets/search-field-CophTGGH.js +0 -1
  478. package/dist-storybook/assets/section-content-dVOJuOaN.js +0 -1
  479. package/dist-storybook/assets/sheet-footer-BL2JAvmb.js +0 -1
  480. package/dist-storybook/assets/skeleton-CmGRbWqE.js +0 -1
  481. package/dist-storybook/assets/switch-Cc-NvT4X.js +0 -1
  482. package/dist-storybook/assets/tab-bar-DTyg7tFP.js +0 -31
  483. package/dist-storybook/assets/tab-bar.stories-zKrihgXo.js +0 -136
  484. package/dist-storybook/assets/text-area-WRb8Dkvn.js +0 -1
  485. package/dist-storybook/assets/text-field-DrODy0yz.js +0 -1
  486. package/dist-storybook/assets/toast-provider-ChNGFQlt.js +0 -9
  487. package/dist-storybook/assets/toast.stories-Zj4qfKO_.js +0 -201
  488. package/dist-storybook/assets/tooltip-CrxOWTXS.js +0 -1
  489. package/dist-storybook/assets/typography-BcLxefPi.js +0 -1
  490. package/dist-storybook/assets/uploader.stories-DQN8yjt-.js +0 -65
  491. package/dist-storybook/assets/visibility-sensor-FN9n9CLs.js +0 -1
  492. package/dist-storybook/sb-manager/globals-module-info.js +0 -799
@@ -1,4 +1,4 @@
1
- import{j as o}from"./iframe-C0PGuV5s.js";import{T as t}from"./typography-BcLxefPi.js";import{t as e}from"./store-BmYgrUro.js";import{T as c,S as l,M as g,P as m,a as d}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./colors-_6nFGM3e.js";import"./index-1AHvPexM.js";const f=()=>{const h=`
1
+ import{j as o}from"./iframe-Crg_lbde.js";import{T as t}from"./typography-CMIMyivt.js";import{t as e}from"./store-BwIebEt6.js";import{T as c,S as l,a as g,P as m,b as d}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./classname-Bl5epEs-.js";import"./colors-_6nFGM3e.js";import"./index-CdnALcTP.js";const f=()=>{const h=`
2
2
  ## ${e("common.table.title")}
3
3
 
4
4
  ### Typography
@@ -44,7 +44,7 @@ import{j as o}from"./iframe-C0PGuV5s.js";import{T as t}from"./typography-BcLxefP
44
44
  | \`'700'\` / \`'bold'\` | ${e("components.typography.weights.bold")} |
45
45
  | \`'800'\` | ${e("components.typography.weights.800")} |
46
46
  | \`'900'\` | ${e("components.typography.weights.900")} |
47
- `;return o.jsxs(o.Fragment,{children:[o.jsx(c,{}),o.jsx(l,{}),o.jsx(g,{children:e("components.typography.description")}),o.jsx(m,{}),o.jsx(g,{children:h}),o.jsx(d,{})]})},S={title:"Components/Typography",component:t,parameters:{layout:"padded",docs:{page:f}},tags:["autodocs"],argTypes:{component:{control:"select",options:["div","p","span","h1","h2","h3","h4","h5","h6"],description:e("components.typography.argTypes.componentDescription"),table:{type:{summary:"ElementType"},defaultValue:{summary:"div"}}},size:{control:"select",options:["inherit","5x-large","4x-large","3x-large","2x-large","x-large","large","base","small","x-small","2x-small","3x-small"],description:e("components.typography.argTypes.sizeDescription"),table:{type:{summary:"ITypographySize"},defaultValue:{summary:"inherit"}}},weight:{control:"select",options:["inherit","bold","semibold","medium","regular","100","200","300","400","500","600","700","800","900"],description:e("components.typography.argTypes.weightDescription"),table:{type:{summary:"ITypographyWeight"},defaultValue:{summary:"inherit"}}},color:{control:"text",description:e("components.typography.argTypes.colorDescription")+" (e.g., alias-object-primary) or CSS color value (e.g., #FF0000).",table:{type:{summary:"IColor"}}},className:{control:"text",description:e("components.typography.argTypes.classNameDescription"),table:{type:{summary:"string"}}},children:{control:"text",description:e("components.typography.argTypes.childrenDescription"),table:{type:{summary:"ReactNode"}}}}},s={name:e("components.typography.stories.default.name"),args:{children:e("components.typography.stories.default.text")}},r={name:e("components.typography.stories.differentSizes.name"),render:()=>o.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[o.jsx(t,{size:"3x-small",children:e("components.typography.stories.differentSizes.size3xSmall")}),o.jsx(t,{size:"2x-small",children:e("components.typography.stories.differentSizes.size2xSmall")}),o.jsx(t,{size:"x-small",children:e("components.typography.stories.differentSizes.sizeXSmall")}),o.jsx(t,{size:"small",children:e("components.typography.stories.differentSizes.sizeSmall")}),o.jsx(t,{size:"base",children:e("components.typography.stories.differentSizes.sizeBase")}),o.jsx(t,{size:"large",children:e("components.typography.stories.differentSizes.sizeLarge")}),o.jsx(t,{size:"x-large",children:e("components.typography.stories.differentSizes.sizeXLarge")}),o.jsx(t,{size:"2x-large",children:e("components.typography.stories.differentSizes.size2xLarge")}),o.jsx(t,{size:"3x-large",children:e("components.typography.stories.differentSizes.size3xLarge")}),o.jsx(t,{size:"4x-large",children:e("components.typography.stories.differentSizes.size4xLarge")}),o.jsx(t,{size:"5x-large",children:e("components.typography.stories.differentSizes.size5xLarge")})]})},p={name:e("components.typography.stories.differentWeights.name"),render:()=>o.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[o.jsx(t,{weight:"100",children:e("components.typography.stories.differentWeights.weight100")}),o.jsx(t,{weight:"200",children:e("components.typography.stories.differentWeights.weight200")}),o.jsx(t,{weight:"300",children:e("components.typography.stories.differentWeights.weight300")}),o.jsx(t,{weight:"400",children:e("components.typography.stories.differentWeights.weight400")}),o.jsx(t,{weight:"500",children:e("components.typography.stories.differentWeights.weight500")}),o.jsx(t,{weight:"600",children:e("components.typography.stories.differentWeights.weight600")}),o.jsx(t,{weight:"700",children:e("components.typography.stories.differentWeights.weight700")}),o.jsx(t,{weight:"800",children:e("components.typography.stories.differentWeights.weight800")}),o.jsx(t,{weight:"900",children:e("components.typography.stories.differentWeights.weight900")})]})},i={name:e("components.typography.stories.withColors.name"),render:()=>o.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[o.jsx(t,{color:"alias-object-primary",children:e("components.typography.stories.withColors.primary")}),o.jsx(t,{color:"alias-object-secondary",children:e("components.typography.stories.withColors.secondary")}),o.jsx(t,{color:"alias-object-tertiary",children:e("components.typography.stories.withColors.tertiary")}),o.jsx(t,{color:"alias-object-danger",children:e("components.typography.stories.withColors.danger")}),o.jsx(t,{color:"alias-object-success",children:e("components.typography.stories.withColors.success")})]})},n={name:e("components.typography.stories.asDifferentElements.name"),render:()=>o.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[o.jsx(t,{component:"h1",size:"4x-large",weight:"bold",children:e("components.typography.stories.asDifferentElements.heading1")}),o.jsx(t,{component:"h2",size:"3x-large",weight:"bold",children:e("components.typography.stories.asDifferentElements.heading2")}),o.jsx(t,{component:"h3",size:"2x-large",weight:"semibold",children:e("components.typography.stories.asDifferentElements.heading3")}),o.jsx(t,{component:"h4",size:"x-large",weight:"semibold",children:e("components.typography.stories.asDifferentElements.heading4")}),o.jsx(t,{component:"p",size:"base",children:e("components.typography.stories.asDifferentElements.paragraph")}),o.jsx(t,{component:"span",size:"small",children:e("components.typography.stories.asDifferentElements.span")})]})},a={render:()=>o.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"24px"},children:[o.jsx(t,{component:"h2",size:"x-large",weight:"bold",color:"alias-object-primary",children:e("components.typography.stories.completeExample.title")}),o.jsx(t,{component:"p",size:"base",weight:"regular",children:e("components.typography.stories.completeExample.paragraph")}),o.jsx(t,{component:"span",size:"small",weight:"medium",color:"#666666",children:e("components.typography.stories.completeExample.caption")})]})},y={name:e("components.typography.stories.interactive.name"),args:{children:e("components.typography.stories.interactive.text"),size:"base",weight:"regular",color:"alias-object-primary",component:"div"}};s.parameters={...s.parameters,docs:{...s.parameters?.docs,source:{originalSource:`{
47
+ `;return o.jsxs(o.Fragment,{children:[o.jsx(c,{}),o.jsx(l,{}),o.jsx(g,{children:e("components.typography.description")}),o.jsx(m,{}),o.jsx(g,{children:h}),o.jsx(d,{})]})},D={title:"Components/Typography",component:t,parameters:{layout:"padded",docs:{page:f}},tags:["autodocs"],argTypes:{component:{control:"select",options:["div","p","span","h1","h2","h3","h4","h5","h6"],description:e("components.typography.argTypes.componentDescription"),table:{type:{summary:"ElementType"},defaultValue:{summary:"div"}}},size:{control:"select",options:["inherit","5x-large","4x-large","3x-large","2x-large","x-large","large","base","small","x-small","2x-small","3x-small"],description:e("components.typography.argTypes.sizeDescription"),table:{type:{summary:"ITypographySize"},defaultValue:{summary:"inherit"}}},weight:{control:"select",options:["inherit","bold","semibold","medium","regular","100","200","300","400","500","600","700","800","900"],description:e("components.typography.argTypes.weightDescription"),table:{type:{summary:"ITypographyWeight"},defaultValue:{summary:"inherit"}}},color:{control:"text",description:e("components.typography.argTypes.colorDescription")+" (e.g., alias-object-primary) or CSS color value (e.g., #FF0000).",table:{type:{summary:"IColor"}}},className:{control:"text",description:e("components.typography.argTypes.classNameDescription"),table:{type:{summary:"string"}}},children:{control:"text",description:e("components.typography.argTypes.childrenDescription"),table:{type:{summary:"ReactNode"}}}}},s={name:e("components.typography.stories.default.name"),args:{children:e("components.typography.stories.default.text")}},r={name:e("components.typography.stories.differentSizes.name"),render:()=>o.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[o.jsx(t,{size:"3x-small",children:e("components.typography.stories.differentSizes.size3xSmall")}),o.jsx(t,{size:"2x-small",children:e("components.typography.stories.differentSizes.size2xSmall")}),o.jsx(t,{size:"x-small",children:e("components.typography.stories.differentSizes.sizeXSmall")}),o.jsx(t,{size:"small",children:e("components.typography.stories.differentSizes.sizeSmall")}),o.jsx(t,{size:"base",children:e("components.typography.stories.differentSizes.sizeBase")}),o.jsx(t,{size:"large",children:e("components.typography.stories.differentSizes.sizeLarge")}),o.jsx(t,{size:"x-large",children:e("components.typography.stories.differentSizes.sizeXLarge")}),o.jsx(t,{size:"2x-large",children:e("components.typography.stories.differentSizes.size2xLarge")}),o.jsx(t,{size:"3x-large",children:e("components.typography.stories.differentSizes.size3xLarge")}),o.jsx(t,{size:"4x-large",children:e("components.typography.stories.differentSizes.size4xLarge")}),o.jsx(t,{size:"5x-large",children:e("components.typography.stories.differentSizes.size5xLarge")})]})},p={name:e("components.typography.stories.differentWeights.name"),render:()=>o.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[o.jsx(t,{weight:"100",children:e("components.typography.stories.differentWeights.weight100")}),o.jsx(t,{weight:"200",children:e("components.typography.stories.differentWeights.weight200")}),o.jsx(t,{weight:"300",children:e("components.typography.stories.differentWeights.weight300")}),o.jsx(t,{weight:"400",children:e("components.typography.stories.differentWeights.weight400")}),o.jsx(t,{weight:"500",children:e("components.typography.stories.differentWeights.weight500")}),o.jsx(t,{weight:"600",children:e("components.typography.stories.differentWeights.weight600")}),o.jsx(t,{weight:"700",children:e("components.typography.stories.differentWeights.weight700")}),o.jsx(t,{weight:"800",children:e("components.typography.stories.differentWeights.weight800")}),o.jsx(t,{weight:"900",children:e("components.typography.stories.differentWeights.weight900")})]})},i={name:e("components.typography.stories.withColors.name"),render:()=>o.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[o.jsx(t,{color:"alias-object-primary",children:e("components.typography.stories.withColors.primary")}),o.jsx(t,{color:"alias-object-secondary",children:e("components.typography.stories.withColors.secondary")}),o.jsx(t,{color:"alias-object-tertiary",children:e("components.typography.stories.withColors.tertiary")}),o.jsx(t,{color:"alias-object-danger",children:e("components.typography.stories.withColors.danger")}),o.jsx(t,{color:"alias-object-success",children:e("components.typography.stories.withColors.success")})]})},n={name:e("components.typography.stories.asDifferentElements.name"),render:()=>o.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[o.jsx(t,{component:"h1",size:"4x-large",weight:"bold",children:e("components.typography.stories.asDifferentElements.heading1")}),o.jsx(t,{component:"h2",size:"3x-large",weight:"bold",children:e("components.typography.stories.asDifferentElements.heading2")}),o.jsx(t,{component:"h3",size:"2x-large",weight:"semibold",children:e("components.typography.stories.asDifferentElements.heading3")}),o.jsx(t,{component:"h4",size:"x-large",weight:"semibold",children:e("components.typography.stories.asDifferentElements.heading4")}),o.jsx(t,{component:"p",size:"base",children:e("components.typography.stories.asDifferentElements.paragraph")}),o.jsx(t,{component:"span",size:"small",children:e("components.typography.stories.asDifferentElements.span")})]})},a={render:()=>o.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"24px"},children:[o.jsx(t,{component:"h2",size:"x-large",weight:"bold",color:"alias-object-primary",children:e("components.typography.stories.completeExample.title")}),o.jsx(t,{component:"p",size:"base",weight:"regular",children:e("components.typography.stories.completeExample.paragraph")}),o.jsx(t,{component:"span",size:"small",weight:"medium",color:"#666666",children:e("components.typography.stories.completeExample.caption")})]})},y={name:e("components.typography.stories.interactive.name"),args:{children:e("components.typography.stories.interactive.text"),size:"base",weight:"regular",color:"alias-object-primary",component:"div"}};s.parameters={...s.parameters,docs:{...s.parameters?.docs,source:{originalSource:`{
48
48
  name: t('components.typography.stories.default.name'),
49
49
  args: {
50
50
  children: t('components.typography.stories.default.text')
@@ -199,4 +199,4 @@ import{j as o}from"./iframe-C0PGuV5s.js";import{T as t}from"./typography-BcLxefP
199
199
  color: 'alias-object-primary',
200
200
  component: 'div'
201
201
  }
202
- }`,...y.parameters?.docs?.source}}};const D=["Default","DifferentSizes","DifferentWeights","WithColors","AsDifferentElements","CompleteExample","Interactive"];export{n as AsDifferentElements,a as CompleteExample,s as Default,r as DifferentSizes,p as DifferentWeights,y as Interactive,i as WithColors,D as __namedExportsOrder,S as default};
202
+ }`,...y.parameters?.docs?.source}}};const $=["Default","DifferentSizes","DifferentWeights","WithColors","AsDifferentElements","CompleteExample","Interactive"];export{n as AsDifferentElements,a as CompleteExample,s as Default,r as DifferentSizes,p as DifferentWeights,y as Interactive,i as WithColors,$ as __namedExportsOrder,D as default};
@@ -0,0 +1,65 @@
1
+ import{r as x,j as o}from"./iframe-Crg_lbde.js";import{c as N,g as U}from"./classname-Bl5epEs-.js";import{u as k}from"./index-hDlmuyu2.js";import{I as P}from"./icon-Cc9W858e.js";import{I as E}from"./image-CB4oeTy-.js";import{t as e}from"./store-BwIebEt6.js";import{T as W,S as z,a as j,P as B,b as L}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-B-Ksafg0.js";import"./colors-_6nFGM3e.js";import"./index-CdnALcTP.js";const R=(s={})=>new Promise((r,l)=>{vsf.chooseImage({...s,success:n=>{r(n)},fail:n=>{l(n)}})});async function q(s){try{const{count:r=1}=s||{},l=await R({count:r,includeBase64:!0}),n=[];return(l.tempFiles||[]).forEach(p=>{if(!p.data)return;const m={tempFile:p};n.push(m)}),n}catch(r){return console.error("Failed to upload image",r),[]}}const a=U("uploader"),F=({limit:s,disabled:r,showPreview:l,className:n,includeBase64:$,value:p,onChange:m,...S})=>{const[D,d]=k({...p!==void 0&&{value:p},...m!==void 0&&{onChange:m}},{defaultValue:[],trigger:"onChange"}),C=x.useCallback(async()=>{if(r||s&&(D??[]).length>=s)return;const t=await q({includeBase64:$});d(c=>{const i=[...c??[]];return t.forEach(_=>{s&&i.length>=s||i.unshift(_)}),i})},[s,r,$,D,d]),I=x.useCallback(t=>{d(c=>{const i=[...c];return i.splice(t,1),i})},[d]);return o.jsxs("div",{...S,className:N(a,{[`${a}--disabled`]:r},n),children:[o.jsx("div",{className:`${a}__trigger`,onClick:C,children:o.jsx(P,{name:"plus",type:"outline",size:40,color:r?"alias-object-disabled":"global-neutral-neutral-50"})}),l&&o.jsx("div",{className:`${a}__preview-list`,children:[...D??[]].reverse().map((t,c)=>o.jsx(T,{previewSrc:t.tempFile.data,onDelete:()=>I(c)},t.tempFile.path))})]})},T=({previewSrc:s,onDelete:r})=>o.jsxs("div",{className:`${a}__preview-item`,children:[o.jsx(E,{className:`${a}__preview-image`,fit:"cover",src:s}),o.jsx("div",{className:`${a}__delete-button`,onClick:r,children:o.jsx(P,{name:"xmark",size:16,color:"white"})})]});F.__docgenInfo={description:"",methods:[],displayName:"Uploader"};T.__docgenInfo={description:"",methods:[],displayName:"FilePreview",props:{previewSrc:{required:!1,tsType:{name:"string"},description:""},onDelete:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""}}};const M=()=>{const s=`
2
+ ## ${e("common.table.title")}
3
+ | ${e("common.table.name")} | ${e("common.table.type")} | ${e("common.table.required")} | ${e("common.table.description")} |
4
+ | :--- | :--- | :---: | :--- |
5
+ | \`value\` | \`IFileUpload[]\` | ${e("common.table.no")} | ${e("components.uploader.argTypes.valueDescription")} |
6
+ | \`onChange\` | \`(files: IFileUpload[]) => void\` | ${e("common.table.no")} | ${e("components.uploader.argTypes.onChangeDescription")} |
7
+ | \`limit\` | \`number\` | ${e("common.table.no")} | ${e("components.uploader.argTypes.limitDescription")} |
8
+ | \`disabled\` | \`boolean\` | ${e("common.table.no")} | ${e("components.uploader.argTypes.disabledDescription")} |
9
+ | \`showPreview\` | \`boolean\` | ${e("common.table.no")} | ${e("components.uploader.argTypes.showPreviewDescription")} |
10
+ | \`includeBase64\` | \`boolean\` | ${e("common.table.no")} | ${e("components.uploader.argTypes.includeBase64Description")} |
11
+ | \`className\` | \`string\` | ${e("common.table.no")} | ${e("components.uploader.argTypes.classNameDescription")} |
12
+ | \`...props\` | \`ComponentPropsWithRef<'div'>\` | ${e("common.table.no")} | ${e("components.uploader.argTypes.propsDescription")} |
13
+ `;return o.jsxs(o.Fragment,{children:[o.jsx(W,{}),o.jsx(z,{}),o.jsx(j,{children:e("components.uploader.description")}),o.jsx(B,{}),o.jsx(j,{children:s}),o.jsx(L,{})]})},ee={title:"Components/Uploader",component:F,parameters:{layout:"padded",docs:{page:M}},tags:["autodocs"],argTypes:{value:{control:!1,description:e("components.uploader.argTypes.valueDescription"),table:{type:{summary:"IFileUpload[]"}}},onChange:{action:"changed",description:e("components.uploader.argTypes.onChangeDescription"),table:{type:{summary:"(files: IFileUpload[]) => void"}}},limit:{control:{type:"number",min:1,max:10,step:1},description:e("components.uploader.argTypes.limitDescription"),table:{type:{summary:"number"}}},disabled:{control:"boolean",description:e("components.uploader.argTypes.disabledDescription"),table:{type:{summary:"boolean"}}},showPreview:{control:"boolean",description:e("components.uploader.argTypes.showPreviewDescription"),table:{type:{summary:"boolean"}}},includeBase64:{control:"boolean",description:e("components.uploader.argTypes.includeBase64Description"),table:{type:{summary:"boolean"}}},className:{control:"text",description:e("components.uploader.argTypes.classNameDescription"),table:{type:{summary:"string"}}}}},u={name:e("components.uploader.stories.default.name"),args:{}},g={name:e("components.uploader.stories.controlled.name"),render:()=>{const[s,r]=x.useState([]);return o.jsx(F,{value:s,onChange:r})}},h={name:e("components.uploader.stories.withLimit.name"),args:{limit:3}},v={name:e("components.uploader.stories.withPreview.name"),args:{showPreview:!0}},b={name:e("components.uploader.stories.disabled.name"),args:{disabled:!0}},w={name:e("components.uploader.stories.singleFile.name"),args:{limit:1,showPreview:!0}},f={name:e("components.uploader.stories.multipleFiles.name"),args:{limit:5,showPreview:!0}},y={name:e("components.uploader.stories.interactive.name"),render:()=>{const[s,r]=x.useState([]);return o.jsxs("div",{children:[o.jsx(F,{value:s,onChange:r,showPreview:!0,limit:3}),o.jsx("p",{style:{marginTop:"16px",fontSize:"14px"},children:e("components.uploader.stories.interactive.filesUploaded",{count:s.length})})]})}};u.parameters={...u.parameters,docs:{...u.parameters?.docs,source:{originalSource:`{
14
+ name: t('components.uploader.stories.default.name'),
15
+ args: {}
16
+ }`,...u.parameters?.docs?.source}}};g.parameters={...g.parameters,docs:{...g.parameters?.docs,source:{originalSource:`{
17
+ name: t('components.uploader.stories.controlled.name'),
18
+ render: () => {
19
+ const [files, setFiles] = useState<IFileUpload[]>([]);
20
+ return <Uploader value={files} onChange={setFiles} />;
21
+ }
22
+ }`,...g.parameters?.docs?.source}}};h.parameters={...h.parameters,docs:{...h.parameters?.docs,source:{originalSource:`{
23
+ name: t('components.uploader.stories.withLimit.name'),
24
+ args: {
25
+ limit: 3
26
+ }
27
+ }`,...h.parameters?.docs?.source}}};v.parameters={...v.parameters,docs:{...v.parameters?.docs,source:{originalSource:`{
28
+ name: t('components.uploader.stories.withPreview.name'),
29
+ args: {
30
+ showPreview: true
31
+ }
32
+ }`,...v.parameters?.docs?.source}}};b.parameters={...b.parameters,docs:{...b.parameters?.docs,source:{originalSource:`{
33
+ name: t('components.uploader.stories.disabled.name'),
34
+ args: {
35
+ disabled: true
36
+ }
37
+ }`,...b.parameters?.docs?.source}}};w.parameters={...w.parameters,docs:{...w.parameters?.docs,source:{originalSource:`{
38
+ name: t('components.uploader.stories.singleFile.name'),
39
+ args: {
40
+ limit: 1,
41
+ showPreview: true
42
+ }
43
+ }`,...w.parameters?.docs?.source}}};f.parameters={...f.parameters,docs:{...f.parameters?.docs,source:{originalSource:`{
44
+ name: t('components.uploader.stories.multipleFiles.name'),
45
+ args: {
46
+ limit: 5,
47
+ showPreview: true
48
+ }
49
+ }`,...f.parameters?.docs?.source}}};y.parameters={...y.parameters,docs:{...y.parameters?.docs,source:{originalSource:`{
50
+ name: t('components.uploader.stories.interactive.name'),
51
+ render: () => {
52
+ const [files, setFiles] = useState<IFileUpload[]>([]);
53
+ return <div>
54
+ <Uploader value={files} onChange={setFiles} showPreview limit={3} />
55
+ <p style={{
56
+ marginTop: '16px',
57
+ fontSize: '14px'
58
+ }}>
59
+ {t('components.uploader.stories.interactive.filesUploaded', {
60
+ count: files.length
61
+ })}
62
+ </p>
63
+ </div>;
64
+ }
65
+ }`,...y.parameters?.docs?.source}}};const oe=["Default","Controlled","WithLimit","WithPreview","Disabled","SingleFile","MultipleFiles","Interactive"];export{g as Controlled,u as Default,b as Disabled,y as Interactive,f as MultipleFiles,w as SingleFile,h as WithLimit,v as WithPreview,oe as __namedExportsOrder,ee as default};
@@ -1,6 +1,6 @@
1
- import{j as e}from"./iframe-C0PGuV5s.js";import{useMDXComponents as t}from"./index-SzFZQQjs.js";import{b as a,M as p}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./index-1AHvPexM.js";function r(s){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...t(),...s.components};return e.jsxs(e.Fragment,{children:[`
1
+ import{j as e}from"./iframe-Crg_lbde.js";import{useMDXComponents as a}from"./index-B24pfkXD.js";import{M as t,a as p}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";function r(s){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...a(),...s.components};return e.jsxs(e.Fragment,{children:[`
2
2
  `,`
3
- `,e.jsx(a,{title:"Router/useAppPause"}),`
3
+ `,e.jsx(t,{title:"Router/useAppPause"}),`
4
4
  `,e.jsx(n.h1,{id:"useapppause",children:"useAppPause"}),`
5
5
  `,e.jsxs(n.p,{children:["Hook đăng ký callback khi ",e.jsx(n.strong,{children:"app bị pause"})," (vào nền). Lắng nghe event khi v-app chuyển về chế độ background"]}),`
6
6
  `,e.jsx(n.h2,{id:"import",children:"Import"}),`
@@ -18,4 +18,4 @@ const MyPage = () => {
18
18
  }
19
19
  `})}),`
20
20
  `,e.jsx(n.h2,{id:"parameters",children:"Parameters"}),`
21
- `,e.jsx(p,{children:"\n| Tham số | Kiểu | Mô tả |\n| :--- | :--- | :--- |\n| `onPause` | `() => void` | Callback được gọi khi app pause. Bắt buộc. |\n"})]})}function h(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(r,{...s})}):r(s)}export{h as default};
21
+ `,e.jsx(p,{children:"\n| Tham số | Kiểu | Mô tả |\n| :--- | :--- | :--- |\n| `onPause` | `() => void` | Callback được gọi khi app pause. Bắt buộc. |\n"})]})}function h(s={}){const{wrapper:n}={...a(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(r,{...s})}):r(s)}export{h as default};
@@ -1,4 +1,4 @@
1
- import{j as e}from"./iframe-C0PGuV5s.js";import{useMDXComponents as t}from"./index-SzFZQQjs.js";import{b as o,M as p}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./index-1AHvPexM.js";function s(r){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...t(),...r.components};return e.jsxs(e.Fragment,{children:[`
1
+ import{j as e}from"./iframe-Crg_lbde.js";import{useMDXComponents as t}from"./index-B24pfkXD.js";import{M as o,a as p}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";function s(r){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...t(),...r.components};return e.jsxs(e.Fragment,{children:[`
2
2
  `,`
3
3
  `,e.jsx(o,{title:"Router/useAppResume"}),`
4
4
  `,e.jsx(n.h1,{id:"useappresume",children:"useAppResume"}),`
@@ -1,4 +1,4 @@
1
- import{j as t}from"./iframe-C0PGuV5s.js";import{useMDXComponents as a}from"./index-SzFZQQjs.js";import{b as r,M as i}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./index-1AHvPexM.js";function o(n){const e={code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...a(),...n.components};return t.jsxs(t.Fragment,{children:[`
1
+ import{j as t}from"./iframe-Crg_lbde.js";import{useMDXComponents as a}from"./index-B24pfkXD.js";import{M as r,a as i}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";function o(n){const e={code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...a(),...n.components};return t.jsxs(t.Fragment,{children:[`
2
2
  `,`
3
3
  `,t.jsx(r,{title:"UI React/useBottomTabBar"}),`
4
4
  `,t.jsx(e.h1,{id:"usebottomtabbar",children:"useBottomTabBar"}),`
@@ -1,4 +1,4 @@
1
- import{j as n}from"./iframe-C0PGuV5s.js";import{useMDXComponents as i}from"./index-SzFZQQjs.js";import{b as c,M as s}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./index-1AHvPexM.js";function t(o){const e={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...i(),...o.components};return n.jsxs(n.Fragment,{children:[`
1
+ import{j as n}from"./iframe-Crg_lbde.js";import{useMDXComponents as i}from"./index-B24pfkXD.js";import{M as c,a as s}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";function t(o){const e={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...i(),...o.components};return n.jsxs(n.Fragment,{children:[`
2
2
  `,`
3
3
  `,n.jsx(c,{title:"UI React/useCustomIconEvent"}),`
4
4
  `,n.jsx(e.h1,{id:"usecustomiconevent",children:"useCustomIconEvent"}),`
@@ -1,4 +1,4 @@
1
- import{j as e}from"./iframe-C0PGuV5s.js";import{useMDXComponents as s}from"./index-SzFZQQjs.js";import{b as o,M as d}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./index-1AHvPexM.js";function r(i){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...s(),...i.components};return e.jsxs(e.Fragment,{children:[`
1
+ import{j as e}from"./iframe-Crg_lbde.js";import{useMDXComponents as s}from"./index-B24pfkXD.js";import{M as o,a as d}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";function r(i){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...s(),...i.components};return e.jsxs(e.Fragment,{children:[`
2
2
  `,`
3
3
  `,e.jsx(o,{title:"Router/useDidHide"}),`
4
4
  `,e.jsx(n.h1,{id:"usedidhide",children:"useDidHide"}),`
@@ -1,4 +1,4 @@
1
- import{j as n}from"./iframe-C0PGuV5s.js";import{useMDXComponents as r}from"./index-SzFZQQjs.js";import{b as s,M as t}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./index-1AHvPexM.js";function o(i){const e={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...r(),...i.components};return n.jsxs(n.Fragment,{children:[`
1
+ import{j as n}from"./iframe-Crg_lbde.js";import{useMDXComponents as r}from"./index-B24pfkXD.js";import{M as s,a as t}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";function o(i){const e={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...r(),...i.components};return n.jsxs(n.Fragment,{children:[`
2
2
  `,`
3
3
  `,n.jsx(s,{title:"Router/useDidShow"}),`
4
4
  `,n.jsx(e.h1,{id:"usedidshow",children:"useDidShow"}),`
@@ -1,4 +1,4 @@
1
- import{j as n}from"./iframe-C0PGuV5s.js";import{useMDXComponents as r}from"./index-SzFZQQjs.js";import{b as i}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./index-1AHvPexM.js";function t(s){const e={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...r(),...s.components};return n.jsxs(n.Fragment,{children:[`
1
+ import{j as n}from"./iframe-Crg_lbde.js";import{useMDXComponents as r}from"./index-B24pfkXD.js";import{M as i}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";function t(s){const e={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...r(),...s.components};return n.jsxs(n.Fragment,{children:[`
2
2
  `,`
3
3
  `,n.jsx(i,{title:"Router/useHistories"}),`
4
4
  `,n.jsx(e.h1,{id:"usehistories",children:"useHistories"}),`
@@ -1,4 +1,4 @@
1
- import{j as n}from"./iframe-C0PGuV5s.js";import{useMDXComponents as o}from"./index-SzFZQQjs.js";import{b as i,M as s}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./index-1AHvPexM.js";function e(r){const t={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...o(),...r.components};return n.jsxs(n.Fragment,{children:[`
1
+ import{j as n}from"./iframe-Crg_lbde.js";import{useMDXComponents as o}from"./index-B24pfkXD.js";import{M as i,a as s}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";function e(r){const t={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...o(),...r.components};return n.jsxs(n.Fragment,{children:[`
2
2
  `,`
3
3
  `,n.jsx(i,{title:"Router/useHistory"}),`
4
4
  `,n.jsx(t.h1,{id:"usehistory",children:"useHistory"}),`
@@ -1,4 +1,4 @@
1
- import{j as n}from"./iframe-C0PGuV5s.js";import{useMDXComponents as s}from"./index-SzFZQQjs.js";import{b as t,M as i}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./index-1AHvPexM.js";function a(g){const e={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",strong:"strong",...s(),...g.components};return n.jsxs(n.Fragment,{children:[`
1
+ import{j as n}from"./iframe-Crg_lbde.js";import{useMDXComponents as s}from"./index-B24pfkXD.js";import{M as t,a as i}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";function a(g){const e={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",strong:"strong",...s(),...g.components};return n.jsxs(n.Fragment,{children:[`
2
2
  `,`
3
3
  `,n.jsx(t,{title:"Locale/useLanguage"}),`
4
4
  `,n.jsx(e.h1,{id:"uselanguage",children:"useLanguage"}),`
@@ -1,4 +1,4 @@
1
- import{j as e}from"./iframe-C0PGuV5s.js";import{useMDXComponents as r}from"./index-SzFZQQjs.js";import{b as s,M as o}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./index-1AHvPexM.js";function t(i){const n={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...r(),...i.components};return e.jsxs(e.Fragment,{children:[`
1
+ import{j as e}from"./iframe-Crg_lbde.js";import{useMDXComponents as r}from"./index-B24pfkXD.js";import{M as s,a as o}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";function t(i){const n={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...r(),...i.components};return e.jsxs(e.Fragment,{children:[`
2
2
  `,`
3
3
  `,e.jsx(s,{title:"UI React/useLoadMore"}),`
4
4
  `,e.jsx(n.h1,{id:"useloadmore",children:"useLoadMore"}),`
@@ -1,4 +1,4 @@
1
- import{j as n}from"./iframe-C0PGuV5s.js";import{useMDXComponents as i}from"./index-SzFZQQjs.js";import{b as r,M as s}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./index-1AHvPexM.js";function o(e){const t={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...i(),...e.components};return n.jsxs(n.Fragment,{children:[`
1
+ import{j as n}from"./iframe-Crg_lbde.js";import{useMDXComponents as i}from"./index-B24pfkXD.js";import{M as r,a as s}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";function o(e){const t={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...i(),...e.components};return n.jsxs(n.Fragment,{children:[`
2
2
  `,`
3
3
  `,n.jsx(r,{title:"Router/useLocation"}),`
4
4
  `,n.jsx(t.h1,{id:"uselocation",children:"useLocation"}),`
@@ -1,4 +1,4 @@
1
- import{j as n}from"./iframe-C0PGuV5s.js";import{useMDXComponents as r}from"./index-SzFZQQjs.js";import{b as s,M as a}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./index-1AHvPexM.js";function i(t){const e={code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...r(),...t.components};return n.jsxs(n.Fragment,{children:[`
1
+ import{j as n}from"./iframe-Crg_lbde.js";import{useMDXComponents as r}from"./index-B24pfkXD.js";import{M as s,a as t}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";function i(a){const e={code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...r(),...a.components};return n.jsxs(n.Fragment,{children:[`
2
2
  `,`
3
3
  `,n.jsx(s,{title:"Router/useNavigate"}),`
4
4
  `,n.jsx(e.h1,{id:"usenavigate",children:"useNavigate"}),`
@@ -31,6 +31,6 @@ navigate(1) // Forward 1 page
31
31
  navigate(-1, { animation: { type: 'none' } })
32
32
  `})}),`
33
33
  `,n.jsx(e.h2,{id:"inavigatepathnameoptions",children:"INavigatePathnameOptions"}),`
34
- `,n.jsx(a,{children:"\n| Option | Kiểu | Mô tả |\n| :--- | :--- | :--- |\n| `replace` | `boolean` | `true`: thay thế entry hiện tại thay vì push mới |\n| `params` | `Record&lt;string, string&gt;` | Query params (xuất hiện trên URL) |\n| `state` | `any` | State gửi kèm (không lên URL), lưu trong history |\n| Các thuộc tính `IRouterPageState` | - | Override animation, keepAlive, Layouts, v.v. cho page đích |\n"}),`
34
+ `,n.jsx(t,{children:"\n| Option | Kiểu | Mô tả |\n| :--- | :--- | :--- |\n| `replace` | `boolean` | `true`: thay thế entry hiện tại thay vì push mới |\n| `params` | `Record&lt;string, string&gt;` | Query params (xuất hiện trên URL) |\n| `state` | `any` | State gửi kèm (không lên URL), lưu trong history |\n| Các thuộc tính `IRouterPageState` | - | Override animation, keepAlive, Layouts, v.v. cho page đích |\n"}),`
35
35
  `,n.jsx(e.h2,{id:"inavigatedeltaoptions",children:"INavigateDeltaOptions"}),`
36
- `,n.jsx(a,{children:"\n| Option | Kiểu | Mô tả |\n| :--- | :--- | :--- |\n| `animation` | `IAnimationState` | Override animation cho lần navigate này. `type` (`'none'`, `'slide_up'`, `'slide_left'`, `'fade_in'`) |\n"})]})}function l(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(i,{...t})}):i(t)}export{l as default};
36
+ `,n.jsx(t,{children:"\n| Option | Kiểu | Mô tả |\n| :--- | :--- | :--- |\n| `animation` | `IAnimationState` | Override animation cho lần navigate này. `type` (`'none'`, `'slide_up'`, `'slide_left'`, `'fade_in'`) |\n"})]})}function l(a={}){const{wrapper:e}={...r(),...a.components};return e?n.jsx(e,{...a,children:n.jsx(i,{...a})}):i(a)}export{l as default};
@@ -1,14 +1,14 @@
1
- import{j as n}from"./iframe-C0PGuV5s.js";import{useMDXComponents as i}from"./index-SzFZQQjs.js";import{b as r,M as o}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./index-1AHvPexM.js";function e(t){const a={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",strong:"strong",...i(),...t.components};return n.jsxs(n.Fragment,{children:[`
1
+ import{j as a}from"./iframe-Crg_lbde.js";import{useMDXComponents as i}from"./index-B24pfkXD.js";import{M as r,a as o}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";function e(t){const n={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",strong:"strong",...i(),...t.components};return a.jsxs(a.Fragment,{children:[`
2
2
  `,`
3
- `,n.jsx(r,{title:"UI React/useNavigationBar"}),`
4
- `,n.jsx(a.h1,{id:"usenavigationbar",children:"useNavigationBar"}),`
5
- `,n.jsxs(a.p,{children:["Hook trả về ",n.jsx(a.strong,{children:"state"})," navigation bar đã merge (app + page hiện tại) và các function để ",n.jsx(a.strong,{children:"cập nhật"})," / ",n.jsx(a.strong,{children:"ẩn"})," / ",n.jsx(a.strong,{children:"reset"})," cho page hoặc cho app. Dùng khi cần đọc hoặc thay đổi title, backIcon, hidden, … của navigation bar từ trong component."]}),`
6
- `,n.jsx(a.h2,{id:"import",children:"Import"}),`
7
- `,n.jsx(a.pre,{children:n.jsx(a.code,{className:"language-typescript",children:`import { useNavigationBar } from '@v-miniapp/ui-react'
3
+ `,a.jsx(r,{title:"UI React/useNavigationBar"}),`
4
+ `,a.jsx(n.h1,{id:"usenavigationbar",children:"useNavigationBar"}),`
5
+ `,a.jsxs(n.p,{children:["Hook trả về ",a.jsx(n.strong,{children:"state"})," navigation bar đã merge (app + page hiện tại) và các function để ",a.jsx(n.strong,{children:"cập nhật"})," / ",a.jsx(n.strong,{children:"ẩn"})," / ",a.jsx(n.strong,{children:"reset"})," cho page hoặc cho app. Dùng khi cần đọc hoặc thay đổi title, backIcon, hidden, … của navigation bar từ trong component."]}),`
6
+ `,a.jsx(n.h2,{id:"import",children:"Import"}),`
7
+ `,a.jsx(n.pre,{children:a.jsx(n.code,{className:"language-typescript",children:`import { useNavigationBar } from '@v-miniapp/ui-react'
8
8
  `})}),`
9
- `,n.jsx(a.h2,{id:"usage",children:"Usage"}),`
10
- `,n.jsx(a.h3,{id:"đổi-title-cho-page-hiện-tại",children:"Đổi title cho page hiện tại"}),`
11
- `,n.jsx(a.pre,{children:n.jsx(a.code,{className:"language-tsx",children:`import { useNavigationBar } from '@v-miniapp/ui-react'
9
+ `,a.jsx(n.h2,{id:"usage",children:"Usage"}),`
10
+ `,a.jsx(n.h3,{id:"đổi-title-cho-page-hiện-tại",children:"Đổi title cho page hiện tại"}),`
11
+ `,a.jsx(n.pre,{children:a.jsx(n.code,{className:"language-tsx",children:`import { useNavigationBar } from '@v-miniapp/ui-react'
12
12
 
13
13
  const DetailPage = () => {
14
14
  const { setPageNavigationBar } = useNavigationBar()
@@ -20,16 +20,16 @@ const DetailPage = () => {
20
20
  return <div>...</div>
21
21
  }
22
22
  `})}),`
23
- `,n.jsx(a.h3,{id:"ẩn-navigation-bar-trên-một-page",children:"Ẩn navigation bar trên một page"}),`
24
- `,n.jsx(a.pre,{children:n.jsx(a.code,{className:"language-tsx",children:`const { removePageNavigationBar } = useNavigationBar()
23
+ `,a.jsx(n.h3,{id:"ẩn-navigation-bar-trên-một-page",children:"Ẩn navigation bar trên một page"}),`
24
+ `,a.jsx(n.pre,{children:a.jsx(n.code,{className:"language-tsx",children:`const { removePageNavigationBar } = useNavigationBar()
25
25
 
26
26
  useEffect(() => {
27
27
  removePageNavigationBar()
28
28
  return () => resetPageNavigationBar()
29
29
  }, [])
30
30
  `})}),`
31
- `,n.jsx(a.h3,{id:"đọc-state-để-render-tùy-biến",children:"Đọc state để render tùy biến"}),`
32
- `,n.jsx(a.pre,{children:n.jsx(a.code,{className:"language-tsx",children:`const { state } = useNavigationBar()
31
+ `,a.jsx(n.h3,{id:"đọc-state-để-render-tùy-biến",children:"Đọc state để render tùy biến"}),`
32
+ `,a.jsx(n.pre,{children:a.jsx(n.code,{className:"language-tsx",children:`const { state } = useNavigationBar()
33
33
 
34
34
  return (
35
35
  <div>
@@ -38,5 +38,5 @@ return (
38
38
  </div>
39
39
  )
40
40
  `})}),`
41
- `,n.jsx(a.h2,{id:"returns",children:"Returns"}),`
42
- `,n.jsx(o,{children:"\n| Thuộc tính | Kiểu | Mô tả |\n| :--- | :--- | :--- |\n| `state` | `IPageNavigationBarState` (merged) | State đã merge: default (divider, transparent) + app + page. Dùng để render NavigationBar. |\n| `pageState` | `object` | State navigation bar riêng của page hiện tại (theo `location.key`). |\n| `appState` | `object` | State navigation bar mặc định của app. |\n| `setPageNavigationBar` | `(state: Partial<IPageNavigationBarState>) => void` | Cập nhật navigation bar cho **page hiện tại**. |\n| `setAppNavigationBar` | `(state: Partial<IAppNavigationBarState>) => void` | Cập nhật navigation bar **mặc định** cho toàn app. |\n| `removePageNavigationBar` | `() => void` | Ẩn navigation bar cho page hiện tại (`hidden: true`). |\n| `removeAppNavigationBar` | `() => void` | Ẩn navigation bar mặc định của app. |\n| `resetPageNavigationBar` | `() => void` | Reset navigation bar của page hiện tại về config từ `IPageConfig`. |\n| `resetAppNavigationBar` | `() => void` | Reset navigation bar app về config từ `IAppConfig`. |\n"})]})}function d(t={}){const{wrapper:a}={...i(),...t.components};return a?n.jsx(a,{...t,children:n.jsx(e,{...t})}):e(t)}export{d as default};
41
+ `,a.jsx(n.h2,{id:"returns",children:"Returns"}),`
42
+ `,a.jsx(o,{children:"\n| Thuộc tính | Kiểu | Mô tả |\n| :--- | :--- | :--- |\n| `state` | `IPageNavigationBarState` (merged) | State đã merge: default (divider, transparent) + app + page. Dùng để render NavigationBar. |\n| `pageState` | `object` | State navigation bar riêng của page hiện tại (theo `location.key`). |\n| `appState` | `object` | State navigation bar mặc định của app. |\n| `setPageNavigationBar` | `(state: Partial<IPageNavigationBarState>) => void` | Cập nhật navigation bar cho **page hiện tại**. |\n| `setAppNavigationBar` | `(state: Partial<IAppNavigationBarState>) => void` | Cập nhật navigation bar **mặc định** cho toàn app. |\n| `removePageNavigationBar` | `() => void` | Ẩn navigation bar cho page hiện tại (`hidden: true`). |\n| `removeAppNavigationBar` | `() => void` | Ẩn navigation bar mặc định của app. |\n| `resetPageNavigationBar` | `() => void` | Reset navigation bar của page hiện tại về config từ `IPageConfig`. |\n| `resetAppNavigationBar` | `() => void` | Reset navigation bar app về config từ `IAppConfig`. |\n"})]})}function d(t={}){const{wrapper:n}={...i(),...t.components};return n?a.jsx(n,{...t,children:a.jsx(e,{...t})}):e(t)}export{d as default};
@@ -1,4 +1,4 @@
1
- import{j as n}from"./iframe-C0PGuV5s.js";import{useMDXComponents as t}from"./index-SzFZQQjs.js";import{b as o,M as s}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./index-1AHvPexM.js";function r(i){const e={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...t(),...i.components};return n.jsxs(n.Fragment,{children:[`
1
+ import{j as n}from"./iframe-Crg_lbde.js";import{useMDXComponents as t}from"./index-B24pfkXD.js";import{M as o,a as s}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";function r(i){const e={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...t(),...i.components};return n.jsxs(n.Fragment,{children:[`
2
2
  `,`
3
3
  `,n.jsx(o,{title:"Router/useNavigationType"}),`
4
4
  `,n.jsx(e.h1,{id:"usenavigationtype",children:"useNavigationType"}),`
@@ -1,4 +1,4 @@
1
- import{j as e}from"./iframe-C0PGuV5s.js";import{useMDXComponents as o}from"./index-SzFZQQjs.js";import{b as s,M as r}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./index-1AHvPexM.js";function n(t){const a={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",strong:"strong",...o(),...t.components};return e.jsxs(e.Fragment,{children:[`
1
+ import{j as e}from"./iframe-Crg_lbde.js";import{useMDXComponents as o}from"./index-B24pfkXD.js";import{M as s,a as r}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";function n(t){const a={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",strong:"strong",...o(),...t.components};return e.jsxs(e.Fragment,{children:[`
2
2
  `,`
3
3
  `,e.jsx(s,{title:"UI React/usePageLayout"}),`
4
4
  `,e.jsx(a.h1,{id:"usepagelayout",children:"usePageLayout"}),`
@@ -1,4 +1,4 @@
1
- import{j as e}from"./iframe-C0PGuV5s.js";import{useMDXComponents as l}from"./index-SzFZQQjs.js";import{b as o,M as s}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./index-1AHvPexM.js";function r(t){const n={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",strong:"strong",...l(),...t.components};return e.jsxs(e.Fragment,{children:[`
1
+ import{j as e}from"./iframe-Crg_lbde.js";import{useMDXComponents as l}from"./index-B24pfkXD.js";import{M as o,a as s}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";function r(t){const n={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",strong:"strong",...l(),...t.components};return e.jsxs(e.Fragment,{children:[`
2
2
  `,`
3
3
  `,e.jsx(o,{title:"UI React/usePageScroll"}),`
4
4
  `,e.jsx(n.h1,{id:"usepagescroll",children:"usePageScroll"}),`
@@ -1,4 +1,4 @@
1
- import{j as e}from"./iframe-C0PGuV5s.js";import{useMDXComponents as t}from"./index-SzFZQQjs.js";import{b as i,M as o}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./index-1AHvPexM.js";function s(r){const n={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[`
1
+ import{j as e}from"./iframe-Crg_lbde.js";import{useMDXComponents as t}from"./index-B24pfkXD.js";import{M as i,a as o}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";function s(r){const n={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[`
2
2
  `,`
3
3
  `,e.jsx(i,{title:"UI React/usePullToRefresh"}),`
4
4
  `,e.jsx(n.h1,{id:"usepulltorefresh",children:"usePullToRefresh"}),`
@@ -1,4 +1,4 @@
1
- import{j as n}from"./iframe-C0PGuV5s.js";import{useMDXComponents as s}from"./index-SzFZQQjs.js";import{b as r,M as h}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./index-1AHvPexM.js";function i(e){const t={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...s(),...e.components};return n.jsxs(n.Fragment,{children:[`
1
+ import{j as n}from"./iframe-Crg_lbde.js";import{useMDXComponents as s}from"./index-B24pfkXD.js";import{M as r,a as h}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";function i(e){const t={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...s(),...e.components};return n.jsxs(n.Fragment,{children:[`
2
2
  `,`
3
3
  `,n.jsx(r,{title:"UI React/useSettingsChanged"}),`
4
4
  `,n.jsx(t.h1,{id:"usesettingschanged",children:"useSettingsChanged"}),`
@@ -1,4 +1,4 @@
1
- import{j as n}from"./iframe-C0PGuV5s.js";import{useMDXComponents as s}from"./index-SzFZQQjs.js";import{b as i}from"./blocks-D4qvS4eZ.js";import"./preload-helper-PPVm8Dsz.js";import"./index-1AHvPexM.js";function r(t){const e={code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...s(),...t.components};return n.jsxs(n.Fragment,{children:[`
1
+ import{j as n}from"./iframe-Crg_lbde.js";import{useMDXComponents as s}from"./index-B24pfkXD.js";import{M as i}from"./blocks-CB7UwFa4.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";function r(t){const e={code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...s(),...t.components};return n.jsxs(n.Fragment,{children:[`
2
2
  `,`
3
3
  `,n.jsx(i,{title:"Locale/useTranslate"}),`
4
4
  `,n.jsx(e.h1,{id:"usetranslate",children:"useTranslate"}),`
@@ -13,10 +13,10 @@
13
13
  window.LOGLEVEL = 'info';
14
14
  window.FRAMEWORK_OPTIONS = {};
15
15
  window.CHANNEL_OPTIONS = {};
16
- window.FEATURES = {"argTypeTargetsV7":true,"legacyDecoratorFileOrder":false,"disallowImplicitActionsInRenderV8":true,"viewport":true,"highlight":true,"controls":true,"interactions":true,"actions":true,"backgrounds":true,"outline":true,"measure":true};
16
+ window.FEATURES = {"argTypeTargetsV7":true,"legacyDecoratorFileOrder":false,"disallowImplicitActionsInRenderV8":true,"viewport":true,"highlight":true,"controls":true,"interactions":true,"actions":true,"backgrounds":true,"outline":true,"measure":true,"sidebarOnboardingChecklist":true};
17
17
  window.STORIES = [{"titlePrefix":"","directory":"./src","files":"**/*.mdx","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.mdx)$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|mjs|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|mjs|ts|tsx))$"}];
18
18
  window.DOCS_OPTIONS = {"defaultName":"Docs"};
19
- window.TAGS_OPTIONS = {"dev-only":{"excludeFromDocsStories":true},"docs-only":{"excludeFromSidebar":true},"test-only":{"excludeFromSidebar":true,"excludeFromDocsStories":true}};
19
+ window.TAGS_OPTIONS = {};
20
20
 
21
21
 
22
22
 
@@ -137,7 +137,13 @@
137
137
  margin: auto;
138
138
  padding: 30px;
139
139
  border-radius: 10px;
140
- background: rgba(0, 0, 0, 0.03);
140
+ background: rgb(247, 247, 247);
141
+ color: rgb(46, 52, 56);
142
+
143
+ & * {
144
+ background: rgb(247, 247, 247);
145
+ color: rgb(46, 52, 56);
146
+ }
141
147
  }
142
148
 
143
149
  .sb-nopreview_heading {
@@ -151,12 +157,35 @@
151
157
  width: 100vw;
152
158
  min-height: 100vh;
153
159
  box-sizing: border-box;
160
+ }
161
+
162
+ .sb-errordisplay_main {
163
+ margin: auto;
164
+ padding: 24px;
165
+ display: flex;
166
+ box-sizing: border-box;
167
+
168
+ flex-direction: column;
169
+ min-height: 100%;
170
+ width: 100%;
171
+ border-radius: 6px;
172
+ background: white;
173
+ color: black;
174
+ border: 1px solid #ff0000;
175
+ box-shadow: 0 0 64px rgba(0, 0, 0, 0.1);
176
+ gap: 24px;
154
177
 
155
178
  & ol {
156
179
  padding-left: 18px;
157
180
  margin: 0;
158
181
  }
159
182
 
183
+ /* Redefine colors to ensure readability regardless of user-provided * selectors. */
184
+ * {
185
+ background: white;
186
+ color: black;
187
+ }
188
+
160
189
  & h1 {
161
190
  font-family: Nunito Sans;
162
191
  font-size: 22px;
@@ -194,46 +223,35 @@
194
223
  & a {
195
224
  color: currentColor;
196
225
  }
197
- }
198
-
199
- .sb-errordisplay_main {
200
- margin: auto;
201
- padding: 24px;
202
- display: flex;
203
- box-sizing: border-box;
204
226
 
205
- flex-direction: column;
206
- min-height: 100%;
207
- width: 100%;
208
- border-radius: 6px;
209
- background: white;
210
- border: 1px solid #ff0000;
211
- box-shadow: 0 0 64px rgba(0, 0, 0, 0.1);
212
- gap: 24px;
213
- }
227
+ & .sb-errordisplay_code {
228
+ padding: 10px;
229
+ flex: 1;
230
+ background: #242424;
231
+ color: #c6c6c6;
232
+ box-sizing: border-box;
214
233
 
215
- .sb-errordisplay_code {
216
- padding: 10px;
217
- flex: 1;
218
- background: #242424;
219
- color: #c6c6c6;
220
- box-sizing: border-box;
234
+ font-size: 14px;
235
+ font-weight: 400;
236
+ line-height: 19px;
237
+ border-radius: 4px;
221
238
 
222
- font-size: 14px;
223
- font-weight: 400;
224
- line-height: 19px;
225
- border-radius: 4px;
239
+ font-family:
240
+ 'Operator Mono', 'Fira Code Retina', 'Fira Code', 'FiraCode-Retina', 'Andale Mono',
241
+ 'Lucida Console', Consolas, Monaco, monospace;
242
+ margin: 0;
243
+ overflow: auto;
226
244
 
227
- font-family:
228
- 'Operator Mono', 'Fira Code Retina', 'Fira Code', 'FiraCode-Retina', 'Andale Mono',
229
- 'Lucida Console', Consolas, Monaco, monospace;
230
- margin: 0;
231
- overflow: auto;
232
- }
245
+ & code {
246
+ background-color: inherit;
247
+ color: inherit;
248
+ }
249
+ }
233
250
 
234
- .sb-errordisplay pre {
235
- white-space: pre-wrap;
236
- white-space: revert;
251
+ & .sb-errordisplay pre {
252
+ white-space: pre-wrap;
253
+ white-space: revert;
254
+ }
237
255
  }
238
256
 
239
257
  @-webkit-keyframes sb-rotate360 {
@@ -512,9 +530,9 @@
512
530
  }
513
531
  </style>
514
532
 
515
- <script type="module" crossorigin src="./assets/iframe-C0PGuV5s.js"></script>
533
+ <script type="module" crossorigin src="./assets/iframe-Crg_lbde.js"></script>
516
534
  <link rel="modulepreload" crossorigin href="./assets/preload-helper-PPVm8Dsz.js">
517
- <link rel="stylesheet" crossorigin href="./assets/iframe-BKfReaAn.css">
535
+ <link rel="stylesheet" crossorigin href="./assets/iframe-BBKyXin_.css">
518
536
  </head>
519
537
 
520
538
  <body>
@@ -57,7 +57,8 @@
57
57
  "actions": true,
58
58
  "backgrounds": true,
59
59
  "outline": true,
60
- "measure": true
60
+ "measure": true,
61
+ "sidebarOnboardingChecklist": true
61
62
  };
62
63
 
63
64
 
@@ -84,30 +85,21 @@
84
85
 
85
86
 
86
87
 
87
- window['TAGS_OPTIONS'] = {
88
- "dev-only": {
89
- "excludeFromDocsStories": true
90
- },
91
- "docs-only": {
92
- "excludeFromSidebar": true
93
- },
94
- "test-only": {
95
- "excludeFromSidebar": true,
96
- "excludeFromDocsStories": true
97
- }
98
- };
88
+ window['TAGS_OPTIONS'] = {};
99
89
 
100
90
 
101
91
 
102
- window['STORYBOOK_RENDERER'] = "react";
92
+ window['STORYBOOK_BUILDER'] = "vite";
103
93
 
104
94
 
105
95
 
106
- window['STORYBOOK_BUILDER'] = "@storybook/builder-vite";
96
+ window['STORYBOOK_FRAMEWORK'] = "react-vite";
107
97
 
108
98
 
109
99
 
110
- window['STORYBOOK_FRAMEWORK'] = "@storybook/react-vite";
100
+ window['STORYBOOK_RENDERER'] = "react";
101
+
102
+
111
103
 
112
104
 
113
105
  </script>