@datatechsolutions/ui 3.12.1 → 3.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/astrlabe/graph-node.js +6 -6
- package/dist/astrlabe/graph-node.mjs +2 -2
- package/dist/astrlabe/index.js +114 -114
- package/dist/astrlabe/index.mjs +6 -6
- package/dist/astrlabe/workflow-canvas.js +6 -6
- package/dist/astrlabe/workflow-canvas.mjs +5 -5
- package/dist/{chunk-BPMYNE7S.mjs → chunk-3VCSMSJB.mjs} +6 -6
- package/dist/{chunk-BPMYNE7S.mjs.map → chunk-3VCSMSJB.mjs.map} +1 -1
- package/dist/{chunk-OM5NNUD2.mjs → chunk-4MNKVDTJ.mjs} +9 -8
- package/dist/chunk-4MNKVDTJ.mjs.map +1 -0
- package/dist/{chunk-PIIY2Z2O.mjs → chunk-4QCO4CBC.mjs} +4 -4
- package/dist/{chunk-PIIY2Z2O.mjs.map → chunk-4QCO4CBC.mjs.map} +1 -1
- package/dist/{chunk-4D23CQZM.mjs → chunk-4VEQJAXJ.mjs} +6 -6
- package/dist/{chunk-4D23CQZM.mjs.map → chunk-4VEQJAXJ.mjs.map} +1 -1
- package/dist/{chunk-FKRIQYRG.js → chunk-4Z5NZINA.js} +431 -481
- package/dist/chunk-4Z5NZINA.js.map +1 -0
- package/dist/{chunk-Z75CEP4V.js → chunk-54T5F65C.js} +29 -29
- package/dist/{chunk-Z75CEP4V.js.map → chunk-54T5F65C.js.map} +1 -1
- package/dist/{chunk-V3UZCOZI.js → chunk-7IAWXG43.js} +35 -35
- package/dist/{chunk-V3UZCOZI.js.map → chunk-7IAWXG43.js.map} +1 -1
- package/dist/{chunk-PLEWG2L7.js → chunk-AC54BNSK.js} +15 -15
- package/dist/{chunk-PLEWG2L7.js.map → chunk-AC54BNSK.js.map} +1 -1
- package/dist/{chunk-ID55ABBB.js → chunk-B3TA74C4.js} +100 -100
- package/dist/chunk-B3TA74C4.js.map +1 -0
- package/dist/{chunk-5OZTI7TR.js → chunk-CKY2QIRR.js} +6 -6
- package/dist/{chunk-5OZTI7TR.js.map → chunk-CKY2QIRR.js.map} +1 -1
- package/dist/{chunk-EZQ2D47U.js → chunk-CVEI4RQP.js} +4 -4
- package/dist/{chunk-EZQ2D47U.js.map → chunk-CVEI4RQP.js.map} +1 -1
- package/dist/{chunk-NK4H3JWN.mjs → chunk-DJHNSBIR.mjs} +63 -100
- package/dist/chunk-DJHNSBIR.mjs.map +1 -0
- package/dist/{chunk-P4RVGMZL.js → chunk-DTFU3ZTD.js} +5 -33
- package/dist/chunk-DTFU3ZTD.js.map +1 -0
- package/dist/{chunk-BHOT22QL.js → chunk-EBARYRSA.js} +2 -2
- package/dist/{chunk-BHOT22QL.js.map → chunk-EBARYRSA.js.map} +1 -1
- package/dist/{chunk-QGLGQXJE.js → chunk-FV42SSLP.js} +10 -10
- package/dist/chunk-FV42SSLP.js.map +1 -0
- package/dist/{chunk-RT264BD4.mjs → chunk-M4KRQXOT.mjs} +4 -4
- package/dist/{chunk-RT264BD4.mjs.map → chunk-M4KRQXOT.mjs.map} +1 -1
- package/dist/{chunk-WR55H7DH.mjs → chunk-O4RZCDP2.mjs} +2 -2
- package/dist/{chunk-WR55H7DH.mjs.map → chunk-O4RZCDP2.mjs.map} +1 -1
- package/dist/{chunk-VYU2FYDE.js → chunk-PM7A5I3X.js} +146 -183
- package/dist/chunk-PM7A5I3X.js.map +1 -0
- package/dist/{chunk-TDNBO3V7.js → chunk-Q7QPHZOV.js} +74 -74
- package/dist/{chunk-TDNBO3V7.js.map → chunk-Q7QPHZOV.js.map} +1 -1
- package/dist/{chunk-OW5LSEHU.mjs → chunk-QEACOJXX.mjs} +74 -74
- package/dist/chunk-QEACOJXX.mjs.map +1 -0
- package/dist/{chunk-N5GQIT7A.mjs → chunk-RMPXGEFL.mjs} +11 -10
- package/dist/chunk-RMPXGEFL.mjs.map +1 -0
- package/dist/{chunk-QSCWV47U.js → chunk-RPNMDGRA.js} +50 -50
- package/dist/chunk-RPNMDGRA.js.map +1 -0
- package/dist/{chunk-5TLKFOEL.mjs → chunk-RSCRIDMW.mjs} +275 -313
- package/dist/chunk-RSCRIDMW.mjs.map +1 -0
- package/dist/{chunk-XGAPZT4J.js → chunk-RUZPOHJW.js} +48 -47
- package/dist/chunk-RUZPOHJW.js.map +1 -0
- package/dist/{chunk-ULKZGM2T.js → chunk-RWZ2PLMQ.js} +177 -177
- package/dist/chunk-RWZ2PLMQ.js.map +1 -0
- package/dist/{chunk-UVFWKDRO.mjs → chunk-SCGICCQM.mjs} +15 -15
- package/dist/chunk-SCGICCQM.mjs.map +1 -0
- package/dist/{chunk-EDI46QA7.mjs → chunk-TRNDFSM6.mjs} +274 -324
- package/dist/chunk-TRNDFSM6.mjs.map +1 -0
- package/dist/{chunk-LRNVB7MO.js → chunk-ULSG4JLR.js} +6 -6
- package/dist/{chunk-LRNVB7MO.js.map → chunk-ULSG4JLR.js.map} +1 -1
- package/dist/{chunk-MFF37C24.js → chunk-UPWJRCAD.js} +445 -483
- package/dist/chunk-UPWJRCAD.js.map +1 -0
- package/dist/{chunk-RBH723MG.mjs → chunk-UUTTS3VV.mjs} +45 -45
- package/dist/chunk-UUTTS3VV.mjs.map +1 -0
- package/dist/{chunk-MYHBXIO2.js → chunk-VCL5LDS5.js} +42 -41
- package/dist/chunk-VCL5LDS5.js.map +1 -0
- package/dist/{chunk-PLTLRL2V.mjs → chunk-VPRAESA7.mjs} +3 -3
- package/dist/{chunk-PLTLRL2V.mjs.map → chunk-VPRAESA7.mjs.map} +1 -1
- package/dist/{chunk-HTODLUKG.js → chunk-VWZ53TE2.js} +12 -12
- package/dist/{chunk-HTODLUKG.js.map → chunk-VWZ53TE2.js.map} +1 -1
- package/dist/{chunk-3VYD7QL2.mjs → chunk-WX44DAQD.mjs} +9 -9
- package/dist/chunk-WX44DAQD.mjs.map +1 -0
- package/dist/{chunk-DJ33CSGJ.mjs → chunk-XYMHIZ3K.mjs} +5 -33
- package/dist/chunk-XYMHIZ3K.mjs.map +1 -0
- package/dist/{chunk-YXN2K77G.js → chunk-Y5VN4SPH.js} +26 -3
- package/dist/chunk-Y5VN4SPH.js.map +1 -0
- package/dist/{chunk-NQGLSM46.mjs → chunk-Y65X2NHF.mjs} +4 -4
- package/dist/{chunk-NQGLSM46.mjs.map → chunk-Y65X2NHF.mjs.map} +1 -1
- package/dist/{chunk-YYNGXKUE.mjs → chunk-YHD6SJIN.mjs} +15 -15
- package/dist/{chunk-YYNGXKUE.mjs.map → chunk-YHD6SJIN.mjs.map} +1 -1
- package/dist/{chunk-7VJ7CMMT.mjs → chunk-ZEFNBGYI.mjs} +26 -3
- package/dist/chunk-ZEFNBGYI.mjs.map +1 -0
- package/dist/{chunk-WLNY3GVM.mjs → chunk-ZPV7X4ZE.mjs} +7 -7
- package/dist/{chunk-WLNY3GVM.mjs.map → chunk-ZPV7X4ZE.mjs.map} +1 -1
- package/dist/index.js +709 -709
- package/dist/index.mjs +3 -3
- package/dist/lib/i18n-context.d.mts +12 -4
- package/dist/lib/i18n-context.d.ts +12 -4
- package/dist/lib/i18n-context.js +6 -6
- package/dist/lib/i18n-context.mjs +1 -1
- package/dist/platform/admin/index.js +12 -12
- package/dist/platform/admin/index.mjs +6 -6
- package/dist/platform/agents-workspace.js +9 -9
- package/dist/platform/agents-workspace.mjs +8 -8
- package/dist/platform/app-shell.js +5 -5
- package/dist/platform/app-shell.mjs +4 -4
- package/dist/platform/auth/index.js +29 -29
- package/dist/platform/auth/index.mjs +6 -6
- package/dist/platform/billing/index.js +7 -7
- package/dist/platform/billing/index.mjs +5 -5
- package/dist/platform/impersonation/index.js +5 -5
- package/dist/platform/impersonation/index.mjs +4 -4
- package/dist/platform/index.d.mts +1 -1
- package/dist/platform/index.d.ts +1 -1
- package/dist/platform/index.js +112 -112
- package/dist/platform/index.js.map +1 -1
- package/dist/platform/index.mjs +30 -30
- package/dist/platform/index.mjs.map +1 -1
- package/dist/platform/pages/index.d.mts +12 -2
- package/dist/platform/pages/index.d.ts +12 -2
- package/dist/platform/pages/index.js +451 -450
- package/dist/platform/pages/index.js.map +1 -1
- package/dist/platform/pages/index.mjs +51 -50
- package/dist/platform/pages/index.mjs.map +1 -1
- package/dist/platform/settings/index.js +9 -9
- package/dist/platform/settings/index.mjs +8 -8
- package/dist/platform/workflow-canvas-shell.js +7 -7
- package/dist/platform/workflow-canvas-shell.mjs +6 -6
- package/package.json +2 -1
- package/dist/chunk-3VYD7QL2.mjs.map +0 -1
- package/dist/chunk-5TLKFOEL.mjs.map +0 -1
- package/dist/chunk-7VJ7CMMT.mjs.map +0 -1
- package/dist/chunk-DJ33CSGJ.mjs.map +0 -1
- package/dist/chunk-EDI46QA7.mjs.map +0 -1
- package/dist/chunk-FKRIQYRG.js.map +0 -1
- package/dist/chunk-ID55ABBB.js.map +0 -1
- package/dist/chunk-MFF37C24.js.map +0 -1
- package/dist/chunk-MYHBXIO2.js.map +0 -1
- package/dist/chunk-N5GQIT7A.mjs.map +0 -1
- package/dist/chunk-NK4H3JWN.mjs.map +0 -1
- package/dist/chunk-OM5NNUD2.mjs.map +0 -1
- package/dist/chunk-OW5LSEHU.mjs.map +0 -1
- package/dist/chunk-P4RVGMZL.js.map +0 -1
- package/dist/chunk-QGLGQXJE.js.map +0 -1
- package/dist/chunk-QSCWV47U.js.map +0 -1
- package/dist/chunk-RBH723MG.mjs.map +0 -1
- package/dist/chunk-ULKZGM2T.js.map +0 -1
- package/dist/chunk-UVFWKDRO.mjs.map +0 -1
- package/dist/chunk-VYU2FYDE.js.map +0 -1
- package/dist/chunk-XGAPZT4J.js.map +0 -1
- package/dist/chunk-YXN2K77G.js.map +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { adaptWorkflowGraphToUi, formatDurationMs } from '../../chunk-UQXVCVAN.mjs';
|
|
3
|
-
import { WorkflowWorkspace } from '../../chunk-
|
|
4
|
-
export { RolesPageView, UsersPageView } from '../../chunk-
|
|
5
|
-
import { DIALECT_CATEGORIES, DatasourceModal, findDialect, findCategory } from '../../chunk-
|
|
6
|
-
export { DIALECT_CATEGORIES, DatasourceFormModal, DatasourceModal, findCategory, findDialect } from '../../chunk-
|
|
7
|
-
import { defaultRuleForm, RuleForm, ExecutionTimelinePanel, defaultRuleCondition, defaultRuleAction, RuleConditionBuilder, RuleActionBuilder } from '../../chunk-
|
|
3
|
+
import { WorkflowWorkspace } from '../../chunk-4VEQJAXJ.mjs';
|
|
4
|
+
export { RolesPageView, UsersPageView } from '../../chunk-4VEQJAXJ.mjs';
|
|
5
|
+
import { DIALECT_CATEGORIES, DatasourceModal, findDialect, findCategory } from '../../chunk-4MNKVDTJ.mjs';
|
|
6
|
+
export { DIALECT_CATEGORIES, DatasourceFormModal, DatasourceModal, findCategory, findDialect } from '../../chunk-4MNKVDTJ.mjs';
|
|
7
|
+
import { defaultRuleForm, RuleForm, ExecutionTimelinePanel, defaultRuleCondition, defaultRuleAction, RuleConditionBuilder, RuleActionBuilder } from '../../chunk-RSCRIDMW.mjs';
|
|
8
8
|
import '../../chunk-JB6RNAD2.mjs';
|
|
9
9
|
import '../../chunk-LEXBTVGM.mjs';
|
|
10
|
-
import '../../chunk-
|
|
11
|
-
import { HeroSection, SearchBar, FormSection, ChipPicker, PageLoadingState, PageEmptyState, EntityCard, CreateActionButton, GlassModal, FormGrid, FormSelect, FormInput, FormTextarea, SectionHeader, Text, Form, FormActionsRow, Table, TableHead, TableRow, TableHeader, TableBody, TableCell, InlineForm, CopyableId, ListCard, ListCardItem, Avatar, SectionCard, Tabs, TabsList, TabsTrigger, TabsContent, StepIndicator, FilterTileButton, FormToggle, Spinner, StatusBadge, FormCheckbox, SegmentedControl, DatePicker, TimePicker } from '../../chunk-
|
|
10
|
+
import '../../chunk-TRNDFSM6.mjs';
|
|
11
|
+
import { HeroSection, SearchBar, FormSection, ChipPicker, PageLoadingState, PageEmptyState, EntityCard, CreateActionButton, GlassModal, FormGrid, FormSelect, FormInput, FormTextarea, SectionHeader, Text, Form, FormActionsRow, Table, TableHead, TableRow, TableHeader, TableBody, TableCell, InlineForm, CopyableId, ListCard, ListCardItem, Avatar, SectionCard, Tabs, TabsList, TabsTrigger, TabsContent, StepIndicator, FilterTileButton, FormToggle, Spinner, StatusBadge, FormCheckbox, SegmentedControl, DatePicker, TimePicker } from '../../chunk-QEACOJXX.mjs';
|
|
12
|
+
import '../../chunk-ZEFNBGYI.mjs';
|
|
12
13
|
import '../../chunk-NBW6WJQT.mjs';
|
|
13
14
|
import '../../chunk-3AY5HIQ6.mjs';
|
|
14
|
-
import '../../chunk-
|
|
15
|
-
import '../../chunk-
|
|
16
|
-
import { Button, Badge } from '../../chunk-WR55H7DH.mjs';
|
|
15
|
+
import '../../chunk-VPRAESA7.mjs';
|
|
16
|
+
import { Button, Badge } from '../../chunk-O4RZCDP2.mjs';
|
|
17
17
|
import '../../chunk-D2JF6C3E.mjs';
|
|
18
18
|
import { useLink } from '../../chunk-QWG2FMUN.mjs';
|
|
19
19
|
import '../../chunk-G7JQ4OCE.mjs';
|
|
@@ -1232,7 +1232,7 @@ function setFromJson(set, key, raw) {
|
|
|
1232
1232
|
set(key, raw);
|
|
1233
1233
|
}
|
|
1234
1234
|
}
|
|
1235
|
-
function RulesPageView({ labels, rules, loading, onCreate, onUpdate, onDelete }) {
|
|
1235
|
+
function RulesPageView({ labels, rules, loading, onCreate, onUpdate, onDelete, onAddClick }) {
|
|
1236
1236
|
const [createOpen, setCreateOpen] = useState(false);
|
|
1237
1237
|
const [editing, setEditing] = useState(null);
|
|
1238
1238
|
const [searchTerm, setSearchTerm] = useState("");
|
|
@@ -1318,7 +1318,7 @@ function RulesPageView({ labels, rules, loading, onCreate, onUpdate, onDelete })
|
|
|
1318
1318
|
{
|
|
1319
1319
|
mode: "desktop",
|
|
1320
1320
|
label: labels.addRule,
|
|
1321
|
-
onClick: () => setCreateOpen(true),
|
|
1321
|
+
onClick: onAddClick ?? (() => setCreateOpen(true)),
|
|
1322
1322
|
accent: "fuchsia"
|
|
1323
1323
|
}
|
|
1324
1324
|
)
|
|
@@ -1329,7 +1329,7 @@ function RulesPageView({ labels, rules, loading, onCreate, onUpdate, onDelete })
|
|
|
1329
1329
|
{
|
|
1330
1330
|
mode: "mobile",
|
|
1331
1331
|
label: labels.addRule,
|
|
1332
|
-
onClick: () => setCreateOpen(true),
|
|
1332
|
+
onClick: onAddClick ?? (() => setCreateOpen(true)),
|
|
1333
1333
|
accent: "fuchsia"
|
|
1334
1334
|
}
|
|
1335
1335
|
);
|
|
@@ -1605,7 +1605,8 @@ function DatasourcesPageView({
|
|
|
1605
1605
|
labels,
|
|
1606
1606
|
datasources: externalDatasources,
|
|
1607
1607
|
useSampleData = false,
|
|
1608
|
-
onCreate
|
|
1608
|
+
onCreate,
|
|
1609
|
+
onAddClick
|
|
1609
1610
|
}) {
|
|
1610
1611
|
const [modalOpen, setModalOpen] = useState(false);
|
|
1611
1612
|
const [localDatasources, setLocalDatasources] = useState(
|
|
@@ -1748,7 +1749,7 @@ function DatasourcesPageView({
|
|
|
1748
1749
|
{
|
|
1749
1750
|
mode: "desktop",
|
|
1750
1751
|
label: labels.addDatasource,
|
|
1751
|
-
onClick: () => setModalOpen(true),
|
|
1752
|
+
onClick: onAddClick ?? (() => setModalOpen(true)),
|
|
1752
1753
|
accent: "amber"
|
|
1753
1754
|
}
|
|
1754
1755
|
)
|
|
@@ -1759,7 +1760,7 @@ function DatasourcesPageView({
|
|
|
1759
1760
|
{
|
|
1760
1761
|
mode: "mobile",
|
|
1761
1762
|
label: labels.addDatasource,
|
|
1762
|
-
onClick: () => setModalOpen(true),
|
|
1763
|
+
onClick: onAddClick ?? (() => setModalOpen(true)),
|
|
1763
1764
|
accent: "amber"
|
|
1764
1765
|
}
|
|
1765
1766
|
),
|
|
@@ -2296,7 +2297,7 @@ function ConnectionsPageView({
|
|
|
2296
2297
|
{
|
|
2297
2298
|
mode: "mobile",
|
|
2298
2299
|
label: labels.add,
|
|
2299
|
-
onClick:
|
|
2300
|
+
onClick: openCreate,
|
|
2300
2301
|
accent: "sky"
|
|
2301
2302
|
}
|
|
2302
2303
|
);
|
|
@@ -3438,11 +3439,11 @@ function RangeSliderField({
|
|
|
3438
3439
|
const ariaText = activeZone ? `${displayValue} \u2014 ${activeZone.label}` : displayValue;
|
|
3439
3440
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
3440
3441
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
|
|
3441
|
-
/* @__PURE__ */ jsx("label", { htmlFor: sliderId, className: "text-xs font-medium text-
|
|
3442
|
-
/* @__PURE__ */ jsx("span", { className: "text-sm font-bold tabular-nums text-
|
|
3442
|
+
/* @__PURE__ */ jsx("label", { htmlFor: sliderId, className: "text-xs font-medium text-slate-500 dark:text-slate-400", children: label }),
|
|
3443
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-bold tabular-nums text-slate-900 dark:text-white", children: displayValue })
|
|
3443
3444
|
] }),
|
|
3444
3445
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
3445
|
-
/* @__PURE__ */ jsx("div", { className: "absolute inset-x-0 top-1/2 h-2 -translate-y-1/2 overflow-hidden rounded-full bg-
|
|
3446
|
+
/* @__PURE__ */ jsx("div", { className: "absolute inset-x-0 top-1/2 h-2 -translate-y-1/2 overflow-hidden rounded-full bg-slate-200 dark:bg-slate-700", children: /* @__PURE__ */ jsx(
|
|
3446
3447
|
"div",
|
|
3447
3448
|
{
|
|
3448
3449
|
className: "h-full rounded-full transition-all duration-300 ease-out motion-reduce:transition-none",
|
|
@@ -3468,7 +3469,7 @@ function RangeSliderField({
|
|
|
3468
3469
|
"aria-valuemax": max,
|
|
3469
3470
|
"aria-valuenow": value,
|
|
3470
3471
|
"aria-valuetext": ariaText,
|
|
3471
|
-
className: "relative z-10 h-5 w-full cursor-pointer appearance-none bg-transparent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 [&::-webkit-slider-thumb]:h-5 [&::-webkit-slider-thumb]:w-5 [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:border-2 [&::-webkit-slider-thumb]:border-white [&::-webkit-slider-thumb]:shadow-lg dark:[&::-webkit-slider-thumb]:border-
|
|
3472
|
+
className: "relative z-10 h-5 w-full cursor-pointer appearance-none bg-transparent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 [&::-webkit-slider-thumb]:h-5 [&::-webkit-slider-thumb]:w-5 [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:border-2 [&::-webkit-slider-thumb]:border-white [&::-webkit-slider-thumb]:shadow-lg dark:[&::-webkit-slider-thumb]:border-slate-900"
|
|
3472
3473
|
}
|
|
3473
3474
|
),
|
|
3474
3475
|
/* @__PURE__ */ jsx("style", { children: `[data-slider-id="${sliderId}"]::-webkit-slider-thumb { background: ${thumbColor}; box-shadow: 0 0 8px ${glow}; } [data-slider-id="${sliderId}"]::-moz-range-thumb { background: ${thumbColor}; border: 2px solid white; box-shadow: 0 0 8px ${glow}; }` })
|
|
@@ -3478,7 +3479,7 @@ function RangeSliderField({
|
|
|
3478
3479
|
return /* @__PURE__ */ jsx(
|
|
3479
3480
|
"span",
|
|
3480
3481
|
{
|
|
3481
|
-
className: `text-[10px] font-medium transition-colors motion-reduce:transition-none ${isActive ? z.color : "text-
|
|
3482
|
+
className: `text-[10px] font-medium transition-colors motion-reduce:transition-none ${isActive ? z.color : "text-slate-400 dark:text-slate-500"}`,
|
|
3482
3483
|
children: z.label
|
|
3483
3484
|
},
|
|
3484
3485
|
z.label
|
|
@@ -3879,8 +3880,8 @@ function AgentNewWizardPageView({
|
|
|
3879
3880
|
children: /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
3880
3881
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
3881
3882
|
/* @__PURE__ */ jsxs("div", { className: "mb-1 flex items-center justify-between", children: [
|
|
3882
|
-
/* @__PURE__ */ jsx("label", { htmlFor: "wizard-system-prompt", className: "text-xs font-medium text-
|
|
3883
|
-
/* @__PURE__ */ jsxs("span", { className: "text-[10px] text-
|
|
3883
|
+
/* @__PURE__ */ jsx("label", { htmlFor: "wizard-system-prompt", className: "text-xs font-medium text-slate-500 dark:text-slate-400", children: labels.promptSystemPrompt }),
|
|
3884
|
+
/* @__PURE__ */ jsxs("span", { className: "text-[10px] text-slate-400 dark:text-slate-500", children: [
|
|
3884
3885
|
systemPrompt.length,
|
|
3885
3886
|
" chars"
|
|
3886
3887
|
] })
|
|
@@ -3895,15 +3896,15 @@ function AgentNewWizardPageView({
|
|
|
3895
3896
|
markTouched();
|
|
3896
3897
|
},
|
|
3897
3898
|
rows: 8,
|
|
3898
|
-
className: "w-full resize-y rounded-lg border border-
|
|
3899
|
+
className: "w-full resize-y rounded-lg bg-white/40 dark:bg-white/[0.04] backdrop-blur-sm border border-slate-200/50 dark:border-white/10 px-3 py-2.5 font-mono text-xs leading-relaxed text-slate-700 outline-none transition-colors placeholder:text-slate-400 focus:ring-indigo-500/70 focus:ring-offset-1 motion-reduce:transition-none dark:text-slate-300 dark:placeholder:text-slate-500",
|
|
3899
3900
|
placeholder: labels.promptPlaceholder
|
|
3900
3901
|
}
|
|
3901
3902
|
)
|
|
3902
3903
|
] }),
|
|
3903
3904
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
3904
3905
|
/* @__PURE__ */ jsxs("div", { className: "mb-1 flex items-center justify-between", children: [
|
|
3905
|
-
/* @__PURE__ */ jsx("label", { htmlFor: "wizard-user-prompt", className: "text-xs font-medium text-
|
|
3906
|
-
/* @__PURE__ */ jsxs("span", { className: "text-[10px] text-
|
|
3906
|
+
/* @__PURE__ */ jsx("label", { htmlFor: "wizard-user-prompt", className: "text-xs font-medium text-slate-500 dark:text-slate-400", children: labels.userPromptLabel }),
|
|
3907
|
+
/* @__PURE__ */ jsxs("span", { className: "text-[10px] text-slate-400 dark:text-slate-500", children: [
|
|
3907
3908
|
userPrompt.length,
|
|
3908
3909
|
" chars"
|
|
3909
3910
|
] })
|
|
@@ -3918,7 +3919,7 @@ function AgentNewWizardPageView({
|
|
|
3918
3919
|
markTouched();
|
|
3919
3920
|
},
|
|
3920
3921
|
rows: 5,
|
|
3921
|
-
className: "w-full resize-y rounded-lg border border-
|
|
3922
|
+
className: "w-full resize-y rounded-lg bg-white/40 dark:bg-white/[0.04] backdrop-blur-sm border border-slate-200/50 dark:border-white/10 px-3 py-2.5 font-mono text-xs leading-relaxed text-slate-700 outline-none transition-colors placeholder:text-slate-400 focus:ring-indigo-500/70 focus:ring-offset-1 motion-reduce:transition-none dark:text-slate-300 dark:placeholder:text-slate-500",
|
|
3922
3923
|
placeholder: labels.userPromptPlaceholder
|
|
3923
3924
|
}
|
|
3924
3925
|
)
|
|
@@ -3987,8 +3988,8 @@ function AgentNewWizardPageView({
|
|
|
3987
3988
|
),
|
|
3988
3989
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
3989
3990
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
|
|
3990
|
-
/* @__PURE__ */ jsx("label", { htmlFor: "wizard-max-tokens", className: "text-xs font-medium text-
|
|
3991
|
-
/* @__PURE__ */ jsx("span", { className: "text-sm font-bold tabular-nums text-
|
|
3991
|
+
/* @__PURE__ */ jsx("label", { htmlFor: "wizard-max-tokens", className: "text-xs font-medium text-slate-500 dark:text-slate-400", children: labels.maxTokens }),
|
|
3992
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-bold tabular-nums text-slate-900 dark:text-white", children: maxTokens.toLocaleString() })
|
|
3992
3993
|
] }),
|
|
3993
3994
|
/* @__PURE__ */ jsx(
|
|
3994
3995
|
"input",
|
|
@@ -4003,21 +4004,21 @@ function AgentNewWizardPageView({
|
|
|
4003
4004
|
min: 1,
|
|
4004
4005
|
max: 32e3,
|
|
4005
4006
|
step: 1,
|
|
4006
|
-
className: "w-full rounded-lg border border-
|
|
4007
|
+
className: "w-full rounded-lg bg-white/40 dark:bg-white/[0.04] backdrop-blur-sm border border-slate-200/50 dark:border-white/10 px-3 py-2.5 text-sm tabular-nums text-slate-700 outline-none transition-colors focus:ring-indigo-500/70 focus:ring-offset-1 motion-reduce:transition-none dark:text-slate-300"
|
|
4007
4008
|
}
|
|
4008
4009
|
)
|
|
4009
4010
|
] }),
|
|
4010
|
-
/* @__PURE__ */ jsx("div", { className: "overflow-hidden rounded-lg border border-
|
|
4011
|
-
/* @__PURE__ */ jsxs("div", { className: "bg-white/60 px-3 py-2 dark:bg-
|
|
4012
|
-
/* @__PURE__ */ jsx("p", { className: "text-[9px] uppercase tracking-wider text-
|
|
4013
|
-
/* @__PURE__ */ jsx("p", { className: "truncate text-xs font-semibold text-
|
|
4011
|
+
/* @__PURE__ */ jsx("div", { className: "overflow-hidden rounded-lg border border-slate-200/30 dark:border-white/10", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-3 gap-px bg-slate-200/30 dark:bg-white/10", children: [
|
|
4012
|
+
/* @__PURE__ */ jsxs("div", { className: "bg-white/60 px-3 py-2 dark:bg-slate-900/60", children: [
|
|
4013
|
+
/* @__PURE__ */ jsx("p", { className: "text-[9px] uppercase tracking-wider text-slate-400 dark:text-slate-500", children: labels.model }),
|
|
4014
|
+
/* @__PURE__ */ jsx("p", { className: "truncate text-xs font-semibold text-slate-900 dark:text-white", children: matchingModels.find((m) => m.id === modelId)?.name ?? labels.modelEmpty })
|
|
4014
4015
|
] }),
|
|
4015
|
-
/* @__PURE__ */ jsxs("div", { className: "bg-white/60 px-3 py-2 dark:bg-
|
|
4016
|
-
/* @__PURE__ */ jsx("p", { className: "text-[9px] uppercase tracking-wider text-
|
|
4017
|
-
/* @__PURE__ */ jsx("p", { className: "text-xs font-semibold text-
|
|
4016
|
+
/* @__PURE__ */ jsxs("div", { className: "bg-white/60 px-3 py-2 dark:bg-slate-900/60", children: [
|
|
4017
|
+
/* @__PURE__ */ jsx("p", { className: "text-[9px] uppercase tracking-wider text-slate-400 dark:text-slate-500", children: labels.maxTokens }),
|
|
4018
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs font-semibold text-slate-900 dark:text-white", children: maxTokens.toLocaleString() })
|
|
4018
4019
|
] }),
|
|
4019
|
-
/* @__PURE__ */ jsxs("div", { className: "bg-white/60 px-3 py-2 dark:bg-
|
|
4020
|
-
/* @__PURE__ */ jsx("p", { className: "text-[9px] uppercase tracking-wider text-
|
|
4020
|
+
/* @__PURE__ */ jsxs("div", { className: "bg-white/60 px-3 py-2 dark:bg-slate-900/60", children: [
|
|
4021
|
+
/* @__PURE__ */ jsx("p", { className: "text-[9px] uppercase tracking-wider text-slate-400 dark:text-slate-500", children: labels.temperature }),
|
|
4021
4022
|
/* @__PURE__ */ jsxs("p", { className: `text-xs font-semibold ${temperature <= 0.3 ? "text-blue-500" : temperature <= 0.7 ? "text-purple-500" : "text-pink-500"}`, children: [
|
|
4022
4023
|
temperature.toFixed(2),
|
|
4023
4024
|
" \xB7 ",
|
|
@@ -4176,7 +4177,7 @@ function AgentNewWizardPageView({
|
|
|
4176
4177
|
/* @__PURE__ */ jsx(ReviewRow, { label: labels.maxTokens, value: maxTokens.toLocaleString() })
|
|
4177
4178
|
] }),
|
|
4178
4179
|
systemPrompt && /* @__PURE__ */ jsxs("div", { className: "mt-3", children: [
|
|
4179
|
-
/* @__PURE__ */ jsx("p", { className: "text-[10px] uppercase tracking-wider text-
|
|
4180
|
+
/* @__PURE__ */ jsx("p", { className: "text-[10px] uppercase tracking-wider text-slate-400 dark:text-slate-500", children: labels.promptSystemPrompt }),
|
|
4180
4181
|
/* @__PURE__ */ jsx("pre", { className: "mt-1 line-clamp-4 whitespace-pre-wrap rounded-lg border border-slate-200/70 bg-slate-50/60 p-2 text-xs text-slate-700 dark:border-slate-700 dark:bg-slate-900/40 dark:text-slate-200", children: systemPrompt })
|
|
4181
4182
|
] })
|
|
4182
4183
|
]
|
|
@@ -4215,8 +4216,8 @@ function AgentNewWizardPageView({
|
|
|
4215
4216
|
}
|
|
4216
4217
|
function ReviewRow({ label, value }) {
|
|
4217
4218
|
return /* @__PURE__ */ jsxs("div", { className: "rounded-lg border border-slate-200/60 bg-white/40 px-3 py-2 dark:border-white/10 dark:bg-white/[0.04]", children: [
|
|
4218
|
-
/* @__PURE__ */ jsx("dt", { className: "text-[10px] uppercase tracking-wider text-
|
|
4219
|
-
/* @__PURE__ */ jsx("dd", { className: "mt-0.5 truncate text-xs font-semibold text-
|
|
4219
|
+
/* @__PURE__ */ jsx("dt", { className: "text-[10px] uppercase tracking-wider text-slate-400 dark:text-slate-500", children: label }),
|
|
4220
|
+
/* @__PURE__ */ jsx("dd", { className: "mt-0.5 truncate text-xs font-semibold text-slate-900 dark:text-white", children: value })
|
|
4220
4221
|
] });
|
|
4221
4222
|
}
|
|
4222
4223
|
var DIALECT_LOGO_SRC = {
|
|
@@ -5122,11 +5123,11 @@ function RangeSliderField2({
|
|
|
5122
5123
|
const ariaText = activeZone ? `${displayValue} \u2014 ${activeZone.label}` : displayValue;
|
|
5123
5124
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
5124
5125
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
|
|
5125
|
-
/* @__PURE__ */ jsx("label", { htmlFor: sliderId, className: "text-xs font-medium text-
|
|
5126
|
-
/* @__PURE__ */ jsx("span", { className: "text-sm font-bold tabular-nums text-
|
|
5126
|
+
/* @__PURE__ */ jsx("label", { htmlFor: sliderId, className: "text-xs font-medium text-slate-500 dark:text-slate-400", children: label }),
|
|
5127
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-bold tabular-nums text-slate-900 dark:text-white", children: displayValue })
|
|
5127
5128
|
] }),
|
|
5128
5129
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
5129
|
-
/* @__PURE__ */ jsx("div", { className: "absolute inset-x-0 top-1/2 h-2 -translate-y-1/2 overflow-hidden rounded-full bg-
|
|
5130
|
+
/* @__PURE__ */ jsx("div", { className: "absolute inset-x-0 top-1/2 h-2 -translate-y-1/2 overflow-hidden rounded-full bg-slate-200 dark:bg-slate-700", children: /* @__PURE__ */ jsx(
|
|
5130
5131
|
"div",
|
|
5131
5132
|
{
|
|
5132
5133
|
className: "h-full rounded-full transition-all duration-300 ease-out motion-reduce:transition-none",
|
|
@@ -5152,7 +5153,7 @@ function RangeSliderField2({
|
|
|
5152
5153
|
"aria-valuemax": max,
|
|
5153
5154
|
"aria-valuenow": value,
|
|
5154
5155
|
"aria-valuetext": ariaText,
|
|
5155
|
-
className: "relative z-10 h-5 w-full cursor-pointer appearance-none bg-transparent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500 focus-visible:ring-offset-2 [&::-webkit-slider-thumb]:h-5 [&::-webkit-slider-thumb]:w-5 [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:border-2 [&::-webkit-slider-thumb]:border-white [&::-webkit-slider-thumb]:shadow-lg dark:[&::-webkit-slider-thumb]:border-
|
|
5156
|
+
className: "relative z-10 h-5 w-full cursor-pointer appearance-none bg-transparent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500/70 focus-visible:ring-offset-2 [&::-webkit-slider-thumb]:h-5 [&::-webkit-slider-thumb]:w-5 [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:border-2 [&::-webkit-slider-thumb]:border-white [&::-webkit-slider-thumb]:shadow-lg dark:[&::-webkit-slider-thumb]:border-slate-900"
|
|
5156
5157
|
}
|
|
5157
5158
|
),
|
|
5158
5159
|
/* @__PURE__ */ jsx("style", { children: `[data-slider-id="${sliderId}"]::-webkit-slider-thumb { background: ${thumbColor}; box-shadow: 0 0 8px ${glow}; } [data-slider-id="${sliderId}"]::-moz-range-thumb { background: ${thumbColor}; border: 2px solid white; box-shadow: 0 0 8px ${glow}; }` })
|
|
@@ -5162,7 +5163,7 @@ function RangeSliderField2({
|
|
|
5162
5163
|
return /* @__PURE__ */ jsx(
|
|
5163
5164
|
"span",
|
|
5164
5165
|
{
|
|
5165
|
-
className: `text-[10px] font-medium transition-colors motion-reduce:transition-none ${isActive ? z.color : "text-
|
|
5166
|
+
className: `text-[10px] font-medium transition-colors motion-reduce:transition-none ${isActive ? z.color : "text-slate-400 dark:text-slate-500"}`,
|
|
5166
5167
|
children: z.label
|
|
5167
5168
|
},
|
|
5168
5169
|
z.label
|
|
@@ -5893,8 +5894,8 @@ function RuleNewWizardPageView({
|
|
|
5893
5894
|
}
|
|
5894
5895
|
function ReviewRow3({ label, value }) {
|
|
5895
5896
|
return /* @__PURE__ */ jsxs("div", { className: "rounded-lg border border-slate-200/60 bg-white/40 px-3 py-2 dark:border-white/10 dark:bg-white/[0.04]", children: [
|
|
5896
|
-
/* @__PURE__ */ jsx("dt", { className: "text-[10px] uppercase tracking-wider text-
|
|
5897
|
-
/* @__PURE__ */ jsx("dd", { className: "mt-0.5 whitespace-pre-wrap break-words text-xs font-semibold text-
|
|
5897
|
+
/* @__PURE__ */ jsx("dt", { className: "text-[10px] uppercase tracking-wider text-slate-400 dark:text-slate-500", children: label }),
|
|
5898
|
+
/* @__PURE__ */ jsx("dd", { className: "mt-0.5 whitespace-pre-wrap break-words text-xs font-semibold text-slate-900 dark:text-white", children: value })
|
|
5898
5899
|
] });
|
|
5899
5900
|
}
|
|
5900
5901
|
function pad(n) {
|