erp-plus 1.0.169 → 1.0.170
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/dist/erp-plus.css +1 -1
- package/dist/erp-plus.es.js +2377 -2354
- package/dist/erp-plus.umd.js +33 -33
- package/dist/packages/RemoteDialogSelect/RemoteDialogSelect.vue.d.ts +3 -3
- package/dist/packages/Select/Select.vue.d.ts +1 -1
- package/dist/packages/Select/TreeSelect.vue.d.ts +1 -1
- package/dist/packages/Table/Table.vue.d.ts +4 -4
- package/dist/packages/Table/TableColumn.vue.d.ts +4 -0
- package/dist/packages/Tag/Tag.vue.d.ts +1 -1
- package/dist/packages/VirtualTable/VirtualTable.vue.d.ts +17 -0
- package/package.json +1 -1
|
@@ -116,8 +116,8 @@ declare const _default: DefineComponent<globalThis.ExtractPropTypes<{
|
|
|
116
116
|
value: string;
|
|
117
117
|
label: string;
|
|
118
118
|
};
|
|
119
|
-
clearable: boolean;
|
|
120
119
|
multiple: boolean;
|
|
120
|
+
clearable: boolean;
|
|
121
121
|
existData: boolean;
|
|
122
122
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
123
123
|
selectRef: CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
@@ -340,6 +340,7 @@ declare const _default: DefineComponent<globalThis.ExtractPropTypes<{
|
|
|
340
340
|
popperClass: string;
|
|
341
341
|
placement: "left" | "right" | "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end" | undefined;
|
|
342
342
|
valueKey: string;
|
|
343
|
+
multiple: boolean;
|
|
343
344
|
validateEvent: boolean;
|
|
344
345
|
suffixIcon: string | Function | Record<string, any>;
|
|
345
346
|
autocomplete: string;
|
|
@@ -352,7 +353,6 @@ declare const _default: DefineComponent<globalThis.ExtractPropTypes<{
|
|
|
352
353
|
noMatchText: string;
|
|
353
354
|
noDataText: string;
|
|
354
355
|
remoteMethod: (query: string) => void;
|
|
355
|
-
multiple: boolean;
|
|
356
356
|
multipleLimit: number;
|
|
357
357
|
defaultFirstOption: boolean;
|
|
358
358
|
reserveKeyword: boolean;
|
|
@@ -584,6 +584,7 @@ declare const _default: DefineComponent<globalThis.ExtractPropTypes<{
|
|
|
584
584
|
popperClass: string;
|
|
585
585
|
placement: "left" | "right" | "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end" | undefined;
|
|
586
586
|
valueKey: string;
|
|
587
|
+
multiple: boolean;
|
|
587
588
|
validateEvent: boolean;
|
|
588
589
|
suffixIcon: string | Function | Record<string, any>;
|
|
589
590
|
autocomplete: string;
|
|
@@ -596,7 +597,6 @@ declare const _default: DefineComponent<globalThis.ExtractPropTypes<{
|
|
|
596
597
|
noMatchText: string;
|
|
597
598
|
noDataText: string;
|
|
598
599
|
remoteMethod: (query: string) => void;
|
|
599
|
-
multiple: boolean;
|
|
600
600
|
multipleLimit: number;
|
|
601
601
|
defaultFirstOption: boolean;
|
|
602
602
|
reserveKeyword: boolean;
|
|
@@ -407,6 +407,7 @@ declare const _default: DefineComponent<globalThis.ExtractPropTypes<{
|
|
|
407
407
|
popperClass: string;
|
|
408
408
|
placement: placementType;
|
|
409
409
|
valueKey: string;
|
|
410
|
+
multiple: boolean;
|
|
410
411
|
validateEvent: boolean;
|
|
411
412
|
suffixIcon: string | Function | Record<string, any>;
|
|
412
413
|
autocomplete: string;
|
|
@@ -419,7 +420,6 @@ declare const _default: DefineComponent<globalThis.ExtractPropTypes<{
|
|
|
419
420
|
noMatchText: string;
|
|
420
421
|
noDataText: string;
|
|
421
422
|
remoteMethod: (query: string) => void;
|
|
422
|
-
multiple: boolean;
|
|
423
423
|
multipleLimit: number;
|
|
424
424
|
defaultFirstOption: boolean;
|
|
425
425
|
reserveKeyword: boolean;
|
|
@@ -65,11 +65,11 @@ declare const _default: DefineComponent<__VLS_Props, {
|
|
|
65
65
|
teleported: boolean;
|
|
66
66
|
defaultExpandAll: boolean;
|
|
67
67
|
indent: number;
|
|
68
|
+
multiple: boolean;
|
|
68
69
|
nodeKey: string;
|
|
69
70
|
defaultExpandedKeys: Array<string | number>;
|
|
70
71
|
clearable: boolean;
|
|
71
72
|
filterable: boolean;
|
|
72
|
-
multiple: boolean;
|
|
73
73
|
collapseTags: boolean;
|
|
74
74
|
collapseTagsTooltip: boolean;
|
|
75
75
|
maxCollapseTags: number;
|
|
@@ -766,7 +766,7 @@ declare function __VLS_template(): {
|
|
|
766
766
|
namespace: ComputedRef<string>;
|
|
767
767
|
b: (blockSuffix?: string) => string;
|
|
768
768
|
e: (element?: string) => string;
|
|
769
|
-
m: (modifier
|
|
769
|
+
m: (modifier? /** arrayValueKey 的别名,便于非数组场景复用 */: string) => string;
|
|
770
770
|
be: (blockSuffix?: string, element?: string) => string;
|
|
771
771
|
em: (element?: string, modifier?: string) => string;
|
|
772
772
|
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
@@ -1504,7 +1504,7 @@ declare function __VLS_template(): {
|
|
|
1504
1504
|
namespace: ComputedRef<string>;
|
|
1505
1505
|
b: (blockSuffix?: string) => string;
|
|
1506
1506
|
e: (element?: string) => string;
|
|
1507
|
-
m: (modifier
|
|
1507
|
+
m: (modifier? /** arrayValueKey 的别名,便于非数组场景复用 */: string) => string;
|
|
1508
1508
|
be: (blockSuffix?: string, element?: string) => string;
|
|
1509
1509
|
em: (element?: string, modifier?: string) => string;
|
|
1510
1510
|
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
@@ -2315,7 +2315,7 @@ declare const __VLS_component: DefineComponent<TableProps, {
|
|
|
2315
2315
|
namespace: ComputedRef<string>;
|
|
2316
2316
|
b: (blockSuffix?: string) => string;
|
|
2317
2317
|
e: (element?: string) => string;
|
|
2318
|
-
m: (modifier
|
|
2318
|
+
m: (modifier? /** arrayValueKey 的别名,便于非数组场景复用 */: string) => string;
|
|
2319
2319
|
be: (blockSuffix?: string, element?: string) => string;
|
|
2320
2320
|
em: (element?: string, modifier?: string) => string;
|
|
2321
2321
|
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
@@ -3053,7 +3053,7 @@ declare const __VLS_component: DefineComponent<TableProps, {
|
|
|
3053
3053
|
namespace: ComputedRef<string>;
|
|
3054
3054
|
b: (blockSuffix?: string) => string;
|
|
3055
3055
|
e: (element?: string) => string;
|
|
3056
|
-
m: (modifier
|
|
3056
|
+
m: (modifier? /** arrayValueKey 的别名,便于非数组场景复用 */: string) => string;
|
|
3057
3057
|
be: (blockSuffix?: string, element?: string) => string;
|
|
3058
3058
|
em: (element?: string, modifier?: string) => string;
|
|
3059
3059
|
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
@@ -12,6 +12,10 @@ type __VLS_Props = {
|
|
|
12
12
|
getErrorMsg: (index: number, prop: string) => string | undefined;
|
|
13
13
|
/** 错误气泡 z-index:表格在弹窗内 = 所属 .el-overlay z + 1;不在弹层内 = 1500(低于所有 EP 弹层)。 */
|
|
14
14
|
errorTipZIndex?: number;
|
|
15
|
+
/** 表格体正在滚动(由 Table 传入):只约束 hover 溢出 tooltip(teleported popper 滚动时
|
|
16
|
+
* 不跟随,钉死在旧位置)。校验错误已改随行 DOM 文本层(yw-table-error-text),
|
|
17
|
+
* 天然跟随滚动,不受此开关影响。 */
|
|
18
|
+
isScrolling?: boolean;
|
|
15
19
|
checkedState: (row: any) => string;
|
|
16
20
|
checkedStateSingle: (row: any) => string;
|
|
17
21
|
checkedAllState: () => string;
|
|
@@ -29,8 +29,8 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, Comp
|
|
|
29
29
|
type: TagType;
|
|
30
30
|
label: string;
|
|
31
31
|
square: boolean;
|
|
32
|
-
variant: TagVariant;
|
|
33
32
|
dense: boolean;
|
|
33
|
+
variant: TagVariant;
|
|
34
34
|
shape: TagShape;
|
|
35
35
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
36
36
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -38,6 +38,23 @@ interface Props {
|
|
|
38
38
|
/** 合计数值千分位(默认开):内置求和结果与 summaryMethod 返回的 number 都加千分位,
|
|
39
39
|
* 字符串值视为业务已格式化、原样渲染。关掉传 :summary-thousands="false"。 */
|
|
40
40
|
summaryThousands?: boolean;
|
|
41
|
+
/** 行类名(与 yw-table 同签名):string | ({ row, rowIndex }) => string。
|
|
42
|
+
* 落点:TableV2 官方 rowClass getter —— row 渲染器里业务值被合入 kls 数组
|
|
43
|
+
* (不会像 rowProps.class 那样被内部 class 覆盖),软删除/悬浮/选中类照常共存。 */
|
|
44
|
+
rowClassName?: string | ((data: {
|
|
45
|
+
row: any;
|
|
46
|
+
rowIndex: number;
|
|
47
|
+
}) => string);
|
|
48
|
+
/** 行样式(与 yw-table 同签名):CSSProperties | ({ row, rowIndex }) => CSSProperties。
|
|
49
|
+
* 落点:表格级 cellProps 的 style(⚠️ 不能走 rowProps.style —— EP row 渲染器里是
|
|
50
|
+
* 对象 spread,业务 style 会被内部布局 style 直接覆盖;cell 渲染器里 extraCellProps
|
|
51
|
+
* 排在 mergeProps 尾部,style 是合并语义:布局 width/height 保留、业务属性叠加)。
|
|
52
|
+
* 单元格默认透明,视觉与 yw-table 的 tr 背景一致;左固定/主表体/右固定三个滚动段
|
|
53
|
+
* 都走 Cell 渲染器,固定列也能一起染色。 */
|
|
54
|
+
rowStyle?: CSSProperties | ((data: {
|
|
55
|
+
row: any;
|
|
56
|
+
rowIndex: number;
|
|
57
|
+
}) => CSSProperties);
|
|
41
58
|
}
|
|
42
59
|
declare const _default: DefineComponent<Props, {
|
|
43
60
|
validate: () => boolean;
|