foucui 1.0.1 → 2.0.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 (371) hide show
  1. package/README.md +8 -8
  2. package/README.publish.md +19 -0
  3. package/dist/components/{QiuAnchor → FouAnchor}/context.d.ts +4 -4
  4. package/dist/components/{QiuBadge → FouBadge}/composables/useTableHostHeight.d.ts +1 -1
  5. package/dist/components/FouBadge/index.d.ts +18 -0
  6. package/dist/components/{QiuBadge → FouBadge}/shared/BadgeTemplateRenderer.vue.d.ts +1 -1
  7. package/dist/components/{QiuBadge → FouBadge}/shared/badgeTemplate.d.ts +1 -1
  8. package/dist/components/{QiuButton → FouButton}/index.vue.d.ts +4 -4
  9. package/dist/components/{QiuCanvasKit/QiuCanvasEditor.vue.d.ts → FouCanvasKit/FouCanvasEditor.vue.d.ts} +4 -2
  10. package/dist/components/{QiuCanvasKit → FouCanvasKit}/components/DataModulesPanel.vue.d.ts +1 -0
  11. package/dist/components/{QiuCanvasKit → FouCanvasKit}/index.d.ts +4 -4
  12. package/dist/components/{QiuCanvasKit → FouCanvasKit}/types.d.ts +1 -1
  13. package/dist/components/{QiuCarousel → FouCarousel}/context.d.ts +4 -4
  14. package/dist/components/{QiuCascader → FouCascader}/types.d.ts +7 -7
  15. package/dist/components/{QiuCheckbox → FouCheckbox}/types.d.ts +1 -1
  16. package/dist/components/{QiuCollapse → FouCollapse}/context.d.ts +2 -2
  17. package/dist/components/{QiuDescriptions → FouDescriptions}/context.d.ts +4 -4
  18. package/dist/components/{QiuDropdown → FouDropdown}/context.d.ts +2 -2
  19. package/dist/components/{QiuForm → FouForm}/types.d.ts +10 -10
  20. package/dist/components/FouLoading/index.d.ts +26 -0
  21. package/dist/components/{QiuLoading → FouLoading}/spinner.vue.d.ts +3 -3
  22. package/dist/components/{QiuLoading → FouLoading}/types.d.ts +2 -2
  23. package/dist/components/{QiuMenu → FouMenu}/context.d.ts +2 -2
  24. package/dist/components/{QiuMenuNav → FouMenuNav}/context.d.ts +2 -2
  25. package/dist/components/{QiuMsg/QiuMsgItem.vue.d.ts → FouMsg/FouMsgItem.vue.d.ts} +3 -3
  26. package/dist/components/FouMsg/index.d.ts +30 -0
  27. package/dist/components/{QiuMsg → FouMsg}/types.d.ts +5 -5
  28. package/dist/components/{QiuMsgBox → FouMsgBox}/index.d.ts +3 -3
  29. package/dist/components/{QiuNotification/QiuNotificationItem.vue.d.ts → FouNotification/FouNotificationItem.vue.d.ts} +3 -3
  30. package/dist/components/FouNotification/index.d.ts +30 -0
  31. package/dist/components/FouNotification/types.d.ts +12 -0
  32. package/dist/components/{QiuRadio → FouRadio}/types.d.ts +1 -1
  33. package/dist/components/FouRow/types.d.ts +4 -0
  34. package/dist/components/{QiuSelect → FouSelect}/index.vue.d.ts +3 -3
  35. package/dist/components/{QiuSelect → FouSelect}/types.d.ts +3 -3
  36. package/dist/components/{QiuStep → FouStep}/index.vue.d.ts +1 -1
  37. package/dist/components/{QiuSteps → FouSteps}/context.d.ts +5 -5
  38. package/dist/components/{QiuTabBar → FouTabBar}/index.vue.d.ts +3 -3
  39. package/dist/components/{QiuTabBar → FouTabBar}/types.d.ts +5 -5
  40. package/dist/components/{QiuTable → FouTable}/export.d.ts +5 -5
  41. package/dist/components/FouTable/index.d.ts +3 -0
  42. package/dist/components/{QiuTable → FouTable}/index.vue.d.ts +60 -60
  43. package/dist/components/FouTable/registry.d.ts +39 -0
  44. package/dist/components/{QiuTable → FouTable}/types.d.ts +60 -60
  45. package/dist/components/{QiuTable → FouTable}/useArea.d.ts +10 -10
  46. package/dist/components/{QiuTable → FouTable}/useColumns.d.ts +5 -5
  47. package/dist/components/FouTable/useEdit.d.ts +36 -0
  48. package/dist/components/{QiuTable → FouTable}/useHistory.d.ts +5 -5
  49. package/dist/components/{QiuTable → FouTable}/useMerge.d.ts +6 -6
  50. package/dist/components/{QiuTable → FouTable}/useScrollSync.d.ts +1 -1
  51. package/dist/components/{QiuTable → FouTable}/utils.d.ts +17 -17
  52. package/dist/components/FouTree/types.d.ts +13 -0
  53. package/dist/components/{QiuUpload → FouUpload}/index.vue.d.ts +17 -17
  54. package/dist/foucui.css +1 -1
  55. package/dist/foucui.js +10749 -10646
  56. package/dist/foucui.umd.cjs +40 -40
  57. package/dist/index.d.ts +43 -43
  58. package/dist/src/bridge/@/config/index.d.ts +1 -1
  59. package/dist/src/bridge/@fou/plugins/shortcuts.d.ts +2 -0
  60. package/package.json +27 -15
  61. package/components/QiuAffix/index.vue +0 -186
  62. package/components/QiuAlert/index.vue +0 -208
  63. package/components/QiuAnchor/context.ts +0 -18
  64. package/components/QiuAnchor/index.vue +0 -180
  65. package/components/QiuAnchorLink/index.vue +0 -67
  66. package/components/QiuApp/index.vue +0 -9
  67. package/components/QiuAutocomplete/index.vue +0 -408
  68. package/components/QiuAvatar/index.vue +0 -140
  69. package/components/QiuBacktop/index.vue +0 -121
  70. package/components/QiuBadge/api/index.ts +0 -389
  71. package/components/QiuBadge/components/BadgeImagePickerDialog.vue +0 -243
  72. package/components/QiuBadge/components/BadgeLibraryManagerDialog.vue +0 -30
  73. package/components/QiuBadge/components/BadgeLibraryPanel.vue +0 -182
  74. package/components/QiuBadge/composables/useTableHostHeight.ts +0 -53
  75. package/components/QiuBadge/index.ts +0 -18
  76. package/components/QiuBadge/shared/BadgeTemplateRenderer.vue +0 -32
  77. package/components/QiuBadge/shared/assetUrl.ts +0 -26
  78. package/components/QiuBadge/shared/badgeTemplate.ts +0 -309
  79. package/components/QiuBadge/utils/chinaAreaData.ts +0 -44
  80. package/components/QiuBadge/utils/hostRegion.ts +0 -22
  81. package/components/QiuBadge/utils/pca-code.json +0 -1
  82. package/components/QiuBadge/utils/pdfFromElement.ts +0 -348
  83. package/components/QiuBadge/views/BadgeLibraryView.vue +0 -32
  84. package/components/QiuBadge/views/BadgeManageView.vue +0 -1364
  85. package/components/QiuBadge/views/BadgeTemplateEditorView.vue +0 -10
  86. package/components/QiuBadge/views/BadgeTemplateListView.vue +0 -229
  87. package/components/QiuBadge/views/DeskLabelTemplateListView.vue +0 -227
  88. package/components/QiuBadge/views/DeskLabelView.vue +0 -683
  89. package/components/QiuBadgeDot/index.vue +0 -87
  90. package/components/QiuButton/index.vue +0 -247
  91. package/components/QiuButtonGroup/index.vue +0 -63
  92. package/components/QiuCanvasKit/QiuCanvasEditor.vue +0 -5503
  93. package/components/QiuCanvasKit/QiuCanvasRenderer.vue +0 -348
  94. package/components/QiuCanvasKit/assetUrl.ts +0 -11
  95. package/components/QiuCanvasKit/components/DataModulesPanel.vue +0 -352
  96. package/components/QiuCanvasKit/export/html.ts +0 -132
  97. package/components/QiuCanvasKit/export/pdf.ts +0 -48
  98. package/components/QiuCanvasKit/export/png.ts +0 -50
  99. package/components/QiuCanvasKit/index.ts +0 -20
  100. package/components/QiuCanvasKit/modules/badgeCompat.ts +0 -84
  101. package/components/QiuCanvasKit/modules/dataRegistry.ts +0 -207
  102. package/components/QiuCanvasKit/modules/merge.ts +0 -71
  103. package/components/QiuCanvasKit/presets/badge.ts +0 -67
  104. package/components/QiuCanvasKit/presets/banner.ts +0 -79
  105. package/components/QiuCanvasKit/types.ts +0 -138
  106. package/components/QiuCard/index.vue +0 -104
  107. package/components/QiuCarousel/context.ts +0 -16
  108. package/components/QiuCarousel/index.vue +0 -343
  109. package/components/QiuCarouselItem/index.vue +0 -47
  110. package/components/QiuCascader/index.vue +0 -879
  111. package/components/QiuCascader/types.ts +0 -48
  112. package/components/QiuCheckbox/QiuCheckboxGroup.vue +0 -78
  113. package/components/QiuCheckbox/index.vue +0 -231
  114. package/components/QiuCheckbox/types.ts +0 -8
  115. package/components/QiuCode/index.vue +0 -64
  116. package/components/QiuCol/col.scss +0 -55
  117. package/components/QiuCol/index.vue +0 -64
  118. package/components/QiuCollapse/context.ts +0 -10
  119. package/components/QiuCollapse/index.vue +0 -70
  120. package/components/QiuCollapseItem/index.vue +0 -167
  121. package/components/QiuColorField/index.vue +0 -296
  122. package/components/QiuColorPicker/README.md +0 -118
  123. package/components/QiuColorPicker/index.vue +0 -60
  124. package/components/QiuColorfulCard/index.vue +0 -101
  125. package/components/QiuCombobox/index.vue +0 -277
  126. package/components/QiuConfigProvider/index.vue +0 -31
  127. package/components/QiuContextMenu/index.vue +0 -209
  128. package/components/QiuDate/index.vue +0 -1134
  129. package/components/QiuDescriptions/context.ts +0 -20
  130. package/components/QiuDescriptions/index.vue +0 -115
  131. package/components/QiuDescriptionsItem/index.vue +0 -103
  132. package/components/QiuDialog/index.vue +0 -828
  133. package/components/QiuDigitalCard/index.vue +0 -159
  134. package/components/QiuDivider/index.vue +0 -185
  135. package/components/QiuDot/index.vue +0 -83
  136. package/components/QiuDrawer/index.vue +0 -350
  137. package/components/QiuDropdown/QiuDropdownItem.vue +0 -74
  138. package/components/QiuDropdown/QiuDropdownMenu.vue +0 -22
  139. package/components/QiuDropdown/context.ts +0 -9
  140. package/components/QiuDropdown/index.vue +0 -189
  141. package/components/QiuEmpty/index.vue +0 -73
  142. package/components/QiuForm/index.vue +0 -172
  143. package/components/QiuForm/types.ts +0 -39
  144. package/components/QiuFormItem/index.vue +0 -276
  145. package/components/QiuFullscreen/index.vue +0 -11
  146. package/components/QiuGrid/index.vue +0 -408
  147. package/components/QiuHoverCard/index.vue +0 -192
  148. package/components/QiuIcon/index.vue +0 -117
  149. package/components/QiuIconPicker/iconify.libraries.ts +0 -182
  150. package/components/QiuIconPicker/icons.catalog.ts +0 -3072
  151. package/components/QiuIconPicker/index.vue +0 -488
  152. package/components/QiuImage/index.vue +0 -177
  153. package/components/QiuInput/index.vue +0 -328
  154. package/components/QiuInputNumber/index.vue +0 -295
  155. package/components/QiuInputOtp/index.vue +0 -190
  156. package/components/QiuKbd/index.vue +0 -57
  157. package/components/QiuLayoutContainer/index.vue +0 -50
  158. package/components/QiuLinkPreview/index.vue +0 -224
  159. package/components/QiuLoading/index.ts +0 -176
  160. package/components/QiuLoading/spinner.vue +0 -820
  161. package/components/QiuLoading/types.ts +0 -44
  162. package/components/QiuMention/index.vue +0 -299
  163. package/components/QiuMenu/QiuMenuRoot.vue +0 -241
  164. package/components/QiuMenu/components/QiuMenuItem.vue +0 -340
  165. package/components/QiuMenu/components/QiuSubMenu.vue +0 -504
  166. package/components/QiuMenu/context.ts +0 -21
  167. package/components/QiuMenu/index.vue +0 -43
  168. package/components/QiuMenuNav/QiuMenuNavItem.vue +0 -100
  169. package/components/QiuMenuNav/QiuMenuNavSub.vue +0 -120
  170. package/components/QiuMenuNav/context.ts +0 -14
  171. package/components/QiuMenuNav/index.vue +0 -148
  172. package/components/QiuMsg/QiuMsgItem.vue +0 -180
  173. package/components/QiuMsg/index.ts +0 -158
  174. package/components/QiuMsg/types.ts +0 -23
  175. package/components/QiuMsgBox/index.ts +0 -147
  176. package/components/QiuNotification/QiuNotificationItem.vue +0 -168
  177. package/components/QiuNotification/index.ts +0 -155
  178. package/components/QiuNotification/types.ts +0 -14
  179. package/components/QiuPage/index.vue +0 -12
  180. package/components/QiuPageHeader/index.vue +0 -115
  181. package/components/QiuPageMain/index.vue +0 -78
  182. package/components/QiuPagination/index.vue +0 -421
  183. package/components/QiuPasswordStrength/index.vue +0 -101
  184. package/components/QiuPopconfirm/index.vue +0 -196
  185. package/components/QiuPopover/index.vue +0 -277
  186. package/components/QiuProgress/index.vue +0 -235
  187. package/components/QiuQrcode/index.vue +0 -302
  188. package/components/QiuQueryForm/components/QiuQueryFormBottomPanel.vue +0 -13
  189. package/components/QiuQueryForm/components/QiuQueryFormLeftPanel.vue +0 -37
  190. package/components/QiuQueryForm/components/QiuQueryFormRightPanel.vue +0 -37
  191. package/components/QiuQueryForm/components/QiuQueryFormTopPanel.vue +0 -13
  192. package/components/QiuQueryForm/index.vue +0 -117
  193. package/components/QiuRadio/QiuRadioGroup.vue +0 -75
  194. package/components/QiuRadio/index.vue +0 -191
  195. package/components/QiuRadio/types.ts +0 -9
  196. package/components/QiuRate/index.vue +0 -184
  197. package/components/QiuRefresh/index.vue +0 -32
  198. package/components/QiuResult/index.vue +0 -103
  199. package/components/QiuRow/index.vue +0 -60
  200. package/components/QiuRow/types.ts +0 -5
  201. package/components/QiuScrollbar/index.vue +0 -107
  202. package/components/QiuSearchBar/index.vue +0 -154
  203. package/components/QiuSegmented/index.vue +0 -120
  204. package/components/QiuSelect/QiuOption.vue +0 -93
  205. package/components/QiuSelect/index.vue +0 -452
  206. package/components/QiuSelect/types.ts +0 -15
  207. package/components/QiuSkeleton/index.vue +0 -78
  208. package/components/QiuSlider/index.vue +0 -266
  209. package/components/QiuSpace/index.vue +0 -95
  210. package/components/QiuSparkline/index.vue +0 -92
  211. package/components/QiuStatistic/index.vue +0 -4
  212. package/components/QiuStatistics/index.vue +0 -123
  213. package/components/QiuStep/index.vue +0 -220
  214. package/components/QiuSteps/context.ts +0 -25
  215. package/components/QiuSteps/index.vue +0 -84
  216. package/components/QiuSwitch/index.vue +0 -145
  217. package/components/QiuTabBar/index.vue +0 -218
  218. package/components/QiuTabBar/types.ts +0 -19
  219. package/components/QiuTabPane/index.vue +0 -82
  220. package/components/QiuTable/columns.ts +0 -16
  221. package/components/QiuTable/export.ts +0 -102
  222. package/components/QiuTable/index.ts +0 -24
  223. package/components/QiuTable/index.vue +0 -3503
  224. package/components/QiuTable/registry.ts +0 -75
  225. package/components/QiuTable/styles/table.scss +0 -1230
  226. package/components/QiuTable/types.ts +0 -413
  227. package/components/QiuTable/useArea.ts +0 -202
  228. package/components/QiuTable/useColumns.ts +0 -325
  229. package/components/QiuTable/useEdit.ts +0 -136
  230. package/components/QiuTable/useExtras.ts +0 -115
  231. package/components/QiuTable/useHistory.ts +0 -77
  232. package/components/QiuTable/useMerge.ts +0 -105
  233. package/components/QiuTable/useResize.ts +0 -86
  234. package/components/QiuTable/useScrollSync.ts +0 -152
  235. package/components/QiuTable/useVirtual.ts +0 -97
  236. package/components/QiuTable/utils.ts +0 -165
  237. package/components/QiuTableColumn/index.vue +0 -101
  238. package/components/QiuTag/index.vue +0 -143
  239. package/components/QiuText/index.vue +0 -99
  240. package/components/QiuTime/index.vue +0 -548
  241. package/components/QiuTimeAgo/index.vue +0 -103
  242. package/components/QiuTimeline/index.vue +0 -54
  243. package/components/QiuTimelineItem/index.vue +0 -140
  244. package/components/QiuTips/index.vue +0 -323
  245. package/components/QiuTooltip/index.vue +0 -237
  246. package/components/QiuTransfer/index.vue +0 -277
  247. package/components/QiuTree/QiuTreeNode.vue +0 -146
  248. package/components/QiuTree/index.vue +0 -143
  249. package/components/QiuTree/types.ts +0 -30
  250. package/components/QiuTreeSelect/index.vue +0 -259
  251. package/components/QiuTrend/index.vue +0 -92
  252. package/components/QiuUpload/index.vue +0 -628
  253. package/components/QiuUploadCrop/index.vue +0 -1267
  254. package/components/QiuWatermark/index.vue +0 -121
  255. package/components/useBodyScrollLock.ts +0 -28
  256. package/dist/components/QiuBadge/index.d.ts +0 -18
  257. package/dist/components/QiuBadge/utils/pca-code.json.d.ts +0 -3
  258. package/dist/components/QiuLoading/index.d.ts +0 -26
  259. package/dist/components/QiuMsg/index.d.ts +0 -30
  260. package/dist/components/QiuNotification/index.d.ts +0 -30
  261. package/dist/components/QiuNotification/types.d.ts +0 -12
  262. package/dist/components/QiuRow/types.d.ts +0 -4
  263. package/dist/components/QiuTable/index.d.ts +0 -3
  264. package/dist/components/QiuTable/registry.d.ts +0 -39
  265. package/dist/components/QiuTable/useEdit.d.ts +0 -36
  266. package/dist/components/QiuTree/types.d.ts +0 -13
  267. package/dist/src/bridge/@qiu/plugins/shortcuts.d.ts +0 -2
  268. package/plugins/qiu.ts +0 -83
  269. package/plugins/shortcuts.ts +0 -69
  270. package/src/bridge/@/api/media.ts +0 -8
  271. package/src/bridge/@/api/notice.ts +0 -5
  272. package/src/bridge/@/config/index.ts +0 -38
  273. package/src/bridge/@/config/media.config.ts +0 -37
  274. package/src/bridge/@/config/security.config.ts +0 -8
  275. package/src/bridge/@/i18n/index.ts +0 -6
  276. package/src/bridge/@/store/modules/bing.ts +0 -9
  277. package/src/bridge/@/store/modules/errorLog.ts +0 -9
  278. package/src/bridge/@/store/modules/media.ts +0 -10
  279. package/src/bridge/@/store/modules/routes.ts +0 -10
  280. package/src/bridge/@/store/modules/settings.ts +0 -9
  281. package/src/bridge/@/store/modules/tabs.ts +0 -9
  282. package/src/bridge/@/store/modules/user.ts +0 -9
  283. package/src/bridge/@/utils/convertToCamelCase.ts +0 -11
  284. package/src/bridge/@/utils/index.ts +0 -9
  285. package/src/bridge/@/utils/pageTitle.ts +0 -4
  286. package/src/bridge/@/utils/routes.ts +0 -14
  287. package/src/bridge/@/utils/validate.ts +0 -17
  288. package/src/bridge/@qiu/plugins/shortcuts.ts +0 -3
  289. package/src/i18n.ts +0 -8
  290. package/src/icons/qiu-logo.svg +0 -1
  291. package/styles/dark.scss +0 -194
  292. package/styles/normalize.css +0 -349
  293. package/styles/plain.scss +0 -423
  294. package/styles/qiu-tokens.scss +0 -40
  295. package/styles/qiu.scss +0 -1149
  296. package/styles/technology.scss +0 -452
  297. package/styles/var.scss +0 -382
  298. package/styles/variables.scss +0 -77
  299. /package/dist/components/{QiuAnchorLink → FouAnchorLink}/index.vue.d.ts +0 -0
  300. /package/dist/components/{QiuBadge → FouBadge}/api/index.d.ts +0 -0
  301. /package/dist/components/{QiuBadge → FouBadge}/components/BadgeImagePickerDialog.vue.d.ts +0 -0
  302. /package/dist/components/{QiuBadge → FouBadge}/components/BadgeLibraryManagerDialog.vue.d.ts +0 -0
  303. /package/dist/components/{QiuBadge → FouBadge}/components/BadgeLibraryPanel.vue.d.ts +0 -0
  304. /package/dist/components/{QiuBadge → FouBadge}/shared/assetUrl.d.ts +0 -0
  305. /package/dist/components/{QiuBadge → FouBadge}/utils/chinaAreaData.d.ts +0 -0
  306. /package/dist/components/{QiuBadge → FouBadge}/utils/hostRegion.d.ts +0 -0
  307. /package/dist/components/{QiuBadge → FouBadge}/utils/pdfFromElement.d.ts +0 -0
  308. /package/dist/components/{QiuBadge → FouBadge}/views/BadgeLibraryView.vue.d.ts +0 -0
  309. /package/dist/components/{QiuBadge → FouBadge}/views/BadgeManageView.vue.d.ts +0 -0
  310. /package/dist/components/{QiuBadge → FouBadge}/views/BadgeTemplateListView.vue.d.ts +0 -0
  311. /package/dist/components/{QiuBadge → FouBadge}/views/DeskLabelTemplateListView.vue.d.ts +0 -0
  312. /package/dist/components/{QiuBadge → FouBadge}/views/DeskLabelView.vue.d.ts +0 -0
  313. /package/dist/components/{QiuCanvasKit/QiuCanvasRenderer.vue.d.ts → FouCanvasKit/FouCanvasRenderer.vue.d.ts} +0 -0
  314. /package/dist/components/{QiuCanvasKit → FouCanvasKit}/assetUrl.d.ts +0 -0
  315. /package/dist/components/{QiuCanvasKit → FouCanvasKit}/export/html.d.ts +0 -0
  316. /package/dist/components/{QiuCanvasKit → FouCanvasKit}/export/pdf.d.ts +0 -0
  317. /package/dist/components/{QiuCanvasKit → FouCanvasKit}/export/png.d.ts +0 -0
  318. /package/dist/components/{QiuCanvasKit → FouCanvasKit}/modules/badgeCompat.d.ts +0 -0
  319. /package/dist/components/{QiuCanvasKit → FouCanvasKit}/modules/dataRegistry.d.ts +0 -0
  320. /package/dist/components/{QiuCanvasKit → FouCanvasKit}/modules/merge.d.ts +0 -0
  321. /package/dist/components/{QiuCanvasKit → FouCanvasKit}/presets/badge.d.ts +0 -0
  322. /package/dist/components/{QiuCanvasKit → FouCanvasKit}/presets/banner.d.ts +0 -0
  323. /package/dist/components/{QiuCarouselItem → FouCarouselItem}/index.vue.d.ts +0 -0
  324. /package/dist/components/{QiuCheckbox/QiuCheckboxGroup.vue.d.ts → FouCheckbox/FouCheckboxGroup.vue.d.ts} +0 -0
  325. /package/dist/components/{QiuCheckbox → FouCheckbox}/index.vue.d.ts +0 -0
  326. /package/dist/components/{QiuCode → FouCode}/index.vue.d.ts +0 -0
  327. /package/dist/components/{QiuCollapseItem → FouCollapseItem}/index.vue.d.ts +0 -0
  328. /package/dist/components/{QiuColorField → FouColorField}/index.vue.d.ts +0 -0
  329. /package/dist/components/{QiuColorPicker → FouColorPicker}/index.vue.d.ts +0 -0
  330. /package/dist/components/{QiuCombobox → FouCombobox}/index.vue.d.ts +0 -0
  331. /package/dist/components/{QiuContextMenu → FouContextMenu}/index.vue.d.ts +0 -0
  332. /package/dist/components/{QiuDescriptionsItem → FouDescriptionsItem}/index.vue.d.ts +0 -0
  333. /package/dist/components/{QiuDigitalCard → FouDigitalCard}/index.vue.d.ts +0 -0
  334. /package/dist/components/{QiuDropdown/QiuDropdownItem.vue.d.ts → FouDropdown/FouDropdownItem.vue.d.ts} +0 -0
  335. /package/dist/components/{QiuDropdown/QiuDropdownMenu.vue.d.ts → FouDropdown/FouDropdownMenu.vue.d.ts} +0 -0
  336. /package/dist/components/{QiuDropdown → FouDropdown}/index.vue.d.ts +0 -0
  337. /package/dist/components/{QiuHoverCard → FouHoverCard}/index.vue.d.ts +0 -0
  338. /package/dist/components/{QiuIcon → FouIcon}/index.vue.d.ts +0 -0
  339. /package/dist/components/{QiuIconPicker → FouIconPicker}/iconify.libraries.d.ts +0 -0
  340. /package/dist/components/{QiuIconPicker → FouIconPicker}/icons.catalog.d.ts +0 -0
  341. /package/dist/components/{QiuInput → FouInput}/index.vue.d.ts +0 -0
  342. /package/dist/components/{QiuInputNumber → FouInputNumber}/index.vue.d.ts +0 -0
  343. /package/dist/components/{QiuInputOtp → FouInputOtp}/index.vue.d.ts +0 -0
  344. /package/dist/components/{QiuKbd → FouKbd}/index.vue.d.ts +0 -0
  345. /package/dist/components/{QiuLayoutContainer → FouLayoutContainer}/index.vue.d.ts +0 -0
  346. /package/dist/components/{QiuLinkPreview → FouLinkPreview}/index.vue.d.ts +0 -0
  347. /package/dist/components/{QiuMention → FouMention}/index.vue.d.ts +0 -0
  348. /package/dist/components/{QiuMenu/QiuMenuRoot.vue.d.ts → FouMenu/FouMenuRoot.vue.d.ts} +0 -0
  349. /package/dist/components/{QiuMenuNav/QiuMenuNavItem.vue.d.ts → FouMenuNav/FouMenuNavItem.vue.d.ts} +0 -0
  350. /package/dist/components/{QiuMenuNav/QiuMenuNavSub.vue.d.ts → FouMenuNav/FouMenuNavSub.vue.d.ts} +0 -0
  351. /package/dist/components/{QiuMenuNav → FouMenuNav}/index.vue.d.ts +0 -0
  352. /package/dist/components/{QiuPageMain → FouPageMain}/index.vue.d.ts +0 -0
  353. /package/dist/components/{QiuPagination → FouPagination}/index.vue.d.ts +0 -0
  354. /package/dist/components/{QiuPasswordStrength → FouPasswordStrength}/index.vue.d.ts +0 -0
  355. /package/dist/components/{QiuQrcode → FouQrcode}/index.vue.d.ts +0 -0
  356. /package/dist/components/{QiuRadio/QiuRadioGroup.vue.d.ts → FouRadio/FouRadioGroup.vue.d.ts} +0 -0
  357. /package/dist/components/{QiuSearchBar → FouSearchBar}/index.vue.d.ts +0 -0
  358. /package/dist/components/{QiuSelect/QiuOption.vue.d.ts → FouSelect/FouOption.vue.d.ts} +0 -0
  359. /package/dist/components/{QiuSparkline → FouSparkline}/index.vue.d.ts +0 -0
  360. /package/dist/components/{QiuSwitch → FouSwitch}/index.vue.d.ts +0 -0
  361. /package/dist/components/{QiuTabPane → FouTabPane}/index.vue.d.ts +0 -0
  362. /package/dist/components/{QiuTable → FouTable}/columns.d.ts +0 -0
  363. /package/dist/components/{QiuTable → FouTable}/useExtras.d.ts +0 -0
  364. /package/dist/components/{QiuTable → FouTable}/useResize.d.ts +0 -0
  365. /package/dist/components/{QiuTable → FouTable}/useVirtual.d.ts +0 -0
  366. /package/dist/components/{QiuTime → FouTime}/index.vue.d.ts +0 -0
  367. /package/dist/components/{QiuTimeAgo → FouTimeAgo}/index.vue.d.ts +0 -0
  368. /package/dist/components/{QiuTimelineItem → FouTimelineItem}/index.vue.d.ts +0 -0
  369. /package/dist/components/{QiuTooltip → FouTooltip}/index.vue.d.ts +0 -0
  370. /package/dist/components/{QiuTrend → FouTrend}/index.vue.d.ts +0 -0
  371. /package/dist/components/{QiuUploadCrop → FouUploadCrop}/index.vue.d.ts +0 -0
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  FouCui 自研 Vue3 组件库(独立可发布包)。包名 **`foucui@1.0.1+`**。
4
4
 
5
- 原包名迁移路径:`qiuui-vue` →(短暂 `qiuye`)→ **`foucui`**。
5
+ 原包名迁移路径:`fouui-vue` →(短暂 `qiuye`)→ **`foucui`**。
6
6
 
7
7
  ## 安装
8
8
 
@@ -12,19 +12,19 @@ pnpm add foucui
12
12
  ```
13
13
 
14
14
  ```ts
15
- import { setupFoucui, setupQiu } from 'foucui'
15
+ import { setupFoucui, setupFou } from 'foucui'
16
16
  import 'foucui/dist/foucui.css'
17
- import 'foucui/styles/qiu.scss'
17
+ import 'foucui/styles/fou.scss'
18
18
  ```
19
19
 
20
- `setupFoucui` / `setupQiuye` / `setupQiu` 行为一致。
20
+ `setupFoucui` / `setupQiuye` / `setupFou` 行为一致。
21
21
 
22
- ## 画布套件 QiuCanvasKit
22
+ ## 画布套件 FouCanvasKit
23
23
 
24
24
  ```ts
25
25
  import {
26
- QiuCanvasEditor,
27
- QiuCanvasRenderer,
26
+ FouCanvasEditor,
27
+ FouCanvasRenderer,
28
28
  mergeTemplateText,
29
29
  createBannerDoc,
30
30
  downloadCanvasHtml,
@@ -36,7 +36,7 @@ import {
36
36
  ## 发布
37
37
 
38
38
  ```bash
39
- cd web/qiu-ui
39
+ cd web/fou-ui
40
40
  pnpm install
41
41
  pnpm run build
42
42
  npm publish --access public
@@ -0,0 +1,19 @@
1
+ /**
2
+ * 组件库 foucui:npm 发包说明(业务端禁止链本地源码)
3
+ * @author qiuye
4
+ * @email yjk150@qq.com
5
+ * @date 2026-08-17
6
+ *
7
+ * ## 消费端(apps / admin-shell)
8
+ * - package.json 使用 `"foucui": "^2.0.0"`(或更新版本),**禁止** `workspace:*`
9
+ * - 引入:`import { FouXxx, setupFoucui, fouMsg } from 'foucui'`
10
+ * - 模板标签:`<fou-button>` / `<FouButton>`(2.0 起前缀由 Qiu 改为 Fou)
11
+ * - 样式:`import 'foucui/dist/foucui.css'`;CSS 变量 `--fou-*`
12
+ * - 不要 `import 'foucui/components/...'`(发包已不再导出源码目录)
13
+ *
14
+ * ## 改组件并发布
15
+ * 1. 改 `packages/foucui` 源码(该目录已移出 pnpm workspace,不会被业务端链接)
16
+ * 2. `cd packages/foucui && pnpm run build`
17
+ * 3. 升 version 后 `npm publish --access public`(或根目录 `pnpm publish:foucui`)
18
+ * 4. 各端把依赖版本 bump 后 `pnpm install`
19
+ */
@@ -1,15 +1,15 @@
1
1
  import { InjectionKey, Ref } from 'vue';
2
- export interface QiuAnchorLinkRecord {
2
+ export interface FouAnchorLinkRecord {
3
3
  href: string;
4
4
  title: string;
5
5
  el: HTMLElement | null;
6
6
  }
7
- export interface QiuAnchorContext {
7
+ export interface FouAnchorContext {
8
8
  offset: Ref<number>;
9
9
  bound: Ref<string>;
10
10
  activeLink: Ref<string>;
11
- registerLink: (link: QiuAnchorLinkRecord) => void;
11
+ registerLink: (link: FouAnchorLinkRecord) => void;
12
12
  unregisterLink: (href: string) => void;
13
13
  scrollToLink: (href: string) => void;
14
14
  }
15
- export declare const QIU_ANCHOR_KEY: InjectionKey<QiuAnchorContext>;
15
+ export declare const FOU_ANCHOR_KEY: InjectionKey<FouAnchorContext>;
@@ -1,4 +1,4 @@
1
- /** 测量容器高度供 qiu-table 的 `height` 使用,使表格占满剩余区域。
1
+ /** 测量容器高度供 fou-table 的 `height` 使用,使表格占满剩余区域。
2
2
  * 使用 ResizeObserver(宿主为表格外层 div,非表格根节点)+ window resize,避免仅靠窗口尺寸遗漏侧栏折叠等变化。 */
3
3
  export declare function useTableHostHeight(minHeight?: number): {
4
4
  hostRef: globalThis.Ref<HTMLElement, HTMLElement>;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * FouBadge — 证件 / 桌签制作插件
3
+ * 源码迁自 zhihui web-admin + shared,先落地再调。
4
+ */
5
+ /** 编辑器真源在 FouCanvasKit;此入口保持兼容 */
6
+ export { default as FouBadgeTemplateEditor } from '../FouCanvasKit/FouCanvasEditor.vue';
7
+ export { default as FouBadgeTemplateList } from './views/BadgeTemplateListView.vue';
8
+ export { default as FouBadgeManage } from './views/BadgeManageView.vue';
9
+ export { default as FouBadgeLibrary } from './views/BadgeLibraryView.vue';
10
+ export { default as FouDeskLabel } from './views/DeskLabelView.vue';
11
+ export { default as FouDeskLabelTemplateList } from './views/DeskLabelTemplateListView.vue';
12
+ export { default as FouBadgeTemplateRenderer } from './shared/BadgeTemplateRenderer.vue';
13
+ export { default as FouBadgeImagePickerDialog } from './components/BadgeImagePickerDialog.vue';
14
+ export { default as FouBadgeLibraryManagerDialog } from './components/BadgeLibraryManagerDialog.vue';
15
+ export { default as FouBadgeLibraryPanel } from './components/BadgeLibraryPanel.vue';
16
+ export * from './shared/badgeTemplate';
17
+ export * from './shared/assetUrl';
18
+ export * as FouBadgeApi from './api/index';
@@ -1,5 +1,5 @@
1
1
  import { BadgeTemplateDoc } from './badgeTemplate';
2
- import { MergeContext } from '../../QiuCanvasKit/types';
2
+ import { MergeContext } from '../../FouCanvasKit/types';
3
3
  type __VLS_Props = {
4
4
  doc: BadgeTemplateDoc | null;
5
5
  mergeData?: MergeContext | Record<string, string>;
@@ -106,7 +106,7 @@ export interface BadgeTemplateDoc {
106
106
  elements: BadgeElement[];
107
107
  guides?: BadgeGuideLine[];
108
108
  regions?: BadgeCanvasRegion[];
109
- /** 可选:画布级数据模块(与 QiuCanvasKit 对齐) */
109
+ /** 可选:画布级数据模块(与 FouCanvasKit 对齐) */
110
110
  dataModules?: Array<{
111
111
  id: string;
112
112
  label: string;
@@ -1,7 +1,7 @@
1
- declare const QIU_BUTTON_COLORS: Record<string, string>;
2
- type QiuButtonType = 'default' | keyof typeof QIU_BUTTON_COLORS | string;
1
+ declare const FOU_BUTTON_COLORS: Record<string, string>;
2
+ type FouButtonType = 'default' | keyof typeof FOU_BUTTON_COLORS | string;
3
3
  type __VLS_Props = {
4
- type?: QiuButtonType;
4
+ type?: FouButtonType;
5
5
  color?: string;
6
6
  size?: 'large' | 'default' | 'small';
7
7
  plain?: boolean;
@@ -34,7 +34,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
34
34
  }>, {
35
35
  link: boolean;
36
36
  disabled: boolean;
37
- type: QiuButtonType;
37
+ type: FouButtonType;
38
38
  circle: boolean;
39
39
  text: boolean;
40
40
  round: boolean;
@@ -1,8 +1,10 @@
1
- import { BadgeTemplateDoc } from '../QiuBadge/shared/badgeTemplate';
2
- import { CanvasKitMode } from './types';
1
+ import { BadgeTemplateDoc } from '../FouBadge/shared/badgeTemplate';
2
+ import { DataModuleDef, CanvasKitMode } from './types';
3
3
  type __VLS_Props = {
4
4
  mode?: CanvasKitMode;
5
5
  embedded?: boolean;
6
+ /** 插件使用者配置的数据模块(分类 + 字段),优先于内置默认 */
7
+ extraModules?: DataModuleDef[];
6
8
  };
7
9
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
10
  "update:modelValue": (doc: BadgeTemplateDoc) => any;
@@ -1,6 +1,7 @@
1
1
  import { DataModuleDef } from '../types';
2
2
  type __VLS_Props = {
3
3
  modelValue: DataModuleDef[];
4
+ /** 业务方注入的模块定义(插件使用者配置) */
4
5
  extraModules?: DataModuleDef[];
5
6
  };
6
7
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -1,12 +1,12 @@
1
1
  /**
2
- * QiuCanvasKit — 统一证件 / 桌签 / Banner 画布套件
2
+ * FouCanvasKit — 统一证件 / 桌签 / Banner 画布套件
3
3
  * @author qiuye
4
4
  * @email yjk150@qq.com
5
5
  * @date 2026-08-16
6
6
  */
7
- export { default as QiuCanvasEditor } from './QiuCanvasEditor.vue';
8
- export { default as QiuCanvasRenderer } from './QiuCanvasRenderer.vue';
9
- export { default as QiuCanvasDataModulesPanel } from './components/DataModulesPanel.vue';
7
+ export { default as FouCanvasEditor } from './FouCanvasEditor.vue';
8
+ export { default as FouCanvasRenderer } from './FouCanvasRenderer.vue';
9
+ export { default as FouCanvasDataModulesPanel } from './components/DataModulesPanel.vue';
10
10
  export * from './types';
11
11
  export * from './modules/dataRegistry';
12
12
  export * from './modules/merge';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * QiuCanvasKit 类型:统一证件 / 桌签 / Banner 画布文档
2
+ * FouCanvasKit 类型:统一证件 / 桌签 / Banner 画布文档
3
3
  * @author qiuye
4
4
  * @email yjk150@qq.com
5
5
  * @date 2026-08-16
@@ -1,13 +1,13 @@
1
1
  import { InjectionKey, Ref } from 'vue';
2
- export interface QiuCarouselItemRegistration {
2
+ export interface FouCarouselItemRegistration {
3
3
  uid: number;
4
4
  name?: string | number;
5
5
  }
6
- export interface QiuCarouselContext {
6
+ export interface FouCarouselContext {
7
7
  activeIndex: Ref<number>;
8
8
  itemCount: Ref<number>;
9
- registerItem: (item: QiuCarouselItemRegistration) => number;
9
+ registerItem: (item: FouCarouselItemRegistration) => number;
10
10
  unregisterItem: (uid: number) => void;
11
11
  loop: Ref<boolean>;
12
12
  }
13
- export declare const QIU_CAROUSEL_KEY: InjectionKey<QiuCarouselContext>;
13
+ export declare const FOU_CAROUSEL_KEY: InjectionKey<FouCarouselContext>;
@@ -1,6 +1,6 @@
1
1
  /** 级联选项(字段名可由 props 配置) */
2
- export type QiuCascaderOption = Record<string, any>;
3
- export interface QiuCascaderPropsConfig {
2
+ export type FouCascaderOption = Record<string, any>;
3
+ export interface FouCascaderPropsConfig {
4
4
  /** 选项值字段,默认 value */
5
5
  value?: string;
6
6
  /** 选项文案字段,默认 label */
@@ -18,8 +18,8 @@ export interface QiuCascaderPropsConfig {
18
18
  /** 展开方式 */
19
19
  expandTrigger?: 'click' | 'hover';
20
20
  }
21
- export type QiuCascaderValue = string | number | Array<string | number> | Array<Array<string | number>> | null;
22
- export declare function getOptValue(opt: QiuCascaderOption, cfg: QiuCascaderPropsConfig): string | number;
23
- export declare function getOptLabel(opt: QiuCascaderOption, cfg: QiuCascaderPropsConfig): string;
24
- export declare function getOptChildren(opt: QiuCascaderOption, cfg: QiuCascaderPropsConfig): QiuCascaderOption[] | undefined;
25
- export declare function isOptDisabled(opt: QiuCascaderOption, cfg: QiuCascaderPropsConfig): boolean;
21
+ export type FouCascaderValue = string | number | Array<string | number> | Array<Array<string | number>> | null;
22
+ export declare function getOptValue(opt: FouCascaderOption, cfg: FouCascaderPropsConfig): string | number;
23
+ export declare function getOptLabel(opt: FouCascaderOption, cfg: FouCascaderPropsConfig): string;
24
+ export declare function getOptChildren(opt: FouCascaderOption, cfg: FouCascaderPropsConfig): FouCascaderOption[] | undefined;
25
+ export declare function isOptDisabled(opt: FouCascaderOption, cfg: FouCascaderPropsConfig): boolean;
@@ -1,5 +1,5 @@
1
1
  import { ComputedRef, Ref } from 'vue';
2
- export interface QiuCheckboxGroupContext {
2
+ export interface FouCheckboxGroupContext {
3
3
  modelValue: Ref<(string | number)[]>;
4
4
  disabled: Ref<boolean>;
5
5
  type?: ComputedRef<'default' | 'button'>;
@@ -1,8 +1,8 @@
1
1
  import { InjectionKey, Ref } from 'vue';
2
- export interface QiuCollapseContext {
2
+ export interface FouCollapseContext {
3
3
  activeNames: Ref<(string | number)[]>;
4
4
  accordion: Ref<boolean>;
5
5
  toggleItem: (name: string | number) => void;
6
6
  isActive: (name: string | number) => boolean;
7
7
  }
8
- export declare const QIU_COLLAPSE_KEY: InjectionKey<QiuCollapseContext>;
8
+ export declare const FOU_COLLAPSE_KEY: InjectionKey<FouCollapseContext>;
@@ -1,16 +1,16 @@
1
1
  import { InjectionKey, Ref } from 'vue';
2
- export interface QiuDescriptionsItemRegistration {
2
+ export interface FouDescriptionsItemRegistration {
3
3
  uid: number;
4
4
  label: string;
5
5
  span: number;
6
6
  render: () => any;
7
7
  }
8
- export interface QiuDescriptionsContext {
8
+ export interface FouDescriptionsContext {
9
9
  column: Ref<number>;
10
10
  border: Ref<boolean>;
11
11
  direction: Ref<'horizontal' | 'vertical'>;
12
12
  size: Ref<'large' | 'default' | 'small'>;
13
- registerItem: (item: QiuDescriptionsItemRegistration) => void;
13
+ registerItem: (item: FouDescriptionsItemRegistration) => void;
14
14
  unregisterItem: (uid: number) => void;
15
15
  }
16
- export declare const QIU_DESCRIPTIONS_KEY: InjectionKey<QiuDescriptionsContext>;
16
+ export declare const FOU_DESCRIPTIONS_KEY: InjectionKey<FouDescriptionsContext>;
@@ -1,7 +1,7 @@
1
1
  import { InjectionKey, Ref } from 'vue';
2
- export interface QiuDropdownContext {
2
+ export interface FouDropdownContext {
3
3
  visible: Ref<boolean>;
4
4
  close: () => void;
5
5
  emitCommand: (command: string | number) => void;
6
6
  }
7
- export declare const QIU_DROPDOWN_KEY: InjectionKey<QiuDropdownContext>;
7
+ export declare const FOU_DROPDOWN_KEY: InjectionKey<FouDropdownContext>;
@@ -1,6 +1,6 @@
1
- export declare const QIU_FORM_KEY: unique symbol;
2
- export declare const QIU_FORM_ITEM_KEY: unique symbol;
3
- export type QiuFormRule = {
1
+ export declare const FOU_FORM_KEY: unique symbol;
2
+ export declare const FOU_FORM_ITEM_KEY: unique symbol;
3
+ export type FouFormRule = {
4
4
  required?: boolean;
5
5
  message?: string;
6
6
  min?: number;
@@ -8,24 +8,24 @@ export type QiuFormRule = {
8
8
  pattern?: RegExp;
9
9
  type?: string;
10
10
  trigger?: 'blur' | 'change' | Array<'blur' | 'change'>;
11
- validator?: (rule: QiuFormRule, value: any, callback: (error?: string | Error) => void) => void;
11
+ validator?: (rule: FouFormRule, value: any, callback: (error?: string | Error) => void) => void;
12
12
  };
13
- export type QiuFormRules = Record<string, QiuFormRule | QiuFormRule[]>;
14
- export interface QiuFormItemContext {
13
+ export type FouFormRules = Record<string, FouFormRule | FouFormRule[]>;
14
+ export interface FouFormItemContext {
15
15
  uid: number;
16
16
  prop?: string;
17
17
  validate: (trigger: string) => Promise<boolean>;
18
18
  resetField: () => void;
19
19
  clearValidate: () => void;
20
20
  }
21
- export interface QiuFormContext {
21
+ export interface FouFormContext {
22
22
  model: import('vue').ComputedRef<Record<string, any> | undefined>;
23
- rules: import('vue').ComputedRef<QiuFormRules | undefined>;
23
+ rules: import('vue').ComputedRef<FouFormRules | undefined>;
24
24
  labelWidth: import('vue').ComputedRef<string>;
25
25
  labelPosition: import('vue').ComputedRef<'left' | 'right' | 'top'>;
26
26
  disabled: import('vue').ComputedRef<boolean>;
27
27
  hideRequiredAsterisk: import('vue').ComputedRef<boolean>;
28
- addField: (field: QiuFormItemContext) => void;
29
- removeField: (field: QiuFormItemContext) => void;
28
+ addField: (field: FouFormItemContext) => void;
29
+ removeField: (field: FouFormItemContext) => void;
30
30
  emitValidate: (prop: string, isValid: boolean, message: string) => void;
31
31
  }
@@ -0,0 +1,26 @@
1
+ import { App, Directive } from 'vue';
2
+ import { default as FouLoadingSpinner } from './spinner.vue';
3
+ import { FOU_LOADING_EFFECTS, FouLoadingEffect } from './types';
4
+ export type { FouLoadingEffect };
5
+ export { FOU_LOADING_EFFECTS };
6
+ export interface FouLoadingOptions {
7
+ target?: HTMLElement | string;
8
+ text?: string;
9
+ fullscreen?: boolean;
10
+ transparent?: boolean;
11
+ /** 动画效果,见 FOU_LOADING_EFFECTS */
12
+ effect?: FouLoadingEffect;
13
+ /** directive 绑定值 */
14
+ loading?: boolean;
15
+ }
16
+ export declare const vFouLoading: Directive<HTMLElement, boolean | FouLoadingOptions>;
17
+ export declare const fouLoading: {
18
+ service(options?: FouLoadingOptions): {
19
+ close: () => void;
20
+ };
21
+ };
22
+ declare const _default: {
23
+ install(app: App): void;
24
+ };
25
+ export default _default;
26
+ export { FouLoadingSpinner };
@@ -1,14 +1,14 @@
1
- import { QiuLoadingEffect } from './types';
1
+ import { FouLoadingEffect } from './types';
2
2
  type __VLS_Props = {
3
3
  text?: string;
4
4
  fullscreen?: boolean;
5
5
  transparent?: boolean;
6
- effect?: QiuLoadingEffect;
6
+ effect?: FouLoadingEffect;
7
7
  };
8
8
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
9
  text: string;
10
10
  fullscreen: boolean;
11
11
  transparent: boolean;
12
- effect: QiuLoadingEffect;
12
+ effect: FouLoadingEffect;
13
13
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
14
14
  export default _default;
@@ -1,2 +1,2 @@
1
- export type QiuLoadingEffect = 'spinner' | 'dual-ring' | 'crescent' | 'gradient' | 'dash' | 'dots' | 'wave' | 'bounce' | 'bars' | 'bricks' | 'square' | 'flip' | 'pulse' | 'ripple' | 'orbit' | 'radar' | 'spiral' | 'infinity' | 'hourglass' | 'skeleton';
2
- export declare const QIU_LOADING_EFFECTS: QiuLoadingEffect[];
1
+ export type FouLoadingEffect = 'spinner' | 'dual-ring' | 'crescent' | 'gradient' | 'dash' | 'dots' | 'wave' | 'bounce' | 'bars' | 'bricks' | 'square' | 'flip' | 'pulse' | 'ripple' | 'orbit' | 'radar' | 'spiral' | 'infinity' | 'hourglass' | 'skeleton';
2
+ export declare const FOU_LOADING_EFFECTS: FouLoadingEffect[];
@@ -1,5 +1,5 @@
1
1
  import { InjectionKey, Ref } from 'vue';
2
- export interface QiuRouteMenuContext {
2
+ export interface FouRouteMenuContext {
3
3
  mode: Ref<'vertical' | 'horizontal'>;
4
4
  collapse: Ref<boolean>;
5
5
  activeIndex: Ref<string>;
@@ -16,4 +16,4 @@ export interface QiuRouteMenuContext {
16
16
  selectItem: (index: string) => void;
17
17
  isActive: (index: string) => boolean;
18
18
  }
19
- export declare const QIU_ROUTE_MENU_KEY: InjectionKey<QiuRouteMenuContext>;
19
+ export declare const FOU_ROUTE_MENU_KEY: InjectionKey<FouRouteMenuContext>;
@@ -1,5 +1,5 @@
1
1
  import { InjectionKey, Ref } from 'vue';
2
- export interface QiuMenuNavContext {
2
+ export interface FouMenuNavContext {
3
3
  mode: Ref<'vertical' | 'horizontal'>;
4
4
  collapse: Ref<boolean>;
5
5
  defaultActive: Ref<string>;
@@ -9,4 +9,4 @@ export interface QiuMenuNavContext {
9
9
  isSubOpen: (index: string) => boolean;
10
10
  toggleSub: (index: string) => void;
11
11
  }
12
- export declare const QIU_MENU_NAV_KEY: InjectionKey<QiuMenuNavContext>;
12
+ export declare const FOU_MENU_NAV_KEY: InjectionKey<FouMenuNavContext>;
@@ -1,8 +1,8 @@
1
- import { QiuMsgPosition, QiuMsgType } from './types';
1
+ import { FouMsgPosition, FouMsgType } from './types';
2
2
  type __VLS_Props = {
3
3
  id: string;
4
- type: QiuMsgType;
5
- position: QiuMsgPosition;
4
+ type: FouMsgType;
5
+ position: FouMsgPosition;
6
6
  message: any;
7
7
  showClose: boolean;
8
8
  visible: boolean;
@@ -0,0 +1,30 @@
1
+ import { App } from 'vue';
2
+ import { FouMsgOptions, FouMsgPosition } from './types';
3
+ export type { FouMsgOptions, FouMsgPosition, FouMsgType } from './types';
4
+ export declare const fouMsg: FouMsgFn;
5
+ declare const _default: {
6
+ install(app: App): void;
7
+ };
8
+ export default _default;
9
+ export type FouMsgFn = ((options: FouMsgOptions | string) => {
10
+ close: () => void;
11
+ id: string;
12
+ }) & {
13
+ success: (message: string | FouMsgOptions, position?: FouMsgPosition) => {
14
+ close: () => void;
15
+ id: string;
16
+ };
17
+ warning: (message: string | FouMsgOptions, position?: FouMsgPosition) => {
18
+ close: () => void;
19
+ id: string;
20
+ };
21
+ info: (message: string | FouMsgOptions, position?: FouMsgPosition) => {
22
+ close: () => void;
23
+ id: string;
24
+ };
25
+ error: (message: string | FouMsgOptions, position?: FouMsgPosition) => {
26
+ close: () => void;
27
+ id: string;
28
+ };
29
+ closeAll: (position?: FouMsgPosition) => void;
30
+ };
@@ -1,9 +1,9 @@
1
- export type QiuMsgPosition = 'center' | 'left-top' | 'left-center' | 'left-bottom' | 'top-center' | 'bottom-center' | 'right-top' | 'right-center' | 'right-bottom';
2
- export type QiuMsgType = 'success' | 'warning' | 'info' | 'error';
3
- export interface QiuMsgOptions {
1
+ export type FouMsgPosition = 'center' | 'left-top' | 'left-center' | 'left-bottom' | 'top-center' | 'bottom-center' | 'right-top' | 'right-center' | 'right-bottom';
2
+ export type FouMsgType = 'success' | 'warning' | 'info' | 'error';
3
+ export interface FouMsgOptions {
4
4
  message: string | import('vue').VNode;
5
- type?: QiuMsgType;
6
- position?: QiuMsgPosition;
5
+ type?: FouMsgType;
6
+ position?: FouMsgPosition;
7
7
  duration?: number;
8
8
  showClose?: boolean;
9
9
  offset?: number;
@@ -7,8 +7,8 @@ type BoxOptions = {
7
7
  cancelButtonText?: string;
8
8
  dangerouslyUseHTMLString?: boolean;
9
9
  };
10
- export declare const qiuAlert: (content: any, title?: string, callback?: () => void) => Promise<void>;
11
- export declare const qiuConfirm: (content: any, title?: string, onOk?: () => void, onCancel?: () => void, confirmButtonText?: string, cancelButtonText?: string) => Promise<void>;
10
+ export declare const fouAlert: (content: any, title?: string, callback?: () => void) => Promise<void>;
11
+ export declare const fouConfirm: (content: any, title?: string, onOk?: () => void, onCancel?: () => void, confirmButtonText?: string, cancelButtonText?: string) => Promise<void>;
12
12
  /** Promise 版:返回 'confirm' | 'cancel',便于 async/await */
13
- export declare const qiuConfirmPromise: (content: any, title?: string, opts?: Pick<BoxOptions, "confirmButtonText" | "cancelButtonText" | "dangerouslyUseHTMLString">) => Promise<"cancel" | "confirm">;
13
+ export declare const fouConfirmPromise: (content: any, title?: string, opts?: Pick<BoxOptions, "confirmButtonText" | "cancelButtonText" | "dangerouslyUseHTMLString">) => Promise<"cancel" | "confirm">;
14
14
  export {};
@@ -1,8 +1,8 @@
1
- import { QiuNotifyPosition, QiuNotifyType } from './types';
1
+ import { FouNotifyPosition, FouNotifyType } from './types';
2
2
  type __VLS_Props = {
3
3
  id: string;
4
- type: QiuNotifyType;
5
- position: QiuNotifyPosition;
4
+ type: FouNotifyType;
5
+ position: FouNotifyPosition;
6
6
  title: string;
7
7
  message: string;
8
8
  showClose: boolean;
@@ -0,0 +1,30 @@
1
+ import { App } from 'vue';
2
+ import { FouNotifyOptions, FouNotifyPosition } from './types';
3
+ export type { FouNotifyOptions, FouNotifyPosition, FouNotifyType } from './types';
4
+ export declare const fouNotify: FouNotifyFn;
5
+ declare const _default: {
6
+ install(app: App): void;
7
+ };
8
+ export default _default;
9
+ export type FouNotifyFn = ((options: FouNotifyOptions | string) => {
10
+ close: () => void;
11
+ id: string;
12
+ }) & {
13
+ success: (options: string | FouNotifyOptions) => {
14
+ close: () => void;
15
+ id: string;
16
+ };
17
+ warning: (options: string | FouNotifyOptions) => {
18
+ close: () => void;
19
+ id: string;
20
+ };
21
+ info: (options: string | FouNotifyOptions) => {
22
+ close: () => void;
23
+ id: string;
24
+ };
25
+ error: (options: string | FouNotifyOptions) => {
26
+ close: () => void;
27
+ id: string;
28
+ };
29
+ closeAll: (position?: FouNotifyPosition) => void;
30
+ };
@@ -0,0 +1,12 @@
1
+ export type FouNotifyPosition = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
2
+ export type FouNotifyType = 'success' | 'warning' | 'info' | 'error';
3
+ export interface FouNotifyOptions {
4
+ title?: string;
5
+ message?: string;
6
+ type?: FouNotifyType;
7
+ duration?: number;
8
+ position?: FouNotifyPosition;
9
+ offset?: number;
10
+ id?: string;
11
+ onClose?: () => void;
12
+ }
@@ -1,5 +1,5 @@
1
1
  import { ComputedRef, Ref } from 'vue';
2
- export interface QiuRadioGroupContext {
2
+ export interface FouRadioGroupContext {
3
3
  modelValue: Ref<string | number | boolean | undefined>;
4
4
  disabled: Ref<boolean>;
5
5
  name: Ref<string>;
@@ -0,0 +1,4 @@
1
+ export declare const FOU_ROW_KEY: unique symbol;
2
+ export interface FouRowContext {
3
+ gutter: import('vue').Ref<number>;
4
+ }
@@ -1,7 +1,7 @@
1
- import { QiuSelectOption } from './types';
1
+ import { FouSelectOption } from './types';
2
2
  type __VLS_Props = {
3
3
  modelValue?: string | number | boolean | null;
4
- options?: QiuSelectOption[];
4
+ options?: FouSelectOption[];
5
5
  placeholder?: string;
6
6
  clearable?: boolean;
7
7
  disabled?: boolean;
@@ -37,7 +37,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
37
37
  size: "large" | "default" | "small";
38
38
  placeholder: string;
39
39
  fit: boolean;
40
- options: QiuSelectOption[];
40
+ options: FouSelectOption[];
41
41
  clearable: boolean;
42
42
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
43
43
  rootRef: HTMLDivElement;
@@ -1,13 +1,13 @@
1
1
  import { Ref } from 'vue';
2
- export interface QiuSelectOption {
2
+ export interface FouSelectOption {
3
3
  value: string | number | boolean;
4
4
  label: string;
5
5
  disabled?: boolean;
6
6
  }
7
- export interface QiuSelectContext {
7
+ export interface FouSelectContext {
8
8
  modelValue: Ref<string | number | boolean | null | undefined>;
9
9
  selectOption: (value: string | number | boolean, label: string) => void;
10
10
  setHoverOption: (value: string | number | boolean) => void;
11
- registerOption: (option: QiuSelectOption) => void;
11
+ registerOption: (option: FouSelectOption) => void;
12
12
  unregisterOption: (value: string | number | boolean) => void;
13
13
  }
@@ -1,4 +1,4 @@
1
- import { StepStatus } from '../QiuSteps/context';
1
+ import { StepStatus } from '../FouSteps/context';
2
2
  type __VLS_Props = {
3
3
  title?: string;
4
4
  description?: string;