@aplus-frontend/ui 0.0.1-beta.18 → 0.0.1-beta.19
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/config-provider/config-provider.mjs +8 -8
- package/es/src/theme/antd-global-overwrite/admin/button.css +3 -0
- package/es/src/theme/antd-global-overwrite/admin/index.css +30 -0
- package/es/src/theme/antd-global-overwrite/admin/table.css +27 -0
- package/es/src/theme/antd-global-overwrite/aplus/button.css +3 -0
- package/es/src/theme/antd-global-overwrite/aplus/index.css +3 -0
- package/es/src/utils/config-provider-preset.d.ts +58 -15
- package/es/src/utils/config-provider-preset.mjs +22 -7
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/theme/antd-global-overwrite/admin/button.css +3 -0
- package/lib/src/theme/antd-global-overwrite/admin/index.css +30 -0
- package/lib/src/theme/antd-global-overwrite/admin/table.css +27 -0
- package/lib/src/theme/antd-global-overwrite/aplus/button.css +3 -0
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +3 -0
- package/lib/src/utils/config-provider-preset.d.ts +58 -15
- package/lib/src/utils/config-provider-preset.js +1 -1
- package/package.json +2 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { isVNode as d, defineComponent as a, createVNode as
|
|
1
|
+
import { isVNode as d, defineComponent as a, createVNode as u, renderSlot as c } from "vue";
|
|
2
2
|
import { ConfigProvider as g } from "ant-design-vue";
|
|
3
|
-
import { provideGlobalConfig as
|
|
3
|
+
import { provideGlobalConfig as s } from "./hooks/use-global-config.mjs";
|
|
4
4
|
import { configProviderProps as v } from "./config-provider-props.mjs";
|
|
5
5
|
import { tableDefaultConfig as C } from "./constants.mjs";
|
|
6
|
-
import {
|
|
7
|
-
function
|
|
6
|
+
import { mergeAntdProvideConfig as P } from "../utils/config-provider-preset.mjs";
|
|
7
|
+
function b(o) {
|
|
8
8
|
return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !d(o);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
10
|
+
const V = /* @__PURE__ */ a({
|
|
11
11
|
name: "AplusConfigProvider",
|
|
12
12
|
props: v(),
|
|
13
13
|
setup({
|
|
@@ -21,7 +21,7 @@ const x = /* @__PURE__ */ a({
|
|
|
21
21
|
}, {
|
|
22
22
|
slots: m
|
|
23
23
|
}) {
|
|
24
|
-
const r =
|
|
24
|
+
const r = s({
|
|
25
25
|
namespace: o,
|
|
26
26
|
aplusLocale: t,
|
|
27
27
|
api: i,
|
|
@@ -34,7 +34,7 @@ const x = /* @__PURE__ */ a({
|
|
|
34
34
|
});
|
|
35
35
|
return () => {
|
|
36
36
|
let e;
|
|
37
|
-
return
|
|
37
|
+
return u(g, P(l), b(e = c(m, "default", {
|
|
38
38
|
config: r == null ? void 0 : r.value
|
|
39
39
|
})) ? e : {
|
|
40
40
|
default: () => [e]
|
|
@@ -43,5 +43,5 @@ const x = /* @__PURE__ */ a({
|
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
export {
|
|
46
|
-
|
|
46
|
+
V as ConfigProvider
|
|
47
47
|
};
|
|
@@ -29,6 +29,9 @@
|
|
|
29
29
|
.ant-form-item-control-input-content [text='Search'] {
|
|
30
30
|
min-width: 0;
|
|
31
31
|
}
|
|
32
|
+
.ant-btn-link {
|
|
33
|
+
min-width: 0;
|
|
34
|
+
}
|
|
32
35
|
.ant-form .ant-form-item label {
|
|
33
36
|
font-weight: normal;
|
|
34
37
|
}
|
|
@@ -334,3 +337,30 @@
|
|
|
334
337
|
font-size: 12px;
|
|
335
338
|
line-height: 1em;
|
|
336
339
|
}
|
|
340
|
+
.ant-table-wrapper {
|
|
341
|
+
border-radius: 0 !important;
|
|
342
|
+
}
|
|
343
|
+
.ant-table-wrapper .ant-table {
|
|
344
|
+
border-radius: 0;
|
|
345
|
+
}
|
|
346
|
+
.ant-table-wrapper .ant-table div.ant-table-title {
|
|
347
|
+
padding: 0 0 12px !important;
|
|
348
|
+
}
|
|
349
|
+
.ant-table-wrapper .ant-table .ant-table-container {
|
|
350
|
+
border-radius: 0;
|
|
351
|
+
}
|
|
352
|
+
.ant-table-wrapper .ant-table .ant-table-container table {
|
|
353
|
+
border-radius: 0;
|
|
354
|
+
}
|
|
355
|
+
.ant-table-wrapper .ant-table .ant-table-container table > thead > tr:first-child > *:first-child {
|
|
356
|
+
border-radius: 0;
|
|
357
|
+
}
|
|
358
|
+
.ant-table-wrapper .ant-table .ant-table-container .ant-table-header {
|
|
359
|
+
border-radius: 0;
|
|
360
|
+
}
|
|
361
|
+
.ant-table-wrapper .ant-table .ant-table-container .ant-table-tbody > tr > td {
|
|
362
|
+
padding: 12px 16px;
|
|
363
|
+
}
|
|
364
|
+
.ant-table-wrapper .ant-table .ant-table-container .ant-table-thead > tr > th {
|
|
365
|
+
padding: 12px 16px;
|
|
366
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
.ant-table-wrapper {
|
|
2
|
+
border-radius: 0 !important;
|
|
3
|
+
}
|
|
4
|
+
.ant-table-wrapper .ant-table {
|
|
5
|
+
border-radius: 0;
|
|
6
|
+
}
|
|
7
|
+
.ant-table-wrapper .ant-table div.ant-table-title {
|
|
8
|
+
padding: 0 0 12px !important;
|
|
9
|
+
}
|
|
10
|
+
.ant-table-wrapper .ant-table .ant-table-container {
|
|
11
|
+
border-radius: 0;
|
|
12
|
+
}
|
|
13
|
+
.ant-table-wrapper .ant-table .ant-table-container table {
|
|
14
|
+
border-radius: 0;
|
|
15
|
+
}
|
|
16
|
+
.ant-table-wrapper .ant-table .ant-table-container table > thead > tr:first-child > *:first-child {
|
|
17
|
+
border-radius: 0;
|
|
18
|
+
}
|
|
19
|
+
.ant-table-wrapper .ant-table .ant-table-container .ant-table-header {
|
|
20
|
+
border-radius: 0;
|
|
21
|
+
}
|
|
22
|
+
.ant-table-wrapper .ant-table .ant-table-container .ant-table-tbody > tr > td {
|
|
23
|
+
padding: 12px 16px;
|
|
24
|
+
}
|
|
25
|
+
.ant-table-wrapper .ant-table .ant-table-container .ant-table-thead > tr > th {
|
|
26
|
+
padding: 12px 16px;
|
|
27
|
+
}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TransformCellTextProps } from 'ant-design-vue/lib/table/interface';
|
|
2
|
+
import { ConfigProviderProps } from 'ant-design-vue';
|
|
3
|
+
import { ThemeConfig } from 'ant-design-vue/es/config-provider/context';
|
|
4
|
+
import { ValidateMessages } from 'ant-design-vue/es/form/interface';
|
|
5
|
+
import { RequiredMark } from 'ant-design-vue/es/form/Form';
|
|
6
|
+
import { CSPConfig } from 'ant-design-vue/es/config-provider';
|
|
7
|
+
import { Locale } from 'ant-design-vue/es/locale';
|
|
8
|
+
import { ButtonSize } from 'ant-design-vue/es/button';
|
|
9
|
+
import { default as __DTS_DEFAULT_0__ } from 'ant-design-vue/es/config-provider/renderEmpty';
|
|
10
|
+
import { TransformCellTextProps } from 'ant-design-vue/es/table/interface';
|
|
2
11
|
|
|
3
12
|
/**
|
|
4
13
|
* 弹出框(Select, Tooltip, Menu 等等)渲染父节点,默认渲染到 body 上
|
|
@@ -6,19 +15,14 @@ import { VNode, RendererNode, RendererElement } from 'vue';
|
|
|
6
15
|
* @param trigger
|
|
7
16
|
* @returns
|
|
8
17
|
*/
|
|
9
|
-
export declare const getPopupContainer: (trigger: HTMLElement | undefined) =>
|
|
10
|
-
interface TransformCellTextKey {
|
|
11
|
-
text: Array<VNode>;
|
|
12
|
-
}
|
|
18
|
+
export declare const getPopupContainer: (trigger: HTMLElement | undefined) => HTMLElement;
|
|
13
19
|
/**
|
|
14
20
|
* Table 数据渲染前可以再次改变,一般用户空数据的默认配置
|
|
15
21
|
* 解决表格空状态设置为--
|
|
16
22
|
* @param param0
|
|
17
23
|
* @returns
|
|
18
24
|
*/
|
|
19
|
-
export declare const transformCellText: ({ text }:
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
}>[];
|
|
25
|
+
export declare const transformCellText: ({ text }: TransformCellTextProps) => any;
|
|
22
26
|
/**
|
|
23
27
|
* 设置为 false 时,移除按钮中 2 个汉字之间的空格
|
|
24
28
|
*/
|
|
@@ -26,11 +30,50 @@ export declare const autoInsertSpaceInButton = false;
|
|
|
26
30
|
/**
|
|
27
31
|
* antdv的configProvider预设
|
|
28
32
|
*/
|
|
29
|
-
export declare const antdConfigProviderPresets:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
export declare const antdConfigProviderPresets: Partial<ConfigProviderProps>;
|
|
34
|
+
/**
|
|
35
|
+
* 预设和antd provider config合并 合并规则,未自定义时才使用默认预设
|
|
36
|
+
* @param config
|
|
37
|
+
* @returns
|
|
38
|
+
*/
|
|
39
|
+
export declare function mergeAntdProvideConfig(config: ConfigProviderProps): {
|
|
40
|
+
theme?: ThemeConfig | undefined;
|
|
41
|
+
direction?: "ltr" | "rtl" | undefined;
|
|
42
|
+
input?: {
|
|
43
|
+
autocomplete?: string | undefined;
|
|
44
|
+
} | undefined;
|
|
45
|
+
select?: {
|
|
46
|
+
showSearch?: boolean | undefined;
|
|
47
|
+
} | undefined;
|
|
48
|
+
form?: {
|
|
49
|
+
validateMessages?: ValidateMessages | undefined;
|
|
50
|
+
requiredMark?: RequiredMark | undefined;
|
|
51
|
+
colon?: boolean | undefined;
|
|
52
|
+
} | undefined;
|
|
53
|
+
csp?: CSPConfig | undefined;
|
|
54
|
+
locale?: Locale | undefined;
|
|
55
|
+
pageHeader?: {
|
|
56
|
+
ghost?: boolean | undefined;
|
|
57
|
+
} | undefined;
|
|
58
|
+
space?: {
|
|
59
|
+
size?: number | ButtonSize;
|
|
60
|
+
} | undefined;
|
|
61
|
+
dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
62
|
+
pagination?: {
|
|
63
|
+
showSizeChanger?: boolean | undefined;
|
|
64
|
+
} | undefined;
|
|
65
|
+
wave?: {
|
|
66
|
+
disabled?: boolean | undefined;
|
|
67
|
+
} | undefined;
|
|
68
|
+
getPopupContainer?: ((triggerNode?: HTMLElement | undefined) => HTMLElement) | undefined;
|
|
69
|
+
prefixCls?: string | undefined;
|
|
70
|
+
iconPrefixCls?: string | undefined;
|
|
71
|
+
getTargetContainer?: (() => Window | HTMLElement) | undefined;
|
|
72
|
+
getPrefixCls?: ((suffixCls?: string | undefined, customizePrefixCls?: string | undefined) => string) | undefined;
|
|
73
|
+
renderEmpty?: __DTS_DEFAULT_0__ | undefined;
|
|
74
|
+
transformCellText?: ((tableProps: TransformCellTextProps) => any) | undefined;
|
|
75
|
+
autoInsertSpaceInButton?: boolean | undefined;
|
|
76
|
+
componentSize?: ButtonSize;
|
|
77
|
+
componentDisabled?: boolean | undefined;
|
|
78
|
+
virtual?: boolean | undefined;
|
|
35
79
|
};
|
|
36
|
-
export {};
|
|
@@ -1,11 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
|
5
9
|
};
|
|
10
|
+
function l(n) {
|
|
11
|
+
const o = {
|
|
12
|
+
...n
|
|
13
|
+
}, s = Object.keys(
|
|
14
|
+
t
|
|
15
|
+
);
|
|
16
|
+
for (const e of s)
|
|
17
|
+
u(o[e]) && (o[e] = t[e]);
|
|
18
|
+
return o;
|
|
19
|
+
}
|
|
6
20
|
export {
|
|
7
21
|
t as antdConfigProviderPresets,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
22
|
+
f as autoInsertSpaceInButton,
|
|
23
|
+
c as getPopupContainer,
|
|
24
|
+
l as mergeAntdProvideConfig,
|
|
25
|
+
a as transformCellText
|
|
11
26
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),d=require("ant-design-vue"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),d=require("ant-design-vue"),g=require("./hooks/use-global-config.js"),a=require("./config-provider-props.js"),p=require("./constants.js"),v=require("../utils/config-provider-preset.js");function P(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!o.isVNode(e)}const b=o.defineComponent({name:"AplusConfigProvider",props:a.configProviderProps(),setup({namespace:e,aplusLocale:n,api:i,table:u,scrollbar:c,uiMode:s,...l},{slots:f}){const r=g.provideGlobalConfig({namespace:e,aplusLocale:n,api:i,table:{...p.tableDefaultConfig,...u||{}},scrollbar:c,uiMode:s});return()=>{let t;return o.createVNode(d.ConfigProvider,v.mergeAntdProvideConfig(l),P(t=o.renderSlot(f,"default",{config:r==null?void 0:r.value}))?t:{default:()=>[t]})}}});exports.ConfigProvider=b;
|
|
@@ -29,6 +29,9 @@
|
|
|
29
29
|
.ant-form-item-control-input-content [text='Search'] {
|
|
30
30
|
min-width: 0;
|
|
31
31
|
}
|
|
32
|
+
.ant-btn-link {
|
|
33
|
+
min-width: 0;
|
|
34
|
+
}
|
|
32
35
|
.ant-form .ant-form-item label {
|
|
33
36
|
font-weight: normal;
|
|
34
37
|
}
|
|
@@ -334,3 +337,30 @@
|
|
|
334
337
|
font-size: 12px;
|
|
335
338
|
line-height: 1em;
|
|
336
339
|
}
|
|
340
|
+
.ant-table-wrapper {
|
|
341
|
+
border-radius: 0 !important;
|
|
342
|
+
}
|
|
343
|
+
.ant-table-wrapper .ant-table {
|
|
344
|
+
border-radius: 0;
|
|
345
|
+
}
|
|
346
|
+
.ant-table-wrapper .ant-table div.ant-table-title {
|
|
347
|
+
padding: 0 0 12px !important;
|
|
348
|
+
}
|
|
349
|
+
.ant-table-wrapper .ant-table .ant-table-container {
|
|
350
|
+
border-radius: 0;
|
|
351
|
+
}
|
|
352
|
+
.ant-table-wrapper .ant-table .ant-table-container table {
|
|
353
|
+
border-radius: 0;
|
|
354
|
+
}
|
|
355
|
+
.ant-table-wrapper .ant-table .ant-table-container table > thead > tr:first-child > *:first-child {
|
|
356
|
+
border-radius: 0;
|
|
357
|
+
}
|
|
358
|
+
.ant-table-wrapper .ant-table .ant-table-container .ant-table-header {
|
|
359
|
+
border-radius: 0;
|
|
360
|
+
}
|
|
361
|
+
.ant-table-wrapper .ant-table .ant-table-container .ant-table-tbody > tr > td {
|
|
362
|
+
padding: 12px 16px;
|
|
363
|
+
}
|
|
364
|
+
.ant-table-wrapper .ant-table .ant-table-container .ant-table-thead > tr > th {
|
|
365
|
+
padding: 12px 16px;
|
|
366
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
.ant-table-wrapper {
|
|
2
|
+
border-radius: 0 !important;
|
|
3
|
+
}
|
|
4
|
+
.ant-table-wrapper .ant-table {
|
|
5
|
+
border-radius: 0;
|
|
6
|
+
}
|
|
7
|
+
.ant-table-wrapper .ant-table div.ant-table-title {
|
|
8
|
+
padding: 0 0 12px !important;
|
|
9
|
+
}
|
|
10
|
+
.ant-table-wrapper .ant-table .ant-table-container {
|
|
11
|
+
border-radius: 0;
|
|
12
|
+
}
|
|
13
|
+
.ant-table-wrapper .ant-table .ant-table-container table {
|
|
14
|
+
border-radius: 0;
|
|
15
|
+
}
|
|
16
|
+
.ant-table-wrapper .ant-table .ant-table-container table > thead > tr:first-child > *:first-child {
|
|
17
|
+
border-radius: 0;
|
|
18
|
+
}
|
|
19
|
+
.ant-table-wrapper .ant-table .ant-table-container .ant-table-header {
|
|
20
|
+
border-radius: 0;
|
|
21
|
+
}
|
|
22
|
+
.ant-table-wrapper .ant-table .ant-table-container .ant-table-tbody > tr > td {
|
|
23
|
+
padding: 12px 16px;
|
|
24
|
+
}
|
|
25
|
+
.ant-table-wrapper .ant-table .ant-table-container .ant-table-thead > tr > th {
|
|
26
|
+
padding: 12px 16px;
|
|
27
|
+
}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TransformCellTextProps } from 'ant-design-vue/lib/table/interface';
|
|
2
|
+
import { ConfigProviderProps } from 'ant-design-vue';
|
|
3
|
+
import { ThemeConfig } from 'ant-design-vue/es/config-provider/context';
|
|
4
|
+
import { ValidateMessages } from 'ant-design-vue/es/form/interface';
|
|
5
|
+
import { RequiredMark } from 'ant-design-vue/es/form/Form';
|
|
6
|
+
import { CSPConfig } from 'ant-design-vue/es/config-provider';
|
|
7
|
+
import { Locale } from 'ant-design-vue/es/locale';
|
|
8
|
+
import { ButtonSize } from 'ant-design-vue/es/button';
|
|
9
|
+
import { default as __DTS_DEFAULT_0__ } from 'ant-design-vue/es/config-provider/renderEmpty';
|
|
10
|
+
import { TransformCellTextProps } from 'ant-design-vue/es/table/interface';
|
|
2
11
|
|
|
3
12
|
/**
|
|
4
13
|
* 弹出框(Select, Tooltip, Menu 等等)渲染父节点,默认渲染到 body 上
|
|
@@ -6,19 +15,14 @@ import { VNode, RendererNode, RendererElement } from 'vue';
|
|
|
6
15
|
* @param trigger
|
|
7
16
|
* @returns
|
|
8
17
|
*/
|
|
9
|
-
export declare const getPopupContainer: (trigger: HTMLElement | undefined) =>
|
|
10
|
-
interface TransformCellTextKey {
|
|
11
|
-
text: Array<VNode>;
|
|
12
|
-
}
|
|
18
|
+
export declare const getPopupContainer: (trigger: HTMLElement | undefined) => HTMLElement;
|
|
13
19
|
/**
|
|
14
20
|
* Table 数据渲染前可以再次改变,一般用户空数据的默认配置
|
|
15
21
|
* 解决表格空状态设置为--
|
|
16
22
|
* @param param0
|
|
17
23
|
* @returns
|
|
18
24
|
*/
|
|
19
|
-
export declare const transformCellText: ({ text }:
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
}>[];
|
|
25
|
+
export declare const transformCellText: ({ text }: TransformCellTextProps) => any;
|
|
22
26
|
/**
|
|
23
27
|
* 设置为 false 时,移除按钮中 2 个汉字之间的空格
|
|
24
28
|
*/
|
|
@@ -26,11 +30,50 @@ export declare const autoInsertSpaceInButton = false;
|
|
|
26
30
|
/**
|
|
27
31
|
* antdv的configProvider预设
|
|
28
32
|
*/
|
|
29
|
-
export declare const antdConfigProviderPresets:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
export declare const antdConfigProviderPresets: Partial<ConfigProviderProps>;
|
|
34
|
+
/**
|
|
35
|
+
* 预设和antd provider config合并 合并规则,未自定义时才使用默认预设
|
|
36
|
+
* @param config
|
|
37
|
+
* @returns
|
|
38
|
+
*/
|
|
39
|
+
export declare function mergeAntdProvideConfig(config: ConfigProviderProps): {
|
|
40
|
+
theme?: ThemeConfig | undefined;
|
|
41
|
+
direction?: "ltr" | "rtl" | undefined;
|
|
42
|
+
input?: {
|
|
43
|
+
autocomplete?: string | undefined;
|
|
44
|
+
} | undefined;
|
|
45
|
+
select?: {
|
|
46
|
+
showSearch?: boolean | undefined;
|
|
47
|
+
} | undefined;
|
|
48
|
+
form?: {
|
|
49
|
+
validateMessages?: ValidateMessages | undefined;
|
|
50
|
+
requiredMark?: RequiredMark | undefined;
|
|
51
|
+
colon?: boolean | undefined;
|
|
52
|
+
} | undefined;
|
|
53
|
+
csp?: CSPConfig | undefined;
|
|
54
|
+
locale?: Locale | undefined;
|
|
55
|
+
pageHeader?: {
|
|
56
|
+
ghost?: boolean | undefined;
|
|
57
|
+
} | undefined;
|
|
58
|
+
space?: {
|
|
59
|
+
size?: number | ButtonSize;
|
|
60
|
+
} | undefined;
|
|
61
|
+
dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
62
|
+
pagination?: {
|
|
63
|
+
showSizeChanger?: boolean | undefined;
|
|
64
|
+
} | undefined;
|
|
65
|
+
wave?: {
|
|
66
|
+
disabled?: boolean | undefined;
|
|
67
|
+
} | undefined;
|
|
68
|
+
getPopupContainer?: ((triggerNode?: HTMLElement | undefined) => HTMLElement) | undefined;
|
|
69
|
+
prefixCls?: string | undefined;
|
|
70
|
+
iconPrefixCls?: string | undefined;
|
|
71
|
+
getTargetContainer?: (() => Window | HTMLElement) | undefined;
|
|
72
|
+
getPrefixCls?: ((suffixCls?: string | undefined, customizePrefixCls?: string | undefined) => string) | undefined;
|
|
73
|
+
renderEmpty?: __DTS_DEFAULT_0__ | undefined;
|
|
74
|
+
transformCellText?: ((tableProps: TransformCellTextProps) => any) | undefined;
|
|
75
|
+
autoInsertSpaceInButton?: boolean | undefined;
|
|
76
|
+
componentSize?: ButtonSize;
|
|
77
|
+
componentDisabled?: boolean | undefined;
|
|
78
|
+
virtual?: boolean | undefined;
|
|
35
79
|
};
|
|
36
|
-
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
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;
|
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.19",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "es/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"release-it": {
|
|
16
16
|
"git": {
|
|
17
|
-
"commitMessage": "chore: release ${version}",
|
|
17
|
+
"commitMessage": "chore: release ${npm.name} ${version}",
|
|
18
18
|
"tagName": "${npm.name}-v${version}"
|
|
19
19
|
},
|
|
20
20
|
"github": {
|