@94ai/nf-table 3.2.82 → 3.3.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.
@@ -1,53 +1,30 @@
1
- declare const _default: import("vue-demi").DefineComponent<{
2
- columnEdit: {
3
- type: import("vue-demi").PropType<boolean>;
4
- default: boolean;
5
- };
6
- operationPropKey: {
7
- type: import("vue-demi").PropType<string>;
8
- default: string;
9
- };
10
- storageKey: {
11
- type: import("vue-demi").PropType<string>;
12
- default: string;
13
- };
14
- basicFieldDesc: {
15
- type: import("vue-demi").PropType<string>;
16
- default: string;
17
- };
18
- tableColumns: {
19
- type: import("vue-demi").PropType<Record<string, any>[]>;
20
- default: () => never[];
21
- };
22
- searchPlaceholder: {
23
- type: import("vue-demi").PropType<string>;
24
- default: string;
25
- };
26
- fixedLeftDesc: {
27
- type: import("vue-demi").PropType<string>;
28
- default: string;
29
- };
30
- clearDesc: {
31
- type: import("vue-demi").PropType<string>;
32
- default: string;
33
- };
34
- noFixedDesc: {
35
- type: import("vue-demi").PropType<string>;
36
- default: string;
37
- };
38
- selectEmptyWarningTips: {
39
- type: import("vue-demi").PropType<string>;
40
- default: string;
41
- };
42
- getCheckedLengthDesc: {
43
- type: import("vue-demi").PropType<Function>;
44
- default: (length: any) => string;
45
- };
46
- getAllCheckDesc: {
47
- type: import("vue-demi").PropType<Function>;
48
- default: (length: any) => string;
49
- };
50
- }, {
1
+ declare const _default: import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ searchPlaceholder?: string | undefined;
3
+ fixedLeftDesc?: string | undefined;
4
+ clearDesc?: string | undefined;
5
+ noFixedDesc?: string | undefined;
6
+ basicFieldDesc?: string | undefined;
7
+ selectEmptyWarningTips?: string | undefined;
8
+ getCheckedLengthDesc?: Function | undefined;
9
+ getAllCheckDesc?: Function | undefined;
10
+ columnEdit?: boolean | undefined;
11
+ tableColumns?: Record<string, any>[] | undefined;
12
+ storageKey?: string | undefined;
13
+ operationPropKey?: string | undefined;
14
+ }>, {
15
+ selectEmptyWarningTips: string;
16
+ searchPlaceholder: string;
17
+ fixedLeftDesc: string;
18
+ clearDesc: string;
19
+ noFixedDesc: string;
20
+ basicFieldDesc: string;
21
+ getCheckedLengthDesc: (length: any) => string;
22
+ getAllCheckDesc: (length: any) => string;
23
+ tableColumns: () => never[];
24
+ columnEdit: boolean;
25
+ storageKey: string;
26
+ operationPropKey: string;
27
+ }>, {
51
28
  syncTableColumnsToCookies: () => Record<string, any>;
52
29
  setFields: (tableColumns: any) => void;
53
30
  updateColumn: () => void;
@@ -73,56 +50,33 @@ declare const _default: import("vue-demi").DefineComponent<{
73
50
  ghostClass: string;
74
51
  }>;
75
52
  drag: import("vue-demi").Ref<boolean>;
76
- }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue-demi").ExtractPropTypes<{
77
- columnEdit: {
78
- type: import("vue-demi").PropType<boolean>;
79
- default: boolean;
80
- };
81
- operationPropKey: {
82
- type: import("vue-demi").PropType<string>;
83
- default: string;
84
- };
85
- storageKey: {
86
- type: import("vue-demi").PropType<string>;
87
- default: string;
88
- };
89
- basicFieldDesc: {
90
- type: import("vue-demi").PropType<string>;
91
- default: string;
92
- };
93
- tableColumns: {
94
- type: import("vue-demi").PropType<Record<string, any>[]>;
95
- default: () => never[];
96
- };
97
- searchPlaceholder: {
98
- type: import("vue-demi").PropType<string>;
99
- default: string;
100
- };
101
- fixedLeftDesc: {
102
- type: import("vue-demi").PropType<string>;
103
- default: string;
104
- };
105
- clearDesc: {
106
- type: import("vue-demi").PropType<string>;
107
- default: string;
108
- };
109
- noFixedDesc: {
110
- type: import("vue-demi").PropType<string>;
111
- default: string;
112
- };
113
- selectEmptyWarningTips: {
114
- type: import("vue-demi").PropType<string>;
115
- default: string;
116
- };
117
- getCheckedLengthDesc: {
118
- type: import("vue-demi").PropType<Function>;
119
- default: (length: any) => string;
120
- };
121
- getAllCheckDesc: {
122
- type: import("vue-demi").PropType<Function>;
123
- default: (length: any) => string;
124
- };
125
- }>>, {
53
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
54
+ searchPlaceholder?: string | undefined;
55
+ fixedLeftDesc?: string | undefined;
56
+ clearDesc?: string | undefined;
57
+ noFixedDesc?: string | undefined;
58
+ basicFieldDesc?: string | undefined;
59
+ selectEmptyWarningTips?: string | undefined;
60
+ getCheckedLengthDesc?: Function | undefined;
61
+ getAllCheckDesc?: Function | undefined;
62
+ columnEdit?: boolean | undefined;
63
+ tableColumns?: Record<string, any>[] | undefined;
64
+ storageKey?: string | undefined;
65
+ operationPropKey?: string | undefined;
66
+ }>, {
67
+ selectEmptyWarningTips: string;
68
+ searchPlaceholder: string;
69
+ fixedLeftDesc: string;
70
+ clearDesc: string;
71
+ noFixedDesc: string;
72
+ basicFieldDesc: string;
73
+ getCheckedLengthDesc: (length: any) => string;
74
+ getAllCheckDesc: (length: any) => string;
75
+ tableColumns: () => never[];
76
+ columnEdit: boolean;
77
+ storageKey: string;
78
+ operationPropKey: string;
79
+ }>>>, {
126
80
  columnEdit: boolean;
127
81
  operationPropKey: string;
128
82
  storageKey: string;
@@ -137,3 +91,20 @@ declare const _default: import("vue-demi").DefineComponent<{
137
91
  getAllCheckDesc: Function;
138
92
  }>;
139
93
  export default _default;
94
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
95
+ type __VLS_TypePropsToRuntimeProps<T> = {
96
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
97
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
98
+ } : {
99
+ type: import('vue').PropType<T[K]>;
100
+ required: true;
101
+ };
102
+ };
103
+ type __VLS_WithDefaults<P, D> = {
104
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
105
+ default: D[K];
106
+ }> : P[K];
107
+ };
108
+ type __VLS_Prettify<T> = {
109
+ [K in keyof T]: T[K];
110
+ } & {};
@@ -6092,13 +6092,13 @@ __sfc_main.props = {
6092
6092
  columnCheckGetCheckedLengthDesc: {
6093
6093
  key: "columnCheckGetCheckedLengthDesc",
6094
6094
  required: false,
6095
- type: Function,
6095
+ type: null,
6096
6096
  default: (length) => "已选(" + length + ")"
6097
6097
  },
6098
6098
  columnCheckGetAllCheckDesc: {
6099
6099
  key: "columnCheckGetAllCheckDesc",
6100
6100
  required: false,
6101
- type: Function,
6101
+ type: null,
6102
6102
  default: (length) => "全选(" + length + ")"
6103
6103
  },
6104
6104
  columnCheckTabs: {
@@ -6090,13 +6090,13 @@ __sfc_main.props = {
6090
6090
  columnCheckGetCheckedLengthDesc: {
6091
6091
  key: "columnCheckGetCheckedLengthDesc",
6092
6092
  required: false,
6093
- type: Function,
6093
+ type: null,
6094
6094
  default: (length) => "已选(" + length + ")"
6095
6095
  },
6096
6096
  columnCheckGetAllCheckDesc: {
6097
6097
  key: "columnCheckGetAllCheckDesc",
6098
6098
  required: false,
6099
- type: Function,
6099
+ type: null,
6100
6100
  default: (length) => "全选(" + length + ")"
6101
6101
  },
6102
6102
  columnCheckTabs: {