@acmekit/dashboard 2.13.36 → 2.13.38
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/{api-key-management-create-U37VC624.mjs → api-key-management-create-4AG76FJV.mjs} +3 -3
- package/dist/{api-key-management-detail-ZYKL4ATI.mjs → api-key-management-detail-T2TB4KST.mjs} +10 -10
- package/dist/{api-key-management-edit-TSZGMIBL.mjs → api-key-management-edit-R44OHS7B.mjs} +3 -3
- package/dist/{api-key-management-list-HCJFJWWB.mjs → api-key-management-list-QK4Q7Y5I.mjs} +3 -3
- package/dist/app.css +6 -31
- package/dist/app.js +1386 -3726
- package/dist/app.mjs +38 -240
- package/dist/{chunk-VEI6HW6L.mjs → chunk-2U3RK3JG.mjs} +5 -3
- package/dist/{chunk-FKTMBR44.mjs → chunk-DN3MIYQH.mjs} +1 -1
- package/dist/{chunk-7F3CWXUH.mjs → chunk-DQCEH3X2.mjs} +1 -1
- package/dist/{chunk-YKIWIMJX.mjs → chunk-DTY37DDZ.mjs} +0 -1
- package/dist/{chunk-PFZQYK7R.mjs → chunk-EFRMWHRX.mjs} +1 -1
- package/dist/{chunk-5IEHCYJO.mjs → chunk-GBFVWROS.mjs} +1 -1
- package/dist/chunk-LKWTBYYC.mjs +35 -0
- package/dist/chunk-RPAL6FHW.mjs +73 -0
- package/dist/{chunk-WLRJXEKL.mjs → chunk-ST2YB7JN.mjs} +1 -1
- package/dist/{chunk-XIP35KXF.mjs → chunk-ULSPL3DR.mjs} +1 -1
- package/dist/{chunk-SYACY6AL.mjs → chunk-XIM7X4FB.mjs} +1 -1
- package/dist/{chunk-HHPPTD3B.mjs → chunk-YRWSG3YM.mjs} +1 -1
- package/dist/en.json +3 -132
- package/dist/{invite-3JSNOA2B.mjs → invite-XGPZZBUP.mjs} +3 -3
- package/dist/{login-BEJ5EFGE.mjs → login-GNP3QIPI.mjs} +9 -9
- package/dist/{profile-detail-QVTJC4JC.mjs → profile-detail-YX27F7N6.mjs} +3 -3
- package/dist/{profile-edit-MIO62TWH.mjs → profile-edit-2VRDU75O.mjs} +3 -3
- package/dist/{reset-password-BN4KAJQL.mjs → reset-password-TWRNZO6Z.mjs} +2 -2
- package/dist/{settings-GH5IWXHE.mjs → settings-3XWLL5LG.mjs} +3 -3
- package/dist/{translation-list-JA22BUKN.mjs → translation-list-CCEQJNED.mjs} +10 -10
- package/dist/{translations-edit-STTMANVT.mjs → translations-edit-E57GVUFV.mjs} +11 -11
- package/dist/{user-detail-WCXBFRGS.mjs → user-detail-KUSRRVNX.mjs} +3 -3
- package/dist/{user-edit-XDVMJOS4.mjs → user-edit-HTN3ZGCL.mjs} +3 -3
- package/dist/{user-invite-73ZDSDFC.mjs → user-invite-E3FAAU3V.mjs} +3 -3
- package/dist/{user-list-MPJXE3CA.mjs → user-list-KNJ5S3IM.mjs} +5 -5
- package/dist/{user-metadata-ADNTL3LT.mjs → user-metadata-5GQK75DT.mjs} +10 -10
- package/dist/workflow-execution-detail-5O5VCXL3.mjs +870 -0
- package/dist/workflow-execution-list-DETG4MRT.mjs +347 -0
- package/package.json +9 -9
- package/dist/chunk-A7ULKHDE.mjs +0 -126
- package/dist/chunk-GBPAZAJK.mjs +0 -34
- package/dist/chunk-LP6CPB7N.mjs +0 -213
- package/dist/workflow-analytics-4WCI4ODQ.mjs +0 -152
- package/dist/workflow-definition-detail-GI6CFBMG.mjs +0 -94
- package/dist/workflow-definition-list-GF3XAEPS.mjs +0 -142
- package/dist/workflow-execution-complete-step-WSRLO572.mjs +0 -245
- package/dist/workflow-execution-detail-3RH6EQSS.mjs +0 -1411
- package/dist/workflow-execution-list-AQEGAME4.mjs +0 -596
- package/dist/workflow-execution-rerun-WCYLYL3Q.mjs +0 -138
- package/dist/workflow-execution-run-MWN5KWNY.mjs +0 -135
- package/dist/workflow-scheduled-list-ZPXR7CZM.mjs +0 -174
- /package/dist/{chunk-RISX76YT.mjs → chunk-22YYMH6M.mjs} +0 -0
package/dist/app.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
FeatureFlagProvider,
|
|
6
6
|
useFeatureFlag
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DQCEH3X2.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isFetchError
|
|
10
10
|
} from "./chunk-TCNCAWYD.mjs";
|
|
@@ -21,15 +21,15 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
notificationQueryKeys,
|
|
23
23
|
useNotifications
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ST2YB7JN.mjs";
|
|
25
25
|
import {
|
|
26
26
|
useLogout
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-GBFVWROS.mjs";
|
|
28
|
+
import "./chunk-EFRMWHRX.mjs";
|
|
29
|
+
import "./chunk-LKWTBYYC.mjs";
|
|
30
|
+
import "./chunk-ULSPL3DR.mjs";
|
|
31
|
+
import "./chunk-DN3MIYQH.mjs";
|
|
32
|
+
import "./chunk-XIM7X4FB.mjs";
|
|
33
33
|
import {
|
|
34
34
|
Skeleton
|
|
35
35
|
} from "./chunk-ITNQKZQQ.mjs";
|
|
@@ -42,14 +42,14 @@ import {
|
|
|
42
42
|
import "./chunk-ND3ODI36.mjs";
|
|
43
43
|
import {
|
|
44
44
|
useMe
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-YRWSG3YM.mjs";
|
|
46
46
|
import {
|
|
47
47
|
queryClient
|
|
48
48
|
} from "./chunk-FXYH54JP.mjs";
|
|
49
49
|
import "./chunk-774WSTCC.mjs";
|
|
50
50
|
import {
|
|
51
51
|
sdk
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-DTY37DDZ.mjs";
|
|
53
53
|
import {
|
|
54
54
|
__publicField
|
|
55
55
|
} from "./chunk-QZ7TP4HQ.mjs";
|
|
@@ -11890,10 +11890,7 @@ var en_default = {
|
|
|
11890
11890
|
stepsCompletedLabel_one: "{{completed}} of {{count}} step",
|
|
11891
11891
|
stepsCompletedLabel_other: "{{completed}} of {{count}} steps",
|
|
11892
11892
|
list: {
|
|
11893
|
-
noRecordsMessage: "No workflows have been executed, yet."
|
|
11894
|
-
noFilterResults: "No executions match your current filters.",
|
|
11895
|
-
clearFilters: "Clear filters",
|
|
11896
|
-
viewAll: "View all executions"
|
|
11893
|
+
noRecordsMessage: "No workflows have been executed, yet."
|
|
11897
11894
|
},
|
|
11898
11895
|
history: {
|
|
11899
11896
|
sectionTitle: "History",
|
|
@@ -11906,11 +11903,7 @@ var en_default = {
|
|
|
11906
11903
|
outputLabel: "Output",
|
|
11907
11904
|
compensateInputLabel: "Compensate input",
|
|
11908
11905
|
revertedLabel: "Reverted",
|
|
11909
|
-
errorLabel: "Error"
|
|
11910
|
-
idempotencyKeyLabel: "Idempotency key",
|
|
11911
|
-
showCompensation: "Show compensation",
|
|
11912
|
-
showInvoke: "Show invoke",
|
|
11913
|
-
retryFromStep: "Retry from this step"
|
|
11906
|
+
errorLabel: "Error"
|
|
11914
11907
|
},
|
|
11915
11908
|
state: {
|
|
11916
11909
|
done: "Done",
|
|
@@ -11918,8 +11911,7 @@ var en_default = {
|
|
|
11918
11911
|
reverted: "Reverted",
|
|
11919
11912
|
invoking: "Invoking",
|
|
11920
11913
|
compensating: "Compensating",
|
|
11921
|
-
notStarted: "Not started"
|
|
11922
|
-
waitingResponse: "Waiting for response"
|
|
11914
|
+
notStarted: "Not started"
|
|
11923
11915
|
},
|
|
11924
11916
|
transaction: {
|
|
11925
11917
|
state: {
|
|
@@ -11933,127 +11925,6 @@ var en_default = {
|
|
|
11933
11925
|
dormant: "Dormant",
|
|
11934
11926
|
timeout: "Timeout"
|
|
11935
11927
|
}
|
|
11936
|
-
},
|
|
11937
|
-
actions: {
|
|
11938
|
-
retry: "Retry",
|
|
11939
|
-
retryWithSameInput: "Retry with same input",
|
|
11940
|
-
retryWithNewInput: "Retry with new input...",
|
|
11941
|
-
cancel: "Cancel execution",
|
|
11942
|
-
cancelConfirmTitle: "Cancel workflow execution?",
|
|
11943
|
-
cancelConfirmDescription: "This will stop {{workflow_id}} and run compensation for all completed steps.",
|
|
11944
|
-
cancelReasonLabel: "Reason (optional)",
|
|
11945
|
-
cancelSuccess: "Workflow execution cancelled successfully",
|
|
11946
|
-
retrySuccess: "Workflow re-run started successfully",
|
|
11947
|
-
retryStepSuccess: "Step retry initiated successfully",
|
|
11948
|
-
runWorkflow: "Run workflow",
|
|
11949
|
-
exportJson: "Export as JSON",
|
|
11950
|
-
exportCsv: "Export as CSV",
|
|
11951
|
-
completeStep: "Complete step",
|
|
11952
|
-
markAsSuccessful: "Mark as successful",
|
|
11953
|
-
markAsFailed: "Mark as failed",
|
|
11954
|
-
viewDetails: "View details"
|
|
11955
|
-
},
|
|
11956
|
-
rerun: {
|
|
11957
|
-
title: "Re-run workflow",
|
|
11958
|
-
inputLabel: "Input (JSON)",
|
|
11959
|
-
transactionIdLabel: "Transaction ID (optional)",
|
|
11960
|
-
submit: "Run workflow",
|
|
11961
|
-
autoGenerated: "auto-generated",
|
|
11962
|
-
success: "Workflow re-run started successfully"
|
|
11963
|
-
},
|
|
11964
|
-
error: {
|
|
11965
|
-
failureAtStep: "Failure at step: {{step}}",
|
|
11966
|
-
jumpToStep: "Jump to step",
|
|
11967
|
-
attemptInfo: "Attempt {{attempt}} of {{maxAttempts}}",
|
|
11968
|
-
failedAt: "Failed at {{time}}"
|
|
11969
|
-
},
|
|
11970
|
-
filters: {
|
|
11971
|
-
savedViews: "Saved views",
|
|
11972
|
-
saveCurrentFilter: "Save current filter",
|
|
11973
|
-
savedViewName: "View name",
|
|
11974
|
-
autoRefresh: "Auto-refresh",
|
|
11975
|
-
refreshNow: "Refresh now",
|
|
11976
|
-
everyNSeconds: "Every {{n}}s",
|
|
11977
|
-
off: "Off",
|
|
11978
|
-
hasErrors: "Has errors",
|
|
11979
|
-
all: "All",
|
|
11980
|
-
allExecutions: "All executions",
|
|
11981
|
-
running: "Running",
|
|
11982
|
-
failedToday: "Failed today"
|
|
11983
|
-
},
|
|
11984
|
-
definitions: {
|
|
11985
|
-
domain: "Definitions",
|
|
11986
|
-
subtitle: "Browse all registered workflow definitions.",
|
|
11987
|
-
name: "Name",
|
|
11988
|
-
steps: "Steps",
|
|
11989
|
-
stepCount: "Steps",
|
|
11990
|
-
handlers: "Handlers",
|
|
11991
|
-
lastRun: "Last run",
|
|
11992
|
-
nextRun: "Next run",
|
|
11993
|
-
scheduled: "Scheduled",
|
|
11994
|
-
runThisWorkflow: "Run this workflow",
|
|
11995
|
-
noRecordsMessage: "No workflow definitions found."
|
|
11996
|
-
},
|
|
11997
|
-
scheduled: {
|
|
11998
|
-
domain: "Scheduled",
|
|
11999
|
-
subtitle: "View and manage scheduled workflow executions.",
|
|
12000
|
-
schedule: "Schedule",
|
|
12001
|
-
nextRun: "Next run",
|
|
12002
|
-
lastRun: "Last run",
|
|
12003
|
-
pause: "Pause",
|
|
12004
|
-
resume: "Resume",
|
|
12005
|
-
runNow: "Run now",
|
|
12006
|
-
noRecordsMessage: "No scheduled workflows found."
|
|
12007
|
-
},
|
|
12008
|
-
analytics: {
|
|
12009
|
-
domain: "Analytics",
|
|
12010
|
-
subtitle: "Workflow execution metrics and trends.",
|
|
12011
|
-
executions24h: "Executions (24h)",
|
|
12012
|
-
successRate: "Success rate",
|
|
12013
|
-
avgDuration: "Avg duration",
|
|
12014
|
-
runningNow: "Running now",
|
|
12015
|
-
executionsOverTime: "Executions over time",
|
|
12016
|
-
perWorkflowBreakdown: "Per-workflow breakdown",
|
|
12017
|
-
slowestSteps: "Slowest steps",
|
|
12018
|
-
noDataMessage: "No metrics data available yet."
|
|
12019
|
-
},
|
|
12020
|
-
asyncStep: {
|
|
12021
|
-
waitingBanner: "Waiting for external response",
|
|
12022
|
-
waitingDescription: "Step {{step}} is awaiting a webhook callback.",
|
|
12023
|
-
idempotencyKey: "Idempotency key",
|
|
12024
|
-
completeTitle: "Complete step: {{step}}",
|
|
12025
|
-
responsePayload: "Response payload (JSON)",
|
|
12026
|
-
expiresIn: "Expires in {{time}}",
|
|
12027
|
-
stepLabel: "Step",
|
|
12028
|
-
outcomeLabel: "Outcome",
|
|
12029
|
-
success: "Success",
|
|
12030
|
-
failure: "Failure",
|
|
12031
|
-
markSuccess: "Mark as success",
|
|
12032
|
-
markFailure: "Mark as failure",
|
|
12033
|
-
completedSuccess: "Step completed successfully"
|
|
12034
|
-
},
|
|
12035
|
-
tabs: {
|
|
12036
|
-
executions: "Executions",
|
|
12037
|
-
definitions: "Definitions",
|
|
12038
|
-
scheduled: "Scheduled",
|
|
12039
|
-
analytics: "Analytics"
|
|
12040
|
-
},
|
|
12041
|
-
payload: {
|
|
12042
|
-
inputPayload: "Input payload",
|
|
12043
|
-
fullCheckpoint: "Full checkpoint",
|
|
12044
|
-
stepOutputs: "Step outputs",
|
|
12045
|
-
errors: "Errors",
|
|
12046
|
-
copyAll: "Copy all",
|
|
12047
|
-
downloadJson: "Download as JSON"
|
|
12048
|
-
},
|
|
12049
|
-
codeSnippet: {
|
|
12050
|
-
curl: "cURL",
|
|
12051
|
-
sdk: "SDK",
|
|
12052
|
-
replicateCall: "Replicate this call"
|
|
12053
|
-
},
|
|
12054
|
-
compare: {
|
|
12055
|
-
title: "Compare executions",
|
|
12056
|
-
selectExecution: "Select execution to compare"
|
|
12057
11928
|
}
|
|
12058
11929
|
},
|
|
12059
11930
|
shippingOptionTypes: {
|
|
@@ -93923,7 +93794,6 @@ var ProtectedRoute = () => {
|
|
|
93923
93794
|
|
|
93924
93795
|
// src/components/layout/main-layout/main-layout.tsx
|
|
93925
93796
|
import {
|
|
93926
|
-
Bolt,
|
|
93927
93797
|
ChevronDownMini,
|
|
93928
93798
|
CogSixTooth,
|
|
93929
93799
|
EllipsisHorizontal as EllipsisHorizontal2,
|
|
@@ -95111,32 +94981,7 @@ var Header = () => {
|
|
|
95111
94981
|
] }) });
|
|
95112
94982
|
};
|
|
95113
94983
|
var useCoreRoutes = () => {
|
|
95114
|
-
|
|
95115
|
-
return [
|
|
95116
|
-
{
|
|
95117
|
-
icon: /* @__PURE__ */ jsx17(Bolt, {}),
|
|
95118
|
-
label: t2("workflowExecutions.domain"),
|
|
95119
|
-
to: "/settings/workflows",
|
|
95120
|
-
items: [
|
|
95121
|
-
{
|
|
95122
|
-
label: t2("workflowExecutions.tabs.executions"),
|
|
95123
|
-
to: "/settings/workflows"
|
|
95124
|
-
},
|
|
95125
|
-
{
|
|
95126
|
-
label: t2("workflowExecutions.tabs.definitions"),
|
|
95127
|
-
to: "/settings/workflows/definitions"
|
|
95128
|
-
},
|
|
95129
|
-
{
|
|
95130
|
-
label: t2("workflowExecutions.tabs.scheduled"),
|
|
95131
|
-
to: "/settings/workflows/scheduled"
|
|
95132
|
-
},
|
|
95133
|
-
{
|
|
95134
|
-
label: t2("workflowExecutions.tabs.analytics"),
|
|
95135
|
-
to: "/settings/workflows/analytics"
|
|
95136
|
-
}
|
|
95137
|
-
]
|
|
95138
|
-
}
|
|
95139
|
-
];
|
|
94984
|
+
return [];
|
|
95140
94985
|
};
|
|
95141
94986
|
var Searchbar = () => {
|
|
95142
94987
|
const { t: t2 } = useTranslation8();
|
|
@@ -95452,12 +95297,12 @@ var defaultSettingsRouteChildren = [
|
|
|
95452
95297
|
{
|
|
95453
95298
|
path: "profile",
|
|
95454
95299
|
errorElement: /* @__PURE__ */ jsx21(ErrorBoundary, {}),
|
|
95455
|
-
lazy: () => import("./profile-detail-
|
|
95300
|
+
lazy: () => import("./profile-detail-YX27F7N6.mjs"),
|
|
95456
95301
|
handle: { breadcrumb: () => t("profile.domain") },
|
|
95457
95302
|
children: [
|
|
95458
95303
|
{
|
|
95459
95304
|
path: "edit",
|
|
95460
|
-
lazy: () => import("./profile-edit-
|
|
95305
|
+
lazy: () => import("./profile-edit-2VRDU75O.mjs")
|
|
95461
95306
|
}
|
|
95462
95307
|
]
|
|
95463
95308
|
},
|
|
@@ -95469,18 +95314,18 @@ var defaultSettingsRouteChildren = [
|
|
|
95469
95314
|
children: [
|
|
95470
95315
|
{
|
|
95471
95316
|
path: "",
|
|
95472
|
-
lazy: () => import("./user-list-
|
|
95317
|
+
lazy: () => import("./user-list-KNJ5S3IM.mjs"),
|
|
95473
95318
|
children: [
|
|
95474
95319
|
{
|
|
95475
95320
|
path: "invite",
|
|
95476
|
-
lazy: () => import("./user-invite-
|
|
95321
|
+
lazy: () => import("./user-invite-E3FAAU3V.mjs")
|
|
95477
95322
|
}
|
|
95478
95323
|
]
|
|
95479
95324
|
},
|
|
95480
95325
|
{
|
|
95481
95326
|
path: ":id",
|
|
95482
95327
|
lazy: async () => {
|
|
95483
|
-
const { Component, Breadcrumb, loader } = await import("./user-detail-
|
|
95328
|
+
const { Component, Breadcrumb, loader } = await import("./user-detail-KUSRRVNX.mjs");
|
|
95484
95329
|
return {
|
|
95485
95330
|
Component,
|
|
95486
95331
|
loader,
|
|
@@ -95490,10 +95335,10 @@ var defaultSettingsRouteChildren = [
|
|
|
95490
95335
|
};
|
|
95491
95336
|
},
|
|
95492
95337
|
children: [
|
|
95493
|
-
{ path: "edit", lazy: () => import("./user-edit-
|
|
95338
|
+
{ path: "edit", lazy: () => import("./user-edit-HTN3ZGCL.mjs") },
|
|
95494
95339
|
{
|
|
95495
95340
|
path: "metadata/edit",
|
|
95496
|
-
lazy: () => import("./user-metadata-
|
|
95341
|
+
lazy: () => import("./user-metadata-5GQK75DT.mjs")
|
|
95497
95342
|
}
|
|
95498
95343
|
]
|
|
95499
95344
|
}
|
|
@@ -95510,11 +95355,11 @@ var defaultSettingsRouteChildren = [
|
|
|
95510
95355
|
children: [
|
|
95511
95356
|
{
|
|
95512
95357
|
path: "",
|
|
95513
|
-
lazy: () => import("./api-key-management-list-
|
|
95358
|
+
lazy: () => import("./api-key-management-list-QK4Q7Y5I.mjs"),
|
|
95514
95359
|
children: [
|
|
95515
95360
|
{
|
|
95516
95361
|
path: "create",
|
|
95517
|
-
lazy: () => import("./api-key-management-create-
|
|
95362
|
+
lazy: () => import("./api-key-management-create-4AG76FJV.mjs")
|
|
95518
95363
|
}
|
|
95519
95364
|
]
|
|
95520
95365
|
}
|
|
@@ -95523,7 +95368,7 @@ var defaultSettingsRouteChildren = [
|
|
|
95523
95368
|
{
|
|
95524
95369
|
path: ":id",
|
|
95525
95370
|
lazy: async () => {
|
|
95526
|
-
const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
95371
|
+
const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-T2TB4KST.mjs");
|
|
95527
95372
|
return {
|
|
95528
95373
|
Component,
|
|
95529
95374
|
loader,
|
|
@@ -95535,7 +95380,7 @@ var defaultSettingsRouteChildren = [
|
|
|
95535
95380
|
children: [
|
|
95536
95381
|
{
|
|
95537
95382
|
path: "edit",
|
|
95538
|
-
lazy: () => import("./api-key-management-edit-
|
|
95383
|
+
lazy: () => import("./api-key-management-edit-R44OHS7B.mjs")
|
|
95539
95384
|
}
|
|
95540
95385
|
]
|
|
95541
95386
|
}
|
|
@@ -95552,11 +95397,11 @@ var defaultSettingsRouteChildren = [
|
|
|
95552
95397
|
children: [
|
|
95553
95398
|
{
|
|
95554
95399
|
path: "",
|
|
95555
|
-
lazy: () => import("./api-key-management-list-
|
|
95400
|
+
lazy: () => import("./api-key-management-list-QK4Q7Y5I.mjs"),
|
|
95556
95401
|
children: [
|
|
95557
95402
|
{
|
|
95558
95403
|
path: "create",
|
|
95559
|
-
lazy: () => import("./api-key-management-create-
|
|
95404
|
+
lazy: () => import("./api-key-management-create-4AG76FJV.mjs")
|
|
95560
95405
|
}
|
|
95561
95406
|
]
|
|
95562
95407
|
}
|
|
@@ -95565,7 +95410,7 @@ var defaultSettingsRouteChildren = [
|
|
|
95565
95410
|
{
|
|
95566
95411
|
path: ":id",
|
|
95567
95412
|
lazy: async () => {
|
|
95568
|
-
const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
95413
|
+
const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-T2TB4KST.mjs");
|
|
95569
95414
|
return {
|
|
95570
95415
|
Component,
|
|
95571
95416
|
loader,
|
|
@@ -95577,7 +95422,7 @@ var defaultSettingsRouteChildren = [
|
|
|
95577
95422
|
children: [
|
|
95578
95423
|
{
|
|
95579
95424
|
path: "edit",
|
|
95580
|
-
lazy: () => import("./api-key-management-edit-
|
|
95425
|
+
lazy: () => import("./api-key-management-edit-R44OHS7B.mjs")
|
|
95581
95426
|
}
|
|
95582
95427
|
]
|
|
95583
95428
|
}
|
|
@@ -95591,18 +95436,12 @@ var defaultSettingsRouteChildren = [
|
|
|
95591
95436
|
children: [
|
|
95592
95437
|
{
|
|
95593
95438
|
path: "",
|
|
95594
|
-
lazy: () => import("./workflow-execution-list-
|
|
95595
|
-
children: [
|
|
95596
|
-
{
|
|
95597
|
-
path: "run",
|
|
95598
|
-
lazy: () => import("./workflow-execution-run-MWN5KWNY.mjs")
|
|
95599
|
-
}
|
|
95600
|
-
]
|
|
95439
|
+
lazy: () => import("./workflow-execution-list-DETG4MRT.mjs")
|
|
95601
95440
|
},
|
|
95602
95441
|
{
|
|
95603
95442
|
path: ":id",
|
|
95604
95443
|
lazy: async () => {
|
|
95605
|
-
const { Component, Breadcrumb, loader } = await import("./workflow-execution-detail-
|
|
95444
|
+
const { Component, Breadcrumb, loader } = await import("./workflow-execution-detail-5O5VCXL3.mjs");
|
|
95606
95445
|
return {
|
|
95607
95446
|
Component,
|
|
95608
95447
|
loader,
|
|
@@ -95610,48 +95449,7 @@ var defaultSettingsRouteChildren = [
|
|
|
95610
95449
|
breadcrumb: (match) => /* @__PURE__ */ jsx21(Breadcrumb, { ...match })
|
|
95611
95450
|
}
|
|
95612
95451
|
};
|
|
95613
|
-
}
|
|
95614
|
-
children: [
|
|
95615
|
-
{
|
|
95616
|
-
path: "rerun",
|
|
95617
|
-
lazy: () => import("./workflow-execution-rerun-WCYLYL3Q.mjs")
|
|
95618
|
-
},
|
|
95619
|
-
{
|
|
95620
|
-
path: "complete-step",
|
|
95621
|
-
lazy: () => import("./workflow-execution-complete-step-WSRLO572.mjs")
|
|
95622
|
-
}
|
|
95623
|
-
]
|
|
95624
|
-
},
|
|
95625
|
-
{
|
|
95626
|
-
path: "definitions",
|
|
95627
|
-
element: /* @__PURE__ */ jsx21(Outlet4, {}),
|
|
95628
|
-
handle: {
|
|
95629
|
-
breadcrumb: () => t("workflowExecutions.definitions.domain")
|
|
95630
|
-
},
|
|
95631
|
-
children: [
|
|
95632
|
-
{
|
|
95633
|
-
path: "",
|
|
95634
|
-
lazy: () => import("./workflow-definition-list-GF3XAEPS.mjs")
|
|
95635
|
-
},
|
|
95636
|
-
{
|
|
95637
|
-
path: ":id",
|
|
95638
|
-
lazy: () => import("./workflow-definition-detail-GI6CFBMG.mjs"),
|
|
95639
|
-
children: [
|
|
95640
|
-
{
|
|
95641
|
-
path: "run",
|
|
95642
|
-
lazy: () => import("./workflow-execution-run-MWN5KWNY.mjs")
|
|
95643
|
-
}
|
|
95644
|
-
]
|
|
95645
|
-
}
|
|
95646
|
-
]
|
|
95647
|
-
},
|
|
95648
|
-
{
|
|
95649
|
-
path: "analytics",
|
|
95650
|
-
lazy: () => import("./workflow-analytics-4WCI4ODQ.mjs")
|
|
95651
|
-
},
|
|
95652
|
-
{
|
|
95653
|
-
path: "scheduled",
|
|
95654
|
-
lazy: () => import("./workflow-scheduled-list-ZPXR7CZM.mjs")
|
|
95452
|
+
}
|
|
95655
95453
|
}
|
|
95656
95454
|
]
|
|
95657
95455
|
},
|
|
@@ -95662,17 +95460,17 @@ var defaultSettingsRouteChildren = [
|
|
|
95662
95460
|
children: [
|
|
95663
95461
|
{
|
|
95664
95462
|
path: "",
|
|
95665
|
-
lazy: () => import("./translation-list-
|
|
95463
|
+
lazy: () => import("./translation-list-CCEQJNED.mjs"),
|
|
95666
95464
|
children: [
|
|
95667
95465
|
{
|
|
95668
95466
|
path: "settings",
|
|
95669
|
-
lazy: () => import("./settings-
|
|
95467
|
+
lazy: () => import("./settings-3XWLL5LG.mjs")
|
|
95670
95468
|
}
|
|
95671
95469
|
]
|
|
95672
95470
|
},
|
|
95673
95471
|
{
|
|
95674
95472
|
path: "edit",
|
|
95675
|
-
lazy: () => import("./translations-edit-
|
|
95473
|
+
lazy: () => import("./translations-edit-E57GVUFV.mjs")
|
|
95676
95474
|
}
|
|
95677
95475
|
]
|
|
95678
95476
|
}
|
|
@@ -95724,15 +95522,15 @@ function getRouteMap({
|
|
|
95724
95522
|
children: [
|
|
95725
95523
|
{
|
|
95726
95524
|
path: "/login",
|
|
95727
|
-
lazy: () => import("./login-
|
|
95525
|
+
lazy: () => import("./login-GNP3QIPI.mjs")
|
|
95728
95526
|
},
|
|
95729
95527
|
{
|
|
95730
95528
|
path: "/reset-password",
|
|
95731
|
-
lazy: () => import("./reset-password-
|
|
95529
|
+
lazy: () => import("./reset-password-TWRNZO6Z.mjs")
|
|
95732
95530
|
},
|
|
95733
95531
|
{
|
|
95734
95532
|
path: "/invite",
|
|
95735
|
-
lazy: () => import("./invite-
|
|
95533
|
+
lazy: () => import("./invite-XGPZZBUP.mjs")
|
|
95736
95534
|
},
|
|
95737
95535
|
{
|
|
95738
95536
|
path: "*",
|
|
@@ -243,6 +243,11 @@ var RouteDrawer = Object.assign(Root, {
|
|
|
243
243
|
Form: Form2
|
|
244
244
|
});
|
|
245
245
|
|
|
246
|
+
// src/components/modals/route-focus-modal/route-focus-modal.tsx
|
|
247
|
+
import { FocusModal, clx as clx2 } from "@acmekit/ui";
|
|
248
|
+
import { useEffect as useEffect2, useState as useState4 } from "react";
|
|
249
|
+
import { useNavigate as useNavigate3 } from "react-router-dom";
|
|
250
|
+
|
|
246
251
|
// src/components/modals/route-modal-provider/use-route-modal.tsx
|
|
247
252
|
import { useContext as useContext2 } from "react";
|
|
248
253
|
var useRouteModal = () => {
|
|
@@ -254,9 +259,6 @@ var useRouteModal = () => {
|
|
|
254
259
|
};
|
|
255
260
|
|
|
256
261
|
// src/components/modals/route-focus-modal/route-focus-modal.tsx
|
|
257
|
-
import { FocusModal, clx as clx2 } from "@acmekit/ui";
|
|
258
|
-
import { useEffect as useEffect2, useState as useState4 } from "react";
|
|
259
|
-
import { useNavigate as useNavigate3 } from "react-router-dom";
|
|
260
262
|
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
261
263
|
var Root2 = ({ prev = "..", children }) => {
|
|
262
264
|
const navigate = useNavigate3();
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import {
|
|
2
|
+
queryKeysFactory
|
|
3
|
+
} from "./chunk-774WSTCC.mjs";
|
|
4
|
+
import {
|
|
5
|
+
sdk
|
|
6
|
+
} from "./chunk-DTY37DDZ.mjs";
|
|
7
|
+
|
|
8
|
+
// src/hooks/api/workflow-executions.tsx
|
|
9
|
+
import { useQuery } from "@tanstack/react-query";
|
|
10
|
+
var WORKFLOW_EXECUTIONS_QUERY_KEY = "workflow_executions";
|
|
11
|
+
var workflowExecutionsQueryKeys = queryKeysFactory(
|
|
12
|
+
WORKFLOW_EXECUTIONS_QUERY_KEY
|
|
13
|
+
);
|
|
14
|
+
var useWorkflowExecutions = (query, options) => {
|
|
15
|
+
const { data, ...rest } = useQuery({
|
|
16
|
+
queryFn: () => sdk.admin.workflowExecution.list(query),
|
|
17
|
+
queryKey: workflowExecutionsQueryKeys.list(query),
|
|
18
|
+
...options
|
|
19
|
+
});
|
|
20
|
+
return { ...data, ...rest };
|
|
21
|
+
};
|
|
22
|
+
var useWorkflowExecution = (id, options) => {
|
|
23
|
+
const { data, ...rest } = useQuery({
|
|
24
|
+
queryFn: () => sdk.admin.workflowExecution.retrieve(id),
|
|
25
|
+
queryKey: workflowExecutionsQueryKeys.detail(id),
|
|
26
|
+
...options
|
|
27
|
+
});
|
|
28
|
+
return { ...data, ...rest };
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export {
|
|
32
|
+
workflowExecutionsQueryKeys,
|
|
33
|
+
useWorkflowExecutions,
|
|
34
|
+
useWorkflowExecution
|
|
35
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// src/routes/workflow-executions/constants.ts
|
|
2
|
+
var STEP_IN_PROGRESS_STATES = [
|
|
3
|
+
"compensating" /* COMPENSATING */,
|
|
4
|
+
"invoking" /* INVOKING */
|
|
5
|
+
];
|
|
6
|
+
var STEP_SKIPPED_STATES = [
|
|
7
|
+
"skipped" /* SKIPPED */,
|
|
8
|
+
"skipped_failure" /* SKIPPED_FAILURE */
|
|
9
|
+
];
|
|
10
|
+
var STEP_OK_STATES = [
|
|
11
|
+
"done" /* DONE */
|
|
12
|
+
];
|
|
13
|
+
var STEP_ERROR_STATES = [
|
|
14
|
+
"failed" /* FAILED */,
|
|
15
|
+
"reverted" /* REVERTED */,
|
|
16
|
+
"timeout" /* TIMEOUT */,
|
|
17
|
+
"dormant" /* DORMANT */
|
|
18
|
+
];
|
|
19
|
+
var STEP_INACTIVE_STATES = [
|
|
20
|
+
"not_started" /* NOT_STARTED */
|
|
21
|
+
];
|
|
22
|
+
var TRANSACTION_OK_STATES = [
|
|
23
|
+
"done" /* DONE */
|
|
24
|
+
];
|
|
25
|
+
var TRANSACTION_ERROR_STATES = [
|
|
26
|
+
"failed" /* FAILED */,
|
|
27
|
+
"reverted" /* REVERTED */
|
|
28
|
+
];
|
|
29
|
+
var TRANSACTION_IN_PROGRESS_STATES = [
|
|
30
|
+
"invoking" /* INVOKING */,
|
|
31
|
+
"waiting_to_compensate" /* WAITING_TO_COMPENSATE */,
|
|
32
|
+
"compensating" /* COMPENSATING */
|
|
33
|
+
];
|
|
34
|
+
|
|
35
|
+
// src/routes/workflow-executions/utils.ts
|
|
36
|
+
var getTransactionStateColor = (state) => {
|
|
37
|
+
let statusColor = "green";
|
|
38
|
+
if (TRANSACTION_ERROR_STATES.includes(state)) {
|
|
39
|
+
statusColor = "red";
|
|
40
|
+
}
|
|
41
|
+
if (TRANSACTION_IN_PROGRESS_STATES.includes(state)) {
|
|
42
|
+
statusColor = "orange";
|
|
43
|
+
}
|
|
44
|
+
return statusColor;
|
|
45
|
+
};
|
|
46
|
+
var getTransactionState = (t, state) => {
|
|
47
|
+
switch (state) {
|
|
48
|
+
case "done" /* DONE */:
|
|
49
|
+
return t("workflowExecutions.state.done");
|
|
50
|
+
case "failed" /* FAILED */:
|
|
51
|
+
return t("workflowExecutions.state.failed");
|
|
52
|
+
case "reverted" /* REVERTED */:
|
|
53
|
+
return t("workflowExecutions.state.reverted");
|
|
54
|
+
case "invoking" /* INVOKING */:
|
|
55
|
+
return t("workflowExecutions.state.invoking");
|
|
56
|
+
case "waiting_to_compensate" /* WAITING_TO_COMPENSATE */:
|
|
57
|
+
return t("workflowExecutions.transaction.state.waitingToCompensate");
|
|
58
|
+
case "compensating" /* COMPENSATING */:
|
|
59
|
+
return t("workflowExecutions.state.compensating");
|
|
60
|
+
case "not_started" /* NOT_STARTED */:
|
|
61
|
+
return t("workflowExecutions.state.notStarted");
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
export {
|
|
66
|
+
STEP_IN_PROGRESS_STATES,
|
|
67
|
+
STEP_SKIPPED_STATES,
|
|
68
|
+
STEP_OK_STATES,
|
|
69
|
+
STEP_ERROR_STATES,
|
|
70
|
+
STEP_INACTIVE_STATES,
|
|
71
|
+
getTransactionStateColor,
|
|
72
|
+
getTransactionState
|
|
73
|
+
};
|