@a2simcode/ui 0.0.26 → 0.0.28

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 (30) hide show
  1. package/dist/components/index.d.ts +3 -1
  2. package/dist/components/input-layer/index.d.ts +736 -0
  3. package/dist/components/input-layer/src/input-layer.vue.d.ts +719 -0
  4. package/dist/components/table/index.d.ts +15 -0
  5. package/dist/components/table/src/table.vue.d.ts +15 -0
  6. package/dist/components/table-panel/index.d.ts +15 -0
  7. package/dist/components/table-panel/src/table-panel.vue.d.ts +15 -0
  8. package/dist/components-dui/button/index.d.ts +51 -0
  9. package/dist/components-dui/button/src/button.vue.d.ts +29 -0
  10. package/dist/components-dui/button/src/types.d.ts +9 -0
  11. package/dist/components-dui/drag/index.d.ts +210 -0
  12. package/dist/components-dui/drag/src/container.vue.d.ts +108 -0
  13. package/dist/components-dui/drag/src/drag.vue.d.ts +105 -0
  14. package/dist/components-dui/drag/src/dragIndexList.vue.d.ts +133 -0
  15. package/dist/components-dui/drag/src/dragList.vue.d.ts +130 -0
  16. package/dist/components-dui/drag/src/eventBus.d.ts +4 -0
  17. package/dist/components-dui/drag/src/hooks/useDesign.d.ts +11 -0
  18. package/dist/components-dui/drag/src/hooks/useDrag.d.ts +18 -0
  19. package/dist/components-dui/drag/src/hooks/useMouseEvent.d.ts +6 -0
  20. package/dist/components-dui/drag/src/interface.d.ts +54 -0
  21. package/dist/components-dui/drag/src/tool.vue.d.ts +26 -0
  22. package/dist/components-dui/index.d.ts +9 -0
  23. package/dist/components-dui/utils/index.d.ts +7 -0
  24. package/dist/components-dui/vite.config.d.ts +2 -0
  25. package/dist/core/utils/common.d.ts +5 -0
  26. package/dist/simcode-ui.es.js +4538 -4297
  27. package/dist/simcode-ui.umd.js +2 -2
  28. package/dist/stats.html +1 -1
  29. package/dist/ui.css +1 -1
  30. package/package.json +9 -2
@@ -0,0 +1,105 @@
1
+ import { DesignComponent } from './interface';
2
+ import { PropType } from 'vue';
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ /**
5
+ * @zh 配置项
6
+ */
7
+ componentData: {
8
+ type: PropType<DesignComponent>;
9
+ default: () => {};
10
+ };
11
+ /**
12
+ * @zh 带容器的组件
13
+ */
14
+ isContainer: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ }>, {
19
+ refDrag: import('vue').Ref<any, any>;
20
+ onMouseenter: () => void;
21
+ onMouseleave: () => void;
22
+ onContextmenu: () => void;
23
+ onMousedown: (e: MouseEvent) => void;
24
+ activeComponent: () => void;
25
+ handleComponentClick: (id: string) => void;
26
+ deleteComponentByClick: (id: string) => void;
27
+ copyComponent: any;
28
+ getParentComponents: any;
29
+ isHover: import('vue').Ref<boolean, boolean>;
30
+ isSelect: import('vue').Ref<boolean, boolean>;
31
+ isTopActive: import('vue').Ref<boolean, boolean>;
32
+ isBottomActive: import('vue').Ref<boolean, boolean>;
33
+ isBottomToolBar: import('vue').Ref<boolean, boolean>;
34
+ moveActive: import('vue').Ref<boolean, boolean>;
35
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
36
+ /**
37
+ * @zh 配置项
38
+ */
39
+ componentData: {
40
+ type: PropType<DesignComponent>;
41
+ default: () => {};
42
+ };
43
+ /**
44
+ * @zh 带容器的组件
45
+ */
46
+ isContainer: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ }>> & Readonly<{}>, {
51
+ componentData: DesignComponent;
52
+ isContainer: boolean;
53
+ }, {}, {
54
+ DButton: {
55
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../..').ButtonProps> & Readonly<{
56
+ onClick?: ((event: MouseEvent) => any) | undefined;
57
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
58
+ click: (event: MouseEvent) => any;
59
+ }, import('vue').PublicProps, {
60
+ size: "large" | "default" | "small";
61
+ type: "primary" | "default" | "dashed" | "text";
62
+ shape: "default" | "round" | "circle";
63
+ disabled: boolean;
64
+ block: boolean;
65
+ loading: boolean;
66
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLButtonElement, import('vue').ComponentProvideOptions, {
67
+ P: {};
68
+ B: {};
69
+ D: {};
70
+ C: {};
71
+ M: {};
72
+ Defaults: {};
73
+ }, Readonly<import('../..').ButtonProps> & Readonly<{
74
+ onClick?: ((event: MouseEvent) => any) | undefined;
75
+ }>, {}, {}, {}, {}, {
76
+ size: "large" | "default" | "small";
77
+ type: "primary" | "default" | "dashed" | "text";
78
+ shape: "default" | "round" | "circle";
79
+ disabled: boolean;
80
+ block: boolean;
81
+ loading: boolean;
82
+ }>;
83
+ __isFragment?: never;
84
+ __isTeleport?: never;
85
+ __isSuspense?: never;
86
+ } & import('vue').ComponentOptionsBase<Readonly<import('../..').ButtonProps> & Readonly<{
87
+ onClick?: ((event: MouseEvent) => any) | undefined;
88
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
89
+ click: (event: MouseEvent) => any;
90
+ }, string, {
91
+ size: "large" | "default" | "small";
92
+ type: "primary" | "default" | "dashed" | "text";
93
+ shape: "default" | "round" | "circle";
94
+ disabled: boolean;
95
+ block: boolean;
96
+ loading: boolean;
97
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
98
+ $slots: {
99
+ default?(_: {}): any;
100
+ };
101
+ }) & {
102
+ install: (app: import('vue').App) => void;
103
+ };
104
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
105
+ export default _default;
@@ -0,0 +1,133 @@
1
+ import { DesignComponent } from './interface';
2
+ import { PropType } from 'vue';
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ /**
5
+ * @zh 配置项
6
+ */
7
+ componentList: {
8
+ type: PropType<DesignComponent[]>;
9
+ default: () => never[];
10
+ };
11
+ /**
12
+ * @zh 全局配置
13
+ */
14
+ globalConfig: {
15
+ type: ObjectConstructor;
16
+ default: () => {};
17
+ };
18
+ }>, {
19
+ designItemName: any;
20
+ componentStyle: (config: Record<string, any>) => {
21
+ width: string;
22
+ } | undefined;
23
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
24
+ /**
25
+ * @zh 配置项
26
+ */
27
+ componentList: {
28
+ type: PropType<DesignComponent[]>;
29
+ default: () => never[];
30
+ };
31
+ /**
32
+ * @zh 全局配置
33
+ */
34
+ globalConfig: {
35
+ type: ObjectConstructor;
36
+ default: () => {};
37
+ };
38
+ }>> & Readonly<{}>, {
39
+ componentList: DesignComponent[];
40
+ globalConfig: Record<string, any>;
41
+ }, {}, {
42
+ DDrag: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
43
+ componentData: {
44
+ type: PropType<DesignComponent>;
45
+ default: () => {};
46
+ };
47
+ isContainer: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ }>, {
52
+ refDrag: import('vue').Ref<any, any>;
53
+ onMouseenter: () => void;
54
+ onMouseleave: () => void;
55
+ onContextmenu: () => void;
56
+ onMousedown: (e: MouseEvent) => void;
57
+ activeComponent: () => void;
58
+ handleComponentClick: (id: string) => void;
59
+ deleteComponentByClick: (id: string) => void;
60
+ copyComponent: any;
61
+ getParentComponents: any;
62
+ isHover: import('vue').Ref<boolean, boolean>;
63
+ isSelect: import('vue').Ref<boolean, boolean>;
64
+ isTopActive: import('vue').Ref<boolean, boolean>;
65
+ isBottomActive: import('vue').Ref<boolean, boolean>;
66
+ isBottomToolBar: import('vue').Ref<boolean, boolean>;
67
+ moveActive: import('vue').Ref<boolean, boolean>;
68
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
69
+ componentData: {
70
+ type: PropType<DesignComponent>;
71
+ default: () => {};
72
+ };
73
+ isContainer: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ }>> & Readonly<{}>, {
78
+ componentData: DesignComponent;
79
+ isContainer: boolean;
80
+ }, {}, {
81
+ DButton: {
82
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../..').ButtonProps> & Readonly<{
83
+ onClick?: ((event: MouseEvent) => any) | undefined;
84
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
85
+ click: (event: MouseEvent) => any;
86
+ }, import('vue').PublicProps, {
87
+ size: "large" | "default" | "small";
88
+ type: "primary" | "default" | "dashed" | "text";
89
+ shape: "default" | "round" | "circle";
90
+ disabled: boolean;
91
+ block: boolean;
92
+ loading: boolean;
93
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLButtonElement, import('vue').ComponentProvideOptions, {
94
+ P: {};
95
+ B: {};
96
+ D: {};
97
+ C: {};
98
+ M: {};
99
+ Defaults: {};
100
+ }, Readonly<import('../..').ButtonProps> & Readonly<{
101
+ onClick?: ((event: MouseEvent) => any) | undefined;
102
+ }>, {}, {}, {}, {}, {
103
+ size: "large" | "default" | "small";
104
+ type: "primary" | "default" | "dashed" | "text";
105
+ shape: "default" | "round" | "circle";
106
+ disabled: boolean;
107
+ block: boolean;
108
+ loading: boolean;
109
+ }>;
110
+ __isFragment?: never;
111
+ __isTeleport?: never;
112
+ __isSuspense?: never;
113
+ } & import('vue').ComponentOptionsBase<Readonly<import('../..').ButtonProps> & Readonly<{
114
+ onClick?: ((event: MouseEvent) => any) | undefined;
115
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
116
+ click: (event: MouseEvent) => any;
117
+ }, string, {
118
+ size: "large" | "default" | "small";
119
+ type: "primary" | "default" | "dashed" | "text";
120
+ shape: "default" | "round" | "circle";
121
+ disabled: boolean;
122
+ block: boolean;
123
+ loading: boolean;
124
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
125
+ $slots: {
126
+ default?(_: {}): any;
127
+ };
128
+ }) & {
129
+ install: (app: import('vue').App) => void;
130
+ };
131
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
132
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
133
+ export default _default;
@@ -0,0 +1,130 @@
1
+ import { DesignComponent } from './interface';
2
+ import { PropType } from 'vue';
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ /**
5
+ * @zh 配置项
6
+ */
7
+ componentList: {
8
+ type: PropType<DesignComponent[]>;
9
+ default: () => never[];
10
+ };
11
+ /**
12
+ * @zh 全局配置
13
+ */
14
+ globalConfig: {
15
+ type: ObjectConstructor;
16
+ default: () => {};
17
+ };
18
+ }>, {
19
+ designItemName: any;
20
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
21
+ /**
22
+ * @zh 配置项
23
+ */
24
+ componentList: {
25
+ type: PropType<DesignComponent[]>;
26
+ default: () => never[];
27
+ };
28
+ /**
29
+ * @zh 全局配置
30
+ */
31
+ globalConfig: {
32
+ type: ObjectConstructor;
33
+ default: () => {};
34
+ };
35
+ }>> & Readonly<{}>, {
36
+ componentList: DesignComponent[];
37
+ globalConfig: Record<string, any>;
38
+ }, {}, {
39
+ DDrag: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
40
+ componentData: {
41
+ type: PropType<DesignComponent>;
42
+ default: () => {};
43
+ };
44
+ isContainer: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ }>, {
49
+ refDrag: import('vue').Ref<any, any>;
50
+ onMouseenter: () => void;
51
+ onMouseleave: () => void;
52
+ onContextmenu: () => void;
53
+ onMousedown: (e: MouseEvent) => void;
54
+ activeComponent: () => void;
55
+ handleComponentClick: (id: string) => void;
56
+ deleteComponentByClick: (id: string) => void;
57
+ copyComponent: any;
58
+ getParentComponents: any;
59
+ isHover: import('vue').Ref<boolean, boolean>;
60
+ isSelect: import('vue').Ref<boolean, boolean>;
61
+ isTopActive: import('vue').Ref<boolean, boolean>;
62
+ isBottomActive: import('vue').Ref<boolean, boolean>;
63
+ isBottomToolBar: import('vue').Ref<boolean, boolean>;
64
+ moveActive: import('vue').Ref<boolean, boolean>;
65
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
66
+ componentData: {
67
+ type: PropType<DesignComponent>;
68
+ default: () => {};
69
+ };
70
+ isContainer: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ }>> & Readonly<{}>, {
75
+ componentData: DesignComponent;
76
+ isContainer: boolean;
77
+ }, {}, {
78
+ DButton: {
79
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../..').ButtonProps> & Readonly<{
80
+ onClick?: ((event: MouseEvent) => any) | undefined;
81
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
82
+ click: (event: MouseEvent) => any;
83
+ }, import('vue').PublicProps, {
84
+ size: "large" | "default" | "small";
85
+ type: "primary" | "default" | "dashed" | "text";
86
+ shape: "default" | "round" | "circle";
87
+ disabled: boolean;
88
+ block: boolean;
89
+ loading: boolean;
90
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLButtonElement, import('vue').ComponentProvideOptions, {
91
+ P: {};
92
+ B: {};
93
+ D: {};
94
+ C: {};
95
+ M: {};
96
+ Defaults: {};
97
+ }, Readonly<import('../..').ButtonProps> & Readonly<{
98
+ onClick?: ((event: MouseEvent) => any) | undefined;
99
+ }>, {}, {}, {}, {}, {
100
+ size: "large" | "default" | "small";
101
+ type: "primary" | "default" | "dashed" | "text";
102
+ shape: "default" | "round" | "circle";
103
+ disabled: boolean;
104
+ block: boolean;
105
+ loading: boolean;
106
+ }>;
107
+ __isFragment?: never;
108
+ __isTeleport?: never;
109
+ __isSuspense?: never;
110
+ } & import('vue').ComponentOptionsBase<Readonly<import('../..').ButtonProps> & Readonly<{
111
+ onClick?: ((event: MouseEvent) => any) | undefined;
112
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
113
+ click: (event: MouseEvent) => any;
114
+ }, string, {
115
+ size: "large" | "default" | "small";
116
+ type: "primary" | "default" | "dashed" | "text";
117
+ shape: "default" | "round" | "circle";
118
+ disabled: boolean;
119
+ block: boolean;
120
+ loading: boolean;
121
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
122
+ $slots: {
123
+ default?(_: {}): any;
124
+ };
125
+ }) & {
126
+ install: (app: import('vue').App) => void;
127
+ };
128
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
129
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
130
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const onEvent: (name: string, fn: any) => string;
2
+ declare const emitEvent: (name: string, data: any) => any[];
3
+ declare const offEvent: (name: string, id: string) => void;
4
+ export { onEvent, emitEvent, offEvent };
@@ -0,0 +1,11 @@
1
+ import { DesignComponent } from '../interface';
2
+ export declare const useDesign: (dragContainer: any, configRef: any, top: DesignComponent, componentInit: any, componentConfigInit: any, componentConfigs: Record<string, any[]>, componentsMap: Record<string, any>, containerAddComponent: any) => {
3
+ activedComponent: import('vue').Ref<any, any>;
4
+ clearComponents: () => void;
5
+ changeComponent: (type: string) => void;
6
+ schemaComponentDic: Record<string, DesignComponent>;
7
+ clearSelect: () => void;
8
+ addComponent: ({ name, type, dragType, isInput, componentName, runtimeType }: any, containerId: string, index: number, groupId: string, noSelect?: boolean) => DesignComponent | undefined;
9
+ addComponentByTable: (component: any) => void;
10
+ designComponentList: import('vue').ComputedRef<DesignComponent[]>;
11
+ };
@@ -0,0 +1,18 @@
1
+ import { DesignComponent } from '../interface';
2
+ import { ComputedRef } from 'vue';
3
+ export declare const useDrag: (refDrag: any, componentData: DesignComponent, dragType: string, childComponents?: ComputedRef<Record<string, any>[]>, isComponentContainer?: boolean, groupId?: string) => {
4
+ onMouseenter: () => void;
5
+ onMouseleave: () => void;
6
+ activeComponent: () => void;
7
+ handleComponentClick: (id: string) => void;
8
+ deleteComponentByClick: (id: string) => void;
9
+ copyComponent: any;
10
+ getParentComponents: any;
11
+ isBottomToolBar: import('vue').Ref<boolean, boolean>;
12
+ isHover: import('vue').Ref<boolean, boolean>;
13
+ isSelect: import('vue').Ref<boolean, boolean>;
14
+ isToContainer: import('vue').Ref<boolean, boolean>;
15
+ isMoveingInTopLevel: import('vue').Ref<boolean, boolean>;
16
+ isTopActive: import('vue').Ref<boolean, boolean>;
17
+ isBottomActive: import('vue').Ref<boolean, boolean>;
18
+ };
@@ -0,0 +1,6 @@
1
+ export declare const useMouseEvent: (component: Record<string, any>, isTool: boolean) => {
2
+ onContextmenu: () => void;
3
+ onMousedown: (e: MouseEvent) => void;
4
+ onClick: () => void;
5
+ moveActive: import('vue').Ref<boolean, boolean>;
6
+ };
@@ -0,0 +1,54 @@
1
+ export interface DesignComponent {
2
+ /**
3
+ * @zh id
4
+ */
5
+ id: string;
6
+ /**
7
+ * @zh 组件名
8
+ */
9
+ name: string;
10
+ /**
11
+ * @zh 组件类型
12
+ */
13
+ type: string;
14
+ /**
15
+ * @zh 组件类型
16
+ */
17
+ dragType: string;
18
+ /**
19
+ * @zh 组件类型
20
+ */
21
+ componentName: string;
22
+ /**
23
+ * @zh 组件类型(表单实际运行组件)
24
+ */
25
+ runtimeType?: string;
26
+ /**
27
+ * @zh 所在容器id
28
+ */
29
+ containerId: string;
30
+ /**
31
+ * @zh 是否是输入组件
32
+ */
33
+ isInput: boolean;
34
+ /**
35
+ * @zhe 层级
36
+ */
37
+ level: number;
38
+ /**
39
+ * @zh 配置信息
40
+ */
41
+ config: Record<string, any>;
42
+ /**
43
+ * @zh 所在容器分类
44
+ */
45
+ groupId?: string;
46
+ /**
47
+ * @zh 子组件
48
+ */
49
+ children?: DesignComponent[];
50
+ /**
51
+ * @zh 是否是新增组件
52
+ */
53
+ isNewAdd?: boolean;
54
+ }
@@ -0,0 +1,26 @@
1
+ import { DesignComponent } from './interface';
2
+ import { PropType } from 'vue';
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ /**
5
+ * @zh 配置项
6
+ */
7
+ config: {
8
+ type: PropType<DesignComponent>;
9
+ default: () => {};
10
+ };
11
+ }>, {
12
+ onContextmenu: () => void;
13
+ onMousedown: (e: MouseEvent) => void;
14
+ onClick: () => void;
15
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
16
+ /**
17
+ * @zh 配置项
18
+ */
19
+ config: {
20
+ type: PropType<DesignComponent>;
21
+ default: () => {};
22
+ };
23
+ }>> & Readonly<{}>, {
24
+ config: DesignComponent;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
26
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { App } from 'vue';
2
+ import { default as DuiButton } from './button';
3
+ import { default as DDrag, dragTool, dragContainer, dragList, dragIndexList } from './drag';
4
+ export { DuiButton, DDrag, dragTool, dragContainer, dragList, dragIndexList };
5
+ export type { ButtonProps } from './button/src/types';
6
+ declare const _default: {
7
+ install: (app: App) => void;
8
+ };
9
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { App, Component } from 'vue';
2
+ export declare const withInstall: <T extends Component>(component: T, extra?: Component[]) => T & {
3
+ install: (app: App) => void;
4
+ };
5
+ export declare const buildShortUUID: (prefix?: string) => string;
6
+ export declare const deepClone: (obj: any) => any;
7
+ export declare const clearData: (data: any) => void;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vite').UserConfig;
2
+ export default _default;
@@ -65,3 +65,8 @@ export declare const numberToThousandSeparator: (num: string) => string;
65
65
  export declare const getTextWidth: (text: string) => number | undefined;
66
66
  export declare function upFirst(str: string): string;
67
67
  export declare function lowerFirst(str: string, isFlag?: boolean): string;
68
+ /**
69
+ * Object.assign polyfill/wrapper
70
+ * Merges properties from source objects into target object
71
+ */
72
+ export declare function assign(target: object | null, ...sources: any[]): any;