@vunk/form 2.17.0 → 2.17.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.
@@ -1357,7 +1357,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1357
1357
  tagType: "primary" | "success" | "warning" | "info" | "danger";
1358
1358
  tagEffect: "dark" | "light" | "plain";
1359
1359
  remoteShowSuffix: boolean;
1360
- selectSlots: import("./types").SelectSlots;
1360
+ selectSlots: Partial<Record<import("./types").SelectSlotsType, import("@vunk/shared").AnyFunc>>;
1361
1361
  selectRef: any;
1362
1362
  optionsUrl: string;
1363
1363
  optionChildrenProp: string;
@@ -938,7 +938,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
938
938
  tagType: "primary" | "success" | "warning" | "info" | "danger";
939
939
  tagEffect: "dark" | "light" | "plain";
940
940
  remoteShowSuffix: boolean;
941
- selectSlots: import("./types").SelectSlots;
941
+ selectSlots: Partial<Record<import("./types").SelectSlotsType, import("@vunk/shared").AnyFunc>>;
942
942
  selectRef: any;
943
943
  optionsUrl: string;
944
944
  optionChildrenProp: string;
@@ -2,11 +2,8 @@ import type { VueComponentPropsType } from '@vunk/core';
2
2
  import { BasicSource } from '@vunk/form/shared';
3
3
  import VkfSelect from './index.vue';
4
4
  import { AnyFunc } from '@vunk/shared';
5
- export type SelectSlots = {
6
- prefix?: AnyFunc;
7
- empty?: AnyFunc;
8
- label?: AnyFunc;
9
- };
5
+ export type SelectSlotsType = 'prefix' | 'empty' | 'label' | 'header' | 'footer' | 'tag' | 'loading' | 'label';
6
+ export type SelectSlots = Partial<Record<SelectSlotsType, AnyFunc>>;
10
7
  export interface Source<P = string> extends VueComponentPropsType<typeof VkfSelect>, BasicSource {
11
8
  prop: P;
12
9
  templateType: 'VkfSelect';
@@ -87,18 +87,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
87
87
  }
88
88
  var VkfTimePicker = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/private-vunk-form/private-vunk-form/packages/components/time-picker/src/index.vue"]]);
89
89
 
90
- const timePickerEmits = {
91
- "update:modelValue": null,
92
- "change": null,
93
- "focus": null,
94
- "blur": null,
95
- "visible-change": null,
96
- "keydown": null
97
- };
98
-
99
90
  var types = /*#__PURE__*/Object.freeze({
100
- __proto__: null,
101
- timePickerEmits: timePickerEmits
91
+ __proto__: null
102
92
  });
103
93
 
104
94
  VkfTimePicker.install = (app) => {
@@ -1,5 +1,5 @@
1
1
  import { _VkfFormItemCtx, VkfFormItem } from '@vunk/form/components/form-item';
2
- import { timePickerProps, timePickerEmits as timePickerEmits$1, createTimePickerBindProps, createTimePickerOnEmits } from '@vunk/form/shared/element-plus';
2
+ import { timePickerProps, timePickerEmits, createTimePickerBindProps, createTimePickerOnEmits } from '@vunk/form/shared/element-plus';
3
3
  import { bindPropsFactory, onEmitsFactory } from '@vunk/core/shared/utils-vue';
4
4
  import { defineComponent, resolveComponent, openBlock, createBlock, normalizeProps, guardReactiveProps, withCtx, createVNode, mergeProps, toHandlers, createSlots, renderList, resolveDynamicComponent } from 'vue';
5
5
  import { ElTimePicker } from 'element-plus';
@@ -16,7 +16,7 @@ const props = {
16
16
  };
17
17
  const createBindProps = bindPropsFactory(props);
18
18
  const emits = {
19
- ...timePickerEmits$1
19
+ ...timePickerEmits
20
20
  };
21
21
  const createOnEmits = onEmitsFactory(emits);
22
22
 
@@ -83,18 +83,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
83
83
  }
84
84
  var VkfTimePicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/private-vunk-form/private-vunk-form/packages/components/time-picker/src/index.vue"]]);
85
85
 
86
- const timePickerEmits = {
87
- "update:modelValue": null,
88
- "change": null,
89
- "focus": null,
90
- "blur": null,
91
- "visible-change": null,
92
- "keydown": null
93
- };
94
-
95
86
  var types = /*#__PURE__*/Object.freeze({
96
- __proto__: null,
97
- timePickerEmits: timePickerEmits
87
+ __proto__: null
98
88
  });
99
89
 
100
90
  VkfTimePicker.install = (app) => {
@@ -5,14 +5,6 @@ export type TimePickerSlots = {
5
5
  default?: Func;
6
6
  'range-separator'?: Func;
7
7
  };
8
- export declare const timePickerEmits: {
9
- 'update:modelValue': any;
10
- change: any;
11
- focus: any;
12
- blur: any;
13
- 'visible-change': any;
14
- keydown: any;
15
- };
16
8
  export interface Source<P = string> extends VueComponentPropsType<typeof VkfTimePicker>, BasicSource {
17
9
  prop?: P;
18
10
  templateType: 'VkfTimePicker';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/form",
3
- "version": "2.17.0",
3
+ "version": "2.17.2",
4
4
  "description": "",
5
5
  "main": "index.esm.js",
6
6
  "scripts": {