tutor-pro-ui-vue 1.3.6-beta → 1.3.10-beta

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.
@@ -8,7 +8,11 @@ type __VLS_PublicProps = {
8
8
  modelValue?: any;
9
9
  } & typeof __VLS_typeProps;
10
10
  declare function __VLS_template(): {
11
- slots: Partial<Record<NonNullable<string | number>, (_: any) => any>>;
11
+ slots: Partial<Record<number, (_: any) => any>> & {
12
+ extraFooter?(_: {
13
+ item: any;
14
+ }): any;
15
+ };
12
16
  refs: {};
13
17
  attrs: Partial<{}>;
14
18
  };
@@ -2,7 +2,11 @@ type __VLS_PublicProps = {
2
2
  modelValue?: any;
3
3
  };
4
4
  declare function __VLS_template(): {
5
- slots: Partial<Record<NonNullable<string | number>, (_: any) => any>>;
5
+ slots: Partial<Record<number, (_: any) => any>> & {
6
+ extraFooter?(_: {
7
+ item: unknown;
8
+ }): any;
9
+ };
6
10
  refs: {};
7
11
  attrs: Partial<{}>;
8
12
  };
@@ -7,7 +7,11 @@ type __VLS_PublicProps = {
7
7
  modelValue?: any;
8
8
  } & typeof __VLS_typeProps;
9
9
  declare function __VLS_template(): {
10
- slots: Partial<Record<NonNullable<string | number>, (_: any) => any>>;
10
+ slots: Partial<Record<number, (_: any) => any>> & {
11
+ extraFooter?(_: {
12
+ item: any;
13
+ }): any;
14
+ };
11
15
  refs: {
12
16
  multipleTag: HTMLSpanElement;
13
17
  };
@@ -1,7 +1,7 @@
1
1
  import { FormItemProps } from 'element-plus';
2
2
  declare let __VLS_typeProps: {
3
- isSearch: boolean;
4
- formItemConfig: Partial<FormItemProps>;
3
+ isSearch?: boolean;
4
+ formItemConfig?: Partial<FormItemProps>;
5
5
  };
6
6
  type __VLS_PublicProps = {
7
7
  modelValue?: any;
@@ -6,6 +6,8 @@ import { default as Upload } from './fields/upload/Upload.vue';
6
6
  import { default as TreeSelect } from './fields/TreeSelect.vue';
7
7
  import { default as Cascader } from './fields/Cascader.vue';
8
8
  import { default as DatePicker } from './fields/DatePicker.vue';
9
+ import { default as Checkbox } from './fields/Checkbox.vue';
10
+ import { default as Radio } from './fields/Radio.vue';
9
11
  declare const CommonForm: SFCWithInstall<typeof Form & {
10
12
  Select?: typeof Select;
11
13
  Input?: typeof Input;
@@ -13,6 +15,8 @@ declare const CommonForm: SFCWithInstall<typeof Form & {
13
15
  TreeSelect?: typeof TreeSelect;
14
16
  Cascader?: typeof Cascader;
15
17
  DatePicker?: typeof DatePicker;
18
+ Checkbox?: typeof Checkbox;
19
+ Radio?: typeof Radio;
16
20
  }>;
17
21
  export default CommonForm;
18
22
  export * from './types';
@@ -68,3 +68,11 @@ export declare const useSelectFilter: (options?: Ref<{
68
68
  label?: string | undefined;
69
69
  }[] | undefined>;
70
70
  };
71
+ /**
72
+ * 获取额外的slots
73
+ */
74
+ export declare const useCustomSlots: () => {
75
+ innerSlots: ComputedRef<import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
76
+ [key: string]: any;
77
+ }>[] | undefined>;
78
+ };
@@ -306,7 +306,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
306
306
  readonly default: () => {
307
307
  show: boolean;
308
308
  title: string;
309
- fixed: string;
310
309
  };
311
310
  };
312
311
  readonly selectionConfig: {
@@ -314,6 +313,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
314
313
  isSelection?: boolean;
315
314
  key?: string;
316
315
  isAcrossPage?: boolean;
316
+ fixed?: string;
317
317
  }>;
318
318
  readonly default: () => {
319
319
  isSelection: boolean;
@@ -408,7 +408,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
408
408
  readonly default: () => {
409
409
  show: boolean;
410
410
  title: string;
411
- fixed: string;
412
411
  };
413
412
  };
414
413
  readonly selectionConfig: {
@@ -416,6 +415,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
416
415
  isSelection?: boolean;
417
416
  key?: string;
418
417
  isAcrossPage?: boolean;
418
+ fixed?: string;
419
419
  }>;
420
420
  readonly default: () => {
421
421
  isSelection: boolean;
@@ -480,6 +480,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
480
480
  isSelection?: boolean;
481
481
  key?: string;
482
482
  isAcrossPage?: boolean;
483
+ fixed?: string;
483
484
  };
484
485
  readonly expandConfig: Partial<TableColumnCtx<any>>;
485
486
  readonly selectData: any[];
@@ -58,7 +58,6 @@ export declare const tableProps: {
58
58
  readonly default: () => {
59
59
  show: boolean;
60
60
  title: string;
61
- fixed: string;
62
61
  };
63
62
  };
64
63
  readonly selectionConfig: {
@@ -66,6 +65,7 @@ export declare const tableProps: {
66
65
  isSelection?: boolean;
67
66
  key?: string;
68
67
  isAcrossPage?: boolean;
68
+ fixed?: string;
69
69
  }>;
70
70
  readonly default: () => {
71
71
  isSelection: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tutor-pro-ui-vue",
3
3
  "private": false,
4
- "version": "1.3.6-beta",
4
+ "version": "1.3.10-beta",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",