@vunk/form 1.1.76 → 1.1.79
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/_plugin-vue_export-helper.mjs +9 -0
- package/components/button/{index.js → index.mjs} +33 -29
- package/components/button/src/ctx.d.ts +30 -30
- package/components/button/src/index.vue.d.ts +69 -69
- package/components/cascader/index.css +0 -2
- package/components/cascader/{index.js → index.mjs} +22 -22
- package/components/cascader/src/ctx.d.ts +37 -45
- package/components/cascader/src/index.vue.d.ts +92 -92
- package/components/cascader/src/use.d.ts +1 -1
- package/components/checkbox/index.css +0 -9
- package/components/checkbox/{index.js → index.mjs} +45 -42
- package/components/checkbox/src/ctx.d.ts +29 -32
- package/components/checkbox/src/index.vue.d.ts +65 -65
- package/components/color-picker/{index.js → index.mjs} +24 -23
- package/components/color-picker/src/ctx.d.ts +29 -29
- package/components/color-picker/src/index.vue.d.ts +77 -64
- package/components/date-picker/{index.js → index.mjs} +28 -25
- package/components/date-picker/src/ctx.d.ts +49 -49
- package/components/date-picker/src/index.vue.d.ts +104 -104
- package/components/download-plus/index.css +0 -6
- package/components/download-plus/{index.js → index.mjs} +119 -147
- package/components/download-plus/src/api.d.ts +1 -1
- package/components/download-plus/src/ctx.d.ts +27 -26
- package/components/download-plus/src/index.vue.d.ts +59 -59
- package/components/esri-input-geojson/index.css +0 -10
- package/components/esri-input-geojson/index.mjs +1109 -0
- package/components/esri-input-geojson/src/append.vue.d.ts +1 -1
- package/components/esri-input-geojson/src/ctx.d.ts +49 -72
- package/components/esri-input-geojson/src/index.vue.d.ts +138 -158
- package/components/esri-input-geojson/src/types.d.ts +0 -1
- package/components/esri-input-geojson/src/viewer.vue.d.ts +18 -19
- package/components/form/{index.js → index.mjs} +31 -27
- package/components/form/src/ctx.d.ts +13 -297
- package/components/form/src/index.vue.d.ts +97 -659
- package/components/form-item/index.css +0 -8
- package/components/form-item/{index.js → index.mjs} +22 -19
- package/components/form-item/src/ctx.d.ts +13 -11
- package/components/form-item/src/index.vue.d.ts +20 -20
- package/components/form-item-renderer/{index.js → index.mjs} +9 -7
- package/components/form-item-renderer/src/index.vue.d.ts +1 -1
- package/components/form-item-renderer-template/{index.js → index.mjs} +7 -7
- package/components/geoinput/{index.js → index.mjs} +10 -17
- package/components/geoinput/src/ctx.d.ts +48 -60
- package/components/geoinput/src/index.vue.d.ts +114 -132
- package/components/geoinput-read/index.css +0 -2
- package/components/geoinput-read/{index.js → index.mjs} +101 -109
- package/components/geoinput-read/src/core.vue.d.ts +123 -142
- package/components/geoinput-read/src/ctx.d.ts +50 -74
- package/components/geoinput-read/src/index.vue.d.ts +102 -120
- package/components/geoinput-update/index.css +0 -6
- package/components/geoinput-update/index.mjs +399 -0
- package/components/geoinput-update/src/ctx.d.ts +49 -69
- package/components/geoinput-update/src/index.vue.d.ts +126 -141
- package/components/index.mjs +11 -0
- package/components/index2.mjs +306 -0
- package/components/index3.mjs +484 -0
- package/components/input/{index.js → index.mjs} +31 -27
- package/components/input/src/ctx.d.ts +47 -66
- package/components/input/src/index.vue.d.ts +101 -113
- package/components/input-link/index.css +0 -2
- package/components/input-link/index.mjs +151 -0
- package/components/input-link/src/ctx.d.ts +40 -56
- package/components/input-link/src/index.vue.d.ts +89 -101
- package/components/input-number/index.css +0 -2
- package/components/input-number/{index.js → index.mjs} +25 -25
- package/components/input-number/src/ctx.d.ts +31 -37
- package/components/input-number/src/index.vue.d.ts +71 -71
- package/components/radio/index.css +0 -6
- package/components/radio/{index.js → index.mjs} +50 -47
- package/components/radio/src/ctx.d.ts +29 -29
- package/components/radio/src/index.vue.d.ts +64 -64
- package/components/select/index.css +0 -2
- package/components/select/{index.js → index.mjs} +49 -48
- package/components/select/src/ctx.d.ts +31 -85
- package/components/select/src/index.vue.d.ts +121 -230
- package/components/slider/{index.js → index.mjs} +28 -24
- package/components/slider/src/ctx.d.ts +35 -35
- package/components/slider/src/index.vue.d.ts +93 -93
- package/components/switch/index.css +0 -2
- package/components/switch/{index.js → index.mjs} +29 -24
- package/components/switch/src/ctx.d.ts +40 -40
- package/components/switch/src/index.vue.d.ts +91 -91
- package/components/templates-default/index.mjs +302 -0
- package/components/templates-default/src/ctx.d.ts +2 -4
- package/components/templates-default/src/index.vue.d.ts +2 -8
- package/components/templates-element-plus/index.mjs +106 -0
- package/components/templates-esri/index.mjs +59 -0
- package/components/templates-layout/index.css +0 -3
- package/components/templates-layout/index.mjs +131 -0
- package/components/templates-mapbox/index.mjs +59 -0
- package/components/upload/index.css +0 -7
- package/components/upload/index.mjs +501 -0
- package/components/upload/src/ctx.d.ts +36 -38
- package/components/upload/src/file.vue.d.ts +22 -21
- package/components/upload/src/index.vue.d.ts +78 -78
- package/components/upload-plus/index.css +4 -8
- package/components/upload-plus/{index.js → index.mjs} +9497 -926
- package/components/upload-plus/src/api.d.ts +1 -1
- package/components/upload-plus/src/ctx.d.ts +25 -28
- package/components/upload-plus/src/index.vue.d.ts +58 -58
- package/components/van-cascader/index.css +0 -2
- package/components/van-cascader/{index.js → index.mjs} +41 -44
- package/components/van-cascader/src/ctx.d.ts +35 -35
- package/components/van-cascader/src/index.vue.d.ts +82 -82
- package/components/var-datetime-picker/index.css +0 -2
- package/components/var-datetime-picker/index.mjs +324 -0
- package/components/var-datetime-picker/src/ctx.d.ts +27 -26
- package/components/var-datetime-picker/src/index.vue.d.ts +57 -57
- package/components/vditor/{index.js → index.mjs} +9 -14
- package/components/vditor/src/ctx.d.ts +2 -1
- package/components/vditor/src/index.vue.d.ts +2 -3
- package/composables/index.mjs +85 -0
- package/composables/useSourceManager.d.ts +2 -2
- package/defaults.d.ts +1 -1
- package/index.css +4 -169
- package/index.d.ts +1 -1
- package/index.esm.js +44 -1
- package/package.json +246 -2
- package/shared/const/index.d.ts +1 -1
- package/shared/const/index.mjs +56 -0
- package/shared/element-plus/ctx.d.ts +26 -94
- package/shared/element-plus/index.mjs +285 -0
- package/shared/element-plus/instances.d.ts +29 -28
- package/shared/form/index.mjs +30 -0
- package/shared/helper/index.mjs +9 -0
- package/shared/index.mjs +1 -0
- package/shared/infer-prop/index.mjs +34 -0
- package/shared/progress-it/index.mjs +38 -0
- package/shared/rules/index.mjs +53 -0
- package/shared/upload/index.mjs +771 -0
- package/components/button/src/ctx.js +0 -1
- package/components/cascader/src/ctx.js +0 -1
- package/components/cascader/src/types.js +0 -1
- package/components/cascader/src/use.js +0 -1
- package/components/checkbox/src/ctx.js +0 -1
- package/components/checkbox/src/index.css +0 -1
- package/components/checkbox/src/types.js +0 -1
- package/components/color-picker/index.css +0 -1
- package/components/color-picker/src/ctx.js +0 -1
- package/components/color-picker/src/index.css +0 -1
- package/components/color-picker/src/types.js +0 -1
- package/components/date-picker/index.css +0 -1
- package/components/date-picker/src/ctx.js +0 -1
- package/components/date-picker/src/index.css +0 -1
- package/components/date-picker/src/types.js +0 -1
- package/components/download-plus/src/api.js +0 -1
- package/components/download-plus/src/const.js +0 -1
- package/components/download-plus/src/ctx.js +0 -1
- package/components/download-plus/src/index.css +0 -1
- package/components/download-plus/src/types.js +0 -1
- package/components/esri-input-geojson/index.js +0 -1563
- package/components/esri-input-geojson/src/const.js +0 -1
- package/components/esri-input-geojson/src/ctx.js +0 -1
- package/components/esri-input-geojson/src/index.css +0 -1
- package/components/esri-input-geojson/src/types.js +0 -1
- package/components/form/index.css +0 -1
- package/components/form/src/ctx.js +0 -1
- package/components/form/src/index.css +0 -1
- package/components/form/src/types.js +0 -1
- package/components/form/src/utils.js +0 -1
- package/components/form-item/src/ctx.js +0 -1
- package/components/form-item/src/index.css +0 -1
- package/components/form-item/src/types.js +0 -1
- package/components/form-item-renderer/index.css +0 -1
- package/components/form-item-renderer/src/ctx.js +0 -1
- package/components/form-item-renderer/src/index.css +0 -1
- package/components/form-item-renderer/src/symbols.js +0 -1
- package/components/form-item-renderer/src/types.js +0 -1
- package/components/form-item-renderer-template/index.css +0 -1
- package/components/form-item-renderer-template/src/ctx.js +0 -1
- package/components/form-item-renderer-template/src/index.css +0 -1
- package/components/form-item-renderer-template/src/types.js +0 -1
- package/components/geoinput/index.css +0 -1
- package/components/geoinput/src/ctx.js +0 -1
- package/components/geoinput/src/index.css +0 -1
- package/components/geoinput/src/types.js +0 -1
- package/components/geoinput-read/src/ctx.js +0 -1
- package/components/geoinput-read/src/index.css +0 -1
- package/components/geoinput-read/src/types.js +0 -1
- package/components/geoinput-update/index.js +0 -930
- package/components/geoinput-update/src/ctx.js +0 -1
- package/components/geoinput-update/src/index.css +0 -1
- package/components/geoinput-update/src/types.js +0 -1
- package/components/input/index.css +0 -1
- package/components/input/src/ctx.js +0 -1
- package/components/input/src/index.css +0 -1
- package/components/input/src/types.js +0 -1
- package/components/input-link/index.js +0 -163
- package/components/input-link/src/ctx.js +0 -1
- package/components/input-link/src/index.css +0 -1
- package/components/input-link/src/types.js +0 -1
- package/components/input-number/src/ctx.js +0 -1
- package/components/input-number/src/index.css +0 -1
- package/components/input-number/src/types.js +0 -1
- package/components/radio/src/ctx.js +0 -1
- package/components/radio/src/index.css +0 -1
- package/components/radio/src/types.js +0 -1
- package/components/select/src/ctx.js +0 -1
- package/components/select/src/index.css +0 -1
- package/components/select/src/types.js +0 -1
- package/components/slider/index.css +0 -1
- package/components/slider/src/ctx.js +0 -1
- package/components/slider/src/index.css +0 -1
- package/components/slider/src/types.js +0 -1
- package/components/switch/src/ctx.js +0 -1
- package/components/switch/src/index.css +0 -1
- package/components/switch/src/types.js +0 -1
- package/components/templates-default/index.css +0 -1
- package/components/templates-default/index.js +0 -347
- package/components/templates-default/src/ctx.js +0 -1
- package/components/templates-default/src/index.css +0 -1
- package/components/templates-default/src/types.js +0 -1
- package/components/templates-element-plus/index.css +0 -1
- package/components/templates-element-plus/index.js +0 -110
- package/components/templates-element-plus/src/ctx.js +0 -1
- package/components/templates-element-plus/src/index.css +0 -1
- package/components/templates-element-plus/src/types.js +0 -1
- package/components/templates-esri/index.css +0 -1
- package/components/templates-esri/index.js +0 -65
- package/components/templates-esri/src/ctx.js +0 -1
- package/components/templates-esri/src/index.css +0 -1
- package/components/templates-esri/src/types.js +0 -1
- package/components/templates-layout/index.js +0 -141
- package/components/templates-layout/src/ctx.js +0 -1
- package/components/templates-layout/src/index.css +0 -1
- package/components/templates-layout/src/types.js +0 -1
- package/components/templates-mapbox/index.css +0 -1
- package/components/templates-mapbox/index.js +0 -65
- package/components/templates-mapbox/src/ctx.js +0 -1
- package/components/templates-mapbox/src/index.css +0 -1
- package/components/templates-mapbox/src/types.js +0 -1
- package/components/upload/index.js +0 -565
- package/components/upload/src/ctx.js +0 -1
- package/components/upload/src/index.css +0 -1
- package/components/upload/src/types.js +0 -1
- package/components/upload-plus/src/api.js +0 -28
- package/components/upload-plus/src/const.js +0 -1
- package/components/upload-plus/src/ctx.js +0 -1
- package/components/upload-plus/src/index.css +0 -1
- package/components/upload-plus/src/types.js +0 -1
- package/components/van-cascader/src/ctx.js +0 -1
- package/components/van-cascader/src/index.css +0 -1
- package/components/van-cascader/src/types.js +0 -1
- package/components/var-datetime-picker/index.js +0 -299
- package/components/var-datetime-picker/src/const.js +0 -1
- package/components/var-datetime-picker/src/ctx.js +0 -1
- package/components/var-datetime-picker/src/index.css +0 -1
- package/components/var-datetime-picker/src/types.js +0 -1
- package/components/vditor/index.css +0 -1
- package/components/vditor/src/ctx.js +0 -1
- package/components/vditor/src/index.css +0 -1
- package/components/vditor/src/types.js +0 -1
- package/composables/index.css +0 -1
- package/composables/index.js +0 -1
- package/shared/const/index.css +0 -1
- package/shared/const/index.js +0 -1
- package/shared/element-plus/index.css +0 -1
- package/shared/element-plus/index.js +0 -1
- package/shared/form/index.css +0 -1
- package/shared/form/index.js +0 -1
- package/shared/helper/index.css +0 -1
- package/shared/helper/index.js +0 -1
- package/shared/index.css +0 -1
- package/shared/index.js +0 -1
- package/shared/infer-prop/index.css +0 -1
- package/shared/infer-prop/index.js +0 -1
- package/shared/progress-it/index.css +0 -1
- package/shared/progress-it/index.js +0 -1
- package/shared/rules/index.css +0 -1
- package/shared/rules/index.js +0 -1
- package/shared/types/form/index.css +0 -1
- package/shared/types/form/index.js +0 -1
- package/shared/types/index.css +0 -1
- package/shared/types/index.js +0 -1
- package/shared/types/source/index.css +0 -1
- package/shared/types/source/index.js +0 -1
- package/shared/types/source-manager/index.css +0 -1
- package/shared/types/source-manager/index.js +0 -1
- package/shared/upload/index.css +0 -1
- package/shared/upload/index.js +0 -1
- /package/{components/button/index.css → shared/types/form/index.mjs} +0 -0
- /package/{components/button/src/index.css → shared/types/index.mjs} +0 -0
- /package/{components/cascader/src/index.css → shared/types/source/index.mjs} +0 -0
- /package/{components/button/src/types.js → shared/types/source-manager/index.mjs} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_VkfInputCtx as e}from"@vunk/form/components/input";import{EMPTY_FEATURE_COLLECTION as l}from"@vumap/core/shared/static";import{bindPropsFactory as p,onEmitsFactory as r}from"@vunk/core/shared/utils-vue";const o={...e.props,showMap:{type:Boolean,default:!1},dialogEdit:{type:Boolean,default:!0},dialogEditFullscreen:{type:Boolean,default:!0},dialogEditTitle:{type:String,default:"\u7ED8\u5236\u56FE\u6591"},modelValue:{type:Object,default:()=>l},editControls:{type:Array,default:()=>["trash"]},editTypes:{type:[Array,String],default:()=>"polygon"},multiple:{type:Boolean,default:!0},mapTo:{type:[Object,String],default:void 0},mapCenter:{type:[Object,Array],default:[120,30]},editStyles:{type:Array,default:()=>[]},slots:{type:Object,default:()=>({})},spikSave:{type:Boolean,default:!1}},d=p(o),a={...e.emits,"update:modelValue":t=>t,editUpdate:t=>t},i=r(a);export{d as createBindProps,i as createOnEmits,a as emits,o as props};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{inputProps as r,inputEmits as o}from"element-plus";import{_VkfFormItemCtx as p}from"@vunk/form/components/form-item";import{bindPropsFactory as i,onEmitsFactory as m}from"@vunk/core/shared/utils-vue";const t={...r,...p.props,maxlength:{type:Number,required:!1},minlength:{type:Number,required:!1},inputSlots:{type:Object,default:void 0},rows:{type:Number,default:void 0}},s=i(t),e={...o},n=m(e);export{s as createBindProps,n as createOnEmits,e as emits,t as props};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
import { _VkfInputCtx, VkfInput } from '@vunk/form/components/input';
|
|
2
|
-
import { defineComponent, openBlock, createElementBlock, createElementVNode, computed, h, resolveComponent, createVNode, createBlock, mergeProps, toHandlers, createCommentVNode } from 'vue';
|
|
3
|
-
import { ElButton, ElIcon } from 'element-plus';
|
|
4
|
-
import { isPlainObject } from '@vunk/core/shared/utils-object';
|
|
5
|
-
import { useComputedReadonly } from '@vunk/form/composables';
|
|
6
|
-
|
|
7
|
-
const props = {
|
|
8
|
-
..._VkfInputCtx.props,
|
|
9
|
-
type: {
|
|
10
|
-
type: String,
|
|
11
|
-
default: "textarea"
|
|
12
|
-
},
|
|
13
|
-
rows: {
|
|
14
|
-
type: Number,
|
|
15
|
-
default: 4
|
|
16
|
-
},
|
|
17
|
-
label: {
|
|
18
|
-
type: String,
|
|
19
|
-
default: "\u56DE\u586B\u5730\u5740"
|
|
20
|
-
},
|
|
21
|
-
placeholder: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: "\u4E0A\u4F20\u6587\u4EF6\u540E, \u5C06\u6587\u4EF6\u4E0B\u8F7D\u5730\u5740\u7C98\u8D34\u5230\u6B64\u5904"
|
|
24
|
-
},
|
|
25
|
-
readonly: {
|
|
26
|
-
type: Boolean,
|
|
27
|
-
default: void 0
|
|
28
|
-
},
|
|
29
|
-
/**
|
|
30
|
-
* @deprecated 请使用 referenceUrl
|
|
31
|
-
*/
|
|
32
|
-
uploadUrl: {
|
|
33
|
-
type: String,
|
|
34
|
-
default: "https://pan.baidu.com/disk/main#/index?category=all"
|
|
35
|
-
},
|
|
36
|
-
/**
|
|
37
|
-
* 参考地址
|
|
38
|
-
*/
|
|
39
|
-
referenceUrl: {
|
|
40
|
-
type: String,
|
|
41
|
-
default: "https://pan.baidu.com/disk/main#/index?category=all"
|
|
42
|
-
},
|
|
43
|
-
/**
|
|
44
|
-
* 仅展示参考地址
|
|
45
|
-
*/
|
|
46
|
-
referenceOnly: {
|
|
47
|
-
type: Boolean,
|
|
48
|
-
default: false
|
|
49
|
-
},
|
|
50
|
-
/**
|
|
51
|
-
* @description 参考地址的 label
|
|
52
|
-
*/
|
|
53
|
-
referenceLabel: {
|
|
54
|
-
type: String,
|
|
55
|
-
default: "\u53C2\u8003\u5730\u5740"
|
|
56
|
-
},
|
|
57
|
-
modelValue: {
|
|
58
|
-
type: String,
|
|
59
|
-
default: ""
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
const emits = {
|
|
63
|
-
..._VkfInputCtx.emits
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
/*! Element Plus Icons Vue v2.3.1 */
|
|
67
|
-
|
|
68
|
-
var right_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
|
|
69
|
-
name: "Right",
|
|
70
|
-
__name: "right",
|
|
71
|
-
setup(__props) {
|
|
72
|
-
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
73
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
74
|
-
viewBox: "0 0 1024 1024"
|
|
75
|
-
}, [createElementVNode("path", {
|
|
76
|
-
fill: "currentColor",
|
|
77
|
-
d: "M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z"
|
|
78
|
-
})]));
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
|
|
82
|
-
// src/components/right.vue
|
|
83
|
-
var right_default = right_vue_vue_type_script_setup_true_lang_default;
|
|
84
|
-
|
|
85
|
-
var script = defineComponent({
|
|
86
|
-
name: "VkfInputLink",
|
|
87
|
-
components: {
|
|
88
|
-
VkfInput
|
|
89
|
-
},
|
|
90
|
-
emits,
|
|
91
|
-
props,
|
|
92
|
-
setup(props2, {
|
|
93
|
-
emit
|
|
94
|
-
}) {
|
|
95
|
-
const coreProps = _VkfInputCtx.createBindProps(props2);
|
|
96
|
-
const coreEmits = _VkfInputCtx.createOnEmits(emit);
|
|
97
|
-
const readonly = useComputedReadonly(props2);
|
|
98
|
-
const createAppendEl = (url) => () => h(ElButton, {
|
|
99
|
-
onClick: () => window.open(url),
|
|
100
|
-
disabled: !url
|
|
101
|
-
}, () => h(ElIcon, {
|
|
102
|
-
class: "vkf-input-link-icon",
|
|
103
|
-
size: 16
|
|
104
|
-
}, () => h(right_default)));
|
|
105
|
-
const rules = computed(() => {
|
|
106
|
-
const data = [{
|
|
107
|
-
pattern: /^(http|https):\/\/([\w.]+\/?)\S*$/,
|
|
108
|
-
message: "\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u94FE\u63A5\u5730\u5740"
|
|
109
|
-
}];
|
|
110
|
-
if (Array.isArray(props2.rules)) {
|
|
111
|
-
data.push(...props2.rules);
|
|
112
|
-
}
|
|
113
|
-
if (isPlainObject(props2.rules)) {
|
|
114
|
-
data.push(props2.rules);
|
|
115
|
-
}
|
|
116
|
-
return data;
|
|
117
|
-
});
|
|
118
|
-
return {
|
|
119
|
-
coreProps,
|
|
120
|
-
coreEmits,
|
|
121
|
-
createAppendEl,
|
|
122
|
-
rules,
|
|
123
|
-
readonly
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
|
-
|
|
128
|
-
const _hoisted_1 = {
|
|
129
|
-
class: "vkf-form-item vkf-input-link"
|
|
130
|
-
};
|
|
131
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
132
|
-
const _component_VkfInput = resolveComponent("VkfInput");
|
|
133
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(_component_VkfInput, {
|
|
134
|
-
label: _ctx.referenceLabel,
|
|
135
|
-
disabled: true,
|
|
136
|
-
modelValue: _ctx.referenceUrl ?? _ctx.uploadUrl,
|
|
137
|
-
inputSlots: {
|
|
138
|
-
append: _ctx.createAppendEl(_ctx.referenceUrl ?? _ctx.uploadUrl)
|
|
139
|
-
}
|
|
140
|
-
}, null, 8, ["label", "modelValue", "inputSlots"]), !_ctx.referenceOnly ? (openBlock(), createBlock(_component_VkfInput, mergeProps({
|
|
141
|
-
key: 0
|
|
142
|
-
}, _ctx.coreProps, toHandlers(_ctx.coreEmits), {
|
|
143
|
-
rules: _ctx.rules,
|
|
144
|
-
readonly: _ctx.readonly,
|
|
145
|
-
type: _ctx.readonly ? "text" : _ctx.type,
|
|
146
|
-
inputSlots: {
|
|
147
|
-
append: _ctx.readonly ? _ctx.createAppendEl(_ctx.modelValue) : void 0
|
|
148
|
-
}
|
|
149
|
-
}), null, 16, ["rules", "readonly", "type", "inputSlots"])) : createCommentVNode("v-if", true)]);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
script.render = render;
|
|
153
|
-
script.__file = "input-link/src/index.vue";
|
|
154
|
-
|
|
155
|
-
var types = /*#__PURE__*/Object.freeze({
|
|
156
|
-
__proto__: null
|
|
157
|
-
});
|
|
158
|
-
|
|
159
|
-
script.install = (app) => {
|
|
160
|
-
app.component(script.name, script);
|
|
161
|
-
};
|
|
162
|
-
|
|
163
|
-
export { script as VkfInputLink, types as __VkfInputLink, script as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_VkfInputCtx as e}from"@vunk/form/components/input";const t={...e.props,type:{type:String,default:"textarea"},rows:{type:Number,default:4},label:{type:String,default:"\u56DE\u586B\u5730\u5740"},placeholder:{type:String,default:"\u4E0A\u4F20\u6587\u4EF6\u540E, \u5C06\u6587\u4EF6\u4E0B\u8F7D\u5730\u5740\u7C98\u8D34\u5230\u6B64\u5904"},readonly:{type:Boolean,default:void 0},uploadUrl:{type:String,default:"https://pan.baidu.com/disk/main#/index?category=all"},referenceUrl:{type:String,default:"https://pan.baidu.com/disk/main#/index?category=all"},referenceOnly:{type:Boolean,default:!1},referenceLabel:{type:String,default:"\u53C2\u8003\u5730\u5740"},modelValue:{type:String,default:""}},u={...e.emits};export{u as emits,t as props};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_VkfFormItemCtx as r}from"@vunk/form/components/form-item";import{bindPropsFactory as e,onEmitsFactory as p}from"@vunk/core/shared/utils-vue";import{inputNumberProps as i,inputNumberEmits as m}from"element-plus";const t={...r.props,...i,readonly:{type:Boolean,default:void 0},unit:{type:String,default:""}},n=e(t),o={...m},s=p(o);export{n as createBindProps,s as createOnEmits,o as emits,t as props};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_VkfFormItemCtx as t}from"@vunk/form/components/form-item";import{radioGroupProps as o,radioGroupEmits as r}from"element-plus";const e={...t.props,...o,options:{type:Array,default:()=>[]},type:{type:String,default:"default"},modelValue:{type:[String,Number]},defaultModelValue:null},p={...r};export{p as emits,e as props};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_VkfFormItemCtx as t}from"@vunk/form/components/form-item";import{selectProps as e,selectEmits as o}from"@vunk/form/shared/element-plus";const l={...t.props,...e,options:{type:Array,default:()=>[]},selectSlots:{type:Object,default:void 0},optionsUrl:{type:String,default:""},defaultModelValue:null},p={...o};export{p as emits,l as props};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_VkfFormItemCtx as o}from"@vunk/form/components/form-item";import{sliderProps as l,sliderEmits as r}from"element-plus";const e={...o.props,...l,modelValue:null,defaultModelValue:null},t={...r};export{t as emits,e as props};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{switchProps as o,switchEmits as t}from"element-plus";import{_VkfFormItemCtx as e}from"@vunk/form/components/form-item";const s={...e.props,...o,modelValue:null,defaultModelValue:{default:!1}},l={...t};export{l as emits,s as props};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,347 +0,0 @@
|
|
|
1
|
-
import { NOOP } from '@vunk/core/shared/utils-function';
|
|
2
|
-
import { defineComponent, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createBlock, normalizeProps, mergeProps, createCommentVNode, resolveDynamicComponent } from 'vue';
|
|
3
|
-
import { VkfFormItemRendererTemplate } from '@vunk/form/components/form-item-renderer-template';
|
|
4
|
-
import { VkfInput } from '@vunk/form/components/input';
|
|
5
|
-
import { VkfSwitch } from '@vunk/form/components/switch';
|
|
6
|
-
import { VkfSelect } from '@vunk/form/components/select';
|
|
7
|
-
import { VkfDatePicker } from '@vunk/form/components/date-picker';
|
|
8
|
-
import { getValue } from '@vunk/core/shared/helper';
|
|
9
|
-
import { pickObject } from '@vunk/core/shared/utils-object';
|
|
10
|
-
import { VkfInputNumber } from '@vunk/form/components/input-number';
|
|
11
|
-
import { VkfRadio } from '@vunk/form/components/radio';
|
|
12
|
-
import { VkfCheckbox } from '@vunk/form/components/checkbox';
|
|
13
|
-
import { VkfUpload } from '@vunk/form/components/upload';
|
|
14
|
-
import { VkfColorPicker } from '@vunk/form/components/color-picker';
|
|
15
|
-
import { VkfButton } from '@vunk/form/components/button';
|
|
16
|
-
import { VkfCascader } from '@vunk/form/components/cascader';
|
|
17
|
-
import { VkfInputLink } from '@vunk/form/components/input-link';
|
|
18
|
-
import { VkfSlider } from '@vunk/form/components/slider';
|
|
19
|
-
|
|
20
|
-
const createIntoUndefined = () => NOOP;
|
|
21
|
-
const props = {
|
|
22
|
-
data: {
|
|
23
|
-
type: Object,
|
|
24
|
-
default: () => ({})
|
|
25
|
-
},
|
|
26
|
-
createIntoUndefined: {
|
|
27
|
-
type: Function,
|
|
28
|
-
default: createIntoUndefined
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
const emits = {
|
|
32
|
-
setData: (e) => e
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
var script = defineComponent({
|
|
36
|
-
name: "VkfTemplatesDefault",
|
|
37
|
-
components: {
|
|
38
|
-
VkfFormItemRendererTemplate,
|
|
39
|
-
VkfInput,
|
|
40
|
-
VkfSwitch,
|
|
41
|
-
VkfSelect,
|
|
42
|
-
VkfDatePicker,
|
|
43
|
-
VkfInputNumber,
|
|
44
|
-
VkfRadio,
|
|
45
|
-
VkfCheckbox,
|
|
46
|
-
VkfUpload,
|
|
47
|
-
VkfColorPicker,
|
|
48
|
-
VkfButton,
|
|
49
|
-
VkfCascader,
|
|
50
|
-
VkfInputLink,
|
|
51
|
-
VkfSlider
|
|
52
|
-
},
|
|
53
|
-
emits,
|
|
54
|
-
props,
|
|
55
|
-
setup(props2) {
|
|
56
|
-
const getFormDataValue = (raw) => {
|
|
57
|
-
const prop = raw.prop;
|
|
58
|
-
const intoUndefined = props2.createIntoUndefined({
|
|
59
|
-
raw,
|
|
60
|
-
data: props2.data
|
|
61
|
-
});
|
|
62
|
-
return getValue(props2.data, prop, intoUndefined, true);
|
|
63
|
-
};
|
|
64
|
-
return {
|
|
65
|
-
pickObject,
|
|
66
|
-
getFormDataValue
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
72
|
-
const _component_VkfButton = resolveComponent("VkfButton");
|
|
73
|
-
const _component_VkfFormItemRendererTemplate = resolveComponent("VkfFormItemRendererTemplate");
|
|
74
|
-
const _component_VkfColorPicker = resolveComponent("VkfColorPicker");
|
|
75
|
-
const _component_VkfUpload = resolveComponent("VkfUpload");
|
|
76
|
-
const _component_VkfCheckbox = resolveComponent("VkfCheckbox");
|
|
77
|
-
const _component_VkfRadio = resolveComponent("VkfRadio");
|
|
78
|
-
const _component_VkfInput = resolveComponent("VkfInput");
|
|
79
|
-
const _component_VkfSwitch = resolveComponent("VkfSwitch");
|
|
80
|
-
const _component_VkfSelect = resolveComponent("VkfSelect");
|
|
81
|
-
const _component_VkfDatePicker = resolveComponent("VkfDatePicker");
|
|
82
|
-
const _component_VkfInputNumber = resolveComponent("VkfInputNumber");
|
|
83
|
-
const _component_VkfCascader = resolveComponent("VkfCascader");
|
|
84
|
-
const _component_VkfInputLink = resolveComponent("VkfInputLink");
|
|
85
|
-
const _component_VkfSlider = resolveComponent("VkfSlider");
|
|
86
|
-
return openBlock(), createElementBlock(
|
|
87
|
-
Fragment,
|
|
88
|
-
null,
|
|
89
|
-
[createVNode(_component_VkfFormItemRendererTemplate, {
|
|
90
|
-
type: "VkfButton"
|
|
91
|
-
}, {
|
|
92
|
-
default: withCtx(({
|
|
93
|
-
data: sourceData,
|
|
94
|
-
templateIf
|
|
95
|
-
}) => [templateIf(_ctx.data) ? (openBlock(), createBlock(
|
|
96
|
-
_component_VkfButton,
|
|
97
|
-
normalizeProps(mergeProps({
|
|
98
|
-
key: 0
|
|
99
|
-
}, sourceData)),
|
|
100
|
-
null,
|
|
101
|
-
16
|
|
102
|
-
/* FULL_PROPS */
|
|
103
|
-
)) : createCommentVNode("v-if", true)]),
|
|
104
|
-
_: 1
|
|
105
|
-
/* STABLE */
|
|
106
|
-
}), createVNode(_component_VkfFormItemRendererTemplate, {
|
|
107
|
-
type: "VkfColorPicker"
|
|
108
|
-
}, {
|
|
109
|
-
default: withCtx(({
|
|
110
|
-
data: sourceData,
|
|
111
|
-
templateIf,
|
|
112
|
-
raw
|
|
113
|
-
}) => [templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfColorPicker, mergeProps({
|
|
114
|
-
key: 0,
|
|
115
|
-
modelValue: _ctx.getFormDataValue(raw),
|
|
116
|
-
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
117
|
-
k: sourceData.prop,
|
|
118
|
-
v: $event
|
|
119
|
-
})
|
|
120
|
-
}, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)]),
|
|
121
|
-
_: 1
|
|
122
|
-
/* STABLE */
|
|
123
|
-
}), createVNode(_component_VkfFormItemRendererTemplate, {
|
|
124
|
-
type: "VkfUpload"
|
|
125
|
-
}, {
|
|
126
|
-
default: withCtx(({
|
|
127
|
-
data: sourceData,
|
|
128
|
-
templateIf,
|
|
129
|
-
raw
|
|
130
|
-
}) => [templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfUpload, mergeProps({
|
|
131
|
-
key: 0,
|
|
132
|
-
fileList: _ctx.getFormDataValue(raw),
|
|
133
|
-
"onUpdate:fileList": ($event) => _ctx.$emit("setData", {
|
|
134
|
-
k: sourceData.prop,
|
|
135
|
-
v: $event
|
|
136
|
-
})
|
|
137
|
-
}, sourceData), null, 16, ["fileList", "onUpdate:fileList"])) : createCommentVNode("v-if", true)]),
|
|
138
|
-
_: 1
|
|
139
|
-
/* STABLE */
|
|
140
|
-
}), createVNode(_component_VkfFormItemRendererTemplate, {
|
|
141
|
-
type: "VkfCheckbox"
|
|
142
|
-
}, {
|
|
143
|
-
default: withCtx(({
|
|
144
|
-
data: sourceData,
|
|
145
|
-
templateIf,
|
|
146
|
-
raw
|
|
147
|
-
}) => [templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfCheckbox, mergeProps({
|
|
148
|
-
key: 0,
|
|
149
|
-
modelValue: _ctx.getFormDataValue(raw),
|
|
150
|
-
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
151
|
-
k: sourceData.prop,
|
|
152
|
-
v: $event
|
|
153
|
-
})
|
|
154
|
-
}, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)]),
|
|
155
|
-
_: 1
|
|
156
|
-
/* STABLE */
|
|
157
|
-
}), createVNode(_component_VkfFormItemRendererTemplate, {
|
|
158
|
-
type: "VkfRadio"
|
|
159
|
-
}, {
|
|
160
|
-
default: withCtx(({
|
|
161
|
-
data: sourceData,
|
|
162
|
-
templateIf,
|
|
163
|
-
raw
|
|
164
|
-
}) => [templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfRadio, mergeProps({
|
|
165
|
-
key: 0,
|
|
166
|
-
modelValue: _ctx.getFormDataValue(raw),
|
|
167
|
-
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
168
|
-
k: sourceData.prop,
|
|
169
|
-
v: $event
|
|
170
|
-
})
|
|
171
|
-
}, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)]),
|
|
172
|
-
_: 1
|
|
173
|
-
/* STABLE */
|
|
174
|
-
}), createVNode(_component_VkfFormItemRendererTemplate, {
|
|
175
|
-
type: "VkfInput"
|
|
176
|
-
}, {
|
|
177
|
-
default: withCtx(({
|
|
178
|
-
data: sourceData,
|
|
179
|
-
templateIf,
|
|
180
|
-
raw
|
|
181
|
-
}) => [templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfInput, mergeProps({
|
|
182
|
-
key: 0,
|
|
183
|
-
modelValue: _ctx.getFormDataValue(raw),
|
|
184
|
-
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
185
|
-
k: sourceData.prop,
|
|
186
|
-
v: $event
|
|
187
|
-
})
|
|
188
|
-
}, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)]),
|
|
189
|
-
_: 1
|
|
190
|
-
/* STABLE */
|
|
191
|
-
}), createVNode(_component_VkfFormItemRendererTemplate, {
|
|
192
|
-
type: "VkfSwitch"
|
|
193
|
-
}, {
|
|
194
|
-
default: withCtx(({
|
|
195
|
-
data: sourceData,
|
|
196
|
-
templateIf,
|
|
197
|
-
raw
|
|
198
|
-
}) => [templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfSwitch, mergeProps({
|
|
199
|
-
key: 0,
|
|
200
|
-
modelValue: _ctx.getFormDataValue(raw),
|
|
201
|
-
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
202
|
-
k: sourceData.prop,
|
|
203
|
-
v: $event
|
|
204
|
-
})
|
|
205
|
-
}, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)]),
|
|
206
|
-
_: 1
|
|
207
|
-
/* STABLE */
|
|
208
|
-
}), createVNode(_component_VkfFormItemRendererTemplate, {
|
|
209
|
-
type: "VkfSelect"
|
|
210
|
-
}, {
|
|
211
|
-
default: withCtx(({
|
|
212
|
-
data: sourceData,
|
|
213
|
-
templateIf,
|
|
214
|
-
raw
|
|
215
|
-
}) => [templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfSelect, mergeProps({
|
|
216
|
-
key: 0,
|
|
217
|
-
modelValue: _ctx.getFormDataValue(raw),
|
|
218
|
-
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
219
|
-
k: sourceData.prop,
|
|
220
|
-
v: $event
|
|
221
|
-
})
|
|
222
|
-
}, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)]),
|
|
223
|
-
_: 1
|
|
224
|
-
/* STABLE */
|
|
225
|
-
}), createVNode(_component_VkfFormItemRendererTemplate, {
|
|
226
|
-
type: "VkfDatePicker"
|
|
227
|
-
}, {
|
|
228
|
-
default: withCtx(({
|
|
229
|
-
data: sourceData,
|
|
230
|
-
templateIf,
|
|
231
|
-
raw
|
|
232
|
-
}) => [templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfDatePicker, mergeProps({
|
|
233
|
-
key: 0,
|
|
234
|
-
modelValue: _ctx.getFormDataValue(raw),
|
|
235
|
-
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
236
|
-
k: sourceData.prop,
|
|
237
|
-
v: $event
|
|
238
|
-
})
|
|
239
|
-
}, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)]),
|
|
240
|
-
_: 1
|
|
241
|
-
/* STABLE */
|
|
242
|
-
}), createVNode(_component_VkfFormItemRendererTemplate, {
|
|
243
|
-
type: "VkfInputNumber"
|
|
244
|
-
}, {
|
|
245
|
-
default: withCtx(({
|
|
246
|
-
data: sourceData,
|
|
247
|
-
templateIf,
|
|
248
|
-
raw
|
|
249
|
-
}) => [templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfInputNumber, mergeProps({
|
|
250
|
-
key: 0,
|
|
251
|
-
modelValue: _ctx.getFormDataValue(raw),
|
|
252
|
-
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
253
|
-
k: sourceData.prop,
|
|
254
|
-
v: $event
|
|
255
|
-
})
|
|
256
|
-
}, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)]),
|
|
257
|
-
_: 1
|
|
258
|
-
/* STABLE */
|
|
259
|
-
}), createVNode(_component_VkfFormItemRendererTemplate, {
|
|
260
|
-
type: "VkfCascader"
|
|
261
|
-
}, {
|
|
262
|
-
default: withCtx(({
|
|
263
|
-
data: sourceData,
|
|
264
|
-
templateIf,
|
|
265
|
-
raw
|
|
266
|
-
}) => [templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfCascader, mergeProps({
|
|
267
|
-
key: 0,
|
|
268
|
-
modelValue: _ctx.getFormDataValue(raw),
|
|
269
|
-
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
270
|
-
k: sourceData.prop,
|
|
271
|
-
v: $event
|
|
272
|
-
})
|
|
273
|
-
}, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)]),
|
|
274
|
-
_: 1
|
|
275
|
-
/* STABLE */
|
|
276
|
-
}), createCommentVNode(" VkfInputLink "), createVNode(_component_VkfFormItemRendererTemplate, {
|
|
277
|
-
type: "VkfInputLink"
|
|
278
|
-
}, {
|
|
279
|
-
default: withCtx(({
|
|
280
|
-
data: sourceData,
|
|
281
|
-
templateIf,
|
|
282
|
-
raw
|
|
283
|
-
}) => [templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfInputLink, mergeProps({
|
|
284
|
-
key: 0,
|
|
285
|
-
modelValue: _ctx.getFormDataValue(raw),
|
|
286
|
-
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
287
|
-
k: sourceData.prop,
|
|
288
|
-
v: $event
|
|
289
|
-
})
|
|
290
|
-
}, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)]),
|
|
291
|
-
_: 1
|
|
292
|
-
/* STABLE */
|
|
293
|
-
}), createCommentVNode(" VkfSlider "), createVNode(_component_VkfFormItemRendererTemplate, {
|
|
294
|
-
type: "VkfSlider"
|
|
295
|
-
}, {
|
|
296
|
-
default: withCtx(({
|
|
297
|
-
data: sourceData,
|
|
298
|
-
templateIf,
|
|
299
|
-
raw
|
|
300
|
-
}) => [templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfSlider, mergeProps({
|
|
301
|
-
key: 0,
|
|
302
|
-
modelValue: _ctx.getFormDataValue(raw),
|
|
303
|
-
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
304
|
-
k: sourceData.prop,
|
|
305
|
-
v: $event
|
|
306
|
-
})
|
|
307
|
-
}, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)]),
|
|
308
|
-
_: 1
|
|
309
|
-
/* STABLE */
|
|
310
|
-
}), createVNode(_component_VkfFormItemRendererTemplate, {
|
|
311
|
-
type: "Component"
|
|
312
|
-
}, {
|
|
313
|
-
default: withCtx(({
|
|
314
|
-
data: props,
|
|
315
|
-
raw,
|
|
316
|
-
templateIf
|
|
317
|
-
}) => [templateIf(_ctx.data) ? (openBlock(), createBlock(
|
|
318
|
-
resolveDynamicComponent(typeof raw.is === "function" ? raw.is(raw) : raw.is),
|
|
319
|
-
normalizeProps(mergeProps({
|
|
320
|
-
key: 0
|
|
321
|
-
}, _ctx.pickObject(props, {
|
|
322
|
-
excludes: ["is"]
|
|
323
|
-
}))),
|
|
324
|
-
null,
|
|
325
|
-
16
|
|
326
|
-
/* FULL_PROPS */
|
|
327
|
-
)) : createCommentVNode("v-if", true)]),
|
|
328
|
-
_: 1
|
|
329
|
-
/* STABLE */
|
|
330
|
-
})],
|
|
331
|
-
64
|
|
332
|
-
/* STABLE_FRAGMENT */
|
|
333
|
-
);
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
script.render = render;
|
|
337
|
-
script.__file = "templates-default/src/index.vue";
|
|
338
|
-
|
|
339
|
-
var types = /*#__PURE__*/Object.freeze({
|
|
340
|
-
__proto__: null
|
|
341
|
-
});
|
|
342
|
-
|
|
343
|
-
script.install = (app) => {
|
|
344
|
-
app.component(script.name, script);
|
|
345
|
-
};
|
|
346
|
-
|
|
347
|
-
export { script as VkfTemplatesDefault, types as __VkfTemplatesDefault, script as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{NOOP as e}from"@vunk/core/shared/utils-function";const n=()=>e,o={data:{type:Object,default:()=>({})},createIntoUndefined:{type:Function,default:n}},a={setData:t=>t};export{a as emits,o as props};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|