@rufous/ui 0.3.52 → 0.3.54
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/main.cjs +577 -117
- package/dist/main.css +445 -0
- package/dist/main.d.cts +109 -1
- package/dist/main.d.ts +109 -1
- package/dist/main.js +1410 -963
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -37,6 +37,7 @@ __export(main_exports, {
|
|
|
37
37
|
AddButton: () => addButton_default,
|
|
38
38
|
AddIcon: () => AddIcon,
|
|
39
39
|
AddressLookup: () => AddressLookup_default,
|
|
40
|
+
Alert: () => Alert,
|
|
40
41
|
AlertTriangleIcon: () => alertTriangleIcon_default,
|
|
41
42
|
ArchivedIcon: () => archivedIcon_default,
|
|
42
43
|
ArrowDownIcon: () => arrowDownIcon_default,
|
|
@@ -54,6 +55,7 @@ __export(main_exports, {
|
|
|
54
55
|
Breadcrumbs: () => Breadcrumbs,
|
|
55
56
|
BusinessIcon: () => businessIcon_default,
|
|
56
57
|
Button: () => Button,
|
|
58
|
+
ButtonGroup: () => ButtonGroup,
|
|
57
59
|
CalendarIcon: () => calendarIcon_default,
|
|
58
60
|
CameraIcon: () => cameraIcon_default,
|
|
59
61
|
CancelButton: () => cancelButton_default,
|
|
@@ -77,6 +79,7 @@ __export(main_exports, {
|
|
|
77
79
|
CloseIcon: () => closeIcon_default,
|
|
78
80
|
Collapse: () => Collapse,
|
|
79
81
|
ContactsIcon: () => contactsIcon_default,
|
|
82
|
+
Container: () => Container,
|
|
80
83
|
CopyIcon: () => copyIcon_default,
|
|
81
84
|
CustomImage: () => CustomImage,
|
|
82
85
|
CustomTaskItem: () => CustomTaskItem,
|
|
@@ -106,6 +109,7 @@ __export(main_exports, {
|
|
|
106
109
|
FlagIcon: () => flagIcon_default,
|
|
107
110
|
FontFamily: () => FontFamily,
|
|
108
111
|
FontSize: () => FontSize,
|
|
112
|
+
FormGroup: () => FormGroup,
|
|
109
113
|
FunctionIcon: () => functionIcon_default,
|
|
110
114
|
GlobeIcon: () => globeIcon_default,
|
|
111
115
|
Grid: () => Grid,
|
|
@@ -124,6 +128,7 @@ __export(main_exports, {
|
|
|
124
128
|
InfoIcon: () => infoIcon_default,
|
|
125
129
|
InvoiceIcon: () => invoiceIcon_default,
|
|
126
130
|
LineHeight: () => LineHeight,
|
|
131
|
+
LinearProgress: () => LinearProgress,
|
|
127
132
|
Link: () => Link,
|
|
128
133
|
LinkIcon: () => linkIcon_default,
|
|
129
134
|
List: () => List,
|
|
@@ -155,6 +160,7 @@ __export(main_exports, {
|
|
|
155
160
|
NotesIcon: () => notesIcon_default,
|
|
156
161
|
NotificationIcon: () => notificationIcon_default,
|
|
157
162
|
OpenInFullIcon: () => openInFullIcon_default,
|
|
163
|
+
Pagination: () => Pagination,
|
|
158
164
|
Paper: () => Paper,
|
|
159
165
|
PaperclipIcon: () => paperclipIcon_default,
|
|
160
166
|
PersonSearchIcon: () => personSearchIcon_default,
|
|
@@ -237,6 +243,13 @@ __export(main_exports, {
|
|
|
237
243
|
TextField: () => TextField,
|
|
238
244
|
TextFieldsIcon: () => textFieldsIcon_default,
|
|
239
245
|
TickIcon: () => tickIcon_default,
|
|
246
|
+
Timeline: () => Timeline,
|
|
247
|
+
TimelineConnector: () => TimelineConnector,
|
|
248
|
+
TimelineContent: () => TimelineContent,
|
|
249
|
+
TimelineDot: () => TimelineDot,
|
|
250
|
+
TimelineItem: () => TimelineItem,
|
|
251
|
+
TimelineOppositeContent: () => TimelineOppositeContent,
|
|
252
|
+
TimelineSeparator: () => TimelineSeparator,
|
|
240
253
|
TimerIcon: () => timerIcon_default,
|
|
241
254
|
ToggleButton: () => ToggleButton,
|
|
242
255
|
ToggleButtonGroup: () => ToggleButtonGroup,
|
|
@@ -1764,8 +1777,48 @@ var IconButton = React130.forwardRef(
|
|
|
1764
1777
|
);
|
|
1765
1778
|
IconButton.displayName = "IconButton";
|
|
1766
1779
|
|
|
1767
|
-
// lib/
|
|
1780
|
+
// lib/Buttons/ButtonGroup.tsx
|
|
1768
1781
|
var React131 = __toESM(require("react"), 1);
|
|
1782
|
+
var ButtonGroup = React131.forwardRef(
|
|
1783
|
+
({
|
|
1784
|
+
orientation = "horizontal",
|
|
1785
|
+
variant = "outlined",
|
|
1786
|
+
size = "medium",
|
|
1787
|
+
fullWidth = false,
|
|
1788
|
+
disabled = false,
|
|
1789
|
+
sx,
|
|
1790
|
+
className,
|
|
1791
|
+
children,
|
|
1792
|
+
...rest
|
|
1793
|
+
}, ref) => {
|
|
1794
|
+
const sxClass = useSx(sx);
|
|
1795
|
+
const classes = [
|
|
1796
|
+
"rf-button-group",
|
|
1797
|
+
`rf-button-group--${orientation}`,
|
|
1798
|
+
`rf-button-group--${variant}`,
|
|
1799
|
+
`rf-button-group--${size}`,
|
|
1800
|
+
fullWidth ? "rf-button-group--full" : "",
|
|
1801
|
+
sxClass,
|
|
1802
|
+
className
|
|
1803
|
+
].filter(Boolean).join(" ");
|
|
1804
|
+
const childArray = React131.Children.toArray(children);
|
|
1805
|
+
return /* @__PURE__ */ React131.createElement("div", { ref, role: "group", className: classes, ...rest }, childArray.map((child, idx) => {
|
|
1806
|
+
if (!React131.isValidElement(child)) return child;
|
|
1807
|
+
const childProps = child.props;
|
|
1808
|
+
return React131.cloneElement(child, {
|
|
1809
|
+
...childProps,
|
|
1810
|
+
disabled: disabled || childProps.disabled || false,
|
|
1811
|
+
"data-rf-bg-index": idx,
|
|
1812
|
+
"data-rf-bg-last": idx === childArray.length - 1 ? "true" : void 0,
|
|
1813
|
+
key: child.key ?? idx
|
|
1814
|
+
});
|
|
1815
|
+
}));
|
|
1816
|
+
}
|
|
1817
|
+
);
|
|
1818
|
+
ButtonGroup.displayName = "ButtonGroup";
|
|
1819
|
+
|
|
1820
|
+
// lib/Dialogs/BaseDialog.tsx
|
|
1821
|
+
var React132 = __toESM(require("react"), 1);
|
|
1769
1822
|
var import_react8 = require("react");
|
|
1770
1823
|
var import_react_dom = __toESM(require("react-dom"), 1);
|
|
1771
1824
|
|
|
@@ -2060,7 +2113,7 @@ var __iconNode22 = [
|
|
|
2060
2113
|
var X = createLucideIcon("x", __iconNode22);
|
|
2061
2114
|
|
|
2062
2115
|
// lib/Dialogs/BaseDialog.tsx
|
|
2063
|
-
var DialogDepthContext =
|
|
2116
|
+
var DialogDepthContext = React132.createContext(0);
|
|
2064
2117
|
var MIN_LOADING_MS2 = 1500;
|
|
2065
2118
|
var BaseDialog = ({
|
|
2066
2119
|
open = false,
|
|
@@ -2149,7 +2202,7 @@ var BaseDialog = ({
|
|
|
2149
2202
|
}, [open, portalZ]);
|
|
2150
2203
|
if (!open && !TransitionComponent) return null;
|
|
2151
2204
|
const isButtonLoading = isSubmitting || loading;
|
|
2152
|
-
const renderButtons = () => /* @__PURE__ */
|
|
2205
|
+
const renderButtons = () => /* @__PURE__ */ React132.createElement(React132.Fragment, null, showCancelButton && /* @__PURE__ */ React132.createElement(
|
|
2153
2206
|
"button",
|
|
2154
2207
|
{
|
|
2155
2208
|
className: "btn-cancel",
|
|
@@ -2158,7 +2211,7 @@ var BaseDialog = ({
|
|
|
2158
2211
|
type: "button"
|
|
2159
2212
|
},
|
|
2160
2213
|
cancelText
|
|
2161
|
-
), form ? /* @__PURE__ */
|
|
2214
|
+
), form ? /* @__PURE__ */ React132.createElement(
|
|
2162
2215
|
"button",
|
|
2163
2216
|
{
|
|
2164
2217
|
className: "btn-confirm",
|
|
@@ -2166,9 +2219,9 @@ var BaseDialog = ({
|
|
|
2166
2219
|
style: { position: "relative" },
|
|
2167
2220
|
type: "submit"
|
|
2168
2221
|
},
|
|
2169
|
-
/* @__PURE__ */
|
|
2170
|
-
isButtonLoading && /* @__PURE__ */
|
|
2171
|
-
) : onConfirm && /* @__PURE__ */
|
|
2222
|
+
/* @__PURE__ */ React132.createElement("span", { style: { visibility: isButtonLoading ? "hidden" : "visible" } }, submitText),
|
|
2223
|
+
isButtonLoading && /* @__PURE__ */ React132.createElement("span", { style: { position: "absolute", inset: 0, display: "flex", alignItems: "center", justifyContent: "center" } }, /* @__PURE__ */ React132.createElement(circularProgress_default, { size: 18, color: "#ffffff80" }))
|
|
2224
|
+
) : onConfirm && /* @__PURE__ */ React132.createElement(
|
|
2172
2225
|
"button",
|
|
2173
2226
|
{
|
|
2174
2227
|
className: "btn-confirm",
|
|
@@ -2188,18 +2241,18 @@ var BaseDialog = ({
|
|
|
2188
2241
|
}
|
|
2189
2242
|
}
|
|
2190
2243
|
},
|
|
2191
|
-
/* @__PURE__ */
|
|
2192
|
-
isButtonLoading && /* @__PURE__ */
|
|
2244
|
+
/* @__PURE__ */ React132.createElement("span", { style: { visibility: isButtonLoading ? "hidden" : "visible" } }, confirmText),
|
|
2245
|
+
isButtonLoading && /* @__PURE__ */ React132.createElement("span", { style: { position: "absolute", inset: 0, display: "flex", alignItems: "center", justifyContent: "center" } }, /* @__PURE__ */ React132.createElement(circularProgress_default, { size: 18, color: "#ffffff80" }))
|
|
2193
2246
|
));
|
|
2194
2247
|
const containerClass = ["dialog-container", size ? `size-${size}` : "", sxClass, className].filter(Boolean).join(" ");
|
|
2195
2248
|
const containerStyle = { minWidth, minHeight };
|
|
2196
|
-
const dialogInner = /* @__PURE__ */
|
|
2249
|
+
const dialogInner = /* @__PURE__ */ React132.createElement(React132.Fragment, null, /* @__PURE__ */ React132.createElement("div", { className: "dialog-title" }, /* @__PURE__ */ React132.createElement("h2", null, formatTitle ? title?.charAt(0).toUpperCase() + title?.slice(1) : title), showCloseButton && /* @__PURE__ */ React132.createElement("button", { className: "btn-close", type: "button", onClick: onClose }, /* @__PURE__ */ React132.createElement(
|
|
2197
2250
|
X,
|
|
2198
2251
|
{
|
|
2199
2252
|
size: 18,
|
|
2200
2253
|
color: themeConfig?.icon || "#666666"
|
|
2201
2254
|
}
|
|
2202
|
-
))), /* @__PURE__ */
|
|
2255
|
+
))), /* @__PURE__ */ React132.createElement("div", { className: "dialog-divider" }), /* @__PURE__ */ React132.createElement(
|
|
2203
2256
|
"div",
|
|
2204
2257
|
{
|
|
2205
2258
|
className: "dialog-body",
|
|
@@ -2209,8 +2262,8 @@ var BaseDialog = ({
|
|
|
2209
2262
|
}
|
|
2210
2263
|
},
|
|
2211
2264
|
children
|
|
2212
|
-
), /* @__PURE__ */
|
|
2213
|
-
const dialogContent = form ? /* @__PURE__ */
|
|
2265
|
+
), /* @__PURE__ */ React132.createElement("div", { className: "dialog-divider" }), /* @__PURE__ */ React132.createElement("div", { className: "dialog-footer", style: { justifyContent: buttonAlign } }, customButtons || renderButtons()));
|
|
2266
|
+
const dialogContent = form ? /* @__PURE__ */ React132.createElement(
|
|
2214
2267
|
"form",
|
|
2215
2268
|
{
|
|
2216
2269
|
ref: setContainerRef,
|
|
@@ -2222,7 +2275,7 @@ var BaseDialog = ({
|
|
|
2222
2275
|
}
|
|
2223
2276
|
},
|
|
2224
2277
|
dialogInner
|
|
2225
|
-
) : /* @__PURE__ */
|
|
2278
|
+
) : /* @__PURE__ */ React132.createElement(
|
|
2226
2279
|
"div",
|
|
2227
2280
|
{
|
|
2228
2281
|
ref: setContainerRef,
|
|
@@ -2231,17 +2284,17 @@ var BaseDialog = ({
|
|
|
2231
2284
|
},
|
|
2232
2285
|
dialogInner
|
|
2233
2286
|
);
|
|
2234
|
-
const overlayNode = (content) => /* @__PURE__ */
|
|
2287
|
+
const overlayNode = (content) => /* @__PURE__ */ React132.createElement(
|
|
2235
2288
|
"div",
|
|
2236
2289
|
{
|
|
2237
2290
|
className: `dialog-overlay ${size === "fullScreen" ? "overlay-fullscreen" : ""}`,
|
|
2238
2291
|
style: { zIndex: overlayZ }
|
|
2239
2292
|
},
|
|
2240
|
-
/* @__PURE__ */
|
|
2293
|
+
/* @__PURE__ */ React132.createElement(DialogDepthContext.Provider, { value: depth + 1 }, content)
|
|
2241
2294
|
);
|
|
2242
2295
|
if (TransitionComponent) {
|
|
2243
2296
|
return import_react_dom.default.createPortal(
|
|
2244
|
-
/* @__PURE__ */
|
|
2297
|
+
/* @__PURE__ */ React132.createElement(
|
|
2245
2298
|
TransitionComponent,
|
|
2246
2299
|
{
|
|
2247
2300
|
in: open,
|
|
@@ -4826,9 +4879,9 @@ var DateRangeField = ({
|
|
|
4826
4879
|
setSelecting("start");
|
|
4827
4880
|
};
|
|
4828
4881
|
const handlePreset = (presetId) => {
|
|
4829
|
-
const
|
|
4830
|
-
const s2 = isoToDate2(
|
|
4831
|
-
const e = isoToDate2(
|
|
4882
|
+
const range2 = getPresetRange(presetId, draftStart);
|
|
4883
|
+
const s2 = isoToDate2(range2.start);
|
|
4884
|
+
const e = isoToDate2(range2.end);
|
|
4832
4885
|
setDraftStart(s2);
|
|
4833
4886
|
setDraftEnd(e);
|
|
4834
4887
|
setStartInputStr(s2 ? formatShort(s2) : "");
|
|
@@ -5121,14 +5174,84 @@ var DateRangeField = ({
|
|
|
5121
5174
|
};
|
|
5122
5175
|
DateRangeField.displayName = "DateRangeField";
|
|
5123
5176
|
|
|
5177
|
+
// lib/Progress/LinearProgress.tsx
|
|
5178
|
+
var React141 = __toESM(require("react"), 1);
|
|
5179
|
+
var clamp = (n) => Math.max(0, Math.min(100, n));
|
|
5180
|
+
var LinearProgress = React141.forwardRef(
|
|
5181
|
+
({
|
|
5182
|
+
variant = "indeterminate",
|
|
5183
|
+
value = 0,
|
|
5184
|
+
valueBuffer = 0,
|
|
5185
|
+
color = "var(--primary-color, #a81c08)",
|
|
5186
|
+
trackColor = "rgba(0,0,0,0.08)",
|
|
5187
|
+
thickness = 4,
|
|
5188
|
+
sx,
|
|
5189
|
+
className,
|
|
5190
|
+
style,
|
|
5191
|
+
...rest
|
|
5192
|
+
}, ref) => {
|
|
5193
|
+
const sxClass = useSx(sx);
|
|
5194
|
+
const classes = [
|
|
5195
|
+
"rf-linear-progress",
|
|
5196
|
+
`rf-linear-progress--${variant}`,
|
|
5197
|
+
sxClass,
|
|
5198
|
+
className
|
|
5199
|
+
].filter(Boolean).join(" ");
|
|
5200
|
+
const v = clamp(value);
|
|
5201
|
+
const vb = clamp(valueBuffer);
|
|
5202
|
+
const ariaProps = variant === "determinate" || variant === "buffer" ? {
|
|
5203
|
+
"aria-valuenow": Math.round(v),
|
|
5204
|
+
"aria-valuemin": 0,
|
|
5205
|
+
"aria-valuemax": 100
|
|
5206
|
+
} : {};
|
|
5207
|
+
return /* @__PURE__ */ React141.createElement(
|
|
5208
|
+
"div",
|
|
5209
|
+
{
|
|
5210
|
+
ref,
|
|
5211
|
+
role: "progressbar",
|
|
5212
|
+
...ariaProps,
|
|
5213
|
+
className: classes,
|
|
5214
|
+
style: {
|
|
5215
|
+
height: thickness,
|
|
5216
|
+
background: trackColor,
|
|
5217
|
+
...style
|
|
5218
|
+
},
|
|
5219
|
+
...rest
|
|
5220
|
+
},
|
|
5221
|
+
variant === "buffer" && /* @__PURE__ */ React141.createElement(
|
|
5222
|
+
"span",
|
|
5223
|
+
{
|
|
5224
|
+
className: "rf-linear-progress__buffer",
|
|
5225
|
+
style: { width: `${vb}%`, background: color, opacity: 0.3 }
|
|
5226
|
+
}
|
|
5227
|
+
),
|
|
5228
|
+
/* @__PURE__ */ React141.createElement(
|
|
5229
|
+
"span",
|
|
5230
|
+
{
|
|
5231
|
+
className: "rf-linear-progress__bar",
|
|
5232
|
+
style: variant === "determinate" || variant === "buffer" ? { width: `${v}%`, background: color } : { background: color }
|
|
5233
|
+
}
|
|
5234
|
+
),
|
|
5235
|
+
variant === "indeterminate" && /* @__PURE__ */ React141.createElement(
|
|
5236
|
+
"span",
|
|
5237
|
+
{
|
|
5238
|
+
className: "rf-linear-progress__bar rf-linear-progress__bar--secondary",
|
|
5239
|
+
style: { background: color }
|
|
5240
|
+
}
|
|
5241
|
+
)
|
|
5242
|
+
);
|
|
5243
|
+
}
|
|
5244
|
+
);
|
|
5245
|
+
LinearProgress.displayName = "LinearProgress";
|
|
5246
|
+
|
|
5124
5247
|
// lib/Progress/RufousLogoLoader.tsx
|
|
5125
|
-
var
|
|
5248
|
+
var React142 = __toESM(require("react"), 1);
|
|
5126
5249
|
var _uid = 0;
|
|
5127
5250
|
var RufousLogoLoader = ({ size = 80, sx, className }) => {
|
|
5128
|
-
const clipId =
|
|
5251
|
+
const clipId = React142.useRef(`rll-${++_uid}`).current;
|
|
5129
5252
|
const height = size * (38.795 / 54.585);
|
|
5130
5253
|
const sxClass = useSx(sx);
|
|
5131
|
-
return /* @__PURE__ */
|
|
5254
|
+
return /* @__PURE__ */ React142.createElement("div", { className: ["rufous-logo-loader", sxClass, className].filter(Boolean).join(" "), style: { width: size, height } }, /* @__PURE__ */ React142.createElement(
|
|
5132
5255
|
"svg",
|
|
5133
5256
|
{
|
|
5134
5257
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5137,14 +5260,14 @@ var RufousLogoLoader = ({ size = 80, sx, className }) => {
|
|
|
5137
5260
|
height,
|
|
5138
5261
|
className: "rufous-logo-loader__svg"
|
|
5139
5262
|
},
|
|
5140
|
-
/* @__PURE__ */
|
|
5263
|
+
/* @__PURE__ */ React142.createElement("defs", null, /* @__PURE__ */ React142.createElement("clipPath", { id: clipId }, /* @__PURE__ */ React142.createElement(
|
|
5141
5264
|
"path",
|
|
5142
5265
|
{
|
|
5143
5266
|
transform: "translate(2208 18.205)",
|
|
5144
5267
|
d: "M.7,38.8a3.783,3.783,0,0,1-.5-.045l-.031,0A.26.26,0,0,1,0,38.564a.279.279,0,0,1,.14-.2c.222-.126.45-.251.671-.371l.047-.026c.357-.194.8-.435,1.209-.685.783-.479,1.565-.993,2.32-1.489l.033-.022.218-.143.49-.32c.575-.374,1.226-.8,1.824-1.241.98-.726,1.834-1.407,2.611-2.081a22.444,22.444,0,0,0,1.783-1.774A14.2,14.2,0,0,0,12.5,28.749l.012-.016a15.8,15.8,0,0,0,1.151-1.8,10.351,10.351,0,0,0,.586-1.511l0-.011.092-.278a4.425,4.425,0,0,0,.14-.583l.007-.036c.024-.119.048-.243.079-.363a4.639,4.639,0,0,0-.034-2.566c-.064-.212-.126-.43-.184-.636l-.008-.028c-.111-.391-.225-.8-.369-1.181a8.71,8.71,0,0,0-2.279-3.24,14.363,14.363,0,0,0-3.239-2.326c-.75-.4-1.553-.727-2.329-1.046L6.1,13.114l-.157-.065c-.294-.122-.6-.221-.9-.318l-.025-.008c-.19-.061-.427-.136-.649-.218-.108-.04-.265-.172-.252-.229a.7.7,0,0,1,.235-.4.915.915,0,0,1,.449-.112c.383-.029.77-.063,1.165-.1.969-.085,1.971-.174,2.962-.181h.119a13.145,13.145,0,0,1,2.907.315,11.888,11.888,0,0,1,3.128,1.123,10.286,10.286,0,0,1,2.3,1.554.92.92,0,0,1,.273.4,12.722,12.722,0,0,1,.458,3.3c-.009,1.494-.014,2.867-.014,4.2,0,.309.013.588.039.852a1.013,1.013,0,0,0,.078.26l0,.01c.027.067.051.129.077.207.029-.064.054-.116.076-.161l.009-.017.006-.012a.823.823,0,0,0,.076-.189c.051-.247.1-.494.164-.767.136-.618.276-1.257.359-1.9a24.362,24.362,0,0,0,0-6.777,13.01,13.01,0,0,0-.559-2.1c-.061-.185-.125-.382-.187-.579a9.42,9.42,0,0,0-.583-1.469c-.367-.727-.786-1.449-1.184-2.126a9.376,9.376,0,0,0-.643-.918c-.076-.1-.151-.2-.224-.3L15.548,6.3a8.128,8.128,0,0,0-.865-1.057,32.021,32.021,0,0,0-2.466-2.183,12.673,12.673,0,0,0-1.905-1.188c-.48-.256-1-.485-1.462-.687-.221-.1-.457-.2-.683-.306a.663.663,0,0,1-.11-.071L8.039.795c-.027-.02-.058-.043-.1-.069L8.062.667,8.108.644a1.786,1.786,0,0,1,.27-.12A11.679,11.679,0,0,1,11.866,0a13.332,13.332,0,0,1,1.769.121A13.927,13.927,0,0,1,15.9.693l.471.147a10.775,10.775,0,0,1,1.656.658,9.622,9.622,0,0,1,1.768,1.041,32.024,32.024,0,0,1,3.092,2.717,25.62,25.62,0,0,1,2.245,2.829l.084.117c.617.86,1.171,1.777,1.678,2.641.255.435.484.9.687,1.3.14.281.285.572.436.854.262.491.534.977.835,1.516l.005.01q.169.3.337.6c.064.116.13.232.2.347l.027.047c.12.212.244.431.357.651a8.518,8.518,0,0,0,2.121,2.695c.065.024.137.054.212.086l.013.006a1.268,1.268,0,0,0,.376.123.087.087,0,0,0,.063-.02.209.209,0,0,0,.083-.151c0-.083-.08-.153-.157-.22a.694.694,0,0,1-.135-.142c-.134-.216-.273-.436-.407-.649l-.063-.1c-.373-.587-.8-1.251-1.157-1.923s-.666-1.373-.964-2.057l0-.008q-.123-.284-.247-.564a1.707,1.707,0,0,1,.239-1.554l.026-.046.005-.009A12.918,12.918,0,0,1,31.408,9.3,7.814,7.814,0,0,1,33.75,7.612a5.391,5.391,0,0,1,2.218-.444,11.369,11.369,0,0,1,1.882.186,9.211,9.211,0,0,1,2.845,1.022c.138.071.261.135.373.188a4.155,4.155,0,0,0,1.849.464h.093c1.993-.052,4-.14,5.95-.224l.846-.036c.9-.038,1.808-.066,2.682-.093L52.7,8.67l1.007-.031h.041a1.787,1.787,0,0,1,.73.163c.1.051.109.256.109.318,0,.081-.147.169-.257.175-.466.028-.994.043-1.485.043a37.855,37.855,0,0,0-6.3.577A9.221,9.221,0,0,0,42.7,11.3a7.884,7.884,0,0,0-1.565,1.5c-.593.743-1.116,1.545-1.621,2.321l-.121.185c-.228.35-.435.709-.662,1.109l-.041.071c-.136.236-.276.481-.42.717l-.007.012c-.349.572-.709,1.162-1.1,1.716l-.216.307-.01.014a21.585,21.585,0,0,1-1.451,1.907c-1.317,1.485-2.538,2.8-3.734,4.006a30.822,30.822,0,0,1-2.5,2.207c-.548.446-1.139.86-1.71,1.26l-.01.007q-.254.177-.5.355c-.536.379-1.109.78-1.7,1.157-.545.35-1.143.71-1.828,1.1-.842.483-1.586.9-2.275,1.26-.271.144-.553.272-.868.412-.13.058-.3.135-.467.213a6.838,6.838,0,0,1-1.18.3,5.079,5.079,0,0,1,.647-.771l.008-.008c.132-.136.251-.26.365-.393l.048-.056c.566-.667,1.151-1.357,1.7-2.059s1.126-1.439,1.649-2.2c.4-.579.749-1.2,1.134-1.888l.016-.028c.406-.734.826-1.493,1.181-2.266.274-.6.733-1.787.866-2.189l.023-.07c.13-.389.215-.646-.013-.916a.369.369,0,0,1-.041.031l0,0c-.028.021-.055.041-.058.065a2.307,2.307,0,0,1-.146.5,5.257,5.257,0,0,1-.374.709c-.281.468-.536.959-.782,1.434-.2.385-.379.731-.57,1.069a20.042,20.042,0,0,1-1.161,1.871,30.689,30.689,0,0,1-1.985,2.531c-.74.821-1.567,1.648-2.6,2.6a21.448,21.448,0,0,1-2.1,1.669c-.85.606-1.754,1.2-2.688,1.768a17.867,17.867,0,0,1-1.993,1.037c-.994.445-2.066.891-3.185,1.324a12.127,12.127,0,0,1-1.714.514c-.955.213-1.969.413-3.1.611-1.023.18-2.054.328-2.927.449A1.41,1.41,0,0,1,.7,38.8ZM37.945,10.58l-.007,0a.583.583,0,0,0-.223.048.677.677,0,0,0-.437.555.637.637,0,0,0,.426.527.621.621,0,0,0,.209.046h.016a.72.72,0,0,0,.464-.194.676.676,0,0,0,.194-.282l0-.011,0-.005,0-.006,0-.009a.415.415,0,0,0,.014-.109.734.734,0,0,0-.657-.56Z"
|
|
5145
5268
|
}
|
|
5146
5269
|
))),
|
|
5147
|
-
/* @__PURE__ */
|
|
5270
|
+
/* @__PURE__ */ React142.createElement("g", { transform: "translate(-123.275 -24)" }, /* @__PURE__ */ React142.createElement("g", { transform: "translate(-2084.725 5.795)", clipPath: `url(#${clipId})` }, /* @__PURE__ */ React142.createElement("rect", { className: "rufous-ls rufous-ls-1", width: "40", height: "6", transform: "translate(2208 58) rotate(-90)", fill: "#d07f6f" }), /* @__PURE__ */ React142.createElement("rect", { className: "rufous-ls rufous-ls-2", width: "40", height: "6", transform: "translate(2214 58) rotate(-90)", fill: "#c66958" }), /* @__PURE__ */ React142.createElement("rect", { className: "rufous-ls rufous-ls-3", width: "40", height: "7", transform: "translate(2220 58) rotate(-90)", fill: "#bb5341" }), /* @__PURE__ */ React142.createElement("rect", { className: "rufous-ls rufous-ls-4", width: "40", height: "6", transform: "translate(2227 58) rotate(-90)", fill: "#b03a28" }), /* @__PURE__ */ React142.createElement("rect", { className: "rufous-ls rufous-ls-5", width: "40", height: "6", transform: "translate(2233 58) rotate(-90)", fill: "#a41b06" }), /* @__PURE__ */ React142.createElement("rect", { className: "rufous-ls rufous-ls-6", width: "40", height: "6", transform: "translate(2239 58) rotate(-90)", fill: "#8e1604" }), /* @__PURE__ */ React142.createElement("rect", { className: "rufous-ls rufous-ls-7", width: "40", height: "6", transform: "translate(2245 58) rotate(-90)", fill: "#791103" }), /* @__PURE__ */ React142.createElement("rect", { className: "rufous-ls rufous-ls-8", width: "40", height: "5", transform: "translate(2251 58) rotate(-90)", fill: "#640c02" }), /* @__PURE__ */ React142.createElement("rect", { className: "rufous-ls rufous-ls-9", width: "40", height: "7", transform: "translate(2256 58) rotate(-90)", fill: "#500801" })))
|
|
5148
5271
|
));
|
|
5149
5272
|
};
|
|
5150
5273
|
|
|
@@ -6576,7 +6699,7 @@ Select.displayName = "Select";
|
|
|
6576
6699
|
|
|
6577
6700
|
// lib/Slider/Slider.tsx
|
|
6578
6701
|
var import_react19 = __toESM(require("react"), 1);
|
|
6579
|
-
function
|
|
6702
|
+
function clamp2(val, min, max) {
|
|
6580
6703
|
return Math.max(min, Math.min(max, val));
|
|
6581
6704
|
}
|
|
6582
6705
|
function snapToStep(val, min, step) {
|
|
@@ -6598,7 +6721,7 @@ var Slider = import_react19.default.forwardRef(function Slider2(props, ref) {
|
|
|
6598
6721
|
size = "medium",
|
|
6599
6722
|
orientation = "horizontal",
|
|
6600
6723
|
valueLabelDisplay = "auto",
|
|
6601
|
-
range = false,
|
|
6724
|
+
range: range2 = false,
|
|
6602
6725
|
label,
|
|
6603
6726
|
className = "",
|
|
6604
6727
|
style,
|
|
@@ -6608,7 +6731,7 @@ var Slider = import_react19.default.forwardRef(function Slider2(props, ref) {
|
|
|
6608
6731
|
const trackRef = (0, import_react19.useRef)(null);
|
|
6609
6732
|
const draggingThumb = (0, import_react19.useRef)(null);
|
|
6610
6733
|
const [dragging, setDragging] = (0, import_react19.useState)(null);
|
|
6611
|
-
const isRange =
|
|
6734
|
+
const isRange = range2 || Array.isArray(value);
|
|
6612
6735
|
const rawVal = value ?? (isRange ? [min, max] : min);
|
|
6613
6736
|
const vals = isRange ? Array.isArray(rawVal) ? [rawVal[0], rawVal[1]] : [rawVal, rawVal] : [rawVal, rawVal];
|
|
6614
6737
|
const computedMarks = [];
|
|
@@ -6628,9 +6751,9 @@ var Slider = import_react19.default.forwardRef(function Slider2(props, ref) {
|
|
|
6628
6751
|
} else {
|
|
6629
6752
|
ratio = (e.clientX - rect.left) / rect.width;
|
|
6630
6753
|
}
|
|
6631
|
-
ratio =
|
|
6754
|
+
ratio = clamp2(ratio, 0, 1);
|
|
6632
6755
|
const raw = min + ratio * (max - min);
|
|
6633
|
-
return
|
|
6756
|
+
return clamp2(snapToStep(raw, min, step), min, max);
|
|
6634
6757
|
}, [min, max, step, orientation]);
|
|
6635
6758
|
(0, import_react19.useEffect)(() => {
|
|
6636
6759
|
if (dragging === null) return;
|
|
@@ -6688,10 +6811,10 @@ var Slider = import_react19.default.forwardRef(function Slider2(props, ref) {
|
|
|
6688
6811
|
let next = current;
|
|
6689
6812
|
if (e.key === "ArrowRight" || e.key === "ArrowUp") {
|
|
6690
6813
|
e.preventDefault();
|
|
6691
|
-
next =
|
|
6814
|
+
next = clamp2(snapToStep(current + step, min, step), min, max);
|
|
6692
6815
|
} else if (e.key === "ArrowLeft" || e.key === "ArrowDown") {
|
|
6693
6816
|
e.preventDefault();
|
|
6694
|
-
next =
|
|
6817
|
+
next = clamp2(snapToStep(current - step, min, step), min, max);
|
|
6695
6818
|
} else if (e.key === "Home") {
|
|
6696
6819
|
e.preventDefault();
|
|
6697
6820
|
next = min;
|
|
@@ -6938,6 +7061,25 @@ var RadioGroup = import_react21.default.forwardRef(function RadioGroup2(props, r
|
|
|
6938
7061
|
});
|
|
6939
7062
|
RadioGroup.displayName = "RadioGroup";
|
|
6940
7063
|
|
|
7064
|
+
// lib/FormGroup/FormGroup.tsx
|
|
7065
|
+
var React148 = __toESM(require("react"), 1);
|
|
7066
|
+
var FormGroup = React148.forwardRef(
|
|
7067
|
+
({ row = false, spacing, sx, className, style, children, ...rest }, ref) => {
|
|
7068
|
+
const sxClass = useSx(sx);
|
|
7069
|
+
const classes = ["rf-form-group", sxClass, className].filter(Boolean).join(" ");
|
|
7070
|
+
const gap = spacing === void 0 ? row ? "8px" : "4px" : typeof spacing === "number" ? `${spacing * 8}px` : spacing;
|
|
7071
|
+
const inlineStyle = {
|
|
7072
|
+
display: "flex",
|
|
7073
|
+
flexDirection: row ? "row" : "column",
|
|
7074
|
+
flexWrap: row ? "wrap" : "nowrap",
|
|
7075
|
+
gap,
|
|
7076
|
+
...style
|
|
7077
|
+
};
|
|
7078
|
+
return /* @__PURE__ */ React148.createElement("div", { ref, className: classes, style: inlineStyle, ...rest }, children);
|
|
7079
|
+
}
|
|
7080
|
+
);
|
|
7081
|
+
FormGroup.displayName = "FormGroup";
|
|
7082
|
+
|
|
6941
7083
|
// lib/Rating/Rating.tsx
|
|
6942
7084
|
var import_react22 = __toESM(require("react"), 1);
|
|
6943
7085
|
var starSize = { small: 18, medium: 24, large: 32 };
|
|
@@ -7726,12 +7868,12 @@ var Skeleton = ({
|
|
|
7726
7868
|
Skeleton.displayName = "Skeleton";
|
|
7727
7869
|
|
|
7728
7870
|
// lib/Box/Box.tsx
|
|
7729
|
-
var
|
|
7871
|
+
var React157 = __toESM(require("react"), 1);
|
|
7730
7872
|
function sp(val) {
|
|
7731
7873
|
if (val === void 0) return void 0;
|
|
7732
7874
|
return typeof val === "number" ? `${val * 8}px` : val;
|
|
7733
7875
|
}
|
|
7734
|
-
var Box =
|
|
7876
|
+
var Box = React157.forwardRef(
|
|
7735
7877
|
({
|
|
7736
7878
|
component = "div",
|
|
7737
7879
|
children,
|
|
@@ -7831,18 +7973,18 @@ var Box = React154.forwardRef(
|
|
|
7831
7973
|
};
|
|
7832
7974
|
const classes = ["rf-box", sxClass, className].filter(Boolean).join(" ");
|
|
7833
7975
|
const Tag = component;
|
|
7834
|
-
return /* @__PURE__ */
|
|
7976
|
+
return /* @__PURE__ */ React157.createElement(Tag, { ref, className: classes, style: inlineStyle, ...rest }, children);
|
|
7835
7977
|
}
|
|
7836
7978
|
);
|
|
7837
7979
|
Box.displayName = "Box";
|
|
7838
7980
|
|
|
7839
7981
|
// lib/Stack/Stack.tsx
|
|
7840
|
-
var
|
|
7982
|
+
var React158 = __toESM(require("react"), 1);
|
|
7841
7983
|
function sp2(val) {
|
|
7842
7984
|
if (val === void 0) return void 0;
|
|
7843
7985
|
return typeof val === "number" ? `${val * 8}px` : val;
|
|
7844
7986
|
}
|
|
7845
|
-
var Stack =
|
|
7987
|
+
var Stack = React158.forwardRef(
|
|
7846
7988
|
({
|
|
7847
7989
|
direction = "column",
|
|
7848
7990
|
spacing,
|
|
@@ -7919,14 +8061,14 @@ var Stack = React155.forwardRef(
|
|
|
7919
8061
|
const classes = ["rf-stack", sxClass, className].filter(Boolean).join(" ");
|
|
7920
8062
|
let content;
|
|
7921
8063
|
if (divider) {
|
|
7922
|
-
const childArray =
|
|
8064
|
+
const childArray = React158.Children.toArray(children).filter(
|
|
7923
8065
|
(child) => child !== null && child !== void 0
|
|
7924
8066
|
);
|
|
7925
8067
|
content = childArray.reduce((acc, child, idx) => {
|
|
7926
8068
|
acc.push(child);
|
|
7927
8069
|
if (idx < childArray.length - 1) {
|
|
7928
8070
|
acc.push(
|
|
7929
|
-
/* @__PURE__ */
|
|
8071
|
+
/* @__PURE__ */ React158.createElement("div", { key: `divider-${idx}`, className: "rf-stack-divider" }, divider)
|
|
7930
8072
|
);
|
|
7931
8073
|
}
|
|
7932
8074
|
return acc;
|
|
@@ -7935,13 +8077,13 @@ var Stack = React155.forwardRef(
|
|
|
7935
8077
|
content = children;
|
|
7936
8078
|
}
|
|
7937
8079
|
const Tag = component;
|
|
7938
|
-
return /* @__PURE__ */
|
|
8080
|
+
return /* @__PURE__ */ React158.createElement(Tag, { ref, className: classes, style: inlineStyle, ...rest }, content);
|
|
7939
8081
|
}
|
|
7940
8082
|
);
|
|
7941
8083
|
Stack.displayName = "Stack";
|
|
7942
8084
|
|
|
7943
8085
|
// lib/Grid/Grid.tsx
|
|
7944
|
-
var
|
|
8086
|
+
var React159 = __toESM(require("react"), 1);
|
|
7945
8087
|
function sp3(val) {
|
|
7946
8088
|
if (val === void 0) return void 0;
|
|
7947
8089
|
return typeof val === "number" ? `${val * 8}px` : val;
|
|
@@ -7958,7 +8100,7 @@ function getSpacingGap(spacing) {
|
|
|
7958
8100
|
const base = spacing.xs ?? spacing.sm ?? spacing.md ?? 0;
|
|
7959
8101
|
return `${base * 8}px`;
|
|
7960
8102
|
}
|
|
7961
|
-
var Grid =
|
|
8103
|
+
var Grid = React159.forwardRef(
|
|
7962
8104
|
({
|
|
7963
8105
|
container = false,
|
|
7964
8106
|
item = false,
|
|
@@ -8052,11 +8194,50 @@ var Grid = React156.forwardRef(
|
|
|
8052
8194
|
className
|
|
8053
8195
|
].filter(Boolean).join(" ");
|
|
8054
8196
|
const Tag = component;
|
|
8055
|
-
return /* @__PURE__ */
|
|
8197
|
+
return /* @__PURE__ */ React159.createElement(Tag, { ref, className: classes, style: inlineStyle, ...rest }, children);
|
|
8056
8198
|
}
|
|
8057
8199
|
);
|
|
8058
8200
|
Grid.displayName = "Grid";
|
|
8059
8201
|
|
|
8202
|
+
// lib/Container/Container.tsx
|
|
8203
|
+
var React160 = __toESM(require("react"), 1);
|
|
8204
|
+
var BREAKPOINT_PX = {
|
|
8205
|
+
xs: 444,
|
|
8206
|
+
sm: 600,
|
|
8207
|
+
md: 900,
|
|
8208
|
+
lg: 1200,
|
|
8209
|
+
xl: 1536
|
|
8210
|
+
};
|
|
8211
|
+
var Container = React160.forwardRef(
|
|
8212
|
+
({
|
|
8213
|
+
maxWidth = "lg",
|
|
8214
|
+
fixed = false,
|
|
8215
|
+
disableGutters = false,
|
|
8216
|
+
component = "div",
|
|
8217
|
+
children,
|
|
8218
|
+
className,
|
|
8219
|
+
style,
|
|
8220
|
+
sx,
|
|
8221
|
+
...rest
|
|
8222
|
+
}, ref) => {
|
|
8223
|
+
const sxClass = useSx(sx);
|
|
8224
|
+
const classes = ["rf-container", sxClass, className].filter(Boolean).join(" ");
|
|
8225
|
+
const mw = maxWidth === false ? void 0 : fixed ? `${BREAKPOINT_PX[maxWidth]}px` : `${BREAKPOINT_PX[maxWidth]}px`;
|
|
8226
|
+
const inlineStyle = {
|
|
8227
|
+
width: "100%",
|
|
8228
|
+
marginLeft: "auto",
|
|
8229
|
+
marginRight: "auto",
|
|
8230
|
+
boxSizing: "border-box",
|
|
8231
|
+
...mw !== void 0 ? { maxWidth: mw } : {},
|
|
8232
|
+
...disableGutters ? {} : { paddingLeft: 16, paddingRight: 16 },
|
|
8233
|
+
...style
|
|
8234
|
+
};
|
|
8235
|
+
const Tag = component;
|
|
8236
|
+
return /* @__PURE__ */ React160.createElement(Tag, { ref, className: classes, style: inlineStyle, ...rest }, children);
|
|
8237
|
+
}
|
|
8238
|
+
);
|
|
8239
|
+
Container.displayName = "Container";
|
|
8240
|
+
|
|
8060
8241
|
// lib/Table/Table.tsx
|
|
8061
8242
|
var import_react30 = __toESM(require("react"), 1);
|
|
8062
8243
|
var TableContext = (0, import_react30.createContext)({
|
|
@@ -8312,8 +8493,8 @@ var TablePagination = import_react30.default.forwardRef(
|
|
|
8312
8493
|
TablePagination.displayName = "TablePagination";
|
|
8313
8494
|
|
|
8314
8495
|
// lib/Paper/Paper.tsx
|
|
8315
|
-
var
|
|
8316
|
-
var Paper =
|
|
8496
|
+
var React162 = __toESM(require("react"), 1);
|
|
8497
|
+
var Paper = React162.forwardRef(
|
|
8317
8498
|
({
|
|
8318
8499
|
elevation = 1,
|
|
8319
8500
|
square = false,
|
|
@@ -8335,14 +8516,14 @@ var Paper = React158.forwardRef(
|
|
|
8335
8516
|
className
|
|
8336
8517
|
].filter(Boolean).join(" ");
|
|
8337
8518
|
const Tag = component;
|
|
8338
|
-
return /* @__PURE__ */
|
|
8519
|
+
return /* @__PURE__ */ React162.createElement(Tag, { ref, className: classes, style, ...rest }, children);
|
|
8339
8520
|
}
|
|
8340
8521
|
);
|
|
8341
8522
|
Paper.displayName = "Paper";
|
|
8342
8523
|
|
|
8343
8524
|
// lib/Card/Card.tsx
|
|
8344
|
-
var
|
|
8345
|
-
var Card =
|
|
8525
|
+
var React163 = __toESM(require("react"), 1);
|
|
8526
|
+
var Card = React163.forwardRef(
|
|
8346
8527
|
({
|
|
8347
8528
|
elevation = 1,
|
|
8348
8529
|
variant = "elevation",
|
|
@@ -8361,33 +8542,33 @@ var Card = React159.forwardRef(
|
|
|
8361
8542
|
sxClass,
|
|
8362
8543
|
className
|
|
8363
8544
|
].filter(Boolean).join(" ");
|
|
8364
|
-
return /* @__PURE__ */
|
|
8545
|
+
return /* @__PURE__ */ React163.createElement("div", { ref, className: classes, style, ...rest }, children);
|
|
8365
8546
|
}
|
|
8366
8547
|
);
|
|
8367
8548
|
Card.displayName = "Card";
|
|
8368
|
-
var CardContent =
|
|
8549
|
+
var CardContent = React163.forwardRef(
|
|
8369
8550
|
({ children, className, style, sx, ...rest }, ref) => {
|
|
8370
8551
|
const sxClass = useSx(sx);
|
|
8371
8552
|
const classes = ["rf-card-content", sxClass, className].filter(Boolean).join(" ");
|
|
8372
|
-
return /* @__PURE__ */
|
|
8553
|
+
return /* @__PURE__ */ React163.createElement("div", { ref, className: classes, style, ...rest }, children);
|
|
8373
8554
|
}
|
|
8374
8555
|
);
|
|
8375
8556
|
CardContent.displayName = "CardContent";
|
|
8376
|
-
var CardHeader =
|
|
8557
|
+
var CardHeader = React163.forwardRef(
|
|
8377
8558
|
({ title, subheader, avatar, action, className, style, sx, ...rest }, ref) => {
|
|
8378
8559
|
const sxClass = useSx(sx);
|
|
8379
8560
|
const classes = ["rf-card-header", sxClass, className].filter(Boolean).join(" ");
|
|
8380
|
-
return /* @__PURE__ */
|
|
8561
|
+
return /* @__PURE__ */ React163.createElement("div", { ref, className: classes, style, ...rest }, avatar && /* @__PURE__ */ React163.createElement("div", { className: "rf-card-header-avatar" }, avatar), /* @__PURE__ */ React163.createElement("div", { className: "rf-card-header-content" }, /* @__PURE__ */ React163.createElement("div", { className: "rf-card-header-title" }, title), subheader && /* @__PURE__ */ React163.createElement("div", { className: "rf-card-header-subheader" }, subheader)), action && /* @__PURE__ */ React163.createElement("div", { className: "rf-card-header-action" }, action));
|
|
8381
8562
|
}
|
|
8382
8563
|
);
|
|
8383
8564
|
CardHeader.displayName = "CardHeader";
|
|
8384
|
-
var CardMedia =
|
|
8565
|
+
var CardMedia = React163.forwardRef(
|
|
8385
8566
|
({ component = "div", image, src, height, alt, className, style, sx, ...rest }, ref) => {
|
|
8386
8567
|
const sxClass = useSx(sx);
|
|
8387
8568
|
const classes = ["rf-card-media", sxClass, className].filter(Boolean).join(" ");
|
|
8388
8569
|
const computedHeight = height !== void 0 ? typeof height === "number" ? `${height}px` : height : "200px";
|
|
8389
8570
|
if (component === "img") {
|
|
8390
|
-
return /* @__PURE__ */
|
|
8571
|
+
return /* @__PURE__ */ React163.createElement(
|
|
8391
8572
|
"img",
|
|
8392
8573
|
{
|
|
8393
8574
|
ref,
|
|
@@ -8400,7 +8581,7 @@ var CardMedia = React159.forwardRef(
|
|
|
8400
8581
|
);
|
|
8401
8582
|
}
|
|
8402
8583
|
if (component === "video") {
|
|
8403
|
-
return /* @__PURE__ */
|
|
8584
|
+
return /* @__PURE__ */ React163.createElement(
|
|
8404
8585
|
"video",
|
|
8405
8586
|
{
|
|
8406
8587
|
ref,
|
|
@@ -8416,7 +8597,7 @@ var CardMedia = React159.forwardRef(
|
|
|
8416
8597
|
...image ? { backgroundImage: `url(${image})` } : {},
|
|
8417
8598
|
...style
|
|
8418
8599
|
};
|
|
8419
|
-
return /* @__PURE__ */
|
|
8600
|
+
return /* @__PURE__ */ React163.createElement(
|
|
8420
8601
|
"div",
|
|
8421
8602
|
{
|
|
8422
8603
|
ref,
|
|
@@ -8428,7 +8609,7 @@ var CardMedia = React159.forwardRef(
|
|
|
8428
8609
|
}
|
|
8429
8610
|
);
|
|
8430
8611
|
CardMedia.displayName = "CardMedia";
|
|
8431
|
-
var CardActions =
|
|
8612
|
+
var CardActions = React163.forwardRef(
|
|
8432
8613
|
({ disableSpacing = false, children, className, style, sx, ...rest }, ref) => {
|
|
8433
8614
|
const sxClass = useSx(sx);
|
|
8434
8615
|
const classes = [
|
|
@@ -8437,13 +8618,13 @@ var CardActions = React159.forwardRef(
|
|
|
8437
8618
|
sxClass,
|
|
8438
8619
|
className
|
|
8439
8620
|
].filter(Boolean).join(" ");
|
|
8440
|
-
return /* @__PURE__ */
|
|
8621
|
+
return /* @__PURE__ */ React163.createElement("div", { ref, className: classes, style, ...rest }, children);
|
|
8441
8622
|
}
|
|
8442
8623
|
);
|
|
8443
8624
|
CardActions.displayName = "CardActions";
|
|
8444
8625
|
|
|
8445
8626
|
// lib/Accordion/Accordion.tsx
|
|
8446
|
-
var
|
|
8627
|
+
var React164 = __toESM(require("react"), 1);
|
|
8447
8628
|
var import_react31 = require("react");
|
|
8448
8629
|
var AccordionContext = (0, import_react31.createContext)({
|
|
8449
8630
|
expanded: false,
|
|
@@ -8451,7 +8632,7 @@ var AccordionContext = (0, import_react31.createContext)({
|
|
|
8451
8632
|
toggle: () => {
|
|
8452
8633
|
}
|
|
8453
8634
|
});
|
|
8454
|
-
var Accordion =
|
|
8635
|
+
var Accordion = React164.forwardRef(
|
|
8455
8636
|
({
|
|
8456
8637
|
expanded: expandedProp,
|
|
8457
8638
|
defaultExpanded = false,
|
|
@@ -8486,11 +8667,11 @@ var Accordion = React160.forwardRef(
|
|
|
8486
8667
|
sxClass,
|
|
8487
8668
|
className
|
|
8488
8669
|
].filter(Boolean).join(" ");
|
|
8489
|
-
return /* @__PURE__ */
|
|
8670
|
+
return /* @__PURE__ */ React164.createElement(AccordionContext.Provider, { value: { expanded, disabled, toggle } }, /* @__PURE__ */ React164.createElement("div", { ref, className: classes, style, ...rest }, children));
|
|
8490
8671
|
}
|
|
8491
8672
|
);
|
|
8492
8673
|
Accordion.displayName = "Accordion";
|
|
8493
|
-
var ChevronIcon = () => /* @__PURE__ */
|
|
8674
|
+
var ChevronIcon = () => /* @__PURE__ */ React164.createElement(
|
|
8494
8675
|
"svg",
|
|
8495
8676
|
{
|
|
8496
8677
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -8504,9 +8685,9 @@ var ChevronIcon = () => /* @__PURE__ */ React160.createElement(
|
|
|
8504
8685
|
strokeLinejoin: "round",
|
|
8505
8686
|
"aria-hidden": "true"
|
|
8506
8687
|
},
|
|
8507
|
-
/* @__PURE__ */
|
|
8688
|
+
/* @__PURE__ */ React164.createElement("polyline", { points: "6 9 12 15 18 9" })
|
|
8508
8689
|
);
|
|
8509
|
-
var AccordionSummary =
|
|
8690
|
+
var AccordionSummary = React164.forwardRef(
|
|
8510
8691
|
({ expandIcon, children, sx, className, style, ...rest }, ref) => {
|
|
8511
8692
|
const sxClass = useSx(sx);
|
|
8512
8693
|
const { expanded, toggle, disabled } = (0, import_react31.useContext)(AccordionContext);
|
|
@@ -8520,7 +8701,7 @@ var AccordionSummary = React160.forwardRef(
|
|
|
8520
8701
|
"rf-accordion-summary-icon",
|
|
8521
8702
|
expanded ? "rf-accordion-icon-expanded" : ""
|
|
8522
8703
|
].filter(Boolean).join(" ");
|
|
8523
|
-
return /* @__PURE__ */
|
|
8704
|
+
return /* @__PURE__ */ React164.createElement(
|
|
8524
8705
|
"button",
|
|
8525
8706
|
{
|
|
8526
8707
|
ref,
|
|
@@ -8532,13 +8713,13 @@ var AccordionSummary = React160.forwardRef(
|
|
|
8532
8713
|
"aria-expanded": expanded,
|
|
8533
8714
|
...rest
|
|
8534
8715
|
},
|
|
8535
|
-
/* @__PURE__ */
|
|
8536
|
-
/* @__PURE__ */
|
|
8716
|
+
/* @__PURE__ */ React164.createElement("span", { className: "rf-accordion-summary-content" }, children),
|
|
8717
|
+
/* @__PURE__ */ React164.createElement("span", { className: iconClasses }, expandIcon !== void 0 ? expandIcon : /* @__PURE__ */ React164.createElement(ChevronIcon, null))
|
|
8537
8718
|
);
|
|
8538
8719
|
}
|
|
8539
8720
|
);
|
|
8540
8721
|
AccordionSummary.displayName = "AccordionSummary";
|
|
8541
|
-
var AccordionDetails =
|
|
8722
|
+
var AccordionDetails = React164.forwardRef(
|
|
8542
8723
|
({ children, sx, className, style, ...rest }, ref) => {
|
|
8543
8724
|
const sxClass = useSx(sx);
|
|
8544
8725
|
const { expanded } = (0, import_react31.useContext)(AccordionContext);
|
|
@@ -8551,7 +8732,7 @@ var AccordionDetails = React160.forwardRef(
|
|
|
8551
8732
|
sxClass,
|
|
8552
8733
|
className
|
|
8553
8734
|
].filter(Boolean).join(" ");
|
|
8554
|
-
return /* @__PURE__ */
|
|
8735
|
+
return /* @__PURE__ */ React164.createElement("div", { className: wrapperClasses }, /* @__PURE__ */ React164.createElement("div", { className: "rf-accordion-details-inner" }, /* @__PURE__ */ React164.createElement("div", { ref, className: detailsClasses, style, ...rest }, children)));
|
|
8555
8736
|
}
|
|
8556
8737
|
);
|
|
8557
8738
|
AccordionDetails.displayName = "AccordionDetails";
|
|
@@ -9261,6 +9442,120 @@ var Drawer = ({
|
|
|
9261
9442
|
};
|
|
9262
9443
|
Drawer.displayName = "Drawer";
|
|
9263
9444
|
|
|
9445
|
+
// lib/Pagination/Pagination.tsx
|
|
9446
|
+
var React170 = __toESM(require("react"), 1);
|
|
9447
|
+
function range(start, end) {
|
|
9448
|
+
const out = [];
|
|
9449
|
+
for (let i = start; i <= end; i++) out.push(i);
|
|
9450
|
+
return out;
|
|
9451
|
+
}
|
|
9452
|
+
function buildItems(count, page, siblingCount, boundaryCount) {
|
|
9453
|
+
const startPages = range(1, Math.min(boundaryCount, count));
|
|
9454
|
+
const endPages = range(Math.max(count - boundaryCount + 1, boundaryCount + 1), count);
|
|
9455
|
+
const siblingsStart = Math.max(
|
|
9456
|
+
Math.min(page - siblingCount, count - boundaryCount - siblingCount * 2 - 1),
|
|
9457
|
+
boundaryCount + 2
|
|
9458
|
+
);
|
|
9459
|
+
const siblingsEnd = Math.min(
|
|
9460
|
+
Math.max(page + siblingCount, boundaryCount + siblingCount * 2 + 2),
|
|
9461
|
+
endPages.length > 0 ? endPages[0] - 2 : count - 1
|
|
9462
|
+
);
|
|
9463
|
+
const items = [];
|
|
9464
|
+
startPages.forEach((p) => items.push({ type: "page", page: p, key: `p-${p}` }));
|
|
9465
|
+
if (siblingsStart > boundaryCount + 2) {
|
|
9466
|
+
items.push({ type: "start-ellipsis", key: "start-ellipsis" });
|
|
9467
|
+
} else if (boundaryCount + 1 < count - boundaryCount) {
|
|
9468
|
+
items.push({ type: "page", page: boundaryCount + 1, key: `p-${boundaryCount + 1}` });
|
|
9469
|
+
}
|
|
9470
|
+
range(siblingsStart, siblingsEnd).forEach(
|
|
9471
|
+
(p) => items.push({ type: "page", page: p, key: `p-${p}` })
|
|
9472
|
+
);
|
|
9473
|
+
if (siblingsEnd < count - boundaryCount - 1) {
|
|
9474
|
+
items.push({ type: "end-ellipsis", key: "end-ellipsis" });
|
|
9475
|
+
} else if (count - boundaryCount > boundaryCount) {
|
|
9476
|
+
items.push({
|
|
9477
|
+
type: "page",
|
|
9478
|
+
page: count - boundaryCount,
|
|
9479
|
+
key: `p-${count - boundaryCount}`
|
|
9480
|
+
});
|
|
9481
|
+
}
|
|
9482
|
+
endPages.forEach((p) => items.push({ type: "page", page: p, key: `p-${p}` }));
|
|
9483
|
+
return items;
|
|
9484
|
+
}
|
|
9485
|
+
var Pagination = React170.forwardRef(
|
|
9486
|
+
({
|
|
9487
|
+
count,
|
|
9488
|
+
page: pageProp,
|
|
9489
|
+
defaultPage = 1,
|
|
9490
|
+
onChange,
|
|
9491
|
+
siblingCount = 1,
|
|
9492
|
+
boundaryCount = 1,
|
|
9493
|
+
showFirstButton = false,
|
|
9494
|
+
showLastButton = false,
|
|
9495
|
+
hidePrevButton = false,
|
|
9496
|
+
hideNextButton = false,
|
|
9497
|
+
disabled = false,
|
|
9498
|
+
shape = "circular",
|
|
9499
|
+
size = "medium",
|
|
9500
|
+
color = "standard",
|
|
9501
|
+
sx,
|
|
9502
|
+
className,
|
|
9503
|
+
...rest
|
|
9504
|
+
}, ref) => {
|
|
9505
|
+
const isControlled = pageProp !== void 0;
|
|
9506
|
+
const [uncontrolledPage, setUncontrolledPage] = React170.useState(defaultPage);
|
|
9507
|
+
const page = isControlled ? pageProp : uncontrolledPage;
|
|
9508
|
+
const sxClass = useSx(sx);
|
|
9509
|
+
const classes = [
|
|
9510
|
+
"rf-pagination",
|
|
9511
|
+
`rf-pagination--${size}`,
|
|
9512
|
+
`rf-pagination--${shape}`,
|
|
9513
|
+
`rf-pagination--${color}`,
|
|
9514
|
+
sxClass,
|
|
9515
|
+
className
|
|
9516
|
+
].filter(Boolean).join(" ");
|
|
9517
|
+
const goTo = (e, p) => {
|
|
9518
|
+
const clamped = Math.max(1, Math.min(p, count));
|
|
9519
|
+
if (!isControlled) setUncontrolledPage(clamped);
|
|
9520
|
+
onChange?.(e, clamped);
|
|
9521
|
+
};
|
|
9522
|
+
const items = buildItems(count, page, siblingCount, boundaryCount);
|
|
9523
|
+
const renderControl = (key, label, targetPage, isDisabled, symbol) => /* @__PURE__ */ React170.createElement("li", { key }, /* @__PURE__ */ React170.createElement(
|
|
9524
|
+
"button",
|
|
9525
|
+
{
|
|
9526
|
+
type: "button",
|
|
9527
|
+
className: "rf-pagination__btn rf-pagination__btn--control",
|
|
9528
|
+
"aria-label": label,
|
|
9529
|
+
disabled: isDisabled || disabled,
|
|
9530
|
+
onClick: (e) => goTo(e, targetPage)
|
|
9531
|
+
},
|
|
9532
|
+
symbol
|
|
9533
|
+
));
|
|
9534
|
+
return /* @__PURE__ */ React170.createElement("nav", { ref, className: classes, "aria-label": "pagination", ...rest }, /* @__PURE__ */ React170.createElement("ul", { className: "rf-pagination__list" }, showFirstButton && renderControl("first", "Go to first page", 1, page <= 1, "\xAB"), !hidePrevButton && renderControl("prev", "Go to previous page", page - 1, page <= 1, "\u2039"), items.map((item) => {
|
|
9535
|
+
if (item.type === "start-ellipsis" || item.type === "end-ellipsis") {
|
|
9536
|
+
return /* @__PURE__ */ React170.createElement("li", { key: item.key, "aria-hidden": "true" }, /* @__PURE__ */ React170.createElement("span", { className: "rf-pagination__ellipsis" }, "\u2026"));
|
|
9537
|
+
}
|
|
9538
|
+
const isActive = item.page === page;
|
|
9539
|
+
return /* @__PURE__ */ React170.createElement("li", { key: item.key }, /* @__PURE__ */ React170.createElement(
|
|
9540
|
+
"button",
|
|
9541
|
+
{
|
|
9542
|
+
type: "button",
|
|
9543
|
+
className: [
|
|
9544
|
+
"rf-pagination__btn",
|
|
9545
|
+
isActive ? "rf-pagination__btn--active" : ""
|
|
9546
|
+
].filter(Boolean).join(" "),
|
|
9547
|
+
"aria-current": isActive ? "page" : void 0,
|
|
9548
|
+
"aria-label": `Go to page ${item.page}`,
|
|
9549
|
+
disabled,
|
|
9550
|
+
onClick: (e) => goTo(e, item.page)
|
|
9551
|
+
},
|
|
9552
|
+
item.page
|
|
9553
|
+
));
|
|
9554
|
+
}), !hideNextButton && renderControl("next", "Go to next page", page + 1, page >= count, "\u203A"), showLastButton && renderControl("last", "Go to last page", count, page >= count, "\xBB")));
|
|
9555
|
+
}
|
|
9556
|
+
);
|
|
9557
|
+
Pagination.displayName = "Pagination";
|
|
9558
|
+
|
|
9264
9559
|
// lib/Snackbar/Snackbar.tsx
|
|
9265
9560
|
var import_react37 = __toESM(require("react"), 1);
|
|
9266
9561
|
var import_react_dom9 = __toESM(require("react-dom"), 1);
|
|
@@ -9372,8 +9667,160 @@ var Snackbar = ({
|
|
|
9372
9667
|
};
|
|
9373
9668
|
Snackbar.displayName = "Snackbar";
|
|
9374
9669
|
|
|
9670
|
+
// lib/Alert/Alert.tsx
|
|
9671
|
+
var React172 = __toESM(require("react"), 1);
|
|
9672
|
+
var DEFAULT_ICONS = {
|
|
9673
|
+
success: /* @__PURE__ */ React172.createElement("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": true }, /* @__PURE__ */ React172.createElement("path", { d: "M12 2a10 10 0 100 20 10 10 0 000-20zm-1 14.5l-4.5-4.5 1.4-1.4L11 13.7l6.1-6.1L18.5 9 11 16.5z" })),
|
|
9674
|
+
info: /* @__PURE__ */ React172.createElement("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": true }, /* @__PURE__ */ React172.createElement("path", { d: "M12 2a10 10 0 100 20 10 10 0 000-20zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z" })),
|
|
9675
|
+
warning: /* @__PURE__ */ React172.createElement("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": true }, /* @__PURE__ */ React172.createElement("path", { d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z" })),
|
|
9676
|
+
error: /* @__PURE__ */ React172.createElement("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": true }, /* @__PURE__ */ React172.createElement("path", { d: "M12 2a10 10 0 100 20 10 10 0 000-20zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }))
|
|
9677
|
+
};
|
|
9678
|
+
var Alert = React172.forwardRef(
|
|
9679
|
+
({
|
|
9680
|
+
severity = "info",
|
|
9681
|
+
variant = "standard",
|
|
9682
|
+
title,
|
|
9683
|
+
icon,
|
|
9684
|
+
action,
|
|
9685
|
+
onClose,
|
|
9686
|
+
sx,
|
|
9687
|
+
className,
|
|
9688
|
+
children,
|
|
9689
|
+
role = "alert",
|
|
9690
|
+
...rest
|
|
9691
|
+
}, ref) => {
|
|
9692
|
+
const sxClass = useSx(sx);
|
|
9693
|
+
const classes = [
|
|
9694
|
+
"rf-alert",
|
|
9695
|
+
`rf-alert--${severity}`,
|
|
9696
|
+
`rf-alert--${variant}`,
|
|
9697
|
+
sxClass,
|
|
9698
|
+
className
|
|
9699
|
+
].filter(Boolean).join(" ");
|
|
9700
|
+
const resolvedIcon = icon === false ? null : icon ?? DEFAULT_ICONS[severity];
|
|
9701
|
+
const closeAction = onClose && !action ? /* @__PURE__ */ React172.createElement(
|
|
9702
|
+
"button",
|
|
9703
|
+
{
|
|
9704
|
+
type: "button",
|
|
9705
|
+
"aria-label": "Close",
|
|
9706
|
+
className: "rf-alert__close",
|
|
9707
|
+
onClick: onClose
|
|
9708
|
+
},
|
|
9709
|
+
"\xD7"
|
|
9710
|
+
) : null;
|
|
9711
|
+
return /* @__PURE__ */ React172.createElement("div", { ref, role, className: classes, ...rest }, resolvedIcon !== null && /* @__PURE__ */ React172.createElement("span", { className: "rf-alert__icon" }, resolvedIcon), /* @__PURE__ */ React172.createElement("div", { className: "rf-alert__message" }, title && /* @__PURE__ */ React172.createElement("div", { className: "rf-alert__title" }, title), children), (action || closeAction) && /* @__PURE__ */ React172.createElement("div", { className: "rf-alert__action" }, action ?? closeAction));
|
|
9712
|
+
}
|
|
9713
|
+
);
|
|
9714
|
+
Alert.displayName = "Alert";
|
|
9715
|
+
|
|
9716
|
+
// lib/Timeline/Timeline.tsx
|
|
9717
|
+
var React173 = __toESM(require("react"), 1);
|
|
9718
|
+
var TimelineContext = React173.createContext({ position: "right" });
|
|
9719
|
+
var TimelineItemContext = React173.createContext({
|
|
9720
|
+
effectivePosition: "right"
|
|
9721
|
+
});
|
|
9722
|
+
var Timeline = React173.forwardRef(
|
|
9723
|
+
({ position = "right", sx, className, children, ...rest }, ref) => {
|
|
9724
|
+
const sxClass = useSx(sx);
|
|
9725
|
+
const classes = [
|
|
9726
|
+
"rf-timeline",
|
|
9727
|
+
`rf-timeline--${position}`,
|
|
9728
|
+
sxClass,
|
|
9729
|
+
className
|
|
9730
|
+
].filter(Boolean).join(" ");
|
|
9731
|
+
const indexed = React173.Children.map(children, (child, idx) => {
|
|
9732
|
+
if (!React173.isValidElement(child)) return child;
|
|
9733
|
+
return React173.cloneElement(child, {
|
|
9734
|
+
"data-rf-timeline-index": idx
|
|
9735
|
+
});
|
|
9736
|
+
});
|
|
9737
|
+
return /* @__PURE__ */ React173.createElement(TimelineContext.Provider, { value: { position } }, /* @__PURE__ */ React173.createElement("ul", { ref, className: classes, ...rest }, indexed));
|
|
9738
|
+
}
|
|
9739
|
+
);
|
|
9740
|
+
Timeline.displayName = "Timeline";
|
|
9741
|
+
var TimelineItem = React173.forwardRef(
|
|
9742
|
+
(props, ref) => {
|
|
9743
|
+
const {
|
|
9744
|
+
position: positionProp,
|
|
9745
|
+
sx,
|
|
9746
|
+
className,
|
|
9747
|
+
children,
|
|
9748
|
+
...rest
|
|
9749
|
+
} = props;
|
|
9750
|
+
const { position: parentPosition } = React173.useContext(TimelineContext);
|
|
9751
|
+
const idx = rest["data-rf-timeline-index"];
|
|
9752
|
+
let effectivePosition;
|
|
9753
|
+
if (positionProp) {
|
|
9754
|
+
effectivePosition = positionProp;
|
|
9755
|
+
} else if (parentPosition === "right") {
|
|
9756
|
+
effectivePosition = "right";
|
|
9757
|
+
} else if (parentPosition === "left") {
|
|
9758
|
+
effectivePosition = "left";
|
|
9759
|
+
} else if (parentPosition === "alternate") {
|
|
9760
|
+
effectivePosition = (idx ?? 0) % 2 === 0 ? "right" : "left";
|
|
9761
|
+
} else {
|
|
9762
|
+
effectivePosition = (idx ?? 0) % 2 === 0 ? "left" : "right";
|
|
9763
|
+
}
|
|
9764
|
+
let hasOpposite = false;
|
|
9765
|
+
React173.Children.forEach(children, (child) => {
|
|
9766
|
+
if (React173.isValidElement(child) && child.type?.displayName === "TimelineOppositeContent") {
|
|
9767
|
+
hasOpposite = true;
|
|
9768
|
+
}
|
|
9769
|
+
});
|
|
9770
|
+
const sxClass = useSx(sx);
|
|
9771
|
+
const classes = [
|
|
9772
|
+
"rf-timeline-item",
|
|
9773
|
+
`rf-timeline-item--${effectivePosition}`,
|
|
9774
|
+
hasOpposite ? "rf-timeline-item--has-opposite" : "rf-timeline-item--no-opposite",
|
|
9775
|
+
sxClass,
|
|
9776
|
+
className
|
|
9777
|
+
].filter(Boolean).join(" ");
|
|
9778
|
+
return /* @__PURE__ */ React173.createElement(TimelineItemContext.Provider, { value: { effectivePosition } }, /* @__PURE__ */ React173.createElement("li", { ref, className: classes, ...rest }, children));
|
|
9779
|
+
}
|
|
9780
|
+
);
|
|
9781
|
+
TimelineItem.displayName = "TimelineItem";
|
|
9782
|
+
var TimelineSeparator = React173.forwardRef(({ sx, className, children, ...rest }, ref) => {
|
|
9783
|
+
const sxClass = useSx(sx);
|
|
9784
|
+
const classes = ["rf-timeline-separator", sxClass, className].filter(Boolean).join(" ");
|
|
9785
|
+
return /* @__PURE__ */ React173.createElement("div", { ref, className: classes, ...rest }, children);
|
|
9786
|
+
});
|
|
9787
|
+
TimelineSeparator.displayName = "TimelineSeparator";
|
|
9788
|
+
var TimelineDot = React173.forwardRef(
|
|
9789
|
+
({ color = "grey", variant = "filled", sx, className, children, ...rest }, ref) => {
|
|
9790
|
+
const sxClass = useSx(sx);
|
|
9791
|
+
const classes = [
|
|
9792
|
+
"rf-timeline-dot",
|
|
9793
|
+
`rf-timeline-dot--${variant}`,
|
|
9794
|
+
`rf-timeline-dot--${color}`,
|
|
9795
|
+
children ? "rf-timeline-dot--has-content" : "",
|
|
9796
|
+
sxClass,
|
|
9797
|
+
className
|
|
9798
|
+
].filter(Boolean).join(" ");
|
|
9799
|
+
return /* @__PURE__ */ React173.createElement("span", { ref, className: classes, ...rest }, children);
|
|
9800
|
+
}
|
|
9801
|
+
);
|
|
9802
|
+
TimelineDot.displayName = "TimelineDot";
|
|
9803
|
+
var TimelineConnector = React173.forwardRef(({ sx, className, ...rest }, ref) => {
|
|
9804
|
+
const sxClass = useSx(sx);
|
|
9805
|
+
const classes = ["rf-timeline-connector", sxClass, className].filter(Boolean).join(" ");
|
|
9806
|
+
return /* @__PURE__ */ React173.createElement("span", { ref, className: classes, ...rest });
|
|
9807
|
+
});
|
|
9808
|
+
TimelineConnector.displayName = "TimelineConnector";
|
|
9809
|
+
var TimelineContent = React173.forwardRef(({ sx, className, children, ...rest }, ref) => {
|
|
9810
|
+
const sxClass = useSx(sx);
|
|
9811
|
+
const classes = ["rf-timeline-content", sxClass, className].filter(Boolean).join(" ");
|
|
9812
|
+
return /* @__PURE__ */ React173.createElement("div", { ref, className: classes, ...rest }, children);
|
|
9813
|
+
});
|
|
9814
|
+
TimelineContent.displayName = "TimelineContent";
|
|
9815
|
+
var TimelineOppositeContent = React173.forwardRef(({ sx, className, children, ...rest }, ref) => {
|
|
9816
|
+
const sxClass = useSx(sx);
|
|
9817
|
+
const classes = ["rf-timeline-opposite-content", sxClass, className].filter(Boolean).join(" ");
|
|
9818
|
+
return /* @__PURE__ */ React173.createElement("div", { ref, className: classes, ...rest }, children);
|
|
9819
|
+
});
|
|
9820
|
+
TimelineOppositeContent.displayName = "TimelineOppositeContent";
|
|
9821
|
+
|
|
9375
9822
|
// lib/ClickAwayListener/ClickAwayListener.tsx
|
|
9376
|
-
var
|
|
9823
|
+
var React174 = __toESM(require("react"), 1);
|
|
9377
9824
|
function mapEventPropToEvent(eventProp) {
|
|
9378
9825
|
return eventProp.substring(2).toLowerCase();
|
|
9379
9826
|
}
|
|
@@ -9391,7 +9838,7 @@ function setRef(ref, value) {
|
|
|
9391
9838
|
}
|
|
9392
9839
|
}
|
|
9393
9840
|
function useForkRef(refA, refB) {
|
|
9394
|
-
return
|
|
9841
|
+
return React174.useMemo(() => {
|
|
9395
9842
|
if (refA == null && refB == null) {
|
|
9396
9843
|
return null;
|
|
9397
9844
|
}
|
|
@@ -9402,14 +9849,14 @@ function useForkRef(refA, refB) {
|
|
|
9402
9849
|
}, [refA, refB]);
|
|
9403
9850
|
}
|
|
9404
9851
|
function useEventCallback(fn) {
|
|
9405
|
-
const ref =
|
|
9406
|
-
|
|
9852
|
+
const ref = React174.useRef(fn);
|
|
9853
|
+
React174.useEffect(() => {
|
|
9407
9854
|
ref.current = fn;
|
|
9408
9855
|
});
|
|
9409
|
-
return
|
|
9856
|
+
return React174.useCallback((...args) => ref.current(...args), []);
|
|
9410
9857
|
}
|
|
9411
9858
|
function getReactElementRef(element) {
|
|
9412
|
-
const major = parseInt(
|
|
9859
|
+
const major = parseInt(React174.version, 10);
|
|
9413
9860
|
if (major >= 19) {
|
|
9414
9861
|
return element.props?.ref ?? null;
|
|
9415
9862
|
}
|
|
@@ -9423,11 +9870,11 @@ function ClickAwayListener(props) {
|
|
|
9423
9870
|
onClickAway,
|
|
9424
9871
|
touchEvent = "onTouchEnd"
|
|
9425
9872
|
} = props;
|
|
9426
|
-
const movedRef =
|
|
9427
|
-
const nodeRef =
|
|
9428
|
-
const activatedRef =
|
|
9429
|
-
const syntheticEventRef =
|
|
9430
|
-
|
|
9873
|
+
const movedRef = React174.useRef(false);
|
|
9874
|
+
const nodeRef = React174.useRef(null);
|
|
9875
|
+
const activatedRef = React174.useRef(false);
|
|
9876
|
+
const syntheticEventRef = React174.useRef(false);
|
|
9877
|
+
React174.useEffect(() => {
|
|
9431
9878
|
const id = setTimeout(() => {
|
|
9432
9879
|
activatedRef.current = true;
|
|
9433
9880
|
}, 0);
|
|
@@ -9476,7 +9923,7 @@ function ClickAwayListener(props) {
|
|
|
9476
9923
|
if (touchEvent !== false) {
|
|
9477
9924
|
childrenProps[touchEvent] = createHandleSynthetic(touchEvent);
|
|
9478
9925
|
}
|
|
9479
|
-
|
|
9926
|
+
React174.useEffect(() => {
|
|
9480
9927
|
if (touchEvent === false) {
|
|
9481
9928
|
return void 0;
|
|
9482
9929
|
}
|
|
@@ -9495,7 +9942,7 @@ function ClickAwayListener(props) {
|
|
|
9495
9942
|
if (mouseEvent !== false) {
|
|
9496
9943
|
childrenProps[mouseEvent] = createHandleSynthetic(mouseEvent);
|
|
9497
9944
|
}
|
|
9498
|
-
|
|
9945
|
+
React174.useEffect(() => {
|
|
9499
9946
|
if (mouseEvent === false) {
|
|
9500
9947
|
return void 0;
|
|
9501
9948
|
}
|
|
@@ -9506,7 +9953,7 @@ function ClickAwayListener(props) {
|
|
|
9506
9953
|
doc.removeEventListener(mappedMouseEvent, handleClickAway);
|
|
9507
9954
|
};
|
|
9508
9955
|
}, [handleClickAway, mouseEvent]);
|
|
9509
|
-
return
|
|
9956
|
+
return React174.cloneElement(children, childrenProps);
|
|
9510
9957
|
}
|
|
9511
9958
|
|
|
9512
9959
|
// lib/Link/Link.tsx
|
|
@@ -11865,10 +12312,10 @@ var AICommands = ({ editor, onAICommand }) => {
|
|
|
11865
12312
|
}
|
|
11866
12313
|
}, [onAICommand]);
|
|
11867
12314
|
const handleCommandSelect = (0, import_react51.useCallback)((command) => {
|
|
11868
|
-
const { text, range } = getSelectedText();
|
|
12315
|
+
const { text, range: range2 } = getSelectedText();
|
|
11869
12316
|
if (!text.trim()) return;
|
|
11870
12317
|
setOriginalText(text);
|
|
11871
|
-
setSelectionRange(
|
|
12318
|
+
setSelectionRange(range2);
|
|
11872
12319
|
setPromptText(command.prompt);
|
|
11873
12320
|
setPreviousResults([]);
|
|
11874
12321
|
setOpen(false);
|
|
@@ -12857,38 +13304,38 @@ var CustomTaskItem = import_extension_task_item.default.extend({
|
|
|
12857
13304
|
});
|
|
12858
13305
|
|
|
12859
13306
|
// lib/RufousTextEditor/icons.tsx
|
|
12860
|
-
var
|
|
13307
|
+
var React189 = __toESM(require("react"), 1);
|
|
12861
13308
|
var s = { width: 20, height: 20, viewBox: "0 0 24 24", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg" };
|
|
12862
|
-
var IconUndo = () => /* @__PURE__ */
|
|
12863
|
-
var IconRedo = () => /* @__PURE__ */
|
|
12864
|
-
var IconBold = () => /* @__PURE__ */
|
|
12865
|
-
var IconItalic = () => /* @__PURE__ */
|
|
12866
|
-
var IconLink = () => /* @__PURE__ */
|
|
12867
|
-
var IconStrike = () => /* @__PURE__ */
|
|
12868
|
-
var IconHeading = () => /* @__PURE__ */
|
|
12869
|
-
var IconFontSize = () => /* @__PURE__ */
|
|
12870
|
-
var IconColor = () => /* @__PURE__ */
|
|
12871
|
-
var IconFont = () => /* @__PURE__ */
|
|
12872
|
-
var IconLineHeight = () => /* @__PURE__ */
|
|
12873
|
-
var IconBulletList = () => /* @__PURE__ */
|
|
12874
|
-
var IconOrderedList = () => /* @__PURE__ */
|
|
12875
|
-
var IconAlignLeft = () => /* @__PURE__ */
|
|
12876
|
-
var IconAlignCenter = () => /* @__PURE__ */
|
|
12877
|
-
var IconAlignRight = () => /* @__PURE__ */
|
|
12878
|
-
var IconAlignJustify = () => /* @__PURE__ */
|
|
12879
|
-
var IconIndentIncrease = () => /* @__PURE__ */
|
|
12880
|
-
var IconIndentDecrease = () => /* @__PURE__ */
|
|
12881
|
-
var IconTable = () => /* @__PURE__ */
|
|
12882
|
-
var IconImage = () => /* @__PURE__ */
|
|
12883
|
-
var IconVideo = () => /* @__PURE__ */
|
|
12884
|
-
var IconCut = () => /* @__PURE__ */
|
|
12885
|
-
var IconCopy = () => /* @__PURE__ */
|
|
12886
|
-
var IconCode = () => /* @__PURE__ */
|
|
12887
|
-
var IconFullscreen = () => /* @__PURE__ */
|
|
12888
|
-
var IconTranslate = () => /* @__PURE__ */
|
|
12889
|
-
var IconTaskList = () => /* @__PURE__ */
|
|
12890
|
-
var IconCheck = () => /* @__PURE__ */
|
|
12891
|
-
var IconPaste = () => /* @__PURE__ */
|
|
13309
|
+
var IconUndo = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M12.5 8C9.85 8 7.45 9 5.6 10.6L2 7v9h9l-3.62-3.62C8.93 11.01 10.63 10.2 12.5 10.2c3.03 0 5.6 1.93 6.55 4.63l2.15-.72C19.93 10.68 16.5 8 12.5 8z" }));
|
|
13310
|
+
var IconRedo = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M18.4 10.6C16.55 9 14.15 8 11.5 8c-4 0-7.43 2.68-8.7 6.11l2.15.72c.95-2.7 3.52-4.63 6.55-4.63 1.87 0 3.57.81 5.12 2.18L13 16h9V7l-3.6 3.6z" }));
|
|
13311
|
+
var IconBold = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5z" }));
|
|
13312
|
+
var IconItalic = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z" }));
|
|
13313
|
+
var IconLink = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z" }));
|
|
13314
|
+
var IconStrike = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M7.24 11h2.01c-.13-.42-.2-.88-.2-1.37 0-.89.32-1.58.96-2.08.64-.49 1.46-.74 2.47-.74.99 0 1.81.24 2.46.71.64.47.97 1.1.97 1.88h2.04c0-1.27-.55-2.33-1.64-3.18C15.21 5.37 13.83 4.95 12.2 4.95c-1.69 0-3.09.43-4.2 1.3C6.9 7.1 6.35 8.23 6.35 9.63c0 .47.06.92.18 1.37H3v2h18v-2H7.24zM12.2 17.05c-1.03 0-1.89-.28-2.56-.84-.67-.56-1-1.27-1-2.13h-2.1c0 1.36.58 2.5 1.75 3.44 1.16.93 2.56 1.4 4.19 1.4 1.69 0 3.09-.43 4.2-1.3 1.1-.86 1.65-1.99 1.65-3.38h-2.1c0 .85-.33 1.56-1 2.13-.66.56-1.52.84-2.56.84l-.47-.16z" }));
|
|
13315
|
+
var IconHeading = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M5 4v3h5.5v12h3V7H19V4z" }));
|
|
13316
|
+
var IconFontSize = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M9 4v3h5v12h2V7h5V4H9zm-6 8h3v7h2v-7h3v-2H3v2z" }));
|
|
13317
|
+
var IconColor = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M11 2L5.5 16h2.25l1.12-3h6.25l1.12 3h2.25L13 2h-2zm-1.38 9L12 4.67 14.38 11H9.62z" }), /* @__PURE__ */ React189.createElement("path", { d: "M3 20h18v3H3z", opacity: "0.8" }));
|
|
13318
|
+
var IconFont = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M9.93 13.5h4.14L12 7.98 9.93 13.5zM20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-4.05 16.5l-1.14-3H9.17l-1.12 3H5.96l5.11-13h1.86l5.11 13h-2.09z" }));
|
|
13319
|
+
var IconLineHeight = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M6 7h2.5L5 3.5 1.5 7H4v10H1.5L5 20.5 8.5 17H6V7zm16-3h-8v2h8V4zm0 4h-8v2h8V8zm0 4h-8v2h8v-2zm0 4h-8v2h8v-2z" }));
|
|
13320
|
+
var IconBulletList = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-6c-.83 0-1.5.67-1.5 1.5S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5zm0 12c-.83 0-1.5.68-1.5 1.5s.68 1.5 1.5 1.5 1.5-.68 1.5-1.5-.67-1.5-1.5-1.5zM7 19h14v-2H7v2zm0-6h14v-2H7v2zm0-8v2h14V5H7z" }));
|
|
13321
|
+
var IconOrderedList = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M2 17h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2v1zm5-6v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z" }));
|
|
13322
|
+
var IconAlignLeft = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M15 15H3v2h12v-2zm0-8H3v2h12V7zM3 13h18v-2H3v2zM3 21h18v-2H3v2zM3 3v2h18V3H3z" }));
|
|
13323
|
+
var IconAlignCenter = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M7 15v2h10v-2H7zm-4 6h18v-2H3v2zm0-8h18v-2H3v2zm4-6v2h10V7H7zM3 3v2h18V3H3z" }));
|
|
13324
|
+
var IconAlignRight = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M3 21h18v-2H3v2zm6-4h12v-2H9v2zm-6-4h18v-2H3v2zm6-4h12V7H9v2zM3 3v2h18V3H3z" }));
|
|
13325
|
+
var IconAlignJustify = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M3 21h18v-2H3v2zm0-4h18v-2H3v2zm0-4h18v-2H3v2zm0-4h18V7H3v2zM3 3v2h18V3H3z" }));
|
|
13326
|
+
var IconIndentIncrease = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M3 21h18v-2H3v2zM3 8v8l4-4-4-4zm8 9h10v-2H11v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z" }));
|
|
13327
|
+
var IconIndentDecrease = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M11 17h10v-2H11v2zm-8-5l4 4V8l-4 4zm0 9h18v-2H3v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z" }));
|
|
13328
|
+
var IconTable = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 19V5h4v14H5zm6 0V5h4v14h-4zm6 0V5h3v14h-3z", fillRule: "evenodd" }));
|
|
13329
|
+
var IconImage = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z" }));
|
|
13330
|
+
var IconVideo = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M4 6.47L5.76 10H20v8H4V6.47M22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4z" }));
|
|
13331
|
+
var IconCut = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M9.64 7.64c.23-.5.36-1.05.36-1.64 0-2.21-1.79-4-4-4S2 3.79 2 6s1.79 4 4 4c.59 0 1.14-.13 1.64-.36L10 12l-2.36 2.36C7.14 14.13 6.59 14 6 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4c0-.59-.13-1.14-.36-1.64L12 14l7 7h3v-1L9.64 7.64zM6 8c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm0 12c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm6-7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5zM19 3l-6 6 2 2 7-7V3h-3z" }));
|
|
13332
|
+
var IconCopy = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z" }));
|
|
13333
|
+
var IconCode = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z" }));
|
|
13334
|
+
var IconFullscreen = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z" }));
|
|
13335
|
+
var IconTranslate = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M12.87 15.07l-2.54-2.51.03-.03A17.52 17.52 0 0014.07 6H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2.02c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z" }));
|
|
13336
|
+
var IconTaskList = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M22 8c0-.55-.45-1-1-1h-7c-.55 0-1 .45-1 1s.45 1 1 1h7c.55 0 1-.45 1-1zm0 8c0-.55-.45-1-1-1h-7c-.55 0-1 .45-1 1s.45 1 1 1h7c.55 0 1-.45 1-1zM5.54 11L2 7.46l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41L5.54 11zm0 8L2 15.46l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41L5.54 19z" }));
|
|
13337
|
+
var IconCheck = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" }));
|
|
13338
|
+
var IconPaste = () => /* @__PURE__ */ React189.createElement("svg", { ...s }, /* @__PURE__ */ React189.createElement("path", { d: "M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z" }));
|
|
12892
13339
|
|
|
12893
13340
|
// lib/RufousTextEditor/Toolbar.tsx
|
|
12894
13341
|
var COLOR_PALETTE = [
|
|
@@ -15385,6 +15832,7 @@ function useCitiesSearch(debounceMs = 300) {
|
|
|
15385
15832
|
AddButton,
|
|
15386
15833
|
AddIcon,
|
|
15387
15834
|
AddressLookup,
|
|
15835
|
+
Alert,
|
|
15388
15836
|
AlertTriangleIcon,
|
|
15389
15837
|
ArchivedIcon,
|
|
15390
15838
|
ArrowDownIcon,
|
|
@@ -15402,6 +15850,7 @@ function useCitiesSearch(debounceMs = 300) {
|
|
|
15402
15850
|
Breadcrumbs,
|
|
15403
15851
|
BusinessIcon,
|
|
15404
15852
|
Button,
|
|
15853
|
+
ButtonGroup,
|
|
15405
15854
|
CalendarIcon,
|
|
15406
15855
|
CameraIcon,
|
|
15407
15856
|
CancelButton,
|
|
@@ -15425,6 +15874,7 @@ function useCitiesSearch(debounceMs = 300) {
|
|
|
15425
15874
|
CloseIcon,
|
|
15426
15875
|
Collapse,
|
|
15427
15876
|
ContactsIcon,
|
|
15877
|
+
Container,
|
|
15428
15878
|
CopyIcon,
|
|
15429
15879
|
CustomImage,
|
|
15430
15880
|
CustomTaskItem,
|
|
@@ -15454,6 +15904,7 @@ function useCitiesSearch(debounceMs = 300) {
|
|
|
15454
15904
|
FlagIcon,
|
|
15455
15905
|
FontFamily,
|
|
15456
15906
|
FontSize,
|
|
15907
|
+
FormGroup,
|
|
15457
15908
|
FunctionIcon,
|
|
15458
15909
|
GlobeIcon,
|
|
15459
15910
|
Grid,
|
|
@@ -15472,6 +15923,7 @@ function useCitiesSearch(debounceMs = 300) {
|
|
|
15472
15923
|
InfoIcon,
|
|
15473
15924
|
InvoiceIcon,
|
|
15474
15925
|
LineHeight,
|
|
15926
|
+
LinearProgress,
|
|
15475
15927
|
Link,
|
|
15476
15928
|
LinkIcon,
|
|
15477
15929
|
List,
|
|
@@ -15503,6 +15955,7 @@ function useCitiesSearch(debounceMs = 300) {
|
|
|
15503
15955
|
NotesIcon,
|
|
15504
15956
|
NotificationIcon,
|
|
15505
15957
|
OpenInFullIcon,
|
|
15958
|
+
Pagination,
|
|
15506
15959
|
Paper,
|
|
15507
15960
|
PaperclipIcon,
|
|
15508
15961
|
PersonSearchIcon,
|
|
@@ -15585,6 +16038,13 @@ function useCitiesSearch(debounceMs = 300) {
|
|
|
15585
16038
|
TextField,
|
|
15586
16039
|
TextFieldsIcon,
|
|
15587
16040
|
TickIcon,
|
|
16041
|
+
Timeline,
|
|
16042
|
+
TimelineConnector,
|
|
16043
|
+
TimelineContent,
|
|
16044
|
+
TimelineDot,
|
|
16045
|
+
TimelineItem,
|
|
16046
|
+
TimelineOppositeContent,
|
|
16047
|
+
TimelineSeparator,
|
|
15588
16048
|
TimerIcon,
|
|
15589
16049
|
ToggleButton,
|
|
15590
16050
|
ToggleButtonGroup,
|