@rufous/ui 0.3.49 → 0.3.52
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 +452 -128
- package/dist/main.d.cts +68 -13
- package/dist/main.d.ts +68 -13
- package/dist/main.js +1276 -972
- package/package.json +2 -2
package/dist/main.cjs
CHANGED
|
@@ -35,6 +35,7 @@ __export(main_exports, {
|
|
|
35
35
|
AccordionSummary: () => AccordionSummary,
|
|
36
36
|
ActivateUserIcon: () => activateUserIcon_default,
|
|
37
37
|
AddButton: () => addButton_default,
|
|
38
|
+
AddIcon: () => AddIcon,
|
|
38
39
|
AddressLookup: () => AddressLookup_default,
|
|
39
40
|
AlertTriangleIcon: () => alertTriangleIcon_default,
|
|
40
41
|
ArchivedIcon: () => archivedIcon_default,
|
|
@@ -43,6 +44,7 @@ __export(main_exports, {
|
|
|
43
44
|
ArrowRightIcon: () => arrowRightIcon_default,
|
|
44
45
|
ArrowUpIcon: () => arrowUpIcon_default,
|
|
45
46
|
AssignGroupIcon: () => assignGroupIcon_default,
|
|
47
|
+
AttachFileIcon: () => attachFileIcon_default,
|
|
46
48
|
Autocomplete: () => Autocomplete,
|
|
47
49
|
Avatar: () => Avatar,
|
|
48
50
|
AvatarGroup: () => AvatarGroup,
|
|
@@ -50,7 +52,9 @@ __export(main_exports, {
|
|
|
50
52
|
BookmarkIcon: () => bookmarkIcon_default,
|
|
51
53
|
Box: () => Box,
|
|
52
54
|
Breadcrumbs: () => Breadcrumbs,
|
|
55
|
+
BusinessIcon: () => businessIcon_default,
|
|
53
56
|
Button: () => Button,
|
|
57
|
+
CalendarIcon: () => calendarIcon_default,
|
|
54
58
|
CameraIcon: () => cameraIcon_default,
|
|
55
59
|
CancelButton: () => cancelButton_default,
|
|
56
60
|
Card: () => Card,
|
|
@@ -58,6 +62,7 @@ __export(main_exports, {
|
|
|
58
62
|
CardContent: () => CardContent,
|
|
59
63
|
CardHeader: () => CardHeader,
|
|
60
64
|
CardMedia: () => CardMedia,
|
|
65
|
+
ChatBubbleIcon: () => chatBubbleIcon_default,
|
|
61
66
|
CheckCircleIcon: () => checkCircleIcon_default,
|
|
62
67
|
Checkbox: () => Checkbox,
|
|
63
68
|
ChevronDownIcon: () => chevronDownIcon_default,
|
|
@@ -67,9 +72,11 @@ __export(main_exports, {
|
|
|
67
72
|
Chip: () => Chip,
|
|
68
73
|
CircularProgress: () => circularProgress_default,
|
|
69
74
|
CircularProgressIcon: () => CircularProgressIcon,
|
|
75
|
+
ClickAwayListener: () => ClickAwayListener,
|
|
70
76
|
ClipboardIcon: () => clipboardIcon_default,
|
|
71
77
|
CloseIcon: () => closeIcon_default,
|
|
72
78
|
Collapse: () => Collapse,
|
|
79
|
+
ContactsIcon: () => contactsIcon_default,
|
|
73
80
|
CopyIcon: () => copyIcon_default,
|
|
74
81
|
CustomImage: () => CustomImage,
|
|
75
82
|
CustomTaskItem: () => CustomTaskItem,
|
|
@@ -86,12 +93,14 @@ __export(main_exports, {
|
|
|
86
93
|
DollarIcon: () => dollarIcon_default,
|
|
87
94
|
DownloadIcon: () => downloadIcon_default,
|
|
88
95
|
DownloadPdfIcon: () => downloadPdfIcon_default,
|
|
96
|
+
DragIndicatorIcon: () => dragIndicatorIcon_default,
|
|
89
97
|
Drawer: () => Drawer,
|
|
90
98
|
EditChatIcon: () => editChatIcon_default,
|
|
91
99
|
EditIcon: () => editIcon_default,
|
|
92
100
|
EngagementIcon: () => engagementIcon_default,
|
|
93
101
|
ExternalLinkIcon: () => externalLinkIcon_default,
|
|
94
102
|
EyeOffIcon: () => eyeOffIcon_default,
|
|
103
|
+
FactoryIcon: () => factoryIcon_default,
|
|
95
104
|
Fade: () => Fade,
|
|
96
105
|
FilterIcon: () => filterIcon_default,
|
|
97
106
|
FlagIcon: () => flagIcon_default,
|
|
@@ -125,11 +134,13 @@ __export(main_exports, {
|
|
|
125
134
|
ListStyle: () => ListStyle,
|
|
126
135
|
ListSubheader: () => ListSubheader,
|
|
127
136
|
ListViewIcon: () => listViewIcon_default,
|
|
137
|
+
LocationCityIcon: () => locationCityIcon_default,
|
|
128
138
|
LocationPinIcon: () => locationPinIcon_default,
|
|
129
139
|
LockIcon: () => lockIcon_default,
|
|
130
140
|
LogsIcon: () => logsIcon_default,
|
|
131
141
|
MAX_INDENT: () => MAX_INDENT,
|
|
132
142
|
MailIcon: () => mailIcon_default,
|
|
143
|
+
MemoryIcon: () => memoryIcon_default,
|
|
133
144
|
Menu: () => Menu,
|
|
134
145
|
MenuDivider: () => MenuDivider,
|
|
135
146
|
MenuIcon: () => menuIcon_default,
|
|
@@ -141,11 +152,16 @@ __export(main_exports, {
|
|
|
141
152
|
MoreHorizontalIcon: () => moreHorizontalIcon_default,
|
|
142
153
|
MoreVerticalIcon: () => moreVerticalIcon_default,
|
|
143
154
|
NineDotMenuIcon: () => nineDotMenuIcon_default,
|
|
155
|
+
NotesIcon: () => notesIcon_default,
|
|
144
156
|
NotificationIcon: () => notificationIcon_default,
|
|
157
|
+
OpenInFullIcon: () => openInFullIcon_default,
|
|
145
158
|
Paper: () => Paper,
|
|
146
159
|
PaperclipIcon: () => paperclipIcon_default,
|
|
160
|
+
PersonSearchIcon: () => personSearchIcon_default,
|
|
147
161
|
PhoneField: () => PhoneField,
|
|
148
162
|
PhoneIcon: () => phoneIcon_default,
|
|
163
|
+
PinIcon: () => pinIcon_default,
|
|
164
|
+
PlaceIcon: () => placeIcon_default,
|
|
149
165
|
PlusIcon: () => plusIcon_default,
|
|
150
166
|
Popover: () => Popover,
|
|
151
167
|
Popper: () => Popper,
|
|
@@ -164,6 +180,7 @@ __export(main_exports, {
|
|
|
164
180
|
RadioGroup: () => RadioGroup,
|
|
165
181
|
Rating: () => Rating,
|
|
166
182
|
RefreshIcon: () => refreshIcon_default,
|
|
183
|
+
RemoveIcon: () => RemoveIcon,
|
|
167
184
|
ResendInviteIcon: () => resendInviteIcon_default,
|
|
168
185
|
RolesIcon: () => rolesIcon_default,
|
|
169
186
|
RufousAiIcon: () => rufousAiIcon_default,
|
|
@@ -191,6 +208,7 @@ __export(main_exports, {
|
|
|
191
208
|
SoftSkillsIcon: () => softSkillsIcon_default,
|
|
192
209
|
Stack: () => Stack,
|
|
193
210
|
StandardButton: () => stdButton_default,
|
|
211
|
+
StarBorderIcon: () => starBorderIcon_default,
|
|
194
212
|
StarIcon: () => starIcon_default,
|
|
195
213
|
Step: () => Step,
|
|
196
214
|
StepButton: () => StepButton,
|
|
@@ -217,6 +235,7 @@ __export(main_exports, {
|
|
|
217
235
|
TagIcon: () => tagIcon_default,
|
|
218
236
|
TechnicalSkillsIcon: () => technicalSkillsIcon_default,
|
|
219
237
|
TextField: () => TextField,
|
|
238
|
+
TextFieldsIcon: () => textFieldsIcon_default,
|
|
220
239
|
TickIcon: () => tickIcon_default,
|
|
221
240
|
TimerIcon: () => timerIcon_default,
|
|
222
241
|
ToggleButton: () => ToggleButton,
|
|
@@ -224,6 +243,7 @@ __export(main_exports, {
|
|
|
224
243
|
Tooltip: () => Tooltip,
|
|
225
244
|
TrashIcon: () => trashIcon_default,
|
|
226
245
|
TreeSelect: () => TreeSelect,
|
|
246
|
+
TrendingFlatIcon: () => trendingFlatIcon_default,
|
|
227
247
|
Typography: () => Typography,
|
|
228
248
|
UnArchivedIcon: () => unArchivedIcon_default,
|
|
229
249
|
UnlockIcon: () => unlockIcon_default,
|
|
@@ -1280,8 +1300,155 @@ var React105 = __toESM(require("react"), 1);
|
|
|
1280
1300
|
var ZoomOutIcon = ({ color = "currentColor", size = 24, ...props }) => /* @__PURE__ */ React105.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", ...props }, /* @__PURE__ */ React105.createElement("circle", { cx: "11", cy: "11", r: "8" }), /* @__PURE__ */ React105.createElement("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" }), /* @__PURE__ */ React105.createElement("line", { x1: "8", y1: "11", x2: "14", y2: "11" }));
|
|
1281
1301
|
var zoomOutIcon_default = ZoomOutIcon;
|
|
1282
1302
|
|
|
1283
|
-
// lib/
|
|
1303
|
+
// lib/icons/dragIndicatorIcon.tsx
|
|
1304
|
+
var React107 = __toESM(require("react"), 1);
|
|
1305
|
+
|
|
1306
|
+
// lib/icons/_materialBase.tsx
|
|
1284
1307
|
var React106 = __toESM(require("react"), 1);
|
|
1308
|
+
function makeMaterialIcon(filled, outlined = filled) {
|
|
1309
|
+
const Icon2 = ({
|
|
1310
|
+
color = "currentColor",
|
|
1311
|
+
size = 24,
|
|
1312
|
+
variant = "filled",
|
|
1313
|
+
...rest
|
|
1314
|
+
}) => /* @__PURE__ */ React106.createElement(
|
|
1315
|
+
"svg",
|
|
1316
|
+
{
|
|
1317
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1318
|
+
width: size,
|
|
1319
|
+
height: size,
|
|
1320
|
+
viewBox: "0 0 24 24",
|
|
1321
|
+
fill: color,
|
|
1322
|
+
...rest
|
|
1323
|
+
},
|
|
1324
|
+
variant === "outlined" ? outlined : filled
|
|
1325
|
+
);
|
|
1326
|
+
return Icon2;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
// lib/icons/dragIndicatorIcon.tsx
|
|
1330
|
+
var path = /* @__PURE__ */ React107.createElement("path", { d: "M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" });
|
|
1331
|
+
var DragIndicatorIcon = makeMaterialIcon(path, path);
|
|
1332
|
+
var dragIndicatorIcon_default = DragIndicatorIcon;
|
|
1333
|
+
|
|
1334
|
+
// lib/icons/calendarIcon.tsx
|
|
1335
|
+
var React108 = __toESM(require("react"), 1);
|
|
1336
|
+
var CalendarIcon = makeMaterialIcon(
|
|
1337
|
+
/* @__PURE__ */ React108.createElement("path", { d: "M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z" }),
|
|
1338
|
+
/* @__PURE__ */ React108.createElement("path", { d: "M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2zM7 12h5v5H7z" })
|
|
1339
|
+
);
|
|
1340
|
+
var calendarIcon_default = CalendarIcon;
|
|
1341
|
+
|
|
1342
|
+
// lib/icons/trendingFlatIcon.tsx
|
|
1343
|
+
var React109 = __toESM(require("react"), 1);
|
|
1344
|
+
var path2 = /* @__PURE__ */ React109.createElement("path", { d: "M22 12l-4-4v3H3v2h15v3z" });
|
|
1345
|
+
var TrendingFlatIcon = makeMaterialIcon(path2, path2);
|
|
1346
|
+
var trendingFlatIcon_default = TrendingFlatIcon;
|
|
1347
|
+
|
|
1348
|
+
// lib/icons/openInFullIcon.tsx
|
|
1349
|
+
var React110 = __toESM(require("react"), 1);
|
|
1350
|
+
var path3 = /* @__PURE__ */ React110.createElement("path", { d: "M21 11V3h-8l3.29 3.29-10 10L3 13v8h8l-3.29-3.29 10-10z" });
|
|
1351
|
+
var OpenInFullIcon = makeMaterialIcon(path3, path3);
|
|
1352
|
+
var openInFullIcon_default = OpenInFullIcon;
|
|
1353
|
+
|
|
1354
|
+
// lib/icons/pinIcon.tsx
|
|
1355
|
+
var React111 = __toESM(require("react"), 1);
|
|
1356
|
+
var PinIcon = makeMaterialIcon(
|
|
1357
|
+
/* @__PURE__ */ React111.createElement("path", { d: "M16 9V4l1-.5V2H7v1.5l1 .5v5l-2 2v2h5.2v7h1.6v-7H18v-2l-2-2z" }),
|
|
1358
|
+
/* @__PURE__ */ React111.createElement("path", { d: "M16 9V4l1-.5V2H7v1.5l1 .5v5l-2 2v2h5.2v7h1.6v-7H18v-2l-2-2zM10.41 11l.59-.59V3h2v7.41l.59.59z" })
|
|
1359
|
+
);
|
|
1360
|
+
var pinIcon_default = PinIcon;
|
|
1361
|
+
|
|
1362
|
+
// lib/icons/textFieldsIcon.tsx
|
|
1363
|
+
var React112 = __toESM(require("react"), 1);
|
|
1364
|
+
var path4 = /* @__PURE__ */ React112.createElement("path", { d: "M2.5 4v3h5v12h3V7h5V4h-13zm19 5h-9v3h3v7h3v-7h3V9z" });
|
|
1365
|
+
var TextFieldsIcon = makeMaterialIcon(path4, path4);
|
|
1366
|
+
var textFieldsIcon_default = TextFieldsIcon;
|
|
1367
|
+
|
|
1368
|
+
// lib/icons/notesIcon.tsx
|
|
1369
|
+
var React113 = __toESM(require("react"), 1);
|
|
1370
|
+
var path5 = /* @__PURE__ */ React113.createElement("path", { d: "M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z" });
|
|
1371
|
+
var NotesIcon = makeMaterialIcon(path5, path5);
|
|
1372
|
+
var notesIcon_default = NotesIcon;
|
|
1373
|
+
|
|
1374
|
+
// lib/icons/starBorderIcon.tsx
|
|
1375
|
+
var React114 = __toESM(require("react"), 1);
|
|
1376
|
+
var StarBorderIcon = makeMaterialIcon(
|
|
1377
|
+
/* @__PURE__ */ React114.createElement("path", { d: "M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z" }),
|
|
1378
|
+
/* @__PURE__ */ React114.createElement("path", { d: "M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z" })
|
|
1379
|
+
);
|
|
1380
|
+
var starBorderIcon_default = StarBorderIcon;
|
|
1381
|
+
|
|
1382
|
+
// lib/icons/businessIcon.tsx
|
|
1383
|
+
var React115 = __toESM(require("react"), 1);
|
|
1384
|
+
var BusinessIcon = makeMaterialIcon(
|
|
1385
|
+
/* @__PURE__ */ React115.createElement("path", { d: "M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z" }),
|
|
1386
|
+
/* @__PURE__ */ React115.createElement("path", { d: "M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z" })
|
|
1387
|
+
);
|
|
1388
|
+
var businessIcon_default = BusinessIcon;
|
|
1389
|
+
|
|
1390
|
+
// lib/icons/contactsIcon.tsx
|
|
1391
|
+
var React116 = __toESM(require("react"), 1);
|
|
1392
|
+
var ContactsIcon = makeMaterialIcon(
|
|
1393
|
+
/* @__PURE__ */ React116.createElement("path", { d: "M20 0H4v2h16V0zM4 24h16v-2H4v2zM20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-8 2.75c1.24 0 2.25 1.01 2.25 2.25s-1.01 2.25-2.25 2.25S9.75 10.24 9.75 9 10.76 6.75 12 6.75zM17 17H7v-1.5c0-1.67 3.33-2.5 5-2.5s5 .83 5 2.5V17z" }),
|
|
1394
|
+
/* @__PURE__ */ React116.createElement("path", { d: "M20 0H4v2h16V0zM4 24h16v-2H4v2zM20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h16v12zm-8-7c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3zm0-4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm6 10H6v-.99c0-1.99 4-3.08 6-3.08s6 1.09 6 3.08V17zM8.48 15c.74-.51 2.23-1 3.52-1s2.78.49 3.52 1H8.48z" })
|
|
1395
|
+
);
|
|
1396
|
+
var contactsIcon_default = ContactsIcon;
|
|
1397
|
+
|
|
1398
|
+
// lib/icons/factoryIcon.tsx
|
|
1399
|
+
var React117 = __toESM(require("react"), 1);
|
|
1400
|
+
var path6 = /* @__PURE__ */ React117.createElement("path", { d: "M22 22H2V11l5 3V11l5 3V11l5 3 .5-9h2l.5 9V22zm-12-2h4v-5h-4v5z" });
|
|
1401
|
+
var FactoryIcon = makeMaterialIcon(path6, path6);
|
|
1402
|
+
var factoryIcon_default = FactoryIcon;
|
|
1403
|
+
|
|
1404
|
+
// lib/icons/locationCityIcon.tsx
|
|
1405
|
+
var React118 = __toESM(require("react"), 1);
|
|
1406
|
+
var path7 = /* @__PURE__ */ React118.createElement("path", { d: "M15 11V5l-3-3-3 3v2H3v14h18V11h-6zm-8 8H5v-2h2v2zm0-4H5v-2h2v2zm0-4H5V9h2v2zm6 8h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V9h2v2zm0-4h-2V5h2v2zm6 12h-2v-2h2v2zm0-4h-2v-2h2v2z" });
|
|
1407
|
+
var LocationCityIcon = makeMaterialIcon(path7, path7);
|
|
1408
|
+
var locationCityIcon_default = LocationCityIcon;
|
|
1409
|
+
|
|
1410
|
+
// lib/icons/memoryIcon.tsx
|
|
1411
|
+
var React119 = __toESM(require("react"), 1);
|
|
1412
|
+
var MemoryIcon = makeMaterialIcon(
|
|
1413
|
+
/* @__PURE__ */ React119.createElement("path", { d: "M15 9H9v6h6V9zm-2 4h-2v-2h2v2zm8-2V9h-2V7c0-1.1-.9-2-2-2h-2V3h-2v2h-2V3H9v2H7c-1.1 0-2 .9-2 2v2H3v2h2v2H3v2h2v2c0 1.1.9 2 2 2h2v2h2v-2h2v2h2v-2h2c1.1 0 2-.9 2-2v-2h2v-2h-2v-2h2zm-4 6H7V7h10v10z" }),
|
|
1414
|
+
/* @__PURE__ */ React119.createElement("path", { d: "M15 9H9v6h6V9zm-2 4h-2v-2h2v2zm8-2V9h-2V7c0-1.1-.9-2-2-2h-2V3h-2v2h-2V3H9v2H7c-1.1 0-2 .9-2 2v2H3v2h2v2H3v2h2v2c0 1.1.9 2 2 2h2v2h2v-2h2v2h2v-2h2c1.1 0 2-.9 2-2v-2h2v-2h-2v-2h2zm-4 6H7V7h10v10z" })
|
|
1415
|
+
);
|
|
1416
|
+
var memoryIcon_default = MemoryIcon;
|
|
1417
|
+
|
|
1418
|
+
// lib/icons/chatBubbleIcon.tsx
|
|
1419
|
+
var React120 = __toESM(require("react"), 1);
|
|
1420
|
+
var ChatBubbleIcon = makeMaterialIcon(
|
|
1421
|
+
/* @__PURE__ */ React120.createElement("path", { d: "M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z" }),
|
|
1422
|
+
/* @__PURE__ */ React120.createElement("path", { d: "M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.17l-.59.59-.58.58V4h16v12z" })
|
|
1423
|
+
);
|
|
1424
|
+
var chatBubbleIcon_default = ChatBubbleIcon;
|
|
1425
|
+
|
|
1426
|
+
// lib/icons/attachFileIcon.tsx
|
|
1427
|
+
var React121 = __toESM(require("react"), 1);
|
|
1428
|
+
var path8 = /* @__PURE__ */ React121.createElement("path", { d: "M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V5c0-2.21-1.79-4-4-4S7 2.79 7 5v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6h-1.5z" });
|
|
1429
|
+
var AttachFileIcon = makeMaterialIcon(path8, path8);
|
|
1430
|
+
var attachFileIcon_default = AttachFileIcon;
|
|
1431
|
+
|
|
1432
|
+
// lib/icons/placeIcon.tsx
|
|
1433
|
+
var React122 = __toESM(require("react"), 1);
|
|
1434
|
+
var PlaceIcon = makeMaterialIcon(
|
|
1435
|
+
/* @__PURE__ */ React122.createElement("path", { d: "M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" }),
|
|
1436
|
+
/* @__PURE__ */ React122.createElement("path", { d: "M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 2c2.76 0 5 2.24 5 5 0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9c0-2.76 2.24-5 5-5zm0 3a2 2 0 100 4 2 2 0 000-4z" })
|
|
1437
|
+
);
|
|
1438
|
+
var placeIcon_default = PlaceIcon;
|
|
1439
|
+
|
|
1440
|
+
// lib/icons/personSearchIcon.tsx
|
|
1441
|
+
var React123 = __toESM(require("react"), 1);
|
|
1442
|
+
var path9 = /* @__PURE__ */ React123.createElement(React123.Fragment, null, /* @__PURE__ */ React123.createElement("circle", { cx: "10", cy: "8", r: "4" }), /* @__PURE__ */ React123.createElement("path", { d: "M10.35 14.01C7.62 13.91 2 15.27 2 18v2h9.54c-2.47-2.76-1.23-5.89-1.19-5.99zM19.43 18.02c.36-.59.57-1.28.57-2.02 0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4c.74 0 1.43-.22 2.02-.57L20.59 22 22 20.59l-2.57-2.57zM16 18c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z" }));
|
|
1443
|
+
var PersonSearchIcon = makeMaterialIcon(path9, path9);
|
|
1444
|
+
var personSearchIcon_default = PersonSearchIcon;
|
|
1445
|
+
|
|
1446
|
+
// lib/icons/index.ts
|
|
1447
|
+
var AddIcon = plusIcon_default;
|
|
1448
|
+
var RemoveIcon = minusIcon_default;
|
|
1449
|
+
|
|
1450
|
+
// lib/Buttons/addButton.tsx
|
|
1451
|
+
var React124 = __toESM(require("react"), 1);
|
|
1285
1452
|
|
|
1286
1453
|
// lib/utils/sx.ts
|
|
1287
1454
|
var import_react5 = require("react");
|
|
@@ -1330,15 +1497,15 @@ function useSx(sx) {
|
|
|
1330
1497
|
// lib/Buttons/addButton.tsx
|
|
1331
1498
|
var AddButton = ({ children, sx, className, ...props }) => {
|
|
1332
1499
|
const sxClass = useSx(sx);
|
|
1333
|
-
return /* @__PURE__ */
|
|
1500
|
+
return /* @__PURE__ */ React124.createElement("button", { className: ["btn add-btn", sxClass, className].filter(Boolean).join(" "), ...props }, "+ ", children);
|
|
1334
1501
|
};
|
|
1335
1502
|
var addButton_default = AddButton;
|
|
1336
1503
|
|
|
1337
1504
|
// lib/Buttons/submitButton.tsx
|
|
1338
|
-
var
|
|
1505
|
+
var React126 = __toESM(require("react"), 1);
|
|
1339
1506
|
|
|
1340
1507
|
// lib/Progress/circularProgress.tsx
|
|
1341
|
-
var
|
|
1508
|
+
var React125 = __toESM(require("react"), 1);
|
|
1342
1509
|
var CircularProgress = ({
|
|
1343
1510
|
size = 50,
|
|
1344
1511
|
color = "#a81c08",
|
|
@@ -1347,14 +1514,14 @@ var CircularProgress = ({
|
|
|
1347
1514
|
...props
|
|
1348
1515
|
}) => {
|
|
1349
1516
|
const sxClass = useSx(sx);
|
|
1350
|
-
return /* @__PURE__ */
|
|
1517
|
+
return /* @__PURE__ */ React125.createElement(
|
|
1351
1518
|
"div",
|
|
1352
1519
|
{
|
|
1353
1520
|
className: ["rufous-loader", sxClass, className].filter(Boolean).join(" "),
|
|
1354
1521
|
style: { width: size, height: size },
|
|
1355
1522
|
...props
|
|
1356
1523
|
},
|
|
1357
|
-
/* @__PURE__ */
|
|
1524
|
+
/* @__PURE__ */ React125.createElement("svg", { viewBox: "0 0 100 100" }, /* @__PURE__ */ React125.createElement(
|
|
1358
1525
|
"circle",
|
|
1359
1526
|
{
|
|
1360
1527
|
className: "rufous-loader-circle",
|
|
@@ -1376,7 +1543,7 @@ var CircularProgressIcon = ({
|
|
|
1376
1543
|
className
|
|
1377
1544
|
}) => {
|
|
1378
1545
|
const sxClass = useSx(sx);
|
|
1379
|
-
return /* @__PURE__ */
|
|
1546
|
+
return /* @__PURE__ */ React125.createElement("div", { className: ["rufous-loader rufous-loader--with-icon", sxClass, className].filter(Boolean).join(" "), style: { width: size, height: size } }, /* @__PURE__ */ React125.createElement("svg", { viewBox: "0 0 100 100" }, /* @__PURE__ */ React125.createElement(
|
|
1380
1547
|
"circle",
|
|
1381
1548
|
{
|
|
1382
1549
|
className: "rufous-loader-circle",
|
|
@@ -1385,7 +1552,7 @@ var CircularProgressIcon = ({
|
|
|
1385
1552
|
r: "45",
|
|
1386
1553
|
stroke: color
|
|
1387
1554
|
}
|
|
1388
|
-
)), /* @__PURE__ */
|
|
1555
|
+
)), /* @__PURE__ */ React125.createElement("div", { className: "rufous-loader__icon-wrap" }, /* @__PURE__ */ React125.createElement("div", { className: spinIcon ? "rufous-loader__icon--spin-y" : void 0 }, icon)));
|
|
1389
1556
|
};
|
|
1390
1557
|
|
|
1391
1558
|
// lib/Buttons/submitButton.tsx
|
|
@@ -1402,7 +1569,7 @@ var SubmitButton = ({
|
|
|
1402
1569
|
...props
|
|
1403
1570
|
}) => {
|
|
1404
1571
|
const sxClass = useSx(sx);
|
|
1405
|
-
const [loading, setLoading] =
|
|
1572
|
+
const [loading, setLoading] = React126.useState(false);
|
|
1406
1573
|
const runProtected = async (e, handler) => {
|
|
1407
1574
|
if (loading || isLoading) return;
|
|
1408
1575
|
setLoading(true);
|
|
@@ -1418,7 +1585,7 @@ var SubmitButton = ({
|
|
|
1418
1585
|
const handleClick = onClick ? (e) => runProtected(e, onClick) : void 0;
|
|
1419
1586
|
const handleDoubleClick = onDoubleClick ? (e) => runProtected(e, onDoubleClick) : void 0;
|
|
1420
1587
|
const showLoader = loading || isLoading;
|
|
1421
|
-
return /* @__PURE__ */
|
|
1588
|
+
return /* @__PURE__ */ React126.createElement(
|
|
1422
1589
|
"button",
|
|
1423
1590
|
{
|
|
1424
1591
|
...props,
|
|
@@ -1429,38 +1596,38 @@ var SubmitButton = ({
|
|
|
1429
1596
|
onDoubleClick: onDoubleClick ? handleDoubleClick : void 0,
|
|
1430
1597
|
style: { position: "relative", ...props.style }
|
|
1431
1598
|
},
|
|
1432
|
-
/* @__PURE__ */
|
|
1433
|
-
showLoader && /* @__PURE__ */
|
|
1599
|
+
/* @__PURE__ */ React126.createElement("span", { className: "btn-content", style: { visibility: showLoader ? "hidden" : "visible" } }, children),
|
|
1600
|
+
showLoader && /* @__PURE__ */ React126.createElement("span", { style: {
|
|
1434
1601
|
position: "absolute",
|
|
1435
1602
|
inset: 0,
|
|
1436
1603
|
display: "flex",
|
|
1437
1604
|
alignItems: "center",
|
|
1438
1605
|
justifyContent: "center"
|
|
1439
|
-
} }, /* @__PURE__ */
|
|
1606
|
+
} }, /* @__PURE__ */ React126.createElement(circularProgress_default, { size: 18, color: "#ffffff80" }))
|
|
1440
1607
|
);
|
|
1441
1608
|
};
|
|
1442
1609
|
var submitButton_default = SubmitButton;
|
|
1443
1610
|
|
|
1444
1611
|
// lib/Buttons/cancelButton.tsx
|
|
1445
|
-
var
|
|
1612
|
+
var React127 = __toESM(require("react"), 1);
|
|
1446
1613
|
var CancelButton = ({ children, sx, className, ...props }) => {
|
|
1447
1614
|
const sxClass = useSx(sx);
|
|
1448
|
-
return /* @__PURE__ */
|
|
1615
|
+
return /* @__PURE__ */ React127.createElement("button", { className: ["btn cancel-btn", sxClass, className].filter(Boolean).join(" "), ...props }, children);
|
|
1449
1616
|
};
|
|
1450
1617
|
var cancelButton_default = CancelButton;
|
|
1451
1618
|
|
|
1452
1619
|
// lib/Buttons/stdButton.tsx
|
|
1453
|
-
var
|
|
1620
|
+
var React128 = __toESM(require("react"), 1);
|
|
1454
1621
|
var StandardButton = ({ children, sx, className, ...props }) => {
|
|
1455
1622
|
const sxClass = useSx(sx);
|
|
1456
|
-
return /* @__PURE__ */
|
|
1623
|
+
return /* @__PURE__ */ React128.createElement("button", { className: ["btn standard-btn", sxClass, className].filter(Boolean).join(" "), ...props }, children);
|
|
1457
1624
|
};
|
|
1458
1625
|
var stdButton_default = StandardButton;
|
|
1459
1626
|
|
|
1460
1627
|
// lib/Buttons/Button.tsx
|
|
1461
|
-
var
|
|
1628
|
+
var React129 = __toESM(require("react"), 1);
|
|
1462
1629
|
var DEFAULT_MIN_MS = 1500;
|
|
1463
|
-
var Button =
|
|
1630
|
+
var Button = React129.forwardRef(
|
|
1464
1631
|
({
|
|
1465
1632
|
variant = "text",
|
|
1466
1633
|
color = "primary",
|
|
@@ -1485,10 +1652,10 @@ var Button = React111.forwardRef(
|
|
|
1485
1652
|
...rest
|
|
1486
1653
|
}, ref) => {
|
|
1487
1654
|
const sxClass = useSx(sx);
|
|
1488
|
-
const [debounceLoading, setDebounceLoading] =
|
|
1489
|
-
const btnRef =
|
|
1655
|
+
const [debounceLoading, setDebounceLoading] = React129.useState(false);
|
|
1656
|
+
const btnRef = React129.useRef(null);
|
|
1490
1657
|
const isLoading = loading || debounceLoading;
|
|
1491
|
-
const handleClick =
|
|
1658
|
+
const handleClick = React129.useCallback(
|
|
1492
1659
|
async (e) => {
|
|
1493
1660
|
if (!debounce) {
|
|
1494
1661
|
onClick?.(e);
|
|
@@ -1534,7 +1701,7 @@ var Button = React111.forwardRef(
|
|
|
1534
1701
|
tagProps.type = type;
|
|
1535
1702
|
tagProps.disabled = disabled || isLoading;
|
|
1536
1703
|
}
|
|
1537
|
-
return /* @__PURE__ */
|
|
1704
|
+
return /* @__PURE__ */ React129.createElement(
|
|
1538
1705
|
Tag,
|
|
1539
1706
|
{
|
|
1540
1707
|
ref: (node) => {
|
|
@@ -1547,19 +1714,19 @@ var Button = React111.forwardRef(
|
|
|
1547
1714
|
onClick: handleClick,
|
|
1548
1715
|
...tagProps
|
|
1549
1716
|
},
|
|
1550
|
-
isLoading && loadingPosition === "start" && /* @__PURE__ */
|
|
1551
|
-
startIcon && !isLoading && /* @__PURE__ */
|
|
1552
|
-
isLoading && loadingPosition === "center" ? /* @__PURE__ */
|
|
1553
|
-
endIcon && !isLoading && /* @__PURE__ */
|
|
1554
|
-
isLoading && loadingPosition === "end" && /* @__PURE__ */
|
|
1717
|
+
isLoading && loadingPosition === "start" && /* @__PURE__ */ React129.createElement("span", { className: "rf-btn__loading-indicator rf-btn__loading--start" }, /* @__PURE__ */ React129.createElement(circularProgress_default, { size: size === "small" ? 14 : size === "large" ? 22 : 18 })),
|
|
1718
|
+
startIcon && !isLoading && /* @__PURE__ */ React129.createElement("span", { className: "rf-btn__start-icon" }, startIcon),
|
|
1719
|
+
isLoading && loadingPosition === "center" ? /* @__PURE__ */ React129.createElement("span", { className: "rf-btn__loading-indicator" }, /* @__PURE__ */ React129.createElement(circularProgress_default, { size: size === "small" ? 14 : size === "large" ? 22 : 18 })) : /* @__PURE__ */ React129.createElement("span", { className: "rf-btn__label" }, children),
|
|
1720
|
+
endIcon && !isLoading && /* @__PURE__ */ React129.createElement("span", { className: "rf-btn__end-icon" }, endIcon),
|
|
1721
|
+
isLoading && loadingPosition === "end" && /* @__PURE__ */ React129.createElement("span", { className: "rf-btn__loading-indicator rf-btn__loading--end" }, /* @__PURE__ */ React129.createElement(circularProgress_default, { size: size === "small" ? 14 : size === "large" ? 22 : 18 }))
|
|
1555
1722
|
);
|
|
1556
1723
|
}
|
|
1557
1724
|
);
|
|
1558
1725
|
Button.displayName = "Button";
|
|
1559
1726
|
|
|
1560
1727
|
// lib/Buttons/IconButton.tsx
|
|
1561
|
-
var
|
|
1562
|
-
var IconButton =
|
|
1728
|
+
var React130 = __toESM(require("react"), 1);
|
|
1729
|
+
var IconButton = React130.forwardRef(
|
|
1563
1730
|
({
|
|
1564
1731
|
color = "default",
|
|
1565
1732
|
size = "medium",
|
|
@@ -1592,13 +1759,13 @@ var IconButton = React112.forwardRef(
|
|
|
1592
1759
|
tagProps.type = type;
|
|
1593
1760
|
tagProps.disabled = disabled;
|
|
1594
1761
|
}
|
|
1595
|
-
return /* @__PURE__ */
|
|
1762
|
+
return /* @__PURE__ */ React130.createElement(Tag, { ref, className: classes, style, ...tagProps }, children);
|
|
1596
1763
|
}
|
|
1597
1764
|
);
|
|
1598
1765
|
IconButton.displayName = "IconButton";
|
|
1599
1766
|
|
|
1600
1767
|
// lib/Dialogs/BaseDialog.tsx
|
|
1601
|
-
var
|
|
1768
|
+
var React131 = __toESM(require("react"), 1);
|
|
1602
1769
|
var import_react8 = require("react");
|
|
1603
1770
|
var import_react_dom = __toESM(require("react-dom"), 1);
|
|
1604
1771
|
|
|
@@ -1893,7 +2060,7 @@ var __iconNode22 = [
|
|
|
1893
2060
|
var X = createLucideIcon("x", __iconNode22);
|
|
1894
2061
|
|
|
1895
2062
|
// lib/Dialogs/BaseDialog.tsx
|
|
1896
|
-
var DialogDepthContext =
|
|
2063
|
+
var DialogDepthContext = React131.createContext(0);
|
|
1897
2064
|
var MIN_LOADING_MS2 = 1500;
|
|
1898
2065
|
var BaseDialog = ({
|
|
1899
2066
|
open = false,
|
|
@@ -1982,7 +2149,7 @@ var BaseDialog = ({
|
|
|
1982
2149
|
}, [open, portalZ]);
|
|
1983
2150
|
if (!open && !TransitionComponent) return null;
|
|
1984
2151
|
const isButtonLoading = isSubmitting || loading;
|
|
1985
|
-
const renderButtons = () => /* @__PURE__ */
|
|
2152
|
+
const renderButtons = () => /* @__PURE__ */ React131.createElement(React131.Fragment, null, showCancelButton && /* @__PURE__ */ React131.createElement(
|
|
1986
2153
|
"button",
|
|
1987
2154
|
{
|
|
1988
2155
|
className: "btn-cancel",
|
|
@@ -1991,7 +2158,7 @@ var BaseDialog = ({
|
|
|
1991
2158
|
type: "button"
|
|
1992
2159
|
},
|
|
1993
2160
|
cancelText
|
|
1994
|
-
), form ? /* @__PURE__ */
|
|
2161
|
+
), form ? /* @__PURE__ */ React131.createElement(
|
|
1995
2162
|
"button",
|
|
1996
2163
|
{
|
|
1997
2164
|
className: "btn-confirm",
|
|
@@ -1999,9 +2166,9 @@ var BaseDialog = ({
|
|
|
1999
2166
|
style: { position: "relative" },
|
|
2000
2167
|
type: "submit"
|
|
2001
2168
|
},
|
|
2002
|
-
/* @__PURE__ */
|
|
2003
|
-
isButtonLoading && /* @__PURE__ */
|
|
2004
|
-
) : onConfirm && /* @__PURE__ */
|
|
2169
|
+
/* @__PURE__ */ React131.createElement("span", { style: { visibility: isButtonLoading ? "hidden" : "visible" } }, submitText),
|
|
2170
|
+
isButtonLoading && /* @__PURE__ */ React131.createElement("span", { style: { position: "absolute", inset: 0, display: "flex", alignItems: "center", justifyContent: "center" } }, /* @__PURE__ */ React131.createElement(circularProgress_default, { size: 18, color: "#ffffff80" }))
|
|
2171
|
+
) : onConfirm && /* @__PURE__ */ React131.createElement(
|
|
2005
2172
|
"button",
|
|
2006
2173
|
{
|
|
2007
2174
|
className: "btn-confirm",
|
|
@@ -2021,18 +2188,18 @@ var BaseDialog = ({
|
|
|
2021
2188
|
}
|
|
2022
2189
|
}
|
|
2023
2190
|
},
|
|
2024
|
-
/* @__PURE__ */
|
|
2025
|
-
isButtonLoading && /* @__PURE__ */
|
|
2191
|
+
/* @__PURE__ */ React131.createElement("span", { style: { visibility: isButtonLoading ? "hidden" : "visible" } }, confirmText),
|
|
2192
|
+
isButtonLoading && /* @__PURE__ */ React131.createElement("span", { style: { position: "absolute", inset: 0, display: "flex", alignItems: "center", justifyContent: "center" } }, /* @__PURE__ */ React131.createElement(circularProgress_default, { size: 18, color: "#ffffff80" }))
|
|
2026
2193
|
));
|
|
2027
2194
|
const containerClass = ["dialog-container", size ? `size-${size}` : "", sxClass, className].filter(Boolean).join(" ");
|
|
2028
2195
|
const containerStyle = { minWidth, minHeight };
|
|
2029
|
-
const dialogInner = /* @__PURE__ */
|
|
2196
|
+
const dialogInner = /* @__PURE__ */ React131.createElement(React131.Fragment, null, /* @__PURE__ */ React131.createElement("div", { className: "dialog-title" }, /* @__PURE__ */ React131.createElement("h2", null, formatTitle ? title?.charAt(0).toUpperCase() + title?.slice(1) : title), showCloseButton && /* @__PURE__ */ React131.createElement("button", { className: "btn-close", type: "button", onClick: onClose }, /* @__PURE__ */ React131.createElement(
|
|
2030
2197
|
X,
|
|
2031
2198
|
{
|
|
2032
2199
|
size: 18,
|
|
2033
2200
|
color: themeConfig?.icon || "#666666"
|
|
2034
2201
|
}
|
|
2035
|
-
))), /* @__PURE__ */
|
|
2202
|
+
))), /* @__PURE__ */ React131.createElement("div", { className: "dialog-divider" }), /* @__PURE__ */ React131.createElement(
|
|
2036
2203
|
"div",
|
|
2037
2204
|
{
|
|
2038
2205
|
className: "dialog-body",
|
|
@@ -2042,8 +2209,8 @@ var BaseDialog = ({
|
|
|
2042
2209
|
}
|
|
2043
2210
|
},
|
|
2044
2211
|
children
|
|
2045
|
-
), /* @__PURE__ */
|
|
2046
|
-
const dialogContent = form ? /* @__PURE__ */
|
|
2212
|
+
), /* @__PURE__ */ React131.createElement("div", { className: "dialog-divider" }), /* @__PURE__ */ React131.createElement("div", { className: "dialog-footer", style: { justifyContent: buttonAlign } }, customButtons || renderButtons()));
|
|
2213
|
+
const dialogContent = form ? /* @__PURE__ */ React131.createElement(
|
|
2047
2214
|
"form",
|
|
2048
2215
|
{
|
|
2049
2216
|
ref: setContainerRef,
|
|
@@ -2055,7 +2222,7 @@ var BaseDialog = ({
|
|
|
2055
2222
|
}
|
|
2056
2223
|
},
|
|
2057
2224
|
dialogInner
|
|
2058
|
-
) : /* @__PURE__ */
|
|
2225
|
+
) : /* @__PURE__ */ React131.createElement(
|
|
2059
2226
|
"div",
|
|
2060
2227
|
{
|
|
2061
2228
|
ref: setContainerRef,
|
|
@@ -2064,17 +2231,17 @@ var BaseDialog = ({
|
|
|
2064
2231
|
},
|
|
2065
2232
|
dialogInner
|
|
2066
2233
|
);
|
|
2067
|
-
const overlayNode = (content) => /* @__PURE__ */
|
|
2234
|
+
const overlayNode = (content) => /* @__PURE__ */ React131.createElement(
|
|
2068
2235
|
"div",
|
|
2069
2236
|
{
|
|
2070
2237
|
className: `dialog-overlay ${size === "fullScreen" ? "overlay-fullscreen" : ""}`,
|
|
2071
2238
|
style: { zIndex: overlayZ }
|
|
2072
2239
|
},
|
|
2073
|
-
/* @__PURE__ */
|
|
2240
|
+
/* @__PURE__ */ React131.createElement(DialogDepthContext.Provider, { value: depth + 1 }, content)
|
|
2074
2241
|
);
|
|
2075
2242
|
if (TransitionComponent) {
|
|
2076
2243
|
return import_react_dom.default.createPortal(
|
|
2077
|
-
/* @__PURE__ */
|
|
2244
|
+
/* @__PURE__ */ React131.createElement(
|
|
2078
2245
|
TransitionComponent,
|
|
2079
2246
|
{
|
|
2080
2247
|
in: open,
|
|
@@ -3510,7 +3677,7 @@ var parseTimeFromISO = (iso) => {
|
|
|
3510
3677
|
if (h === 0) h = 12;
|
|
3511
3678
|
return { h, m, ampm };
|
|
3512
3679
|
};
|
|
3513
|
-
var
|
|
3680
|
+
var CalendarIcon2 = () => /* @__PURE__ */ import_react15.default.createElement("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, /* @__PURE__ */ import_react15.default.createElement("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }), /* @__PURE__ */ import_react15.default.createElement("line", { x1: "16", y1: "2", x2: "16", y2: "6" }), /* @__PURE__ */ import_react15.default.createElement("line", { x1: "8", y1: "2", x2: "8", y2: "6" }), /* @__PURE__ */ import_react15.default.createElement("line", { x1: "3", y1: "10", x2: "21", y2: "10" }));
|
|
3514
3681
|
var ChevUp = () => /* @__PURE__ */ import_react15.default.createElement("svg", { width: "10", height: "7", viewBox: "0 0 10 7", fill: "currentColor" }, /* @__PURE__ */ import_react15.default.createElement("path", { d: "M5 0L10 7H0L5 0Z" }));
|
|
3515
3682
|
var ChevDown = () => /* @__PURE__ */ import_react15.default.createElement("svg", { width: "10", height: "7", viewBox: "0 0 10 7", fill: "currentColor" }, /* @__PURE__ */ import_react15.default.createElement("path", { d: "M5 7L0 0H10L5 7Z" }));
|
|
3516
3683
|
var ITEM_H = 36;
|
|
@@ -4185,7 +4352,7 @@ var DateField = ({
|
|
|
4185
4352
|
},
|
|
4186
4353
|
"aria-label": "Pick date"
|
|
4187
4354
|
},
|
|
4188
|
-
/* @__PURE__ */ import_react15.default.createElement(
|
|
4355
|
+
/* @__PURE__ */ import_react15.default.createElement(CalendarIcon2, null)
|
|
4189
4356
|
)),
|
|
4190
4357
|
label && /* @__PURE__ */ import_react15.default.createElement("label", { htmlFor: inputId, className: "rf-text-field__label" }, label, " ", required && /* @__PURE__ */ import_react15.default.createElement("span", { className: "rf-text-field__asterisk" }, "*")),
|
|
4191
4358
|
variant === "outlined" && /* @__PURE__ */ import_react15.default.createElement("fieldset", { className: "rf-text-field__notch" }, label && /* @__PURE__ */ import_react15.default.createElement("legend", { className: "rf-text-field__legend" }, /* @__PURE__ */ import_react15.default.createElement("span", null, label, required ? " *" : "")))
|
|
@@ -4432,7 +4599,7 @@ var detectPreset = (start, end) => {
|
|
|
4432
4599
|
if (isSameDay2(start, new Date(2e3, 0, 1)) && isSameDay2(end, today2)) return "all";
|
|
4433
4600
|
return null;
|
|
4434
4601
|
};
|
|
4435
|
-
var
|
|
4602
|
+
var CalendarIcon3 = () => /* @__PURE__ */ import_react16.default.createElement("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, /* @__PURE__ */ import_react16.default.createElement("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }), /* @__PURE__ */ import_react16.default.createElement("line", { x1: "16", y1: "2", x2: "16", y2: "6" }), /* @__PURE__ */ import_react16.default.createElement("line", { x1: "8", y1: "2", x2: "8", y2: "6" }), /* @__PURE__ */ import_react16.default.createElement("line", { x1: "3", y1: "10", x2: "21", y2: "10" }));
|
|
4436
4603
|
var RangeCalendarBody = ({
|
|
4437
4604
|
viewYear,
|
|
4438
4605
|
viewMonth,
|
|
@@ -4793,7 +4960,7 @@ var DateRangeField = ({
|
|
|
4793
4960
|
},
|
|
4794
4961
|
"aria-label": "Pick date range"
|
|
4795
4962
|
},
|
|
4796
|
-
/* @__PURE__ */ import_react16.default.createElement(
|
|
4963
|
+
/* @__PURE__ */ import_react16.default.createElement(CalendarIcon3, null)
|
|
4797
4964
|
)),
|
|
4798
4965
|
label && /* @__PURE__ */ import_react16.default.createElement("label", { htmlFor: inputId, className: "rf-text-field__label" }, label, " ", required && /* @__PURE__ */ import_react16.default.createElement("span", { className: "rf-text-field__asterisk" }, "*")),
|
|
4799
4966
|
variant === "outlined" && /* @__PURE__ */ import_react16.default.createElement("fieldset", { className: "rf-text-field__notch" }, label ? /* @__PURE__ */ import_react16.default.createElement("legend", { className: "rf-text-field__legend" }, /* @__PURE__ */ import_react16.default.createElement("span", null, label, required ? " *" : "")) : /* @__PURE__ */ import_react16.default.createElement("legend", { className: "rf-text-field__legend--empty" }))
|
|
@@ -4839,7 +5006,7 @@ var DateRangeField = ({
|
|
|
4839
5006
|
onClick: () => setInlineCal((v) => v === "start" ? null : "start"),
|
|
4840
5007
|
"aria-label": "Pick start date"
|
|
4841
5008
|
},
|
|
4842
|
-
/* @__PURE__ */ import_react16.default.createElement(
|
|
5009
|
+
/* @__PURE__ */ import_react16.default.createElement(CalendarIcon3, null)
|
|
4843
5010
|
))
|
|
4844
5011
|
), inlineCal === "start" && /* @__PURE__ */ import_react16.default.createElement(
|
|
4845
5012
|
MiniCalendar,
|
|
@@ -4881,7 +5048,7 @@ var DateRangeField = ({
|
|
|
4881
5048
|
onClick: () => setInlineCal((v) => v === "end" ? null : "end"),
|
|
4882
5049
|
"aria-label": "Pick end date"
|
|
4883
5050
|
},
|
|
4884
|
-
/* @__PURE__ */ import_react16.default.createElement(
|
|
5051
|
+
/* @__PURE__ */ import_react16.default.createElement(CalendarIcon3, null)
|
|
4885
5052
|
))
|
|
4886
5053
|
), inlineCal === "end" && /* @__PURE__ */ import_react16.default.createElement(
|
|
4887
5054
|
MiniCalendar,
|
|
@@ -4955,13 +5122,13 @@ var DateRangeField = ({
|
|
|
4955
5122
|
DateRangeField.displayName = "DateRangeField";
|
|
4956
5123
|
|
|
4957
5124
|
// lib/Progress/RufousLogoLoader.tsx
|
|
4958
|
-
var
|
|
5125
|
+
var React140 = __toESM(require("react"), 1);
|
|
4959
5126
|
var _uid = 0;
|
|
4960
5127
|
var RufousLogoLoader = ({ size = 80, sx, className }) => {
|
|
4961
|
-
const clipId =
|
|
5128
|
+
const clipId = React140.useRef(`rll-${++_uid}`).current;
|
|
4962
5129
|
const height = size * (38.795 / 54.585);
|
|
4963
5130
|
const sxClass = useSx(sx);
|
|
4964
|
-
return /* @__PURE__ */
|
|
5131
|
+
return /* @__PURE__ */ React140.createElement("div", { className: ["rufous-logo-loader", sxClass, className].filter(Boolean).join(" "), style: { width: size, height } }, /* @__PURE__ */ React140.createElement(
|
|
4965
5132
|
"svg",
|
|
4966
5133
|
{
|
|
4967
5134
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4970,14 +5137,14 @@ var RufousLogoLoader = ({ size = 80, sx, className }) => {
|
|
|
4970
5137
|
height,
|
|
4971
5138
|
className: "rufous-logo-loader__svg"
|
|
4972
5139
|
},
|
|
4973
|
-
/* @__PURE__ */
|
|
5140
|
+
/* @__PURE__ */ React140.createElement("defs", null, /* @__PURE__ */ React140.createElement("clipPath", { id: clipId }, /* @__PURE__ */ React140.createElement(
|
|
4974
5141
|
"path",
|
|
4975
5142
|
{
|
|
4976
5143
|
transform: "translate(2208 18.205)",
|
|
4977
5144
|
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"
|
|
4978
5145
|
}
|
|
4979
5146
|
))),
|
|
4980
|
-
/* @__PURE__ */
|
|
5147
|
+
/* @__PURE__ */ React140.createElement("g", { transform: "translate(-123.275 -24)" }, /* @__PURE__ */ React140.createElement("g", { transform: "translate(-2084.725 5.795)", clipPath: `url(#${clipId})` }, /* @__PURE__ */ React140.createElement("rect", { className: "rufous-ls rufous-ls-1", width: "40", height: "6", transform: "translate(2208 58) rotate(-90)", fill: "#d07f6f" }), /* @__PURE__ */ React140.createElement("rect", { className: "rufous-ls rufous-ls-2", width: "40", height: "6", transform: "translate(2214 58) rotate(-90)", fill: "#c66958" }), /* @__PURE__ */ React140.createElement("rect", { className: "rufous-ls rufous-ls-3", width: "40", height: "7", transform: "translate(2220 58) rotate(-90)", fill: "#bb5341" }), /* @__PURE__ */ React140.createElement("rect", { className: "rufous-ls rufous-ls-4", width: "40", height: "6", transform: "translate(2227 58) rotate(-90)", fill: "#b03a28" }), /* @__PURE__ */ React140.createElement("rect", { className: "rufous-ls rufous-ls-5", width: "40", height: "6", transform: "translate(2233 58) rotate(-90)", fill: "#a41b06" }), /* @__PURE__ */ React140.createElement("rect", { className: "rufous-ls rufous-ls-6", width: "40", height: "6", transform: "translate(2239 58) rotate(-90)", fill: "#8e1604" }), /* @__PURE__ */ React140.createElement("rect", { className: "rufous-ls rufous-ls-7", width: "40", height: "6", transform: "translate(2245 58) rotate(-90)", fill: "#791103" }), /* @__PURE__ */ React140.createElement("rect", { className: "rufous-ls rufous-ls-8", width: "40", height: "5", transform: "translate(2251 58) rotate(-90)", fill: "#640c02" }), /* @__PURE__ */ React140.createElement("rect", { className: "rufous-ls rufous-ls-9", width: "40", height: "7", transform: "translate(2256 58) rotate(-90)", fill: "#500801" })))
|
|
4981
5148
|
));
|
|
4982
5149
|
};
|
|
4983
5150
|
|
|
@@ -7559,12 +7726,12 @@ var Skeleton = ({
|
|
|
7559
7726
|
Skeleton.displayName = "Skeleton";
|
|
7560
7727
|
|
|
7561
7728
|
// lib/Box/Box.tsx
|
|
7562
|
-
var
|
|
7729
|
+
var React154 = __toESM(require("react"), 1);
|
|
7563
7730
|
function sp(val) {
|
|
7564
7731
|
if (val === void 0) return void 0;
|
|
7565
7732
|
return typeof val === "number" ? `${val * 8}px` : val;
|
|
7566
7733
|
}
|
|
7567
|
-
var Box =
|
|
7734
|
+
var Box = React154.forwardRef(
|
|
7568
7735
|
({
|
|
7569
7736
|
component = "div",
|
|
7570
7737
|
children,
|
|
@@ -7664,18 +7831,18 @@ var Box = React136.forwardRef(
|
|
|
7664
7831
|
};
|
|
7665
7832
|
const classes = ["rf-box", sxClass, className].filter(Boolean).join(" ");
|
|
7666
7833
|
const Tag = component;
|
|
7667
|
-
return /* @__PURE__ */
|
|
7834
|
+
return /* @__PURE__ */ React154.createElement(Tag, { ref, className: classes, style: inlineStyle, ...rest }, children);
|
|
7668
7835
|
}
|
|
7669
7836
|
);
|
|
7670
7837
|
Box.displayName = "Box";
|
|
7671
7838
|
|
|
7672
7839
|
// lib/Stack/Stack.tsx
|
|
7673
|
-
var
|
|
7840
|
+
var React155 = __toESM(require("react"), 1);
|
|
7674
7841
|
function sp2(val) {
|
|
7675
7842
|
if (val === void 0) return void 0;
|
|
7676
7843
|
return typeof val === "number" ? `${val * 8}px` : val;
|
|
7677
7844
|
}
|
|
7678
|
-
var Stack =
|
|
7845
|
+
var Stack = React155.forwardRef(
|
|
7679
7846
|
({
|
|
7680
7847
|
direction = "column",
|
|
7681
7848
|
spacing,
|
|
@@ -7752,14 +7919,14 @@ var Stack = React137.forwardRef(
|
|
|
7752
7919
|
const classes = ["rf-stack", sxClass, className].filter(Boolean).join(" ");
|
|
7753
7920
|
let content;
|
|
7754
7921
|
if (divider) {
|
|
7755
|
-
const childArray =
|
|
7922
|
+
const childArray = React155.Children.toArray(children).filter(
|
|
7756
7923
|
(child) => child !== null && child !== void 0
|
|
7757
7924
|
);
|
|
7758
7925
|
content = childArray.reduce((acc, child, idx) => {
|
|
7759
7926
|
acc.push(child);
|
|
7760
7927
|
if (idx < childArray.length - 1) {
|
|
7761
7928
|
acc.push(
|
|
7762
|
-
/* @__PURE__ */
|
|
7929
|
+
/* @__PURE__ */ React155.createElement("div", { key: `divider-${idx}`, className: "rf-stack-divider" }, divider)
|
|
7763
7930
|
);
|
|
7764
7931
|
}
|
|
7765
7932
|
return acc;
|
|
@@ -7768,13 +7935,13 @@ var Stack = React137.forwardRef(
|
|
|
7768
7935
|
content = children;
|
|
7769
7936
|
}
|
|
7770
7937
|
const Tag = component;
|
|
7771
|
-
return /* @__PURE__ */
|
|
7938
|
+
return /* @__PURE__ */ React155.createElement(Tag, { ref, className: classes, style: inlineStyle, ...rest }, content);
|
|
7772
7939
|
}
|
|
7773
7940
|
);
|
|
7774
7941
|
Stack.displayName = "Stack";
|
|
7775
7942
|
|
|
7776
7943
|
// lib/Grid/Grid.tsx
|
|
7777
|
-
var
|
|
7944
|
+
var React156 = __toESM(require("react"), 1);
|
|
7778
7945
|
function sp3(val) {
|
|
7779
7946
|
if (val === void 0) return void 0;
|
|
7780
7947
|
return typeof val === "number" ? `${val * 8}px` : val;
|
|
@@ -7791,7 +7958,7 @@ function getSpacingGap(spacing) {
|
|
|
7791
7958
|
const base = spacing.xs ?? spacing.sm ?? spacing.md ?? 0;
|
|
7792
7959
|
return `${base * 8}px`;
|
|
7793
7960
|
}
|
|
7794
|
-
var Grid =
|
|
7961
|
+
var Grid = React156.forwardRef(
|
|
7795
7962
|
({
|
|
7796
7963
|
container = false,
|
|
7797
7964
|
item = false,
|
|
@@ -7885,7 +8052,7 @@ var Grid = React138.forwardRef(
|
|
|
7885
8052
|
className
|
|
7886
8053
|
].filter(Boolean).join(" ");
|
|
7887
8054
|
const Tag = component;
|
|
7888
|
-
return /* @__PURE__ */
|
|
8055
|
+
return /* @__PURE__ */ React156.createElement(Tag, { ref, className: classes, style: inlineStyle, ...rest }, children);
|
|
7889
8056
|
}
|
|
7890
8057
|
);
|
|
7891
8058
|
Grid.displayName = "Grid";
|
|
@@ -8145,8 +8312,8 @@ var TablePagination = import_react30.default.forwardRef(
|
|
|
8145
8312
|
TablePagination.displayName = "TablePagination";
|
|
8146
8313
|
|
|
8147
8314
|
// lib/Paper/Paper.tsx
|
|
8148
|
-
var
|
|
8149
|
-
var Paper =
|
|
8315
|
+
var React158 = __toESM(require("react"), 1);
|
|
8316
|
+
var Paper = React158.forwardRef(
|
|
8150
8317
|
({
|
|
8151
8318
|
elevation = 1,
|
|
8152
8319
|
square = false,
|
|
@@ -8168,14 +8335,14 @@ var Paper = React140.forwardRef(
|
|
|
8168
8335
|
className
|
|
8169
8336
|
].filter(Boolean).join(" ");
|
|
8170
8337
|
const Tag = component;
|
|
8171
|
-
return /* @__PURE__ */
|
|
8338
|
+
return /* @__PURE__ */ React158.createElement(Tag, { ref, className: classes, style, ...rest }, children);
|
|
8172
8339
|
}
|
|
8173
8340
|
);
|
|
8174
8341
|
Paper.displayName = "Paper";
|
|
8175
8342
|
|
|
8176
8343
|
// lib/Card/Card.tsx
|
|
8177
|
-
var
|
|
8178
|
-
var Card =
|
|
8344
|
+
var React159 = __toESM(require("react"), 1);
|
|
8345
|
+
var Card = React159.forwardRef(
|
|
8179
8346
|
({
|
|
8180
8347
|
elevation = 1,
|
|
8181
8348
|
variant = "elevation",
|
|
@@ -8194,33 +8361,33 @@ var Card = React141.forwardRef(
|
|
|
8194
8361
|
sxClass,
|
|
8195
8362
|
className
|
|
8196
8363
|
].filter(Boolean).join(" ");
|
|
8197
|
-
return /* @__PURE__ */
|
|
8364
|
+
return /* @__PURE__ */ React159.createElement("div", { ref, className: classes, style, ...rest }, children);
|
|
8198
8365
|
}
|
|
8199
8366
|
);
|
|
8200
8367
|
Card.displayName = "Card";
|
|
8201
|
-
var CardContent =
|
|
8368
|
+
var CardContent = React159.forwardRef(
|
|
8202
8369
|
({ children, className, style, sx, ...rest }, ref) => {
|
|
8203
8370
|
const sxClass = useSx(sx);
|
|
8204
8371
|
const classes = ["rf-card-content", sxClass, className].filter(Boolean).join(" ");
|
|
8205
|
-
return /* @__PURE__ */
|
|
8372
|
+
return /* @__PURE__ */ React159.createElement("div", { ref, className: classes, style, ...rest }, children);
|
|
8206
8373
|
}
|
|
8207
8374
|
);
|
|
8208
8375
|
CardContent.displayName = "CardContent";
|
|
8209
|
-
var CardHeader =
|
|
8376
|
+
var CardHeader = React159.forwardRef(
|
|
8210
8377
|
({ title, subheader, avatar, action, className, style, sx, ...rest }, ref) => {
|
|
8211
8378
|
const sxClass = useSx(sx);
|
|
8212
8379
|
const classes = ["rf-card-header", sxClass, className].filter(Boolean).join(" ");
|
|
8213
|
-
return /* @__PURE__ */
|
|
8380
|
+
return /* @__PURE__ */ React159.createElement("div", { ref, className: classes, style, ...rest }, avatar && /* @__PURE__ */ React159.createElement("div", { className: "rf-card-header-avatar" }, avatar), /* @__PURE__ */ React159.createElement("div", { className: "rf-card-header-content" }, /* @__PURE__ */ React159.createElement("div", { className: "rf-card-header-title" }, title), subheader && /* @__PURE__ */ React159.createElement("div", { className: "rf-card-header-subheader" }, subheader)), action && /* @__PURE__ */ React159.createElement("div", { className: "rf-card-header-action" }, action));
|
|
8214
8381
|
}
|
|
8215
8382
|
);
|
|
8216
8383
|
CardHeader.displayName = "CardHeader";
|
|
8217
|
-
var CardMedia =
|
|
8384
|
+
var CardMedia = React159.forwardRef(
|
|
8218
8385
|
({ component = "div", image, src, height, alt, className, style, sx, ...rest }, ref) => {
|
|
8219
8386
|
const sxClass = useSx(sx);
|
|
8220
8387
|
const classes = ["rf-card-media", sxClass, className].filter(Boolean).join(" ");
|
|
8221
8388
|
const computedHeight = height !== void 0 ? typeof height === "number" ? `${height}px` : height : "200px";
|
|
8222
8389
|
if (component === "img") {
|
|
8223
|
-
return /* @__PURE__ */
|
|
8390
|
+
return /* @__PURE__ */ React159.createElement(
|
|
8224
8391
|
"img",
|
|
8225
8392
|
{
|
|
8226
8393
|
ref,
|
|
@@ -8233,7 +8400,7 @@ var CardMedia = React141.forwardRef(
|
|
|
8233
8400
|
);
|
|
8234
8401
|
}
|
|
8235
8402
|
if (component === "video") {
|
|
8236
|
-
return /* @__PURE__ */
|
|
8403
|
+
return /* @__PURE__ */ React159.createElement(
|
|
8237
8404
|
"video",
|
|
8238
8405
|
{
|
|
8239
8406
|
ref,
|
|
@@ -8249,7 +8416,7 @@ var CardMedia = React141.forwardRef(
|
|
|
8249
8416
|
...image ? { backgroundImage: `url(${image})` } : {},
|
|
8250
8417
|
...style
|
|
8251
8418
|
};
|
|
8252
|
-
return /* @__PURE__ */
|
|
8419
|
+
return /* @__PURE__ */ React159.createElement(
|
|
8253
8420
|
"div",
|
|
8254
8421
|
{
|
|
8255
8422
|
ref,
|
|
@@ -8261,7 +8428,7 @@ var CardMedia = React141.forwardRef(
|
|
|
8261
8428
|
}
|
|
8262
8429
|
);
|
|
8263
8430
|
CardMedia.displayName = "CardMedia";
|
|
8264
|
-
var CardActions =
|
|
8431
|
+
var CardActions = React159.forwardRef(
|
|
8265
8432
|
({ disableSpacing = false, children, className, style, sx, ...rest }, ref) => {
|
|
8266
8433
|
const sxClass = useSx(sx);
|
|
8267
8434
|
const classes = [
|
|
@@ -8270,13 +8437,13 @@ var CardActions = React141.forwardRef(
|
|
|
8270
8437
|
sxClass,
|
|
8271
8438
|
className
|
|
8272
8439
|
].filter(Boolean).join(" ");
|
|
8273
|
-
return /* @__PURE__ */
|
|
8440
|
+
return /* @__PURE__ */ React159.createElement("div", { ref, className: classes, style, ...rest }, children);
|
|
8274
8441
|
}
|
|
8275
8442
|
);
|
|
8276
8443
|
CardActions.displayName = "CardActions";
|
|
8277
8444
|
|
|
8278
8445
|
// lib/Accordion/Accordion.tsx
|
|
8279
|
-
var
|
|
8446
|
+
var React160 = __toESM(require("react"), 1);
|
|
8280
8447
|
var import_react31 = require("react");
|
|
8281
8448
|
var AccordionContext = (0, import_react31.createContext)({
|
|
8282
8449
|
expanded: false,
|
|
@@ -8284,7 +8451,7 @@ var AccordionContext = (0, import_react31.createContext)({
|
|
|
8284
8451
|
toggle: () => {
|
|
8285
8452
|
}
|
|
8286
8453
|
});
|
|
8287
|
-
var Accordion =
|
|
8454
|
+
var Accordion = React160.forwardRef(
|
|
8288
8455
|
({
|
|
8289
8456
|
expanded: expandedProp,
|
|
8290
8457
|
defaultExpanded = false,
|
|
@@ -8319,11 +8486,11 @@ var Accordion = React142.forwardRef(
|
|
|
8319
8486
|
sxClass,
|
|
8320
8487
|
className
|
|
8321
8488
|
].filter(Boolean).join(" ");
|
|
8322
|
-
return /* @__PURE__ */
|
|
8489
|
+
return /* @__PURE__ */ React160.createElement(AccordionContext.Provider, { value: { expanded, disabled, toggle } }, /* @__PURE__ */ React160.createElement("div", { ref, className: classes, style, ...rest }, children));
|
|
8323
8490
|
}
|
|
8324
8491
|
);
|
|
8325
8492
|
Accordion.displayName = "Accordion";
|
|
8326
|
-
var ChevronIcon = () => /* @__PURE__ */
|
|
8493
|
+
var ChevronIcon = () => /* @__PURE__ */ React160.createElement(
|
|
8327
8494
|
"svg",
|
|
8328
8495
|
{
|
|
8329
8496
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -8337,9 +8504,9 @@ var ChevronIcon = () => /* @__PURE__ */ React142.createElement(
|
|
|
8337
8504
|
strokeLinejoin: "round",
|
|
8338
8505
|
"aria-hidden": "true"
|
|
8339
8506
|
},
|
|
8340
|
-
/* @__PURE__ */
|
|
8507
|
+
/* @__PURE__ */ React160.createElement("polyline", { points: "6 9 12 15 18 9" })
|
|
8341
8508
|
);
|
|
8342
|
-
var AccordionSummary =
|
|
8509
|
+
var AccordionSummary = React160.forwardRef(
|
|
8343
8510
|
({ expandIcon, children, sx, className, style, ...rest }, ref) => {
|
|
8344
8511
|
const sxClass = useSx(sx);
|
|
8345
8512
|
const { expanded, toggle, disabled } = (0, import_react31.useContext)(AccordionContext);
|
|
@@ -8353,7 +8520,7 @@ var AccordionSummary = React142.forwardRef(
|
|
|
8353
8520
|
"rf-accordion-summary-icon",
|
|
8354
8521
|
expanded ? "rf-accordion-icon-expanded" : ""
|
|
8355
8522
|
].filter(Boolean).join(" ");
|
|
8356
|
-
return /* @__PURE__ */
|
|
8523
|
+
return /* @__PURE__ */ React160.createElement(
|
|
8357
8524
|
"button",
|
|
8358
8525
|
{
|
|
8359
8526
|
ref,
|
|
@@ -8365,13 +8532,13 @@ var AccordionSummary = React142.forwardRef(
|
|
|
8365
8532
|
"aria-expanded": expanded,
|
|
8366
8533
|
...rest
|
|
8367
8534
|
},
|
|
8368
|
-
/* @__PURE__ */
|
|
8369
|
-
/* @__PURE__ */
|
|
8535
|
+
/* @__PURE__ */ React160.createElement("span", { className: "rf-accordion-summary-content" }, children),
|
|
8536
|
+
/* @__PURE__ */ React160.createElement("span", { className: iconClasses }, expandIcon !== void 0 ? expandIcon : /* @__PURE__ */ React160.createElement(ChevronIcon, null))
|
|
8370
8537
|
);
|
|
8371
8538
|
}
|
|
8372
8539
|
);
|
|
8373
8540
|
AccordionSummary.displayName = "AccordionSummary";
|
|
8374
|
-
var AccordionDetails =
|
|
8541
|
+
var AccordionDetails = React160.forwardRef(
|
|
8375
8542
|
({ children, sx, className, style, ...rest }, ref) => {
|
|
8376
8543
|
const sxClass = useSx(sx);
|
|
8377
8544
|
const { expanded } = (0, import_react31.useContext)(AccordionContext);
|
|
@@ -8384,7 +8551,7 @@ var AccordionDetails = React142.forwardRef(
|
|
|
8384
8551
|
sxClass,
|
|
8385
8552
|
className
|
|
8386
8553
|
].filter(Boolean).join(" ");
|
|
8387
|
-
return /* @__PURE__ */
|
|
8554
|
+
return /* @__PURE__ */ React160.createElement("div", { className: wrapperClasses }, /* @__PURE__ */ React160.createElement("div", { className: "rf-accordion-details-inner" }, /* @__PURE__ */ React160.createElement("div", { ref, className: detailsClasses, style, ...rest }, children)));
|
|
8388
8555
|
}
|
|
8389
8556
|
);
|
|
8390
8557
|
AccordionDetails.displayName = "AccordionDetails";
|
|
@@ -9205,6 +9372,143 @@ var Snackbar = ({
|
|
|
9205
9372
|
};
|
|
9206
9373
|
Snackbar.displayName = "Snackbar";
|
|
9207
9374
|
|
|
9375
|
+
// lib/ClickAwayListener/ClickAwayListener.tsx
|
|
9376
|
+
var React167 = __toESM(require("react"), 1);
|
|
9377
|
+
function mapEventPropToEvent(eventProp) {
|
|
9378
|
+
return eventProp.substring(2).toLowerCase();
|
|
9379
|
+
}
|
|
9380
|
+
function ownerDocument(node) {
|
|
9381
|
+
return node && node.ownerDocument || document;
|
|
9382
|
+
}
|
|
9383
|
+
function clickedRootScrollbar(event, doc) {
|
|
9384
|
+
return doc.documentElement.clientWidth < event.clientX || doc.documentElement.clientHeight < event.clientY;
|
|
9385
|
+
}
|
|
9386
|
+
function setRef(ref, value) {
|
|
9387
|
+
if (typeof ref === "function") {
|
|
9388
|
+
ref(value);
|
|
9389
|
+
} else if (ref && typeof ref === "object" && "current" in ref) {
|
|
9390
|
+
ref.current = value;
|
|
9391
|
+
}
|
|
9392
|
+
}
|
|
9393
|
+
function useForkRef(refA, refB) {
|
|
9394
|
+
return React167.useMemo(() => {
|
|
9395
|
+
if (refA == null && refB == null) {
|
|
9396
|
+
return null;
|
|
9397
|
+
}
|
|
9398
|
+
return (value) => {
|
|
9399
|
+
setRef(refA, value);
|
|
9400
|
+
setRef(refB, value);
|
|
9401
|
+
};
|
|
9402
|
+
}, [refA, refB]);
|
|
9403
|
+
}
|
|
9404
|
+
function useEventCallback(fn) {
|
|
9405
|
+
const ref = React167.useRef(fn);
|
|
9406
|
+
React167.useEffect(() => {
|
|
9407
|
+
ref.current = fn;
|
|
9408
|
+
});
|
|
9409
|
+
return React167.useCallback((...args) => ref.current(...args), []);
|
|
9410
|
+
}
|
|
9411
|
+
function getReactElementRef(element) {
|
|
9412
|
+
const major = parseInt(React167.version, 10);
|
|
9413
|
+
if (major >= 19) {
|
|
9414
|
+
return element.props?.ref ?? null;
|
|
9415
|
+
}
|
|
9416
|
+
return element.ref ?? null;
|
|
9417
|
+
}
|
|
9418
|
+
function ClickAwayListener(props) {
|
|
9419
|
+
const {
|
|
9420
|
+
children,
|
|
9421
|
+
disableReactTree = false,
|
|
9422
|
+
mouseEvent = "onClick",
|
|
9423
|
+
onClickAway,
|
|
9424
|
+
touchEvent = "onTouchEnd"
|
|
9425
|
+
} = props;
|
|
9426
|
+
const movedRef = React167.useRef(false);
|
|
9427
|
+
const nodeRef = React167.useRef(null);
|
|
9428
|
+
const activatedRef = React167.useRef(false);
|
|
9429
|
+
const syntheticEventRef = React167.useRef(false);
|
|
9430
|
+
React167.useEffect(() => {
|
|
9431
|
+
const id = setTimeout(() => {
|
|
9432
|
+
activatedRef.current = true;
|
|
9433
|
+
}, 0);
|
|
9434
|
+
return () => {
|
|
9435
|
+
clearTimeout(id);
|
|
9436
|
+
activatedRef.current = false;
|
|
9437
|
+
};
|
|
9438
|
+
}, []);
|
|
9439
|
+
const handleRef = useForkRef(
|
|
9440
|
+
getReactElementRef(children),
|
|
9441
|
+
nodeRef
|
|
9442
|
+
);
|
|
9443
|
+
const handleClickAway = useEventCallback(
|
|
9444
|
+
(event) => {
|
|
9445
|
+
const insideReactTree = syntheticEventRef.current;
|
|
9446
|
+
syntheticEventRef.current = false;
|
|
9447
|
+
const doc = ownerDocument(nodeRef.current);
|
|
9448
|
+
if (!activatedRef.current || !nodeRef.current || "clientX" in event && clickedRootScrollbar(event, doc)) {
|
|
9449
|
+
return;
|
|
9450
|
+
}
|
|
9451
|
+
if (movedRef.current) {
|
|
9452
|
+
movedRef.current = false;
|
|
9453
|
+
return;
|
|
9454
|
+
}
|
|
9455
|
+
let insideDOM;
|
|
9456
|
+
if (typeof event.composedPath === "function") {
|
|
9457
|
+
insideDOM = event.composedPath().includes(nodeRef.current);
|
|
9458
|
+
} else {
|
|
9459
|
+
const target = event.target;
|
|
9460
|
+
insideDOM = !doc.documentElement.contains(target) || nodeRef.current.contains(target);
|
|
9461
|
+
}
|
|
9462
|
+
if (!insideDOM && (disableReactTree || !insideReactTree)) {
|
|
9463
|
+
onClickAway(event);
|
|
9464
|
+
}
|
|
9465
|
+
}
|
|
9466
|
+
);
|
|
9467
|
+
const createHandleSynthetic = (handlerName) => (event) => {
|
|
9468
|
+
syntheticEventRef.current = true;
|
|
9469
|
+
const childProps = children.props;
|
|
9470
|
+
const childHandler = childProps[handlerName];
|
|
9471
|
+
if (childHandler) {
|
|
9472
|
+
childHandler(event);
|
|
9473
|
+
}
|
|
9474
|
+
};
|
|
9475
|
+
const childrenProps = { ref: handleRef };
|
|
9476
|
+
if (touchEvent !== false) {
|
|
9477
|
+
childrenProps[touchEvent] = createHandleSynthetic(touchEvent);
|
|
9478
|
+
}
|
|
9479
|
+
React167.useEffect(() => {
|
|
9480
|
+
if (touchEvent === false) {
|
|
9481
|
+
return void 0;
|
|
9482
|
+
}
|
|
9483
|
+
const mappedTouchEvent = mapEventPropToEvent(touchEvent);
|
|
9484
|
+
const doc = ownerDocument(nodeRef.current);
|
|
9485
|
+
const handleTouchMove = () => {
|
|
9486
|
+
movedRef.current = true;
|
|
9487
|
+
};
|
|
9488
|
+
doc.addEventListener(mappedTouchEvent, handleClickAway);
|
|
9489
|
+
doc.addEventListener("touchmove", handleTouchMove);
|
|
9490
|
+
return () => {
|
|
9491
|
+
doc.removeEventListener(mappedTouchEvent, handleClickAway);
|
|
9492
|
+
doc.removeEventListener("touchmove", handleTouchMove);
|
|
9493
|
+
};
|
|
9494
|
+
}, [handleClickAway, touchEvent]);
|
|
9495
|
+
if (mouseEvent !== false) {
|
|
9496
|
+
childrenProps[mouseEvent] = createHandleSynthetic(mouseEvent);
|
|
9497
|
+
}
|
|
9498
|
+
React167.useEffect(() => {
|
|
9499
|
+
if (mouseEvent === false) {
|
|
9500
|
+
return void 0;
|
|
9501
|
+
}
|
|
9502
|
+
const mappedMouseEvent = mapEventPropToEvent(mouseEvent);
|
|
9503
|
+
const doc = ownerDocument(nodeRef.current);
|
|
9504
|
+
doc.addEventListener(mappedMouseEvent, handleClickAway);
|
|
9505
|
+
return () => {
|
|
9506
|
+
doc.removeEventListener(mappedMouseEvent, handleClickAway);
|
|
9507
|
+
};
|
|
9508
|
+
}, [handleClickAway, mouseEvent]);
|
|
9509
|
+
return React167.cloneElement(children, childrenProps);
|
|
9510
|
+
}
|
|
9511
|
+
|
|
9208
9512
|
// lib/Link/Link.tsx
|
|
9209
9513
|
var import_react38 = __toESM(require("react"), 1);
|
|
9210
9514
|
var KNOWN_COLORS = ["primary", "secondary", "textPrimary", "textSecondary", "inherit"];
|
|
@@ -12553,38 +12857,38 @@ var CustomTaskItem = import_extension_task_item.default.extend({
|
|
|
12553
12857
|
});
|
|
12554
12858
|
|
|
12555
12859
|
// lib/RufousTextEditor/icons.tsx
|
|
12556
|
-
var
|
|
12860
|
+
var React182 = __toESM(require("react"), 1);
|
|
12557
12861
|
var s = { width: 20, height: 20, viewBox: "0 0 24 24", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg" };
|
|
12558
|
-
var IconUndo = () => /* @__PURE__ */
|
|
12559
|
-
var IconRedo = () => /* @__PURE__ */
|
|
12560
|
-
var IconBold = () => /* @__PURE__ */
|
|
12561
|
-
var IconItalic = () => /* @__PURE__ */
|
|
12562
|
-
var IconLink = () => /* @__PURE__ */
|
|
12563
|
-
var IconStrike = () => /* @__PURE__ */
|
|
12564
|
-
var IconHeading = () => /* @__PURE__ */
|
|
12565
|
-
var IconFontSize = () => /* @__PURE__ */
|
|
12566
|
-
var IconColor = () => /* @__PURE__ */
|
|
12567
|
-
var IconFont = () => /* @__PURE__ */
|
|
12568
|
-
var IconLineHeight = () => /* @__PURE__ */
|
|
12569
|
-
var IconBulletList = () => /* @__PURE__ */
|
|
12570
|
-
var IconOrderedList = () => /* @__PURE__ */
|
|
12571
|
-
var IconAlignLeft = () => /* @__PURE__ */
|
|
12572
|
-
var IconAlignCenter = () => /* @__PURE__ */
|
|
12573
|
-
var IconAlignRight = () => /* @__PURE__ */
|
|
12574
|
-
var IconAlignJustify = () => /* @__PURE__ */
|
|
12575
|
-
var IconIndentIncrease = () => /* @__PURE__ */
|
|
12576
|
-
var IconIndentDecrease = () => /* @__PURE__ */
|
|
12577
|
-
var IconTable = () => /* @__PURE__ */
|
|
12578
|
-
var IconImage = () => /* @__PURE__ */
|
|
12579
|
-
var IconVideo = () => /* @__PURE__ */
|
|
12580
|
-
var IconCut = () => /* @__PURE__ */
|
|
12581
|
-
var IconCopy = () => /* @__PURE__ */
|
|
12582
|
-
var IconCode = () => /* @__PURE__ */
|
|
12583
|
-
var IconFullscreen = () => /* @__PURE__ */
|
|
12584
|
-
var IconTranslate = () => /* @__PURE__ */
|
|
12585
|
-
var IconTaskList = () => /* @__PURE__ */
|
|
12586
|
-
var IconCheck = () => /* @__PURE__ */
|
|
12587
|
-
var IconPaste = () => /* @__PURE__ */
|
|
12862
|
+
var IconUndo = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.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" }));
|
|
12863
|
+
var IconRedo = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.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" }));
|
|
12864
|
+
var IconBold = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.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" }));
|
|
12865
|
+
var IconItalic = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.createElement("path", { d: "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z" }));
|
|
12866
|
+
var IconLink = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.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" }));
|
|
12867
|
+
var IconStrike = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.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" }));
|
|
12868
|
+
var IconHeading = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.createElement("path", { d: "M5 4v3h5.5v12h3V7H19V4z" }));
|
|
12869
|
+
var IconFontSize = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.createElement("path", { d: "M9 4v3h5v12h2V7h5V4H9zm-6 8h3v7h2v-7h3v-2H3v2z" }));
|
|
12870
|
+
var IconColor = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.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__ */ React182.createElement("path", { d: "M3 20h18v3H3z", opacity: "0.8" }));
|
|
12871
|
+
var IconFont = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.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" }));
|
|
12872
|
+
var IconLineHeight = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.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" }));
|
|
12873
|
+
var IconBulletList = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.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" }));
|
|
12874
|
+
var IconOrderedList = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.createElement("path", { d: "M2 17h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2v1zm5-6v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z" }));
|
|
12875
|
+
var IconAlignLeft = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.createElement("path", { d: "M15 15H3v2h12v-2zm0-8H3v2h12V7zM3 13h18v-2H3v2zM3 21h18v-2H3v2zM3 3v2h18V3H3z" }));
|
|
12876
|
+
var IconAlignCenter = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.createElement("path", { d: "M7 15v2h10v-2H7zm-4 6h18v-2H3v2zm0-8h18v-2H3v2zm4-6v2h10V7H7zM3 3v2h18V3H3z" }));
|
|
12877
|
+
var IconAlignRight = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.createElement("path", { d: "M3 21h18v-2H3v2zm6-4h12v-2H9v2zm-6-4h18v-2H3v2zm6-4h12V7H9v2zM3 3v2h18V3H3z" }));
|
|
12878
|
+
var IconAlignJustify = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.createElement("path", { d: "M3 21h18v-2H3v2zm0-4h18v-2H3v2zm0-4h18v-2H3v2zm0-4h18V7H3v2zM3 3v2h18V3H3z" }));
|
|
12879
|
+
var IconIndentIncrease = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.createElement("path", { d: "M3 21h18v-2H3v2zM3 8v8l4-4-4-4zm8 9h10v-2H11v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z" }));
|
|
12880
|
+
var IconIndentDecrease = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.createElement("path", { d: "M11 17h10v-2H11v2zm-8-5l4 4V8l-4 4zm0 9h18v-2H3v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z" }));
|
|
12881
|
+
var IconTable = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.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" }));
|
|
12882
|
+
var IconImage = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.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" }));
|
|
12883
|
+
var IconVideo = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.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" }));
|
|
12884
|
+
var IconCut = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.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" }));
|
|
12885
|
+
var IconCopy = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.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" }));
|
|
12886
|
+
var IconCode = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.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" }));
|
|
12887
|
+
var IconFullscreen = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.createElement("path", { d: "M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z" }));
|
|
12888
|
+
var IconTranslate = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.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" }));
|
|
12889
|
+
var IconTaskList = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.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" }));
|
|
12890
|
+
var IconCheck = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.createElement("path", { d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" }));
|
|
12891
|
+
var IconPaste = () => /* @__PURE__ */ React182.createElement("svg", { ...s }, /* @__PURE__ */ React182.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" }));
|
|
12588
12892
|
|
|
12589
12893
|
// lib/RufousTextEditor/Toolbar.tsx
|
|
12590
12894
|
var COLOR_PALETTE = [
|
|
@@ -15079,6 +15383,7 @@ function useCitiesSearch(debounceMs = 300) {
|
|
|
15079
15383
|
AccordionSummary,
|
|
15080
15384
|
ActivateUserIcon,
|
|
15081
15385
|
AddButton,
|
|
15386
|
+
AddIcon,
|
|
15082
15387
|
AddressLookup,
|
|
15083
15388
|
AlertTriangleIcon,
|
|
15084
15389
|
ArchivedIcon,
|
|
@@ -15087,6 +15392,7 @@ function useCitiesSearch(debounceMs = 300) {
|
|
|
15087
15392
|
ArrowRightIcon,
|
|
15088
15393
|
ArrowUpIcon,
|
|
15089
15394
|
AssignGroupIcon,
|
|
15395
|
+
AttachFileIcon,
|
|
15090
15396
|
Autocomplete,
|
|
15091
15397
|
Avatar,
|
|
15092
15398
|
AvatarGroup,
|
|
@@ -15094,7 +15400,9 @@ function useCitiesSearch(debounceMs = 300) {
|
|
|
15094
15400
|
BookmarkIcon,
|
|
15095
15401
|
Box,
|
|
15096
15402
|
Breadcrumbs,
|
|
15403
|
+
BusinessIcon,
|
|
15097
15404
|
Button,
|
|
15405
|
+
CalendarIcon,
|
|
15098
15406
|
CameraIcon,
|
|
15099
15407
|
CancelButton,
|
|
15100
15408
|
Card,
|
|
@@ -15102,6 +15410,7 @@ function useCitiesSearch(debounceMs = 300) {
|
|
|
15102
15410
|
CardContent,
|
|
15103
15411
|
CardHeader,
|
|
15104
15412
|
CardMedia,
|
|
15413
|
+
ChatBubbleIcon,
|
|
15105
15414
|
CheckCircleIcon,
|
|
15106
15415
|
Checkbox,
|
|
15107
15416
|
ChevronDownIcon,
|
|
@@ -15111,9 +15420,11 @@ function useCitiesSearch(debounceMs = 300) {
|
|
|
15111
15420
|
Chip,
|
|
15112
15421
|
CircularProgress,
|
|
15113
15422
|
CircularProgressIcon,
|
|
15423
|
+
ClickAwayListener,
|
|
15114
15424
|
ClipboardIcon,
|
|
15115
15425
|
CloseIcon,
|
|
15116
15426
|
Collapse,
|
|
15427
|
+
ContactsIcon,
|
|
15117
15428
|
CopyIcon,
|
|
15118
15429
|
CustomImage,
|
|
15119
15430
|
CustomTaskItem,
|
|
@@ -15130,12 +15441,14 @@ function useCitiesSearch(debounceMs = 300) {
|
|
|
15130
15441
|
DollarIcon,
|
|
15131
15442
|
DownloadIcon,
|
|
15132
15443
|
DownloadPdfIcon,
|
|
15444
|
+
DragIndicatorIcon,
|
|
15133
15445
|
Drawer,
|
|
15134
15446
|
EditChatIcon,
|
|
15135
15447
|
EditIcon,
|
|
15136
15448
|
EngagementIcon,
|
|
15137
15449
|
ExternalLinkIcon,
|
|
15138
15450
|
EyeOffIcon,
|
|
15451
|
+
FactoryIcon,
|
|
15139
15452
|
Fade,
|
|
15140
15453
|
FilterIcon,
|
|
15141
15454
|
FlagIcon,
|
|
@@ -15169,11 +15482,13 @@ function useCitiesSearch(debounceMs = 300) {
|
|
|
15169
15482
|
ListStyle,
|
|
15170
15483
|
ListSubheader,
|
|
15171
15484
|
ListViewIcon,
|
|
15485
|
+
LocationCityIcon,
|
|
15172
15486
|
LocationPinIcon,
|
|
15173
15487
|
LockIcon,
|
|
15174
15488
|
LogsIcon,
|
|
15175
15489
|
MAX_INDENT,
|
|
15176
15490
|
MailIcon,
|
|
15491
|
+
MemoryIcon,
|
|
15177
15492
|
Menu,
|
|
15178
15493
|
MenuDivider,
|
|
15179
15494
|
MenuIcon,
|
|
@@ -15185,11 +15500,16 @@ function useCitiesSearch(debounceMs = 300) {
|
|
|
15185
15500
|
MoreHorizontalIcon,
|
|
15186
15501
|
MoreVerticalIcon,
|
|
15187
15502
|
NineDotMenuIcon,
|
|
15503
|
+
NotesIcon,
|
|
15188
15504
|
NotificationIcon,
|
|
15505
|
+
OpenInFullIcon,
|
|
15189
15506
|
Paper,
|
|
15190
15507
|
PaperclipIcon,
|
|
15508
|
+
PersonSearchIcon,
|
|
15191
15509
|
PhoneField,
|
|
15192
15510
|
PhoneIcon,
|
|
15511
|
+
PinIcon,
|
|
15512
|
+
PlaceIcon,
|
|
15193
15513
|
PlusIcon,
|
|
15194
15514
|
Popover,
|
|
15195
15515
|
Popper,
|
|
@@ -15208,6 +15528,7 @@ function useCitiesSearch(debounceMs = 300) {
|
|
|
15208
15528
|
RadioGroup,
|
|
15209
15529
|
Rating,
|
|
15210
15530
|
RefreshIcon,
|
|
15531
|
+
RemoveIcon,
|
|
15211
15532
|
ResendInviteIcon,
|
|
15212
15533
|
RolesIcon,
|
|
15213
15534
|
RufousAiIcon,
|
|
@@ -15235,6 +15556,7 @@ function useCitiesSearch(debounceMs = 300) {
|
|
|
15235
15556
|
SoftSkillsIcon,
|
|
15236
15557
|
Stack,
|
|
15237
15558
|
StandardButton,
|
|
15559
|
+
StarBorderIcon,
|
|
15238
15560
|
StarIcon,
|
|
15239
15561
|
Step,
|
|
15240
15562
|
StepButton,
|
|
@@ -15261,6 +15583,7 @@ function useCitiesSearch(debounceMs = 300) {
|
|
|
15261
15583
|
TagIcon,
|
|
15262
15584
|
TechnicalSkillsIcon,
|
|
15263
15585
|
TextField,
|
|
15586
|
+
TextFieldsIcon,
|
|
15264
15587
|
TickIcon,
|
|
15265
15588
|
TimerIcon,
|
|
15266
15589
|
ToggleButton,
|
|
@@ -15268,6 +15591,7 @@ function useCitiesSearch(debounceMs = 300) {
|
|
|
15268
15591
|
Tooltip,
|
|
15269
15592
|
TrashIcon,
|
|
15270
15593
|
TreeSelect,
|
|
15594
|
+
TrendingFlatIcon,
|
|
15271
15595
|
Typography,
|
|
15272
15596
|
UnArchivedIcon,
|
|
15273
15597
|
UnlockIcon,
|