zc-lowcode 0.0.1 → 0.0.2
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/dist/lowcode-editor.es.js +4379 -38447
- package/dist/lowcode-editor.umd.js +5857 -39927
- package/dist/packages/install.d.ts +4 -0
- package/dist/packages/locale/en-US.d.ts +315 -0
- package/dist/packages/locale/index.d.ts +635 -0
- package/dist/packages/locale/zh-CN.d.ts +315 -0
- package/dist/packages/lowcode-editor/components/design-panel/components/wrapper.vue.d.ts +40 -0
- package/dist/packages/lowcode-editor/components/design-panel/index.vue.d.ts +64 -0
- package/dist/packages/lowcode-editor/components/layout-panel/index.vue.d.ts +33 -0
- package/dist/packages/lowcode-editor/components/setter-panel/index.vue.d.ts +22 -0
- package/dist/packages/lowcode-editor/components/widget-panel/index.vue.d.ts +100 -0
- package/dist/packages/lowcode-editor/index.vue.d.ts +349 -0
- package/dist/packages/lowcode-editor-renderer/index.vue.d.ts +100 -0
- package/dist/packages/lowcode-editor-widgets/components/property-editor/property.d.ts +4 -0
- package/dist/packages/lowcode-editor-widgets/components/property.vue.d.ts +53 -0
- package/dist/packages/lowcode-editor-widgets/components/setter-base/index.vue.d.ts +20 -0
- package/dist/packages/lowcode-editor-widgets/components/usePropertyRegister.d.ts +7 -0
- package/dist/packages/lowcode-editor-widgets/index.d.ts +4 -0
- package/dist/packages/lowcode-editor-widgets/widgets/container/card/index.d.ts +38 -0
- package/dist/packages/lowcode-editor-widgets/widgets/container/card/setter.vue.d.ts +15 -0
- package/dist/packages/lowcode-editor-widgets/widgets/container/card/view.vue.d.ts +15 -0
- package/dist/packages/lowcode-editor-widgets/widgets/container/grid/index.d.ts +67 -0
- package/dist/packages/lowcode-editor-widgets/widgets/container/grid/setter.vue.d.ts +18 -0
- package/dist/packages/lowcode-editor-widgets/widgets/container/grid/view.vue.d.ts +24 -0
- package/dist/packages/lowcode-editor-widgets/widgets/container/grid-col/index.d.ts +68 -0
- package/dist/packages/lowcode-editor-widgets/widgets/container/grid-col/setter.vue.d.ts +15 -0
- package/dist/packages/lowcode-editor-widgets/widgets/container/grid-col/view.vue.d.ts +40 -0
- package/dist/packages/lowcode-editor-widgets/widgets/container/tab/index.d.ts +38 -0
- package/dist/packages/lowcode-editor-widgets/widgets/container/tab/setter.vue.d.ts +15 -0
- package/dist/packages/lowcode-editor-widgets/widgets/container/tab/view.vue.d.ts +15 -0
- package/dist/packages/lowcode-editor-widgets/widgets/form/radio/index.d.ts +38 -0
- package/dist/packages/lowcode-editor-widgets/widgets/form/radio/setter.vue.d.ts +15 -0
- package/dist/packages/lowcode-editor-widgets/widgets/form/radio/view.vue.d.ts +15 -0
- package/dist/packages/lowcode-editor-widgets/widgets/form/text/index.d.ts +38 -0
- package/dist/packages/lowcode-editor-widgets/widgets/form/text/setter.vue.d.ts +15 -0
- package/dist/packages/lowcode-editor-widgets/widgets/form/text/view.vue.d.ts +15 -0
- package/dist/style.css +28 -28
- package/package.json +11 -15
- /package/dist/{type.d.ts → packages/type.d.ts} +0 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
id: number;
|
|
3
|
+
type: string;
|
|
4
|
+
name: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
options: {
|
|
7
|
+
align: string;
|
|
8
|
+
gutter: number;
|
|
9
|
+
justify: string;
|
|
10
|
+
wrap: boolean;
|
|
11
|
+
};
|
|
12
|
+
children: {
|
|
13
|
+
id: number;
|
|
14
|
+
type: string;
|
|
15
|
+
name: string;
|
|
16
|
+
internal: boolean;
|
|
17
|
+
children: any[];
|
|
18
|
+
options: {
|
|
19
|
+
flex: any;
|
|
20
|
+
offset: number;
|
|
21
|
+
order: any;
|
|
22
|
+
pull: any;
|
|
23
|
+
push: any;
|
|
24
|
+
span: number;
|
|
25
|
+
xs: any;
|
|
26
|
+
sm: any;
|
|
27
|
+
md: any;
|
|
28
|
+
lg: any;
|
|
29
|
+
xl: any;
|
|
30
|
+
xxl: any;
|
|
31
|
+
};
|
|
32
|
+
}[];
|
|
33
|
+
component: import('vue').DefineComponent<{
|
|
34
|
+
designer: {
|
|
35
|
+
type: import('vue').PropType<import('../../../../../utils/useDesigner').IDesigner>;
|
|
36
|
+
required: false;
|
|
37
|
+
};
|
|
38
|
+
widget: {
|
|
39
|
+
type: import('vue').PropType<import('../../../../type').WidgetContainerSchema>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
43
|
+
designer: {
|
|
44
|
+
type: import('vue').PropType<import('../../../../../utils/useDesigner').IDesigner>;
|
|
45
|
+
required: false;
|
|
46
|
+
};
|
|
47
|
+
widget: {
|
|
48
|
+
type: import('vue').PropType<import('../../../../type').WidgetContainerSchema>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
}>>, {}, {}>;
|
|
52
|
+
setterComponent: import('vue').DefineComponent<{
|
|
53
|
+
widget: {
|
|
54
|
+
type: import('vue').PropType<import('../../../../type').WidgetContainerSchema>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
}, unknown, unknown, {}, {
|
|
58
|
+
addCol(): void;
|
|
59
|
+
removeCol(index: number): void;
|
|
60
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
61
|
+
widget: {
|
|
62
|
+
type: import('vue').PropType<import('../../../../type').WidgetContainerSchema>;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
}>>, {}, {}>;
|
|
66
|
+
};
|
|
67
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { WidgetContainerSchema } from '../../../../type';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
|
+
widget: {
|
|
6
|
+
type: PropType<WidgetContainerSchema>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}, unknown, unknown, {}, {
|
|
10
|
+
addCol(): void;
|
|
11
|
+
removeCol(index: number): void;
|
|
12
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
widget: {
|
|
14
|
+
type: PropType<WidgetContainerSchema>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
}>>, {}, {}>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { WidgetContainerSchema } from '../../../../type';
|
|
3
|
+
import { IDesigner } from '../../../../../utils/useDesigner';
|
|
4
|
+
|
|
5
|
+
declare const _default: import('vue').DefineComponent<{
|
|
6
|
+
designer: {
|
|
7
|
+
type: PropType<IDesigner>;
|
|
8
|
+
required: false;
|
|
9
|
+
};
|
|
10
|
+
widget: {
|
|
11
|
+
type: PropType<WidgetContainerSchema>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
+
designer: {
|
|
16
|
+
type: PropType<IDesigner>;
|
|
17
|
+
required: false;
|
|
18
|
+
};
|
|
19
|
+
widget: {
|
|
20
|
+
type: PropType<WidgetContainerSchema>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
}>>, {}, {}>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
id: number;
|
|
3
|
+
type: string;
|
|
4
|
+
name: string;
|
|
5
|
+
internal: boolean;
|
|
6
|
+
children: any[];
|
|
7
|
+
options: {
|
|
8
|
+
flex: any;
|
|
9
|
+
offset: number;
|
|
10
|
+
order: any;
|
|
11
|
+
pull: any;
|
|
12
|
+
push: any;
|
|
13
|
+
span: number;
|
|
14
|
+
xs: any;
|
|
15
|
+
sm: any;
|
|
16
|
+
md: any;
|
|
17
|
+
lg: any;
|
|
18
|
+
xl: any;
|
|
19
|
+
xxl: any;
|
|
20
|
+
};
|
|
21
|
+
component: import('vue').DefineComponent<{
|
|
22
|
+
designer: {
|
|
23
|
+
type: import('vue').PropType<import('../../../../../utils/useDesigner').IDesigner>;
|
|
24
|
+
required: false;
|
|
25
|
+
};
|
|
26
|
+
parentWidget: {
|
|
27
|
+
type: import('vue').PropType<import('../../../../type').WidgetContainerSchema>;
|
|
28
|
+
required: false;
|
|
29
|
+
};
|
|
30
|
+
widget: {
|
|
31
|
+
type: import('vue').PropType<import('../../../../type').WidgetContainerSchema>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
index: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
39
|
+
designer: {
|
|
40
|
+
type: import('vue').PropType<import('../../../../../utils/useDesigner').IDesigner>;
|
|
41
|
+
required: false;
|
|
42
|
+
};
|
|
43
|
+
parentWidget: {
|
|
44
|
+
type: import('vue').PropType<import('../../../../type').WidgetContainerSchema>;
|
|
45
|
+
required: false;
|
|
46
|
+
};
|
|
47
|
+
widget: {
|
|
48
|
+
type: import('vue').PropType<import('../../../../type').WidgetContainerSchema>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
index: {
|
|
52
|
+
type: NumberConstructor;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
}>>, {}, {}>;
|
|
56
|
+
setterComponent: import('vue').DefineComponent<{
|
|
57
|
+
widget: {
|
|
58
|
+
type: import('vue').PropType<import('../../../../type').WidgetContainerSchema>;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
62
|
+
widget: {
|
|
63
|
+
type: import('vue').PropType<import('../../../../type').WidgetContainerSchema>;
|
|
64
|
+
required: true;
|
|
65
|
+
};
|
|
66
|
+
}>>, {}, {}>;
|
|
67
|
+
};
|
|
68
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { WidgetContainerSchema } from '../../../../type';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
|
+
widget: {
|
|
6
|
+
type: PropType<WidgetContainerSchema>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
10
|
+
widget: {
|
|
11
|
+
type: PropType<WidgetContainerSchema>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}>>, {}, {}>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { WidgetContainerSchema } from '../../../../type';
|
|
3
|
+
import { IDesigner } from '../../../../../utils/useDesigner';
|
|
4
|
+
|
|
5
|
+
declare const _default: import('vue').DefineComponent<{
|
|
6
|
+
designer: {
|
|
7
|
+
type: PropType<IDesigner>;
|
|
8
|
+
required: false;
|
|
9
|
+
};
|
|
10
|
+
parentWidget: {
|
|
11
|
+
type: PropType<WidgetContainerSchema>;
|
|
12
|
+
required: false;
|
|
13
|
+
};
|
|
14
|
+
widget: {
|
|
15
|
+
type: PropType<WidgetContainerSchema>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
index: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
+
designer: {
|
|
24
|
+
type: PropType<IDesigner>;
|
|
25
|
+
required: false;
|
|
26
|
+
};
|
|
27
|
+
parentWidget: {
|
|
28
|
+
type: PropType<WidgetContainerSchema>;
|
|
29
|
+
required: false;
|
|
30
|
+
};
|
|
31
|
+
widget: {
|
|
32
|
+
type: PropType<WidgetContainerSchema>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
index: {
|
|
36
|
+
type: NumberConstructor;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
}>>, {}, {}>;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
id: number;
|
|
3
|
+
type: string;
|
|
4
|
+
name: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
children: any[];
|
|
7
|
+
options: {
|
|
8
|
+
name: string;
|
|
9
|
+
hidden: boolean;
|
|
10
|
+
cols: any[];
|
|
11
|
+
gutter: number;
|
|
12
|
+
colHeight: any;
|
|
13
|
+
customClass: string;
|
|
14
|
+
};
|
|
15
|
+
component: import('vue').DefineComponent<{
|
|
16
|
+
widget: {
|
|
17
|
+
type: import('vue').PropType<import('../../../../type').WidgetSchema>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
+
widget: {
|
|
22
|
+
type: import('vue').PropType<import('../../../../type').WidgetSchema>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
}>>, {}, {}>;
|
|
26
|
+
setterComponent: import('vue').DefineComponent<{
|
|
27
|
+
widget: {
|
|
28
|
+
type: import('vue').PropType<import('../../../../type').WidgetContainerSchema>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
32
|
+
widget: {
|
|
33
|
+
type: import('vue').PropType<import('../../../../type').WidgetContainerSchema>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
}>>, {}, {}>;
|
|
37
|
+
};
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { WidgetContainerSchema } from '../../../../type';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
|
+
widget: {
|
|
6
|
+
type: PropType<WidgetContainerSchema>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
10
|
+
widget: {
|
|
11
|
+
type: PropType<WidgetContainerSchema>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}>>, {}, {}>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { WidgetSchema } from '../../../../type';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
|
+
widget: {
|
|
6
|
+
type: PropType<WidgetSchema>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
10
|
+
widget: {
|
|
11
|
+
type: PropType<WidgetSchema>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}>>, {}, {}>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
id: number;
|
|
3
|
+
type: string;
|
|
4
|
+
name: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
children: any[];
|
|
7
|
+
options: {
|
|
8
|
+
name: string;
|
|
9
|
+
hidden: boolean;
|
|
10
|
+
cols: any[];
|
|
11
|
+
gutter: number;
|
|
12
|
+
colHeight: any;
|
|
13
|
+
customClass: string;
|
|
14
|
+
};
|
|
15
|
+
component: import('vue').DefineComponent<{
|
|
16
|
+
widget: {
|
|
17
|
+
type: import('vue').PropType<import('../../../../type').WidgetSchema>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
+
widget: {
|
|
22
|
+
type: import('vue').PropType<import('../../../../type').WidgetSchema>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
}>>, {}, {}>;
|
|
26
|
+
setterComponent: import('vue').DefineComponent<{
|
|
27
|
+
widget: {
|
|
28
|
+
type: import('vue').PropType<import('../../../../type').WidgetContainerSchema>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
32
|
+
widget: {
|
|
33
|
+
type: import('vue').PropType<import('../../../../type').WidgetContainerSchema>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
}>>, {}, {}>;
|
|
37
|
+
};
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { WidgetContainerSchema } from '../../../../type';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
|
+
widget: {
|
|
6
|
+
type: PropType<WidgetContainerSchema>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
10
|
+
widget: {
|
|
11
|
+
type: PropType<WidgetContainerSchema>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}>>, {}, {}>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { WidgetSchema } from '../../../../type';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
|
+
widget: {
|
|
6
|
+
type: PropType<WidgetSchema>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
10
|
+
widget: {
|
|
11
|
+
type: PropType<WidgetSchema>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}>>, {}, {}>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
id: number;
|
|
3
|
+
type: string;
|
|
4
|
+
name: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
children: any[];
|
|
7
|
+
options: {
|
|
8
|
+
name: string;
|
|
9
|
+
hidden: boolean;
|
|
10
|
+
cols: any[];
|
|
11
|
+
gutter: number;
|
|
12
|
+
colHeight: any;
|
|
13
|
+
customClass: string;
|
|
14
|
+
};
|
|
15
|
+
component: import('vue').DefineComponent<{
|
|
16
|
+
widget: {
|
|
17
|
+
type: import('vue').PropType<import('../../../../type').WidgetSchema>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
+
widget: {
|
|
22
|
+
type: import('vue').PropType<import('../../../../type').WidgetSchema>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
}>>, {}, {}>;
|
|
26
|
+
setterComponent: import('vue').DefineComponent<{
|
|
27
|
+
widget: {
|
|
28
|
+
type: import('vue').PropType<import('../../../../type').WidgetContainerSchema>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
32
|
+
widget: {
|
|
33
|
+
type: import('vue').PropType<import('../../../../type').WidgetContainerSchema>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
}>>, {}, {}>;
|
|
37
|
+
};
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { WidgetContainerSchema } from '../../../../type';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
|
+
widget: {
|
|
6
|
+
type: PropType<WidgetContainerSchema>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
10
|
+
widget: {
|
|
11
|
+
type: PropType<WidgetContainerSchema>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}>>, {}, {}>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { WidgetSchema } from '../../../../type';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
|
+
widget: {
|
|
6
|
+
type: PropType<WidgetSchema>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
10
|
+
widget: {
|
|
11
|
+
type: PropType<WidgetSchema>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}>>, {}, {}>;
|
|
15
|
+
export default _default;
|
package/dist/style.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
.tabs[data-v-
|
|
1
|
+
.tabs[data-v-1128bb32] .ant-tabs-nav {
|
|
2
2
|
margin-bottom: 0 !important;
|
|
3
3
|
}
|
|
4
|
-
.tabs .widget-collapse ul[data-v-
|
|
4
|
+
.tabs .widget-collapse ul[data-v-1128bb32] {
|
|
5
5
|
padding: 0;
|
|
6
6
|
margin: 0;
|
|
7
7
|
display: flex;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
border-left: 1px solid var(--colorBorderSecondary);
|
|
10
10
|
border-top: 1px solid var(--colorBorderSecondary);
|
|
11
11
|
}
|
|
12
|
-
.tabs .widget-collapse ul li[data-v-
|
|
12
|
+
.tabs .widget-collapse ul li[data-v-1128bb32] {
|
|
13
13
|
height: 80px;
|
|
14
14
|
width: 33.33%;
|
|
15
15
|
cursor: move;
|
|
@@ -23,55 +23,55 @@
|
|
|
23
23
|
background: var(--colorBgContainer);
|
|
24
24
|
transition: box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;
|
|
25
25
|
}
|
|
26
|
-
.tabs .widget-collapse ul li .widget-item-icon[data-v-
|
|
26
|
+
.tabs .widget-collapse ul li .widget-item-icon[data-v-1128bb32] {
|
|
27
27
|
font-size: 20px;
|
|
28
28
|
color: var(--colorTextSecondary);
|
|
29
29
|
}
|
|
30
|
-
.tabs .widget-collapse ul li .widget-item-name[data-v-
|
|
30
|
+
.tabs .widget-collapse ul li .widget-item-name[data-v-1128bb32] {
|
|
31
31
|
margin-top: 8px;
|
|
32
32
|
white-space: nowrap;
|
|
33
33
|
text-overflow: ellipsis;
|
|
34
34
|
}
|
|
35
|
-
.tabs .widget-collapse ul li[data-v-
|
|
35
|
+
.tabs .widget-collapse ul li[data-v-1128bb32]:hover {
|
|
36
36
|
box-shadow: 0 0 30px var(--colorBorder);
|
|
37
37
|
color: var(--colorPrimary);
|
|
38
38
|
}
|
|
39
|
-
.tabs .widget-collapse ul li:hover .widget-item-icon[data-v-
|
|
39
|
+
.tabs .widget-collapse ul li:hover .widget-item-icon[data-v-1128bb32] {
|
|
40
40
|
color: var(--colorPrimary);
|
|
41
41
|
}
|
|
42
|
-
.tabs .template-list[data-v-
|
|
42
|
+
.tabs .template-list[data-v-1128bb32] {
|
|
43
43
|
padding: 0;
|
|
44
44
|
margin: 0;
|
|
45
45
|
list-style: none;
|
|
46
46
|
}
|
|
47
|
-
.tabs .template-list li[data-v-
|
|
47
|
+
.tabs .template-list li[data-v-1128bb32] {
|
|
48
48
|
border: 1px solid var(--colorBorderSecondary);
|
|
49
49
|
transition: box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;
|
|
50
50
|
margin: 10px;
|
|
51
51
|
}
|
|
52
|
-
.tabs .template-list li[data-v-
|
|
52
|
+
.tabs .template-list li[data-v-1128bb32]:hover {
|
|
53
53
|
box-shadow: 0 0 30px var(--colorBorder);
|
|
54
54
|
color: var(--colorPrimary);
|
|
55
55
|
}
|
|
56
|
-
.tabs .template-list li:hover .widget-item-icon[data-v-
|
|
56
|
+
.tabs .template-list li:hover .widget-item-icon[data-v-1128bb32] {
|
|
57
57
|
color: var(--colorPrimary);
|
|
58
58
|
}
|
|
59
|
-
.tabs .template-list li .template-item-footer[data-v-
|
|
59
|
+
.tabs .template-list li .template-item-footer[data-v-1128bb32] {
|
|
60
60
|
display: flex;
|
|
61
61
|
align-items: center;
|
|
62
62
|
justify-content: space-between;
|
|
63
63
|
padding: 8px;
|
|
64
64
|
}
|
|
65
|
-
.tabs .template-list li .template-item-footer .template-item-name[data-v-
|
|
65
|
+
.tabs .template-list li .template-item-footer .template-item-name[data-v-1128bb32] {
|
|
66
66
|
overflow: hidden;
|
|
67
67
|
white-space: nowrap;
|
|
68
68
|
text-overflow: ellipsis;
|
|
69
69
|
}
|
|
70
|
-
.wrapper[data-v-
|
|
70
|
+
.wrapper[data-v-1bd00ee3] {
|
|
71
71
|
position: relative;
|
|
72
72
|
border: 0.5px dashed var(--colorBorderSecondary);
|
|
73
73
|
}
|
|
74
|
-
.wrapper .widget-toolbar[data-v-
|
|
74
|
+
.wrapper .widget-toolbar[data-v-1bd00ee3] {
|
|
75
75
|
display: none;
|
|
76
76
|
position: absolute;
|
|
77
77
|
bottom: -20px;
|
|
@@ -80,31 +80,31 @@
|
|
|
80
80
|
font-size: 12px;
|
|
81
81
|
color: #eee;
|
|
82
82
|
}
|
|
83
|
-
.wrapper .widget-toolbar .widget-name[data-v-
|
|
83
|
+
.wrapper .widget-toolbar .widget-name[data-v-1bd00ee3] {
|
|
84
84
|
margin-right: 10px;
|
|
85
85
|
padding: 2px 10px;
|
|
86
86
|
border-radius: 4px;
|
|
87
87
|
background-color: var(--colorPrimary);
|
|
88
88
|
white-space: nowrap;
|
|
89
89
|
}
|
|
90
|
-
.wrapper .widget-toolbar .widget-actions[data-v-
|
|
90
|
+
.wrapper .widget-toolbar .widget-actions[data-v-1bd00ee3] {
|
|
91
91
|
padding: 2px 10px;
|
|
92
92
|
border-radius: 4px;
|
|
93
93
|
background-color: var(--colorPrimary);
|
|
94
94
|
}
|
|
95
|
-
.wrapper.actived[data-v-
|
|
95
|
+
.wrapper.actived[data-v-1bd00ee3] {
|
|
96
96
|
border: 0.5px dashed var(--colorPrimary);
|
|
97
97
|
}
|
|
98
|
-
.wrapper.actived > .widget-toolbar[data-v-
|
|
98
|
+
.wrapper.actived > .widget-toolbar[data-v-1bd00ee3] {
|
|
99
99
|
display: flex;
|
|
100
100
|
flex-wrap: nowrap;
|
|
101
101
|
align-items: stretch;
|
|
102
102
|
}
|
|
103
|
-
.draggable[data-v-
|
|
103
|
+
.draggable[data-v-a17dc1f1] {
|
|
104
104
|
width: 100%;
|
|
105
105
|
height: 100%;
|
|
106
106
|
}
|
|
107
|
-
.empty[data-v-
|
|
107
|
+
.empty[data-v-a17dc1f1] {
|
|
108
108
|
width: 100%;
|
|
109
109
|
height: 100%;
|
|
110
110
|
display: flex;
|
|
@@ -115,38 +115,38 @@
|
|
|
115
115
|
.ace-editor[data-v-894885b6] {
|
|
116
116
|
min-height: 300px;
|
|
117
117
|
}
|
|
118
|
-
.designer-container[data-v-
|
|
118
|
+
.designer-container[data-v-717ab971] {
|
|
119
119
|
overflow: auto;
|
|
120
120
|
padding: 10px;
|
|
121
121
|
flex: 1;
|
|
122
122
|
display: flex;
|
|
123
123
|
flex-direction: column;
|
|
124
124
|
}
|
|
125
|
-
.designer-container .device[data-v-
|
|
125
|
+
.designer-container .device[data-v-717ab971] {
|
|
126
126
|
flex: 1;
|
|
127
127
|
margin: 0 auto;
|
|
128
128
|
}
|
|
129
|
-
.designer-container .device.Pc[data-v-
|
|
129
|
+
.designer-container .device.Pc[data-v-717ab971] {
|
|
130
130
|
width: 100%;
|
|
131
131
|
height: 100%;
|
|
132
132
|
}
|
|
133
|
-
.designer-container .device.Pad[data-v-
|
|
133
|
+
.designer-container .device.Pad[data-v-717ab971] {
|
|
134
134
|
width: 768px;
|
|
135
135
|
border-radius: 15px;
|
|
136
136
|
box-shadow: 0 0 1px 10px #495060;
|
|
137
137
|
margin: 2vh auto;
|
|
138
138
|
}
|
|
139
|
-
.designer-container .device.H5[data-v-
|
|
139
|
+
.designer-container .device.H5[data-v-717ab971] {
|
|
140
140
|
width: 375px;
|
|
141
141
|
border-radius: 15px;
|
|
142
142
|
box-shadow: 0 0 1px 10px #495060;
|
|
143
143
|
margin: 2vh auto;
|
|
144
144
|
}
|
|
145
|
-
.preview[data-v-
|
|
145
|
+
.preview[data-v-717ab971] {
|
|
146
146
|
max-height: 90vh;
|
|
147
147
|
min-height: 10vh;
|
|
148
148
|
}
|
|
149
|
-
.content[data-v-
|
|
149
|
+
.content[data-v-cea2726d] {
|
|
150
150
|
height: 100vh;
|
|
151
151
|
min-width: 795px;
|
|
152
152
|
display: flex;
|
package/package.json
CHANGED
|
@@ -9,30 +9,26 @@
|
|
|
9
9
|
"lowcode",
|
|
10
10
|
"lowcode-editor"
|
|
11
11
|
],
|
|
12
|
-
"version": "0.0.
|
|
12
|
+
"version": "0.0.2",
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "dist/lowcode-editor.umd.js",
|
|
15
|
-
"module": "dist/lowcode-editor.es.js",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
15
|
+
"module": "dist/lowcode-editor.es.js",
|
|
16
|
+
"typings": "./dist/packages/install.d.ts",
|
|
17
|
+
"files": [
|
|
18
|
+
"dist/*"
|
|
19
|
+
],
|
|
18
20
|
"exports": {
|
|
21
|
+
"./dist/style.css": "./dist/style.css",
|
|
22
|
+
"./css": "./dist/style.css",
|
|
19
23
|
".": {
|
|
20
|
-
"types": "./dist/index.d.ts",
|
|
21
24
|
"import": "./dist/lowcode-editor.es.js",
|
|
22
25
|
"require": "./dist/lowcode-editor.umd.js"
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
"./",
|
|
26
|
-
"./*.d.ts"
|
|
27
|
-
]
|
|
28
|
-
},
|
|
29
|
-
"files": [
|
|
30
|
-
"dist/*"
|
|
31
|
-
],
|
|
26
|
+
}
|
|
27
|
+
},
|
|
32
28
|
"scripts": {
|
|
33
29
|
"dev": "vite",
|
|
34
30
|
"build": "vue-tsc -b && vite build",
|
|
35
|
-
"lib": "vite build --config vite-lib.config.ts",
|
|
31
|
+
"lib": "vue-tsc -b && vite build --config vite-lib.config.ts",
|
|
36
32
|
"release": "tsc && npm publish --registry https://registry.npmjs.org"
|
|
37
33
|
},
|
|
38
34
|
"dependencies": {
|
|
File without changes
|