sun-biz 0.0.4-beta.37 → 0.0.4-beta.38
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 +66 -30
- package/dist/hooks/index.js +9 -1
- package/dist/hooks/use-editable-table/index.d.ts +2 -0
- package/dist/index.js +75 -31
- package/package.json +1 -1
package/dist/components/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_lodash__ from "lodash";
|
|
|
12
12
|
import * as __WEBPACK_EXTERNAL_MODULE_i18next_vue__ from "i18next-vue";
|
|
13
13
|
import * as __WEBPACK_EXTERNAL_MODULE_js_pinyin__ from "js-pinyin";
|
|
14
14
|
var __webpack_modules__ = {
|
|
15
|
-
"./node_modules/.pnpm/vue-loader@17.4.2_vue@3.5.
|
|
15
|
+
"./node_modules/.pnpm/vue-loader@17.4.2_vue@3.5.18_typescript@5.9.2__webpack@5.101.0_esbuild@0.24.2_/node_modules/vue-loader/dist/exportHelper.js": function(__unused_webpack_module, exports) {
|
|
16
16
|
// runtime helper for setting properties on components
|
|
17
17
|
// in a tree-shakable way
|
|
18
18
|
exports["default"] = (sfc, props)=>{
|
|
@@ -72,8 +72,8 @@ function __webpack_require__(moduleId) {
|
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
|
-
// EXTERNAL MODULE: ./node_modules/.pnpm/vue-loader@17.4.2_vue@3.5.
|
|
76
|
-
var exportHelper = __webpack_require__("./node_modules/.pnpm/vue-loader@17.4.2_vue@3.5.
|
|
75
|
+
// EXTERNAL MODULE: ./node_modules/.pnpm/vue-loader@17.4.2_vue@3.5.18_typescript@5.9.2__webpack@5.101.0_esbuild@0.24.2_/node_modules/vue-loader/dist/exportHelper.js
|
|
76
|
+
var exportHelper = __webpack_require__("./node_modules/.pnpm/vue-loader@17.4.2_vue@3.5.18_typescript@5.9.2__webpack@5.101.0_esbuild@0.24.2_/node_modules/vue-loader/dist/exportHelper.js");
|
|
77
77
|
const __exports__ = /*#__PURE__*/ (0, exportHelper["default"])(Containervue_type_script_setup_true_lang_tsx, [
|
|
78
78
|
[
|
|
79
79
|
'__scopeId',
|
|
@@ -621,10 +621,10 @@ function useTableConfigColumn(changeInputSort, length, disabledDraggable) {
|
|
|
621
621
|
}, [
|
|
622
622
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("i", {
|
|
623
623
|
class: `sort-caret ascending ${row.ascendFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.YES ? '!border-b-blue-500' : ''}`
|
|
624
|
-
}, null),
|
|
624
|
+
}, null, 2),
|
|
625
625
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("i", {
|
|
626
626
|
class: `sort-caret descending ${row.ascendFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.NO ? '!border-t-blue-500' : ''}`
|
|
627
|
-
}, null)
|
|
627
|
+
}, null, 2)
|
|
628
628
|
])
|
|
629
629
|
], 8, [
|
|
630
630
|
"onClick"
|
|
@@ -955,7 +955,7 @@ const _hoisted_3 = {
|
|
|
955
955
|
reference: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
956
956
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_button, null, {
|
|
957
957
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
958
|
-
_cache[0] || (_cache[0] = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("组合排序 ")),
|
|
958
|
+
_cache[0] || (_cache[0] = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("组合排序 ", -1)),
|
|
959
959
|
isSHow.value ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true) : ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("span", _hoisted_1, [
|
|
960
960
|
((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)(tableData.value.filter((item)=>item?.ascendFlag === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG).NO || item?.ascendFlag === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG).YES), (item)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_tag, {
|
|
961
961
|
hit: false,
|
|
@@ -995,7 +995,10 @@ const _hoisted_3 = {
|
|
|
995
995
|
]))), 128))
|
|
996
996
|
]))
|
|
997
997
|
]),
|
|
998
|
-
_: 1
|
|
998
|
+
_: 1,
|
|
999
|
+
__: [
|
|
1000
|
+
0
|
|
1001
|
+
]
|
|
999
1002
|
})
|
|
1000
1003
|
]),
|
|
1001
1004
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
@@ -1011,7 +1014,7 @@ const _hoisted_3 = {
|
|
|
1011
1014
|
]),
|
|
1012
1015
|
_: 1
|
|
1013
1016
|
}),
|
|
1014
|
-
_cache[1] || (_cache[1] = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("请根据以下规则编辑排序条件 "))
|
|
1017
|
+
_cache[1] || (_cache[1] = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("请根据以下规则编辑排序条件 ", -1))
|
|
1015
1018
|
]),
|
|
1016
1019
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(pro_table, {
|
|
1017
1020
|
onDragEnd: handleSortEnd,
|
|
@@ -1032,9 +1035,12 @@ const _hoisted_3 = {
|
|
|
1032
1035
|
onClick: confirm
|
|
1033
1036
|
}, {
|
|
1034
1037
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>_cache[2] || (_cache[2] = [
|
|
1035
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)(" 关闭 ")
|
|
1038
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)(" 关闭 ", -1)
|
|
1036
1039
|
])),
|
|
1037
|
-
_: 1
|
|
1040
|
+
_: 1,
|
|
1041
|
+
__: [
|
|
1042
|
+
2
|
|
1043
|
+
]
|
|
1038
1044
|
})
|
|
1039
1045
|
])
|
|
1040
1046
|
]),
|
|
@@ -1652,9 +1658,12 @@ function dbgrid_component_settingvue_type_script_setup_true_lang_tsx_isSlot(s) {
|
|
|
1652
1658
|
onClick: handleCancel
|
|
1653
1659
|
}, {
|
|
1654
1660
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>_cache[7] || (_cache[7] = [
|
|
1655
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("取消")
|
|
1661
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("取消", -1)
|
|
1656
1662
|
])),
|
|
1657
|
-
_: 1
|
|
1663
|
+
_: 1,
|
|
1664
|
+
__: [
|
|
1665
|
+
7
|
|
1666
|
+
]
|
|
1658
1667
|
}),
|
|
1659
1668
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElButton), {
|
|
1660
1669
|
type: "primary",
|
|
@@ -1666,9 +1675,12 @@ function dbgrid_component_settingvue_type_script_setup_true_lang_tsx_isSlot(s) {
|
|
|
1666
1675
|
})
|
|
1667
1676
|
}, {
|
|
1668
1677
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>_cache[8] || (_cache[8] = [
|
|
1669
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("应用")
|
|
1678
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("应用", -1)
|
|
1670
1679
|
])),
|
|
1671
|
-
_: 1
|
|
1680
|
+
_: 1,
|
|
1681
|
+
__: [
|
|
1682
|
+
8
|
|
1683
|
+
]
|
|
1672
1684
|
}, 8, [
|
|
1673
1685
|
"loading",
|
|
1674
1686
|
"disabled"
|
|
@@ -1682,9 +1694,12 @@ function dbgrid_component_settingvue_type_script_setup_true_lang_tsx_isSlot(s) {
|
|
|
1682
1694
|
})
|
|
1683
1695
|
}, {
|
|
1684
1696
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>_cache[9] || (_cache[9] = [
|
|
1685
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)(" 确认 ")
|
|
1697
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)(" 确认 ", -1)
|
|
1686
1698
|
])),
|
|
1687
|
-
_: 1
|
|
1699
|
+
_: 1,
|
|
1700
|
+
__: [
|
|
1701
|
+
9
|
|
1702
|
+
]
|
|
1688
1703
|
}, 8, [
|
|
1689
1704
|
"loading",
|
|
1690
1705
|
"disabled"
|
|
@@ -2784,6 +2799,10 @@ const SELECTION = 'selection';
|
|
|
2784
2799
|
const validateProps = props.columns.filter((item)=>item.rules).map((item)=>`tableData.${index}.${item.prop}`);
|
|
2785
2800
|
return formRef.value.validateField(validateProps, callback);
|
|
2786
2801
|
},
|
|
2802
|
+
clearValidateRow: (index)=>{
|
|
2803
|
+
const validateProps = props.columns.filter((item)=>item.rules).map((item)=>`tableData.${index}.${item.prop}`);
|
|
2804
|
+
return formRef.value.clearValidate(validateProps);
|
|
2805
|
+
},
|
|
2787
2806
|
fetchList: (init = true, initPageInfo = {
|
|
2788
2807
|
pageNumber: 1
|
|
2789
2808
|
})=>{
|
|
@@ -6675,7 +6694,7 @@ const print = async (params)=>{
|
|
|
6675
6694
|
class: "min-w-[50px]"
|
|
6676
6695
|
}, {
|
|
6677
6696
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
6678
|
-
_cache[0] || (_cache[0] = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)(" 打印 ")),
|
|
6697
|
+
_cache[0] || (_cache[0] = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)(" 打印 ", -1)),
|
|
6679
6698
|
showReceipt.value && !_ctx.disabled ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElIcon), {
|
|
6680
6699
|
key: 0,
|
|
6681
6700
|
class: "el-icon--right"
|
|
@@ -6686,7 +6705,10 @@ const print = async (params)=>{
|
|
|
6686
6705
|
_: 1
|
|
6687
6706
|
})) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true)
|
|
6688
6707
|
]),
|
|
6689
|
-
_: 1
|
|
6708
|
+
_: 1,
|
|
6709
|
+
__: [
|
|
6710
|
+
0
|
|
6711
|
+
]
|
|
6690
6712
|
}, 8, [
|
|
6691
6713
|
"type",
|
|
6692
6714
|
"disabled"
|
|
@@ -7317,7 +7339,7 @@ const user_select_exports_ = user_selectvue_type_script_setup_true_lang_ts_name_
|
|
|
7317
7339
|
]
|
|
7318
7340
|
});
|
|
7319
7341
|
const getRowClassName = (data)=>{
|
|
7320
|
-
if (props.disabledValueIds?.length && data.row.orgId && props.disabledValueIds.includes(data.row.orgId)) return 'cursor-not-allowed';
|
|
7342
|
+
if (props.disabledValueIds?.length && data.row.orgId && props.disabledValueIds.includes(data.row.orgId)) return 'cursor-not-allowed !bg-gray-100 text-gray-300';
|
|
7321
7343
|
return 'cursor-pointer';
|
|
7322
7344
|
};
|
|
7323
7345
|
const getBizUnitList = async (data)=>{
|
|
@@ -7733,7 +7755,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
|
|
|
7733
7755
|
]
|
|
7734
7756
|
});
|
|
7735
7757
|
const getRowClassName = (data)=>{
|
|
7736
|
-
if (props.disabledValueIds?.length && data.row.orgId && props.disabledValueIds.includes(data.row.orgId)) return 'cursor-not-allowed';
|
|
7758
|
+
if (props.disabledValueIds?.length && data.row.orgId && props.disabledValueIds.includes(data.row.orgId)) return 'cursor-not-allowed !bg-gray-100 text-gray-300';
|
|
7737
7759
|
return 'cursor-pointer';
|
|
7738
7760
|
};
|
|
7739
7761
|
const getDepartmentList = async (data)=>{
|
|
@@ -8159,7 +8181,7 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
|
|
|
8159
8181
|
]
|
|
8160
8182
|
});
|
|
8161
8183
|
const getRowClassName = (data)=>{
|
|
8162
|
-
if (props.disabledValueIds?.length && data.row.orgId && props.disabledValueIds.includes(data.row.orgId)) return 'cursor-not-allowed';
|
|
8184
|
+
if (props.disabledValueIds?.length && data.row.orgId && props.disabledValueIds.includes(data.row.orgId)) return 'cursor-not-allowed !bg-gray-100 text-gray-300';
|
|
8163
8185
|
return 'cursor-pointer';
|
|
8164
8186
|
};
|
|
8165
8187
|
const getWardList = async (data)=>{
|
|
@@ -8846,7 +8868,8 @@ const WB_NO = "wbNo";
|
|
|
8846
8868
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
8847
8869
|
((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)(configData.value, (item, index)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
|
|
8848
8870
|
key: item.name + index,
|
|
8849
|
-
class: item.span || item.isFullWidth ? item.isFullWidth ? 'col-span-full' : `... col-span-${item.span}` : isInlineMode ? 'inline-block' : ''
|
|
8871
|
+
class: item.span || item.isFullWidth ? item.isFullWidth ? 'col-span-full' : `... col-span-${item.span}` : isInlineMode ? 'inline-block' : ''
|
|
8872
|
+
}, {
|
|
8850
8873
|
ref_for: true
|
|
8851
8874
|
}, item.formItemProps || {}), [
|
|
8852
8875
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_form_item, (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
|
|
@@ -8854,7 +8877,8 @@ const WB_NO = "wbNo";
|
|
|
8854
8877
|
label: 'function' == typeof item.label ? '' : item.label,
|
|
8855
8878
|
prop: item.name,
|
|
8856
8879
|
class: item.className,
|
|
8857
|
-
style: isInlineMode ? 'margin-right: 16px;' : ''
|
|
8880
|
+
style: isInlineMode ? 'margin-right: 16px;' : ''
|
|
8881
|
+
}, {
|
|
8858
8882
|
ref_for: true
|
|
8859
8883
|
}, item.formItemProps || {}), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createSlots)({
|
|
8860
8884
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
@@ -8864,7 +8888,8 @@ const WB_NO = "wbNo";
|
|
|
8864
8888
|
type: item.type,
|
|
8865
8889
|
"support-copy-and-tips": item.supportCopyAndTips,
|
|
8866
8890
|
placeholder: item.placeholder,
|
|
8867
|
-
options: item.options
|
|
8891
|
+
options: item.options
|
|
8892
|
+
}, {
|
|
8868
8893
|
ref_for: true
|
|
8869
8894
|
}, item.extraProps || {}, {
|
|
8870
8895
|
modelValue: formModel[item.name],
|
|
@@ -8895,6 +8920,8 @@ const WB_NO = "wbNo";
|
|
|
8895
8920
|
ref_for: true,
|
|
8896
8921
|
ref_key: "itemRefs",
|
|
8897
8922
|
ref: itemRefs
|
|
8923
|
+
}, {
|
|
8924
|
+
ref_for: true
|
|
8898
8925
|
}, item.extraProps || {}, {
|
|
8899
8926
|
modelValue: formModel[item.name],
|
|
8900
8927
|
"onUpdate:modelValue": ($event)=>formModel[item.name] = $event,
|
|
@@ -8937,9 +8964,12 @@ const WB_NO = "wbNo";
|
|
|
8937
8964
|
})
|
|
8938
8965
|
}, {
|
|
8939
8966
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>_cache[1] || (_cache[1] = [
|
|
8940
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("查询")
|
|
8967
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("查询", -1)
|
|
8941
8968
|
])),
|
|
8942
|
-
_: 1
|
|
8969
|
+
_: 1,
|
|
8970
|
+
__: [
|
|
8971
|
+
1
|
|
8972
|
+
]
|
|
8943
8973
|
})) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true)
|
|
8944
8974
|
])
|
|
8945
8975
|
]),
|
|
@@ -9891,9 +9921,12 @@ const FIELD_REF = 'fieldRef_'; // 存储动态 ref 的对象
|
|
|
9891
9921
|
onClick: cancel
|
|
9892
9922
|
}, {
|
|
9893
9923
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>_cache[0] || (_cache[0] = [
|
|
9894
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("取消")
|
|
9924
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("取消", -1)
|
|
9895
9925
|
])),
|
|
9896
|
-
_: 1
|
|
9926
|
+
_: 1,
|
|
9927
|
+
__: [
|
|
9928
|
+
0
|
|
9929
|
+
]
|
|
9897
9930
|
}),
|
|
9898
9931
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_button, {
|
|
9899
9932
|
disabled: submitLoading.value || props.propsLoading,
|
|
@@ -9902,9 +9935,12 @@ const FIELD_REF = 'fieldRef_'; // 存储动态 ref 的对象
|
|
|
9902
9935
|
type: "primary"
|
|
9903
9936
|
}, {
|
|
9904
9937
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>_cache[1] || (_cache[1] = [
|
|
9905
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)(" 保存 ")
|
|
9938
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)(" 保存 ", -1)
|
|
9906
9939
|
])),
|
|
9907
|
-
_: 1
|
|
9940
|
+
_: 1,
|
|
9941
|
+
__: [
|
|
9942
|
+
1
|
|
9943
|
+
]
|
|
9908
9944
|
}, 8, [
|
|
9909
9945
|
"disabled",
|
|
9910
9946
|
"loading"
|
package/dist/hooks/index.js
CHANGED
|
@@ -525,6 +525,13 @@ function useFetchParams(options) {
|
|
|
525
525
|
}
|
|
526
526
|
};
|
|
527
527
|
/**
|
|
528
|
+
* 清理行数据验证信息
|
|
529
|
+
*/ const clearValidateItem = (row)=>{
|
|
530
|
+
const cacheKey = getRowKey(row);
|
|
531
|
+
const index = tableData.value.findIndex((item)=>item[cacheKey] === row[cacheKey]);
|
|
532
|
+
tableRef?.value?.clearValidateRow(index);
|
|
533
|
+
};
|
|
534
|
+
/**
|
|
528
535
|
* 切换编辑状态
|
|
529
536
|
*/ const toggleEdit = async (row)=>{
|
|
530
537
|
const cacheKey = getRowKey(row);
|
|
@@ -595,7 +602,8 @@ function useFetchParams(options) {
|
|
|
595
602
|
delItem,
|
|
596
603
|
insertItem,
|
|
597
604
|
updateItem,
|
|
598
|
-
validateItem
|
|
605
|
+
validateItem,
|
|
606
|
+
clearValidateItem
|
|
599
607
|
};
|
|
600
608
|
}
|
|
601
609
|
/* ESM default export */ const use_editable_table = useEditableTable;
|
|
@@ -3,6 +3,7 @@ import type { FormInstance } from "element-sun";
|
|
|
3
3
|
export type TableRef = {
|
|
4
4
|
formRef: FormInstance;
|
|
5
5
|
validateRow: (index: number, cb?: (isValid: boolean) => void) => Promise<boolean>;
|
|
6
|
+
clearValidateRow: (index: number) => void;
|
|
6
7
|
} | undefined;
|
|
7
8
|
/**
|
|
8
9
|
* 表格编辑功能
|
|
@@ -25,5 +26,6 @@ export declare function useEditableTable<TData extends {
|
|
|
25
26
|
insertItem: (row: TData, index: number, step?: number) => void;
|
|
26
27
|
updateItem: (row: TData, index?: number) => void;
|
|
27
28
|
validateItem: (row: TData) => Promise<boolean>;
|
|
29
|
+
clearValidateItem: (row: TData) => void;
|
|
28
30
|
};
|
|
29
31
|
export default useEditableTable;
|
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_js_pinyin__ from "js-pinyin";
|
|
|
12
12
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash__ from "lodash";
|
|
13
13
|
import * as __WEBPACK_EXTERNAL_MODULE_i18next_vue__ from "i18next-vue";
|
|
14
14
|
var __webpack_modules__ = {
|
|
15
|
-
"./node_modules/.pnpm/vue-loader@17.4.2_vue@3.5.
|
|
15
|
+
"./node_modules/.pnpm/vue-loader@17.4.2_vue@3.5.18_typescript@5.9.2__webpack@5.101.0_esbuild@0.24.2_/node_modules/vue-loader/dist/exportHelper.js": function(__unused_webpack_module, exports) {
|
|
16
16
|
// runtime helper for setting properties on components
|
|
17
17
|
// in a tree-shakable way
|
|
18
18
|
exports["default"] = (sfc, props)=>{
|
|
@@ -72,8 +72,8 @@ function __webpack_require__(moduleId) {
|
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
|
-
// EXTERNAL MODULE: ./node_modules/.pnpm/vue-loader@17.4.2_vue@3.5.
|
|
76
|
-
var exportHelper = __webpack_require__("./node_modules/.pnpm/vue-loader@17.4.2_vue@3.5.
|
|
75
|
+
// EXTERNAL MODULE: ./node_modules/.pnpm/vue-loader@17.4.2_vue@3.5.18_typescript@5.9.2__webpack@5.101.0_esbuild@0.24.2_/node_modules/vue-loader/dist/exportHelper.js
|
|
76
|
+
var exportHelper = __webpack_require__("./node_modules/.pnpm/vue-loader@17.4.2_vue@3.5.18_typescript@5.9.2__webpack@5.101.0_esbuild@0.24.2_/node_modules/vue-loader/dist/exportHelper.js");
|
|
77
77
|
const __exports__ = /*#__PURE__*/ (0, exportHelper["default"])(Containervue_type_script_setup_true_lang_tsx, [
|
|
78
78
|
[
|
|
79
79
|
'__scopeId',
|
|
@@ -657,10 +657,10 @@ function useTableConfigColumn(changeInputSort, length, disabledDraggable) {
|
|
|
657
657
|
}, [
|
|
658
658
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("i", {
|
|
659
659
|
class: `sort-caret ascending ${row.ascendFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.YES ? '!border-b-blue-500' : ''}`
|
|
660
|
-
}, null),
|
|
660
|
+
}, null, 2),
|
|
661
661
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("i", {
|
|
662
662
|
class: `sort-caret descending ${row.ascendFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.NO ? '!border-t-blue-500' : ''}`
|
|
663
|
-
}, null)
|
|
663
|
+
}, null, 2)
|
|
664
664
|
])
|
|
665
665
|
], 8, [
|
|
666
666
|
"onClick"
|
|
@@ -991,7 +991,7 @@ const _hoisted_3 = {
|
|
|
991
991
|
reference: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
992
992
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_button, null, {
|
|
993
993
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
994
|
-
_cache[0] || (_cache[0] = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("组合排序 ")),
|
|
994
|
+
_cache[0] || (_cache[0] = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("组合排序 ", -1)),
|
|
995
995
|
isSHow.value ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true) : ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("span", _hoisted_1, [
|
|
996
996
|
((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)(tableData.value.filter((item)=>item?.ascendFlag === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG).NO || item?.ascendFlag === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG).YES), (item)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_tag, {
|
|
997
997
|
hit: false,
|
|
@@ -1031,7 +1031,10 @@ const _hoisted_3 = {
|
|
|
1031
1031
|
]))), 128))
|
|
1032
1032
|
]))
|
|
1033
1033
|
]),
|
|
1034
|
-
_: 1
|
|
1034
|
+
_: 1,
|
|
1035
|
+
__: [
|
|
1036
|
+
0
|
|
1037
|
+
]
|
|
1035
1038
|
})
|
|
1036
1039
|
]),
|
|
1037
1040
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
@@ -1047,7 +1050,7 @@ const _hoisted_3 = {
|
|
|
1047
1050
|
]),
|
|
1048
1051
|
_: 1
|
|
1049
1052
|
}),
|
|
1050
|
-
_cache[1] || (_cache[1] = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("请根据以下规则编辑排序条件 "))
|
|
1053
|
+
_cache[1] || (_cache[1] = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("请根据以下规则编辑排序条件 ", -1))
|
|
1051
1054
|
]),
|
|
1052
1055
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(pro_table, {
|
|
1053
1056
|
onDragEnd: handleSortEnd,
|
|
@@ -1068,9 +1071,12 @@ const _hoisted_3 = {
|
|
|
1068
1071
|
onClick: confirm
|
|
1069
1072
|
}, {
|
|
1070
1073
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>_cache[2] || (_cache[2] = [
|
|
1071
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)(" 关闭 ")
|
|
1074
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)(" 关闭 ", -1)
|
|
1072
1075
|
])),
|
|
1073
|
-
_: 1
|
|
1076
|
+
_: 1,
|
|
1077
|
+
__: [
|
|
1078
|
+
2
|
|
1079
|
+
]
|
|
1074
1080
|
})
|
|
1075
1081
|
])
|
|
1076
1082
|
]),
|
|
@@ -1688,9 +1694,12 @@ function dbgrid_component_settingvue_type_script_setup_true_lang_tsx_isSlot(s) {
|
|
|
1688
1694
|
onClick: handleCancel
|
|
1689
1695
|
}, {
|
|
1690
1696
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>_cache[7] || (_cache[7] = [
|
|
1691
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("取消")
|
|
1697
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("取消", -1)
|
|
1692
1698
|
])),
|
|
1693
|
-
_: 1
|
|
1699
|
+
_: 1,
|
|
1700
|
+
__: [
|
|
1701
|
+
7
|
|
1702
|
+
]
|
|
1694
1703
|
}),
|
|
1695
1704
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElButton), {
|
|
1696
1705
|
type: "primary",
|
|
@@ -1702,9 +1711,12 @@ function dbgrid_component_settingvue_type_script_setup_true_lang_tsx_isSlot(s) {
|
|
|
1702
1711
|
})
|
|
1703
1712
|
}, {
|
|
1704
1713
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>_cache[8] || (_cache[8] = [
|
|
1705
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("应用")
|
|
1714
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("应用", -1)
|
|
1706
1715
|
])),
|
|
1707
|
-
_: 1
|
|
1716
|
+
_: 1,
|
|
1717
|
+
__: [
|
|
1718
|
+
8
|
|
1719
|
+
]
|
|
1708
1720
|
}, 8, [
|
|
1709
1721
|
"loading",
|
|
1710
1722
|
"disabled"
|
|
@@ -1718,9 +1730,12 @@ function dbgrid_component_settingvue_type_script_setup_true_lang_tsx_isSlot(s) {
|
|
|
1718
1730
|
})
|
|
1719
1731
|
}, {
|
|
1720
1732
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>_cache[9] || (_cache[9] = [
|
|
1721
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)(" 确认 ")
|
|
1733
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)(" 确认 ", -1)
|
|
1722
1734
|
])),
|
|
1723
|
-
_: 1
|
|
1735
|
+
_: 1,
|
|
1736
|
+
__: [
|
|
1737
|
+
9
|
|
1738
|
+
]
|
|
1724
1739
|
}, 8, [
|
|
1725
1740
|
"loading",
|
|
1726
1741
|
"disabled"
|
|
@@ -2820,6 +2835,10 @@ const SELECTION = 'selection';
|
|
|
2820
2835
|
const validateProps = props.columns.filter((item)=>item.rules).map((item)=>`tableData.${index}.${item.prop}`);
|
|
2821
2836
|
return formRef.value.validateField(validateProps, callback);
|
|
2822
2837
|
},
|
|
2838
|
+
clearValidateRow: (index)=>{
|
|
2839
|
+
const validateProps = props.columns.filter((item)=>item.rules).map((item)=>`tableData.${index}.${item.prop}`);
|
|
2840
|
+
return formRef.value.clearValidate(validateProps);
|
|
2841
|
+
},
|
|
2823
2842
|
fetchList: (init = true, initPageInfo = {
|
|
2824
2843
|
pageNumber: 1
|
|
2825
2844
|
})=>{
|
|
@@ -4130,6 +4149,13 @@ function useSelectByDirectionEvent(options) {
|
|
|
4130
4149
|
}
|
|
4131
4150
|
};
|
|
4132
4151
|
/**
|
|
4152
|
+
* 清理行数据验证信息
|
|
4153
|
+
*/ const clearValidateItem = (row)=>{
|
|
4154
|
+
const cacheKey = getRowKey(row);
|
|
4155
|
+
const index = tableData.value.findIndex((item)=>item[cacheKey] === row[cacheKey]);
|
|
4156
|
+
tableRef?.value?.clearValidateRow(index);
|
|
4157
|
+
};
|
|
4158
|
+
/**
|
|
4133
4159
|
* 切换编辑状态
|
|
4134
4160
|
*/ const toggleEdit = async (row)=>{
|
|
4135
4161
|
const cacheKey = getRowKey(row);
|
|
@@ -4200,7 +4226,8 @@ function useSelectByDirectionEvent(options) {
|
|
|
4200
4226
|
delItem,
|
|
4201
4227
|
insertItem,
|
|
4202
4228
|
updateItem,
|
|
4203
|
-
validateItem
|
|
4229
|
+
validateItem,
|
|
4230
|
+
clearValidateItem
|
|
4204
4231
|
};
|
|
4205
4232
|
}
|
|
4206
4233
|
function useDataChangeDetector(sources, options) {
|
|
@@ -7167,7 +7194,7 @@ const print = async (params)=>{
|
|
|
7167
7194
|
class: "min-w-[50px]"
|
|
7168
7195
|
}, {
|
|
7169
7196
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
7170
|
-
_cache[0] || (_cache[0] = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)(" 打印 ")),
|
|
7197
|
+
_cache[0] || (_cache[0] = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)(" 打印 ", -1)),
|
|
7171
7198
|
showReceipt.value && !_ctx.disabled ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElIcon), {
|
|
7172
7199
|
key: 0,
|
|
7173
7200
|
class: "el-icon--right"
|
|
@@ -7178,7 +7205,10 @@ const print = async (params)=>{
|
|
|
7178
7205
|
_: 1
|
|
7179
7206
|
})) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true)
|
|
7180
7207
|
]),
|
|
7181
|
-
_: 1
|
|
7208
|
+
_: 1,
|
|
7209
|
+
__: [
|
|
7210
|
+
0
|
|
7211
|
+
]
|
|
7182
7212
|
}, 8, [
|
|
7183
7213
|
"type",
|
|
7184
7214
|
"disabled"
|
|
@@ -8088,7 +8118,7 @@ const user_select_exports_ = user_selectvue_type_script_setup_true_lang_ts_name_
|
|
|
8088
8118
|
]
|
|
8089
8119
|
});
|
|
8090
8120
|
const getRowClassName = (data)=>{
|
|
8091
|
-
if (props.disabledValueIds?.length && data.row.orgId && props.disabledValueIds.includes(data.row.orgId)) return 'cursor-not-allowed';
|
|
8121
|
+
if (props.disabledValueIds?.length && data.row.orgId && props.disabledValueIds.includes(data.row.orgId)) return 'cursor-not-allowed !bg-gray-100 text-gray-300';
|
|
8092
8122
|
return 'cursor-pointer';
|
|
8093
8123
|
};
|
|
8094
8124
|
const getBizUnitList = async (data)=>{
|
|
@@ -8504,7 +8534,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
|
|
|
8504
8534
|
]
|
|
8505
8535
|
});
|
|
8506
8536
|
const getRowClassName = (data)=>{
|
|
8507
|
-
if (props.disabledValueIds?.length && data.row.orgId && props.disabledValueIds.includes(data.row.orgId)) return 'cursor-not-allowed';
|
|
8537
|
+
if (props.disabledValueIds?.length && data.row.orgId && props.disabledValueIds.includes(data.row.orgId)) return 'cursor-not-allowed !bg-gray-100 text-gray-300';
|
|
8508
8538
|
return 'cursor-pointer';
|
|
8509
8539
|
};
|
|
8510
8540
|
const getDepartmentList = async (data)=>{
|
|
@@ -8930,7 +8960,7 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
|
|
|
8930
8960
|
]
|
|
8931
8961
|
});
|
|
8932
8962
|
const getRowClassName = (data)=>{
|
|
8933
|
-
if (props.disabledValueIds?.length && data.row.orgId && props.disabledValueIds.includes(data.row.orgId)) return 'cursor-not-allowed';
|
|
8963
|
+
if (props.disabledValueIds?.length && data.row.orgId && props.disabledValueIds.includes(data.row.orgId)) return 'cursor-not-allowed !bg-gray-100 text-gray-300';
|
|
8934
8964
|
return 'cursor-pointer';
|
|
8935
8965
|
};
|
|
8936
8966
|
const getWardList = async (data)=>{
|
|
@@ -9509,7 +9539,8 @@ const WB_NO = "wbNo";
|
|
|
9509
9539
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
9510
9540
|
((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)(configData.value, (item, index)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
|
|
9511
9541
|
key: item.name + index,
|
|
9512
|
-
class: item.span || item.isFullWidth ? item.isFullWidth ? 'col-span-full' : `... col-span-${item.span}` : isInlineMode ? 'inline-block' : ''
|
|
9542
|
+
class: item.span || item.isFullWidth ? item.isFullWidth ? 'col-span-full' : `... col-span-${item.span}` : isInlineMode ? 'inline-block' : ''
|
|
9543
|
+
}, {
|
|
9513
9544
|
ref_for: true
|
|
9514
9545
|
}, item.formItemProps || {}), [
|
|
9515
9546
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_form_item, (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
|
|
@@ -9517,7 +9548,8 @@ const WB_NO = "wbNo";
|
|
|
9517
9548
|
label: 'function' == typeof item.label ? '' : item.label,
|
|
9518
9549
|
prop: item.name,
|
|
9519
9550
|
class: item.className,
|
|
9520
|
-
style: isInlineMode ? 'margin-right: 16px;' : ''
|
|
9551
|
+
style: isInlineMode ? 'margin-right: 16px;' : ''
|
|
9552
|
+
}, {
|
|
9521
9553
|
ref_for: true
|
|
9522
9554
|
}, item.formItemProps || {}), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createSlots)({
|
|
9523
9555
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
@@ -9527,7 +9559,8 @@ const WB_NO = "wbNo";
|
|
|
9527
9559
|
type: item.type,
|
|
9528
9560
|
"support-copy-and-tips": item.supportCopyAndTips,
|
|
9529
9561
|
placeholder: item.placeholder,
|
|
9530
|
-
options: item.options
|
|
9562
|
+
options: item.options
|
|
9563
|
+
}, {
|
|
9531
9564
|
ref_for: true
|
|
9532
9565
|
}, item.extraProps || {}, {
|
|
9533
9566
|
modelValue: formModel[item.name],
|
|
@@ -9558,6 +9591,8 @@ const WB_NO = "wbNo";
|
|
|
9558
9591
|
ref_for: true,
|
|
9559
9592
|
ref_key: "itemRefs",
|
|
9560
9593
|
ref: itemRefs
|
|
9594
|
+
}, {
|
|
9595
|
+
ref_for: true
|
|
9561
9596
|
}, item.extraProps || {}, {
|
|
9562
9597
|
modelValue: formModel[item.name],
|
|
9563
9598
|
"onUpdate:modelValue": ($event)=>formModel[item.name] = $event,
|
|
@@ -9600,9 +9635,12 @@ const WB_NO = "wbNo";
|
|
|
9600
9635
|
})
|
|
9601
9636
|
}, {
|
|
9602
9637
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>_cache[1] || (_cache[1] = [
|
|
9603
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("查询")
|
|
9638
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("查询", -1)
|
|
9604
9639
|
])),
|
|
9605
|
-
_: 1
|
|
9640
|
+
_: 1,
|
|
9641
|
+
__: [
|
|
9642
|
+
1
|
|
9643
|
+
]
|
|
9606
9644
|
})) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true)
|
|
9607
9645
|
])
|
|
9608
9646
|
]),
|
|
@@ -11954,9 +11992,12 @@ const FIELD_REF = 'fieldRef_'; // 存储动态 ref 的对象
|
|
|
11954
11992
|
onClick: cancel
|
|
11955
11993
|
}, {
|
|
11956
11994
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>_cache[0] || (_cache[0] = [
|
|
11957
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("取消")
|
|
11995
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("取消", -1)
|
|
11958
11996
|
])),
|
|
11959
|
-
_: 1
|
|
11997
|
+
_: 1,
|
|
11998
|
+
__: [
|
|
11999
|
+
0
|
|
12000
|
+
]
|
|
11960
12001
|
}),
|
|
11961
12002
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_button, {
|
|
11962
12003
|
disabled: submitLoading.value || props.propsLoading,
|
|
@@ -11965,9 +12006,12 @@ const FIELD_REF = 'fieldRef_'; // 存储动态 ref 的对象
|
|
|
11965
12006
|
type: "primary"
|
|
11966
12007
|
}, {
|
|
11967
12008
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>_cache[1] || (_cache[1] = [
|
|
11968
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)(" 保存 ")
|
|
12009
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)(" 保存 ", -1)
|
|
11969
12010
|
])),
|
|
11970
|
-
_: 1
|
|
12011
|
+
_: 1,
|
|
12012
|
+
__: [
|
|
12013
|
+
1
|
|
12014
|
+
]
|
|
11971
12015
|
}, 8, [
|
|
11972
12016
|
"disabled",
|
|
11973
12017
|
"loading"
|