@vtj/ui 0.8.100 → 0.8.101

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vtj/ui",
3
3
  "private": false,
4
- "version": "0.8.100",
4
+ "version": "0.8.101",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "node": ">=16.0.0"
@@ -12,8 +12,8 @@
12
12
  "sortablejs": "~1.15.2",
13
13
  "vxe-table": "~4.6.17",
14
14
  "vxe-table-plugin-menus": "~4.0.3",
15
- "@vtj/utils": "~0.8.100",
16
- "@vtj/icons": "~0.8.100"
15
+ "@vtj/icons": "~0.8.101",
16
+ "@vtj/utils": "~0.8.101"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@types/qrcode": "^1.5.5",
@@ -86,7 +86,7 @@ declare const __VLS_component: DefineComponent<{
86
86
  blur: () => void;
87
87
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
88
88
  blur: () => void;
89
- change: (value: any) => void;
89
+ change: (value: any, data?: any) => void;
90
90
  focus: () => void;
91
91
  "update:modelValue": (value: any) => void;
92
92
  }, string, PublicProps, Readonly< ExtractPropTypes<{
@@ -152,7 +152,7 @@ declare const __VLS_component: DefineComponent<{
152
152
  }>> & {
153
153
  onFocus?: (() => any) | undefined;
154
154
  onBlur?: (() => any) | undefined;
155
- onChange?: ((value: any) => any) | undefined;
155
+ onChange?: ((value: any, data?: any) => any) | undefined;
156
156
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
157
157
  }, {
158
158
  visible: boolean | Function | Record<string, any>;
@@ -11,9 +11,13 @@ declare function __VLS_template(): {
11
11
  };
12
12
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
13
13
  options: () => FieldOption[];
14
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
14
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
15
+ change: (...args: any[]) => void;
16
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
15
17
  options: () => FieldOption[];
16
- }>>>, {
18
+ }>>> & {
19
+ onChange?: ((...args: any[]) => any) | undefined;
20
+ }, {
17
21
  options: FieldOption[];
18
22
  }, {}>;
19
23
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
@@ -13,7 +13,7 @@ export interface FieldEditorProps {
13
13
  modelValue?: any;
14
14
  onFocus?: () => void;
15
15
  onBlur?: () => void;
16
- onChange?: (v: any) => void;
16
+ onChange?: (v: any, data?: any) => void;
17
17
  'onUpdate:modelValue'?: (v: any) => void;
18
18
  [key: string]: any;
19
19
  }
@@ -140,7 +140,7 @@ export declare const fieldProps: {
140
140
  export type FieldProps = ComponentPropsType<typeof fieldProps> & Partial<UnReadOnly<FormItemProps>>;
141
141
  export type FieldEmits = {
142
142
  'update:modelValue': [value: any];
143
- change: [value: any];
143
+ change: [value: any, data?: any];
144
144
  focus: [];
145
145
  blur: [];
146
146
  };
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) 2024, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/ui
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.8.99
5
+ * @version 0.8.100
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.8.99";
8
+ export declare const version = "0.8.100";