@burdenoff/microfe-bigconsole 2026.624.2 → 2026.625.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/bigconsole/BigConsoleRoutes.js +93 -93
- package/dist/bigconsole/assistant/assistantApi.js +215 -0
- package/dist/bigconsole/assistant/assistantApi.js.map +1 -0
- package/dist/bigconsole/assistant/createSandboxAssistantTransport.js +119 -0
- package/dist/bigconsole/assistant/createSandboxAssistantTransport.js.map +1 -0
- package/dist/bigconsole/assistant/index.js +2 -0
- package/dist/bigconsole/assistant/pageContext.js +51 -0
- package/dist/bigconsole/assistant/pageContext.js.map +1 -0
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +48 -48
- package/dist/bigconsole/components/dashboard/DashboardToolbar.js +52 -52
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js.map +1 -1
- package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js +33 -33
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +179 -179
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js.map +1 -1
- package/dist/bigconsole/components/dashboard/WidgetPalette.js +38 -38
- package/dist/bigconsole/components/datasink/DataSinkTableViewer.js +32 -32
- package/dist/bigconsole/components/datasink/ExportDataSinkDialog.js +31 -31
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +98 -98
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js.map +1 -1
- package/dist/bigconsole/components/parser/ExportParserDialog.js +31 -31
- package/dist/bigconsole/components/parser/ImportParserDialog.js +162 -162
- package/dist/bigconsole/components/parser/ImportParserDialog.js.map +1 -1
- package/dist/bigconsole/components/widgets/ActionConfigDialog.js +79 -79
- package/dist/bigconsole/components/widgets/ActionConfigDialog.js.map +1 -1
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js.map +1 -1
- package/dist/bigconsole/components/widgets/PropertiesPanel.js +307 -307
- package/dist/bigconsole/components/widgets/PropertiesPanel.js.map +1 -1
- package/dist/bigconsole/components/widgets/WidgetConfigDialog.js +222 -222
- package/dist/bigconsole/components/widgets/WidgetConfigDialog.js.map +1 -1
- package/dist/bigconsole/components/widgets/WidgetTypeSelector.js +23 -23
- package/dist/bigconsole/index.js +3 -0
- package/dist/bigconsole/pages/DashboardBuilderPage.js +74 -74
- package/dist/bigconsole/pages/DashboardBuilderPage.js.map +1 -1
- package/dist/bigconsole/pages/DashboardViewPage.js +168 -189
- package/dist/bigconsole/pages/DashboardViewPage.js.map +1 -1
- package/dist/bigconsole/pages/DashboardsPage.js +266 -310
- package/dist/bigconsole/pages/DashboardsPage.js.map +1 -1
- package/dist/bigconsole/pages/DataParsersPage.js +148 -194
- package/dist/bigconsole/pages/DataParsersPage.js.map +1 -1
- package/dist/bigconsole/pages/DataSinkBuilderPage.js +252 -246
- package/dist/bigconsole/pages/DataSinkBuilderPage.js.map +1 -1
- package/dist/bigconsole/pages/DataSinkViewPage.js +256 -231
- package/dist/bigconsole/pages/DataSinkViewPage.js.map +1 -1
- package/dist/bigconsole/pages/DataSinksPage.js +173 -219
- package/dist/bigconsole/pages/DataSinksPage.js.map +1 -1
- package/dist/bigconsole/pages/HomePage.js +125 -141
- package/dist/bigconsole/pages/HomePage.js.map +1 -1
- package/dist/bigconsole/pages/InsightsPage.js +159 -184
- package/dist/bigconsole/pages/InsightsPage.js.map +1 -1
- package/dist/bigconsole/pages/ParserBuilderPage.js +401 -393
- package/dist/bigconsole/pages/ParserBuilderPage.js.map +1 -1
- package/dist/bigconsole/pages/ParserViewPage.js +220 -201
- package/dist/bigconsole/pages/ParserViewPage.js.map +1 -1
- package/dist/bigconsole/pages/PipelineBuilderPage.js +212 -206
- package/dist/bigconsole/pages/PipelineBuilderPage.js.map +1 -1
- package/dist/bigconsole/pages/PipelineViewPage.js +204 -181
- package/dist/bigconsole/pages/PipelineViewPage.js.map +1 -1
- package/dist/bigconsole/pages/PipelinesPage.js +107 -150
- package/dist/bigconsole/pages/PipelinesPage.js.map +1 -1
- package/dist/bigconsole/pages/SettingsPage.js +184 -171
- package/dist/bigconsole/pages/SettingsPage.js.map +1 -1
- package/dist/bigconsole/pages/WidgetDemoPage.js +69 -81
- package/dist/bigconsole/pages/WidgetDemoPage.js.map +1 -1
- package/dist/bigconsole/pages/WorkflowViewPage.js +230 -216
- package/dist/bigconsole/pages/WorkflowViewPage.js.map +1 -1
- package/dist/bigconsole/pages/WorkflowsPage.js +106 -149
- package/dist/bigconsole/pages/WorkflowsPage.js.map +1 -1
- package/dist/generated/wspace-operations.js +87 -36
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/index.js +3 -1
- package/package.json +6 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { memo as e, useCallback as t, useEffect as n, useRef as r, useState as i } from "react";
|
|
2
2
|
import { Pencil as a, Plus as o, Zap as s } from "lucide-react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Button as c, Checkbox as l, Dialog as ee, DialogContent as te, DialogDescription as u, DialogFooter as ne, DialogHeader as re, DialogTitle as ie, Input as d, Select as f, SelectContent as p, SelectItem as m, SelectTrigger as h, SelectValue as g, Spinner as ae, Textarea as _ } from "@burdenoff/fe-libs/ui";
|
|
4
|
+
import { jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
5
5
|
//#region src/bigconsole/components/widgets/ActionConfigDialog.tsx
|
|
6
|
-
var
|
|
6
|
+
var oe = [
|
|
7
7
|
{
|
|
8
8
|
value: "BUTTON",
|
|
9
9
|
label: "Button"
|
|
@@ -20,7 +20,7 @@ var ae = [
|
|
|
20
20
|
value: "CUSTOM",
|
|
21
21
|
label: "Custom"
|
|
22
22
|
}
|
|
23
|
-
],
|
|
23
|
+
], b = [
|
|
24
24
|
{
|
|
25
25
|
value: "PRIMARY",
|
|
26
26
|
label: "Primary",
|
|
@@ -46,7 +46,7 @@ var ae = [
|
|
|
46
46
|
label: "Danger",
|
|
47
47
|
color: "var(--color-action-danger-bg)"
|
|
48
48
|
}
|
|
49
|
-
],
|
|
49
|
+
], x = [
|
|
50
50
|
{
|
|
51
51
|
value: "",
|
|
52
52
|
label: "No icon"
|
|
@@ -162,23 +162,23 @@ var ae = [
|
|
|
162
162
|
S,
|
|
163
163
|
T
|
|
164
164
|
]);
|
|
165
|
-
return /* @__PURE__ */
|
|
165
|
+
return /* @__PURE__ */ v(ee, {
|
|
166
166
|
open: e,
|
|
167
167
|
onOpenChange: (e) => !e && !C && w(),
|
|
168
|
-
children: /* @__PURE__ */
|
|
168
|
+
children: /* @__PURE__ */ y(te, {
|
|
169
169
|
style: {
|
|
170
170
|
maxWidth: "500px",
|
|
171
171
|
padding: 0
|
|
172
172
|
},
|
|
173
|
-
children: [/* @__PURE__ */
|
|
173
|
+
children: [/* @__PURE__ */ v(re, {
|
|
174
174
|
style: { padding: "var(--space-pagePadding) var(--space-pagePadding) 0" },
|
|
175
|
-
children: /* @__PURE__ */
|
|
175
|
+
children: /* @__PURE__ */ y("div", {
|
|
176
176
|
style: {
|
|
177
177
|
display: "flex",
|
|
178
178
|
alignItems: "center",
|
|
179
179
|
gap: "var(--space-formGap)"
|
|
180
180
|
},
|
|
181
|
-
children: [/* @__PURE__ */
|
|
181
|
+
children: [/* @__PURE__ */ v("div", {
|
|
182
182
|
style: {
|
|
183
183
|
display: "flex",
|
|
184
184
|
height: "var(--size-controlHeight-lg)",
|
|
@@ -189,12 +189,12 @@ var ae = [
|
|
|
189
189
|
backgroundColor: "var(--color-action-primary-bg)",
|
|
190
190
|
boxShadow: "var(--shadow-elevation-2)"
|
|
191
191
|
},
|
|
192
|
-
children:
|
|
192
|
+
children: v(E ? a : s, { style: {
|
|
193
193
|
height: "var(--size-icon-lg)",
|
|
194
194
|
width: "var(--size-icon-lg)",
|
|
195
195
|
color: "var(--color-action-primary-text)"
|
|
196
196
|
} })
|
|
197
|
-
}), /* @__PURE__ */
|
|
197
|
+
}), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v(ie, {
|
|
198
198
|
style: {
|
|
199
199
|
fontSize: "var(--font-size-heading-h4)",
|
|
200
200
|
fontWeight: "var(--font-weight-bold)",
|
|
@@ -202,7 +202,7 @@ var ae = [
|
|
|
202
202
|
margin: 0
|
|
203
203
|
},
|
|
204
204
|
children: E ? "Edit Action" : "Add Action"
|
|
205
|
-
}), /* @__PURE__ */
|
|
205
|
+
}), /* @__PURE__ */ v(u, {
|
|
206
206
|
style: {
|
|
207
207
|
fontSize: "var(--font-size-body-sm)",
|
|
208
208
|
color: "var(--color-text-secondary)",
|
|
@@ -211,16 +211,16 @@ var ae = [
|
|
|
211
211
|
children: E ? "Update the action configuration" : "Configure a new widget action"
|
|
212
212
|
})] })]
|
|
213
213
|
})
|
|
214
|
-
}), /* @__PURE__ */
|
|
214
|
+
}), /* @__PURE__ */ y("form", {
|
|
215
215
|
onSubmit: se,
|
|
216
|
-
children: [/* @__PURE__ */
|
|
216
|
+
children: [/* @__PURE__ */ y("div", {
|
|
217
217
|
style: {
|
|
218
218
|
padding: "var(--space-pagePadding)",
|
|
219
219
|
maxHeight: "60vh",
|
|
220
220
|
overflowY: "auto"
|
|
221
221
|
},
|
|
222
222
|
children: [
|
|
223
|
-
Q && /* @__PURE__ */
|
|
223
|
+
Q && /* @__PURE__ */ v("div", {
|
|
224
224
|
style: {
|
|
225
225
|
padding: "var(--space-controlGap)",
|
|
226
226
|
backgroundColor: "var(--color-status-error-bgSubtle)",
|
|
@@ -228,7 +228,7 @@ var ae = [
|
|
|
228
228
|
borderRadius: "var(--radius-button)",
|
|
229
229
|
marginBottom: "var(--space-formGap)"
|
|
230
230
|
},
|
|
231
|
-
children: /* @__PURE__ */
|
|
231
|
+
children: /* @__PURE__ */ v("p", {
|
|
232
232
|
style: {
|
|
233
233
|
fontSize: "var(--font-size-body-sm)",
|
|
234
234
|
color: "var(--color-status-error-text)",
|
|
@@ -237,10 +237,10 @@ var ae = [
|
|
|
237
237
|
children: Q
|
|
238
238
|
})
|
|
239
239
|
}),
|
|
240
|
-
/* @__PURE__ */
|
|
240
|
+
/* @__PURE__ */ y("div", {
|
|
241
241
|
style: { marginBottom: "var(--space-formGap)" },
|
|
242
242
|
children: [
|
|
243
|
-
/* @__PURE__ */
|
|
243
|
+
/* @__PURE__ */ y("label", {
|
|
244
244
|
style: {
|
|
245
245
|
display: "block",
|
|
246
246
|
fontSize: "var(--font-size-body-sm)",
|
|
@@ -248,12 +248,12 @@ var ae = [
|
|
|
248
248
|
color: "var(--color-text-primary)",
|
|
249
249
|
marginBottom: "var(--space-controlGap)"
|
|
250
250
|
},
|
|
251
|
-
children: ["Name ", /* @__PURE__ */
|
|
251
|
+
children: ["Name ", /* @__PURE__ */ v("span", {
|
|
252
252
|
style: { color: "var(--color-status-error-text)" },
|
|
253
253
|
children: "*"
|
|
254
254
|
})]
|
|
255
255
|
}),
|
|
256
|
-
/* @__PURE__ */
|
|
256
|
+
/* @__PURE__ */ v(d, {
|
|
257
257
|
ref: D,
|
|
258
258
|
value: O,
|
|
259
259
|
onChange: (e) => {
|
|
@@ -266,7 +266,7 @@ var ae = [
|
|
|
266
266
|
fontSize: "var(--font-size-body-sm)"
|
|
267
267
|
}
|
|
268
268
|
}),
|
|
269
|
-
/* @__PURE__ */
|
|
269
|
+
/* @__PURE__ */ v("p", {
|
|
270
270
|
style: {
|
|
271
271
|
fontSize: "var(--font-size-body-sm)",
|
|
272
272
|
color: "var(--color-text-muted)",
|
|
@@ -276,10 +276,10 @@ var ae = [
|
|
|
276
276
|
})
|
|
277
277
|
]
|
|
278
278
|
}),
|
|
279
|
-
/* @__PURE__ */
|
|
279
|
+
/* @__PURE__ */ y("div", {
|
|
280
280
|
style: { marginBottom: "var(--space-formGap)" },
|
|
281
281
|
children: [
|
|
282
|
-
/* @__PURE__ */
|
|
282
|
+
/* @__PURE__ */ y("label", {
|
|
283
283
|
style: {
|
|
284
284
|
display: "block",
|
|
285
285
|
fontSize: "var(--font-size-body-sm)",
|
|
@@ -287,12 +287,12 @@ var ae = [
|
|
|
287
287
|
color: "var(--color-text-primary)",
|
|
288
288
|
marginBottom: "var(--space-controlGap)"
|
|
289
289
|
},
|
|
290
|
-
children: ["Label ", /* @__PURE__ */
|
|
290
|
+
children: ["Label ", /* @__PURE__ */ v("span", {
|
|
291
291
|
style: { color: "var(--color-status-error-text)" },
|
|
292
292
|
children: "*"
|
|
293
293
|
})]
|
|
294
294
|
}),
|
|
295
|
-
/* @__PURE__ */
|
|
295
|
+
/* @__PURE__ */ v(d, {
|
|
296
296
|
value: A,
|
|
297
297
|
onChange: (e) => j(e.target.value),
|
|
298
298
|
placeholder: "e.g., Refresh Data, Export CSV",
|
|
@@ -302,7 +302,7 @@ var ae = [
|
|
|
302
302
|
fontSize: "var(--font-size-body-sm)"
|
|
303
303
|
}
|
|
304
304
|
}),
|
|
305
|
-
/* @__PURE__ */
|
|
305
|
+
/* @__PURE__ */ v("p", {
|
|
306
306
|
style: {
|
|
307
307
|
fontSize: "var(--font-size-body-sm)",
|
|
308
308
|
color: "var(--color-text-muted)",
|
|
@@ -312,14 +312,14 @@ var ae = [
|
|
|
312
312
|
})
|
|
313
313
|
]
|
|
314
314
|
}),
|
|
315
|
-
/* @__PURE__ */
|
|
315
|
+
/* @__PURE__ */ y("div", {
|
|
316
316
|
style: {
|
|
317
317
|
display: "grid",
|
|
318
318
|
gridTemplateColumns: "1fr 1fr",
|
|
319
319
|
gap: "var(--space-formGap)",
|
|
320
320
|
marginBottom: "var(--space-formGap)"
|
|
321
321
|
},
|
|
322
|
-
children: [/* @__PURE__ */
|
|
322
|
+
children: [/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
|
|
323
323
|
style: {
|
|
324
324
|
display: "block",
|
|
325
325
|
fontSize: "var(--font-size-body-sm)",
|
|
@@ -328,17 +328,17 @@ var ae = [
|
|
|
328
328
|
marginBottom: "var(--space-controlGap)"
|
|
329
329
|
},
|
|
330
330
|
children: "Type"
|
|
331
|
-
}), /* @__PURE__ */
|
|
331
|
+
}), /* @__PURE__ */ y(f, {
|
|
332
332
|
value: M,
|
|
333
333
|
onValueChange: (e) => N(e),
|
|
334
334
|
disabled: C,
|
|
335
|
-
children: [/* @__PURE__ */
|
|
335
|
+
children: [/* @__PURE__ */ v(h, {
|
|
336
336
|
style: {
|
|
337
337
|
height: "var(--size-controlHeight-md)",
|
|
338
338
|
fontSize: "var(--font-size-body-sm)"
|
|
339
339
|
},
|
|
340
|
-
children: /* @__PURE__ */
|
|
341
|
-
}), /* @__PURE__ */
|
|
340
|
+
children: /* @__PURE__ */ v(g, {})
|
|
341
|
+
}), /* @__PURE__ */ v(p, {
|
|
342
342
|
style: {
|
|
343
343
|
zIndex: 9999,
|
|
344
344
|
backgroundColor: "var(--color-overlay-popoverBg, var(--color-bg-surface, #ffffff))",
|
|
@@ -346,12 +346,12 @@ var ae = [
|
|
|
346
346
|
boxShadow: "var(--shadow-elevation-3)",
|
|
347
347
|
borderRadius: "var(--radius-button)"
|
|
348
348
|
},
|
|
349
|
-
children:
|
|
349
|
+
children: oe.map((e) => /* @__PURE__ */ v(m, {
|
|
350
350
|
value: e.value,
|
|
351
351
|
children: e.label
|
|
352
352
|
}, e.value))
|
|
353
353
|
})]
|
|
354
|
-
})] }), /* @__PURE__ */
|
|
354
|
+
})] }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
|
|
355
355
|
style: {
|
|
356
356
|
display: "block",
|
|
357
357
|
fontSize: "var(--font-size-body-sm)",
|
|
@@ -360,17 +360,17 @@ var ae = [
|
|
|
360
360
|
marginBottom: "var(--space-controlGap)"
|
|
361
361
|
},
|
|
362
362
|
children: "Style"
|
|
363
|
-
}), /* @__PURE__ */
|
|
363
|
+
}), /* @__PURE__ */ y(f, {
|
|
364
364
|
value: P,
|
|
365
365
|
onValueChange: (e) => F(e),
|
|
366
366
|
disabled: C,
|
|
367
|
-
children: [/* @__PURE__ */
|
|
367
|
+
children: [/* @__PURE__ */ v(h, {
|
|
368
368
|
style: {
|
|
369
369
|
height: "var(--size-controlHeight-md)",
|
|
370
370
|
fontSize: "var(--font-size-body-sm)"
|
|
371
371
|
},
|
|
372
|
-
children: /* @__PURE__ */
|
|
373
|
-
}), /* @__PURE__ */
|
|
372
|
+
children: /* @__PURE__ */ v(g, {})
|
|
373
|
+
}), /* @__PURE__ */ v(p, {
|
|
374
374
|
style: {
|
|
375
375
|
zIndex: 9999,
|
|
376
376
|
backgroundColor: "var(--color-overlay-popoverBg, var(--color-bg-surface, #ffffff))",
|
|
@@ -378,14 +378,14 @@ var ae = [
|
|
|
378
378
|
boxShadow: "var(--shadow-elevation-3)",
|
|
379
379
|
borderRadius: "var(--radius-button)"
|
|
380
380
|
},
|
|
381
|
-
children:
|
|
381
|
+
children: b.map((e) => /* @__PURE__ */ v(m, {
|
|
382
382
|
value: e.value,
|
|
383
383
|
children: e.label
|
|
384
384
|
}, e.value))
|
|
385
385
|
})]
|
|
386
386
|
})] })]
|
|
387
387
|
}),
|
|
388
|
-
/* @__PURE__ */
|
|
388
|
+
/* @__PURE__ */ y("div", {
|
|
389
389
|
style: {
|
|
390
390
|
display: "flex",
|
|
391
391
|
alignItems: "center",
|
|
@@ -395,20 +395,20 @@ var ae = [
|
|
|
395
395
|
backgroundColor: "var(--color-bg-sunken)",
|
|
396
396
|
borderRadius: "var(--radius-button)"
|
|
397
397
|
},
|
|
398
|
-
children: [/* @__PURE__ */
|
|
398
|
+
children: [/* @__PURE__ */ v("span", {
|
|
399
399
|
style: {
|
|
400
400
|
fontSize: "var(--font-size-body-sm)",
|
|
401
401
|
color: "var(--color-text-muted)"
|
|
402
402
|
},
|
|
403
403
|
children: "Preview:"
|
|
404
|
-
}), /* @__PURE__ */
|
|
404
|
+
}), /* @__PURE__ */ v("button", {
|
|
405
405
|
type: "button",
|
|
406
406
|
style: {
|
|
407
407
|
padding: "var(--space-controlGap) var(--space-formGap)",
|
|
408
408
|
fontSize: "var(--font-size-body-sm)",
|
|
409
409
|
fontWeight: "var(--font-weight-medium)",
|
|
410
410
|
borderRadius: "var(--radius-button)",
|
|
411
|
-
backgroundColor: ((e) =>
|
|
411
|
+
backgroundColor: ((e) => b.find((t) => t.value === e)?.color || "var(--color-action-primary-bg)")(P),
|
|
412
412
|
color: "var(--color-action-primary-text)",
|
|
413
413
|
border: "none",
|
|
414
414
|
cursor: "default"
|
|
@@ -416,9 +416,9 @@ var ae = [
|
|
|
416
416
|
children: A || "Button"
|
|
417
417
|
})]
|
|
418
418
|
}),
|
|
419
|
-
/* @__PURE__ */
|
|
419
|
+
/* @__PURE__ */ y("div", {
|
|
420
420
|
style: { marginBottom: "var(--space-formGap)" },
|
|
421
|
-
children: [/* @__PURE__ */
|
|
421
|
+
children: [/* @__PURE__ */ v("label", {
|
|
422
422
|
style: {
|
|
423
423
|
display: "block",
|
|
424
424
|
fontSize: "var(--font-size-body-sm)",
|
|
@@ -427,17 +427,17 @@ var ae = [
|
|
|
427
427
|
marginBottom: "var(--space-controlGap)"
|
|
428
428
|
},
|
|
429
429
|
children: "Icon"
|
|
430
|
-
}), /* @__PURE__ */
|
|
430
|
+
}), /* @__PURE__ */ y(f, {
|
|
431
431
|
value: I,
|
|
432
432
|
onValueChange: L,
|
|
433
433
|
disabled: C,
|
|
434
|
-
children: [/* @__PURE__ */
|
|
434
|
+
children: [/* @__PURE__ */ v(h, {
|
|
435
435
|
style: {
|
|
436
436
|
height: "var(--size-controlHeight-md)",
|
|
437
437
|
fontSize: "var(--font-size-body-sm)"
|
|
438
438
|
},
|
|
439
|
-
children: /* @__PURE__ */
|
|
440
|
-
}), /* @__PURE__ */
|
|
439
|
+
children: /* @__PURE__ */ v(g, { placeholder: "No icon" })
|
|
440
|
+
}), /* @__PURE__ */ v(p, {
|
|
441
441
|
style: {
|
|
442
442
|
zIndex: 9999,
|
|
443
443
|
backgroundColor: "var(--color-overlay-popoverBg, var(--color-bg-surface, #ffffff))",
|
|
@@ -446,50 +446,50 @@ var ae = [
|
|
|
446
446
|
borderRadius: "var(--radius-button)",
|
|
447
447
|
maxHeight: "200px"
|
|
448
448
|
},
|
|
449
|
-
children:
|
|
449
|
+
children: x.map((e) => /* @__PURE__ */ v(m, {
|
|
450
450
|
value: e.value || "none",
|
|
451
451
|
children: e.label
|
|
452
452
|
}, e.value || "none"))
|
|
453
453
|
})]
|
|
454
454
|
})]
|
|
455
455
|
}),
|
|
456
|
-
/* @__PURE__ */
|
|
456
|
+
/* @__PURE__ */ y("div", {
|
|
457
457
|
style: {
|
|
458
458
|
display: "flex",
|
|
459
459
|
alignItems: "center",
|
|
460
460
|
gap: "var(--space-sectionGap)",
|
|
461
461
|
marginBottom: "var(--space-formGap)"
|
|
462
462
|
},
|
|
463
|
-
children: [/* @__PURE__ */
|
|
463
|
+
children: [/* @__PURE__ */ y("label", {
|
|
464
464
|
style: {
|
|
465
465
|
display: "flex",
|
|
466
466
|
alignItems: "center",
|
|
467
467
|
gap: "var(--space-controlGap)",
|
|
468
468
|
cursor: "pointer"
|
|
469
469
|
},
|
|
470
|
-
children: [/* @__PURE__ */
|
|
470
|
+
children: [/* @__PURE__ */ v(l, {
|
|
471
471
|
checked: R,
|
|
472
472
|
onCheckedChange: (e) => z(e === !0),
|
|
473
473
|
disabled: C
|
|
474
|
-
}), /* @__PURE__ */
|
|
474
|
+
}), /* @__PURE__ */ v("span", {
|
|
475
475
|
style: {
|
|
476
476
|
fontSize: "var(--font-size-body-sm)",
|
|
477
477
|
color: "var(--color-text-primary)"
|
|
478
478
|
},
|
|
479
479
|
children: "Disabled"
|
|
480
480
|
})]
|
|
481
|
-
}), /* @__PURE__ */
|
|
481
|
+
}), /* @__PURE__ */ y("label", {
|
|
482
482
|
style: {
|
|
483
483
|
display: "flex",
|
|
484
484
|
alignItems: "center",
|
|
485
485
|
gap: "var(--space-controlGap)",
|
|
486
486
|
cursor: "pointer"
|
|
487
487
|
},
|
|
488
|
-
children: [/* @__PURE__ */
|
|
488
|
+
children: [/* @__PURE__ */ v(l, {
|
|
489
489
|
checked: B,
|
|
490
490
|
onCheckedChange: (e) => V(e === !0),
|
|
491
491
|
disabled: C
|
|
492
|
-
}), /* @__PURE__ */
|
|
492
|
+
}), /* @__PURE__ */ v("span", {
|
|
493
493
|
style: {
|
|
494
494
|
fontSize: "var(--font-size-body-sm)",
|
|
495
495
|
color: "var(--color-text-primary)"
|
|
@@ -498,12 +498,12 @@ var ae = [
|
|
|
498
498
|
})]
|
|
499
499
|
})]
|
|
500
500
|
}),
|
|
501
|
-
/* @__PURE__ */
|
|
501
|
+
/* @__PURE__ */ y("div", {
|
|
502
502
|
style: {
|
|
503
503
|
paddingTop: "var(--space-formGap)",
|
|
504
504
|
borderTop: "1px solid var(--color-border)"
|
|
505
505
|
},
|
|
506
|
-
children: [/* @__PURE__ */
|
|
506
|
+
children: [/* @__PURE__ */ y("label", {
|
|
507
507
|
style: {
|
|
508
508
|
display: "flex",
|
|
509
509
|
alignItems: "center",
|
|
@@ -511,11 +511,11 @@ var ae = [
|
|
|
511
511
|
cursor: "pointer",
|
|
512
512
|
marginBottom: "var(--space-formGap)"
|
|
513
513
|
},
|
|
514
|
-
children: [/* @__PURE__ */
|
|
514
|
+
children: [/* @__PURE__ */ v(l, {
|
|
515
515
|
checked: H,
|
|
516
516
|
onCheckedChange: (e) => U(e === !0),
|
|
517
517
|
disabled: C
|
|
518
|
-
}), /* @__PURE__ */
|
|
518
|
+
}), /* @__PURE__ */ v("span", {
|
|
519
519
|
style: {
|
|
520
520
|
fontSize: "var(--font-size-body-sm)",
|
|
521
521
|
fontWeight: "var(--font-weight-semibold)",
|
|
@@ -523,7 +523,7 @@ var ae = [
|
|
|
523
523
|
},
|
|
524
524
|
children: "Require confirmation"
|
|
525
525
|
})]
|
|
526
|
-
}), H && /* @__PURE__ */
|
|
526
|
+
}), H && /* @__PURE__ */ y("div", {
|
|
527
527
|
style: {
|
|
528
528
|
paddingLeft: "var(--space-formGap)",
|
|
529
529
|
borderLeft: "2px solid var(--color-border)",
|
|
@@ -532,7 +532,7 @@ var ae = [
|
|
|
532
532
|
gap: "var(--space-controlGap)"
|
|
533
533
|
},
|
|
534
534
|
children: [
|
|
535
|
-
/* @__PURE__ */
|
|
535
|
+
/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
|
|
536
536
|
style: {
|
|
537
537
|
display: "block",
|
|
538
538
|
fontSize: "var(--font-size-body-sm)",
|
|
@@ -541,7 +541,7 @@ var ae = [
|
|
|
541
541
|
marginBottom: "var(--space-controlGap)"
|
|
542
542
|
},
|
|
543
543
|
children: "Dialog Title"
|
|
544
|
-
}), /* @__PURE__ */
|
|
544
|
+
}), /* @__PURE__ */ v(d, {
|
|
545
545
|
value: W,
|
|
546
546
|
onChange: (e) => G(e.target.value),
|
|
547
547
|
disabled: C,
|
|
@@ -550,7 +550,7 @@ var ae = [
|
|
|
550
550
|
fontSize: "var(--font-size-body-sm)"
|
|
551
551
|
}
|
|
552
552
|
})] }),
|
|
553
|
-
/* @__PURE__ */
|
|
553
|
+
/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
|
|
554
554
|
style: {
|
|
555
555
|
display: "block",
|
|
556
556
|
fontSize: "var(--font-size-body-sm)",
|
|
@@ -559,7 +559,7 @@ var ae = [
|
|
|
559
559
|
marginBottom: "var(--space-controlGap)"
|
|
560
560
|
},
|
|
561
561
|
children: "Message"
|
|
562
|
-
}), /* @__PURE__ */
|
|
562
|
+
}), /* @__PURE__ */ v(_, {
|
|
563
563
|
value: K,
|
|
564
564
|
onChange: (e) => q(e.target.value),
|
|
565
565
|
rows: 2,
|
|
@@ -569,13 +569,13 @@ var ae = [
|
|
|
569
569
|
resize: "none"
|
|
570
570
|
}
|
|
571
571
|
})] }),
|
|
572
|
-
/* @__PURE__ */
|
|
572
|
+
/* @__PURE__ */ y("div", {
|
|
573
573
|
style: {
|
|
574
574
|
display: "grid",
|
|
575
575
|
gridTemplateColumns: "1fr 1fr",
|
|
576
576
|
gap: "var(--space-controlGap)"
|
|
577
577
|
},
|
|
578
|
-
children: [/* @__PURE__ */
|
|
578
|
+
children: [/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
|
|
579
579
|
style: {
|
|
580
580
|
display: "block",
|
|
581
581
|
fontSize: "var(--font-size-body-sm)",
|
|
@@ -584,7 +584,7 @@ var ae = [
|
|
|
584
584
|
marginBottom: "var(--space-controlGap)"
|
|
585
585
|
},
|
|
586
586
|
children: "Confirm Button"
|
|
587
|
-
}), /* @__PURE__ */
|
|
587
|
+
}), /* @__PURE__ */ v(d, {
|
|
588
588
|
value: J,
|
|
589
589
|
onChange: (e) => Y(e.target.value),
|
|
590
590
|
disabled: C,
|
|
@@ -592,7 +592,7 @@ var ae = [
|
|
|
592
592
|
height: "var(--size-controlHeight-sm)",
|
|
593
593
|
fontSize: "var(--font-size-body-sm)"
|
|
594
594
|
}
|
|
595
|
-
})] }), /* @__PURE__ */
|
|
595
|
+
})] }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
|
|
596
596
|
style: {
|
|
597
597
|
display: "block",
|
|
598
598
|
fontSize: "var(--font-size-body-sm)",
|
|
@@ -601,7 +601,7 @@ var ae = [
|
|
|
601
601
|
marginBottom: "var(--space-controlGap)"
|
|
602
602
|
},
|
|
603
603
|
children: "Cancel Button"
|
|
604
|
-
}), /* @__PURE__ */
|
|
604
|
+
}), /* @__PURE__ */ v(d, {
|
|
605
605
|
value: X,
|
|
606
606
|
onChange: (e) => Z(e.target.value),
|
|
607
607
|
disabled: C,
|
|
@@ -615,7 +615,7 @@ var ae = [
|
|
|
615
615
|
})]
|
|
616
616
|
})
|
|
617
617
|
]
|
|
618
|
-
}), /* @__PURE__ */
|
|
618
|
+
}), /* @__PURE__ */ y(ne, {
|
|
619
619
|
style: {
|
|
620
620
|
padding: "var(--space-formGap) var(--space-pagePadding)",
|
|
621
621
|
borderTop: "1px solid var(--color-border)",
|
|
@@ -624,37 +624,37 @@ var ae = [
|
|
|
624
624
|
justifyContent: "flex-end",
|
|
625
625
|
gap: "var(--space-controlGap)"
|
|
626
626
|
},
|
|
627
|
-
children: [/* @__PURE__ */ c
|
|
627
|
+
children: [/* @__PURE__ */ v(c, {
|
|
628
628
|
type: "button",
|
|
629
629
|
variant: "outline",
|
|
630
630
|
onClick: w,
|
|
631
631
|
disabled: C,
|
|
632
632
|
style: { height: "var(--size-controlHeight-md)" },
|
|
633
633
|
children: "Cancel"
|
|
634
|
-
}), /* @__PURE__ */ c
|
|
634
|
+
}), /* @__PURE__ */ v(c, {
|
|
635
635
|
type: "submit",
|
|
636
636
|
disabled: C || !O.trim() || !A.trim(),
|
|
637
637
|
style: {
|
|
638
638
|
height: "var(--size-controlHeight-md)",
|
|
639
639
|
backgroundColor: "var(--color-action-primary-bg)"
|
|
640
640
|
},
|
|
641
|
-
children: C ? /* @__PURE__ */
|
|
641
|
+
children: C ? /* @__PURE__ */ y("span", {
|
|
642
642
|
style: {
|
|
643
643
|
display: "flex",
|
|
644
644
|
alignItems: "center",
|
|
645
645
|
gap: "var(--space-iconGap)"
|
|
646
646
|
},
|
|
647
|
-
children: [/* @__PURE__ */
|
|
647
|
+
children: [/* @__PURE__ */ v(ae, { style: {
|
|
648
648
|
height: "var(--size-icon-sm)",
|
|
649
649
|
width: "var(--size-icon-sm)"
|
|
650
650
|
} }), "Saving..."]
|
|
651
|
-
}) : /* @__PURE__ */
|
|
651
|
+
}) : /* @__PURE__ */ y("span", {
|
|
652
652
|
style: {
|
|
653
653
|
display: "flex",
|
|
654
654
|
alignItems: "center",
|
|
655
655
|
gap: "var(--space-iconGap)"
|
|
656
656
|
},
|
|
657
|
-
children: [
|
|
657
|
+
children: [v(E ? a : o, { style: {
|
|
658
658
|
height: "var(--size-icon-sm)",
|
|
659
659
|
width: "var(--size-icon-sm)"
|
|
660
660
|
} }), E ? "Update Action" : "Add Action"]
|