@vunk/form 1.1.19 → 1.1.21

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.
@@ -27,6 +27,10 @@ const props = __spreadProps(__spreadValues({}, _VkfFormItemCtx.props), {
27
27
  dictId: {
28
28
  type: String,
29
29
  default: ""
30
+ },
31
+ url: {
32
+ type: String,
33
+ default: ""
30
34
  }
31
35
  });
32
36
  const emits = {};
@@ -8,6 +8,10 @@ declare const _default: import("vue").DefineComponent<{
8
8
  type: StringConstructor;
9
9
  default: string;
10
10
  };
11
+ url: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
11
15
  required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
12
16
  label: StringConstructor;
13
17
  labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
@@ -108,6 +112,10 @@ declare const _default: import("vue").DefineComponent<{
108
112
  type: StringConstructor;
109
113
  default: string;
110
114
  };
115
+ url: {
116
+ type: StringConstructor;
117
+ default: string;
118
+ };
111
119
  required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
112
120
  label: StringConstructor;
113
121
  labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
@@ -168,6 +176,7 @@ declare const _default: import("vue").DefineComponent<{
168
176
  inline: boolean;
169
177
  readonly: boolean;
170
178
  labelPosition: "right";
179
+ url: string;
171
180
  dictId: string;
172
181
  }>;
173
182
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/form",
3
- "version": "1.1.19",
3
+ "version": "1.1.21",
4
4
  "description": "",
5
5
  "main": "index.esm.js",
6
6
  "scripts": {
@@ -84,3 +84,9 @@ export declare const createCascaderOnEmits: <T2 extends import("@vunk/core").Any
84
84
  expandChange: (...e: import("@vunk/core").RestParameters<T2>) => void;
85
85
  removeTag: (...e: import("@vunk/core").RestParameters<T2>) => void;
86
86
  }[P]; };
87
+ export declare const createSliderBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"placement", keyof T2> | Extract<"id", keyof T2> | Extract<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"vertical", keyof T2> | Extract<"step", keyof T2> | Extract<"max", keyof T2> | Extract<"min", keyof T2> | Extract<"debounce", keyof T2> | Extract<"showInput", keyof T2> | Extract<"showInputControls", keyof T2> | Extract<"inputSize", keyof T2> | Extract<"showStops", keyof T2> | Extract<"showTooltip", keyof T2> | Extract<"formatTooltip", keyof T2> | Extract<"range", keyof T2> | Extract<"height", keyof T2> | Extract<"rangeStartLabel", keyof T2> | Extract<"rangeEndLabel", keyof T2> | Extract<"formatValueText", keyof T2> | Extract<"tooltipClass", keyof T2> | Extract<"marks", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"placement", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"vertical", keyof T2>, KE> | Exclude<Extract<"step", keyof T2>, KE> | Exclude<Extract<"max", keyof T2>, KE> | Exclude<Extract<"min", keyof T2>, KE> | Exclude<Extract<"debounce", keyof T2>, KE> | Exclude<Extract<"showInput", keyof T2>, KE> | Exclude<Extract<"showInputControls", keyof T2>, KE> | Exclude<Extract<"inputSize", keyof T2>, KE> | Exclude<Extract<"showStops", keyof T2>, KE> | Exclude<Extract<"showTooltip", keyof T2>, KE> | Exclude<Extract<"formatTooltip", keyof T2>, KE> | Exclude<Extract<"range", keyof T2>, KE> | Exclude<Extract<"height", keyof T2>, KE> | Exclude<Extract<"rangeStartLabel", keyof T2>, KE> | Exclude<Extract<"rangeEndLabel", keyof T2>, KE> | Exclude<Extract<"formatValueText", keyof T2>, KE> | Exclude<Extract<"tooltipClass", keyof T2>, KE> | Exclude<Extract<"marks", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"placement", keyof T2> | Extract<"id", keyof T2> | Extract<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"vertical", keyof T2> | Extract<"step", keyof T2> | Extract<"max", keyof T2> | Extract<"min", keyof T2> | Extract<"debounce", keyof T2> | Extract<"showInput", keyof T2> | Extract<"showInputControls", keyof T2> | Extract<"inputSize", keyof T2> | Extract<"showStops", keyof T2> | Extract<"showTooltip", keyof T2> | Extract<"formatTooltip", keyof T2> | Extract<"range", keyof T2> | Extract<"height", keyof T2> | Extract<"rangeStartLabel", keyof T2> | Extract<"rangeEndLabel", keyof T2> | Extract<"formatValueText", keyof T2> | Extract<"tooltipClass", keyof T2> | Extract<"marks", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"placement", keyof T2> | Extract<"id", keyof T2> | Extract<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"vertical", keyof T2> | Extract<"step", keyof T2> | Extract<"max", keyof T2> | Extract<"min", keyof T2> | Extract<"debounce", keyof T2> | Extract<"showInput", keyof T2> | Extract<"showInputControls", keyof T2> | Extract<"inputSize", keyof T2> | Extract<"showStops", keyof T2> | Extract<"showTooltip", keyof T2> | Extract<"formatTooltip", keyof T2> | Extract<"range", keyof T2> | Extract<"height", keyof T2> | Extract<"rangeStartLabel", keyof T2> | Extract<"rangeEndLabel", keyof T2> | Extract<"formatValueText", keyof T2> | Extract<"tooltipClass", keyof T2> | Extract<"marks", keyof T2>]: T2[k]; }[P]; }>;
88
+ export declare const createSliderOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "input" | "change")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue", KE> | Exclude<"input", KE> | Exclude<"change", KE> : "update:modelValue" | "input" | "change"]: {
89
+ "update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
90
+ input: (...e: import("@vunk/core").RestParameters<T2>) => void;
91
+ change: (...e: import("@vunk/core").RestParameters<T2>) => void;
92
+ }[P]; };
@@ -1,4 +1,4 @@
1
- import { useTooltipContentProps, tagProps, timePickerDefaultProps, inputProps, inputEmits, formProps, formEmits, formItemProps, switchProps, switchEmits, inputNumberProps, inputNumberEmits, radioGroupProps, radioGroupEmits, checkboxGroupProps, checkboxGroupEmits, uploadProps, colorPickerProps, colorPickerEmits, buttonProps, buttonEmits, cascaderProps, cascaderEmits } from 'element-plus';
1
+ import { useTooltipContentProps, tagProps, timePickerDefaultProps, inputProps, inputEmits, formProps, formEmits, formItemProps, switchProps, switchEmits, inputNumberProps, inputNumberEmits, radioGroupProps, radioGroupEmits, checkboxGroupProps, checkboxGroupEmits, uploadProps, colorPickerProps, colorPickerEmits, buttonProps, buttonEmits, cascaderProps, cascaderEmits, sliderProps, sliderEmits } from 'element-plus';
2
2
  import { bindPropsFactory, onEmitsFactory } from '@vunk/core/shared/utils-vue';
3
3
  import { openBlock, createElementBlock, createElementVNode } from 'vue';
4
4
 
@@ -214,5 +214,7 @@ const createButtonBindProps = bindPropsFactory(buttonProps);
214
214
  const createButtonOnEmits = onEmitsFactory(buttonEmits);
215
215
  const createCascaderBindProps = bindPropsFactory(cascaderProps);
216
216
  const createCascaderOnEmits = onEmitsFactory(cascaderEmits);
217
+ const createSliderBindProps = bindPropsFactory(sliderProps);
218
+ const createSliderOnEmits = onEmitsFactory(sliderEmits);
217
219
 
218
- export { createButtonBindProps, createButtonOnEmits, createCascaderBindProps, createCascaderOnEmits, createCheckboxGroupBindProps, createCheckboxGroupOnEmits, createColorPickerBindProps, createColorPickerOnEmits, createDatePickerBindProps, createDatePickerOnEmits, createFormBindProps, createFormItemBindProps, createFormOnEmits, createInputBindProps, createInputNumberBindProps, createInputNumberOnEmits, createInputOnEmits, createRadioGroupBindProps, createRadioGroupOnEmits, createSelectBindProps, createSelectOnEmits, createSwitchBindProps, createSwitchOnEmits, createUploadBindProps, datePickerEmits, datePickerProps, selectEmits, selectProps };
220
+ export { createButtonBindProps, createButtonOnEmits, createCascaderBindProps, createCascaderOnEmits, createCheckboxGroupBindProps, createCheckboxGroupOnEmits, createColorPickerBindProps, createColorPickerOnEmits, createDatePickerBindProps, createDatePickerOnEmits, createFormBindProps, createFormItemBindProps, createFormOnEmits, createInputBindProps, createInputNumberBindProps, createInputNumberOnEmits, createInputOnEmits, createRadioGroupBindProps, createRadioGroupOnEmits, createSelectBindProps, createSelectOnEmits, createSliderBindProps, createSliderOnEmits, createSwitchBindProps, createSwitchOnEmits, createUploadBindProps, datePickerEmits, datePickerProps, selectEmits, selectProps };