@aplus-frontend/ui 0.0.1-beta.22 → 0.0.1-beta.23
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/es/src/theme/antd-global-overwrite/admin/index.css +1 -1
- package/es/src/theme/antd-global-overwrite/admin/pagination.css +1 -1
- package/es/src/theme/antd-global-overwrite/aplus/index.css +2 -1
- package/es/src/theme/antd-global-overwrite/aplus/pagination.css +2 -1
- package/es/src/utils/config-provider-preset.mjs +24 -20
- package/lib/src/theme/antd-global-overwrite/admin/index.css +1 -1
- package/lib/src/theme/antd-global-overwrite/admin/pagination.css +1 -1
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +2 -1
- package/lib/src/theme/antd-global-overwrite/aplus/pagination.css +2 -1
- package/lib/src/utils/config-provider-preset.js +1 -1
- package/package.json +3 -3
|
@@ -198,8 +198,9 @@
|
|
|
198
198
|
}
|
|
199
199
|
.ant-table-wrapper .ant-pagination .ant-pagination-total-text {
|
|
200
200
|
position: absolute;
|
|
201
|
-
left:
|
|
201
|
+
left: 0;
|
|
202
202
|
height: 30px;
|
|
203
|
+
padding: 0 0 0 16px;
|
|
203
204
|
line-height: 30px;
|
|
204
205
|
}
|
|
205
206
|
.ant-table-wrapper .ant-pagination .ant-pagination-item {
|
|
@@ -1,26 +1,30 @@
|
|
|
1
|
-
import { isUndefined as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
return
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { isUndefined as a } from "lodash-unified";
|
|
2
|
+
function s(n, e) {
|
|
3
|
+
var t, r;
|
|
4
|
+
return n != null && n.parentElement ? n.parentElement.classList.contains(e) ? ((t = n.parentElement) == null ? void 0 : t.parentElement) && ((r = n.parentElement.parentElement.className) == null ? void 0 : r.includes("basic-table")) : s(n.parentElement, e) : !1;
|
|
5
|
+
}
|
|
6
|
+
const u = (n) => s(n, "ant-form") && (n == null ? void 0 : n.parentNode) || (document == null ? void 0 : document.body), f = ({ text: n }) => {
|
|
7
|
+
const e = (t) => t == null || t === "";
|
|
8
|
+
return Array.isArray(n) ? e(n[0]) ? "--" : n[0] : e(n) ? "--" : n;
|
|
9
|
+
}, m = !1, o = {
|
|
10
|
+
getPopupContainer: u,
|
|
11
|
+
transformCellText: f,
|
|
12
|
+
autoInsertSpaceInButton: m
|
|
9
13
|
};
|
|
10
|
-
function
|
|
11
|
-
const
|
|
14
|
+
function i(n) {
|
|
15
|
+
const e = {
|
|
12
16
|
...n
|
|
13
|
-
},
|
|
14
|
-
|
|
17
|
+
}, t = Object.keys(
|
|
18
|
+
o
|
|
15
19
|
);
|
|
16
|
-
for (const
|
|
17
|
-
|
|
18
|
-
return
|
|
20
|
+
for (const r of t)
|
|
21
|
+
a(e[r]) && (e[r] = o[r]);
|
|
22
|
+
return e;
|
|
19
23
|
}
|
|
20
24
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
o as antdConfigProviderPresets,
|
|
26
|
+
m as autoInsertSpaceInButton,
|
|
27
|
+
u as getPopupContainer,
|
|
28
|
+
i as mergeAntdProvideConfig,
|
|
29
|
+
f as transformCellText
|
|
26
30
|
};
|
|
@@ -198,8 +198,9 @@
|
|
|
198
198
|
}
|
|
199
199
|
.ant-table-wrapper .ant-pagination .ant-pagination-total-text {
|
|
200
200
|
position: absolute;
|
|
201
|
-
left:
|
|
201
|
+
left: 0;
|
|
202
202
|
height: 30px;
|
|
203
|
+
padding: 0 0 0 16px;
|
|
203
204
|
line-height: 30px;
|
|
204
205
|
}
|
|
205
206
|
.ant-table-wrapper .ant-pagination .ant-pagination-item {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("lodash-unified");function s(e,n){var t,r;return e!=null&&e.parentElement?e.parentElement.classList.contains(n)?((t=e.parentElement)==null?void 0:t.parentElement)&&((r=e.parentElement.parentElement.className)==null?void 0:r.includes("basic-table")):s(e.parentElement,n):!1}const a=e=>s(e,"ant-form")&&(e==null?void 0:e.parentNode)||(document==null?void 0:document.body),u=({text:e})=>{const n=t=>t==null||t==="";return Array.isArray(e)?n(e[0])?"--":e[0]:n(e)?"--":e},f=!1,o={getPopupContainer:a,transformCellText:u,autoInsertSpaceInButton:f};function l(e){const n={...e},t=Object.keys(o);for(const r of t)i.isUndefined(n[r])&&(n[r]=o[r]);return n}exports.antdConfigProviderPresets=o;exports.autoInsertSpaceInButton=f;exports.getPopupContainer=a;exports.mergeAntdProvideConfig=l;exports.transformCellText=u;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aplus-frontend/ui",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.23",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "es/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"sortablejs": "^1.15.2",
|
|
61
61
|
"@aplus-frontend/oss": "^1.0.11",
|
|
62
62
|
"mime": "^4.0.3",
|
|
63
|
-
"@aplus-frontend/
|
|
64
|
-
"@aplus-frontend/
|
|
63
|
+
"@aplus-frontend/utils": "1.0.19",
|
|
64
|
+
"@aplus-frontend/hooks": "1.0.4"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"ant-design-vue": "^4.2.1",
|