sun-biz 0.0.4-beta.47 → 0.0.4-beta.49
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/components/index.js
CHANGED
|
@@ -6342,7 +6342,11 @@ const table_selectvue_type_script_lang_ts_setup_true_generic_T_20extends_20Recor
|
|
|
6342
6342
|
showHeader: false
|
|
6343
6343
|
} : {}
|
|
6344
6344
|
},
|
|
6345
|
-
complexConfig: {
|
|
6345
|
+
complexConfig: {
|
|
6346
|
+
default: ()=>({
|
|
6347
|
+
width: 400
|
|
6348
|
+
})
|
|
6349
|
+
},
|
|
6346
6350
|
highlightCurrentRow: {
|
|
6347
6351
|
type: Boolean,
|
|
6348
6352
|
default: true
|
|
@@ -7181,7 +7185,9 @@ const tag_select_exports_ = tag_selectvue_type_script_lang_ts_setup_true;
|
|
|
7181
7185
|
* [1-10013-1]根据条件查询用户列表
|
|
7182
7186
|
* @param params
|
|
7183
7187
|
* @returns
|
|
7184
|
-
*/ const api_queryUserList = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)('/user/queryUserListByExample', params
|
|
7188
|
+
*/ const api_queryUserList = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)('/user/queryUserListByExample', params, {
|
|
7189
|
+
cancel: false
|
|
7190
|
+
});
|
|
7185
7191
|
/* ESM default export */ const user_selectvue_type_script_setup_true_lang_ts_name_UserSelect = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
|
|
7186
7192
|
__name: 'index',
|
|
7187
7193
|
props: {
|
|
@@ -7606,6 +7612,7 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
|
|
|
7606
7612
|
const inputEl = selectRef.value?.$el?.querySelector('input');
|
|
7607
7613
|
if (inputEl) inputEl.blur();
|
|
7608
7614
|
}
|
|
7615
|
+
handleBlur();
|
|
7609
7616
|
selectedRows.value = [];
|
|
7610
7617
|
selectedValue.value = props.multiSelectFlag ? [] : '';
|
|
7611
7618
|
tableRef.value?.eleTable?.clearSelection?.();
|
|
@@ -8055,7 +8062,24 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
|
|
|
8055
8062
|
await getDepartmentList({
|
|
8056
8063
|
keyWord: value
|
|
8057
8064
|
});
|
|
8058
|
-
}, 500); //
|
|
8065
|
+
}, 500); // 滚动到当前选中行
|
|
8066
|
+
const scrollToCurrentRow = ()=>{
|
|
8067
|
+
setTimeout(()=>{
|
|
8068
|
+
if (currentRowIndex.value < 0) return;
|
|
8069
|
+
try {
|
|
8070
|
+
const tableElement = tableRef.value?.eleTable?.$el;
|
|
8071
|
+
if (!tableElement) return; // 查找当前高亮的行
|
|
8072
|
+
const currentRowElement = tableElement.querySelector('.el-table__body tr.current-row');
|
|
8073
|
+
if (!currentRowElement) return; // 使用 scrollIntoView 方法滚动到当前行
|
|
8074
|
+
currentRowElement.scrollIntoView({
|
|
8075
|
+
block: 'nearest',
|
|
8076
|
+
behavior: 'smooth'
|
|
8077
|
+
});
|
|
8078
|
+
} catch (error) {
|
|
8079
|
+
console.error('Error scrolling to current row:', error);
|
|
8080
|
+
}
|
|
8081
|
+
}, 100);
|
|
8082
|
+
}; // 键盘事件
|
|
8059
8083
|
const handleKeydown = (e)=>{
|
|
8060
8084
|
if (!departmentList.value.length || !popoverVisible.value) return;
|
|
8061
8085
|
if ('ArrowDown' === e.key) {
|
|
@@ -8064,6 +8088,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
|
|
|
8064
8088
|
currentRowIndex.value++;
|
|
8065
8089
|
const row = departmentList.value[currentRowIndex.value];
|
|
8066
8090
|
tableRef.value.eleTable?.setCurrentRow(row);
|
|
8091
|
+
scrollToCurrentRow();
|
|
8067
8092
|
}
|
|
8068
8093
|
} else if ('ArrowUp' === e.key) {
|
|
8069
8094
|
e.preventDefault();
|
|
@@ -8071,6 +8096,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
|
|
|
8071
8096
|
currentRowIndex.value--;
|
|
8072
8097
|
const row = departmentList.value[currentRowIndex.value];
|
|
8073
8098
|
tableRef.value.eleTable?.setCurrentRow(row);
|
|
8099
|
+
scrollToCurrentRow();
|
|
8074
8100
|
}
|
|
8075
8101
|
} else if ('Enter' === e.key && currentRowIndex.value >= 0) {
|
|
8076
8102
|
const row = departmentList.value[currentRowIndex.value];
|
|
@@ -8102,6 +8128,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
|
|
|
8102
8128
|
const inputEl = selectRef.value?.$el?.querySelector('input');
|
|
8103
8129
|
if (inputEl) inputEl.blur();
|
|
8104
8130
|
}
|
|
8131
|
+
handleBlur();
|
|
8105
8132
|
selectedRows.value = [];
|
|
8106
8133
|
selectedValue.value = props.multiSelectFlag ? [] : '';
|
|
8107
8134
|
tableRef.value?.eleTable?.clearSelection?.();
|
|
@@ -8329,10 +8356,10 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
|
|
|
8329
8356
|
* @param params
|
|
8330
8357
|
* @returns
|
|
8331
8358
|
*/ const queryWardList = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)('/organization/queryWardListByExample', params);
|
|
8332
|
-
/*
|
|
8333
|
-
96-10013-1 病区选择组件
|
|
8334
|
-
1、调用“1-10155-1 根据条件查询病区列表”传入“启用标志=1、关键字、医院标识=入参:医院标识、科室标识”查询病区列表
|
|
8335
|
-
2、展示列包括“编码、名称”
|
|
8359
|
+
/*
|
|
8360
|
+
96-10013-1 病区选择组件
|
|
8361
|
+
1、调用“1-10155-1 根据条件查询病区列表”传入“启用标志=1、关键字、医院标识=入参:医院标识、科室标识”查询病区列表
|
|
8362
|
+
2、展示列包括“编码、名称”
|
|
8336
8363
|
*/ /* ESM default export */ const ward_selectvue_type_script_setup_true_lang_tsx_name_WardSelect = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
|
|
8337
8364
|
__name: 'index',
|
|
8338
8365
|
props: {
|
|
@@ -8495,7 +8522,24 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
|
|
|
8495
8522
|
await getWardList({
|
|
8496
8523
|
keyWord: value
|
|
8497
8524
|
});
|
|
8498
|
-
}, 500); //
|
|
8525
|
+
}, 500); // 滚动到当前选中行
|
|
8526
|
+
const scrollToCurrentRow = ()=>{
|
|
8527
|
+
setTimeout(()=>{
|
|
8528
|
+
if (currentRowIndex.value < 0) return;
|
|
8529
|
+
try {
|
|
8530
|
+
const tableElement = tableRef.value?.eleTable?.$el;
|
|
8531
|
+
if (!tableElement) return; // 查找当前高亮的行
|
|
8532
|
+
const currentRowElement = tableElement.querySelector('.el-table__body tr.current-row');
|
|
8533
|
+
if (!currentRowElement) return; // 使用 scrollIntoView 方法滚动到当前行
|
|
8534
|
+
currentRowElement.scrollIntoView({
|
|
8535
|
+
block: 'nearest',
|
|
8536
|
+
behavior: 'smooth'
|
|
8537
|
+
});
|
|
8538
|
+
} catch (error) {
|
|
8539
|
+
console.error('Error scrolling to current row:', error);
|
|
8540
|
+
}
|
|
8541
|
+
}, 100);
|
|
8542
|
+
}; // 键盘事件
|
|
8499
8543
|
const handleKeydown = (e)=>{
|
|
8500
8544
|
if (!wardList.value.length || !popoverVisible.value) return;
|
|
8501
8545
|
if ('ArrowDown' === e.key) {
|
|
@@ -8504,6 +8548,7 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
|
|
|
8504
8548
|
currentRowIndex.value++;
|
|
8505
8549
|
const row = wardList.value[currentRowIndex.value];
|
|
8506
8550
|
tableRef.value.eleTable?.setCurrentRow(row);
|
|
8551
|
+
scrollToCurrentRow();
|
|
8507
8552
|
}
|
|
8508
8553
|
} else if ('ArrowUp' === e.key) {
|
|
8509
8554
|
e.preventDefault();
|
|
@@ -8511,6 +8556,7 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
|
|
|
8511
8556
|
currentRowIndex.value--;
|
|
8512
8557
|
const row = wardList.value[currentRowIndex.value];
|
|
8513
8558
|
tableRef.value.eleTable?.setCurrentRow(row);
|
|
8559
|
+
scrollToCurrentRow();
|
|
8514
8560
|
}
|
|
8515
8561
|
} else if ('Enter' === e.key && currentRowIndex.value >= 0) {
|
|
8516
8562
|
const row = wardList.value[currentRowIndex.value];
|
|
@@ -19,23 +19,23 @@
|
|
|
19
19
|
background-color: #0000 !important;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.input[data-v-
|
|
22
|
+
.input[data-v-34ffe8bb] .el-input__inner {
|
|
23
23
|
cursor: pointer !important;
|
|
24
24
|
}
|
|
25
|
-
.table-select-popover[data-v-
|
|
25
|
+
.table-select-popover[data-v-34ffe8bb] {
|
|
26
26
|
height: 350px;
|
|
27
27
|
width: auto !important;
|
|
28
28
|
}
|
|
29
|
-
.table-select-popover-simple .header[data-v-
|
|
29
|
+
.table-select-popover-simple .header[data-v-34ffe8bb] {
|
|
30
30
|
width: 100%;
|
|
31
31
|
}
|
|
32
|
-
.table-select-popover-simple .header > span[data-v-
|
|
32
|
+
.table-select-popover-simple .header > span[data-v-34ffe8bb] {
|
|
33
33
|
flex: var(--simple-column-flex);
|
|
34
34
|
}
|
|
35
|
-
.table-select-popover-simple .cell[data-v-
|
|
35
|
+
.table-select-popover-simple .cell[data-v-34ffe8bb] {
|
|
36
36
|
width: 100%;
|
|
37
37
|
}
|
|
38
|
-
.table-select-popover-simple .cell > span[data-v-
|
|
38
|
+
.table-select-popover-simple .cell > span[data-v-34ffe8bb] {
|
|
39
39
|
flex: var(--simple-column-flex);
|
|
40
40
|
}
|
|
41
41
|
|
package/dist/index.js
CHANGED
|
@@ -7857,7 +7857,9 @@ const tag_select_exports_ = tag_selectvue_type_script_lang_ts_setup_true;
|
|
|
7857
7857
|
* [1-10013-1]根据条件查询用户列表
|
|
7858
7858
|
* @param params
|
|
7859
7859
|
* @returns
|
|
7860
|
-
*/ const api_queryUserList = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)('/user/queryUserListByExample', params
|
|
7860
|
+
*/ const api_queryUserList = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)('/user/queryUserListByExample', params, {
|
|
7861
|
+
cancel: false
|
|
7862
|
+
});
|
|
7861
7863
|
/* ESM default export */ const user_selectvue_type_script_setup_true_lang_ts_name_UserSelect = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
|
|
7862
7864
|
__name: 'index',
|
|
7863
7865
|
props: {
|
|
@@ -8282,6 +8284,7 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
|
|
|
8282
8284
|
const inputEl = selectRef.value?.$el?.querySelector('input');
|
|
8283
8285
|
if (inputEl) inputEl.blur();
|
|
8284
8286
|
}
|
|
8287
|
+
handleBlur();
|
|
8285
8288
|
selectedRows.value = [];
|
|
8286
8289
|
selectedValue.value = props.multiSelectFlag ? [] : '';
|
|
8287
8290
|
tableRef.value?.eleTable?.clearSelection?.();
|
|
@@ -8731,7 +8734,24 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
|
|
|
8731
8734
|
await getDepartmentList({
|
|
8732
8735
|
keyWord: value
|
|
8733
8736
|
});
|
|
8734
|
-
}, 500); //
|
|
8737
|
+
}, 500); // 滚动到当前选中行
|
|
8738
|
+
const scrollToCurrentRow = ()=>{
|
|
8739
|
+
setTimeout(()=>{
|
|
8740
|
+
if (currentRowIndex.value < 0) return;
|
|
8741
|
+
try {
|
|
8742
|
+
const tableElement = tableRef.value?.eleTable?.$el;
|
|
8743
|
+
if (!tableElement) return; // 查找当前高亮的行
|
|
8744
|
+
const currentRowElement = tableElement.querySelector('.el-table__body tr.current-row');
|
|
8745
|
+
if (!currentRowElement) return; // 使用 scrollIntoView 方法滚动到当前行
|
|
8746
|
+
currentRowElement.scrollIntoView({
|
|
8747
|
+
block: 'nearest',
|
|
8748
|
+
behavior: 'smooth'
|
|
8749
|
+
});
|
|
8750
|
+
} catch (error) {
|
|
8751
|
+
console.error('Error scrolling to current row:', error);
|
|
8752
|
+
}
|
|
8753
|
+
}, 100);
|
|
8754
|
+
}; // 键盘事件
|
|
8735
8755
|
const handleKeydown = (e)=>{
|
|
8736
8756
|
if (!departmentList.value.length || !popoverVisible.value) return;
|
|
8737
8757
|
if ('ArrowDown' === e.key) {
|
|
@@ -8740,6 +8760,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
|
|
|
8740
8760
|
currentRowIndex.value++;
|
|
8741
8761
|
const row = departmentList.value[currentRowIndex.value];
|
|
8742
8762
|
tableRef.value.eleTable?.setCurrentRow(row);
|
|
8763
|
+
scrollToCurrentRow();
|
|
8743
8764
|
}
|
|
8744
8765
|
} else if ('ArrowUp' === e.key) {
|
|
8745
8766
|
e.preventDefault();
|
|
@@ -8747,6 +8768,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
|
|
|
8747
8768
|
currentRowIndex.value--;
|
|
8748
8769
|
const row = departmentList.value[currentRowIndex.value];
|
|
8749
8770
|
tableRef.value.eleTable?.setCurrentRow(row);
|
|
8771
|
+
scrollToCurrentRow();
|
|
8750
8772
|
}
|
|
8751
8773
|
} else if ('Enter' === e.key && currentRowIndex.value >= 0) {
|
|
8752
8774
|
const row = departmentList.value[currentRowIndex.value];
|
|
@@ -8778,6 +8800,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
|
|
|
8778
8800
|
const inputEl = selectRef.value?.$el?.querySelector('input');
|
|
8779
8801
|
if (inputEl) inputEl.blur();
|
|
8780
8802
|
}
|
|
8803
|
+
handleBlur();
|
|
8781
8804
|
selectedRows.value = [];
|
|
8782
8805
|
selectedValue.value = props.multiSelectFlag ? [] : '';
|
|
8783
8806
|
tableRef.value?.eleTable?.clearSelection?.();
|
|
@@ -9005,10 +9028,10 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
|
|
|
9005
9028
|
* @param params
|
|
9006
9029
|
* @returns
|
|
9007
9030
|
*/ const queryWardList = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)('/organization/queryWardListByExample', params);
|
|
9008
|
-
/*
|
|
9009
|
-
96-10013-1 病区选择组件
|
|
9010
|
-
1、调用“1-10155-1 根据条件查询病区列表”传入“启用标志=1、关键字、医院标识=入参:医院标识、科室标识”查询病区列表
|
|
9011
|
-
2、展示列包括“编码、名称”
|
|
9031
|
+
/*
|
|
9032
|
+
96-10013-1 病区选择组件
|
|
9033
|
+
1、调用“1-10155-1 根据条件查询病区列表”传入“启用标志=1、关键字、医院标识=入参:医院标识、科室标识”查询病区列表
|
|
9034
|
+
2、展示列包括“编码、名称”
|
|
9012
9035
|
*/ /* ESM default export */ const ward_selectvue_type_script_setup_true_lang_tsx_name_WardSelect = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
|
|
9013
9036
|
__name: 'index',
|
|
9014
9037
|
props: {
|
|
@@ -9171,7 +9194,24 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
|
|
|
9171
9194
|
await getWardList({
|
|
9172
9195
|
keyWord: value
|
|
9173
9196
|
});
|
|
9174
|
-
}, 500); //
|
|
9197
|
+
}, 500); // 滚动到当前选中行
|
|
9198
|
+
const scrollToCurrentRow = ()=>{
|
|
9199
|
+
setTimeout(()=>{
|
|
9200
|
+
if (currentRowIndex.value < 0) return;
|
|
9201
|
+
try {
|
|
9202
|
+
const tableElement = tableRef.value?.eleTable?.$el;
|
|
9203
|
+
if (!tableElement) return; // 查找当前高亮的行
|
|
9204
|
+
const currentRowElement = tableElement.querySelector('.el-table__body tr.current-row');
|
|
9205
|
+
if (!currentRowElement) return; // 使用 scrollIntoView 方法滚动到当前行
|
|
9206
|
+
currentRowElement.scrollIntoView({
|
|
9207
|
+
block: 'nearest',
|
|
9208
|
+
behavior: 'smooth'
|
|
9209
|
+
});
|
|
9210
|
+
} catch (error) {
|
|
9211
|
+
console.error('Error scrolling to current row:', error);
|
|
9212
|
+
}
|
|
9213
|
+
}, 100);
|
|
9214
|
+
}; // 键盘事件
|
|
9175
9215
|
const handleKeydown = (e)=>{
|
|
9176
9216
|
if (!wardList.value.length || !popoverVisible.value) return;
|
|
9177
9217
|
if ('ArrowDown' === e.key) {
|
|
@@ -9180,6 +9220,7 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
|
|
|
9180
9220
|
currentRowIndex.value++;
|
|
9181
9221
|
const row = wardList.value[currentRowIndex.value];
|
|
9182
9222
|
tableRef.value.eleTable?.setCurrentRow(row);
|
|
9223
|
+
scrollToCurrentRow();
|
|
9183
9224
|
}
|
|
9184
9225
|
} else if ('ArrowUp' === e.key) {
|
|
9185
9226
|
e.preventDefault();
|
|
@@ -9187,6 +9228,7 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
|
|
|
9187
9228
|
currentRowIndex.value--;
|
|
9188
9229
|
const row = wardList.value[currentRowIndex.value];
|
|
9189
9230
|
tableRef.value.eleTable?.setCurrentRow(row);
|
|
9231
|
+
scrollToCurrentRow();
|
|
9190
9232
|
}
|
|
9191
9233
|
} else if ('Enter' === e.key && currentRowIndex.value >= 0) {
|
|
9192
9234
|
const row = wardList.value[currentRowIndex.value];
|
|
@@ -10676,7 +10718,11 @@ const table_selectvue_type_script_lang_ts_setup_true_generic_T_20extends_20Recor
|
|
|
10676
10718
|
showHeader: false
|
|
10677
10719
|
} : {}
|
|
10678
10720
|
},
|
|
10679
|
-
complexConfig: {
|
|
10721
|
+
complexConfig: {
|
|
10722
|
+
default: ()=>({
|
|
10723
|
+
width: 400
|
|
10724
|
+
})
|
|
10725
|
+
},
|
|
10680
10726
|
highlightCurrentRow: {
|
|
10681
10727
|
type: Boolean,
|
|
10682
10728
|
default: true
|
|
@@ -10801,10 +10847,11 @@ const table_selectvue_type_script_lang_ts_setup_true_generic_T_20extends_20Recor
|
|
|
10801
10847
|
keydownIndex.value = index;
|
|
10802
10848
|
}
|
|
10803
10849
|
} else {
|
|
10850
|
+
// debugger;
|
|
10804
10851
|
model.value = row;
|
|
10805
10852
|
keydownIndex.value = index;
|
|
10806
10853
|
}
|
|
10807
|
-
|
|
10854
|
+
popoverRef.value?.hide();
|
|
10808
10855
|
}
|
|
10809
10856
|
}
|
|
10810
10857
|
/**
|
|
@@ -10892,10 +10939,13 @@ const table_selectvue_type_script_lang_ts_setup_true_generic_T_20extends_20Recor
|
|
|
10892
10939
|
// requestAnimationFrame(updateScroll);
|
|
10893
10940
|
// }
|
|
10894
10941
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.watchEffect)(()=>{
|
|
10895
|
-
if (model.value) inputValue.value = (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.isArray)(model.value) ? '' : model.value.
|
|
10942
|
+
if (model.value) inputValue.value = (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.isArray)(model.value) ? '' : model.value[props.labelKey];
|
|
10896
10943
|
});
|
|
10897
10944
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount)(()=>{
|
|
10898
10945
|
if (isSimpleMode.value) document.documentElement.style.setProperty('--simple-column-flex', `0 0 ${Math.floor(100 / simpleColumns.value.length)}%`);
|
|
10946
|
+
if (props.data.length) {
|
|
10947
|
+
if (!props.columns.length) console.warn('[sun-biz]:TableSelect需要columns属性来配置表格列信息。');
|
|
10948
|
+
}
|
|
10899
10949
|
});
|
|
10900
10950
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.onMounted)(()=>{
|
|
10901
10951
|
if (props.immediate && props.remoteMethod) props.remoteMethod();
|
|
@@ -10921,7 +10971,7 @@ const table_selectvue_type_script_lang_ts_setup_true_generic_T_20extends_20Recor
|
|
|
10921
10971
|
ref_key: "inputSearchRef",
|
|
10922
10972
|
ref: inputSearchRef,
|
|
10923
10973
|
size: _ctx.size,
|
|
10924
|
-
placeholder: _ctx.$t('global:placeholder.input.template', {
|
|
10974
|
+
placeholder: _ctx.placeholder || _ctx.$t('global:placeholder.input.template', {
|
|
10925
10975
|
content: _ctx.$t('global:search') + _ctx.$t('global:content')
|
|
10926
10976
|
}),
|
|
10927
10977
|
clearable: "",
|
|
@@ -10935,7 +10985,30 @@ const table_selectvue_type_script_lang_ts_setup_true_generic_T_20extends_20Recor
|
|
|
10935
10985
|
]),
|
|
10936
10986
|
onInput: handleInput,
|
|
10937
10987
|
onClear: reset
|
|
10938
|
-
},
|
|
10988
|
+
}, (0, __WEBPACK_EXTERNAL_MODULE_vue__.createSlots)({
|
|
10989
|
+
_: 2
|
|
10990
|
+
}, [
|
|
10991
|
+
_ctx.$slots.prefix ? {
|
|
10992
|
+
name: "prefix",
|
|
10993
|
+
fn: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
10994
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.renderSlot)(_ctx.$slots, "prefix", {
|
|
10995
|
+
value: model.value,
|
|
10996
|
+
inputValue: inputValue.value
|
|
10997
|
+
})
|
|
10998
|
+
]),
|
|
10999
|
+
key: "0"
|
|
11000
|
+
} : void 0,
|
|
11001
|
+
_ctx.$slots.suffix ? {
|
|
11002
|
+
name: "suffix",
|
|
11003
|
+
fn: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
11004
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.renderSlot)(_ctx.$slots, "suffix", {
|
|
11005
|
+
value: model.value,
|
|
11006
|
+
inputValue: inputValue.value
|
|
11007
|
+
})
|
|
11008
|
+
]),
|
|
11009
|
+
key: "1"
|
|
11010
|
+
} : void 0
|
|
11011
|
+
]), 1032, [
|
|
10939
11012
|
"modelValue",
|
|
10940
11013
|
"size",
|
|
10941
11014
|
"placeholder"
|
|
@@ -10943,7 +11016,7 @@ const table_selectvue_type_script_lang_ts_setup_true_generic_T_20extends_20Recor
|
|
|
10943
11016
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElPopover), {
|
|
10944
11017
|
ref_key: "popoverRef",
|
|
10945
11018
|
ref: popoverRef,
|
|
10946
|
-
width:
|
|
11019
|
+
width: _ctx.complexConfig.width,
|
|
10947
11020
|
visible: popoverVisible.value,
|
|
10948
11021
|
"virtual-ref": inputSearchRef.value,
|
|
10949
11022
|
"virtual-triggering": "",
|
|
@@ -10957,6 +11030,7 @@ const table_selectvue_type_script_lang_ts_setup_true_generic_T_20extends_20Recor
|
|
|
10957
11030
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.renderSlot)(_ctx.$slots, "header"),
|
|
10958
11031
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(pro_table), {
|
|
10959
11032
|
ref: "table",
|
|
11033
|
+
"max-height": _ctx.complexConfig.maxHeight,
|
|
10960
11034
|
"component-no": _ctx.componentNo,
|
|
10961
11035
|
"row-key": _ctx.rowKey,
|
|
10962
11036
|
"current-row-key": _ctx.currentRowKey,
|
|
@@ -10968,6 +11042,7 @@ const table_selectvue_type_script_lang_ts_setup_true_generic_T_20extends_20Recor
|
|
|
10968
11042
|
"scroll-loading": _ctx.scrollLoading,
|
|
10969
11043
|
onRowClick: handleRowClick
|
|
10970
11044
|
}, null, 8, [
|
|
11045
|
+
"max-height",
|
|
10971
11046
|
"component-no",
|
|
10972
11047
|
"row-key",
|
|
10973
11048
|
"current-row-key",
|
|
@@ -10989,6 +11064,7 @@ const table_selectvue_type_script_lang_ts_setup_true_generic_T_20extends_20Recor
|
|
|
10989
11064
|
]),
|
|
10990
11065
|
_: 3
|
|
10991
11066
|
}, 8, [
|
|
11067
|
+
"width",
|
|
10992
11068
|
"visible",
|
|
10993
11069
|
"virtual-ref",
|
|
10994
11070
|
"append-to"
|
|
@@ -11010,19 +11086,20 @@ const table_selectvue_type_script_lang_ts_setup_true_generic_T_20extends_20Recor
|
|
|
11010
11086
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.renderSlot)(_ctx.$slots, "default", {}, ()=>[
|
|
11011
11087
|
((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(true), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderList)(_ctx.data, (item, index)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_option, {
|
|
11012
11088
|
class: "cell flex items-center",
|
|
11089
|
+
key: index,
|
|
11013
11090
|
label: item[_ctx.labelKey],
|
|
11014
11091
|
value: item
|
|
11015
11092
|
}, {
|
|
11016
11093
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
11017
11094
|
((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(true), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderList)(simpleColumns.value, (column)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("span", {
|
|
11018
|
-
key:
|
|
11095
|
+
key: column.key
|
|
11019
11096
|
}, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item[column.key]), 1))), 128))
|
|
11020
11097
|
]),
|
|
11021
11098
|
_: 2
|
|
11022
11099
|
}, 1032, [
|
|
11023
11100
|
"label",
|
|
11024
11101
|
"value"
|
|
11025
|
-
]))),
|
|
11102
|
+
]))), 128))
|
|
11026
11103
|
])
|
|
11027
11104
|
]),
|
|
11028
11105
|
_: 2
|
|
@@ -11055,7 +11132,7 @@ const table_selectvue_type_script_lang_ts_setup_true_generic_T_20extends_20Recor
|
|
|
11055
11132
|
const table_select_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(table_selectvue_type_script_lang_ts_setup_true_generic_T_20extends_20Record_3CPropertyKey_2C_20any_3E, [
|
|
11056
11133
|
[
|
|
11057
11134
|
'__scopeId',
|
|
11058
|
-
"data-v-
|
|
11135
|
+
"data-v-34ffe8bb"
|
|
11059
11136
|
]
|
|
11060
11137
|
]);
|
|
11061
11138
|
/* ESM default export */ const table_select = table_select_exports_;
|
|
@@ -55,23 +55,23 @@
|
|
|
55
55
|
margin-top: 8px !important;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
.input[data-v-
|
|
58
|
+
.input[data-v-34ffe8bb] .el-input__inner {
|
|
59
59
|
cursor: pointer !important;
|
|
60
60
|
}
|
|
61
|
-
.table-select-popover[data-v-
|
|
61
|
+
.table-select-popover[data-v-34ffe8bb] {
|
|
62
62
|
height: 350px;
|
|
63
63
|
width: auto !important;
|
|
64
64
|
}
|
|
65
|
-
.table-select-popover-simple .header[data-v-
|
|
65
|
+
.table-select-popover-simple .header[data-v-34ffe8bb] {
|
|
66
66
|
width: 100%;
|
|
67
67
|
}
|
|
68
|
-
.table-select-popover-simple .header > span[data-v-
|
|
68
|
+
.table-select-popover-simple .header > span[data-v-34ffe8bb] {
|
|
69
69
|
flex: var(--simple-column-flex);
|
|
70
70
|
}
|
|
71
|
-
.table-select-popover-simple .cell[data-v-
|
|
71
|
+
.table-select-popover-simple .cell[data-v-34ffe8bb] {
|
|
72
72
|
width: 100%;
|
|
73
73
|
}
|
|
74
|
-
.table-select-popover-simple .cell > span[data-v-
|
|
74
|
+
.table-select-popover-simple .cell > span[data-v-34ffe8bb] {
|
|
75
75
|
flex: var(--simple-column-flex);
|
|
76
76
|
}
|
|
77
77
|
|