foucui 1.0.2 → 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 (144) 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} +1 -1
  10. package/dist/components/{QiuCanvasKit → FouCanvasKit}/index.d.ts +4 -4
  11. package/dist/components/{QiuCanvasKit → FouCanvasKit}/types.d.ts +1 -1
  12. package/dist/components/{QiuCarousel → FouCarousel}/context.d.ts +4 -4
  13. package/dist/components/{QiuCascader → FouCascader}/types.d.ts +7 -7
  14. package/dist/components/{QiuCheckbox → FouCheckbox}/types.d.ts +1 -1
  15. package/dist/components/{QiuCollapse → FouCollapse}/context.d.ts +2 -2
  16. package/dist/components/{QiuDescriptions → FouDescriptions}/context.d.ts +4 -4
  17. package/dist/components/{QiuDropdown → FouDropdown}/context.d.ts +2 -2
  18. package/dist/components/{QiuForm → FouForm}/types.d.ts +10 -10
  19. package/dist/components/FouLoading/index.d.ts +26 -0
  20. package/dist/components/{QiuLoading → FouLoading}/spinner.vue.d.ts +3 -3
  21. package/dist/components/{QiuLoading → FouLoading}/types.d.ts +2 -2
  22. package/dist/components/{QiuMenu → FouMenu}/context.d.ts +2 -2
  23. package/dist/components/{QiuMenuNav → FouMenuNav}/context.d.ts +2 -2
  24. package/dist/components/{QiuMsg/QiuMsgItem.vue.d.ts → FouMsg/FouMsgItem.vue.d.ts} +3 -3
  25. package/dist/components/FouMsg/index.d.ts +30 -0
  26. package/dist/components/{QiuMsg → FouMsg}/types.d.ts +5 -5
  27. package/dist/components/{QiuMsgBox → FouMsgBox}/index.d.ts +3 -3
  28. package/dist/components/{QiuNotification/QiuNotificationItem.vue.d.ts → FouNotification/FouNotificationItem.vue.d.ts} +3 -3
  29. package/dist/components/FouNotification/index.d.ts +30 -0
  30. package/dist/components/FouNotification/types.d.ts +12 -0
  31. package/dist/components/{QiuRadio → FouRadio}/types.d.ts +1 -1
  32. package/dist/components/FouRow/types.d.ts +4 -0
  33. package/dist/components/{QiuSelect → FouSelect}/index.vue.d.ts +3 -3
  34. package/dist/components/{QiuSelect → FouSelect}/types.d.ts +3 -3
  35. package/dist/components/{QiuStep → FouStep}/index.vue.d.ts +1 -1
  36. package/dist/components/{QiuSteps → FouSteps}/context.d.ts +5 -5
  37. package/dist/components/{QiuTabBar → FouTabBar}/index.vue.d.ts +3 -3
  38. package/dist/components/{QiuTabBar → FouTabBar}/types.d.ts +5 -5
  39. package/dist/components/{QiuTable → FouTable}/export.d.ts +5 -5
  40. package/dist/components/FouTable/index.d.ts +3 -0
  41. package/dist/components/{QiuTable → FouTable}/index.vue.d.ts +49 -49
  42. package/dist/components/FouTable/registry.d.ts +39 -0
  43. package/dist/components/{QiuTable → FouTable}/types.d.ts +60 -60
  44. package/dist/components/{QiuTable → FouTable}/useArea.d.ts +10 -10
  45. package/dist/components/{QiuTable → FouTable}/useColumns.d.ts +5 -5
  46. package/dist/components/FouTable/useEdit.d.ts +36 -0
  47. package/dist/components/{QiuTable → FouTable}/useHistory.d.ts +5 -5
  48. package/dist/components/{QiuTable → FouTable}/useMerge.d.ts +6 -6
  49. package/dist/components/{QiuTable → FouTable}/useScrollSync.d.ts +1 -1
  50. package/dist/components/{QiuTable → FouTable}/utils.d.ts +17 -17
  51. package/dist/components/FouTree/types.d.ts +13 -0
  52. package/dist/components/{QiuUpload → FouUpload}/index.vue.d.ts +17 -17
  53. package/dist/foucui.css +1 -1
  54. package/dist/foucui.js +7362 -7362
  55. package/dist/foucui.umd.cjs +37 -37
  56. package/dist/index.d.ts +43 -43
  57. package/dist/src/bridge/@/config/index.d.ts +1 -1
  58. package/dist/src/bridge/@fou/plugins/shortcuts.d.ts +2 -0
  59. package/package.json +5 -3
  60. package/dist/components/QiuBadge/index.d.ts +0 -18
  61. package/dist/components/QiuLoading/index.d.ts +0 -26
  62. package/dist/components/QiuMsg/index.d.ts +0 -30
  63. package/dist/components/QiuNotification/index.d.ts +0 -30
  64. package/dist/components/QiuNotification/types.d.ts +0 -12
  65. package/dist/components/QiuRow/types.d.ts +0 -4
  66. package/dist/components/QiuTable/index.d.ts +0 -3
  67. package/dist/components/QiuTable/registry.d.ts +0 -39
  68. package/dist/components/QiuTable/useEdit.d.ts +0 -36
  69. package/dist/components/QiuTree/types.d.ts +0 -13
  70. package/dist/src/bridge/@qiu/plugins/shortcuts.d.ts +0 -2
  71. /package/dist/components/{QiuAnchorLink → FouAnchorLink}/index.vue.d.ts +0 -0
  72. /package/dist/components/{QiuBadge → FouBadge}/api/index.d.ts +0 -0
  73. /package/dist/components/{QiuBadge → FouBadge}/components/BadgeImagePickerDialog.vue.d.ts +0 -0
  74. /package/dist/components/{QiuBadge → FouBadge}/components/BadgeLibraryManagerDialog.vue.d.ts +0 -0
  75. /package/dist/components/{QiuBadge → FouBadge}/components/BadgeLibraryPanel.vue.d.ts +0 -0
  76. /package/dist/components/{QiuBadge → FouBadge}/shared/assetUrl.d.ts +0 -0
  77. /package/dist/components/{QiuBadge → FouBadge}/utils/chinaAreaData.d.ts +0 -0
  78. /package/dist/components/{QiuBadge → FouBadge}/utils/hostRegion.d.ts +0 -0
  79. /package/dist/components/{QiuBadge → FouBadge}/utils/pdfFromElement.d.ts +0 -0
  80. /package/dist/components/{QiuBadge → FouBadge}/views/BadgeLibraryView.vue.d.ts +0 -0
  81. /package/dist/components/{QiuBadge → FouBadge}/views/BadgeManageView.vue.d.ts +0 -0
  82. /package/dist/components/{QiuBadge → FouBadge}/views/BadgeTemplateListView.vue.d.ts +0 -0
  83. /package/dist/components/{QiuBadge → FouBadge}/views/DeskLabelTemplateListView.vue.d.ts +0 -0
  84. /package/dist/components/{QiuBadge → FouBadge}/views/DeskLabelView.vue.d.ts +0 -0
  85. /package/dist/components/{QiuCanvasKit/QiuCanvasRenderer.vue.d.ts → FouCanvasKit/FouCanvasRenderer.vue.d.ts} +0 -0
  86. /package/dist/components/{QiuCanvasKit → FouCanvasKit}/assetUrl.d.ts +0 -0
  87. /package/dist/components/{QiuCanvasKit → FouCanvasKit}/components/DataModulesPanel.vue.d.ts +0 -0
  88. /package/dist/components/{QiuCanvasKit → FouCanvasKit}/export/html.d.ts +0 -0
  89. /package/dist/components/{QiuCanvasKit → FouCanvasKit}/export/pdf.d.ts +0 -0
  90. /package/dist/components/{QiuCanvasKit → FouCanvasKit}/export/png.d.ts +0 -0
  91. /package/dist/components/{QiuCanvasKit → FouCanvasKit}/modules/badgeCompat.d.ts +0 -0
  92. /package/dist/components/{QiuCanvasKit → FouCanvasKit}/modules/dataRegistry.d.ts +0 -0
  93. /package/dist/components/{QiuCanvasKit → FouCanvasKit}/modules/merge.d.ts +0 -0
  94. /package/dist/components/{QiuCanvasKit → FouCanvasKit}/presets/badge.d.ts +0 -0
  95. /package/dist/components/{QiuCanvasKit → FouCanvasKit}/presets/banner.d.ts +0 -0
  96. /package/dist/components/{QiuCarouselItem → FouCarouselItem}/index.vue.d.ts +0 -0
  97. /package/dist/components/{QiuCheckbox/QiuCheckboxGroup.vue.d.ts → FouCheckbox/FouCheckboxGroup.vue.d.ts} +0 -0
  98. /package/dist/components/{QiuCheckbox → FouCheckbox}/index.vue.d.ts +0 -0
  99. /package/dist/components/{QiuCode → FouCode}/index.vue.d.ts +0 -0
  100. /package/dist/components/{QiuCollapseItem → FouCollapseItem}/index.vue.d.ts +0 -0
  101. /package/dist/components/{QiuColorField → FouColorField}/index.vue.d.ts +0 -0
  102. /package/dist/components/{QiuColorPicker → FouColorPicker}/index.vue.d.ts +0 -0
  103. /package/dist/components/{QiuCombobox → FouCombobox}/index.vue.d.ts +0 -0
  104. /package/dist/components/{QiuContextMenu → FouContextMenu}/index.vue.d.ts +0 -0
  105. /package/dist/components/{QiuDescriptionsItem → FouDescriptionsItem}/index.vue.d.ts +0 -0
  106. /package/dist/components/{QiuDigitalCard → FouDigitalCard}/index.vue.d.ts +0 -0
  107. /package/dist/components/{QiuDropdown/QiuDropdownItem.vue.d.ts → FouDropdown/FouDropdownItem.vue.d.ts} +0 -0
  108. /package/dist/components/{QiuDropdown/QiuDropdownMenu.vue.d.ts → FouDropdown/FouDropdownMenu.vue.d.ts} +0 -0
  109. /package/dist/components/{QiuDropdown → FouDropdown}/index.vue.d.ts +0 -0
  110. /package/dist/components/{QiuHoverCard → FouHoverCard}/index.vue.d.ts +0 -0
  111. /package/dist/components/{QiuIcon → FouIcon}/index.vue.d.ts +0 -0
  112. /package/dist/components/{QiuIconPicker → FouIconPicker}/iconify.libraries.d.ts +0 -0
  113. /package/dist/components/{QiuIconPicker → FouIconPicker}/icons.catalog.d.ts +0 -0
  114. /package/dist/components/{QiuInput → FouInput}/index.vue.d.ts +0 -0
  115. /package/dist/components/{QiuInputNumber → FouInputNumber}/index.vue.d.ts +0 -0
  116. /package/dist/components/{QiuInputOtp → FouInputOtp}/index.vue.d.ts +0 -0
  117. /package/dist/components/{QiuKbd → FouKbd}/index.vue.d.ts +0 -0
  118. /package/dist/components/{QiuLayoutContainer → FouLayoutContainer}/index.vue.d.ts +0 -0
  119. /package/dist/components/{QiuLinkPreview → FouLinkPreview}/index.vue.d.ts +0 -0
  120. /package/dist/components/{QiuMention → FouMention}/index.vue.d.ts +0 -0
  121. /package/dist/components/{QiuMenu/QiuMenuRoot.vue.d.ts → FouMenu/FouMenuRoot.vue.d.ts} +0 -0
  122. /package/dist/components/{QiuMenuNav/QiuMenuNavItem.vue.d.ts → FouMenuNav/FouMenuNavItem.vue.d.ts} +0 -0
  123. /package/dist/components/{QiuMenuNav/QiuMenuNavSub.vue.d.ts → FouMenuNav/FouMenuNavSub.vue.d.ts} +0 -0
  124. /package/dist/components/{QiuMenuNav → FouMenuNav}/index.vue.d.ts +0 -0
  125. /package/dist/components/{QiuPageMain → FouPageMain}/index.vue.d.ts +0 -0
  126. /package/dist/components/{QiuPagination → FouPagination}/index.vue.d.ts +0 -0
  127. /package/dist/components/{QiuPasswordStrength → FouPasswordStrength}/index.vue.d.ts +0 -0
  128. /package/dist/components/{QiuQrcode → FouQrcode}/index.vue.d.ts +0 -0
  129. /package/dist/components/{QiuRadio/QiuRadioGroup.vue.d.ts → FouRadio/FouRadioGroup.vue.d.ts} +0 -0
  130. /package/dist/components/{QiuSearchBar → FouSearchBar}/index.vue.d.ts +0 -0
  131. /package/dist/components/{QiuSelect/QiuOption.vue.d.ts → FouSelect/FouOption.vue.d.ts} +0 -0
  132. /package/dist/components/{QiuSparkline → FouSparkline}/index.vue.d.ts +0 -0
  133. /package/dist/components/{QiuSwitch → FouSwitch}/index.vue.d.ts +0 -0
  134. /package/dist/components/{QiuTabPane → FouTabPane}/index.vue.d.ts +0 -0
  135. /package/dist/components/{QiuTable → FouTable}/columns.d.ts +0 -0
  136. /package/dist/components/{QiuTable → FouTable}/useExtras.d.ts +0 -0
  137. /package/dist/components/{QiuTable → FouTable}/useResize.d.ts +0 -0
  138. /package/dist/components/{QiuTable → FouTable}/useVirtual.d.ts +0 -0
  139. /package/dist/components/{QiuTime → FouTime}/index.vue.d.ts +0 -0
  140. /package/dist/components/{QiuTimeAgo → FouTimeAgo}/index.vue.d.ts +0 -0
  141. /package/dist/components/{QiuTimelineItem → FouTimelineItem}/index.vue.d.ts +0 -0
  142. /package/dist/components/{QiuTooltip → FouTooltip}/index.vue.d.ts +0 -0
  143. /package/dist/components/{QiuTrend → FouTrend}/index.vue.d.ts +0 -0
  144. /package/dist/components/{QiuUploadCrop → FouUploadCrop}/index.vue.d.ts +0 -0
package/dist/index.d.ts CHANGED
@@ -1,46 +1,46 @@
1
1
  import { App } from 'vue';
2
- import { QIU_LOADING_EFFECTS, qiuLoading } from './components/QiuLoading';
3
- import { qiuMsg } from './components/QiuMsg';
4
- import { qiuNotify } from './components/QiuNotification';
5
- export declare const version = "1.0.1";
6
- export { qiuMsg, qiuNotify, qiuLoading };
7
- /** QiuCanvasKit:证件 / 桌签 / Banner 统一画布 */
8
- export { QiuCanvasEditor, QiuCanvasRenderer, QiuCanvasDataModulesPanel, mergeTemplateText, mergeBadgeText, flattenBadgeForMerge, flattenDeskLabelForMerge, mapRowToContext, resolveDataModules, cloneBuiltinModules, createCustomModule, sampleContextFromModules, listInsertableFields, createBannerDoc, createBadgeDoc, buildCanvasHtml, downloadCanvasHtml, downloadElementPng, downloadElementPdf, BADGE_PLACEHOLDER_KEYS, BADGE_PLACEHOLDER_LABELS, BUILTIN_DATA_MODULES, LEGACY_FLAT_KEY_MAP, } from './components/QiuCanvasKit';
9
- export type { CanvasKitMode, CanvasKitDoc, CanvasKitElement, DataModuleDef, DataFieldDef, MergeContext, ElementLink, } from './components/QiuCanvasKit';
10
- export { qiuConfirmPromise, qiuAlert, qiuConfirm } from './components/QiuMsgBox';
11
- export { default as QiuButton } from './components/QiuButton/index.vue';
12
- export { default as QiuConfigProvider } from './components/QiuConfigProvider/index.vue';
13
- export { default as QiuColorPicker } from './components/QiuColorPicker/index.vue';
14
- export { default as QiuNotification } from './components/QiuNotification';
15
- export { default as QiuLoading } from './components/QiuLoading';
16
- export { QIU_LOADING_EFFECTS };
17
- export { default as QiuUpload } from './components/QiuUpload/index.vue';
18
- export { default as QiuUploadCrop } from './components/QiuUploadCrop/index.vue';
19
- export { default as QiuTabBar } from './components/QiuTabBar/index.vue';
20
- export { default as QiuTabPane } from './components/QiuTabPane/index.vue';
21
- export { default as QiuContextMenu } from './components/QiuContextMenu/index.vue';
22
- export { default as QiuHoverCard } from './components/QiuHoverCard/index.vue';
23
- export { default as QiuInputOtp } from './components/QiuInputOtp/index.vue';
24
- export { default as QiuKbd } from './components/QiuKbd/index.vue';
25
- export { default as QiuLayoutContainer } from './components/QiuLayoutContainer/index.vue';
26
- export { default as QiuPageMain } from './components/QiuPageMain/index.vue';
27
- export { default as QiuPasswordStrength } from './components/QiuPasswordStrength/index.vue';
28
- export { default as QiuSearchBar } from './components/QiuSearchBar/index.vue';
29
- export { default as QiuTrend } from './components/QiuTrend/index.vue';
30
- export { default as QiuCode } from './components/QiuCode/index.vue';
31
- export { default as QiuCombobox } from './components/QiuCombobox/index.vue';
32
- export { default as QiuDigitalCard } from './components/QiuDigitalCard/index.vue';
33
- export { default as QiuLinkPreview } from './components/QiuLinkPreview/index.vue';
34
- export { default as QiuMention } from './components/QiuMention/index.vue';
35
- export { default as QiuQrcode } from './components/QiuQrcode/index.vue';
36
- export { default as QiuSparkline } from './components/QiuSparkline/index.vue';
37
- export { default as QiuTimeAgo } from './components/QiuTimeAgo/index.vue';
38
- export { qiuApp } from './plugins/qiu';
39
- export type { QiuMsgOptions, QiuMsgPosition, QiuMsgType, QiuMsgFn } from './components/QiuMsg';
40
- export type { QiuNotifyOptions } from './components/QiuNotification';
41
- export type { QiuConfigProviderContext } from './components/QiuConfigProvider/index.vue';
42
- export type { QiuFormRules, QiuFormRule, QiuFormItemContext, QiuFormContext } from './components/QiuForm/types';
43
- export declare const setupQiu: (app: App<Element>) => void;
44
- /** setupQiu 别名(包名 foucui;兼容旧名 qiuye) */
2
+ import { FOU_LOADING_EFFECTS, fouLoading } from './components/FouLoading';
3
+ import { fouMsg } from './components/FouMsg';
4
+ import { fouNotify } from './components/FouNotification';
5
+ export declare const version = "2.0.0";
6
+ export { fouMsg, fouNotify, fouLoading };
7
+ /** FouCanvasKit:证件 / 桌签 / Banner 统一画布 */
8
+ export { FouCanvasEditor, FouCanvasRenderer, FouCanvasDataModulesPanel, mergeTemplateText, mergeBadgeText, flattenBadgeForMerge, flattenDeskLabelForMerge, mapRowToContext, resolveDataModules, cloneBuiltinModules, createCustomModule, sampleContextFromModules, listInsertableFields, createBannerDoc, createBadgeDoc, buildCanvasHtml, downloadCanvasHtml, downloadElementPng, downloadElementPdf, BADGE_PLACEHOLDER_KEYS, BADGE_PLACEHOLDER_LABELS, BUILTIN_DATA_MODULES, LEGACY_FLAT_KEY_MAP, } from './components/FouCanvasKit';
9
+ export type { CanvasKitMode, CanvasKitDoc, CanvasKitElement, DataModuleDef, DataFieldDef, MergeContext, ElementLink, } from './components/FouCanvasKit';
10
+ export { fouConfirmPromise, fouAlert, fouConfirm } from './components/FouMsgBox';
11
+ export { default as FouButton } from './components/FouButton/index.vue';
12
+ export { default as FouConfigProvider } from './components/FouConfigProvider/index.vue';
13
+ export { default as FouColorPicker } from './components/FouColorPicker/index.vue';
14
+ export { default as FouNotification } from './components/FouNotification';
15
+ export { default as FouLoading } from './components/FouLoading';
16
+ export { FOU_LOADING_EFFECTS };
17
+ export { default as FouUpload } from './components/FouUpload/index.vue';
18
+ export { default as FouUploadCrop } from './components/FouUploadCrop/index.vue';
19
+ export { default as FouTabBar } from './components/FouTabBar/index.vue';
20
+ export { default as FouTabPane } from './components/FouTabPane/index.vue';
21
+ export { default as FouContextMenu } from './components/FouContextMenu/index.vue';
22
+ export { default as FouHoverCard } from './components/FouHoverCard/index.vue';
23
+ export { default as FouInputOtp } from './components/FouInputOtp/index.vue';
24
+ export { default as FouKbd } from './components/FouKbd/index.vue';
25
+ export { default as FouLayoutContainer } from './components/FouLayoutContainer/index.vue';
26
+ export { default as FouPageMain } from './components/FouPageMain/index.vue';
27
+ export { default as FouPasswordStrength } from './components/FouPasswordStrength/index.vue';
28
+ export { default as FouSearchBar } from './components/FouSearchBar/index.vue';
29
+ export { default as FouTrend } from './components/FouTrend/index.vue';
30
+ export { default as FouCode } from './components/FouCode/index.vue';
31
+ export { default as FouCombobox } from './components/FouCombobox/index.vue';
32
+ export { default as FouDigitalCard } from './components/FouDigitalCard/index.vue';
33
+ export { default as FouLinkPreview } from './components/FouLinkPreview/index.vue';
34
+ export { default as FouMention } from './components/FouMention/index.vue';
35
+ export { default as FouQrcode } from './components/FouQrcode/index.vue';
36
+ export { default as FouSparkline } from './components/FouSparkline/index.vue';
37
+ export { default as FouTimeAgo } from './components/FouTimeAgo/index.vue';
38
+ export { fouApp } from './plugins/fou';
39
+ export type { FouMsgOptions, FouMsgPosition, FouMsgType, FouMsgFn } from './components/FouMsg';
40
+ export type { FouNotifyOptions } from './components/FouNotification';
41
+ export type { FouConfigProviderContext } from './components/FouConfigProvider/index.vue';
42
+ export type { FouFormRules, FouFormRule, FouFormItemContext, FouFormContext } from './components/FouForm/types';
43
+ export declare const setupFou: (app: App<Element>) => void;
44
+ /** setupFou 别名(包名 foucui;兼容旧名 qiuye) */
45
45
  export declare const setupQiuye: (app: App<Element>) => void;
46
46
  export declare const setupFoucui: (app: App<Element>) => void;
@@ -4,7 +4,7 @@ export declare const uniqueOpened = true;
4
4
  export declare const openFirstMenu = false;
5
5
  export declare const keepAliveMaxNum = 99;
6
6
  export declare const color: string[];
7
- export declare const title = "qiu-ui";
7
+ export declare const title = "fou-ui";
8
8
  export declare const logo = "";
9
9
  export declare const tokenName = "token";
10
10
  export declare const tokenTableName = "token";
@@ -0,0 +1,2 @@
1
+ export declare const FOU_SHORTCUTS: any[];
2
+ export default FOU_SHORTCUTS;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "foucui",
3
- "version": "1.0.2",
4
- "description": "FouCui Vue3 组件库(原 qiuui-vue / qiuye,含 QiuCanvasKit 画布套件)",
3
+ "version": "2.0.0",
4
+ "description": "FouCui Vue3 组件库(组件前缀 Fou/fou-;含 FouCanvasKit)",
5
5
  "type": "module",
6
6
  "main": "./dist/foucui.umd.cjs",
7
7
  "module": "./dist/foucui.js",
@@ -13,7 +13,9 @@
13
13
  "require": "./dist/foucui.umd.cjs"
14
14
  },
15
15
  "./dist/foucui.css": "./dist/foucui.css",
16
+ "./dist/fou.css": "./dist/foucui.css",
16
17
  "./dist/qiuye.css": "./dist/foucui.css",
18
+ "./dist/fouui-vue.css": "./dist/foucui.css",
17
19
  "./dist/qiuui-vue.css": "./dist/foucui.css",
18
20
  "./package.json": "./package.json"
19
21
  },
@@ -82,7 +84,7 @@
82
84
  "vue3",
83
85
  "foucui",
84
86
  "qiuye",
85
- "qiuui",
87
+ "fouui",
86
88
  "canvas",
87
89
  "badge"
88
90
  ],
@@ -1,18 +0,0 @@
1
- /**
2
- * QiuBadge — 证件 / 桌签制作插件
3
- * 源码迁自 zhihui web-admin + shared,先落地再调。
4
- */
5
- /** 编辑器真源在 QiuCanvasKit;此入口保持兼容 */
6
- export { default as QiuBadgeTemplateEditor } from '../QiuCanvasKit/QiuCanvasEditor.vue';
7
- export { default as QiuBadgeTemplateList } from './views/BadgeTemplateListView.vue';
8
- export { default as QiuBadgeManage } from './views/BadgeManageView.vue';
9
- export { default as QiuBadgeLibrary } from './views/BadgeLibraryView.vue';
10
- export { default as QiuDeskLabel } from './views/DeskLabelView.vue';
11
- export { default as QiuDeskLabelTemplateList } from './views/DeskLabelTemplateListView.vue';
12
- export { default as QiuBadgeTemplateRenderer } from './shared/BadgeTemplateRenderer.vue';
13
- export { default as QiuBadgeImagePickerDialog } from './components/BadgeImagePickerDialog.vue';
14
- export { default as QiuBadgeLibraryManagerDialog } from './components/BadgeLibraryManagerDialog.vue';
15
- export { default as QiuBadgeLibraryPanel } from './components/BadgeLibraryPanel.vue';
16
- export * from './shared/badgeTemplate';
17
- export * from './shared/assetUrl';
18
- export * as QiuBadgeApi from './api/index';
@@ -1,26 +0,0 @@
1
- import { App, Directive } from 'vue';
2
- import { default as QiuLoadingSpinner } from './spinner.vue';
3
- import { QIU_LOADING_EFFECTS, QiuLoadingEffect } from './types';
4
- export type { QiuLoadingEffect };
5
- export { QIU_LOADING_EFFECTS };
6
- export interface QiuLoadingOptions {
7
- target?: HTMLElement | string;
8
- text?: string;
9
- fullscreen?: boolean;
10
- transparent?: boolean;
11
- /** 动画效果,见 QIU_LOADING_EFFECTS */
12
- effect?: QiuLoadingEffect;
13
- /** directive 绑定值 */
14
- loading?: boolean;
15
- }
16
- export declare const vQiuLoading: Directive<HTMLElement, boolean | QiuLoadingOptions>;
17
- export declare const qiuLoading: {
18
- service(options?: QiuLoadingOptions): {
19
- close: () => void;
20
- };
21
- };
22
- declare const _default: {
23
- install(app: App): void;
24
- };
25
- export default _default;
26
- export { QiuLoadingSpinner };
@@ -1,30 +0,0 @@
1
- import { App } from 'vue';
2
- import { QiuMsgOptions, QiuMsgPosition } from './types';
3
- export type { QiuMsgOptions, QiuMsgPosition, QiuMsgType } from './types';
4
- export declare const qiuMsg: QiuMsgFn;
5
- declare const _default: {
6
- install(app: App): void;
7
- };
8
- export default _default;
9
- export type QiuMsgFn = ((options: QiuMsgOptions | string) => {
10
- close: () => void;
11
- id: string;
12
- }) & {
13
- success: (message: string | QiuMsgOptions, position?: QiuMsgPosition) => {
14
- close: () => void;
15
- id: string;
16
- };
17
- warning: (message: string | QiuMsgOptions, position?: QiuMsgPosition) => {
18
- close: () => void;
19
- id: string;
20
- };
21
- info: (message: string | QiuMsgOptions, position?: QiuMsgPosition) => {
22
- close: () => void;
23
- id: string;
24
- };
25
- error: (message: string | QiuMsgOptions, position?: QiuMsgPosition) => {
26
- close: () => void;
27
- id: string;
28
- };
29
- closeAll: (position?: QiuMsgPosition) => void;
30
- };
@@ -1,30 +0,0 @@
1
- import { App } from 'vue';
2
- import { QiuNotifyOptions, QiuNotifyPosition } from './types';
3
- export type { QiuNotifyOptions, QiuNotifyPosition, QiuNotifyType } from './types';
4
- export declare const qiuNotify: QiuNotifyFn;
5
- declare const _default: {
6
- install(app: App): void;
7
- };
8
- export default _default;
9
- export type QiuNotifyFn = ((options: QiuNotifyOptions | string) => {
10
- close: () => void;
11
- id: string;
12
- }) & {
13
- success: (options: string | QiuNotifyOptions) => {
14
- close: () => void;
15
- id: string;
16
- };
17
- warning: (options: string | QiuNotifyOptions) => {
18
- close: () => void;
19
- id: string;
20
- };
21
- info: (options: string | QiuNotifyOptions) => {
22
- close: () => void;
23
- id: string;
24
- };
25
- error: (options: string | QiuNotifyOptions) => {
26
- close: () => void;
27
- id: string;
28
- };
29
- closeAll: (position?: QiuNotifyPosition) => void;
30
- };
@@ -1,12 +0,0 @@
1
- export type QiuNotifyPosition = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
2
- export type QiuNotifyType = 'success' | 'warning' | 'info' | 'error';
3
- export interface QiuNotifyOptions {
4
- title?: string;
5
- message?: string;
6
- type?: QiuNotifyType;
7
- duration?: number;
8
- position?: QiuNotifyPosition;
9
- offset?: number;
10
- id?: string;
11
- onClose?: () => void;
12
- }
@@ -1,4 +0,0 @@
1
- export declare const QIU_ROW_KEY: unique symbol;
2
- export interface QiuRowContext {
3
- gutter: import('vue').Ref<number>;
4
- }
@@ -1,3 +0,0 @@
1
- export type { QiuTableClipboardConfig, QiuTableColumn, QiuTableColumnConfig, QiuTableEditConfig, QiuTableEditRender, QiuTableExportConfig, QiuTableFilterConfig, QiuTableFooterMethod, QiuTableHistoryConfig, QiuTableKeyboardConfig, QiuTableMergeCell, QiuTablePagerConfig, QiuTableRowConfig, QiuTableSortConfig, QiuTableSpanMethod, QiuTableRadioConfig, QiuTableExpandConfig, QiuTableColumnDragConfig, QiuTableTooltipConfig, } from './types';
2
- export { QiuTableEditRenderer, QiuTableFormats, QiuTableRenderer } from './registry';
3
- export { default as QiuTable } from './index.vue';
@@ -1,39 +0,0 @@
1
- import { VNode } from 'vue';
2
- import { QiuTableColumnConfig, QiuTableEditRender } from './types';
3
- export type QiuTableFormatFn = (params: {
4
- cellValue: any;
5
- row: any;
6
- column: QiuTableColumnConfig;
7
- }) => string;
8
- export type QiuTableRendererFn = (params: {
9
- cellValue: any;
10
- row: any;
11
- column: QiuTableColumnConfig;
12
- $index: number;
13
- }) => VNode | string | null;
14
- export type QiuTableEditRendererFn = (params: {
15
- cellValue: any;
16
- row: any;
17
- column: QiuTableColumnConfig;
18
- editRender: QiuTableEditRender;
19
- commit: (value: any) => void;
20
- update: (value: any) => void;
21
- }) => VNode | null;
22
- /** 全局格式化注册(对齐 vxe formats) */
23
- export declare const QiuTableFormats: {
24
- add(name: string, fn: QiuTableFormatFn): void;
25
- get(name: string): QiuTableFormatFn;
26
- has(name: string): boolean;
27
- };
28
- /** 全局单元格渲染器注册(对齐 vxe renderer) */
29
- export declare const QiuTableRenderer: {
30
- add(name: string, fn: QiuTableRendererFn): void;
31
- get(name: string): QiuTableRendererFn;
32
- has(name: string): boolean;
33
- };
34
- /** 全局编辑渲染器(对齐 vxe editRender 自定义) */
35
- export declare const QiuTableEditRenderer: {
36
- add(name: string, fn: QiuTableEditRendererFn): void;
37
- get(name: string): QiuTableEditRendererFn;
38
- has(name: string): boolean;
39
- };
@@ -1,36 +0,0 @@
1
- import { Ref } from 'vue';
2
- import { QiuTableColumnConfig, QiuTableEditConfig } from './types';
3
- export declare function useTableEdit(opts: {
4
- editable: Ref<boolean> | (() => boolean);
5
- editTrigger: Ref<string> | (() => string);
6
- editConfig: Ref<QiuTableEditConfig | undefined> | (() => QiuTableEditConfig | undefined);
7
- getRowId: (row: any) => string;
8
- emit: (event: string, payload: any) => void;
9
- }): {
10
- editing: Ref<{
11
- rowId: string;
12
- prop: string;
13
- }, {
14
- rowId: string;
15
- prop: string;
16
- } | {
17
- rowId: string;
18
- prop: string;
19
- }>;
20
- getColEditor: (col: QiuTableColumnConfig) => string;
21
- getEditRender: (col: QiuTableColumnConfig) => import('./types').QiuTableEditRender;
22
- getProp: (col: QiuTableColumnConfig) => string;
23
- canEditCol: (col: QiuTableColumnConfig) => boolean;
24
- hasAlwaysEditor: (col: QiuTableColumnConfig) => boolean;
25
- isInputEditor: (col: QiuTableColumnConfig) => boolean;
26
- isEditing: (row: any, col: QiuTableColumnConfig) => boolean;
27
- isInputFill: (row: any, col: QiuTableColumnConfig) => boolean;
28
- startEdit: (row: any, col: QiuTableColumnConfig, focusRoot?: HTMLElement | null) => void;
29
- clearEdit: () => void;
30
- commitEdit: (row: any, col: QiuTableColumnConfig, value: any) => void;
31
- inEditGuard: () => boolean;
32
- getTrigger: () => string;
33
- getMode: () => "cell" | "row";
34
- getAutoClear: () => boolean;
35
- getShowIcon: () => boolean;
36
- };
@@ -1,13 +0,0 @@
1
- export interface QiuTreeNodeData {
2
- [key: string]: unknown;
3
- children?: QiuTreeNodeData[];
4
- }
5
- export interface QiuTreePropsConfig {
6
- label?: string;
7
- children?: string;
8
- value?: string;
9
- }
10
- export declare const defaultTreeProps: Required<QiuTreePropsConfig>;
11
- export declare function getNodeKey(node: QiuTreeNodeData, config: QiuTreePropsConfig): string | number;
12
- export declare function getNodeLabel(node: QiuTreeNodeData, config: QiuTreePropsConfig): string;
13
- export declare function getNodeChildren(node: QiuTreeNodeData, config: QiuTreePropsConfig): QiuTreeNodeData[];
@@ -1,2 +0,0 @@
1
- export declare const QIU_SHORTCUTS: any[];
2
- export default QIU_SHORTCUTS;