@datatechsolutions/ui 3.9.1 → 3.10.0

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.
Files changed (95) hide show
  1. package/dist/astrlabe/index.js +107 -107
  2. package/dist/astrlabe/index.mjs +3 -3
  3. package/dist/astrlabe/workflow-canvas.js +3 -3
  4. package/dist/astrlabe/workflow-canvas.mjs +2 -2
  5. package/dist/{chunk-ZDXEGSCF.js → chunk-2A45ZEK4.js} +45 -45
  6. package/dist/{chunk-ZDXEGSCF.js.map → chunk-2A45ZEK4.js.map} +1 -1
  7. package/dist/{chunk-T4IYOKHR.js → chunk-5AKTDJFR.js} +25 -25
  8. package/dist/{chunk-T4IYOKHR.js.map → chunk-5AKTDJFR.js.map} +1 -1
  9. package/dist/{chunk-ZQRUAXGP.mjs → chunk-5KI7FB3E.mjs} +188 -48
  10. package/dist/chunk-5KI7FB3E.mjs.map +1 -0
  11. package/dist/{chunk-GQWC4EKE.mjs → chunk-5U43K6G3.mjs} +4 -4
  12. package/dist/{chunk-GQWC4EKE.mjs.map → chunk-5U43K6G3.mjs.map} +1 -1
  13. package/dist/{chunk-PD3JLDA5.mjs → chunk-6UX2SRA2.mjs} +3 -3
  14. package/dist/{chunk-PD3JLDA5.mjs.map → chunk-6UX2SRA2.mjs.map} +1 -1
  15. package/dist/{chunk-2ZY3IQ2I.mjs → chunk-6ZYATZS3.mjs} +3 -3
  16. package/dist/{chunk-2ZY3IQ2I.mjs.map → chunk-6ZYATZS3.mjs.map} +1 -1
  17. package/dist/{chunk-AXBD6OAF.mjs → chunk-A256OE5E.mjs} +11 -11
  18. package/dist/{chunk-AXBD6OAF.mjs.map → chunk-A256OE5E.mjs.map} +1 -1
  19. package/dist/{chunk-DQIEVLA3.js → chunk-AMESLEIO.js} +35 -35
  20. package/dist/{chunk-DQIEVLA3.js.map → chunk-AMESLEIO.js.map} +1 -1
  21. package/dist/{chunk-6E2YH67A.js → chunk-B76RTA7D.js} +35 -35
  22. package/dist/{chunk-6E2YH67A.js.map → chunk-B76RTA7D.js.map} +1 -1
  23. package/dist/{chunk-OVQ4MKCV.mjs → chunk-BU4WMSK3.mjs} +3 -3
  24. package/dist/{chunk-OVQ4MKCV.mjs.map → chunk-BU4WMSK3.mjs.map} +1 -1
  25. package/dist/{chunk-WS3IJFPW.mjs → chunk-C4D3EI5L.mjs} +3 -3
  26. package/dist/{chunk-WS3IJFPW.mjs.map → chunk-C4D3EI5L.mjs.map} +1 -1
  27. package/dist/{chunk-EAIE4QGD.mjs → chunk-DA3H7ERQ.mjs} +20 -20
  28. package/dist/{chunk-EAIE4QGD.mjs.map → chunk-DA3H7ERQ.mjs.map} +1 -1
  29. package/dist/{chunk-U6VFS3RD.js → chunk-EC34PGUO.js} +142 -142
  30. package/dist/{chunk-U6VFS3RD.js.map → chunk-EC34PGUO.js.map} +1 -1
  31. package/dist/{chunk-6QJI5YOJ.mjs → chunk-FD376DZ6.mjs} +3 -3
  32. package/dist/{chunk-6QJI5YOJ.mjs.map → chunk-FD376DZ6.mjs.map} +1 -1
  33. package/dist/{chunk-ZQEMKEEH.mjs → chunk-FENA4YGN.mjs} +3 -3
  34. package/dist/{chunk-ZQEMKEEH.mjs.map → chunk-FENA4YGN.mjs.map} +1 -1
  35. package/dist/{chunk-R6GEJBFC.js → chunk-FIJMOTP4.js} +34 -34
  36. package/dist/{chunk-R6GEJBFC.js.map → chunk-FIJMOTP4.js.map} +1 -1
  37. package/dist/{chunk-BWUFLW5W.mjs → chunk-H7X3SXMB.mjs} +6 -6
  38. package/dist/{chunk-BWUFLW5W.mjs.map → chunk-H7X3SXMB.mjs.map} +1 -1
  39. package/dist/{chunk-OEZ7GAJY.mjs → chunk-HEXTU6W3.mjs} +6 -6
  40. package/dist/{chunk-OEZ7GAJY.mjs.map → chunk-HEXTU6W3.mjs.map} +1 -1
  41. package/dist/{chunk-2E7HYTS7.mjs → chunk-JB3U6ORY.mjs} +3 -3
  42. package/dist/{chunk-2E7HYTS7.mjs.map → chunk-JB3U6ORY.mjs.map} +1 -1
  43. package/dist/{chunk-A2RIX2RK.js → chunk-KHUWFL6W.js} +4 -4
  44. package/dist/{chunk-A2RIX2RK.js.map → chunk-KHUWFL6W.js.map} +1 -1
  45. package/dist/{chunk-CRBGZA6Y.js → chunk-L3R425GB.js} +13 -13
  46. package/dist/{chunk-CRBGZA6Y.js.map → chunk-L3R425GB.js.map} +1 -1
  47. package/dist/{chunk-MT66VKLS.js → chunk-LVR4SR65.js} +189 -47
  48. package/dist/chunk-LVR4SR65.js.map +1 -0
  49. package/dist/{chunk-UZIICTIY.js → chunk-MAOZWOA6.js} +55 -55
  50. package/dist/{chunk-UZIICTIY.js.map → chunk-MAOZWOA6.js.map} +1 -1
  51. package/dist/{chunk-WJENX6KB.js → chunk-MSMEECO6.js} +9 -9
  52. package/dist/{chunk-WJENX6KB.js.map → chunk-MSMEECO6.js.map} +1 -1
  53. package/dist/{chunk-SJ6SUS7H.mjs → chunk-NM37GLCL.mjs} +3 -3
  54. package/dist/{chunk-SJ6SUS7H.mjs.map → chunk-NM37GLCL.mjs.map} +1 -1
  55. package/dist/{chunk-CLTNCBSP.js → chunk-NSZN54HW.js} +4 -4
  56. package/dist/{chunk-CLTNCBSP.js.map → chunk-NSZN54HW.js.map} +1 -1
  57. package/dist/{chunk-7AM2SXEF.js → chunk-O4HH77A4.js} +85 -85
  58. package/dist/{chunk-7AM2SXEF.js.map → chunk-O4HH77A4.js.map} +1 -1
  59. package/dist/{chunk-RFUSH7WD.js → chunk-TSNKICPP.js} +10 -10
  60. package/dist/{chunk-RFUSH7WD.js.map → chunk-TSNKICPP.js.map} +1 -1
  61. package/dist/{chunk-ARLYOLSO.mjs → chunk-W6MBDTKF.mjs} +3 -3
  62. package/dist/{chunk-ARLYOLSO.mjs.map → chunk-W6MBDTKF.mjs.map} +1 -1
  63. package/dist/{chunk-IVKFXPLO.js → chunk-YSYEV2Z6.js} +28 -28
  64. package/dist/{chunk-IVKFXPLO.js.map → chunk-YSYEV2Z6.js.map} +1 -1
  65. package/dist/index.d.mts +108 -4
  66. package/dist/index.d.ts +108 -4
  67. package/dist/index.js +670 -662
  68. package/dist/index.mjs +1 -1
  69. package/dist/platform/admin/index.js +9 -9
  70. package/dist/platform/admin/index.mjs +3 -3
  71. package/dist/platform/agents-workspace.js +6 -6
  72. package/dist/platform/agents-workspace.mjs +5 -5
  73. package/dist/platform/app-shell.js +3 -3
  74. package/dist/platform/app-shell.mjs +2 -2
  75. package/dist/platform/auth/index.js +21 -21
  76. package/dist/platform/auth/index.mjs +3 -3
  77. package/dist/platform/billing/index.js +3 -3
  78. package/dist/platform/billing/index.mjs +2 -2
  79. package/dist/platform/impersonation/index.js +3 -3
  80. package/dist/platform/impersonation/index.mjs +2 -2
  81. package/dist/platform/index.js +74 -74
  82. package/dist/platform/index.mjs +17 -17
  83. package/dist/platform/pages/index.d.mts +235 -3
  84. package/dist/platform/pages/index.d.ts +235 -3
  85. package/dist/platform/pages/index.js +1959 -246
  86. package/dist/platform/pages/index.js.map +1 -1
  87. package/dist/platform/pages/index.mjs +1728 -17
  88. package/dist/platform/pages/index.mjs.map +1 -1
  89. package/dist/platform/settings/index.js +6 -6
  90. package/dist/platform/settings/index.mjs +5 -5
  91. package/dist/platform/workflow-canvas-shell.js +4 -4
  92. package/dist/platform/workflow-canvas-shell.mjs +3 -3
  93. package/package.json +1 -1
  94. package/dist/chunk-MT66VKLS.js.map +0 -1
  95. package/dist/chunk-ZQRUAXGP.mjs.map +0 -1
@@ -209,8 +209,12 @@ type Props$5 = {
209
209
  onCreate: (input: RuleFormValue) => void;
210
210
  onUpdate: (ruleId: string, input: RuleFormValue) => void;
211
211
  onDelete: (rule: AgentRule) => void;
212
+ /** When provided, the "Add Rule" CTA fires this callback instead of
213
+ * opening the in-page modal. Used by the SPA to navigate to the
214
+ * dedicated `/rules/new` wizard. */
215
+ onAddClick?: () => void;
212
216
  };
213
- declare function RulesPageView({ labels, rules, loading, onCreate, onUpdate, onDelete }: Props$5): react_jsx_runtime.JSX.Element;
217
+ declare function RulesPageView({ labels, rules, loading, onCreate, onUpdate, onDelete, onAddClick }: Props$5): react_jsx_runtime.JSX.Element;
214
218
 
215
219
  type Labels = Record<string, string>;
216
220
  type DatasourcesPageViewProps = {
@@ -218,8 +222,12 @@ type DatasourcesPageViewProps = {
218
222
  datasources?: DataSource[];
219
223
  useSampleData?: boolean;
220
224
  onCreate?: (data: DatasourceFormData) => void;
225
+ /** When provided, the "Add Data Source" CTA fires this callback
226
+ * instead of opening the in-page modal. Used by the SPA to navigate
227
+ * to the dedicated `/datasources/new` wizard. */
228
+ onAddClick?: () => void;
221
229
  };
222
- declare function DatasourcesPageView({ labels, datasources: externalDatasources, useSampleData, onCreate, }: DatasourcesPageViewProps): react_jsx_runtime.JSX.Element;
230
+ declare function DatasourcesPageView({ labels, datasources: externalDatasources, useSampleData, onCreate, onAddClick, }: DatasourcesPageViewProps): react_jsx_runtime.JSX.Element;
223
231
 
224
232
  type DashboardLabels = {
225
233
  title: string;
@@ -660,4 +668,228 @@ type AgentNewWizardPageViewProps = {
660
668
  };
661
669
  declare function AgentNewWizardPageView({ labels, models, connections, initialStep, onStepChange, onSubmit, onCancel, }: AgentNewWizardPageViewProps): react_jsx_runtime.JSX.Element;
662
670
 
663
- export { type AgentConfigFormInput, type AgentNewWizardLabels, AgentNewWizardPageView, type AgentNewWizardPageViewProps, type AgentsConfigLabels, AgentsConfigPageView, type AgentsIndexLabels, AgentsIndexPageView, type AgentsModelsLabels, AgentsModelsPageView, type AgentsPromptsLabels, AgentsPromptsPageView, type AgentsToolDefinitionsLabels, AgentsToolDefinitionsPageView, type AgentsWorkspaceLabels, AgentsWorkspacePageView, type AgentsWorkspacePageViewProps, type ConnectionFormValue, type ConnectionsLabels, ConnectionsPageView, type CreateConnectionInput, type CredentialFormInput, CredentialsPageView, type CredentialsPageViewLabels, type DashboardLabels, DashboardPageView, DatasourceFormData, DatasourcesPageView, type DatasourcesPageViewProps, type PromptFormInput, RolesPageView, type RolesPageViewExtraProps, RuleFormValue, type RulesLabels, RulesPageView, type RunTimelineLabels, RunTimelinePageView, TOOL_TYPES, type ToolDefinitionFormInput, type ToolParameter, type ToolType, type UpdateConnectionInput, UsersPageView, type WorkflowRunsLabels, WorkflowRunsPageView, WorkflowsPageView, jsonSchemaToParameters, parametersToJsonSchema };
671
+ type DatasourceNewWizardLabels = {
672
+ pageTitle: string;
673
+ pageSubtitle: string;
674
+ wizardStepCounter: string;
675
+ wizardBack: string;
676
+ wizardNext: string;
677
+ wizardCancel: string;
678
+ wizardCreate: string;
679
+ wizardCancelConfirm: string;
680
+ wizardStep1Title: string;
681
+ wizardStep1Subtitle: string;
682
+ wizardStep2Title: string;
683
+ wizardStep2Subtitle: string;
684
+ wizardStep3Title: string;
685
+ wizardStep3Subtitle: string;
686
+ wizardStep4Title: string;
687
+ wizardStep4Subtitle: string;
688
+ wizardReviewEdit: string;
689
+ categoryRelational: string;
690
+ categoryNoSql: string;
691
+ categoryWarehouse: string;
692
+ categoryTimeSeries: string;
693
+ categoryGraph: string;
694
+ categoryKeyValue: string;
695
+ categorySearch: string;
696
+ fieldName: string;
697
+ fieldNamePlaceholder: string;
698
+ fieldHost: string;
699
+ fieldHostPlaceholder: string;
700
+ fieldPort: string;
701
+ fieldDatabase: string;
702
+ fieldDatabasePlaceholder: string;
703
+ fieldUsername: string;
704
+ fieldUsernamePlaceholder: string;
705
+ fieldPassword: string;
706
+ fieldPasswordPlaceholder: string;
707
+ fieldSchema: string;
708
+ fieldSchemaPlaceholder: string;
709
+ fieldSsl: string;
710
+ fieldReadOnly: string;
711
+ fieldReadOnlyHelp: string;
712
+ fieldConnectionString: string;
713
+ fieldConnectionStringPlaceholder: string;
714
+ fieldProjectId: string;
715
+ fieldProjectIdPlaceholder: string;
716
+ fieldDataset: string;
717
+ fieldDatasetPlaceholder: string;
718
+ fieldKeyFile: string;
719
+ fieldKeyFilePlaceholder: string;
720
+ fieldAccount: string;
721
+ fieldAccountPlaceholder: string;
722
+ fieldWarehouse: string;
723
+ fieldWarehousePlaceholder: string;
724
+ fieldRegion: string;
725
+ fieldRegionPlaceholder: string;
726
+ fieldBucket: string;
727
+ fieldBucketPlaceholder: string;
728
+ fieldToken: string;
729
+ fieldTokenPlaceholder: string;
730
+ fieldApiKey: string;
731
+ fieldApiKeyPlaceholder: string;
732
+ fieldEnvironment: string;
733
+ fieldEnvironmentPlaceholder: string;
734
+ fieldIndex: string;
735
+ fieldIndexPlaceholder: string;
736
+ testConnection: string;
737
+ testing: string;
738
+ connectionSuccess: string;
739
+ connectionFailed: string;
740
+ governanceSectionTitle: string;
741
+ governanceSectionSubtitle: string;
742
+ fieldMaxPoolSize: string;
743
+ fieldMaxPoolSizeHint: string;
744
+ fieldTimeoutMs: string;
745
+ fieldTimeoutMsHint: string;
746
+ fieldAllowedTables: string;
747
+ fieldAllowedTablesHint: string;
748
+ fieldAllowedTablesPlaceholder: string;
749
+ fieldBlockedColumns: string;
750
+ fieldBlockedColumnsHint: string;
751
+ fieldBlockedColumnsPlaceholder: string;
752
+ fieldMaskPii: string;
753
+ fieldMaskPiiDescription: string;
754
+ reviewCategoryLabel: string;
755
+ reviewDialectLabel: string;
756
+ reviewNameLabel: string;
757
+ reviewCredentialsLabel: string;
758
+ reviewCredentialsRedacted: string;
759
+ reviewSslLabel: string;
760
+ reviewReadOnlyLabel: string;
761
+ reviewPoolLabel: string;
762
+ reviewTimeoutLabel: string;
763
+ reviewAllowedTablesLabel: string;
764
+ reviewBlockedColumnsLabel: string;
765
+ reviewMaskPiiLabel: string;
766
+ reviewNoneValue: string;
767
+ reviewYes: string;
768
+ reviewNo: string;
769
+ };
770
+ type DatasourceNewWizardPageViewProps = {
771
+ labels: DatasourceNewWizardLabels;
772
+ /** Reads `?step=N` so refresh restores the active step; defaults to 1. */
773
+ initialStep?: number;
774
+ /** Fires when the user navigates between steps so the host can update the URL. */
775
+ onStepChange?: (step: number) => void;
776
+ /** Called when the user submits the final form. */
777
+ onSubmit: (input: DatasourceFormData) => Promise<void>;
778
+ /** Called when the user clicks Cancel (after the host's confirm dialog runs). */
779
+ onCancel: () => void;
780
+ /** Optional async hook — wired to a real /datasources/test endpoint when one
781
+ * exists. When omitted the wizard simulates success after 1.5s. */
782
+ onTestConnection?: (input: DatasourceFormData) => Promise<boolean>;
783
+ };
784
+ declare function DatasourceNewWizardPageView({ labels, initialStep, onStepChange, onSubmit, onCancel, onTestConnection, }: DatasourceNewWizardPageViewProps): react_jsx_runtime.JSX.Element;
785
+
786
+ type RuleNewWizardLabels = {
787
+ pageTitle: string;
788
+ pageSubtitle: string;
789
+ wizardStepCounter: string;
790
+ wizardBack: string;
791
+ wizardNext: string;
792
+ wizardCancel: string;
793
+ wizardCreate: string;
794
+ wizardCancelConfirm: string;
795
+ wizardStep1Title: string;
796
+ wizardStep1Subtitle: string;
797
+ wizardStep2Title: string;
798
+ wizardStep2Subtitle: string;
799
+ wizardStep3Title: string;
800
+ wizardStep3Subtitle: string;
801
+ wizardStep4Title: string;
802
+ wizardStep4Subtitle: string;
803
+ wizardStep5Title: string;
804
+ wizardStep5Subtitle: string;
805
+ wizardReviewEdit: string;
806
+ nameLabel: string;
807
+ namePlaceholder: string;
808
+ descriptionLabel: string;
809
+ descriptionPlaceholder: string;
810
+ priorityLabel: string;
811
+ priorityLow: string;
812
+ priorityNormal: string;
813
+ priorityHigh: string;
814
+ priorityCritical: string;
815
+ enabledLabel: string;
816
+ conditionSectionTitle: string;
817
+ conditionSectionSubtitle: string;
818
+ combinatorLabel: string;
819
+ combinatorAnd: string;
820
+ combinatorOr: string;
821
+ combinatorNot: string;
822
+ actionSectionTitle: string;
823
+ actionSectionSubtitle: string;
824
+ actionNotifyLabel: string;
825
+ actionNotifyDescription: string;
826
+ actionWebhookLabel: string;
827
+ actionWebhookDescription: string;
828
+ actionMutateLabel: string;
829
+ actionMutateDescription: string;
830
+ actionEscalateLabel: string;
831
+ actionEscalateDescription: string;
832
+ actionRouteLabel: string;
833
+ actionRouteDescription: string;
834
+ actionConfigSubtitle: string;
835
+ scheduleSectionTitle: string;
836
+ scheduleSectionSubtitle: string;
837
+ validFromLabel: string;
838
+ validFromDateLabel: string;
839
+ validFromTimeLabel: string;
840
+ validUntilLabel: string;
841
+ validUntilDateLabel: string;
842
+ validUntilTimeLabel: string;
843
+ noExpiryLabel: string;
844
+ noExpiryDescription: string;
845
+ statusLabel: string;
846
+ statusActive: string;
847
+ statusPaused: string;
848
+ statusArchived: string;
849
+ tagsLabel: string;
850
+ tagsPlaceholder: string;
851
+ tagsHint: string;
852
+ recurrenceLabel: string;
853
+ recurrenceOneOff: string;
854
+ recurrenceCron: string;
855
+ recurrenceRecurring: string;
856
+ cronExpressionLabel: string;
857
+ cronExpressionPlaceholder: string;
858
+ cronExpressionHint: string;
859
+ weekdaysLabel: string;
860
+ weekdayMon: string;
861
+ weekdayTue: string;
862
+ weekdayWed: string;
863
+ weekdayThu: string;
864
+ weekdayFri: string;
865
+ weekdaySat: string;
866
+ weekdaySun: string;
867
+ timeOfDayLabel: string;
868
+ reviewNameLabel: string;
869
+ reviewDescriptionLabel: string;
870
+ reviewPriorityLabel: string;
871
+ reviewEnabledLabel: string;
872
+ reviewConditionLabel: string;
873
+ reviewActionLabel: string;
874
+ reviewValidFromLabel: string;
875
+ reviewValidUntilLabel: string;
876
+ reviewStatusLabel: string;
877
+ reviewTagsLabel: string;
878
+ reviewRecurrenceLabel: string;
879
+ reviewCombinatorLabel: string;
880
+ reviewNoneValue: string;
881
+ reviewYes: string;
882
+ reviewNo: string;
883
+ };
884
+ type RuleNewWizardPageViewProps = {
885
+ labels: RuleNewWizardLabels;
886
+ initialStep?: number;
887
+ onStepChange?: (step: number) => void;
888
+ /** Called with the canonical `RuleFormValue` shape so the host can
889
+ * forward straight to `createAgentRule`. */
890
+ onSubmit: (input: RuleFormValue) => Promise<void>;
891
+ onCancel: () => void;
892
+ };
893
+ declare function RuleNewWizardPageView({ labels, initialStep, onStepChange, onSubmit, onCancel, }: RuleNewWizardPageViewProps): react_jsx_runtime.JSX.Element;
894
+
895
+ export { type AgentConfigFormInput, type AgentNewWizardLabels, AgentNewWizardPageView, type AgentNewWizardPageViewProps, type AgentsConfigLabels, AgentsConfigPageView, type AgentsIndexLabels, AgentsIndexPageView, type AgentsModelsLabels, AgentsModelsPageView, type AgentsPromptsLabels, AgentsPromptsPageView, type AgentsToolDefinitionsLabels, AgentsToolDefinitionsPageView, type AgentsWorkspaceLabels, AgentsWorkspacePageView, type AgentsWorkspacePageViewProps, type ConnectionFormValue, type ConnectionsLabels, ConnectionsPageView, type CreateConnectionInput, type CredentialFormInput, CredentialsPageView, type CredentialsPageViewLabels, type DashboardLabels, DashboardPageView, DatasourceFormData, type DatasourceNewWizardLabels, DatasourceNewWizardPageView, type DatasourceNewWizardPageViewProps, DatasourcesPageView, type DatasourcesPageViewProps, type PromptFormInput, RolesPageView, type RolesPageViewExtraProps, RuleFormValue, type RuleNewWizardLabels, RuleNewWizardPageView, type RuleNewWizardPageViewProps, type RulesLabels, RulesPageView, type RunTimelineLabels, RunTimelinePageView, TOOL_TYPES, type ToolDefinitionFormInput, type ToolParameter, type ToolType, type UpdateConnectionInput, UsersPageView, type WorkflowRunsLabels, WorkflowRunsPageView, WorkflowsPageView, jsonSchemaToParameters, parametersToJsonSchema };
@@ -209,8 +209,12 @@ type Props$5 = {
209
209
  onCreate: (input: RuleFormValue) => void;
210
210
  onUpdate: (ruleId: string, input: RuleFormValue) => void;
211
211
  onDelete: (rule: AgentRule) => void;
212
+ /** When provided, the "Add Rule" CTA fires this callback instead of
213
+ * opening the in-page modal. Used by the SPA to navigate to the
214
+ * dedicated `/rules/new` wizard. */
215
+ onAddClick?: () => void;
212
216
  };
213
- declare function RulesPageView({ labels, rules, loading, onCreate, onUpdate, onDelete }: Props$5): react_jsx_runtime.JSX.Element;
217
+ declare function RulesPageView({ labels, rules, loading, onCreate, onUpdate, onDelete, onAddClick }: Props$5): react_jsx_runtime.JSX.Element;
214
218
 
215
219
  type Labels = Record<string, string>;
216
220
  type DatasourcesPageViewProps = {
@@ -218,8 +222,12 @@ type DatasourcesPageViewProps = {
218
222
  datasources?: DataSource[];
219
223
  useSampleData?: boolean;
220
224
  onCreate?: (data: DatasourceFormData) => void;
225
+ /** When provided, the "Add Data Source" CTA fires this callback
226
+ * instead of opening the in-page modal. Used by the SPA to navigate
227
+ * to the dedicated `/datasources/new` wizard. */
228
+ onAddClick?: () => void;
221
229
  };
222
- declare function DatasourcesPageView({ labels, datasources: externalDatasources, useSampleData, onCreate, }: DatasourcesPageViewProps): react_jsx_runtime.JSX.Element;
230
+ declare function DatasourcesPageView({ labels, datasources: externalDatasources, useSampleData, onCreate, onAddClick, }: DatasourcesPageViewProps): react_jsx_runtime.JSX.Element;
223
231
 
224
232
  type DashboardLabels = {
225
233
  title: string;
@@ -660,4 +668,228 @@ type AgentNewWizardPageViewProps = {
660
668
  };
661
669
  declare function AgentNewWizardPageView({ labels, models, connections, initialStep, onStepChange, onSubmit, onCancel, }: AgentNewWizardPageViewProps): react_jsx_runtime.JSX.Element;
662
670
 
663
- export { type AgentConfigFormInput, type AgentNewWizardLabels, AgentNewWizardPageView, type AgentNewWizardPageViewProps, type AgentsConfigLabels, AgentsConfigPageView, type AgentsIndexLabels, AgentsIndexPageView, type AgentsModelsLabels, AgentsModelsPageView, type AgentsPromptsLabels, AgentsPromptsPageView, type AgentsToolDefinitionsLabels, AgentsToolDefinitionsPageView, type AgentsWorkspaceLabels, AgentsWorkspacePageView, type AgentsWorkspacePageViewProps, type ConnectionFormValue, type ConnectionsLabels, ConnectionsPageView, type CreateConnectionInput, type CredentialFormInput, CredentialsPageView, type CredentialsPageViewLabels, type DashboardLabels, DashboardPageView, DatasourceFormData, DatasourcesPageView, type DatasourcesPageViewProps, type PromptFormInput, RolesPageView, type RolesPageViewExtraProps, RuleFormValue, type RulesLabels, RulesPageView, type RunTimelineLabels, RunTimelinePageView, TOOL_TYPES, type ToolDefinitionFormInput, type ToolParameter, type ToolType, type UpdateConnectionInput, UsersPageView, type WorkflowRunsLabels, WorkflowRunsPageView, WorkflowsPageView, jsonSchemaToParameters, parametersToJsonSchema };
671
+ type DatasourceNewWizardLabels = {
672
+ pageTitle: string;
673
+ pageSubtitle: string;
674
+ wizardStepCounter: string;
675
+ wizardBack: string;
676
+ wizardNext: string;
677
+ wizardCancel: string;
678
+ wizardCreate: string;
679
+ wizardCancelConfirm: string;
680
+ wizardStep1Title: string;
681
+ wizardStep1Subtitle: string;
682
+ wizardStep2Title: string;
683
+ wizardStep2Subtitle: string;
684
+ wizardStep3Title: string;
685
+ wizardStep3Subtitle: string;
686
+ wizardStep4Title: string;
687
+ wizardStep4Subtitle: string;
688
+ wizardReviewEdit: string;
689
+ categoryRelational: string;
690
+ categoryNoSql: string;
691
+ categoryWarehouse: string;
692
+ categoryTimeSeries: string;
693
+ categoryGraph: string;
694
+ categoryKeyValue: string;
695
+ categorySearch: string;
696
+ fieldName: string;
697
+ fieldNamePlaceholder: string;
698
+ fieldHost: string;
699
+ fieldHostPlaceholder: string;
700
+ fieldPort: string;
701
+ fieldDatabase: string;
702
+ fieldDatabasePlaceholder: string;
703
+ fieldUsername: string;
704
+ fieldUsernamePlaceholder: string;
705
+ fieldPassword: string;
706
+ fieldPasswordPlaceholder: string;
707
+ fieldSchema: string;
708
+ fieldSchemaPlaceholder: string;
709
+ fieldSsl: string;
710
+ fieldReadOnly: string;
711
+ fieldReadOnlyHelp: string;
712
+ fieldConnectionString: string;
713
+ fieldConnectionStringPlaceholder: string;
714
+ fieldProjectId: string;
715
+ fieldProjectIdPlaceholder: string;
716
+ fieldDataset: string;
717
+ fieldDatasetPlaceholder: string;
718
+ fieldKeyFile: string;
719
+ fieldKeyFilePlaceholder: string;
720
+ fieldAccount: string;
721
+ fieldAccountPlaceholder: string;
722
+ fieldWarehouse: string;
723
+ fieldWarehousePlaceholder: string;
724
+ fieldRegion: string;
725
+ fieldRegionPlaceholder: string;
726
+ fieldBucket: string;
727
+ fieldBucketPlaceholder: string;
728
+ fieldToken: string;
729
+ fieldTokenPlaceholder: string;
730
+ fieldApiKey: string;
731
+ fieldApiKeyPlaceholder: string;
732
+ fieldEnvironment: string;
733
+ fieldEnvironmentPlaceholder: string;
734
+ fieldIndex: string;
735
+ fieldIndexPlaceholder: string;
736
+ testConnection: string;
737
+ testing: string;
738
+ connectionSuccess: string;
739
+ connectionFailed: string;
740
+ governanceSectionTitle: string;
741
+ governanceSectionSubtitle: string;
742
+ fieldMaxPoolSize: string;
743
+ fieldMaxPoolSizeHint: string;
744
+ fieldTimeoutMs: string;
745
+ fieldTimeoutMsHint: string;
746
+ fieldAllowedTables: string;
747
+ fieldAllowedTablesHint: string;
748
+ fieldAllowedTablesPlaceholder: string;
749
+ fieldBlockedColumns: string;
750
+ fieldBlockedColumnsHint: string;
751
+ fieldBlockedColumnsPlaceholder: string;
752
+ fieldMaskPii: string;
753
+ fieldMaskPiiDescription: string;
754
+ reviewCategoryLabel: string;
755
+ reviewDialectLabel: string;
756
+ reviewNameLabel: string;
757
+ reviewCredentialsLabel: string;
758
+ reviewCredentialsRedacted: string;
759
+ reviewSslLabel: string;
760
+ reviewReadOnlyLabel: string;
761
+ reviewPoolLabel: string;
762
+ reviewTimeoutLabel: string;
763
+ reviewAllowedTablesLabel: string;
764
+ reviewBlockedColumnsLabel: string;
765
+ reviewMaskPiiLabel: string;
766
+ reviewNoneValue: string;
767
+ reviewYes: string;
768
+ reviewNo: string;
769
+ };
770
+ type DatasourceNewWizardPageViewProps = {
771
+ labels: DatasourceNewWizardLabels;
772
+ /** Reads `?step=N` so refresh restores the active step; defaults to 1. */
773
+ initialStep?: number;
774
+ /** Fires when the user navigates between steps so the host can update the URL. */
775
+ onStepChange?: (step: number) => void;
776
+ /** Called when the user submits the final form. */
777
+ onSubmit: (input: DatasourceFormData) => Promise<void>;
778
+ /** Called when the user clicks Cancel (after the host's confirm dialog runs). */
779
+ onCancel: () => void;
780
+ /** Optional async hook — wired to a real /datasources/test endpoint when one
781
+ * exists. When omitted the wizard simulates success after 1.5s. */
782
+ onTestConnection?: (input: DatasourceFormData) => Promise<boolean>;
783
+ };
784
+ declare function DatasourceNewWizardPageView({ labels, initialStep, onStepChange, onSubmit, onCancel, onTestConnection, }: DatasourceNewWizardPageViewProps): react_jsx_runtime.JSX.Element;
785
+
786
+ type RuleNewWizardLabels = {
787
+ pageTitle: string;
788
+ pageSubtitle: string;
789
+ wizardStepCounter: string;
790
+ wizardBack: string;
791
+ wizardNext: string;
792
+ wizardCancel: string;
793
+ wizardCreate: string;
794
+ wizardCancelConfirm: string;
795
+ wizardStep1Title: string;
796
+ wizardStep1Subtitle: string;
797
+ wizardStep2Title: string;
798
+ wizardStep2Subtitle: string;
799
+ wizardStep3Title: string;
800
+ wizardStep3Subtitle: string;
801
+ wizardStep4Title: string;
802
+ wizardStep4Subtitle: string;
803
+ wizardStep5Title: string;
804
+ wizardStep5Subtitle: string;
805
+ wizardReviewEdit: string;
806
+ nameLabel: string;
807
+ namePlaceholder: string;
808
+ descriptionLabel: string;
809
+ descriptionPlaceholder: string;
810
+ priorityLabel: string;
811
+ priorityLow: string;
812
+ priorityNormal: string;
813
+ priorityHigh: string;
814
+ priorityCritical: string;
815
+ enabledLabel: string;
816
+ conditionSectionTitle: string;
817
+ conditionSectionSubtitle: string;
818
+ combinatorLabel: string;
819
+ combinatorAnd: string;
820
+ combinatorOr: string;
821
+ combinatorNot: string;
822
+ actionSectionTitle: string;
823
+ actionSectionSubtitle: string;
824
+ actionNotifyLabel: string;
825
+ actionNotifyDescription: string;
826
+ actionWebhookLabel: string;
827
+ actionWebhookDescription: string;
828
+ actionMutateLabel: string;
829
+ actionMutateDescription: string;
830
+ actionEscalateLabel: string;
831
+ actionEscalateDescription: string;
832
+ actionRouteLabel: string;
833
+ actionRouteDescription: string;
834
+ actionConfigSubtitle: string;
835
+ scheduleSectionTitle: string;
836
+ scheduleSectionSubtitle: string;
837
+ validFromLabel: string;
838
+ validFromDateLabel: string;
839
+ validFromTimeLabel: string;
840
+ validUntilLabel: string;
841
+ validUntilDateLabel: string;
842
+ validUntilTimeLabel: string;
843
+ noExpiryLabel: string;
844
+ noExpiryDescription: string;
845
+ statusLabel: string;
846
+ statusActive: string;
847
+ statusPaused: string;
848
+ statusArchived: string;
849
+ tagsLabel: string;
850
+ tagsPlaceholder: string;
851
+ tagsHint: string;
852
+ recurrenceLabel: string;
853
+ recurrenceOneOff: string;
854
+ recurrenceCron: string;
855
+ recurrenceRecurring: string;
856
+ cronExpressionLabel: string;
857
+ cronExpressionPlaceholder: string;
858
+ cronExpressionHint: string;
859
+ weekdaysLabel: string;
860
+ weekdayMon: string;
861
+ weekdayTue: string;
862
+ weekdayWed: string;
863
+ weekdayThu: string;
864
+ weekdayFri: string;
865
+ weekdaySat: string;
866
+ weekdaySun: string;
867
+ timeOfDayLabel: string;
868
+ reviewNameLabel: string;
869
+ reviewDescriptionLabel: string;
870
+ reviewPriorityLabel: string;
871
+ reviewEnabledLabel: string;
872
+ reviewConditionLabel: string;
873
+ reviewActionLabel: string;
874
+ reviewValidFromLabel: string;
875
+ reviewValidUntilLabel: string;
876
+ reviewStatusLabel: string;
877
+ reviewTagsLabel: string;
878
+ reviewRecurrenceLabel: string;
879
+ reviewCombinatorLabel: string;
880
+ reviewNoneValue: string;
881
+ reviewYes: string;
882
+ reviewNo: string;
883
+ };
884
+ type RuleNewWizardPageViewProps = {
885
+ labels: RuleNewWizardLabels;
886
+ initialStep?: number;
887
+ onStepChange?: (step: number) => void;
888
+ /** Called with the canonical `RuleFormValue` shape so the host can
889
+ * forward straight to `createAgentRule`. */
890
+ onSubmit: (input: RuleFormValue) => Promise<void>;
891
+ onCancel: () => void;
892
+ };
893
+ declare function RuleNewWizardPageView({ labels, initialStep, onStepChange, onSubmit, onCancel, }: RuleNewWizardPageViewProps): react_jsx_runtime.JSX.Element;
894
+
895
+ export { type AgentConfigFormInput, type AgentNewWizardLabels, AgentNewWizardPageView, type AgentNewWizardPageViewProps, type AgentsConfigLabels, AgentsConfigPageView, type AgentsIndexLabels, AgentsIndexPageView, type AgentsModelsLabels, AgentsModelsPageView, type AgentsPromptsLabels, AgentsPromptsPageView, type AgentsToolDefinitionsLabels, AgentsToolDefinitionsPageView, type AgentsWorkspaceLabels, AgentsWorkspacePageView, type AgentsWorkspacePageViewProps, type ConnectionFormValue, type ConnectionsLabels, ConnectionsPageView, type CreateConnectionInput, type CredentialFormInput, CredentialsPageView, type CredentialsPageViewLabels, type DashboardLabels, DashboardPageView, DatasourceFormData, type DatasourceNewWizardLabels, DatasourceNewWizardPageView, type DatasourceNewWizardPageViewProps, DatasourcesPageView, type DatasourcesPageViewProps, type PromptFormInput, RolesPageView, type RolesPageViewExtraProps, RuleFormValue, type RuleNewWizardLabels, RuleNewWizardPageView, type RuleNewWizardPageViewProps, type RulesLabels, RulesPageView, type RunTimelineLabels, RunTimelinePageView, TOOL_TYPES, type ToolDefinitionFormInput, type ToolParameter, type ToolType, type UpdateConnectionInput, UsersPageView, type WorkflowRunsLabels, WorkflowRunsPageView, WorkflowsPageView, jsonSchemaToParameters, parametersToJsonSchema };