@oneuptime/common 10.0.39 → 10.0.40
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/Models/AnalyticsModels/Index.ts +4 -0
- package/Models/AnalyticsModels/Profile.ts +687 -0
- package/Models/AnalyticsModels/ProfileSample.ts +547 -0
- package/Models/DatabaseModels/Dashboard.ts +357 -0
- package/Models/DatabaseModels/DashboardDomain.ts +658 -0
- package/Models/DatabaseModels/Index.ts +2 -0
- package/Models/DatabaseModels/StatusPage.ts +41 -0
- package/Server/API/DashboardAPI.ts +408 -0
- package/Server/API/DashboardDomainAPI.ts +235 -0
- package/Server/API/StatusPageAPI.ts +36 -2
- package/Server/API/TelemetryAPI.ts +393 -0
- package/Server/EnvironmentConfig.ts +12 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1774524742177-MigrationName.ts +97 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1774524742178-MigrationName.ts +17 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1774524742179-MigrationName.ts +50 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1774559064919-MigrationName.ts +59 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/Index.ts +8 -0
- package/Server/Middleware/UserAuthorization.ts +96 -1
- package/Server/Services/DashboardDomainService.ts +647 -0
- package/Server/Services/DashboardService.ts +174 -3
- package/Server/Services/IncidentService.ts +295 -50
- package/Server/Services/IncidentStateTimelineService.ts +1 -0
- package/Server/Services/Index.ts +6 -0
- package/Server/Services/MonitorService.ts +5 -0
- package/Server/Services/ProfileAggregationService.ts +559 -0
- package/Server/Services/ProfileSampleService.ts +11 -0
- package/Server/Services/ProfileService.ts +11 -0
- package/Server/Services/TelemetryUsageBillingService.ts +77 -3
- package/Server/Services/WorkspaceNotificationSummaryService.ts +15 -1
- package/Server/Types/Billing/MeteredPlan/AllMeteredPlans.ts +9 -0
- package/Server/Utils/Cookie.ts +48 -0
- package/Server/Utils/Monitor/Criteria/ProfileMonitorCriteria.ts +34 -0
- package/Server/Utils/Monitor/DataToProcess.ts +3 -1
- package/Server/Utils/Monitor/MonitorCriteriaEvaluator.ts +299 -0
- package/Server/Utils/Profile/PprofEncoder.ts +225 -0
- package/Server/Utils/Workspace/MicrosoftTeams/MicrosoftTeams.ts +53 -16
- package/Server/Utils/Workspace/Slack/Slack.ts +26 -6
- package/ServiceRoute.ts +2 -0
- package/Types/AnalyticsDatabase/AnalyticsTableName.ts +2 -0
- package/Types/CookieName.ts +1 -0
- package/Types/Dashboard/Chart/ChartType.ts +5 -0
- package/Types/Dashboard/DashboardComponentType.ts +4 -0
- package/Types/Dashboard/DashboardComponents/ComponentArgument.ts +10 -0
- package/Types/Dashboard/DashboardComponents/DashboardChartComponent.ts +1 -2
- package/Types/Dashboard/DashboardComponents/DashboardGaugeComponent.ts +17 -0
- package/Types/Dashboard/DashboardComponents/DashboardLogStreamComponent.ts +15 -0
- package/Types/Dashboard/DashboardComponents/DashboardTableComponent.ts +14 -0
- package/Types/Dashboard/DashboardComponents/DashboardTextComponent.ts +1 -0
- package/Types/Dashboard/DashboardComponents/DashboardTraceListComponent.ts +13 -0
- package/Types/Dashboard/DashboardComponents/DashboardValueComponent.ts +2 -0
- package/Types/Dashboard/DashboardTemplates.ts +964 -0
- package/Types/Dashboard/DashboardVariable.ts +23 -0
- package/Types/Dashboard/DashboardViewConfig.ts +59 -0
- package/Types/Dashboard/MasterPassword.ts +10 -0
- package/Types/Icon/IconProp.ts +1 -0
- package/Types/Incident/IncidentMetricType.ts +3 -0
- package/Types/MeteredPlan/ProductType.ts +1 -0
- package/Types/Metrics/MetricQueryConfigData.ts +3 -0
- package/Types/Monitor/CriteriaFilter.ts +3 -0
- package/Types/Monitor/KubernetesAlertTemplates.ts +78 -7
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.ts +20 -0
- package/Types/Monitor/MonitorStep.ts +25 -0
- package/Types/Monitor/MonitorStepProfileMonitor.ts +96 -0
- package/Types/Monitor/MonitorType.ts +11 -0
- package/Types/Monitor/ProfileMonitor/ProfileMonitorResponse.ts +12 -0
- package/Types/Permission.ts +87 -0
- package/Types/Telemetry/TelemetryType.ts +1 -0
- package/Types/Workspace/NotificationSummary/WorkspaceNotificationSummaryItem.ts +1 -0
- package/UI/Components/Button/Button.tsx +1 -1
- package/UI/Components/Card/Card.tsx +8 -4
- package/UI/Components/Charts/Area/AreaChart.tsx +4 -0
- package/UI/Components/Charts/Bar/BarChart.tsx +4 -0
- package/UI/Components/Charts/ChartLibrary/AreaChart/AreaChart.tsx +26 -0
- package/UI/Components/Charts/ChartLibrary/BarChart/BarChart.tsx +26 -0
- package/UI/Components/Charts/ChartLibrary/LineChart/LineChart.tsx +26 -0
- package/UI/Components/Charts/Line/LineChart.tsx +4 -0
- package/UI/Components/Charts/Types/ReferenceLineProps.ts +6 -0
- package/UI/Components/Icon/Icon.tsx +33 -0
- package/UI/Components/ModelTable/BaseModelTable.tsx +13 -10
- package/UI/Components/MoreMenu/MoreMenu.tsx +15 -2
- package/UI/Components/MoreMenu/MoreMenuItem.tsx +4 -4
- package/UI/Components/Workflow/Component.tsx +450 -209
- package/UI/Components/Workflow/ComponentPortViewer.tsx +57 -20
- package/UI/Components/Workflow/ComponentReturnValueViewer.tsx +65 -25
- package/UI/Components/Workflow/ComponentSettingsModal.tsx +202 -37
- package/UI/Components/Workflow/ComponentsModal.tsx +180 -93
- package/UI/Components/Workflow/Workflow.tsx +105 -9
- package/UI/Config.ts +9 -0
- package/Utils/Dashboard/Components/DashboardChartComponent.ts +53 -22
- package/Utils/Dashboard/Components/DashboardGaugeComponent.ts +124 -0
- package/Utils/Dashboard/Components/DashboardLogStreamComponent.ts +110 -0
- package/Utils/Dashboard/Components/DashboardTableComponent.ts +86 -0
- package/Utils/Dashboard/Components/DashboardTextComponent.ts +32 -7
- package/Utils/Dashboard/Components/DashboardTraceListComponent.ts +86 -0
- package/Utils/Dashboard/Components/DashboardValueComponent.ts +39 -3
- package/Utils/Dashboard/Components/Index.ts +28 -0
- package/Utils/ValueFormatter.ts +170 -0
- package/build/dist/Models/AnalyticsModels/Index.js +4 -0
- package/build/dist/Models/AnalyticsModels/Index.js.map +1 -1
- package/build/dist/Models/AnalyticsModels/Profile.js +621 -0
- package/build/dist/Models/AnalyticsModels/Profile.js.map +1 -0
- package/build/dist/Models/AnalyticsModels/ProfileSample.js +497 -0
- package/build/dist/Models/AnalyticsModels/ProfileSample.js.map +1 -0
- package/build/dist/Models/DatabaseModels/Dashboard.js +365 -0
- package/build/dist/Models/DatabaseModels/Dashboard.js.map +1 -1
- package/build/dist/Models/DatabaseModels/DashboardDomain.js +691 -0
- package/build/dist/Models/DatabaseModels/DashboardDomain.js.map +1 -0
- package/build/dist/Models/DatabaseModels/Index.js +2 -0
- package/build/dist/Models/DatabaseModels/Index.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPage.js +42 -0
- package/build/dist/Models/DatabaseModels/StatusPage.js.map +1 -1
- package/build/dist/Server/API/DashboardAPI.js +293 -0
- package/build/dist/Server/API/DashboardAPI.js.map +1 -0
- package/build/dist/Server/API/DashboardDomainAPI.js +124 -0
- package/build/dist/Server/API/DashboardDomainAPI.js.map +1 -0
- package/build/dist/Server/API/StatusPageAPI.js +26 -2
- package/build/dist/Server/API/StatusPageAPI.js.map +1 -1
- package/build/dist/Server/API/TelemetryAPI.js +222 -0
- package/build/dist/Server/API/TelemetryAPI.js.map +1 -1
- package/build/dist/Server/EnvironmentConfig.js +4 -0
- package/build/dist/Server/EnvironmentConfig.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1774524742177-MigrationName.js +40 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1774524742177-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1774524742178-MigrationName.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1774524742178-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1774524742179-MigrationName.js +23 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1774524742179-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1774559064919-MigrationName.js +26 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1774559064919-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js +8 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js.map +1 -1
- package/build/dist/Server/Middleware/UserAuthorization.js +41 -0
- package/build/dist/Server/Middleware/UserAuthorization.js.map +1 -1
- package/build/dist/Server/Services/DashboardDomainService.js +595 -0
- package/build/dist/Server/Services/DashboardDomainService.js.map +1 -0
- package/build/dist/Server/Services/DashboardService.js +117 -3
- package/build/dist/Server/Services/DashboardService.js.map +1 -1
- package/build/dist/Server/Services/IncidentService.js +231 -55
- package/build/dist/Server/Services/IncidentService.js.map +1 -1
- package/build/dist/Server/Services/IncidentStateTimelineService.js +1 -1
- package/build/dist/Server/Services/IncidentStateTimelineService.js.map +1 -1
- package/build/dist/Server/Services/Index.js +6 -0
- package/build/dist/Server/Services/Index.js.map +1 -1
- package/build/dist/Server/Services/MonitorService.js +5 -2
- package/build/dist/Server/Services/MonitorService.js.map +1 -1
- package/build/dist/Server/Services/ProfileAggregationService.js +356 -0
- package/build/dist/Server/Services/ProfileAggregationService.js.map +1 -0
- package/build/dist/Server/Services/ProfileSampleService.js +9 -0
- package/build/dist/Server/Services/ProfileSampleService.js.map +1 -0
- package/build/dist/Server/Services/ProfileService.js +9 -0
- package/build/dist/Server/Services/ProfileService.js.map +1 -0
- package/build/dist/Server/Services/TelemetryUsageBillingService.js +61 -4
- package/build/dist/Server/Services/TelemetryUsageBillingService.js.map +1 -1
- package/build/dist/Server/Services/WorkspaceNotificationSummaryService.js +13 -1
- package/build/dist/Server/Services/WorkspaceNotificationSummaryService.js.map +1 -1
- package/build/dist/Server/Types/Billing/MeteredPlan/AllMeteredPlans.js +8 -0
- package/build/dist/Server/Types/Billing/MeteredPlan/AllMeteredPlans.js.map +1 -1
- package/build/dist/Server/Utils/Cookie.js +36 -0
- package/build/dist/Server/Utils/Cookie.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/Criteria/ProfileMonitorCriteria.js +34 -0
- package/build/dist/Server/Utils/Monitor/Criteria/ProfileMonitorCriteria.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/MonitorCriteriaEvaluator.js +173 -0
- package/build/dist/Server/Utils/Monitor/MonitorCriteriaEvaluator.js.map +1 -1
- package/build/dist/Server/Utils/Profile/PprofEncoder.js +129 -0
- package/build/dist/Server/Utils/Profile/PprofEncoder.js.map +1 -0
- package/build/dist/Server/Utils/Workspace/MicrosoftTeams/MicrosoftTeams.js +36 -14
- package/build/dist/Server/Utils/Workspace/MicrosoftTeams/MicrosoftTeams.js.map +1 -1
- package/build/dist/Server/Utils/Workspace/Slack/Slack.js +23 -6
- package/build/dist/Server/Utils/Workspace/Slack/Slack.js.map +1 -1
- package/build/dist/ServiceRoute.js +1 -0
- package/build/dist/ServiceRoute.js.map +1 -1
- package/build/dist/Types/AnalyticsDatabase/AnalyticsTableName.js +2 -0
- package/build/dist/Types/AnalyticsDatabase/AnalyticsTableName.js.map +1 -1
- package/build/dist/Types/CookieName.js +1 -0
- package/build/dist/Types/CookieName.js.map +1 -1
- package/build/dist/Types/Dashboard/Chart/ChartType.js +5 -0
- package/build/dist/Types/Dashboard/Chart/ChartType.js.map +1 -1
- package/build/dist/Types/Dashboard/DashboardComponentType.js +4 -0
- package/build/dist/Types/Dashboard/DashboardComponentType.js.map +1 -1
- package/build/dist/Types/Dashboard/DashboardComponents/ComponentArgument.js +1 -0
- package/build/dist/Types/Dashboard/DashboardComponents/ComponentArgument.js.map +1 -1
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardGaugeComponent.js +2 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardGaugeComponent.js.map +1 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardLogStreamComponent.js +2 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardLogStreamComponent.js.map +1 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardTableComponent.js +2 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardTableComponent.js.map +1 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardTraceListComponent.js +2 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardTraceListComponent.js.map +1 -0
- package/build/dist/Types/Dashboard/DashboardTemplates.js +853 -0
- package/build/dist/Types/Dashboard/DashboardTemplates.js.map +1 -0
- package/build/dist/Types/Dashboard/DashboardVariable.js +7 -0
- package/build/dist/Types/Dashboard/DashboardVariable.js.map +1 -0
- package/build/dist/Types/Dashboard/DashboardViewConfig.js +50 -1
- package/build/dist/Types/Dashboard/DashboardViewConfig.js.map +1 -1
- package/build/dist/Types/Dashboard/MasterPassword.js +5 -0
- package/build/dist/Types/Dashboard/MasterPassword.js.map +1 -0
- package/build/dist/Types/Icon/IconProp.js +1 -0
- package/build/dist/Types/Icon/IconProp.js.map +1 -1
- package/build/dist/Types/Incident/IncidentMetricType.js +3 -0
- package/build/dist/Types/Incident/IncidentMetricType.js.map +1 -1
- package/build/dist/Types/MeteredPlan/ProductType.js +1 -0
- package/build/dist/Types/MeteredPlan/ProductType.js.map +1 -1
- package/build/dist/Types/Metrics/MetricQueryConfigData.js +1 -0
- package/build/dist/Types/Metrics/MetricQueryConfigData.js.map +1 -1
- package/build/dist/Types/Monitor/CriteriaFilter.js +2 -0
- package/build/dist/Types/Monitor/CriteriaFilter.js.map +1 -1
- package/build/dist/Types/Monitor/KubernetesAlertTemplates.js +58 -7
- package/build/dist/Types/Monitor/KubernetesAlertTemplates.js.map +1 -1
- package/build/dist/Types/Monitor/MonitorStep.js +15 -0
- package/build/dist/Types/Monitor/MonitorStep.js.map +1 -1
- package/build/dist/Types/Monitor/MonitorStepProfileMonitor.js +59 -0
- package/build/dist/Types/Monitor/MonitorStepProfileMonitor.js.map +1 -0
- package/build/dist/Types/Monitor/MonitorType.js +10 -0
- package/build/dist/Types/Monitor/MonitorType.js.map +1 -1
- package/build/dist/Types/Monitor/ProfileMonitor/ProfileMonitorResponse.js +2 -0
- package/build/dist/Types/Monitor/ProfileMonitor/ProfileMonitorResponse.js.map +1 -0
- package/build/dist/Types/Permission.js +75 -0
- package/build/dist/Types/Permission.js.map +1 -1
- package/build/dist/Types/Telemetry/TelemetryType.js +1 -0
- package/build/dist/Types/Telemetry/TelemetryType.js.map +1 -1
- package/build/dist/Types/Workspace/NotificationSummary/WorkspaceNotificationSummaryItem.js +1 -0
- package/build/dist/Types/Workspace/NotificationSummary/WorkspaceNotificationSummaryItem.js.map +1 -1
- package/build/dist/UI/Components/Button/Button.js +1 -1
- package/build/dist/UI/Components/Button/Button.js.map +1 -1
- package/build/dist/UI/Components/Card/Card.js +4 -4
- package/build/dist/UI/Components/Card/Card.js.map +1 -1
- package/build/dist/UI/Components/Charts/Area/AreaChart.js +1 -1
- package/build/dist/UI/Components/Charts/Area/AreaChart.js.map +1 -1
- package/build/dist/UI/Components/Charts/Bar/BarChart.js +1 -1
- package/build/dist/UI/Components/Charts/Bar/BarChart.js.map +1 -1
- package/build/dist/UI/Components/Charts/ChartLibrary/AreaChart/AreaChart.js +5 -2
- package/build/dist/UI/Components/Charts/ChartLibrary/AreaChart/AreaChart.js.map +1 -1
- package/build/dist/UI/Components/Charts/ChartLibrary/BarChart/BarChart.js +5 -2
- package/build/dist/UI/Components/Charts/ChartLibrary/BarChart/BarChart.js.map +1 -1
- package/build/dist/UI/Components/Charts/ChartLibrary/LineChart/LineChart.js +6 -3
- package/build/dist/UI/Components/Charts/ChartLibrary/LineChart/LineChart.js.map +1 -1
- package/build/dist/UI/Components/Charts/Line/LineChart.js +1 -1
- package/build/dist/UI/Components/Charts/Line/LineChart.js.map +1 -1
- package/build/dist/UI/Components/Charts/Types/ReferenceLineProps.js +2 -0
- package/build/dist/UI/Components/Charts/Types/ReferenceLineProps.js.map +1 -0
- package/build/dist/UI/Components/Icon/Icon.js +11 -0
- package/build/dist/UI/Components/Icon/Icon.js.map +1 -1
- package/build/dist/UI/Components/ModelTable/BaseModelTable.js +12 -9
- package/build/dist/UI/Components/ModelTable/BaseModelTable.js.map +1 -1
- package/build/dist/UI/Components/MoreMenu/MoreMenu.js +8 -2
- package/build/dist/UI/Components/MoreMenu/MoreMenu.js.map +1 -1
- package/build/dist/UI/Components/MoreMenu/MoreMenuItem.js +4 -4
- package/build/dist/UI/Components/MoreMenu/MoreMenuItem.js.map +1 -1
- package/build/dist/UI/Components/Workflow/Component.js +311 -143
- package/build/dist/UI/Components/Workflow/Component.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ComponentPortViewer.js +44 -18
- package/build/dist/UI/Components/Workflow/ComponentPortViewer.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ComponentReturnValueViewer.js +48 -22
- package/build/dist/UI/Components/Workflow/ComponentReturnValueViewer.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ComponentSettingsModal.js +127 -21
- package/build/dist/UI/Components/Workflow/ComponentSettingsModal.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ComponentsModal.js +107 -52
- package/build/dist/UI/Components/Workflow/ComponentsModal.js.map +1 -1
- package/build/dist/UI/Components/Workflow/Workflow.js +87 -12
- package/build/dist/UI/Components/Workflow/Workflow.js.map +1 -1
- package/build/dist/UI/Config.js +3 -1
- package/build/dist/UI/Config.js.map +1 -1
- package/build/dist/Utils/Dashboard/Components/DashboardChartComponent.js +50 -21
- package/build/dist/Utils/Dashboard/Components/DashboardChartComponent.js.map +1 -1
- package/build/dist/Utils/Dashboard/Components/DashboardGaugeComponent.js +104 -0
- package/build/dist/Utils/Dashboard/Components/DashboardGaugeComponent.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/DashboardLogStreamComponent.js +91 -0
- package/build/dist/Utils/Dashboard/Components/DashboardLogStreamComponent.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/DashboardTableComponent.js +70 -0
- package/build/dist/Utils/Dashboard/Components/DashboardTableComponent.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/DashboardTextComponent.js +28 -7
- package/build/dist/Utils/Dashboard/Components/DashboardTextComponent.js.map +1 -1
- package/build/dist/Utils/Dashboard/Components/DashboardTraceListComponent.js +70 -0
- package/build/dist/Utils/Dashboard/Components/DashboardTraceListComponent.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/DashboardValueComponent.js +34 -3
- package/build/dist/Utils/Dashboard/Components/DashboardValueComponent.js.map +1 -1
- package/build/dist/Utils/Dashboard/Components/Index.js +16 -0
- package/build/dist/Utils/Dashboard/Components/Index.js.map +1 -1
- package/build/dist/Utils/ValueFormatter.js +132 -0
- package/build/dist/Utils/ValueFormatter.js.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComponentPortViewer.js","sourceRoot":"","sources":["../../../../../UI/Components/Workflow/ComponentPortViewer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ComponentPortViewer.js","sourceRoot":"","sources":["../../../../../UI/Components/Workflow/ComponentPortViewer.tsx"],"names":[],"mappings":"AACA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAQ/D,MAAM,mBAAmB,GAAsC,CAC7D,KAAqB,EACP,EAAE;IAChB,OAAO,CACL,6BAAK,SAAS,EAAC,WAAW;QACxB,4BAAI,SAAS,EAAC,qCAAqC,IAAE,KAAK,CAAC,IAAI,CAAM;QACrE,2BAAG,SAAS,EAAC,4BAA4B,IAAE,KAAK,CAAC,WAAW,CAAK;QAChE,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC,IAAI,CAC1C,2BAAG,SAAS,EAAC,8BAA8B,2BAAyB,CACrE;QACD,iCACG,KAAK,CAAC,KAAK;YACV,KAAK,CAA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CACA,CACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,29 +1,55 @@
|
|
|
1
|
-
import ErrorMessage from "../ErrorMessage/ErrorMessage";
|
|
2
|
-
import Pill from "../Pill/Pill";
|
|
3
|
-
import { Black } from "../../../Types/BrandColors";
|
|
4
1
|
import React from "react";
|
|
5
2
|
const ComponentReturnValueViewer = (props) => {
|
|
6
|
-
return (React.createElement("div", { className: "mt-
|
|
7
|
-
React.createElement("h2", { className: "text-
|
|
8
|
-
React.createElement("p", { className: "text-
|
|
9
|
-
props.returnValues && props.returnValues.length === 0 && (React.createElement(
|
|
10
|
-
React.createElement("div",
|
|
3
|
+
return (React.createElement("div", { className: "mt-3 mb-3" },
|
|
4
|
+
React.createElement("h2", { className: "text-sm font-semibold text-gray-600" }, props.name),
|
|
5
|
+
React.createElement("p", { className: "text-xs text-gray-400 mb-2" }, props.description),
|
|
6
|
+
props.returnValues && props.returnValues.length === 0 && (React.createElement("p", { className: "text-xs text-gray-400 italic" }, "This component does not return any values.")),
|
|
7
|
+
React.createElement("div", null, props.returnValues &&
|
|
11
8
|
props.returnValues.length > 0 &&
|
|
12
9
|
props.returnValues.map((returnValue, i) => {
|
|
13
|
-
return (React.createElement("div", { key: i,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
React.createElement("
|
|
26
|
-
|
|
10
|
+
return (React.createElement("div", { key: i, style: {
|
|
11
|
+
display: "flex",
|
|
12
|
+
alignItems: "center",
|
|
13
|
+
justifyContent: "space-between",
|
|
14
|
+
gap: "0.625rem",
|
|
15
|
+
padding: "0.5rem 0.75rem",
|
|
16
|
+
borderRadius: "8px",
|
|
17
|
+
backgroundColor: "#f8fafc",
|
|
18
|
+
border: "1px solid #f1f5f9",
|
|
19
|
+
marginBottom: "0.375rem",
|
|
20
|
+
} },
|
|
21
|
+
React.createElement("div", { style: { minWidth: 0, flex: 1 } },
|
|
22
|
+
React.createElement("p", { style: {
|
|
23
|
+
fontSize: "0.8125rem",
|
|
24
|
+
fontWeight: 500,
|
|
25
|
+
color: "#334155",
|
|
26
|
+
margin: 0,
|
|
27
|
+
lineHeight: "1.25rem",
|
|
28
|
+
} },
|
|
29
|
+
returnValue.name,
|
|
30
|
+
React.createElement("span", { style: {
|
|
31
|
+
color: "#94a3b8",
|
|
32
|
+
fontWeight: 400,
|
|
33
|
+
fontSize: "0.6875rem",
|
|
34
|
+
marginLeft: "0.375rem",
|
|
35
|
+
fontFamily: 'ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace',
|
|
36
|
+
} }, returnValue.id)),
|
|
37
|
+
returnValue.description && (React.createElement("p", { style: {
|
|
38
|
+
fontSize: "0.75rem",
|
|
39
|
+
color: "#94a3b8",
|
|
40
|
+
margin: 0,
|
|
41
|
+
lineHeight: "1rem",
|
|
42
|
+
} }, returnValue.description))),
|
|
43
|
+
React.createElement("span", { style: {
|
|
44
|
+
fontSize: "0.6875rem",
|
|
45
|
+
fontWeight: 500,
|
|
46
|
+
color: "#6366f1",
|
|
47
|
+
backgroundColor: "#eef2ff",
|
|
48
|
+
padding: "0.125rem 0.5rem",
|
|
49
|
+
borderRadius: "100px",
|
|
50
|
+
whiteSpace: "nowrap",
|
|
51
|
+
border: "1px solid #e0e7ff",
|
|
52
|
+
} }, returnValue.type)));
|
|
27
53
|
}))));
|
|
28
54
|
};
|
|
29
55
|
export default ComponentReturnValueViewer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComponentReturnValueViewer.js","sourceRoot":"","sources":["../../../../../UI/Components/Workflow/ComponentReturnValueViewer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ComponentReturnValueViewer.js","sourceRoot":"","sources":["../../../../../UI/Components/Workflow/ComponentReturnValueViewer.tsx"],"names":[],"mapp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U;oCACtB,UAAU,EACR,2DAA2D;iCAC9D,IAEA,WAAW,CAAC,EAAE,CACV,CACL;wBACH,WAAW,CAAC,WAAW,IAAI,CAC1B,2BACE,KAAK,EAAE;gCACL,QAAQ,EAAE,SAAS;gCACnB,KAAK,EAAE,SAAS;gCAChB,MAAM,EAAE,CAAC;gCACT,UAAU,EAAE,MAAM;6BACnB,IAEA,WAAW,CAAC,WAAW,CACtB,CACL,CACG;oBACN,8BACE,KAAK,EAAE;4BACL,QAAQ,EAAE,WAAW;4BACrB,UAAU,EAAE,GAAG;4BACf,KAAK,EAAE,SAAS;4BAChB,eAAe,EAAE,SAAS;4BAC1B,OAAO,EAAE,iBAAiB;4BAC1B,YAAY,EAAE,OAAO;4BACrB,UAAU,EAAE,QAAQ;4BACpB,MAAM,EAAE,mBAAmB;yBAC5B,IAEA,WAAW,CAAC,IAAI,CACZ,CACH,CACP,CAAC;YACJ,CAAC,CAAC,CACA,CACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import Button, { ButtonStyleType } from "../Button/Button";
|
|
2
|
-
import Divider from "../Divider/Divider";
|
|
3
2
|
import BasicForm from "../Forms/BasicForm";
|
|
4
3
|
import FormFieldSchemaType from "../Forms/Types/FormFieldSchemaType";
|
|
5
4
|
import ConfirmModal from "../Modal/ConfirmModal";
|
|
@@ -10,13 +9,14 @@ import ComponentReturnValueViewer from "./ComponentReturnValueViewer";
|
|
|
10
9
|
import DocumentationViewer from "./DocumentationViewer";
|
|
11
10
|
import IconProp from "../../../Types/Icon/IconProp";
|
|
12
11
|
import React, { useState } from "react";
|
|
12
|
+
import Icon from "../Icon/Icon";
|
|
13
13
|
const ComponentSettingsModal = (props) => {
|
|
14
14
|
const [component, setComponent] = useState(props.component);
|
|
15
15
|
const [hasFormValidationErrors, setHasFormValidationErrors] = useState({});
|
|
16
16
|
const [showDeleteConfirmation, setShowDeleteConfirmation] = useState(false);
|
|
17
17
|
return (React.createElement(SideOver, { title: props.title, description: props.description, onClose: props.onClose, onSubmit: () => {
|
|
18
18
|
return component && props.onSave(component);
|
|
19
|
-
}, leftFooterElement: React.createElement(Button, { title: `Delete
|
|
19
|
+
}, leftFooterElement: React.createElement(Button, { title: `Delete`, icon: IconProp.Trash, buttonStyle: ButtonStyleType.DANGER_OUTLINE, onClick: () => {
|
|
20
20
|
setShowDeleteConfirmation(true);
|
|
21
21
|
} }) },
|
|
22
22
|
React.createElement(React.Fragment, null,
|
|
@@ -27,7 +27,30 @@ const ComponentSettingsModal = (props) => {
|
|
|
27
27
|
setShowDeleteConfirmation(false);
|
|
28
28
|
props.onClose();
|
|
29
29
|
}, submitButtonType: ButtonStyleType.DANGER })),
|
|
30
|
-
React.createElement("div", {
|
|
30
|
+
React.createElement("div", { style: {
|
|
31
|
+
backgroundColor: "#f8fafc",
|
|
32
|
+
borderRadius: "10px",
|
|
33
|
+
border: "1px solid #e2e8f0",
|
|
34
|
+
padding: "1rem",
|
|
35
|
+
marginTop: "0.75rem",
|
|
36
|
+
marginBottom: "1rem",
|
|
37
|
+
} },
|
|
38
|
+
React.createElement("div", { style: {
|
|
39
|
+
display: "flex",
|
|
40
|
+
alignItems: "center",
|
|
41
|
+
gap: "0.5rem",
|
|
42
|
+
marginBottom: "0.5rem",
|
|
43
|
+
} },
|
|
44
|
+
React.createElement(Icon, { icon: IconProp.Label, style: {
|
|
45
|
+
color: "#64748b",
|
|
46
|
+
width: "0.875rem",
|
|
47
|
+
height: "0.875rem",
|
|
48
|
+
} }),
|
|
49
|
+
React.createElement("span", { style: {
|
|
50
|
+
fontSize: "0.8125rem",
|
|
51
|
+
fontWeight: 600,
|
|
52
|
+
color: "#334155",
|
|
53
|
+
} }, "Identity")),
|
|
31
54
|
React.createElement(BasicForm, { hideSubmitButton: true, initialValues: {
|
|
32
55
|
id: component === null || component === void 0 ? void 0 : component.id,
|
|
33
56
|
}, onChange: (values) => {
|
|
@@ -37,7 +60,7 @@ const ComponentSettingsModal = (props) => {
|
|
|
37
60
|
}, fields: [
|
|
38
61
|
{
|
|
39
62
|
title: `${component.metadata.componentType} ID`,
|
|
40
|
-
description:
|
|
63
|
+
description: `Unique identifier used to reference this ${component.metadata.componentType.toLowerCase()} from other components.`,
|
|
41
64
|
field: {
|
|
42
65
|
id: true,
|
|
43
66
|
},
|
|
@@ -45,24 +68,107 @@ const ComponentSettingsModal = (props) => {
|
|
|
45
68
|
fieldType: FormFieldSchemaType.Text,
|
|
46
69
|
},
|
|
47
70
|
] })),
|
|
48
|
-
component.metadata.documentationLink && (React.createElement("div",
|
|
49
|
-
|
|
71
|
+
component.metadata.documentationLink && (React.createElement("div", { style: {
|
|
72
|
+
backgroundColor: "#eff6ff",
|
|
73
|
+
borderRadius: "10px",
|
|
74
|
+
border: "1px solid #bfdbfe",
|
|
75
|
+
padding: "1rem",
|
|
76
|
+
marginBottom: "1rem",
|
|
77
|
+
} },
|
|
78
|
+
React.createElement("div", { style: {
|
|
79
|
+
display: "flex",
|
|
80
|
+
alignItems: "center",
|
|
81
|
+
gap: "0.5rem",
|
|
82
|
+
marginBottom: "0.5rem",
|
|
83
|
+
} },
|
|
84
|
+
React.createElement(Icon, { icon: IconProp.Book, style: {
|
|
85
|
+
color: "#3b82f6",
|
|
86
|
+
width: "0.875rem",
|
|
87
|
+
height: "0.875rem",
|
|
88
|
+
} }),
|
|
89
|
+
React.createElement("span", { style: {
|
|
90
|
+
fontSize: "0.8125rem",
|
|
91
|
+
fontWeight: 600,
|
|
92
|
+
color: "#1e40af",
|
|
93
|
+
} }, "Documentation")),
|
|
50
94
|
React.createElement(DocumentationViewer, { documentationLink: component.metadata.documentationLink, workflowId: props.workflowId }))),
|
|
51
|
-
React.createElement(
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
95
|
+
React.createElement("div", { style: {
|
|
96
|
+
backgroundColor: "#ffffff",
|
|
97
|
+
borderRadius: "10px",
|
|
98
|
+
border: "1px solid #e2e8f0",
|
|
99
|
+
padding: "1rem",
|
|
100
|
+
marginBottom: "1rem",
|
|
101
|
+
} },
|
|
102
|
+
React.createElement("div", { style: {
|
|
103
|
+
display: "flex",
|
|
104
|
+
alignItems: "center",
|
|
105
|
+
gap: "0.5rem",
|
|
106
|
+
marginBottom: "0.75rem",
|
|
107
|
+
} },
|
|
108
|
+
React.createElement(Icon, { icon: IconProp.Settings, style: {
|
|
109
|
+
color: "#64748b",
|
|
110
|
+
width: "0.875rem",
|
|
111
|
+
height: "0.875rem",
|
|
112
|
+
} }),
|
|
113
|
+
React.createElement("span", { style: {
|
|
114
|
+
fontSize: "0.8125rem",
|
|
115
|
+
fontWeight: 600,
|
|
116
|
+
color: "#334155",
|
|
117
|
+
} }, "Configuration")),
|
|
118
|
+
React.createElement(ArgumentsForm, { graphComponents: props.graphComponents, workflowId: props.workflowId, component: component, onFormChange: (component) => {
|
|
119
|
+
setComponent(Object.assign({}, component));
|
|
120
|
+
}, onHasFormValidationErrors: (value) => {
|
|
121
|
+
setHasFormValidationErrors(Object.assign(Object.assign({}, hasFormValidationErrors), value));
|
|
122
|
+
} })),
|
|
123
|
+
React.createElement("div", { style: {
|
|
124
|
+
backgroundColor: "#ffffff",
|
|
125
|
+
borderRadius: "10px",
|
|
126
|
+
border: "1px solid #e2e8f0",
|
|
127
|
+
padding: "1rem",
|
|
128
|
+
marginBottom: "1rem",
|
|
129
|
+
} },
|
|
130
|
+
React.createElement("div", { style: {
|
|
131
|
+
display: "flex",
|
|
132
|
+
alignItems: "center",
|
|
133
|
+
gap: "0.5rem",
|
|
134
|
+
marginBottom: "0.25rem",
|
|
135
|
+
} },
|
|
136
|
+
React.createElement(Icon, { icon: IconProp.Link, style: {
|
|
137
|
+
color: "#64748b",
|
|
138
|
+
width: "0.875rem",
|
|
139
|
+
height: "0.875rem",
|
|
140
|
+
} }),
|
|
141
|
+
React.createElement("span", { style: {
|
|
142
|
+
fontSize: "0.8125rem",
|
|
143
|
+
fontWeight: 600,
|
|
144
|
+
color: "#334155",
|
|
145
|
+
} }, "Connections")),
|
|
146
|
+
React.createElement(ComponentPortViewer, { name: "In Ports", description: "Input connections for this component", ports: component.metadata.inPorts }),
|
|
147
|
+
React.createElement(ComponentPortViewer, { name: "Out Ports", description: "Output connections from this component", ports: component.metadata.outPorts })),
|
|
148
|
+
React.createElement("div", { style: {
|
|
149
|
+
backgroundColor: "#ffffff",
|
|
150
|
+
borderRadius: "10px",
|
|
151
|
+
border: "1px solid #e2e8f0",
|
|
152
|
+
padding: "1rem",
|
|
153
|
+
marginBottom: "1rem",
|
|
154
|
+
} },
|
|
155
|
+
React.createElement("div", { style: {
|
|
156
|
+
display: "flex",
|
|
157
|
+
alignItems: "center",
|
|
158
|
+
gap: "0.5rem",
|
|
159
|
+
marginBottom: "0.25rem",
|
|
160
|
+
} },
|
|
161
|
+
React.createElement(Icon, { icon: IconProp.ArrowCircleRight, style: {
|
|
162
|
+
color: "#64748b",
|
|
163
|
+
width: "0.875rem",
|
|
164
|
+
height: "0.875rem",
|
|
165
|
+
} }),
|
|
166
|
+
React.createElement("span", { style: {
|
|
167
|
+
fontSize: "0.8125rem",
|
|
168
|
+
fontWeight: 600,
|
|
169
|
+
color: "#334155",
|
|
170
|
+
} }, "Output")),
|
|
171
|
+
React.createElement(ComponentReturnValueViewer, { name: "Return Values", description: "Values this component produces for downstream use", returnValues: component.metadata.returnValues })))));
|
|
66
172
|
};
|
|
67
173
|
export default ComponentSettingsModal;
|
|
68
174
|
//# sourceMappingURL=ComponentSettingsModal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComponentSettingsModal.js","sourceRoot":"","sources":["../../../../../UI/Components/Workflow/ComponentSettingsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM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,MAAM,EAAE,UAAU;yBACnB,GACD;oBACF,8BACE,KAAK,EAAE;4BACL,QAAQ,EAAE,WAAW;4BACrB,UAAU,EAAE,GAAG;4BACf,KAAK,EAAE,SAAS;yBACjB,aAGI,CACH;gBACN,oBAAC,0BAA0B,IACzB,IAAI,EAAC,eAAe,EACpB,WAAW,EAAC,mDAAmD,EAC/D,YAAY,EAAE,SAAS,CAAC,QAAQ,CAAC,YAAY,GAC7C,CACE,CACL,CACM,CACZ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -3,8 +3,7 @@ import ErrorMessage from "../ErrorMessage/ErrorMessage";
|
|
|
3
3
|
import Icon from "../Icon/Icon";
|
|
4
4
|
import Input from "../Input/Input";
|
|
5
5
|
import SideOver from "../SideOver/SideOver";
|
|
6
|
-
import
|
|
7
|
-
import { NodeType, } from "../../../Types/Workflow/Component";
|
|
6
|
+
import IconProp from "../../../Types/Icon/IconProp";
|
|
8
7
|
import React, { useEffect, useState, } from "react";
|
|
9
8
|
const ComponentsModal = (props) => {
|
|
10
9
|
const [search, setSearch] = useState("");
|
|
@@ -12,6 +11,7 @@ const ComponentsModal = (props) => {
|
|
|
12
11
|
const [categories, setCategories] = useState([]);
|
|
13
12
|
const [componentsToShow, setComponentsToShow] = useState([]);
|
|
14
13
|
const [isSearching, setIsSearching] = useState(false);
|
|
14
|
+
const [selectedComponentMetadata, setSelectedComponentMetadata] = useState(null);
|
|
15
15
|
useEffect(() => {
|
|
16
16
|
setComponents(props.components);
|
|
17
17
|
setComponentsToShow([...props.components]);
|
|
@@ -43,66 +43,121 @@ const ComponentsModal = (props) => {
|
|
|
43
43
|
}),
|
|
44
44
|
]);
|
|
45
45
|
}, [search]);
|
|
46
|
-
|
|
47
|
-
return (React.createElement(SideOver, { submitButtonText: "Create", title: `Select a ${props.componentsType}`, description: `Please select a component to add to your workflow.`, onClose: props.onCloseModal, submitButtonDisabled: !selectedComponentMetadata, onSubmit: () => {
|
|
46
|
+
return (React.createElement(SideOver, { submitButtonText: "Add to Workflow", title: `Add ${props.componentsType}`, description: `Choose a ${props.componentsType.toLowerCase()} to add to your workflow.`, onClose: props.onCloseModal, submitButtonDisabled: !selectedComponentMetadata, onSubmit: () => {
|
|
48
47
|
return (selectedComponentMetadata &&
|
|
49
48
|
props.onComponentClick(selectedComponentMetadata));
|
|
50
49
|
} },
|
|
51
50
|
React.createElement(React.Fragment, null,
|
|
52
51
|
React.createElement("div", { className: "flex flex-col h-full" },
|
|
53
|
-
React.createElement("div", { className: "mt-
|
|
54
|
-
React.createElement(
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
52
|
+
React.createElement("div", { className: "mt-4 mb-4" },
|
|
53
|
+
React.createElement("div", { className: "relative" },
|
|
54
|
+
React.createElement("div", { className: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none" },
|
|
55
|
+
React.createElement(Icon, { icon: IconProp.Search, className: "h-4 w-4 text-gray-400" })),
|
|
56
|
+
React.createElement("div", { className: "pl-9" },
|
|
57
|
+
React.createElement(Input, { placeholder: `Search ${props.componentsType.toLowerCase()}s...`, onChange: (text) => {
|
|
58
|
+
setIsSearching(true);
|
|
59
|
+
setSearch(text);
|
|
60
|
+
} })))),
|
|
61
|
+
React.createElement("div", { className: "overflow-y-auto overflow-x-hidden flex-1" },
|
|
59
62
|
!componentsToShow ||
|
|
60
|
-
(componentsToShow.length === 0 && (React.createElement("div", { className: "w-full flex justify-center mt-20" },
|
|
61
|
-
React.createElement(ErrorMessage, { message: "No components that match your search. If you are looking for an integration that does not exist currently - you can use Custom Code or API component to build anything you like.
|
|
63
|
+
(componentsToShow.length === 0 && (React.createElement("div", { className: "w-full flex justify-center mt-20 px-4" },
|
|
64
|
+
React.createElement(ErrorMessage, { message: "No components that match your search. If you are looking for an integration that does not exist currently - you can use Custom Code or API component to build anything you like." })))),
|
|
62
65
|
categories &&
|
|
63
66
|
categories.length > 0 &&
|
|
64
67
|
categories.map((category, i) => {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
return (React.createElement("div", { key: i },
|
|
71
|
-
React.createElement("h4", { className: "text-gray-500 text-base mt-5 flex" },
|
|
72
|
-
" ",
|
|
73
|
-
React.createElement(Icon, { icon: category.icon, className: "h-5 w-5 text-gray-500" }),
|
|
74
|
-
" ",
|
|
75
|
-
React.createElement("span", { className: "ml-2" }, category.name)),
|
|
76
|
-
React.createElement("p", { className: "text-gray-400 text-sm mb-5" }, category.description),
|
|
77
|
-
React.createElement("div", { className: "flex flex-wrap ml-2" }, components &&
|
|
78
|
-
components.length > 0 &&
|
|
79
|
-
components
|
|
80
|
-
.filter((componentMetadata) => {
|
|
81
|
-
return (componentMetadata.category === category.name);
|
|
82
|
-
})
|
|
83
|
-
.map((componentMetadata, i) => {
|
|
84
|
-
return (React.createElement("div", { key: i, onClick: () => {
|
|
85
|
-
setSelectedComponentMetadata(componentMetadata);
|
|
86
|
-
}, className: `m-5 ml-0 mt-0 ${selectedComponentMetadata &&
|
|
87
|
-
selectedComponentMetadata.id ===
|
|
88
|
-
componentMetadata.id
|
|
89
|
-
? "rounded ring-offset-2 ring ring-indigo-500"
|
|
90
|
-
: ""}` },
|
|
91
|
-
React.createElement(ComponentElement, { key: i, selected: false, data: {
|
|
92
|
-
metadata: componentMetadata,
|
|
93
|
-
metadataId: componentMetadata.id,
|
|
94
|
-
internalId: "",
|
|
95
|
-
nodeType: NodeType.Node,
|
|
96
|
-
componentType: componentMetadata.componentType,
|
|
97
|
-
returnValues: {},
|
|
98
|
-
isPreview: true,
|
|
99
|
-
id: "",
|
|
100
|
-
error: "",
|
|
101
|
-
arguments: {},
|
|
102
|
-
} })));
|
|
103
|
-
}))));
|
|
68
|
+
const categoryComponents = componentsToShow.filter((componentMetadata) => {
|
|
69
|
+
return componentMetadata.category === category.name;
|
|
70
|
+
});
|
|
71
|
+
if (categoryComponents.length === 0) {
|
|
72
|
+
return React.createElement("div", { key: i });
|
|
104
73
|
}
|
|
105
|
-
return React.createElement("div", { key: i }
|
|
74
|
+
return (React.createElement("div", { key: i, className: "mb-6" },
|
|
75
|
+
React.createElement("div", { className: "flex items-center gap-2 mb-3 px-1" },
|
|
76
|
+
React.createElement("div", { className: "flex items-center justify-center rounded-md", style: {
|
|
77
|
+
width: "28px",
|
|
78
|
+
height: "28px",
|
|
79
|
+
backgroundColor: "#f1f5f9",
|
|
80
|
+
} },
|
|
81
|
+
React.createElement(Icon, { icon: category.icon, className: "h-4 w-4 text-gray-500" })),
|
|
82
|
+
React.createElement("div", null,
|
|
83
|
+
React.createElement("h4", { className: "text-sm font-semibold text-gray-700 leading-tight" }, category.name),
|
|
84
|
+
React.createElement("p", { className: "text-xs text-gray-400 leading-tight" }, category.description))),
|
|
85
|
+
React.createElement("div", { className: "grid grid-cols-1 gap-2" }, categoryComponents.map((componentMetadata, j) => {
|
|
86
|
+
const isSelected = selectedComponentMetadata !== null &&
|
|
87
|
+
selectedComponentMetadata.id ===
|
|
88
|
+
componentMetadata.id;
|
|
89
|
+
return (React.createElement("div", { key: j, onClick: () => {
|
|
90
|
+
setSelectedComponentMetadata(componentMetadata);
|
|
91
|
+
}, className: "cursor-pointer transition-all duration-150", style: {
|
|
92
|
+
padding: "0.75rem",
|
|
93
|
+
borderRadius: "10px",
|
|
94
|
+
border: isSelected
|
|
95
|
+
? "2px solid #6366f1"
|
|
96
|
+
: "1px solid #e2e8f0",
|
|
97
|
+
backgroundColor: isSelected
|
|
98
|
+
? "#eef2ff"
|
|
99
|
+
: "#ffffff",
|
|
100
|
+
display: "flex",
|
|
101
|
+
alignItems: "flex-start",
|
|
102
|
+
gap: "0.75rem",
|
|
103
|
+
boxShadow: isSelected
|
|
104
|
+
? "0 0 0 3px rgba(99, 102, 241, 0.1)"
|
|
105
|
+
: "0 1px 2px 0 rgba(0, 0, 0, 0.03)",
|
|
106
|
+
} },
|
|
107
|
+
React.createElement("div", { style: {
|
|
108
|
+
width: "36px",
|
|
109
|
+
height: "36px",
|
|
110
|
+
borderRadius: "8px",
|
|
111
|
+
backgroundColor: isSelected
|
|
112
|
+
? "#6366f1"
|
|
113
|
+
: "#f1f5f9",
|
|
114
|
+
display: "flex",
|
|
115
|
+
alignItems: "center",
|
|
116
|
+
justifyContent: "center",
|
|
117
|
+
flexShrink: 0,
|
|
118
|
+
transition: "all 0.15s ease",
|
|
119
|
+
} },
|
|
120
|
+
React.createElement(Icon, { icon: componentMetadata.iconProp, style: {
|
|
121
|
+
color: isSelected ? "#ffffff" : "#64748b",
|
|
122
|
+
width: "1rem",
|
|
123
|
+
height: "1rem",
|
|
124
|
+
} })),
|
|
125
|
+
React.createElement("div", { style: { minWidth: 0, flex: 1 } },
|
|
126
|
+
React.createElement("p", { style: {
|
|
127
|
+
fontSize: "0.8125rem",
|
|
128
|
+
fontWeight: 600,
|
|
129
|
+
color: isSelected ? "#4338ca" : "#1e293b",
|
|
130
|
+
margin: 0,
|
|
131
|
+
lineHeight: "1.25rem",
|
|
132
|
+
} }, componentMetadata.title),
|
|
133
|
+
React.createElement("p", { style: {
|
|
134
|
+
fontSize: "0.75rem",
|
|
135
|
+
color: isSelected ? "#6366f1" : "#94a3b8",
|
|
136
|
+
margin: 0,
|
|
137
|
+
marginTop: "2px",
|
|
138
|
+
lineHeight: "1rem",
|
|
139
|
+
display: "-webkit-box",
|
|
140
|
+
WebkitLineClamp: 2,
|
|
141
|
+
WebkitBoxOrient: "vertical",
|
|
142
|
+
overflow: "hidden",
|
|
143
|
+
} }, componentMetadata.description)),
|
|
144
|
+
isSelected && (React.createElement("div", { style: {
|
|
145
|
+
width: "20px",
|
|
146
|
+
height: "20px",
|
|
147
|
+
borderRadius: "50%",
|
|
148
|
+
backgroundColor: "#6366f1",
|
|
149
|
+
display: "flex",
|
|
150
|
+
alignItems: "center",
|
|
151
|
+
justifyContent: "center",
|
|
152
|
+
flexShrink: 0,
|
|
153
|
+
marginTop: "2px",
|
|
154
|
+
} },
|
|
155
|
+
React.createElement(Icon, { icon: IconProp.Check, style: {
|
|
156
|
+
color: "#ffffff",
|
|
157
|
+
width: "0.625rem",
|
|
158
|
+
height: "0.625rem",
|
|
159
|
+
} })))));
|
|
160
|
+
}))));
|
|
106
161
|
}))))));
|
|
107
162
|
};
|
|
108
163
|
export default ComponentsModal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComponentsModal.js","sourceRoot":"","sources":["../../../../../UI/Components/Workflow/ComponentsModal.tsx"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,OAAO,YAAY,MAAM,8BAA8B,CAAC;AACxD,OAAO,IAAI,MAAM,cAAc,CAAC;AAChC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,
|
|
1
|
+
{"version":3,"file":"ComponentsModal.js","sourceRoot":"","sources":["../../../../../UI/Components/Workflow/ComponentsModal.tsx"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,OAAO,YAAY,MAAM,8BAA8B,CAAC;AACxD,OAAO,IAAI,MAAM,cAAc,CAAC;AAChC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,QAAQ,MAAM,8BAA8B,CAAC;AAKpD,OAAO,KAAK,EAAE,EAGZ,SAAS,EACT,QAAQ,GACT,MAAM,OAAO,CAAC;AAUf,MAAM,eAAe,GAAsC,CACzD,KAAqB,EACP,EAAE;IAChB,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAS,EAAE,CAAC,CAAC;IAEjD,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAA2B,EAAE,CAAC,CAAC;IAC3E,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAA2B,EAAE,CAAC,CAAC;IAE3E,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,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