@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
@@ -0,0 +1,9 @@
1
+ import{r as f,j as I}from"./iframe-Crg_lbde.js";import{c as W,g as $}from"./classname-Bl5epEs-.js";import{i as Z,b as z,_ as k,c as P,d as j}from"./index-B-Ksafg0.js";import{I as q}from"./icon-Cc9W858e.js";function U(o,s){if(o===s)return!0;for(var a=0;a<o.length;a++)if(!Object.is(o[a],s[a]))return!1;return!0}function G(o){var s=f.useRef(o);return s.current=o,s}var J=function(o){var s=G(o);f.useEffect(function(){return function(){s.current()}},[])},K=!!(typeof window<"u"&&window.document&&window.document.createElement);function N(o,s){if(K){if(!o)return s;var a;return Z(o)?a=o():"current"in o?a=o.current:a=o,a}}var Q=function(o){var s=function(a,h,d){var p=f.useRef(!1),u=f.useRef([]),x=f.useRef([]),w=f.useRef(void 0);o(function(){var g,O=Array.isArray(d)?d:[d],R=O.map(function(m){return N(m)});if(!p.current){p.current=!0,u.current=R,x.current=h,w.current=a();return}(R.length!==u.current.length||!U(u.current,R)||!U(x.current,h))&&((g=w.current)===null||g===void 0||g.call(w),u.current=R,x.current=h,w.current=a())}),J(function(){var g;(g=w.current)===null||g===void 0||g.call(w),p.current=!1})};return s},X=Q(f.useEffect),B={},F;function Y(){return F||(F=1,(function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function o(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch{return null}}var s=(function(t){for(var e=t,r=o(e);r;)e=r.ownerDocument,r=o(e);return e})(window.document),a=[],h=null,d=null;function p(t){this.time=t.time,this.target=t.target,this.rootBounds=b(t.rootBounds),this.boundingClientRect=b(t.boundingClientRect),this.intersectionRect=b(t.intersectionRect||E()),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,r=e.width*e.height,n=this.intersectionRect,i=n.width*n.height;r?this.intersectionRatio=Number((i/r).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function u(t,e){var r=e||{};if(typeof t!="function")throw new Error("callback must be a function");if(r.root&&r.root.nodeType!=1&&r.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=w(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(r.rootMargin),this.thresholds=this._initThresholds(r.threshold),this.root=r.root||null,this.rootMargin=this._rootMarginValues.map(function(n){return n.value+n.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}u.prototype.THROTTLE_TIMEOUT=100,u.prototype.POLL_INTERVAL=null,u.prototype.USE_MUTATION_OBSERVER=!0,u._setupCrossOriginUpdater=function(){return h||(h=function(t,e){!t||!e?d=E():d=C(t,e),a.forEach(function(r){r._checkForIntersections()})}),h},u._resetCrossOriginUpdater=function(){h=null,d=null},u.prototype.observe=function(t){var e=this._observationTargets.some(function(r){return r.element==t});if(!e){if(!(t&&t.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},u.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._unmonitorIntersections(t.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},u.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},u.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},u.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(r,n,i){if(typeof r!="number"||isNaN(r)||r<0||r>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return r!==i[n-1]})},u.prototype._parseRootMargin=function(t){var e=t||"0px",r=e.split(/\s+/).map(function(n){var i=/^(-?\d*\.?\d+)(px|%)$/.exec(n);if(!i)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(i[1]),unit:i[2]}});return r[1]=r[1]||r[0],r[2]=r[2]||r[0],r[3]=r[3]||r[1],r},u.prototype._monitorIntersections=function(t){var e=t.defaultView;if(e&&this._monitoringDocuments.indexOf(t)==-1){var r=this._checkForIntersections,n=null,i=null;this.POLL_INTERVAL?n=e.setInterval(r,this.POLL_INTERVAL):(g(e,"resize",r,!0),g(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in e&&(i=new e.MutationObserver(r),i.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var v=t.defaultView;v&&(n&&v.clearInterval(n),O(v,"resize",r,!0)),O(t,"scroll",r,!0),i&&i.disconnect()});var c=this.root&&(this.root.ownerDocument||this.root)||s;if(t!=c){var l=o(t);l&&this._monitorIntersections(l.ownerDocument)}}},u.prototype._unmonitorIntersections=function(t){var e=this._monitoringDocuments.indexOf(t);if(e!=-1){var r=this.root&&(this.root.ownerDocument||this.root)||s,n=this._observationTargets.some(function(l){var v=l.element.ownerDocument;if(v==t)return!0;for(;v&&v!=r;){var y=o(v);if(v=y&&y.ownerDocument,v==t)return!0}return!1});if(!n){var i=this._monitoringUnsubscribes[e];if(this._monitoringDocuments.splice(e,1),this._monitoringUnsubscribes.splice(e,1),i(),t!=r){var c=o(t);c&&this._unmonitorIntersections(c.ownerDocument)}}}},u.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e<t.length;e++)t[e]()},u.prototype._checkForIntersections=function(){if(!(!this.root&&h&&!d)){var t=this._rootIsInDom(),e=t?this._getRootRect():E();this._observationTargets.forEach(function(r){var n=r.element,i=m(n),c=this._rootContainsTarget(n),l=r.entry,v=t&&c&&this._computeTargetAndRootIntersection(n,i,e),y=null;this._rootContainsTarget(n)?(!h||this.root)&&(y=e):y=E();var S=r.entry=new p({time:x(),target:n,boundingClientRect:i,rootBounds:y,intersectionRect:v});l?t&&c?this._hasCrossedThreshold(l,S)&&this._queuedEntries.push(S):l&&l.isIntersecting&&this._queuedEntries.push(S):this._queuedEntries.push(S)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},u.prototype._computeTargetAndRootIntersection=function(t,e,r){if(window.getComputedStyle(t).display!="none"){for(var n=e,i=_(t),c=!1;!c&&i;){var l=null,v=i.nodeType==1?window.getComputedStyle(i):{};if(v.display=="none")return null;if(i==this.root||i.nodeType==9)if(c=!0,i==this.root||i==s)h&&!this.root?!d||d.width==0&&d.height==0?(i=null,l=null,n=null):l=d:l=r;else{var y=_(i),S=y&&m(y),L=y&&this._computeTargetAndRootIntersection(y,S,r);S&&L?(i=y,l=C(S,L)):(i=null,n=null)}else{var A=i.ownerDocument;i!=A.body&&i!=A.documentElement&&v.overflow!="visible"&&(l=m(i))}if(l&&(n=R(l,n)),!n)break;i=i&&_(i)}return n}},u.prototype._getRootRect=function(){var t;if(this.root&&!T(this.root))t=m(this.root);else{var e=T(this.root)?this.root:s,r=e.documentElement,n=e.body;t={top:0,left:0,right:r.clientWidth||n.clientWidth,width:r.clientWidth||n.clientWidth,bottom:r.clientHeight||n.clientHeight,height:r.clientHeight||n.clientHeight}}return this._expandRectByRootMargin(t)},u.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map(function(n,i){return n.unit=="px"?n.value:n.value*(i%2?t.width:t.height)/100}),r={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return r.width=r.right-r.left,r.height=r.bottom-r.top,r},u.prototype._hasCrossedThreshold=function(t,e){var r=t&&t.isIntersecting?t.intersectionRatio||0:-1,n=e.isIntersecting?e.intersectionRatio||0:-1;if(r!==n)for(var i=0;i<this.thresholds.length;i++){var c=this.thresholds[i];if(c==r||c==n||c<r!=c<n)return!0}},u.prototype._rootIsInDom=function(){return!this.root||D(s,this.root)},u.prototype._rootContainsTarget=function(t){var e=this.root&&(this.root.ownerDocument||this.root)||s;return D(e,t)&&(!this.root||e==t.ownerDocument)},u.prototype._registerInstance=function(){a.indexOf(this)<0&&a.push(this)},u.prototype._unregisterInstance=function(){var t=a.indexOf(this);t!=-1&&a.splice(t,1)};function x(){return window.performance&&performance.now&&performance.now()}function w(t,e){var r=null;return function(){r||(r=setTimeout(function(){t(),r=null},e))}}function g(t,e,r,n){typeof t.addEventListener=="function"?t.addEventListener(e,r,n):typeof t.attachEvent=="function"&&t.attachEvent("on"+e,r)}function O(t,e,r,n){typeof t.removeEventListener=="function"?t.removeEventListener(e,r,n):typeof t.detachEvent=="function"&&t.detachEvent("on"+e,r)}function R(t,e){var r=Math.max(t.top,e.top),n=Math.min(t.bottom,e.bottom),i=Math.max(t.left,e.left),c=Math.min(t.right,e.right),l=c-i,v=n-r;return l>=0&&v>=0&&{top:r,bottom:n,left:i,right:c,width:l,height:v}||null}function m(t){var e;try{e=t.getBoundingClientRect()}catch{}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):E()}function E(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function b(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function C(t,e){var r=e.top-t.top,n=e.left-t.left;return{top:r,left:n,height:e.height,width:e.width,bottom:r+e.height,right:n+e.width}}function D(t,e){for(var r=e;r;){if(r==t)return!0;r=_(r)}return!1}function _(t){var e=t.parentNode;return t.nodeType==9&&t!=s?o(t):(e&&e.assignedSlot&&(e=e.assignedSlot.parentNode),e&&e.nodeType==11&&e.host?e.host:e)}function T(t){return t&&t.nodeType===9}window.IntersectionObserver=u,window.IntersectionObserverEntry=p})()),B}Y();function tt(o,s){var a=s||{},h=a.callback,d=z(a,["callback"]),p=k(f.useState(),2),u=p[0],x=p[1],w=k(f.useState(),2),g=w[0],O=w[1];return X(function(){var R=Array.isArray(o)?o:[o],m=R.map(function(b){return N(b)}).filter(Boolean);if(m.length){var E=new IntersectionObserver(function(b){var C,D;try{for(var _=P(b),T=_.next();!T.done;T=_.next()){var t=T.value;O(t.intersectionRatio),x(t.isIntersecting),h?.(t)}}catch(e){C={error:e}}finally{try{T&&!T.done&&(D=_.return)&&D.call(_)}finally{if(C)throw C.error}}},j(j({},d),{root:N(s?.root)}));return m.forEach(function(b){return E.observe(b)}),function(){E.disconnect()}}},[s?.rootMargin,s?.threshold,h],o),[u,g]}const H=({onActive:o,options:s,className:a,style:h})=>{const d=f.useRef(null),[p]=tt(d,s);return f.useEffect(()=>{p&&o()},[p,o]),I.jsx("div",{className:a,style:h,ref:d})};H.__docgenInfo={description:"",methods:[],displayName:"VisibilitySensor",props:{onActive:{required:!0,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},options:{required:!1,tsType:{name:"Options"},description:""},className:{required:!1,tsType:{name:"string"},description:""},style:{required:!1,tsType:{name:"ReactCSSProperties",raw:"React.CSSProperties"},description:""}}};const et=o=>f.createElement("svg",{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",...o},f.createElement("path",{d:"M19.233 6.233 17.42 9.08l-10.817.001a.665.665 0 0 0-.647.562l-.007.096V34.9l5.989-8.707a2.373 2.373 0 0 1 1.801-1.005 2.415 2.415 0 0 1 1.807.625l.126.127 4.182 4.525 2.267-3.292 5.461 7.841-4.065 7.375H6.604c-1.86 0-3.382-1.47-3.482-3.317l-.005-.192V9.744c0-1.872 1.461-3.405 3.296-3.505l.19-.005h12.63Zm22.163 0c1.86 0 3.382 1.472 3.482 3.314l.005.192v29.14a3.507 3.507 0 0 1-3.3 3.505l-.191.006H27.789l3.63-6.587.06-.119a1.87 1.87 0 0 0-.163-1.853l-6.928-9.949 3.047-4.422a2.374 2.374 0 0 1 1.96-1.01 2.4 2.4 0 0 1 1.86.87l.106.14L42.05 34.89V9.74a.664.664 0 0 0-.654-.658H21.855l1.812-2.848h17.73Zm-28.305 5.611c.794 0 1.52.298 2.07.788l-.843 1.325-.067.114a1.87 1.87 0 0 0 .11 1.959l.848 1.217c-.556.515-1.3.83-2.118.83a3.122 3.122 0 0 1-3.117-3.116 3.119 3.119 0 0 1 3.117-3.117Z",fill:"currentColor",fillRule:"nonzero"})),rt=o=>f.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},f.createElement("path",{d:"M6.25 6C6.94036 6 7.5 6.55964 7.5 7.25C7.5 7.94036 6.94036 8.5 6.25 8.5C5.55964 8.5 5 7.94036 5 7.25C5 6.55964 5.55964 6 6.25 6Z",fill:"currentColor"}),f.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.25 2C14.767 2 16 3.233 16 4.75V13.25C16 14.767 14.767 16 13.25 16H4.75C3.233 16 2 14.767 2 13.25V4.75C2 3.233 3.233 2 4.75 2H13.25ZM4.75 3.5C4.061 3.5 3.5 4.061 3.5 4.75V13.25C3.5 13.5153 3.58391 13.7612 3.72559 13.9639L9.30469 8.38379C10.3777 7.31179 12.1223 7.31179 13.1943 8.38379L14.5 9.68848V4.75C14.5 4.061 13.939 3.5 13.25 3.5H4.75Z",fill:"currentColor"}));function V(o){return typeof o=="number"?`${o}px`:o}const M=$("image"),nt=({className:o,style:s,onClick:a,ref:h,lazy:d=!1,fit:p="fill",placeholder:u=I.jsx("div",{className:`${M}__tip`,children:I.jsx(q,{children:I.jsx(rt,{})})}),fallback:x=I.jsx("div",{className:`${M}__tip`,children:I.jsx(q,{children:I.jsx(et,{})})}),src:w,srcSet:g,onLoad:O,onError:R,...m})=>{const[E,b]=f.useState(!1),[C,D]=f.useState(!1),[_,T]=f.useState(!d),t=f.useRef(null),e=_?w:void 0,r=_?g:void 0,n=f.useRef(e);f.useEffect(()=>{n.current!==e&&(n.current=e,b(!1),D(!1))},[e]);const i=()=>C||!e&&!r?x:I.jsxs(I.Fragment,{children:[!E&&u,I.jsx("img",{ref:t,src:e,srcSet:r,onLoad:l=>{b(!0),O?.(l)},onError:l=>{D(!0),R?.(l)},style:{objectFit:p,display:E?"block":"none"},...m,className:`${M}__img`})]}),c={};return typeof m.width<"u"&&(c["--width"]=V(m.width),c.width=V(m.width)),typeof m.height<"u"&&(c["--height"]=V(m.height),c.height=V(m.height)),I.jsxs("div",{ref:h,className:W(M,o),onClick:a,style:{...c,...s},children:[d&&!_&&I.jsx(H,{onActive:()=>T(!0)}),i()]})};nt.__docgenInfo={description:"",methods:[],displayName:"Image",props:{lazy:{defaultValue:{value:"false",computed:!1},required:!1},fit:{defaultValue:{value:"'fill'",computed:!1},required:!1},placeholder:{defaultValue:{value:`<div className={\`\${prefixClassName}__tip\`}>
2
+ <Icon>
3
+ <ImageIcon />
4
+ </Icon>
5
+ </div>`,computed:!1},required:!1},fallback:{defaultValue:{value:`<div className={\`\${prefixClassName}__tip\`}>
6
+ <Icon>
7
+ <BrokenImage />
8
+ </Icon>
9
+ </div>`,computed:!1},required:!1}}};export{nt as I};
@@ -1,4 +1,4 @@
1
- import{j as t}from"./iframe-DfPay7Zl.js";import{T as h,S as x,M as g,P as y,a as f}from"./blocks-DKR3P4qW.js";import{I as s}from"./image-CMKb-R3x.js";import{t as e}from"./store-Ce3Ikv5g.js";import"./preload-helper-PPVm8Dsz.js";import"./index-cMNObl2z.js";import"./visibility-sensor-Jf-Nmil6.js";import"./index-B-Ksafg0.js";import"./icon-CdiFzFyf.js";import"./colors-_6nFGM3e.js";const u=()=>{const d=`
1
+ import{j as t}from"./iframe-Crg_lbde.js";import{T as h,S as x,a as g,P as y,b as f}from"./blocks-CB7UwFa4.js";import{I as s}from"./image-CB4oeTy-.js";import{t as e}from"./store-BwIebEt6.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";import"./classname-Bl5epEs-.js";import"./index-B-Ksafg0.js";import"./icon-Cc9W858e.js";import"./colors-_6nFGM3e.js";const u=()=>{const d=`
2
2
  ## ${e("common.table.title")}
3
3
 
4
4
  | ${e("common.table.name")} | ${e("common.table.type")} | ${e("common.table.required")} | ${e("common.table.description")} |
@@ -0,0 +1 @@
1
+ import{R as e}from"./iframe-Crg_lbde.js";import"./preload-helper-PPVm8Dsz.js";const o={},c=e.createContext(o);function u(n){const t=e.useContext(c);return e.useMemo(function(){return typeof n=="function"?n(t):{...t,...n}},[t,n])}function r(n){let t;return n.disableParentContext?t=typeof n.components=="function"?n.components(o):n.components||o:t=u(n.components),e.createElement(c.Provider,{value:t},n.children)}export{r as MDXProvider,u as useMDXComponents};
@@ -1 +1 @@
1
- import{a as O}from"./iframe-DfPay7Zl.js";var y={exports:{}},n={};var o;function S(){if(o)return n;o=1;var u=O();function g(r){var e="https://react.dev/errors/"+r;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+r+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var i={d:{f:a,r:function(){throw Error(g(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},m=Symbol.for("react.portal");function v(r,e,t){var c=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:m,key:c==null?null:""+c,children:r,containerInfo:e,implementation:t}}var f=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(r,e){if(r==="font")return"";if(typeof e=="string")return e==="use-credentials"?e:""}return n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,n.createPortal=function(r,e){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)throw Error(g(299));return v(r,e,null,t)},n.flushSync=function(r){var e=f.T,t=i.p;try{if(f.T=null,i.p=2,r)return r()}finally{f.T=e,i.p=t,i.d.f()}},n.preconnect=function(r,e){typeof r=="string"&&(e?(e=e.crossOrigin,e=typeof e=="string"?e==="use-credentials"?e:"":void 0):e=null,i.d.C(r,e))},n.prefetchDNS=function(r){typeof r=="string"&&i.d.D(r)},n.preinit=function(r,e){if(typeof r=="string"&&e&&typeof e.as=="string"){var t=e.as,c=d(t,e.crossOrigin),s=typeof e.integrity=="string"?e.integrity:void 0,l=typeof e.fetchPriority=="string"?e.fetchPriority:void 0;t==="style"?i.d.S(r,typeof e.precedence=="string"?e.precedence:void 0,{crossOrigin:c,integrity:s,fetchPriority:l}):t==="script"&&i.d.X(r,{crossOrigin:c,integrity:s,fetchPriority:l,nonce:typeof e.nonce=="string"?e.nonce:void 0})}},n.preinitModule=function(r,e){if(typeof r=="string")if(typeof e=="object"&&e!==null){if(e.as==null||e.as==="script"){var t=d(e.as,e.crossOrigin);i.d.M(r,{crossOrigin:t,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0})}}else e==null&&i.d.M(r)},n.preload=function(r,e){if(typeof r=="string"&&typeof e=="object"&&e!==null&&typeof e.as=="string"){var t=e.as,c=d(t,e.crossOrigin);i.d.L(r,t,{crossOrigin:c,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0,type:typeof e.type=="string"?e.type:void 0,fetchPriority:typeof e.fetchPriority=="string"?e.fetchPriority:void 0,referrerPolicy:typeof e.referrerPolicy=="string"?e.referrerPolicy:void 0,imageSrcSet:typeof e.imageSrcSet=="string"?e.imageSrcSet:void 0,imageSizes:typeof e.imageSizes=="string"?e.imageSizes:void 0,media:typeof e.media=="string"?e.media:void 0})}},n.preloadModule=function(r,e){if(typeof r=="string")if(e){var t=d(e.as,e.crossOrigin);i.d.m(r,{as:typeof e.as=="string"&&e.as!=="script"?e.as:void 0,crossOrigin:t,integrity:typeof e.integrity=="string"?e.integrity:void 0})}else i.d.m(r)},n.requestFormReset=function(r){i.d.r(r)},n.unstable_batchedUpdates=function(r,e){return r(e)},n.useFormState=function(r,e,t){return f.H.useFormState(r,e,t)},n.useFormStatus=function(){return f.H.useHostTransitionStatus()},n.version="19.2.3",n}var _;function T(){if(_)return y.exports;_=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(g){console.error(g)}}return u(),y.exports=S(),y.exports}export{T as r};
1
+ import{b as O}from"./iframe-Crg_lbde.js";var y={exports:{}},n={};var o;function S(){if(o)return n;o=1;var u=O();function g(r){var e="https://react.dev/errors/"+r;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+r+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(){}var i={d:{f:c,r:function(){throw Error(g(522))},D:c,C:c,L:c,m:c,X:c,S:c,M:c},p:0,findDOMNode:null},m=Symbol.for("react.portal");function v(r,e,t){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:m,key:a==null?null:""+a,children:r,containerInfo:e,implementation:t}}var f=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(r,e){if(r==="font")return"";if(typeof e=="string")return e==="use-credentials"?e:""}return n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,n.createPortal=function(r,e){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)throw Error(g(299));return v(r,e,null,t)},n.flushSync=function(r){var e=f.T,t=i.p;try{if(f.T=null,i.p=2,r)return r()}finally{f.T=e,i.p=t,i.d.f()}},n.preconnect=function(r,e){typeof r=="string"&&(e?(e=e.crossOrigin,e=typeof e=="string"?e==="use-credentials"?e:"":void 0):e=null,i.d.C(r,e))},n.prefetchDNS=function(r){typeof r=="string"&&i.d.D(r)},n.preinit=function(r,e){if(typeof r=="string"&&e&&typeof e.as=="string"){var t=e.as,a=d(t,e.crossOrigin),s=typeof e.integrity=="string"?e.integrity:void 0,l=typeof e.fetchPriority=="string"?e.fetchPriority:void 0;t==="style"?i.d.S(r,typeof e.precedence=="string"?e.precedence:void 0,{crossOrigin:a,integrity:s,fetchPriority:l}):t==="script"&&i.d.X(r,{crossOrigin:a,integrity:s,fetchPriority:l,nonce:typeof e.nonce=="string"?e.nonce:void 0})}},n.preinitModule=function(r,e){if(typeof r=="string")if(typeof e=="object"&&e!==null){if(e.as==null||e.as==="script"){var t=d(e.as,e.crossOrigin);i.d.M(r,{crossOrigin:t,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0})}}else e==null&&i.d.M(r)},n.preload=function(r,e){if(typeof r=="string"&&typeof e=="object"&&e!==null&&typeof e.as=="string"){var t=e.as,a=d(t,e.crossOrigin);i.d.L(r,t,{crossOrigin:a,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0,type:typeof e.type=="string"?e.type:void 0,fetchPriority:typeof e.fetchPriority=="string"?e.fetchPriority:void 0,referrerPolicy:typeof e.referrerPolicy=="string"?e.referrerPolicy:void 0,imageSrcSet:typeof e.imageSrcSet=="string"?e.imageSrcSet:void 0,imageSizes:typeof e.imageSizes=="string"?e.imageSizes:void 0,media:typeof e.media=="string"?e.media:void 0})}},n.preloadModule=function(r,e){if(typeof r=="string")if(e){var t=d(e.as,e.crossOrigin);i.d.m(r,{as:typeof e.as=="string"&&e.as!=="script"?e.as:void 0,crossOrigin:t,integrity:typeof e.integrity=="string"?e.integrity:void 0})}else i.d.m(r)},n.requestFormReset=function(r){i.d.r(r)},n.unstable_batchedUpdates=function(r,e){return r(e)},n.useFormState=function(r,e,t){return f.H.useFormState(r,e,t)},n.useFormStatus=function(){return f.H.useHostTransitionStatus()},n.version="19.2.4",n}var _;function T(){if(_)return y.exports;_=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(g){console.error(g)}}return u(),y.exports=S(),y.exports}export{T as r};
@@ -1 +1 @@
1
- import{_ as V,i as C,a as N}from"./index-B-Ksafg0.js";import{r as u}from"./iframe-DfPay7Zl.js";var O=function(a){var e=u.useRef(a);e.current=u.useMemo(function(){return a},[a]);var r=u.useRef(void 0);return r.current||(r.current=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return e.current.apply(this,n)}),r.current},P=function(){var a=V(u.useState({}),2),e=a[1];return u.useCallback(function(){return e({})},[])};function S(a,e){e===void 0&&(e={});var r=a??{},n=e.defaultValue,t=e.defaultValuePropName,c=t===void 0?"defaultValue":t,i=e.valuePropName,v=i===void 0?"value":i,d=e.trigger,m=d===void 0?"onChange":d,p=r[v],f=Object.prototype.hasOwnProperty.call(r,v),h=u.useMemo(function(){return f?p:Object.prototype.hasOwnProperty.call(r,c)?r[c]:n},[]),l=u.useRef(h);f&&(l.current=p);var b=P();function R(s){for(var g=[],o=1;o<arguments.length;o++)g[o-1]=arguments[o];var y=C(s)?s(l.current):s;f||(l.current=y,b()),r[m]&&r[m].apply(r,N([y],V(g),!1))}return[l.current,O(R)]}export{S as u};
1
+ import{_ as V,i as C,a as N}from"./index-B-Ksafg0.js";import{r as u}from"./iframe-Crg_lbde.js";var O=function(a){var e=u.useRef(a);e.current=u.useMemo(function(){return a},[a]);var r=u.useRef(void 0);return r.current||(r.current=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return e.current.apply(this,n)}),r.current},P=function(){var a=V(u.useState({}),2),e=a[1];return u.useCallback(function(){return e({})},[])};function S(a,e){e===void 0&&(e={});var r=a??{},n=e.defaultValue,t=e.defaultValuePropName,c=t===void 0?"defaultValue":t,i=e.valuePropName,v=i===void 0?"value":i,d=e.trigger,m=d===void 0?"onChange":d,p=r[v],f=Object.prototype.hasOwnProperty.call(r,v),h=u.useMemo(function(){return f?p:Object.prototype.hasOwnProperty.call(r,c)?r[c]:n},[]),l=u.useRef(h);f&&(l.current=p);var b=P();function R(s){for(var g=[],o=1;o<arguments.length;o++)g[o-1]=arguments[o];var y=C(s)?s(l.current):s;f||(l.current=y,b()),r[m]&&r[m].apply(r,N([y],V(g),!1))}return[l.current,O(R)]}export{S as u};
@@ -0,0 +1 @@
1
+ import{g as W,j as t}from"./iframe-Crg_lbde.js";import{c as D,g as J}from"./classname-Bl5epEs-.js";import{r as M,a as R,b as O,c as Q,d as j,e as U,f as X,g as Y,h as Z,i as V,o as rr}from"./omit-CRXr8Lio.js";import{L as er}from"./label-zfqCJTGJ.js";import{r as H,I as L}from"./icon-Cc9W858e.js";import{T as w}from"./typography-CMIMyivt.js";var g,B;function sr(){if(B)return g;B=1;var a=M(),s=R(),r=j(),e=Q(),u=O();function _(c,i,p,d){if(!e(c))return c;i=s(i,c);for(var f=-1,l=i.length,v=l-1,o=c;o!=null&&++f<l;){var h=u(i[f]),m=p;if(h==="__proto__"||h==="constructor"||h==="prototype")return c;if(f!=v){var x=o[h];m=d?d(x,h,o):void 0,m===void 0&&(m=e(x)?x:r(i[f+1])?[]:{})}a(o,h,m),o=o[h]}return c}return g=_,g}var q,S;function ir(){if(S)return q;S=1;var a=U(),s=sr(),r=R();function e(u,_,c){for(var i=-1,p=_.length,d={};++i<p;){var f=_[i],l=a(u,f);c(l,f)&&s(d,r(f,u),l)}return d}return q=e,q}var P,A;function ar(){if(A)return P;A=1;function a(s,r){return s!=null&&r in Object(s)}return P=a,P}var $,T;function nr(){if(T)return $;T=1;var a=R(),s=X(),r=Z(),e=j(),u=Y(),_=O();function c(i,p,d){p=a(p,i);for(var f=-1,l=p.length,v=!1;++f<l;){var o=_(p[f]);if(!(v=i!=null&&d(i,o)))break;i=i[o]}return v||++f!=l?v:(l=i==null?0:i.length,!!l&&u(l)&&e(o,l)&&(r(i)||s(i)))}return $=c,$}var k,z;function tr(){if(z)return k;z=1;var a=ar(),s=nr();function r(e,u){return e!=null&&s(e,u,a)}return k=r,k}var C,E;function ur(){if(E)return C;E=1;var a=ir(),s=tr();function r(e,u){return a(e,u,function(_,c){return s(e,c)})}return C=r,C}var N,K;function cr(){if(K)return N;K=1;var a=ur(),s=V(),r=s(function(e,u){return e==null?{}:a(e,u)});return N=r,N}var lr=cr();const _r=W(lr),n=J("input-wrapper");function xr(a){const s=_r(a,["shape","disabled","success","successMessage","error","errorMessage","label","leadingIcon","onLeadingIconClick","trailingIcon","onTrailingIconClick","prefix","suffix","className"]),r=rr(a,["shape","disabled","success","successMessage","error","errorMessage","label","leadingIcon","onLeadingIconClick","trailingIcon","onTrailingIconClick","prefix","suffix","className"]);return{wrapper:s,props:r}}const fr=({shape:a="rounded",disabled:s,loadingNode:r,success:e,successMessage:u,error:_,errorMessage:c,className:i,label:p,leadingIcon:d,onLeadingIconClick:f,trailingIcon:l,onTrailingIconClick:v,prefix:o,suffix:h,isFocus:m,children:x,align:b,bottomInput:y,onInputClick:F,...G})=>(_=!r&&(_&&!s||!!c),e=!r&&!_&&!s&&(e||!!u),t.jsxs("div",{...G,className:D(n,i,{[`${n}--${b}`]:b,[`${n}--${a}`]:a,[`${n}--disabled`]:s,[`${n}--success`]:e,[`${n}--error`]:_,[`${n}--focus`]:m}),children:[!!p&&t.jsx(er,{...p,loading:!!r||p.loading}),t.jsxs("div",{className:`${n}__input`,onClick:F,children:[t.jsxs("div",{className:`${n}__input__body`,children:[!!r&&r,!r&&t.jsxs(t.Fragment,{children:[!!o&&t.jsx("div",{className:`${n}__input__prefix`,children:o}),t.jsxs("div",{className:`${n}__input__inner`,children:[!!d&&t.jsx("div",{className:`${n}__input__leading-icon`,onClick:I=>f?.(I),children:H(d)}),t.jsx("div",{className:`${n}__input__child`,children:x}),!!_&&t.jsx(L,{name:"triangle-warning",size:20,color:"alias-support-negative",type:"fill"}),!!e&&t.jsx(L,{name:"circle-check",size:20,color:"alias-support-positive",type:"fill"}),!!l&&t.jsx("div",{className:`${n}__input__trailing-icon`,onClick:I=>v?.(I),children:H(l)})]}),!!h&&t.jsx("div",{className:`${n}__input__suffix`,children:h})]})]}),!r&&!!y&&t.jsx("div",{className:`${n}__input__footer`,children:y})]}),!r&&_&&!!c&&t.jsx(w,{size:"small",weight:400,color:"alias-support-negative",className:`${n}__error-text`,children:c}),!r&&e&&!!u&&t.jsx(w,{size:"small",weight:400,color:"alias-support-positive",className:`${n}__success-text`,children:u})]}));fr.__docgenInfo={description:"",methods:[],displayName:"InputWrapper",props:{shape:{defaultValue:{value:"'rounded'",computed:!1},required:!1}}};export{fr as I,xr as g};
@@ -0,0 +1,22 @@
1
+ import{j as e}from"./iframe-Crg_lbde.js";import{c as p,g as u}from"./classname-Bl5epEs-.js";import{S as i}from"./skeleton-BVLpHxKT.js";import{T as t}from"./typography-CMIMyivt.js";import{r as g}from"./icon-Cc9W858e.js";const n=u("label"),h=({text:l,helperText:a,disabled:o,required:m,icon:c,className:d,loading:s,...r})=>e.jsxs("label",{...r,className:p(n,d,{[`${n}--disabled`]:o}),children:[s&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:`${n}__content--loading`,children:e.jsx(i,{width:80,height:14,shape:"pill"})}),!!a&&e.jsx("span",{className:`${n}__helper--loading`,children:e.jsx(i,{width:40,height:12,shape:"pill"})})]}),!s&&e.jsxs(e.Fragment,{children:[e.jsxs("span",{className:`${n}__content`,children:[m&&e.jsx("span",{className:`${n}__required`,children:"*"}),e.jsx(t,{component:"span",size:"small",weight:400,className:`${n}__text`,children:l||r.children}),e.jsx("span",{className:`${n}__icon`,children:g(c)})]}),!!a&&e.jsx(t,{size:"x-small",weight:400,className:`${n}__helper`,children:a})]})]});h.__docgenInfo={description:"",methods:[],displayName:"Label",props:{disabled:{required:!1,tsType:{name:"boolean"},description:""},required:{required:!1,tsType:{name:"boolean"},description:""},icon:{required:!1,tsType:{name:"union",raw:"IIconProps | ReactNode",elements:[{name:"IOverride",elements:[{name:"Omit",elements:[{name:"intersection",raw:`React.ComponentProps<'svg'> & {
2
+ title?: string
3
+ titleId?: string
4
+ desc?: string
5
+ descId?: string
6
+ }`,elements:[{name:"ReactComponentProps",raw:"React.ComponentProps<'svg'>",elements:[{name:"literal",value:"'svg'"}]},{name:"signature",type:"object",raw:`{
7
+ title?: string
8
+ titleId?: string
9
+ desc?: string
10
+ descId?: string
11
+ }`,signature:{properties:[{key:"title",value:{name:"string",required:!1}},{key:"titleId",value:{name:"string",required:!1}},{key:"desc",value:{name:"string",required:!1}},{key:"descId",value:{name:"string",required:!1}}]}}]},{name:"union",raw:"'name' | 'type' | 'children'",elements:[{name:"literal",value:"'name'"},{name:"literal",value:"'type'"},{name:"literal",value:"'children'"}]}],raw:"Omit<ISVGComponentProps, 'name' | 'type' | 'children'>"},{name:"intersection",raw:`{
12
+ size?: number | string
13
+ color?: IColor
14
+ animation?: IIconAnimation
15
+ } & ({ name: IIconName; type?: 'outline' | 'fill' } | { children: ReactNode })`,elements:[{name:"signature",type:"object",raw:`{
16
+ size?: number | string
17
+ color?: IColor
18
+ animation?: IIconAnimation
19
+ }`,signature:{properties:[{key:"size",value:{name:"union",raw:"number | string",elements:[{name:"number"},{name:"string"}],required:!1}},{key:"color",value:{name:"IColor",required:!1}},{key:"animation",value:{name:"union",raw:"'spin' | 'ping' | 'pulse' | 'bounce'",elements:[{name:"literal",value:"'spin'"},{name:"literal",value:"'ping'"},{name:"literal",value:"'pulse'"},{name:"literal",value:"'bounce'"}],required:!1}}]}},{name:"unknown"}]}],raw:`IOverride<
20
+ Omit<ISVGComponentProps, 'name' | 'type' | 'children'>,
21
+ IBaseIconProps
22
+ >`},{name:"ReactNode"}]},description:""},text:{required:!1,tsType:{name:"ReactNode"},description:""},helperText:{required:!1,tsType:{name:"ReactNode"},description:""},loading:{required:!1,tsType:{name:"boolean"},description:""}}};export{h as L};
@@ -1,4 +1,4 @@
1
- import{j as t}from"./iframe-DfPay7Zl.js";import{T as u,S as h,M as x,P as y,a as g}from"./blocks-DKR3P4qW.js";import{L as o}from"./label-D44azUgi.js";import{t as e}from"./store-Ce3Ikv5g.js";import"./preload-helper-PPVm8Dsz.js";import"./index-cMNObl2z.js";import"./icon-CdiFzFyf.js";import"./colors-_6nFGM3e.js";import"./typography-CB8hPDyK.js";import"./skeleton-B12XbNAJ.js";const w=()=>{const b=`
1
+ import{j as t}from"./iframe-Crg_lbde.js";import{T as u,S as h,a as x,P as y,b as g}from"./blocks-CB7UwFa4.js";import{L as o}from"./label-zfqCJTGJ.js";import{t as e}from"./store-BwIebEt6.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";import"./classname-Bl5epEs-.js";import"./skeleton-BVLpHxKT.js";import"./typography-CMIMyivt.js";import"./colors-_6nFGM3e.js";import"./icon-Cc9W858e.js";const w=()=>{const b=`
2
2
  ## ${e("common.table.title")}
3
3
 
4
4
  | ${e("common.table.name")} | ${e("common.table.type")} | ${e("common.table.required")} | ${e("common.table.description")} |
@@ -13,7 +13,7 @@ import{j as t}from"./iframe-DfPay7Zl.js";import{T as u,S as h,M as x,P as y,a as
13
13
  | \`children\` | \`ReactNode\` | ${e("common.table.no")} | ${e("components.label.childrenDescription")} |
14
14
  | \`className\` | \`string\` | ${e("common.table.no")} | ${e("components.label.classNameDescription")} |
15
15
  | \`...props\` | \`ComponentPropsWithRef<'label'>\` | ${e("common.table.no")} | ${e("components.label.propsDescription")} |
16
- `;return t.jsxs(t.Fragment,{children:[t.jsx(u,{}),t.jsx(h,{}),t.jsx(x,{children:e("components.label.description")}),t.jsx(y,{}),t.jsx(x,{children:b}),t.jsx(g,{})]})},I={title:"Components/Label",component:o,parameters:{layout:"padded",docs:{page:w}},tags:["autodocs"],argTypes:{text:{control:"text",description:e("components.label.argTypes.textDescription"),table:{type:{summary:"ReactNode"}}},required:{control:"boolean",description:e("components.label.argTypes.requiredDescription"),table:{type:{summary:"boolean"}}},icon:{control:!1,description:e("components.label.argTypes.iconDescription"),table:{type:{summary:"IIconProps | ReactNode"}}},helperText:{control:"text",description:e("components.label.argTypes.helperTextDescription"),table:{type:{summary:"ReactNode"}}},disabled:{control:"boolean",description:e("components.label.argTypes.disabledDescription"),table:{type:{summary:"boolean"}}},loading:{control:"boolean",description:e("components.label.argTypes.loadingDescription"),table:{type:{summary:"boolean"}}},htmlFor:{control:"text",description:e("components.label.argTypes.htmlForDescription"),table:{type:{summary:"string"}}},children:{control:"text",description:e("components.label.argTypes.childrenDescription"),table:{type:{summary:"ReactNode"}}}}},s={storyName:e("components.label.stories.default.storyName"),args:{text:e("components.label.stories.default.text")}},r={render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsx(o,{text:e("components.label.stories.withRequired.email"),required:!0}),t.jsx(o,{text:e("components.label.stories.withRequired.password"),required:!0}),t.jsx(o,{text:e("components.label.stories.withRequired.username"),required:!0})]})},l={storyName:e("components.label.stories.withIcon.storyName"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsx(o,{text:e("components.label.stories.withIcon.email"),icon:{name:"placeholder"}}),t.jsx(o,{text:e("components.label.stories.withIcon.password"),icon:{name:"placeholder"}}),t.jsx(o,{text:e("components.label.stories.withIcon.phone"),icon:{name:"placeholder"}})]})},n={storyName:e("components.label.stories.withHelperText.storyName"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsx(o,{text:e("components.label.stories.withHelperText.password"),helperText:e("components.label.stories.withHelperText.passwordHelper")}),t.jsx(o,{text:e("components.label.stories.withHelperText.email"),helperText:e("components.label.stories.withHelperText.emailHelper")}),t.jsx(o,{text:e("components.label.stories.withHelperText.username"),helperText:e("components.label.stories.withHelperText.usernameHelper")})]})},a={storyName:e("components.label.stories.withRequiredAndHelperText.storyName"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsx(o,{text:e("components.label.stories.withRequiredAndHelper.email"),required:!0,helperText:e("components.label.stories.withRequiredAndHelper.requiredField")}),t.jsx(o,{text:e("components.label.stories.withRequiredAndHelper.password"),required:!0,helperText:e("components.label.stories.withRequiredAndHelper.passwordHelper")})]})},i={storyName:e("components.label.stories.loadingState.storyName"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsx(o,{text:e("components.label.stories.loadingState.loading"),loading:!0}),t.jsx(o,{text:e("components.label.stories.loadingState.loadingWithHelper"),helperText:e("components.label.stories.loadingState.helperText"),loading:!0})]})},p={storyName:e("components.label.stories.disabledState.storyName"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsx(o,{text:e("components.label.stories.disabledState.disabledLabel"),disabled:!0}),t.jsx(o,{text:e("components.label.stories.disabledState.disabledWithHelper"),helperText:e("components.label.stories.disabledState.helperText"),disabled:!0})]})},c={storyName:e("components.label.stories.associatedWithInput.storyName"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:[t.jsx(o,{htmlFor:"email-input",text:e("components.label.stories.associatedWithInput.email"),required:!0}),t.jsx("input",{id:"email-input",type:"email",placeholder:e("components.label.stories.associatedWithInput.emailPlaceholder"),style:{padding:"8px 12px",border:"1px solid #ccc",borderRadius:"4px"}}),t.jsx(o,{htmlFor:"password-input",text:e("components.label.stories.associatedWithInput.password"),required:!0,helperText:e("components.label.stories.associatedWithInput.passwordHelper")}),t.jsx("input",{id:"password-input",type:"password",placeholder:e("components.label.stories.associatedWithInput.passwordPlaceholder"),style:{padding:"8px 12px",border:"1px solid #ccc",borderRadius:"4px"}})]})},d={storyName:e("components.label.stories.completeExample.storyName"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"24px"},children:[t.jsx("div",{children:t.jsx(o,{text:e("components.label.stories.completeExample.username"),required:!0,icon:{name:"placeholder"},helperText:e("components.label.stories.completeExample.usernameHelper")})}),t.jsx("div",{children:t.jsx(o,{text:e("components.label.stories.completeExample.email"),required:!0,helperText:e("components.label.stories.completeExample.emailHelper")})}),t.jsx("div",{children:t.jsx(o,{text:e("components.label.stories.completeExample.phone"),icon:{name:"placeholder"},helperText:e("components.label.stories.completeExample.optional")})})]})},m={storyName:e("components.label.stories.interactive.storyName"),args:{text:e("components.label.stories.interactive.text"),required:!1,disabled:!1,loading:!1}};s.parameters={...s.parameters,docs:{...s.parameters?.docs,source:{originalSource:`{
16
+ `;return t.jsxs(t.Fragment,{children:[t.jsx(u,{}),t.jsx(h,{}),t.jsx(x,{children:e("components.label.description")}),t.jsx(y,{}),t.jsx(x,{children:b}),t.jsx(g,{})]})},L={title:"Components/Label",component:o,parameters:{layout:"padded",docs:{page:w}},tags:["autodocs"],argTypes:{text:{control:"text",description:e("components.label.argTypes.textDescription"),table:{type:{summary:"ReactNode"}}},required:{control:"boolean",description:e("components.label.argTypes.requiredDescription"),table:{type:{summary:"boolean"}}},icon:{control:!1,description:e("components.label.argTypes.iconDescription"),table:{type:{summary:"IIconProps | ReactNode"}}},helperText:{control:"text",description:e("components.label.argTypes.helperTextDescription"),table:{type:{summary:"ReactNode"}}},disabled:{control:"boolean",description:e("components.label.argTypes.disabledDescription"),table:{type:{summary:"boolean"}}},loading:{control:"boolean",description:e("components.label.argTypes.loadingDescription"),table:{type:{summary:"boolean"}}},htmlFor:{control:"text",description:e("components.label.argTypes.htmlForDescription"),table:{type:{summary:"string"}}},children:{control:"text",description:e("components.label.argTypes.childrenDescription"),table:{type:{summary:"ReactNode"}}}}},s={storyName:e("components.label.stories.default.storyName"),args:{text:e("components.label.stories.default.text")}},r={render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsx(o,{text:e("components.label.stories.withRequired.email"),required:!0}),t.jsx(o,{text:e("components.label.stories.withRequired.password"),required:!0}),t.jsx(o,{text:e("components.label.stories.withRequired.username"),required:!0})]})},l={storyName:e("components.label.stories.withIcon.storyName"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsx(o,{text:e("components.label.stories.withIcon.email"),icon:{name:"placeholder"}}),t.jsx(o,{text:e("components.label.stories.withIcon.password"),icon:{name:"placeholder"}}),t.jsx(o,{text:e("components.label.stories.withIcon.phone"),icon:{name:"placeholder"}})]})},n={storyName:e("components.label.stories.withHelperText.storyName"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsx(o,{text:e("components.label.stories.withHelperText.password"),helperText:e("components.label.stories.withHelperText.passwordHelper")}),t.jsx(o,{text:e("components.label.stories.withHelperText.email"),helperText:e("components.label.stories.withHelperText.emailHelper")}),t.jsx(o,{text:e("components.label.stories.withHelperText.username"),helperText:e("components.label.stories.withHelperText.usernameHelper")})]})},a={storyName:e("components.label.stories.withRequiredAndHelperText.storyName"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsx(o,{text:e("components.label.stories.withRequiredAndHelper.email"),required:!0,helperText:e("components.label.stories.withRequiredAndHelper.requiredField")}),t.jsx(o,{text:e("components.label.stories.withRequiredAndHelper.password"),required:!0,helperText:e("components.label.stories.withRequiredAndHelper.passwordHelper")})]})},i={storyName:e("components.label.stories.loadingState.storyName"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsx(o,{text:e("components.label.stories.loadingState.loading"),loading:!0}),t.jsx(o,{text:e("components.label.stories.loadingState.loadingWithHelper"),helperText:e("components.label.stories.loadingState.helperText"),loading:!0})]})},p={storyName:e("components.label.stories.disabledState.storyName"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsx(o,{text:e("components.label.stories.disabledState.disabledLabel"),disabled:!0}),t.jsx(o,{text:e("components.label.stories.disabledState.disabledWithHelper"),helperText:e("components.label.stories.disabledState.helperText"),disabled:!0})]})},c={storyName:e("components.label.stories.associatedWithInput.storyName"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:[t.jsx(o,{htmlFor:"email-input",text:e("components.label.stories.associatedWithInput.email"),required:!0}),t.jsx("input",{id:"email-input",type:"email",placeholder:e("components.label.stories.associatedWithInput.emailPlaceholder"),style:{padding:"8px 12px",border:"1px solid #ccc",borderRadius:"4px"}}),t.jsx(o,{htmlFor:"password-input",text:e("components.label.stories.associatedWithInput.password"),required:!0,helperText:e("components.label.stories.associatedWithInput.passwordHelper")}),t.jsx("input",{id:"password-input",type:"password",placeholder:e("components.label.stories.associatedWithInput.passwordPlaceholder"),style:{padding:"8px 12px",border:"1px solid #ccc",borderRadius:"4px"}})]})},d={storyName:e("components.label.stories.completeExample.storyName"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"24px"},children:[t.jsx("div",{children:t.jsx(o,{text:e("components.label.stories.completeExample.username"),required:!0,icon:{name:"placeholder"},helperText:e("components.label.stories.completeExample.usernameHelper")})}),t.jsx("div",{children:t.jsx(o,{text:e("components.label.stories.completeExample.email"),required:!0,helperText:e("components.label.stories.completeExample.emailHelper")})}),t.jsx("div",{children:t.jsx(o,{text:e("components.label.stories.completeExample.phone"),icon:{name:"placeholder"},helperText:e("components.label.stories.completeExample.optional")})})]})},m={storyName:e("components.label.stories.interactive.storyName"),args:{text:e("components.label.stories.interactive.text"),required:!1,disabled:!1,loading:!1}};s.parameters={...s.parameters,docs:{...s.parameters?.docs,source:{originalSource:`{
17
17
  storyName: t('components.label.stories.default.storyName'),
18
18
  args: {
19
19
  text: t('components.label.stories.default.text')
@@ -135,4 +135,4 @@ import{j as t}from"./iframe-DfPay7Zl.js";import{T as u,S as h,M as x,P as y,a as
135
135
  disabled: false,
136
136
  loading: false
137
137
  }
138
- }`,...m.parameters?.docs?.source}}};const L=["Default","WithRequired","WithIcon","WithHelperText","WithRequiredAndHelperText","LoadingState","DisabledState","AssociatedWithInput","CompleteExample","Interactive"];export{c as AssociatedWithInput,d as CompleteExample,s as Default,p as DisabledState,m as Interactive,i as LoadingState,n as WithHelperText,l as WithIcon,r as WithRequired,a as WithRequiredAndHelperText,L as __namedExportsOrder,I as default};
138
+ }`,...m.parameters?.docs?.source}}};const W=["Default","WithRequired","WithIcon","WithHelperText","WithRequiredAndHelperText","LoadingState","DisabledState","AssociatedWithInput","CompleteExample","Interactive"];export{c as AssociatedWithInput,d as CompleteExample,s as Default,p as DisabledState,m as Interactive,i as LoadingState,n as WithHelperText,l as WithIcon,r as WithRequired,a as WithRequiredAndHelperText,W as __namedExportsOrder,L as default};
@@ -0,0 +1,14 @@
1
+ var pe=(e=0)=>t=>`\x1B[${t+e}m`,de=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,fe=(e=0)=>(t,n,a)=>`\x1B[${38+e};2;${t};${n};${a}m`,C={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(C.modifier);var Pe=Object.keys(C.color),Be=Object.keys(C.bgColor);[...Pe,...Be];function Re(){let e=new Map;for(let[t,n]of Object.entries(C)){for(let[a,m]of Object.entries(n))C[a]={open:`\x1B[${m[0]}m`,close:`\x1B[${m[1]}m`},n[a]=C[a],e.set(m[0],m[1]);Object.defineProperty(C,t,{value:n,enumerable:!1})}return Object.defineProperty(C,"codes",{value:e,enumerable:!1}),C.color.close="\x1B[39m",C.bgColor.close="\x1B[49m",C.color.ansi=pe(),C.color.ansi256=de(),C.color.ansi16m=fe(),C.bgColor.ansi=pe(10),C.bgColor.ansi256=de(10),C.bgColor.ansi16m=fe(10),Object.defineProperties(C,{rgbToAnsi256:{value(t,n,a){return t===n&&n===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(a/255*5)},enumerable:!1},hexToRgb:{value(t){let n=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!n)return[0,0,0];let[a]=n;a.length===3&&(a=[...a].map(h=>h+h).join(""));let m=Number.parseInt(a,16);return[m>>16&255,m>>8&255,m&255]},enumerable:!1},hexToAnsi256:{value:t=>C.rgbToAnsi256(...C.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let n,a,m;if(t>=232)n=((t-232)*10+8)/255,a=n,m=n;else{t-=16;let s=t%36;n=Math.floor(t/36)/5,a=Math.floor(s/6)/5,m=s%6/5}let h=Math.max(n,a,m)*2;if(h===0)return 30;let f=30+(Math.round(m)<<2|Math.round(a)<<1|Math.round(n));return h===2&&(f+=60),f},enumerable:!1},rgbToAnsi:{value:(t,n,a)=>C.ansi256ToAnsi(C.rgbToAnsi256(t,n,a)),enumerable:!1},hexToAnsi:{value:t=>C.ansi256ToAnsi(C.hexToAnsi256(t)),enumerable:!1}}),C}var Le=Re(),F=Le,ye=(()=>{if(!("navigator"in globalThis))return 0;if(globalThis.navigator.userAgentData){let e=navigator.userAgentData.brands.find(({brand:t})=>t==="Chromium");if(e&&e.version>93)return 3}return/\b(Chrome|Chromium)\//.test(globalThis.navigator.userAgent)?1:0})(),be=ye!==0&&{level:ye},De={stdout:be,stderr:be},$e=De;function ke(e,t,n){let a=e.indexOf(t);if(a===-1)return e;let m=t.length,h=0,f="";do f+=e.slice(h,a)+t+n,h=a+m,a=e.indexOf(t,h);while(a!==-1);return f+=e.slice(h),f}function Fe(e,t,n,a){let m=0,h="";do{let f=e[a-1]==="\r";h+=e.slice(m,f?a-1:a)+t+(f?`\r
2
+ `:`
3
+ `)+n,m=a+1,a=e.indexOf(`
4
+ `,m)}while(a!==-1);return h+=e.slice(m),h}var{stdout:ge,stderr:_e}=$e,ee=Symbol("GENERATOR"),Y=Symbol("STYLER"),K=Symbol("IS_EMPTY"),he=["ansi","ansi","ansi256","ansi16m"],H=Object.create(null),ze=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let n=ge?ge.level:0;e.level=t.level===void 0?n:t.level},Ue=e=>{let t=(...n)=>n.join(" ");return ze(t,e),Object.setPrototypeOf(t,J.prototype),t};function J(e){return Ue(e)}Object.setPrototypeOf(J.prototype,Function.prototype);for(let[e,t]of Object.entries(F))H[e]={get(){let n=X(this,re(t.open,t.close,this[Y]),this[K]);return Object.defineProperty(this,e,{value:n}),n}};H.visible={get(){let e=X(this,this[Y],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var te=(e,t,n,...a)=>e==="rgb"?t==="ansi16m"?F[n].ansi16m(...a):t==="ansi256"?F[n].ansi256(F.rgbToAnsi256(...a)):F[n].ansi(F.rgbToAnsi(...a)):e==="hex"?te("rgb",t,n,...F.hexToRgb(...a)):F[n][e](...a),qe=["rgb","hex","ansi256"];for(let e of qe){H[e]={get(){let{level:n}=this;return function(...a){let m=re(te(e,he[n],"color",...a),F.color.close,this[Y]);return X(this,m,this[K])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);H[t]={get(){let{level:n}=this;return function(...a){let m=re(te(e,he[n],"bgColor",...a),F.bgColor.close,this[Y]);return X(this,m,this[K])}}}}var Ge=Object.defineProperties(()=>{},{...H,level:{enumerable:!0,get(){return this[ee].level},set(e){this[ee].level=e}}}),re=(e,t,n)=>{let a,m;return n===void 0?(a=e,m=t):(a=n.openAll+e,m=t+n.closeAll),{open:e,close:t,openAll:a,closeAll:m,parent:n}},X=(e,t,n)=>{let a=(...m)=>xe(a,m.length===1?""+m[0]:m.join(" "));return Object.setPrototypeOf(a,Ge),a[ee]=e,a[Y]=t,a[K]=n,a},xe=(e,t)=>{if(e.level<=0||!t)return e[K]?"":t;let n=e[Y];if(n===void 0)return t;let{openAll:a,closeAll:m}=n;if(t.includes("\x1B"))for(;n!==void 0;)t=ke(t,n.close,n.open),n=n.parent;let h=t.indexOf(`
5
+ `);return h!==-1&&(t=Fe(t,m,a,h)),a+t+m};Object.defineProperties(J.prototype,H);var We=J();J({level:_e?_e.level:0});var V=We,Ve=Object.create,Se=Object.defineProperty,Ye=Object.getOwnPropertyDescriptor,Me=Object.getOwnPropertyNames,He=Object.getPrototypeOf,Ke=Object.prototype.hasOwnProperty,$=(e,t)=>function(){return t||(0,e[Me(e)[0]])((t={exports:{}}).exports,t),t.exports},Je=(e,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let m of Me(t))!Ke.call(e,m)&&m!==n&&Se(e,m,{get:()=>t[m],enumerable:!(a=Ye(t,m))||a.enumerable});return e},Xe=(e,t,n)=>(n=e!=null?Ve(He(e)):{},Je(Se(n,"default",{value:e,enumerable:!0}),e)),Ae=$({"node_modules/pretty-format/node_modules/ansi-styles/index.js"(e,t){var n=10,a=(f=0)=>s=>`\x1B[${38+f};5;${s}m`,m=(f=0)=>(s,_,o)=>`\x1B[${38+f};2;${s};${_};${o}m`;function h(){let f=new Map,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(let[_,o]of Object.entries(s)){for(let[p,c]of Object.entries(o))s[p]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},o[p]=s[p],f.set(c[0],c[1]);Object.defineProperty(s,_,{value:o,enumerable:!1})}return Object.defineProperty(s,"codes",{value:f,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi256=a(),s.color.ansi16m=m(),s.bgColor.ansi256=a(n),s.bgColor.ansi16m=m(n),Object.defineProperties(s,{rgbToAnsi256:{value:(_,o,p)=>_===o&&o===p?_<8?16:_>248?231:Math.round((_-8)/247*24)+232:16+36*Math.round(_/255*5)+6*Math.round(o/255*5)+Math.round(p/255*5),enumerable:!1},hexToRgb:{value:_=>{let o=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(_.toString(16));if(!o)return[0,0,0];let{colorString:p}=o.groups;p.length===3&&(p=p.split("").map(l=>l+l).join(""));let c=Number.parseInt(p,16);return[c>>16&255,c>>8&255,c&255]},enumerable:!1},hexToAnsi256:{value:_=>s.rgbToAnsi256(...s.hexToRgb(_)),enumerable:!1}}),s}Object.defineProperty(t,"exports",{enumerable:!0,get:h})}}),Z=$({"node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=n,e.printIteratorValues=a,e.printListItems=m,e.printObjectProperties=h;var t=(f,s)=>{let _=Object.keys(f).sort(s);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(f).forEach(o=>{Object.getOwnPropertyDescriptor(f,o).enumerable&&_.push(o)}),_};function n(f,s,_,o,p,c,l=": "){let i="",d=0,g=f.next();if(!g.done){i+=s.spacingOuter;let y=_+s.indent;for(;!g.done;){if(i+=y,d++===s.maxWidth){i+="…";break}let u=c(g.value[0],s,y,o,p),S=c(g.value[1],s,y,o,p);i+=u+l+S,g=f.next(),g.done?s.min||(i+=","):i+=`,${s.spacingInner}`}i+=s.spacingOuter+_}return i}function a(f,s,_,o,p,c){let l="",i=0,d=f.next();if(!d.done){l+=s.spacingOuter;let g=_+s.indent;for(;!d.done;){if(l+=g,i++===s.maxWidth){l+="…";break}l+=c(d.value,s,g,o,p),d=f.next(),d.done?s.min||(l+=","):l+=`,${s.spacingInner}`}l+=s.spacingOuter+_}return l}function m(f,s,_,o,p,c){let l="";if(f.length){l+=s.spacingOuter;let i=_+s.indent;for(let d=0;d<f.length;d++){if(l+=i,d===s.maxWidth){l+="…";break}d in f&&(l+=c(f[d],s,i,o,p)),d<f.length-1?l+=`,${s.spacingInner}`:s.min||(l+=",")}l+=s.spacingOuter+_}return l}function h(f,s,_,o,p,c){let l="",i=t(f,s.compareKeys);if(i.length){l+=s.spacingOuter;let d=_+s.indent;for(let g=0;g<i.length;g++){let y=i[g],u=c(y,s,d,o,p),S=c(f[y],s,d,o,p);l+=`${d+u}: ${S}`,g<i.length-1?l+=`,${s.spacingInner}`:s.min||(l+=",")}l+=s.spacingOuter+_}return l}}}),Ze=$({"node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Z(),n=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol,a=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,m=" ",h=(o,p,c,l,i,d)=>{let g=o.toString();if(g==="ArrayContaining"||g==="ArrayNotContaining")return++l>p.maxDepth?`[${g}]`:`${g+m}[${(0,t.printListItems)(o.sample,p,c,l,i,d)}]`;if(g==="ObjectContaining"||g==="ObjectNotContaining")return++l>p.maxDepth?`[${g}]`:`${g+m}{${(0,t.printObjectProperties)(o.sample,p,c,l,i,d)}}`;if(g==="StringMatching"||g==="StringNotMatching"||g==="StringContaining"||g==="StringNotContaining")return g+m+d(o.sample,p,c,l,i);if(typeof o.toAsymmetricMatcher!="function")throw new Error(`Asymmetric matcher ${o.constructor.name} does not implement toAsymmetricMatcher()`);return o.toAsymmetricMatcher()};e.serialize=h;var f=o=>o&&o.$$typeof===a;e.test=f;var s={serialize:h,test:f},_=s;e.default=_}}),Qe=$({"node_modules/ansi-regex/index.js"(e,t){t.exports=({onlyFirst:n=!1}={})=>{let a=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(a,n?void 0:"g")}}}),et=$({"node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(Qe()),n=a(Ae());function a(o){return o&&o.__esModule?o:{default:o}}var m=o=>o.replace((0,t.default)(),p=>{switch(p){case n.default.red.close:case n.default.green.close:case n.default.cyan.close:case n.default.gray.close:case n.default.white.close:case n.default.yellow.close:case n.default.bgRed.close:case n.default.bgGreen.close:case n.default.bgYellow.close:case n.default.inverse.close:case n.default.dim.close:case n.default.bold.close:case n.default.reset.open:case n.default.reset.close:return"</>";case n.default.red.open:return"<red>";case n.default.green.open:return"<green>";case n.default.cyan.open:return"<cyan>";case n.default.gray.open:return"<gray>";case n.default.white.open:return"<white>";case n.default.yellow.open:return"<yellow>";case n.default.bgRed.open:return"<bgRed>";case n.default.bgGreen.open:return"<bgGreen>";case n.default.bgYellow.open:return"<bgYellow>";case n.default.inverse.open:return"<inverse>";case n.default.dim.open:return"<dim>";case n.default.bold.open:return"<bold>";default:return""}}),h=o=>typeof o=="string"&&!!o.match((0,t.default)());e.test=h;var f=(o,p,c,l,i,d)=>d(m(o),p,c,l,i);e.serialize=f;var s={serialize:f,test:h},_=s;e.default=_}}),tt=$({"node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Z(),n=" ",a=["DOMStringMap","NamedNodeMap"],m=/^(HTML\w*Collection|NodeList)$/,h=c=>a.indexOf(c)!==-1||m.test(c),f=c=>c&&c.constructor&&!!c.constructor.name&&h(c.constructor.name);e.test=f;var s=c=>c.constructor.name==="NamedNodeMap",_=(c,l,i,d,g,y)=>{let u=c.constructor.name;return++d>l.maxDepth?`[${u}]`:(l.min?"":u+n)+(a.indexOf(u)!==-1?`{${(0,t.printObjectProperties)(s(c)?Array.from(c).reduce((S,j)=>(S[j.name]=j.value,S),{}):{...c},l,i,d,g,y)}}`:`[${(0,t.printListItems)(Array.from(c),l,i,d,g,y)}]`)};e.serialize=_;var o={serialize:_,test:f},p=o;e.default=p}}),rt=$({"node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){return n.replace(/</g,"&lt;").replace(/>/g,"&gt;")}}}),ie=$({"node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=n(rt());function n(o){return o&&o.__esModule?o:{default:o}}var a=(o,p,c,l,i,d,g)=>{let y=l+c.indent,u=c.colors;return o.map(S=>{let j=p[S],L=g(j,c,y,i,d);return typeof j!="string"&&(L.indexOf(`
6
+ `)!==-1&&(L=c.spacingOuter+y+L+c.spacingOuter+l),L=`{${L}}`),`${c.spacingInner+l+u.prop.open+S+u.prop.close}=${u.value.open}${L}${u.value.close}`}).join("")};e.printProps=a;var m=(o,p,c,l,i,d)=>o.map(g=>p.spacingOuter+c+(typeof g=="string"?h(g,p):d(g,p,c,l,i))).join("");e.printChildren=m;var h=(o,p)=>{let c=p.colors.content;return c.open+(0,t.default)(o)+c.close};e.printText=h;var f=(o,p)=>{let c=p.colors.comment;return`${c.open}<!--${(0,t.default)(o)}-->${c.close}`};e.printComment=f;var s=(o,p,c,l,i)=>{let d=l.colors.tag;return`${d.open}<${o}${p&&d.close+p+l.spacingOuter+i+d.open}${c?`>${d.close}${c}${l.spacingOuter}${i}${d.open}</${o}`:`${p&&!l.min?"":" "}/`}>${d.close}`};e.printElement=s;var _=(o,p)=>{let c=p.colors.tag;return`${c.open}<${o}${c.close} …${c.open} />${c.close}`};e.printElementAsLeaf=_}}),nt=$({"node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ie(),n=1,a=3,m=8,h=11,f=/^((HTML|SVG)\w*)?Element$/,s=y=>{try{return typeof y.hasAttribute=="function"&&y.hasAttribute("is")}catch{return!1}},_=y=>{let u=y.constructor.name,{nodeType:S,tagName:j}=y,L=typeof j=="string"&&j.includes("-")||s(y);return S===n&&(f.test(u)||L)||S===a&&u==="Text"||S===m&&u==="Comment"||S===h&&u==="DocumentFragment"},o=y=>{var u;return(y==null||(u=y.constructor)===null||u===void 0?void 0:u.name)&&_(y)};e.test=o;function p(y){return y.nodeType===a}function c(y){return y.nodeType===m}function l(y){return y.nodeType===h}var i=(y,u,S,j,L,q)=>{if(p(y))return(0,t.printText)(y.data,u);if(c(y))return(0,t.printComment)(y.data,u);let W=l(y)?"DocumentFragment":y.tagName.toLowerCase();return++j>u.maxDepth?(0,t.printElementAsLeaf)(W,u):(0,t.printElement)(W,(0,t.printProps)(l(y)?[]:Array.from(y.attributes).map(z=>z.name).sort(),l(y)?{}:Array.from(y.attributes).reduce((z,O)=>(z[O.name]=O.value,z),{}),u,S+u.indent,j,L,q),(0,t.printChildren)(Array.prototype.slice.call(y.childNodes||y.children),u,S+u.indent,j,L,q),u,S)};e.serialize=i;var d={serialize:i,test:o},g=d;e.default=g}}),lt=$({"node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Z(),n="@@__IMMUTABLE_ITERABLE__@@",a="@@__IMMUTABLE_LIST__@@",m="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_MAP__@@",f="@@__IMMUTABLE_ORDERED__@@",s="@@__IMMUTABLE_RECORD__@@",_="@@__IMMUTABLE_SEQ__@@",o="@@__IMMUTABLE_SET__@@",p="@@__IMMUTABLE_STACK__@@",c=O=>`Immutable.${O}`,l=O=>`[${O}]`,i=" ",d="…",g=(O,T,v,N,B,I,D)=>++N>T.maxDepth?l(c(D)):`${c(D)+i}{${(0,t.printIteratorEntries)(O.entries(),T,v,N,B,I)}}`;function y(O){let T=0;return{next(){if(T<O._keys.length){let v=O._keys[T++];return{done:!1,value:[v,O.get(v)]}}return{done:!0,value:void 0}}}}var u=(O,T,v,N,B,I)=>{let D=c(O._name||"Record");return++N>T.maxDepth?l(D):`${D+i}{${(0,t.printIteratorEntries)(y(O),T,v,N,B,I)}}`},S=(O,T,v,N,B,I)=>{let D=c("Seq");return++N>T.maxDepth?l(D):O[m]?`${D+i}{${O._iter||O._object?(0,t.printIteratorEntries)(O.entries(),T,v,N,B,I):d}}`:`${D+i}[${O._iter||O._array||O._collection||O._iterable?(0,t.printIteratorValues)(O.values(),T,v,N,B,I):d}]`},j=(O,T,v,N,B,I,D)=>++N>T.maxDepth?l(c(D)):`${c(D)+i}[${(0,t.printIteratorValues)(O.values(),T,v,N,B,I)}]`,L=(O,T,v,N,B,I)=>O[h]?g(O,T,v,N,B,I,O[f]?"OrderedMap":"Map"):O[a]?j(O,T,v,N,B,I,"List"):O[o]?j(O,T,v,N,B,I,O[f]?"OrderedSet":"Set"):O[p]?j(O,T,v,N,B,I,"Stack"):O[_]?S(O,T,v,N,B,I):u(O,T,v,N,B,I);e.serialize=L;var q=O=>O&&(O[n]===!0||O[s]===!0);e.test=q;var W={serialize:L,test:q},z=W;e.default=z}}),it=$({"node_modules/react-is/cjs/react-is.production.min.js"(e){var t=Symbol.for("react.element"),n=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),s=Symbol.for("react.context"),_=Symbol.for("react.server_context"),o=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),l=Symbol.for("react.memo"),i=Symbol.for("react.lazy"),d=Symbol.for("react.offscreen"),g;g=Symbol.for("react.module.reference");function y(u){if(typeof u=="object"&&u!==null){var S=u.$$typeof;switch(S){case t:switch(u=u.type,u){case a:case h:case m:case p:case c:return u;default:switch(u=u&&u.$$typeof,u){case _:case s:case o:case i:case l:case f:return u;default:return S}}case n:return S}}}e.ContextConsumer=s,e.ContextProvider=f,e.Element=t,e.ForwardRef=o,e.Fragment=a,e.Lazy=i,e.Memo=l,e.Portal=n,e.Profiler=h,e.StrictMode=m,e.Suspense=p,e.SuspenseList=c,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(u){return y(u)===s},e.isContextProvider=function(u){return y(u)===f},e.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===t},e.isForwardRef=function(u){return y(u)===o},e.isFragment=function(u){return y(u)===a},e.isLazy=function(u){return y(u)===i},e.isMemo=function(u){return y(u)===l},e.isPortal=function(u){return y(u)===n},e.isProfiler=function(u){return y(u)===h},e.isStrictMode=function(u){return y(u)===m},e.isSuspense=function(u){return y(u)===p},e.isSuspenseList=function(u){return y(u)===c},e.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===a||u===h||u===m||u===p||u===c||u===d||typeof u=="object"&&u!==null&&(u.$$typeof===i||u.$$typeof===l||u.$$typeof===f||u.$$typeof===s||u.$$typeof===o||u.$$typeof===g||u.getModuleId!==void 0)},e.typeOf=y}}),at=$({"node_modules/react-is/index.js"(e,t){t.exports=it()}}),ot=$({"node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=m(at()),n=ie();function a(l){if(typeof WeakMap!="function")return null;var i=new WeakMap,d=new WeakMap;return(a=function(g){return g?d:i})(l)}function m(l,i){if(l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var d=a(i);if(d&&d.has(l))return d.get(l);var g={},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in l)if(u!=="default"&&Object.prototype.hasOwnProperty.call(l,u)){var S=y?Object.getOwnPropertyDescriptor(l,u):null;S&&(S.get||S.set)?Object.defineProperty(g,u,S):g[u]=l[u]}return g.default=l,d&&d.set(l,g),g}var h=(l,i=[])=>(Array.isArray(l)?l.forEach(d=>{h(d,i)}):l!=null&&l!==!1&&i.push(l),i),f=l=>{let i=l.type;if(typeof i=="string")return i;if(typeof i=="function")return i.displayName||i.name||"Unknown";if(t.isFragment(l))return"React.Fragment";if(t.isSuspense(l))return"React.Suspense";if(typeof i=="object"&&i!==null){if(t.isContextProvider(l))return"Context.Provider";if(t.isContextConsumer(l))return"Context.Consumer";if(t.isForwardRef(l)){if(i.displayName)return i.displayName;let d=i.render.displayName||i.render.name||"";return d!==""?`ForwardRef(${d})`:"ForwardRef"}if(t.isMemo(l)){let d=i.displayName||i.type.displayName||i.type.name||"";return d!==""?`Memo(${d})`:"Memo"}}return"UNDEFINED"},s=l=>{let{props:i}=l;return Object.keys(i).filter(d=>d!=="children"&&i[d]!==void 0).sort()},_=(l,i,d,g,y,u)=>++g>i.maxDepth?(0,n.printElementAsLeaf)(f(l),i):(0,n.printElement)(f(l),(0,n.printProps)(s(l),l.props,i,d+i.indent,g,y,u),(0,n.printChildren)(h(l.props.children),i,d+i.indent,g,y,u),i,d);e.serialize=_;var o=l=>l!=null&&t.isElement(l);e.test=o;var p={serialize:_,test:o},c=p;e.default=c}}),ut=$({"node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ie(),n=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol,a=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,m=o=>{let{props:p}=o;return p?Object.keys(p).filter(c=>p[c]!==void 0).sort():[]},h=(o,p,c,l,i,d)=>++l>p.maxDepth?(0,t.printElementAsLeaf)(o.type,p):(0,t.printElement)(o.type,o.props?(0,t.printProps)(m(o),o.props,p,c+p.indent,l,i,d):"",o.children?(0,t.printChildren)(o.children,p,c+p.indent,l,i,d):"",p,c);e.serialize=h;var f=o=>o&&o.$$typeof===a;e.test=f;var s={serialize:h,test:f},_=s;e.default=_}}),st=$({"node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=me,e.plugins=void 0;var t=p(Ae()),n=Z(),a=p(Ze()),m=p(et()),h=p(tt()),f=p(nt()),s=p(lt()),_=p(ot()),o=p(ut());function p(r){return r&&r.__esModule?r:{default:r}}var c=Object.prototype.toString,l=Date.prototype.toISOString,i=Error.prototype.toString,d=RegExp.prototype.toString,g=r=>typeof r.constructor=="function"&&r.constructor.name||"Object",y=r=>typeof window<"u"&&r===window,u=/^Symbol\((.*)\)(.*)$/,S=/\n/gi,j=class extends Error{constructor(r,b){super(r),this.stack=b,this.name=this.constructor.name}};function L(r){return r==="[object Array]"||r==="[object ArrayBuffer]"||r==="[object DataView]"||r==="[object Float32Array]"||r==="[object Float64Array]"||r==="[object Int8Array]"||r==="[object Int16Array]"||r==="[object Int32Array]"||r==="[object Uint8Array]"||r==="[object Uint8ClampedArray]"||r==="[object Uint16Array]"||r==="[object Uint32Array]"}function q(r){return Object.is(r,-0)?"-0":String(r)}function W(r){return`${r}n`}function z(r,b){return b?`[Function ${r.name||"anonymous"}]`:"[Function]"}function O(r){return String(r).replace(u,"Symbol($1)")}function T(r){return`[${i.call(r)}]`}function v(r,b,E,A){if(r===!0||r===!1)return`${r}`;if(r===void 0)return"undefined";if(r===null)return"null";let M=typeof r;if(M==="number")return q(r);if(M==="bigint")return W(r);if(M==="string")return A?`"${r.replace(/"|\\/g,"\\$&")}"`:`"${r}"`;if(M==="function")return z(r,b);if(M==="symbol")return O(r);let w=c.call(r);return w==="[object WeakMap]"?"WeakMap {}":w==="[object WeakSet]"?"WeakSet {}":w==="[object Function]"||w==="[object GeneratorFunction]"?z(r,b):w==="[object Symbol]"?O(r):w==="[object Date]"?isNaN(+r)?"Date { NaN }":l.call(r):w==="[object Error]"?T(r):w==="[object RegExp]"?E?d.call(r).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):d.call(r):r instanceof Error?T(r):null}function N(r,b,E,A,M,w){if(M.indexOf(r)!==-1)return"[Circular]";M=M.slice(),M.push(r);let P=++A>b.maxDepth,R=b.min;if(b.callToJSON&&!P&&r.toJSON&&typeof r.toJSON=="function"&&!w)return U(r.toJSON(),b,E,A,M,!0);let G=c.call(r);return G==="[object Arguments]"?P?"[Arguments]":`${R?"":"Arguments "}[${(0,n.printListItems)(r,b,E,A,M,U)}]`:L(G)?P?`[${r.constructor.name}]`:`${R||!b.printBasicPrototype&&r.constructor.name==="Array"?"":`${r.constructor.name} `}[${(0,n.printListItems)(r,b,E,A,M,U)}]`:G==="[object Map]"?P?"[Map]":`Map {${(0,n.printIteratorEntries)(r.entries(),b,E,A,M,U," => ")}}`:G==="[object Set]"?P?"[Set]":`Set {${(0,n.printIteratorValues)(r.values(),b,E,A,M,U)}}`:P||y(r)?`[${g(r)}]`:`${R||!b.printBasicPrototype&&g(r)==="Object"?"":`${g(r)} `}{${(0,n.printObjectProperties)(r,b,E,A,M,U)}}`}function B(r){return r.serialize!=null}function I(r,b,E,A,M,w){let P;try{P=B(r)?r.serialize(b,E,A,M,w,U):r.print(b,R=>U(R,E,A,M,w),R=>{let G=A+E.indent;return G+R.replace(S,`
7
+ ${G}`)},{edgeSpacing:E.spacingOuter,min:E.min,spacing:E.spacingInner},E.colors)}catch(R){throw new j(R.message,R.stack)}if(typeof P!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof P}".`);return P}function D(r,b){for(let E=0;E<r.length;E++)try{if(r[E].test(b))return r[E]}catch(A){throw new j(A.message,A.stack)}return null}function U(r,b,E,A,M,w){let P=D(b.plugins,r);if(P!==null)return I(P,r,b,E,A,M);let R=v(r,b.printFunctionName,b.escapeRegex,b.escapeString);return R!==null?R:N(r,b,E,A,M,w)}var Q={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},ae=Object.keys(Q),k={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,maxWidth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Q};e.DEFAULT_OPTIONS=k;function Ce(r){if(Object.keys(r).forEach(b=>{if(!Object.prototype.hasOwnProperty.call(k,b))throw new Error(`pretty-format: Unknown option "${b}".`)}),r.min&&r.indent!==void 0&&r.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(r.theme!==void 0){if(r.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof r.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof r.theme}".`)}}var Ne=r=>ae.reduce((b,E)=>{let A=r.theme&&r.theme[E]!==void 0?r.theme[E]:Q[E],M=A&&t.default[A];if(M&&typeof M.close=="string"&&typeof M.open=="string")b[E]=M;else throw new Error(`pretty-format: Option "theme" has a key "${E}" whose value "${A}" is undefined in ansi-styles.`);return b},Object.create(null)),ve=()=>ae.reduce((r,b)=>(r[b]={close:"",open:""},r),Object.create(null)),oe=r=>{var b;return(b=r?.printFunctionName)!==null&&b!==void 0?b:k.printFunctionName},ue=r=>{var b;return(b=r?.escapeRegex)!==null&&b!==void 0?b:k.escapeRegex},se=r=>{var b;return(b=r?.escapeString)!==null&&b!==void 0?b:k.escapeString},ce=r=>{var b,E,A,M,w,P,R;return{callToJSON:(b=r?.callToJSON)!==null&&b!==void 0?b:k.callToJSON,colors:r!=null&&r.highlight?Ne(r):ve(),compareKeys:typeof r?.compareKeys=="function"?r.compareKeys:k.compareKeys,escapeRegex:ue(r),escapeString:se(r),indent:r!=null&&r.min?"":je((E=r?.indent)!==null&&E!==void 0?E:k.indent),maxDepth:(A=r?.maxDepth)!==null&&A!==void 0?A:k.maxDepth,maxWidth:(M=r?.maxWidth)!==null&&M!==void 0?M:k.maxWidth,min:(w=r?.min)!==null&&w!==void 0?w:k.min,plugins:(P=r?.plugins)!==null&&P!==void 0?P:k.plugins,printBasicPrototype:(R=r?.printBasicPrototype)!==null&&R!==void 0?R:!0,printFunctionName:oe(r),spacingInner:r!=null&&r.min?" ":`
8
+ `,spacingOuter:r!=null&&r.min?"":`
9
+ `}};function je(r){return new Array(r+1).join(" ")}function me(r,b){if(b&&(Ce(b),b.plugins)){let A=D(b.plugins,r);if(A!==null)return I(A,r,ce(b),"",0,[])}let E=v(r,oe(b),ue(b),se(b));return E!==null?E:N(r,ce(b),"",0,[])}var we={AsymmetricMatcher:a.default,ConvertAnsi:m.default,DOMCollection:h.default,DOMElement:f.default,Immutable:s.default,ReactElement:_.default,ReactTestComponent:o.default};e.plugins=we;var Ie=me;e.default=Ie}}),ne=Xe(st()),{AsymmetricMatcher:ct,DOMCollection:mt,DOMElement:pt,Immutable:dt,ReactElement:ft,ReactTestComponent:yt}=ne.plugins,Oe=[yt,ft,pt,mt,dt,ct],x=V.dim,Ee=V.green,Te=V.red,bt="·";function le(e,t=10,n=10){let a=1e4,m;try{m=(0,ne.format)(e,{maxDepth:t,maxWidth:n,min:!0,plugins:Oe})}catch{m=(0,ne.format)(e,{callToJSON:!1,maxDepth:t,maxWidth:n,min:!0,plugins:Oe})}return m.length>=a&&t>1?le(e,Math.floor(t/2),n):m.length>=a&&n>1?le(e,t,Math.floor(n/2)):m}function gt(e){return e.replace(/\s+$/gm,t=>bt.repeat(t.length))}function _t(e){return Te(gt(le(e)))}function ht(e,t="received",n="expected",a={}){let{comment:m="",expectedColor:h=Ee,isDirectExpectCall:f=!1,isNot:s=!1,promise:_="",receivedColor:o=Te,secondArgument:p="",secondArgumentColor:c=Ee}=a,l="",i="expect";return!f&&t!==""&&(l+=x(`${i}(`)+o(t),i=")"),_!==""&&(l+=x(`${i}.`)+_,i=""),s&&(l+=`${x(`${i}.`)}not`,i=""),e.includes(".")?i+=e:(l+=x(`${i}.`)+e,i=""),n===""?i+="()":(l+=x(`${i}(`)+h(n),p&&(l+=x(", ")+c(p)),i=")"),m!==""&&(i+=` // ${m}`),i!==""&&(l+=x(i)),l}function Et(e){if(typeof e.violations>"u")throw new Error("No violations found in aXe results object");let t=Ot(e.violations,e.toolOptions?e.toolOptions.impactLevels:[]);function n(f){if(f.length===0)return[];let s=`
10
+
11
+ `;return f.map(_=>_.nodes.map(o=>`Expected the HTML found at $('${o.target.join(", ")}') to have no violations:`+s+V.grey(o.html)+s+"Received:"+s+_t(`${_.help} (${_.id})`)+s+V.yellow(o.failureSummary)+s+(_.helpUrl?`You can find more information on this issue here:
12
+ ${V.blue(_.helpUrl)}`:"")).join(s)).join(s+"────────"+s)}let a=n(t),m=a.length===0;function h(){if(!m)return ht(".toHaveNoViolations")+`
13
+
14
+ ${a}`}return{actual:t,message:h,pass:m}}function Ot(e,t){return t&&t.length>0?e.filter(n=>t.includes(n.impact)):e}export{Et as toHaveNoViolations};
@@ -0,0 +1,136 @@
1
+ import{r as a,j as n}from"./iframe-Crg_lbde.js";import{T as W,S as G,a as x,P as H,b as F}from"./blocks-CB7UwFa4.js";import{c as J,g as Q}from"./classname-Bl5epEs-.js";import{g as U}from"./colors-_6nFGM3e.js";import{I as D,r as k}from"./icon-Cc9W858e.js";import{t as e}from"./store-BwIebEt6.js";import{B as P}from"./button-BLW8SOpg.js";import{a as X,B as Y}from"./badge-Gh2kTOE3.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";import"./typography-CMIMyivt.js";const Z=s=>`vsf-page-${s}`,t=Q("navigation-bar"),h=({className:s,scrollElementSelector:b,theme:c="default",color:w,transparent:I="none",title:S,backIcon:l,onBackClick:A,leftIcon:N,onLeftIconClick:L,left:O,rightIcon:C,onRightIconClick:_,right:E,divider:V,locationKey:f,scrollThreshold:B=100})=>{const R=a.useRef(null),z=a.useRef(-1),r=a.useMemo(()=>b||"#"+Z(f||""),[b,f]),q=a.useCallback(()=>typeof r=="string"?document.querySelector(r):typeof r=="function"?r():r,[r]),T=a.useCallback(i=>{const o=i.scrollTop,M=z.current,j=o>B?1:o<0?0:o/B;M!==j&&R.current?.style.setProperty("--navigation-bar-opacity",j.toString())},[B]);a.useEffect(()=>{c==="default"?window.vsf?.setNavigationBar({theme:"dark"}):c==="inverse"&&window.vsf?.setNavigationBar({theme:"light"})},[c]);const $=a.useMemo(()=>l===!1?null:l===!0?n.jsx(D,{name:"chevron-left",size:24}):l,[l]);return a.useEffect(()=>{if(I!=="auto")return;const i=q(),o=()=>{i&&T(i)};return setTimeout(()=>o(),0),i?.addEventListener("scroll",o),()=>{i?.removeEventListener("scroll",o)}},[I,f,q,T]),n.jsxs("div",{className:J(t,`${t}--${c}`,{[`${t}--transparent`]:I==="always",[`${t}--divider`]:V},s),ref:R,style:w?{"--navigation-bar-background":U(w)}:void 0,children:[n.jsx("div",{className:`${t}__background`}),n.jsxs("div",{className:`${t}__inner`,children:[!!$&&n.jsx("button",{className:`${t}__icon`,onClick:()=>A?.(),children:k($)}),!!N&&n.jsx("button",{className:`${t}__icon`,onClick:()=>L?.(),children:k(N)}),O,n.jsx("div",{className:`${t}__title`,children:S}),C&&n.jsx("button",{className:`${t}__icon`,onClick:()=>_?.(),children:k(C)}),E]})]})};h.__docgenInfo={description:"",methods:[],displayName:"NavigationBar",props:{className:{required:!1,tsType:{name:"string"},description:""},scrollElementSelector:{required:!1,tsType:{name:"union",raw:"(() => HTMLElement) | HTMLElement | string",elements:[{name:"unknown"},{name:"HTMLElement"},{name:"string"}]},description:""},transparent:{required:!1,tsType:{name:"union",raw:"'auto' | 'always' | 'none'",elements:[{name:"literal",value:"'auto'"},{name:"literal",value:"'always'"},{name:"literal",value:"'none'"}]},description:"",defaultValue:{value:"'none'",computed:!1}},theme:{required:!1,tsType:{name:"union",raw:"'default' | 'inverse'",elements:[{name:"literal",value:"'default'"},{name:"literal",value:"'inverse'"}]},description:"",defaultValue:{value:"'default'",computed:!1}},color:{required:!1,tsType:{name:"IColor"},description:""},title:{required:!1,tsType:{name:"union",raw:"string | ReactNode",elements:[{name:"string"},{name:"ReactNode"}]},description:""},scrollThreshold:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"100",computed:!1}},backIcon:{required:!1,tsType:{name:"union",raw:"boolean | IIconProps | ReactNode",elements:[{name:"boolean"},{name:"IOverride",elements:[{name:"Omit",elements:[{name:"intersection",raw:`React.ComponentProps<'svg'> & {
2
+ title?: string
3
+ titleId?: string
4
+ desc?: string
5
+ descId?: string
6
+ }`,elements:[{name:"ReactComponentProps",raw:"React.ComponentProps<'svg'>",elements:[{name:"literal",value:"'svg'"}]},{name:"signature",type:"object",raw:`{
7
+ title?: string
8
+ titleId?: string
9
+ desc?: string
10
+ descId?: string
11
+ }`,signature:{properties:[{key:"title",value:{name:"string",required:!1}},{key:"titleId",value:{name:"string",required:!1}},{key:"desc",value:{name:"string",required:!1}},{key:"descId",value:{name:"string",required:!1}}]}}]},{name:"union",raw:"'name' | 'type' | 'children'",elements:[{name:"literal",value:"'name'"},{name:"literal",value:"'type'"},{name:"literal",value:"'children'"}]}],raw:"Omit<ISVGComponentProps, 'name' | 'type' | 'children'>"},{name:"intersection",raw:`{
12
+ size?: number | string
13
+ color?: IColor
14
+ animation?: IIconAnimation
15
+ } & ({ name: IIconName; type?: 'outline' | 'fill' } | { children: ReactNode })`,elements:[{name:"signature",type:"object",raw:`{
16
+ size?: number | string
17
+ color?: IColor
18
+ animation?: IIconAnimation
19
+ }`,signature:{properties:[{key:"size",value:{name:"union",raw:"number | string",elements:[{name:"number"},{name:"string"}],required:!1}},{key:"color",value:{name:"IColor",required:!1}},{key:"animation",value:{name:"union",raw:"'spin' | 'ping' | 'pulse' | 'bounce'",elements:[{name:"literal",value:"'spin'"},{name:"literal",value:"'ping'"},{name:"literal",value:"'pulse'"},{name:"literal",value:"'bounce'"}],required:!1}}]}},{name:"unknown"}]}],raw:`IOverride<
20
+ Omit<ISVGComponentProps, 'name' | 'type' | 'children'>,
21
+ IBaseIconProps
22
+ >`},{name:"ReactNode"}]},description:""},onBackClick:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},leftIcon:{required:!1,tsType:{name:"union",raw:"IIconProps | ReactNode",elements:[{name:"IOverride",elements:[{name:"Omit",elements:[{name:"intersection",raw:`React.ComponentProps<'svg'> & {
23
+ title?: string
24
+ titleId?: string
25
+ desc?: string
26
+ descId?: string
27
+ }`,elements:[{name:"ReactComponentProps",raw:"React.ComponentProps<'svg'>",elements:[{name:"literal",value:"'svg'"}]},{name:"signature",type:"object",raw:`{
28
+ title?: string
29
+ titleId?: string
30
+ desc?: string
31
+ descId?: string
32
+ }`,signature:{properties:[{key:"title",value:{name:"string",required:!1}},{key:"titleId",value:{name:"string",required:!1}},{key:"desc",value:{name:"string",required:!1}},{key:"descId",value:{name:"string",required:!1}}]}}]},{name:"union",raw:"'name' | 'type' | 'children'",elements:[{name:"literal",value:"'name'"},{name:"literal",value:"'type'"},{name:"literal",value:"'children'"}]}],raw:"Omit<ISVGComponentProps, 'name' | 'type' | 'children'>"},{name:"intersection",raw:`{
33
+ size?: number | string
34
+ color?: IColor
35
+ animation?: IIconAnimation
36
+ } & ({ name: IIconName; type?: 'outline' | 'fill' } | { children: ReactNode })`,elements:[{name:"signature",type:"object",raw:`{
37
+ size?: number | string
38
+ color?: IColor
39
+ animation?: IIconAnimation
40
+ }`,signature:{properties:[{key:"size",value:{name:"union",raw:"number | string",elements:[{name:"number"},{name:"string"}],required:!1}},{key:"color",value:{name:"IColor",required:!1}},{key:"animation",value:{name:"union",raw:"'spin' | 'ping' | 'pulse' | 'bounce'",elements:[{name:"literal",value:"'spin'"},{name:"literal",value:"'ping'"},{name:"literal",value:"'pulse'"},{name:"literal",value:"'bounce'"}],required:!1}}]}},{name:"unknown"}]}],raw:`IOverride<
41
+ Omit<ISVGComponentProps, 'name' | 'type' | 'children'>,
42
+ IBaseIconProps
43
+ >`},{name:"ReactNode"}]},description:""},onLeftIconClick:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},left:{required:!1,tsType:{name:"ReactNode"},description:""},rightIcon:{required:!1,tsType:{name:"union",raw:"IIconProps | ReactNode",elements:[{name:"IOverride",elements:[{name:"Omit",elements:[{name:"intersection",raw:`React.ComponentProps<'svg'> & {
44
+ title?: string
45
+ titleId?: string
46
+ desc?: string
47
+ descId?: string
48
+ }`,elements:[{name:"ReactComponentProps",raw:"React.ComponentProps<'svg'>",elements:[{name:"literal",value:"'svg'"}]},{name:"signature",type:"object",raw:`{
49
+ title?: string
50
+ titleId?: string
51
+ desc?: string
52
+ descId?: string
53
+ }`,signature:{properties:[{key:"title",value:{name:"string",required:!1}},{key:"titleId",value:{name:"string",required:!1}},{key:"desc",value:{name:"string",required:!1}},{key:"descId",value:{name:"string",required:!1}}]}}]},{name:"union",raw:"'name' | 'type' | 'children'",elements:[{name:"literal",value:"'name'"},{name:"literal",value:"'type'"},{name:"literal",value:"'children'"}]}],raw:"Omit<ISVGComponentProps, 'name' | 'type' | 'children'>"},{name:"intersection",raw:`{
54
+ size?: number | string
55
+ color?: IColor
56
+ animation?: IIconAnimation
57
+ } & ({ name: IIconName; type?: 'outline' | 'fill' } | { children: ReactNode })`,elements:[{name:"signature",type:"object",raw:`{
58
+ size?: number | string
59
+ color?: IColor
60
+ animation?: IIconAnimation
61
+ }`,signature:{properties:[{key:"size",value:{name:"union",raw:"number | string",elements:[{name:"number"},{name:"string"}],required:!1}},{key:"color",value:{name:"IColor",required:!1}},{key:"animation",value:{name:"union",raw:"'spin' | 'ping' | 'pulse' | 'bounce'",elements:[{name:"literal",value:"'spin'"},{name:"literal",value:"'ping'"},{name:"literal",value:"'pulse'"},{name:"literal",value:"'bounce'"}],required:!1}}]}},{name:"unknown"}]}],raw:`IOverride<
62
+ Omit<ISVGComponentProps, 'name' | 'type' | 'children'>,
63
+ IBaseIconProps
64
+ >`},{name:"ReactNode"}]},description:""},onRightIconClick:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},right:{required:!1,tsType:{name:"ReactNode"},description:""},divider:{required:!1,tsType:{name:"boolean"},description:""},locationKey:{required:!1,tsType:{name:"string"},description:""}}};const K=()=>{const s=`
65
+ ## ${e("common.table.title")}
66
+
67
+ | ${e("common.table.name")} | ${e("common.table.type")} | ${e("common.table.required")} | ${e("common.table.description")} |
68
+ | :--- | :--- | :--- | :--- |
69
+ | \`title\` | \`string | ReactNode\` | ${e("common.table.no")} | ${e("components.navigationBar.titleDescription")} |
70
+ | \`backIcon\` | \`boolean | IIconProps | ReactNode\` | ${e("common.table.no")} | ${e("components.navigationBar.backIconDescription")} |
71
+ | \`onBackClick\` | \`() => void\` | ${e("common.table.no")} | ${e("components.navigationBar.onBackClickDescription")} |
72
+ | \`theme\` | \`'default' | 'inverse'\` | ${e("common.table.no")} | ${e("components.navigationBar.themeDescription")} |
73
+ | \`transparent\` | \`boolean | 'auto'\` | ${e("common.table.no")} | ${e("components.navigationBar.transparentDescription")} |
74
+ | \`leftIcon\` | \`IIconProps | ReactNode\` | ${e("common.table.no")} | ${e("components.navigationBar.leftIconDescription")} |
75
+ | \`onLeftIconClick\` | \`() => void\` | ${e("common.table.no")} | ${e("components.navigationBar.onLeftIconClickDescription")} |
76
+ | \`rightIcon\` | \`IIconProps | ReactNode\` | ${e("common.table.no")} | ${e("components.navigationBar.rightIconDescription")} |
77
+ | \`onRightIconClick\` | \`() => void\` | ${e("common.table.no")} | ${e("components.navigationBar.onRightIconClickDescription")} |
78
+ | \`className\` | \`string\` | ${e("common.table.no")} | ${e("components.navigationBar.classNameDescription")} |
79
+ | \`...props\` | \`ComponentPropsWithoutRef<'div'>\` | ${e("common.table.no")} | ${e("components.navigationBar.propsDescription")} |
80
+ `;return n.jsxs(n.Fragment,{children:[n.jsx(W,{}),n.jsx(G,{}),n.jsx(x,{children:e("components.navigationBar.description")}),n.jsx(H,{}),n.jsx(x,{children:s}),n.jsx(F,{})]})},pe={title:"Components/NavigationBar",component:h,parameters:{layout:"fullscreen",docs:{page:K}},tags:["autodocs"],argTypes:{title:{control:"text",description:e("components.navigationBar.argTypes.titleDescription"),table:{type:{summary:"string | ReactNode"}}},backIcon:{control:"boolean",description:e("components.navigationBar.argTypes.backIconDescription"),table:{type:{summary:"boolean | IIconProps | ReactNode"}}},onBackClick:{action:"back-clicked",description:e("components.navigationBar.argTypes.onBackClickDescription"),table:{type:{summary:"() => void"}}},theme:{control:"select",options:["default","inverse"],description:e("components.navigationBar.argTypes.themeDescription"),table:{type:{summary:'"default" | "inverse"'},defaultValue:{summary:"default"}}},transparent:{control:"select",options:["auto","always","none"],description:e("components.navigationBar.argTypes.transparentDescription"),table:{type:{summary:'"auto" | "always" | "none"'},defaultValue:{summary:"none"}}},divider:{control:"boolean",description:e("components.navigationBar.argTypes.dividerDescription"),table:{type:{summary:"boolean"}}},leftIcon:{control:"object",description:e("components.navigationBar.argTypes.leftIconDescription"),table:{type:{summary:"IIconProps | ReactNode"}}},onLeftIconClick:{action:"left-icon-clicked",description:e("components.navigationBar.argTypes.onLeftIconClickDescription"),table:{type:{summary:"() => void"}}},rightIcon:{control:"object",description:e("components.navigationBar.argTypes.rightIconDescription"),table:{type:{summary:"IIconProps | ReactNode"}}},onRightIconClick:{action:"right-icon-clicked",description:e("components.navigationBar.argTypes.onRightIconClickDescription"),table:{type:{summary:"() => void"}}},className:{control:"text",description:e("components.navigationBar.argTypes.classNameDescription"),table:{type:{summary:"string"}}}}},m={storyName:e("components.navigationBar.stories.default.storyName"),args:{title:e("components.navigationBar.stories.default.title")}},p={storyName:e("components.navigationBar.stories.withBackIcon.storyName"),args:{title:e("components.navigationBar.stories.withBackIcon.title"),backIcon:!0,onBackClick:()=>console.log("Back clicked")}},u={storyName:e("components.navigationBar.stories.withLeftAndRightIcons.storyName"),args:{title:e("components.navigationBar.stories.withLeftAndRightIcons.title"),leftIcon:{name:"placeholder"},onLeftIconClick:()=>console.log("Menu clicked"),rightIcon:{name:"placeholder"},onRightIconClick:()=>console.log("More clicked")}},d={storyName:e("components.navigationBar.stories.withBadge.storyName"),args:{title:e("components.navigationBar.stories.withBadge.title"),rightIcon:n.jsxs(X,{children:[n.jsx(D,{name:"placeholder"}),n.jsx(Y,{children:e("components.navigationBar.stories.withBadge.badgeCount")})]}),onRightIconClick:()=>console.log("Notifications clicked")}},g={storyName:e("components.navigationBar.stories.transparentAlways.storyName"),args:{title:e("components.navigationBar.stories.transparentAlways.title"),transparent:"always"}},v={storyName:e("components.navigationBar.stories.customContent.storyName"),render:()=>n.jsx(h,{left:n.jsx(P,{children:e("components.navigationBar.stories.customContent.leftButton")}),title:e("components.navigationBar.stories.customContent.title"),right:n.jsx(P,{children:e("components.navigationBar.stories.customContent.rightButton")})})},y={storyName:e("components.navigationBar.stories.interactive.storyName"),args:{title:e("components.navigationBar.stories.interactive.title"),backIcon:!0}};m.parameters={...m.parameters,docs:{...m.parameters?.docs,source:{originalSource:`{
81
+ storyName: t('components.navigationBar.stories.default.storyName'),
82
+ args: {
83
+ title: t('components.navigationBar.stories.default.title')
84
+ }
85
+ }`,...m.parameters?.docs?.source}}};p.parameters={...p.parameters,docs:{...p.parameters?.docs,source:{originalSource:`{
86
+ storyName: t('components.navigationBar.stories.withBackIcon.storyName'),
87
+ args: {
88
+ title: t('components.navigationBar.stories.withBackIcon.title'),
89
+ backIcon: true,
90
+ onBackClick: () => console.log('Back clicked')
91
+ }
92
+ }`,...p.parameters?.docs?.source}}};u.parameters={...u.parameters,docs:{...u.parameters?.docs,source:{originalSource:`{
93
+ storyName: t('components.navigationBar.stories.withLeftAndRightIcons.storyName'),
94
+ args: {
95
+ title: t('components.navigationBar.stories.withLeftAndRightIcons.title'),
96
+ leftIcon: {
97
+ name: 'placeholder'
98
+ },
99
+ onLeftIconClick: () => console.log('Menu clicked'),
100
+ rightIcon: {
101
+ name: 'placeholder'
102
+ },
103
+ onRightIconClick: () => console.log('More clicked')
104
+ }
105
+ }`,...u.parameters?.docs?.source}}};d.parameters={...d.parameters,docs:{...d.parameters?.docs,source:{originalSource:`{
106
+ storyName: t('components.navigationBar.stories.withBadge.storyName'),
107
+ args: {
108
+ title: t('components.navigationBar.stories.withBadge.title'),
109
+ rightIcon: <BadgeContainer>
110
+ <Icon name="placeholder" />
111
+ <Badge>
112
+ {t('components.navigationBar.stories.withBadge.badgeCount')}
113
+ </Badge>
114
+ </BadgeContainer>,
115
+ onRightIconClick: () => console.log('Notifications clicked')
116
+ }
117
+ }`,...d.parameters?.docs?.source}}};g.parameters={...g.parameters,docs:{...g.parameters?.docs,source:{originalSource:`{
118
+ storyName: t('components.navigationBar.stories.transparentAlways.storyName'),
119
+ args: {
120
+ title: t('components.navigationBar.stories.transparentAlways.title'),
121
+ transparent: 'always'
122
+ }
123
+ }`,...g.parameters?.docs?.source}}};v.parameters={...v.parameters,docs:{...v.parameters?.docs,source:{originalSource:`{
124
+ storyName: t('components.navigationBar.stories.customContent.storyName'),
125
+ render: () => <NavigationBar left={<Button>
126
+ {t('components.navigationBar.stories.customContent.leftButton')}
127
+ </Button>} title={t('components.navigationBar.stories.customContent.title')} right={<Button>
128
+ {t('components.navigationBar.stories.customContent.rightButton')}
129
+ </Button>} />
130
+ }`,...v.parameters?.docs?.source}}};y.parameters={...y.parameters,docs:{...y.parameters?.docs,source:{originalSource:`{
131
+ storyName: t('components.navigationBar.stories.interactive.storyName'),
132
+ args: {
133
+ title: t('components.navigationBar.stories.interactive.title'),
134
+ backIcon: true
135
+ }
136
+ }`,...y.parameters?.docs?.source}}};const ue=["Default","WithBackIcon","WithLeftAndRightIcons","WithBadge","TransparentAlways","CustomContent","Interactive"];export{v as CustomContent,m as Default,y as Interactive,g as TransparentAlways,p as WithBackIcon,d as WithBadge,u as WithLeftAndRightIcons,ue as __namedExportsOrder,pe as default};