bitz-react-admin-ui 2.0.5 → 2.0.6
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/dist/_virtual/index.mjs +2 -2
- package/dist/_virtual/index2.mjs +2 -2
- package/dist/components/BitzTable/Store/utils/index.mjs +14 -30
- package/dist/components/BitzTable/ToolBar/Wrapper/index.mjs +36 -46
- package/dist/components/BitzTable/ToolBar/index.d.ts +0 -2
- package/dist/components/BitzTable/ToolBar/index.mjs +4 -6
- package/dist/node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs +1 -1
- package/dist/node_modules/.store/prop-types@15.8.1/node_modules/prop-types/index.mjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.d.ts +0 -10
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +0 -100
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.d.ts +0 -10
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +0 -103
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.d.ts +0 -13
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.mjs +0 -88
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.d.ts +0 -14
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +0 -261
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.d.ts +0 -6
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +0 -17
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/RadioCard.d.ts +0 -8
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/RadioCard.mjs +0 -13
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.d.ts +0 -10
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +0 -163
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.d.ts +0 -11
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +0 -44
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/style.d.ts +0 -2
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/style.mjs +0 -249
- package/dist/node_modules/.store/@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/CheckCircleOutlined.mjs +0 -5
- package/dist/node_modules/.store/@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/PicRightOutlined.mjs +0 -5
- package/dist/node_modules/.store/@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/RedoOutlined.mjs +0 -5
- package/dist/node_modules/.store/@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/SettingOutlined.mjs +0 -5
- package/dist/node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.mjs +0 -15
- package/dist/node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/PicRightOutlined.mjs +0 -15
- package/dist/node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/RedoOutlined.mjs +0 -15
- package/dist/node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/SettingOutlined.mjs +0 -15
- package/dist/node_modules/.store/@dnd-kit_accessibility@3.1.0/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.mjs +0 -54
- package/dist/node_modules/.store/@dnd-kit_core@6.1.0/node_modules/@dnd-kit/core/dist/core.esm.mjs +0 -2179
- package/dist/node_modules/.store/@dnd-kit_modifiers@6.0.1/node_modules/@dnd-kit/modifiers/dist/modifiers.esm.mjs +0 -27
- package/dist/node_modules/.store/@dnd-kit_sortable@7.0.2/node_modules/@dnd-kit/sortable/dist/sortable.esm.mjs +0 -367
- package/dist/node_modules/.store/@dnd-kit_utilities@3.2.2/node_modules/@dnd-kit/utilities/dist/utilities.esm.mjs +0 -235
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs +0 -7
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs +0 -7
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs +0 -7
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs +0 -7
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs +0 -8
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs +0 -10
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_baseAssign.mjs +0 -8
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignIn.mjs +0 -8
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs +0 -65
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs +0 -9
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs +0 -9
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs +0 -9
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs +0 -14
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_baseSlice.mjs +0 -10
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_baseUnset.mjs +0 -10
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs +0 -8
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs +0 -8
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs +0 -8
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_copySymbols.mjs +0 -8
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_copySymbolsIn.mjs +0 -8
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_customOmitClone.mjs +0 -7
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs +0 -9
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeysIn.mjs +0 -9
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs +0 -11
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_getSymbolsIn.mjs +0 -13
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs +0 -29
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs +0 -8
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs +0 -42
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs +0 -6
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/_parent.mjs +0 -8
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs +0 -8
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs +0 -8
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs +0 -9
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/last.mjs +0 -7
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/omit.mjs +0 -24
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs +0 -6
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
import { j as o } from "../../../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import "../../../../../assets/iconfont/IconMore.mjs";
|
|
3
|
-
import "../../../../../assets/iconfont/IconIcFluentHomeRegular.mjs";
|
|
4
|
-
import j from "../../../../../assets/iconfont/IconKuansongde.mjs";
|
|
5
|
-
import g from "../../../../../assets/iconfont/IconTekuansong.mjs";
|
|
6
|
-
import I from "../../../../../assets/iconfont/IconJincoude.mjs";
|
|
7
|
-
import P from "../../../../../assets/iconfont/IconZhongdengde.mjs";
|
|
8
|
-
import z from "../../../../../assets/iconfont/IconTejincou.mjs";
|
|
9
|
-
import v from "../../../../../assets/iconfont/IconWufengexian.mjs";
|
|
10
|
-
import H from "../../../../../assets/iconfont/IconHangliefengexian.mjs";
|
|
11
|
-
import k from "../../../../../assets/iconfont/IconHangfengexian.mjs";
|
|
12
|
-
import C from "../../../../../assets/iconfont/IconLiefengexian.mjs";
|
|
13
|
-
import S from "../../../../../assets/iconfont/IconYoubanmawentianchong.mjs";
|
|
14
|
-
import w from "../../../../../assets/iconfont/IconWubanmawentianchong.mjs";
|
|
15
|
-
import "../../../../../assets/iconfont/IconZhongzhi.mjs";
|
|
16
|
-
import "../../../../../assets/iconfont/IconGaojisousuo.mjs";
|
|
17
|
-
import "../../../../../assets/iconfont/IconSousuo.mjs";
|
|
18
|
-
import "../../../../../assets/iconfont/IconClose.mjs";
|
|
19
|
-
import "../../../../../assets/iconfont/IconFanhui.mjs";
|
|
20
|
-
import "../../../../../assets/iconfont/IconJinggao.mjs";
|
|
21
|
-
import "../../../../../assets/iconfont/IconIcon21.mjs";
|
|
22
|
-
import "../../../../../assets/iconfont/IconChenggong.mjs";
|
|
23
|
-
import "../../../../../assets/iconfont/IconTishi1.mjs";
|
|
24
|
-
import "../../../../../assets/iconfont/IconDuigoux.mjs";
|
|
25
|
-
import "../../../../../assets/iconfont/IconCuowu.mjs";
|
|
26
|
-
import "../../../../../assets/iconfont/IconXinxitishi.mjs";
|
|
27
|
-
import "../../../../../assets/iconfont/IconFabu.mjs";
|
|
28
|
-
import "../../../../../assets/iconfont/IconShanchu1.mjs";
|
|
29
|
-
import "../../../../../assets/iconfont/IconShanchu.mjs";
|
|
30
|
-
import "../../../../../assets/iconfont/IconTuodong.mjs";
|
|
31
|
-
import { BitzConfigContext as R } from "../../../../BitzConfigProvider/context.mjs";
|
|
32
|
-
import { BitzTableContext as T } from "../../../Store/index.mjs";
|
|
33
|
-
import G from "../../../../BitzTheme/index.mjs";
|
|
34
|
-
import { Form as l, Radio as t, Checkbox as N } from "antd";
|
|
35
|
-
import { forwardRef as F, useMemo as B, useContext as c, useEffect as W, useImperativeHandle as E } from "react";
|
|
36
|
-
import r from "./RadioCard.mjs";
|
|
37
|
-
const A = ({ defaultSize: i, items: a }) => a.map((e) => e.key === i ? {
|
|
38
|
-
...e,
|
|
39
|
-
label: `${e.label}(默认)`
|
|
40
|
-
} : e), Po = F(
|
|
41
|
-
({ display: i }, a) => {
|
|
42
|
-
var s;
|
|
43
|
-
const { token: e } = G.useToken(), p = B(() => ({
|
|
44
|
-
width: "100%",
|
|
45
|
-
...{ display: i ? "flex" : "none" }
|
|
46
|
-
}), [i]), u = {
|
|
47
|
-
size: 26,
|
|
48
|
-
color: e.colorPrimary
|
|
49
|
-
}, [m] = l.useForm(), d = (s = c(R).Table) == null ? void 0 : s.stylesScope, { defaultTableSize: f, stylesConfig: x } = c(T);
|
|
50
|
-
W(() => {
|
|
51
|
-
m.setFieldsValue({
|
|
52
|
-
...x,
|
|
53
|
-
stylesScope: d === "global"
|
|
54
|
-
});
|
|
55
|
-
}, []);
|
|
56
|
-
const y = A({
|
|
57
|
-
defaultSize: f,
|
|
58
|
-
items: [
|
|
59
|
-
{
|
|
60
|
-
key: "xs",
|
|
61
|
-
label: "特紧凑",
|
|
62
|
-
icon: z
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
key: "sm",
|
|
66
|
-
label: "紧凑",
|
|
67
|
-
icon: I
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
key: "md",
|
|
71
|
-
label: "中等",
|
|
72
|
-
icon: P
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
key: "lg",
|
|
76
|
-
label: "宽松",
|
|
77
|
-
icon: j
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
key: "xl",
|
|
81
|
-
label: "特宽松",
|
|
82
|
-
icon: g
|
|
83
|
-
}
|
|
84
|
-
]
|
|
85
|
-
});
|
|
86
|
-
return E(a, () => ({
|
|
87
|
-
getFormInstance: () => m
|
|
88
|
-
})), /* @__PURE__ */ o.jsxs(
|
|
89
|
-
l,
|
|
90
|
-
{
|
|
91
|
-
form: m,
|
|
92
|
-
style: p,
|
|
93
|
-
labelCol: { span: 3 },
|
|
94
|
-
labelAlign: "left",
|
|
95
|
-
colon: !1,
|
|
96
|
-
className: "appearanceFormContent",
|
|
97
|
-
layout: "inline",
|
|
98
|
-
children: [
|
|
99
|
-
/* @__PURE__ */ o.jsx(l.Item, { label: "行高", name: "size", children: /* @__PURE__ */ o.jsx(t.Group, { className: "sizeRadioGroup", children: y.map(({ key: n, label: b, icon: h }) => /* @__PURE__ */ o.jsx(r, { label: b, value: n, children: /* @__PURE__ */ o.jsx(h, { ...u }) }, n)) }) }),
|
|
100
|
-
/* @__PURE__ */ o.jsx(l.Item, { label: "分割线", name: "bordered", children: /* @__PURE__ */ o.jsxs(t.Group, { disabled: !0, className: "splitBorderRadioGroup", children: [
|
|
101
|
-
/* @__PURE__ */ o.jsx(r, { label: "无分割线", value: "hide", children: /* @__PURE__ */ o.jsx(v, { size: 26, color: e.colorPrimaryHover }) }),
|
|
102
|
-
/* @__PURE__ */ o.jsx(r, { label: "行分割线", value: "row", children: /* @__PURE__ */ o.jsx(
|
|
103
|
-
k,
|
|
104
|
-
{
|
|
105
|
-
size: 26,
|
|
106
|
-
color: [
|
|
107
|
-
e.colorPrimaryHover,
|
|
108
|
-
e.colorPrimary,
|
|
109
|
-
e.colorPrimary,
|
|
110
|
-
e.colorPrimaryHover
|
|
111
|
-
]
|
|
112
|
-
}
|
|
113
|
-
) }),
|
|
114
|
-
/* @__PURE__ */ o.jsx(r, { label: "列分割线", value: "column", children: /* @__PURE__ */ o.jsx(
|
|
115
|
-
C,
|
|
116
|
-
{
|
|
117
|
-
size: 26,
|
|
118
|
-
color: [
|
|
119
|
-
e.colorPrimaryHover,
|
|
120
|
-
e.colorPrimary,
|
|
121
|
-
e.colorPrimary,
|
|
122
|
-
e.colorPrimaryHover
|
|
123
|
-
]
|
|
124
|
-
}
|
|
125
|
-
) }),
|
|
126
|
-
/* @__PURE__ */ o.jsx(r, { label: "行列分割线", value: "row-column", children: /* @__PURE__ */ o.jsx(
|
|
127
|
-
H,
|
|
128
|
-
{
|
|
129
|
-
size: 26,
|
|
130
|
-
color: [
|
|
131
|
-
e.colorPrimaryHover,
|
|
132
|
-
e.colorPrimary,
|
|
133
|
-
e.colorPrimary,
|
|
134
|
-
e.colorPrimaryHover
|
|
135
|
-
]
|
|
136
|
-
}
|
|
137
|
-
) })
|
|
138
|
-
] }) }),
|
|
139
|
-
/* @__PURE__ */ o.jsx(l.Item, { label: "斑马纹", name: "zebra", children: /* @__PURE__ */ o.jsxs(t.Group, { className: "zebraRadioGroup", children: [
|
|
140
|
-
/* @__PURE__ */ o.jsx(r, { label: "有斑马纹", value: !0, children: /* @__PURE__ */ o.jsx(
|
|
141
|
-
S,
|
|
142
|
-
{
|
|
143
|
-
size: 26,
|
|
144
|
-
color: [e.colorPrimaryHover, e.colorPrimary]
|
|
145
|
-
}
|
|
146
|
-
) }),
|
|
147
|
-
/* @__PURE__ */ o.jsx(r, { label: "无斑马纹", value: !1, children: /* @__PURE__ */ o.jsx(
|
|
148
|
-
w,
|
|
149
|
-
{
|
|
150
|
-
size: 26,
|
|
151
|
-
color: e.colorPrimaryHover
|
|
152
|
-
}
|
|
153
|
-
) })
|
|
154
|
-
] }) }),
|
|
155
|
-
/* @__PURE__ */ o.jsx(l.Item, { name: "stylesScope", valuePropName: "checked", className: "scope", children: /* @__PURE__ */ o.jsx(N, { disabled: !0, children: "应用到全局表格" }) })
|
|
156
|
-
]
|
|
157
|
-
}
|
|
158
|
-
);
|
|
159
|
-
}
|
|
160
|
-
);
|
|
161
|
-
export {
|
|
162
|
-
Po as default
|
|
163
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BitzTableToolBarProps } from '..';
|
|
3
|
-
interface ColumnsConfigProps {
|
|
4
|
-
order?: number;
|
|
5
|
-
show?: boolean;
|
|
6
|
-
icon?: React.ReactNode;
|
|
7
|
-
onChange?: BitzTableToolBarProps['onColumnChange'];
|
|
8
|
-
}
|
|
9
|
-
/** 表格头部右侧列配置icon按钮 */
|
|
10
|
-
declare const ColumnsConfig: (props: ColumnsConfigProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
-
export default ColumnsConfig;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { j as e } from "../../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import { useContext as g, useState as x, useMemo as h, useEffect as j } from "react";
|
|
3
|
-
import { Tooltip as b } from "antd";
|
|
4
|
-
import { show as E } from "@ebay/nice-modal-react";
|
|
5
|
-
import B from "./ColumnConfigModal.mjs";
|
|
6
|
-
import p from "../style.mjs";
|
|
7
|
-
import v from "../../../BitzButton/index.mjs";
|
|
8
|
-
import { BitzTableContext as y } from "../../Store/index.mjs";
|
|
9
|
-
import z from "../../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/SettingOutlined.mjs";
|
|
10
|
-
const s = "表格设置", N = (n) => {
|
|
11
|
-
const { order: a, show: u = !0, icon: f = /* @__PURE__ */ e.jsx(z, {}) } = n, { toolbarItemClassName: d } = p(), { uuid: l } = g(y), [i, r] = x(!1), C = h(() => i ? !1 : void 0, [i]);
|
|
12
|
-
return j(() => (document == null || document.addEventListener("fullscreenchange", (o) => {
|
|
13
|
-
var t, m, c;
|
|
14
|
-
(t = o.target) != null && t.classList.contains("bitzTableBlock") && (r(!!document.fullscreenElement), (c = (m = document.fullscreenElement) == null ? void 0 : m.classList) != null && c.contains("bitzTableBlock") || r(!1));
|
|
15
|
-
}), document == null ? void 0 : document.removeEventListener("fullscreenchange", () => {
|
|
16
|
-
})), []), u ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
17
|
-
/* @__PURE__ */ e.jsx(
|
|
18
|
-
B,
|
|
19
|
-
{
|
|
20
|
-
id: `ColumnConfigModal-${l}`,
|
|
21
|
-
title: s,
|
|
22
|
-
onChange: async (o) => {
|
|
23
|
-
var t;
|
|
24
|
-
return (t = n.onChange) == null ? void 0 : t.call(n, o);
|
|
25
|
-
},
|
|
26
|
-
getContainer: C
|
|
27
|
-
}
|
|
28
|
-
),
|
|
29
|
-
/* @__PURE__ */ e.jsx(b, { title: s, open: !1, children: /* @__PURE__ */ e.jsx(
|
|
30
|
-
v,
|
|
31
|
-
{
|
|
32
|
-
type: "text",
|
|
33
|
-
className: d,
|
|
34
|
-
onClick: () => E(`ColumnConfigModal-${l}`),
|
|
35
|
-
icon: f,
|
|
36
|
-
style: { order: a },
|
|
37
|
-
children: s
|
|
38
|
-
}
|
|
39
|
-
) })
|
|
40
|
-
] }) : null;
|
|
41
|
-
};
|
|
42
|
-
export {
|
|
43
|
-
N as default
|
|
44
|
-
};
|
|
@@ -1,249 +0,0 @@
|
|
|
1
|
-
import "../../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/extractStyle.mjs";
|
|
2
|
-
import "../../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.mjs";
|
|
3
|
-
import "react";
|
|
4
|
-
import "../../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/StyleContext.mjs";
|
|
5
|
-
import { unit as a } from "../../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/util/index.mjs";
|
|
6
|
-
import "../../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.mjs";
|
|
7
|
-
import "../../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.mjs";
|
|
8
|
-
import "../../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useHMR.mjs";
|
|
9
|
-
import "../../../../node_modules/.store/rc-util@5.39.1/node_modules/rc-util/es/warning.mjs";
|
|
10
|
-
import "../../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/theme/createTheme.mjs";
|
|
11
|
-
import "../../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.mjs";
|
|
12
|
-
import "../../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.mjs";
|
|
13
|
-
import { css as r } from "../../../../node_modules/.store/@emotion_css@11.11.2/node_modules/@emotion/css/dist/emotion-css.esm.mjs";
|
|
14
|
-
const n = (o) => {
|
|
15
|
-
var t, i, e;
|
|
16
|
-
return r`
|
|
17
|
-
.ant-modal-content {
|
|
18
|
-
background-color: ${(t = o.Modal) == null ? void 0 : t.contentBg};
|
|
19
|
-
|
|
20
|
-
.ant-modal-header {
|
|
21
|
-
font-size: 16px;
|
|
22
|
-
font-weight: 700;
|
|
23
|
-
background-color: ${(i = o.Modal) == null ? void 0 : i.headerBg};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.ant-modal-body {
|
|
27
|
-
overflow: hidden auto;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.ant-modal-footer {
|
|
31
|
-
text-align: left;
|
|
32
|
-
margin: 0;
|
|
33
|
-
padding: 20px;
|
|
34
|
-
background-color: ${(e = o.Modal) == null ? void 0 : e.footerBg};
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
`;
|
|
38
|
-
}, d = (o) => r`
|
|
39
|
-
.sortContent {
|
|
40
|
-
width: 100%;
|
|
41
|
-
height: 100%;
|
|
42
|
-
display: grid;
|
|
43
|
-
grid-template-columns: repeat(3, 1fr);
|
|
44
|
-
column-gap: 16px;
|
|
45
|
-
|
|
46
|
-
.sortCard {
|
|
47
|
-
width: 100%;
|
|
48
|
-
height: 100%;
|
|
49
|
-
background-color: var(--sortCard-bgColor);
|
|
50
|
-
border-radius: ${a(o.borderRadius)};
|
|
51
|
-
padding: 6px;
|
|
52
|
-
padding-block-end: 10px;
|
|
53
|
-
box-sizing: border-box;
|
|
54
|
-
|
|
55
|
-
.title {
|
|
56
|
-
color: var(--sortCard-titleColor);
|
|
57
|
-
margin: 0;
|
|
58
|
-
padding-inline: 8px;
|
|
59
|
-
padding-block-start: 4px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.sortList {
|
|
63
|
-
flex: 1;
|
|
64
|
-
width: 100%;
|
|
65
|
-
/* height: calc(100% - 30px); */
|
|
66
|
-
/* overflow: hidden auto; */
|
|
67
|
-
cursor: grab;
|
|
68
|
-
|
|
69
|
-
&:has(.draggingSortItem) {
|
|
70
|
-
cursor: grabbing;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.sortItem {
|
|
74
|
-
border-radius: ${a(o.borderRadius)};
|
|
75
|
-
|
|
76
|
-
&:hover {
|
|
77
|
-
background-color: ${o.colorBgContainer};
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.dragIcon {
|
|
81
|
-
height: 100%;
|
|
82
|
-
padding-inline: 8px;
|
|
83
|
-
|
|
84
|
-
&, & span {
|
|
85
|
-
cursor: inherit;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.ant-checkbox-wrapper {
|
|
90
|
-
/* width: calc(100% - 66px); */
|
|
91
|
-
flex: 1;
|
|
92
|
-
padding-block: 6px;
|
|
93
|
-
padding-inline-end: 8px;
|
|
94
|
-
|
|
95
|
-
& > span:last-child {
|
|
96
|
-
flex: 1;
|
|
97
|
-
padding-right: 0;
|
|
98
|
-
display: -webkit-box;
|
|
99
|
-
-webkit-line-clamp: 1;
|
|
100
|
-
-webkit-box-orient: vertical;
|
|
101
|
-
overflow: hidden;
|
|
102
|
-
text-overflow: ellipsis;
|
|
103
|
-
user-select: none;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&.disabledCheckbox {
|
|
107
|
-
cursor: not-allowed !important;
|
|
108
|
-
|
|
109
|
-
.ant-checkbox,
|
|
110
|
-
.ant-checkbox-input {
|
|
111
|
-
cursor: not-allowed !important;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&:hover,
|
|
115
|
-
&:focus,
|
|
116
|
-
.ant-checkbox:hover,
|
|
117
|
-
.ant-checkbox:focus {
|
|
118
|
-
.ant-checkbox-inner {
|
|
119
|
-
background-color: ${o.colorPrimary};
|
|
120
|
-
border-color: ${o.colorPrimary};
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.operation {
|
|
127
|
-
padding-inline-end: 8px;
|
|
128
|
-
|
|
129
|
-
.rightOperation {
|
|
130
|
-
margin-left: 8px;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
`, l = (o) => r`
|
|
138
|
-
.appearanceFormContent {
|
|
139
|
-
|
|
140
|
-
.ant-form-item {
|
|
141
|
-
width: 100%;
|
|
142
|
-
|
|
143
|
-
& label {
|
|
144
|
-
height: auto;
|
|
145
|
-
font-weight: 600;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.ant-radio-group {
|
|
150
|
-
display: grid;
|
|
151
|
-
grid-template-columns: repeat(5, 1fr);
|
|
152
|
-
gap: 15px;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.sizeRadioGroup {
|
|
156
|
-
grid-template-columns: repeat(5, 1fr);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.splitBorderRadioGroup {
|
|
160
|
-
grid-template-columns: repeat(5, 4fr);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.zebraRadioGroup {
|
|
164
|
-
grid-template-columns: repeat(5, 2fr);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.scope label {
|
|
168
|
-
font-weight: normal;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.ant-radio-wrapper {
|
|
172
|
-
justify-content: center;
|
|
173
|
-
padding-block: 24px 16px;
|
|
174
|
-
color: ${o.colorTextDescription};
|
|
175
|
-
font-weight: normal !important;
|
|
176
|
-
background-color: ${o.colorBgLayout};
|
|
177
|
-
background-color: var(--radioCard-bgColor);
|
|
178
|
-
border-radius: ${a(o.borderRadiusLG)};
|
|
179
|
-
margin-inline-end: 0;
|
|
180
|
-
box-sizing: border-box;
|
|
181
|
-
position: relative;
|
|
182
|
-
transition: all 0.2s;
|
|
183
|
-
|
|
184
|
-
&:hover {
|
|
185
|
-
color: ${o.colorText};
|
|
186
|
-
background-color: var(--radioCard-bgHoverColor);
|
|
187
|
-
box-shadow: ${o.boxShadowSecondary};
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.ant-radio {
|
|
191
|
-
position: absolute;
|
|
192
|
-
top: 12px;
|
|
193
|
-
right: 12px;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
& > span:last-child {
|
|
197
|
-
padding-inline: 0;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
&.ant-radio-wrapper-checked {
|
|
201
|
-
color: ${o.colorText};
|
|
202
|
-
background-color: ${o.colorBgContainer};
|
|
203
|
-
box-shadow: ${o.boxShadowSecondary};
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
`, C = (o) => r`
|
|
208
|
-
&.tableConfigModal {
|
|
209
|
-
|
|
210
|
-
${n(o)}
|
|
211
|
-
|
|
212
|
-
.pointerCursor {
|
|
213
|
-
cursor: pointer;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.container {
|
|
217
|
-
height: calc(100% - 48px);
|
|
218
|
-
|
|
219
|
-
.ant-card-body {
|
|
220
|
-
display: flex;
|
|
221
|
-
flex-direction: column;
|
|
222
|
-
align-items: center;
|
|
223
|
-
gap: 24px;
|
|
224
|
-
|
|
225
|
-
&::before,
|
|
226
|
-
&::after {
|
|
227
|
-
content: none;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.segmentedWrapper {
|
|
232
|
-
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.containerBody {
|
|
236
|
-
width: 100%;
|
|
237
|
-
min-height: 450px;
|
|
238
|
-
max-height: 100%;
|
|
239
|
-
|
|
240
|
-
${d(o)}
|
|
241
|
-
|
|
242
|
-
${l(o)}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
`;
|
|
247
|
-
export {
|
|
248
|
-
C as styles
|
|
249
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
var e = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z" } }, { tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, name: "check-circle", theme: "outlined" };
|
|
2
|
-
const t = e;
|
|
3
|
-
export {
|
|
4
|
-
t as default
|
|
5
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
var c = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-24 500c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H416c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h512zM472 436h400v152H472V436zM80 646c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H88c-4.4 0-8 3.6-8 8v56zm8-204h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H88c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z" } }] }, name: "pic-right", theme: "outlined" };
|
|
2
|
-
const t = c;
|
|
3
|
-
export {
|
|
4
|
-
t as default
|
|
5
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
var e = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z" } }] }, name: "redo", theme: "outlined" };
|
|
2
|
-
const a = e;
|
|
3
|
-
export {
|
|
4
|
-
a as default
|
|
5
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
var l = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" } }] }, name: "setting", theme: "outlined" };
|
|
2
|
-
const a = l;
|
|
3
|
-
export {
|
|
4
|
-
a as default
|
|
5
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import i from "../../../../../../@babel_runtime@7.24.4/node_modules/@babel/runtime/helpers/esm/extends.mjs";
|
|
2
|
-
import * as e from "react";
|
|
3
|
-
import o from "../../../../../../@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/CheckCircleOutlined.mjs";
|
|
4
|
-
import n from "../components/AntdIcon.mjs";
|
|
5
|
-
var l = function(t, c) {
|
|
6
|
-
return /* @__PURE__ */ e.createElement(n, i({}, t, {
|
|
7
|
-
ref: c,
|
|
8
|
-
icon: o
|
|
9
|
-
}));
|
|
10
|
-
}, r = /* @__PURE__ */ e.forwardRef(l);
|
|
11
|
-
process.env.NODE_ENV !== "production" && (r.displayName = "CheckCircleOutlined");
|
|
12
|
-
const C = r;
|
|
13
|
-
export {
|
|
14
|
-
C as default
|
|
15
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import o from "../../../../../../@babel_runtime@7.24.4/node_modules/@babel/runtime/helpers/esm/extends.mjs";
|
|
2
|
-
import * as t from "react";
|
|
3
|
-
import n from "../../../../../../@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/PicRightOutlined.mjs";
|
|
4
|
-
import c from "../components/AntdIcon.mjs";
|
|
5
|
-
var d = function(e, r) {
|
|
6
|
-
return /* @__PURE__ */ t.createElement(c, o({}, e, {
|
|
7
|
-
ref: r,
|
|
8
|
-
icon: n
|
|
9
|
-
}));
|
|
10
|
-
}, i = /* @__PURE__ */ t.forwardRef(d);
|
|
11
|
-
process.env.NODE_ENV !== "production" && (i.displayName = "PicRightOutlined");
|
|
12
|
-
const l = i;
|
|
13
|
-
export {
|
|
14
|
-
l as default
|
|
15
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import n from "../../../../../../@babel_runtime@7.24.4/node_modules/@babel/runtime/helpers/esm/extends.mjs";
|
|
2
|
-
import * as e from "react";
|
|
3
|
-
import d from "../../../../../../@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/RedoOutlined.mjs";
|
|
4
|
-
import i from "../components/AntdIcon.mjs";
|
|
5
|
-
var f = function(t, r) {
|
|
6
|
-
return /* @__PURE__ */ e.createElement(i, n({}, t, {
|
|
7
|
-
ref: r,
|
|
8
|
-
icon: d
|
|
9
|
-
}));
|
|
10
|
-
}, o = /* @__PURE__ */ e.forwardRef(f);
|
|
11
|
-
process.env.NODE_ENV !== "production" && (o.displayName = "RedoOutlined");
|
|
12
|
-
const l = o;
|
|
13
|
-
export {
|
|
14
|
-
l as default
|
|
15
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import r from "../../../../../../@babel_runtime@7.24.4/node_modules/@babel/runtime/helpers/esm/extends.mjs";
|
|
2
|
-
import * as t from "react";
|
|
3
|
-
import o from "../../../../../../@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/SettingOutlined.mjs";
|
|
4
|
-
import d from "../components/AntdIcon.mjs";
|
|
5
|
-
var f = function(n, i) {
|
|
6
|
-
return /* @__PURE__ */ t.createElement(d, r({}, n, {
|
|
7
|
-
ref: i,
|
|
8
|
-
icon: o
|
|
9
|
-
}));
|
|
10
|
-
}, e = /* @__PURE__ */ t.forwardRef(f);
|
|
11
|
-
process.env.NODE_ENV !== "production" && (e.displayName = "SettingOutlined");
|
|
12
|
-
const l = e;
|
|
13
|
-
export {
|
|
14
|
-
l as default
|
|
15
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import a, { useState as r, useCallback as c } from "react";
|
|
2
|
-
const d = {
|
|
3
|
-
display: "none"
|
|
4
|
-
};
|
|
5
|
-
function u(e) {
|
|
6
|
-
let {
|
|
7
|
-
id: n,
|
|
8
|
-
value: t
|
|
9
|
-
} = e;
|
|
10
|
-
return a.createElement("div", {
|
|
11
|
-
id: n,
|
|
12
|
-
style: d
|
|
13
|
-
}, t);
|
|
14
|
-
}
|
|
15
|
-
function s(e) {
|
|
16
|
-
let {
|
|
17
|
-
id: n,
|
|
18
|
-
announcement: t,
|
|
19
|
-
ariaLiveType: i = "assertive"
|
|
20
|
-
} = e;
|
|
21
|
-
const o = {
|
|
22
|
-
position: "fixed",
|
|
23
|
-
width: 1,
|
|
24
|
-
height: 1,
|
|
25
|
-
margin: -1,
|
|
26
|
-
border: 0,
|
|
27
|
-
padding: 0,
|
|
28
|
-
overflow: "hidden",
|
|
29
|
-
clip: "rect(0 0 0 0)",
|
|
30
|
-
clipPath: "inset(100%)",
|
|
31
|
-
whiteSpace: "nowrap"
|
|
32
|
-
};
|
|
33
|
-
return a.createElement("div", {
|
|
34
|
-
id: n,
|
|
35
|
-
style: o,
|
|
36
|
-
role: "status",
|
|
37
|
-
"aria-live": i,
|
|
38
|
-
"aria-atomic": !0
|
|
39
|
-
}, t);
|
|
40
|
-
}
|
|
41
|
-
function m() {
|
|
42
|
-
const [e, n] = r("");
|
|
43
|
-
return {
|
|
44
|
-
announce: c((i) => {
|
|
45
|
-
i != null && n(i);
|
|
46
|
-
}, []),
|
|
47
|
-
announcement: e
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
export {
|
|
51
|
-
u as HiddenText,
|
|
52
|
-
s as LiveRegion,
|
|
53
|
-
m as useAnnouncement
|
|
54
|
-
};
|