@vtj/ui 0.13.29 → 0.13.31

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.13.29",
4
+ "version": "0.13.31",
5
5
  "type": "module",
6
6
  "keywords": [
7
7
  "低代码引擎",
@@ -29,8 +29,8 @@
29
29
  "sortablejs": "~1.15.6",
30
30
  "vxe-table": "~4.6.17",
31
31
  "vxe-table-plugin-menus": "~4.0.3",
32
- "@vtj/icons": "~0.13.29",
33
- "@vtj/utils": "~0.13.29"
32
+ "@vtj/icons": "~0.13.31",
33
+ "@vtj/utils": "~0.13.31"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/qrcode": "^1.5.5",
@@ -275,7 +275,7 @@ declare function __VLS_template(): {
275
275
  submit: () => void;
276
276
  clearFiles: (states?: UploadStatus[]) => void;
277
277
  handleStart: (rawFile: UploadRawFile) => void;
278
- handleRemove: (file: UploadFile | UploadRawFile, rawFile?: UploadRawFile) => void;
278
+ handleRemove: (file: UploadFile | UploadRawFile) => void;
279
279
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, {
280
280
  readonly data: ({
281
281
  [x: string]: any;
@@ -539,7 +539,7 @@ declare function __VLS_template(): {
539
539
  submit: () => void;
540
540
  clearFiles: (states?: UploadStatus[]) => void;
541
541
  handleStart: (rawFile: UploadRawFile) => void;
542
- handleRemove: (file: UploadFile | UploadRawFile, rawFile?: UploadRawFile) => void;
542
+ handleRemove: (file: UploadFile | UploadRawFile) => void;
543
543
  }> & {} & ComponentCustomProperties & {} & {
544
544
  $slots: {
545
545
  file?(_: {
@@ -1042,7 +1042,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
1042
1042
  submit: () => void;
1043
1043
  clearFiles: (states?: UploadStatus[]) => void;
1044
1044
  handleStart: (rawFile: UploadRawFile) => void;
1045
- handleRemove: (file: UploadFile | UploadRawFile, rawFile?: UploadRawFile) => void;
1045
+ handleRemove: (file: UploadFile | UploadRawFile) => void;
1046
1046
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, {
1047
1047
  readonly data: ({
1048
1048
  [x: string]: any;
@@ -1306,7 +1306,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
1306
1306
  submit: () => void;
1307
1307
  clearFiles: (states?: UploadStatus[]) => void;
1308
1308
  handleStart: (rawFile: UploadRawFile) => void;
1309
- handleRemove: (file: UploadFile | UploadRawFile, rawFile?: UploadRawFile) => void;
1309
+ handleRemove: (file: UploadFile | UploadRawFile) => void;
1310
1310
  }> & {} & ComponentCustomProperties & {} & {
1311
1311
  $slots: {
1312
1312
  file?(_: {
@@ -1823,7 +1823,7 @@ declare function __VLS_template(): {
1823
1823
  form?: Record<string, any> | undefined;
1824
1824
  };
1825
1825
  load: (reset?: boolean) => Promise<void>;
1826
- search: (reset?: boolean) => void;
1826
+ search: (reset?: boolean) => Promise<boolean>;
1827
1827
  vxeRef: Ref< VxeGridInstance | undefined, VxeGridInstance | undefined>;
1828
1828
  rowSortable: Ref<any, any>;
1829
1829
  columnSortable: Ref<any[], any[]>;
@@ -2444,7 +2444,7 @@ declare function __VLS_template(): {
2444
2444
  form?: Record<string, any> | undefined;
2445
2445
  };
2446
2446
  load: (reset?: boolean) => Promise<void>;
2447
- search: (reset?: boolean) => void;
2447
+ search: (reset?: boolean) => Promise<boolean>;
2448
2448
  vxeRef: Ref< VxeGridInstance | undefined, VxeGridInstance | undefined>;
2449
2449
  rowSortable: Ref<any, any>;
2450
2450
  columnSortable: Ref<any[], any[]>;
@@ -4295,7 +4295,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {
4295
4295
  form?: Record<string, any> | undefined;
4296
4296
  };
4297
4297
  load: (reset?: boolean) => Promise<void>;
4298
- search: (reset?: boolean) => void;
4298
+ search: (reset?: boolean) => Promise<boolean>;
4299
4299
  vxeRef: Ref< VxeGridInstance | undefined, VxeGridInstance | undefined>;
4300
4300
  rowSortable: Ref<any, any>;
4301
4301
  columnSortable: Ref<any[], any[]>;
@@ -4916,7 +4916,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {
4916
4916
  form?: Record<string, any> | undefined;
4917
4917
  };
4918
4918
  load: (reset?: boolean) => Promise<void>;
4919
- search: (reset?: boolean) => void;
4919
+ search: (reset?: boolean) => Promise<boolean>;
4920
4920
  vxeRef: Ref< VxeGridInstance | undefined, VxeGridInstance | undefined>;
4921
4921
  rowSortable: Ref<any, any>;
4922
4922
  columnSortable: Ref<any[], any[]>;
@@ -585,7 +585,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
585
585
  form?: Record<string, any> | undefined;
586
586
  };
587
587
  load: (reset?: boolean) => Promise<void>;
588
- search: (reset?: boolean) => void;
588
+ search: (reset?: boolean) => Promise<boolean>;
589
589
  vxeRef: Ref<VxeGridInstance | undefined, VxeGridInstance | undefined>;
590
590
  rowSortable: Ref<any, any>;
591
591
  columnSortable: Ref<any[], any[]>;
@@ -469,7 +469,7 @@ export declare function useLoader(props: GridProps, vxeRef: Ref<VxeGridInstance
469
469
  form?: Record<string, any> | undefined;
470
470
  };
471
471
  load: (reset?: boolean) => Promise<void>;
472
- search: (reset?: boolean) => void;
472
+ search: (reset?: boolean) => Promise<boolean>;
473
473
  onPagerChange: (currentPage: number, pageSize: number) => void;
474
474
  onFilterChange: (e: VxeGridDefines.FilterChangeEventParams) => void;
475
475
  onSortChange: (e: VxeGridDefines.SortChangeEventParams) => void;
@@ -122,6 +122,14 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
122
122
  readonly validator: ((val: unknown) => boolean) | undefined;
123
123
  __epPropKey: true;
124
124
  };
125
+ readonly automaticDropdown: {
126
+ readonly type: PropType<boolean>;
127
+ readonly required: false;
128
+ readonly validator: ((val: unknown) => boolean) | undefined;
129
+ __epPropKey: true;
130
+ } & {
131
+ readonly default: true;
132
+ };
125
133
  readonly id: {
126
134
  readonly type: PropType<SingleOrRange<string>>;
127
135
  readonly required: false;
@@ -273,6 +281,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
273
281
  readonly clearable: boolean;
274
282
  readonly fallbackPlacements: Placement[];
275
283
  readonly popperOptions: Partial<Options>;
284
+ readonly automaticDropdown: boolean;
276
285
  readonly editable: boolean;
277
286
  readonly rangeSeparator: string;
278
287
  readonly shortcuts: unknown[];
@@ -406,6 +415,14 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
406
415
  readonly validator: ((val: unknown) => boolean) | undefined;
407
416
  __epPropKey: true;
408
417
  };
418
+ readonly automaticDropdown: {
419
+ readonly type: PropType<boolean>;
420
+ readonly required: false;
421
+ readonly validator: ((val: unknown) => boolean) | undefined;
422
+ __epPropKey: true;
423
+ } & {
424
+ readonly default: true;
425
+ };
409
426
  readonly id: {
410
427
  readonly type: PropType<SingleOrRange<string>>;
411
428
  readonly required: false;
@@ -557,6 +574,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
557
574
  readonly clearable: boolean;
558
575
  readonly fallbackPlacements: Placement[];
559
576
  readonly popperOptions: Partial<Options>;
577
+ readonly automaticDropdown: boolean;
560
578
  readonly editable: boolean;
561
579
  readonly rangeSeparator: string;
562
580
  readonly shortcuts: unknown[];
@@ -293,9 +293,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
293
293
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
294
294
  input: (value: string) => void;
295
295
  focus: (evt: FocusEvent) => void;
296
- clear: () => void;
297
296
  "update:modelValue": (value: string) => void;
298
297
  change: (value: string) => void;
298
+ clear: () => void;
299
299
  blur: (evt: FocusEvent) => void;
300
300
  compositionend: (evt: CompositionEvent) => void;
301
301
  compositionstart: (evt: CompositionEvent) => void;
@@ -287,9 +287,9 @@ declare const _default: DefineComponent<GridEditorProps, {
287
287
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
288
288
  input: (value: string) => void;
289
289
  focus: (evt: FocusEvent) => void;
290
- clear: () => void;
291
290
  "update:modelValue": (value: string) => void;
292
291
  change: (value: string) => void;
292
+ clear: () => void;
293
293
  blur: (evt: FocusEvent) => void;
294
294
  compositionend: (evt: CompositionEvent) => void;
295
295
  compositionstart: (evt: CompositionEvent) => void;
@@ -641,7 +641,7 @@ declare const _default: DefineComponent<Props, {
641
641
  form?: Record<string, any> | undefined;
642
642
  };
643
643
  load: (reset?: boolean) => Promise<void>;
644
- search: (reset?: boolean) => void;
644
+ search: (reset?: boolean) => Promise<boolean>;
645
645
  vxeRef: Ref< VxeGridInstance | undefined, VxeGridInstance | undefined>;
646
646
  rowSortable: Ref<any, any>;
647
647
  columnSortable: Ref<any[], any[]>;
@@ -1262,7 +1262,7 @@ declare const _default: DefineComponent<Props, {
1262
1262
  form?: Record<string, any> | undefined;
1263
1263
  };
1264
1264
  load: (reset?: boolean) => Promise<void>;
1265
- search: (reset?: boolean) => void;
1265
+ search: (reset?: boolean) => Promise<boolean>;
1266
1266
  vxeRef: Ref< VxeGridInstance | undefined, VxeGridInstance | undefined>;
1267
1267
  rowSortable: Ref<any, any>;
1268
1268
  columnSortable: Ref<any[], any[]>;
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/ui
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.13.28
5
+ * @version 0.13.30
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.13.28";
8
+ export declare const version = "0.13.30";