@fluidgrids/fe-sdk 0.0.0-stage → 2026.1203.7
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/README.md +564 -2
- package/dist/ActivityOptionsFields-C2u-hY2U.js +142 -0
- package/dist/AiStudioPage-B_hNTj-_.js +1137 -0
- package/dist/ApprovalInboxPage-ClITra3n.js +1312 -0
- package/dist/ChoiceSelect-LkK-uS9J.js +65 -0
- package/dist/ConfirmActionDialog-DHWTDRbp.js +31 -0
- package/dist/ConnectionFormDialog-C0kDgcrZ.js +153 -0
- package/dist/CreateFluidgridsTagDocument-Dtp9KPLJ.js +1055 -0
- package/dist/DataSinkDashboardPage-b4ezeqa6.js +278 -0
- package/dist/DataTablesPage-C1d9YGHz.js +5575 -0
- package/dist/DateTimeField-B1qR4ruo.js +51 -0
- package/dist/Disclosure-BNKij7-v.js +45 -0
- package/dist/ElementLibraryPage-8jNO6YmE.js +2256 -0
- package/dist/ElementLibrarySequenceDocument-B-W8SPzn.js +3979 -0
- package/dist/EnsureThemeProvider-BvlNjAd0.js +24 -0
- package/dist/EntityTagBadge-1OlP6p0c.js +25 -0
- package/dist/EntityTagPicker-BBrU5cE0.js +137 -0
- package/dist/ExecuteStepDocument-B4j1mdRT.js +189 -0
- package/dist/ExecutionDetailDocument-D6QuM-kp.js +875 -0
- package/dist/ExecutionDetailPage-D4CBtFdo.js +12217 -0
- package/dist/ExecutionDetailPage-DvQ667OE.d.ts +10 -0
- package/dist/ExecutionStatusBadge-BsDVor9t.js +221 -0
- package/dist/ExecutionsListDocument-Dan7ZiqB.js +459 -0
- package/dist/ExecutionsListPage-B3XT8ITL.js +4307 -0
- package/dist/FailureTriagePanel-DOJMaJ0n.js +1285 -0
- package/dist/FileDownloadUrlDocument-CVOYKcL5.js +92 -0
- package/dist/FluidGridsDocsLink-bX0Hnhxr.js +66 -0
- package/dist/FluidGridsMark-CE2blT7K.js +74 -0
- package/dist/HeldLoadRegion-BtTxbvOW.js +34 -0
- package/dist/HistoryPage-BLoRpJ1R.d.ts +6 -0
- package/dist/HistoryPage-BSBISXoj.js +2835 -0
- package/dist/Icon-BtQ0HXLh.js +160 -0
- package/dist/InsightsPage-D7ybj8N9.js +11245 -0
- package/dist/IsolationSetting-vy911E8b.js +1153 -0
- package/dist/LibraryParts-DOeNgR8A.js +413 -0
- package/dist/ManagedAiPolicyAuthority-BxwJ3ptd.js +40 -0
- package/dist/ManagedAiPolicyAuthority-DM3t3wNr.d.ts +18 -0
- package/dist/ManagedAiPolicyAuthorityContext-CNkxIOZ1.js +10 -0
- package/dist/McpTriggerServers-BCPCAOWB.js +459 -0
- package/dist/MissingNodesInstallModal-rO_SEDrC.js +224 -0
- package/dist/NavigationV2Provider-DCDt35eG.js +17 -0
- package/dist/NodeSchemaIntrospectionDocument-C1vAIcHd.js +95 -0
- package/dist/NodesPage-DEbnz9iU.d.ts +6 -0
- package/dist/NodesPage-O7KeeKtd.js +653 -0
- package/dist/OfflineIcon-TwMKYWjA.js +207 -0
- package/dist/OpenTemplateAsCodeButton-BhWJWIF3.js +94 -0
- package/dist/PaidTemplateConfirm-_G3ag6S4.js +28 -0
- package/dist/PublishCustomNodeAction-CIySbK4c.js +134 -0
- package/dist/RecordTaskDialog-BkpCDvhR.js +2078 -0
- package/dist/RunActionsMenu-DodOgIQm.js +59 -0
- package/dist/RunnerStatusPill-C1v967iq.js +24 -0
- package/dist/RunnersPage-dB0RSdY_.js +1929 -0
- package/dist/SandboxRuntimeExhaustedNotice-BFOIF93C.js +120 -0
- package/dist/SchedulesPage-DPWr1yvf.js +1607 -0
- package/dist/SearchBox-BGtYjvfs.js +49 -0
- package/dist/SequenceEditor-CFiHeHkR.js +497 -0
- package/dist/SettingsPage-0CQBNPZV.js +8695 -0
- package/dist/StewardPages-DAJhepen.js +47 -0
- package/dist/StewardRunImportPanel-Kva2DO0u.js +2844 -0
- package/dist/StoreTemplateCardCompact-CHn5kP7A.js +2166 -0
- package/dist/TagFilterSelect-CyA8QrS7.js +42 -0
- package/dist/TaskQueuesPage-DdnDCyat.js +3571 -0
- package/dist/TechnicalDetails-B0Oi4aZw.js +19 -0
- package/dist/TemplateConfigurationModal-CdvCYJLM.js +332 -0
- package/dist/TemplateDetailPanel-CbiKciuB.js +222 -0
- package/dist/TemplatePreview-cx7-NOeG.js +868 -0
- package/dist/TemplatesPage-BG3H-6v6.d.ts +10 -0
- package/dist/TemplatesPage-BVQpGYIV.js +3251 -0
- package/dist/TerminateExecutionDocument-B_HKNVrN.js +581 -0
- package/dist/TranslationBridge-Bd4aJKMs.d.ts +11 -0
- package/dist/TranslationBridge-Da-TPgQm.js +68 -0
- package/dist/TriggerWorkflowDocument-D9Km2Vv2.js +460 -0
- package/dist/UiSequencePickerSequenceDocument-BSYnSDV7.js +607 -0
- package/dist/UiStepScreenshot-Qh4QMyUp.js +146 -0
- package/dist/UsageTimeSeriesDocument-DcInx9-z.js +177 -0
- package/dist/VariablesPage-ChfGuW22.js +2243 -0
- package/dist/VersionDiffDialog-Bd2AeUwf.js +1702 -0
- package/dist/VersionLifecycleBar-BBeWVtz-.js +143 -0
- package/dist/WebhookDeliveriesPage-D66bua0j.js +1563 -0
- package/dist/WorkflowBuilder-B6wQD1TK.js +539 -0
- package/dist/WorkflowBuilder-DR4ku8Tr.js +1611 -0
- package/dist/WorkflowDefinitionDocument-DZLbTPUZ.js +321 -0
- package/dist/WorkflowEmbed-BXfFGy0i.js +708 -0
- package/dist/WorkflowEmbed-Cbqe1s1z.d.ts +6 -0
- package/dist/WorkflowPinnedDataDocument-BODT5omd.js +782 -0
- package/dist/WorkflowProposalCard-BruukdeF.js +96 -0
- package/dist/WorkflowProposalDocument-BdUbsrd0.js +620 -0
- package/dist/WorkflowSearchRedirect-C7zJ2MKH.js +40 -0
- package/dist/WorkflowSettingsDrawer-MVU1BKfY.d.ts +18 -0
- package/dist/WorkflowSettingsDrawer-gazs97WR.js +196 -0
- package/dist/WorkflowShareDialog-e8jJtLjU.js +469 -0
- package/dist/WorkflowVersionsDocument-DRVOp8Uj.js +3213 -0
- package/dist/WorkflowsList--hR2_8gf.js +4593 -0
- package/dist/WorkflowsList-CcNDQge5.d.ts +6 -0
- package/dist/WorkflowsListPageDocument-CnzcQm_o.js +934 -0
- package/dist/addonCatalog-CbZS4deh.js +58 -0
- package/dist/addonCatalog-sjlonAmR.d.ts +15 -0
- package/dist/addons.d.ts +3 -0
- package/dist/addons.js +4 -0
- package/dist/agent-form-Bfvm32j1.js +83 -0
- package/dist/agent-tools.d.ts +3 -0
- package/dist/agent-tools.js +5 -0
- package/dist/agentTools-CyL7DLOF.js +320 -0
- package/dist/ai-usage-BrxDgvdR.js +240 -0
- package/dist/aiCreditsBridge-BuE92tKo.js +49 -0
- package/dist/api-BKq-nIOZ.js +2286 -0
- package/dist/api-Ol7I8NxE.js +8289 -0
- package/dist/apollo-type-policies.d.ts +11 -0
- package/dist/apollo-type-policies.js +64 -0
- package/dist/askAboutBridge-ByYsQams.js +106 -0
- package/dist/askQuestions-Cmx7VnMm.js +742 -0
- package/dist/assert-rules-lfYEMc99.js +318 -0
- package/dist/assistant.d.ts +94 -0
- package/dist/assistant.js +99 -0
- package/dist/attach-node-helpers-HDKQOtrD.js +32 -0
- package/dist/badge-CXfPhoMH.js +26 -0
- package/dist/basil.generated-BK-EHbwN.js +10 -0
- package/dist/browser-steps-DMpS5TyB.js +533 -0
- package/dist/builderTimings-pvGnK1m-.js +510 -0
- package/dist/button-DG7y_FVJ.js +48 -0
- package/dist/canvasNoteTools-BxuP_AYO.js +137 -0
- package/dist/card-Bomy_1UG.js +44 -0
- package/dist/catalogGrid-BOrfMgi-.js +41 -0
- package/dist/channel-CPyQ1NR1.js +212 -0
- package/dist/chips-CvNrYJZa.js +27 -0
- package/dist/client-holder-C0M5Cfwl.js +68 -0
- package/dist/cn-QqidFIgr.js +10 -0
- package/dist/code-editor-diagnostics-Zr0cIcx1.js +46 -0
- package/dist/code-editor-field-x_JrY8KR.js +113 -0
- package/dist/codec-client-DPuD6mw7.js +515 -0
- package/dist/conditionBuilder-DwfEF0Q-.js +1144 -0
- package/dist/config-DO68jw5k.js +322 -0
- package/dist/constants-DgbVc24O.d.ts +296 -0
- package/dist/constants-DlRnHBfQ.js +217 -0
- package/dist/convert-browser-action-pfecelF7.js +347 -0
- package/dist/convert-dialog-B_o22NiJ.js +382 -0
- package/dist/create-workflow-first-Azg3JUdX.js +120 -0
- package/dist/definition-canvas-Bsda-rDT.js +31 -0
- package/dist/dialog-BVd152GS.js +94 -0
- package/dist/durable-nodes-BXyYCLxT.js +91 -0
- package/dist/duration-CDb7-mT_.js +33 -0
- package/dist/edge-mapper-wEAdGVU2.js +4477 -0
- package/dist/element-library-DkSlg_VE.js +727 -0
- package/dist/entities-I_0kio3q.js +38 -0
- package/dist/error-advice-QLr5NCm7.js +65 -0
- package/dist/errors-ClKb5sEt.js +188 -0
- package/dist/executions.d.ts +3 -0
- package/dist/executions.js +5 -0
- package/dist/feature-flags-B2qetXKd.js +385 -0
- package/dist/field-label-DPZRmE_B.js +153 -0
- package/dist/firstWorkflow-C_h0KMB2.js +133 -0
- package/dist/flags.d.ts +3 -0
- package/dist/flags.js +4 -0
- package/dist/flow-builder-DIvLOhz0.js +28038 -0
- package/dist/flow-store-holder-CUN7Terz.js +52 -0
- package/dist/fluent.generated-CA_e6-4l.js +14 -0
- package/dist/fluidgridsEvents-bbEQbwU6.js +175 -0
- package/dist/fluidgridsTheme-DUhvOgoy.js +297 -0
- package/dist/global-client-BQPuFrFa.js +433 -0
- package/dist/global-operations-BG6YgxrM.js +136 -0
- package/dist/graphql-types-UTYtujY9.js +21358 -0
- package/dist/history.d.ts +3 -0
- package/dist/history.js +4 -0
- package/dist/index-AoJAa5vU.d.ts +164958 -0
- package/dist/index-DEMT3iAM.d.ts +120 -0
- package/dist/index-ROZzNGyY.d.ts +76 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +8123 -0
- package/dist/ion.generated-mbajjcAg.js +10 -0
- package/dist/label-Lzb8ZXf_.js +29 -0
- package/dist/labels-rXd9gYQz.js +1236 -0
- package/dist/liveCanvas-D5ytXDp8.js +103 -0
- package/dist/logos.generated-X6_0kjVR.js +21 -0
- package/dist/logs-panel-Cw0DkG0l.js +468 -0
- package/dist/lucide.generated-B6NVd3GT.js +29 -0
- package/dist/marksStore-a9oIMMot.js +175 -0
- package/dist/mcp-trigger-D0nRdvq5.js +307 -0
- package/dist/mdi.generated-D1BV74d6.js +292 -0
- package/dist/menus-CU3hDGYl.js +160 -0
- package/dist/mynaui.generated-DMWr5cXz.js +66 -0
- package/dist/navigation-v2.d.ts +3 -0
- package/dist/navigation-v2.js +5 -0
- package/dist/node-detail-view-Cgm5H1P-.js +1372 -0
- package/dist/node-editor-tab-body-CZ0fVuVP.js +187 -0
- package/dist/node-operation-selection-CdV3KI_V.js +3534 -0
- package/dist/node-registry-refresh-s3okf83X.js +27 -0
- package/dist/node-role-TMbnkmeP.js +132 -0
- package/dist/node-type-icon-BZa8n4iG.js +33 -0
- package/dist/nodes.d.ts +3 -0
- package/dist/nodes.js +4 -0
- package/dist/notesKey-5EaREBGA.js +12 -0
- package/dist/observability.d.ts +3 -0
- package/dist/observability.js +5 -0
- package/dist/offset-pages-zghoClB3.js +55 -0
- package/dist/operations-BBmT9ToP.js +663 -0
- package/dist/operations-WxRJWeqO.js +3133 -0
- package/dist/output-files-Ba8bu5lv.js +196 -0
- package/dist/page-operation-DrWuhd6Y.js +129 -0
- package/dist/page-twins.d.ts +13 -0
- package/dist/page-twins.js +186 -0
- package/dist/pageControlSpecs-DZJ9K37m.js +134 -0
- package/dist/pageControlsBridge-0pX9s-3k.js +54 -0
- package/dist/pageControlsBridge-DAuT3w7L.d.ts +36 -0
- package/dist/panels-PfBBAToE.js +346 -0
- package/dist/parts-B7fBcw-B.js +346 -0
- package/dist/popover-Dms9Vz3j.js +3389 -0
- package/dist/preloadable-lazy-Pp47mqQ9.js +65 -0
- package/dist/proactive.d.ts +66 -0
- package/dist/proactive.js +237 -0
- package/dist/quick-config-panel-DFd77xho.js +451 -0
- package/dist/quota-DeA_CJ2e.js +175 -0
- package/dist/quota.d.ts +3 -0
- package/dist/quota.js +4 -0
- package/dist/read-only-context-Dt9N9SIG.js +18 -0
- package/dist/relative-time-Dxt8ZIIu.js +55 -0
- package/dist/results-CwK_yDxK.js +325 -0
- package/dist/rolldown-runtime-hDbaFkMy.js +18 -0
- package/dist/route-data.d.ts +12 -0
- package/dist/route-data.js +69 -0
- package/dist/route-match-C-0_EnAt.d.ts +5 -0
- package/dist/route-match-DMkUICYV.js +41 -0
- package/dist/route-preload-C4DlGoCd.js +120 -0
- package/dist/run-display-UjLAoYqQ.js +81 -0
- package/dist/run-history-arGiHzGU.js +285 -0
- package/dist/run-list-links-DJn4Mf1T.js +98 -0
- package/dist/run-mode-USmM0-Uo.js +82 -0
- package/dist/run-parity-CWXqEJqM.js +144 -0
- package/dist/runsQuota-B6SyTbne.js +100 -0
- package/dist/runsQuota-DsniKiSg.d.ts +20 -0
- package/dist/safe-expression-Cw7-SCsm.js +1251 -0
- package/dist/save-status-store-C7nEYpfb.js +631 -0
- package/dist/schedule-panel-B4GYXzXQ.js +13774 -0
- package/dist/schedule-rules-ggVKRkBH.js +358 -0
- package/dist/secrets-Re_wSiE3.js +153 -0
- package/dist/settings.d.ts +4 -0
- package/dist/settings.js +6 -0
- package/dist/shared-DAWGGMSM.js +177 -0
- package/dist/sidebar-node-editor-6eSSgCzc.js +178 -0
- package/dist/solar.generated-CGYuUQAC.js +10 -0
- package/dist/stableTabbedDialog-BBhrfXGe.js +20 -0
- package/dist/start-url-CT6Yz96K.js +24 -0
- package/dist/status-CessxGpm.js +55 -0
- package/dist/store-icon-OctYp5zP.js +155 -0
- package/dist/styles-WGmTnZ2n.js +26 -0
- package/dist/styles.css +139 -0
- package/dist/svg-spinners.generated-CIPT7IhM.js +10 -0
- package/dist/template-code-CzN6JWNV.js +191 -0
- package/dist/template-graph-DLF9dygU.js +20 -0
- package/dist/template-preview-DcIIKOOL.js +32 -0
- package/dist/template-price-CdUHZRMF.js +40 -0
- package/dist/templates.d.ts +3 -0
- package/dist/templates.js +5 -0
- package/dist/theme-provider-CntfC4_i.js +23 -0
- package/dist/transient-DgZfhDfN.js +57 -0
- package/dist/typed-calls-C5tO03wq.js +26 -0
- package/dist/ui-script-By74Guk3.js +1094 -0
- package/dist/ui-script-editor-CqPu2bCN.js +2447 -0
- package/dist/ui-step-fix-8uM2_Hft.js +67 -0
- package/dist/ui-step-fix-store-CcO1FdRx.js +19 -0
- package/dist/ui-step-run-context-o7bLE6KP.js +46 -0
- package/dist/ui-target-editor-D2JhB_lD.js +673 -0
- package/dist/uiMarkTools-CSznnO1i.js +1054 -0
- package/dist/upgradePrompt-BAFBKKW5.js +72 -0
- package/dist/use-bare-node-registry-O6mKJO_n.js +11498 -0
- package/dist/use-browser-available-hj8wc3Kb.js +241 -0
- package/dist/use-edge-mapper-schemas-Bonofxow.js +496 -0
- package/dist/use-extension-bridge-B9ZreOkQ.js +608 -0
- package/dist/use-mobile-BTqCUjzS.js +27 -0
- package/dist/use-sdk-query-C697xZVv.js +116 -0
- package/dist/use-workflow-code-editor-CFoRFrZ5.js +753 -0
- package/dist/useActionParam-B2tU2BlY.js +85 -0
- package/dist/useAgentTokenStream-Bko_J0d0.js +4217 -0
- package/dist/useBrowserClients-3v95-gSh.js +103 -0
- package/dist/useCodeWorkflowInsights-w0tz9Ap_.js +600 -0
- package/dist/useConnections-DsgEJs05.js +439 -0
- package/dist/useDebouncedValue-BFekcv6n.js +18 -0
- package/dist/useDurableParity-8fnMZmBc.js +1787 -0
- package/dist/useEntityTags-D0spL6Ut.js +460 -0
- package/dist/useExecutions-2u5nGJJk.js +681 -0
- package/dist/useFluidGridsAnalytics-VM8lAi2x.js +238 -0
- package/dist/useGlobalStoreClient-BTdhkA2I.js +24 -0
- package/dist/useHumanRequests-zlYDp3l1.js +221 -0
- package/dist/useNavigationV2-C2WeqN7d.js +29 -0
- package/dist/useNavigationV2-DANUmg12.d.ts +9 -0
- package/dist/useObservability-BRlQ0tOA.js +285 -0
- package/dist/useRequestedProposal-B7uPXfZB.js +51 -0
- package/dist/useRunHistory-CXCMUPyf.js +2759 -0
- package/dist/useRunLive-D0JvVZT2.js +1060 -0
- package/dist/useRunnerList-Dbi59i1K.js +446 -0
- package/dist/useRunners-URUc5quU.js +173 -0
- package/dist/useRunsPage-DG656UCK.js +2709 -0
- package/dist/useVariables-BIelxcWr.js +463 -0
- package/dist/useVersionHistoryData-CTjqVw7l.js +292 -0
- package/dist/useWorkflowCodeExport-pqxyLHD1.js +522 -0
- package/dist/useWorkflowListExport-hcZNvTaB.js +232 -0
- package/dist/useWorkflowOrganization-CpBbOrs7.js +1772 -0
- package/dist/useWorkflowProposal-BH0VdNMA.js +3280 -0
- package/dist/useWorkflows-Cvg-Z_IE.js +1606 -0
- package/dist/utils-fvBb5qOD.js +89 -0
- package/dist/webhook-deliveries-AvQujaZy.js +99 -0
- package/dist/workflow-builder-CJygVkVv.d.ts +2 -0
- package/dist/workflow-builder.d.ts +3 -0
- package/dist/workflow-builder.js +8 -0
- package/dist/workflow-code-transfer-Bsy0JKAZ.js +323 -0
- package/dist/workflow-embed.d.ts +3 -0
- package/dist/workflow-embed.js +4 -0
- package/dist/workflow-git-sync--K9ZsPDC.js +263 -0
- package/dist/workflow-host.d.ts +6 -0
- package/dist/workflow-host.js +11 -0
- package/dist/workflow-pages-D-7ByLTB.d.ts +68 -0
- package/dist/workflow-pages.d.ts +3 -0
- package/dist/workflow-pages.js +115 -0
- package/dist/workflow-preview-canvas-CO8yzdE3.js +848 -0
- package/dist/workflow-preview.d.ts +65 -0
- package/dist/workflow-preview.js +4 -0
- package/dist/workflow-route.d.ts +33 -0
- package/dist/workflow-route.js +4 -0
- package/dist/workflow-save-state-D0l-DkLf.js +767 -0
- package/dist/workflow-transfer-CQnQC-ke.js +104 -0
- package/dist/workflowRouteData-BkfVOc-O.js +169 -0
- package/dist/workflows-list.d.ts +10 -0
- package/dist/workflows-list.js +5 -0
- package/package.json +320 -4
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
// src/utils/workflow-transfer.ts
|
|
3
|
+
function asRecord(value) {
|
|
4
|
+
return typeof value === "object" && value !== null && !Array.isArray(value) ? value : null;
|
|
5
|
+
}
|
|
6
|
+
function collectWorkflowNodeReferences(definition) {
|
|
7
|
+
const nodes = asRecord(asRecord(definition)?.data)?.nodes;
|
|
8
|
+
if (!Array.isArray(nodes)) return [];
|
|
9
|
+
const seen = /* @__PURE__ */ new Set();
|
|
10
|
+
const references = [];
|
|
11
|
+
for (const candidate of nodes) {
|
|
12
|
+
const node = asRecord(candidate);
|
|
13
|
+
const nodeData = asRecord(node?.data);
|
|
14
|
+
const nodeId = typeof node?.id === "string" ? node.id : null;
|
|
15
|
+
const nodeType = typeof nodeData?.nodeId === "string" ? nodeData.nodeId : node?.type;
|
|
16
|
+
if (!nodeId || typeof nodeType !== "string") continue;
|
|
17
|
+
const nodeVersion = typeof nodeData?.nodeVersion === "string" ? nodeData.nodeVersion : null;
|
|
18
|
+
const key = `${nodeId}:${nodeType}:${nodeVersion ?? ""}`;
|
|
19
|
+
if (seen.has(key)) continue;
|
|
20
|
+
seen.add(key);
|
|
21
|
+
references.push({
|
|
22
|
+
nodeId,
|
|
23
|
+
nodeType,
|
|
24
|
+
nodeVersion
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return references;
|
|
28
|
+
}
|
|
29
|
+
function createWorkflowExportPayload(workflow) {
|
|
30
|
+
const definitionJson = asRecord(workflow.definitionJson);
|
|
31
|
+
if (!definitionJson) throw new Error("Workflow definition JSON must be an object");
|
|
32
|
+
return {
|
|
33
|
+
format: "fluidgrids.workflow",
|
|
34
|
+
schemaVersion: 1,
|
|
35
|
+
exportedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
36
|
+
workflowKey: workflow.workflowKey,
|
|
37
|
+
version: workflow.version,
|
|
38
|
+
name: workflow.name,
|
|
39
|
+
description: workflow.description ?? null,
|
|
40
|
+
definitionJson,
|
|
41
|
+
context: asRecord(workflow.context),
|
|
42
|
+
tags: workflow.tags,
|
|
43
|
+
tagsV2: workflow.tagsV2,
|
|
44
|
+
icon: workflow.icon ?? null,
|
|
45
|
+
category: workflow.category ?? null,
|
|
46
|
+
nodeReferences: collectWorkflowNodeReferences(definitionJson)
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
/** Saves a blob through a temporary object URL and anchor click. */
|
|
50
|
+
function downloadBlob(filename, blob) {
|
|
51
|
+
const url = URL.createObjectURL(blob);
|
|
52
|
+
const anchor = document.createElement("a");
|
|
53
|
+
anchor.href = url;
|
|
54
|
+
anchor.download = filename;
|
|
55
|
+
anchor.click();
|
|
56
|
+
URL.revokeObjectURL(url);
|
|
57
|
+
}
|
|
58
|
+
function downloadWorkflowExport(workflow) {
|
|
59
|
+
const payload = createWorkflowExportPayload(workflow);
|
|
60
|
+
const blob = new Blob([JSON.stringify(payload, null, 2)], { type: "application/json" });
|
|
61
|
+
downloadBlob(`${workflow.workflowKey}-${workflow.version}.fluidgrids.json`, blob);
|
|
62
|
+
}
|
|
63
|
+
function isN8nNodeType(type) {
|
|
64
|
+
return typeof type === "string" && (type.startsWith("n8n-nodes-") || type.startsWith("@n8n/"));
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Whether a JSON document is an n8n workflow export (as exported, or copied
|
|
68
|
+
* from the n8n canvas): a `nodes` list of named n8n nodes and a
|
|
69
|
+
* `connections` object. The service applies the same test (BOFF-9730).
|
|
70
|
+
*/
|
|
71
|
+
function isN8nWorkflowJson(value) {
|
|
72
|
+
const root = asRecord(value);
|
|
73
|
+
if (!root || !Array.isArray(root.nodes) || root.nodes.length === 0) return false;
|
|
74
|
+
if (root.connections !== void 0 && !asRecord(root.connections)) return false;
|
|
75
|
+
const nodes = root.nodes.map(asRecord);
|
|
76
|
+
return nodes.every((node) => node !== null && typeof node.name === "string" && typeof node.type === "string" && node.type.length > 0) && nodes.some((node) => isN8nNodeType(node?.type));
|
|
77
|
+
}
|
|
78
|
+
function parseWorkflowImport(raw) {
|
|
79
|
+
const root = asRecord(JSON.parse(raw));
|
|
80
|
+
if (!root) throw new Error("Import must contain a JSON object");
|
|
81
|
+
if (isN8nWorkflowJson(root)) return {
|
|
82
|
+
source: "n8n",
|
|
83
|
+
definitionJson: root,
|
|
84
|
+
name: typeof root.name === "string" && root.name.trim() ? root.name.trim() : "Imported n8n workflow",
|
|
85
|
+
nodeReferences: []
|
|
86
|
+
};
|
|
87
|
+
const definitionJson = asRecord(root.definitionJson) ?? root;
|
|
88
|
+
return {
|
|
89
|
+
source: "fluidgrids",
|
|
90
|
+
definitionJson,
|
|
91
|
+
name: typeof root.name === "string" && root.name.trim() ? root.name : "Imported workflow",
|
|
92
|
+
workflowKey: typeof root.workflowKey === "string" ? root.workflowKey : void 0,
|
|
93
|
+
version: typeof root.version === "string" ? root.version : void 0,
|
|
94
|
+
description: typeof root.description === "string" ? root.description : void 0,
|
|
95
|
+
context: asRecord(root.context) ?? void 0,
|
|
96
|
+
tags: Array.isArray(root.tags) && root.tags.every((tag) => typeof tag === "string") ? root.tags : void 0,
|
|
97
|
+
tagsV2: root.tagsV2,
|
|
98
|
+
icon: typeof root.icon === "string" ? root.icon : void 0,
|
|
99
|
+
category: typeof root.category === "string" ? root.category : void 0,
|
|
100
|
+
nodeReferences: Array.isArray(root.nodeReferences) ? root.nodeReferences : collectWorkflowNodeReferences(definitionJson)
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export { downloadWorkflowExport as n, parseWorkflowImport as r, downloadBlob as t };
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
// src/routing/workflowRouteData.ts
|
|
3
|
+
/**
|
|
4
|
+
* The builder's route data, started by the host before the builder's code has
|
|
5
|
+
* loaded (BOFF-11585).
|
|
6
|
+
*
|
|
7
|
+
* On a cold load of a workflow's builder page the route's code (the host's
|
|
8
|
+
* workflows module, the SDK pages and the canvas) takes a second or more to
|
|
9
|
+
* arrive and run, and only then did the builder ask for the workflow. The host
|
|
10
|
+
* knows the route and the person's workspace token long before that. It starts
|
|
11
|
+
* the builder's one read itself, through its own GraphQL fetch (so the gateway's
|
|
12
|
+
* `@rbac` and the workspace boundary decide exactly as they do for the
|
|
13
|
+
* builder), and the builder takes the answer instead of asking again.
|
|
14
|
+
*
|
|
15
|
+
* The hand-off is deliberately narrow:
|
|
16
|
+
* - a read is kept per workspace, workflow key and version, and is handed over
|
|
17
|
+
* once;
|
|
18
|
+
* - it is handed over only within `PREFETCHED_WORKFLOW_TTL_MS` of its start,
|
|
19
|
+
* and a read still unanswered by then is given up;
|
|
20
|
+
* - a read that failed, came back with errors or answered for another workflow
|
|
21
|
+
* is not handed over: the builder then sends its own read, which reports the
|
|
22
|
+
* problem the way it always has.
|
|
23
|
+
*
|
|
24
|
+
* This module imports nothing, so a host can put it on its entry without the
|
|
25
|
+
* builder.
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* The builder's read (BOFF-10387): the workflow with the manifests of the node
|
|
29
|
+
* types it uses. The same selection as
|
|
30
|
+
* `src/operations/workflows/queries/workflowDefinitionForBuilder.graphql`
|
|
31
|
+
* (`workflowRouteData.test.ts` keeps the two equal and checks this one against
|
|
32
|
+
* the composed workspace schema); a plain string, so the hand-off does not
|
|
33
|
+
* pull the SDK's generated documents onto a host's entry.
|
|
34
|
+
*/
|
|
35
|
+
const WORKFLOW_DEFINITION_FOR_BUILDER_QUERY = `
|
|
36
|
+
query WorkflowDefinitionForBuilder($workflowKey: String, $id: ID, $version: String) {
|
|
37
|
+
workflowDefinition(workflowKey: $workflowKey, id: $id, version: $version) {
|
|
38
|
+
id
|
|
39
|
+
workflowKey
|
|
40
|
+
version
|
|
41
|
+
name
|
|
42
|
+
description
|
|
43
|
+
status
|
|
44
|
+
definitionJson
|
|
45
|
+
pinnedNodeData
|
|
46
|
+
alias
|
|
47
|
+
icon
|
|
48
|
+
category
|
|
49
|
+
tags
|
|
50
|
+
context
|
|
51
|
+
projectId
|
|
52
|
+
tenantId
|
|
53
|
+
workspaceId
|
|
54
|
+
createdAt
|
|
55
|
+
updatedAt
|
|
56
|
+
createdById
|
|
57
|
+
revision
|
|
58
|
+
updatedById
|
|
59
|
+
nodeManifests
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
`;
|
|
63
|
+
/** The operation name of `WORKFLOW_DEFINITION_FOR_BUILDER_QUERY`. */
|
|
64
|
+
const WORKFLOW_DEFINITION_FOR_BUILDER_OPERATION = "WorkflowDefinitionForBuilder";
|
|
65
|
+
/** How long a started read may be handed to the builder, counted from its start. */
|
|
66
|
+
const PREFETCHED_WORKFLOW_TTL_MS = 15e3;
|
|
67
|
+
const started = /* @__PURE__ */ new Map();
|
|
68
|
+
const keyOf = ({ workspaceId, workflowKey, version }) => JSON.stringify([
|
|
69
|
+
workspaceId,
|
|
70
|
+
workflowKey,
|
|
71
|
+
version
|
|
72
|
+
]);
|
|
73
|
+
/**
|
|
74
|
+
* The workflow a builder path opens, or null for any other path. The builder
|
|
75
|
+
* routes are `<basePath>/workflow/:key/:version` and
|
|
76
|
+
* `<basePath>/builder/:key/:version`; the key and version are decoded the way
|
|
77
|
+
* the router decodes route parameters.
|
|
78
|
+
*/
|
|
79
|
+
function matchWorkflowBuilderRoute(pathname, basePath = "/workflows") {
|
|
80
|
+
const base = basePath.replace(/\/+$/, "");
|
|
81
|
+
if (!pathname.startsWith(`${base}/`)) return null;
|
|
82
|
+
const match = /^(?:workflow|builder)\/([^/]+)\/([^/]+)\/?$/.exec(pathname.slice(base.length + 1));
|
|
83
|
+
if (!match) return null;
|
|
84
|
+
try {
|
|
85
|
+
const workflowKey = decodeURIComponent(match[1] ?? "");
|
|
86
|
+
const version = decodeURIComponent(match[2] ?? "");
|
|
87
|
+
return workflowKey && version ? {
|
|
88
|
+
workflowKey,
|
|
89
|
+
version
|
|
90
|
+
} : null;
|
|
91
|
+
} catch {
|
|
92
|
+
return null;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
function isRecord(value) {
|
|
96
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
97
|
+
}
|
|
98
|
+
/** The requested workflow from a response, or null when it cannot be used. */
|
|
99
|
+
function usableDefinition(response, { workflowKey, version }) {
|
|
100
|
+
if (typeof response !== "object" || response === null) return null;
|
|
101
|
+
if (Array.isArray(response.errors) && response.errors.length > 0) return null;
|
|
102
|
+
const data = response.data;
|
|
103
|
+
if (!isRecord(data)) return null;
|
|
104
|
+
const definition = data.workflowDefinition;
|
|
105
|
+
if (!isRecord(definition) || definition.workflowKey !== workflowKey || definition.version !== version) return null;
|
|
106
|
+
return definition;
|
|
107
|
+
}
|
|
108
|
+
function dropExpired(now) {
|
|
109
|
+
for (const [key, read] of started) if (now - read.startedAt >= 15e3) started.delete(key);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Starts the builder's read for a workflow, to be handed to the builder when
|
|
113
|
+
* it opens that workflow. Returns false, and sends nothing, when the target is
|
|
114
|
+
* incomplete or a read for it is already waiting to be handed over.
|
|
115
|
+
*/
|
|
116
|
+
function prefetchWorkflowForBuilder({ request, ...target }) {
|
|
117
|
+
if (!target.workspaceId || !target.workflowKey || !target.version) return false;
|
|
118
|
+
const now = Date.now();
|
|
119
|
+
dropExpired(now);
|
|
120
|
+
const key = keyOf(target);
|
|
121
|
+
if (started.has(key)) return false;
|
|
122
|
+
let response;
|
|
123
|
+
try {
|
|
124
|
+
response = request({
|
|
125
|
+
operationName: WORKFLOW_DEFINITION_FOR_BUILDER_OPERATION,
|
|
126
|
+
query: WORKFLOW_DEFINITION_FOR_BUILDER_QUERY,
|
|
127
|
+
variables: {
|
|
128
|
+
workflowKey: target.workflowKey,
|
|
129
|
+
version: target.version
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
} catch {
|
|
133
|
+
return false;
|
|
134
|
+
}
|
|
135
|
+
started.set(key, {
|
|
136
|
+
startedAt: now,
|
|
137
|
+
result: Promise.resolve(response).then((answer) => usableDefinition(answer, target), () => null)
|
|
138
|
+
});
|
|
139
|
+
return true;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Takes the read started for this workflow, if there is one: a promise of the
|
|
143
|
+
* workflow, or of null when the read cannot be used (the caller then sends its
|
|
144
|
+
* own). Returns null when nothing was started for it, or it started too long
|
|
145
|
+
* ago. A read is handed over once.
|
|
146
|
+
*/
|
|
147
|
+
function takePrefetchedWorkflowForBuilder(target, { maxAgeMs = PREFETCHED_WORKFLOW_TTL_MS } = {}) {
|
|
148
|
+
const now = Date.now();
|
|
149
|
+
dropExpired(now);
|
|
150
|
+
const key = keyOf(target);
|
|
151
|
+
const read = started.get(key);
|
|
152
|
+
if (!read) return null;
|
|
153
|
+
started.delete(key);
|
|
154
|
+
const remaining = read.startedAt + maxAgeMs - now;
|
|
155
|
+
if (remaining <= 0) return null;
|
|
156
|
+
return new Promise((resolve) => {
|
|
157
|
+
const timer = setTimeout(() => resolve(null), remaining);
|
|
158
|
+
read.result.then((definition) => {
|
|
159
|
+
clearTimeout(timer);
|
|
160
|
+
resolve(definition);
|
|
161
|
+
});
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
/** Forgets every started read (for a host that signs the person out in place, and tests). */
|
|
165
|
+
function clearPrefetchedWorkflowsForBuilder() {
|
|
166
|
+
started.clear();
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export { matchWorkflowBuilderRoute as a, clearPrefetchedWorkflowsForBuilder as i, WORKFLOW_DEFINITION_FOR_BUILDER_OPERATION as n, prefetchWorkflowForBuilder as o, WORKFLOW_DEFINITION_FOR_BUILDER_QUERY as r, takePrefetchedWorkflowForBuilder as s, PREFETCHED_WORKFLOW_TTL_MS as t };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
|
|
2
|
+
import { t as WorkflowsList } from "./WorkflowsList-CcNDQge5.js";
|
|
3
|
+
export declare const ACTION_PARAM = "action";
|
|
4
|
+
export declare const ACTION_PARAM_VALUES: {
|
|
5
|
+
readonly import: "import";
|
|
6
|
+
readonly newFolder: "new-folder";
|
|
7
|
+
readonly new: "new";
|
|
8
|
+
readonly recordTask: "record-task";
|
|
9
|
+
};
|
|
10
|
+
export { WorkflowsList };
|
package/package.json
CHANGED
|
@@ -1,6 +1,322 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidgrids/fe-sdk",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "2026.1203.7",
|
|
4
|
+
"description": "FluidGrids Workflow Builder SDK - Embeddable visual workflow automation",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"imports": {
|
|
7
|
+
"#src/*": "./src/*"
|
|
8
|
+
},
|
|
9
|
+
"main": "./dist/index.js",
|
|
10
|
+
"module": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./workflow-builder": {
|
|
18
|
+
"types": "./dist/workflow-builder.d.ts",
|
|
19
|
+
"import": "./dist/workflow-builder.js"
|
|
20
|
+
},
|
|
21
|
+
"./workflows-list": {
|
|
22
|
+
"types": "./dist/workflows-list.d.ts",
|
|
23
|
+
"import": "./dist/workflows-list.js"
|
|
24
|
+
},
|
|
25
|
+
"./executions": {
|
|
26
|
+
"types": "./dist/executions.d.ts",
|
|
27
|
+
"import": "./dist/executions.js"
|
|
28
|
+
},
|
|
29
|
+
"./history": {
|
|
30
|
+
"types": "./dist/history.d.ts",
|
|
31
|
+
"import": "./dist/history.js"
|
|
32
|
+
},
|
|
33
|
+
"./templates": {
|
|
34
|
+
"types": "./dist/templates.d.ts",
|
|
35
|
+
"import": "./dist/templates.js"
|
|
36
|
+
},
|
|
37
|
+
"./nodes": {
|
|
38
|
+
"types": "./dist/nodes.d.ts",
|
|
39
|
+
"import": "./dist/nodes.js"
|
|
40
|
+
},
|
|
41
|
+
"./settings": {
|
|
42
|
+
"types": "./dist/settings.d.ts",
|
|
43
|
+
"import": "./dist/settings.js"
|
|
44
|
+
},
|
|
45
|
+
"./observability": {
|
|
46
|
+
"types": "./dist/observability.d.ts",
|
|
47
|
+
"import": "./dist/observability.js"
|
|
48
|
+
},
|
|
49
|
+
"./assistant": {
|
|
50
|
+
"types": "./dist/assistant.d.ts",
|
|
51
|
+
"import": "./dist/assistant.js"
|
|
52
|
+
},
|
|
53
|
+
"./workflow-preview": {
|
|
54
|
+
"types": "./dist/workflow-preview.d.ts",
|
|
55
|
+
"import": "./dist/workflow-preview.js"
|
|
56
|
+
},
|
|
57
|
+
"./agent-tools": {
|
|
58
|
+
"types": "./dist/agent-tools.d.ts",
|
|
59
|
+
"import": "./dist/agent-tools.js"
|
|
60
|
+
},
|
|
61
|
+
"./workflow-embed": {
|
|
62
|
+
"types": "./dist/workflow-embed.d.ts",
|
|
63
|
+
"import": "./dist/workflow-embed.js"
|
|
64
|
+
},
|
|
65
|
+
"./workflow-route": {
|
|
66
|
+
"types": "./dist/workflow-route.d.ts",
|
|
67
|
+
"import": "./dist/workflow-route.js"
|
|
68
|
+
},
|
|
69
|
+
"./route-data": {
|
|
70
|
+
"types": "./dist/route-data.d.ts",
|
|
71
|
+
"import": "./dist/route-data.js"
|
|
72
|
+
},
|
|
73
|
+
"./workflow-pages": {
|
|
74
|
+
"types": "./dist/workflow-pages.d.ts",
|
|
75
|
+
"import": "./dist/workflow-pages.js"
|
|
76
|
+
},
|
|
77
|
+
"./page-twins": {
|
|
78
|
+
"types": "./dist/page-twins.d.ts",
|
|
79
|
+
"import": "./dist/page-twins.js"
|
|
80
|
+
},
|
|
81
|
+
"./workflow-host": {
|
|
82
|
+
"types": "./dist/workflow-host.d.ts",
|
|
83
|
+
"import": "./dist/workflow-host.js"
|
|
84
|
+
},
|
|
85
|
+
"./apollo-type-policies": {
|
|
86
|
+
"types": "./dist/apollo-type-policies.d.ts",
|
|
87
|
+
"import": "./dist/apollo-type-policies.js"
|
|
88
|
+
},
|
|
89
|
+
"./flags": {
|
|
90
|
+
"types": "./dist/flags.d.ts",
|
|
91
|
+
"import": "./dist/flags.js"
|
|
92
|
+
},
|
|
93
|
+
"./quota": {
|
|
94
|
+
"types": "./dist/quota.d.ts",
|
|
95
|
+
"import": "./dist/quota.js"
|
|
96
|
+
},
|
|
97
|
+
"./addons": {
|
|
98
|
+
"types": "./dist/addons.d.ts",
|
|
99
|
+
"import": "./dist/addons.js"
|
|
100
|
+
},
|
|
101
|
+
"./navigation-v2": {
|
|
102
|
+
"types": "./dist/navigation-v2.d.ts",
|
|
103
|
+
"import": "./dist/navigation-v2.js"
|
|
104
|
+
},
|
|
105
|
+
"./proactive": {
|
|
106
|
+
"types": "./dist/proactive.d.ts",
|
|
107
|
+
"import": "./dist/proactive.js"
|
|
108
|
+
},
|
|
109
|
+
"./styles.css": "./dist/styles.css"
|
|
110
|
+
},
|
|
111
|
+
"files": [
|
|
112
|
+
"dist",
|
|
113
|
+
"README.md"
|
|
114
|
+
],
|
|
115
|
+
"sideEffects": [
|
|
116
|
+
"**/*.css"
|
|
117
|
+
],
|
|
118
|
+
"scripts": {
|
|
119
|
+
"dev": "tsdown --watch",
|
|
120
|
+
"build": "tsdown && cp src/styles/index.css dist/styles.css && bun run check:builder-chunks && bun run check:icon-loaders",
|
|
121
|
+
"check:builder-chunks": "bun src/tooling/check-builder-chunks.ts",
|
|
122
|
+
"check:icon-loaders": "bun src/tooling/check-icon-loader-dist.ts",
|
|
123
|
+
"lint": "eslint .",
|
|
124
|
+
"format": "bun fmt src scripts",
|
|
125
|
+
"type:check": "boff gate -- bun check --no-pretty",
|
|
126
|
+
"test": "bun test --timeout=30000",
|
|
127
|
+
"schema:pull": "bash scripts/schema-pull.sh",
|
|
128
|
+
"schema:check": "bash scripts/schema-pull.sh --check",
|
|
129
|
+
"codegen": "bun src/tooling/codegen.ts",
|
|
130
|
+
"codegen:all": "bun run schema:pull && bun run codegen",
|
|
131
|
+
"sanity": "boff sanity",
|
|
132
|
+
"verify:package": "bash scripts/verify-package-contents.sh",
|
|
133
|
+
"storybook": "storybook dev -p 6007",
|
|
134
|
+
"build-storybook": "storybook build --quiet -o storybook-static",
|
|
135
|
+
"test:e2e": "playwright test",
|
|
136
|
+
"switch:status": "boff deps-mode status",
|
|
137
|
+
"switch:remote": "boff deps-mode remote",
|
|
138
|
+
"switch:local": "boff deps-mode local",
|
|
139
|
+
"switch:check": "boff deps-mode check",
|
|
140
|
+
"prepare": "lefthook install || true",
|
|
141
|
+
"format:check": "bun fmt --check src scripts",
|
|
142
|
+
"sanity:force": "boff sanity --force",
|
|
143
|
+
"audit": "bun audit --audit-level=high"
|
|
144
|
+
},
|
|
145
|
+
"peerDependencies": {
|
|
146
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
147
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
148
|
+
"@burdenoff/fe-libs": ">=2026.1202.21"
|
|
149
|
+
},
|
|
150
|
+
"peerDependenciesMeta": {
|
|
151
|
+
"@burdenoff/fe-libs": {
|
|
152
|
+
"optional": true
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"dependencies": {
|
|
156
|
+
"@apollo/client": "^4.3.7",
|
|
157
|
+
"@burdenoff/ui-engine": "2026.1129.3",
|
|
158
|
+
"@codemirror/lang-javascript": "^6.2.5",
|
|
159
|
+
"@codemirror/lang-python": "6.2.1",
|
|
160
|
+
"@codemirror/lint": "^6.9.7",
|
|
161
|
+
"@codemirror/state": "^6.7.6",
|
|
162
|
+
"@graphql-typed-document-node/core": "^3.2.0",
|
|
163
|
+
"@iconify/react": "^6.0.4",
|
|
164
|
+
"@radix-ui/react-checkbox": "^1.4.1",
|
|
165
|
+
"@radix-ui/react-dialog": "^1.3.1",
|
|
166
|
+
"@radix-ui/react-dropdown-menu": "^2.2.1",
|
|
167
|
+
"@radix-ui/react-icons": "^1.3.2",
|
|
168
|
+
"@radix-ui/react-label": "^2.1.17",
|
|
169
|
+
"@radix-ui/react-popover": "^1.3.1",
|
|
170
|
+
"@radix-ui/react-scroll-area": "^1.4.0",
|
|
171
|
+
"@radix-ui/react-select": "^2.4.1",
|
|
172
|
+
"@radix-ui/react-separator": "^1.2.0",
|
|
173
|
+
"@radix-ui/react-slot": "^1.5.0",
|
|
174
|
+
"@radix-ui/react-switch": "^1.4.1",
|
|
175
|
+
"@radix-ui/react-tabs": "^1.2.1",
|
|
176
|
+
"@radix-ui/react-tooltip": "^1.4.1",
|
|
177
|
+
"@tanstack/react-query": "^5.107.1",
|
|
178
|
+
"@uiw/react-codemirror": "^4.25.12",
|
|
179
|
+
"@xyflow/react": "^12.12.1",
|
|
180
|
+
"adaptivecards": "^3.0.6",
|
|
181
|
+
"axios": "1.21.0",
|
|
182
|
+
"class-variance-authority": "^0.7.1",
|
|
183
|
+
"clsx": "^2.1.1",
|
|
184
|
+
"cronstrue": "^3.38.0",
|
|
185
|
+
"date-fns": "^4.4.0",
|
|
186
|
+
"follow-redirects": "1.16.2",
|
|
187
|
+
"framer-motion": "^12.43.0",
|
|
188
|
+
"graphql": "^16.15.0",
|
|
189
|
+
"graphql-ws": "^6.4.1",
|
|
190
|
+
"immer": "^11.2.9",
|
|
191
|
+
"jszip": "^3.10.2",
|
|
192
|
+
"lucide-react": "^0.562.0",
|
|
193
|
+
"nanoid": "^5.1.16",
|
|
194
|
+
"ohash": "^2.0.12",
|
|
195
|
+
"popmotion": "^11.0.5",
|
|
196
|
+
"radash": "^12.1.1",
|
|
197
|
+
"react-markdown": "^10.1.0",
|
|
198
|
+
"react-router": "^8.5.1",
|
|
199
|
+
"sonner": "^2.0.8",
|
|
200
|
+
"tailwind-merge": "^3.7.0",
|
|
201
|
+
"uuid": "14.0.3",
|
|
202
|
+
"zod": "^4.6.7",
|
|
203
|
+
"zustand": "^5.1.0"
|
|
204
|
+
},
|
|
205
|
+
"devDependencies": {
|
|
206
|
+
"@burdenoff/fe-libs": "2026.1203.1",
|
|
207
|
+
"@burdenoff/toolchain": "2026.1107.14",
|
|
208
|
+
"@graphql-codegen/core": "6.2.2",
|
|
209
|
+
"@graphql-codegen/schema-ast": "6.1.1",
|
|
210
|
+
"@graphql-codegen/typed-document-node": "7.2.0",
|
|
211
|
+
"@graphql-codegen/typescript": "6.1.2",
|
|
212
|
+
"@graphql-codegen/typescript-operations": "6.2.0",
|
|
213
|
+
"@iconify-json/basil": "1.2.4",
|
|
214
|
+
"@iconify-json/fluent": "1.2.62",
|
|
215
|
+
"@iconify-json/ion": "1.2.8",
|
|
216
|
+
"@iconify-json/logos": "1.2.21",
|
|
217
|
+
"@iconify-json/lucide": "1.2.159",
|
|
218
|
+
"@iconify-json/mdi": "1.2.3",
|
|
219
|
+
"@iconify-json/mynaui": "1.2.20",
|
|
220
|
+
"@iconify-json/solar": "1.2.17",
|
|
221
|
+
"@iconify-json/svg-spinners": "1.2.4",
|
|
222
|
+
"@playwright/test": "1.64.1",
|
|
223
|
+
"@storybook/addon-essentials": "8.6.19",
|
|
224
|
+
"@storybook/addon-interactions": "8.6.19",
|
|
225
|
+
"@storybook/react": "8.6.19",
|
|
226
|
+
"@storybook/react-vite": "8.6.19",
|
|
227
|
+
"@storybook/test": "8.6.19",
|
|
228
|
+
"@tailwindcss/vite": "4.3.3",
|
|
229
|
+
"@types/bun": "^1.4.4",
|
|
230
|
+
"@types/react": "^19.3.0",
|
|
231
|
+
"@types/react-dom": "^19.3.0",
|
|
232
|
+
"@types/react-test-renderer": "19.3.0",
|
|
233
|
+
"@types/uuid": "^10.0.0",
|
|
234
|
+
"@vitejs/plugin-react": "4.7.0",
|
|
235
|
+
"autoprefixer": "^10.6.2",
|
|
236
|
+
"eslint": "^9.39.5",
|
|
237
|
+
"happy-dom": "21.0.4",
|
|
238
|
+
"lefthook": "^2.2.2",
|
|
239
|
+
"postcss": "8.5.32",
|
|
240
|
+
"react-test-renderer": "19.3.1",
|
|
241
|
+
"storybook": "8.6.19",
|
|
242
|
+
"tailwindcss": "^4.3.5",
|
|
243
|
+
"tsdown": "0.23.7",
|
|
244
|
+
"typescript": "6.0.3",
|
|
245
|
+
"vite": "8.3.5",
|
|
246
|
+
"yaml": "2.9.1"
|
|
247
|
+
},
|
|
248
|
+
"repository": {
|
|
249
|
+
"type": "git",
|
|
250
|
+
"url": "git+https://github.com/Algoshred/fluidgrids-fe-sdk.git"
|
|
251
|
+
},
|
|
252
|
+
"engines": {
|
|
253
|
+
"bun": ">=1.4.4"
|
|
254
|
+
},
|
|
255
|
+
"author": "Algoshred Technologies Pvt Ltd",
|
|
256
|
+
"license": "Proprietary",
|
|
257
|
+
"publishConfig": {
|
|
258
|
+
"access": "public"
|
|
259
|
+
},
|
|
260
|
+
"overrides": {
|
|
261
|
+
"source-map-js": "1.2.2",
|
|
262
|
+
"lodash": "4.18.1",
|
|
263
|
+
"lodash-es": "4.18.1",
|
|
264
|
+
"dompurify": "3.4.0",
|
|
265
|
+
"fast-xml-parser": "5.7.0",
|
|
266
|
+
"@xmldom/xmldom": "0.8.13",
|
|
267
|
+
"swiper": "12.1.3",
|
|
268
|
+
"brace-expansion": "5.0.12",
|
|
269
|
+
"follow-redirects": "1.16.2",
|
|
270
|
+
"smol-toml": "1.6.1",
|
|
271
|
+
"flatted": "3.4.2",
|
|
272
|
+
"yaml": "$yaml",
|
|
273
|
+
"picomatch": "4.0.4",
|
|
274
|
+
"immutable": "5.1.9",
|
|
275
|
+
"minimatch": "11.0.5",
|
|
276
|
+
"glob": "14.0.4",
|
|
277
|
+
"uuid": "14.0.3",
|
|
278
|
+
"axios": "1.21.0",
|
|
279
|
+
"esbuild": "0.28.2",
|
|
280
|
+
"vite": "$vite",
|
|
281
|
+
"vite-plugin-dts": "4.5.4",
|
|
282
|
+
"@babel/core": "7.29.7",
|
|
283
|
+
"form-data": "4.0.6",
|
|
284
|
+
"js-yaml": "4.3.2",
|
|
285
|
+
"nanoid": "^5.1.16",
|
|
286
|
+
"postcss": "8.5.32",
|
|
287
|
+
"shell-quote": "1.10.0"
|
|
288
|
+
},
|
|
289
|
+
"packageManager": "bun@1.4.4",
|
|
290
|
+
"boff": {
|
|
291
|
+
"type": "lib",
|
|
292
|
+
"sanity": {
|
|
293
|
+
"formatPaths": [
|
|
294
|
+
"src",
|
|
295
|
+
"scripts"
|
|
296
|
+
],
|
|
297
|
+
"extra": [
|
|
298
|
+
"verify:package",
|
|
299
|
+
"build-storybook"
|
|
300
|
+
],
|
|
301
|
+
"steps": [
|
|
302
|
+
"format",
|
|
303
|
+
"codegen",
|
|
304
|
+
"lint",
|
|
305
|
+
"typecheck",
|
|
306
|
+
"build",
|
|
307
|
+
"test"
|
|
308
|
+
]
|
|
309
|
+
},
|
|
310
|
+
"scripts": {
|
|
311
|
+
"unmanaged": [
|
|
312
|
+
"test"
|
|
313
|
+
]
|
|
314
|
+
},
|
|
315
|
+
"coverage": {
|
|
316
|
+
"global": 63,
|
|
317
|
+
"lines": 63,
|
|
318
|
+
"functions": 75,
|
|
319
|
+
"diff": 80
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|