@epie/bi-crud 2.0.44 → 2.0.47
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/lib/bi-crud.esm.js +37 -62
- package/lib/bi-crud.umd.js +37 -62
- package/lib/components/descriptions/descriptions.d.ts +3 -3
- package/lib/css/bi-crud.min.css +1 -1
- package/lib/hooks/core.d.ts +1 -1
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/paramsReplace.d.ts +8 -0
- package/package.json +1 -1
package/lib/bi-crud.esm.js
CHANGED
|
@@ -8041,6 +8041,40 @@ var src = {exports: {}};
|
|
|
8041
8041
|
})(src, src.exports);
|
|
8042
8042
|
var merge$1 = /*@__PURE__*/getDefaultExportFromCjs(src.exports);
|
|
8043
8043
|
|
|
8044
|
+
/**
|
|
8045
|
+
* 将 crud.params 的内部键名映射为请求参数名(dict.pagination / search / sort 的「键」为内部名,「值」为请求名)
|
|
8046
|
+
*/
|
|
8047
|
+
function replaceParamsByDict(params, dict) {
|
|
8048
|
+
const {
|
|
8049
|
+
pagination = {},
|
|
8050
|
+
search = {},
|
|
8051
|
+
sort = {}
|
|
8052
|
+
} = dict;
|
|
8053
|
+
const a = {
|
|
8054
|
+
...params
|
|
8055
|
+
};
|
|
8056
|
+
const b = {
|
|
8057
|
+
...pagination,
|
|
8058
|
+
...search,
|
|
8059
|
+
...sort
|
|
8060
|
+
};
|
|
8061
|
+
for (const i in b) {
|
|
8062
|
+
if (b[i] === undefined || b[i] === null) continue;
|
|
8063
|
+
if (!Object.prototype.hasOwnProperty.call(a, i)) continue;
|
|
8064
|
+
if (i !== b[i]) {
|
|
8065
|
+
a[`_${b[i]}`] = a[i];
|
|
8066
|
+
delete a[i];
|
|
8067
|
+
}
|
|
8068
|
+
}
|
|
8069
|
+
for (const i in a) {
|
|
8070
|
+
if (i[0] === "_") {
|
|
8071
|
+
a[i.substring(1)] = a[i];
|
|
8072
|
+
delete a[i];
|
|
8073
|
+
}
|
|
8074
|
+
}
|
|
8075
|
+
return a;
|
|
8076
|
+
}
|
|
8077
|
+
|
|
8044
8078
|
function isArray$1(value) {
|
|
8045
8079
|
if (typeof Array.isArray === "function") {
|
|
8046
8080
|
return Array.isArray(value);
|
|
@@ -8449,36 +8483,7 @@ function useHelper({
|
|
|
8449
8483
|
}
|
|
8450
8484
|
// 根据字典替换请求参数
|
|
8451
8485
|
function paramsReplace(params) {
|
|
8452
|
-
|
|
8453
|
-
pagination,
|
|
8454
|
-
search,
|
|
8455
|
-
sort
|
|
8456
|
-
} = crud.dict;
|
|
8457
|
-
// 请求参数
|
|
8458
|
-
const a = {
|
|
8459
|
-
...params
|
|
8460
|
-
};
|
|
8461
|
-
// 字典
|
|
8462
|
-
const b = {
|
|
8463
|
-
...pagination,
|
|
8464
|
-
...search,
|
|
8465
|
-
...sort
|
|
8466
|
-
};
|
|
8467
|
-
for (const i in b) {
|
|
8468
|
-
if (a[i]) {
|
|
8469
|
-
if (i != b[i]) {
|
|
8470
|
-
a[`_${b[i]}`] = a[i];
|
|
8471
|
-
delete a[i];
|
|
8472
|
-
}
|
|
8473
|
-
}
|
|
8474
|
-
}
|
|
8475
|
-
for (const i in a) {
|
|
8476
|
-
if (i[0] === "_") {
|
|
8477
|
-
a[i.substr(1)] = a[i];
|
|
8478
|
-
delete a[i];
|
|
8479
|
-
}
|
|
8480
|
-
}
|
|
8481
|
-
return a;
|
|
8486
|
+
return replaceParamsByDict(params, crud.dict);
|
|
8482
8487
|
}
|
|
8483
8488
|
// 刷新请求
|
|
8484
8489
|
function refresh(params) {
|
|
@@ -28477,7 +28482,7 @@ var Pagination = defineComponent({
|
|
|
28477
28482
|
currentPage.value = res.currentPage || res.page || 1;
|
|
28478
28483
|
pageSize.value = res.pageSize || res.size || 20;
|
|
28479
28484
|
total.value = res.total | 0;
|
|
28480
|
-
crud.params.
|
|
28485
|
+
crud.params.pageSize = pageSize.value;
|
|
28481
28486
|
}
|
|
28482
28487
|
}
|
|
28483
28488
|
mitt.on("crud.refresh", ({
|
|
@@ -28658,38 +28663,8 @@ var ExportBtn = defineComponent({
|
|
|
28658
28663
|
} = useCore();
|
|
28659
28664
|
const exportVisible = ref(false);
|
|
28660
28665
|
const exportLoading = ref(false);
|
|
28661
|
-
// 根据字典替换请求参数
|
|
28662
28666
|
function paramsReplaceExport(params) {
|
|
28663
|
-
|
|
28664
|
-
pagination,
|
|
28665
|
-
search,
|
|
28666
|
-
sort
|
|
28667
|
-
} = crud.dict;
|
|
28668
|
-
// 请求参数
|
|
28669
|
-
const a = {
|
|
28670
|
-
...params
|
|
28671
|
-
};
|
|
28672
|
-
// 字典
|
|
28673
|
-
const b = {
|
|
28674
|
-
...pagination,
|
|
28675
|
-
...search,
|
|
28676
|
-
...sort
|
|
28677
|
-
};
|
|
28678
|
-
for (const i in b) {
|
|
28679
|
-
if (a[i]) {
|
|
28680
|
-
if (i != b[i]) {
|
|
28681
|
-
a[`_${b[i]}`] = a[i];
|
|
28682
|
-
delete a[i];
|
|
28683
|
-
}
|
|
28684
|
-
}
|
|
28685
|
-
}
|
|
28686
|
-
for (const i in a) {
|
|
28687
|
-
if (i[0] === "_") {
|
|
28688
|
-
a[i.substr(1)] = a[i];
|
|
28689
|
-
delete a[i];
|
|
28690
|
-
}
|
|
28691
|
-
}
|
|
28692
|
-
return a;
|
|
28667
|
+
return replaceParamsByDict(params, crud.dict);
|
|
28693
28668
|
}
|
|
28694
28669
|
const onExport = () => {
|
|
28695
28670
|
return new Promise(r1 => {
|
package/lib/bi-crud.umd.js
CHANGED
|
@@ -8044,6 +8044,40 @@
|
|
|
8044
8044
|
})(src, src.exports);
|
|
8045
8045
|
var merge$1 = /*@__PURE__*/getDefaultExportFromCjs(src.exports);
|
|
8046
8046
|
|
|
8047
|
+
/**
|
|
8048
|
+
* 将 crud.params 的内部键名映射为请求参数名(dict.pagination / search / sort 的「键」为内部名,「值」为请求名)
|
|
8049
|
+
*/
|
|
8050
|
+
function replaceParamsByDict(params, dict) {
|
|
8051
|
+
const {
|
|
8052
|
+
pagination = {},
|
|
8053
|
+
search = {},
|
|
8054
|
+
sort = {}
|
|
8055
|
+
} = dict;
|
|
8056
|
+
const a = {
|
|
8057
|
+
...params
|
|
8058
|
+
};
|
|
8059
|
+
const b = {
|
|
8060
|
+
...pagination,
|
|
8061
|
+
...search,
|
|
8062
|
+
...sort
|
|
8063
|
+
};
|
|
8064
|
+
for (const i in b) {
|
|
8065
|
+
if (b[i] === undefined || b[i] === null) continue;
|
|
8066
|
+
if (!Object.prototype.hasOwnProperty.call(a, i)) continue;
|
|
8067
|
+
if (i !== b[i]) {
|
|
8068
|
+
a[`_${b[i]}`] = a[i];
|
|
8069
|
+
delete a[i];
|
|
8070
|
+
}
|
|
8071
|
+
}
|
|
8072
|
+
for (const i in a) {
|
|
8073
|
+
if (i[0] === "_") {
|
|
8074
|
+
a[i.substring(1)] = a[i];
|
|
8075
|
+
delete a[i];
|
|
8076
|
+
}
|
|
8077
|
+
}
|
|
8078
|
+
return a;
|
|
8079
|
+
}
|
|
8080
|
+
|
|
8047
8081
|
function isArray$1(value) {
|
|
8048
8082
|
if (typeof Array.isArray === "function") {
|
|
8049
8083
|
return Array.isArray(value);
|
|
@@ -8452,36 +8486,7 @@
|
|
|
8452
8486
|
}
|
|
8453
8487
|
// 根据字典替换请求参数
|
|
8454
8488
|
function paramsReplace(params) {
|
|
8455
|
-
|
|
8456
|
-
pagination,
|
|
8457
|
-
search,
|
|
8458
|
-
sort
|
|
8459
|
-
} = crud.dict;
|
|
8460
|
-
// 请求参数
|
|
8461
|
-
const a = {
|
|
8462
|
-
...params
|
|
8463
|
-
};
|
|
8464
|
-
// 字典
|
|
8465
|
-
const b = {
|
|
8466
|
-
...pagination,
|
|
8467
|
-
...search,
|
|
8468
|
-
...sort
|
|
8469
|
-
};
|
|
8470
|
-
for (const i in b) {
|
|
8471
|
-
if (a[i]) {
|
|
8472
|
-
if (i != b[i]) {
|
|
8473
|
-
a[`_${b[i]}`] = a[i];
|
|
8474
|
-
delete a[i];
|
|
8475
|
-
}
|
|
8476
|
-
}
|
|
8477
|
-
}
|
|
8478
|
-
for (const i in a) {
|
|
8479
|
-
if (i[0] === "_") {
|
|
8480
|
-
a[i.substr(1)] = a[i];
|
|
8481
|
-
delete a[i];
|
|
8482
|
-
}
|
|
8483
|
-
}
|
|
8484
|
-
return a;
|
|
8489
|
+
return replaceParamsByDict(params, crud.dict);
|
|
8485
8490
|
}
|
|
8486
8491
|
// 刷新请求
|
|
8487
8492
|
function refresh(params) {
|
|
@@ -28480,7 +28485,7 @@
|
|
|
28480
28485
|
currentPage.value = res.currentPage || res.page || 1;
|
|
28481
28486
|
pageSize.value = res.pageSize || res.size || 20;
|
|
28482
28487
|
total.value = res.total | 0;
|
|
28483
|
-
crud.params.
|
|
28488
|
+
crud.params.pageSize = pageSize.value;
|
|
28484
28489
|
}
|
|
28485
28490
|
}
|
|
28486
28491
|
mitt.on("crud.refresh", ({
|
|
@@ -28661,38 +28666,8 @@
|
|
|
28661
28666
|
} = useCore();
|
|
28662
28667
|
const exportVisible = vue.ref(false);
|
|
28663
28668
|
const exportLoading = vue.ref(false);
|
|
28664
|
-
// 根据字典替换请求参数
|
|
28665
28669
|
function paramsReplaceExport(params) {
|
|
28666
|
-
|
|
28667
|
-
pagination,
|
|
28668
|
-
search,
|
|
28669
|
-
sort
|
|
28670
|
-
} = crud.dict;
|
|
28671
|
-
// 请求参数
|
|
28672
|
-
const a = {
|
|
28673
|
-
...params
|
|
28674
|
-
};
|
|
28675
|
-
// 字典
|
|
28676
|
-
const b = {
|
|
28677
|
-
...pagination,
|
|
28678
|
-
...search,
|
|
28679
|
-
...sort
|
|
28680
|
-
};
|
|
28681
|
-
for (const i in b) {
|
|
28682
|
-
if (a[i]) {
|
|
28683
|
-
if (i != b[i]) {
|
|
28684
|
-
a[`_${b[i]}`] = a[i];
|
|
28685
|
-
delete a[i];
|
|
28686
|
-
}
|
|
28687
|
-
}
|
|
28688
|
-
}
|
|
28689
|
-
for (const i in a) {
|
|
28690
|
-
if (i[0] === "_") {
|
|
28691
|
-
a[i.substr(1)] = a[i];
|
|
28692
|
-
delete a[i];
|
|
28693
|
-
}
|
|
28694
|
-
}
|
|
28695
|
-
return a;
|
|
28670
|
+
return replaceParamsByDict(params, crud.dict);
|
|
28696
28671
|
}
|
|
28697
28672
|
const onExport = () => {
|
|
28698
28673
|
return new Promise(r1 => {
|
|
@@ -14,7 +14,7 @@ export declare const epieDescriptionsProps: () => {
|
|
|
14
14
|
default: string;
|
|
15
15
|
};
|
|
16
16
|
size: {
|
|
17
|
-
type: PropType<"" | "
|
|
17
|
+
type: PropType<"" | "small" | "default" | "large">;
|
|
18
18
|
};
|
|
19
19
|
title: {
|
|
20
20
|
type: StringConstructor;
|
|
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
default: string;
|
|
45
45
|
};
|
|
46
46
|
size: {
|
|
47
|
-
type: PropType<"" | "
|
|
47
|
+
type: PropType<"" | "small" | "default" | "large">;
|
|
48
48
|
};
|
|
49
49
|
title: {
|
|
50
50
|
type: StringConstructor;
|
|
@@ -75,7 +75,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
75
|
default: string;
|
|
76
76
|
};
|
|
77
77
|
size: {
|
|
78
|
-
type: PropType<"" | "
|
|
78
|
+
type: PropType<"" | "small" | "default" | "large">;
|
|
79
79
|
};
|
|
80
80
|
title: {
|
|
81
81
|
type: StringConstructor;
|
package/lib/css/bi-crud.min.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.epie-crud{display:flex;flex-direction:column;height:100%;position:relative;box-sizing:border-box;background-color:#fff;overflow:hidden}.epie-crud.is-border{border:1px solid #eee}.epie-crud .el-input-number__decrease,.epie-crud .el-input-number__increase{border:0;background-color:transparent}.epie-crud>.el-row{overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;padding-bottom:5px;margin-bottom:0}.epie-crud>.el-row.epie-no-scroll{overflow-x:hidden;overflow-y:hidden}.epie-crud>.el-row::-webkit-scrollbar{height:4px}.epie-crud>.el-row::-webkit-scrollbar-thumb{background-color:rgba(144,147,153,0.3);border-radius:5px}.epie-crud>.el-row::-webkit-scrollbar-track{background:transparent}.epie-crud>.el-row+.el-row{margin-top:5px}.epie-flex1{flex:1;font-size:12px}.epie-search-key{display:flex;margin-left:10px}.epie-search-key__select{margin-right:10px}.epie-search-key__select .el-input__inner{width:120px}.epie-search-key__input .el-input__inner{width:250px}.epie-search-key__button.el-button{margin-left:10px}.epie-table{width:100%}.epie-table .el-table.el-loading-parent--relative{box-sizing:border-box}.epie-table .el-
|
|
1
|
+
.epie-crud{display:flex;flex-direction:column;height:100%;position:relative;box-sizing:border-box;background-color:#fff;overflow:hidden}.epie-crud.is-border{border:1px solid #eee}.epie-crud .el-input-number__decrease,.epie-crud .el-input-number__increase{border:0;background-color:transparent}.epie-crud>.el-row{overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;padding-bottom:5px;margin-bottom:0}.epie-crud>.el-row.epie-no-scroll{overflow-x:hidden;overflow-y:hidden}.epie-crud>.el-row::-webkit-scrollbar{height:4px}.epie-crud>.el-row::-webkit-scrollbar-thumb{background-color:rgba(144,147,153,0.3);border-radius:5px}.epie-crud>.el-row::-webkit-scrollbar-track{background:transparent}.epie-crud>.el-row+.el-row{margin-top:5px}.epie-flex1{flex:1;font-size:12px}.epie-search-key{display:flex;margin-left:10px}.epie-search-key__select{margin-right:10px}.epie-search-key__select .el-input__inner{width:120px}.epie-search-key__input .el-input__inner{width:250px}.epie-search-key__button.el-button{margin-left:10px}.epie-table{width:100%}.epie-table .el-table.el-loading-parent--relative{box-sizing:border-box}.epie-table .el-loading-mask .el-loading-spinner .el-icon-loading{font-size:25px;color:#000}.epie-table .el-loading-mask .el-loading-spinner .el-loading-text{color:#666;margin-top:5px}.epie-crud__op-dropdown-menu .el-dropdown-menu__item{height:30px;line-height:30px;padding:0}.epie-crud__op-dropdown-menu .el-button{height:30px;width:100%;padding:0 20px;text-align:left;box-sizing:border-box}.epie-query{display:inline-flex;margin:0 10px;border-radius:3px}.epie-query button{border:0;background-color:#fff;font-size:12px;outline:none;cursor:pointer;color:#666;white-space:nowrap}.epie-query button:hover{color:#6fa8ff}.epie-query button.is-active{color:#409eff}.epie-query button span{display:inline-block;padding:0 15px;border-right:1px solid #ddd}.epie-query button:last-child span{border:0}.epie-filter{display:flex;align-items:center;margin:0 10px}.epie-filter__label{font-size:12px;margin-right:10px;white-space:nowrap}.epie-filter .el-select{min-width:120px}.epie-filter-group{display:inline-flex;white-space:nowrap;margin:0 10px}.epie-filter-group__items{display:inline-flex}.epie-filter-group .el-form--inline .el-form-item{margin-right:10px;margin-bottom:0}.epie-filter-group .el-form--inline .el-form-item .el-date-editor{box-sizing:border-box}.epie-filter-group .el-form--inline .el-form-item .el-date-editor .el-range-input:nth-child(2){margin-left:5px}.epie-adv-search.el-drawer{background-color:#fff}.epie-adv-search .el-drawer__body{padding:0}.epie-adv-search__header{display:flex;align-items:center;justify-content:space-between;height:50px;padding:0 15px 0 20px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.epie-adv-search__header .text{font-size:16px}.epie-adv-search__header .el-icon{cursor:pointer}.epie-adv-search__header .el-icon:hover{color:red}.epie-adv-search__container{height:calc(100% - 100px);overflow-y:auto;padding:10px 20px;box-sizing:border-box}.epie-adv-search__container::-webkit-scrollbar{width:6px}.epie-adv-search__container::-webkit-scrollbar-thumb{border-radius:6px;background-color:rgba(144,147,153,0.3)}.epie-adv-search__container .el-form-item__content>div{width:100%}.epie-adv-search__footer{display:flex;align-items:center;justify-content:flex-end;height:50px;border-top:1px solid #ebeef5;padding:0 10px;box-sizing:border-box}.epie-inline-search .el-drawer__header{margin-bottom:20px}.epie-inline-search .el-drawer__body{height:calc(100% - 63px);padding:0 5px}.epie-inline-search__container{height:calc(100% - 55px);overflow-y:auto;padding:10px 20px;margin-bottom:5px;box-sizing:border-box}.epie-inline-search__container::-webkit-scrollbar{width:6px}.epie-inline-search__container::-webkit-scrollbar-thumb{border-radius:6px;background-color:rgba(144,147,153,0.3)}.epie-inline-search__container .el-form-item__content>div{width:100%}.epie-inline-search__footer{display:flex;align-items:center;justify-content:flex-end;height:50px;border-top:1px solid #ebeef5}.epie-inline-search .el-drawer{outline:none}.epie-inline-search .el-drawer__header span{outline:none;font-size:15px}.epie-inline-search .el-drawer__close-btn{outline:none}.epie-form .el-form-item .el-input-number__decrease,.epie-form .el-form-item .el-input-number__increase{border:0;background-color:transparent}.epie-form .el-form-item__label .el-tooltip i{margin-left:5px}.epie-form .el-form-item__content{min-width:0px}.epie-form .el-form-item__content>div{width:100%}.epie-form-item{display:flex}.epie-form-item__prepend{margin-right:10px}.epie-form-item__component.is-flex{flex:1;width:100%}.epie-form-item__component.is-flex>div{width:100%}.epie-form-item__append{margin-left:10px}.epie-form-item__collapse{width:100%;font-size:12px;cursor:pointer}.epie-form-item__collapse .el-divider{margin:16px 0}.epie-form-item__collapse .el-divider__text{font-size:12px}.epie-form-item__collapse i{margin-left:6px}.epie-form-item .el-table__header tr{line-height:normal}.epie-form__footer{display:flex;justify-content:flex-end}.epie-form-tabs{border-bottom:1px solid #ccc;overflow:hidden;width:calc(100% - 10px);margin:0 5px 20px 5px}.epie-form-tabs ul{height:35px;width:100%;overflow-x:auto;white-space:nowrap;position:relative;scrollbar-width:none;-ms-overflow-style:none}.epie-form-tabs ul::-webkit-scrollbar{display:none}.epie-form-tabs ul li{display:inline-block;list-style:none;padding:0 20px;height:35px;line-height:35px;cursor:pointer}.epie-form-tabs__line{height:2px;width:100%;position:absolute;bottom:-1px;left:0;transition:transform 0.3s ease-in-out,width 0.2s 0.1s cubic-bezier(0.645,0.045,0.355,1)}.epie-dialog .el-dialog__header{padding:0;text-align:center;border-bottom:1px solid #f7f7f7;margin-right:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.epie-dialog .el-dialog__header-slot.is-drag{-moz-user-select:none;-webkit-user-select:none;user-select:none;cursor:move}.epie-dialog .el-dialog__body{padding:20px}.epie-dialog .el-dialog__footer{padding:0}.epie-dialog__header{position:relative;padding:10px}.epie-dialog__footer{padding:20px}.epie-dialog__title{display:block;font-size:15px;text-align:center;letter-spacing:0.5px}.epie-dialog__controls{display:flex;justify-content:flex-end;position:absolute;right:0;top:0;z-index:9;width:100%}.epie-dialog__controls-icon,.epie-dialog__controls .minimize,.epie-dialog__controls .maximize,.epie-dialog__controls .close{display:flex;align-items:center;justify-content:center;height:40px;width:40px;border:0;background-color:#fff;cursor:pointer;outline:none}.epie-dialog__controls-icon i,.epie-dialog__controls .minimize i,.epie-dialog__controls .maximize i,.epie-dialog__controls .close i{font-size:18px}.epie-dialog__controls-icon i:hover,.epie-dialog__controls .minimize i:hover,.epie-dialog__controls .maximize i:hover,.epie-dialog__controls .close i:hover{opacity:0.7}.epie-dialog.hidden-header .el-dialog__header{display:none}.epie-context-menu{position:absolute;z-index:9999}.epie-context-menu__box{box-shadow:0 2px 12px 0 rgba(0,0,0,0.1);width:160px;background-color:#fff;border-radius:3px;position:absolute;top:0}.epie-context-menu__box.is-append{right:calc(-100% - 5px);top:-5px}.epie-context-menu__box>div{display:flex;align-items:center;height:35px;font-size:13px;cursor:pointer;padding:0 15px;color:#666;position:relative}.epie-context-menu__box>div:first-child{margin-top:5px}.epie-context-menu__box>div:last-child{margin-bottom:5px}.epie-context-menu__box>div span{height:35px;line-height:35px;flex:1}.epie-context-menu__box>div:hover{background-color:#f7f7f7;color:#000}.epie-context-menu__box>div i:first-child{margin-right:5px}.epie-context-menu__box>div i:last-child{margin-left:5px}.epie-context-menu__box>div.is-active{background-color:#f7f7f7;color:#000}.epie-context-menu__box>div.is-ellipsis span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.epie-context-menu__box>div.is-disabled span{color:#ccc}.epie-context-menu__box>div.is-disabled span:hover{color:#ccc}.epie-context-menu__target{position:relative}.epie-context-menu__target::after{content:"";display:block;position:absolute;left:0;top:0;height:100%;width:100%;background-color:rgba(0,0,0,0.05)}.el-message,.el-overlay.is-message-box{z-index:10000 !important}.el-message.el-message--success,.el-message.el-message--error,.el-message.el-message--info,.el-message.el-message--warning{min-width:auto;background-color:#fff;box-shadow:0 4px 12px rgba(0,0,0,0.15);border:0;padding:12px 20px 12px 15px}.el-message.el-message--success .el-message__content,.el-message.el-message--error .el-message__content,.el-message.el-message--info .el-message__content,.el-message.el-message--warning .el-message__content{color:#999}.epie-descriptions.el-drawer{background-color:#fff}.epie-descriptions .el-drawer__body{padding:0}.epie-descriptions__header{display:flex;align-items:center;justify-content:space-between;height:50px;padding:0 15px 0 20px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.epie-descriptions__header .text{font-size:16px}.epie-descriptions__header .el-icon{cursor:pointer}.epie-descriptions__header .el-icon:hover{color:red}.epie-descriptions__container{height:calc(100% - 100px);overflow-y:auto;padding:10px 20px;box-sizing:border-box}.epie-descriptions__container::-webkit-scrollbar{width:6px}.epie-descriptions__container::-webkit-scrollbar-thumb{border-radius:6px;background-color:rgba(144,147,153,0.3)}.epie-descriptions__container .el-form-item__content>div{width:100%}.epie-descriptions__footer{display:flex;align-items:center;justify-content:flex-end;height:50px;border-top:1px solid #ebeef5;padding:0 10px;box-sizing:border-box}@media only screen and (max-width:768px){.el-message-box{width:90% !important}.el-table__body-wrapper::-webkit-scrollbar{height:6px;width:6px}}
|
package/lib/hooks/core.d.ts
CHANGED
package/lib/utils/index.d.ts
CHANGED
|
@@ -15,4 +15,5 @@ export declare function contains(parent: any, node: any): any;
|
|
|
15
15
|
export declare function deepMerge(a: any, b: any): any;
|
|
16
16
|
export declare function addClass(el: Element, name: string): void;
|
|
17
17
|
export declare function removeClass(el: Element, name: string): void;
|
|
18
|
+
export { replaceParamsByDict } from "./paramsReplace";
|
|
18
19
|
export { cloneDeep, flat, merge };
|