@vunk/form 2.16.11 → 2.17.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/api-tables-select/index.cjs +1 -1
- package/components/api-tables-select/index.mjs +1 -1
- package/components/button/index.cjs +1 -1
- package/components/button/index.mjs +1 -1
- package/components/card-input-collection/index.cjs +2 -2
- package/components/card-input-collection/index.css +11 -11
- package/components/card-input-collection/index.mjs +2 -2
- package/components/cascader/index.cjs +1 -1
- package/components/cascader/index.mjs +1 -1
- package/components/checkbox/index.cjs +1 -1
- package/components/checkbox/index.mjs +1 -1
- package/components/color-picker/index.cjs +1 -1
- package/components/color-picker/index.mjs +1 -1
- package/components/date-picker/index.cjs +1 -1
- package/components/date-picker/index.mjs +1 -1
- package/components/date-picker-range/index.cjs +1 -1
- package/components/date-picker-range/index.mjs +1 -1
- package/components/dialog/index.cjs +1 -1
- package/components/dialog/index.mjs +1 -1
- package/components/dialog-input-collection/index.cjs +3 -3
- package/components/dialog-input-collection/index.mjs +3 -3
- package/components/download-plus/index.cjs +1 -1
- package/components/download-plus/index.mjs +1 -1
- package/components/editable-text/index.cjs +1 -1
- package/components/editable-text/index.mjs +1 -1
- package/components/esri-input-geojson/index.cjs +4 -4
- package/components/esri-input-geojson/index.mjs +4 -4
- package/components/fieldset/index.cjs +1 -1
- package/components/fieldset/index.mjs +1 -1
- package/components/form/index.cjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form-item/index.cjs +2 -2
- package/components/form-item/index.css +12 -12
- package/components/form-item/index.mjs +2 -2
- package/components/form-item-renderer/index.cjs +2 -2
- package/components/form-item-renderer/index.mjs +2 -2
- package/components/form-item-renderer-template/index.cjs +1 -1
- package/components/form-item-renderer-template/index.mjs +1 -1
- package/components/forms-provider/index.cjs +3 -3
- package/components/forms-provider/index.mjs +3 -3
- package/components/information/index.cjs +1 -1
- package/components/information/index.mjs +1 -1
- package/components/information-collection/index.cjs +1 -1
- package/components/information-collection/index.mjs +1 -1
- package/components/information-tag/index.cjs +1 -1
- package/components/information-tag/index.mjs +1 -1
- package/components/information-templates-default/index.cjs +1 -1
- package/components/information-templates-default/index.mjs +1 -1
- package/components/input/index.cjs +1 -1
- package/components/input/index.mjs +1 -1
- package/components/input-array/index.cjs +2 -2
- package/components/input-array/index.mjs +2 -2
- package/components/input-collection/index.cjs +2 -2
- package/components/input-collection/index.css +8 -8
- package/components/input-collection/index.mjs +2 -2
- package/components/input-file/index.cjs +2 -2
- package/components/input-file/index.mjs +2 -2
- package/components/input-link/index.cjs +1 -1
- package/components/input-link/index.mjs +1 -1
- package/components/input-number/index.cjs +1 -1
- package/components/input-number/index.mjs +1 -1
- package/components/input-tag/index.cjs +1 -1
- package/components/input-tag/index.mjs +1 -1
- package/components/monaco-editor/index.cjs +1 -1
- package/components/monaco-editor/index.mjs +1 -1
- package/components/radio/index.cjs +3 -3
- package/components/radio/index.css +8 -8
- package/components/radio/index.mjs +3 -3
- package/components/renderer-data/index.cjs +1 -1
- package/components/renderer-data/index.mjs +1 -1
- package/components/select/index.cjs +3 -3
- package/components/select/index.css +9 -9
- package/components/select/index.mjs +3 -3
- package/components/select/src/types.d.ts +2 -5
- package/components/slider/index.cjs +1 -1
- package/components/slider/index.mjs +1 -1
- package/components/switch/index.cjs +1 -1
- package/components/switch/index.mjs +1 -1
- package/components/tables-select/index.cjs +1 -1
- package/components/tables-select/index.mjs +1 -1
- package/components/template-instances-provider/index.cjs +1 -1
- package/components/template-instances-provider/index.mjs +1 -1
- package/components/templates-default/index.cjs +11 -1
- package/components/templates-default/index.mjs +11 -1
- package/components/templates-default/src/index.vue.d.ts +11 -0
- package/components/templates-default/src/types.d.ts +3 -1
- package/components/templates-element-plus/index.cjs +1 -1
- package/components/templates-element-plus/index.mjs +1 -1
- package/components/templates-esri/index.cjs +1 -1
- package/components/templates-esri/index.mjs +1 -1
- package/components/templates-layout/index.cjs +1 -1
- package/components/templates-layout/index.mjs +1 -1
- package/components/templates-variant/index.cjs +1 -1
- package/components/templates-variant/index.mjs +1 -1
- package/components/time-picker/index.cjs +104 -0
- package/components/time-picker/index.d.ts +5 -0
- package/components/time-picker/index.mjs +97 -0
- package/components/time-picker/src/ctx.d.ts +364 -0
- package/components/time-picker/src/index.vue.d.ts +1670 -0
- package/components/time-picker/src/types.d.ts +11 -0
- package/components/upload/index.cjs +3 -3
- package/components/upload/index.mjs +3 -3
- package/components/upload-plus/index.cjs +1 -1
- package/components/upload-plus/index.mjs +1 -1
- package/components/van-cascader/index.cjs +1 -1
- package/components/van-cascader/index.mjs +1 -1
- package/components/var-datetime-picker/index.cjs +1 -1
- package/components/var-datetime-picker/index.mjs +1 -1
- package/components/vditor/index.cjs +1 -1
- package/components/vditor/index.mjs +1 -1
- package/index.css +48 -48
- package/index.d.ts +1 -0
- package/index.esm.js +1 -0
- package/package.json +6 -1
- package/shared/const/index.d.ts +1 -1
- package/shared/element-plus/ctx.d.ts +9 -0
- package/shared/element-plus/index.cjs +17 -0
- package/shared/element-plus/index.mjs +14 -1
- package/shared/element-plus/instances.d.ts +260 -0
|
@@ -69,7 +69,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
69
69
|
/* FULL_PROPS */
|
|
70
70
|
);
|
|
71
71
|
}
|
|
72
|
-
var VkfSlider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
72
|
+
var VkfSlider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-form2\\packages\\components\\slider\\src\\index.vue"]]);
|
|
73
73
|
|
|
74
74
|
var types = /*#__PURE__*/Object.freeze({
|
|
75
75
|
__proto__: null
|
|
@@ -73,7 +73,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
73
73
|
/* FULL_PROPS */
|
|
74
74
|
);
|
|
75
75
|
}
|
|
76
|
-
var VkfSwitch = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
76
|
+
var VkfSwitch = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-form2\\packages\\components\\switch\\src\\index.vue"]]);
|
|
77
77
|
|
|
78
78
|
var types = /*#__PURE__*/Object.freeze({
|
|
79
79
|
__proto__: null
|
|
@@ -69,7 +69,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
69
69
|
/* FULL_PROPS */
|
|
70
70
|
);
|
|
71
71
|
}
|
|
72
|
-
var VkfSwitch = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
72
|
+
var VkfSwitch = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-form2\\packages\\components\\switch\\src\\index.vue"]]);
|
|
73
73
|
|
|
74
74
|
var types = /*#__PURE__*/Object.freeze({
|
|
75
75
|
__proto__: null
|
|
@@ -244,7 +244,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
244
244
|
/* STABLE_FRAGMENT */
|
|
245
245
|
);
|
|
246
246
|
}
|
|
247
|
-
var VkfTablesSelect = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
247
|
+
var VkfTablesSelect = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-form2\\packages\\components\\tables-select\\src\\index.vue"]]);
|
|
248
248
|
|
|
249
249
|
var types = /*#__PURE__*/Object.freeze({
|
|
250
250
|
__proto__: null
|
|
@@ -240,7 +240,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
240
240
|
/* STABLE_FRAGMENT */
|
|
241
241
|
);
|
|
242
242
|
}
|
|
243
|
-
var VkfTablesSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
243
|
+
var VkfTablesSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-form2\\packages\\components\\tables-select\\src\\index.vue"]]);
|
|
244
244
|
|
|
245
245
|
var types = /*#__PURE__*/Object.freeze({
|
|
246
246
|
__proto__: null
|
|
@@ -21,7 +21,7 @@ var _sfc_main = vue.defineComponent({
|
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
23
|
|
|
24
|
-
var VkfTemplateInstancesProvider = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__file", "
|
|
24
|
+
var VkfTemplateInstancesProvider = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__file", "D:\\labCode\\vunk-form2\\packages\\components\\template-instances-provider\\src\\index.vue"]]);
|
|
25
25
|
|
|
26
26
|
VkfTemplateInstancesProvider.install = (app) => {
|
|
27
27
|
app.component(VkfTemplateInstancesProvider.name || "VkfTemplateInstancesProvider", VkfTemplateInstancesProvider);
|
|
@@ -17,7 +17,7 @@ var _sfc_main = defineComponent({
|
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
|
|
20
|
-
var VkfTemplateInstancesProvider = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "
|
|
20
|
+
var VkfTemplateInstancesProvider = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "D:\\labCode\\vunk-form2\\packages\\components\\template-instances-provider\\src\\index.vue"]]);
|
|
21
21
|
|
|
22
22
|
VkfTemplateInstancesProvider.install = (app) => {
|
|
23
23
|
app.component(VkfTemplateInstancesProvider.name || "VkfTemplateInstancesProvider", VkfTemplateInstancesProvider);
|
|
@@ -9,6 +9,7 @@ var input = require('@vunk/form/components/input');
|
|
|
9
9
|
var _switch = require('@vunk/form/components/switch');
|
|
10
10
|
var select = require('@vunk/form/components/select');
|
|
11
11
|
var datePicker = require('@vunk/form/components/date-picker');
|
|
12
|
+
var timePicker = require('@vunk/form/components/time-picker');
|
|
12
13
|
var utilsObject = require('@vunk/core/shared/utils-object');
|
|
13
14
|
var inputNumber = require('@vunk/form/components/input-number');
|
|
14
15
|
var radio = require('@vunk/form/components/radio');
|
|
@@ -45,6 +46,7 @@ var _sfc_main = vue.defineComponent({
|
|
|
45
46
|
VkfSwitch: _switch.VkfSwitch,
|
|
46
47
|
VkfSelect: select.VkfSelect,
|
|
47
48
|
VkfDatePicker: datePicker.VkfDatePicker,
|
|
49
|
+
VkfTimePicker: timePicker.VkfTimePicker,
|
|
48
50
|
VkfInputNumber: inputNumber.VkfInputNumber,
|
|
49
51
|
VkfRadio: radio.VkfRadio,
|
|
50
52
|
VkfCheckbox: checkbox.VkfCheckbox,
|
|
@@ -76,6 +78,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
76
78
|
const _component_VkfSwitch = vue.resolveComponent("VkfSwitch");
|
|
77
79
|
const _component_VkfSelect = vue.resolveComponent("VkfSelect");
|
|
78
80
|
const _component_VkfDatePicker = vue.resolveComponent("VkfDatePicker");
|
|
81
|
+
const _component_VkfTimePicker = vue.resolveComponent("VkfTimePicker");
|
|
79
82
|
const _component_VkfInputNumber = vue.resolveComponent("VkfInputNumber");
|
|
80
83
|
const _component_VkfCascader = vue.resolveComponent("VkfCascader");
|
|
81
84
|
const _component_VkfSlider = vue.resolveComponent("VkfSlider");
|
|
@@ -161,6 +164,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
161
164
|
_: 1
|
|
162
165
|
/* STABLE */
|
|
163
166
|
}),
|
|
167
|
+
vue.createVNode(_component_VkfFormItemRendererTemplate, { type: "VkfTimePicker" }, {
|
|
168
|
+
default: vue.withCtx(({ props, value, input }) => [
|
|
169
|
+
vue.createVNode(_component_VkfTimePicker, vue.mergeProps({ "model-value": value }, props, { "onUpdate:modelValue": input }), null, 16, ["model-value", "onUpdate:modelValue"])
|
|
170
|
+
]),
|
|
171
|
+
_: 1
|
|
172
|
+
/* STABLE */
|
|
173
|
+
}),
|
|
164
174
|
vue.createVNode(_component_VkfFormItemRendererTemplate, { type: "VkfInputNumber" }, {
|
|
165
175
|
default: vue.withCtx(({ props, value, input }) => [
|
|
166
176
|
vue.createVNode(_component_VkfInputNumber, vue.mergeProps({ "model-value": value }, props, { "onUpdate:modelValue": input }), null, 16, ["model-value", "onUpdate:modelValue"])
|
|
@@ -207,7 +217,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
207
217
|
/* STABLE_FRAGMENT */
|
|
208
218
|
);
|
|
209
219
|
}
|
|
210
|
-
var VkfTemplatesDefault = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
220
|
+
var VkfTemplatesDefault = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-form2\\packages\\components\\templates-default\\src\\index.vue"]]);
|
|
211
221
|
|
|
212
222
|
var types = /*#__PURE__*/Object.freeze({
|
|
213
223
|
__proto__: null
|
|
@@ -5,6 +5,7 @@ import { VkfInput } from '@vunk/form/components/input';
|
|
|
5
5
|
import { VkfSwitch } from '@vunk/form/components/switch';
|
|
6
6
|
import { VkfSelect } from '@vunk/form/components/select';
|
|
7
7
|
import { VkfDatePicker } from '@vunk/form/components/date-picker';
|
|
8
|
+
import { VkfTimePicker } from '@vunk/form/components/time-picker';
|
|
8
9
|
import { pickObject } from '@vunk/core/shared/utils-object';
|
|
9
10
|
import { VkfInputNumber } from '@vunk/form/components/input-number';
|
|
10
11
|
import { VkfRadio } from '@vunk/form/components/radio';
|
|
@@ -41,6 +42,7 @@ var _sfc_main = defineComponent({
|
|
|
41
42
|
VkfSwitch,
|
|
42
43
|
VkfSelect,
|
|
43
44
|
VkfDatePicker,
|
|
45
|
+
VkfTimePicker,
|
|
44
46
|
VkfInputNumber,
|
|
45
47
|
VkfRadio,
|
|
46
48
|
VkfCheckbox,
|
|
@@ -72,6 +74,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
72
74
|
const _component_VkfSwitch = resolveComponent("VkfSwitch");
|
|
73
75
|
const _component_VkfSelect = resolveComponent("VkfSelect");
|
|
74
76
|
const _component_VkfDatePicker = resolveComponent("VkfDatePicker");
|
|
77
|
+
const _component_VkfTimePicker = resolveComponent("VkfTimePicker");
|
|
75
78
|
const _component_VkfInputNumber = resolveComponent("VkfInputNumber");
|
|
76
79
|
const _component_VkfCascader = resolveComponent("VkfCascader");
|
|
77
80
|
const _component_VkfSlider = resolveComponent("VkfSlider");
|
|
@@ -157,6 +160,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
157
160
|
_: 1
|
|
158
161
|
/* STABLE */
|
|
159
162
|
}),
|
|
163
|
+
createVNode(_component_VkfFormItemRendererTemplate, { type: "VkfTimePicker" }, {
|
|
164
|
+
default: withCtx(({ props, value, input }) => [
|
|
165
|
+
createVNode(_component_VkfTimePicker, mergeProps({ "model-value": value }, props, { "onUpdate:modelValue": input }), null, 16, ["model-value", "onUpdate:modelValue"])
|
|
166
|
+
]),
|
|
167
|
+
_: 1
|
|
168
|
+
/* STABLE */
|
|
169
|
+
}),
|
|
160
170
|
createVNode(_component_VkfFormItemRendererTemplate, { type: "VkfInputNumber" }, {
|
|
161
171
|
default: withCtx(({ props, value, input }) => [
|
|
162
172
|
createVNode(_component_VkfInputNumber, mergeProps({ "model-value": value }, props, { "onUpdate:modelValue": input }), null, 16, ["model-value", "onUpdate:modelValue"])
|
|
@@ -203,7 +213,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
203
213
|
/* STABLE_FRAGMENT */
|
|
204
214
|
);
|
|
205
215
|
}
|
|
206
|
-
var VkfTemplatesDefault = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
216
|
+
var VkfTemplatesDefault = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-form2\\packages\\components\\templates-default\\src\\index.vue"]]);
|
|
207
217
|
|
|
208
218
|
var types = /*#__PURE__*/Object.freeze({
|
|
209
219
|
__proto__: null
|
|
@@ -93,6 +93,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
93
93
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
94
94
|
install(app: import("vue").App): void;
|
|
95
95
|
};
|
|
96
|
+
VkfTimePicker: {
|
|
97
|
+
new (...args: any[]): any;
|
|
98
|
+
__isFragment?: never;
|
|
99
|
+
__isTeleport?: never;
|
|
100
|
+
__isSuspense?: never;
|
|
101
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
102
|
+
[x: string]: any;
|
|
103
|
+
[x: symbol]: any;
|
|
104
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
105
|
+
install(app: import("vue").App): void;
|
|
106
|
+
};
|
|
96
107
|
VkfInputNumber: {
|
|
97
108
|
new (...args: any[]): any;
|
|
98
109
|
__isFragment?: never;
|
|
@@ -2,6 +2,7 @@ import { BasicSource } from '@vunk/form/shared';
|
|
|
2
2
|
import { __VkfButton } from '@vunk/form/components/button';
|
|
3
3
|
import { __VkfInput } from '@vunk/form/components/input';
|
|
4
4
|
import { __VkfDatePicker } from '@vunk/form/components/date-picker';
|
|
5
|
+
import { __VkfTimePicker } from '@vunk/form/components/time-picker';
|
|
5
6
|
import { __VkfSelect } from '@vunk/form/components/select';
|
|
6
7
|
import { __VkfSwitch } from '@vunk/form/components/switch';
|
|
7
8
|
import { __VkfInputNumber } from '@vunk/form/components/input-number';
|
|
@@ -17,6 +18,7 @@ import { IntoUndefined, Func } from '@vunk/core';
|
|
|
17
18
|
export type VkfButtonSource<P = string> = __VkfButton.Source<P>;
|
|
18
19
|
export type VkfInputSource<P = string> = __VkfInput.Source<P>;
|
|
19
20
|
export type VkfDatePickerSource<P = string> = __VkfDatePicker.Source<P>;
|
|
21
|
+
export type VkfTimePickerSource<P = string> = __VkfTimePicker.Source<P>;
|
|
20
22
|
export type VkfSelectSource<P = string> = __VkfSelect.Source<P>;
|
|
21
23
|
export type VkfSwitchSource<P = string> = __VkfSwitch.Source<P>;
|
|
22
24
|
export type VkfInputNumberSource<P = string> = __VkfInputNumber.Source<P>;
|
|
@@ -32,7 +34,7 @@ export interface ComponentSource extends BasicSource {
|
|
|
32
34
|
templateType: 'Component';
|
|
33
35
|
is: any;
|
|
34
36
|
}
|
|
35
|
-
export type CoreSource<P = string> = VkfInputSource<P> | VkfSwitchSource<P> | VkfSelectSource<P> | VkfDatePickerSource<P> | VkfInputNumberSource<P> | VkfRadioSource<P> | VkfCheckboxSource<P> | VkfUploadSource<P> | VkfColorPickerSource<P> | VkfButtonSource<P> | VkfCascaderSource<P> | VkfInputLinkSource<P> | VkfSliderSource<P> | VkfInputTagSource<P>;
|
|
37
|
+
export type CoreSource<P = string> = VkfInputSource<P> | VkfSwitchSource<P> | VkfSelectSource<P> | VkfDatePickerSource<P> | VkfTimePickerSource<P> | VkfInputNumberSource<P> | VkfRadioSource<P> | VkfCheckboxSource<P> | VkfUploadSource<P> | VkfColorPickerSource<P> | VkfButtonSource<P> | VkfCascaderSource<P> | VkfInputLinkSource<P> | VkfSliderSource<P> | VkfInputTagSource<P>;
|
|
36
38
|
export type Source<P = string> = CoreSource<P> | ComponentSource;
|
|
37
39
|
/**
|
|
38
40
|
* @example
|
|
@@ -97,7 +97,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
97
97
|
/* STABLE_FRAGMENT */
|
|
98
98
|
);
|
|
99
99
|
}
|
|
100
|
-
var VkfTemplatesElementPlus = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
100
|
+
var VkfTemplatesElementPlus = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-form2\\packages\\components\\templates-element-plus\\src\\index.vue"]]);
|
|
101
101
|
|
|
102
102
|
var types = /*#__PURE__*/Object.freeze({
|
|
103
103
|
__proto__: null
|
|
@@ -93,7 +93,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
93
93
|
/* STABLE_FRAGMENT */
|
|
94
94
|
);
|
|
95
95
|
}
|
|
96
|
-
var VkfTemplatesElementPlus = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
96
|
+
var VkfTemplatesElementPlus = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-form2\\packages\\components\\templates-element-plus\\src\\index.vue"]]);
|
|
97
97
|
|
|
98
98
|
var types = /*#__PURE__*/Object.freeze({
|
|
99
99
|
__proto__: null
|
|
@@ -50,7 +50,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50
50
|
/* STABLE */
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
var VkfTemplatesEsri = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
53
|
+
var VkfTemplatesEsri = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-form2\\packages\\components\\templates-esri\\src\\index.vue"]]);
|
|
54
54
|
|
|
55
55
|
var types = /*#__PURE__*/Object.freeze({
|
|
56
56
|
__proto__: null
|
|
@@ -46,7 +46,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
46
46
|
/* STABLE */
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
|
-
var VkfTemplatesEsri = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
49
|
+
var VkfTemplatesEsri = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-form2\\packages\\components\\templates-esri\\src\\index.vue"]]);
|
|
50
50
|
|
|
51
51
|
var types = /*#__PURE__*/Object.freeze({
|
|
52
52
|
__proto__: null
|
|
@@ -122,7 +122,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
122
122
|
/* STABLE_FRAGMENT */
|
|
123
123
|
);
|
|
124
124
|
}
|
|
125
|
-
var VkfTemplatesLayout = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
125
|
+
var VkfTemplatesLayout = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-form2\\packages\\components\\templates-layout\\src\\index.vue"]]);
|
|
126
126
|
|
|
127
127
|
var types = /*#__PURE__*/Object.freeze({
|
|
128
128
|
__proto__: null
|
|
@@ -118,7 +118,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
118
118
|
/* STABLE_FRAGMENT */
|
|
119
119
|
);
|
|
120
120
|
}
|
|
121
|
-
var VkfTemplatesLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
121
|
+
var VkfTemplatesLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-form2\\packages\\components\\templates-layout\\src\\index.vue"]]);
|
|
122
122
|
|
|
123
123
|
var types = /*#__PURE__*/Object.freeze({
|
|
124
124
|
__proto__: null
|
|
@@ -55,7 +55,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
55
55
|
/* STABLE */
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
|
-
var VkfTemplatesVariant = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
58
|
+
var VkfTemplatesVariant = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-form2\\packages\\components\\templates-variant\\src\\index.vue"]]);
|
|
59
59
|
|
|
60
60
|
var types = /*#__PURE__*/Object.freeze({
|
|
61
61
|
__proto__: null
|
|
@@ -51,7 +51,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
51
51
|
/* STABLE */
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
var VkfTemplatesVariant = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
54
|
+
var VkfTemplatesVariant = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-form2\\packages\\components\\templates-variant\\src\\index.vue"]]);
|
|
55
55
|
|
|
56
56
|
var types = /*#__PURE__*/Object.freeze({
|
|
57
57
|
__proto__: null
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var formItem = require('@vunk/form/components/form-item');
|
|
6
|
+
var elementPlus = require('@vunk/form/shared/element-plus');
|
|
7
|
+
var utilsVue = require('@vunk/core/shared/utils-vue');
|
|
8
|
+
var vue = require('vue');
|
|
9
|
+
var elementPlus$1 = require('element-plus');
|
|
10
|
+
var composables = require('@vunk/form/composables');
|
|
11
|
+
var _pluginVue_exportHelper = require('../_plugin-vue_export-helper.cjs');
|
|
12
|
+
|
|
13
|
+
const props = {
|
|
14
|
+
...elementPlus.timePickerProps,
|
|
15
|
+
...formItem._VkfFormItemCtx.props,
|
|
16
|
+
timePickerSlots: {
|
|
17
|
+
type: Object,
|
|
18
|
+
default: void 0
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
const createBindProps = utilsVue.bindPropsFactory(props);
|
|
22
|
+
const emits = {
|
|
23
|
+
...elementPlus.timePickerEmits
|
|
24
|
+
};
|
|
25
|
+
const createOnEmits = utilsVue.onEmitsFactory(emits);
|
|
26
|
+
|
|
27
|
+
var ctx = /*#__PURE__*/Object.freeze({
|
|
28
|
+
__proto__: null,
|
|
29
|
+
createBindProps: createBindProps,
|
|
30
|
+
createOnEmits: createOnEmits,
|
|
31
|
+
emits: emits,
|
|
32
|
+
props: props
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
var _sfc_main = vue.defineComponent({
|
|
36
|
+
name: "VkfTimePicker",
|
|
37
|
+
components: {
|
|
38
|
+
VkfFormItem: formItem.VkfFormItem,
|
|
39
|
+
ElTimePicker: elementPlus$1.ElTimePicker
|
|
40
|
+
},
|
|
41
|
+
props,
|
|
42
|
+
emits,
|
|
43
|
+
setup(props2, { emit }) {
|
|
44
|
+
const formItemBindProps = formItem._VkfFormItemCtx.createBindProps(props2);
|
|
45
|
+
const timePickerBindProps = elementPlus.createTimePickerBindProps(props2, [
|
|
46
|
+
"readonly"
|
|
47
|
+
]);
|
|
48
|
+
const timePickerOnEmits = elementPlus.createTimePickerOnEmits(emit);
|
|
49
|
+
const readonly = composables.useComputedReadonly(props2);
|
|
50
|
+
return {
|
|
51
|
+
formItemBindProps,
|
|
52
|
+
timePickerBindProps,
|
|
53
|
+
timePickerOnEmits,
|
|
54
|
+
readonly
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
60
|
+
const _component_ElTimePicker = vue.resolveComponent("ElTimePicker");
|
|
61
|
+
const _component_VkfFormItem = vue.resolveComponent("VkfFormItem");
|
|
62
|
+
return vue.openBlock(), vue.createBlock(
|
|
63
|
+
_component_VkfFormItem,
|
|
64
|
+
vue.normalizeProps(vue.guardReactiveProps(_ctx.formItemBindProps)),
|
|
65
|
+
{
|
|
66
|
+
default: vue.withCtx(() => [
|
|
67
|
+
vue.createVNode(_component_ElTimePicker, vue.mergeProps(_ctx.timePickerBindProps, { readonly: _ctx.readonly }, vue.toHandlers(_ctx.timePickerOnEmits)), vue.createSlots({
|
|
68
|
+
_: 2
|
|
69
|
+
/* DYNAMIC */
|
|
70
|
+
}, [
|
|
71
|
+
vue.renderList(_ctx.timePickerSlots, (item, key) => {
|
|
72
|
+
return {
|
|
73
|
+
name: key,
|
|
74
|
+
fn: vue.withCtx((e) => [
|
|
75
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(item?.(e))))
|
|
76
|
+
])
|
|
77
|
+
};
|
|
78
|
+
})
|
|
79
|
+
]), 1040, ["readonly"])
|
|
80
|
+
]),
|
|
81
|
+
_: 1
|
|
82
|
+
/* STABLE */
|
|
83
|
+
},
|
|
84
|
+
16
|
|
85
|
+
/* FULL_PROPS */
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
var VkfTimePicker = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-form2\\packages\\components\\time-picker\\src\\index.vue"]]);
|
|
89
|
+
|
|
90
|
+
var types = /*#__PURE__*/Object.freeze({
|
|
91
|
+
__proto__: null
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
VkfTimePicker.install = (app) => {
|
|
95
|
+
app.component(
|
|
96
|
+
VkfTimePicker.name || "VkfTimePicker",
|
|
97
|
+
VkfTimePicker
|
|
98
|
+
);
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
exports.VkfTimePicker = VkfTimePicker;
|
|
102
|
+
exports._VkfTimePickerCtx = ctx;
|
|
103
|
+
exports.__VkfTimePicker = types;
|
|
104
|
+
exports.default = VkfTimePicker;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { _VkfFormItemCtx, VkfFormItem } from '@vunk/form/components/form-item';
|
|
2
|
+
import { timePickerProps, timePickerEmits, createTimePickerBindProps, createTimePickerOnEmits } from '@vunk/form/shared/element-plus';
|
|
3
|
+
import { bindPropsFactory, onEmitsFactory } from '@vunk/core/shared/utils-vue';
|
|
4
|
+
import { defineComponent, resolveComponent, openBlock, createBlock, normalizeProps, guardReactiveProps, withCtx, createVNode, mergeProps, toHandlers, createSlots, renderList, resolveDynamicComponent } from 'vue';
|
|
5
|
+
import { ElTimePicker } from 'element-plus';
|
|
6
|
+
import { useComputedReadonly } from '@vunk/form/composables';
|
|
7
|
+
import { _ as _export_sfc } from '../_plugin-vue_export-helper.mjs';
|
|
8
|
+
|
|
9
|
+
const props = {
|
|
10
|
+
...timePickerProps,
|
|
11
|
+
..._VkfFormItemCtx.props,
|
|
12
|
+
timePickerSlots: {
|
|
13
|
+
type: Object,
|
|
14
|
+
default: void 0
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
const createBindProps = bindPropsFactory(props);
|
|
18
|
+
const emits = {
|
|
19
|
+
...timePickerEmits
|
|
20
|
+
};
|
|
21
|
+
const createOnEmits = onEmitsFactory(emits);
|
|
22
|
+
|
|
23
|
+
var ctx = /*#__PURE__*/Object.freeze({
|
|
24
|
+
__proto__: null,
|
|
25
|
+
createBindProps: createBindProps,
|
|
26
|
+
createOnEmits: createOnEmits,
|
|
27
|
+
emits: emits,
|
|
28
|
+
props: props
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
var _sfc_main = defineComponent({
|
|
32
|
+
name: "VkfTimePicker",
|
|
33
|
+
components: {
|
|
34
|
+
VkfFormItem,
|
|
35
|
+
ElTimePicker
|
|
36
|
+
},
|
|
37
|
+
props,
|
|
38
|
+
emits,
|
|
39
|
+
setup(props2, { emit }) {
|
|
40
|
+
const formItemBindProps = _VkfFormItemCtx.createBindProps(props2);
|
|
41
|
+
const timePickerBindProps = createTimePickerBindProps(props2, [
|
|
42
|
+
"readonly"
|
|
43
|
+
]);
|
|
44
|
+
const timePickerOnEmits = createTimePickerOnEmits(emit);
|
|
45
|
+
const readonly = useComputedReadonly(props2);
|
|
46
|
+
return {
|
|
47
|
+
formItemBindProps,
|
|
48
|
+
timePickerBindProps,
|
|
49
|
+
timePickerOnEmits,
|
|
50
|
+
readonly
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
56
|
+
const _component_ElTimePicker = resolveComponent("ElTimePicker");
|
|
57
|
+
const _component_VkfFormItem = resolveComponent("VkfFormItem");
|
|
58
|
+
return openBlock(), createBlock(
|
|
59
|
+
_component_VkfFormItem,
|
|
60
|
+
normalizeProps(guardReactiveProps(_ctx.formItemBindProps)),
|
|
61
|
+
{
|
|
62
|
+
default: withCtx(() => [
|
|
63
|
+
createVNode(_component_ElTimePicker, mergeProps(_ctx.timePickerBindProps, { readonly: _ctx.readonly }, toHandlers(_ctx.timePickerOnEmits)), createSlots({
|
|
64
|
+
_: 2
|
|
65
|
+
/* DYNAMIC */
|
|
66
|
+
}, [
|
|
67
|
+
renderList(_ctx.timePickerSlots, (item, key) => {
|
|
68
|
+
return {
|
|
69
|
+
name: key,
|
|
70
|
+
fn: withCtx((e) => [
|
|
71
|
+
(openBlock(), createBlock(resolveDynamicComponent(item?.(e))))
|
|
72
|
+
])
|
|
73
|
+
};
|
|
74
|
+
})
|
|
75
|
+
]), 1040, ["readonly"])
|
|
76
|
+
]),
|
|
77
|
+
_: 1
|
|
78
|
+
/* STABLE */
|
|
79
|
+
},
|
|
80
|
+
16
|
|
81
|
+
/* FULL_PROPS */
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
var VkfTimePicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-form2\\packages\\components\\time-picker\\src\\index.vue"]]);
|
|
85
|
+
|
|
86
|
+
var types = /*#__PURE__*/Object.freeze({
|
|
87
|
+
__proto__: null
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
VkfTimePicker.install = (app) => {
|
|
91
|
+
app.component(
|
|
92
|
+
VkfTimePicker.name || "VkfTimePicker",
|
|
93
|
+
VkfTimePicker
|
|
94
|
+
);
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
export { VkfTimePicker, ctx as _VkfTimePickerCtx, types as __VkfTimePicker, VkfTimePicker as default };
|