@gobolt/genesis 0.0.7 → 0.0.9
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/README.md +18 -2
- package/dist/{AntdIcon-Bsnbyy6g.js → AntdIcon-BoLh1dP8.js} +37 -35
- package/dist/CheckOutlined-CeTKr6II.js +13 -0
- package/dist/{CloseCircleFilled-ZIY-u-27.js → CloseCircleFilled-DXCxlIQL.js} +2 -2
- package/dist/CloseOutlined-ClXDNn82.js +13 -0
- package/dist/{Compact-CJBo3f0u.js → Compact-CGY560JF.js} +45 -53
- package/dist/{ContextIsolator-CGkdKtc3.js → ContextIsolator-D5x2Ih51.js} +2 -2
- package/dist/{ExclamationCircleFilled-BICVVQIg.js → ExclamationCircleFilled-C0Kj5KQV.js} +2 -2
- package/dist/{CheckOutlined-DAynWe12.js → KeyCode-DM2sFh3-.js} +10 -20
- package/dist/LoadingOutlined-8EnJdZ7I.js +13 -0
- package/dist/Overflow-PBZD-PFm.js +360 -0
- package/dist/PurePanel-BqPLRtc2.js +203 -0
- package/dist/SearchOutlined-BP3Z2K6j.js +13 -0
- package/dist/{TextArea-3MOYYuAQ.js → TextArea-DKwCct3i.js} +26 -16
- package/dist/Typography-aGoDUl4R.js +710 -0
- package/dist/bundle.css +1204 -0
- package/dist/{button-BNV2qdrP.js → button-CDQgO1OK.js} +200 -197
- package/dist/collapse-Dtpt-6W_.js +20 -0
- package/dist/components/Badge/Badge.d.ts +6 -0
- package/dist/components/Badge/Badge.js +103 -0
- package/dist/components/Badge/__stories__/Badge.stories.d.ts +13 -0
- package/dist/components/Badge/__tests__/Badge.test.js +18 -0
- package/dist/components/Badge/icons/ASN.d.ts +2 -0
- package/dist/components/Badge/icons/ASN.js +23 -0
- package/dist/components/Badge/icons/Appointment.d.ts +2 -0
- package/dist/components/Badge/icons/Appointment.js +23 -0
- package/dist/components/Badge/icons/Inventory.d.ts +2 -0
- package/dist/components/Badge/icons/Inventory.js +23 -0
- package/dist/components/Badge/icons/Parcel.d.ts +2 -0
- package/dist/components/Badge/icons/Parcel.js +23 -0
- package/dist/components/Badge/icons/Product.d.ts +2 -0
- package/dist/components/Badge/icons/Product.js +23 -0
- package/dist/components/Badge/icons/Route.d.ts +2 -0
- package/dist/components/Badge/icons/Route.js +23 -0
- package/dist/components/Badge/icons/Shipment.d.ts +2 -0
- package/dist/components/Badge/icons/Shipment.js +23 -0
- package/dist/components/Badge/icons/ShoppingCart.d.ts +2 -0
- package/dist/components/Badge/icons/ShoppingCart.js +23 -0
- package/dist/components/Badge/icons/System.d.ts +2 -0
- package/dist/components/Badge/icons/System.js +23 -0
- package/dist/components/Badge/index.d.ts +2 -0
- package/dist/components/Badge/index.js +4 -0
- package/dist/components/Badge/styles.d.ts +3 -0
- package/dist/components/Badge/styles.js +34 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +8 -0
- package/dist/components/Breadcrumb/Breadcrumb.js +11 -0
- package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +22 -0
- package/dist/components/Breadcrumb/Breadcrumb.types.js +1 -0
- package/dist/components/Breadcrumb/__stories__/Breadcrumb.stories.d.ts +10 -0
- package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +23 -0
- package/dist/components/Breadcrumb/index.d.ts +3 -0
- package/dist/components/Breadcrumb/index.js +4 -0
- package/dist/components/Breadcrumb/styles.d.ts +27 -0
- package/dist/components/Breadcrumb/styles.js +2436 -0
- package/dist/components/Button/Button.d.ts +14 -0
- package/dist/components/Button/Button.js +22 -0
- package/dist/components/Button/__tests__/Button.test.js +16 -0
- package/dist/components/Button/styles.d.ts +16 -0
- package/dist/components/{atoms/button → Button}/styles.js +12 -12
- package/dist/components/{atoms/checkbox → Checkbox}/Checkbox.d.ts +2 -1
- package/dist/components/Checkbox/Checkbox.js +40 -0
- package/dist/components/{atoms/checkbox → Checkbox}/__tests__/Checkbox.test.js +1 -1
- package/dist/components/{atoms/checkbox → Checkbox}/styles.d.ts +5 -0
- package/dist/components/{atoms/checkbox → Checkbox}/styles.js +97 -96
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.d.ts +8 -0
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +40 -0
- package/dist/components/ErrorBoundaryFallback/index.d.ts +2 -0
- package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/styles.js +22 -21
- package/dist/components/Form/Form.d.ts +26 -0
- package/dist/components/Form/Form.js +8 -0
- package/dist/components/Form/__stories__/FormStory.js +93 -0
- package/dist/components/Form/__tests__/form.test.d.ts +1 -0
- package/dist/components/Form/__tests__/form.test.js +18 -0
- package/dist/components/Form/index.js +4 -0
- package/dist/components/Form/styles.d.ts +3 -0
- package/dist/components/Form/styles.js +5 -0
- package/dist/components/{atoms/input → Input}/Input.d.ts +1 -3
- package/dist/components/Input/Input.js +19 -0
- package/dist/components/{atoms/input → Input}/__stories__/Input.stories.d.ts +5 -1
- package/dist/components/Input/__tests__/Input.test.d.ts +1 -0
- package/dist/components/Input/__tests__/Input.test.js +24 -0
- package/dist/components/{atoms/input → Input}/styles.d.ts +2 -0
- package/dist/components/Input/styles.js +529 -0
- package/dist/components/Message/Message.d.ts +13 -0
- package/dist/components/Message/Message.js +78 -0
- package/dist/components/Message/__stories__/Message.stories.d.ts +15 -0
- package/dist/components/Message/__tests__/Message.test.d.ts +1 -0
- package/dist/components/Message/__tests__/Message.test.js +42 -0
- package/dist/components/Message/index.d.ts +2 -0
- package/dist/components/Message/index.js +4 -0
- package/dist/components/Message/styles.d.ts +8 -0
- package/dist/components/Message/styles.js +41 -0
- package/dist/components/Notification/Notification.d.ts +17 -0
- package/dist/components/Notification/Notification.js +1370 -0
- package/dist/components/Notification/NotificationRightChevron.d.ts +2 -0
- package/dist/components/Notification/NotificationRightChevron.js +23 -0
- package/dist/components/Notification/__stories__/Notification.stories.d.ts +10 -0
- package/dist/components/Notification/__tests__/Notification.test.d.ts +1 -0
- package/dist/components/Notification/__tests__/Notification.test.js +15 -0
- package/dist/components/Notification/index.d.ts +2 -0
- package/dist/components/Notification/index.js +4 -0
- package/dist/components/Notification/styles.d.ts +16 -0
- package/dist/components/Notification/styles.js +65 -0
- package/dist/components/Radio/Radio.d.ts +14 -0
- package/dist/components/Radio/Radio.js +28 -0
- package/dist/components/Radio/RadioGroup.d.ts +12 -0
- package/dist/components/Radio/RadioGroup.js +33 -0
- package/dist/components/Radio/__stories__/RadioGroup.stories.d.ts +9 -0
- package/dist/components/Radio/__tests__/RadioGroup.test.d.ts +1 -0
- package/dist/components/Radio/__tests__/RadioGroup.test.js +30 -0
- package/dist/components/Radio/index.d.ts +2 -0
- package/dist/components/Radio/index.js +4 -0
- package/dist/components/Radio/states/RadioChecked.d.ts +2 -0
- package/dist/components/Radio/states/RadioChecked.js +18 -0
- package/dist/components/Radio/states/RadioCheckedDisabled.d.ts +2 -0
- package/dist/components/Radio/states/RadioCheckedDisabled.js +18 -0
- package/dist/components/Radio/states/RadioCheckedFocussed.d.ts +2 -0
- package/dist/components/Radio/states/RadioCheckedFocussed.js +30 -0
- package/dist/components/Radio/states/RadioCheckedHover.d.ts +2 -0
- package/dist/components/Radio/states/RadioCheckedHover.js +18 -0
- package/dist/components/Radio/states/RadioUnchecked.d.ts +2 -0
- package/dist/components/Radio/states/RadioUnchecked.js +15 -0
- package/dist/components/Radio/states/RadioUncheckedDisabled.d.ts +2 -0
- package/dist/components/Radio/states/RadioUncheckedDisabled.js +15 -0
- package/dist/components/Radio/states/RadioUncheckedFocussed.d.ts +2 -0
- package/dist/components/Radio/states/RadioUncheckedFocussed.js +29 -0
- package/dist/components/Radio/states/RadioUncheckedHover.d.ts +2 -0
- package/dist/components/Radio/states/RadioUncheckedHover.js +18 -0
- package/dist/components/Select/DropdownChevron.d.ts +2 -0
- package/dist/components/Select/DropdownChevron.js +23 -0
- package/dist/components/Select/Select.d.ts +16 -0
- package/dist/components/Select/Select.js +36 -0
- package/dist/components/{atoms/select → Select}/__stories__/Select.stories.d.ts +3 -1
- package/dist/components/Select/__tests__/Select.test.d.ts +1 -0
- package/dist/components/{atoms/select → Select}/__tests__/Select.test.js +1165 -1140
- package/dist/components/Select/styles.d.ts +32 -0
- package/dist/components/{atoms/select → Select}/styles.js +1517 -1651
- package/dist/components/Toast/Toast.d.ts +14 -0
- package/dist/components/Toast/Toast.js +19 -0
- package/dist/components/Toast/__stories__/Toast.stories.d.ts +16 -0
- package/dist/components/Toast/__tests__/Toast.test.d.ts +1 -0
- package/dist/components/Toast/__tests__/Toast.test.js +18 -0
- package/dist/components/Toast/index.d.ts +2 -0
- package/dist/components/Toast/index.js +4 -0
- package/dist/components/Toast/styles.d.ts +10 -0
- package/dist/components/Toast/styles.js +54 -0
- package/dist/components/Typography/Typography.d.ts +15 -0
- package/dist/components/Typography/Typography.js +8 -0
- package/dist/components/{atoms/typography → Typography}/__stories__/Typography.stories.d.ts +1 -0
- package/dist/components/Typography/__tests__/Typography.test.d.ts +1 -0
- package/dist/components/Typography/__tests__/Typography.test.js +23 -0
- package/dist/components/Typography/index.js +4 -0
- package/dist/components/Typography/styles.d.ts +21 -0
- package/dist/components/Typography/styles.js +48 -0
- package/dist/components/index.d.ts +26 -14
- package/dist/components/index.js +23 -13
- package/dist/constants/index.d.ts +104 -0
- package/dist/constants/index.js +41 -7
- package/dist/{context-CZsFJmh6.js → context-BMW3aJEf.js} +162 -161
- package/dist/genesis/GenesisThemeBreakdown.js +54 -24
- package/dist/genesis/GenesisThemeDemo.d.ts +0 -2
- package/dist/genesis/GenesisThemeDemo.js +3 -4
- package/dist/genesis/styles.js +1095 -2186
- package/dist/{index-C7kFNqp2.js → index-1CBpubM3.js} +36 -36
- package/dist/{index-3MWkSVA1.js → index-BZAhCB_K.js} +6 -5
- package/dist/{index-D1v_7IIx.js → index-C0SmxWLS.js} +95 -94
- package/dist/index-C8haFnXI.js +1112 -0
- package/dist/{index-VDH3iLaC.js → index-CfDY25LP.js} +298 -309
- package/dist/{index-SAAXFt-P.js → index-DPW8XdWj.js} +255 -249
- package/dist/{index-BQO27mgE.js → index-bKlRxQp4.js} +52 -51
- package/dist/index-oK7z6jnz.js +22795 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +31 -18
- package/dist/{isVisible-CNQjrJPN.js → isVisible-A-IfeFoT.js} +34 -33
- package/dist/{magic-string.es-BkUFmFT4.js → magic-string.es-D2FWSwU3.js} +1 -1
- package/dist/{SearchOutlined-DuzJkIiQ.js → pickAttrs-B0YTfcV1.js} +16 -26
- package/dist/providers/GenesisProvider.js +9 -5
- package/dist/providers/ThemeProvider.d.ts +2 -2
- package/dist/providers/ThemeProvider.js +4 -1
- package/dist/providers/ToastProvider.d.ts +13 -0
- package/dist/providers/ToastProvider.js +20 -0
- package/dist/providers/__stories__/GenesisProvider.stories.d.ts +6 -0
- package/dist/providers/index.d.ts +1 -1
- package/dist/providers/index.js +4 -4
- package/dist/providers/useGenesis.d.ts +7 -0
- package/dist/providers/useGenesis.js +6 -0
- package/dist/{setup-CMYVZCPF.js → setup-BvfREoHl.js} +6948 -6940
- package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +22 -16
- package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +21 -15
- package/dist/styles/design-tokens/{typography → typography-tokens}/TypographyTokens.stories.d.ts +1 -0
- package/dist/styles/design-tokens/variables.d.ts +17 -17
- package/dist/styles/design-tokens/variables.js +48 -48
- package/dist/styles/global-styles.d.ts +1 -0
- package/dist/styles/global-styles.js +13 -29
- package/dist/styles/theme/genesis-theme.d.ts +3 -0
- package/dist/styles/theme/genesis-theme.js +461 -277
- package/dist/styles/theme/genesis-theme.types.d.ts +46 -0
- package/dist/{Form-Cylpi4M4.js → styles-CT_fyXBd.js} +417 -424
- package/dist/test/setup.js +2 -1
- package/dist/useLocale-DT-z_vQ6.js +16 -0
- package/dist/{useVariants-CEpw6Ww6.js → useVariants-DvhXfgJY.js} +9 -8
- package/dist/warning-C63HNL9U.js +789 -0
- package/package.json +10 -4
- package/dist/Overflow-CP1M4Z0s.js +0 -369
- package/dist/components/atoms/button/Button.d.ts +0 -12
- package/dist/components/atoms/button/Button.js +0 -27
- package/dist/components/atoms/button/styles.d.ts +0 -12
- package/dist/components/atoms/checkbox/Checkbox.js +0 -13
- package/dist/components/atoms/index.d.ts +0 -1
- package/dist/components/atoms/index.js +0 -3
- package/dist/components/atoms/input/Input.js +0 -12
- package/dist/components/atoms/input/__tests__/Input.test.js +0 -28
- package/dist/components/atoms/input/styles.js +0 -415
- package/dist/components/atoms/select/Select.d.ts +0 -11
- package/dist/components/atoms/select/Select.js +0 -24
- package/dist/components/atoms/select/styles.d.ts +0 -15
- package/dist/components/atoms/typography/Typography.d.ts +0 -11
- package/dist/components/atoms/typography/Typography.js +0 -44
- package/dist/components/atoms/typography/__tests__/Typography.test.js +0 -16
- package/dist/components/atoms/typography/index.js +0 -4
- package/dist/components/atoms/typography/styles.d.ts +0 -11
- package/dist/components/atoms/typography/styles.js +0 -28
- package/dist/components/molecules/error-boundary-fallback/ErrorBoundaryFallback.d.ts +0 -10
- package/dist/components/molecules/error-boundary-fallback/ErrorBoundaryFallback.js +0 -35
- package/dist/components/molecules/error-boundary-fallback/index.d.ts +0 -1
- package/dist/components/molecules/form/Form.d.ts +0 -15
- package/dist/components/molecules/form/Form.js +0 -7
- package/dist/components/molecules/form/__stories__/FormStory.js +0 -90
- package/dist/components/molecules/form/index.js +0 -4
- package/dist/index-BPtFqhcp.js +0 -19110
- package/dist/index-BWys7dkb.js +0 -4462
- package/dist/styles/theme/global-styles.d.ts +0 -1
- package/dist/styles/theme/global-styles.js +0 -35
- /package/dist/components/{atoms/checkbox/__tests__/Checkbox.test.d.ts → Badge/__tests__/Badge.test.d.ts} +0 -0
- /package/dist/components/{atoms/input/__tests__/Input.test.d.ts → Breadcrumb/__tests__/Breadcrumb.test.d.ts} +0 -0
- /package/dist/components/{atoms/button → Button}/__stories__/Button.stories.d.ts +0 -0
- /package/dist/components/{atoms/select/__tests__/Select.test.d.ts → Button/__tests__/Button.test.d.ts} +0 -0
- /package/dist/components/{atoms/button → Button}/index.d.ts +0 -0
- /package/dist/components/{atoms/button → Button}/index.js +0 -0
- /package/dist/components/{atoms/checkbox → Checkbox}/__stories__/Checkbox.stories.d.ts +0 -0
- /package/dist/components/{atoms/typography/__tests__/Typography.test.d.ts → Checkbox/__tests__/Checkbox.test.d.ts} +0 -0
- /package/dist/components/{atoms/checkbox → Checkbox}/index.d.ts +0 -0
- /package/dist/components/{atoms/checkbox → Checkbox}/index.js +0 -0
- /package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/__stories__/ErrorBoundaryFallback.stories.d.ts +0 -0
- /package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/index.js +0 -0
- /package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/styles.d.ts +0 -0
- /package/dist/components/{molecules/form → Form}/__stories__/Form.stories.d.ts +0 -0
- /package/dist/components/{molecules/form → Form}/__stories__/FormStory.d.ts +0 -0
- /package/dist/components/{molecules/form → Form}/index.d.ts +0 -0
- /package/dist/components/{atoms/input → Input}/index.d.ts +0 -0
- /package/dist/components/{atoms/input → Input}/index.js +0 -0
- /package/dist/components/{atoms/select → Select}/index.d.ts +0 -0
- /package/dist/components/{atoms/select → Select}/index.js +0 -0
- /package/dist/components/{atoms/typography → Typography}/index.d.ts +0 -0
|
@@ -1,52 +1,53 @@
|
|
|
1
1
|
import * as r from "react";
|
|
2
2
|
import { useRef as st, useEffect as lt, useMemo as at, isValidElement as ct } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
3
|
+
import { N as $e, q as dt, g as ut, b as pt, C as De, t as Le, v as Y, n as W, x as ft } from "./index-oK7z6jnz.js";
|
|
4
|
+
import { a as fe, k as mt, l as gt, c as Z, m as yt } from "./warning-C63HNL9U.js";
|
|
5
|
+
import { I as me } from "./AntdIcon-BoLh1dP8.js";
|
|
6
|
+
import { R as bt } from "./index-bKlRxQp4.js";
|
|
7
|
+
import { t as Me, o as ke, u as Oe } from "./isVisible-A-IfeFoT.js";
|
|
8
|
+
import { u as Et } from "./useLocale-DT-z_vQ6.js";
|
|
9
|
+
import { T as ge } from "./index-DPW8XdWj.js";
|
|
10
|
+
import { K as we } from "./KeyCode-DM2sFh3-.js";
|
|
10
11
|
import { c as ht } from "./reactNode-sKPeiqPL.js";
|
|
11
|
-
import { T as vt } from "./TextArea-
|
|
12
|
-
import {
|
|
13
|
-
import { R as St } from "./
|
|
14
|
-
var Ot = function(t) {
|
|
15
|
-
if (dt() && window.document.documentElement) {
|
|
16
|
-
var o = Array.isArray(t) ? t : [t], n = window.document.documentElement;
|
|
17
|
-
return o.some(function(i) {
|
|
18
|
-
return i in n.style;
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
return !1;
|
|
22
|
-
};
|
|
23
|
-
function Re(e, t) {
|
|
24
|
-
return Ot(e);
|
|
25
|
-
}
|
|
26
|
-
function Ct(e) {
|
|
27
|
-
return (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) && e == null ? [] : Array.isArray(e) ? e : [e];
|
|
28
|
-
}
|
|
29
|
-
var wt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" } }] }, name: "copy", theme: "outlined" }, Rt = function(t, o) {
|
|
12
|
+
import { T as vt } from "./TextArea-DKwCct3i.js";
|
|
13
|
+
import { R as xt } from "./CheckOutlined-CeTKr6II.js";
|
|
14
|
+
import { R as St } from "./LoadingOutlined-8EnJdZ7I.js";
|
|
15
|
+
var Ct = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" } }] }, name: "copy", theme: "outlined" }, Ot = function(t, o) {
|
|
30
16
|
return /* @__PURE__ */ r.createElement(me, fe({}, t, {
|
|
31
17
|
ref: o,
|
|
32
|
-
icon:
|
|
18
|
+
icon: Ct
|
|
33
19
|
}));
|
|
34
|
-
}, Pe = /* @__PURE__ */ r.forwardRef(
|
|
20
|
+
}, Pe = /* @__PURE__ */ r.forwardRef(Ot);
|
|
35
21
|
process.env.NODE_ENV !== "production" && (Pe.displayName = "CopyOutlined");
|
|
36
|
-
var
|
|
22
|
+
var wt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" } }] }, name: "edit", theme: "outlined" }, Rt = function(t, o) {
|
|
37
23
|
return /* @__PURE__ */ r.createElement(me, fe({}, t, {
|
|
38
24
|
ref: o,
|
|
39
|
-
icon:
|
|
25
|
+
icon: wt
|
|
40
26
|
}));
|
|
41
|
-
}, Ae = /* @__PURE__ */ r.forwardRef(
|
|
27
|
+
}, Ae = /* @__PURE__ */ r.forwardRef(Rt);
|
|
42
28
|
process.env.NODE_ENV !== "production" && (Ae.displayName = "EditOutlined");
|
|
43
|
-
var
|
|
29
|
+
var Tt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z" } }] }, name: "enter", theme: "outlined" }, Nt = function(t, o) {
|
|
44
30
|
return /* @__PURE__ */ r.createElement(me, fe({}, t, {
|
|
45
31
|
ref: o,
|
|
46
|
-
icon:
|
|
32
|
+
icon: Tt
|
|
47
33
|
}));
|
|
48
|
-
}, He = /* @__PURE__ */ r.forwardRef(
|
|
34
|
+
}, He = /* @__PURE__ */ r.forwardRef(Nt);
|
|
49
35
|
process.env.NODE_ENV !== "production" && (He.displayName = "EnterOutlined");
|
|
36
|
+
var jt = function(t) {
|
|
37
|
+
if (mt() && window.document.documentElement) {
|
|
38
|
+
var o = Array.isArray(t) ? t : [t], n = window.document.documentElement;
|
|
39
|
+
return o.some(function(i) {
|
|
40
|
+
return i in n.style;
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
return !1;
|
|
44
|
+
};
|
|
45
|
+
function Re(e, t) {
|
|
46
|
+
return jt(e);
|
|
47
|
+
}
|
|
48
|
+
function _t(e) {
|
|
49
|
+
return (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) && e == null ? [] : Array.isArray(e) ? e : [e];
|
|
50
|
+
}
|
|
50
51
|
const It = (e, t, o, n) => {
|
|
51
52
|
const {
|
|
52
53
|
titleMarginBottom: i,
|
|
@@ -113,7 +114,7 @@ const It = (e, t, o, n) => {
|
|
|
113
114
|
mark: {
|
|
114
115
|
padding: 0,
|
|
115
116
|
// FIXME hardcode in v4
|
|
116
|
-
backgroundColor:
|
|
117
|
+
backgroundColor: gt[2]
|
|
117
118
|
},
|
|
118
119
|
"u, ins": {
|
|
119
120
|
textDecoration: "underline",
|
|
@@ -186,7 +187,7 @@ const It = (e, t, o, n) => {
|
|
|
186
187
|
"div&": {
|
|
187
188
|
insetInlineStart: e.calc(e.paddingSM).mul(-1).equal(),
|
|
188
189
|
marginTop: e.calc(n).mul(-1).equal(),
|
|
189
|
-
marginBottom: `calc(1em - ${
|
|
190
|
+
marginBottom: `calc(1em - ${dt(n)})`
|
|
190
191
|
},
|
|
191
192
|
[`${t}-edit-content-confirm`]: {
|
|
192
193
|
position: "absolute",
|
|
@@ -316,7 +317,7 @@ const It = (e, t, o, n) => {
|
|
|
316
317
|
}, Ht = () => ({
|
|
317
318
|
titleMarginTop: "1.2em",
|
|
318
319
|
titleMarginBottom: "0.5em"
|
|
319
|
-
}), ze =
|
|
320
|
+
}), ze = ut("Typography", (e) => [At(e)], Ht), zt = (e) => {
|
|
320
321
|
const {
|
|
321
322
|
prefixCls: t,
|
|
322
323
|
"aria-label": o,
|
|
@@ -331,7 +332,7 @@ const It = (e, t, o, n) => {
|
|
|
331
332
|
onEnd: m,
|
|
332
333
|
component: g,
|
|
333
334
|
enterIcon: b = /* @__PURE__ */ r.createElement(He, null)
|
|
334
|
-
} = e, N = r.useRef(null), S = r.useRef(!1),
|
|
335
|
+
} = e, N = r.useRef(null), S = r.useRef(!1), C = r.useRef(null), [y, I] = r.useState(d);
|
|
335
336
|
r.useEffect(() => {
|
|
336
337
|
I(d);
|
|
337
338
|
}, [d]), r.useEffect(() => {
|
|
@@ -352,7 +353,7 @@ const It = (e, t, o, n) => {
|
|
|
352
353
|
target: h
|
|
353
354
|
} = E;
|
|
354
355
|
I(h.value.replace(/[\n\r]/g, ""));
|
|
355
|
-
},
|
|
356
|
+
}, O = () => {
|
|
356
357
|
S.current = !0;
|
|
357
358
|
}, w = () => {
|
|
358
359
|
S.current = !1;
|
|
@@ -360,7 +361,7 @@ const It = (e, t, o, n) => {
|
|
|
360
361
|
let {
|
|
361
362
|
keyCode: h
|
|
362
363
|
} = E;
|
|
363
|
-
S.current || (
|
|
364
|
+
S.current || (C.current = h);
|
|
364
365
|
}, v = () => {
|
|
365
366
|
f(y.trim());
|
|
366
367
|
}, z = (E) => {
|
|
@@ -371,10 +372,10 @@ const It = (e, t, o, n) => {
|
|
|
371
372
|
metaKey: T,
|
|
372
373
|
shiftKey: $
|
|
373
374
|
} = E;
|
|
374
|
-
|
|
375
|
+
C.current !== h || S.current || x || P || T || $ || (h === we.ENTER ? (v(), m == null || m()) : h === we.ESC && a());
|
|
375
376
|
}, U = () => {
|
|
376
377
|
v();
|
|
377
|
-
}, [B, M, F] = ze(t), k =
|
|
378
|
+
}, [B, M, F] = ze(t), k = Z(t, `${t}-edit-content`, {
|
|
378
379
|
[`${t}-rtl`]: s === "rtl",
|
|
379
380
|
[`${t}-${g}`]: !!g
|
|
380
381
|
}, n, M, F);
|
|
@@ -388,7 +389,7 @@ const It = (e, t, o, n) => {
|
|
|
388
389
|
onChange: H,
|
|
389
390
|
onKeyDown: _,
|
|
390
391
|
onKeyUp: z,
|
|
391
|
-
onCompositionStart:
|
|
392
|
+
onCompositionStart: O,
|
|
392
393
|
onCompositionEnd: w,
|
|
393
394
|
onBlur: U,
|
|
394
395
|
"aria-label": o,
|
|
@@ -459,7 +460,7 @@ function Ft(e, t) {
|
|
|
459
460
|
return d;
|
|
460
461
|
}
|
|
461
462
|
var Kt = Ft;
|
|
462
|
-
const qt = /* @__PURE__ */
|
|
463
|
+
const qt = /* @__PURE__ */ yt(Kt);
|
|
463
464
|
var Xt = function(e, t, o, n) {
|
|
464
465
|
function i(s) {
|
|
465
466
|
return s instanceof o ? s : new o(function(u) {
|
|
@@ -496,12 +497,12 @@ const Jt = (e) => {
|
|
|
496
497
|
c.current && clearTimeout(c.current);
|
|
497
498
|
}, f = {};
|
|
498
499
|
t.format && (f.format = t.format), r.useEffect(() => d, []);
|
|
499
|
-
const a =
|
|
500
|
+
const a = pt((m) => Xt(void 0, void 0, void 0, function* () {
|
|
500
501
|
var g;
|
|
501
502
|
m == null || m.preventDefault(), m == null || m.stopPropagation(), u(!0);
|
|
502
503
|
try {
|
|
503
504
|
const b = typeof t.text == "function" ? yield t.text() : t.text;
|
|
504
|
-
qt(b ||
|
|
505
|
+
qt(b || _t(o, !0).join("") || "", f), u(!1), i(!0), d(), c.current = setTimeout(() => {
|
|
505
506
|
i(!1);
|
|
506
507
|
}, 3e3), (g = t.onCopy) === null || g === void 0 || g.call(t, m);
|
|
507
508
|
} catch (b) {
|
|
@@ -525,7 +526,7 @@ const Gt = (e) => {
|
|
|
525
526
|
return lt(() => {
|
|
526
527
|
t.current = e;
|
|
527
528
|
}), t.current;
|
|
528
|
-
},
|
|
529
|
+
}, Qt = (e, t, o) => at(() => e === !0 ? {
|
|
529
530
|
title: t ?? o
|
|
530
531
|
} : /* @__PURE__ */ ct(e) ? {
|
|
531
532
|
title: e
|
|
@@ -534,7 +535,7 @@ const Gt = (e) => {
|
|
|
534
535
|
}, e) : {
|
|
535
536
|
title: e
|
|
536
537
|
}, [e, t, o]);
|
|
537
|
-
var
|
|
538
|
+
var Yt = function(e, t) {
|
|
538
539
|
var o = {};
|
|
539
540
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (o[n] = e[n]);
|
|
540
541
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
@@ -551,19 +552,19 @@ const ye = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
551
552
|
children: c,
|
|
552
553
|
direction: d,
|
|
553
554
|
style: f
|
|
554
|
-
} = e, a =
|
|
555
|
+
} = e, a = Yt(e, ["prefixCls", "component", "className", "rootClassName", "setContentRef", "children", "direction", "style"]), {
|
|
555
556
|
getPrefixCls: m,
|
|
556
557
|
direction: g,
|
|
557
558
|
typography: b
|
|
558
|
-
} = r.useContext(De), N = d ?? g, S = u ? Le(t, u) : t,
|
|
559
|
+
} = r.useContext(De), N = d ?? g, S = u ? Le(t, u) : t, C = m("typography", o);
|
|
559
560
|
process.env.NODE_ENV !== "production" && Y("Typography").deprecated(!u, "setContentRef", "ref");
|
|
560
|
-
const [y, I, H] = ze(
|
|
561
|
-
[`${
|
|
561
|
+
const [y, I, H] = ze(C), O = Z(C, b == null ? void 0 : b.className, {
|
|
562
|
+
[`${C}-rtl`]: N === "rtl"
|
|
562
563
|
}, i, s, I, H), w = Object.assign(Object.assign({}, b == null ? void 0 : b.style), f);
|
|
563
564
|
return y(
|
|
564
565
|
// @ts-expect-error: Expression produces a union type that is too complex to represent.
|
|
565
566
|
/* @__PURE__ */ r.createElement(n, Object.assign({
|
|
566
|
-
className:
|
|
567
|
+
className: O,
|
|
567
568
|
style: w,
|
|
568
569
|
ref: S
|
|
569
570
|
}, a), c)
|
|
@@ -576,7 +577,7 @@ function Ne(e) {
|
|
|
576
577
|
function ae(e, t, o) {
|
|
577
578
|
return e === !0 || e === void 0 ? t : e || o && t;
|
|
578
579
|
}
|
|
579
|
-
function
|
|
580
|
+
function Zt(e) {
|
|
580
581
|
const t = document.createElement("em");
|
|
581
582
|
e.appendChild(t), process.env.NODE_ENV !== "production" && (t.className = "ant-typography-css-ellipsis-content-measure");
|
|
582
583
|
const o = e.getBoundingClientRect(), n = t.getBoundingClientRect();
|
|
@@ -599,19 +600,19 @@ const be = (e) => ["string", "number"].includes(typeof e), en = (e) => {
|
|
|
599
600
|
const a = Ne(s), m = Ne(u), {
|
|
600
601
|
copied: g,
|
|
601
602
|
copy: b
|
|
602
|
-
} = n ?? {}, N = o ? g : b, S = ae(a[o ? 1 : 0], N),
|
|
603
|
+
} = n ?? {}, N = o ? g : b, S = ae(a[o ? 1 : 0], N), C = typeof S == "string" ? S : N;
|
|
603
604
|
return /* @__PURE__ */ r.createElement(ge, {
|
|
604
605
|
title: S
|
|
605
606
|
}, /* @__PURE__ */ r.createElement("button", {
|
|
606
607
|
type: "button",
|
|
607
|
-
className:
|
|
608
|
+
className: Z(`${t}-copy`, {
|
|
608
609
|
[`${t}-copy-success`]: o,
|
|
609
610
|
[`${t}-copy-icon-only`]: i
|
|
610
611
|
}),
|
|
611
612
|
onClick: d,
|
|
612
|
-
"aria-label":
|
|
613
|
+
"aria-label": C,
|
|
613
614
|
tabIndex: c
|
|
614
|
-
}, o ? ae(m[1], /* @__PURE__ */ r.createElement(
|
|
615
|
+
}, o ? ae(m[1], /* @__PURE__ */ r.createElement(xt, null), !0) : ae(m[0], f ? /* @__PURE__ */ r.createElement(St, null) : /* @__PURE__ */ r.createElement(Pe, null), !0)));
|
|
615
616
|
}, G = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
616
617
|
let {
|
|
617
618
|
style: o,
|
|
@@ -652,7 +653,7 @@ function je(e, t) {
|
|
|
652
653
|
}
|
|
653
654
|
return e;
|
|
654
655
|
}
|
|
655
|
-
const ce = 0, de = 1, ue = 2, pe = 3, _e = 4,
|
|
656
|
+
const ce = 0, de = 1, ue = 2, pe = 3, _e = 4, Q = {
|
|
656
657
|
display: "-webkit-box",
|
|
657
658
|
overflow: "hidden",
|
|
658
659
|
WebkitBoxOrient: "vertical"
|
|
@@ -667,7 +668,7 @@ function nn(e) {
|
|
|
667
668
|
expanded: u,
|
|
668
669
|
miscDeps: c,
|
|
669
670
|
onEllipsis: d
|
|
670
|
-
} = e, f = r.useMemo(() => Me(n), [n]), a = r.useMemo(() => tn(f), [n]), m = r.useMemo(() => i(f, !1), [n]), [g, b] = r.useState(null), N = r.useRef(null), S = r.useRef(null),
|
|
671
|
+
} = e, f = r.useMemo(() => Me(n), [n]), a = r.useMemo(() => tn(f), [n]), m = r.useMemo(() => i(f, !1), [n]), [g, b] = r.useState(null), N = r.useRef(null), S = r.useRef(null), C = r.useRef(null), y = r.useRef(null), I = r.useRef(null), [H, O] = r.useState(!1), [w, _] = r.useState(ce), [v, z] = r.useState(0), [U, B] = r.useState(null);
|
|
671
672
|
W(() => {
|
|
672
673
|
_(t && o && a ? de : ce);
|
|
673
674
|
}, [o, n, s, t, f]), W(() => {
|
|
@@ -677,9 +678,9 @@ function nn(e) {
|
|
|
677
678
|
const T = S.current && getComputedStyle(S.current).whiteSpace;
|
|
678
679
|
B(T);
|
|
679
680
|
} else if (w === ue) {
|
|
680
|
-
const T = !!(!((E =
|
|
681
|
-
_(T ? pe : _e), b(T ? [0, a] : null),
|
|
682
|
-
const $ = ((h =
|
|
681
|
+
const T = !!(!((E = C.current) === null || E === void 0) && E.isExceed());
|
|
682
|
+
_(T ? pe : _e), b(T ? [0, a] : null), O(T);
|
|
683
|
+
const $ = ((h = C.current) === null || h === void 0 ? void 0 : h.getHeight()) || 0, ne = s === 1 ? 0 : ((x = y.current) === null || x === void 0 ? void 0 : x.getHeight()) || 0, q = ((P = I.current) === null || P === void 0 ? void 0 : P.getHeight()) || 0, oe = Math.max(
|
|
683
684
|
$,
|
|
684
685
|
// height of rows with ellipsis
|
|
685
686
|
ne + q
|
|
@@ -703,30 +704,30 @@ function nn(e) {
|
|
|
703
704
|
if (w !== pe || !g || g[0] !== g[1]) {
|
|
704
705
|
const E = i(f, !1);
|
|
705
706
|
return [_e, ce].includes(w) ? E : /* @__PURE__ */ r.createElement("span", {
|
|
706
|
-
style: Object.assign(Object.assign({},
|
|
707
|
+
style: Object.assign(Object.assign({}, Q), {
|
|
707
708
|
WebkitLineClamp: s
|
|
708
709
|
})
|
|
709
710
|
}, E);
|
|
710
711
|
}
|
|
711
712
|
return i(u ? f : je(f, g[0]), H);
|
|
712
|
-
}, [u, w, g, f].concat(
|
|
713
|
+
}, [u, w, g, f].concat(ft(c))), k = {
|
|
713
714
|
width: o,
|
|
714
715
|
margin: 0,
|
|
715
716
|
padding: 0,
|
|
716
717
|
whiteSpace: U === "nowrap" ? "normal" : "inherit"
|
|
717
718
|
};
|
|
718
719
|
return /* @__PURE__ */ r.createElement(r.Fragment, null, F, w === ue && /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(G, {
|
|
719
|
-
style: Object.assign(Object.assign(Object.assign({}, k),
|
|
720
|
+
style: Object.assign(Object.assign(Object.assign({}, k), Q), {
|
|
720
721
|
WebkitLineClamp: s
|
|
721
722
|
}),
|
|
722
|
-
ref:
|
|
723
|
+
ref: C
|
|
723
724
|
}, m), /* @__PURE__ */ r.createElement(G, {
|
|
724
|
-
style: Object.assign(Object.assign(Object.assign({}, k),
|
|
725
|
+
style: Object.assign(Object.assign(Object.assign({}, k), Q), {
|
|
725
726
|
WebkitLineClamp: s - 1
|
|
726
727
|
}),
|
|
727
728
|
ref: y
|
|
728
729
|
}, m), /* @__PURE__ */ r.createElement(G, {
|
|
729
|
-
style: Object.assign(Object.assign(Object.assign({}, k),
|
|
730
|
+
style: Object.assign(Object.assign(Object.assign({}, k), Q), {
|
|
730
731
|
WebkitLineClamp: 1
|
|
731
732
|
}),
|
|
732
733
|
ref: I
|
|
@@ -792,8 +793,8 @@ const sn = "...", ee = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
792
793
|
title: b
|
|
793
794
|
} = e, N = on(e, ["prefixCls", "className", "style", "type", "disabled", "children", "ellipsis", "editable", "copyable", "component", "title"]), {
|
|
794
795
|
getPrefixCls: S,
|
|
795
|
-
direction:
|
|
796
|
-
} = r.useContext(De), [y] =
|
|
796
|
+
direction: C
|
|
797
|
+
} = r.useContext(De), [y] = Et("Text"), I = r.useRef(null), H = r.useRef(null), O = S("typography", n), w = ke(N, ["mark", "code", "delete", "underline", "strong", "keyboard", "italic"]), [_, v] = le(a), [z, U] = Oe(!1, {
|
|
797
798
|
value: v.editing
|
|
798
799
|
}), {
|
|
799
800
|
triggerType: B = ["icon"]
|
|
@@ -823,7 +824,7 @@ const sn = "...", ee = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
823
824
|
}), [q, oe] = r.useState(!1), [Ee, Be] = r.useState(!1), [he, We] = r.useState(!1), [ve, Ue] = r.useState(!1), [Fe, Ke] = r.useState(!0), [V, R] = le(f, {
|
|
824
825
|
expandable: !1,
|
|
825
826
|
symbol: (l) => l ? y == null ? void 0 : y.collapse : y == null ? void 0 : y.expand
|
|
826
|
-
}), [A, qe] =
|
|
827
|
+
}), [A, qe] = Oe(R.defaultExpanded || !1, {
|
|
827
828
|
value: R.expanded
|
|
828
829
|
}), j = V && (!A || R.expandable === "collapsible"), {
|
|
829
830
|
rows: K = 1
|
|
@@ -843,22 +844,22 @@ const sn = "...", ee = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
843
844
|
const Se = j && (D ? ve : he), Je = j && K === 1 && D, re = j && K > 1 && D, Ge = (l, p) => {
|
|
844
845
|
var L;
|
|
845
846
|
qe(p.expanded), (L = R.onExpand) === null || L === void 0 || L.call(R, l, p);
|
|
846
|
-
}, [
|
|
847
|
+
}, [Ce, Qe] = r.useState(0), Ye = (l) => {
|
|
847
848
|
let {
|
|
848
849
|
offsetWidth: p
|
|
849
850
|
} = l;
|
|
850
|
-
|
|
851
|
-
},
|
|
851
|
+
Qe(p);
|
|
852
|
+
}, Ze = (l) => {
|
|
852
853
|
var p;
|
|
853
854
|
We(l), he !== l && ((p = R.onEllipsis) === null || p === void 0 || p.call(R, l));
|
|
854
855
|
};
|
|
855
856
|
r.useEffect(() => {
|
|
856
857
|
const l = I.current;
|
|
857
858
|
if (V && D && l) {
|
|
858
|
-
const p =
|
|
859
|
+
const p = Zt(l);
|
|
859
860
|
ve !== p && Ue(p);
|
|
860
861
|
}
|
|
861
|
-
}, [V, D, d, re, Fe,
|
|
862
|
+
}, [V, D, d, re, Fe, Ce]), r.useEffect(() => {
|
|
862
863
|
const l = I.current;
|
|
863
864
|
if (typeof IntersectionObserver > "u" || !l || !D || !j)
|
|
864
865
|
return;
|
|
@@ -869,7 +870,7 @@ const sn = "...", ee = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
869
870
|
p.disconnect();
|
|
870
871
|
};
|
|
871
872
|
}, [D, j]);
|
|
872
|
-
const ie =
|
|
873
|
+
const ie = Qt(R.tooltip, v.text, d), J = r.useMemo(() => {
|
|
873
874
|
if (!(!V || D))
|
|
874
875
|
return [v.text, d, b, ie.title].find(be);
|
|
875
876
|
}, [V, D, b, ie.title, Se]);
|
|
@@ -879,10 +880,10 @@ const sn = "...", ee = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
879
880
|
onSave: E,
|
|
880
881
|
onCancel: h,
|
|
881
882
|
onEnd: v.onEnd,
|
|
882
|
-
prefixCls:
|
|
883
|
+
prefixCls: O,
|
|
883
884
|
className: i,
|
|
884
885
|
style: s,
|
|
885
|
-
direction:
|
|
886
|
+
direction: C,
|
|
886
887
|
component: g,
|
|
887
888
|
maxLength: v.maxLength,
|
|
888
889
|
autoSize: v.autoSize,
|
|
@@ -896,7 +897,7 @@ const sn = "...", ee = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
896
897
|
return l ? /* @__PURE__ */ r.createElement("button", {
|
|
897
898
|
type: "button",
|
|
898
899
|
key: "expand",
|
|
899
|
-
className: `${
|
|
900
|
+
className: `${O}-${A ? "collapse" : "expand"}`,
|
|
900
901
|
onClick: (L) => Ge(L, {
|
|
901
902
|
expanded: !A
|
|
902
903
|
}),
|
|
@@ -916,7 +917,7 @@ const sn = "...", ee = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
916
917
|
}, /* @__PURE__ */ r.createElement("button", {
|
|
917
918
|
type: "button",
|
|
918
919
|
ref: H,
|
|
919
|
-
className: `${
|
|
920
|
+
className: `${O}-edit`,
|
|
920
921
|
onClick: k,
|
|
921
922
|
"aria-label": it,
|
|
922
923
|
tabIndex: L
|
|
@@ -926,7 +927,7 @@ const sn = "...", ee = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
926
927
|
}, nt = () => x ? /* @__PURE__ */ r.createElement(en, Object.assign({
|
|
927
928
|
key: "copy"
|
|
928
929
|
}, P, {
|
|
929
|
-
prefixCls:
|
|
930
|
+
prefixCls: O,
|
|
930
931
|
copied: T,
|
|
931
932
|
locale: y,
|
|
932
933
|
onCopy: ne,
|
|
@@ -936,20 +937,20 @@ const sn = "...", ee = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
936
937
|
"aria-hidden": !0,
|
|
937
938
|
key: "ellipsis"
|
|
938
939
|
}, sn), R.suffix, ot(l)];
|
|
939
|
-
return /* @__PURE__ */ r.createElement(
|
|
940
|
-
onResize:
|
|
940
|
+
return /* @__PURE__ */ r.createElement(bt, {
|
|
941
|
+
onResize: Ye,
|
|
941
942
|
disabled: !j
|
|
942
943
|
}, (l) => /* @__PURE__ */ r.createElement(Ve, {
|
|
943
944
|
tooltipProps: ie,
|
|
944
945
|
enableEllipsis: j,
|
|
945
946
|
isEllipsis: Se
|
|
946
947
|
}, /* @__PURE__ */ r.createElement(ye, Object.assign({
|
|
947
|
-
className:
|
|
948
|
-
[`${
|
|
949
|
-
[`${
|
|
950
|
-
[`${
|
|
951
|
-
[`${
|
|
952
|
-
[`${
|
|
948
|
+
className: Z({
|
|
949
|
+
[`${O}-${u}`]: u,
|
|
950
|
+
[`${O}-disabled`]: c,
|
|
951
|
+
[`${O}-ellipsis`]: V,
|
|
952
|
+
[`${O}-ellipsis-single-line`]: Je,
|
|
953
|
+
[`${O}-ellipsis-multiple-line`]: re
|
|
953
954
|
}, i),
|
|
954
955
|
prefixCls: n,
|
|
955
956
|
style: Object.assign(Object.assign({}, s), {
|
|
@@ -957,7 +958,7 @@ const sn = "...", ee = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
957
958
|
}),
|
|
958
959
|
component: g,
|
|
959
960
|
ref: Le(l, I, t),
|
|
960
|
-
direction:
|
|
961
|
+
direction: C,
|
|
961
962
|
onClick: B.includes("text") ? k : void 0,
|
|
962
963
|
"aria-label": J == null ? void 0 : J.toString(),
|
|
963
964
|
title: b
|
|
@@ -965,8 +966,8 @@ const sn = "...", ee = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
965
966
|
enableMeasure: j && !D,
|
|
966
967
|
text: d,
|
|
967
968
|
rows: K,
|
|
968
|
-
width:
|
|
969
|
-
onEllipsis:
|
|
969
|
+
width: Ce,
|
|
970
|
+
onEllipsis: Ze,
|
|
970
971
|
expanded: A,
|
|
971
972
|
miscDeps: [T, A, $, _, x, y]
|
|
972
973
|
}, (p, L) => rn(e, /* @__PURE__ */ r.createElement(r.Fragment, null, p.length > 0 && L && !A && J ? /* @__PURE__ */ r.createElement("span", {
|