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.
- package/README.md +8 -8
- package/README.publish.md +19 -0
- package/dist/components/{QiuAnchor → FouAnchor}/context.d.ts +4 -4
- package/dist/components/{QiuBadge → FouBadge}/composables/useTableHostHeight.d.ts +1 -1
- package/dist/components/FouBadge/index.d.ts +18 -0
- package/dist/components/{QiuBadge → FouBadge}/shared/BadgeTemplateRenderer.vue.d.ts +1 -1
- package/dist/components/{QiuBadge → FouBadge}/shared/badgeTemplate.d.ts +1 -1
- package/dist/components/{QiuButton → FouButton}/index.vue.d.ts +4 -4
- package/dist/components/{QiuCanvasKit/QiuCanvasEditor.vue.d.ts → FouCanvasKit/FouCanvasEditor.vue.d.ts} +1 -1
- package/dist/components/{QiuCanvasKit → FouCanvasKit}/index.d.ts +4 -4
- package/dist/components/{QiuCanvasKit → FouCanvasKit}/types.d.ts +1 -1
- package/dist/components/{QiuCarousel → FouCarousel}/context.d.ts +4 -4
- package/dist/components/{QiuCascader → FouCascader}/types.d.ts +7 -7
- package/dist/components/{QiuCheckbox → FouCheckbox}/types.d.ts +1 -1
- package/dist/components/{QiuCollapse → FouCollapse}/context.d.ts +2 -2
- package/dist/components/{QiuDescriptions → FouDescriptions}/context.d.ts +4 -4
- package/dist/components/{QiuDropdown → FouDropdown}/context.d.ts +2 -2
- package/dist/components/{QiuForm → FouForm}/types.d.ts +10 -10
- package/dist/components/FouLoading/index.d.ts +26 -0
- package/dist/components/{QiuLoading → FouLoading}/spinner.vue.d.ts +3 -3
- package/dist/components/{QiuLoading → FouLoading}/types.d.ts +2 -2
- package/dist/components/{QiuMenu → FouMenu}/context.d.ts +2 -2
- package/dist/components/{QiuMenuNav → FouMenuNav}/context.d.ts +2 -2
- package/dist/components/{QiuMsg/QiuMsgItem.vue.d.ts → FouMsg/FouMsgItem.vue.d.ts} +3 -3
- package/dist/components/FouMsg/index.d.ts +30 -0
- package/dist/components/{QiuMsg → FouMsg}/types.d.ts +5 -5
- package/dist/components/{QiuMsgBox → FouMsgBox}/index.d.ts +3 -3
- package/dist/components/{QiuNotification/QiuNotificationItem.vue.d.ts → FouNotification/FouNotificationItem.vue.d.ts} +3 -3
- package/dist/components/FouNotification/index.d.ts +30 -0
- package/dist/components/FouNotification/types.d.ts +12 -0
- package/dist/components/{QiuRadio → FouRadio}/types.d.ts +1 -1
- package/dist/components/FouRow/types.d.ts +4 -0
- package/dist/components/{QiuSelect → FouSelect}/index.vue.d.ts +3 -3
- package/dist/components/{QiuSelect → FouSelect}/types.d.ts +3 -3
- package/dist/components/{QiuStep → FouStep}/index.vue.d.ts +1 -1
- package/dist/components/{QiuSteps → FouSteps}/context.d.ts +5 -5
- package/dist/components/{QiuTabBar → FouTabBar}/index.vue.d.ts +3 -3
- package/dist/components/{QiuTabBar → FouTabBar}/types.d.ts +5 -5
- package/dist/components/{QiuTable → FouTable}/export.d.ts +5 -5
- package/dist/components/FouTable/index.d.ts +3 -0
- package/dist/components/{QiuTable → FouTable}/index.vue.d.ts +49 -49
- package/dist/components/FouTable/registry.d.ts +39 -0
- package/dist/components/{QiuTable → FouTable}/types.d.ts +60 -60
- package/dist/components/{QiuTable → FouTable}/useArea.d.ts +10 -10
- package/dist/components/{QiuTable → FouTable}/useColumns.d.ts +5 -5
- package/dist/components/FouTable/useEdit.d.ts +36 -0
- package/dist/components/{QiuTable → FouTable}/useHistory.d.ts +5 -5
- package/dist/components/{QiuTable → FouTable}/useMerge.d.ts +6 -6
- package/dist/components/{QiuTable → FouTable}/useScrollSync.d.ts +1 -1
- package/dist/components/{QiuTable → FouTable}/utils.d.ts +17 -17
- package/dist/components/FouTree/types.d.ts +13 -0
- package/dist/components/{QiuUpload → FouUpload}/index.vue.d.ts +17 -17
- package/dist/foucui.css +1 -1
- package/dist/foucui.js +7362 -7362
- package/dist/foucui.umd.cjs +37 -37
- package/dist/index.d.ts +43 -43
- package/dist/src/bridge/@/config/index.d.ts +1 -1
- package/dist/src/bridge/@fou/plugins/shortcuts.d.ts +2 -0
- package/package.json +5 -3
- package/dist/components/QiuBadge/index.d.ts +0 -18
- package/dist/components/QiuLoading/index.d.ts +0 -26
- package/dist/components/QiuMsg/index.d.ts +0 -30
- package/dist/components/QiuNotification/index.d.ts +0 -30
- package/dist/components/QiuNotification/types.d.ts +0 -12
- package/dist/components/QiuRow/types.d.ts +0 -4
- package/dist/components/QiuTable/index.d.ts +0 -3
- package/dist/components/QiuTable/registry.d.ts +0 -39
- package/dist/components/QiuTable/useEdit.d.ts +0 -36
- package/dist/components/QiuTree/types.d.ts +0 -13
- package/dist/src/bridge/@qiu/plugins/shortcuts.d.ts +0 -2
- /package/dist/components/{QiuAnchorLink → FouAnchorLink}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuBadge → FouBadge}/api/index.d.ts +0 -0
- /package/dist/components/{QiuBadge → FouBadge}/components/BadgeImagePickerDialog.vue.d.ts +0 -0
- /package/dist/components/{QiuBadge → FouBadge}/components/BadgeLibraryManagerDialog.vue.d.ts +0 -0
- /package/dist/components/{QiuBadge → FouBadge}/components/BadgeLibraryPanel.vue.d.ts +0 -0
- /package/dist/components/{QiuBadge → FouBadge}/shared/assetUrl.d.ts +0 -0
- /package/dist/components/{QiuBadge → FouBadge}/utils/chinaAreaData.d.ts +0 -0
- /package/dist/components/{QiuBadge → FouBadge}/utils/hostRegion.d.ts +0 -0
- /package/dist/components/{QiuBadge → FouBadge}/utils/pdfFromElement.d.ts +0 -0
- /package/dist/components/{QiuBadge → FouBadge}/views/BadgeLibraryView.vue.d.ts +0 -0
- /package/dist/components/{QiuBadge → FouBadge}/views/BadgeManageView.vue.d.ts +0 -0
- /package/dist/components/{QiuBadge → FouBadge}/views/BadgeTemplateListView.vue.d.ts +0 -0
- /package/dist/components/{QiuBadge → FouBadge}/views/DeskLabelTemplateListView.vue.d.ts +0 -0
- /package/dist/components/{QiuBadge → FouBadge}/views/DeskLabelView.vue.d.ts +0 -0
- /package/dist/components/{QiuCanvasKit/QiuCanvasRenderer.vue.d.ts → FouCanvasKit/FouCanvasRenderer.vue.d.ts} +0 -0
- /package/dist/components/{QiuCanvasKit → FouCanvasKit}/assetUrl.d.ts +0 -0
- /package/dist/components/{QiuCanvasKit → FouCanvasKit}/components/DataModulesPanel.vue.d.ts +0 -0
- /package/dist/components/{QiuCanvasKit → FouCanvasKit}/export/html.d.ts +0 -0
- /package/dist/components/{QiuCanvasKit → FouCanvasKit}/export/pdf.d.ts +0 -0
- /package/dist/components/{QiuCanvasKit → FouCanvasKit}/export/png.d.ts +0 -0
- /package/dist/components/{QiuCanvasKit → FouCanvasKit}/modules/badgeCompat.d.ts +0 -0
- /package/dist/components/{QiuCanvasKit → FouCanvasKit}/modules/dataRegistry.d.ts +0 -0
- /package/dist/components/{QiuCanvasKit → FouCanvasKit}/modules/merge.d.ts +0 -0
- /package/dist/components/{QiuCanvasKit → FouCanvasKit}/presets/badge.d.ts +0 -0
- /package/dist/components/{QiuCanvasKit → FouCanvasKit}/presets/banner.d.ts +0 -0
- /package/dist/components/{QiuCarouselItem → FouCarouselItem}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuCheckbox/QiuCheckboxGroup.vue.d.ts → FouCheckbox/FouCheckboxGroup.vue.d.ts} +0 -0
- /package/dist/components/{QiuCheckbox → FouCheckbox}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuCode → FouCode}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuCollapseItem → FouCollapseItem}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuColorField → FouColorField}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuColorPicker → FouColorPicker}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuCombobox → FouCombobox}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuContextMenu → FouContextMenu}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuDescriptionsItem → FouDescriptionsItem}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuDigitalCard → FouDigitalCard}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuDropdown/QiuDropdownItem.vue.d.ts → FouDropdown/FouDropdownItem.vue.d.ts} +0 -0
- /package/dist/components/{QiuDropdown/QiuDropdownMenu.vue.d.ts → FouDropdown/FouDropdownMenu.vue.d.ts} +0 -0
- /package/dist/components/{QiuDropdown → FouDropdown}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuHoverCard → FouHoverCard}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuIcon → FouIcon}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuIconPicker → FouIconPicker}/iconify.libraries.d.ts +0 -0
- /package/dist/components/{QiuIconPicker → FouIconPicker}/icons.catalog.d.ts +0 -0
- /package/dist/components/{QiuInput → FouInput}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuInputNumber → FouInputNumber}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuInputOtp → FouInputOtp}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuKbd → FouKbd}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuLayoutContainer → FouLayoutContainer}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuLinkPreview → FouLinkPreview}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuMention → FouMention}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuMenu/QiuMenuRoot.vue.d.ts → FouMenu/FouMenuRoot.vue.d.ts} +0 -0
- /package/dist/components/{QiuMenuNav/QiuMenuNavItem.vue.d.ts → FouMenuNav/FouMenuNavItem.vue.d.ts} +0 -0
- /package/dist/components/{QiuMenuNav/QiuMenuNavSub.vue.d.ts → FouMenuNav/FouMenuNavSub.vue.d.ts} +0 -0
- /package/dist/components/{QiuMenuNav → FouMenuNav}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuPageMain → FouPageMain}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuPagination → FouPagination}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuPasswordStrength → FouPasswordStrength}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuQrcode → FouQrcode}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuRadio/QiuRadioGroup.vue.d.ts → FouRadio/FouRadioGroup.vue.d.ts} +0 -0
- /package/dist/components/{QiuSearchBar → FouSearchBar}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuSelect/QiuOption.vue.d.ts → FouSelect/FouOption.vue.d.ts} +0 -0
- /package/dist/components/{QiuSparkline → FouSparkline}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuSwitch → FouSwitch}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuTabPane → FouTabPane}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuTable → FouTable}/columns.d.ts +0 -0
- /package/dist/components/{QiuTable → FouTable}/useExtras.d.ts +0 -0
- /package/dist/components/{QiuTable → FouTable}/useResize.d.ts +0 -0
- /package/dist/components/{QiuTable → FouTable}/useVirtual.d.ts +0 -0
- /package/dist/components/{QiuTime → FouTime}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuTimeAgo → FouTimeAgo}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuTimelineItem → FouTimelineItem}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuTooltip → FouTooltip}/index.vue.d.ts +0 -0
- /package/dist/components/{QiuTrend → FouTrend}/index.vue.d.ts +0 -0
- /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 {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
export declare const version = "
|
|
6
|
-
export {
|
|
7
|
-
/**
|
|
8
|
-
export {
|
|
9
|
-
export type { CanvasKitMode, CanvasKitDoc, CanvasKitElement, DataModuleDef, DataFieldDef, MergeContext, ElementLink, } from './components/
|
|
10
|
-
export {
|
|
11
|
-
export { default as
|
|
12
|
-
export { default as
|
|
13
|
-
export { default as
|
|
14
|
-
export { default as
|
|
15
|
-
export { default as
|
|
16
|
-
export {
|
|
17
|
-
export { default as
|
|
18
|
-
export { default as
|
|
19
|
-
export { default as
|
|
20
|
-
export { default as
|
|
21
|
-
export { default as
|
|
22
|
-
export { default as
|
|
23
|
-
export { default as
|
|
24
|
-
export { default as
|
|
25
|
-
export { default as
|
|
26
|
-
export { default as
|
|
27
|
-
export { default as
|
|
28
|
-
export { default as
|
|
29
|
-
export { default as
|
|
30
|
-
export { default as
|
|
31
|
-
export { default as
|
|
32
|
-
export { default as
|
|
33
|
-
export { default as
|
|
34
|
-
export { default as
|
|
35
|
-
export { default as
|
|
36
|
-
export { default as
|
|
37
|
-
export { default as
|
|
38
|
-
export {
|
|
39
|
-
export type {
|
|
40
|
-
export type {
|
|
41
|
-
export type {
|
|
42
|
-
export type {
|
|
43
|
-
export declare const
|
|
44
|
-
/**
|
|
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 = "
|
|
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";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "foucui",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "FouCui Vue3
|
|
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
|
-
"
|
|
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,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[];
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/components/{QiuBadge → FouBadge}/components/BadgeLibraryManagerDialog.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/components/{QiuMenuNav/QiuMenuNavItem.vue.d.ts → FouMenuNav/FouMenuNavItem.vue.d.ts}
RENAMED
|
File without changes
|
/package/dist/components/{QiuMenuNav/QiuMenuNavSub.vue.d.ts → FouMenuNav/FouMenuNavSub.vue.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/components/{QiuRadio/QiuRadioGroup.vue.d.ts → FouRadio/FouRadioGroup.vue.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|