sun-biz 0.0.4-beta.46 → 0.0.4-beta.48

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.
@@ -572,7 +572,7 @@ const RenderColumn_exports_ = RenderColumnvue_type_script_lang_ts_setup_true_nam
572
572
  function useFetchDataset(codeSystemCodes, enabledFlag) {
573
573
  const list = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)();
574
574
  async function fetchData() {
575
- if (codeSystemCodes) {
575
+ if (codeSystemCodes && codeSystemCodes?.length) {
576
576
  const [, result] = await queryDataSetByCodeSystemCodes({
577
577
  codeSystemCodes,
578
578
  enabledFlag: enabledFlag ?? __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES
@@ -7181,7 +7181,9 @@ const tag_select_exports_ = tag_selectvue_type_script_lang_ts_setup_true;
7181
7181
  * [1-10013-1]根据条件查询用户列表
7182
7182
  * @param params
7183
7183
  * @returns
7184
- */ const api_queryUserList = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)('/user/queryUserListByExample', params);
7184
+ */ const api_queryUserList = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)('/user/queryUserListByExample', params, {
7185
+ cancel: false
7186
+ });
7185
7187
  /* ESM default export */ const user_selectvue_type_script_setup_true_lang_ts_name_UserSelect = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
7186
7188
  __name: 'index',
7187
7189
  props: {
@@ -7538,7 +7540,24 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
7538
7540
  await getBizUnitList({
7539
7541
  keyWord: value
7540
7542
  });
7541
- }, 500); // 键盘事件
7543
+ }, 500); // 滚动到当前选中行
7544
+ const scrollToCurrentRow = ()=>{
7545
+ setTimeout(()=>{
7546
+ if (currentRowIndex.value < 0) return;
7547
+ try {
7548
+ const tableElement = tableRef.value?.eleTable?.$el;
7549
+ if (!tableElement) return; // 查找当前高亮的行
7550
+ const currentRowElement = tableElement.querySelector('.el-table__body tr.current-row');
7551
+ if (!currentRowElement) return; // 使用 scrollIntoView 方法滚动到当前行
7552
+ currentRowElement.scrollIntoView({
7553
+ block: 'nearest',
7554
+ behavior: 'smooth'
7555
+ });
7556
+ } catch (error) {
7557
+ console.error('Error scrolling to current row:', error);
7558
+ }
7559
+ }, 100);
7560
+ }; // 键盘事件
7542
7561
  const handleKeydown = (e)=>{
7543
7562
  if (!bizUnitList.value.length || !popoverVisible.value) return;
7544
7563
  if ('ArrowDown' === e.key) {
@@ -7547,6 +7566,7 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
7547
7566
  currentRowIndex.value++;
7548
7567
  const row = bizUnitList.value[currentRowIndex.value];
7549
7568
  tableRef.value.eleTable?.setCurrentRow(row);
7569
+ scrollToCurrentRow();
7550
7570
  }
7551
7571
  } else if ('ArrowUp' === e.key) {
7552
7572
  e.preventDefault();
@@ -7554,6 +7574,7 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
7554
7574
  currentRowIndex.value--;
7555
7575
  const row = bizUnitList.value[currentRowIndex.value];
7556
7576
  tableRef.value.eleTable?.setCurrentRow(row);
7577
+ scrollToCurrentRow();
7557
7578
  }
7558
7579
  } else if ('Enter' === e.key && currentRowIndex.value >= 0) {
7559
7580
  const row = bizUnitList.value[currentRowIndex.value];
@@ -7587,6 +7608,7 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
7587
7608
  const inputEl = selectRef.value?.$el?.querySelector('input');
7588
7609
  if (inputEl) inputEl.blur();
7589
7610
  }
7611
+ handleBlur();
7590
7612
  selectedRows.value = [];
7591
7613
  selectedValue.value = props.multiSelectFlag ? [] : '';
7592
7614
  tableRef.value?.eleTable?.clearSelection?.();
@@ -7746,6 +7768,15 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
7746
7768
  }
7747
7769
  });
7748
7770
  });
7771
+ const onClickOutside = ()=>{
7772
+ handleBlur();
7773
+ };
7774
+ const visibleChange = (val)=>{
7775
+ if (val) {
7776
+ loading.value = true;
7777
+ handleFocus();
7778
+ }
7779
+ };
7749
7780
  __expose({
7750
7781
  popoverRef,
7751
7782
  tableRef,
@@ -7787,11 +7818,11 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
7787
7818
  "collapse-tags-tooltip": "",
7788
7819
  filterable: "",
7789
7820
  remote: "",
7790
- "remote-show-suffix": ""
7821
+ "remote-show-suffix": "",
7822
+ loading: loading.value
7791
7823
  }, selectProps.value, {
7792
- onBlur: handleBlur,
7824
+ onVisibleChange: visibleChange,
7793
7825
  onClear: handleClear,
7794
- onFocus: handleFocus,
7795
7826
  onRemoveTag: handleTagRemove
7796
7827
  }), null, 16, [
7797
7828
  "modelValue",
@@ -7800,7 +7831,8 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
7800
7831
  "placeholder",
7801
7832
  "popper-class",
7802
7833
  "remote-method",
7803
- "teleported"
7834
+ "teleported",
7835
+ "loading"
7804
7836
  ])
7805
7837
  ]),
7806
7838
  default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
@@ -7810,7 +7842,7 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
7810
7842
  }),
7811
7843
  class: "w-full overflow-hidden"
7812
7844
  }, [
7813
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(pro_table), (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
7845
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives)((0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(pro_table), (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
7814
7846
  ref_key: "tableRef",
7815
7847
  ref: tableRef,
7816
7848
  columns: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(tableConfig),
@@ -7829,6 +7861,11 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
7829
7861
  "columns",
7830
7862
  "data",
7831
7863
  "loading"
7864
+ ]), [
7865
+ [
7866
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ClickOutside),
7867
+ onClickOutside
7868
+ ]
7832
7869
  ])
7833
7870
  ], 4)
7834
7871
  ]),
@@ -8068,6 +8105,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
8068
8105
  const inputEl = selectRef.value?.$el?.querySelector('input');
8069
8106
  if (inputEl) inputEl.blur();
8070
8107
  }
8108
+ handleBlur();
8071
8109
  selectedRows.value = [];
8072
8110
  selectedValue.value = props.multiSelectFlag ? [] : '';
8073
8111
  tableRef.value?.eleTable?.clearSelection?.();
@@ -8180,6 +8218,15 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
8180
8218
  }
8181
8219
  });
8182
8220
  });
8221
+ const onClickOutside = ()=>{
8222
+ handleBlur();
8223
+ };
8224
+ const visibleChange = (val)=>{
8225
+ if (val) {
8226
+ loading.value = true;
8227
+ handleFocus();
8228
+ }
8229
+ };
8183
8230
  __expose({
8184
8231
  popoverRef,
8185
8232
  tableRef,
@@ -8221,10 +8268,10 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
8221
8268
  "remote-method": (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(handelRemoteMethod),
8222
8269
  multiple: !!props.multiSelectFlag,
8223
8270
  options: [],
8271
+ loading: loading.value,
8224
8272
  "popper-class": popoverVisible.value ? 'hidden' : '',
8225
8273
  onRemoveTag: handleTagRemove,
8226
- onFocus: handleFocus,
8227
- onBlur: handleBlur,
8274
+ onVisibleChange: visibleChange,
8228
8275
  onClear: handleClear
8229
8276
  }, selectProps.value), null, 16, [
8230
8277
  "modelValue",
@@ -8233,6 +8280,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
8233
8280
  "teleported",
8234
8281
  "remote-method",
8235
8282
  "multiple",
8283
+ "loading",
8236
8284
  "popper-class"
8237
8285
  ])
8238
8286
  ]),
@@ -8243,7 +8291,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
8243
8291
  }),
8244
8292
  class: "w-full overflow-hidden"
8245
8293
  }, [
8246
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(pro_table), (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
8294
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives)((0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(pro_table), (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
8247
8295
  style: {
8248
8296
  height: "100%"
8249
8297
  },
@@ -8261,6 +8309,11 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
8261
8309
  "loading",
8262
8310
  "columns",
8263
8311
  "data"
8312
+ ]), [
8313
+ [
8314
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ClickOutside),
8315
+ onClickOutside
8316
+ ]
8264
8317
  ])
8265
8318
  ], 4)
8266
8319
  ]),
@@ -11085,7 +11138,9 @@ const access_info_exports_ = access_infovue_type_script_setup_true_lang_ts_name_
11085
11138
  const _component_el_dropdown_item = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-dropdown-item");
11086
11139
  const _component_el_dropdown_menu = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-dropdown-menu");
11087
11140
  const _component_el_dropdown = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-dropdown");
11088
- return (0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_dropdown, null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.createSlots)({
11141
+ return (0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_dropdown, {
11142
+ trigger: disabledLoad.value ? 'click' : 'hover'
11143
+ }, (0, __WEBPACK_EXTERNAL_MODULE_vue__.createSlots)({
11089
11144
  default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
11090
11145
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_button, {
11091
11146
  type: "primary",
@@ -11134,7 +11189,9 @@ const access_info_exports_ = access_infovue_type_script_setup_true_lang_ts_name_
11134
11189
  ]),
11135
11190
  key: "0"
11136
11191
  }
11137
- ]), 1024);
11192
+ ]), 1032, [
11193
+ "trigger"
11194
+ ]);
11138
11195
  };
11139
11196
  }
11140
11197
  });
@@ -454,7 +454,7 @@ function useSelectByDirectionEvent(options) {
454
454
  function useFetchDataset(codeSystemCodes, enabledFlag) {
455
455
  const list = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)();
456
456
  async function fetchData() {
457
- if (codeSystemCodes) {
457
+ if (codeSystemCodes && codeSystemCodes?.length) {
458
458
  const [, result] = await queryDataSetByCodeSystemCodes({
459
459
  codeSystemCodes,
460
460
  enabledFlag: enabledFlag ?? __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES
package/dist/index.js CHANGED
@@ -572,7 +572,7 @@ const RenderColumn_exports_ = RenderColumnvue_type_script_lang_ts_setup_true_nam
572
572
  function useFetchDataset(codeSystemCodes, enabledFlag) {
573
573
  const list = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)();
574
574
  async function fetchData() {
575
- if (codeSystemCodes) {
575
+ if (codeSystemCodes && codeSystemCodes?.length) {
576
576
  const [, result] = await queryDataSetByCodeSystemCodes({
577
577
  codeSystemCodes,
578
578
  enabledFlag: enabledFlag ?? __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES
@@ -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: {
@@ -8214,7 +8216,24 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
8214
8216
  await getBizUnitList({
8215
8217
  keyWord: value
8216
8218
  });
8217
- }, 500); // 键盘事件
8219
+ }, 500); // 滚动到当前选中行
8220
+ const scrollToCurrentRow = ()=>{
8221
+ setTimeout(()=>{
8222
+ if (currentRowIndex.value < 0) return;
8223
+ try {
8224
+ const tableElement = tableRef.value?.eleTable?.$el;
8225
+ if (!tableElement) return; // 查找当前高亮的行
8226
+ const currentRowElement = tableElement.querySelector('.el-table__body tr.current-row');
8227
+ if (!currentRowElement) return; // 使用 scrollIntoView 方法滚动到当前行
8228
+ currentRowElement.scrollIntoView({
8229
+ block: 'nearest',
8230
+ behavior: 'smooth'
8231
+ });
8232
+ } catch (error) {
8233
+ console.error('Error scrolling to current row:', error);
8234
+ }
8235
+ }, 100);
8236
+ }; // 键盘事件
8218
8237
  const handleKeydown = (e)=>{
8219
8238
  if (!bizUnitList.value.length || !popoverVisible.value) return;
8220
8239
  if ('ArrowDown' === e.key) {
@@ -8223,6 +8242,7 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
8223
8242
  currentRowIndex.value++;
8224
8243
  const row = bizUnitList.value[currentRowIndex.value];
8225
8244
  tableRef.value.eleTable?.setCurrentRow(row);
8245
+ scrollToCurrentRow();
8226
8246
  }
8227
8247
  } else if ('ArrowUp' === e.key) {
8228
8248
  e.preventDefault();
@@ -8230,6 +8250,7 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
8230
8250
  currentRowIndex.value--;
8231
8251
  const row = bizUnitList.value[currentRowIndex.value];
8232
8252
  tableRef.value.eleTable?.setCurrentRow(row);
8253
+ scrollToCurrentRow();
8233
8254
  }
8234
8255
  } else if ('Enter' === e.key && currentRowIndex.value >= 0) {
8235
8256
  const row = bizUnitList.value[currentRowIndex.value];
@@ -8263,6 +8284,7 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
8263
8284
  const inputEl = selectRef.value?.$el?.querySelector('input');
8264
8285
  if (inputEl) inputEl.blur();
8265
8286
  }
8287
+ handleBlur();
8266
8288
  selectedRows.value = [];
8267
8289
  selectedValue.value = props.multiSelectFlag ? [] : '';
8268
8290
  tableRef.value?.eleTable?.clearSelection?.();
@@ -8422,6 +8444,15 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
8422
8444
  }
8423
8445
  });
8424
8446
  });
8447
+ const onClickOutside = ()=>{
8448
+ handleBlur();
8449
+ };
8450
+ const visibleChange = (val)=>{
8451
+ if (val) {
8452
+ loading.value = true;
8453
+ handleFocus();
8454
+ }
8455
+ };
8425
8456
  __expose({
8426
8457
  popoverRef,
8427
8458
  tableRef,
@@ -8463,11 +8494,11 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
8463
8494
  "collapse-tags-tooltip": "",
8464
8495
  filterable: "",
8465
8496
  remote: "",
8466
- "remote-show-suffix": ""
8497
+ "remote-show-suffix": "",
8498
+ loading: loading.value
8467
8499
  }, selectProps.value, {
8468
- onBlur: handleBlur,
8500
+ onVisibleChange: visibleChange,
8469
8501
  onClear: handleClear,
8470
- onFocus: handleFocus,
8471
8502
  onRemoveTag: handleTagRemove
8472
8503
  }), null, 16, [
8473
8504
  "modelValue",
@@ -8476,7 +8507,8 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
8476
8507
  "placeholder",
8477
8508
  "popper-class",
8478
8509
  "remote-method",
8479
- "teleported"
8510
+ "teleported",
8511
+ "loading"
8480
8512
  ])
8481
8513
  ]),
8482
8514
  default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
@@ -8486,7 +8518,7 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
8486
8518
  }),
8487
8519
  class: "w-full overflow-hidden"
8488
8520
  }, [
8489
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(pro_table), (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
8521
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives)((0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(pro_table), (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
8490
8522
  ref_key: "tableRef",
8491
8523
  ref: tableRef,
8492
8524
  columns: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(tableConfig),
@@ -8505,6 +8537,11 @@ const CLOSE_OTHER_POPOVERS_EVENT = 'biz-unit-select:close-others'; /*
8505
8537
  "columns",
8506
8538
  "data",
8507
8539
  "loading"
8540
+ ]), [
8541
+ [
8542
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ClickOutside),
8543
+ onClickOutside
8544
+ ]
8508
8545
  ])
8509
8546
  ], 4)
8510
8547
  ]),
@@ -8744,6 +8781,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
8744
8781
  const inputEl = selectRef.value?.$el?.querySelector('input');
8745
8782
  if (inputEl) inputEl.blur();
8746
8783
  }
8784
+ handleBlur();
8747
8785
  selectedRows.value = [];
8748
8786
  selectedValue.value = props.multiSelectFlag ? [] : '';
8749
8787
  tableRef.value?.eleTable?.clearSelection?.();
@@ -8856,6 +8894,15 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
8856
8894
  }
8857
8895
  });
8858
8896
  });
8897
+ const onClickOutside = ()=>{
8898
+ handleBlur();
8899
+ };
8900
+ const visibleChange = (val)=>{
8901
+ if (val) {
8902
+ loading.value = true;
8903
+ handleFocus();
8904
+ }
8905
+ };
8859
8906
  __expose({
8860
8907
  popoverRef,
8861
8908
  tableRef,
@@ -8897,10 +8944,10 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
8897
8944
  "remote-method": (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(handelRemoteMethod),
8898
8945
  multiple: !!props.multiSelectFlag,
8899
8946
  options: [],
8947
+ loading: loading.value,
8900
8948
  "popper-class": popoverVisible.value ? 'hidden' : '',
8901
8949
  onRemoveTag: handleTagRemove,
8902
- onFocus: handleFocus,
8903
- onBlur: handleBlur,
8950
+ onVisibleChange: visibleChange,
8904
8951
  onClear: handleClear
8905
8952
  }, selectProps.value), null, 16, [
8906
8953
  "modelValue",
@@ -8909,6 +8956,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
8909
8956
  "teleported",
8910
8957
  "remote-method",
8911
8958
  "multiple",
8959
+ "loading",
8912
8960
  "popper-class"
8913
8961
  ])
8914
8962
  ]),
@@ -8919,7 +8967,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
8919
8967
  }),
8920
8968
  class: "w-full overflow-hidden"
8921
8969
  }, [
8922
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(pro_table), (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
8970
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives)((0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(pro_table), (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
8923
8971
  style: {
8924
8972
  height: "100%"
8925
8973
  },
@@ -8937,6 +8985,11 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
8937
8985
  "loading",
8938
8986
  "columns",
8939
8987
  "data"
8988
+ ]), [
8989
+ [
8990
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ClickOutside),
8991
+ onClickOutside
8992
+ ]
8940
8993
  ])
8941
8994
  ], 4)
8942
8995
  ]),
@@ -12241,7 +12294,9 @@ const keyboard_value_exports_ = keyboard_valuevue_type_script_setup_true_lang_ts
12241
12294
  const _component_el_dropdown_item = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-dropdown-item");
12242
12295
  const _component_el_dropdown_menu = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-dropdown-menu");
12243
12296
  const _component_el_dropdown = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-dropdown");
12244
- return (0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_dropdown, null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.createSlots)({
12297
+ return (0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_dropdown, {
12298
+ trigger: disabledLoad.value ? 'click' : 'hover'
12299
+ }, (0, __WEBPACK_EXTERNAL_MODULE_vue__.createSlots)({
12245
12300
  default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
12246
12301
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_button, {
12247
12302
  type: "primary",
@@ -12290,7 +12345,9 @@ const keyboard_value_exports_ = keyboard_valuevue_type_script_setup_true_lang_ts
12290
12345
  ]),
12291
12346
  key: "0"
12292
12347
  }
12293
- ]), 1024);
12348
+ ]), 1032, [
12349
+ "trigger"
12350
+ ]);
12294
12351
  };
12295
12352
  }
12296
12353
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sun-biz",
3
- "version": "0.0.4-beta.46",
3
+ "version": "0.0.4-beta.48",
4
4
  "type": "module",
5
5
  "workspaces": [
6
6
  "src/*",
@@ -81,6 +81,7 @@
81
81
  "js-pinyin": "^0.2.7",
82
82
  "latest": "^0.2.0",
83
83
  "lodash": "^4.17.21",
84
- "sortablejs": "^1.15.6"
84
+ "sortablejs": "^1.15.6",
85
+ "uuid": "^13.0.0"
85
86
  }
86
87
  }