@a2simcode/dui 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.
- package/LICENSE +53 -0
- package/dist/components-dui/draggable/index.d.ts +15 -15
- package/dist/components-dui/draggable/src/draggable.vue.d.ts +6 -6
- package/dist/components-dui/formDesign/index.d.ts +6 -6
- package/dist/components-dui/formDesign/src/formDesign.vue.d.ts +1 -1
- package/dist/components-dui/formDesign/src/utils.d.ts +1 -1
- package/dist/components-dui/indexDesign/index.d.ts +12 -12
- package/dist/components-dui/indexDesign/src/indexDesign.vue.d.ts +1 -1
- package/dist/components-dui/indexDesign/src/utils.d.ts +0 -1
- package/dist/dui.es.js +6180 -9777
- package/dist/dui.umd.js +5 -5
- package/package.json +7 -6
package/LICENSE
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
专有软件许可协议
|
|
2
|
+
|
|
3
|
+
版权所有 © 2024 苏州极简搭信息技术有限公司。保留所有权利。
|
|
4
|
+
|
|
5
|
+
本软件及其相关文档("软件")为专有软件,受版权法和国际条约保护。
|
|
6
|
+
|
|
7
|
+
许可限制:
|
|
8
|
+
|
|
9
|
+
1. 本软件仅授权给获得明确书面许可的用户使用。
|
|
10
|
+
|
|
11
|
+
2. 未经版权所有者事先书面同意,您不得:
|
|
12
|
+
- 复制、修改、改编或翻译本软件
|
|
13
|
+
- 对本软件进行反向工程、反编译或反汇编
|
|
14
|
+
- 出租、出借、分发、转让或再许可本软件
|
|
15
|
+
- 删除或修改本软件中的任何版权声明或其他所有权标记
|
|
16
|
+
|
|
17
|
+
3. 本软件按"现状"提供,不提供任何明示或暗示的保证,包括但不限于适销性、特定用途适用性和非侵权性的保证。
|
|
18
|
+
|
|
19
|
+
4. 在任何情况下,版权所有者均不对因使用或无法使用本软件而产生的任何索赔、损害或其他责任负责。
|
|
20
|
+
|
|
21
|
+
5. 本许可协议受中华人民共和国法律管辖。
|
|
22
|
+
|
|
23
|
+
如需获得使用许可,请联系版权所有者。
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
PROPRIETARY SOFTWARE LICENSE
|
|
28
|
+
|
|
29
|
+
Copyright © 2024 Suzhou Jijian-da Information Technology Co., Ltd. All rights reserved.
|
|
30
|
+
|
|
31
|
+
This software and associated documentation files (the "Software") is proprietary
|
|
32
|
+
software protected by copyright laws and international treaties.
|
|
33
|
+
|
|
34
|
+
License Restrictions:
|
|
35
|
+
|
|
36
|
+
1. This Software is licensed only to users who have obtained explicit written permission.
|
|
37
|
+
|
|
38
|
+
2. Without prior written consent from the copyright holder, you may not:
|
|
39
|
+
- Copy, modify, adapt, or translate the Software
|
|
40
|
+
- Reverse engineer, decompile, or disassemble the Software
|
|
41
|
+
- Rent, lease, distribute, transfer, or sublicense the Software
|
|
42
|
+
- Remove or modify any copyright notices or other proprietary markings in the Software
|
|
43
|
+
|
|
44
|
+
3. The Software is provided "as is" without warranty of any kind, express or implied,
|
|
45
|
+
including but not limited to warranties of merchantability, fitness for a particular
|
|
46
|
+
purpose, and non-infringement.
|
|
47
|
+
|
|
48
|
+
4. In no event shall the copyright holder be liable for any claims, damages, or other
|
|
49
|
+
liability arising from the use or inability to use the Software.
|
|
50
|
+
|
|
51
|
+
5. This license agreement is governed by the laws of the People's Republic of China.
|
|
52
|
+
|
|
53
|
+
For licensing inquiries, please contact the copyright holder.
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
declare const DDraggable: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('.').DraggableProps> & Readonly<{
|
|
3
|
-
|
|
3
|
+
onOver?: ((args_0: {
|
|
4
4
|
index?: string | number;
|
|
5
5
|
width: number;
|
|
6
6
|
height: number;
|
|
7
7
|
left: number;
|
|
8
8
|
top: number;
|
|
9
9
|
}) => any) | undefined;
|
|
10
|
-
|
|
10
|
+
onFocus?: ((args_0: {
|
|
11
11
|
index?: string | number;
|
|
12
12
|
width: number;
|
|
13
13
|
height: number;
|
|
14
14
|
left: number;
|
|
15
15
|
top: number;
|
|
16
16
|
}) => any) | undefined;
|
|
17
|
-
|
|
17
|
+
onBlur?: ((args_0: {
|
|
18
18
|
index?: string | number;
|
|
19
19
|
width: number;
|
|
20
20
|
height: number;
|
|
@@ -34,21 +34,21 @@ declare const DDraggable: {
|
|
|
34
34
|
setTop: (top: number) => void;
|
|
35
35
|
setOverActive: (val: boolean) => void;
|
|
36
36
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
|
-
|
|
37
|
+
over: (args_0: {
|
|
38
38
|
index?: string | number;
|
|
39
39
|
width: number;
|
|
40
40
|
height: number;
|
|
41
41
|
left: number;
|
|
42
42
|
top: number;
|
|
43
43
|
}) => any;
|
|
44
|
-
|
|
44
|
+
focus: (args_0: {
|
|
45
45
|
index?: string | number;
|
|
46
46
|
width: number;
|
|
47
47
|
height: number;
|
|
48
48
|
left: number;
|
|
49
49
|
top: number;
|
|
50
50
|
}) => any;
|
|
51
|
-
|
|
51
|
+
blur: (args_0: {
|
|
52
52
|
index?: string | number;
|
|
53
53
|
width: number;
|
|
54
54
|
height: number;
|
|
@@ -86,21 +86,21 @@ declare const DDraggable: {
|
|
|
86
86
|
M: {};
|
|
87
87
|
Defaults: {};
|
|
88
88
|
}, Readonly<import('.').DraggableProps> & Readonly<{
|
|
89
|
-
|
|
89
|
+
onOver?: ((args_0: {
|
|
90
90
|
index?: string | number;
|
|
91
91
|
width: number;
|
|
92
92
|
height: number;
|
|
93
93
|
left: number;
|
|
94
94
|
top: number;
|
|
95
95
|
}) => any) | undefined;
|
|
96
|
-
|
|
96
|
+
onFocus?: ((args_0: {
|
|
97
97
|
index?: string | number;
|
|
98
98
|
width: number;
|
|
99
99
|
height: number;
|
|
100
100
|
left: number;
|
|
101
101
|
top: number;
|
|
102
102
|
}) => any) | undefined;
|
|
103
|
-
|
|
103
|
+
onBlur?: ((args_0: {
|
|
104
104
|
index?: string | number;
|
|
105
105
|
width: number;
|
|
106
106
|
height: number;
|
|
@@ -137,21 +137,21 @@ declare const DDraggable: {
|
|
|
137
137
|
__isTeleport?: never;
|
|
138
138
|
__isSuspense?: never;
|
|
139
139
|
} & import('vue').ComponentOptionsBase<Readonly<import('.').DraggableProps> & Readonly<{
|
|
140
|
-
|
|
140
|
+
onOver?: ((args_0: {
|
|
141
141
|
index?: string | number;
|
|
142
142
|
width: number;
|
|
143
143
|
height: number;
|
|
144
144
|
left: number;
|
|
145
145
|
top: number;
|
|
146
146
|
}) => any) | undefined;
|
|
147
|
-
|
|
147
|
+
onFocus?: ((args_0: {
|
|
148
148
|
index?: string | number;
|
|
149
149
|
width: number;
|
|
150
150
|
height: number;
|
|
151
151
|
left: number;
|
|
152
152
|
top: number;
|
|
153
153
|
}) => any) | undefined;
|
|
154
|
-
|
|
154
|
+
onBlur?: ((args_0: {
|
|
155
155
|
index?: string | number;
|
|
156
156
|
width: number;
|
|
157
157
|
height: number;
|
|
@@ -171,21 +171,21 @@ declare const DDraggable: {
|
|
|
171
171
|
setTop: (top: number) => void;
|
|
172
172
|
setOverActive: (val: boolean) => void;
|
|
173
173
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
174
|
-
|
|
174
|
+
over: (args_0: {
|
|
175
175
|
index?: string | number;
|
|
176
176
|
width: number;
|
|
177
177
|
height: number;
|
|
178
178
|
left: number;
|
|
179
179
|
top: number;
|
|
180
180
|
}) => any;
|
|
181
|
-
|
|
181
|
+
focus: (args_0: {
|
|
182
182
|
index?: string | number;
|
|
183
183
|
width: number;
|
|
184
184
|
height: number;
|
|
185
185
|
left: number;
|
|
186
186
|
top: number;
|
|
187
187
|
}) => any;
|
|
188
|
-
|
|
188
|
+
blur: (args_0: {
|
|
189
189
|
index?: string | number;
|
|
190
190
|
width: number;
|
|
191
191
|
height: number;
|
|
@@ -48,21 +48,21 @@ declare const __VLS_component: import('vue').DefineComponent<DraggableProps, {
|
|
|
48
48
|
setTop: (top: number) => void;
|
|
49
49
|
setOverActive: (val: boolean) => void;
|
|
50
50
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
51
|
-
|
|
51
|
+
over: (args_0: {
|
|
52
52
|
index?: string | number;
|
|
53
53
|
width: number;
|
|
54
54
|
height: number;
|
|
55
55
|
left: number;
|
|
56
56
|
top: number;
|
|
57
57
|
}) => any;
|
|
58
|
-
|
|
58
|
+
focus: (args_0: {
|
|
59
59
|
index?: string | number;
|
|
60
60
|
width: number;
|
|
61
61
|
height: number;
|
|
62
62
|
left: number;
|
|
63
63
|
top: number;
|
|
64
64
|
}) => any;
|
|
65
|
-
|
|
65
|
+
blur: (args_0: {
|
|
66
66
|
index?: string | number;
|
|
67
67
|
width: number;
|
|
68
68
|
height: number;
|
|
@@ -77,21 +77,21 @@ declare const __VLS_component: import('vue').DefineComponent<DraggableProps, {
|
|
|
77
77
|
top: number;
|
|
78
78
|
}) => any;
|
|
79
79
|
}, string, import('vue').PublicProps, Readonly<DraggableProps> & Readonly<{
|
|
80
|
-
|
|
80
|
+
onOver?: ((args_0: {
|
|
81
81
|
index?: string | number;
|
|
82
82
|
width: number;
|
|
83
83
|
height: number;
|
|
84
84
|
left: number;
|
|
85
85
|
top: number;
|
|
86
86
|
}) => any) | undefined;
|
|
87
|
-
|
|
87
|
+
onFocus?: ((args_0: {
|
|
88
88
|
index?: string | number;
|
|
89
89
|
width: number;
|
|
90
90
|
height: number;
|
|
91
91
|
left: number;
|
|
92
92
|
top: number;
|
|
93
93
|
}) => any) | undefined;
|
|
94
|
-
|
|
94
|
+
onBlur?: ((args_0: {
|
|
95
95
|
index?: string | number;
|
|
96
96
|
width: number;
|
|
97
97
|
height: number;
|
|
@@ -17,10 +17,10 @@ declare const DFormDesign: {
|
|
|
17
17
|
flowComponents: Record<string, any>[];
|
|
18
18
|
flowInit: Function;
|
|
19
19
|
flowComponentConfigInit: Function;
|
|
20
|
-
flowComponentConfigs: Record<string, import('../../components/
|
|
20
|
+
flowComponentConfigs: Record<string, import('../../components/index.ts').FormSchemaConfig[]>;
|
|
21
21
|
flowComponentConfigChange: Function;
|
|
22
22
|
notBindTable: boolean;
|
|
23
|
-
componentConfigs: Record<string, import('../../components/
|
|
23
|
+
componentConfigs: Record<string, import('../../components/index.ts').FormSchemaConfig[]>;
|
|
24
24
|
componentInit: Function;
|
|
25
25
|
containerAddComponent: Function;
|
|
26
26
|
componentConfigInit: Function;
|
|
@@ -105,10 +105,10 @@ declare const DFormDesign: {
|
|
|
105
105
|
flowComponents: Record<string, any>[];
|
|
106
106
|
flowInit: Function;
|
|
107
107
|
flowComponentConfigInit: Function;
|
|
108
|
-
flowComponentConfigs: Record<string, import('../../components/
|
|
108
|
+
flowComponentConfigs: Record<string, import('../../components/index.ts').FormSchemaConfig[]>;
|
|
109
109
|
flowComponentConfigChange: Function;
|
|
110
110
|
notBindTable: boolean;
|
|
111
|
-
componentConfigs: Record<string, import('../../components/
|
|
111
|
+
componentConfigs: Record<string, import('../../components/index.ts').FormSchemaConfig[]>;
|
|
112
112
|
componentInit: Function;
|
|
113
113
|
containerAddComponent: Function;
|
|
114
114
|
componentConfigInit: Function;
|
|
@@ -134,10 +134,10 @@ declare const DFormDesign: {
|
|
|
134
134
|
flowComponents: Record<string, any>[];
|
|
135
135
|
flowInit: Function;
|
|
136
136
|
flowComponentConfigInit: Function;
|
|
137
|
-
flowComponentConfigs: Record<string, import('../../components/
|
|
137
|
+
flowComponentConfigs: Record<string, import('../../components/index.ts').FormSchemaConfig[]>;
|
|
138
138
|
flowComponentConfigChange: Function;
|
|
139
139
|
notBindTable: boolean;
|
|
140
|
-
componentConfigs: Record<string, import('../../components/
|
|
140
|
+
componentConfigs: Record<string, import('../../components/index.ts').FormSchemaConfig[]>;
|
|
141
141
|
componentInit: Function;
|
|
142
142
|
containerAddComponent: Function;
|
|
143
143
|
componentConfigInit: Function;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DbTable, FormDeisgnSaveComponent, FormDesignComponents } from './interface';
|
|
2
|
-
import { FormSchemaConfig } from '
|
|
2
|
+
import { FormSchemaConfig } from '../../../components/index.ts';
|
|
3
3
|
export interface Props {
|
|
4
4
|
notBindTable?: boolean;
|
|
5
5
|
components?: FormDesignComponents[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormSchemaConfig } from '../../../components/
|
|
1
|
+
import { FormSchemaConfig } from '../../../components/index.ts';
|
|
2
2
|
import { DesignComponent } from '../../drag/src/interface';
|
|
3
3
|
import { FormDeisgnSaveComponent, FormDesignComponent } from './interface';
|
|
4
4
|
export declare const toFormSchema: (data: {
|
|
@@ -6,7 +6,7 @@ declare const DIndexDesign: {
|
|
|
6
6
|
default: () => never[];
|
|
7
7
|
};
|
|
8
8
|
componentConfigs: {
|
|
9
|
-
type: import('vue').PropType<Record<string, import('../../components/
|
|
9
|
+
type: import('vue').PropType<Record<string, import('../../components/index.ts').FormSchemaConfig[]>>;
|
|
10
10
|
default: () => {};
|
|
11
11
|
};
|
|
12
12
|
componentInit: FunctionConstructor;
|
|
@@ -21,7 +21,7 @@ declare const DIndexDesign: {
|
|
|
21
21
|
flowComponentConfigInit: FunctionConstructor;
|
|
22
22
|
flowComponentConfigChange: FunctionConstructor;
|
|
23
23
|
flowComponentConfigs: {
|
|
24
|
-
type: import('vue').PropType<Record<string, import('../../components/
|
|
24
|
+
type: import('vue').PropType<Record<string, import('../../components/index.ts').FormSchemaConfig[]>>;
|
|
25
25
|
default: () => {};
|
|
26
26
|
};
|
|
27
27
|
}>> & Readonly<{}>, {
|
|
@@ -36,8 +36,8 @@ declare const DIndexDesign: {
|
|
|
36
36
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
37
37
|
components: import('./src/interface').IndexDesignComponents[];
|
|
38
38
|
flowComponents: Record<string, any>[];
|
|
39
|
-
flowComponentConfigs: Record<string, import('../../components/
|
|
40
|
-
componentConfigs: Record<string, import('../../components/
|
|
39
|
+
flowComponentConfigs: Record<string, import('../../components/index.ts').FormSchemaConfig[]>;
|
|
40
|
+
componentConfigs: Record<string, import('../../components/index.ts').FormSchemaConfig[]>;
|
|
41
41
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
42
42
|
dragContainer: unknown;
|
|
43
43
|
configRef: unknown;
|
|
@@ -56,7 +56,7 @@ declare const DIndexDesign: {
|
|
|
56
56
|
default: () => never[];
|
|
57
57
|
};
|
|
58
58
|
componentConfigs: {
|
|
59
|
-
type: import('vue').PropType<Record<string, import('../../components/
|
|
59
|
+
type: import('vue').PropType<Record<string, import('../../components/index.ts').FormSchemaConfig[]>>;
|
|
60
60
|
default: () => {};
|
|
61
61
|
};
|
|
62
62
|
componentInit: FunctionConstructor;
|
|
@@ -71,7 +71,7 @@ declare const DIndexDesign: {
|
|
|
71
71
|
flowComponentConfigInit: FunctionConstructor;
|
|
72
72
|
flowComponentConfigChange: FunctionConstructor;
|
|
73
73
|
flowComponentConfigs: {
|
|
74
|
-
type: import('vue').PropType<Record<string, import('../../components/
|
|
74
|
+
type: import('vue').PropType<Record<string, import('../../components/index.ts').FormSchemaConfig[]>>;
|
|
75
75
|
default: () => {};
|
|
76
76
|
};
|
|
77
77
|
}>> & Readonly<{}>, {
|
|
@@ -86,8 +86,8 @@ declare const DIndexDesign: {
|
|
|
86
86
|
}, {}, {}, {}, {
|
|
87
87
|
components: import('./src/interface').IndexDesignComponents[];
|
|
88
88
|
flowComponents: Record<string, any>[];
|
|
89
|
-
flowComponentConfigs: Record<string, import('../../components/
|
|
90
|
-
componentConfigs: Record<string, import('../../components/
|
|
89
|
+
flowComponentConfigs: Record<string, import('../../components/index.ts').FormSchemaConfig[]>;
|
|
90
|
+
componentConfigs: Record<string, import('../../components/index.ts').FormSchemaConfig[]>;
|
|
91
91
|
}>;
|
|
92
92
|
__isFragment?: never;
|
|
93
93
|
__isTeleport?: never;
|
|
@@ -98,7 +98,7 @@ declare const DIndexDesign: {
|
|
|
98
98
|
default: () => never[];
|
|
99
99
|
};
|
|
100
100
|
componentConfigs: {
|
|
101
|
-
type: import('vue').PropType<Record<string, import('../../components/
|
|
101
|
+
type: import('vue').PropType<Record<string, import('../../components/index.ts').FormSchemaConfig[]>>;
|
|
102
102
|
default: () => {};
|
|
103
103
|
};
|
|
104
104
|
componentInit: FunctionConstructor;
|
|
@@ -113,7 +113,7 @@ declare const DIndexDesign: {
|
|
|
113
113
|
flowComponentConfigInit: FunctionConstructor;
|
|
114
114
|
flowComponentConfigChange: FunctionConstructor;
|
|
115
115
|
flowComponentConfigs: {
|
|
116
|
-
type: import('vue').PropType<Record<string, import('../../components/
|
|
116
|
+
type: import('vue').PropType<Record<string, import('../../components/index.ts').FormSchemaConfig[]>>;
|
|
117
117
|
default: () => {};
|
|
118
118
|
};
|
|
119
119
|
}>> & Readonly<{}>, {
|
|
@@ -128,8 +128,8 @@ declare const DIndexDesign: {
|
|
|
128
128
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
129
129
|
components: import('./src/interface').IndexDesignComponents[];
|
|
130
130
|
flowComponents: Record<string, any>[];
|
|
131
|
-
flowComponentConfigs: Record<string, import('../../components/
|
|
132
|
-
componentConfigs: Record<string, import('../../components/
|
|
131
|
+
flowComponentConfigs: Record<string, import('../../components/index.ts').FormSchemaConfig[]>;
|
|
132
|
+
componentConfigs: Record<string, import('../../components/index.ts').FormSchemaConfig[]>;
|
|
133
133
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
134
134
|
install: (app: import('vue').App) => void;
|
|
135
135
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormSchemaConfig } from '../../../components/
|
|
1
|
+
import { FormSchemaConfig } from '../../../components/index.ts';
|
|
2
2
|
import { IndexDesignComponents } from './interface';
|
|
3
3
|
import { PropType } from 'vue';
|
|
4
4
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DesignComponent } from '../../drag/src/interface';
|
|
2
|
-
import { SchemaConfig } from '../../../components/comp/src/interface';
|
|
3
2
|
import { IndexDeisgnSaveComponent, IndexDesignComponent } from './interface';
|
|
4
3
|
export declare const toIndexSaveSchema: (indexPageConfig: Record<string, any>, componentList: DesignComponent[]) => {
|
|
5
4
|
ver: string;
|