@vunk/form 1.0.1 → 1.1.1
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/components/geoinput/index.d.ts +4 -0
- package/components/geoinput/index.js +94 -0
- package/components/geoinput/src/ctx.d.ts +218 -0
- package/components/geoinput/src/ctx.js +39 -0
- package/components/geoinput/src/index.vue.d.ts +608 -0
- package/components/geoinput/src/types.d.ts +12 -0
- package/components/geoinput/src/types.js +1 -0
- package/components/geoinput-read/index.css +9 -0
- package/components/geoinput-read/index.d.ts +5 -0
- package/components/geoinput-read/index.js +355 -0
- package/components/geoinput-read/src/append.vue.d.ts +6 -0
- package/components/geoinput-read/src/core.vue.d.ts +457 -0
- package/components/geoinput-read/src/ctx.d.ts +205 -0
- package/components/geoinput-read/src/ctx.js +62 -0
- package/components/geoinput-read/src/index.vue.d.ts +486 -0
- package/components/geoinput-read/src/types.d.ts +3 -0
- package/components/geoinput-read/src/types.js +1 -0
- package/components/geoinput-update/index.css +44 -0
- package/components/geoinput-update/index.d.ts +5 -0
- package/components/geoinput-update/index.js +982 -0
- package/components/geoinput-update/src/append.vue.d.ts +20 -0
- package/components/geoinput-update/src/ctx.d.ts +211 -0
- package/components/geoinput-update/src/ctx.js +85 -0
- package/components/geoinput-update/src/index.vue.d.ts +483 -0
- package/components/geoinput-update/src/types.d.ts +6 -0
- package/components/geoinput-update/src/types.js +1 -0
- package/components/input-link/index.js +1 -1
- package/components/templates-mapbox/index.d.ts +4 -0
- package/components/templates-mapbox/index.js +64 -0
- package/components/templates-mapbox/src/ctx.d.ts +11 -0
- package/components/templates-mapbox/src/ctx.js +11 -0
- package/components/templates-mapbox/src/index.vue.d.ts +20 -0
- package/components/templates-mapbox/src/types.d.ts +3 -0
- package/components/templates-mapbox/src/types.js +1 -0
- package/index.css +55 -0
- package/package.json +1 -1
- package/shared/types/form/radio.d.ts +1 -1
- package/shared/types/source/index.d.ts +2 -1
package/index.css
CHANGED
|
@@ -43,6 +43,61 @@
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
|
|
46
|
+
.vk-geoinput-read-x{
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: column-reverse;
|
|
49
|
+
margin-bottom: 18px;
|
|
50
|
+
}
|
|
51
|
+
.vk-geoinput-read-map{
|
|
52
|
+
height: 300px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
.geoinput-map-x{
|
|
57
|
+
margin-bottom: 18px;
|
|
58
|
+
height: 300px;
|
|
59
|
+
}
|
|
60
|
+
.geoinput-map-dialog{
|
|
61
|
+
flex: 1;
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
display: flex;
|
|
64
|
+
flex-direction: column;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.vk-geoinput-edit-map{
|
|
68
|
+
height: 100%;
|
|
69
|
+
}
|
|
70
|
+
/* #vkGeoInputMap .vk-geoinput-edit-map{
|
|
71
|
+
height: 100%;
|
|
72
|
+
} */
|
|
73
|
+
.vk-geoinput-edit-dialog-x .el-dialog.is-fullscreen{
|
|
74
|
+
height: 100%;
|
|
75
|
+
}
|
|
76
|
+
.vk-geoinput-edit-dialog-x .el-dialog{
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: column;
|
|
79
|
+
min-height: 50%;
|
|
80
|
+
}
|
|
81
|
+
.vk-geoinput-edit-dialog-x .el-dialog__body{
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
flex: 1;
|
|
85
|
+
overflow: hidden;
|
|
86
|
+
padding: 0;
|
|
87
|
+
}
|
|
88
|
+
.vk-geoinput-edit-map{
|
|
89
|
+
flex: 1;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.vk-geoinput-upload-x.vk-geoinput-upload-x{
|
|
93
|
+
padding: 0;
|
|
94
|
+
}
|
|
95
|
+
.vk-geoinput-upload .el-upload{
|
|
96
|
+
padding: 8px 15px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
46
101
|
.vkf-input-link-icon{
|
|
47
102
|
color: var(--el-color-primary);
|
|
48
103
|
cursor: pointer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __VkfTemplatesDefault } from '@vunk/form/components/templates-default';
|
|
2
2
|
import { __VkfTemplatesLayout } from '@vunk/form/components/templates-layout';
|
|
3
3
|
import { __VkfTemplatesElementPlus } from '@vunk/form/components/templates-element-plus';
|
|
4
|
+
import { __VkfTemplatesMapbox } from '@vunk/form/components/templates-mapbox';
|
|
4
5
|
import { NormalObject } from '@vunk/core';
|
|
5
6
|
export interface BasicSource {
|
|
6
7
|
templateIf?: ((data?: NormalObject) => boolean) | string | boolean;
|
|
@@ -9,4 +10,4 @@ export interface BasicSource {
|
|
|
9
10
|
prop?: any;
|
|
10
11
|
}
|
|
11
12
|
export declare type FormItemRendererSource<P extends string = string> = __VkfTemplatesDefault.Source<P>;
|
|
12
|
-
export declare type AllTemplatsSource<P extends string = string> = __VkfTemplatesDefault.Source<P> | __VkfTemplatesLayout.ElRowSource<AllTemplatsSource<P>> | __VkfTemplatesLayout.ElColSource<AllTemplatsSource<P>> | __VkfTemplatesLayout.VkfFlexSource<AllTemplatsSource<P>> | __VkfTemplatesElementPlus.Source;
|
|
13
|
+
export declare type AllTemplatsSource<P extends string = string> = __VkfTemplatesDefault.Source<P> | __VkfTemplatesMapbox.Source<P> | __VkfTemplatesLayout.ElRowSource<AllTemplatsSource<P>> | __VkfTemplatesLayout.ElColSource<AllTemplatsSource<P>> | __VkfTemplatesLayout.VkfFlexSource<AllTemplatsSource<P>> | __VkfTemplatesElementPlus.Source;
|