@v-miniapp/ui-react 1.0.59 → 1.0.71

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 (491) 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/toast-provider.js +45 -0
  104. package/dist/components/toast/toast.js +66 -0
  105. package/dist/components/toast/toast.store.js +35 -0
  106. package/dist/components/tooltip/tooltip.js +43 -0
  107. package/dist/components/typography/typography.js +28 -0
  108. package/dist/components/uploader/helper.js +21 -0
  109. package/dist/components/uploader/uploader.js +93 -0
  110. package/dist/components/visibility-sensor/visibility-sensor.js +17 -0
  111. package/dist/docs/ui-react/icon-list-grid.d.ts +1 -0
  112. package/dist/external/index.js +13357 -13497
  113. package/dist/external/styles.css +1 -1
  114. package/dist/hooks/use-custom-icon-event.js +16 -0
  115. package/dist/hooks/use-settings-changed.js +16 -0
  116. package/dist/index.d.ts +1 -0
  117. package/dist/index.js +139 -7488
  118. package/dist/locales/en.json.js +30 -0
  119. package/dist/locales/index.d.ts +2 -0
  120. package/dist/locales/index.js +10 -0
  121. package/dist/locales/vi.json.js +30 -0
  122. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/isSameOrAfter.js +18 -0
  123. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/isSameOrBefore.js +18 -0
  124. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_DataView.js +12 -0
  125. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Hash.js +22 -0
  126. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_ListCache.js +22 -0
  127. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Map.js +12 -0
  128. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_MapCache.js +22 -0
  129. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Promise.js +12 -0
  130. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Set.js +12 -0
  131. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Stack.js +20 -0
  132. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Symbol.js +11 -0
  133. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Uint8Array.js +11 -0
  134. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_WeakMap.js +12 -0
  135. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_apply.js +22 -0
  136. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayEach.js +14 -0
  137. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayFilter.js +16 -0
  138. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayLikeKeys.js +26 -0
  139. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayMap.js +14 -0
  140. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayPush.js +14 -0
  141. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_assignMergeValue.js +15 -0
  142. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_assignValue.js +16 -0
  143. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_assocIndexOf.js +17 -0
  144. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseAssign.js +15 -0
  145. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseAssignIn.js +15 -0
  146. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseAssignValue.js +19 -0
  147. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseClone.js +70 -0
  148. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseCreate.js +23 -0
  149. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseFlatten.js +20 -0
  150. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseFor.js +11 -0
  151. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGet.js +18 -0
  152. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGetAllKeys.js +16 -0
  153. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGetTag.js +16 -0
  154. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseHasIn.js +12 -0
  155. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsArguments.js +15 -0
  156. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsMap.js +15 -0
  157. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsNative.js +22 -0
  158. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsSet.js +15 -0
  159. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsTypedArray.js +17 -0
  160. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseKeys.js +20 -0
  161. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseKeysIn.js +21 -0
  162. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseMerge.js +27 -0
  163. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseMergeDeep.js +38 -0
  164. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_basePick.js +17 -0
  165. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_basePickBy.js +20 -0
  166. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseRest.js +16 -0
  167. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseSet.js +31 -0
  168. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseSetToString.js +20 -0
  169. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseSlice.js +16 -0
  170. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseTimes.js +14 -0
  171. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseToString.js +24 -0
  172. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseTrim.js +14 -0
  173. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseUnary.js +14 -0
  174. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseUnset.js +34 -0
  175. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_castPath.js +17 -0
  176. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneArrayBuffer.js +15 -0
  177. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneBuffer.js +19 -0
  178. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneDataView.js +15 -0
  179. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneRegExp.js +14 -0
  180. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneSymbol.js +14 -0
  181. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneTypedArray.js +15 -0
  182. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_copyArray.js +15 -0
  183. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_copyObject.js +21 -0
  184. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_copySymbols.js +15 -0
  185. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_copySymbolsIn.js +15 -0
  186. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_coreJsData.js +11 -0
  187. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_createAssigner.js +22 -0
  188. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_createBaseFor.js +19 -0
  189. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_customOmitClone.js +14 -0
  190. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_defineProperty.js +17 -0
  191. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_flatRest.js +16 -0
  192. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_freeGlobal.js +11 -0
  193. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getAllKeys.js +16 -0
  194. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getAllKeysIn.js +16 -0
  195. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getMapData.js +15 -0
  196. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getNative.js +16 -0
  197. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getPrototype.js +11 -0
  198. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getRawTag.js +21 -0
  199. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getSymbols.js +16 -0
  200. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getSymbolsIn.js +18 -0
  201. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getTag.js +33 -0
  202. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getValue.js +12 -0
  203. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hasPath.js +26 -0
  204. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashClear.js +14 -0
  205. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashDelete.js +13 -0
  206. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashGet.js +19 -0
  207. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashHas.js +15 -0
  208. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashSet.js +15 -0
  209. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_initCloneArray.js +14 -0
  210. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_initCloneByTag.js +48 -0
  211. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_initCloneObject.js +16 -0
  212. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isFlattenable.js +16 -0
  213. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isIndex.js +14 -0
  214. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isIterateeCall.js +20 -0
  215. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isKey.js +18 -0
  216. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isKeyable.js +13 -0
  217. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isMasked.js +17 -0
  218. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isPrototype.js +14 -0
  219. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheClear.js +12 -0
  220. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheDelete.js +18 -0
  221. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheGet.js +15 -0
  222. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheHas.js +14 -0
  223. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheSet.js +15 -0
  224. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheClear.js +20 -0
  225. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheDelete.js +15 -0
  226. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheGet.js +14 -0
  227. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheHas.js +14 -0
  228. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheSet.js +15 -0
  229. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_memoizeCapped.js +17 -0
  230. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_nativeCreate.js +11 -0
  231. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_nativeKeys.js +11 -0
  232. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_nativeKeysIn.js +16 -0
  233. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_nodeUtil.js +19 -0
  234. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_objectToString.js +13 -0
  235. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_overArg.js +14 -0
  236. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_overRest.js +21 -0
  237. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_parent.js +15 -0
  238. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_root.js +11 -0
  239. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_safeGet.js +13 -0
  240. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_setToString.js +12 -0
  241. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_shortOut.js +22 -0
  242. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackClear.js +14 -0
  243. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackDelete.js +13 -0
  244. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackGet.js +12 -0
  245. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackHas.js +12 -0
  246. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackSet.js +23 -0
  247. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stringToPath.js +16 -0
  248. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_toKey.js +17 -0
  249. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_toSource.js +23 -0
  250. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_trimmedEndIndex.js +15 -0
  251. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/cloneDeepWith.js +14 -0
  252. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/constant.js +14 -0
  253. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/debounce.js +60 -0
  254. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/eq.js +12 -0
  255. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/flatten.js +15 -0
  256. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/hasIn.js +15 -0
  257. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/identity.js +12 -0
  258. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isArguments.js +16 -0
  259. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isArray.js +10 -0
  260. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isArrayLike.js +15 -0
  261. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isArrayLikeObject.js +15 -0
  262. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isBuffer.js +14 -0
  263. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isFunction.js +18 -0
  264. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isLength.js +13 -0
  265. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isMap.js +13 -0
  266. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObject.js +13 -0
  267. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObjectLike.js +12 -0
  268. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isPlainObject.js +22 -0
  269. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isSet.js +13 -0
  270. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isSymbol.js +15 -0
  271. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isTypedArray.js +13 -0
  272. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/keys.js +16 -0
  273. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/keysIn.js +16 -0
  274. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/last.js +13 -0
  275. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/memoize.js +23 -0
  276. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/merge.js +14 -0
  277. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/now.js +13 -0
  278. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/omit.js +29 -0
  279. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/pick.js +14 -0
  280. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/stubArray.js +12 -0
  281. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/stubFalse.js +12 -0
  282. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/throttle.js +22 -0
  283. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toNumber.js +28 -0
  284. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toPlainObject.js +15 -0
  285. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toString.js +14 -0
  286. package/dist/styles.css +1 -1
  287. package/dist/utils/bound.js +7 -0
  288. package/dist/utils/can-use-dom.js +4 -0
  289. package/dist/utils/classname.js +6 -0
  290. package/dist/utils/colors.gen.js +371 -0
  291. package/dist/utils/colors.js +8 -0
  292. package/dist/utils/convert-px.js +14 -0
  293. package/dist/utils/date.d.ts +2 -1
  294. package/dist/utils/date.js +9 -0
  295. package/dist/utils/deep-clone.js +10 -0
  296. package/dist/utils/dev-log.js +7 -0
  297. package/dist/utils/get-scroll-parent.js +20 -0
  298. package/dist/utils/is-dev.js +4 -0
  299. package/dist/utils/rubberband.js +11 -0
  300. package/dist/utils/sleep.js +4 -0
  301. package/dist/utils/supports-passive.js +15 -0
  302. package/dist/utils/to-css-length.js +6 -0
  303. package/dist/vsf/choose-image.js +14 -0
  304. package/dist-storybook/assets/AIApp-C4keJkW8.js +37 -0
  305. package/dist-storybook/assets/{App-Dp1UG-xp.js → App-BkiRuUOF.js} +1 -1
  306. package/dist-storybook/assets/Color-6BZIO3FS-EdXZe4iv.js +1 -0
  307. package/dist-storybook/assets/{DEEPLINK-cjgFMuRJ.js → DEEPLINK-CvpIbZVm.js} +1 -1
  308. package/dist-storybook/assets/DocsRenderer-LL677BLK-Ch7ovClC.js +2 -0
  309. package/dist-storybook/assets/{EVENTS-BY66PjI7.js → EVENTS-Bnl2ehlm.js} +1 -1
  310. package/dist-storybook/assets/{GETTING_STARTED-BiQMvjvo.js → GETTING_STARTED-BYcN9hg3.js} +1 -1
  311. package/dist-storybook/assets/{GETTING_STARTED-580o-9Mx.js → GETTING_STARTED-BmHWFQQE.js} +1 -1
  312. package/dist-storybook/assets/GETTING_STARTED-C1AOB25Z.js +45 -0
  313. package/dist-storybook/assets/{GETTING_STARTED-CIVMqKZW.js → GETTING_STARTED-CBY9dL2_.js} +1 -1
  314. package/dist-storybook/assets/ICON-BaZgXbtw.js +6 -0
  315. package/dist-storybook/assets/ICON-CT1pTB1A.js +6 -0
  316. package/dist-storybook/assets/{INFINITE_SCROLL-BbeR5HeP.js → INFINITE_SCROLL-BJeWhgO7.js} +1 -1
  317. package/dist-storybook/assets/{LocalesProvider-CMlmwAyY.js → LocalesProvider-CQEwtoq3.js} +1 -1
  318. package/dist-storybook/assets/{MIGRATE_DARKMODE_TO_THEME-CBDyZyg2.js → MIGRATE_DARKMODE_TO_THEME-DCxXgvQC.js} +1 -1
  319. package/dist-storybook/assets/{MIGRATION_GUIDE-FZyRWI-B.js → MIGRATION_GUIDE-BN_V-xNj.js} +1 -1
  320. package/dist-storybook/assets/OVERVIEW-AI-CLWBzviY.js +35 -0
  321. package/dist-storybook/assets/{OVERVIEW-C9_6gX5Q.js → OVERVIEW-Byly3lQV.js} +1 -1
  322. package/dist-storybook/assets/{Router-B5U8bubH.js → Router-CO6rjSXr.js} +1 -1
  323. package/dist-storybook/assets/{TAILWIND_INTEGRATION-BJdy5DAv.js → TAILWIND_INTEGRATION-CpN4_fSu.js} +1 -1
  324. package/dist-storybook/assets/{THEME-CRbvH7KT.js → THEME-B9Y39f9D.js} +1 -1
  325. package/dist-storybook/assets/WithTooltip-65CFNBJE-D6J_7FjK.js +9 -0
  326. package/dist-storybook/assets/{alert.stories-D0X5wUHk.js → alert.stories-CUItfPLn.js} +12 -12
  327. package/dist-storybook/assets/app.store-BJVKVv1J.js +1 -0
  328. package/dist-storybook/assets/avatar.stories-8_vV7Bb0.js +136 -0
  329. package/dist-storybook/assets/{axe-BHGdSCoA.js → axe-4EaTvypG.js} +13 -13
  330. package/dist-storybook/assets/badge-Gh2kTOE3.js +1 -0
  331. package/dist-storybook/assets/{badge.stories-BEFNaUA1.js → badge.stories-BXGAtgaV.js} +3 -3
  332. package/dist-storybook/assets/blocks-CB7UwFa4.js +758 -0
  333. package/dist-storybook/assets/bottom-tab-bar.stories-OrY-k1sb.js +280 -0
  334. package/dist-storybook/assets/button-BLW8SOpg.js +1 -0
  335. package/dist-storybook/assets/{button.stories-DgYDJ6x7.js → button.stories--0kpp_af.js} +3 -3
  336. package/dist-storybook/assets/calendar-ySr-9cXG.js +1 -0
  337. package/dist-storybook/assets/{calendar.stories-IVvRAjWN.js → calendar.stories-4MQj1nsX.js} +1 -1
  338. package/dist-storybook/assets/carousel.stories-CMtljvBR.js +253 -0
  339. package/dist-storybook/assets/checkbox.stories-xYjsVg2X.js +201 -0
  340. package/dist-storybook/assets/{chip.stories-D7E6fdiV.js → chip.stories-DYEfUGq3.js} +12 -12
  341. package/dist-storybook/assets/classname-Bl5epEs-.js +1 -0
  342. package/dist-storybook/assets/client-CN8vOzuD.js +9 -0
  343. package/dist-storybook/assets/{date-B3PFMb6s.js → date-DWIyMGld.js} +1 -1
  344. package/dist-storybook/assets/date-field.stories-5Tlzdpvr.js +129 -0
  345. package/dist-storybook/assets/date-picker-DeB43YU4.js +1 -0
  346. package/dist-storybook/assets/{date-picker.stories-CIFgk4q_.js → date-picker.stories-Shn-MmVG.js} +1 -1
  347. package/dist-storybook/assets/dialog.stories-DeNKN0oJ.js +212 -0
  348. package/dist-storybook/assets/dropdown.stories-Bqmu2_KM.js +449 -0
  349. package/dist-storybook/assets/{embla-carousel-react.esm-5D5fs7OQ.js → embla-carousel-react.esm-DOEAp-w3.js} +1 -1
  350. package/dist-storybook/assets/{en-Cs9O0XWn.js → en-IjeCvZ5U.js} +1 -1
  351. package/dist-storybook/assets/formatter-EIJCOSYU-DZLV30KU.js +1 -0
  352. package/dist-storybook/assets/icon-Cc9W858e.js +1 -0
  353. package/dist-storybook/assets/icon-list-grid-CSnpdoAW.js +1 -0
  354. package/dist-storybook/assets/{icon.stories-DWwbUUY-.js → icon.stories-DE484rTd.js} +3 -3
  355. package/dist-storybook/assets/iframe-BBKyXin_.css +1 -0
  356. package/dist-storybook/assets/iframe-Crg_lbde.js +1119 -0
  357. package/dist-storybook/assets/image-CB4oeTy-.js +9 -0
  358. package/dist-storybook/assets/{image.stories-BhZU057W.js → image.stories-BlYIb_Qu.js} +1 -1
  359. package/dist-storybook/assets/index-B24pfkXD.js +1 -0
  360. package/dist-storybook/assets/{index-cMNObl2z.js → index-CdnALcTP.js} +1 -1
  361. package/dist-storybook/assets/{index-EGt7xBnA.js → index-hDlmuyu2.js} +1 -1
  362. package/dist-storybook/assets/input-wrapper-Gd3QJKqj.js +1 -0
  363. package/dist-storybook/assets/label-zfqCJTGJ.js +22 -0
  364. package/dist-storybook/assets/{label.stories-CXJjdYf_.js → label.stories-C-MVt-cu.js} +3 -3
  365. package/dist-storybook/assets/matchers-5TDFFDYO-HJu_DfWo.js +14 -0
  366. package/dist-storybook/assets/navigation-bar.stories-CZ-y3eDE.js +136 -0
  367. package/dist-storybook/assets/number-field.stories-BA0FySSU.js +167 -0
  368. package/dist-storybook/assets/omit-CRXr8Lio.js +1 -0
  369. package/dist-storybook/assets/option-item-DFWc14Up.js +1 -0
  370. package/dist-storybook/assets/{option-item.stories-BvXoc8WX.js → option-item.stories-DqA-ydWX.js} +3 -3
  371. package/dist-storybook/assets/pagination-CjgiVNvu.js +1 -0
  372. package/dist-storybook/assets/{pagination.stories-_5qj2nTS.js → pagination.stories-BsKHvdF4.js} +4 -4
  373. package/dist-storybook/assets/{radio.stories-BNR-wwuw.js → radio.stories-CBmxZRxo.js} +10 -10
  374. package/dist-storybook/assets/{rating.stories-CI0LG0Qq.js → rating.stories-CcdFtcNH.js} +9 -9
  375. package/dist-storybook/assets/react-18-D2tl8ksm.js +1 -0
  376. package/dist-storybook/assets/{react-I9jCW2VV.js → react-DO0-owxu.js} +1 -1
  377. package/dist-storybook/assets/search-field-zl4ROLfn.js +1 -0
  378. package/dist-storybook/assets/{search-field.stories-CKXC6-Za.js → search-field.stories-DoclnxtC.js} +1 -1
  379. package/dist-storybook/assets/{section.stories-9vd48AgB.js → section.stories-Bqz_QgYp.js} +8 -8
  380. package/dist-storybook/assets/sheet-body-2dWL2AE5.js +1 -0
  381. package/dist-storybook/assets/sheet-footer-DuPhbVOb.js +1 -0
  382. package/dist-storybook/assets/{sheet.stories-C3gLIQsn.js → sheet.stories-CoXnt4LG.js} +4 -4
  383. package/dist-storybook/assets/skeleton-BVLpHxKT.js +1 -0
  384. package/dist-storybook/assets/{skeleton.stories-C0y1o1Y_.js → skeleton.stories-B-OfMZId.js} +3 -3
  385. package/dist-storybook/assets/{store-Ce3Ikv5g.js → store-BwIebEt6.js} +5 -5
  386. package/dist-storybook/assets/{switch.stories-BdWFln-M.js → switch.stories-D4PQjgbo.js} +9 -9
  387. package/dist-storybook/assets/syntaxhighlighter-ED5Y7EFY-BxRQp_WE.js +6 -0
  388. package/dist-storybook/assets/tab-bar.stories-BrcQMypS.js +164 -0
  389. package/dist-storybook/assets/{text-area.stories-DCt3RB3A.js → text-area.stories-Bpaw2_4A.js} +10 -10
  390. package/dist-storybook/assets/text-field-CqJG0bIl.js +1 -0
  391. package/dist-storybook/assets/{text-field.stories-Bqv7f948.js → text-field.stories-PQoP3DbL.js} +1 -1
  392. package/dist-storybook/assets/toast.stories-DmPy9T3m.js +209 -0
  393. package/dist-storybook/assets/{tooltip.stories-DDdsuU3U.js → tooltip.stories-Be_kIaDc.js} +8 -8
  394. package/dist-storybook/assets/typography-CMIMyivt.js +1 -0
  395. package/dist-storybook/assets/{typography.stories-BzCxaZQU.js → typography.stories-DSt5W_AG.js} +3 -3
  396. package/dist-storybook/assets/uploader.stories-C5CmeXEk.js +65 -0
  397. package/dist-storybook/assets/{use-app-pause-ClsUnndr.js → use-app-pause-_ycnhKwZ.js} +3 -3
  398. package/dist-storybook/assets/{use-app-resume-D_EcIvMd.js → use-app-resume-CWb2s-wo.js} +1 -1
  399. package/dist-storybook/assets/{use-bottom-tab-bar-BC1cz2uE.js → use-bottom-tab-bar--DRl-8c4.js} +1 -1
  400. package/dist-storybook/assets/{use-custom-icon-event-cUk4Md0Y.js → use-custom-icon-event-BXcRPkLg.js} +1 -1
  401. package/dist-storybook/assets/{use-did-hide-BmABiaUE.js → use-did-hide-LBcrwoUo.js} +1 -1
  402. package/dist-storybook/assets/{use-did-show-CQuySkkT.js → use-did-show-BXLstTgt.js} +1 -1
  403. package/dist-storybook/assets/{use-histories-CBm09Lno.js → use-histories-Cz7ncXaj.js} +1 -1
  404. package/dist-storybook/assets/{use-history-7yguNz6O.js → use-history-B_w6SPwr.js} +1 -1
  405. package/dist-storybook/assets/{use-language-DPyWMce2.js → use-language-D84C9QNT.js} +1 -1
  406. package/dist-storybook/assets/{use-load-more-KlDJZhj2.js → use-load-more-Bb9YFkAE.js} +1 -1
  407. package/dist-storybook/assets/{use-location-C7kE1yla.js → use-location-DnxJ5FvJ.js} +1 -1
  408. package/dist-storybook/assets/{use-navigate-BpIyvtwc.js → use-navigate-OLqoL3vR.js} +3 -3
  409. package/dist-storybook/assets/{use-navigation-bar-guzwhM_u.js → use-navigation-bar-D5BX6S-r.js} +15 -15
  410. package/dist-storybook/assets/{use-navigation-type-DOndDqQH.js → use-navigation-type-Cq7T35ur.js} +1 -1
  411. package/dist-storybook/assets/{use-page-layout-dO6ylI1b.js → use-page-layout-BrFRWwC6.js} +1 -1
  412. package/dist-storybook/assets/{use-page-scroll-CCG2d2Gb.js → use-page-scroll-BZ8XiPza.js} +1 -1
  413. package/dist-storybook/assets/{use-pull-to-refresh-lhumDu1H.js → use-pull-to-refresh-BEjtxiFn.js} +1 -1
  414. package/dist-storybook/assets/{use-settings-changed-Bt58DJ-c.js → use-settings-changed-UaQRSWAg.js} +1 -1
  415. package/dist-storybook/assets/{use-translate-Jhz6jTXo.js → use-translate-BO8E9Sde.js} +1 -1
  416. package/dist-storybook/iframe.html +58 -40
  417. package/dist-storybook/index.html +8 -16
  418. package/dist-storybook/index.json +1 -1
  419. package/dist-storybook/project.json +1 -1
  420. package/dist-storybook/sb-addons/a11y-2/manager-bundle.js +55 -3
  421. package/dist-storybook/sb-addons/docs-1/manager-bundle.js +1 -149
  422. package/dist-storybook/sb-addons/storybook-build-3/manager-bundle.js +19 -1
  423. package/dist-storybook/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +93 -436
  424. package/dist-storybook/sb-manager/globals-runtime.js +73307 -65142
  425. package/dist-storybook/sb-manager/globals.js +6 -16
  426. package/dist-storybook/sb-manager/manager-stores.js +23 -0
  427. package/dist-storybook/sb-manager/runtime.js +17679 -10455
  428. package/dist-storybook/stories-data.json +91 -27
  429. package/dist-storybook/vite-inject-mocker-entry.js +2 -2
  430. package/package.json +5 -5
  431. package/dist-storybook/assets/Color-AVL7NMMY-XA8cFKdV.js +0 -1
  432. package/dist-storybook/assets/DocsRenderer-PQXLIZUC-D10-0Yfb.js +0 -2
  433. package/dist-storybook/assets/_baseClone-DQVxEhny.js +0 -1
  434. package/dist-storybook/assets/alert-CKwsuaPI.js +0 -1
  435. package/dist-storybook/assets/app-CTv8lFU3.js +0 -1
  436. package/dist-storybook/assets/avatar-rWcYGe6j.js +0 -1
  437. package/dist-storybook/assets/avatar.stories-8lrbhMma.js +0 -136
  438. package/dist-storybook/assets/badge-VcjGVEum.js +0 -1
  439. package/dist-storybook/assets/blocks-DKR3P4qW.js +0 -1243
  440. package/dist-storybook/assets/bottom-tab-bar-B6IAoRwz.js +0 -115
  441. package/dist-storybook/assets/bottom-tab-bar.stories-DXzLlO5o.js +0 -186
  442. package/dist-storybook/assets/button-DJH3RlJl.js +0 -1
  443. package/dist-storybook/assets/calendar-C4Xe_TW2.js +0 -1
  444. package/dist-storybook/assets/carousel-DJlgMyS5.js +0 -37
  445. package/dist-storybook/assets/carousel.stories-3rA3nxdL.js +0 -217
  446. package/dist-storybook/assets/checkbox-JOxcmyCZ.js +0 -1
  447. package/dist-storybook/assets/checkbox.stories-ge3pgfBb.js +0 -201
  448. package/dist-storybook/assets/chip-Crt60rph.js +0 -1
  449. package/dist-storybook/assets/date-field-range-B-sv9nbW.js +0 -1
  450. package/dist-storybook/assets/date-field.stories-B9G2heHt.js +0 -129
  451. package/dist-storybook/assets/date-picker-BPzKPdhO.js +0 -1
  452. package/dist-storybook/assets/dialog-BAfGQzk5.js +0 -1
  453. package/dist-storybook/assets/dialog.stories-vDMKz9Tw.js +0 -212
  454. package/dist-storybook/assets/dropdown-Dtomaqpw.js +0 -247
  455. package/dist-storybook/assets/dropdown.stories-Cj0HM0VI.js +0 -200
  456. package/dist-storybook/assets/icon-CdiFzFyf.js +0 -1
  457. package/dist-storybook/assets/iframe-BHaCv4dM.css +0 -1
  458. package/dist-storybook/assets/iframe-DfPay7Zl.js +0 -1071
  459. package/dist-storybook/assets/image-CMKb-R3x.js +0 -9
  460. package/dist-storybook/assets/index-BWpuenI4.js +0 -1
  461. package/dist-storybook/assets/index-DqZh6B0b.js +0 -1
  462. package/dist-storybook/assets/input-wrapper-CgaUwbbE.js +0 -1
  463. package/dist-storybook/assets/label-D44azUgi.js +0 -27
  464. package/dist-storybook/assets/matchers-7Z3WT2CE-Dw4MQV_s.js +0 -14
  465. package/dist-storybook/assets/navigation-bar-DK3TxcTu.js +0 -79
  466. package/dist-storybook/assets/navigation-bar.stories-CB3Kg-sH.js +0 -73
  467. package/dist-storybook/assets/number-field-Bz7su9S1.js +0 -1
  468. package/dist-storybook/assets/number-field.stories-DSxPSzLv.js +0 -167
  469. package/dist-storybook/assets/omit-BWHsnDSR.js +0 -1
  470. package/dist-storybook/assets/option-item-CpeNcb5w.js +0 -1
  471. package/dist-storybook/assets/pagination-Cp-DHO4Q.js +0 -1
  472. package/dist-storybook/assets/proxy-B4G9nIBd.js +0 -1
  473. package/dist-storybook/assets/radio-D0aV0RIg.js +0 -1
  474. package/dist-storybook/assets/rating-D2e8RTGl.js +0 -1
  475. package/dist-storybook/assets/react-18-C7pDmBBf.js +0 -9
  476. package/dist-storybook/assets/search-field-DINESW8Y.js +0 -1
  477. package/dist-storybook/assets/section-content-D49PabBW.js +0 -1
  478. package/dist-storybook/assets/sheet-footer-nEdxsYan.js +0 -1
  479. package/dist-storybook/assets/skeleton-B12XbNAJ.js +0 -1
  480. package/dist-storybook/assets/switch-D0Z9tWin.js +0 -1
  481. package/dist-storybook/assets/tab-bar-kExoGg5P.js +0 -31
  482. package/dist-storybook/assets/tab-bar.stories-BgDXX0of.js +0 -136
  483. package/dist-storybook/assets/text-area-GKy5HL12.js +0 -1
  484. package/dist-storybook/assets/text-field-CGWNqitB.js +0 -1
  485. package/dist-storybook/assets/toast-provider-DKSrfhJD.js +0 -9
  486. package/dist-storybook/assets/toast.stories-CcFzS6QI.js +0 -201
  487. package/dist-storybook/assets/tooltip-B9rDI6z9.js +0 -1
  488. package/dist-storybook/assets/typography-CB8hPDyK.js +0 -1
  489. package/dist-storybook/assets/uploader.stories-izVumFqZ.js +0 -65
  490. package/dist-storybook/assets/visibility-sensor-Jf-Nmil6.js +0 -1
  491. package/dist-storybook/sb-manager/globals-module-info.js +0 -799
@@ -1 +0,0 @@
1
- import{c as $}from"./iframe-DfPay7Zl.js";var ar,Rt;function z(){if(Rt)return ar;Rt=1;function e(r){var t=typeof r;return r!=null&&(t=="object"||t=="function")}return ar=e,ar}var nr,mt;function Gn(){if(mt)return nr;mt=1;var e=typeof $=="object"&&$&&$.Object===Object&&$;return nr=e,nr}var ir,It;function S(){if(It)return ir;It=1;var e=Gn(),r=typeof self=="object"&&self&&self.Object===Object&&self,t=e||r||Function("return this")();return ir=t,ir}var ur,Ot;function ot(){if(Ot)return ur;Ot=1;var e=S(),r=e.Symbol;return ur=r,ur}var sr,wt;function di(){if(wt)return sr;wt=1;var e=ot(),r=Object.prototype,t=r.hasOwnProperty,a=r.toString,n=e?e.toStringTag:void 0;function i(u){var s=t.call(u,n),o=u[n];try{u[n]=void 0;var c=!0}catch{}var f=a.call(u);return c&&(s?u[n]=o:delete u[n]),f}return sr=i,sr}var or,Pt;function qi(){if(Pt)return or;Pt=1;var e=Object.prototype,r=e.toString;function t(a){return r.call(a)}return or=t,or}var cr,xt;function L(){if(xt)return cr;xt=1;var e=ot(),r=di(),t=qi(),a="[object Null]",n="[object Undefined]",i=e?e.toStringTag:void 0;function u(s){return s==null?s===void 0?n:a:i&&i in Object(s)?r(s):t(s)}return cr=u,cr}var fr,Mt;function M(){if(Mt)return fr;Mt=1;function e(r){return r!=null&&typeof r=="object"}return fr=e,fr}var vr,Dt;function Fu(){if(Dt)return vr;Dt=1;var e=L(),r=M(),t="[object Symbol]";function a(n){return typeof n=="symbol"||r(n)&&e(n)==t}return vr=a,vr}var lr,Gt;function Kn(){if(Gt)return lr;Gt=1;function e(r,t){return function(a){return r(t(a))}}return lr=e,lr}var _r,Kt;function ct(){if(Kt)return _r;Kt=1;var e=Kn(),r=e(Object.getPrototypeOf,Object);return _r=r,_r}var hr,Et;function ku(){if(Et)return hr;Et=1;var e=L(),r=ct(),t=M(),a="[object Object]",n=Function.prototype,i=Object.prototype,u=n.toString,s=i.hasOwnProperty,o=u.call(Object);function c(f){if(!t(f)||e(f)!=a)return!1;var _=r(f);if(_===null)return!0;var y=s.call(_,"constructor")&&_.constructor;return typeof y=="function"&&y instanceof y&&u.call(y)==o}return hr=c,hr}var yr,Lt;function Ti(){if(Lt)return yr;Lt=1;function e(){this.__data__=[],this.size=0}return yr=e,yr}var pr,Ft;function En(){if(Ft)return pr;Ft=1;function e(r,t){return r===t||r!==r&&t!==t}return pr=e,pr}var br,kt;function Z(){if(kt)return br;kt=1;var e=En();function r(t,a){for(var n=t.length;n--;)if(e(t[n][0],a))return n;return-1}return br=r,br}var gr,Bt;function Ai(){if(Bt)return gr;Bt=1;var e=Z(),r=Array.prototype,t=r.splice;function a(n){var i=this.__data__,u=e(i,n);if(u<0)return!1;var s=i.length-1;return u==s?i.pop():t.call(i,u,1),--this.size,!0}return gr=a,gr}var dr,Ut;function Si(){if(Ut)return dr;Ut=1;var e=Z();function r(t){var a=this.__data__,n=e(a,t);return n<0?void 0:a[n][1]}return dr=r,dr}var qr,Nt;function ji(){if(Nt)return qr;Nt=1;var e=Z();function r(t){return e(this.__data__,t)>-1}return qr=r,qr}var Tr,Ht;function Ci(){if(Ht)return Tr;Ht=1;var e=Z();function r(t,a){var n=this.__data__,i=e(n,t);return i<0?(++this.size,n.push([t,a])):n[i][1]=a,this}return Tr=r,Tr}var Ar,Vt;function Q(){if(Vt)return Ar;Vt=1;var e=Ti(),r=Ai(),t=Si(),a=ji(),n=Ci();function i(u){var s=-1,o=u==null?0:u.length;for(this.clear();++s<o;){var c=u[s];this.set(c[0],c[1])}}return i.prototype.clear=e,i.prototype.delete=r,i.prototype.get=t,i.prototype.has=a,i.prototype.set=n,Ar=i,Ar}var Sr,zt;function Ri(){if(zt)return Sr;zt=1;var e=Q();function r(){this.__data__=new e,this.size=0}return Sr=r,Sr}var jr,Wt;function mi(){if(Wt)return jr;Wt=1;function e(r){var t=this.__data__,a=t.delete(r);return this.size=t.size,a}return jr=e,jr}var Cr,Jt;function Ii(){if(Jt)return Cr;Jt=1;function e(r){return this.__data__.get(r)}return Cr=e,Cr}var Rr,Xt;function Oi(){if(Xt)return Rr;Xt=1;function e(r){return this.__data__.has(r)}return Rr=e,Rr}var mr,Yt;function Ln(){if(Yt)return mr;Yt=1;var e=L(),r=z(),t="[object AsyncFunction]",a="[object Function]",n="[object GeneratorFunction]",i="[object Proxy]";function u(s){if(!r(s))return!1;var o=e(s);return o==a||o==n||o==t||o==i}return mr=u,mr}var Ir,$t;function wi(){if($t)return Ir;$t=1;var e=S(),r=e["__core-js_shared__"];return Ir=r,Ir}var Or,Zt;function Pi(){if(Zt)return Or;Zt=1;var e=wi(),r=(function(){var a=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""})();function t(a){return!!r&&r in a}return Or=t,Or}var wr,Qt;function Fn(){if(Qt)return wr;Qt=1;var e=Function.prototype,r=e.toString;function t(a){if(a!=null){try{return r.call(a)}catch{}try{return a+""}catch{}}return""}return wr=t,wr}var Pr,ra;function xi(){if(ra)return Pr;ra=1;var e=Ln(),r=Pi(),t=z(),a=Fn(),n=/[\\^$.*+?()[\]{}|]/g,i=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,o=u.toString,c=s.hasOwnProperty,f=RegExp("^"+o.call(c).replace(n,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function _(y){if(!t(y)||r(y))return!1;var g=e(y)?f:i;return g.test(a(y))}return Pr=_,Pr}var xr,ea;function Mi(){if(ea)return xr;ea=1;function e(r,t){return r?.[t]}return xr=e,xr}var Mr,ta;function D(){if(ta)return Mr;ta=1;var e=xi(),r=Mi();function t(a,n){var i=r(a,n);return e(i)?i:void 0}return Mr=t,Mr}var Dr,aa;function ft(){if(aa)return Dr;aa=1;var e=D(),r=S(),t=e(r,"Map");return Dr=t,Dr}var Gr,na;function rr(){if(na)return Gr;na=1;var e=D(),r=e(Object,"create");return Gr=r,Gr}var Kr,ia;function Di(){if(ia)return Kr;ia=1;var e=rr();function r(){this.__data__=e?e(null):{},this.size=0}return Kr=r,Kr}var Er,ua;function Gi(){if(ua)return Er;ua=1;function e(r){var t=this.has(r)&&delete this.__data__[r];return this.size-=t?1:0,t}return Er=e,Er}var Lr,sa;function Ki(){if(sa)return Lr;sa=1;var e=rr(),r="__lodash_hash_undefined__",t=Object.prototype,a=t.hasOwnProperty;function n(i){var u=this.__data__;if(e){var s=u[i];return s===r?void 0:s}return a.call(u,i)?u[i]:void 0}return Lr=n,Lr}var Fr,oa;function Ei(){if(oa)return Fr;oa=1;var e=rr(),r=Object.prototype,t=r.hasOwnProperty;function a(n){var i=this.__data__;return e?i[n]!==void 0:t.call(i,n)}return Fr=a,Fr}var kr,ca;function Li(){if(ca)return kr;ca=1;var e=rr(),r="__lodash_hash_undefined__";function t(a,n){var i=this.__data__;return this.size+=this.has(a)?0:1,i[a]=e&&n===void 0?r:n,this}return kr=t,kr}var Br,fa;function Fi(){if(fa)return Br;fa=1;var e=Di(),r=Gi(),t=Ki(),a=Ei(),n=Li();function i(u){var s=-1,o=u==null?0:u.length;for(this.clear();++s<o;){var c=u[s];this.set(c[0],c[1])}}return i.prototype.clear=e,i.prototype.delete=r,i.prototype.get=t,i.prototype.has=a,i.prototype.set=n,Br=i,Br}var Ur,va;function ki(){if(va)return Ur;va=1;var e=Fi(),r=Q(),t=ft();function a(){this.size=0,this.__data__={hash:new e,map:new(t||r),string:new e}}return Ur=a,Ur}var Nr,la;function Bi(){if(la)return Nr;la=1;function e(r){var t=typeof r;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?r!=="__proto__":r===null}return Nr=e,Nr}var Hr,_a;function er(){if(_a)return Hr;_a=1;var e=Bi();function r(t,a){var n=t.__data__;return e(a)?n[typeof a=="string"?"string":"hash"]:n.map}return Hr=r,Hr}var Vr,ha;function Ui(){if(ha)return Vr;ha=1;var e=er();function r(t){var a=e(this,t).delete(t);return this.size-=a?1:0,a}return Vr=r,Vr}var zr,ya;function Ni(){if(ya)return zr;ya=1;var e=er();function r(t){return e(this,t).get(t)}return zr=r,zr}var Wr,pa;function Hi(){if(pa)return Wr;pa=1;var e=er();function r(t){return e(this,t).has(t)}return Wr=r,Wr}var Jr,ba;function Vi(){if(ba)return Jr;ba=1;var e=er();function r(t,a){var n=e(this,t),i=n.size;return n.set(t,a),this.size+=n.size==i?0:1,this}return Jr=r,Jr}var Xr,ga;function zi(){if(ga)return Xr;ga=1;var e=ki(),r=Ui(),t=Ni(),a=Hi(),n=Vi();function i(u){var s=-1,o=u==null?0:u.length;for(this.clear();++s<o;){var c=u[s];this.set(c[0],c[1])}}return i.prototype.clear=e,i.prototype.delete=r,i.prototype.get=t,i.prototype.has=a,i.prototype.set=n,Xr=i,Xr}var Yr,da;function Wi(){if(da)return Yr;da=1;var e=Q(),r=ft(),t=zi(),a=200;function n(i,u){var s=this.__data__;if(s instanceof e){var o=s.__data__;if(!r||o.length<a-1)return o.push([i,u]),this.size=++s.size,this;s=this.__data__=new t(o)}return s.set(i,u),this.size=s.size,this}return Yr=n,Yr}var $r,qa;function Ji(){if(qa)return $r;qa=1;var e=Q(),r=Ri(),t=mi(),a=Ii(),n=Oi(),i=Wi();function u(s){var o=this.__data__=new e(s);this.size=o.size}return u.prototype.clear=r,u.prototype.delete=t,u.prototype.get=a,u.prototype.has=n,u.prototype.set=i,$r=u,$r}var Zr,Ta;function kn(){if(Ta)return Zr;Ta=1;var e=D(),r=(function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch{}})();return Zr=r,Zr}var Qr,Aa;function Bn(){if(Aa)return Qr;Aa=1;var e=kn();function r(t,a,n){a=="__proto__"&&e?e(t,a,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[a]=n}return Qr=r,Qr}var N={exports:{}};N.exports;var Sa;function Xi(){return Sa||(Sa=1,(function(e,r){var t=S(),a=r&&!r.nodeType&&r,n=a&&!0&&e&&!e.nodeType&&e,i=n&&n.exports===a,u=i?t.Buffer:void 0,s=u?u.allocUnsafe:void 0;function o(c,f){if(f)return c.slice();var _=c.length,y=s?s(_):new c.constructor(_);return c.copy(y),y}e.exports=o})(N,N.exports)),N.exports}var re,ja;function Yi(){if(ja)return re;ja=1;var e=S(),r=e.Uint8Array;return re=r,re}var ee,Ca;function vt(){if(Ca)return ee;Ca=1;var e=Yi();function r(t){var a=new t.constructor(t.byteLength);return new e(a).set(new e(t)),a}return ee=r,ee}var te,Ra;function $i(){if(Ra)return te;Ra=1;var e=vt();function r(t,a){var n=a?e(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}return te=r,te}var ae,ma;function Zi(){if(ma)return ae;ma=1;function e(r,t){var a=-1,n=r.length;for(t||(t=Array(n));++a<n;)t[a]=r[a];return t}return ae=e,ae}var ne,Ia;function Qi(){if(Ia)return ne;Ia=1;var e=z(),r=Object.create,t=(function(){function a(){}return function(n){if(!e(n))return{};if(r)return r(n);a.prototype=n;var i=new a;return a.prototype=void 0,i}})();return ne=t,ne}var ie,Oa;function lt(){if(Oa)return ie;Oa=1;var e=Object.prototype;function r(t){var a=t&&t.constructor,n=typeof a=="function"&&a.prototype||e;return t===n}return ie=r,ie}var ue,wa;function ru(){if(wa)return ue;wa=1;var e=Qi(),r=ct(),t=lt();function a(n){return typeof n.constructor=="function"&&!t(n)?e(r(n)):{}}return ue=a,ue}var se,Pa;function eu(){if(Pa)return se;Pa=1;var e=L(),r=M(),t="[object Arguments]";function a(n){return r(n)&&e(n)==t}return se=a,se}var oe,xa;function tu(){if(xa)return oe;xa=1;var e=eu(),r=M(),t=Object.prototype,a=t.hasOwnProperty,n=t.propertyIsEnumerable,i=e((function(){return arguments})())?e:function(u){return r(u)&&a.call(u,"callee")&&!n.call(u,"callee")};return oe=i,oe}var ce,Ma;function _t(){if(Ma)return ce;Ma=1;var e=Array.isArray;return ce=e,ce}var fe,Da;function Un(){if(Da)return fe;Da=1;var e=9007199254740991;function r(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=e}return fe=r,fe}var ve,Ga;function Nn(){if(Ga)return ve;Ga=1;var e=Ln(),r=Un();function t(a){return a!=null&&r(a.length)&&!e(a)}return ve=t,ve}var H={exports:{}},le,Ka;function au(){if(Ka)return le;Ka=1;function e(){return!1}return le=e,le}H.exports;var Ea;function Hn(){return Ea||(Ea=1,(function(e,r){var t=S(),a=au(),n=r&&!r.nodeType&&r,i=n&&!0&&e&&!e.nodeType&&e,u=i&&i.exports===n,s=u?t.Buffer:void 0,o=s?s.isBuffer:void 0,c=o||a;e.exports=c})(H,H.exports)),H.exports}var _e,La;function nu(){if(La)return _e;La=1;var e=L(),r=Un(),t=M(),a="[object Arguments]",n="[object Array]",i="[object Boolean]",u="[object Date]",s="[object Error]",o="[object Function]",c="[object Map]",f="[object Number]",_="[object Object]",y="[object RegExp]",g="[object Set]",T="[object String]",A="[object WeakMap]",q="[object ArrayBuffer]",j="[object DataView]",p="[object Float32Array]",C="[object Float64Array]",R="[object Int8Array]",m="[object Int16Array]",I="[object Int32Array]",F="[object Uint8Array]",k="[object Uint8ClampedArray]",d="[object Uint16Array]",B="[object Uint32Array]",v={};v[p]=v[C]=v[R]=v[m]=v[I]=v[F]=v[k]=v[d]=v[B]=!0,v[a]=v[n]=v[q]=v[i]=v[j]=v[u]=v[s]=v[o]=v[c]=v[f]=v[_]=v[y]=v[g]=v[T]=v[A]=!1;function O(U){return t(U)&&r(U.length)&&!!v[e(U)]}return _e=O,_e}var he,Fa;function ht(){if(Fa)return he;Fa=1;function e(r){return function(t){return r(t)}}return he=e,he}var V={exports:{}};V.exports;var ka;function yt(){return ka||(ka=1,(function(e,r){var t=Gn(),a=r&&!r.nodeType&&r,n=a&&!0&&e&&!e.nodeType&&e,i=n&&n.exports===a,u=i&&t.process,s=(function(){try{var o=n&&n.require&&n.require("util").types;return o||u&&u.binding&&u.binding("util")}catch{}})();e.exports=s})(V,V.exports)),V.exports}var ye,Ba;function iu(){if(Ba)return ye;Ba=1;var e=nu(),r=ht(),t=yt(),a=t&&t.isTypedArray,n=a?r(a):e;return ye=n,ye}var pe,Ua;function Vn(){if(Ua)return pe;Ua=1;var e=Bn(),r=En(),t=Object.prototype,a=t.hasOwnProperty;function n(i,u,s){var o=i[u];(!(a.call(i,u)&&r(o,s))||s===void 0&&!(u in i))&&e(i,u,s)}return pe=n,pe}var be,Na;function tr(){if(Na)return be;Na=1;var e=Vn(),r=Bn();function t(a,n,i,u){var s=!i;i||(i={});for(var o=-1,c=n.length;++o<c;){var f=n[o],_=u?u(i[f],a[f],f,i,a):void 0;_===void 0&&(_=a[f]),s?r(i,f,_):e(i,f,_)}return i}return be=t,be}var ge,Ha;function uu(){if(Ha)return ge;Ha=1;function e(r,t){for(var a=-1,n=Array(r);++a<r;)n[a]=t(a);return n}return ge=e,ge}var de,Va;function su(){if(Va)return de;Va=1;var e=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function t(a,n){var i=typeof a;return n=n??e,!!n&&(i=="number"||i!="symbol"&&r.test(a))&&a>-1&&a%1==0&&a<n}return de=t,de}var qe,za;function zn(){if(za)return qe;za=1;var e=uu(),r=tu(),t=_t(),a=Hn(),n=su(),i=iu(),u=Object.prototype,s=u.hasOwnProperty;function o(c,f){var _=t(c),y=!_&&r(c),g=!_&&!y&&a(c),T=!_&&!y&&!g&&i(c),A=_||y||g||T,q=A?e(c.length,String):[],j=q.length;for(var p in c)(f||s.call(c,p))&&!(A&&(p=="length"||g&&(p=="offset"||p=="parent")||T&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||n(p,j)))&&q.push(p);return q}return qe=o,qe}var Te,Wa;function ou(){if(Wa)return Te;Wa=1;function e(r){var t=[];if(r!=null)for(var a in Object(r))t.push(a);return t}return Te=e,Te}var Ae,Ja;function cu(){if(Ja)return Ae;Ja=1;var e=z(),r=lt(),t=ou(),a=Object.prototype,n=a.hasOwnProperty;function i(u){if(!e(u))return t(u);var s=r(u),o=[];for(var c in u)c=="constructor"&&(s||!n.call(u,c))||o.push(c);return o}return Ae=i,Ae}var Se,Xa;function pt(){if(Xa)return Se;Xa=1;var e=zn(),r=cu(),t=Nn();function a(n){return t(n)?e(n,!0):r(n)}return Se=a,Se}var je,Ya;function fu(){if(Ya)return je;Ya=1;function e(r){return r}return je=e,je}var Ce,$a;function vu(){if($a)return Ce;$a=1;function e(r,t,a){switch(a.length){case 0:return r.call(t);case 1:return r.call(t,a[0]);case 2:return r.call(t,a[0],a[1]);case 3:return r.call(t,a[0],a[1],a[2])}return r.apply(t,a)}return Ce=e,Ce}var Re,Za;function Bu(){if(Za)return Re;Za=1;var e=vu(),r=Math.max;function t(a,n,i){return n=r(n===void 0?a.length-1:n,0),function(){for(var u=arguments,s=-1,o=r(u.length-n,0),c=Array(o);++s<o;)c[s]=u[n+s];s=-1;for(var f=Array(n+1);++s<n;)f[s]=u[s];return f[n]=i(c),e(a,this,f)}}return Re=t,Re}var me,Qa;function lu(){if(Qa)return me;Qa=1;function e(r){return function(){return r}}return me=e,me}var Ie,rn;function _u(){if(rn)return Ie;rn=1;var e=lu(),r=kn(),t=fu(),a=r?function(n,i){return r(n,"toString",{configurable:!0,enumerable:!1,value:e(i),writable:!0})}:t;return Ie=a,Ie}var Oe,en;function hu(){if(en)return Oe;en=1;var e=800,r=16,t=Date.now;function a(n){var i=0,u=0;return function(){var s=t(),o=r-(s-u);if(u=s,o>0){if(++i>=e)return arguments[0]}else i=0;return n.apply(void 0,arguments)}}return Oe=a,Oe}var we,tn;function Uu(){if(tn)return we;tn=1;var e=_u(),r=hu(),t=r(e);return we=t,we}var Pe,an;function yu(){if(an)return Pe;an=1;function e(r,t){for(var a=-1,n=r==null?0:r.length;++a<n&&t(r[a],a,r)!==!1;);return r}return Pe=e,Pe}var xe,nn;function pu(){if(nn)return xe;nn=1;var e=Kn(),r=e(Object.keys,Object);return xe=r,xe}var Me,un;function bu(){if(un)return Me;un=1;var e=lt(),r=pu(),t=Object.prototype,a=t.hasOwnProperty;function n(i){if(!e(i))return r(i);var u=[];for(var s in Object(i))a.call(i,s)&&s!="constructor"&&u.push(s);return u}return Me=n,Me}var De,sn;function bt(){if(sn)return De;sn=1;var e=zn(),r=bu(),t=Nn();function a(n){return t(n)?e(n):r(n)}return De=a,De}var Ge,on;function gu(){if(on)return Ge;on=1;var e=tr(),r=bt();function t(a,n){return a&&e(n,r(n),a)}return Ge=t,Ge}var Ke,cn;function du(){if(cn)return Ke;cn=1;var e=tr(),r=pt();function t(a,n){return a&&e(n,r(n),a)}return Ke=t,Ke}var Ee,fn;function qu(){if(fn)return Ee;fn=1;function e(r,t){for(var a=-1,n=r==null?0:r.length,i=0,u=[];++a<n;){var s=r[a];t(s,a,r)&&(u[i++]=s)}return u}return Ee=e,Ee}var Le,vn;function Wn(){if(vn)return Le;vn=1;function e(){return[]}return Le=e,Le}var Fe,ln;function gt(){if(ln)return Fe;ln=1;var e=qu(),r=Wn(),t=Object.prototype,a=t.propertyIsEnumerable,n=Object.getOwnPropertySymbols,i=n?function(u){return u==null?[]:(u=Object(u),e(n(u),function(s){return a.call(u,s)}))}:r;return Fe=i,Fe}var ke,_n;function Tu(){if(_n)return ke;_n=1;var e=tr(),r=gt();function t(a,n){return e(a,r(a),n)}return ke=t,ke}var Be,hn;function Jn(){if(hn)return Be;hn=1;function e(r,t){for(var a=-1,n=t.length,i=r.length;++a<n;)r[i+a]=t[a];return r}return Be=e,Be}var Ue,yn;function Xn(){if(yn)return Ue;yn=1;var e=Jn(),r=ct(),t=gt(),a=Wn(),n=Object.getOwnPropertySymbols,i=n?function(u){for(var s=[];u;)e(s,t(u)),u=r(u);return s}:a;return Ue=i,Ue}var Ne,pn;function Au(){if(pn)return Ne;pn=1;var e=tr(),r=Xn();function t(a,n){return e(a,r(a),n)}return Ne=t,Ne}var He,bn;function Yn(){if(bn)return He;bn=1;var e=Jn(),r=_t();function t(a,n,i){var u=n(a);return r(a)?u:e(u,i(a))}return He=t,He}var Ve,gn;function Su(){if(gn)return Ve;gn=1;var e=Yn(),r=gt(),t=bt();function a(n){return e(n,t,r)}return Ve=a,Ve}var ze,dn;function ju(){if(dn)return ze;dn=1;var e=Yn(),r=Xn(),t=pt();function a(n){return e(n,t,r)}return ze=a,ze}var We,qn;function Cu(){if(qn)return We;qn=1;var e=D(),r=S(),t=e(r,"DataView");return We=t,We}var Je,Tn;function Ru(){if(Tn)return Je;Tn=1;var e=D(),r=S(),t=e(r,"Promise");return Je=t,Je}var Xe,An;function mu(){if(An)return Xe;An=1;var e=D(),r=S(),t=e(r,"Set");return Xe=t,Xe}var Ye,Sn;function Iu(){if(Sn)return Ye;Sn=1;var e=D(),r=S(),t=e(r,"WeakMap");return Ye=t,Ye}var $e,jn;function dt(){if(jn)return $e;jn=1;var e=Cu(),r=ft(),t=Ru(),a=mu(),n=Iu(),i=L(),u=Fn(),s="[object Map]",o="[object Object]",c="[object Promise]",f="[object Set]",_="[object WeakMap]",y="[object DataView]",g=u(e),T=u(r),A=u(t),q=u(a),j=u(n),p=i;return(e&&p(new e(new ArrayBuffer(1)))!=y||r&&p(new r)!=s||t&&p(t.resolve())!=c||a&&p(new a)!=f||n&&p(new n)!=_)&&(p=function(C){var R=i(C),m=R==o?C.constructor:void 0,I=m?u(m):"";if(I)switch(I){case g:return y;case T:return s;case A:return c;case q:return f;case j:return _}return R}),$e=p,$e}var Ze,Cn;function Ou(){if(Cn)return Ze;Cn=1;var e=Object.prototype,r=e.hasOwnProperty;function t(a){var n=a.length,i=new a.constructor(n);return n&&typeof a[0]=="string"&&r.call(a,"index")&&(i.index=a.index,i.input=a.input),i}return Ze=t,Ze}var Qe,Rn;function wu(){if(Rn)return Qe;Rn=1;var e=vt();function r(t,a){var n=a?e(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}return Qe=r,Qe}var rt,mn;function Pu(){if(mn)return rt;mn=1;var e=/\w*$/;function r(t){var a=new t.constructor(t.source,e.exec(t));return a.lastIndex=t.lastIndex,a}return rt=r,rt}var et,In;function xu(){if(In)return et;In=1;var e=ot(),r=e?e.prototype:void 0,t=r?r.valueOf:void 0;function a(n){return t?Object(t.call(n)):{}}return et=a,et}var tt,On;function Mu(){if(On)return tt;On=1;var e=vt(),r=wu(),t=Pu(),a=xu(),n=$i(),i="[object Boolean]",u="[object Date]",s="[object Map]",o="[object Number]",c="[object RegExp]",f="[object Set]",_="[object String]",y="[object Symbol]",g="[object ArrayBuffer]",T="[object DataView]",A="[object Float32Array]",q="[object Float64Array]",j="[object Int8Array]",p="[object Int16Array]",C="[object Int32Array]",R="[object Uint8Array]",m="[object Uint8ClampedArray]",I="[object Uint16Array]",F="[object Uint32Array]";function k(d,B,v){var O=d.constructor;switch(B){case g:return e(d);case i:case u:return new O(+d);case T:return r(d,v);case A:case q:case j:case p:case C:case R:case m:case I:case F:return n(d,v);case s:return new O;case o:case _:return new O(d);case c:return t(d);case f:return new O;case y:return a(d)}}return tt=k,tt}var at,wn;function Du(){if(wn)return at;wn=1;var e=dt(),r=M(),t="[object Map]";function a(n){return r(n)&&e(n)==t}return at=a,at}var nt,Pn;function Gu(){if(Pn)return nt;Pn=1;var e=Du(),r=ht(),t=yt(),a=t&&t.isMap,n=a?r(a):e;return nt=n,nt}var it,xn;function Ku(){if(xn)return it;xn=1;var e=dt(),r=M(),t="[object Set]";function a(n){return r(n)&&e(n)==t}return it=a,it}var ut,Mn;function Eu(){if(Mn)return ut;Mn=1;var e=Ku(),r=ht(),t=yt(),a=t&&t.isSet,n=a?r(a):e;return ut=n,ut}var st,Dn;function Nu(){if(Dn)return st;Dn=1;var e=Ji(),r=yu(),t=Vn(),a=gu(),n=du(),i=Xi(),u=Zi(),s=Tu(),o=Au(),c=Su(),f=ju(),_=dt(),y=Ou(),g=Mu(),T=ru(),A=_t(),q=Hn(),j=Gu(),p=z(),C=Eu(),R=bt(),m=pt(),I=1,F=2,k=4,d="[object Arguments]",B="[object Array]",v="[object Boolean]",O="[object Date]",U="[object Error]",qt="[object Function]",$n="[object GeneratorFunction]",Zn="[object Map]",Qn="[object Number]",Tt="[object Object]",ri="[object RegExp]",ei="[object Set]",ti="[object String]",ai="[object Symbol]",ni="[object WeakMap]",ii="[object ArrayBuffer]",ui="[object DataView]",si="[object Float32Array]",oi="[object Float64Array]",ci="[object Int8Array]",fi="[object Int16Array]",vi="[object Int32Array]",li="[object Uint8Array]",_i="[object Uint8ClampedArray]",hi="[object Uint16Array]",yi="[object Uint32Array]",h={};h[d]=h[B]=h[ii]=h[ui]=h[v]=h[O]=h[si]=h[oi]=h[ci]=h[fi]=h[vi]=h[Zn]=h[Qn]=h[Tt]=h[ri]=h[ei]=h[ti]=h[ai]=h[li]=h[_i]=h[hi]=h[yi]=!0,h[U]=h[qt]=h[ni]=!1;function W(l,G,K,pi,J,w){var b,X=G&I,Y=G&F,bi=G&k;if(K&&(b=J?K(l,pi,J,w):K(l)),b!==void 0)return b;if(!p(l))return l;var At=A(l);if(At){if(b=y(l),!X)return u(l,b)}else{var E=_(l),St=E==qt||E==$n;if(q(l))return i(l,X);if(E==Tt||E==d||St&&!J){if(b=Y||St?{}:T(l),!X)return Y?o(l,n(b,l)):s(l,a(b,l))}else{if(!h[E])return J?l:{};b=g(l,E,X)}}w||(w=new e);var jt=w.get(l);if(jt)return jt;w.set(l,b),C(l)?l.forEach(function(P){b.add(W(P,G,K,P,l,w))}):j(l)&&l.forEach(function(P,x){b.set(x,W(P,G,K,x,l,w))});var gi=bi?Y?f:c:Y?m:R,Ct=At?void 0:gi(l);return r(Ct||l,function(P,x){Ct&&(x=P,P=l[x]),t(b,x,W(P,G,K,x,l,w))}),b}return st=W,st}export{Ln as A,iu as B,Zi as C,Ji as D,fu as E,z as a,su as b,tu as c,_t as d,Un as e,Fu as f,zi as g,ot as h,Jn as i,Uu as j,Bu as k,ku as l,Nu as m,tr as n,ju as o,S as p,Bn as q,Vn as r,En as s,Nn as t,M as u,pt as v,Xi as w,$i as x,ru as y,Hn as z};
@@ -1 +0,0 @@
1
- import{j as e}from"./iframe-DfPay7Zl.js";import{I as a}from"./icon-CdiFzFyf.js";import{c as p,g as d}from"./store-Ce3Ikv5g.js";import{T as t}from"./typography-CB8hPDyK.js";const s=d("alert"),f=({type:i="informative",title:r,message:l,closeable:c,action:o,className:n,...m})=>e.jsxs("div",{className:p(s,`${s}--${i}`,n),...m,children:[e.jsxs("div",{className:`${s}__icon`,children:[i==="informative"&&e.jsx(a,{name:"circle-info",type:"fill",size:20,color:"alias-object-secondary"}),i==="positive"&&e.jsx(a,{name:"circle-check",type:"fill",size:20,color:"alias-support-positive"}),i==="negative"&&e.jsx(a,{name:"triangle-warning",type:"fill",size:20,color:"alias-support-negative"})]}),e.jsxs("div",{className:`${s}__content`,children:[!!r&&e.jsx(t,{size:"small",weight:"bold",color:{informative:"alias-object-primary",positive:"alias-support-positive",negative:"alias-support-negative"}[i],children:r}),!!l&&e.jsx(t,{size:"small",children:l})]}),!!o&&e.jsx("div",{className:`${s}__action`,children:o}),c&&e.jsx("div",{className:`${s}__close`,children:e.jsx(a,{name:"xmark",size:20})})]});f.__docgenInfo={description:"",methods:[],displayName:"Alert",props:{type:{defaultValue:{value:"'informative'",computed:!1},required:!1}}};export{f as A};
@@ -1 +0,0 @@
1
- import{j as i,e as G,r as l}from"./iframe-DfPay7Zl.js";import{c as v,g as x}from"./store-Ce3Ikv5g.js";import{h as J,d as H}from"./index-BWpuenI4.js";import{B as W}from"./button-DJH3RlJl.js";import{I as Q}from"./image-CMKb-R3x.js";import{T as _}from"./typography-CB8hPDyK.js";import{a as X}from"./toast-provider-DKSrfhJD.js";import{d as p,m as h,k as j,E as I,a as F,O as Y,N as Z,u as ee,P as ae,b as te}from"./navigation-bar-DK3TxcTu.js";import{c as K}from"./react-I9jCW2VV.js";import{B as ne}from"./bottom-tab-bar-B6IAoRwz.js";const oe=""+new URL("default-error-BcnD8fFO.png",import.meta.url).href,P=x("error"),U=({image:e,title:t="Đã xảy ra lỗi",description:o="Lỗi kết nối đến hệ thống. Vui lòng kiểm tra kết nối mạng hoặc đợi trong giây lát.",button:a,className:s,...n})=>i.jsxs("div",{className:v(P,s),...n,children:[i.jsx("div",{className:`${P}__image`,children:e||i.jsx(Q,{width:208,height:208,src:oe})}),i.jsxs("div",{className:`${P}__content`,children:[i.jsx(_,{size:"base",color:"alias-object-primary",children:t}),i.jsx(_,{size:"small",color:"alias-object-secondary",children:o})]}),i.jsx(W,{children:"Thử lại",theme:"neutral",size:"large",...a})]});U.__docgenInfo={description:"",methods:[],displayName:"ErrorComponent",props:{title:{defaultValue:{value:"'Đã xảy ra lỗi'",computed:!1},required:!1},description:{defaultValue:{value:"'Lỗi kết nối đến hệ thống. Vui lòng kiểm tra kết nối mạng hoặc đợi trong giây lát.'",computed:!1},required:!1}}};const $=x("error-boundary");class V extends G.Component{constructor(t){super(t),this.state={hasError:!1,error:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}render(){return this.state.hasError?i.jsx("div",{className:v($,{[`${$}--global`]:this.props.isGlobal}),children:i.jsx(U,{})}):this.props.children}}V.__docgenInfo={description:"",methods:[],displayName:"ErrorBoundary",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},isGlobal:{required:!1,tsType:{name:"boolean"},description:""}}};const O={hidden:!0,divider:!0,transparent:"none",title:"",backIcon:!1,leftIcon:!1,rightIcon:!1},f=K(e=>({pageConfigs:{},appConfig:O,pages:{},app:O,setPage:(t,o)=>e(a=>({pages:h({},a.pages,{[t]:o})})),setApp:t=>e(o=>({app:h({},o.app,t)})),resetPage:(t,o)=>e(a=>({pages:{...a.pages,[t]:p(a.pageConfigs[o])}})),resetApp:()=>e(t=>({app:p(t.appConfig)}))}));j.on("afterInit",e=>{const{pageConfigs:t,appConfig:o}=f.getState(),a=p(o),s=Object.fromEntries(e.histories.map(n=>{const c=t[n.location.pathname];return[n.location.key,p(c)]}));f.setState({app:a,pages:s})});j.on("afterHistoryChange",e=>{const{pageConfigs:t,pages:o}=f.getState(),a={...o},s=e.history.location.key;s in a||(a[s]=p(t[e.history.location.pathname])),e.histories.forEach(n=>{n.location.key in a||delete a[n.location.key]}),f.setState({pages:a})});const re=()=>{const{pages:e,app:t,setPage:o,setApp:a,resetApp:s,resetPage:n}=f(),c=I(),r=c.key,d=c.pathname,m=e[r]||{},T=t,u=h({divider:!0,transparent:"none"},T,m),k=l.useCallback(L=>o(r,L),[o,r]),g=l.useCallback(L=>a(L),[a]),C=l.useCallback(()=>{k({hidden:!0})},[k]),A=l.useCallback(()=>{g({hidden:!0})},[g]),w=l.useCallback(()=>{n(r,d)},[n,r,d]),E=l.useCallback(()=>{s()},[s]);return{state:u,pageState:m,appState:T,setPageNavigationBar:k,setAppNavigationBar:g,removePageNavigationBar:C,removeAppNavigationBar:A,resetPageNavigationBar:w,resetAppNavigationBar:E}},N=x("navigation-bar-layout"),q=({children:e})=>{const t=F(),o=I(),a=Y(),{state:s}=re(),n=!s||s.hidden,c=s.transparent&&s.transparent!=="none";return l.useEffect(()=>{document.body?.style?.setProperty("--vsf-current-navigation-bar-height",n?"0px":"var(--vsf-title-bar-height, 56px)")},[n]),i.jsxs(i.Fragment,{children:[!n&&i.jsx("div",{className:v(`${N}`,{[`${N}--sticky`]:c}),children:l.createElement(Z,{onBackClick:()=>a.length>1?t(-1):vsf.exitMiniApp(),...s,locationKey:o.key,key:o.key})}),i.jsx("div",{className:v(`${N}__children`,{[`${N}__children--full`]:n||c}),children:e})]})};q.__docgenInfo={description:"",methods:[],displayName:"NavigationBarLayout"};const M={items:[]},b=K(e=>({pageConfigs:{},appConfig:M,pages:{},app:M,setPage:(t,o)=>e(a=>({pages:h({},a.pages,{[t]:o})})),setApp:t=>e(o=>({app:h({},o.app,t)})),resetPage:(t,o)=>e(a=>({pages:{...a.pages,[t]:p(a.pageConfigs[o])}})),resetApp:()=>e(t=>({app:p(t.appConfig)}))}));j.on("afterInit",e=>{const{pageConfigs:t,appConfig:o}=b.getState(),a=p(o),s=Object.fromEntries(e.histories.map(n=>{const c=t[n.location.pathname];return[n.location.key,p(c)]}));b.setState({app:a,pages:s})});j.on("afterHistoryChange",e=>{const{pageConfigs:t,pages:o}=b.getState(),a={...o},s=e.history.location.key;s in a||(a[s]=p(t[e.history.location.pathname])),e.histories.forEach(n=>{n.location.key in a||delete a[n.location.key]}),b.setState({pages:a})});const se=()=>{const{pages:e,app:t,setPage:o,setApp:a,resetApp:s,resetPage:n}=b(),c=I(),r=c.key,d=c.pathname,m=e[r]||{},T=t,u=h({},T,m),k=u.hidden||!m.bottomTabBarId||!u.items?.length||u.items?.every(B=>B.id!==m.bottomTabBarId),g=l.useCallback(B=>o(r,B),[o,r]),C=l.useCallback(B=>a(B),[a]),A=l.useCallback(()=>{g({hidden:!0})},[g]),w=l.useCallback(()=>{C({hidden:!0})},[C]),E=l.useCallback(()=>{n(r,d)},[n,r,d]),L=l.useCallback(()=>{s()},[s]);return{state:u,pageState:m,appState:T,hidden:k,setPageBottomTabBar:g,setAppBottomTabBar:C,removePageBottomTabBar:A,removeAppBottomTabBar:w,resetPageBottomTabBar:E,resetAppBottomTabBar:L}},D=x("bottom-tab-bar-layout"),z=({children:e})=>{const t=F(),{state:o,hidden:a,state:s}=se(),n=o?.items||[];return l.useEffect(()=>{document.body?.style?.setProperty("--vsf-current-bottom-tab-bar-height",a?"0px":"var(--vsf-bottom-tab-bar-height, 56px)")},[a]),i.jsxs("div",{className:D,children:[i.jsx("div",{className:`${D}__children`,children:e}),!a&&i.jsx(ne,{onItemClick:(c,r)=>{const d=n[r];d&&t(d.path,{replace:!0,animation:{type:"none"},params:d.params})},activeId:s.bottomTabBarId,setCssVariable:!0,...o})]})};z.__docgenInfo={description:"",methods:[],displayName:"BottomTabBarLayout"};const S=e=>{if(!e||e==="light"){R("light");return}if(e==="dark"){R("dark");return}ie()},R=e=>{e==="dark"?window.document.documentElement.setAttribute("data-theme","dark"):window.document.documentElement.removeAttribute("data-theme")},ie=()=>{const e=window?.matchMedia("(prefers-color-scheme: dark)").matches;R(e?"dark":"light")},le={"pullToRefresh.canReleaseText":"Thả để làm mới","pullToRefresh.completeText":"Làm mới hoàn tất","pullToRefresh.pullingText":"Kéo để làm mới","pullToRefresh.refreshingText":"Đang làm mới...","calendar.monthLabel[0]":"Tháng 1","calendar.monthLabel[1]":"Tháng 2","calendar.monthLabel[2]":"Tháng 3","calendar.monthLabel[3]":"Tháng 4","calendar.monthLabel[4]":"Tháng 5","calendar.monthLabel[5]":"Tháng 6","calendar.monthLabel[6]":"Tháng 7","calendar.monthLabel[7]":"Tháng 8","calendar.monthLabel[8]":"Tháng 9","calendar.monthLabel[9]":"Tháng 10","calendar.monthLabel[10]":"Tháng 11","calendar.monthLabel[11]":"Tháng 12","calendar.weekdayLabel[0]":"CN","calendar.weekdayLabel[1]":"T2","calendar.weekdayLabel[2]":"T3","calendar.weekdayLabel[3]":"T4","calendar.weekdayLabel[4]":"T5","calendar.weekdayLabel[5]":"T6","calendar.weekdayLabel[6]":"T7","calendar.headerLabel":"{month} - {year}","calendar.weekday":"{day}"},ce={"pullToRefresh.canReleaseText":"Release to refresh","pullToRefresh.completeText":"Refresh complete","pullToRefresh.pullingText":"Pulling to refresh","pullToRefresh.refreshingText":"Refreshing...","calendar.monthLabel[0]":"January","calendar.monthLabel[1]":"February","calendar.monthLabel[2]":"March","calendar.monthLabel[3]":"April","calendar.monthLabel[4]":"May","calendar.monthLabel[5]":"June","calendar.monthLabel[6]":"July","calendar.monthLabel[7]":"August","calendar.monthLabel[8]":"September","calendar.monthLabel[9]":"October","calendar.monthLabel[10]":"November","calendar.monthLabel[11]":"December","calendar.weekdayLabel[0]":"Sun","calendar.weekdayLabel[1]":"Mon","calendar.weekdayLabel[2]":"Tue","calendar.weekdayLabel[3]":"Wed","calendar.weekdayLabel[4]":"Thu","calendar.weekdayLabel[5]":"Fri","calendar.weekdayLabel[6]":"Sat","calendar.headerLabel":"{month} - {year}","calendar.weekday":"{day}"},pe=x("app"),de=({config:e,children:t})=>{const o=H(),[a,s]=l.useState(null);return l.useEffect(()=>{const n=typeof e=="function"?e({t:o}):e;if(!n)return;n.theme?S(n.theme.mode):n.darkMode?S(n.darkMode?.defaultEnabled?"dark":"light"):S("light"),f.setState({appConfig:n.navigationBar,pageConfigs:Object.fromEntries(n.pages.filter(r=>r.navigationBar).map(r=>[r.pathname,r.navigationBar]))}),b.setState({appConfig:n.bottomTabBar,pageConfigs:Object.fromEntries(n.pages.filter(r=>r.bottomTabBarId||r.bottomTabBar).map(r=>[r.pathname,{bottomTabBarId:r.bottomTabBarId,...r.bottomTabBar}]))}),ee.setState({appConfig:n.pageLayout,pageConfigs:Object.fromEntries(n.pages.filter(r=>r.pageLayout).map(r=>[r.pathname,r.pageLayout]))});const c={...n,pages:n.pages.map(r=>({...r,Component:r.Component,Layouts:[ae,...r.Layouts||[]]})),Layouts:[q,z,...n.Layouts||[]]};s(c),y.isUsingRouter=!0},[e,o]),i.jsxs(i.Fragment,{children:[!!a&&i.jsx(te,{config:a}),i.jsx(X,{}),t]})},y=({className:e,config:t,localesConfig:o,children:a,...s})=>(y.isUsingApp||(y.isUsingApp=!0),i.jsx("div",{...s,className:v(pe,e),children:i.jsx(V,{isGlobal:!0,children:i.jsx(J,{config:h({},o,{resources:{vi:le,en:ce}}),children:i.jsx(de,{config:t,children:a})})})}));y.isUsingApp=!1;y.isUsingRouter=!1;y.__docgenInfo={description:"",methods:[],displayName:"App"};export{y as A};
@@ -1 +0,0 @@
1
- import{r as b,j as o}from"./iframe-DfPay7Zl.js";import{c as x,g as h}from"./store-Ce3Ikv5g.js";import{T as v}from"./typography-CB8hPDyK.js";import{I as $}from"./image-CMKb-R3x.js";const r=h("avatar"),y=({size:e=40,shape:a="rounded",border:l,label:d,labelColor:c,labelSize:S,color:j,style:u,className:z,src:s,srcSet:m,...p})=>{const[g,n]=b.useState(!1),f=I(e),i=!g&&(!!s||!!m);return b.useEffect(()=>{n(!1)},[s,m]),o.jsxs("div",{className:x(r,`${r}--${a}`,{[`${r}--show-image`]:i},z),style:{...u,width:e,height:e},children:[!!l&&o.jsx("div",{className:`${r}__border ${r}__border--${f.borderSize} ${r}--${a}`}),i&&o.jsx($,{...p,onError:()=>n(!0),width:e,height:e,src:s}),!!d&&!i&&o.jsx(v,{size:S||f.labelSize,color:c||"global-dynamic-red-dynamic-red-60",weight:600,children:d})]})},t=[[112,{labelSize:"4x-large",borderSize:2}],[80,{labelSize:"2x-large",borderSize:2}],[56,{labelSize:"large",borderSize:2}],[48,{labelSize:"base",borderSize:1}],[40,{labelSize:"small",borderSize:1}],[32,{labelSize:"x-small",borderSize:1}],[24,{labelSize:"2x-small",borderSize:1}],[0,{labelSize:"3x-small",borderSize:1}]],I=e=>{for(const[a,l]of t)if(e>=a)return l;return t[t.length-1][1]};y.__docgenInfo={description:"",methods:[],displayName:"Avatar",props:{size:{defaultValue:{value:"40",computed:!1},required:!1},shape:{defaultValue:{value:"'rounded'",computed:!1},required:!1}}};export{y as A};
@@ -1,136 +0,0 @@
1
- import{j as e}from"./iframe-DfPay7Zl.js";import{T as x,S as u,M as b,P as h,a as y}from"./blocks-DKR3P4qW.js";import{A as r}from"./avatar-rWcYGe6j.js";import{t as a}from"./store-Ce3Ikv5g.js";import"./preload-helper-PPVm8Dsz.js";import"./index-cMNObl2z.js";import"./typography-CB8hPDyK.js";import"./colors-_6nFGM3e.js";import"./image-CMKb-R3x.js";import"./visibility-sensor-Jf-Nmil6.js";import"./index-B-Ksafg0.js";import"./icon-CdiFzFyf.js";const g=()=>{const v=`
2
- ## ${a("common.table.title")}
3
-
4
- | ${a("common.table.name")} | ${a("common.table.type")} | ${a("common.table.required")} | ${a("common.table.description")} |
5
- | :--- | :--- | :--- | :--- |
6
- | \`size\` | \`number\` | No | ${a("components.avatar.sizeDescription")} |
7
- | \`shape\` | \`'circle' \\| 'rounded'\` | No | ${a("components.avatar.shapeDescription")} |
8
- | \`border\` | \`boolean\` | No | ${a("components.avatar.borderDescription")} |
9
- | \`label\` | \`string\` | No | ${a("components.avatar.labelDescription")} |
10
- | \`labelColor\` | \`IColor\` | No | ${a("components.avatar.labelColorDescription")} |
11
- | \`labelSize\` | \`ITypographySize\` | No | ${a("components.avatar.labelSizeDescription")} |
12
- | \`color\` | \`IColor\` | No | ${a("components.avatar.colorDescription")} |
13
- | \`src\` | \`string\` | No | ${a("components.avatar.srcDescription")} |
14
- | \`srcSet\` | \`string\` | No | ${a("components.avatar.srcSetDescription",{defaultValue:"A set of image sources for responsive images."})} |
15
- | \`className\` | \`string\` | No | ${a("components.avatar.classNameDescription")} |
16
- | \`...props\` | \`ComponentProps<'img'>\` | No | ${a("components.avatar.propsDescription")} |
17
- `;return e.jsxs(e.Fragment,{children:[e.jsx(x,{}),e.jsx(u,{}),e.jsx(b,{children:a("components.avatar.description")}),e.jsx(h,{}),e.jsx(b,{children:v}),e.jsx(y,{})]})},B={title:"Components/Avatar",component:r,parameters:{layout:"padded",docs:{page:g}},tags:["autodocs"],argTypes:{size:{control:{type:"number",min:20,max:200,step:4},description:a("components.avatar.argTypes.sizeDescription"),table:{type:{summary:"number"},defaultValue:{summary:"40"}}},shape:{control:"select",options:["circle","rounded"],description:a("components.avatar.argTypes.shapeDescription"),table:{type:{summary:"IAvatarShape"},defaultValue:{summary:"rounded"}}},border:{control:"boolean",description:a("components.avatar.argTypes.borderDescription"),table:{type:{summary:"boolean"}}},label:{control:"text",description:a("components.avatar.argTypes.labelDescription"),table:{type:{summary:"string"}}},labelColor:{control:"text",description:a("components.avatar.argTypes.labelColorDescription"),table:{type:{summary:"IColor"}}},labelSize:{control:"select",options:["inherit","5x-large","4x-large","3x-large","2x-large","x-large","large","base","small","x-small","2x-small","3x-small"],description:"The size of the label text. Automatically determined based on avatar size if not specified.",table:{type:{summary:"ITypographySize"}}},color:{control:"text",description:a("components.avatar.argTypes.colorDescription"),table:{type:{summary:"IColor"}}},src:{control:"text",description:a("components.avatar.argTypes.srcDescription"),table:{type:{summary:"string"}}}}},s={storyName:a("components.avatar.stories.default.title"),args:{label:"JD",size:40}},t={render:()=>e.jsxs("div",{style:{display:"flex",gap:"16px",alignItems:"center"},children:[e.jsx(r,{label:"JD",size:40}),e.jsx(r,{label:"AB",size:48}),e.jsx(r,{label:"CD",size:56}),e.jsx(r,{label:"EF",size:80})]})},l={storyName:a("components.avatar.stories.shapes.title"),render:()=>e.jsxs("div",{style:{display:"flex",gap:"16px",alignItems:"center"},children:[e.jsx(r,{label:"JD",size:80,shape:"rounded"}),e.jsx(r,{label:"JD",size:80,shape:"circle"})]})},o={storyName:a("components.avatar.stories.sizes.title"),render:()=>e.jsxs("div",{style:{display:"flex",gap:"16px",alignItems:"center"},children:[e.jsx(r,{label:"24",size:24}),e.jsx(r,{label:"32",size:32}),e.jsx(r,{label:"40",size:40}),e.jsx(r,{label:"48",size:48}),e.jsx(r,{label:"56",size:56}),e.jsx(r,{label:"80",size:80}),e.jsx(r,{label:"112",size:112})]})},i={storyName:a("components.avatar.stories.withBorder.title"),render:()=>e.jsxs("div",{style:{display:"flex",gap:"16px",alignItems:"center"},children:[e.jsx(r,{label:"JD",size:80,shape:"circle",border:!0}),e.jsx(r,{label:"AB",size:80,shape:"rounded",border:!0}),e.jsx(r,{label:"CD",size:56,shape:"circle",border:!0}),e.jsx(r,{label:"EF",size:48,shape:"rounded",border:!0})]})},p={storyName:a("components.avatar.stories.withImage.title"),render:()=>e.jsxs("div",{style:{display:"flex",gap:"16px",alignItems:"center"},children:[e.jsx(r,{src:"https://via.placeholder.com/40",size:40,shape:"rounded"}),e.jsx(r,{src:"https://via.placeholder.com/48",size:48,shape:"circle"}),e.jsx(r,{src:"https://via.placeholder.com/80",size:80,shape:"rounded",border:!0}),e.jsx(r,{src:"https://via.placeholder.com/112",size:112,shape:"circle",border:!0})]})},c={storyName:a("components.avatar.stories.customLabelStyling.title"),render:()=>e.jsxs("div",{style:{display:"flex",gap:"16px",alignItems:"center"},children:[e.jsx(r,{label:"JD",size:80,shape:"circle",labelColor:"alias-object-primary",labelSize:"large"}),e.jsx(r,{label:"AB",size:80,shape:"rounded",labelColor:"alias-support-positive",labelSize:"x-large"}),e.jsx(r,{label:"CD",size:56,shape:"circle",labelColor:"alias-support-negative",labelSize:"base"})]})},n={storyName:a("components.avatar.stories.fallbackToLabel.title"),render:()=>e.jsxs("div",{style:{display:"flex",gap:"16px",alignItems:"center"},children:[e.jsx(r,{src:"https://invalid-url-that-will-fail.com/image.png",label:"JD",size:80,shape:"circle"}),e.jsx(r,{src:"",label:"AB",size:80,shape:"rounded"})]})},d={storyName:a("components.avatar.stories.completeExample.title"),render:()=>e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"24px"},children:[e.jsxs("div",{style:{display:"flex",gap:"16px",alignItems:"center"},children:[e.jsx(r,{src:"https://via.placeholder.com/112",size:112,shape:"circle",border:!0}),e.jsx(r,{label:"JD",size:112,shape:"circle",border:!0,labelColor:"alias-object-primary"})]}),e.jsxs("div",{style:{display:"flex",gap:"16px",alignItems:"center"},children:[e.jsx(r,{src:"https://via.placeholder.com/80",size:80,shape:"rounded",border:!0}),e.jsx(r,{label:"AB",size:80,shape:"rounded",border:!0})]})]})},m={storyName:a("components.avatar.stories.interactive.title"),args:{label:"JD",size:40,shape:"rounded",border:!1}};s.parameters={...s.parameters,docs:{...s.parameters?.docs,source:{originalSource:`{
18
- storyName: t('components.avatar.stories.default.title'),
19
- args: {
20
- label: 'JD',
21
- size: 40
22
- }
23
- }`,...s.parameters?.docs?.source}}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
24
- render: () => <div style={{
25
- display: 'flex',
26
- gap: '16px',
27
- alignItems: 'center'
28
- }}>
29
- <Avatar label="JD" size={40} />
30
- <Avatar label="AB" size={48} />
31
- <Avatar label="CD" size={56} />
32
- <Avatar label="EF" size={80} />
33
- </div>
34
- }`,...t.parameters?.docs?.source}}};l.parameters={...l.parameters,docs:{...l.parameters?.docs,source:{originalSource:`{
35
- storyName: t('components.avatar.stories.shapes.title'),
36
- render: () => <div style={{
37
- display: 'flex',
38
- gap: '16px',
39
- alignItems: 'center'
40
- }}>
41
- <Avatar label="JD" size={80} shape="rounded" />
42
- <Avatar label="JD" size={80} shape="circle" />
43
- </div>
44
- }`,...l.parameters?.docs?.source}}};o.parameters={...o.parameters,docs:{...o.parameters?.docs,source:{originalSource:`{
45
- storyName: t('components.avatar.stories.sizes.title'),
46
- render: () => <div style={{
47
- display: 'flex',
48
- gap: '16px',
49
- alignItems: 'center'
50
- }}>
51
- <Avatar label="24" size={24} />
52
- <Avatar label="32" size={32} />
53
- <Avatar label="40" size={40} />
54
- <Avatar label="48" size={48} />
55
- <Avatar label="56" size={56} />
56
- <Avatar label="80" size={80} />
57
- <Avatar label="112" size={112} />
58
- </div>
59
- }`,...o.parameters?.docs?.source}}};i.parameters={...i.parameters,docs:{...i.parameters?.docs,source:{originalSource:`{
60
- storyName: t('components.avatar.stories.withBorder.title'),
61
- render: () => <div style={{
62
- display: 'flex',
63
- gap: '16px',
64
- alignItems: 'center'
65
- }}>
66
- <Avatar label="JD" size={80} shape="circle" border />
67
- <Avatar label="AB" size={80} shape="rounded" border />
68
- <Avatar label="CD" size={56} shape="circle" border />
69
- <Avatar label="EF" size={48} shape="rounded" border />
70
- </div>
71
- }`,...i.parameters?.docs?.source}}};p.parameters={...p.parameters,docs:{...p.parameters?.docs,source:{originalSource:`{
72
- storyName: t('components.avatar.stories.withImage.title'),
73
- render: () => <div style={{
74
- display: 'flex',
75
- gap: '16px',
76
- alignItems: 'center'
77
- }}>
78
- <Avatar src="https://via.placeholder.com/40" size={40} shape="rounded" />
79
- <Avatar src="https://via.placeholder.com/48" size={48} shape="circle" />
80
- <Avatar src="https://via.placeholder.com/80" size={80} shape="rounded" border />
81
- <Avatar src="https://via.placeholder.com/112" size={112} shape="circle" border />
82
- </div>
83
- }`,...p.parameters?.docs?.source}}};c.parameters={...c.parameters,docs:{...c.parameters?.docs,source:{originalSource:`{
84
- storyName: t('components.avatar.stories.customLabelStyling.title'),
85
- render: () => <div style={{
86
- display: 'flex',
87
- gap: '16px',
88
- alignItems: 'center'
89
- }}>
90
- <Avatar label="JD" size={80} shape="circle" labelColor="alias-object-primary" labelSize="large" />
91
- <Avatar label="AB" size={80} shape="rounded" labelColor="alias-support-positive" labelSize="x-large" />
92
- <Avatar label="CD" size={56} shape="circle" labelColor="alias-support-negative" labelSize="base" />
93
- </div>
94
- }`,...c.parameters?.docs?.source}}};n.parameters={...n.parameters,docs:{...n.parameters?.docs,source:{originalSource:`{
95
- storyName: t('components.avatar.stories.fallbackToLabel.title'),
96
- render: () => <div style={{
97
- display: 'flex',
98
- gap: '16px',
99
- alignItems: 'center'
100
- }}>
101
- <Avatar src="https://invalid-url-that-will-fail.com/image.png" label="JD" size={80} shape="circle" />
102
- <Avatar src="" label="AB" size={80} shape="rounded" />
103
- </div>
104
- }`,...n.parameters?.docs?.source}}};d.parameters={...d.parameters,docs:{...d.parameters?.docs,source:{originalSource:`{
105
- storyName: t('components.avatar.stories.completeExample.title'),
106
- render: () => <div style={{
107
- display: 'flex',
108
- flexDirection: 'column',
109
- gap: '24px'
110
- }}>
111
- <div style={{
112
- display: 'flex',
113
- gap: '16px',
114
- alignItems: 'center'
115
- }}>
116
- <Avatar src="https://via.placeholder.com/112" size={112} shape="circle" border />
117
- <Avatar label="JD" size={112} shape="circle" border labelColor="alias-object-primary" />
118
- </div>
119
- <div style={{
120
- display: 'flex',
121
- gap: '16px',
122
- alignItems: 'center'
123
- }}>
124
- <Avatar src="https://via.placeholder.com/80" size={80} shape="rounded" border />
125
- <Avatar label="AB" size={80} shape="rounded" border />
126
- </div>
127
- </div>
128
- }`,...d.parameters?.docs?.source}}};m.parameters={...m.parameters,docs:{...m.parameters?.docs,source:{originalSource:`{
129
- storyName: t('components.avatar.stories.interactive.title'),
130
- args: {
131
- label: 'JD',
132
- size: 40,
133
- shape: 'rounded',
134
- border: false
135
- }
136
- }`,...m.parameters?.docs?.source}}};const E=["Default","WithLabel","Shapes","Sizes","WithBorder","WithImage","CustomLabelStyling","FallbackToLabel","CompleteExample","Interactive"];export{d as CompleteExample,c as CustomLabelStyling,s as Default,n as FallbackToLabel,m as Interactive,l as Shapes,o as Sizes,i as WithBorder,p as WithImage,t as WithLabel,E as __namedExportsOrder,B as default};
@@ -1 +0,0 @@
1
- import{j as t}from"./iframe-DfPay7Zl.js";import{c as r,g as i}from"./store-Ce3Ikv5g.js";import{T as m}from"./typography-CB8hPDyK.js";const a=i("badge"),d=({outline:e,children:s,className:o,...n})=>t.jsx(m,{...n,size:"2x-small",className:r(a,{[`${a}--outline`]:e,[`${a}--dot`]:!s},o),children:s}),p=({children:e,className:s,...o})=>t.jsx("div",{className:r(`${a}-container`,s),...o,children:e});d.__docgenInfo={description:"",methods:[],displayName:"Badge"};p.__docgenInfo={description:"",methods:[],displayName:"BadgeContainer"};export{d as B,p as a};