@burtson-labs/bandit-engine 2.0.121 → 2.0.123
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/chat-CGZD7ZQF.mjs +16 -0
- package/dist/chat-provider.js +33 -1
- package/dist/chat-provider.js.map +1 -1
- package/dist/chat-provider.mjs +5 -5
- package/dist/{chunk-THDQFHQZ.mjs → chunk-4RRQQPFZ.mjs} +4 -4
- package/dist/{chunk-26KZF54U.mjs → chunk-4T6HJTYD.mjs} +1842 -1347
- package/dist/chunk-4T6HJTYD.mjs.map +1 -0
- package/dist/{chunk-37JLV5PU.mjs → chunk-6ONL4SRK.mjs} +35 -3
- package/dist/chunk-6ONL4SRK.mjs.map +1 -0
- package/dist/{chunk-LWHSOEPR.mjs → chunk-EORIRPPX.mjs} +2 -2
- package/dist/{chunk-LWHSOEPR.mjs.map → chunk-EORIRPPX.mjs.map} +1 -1
- package/dist/{chunk-HAUDGBUS.mjs → chunk-F7JXIW6T.mjs} +2 -2
- package/dist/{chunk-VCUVOGOO.mjs → chunk-JJTUEC2E.mjs} +98 -248
- package/dist/chunk-JJTUEC2E.mjs.map +1 -0
- package/dist/{chunk-BN3D45E2.mjs → chunk-K2JGFKEB.mjs} +2 -2
- package/dist/{chunk-HLNEVIFS.mjs → chunk-RLMGTTK7.mjs} +9 -9
- package/dist/{chunk-VTKRZNLI.mjs → chunk-SAQUEXYS.mjs} +5 -5
- package/dist/{chunk-W2EPDR5G.mjs → chunk-WSNV6EX5.mjs} +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4621 -4232
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- package/dist/management/management.js +2155 -1766
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +8 -8
- package/dist/modals/chat-modal/chat-modal.js +121 -241
- package/dist/modals/chat-modal/chat-modal.js.map +1 -1
- package/dist/modals/chat-modal/chat-modal.mjs +4 -4
- package/dist/{modelStore-KCJPXFKO.mjs → modelStore-U57LUIIB.mjs} +2 -2
- package/dist/{public-nrOOzXCZ.d.ts → public-20My32EB.d.mts} +6 -1
- package/dist/{public-nrOOzXCZ.d.mts → public-20My32EB.d.ts} +6 -1
- package/dist/public-types.d.mts +1 -1
- package/dist/public-types.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chat-NF4FKMA4.mjs +0 -16
- package/dist/chunk-26KZF54U.mjs.map +0 -1
- package/dist/chunk-37JLV5PU.mjs.map +0 -1
- package/dist/chunk-VCUVOGOO.mjs.map +0 -1
- /package/dist/{chat-NF4FKMA4.mjs.map → chat-CGZD7ZQF.mjs.map} +0 -0
- /package/dist/{chunk-THDQFHQZ.mjs.map → chunk-4RRQQPFZ.mjs.map} +0 -0
- /package/dist/{chunk-HAUDGBUS.mjs.map → chunk-F7JXIW6T.mjs.map} +0 -0
- /package/dist/{chunk-BN3D45E2.mjs.map → chunk-K2JGFKEB.mjs.map} +0 -0
- /package/dist/{chunk-HLNEVIFS.mjs.map → chunk-RLMGTTK7.mjs.map} +0 -0
- /package/dist/{chunk-VTKRZNLI.mjs.map → chunk-SAQUEXYS.mjs.map} +0 -0
- /package/dist/{chunk-W2EPDR5G.mjs.map → chunk-WSNV6EX5.mjs.map} +0 -0
- /package/dist/{modelStore-KCJPXFKO.mjs.map → modelStore-U57LUIIB.mjs.map} +0 -0
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
useMemoryStore,
|
|
7
7
|
useNotification,
|
|
8
8
|
useVectorStore
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6ONL4SRK.mjs";
|
|
10
10
|
import {
|
|
11
11
|
useModelStore,
|
|
12
12
|
usePackageSettingsStore,
|
|
13
13
|
usePreferencesStore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EORIRPPX.mjs";
|
|
15
15
|
import {
|
|
16
16
|
GatewayService,
|
|
17
17
|
authenticationService
|
|
@@ -84,10 +84,13 @@ import {
|
|
|
84
84
|
Minus,
|
|
85
85
|
NotebookPen,
|
|
86
86
|
Pencil,
|
|
87
|
+
Ghost,
|
|
88
|
+
PanelLeft,
|
|
87
89
|
Pin,
|
|
88
90
|
PinOff,
|
|
89
91
|
Play,
|
|
90
92
|
Plus,
|
|
93
|
+
SquarePen,
|
|
91
94
|
RectangleHorizontal,
|
|
92
95
|
RectangleVertical,
|
|
93
96
|
RefreshCw,
|
|
@@ -187,6 +190,9 @@ var createMuiLucideIcon = (Icon) => {
|
|
|
187
190
|
return MuiLucideIcon;
|
|
188
191
|
};
|
|
189
192
|
var AddIcon = createMuiLucideIcon(Plus);
|
|
193
|
+
var GhostIcon = createMuiLucideIcon(Ghost);
|
|
194
|
+
var PanelLeftIcon = createMuiLucideIcon(PanelLeft);
|
|
195
|
+
var ComposeIcon = createMuiLucideIcon(SquarePen);
|
|
190
196
|
var CloudDoneIcon = createMuiLucideIcon(CloudCheck);
|
|
191
197
|
var CloudOffIcon = createMuiLucideIcon(CloudOff);
|
|
192
198
|
var ErrorOutlineIcon = createMuiLucideIcon(CircleAlert);
|
|
@@ -3674,7 +3680,7 @@ import {
|
|
|
3674
3680
|
useMediaQuery as useMediaQuery2,
|
|
3675
3681
|
Snackbar
|
|
3676
3682
|
} from "@mui/material";
|
|
3677
|
-
import { X as CloseIcon2, Bug as BugReportIcon, Lightbulb as LightbulbIcon, TrendingUp as TrendingUpIcon, HelpCircle as HelpIcon, MessageSquare as MessageIcon, Camera as PhotoCameraIcon, Paperclip as AttachFileIcon, Trash2 as DeleteIcon2, Mail as MailIcon
|
|
3683
|
+
import { X as CloseIcon2, Bug as BugReportIcon, Lightbulb as LightbulbIcon, TrendingUp as TrendingUpIcon, HelpCircle as HelpIcon, MessageSquare as MessageIcon, Camera as PhotoCameraIcon, Paperclip as AttachFileIcon, Trash2 as DeleteIcon2, Mail as MailIcon } from "lucide-react";
|
|
3678
3684
|
import { useTheme as useTheme4, alpha as alpha2 } from "@mui/material/styles";
|
|
3679
3685
|
import { Fragment as Fragment4, jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
3680
3686
|
var feedbackCategories = {
|
|
@@ -4135,7 +4141,7 @@ var FeedbackModal = ({
|
|
|
4135
4141
|
sx: {
|
|
4136
4142
|
display: "grid",
|
|
4137
4143
|
gridTemplateRows: "auto auto auto auto",
|
|
4138
|
-
rowGap: "
|
|
4144
|
+
rowGap: "16px",
|
|
4139
4145
|
columnGap: "0px",
|
|
4140
4146
|
width: "100%"
|
|
4141
4147
|
},
|
|
@@ -4151,35 +4157,6 @@ var FeedbackModal = ({
|
|
|
4151
4157
|
mb: 0
|
|
4152
4158
|
},
|
|
4153
4159
|
children: [
|
|
4154
|
-
/* @__PURE__ */ jsxs5(
|
|
4155
|
-
Box6,
|
|
4156
|
-
{
|
|
4157
|
-
sx: {
|
|
4158
|
-
gridColumn: "1 / -1",
|
|
4159
|
-
display: "flex",
|
|
4160
|
-
alignItems: "center",
|
|
4161
|
-
gap: "8px",
|
|
4162
|
-
mb: 0,
|
|
4163
|
-
mt: 2,
|
|
4164
|
-
alignSelf: "end"
|
|
4165
|
-
},
|
|
4166
|
-
children: [
|
|
4167
|
-
/* @__PURE__ */ jsx6(MessageIcon, { size: 20, color: theme.palette.text.primary }),
|
|
4168
|
-
/* @__PURE__ */ jsx6(
|
|
4169
|
-
Typography4,
|
|
4170
|
-
{
|
|
4171
|
-
variant: "h6",
|
|
4172
|
-
sx: {
|
|
4173
|
-
fontWeight: 600,
|
|
4174
|
-
color: theme.palette.text.primary,
|
|
4175
|
-
mb: 0
|
|
4176
|
-
},
|
|
4177
|
-
children: "Feedback Details"
|
|
4178
|
-
}
|
|
4179
|
-
)
|
|
4180
|
-
]
|
|
4181
|
-
}
|
|
4182
|
-
),
|
|
4183
4160
|
/* @__PURE__ */ jsx6(
|
|
4184
4161
|
TextField,
|
|
4185
4162
|
{
|
|
@@ -4321,7 +4298,7 @@ var FeedbackModal = ({
|
|
|
4321
4298
|
{
|
|
4322
4299
|
fullWidth: true,
|
|
4323
4300
|
multiline: true,
|
|
4324
|
-
rows:
|
|
4301
|
+
rows: 3,
|
|
4325
4302
|
label: "Description",
|
|
4326
4303
|
value: formData.description,
|
|
4327
4304
|
onChange: handleInputChange("description"),
|
|
@@ -4372,118 +4349,37 @@ var FeedbackModal = ({
|
|
|
4372
4349
|
/* @__PURE__ */ jsxs5(
|
|
4373
4350
|
Box6,
|
|
4374
4351
|
{
|
|
4375
|
-
className: "impact-
|
|
4376
|
-
sx: {
|
|
4377
|
-
flex: 1,
|
|
4378
|
-
minWidth: 300,
|
|
4379
|
-
display: "flex",
|
|
4380
|
-
flexDirection: "column",
|
|
4381
|
-
height: "100%",
|
|
4382
|
-
p: 0
|
|
4383
|
-
},
|
|
4352
|
+
className: "impact-section",
|
|
4353
|
+
sx: { flex: 1, minWidth: 260, display: "flex", flexDirection: "column" },
|
|
4384
4354
|
children: [
|
|
4385
|
-
/* @__PURE__ */ jsxs5(
|
|
4386
|
-
|
|
4387
|
-
|
|
4355
|
+
/* @__PURE__ */ jsxs5(Typography4, { variant: "body2", sx: { fontWeight: 600, mb: 0.5 }, children: [
|
|
4356
|
+
"How annoying is this?",
|
|
4357
|
+
" ",
|
|
4358
|
+
["\u{1F60A}", "\u{1F610}", "\u{1F644}", "\u{1F620}", "\u{1F92C}"][(formData.annoyanceLevel ?? 3) - 1],
|
|
4359
|
+
" ",
|
|
4360
|
+
"(",
|
|
4361
|
+
formData.annoyanceLevel ?? 3,
|
|
4362
|
+
"/5)"
|
|
4388
4363
|
] }),
|
|
4389
|
-
/* @__PURE__ */ jsx6(
|
|
4390
|
-
|
|
4364
|
+
/* @__PURE__ */ jsx6(Box6, { sx: { px: 1 }, children: /* @__PURE__ */ jsx6(
|
|
4365
|
+
Slider,
|
|
4391
4366
|
{
|
|
4392
|
-
|
|
4367
|
+
size: "small",
|
|
4368
|
+
value: formData.annoyanceLevel,
|
|
4369
|
+
onChange: (_, value) => setFormData((prev) => ({ ...prev, annoyanceLevel: value })),
|
|
4370
|
+
min: 1,
|
|
4371
|
+
max: 5,
|
|
4372
|
+
step: 1,
|
|
4373
|
+
marks: true,
|
|
4393
4374
|
sx: {
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
display: "flex",
|
|
4401
|
-
flexDirection: "column",
|
|
4402
|
-
flex: 1,
|
|
4403
|
-
justifyContent: "center",
|
|
4404
|
-
height: "100%",
|
|
4405
|
-
"&:hover": {
|
|
4406
|
-
transform: "translateY(-2px)",
|
|
4407
|
-
boxShadow: theme.palette.mode === "dark" ? "0 8px 24px rgba(0,0,0,0.4)" : "0 8px 24px rgba(0,0,0,0.12)"
|
|
4375
|
+
"& .MuiSlider-track": {
|
|
4376
|
+
background: `linear-gradient(90deg, ${theme.palette.success.main}, ${theme.palette.warning.main}, ${theme.palette.error.main})`,
|
|
4377
|
+
border: "none"
|
|
4378
|
+
},
|
|
4379
|
+
"& .MuiSlider-thumb": {
|
|
4380
|
+
background: `linear-gradient(135deg, ${theme.palette.warning.main}, ${theme.palette.warning.dark})`
|
|
4408
4381
|
}
|
|
4409
|
-
}
|
|
4410
|
-
children: /* @__PURE__ */ jsxs5(Stack, { spacing: 3, children: [
|
|
4411
|
-
/* @__PURE__ */ jsxs5(Typography4, { variant: "subtitle1", sx: { fontWeight: 600, display: "flex", alignItems: "center", gap: 2 }, children: [
|
|
4412
|
-
/* @__PURE__ */ jsx6(
|
|
4413
|
-
Box6,
|
|
4414
|
-
{
|
|
4415
|
-
sx: {
|
|
4416
|
-
width: 28,
|
|
4417
|
-
height: 28,
|
|
4418
|
-
borderRadius: "50%",
|
|
4419
|
-
bgcolor: theme.palette.warning.main + "20",
|
|
4420
|
-
display: "flex",
|
|
4421
|
-
alignItems: "center",
|
|
4422
|
-
justifyContent: "center",
|
|
4423
|
-
fontSize: "14px"
|
|
4424
|
-
},
|
|
4425
|
-
children: /* @__PURE__ */ jsx6(PsychologyAltRounded, { size: 22, color: theme.palette.warning.main })
|
|
4426
|
-
}
|
|
4427
|
-
),
|
|
4428
|
-
"How annoying is this issue? (",
|
|
4429
|
-
formData.annoyanceLevel,
|
|
4430
|
-
"/5)"
|
|
4431
|
-
] }),
|
|
4432
|
-
/* @__PURE__ */ jsx6(Box6, { sx: { px: 2, py: 1 }, children: /* @__PURE__ */ jsx6(
|
|
4433
|
-
Slider,
|
|
4434
|
-
{
|
|
4435
|
-
value: formData.annoyanceLevel,
|
|
4436
|
-
onChange: (_, value) => setFormData((prev) => ({ ...prev, annoyanceLevel: value })),
|
|
4437
|
-
min: 1,
|
|
4438
|
-
max: 5,
|
|
4439
|
-
step: 1,
|
|
4440
|
-
marks: [
|
|
4441
|
-
{ value: 1, label: "\u{1F60A} Not at all" },
|
|
4442
|
-
{ value: 2, label: "\u{1F610} Slightly" },
|
|
4443
|
-
{ value: 3, label: "\u{1F644} Moderately" },
|
|
4444
|
-
{ value: 4, label: "\u{1F620} Very" },
|
|
4445
|
-
{ value: 5, label: "\u{1F92C} Extremely" }
|
|
4446
|
-
],
|
|
4447
|
-
sx: {
|
|
4448
|
-
height: 8,
|
|
4449
|
-
"& .MuiSlider-mark": {
|
|
4450
|
-
backgroundColor: theme.palette.divider,
|
|
4451
|
-
width: 3,
|
|
4452
|
-
height: 3
|
|
4453
|
-
},
|
|
4454
|
-
"& .MuiSlider-markLabel": {
|
|
4455
|
-
fontSize: "0.8rem",
|
|
4456
|
-
color: theme.palette.text.secondary,
|
|
4457
|
-
transform: "translateX(-50%)",
|
|
4458
|
-
whiteSpace: "nowrap",
|
|
4459
|
-
top: 32,
|
|
4460
|
-
fontWeight: 500
|
|
4461
|
-
},
|
|
4462
|
-
"& .MuiSlider-thumb": {
|
|
4463
|
-
width: 24,
|
|
4464
|
-
height: 24,
|
|
4465
|
-
background: `linear-gradient(135deg, ${theme.palette.warning.main}, ${theme.palette.warning.dark})`,
|
|
4466
|
-
boxShadow: `0 4px 12px ${theme.palette.warning.main}40`,
|
|
4467
|
-
"&:hover, &.Mui-focusVisible": {
|
|
4468
|
-
boxShadow: `0 0 0 12px ${theme.palette.warning.main}20, 0 4px 12px ${theme.palette.warning.main}40`
|
|
4469
|
-
}
|
|
4470
|
-
},
|
|
4471
|
-
"& .MuiSlider-track": {
|
|
4472
|
-
background: `linear-gradient(90deg, ${theme.palette.success.main}, ${theme.palette.warning.main}, ${theme.palette.error.main})`,
|
|
4473
|
-
height: 6,
|
|
4474
|
-
border: "none"
|
|
4475
|
-
},
|
|
4476
|
-
"& .MuiSlider-rail": {
|
|
4477
|
-
height: 6,
|
|
4478
|
-
backgroundColor: theme.palette.divider,
|
|
4479
|
-
opacity: 0.3
|
|
4480
|
-
},
|
|
4481
|
-
mb: 5
|
|
4482
|
-
// Space for labels
|
|
4483
|
-
}
|
|
4484
|
-
}
|
|
4485
|
-
) })
|
|
4486
|
-
] })
|
|
4382
|
+
}
|
|
4487
4383
|
}
|
|
4488
4384
|
) })
|
|
4489
4385
|
]
|
|
@@ -4502,109 +4398,63 @@ var FeedbackModal = ({
|
|
|
4502
4398
|
p: 0
|
|
4503
4399
|
},
|
|
4504
4400
|
children: [
|
|
4505
|
-
/* @__PURE__ */
|
|
4506
|
-
/* @__PURE__ */ jsx6(
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
}
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
{
|
|
4557
|
-
sx: {
|
|
4558
|
-
width: 56,
|
|
4559
|
-
height: 56,
|
|
4560
|
-
bgcolor: theme.palette.primary.main + "15",
|
|
4561
|
-
color: theme.palette.primary.main,
|
|
4562
|
-
boxShadow: `0 4px 16px ${theme.palette.primary.main}20`,
|
|
4563
|
-
transition: "all 0.3s ease"
|
|
4564
|
-
},
|
|
4565
|
-
children: /* @__PURE__ */ jsx6(AttachFileIcon, { size: 28 })
|
|
4566
|
-
}
|
|
4567
|
-
),
|
|
4568
|
-
/* @__PURE__ */ jsxs5(Box6, { sx: { textAlign: "center" }, children: [
|
|
4569
|
-
/* @__PURE__ */ jsx6(Typography4, { variant: "h6", sx: { fontWeight: 600, mb: 1, fontSize: "1.1rem" }, children: "Attach One Image" }),
|
|
4570
|
-
/* @__PURE__ */ jsx6(Typography4, { variant: "body2", color: "text.secondary", sx: { mb: 1, fontSize: "0.95rem" }, children: "Click here to upload a single image" }),
|
|
4571
|
-
/* @__PURE__ */ jsx6(Typography4, { variant: "caption", color: "text.secondary", sx: {
|
|
4572
|
-
opacity: 0.8,
|
|
4573
|
-
fontSize: "0.85rem",
|
|
4574
|
-
background: theme.palette.mode === "dark" ? "rgba(255,255,255,0.05)" : "rgba(0,0,0,0.05)",
|
|
4575
|
-
px: 2,
|
|
4576
|
-
py: 0.5,
|
|
4577
|
-
borderRadius: 1
|
|
4578
|
-
}, children: "Support: Images only (JPG, PNG, GIF) - Max 10MB" })
|
|
4579
|
-
] })
|
|
4580
|
-
]
|
|
4581
|
-
}
|
|
4582
|
-
),
|
|
4583
|
-
(formData.images && formData.images.length > 0 || formData.attachments && formData.attachments.length > 0) && /* @__PURE__ */ jsx6(
|
|
4584
|
-
Alert3,
|
|
4585
|
-
{
|
|
4586
|
-
severity: "info",
|
|
4587
|
-
sx: {
|
|
4588
|
-
mt: "auto",
|
|
4589
|
-
textAlign: "left",
|
|
4590
|
-
fontSize: "0.75rem",
|
|
4591
|
-
py: 0.5,
|
|
4592
|
-
background: theme.palette.mode === "dark" ? "linear-gradient(135deg, rgba(33,150,243,0.1) 0%, rgba(25,118,210,0.1) 100%)" : "linear-gradient(135deg, rgba(33,150,243,0.05) 0%, rgba(25,118,210,0.05) 100%)",
|
|
4593
|
-
border: `1px solid ${theme.palette.info.main}30`,
|
|
4594
|
-
"& .MuiAlert-icon": {
|
|
4595
|
-
color: theme.palette.info.main,
|
|
4596
|
-
fontSize: "0.875rem"
|
|
4597
|
-
},
|
|
4598
|
-
"& .MuiAlert-message": {
|
|
4599
|
-
fontSize: "0.75rem"
|
|
4600
|
-
}
|
|
4601
|
-
},
|
|
4602
|
-
children: /* @__PURE__ */ jsx6(Typography4, { variant: "caption", sx: { fontWeight: 600, display: "block" }, children: formData.images && formData.images.length > 0 ? "\u{1F4CE} Image will be copied to clipboard - paste in email!" : "\u{1F4CE} Files ready for email attachment" })
|
|
4401
|
+
/* @__PURE__ */ jsx6("div", { style: { display: "flex", flexDirection: "column" }, children: /* @__PURE__ */ jsxs5(Box6, { onClick: () => fileInputRef.current?.click(), children: [
|
|
4402
|
+
/* @__PURE__ */ jsx6(
|
|
4403
|
+
"input",
|
|
4404
|
+
{
|
|
4405
|
+
ref: fileInputRef,
|
|
4406
|
+
type: "file",
|
|
4407
|
+
accept: "image/*",
|
|
4408
|
+
style: { display: "none" },
|
|
4409
|
+
onChange: handleFileUpload
|
|
4410
|
+
}
|
|
4411
|
+
),
|
|
4412
|
+
/* @__PURE__ */ jsxs5(
|
|
4413
|
+
Box6,
|
|
4414
|
+
{
|
|
4415
|
+
sx: {
|
|
4416
|
+
display: "flex",
|
|
4417
|
+
alignItems: "center",
|
|
4418
|
+
gap: 1,
|
|
4419
|
+
px: 1.5,
|
|
4420
|
+
py: 1,
|
|
4421
|
+
border: "1px dashed",
|
|
4422
|
+
borderColor: (theme2) => theme2.palette.divider,
|
|
4423
|
+
borderRadius: 2,
|
|
4424
|
+
cursor: "pointer",
|
|
4425
|
+
color: theme.palette.text.secondary,
|
|
4426
|
+
"&:hover": { borderColor: theme.palette.primary.main, color: theme.palette.primary.main }
|
|
4427
|
+
},
|
|
4428
|
+
children: [
|
|
4429
|
+
/* @__PURE__ */ jsx6(AttachFileIcon, { size: 18 }),
|
|
4430
|
+
/* @__PURE__ */ jsx6(Typography4, { variant: "body2", sx: { fontWeight: 500 }, children: "Attach an image" }),
|
|
4431
|
+
/* @__PURE__ */ jsx6(Typography4, { variant: "caption", color: "text.secondary", sx: { ml: "auto" }, children: "JPG/PNG/GIF \xB7 10MB" })
|
|
4432
|
+
]
|
|
4433
|
+
}
|
|
4434
|
+
),
|
|
4435
|
+
(formData.images && formData.images.length > 0 || formData.attachments && formData.attachments.length > 0) && /* @__PURE__ */ jsx6(
|
|
4436
|
+
Alert3,
|
|
4437
|
+
{
|
|
4438
|
+
severity: "info",
|
|
4439
|
+
sx: {
|
|
4440
|
+
mt: "auto",
|
|
4441
|
+
textAlign: "left",
|
|
4442
|
+
fontSize: "0.75rem",
|
|
4443
|
+
py: 0.5,
|
|
4444
|
+
background: theme.palette.mode === "dark" ? "linear-gradient(135deg, rgba(33,150,243,0.1) 0%, rgba(25,118,210,0.1) 100%)" : "linear-gradient(135deg, rgba(33,150,243,0.05) 0%, rgba(25,118,210,0.05) 100%)",
|
|
4445
|
+
border: `1px solid ${theme.palette.info.main}30`,
|
|
4446
|
+
"& .MuiAlert-icon": {
|
|
4447
|
+
color: theme.palette.info.main,
|
|
4448
|
+
fontSize: "0.875rem"
|
|
4449
|
+
},
|
|
4450
|
+
"& .MuiAlert-message": {
|
|
4451
|
+
fontSize: "0.75rem"
|
|
4603
4452
|
}
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4453
|
+
},
|
|
4454
|
+
children: /* @__PURE__ */ jsx6(Typography4, { variant: "caption", sx: { fontWeight: 600, display: "block" }, children: formData.images && formData.images.length > 0 ? "\u{1F4CE} Image will be copied to clipboard - paste in email!" : "\u{1F4CE} Files ready for email attachment" })
|
|
4455
|
+
}
|
|
4456
|
+
)
|
|
4457
|
+
] }) }),
|
|
4608
4458
|
formData.images && formData.images.length > 0 && /* @__PURE__ */ jsxs5(Box6, { sx: { mt: 2 }, children: [
|
|
4609
4459
|
/* @__PURE__ */ jsxs5(Box6, { sx: { display: "flex", alignItems: "center", gap: 1, mb: 1.5 }, children: [
|
|
4610
4460
|
/* @__PURE__ */ jsx6(PhotoCameraIcon, { size: 16 }),
|
|
@@ -8892,6 +8742,7 @@ var MemoryModal = ({ open, onClose }) => {
|
|
|
8892
8742
|
},
|
|
8893
8743
|
disableSwipeToOpen: true,
|
|
8894
8744
|
ModalProps: { keepMounted: true },
|
|
8745
|
+
sx: { zIndex: 2e3 },
|
|
8895
8746
|
PaperProps: {
|
|
8896
8747
|
sx: {
|
|
8897
8748
|
height: "min(720px, 82vh)",
|
|
@@ -8931,12 +8782,11 @@ export {
|
|
|
8931
8782
|
markdownSanitizeSchema,
|
|
8932
8783
|
renderLowlightChildren,
|
|
8933
8784
|
AddIcon,
|
|
8785
|
+
GhostIcon,
|
|
8786
|
+
PanelLeftIcon,
|
|
8787
|
+
ComposeIcon,
|
|
8934
8788
|
CloudDoneIcon,
|
|
8935
8789
|
CloudOffIcon,
|
|
8936
|
-
ErrorOutlineIcon,
|
|
8937
|
-
HomeIcon,
|
|
8938
|
-
NotesIcon,
|
|
8939
|
-
NotesIconOutlined,
|
|
8940
8790
|
RecordVoiceOverIcon,
|
|
8941
8791
|
SettingsIcon,
|
|
8942
8792
|
SyncIcon,
|
|
@@ -9041,4 +8891,4 @@ export {
|
|
|
9041
8891
|
FeedbackButton,
|
|
9042
8892
|
useNotificationService
|
|
9043
8893
|
};
|
|
9044
|
-
//# sourceMappingURL=chunk-
|
|
8894
|
+
//# sourceMappingURL=chunk-JJTUEC2E.mjs.map
|