@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.
@@ -204,7 +204,7 @@
204
204
  }
205
205
  .ant-table-wrapper .ant-pagination .ant-pagination-total-text {
206
206
  position: absolute;
207
- left: 32px;
207
+ left: 0;
208
208
  height: 30px;
209
209
  line-height: 30px;
210
210
  }
@@ -6,7 +6,7 @@
6
6
  }
7
7
  .ant-table-wrapper .ant-pagination .ant-pagination-total-text {
8
8
  position: absolute;
9
- left: 32px;
9
+ left: 0;
10
10
  height: 30px;
11
11
  line-height: 30px;
12
12
  }
@@ -198,8 +198,9 @@
198
198
  }
199
199
  .ant-table-wrapper .ant-pagination .ant-pagination-total-text {
200
200
  position: absolute;
201
- left: 32px;
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 {
@@ -6,8 +6,9 @@
6
6
  }
7
7
  .ant-table-wrapper .ant-pagination .ant-pagination-total-text {
8
8
  position: absolute;
9
- left: 32px;
9
+ left: 0;
10
10
  height: 30px;
11
+ padding: 0 0 0 16px;
11
12
  line-height: 30px;
12
13
  }
13
14
  .ant-table-wrapper .ant-pagination .ant-pagination-item {
@@ -1,26 +1,30 @@
1
- import { isUndefined as u } from "lodash-unified";
2
- const c = (n) => n != null && n.className && ["ant-tooltip-open"].includes(n == null ? void 0 : n.className) ? document == null ? void 0 : document.body : (n == null ? void 0 : n.parentNode) || (document == null ? void 0 : document.body), a = ({ text: n }) => {
3
- const o = (s) => s == null || s === "";
4
- return Array.isArray(n) ? o(n[0]) ? "--" : n[0] : o(n) ? "--" : n;
5
- }, f = !1, t = {
6
- getPopupContainer: c,
7
- transformCellText: a,
8
- autoInsertSpaceInButton: f
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 l(n) {
11
- const o = {
14
+ function i(n) {
15
+ const e = {
12
16
  ...n
13
- }, s = Object.keys(
14
- t
17
+ }, t = Object.keys(
18
+ o
15
19
  );
16
- for (const e of s)
17
- u(o[e]) && (o[e] = t[e]);
18
- return o;
20
+ for (const r of t)
21
+ a(e[r]) && (e[r] = o[r]);
22
+ return e;
19
23
  }
20
24
  export {
21
- t as antdConfigProviderPresets,
22
- f as autoInsertSpaceInButton,
23
- c as getPopupContainer,
24
- l as mergeAntdProvideConfig,
25
- a as transformCellText
25
+ o as antdConfigProviderPresets,
26
+ m as autoInsertSpaceInButton,
27
+ u as getPopupContainer,
28
+ i as mergeAntdProvideConfig,
29
+ f as transformCellText
26
30
  };
@@ -204,7 +204,7 @@
204
204
  }
205
205
  .ant-table-wrapper .ant-pagination .ant-pagination-total-text {
206
206
  position: absolute;
207
- left: 32px;
207
+ left: 0;
208
208
  height: 30px;
209
209
  line-height: 30px;
210
210
  }
@@ -6,7 +6,7 @@
6
6
  }
7
7
  .ant-table-wrapper .ant-pagination .ant-pagination-total-text {
8
8
  position: absolute;
9
- left: 32px;
9
+ left: 0;
10
10
  height: 30px;
11
11
  line-height: 30px;
12
12
  }
@@ -198,8 +198,9 @@
198
198
  }
199
199
  .ant-table-wrapper .ant-pagination .ant-pagination-total-text {
200
200
  position: absolute;
201
- left: 32px;
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 {
@@ -6,8 +6,9 @@
6
6
  }
7
7
  .ant-table-wrapper .ant-pagination .ant-pagination-total-text {
8
8
  position: absolute;
9
- left: 32px;
9
+ left: 0;
10
10
  height: 30px;
11
+ padding: 0 0 0 16px;
11
12
  line-height: 30px;
12
13
  }
13
14
  .ant-table-wrapper .ant-pagination .ant-pagination-item {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("lodash-unified"),u=n=>n!=null&&n.className&&["ant-tooltip-open"].includes(n==null?void 0:n.className)?document==null?void 0:document.body:(n==null?void 0:n.parentNode)||(document==null?void 0:document.body),a=({text:n})=>{const o=e=>e==null||e==="";return Array.isArray(n)?o(n[0])?"--":n[0]:o(n)?"--":n},d=!1,t={getPopupContainer:u,transformCellText:a,autoInsertSpaceInButton:d};function r(n){const o={...n},e=Object.keys(t);for(const s of e)c.isUndefined(o[s])&&(o[s]=t[s]);return o}exports.antdConfigProviderPresets=t;exports.autoInsertSpaceInButton=d;exports.getPopupContainer=u;exports.mergeAntdProvideConfig=r;exports.transformCellText=a;
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.22",
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/hooks": "1.0.4",
64
- "@aplus-frontend/utils": "1.0.19"
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",