@talex-touch/tuffex 0.3.3 → 0.3.4

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 (610) hide show
  1. package/README.md +49 -221
  2. package/dist/es/agents/index.js +1 -1
  3. package/dist/es/alert/index.d.ts +104 -1
  4. package/dist/es/alert/index.js +6 -0
  5. package/dist/es/alert/src/TxAlert.vue.d.ts +1 -0
  6. package/dist/es/alert/src/TxAlert.vue.js +2 -2
  7. package/dist/es/alert/src/TxAlert.vue2.js +6 -2
  8. package/dist/es/auto-sizer/index.js +1 -1
  9. package/dist/es/auto-sizer/src/TxAutoSizer.vue.js +2 -2
  10. package/dist/es/avatar/index.js +1 -1
  11. package/dist/es/avatar/src/TxAvatar.vue.js +1 -1
  12. package/dist/es/avatar/src/TxAvatar.vue2.js +47 -6
  13. package/dist/es/avatar/src/TxAvatarGroup.vue.js +1 -1
  14. package/dist/es/avatar/src/TxAvatarGroup.vue2.js +1 -1
  15. package/dist/es/avatar/src/types.d.ts +2 -1
  16. package/dist/es/badge/index.d.ts +78 -1
  17. package/dist/es/badge/index.js +6 -0
  18. package/dist/es/badge/src/TxBadge.vue.js +2 -2
  19. package/dist/es/base-anchor/index.d.ts +464 -0
  20. package/dist/es/base-anchor/index.js +6 -0
  21. package/dist/es/base-anchor/src/TxBaseAnchor.vue.d.ts +124 -0
  22. package/dist/es/base-anchor/src/TxBaseAnchor.vue.js +7 -0
  23. package/dist/es/base-anchor/src/TxBaseAnchor.vue2.js +798 -0
  24. package/dist/es/base-anchor/src/types.d.ts +36 -0
  25. package/dist/es/base-surface/index.d.ts +561 -0
  26. package/dist/es/base-surface/index.js +7 -0
  27. package/dist/es/base-surface/src/TxBaseSurface.vue.d.ts +123 -0
  28. package/dist/es/base-surface/src/TxBaseSurface.vue.js +1012 -0
  29. package/dist/es/base-surface/src/TxBaseSurface.vue2.js +6 -0
  30. package/dist/es/base-surface/src/style/index.css +105 -0
  31. package/dist/es/base-surface/src/types.d.ts +87 -0
  32. package/dist/es/blank-slate/index.d.ts +9 -9
  33. package/dist/es/blank-slate/index.js +1 -1
  34. package/dist/es/button/index.d.ts +45 -15
  35. package/dist/es/button/index.js +2 -1
  36. package/dist/es/button/src/button.vue.d.ts +7 -1
  37. package/dist/es/button/src/button.vue.js +50 -20
  38. package/dist/es/button/src/split-button.vue.js +31 -5
  39. package/dist/es/button/src/style/index.css +72 -15
  40. package/dist/es/button/src/types.d.ts +4 -0
  41. package/dist/es/card/index.d.ts +236 -56
  42. package/dist/es/card/index.js +1 -1
  43. package/dist/es/card/src/TxCard.vue.d.ts +40 -4
  44. package/dist/es/card/src/TxCard.vue.js +1 -1
  45. package/dist/es/card/src/TxCard.vue2.js +288 -57
  46. package/dist/es/card/src/types.d.ts +14 -1
  47. package/dist/es/card-item/index.d.ts +7 -7
  48. package/dist/es/card-item/index.js +1 -1
  49. package/dist/es/cascader/index.d.ts +15 -15
  50. package/dist/es/cascader/index.js +1 -1
  51. package/dist/es/cascader/src/TxCascader.vue.d.ts +1 -1
  52. package/dist/es/cascader/src/TxCascader.vue.js +1 -1
  53. package/dist/es/cascader/src/TxCascader.vue2.js +1 -3
  54. package/dist/es/chat/index.d.ts +18 -18
  55. package/dist/es/chat/index.js +1 -1
  56. package/dist/es/chat/src/TxChatComposer.vue.js +1 -1
  57. package/dist/es/chat/src/TxChatComposer.vue2.js +1 -0
  58. package/dist/es/chat/src/TxTypingIndicator.vue.d.ts +1 -1
  59. package/dist/es/code-editor/index.d.ts +387 -0
  60. package/dist/es/code-editor/index.js +8 -0
  61. package/dist/es/code-editor/src/TxCodeEditor.vue.d.ts +117 -0
  62. package/dist/es/code-editor/src/TxCodeEditor.vue.js +7 -0
  63. package/dist/es/code-editor/src/TxCodeEditor.vue2.js +658 -0
  64. package/dist/es/code-editor/src/TxCodeEditorToolbar.vue.d.ts +40 -0
  65. package/dist/es/code-editor/src/TxCodeEditorToolbar.vue.js +7 -0
  66. package/dist/es/code-editor/src/TxCodeEditorToolbar.vue2.js +89 -0
  67. package/dist/es/code-editor/src/types.d.ts +47 -0
  68. package/dist/es/command-palette/index.js +1 -1
  69. package/dist/es/command-palette/src/TxCommandPalette.vue.js +1 -1
  70. package/dist/es/command-palette/src/TxCommandPalette.vue2.js +128 -21
  71. package/dist/es/components.css +4253 -3117
  72. package/dist/es/components.d.ts +15 -2
  73. package/dist/es/components.js +44 -7
  74. package/dist/es/container/src/TxCol.vue.d.ts +1 -1
  75. package/dist/es/container/src/TxCol.vue2.js +1 -1
  76. package/dist/es/container/src/TxContainer.vue.d.ts +1 -1
  77. package/dist/es/container/src/TxRow.vue.d.ts +2 -2
  78. package/dist/es/container/src/TxRow.vue2.js +1 -1
  79. package/dist/es/context-menu/index.js +1 -1
  80. package/dist/es/context-menu/src/TxContextMenu.vue.js +1 -1
  81. package/dist/es/context-menu/src/TxContextMenu.vue2.js +4 -1
  82. package/dist/es/corner-overlay/index.js +1 -1
  83. package/dist/es/data-table/index.d.ts +15 -15
  84. package/dist/es/data-table/index.js +1 -1
  85. package/dist/es/data-table/src/TxDataTable.vue.d.ts +1 -1
  86. package/dist/es/date-picker/index.js +1 -1
  87. package/dist/es/dialog/index.js +1 -1
  88. package/dist/es/dialog/src/TxBlowDialog.vue.js +6 -2
  89. package/dist/es/dialog/src/TxBottomDialog.vue.js +1 -1
  90. package/dist/es/dialog/src/TxBottomDialog.vue2.js +6 -2
  91. package/dist/es/dialog/src/TxPopperDialog.vue.js +6 -2
  92. package/dist/es/dialog/src/TxTouchTip.vue.js +1 -1
  93. package/dist/es/dialog/src/TxTouchTip.vue2.js +25 -22
  94. package/dist/es/dialog/src/types.d.ts +1 -1
  95. package/dist/es/drawer/index.d.ts +24 -30
  96. package/dist/es/drawer/index.js +1 -1
  97. package/dist/es/drawer/src/TxDrawer.vue.d.ts +1 -4
  98. package/dist/es/drawer/src/TxDrawer.vue.js +8 -2
  99. package/dist/es/dropdown-menu/index.d.ts +81 -18
  100. package/dist/es/dropdown-menu/index.js +1 -1
  101. package/dist/es/dropdown-menu/src/TxDropdownMenu.vue.d.ts +11 -2
  102. package/dist/es/dropdown-menu/src/TxDropdownMenu.vue.js +1 -1
  103. package/dist/es/dropdown-menu/src/TxDropdownMenu.vue2.js +13 -3
  104. package/dist/es/dropdown-menu/src/types.d.ts +8 -1
  105. package/dist/es/edge-fade-mask/index.d.ts +120 -0
  106. package/dist/es/edge-fade-mask/index.js +6 -0
  107. package/dist/es/edge-fade-mask/src/TxEdgeFadeMask.vue.d.ts +51 -0
  108. package/dist/es/edge-fade-mask/src/TxEdgeFadeMask.vue.js +7 -0
  109. package/dist/es/edge-fade-mask/src/TxEdgeFadeMask.vue2.js +154 -0
  110. package/dist/es/edge-fade-mask/src/types.d.ts +9 -0
  111. package/dist/es/empty/index.js +1 -1
  112. package/dist/es/empty-state/index.d.ts +9 -9
  113. package/dist/es/empty-state/index.js +1 -1
  114. package/dist/es/empty-state/src/TxEmptyState.vue.js +1 -1
  115. package/dist/es/empty-state/src/TxEmptyState.vue2.js +25 -17
  116. package/dist/es/error-state/index.d.ts +131 -0
  117. package/dist/es/error-state/index.js +6 -0
  118. package/dist/es/error-state/src/TxErrorState.vue.d.ts +13 -0
  119. package/dist/es/error-state/src/TxErrorState.vue.js +35 -0
  120. package/dist/es/error-state/src/TxErrorState.vue2.js +5 -0
  121. package/dist/es/error-state/src/types.d.ts +3 -0
  122. package/dist/es/file-uploader/index.js +1 -1
  123. package/dist/es/flat-radio/index.d.ts +201 -0
  124. package/dist/es/flat-radio/index.js +8 -0
  125. package/dist/es/flat-radio/src/TxFlatRadio.vue.d.ts +51 -0
  126. package/dist/es/flat-radio/src/TxFlatRadio.vue.js +7 -0
  127. package/dist/es/flat-radio/src/TxFlatRadio.vue2.js +237 -0
  128. package/dist/es/flat-radio/src/TxFlatRadioItem.vue.d.ts +43 -0
  129. package/dist/es/flat-radio/src/TxFlatRadioItem.vue.js +7 -0
  130. package/dist/es/flat-radio/src/TxFlatRadioItem.vue2.js +87 -0
  131. package/dist/es/flat-radio/src/types.d.ts +28 -0
  132. package/dist/es/flat-radio/src/types.js +3 -0
  133. package/dist/es/flat-select/index.d.ts +159 -0
  134. package/dist/es/flat-select/index.js +8 -0
  135. package/dist/es/flat-select/src/TxFlatSelect.vue.d.ts +56 -0
  136. package/dist/es/flat-select/src/TxFlatSelect.vue.js +7 -0
  137. package/dist/es/flat-select/src/TxFlatSelect.vue2.js +208 -0
  138. package/dist/es/flat-select/src/TxFlatSelectItem.vue.d.ts +47 -0
  139. package/dist/es/flat-select/src/TxFlatSelectItem.vue.js +7 -0
  140. package/dist/es/flat-select/src/TxFlatSelectItem.vue2.js +71 -0
  141. package/dist/es/flat-select/src/types.d.ts +21 -0
  142. package/dist/es/flat-select/src/types.js +3 -0
  143. package/dist/es/flex/index.d.ts +33 -33
  144. package/dist/es/flex/index.js +1 -1
  145. package/dist/es/flex/src/TxFlex.vue.d.ts +3 -3
  146. package/dist/es/flip-overlay/index.d.ts +579 -0
  147. package/dist/es/flip-overlay/index.js +7 -0
  148. package/dist/es/flip-overlay/src/TxFlipOverlay.vue.d.ts +175 -0
  149. package/dist/es/flip-overlay/src/TxFlipOverlay.vue.js +982 -0
  150. package/dist/es/flip-overlay/src/TxFlipOverlay.vue3.js +6 -0
  151. package/dist/es/flip-overlay/src/types.d.ts +53 -0
  152. package/dist/es/floating/index.d.ts +145 -0
  153. package/dist/es/floating/index.js +8 -0
  154. package/dist/es/floating/src/TxFloating.vue.d.ts +45 -0
  155. package/dist/es/floating/src/TxFloating.vue.js +7 -0
  156. package/dist/es/floating/src/TxFloating.vue2.js +118 -0
  157. package/dist/es/floating/src/TxFloatingElement.vue.d.ts +39 -0
  158. package/dist/es/floating/src/TxFloatingElement.vue.js +7 -0
  159. package/dist/es/floating/src/TxFloatingElement.vue2.js +43 -0
  160. package/dist/es/floating/src/context.d.ts +7 -0
  161. package/dist/es/floating/src/context.js +3 -0
  162. package/dist/es/floating/src/types.d.ts +10 -0
  163. package/dist/es/form/index.d.ts +9 -9
  164. package/dist/es/form/index.js +1 -1
  165. package/dist/es/fusion/index.d.ts +15 -15
  166. package/dist/es/fusion/index.js +1 -1
  167. package/dist/es/fusion/src/TxFusion.vue.d.ts +1 -1
  168. package/dist/es/glass-surface/index.d.ts +30 -30
  169. package/dist/es/glass-surface/index.js +1 -1
  170. package/dist/es/glass-surface/src/TxGlassSurface.vue.d.ts +2 -2
  171. package/dist/es/glass-surface/src/TxGlassSurface.vue.js +16 -38
  172. package/dist/es/glow-text/index.d.ts +24 -6
  173. package/dist/es/glow-text/index.js +1 -1
  174. package/dist/es/glow-text/src/TxGlowText.vue.d.ts +3 -3
  175. package/dist/es/glow-text/src/TxGlowText.vue.js +1 -1
  176. package/dist/es/glow-text/src/TxGlowText.vue2.js +93 -10
  177. package/dist/es/glow-text/src/types.d.ts +2 -0
  178. package/dist/es/gradient-border/index.js +1 -1
  179. package/dist/es/gradual-blur/index.d.ts +42 -42
  180. package/dist/es/gradual-blur/index.js +1 -1
  181. package/dist/es/gradual-blur/src/TxGradualBlur.vue.d.ts +3 -3
  182. package/dist/es/gradual-blur/src/TxGradualBlur.vue.js +1 -1
  183. package/dist/es/grid/src/TxGrid.vue.d.ts +2 -2
  184. package/dist/es/grid/src/TxGrid.vue2.js +1 -1
  185. package/dist/es/grid-layout/index.js +1 -1
  186. package/dist/es/group-block/index.d.ts +321 -4
  187. package/dist/es/group-block/index.js +8 -2
  188. package/dist/es/group-block/src/TxBlockInput.vue.d.ts +90 -0
  189. package/dist/es/group-block/src/TxBlockInput.vue.js +94 -0
  190. package/dist/es/group-block/src/TxBlockInput.vue3.js +6 -0
  191. package/dist/es/group-block/src/TxBlockSelect.vue.d.ts +73 -0
  192. package/dist/es/group-block/src/TxBlockSelect.vue.js +76 -0
  193. package/dist/es/group-block/src/TxBlockSelect.vue3.js +6 -0
  194. package/dist/es/group-block/src/TxGroupBlock.vue.js +1 -1
  195. package/dist/es/group-block/src/types.d.ts +138 -0
  196. package/dist/es/guide-state/index.d.ts +131 -0
  197. package/dist/es/guide-state/index.js +6 -0
  198. package/dist/es/guide-state/src/TxGuideState.vue.d.ts +13 -0
  199. package/dist/es/guide-state/src/TxGuideState.vue.js +35 -0
  200. package/dist/es/guide-state/src/TxGuideState.vue2.js +5 -0
  201. package/dist/es/guide-state/src/types.d.ts +3 -0
  202. package/dist/es/icon/index.js +1 -1
  203. package/dist/es/icon/src/TxIcon.vue.js +1 -1
  204. package/dist/es/icon/src/TxIcon.vue2.js +10 -4
  205. package/dist/es/image-gallery/index.js +1 -1
  206. package/dist/es/image-uploader/index.js +1 -1
  207. package/dist/es/index.js +53 -13
  208. package/dist/es/input/index.d.ts +211 -1
  209. package/dist/es/input/index.js +2 -1
  210. package/dist/es/input/src/TxInput.vue.d.ts +21 -11
  211. package/dist/es/input/src/TxInput.vue.js +1 -1
  212. package/dist/es/input/src/TxInput.vue2.js +80 -23
  213. package/dist/es/keyframe-stroke-text/index.d.ts +146 -0
  214. package/dist/es/keyframe-stroke-text/index.js +6 -0
  215. package/dist/es/keyframe-stroke-text/src/TxKeyframeStrokeText.vue.d.ts +48 -0
  216. package/dist/es/keyframe-stroke-text/src/TxKeyframeStrokeText.vue.js +7 -0
  217. package/dist/es/keyframe-stroke-text/src/TxKeyframeStrokeText.vue2.js +102 -0
  218. package/dist/es/keyframe-stroke-text/src/types.d.ts +10 -0
  219. package/dist/es/layout-skeleton/index.js +1 -1
  220. package/dist/es/loading-overlay/index.d.ts +15 -15
  221. package/dist/es/loading-overlay/index.js +1 -1
  222. package/dist/es/loading-overlay/src/TxLoadingOverlay.vue.d.ts +1 -1
  223. package/dist/es/loading-overlay/src/TxLoadingOverlay.vue.js +12 -2
  224. package/dist/es/loading-state/index.d.ts +9 -9
  225. package/dist/es/loading-state/index.js +1 -1
  226. package/dist/es/markdown-view/index.d.ts +3 -3
  227. package/dist/es/markdown-view/index.js +1 -1
  228. package/dist/es/markdown-view/src/TxMarkdownView.vue.js +3 -2
  229. package/dist/es/modal/index.js +1 -1
  230. package/dist/es/modal/src/TxModal.vue.js +1 -1
  231. package/dist/es/modal/src/TxModal.vue2.js +26 -4
  232. package/dist/es/nav-bar/index.js +1 -1
  233. package/dist/es/no-data/index.d.ts +9 -9
  234. package/dist/es/no-data/index.js +1 -1
  235. package/dist/es/no-selection/index.d.ts +9 -9
  236. package/dist/es/no-selection/index.js +1 -1
  237. package/dist/es/node_modules/.pnpm/@codemirror_legacy-modes@6.5.2/node_modules/@codemirror/legacy-modes/mode/properties.js +62 -0
  238. package/dist/es/node_modules/.pnpm/@codemirror_legacy-modes@6.5.2/node_modules/@codemirror/legacy-modes/mode/toml.js +76 -0
  239. package/dist/es/node_modules/.pnpm/@lezer_common@1.5.0/node_modules/@lezer/common/dist/index.js +252 -0
  240. package/dist/es/node_modules/.pnpm/@lezer_highlight@1.2.3/node_modules/@lezer/highlight/dist/index.js +682 -0
  241. package/dist/es/offline-state/index.d.ts +9 -9
  242. package/dist/es/offline-state/index.js +1 -1
  243. package/dist/es/outline-border/index.d.ts +18 -18
  244. package/dist/es/outline-border/index.js +1 -1
  245. package/dist/es/outline-border/src/TxOutlineBorder.vue.d.ts +1 -1
  246. package/dist/es/{utils → packages/tuffex/packages/utils}/toast.js +4 -1
  247. package/dist/es/packages/tuffex/packages/utils/z-index-manager.js +114 -0
  248. package/dist/es/packages/utils/env/index.js +8 -0
  249. package/dist/es/permission-state/index.d.ts +9 -9
  250. package/dist/es/permission-state/index.js +1 -1
  251. package/dist/es/picker/index.js +1 -1
  252. package/dist/es/picker/src/TxPicker.vue.js +1 -1
  253. package/dist/es/picker/src/TxPicker.vue2.js +6 -1
  254. package/dist/es/popover/index.d.ts +195 -82
  255. package/dist/es/popover/index.js +1 -1
  256. package/dist/es/popover/src/TxPopover.vue.d.ts +33 -16
  257. package/dist/es/popover/src/TxPopover.vue.js +1 -1
  258. package/dist/es/popover/src/TxPopover.vue2.js +147 -317
  259. package/dist/es/popover/src/types.d.ts +14 -3
  260. package/dist/es/progress-bar/index.d.ts +21 -21
  261. package/dist/es/progress-bar/index.js +1 -1
  262. package/dist/es/progress-bar/src/TxProgressBar.vue.d.ts +1 -1
  263. package/dist/es/radio/index.js +1 -1
  264. package/dist/es/radio/src/TxRadioGroup.vue2.js +1 -1
  265. package/dist/es/scroll/index.d.ts +42 -12
  266. package/dist/es/scroll/index.js +1 -1
  267. package/dist/es/scroll/src/TxScroll.vue.d.ts +11 -1
  268. package/dist/es/scroll/src/TxScroll.vue.js +1 -1
  269. package/dist/es/scroll/src/TxScroll.vue2.js +25 -13
  270. package/dist/es/scroll/src/runtime-capabilities.d.ts +2 -0
  271. package/dist/es/scroll/src/runtime-capabilities.js +67 -0
  272. package/dist/es/search-empty/index.d.ts +9 -9
  273. package/dist/es/search-empty/index.js +1 -1
  274. package/dist/es/search-input/index.js +1 -1
  275. package/dist/es/search-select/index.d.ts +9 -9
  276. package/dist/es/search-select/index.js +1 -1
  277. package/dist/es/search-select/src/TxSearchSelect.vue.d.ts +1 -1
  278. package/dist/es/search-select/src/TxSearchSelect.vue.js +1 -1
  279. package/dist/es/search-select/src/TxSearchSelect.vue2.js +105 -178
  280. package/dist/es/search-select/src/types.d.ts +1 -1
  281. package/dist/es/segmented-slider/index.js +1 -1
  282. package/dist/es/segmented-slider/src/TxSegmentedSlider.vue.js +1 -0
  283. package/dist/es/select/index.d.ts +366 -4
  284. package/dist/es/select/index.js +6 -9
  285. package/dist/es/select/src/TxSelect.vue.d.ts +23 -23
  286. package/dist/es/select/src/TxSelect.vue.js +2 -2
  287. package/dist/es/select/src/TxSelect.vue2.js +203 -152
  288. package/dist/es/select/src/TxSelectItem.vue.js +2 -2
  289. package/dist/es/select/src/TxSelectItem.vue2.js +44 -7
  290. package/dist/es/select/src/types.d.ts +34 -0
  291. package/dist/es/select/src/types.js +3 -0
  292. package/dist/es/skeleton/index.d.ts +7 -7
  293. package/dist/es/skeleton/index.js +1 -1
  294. package/dist/es/slider/index.d.ts +4 -4
  295. package/dist/es/slider/index.js +1 -1
  296. package/dist/es/sortable-list/index.js +1 -1
  297. package/dist/es/sortable-list/src/TxSortableList.vue.js +1 -1
  298. package/dist/es/sortable-list/src/TxSortableList.vue2.js +1 -1
  299. package/dist/es/spinner/index.d.ts +1 -1
  300. package/dist/es/spinner/index.js +1 -1
  301. package/dist/es/splitter/index.d.ts +15 -15
  302. package/dist/es/splitter/index.js +1 -1
  303. package/dist/es/splitter/src/TxSplitter.vue.d.ts +1 -1
  304. package/dist/es/stack/index.d.ts +33 -33
  305. package/dist/es/stack/index.js +1 -1
  306. package/dist/es/stack/src/TxStack.vue.d.ts +3 -3
  307. package/dist/es/stagger/index.d.ts +15 -15
  308. package/dist/es/stagger/index.js +1 -1
  309. package/dist/es/stagger/src/TxStagger.vue.d.ts +1 -1
  310. package/dist/es/stat-card/index.d.ts +46 -3
  311. package/dist/es/stat-card/index.js +1 -1
  312. package/dist/es/stat-card/src/TxStatCard.vue.d.ts +5 -1
  313. package/dist/es/stat-card/src/TxStatCard.vue.js +1 -1
  314. package/dist/es/stat-card/src/TxStatCard.vue2.js +247 -19
  315. package/dist/es/stat-card/src/types.d.ts +15 -0
  316. package/dist/es/status-badge/index.js +1 -1
  317. package/dist/es/switch/index.js +1 -0
  318. package/dist/es/tab-bar/index.d.ts +15 -15
  319. package/dist/es/tab-bar/index.js +1 -1
  320. package/dist/es/tab-bar/src/TxTabBar.vue.d.ts +1 -1
  321. package/dist/es/tabs/index.d.ts +18 -3
  322. package/dist/es/tabs/index.js +1 -1
  323. package/dist/es/tabs/src/TxTabs.vue.d.ts +10 -1
  324. package/dist/es/tabs/src/TxTabs.vue.js +1 -1
  325. package/dist/es/tabs/src/TxTabs.vue2.js +3 -1
  326. package/dist/es/tabs/src/types.d.ts +1 -0
  327. package/dist/es/tag/index.js +1 -1
  328. package/dist/es/tag-input/index.js +1 -1
  329. package/dist/es/text-transformer/index.d.ts +1 -1
  330. package/dist/es/text-transformer/index.js +1 -1
  331. package/dist/es/toast/index.js +1 -1
  332. package/dist/es/toast/src/TxToastHost.vue.js +18 -17
  333. package/dist/es/tooltip/index.d.ts +75 -178
  334. package/dist/es/tooltip/index.js +1 -1
  335. package/dist/es/tooltip/src/TxTooltip.vue.d.ts +21 -40
  336. package/dist/es/tooltip/src/TxTooltip.vue.js +1 -1
  337. package/dist/es/tooltip/src/TxTooltip.vue2.js +102 -350
  338. package/dist/es/tooltip/src/types.d.ts +8 -13
  339. package/dist/es/transfer/index.d.ts +131 -0
  340. package/dist/es/transfer/index.js +6 -0
  341. package/dist/es/transfer/src/TxTransfer.vue.d.ts +48 -0
  342. package/dist/es/transfer/src/TxTransfer.vue.js +7 -0
  343. package/dist/es/transfer/src/TxTransfer.vue2.js +217 -0
  344. package/dist/es/transfer/src/types.d.ts +17 -0
  345. package/dist/es/transition/index.d.ts +30 -30
  346. package/dist/es/transition/index.js +1 -1
  347. package/dist/es/transition/src/TxTransition.vue.d.ts +1 -1
  348. package/dist/es/transition/src/TxTransitionSmoothSize.vue.d.ts +1 -1
  349. package/dist/es/tree/index.d.ts +15 -15
  350. package/dist/es/tree/index.js +1 -1
  351. package/dist/es/tree/src/TxTree.vue.d.ts +1 -1
  352. package/dist/es/tree/src/TxTree.vue.js +1 -1
  353. package/dist/es/tree/src/TxTree.vue2.js +3 -2
  354. package/dist/es/tree/src/types.d.ts +1 -0
  355. package/dist/es/tree-select/index.d.ts +9 -9
  356. package/dist/es/tree-select/index.js +1 -1
  357. package/dist/es/tree-select/src/TxTreeSelect.vue.d.ts +1 -1
  358. package/dist/es/tree-select/src/TxTreeSelect.vue.js +1 -1
  359. package/dist/es/tree-select/src/TxTreeSelect.vue2.js +0 -2
  360. package/dist/es/tuff-logo-stroke/index.d.ts +146 -0
  361. package/dist/es/tuff-logo-stroke/index.js +6 -0
  362. package/dist/es/tuff-logo-stroke/src/TxTuffLogoStroke.vue.d.ts +48 -0
  363. package/dist/es/tuff-logo-stroke/src/TxTuffLogoStroke.vue.js +7 -0
  364. package/dist/es/tuff-logo-stroke/src/TxTuffLogoStroke.vue2.js +147 -0
  365. package/dist/es/tuff-logo-stroke/src/types.d.ts +10 -0
  366. package/dist/es/virtual-list/index.js +1 -1
  367. package/dist/lib/agents/index.js +1 -1
  368. package/dist/lib/alert/index.js +11 -0
  369. package/dist/lib/alert/src/TxAlert.vue.js +2 -2
  370. package/dist/lib/alert/src/TxAlert.vue2.js +5 -1
  371. package/dist/lib/auto-sizer/index.js +1 -1
  372. package/dist/lib/auto-sizer/src/TxAutoSizer.vue.js +2 -2
  373. package/dist/lib/avatar/index.js +1 -1
  374. package/dist/lib/avatar/src/TxAvatar.vue.js +1 -1
  375. package/dist/lib/avatar/src/TxAvatar.vue2.js +47 -6
  376. package/dist/lib/avatar/src/TxAvatarGroup.vue.js +1 -1
  377. package/dist/lib/avatar/src/TxAvatarGroup.vue2.js +1 -1
  378. package/dist/lib/badge/index.js +11 -0
  379. package/dist/lib/badge/src/TxBadge.vue.js +2 -2
  380. package/dist/lib/base-anchor/index.js +12 -0
  381. package/dist/lib/base-anchor/src/TxBaseAnchor.vue.js +11 -0
  382. package/dist/lib/base-anchor/src/TxBaseAnchor.vue2.js +802 -0
  383. package/dist/lib/base-surface/index.js +13 -0
  384. package/dist/lib/base-surface/src/TxBaseSurface.vue.js +1016 -0
  385. package/dist/lib/base-surface/src/TxBaseSurface.vue2.js +10 -0
  386. package/dist/lib/base-surface/src/style/index.css +105 -0
  387. package/dist/lib/blank-slate/index.js +1 -1
  388. package/dist/lib/button/index.js +2 -1
  389. package/dist/lib/button/src/button.vue.js +49 -19
  390. package/dist/lib/button/src/split-button.vue.js +30 -4
  391. package/dist/lib/button/src/style/index.css +72 -15
  392. package/dist/lib/card/index.js +1 -1
  393. package/dist/lib/card/src/TxCard.vue.js +1 -1
  394. package/dist/lib/card/src/TxCard.vue2.js +285 -54
  395. package/dist/lib/card-item/index.js +1 -1
  396. package/dist/lib/cascader/index.js +1 -1
  397. package/dist/lib/cascader/src/TxCascader.vue.js +1 -1
  398. package/dist/lib/cascader/src/TxCascader.vue2.js +1 -3
  399. package/dist/lib/chat/index.js +1 -1
  400. package/dist/lib/chat/src/TxChatComposer.vue.js +1 -1
  401. package/dist/lib/chat/src/TxChatComposer.vue2.js +1 -0
  402. package/dist/lib/code-editor/index.js +16 -0
  403. package/dist/lib/code-editor/src/TxCodeEditor.vue.js +11 -0
  404. package/dist/lib/code-editor/src/TxCodeEditor.vue2.js +662 -0
  405. package/dist/lib/code-editor/src/TxCodeEditorToolbar.vue.js +11 -0
  406. package/dist/lib/code-editor/src/TxCodeEditorToolbar.vue2.js +93 -0
  407. package/dist/lib/command-palette/index.js +1 -1
  408. package/dist/lib/command-palette/src/TxCommandPalette.vue.js +1 -1
  409. package/dist/lib/command-palette/src/TxCommandPalette.vue2.js +127 -20
  410. package/dist/lib/components.css +4253 -3117
  411. package/dist/lib/components.js +255 -178
  412. package/dist/lib/container/src/TxCol.vue2.js +1 -1
  413. package/dist/lib/container/src/TxRow.vue2.js +1 -1
  414. package/dist/lib/context-menu/index.js +1 -1
  415. package/dist/lib/context-menu/src/TxContextMenu.vue.js +1 -1
  416. package/dist/lib/context-menu/src/TxContextMenu.vue2.js +4 -1
  417. package/dist/lib/corner-overlay/index.js +1 -1
  418. package/dist/lib/data-table/index.js +1 -1
  419. package/dist/lib/date-picker/index.js +1 -1
  420. package/dist/lib/dialog/index.js +1 -1
  421. package/dist/lib/dialog/src/TxBlowDialog.vue.js +5 -1
  422. package/dist/lib/dialog/src/TxBottomDialog.vue.js +1 -1
  423. package/dist/lib/dialog/src/TxBottomDialog.vue2.js +5 -1
  424. package/dist/lib/dialog/src/TxPopperDialog.vue.js +5 -1
  425. package/dist/lib/dialog/src/TxTouchTip.vue.js +1 -1
  426. package/dist/lib/dialog/src/TxTouchTip.vue2.js +24 -21
  427. package/dist/lib/drawer/index.js +1 -1
  428. package/dist/lib/drawer/src/TxDrawer.vue.js +8 -2
  429. package/dist/lib/dropdown-menu/index.js +1 -1
  430. package/dist/lib/dropdown-menu/src/TxDropdownMenu.vue.js +1 -1
  431. package/dist/lib/dropdown-menu/src/TxDropdownMenu.vue2.js +13 -3
  432. package/dist/lib/edge-fade-mask/index.js +12 -0
  433. package/dist/lib/edge-fade-mask/src/TxEdgeFadeMask.vue.js +11 -0
  434. package/dist/lib/edge-fade-mask/src/TxEdgeFadeMask.vue2.js +158 -0
  435. package/dist/lib/empty/index.js +1 -1
  436. package/dist/lib/empty-state/index.js +1 -1
  437. package/dist/lib/empty-state/src/TxEmptyState.vue.js +1 -1
  438. package/dist/lib/empty-state/src/TxEmptyState.vue2.js +25 -17
  439. package/dist/lib/error-state/index.js +11 -0
  440. package/dist/lib/error-state/src/TxErrorState.vue.js +39 -0
  441. package/dist/lib/error-state/src/TxErrorState.vue2.js +9 -0
  442. package/dist/lib/file-uploader/index.js +1 -1
  443. package/dist/lib/flat-radio/index.js +16 -0
  444. package/dist/lib/flat-radio/src/TxFlatRadio.vue.js +11 -0
  445. package/dist/lib/flat-radio/src/TxFlatRadio.vue2.js +241 -0
  446. package/dist/lib/flat-radio/src/TxFlatRadioItem.vue.js +11 -0
  447. package/dist/lib/flat-radio/src/TxFlatRadioItem.vue2.js +91 -0
  448. package/dist/lib/flat-radio/src/types.js +7 -0
  449. package/dist/lib/flat-select/index.js +16 -0
  450. package/dist/lib/flat-select/src/TxFlatSelect.vue.js +11 -0
  451. package/dist/lib/flat-select/src/TxFlatSelect.vue2.js +212 -0
  452. package/dist/lib/flat-select/src/TxFlatSelectItem.vue.js +11 -0
  453. package/dist/lib/flat-select/src/TxFlatSelectItem.vue2.js +75 -0
  454. package/dist/lib/flat-select/src/types.js +7 -0
  455. package/dist/lib/flex/index.js +1 -1
  456. package/dist/lib/flip-overlay/index.js +13 -0
  457. package/dist/lib/flip-overlay/src/TxFlipOverlay.vue.js +986 -0
  458. package/dist/lib/flip-overlay/src/TxFlipOverlay.vue3.js +10 -0
  459. package/dist/lib/floating/index.js +16 -0
  460. package/dist/lib/floating/src/TxFloating.vue.js +11 -0
  461. package/dist/lib/floating/src/TxFloating.vue2.js +122 -0
  462. package/dist/lib/floating/src/TxFloatingElement.vue.js +11 -0
  463. package/dist/lib/floating/src/TxFloatingElement.vue2.js +47 -0
  464. package/dist/lib/floating/src/context.js +7 -0
  465. package/dist/lib/form/index.js +1 -1
  466. package/dist/lib/fusion/index.js +1 -1
  467. package/dist/lib/glass-surface/index.js +1 -1
  468. package/dist/lib/glass-surface/src/TxGlassSurface.vue.js +15 -37
  469. package/dist/lib/glow-text/index.js +1 -1
  470. package/dist/lib/glow-text/src/TxGlowText.vue.js +1 -1
  471. package/dist/lib/glow-text/src/TxGlowText.vue2.js +92 -9
  472. package/dist/lib/gradient-border/index.js +1 -1
  473. package/dist/lib/gradual-blur/index.js +1 -1
  474. package/dist/lib/gradual-blur/src/TxGradualBlur.vue.js +1 -1
  475. package/dist/lib/grid/src/TxGrid.vue2.js +1 -1
  476. package/dist/lib/grid-layout/index.js +1 -1
  477. package/dist/lib/group-block/index.js +11 -1
  478. package/dist/lib/group-block/src/TxBlockInput.vue.js +98 -0
  479. package/dist/lib/group-block/src/TxBlockInput.vue3.js +10 -0
  480. package/dist/lib/group-block/src/TxBlockSelect.vue.js +80 -0
  481. package/dist/lib/group-block/src/TxBlockSelect.vue3.js +10 -0
  482. package/dist/lib/group-block/src/TxGroupBlock.vue.js +1 -1
  483. package/dist/lib/guide-state/index.js +11 -0
  484. package/dist/lib/guide-state/src/TxGuideState.vue.js +39 -0
  485. package/dist/lib/guide-state/src/TxGuideState.vue2.js +9 -0
  486. package/dist/lib/icon/index.js +1 -1
  487. package/dist/lib/icon/src/TxIcon.vue.js +1 -1
  488. package/dist/lib/icon/src/TxIcon.vue2.js +9 -3
  489. package/dist/lib/image-gallery/index.js +1 -1
  490. package/dist/lib/image-uploader/index.js +1 -1
  491. package/dist/lib/index.js +269 -182
  492. package/dist/lib/input/index.js +7 -5
  493. package/dist/lib/input/src/TxInput.vue.js +1 -1
  494. package/dist/lib/input/src/TxInput.vue2.js +79 -22
  495. package/dist/lib/keyframe-stroke-text/index.js +12 -0
  496. package/dist/lib/keyframe-stroke-text/src/TxKeyframeStrokeText.vue.js +11 -0
  497. package/dist/lib/keyframe-stroke-text/src/TxKeyframeStrokeText.vue2.js +106 -0
  498. package/dist/lib/layout-skeleton/index.js +1 -1
  499. package/dist/lib/loading-overlay/index.js +1 -1
  500. package/dist/lib/loading-overlay/src/TxLoadingOverlay.vue.js +11 -1
  501. package/dist/lib/loading-state/index.js +1 -1
  502. package/dist/lib/markdown-view/index.js +1 -1
  503. package/dist/lib/markdown-view/src/TxMarkdownView.vue.js +3 -2
  504. package/dist/lib/modal/index.js +1 -1
  505. package/dist/lib/modal/src/TxModal.vue.js +1 -1
  506. package/dist/lib/modal/src/TxModal.vue2.js +25 -3
  507. package/dist/lib/nav-bar/index.js +1 -1
  508. package/dist/lib/no-data/index.js +1 -1
  509. package/dist/lib/no-selection/index.js +1 -1
  510. package/dist/lib/node_modules/.pnpm/@codemirror_legacy-modes@6.5.2/node_modules/@codemirror/legacy-modes/mode/properties.js +66 -0
  511. package/dist/lib/node_modules/.pnpm/@codemirror_legacy-modes@6.5.2/node_modules/@codemirror/legacy-modes/mode/toml.js +80 -0
  512. package/dist/lib/node_modules/.pnpm/@lezer_common@1.5.0/node_modules/@lezer/common/dist/index.js +257 -0
  513. package/dist/lib/node_modules/.pnpm/@lezer_highlight@1.2.3/node_modules/@lezer/highlight/dist/index.js +688 -0
  514. package/dist/lib/offline-state/index.js +1 -1
  515. package/dist/lib/outline-border/index.js +1 -1
  516. package/dist/lib/{utils → packages/tuffex/packages/utils}/toast.js +4 -1
  517. package/dist/lib/packages/tuffex/packages/utils/z-index-manager.js +124 -0
  518. package/dist/lib/packages/utils/env/index.js +13 -0
  519. package/dist/lib/permission-state/index.js +1 -1
  520. package/dist/lib/picker/index.js +1 -1
  521. package/dist/lib/picker/src/TxPicker.vue.js +1 -1
  522. package/dist/lib/picker/src/TxPicker.vue2.js +6 -1
  523. package/dist/lib/popover/index.js +1 -1
  524. package/dist/lib/popover/src/TxPopover.vue.js +1 -1
  525. package/dist/lib/popover/src/TxPopover.vue2.js +146 -316
  526. package/dist/lib/progress-bar/index.js +1 -1
  527. package/dist/lib/radio/index.js +1 -1
  528. package/dist/lib/radio/src/TxRadioGroup.vue2.js +1 -1
  529. package/dist/lib/scroll/index.js +1 -1
  530. package/dist/lib/scroll/src/TxScroll.vue.js +1 -1
  531. package/dist/lib/scroll/src/TxScroll.vue2.js +25 -13
  532. package/dist/lib/scroll/src/runtime-capabilities.js +72 -0
  533. package/dist/lib/search-empty/index.js +1 -1
  534. package/dist/lib/search-input/index.js +1 -1
  535. package/dist/lib/search-select/index.js +1 -1
  536. package/dist/lib/search-select/src/TxSearchSelect.vue.js +1 -1
  537. package/dist/lib/search-select/src/TxSearchSelect.vue2.js +104 -177
  538. package/dist/lib/segmented-slider/index.js +1 -1
  539. package/dist/lib/segmented-slider/src/TxSegmentedSlider.vue.js +1 -0
  540. package/dist/lib/select/index.js +6 -9
  541. package/dist/lib/select/src/TxSelect.vue.js +2 -2
  542. package/dist/lib/select/src/TxSelect.vue2.js +202 -151
  543. package/dist/lib/select/src/TxSelectItem.vue.js +2 -2
  544. package/dist/lib/select/src/TxSelectItem.vue2.js +43 -6
  545. package/dist/lib/select/src/types.js +7 -0
  546. package/dist/lib/skeleton/index.js +1 -1
  547. package/dist/lib/slider/index.js +1 -1
  548. package/dist/lib/sortable-list/index.js +1 -1
  549. package/dist/lib/sortable-list/src/TxSortableList.vue.js +1 -1
  550. package/dist/lib/sortable-list/src/TxSortableList.vue2.js +1 -1
  551. package/dist/lib/spinner/index.js +1 -1
  552. package/dist/lib/splitter/index.js +1 -1
  553. package/dist/lib/stack/index.js +1 -1
  554. package/dist/lib/stagger/index.js +1 -1
  555. package/dist/lib/stat-card/index.js +1 -1
  556. package/dist/lib/stat-card/src/TxStatCard.vue.js +1 -1
  557. package/dist/lib/stat-card/src/TxStatCard.vue2.js +246 -18
  558. package/dist/lib/status-badge/index.js +1 -1
  559. package/dist/lib/switch/index.js +1 -0
  560. package/dist/lib/tab-bar/index.js +1 -1
  561. package/dist/lib/tabs/index.js +1 -1
  562. package/dist/lib/tabs/src/TxTabs.vue.js +1 -1
  563. package/dist/lib/tabs/src/TxTabs.vue2.js +3 -1
  564. package/dist/lib/tag/index.js +1 -1
  565. package/dist/lib/tag-input/index.js +1 -1
  566. package/dist/lib/text-transformer/index.js +1 -1
  567. package/dist/lib/toast/index.js +1 -1
  568. package/dist/lib/toast/src/TxToastHost.vue.js +17 -16
  569. package/dist/lib/tooltip/index.js +1 -1
  570. package/dist/lib/tooltip/src/TxTooltip.vue.js +1 -1
  571. package/dist/lib/tooltip/src/TxTooltip.vue2.js +101 -349
  572. package/dist/lib/transfer/index.js +12 -0
  573. package/dist/lib/transfer/src/TxTransfer.vue.js +11 -0
  574. package/dist/lib/transfer/src/TxTransfer.vue2.js +221 -0
  575. package/dist/lib/transition/index.js +1 -1
  576. package/dist/lib/tree/index.js +1 -1
  577. package/dist/lib/tree/src/TxTree.vue.js +1 -1
  578. package/dist/lib/tree/src/TxTree.vue2.js +3 -2
  579. package/dist/lib/tree-select/index.js +1 -1
  580. package/dist/lib/tree-select/src/TxTreeSelect.vue.js +1 -1
  581. package/dist/lib/tree-select/src/TxTreeSelect.vue2.js +0 -2
  582. package/dist/lib/tuff-logo-stroke/index.js +12 -0
  583. package/dist/lib/tuff-logo-stroke/src/TxTuffLogoStroke.vue.js +11 -0
  584. package/dist/lib/tuff-logo-stroke/src/TxTuffLogoStroke.vue2.js +151 -0
  585. package/dist/lib/virtual-list/index.js +1 -1
  586. package/package.json +37 -25
  587. package/dist/es/button/__tests__/button.test.d.ts +0 -1
  588. package/dist/es/button/__tests__/split-button.test.d.ts +0 -1
  589. package/dist/es/cascader/__tests__/cascader.test.d.ts +0 -1
  590. package/dist/es/command-palette/__tests__/command-palette.test.d.ts +0 -1
  591. package/dist/es/data-table/__tests__/data-table.test.d.ts +0 -1
  592. package/dist/es/file-uploader/__tests__/file-uploader.test.d.ts +0 -1
  593. package/dist/es/form/__tests__/form.test.d.ts +0 -1
  594. package/dist/es/search-select/__tests__/search-select.test.d.ts +0 -1
  595. package/dist/es/tag-input/__tests__/tag-input.test.d.ts +0 -1
  596. package/dist/es/tree/__tests__/tree.test.d.ts +0 -1
  597. package/dist/es/tree-select/__tests__/tree-select.test.d.ts +0 -1
  598. package/dist/es/virtual-list/__tests__/virtual-list.test.d.ts +0 -1
  599. /package/dist/es/{utils → packages/tuffex/packages/utils}/animation/auto-resize.js +0 -0
  600. /package/dist/es/{utils → packages/tuffex/packages/utils}/animation/flip.js +0 -0
  601. /package/dist/es/{utils → packages/tuffex/packages/utils}/dialog-manager.js +0 -0
  602. /package/dist/es/{utils → packages/tuffex/packages/utils}/env.js +0 -0
  603. /package/dist/es/{utils → packages/tuffex/packages/utils}/vibrate.js +0 -0
  604. /package/dist/es/{utils → packages/tuffex/packages/utils}/withInstall.js +0 -0
  605. /package/dist/lib/{utils → packages/tuffex/packages/utils}/animation/auto-resize.js +0 -0
  606. /package/dist/lib/{utils → packages/tuffex/packages/utils}/animation/flip.js +0 -0
  607. /package/dist/lib/{utils → packages/tuffex/packages/utils}/dialog-manager.js +0 -0
  608. /package/dist/lib/{utils → packages/tuffex/packages/utils}/env.js +0 -0
  609. /package/dist/lib/{utils → packages/tuffex/packages/utils}/vibrate.js +0 -0
  610. /package/dist/lib/{utils → packages/tuffex/packages/utils}/withInstall.js +0 -0
@@ -0,0 +1,90 @@
1
+ import { TxIconSource } from '../../icon';
2
+
3
+ type IconValue = TxIconSource | string | null | undefined;
4
+ declare function __VLS_template(): {
5
+ tags?(_: {}): any;
6
+ control?(_: {
7
+ value: string | number;
8
+ focused: boolean;
9
+ }): any;
10
+ };
11
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
12
+ title?: string;
13
+ description?: string;
14
+ modelValue?: string | number;
15
+ defaultIcon?: IconValue;
16
+ activeIcon?: IconValue;
17
+ disabled?: boolean;
18
+ placeholder?: string;
19
+ clearable?: boolean;
20
+ inputType?: "text" | "password" | "number" | "email";
21
+ /** @deprecated Use defaultIcon instead. */
22
+ icon?: string;
23
+ }>, {
24
+ title: string;
25
+ description: string;
26
+ disabled: boolean;
27
+ placeholder: string;
28
+ clearable: boolean;
29
+ inputType: string;
30
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
+ input: (value: string | number) => void;
32
+ blur: (event: FocusEvent) => void;
33
+ focus: (event: FocusEvent) => void;
34
+ "update:modelValue": (value: string | number) => void;
35
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
36
+ title?: string;
37
+ description?: string;
38
+ modelValue?: string | number;
39
+ defaultIcon?: IconValue;
40
+ activeIcon?: IconValue;
41
+ disabled?: boolean;
42
+ placeholder?: string;
43
+ clearable?: boolean;
44
+ inputType?: "text" | "password" | "number" | "email";
45
+ /** @deprecated Use defaultIcon instead. */
46
+ icon?: string;
47
+ }>, {
48
+ title: string;
49
+ description: string;
50
+ disabled: boolean;
51
+ placeholder: string;
52
+ clearable: boolean;
53
+ inputType: string;
54
+ }>>> & Readonly<{
55
+ onInput?: ((value: string | number) => any) | undefined;
56
+ onBlur?: ((event: FocusEvent) => any) | undefined;
57
+ onFocus?: ((event: FocusEvent) => any) | undefined;
58
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
59
+ }>, {
60
+ title: string;
61
+ description: string;
62
+ disabled: boolean;
63
+ placeholder: string;
64
+ clearable: boolean;
65
+ inputType: "text" | "password" | "number" | "email";
66
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
67
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
68
+ export default _default;
69
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
70
+ type __VLS_TypePropsToRuntimeProps<T> = {
71
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
72
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
73
+ } : {
74
+ type: import('vue').PropType<T[K]>;
75
+ required: true;
76
+ };
77
+ };
78
+ type __VLS_WithDefaults<P, D> = {
79
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
80
+ default: D[K];
81
+ }> : P[K];
82
+ };
83
+ type __VLS_Prettify<T> = {
84
+ [K in keyof T]: T[K];
85
+ } & {};
86
+ type __VLS_WithTemplateSlots<T, S> = T & {
87
+ new (): {
88
+ $slots: S;
89
+ };
90
+ };
@@ -0,0 +1,94 @@
1
+ import { defineComponent, computed, ref, createBlock, openBlock, withCtx, renderSlot, createVNode } from 'vue';
2
+ import TuffInput from '../../input/src/TxInput.vue.js';
3
+ import _sfc_main$1 from './TxBlockSlot.vue.js';
4
+ /* empty css */
5
+
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ ...{
8
+ name: "TxBlockInput"
9
+ },
10
+ __name: "TxBlockInput",
11
+ props: {
12
+ title: { default: "" },
13
+ description: { default: "" },
14
+ modelValue: {},
15
+ defaultIcon: {},
16
+ activeIcon: {},
17
+ disabled: { type: Boolean, default: false },
18
+ placeholder: { default: "" },
19
+ clearable: { type: Boolean, default: false },
20
+ inputType: { default: "text" },
21
+ icon: {}
22
+ },
23
+ emits: ["update:modelValue", "input", "focus", "blur"],
24
+ setup(__props, { emit: __emit }) {
25
+ const props = __props;
26
+ const emit = __emit;
27
+ const value = computed({
28
+ get: () => props.modelValue ?? "",
29
+ set: (val) => {
30
+ emit("update:modelValue", val);
31
+ }
32
+ });
33
+ const isFocused = ref(false);
34
+ const isActive = computed(() => isFocused.value);
35
+ const resolvedDefaultIcon = computed(() => {
36
+ if (props.defaultIcon !== void 0)
37
+ return props.defaultIcon;
38
+ return props.icon;
39
+ });
40
+ const resolvedActiveIcon = computed(() => {
41
+ if (props.activeIcon !== void 0)
42
+ return props.activeIcon;
43
+ return void 0;
44
+ });
45
+ function handleFocus(e) {
46
+ isFocused.value = true;
47
+ emit("focus", e);
48
+ }
49
+ function handleBlur(e) {
50
+ isFocused.value = false;
51
+ emit("blur", e);
52
+ }
53
+ function handleInput(val) {
54
+ emit("input", val);
55
+ }
56
+ return (_ctx, _cache) => {
57
+ return openBlock(), createBlock(_sfc_main$1, {
58
+ class: "tx-block-input",
59
+ title: __props.title,
60
+ description: __props.description,
61
+ "default-icon": resolvedDefaultIcon.value,
62
+ "active-icon": resolvedActiveIcon.value,
63
+ active: isActive.value,
64
+ disabled: __props.disabled
65
+ }, {
66
+ tags: withCtx(() => [
67
+ renderSlot(_ctx.$slots, "tags")
68
+ ]),
69
+ default: withCtx(() => [
70
+ renderSlot(_ctx.$slots, "control", {
71
+ value: value.value,
72
+ focused: isFocused.value
73
+ }, () => [
74
+ createVNode(TuffInput, {
75
+ modelValue: value.value,
76
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
77
+ type: __props.inputType,
78
+ placeholder: __props.placeholder,
79
+ disabled: __props.disabled,
80
+ clearable: __props.clearable,
81
+ class: "tx-block-input__input",
82
+ onFocus: handleFocus,
83
+ onBlur: handleBlur,
84
+ onInput: handleInput
85
+ }, null, 8, ["modelValue", "type", "placeholder", "disabled", "clearable"])
86
+ ])
87
+ ]),
88
+ _: 3
89
+ }, 8, ["title", "description", "default-icon", "active-icon", "active", "disabled"]);
90
+ };
91
+ }
92
+ });
93
+
94
+ export { _sfc_main as default };
@@ -0,0 +1,6 @@
1
+ import _sfc_main from './TxBlockInput.vue.js';
2
+ /* empty css */
3
+
4
+
5
+
6
+ export { _sfc_main as default };
@@ -0,0 +1,73 @@
1
+ import { TxIconSource } from '../../icon';
2
+
3
+ type IconValue = TxIconSource | string | null | undefined;
4
+ declare function __VLS_template(): {
5
+ tags?(_: {}): any;
6
+ default?(_: {}): any;
7
+ };
8
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ title?: string;
10
+ description?: string;
11
+ modelValue?: string | number;
12
+ defaultIcon?: IconValue;
13
+ activeIcon?: IconValue;
14
+ disabled?: boolean;
15
+ placeholder?: string;
16
+ /** @deprecated Use defaultIcon instead. */
17
+ icon?: string;
18
+ }>, {
19
+ title: string;
20
+ description: string;
21
+ disabled: boolean;
22
+ placeholder: string;
23
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
+ change: (value: string | number) => void;
25
+ "update:modelValue": (value: string | number) => void;
26
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
27
+ title?: string;
28
+ description?: string;
29
+ modelValue?: string | number;
30
+ defaultIcon?: IconValue;
31
+ activeIcon?: IconValue;
32
+ disabled?: boolean;
33
+ placeholder?: string;
34
+ /** @deprecated Use defaultIcon instead. */
35
+ icon?: string;
36
+ }>, {
37
+ title: string;
38
+ description: string;
39
+ disabled: boolean;
40
+ placeholder: string;
41
+ }>>> & Readonly<{
42
+ onChange?: ((value: string | number) => any) | undefined;
43
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
44
+ }>, {
45
+ title: string;
46
+ description: string;
47
+ disabled: boolean;
48
+ placeholder: string;
49
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
50
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
51
+ export default _default;
52
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
53
+ type __VLS_TypePropsToRuntimeProps<T> = {
54
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
55
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
56
+ } : {
57
+ type: import('vue').PropType<T[K]>;
58
+ required: true;
59
+ };
60
+ };
61
+ type __VLS_WithDefaults<P, D> = {
62
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
63
+ default: D[K];
64
+ }> : P[K];
65
+ };
66
+ type __VLS_Prettify<T> = {
67
+ [K in keyof T]: T[K];
68
+ } & {};
69
+ type __VLS_WithTemplateSlots<T, S> = T & {
70
+ new (): {
71
+ $slots: S;
72
+ };
73
+ };
@@ -0,0 +1,76 @@
1
+ import { defineComponent, computed, createBlock, openBlock, withCtx, createVNode, renderSlot } from 'vue';
2
+ import TxSelect from '../../select/src/TxSelect.vue.js';
3
+ import _sfc_main$1 from './TxBlockSlot.vue.js';
4
+ /* empty css */
5
+
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ ...{
8
+ name: "TxBlockSelect"
9
+ },
10
+ __name: "TxBlockSelect",
11
+ props: {
12
+ title: { default: "" },
13
+ description: { default: "" },
14
+ modelValue: {},
15
+ defaultIcon: {},
16
+ activeIcon: {},
17
+ disabled: { type: Boolean, default: false },
18
+ placeholder: { default: "" },
19
+ icon: {}
20
+ },
21
+ emits: ["update:modelValue", "change"],
22
+ setup(__props, { emit: __emit }) {
23
+ const props = __props;
24
+ const emit = __emit;
25
+ const value = computed({
26
+ get: () => props.modelValue ?? "",
27
+ set: (val) => {
28
+ emit("update:modelValue", val);
29
+ emit("change", val);
30
+ }
31
+ });
32
+ const isActive = computed(() => !!value.value);
33
+ const resolvedDefaultIcon = computed(() => {
34
+ if (props.defaultIcon !== void 0)
35
+ return props.defaultIcon;
36
+ return props.icon;
37
+ });
38
+ const resolvedActiveIcon = computed(() => {
39
+ if (props.activeIcon !== void 0)
40
+ return props.activeIcon;
41
+ return void 0;
42
+ });
43
+ return (_ctx, _cache) => {
44
+ return openBlock(), createBlock(_sfc_main$1, {
45
+ class: "tx-block-select",
46
+ title: __props.title,
47
+ description: __props.description,
48
+ "default-icon": resolvedDefaultIcon.value,
49
+ "active-icon": resolvedActiveIcon.value,
50
+ active: isActive.value,
51
+ disabled: __props.disabled
52
+ }, {
53
+ tags: withCtx(() => [
54
+ renderSlot(_ctx.$slots, "tags")
55
+ ]),
56
+ default: withCtx(() => [
57
+ createVNode(TxSelect, {
58
+ modelValue: value.value,
59
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
60
+ placeholder: __props.placeholder,
61
+ disabled: __props.disabled,
62
+ class: "tx-block-select__select"
63
+ }, {
64
+ default: withCtx(() => [
65
+ renderSlot(_ctx.$slots, "default")
66
+ ]),
67
+ _: 3
68
+ }, 8, ["modelValue", "placeholder", "disabled"])
69
+ ]),
70
+ _: 3
71
+ }, 8, ["title", "description", "default-icon", "active-icon", "active", "disabled"]);
72
+ };
73
+ }
74
+ });
75
+
76
+ export { _sfc_main as default };
@@ -0,0 +1,6 @@
1
+ import _sfc_main from './TxBlockSelect.vue.js';
2
+ /* empty css */
3
+
4
+
5
+
6
+ export { _sfc_main as default };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, computed, watch, onMounted, createElementBlock, openBlock, normalizeClass, createElementVNode, renderSlot, createCommentVNode, createBlock, unref, toDisplayString } from 'vue';
2
2
  import gsap from 'gsap';
3
- import { hasWindow } from '../../utils/env.js';
3
+ import { hasWindow } from '../../packages/tuffex/packages/utils/env.js';
4
4
  import '../../icon/index.js';
5
5
  import TuffIcon from '../../icon/src/TxIcon.vue.js';
6
6
 
@@ -239,4 +239,142 @@ export interface BlockSwitchEmits {
239
239
  */
240
240
  (e: 'click', event: MouseEvent): void;
241
241
  }
242
+ /**
243
+ * Props interface for the TxBlockInput component.
244
+ *
245
+ * @public
246
+ */
247
+ export interface BlockInputProps {
248
+ /**
249
+ * The title text of the block input.
250
+ */
251
+ title?: string;
252
+ /**
253
+ * The description text displayed below the title.
254
+ */
255
+ description?: string;
256
+ /**
257
+ * The current input value for v-model binding.
258
+ */
259
+ modelValue?: string | number;
260
+ /**
261
+ * Default icon to display.
262
+ */
263
+ defaultIcon?: IconValue;
264
+ /**
265
+ * Active icon to display when focused.
266
+ */
267
+ activeIcon?: IconValue;
268
+ /**
269
+ * Whether the block input is disabled.
270
+ * @default false
271
+ */
272
+ disabled?: boolean;
273
+ /**
274
+ * Input placeholder text.
275
+ * @default ''
276
+ */
277
+ placeholder?: string;
278
+ /**
279
+ * Whether the input is clearable.
280
+ * @default false
281
+ */
282
+ clearable?: boolean;
283
+ /**
284
+ * Input type (text, password, number, etc.).
285
+ * @default 'text'
286
+ */
287
+ inputType?: 'text' | 'password' | 'number' | 'email';
288
+ /**
289
+ * Legacy icon class name (alias for defaultIcon).
290
+ * @deprecated Use defaultIcon instead.
291
+ */
292
+ icon?: string;
293
+ }
294
+ /**
295
+ * Emits interface for the TxBlockInput component.
296
+ *
297
+ * @public
298
+ */
299
+ export interface BlockInputEmits {
300
+ /**
301
+ * Emitted when the input value changes.
302
+ * @param value - The new input value
303
+ */
304
+ (e: 'update:modelValue', value: string | number): void;
305
+ /**
306
+ * Emitted on input event.
307
+ * @param value - The new input value
308
+ */
309
+ (e: 'input', value: string | number): void;
310
+ /**
311
+ * Emitted when the input is focused.
312
+ * @param event - The focus event
313
+ */
314
+ (e: 'focus', event: FocusEvent): void;
315
+ /**
316
+ * Emitted when the input loses focus.
317
+ * @param event - The focus event
318
+ */
319
+ (e: 'blur', event: FocusEvent): void;
320
+ }
321
+ /**
322
+ * Props interface for the TxBlockSelect component.
323
+ *
324
+ * @public
325
+ */
326
+ export interface BlockSelectProps {
327
+ /**
328
+ * The title text of the block select.
329
+ */
330
+ title?: string;
331
+ /**
332
+ * The description text displayed below the title.
333
+ */
334
+ description?: string;
335
+ /**
336
+ * The current select value for v-model binding.
337
+ */
338
+ modelValue?: string | number;
339
+ /**
340
+ * Default icon to display.
341
+ */
342
+ defaultIcon?: IconValue;
343
+ /**
344
+ * Active icon to display when a value is selected.
345
+ */
346
+ activeIcon?: IconValue;
347
+ /**
348
+ * Whether the block select is disabled.
349
+ * @default false
350
+ */
351
+ disabled?: boolean;
352
+ /**
353
+ * Select placeholder text.
354
+ * @default ''
355
+ */
356
+ placeholder?: string;
357
+ /**
358
+ * Legacy icon class name (alias for defaultIcon).
359
+ * @deprecated Use defaultIcon instead.
360
+ */
361
+ icon?: string;
362
+ }
363
+ /**
364
+ * Emits interface for the TxBlockSelect component.
365
+ *
366
+ * @public
367
+ */
368
+ export interface BlockSelectEmits {
369
+ /**
370
+ * Emitted when the select value changes.
371
+ * @param value - The new select value
372
+ */
373
+ (e: 'update:modelValue', value: string | number): void;
374
+ /**
375
+ * Emitted when the select value changes.
376
+ * @param value - The new select value
377
+ */
378
+ (e: 'change', value: string | number): void;
379
+ }
242
380
  export {};
@@ -0,0 +1,131 @@
1
+ import { GuideStateProps } from './src/types';
2
+ import { default as component } from './src/TxGuideState.vue';
3
+
4
+ declare const TxGuideState: {
5
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
6
+ title: {
7
+ type: import('vue').PropType<string>;
8
+ };
9
+ description: {
10
+ type: import('vue').PropType<string>;
11
+ };
12
+ loading: {
13
+ type: import('vue').PropType<boolean>;
14
+ };
15
+ icon: {
16
+ type: import('vue').PropType<string | import('..').TxIconSource | null>;
17
+ };
18
+ size: {
19
+ type: import('vue').PropType<import('..').EmptyStateSize>;
20
+ };
21
+ layout: {
22
+ type: import('vue').PropType<import('..').EmptyStateLayout>;
23
+ };
24
+ iconSize: {
25
+ type: import('vue').PropType<number>;
26
+ };
27
+ align: {
28
+ type: import('vue').PropType<import('..').EmptyStateAlign>;
29
+ };
30
+ surface: {
31
+ type: import('vue').PropType<import('..').EmptyStateSurface>;
32
+ };
33
+ primaryAction: {
34
+ type: import('vue').PropType<import('..').EmptyStateAction>;
35
+ };
36
+ secondaryAction: {
37
+ type: import('vue').PropType<import('..').EmptyStateAction>;
38
+ };
39
+ actionSize: {
40
+ type: import('vue').PropType<"small" | "large" | "sm" | "md" | "lg" | "mini">;
41
+ };
42
+ }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
43
+ P: {};
44
+ B: {};
45
+ D: {};
46
+ C: {};
47
+ M: {};
48
+ Defaults: {};
49
+ }, Readonly<import('vue').ExtractPropTypes<{
50
+ title: {
51
+ type: import('vue').PropType<string>;
52
+ };
53
+ description: {
54
+ type: import('vue').PropType<string>;
55
+ };
56
+ loading: {
57
+ type: import('vue').PropType<boolean>;
58
+ };
59
+ icon: {
60
+ type: import('vue').PropType<string | import('..').TxIconSource | null>;
61
+ };
62
+ size: {
63
+ type: import('vue').PropType<import('..').EmptyStateSize>;
64
+ };
65
+ layout: {
66
+ type: import('vue').PropType<import('..').EmptyStateLayout>;
67
+ };
68
+ iconSize: {
69
+ type: import('vue').PropType<number>;
70
+ };
71
+ align: {
72
+ type: import('vue').PropType<import('..').EmptyStateAlign>;
73
+ };
74
+ surface: {
75
+ type: import('vue').PropType<import('..').EmptyStateSurface>;
76
+ };
77
+ primaryAction: {
78
+ type: import('vue').PropType<import('..').EmptyStateAction>;
79
+ };
80
+ secondaryAction: {
81
+ type: import('vue').PropType<import('..').EmptyStateAction>;
82
+ };
83
+ actionSize: {
84
+ type: import('vue').PropType<"small" | "large" | "sm" | "md" | "lg" | "mini">;
85
+ };
86
+ }>> & Readonly<{}>, {}, {}, {}, {}, {}>;
87
+ __isFragment?: never;
88
+ __isTeleport?: never;
89
+ __isSuspense?: never;
90
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
91
+ title: {
92
+ type: import('vue').PropType<string>;
93
+ };
94
+ description: {
95
+ type: import('vue').PropType<string>;
96
+ };
97
+ loading: {
98
+ type: import('vue').PropType<boolean>;
99
+ };
100
+ icon: {
101
+ type: import('vue').PropType<string | import('..').TxIconSource | null>;
102
+ };
103
+ size: {
104
+ type: import('vue').PropType<import('..').EmptyStateSize>;
105
+ };
106
+ layout: {
107
+ type: import('vue').PropType<import('..').EmptyStateLayout>;
108
+ };
109
+ iconSize: {
110
+ type: import('vue').PropType<number>;
111
+ };
112
+ align: {
113
+ type: import('vue').PropType<import('..').EmptyStateAlign>;
114
+ };
115
+ surface: {
116
+ type: import('vue').PropType<import('..').EmptyStateSurface>;
117
+ };
118
+ primaryAction: {
119
+ type: import('vue').PropType<import('..').EmptyStateAction>;
120
+ };
121
+ secondaryAction: {
122
+ type: import('vue').PropType<import('..').EmptyStateAction>;
123
+ };
124
+ actionSize: {
125
+ type: import('vue').PropType<"small" | "large" | "sm" | "md" | "lg" | "mini">;
126
+ };
127
+ }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
128
+ export { TxGuideState };
129
+ export type { GuideStateProps };
130
+ export type TxGuideStateInstance = InstanceType<typeof component>;
131
+ export default TxGuideState;
@@ -0,0 +1,6 @@
1
+ import { withInstall } from '../packages/tuffex/packages/utils/withInstall.js';
2
+ import _sfc_main from './src/TxGuideState.vue.js';
3
+
4
+ const TxGuideState = withInstall(_sfc_main);
5
+
6
+ export { TxGuideState, TxGuideState as default };
@@ -0,0 +1,13 @@
1
+ import { GuideStateProps } from './types';
2
+
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<GuideStateProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<GuideStateProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
4
+ export default _default;
5
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
6
+ type __VLS_TypePropsToRuntimeProps<T> = {
7
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
8
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
9
+ } : {
10
+ type: import('vue').PropType<T[K]>;
11
+ required: true;
12
+ };
13
+ };
@@ -0,0 +1,35 @@
1
+ import { defineComponent, useSlots, resolveDirective, withDirectives, createBlock, openBlock, unref, mergeProps } from 'vue';
2
+ import { TxEmptyState } from '../../empty-state/index.js';
3
+
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ ...{
6
+ name: "TxGuideState"
7
+ },
8
+ __name: "TxGuideState",
9
+ props: {
10
+ title: {},
11
+ description: {},
12
+ icon: {},
13
+ iconSize: {},
14
+ layout: {},
15
+ align: {},
16
+ size: {},
17
+ surface: {},
18
+ primaryAction: {},
19
+ secondaryAction: {},
20
+ actionSize: {},
21
+ loading: { type: Boolean }
22
+ },
23
+ setup(__props) {
24
+ const props = __props;
25
+ const slots = useSlots();
26
+ return (_ctx, _cache) => {
27
+ const _directive_slots = resolveDirective("slots");
28
+ return withDirectives((openBlock(), createBlock(unref(TxEmptyState), mergeProps(props, { variant: "guide" }), null, 16)), [
29
+ [_directive_slots, unref(slots)]
30
+ ]);
31
+ };
32
+ }
33
+ });
34
+
35
+ export { _sfc_main as default };