@duskmoon-dev/components 0.2.0 → 0.2.1
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/classes/index.d.ts +0 -1
- package/dist/classes/index.js +14 -16
- package/dist/components/dm-pro-table/DmProTable.d.ts +1 -1
- package/dist/components/dm-pro-table/DmProTable.types.d.ts +3 -2
- package/dist/components/dm-pro-table/index.js +8 -20
- package/dist/generated/version.d.ts +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +350 -362
- package/dist/infrastructure.js +1 -1
- package/package.json +1 -5
- package/dist/classes/dm-pro-table-inner.d.ts +0 -1
- package/dist/components/dm-pro-table-inner/DmProTableInner.d.ts +0 -7
- package/dist/components/dm-pro-table-inner/DmProTableInner.types.d.ts +0 -5
- package/dist/components/dm-pro-table-inner/index.d.ts +0 -2
- package/dist/components/dm-pro-table-inner/index.js +0 -2622
package/dist/index.js
CHANGED
|
@@ -79,7 +79,7 @@ var ThemeInitScript = () => {
|
|
|
79
79
|
import { useCallback as useCallback2, useState as useState2 } from "react";
|
|
80
80
|
|
|
81
81
|
// src/generated/version.ts
|
|
82
|
-
var version = "0.2.
|
|
82
|
+
var version = "0.2.1";
|
|
83
83
|
|
|
84
84
|
// src/infrastructure.ts
|
|
85
85
|
var theme = {
|
|
@@ -6795,6 +6795,9 @@ function getDmProTableClasses({ className }) {
|
|
|
6795
6795
|
return cn(dmProTableBaseClass, className);
|
|
6796
6796
|
}
|
|
6797
6797
|
|
|
6798
|
+
// src/components/dm-table/DmTable.tsx
|
|
6799
|
+
import { useMemo as useMemo21, useState as useState29 } from "react";
|
|
6800
|
+
|
|
6798
6801
|
// src/classes/dm-table.ts
|
|
6799
6802
|
var dmTableBaseClass = "dm-table";
|
|
6800
6803
|
var dmTableSearchClass = "dm-table-search";
|
|
@@ -6809,8 +6812,6 @@ var dmTablePaginationClass = "dm-table-pagination";
|
|
|
6809
6812
|
function getDmTableClasses({ className }) {
|
|
6810
6813
|
return cn(dmTableBaseClass, className);
|
|
6811
6814
|
}
|
|
6812
|
-
// src/components/dm-table/DmTable.tsx
|
|
6813
|
-
import { useMemo as useMemo21, useState as useState29 } from "react";
|
|
6814
6815
|
|
|
6815
6816
|
// src/components/dm-search/DmSearch.tsx
|
|
6816
6817
|
import {
|
|
@@ -8507,22 +8508,8 @@ function DmTable({
|
|
|
8507
8508
|
});
|
|
8508
8509
|
}
|
|
8509
8510
|
DmTable.displayName = "DmTable";
|
|
8510
|
-
// src/components/dm-pro-table-inner/DmProTableInner.tsx
|
|
8511
|
-
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
8512
|
-
function DmProTableInner({
|
|
8513
|
-
rowData,
|
|
8514
|
-
className,
|
|
8515
|
-
...props
|
|
8516
|
-
}) {
|
|
8517
|
-
return /* @__PURE__ */ jsx49(DmTable, {
|
|
8518
|
-
...props,
|
|
8519
|
-
className: getDmTableClasses({ className }),
|
|
8520
|
-
dataSource: rowData
|
|
8521
|
-
});
|
|
8522
|
-
}
|
|
8523
|
-
DmProTableInner.displayName = "DmProTableInner";
|
|
8524
8511
|
// src/components/dm-pro-table/DmProTable.tsx
|
|
8525
|
-
import { jsx as
|
|
8512
|
+
import { jsx as jsx49, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
8526
8513
|
function renderToolbar(toolBarRender) {
|
|
8527
8514
|
if (typeof toolBarRender === "function")
|
|
8528
8515
|
return toolBarRender();
|
|
@@ -8535,6 +8522,7 @@ function DmProTable({
|
|
|
8535
8522
|
showTitleBar = true,
|
|
8536
8523
|
columnSettingVisible,
|
|
8537
8524
|
className,
|
|
8525
|
+
rowData,
|
|
8538
8526
|
...props
|
|
8539
8527
|
}) {
|
|
8540
8528
|
return /* @__PURE__ */ jsxs35("div", {
|
|
@@ -8543,17 +8531,17 @@ function DmProTable({
|
|
|
8543
8531
|
showTitleBar ? /* @__PURE__ */ jsxs35("div", {
|
|
8544
8532
|
className: dmProTableHeaderClass,
|
|
8545
8533
|
children: [
|
|
8546
|
-
/* @__PURE__ */
|
|
8534
|
+
/* @__PURE__ */ jsx49("div", {
|
|
8547
8535
|
className: dmProTableTitleClass,
|
|
8548
8536
|
children: headerTitle
|
|
8549
8537
|
}),
|
|
8550
8538
|
/* @__PURE__ */ jsxs35("div", {
|
|
8551
8539
|
className: dmProTableToolbarClass,
|
|
8552
8540
|
children: [
|
|
8553
|
-
toolbarItems?.length ? /* @__PURE__ */
|
|
8541
|
+
toolbarItems?.length ? /* @__PURE__ */ jsx49(DmToolbar, {
|
|
8554
8542
|
items: toolbarItems
|
|
8555
8543
|
}) : renderToolbar(toolBarRender),
|
|
8556
|
-
columnSettingVisible ? /* @__PURE__ */
|
|
8544
|
+
columnSettingVisible ? /* @__PURE__ */ jsx49(Button, {
|
|
8557
8545
|
type: "button",
|
|
8558
8546
|
color: "secondary",
|
|
8559
8547
|
appearance: "outline",
|
|
@@ -8564,9 +8552,10 @@ function DmProTable({
|
|
|
8564
8552
|
})
|
|
8565
8553
|
]
|
|
8566
8554
|
}) : null,
|
|
8567
|
-
/* @__PURE__ */
|
|
8555
|
+
/* @__PURE__ */ jsx49(DmTable, {
|
|
8568
8556
|
...props,
|
|
8569
|
-
columnSettingVisible: showTitleBar ? false : columnSettingVisible
|
|
8557
|
+
columnSettingVisible: showTitleBar ? false : columnSettingVisible,
|
|
8558
|
+
dataSource: rowData
|
|
8570
8559
|
})
|
|
8571
8560
|
]
|
|
8572
8561
|
});
|
|
@@ -8582,7 +8571,7 @@ function getDmProviderClasses({ className }) {
|
|
|
8582
8571
|
}
|
|
8583
8572
|
|
|
8584
8573
|
// src/components/dm-provider/DmProvider.tsx
|
|
8585
|
-
import { jsx as
|
|
8574
|
+
import { jsx as jsx50 } from "react/jsx-runtime";
|
|
8586
8575
|
var DmProvider = forwardRef38(({
|
|
8587
8576
|
children,
|
|
8588
8577
|
className,
|
|
@@ -8610,7 +8599,7 @@ var DmProvider = forwardRef38(({
|
|
|
8610
8599
|
setDmPrimaryColor(colorPrimary);
|
|
8611
8600
|
}
|
|
8612
8601
|
}, [theme2]);
|
|
8613
|
-
return /* @__PURE__ */
|
|
8602
|
+
return /* @__PURE__ */ jsx50(ConfigProvider, {
|
|
8614
8603
|
...props,
|
|
8615
8604
|
ref,
|
|
8616
8605
|
component,
|
|
@@ -8630,7 +8619,7 @@ import {
|
|
|
8630
8619
|
useRef as useRef10,
|
|
8631
8620
|
useState as useState31
|
|
8632
8621
|
} from "react";
|
|
8633
|
-
import { jsx as
|
|
8622
|
+
import { jsx as jsx51, jsxs as jsxs36, Fragment as Fragment7 } from "react/jsx-runtime";
|
|
8634
8623
|
function toSearchItem(item) {
|
|
8635
8624
|
return {
|
|
8636
8625
|
key: item.key,
|
|
@@ -8660,7 +8649,7 @@ var DmQuery = forwardRef39(({
|
|
|
8660
8649
|
setSelectedItem(data.find((item) => item.name === value || item.key === value));
|
|
8661
8650
|
}
|
|
8662
8651
|
}));
|
|
8663
|
-
return /* @__PURE__ */
|
|
8652
|
+
return /* @__PURE__ */ jsx51(DmSearch, {
|
|
8664
8653
|
...props,
|
|
8665
8654
|
ref: searchRef,
|
|
8666
8655
|
defaultCollapsed: collapsed,
|
|
@@ -8670,7 +8659,7 @@ var DmQuery = forwardRef39(({
|
|
|
8670
8659
|
extra: /* @__PURE__ */ jsxs36(Fragment7, {
|
|
8671
8660
|
children: [
|
|
8672
8661
|
props.extra,
|
|
8673
|
-
/* @__PURE__ */
|
|
8662
|
+
/* @__PURE__ */ jsx51("button", {
|
|
8674
8663
|
type: "button",
|
|
8675
8664
|
hidden: true,
|
|
8676
8665
|
onClick: () => {
|
|
@@ -8747,7 +8736,7 @@ function getSplitterHandleClasses({
|
|
|
8747
8736
|
}
|
|
8748
8737
|
|
|
8749
8738
|
// src/components/splitter/Splitter.tsx
|
|
8750
|
-
import { jsx as
|
|
8739
|
+
import { jsx as jsx52, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
8751
8740
|
function toCssSize(size) {
|
|
8752
8741
|
if (typeof size === "number")
|
|
8753
8742
|
return `${size}px`;
|
|
@@ -8789,7 +8778,7 @@ var SplitterPanel = forwardRef40((props, ref) => {
|
|
|
8789
8778
|
delete domProps.resizable;
|
|
8790
8779
|
delete domProps.size;
|
|
8791
8780
|
delete domProps.style;
|
|
8792
|
-
return /* @__PURE__ */
|
|
8781
|
+
return /* @__PURE__ */ jsx52("div", {
|
|
8793
8782
|
...domProps,
|
|
8794
8783
|
ref,
|
|
8795
8784
|
className: getSplitterPanelClasses({
|
|
@@ -8845,7 +8834,7 @@ var SplitterRoot = forwardRef40(({
|
|
|
8845
8834
|
setCollapsedIndexes(nextCollapsedIndexes);
|
|
8846
8835
|
panel.props.onCollapse?.(nextCollapsed);
|
|
8847
8836
|
}
|
|
8848
|
-
return /* @__PURE__ */
|
|
8837
|
+
return /* @__PURE__ */ jsx52("div", {
|
|
8849
8838
|
...props,
|
|
8850
8839
|
ref,
|
|
8851
8840
|
className: getSplitterClasses({ layout, className }),
|
|
@@ -8877,21 +8866,21 @@ var SplitterRoot = forwardRef40(({
|
|
|
8877
8866
|
disabled: handleDisabled
|
|
8878
8867
|
}),
|
|
8879
8868
|
children: [
|
|
8880
|
-
/* @__PURE__ */
|
|
8869
|
+
/* @__PURE__ */ jsx52("button", {
|
|
8881
8870
|
type: "button",
|
|
8882
8871
|
"aria-label": "Resize previous panel smaller",
|
|
8883
8872
|
disabled: handleDisabled,
|
|
8884
8873
|
onClick: () => resizeAt(index, -1),
|
|
8885
8874
|
children: "-"
|
|
8886
8875
|
}),
|
|
8887
|
-
/* @__PURE__ */
|
|
8876
|
+
/* @__PURE__ */ jsx52("button", {
|
|
8888
8877
|
type: "button",
|
|
8889
8878
|
"aria-label": "Resize previous panel larger",
|
|
8890
8879
|
disabled: handleDisabled,
|
|
8891
8880
|
onClick: () => resizeAt(index, 1),
|
|
8892
8881
|
children: "+"
|
|
8893
8882
|
}),
|
|
8894
|
-
panel.props.collapsible ? /* @__PURE__ */
|
|
8883
|
+
panel.props.collapsible ? /* @__PURE__ */ jsx52("button", {
|
|
8895
8884
|
type: "button",
|
|
8896
8885
|
"aria-label": collapsed ? "Expand panel" : "Collapse panel",
|
|
8897
8886
|
onClick: () => toggleCollapse(index),
|
|
@@ -8908,7 +8897,7 @@ SplitterRoot.displayName = "Splitter";
|
|
|
8908
8897
|
SplitterRoot.Panel = SplitterPanel;
|
|
8909
8898
|
var Splitter = SplitterRoot;
|
|
8910
8899
|
// src/components/dm-splitter/DmSplitter.tsx
|
|
8911
|
-
import { jsx as
|
|
8900
|
+
import { jsx as jsx53, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
8912
8901
|
function storageAvailable() {
|
|
8913
8902
|
return typeof window !== "undefined" && Boolean(window.localStorage);
|
|
8914
8903
|
}
|
|
@@ -9037,13 +9026,13 @@ var DmSplitterRoot = forwardRef41(({
|
|
|
9037
9026
|
}),
|
|
9038
9027
|
style: wrapperStyle,
|
|
9039
9028
|
children: [
|
|
9040
|
-
shouldRenderReset ? /* @__PURE__ */
|
|
9029
|
+
shouldRenderReset ? /* @__PURE__ */ jsx53("button", {
|
|
9041
9030
|
type: "button",
|
|
9042
9031
|
className: dmSplitterResetClass,
|
|
9043
9032
|
onClick: handleReset,
|
|
9044
9033
|
children: resetLabel
|
|
9045
9034
|
}) : null,
|
|
9046
|
-
/* @__PURE__ */
|
|
9035
|
+
/* @__PURE__ */ jsx53(Splitter, {
|
|
9047
9036
|
...props,
|
|
9048
9037
|
ref,
|
|
9049
9038
|
layout,
|
|
@@ -9093,7 +9082,7 @@ function getEmptyClasses({ className }) {
|
|
|
9093
9082
|
}
|
|
9094
9083
|
|
|
9095
9084
|
// src/components/empty/Empty.tsx
|
|
9096
|
-
import { jsx as
|
|
9085
|
+
import { jsx as jsx54, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
9097
9086
|
var defaultImage = /* @__PURE__ */ jsxs39("svg", {
|
|
9098
9087
|
"aria-hidden": "true",
|
|
9099
9088
|
focusable: "false",
|
|
@@ -9101,7 +9090,7 @@ var defaultImage = /* @__PURE__ */ jsxs39("svg", {
|
|
|
9101
9090
|
width: "64",
|
|
9102
9091
|
height: "48",
|
|
9103
9092
|
children: [
|
|
9104
|
-
/* @__PURE__ */
|
|
9093
|
+
/* @__PURE__ */ jsx54("rect", {
|
|
9105
9094
|
x: "8",
|
|
9106
9095
|
y: "12",
|
|
9107
9096
|
width: "48",
|
|
@@ -9110,7 +9099,7 @@ var defaultImage = /* @__PURE__ */ jsxs39("svg", {
|
|
|
9110
9099
|
fill: "currentColor",
|
|
9111
9100
|
opacity: "0.16"
|
|
9112
9101
|
}),
|
|
9113
|
-
/* @__PURE__ */
|
|
9102
|
+
/* @__PURE__ */ jsx54("path", {
|
|
9114
9103
|
d: "M16 20h32M16 28h20",
|
|
9115
9104
|
stroke: "currentColor",
|
|
9116
9105
|
strokeWidth: "3",
|
|
@@ -9119,13 +9108,13 @@ var defaultImage = /* @__PURE__ */ jsxs39("svg", {
|
|
|
9119
9108
|
})
|
|
9120
9109
|
]
|
|
9121
9110
|
});
|
|
9122
|
-
var simpleImage = /* @__PURE__ */
|
|
9111
|
+
var simpleImage = /* @__PURE__ */ jsx54("svg", {
|
|
9123
9112
|
"aria-hidden": "true",
|
|
9124
9113
|
focusable: "false",
|
|
9125
9114
|
viewBox: "0 0 48 36",
|
|
9126
9115
|
width: "48",
|
|
9127
9116
|
height: "36",
|
|
9128
|
-
children: /* @__PURE__ */
|
|
9117
|
+
children: /* @__PURE__ */ jsx54("rect", {
|
|
9129
9118
|
x: "6",
|
|
9130
9119
|
y: "10",
|
|
9131
9120
|
width: "36",
|
|
@@ -9147,16 +9136,16 @@ var EmptyBase = forwardRef42(({
|
|
|
9147
9136
|
className: getEmptyClasses({ className }),
|
|
9148
9137
|
...props,
|
|
9149
9138
|
children: [
|
|
9150
|
-
image !== null && image !== false ? /* @__PURE__ */
|
|
9139
|
+
image !== null && image !== false ? /* @__PURE__ */ jsx54("div", {
|
|
9151
9140
|
className: emptyImageClass,
|
|
9152
9141
|
style: imageStyle,
|
|
9153
9142
|
children: image
|
|
9154
9143
|
}) : null,
|
|
9155
|
-
description !== false ? /* @__PURE__ */
|
|
9144
|
+
description !== false ? /* @__PURE__ */ jsx54("div", {
|
|
9156
9145
|
className: emptyDescriptionClass,
|
|
9157
9146
|
children: description
|
|
9158
9147
|
}) : null,
|
|
9159
|
-
children ? /* @__PURE__ */
|
|
9148
|
+
children ? /* @__PURE__ */ jsx54("div", {
|
|
9160
9149
|
className: emptyFooterClass,
|
|
9161
9150
|
children
|
|
9162
9151
|
}) : null
|
|
@@ -9193,7 +9182,7 @@ function getSpinClasses({
|
|
|
9193
9182
|
}
|
|
9194
9183
|
|
|
9195
9184
|
// src/components/spin/Spin.tsx
|
|
9196
|
-
import { jsx as
|
|
9185
|
+
import { jsx as jsx55, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
9197
9186
|
var defaultIndicator;
|
|
9198
9187
|
function setDefaultIndicator(indicator) {
|
|
9199
9188
|
defaultIndicator = indicator;
|
|
@@ -9248,10 +9237,10 @@ var SpinBase = forwardRef43(({
|
|
|
9248
9237
|
}),
|
|
9249
9238
|
...props,
|
|
9250
9239
|
children: [
|
|
9251
|
-
finalIndicator ?? /* @__PURE__ */
|
|
9240
|
+
finalIndicator ?? /* @__PURE__ */ jsx55("span", {
|
|
9252
9241
|
className: spinDotClass
|
|
9253
9242
|
}),
|
|
9254
|
-
tip ? /* @__PURE__ */
|
|
9243
|
+
tip ? /* @__PURE__ */ jsx55("div", {
|
|
9255
9244
|
className: spinTipClass,
|
|
9256
9245
|
children: tip
|
|
9257
9246
|
}) : null
|
|
@@ -9264,7 +9253,7 @@ var SpinBase = forwardRef43(({
|
|
|
9264
9253
|
className: cn(spinNestedLoadingClass, wrapperClassName),
|
|
9265
9254
|
children: [
|
|
9266
9255
|
active ? spin : null,
|
|
9267
|
-
/* @__PURE__ */
|
|
9256
|
+
/* @__PURE__ */ jsx55("div", {
|
|
9268
9257
|
className: cn(spinContainerClass, active && spinBlurClass),
|
|
9269
9258
|
children
|
|
9270
9259
|
})
|
|
@@ -9275,7 +9264,7 @@ SpinBase.displayName = "Spin";
|
|
|
9275
9264
|
var Spin = SpinBase;
|
|
9276
9265
|
Spin.setDefaultIndicator = setDefaultIndicator;
|
|
9277
9266
|
// src/components/dm-status/DmStatus.tsx
|
|
9278
|
-
import { jsx as
|
|
9267
|
+
import { jsx as jsx56, jsxs as jsxs41, Fragment as Fragment8 } from "react/jsx-runtime";
|
|
9279
9268
|
var defaultDescriptions = {
|
|
9280
9269
|
empty: "No data",
|
|
9281
9270
|
error: "Loading failed"
|
|
@@ -9287,7 +9276,7 @@ var emptyImage = /* @__PURE__ */ jsxs41("svg", {
|
|
|
9287
9276
|
width: "96",
|
|
9288
9277
|
height: "72",
|
|
9289
9278
|
children: [
|
|
9290
|
-
/* @__PURE__ */
|
|
9279
|
+
/* @__PURE__ */ jsx56("rect", {
|
|
9291
9280
|
x: "14",
|
|
9292
9281
|
y: "18",
|
|
9293
9282
|
width: "68",
|
|
@@ -9296,7 +9285,7 @@ var emptyImage = /* @__PURE__ */ jsxs41("svg", {
|
|
|
9296
9285
|
fill: "currentColor",
|
|
9297
9286
|
opacity: "0.12"
|
|
9298
9287
|
}),
|
|
9299
|
-
/* @__PURE__ */
|
|
9288
|
+
/* @__PURE__ */ jsx56("path", {
|
|
9300
9289
|
d: "M28 31h40M28 42h24",
|
|
9301
9290
|
stroke: "currentColor",
|
|
9302
9291
|
strokeWidth: "4",
|
|
@@ -9312,14 +9301,14 @@ var errorImage = /* @__PURE__ */ jsxs41("svg", {
|
|
|
9312
9301
|
width: "96",
|
|
9313
9302
|
height: "72",
|
|
9314
9303
|
children: [
|
|
9315
|
-
/* @__PURE__ */
|
|
9304
|
+
/* @__PURE__ */ jsx56("circle", {
|
|
9316
9305
|
cx: "48",
|
|
9317
9306
|
cy: "36",
|
|
9318
9307
|
r: "25",
|
|
9319
9308
|
fill: "currentColor",
|
|
9320
9309
|
opacity: "0.12"
|
|
9321
9310
|
}),
|
|
9322
|
-
/* @__PURE__ */
|
|
9311
|
+
/* @__PURE__ */ jsx56("path", {
|
|
9323
9312
|
d: "M39 27l18 18M57 27L39 45",
|
|
9324
9313
|
stroke: "currentColor",
|
|
9325
9314
|
strokeWidth: "5",
|
|
@@ -9338,7 +9327,7 @@ function normalizeImage(image, imageStyle) {
|
|
|
9338
9327
|
if (typeof image !== "string") {
|
|
9339
9328
|
return image;
|
|
9340
9329
|
}
|
|
9341
|
-
return /* @__PURE__ */
|
|
9330
|
+
return /* @__PURE__ */ jsx56("img", {
|
|
9342
9331
|
src: image,
|
|
9343
9332
|
alt: "",
|
|
9344
9333
|
className: dmStatusImageClass,
|
|
@@ -9358,7 +9347,7 @@ var DmStatus = forwardRef44(({
|
|
|
9358
9347
|
...props
|
|
9359
9348
|
}, ref) => {
|
|
9360
9349
|
if (status === "success") {
|
|
9361
|
-
return /* @__PURE__ */
|
|
9350
|
+
return /* @__PURE__ */ jsx56(Fragment8, {
|
|
9362
9351
|
children
|
|
9363
9352
|
});
|
|
9364
9353
|
}
|
|
@@ -9367,12 +9356,12 @@ var DmStatus = forwardRef44(({
|
|
|
9367
9356
|
...style
|
|
9368
9357
|
};
|
|
9369
9358
|
if (status === "loading") {
|
|
9370
|
-
return /* @__PURE__ */
|
|
9359
|
+
return /* @__PURE__ */ jsx56("div", {
|
|
9371
9360
|
ref,
|
|
9372
9361
|
className: getDmStatusClasses({ status, className }),
|
|
9373
9362
|
style: mergedStyle,
|
|
9374
9363
|
...props,
|
|
9375
|
-
children: /* @__PURE__ */
|
|
9364
|
+
children: /* @__PURE__ */ jsx56(Spin, {
|
|
9376
9365
|
...loadingProps,
|
|
9377
9366
|
wrapperClassName: dmStatusLoadingClass,
|
|
9378
9367
|
children
|
|
@@ -9381,14 +9370,14 @@ var DmStatus = forwardRef44(({
|
|
|
9381
9370
|
}
|
|
9382
9371
|
const finalImage = normalizeImage(image ?? (status === "error" ? errorImage : emptyImage), imageStyle);
|
|
9383
9372
|
const finalDescription = description ?? defaultDescriptions[status === "error" ? "error" : "empty"];
|
|
9384
|
-
return /* @__PURE__ */
|
|
9373
|
+
return /* @__PURE__ */ jsx56("div", {
|
|
9385
9374
|
ref,
|
|
9386
9375
|
className: getDmStatusClasses({ status, className }),
|
|
9387
9376
|
style: mergedStyle,
|
|
9388
9377
|
...props,
|
|
9389
|
-
children: /* @__PURE__ */
|
|
9378
|
+
children: /* @__PURE__ */ jsx56("div", {
|
|
9390
9379
|
className: dmStatusContentClass,
|
|
9391
|
-
children: /* @__PURE__ */
|
|
9380
|
+
children: /* @__PURE__ */ jsx56(Empty, {
|
|
9392
9381
|
image: finalImage,
|
|
9393
9382
|
imageStyle: typeof image === "string" ? undefined : imageStyle,
|
|
9394
9383
|
description: finalDescription,
|
|
@@ -9496,7 +9485,7 @@ function getTabPanelClasses({
|
|
|
9496
9485
|
}
|
|
9497
9486
|
|
|
9498
9487
|
// src/components/tabs/Tabs.tsx
|
|
9499
|
-
import { jsx as
|
|
9488
|
+
import { jsx as jsx57, jsxs as jsxs42, Fragment as Fragment10 } from "react/jsx-runtime";
|
|
9500
9489
|
function stringifyKey(key, index) {
|
|
9501
9490
|
return key == null ? String(index) : String(key);
|
|
9502
9491
|
}
|
|
@@ -9540,7 +9529,7 @@ function getTabLabel(item) {
|
|
|
9540
9529
|
const label = item.label ?? item.key;
|
|
9541
9530
|
return /* @__PURE__ */ jsxs42(Fragment10, {
|
|
9542
9531
|
children: [
|
|
9543
|
-
item.icon ? /* @__PURE__ */
|
|
9532
|
+
item.icon ? /* @__PURE__ */ jsx57("span", {
|
|
9544
9533
|
className: tabIconClass,
|
|
9545
9534
|
children: item.icon
|
|
9546
9535
|
}) : null,
|
|
@@ -9557,7 +9546,7 @@ function shouldRenderPanel({
|
|
|
9557
9546
|
return true;
|
|
9558
9547
|
return !(item.destroyInactiveTabPane ?? destroyInactiveTabPane);
|
|
9559
9548
|
}
|
|
9560
|
-
var TabPane = (props) => /* @__PURE__ */
|
|
9549
|
+
var TabPane = (props) => /* @__PURE__ */ jsx57(Fragment10, {
|
|
9561
9550
|
children: props.children
|
|
9562
9551
|
});
|
|
9563
9552
|
TabPane.displayName = "Tabs.TabPane";
|
|
@@ -9653,7 +9642,7 @@ var TabsBase = forwardRef45(({
|
|
|
9653
9642
|
onEdit?.(item.key, "remove");
|
|
9654
9643
|
}
|
|
9655
9644
|
}
|
|
9656
|
-
const tabList = /* @__PURE__ */
|
|
9645
|
+
const tabList = /* @__PURE__ */ jsx57("div", {
|
|
9657
9646
|
className: tabsBarClass,
|
|
9658
9647
|
children: /* @__PURE__ */ jsxs42("div", {
|
|
9659
9648
|
role: "tablist",
|
|
@@ -9672,7 +9661,7 @@ var TabsBase = forwardRef45(({
|
|
|
9672
9661
|
const showClose = editable && item.closable !== false && !item.disabled;
|
|
9673
9662
|
return /* @__PURE__ */ jsxs42(Fragment9, {
|
|
9674
9663
|
children: [
|
|
9675
|
-
/* @__PURE__ */
|
|
9664
|
+
/* @__PURE__ */ jsx57("button", {
|
|
9676
9665
|
ref: (element) => {
|
|
9677
9666
|
tabRefs.current[index] = element;
|
|
9678
9667
|
},
|
|
@@ -9692,7 +9681,7 @@ var TabsBase = forwardRef45(({
|
|
|
9692
9681
|
onKeyDown: (event) => handleKeyDown(item, index, event),
|
|
9693
9682
|
children: getTabLabel(item)
|
|
9694
9683
|
}),
|
|
9695
|
-
showClose ? /* @__PURE__ */
|
|
9684
|
+
showClose ? /* @__PURE__ */ jsx57("button", {
|
|
9696
9685
|
type: "button",
|
|
9697
9686
|
className: tabsCloseClass,
|
|
9698
9687
|
"aria-label": `Close tab ${item.key}`,
|
|
@@ -9705,7 +9694,7 @@ var TabsBase = forwardRef45(({
|
|
|
9705
9694
|
]
|
|
9706
9695
|
}, item.key);
|
|
9707
9696
|
}),
|
|
9708
|
-
editable && !hideAdd ? /* @__PURE__ */
|
|
9697
|
+
editable && !hideAdd ? /* @__PURE__ */ jsx57("button", {
|
|
9709
9698
|
type: "button",
|
|
9710
9699
|
className: tabsAddClass,
|
|
9711
9700
|
"aria-label": "Add tab",
|
|
@@ -9720,7 +9709,7 @@ var TabsBase = forwardRef45(({
|
|
|
9720
9709
|
if (!shouldRenderPanel({ item, active, destroyInactiveTabPane })) {
|
|
9721
9710
|
return null;
|
|
9722
9711
|
}
|
|
9723
|
-
return /* @__PURE__ */
|
|
9712
|
+
return /* @__PURE__ */ jsx57("div", {
|
|
9724
9713
|
id: `${tabsId}-panel-${item.key}`,
|
|
9725
9714
|
role: "tabpanel",
|
|
9726
9715
|
"aria-labelledby": `${tabsId}-tab-${item.key}`,
|
|
@@ -9751,7 +9740,7 @@ var Tabs = Object.assign(TabsBase, {
|
|
|
9751
9740
|
TabPane
|
|
9752
9741
|
});
|
|
9753
9742
|
// src/components/dm-tabs/DmTabs.tsx
|
|
9754
|
-
import { jsx as
|
|
9743
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
9755
9744
|
var DmTabs = forwardRef46(({
|
|
9756
9745
|
type = "line",
|
|
9757
9746
|
tabPosition = "top",
|
|
@@ -9763,10 +9752,10 @@ var DmTabs = forwardRef46(({
|
|
|
9763
9752
|
style,
|
|
9764
9753
|
items,
|
|
9765
9754
|
...props
|
|
9766
|
-
}, ref) => /* @__PURE__ */
|
|
9755
|
+
}, ref) => /* @__PURE__ */ jsx58("div", {
|
|
9767
9756
|
className: getDmTabsShellClasses({}),
|
|
9768
9757
|
style,
|
|
9769
|
-
children: /* @__PURE__ */
|
|
9758
|
+
children: /* @__PURE__ */ jsx58(Tabs, {
|
|
9770
9759
|
...props,
|
|
9771
9760
|
ref,
|
|
9772
9761
|
items,
|
|
@@ -9865,7 +9854,7 @@ function getTreeNodeClasses({
|
|
|
9865
9854
|
}
|
|
9866
9855
|
|
|
9867
9856
|
// src/components/tree/Tree.tsx
|
|
9868
|
-
import { jsx as
|
|
9857
|
+
import { jsx as jsx59, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
9869
9858
|
function normalizeKeys4(keys) {
|
|
9870
9859
|
return keys?.map(String) ?? [];
|
|
9871
9860
|
}
|
|
@@ -9970,17 +9959,17 @@ var TreeNode = forwardRef47(({
|
|
|
9970
9959
|
"aria-disabled": disabled || undefined,
|
|
9971
9960
|
className: getTreeNodeClasses({ disabled, className }),
|
|
9972
9961
|
children: [
|
|
9973
|
-
checkable ? /* @__PURE__ */
|
|
9962
|
+
checkable ? /* @__PURE__ */ jsx59("input", {
|
|
9974
9963
|
type: "checkbox",
|
|
9975
9964
|
className: treeNodeCheckboxClass,
|
|
9976
9965
|
disabled,
|
|
9977
9966
|
readOnly: true
|
|
9978
9967
|
}) : null,
|
|
9979
|
-
hasNode5(icon) ? /* @__PURE__ */
|
|
9968
|
+
hasNode5(icon) ? /* @__PURE__ */ jsx59("span", {
|
|
9980
9969
|
className: treeNodeIconClass,
|
|
9981
9970
|
children: icon
|
|
9982
9971
|
}) : null,
|
|
9983
|
-
/* @__PURE__ */
|
|
9972
|
+
/* @__PURE__ */ jsx59("span", {
|
|
9984
9973
|
className: treeNodeTitleClass,
|
|
9985
9974
|
children: title
|
|
9986
9975
|
}),
|
|
@@ -10159,7 +10148,7 @@ function TreeRoot({
|
|
|
10159
10148
|
style: { paddingInlineStart: item.level * 16 },
|
|
10160
10149
|
draggable: nodeDraggable,
|
|
10161
10150
|
children: [
|
|
10162
|
-
/* @__PURE__ */
|
|
10151
|
+
/* @__PURE__ */ jsx59("button", {
|
|
10163
10152
|
type: "button",
|
|
10164
10153
|
"aria-label": expanded ? `Collapse ${item.keyString}` : `Expand ${item.keyString}`,
|
|
10165
10154
|
className: treeNodeSwitcherClass,
|
|
@@ -10170,7 +10159,7 @@ function TreeRoot({
|
|
|
10170
10159
|
},
|
|
10171
10160
|
children: expandable ? expanded ? "v" : ">" : showLine ? "-" : ""
|
|
10172
10161
|
}),
|
|
10173
|
-
nodeCheckable ? /* @__PURE__ */
|
|
10162
|
+
nodeCheckable ? /* @__PURE__ */ jsx59("input", {
|
|
10174
10163
|
type: "checkbox",
|
|
10175
10164
|
className: treeNodeCheckboxClass,
|
|
10176
10165
|
"aria-label": `Check ${item.keyString}`,
|
|
@@ -10179,17 +10168,17 @@ function TreeRoot({
|
|
|
10179
10168
|
onChange: (event) => checkNode(item, event),
|
|
10180
10169
|
onClick: (event) => event.stopPropagation()
|
|
10181
10170
|
}) : null,
|
|
10182
|
-
showIcon && hasNode5(item.node.icon) ? /* @__PURE__ */
|
|
10171
|
+
showIcon && hasNode5(item.node.icon) ? /* @__PURE__ */ jsx59("span", {
|
|
10183
10172
|
className: treeNodeIconClass,
|
|
10184
10173
|
children: item.node.icon
|
|
10185
10174
|
}) : null,
|
|
10186
|
-
/* @__PURE__ */
|
|
10175
|
+
/* @__PURE__ */ jsx59("span", {
|
|
10187
10176
|
className: treeNodeTitleClass,
|
|
10188
10177
|
children: title
|
|
10189
10178
|
})
|
|
10190
10179
|
]
|
|
10191
10180
|
}),
|
|
10192
|
-
expanded && item.children.length > 0 ? /* @__PURE__ */
|
|
10181
|
+
expanded && item.children.length > 0 ? /* @__PURE__ */ jsx59("ul", {
|
|
10193
10182
|
className: treeNodeChildrenClass,
|
|
10194
10183
|
role: "group",
|
|
10195
10184
|
children: item.children.map(renderNode)
|
|
@@ -10197,7 +10186,7 @@ function TreeRoot({
|
|
|
10197
10186
|
]
|
|
10198
10187
|
}, item.keyString);
|
|
10199
10188
|
}
|
|
10200
|
-
return /* @__PURE__ */
|
|
10189
|
+
return /* @__PURE__ */ jsx59("div", {
|
|
10201
10190
|
...props,
|
|
10202
10191
|
ref,
|
|
10203
10192
|
className: getTreeClasses({
|
|
@@ -10209,7 +10198,7 @@ function TreeRoot({
|
|
|
10209
10198
|
}),
|
|
10210
10199
|
role: "tree",
|
|
10211
10200
|
"aria-multiselectable": multiple || undefined,
|
|
10212
|
-
children: /* @__PURE__ */
|
|
10201
|
+
children: /* @__PURE__ */ jsx59("ul", {
|
|
10213
10202
|
className: treeListClass,
|
|
10214
10203
|
children: flatRoots.map(renderNode)
|
|
10215
10204
|
})
|
|
@@ -10217,7 +10206,7 @@ function TreeRoot({
|
|
|
10217
10206
|
}
|
|
10218
10207
|
var TreeBase = forwardRef47(TreeRoot);
|
|
10219
10208
|
function DirectoryTreeRoot({ className, multiple = true, ...props }, ref) {
|
|
10220
|
-
return /* @__PURE__ */
|
|
10209
|
+
return /* @__PURE__ */ jsx59(TreeBase, {
|
|
10221
10210
|
...props,
|
|
10222
10211
|
ref,
|
|
10223
10212
|
multiple,
|
|
@@ -10231,7 +10220,7 @@ Tree.TreeNode = TreeNodeComponent;
|
|
|
10231
10220
|
Tree.DirectoryTree = DirectoryTree;
|
|
10232
10221
|
Tree.displayName = "Tree";
|
|
10233
10222
|
// src/components/dm-tree/DmTree.tsx
|
|
10234
|
-
import { jsx as
|
|
10223
|
+
import { jsx as jsx60, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
10235
10224
|
var defaultFieldNames2 = {
|
|
10236
10225
|
title: "title",
|
|
10237
10226
|
key: "key",
|
|
@@ -10414,13 +10403,13 @@ function CommonDmTree({
|
|
|
10414
10403
|
const source = node.data ?? node;
|
|
10415
10404
|
const titleField = fieldName(fieldNames, "title");
|
|
10416
10405
|
const title = source[titleField] ?? source.title;
|
|
10417
|
-
const actions = typeof itemToolbar === "function" ? itemToolbar(source) : Array.isArray(itemToolbar) ? /* @__PURE__ */
|
|
10406
|
+
const actions = typeof itemToolbar === "function" ? itemToolbar(source) : Array.isArray(itemToolbar) ? /* @__PURE__ */ jsx60("span", {
|
|
10418
10407
|
className: getDmTreeItemToolbarClasses({
|
|
10419
10408
|
alwaysShow: itemToolbarAlwaysShow
|
|
10420
10409
|
}),
|
|
10421
10410
|
children: itemToolbar.filter((action) => shouldShowAction(action, source)).map((action, index) => {
|
|
10422
10411
|
const disabled = isActionDisabled(action, source);
|
|
10423
|
-
return /* @__PURE__ */
|
|
10412
|
+
return /* @__PURE__ */ jsx60("button", {
|
|
10424
10413
|
type: "button",
|
|
10425
10414
|
className: dmTreeItemToolbarClass,
|
|
10426
10415
|
"aria-label": action.title,
|
|
@@ -10438,11 +10427,11 @@ function CommonDmTree({
|
|
|
10438
10427
|
return /* @__PURE__ */ jsxs44("span", {
|
|
10439
10428
|
className: dmTreeNodeTitleClass,
|
|
10440
10429
|
children: [
|
|
10441
|
-
beforeIcon ? /* @__PURE__ */
|
|
10430
|
+
beforeIcon ? /* @__PURE__ */ jsx60("span", {
|
|
10442
10431
|
className: dmTreeNodePrefixClass,
|
|
10443
10432
|
children: typeof beforeIcon === "function" ? beforeIcon(source) : beforeIcon
|
|
10444
10433
|
}) : null,
|
|
10445
|
-
/* @__PURE__ */
|
|
10434
|
+
/* @__PURE__ */ jsx60("span", {
|
|
10446
10435
|
style: { minWidth: cssSize(minNodeWidth) },
|
|
10447
10436
|
children: title
|
|
10448
10437
|
}),
|
|
@@ -10450,25 +10439,25 @@ function CommonDmTree({
|
|
|
10450
10439
|
]
|
|
10451
10440
|
});
|
|
10452
10441
|
}
|
|
10453
|
-
return /* @__PURE__ */
|
|
10442
|
+
return /* @__PURE__ */ jsx60("div", {
|
|
10454
10443
|
className: getDmTreeClasses({ autoWidth, className }),
|
|
10455
10444
|
style: { width: mergedWidth, height: "100%", ...style },
|
|
10456
10445
|
children: /* @__PURE__ */ jsxs44("div", {
|
|
10457
10446
|
className: dmTreeContentClass,
|
|
10458
10447
|
children: [
|
|
10459
|
-
customTopToolbar ? /* @__PURE__ */
|
|
10448
|
+
customTopToolbar ? /* @__PURE__ */ jsx60("div", {
|
|
10460
10449
|
className: dmTreeToolbarClass,
|
|
10461
10450
|
children: customTopToolbar
|
|
10462
10451
|
}) : null,
|
|
10463
|
-
buttonTopToolbar ? /* @__PURE__ */
|
|
10452
|
+
buttonTopToolbar ? /* @__PURE__ */ jsx60("div", {
|
|
10464
10453
|
className: dmTreeToolbarClass,
|
|
10465
10454
|
children: renderToolbar2(buttonTopToolbar, selectedKey, selectedItem)
|
|
10466
10455
|
}) : null,
|
|
10467
|
-
iconTopToolbar ? /* @__PURE__ */
|
|
10456
|
+
iconTopToolbar ? /* @__PURE__ */ jsx60("div", {
|
|
10468
10457
|
className: dmTreeIconToolbarClass,
|
|
10469
10458
|
children: renderToolbar2(iconTopToolbar, selectedKey, selectedItem)
|
|
10470
10459
|
}) : null,
|
|
10471
|
-
showAll ? /* @__PURE__ */
|
|
10460
|
+
showAll ? /* @__PURE__ */ jsx60("button", {
|
|
10472
10461
|
type: "button",
|
|
10473
10462
|
className: getDmTreeAllButtonClasses({
|
|
10474
10463
|
selected: selectedKey === allItem.value
|
|
@@ -10476,20 +10465,20 @@ function CommonDmTree({
|
|
|
10476
10465
|
onClick: () => onChange?.(undefined, allItem.value, selectedKey),
|
|
10477
10466
|
children: allItem.label
|
|
10478
10467
|
}) : null,
|
|
10479
|
-
showSearch ? /* @__PURE__ */
|
|
10468
|
+
showSearch ? /* @__PURE__ */ jsx60("div", {
|
|
10480
10469
|
className: dmTreeSearchClass,
|
|
10481
|
-
children: /* @__PURE__ */
|
|
10470
|
+
children: /* @__PURE__ */ jsx60(Input, {
|
|
10482
10471
|
allowClear: true,
|
|
10483
10472
|
placeholder: searchPlaceholder,
|
|
10484
10473
|
value: searchValue,
|
|
10485
10474
|
onChange: handleSearch
|
|
10486
10475
|
})
|
|
10487
10476
|
}) : null,
|
|
10488
|
-
/* @__PURE__ */
|
|
10477
|
+
/* @__PURE__ */ jsx60("div", {
|
|
10489
10478
|
className: dmTreeBodyClass,
|
|
10490
|
-
children: loading ? /* @__PURE__ */
|
|
10479
|
+
children: loading ? /* @__PURE__ */ jsx60(DmStatus, {
|
|
10491
10480
|
status: "loading"
|
|
10492
|
-
}) : normalizedTree.length > 0 ? /* @__PURE__ */
|
|
10481
|
+
}) : normalizedTree.length > 0 ? /* @__PURE__ */ jsx60(Tree, {
|
|
10493
10482
|
...treeProps,
|
|
10494
10483
|
treeData: normalizedTree,
|
|
10495
10484
|
selectedKeys: selectedKey === undefined ? [] : [selectedKey],
|
|
@@ -10502,7 +10491,7 @@ function CommonDmTree({
|
|
|
10502
10491
|
setInternalExpandedKeys(keys);
|
|
10503
10492
|
onExpand?.(keys, info);
|
|
10504
10493
|
}
|
|
10505
|
-
}) : emptyNode ?? /* @__PURE__ */
|
|
10494
|
+
}) : emptyNode ?? /* @__PURE__ */ jsx60(DmStatus, {
|
|
10506
10495
|
status: "empty"
|
|
10507
10496
|
})
|
|
10508
10497
|
})
|
|
@@ -10527,7 +10516,7 @@ function OptionDmTree(props) {
|
|
|
10527
10516
|
const tabItems = items.map(({ TreeSetting, key, ...item }) => ({
|
|
10528
10517
|
...item,
|
|
10529
10518
|
key,
|
|
10530
|
-
children: /* @__PURE__ */
|
|
10519
|
+
children: /* @__PURE__ */ jsx60(CommonDmTree, {
|
|
10531
10520
|
...TreeSetting,
|
|
10532
10521
|
minNodeWidth: TreeSetting.minNodeWidth ?? minNodeWidth,
|
|
10533
10522
|
onChange: (node, selected, before) => {
|
|
@@ -10542,11 +10531,11 @@ function OptionDmTree(props) {
|
|
|
10542
10531
|
}
|
|
10543
10532
|
})
|
|
10544
10533
|
}));
|
|
10545
|
-
return /* @__PURE__ */
|
|
10534
|
+
return /* @__PURE__ */ jsx60("div", {
|
|
10546
10535
|
...rest,
|
|
10547
10536
|
className: getDmTreeClasses({ optionTree: true, className }),
|
|
10548
10537
|
style: { width: cssSize(width) ?? "100%", height: "100%", ...style },
|
|
10549
|
-
children: /* @__PURE__ */
|
|
10538
|
+
children: /* @__PURE__ */ jsx60(DmTabs, {
|
|
10550
10539
|
centered: true,
|
|
10551
10540
|
optionTree: true,
|
|
10552
10541
|
type: "line",
|
|
@@ -10559,7 +10548,7 @@ function OptionDmTree(props) {
|
|
|
10559
10548
|
}
|
|
10560
10549
|
var DmTree = (props) => {
|
|
10561
10550
|
if ("isTabTree" in props && props.isTabTree) {
|
|
10562
|
-
return /* @__PURE__ */
|
|
10551
|
+
return /* @__PURE__ */ jsx60(OptionDmTree, {
|
|
10563
10552
|
...props
|
|
10564
10553
|
});
|
|
10565
10554
|
}
|
|
@@ -10627,7 +10616,7 @@ function getTooltipClasses({
|
|
|
10627
10616
|
}
|
|
10628
10617
|
|
|
10629
10618
|
// src/components/tooltip/Tooltip.tsx
|
|
10630
|
-
import { jsx as
|
|
10619
|
+
import { jsx as jsx61, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
10631
10620
|
var Tooltip = forwardRef48(({
|
|
10632
10621
|
title,
|
|
10633
10622
|
placement = "top",
|
|
@@ -10690,7 +10679,7 @@ var Tooltip = forwardRef48(({
|
|
|
10690
10679
|
}),
|
|
10691
10680
|
children: [
|
|
10692
10681
|
title,
|
|
10693
|
-
arrow ? /* @__PURE__ */
|
|
10682
|
+
arrow ? /* @__PURE__ */ jsx61("span", {
|
|
10694
10683
|
className: tooltipArrowClass
|
|
10695
10684
|
}) : null
|
|
10696
10685
|
]
|
|
@@ -10700,7 +10689,7 @@ var Tooltip = forwardRef48(({
|
|
|
10700
10689
|
});
|
|
10701
10690
|
Tooltip.displayName = "Tooltip";
|
|
10702
10691
|
// src/components/dm-truncate/DmTruncate.tsx
|
|
10703
|
-
import { jsx as
|
|
10692
|
+
import { jsx as jsx62, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
10704
10693
|
function toPlainText(value) {
|
|
10705
10694
|
if (typeof value === "string" || typeof value === "number") {
|
|
10706
10695
|
return String(value);
|
|
@@ -10850,7 +10839,7 @@ var DmTruncate = forwardRef49(({
|
|
|
10850
10839
|
ref.current = node;
|
|
10851
10840
|
}
|
|
10852
10841
|
}
|
|
10853
|
-
const textNode = /* @__PURE__ */
|
|
10842
|
+
const textNode = /* @__PURE__ */ jsx62("span", {
|
|
10854
10843
|
ref: textRef,
|
|
10855
10844
|
className: getDmTruncateTextClasses({
|
|
10856
10845
|
multiline,
|
|
@@ -10860,7 +10849,7 @@ var DmTruncate = forwardRef49(({
|
|
|
10860
10849
|
style: textClampStyle,
|
|
10861
10850
|
children: displayValue
|
|
10862
10851
|
});
|
|
10863
|
-
return /* @__PURE__ */
|
|
10852
|
+
return /* @__PURE__ */ jsx62("div", {
|
|
10864
10853
|
...props,
|
|
10865
10854
|
ref: setRefs,
|
|
10866
10855
|
className: getDmTruncateClasses(className),
|
|
@@ -10868,13 +10857,13 @@ var DmTruncate = forwardRef49(({
|
|
|
10868
10857
|
children: /* @__PURE__ */ jsxs46("span", {
|
|
10869
10858
|
className: dmTruncateContentClass,
|
|
10870
10859
|
children: [
|
|
10871
|
-
!showOverflowTag && shouldShowPopover ? /* @__PURE__ */
|
|
10860
|
+
!showOverflowTag && shouldShowPopover ? /* @__PURE__ */ jsx62(Tooltip, {
|
|
10872
10861
|
title: popoverContent,
|
|
10873
10862
|
placement: "bottom",
|
|
10874
10863
|
...tooltipProps,
|
|
10875
10864
|
children: textNode
|
|
10876
10865
|
}) : textNode,
|
|
10877
|
-
/* @__PURE__ */
|
|
10866
|
+
/* @__PURE__ */ jsx62("span", {
|
|
10878
10867
|
ref: measureRef,
|
|
10879
10868
|
"aria-hidden": "true",
|
|
10880
10869
|
className: dmTruncateMeasureClass,
|
|
@@ -10887,18 +10876,18 @@ var DmTruncate = forwardRef49(({
|
|
|
10887
10876
|
},
|
|
10888
10877
|
children: textValue
|
|
10889
10878
|
}),
|
|
10890
|
-
showOverflowTag && shouldShowPopover ? /* @__PURE__ */
|
|
10879
|
+
showOverflowTag && shouldShowPopover ? /* @__PURE__ */ jsx62(Tooltip, {
|
|
10891
10880
|
title: popoverContent,
|
|
10892
10881
|
placement: "bottom",
|
|
10893
10882
|
...tooltipProps,
|
|
10894
|
-
children: /* @__PURE__ */
|
|
10883
|
+
children: /* @__PURE__ */ jsx62("span", {
|
|
10895
10884
|
"aria-label": "Text overflow",
|
|
10896
10885
|
role: "img",
|
|
10897
10886
|
className: dmTruncateOverflowTagClass,
|
|
10898
10887
|
children: "!"
|
|
10899
10888
|
})
|
|
10900
10889
|
}) : null,
|
|
10901
|
-
copyable && hasText ? /* @__PURE__ */
|
|
10890
|
+
copyable && hasText ? /* @__PURE__ */ jsx62("button", {
|
|
10902
10891
|
type: "button",
|
|
10903
10892
|
className: cn(dmTruncateCopyClass, "btn btn-text btn-xs"),
|
|
10904
10893
|
"aria-label": copied ? "Copied" : "Copy",
|
|
@@ -10926,7 +10915,7 @@ function getFlexClasses({
|
|
|
10926
10915
|
}
|
|
10927
10916
|
|
|
10928
10917
|
// src/components/flex/Flex.tsx
|
|
10929
|
-
import { jsx as
|
|
10918
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
10930
10919
|
var gapMap = {
|
|
10931
10920
|
small: 8,
|
|
10932
10921
|
middle: 16,
|
|
@@ -10969,7 +10958,7 @@ var Flex = forwardRef50(({
|
|
|
10969
10958
|
...props
|
|
10970
10959
|
}, ref) => {
|
|
10971
10960
|
const resolvedGap = resolveGap(gap);
|
|
10972
|
-
return /* @__PURE__ */
|
|
10961
|
+
return /* @__PURE__ */ jsx63(Component, {
|
|
10973
10962
|
...props,
|
|
10974
10963
|
ref,
|
|
10975
10964
|
className: getFlexClasses({ vertical, wrap, className }),
|
|
@@ -11038,7 +11027,7 @@ function getFloatButtonBackTopClasses({
|
|
|
11038
11027
|
}
|
|
11039
11028
|
|
|
11040
11029
|
// src/components/float-button/FloatButton.tsx
|
|
11041
|
-
import { jsx as
|
|
11030
|
+
import { jsx as jsx64, jsxs as jsxs47, Fragment as Fragment11 } from "react/jsx-runtime";
|
|
11042
11031
|
var FloatButtonGroupContext = createContext5({});
|
|
11043
11032
|
function isTooltipConfig(tooltip) {
|
|
11044
11033
|
return typeof tooltip === "object" && tooltip !== null && !React57.isValidElement(tooltip) && "title" in tooltip;
|
|
@@ -11056,7 +11045,7 @@ function renderBadge(badge) {
|
|
|
11056
11045
|
const visible = badge.dot || count !== undefined;
|
|
11057
11046
|
if (!visible)
|
|
11058
11047
|
return null;
|
|
11059
|
-
return /* @__PURE__ */
|
|
11048
|
+
return /* @__PURE__ */ jsx64("span", {
|
|
11060
11049
|
className: cn(floatButtonBadgeClass, "badge badge-error absolute -right-1 -top-1", badge.dot && "badge-dot h-2 min-h-2 w-2 min-w-2 rounded-full p-0"),
|
|
11061
11050
|
style: badge.color ? { backgroundColor: badge.color } : undefined,
|
|
11062
11051
|
"aria-hidden": badge.dot ? true : undefined,
|
|
@@ -11101,11 +11090,11 @@ var InternalFloatButton = forwardRef51(({
|
|
|
11101
11090
|
const tooltipConfig = getTooltip(tooltip);
|
|
11102
11091
|
const content = /* @__PURE__ */ jsxs47(Fragment11, {
|
|
11103
11092
|
children: [
|
|
11104
|
-
icon ? /* @__PURE__ */
|
|
11093
|
+
icon ? /* @__PURE__ */ jsx64("span", {
|
|
11105
11094
|
className: floatButtonIconClass,
|
|
11106
11095
|
children: icon
|
|
11107
11096
|
}) : null,
|
|
11108
|
-
description ? /* @__PURE__ */
|
|
11097
|
+
description ? /* @__PURE__ */ jsx64("span", {
|
|
11109
11098
|
className: floatButtonDescriptionClass,
|
|
11110
11099
|
children: description
|
|
11111
11100
|
}) : null,
|
|
@@ -11119,7 +11108,7 @@ var InternalFloatButton = forwardRef51(({
|
|
|
11119
11108
|
hasDescription: Boolean(description),
|
|
11120
11109
|
className
|
|
11121
11110
|
});
|
|
11122
|
-
const tooltipNode = tooltipConfig?.title ? /* @__PURE__ */
|
|
11111
|
+
const tooltipNode = tooltipConfig?.title ? /* @__PURE__ */ jsx64("span", {
|
|
11123
11112
|
role: "tooltip",
|
|
11124
11113
|
className: cn(floatButtonTooltipClass, "tooltip tooltip-show", tooltipConfig.placement && `tooltip-${tooltipConfig.placement}`),
|
|
11125
11114
|
children: tooltipConfig.title
|
|
@@ -11176,7 +11165,7 @@ var FloatButtonGroup = forwardRef51(({
|
|
|
11176
11165
|
const isControlled = open3 !== undefined;
|
|
11177
11166
|
const [internalOpen, setInternalOpen] = useState40(trigger ? false : true);
|
|
11178
11167
|
const visible = isControlled ? open3 : internalOpen;
|
|
11179
|
-
return /* @__PURE__ */
|
|
11168
|
+
return /* @__PURE__ */ jsx64(FloatButtonGroupContext.Provider, {
|
|
11180
11169
|
value: { shape },
|
|
11181
11170
|
children: /* @__PURE__ */ jsxs47("div", {
|
|
11182
11171
|
...props,
|
|
@@ -11200,7 +11189,7 @@ var FloatButtonGroup = forwardRef51(({
|
|
|
11200
11189
|
},
|
|
11201
11190
|
children: [
|
|
11202
11191
|
visible ? children : null,
|
|
11203
|
-
trigger === "click" ? /* @__PURE__ */
|
|
11192
|
+
trigger === "click" ? /* @__PURE__ */ jsx64("button", {
|
|
11204
11193
|
type: "button",
|
|
11205
11194
|
className: "float-button-group-trigger",
|
|
11206
11195
|
"aria-expanded": visible,
|
|
@@ -11244,7 +11233,7 @@ var FloatButtonBackTop = forwardRef51(({
|
|
|
11244
11233
|
scrollTarget.addEventListener("scroll", updateVisible);
|
|
11245
11234
|
return () => scrollTarget.removeEventListener("scroll", updateVisible);
|
|
11246
11235
|
}, [target, visibilityHeight]);
|
|
11247
|
-
return /* @__PURE__ */
|
|
11236
|
+
return /* @__PURE__ */ jsx64(InternalFloatButton, {
|
|
11248
11237
|
...props,
|
|
11249
11238
|
ref,
|
|
11250
11239
|
icon,
|
|
@@ -11308,7 +11297,7 @@ function getFormItemClasses({
|
|
|
11308
11297
|
}
|
|
11309
11298
|
|
|
11310
11299
|
// src/components/form/Form.tsx
|
|
11311
|
-
import { jsx as
|
|
11300
|
+
import { jsx as jsx65, jsxs as jsxs48, Fragment as Fragment12 } from "react/jsx-runtime";
|
|
11312
11301
|
function nameKey(name) {
|
|
11313
11302
|
return Array.isArray(name) ? name.join(".") : String(name);
|
|
11314
11303
|
}
|
|
@@ -11525,9 +11514,9 @@ var FormBase = forwardRef52(({
|
|
|
11525
11514
|
setFieldError,
|
|
11526
11515
|
wrapperCol
|
|
11527
11516
|
]);
|
|
11528
|
-
return /* @__PURE__ */
|
|
11517
|
+
return /* @__PURE__ */ jsx65(FormContext.Provider, {
|
|
11529
11518
|
value: contextValue,
|
|
11530
|
-
children: /* @__PURE__ */
|
|
11519
|
+
children: /* @__PURE__ */ jsx65("form", {
|
|
11531
11520
|
...props,
|
|
11532
11521
|
name,
|
|
11533
11522
|
className: getFormClasses({ layout, disabled, className }),
|
|
@@ -11588,7 +11577,7 @@ var FormItem = forwardRef52(({
|
|
|
11588
11577
|
});
|
|
11589
11578
|
}
|
|
11590
11579
|
if (noStyle) {
|
|
11591
|
-
return /* @__PURE__ */
|
|
11580
|
+
return /* @__PURE__ */ jsx65(Fragment12, {
|
|
11592
11581
|
children: renderControl()
|
|
11593
11582
|
});
|
|
11594
11583
|
}
|
|
@@ -11601,21 +11590,21 @@ var FormItem = forwardRef52(({
|
|
|
11601
11590
|
className
|
|
11602
11591
|
}),
|
|
11603
11592
|
children: [
|
|
11604
|
-
label ? /* @__PURE__ */
|
|
11593
|
+
label ? /* @__PURE__ */ jsx65("label", {
|
|
11605
11594
|
className: formItemLabelClass,
|
|
11606
11595
|
children: label
|
|
11607
11596
|
}) : null,
|
|
11608
|
-
/* @__PURE__ */
|
|
11597
|
+
/* @__PURE__ */ jsx65("div", {
|
|
11609
11598
|
className: formItemControlClass,
|
|
11610
11599
|
children: renderControl()
|
|
11611
11600
|
}),
|
|
11612
|
-
extra ? /* @__PURE__ */
|
|
11601
|
+
extra ? /* @__PURE__ */ jsx65("div", {
|
|
11613
11602
|
className: formItemExtraClass,
|
|
11614
11603
|
children: extra
|
|
11615
11604
|
}) : null,
|
|
11616
|
-
help || fieldErrors.length > 0 ? /* @__PURE__ */
|
|
11605
|
+
help || fieldErrors.length > 0 ? /* @__PURE__ */ jsx65("div", {
|
|
11617
11606
|
className: formItemHelpClass,
|
|
11618
|
-
children: help ?? fieldErrors.map((error, index) => /* @__PURE__ */
|
|
11607
|
+
children: help ?? fieldErrors.map((error, index) => /* @__PURE__ */ jsx65("div", {
|
|
11619
11608
|
children: error
|
|
11620
11609
|
}, index))
|
|
11621
11610
|
}) : null
|
|
@@ -11635,7 +11624,7 @@ function FormList({ name, initialValue = [], children }) {
|
|
|
11635
11624
|
function setList(next) {
|
|
11636
11625
|
form.setFieldValue(name, next);
|
|
11637
11626
|
}
|
|
11638
|
-
return /* @__PURE__ */
|
|
11627
|
+
return /* @__PURE__ */ jsx65("div", {
|
|
11639
11628
|
className: formListClass,
|
|
11640
11629
|
children: children(fields, {
|
|
11641
11630
|
add: (defaultValue, insertIndex = list.length) => {
|
|
@@ -11656,17 +11645,17 @@ function FormList({ name, initialValue = [], children }) {
|
|
|
11656
11645
|
}, { errors: [] })
|
|
11657
11646
|
});
|
|
11658
11647
|
}
|
|
11659
|
-
var ErrorList = forwardRef52(({ errors = [], className, ...props }, ref) => /* @__PURE__ */
|
|
11648
|
+
var ErrorList = forwardRef52(({ errors = [], className, ...props }, ref) => /* @__PURE__ */ jsx65("div", {
|
|
11660
11649
|
...props,
|
|
11661
11650
|
ref,
|
|
11662
11651
|
className: [formErrorListClass, className].filter(Boolean).join(" "),
|
|
11663
|
-
children: errors.map((error, index) => /* @__PURE__ */
|
|
11652
|
+
children: errors.map((error, index) => /* @__PURE__ */ jsx65("div", {
|
|
11664
11653
|
children: error
|
|
11665
11654
|
}, index))
|
|
11666
11655
|
}));
|
|
11667
11656
|
ErrorList.displayName = "Form.ErrorList";
|
|
11668
11657
|
function FormProvider({ children }) {
|
|
11669
|
-
return /* @__PURE__ */
|
|
11658
|
+
return /* @__PURE__ */ jsx65(ProviderContext.Provider, {
|
|
11670
11659
|
value: {},
|
|
11671
11660
|
children
|
|
11672
11661
|
});
|
|
@@ -11806,7 +11795,7 @@ function getImagePreviewGroupClasses({
|
|
|
11806
11795
|
}
|
|
11807
11796
|
|
|
11808
11797
|
// src/components/image/Image.tsx
|
|
11809
|
-
import { jsx as
|
|
11798
|
+
import { jsx as jsx66, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
11810
11799
|
function previewEnabled(preview) {
|
|
11811
11800
|
return preview !== false;
|
|
11812
11801
|
}
|
|
@@ -11817,7 +11806,7 @@ function renderPlaceholder(placeholder) {
|
|
|
11817
11806
|
if (placeholder === false || placeholder === undefined || placeholder === null) {
|
|
11818
11807
|
return null;
|
|
11819
11808
|
}
|
|
11820
|
-
return /* @__PURE__ */
|
|
11809
|
+
return /* @__PURE__ */ jsx66("span", {
|
|
11821
11810
|
className: imagePlaceholderClass,
|
|
11822
11811
|
children: placeholder === true ? null : placeholder
|
|
11823
11812
|
});
|
|
@@ -11882,7 +11871,7 @@ var ImageBase = forwardRef53(({
|
|
|
11882
11871
|
"data-preview-enabled": isPreviewEnabled || undefined,
|
|
11883
11872
|
"data-preview-visible": previewVisible || undefined,
|
|
11884
11873
|
children: [
|
|
11885
|
-
hasImage ? /* @__PURE__ */
|
|
11874
|
+
hasImage ? /* @__PURE__ */ jsx66("img", {
|
|
11886
11875
|
...imgProps,
|
|
11887
11876
|
src: currentSrc,
|
|
11888
11877
|
alt,
|
|
@@ -11893,14 +11882,14 @@ var ImageBase = forwardRef53(({
|
|
|
11893
11882
|
onError: handleError
|
|
11894
11883
|
}) : null,
|
|
11895
11884
|
!hasImage || loading ? renderPlaceholder(placeholder) : null,
|
|
11896
|
-
isPreviewEnabled && hasImage && !failed ? /* @__PURE__ */
|
|
11885
|
+
isPreviewEnabled && hasImage && !failed ? /* @__PURE__ */ jsx66("button", {
|
|
11897
11886
|
type: "button",
|
|
11898
11887
|
className: imagePreviewMaskClass,
|
|
11899
11888
|
"aria-label": "Preview image",
|
|
11900
11889
|
onClick: () => setPreviewVisible(!previewVisible),
|
|
11901
11890
|
children: config2.mask
|
|
11902
11891
|
}) : null,
|
|
11903
|
-
previewVisible && isPreviewEnabled ? /* @__PURE__ */
|
|
11892
|
+
previewVisible && isPreviewEnabled ? /* @__PURE__ */ jsx66("img", {
|
|
11904
11893
|
src: config2.src ?? currentSrc,
|
|
11905
11894
|
alt,
|
|
11906
11895
|
className: cn(imageImgClass, "image-preview-img"),
|
|
@@ -11910,7 +11899,7 @@ var ImageBase = forwardRef53(({
|
|
|
11910
11899
|
});
|
|
11911
11900
|
});
|
|
11912
11901
|
ImageBase.displayName = "Image";
|
|
11913
|
-
var PreviewGroup = forwardRef53(({ preview = true, className, children, ...props }, ref) => /* @__PURE__ */
|
|
11902
|
+
var PreviewGroup = forwardRef53(({ preview = true, className, children, ...props }, ref) => /* @__PURE__ */ jsx66("div", {
|
|
11914
11903
|
...props,
|
|
11915
11904
|
ref,
|
|
11916
11905
|
className: getImagePreviewGroupClasses({ className }),
|
|
@@ -11949,7 +11938,7 @@ function getInputNumberClasses({
|
|
|
11949
11938
|
}
|
|
11950
11939
|
|
|
11951
11940
|
// src/components/input-number/InputNumber.tsx
|
|
11952
|
-
import { jsx as
|
|
11941
|
+
import { jsx as jsx67, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
11953
11942
|
function clamp2(value, min, max) {
|
|
11954
11943
|
const withMin = min === undefined ? value : Math.max(min, value);
|
|
11955
11944
|
return max === undefined ? withMin : Math.min(max, withMin);
|
|
@@ -12018,7 +12007,7 @@ var InputNumber = forwardRef54(({
|
|
|
12018
12007
|
className
|
|
12019
12008
|
}),
|
|
12020
12009
|
children: [
|
|
12021
|
-
/* @__PURE__ */
|
|
12010
|
+
/* @__PURE__ */ jsx67("input", {
|
|
12022
12011
|
...props,
|
|
12023
12012
|
ref,
|
|
12024
12013
|
type: "text",
|
|
@@ -12044,7 +12033,7 @@ var InputNumber = forwardRef54(({
|
|
|
12044
12033
|
controls ? /* @__PURE__ */ jsxs50("span", {
|
|
12045
12034
|
className: inputNumberControlsClass,
|
|
12046
12035
|
children: [
|
|
12047
|
-
/* @__PURE__ */
|
|
12036
|
+
/* @__PURE__ */ jsx67("button", {
|
|
12048
12037
|
type: "button",
|
|
12049
12038
|
className: inputNumberControlClass,
|
|
12050
12039
|
disabled: disabled || max !== undefined && Number(currentValue) >= max,
|
|
@@ -12052,7 +12041,7 @@ var InputNumber = forwardRef54(({
|
|
|
12052
12041
|
onClick: () => stepValue("up"),
|
|
12053
12042
|
children: "+"
|
|
12054
12043
|
}),
|
|
12055
|
-
/* @__PURE__ */
|
|
12044
|
+
/* @__PURE__ */ jsx67("button", {
|
|
12056
12045
|
type: "button",
|
|
12057
12046
|
className: inputNumberControlClass,
|
|
12058
12047
|
disabled: disabled || min !== undefined && Number(currentValue) <= min,
|
|
@@ -12101,7 +12090,7 @@ function getListItemClasses({
|
|
|
12101
12090
|
}
|
|
12102
12091
|
|
|
12103
12092
|
// src/components/list/List.tsx
|
|
12104
|
-
import { jsx as
|
|
12093
|
+
import { jsx as jsx68, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
12105
12094
|
function hasNode6(node) {
|
|
12106
12095
|
return node !== undefined && node !== null && node !== false;
|
|
12107
12096
|
}
|
|
@@ -12114,10 +12103,10 @@ function ListRoot({
|
|
|
12114
12103
|
className,
|
|
12115
12104
|
...props
|
|
12116
12105
|
}, ref) {
|
|
12117
|
-
const renderedItems = dataSource && renderItem ? dataSource.map((item, index) => /* @__PURE__ */
|
|
12106
|
+
const renderedItems = dataSource && renderItem ? dataSource.map((item, index) => /* @__PURE__ */ jsx68(React61.Fragment, {
|
|
12118
12107
|
children: renderItem(item, index)
|
|
12119
12108
|
}, index)) : children;
|
|
12120
|
-
return /* @__PURE__ */
|
|
12109
|
+
return /* @__PURE__ */ jsx68("div", {
|
|
12121
12110
|
...props,
|
|
12122
12111
|
ref,
|
|
12123
12112
|
className: getListClasses({ bordered, size, className }),
|
|
@@ -12130,15 +12119,15 @@ var ListItemMeta = forwardRef55(({ avatar, title, description, className, childr
|
|
|
12130
12119
|
ref,
|
|
12131
12120
|
className: cn(listItemContentClass, className),
|
|
12132
12121
|
children: [
|
|
12133
|
-
avatar ? /* @__PURE__ */
|
|
12122
|
+
avatar ? /* @__PURE__ */ jsx68("div", {
|
|
12134
12123
|
className: listItemLeadingClass,
|
|
12135
12124
|
children: avatar
|
|
12136
12125
|
}) : null,
|
|
12137
|
-
hasNode6(title) ? /* @__PURE__ */
|
|
12126
|
+
hasNode6(title) ? /* @__PURE__ */ jsx68("div", {
|
|
12138
12127
|
className: listItemTextClass,
|
|
12139
12128
|
children: title
|
|
12140
12129
|
}) : null,
|
|
12141
|
-
hasNode6(description) ? /* @__PURE__ */
|
|
12130
|
+
hasNode6(description) ? /* @__PURE__ */ jsx68("div", {
|
|
12142
12131
|
className: listItemSecondaryClass,
|
|
12143
12132
|
children: description
|
|
12144
12133
|
}) : null,
|
|
@@ -12197,7 +12186,7 @@ var ListItemRoot = forwardRef55(({
|
|
|
12197
12186
|
onClick: handleClick,
|
|
12198
12187
|
onKeyDown: handleKeyDown,
|
|
12199
12188
|
children: [
|
|
12200
|
-
/* @__PURE__ */
|
|
12189
|
+
/* @__PURE__ */ jsx68("div", {
|
|
12201
12190
|
className: listItemContentClass,
|
|
12202
12191
|
children
|
|
12203
12192
|
}),
|
|
@@ -12252,7 +12241,7 @@ function getMentionsOptionClasses({
|
|
|
12252
12241
|
}
|
|
12253
12242
|
|
|
12254
12243
|
// src/components/mentions/Mentions.tsx
|
|
12255
|
-
import { jsx as
|
|
12244
|
+
import { jsx as jsx69, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
12256
12245
|
function optionLabel3(option) {
|
|
12257
12246
|
return option.label ?? option.value;
|
|
12258
12247
|
}
|
|
@@ -12310,7 +12299,7 @@ function filterOptions3(options, searchText, filterOption) {
|
|
|
12310
12299
|
}
|
|
12311
12300
|
return options.filter((option) => optionText2(option).toLowerCase().includes(query));
|
|
12312
12301
|
}
|
|
12313
|
-
var Option3 = forwardRef56(({ children, ...props }, ref) => /* @__PURE__ */
|
|
12302
|
+
var Option3 = forwardRef56(({ children, ...props }, ref) => /* @__PURE__ */ jsx69("div", {
|
|
12314
12303
|
...props,
|
|
12315
12304
|
ref,
|
|
12316
12305
|
children
|
|
@@ -12435,7 +12424,7 @@ var MentionsRoot = forwardRef56(({
|
|
|
12435
12424
|
}
|
|
12436
12425
|
function renderOption(option, index) {
|
|
12437
12426
|
const focused = index === activeIndex;
|
|
12438
|
-
return /* @__PURE__ */
|
|
12427
|
+
return /* @__PURE__ */ jsx69("button", {
|
|
12439
12428
|
type: "button",
|
|
12440
12429
|
id: `${listboxId}-option-${index}`,
|
|
12441
12430
|
role: "option",
|
|
@@ -12462,7 +12451,7 @@ var MentionsRoot = forwardRef56(({
|
|
|
12462
12451
|
className
|
|
12463
12452
|
}),
|
|
12464
12453
|
children: [
|
|
12465
|
-
/* @__PURE__ */
|
|
12454
|
+
/* @__PURE__ */ jsx69("textarea", {
|
|
12466
12455
|
...props,
|
|
12467
12456
|
ref: setTextareaRef,
|
|
12468
12457
|
role: "combobox",
|
|
@@ -12478,14 +12467,14 @@ var MentionsRoot = forwardRef56(({
|
|
|
12478
12467
|
onClick: handleClick,
|
|
12479
12468
|
onKeyDown: handleKeyDown
|
|
12480
12469
|
}),
|
|
12481
|
-
isOpen ? /* @__PURE__ */
|
|
12470
|
+
isOpen ? /* @__PURE__ */ jsx69("div", {
|
|
12482
12471
|
id: listboxId,
|
|
12483
12472
|
role: "listbox",
|
|
12484
12473
|
className: getMentionsDropdownClasses({ placement }),
|
|
12485
|
-
children: visibleOptions.length > 0 ? /* @__PURE__ */
|
|
12474
|
+
children: visibleOptions.length > 0 ? /* @__PURE__ */ jsx69("div", {
|
|
12486
12475
|
className: mentionsOptionsClass,
|
|
12487
12476
|
children: visibleOptions.map(renderOption)
|
|
12488
|
-
}) : notFoundContent != null ? /* @__PURE__ */
|
|
12477
|
+
}) : notFoundContent != null ? /* @__PURE__ */ jsx69("div", {
|
|
12489
12478
|
className: mentionsNoOptionsClass,
|
|
12490
12479
|
children: notFoundContent
|
|
12491
12480
|
}) : null
|
|
@@ -12527,7 +12516,7 @@ function getPopoverClasses({
|
|
|
12527
12516
|
}
|
|
12528
12517
|
|
|
12529
12518
|
// src/components/popover/Popover.tsx
|
|
12530
|
-
import { jsx as
|
|
12519
|
+
import { jsx as jsx70, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
12531
12520
|
function callHandler2(handler, event) {
|
|
12532
12521
|
handler?.(event);
|
|
12533
12522
|
}
|
|
@@ -12672,11 +12661,11 @@ var Popover = forwardRef57(({
|
|
|
12672
12661
|
className
|
|
12673
12662
|
}),
|
|
12674
12663
|
children: [
|
|
12675
|
-
title ? /* @__PURE__ */
|
|
12664
|
+
title ? /* @__PURE__ */ jsx70("strong", {
|
|
12676
12665
|
children: title
|
|
12677
12666
|
}) : null,
|
|
12678
12667
|
content ?? null,
|
|
12679
|
-
arrow ? /* @__PURE__ */
|
|
12668
|
+
arrow ? /* @__PURE__ */ jsx70("span", {
|
|
12680
12669
|
className: popoverArrowClass
|
|
12681
12670
|
}) : null
|
|
12682
12671
|
]
|
|
@@ -12728,7 +12717,7 @@ function getPopconfirmClasses({
|
|
|
12728
12717
|
}
|
|
12729
12718
|
|
|
12730
12719
|
// src/components/popconfirm/Popconfirm.tsx
|
|
12731
|
-
import { jsx as
|
|
12720
|
+
import { jsx as jsx71, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
12732
12721
|
function normalizeTriggers(trigger) {
|
|
12733
12722
|
return Array.isArray(trigger) ? trigger : [trigger ?? "click"];
|
|
12734
12723
|
}
|
|
@@ -12871,18 +12860,18 @@ var Popconfirm = forwardRef58(({
|
|
|
12871
12860
|
/* @__PURE__ */ jsxs54("span", {
|
|
12872
12861
|
className: popconfirmBodyClass,
|
|
12873
12862
|
children: [
|
|
12874
|
-
icon ? /* @__PURE__ */
|
|
12863
|
+
icon ? /* @__PURE__ */ jsx71("span", {
|
|
12875
12864
|
className: popconfirmIconClass,
|
|
12876
12865
|
children: icon
|
|
12877
12866
|
}) : null,
|
|
12878
12867
|
/* @__PURE__ */ jsxs54("span", {
|
|
12879
12868
|
className: popconfirmContentClass,
|
|
12880
12869
|
children: [
|
|
12881
|
-
title ? /* @__PURE__ */
|
|
12870
|
+
title ? /* @__PURE__ */ jsx71("span", {
|
|
12882
12871
|
className: popconfirmTitleClass,
|
|
12883
12872
|
children: title
|
|
12884
12873
|
}) : null,
|
|
12885
|
-
description ? /* @__PURE__ */
|
|
12874
|
+
description ? /* @__PURE__ */ jsx71("span", {
|
|
12886
12875
|
className: popconfirmDescriptionClass,
|
|
12887
12876
|
children: description
|
|
12888
12877
|
}) : null
|
|
@@ -12893,7 +12882,7 @@ var Popconfirm = forwardRef58(({
|
|
|
12893
12882
|
/* @__PURE__ */ jsxs54("span", {
|
|
12894
12883
|
className: popconfirmActionsClass,
|
|
12895
12884
|
children: [
|
|
12896
|
-
showCancel ? /* @__PURE__ */
|
|
12885
|
+
showCancel ? /* @__PURE__ */ jsx71(Button, {
|
|
12897
12886
|
appearance: "text",
|
|
12898
12887
|
color: "secondary",
|
|
12899
12888
|
size: "sm",
|
|
@@ -12903,7 +12892,7 @@ var Popconfirm = forwardRef58(({
|
|
|
12903
12892
|
},
|
|
12904
12893
|
children: cancelText
|
|
12905
12894
|
}) : null,
|
|
12906
|
-
/* @__PURE__ */
|
|
12895
|
+
/* @__PURE__ */ jsx71(Button, {
|
|
12907
12896
|
color: "primary",
|
|
12908
12897
|
size: "sm",
|
|
12909
12898
|
...okButtonProps,
|
|
@@ -12915,7 +12904,7 @@ var Popconfirm = forwardRef58(({
|
|
|
12915
12904
|
})
|
|
12916
12905
|
]
|
|
12917
12906
|
}),
|
|
12918
|
-
arrow ? /* @__PURE__ */
|
|
12907
|
+
arrow ? /* @__PURE__ */ jsx71("span", {
|
|
12919
12908
|
className: popconfirmArrowClass
|
|
12920
12909
|
}) : null
|
|
12921
12910
|
]
|
|
@@ -12955,7 +12944,7 @@ function getProgressClasses({
|
|
|
12955
12944
|
}
|
|
12956
12945
|
|
|
12957
12946
|
// src/components/progress/Progress.tsx
|
|
12958
|
-
import { jsx as
|
|
12947
|
+
import { jsx as jsx72, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
12959
12948
|
function clampPercent(percent) {
|
|
12960
12949
|
if (Number.isNaN(percent))
|
|
12961
12950
|
return 0;
|
|
@@ -12987,11 +12976,11 @@ var Progress = forwardRef59(({
|
|
|
12987
12976
|
}),
|
|
12988
12977
|
...props,
|
|
12989
12978
|
children: [
|
|
12990
|
-
/* @__PURE__ */
|
|
12979
|
+
/* @__PURE__ */ jsx72("div", {
|
|
12991
12980
|
className: "progress-bar",
|
|
12992
12981
|
style: indeterminate ? undefined : { width: `${safePercent}%` }
|
|
12993
12982
|
}),
|
|
12994
|
-
showInfo && /* @__PURE__ */
|
|
12983
|
+
showInfo && /* @__PURE__ */ jsx72("span", {
|
|
12995
12984
|
className: "progress-label",
|
|
12996
12985
|
children: format(safePercent)
|
|
12997
12986
|
}),
|
|
@@ -13039,7 +13028,7 @@ function getQRCodeClasses({
|
|
|
13039
13028
|
}
|
|
13040
13029
|
|
|
13041
13030
|
// src/components/qr-code/QRCode.tsx
|
|
13042
|
-
import { jsx as
|
|
13031
|
+
import { jsx as jsx73, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
13043
13032
|
var moduleCountByErrorLevel = {
|
|
13044
13033
|
L: 21,
|
|
13045
13034
|
M: 25,
|
|
@@ -13080,10 +13069,10 @@ function createModules(value, errorLevel) {
|
|
|
13080
13069
|
function renderIcon2(icon, iconSize) {
|
|
13081
13070
|
if (!icon)
|
|
13082
13071
|
return null;
|
|
13083
|
-
return /* @__PURE__ */
|
|
13072
|
+
return /* @__PURE__ */ jsx73("span", {
|
|
13084
13073
|
className: qrCodeIconClass,
|
|
13085
13074
|
style: { width: iconSize, height: iconSize },
|
|
13086
|
-
children: typeof icon === "string" ? /* @__PURE__ */
|
|
13075
|
+
children: typeof icon === "string" ? /* @__PURE__ */ jsx73("img", {
|
|
13087
13076
|
src: icon,
|
|
13088
13077
|
alt: ""
|
|
13089
13078
|
}) : icon
|
|
@@ -13094,13 +13083,13 @@ function QRCodeModules({
|
|
|
13094
13083
|
color
|
|
13095
13084
|
}) {
|
|
13096
13085
|
const count = modules.length;
|
|
13097
|
-
return /* @__PURE__ */
|
|
13086
|
+
return /* @__PURE__ */ jsx73("svg", {
|
|
13098
13087
|
className: qrCodeSvgClass,
|
|
13099
13088
|
viewBox: `0 0 ${count} ${count}`,
|
|
13100
13089
|
role: "img",
|
|
13101
13090
|
"aria-label": "QR code",
|
|
13102
13091
|
shapeRendering: "crispEdges",
|
|
13103
|
-
children: modules.map((row, rowIndex) => row.map((dark, colIndex) => dark ? /* @__PURE__ */
|
|
13092
|
+
children: modules.map((row, rowIndex) => row.map((dark, colIndex) => dark ? /* @__PURE__ */ jsx73("rect", {
|
|
13104
13093
|
x: colIndex,
|
|
13105
13094
|
y: rowIndex,
|
|
13106
13095
|
width: 1,
|
|
@@ -13113,12 +13102,12 @@ function CSSModules({
|
|
|
13113
13102
|
modules,
|
|
13114
13103
|
color
|
|
13115
13104
|
}) {
|
|
13116
|
-
return /* @__PURE__ */
|
|
13105
|
+
return /* @__PURE__ */ jsx73("span", {
|
|
13117
13106
|
className: qrCodeModulesClass,
|
|
13118
13107
|
style: { gridTemplateColumns: `repeat(${modules.length}, 1fr)` },
|
|
13119
13108
|
role: "img",
|
|
13120
13109
|
"aria-label": "QR code",
|
|
13121
|
-
children: modules.flatMap((row, rowIndex) => row.map((dark, colIndex) => /* @__PURE__ */
|
|
13110
|
+
children: modules.flatMap((row, rowIndex) => row.map((dark, colIndex) => /* @__PURE__ */ jsx73("span", {
|
|
13122
13111
|
className: cn(qrCodeModuleClass, dark && "qr-code-module-dark"),
|
|
13123
13112
|
style: dark ? { backgroundColor: color } : undefined
|
|
13124
13113
|
}, `${rowIndex}-${colIndex}`)))
|
|
@@ -13164,12 +13153,12 @@ var QRCode = forwardRef60(({
|
|
|
13164
13153
|
},
|
|
13165
13154
|
"data-value": value,
|
|
13166
13155
|
children: [
|
|
13167
|
-
type === "svg" ? /* @__PURE__ */
|
|
13156
|
+
type === "svg" ? /* @__PURE__ */ jsx73(QRCodeModules, {
|
|
13168
13157
|
modules,
|
|
13169
13158
|
color
|
|
13170
|
-
}) : /* @__PURE__ */
|
|
13159
|
+
}) : /* @__PURE__ */ jsx73("span", {
|
|
13171
13160
|
className: qrCodeCanvasClass,
|
|
13172
|
-
children: /* @__PURE__ */
|
|
13161
|
+
children: /* @__PURE__ */ jsx73(CSSModules, {
|
|
13173
13162
|
modules,
|
|
13174
13163
|
color
|
|
13175
13164
|
})
|
|
@@ -13178,11 +13167,11 @@ var QRCode = forwardRef60(({
|
|
|
13178
13167
|
label ? /* @__PURE__ */ jsxs56("span", {
|
|
13179
13168
|
className: qrCodeMaskClass,
|
|
13180
13169
|
children: [
|
|
13181
|
-
/* @__PURE__ */
|
|
13170
|
+
/* @__PURE__ */ jsx73("span", {
|
|
13182
13171
|
className: qrCodeMaskTitleClass,
|
|
13183
13172
|
children: label
|
|
13184
13173
|
}),
|
|
13185
|
-
status === "expired" && onRefresh ? /* @__PURE__ */
|
|
13174
|
+
status === "expired" && onRefresh ? /* @__PURE__ */ jsx73("button", {
|
|
13186
13175
|
type: "button",
|
|
13187
13176
|
className: qrCodeRefreshClass,
|
|
13188
13177
|
onClick: onRefresh,
|
|
@@ -13239,7 +13228,7 @@ function getRadioLabelClasses({
|
|
|
13239
13228
|
}
|
|
13240
13229
|
|
|
13241
13230
|
// src/components/radio/Radio.tsx
|
|
13242
|
-
import { jsx as
|
|
13231
|
+
import { jsx as jsx74, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
13243
13232
|
var Radio = forwardRef61(({
|
|
13244
13233
|
color = "primary",
|
|
13245
13234
|
size = "md",
|
|
@@ -13260,21 +13249,21 @@ var Radio = forwardRef61(({
|
|
|
13260
13249
|
className
|
|
13261
13250
|
}),
|
|
13262
13251
|
children: [
|
|
13263
|
-
/* @__PURE__ */
|
|
13252
|
+
/* @__PURE__ */ jsx74("input", {
|
|
13264
13253
|
...props,
|
|
13265
13254
|
ref,
|
|
13266
13255
|
type: "radio",
|
|
13267
13256
|
className: radioInputClass,
|
|
13268
13257
|
disabled: isDisabled
|
|
13269
13258
|
}),
|
|
13270
|
-
/* @__PURE__ */
|
|
13259
|
+
/* @__PURE__ */ jsx74("span", {
|
|
13271
13260
|
className: getRadioCircleClasses({ color }),
|
|
13272
13261
|
"aria-hidden": "true",
|
|
13273
|
-
children: /* @__PURE__ */
|
|
13262
|
+
children: /* @__PURE__ */ jsx74("span", {
|
|
13274
13263
|
className: radioDotClass
|
|
13275
13264
|
})
|
|
13276
13265
|
}),
|
|
13277
|
-
children ? /* @__PURE__ */
|
|
13266
|
+
children ? /* @__PURE__ */ jsx74("span", {
|
|
13278
13267
|
className: getRadioLabelClasses({ labelPosition }),
|
|
13279
13268
|
children
|
|
13280
13269
|
}) : null
|
|
@@ -13327,7 +13316,7 @@ function getRateItemClasses({
|
|
|
13327
13316
|
}
|
|
13328
13317
|
|
|
13329
13318
|
// src/components/rate/Rate.tsx
|
|
13330
|
-
import { jsx as
|
|
13319
|
+
import { jsx as jsx75 } from "react/jsx-runtime";
|
|
13331
13320
|
function clampValue(value, count, allowHalf) {
|
|
13332
13321
|
if (!Number.isFinite(value))
|
|
13333
13322
|
return 0;
|
|
@@ -13405,7 +13394,7 @@ var Rate = forwardRef62(({
|
|
|
13405
13394
|
commitValue(keyValues[event.key]);
|
|
13406
13395
|
}
|
|
13407
13396
|
}
|
|
13408
|
-
return /* @__PURE__ */
|
|
13397
|
+
return /* @__PURE__ */ jsx75("div", {
|
|
13409
13398
|
...props,
|
|
13410
13399
|
ref,
|
|
13411
13400
|
role: "radiogroup",
|
|
@@ -13429,7 +13418,7 @@ var Rate = forwardRef62(({
|
|
|
13429
13418
|
const checked = currentValue > 0 && Math.ceil(currentValue) === index;
|
|
13430
13419
|
const focusable = isInteractive && (checked || currentValue === 0 && index === 1);
|
|
13431
13420
|
const itemValue = half ? index - 0.5 : index;
|
|
13432
|
-
return /* @__PURE__ */
|
|
13421
|
+
return /* @__PURE__ */ jsx75("span", {
|
|
13433
13422
|
role: "radio",
|
|
13434
13423
|
"aria-checked": checked,
|
|
13435
13424
|
"aria-disabled": disabled || undefined,
|
|
@@ -13498,7 +13487,7 @@ function getResultPresentedIconClasses(status = "info") {
|
|
|
13498
13487
|
}
|
|
13499
13488
|
|
|
13500
13489
|
// src/components/result/Result.tsx
|
|
13501
|
-
import { jsx as
|
|
13490
|
+
import { jsx as jsx76, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
13502
13491
|
var statusLabels = {
|
|
13503
13492
|
success: "Success",
|
|
13504
13493
|
error: "Error",
|
|
@@ -13512,17 +13501,17 @@ function PresentedIconGlyph({
|
|
|
13512
13501
|
status
|
|
13513
13502
|
}) {
|
|
13514
13503
|
if (status === "404" || status === "403" || status === "500") {
|
|
13515
|
-
return /* @__PURE__ */
|
|
13504
|
+
return /* @__PURE__ */ jsx76("span", {
|
|
13516
13505
|
"aria-hidden": "true",
|
|
13517
13506
|
children: status
|
|
13518
13507
|
});
|
|
13519
13508
|
}
|
|
13520
13509
|
if (status === "success") {
|
|
13521
|
-
return /* @__PURE__ */
|
|
13510
|
+
return /* @__PURE__ */ jsx76("svg", {
|
|
13522
13511
|
"aria-hidden": "true",
|
|
13523
13512
|
focusable: "false",
|
|
13524
13513
|
viewBox: "0 0 24 24",
|
|
13525
|
-
children: /* @__PURE__ */
|
|
13514
|
+
children: /* @__PURE__ */ jsx76("path", {
|
|
13526
13515
|
d: "M5 12.5l4.25 4.25L19 7",
|
|
13527
13516
|
fill: "none",
|
|
13528
13517
|
stroke: "currentColor",
|
|
@@ -13538,14 +13527,14 @@ function PresentedIconGlyph({
|
|
|
13538
13527
|
focusable: "false",
|
|
13539
13528
|
viewBox: "0 0 24 24",
|
|
13540
13529
|
children: [
|
|
13541
|
-
/* @__PURE__ */
|
|
13530
|
+
/* @__PURE__ */ jsx76("path", {
|
|
13542
13531
|
d: "M12 4l8 15H4L12 4z",
|
|
13543
13532
|
fill: "none",
|
|
13544
13533
|
stroke: "currentColor",
|
|
13545
13534
|
strokeLinejoin: "round",
|
|
13546
13535
|
strokeWidth: "2"
|
|
13547
13536
|
}),
|
|
13548
|
-
/* @__PURE__ */
|
|
13537
|
+
/* @__PURE__ */ jsx76("path", {
|
|
13549
13538
|
d: "M12 9v4M12 17h.01",
|
|
13550
13539
|
fill: "none",
|
|
13551
13540
|
stroke: "currentColor",
|
|
@@ -13556,11 +13545,11 @@ function PresentedIconGlyph({
|
|
|
13556
13545
|
});
|
|
13557
13546
|
}
|
|
13558
13547
|
if (status === "error") {
|
|
13559
|
-
return /* @__PURE__ */
|
|
13548
|
+
return /* @__PURE__ */ jsx76("svg", {
|
|
13560
13549
|
"aria-hidden": "true",
|
|
13561
13550
|
focusable: "false",
|
|
13562
13551
|
viewBox: "0 0 24 24",
|
|
13563
|
-
children: /* @__PURE__ */
|
|
13552
|
+
children: /* @__PURE__ */ jsx76("path", {
|
|
13564
13553
|
d: "M8 8l8 8M16 8l-8 8",
|
|
13565
13554
|
fill: "none",
|
|
13566
13555
|
stroke: "currentColor",
|
|
@@ -13569,11 +13558,11 @@ function PresentedIconGlyph({
|
|
|
13569
13558
|
})
|
|
13570
13559
|
});
|
|
13571
13560
|
}
|
|
13572
|
-
return /* @__PURE__ */
|
|
13561
|
+
return /* @__PURE__ */ jsx76("svg", {
|
|
13573
13562
|
"aria-hidden": "true",
|
|
13574
13563
|
focusable: "false",
|
|
13575
13564
|
viewBox: "0 0 24 24",
|
|
13576
|
-
children: /* @__PURE__ */
|
|
13565
|
+
children: /* @__PURE__ */ jsx76("path", {
|
|
13577
13566
|
d: "M12 11v6M12 7h.01",
|
|
13578
13567
|
fill: "none",
|
|
13579
13568
|
stroke: "currentColor",
|
|
@@ -13584,11 +13573,11 @@ function PresentedIconGlyph({
|
|
|
13584
13573
|
}
|
|
13585
13574
|
function PresentedIcon({ status }) {
|
|
13586
13575
|
const normalizedStatus = normalizeResultStatus(status);
|
|
13587
|
-
return /* @__PURE__ */
|
|
13576
|
+
return /* @__PURE__ */ jsx76("span", {
|
|
13588
13577
|
className: getResultPresentedIconClasses(normalizedStatus),
|
|
13589
13578
|
"aria-label": statusLabels[normalizedStatus],
|
|
13590
13579
|
role: "img",
|
|
13591
|
-
children: /* @__PURE__ */
|
|
13580
|
+
children: /* @__PURE__ */ jsx76(PresentedIconGlyph, {
|
|
13592
13581
|
status: normalizedStatus
|
|
13593
13582
|
})
|
|
13594
13583
|
});
|
|
@@ -13608,21 +13597,21 @@ var Result = forwardRef63(({
|
|
|
13608
13597
|
className: getResultClasses({ status, className }),
|
|
13609
13598
|
...props,
|
|
13610
13599
|
children: [
|
|
13611
|
-
/* @__PURE__ */
|
|
13600
|
+
/* @__PURE__ */ jsx76("div", {
|
|
13612
13601
|
className: resultIconClass,
|
|
13613
|
-
children: icon ?? /* @__PURE__ */
|
|
13602
|
+
children: icon ?? /* @__PURE__ */ jsx76(PresentedIcon, {
|
|
13614
13603
|
status
|
|
13615
13604
|
})
|
|
13616
13605
|
}),
|
|
13617
|
-
title ? /* @__PURE__ */
|
|
13606
|
+
title ? /* @__PURE__ */ jsx76("div", {
|
|
13618
13607
|
className: resultTitleClass,
|
|
13619
13608
|
children: title
|
|
13620
13609
|
}) : null,
|
|
13621
|
-
subTitle ? /* @__PURE__ */
|
|
13610
|
+
subTitle ? /* @__PURE__ */ jsx76("div", {
|
|
13622
13611
|
className: resultSubTitleClass,
|
|
13623
13612
|
children: subTitle
|
|
13624
13613
|
}) : null,
|
|
13625
|
-
extra ? /* @__PURE__ */
|
|
13614
|
+
extra ? /* @__PURE__ */ jsx76("div", {
|
|
13626
13615
|
className: resultExtraClass,
|
|
13627
13616
|
children: extra
|
|
13628
13617
|
}) : null
|
|
@@ -13659,7 +13648,7 @@ function getRowClasses({
|
|
|
13659
13648
|
}
|
|
13660
13649
|
|
|
13661
13650
|
// src/components/row/Row.tsx
|
|
13662
|
-
import { jsx as
|
|
13651
|
+
import { jsx as jsx77 } from "react/jsx-runtime";
|
|
13663
13652
|
var alignStyleMap = {
|
|
13664
13653
|
top: "flex-start",
|
|
13665
13654
|
middle: "center",
|
|
@@ -13691,7 +13680,7 @@ var Row = forwardRef64(({
|
|
|
13691
13680
|
...props
|
|
13692
13681
|
}, ref) => {
|
|
13693
13682
|
const [horizontalGutter, verticalGutter] = resolveGutter(gutter);
|
|
13694
|
-
return /* @__PURE__ */
|
|
13683
|
+
return /* @__PURE__ */ jsx77("div", {
|
|
13695
13684
|
...props,
|
|
13696
13685
|
ref,
|
|
13697
13686
|
className: getRowClasses({ align, justify, wrap, className }),
|
|
@@ -13740,7 +13729,7 @@ function getSegmentedItemClasses({
|
|
|
13740
13729
|
}
|
|
13741
13730
|
|
|
13742
13731
|
// src/components/segmented/Segmented.tsx
|
|
13743
|
-
import { jsx as
|
|
13732
|
+
import { jsx as jsx78, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
13744
13733
|
function normalizeOption(option) {
|
|
13745
13734
|
if (typeof option === "object" && option !== null && "value" in option) {
|
|
13746
13735
|
return option;
|
|
@@ -13775,7 +13764,7 @@ var Segmented = forwardRef65(({
|
|
|
13775
13764
|
}
|
|
13776
13765
|
onChange?.(option.value);
|
|
13777
13766
|
}
|
|
13778
|
-
return /* @__PURE__ */
|
|
13767
|
+
return /* @__PURE__ */ jsx78("div", {
|
|
13779
13768
|
...props,
|
|
13780
13769
|
ref,
|
|
13781
13770
|
role: "radiogroup",
|
|
@@ -13797,7 +13786,7 @@ var Segmented = forwardRef65(({
|
|
|
13797
13786
|
}),
|
|
13798
13787
|
onClick: () => selectOption(option),
|
|
13799
13788
|
children: [
|
|
13800
|
-
option.icon ? /* @__PURE__ */
|
|
13789
|
+
option.icon ? /* @__PURE__ */ jsx78("span", {
|
|
13801
13790
|
className: segmentedIconClass,
|
|
13802
13791
|
children: option.icon
|
|
13803
13792
|
}) : null,
|
|
@@ -13847,7 +13836,7 @@ function getSkeletonClasses({
|
|
|
13847
13836
|
}
|
|
13848
13837
|
|
|
13849
13838
|
// src/components/skeleton/Skeleton.tsx
|
|
13850
|
-
import { jsx as
|
|
13839
|
+
import { jsx as jsx79, jsxs as jsxs60, Fragment as Fragment13 } from "react/jsx-runtime";
|
|
13851
13840
|
function resolveAnimation(active, animation) {
|
|
13852
13841
|
if (animation)
|
|
13853
13842
|
return animation;
|
|
@@ -13873,7 +13862,7 @@ function SkeletonLine({
|
|
|
13873
13862
|
round,
|
|
13874
13863
|
width
|
|
13875
13864
|
}) {
|
|
13876
|
-
return /* @__PURE__ */
|
|
13865
|
+
return /* @__PURE__ */ jsx79("div", {
|
|
13877
13866
|
className: getSkeletonClasses({
|
|
13878
13867
|
variant: "text",
|
|
13879
13868
|
animation,
|
|
@@ -13891,7 +13880,7 @@ function SkeletonPrimitive({
|
|
|
13891
13880
|
children,
|
|
13892
13881
|
...props
|
|
13893
13882
|
}) {
|
|
13894
|
-
return /* @__PURE__ */
|
|
13883
|
+
return /* @__PURE__ */ jsx79("div", {
|
|
13895
13884
|
"aria-hidden": children ? undefined : true,
|
|
13896
13885
|
className: getSkeletonClasses({
|
|
13897
13886
|
variant,
|
|
@@ -13917,13 +13906,13 @@ var SkeletonRoot = forwardRef66(({
|
|
|
13917
13906
|
...props
|
|
13918
13907
|
}, ref) => {
|
|
13919
13908
|
if (!loading) {
|
|
13920
|
-
return children ? /* @__PURE__ */
|
|
13909
|
+
return children ? /* @__PURE__ */ jsx79(Fragment13, {
|
|
13921
13910
|
children
|
|
13922
13911
|
}) : null;
|
|
13923
13912
|
}
|
|
13924
13913
|
const resolvedAnimation = resolveAnimation(active, animation);
|
|
13925
13914
|
if (variant) {
|
|
13926
|
-
return /* @__PURE__ */
|
|
13915
|
+
return /* @__PURE__ */ jsx79("div", {
|
|
13927
13916
|
ref,
|
|
13928
13917
|
"aria-hidden": true,
|
|
13929
13918
|
className: getSkeletonClasses({
|
|
@@ -13946,7 +13935,7 @@ var SkeletonRoot = forwardRef66(({
|
|
|
13946
13935
|
className: cn(avatar ? skeletonAvatarTextClass : skeletonGroupClass, className),
|
|
13947
13936
|
...props,
|
|
13948
13937
|
children: [
|
|
13949
|
-
avatar && /* @__PURE__ */
|
|
13938
|
+
avatar && /* @__PURE__ */ jsx79("div", {
|
|
13950
13939
|
className: getSkeletonClasses({
|
|
13951
13940
|
variant: avatarConfig?.shape === "square" ? "rect" : "circle",
|
|
13952
13941
|
animation: resolvedAnimation,
|
|
@@ -13957,12 +13946,12 @@ var SkeletonRoot = forwardRef66(({
|
|
|
13957
13946
|
/* @__PURE__ */ jsxs60("div", {
|
|
13958
13947
|
className: skeletonGroupClass,
|
|
13959
13948
|
children: [
|
|
13960
|
-
showTitle && /* @__PURE__ */
|
|
13949
|
+
showTitle && /* @__PURE__ */ jsx79(SkeletonLine, {
|
|
13961
13950
|
animation: resolvedAnimation,
|
|
13962
13951
|
round,
|
|
13963
13952
|
width: titleConfig?.width
|
|
13964
13953
|
}),
|
|
13965
|
-
Array.from({ length: rows }, (_, index) => /* @__PURE__ */
|
|
13954
|
+
Array.from({ length: rows }, (_, index) => /* @__PURE__ */ jsx79(SkeletonLine, {
|
|
13966
13955
|
animation: resolvedAnimation,
|
|
13967
13956
|
round,
|
|
13968
13957
|
width: resolveWidth(paragraphConfig?.width, index, rows)
|
|
@@ -13973,32 +13962,32 @@ var SkeletonRoot = forwardRef66(({
|
|
|
13973
13962
|
});
|
|
13974
13963
|
});
|
|
13975
13964
|
SkeletonRoot.displayName = "Skeleton";
|
|
13976
|
-
var SkeletonButton = forwardRef66((props, ref) => /* @__PURE__ */
|
|
13965
|
+
var SkeletonButton = forwardRef66((props, ref) => /* @__PURE__ */ jsx79(SkeletonPrimitive, {
|
|
13977
13966
|
ref,
|
|
13978
13967
|
variant: "button",
|
|
13979
13968
|
...props
|
|
13980
13969
|
}));
|
|
13981
13970
|
SkeletonButton.displayName = "Skeleton.Button";
|
|
13982
|
-
var SkeletonInput = forwardRef66((props, ref) => /* @__PURE__ */
|
|
13971
|
+
var SkeletonInput = forwardRef66((props, ref) => /* @__PURE__ */ jsx79(SkeletonPrimitive, {
|
|
13983
13972
|
ref,
|
|
13984
13973
|
variant: "input",
|
|
13985
13974
|
...props
|
|
13986
13975
|
}));
|
|
13987
13976
|
SkeletonInput.displayName = "Skeleton.Input";
|
|
13988
|
-
var SkeletonAvatar = forwardRef66(({ shape = "circle", className, ...props }, ref) => /* @__PURE__ */
|
|
13977
|
+
var SkeletonAvatar = forwardRef66(({ shape = "circle", className, ...props }, ref) => /* @__PURE__ */ jsx79(SkeletonPrimitive, {
|
|
13989
13978
|
ref,
|
|
13990
13979
|
variant: shape === "square" ? "rect" : "circle",
|
|
13991
13980
|
className: cn(shape === "square" && skeletonRoundedClass, className),
|
|
13992
13981
|
...props
|
|
13993
13982
|
}));
|
|
13994
13983
|
SkeletonAvatar.displayName = "Skeleton.Avatar";
|
|
13995
|
-
var SkeletonImage = forwardRef66((props, ref) => /* @__PURE__ */
|
|
13984
|
+
var SkeletonImage = forwardRef66((props, ref) => /* @__PURE__ */ jsx79(SkeletonPrimitive, {
|
|
13996
13985
|
ref,
|
|
13997
13986
|
variant: "rect",
|
|
13998
13987
|
...props
|
|
13999
13988
|
}));
|
|
14000
13989
|
SkeletonImage.displayName = "Skeleton.Image";
|
|
14001
|
-
var SkeletonNode = forwardRef66((props, ref) => /* @__PURE__ */
|
|
13990
|
+
var SkeletonNode = forwardRef66((props, ref) => /* @__PURE__ */ jsx79(SkeletonPrimitive, {
|
|
14002
13991
|
ref,
|
|
14003
13992
|
variant: "rect",
|
|
14004
13993
|
...props
|
|
@@ -14064,7 +14053,7 @@ function getSliderMarkClasses({
|
|
|
14064
14053
|
}
|
|
14065
14054
|
|
|
14066
14055
|
// src/components/slider/Slider.tsx
|
|
14067
|
-
import { jsx as
|
|
14056
|
+
import { jsx as jsx80, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
14068
14057
|
var hiddenInputStyle = {
|
|
14069
14058
|
position: "absolute",
|
|
14070
14059
|
inset: 0,
|
|
@@ -14330,7 +14319,7 @@ var Slider = forwardRef67(({
|
|
|
14330
14319
|
const values = Array.isArray(currentValue) ? currentValue : [currentValue];
|
|
14331
14320
|
const markEntries = Object.entries(marks ?? {}).map(([markValue, mark]) => [Number(markValue), mark]).filter(([markValue]) => Number.isFinite(markValue)).sort(([first], [second]) => first - second);
|
|
14332
14321
|
const inputStep = step === null ? undefined : step;
|
|
14333
|
-
return /* @__PURE__ */
|
|
14322
|
+
return /* @__PURE__ */ jsx80("div", {
|
|
14334
14323
|
...props,
|
|
14335
14324
|
ref,
|
|
14336
14325
|
"aria-disabled": disabled || undefined,
|
|
@@ -14338,7 +14327,7 @@ var Slider = forwardRef67(({
|
|
|
14338
14327
|
children: /* @__PURE__ */ jsxs61("div", {
|
|
14339
14328
|
className: sliderTrackClass,
|
|
14340
14329
|
children: [
|
|
14341
|
-
/* @__PURE__ */
|
|
14330
|
+
/* @__PURE__ */ jsx80("div", {
|
|
14342
14331
|
className: sliderTrackFilledClass,
|
|
14343
14332
|
style: getFilledStyle({
|
|
14344
14333
|
value: currentValue,
|
|
@@ -14348,19 +14337,19 @@ var Slider = forwardRef67(({
|
|
|
14348
14337
|
vertical
|
|
14349
14338
|
})
|
|
14350
14339
|
}),
|
|
14351
|
-
markEntries.length > 0 ? /* @__PURE__ */
|
|
14340
|
+
markEntries.length > 0 ? /* @__PURE__ */ jsx80("div", {
|
|
14352
14341
|
className: sliderMarksClass,
|
|
14353
14342
|
"aria-hidden": "true",
|
|
14354
14343
|
children: markEntries.map(([markValue, mark]) => {
|
|
14355
14344
|
const percent = getPercent(markValue, safeMin, safeMax, reverse);
|
|
14356
14345
|
const offsetStyle = vertical ? { bottom: `${percent}%` } : { left: `${percent}%` };
|
|
14357
|
-
return /* @__PURE__ */
|
|
14346
|
+
return /* @__PURE__ */ jsx80("span", {
|
|
14358
14347
|
className: getSliderMarkClasses({
|
|
14359
14348
|
active: isMarkActive(currentValue, markValue),
|
|
14360
14349
|
className: getMarkClassName(mark)
|
|
14361
14350
|
}),
|
|
14362
14351
|
style: { ...offsetStyle, ...getMarkStyle(mark) },
|
|
14363
|
-
children: /* @__PURE__ */
|
|
14352
|
+
children: /* @__PURE__ */ jsx80("span", {
|
|
14364
14353
|
className: sliderMarkLabelClass,
|
|
14365
14354
|
children: getMarkLabel(mark)
|
|
14366
14355
|
})
|
|
@@ -14369,7 +14358,7 @@ var Slider = forwardRef67(({
|
|
|
14369
14358
|
}) : null,
|
|
14370
14359
|
values.map((thumbValue, index) => {
|
|
14371
14360
|
const tooltipLabel = getTooltipLabel(tooltip, thumbValue);
|
|
14372
|
-
return /* @__PURE__ */
|
|
14361
|
+
return /* @__PURE__ */ jsx80("span", {
|
|
14373
14362
|
className: sliderThumbClass,
|
|
14374
14363
|
style: getThumbStyle({
|
|
14375
14364
|
value: thumbValue,
|
|
@@ -14378,13 +14367,13 @@ var Slider = forwardRef67(({
|
|
|
14378
14367
|
reverse,
|
|
14379
14368
|
vertical
|
|
14380
14369
|
}),
|
|
14381
|
-
children: tooltipLabel !== null ? /* @__PURE__ */
|
|
14370
|
+
children: tooltipLabel !== null ? /* @__PURE__ */ jsx80("span", {
|
|
14382
14371
|
className: sliderThumbLabelClass,
|
|
14383
14372
|
children: tooltipLabel
|
|
14384
14373
|
}) : null
|
|
14385
14374
|
}, index);
|
|
14386
14375
|
}),
|
|
14387
|
-
values.map((thumbValue, index) => /* @__PURE__ */
|
|
14376
|
+
values.map((thumbValue, index) => /* @__PURE__ */ jsx80("input", {
|
|
14388
14377
|
type: "range",
|
|
14389
14378
|
"aria-label": isRange ? index === 0 ? "Minimum value" : "Maximum value" : "Slider value",
|
|
14390
14379
|
className: sliderInputClass,
|
|
@@ -14436,7 +14425,7 @@ function getSpaceCompactClasses({
|
|
|
14436
14425
|
}
|
|
14437
14426
|
|
|
14438
14427
|
// src/components/space/Space.tsx
|
|
14439
|
-
import { jsx as
|
|
14428
|
+
import { jsx as jsx81, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
14440
14429
|
var sizeMap = {
|
|
14441
14430
|
small: 8,
|
|
14442
14431
|
middle: 16,
|
|
@@ -14467,7 +14456,7 @@ var SpaceBase = forwardRef68(({
|
|
|
14467
14456
|
}, ref) => {
|
|
14468
14457
|
const gap = resolveSize(size);
|
|
14469
14458
|
const childList = Children4.toArray(children).filter((child) => child !== null && child !== undefined);
|
|
14470
|
-
return /* @__PURE__ */
|
|
14459
|
+
return /* @__PURE__ */ jsx81("div", {
|
|
14471
14460
|
...props,
|
|
14472
14461
|
ref,
|
|
14473
14462
|
className: getSpaceClasses({ direction, wrap, className }),
|
|
@@ -14481,11 +14470,11 @@ var SpaceBase = forwardRef68(({
|
|
|
14481
14470
|
},
|
|
14482
14471
|
children: childList.map((child, index) => /* @__PURE__ */ jsxs62(React74.Fragment, {
|
|
14483
14472
|
children: [
|
|
14484
|
-
/* @__PURE__ */
|
|
14473
|
+
/* @__PURE__ */ jsx81("div", {
|
|
14485
14474
|
className: spaceItemClass,
|
|
14486
14475
|
children: child
|
|
14487
14476
|
}),
|
|
14488
|
-
split && index < childList.length - 1 ? /* @__PURE__ */
|
|
14477
|
+
split && index < childList.length - 1 ? /* @__PURE__ */ jsx81("span", {
|
|
14489
14478
|
className: spaceSplitClass,
|
|
14490
14479
|
children: split
|
|
14491
14480
|
}) : null
|
|
@@ -14504,7 +14493,7 @@ var Compact = forwardRef68(({
|
|
|
14504
14493
|
...props
|
|
14505
14494
|
}, ref) => {
|
|
14506
14495
|
const gap = resolveSize(size);
|
|
14507
|
-
return /* @__PURE__ */
|
|
14496
|
+
return /* @__PURE__ */ jsx81("div", {
|
|
14508
14497
|
...props,
|
|
14509
14498
|
ref,
|
|
14510
14499
|
className: getSpaceCompactClasses({ block, direction, className }),
|
|
@@ -14535,7 +14524,7 @@ function getStatisticClasses({ className }) {
|
|
|
14535
14524
|
}
|
|
14536
14525
|
|
|
14537
14526
|
// src/components/statistic/Statistic.tsx
|
|
14538
|
-
import { jsx as
|
|
14527
|
+
import { jsx as jsx82, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
14539
14528
|
function formatStatisticValue(value, precision) {
|
|
14540
14529
|
if (value === undefined || value === null)
|
|
14541
14530
|
return;
|
|
@@ -14583,23 +14572,23 @@ function StatisticBase({
|
|
|
14583
14572
|
className: getStatisticClasses({ className }),
|
|
14584
14573
|
...props,
|
|
14585
14574
|
children: [
|
|
14586
|
-
title !== undefined && /* @__PURE__ */
|
|
14575
|
+
title !== undefined && /* @__PURE__ */ jsx82("div", {
|
|
14587
14576
|
className: statisticTitleClass,
|
|
14588
14577
|
children: title
|
|
14589
14578
|
}),
|
|
14590
14579
|
/* @__PURE__ */ jsxs63("div", {
|
|
14591
14580
|
className: statisticContentClass,
|
|
14592
14581
|
children: [
|
|
14593
|
-
prefix !== undefined && /* @__PURE__ */
|
|
14582
|
+
prefix !== undefined && /* @__PURE__ */ jsx82("span", {
|
|
14594
14583
|
className: statisticPrefixClass,
|
|
14595
14584
|
children: prefix
|
|
14596
14585
|
}),
|
|
14597
|
-
/* @__PURE__ */
|
|
14586
|
+
/* @__PURE__ */ jsx82("span", {
|
|
14598
14587
|
className: statisticValueClass,
|
|
14599
14588
|
style: valueStyle,
|
|
14600
14589
|
children: renderedValue
|
|
14601
14590
|
}),
|
|
14602
|
-
suffix !== undefined && /* @__PURE__ */
|
|
14591
|
+
suffix !== undefined && /* @__PURE__ */ jsx82("span", {
|
|
14603
14592
|
className: statisticSuffixClass,
|
|
14604
14593
|
children: suffix
|
|
14605
14594
|
})
|
|
@@ -14633,7 +14622,7 @@ function Countdown({
|
|
|
14633
14622
|
const interval = window.setInterval(tick, 1000);
|
|
14634
14623
|
return () => window.clearInterval(interval);
|
|
14635
14624
|
}, [target, onChange, onFinish]);
|
|
14636
|
-
return /* @__PURE__ */
|
|
14625
|
+
return /* @__PURE__ */ jsx82(StatisticBase, {
|
|
14637
14626
|
...props,
|
|
14638
14627
|
value: formatCountdown(remaining, format)
|
|
14639
14628
|
});
|
|
@@ -14695,7 +14684,7 @@ function getStepsStepIconClasses({
|
|
|
14695
14684
|
}
|
|
14696
14685
|
|
|
14697
14686
|
// src/components/steps/Steps.tsx
|
|
14698
|
-
import { jsx as
|
|
14687
|
+
import { jsx as jsx83, jsxs as jsxs64, Fragment as Fragment14 } from "react/jsx-runtime";
|
|
14699
14688
|
function hasNode7(node) {
|
|
14700
14689
|
return node !== undefined && node !== null && node !== false;
|
|
14701
14690
|
}
|
|
@@ -14761,7 +14750,7 @@ function renderProgressDot({
|
|
|
14761
14750
|
index,
|
|
14762
14751
|
status
|
|
14763
14752
|
}) {
|
|
14764
|
-
const iconDot = /* @__PURE__ */
|
|
14753
|
+
const iconDot = /* @__PURE__ */ jsx83("span", {
|
|
14765
14754
|
className: "stepper-step-dot-inner"
|
|
14766
14755
|
});
|
|
14767
14756
|
if (typeof progressDot !== "function") {
|
|
@@ -14791,13 +14780,13 @@ function renderStepIcon({
|
|
|
14791
14780
|
index,
|
|
14792
14781
|
status
|
|
14793
14782
|
}) : item.icon ?? (status === "finish" ? "✓" : initial + index + 1);
|
|
14794
|
-
return /* @__PURE__ */
|
|
14783
|
+
return /* @__PURE__ */ jsx83("span", {
|
|
14795
14784
|
className: getStepsStepIconClasses({
|
|
14796
14785
|
progressDot: progressDotEnabled,
|
|
14797
14786
|
percent: progressPercent !== undefined
|
|
14798
14787
|
}),
|
|
14799
14788
|
"aria-hidden": progressPercent === undefined ? "true" : undefined,
|
|
14800
|
-
children: progressPercent !== undefined ? /* @__PURE__ */
|
|
14789
|
+
children: progressPercent !== undefined ? /* @__PURE__ */ jsx83("span", {
|
|
14801
14790
|
className: stepsStepPercentClass,
|
|
14802
14791
|
role: "progressbar",
|
|
14803
14792
|
"aria-label": `Step ${index + 1} progress`,
|
|
@@ -14820,13 +14809,13 @@ function renderStepContent(item) {
|
|
|
14820
14809
|
className: stepsStepLabelClass,
|
|
14821
14810
|
children: [
|
|
14822
14811
|
item.title,
|
|
14823
|
-
hasNode7(item.subTitle) ? /* @__PURE__ */
|
|
14812
|
+
hasNode7(item.subTitle) ? /* @__PURE__ */ jsx83("span", {
|
|
14824
14813
|
className: stepsStepSubtitleClass,
|
|
14825
14814
|
children: item.subTitle
|
|
14826
14815
|
}) : null
|
|
14827
14816
|
]
|
|
14828
14817
|
}) : null,
|
|
14829
|
-
hasNode7(description) ? /* @__PURE__ */
|
|
14818
|
+
hasNode7(description) ? /* @__PURE__ */ jsx83("span", {
|
|
14830
14819
|
className: stepsStepDescriptionClass,
|
|
14831
14820
|
children: description
|
|
14832
14821
|
}) : null
|
|
@@ -14851,7 +14840,7 @@ var StepsRoot = forwardRef69(({
|
|
|
14851
14840
|
const mergedCurrent = toInteger(current, 0);
|
|
14852
14841
|
const initialOffset = toInteger(initial, 0);
|
|
14853
14842
|
const progressDotEnabled = Boolean(progressDot);
|
|
14854
|
-
return /* @__PURE__ */
|
|
14843
|
+
return /* @__PURE__ */ jsx83("div", {
|
|
14855
14844
|
...props,
|
|
14856
14845
|
ref,
|
|
14857
14846
|
role: role ?? "list",
|
|
@@ -14893,7 +14882,7 @@ var StepsRoot = forwardRef69(({
|
|
|
14893
14882
|
}),
|
|
14894
14883
|
style: item.style,
|
|
14895
14884
|
children: [
|
|
14896
|
-
onChange ? /* @__PURE__ */
|
|
14885
|
+
onChange ? /* @__PURE__ */ jsx83("button", {
|
|
14897
14886
|
type: "button",
|
|
14898
14887
|
className: stepsStepButtonClass,
|
|
14899
14888
|
disabled: item.disabled,
|
|
@@ -14903,11 +14892,11 @@ var StepsRoot = forwardRef69(({
|
|
|
14903
14892
|
}
|
|
14904
14893
|
},
|
|
14905
14894
|
children: content
|
|
14906
|
-
}) : /* @__PURE__ */
|
|
14895
|
+
}) : /* @__PURE__ */ jsx83("div", {
|
|
14907
14896
|
className: stepsStepButtonClass,
|
|
14908
14897
|
children: content
|
|
14909
14898
|
}),
|
|
14910
|
-
/* @__PURE__ */
|
|
14899
|
+
/* @__PURE__ */ jsx83("span", {
|
|
14911
14900
|
className: stepsStepConnectorClass,
|
|
14912
14901
|
"aria-hidden": "true"
|
|
14913
14902
|
})
|
|
@@ -14953,7 +14942,7 @@ function getSwitchTrackClasses({
|
|
|
14953
14942
|
}
|
|
14954
14943
|
|
|
14955
14944
|
// src/components/switch/Switch.tsx
|
|
14956
|
-
import { jsx as
|
|
14945
|
+
import { jsx as jsx84, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
14957
14946
|
var Switch = forwardRef70(({
|
|
14958
14947
|
checked,
|
|
14959
14948
|
defaultChecked,
|
|
@@ -14982,7 +14971,7 @@ var Switch = forwardRef70(({
|
|
|
14982
14971
|
return /* @__PURE__ */ jsxs65("label", {
|
|
14983
14972
|
className: getSwitchClasses({ size, loading, className }),
|
|
14984
14973
|
children: [
|
|
14985
|
-
/* @__PURE__ */
|
|
14974
|
+
/* @__PURE__ */ jsx84("input", {
|
|
14986
14975
|
...props,
|
|
14987
14976
|
ref,
|
|
14988
14977
|
type: "checkbox",
|
|
@@ -14998,10 +14987,10 @@ var Switch = forwardRef70(({
|
|
|
14998
14987
|
className: getSwitchTrackClasses({ color }),
|
|
14999
14988
|
"aria-hidden": "true",
|
|
15000
14989
|
children: [
|
|
15001
|
-
hasChildren && /* @__PURE__ */
|
|
14990
|
+
hasChildren && /* @__PURE__ */ jsx84("span", {
|
|
15002
14991
|
children: isChecked ? checkedChildren : unCheckedChildren
|
|
15003
14992
|
}),
|
|
15004
|
-
/* @__PURE__ */
|
|
14993
|
+
/* @__PURE__ */ jsx84("span", {
|
|
15005
14994
|
className: switchThumbClass
|
|
15006
14995
|
})
|
|
15007
14996
|
]
|
|
@@ -15048,7 +15037,7 @@ function getCheckableTagClasses({
|
|
|
15048
15037
|
}
|
|
15049
15038
|
|
|
15050
15039
|
// src/components/tag/Tag.tsx
|
|
15051
|
-
import { jsx as
|
|
15040
|
+
import { jsx as jsx85, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
15052
15041
|
var defaultCloseIcon3 = "x";
|
|
15053
15042
|
var TagRoot = forwardRef71(({
|
|
15054
15043
|
color,
|
|
@@ -15065,13 +15054,13 @@ var TagRoot = forwardRef71(({
|
|
|
15065
15054
|
className: getTagClasses({ color, bordered, className }),
|
|
15066
15055
|
...props,
|
|
15067
15056
|
children: [
|
|
15068
|
-
icon ? /* @__PURE__ */
|
|
15057
|
+
icon ? /* @__PURE__ */ jsx85("span", {
|
|
15069
15058
|
className: tagIconClass,
|
|
15070
15059
|
"aria-hidden": "true",
|
|
15071
15060
|
children: icon
|
|
15072
15061
|
}) : null,
|
|
15073
15062
|
children,
|
|
15074
|
-
closable ? /* @__PURE__ */
|
|
15063
|
+
closable ? /* @__PURE__ */ jsx85("button", {
|
|
15075
15064
|
type: "button",
|
|
15076
15065
|
className: tagCloseClass,
|
|
15077
15066
|
"aria-label": "Close",
|
|
@@ -15113,7 +15102,7 @@ var CheckableTag = forwardRef71(({
|
|
|
15113
15102
|
event.preventDefault();
|
|
15114
15103
|
emitChange();
|
|
15115
15104
|
}
|
|
15116
|
-
return /* @__PURE__ */
|
|
15105
|
+
return /* @__PURE__ */ jsx85("span", {
|
|
15117
15106
|
...props,
|
|
15118
15107
|
ref,
|
|
15119
15108
|
role: "checkbox",
|
|
@@ -15170,7 +15159,7 @@ function getTimePickerPanelClasses({
|
|
|
15170
15159
|
}
|
|
15171
15160
|
|
|
15172
15161
|
// src/components/time-picker/TimePicker.tsx
|
|
15173
|
-
import { jsx as
|
|
15162
|
+
import { jsx as jsx86, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
15174
15163
|
var TIME_PARTS_PATTERN = /^(\d{1,2}):(\d{2})(?::(\d{2}))?\s*([AaPp][Mm])?$/;
|
|
15175
15164
|
function padTimePart(value) {
|
|
15176
15165
|
return String(value).padStart(2, "0");
|
|
@@ -15292,7 +15281,7 @@ var TimePickerRoot = forwardRef72(({
|
|
|
15292
15281
|
className
|
|
15293
15282
|
}),
|
|
15294
15283
|
children: [
|
|
15295
|
-
/* @__PURE__ */
|
|
15284
|
+
/* @__PURE__ */ jsx86("input", {
|
|
15296
15285
|
className: timePickerInputClass,
|
|
15297
15286
|
disabled,
|
|
15298
15287
|
value: displayValue(currentValue, timeFormat, use12Hours),
|
|
@@ -15307,7 +15296,7 @@ var TimePickerRoot = forwardRef72(({
|
|
|
15307
15296
|
},
|
|
15308
15297
|
onChange: (event) => emitChange(event.currentTarget.value || undefined)
|
|
15309
15298
|
}),
|
|
15310
|
-
allowClear && currentValue && !disabled ? /* @__PURE__ */
|
|
15299
|
+
allowClear && currentValue && !disabled ? /* @__PURE__ */ jsx86("button", {
|
|
15311
15300
|
type: "button",
|
|
15312
15301
|
className: timePickerClearClass,
|
|
15313
15302
|
"aria-label": "Clear time",
|
|
@@ -15315,16 +15304,16 @@ var TimePickerRoot = forwardRef72(({
|
|
|
15315
15304
|
onClick: () => emitChange(undefined),
|
|
15316
15305
|
children: "x"
|
|
15317
15306
|
}) : null,
|
|
15318
|
-
/* @__PURE__ */
|
|
15307
|
+
/* @__PURE__ */ jsx86("span", {
|
|
15319
15308
|
className: timePickerIconClass,
|
|
15320
15309
|
"aria-hidden": "true",
|
|
15321
15310
|
children: "clock"
|
|
15322
15311
|
}),
|
|
15323
|
-
showNow && visible ? /* @__PURE__ */
|
|
15312
|
+
showNow && visible ? /* @__PURE__ */ jsx86("div", {
|
|
15324
15313
|
className: getTimePickerPanelClasses({ open: visible }),
|
|
15325
|
-
children: /* @__PURE__ */
|
|
15314
|
+
children: /* @__PURE__ */ jsx86("div", {
|
|
15326
15315
|
className: timePickerFooterClass,
|
|
15327
|
-
children: /* @__PURE__ */
|
|
15316
|
+
children: /* @__PURE__ */ jsx86("button", {
|
|
15328
15317
|
type: "button",
|
|
15329
15318
|
className: timePickerNowClass,
|
|
15330
15319
|
onMouseDown: (event) => event.preventDefault(),
|
|
@@ -15384,32 +15373,32 @@ var RangePicker2 = forwardRef72(({
|
|
|
15384
15373
|
className
|
|
15385
15374
|
}),
|
|
15386
15375
|
children: [
|
|
15387
|
-
/* @__PURE__ */
|
|
15376
|
+
/* @__PURE__ */ jsx86("input", {
|
|
15388
15377
|
className: timePickerInputClass,
|
|
15389
15378
|
disabled,
|
|
15390
15379
|
value: displayValue(currentValue?.[0], timeFormat, use12Hours),
|
|
15391
15380
|
placeholder: placeholder?.[0] ?? "Start time",
|
|
15392
15381
|
onChange: (event) => updateIndex(0, event.currentTarget.value || undefined)
|
|
15393
15382
|
}),
|
|
15394
|
-
/* @__PURE__ */
|
|
15383
|
+
/* @__PURE__ */ jsx86("span", {
|
|
15395
15384
|
className: timePickerSeparatorClass,
|
|
15396
15385
|
children: separator
|
|
15397
15386
|
}),
|
|
15398
|
-
/* @__PURE__ */
|
|
15387
|
+
/* @__PURE__ */ jsx86("input", {
|
|
15399
15388
|
className: timePickerInputClass,
|
|
15400
15389
|
disabled,
|
|
15401
15390
|
value: displayValue(currentValue?.[1], timeFormat, use12Hours),
|
|
15402
15391
|
placeholder: placeholder?.[1] ?? "End time",
|
|
15403
15392
|
onChange: (event) => updateIndex(1, event.currentTarget.value || undefined)
|
|
15404
15393
|
}),
|
|
15405
|
-
showNow ? /* @__PURE__ */
|
|
15394
|
+
showNow ? /* @__PURE__ */ jsx86("button", {
|
|
15406
15395
|
type: "button",
|
|
15407
15396
|
className: timePickerNowClass,
|
|
15408
15397
|
disabled,
|
|
15409
15398
|
onClick: () => emitChange([nowValue(), nowValue()]),
|
|
15410
15399
|
children: "Now"
|
|
15411
15400
|
}) : null,
|
|
15412
|
-
allowClear && (currentValue?.[0] || currentValue?.[1]) && !disabled ? /* @__PURE__ */
|
|
15401
|
+
allowClear && (currentValue?.[0] || currentValue?.[1]) && !disabled ? /* @__PURE__ */ jsx86("button", {
|
|
15413
15402
|
type: "button",
|
|
15414
15403
|
className: timePickerClearClass,
|
|
15415
15404
|
"aria-label": "Clear time range",
|
|
@@ -15466,7 +15455,7 @@ function getTimelineMarkerClasses({
|
|
|
15466
15455
|
}
|
|
15467
15456
|
|
|
15468
15457
|
// src/components/timeline/Timeline.tsx
|
|
15469
|
-
import { jsx as
|
|
15458
|
+
import { jsx as jsx87, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
15470
15459
|
function buildItems({
|
|
15471
15460
|
items,
|
|
15472
15461
|
children,
|
|
@@ -15493,14 +15482,14 @@ var Timeline = forwardRef73(({
|
|
|
15493
15482
|
...props
|
|
15494
15483
|
}, ref) => {
|
|
15495
15484
|
const timelineItems = buildItems({ items, children, pending, reverse });
|
|
15496
|
-
return /* @__PURE__ */
|
|
15485
|
+
return /* @__PURE__ */ jsx87("div", {
|
|
15497
15486
|
...props,
|
|
15498
15487
|
ref,
|
|
15499
15488
|
className: getTimelineClasses({ mode, size, className }),
|
|
15500
15489
|
children: timelineItems.map((item, index) => /* @__PURE__ */ jsxs68("div", {
|
|
15501
15490
|
className: cn(timelineItemClass, item.pending && timelinePendingClass, item.className),
|
|
15502
15491
|
children: [
|
|
15503
|
-
/* @__PURE__ */
|
|
15492
|
+
/* @__PURE__ */ jsx87("span", {
|
|
15504
15493
|
className: getTimelineMarkerClasses({
|
|
15505
15494
|
color: item.color,
|
|
15506
15495
|
hasIcon: Boolean(item.dot)
|
|
@@ -15511,7 +15500,7 @@ var Timeline = forwardRef73(({
|
|
|
15511
15500
|
/* @__PURE__ */ jsxs68("div", {
|
|
15512
15501
|
className: timelineContentClass,
|
|
15513
15502
|
children: [
|
|
15514
|
-
item.label ? /* @__PURE__ */
|
|
15503
|
+
item.label ? /* @__PURE__ */ jsx87("span", {
|
|
15515
15504
|
className: timelineTimeClass,
|
|
15516
15505
|
children: item.label
|
|
15517
15506
|
}) : null,
|
|
@@ -15586,7 +15575,7 @@ function getTourIndicatorClasses({ active }) {
|
|
|
15586
15575
|
}
|
|
15587
15576
|
|
|
15588
15577
|
// src/components/tour/Tour.tsx
|
|
15589
|
-
import { jsx as
|
|
15578
|
+
import { jsx as jsx88, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
15590
15579
|
var defaultCloseIcon4 = "x";
|
|
15591
15580
|
var fallbackRect = {
|
|
15592
15581
|
top: 0,
|
|
@@ -15782,10 +15771,10 @@ var Tour = forwardRef74(({
|
|
|
15782
15771
|
if (indicatorsRender) {
|
|
15783
15772
|
return indicatorsRender(mergedCurrent, steps.length);
|
|
15784
15773
|
}
|
|
15785
|
-
return /* @__PURE__ */
|
|
15774
|
+
return /* @__PURE__ */ jsx88("div", {
|
|
15786
15775
|
className: tourIndicatorsClass,
|
|
15787
15776
|
"aria-label": "Tour steps",
|
|
15788
|
-
children: steps.map((_, index) => /* @__PURE__ */
|
|
15777
|
+
children: steps.map((_, index) => /* @__PURE__ */ jsx88("button", {
|
|
15789
15778
|
type: "button",
|
|
15790
15779
|
className: getTourIndicatorClasses({
|
|
15791
15780
|
active: index === mergedCurrent
|
|
@@ -15803,7 +15792,7 @@ var Tour = forwardRef74(({
|
|
|
15803
15792
|
className: getTourRootClasses({ open: visible, className }),
|
|
15804
15793
|
style: rootStyle,
|
|
15805
15794
|
children: [
|
|
15806
|
-
hasMask ? /* @__PURE__ */
|
|
15795
|
+
hasMask ? /* @__PURE__ */ jsx88("div", {
|
|
15807
15796
|
className: getTourMaskClasses({
|
|
15808
15797
|
visible: true,
|
|
15809
15798
|
className: maskConfig?.className
|
|
@@ -15814,7 +15803,7 @@ var Tour = forwardRef74(({
|
|
|
15814
15803
|
},
|
|
15815
15804
|
"aria-hidden": "true"
|
|
15816
15805
|
}) : null,
|
|
15817
|
-
showHighlight ? /* @__PURE__ */
|
|
15806
|
+
showHighlight ? /* @__PURE__ */ jsx88("div", {
|
|
15818
15807
|
className: tourTargetClass,
|
|
15819
15808
|
style: getHighlightStyle(targetRect, gap),
|
|
15820
15809
|
"aria-hidden": "true"
|
|
@@ -15835,18 +15824,18 @@ var Tour = forwardRef74(({
|
|
|
15835
15824
|
style: step.style
|
|
15836
15825
|
}),
|
|
15837
15826
|
children: [
|
|
15838
|
-
disabledInteraction ? /* @__PURE__ */
|
|
15827
|
+
disabledInteraction ? /* @__PURE__ */ jsx88("div", {
|
|
15839
15828
|
"aria-hidden": "true"
|
|
15840
15829
|
}) : null,
|
|
15841
15830
|
/* @__PURE__ */ jsxs69("div", {
|
|
15842
15831
|
className: tourHeaderClass,
|
|
15843
15832
|
children: [
|
|
15844
|
-
step.title ? /* @__PURE__ */
|
|
15833
|
+
step.title ? /* @__PURE__ */ jsx88("h2", {
|
|
15845
15834
|
id: titleId,
|
|
15846
15835
|
className: tourTitleClass,
|
|
15847
15836
|
children: step.title
|
|
15848
15837
|
}) : null,
|
|
15849
|
-
currentCloseIcon !== null && currentCloseIcon !== false ? /* @__PURE__ */
|
|
15838
|
+
currentCloseIcon !== null && currentCloseIcon !== false ? /* @__PURE__ */ jsx88("button", {
|
|
15850
15839
|
type: "button",
|
|
15851
15840
|
className: tourCloseClass,
|
|
15852
15841
|
"aria-label": "Close tour",
|
|
@@ -15855,11 +15844,11 @@ var Tour = forwardRef74(({
|
|
|
15855
15844
|
}) : null
|
|
15856
15845
|
]
|
|
15857
15846
|
}),
|
|
15858
|
-
step.cover ? /* @__PURE__ */
|
|
15847
|
+
step.cover ? /* @__PURE__ */ jsx88("div", {
|
|
15859
15848
|
className: tourCoverClass,
|
|
15860
15849
|
children: step.cover
|
|
15861
15850
|
}) : null,
|
|
15862
|
-
step.description ? /* @__PURE__ */
|
|
15851
|
+
step.description ? /* @__PURE__ */ jsx88("div", {
|
|
15863
15852
|
id: descriptionId,
|
|
15864
15853
|
className: tourBodyClass,
|
|
15865
15854
|
children: step.description
|
|
@@ -15871,7 +15860,7 @@ var Tour = forwardRef74(({
|
|
|
15871
15860
|
/* @__PURE__ */ jsxs69("div", {
|
|
15872
15861
|
className: tourActionsClass,
|
|
15873
15862
|
children: [
|
|
15874
|
-
mergedCurrent > 0 ? /* @__PURE__ */
|
|
15863
|
+
mergedCurrent > 0 ? /* @__PURE__ */ jsx88(Button, {
|
|
15875
15864
|
appearance: "text",
|
|
15876
15865
|
color: "secondary",
|
|
15877
15866
|
size: "sm",
|
|
@@ -15883,7 +15872,7 @@ var Tour = forwardRef74(({
|
|
|
15883
15872
|
},
|
|
15884
15873
|
children: currentPrevButtonProps?.children ?? "Previous"
|
|
15885
15874
|
}) : null,
|
|
15886
|
-
/* @__PURE__ */
|
|
15875
|
+
/* @__PURE__ */ jsx88(Button, {
|
|
15887
15876
|
color: "primary",
|
|
15888
15877
|
size: "sm",
|
|
15889
15878
|
...currentNextButtonProps,
|
|
@@ -15898,7 +15887,7 @@ var Tour = forwardRef74(({
|
|
|
15898
15887
|
})
|
|
15899
15888
|
]
|
|
15900
15889
|
}),
|
|
15901
|
-
/* @__PURE__ */
|
|
15890
|
+
/* @__PURE__ */ jsx88("span", {
|
|
15902
15891
|
className: tourArrowClass,
|
|
15903
15892
|
"aria-hidden": "true"
|
|
15904
15893
|
})
|
|
@@ -15950,7 +15939,7 @@ function getTransferListItemClasses({
|
|
|
15950
15939
|
}
|
|
15951
15940
|
|
|
15952
15941
|
// src/components/transfer/Transfer.tsx
|
|
15953
|
-
import { jsx as
|
|
15942
|
+
import { jsx as jsx89, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
15954
15943
|
var defaultLocale2 = {
|
|
15955
15944
|
itemUnit: "item",
|
|
15956
15945
|
itemsUnit: "items",
|
|
@@ -16032,7 +16021,7 @@ var TransferSearch = forwardRef75(({
|
|
|
16032
16021
|
placeholder = defaultLocale2.searchPlaceholder,
|
|
16033
16022
|
onChange,
|
|
16034
16023
|
...props
|
|
16035
|
-
}, ref) => /* @__PURE__ */
|
|
16024
|
+
}, ref) => /* @__PURE__ */ jsx89("input", {
|
|
16036
16025
|
...props,
|
|
16037
16026
|
ref,
|
|
16038
16027
|
type: "search",
|
|
@@ -16058,7 +16047,7 @@ var TransferOperation = forwardRef75(({
|
|
|
16058
16047
|
ref,
|
|
16059
16048
|
className: [transferOperationClass, className].filter(Boolean).join(" "),
|
|
16060
16049
|
children: [
|
|
16061
|
-
/* @__PURE__ */
|
|
16050
|
+
/* @__PURE__ */ jsx89("button", {
|
|
16062
16051
|
type: "button",
|
|
16063
16052
|
className: transferOperationButtonClass,
|
|
16064
16053
|
disabled: disabled || moveToRightDisabled,
|
|
@@ -16066,7 +16055,7 @@ var TransferOperation = forwardRef75(({
|
|
|
16066
16055
|
onClick: onMoveToRight,
|
|
16067
16056
|
children: operations[0] ?? ">"
|
|
16068
16057
|
}),
|
|
16069
|
-
oneWay ? null : /* @__PURE__ */
|
|
16058
|
+
oneWay ? null : /* @__PURE__ */ jsx89("button", {
|
|
16070
16059
|
type: "button",
|
|
16071
16060
|
className: transferOperationButtonClass,
|
|
16072
16061
|
disabled: disabled || moveToLeftDisabled,
|
|
@@ -16125,7 +16114,7 @@ function TransferListRoot({
|
|
|
16125
16114
|
/* @__PURE__ */ jsxs70("div", {
|
|
16126
16115
|
className: transferListHeaderClass,
|
|
16127
16116
|
children: [
|
|
16128
|
-
/* @__PURE__ */
|
|
16117
|
+
/* @__PURE__ */ jsx89("span", {
|
|
16129
16118
|
children: title
|
|
16130
16119
|
}),
|
|
16131
16120
|
/* @__PURE__ */ jsxs70("span", {
|
|
@@ -16137,17 +16126,17 @@ function TransferListRoot({
|
|
|
16137
16126
|
})
|
|
16138
16127
|
]
|
|
16139
16128
|
}),
|
|
16140
|
-
showSearch ? /* @__PURE__ */
|
|
16129
|
+
showSearch ? /* @__PURE__ */ jsx89(TransferSearch, {
|
|
16141
16130
|
value: mergedSearchValue,
|
|
16142
16131
|
disabled,
|
|
16143
16132
|
placeholder: searchPlaceholder,
|
|
16144
16133
|
"aria-label": `Search ${direction} list`,
|
|
16145
16134
|
onChange: handleSearch
|
|
16146
16135
|
}) : null,
|
|
16147
|
-
/* @__PURE__ */
|
|
16136
|
+
/* @__PURE__ */ jsx89("div", {
|
|
16148
16137
|
className: transferListBodyClass,
|
|
16149
16138
|
role: "listbox",
|
|
16150
|
-
children: visibleItems.length === 0 ? /* @__PURE__ */
|
|
16139
|
+
children: visibleItems.length === 0 ? /* @__PURE__ */ jsx89("div", {
|
|
16151
16140
|
className: transferListEmptyClass,
|
|
16152
16141
|
children: notFoundContent
|
|
16153
16142
|
}) : visibleItems.map((item) => {
|
|
@@ -16159,7 +16148,7 @@ function TransferListRoot({
|
|
|
16159
16148
|
disabled: disabled || item.disabled
|
|
16160
16149
|
}),
|
|
16161
16150
|
children: [
|
|
16162
|
-
/* @__PURE__ */
|
|
16151
|
+
/* @__PURE__ */ jsx89("input", {
|
|
16163
16152
|
type: "checkbox",
|
|
16164
16153
|
"aria-label": rendered.value,
|
|
16165
16154
|
checked: selected,
|
|
@@ -16170,7 +16159,7 @@ function TransferListRoot({
|
|
|
16170
16159
|
className: transferListItemContentClass,
|
|
16171
16160
|
children: [
|
|
16172
16161
|
rendered.label,
|
|
16173
|
-
item.description ? /* @__PURE__ */
|
|
16162
|
+
item.description ? /* @__PURE__ */ jsx89("span", {
|
|
16174
16163
|
className: transferListItemDescriptionClass,
|
|
16175
16164
|
children: item.description
|
|
16176
16165
|
}) : null
|
|
@@ -16183,7 +16172,7 @@ function TransferListRoot({
|
|
|
16183
16172
|
pageSize && pageCount > 1 ? /* @__PURE__ */ jsxs70("div", {
|
|
16184
16173
|
className: transferPaginationClass,
|
|
16185
16174
|
children: [
|
|
16186
|
-
/* @__PURE__ */
|
|
16175
|
+
/* @__PURE__ */ jsx89("button", {
|
|
16187
16176
|
type: "button",
|
|
16188
16177
|
className: transferPaginationButtonClass,
|
|
16189
16178
|
disabled: disabled || currentPage <= 1,
|
|
@@ -16197,7 +16186,7 @@ function TransferListRoot({
|
|
|
16197
16186
|
pageCount
|
|
16198
16187
|
]
|
|
16199
16188
|
}),
|
|
16200
|
-
/* @__PURE__ */
|
|
16189
|
+
/* @__PURE__ */ jsx89("button", {
|
|
16201
16190
|
type: "button",
|
|
16202
16191
|
className: transferPaginationButtonClass,
|
|
16203
16192
|
disabled: disabled || currentPage >= pageCount,
|
|
@@ -16283,7 +16272,7 @@ function TransferRoot({
|
|
|
16283
16272
|
ref,
|
|
16284
16273
|
className: getTransferClasses({ disabled, oneWay, className }),
|
|
16285
16274
|
children: [
|
|
16286
|
-
/* @__PURE__ */
|
|
16275
|
+
/* @__PURE__ */ jsx89(TransferListComponent, {
|
|
16287
16276
|
direction: "left",
|
|
16288
16277
|
title: titles[0],
|
|
16289
16278
|
items: sourceItems,
|
|
@@ -16299,7 +16288,7 @@ function TransferRoot({
|
|
|
16299
16288
|
onSearch,
|
|
16300
16289
|
onItemSelect: handleItemSelect
|
|
16301
16290
|
}),
|
|
16302
|
-
/* @__PURE__ */
|
|
16291
|
+
/* @__PURE__ */ jsx89(TransferOperation, {
|
|
16303
16292
|
disabled,
|
|
16304
16293
|
oneWay,
|
|
16305
16294
|
operations,
|
|
@@ -16308,7 +16297,7 @@ function TransferRoot({
|
|
|
16308
16297
|
onMoveToRight: () => move("right"),
|
|
16309
16298
|
onMoveToLeft: () => move("left")
|
|
16310
16299
|
}),
|
|
16311
|
-
/* @__PURE__ */
|
|
16300
|
+
/* @__PURE__ */ jsx89(TransferListComponent, {
|
|
16312
16301
|
direction: "right",
|
|
16313
16302
|
title: titles[1],
|
|
16314
16303
|
items: targetItems,
|
|
@@ -16386,7 +16375,7 @@ function getTreeSelectNodeClasses({
|
|
|
16386
16375
|
}
|
|
16387
16376
|
|
|
16388
16377
|
// src/components/tree-select/TreeSelect.tsx
|
|
16389
|
-
import { jsx as
|
|
16378
|
+
import { jsx as jsx90, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
16390
16379
|
var SHOW_ALL = "SHOW_ALL";
|
|
16391
16380
|
var SHOW_PARENT = "SHOW_PARENT";
|
|
16392
16381
|
var SHOW_CHILD = "SHOW_CHILD";
|
|
@@ -16676,7 +16665,7 @@ function TreeSelectRoot({
|
|
|
16676
16665
|
}),
|
|
16677
16666
|
style: { paddingLeft: item.level * 16 },
|
|
16678
16667
|
children: [
|
|
16679
|
-
hasChildren || item.node.isLeaf === false ? /* @__PURE__ */
|
|
16668
|
+
hasChildren || item.node.isLeaf === false ? /* @__PURE__ */ jsx90("button", {
|
|
16680
16669
|
type: "button",
|
|
16681
16670
|
className: treeSelectSwitcherClass,
|
|
16682
16671
|
"aria-label": `${expanded ? "Collapse" : "Expand"} ${String(item.title)}`,
|
|
@@ -16686,11 +16675,11 @@ function TreeSelectRoot({
|
|
|
16686
16675
|
setExpanded(expanded ? currentExpandedKeys.filter((key) => key !== item.key) : [...currentExpandedKeys, item.key], item);
|
|
16687
16676
|
},
|
|
16688
16677
|
children: expanded ? "-" : "+"
|
|
16689
|
-
}) : /* @__PURE__ */
|
|
16678
|
+
}) : /* @__PURE__ */ jsx90("span", {
|
|
16690
16679
|
className: treeSelectSwitcherClass,
|
|
16691
16680
|
"aria-hidden": "true"
|
|
16692
16681
|
}),
|
|
16693
|
-
checkable ? /* @__PURE__ */
|
|
16682
|
+
checkable ? /* @__PURE__ */ jsx90("input", {
|
|
16694
16683
|
type: "checkbox",
|
|
16695
16684
|
className: treeSelectCheckboxClass,
|
|
16696
16685
|
checked: selected,
|
|
@@ -16698,7 +16687,7 @@ function TreeSelectRoot({
|
|
|
16698
16687
|
"aria-label": `Check ${String(item.title)}`,
|
|
16699
16688
|
onChange: () => selectItem(item)
|
|
16700
16689
|
}) : null,
|
|
16701
|
-
/* @__PURE__ */
|
|
16690
|
+
/* @__PURE__ */ jsx90("button", {
|
|
16702
16691
|
type: "button",
|
|
16703
16692
|
role: "treeitem",
|
|
16704
16693
|
"aria-selected": selected,
|
|
@@ -16715,7 +16704,7 @@ function TreeSelectRoot({
|
|
|
16715
16704
|
}, item.key);
|
|
16716
16705
|
}
|
|
16717
16706
|
const renderedItems = displayItems(selectedItems, flatNodes, selectedKeys, treeCheckedStrategy);
|
|
16718
|
-
const selection = multi ? renderedItems.map((item) => /* @__PURE__ */
|
|
16707
|
+
const selection = multi ? renderedItems.map((item) => /* @__PURE__ */ jsx90("span", {
|
|
16719
16708
|
className: treeSelectTagClass,
|
|
16720
16709
|
children: item.title
|
|
16721
16710
|
}, item.key)) : renderedItems[0]?.title;
|
|
@@ -16737,21 +16726,21 @@ function TreeSelectRoot({
|
|
|
16737
16726
|
"aria-expanded": currentOpen,
|
|
16738
16727
|
onClick: () => setDropdownOpen(!currentOpen),
|
|
16739
16728
|
children: [
|
|
16740
|
-
/* @__PURE__ */
|
|
16729
|
+
/* @__PURE__ */ jsx90("span", {
|
|
16741
16730
|
className: treeSelectSelectionClass,
|
|
16742
|
-
children: hasValue ? selection : /* @__PURE__ */
|
|
16731
|
+
children: hasValue ? selection : /* @__PURE__ */ jsx90("span", {
|
|
16743
16732
|
className: treeSelectPlaceholderClass,
|
|
16744
16733
|
children: placeholder
|
|
16745
16734
|
})
|
|
16746
16735
|
}),
|
|
16747
|
-
/* @__PURE__ */
|
|
16736
|
+
/* @__PURE__ */ jsx90("span", {
|
|
16748
16737
|
className: treeSelectIconClass,
|
|
16749
16738
|
"aria-hidden": "true",
|
|
16750
16739
|
children: "v"
|
|
16751
16740
|
})
|
|
16752
16741
|
]
|
|
16753
16742
|
}),
|
|
16754
|
-
allowClear && hasValue && !disabled ? /* @__PURE__ */
|
|
16743
|
+
allowClear && hasValue && !disabled ? /* @__PURE__ */ jsx90("button", {
|
|
16755
16744
|
type: "button",
|
|
16756
16745
|
className: treeSelectClearClass,
|
|
16757
16746
|
"aria-label": "Clear selection",
|
|
@@ -16761,7 +16750,7 @@ function TreeSelectRoot({
|
|
|
16761
16750
|
currentOpen ? /* @__PURE__ */ jsxs71("div", {
|
|
16762
16751
|
className: treeSelectDropdownClass,
|
|
16763
16752
|
children: [
|
|
16764
|
-
searchable ? /* @__PURE__ */
|
|
16753
|
+
searchable ? /* @__PURE__ */ jsx90("input", {
|
|
16765
16754
|
className: treeSelectSearchClass,
|
|
16766
16755
|
value: currentSearch,
|
|
16767
16756
|
placeholder: typeof placeholder === "string" ? placeholder : undefined,
|
|
@@ -16773,11 +16762,11 @@ function TreeSelectRoot({
|
|
|
16773
16762
|
onSearch?.(nextSearch);
|
|
16774
16763
|
}
|
|
16775
16764
|
}) : null,
|
|
16776
|
-
/* @__PURE__ */
|
|
16765
|
+
/* @__PURE__ */ jsx90("div", {
|
|
16777
16766
|
className: treeSelectListClass,
|
|
16778
16767
|
role: "tree",
|
|
16779
16768
|
"aria-multiselectable": multi || undefined,
|
|
16780
|
-
children: visibleFlatNodes.length > 0 && visibleTree.length > 0 ? visibleTree.map(renderNode) : /* @__PURE__ */
|
|
16769
|
+
children: visibleFlatNodes.length > 0 && visibleTree.length > 0 ? visibleTree.map(renderNode) : /* @__PURE__ */ jsx90("div", {
|
|
16781
16770
|
className: treeSelectEmptyClass,
|
|
16782
16771
|
children: "No data"
|
|
16783
16772
|
})
|
|
@@ -16865,7 +16854,7 @@ function getTypographyLinkClasses({
|
|
|
16865
16854
|
}
|
|
16866
16855
|
|
|
16867
16856
|
// src/components/typography/Typography.tsx
|
|
16868
|
-
import { jsx as
|
|
16857
|
+
import { jsx as jsx91, jsxs as jsxs72, Fragment as Fragment15 } from "react/jsx-runtime";
|
|
16869
16858
|
function toText(children) {
|
|
16870
16859
|
if (typeof children === "string" || typeof children === "number") {
|
|
16871
16860
|
return String(children);
|
|
@@ -16937,37 +16926,37 @@ function wrapSemanticContent(content, {
|
|
|
16937
16926
|
}) {
|
|
16938
16927
|
let current = content;
|
|
16939
16928
|
if (code) {
|
|
16940
|
-
current = /* @__PURE__ */
|
|
16929
|
+
current = /* @__PURE__ */ jsx91("code", {
|
|
16941
16930
|
children: current
|
|
16942
16931
|
});
|
|
16943
16932
|
}
|
|
16944
16933
|
if (keyboard) {
|
|
16945
|
-
current = /* @__PURE__ */
|
|
16934
|
+
current = /* @__PURE__ */ jsx91("kbd", {
|
|
16946
16935
|
children: current
|
|
16947
16936
|
});
|
|
16948
16937
|
}
|
|
16949
16938
|
if (mark) {
|
|
16950
|
-
current = /* @__PURE__ */
|
|
16939
|
+
current = /* @__PURE__ */ jsx91("mark", {
|
|
16951
16940
|
children: current
|
|
16952
16941
|
});
|
|
16953
16942
|
}
|
|
16954
16943
|
if (strong) {
|
|
16955
|
-
current = /* @__PURE__ */
|
|
16944
|
+
current = /* @__PURE__ */ jsx91("strong", {
|
|
16956
16945
|
children: current
|
|
16957
16946
|
});
|
|
16958
16947
|
}
|
|
16959
16948
|
if (italic) {
|
|
16960
|
-
current = /* @__PURE__ */
|
|
16949
|
+
current = /* @__PURE__ */ jsx91("em", {
|
|
16961
16950
|
children: current
|
|
16962
16951
|
});
|
|
16963
16952
|
}
|
|
16964
16953
|
if (underline) {
|
|
16965
|
-
current = /* @__PURE__ */
|
|
16954
|
+
current = /* @__PURE__ */ jsx91("u", {
|
|
16966
16955
|
children: current
|
|
16967
16956
|
});
|
|
16968
16957
|
}
|
|
16969
16958
|
if (deleted) {
|
|
16970
|
-
current = /* @__PURE__ */
|
|
16959
|
+
current = /* @__PURE__ */ jsx91("del", {
|
|
16971
16960
|
children: current
|
|
16972
16961
|
});
|
|
16973
16962
|
}
|
|
@@ -16990,7 +16979,7 @@ function EditableContent({
|
|
|
16990
16979
|
}
|
|
16991
16980
|
}, [editing]);
|
|
16992
16981
|
if (!editable || disabled) {
|
|
16993
|
-
return /* @__PURE__ */
|
|
16982
|
+
return /* @__PURE__ */ jsx91(Fragment15, {
|
|
16994
16983
|
children
|
|
16995
16984
|
});
|
|
16996
16985
|
}
|
|
@@ -17029,7 +17018,7 @@ function EditableContent({
|
|
|
17029
17018
|
return /* @__PURE__ */ jsxs72("span", {
|
|
17030
17019
|
className: typographyEditingClass,
|
|
17031
17020
|
children: [
|
|
17032
|
-
/* @__PURE__ */
|
|
17021
|
+
/* @__PURE__ */ jsx91("textarea", {
|
|
17033
17022
|
ref: textareaRef,
|
|
17034
17023
|
className: typographyEditInputClass,
|
|
17035
17024
|
"aria-label": "Edit text",
|
|
@@ -17041,14 +17030,14 @@ function EditableContent({
|
|
|
17041
17030
|
},
|
|
17042
17031
|
onKeyDown: handleKeyDown
|
|
17043
17032
|
}),
|
|
17044
|
-
/* @__PURE__ */
|
|
17033
|
+
/* @__PURE__ */ jsx91("button", {
|
|
17045
17034
|
type: "button",
|
|
17046
17035
|
className: typographyActionClass,
|
|
17047
17036
|
"aria-label": "Save edit",
|
|
17048
17037
|
onClick: endEdit,
|
|
17049
17038
|
children: editableConfig.enterIcon ?? "Save"
|
|
17050
17039
|
}),
|
|
17051
|
-
/* @__PURE__ */
|
|
17040
|
+
/* @__PURE__ */ jsx91("button", {
|
|
17052
17041
|
type: "button",
|
|
17053
17042
|
className: typographyActionClass,
|
|
17054
17043
|
"aria-label": "Cancel edit",
|
|
@@ -17062,7 +17051,7 @@ function EditableContent({
|
|
|
17062
17051
|
return /* @__PURE__ */ jsxs72(Fragment15, {
|
|
17063
17052
|
children: [
|
|
17064
17053
|
children,
|
|
17065
|
-
/* @__PURE__ */
|
|
17054
|
+
/* @__PURE__ */ jsx91("button", {
|
|
17066
17055
|
type: "button",
|
|
17067
17056
|
className: typographyActionClass,
|
|
17068
17057
|
title: typeof editableConfig.tooltip === "string" ? editableConfig.tooltip : undefined,
|
|
@@ -17085,14 +17074,14 @@ function TypographyActions({
|
|
|
17085
17074
|
}) {
|
|
17086
17075
|
return /* @__PURE__ */ jsxs72(Fragment15, {
|
|
17087
17076
|
children: [
|
|
17088
|
-
ellipsis?.expandable ? /* @__PURE__ */
|
|
17077
|
+
ellipsis?.expandable ? /* @__PURE__ */ jsx91("button", {
|
|
17089
17078
|
type: "button",
|
|
17090
17079
|
className: cn(typographyActionClass, typographyExpandClass),
|
|
17091
17080
|
"aria-expanded": expanded,
|
|
17092
17081
|
onClick: onToggleExpand,
|
|
17093
17082
|
children: getExpandSymbol(ellipsis, expanded)
|
|
17094
17083
|
}) : null,
|
|
17095
|
-
copyable ? /* @__PURE__ */
|
|
17084
|
+
copyable ? /* @__PURE__ */ jsx91("button", {
|
|
17096
17085
|
type: "button",
|
|
17097
17086
|
className: typographyActionClass,
|
|
17098
17087
|
"aria-label": "Copy text",
|
|
@@ -17138,7 +17127,7 @@ function useTypographyBehavior({
|
|
|
17138
17127
|
sourceText
|
|
17139
17128
|
};
|
|
17140
17129
|
}
|
|
17141
|
-
var TypographyRoot = forwardRef77(({ className, ...props }, ref) => /* @__PURE__ */
|
|
17130
|
+
var TypographyRoot = forwardRef77(({ className, ...props }, ref) => /* @__PURE__ */ jsx91("div", {
|
|
17142
17131
|
...props,
|
|
17143
17132
|
ref,
|
|
17144
17133
|
className: getTypographyClasses(className)
|
|
@@ -17206,7 +17195,7 @@ var Text = forwardRef77(({
|
|
|
17206
17195
|
ellipsisConfig?.suffix && !expanded ? ellipsisConfig.suffix : null
|
|
17207
17196
|
]
|
|
17208
17197
|
}),
|
|
17209
|
-
/* @__PURE__ */
|
|
17198
|
+
/* @__PURE__ */ jsx91(TypographyActions, {
|
|
17210
17199
|
copyable: copyConfig,
|
|
17211
17200
|
ellipsis: ellipsisConfig,
|
|
17212
17201
|
disabled,
|
|
@@ -17280,7 +17269,7 @@ var Paragraph = forwardRef77(({
|
|
|
17280
17269
|
ellipsisConfig?.suffix && !expanded ? ellipsisConfig.suffix : null
|
|
17281
17270
|
]
|
|
17282
17271
|
}),
|
|
17283
|
-
/* @__PURE__ */
|
|
17272
|
+
/* @__PURE__ */ jsx91(TypographyActions, {
|
|
17284
17273
|
copyable: copyConfig,
|
|
17285
17274
|
ellipsis: ellipsisConfig,
|
|
17286
17275
|
disabled,
|
|
@@ -17355,7 +17344,7 @@ var Title = forwardRef77(({
|
|
|
17355
17344
|
content,
|
|
17356
17345
|
ellipsisConfig?.suffix && !expanded ? ellipsisConfig.suffix : null
|
|
17357
17346
|
]
|
|
17358
|
-
}), /* @__PURE__ */
|
|
17347
|
+
}), /* @__PURE__ */ jsx91(TypographyActions, {
|
|
17359
17348
|
copyable: copyConfig,
|
|
17360
17349
|
ellipsis: ellipsisConfig,
|
|
17361
17350
|
disabled,
|
|
@@ -17421,7 +17410,7 @@ var Link = forwardRef77(({
|
|
|
17421
17410
|
children: [
|
|
17422
17411
|
content,
|
|
17423
17412
|
ellipsisConfig?.suffix && !expanded ? ellipsisConfig.suffix : null,
|
|
17424
|
-
/* @__PURE__ */
|
|
17413
|
+
/* @__PURE__ */ jsx91(TypographyActions, {
|
|
17425
17414
|
ellipsis: ellipsisConfig,
|
|
17426
17415
|
disabled,
|
|
17427
17416
|
sourceText: "",
|
|
@@ -17488,7 +17477,7 @@ function getUploadItemClasses({
|
|
|
17488
17477
|
}
|
|
17489
17478
|
|
|
17490
17479
|
// src/components/upload/Upload.tsx
|
|
17491
|
-
import { jsx as
|
|
17480
|
+
import { jsx as jsx92, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
17492
17481
|
var LIST_IGNORE = Symbol("Upload.LIST_IGNORE");
|
|
17493
17482
|
var uidSeed = 0;
|
|
17494
17483
|
function nextUid() {
|
|
@@ -17655,12 +17644,12 @@ function UploadRoot({
|
|
|
17655
17644
|
}
|
|
17656
17645
|
}
|
|
17657
17646
|
function renderTrigger() {
|
|
17658
|
-
const trigger = children ?? /* @__PURE__ */
|
|
17647
|
+
const trigger = children ?? /* @__PURE__ */ jsx92("button", {
|
|
17659
17648
|
type: "button",
|
|
17660
17649
|
children: "Upload"
|
|
17661
17650
|
});
|
|
17662
17651
|
if (dragger) {
|
|
17663
|
-
return /* @__PURE__ */
|
|
17652
|
+
return /* @__PURE__ */ jsx92("div", {
|
|
17664
17653
|
className: uploadDropzoneClass,
|
|
17665
17654
|
role: "button",
|
|
17666
17655
|
tabIndex: disabled ? -1 : 0,
|
|
@@ -17700,7 +17689,7 @@ function UploadRoot({
|
|
|
17700
17689
|
}
|
|
17701
17690
|
});
|
|
17702
17691
|
}
|
|
17703
|
-
return /* @__PURE__ */
|
|
17692
|
+
return /* @__PURE__ */ jsx92("button", {
|
|
17704
17693
|
type: "button",
|
|
17705
17694
|
className: uploadTriggerClass,
|
|
17706
17695
|
disabled,
|
|
@@ -17718,7 +17707,7 @@ function UploadRoot({
|
|
|
17718
17707
|
className
|
|
17719
17708
|
}),
|
|
17720
17709
|
children: [
|
|
17721
|
-
/* @__PURE__ */
|
|
17710
|
+
/* @__PURE__ */ jsx92("input", {
|
|
17722
17711
|
ref: inputRef,
|
|
17723
17712
|
className: uploadInputClass,
|
|
17724
17713
|
type: "file",
|
|
@@ -17732,7 +17721,7 @@ function UploadRoot({
|
|
|
17732
17721
|
}
|
|
17733
17722
|
}),
|
|
17734
17723
|
renderTrigger(),
|
|
17735
|
-
mergedFileList.length > 0 ? /* @__PURE__ */
|
|
17724
|
+
mergedFileList.length > 0 ? /* @__PURE__ */ jsx92("div", {
|
|
17736
17725
|
className: getUploadListClasses({ listType }),
|
|
17737
17726
|
children: mergedFileList.map((file) => {
|
|
17738
17727
|
const size = formatSize(file.size);
|
|
@@ -17742,27 +17731,27 @@ function UploadRoot({
|
|
|
17742
17731
|
/* @__PURE__ */ jsxs73("div", {
|
|
17743
17732
|
className: uploadItemInfoClass,
|
|
17744
17733
|
children: [
|
|
17745
|
-
/* @__PURE__ */
|
|
17734
|
+
/* @__PURE__ */ jsx92("button", {
|
|
17746
17735
|
type: "button",
|
|
17747
17736
|
className: uploadPreviewClass,
|
|
17748
17737
|
disabled,
|
|
17749
17738
|
onClick: () => onPreview?.(file),
|
|
17750
|
-
children: /* @__PURE__ */
|
|
17739
|
+
children: /* @__PURE__ */ jsx92("span", {
|
|
17751
17740
|
className: uploadItemNameClass,
|
|
17752
17741
|
children: file.name
|
|
17753
17742
|
})
|
|
17754
17743
|
}),
|
|
17755
|
-
size ? /* @__PURE__ */
|
|
17744
|
+
size ? /* @__PURE__ */ jsx92("span", {
|
|
17756
17745
|
className: uploadItemSizeClass,
|
|
17757
17746
|
children: size
|
|
17758
17747
|
}) : null,
|
|
17759
|
-
typeof file.percent === "number" ? /* @__PURE__ */
|
|
17748
|
+
typeof file.percent === "number" ? /* @__PURE__ */ jsx92("div", {
|
|
17760
17749
|
className: uploadProgressClass,
|
|
17761
17750
|
role: "progressbar",
|
|
17762
17751
|
"aria-valuemin": 0,
|
|
17763
17752
|
"aria-valuemax": 100,
|
|
17764
17753
|
"aria-valuenow": file.percent,
|
|
17765
|
-
children: /* @__PURE__ */
|
|
17754
|
+
children: /* @__PURE__ */ jsx92("div", {
|
|
17766
17755
|
className: uploadProgressBarClass,
|
|
17767
17756
|
style: {
|
|
17768
17757
|
width: `${Math.max(0, Math.min(100, file.percent))}%`
|
|
@@ -17771,9 +17760,9 @@ function UploadRoot({
|
|
|
17771
17760
|
}) : null
|
|
17772
17761
|
]
|
|
17773
17762
|
}),
|
|
17774
|
-
/* @__PURE__ */
|
|
17763
|
+
/* @__PURE__ */ jsx92("div", {
|
|
17775
17764
|
className: uploadItemActionsClass,
|
|
17776
|
-
children: /* @__PURE__ */
|
|
17765
|
+
children: /* @__PURE__ */ jsx92("button", {
|
|
17777
17766
|
type: "button",
|
|
17778
17767
|
className: uploadRemoveClass,
|
|
17779
17768
|
disabled,
|
|
@@ -17791,7 +17780,7 @@ function UploadRoot({
|
|
|
17791
17780
|
}
|
|
17792
17781
|
var UploadFrame = forwardRef78(UploadRoot);
|
|
17793
17782
|
UploadFrame.displayName = "Upload";
|
|
17794
|
-
var Dragger = forwardRef78((props, ref) => /* @__PURE__ */
|
|
17783
|
+
var Dragger = forwardRef78((props, ref) => /* @__PURE__ */ jsx92(UploadFrame, {
|
|
17795
17784
|
...props,
|
|
17796
17785
|
ref,
|
|
17797
17786
|
dragger: true
|
|
@@ -17811,7 +17800,7 @@ function getWatermarkClasses({ className }) {
|
|
|
17811
17800
|
}
|
|
17812
17801
|
|
|
17813
17802
|
// src/components/watermark/Watermark.tsx
|
|
17814
|
-
import { jsx as
|
|
17803
|
+
import { jsx as jsx93, jsxs as jsxs74 } from "react/jsx-runtime";
|
|
17815
17804
|
function encodeSvg(svg) {
|
|
17816
17805
|
return `url("data:image/svg+xml,${encodeURIComponent(svg)}")`;
|
|
17817
17806
|
}
|
|
@@ -17856,11 +17845,11 @@ var Watermark = forwardRef79(({
|
|
|
17856
17845
|
className: getWatermarkClasses({ className }),
|
|
17857
17846
|
style: { position: "relative", ...style },
|
|
17858
17847
|
children: [
|
|
17859
|
-
/* @__PURE__ */
|
|
17848
|
+
/* @__PURE__ */ jsx93("div", {
|
|
17860
17849
|
className: watermarkContentClass,
|
|
17861
17850
|
children
|
|
17862
17851
|
}),
|
|
17863
|
-
/* @__PURE__ */
|
|
17852
|
+
/* @__PURE__ */ jsx93("div", {
|
|
17864
17853
|
"aria-hidden": "true",
|
|
17865
17854
|
"data-watermark-source": image ?? (typeof content === "string" || typeof content === "number" ? String(content) : undefined),
|
|
17866
17855
|
"data-inherit": inherit || undefined,
|
|
@@ -17996,7 +17985,6 @@ export {
|
|
|
17996
17985
|
DmSearch,
|
|
17997
17986
|
DmQuery,
|
|
17998
17987
|
DmProvider,
|
|
17999
|
-
DmProTableInner,
|
|
18000
17988
|
DmProTable,
|
|
18001
17989
|
DmPagination,
|
|
18002
17990
|
DmPageHeader,
|