@ganwei-web/gw-base-components-plus 1.0.20 → 1.0.22
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/customDirective/getUserPermissionList.js +53 -0
- package/customDirective/index.js +15 -0
- package/customDirective/interfaceDefinition.ts +10 -0
- package/customDirective/permission.js +61 -0
- package/element-plus-adapter/dist/ElementPlusAdapter.cjs +3 -1
- package/element-plus-adapter/dist/ElementPlusAdapter.cjs.map +1 -1
- package/element-plus-adapter/dist/ElementPlusAdapter.css +21 -9
- package/element-plus-adapter/dist/ElementPlusAdapter.iife.js +3 -1
- package/element-plus-adapter/dist/ElementPlusAdapter.iife.js.map +1 -1
- package/element-plus-adapter/dist/ElementPlusAdapter.js +5 -3
- package/element-plus-adapter/dist/ElementPlusAdapter.js.map +1 -1
- package/equip-list-vue3/dist/index.es.js +696 -616
- package/equip-list-vue3/dist/index.umd.js +1 -1
- package/package.json +1 -1
|
@@ -716,7 +716,7 @@
|
|
|
716
716
|
}
|
|
717
717
|
.noDataTips {
|
|
718
718
|
width: 100%;
|
|
719
|
-
height: 300px;
|
|
719
|
+
min-height: 300px;
|
|
720
720
|
position: relative;
|
|
721
721
|
vertical-align: middle;
|
|
722
722
|
}
|
|
@@ -851,23 +851,28 @@
|
|
|
851
851
|
top: 0;
|
|
852
852
|
left: 0;
|
|
853
853
|
background: var(--tree-node-border__select);
|
|
854
|
-
}.el-pagination.is-background .el-select
|
|
854
|
+
}.el-pagination.is-background .el-select,
|
|
855
|
+
.el-pagination .el-select {
|
|
855
856
|
width: auto;
|
|
856
857
|
}
|
|
857
|
-
.el-pagination.is-background .el-select .el-select__wrapper
|
|
858
|
+
.el-pagination.is-background .el-select .el-select__wrapper,
|
|
859
|
+
.el-pagination .el-select .el-select__wrapper {
|
|
858
860
|
background-color: var(--page-background);
|
|
859
861
|
border: none;
|
|
860
862
|
}
|
|
861
|
-
.el-pagination.is-background .el-select .el-select__wrapper .el-input__inner
|
|
863
|
+
.el-pagination.is-background .el-select .el-select__wrapper .el-input__inner,
|
|
864
|
+
.el-pagination .el-select .el-select__wrapper .el-input__inner {
|
|
862
865
|
color: var(--page-color);
|
|
863
866
|
background-color: var(--page-background);
|
|
864
867
|
border: 1px solid var(--page-border);
|
|
865
868
|
}
|
|
866
|
-
.el-pagination.is-background .el-select .el-select__wrapper .el-select__selection .el-select__placeholder
|
|
869
|
+
.el-pagination.is-background .el-select .el-select__wrapper .el-select__selection .el-select__placeholder,
|
|
870
|
+
.el-pagination .el-select .el-select__wrapper .el-select__selection .el-select__placeholder {
|
|
867
871
|
position: relative;
|
|
868
872
|
transform: translateY(0);
|
|
869
873
|
}
|
|
870
|
-
.el-pagination.is-background .el-pagination__sizes
|
|
874
|
+
.el-pagination.is-background .el-pagination__sizes,
|
|
875
|
+
.el-pagination .el-pagination__sizes {
|
|
871
876
|
margin-right: 10px;
|
|
872
877
|
border: 1px solid var(--input-border);
|
|
873
878
|
border-radius: 4px;
|
|
@@ -875,20 +880,27 @@
|
|
|
875
880
|
.el-pagination.is-background .btn-prev,
|
|
876
881
|
.el-pagination.is-background .btn-prev:disabled,
|
|
877
882
|
.el-pagination.is-background .btn-next,
|
|
878
|
-
.el-pagination.is-background .btn-next:disabled
|
|
883
|
+
.el-pagination.is-background .btn-next:disabled,
|
|
884
|
+
.el-pagination .btn-prev,
|
|
885
|
+
.el-pagination .btn-prev:disabled,
|
|
886
|
+
.el-pagination .btn-next,
|
|
887
|
+
.el-pagination .btn-next:disabled {
|
|
879
888
|
margin: 0 5px;
|
|
880
889
|
color: var(--page-color);
|
|
881
890
|
background-color: var(--page-background);
|
|
882
891
|
border: 1px solid var(--page-border);
|
|
883
892
|
}
|
|
884
|
-
.el-pagination.is-background .el-pager li.is-active
|
|
893
|
+
.el-pagination.is-background .el-pager li.is-active,
|
|
894
|
+
.el-pagination .el-pager li.is-active {
|
|
885
895
|
margin: 0 5px;
|
|
886
896
|
color: var(--page-color__active);
|
|
887
897
|
background-color: var(--page-background__active);
|
|
888
898
|
border-color: var(--page-background__active);
|
|
889
899
|
}
|
|
890
900
|
.el-pagination.is-background .el-pagination__jump .el-input .el-input__wrapper,
|
|
891
|
-
.el-pagination.is-background .el-pagination__jump .el-input .el-input__inner
|
|
901
|
+
.el-pagination.is-background .el-pagination__jump .el-input .el-input__inner,
|
|
902
|
+
.el-pagination .el-pagination__jump .el-input .el-input__wrapper,
|
|
903
|
+
.el-pagination .el-pagination__jump .el-input .el-input__inner {
|
|
892
904
|
background-color: var(--page-background);
|
|
893
905
|
}.el-image .error-slot {
|
|
894
906
|
color: var(--frame-main-color);
|
|
@@ -630,12 +630,14 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
|
|
|
630
630
|
const proxyElement = vue.ref();
|
|
631
631
|
const expose = useExpose(proxyElement);
|
|
632
632
|
__expose(expose);
|
|
633
|
+
const injectedLocale = vue.inject(elementPlus.localeContextKey, {});
|
|
634
|
+
const locale = vue.computed(() => attrs.locale || injectedLocale.value);
|
|
633
635
|
const defaultAttrs = {
|
|
634
636
|
pageSizes: [20, 50, 100],
|
|
635
637
|
layout: "sizes,prev, pager, next,total"
|
|
636
638
|
};
|
|
637
639
|
return (_ctx, _cache) => {
|
|
638
|
-
return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElPagination), vue.mergeProps({ ...defaultAttrs, ...vue.unref(attrs) }, {
|
|
640
|
+
return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElPagination), vue.mergeProps({ ...defaultAttrs, ...vue.unref(attrs), locale: locale.value }, {
|
|
639
641
|
ref_key: "proxyElement",
|
|
640
642
|
ref: proxyElement
|
|
641
643
|
}), vue.createSlots({ _: 2 }, [
|