@vunk/plus 1.13.0 → 1.14.0

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 (534) hide show
  1. package/ant/_util/BaseInput.d.ts +56 -0
  2. package/ant/_util/BaseInputInner.d.ts +65 -0
  3. package/ant/_util/BaseMixin.d.ts +7 -0
  4. package/ant/_util/EventInterface.d.ts +18 -0
  5. package/ant/_util/KeyCode.d.ts +436 -0
  6. package/ant/_util/Portal.d.ts +14 -0
  7. package/ant/_util/PortalWrapper.d.ts +41 -0
  8. package/ant/_util/canUseDom.d.ts +2 -0
  9. package/ant/_util/classNames.d.ts +2 -0
  10. package/ant/_util/collapseMotion.d.ts +3 -0
  11. package/ant/_util/colors.d.ts +13 -0
  12. package/ant/_util/copy-to-clipboard/index.d.ts +8 -0
  13. package/ant/_util/copy-to-clipboard/toggle-selection.d.ts +2 -0
  14. package/ant/_util/createContext.d.ts +5 -0
  15. package/ant/_util/createRef.d.ts +10 -0
  16. package/ant/_util/cssinjs/Cache.d.ts +11 -0
  17. package/ant/_util/cssinjs/Keyframes.d.ts +9 -0
  18. package/ant/_util/cssinjs/StyleContext.d.ts +508 -0
  19. package/ant/_util/cssinjs/hooks/useCacheToken.d.ts +40 -0
  20. package/ant/_util/cssinjs/hooks/useGlobalCache.d.ts +3 -0
  21. package/ant/_util/cssinjs/hooks/useHMR.d.ts +3 -0
  22. package/ant/_util/cssinjs/hooks/useStyleRegister/cacheMapUtil.d.ts +14 -0
  23. package/ant/_util/cssinjs/hooks/useStyleRegister/index.d.ts +68 -0
  24. package/ant/_util/cssinjs/index.d.ts +195 -0
  25. package/ant/_util/cssinjs/linters/contentQuotesLinter.d.ts +3 -0
  26. package/ant/_util/cssinjs/linters/hashedAnimationLinter.d.ts +3 -0
  27. package/ant/_util/cssinjs/linters/index.d.ts +6 -0
  28. package/ant/_util/cssinjs/linters/interface.d.ts +8 -0
  29. package/ant/_util/cssinjs/linters/legacyNotSelectorLinter.d.ts +3 -0
  30. package/ant/_util/cssinjs/linters/logicalPropertiesLinter.d.ts +3 -0
  31. package/ant/_util/cssinjs/linters/parentSelectorLinter.d.ts +3 -0
  32. package/ant/_util/cssinjs/linters/utils.d.ts +2 -0
  33. package/ant/_util/cssinjs/theme/Theme.d.ts +11 -0
  34. package/ant/_util/cssinjs/theme/ThemeCache.d.ts +20 -0
  35. package/ant/_util/cssinjs/theme/createTheme.d.ts +6 -0
  36. package/ant/_util/cssinjs/theme/index.d.ts +4 -0
  37. package/ant/_util/cssinjs/theme/interface.d.ts +2 -0
  38. package/ant/_util/cssinjs/transformers/interface.d.ts +4 -0
  39. package/ant/_util/cssinjs/transformers/legacyLogicalProperties.d.ts +12 -0
  40. package/ant/_util/cssinjs/transformers/px2rem.d.ts +20 -0
  41. package/ant/_util/cssinjs/util.d.ts +8 -0
  42. package/ant/_util/firstNotUndefined.d.ts +2 -0
  43. package/ant/_util/gapSize.d.ts +3 -0
  44. package/ant/_util/getScrollBarSize.d.ts +5 -0
  45. package/ant/_util/hooks/_vueuse/resolveUnref.d.ts +5 -0
  46. package/ant/_util/hooks/_vueuse/types.d.ts +114 -0
  47. package/ant/_util/hooks/_vueuse/unrefElement.d.ts +13 -0
  48. package/ant/_util/hooks/useBreakpoint.d.ts +4 -0
  49. package/ant/_util/hooks/useFlexGapSupport.d.ts +2 -0
  50. package/ant/_util/hooks/useMergedState.d.ts +7 -0
  51. package/ant/_util/hooks/useRefs.d.ts +7 -0
  52. package/ant/_util/hooks/useScrollLocker.d.ts +6 -0
  53. package/ant/_util/hooks/useState.d.ts +2 -0
  54. package/ant/_util/isValid.d.ts +2 -0
  55. package/ant/_util/omit.d.ts +2 -0
  56. package/ant/_util/pickAttrs.d.ts +11 -0
  57. package/ant/_util/placements.d.ts +65 -0
  58. package/ant/_util/props-util/index.d.ts +33 -0
  59. package/ant/_util/props-util/initDefaultProps.d.ts +6 -0
  60. package/ant/_util/raf.d.ts +5 -0
  61. package/ant/_util/responsiveObserve.d.ts +21 -0
  62. package/ant/_util/setStyle.d.ts +12 -0
  63. package/ant/_util/statusUtils.d.ts +6 -0
  64. package/ant/_util/styleChecker.d.ts +4 -0
  65. package/ant/_util/transButton.d.ts +34 -0
  66. package/ant/_util/transition.d.ts +18 -0
  67. package/ant/_util/type.d.ts +62 -0
  68. package/ant/_util/util.d.ts +18 -0
  69. package/ant/_util/vnode.d.ts +11 -0
  70. package/ant/_util/vue-types/index.d.ts +12 -0
  71. package/ant/_util/warning.d.ts +6 -0
  72. package/ant/_util/wave/WaveEffect.d.ts +6 -0
  73. package/ant/_util/wave/index.d.ts +13 -0
  74. package/ant/_util/wave/style.d.ts +6 -0
  75. package/ant/_util/wave/useWave.d.ts +4 -0
  76. package/ant/_util/wave/util.d.ts +3 -0
  77. package/ant/button/LoadingIcon.d.ts +12 -0
  78. package/ant/button/button-group.d.ts +33 -0
  79. package/ant/button/button.d.ts +112 -0
  80. package/ant/button/buttonTypes.d.ts +58 -0
  81. package/ant/button/index.d.ts +12 -0
  82. package/ant/button/style/group.d.ts +4 -0
  83. package/ant/button/style/index.d.ts +10 -0
  84. package/ant/calendar/style/index.d.ts +21 -0
  85. package/ant/config-provider/DisabledContext.d.ts +4 -0
  86. package/ant/config-provider/SizeContext.d.ts +4 -0
  87. package/ant/config-provider/context.d.ts +208 -0
  88. package/ant/config-provider/cssVariables.d.ts +3 -0
  89. package/ant/config-provider/hooks/useConfigInject.d.ts +37 -0
  90. package/ant/config-provider/hooks/useTheme.d.ts +3 -0
  91. package/ant/config-provider/index.d.ts +290 -0
  92. package/ant/config-provider/renderEmpty.d.ts +8 -0
  93. package/ant/config-provider/style/index.d.ts +3 -0
  94. package/ant/date-picker/style/index.d.ts +35 -0
  95. package/ant/empty/empty.d.ts +2 -0
  96. package/ant/empty/index.d.ts +86 -0
  97. package/ant/empty/simple.d.ts +2 -0
  98. package/ant/empty/style/index.d.ts +5 -0
  99. package/ant/flex/index.d.ts +142 -0
  100. package/ant/flex/interface.d.ts +36 -0
  101. package/ant/flex/style/index.d.ts +29 -0
  102. package/ant/flex/utils.d.ts +6 -0
  103. package/ant/form/ErrorList.d.ts +21 -0
  104. package/ant/form/Form.d.ts +772 -0
  105. package/ant/form/FormItem.d.ts +191 -0
  106. package/ant/form/FormItemContext.d.ts +32 -0
  107. package/ant/form/FormItemInput.d.ts +44 -0
  108. package/ant/form/FormItemLabel.d.ts +19 -0
  109. package/ant/form/context.d.ts +35 -0
  110. package/ant/form/index.d.ts +16 -0
  111. package/ant/form/interface.d.ts +171 -0
  112. package/ant/form/style/explain.d.ts +4 -0
  113. package/ant/form/style/index.d.ts +7 -0
  114. package/ant/form/useForm.d.ts +45 -0
  115. package/ant/form/utils/asyncUtil.d.ts +2 -0
  116. package/ant/form/utils/messages.d.ts +47 -0
  117. package/ant/form/utils/typeUtil.d.ts +1 -0
  118. package/ant/form/utils/useDebounce.d.ts +2 -0
  119. package/ant/form/utils/validateUtil.d.ts +6 -0
  120. package/ant/form/utils/valueUtil.d.ts +15 -0
  121. package/ant/grid/Col.d.ts +116 -0
  122. package/ant/grid/Row.d.ts +77 -0
  123. package/ant/grid/context.d.ts +11 -0
  124. package/ant/grid/index.d.ts +10 -0
  125. package/ant/grid/style/index.d.ts +2 -0
  126. package/ant/image/PreviewGroup.d.ts +37 -0
  127. package/ant/image/index.d.ts +71 -0
  128. package/ant/image/style/index.d.ts +21 -0
  129. package/ant/index.cjs +203 -0
  130. package/ant/index.d.ts +27 -0
  131. package/ant/index.mjs +20993 -0
  132. package/ant/input/ClearableLabeledInput.d.ts +151 -0
  133. package/ant/input/Group.d.ts +24 -0
  134. package/ant/input/Input.d.ts +191 -0
  135. package/ant/input/Password.d.ts +217 -0
  136. package/ant/input/ResizableTextArea.d.ts +215 -0
  137. package/ant/input/Search.d.ts +195 -0
  138. package/ant/input/TextArea.d.ts +217 -0
  139. package/ant/input/calculateNodeHeight.d.ts +9 -0
  140. package/ant/input/index.d.ts +15 -0
  141. package/ant/input/inputProps.d.ts +207 -0
  142. package/ant/input/style/index.d.ts +30 -0
  143. package/ant/input/util.d.ts +2 -0
  144. package/ant/locale/LocaleReceiver.d.ts +35 -0
  145. package/ant/locale/en_US.d.ts +3 -0
  146. package/ant/locale/index.d.ts +91 -0
  147. package/ant/locale-provider/LocaleReceiver.d.ts +3 -0
  148. package/ant/locale-provider/index.d.ts +3 -0
  149. package/ant/modal/locale.d.ts +7 -0
  150. package/ant/modal/style/index.d.ts +32 -0
  151. package/ant/progress/Circle.d.ts +168 -0
  152. package/ant/progress/Line.d.ts +205 -0
  153. package/ant/progress/Steps.d.ts +168 -0
  154. package/ant/progress/index.d.ts +204 -0
  155. package/ant/progress/progress.d.ts +117 -0
  156. package/ant/progress/props.d.ts +79 -0
  157. package/ant/progress/style/index.d.ts +4 -0
  158. package/ant/progress/utils.d.ts +13 -0
  159. package/ant/space/Compact.d.ts +119 -0
  160. package/ant/space/style/compact.d.ts +8 -0
  161. package/ant/space/style/index.d.ts +5 -0
  162. package/ant/style/compact-item-vertical.d.ts +4 -0
  163. package/ant/style/compact-item.d.ts +18 -0
  164. package/ant/style/index.d.ts +13 -0
  165. package/ant/style/motion/collapse.d.ts +4 -0
  166. package/ant/style/motion/fade.d.ts +7 -0
  167. package/ant/style/motion/index.d.ts +6 -0
  168. package/ant/style/motion/motion.d.ts +2 -0
  169. package/ant/style/motion/move.d.ts +15 -0
  170. package/ant/style/motion/slide.d.ts +15 -0
  171. package/ant/style/motion/zoom.d.ts +19 -0
  172. package/ant/style/operationUnit.d.ts +3 -0
  173. package/ant/style/placementArrow.d.ts +19 -0
  174. package/ant/style/presetColor.d.ts +16 -0
  175. package/ant/style/roundedArrow.d.ts +2 -0
  176. package/ant/theme/index.d.ts +23 -0
  177. package/ant/theme/interface/alias.d.ts +115 -0
  178. package/ant/theme/interface/components.d.ts +32 -0
  179. package/ant/theme/interface/index.d.ts +13 -0
  180. package/ant/theme/interface/maps/colors.d.ts +350 -0
  181. package/ant/theme/interface/maps/font.d.ts +44 -0
  182. package/ant/theme/interface/maps/index.d.ts +17 -0
  183. package/ant/theme/interface/maps/size.d.ts +63 -0
  184. package/ant/theme/interface/maps/style.d.ts +37 -0
  185. package/ant/theme/interface/presetColors.d.ts +8 -0
  186. package/ant/theme/interface/seeds.d.ts +163 -0
  187. package/ant/theme/internal.d.ts +49 -0
  188. package/ant/theme/themes/ColorMap.d.ts +15 -0
  189. package/ant/theme/themes/compact/genCompactSizeMapToken.d.ts +2 -0
  190. package/ant/theme/themes/compact/index.d.ts +4 -0
  191. package/ant/theme/themes/dark/colorAlgorithm.d.ts +2 -0
  192. package/ant/theme/themes/dark/colors.d.ts +3 -0
  193. package/ant/theme/themes/dark/index.d.ts +4 -0
  194. package/ant/theme/themes/default/colorAlgorithm.d.ts +2 -0
  195. package/ant/theme/themes/default/colors.d.ts +3 -0
  196. package/ant/theme/themes/default/index.d.ts +2 -0
  197. package/ant/theme/themes/seed.d.ts +4 -0
  198. package/ant/theme/themes/shared/genColorMapToken.d.ts +8 -0
  199. package/ant/theme/themes/shared/genCommonMapToken.d.ts +2 -0
  200. package/ant/theme/themes/shared/genControlHeight.d.ts +3 -0
  201. package/ant/theme/themes/shared/genFontMapToken.d.ts +3 -0
  202. package/ant/theme/themes/shared/genFontSizes.d.ts +4 -0
  203. package/ant/theme/themes/shared/genRadius.d.ts +3 -0
  204. package/ant/theme/themes/shared/genSizeMapToken.d.ts +2 -0
  205. package/ant/theme/util/alias.d.ts +12 -0
  206. package/ant/theme/util/genComponentStyleHook.d.ts +26 -0
  207. package/ant/theme/util/getAlphaColor.d.ts +2 -0
  208. package/ant/theme/util/statistic.d.ts +18 -0
  209. package/ant/tooltip/Tooltip.d.ts +228 -0
  210. package/ant/tooltip/abstractTooltipProps.d.ts +73 -0
  211. package/ant/tooltip/index.d.ts +245 -0
  212. package/ant/tooltip/style/index.d.ts +8 -0
  213. package/ant/tooltip/util.d.ts +6 -0
  214. package/ant/typography/Base.d.ts +200 -0
  215. package/ant/typography/Editable.d.ts +49 -0
  216. package/ant/typography/Link.d.ts +51 -0
  217. package/ant/typography/Paragraph.d.ts +51 -0
  218. package/ant/typography/Text.d.ts +51 -0
  219. package/ant/typography/Title.d.ts +48 -0
  220. package/ant/typography/Typography.d.ts +24 -0
  221. package/ant/typography/index.d.ts +17 -0
  222. package/ant/typography/style/index.d.ts +9 -0
  223. package/ant/typography/style/mixins.d.ts +9 -0
  224. package/ant/typography/util.d.ts +11 -0
  225. package/ant/upload/Dragger.d.ts +393 -0
  226. package/ant/upload/Upload.d.ts +396 -0
  227. package/ant/upload/UploadList/ListItem.d.ts +339 -0
  228. package/ant/upload/UploadList/index.d.ts +232 -0
  229. package/ant/upload/index.d.ts +1460 -0
  230. package/ant/upload/interface.d.ts +355 -0
  231. package/ant/upload/style/dragger.d.ts +4 -0
  232. package/ant/upload/style/index.d.ts +10 -0
  233. package/ant/upload/style/list.d.ts +4 -0
  234. package/ant/upload/style/motion.d.ts +4 -0
  235. package/ant/upload/style/picture.d.ts +5 -0
  236. package/ant/upload/style/rtl.d.ts +4 -0
  237. package/ant/upload/utils.d.ts +8 -0
  238. package/ant/vc-align/Align.d.ts +45 -0
  239. package/ant/vc-align/hooks/useBuffer.d.ts +3 -0
  240. package/ant/vc-align/interface.d.ts +56 -0
  241. package/ant/vc-align/util.d.ts +4 -0
  242. package/ant/vc-dialog/Content.d.ts +181 -0
  243. package/ant/vc-dialog/Dialog.d.ts +169 -0
  244. package/ant/vc-dialog/DialogWrap.d.ts +165 -0
  245. package/ant/vc-dialog/IDialogPropTypes.d.ts +79 -0
  246. package/ant/vc-dialog/Mask.d.ts +14 -0
  247. package/ant/vc-dialog/index.d.ts +4 -0
  248. package/ant/vc-dialog/util.d.ts +6 -0
  249. package/ant/vc-image/index.d.ts +3 -0
  250. package/ant/vc-image/src/Image.d.ts +114 -0
  251. package/ant/vc-image/src/Preview.d.ts +292 -0
  252. package/ant/vc-image/src/PreviewGroup.d.ts +79 -0
  253. package/ant/vc-image/src/getFixScaleEleTransPosition.d.ts +16 -0
  254. package/ant/vc-image/src/hooks/useFrameSetState.d.ts +3 -0
  255. package/ant/vc-input/BaseInput.d.ts +97 -0
  256. package/ant/vc-input/Input.d.ts +192 -0
  257. package/ant/vc-input/inputProps.d.ts +169 -0
  258. package/ant/vc-input/utils/commonUtils.d.ts +8 -0
  259. package/ant/vc-progress/index.d.ts +5 -0
  260. package/ant/vc-progress/src/Circle.d.ts +41 -0
  261. package/ant/vc-progress/src/Line.d.ts +40 -0
  262. package/ant/vc-progress/src/common.d.ts +5 -0
  263. package/ant/vc-progress/src/index.d.ts +86 -0
  264. package/ant/vc-progress/src/types.d.ts +25 -0
  265. package/ant/vc-resize-observer/index.d.ts +25 -0
  266. package/ant/vc-tooltip/index.d.ts +2 -0
  267. package/ant/vc-tooltip/src/Content.d.ts +17 -0
  268. package/ant/vc-tooltip/src/Tooltip.d.ts +141 -0
  269. package/ant/vc-tooltip/src/placements.d.ts +111 -0
  270. package/ant/vc-trigger/Popup/Mask.d.ts +14 -0
  271. package/ant/vc-trigger/Popup/MobilePopupInner.d.ts +103 -0
  272. package/ant/vc-trigger/Popup/PopupInner.d.ts +98 -0
  273. package/ant/vc-trigger/Popup/index.d.ts +104 -0
  274. package/ant/vc-trigger/Popup/interface.d.ts +151 -0
  275. package/ant/vc-trigger/Popup/useStretchStyle.d.ts +4 -0
  276. package/ant/vc-trigger/Popup/useVisibleStatus.d.ts +15 -0
  277. package/ant/vc-trigger/Trigger.d.ts +282 -0
  278. package/ant/vc-trigger/context.d.ts +11 -0
  279. package/ant/vc-trigger/index.d.ts +6 -0
  280. package/ant/vc-trigger/interface.d.ts +175 -0
  281. package/ant/vc-trigger/utils/alignUtil.d.ts +3 -0
  282. package/ant/vc-trigger/utils/motionUtil.d.ts +12 -0
  283. package/ant/vc-upload/AjaxUploader.d.ts +108 -0
  284. package/ant/vc-upload/Upload.d.ts +108 -0
  285. package/ant/vc-upload/attr-accept.d.ts +3 -0
  286. package/ant/vc-upload/index.d.ts +4 -0
  287. package/ant/vc-upload/interface.d.ts +79 -0
  288. package/ant/vc-upload/request.d.ts +4 -0
  289. package/ant/vc-upload/traverseFileTree.d.ts +14 -0
  290. package/ant/vc-upload/uid.d.ts +1 -0
  291. package/ant/vc-util/Dom/contains.d.ts +1 -0
  292. package/ant/vc-util/Dom/css.d.ts +22 -0
  293. package/ant/vc-util/Dom/dynamicCSS.d.ts +20 -0
  294. package/ant/vc-util/Dom/isVisible.d.ts +2 -0
  295. package/ant/vc-util/Dom/scrollLocker.d.ts +12 -0
  296. package/ant/vc-util/devWarning.d.ts +4 -0
  297. package/ant/vc-util/get.d.ts +1 -0
  298. package/ant/vc-util/set.d.ts +1 -0
  299. package/ant/vc-util/warning.d.ts +7 -0
  300. package/ant/version/index.d.ts +2 -0
  301. package/antx/_util/__tests__/warning.test.d.ts +1 -0
  302. package/antx/_util/cssinjs/Cache.d.ts +11 -0
  303. package/antx/_util/cssinjs/Keyframes.d.ts +9 -0
  304. package/antx/_util/cssinjs/StyleContext.d.ts +508 -0
  305. package/antx/_util/cssinjs/hooks/useCSSVarRegister.d.ts +20 -0
  306. package/antx/_util/cssinjs/hooks/useCacheToken.d.ts +40 -0
  307. package/antx/_util/cssinjs/hooks/useGlobalCache.d.ts +6 -0
  308. package/antx/_util/cssinjs/hooks/useHMR.d.ts +3 -0
  309. package/antx/_util/cssinjs/hooks/useStyleRegister/cacheMapUtil.d.ts +14 -0
  310. package/antx/_util/cssinjs/hooks/useStyleRegister/index.d.ts +69 -0
  311. package/antx/_util/cssinjs/index.d.ts +197 -0
  312. package/antx/_util/cssinjs/linters/contentQuotesLinter.d.ts +3 -0
  313. package/antx/_util/cssinjs/linters/hashedAnimationLinter.d.ts +3 -0
  314. package/antx/_util/cssinjs/linters/index.d.ts +6 -0
  315. package/antx/_util/cssinjs/linters/interface.d.ts +8 -0
  316. package/antx/_util/cssinjs/linters/legacyNotSelectorLinter.d.ts +3 -0
  317. package/antx/_util/cssinjs/linters/logicalPropertiesLinter.d.ts +3 -0
  318. package/antx/_util/cssinjs/linters/parentSelectorLinter.d.ts +3 -0
  319. package/antx/_util/cssinjs/linters/utils.d.ts +2 -0
  320. package/antx/_util/cssinjs/theme/Theme.d.ts +11 -0
  321. package/antx/_util/cssinjs/theme/ThemeCache.d.ts +20 -0
  322. package/antx/_util/cssinjs/theme/createTheme.d.ts +6 -0
  323. package/antx/_util/cssinjs/theme/index.d.ts +4 -0
  324. package/antx/_util/cssinjs/theme/interface.d.ts +2 -0
  325. package/antx/_util/cssinjs/transformers/interface.d.ts +4 -0
  326. package/antx/_util/cssinjs/transformers/legacyLogicalProperties.d.ts +12 -0
  327. package/antx/_util/cssinjs/transformers/px2rem.d.ts +20 -0
  328. package/antx/_util/cssinjs/util.d.ts +28 -0
  329. package/antx/_util/cssinjs-utils/_util/hooks/useUniqueMemo.d.ts +5 -0
  330. package/antx/_util/cssinjs-utils/hooks/useCSP.d.ts +8 -0
  331. package/antx/_util/cssinjs-utils/hooks/usePrefix.d.ts +11 -0
  332. package/antx/_util/cssinjs-utils/hooks/useToken.d.ts +21 -0
  333. package/antx/_util/cssinjs-utils/index.d.ts +6 -0
  334. package/antx/_util/cssinjs-utils/interface/components.d.ts +10 -0
  335. package/antx/_util/cssinjs-utils/interface/index.d.ts +3 -0
  336. package/antx/_util/cssinjs-utils/util/calc/CSSCalculator.d.ts +15 -0
  337. package/antx/_util/cssinjs-utils/util/calc/NumCalculator.d.ts +11 -0
  338. package/antx/_util/cssinjs-utils/util/calc/calculator.d.ts +30 -0
  339. package/antx/_util/cssinjs-utils/util/calc/index.d.ts +5 -0
  340. package/antx/_util/cssinjs-utils/util/genStyleUtils.d.ts +116 -0
  341. package/antx/_util/cssinjs-utils/util/getCompVarPrefix.d.ts +2 -0
  342. package/antx/_util/cssinjs-utils/util/getComponentToken.d.ts +9 -0
  343. package/antx/_util/cssinjs-utils/util/getDefaultComponentToken.d.ts +5 -0
  344. package/antx/_util/cssinjs-utils/util/maxmin.d.ts +8 -0
  345. package/antx/_util/cssinjs-utils/util/statistic.d.ts +20 -0
  346. package/antx/_util/getScrollBarSize.d.ts +5 -0
  347. package/antx/_util/getValue.d.ts +2 -0
  348. package/antx/_util/hooks/use-event-callback.d.ts +1 -0
  349. package/antx/_util/hooks/use-state.d.ts +2 -0
  350. package/antx/_util/hooks/use-x-component-config.d.ts +4 -0
  351. package/antx/_util/hooks/useMergedState.d.ts +7 -0
  352. package/antx/_util/motion.d.ts +3 -0
  353. package/antx/_util/pick-attrs.d.ts +11 -0
  354. package/antx/_util/setStyle.d.ts +12 -0
  355. package/antx/_util/transition.d.ts +29 -0
  356. package/antx/_util/type.d.ts +62 -0
  357. package/antx/_util/warning.d.ts +47 -0
  358. package/antx/attachments/Attachments.vue.d.ts +16 -0
  359. package/antx/attachments/DropArea.vue.d.ts +4 -0
  360. package/antx/attachments/FileList/AudioIcon.vue.d.ts +3 -0
  361. package/antx/attachments/FileList/FileList.vue.d.ts +4 -0
  362. package/antx/attachments/FileList/FileListCard.vue.d.ts +6 -0
  363. package/antx/attachments/FileList/Progress.vue.d.ts +103 -0
  364. package/antx/attachments/FileList/VideoIcon.vue.d.ts +3 -0
  365. package/antx/attachments/FileList/index.d.ts +3 -0
  366. package/antx/attachments/PlaceholderUploader.vue.d.ts +6 -0
  367. package/antx/attachments/SilentUploader.vue.d.ts +6 -0
  368. package/antx/attachments/constants.d.ts +9 -0
  369. package/antx/attachments/context.d.ts +21 -0
  370. package/antx/attachments/index.d.ts +26 -0
  371. package/antx/attachments/interface.d.ts +130 -0
  372. package/antx/attachments/style/fileCard.d.ts +4 -0
  373. package/antx/attachments/style/index.d.ts +9 -0
  374. package/antx/attachments/util.d.ts +3 -0
  375. package/antx/components.d.ts +4 -0
  376. package/antx/hooks.d.ts +8 -0
  377. package/antx/index.cjs +78 -0
  378. package/antx/index.d.ts +10 -0
  379. package/antx/index.mjs +6015 -0
  380. package/antx/sender/Sender.vue.d.ts +48 -0
  381. package/antx/sender/SenderHeader.vue.d.ts +13 -0
  382. package/antx/sender/StopLoading.vue.d.ts +6 -0
  383. package/antx/sender/components/ActionButton/context.d.ts +21 -0
  384. package/antx/sender/components/ActionButton/index.vue.d.ts +13 -0
  385. package/antx/sender/components/ClearButton.vue.d.ts +4 -0
  386. package/antx/sender/components/LoadingButton.vue.d.ts +4 -0
  387. package/antx/sender/components/SendButton.vue.d.ts +4 -0
  388. package/antx/sender/components/SpeechButton/RecordingIcon.vue.d.ts +4 -0
  389. package/antx/sender/components/SpeechButton/index.vue.d.ts +4 -0
  390. package/antx/sender/context.d.ts +21 -0
  391. package/antx/sender/index.d.ts +82 -0
  392. package/antx/sender/interface.d.ts +145 -0
  393. package/antx/sender/style/header.d.ts +4 -0
  394. package/antx/sender/style/index.d.ts +9 -0
  395. package/antx/sender/useSpeech.d.ts +16 -0
  396. package/antx/theme/components.d.ts +8 -0
  397. package/antx/theme/cssinjs-utils.d.ts +14 -0
  398. package/antx/theme/genStyleUtils.d.ts +27 -0
  399. package/antx/theme/index.d.ts +2 -0
  400. package/antx/theme/patch-antd.d.ts +28 -0
  401. package/antx/theme/useToken.d.ts +19 -0
  402. package/antx/transition-collapse/TransitionCollapse.vue.d.ts +17 -0
  403. package/antx/transition-collapse/index.d.ts +6 -0
  404. package/antx/transition-collapse/style/index.d.ts +6 -0
  405. package/antx/type-utility.d.ts +1 -0
  406. package/antx/use-x-agent/index.d.ts +4 -0
  407. package/antx/use-x-agent/use-x-agent.d.ts +34 -0
  408. package/antx/use-x-chat/index.d.ts +4 -0
  409. package/antx/use-x-chat/use-x-chat.d.ts +54 -0
  410. package/antx/use-x-chat/useSyncState.d.ts +4 -0
  411. package/antx/version/index.d.ts +2 -0
  412. package/antx/x-provider/context.d.ts +84 -0
  413. package/antx/x-provider/hooks/use-x-provider-context.d.ts +9 -0
  414. package/antx/x-provider/index.d.ts +5 -0
  415. package/antx/x-provider/index.vue.d.ts +13 -0
  416. package/antx/x-request/index.d.ts +6 -0
  417. package/antx/x-request/x-fetch.d.ts +18 -0
  418. package/antx/x-request/x-request.d.ts +89 -0
  419. package/antx/x-stream/index.d.ts +4 -0
  420. package/antx/x-stream/x-stream.d.ts +32 -0
  421. package/components/agent-chat-provider/index.cjs +1 -1
  422. package/components/agent-chat-provider/index.mjs +1 -3
  423. package/components/agent-chat-provider/src/index.vue.d.ts +3 -3
  424. package/components/agent-chat-provider/src/types.d.ts +1 -1
  425. package/components/agent-chat-provider/src/use.d.ts +2 -2
  426. package/components/avatar/index.mjs +2 -2
  427. package/components/avatar/src/index.vue.d.ts +2 -121
  428. package/components/broadcasting-markdown/index.cjs +3 -3
  429. package/components/broadcasting-markdown/index.mjs +2 -5
  430. package/components/broadcasting-markdown/src/ctx.d.ts +2 -2
  431. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +6 -6
  432. package/components/broadcasting-markdown/src/index.vue.d.ts +33 -33
  433. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +1 -1
  434. package/components/broadcasting-markdown/src/use.d.ts +1 -1
  435. package/components/bubble-list/index.cjs +1 -1
  436. package/components/bubble-list/index.mjs +5 -5
  437. package/components/bubble-list/src/core/index.vue.d.ts +7 -7
  438. package/components/bubble-list/src/ctx.d.ts +2 -2
  439. package/components/bubble-list/src/index.vue.d.ts +5 -4
  440. package/components/bubble-templates/index.mjs +2 -2
  441. package/components/chat-independent/index.mjs +4 -4
  442. package/components/chat-independent/src/index.vue.d.ts +1 -1
  443. package/components/components.css +1 -1
  444. package/components/drawer/index.mjs +1 -1
  445. package/components/drawer/src/ctx.d.ts +37 -31
  446. package/components/drawer/src/index.vue.d.ts +87 -77
  447. package/components/lottie-animation/index.mjs +2 -2
  448. package/components/lottie-animation/src/index.vue.d.ts +1 -1
  449. package/components/metahuman-broadcasting/index.mjs +2 -2
  450. package/components/metahuman-broadcasting/src/ctx.d.ts +2 -2
  451. package/components/metahuman-broadcasting/src/index.vue.d.ts +4 -4
  452. package/components/monaco-editor/index.cjs +1 -1
  453. package/components/monaco-editor/index.mjs +52 -48
  454. package/components/monaco-editor/src/ctx.d.ts +3 -3
  455. package/components/monaco-editor/src/index.vue.d.ts +5 -5
  456. package/components/pixi-frame/index.cjs +1 -1
  457. package/components/pixi-frame/index.mjs +899 -450
  458. package/components/pixi-frame/src/apng.vue.d.ts +10 -10
  459. package/components/pixi-frame/src/bitmap-generator.vue.d.ts +7 -7
  460. package/components/pixi-frame/src/bitmap.vue.d.ts +12 -12
  461. package/components/pixi-frame/src/buffer-image.vue.d.ts +13 -13
  462. package/components/pixi-frame/src/core.vue.d.ts +12 -12
  463. package/components/pixi-frame/src/ctx.d.ts +5 -5
  464. package/components/pixi-frame/src/index.vue.d.ts +81 -81
  465. package/components/pixi-frame/src/video.vue.d.ts +10 -10
  466. package/components/recorder-button/index.cjs +1 -1
  467. package/components/recorder-button/index.mjs +75 -75
  468. package/components/recorder-button/src/ctx.d.ts +3 -3
  469. package/components/recorder-button/src/index.vue.d.ts +114 -197
  470. package/components/routes-menu-content/index.cjs +1 -1
  471. package/components/routes-menu-content/index.mjs +12 -12
  472. package/components/routes-menu-content/src/ctx.d.ts +1 -1
  473. package/components/routes-menu-content/src/index.vue.d.ts +58 -99
  474. package/components/routes-menu-content/src/item/core/ctx.d.ts +1 -1
  475. package/components/routes-menu-content/src/item/core/index.vue.d.ts +40 -81
  476. package/components/routes-menu-content/src/item/index.vue.d.ts +56 -97
  477. package/components/scrollbar/index.mjs +4 -4
  478. package/components/scrollbar/src/index.vue.d.ts +35 -34
  479. package/components/scrollbar/src/util.d.ts +1 -1
  480. package/components/sender/index.cjs +1 -1
  481. package/components/sender/index.mjs +7 -7
  482. package/components/sender/src/SenderHeader.vue.d.ts +2 -2
  483. package/components/sender/src/ctx.d.ts +9 -9
  484. package/components/sender/src/index.vue.d.ts +28 -28
  485. package/components/speech-button/index.cjs +1 -1
  486. package/components/speech-button/index.mjs +1 -1
  487. package/components/speech-button/src/ctx.d.ts +1 -1
  488. package/components/speech-button/src/index.vue.d.ts +3 -3
  489. package/components/table-columns/src/ctx.d.ts +2 -2
  490. package/components/table-columns/src/el-ctx.d.ts +2 -2
  491. package/components/table-columns/src/index.vue.d.ts +6 -6
  492. package/components/table-columns/src/types.d.ts +3 -4
  493. package/components/tables-v1/index.cjs +1 -1
  494. package/components/tables-v1/index.mjs +3 -3
  495. package/components/tables-v1/src/ctx.d.ts +69 -74
  496. package/components/tables-v1/src/el-ctx.d.ts +24 -24
  497. package/components/tables-v1/src/index.vue.d.ts +54 -313
  498. package/components/tables-v1-checkbox/index.cjs +94 -1
  499. package/components/tables-v1-checkbox/index.mjs +2071 -88
  500. package/components/tables-v1-checkbox/src/ctx.d.ts +68 -73
  501. package/components/tables-v1-checkbox/src/index.vue.d.ts +274 -542
  502. package/components/text/index.mjs +3 -3
  503. package/components/text/src/ctx.d.ts +39 -246
  504. package/components/text/src/index.vue.d.ts +98 -509
  505. package/components/thinking/index.mjs +5 -5
  506. package/components/thinking/src/ctx.d.ts +3 -3
  507. package/components/thinking/src/index.vue.d.ts +8 -8
  508. package/components/typing-markdown/index.mjs +2 -2
  509. package/components/typing-markdown/src/ctx.d.ts +3 -3
  510. package/components/typing-markdown/src/index.vue.d.ts +6 -6
  511. package/components/vditor/index.cjs +1 -1
  512. package/components/vditor/index.mjs +2 -2
  513. package/components/vditor/src/ctx.d.ts +2 -2
  514. package/components/vditor/src/handle-fullscreen.vue.d.ts +3 -3
  515. package/components/vditor/src/handle-value.vue.d.ts +3 -3
  516. package/components/vditor/src/index.vue.d.ts +10 -10
  517. package/components/xgplayer/index.mjs +5 -5
  518. package/composables/recorder/index.cjs +1 -1
  519. package/composables/recorder/index.mjs +3214 -3099
  520. package/element/bubble/index.cjs +2 -2
  521. package/element/bubble/index.mjs +57 -57
  522. package/element/index.css +1 -1
  523. package/element/thinking/index.cjs +1 -1
  524. package/element/thinking/index.mjs +63 -69
  525. package/icons/end/index.cjs +1 -1
  526. package/icons/end/index.mjs +3 -3
  527. package/icons/keyboard/index.cjs +1 -1
  528. package/icons/keyboard/index.mjs +3 -3
  529. package/icons/start/index.cjs +1 -1
  530. package/icons/start/index.mjs +3 -3
  531. package/icons/voice/index.cjs +1 -1
  532. package/icons/voice/index.mjs +3 -3
  533. package/index.css +2 -2
  534. package/package.json +11 -1
@@ -1,13 +1,1996 @@
1
- import { defineComponent as w, computed as T, createVNode as i, resolveComponent as p, createBlock as x, openBlock as F, withCtx as P, mergeProps as _, toHandlers as B } from "vue";
2
- import { _VkTabelsV1Ctx as s, VkTablesV1 as R } from "@vunk/plus/components/tables-v1";
3
- import { VkCheckRecordLogicProvider as S, VkCheckRecordLogic as E } from "@vunk/core";
4
- import { noop as O } from "@vunk/shared/function";
5
- import { ElCheckbox as C } from "element-plus";
6
- import { NRadio as A } from "naive-ui";
7
- import { bindPropsFactory as N, onEmitsFactory as $ } from "@vunk/core/shared/utils-vue";
8
- import { _ as H } from "../_plugin-vue_export-helper-CHgC5LLL.mjs";
9
- const k = {
10
- ...s.props,
1
+ import { inject as U, computed as E, shallowRef as tt, getCurrentInstance as nt, normalizeClass as ot, openBlock as re, isVNode as vr, createBlock as Ee, createElementBlock as ce, Fragment as de, createElementVNode as se, Comment as yr, Text as at, cloneVNode as it, createVNode as q, renderList as lt, defineComponent as je, ref as G, watchEffect as Me, onBeforeMount as Cr, watch as xr, provide as st, onBeforeUnmount as ut, toRef as ct, normalizeStyle as dt, resolveComponent as Ke, withCtx as ft, mergeProps as ht, toHandlers as pt } from "vue";
2
+ import { _VkTabelsV1Ctx as fe, VkTablesV1 as gt } from "@vunk/plus/components/tables-v1";
3
+ import { VkCheckRecordLogicProvider as bt, VkCheckRecordLogic as mt } from "@vunk/core";
4
+ import { noop as vt } from "@vunk/shared/function";
5
+ import { ElCheckbox as We } from "element-plus";
6
+ import { bindPropsFactory as yt, onEmitsFactory as Ct } from "@vunk/core/shared/utils-vue";
7
+ import { _ as xt } from "../_plugin-vue_export-helper-CHgC5LLL.mjs";
8
+ function Ft(e) {
9
+ let r = ".", t = "__", n = "--", o;
10
+ if (e) {
11
+ let s = e.blockPrefix;
12
+ s && (r = s), s = e.elementPrefix, s && (t = s), s = e.modifierPrefix, s && (n = s);
13
+ }
14
+ const a = {
15
+ install(s) {
16
+ o = s.c;
17
+ const p = s.context;
18
+ p.bem = {}, p.bem.b = null, p.bem.els = null;
19
+ }
20
+ };
21
+ function i(s) {
22
+ let p, m;
23
+ return {
24
+ before(b) {
25
+ p = b.bem.b, m = b.bem.els, b.bem.els = null;
26
+ },
27
+ after(b) {
28
+ b.bem.b = p, b.bem.els = m;
29
+ },
30
+ $({ context: b, props: x }) {
31
+ return s = typeof s == "string" ? s : s({ context: b, props: x }), b.bem.b = s, `${x?.bPrefix || r}${b.bem.b}`;
32
+ }
33
+ };
34
+ }
35
+ function l(s) {
36
+ let p;
37
+ return {
38
+ before(m) {
39
+ p = m.bem.els;
40
+ },
41
+ after(m) {
42
+ m.bem.els = p;
43
+ },
44
+ $({ context: m, props: b }) {
45
+ return s = typeof s == "string" ? s : s({ context: m, props: b }), m.bem.els = s.split(",").map((x) => x.trim()), m.bem.els.map((x) => `${b?.bPrefix || r}${m.bem.b}${t}${x}`).join(", ");
46
+ }
47
+ };
48
+ }
49
+ function u(s) {
50
+ return {
51
+ $({ context: p, props: m }) {
52
+ s = typeof s == "string" ? s : s({ context: p, props: m });
53
+ const b = s.split(",").map((C) => C.trim());
54
+ function x(C) {
55
+ return b.map((S) => `&${m?.bPrefix || r}${p.bem.b}${C !== void 0 ? `${t}${C}` : ""}${n}${S}`).join(", ");
56
+ }
57
+ const A = p.bem.els;
58
+ if (A !== null) {
59
+ if (process.env.NODE_ENV !== "production" && A.length >= 2)
60
+ throw Error(`[css-render/plugin-bem]: m(${s}) is invalid, using modifier inside multiple elements is not allowed`);
61
+ return x(A[0]);
62
+ } else
63
+ return x();
64
+ }
65
+ };
66
+ }
67
+ function c(s) {
68
+ return {
69
+ $({ context: p, props: m }) {
70
+ s = typeof s == "string" ? s : s({ context: p, props: m });
71
+ const b = p.bem.els;
72
+ if (process.env.NODE_ENV !== "production" && b !== null && b.length >= 2)
73
+ throw Error(`[css-render/plugin-bem]: notM(${s}) is invalid, using modifier inside multiple elements is not allowed`);
74
+ return `&:not(${m?.bPrefix || r}${p.bem.b}${b !== null && b.length > 0 ? `${t}${b[0]}` : ""}${n}${s})`;
75
+ }
76
+ };
77
+ }
78
+ return Object.assign(a, {
79
+ cB: ((...s) => o(i(s[0]), s[1], s[2])),
80
+ cE: ((...s) => o(l(s[0]), s[1], s[2])),
81
+ cM: ((...s) => o(u(s[0]), s[1], s[2])),
82
+ cNotM: ((...s) => o(c(s[0]), s[1], s[2]))
83
+ }), a;
84
+ }
85
+ function $t(e) {
86
+ let r = 0;
87
+ for (let t = 0; t < e.length; ++t)
88
+ e[t] === "&" && ++r;
89
+ return r;
90
+ }
91
+ const Fr = /\s*,(?![^(]*\))\s*/g, wt = /\s+/g;
92
+ function St(e, r) {
93
+ const t = [];
94
+ return r.split(Fr).forEach((n) => {
95
+ let o = $t(n);
96
+ if (o) {
97
+ if (o === 1) {
98
+ e.forEach((i) => {
99
+ t.push(n.replace("&", i));
100
+ });
101
+ return;
102
+ }
103
+ } else {
104
+ e.forEach((i) => {
105
+ t.push(
106
+ // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
107
+ (i && i + " ") + n
108
+ );
109
+ });
110
+ return;
111
+ }
112
+ let a = [
113
+ n
114
+ ];
115
+ for (; o--; ) {
116
+ const i = [];
117
+ a.forEach((l) => {
118
+ e.forEach((u) => {
119
+ i.push(l.replace("&", u));
120
+ });
121
+ }), a = i;
122
+ }
123
+ a.forEach((i) => t.push(i));
124
+ }), t;
125
+ }
126
+ function _t(e, r) {
127
+ const t = [];
128
+ return r.split(Fr).forEach((n) => {
129
+ e.forEach((o) => {
130
+ t.push((o && o + " ") + n);
131
+ });
132
+ }), t;
133
+ }
134
+ function At(e) {
135
+ let r = [""];
136
+ return e.forEach((t) => {
137
+ t = t && t.trim(), // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
138
+ t && (t.includes("&") ? r = St(r, t) : r = _t(r, t));
139
+ }), r.join(", ").replace(wt, " ");
140
+ }
141
+ function Je(e) {
142
+ if (!e)
143
+ return;
144
+ const r = e.parentElement;
145
+ r && r.removeChild(e);
146
+ }
147
+ function be(e, r) {
148
+ return (r ?? document.head).querySelector(`style[cssr-id="${e}"]`);
149
+ }
150
+ function Et(e) {
151
+ const r = document.createElement("style");
152
+ return r.setAttribute("cssr-id", e), r;
153
+ }
154
+ function oe(e) {
155
+ return e ? /^\s*@(s|m)/.test(e) : !1;
156
+ }
157
+ const Rt = /[A-Z]/g;
158
+ function $r(e) {
159
+ return e.replace(Rt, (r) => "-" + r.toLowerCase());
160
+ }
161
+ function Bt(e, r = " ") {
162
+ return typeof e == "object" && e !== null ? ` {
163
+ ` + Object.entries(e).map((t) => r + ` ${$r(t[0])}: ${t[1]};`).join(`
164
+ `) + `
165
+ ` + r + "}" : `: ${e};`;
166
+ }
167
+ function Dt(e, r, t) {
168
+ return typeof e == "function" ? e({
169
+ context: r.context,
170
+ props: t
171
+ }) : e;
172
+ }
173
+ function Xe(e, r, t, n) {
174
+ if (!r)
175
+ return "";
176
+ const o = Dt(r, t, n);
177
+ if (!o)
178
+ return "";
179
+ if (typeof o == "string")
180
+ return `${e} {
181
+ ${o}
182
+ }`;
183
+ const a = Object.keys(o);
184
+ if (a.length === 0)
185
+ return t.config.keepEmptyBlock ? e + ` {
186
+ }` : "";
187
+ const i = e ? [
188
+ e + " {"
189
+ ] : [];
190
+ return a.forEach((l) => {
191
+ const u = o[l];
192
+ if (l === "raw") {
193
+ i.push(`
194
+ ` + u + `
195
+ `);
196
+ return;
197
+ }
198
+ l = $r(l), u != null && i.push(` ${l}${Bt(u)}`);
199
+ }), e && i.push("}"), i.join(`
200
+ `);
201
+ }
202
+ function Re(e, r, t) {
203
+ e && e.forEach((n) => {
204
+ if (Array.isArray(n))
205
+ Re(n, r, t);
206
+ else if (typeof n == "function") {
207
+ const o = n(r);
208
+ Array.isArray(o) ? Re(o, r, t) : o && t(o);
209
+ } else n && t(n);
210
+ });
211
+ }
212
+ function wr(e, r, t, n, o) {
213
+ const a = e.$;
214
+ let i = "";
215
+ if (!a || typeof a == "string")
216
+ oe(a) ? i = a : r.push(a);
217
+ else if (typeof a == "function") {
218
+ const c = a({
219
+ context: n.context,
220
+ props: o
221
+ });
222
+ oe(c) ? i = c : r.push(c);
223
+ } else if (a.before && a.before(n.context), !a.$ || typeof a.$ == "string")
224
+ oe(a.$) ? i = a.$ : r.push(a.$);
225
+ else if (a.$) {
226
+ const c = a.$({
227
+ context: n.context,
228
+ props: o
229
+ });
230
+ oe(c) ? i = c : r.push(c);
231
+ }
232
+ const l = At(r), u = Xe(l, e.props, n, o);
233
+ i ? t.push(`${i} {`) : u.length && t.push(u), e.children && Re(e.children, {
234
+ context: n.context,
235
+ props: o
236
+ }, (c) => {
237
+ if (typeof c == "string") {
238
+ const g = Xe(l, { raw: c }, n, o);
239
+ t.push(g);
240
+ } else
241
+ wr(c, r, t, n, o);
242
+ }), r.pop(), i && t.push("}"), a && a.after && a.after(n.context);
243
+ }
244
+ function Tt(e, r, t) {
245
+ const n = [];
246
+ return wr(e, [], n, r, t), n.join(`
247
+
248
+ `);
249
+ }
250
+ function Be(e) {
251
+ for (var r = 0, t, n = 0, o = e.length; o >= 4; ++n, o -= 4)
252
+ t = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, t = /* Math.imul(k, m): */
253
+ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
254
+ t >>> 24, r = /* Math.imul(k, m): */
255
+ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
256
+ (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
257
+ switch (o) {
258
+ case 3:
259
+ r ^= (e.charCodeAt(n + 2) & 255) << 16;
260
+ case 2:
261
+ r ^= (e.charCodeAt(n + 1) & 255) << 8;
262
+ case 1:
263
+ r ^= e.charCodeAt(n) & 255, r = /* Math.imul(h, m): */
264
+ (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
265
+ }
266
+ return r ^= r >>> 13, r = /* Math.imul(h, m): */
267
+ (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), ((r ^ r >>> 15) >>> 0).toString(36);
268
+ }
269
+ typeof window < "u" && (window.__cssrContext = {});
270
+ function kt(e, r, t, n) {
271
+ const { els: o } = r;
272
+ if (t === void 0)
273
+ o.forEach(Je), r.els = [];
274
+ else {
275
+ const a = be(t, n);
276
+ a && o.includes(a) && (Je(a), r.els = o.filter((i) => i !== a));
277
+ }
278
+ }
279
+ function Ye(e, r) {
280
+ e.push(r);
281
+ }
282
+ function Pt(e, r, t, n, o, a, i, l, u) {
283
+ let c;
284
+ if (t === void 0 && (c = r.render(n), t = Be(c)), u) {
285
+ u.adapter(t, c ?? r.render(n));
286
+ return;
287
+ }
288
+ l === void 0 && (l = document.head);
289
+ const g = be(t, l);
290
+ if (g !== null && !a)
291
+ return g;
292
+ const f = g ?? Et(t);
293
+ if (c === void 0 && (c = r.render(n)), f.textContent = c, g !== null)
294
+ return g;
295
+ if (i) {
296
+ const h = l.querySelector(`meta[name="${i}"]`);
297
+ if (h)
298
+ return l.insertBefore(f, h), Ye(r.els, f), f;
299
+ }
300
+ return o ? l.insertBefore(f, l.querySelector("style, link")) : l.appendChild(f), Ye(r.els, f), f;
301
+ }
302
+ function Ot(e) {
303
+ return Tt(this, this.instance, e);
304
+ }
305
+ function zt(e = {}) {
306
+ const { id: r, ssr: t, props: n, head: o = !1, force: a = !1, anchorMetaName: i, parent: l } = e;
307
+ return Pt(this.instance, this, r, n, o, a, i, l, t);
308
+ }
309
+ function jt(e = {}) {
310
+ const { id: r, parent: t } = e;
311
+ kt(this.instance, this, r, t);
312
+ }
313
+ const ae = function(e, r, t, n) {
314
+ return {
315
+ instance: e,
316
+ $: r,
317
+ props: t,
318
+ children: n,
319
+ els: [],
320
+ render: Ot,
321
+ mount: zt,
322
+ unmount: jt
323
+ };
324
+ }, Mt = function(e, r, t, n) {
325
+ return Array.isArray(r) ? ae(e, { $: null }, null, r) : Array.isArray(t) ? ae(e, r, null, t) : Array.isArray(n) ? ae(e, r, t, n) : ae(e, r, t, null);
326
+ };
327
+ function Ht(e = {}) {
328
+ const r = {
329
+ c: ((...t) => Mt(r, ...t)),
330
+ use: (t, ...n) => t.install(r, ...n),
331
+ find: be,
332
+ context: {},
333
+ config: e
334
+ };
335
+ return r;
336
+ }
337
+ function It(e, r) {
338
+ if (e === void 0)
339
+ return !1;
340
+ if (r) {
341
+ const { context: { ids: t } } = r;
342
+ return t.has(e);
343
+ }
344
+ return be(e) !== null;
345
+ }
346
+ const Vt = ".n-", Nt = "__", Ut = "--", Sr = Ht(), _r = Ft({
347
+ blockPrefix: Vt,
348
+ elementPrefix: Nt,
349
+ modifierPrefix: Ut
350
+ });
351
+ Sr.use(_r);
352
+ const {
353
+ c: O,
354
+ find: Ci
355
+ } = Sr, {
356
+ cB: Fe,
357
+ cE: P,
358
+ cM: X,
359
+ cNotM: Lt
360
+ } = _r;
361
+ function Ze(e, r) {
362
+ return e + (r === "default" ? "" : r.replace(/^[a-z]/, (t) => t.toUpperCase()));
363
+ }
364
+ var Ar = typeof global == "object" && global && global.Object === Object && global, qt = typeof self == "object" && self && self.Object === Object && self, K = Ar || qt || Function("return this")(), he = K.Symbol, Er = Object.prototype, Gt = Er.hasOwnProperty, Kt = Er.toString, Y = he ? he.toStringTag : void 0;
365
+ function Wt(e) {
366
+ var r = Gt.call(e, Y), t = e[Y];
367
+ try {
368
+ e[Y] = void 0;
369
+ var n = !0;
370
+ } catch {
371
+ }
372
+ var o = Kt.call(e);
373
+ return n && (r ? e[Y] = t : delete e[Y]), o;
374
+ }
375
+ var Jt = Object.prototype, Xt = Jt.toString;
376
+ function Yt(e) {
377
+ return Xt.call(e);
378
+ }
379
+ var Zt = "[object Null]", Qt = "[object Undefined]", Qe = he ? he.toStringTag : void 0;
380
+ function me(e) {
381
+ return e == null ? e === void 0 ? Qt : Zt : Qe && Qe in Object(e) ? Wt(e) : Yt(e);
382
+ }
383
+ function ne(e) {
384
+ return e != null && typeof e == "object";
385
+ }
386
+ var De = Array.isArray;
387
+ function L(e) {
388
+ var r = typeof e;
389
+ return e != null && (r == "object" || r == "function");
390
+ }
391
+ function Rr(e) {
392
+ return e;
393
+ }
394
+ var en = "[object AsyncFunction]", rn = "[object Function]", tn = "[object GeneratorFunction]", nn = "[object Proxy]";
395
+ function He(e) {
396
+ if (!L(e))
397
+ return !1;
398
+ var r = me(e);
399
+ return r == rn || r == tn || r == en || r == nn;
400
+ }
401
+ var $e = K["__core-js_shared__"], er = (function() {
402
+ var e = /[^.]+$/.exec($e && $e.keys && $e.keys.IE_PROTO || "");
403
+ return e ? "Symbol(src)_1." + e : "";
404
+ })();
405
+ function on(e) {
406
+ return !!er && er in e;
407
+ }
408
+ var an = Function.prototype, ln = an.toString;
409
+ function sn(e) {
410
+ if (e != null) {
411
+ try {
412
+ return ln.call(e);
413
+ } catch {
414
+ }
415
+ try {
416
+ return e + "";
417
+ } catch {
418
+ }
419
+ }
420
+ return "";
421
+ }
422
+ var un = /[\\^$.*+?()[\]{}|]/g, cn = /^\[object .+?Constructor\]$/, dn = Function.prototype, fn = Object.prototype, hn = dn.toString, pn = fn.hasOwnProperty, gn = RegExp(
423
+ "^" + hn.call(pn).replace(un, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
424
+ );
425
+ function bn(e) {
426
+ if (!L(e) || on(e))
427
+ return !1;
428
+ var r = He(e) ? gn : cn;
429
+ return r.test(sn(e));
430
+ }
431
+ function mn(e, r) {
432
+ return e?.[r];
433
+ }
434
+ function Ie(e, r) {
435
+ var t = mn(e, r);
436
+ return bn(t) ? t : void 0;
437
+ }
438
+ var rr = Object.create, vn = /* @__PURE__ */ (function() {
439
+ function e() {
440
+ }
441
+ return function(r) {
442
+ if (!L(r))
443
+ return {};
444
+ if (rr)
445
+ return rr(r);
446
+ e.prototype = r;
447
+ var t = new e();
448
+ return e.prototype = void 0, t;
449
+ };
450
+ })();
451
+ function yn(e, r, t) {
452
+ switch (t.length) {
453
+ case 0:
454
+ return e.call(r);
455
+ case 1:
456
+ return e.call(r, t[0]);
457
+ case 2:
458
+ return e.call(r, t[0], t[1]);
459
+ case 3:
460
+ return e.call(r, t[0], t[1], t[2]);
461
+ }
462
+ return e.apply(r, t);
463
+ }
464
+ function Cn(e, r) {
465
+ var t = -1, n = e.length;
466
+ for (r || (r = Array(n)); ++t < n; )
467
+ r[t] = e[t];
468
+ return r;
469
+ }
470
+ var xn = 800, Fn = 16, $n = Date.now;
471
+ function wn(e) {
472
+ var r = 0, t = 0;
473
+ return function() {
474
+ var n = $n(), o = Fn - (n - t);
475
+ if (t = n, o > 0) {
476
+ if (++r >= xn)
477
+ return arguments[0];
478
+ } else
479
+ r = 0;
480
+ return e.apply(void 0, arguments);
481
+ };
482
+ }
483
+ function Sn(e) {
484
+ return function() {
485
+ return e;
486
+ };
487
+ }
488
+ var pe = (function() {
489
+ try {
490
+ var e = Ie(Object, "defineProperty");
491
+ return e({}, "", {}), e;
492
+ } catch {
493
+ }
494
+ })(), _n = pe ? function(e, r) {
495
+ return pe(e, "toString", {
496
+ configurable: !0,
497
+ enumerable: !1,
498
+ value: Sn(r),
499
+ writable: !0
500
+ });
501
+ } : Rr, An = wn(_n), En = 9007199254740991, Rn = /^(?:0|[1-9]\d*)$/;
502
+ function Br(e, r) {
503
+ var t = typeof e;
504
+ return r = r ?? En, !!r && (t == "number" || t != "symbol" && Rn.test(e)) && e > -1 && e % 1 == 0 && e < r;
505
+ }
506
+ function Ve(e, r, t) {
507
+ r == "__proto__" && pe ? pe(e, r, {
508
+ configurable: !0,
509
+ enumerable: !0,
510
+ value: t,
511
+ writable: !0
512
+ }) : e[r] = t;
513
+ }
514
+ function ve(e, r) {
515
+ return e === r || e !== e && r !== r;
516
+ }
517
+ var Bn = Object.prototype, Dn = Bn.hasOwnProperty;
518
+ function Tn(e, r, t) {
519
+ var n = e[r];
520
+ (!(Dn.call(e, r) && ve(n, t)) || t === void 0 && !(r in e)) && Ve(e, r, t);
521
+ }
522
+ function kn(e, r, t, n) {
523
+ var o = !t;
524
+ t || (t = {});
525
+ for (var a = -1, i = r.length; ++a < i; ) {
526
+ var l = r[a], u = void 0;
527
+ u === void 0 && (u = e[l]), o ? Ve(t, l, u) : Tn(t, l, u);
528
+ }
529
+ return t;
530
+ }
531
+ var tr = Math.max;
532
+ function Pn(e, r, t) {
533
+ return r = tr(r === void 0 ? e.length - 1 : r, 0), function() {
534
+ for (var n = arguments, o = -1, a = tr(n.length - r, 0), i = Array(a); ++o < a; )
535
+ i[o] = n[r + o];
536
+ o = -1;
537
+ for (var l = Array(r + 1); ++o < r; )
538
+ l[o] = n[o];
539
+ return l[r] = t(i), yn(e, this, l);
540
+ };
541
+ }
542
+ function On(e, r) {
543
+ return An(Pn(e, r, Rr), e + "");
544
+ }
545
+ var zn = 9007199254740991;
546
+ function Dr(e) {
547
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= zn;
548
+ }
549
+ function Ne(e) {
550
+ return e != null && Dr(e.length) && !He(e);
551
+ }
552
+ function jn(e, r, t) {
553
+ if (!L(t))
554
+ return !1;
555
+ var n = typeof r;
556
+ return (n == "number" ? Ne(t) && Br(r, t.length) : n == "string" && r in t) ? ve(t[r], e) : !1;
557
+ }
558
+ function Mn(e) {
559
+ return On(function(r, t) {
560
+ var n = -1, o = t.length, a = o > 1 ? t[o - 1] : void 0, i = o > 2 ? t[2] : void 0;
561
+ for (a = e.length > 3 && typeof a == "function" ? (o--, a) : void 0, i && jn(t[0], t[1], i) && (a = o < 3 ? void 0 : a, o = 1), r = Object(r); ++n < o; ) {
562
+ var l = t[n];
563
+ l && e(r, l, n, a);
564
+ }
565
+ return r;
566
+ });
567
+ }
568
+ var Hn = Object.prototype;
569
+ function Tr(e) {
570
+ var r = e && e.constructor, t = typeof r == "function" && r.prototype || Hn;
571
+ return e === t;
572
+ }
573
+ function In(e, r) {
574
+ for (var t = -1, n = Array(e); ++t < e; )
575
+ n[t] = r(t);
576
+ return n;
577
+ }
578
+ var Vn = "[object Arguments]";
579
+ function nr(e) {
580
+ return ne(e) && me(e) == Vn;
581
+ }
582
+ var kr = Object.prototype, Nn = kr.hasOwnProperty, Un = kr.propertyIsEnumerable, Te = nr(/* @__PURE__ */ (function() {
583
+ return arguments;
584
+ })()) ? nr : function(e) {
585
+ return ne(e) && Nn.call(e, "callee") && !Un.call(e, "callee");
586
+ };
587
+ function Ln() {
588
+ return !1;
589
+ }
590
+ var Pr = typeof exports == "object" && exports && !exports.nodeType && exports, or = Pr && typeof module == "object" && module && !module.nodeType && module, qn = or && or.exports === Pr, ar = qn ? K.Buffer : void 0, Gn = ar ? ar.isBuffer : void 0, Or = Gn || Ln, Kn = "[object Arguments]", Wn = "[object Array]", Jn = "[object Boolean]", Xn = "[object Date]", Yn = "[object Error]", Zn = "[object Function]", Qn = "[object Map]", eo = "[object Number]", ro = "[object Object]", to = "[object RegExp]", no = "[object Set]", oo = "[object String]", ao = "[object WeakMap]", io = "[object ArrayBuffer]", lo = "[object DataView]", so = "[object Float32Array]", uo = "[object Float64Array]", co = "[object Int8Array]", fo = "[object Int16Array]", ho = "[object Int32Array]", po = "[object Uint8Array]", go = "[object Uint8ClampedArray]", bo = "[object Uint16Array]", mo = "[object Uint32Array]", y = {};
591
+ y[so] = y[uo] = y[co] = y[fo] = y[ho] = y[po] = y[go] = y[bo] = y[mo] = !0;
592
+ y[Kn] = y[Wn] = y[io] = y[Jn] = y[lo] = y[Xn] = y[Yn] = y[Zn] = y[Qn] = y[eo] = y[ro] = y[to] = y[no] = y[oo] = y[ao] = !1;
593
+ function vo(e) {
594
+ return ne(e) && Dr(e.length) && !!y[me(e)];
595
+ }
596
+ function yo(e) {
597
+ return function(r) {
598
+ return e(r);
599
+ };
600
+ }
601
+ var zr = typeof exports == "object" && exports && !exports.nodeType && exports, Q = zr && typeof module == "object" && module && !module.nodeType && module, Co = Q && Q.exports === zr, we = Co && Ar.process, ir = (function() {
602
+ try {
603
+ var e = Q && Q.require && Q.require("util").types;
604
+ return e || we && we.binding && we.binding("util");
605
+ } catch {
606
+ }
607
+ })(), lr = ir && ir.isTypedArray, jr = lr ? yo(lr) : vo;
608
+ function xo(e, r) {
609
+ var t = De(e), n = !t && Te(e), o = !t && !n && Or(e), a = !t && !n && !o && jr(e), i = t || n || o || a, l = i ? In(e.length, String) : [], u = l.length;
610
+ for (var c in e)
611
+ i && // Safari 9 has enumerable `arguments.length` in strict mode.
612
+ (c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
613
+ o && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
614
+ a && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
615
+ Br(c, u)) || l.push(c);
616
+ return l;
617
+ }
618
+ function Fo(e, r) {
619
+ return function(t) {
620
+ return e(r(t));
621
+ };
622
+ }
623
+ function $o(e) {
624
+ var r = [];
625
+ if (e != null)
626
+ for (var t in Object(e))
627
+ r.push(t);
628
+ return r;
629
+ }
630
+ var wo = Object.prototype, So = wo.hasOwnProperty;
631
+ function _o(e) {
632
+ if (!L(e))
633
+ return $o(e);
634
+ var r = Tr(e), t = [];
635
+ for (var n in e)
636
+ n == "constructor" && (r || !So.call(e, n)) || t.push(n);
637
+ return t;
638
+ }
639
+ function Mr(e) {
640
+ return Ne(e) ? xo(e) : _o(e);
641
+ }
642
+ var te = Ie(Object, "create");
643
+ function Ao() {
644
+ this.__data__ = te ? te(null) : {}, this.size = 0;
645
+ }
646
+ function Eo(e) {
647
+ var r = this.has(e) && delete this.__data__[e];
648
+ return this.size -= r ? 1 : 0, r;
649
+ }
650
+ var Ro = "__lodash_hash_undefined__", Bo = Object.prototype, Do = Bo.hasOwnProperty;
651
+ function To(e) {
652
+ var r = this.__data__;
653
+ if (te) {
654
+ var t = r[e];
655
+ return t === Ro ? void 0 : t;
656
+ }
657
+ return Do.call(r, e) ? r[e] : void 0;
658
+ }
659
+ var ko = Object.prototype, Po = ko.hasOwnProperty;
660
+ function Oo(e) {
661
+ var r = this.__data__;
662
+ return te ? r[e] !== void 0 : Po.call(r, e);
663
+ }
664
+ var zo = "__lodash_hash_undefined__";
665
+ function jo(e, r) {
666
+ var t = this.__data__;
667
+ return this.size += this.has(e) ? 0 : 1, t[e] = te && r === void 0 ? zo : r, this;
668
+ }
669
+ function V(e) {
670
+ var r = -1, t = e == null ? 0 : e.length;
671
+ for (this.clear(); ++r < t; ) {
672
+ var n = e[r];
673
+ this.set(n[0], n[1]);
674
+ }
675
+ }
676
+ V.prototype.clear = Ao;
677
+ V.prototype.delete = Eo;
678
+ V.prototype.get = To;
679
+ V.prototype.has = Oo;
680
+ V.prototype.set = jo;
681
+ function Mo() {
682
+ this.__data__ = [], this.size = 0;
683
+ }
684
+ function ye(e, r) {
685
+ for (var t = e.length; t--; )
686
+ if (ve(e[t][0], r))
687
+ return t;
688
+ return -1;
689
+ }
690
+ var Ho = Array.prototype, Io = Ho.splice;
691
+ function Vo(e) {
692
+ var r = this.__data__, t = ye(r, e);
693
+ if (t < 0)
694
+ return !1;
695
+ var n = r.length - 1;
696
+ return t == n ? r.pop() : Io.call(r, t, 1), --this.size, !0;
697
+ }
698
+ function No(e) {
699
+ var r = this.__data__, t = ye(r, e);
700
+ return t < 0 ? void 0 : r[t][1];
701
+ }
702
+ function Uo(e) {
703
+ return ye(this.__data__, e) > -1;
704
+ }
705
+ function Lo(e, r) {
706
+ var t = this.__data__, n = ye(t, e);
707
+ return n < 0 ? (++this.size, t.push([e, r])) : t[n][1] = r, this;
708
+ }
709
+ function T(e) {
710
+ var r = -1, t = e == null ? 0 : e.length;
711
+ for (this.clear(); ++r < t; ) {
712
+ var n = e[r];
713
+ this.set(n[0], n[1]);
714
+ }
715
+ }
716
+ T.prototype.clear = Mo;
717
+ T.prototype.delete = Vo;
718
+ T.prototype.get = No;
719
+ T.prototype.has = Uo;
720
+ T.prototype.set = Lo;
721
+ var Hr = Ie(K, "Map");
722
+ function qo() {
723
+ this.size = 0, this.__data__ = {
724
+ hash: new V(),
725
+ map: new (Hr || T)(),
726
+ string: new V()
727
+ };
728
+ }
729
+ function Go(e) {
730
+ var r = typeof e;
731
+ return r == "string" || r == "number" || r == "symbol" || r == "boolean" ? e !== "__proto__" : e === null;
732
+ }
733
+ function Ce(e, r) {
734
+ var t = e.__data__;
735
+ return Go(r) ? t[typeof r == "string" ? "string" : "hash"] : t.map;
736
+ }
737
+ function Ko(e) {
738
+ var r = Ce(this, e).delete(e);
739
+ return this.size -= r ? 1 : 0, r;
740
+ }
741
+ function Wo(e) {
742
+ return Ce(this, e).get(e);
743
+ }
744
+ function Jo(e) {
745
+ return Ce(this, e).has(e);
746
+ }
747
+ function Xo(e, r) {
748
+ var t = Ce(this, e), n = t.size;
749
+ return t.set(e, r), this.size += t.size == n ? 0 : 1, this;
750
+ }
751
+ function W(e) {
752
+ var r = -1, t = e == null ? 0 : e.length;
753
+ for (this.clear(); ++r < t; ) {
754
+ var n = e[r];
755
+ this.set(n[0], n[1]);
756
+ }
757
+ }
758
+ W.prototype.clear = qo;
759
+ W.prototype.delete = Ko;
760
+ W.prototype.get = Wo;
761
+ W.prototype.has = Jo;
762
+ W.prototype.set = Xo;
763
+ var Ir = Fo(Object.getPrototypeOf, Object), Yo = "[object Object]", Zo = Function.prototype, Qo = Object.prototype, Vr = Zo.toString, ea = Qo.hasOwnProperty, ra = Vr.call(Object);
764
+ function ta(e) {
765
+ if (!ne(e) || me(e) != Yo)
766
+ return !1;
767
+ var r = Ir(e);
768
+ if (r === null)
769
+ return !0;
770
+ var t = ea.call(r, "constructor") && r.constructor;
771
+ return typeof t == "function" && t instanceof t && Vr.call(t) == ra;
772
+ }
773
+ function na() {
774
+ this.__data__ = new T(), this.size = 0;
775
+ }
776
+ function oa(e) {
777
+ var r = this.__data__, t = r.delete(e);
778
+ return this.size = r.size, t;
779
+ }
780
+ function aa(e) {
781
+ return this.__data__.get(e);
782
+ }
783
+ function ia(e) {
784
+ return this.__data__.has(e);
785
+ }
786
+ var la = 200;
787
+ function sa(e, r) {
788
+ var t = this.__data__;
789
+ if (t instanceof T) {
790
+ var n = t.__data__;
791
+ if (!Hr || n.length < la - 1)
792
+ return n.push([e, r]), this.size = ++t.size, this;
793
+ t = this.__data__ = new W(n);
794
+ }
795
+ return t.set(e, r), this.size = t.size, this;
796
+ }
797
+ function J(e) {
798
+ var r = this.__data__ = new T(e);
799
+ this.size = r.size;
800
+ }
801
+ J.prototype.clear = na;
802
+ J.prototype.delete = oa;
803
+ J.prototype.get = aa;
804
+ J.prototype.has = ia;
805
+ J.prototype.set = sa;
806
+ var Nr = typeof exports == "object" && exports && !exports.nodeType && exports, sr = Nr && typeof module == "object" && module && !module.nodeType && module, ua = sr && sr.exports === Nr, ur = ua ? K.Buffer : void 0;
807
+ ur && ur.allocUnsafe;
808
+ function ca(e, r) {
809
+ return e.slice();
810
+ }
811
+ var cr = K.Uint8Array;
812
+ function da(e) {
813
+ var r = new e.constructor(e.byteLength);
814
+ return new cr(r).set(new cr(e)), r;
815
+ }
816
+ function fa(e, r) {
817
+ var t = da(e.buffer);
818
+ return new e.constructor(t, e.byteOffset, e.length);
819
+ }
820
+ function ha(e) {
821
+ return typeof e.constructor == "function" && !Tr(e) ? vn(Ir(e)) : {};
822
+ }
823
+ function pa(e) {
824
+ return function(r, t, n) {
825
+ for (var o = -1, a = Object(r), i = n(r), l = i.length; l--; ) {
826
+ var u = i[++o];
827
+ if (t(a[u], u, a) === !1)
828
+ break;
829
+ }
830
+ return r;
831
+ };
832
+ }
833
+ var ga = pa();
834
+ function ke(e, r, t) {
835
+ (t !== void 0 && !ve(e[r], t) || t === void 0 && !(r in e)) && Ve(e, r, t);
836
+ }
837
+ function ba(e) {
838
+ return ne(e) && Ne(e);
839
+ }
840
+ function Pe(e, r) {
841
+ if (!(r === "constructor" && typeof e[r] == "function") && r != "__proto__")
842
+ return e[r];
843
+ }
844
+ function ma(e) {
845
+ return kn(e, Mr(e));
846
+ }
847
+ function va(e, r, t, n, o, a, i) {
848
+ var l = Pe(e, t), u = Pe(r, t), c = i.get(u);
849
+ if (c) {
850
+ ke(e, t, c);
851
+ return;
852
+ }
853
+ var g = a ? a(l, u, t + "", e, r, i) : void 0, f = g === void 0;
854
+ if (f) {
855
+ var h = De(u), v = !h && Or(u), s = !h && !v && jr(u);
856
+ g = u, h || v || s ? De(l) ? g = l : ba(l) ? g = Cn(l) : v ? (f = !1, g = ca(u)) : s ? (f = !1, g = fa(u)) : g = [] : ta(u) || Te(u) ? (g = l, Te(l) ? g = ma(l) : (!L(l) || He(l)) && (g = ha(u))) : f = !1;
857
+ }
858
+ f && (i.set(u, g), o(g, u, n, a, i), i.delete(u)), ke(e, t, g);
859
+ }
860
+ function Ur(e, r, t, n, o) {
861
+ e !== r && ga(r, function(a, i) {
862
+ if (o || (o = new J()), L(a))
863
+ va(e, r, i, t, Ur, n, o);
864
+ else {
865
+ var l = n ? n(Pe(e, i), a, i + "", e, r, o) : void 0;
866
+ l === void 0 && (l = a), ke(e, i, l);
867
+ }
868
+ }, Mr);
869
+ }
870
+ var ie = Mn(function(e, r, t) {
871
+ Ur(e, r, t);
872
+ });
873
+ const dr = /* @__PURE__ */ new Set();
874
+ function ya(e, r) {
875
+ const t = `[naive/${e}]: ${r}`;
876
+ dr.has(t) || (dr.add(t), console.error(t));
877
+ }
878
+ function Ca(e, r) {
879
+ throw new Error(`[naive/${e}]: ${r}`);
880
+ }
881
+ const xe = "n-config-provider";
882
+ function Lr(e = {}, r = {
883
+ defaultBordered: !0
884
+ }) {
885
+ const t = U(xe, null);
886
+ return {
887
+ inlineThemeDisabled: t?.inlineThemeDisabled,
888
+ mergedRtlRef: t?.mergedRtlRef,
889
+ mergedComponentPropsRef: t?.mergedComponentPropsRef,
890
+ mergedBreakpointsRef: t?.mergedBreakpointsRef,
891
+ mergedBorderedRef: E(() => {
892
+ const {
893
+ bordered: n
894
+ } = e;
895
+ return n !== void 0 ? n : t?.mergedBorderedRef.value ?? r.defaultBordered ?? !0;
896
+ }),
897
+ mergedClsPrefixRef: t ? t.mergedClsPrefixRef : tt("n"),
898
+ namespaceRef: E(() => t?.mergedNamespaceRef.value)
899
+ };
900
+ }
901
+ const Oe = "naive-ui-style";
902
+ var qr = {
903
+ fontFamily: 'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
904
+ fontFamilyMono: "v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace",
905
+ fontWeight: "400",
906
+ fontWeightStrong: "500",
907
+ cubicBezierEaseInOut: "cubic-bezier(.4, 0, .2, 1)",
908
+ cubicBezierEaseOut: "cubic-bezier(0, 0, .2, 1)",
909
+ cubicBezierEaseIn: "cubic-bezier(.4, 0, 1, 1)",
910
+ borderRadius: "3px",
911
+ borderRadiusSmall: "2px",
912
+ fontSize: "14px",
913
+ fontSizeMini: "12px",
914
+ fontSizeTiny: "12px",
915
+ fontSizeSmall: "14px",
916
+ fontSizeMedium: "14px",
917
+ fontSizeLarge: "15px",
918
+ fontSizeHuge: "16px",
919
+ lineHeight: "1.6",
920
+ heightMini: "16px",
921
+ heightTiny: "22px",
922
+ heightSmall: "28px",
923
+ heightMedium: "34px",
924
+ heightLarge: "40px",
925
+ heightHuge: "46px"
926
+ };
927
+ const {
928
+ fontSize: xa,
929
+ fontFamily: Fa,
930
+ lineHeight: $a
931
+ } = qr;
932
+ var wa = O("body", `
933
+ margin: 0;
934
+ font-size: ${xa};
935
+ font-family: ${Fa};
936
+ line-height: ${$a};
937
+ -webkit-text-size-adjust: 100%;
938
+ -webkit-tap-highlight-color: transparent;
939
+ `, [O("input", `
940
+ font-family: inherit;
941
+ font-size: inherit;
942
+ `)]);
943
+ const Sa = "@css-render/vue3-ssr";
944
+ function _a(e, r) {
945
+ return `<style cssr-id="${e}">
946
+ ${r}
947
+ </style>`;
948
+ }
949
+ function Aa(e, r, t) {
950
+ const { styles: n, ids: o } = t;
951
+ o.has(e) || n !== null && (o.add(e), n.push(_a(e, r)));
952
+ }
953
+ const Ea = typeof document < "u";
954
+ function Ue() {
955
+ if (Ea)
956
+ return;
957
+ const e = U(Sa, null);
958
+ if (e !== null)
959
+ return {
960
+ adapter: (r, t) => Aa(r, t, e),
961
+ context: e
962
+ };
963
+ }
964
+ const Se = /* @__PURE__ */ new WeakMap();
965
+ function Ra(e) {
966
+ const r = nt();
967
+ if (r) {
968
+ Se.has(r) || Se.set(r, {});
969
+ const t = Se.get(r);
970
+ return t[e] || (t[e] = []);
971
+ } else return [];
972
+ }
973
+ function ee(e, r = 1) {
974
+ let t = q, n = !1;
975
+ return typeof e == "function" && (n = !0, re(), t = Ee, e = e()), vr(e) ? n ? Ee(fr(e)) : fr(e) : Array.isArray(e) ? n ? ce(de, null, e.map((o) => ee(() => o)), -2) : se(de, null, e.slice()) : e == null || typeof e == "boolean" ? t(yr) : t(at, null, String(e), r);
976
+ }
977
+ function fr(e) {
978
+ return e.el === null && e.patchFlag !== -1 || e.memo ? e : it(e);
979
+ }
980
+ const Z = (e) => ot(e) || null, Ba = je;
981
+ Ba((e, {
982
+ slots: r
983
+ }) => {
984
+ const t = r.default;
985
+ return () => (re(!0), ce(de, null, lt(e.in, (n, o, a) => {
986
+ const i = t(n, o, a);
987
+ return Array.isArray(i) ? i.length === 1 ? i[0] : ee(i) : i;
988
+ }), 128));
989
+ }, {
990
+ props: ["in"]
991
+ });
992
+ const hr = {
993
+ aliceblue: "#F0F8FF",
994
+ antiquewhite: "#FAEBD7",
995
+ aqua: "#0FF",
996
+ aquamarine: "#7FFFD4",
997
+ azure: "#F0FFFF",
998
+ beige: "#F5F5DC",
999
+ bisque: "#FFE4C4",
1000
+ black: "#000",
1001
+ blanchedalmond: "#FFEBCD",
1002
+ blue: "#00F",
1003
+ blueviolet: "#8A2BE2",
1004
+ brown: "#A52A2A",
1005
+ burlywood: "#DEB887",
1006
+ cadetblue: "#5F9EA0",
1007
+ chartreuse: "#7FFF00",
1008
+ chocolate: "#D2691E",
1009
+ coral: "#FF7F50",
1010
+ cornflowerblue: "#6495ED",
1011
+ cornsilk: "#FFF8DC",
1012
+ crimson: "#DC143C",
1013
+ cyan: "#0FF",
1014
+ darkblue: "#00008B",
1015
+ darkcyan: "#008B8B",
1016
+ darkgoldenrod: "#B8860B",
1017
+ darkgray: "#A9A9A9",
1018
+ darkgrey: "#A9A9A9",
1019
+ darkgreen: "#006400",
1020
+ darkkhaki: "#BDB76B",
1021
+ darkmagenta: "#8B008B",
1022
+ darkolivegreen: "#556B2F",
1023
+ darkorange: "#FF8C00",
1024
+ darkorchid: "#9932CC",
1025
+ darkred: "#8B0000",
1026
+ darksalmon: "#E9967A",
1027
+ darkseagreen: "#8FBC8F",
1028
+ darkslateblue: "#483D8B",
1029
+ darkslategray: "#2F4F4F",
1030
+ darkslategrey: "#2F4F4F",
1031
+ darkturquoise: "#00CED1",
1032
+ darkviolet: "#9400D3",
1033
+ deeppink: "#FF1493",
1034
+ deepskyblue: "#00BFFF",
1035
+ dimgray: "#696969",
1036
+ dimgrey: "#696969",
1037
+ dodgerblue: "#1E90FF",
1038
+ firebrick: "#B22222",
1039
+ floralwhite: "#FFFAF0",
1040
+ forestgreen: "#228B22",
1041
+ fuchsia: "#F0F",
1042
+ gainsboro: "#DCDCDC",
1043
+ ghostwhite: "#F8F8FF",
1044
+ gold: "#FFD700",
1045
+ goldenrod: "#DAA520",
1046
+ gray: "#808080",
1047
+ grey: "#808080",
1048
+ green: "#008000",
1049
+ greenyellow: "#ADFF2F",
1050
+ honeydew: "#F0FFF0",
1051
+ hotpink: "#FF69B4",
1052
+ indianred: "#CD5C5C",
1053
+ indigo: "#4B0082",
1054
+ ivory: "#FFFFF0",
1055
+ khaki: "#F0E68C",
1056
+ lavender: "#E6E6FA",
1057
+ lavenderblush: "#FFF0F5",
1058
+ lawngreen: "#7CFC00",
1059
+ lemonchiffon: "#FFFACD",
1060
+ lightblue: "#ADD8E6",
1061
+ lightcoral: "#F08080",
1062
+ lightcyan: "#E0FFFF",
1063
+ lightgoldenrodyellow: "#FAFAD2",
1064
+ lightgray: "#D3D3D3",
1065
+ lightgrey: "#D3D3D3",
1066
+ lightgreen: "#90EE90",
1067
+ lightpink: "#FFB6C1",
1068
+ lightsalmon: "#FFA07A",
1069
+ lightseagreen: "#20B2AA",
1070
+ lightskyblue: "#87CEFA",
1071
+ lightslategray: "#778899",
1072
+ lightslategrey: "#778899",
1073
+ lightsteelblue: "#B0C4DE",
1074
+ lightyellow: "#FFFFE0",
1075
+ lime: "#0F0",
1076
+ limegreen: "#32CD32",
1077
+ linen: "#FAF0E6",
1078
+ magenta: "#F0F",
1079
+ maroon: "#800000",
1080
+ mediumaquamarine: "#66CDAA",
1081
+ mediumblue: "#0000CD",
1082
+ mediumorchid: "#BA55D3",
1083
+ mediumpurple: "#9370DB",
1084
+ mediumseagreen: "#3CB371",
1085
+ mediumslateblue: "#7B68EE",
1086
+ mediumspringgreen: "#00FA9A",
1087
+ mediumturquoise: "#48D1CC",
1088
+ mediumvioletred: "#C71585",
1089
+ midnightblue: "#191970",
1090
+ mintcream: "#F5FFFA",
1091
+ mistyrose: "#FFE4E1",
1092
+ moccasin: "#FFE4B5",
1093
+ navajowhite: "#FFDEAD",
1094
+ navy: "#000080",
1095
+ oldlace: "#FDF5E6",
1096
+ olive: "#808000",
1097
+ olivedrab: "#6B8E23",
1098
+ orange: "#FFA500",
1099
+ orangered: "#FF4500",
1100
+ orchid: "#DA70D6",
1101
+ palegoldenrod: "#EEE8AA",
1102
+ palegreen: "#98FB98",
1103
+ paleturquoise: "#AFEEEE",
1104
+ palevioletred: "#DB7093",
1105
+ papayawhip: "#FFEFD5",
1106
+ peachpuff: "#FFDAB9",
1107
+ peru: "#CD853F",
1108
+ pink: "#FFC0CB",
1109
+ plum: "#DDA0DD",
1110
+ powderblue: "#B0E0E6",
1111
+ purple: "#800080",
1112
+ rebeccapurple: "#663399",
1113
+ red: "#F00",
1114
+ rosybrown: "#BC8F8F",
1115
+ royalblue: "#4169E1",
1116
+ saddlebrown: "#8B4513",
1117
+ salmon: "#FA8072",
1118
+ sandybrown: "#F4A460",
1119
+ seagreen: "#2E8B57",
1120
+ seashell: "#FFF5EE",
1121
+ sienna: "#A0522D",
1122
+ silver: "#C0C0C0",
1123
+ skyblue: "#87CEEB",
1124
+ slateblue: "#6A5ACD",
1125
+ slategray: "#708090",
1126
+ slategrey: "#708090",
1127
+ snow: "#FFFAFA",
1128
+ springgreen: "#00FF7F",
1129
+ steelblue: "#4682B4",
1130
+ tan: "#D2B48C",
1131
+ teal: "#008080",
1132
+ thistle: "#D8BFD8",
1133
+ tomato: "#FF6347",
1134
+ turquoise: "#40E0D0",
1135
+ violet: "#EE82EE",
1136
+ wheat: "#F5DEB3",
1137
+ white: "#FFF",
1138
+ whitesmoke: "#F5F5F5",
1139
+ yellow: "#FF0",
1140
+ yellowgreen: "#9ACD32",
1141
+ transparent: "#0000"
1142
+ };
1143
+ function Da(e, r, t) {
1144
+ r /= 100, t /= 100;
1145
+ let n = (o, a = (o + e / 60) % 6) => t - t * r * Math.max(Math.min(a, 4 - a, 1), 0);
1146
+ return [n(5) * 255, n(3) * 255, n(1) * 255];
1147
+ }
1148
+ function Ta(e, r, t) {
1149
+ r /= 100, t /= 100;
1150
+ let n = r * Math.min(t, 1 - t), o = (a, i = (a + e / 30) % 12) => t - n * Math.max(Math.min(i - 3, 9 - i, 1), -1);
1151
+ return [o(0) * 255, o(8) * 255, o(4) * 255];
1152
+ }
1153
+ const R = "^\\s*", B = "\\s*$", j = "\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))%\\s*", _ = "\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*", M = "([0-9A-Fa-f])", H = "([0-9A-Fa-f]{2})", Gr = new RegExp(`${R}hsl\\s*\\(${_},${j},${j}\\)${B}`), Kr = new RegExp(`${R}hsv\\s*\\(${_},${j},${j}\\)${B}`), Wr = new RegExp(`${R}hsla\\s*\\(${_},${j},${j},${_}\\)${B}`), Jr = new RegExp(`${R}hsva\\s*\\(${_},${j},${j},${_}\\)${B}`), ka = new RegExp(`${R}rgb\\s*\\(${_},${_},${_}\\)${B}`), Pa = new RegExp(`${R}rgba\\s*\\(${_},${_},${_},${_}\\)${B}`), Oa = new RegExp(`${R}#${M}${M}${M}${B}`), za = new RegExp(`${R}#${H}${H}${H}${B}`), ja = new RegExp(`${R}#${M}${M}${M}${M}${B}`), Ma = new RegExp(`${R}#${H}${H}${H}${H}${B}`);
1154
+ function w(e) {
1155
+ return parseInt(e, 16);
1156
+ }
1157
+ function Ha(e) {
1158
+ try {
1159
+ let r;
1160
+ if (r = Wr.exec(e))
1161
+ return [
1162
+ ge(r[1]),
1163
+ z(r[5]),
1164
+ z(r[9]),
1165
+ I(r[13])
1166
+ ];
1167
+ if (r = Gr.exec(e))
1168
+ return [ge(r[1]), z(r[5]), z(r[9]), 1];
1169
+ throw new Error(`[seemly/hsla]: Invalid color value ${e}.`);
1170
+ } catch (r) {
1171
+ throw r;
1172
+ }
1173
+ }
1174
+ function Ia(e) {
1175
+ try {
1176
+ let r;
1177
+ if (r = Jr.exec(e))
1178
+ return [
1179
+ ge(r[1]),
1180
+ z(r[5]),
1181
+ z(r[9]),
1182
+ I(r[13])
1183
+ ];
1184
+ if (r = Kr.exec(e))
1185
+ return [ge(r[1]), z(r[5]), z(r[9]), 1];
1186
+ throw new Error(`[seemly/hsva]: Invalid color value ${e}.`);
1187
+ } catch (r) {
1188
+ throw r;
1189
+ }
1190
+ }
1191
+ function N(e) {
1192
+ try {
1193
+ let r;
1194
+ if (r = za.exec(e))
1195
+ return [w(r[1]), w(r[2]), w(r[3]), 1];
1196
+ if (r = ka.exec(e))
1197
+ return [$(r[1]), $(r[5]), $(r[9]), 1];
1198
+ if (r = Pa.exec(e))
1199
+ return [
1200
+ $(r[1]),
1201
+ $(r[5]),
1202
+ $(r[9]),
1203
+ I(r[13])
1204
+ ];
1205
+ if (r = Oa.exec(e))
1206
+ return [
1207
+ w(r[1] + r[1]),
1208
+ w(r[2] + r[2]),
1209
+ w(r[3] + r[3]),
1210
+ 1
1211
+ ];
1212
+ if (r = Ma.exec(e))
1213
+ return [
1214
+ w(r[1]),
1215
+ w(r[2]),
1216
+ w(r[3]),
1217
+ I(w(r[4]) / 255)
1218
+ ];
1219
+ if (r = ja.exec(e))
1220
+ return [
1221
+ w(r[1] + r[1]),
1222
+ w(r[2] + r[2]),
1223
+ w(r[3] + r[3]),
1224
+ I(w(r[4] + r[4]) / 255)
1225
+ ];
1226
+ if (e in hr)
1227
+ return N(hr[e]);
1228
+ if (Gr.test(e) || Wr.test(e)) {
1229
+ const [t, n, o, a] = Ha(e);
1230
+ return [...Ta(t, n, o), a];
1231
+ } else if (Kr.test(e) || Jr.test(e)) {
1232
+ const [t, n, o, a] = Ia(e);
1233
+ return [...Da(t, n, o), a];
1234
+ }
1235
+ throw new Error(`[seemly/rgba]: Invalid color value ${e}.`);
1236
+ } catch (r) {
1237
+ throw r;
1238
+ }
1239
+ }
1240
+ function Va(e) {
1241
+ return e > 1 ? 1 : e < 0 ? 0 : e;
1242
+ }
1243
+ function ze(e, r, t, n) {
1244
+ return `rgba(${$(e)}, ${$(r)}, ${$(t)}, ${Va(n)})`;
1245
+ }
1246
+ function _e(e, r, t, n, o) {
1247
+ return $((e * r * (1 - n) + t * n) / o);
1248
+ }
1249
+ function Na(e, r) {
1250
+ Array.isArray(e) || (e = N(e)), Array.isArray(r) || (r = N(r));
1251
+ const t = e[3], n = r[3], o = I(t + n - t * n);
1252
+ return ze(_e(e[0], t, r[0], n, o), _e(e[1], t, r[1], n, o), _e(e[2], t, r[2], n, o), o);
1253
+ }
1254
+ function pr(e, r) {
1255
+ const [t, n, o, a = 1] = Array.isArray(e) ? e : N(e);
1256
+ return typeof r.alpha == "number" ? ze(t, n, o, r.alpha) : ze(t, n, o, a);
1257
+ }
1258
+ function le(e, r) {
1259
+ const [t, n, o, a = 1] = Array.isArray(e) ? e : N(e), { lightness: i = 1, alpha: l = 1 } = r;
1260
+ return Ua([t * i, n * i, o * i, a * l]);
1261
+ }
1262
+ function I(e) {
1263
+ const r = Math.round(Number(e) * 100) / 100;
1264
+ return r > 1 ? 1 : r < 0 ? 0 : r;
1265
+ }
1266
+ function ge(e) {
1267
+ const r = Math.round(Number(e));
1268
+ return r >= 360 || r < 0 ? 0 : r;
1269
+ }
1270
+ function $(e) {
1271
+ const r = Math.round(Number(e));
1272
+ return r > 255 ? 255 : r < 0 ? 0 : r;
1273
+ }
1274
+ function z(e) {
1275
+ const r = Math.round(Number(e));
1276
+ return r > 100 ? 100 : r < 0 ? 0 : r;
1277
+ }
1278
+ function Ua(e) {
1279
+ const [r, t, n] = e;
1280
+ return 3 in e ? `rgba(${$(r)}, ${$(t)}, ${$(n)}, ${I(e[3])})` : `rgba(${$(r)}, ${$(t)}, ${$(n)}, 1)`;
1281
+ }
1282
+ const d = {
1283
+ neutralBase: "#FFF",
1284
+ neutralInvertBase: "#000",
1285
+ neutralTextBase: "#000",
1286
+ neutralPopover: "#fff",
1287
+ neutralCard: "#fff",
1288
+ neutralModal: "#fff",
1289
+ neutralBody: "#fff",
1290
+ alpha1: "0.82",
1291
+ alpha2: "0.72",
1292
+ alpha3: "0.38",
1293
+ alpha4: "0.24",
1294
+ alpha5: "0.18",
1295
+ alphaClose: "0.6",
1296
+ alphaDisabled: "0.5",
1297
+ alphaAvatar: "0.2",
1298
+ alphaProgressRail: ".08",
1299
+ alphaInput: "0",
1300
+ alphaScrollbar: "0.25",
1301
+ alphaScrollbarHover: "0.4",
1302
+ primaryHover: "#36ad6a",
1303
+ primaryDefault: "#18a058",
1304
+ primaryActive: "#0c7a43",
1305
+ primarySuppl: "#36ad6a",
1306
+ infoHover: "#4098fc",
1307
+ infoDefault: "#2080f0",
1308
+ infoActive: "#1060c9",
1309
+ infoSuppl: "#4098fc",
1310
+ errorHover: "#de576d",
1311
+ errorDefault: "#d03050",
1312
+ errorActive: "#ab1f3f",
1313
+ errorSuppl: "#de576d",
1314
+ warningHover: "#fcb040",
1315
+ warningDefault: "#f0a020",
1316
+ warningActive: "#c97c10",
1317
+ warningSuppl: "#fcb040",
1318
+ successHover: "#36ad6a",
1319
+ successDefault: "#18a058",
1320
+ successActive: "#0c7a43",
1321
+ successSuppl: "#36ad6a"
1322
+ }, La = N(d.neutralBase), Xr = N(d.neutralInvertBase), qa = `rgba(${Xr.slice(0, 3).join(", ")}, `;
1323
+ function gr(e) {
1324
+ return `${qa + String(e)})`;
1325
+ }
1326
+ function F(e) {
1327
+ const r = Array.from(Xr);
1328
+ return r[3] = Number(e), Na(La, r);
1329
+ }
1330
+ const Ga = {
1331
+ name: "common",
1332
+ ...qr,
1333
+ baseColor: d.neutralBase,
1334
+ primaryColor: d.primaryDefault,
1335
+ primaryColorHover: d.primaryHover,
1336
+ primaryColorPressed: d.primaryActive,
1337
+ primaryColorSuppl: d.primarySuppl,
1338
+ infoColor: d.infoDefault,
1339
+ infoColorHover: d.infoHover,
1340
+ infoColorPressed: d.infoActive,
1341
+ infoColorSuppl: d.infoSuppl,
1342
+ successColor: d.successDefault,
1343
+ successColorHover: d.successHover,
1344
+ successColorPressed: d.successActive,
1345
+ successColorSuppl: d.successSuppl,
1346
+ warningColor: d.warningDefault,
1347
+ warningColorHover: d.warningHover,
1348
+ warningColorPressed: d.warningActive,
1349
+ warningColorSuppl: d.warningSuppl,
1350
+ errorColor: d.errorDefault,
1351
+ errorColorHover: d.errorHover,
1352
+ errorColorPressed: d.errorActive,
1353
+ errorColorSuppl: d.errorSuppl,
1354
+ textColorBase: d.neutralTextBase,
1355
+ textColor1: "rgb(31, 34, 37)",
1356
+ textColor2: "rgb(51, 54, 57)",
1357
+ textColor3: "rgb(118, 124, 130)",
1358
+ textColorDisabled: F(d.alpha4),
1359
+ placeholderColor: F(d.alpha4),
1360
+ placeholderColorDisabled: F(d.alpha5),
1361
+ iconColor: F(d.alpha4),
1362
+ iconColorHover: le(F(d.alpha4), {
1363
+ lightness: 0.75
1364
+ }),
1365
+ iconColorPressed: le(F(d.alpha4), {
1366
+ lightness: 0.9
1367
+ }),
1368
+ iconColorDisabled: F(d.alpha5),
1369
+ opacity1: d.alpha1,
1370
+ opacity2: d.alpha2,
1371
+ opacity3: d.alpha3,
1372
+ opacity4: d.alpha4,
1373
+ opacity5: d.alpha5,
1374
+ dividerColor: "rgb(239, 239, 245)",
1375
+ borderColor: "rgb(224, 224, 230)",
1376
+ closeIconColor: F(Number(d.alphaClose)),
1377
+ closeIconColorHover: F(Number(d.alphaClose)),
1378
+ closeIconColorPressed: F(Number(d.alphaClose)),
1379
+ closeColorHover: "rgba(0, 0, 0, .09)",
1380
+ closeColorPressed: "rgba(0, 0, 0, .13)",
1381
+ clearColor: F(d.alpha4),
1382
+ clearColorHover: le(F(d.alpha4), {
1383
+ lightness: 0.75
1384
+ }),
1385
+ clearColorPressed: le(F(d.alpha4), {
1386
+ lightness: 0.9
1387
+ }),
1388
+ scrollbarColor: gr(d.alphaScrollbar),
1389
+ scrollbarColorHover: gr(d.alphaScrollbarHover),
1390
+ scrollbarWidth: "5px",
1391
+ scrollbarHeight: "5px",
1392
+ scrollbarBorderRadius: "5px",
1393
+ progressRailColor: F(d.alphaProgressRail),
1394
+ railColor: "rgb(219, 219, 223)",
1395
+ popoverColor: d.neutralPopover,
1396
+ tableColor: d.neutralCard,
1397
+ cardColor: d.neutralCard,
1398
+ modalColor: d.neutralModal,
1399
+ bodyColor: d.neutralBody,
1400
+ tagColor: "#eee",
1401
+ avatarColor: F(d.alphaAvatar),
1402
+ invertedColor: "rgb(0, 20, 40)",
1403
+ inputColor: F(d.alphaInput),
1404
+ codeColor: "rgb(244, 244, 248)",
1405
+ tabColor: "rgb(247, 247, 250)",
1406
+ actionColor: "rgb(250, 250, 252)",
1407
+ tableHeaderColor: "rgb(250, 250, 252)",
1408
+ hoverColor: "rgb(243, 243, 245)",
1409
+ tableColorHover: "rgba(0, 0, 100, 0.03)",
1410
+ tableColorStriped: "rgba(0, 0, 100, 0.02)",
1411
+ pressedColor: "rgb(237, 237, 239)",
1412
+ opacityDisabled: d.alphaDisabled,
1413
+ inputColorDisabled: "rgb(250, 250, 252)",
1414
+ buttonColor2: "rgba(46, 51, 56, .05)",
1415
+ buttonColor2Hover: "rgba(46, 51, 56, .09)",
1416
+ buttonColor2Pressed: "rgba(46, 51, 56, .13)",
1417
+ boxShadow1: "0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",
1418
+ boxShadow2: "0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",
1419
+ boxShadow3: "0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"
1420
+ };
1421
+ function Ka(e, r, t, n) {
1422
+ t || Ca("useThemeClass", "cssVarsRef is not passed");
1423
+ const o = U(xe, null), a = o?.mergedThemeHashRef, i = o?.styleMountTarget, l = G(""), u = Ue();
1424
+ let c;
1425
+ const g = `__${e}`, f = () => {
1426
+ let h = g;
1427
+ const v = r ? r.value : void 0, s = a?.value;
1428
+ s && (h += `-${s}`), v && (h += `-${v}`);
1429
+ const {
1430
+ themeOverrides: p,
1431
+ builtinThemeOverrides: m
1432
+ } = n;
1433
+ p && (h += `-${Be(JSON.stringify(p))}`), m && (h += `-${Be(JSON.stringify(m))}`), l.value = h, c = () => {
1434
+ const b = t.value;
1435
+ let x = "";
1436
+ for (const A in b) x += `${A}: ${b[A]};`;
1437
+ O(`.${h}`, x).mount({
1438
+ id: h,
1439
+ ssr: u,
1440
+ parent: i
1441
+ }), c = void 0;
1442
+ };
1443
+ };
1444
+ return Me(() => {
1445
+ f();
1446
+ }), {
1447
+ themeClass: l,
1448
+ onRender: () => {
1449
+ c?.();
1450
+ }
1451
+ };
1452
+ }
1453
+ function Le(e, r, t, n, o, a) {
1454
+ const i = Ue(), l = U(xe, null);
1455
+ if (t) {
1456
+ const u = () => {
1457
+ const c = a?.value;
1458
+ t.mount({
1459
+ id: c === void 0 ? r : c + r,
1460
+ head: !0,
1461
+ props: {
1462
+ bPrefix: c ? `.${c}-` : void 0
1463
+ },
1464
+ anchorMetaName: Oe,
1465
+ ssr: i,
1466
+ parent: l?.styleMountTarget
1467
+ }), l?.preflightStyleDisabled || wa.mount({
1468
+ id: "n-global",
1469
+ head: !0,
1470
+ anchorMetaName: Oe,
1471
+ ssr: i,
1472
+ parent: l?.styleMountTarget
1473
+ });
1474
+ };
1475
+ i ? u() : Cr(u);
1476
+ }
1477
+ return E(() => {
1478
+ const {
1479
+ theme: {
1480
+ common: u,
1481
+ self: c,
1482
+ peers: g = {}
1483
+ } = {},
1484
+ themeOverrides: f = {},
1485
+ builtinThemeOverrides: h = {}
1486
+ } = o, {
1487
+ common: v,
1488
+ peers: s
1489
+ } = f, {
1490
+ common: p = void 0,
1491
+ [e]: {
1492
+ common: m = void 0,
1493
+ self: b = void 0,
1494
+ peers: x = {}
1495
+ } = {}
1496
+ } = l?.mergedThemeRef.value || {}, {
1497
+ common: A = void 0,
1498
+ [e]: C = {}
1499
+ } = l?.mergedThemeOverridesRef.value || {}, {
1500
+ common: S,
1501
+ peers: k = {}
1502
+ } = C, D = ie({}, u || m || p || n.common, A, S, v);
1503
+ return {
1504
+ common: D,
1505
+ self: ie((c || b || n.self)?.(D), h, C, f),
1506
+ peers: ie({}, n.peers, x, g),
1507
+ peerOverrides: ie({}, h.peers, k, s)
1508
+ };
1509
+ });
1510
+ }
1511
+ Le.props = {
1512
+ theme: Object,
1513
+ themeOverrides: Object,
1514
+ builtinThemeOverrides: Object
1515
+ };
1516
+ function br(e) {
1517
+ const r = E(e), t = G(r.value);
1518
+ return xr(r, (n) => {
1519
+ t.value = n;
1520
+ }), typeof e == "function" ? t : {
1521
+ __v_isRef: !0,
1522
+ get value() {
1523
+ return t.value;
1524
+ },
1525
+ set value(n) {
1526
+ e.set(n);
1527
+ }
1528
+ };
1529
+ }
1530
+ function Wa(e, r) {
1531
+ return xr(e, (t) => {
1532
+ t !== void 0 && (r.value = t);
1533
+ }), E(() => e.value === void 0 ? r.value : e.value);
1534
+ }
1535
+ function ue(e, ...r) {
1536
+ if (Array.isArray(e)) e.forEach((t) => ue(t, ...r));
1537
+ else return e(...r);
1538
+ }
1539
+ function Yr(e) {
1540
+ return e.some((r) => vr(r) ? !(r.type === yr || r.type === de && !Yr(r.children)) : !0) ? e : null;
1541
+ }
1542
+ function Ja(e, r) {
1543
+ return r(e && Yr(e()) || null);
1544
+ }
1545
+ function Xa(e, r, t) {
1546
+ if (!r) return;
1547
+ const n = Ue(), o = E(() => {
1548
+ const {
1549
+ value: l
1550
+ } = r;
1551
+ if (!l) return;
1552
+ const u = l[e];
1553
+ if (u)
1554
+ return u;
1555
+ }), a = U(xe, null), i = () => {
1556
+ Me(() => {
1557
+ const {
1558
+ value: l
1559
+ } = t, u = `${l}${e}Rtl`;
1560
+ if (It(u, n)) return;
1561
+ const {
1562
+ value: c
1563
+ } = o;
1564
+ c && c.style.mount({
1565
+ id: u,
1566
+ head: !0,
1567
+ anchorMetaName: Oe,
1568
+ props: {
1569
+ bPrefix: l ? `.${l}-` : void 0
1570
+ },
1571
+ ssr: n,
1572
+ parent: a?.styleMountTarget
1573
+ });
1574
+ });
1575
+ };
1576
+ return n ? i() : Cr(i), o;
1577
+ }
1578
+ const mr = "n-form-item";
1579
+ function Ya(e, {
1580
+ defaultSize: r = "medium",
1581
+ mergedSize: t,
1582
+ mergedDisabled: n
1583
+ } = {}) {
1584
+ const o = U(mr, null);
1585
+ st(mr, null);
1586
+ const a = E(t ? () => t(o) : () => {
1587
+ const {
1588
+ size: u
1589
+ } = e;
1590
+ if (u) return u;
1591
+ if (o) {
1592
+ const {
1593
+ mergedSize: c
1594
+ } = o;
1595
+ if (c.value !== void 0) return c.value;
1596
+ }
1597
+ return r;
1598
+ }), i = E(n ? () => n(o) : () => {
1599
+ const {
1600
+ disabled: u
1601
+ } = e;
1602
+ return u !== void 0 ? u : o ? o.disabled.value : !1;
1603
+ }), l = E(() => {
1604
+ const {
1605
+ status: u
1606
+ } = e;
1607
+ return u || o?.mergedValidationStatus.value;
1608
+ });
1609
+ return ut(() => {
1610
+ o && o.restoreValidation();
1611
+ }), {
1612
+ mergedSizeRef: a,
1613
+ mergedDisabledRef: i,
1614
+ mergedStatusRef: l,
1615
+ nTriggerFormBlur() {
1616
+ o && o.handleContentBlur();
1617
+ },
1618
+ nTriggerFormChange() {
1619
+ o && o.handleContentChange();
1620
+ },
1621
+ nTriggerFormFocus() {
1622
+ o && o.handleContentFocus();
1623
+ },
1624
+ nTriggerFormInput() {
1625
+ o && o.handleContentInput();
1626
+ }
1627
+ };
1628
+ }
1629
+ var Za = {
1630
+ radioSizeSmall: "14px",
1631
+ radioSizeMedium: "16px",
1632
+ radioSizeLarge: "18px",
1633
+ labelPadding: "0 8px",
1634
+ labelFontWeight: "400"
1635
+ };
1636
+ function Qa(e) {
1637
+ const {
1638
+ borderColor: r,
1639
+ primaryColor: t,
1640
+ baseColor: n,
1641
+ textColorDisabled: o,
1642
+ inputColorDisabled: a,
1643
+ textColor2: i,
1644
+ opacityDisabled: l,
1645
+ borderRadius: u,
1646
+ fontSizeSmall: c,
1647
+ fontSizeMedium: g,
1648
+ fontSizeLarge: f,
1649
+ heightSmall: h,
1650
+ heightMedium: v,
1651
+ heightLarge: s,
1652
+ lineHeight: p
1653
+ } = e;
1654
+ return {
1655
+ ...Za,
1656
+ labelLineHeight: p,
1657
+ buttonHeightSmall: h,
1658
+ buttonHeightMedium: v,
1659
+ buttonHeightLarge: s,
1660
+ fontSizeSmall: c,
1661
+ fontSizeMedium: g,
1662
+ fontSizeLarge: f,
1663
+ boxShadow: `inset 0 0 0 1px ${r}`,
1664
+ boxShadowActive: `inset 0 0 0 1px ${t}`,
1665
+ boxShadowFocus: `inset 0 0 0 1px ${t}, 0 0 0 2px ${pr(t, {
1666
+ alpha: 0.2
1667
+ })}`,
1668
+ boxShadowHover: `inset 0 0 0 1px ${t}`,
1669
+ boxShadowDisabled: `inset 0 0 0 1px ${r}`,
1670
+ color: n,
1671
+ colorDisabled: a,
1672
+ colorActive: "#0000",
1673
+ textColor: i,
1674
+ textColorDisabled: o,
1675
+ dotColorActive: t,
1676
+ dotColorDisabled: r,
1677
+ buttonBorderColor: r,
1678
+ buttonBorderColorActive: t,
1679
+ buttonBorderColorHover: r,
1680
+ buttonColor: n,
1681
+ buttonColorActive: n,
1682
+ buttonTextColor: i,
1683
+ buttonTextColorActive: t,
1684
+ buttonTextColorHover: t,
1685
+ opacityDisabled: l,
1686
+ buttonBoxShadowFocus: `inset 0 0 0 1px ${t}, 0 0 0 2px ${pr(t, {
1687
+ alpha: 0.3
1688
+ })}`,
1689
+ buttonBoxShadowHover: "inset 0 0 0 1px #0000",
1690
+ buttonBoxShadow: "inset 0 0 0 1px #0000",
1691
+ buttonBorderRadius: u
1692
+ };
1693
+ }
1694
+ const ei = {
1695
+ common: Ga,
1696
+ self: Qa
1697
+ };
1698
+ var ri = Fe("radio", `
1699
+ line-height: var(--n-label-line-height);
1700
+ outline: none;
1701
+ position: relative;
1702
+ user-select: none;
1703
+ -webkit-user-select: none;
1704
+ display: inline-flex;
1705
+ align-items: flex-start;
1706
+ flex-wrap: nowrap;
1707
+ font-size: var(--n-font-size);
1708
+ word-break: break-word;
1709
+ `, [X("checked", [P("dot", `
1710
+ background-color: var(--n-color-active);
1711
+ `)]), P("dot-wrapper", `
1712
+ position: relative;
1713
+ flex-shrink: 0;
1714
+ flex-grow: 0;
1715
+ width: var(--n-radio-size);
1716
+ `), Fe("radio-input", `
1717
+ position: absolute;
1718
+ border: 0;
1719
+ width: 0;
1720
+ height: 0;
1721
+ opacity: 0;
1722
+ margin: 0;
1723
+ `), P("dot", `
1724
+ position: absolute;
1725
+ top: 50%;
1726
+ left: 0;
1727
+ transform: translateY(-50%);
1728
+ height: var(--n-radio-size);
1729
+ width: var(--n-radio-size);
1730
+ background: var(--n-color);
1731
+ box-shadow: var(--n-box-shadow);
1732
+ border-radius: 50%;
1733
+ transition:
1734
+ background-color .3s var(--n-bezier),
1735
+ box-shadow .3s var(--n-bezier);
1736
+ `, [O("&::before", `
1737
+ content: "";
1738
+ opacity: 0;
1739
+ position: absolute;
1740
+ left: 4px;
1741
+ top: 4px;
1742
+ height: calc(100% - 8px);
1743
+ width: calc(100% - 8px);
1744
+ border-radius: 50%;
1745
+ transform: scale(.8);
1746
+ background: var(--n-dot-color-active);
1747
+ transition:
1748
+ opacity .3s var(--n-bezier),
1749
+ background-color .3s var(--n-bezier),
1750
+ transform .3s var(--n-bezier);
1751
+ `), X("checked", {
1752
+ boxShadow: "var(--n-box-shadow-active)"
1753
+ }, [O("&::before", `
1754
+ opacity: 1;
1755
+ transform: scale(1);
1756
+ `)])]), P("label", `
1757
+ color: var(--n-text-color);
1758
+ padding: var(--n-label-padding);
1759
+ font-weight: var(--n-label-font-weight);
1760
+ display: inline-block;
1761
+ transition: color .3s var(--n-bezier);
1762
+ `), Lt("disabled", `
1763
+ cursor: pointer;
1764
+ `, [O("&:hover", [P("dot", {
1765
+ boxShadow: "var(--n-box-shadow-hover)"
1766
+ })]), X("focus", [O("&:not(:active)", [P("dot", {
1767
+ boxShadow: "var(--n-box-shadow-focus)"
1768
+ })])])]), X("disabled", `
1769
+ cursor: not-allowed;
1770
+ `, [P("dot", {
1771
+ boxShadow: "var(--n-box-shadow-disabled)",
1772
+ backgroundColor: "var(--n-color-disabled)"
1773
+ }, [O("&::before", {
1774
+ backgroundColor: "var(--n-dot-color-disabled)"
1775
+ }), X("checked", `
1776
+ opacity: 1;
1777
+ `)]), P("label", {
1778
+ color: "var(--n-text-color-disabled)"
1779
+ }), Fe("radio-input", `
1780
+ cursor: not-allowed;
1781
+ `)])]);
1782
+ const ti = {
1783
+ name: String,
1784
+ value: {
1785
+ type: [String, Number, Boolean],
1786
+ default: "on"
1787
+ },
1788
+ checked: {
1789
+ type: Boolean,
1790
+ default: void 0
1791
+ },
1792
+ defaultChecked: Boolean,
1793
+ disabled: {
1794
+ type: Boolean,
1795
+ default: void 0
1796
+ },
1797
+ label: String,
1798
+ size: String,
1799
+ onUpdateChecked: [Function, Array],
1800
+ "onUpdate:checked": [Function, Array],
1801
+ checkedValue: {
1802
+ type: Boolean,
1803
+ default: void 0
1804
+ }
1805
+ }, ni = "n-radio-group";
1806
+ function oi(e) {
1807
+ process.env.NODE_ENV !== "production" && Me(() => {
1808
+ e.checkedValue !== void 0 && ya("radio", "`checked-value` is deprecated, please use `checked` instead.");
1809
+ });
1810
+ const r = U(ni, null), {
1811
+ mergedClsPrefixRef: t,
1812
+ mergedComponentPropsRef: n
1813
+ } = Lr(e), o = Ya(e, {
1814
+ mergedSize(C) {
1815
+ const {
1816
+ size: S
1817
+ } = e;
1818
+ if (S !== void 0) return S;
1819
+ if (r) {
1820
+ const {
1821
+ mergedSizeRef: {
1822
+ value: D
1823
+ }
1824
+ } = r;
1825
+ if (D !== void 0) return D;
1826
+ }
1827
+ if (C) return C.mergedSize.value;
1828
+ const k = n?.value?.Radio?.size;
1829
+ return k || "medium";
1830
+ },
1831
+ mergedDisabled(C) {
1832
+ return !!(e.disabled || r?.disabledRef.value || C?.disabled.value);
1833
+ }
1834
+ }), {
1835
+ mergedSizeRef: a,
1836
+ mergedDisabledRef: i
1837
+ } = o, l = G(null), u = G(null), c = G(e.defaultChecked), g = ct(e, "checked"), f = Wa(g, c), h = br(() => r ? r.valueRef.value === e.value : f.value), v = br(() => {
1838
+ const {
1839
+ name: C
1840
+ } = e;
1841
+ if (C !== void 0) return C;
1842
+ if (r) return r.nameRef.value;
1843
+ }), s = G(!1);
1844
+ function p() {
1845
+ if (r) {
1846
+ const {
1847
+ doUpdateValue: C
1848
+ } = r, {
1849
+ value: S
1850
+ } = e;
1851
+ ue(C, S);
1852
+ } else {
1853
+ const {
1854
+ onUpdateChecked: C,
1855
+ "onUpdate:checked": S
1856
+ } = e, {
1857
+ nTriggerFormInput: k,
1858
+ nTriggerFormChange: D
1859
+ } = o;
1860
+ C && ue(C, !0), S && ue(S, !0), k(), D(), c.value = !0;
1861
+ }
1862
+ }
1863
+ function m() {
1864
+ i.value || h.value || p();
1865
+ }
1866
+ function b() {
1867
+ m(), l.value && (l.value.checked = h.value);
1868
+ }
1869
+ function x() {
1870
+ s.value = !1;
1871
+ }
1872
+ function A() {
1873
+ s.value = !0;
1874
+ }
1875
+ return {
1876
+ mergedClsPrefix: r ? r.mergedClsPrefixRef : t,
1877
+ inputRef: l,
1878
+ labelRef: u,
1879
+ mergedName: v,
1880
+ mergedDisabled: i,
1881
+ renderSafeChecked: h,
1882
+ focus: s,
1883
+ mergedSize: a,
1884
+ handleRadioInputChange: b,
1885
+ handleRadioInputBlur: x,
1886
+ handleRadioInputFocus: A
1887
+ };
1888
+ }
1889
+ const ai = ["value", "name", "checked", "disabled", "onChange", "onFocus", "onBlur"], ii = {
1890
+ ...Le.props,
1891
+ ...ti
1892
+ };
1893
+ var li = je({
1894
+ name: "Radio",
1895
+ props: ii,
1896
+ setup(e) {
1897
+ const r = oi(e), t = Le("Radio", "-radio", ri, ei, e, r.mergedClsPrefix), n = E(() => {
1898
+ const {
1899
+ mergedSize: {
1900
+ value: c
1901
+ }
1902
+ } = r, {
1903
+ common: {
1904
+ cubicBezierEaseInOut: g
1905
+ },
1906
+ self: {
1907
+ boxShadow: f,
1908
+ boxShadowActive: h,
1909
+ boxShadowDisabled: v,
1910
+ boxShadowFocus: s,
1911
+ boxShadowHover: p,
1912
+ color: m,
1913
+ colorDisabled: b,
1914
+ colorActive: x,
1915
+ textColor: A,
1916
+ textColorDisabled: C,
1917
+ dotColorActive: S,
1918
+ dotColorDisabled: k,
1919
+ labelPadding: D,
1920
+ labelLineHeight: Zr,
1921
+ labelFontWeight: Qr,
1922
+ [Ze("fontSize", c)]: et,
1923
+ [Ze("radioSize", c)]: rt
1924
+ }
1925
+ } = t.value;
1926
+ return {
1927
+ "--n-bezier": g,
1928
+ "--n-label-line-height": Zr,
1929
+ "--n-label-font-weight": Qr,
1930
+ "--n-box-shadow": f,
1931
+ "--n-box-shadow-active": h,
1932
+ "--n-box-shadow-disabled": v,
1933
+ "--n-box-shadow-focus": s,
1934
+ "--n-box-shadow-hover": p,
1935
+ "--n-color": m,
1936
+ "--n-color-active": x,
1937
+ "--n-color-disabled": b,
1938
+ "--n-dot-color-active": S,
1939
+ "--n-dot-color-disabled": k,
1940
+ "--n-font-size": et,
1941
+ "--n-radio-size": rt,
1942
+ "--n-text-color": A,
1943
+ "--n-text-color-disabled": C,
1944
+ "--n-label-padding": D
1945
+ };
1946
+ }), {
1947
+ inlineThemeDisabled: o,
1948
+ mergedClsPrefixRef: a,
1949
+ mergedRtlRef: i
1950
+ } = Lr(e), l = Xa("Radio", i, a), u = o ? Ka("radio", E(() => r.mergedSize.value[0]), n, e) : void 0;
1951
+ return Object.assign(r, {
1952
+ rtlEnabled: l,
1953
+ cssVars: o ? void 0 : n,
1954
+ themeClass: u?.themeClass,
1955
+ onRender: u?.onRender
1956
+ });
1957
+ },
1958
+ render() {
1959
+ const {
1960
+ $slots: e,
1961
+ mergedClsPrefix: r,
1962
+ onRender: t,
1963
+ label: n
1964
+ } = this;
1965
+ return t?.(), (() => {
1966
+ const o = Ra("f8c6901d8cd45c02");
1967
+ return re(), ce("label", {
1968
+ class: Z([`${r}-radio`, this.themeClass, this.rtlEnabled && `${r}-radio--rtl`, this.mergedDisabled && `${r}-radio--disabled`, this.renderSafeChecked && `${r}-radio--checked`, this.focus && `${r}-radio--focus`]),
1969
+ style: dt(this.cssVars)
1970
+ }, [se("div", {
1971
+ class: Z(`${r}-radio__dot-wrapper`)
1972
+ }, [o[0] || (o[0] = ee(" ", -1)), se("div", {
1973
+ class: Z([`${r}-radio__dot`, this.renderSafeChecked && `${r}-radio__dot--checked`])
1974
+ }, null, 2), se("input", {
1975
+ ref: "inputRef",
1976
+ type: "radio",
1977
+ class: Z(`${r}-radio-input`),
1978
+ value: this.value,
1979
+ name: this.mergedName,
1980
+ checked: this.renderSafeChecked,
1981
+ disabled: this.mergedDisabled,
1982
+ onChange: this.handleRadioInputChange,
1983
+ onFocus: this.handleRadioInputFocus,
1984
+ onBlur: this.handleRadioInputBlur
1985
+ }, null, 42, ai)], 2), ee(() => Ja(e.default, (a) => !a && !n ? null : (re(), ce("div", {
1986
+ ref: "labelRef",
1987
+ class: Z(`${r}-radio__label`)
1988
+ }, [ee(() => a || n)], 2))))], 6);
1989
+ })();
1990
+ }
1991
+ });
1992
+ const qe = {
1993
+ ...fe.props,
11
1994
  /**
12
1995
  * @description v-model 绑定值
13
1996
  * @property {Array} modelValue
@@ -67,128 +2050,128 @@ const k = {
67
2050
  type: Boolean,
68
2051
  default: !1
69
2052
  }
70
- }, j = N(k), f = {
71
- ...s.emits,
2053
+ }, si = yt(qe), Ge = {
2054
+ ...fe.emits,
72
2055
  "update:modelValue": (e) => Array.isArray(e)
73
- }, L = $(f), X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2056
+ }, ui = Ct(Ge), xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
74
2057
  __proto__: null,
75
- createBindProps: j,
76
- createOnEmits: L,
77
- emits: f,
78
- props: k
79
- }, Symbol.toStringTag, { value: "Module" })), D = {
2058
+ createBindProps: si,
2059
+ createOnEmits: ui,
2060
+ emits: Ge,
2061
+ props: qe
2062
+ }, Symbol.toStringTag, { value: "Module" })), ci = {
80
2063
  dotColorActive: "var(--el-color-primary)",
81
2064
  boxShadowActive: "inset 0 0 0 1px var(--el-color-primary)",
82
2065
  boxShadowHover: "inset 0 0 0 1px var(--el-color-primary)",
83
2066
  boxShadowFocus: "inset 0 0 0 1px var(--el-color-primary), 0 0 0 2px rgba(24, 160, 88, 0.2)"
84
- }, U = /* @__PURE__ */ w({
2067
+ }, di = /* @__PURE__ */ je({
85
2068
  name: "VkTablesV1Checkbox",
86
2069
  components: {
87
- VkCheckRecordLogicProvider: S,
88
- VkTablesV1: R
2070
+ VkCheckRecordLogicProvider: bt,
2071
+ VkTablesV1: gt
89
2072
  },
90
2073
  inheritAttrs: !1,
91
- props: k,
92
- emits: f,
2074
+ props: qe,
2075
+ emits: Ge,
93
2076
  setup(e, {
94
- emit: d
2077
+ emit: r
95
2078
  }) {
96
- const b = s.createBindProps(e, ["columns", "disabled"]), V = s.createOnEmits(d, ["row-click"]), r = T(() => e.disabled || e.readonly), g = () => {
97
- const o = e.oidField, l = e.modelValue.map((a) => a[o]), t = [], n = [];
98
- return e.data.forEach((a) => {
99
- l.includes(a[o]) ? t.push(a) : n.push(a);
2079
+ const t = fe.createBindProps(e, ["columns", "disabled"]), n = fe.createOnEmits(r, ["row-click"]), o = E(() => e.disabled || e.readonly), a = () => {
2080
+ const f = e.oidField, h = e.modelValue.map((p) => p[f]), v = [], s = [];
2081
+ return e.data.forEach((p) => {
2082
+ h.includes(p[f]) ? v.push(p) : s.push(p);
100
2083
  }), {
101
- checkedNodes: t,
102
- uncheckedNodes: n
2084
+ checkedNodes: v,
2085
+ uncheckedNodes: s
103
2086
  };
104
2087
  };
105
- function u(o) {
106
- const l = e.modelValue[0];
107
- if (l && l[e.oidField] === o[e.oidField]) {
108
- d("update:modelValue", []);
2088
+ function i(f) {
2089
+ const h = e.modelValue[0];
2090
+ if (h && h[e.oidField] === f[e.oidField]) {
2091
+ r("update:modelValue", []);
109
2092
  return;
110
2093
  }
111
- d("update:modelValue", [o]);
2094
+ r("update:modelValue", [f]);
112
2095
  }
113
- function m(o, l) {
114
- o ? d("update:modelValue", [...e.modelValue, ...l]) : d("update:modelValue", e.modelValue.filter((t) => {
115
- const n = t[e.oidField];
116
- return !e.data.some((a) => a[e.oidField] === n);
2096
+ function l(f, h) {
2097
+ f ? r("update:modelValue", [...e.modelValue, ...h]) : r("update:modelValue", e.modelValue.filter((v) => {
2098
+ const s = v[e.oidField];
2099
+ return !e.data.some((p) => p[e.oidField] === s);
117
2100
  }));
118
2101
  }
119
- const c = {}, y = {
2102
+ const u = {}, c = {
120
2103
  prop: void 0,
121
2104
  label: "",
122
2105
  width: "50",
123
2106
  align: "center",
124
2107
  headerAlign: "center",
125
2108
  slots: {
126
- default: (o) => i(E, {
2109
+ default: (f) => q(mt, {
127
2110
  custom: !0,
128
- name: o.row
2111
+ name: f.row
129
2112
  }, {
130
2113
  default: ({
131
- toggle: l,
132
- isActive: t
2114
+ toggle: h,
2115
+ isActive: v
133
2116
  }) => {
134
- const n = r.value ? O : e.multiple ? l : () => u(o.row);
135
- c[o.row[e.oidField]] = n;
136
- const a = () => {
137
- e.checkTrigger === "check" && n();
2117
+ const s = o.value ? vt : e.multiple ? h : () => i(f.row);
2118
+ u[f.row[e.oidField]] = s;
2119
+ const p = () => {
2120
+ e.checkTrigger === "check" && s();
138
2121
  };
139
- return e.multiple ? i(C, {
140
- disabled: r.value,
141
- modelValue: t,
142
- onChange: a
143
- }, null) : i(A, {
144
- disabled: r.value,
145
- checked: t,
146
- "onUpdate:checked": a,
147
- "theme-overrides": D
2122
+ return e.multiple ? q(We, {
2123
+ disabled: o.value,
2124
+ modelValue: v,
2125
+ onChange: p
2126
+ }, null) : q(li, {
2127
+ disabled: o.value,
2128
+ checked: v,
2129
+ "onUpdate:checked": p,
2130
+ "theme-overrides": ci
148
2131
  }, null);
149
2132
  }
150
2133
  }),
151
2134
  header: () => {
152
2135
  if (!e.multiple) return "";
153
2136
  const {
154
- checkedNodes: o,
155
- uncheckedNodes: l
156
- } = g();
157
- return i(C, {
158
- disabled: r.value,
159
- indeterminate: o.length > 0 && o.length < e.data.length,
160
- modelValue: o.length && o.length === e.data.length,
161
- "onUpdate:modelValue": (t) => m(t, l)
2137
+ checkedNodes: f,
2138
+ uncheckedNodes: h
2139
+ } = a();
2140
+ return q(We, {
2141
+ disabled: o.value,
2142
+ indeterminate: f.length > 0 && f.length < e.data.length,
2143
+ modelValue: f.length && f.length === e.data.length,
2144
+ "onUpdate:modelValue": (v) => l(v, h)
162
2145
  }, null);
163
2146
  }
164
2147
  }
165
2148
  };
166
- function v(...o) {
167
- const [l] = o;
2149
+ function g(...f) {
2150
+ const [h] = f;
168
2151
  if (e.checkTrigger === "rowClick") {
169
- const t = l[e.oidField];
170
- c[t]?.();
2152
+ const v = h[e.oidField];
2153
+ u[v]?.();
171
2154
  }
172
- d("row-click", ...o);
2155
+ r("row-click", ...f);
173
2156
  }
174
2157
  return {
175
- coreProps: b,
176
- coreEmits: V,
177
- checkboxCol: y,
178
- handleRowClick: v
2158
+ coreProps: t,
2159
+ coreEmits: n,
2160
+ checkboxCol: c,
2161
+ handleRowClick: g
179
2162
  };
180
2163
  }
181
2164
  });
182
- function z(e, d, b, V, r, g) {
183
- const u = p("VkTablesV1"), m = p("VkCheckRecordLogicProvider");
184
- return F(), x(m, {
2165
+ function fi(e, r, t, n, o, a) {
2166
+ const i = Ke("VkTablesV1"), l = Ke("VkCheckRecordLogicProvider");
2167
+ return re(), Ee(l, {
185
2168
  "allow-extra": !0,
186
2169
  "model-value": e.modelValue,
187
2170
  "oid-field": e.oidField,
188
- "onUpdate:modelValue": d[0] || (d[0] = (c) => e.$emit("update:modelValue", c))
2171
+ "onUpdate:modelValue": r[0] || (r[0] = (u) => e.$emit("update:modelValue", u))
189
2172
  }, {
190
- default: P(() => [
191
- i(u, _({
2173
+ default: ft(() => [
2174
+ q(i, ht({
192
2175
  ...e.coreProps,
193
2176
  ...e.$attrs
194
2177
  }, {
@@ -201,20 +2184,20 @@ function z(e, d, b, V, r, g) {
201
2184
  }],
202
2185
  disabled: e.paginationDisabled,
203
2186
  onRowClick: e.handleRowClick
204
- }, B(e.coreEmits)), null, 16, ["columns", "class", "disabled", "onRowClick"])
2187
+ }, pt(e.coreEmits)), null, 16, ["columns", "class", "disabled", "onRowClick"])
205
2188
  ]),
206
2189
  _: 1
207
2190
  }, 8, ["model-value", "oid-field"]);
208
2191
  }
209
- const h = /* @__PURE__ */ H(U, [["render", z]]), Y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2192
+ const Ae = /* @__PURE__ */ xt(di, [["render", fi]]), Fi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
210
2193
  __proto__: null
211
2194
  }, Symbol.toStringTag, { value: "Module" }));
212
- h.install = (e) => {
213
- e.component(h.name || "VkTablesV1Checkbox", h);
2195
+ Ae.install = (e) => {
2196
+ e.component(Ae.name || "VkTablesV1Checkbox", Ae);
214
2197
  };
215
2198
  export {
216
- h as VkTablesV1Checkbox,
217
- X as _VkTablesV1CheckboxCtx,
218
- Y as __VkTablesV1Checkbox,
219
- h as default
2199
+ Ae as VkTablesV1Checkbox,
2200
+ xi as _VkTablesV1CheckboxCtx,
2201
+ Fi as __VkTablesV1Checkbox,
2202
+ Ae as default
220
2203
  };