@genispace/geniapp 0.3.0 → 0.5.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.
- package/README.md +36 -11
- package/dist/{CrossAppRecordPicker-CQVmirWD.js → CrossAppRecordPicker-BRpqAjd7.js} +189 -253
- package/dist/CrossAppRecordPicker-BRpqAjd7.js.map +1 -0
- package/dist/MultiPageRenderer-B4G9Oswj.js +535 -0
- package/dist/MultiPageRenderer-B4G9Oswj.js.map +1 -0
- package/dist/Sidebar-DdSOXqnC.js +260 -0
- package/dist/Sidebar-DdSOXqnC.js.map +1 -0
- package/dist/ai/adopt/AiSuggestionPanel.d.ts +1 -1
- package/dist/ai/components/AgentJobProgress.d.ts +1 -1
- package/dist/ai/components/BulkActionBar.d.ts +1 -1
- package/dist/ai/integrations/partner/createPartnerRecordPickerHook.d.ts +1 -1
- package/dist/case-workspace/domain.d.ts +1 -1
- package/dist/components/adapters/host.d.ts +4 -0
- package/dist/components/adapters/host.js +12 -0
- package/dist/components/adapters/host.js.map +1 -0
- package/dist/components/adapters/platform.d.ts +16 -0
- package/dist/components/app/context/DeploymentContext.d.ts +24 -0
- package/dist/components/app/context/PermissionContext.d.ts +32 -0
- package/dist/components/app/context/SubscriptionContext.d.ts +9 -0
- package/dist/components/app/context/UserContext.d.ts +22 -0
- package/dist/components/app/services/apiKey.d.ts +96 -0
- package/dist/components/app/services/auth.d.ts +1 -0
- package/dist/components/app/services/configMap.d.ts +94 -0
- package/dist/components/app/services/task.d.ts +42 -0
- package/dist/components/app/services/workbenchApi.d.ts +495 -0
- package/dist/components/app/types/agent.d.ts +100 -0
- package/dist/components/app/types/api.d.ts +9 -0
- package/dist/components/app/types/knowledge.d.ts +10 -0
- package/dist/components/app/types/model.d.ts +23 -0
- package/dist/components/app/types/task.d.ts +64 -0
- package/dist/components/app/types/taskExecution.d.ts +26 -0
- package/dist/components/assets/maps/bundledMapGeo.d.ts +4 -0
- package/dist/components/config/communicationIcons.d.ts +23 -0
- package/dist/components/config/componentTriggers.d.ts +70 -0
- package/dist/components/constants/tableActionButtonStyle.d.ts +15 -0
- package/dist/components/contexts/PageFullscreenContext.d.ts +4 -0
- package/dist/components/contexts/ParameterContext.d.ts +18 -0
- package/dist/components/contexts/TabActivityContext.d.ts +2 -0
- package/dist/components/contexts/ViewportContext.d.ts +19 -0
- package/dist/components/contexts/WorkbenchConfigLocaleContext.d.ts +23 -0
- package/dist/components/contexts/WorkbenchGlobalSpaceContext.d.ts +10 -0
- package/dist/components/contexts/WorkbenchThemeContext.d.ts +23 -0
- package/dist/components/dialogs/TaskParamsDialog.d.ts +18 -0
- package/dist/components/dialogs/TreeFormDialog.d.ts +23 -0
- package/dist/components/hooks/index.d.ts +6 -0
- package/dist/components/hooks/useComponentCommunication.d.ts +27 -0
- package/dist/components/hooks/useConditionMapper.d.ts +17 -0
- package/dist/components/hooks/useCurrentUser.d.ts +10 -0
- package/dist/components/hooks/useDatabaseDataSource.d.ts +8 -0
- package/dist/components/hooks/useDatasourceVersionBindings.d.ts +24 -0
- package/dist/components/hooks/useEnhancedDataSource.d.ts +40 -0
- package/dist/components/hooks/useMobileViewport.d.ts +18 -0
- package/dist/components/hooks/usePageAutoRefresh.d.ts +9 -0
- package/dist/components/hooks/useParameterHandler.d.ts +27 -0
- package/dist/components/hooks/useReleaseNotesPrompt.d.ts +38 -0
- package/dist/components/hooks/useSpaceSwitchHandler.d.ts +7 -0
- package/dist/components/hooks/useTaskInputDataSourceCache.d.ts +24 -0
- package/dist/components/hooks/useVisibleWhenContext.d.ts +3 -0
- package/dist/components/hooks/useWaitForParameters.d.ts +9 -0
- package/dist/components/hooks/useWorkbenchAppAccess.d.ts +16 -0
- package/dist/components/hooks/useWorkbenchHeaderNavApps.d.ts +7 -0
- package/dist/components/hooks/useWorkbenchPreview.d.ts +24 -0
- package/dist/components/index.d.ts +23 -0
- package/dist/components/inputs/ArrayInput.d.ts +14 -0
- package/dist/components/inputs/ObjectArrayInput.d.ts +15 -0
- package/dist/components/layout/Grid24Renderer.d.ts +23 -0
- package/dist/components/layout/grid24CellContext.d.ts +2 -0
- package/dist/components/layout/index.d.ts +6 -0
- package/dist/components/layout.js +43 -0
- package/dist/components/layout.js.map +1 -0
- package/dist/components/lib/api/apiClient.d.ts +22 -0
- package/dist/components/lib/api/baseApiClient.d.ts +21 -0
- package/dist/components/lib/api/hostAdapterBridge.d.ts +21 -0
- package/dist/components/lib/api.d.ts +1 -0
- package/dist/components/lib/auth/permissionManager.d.ts +67 -0
- package/dist/components/lib/config/deployment.d.ts +33 -0
- package/dist/components/lib/config.d.ts +45 -0
- package/dist/components/lib/hooks/use-mobile.d.ts +1 -0
- package/dist/components/lib/hooks/useOperator.d.ts +11 -0
- package/dist/components/lib/services/agentService.d.ts +77 -0
- package/dist/components/lib/services/applicationService.d.ts +111 -0
- package/dist/components/lib/theme/themeUtils.d.ts +13 -0
- package/dist/components/lib/theme/useWorkbenchTheme.d.ts +1 -0
- package/dist/components/lib/types/api.d.ts +113 -0
- package/dist/components/lib/utils/avatar.d.ts +7 -0
- package/dist/components/lib/utils/cn.d.ts +3 -0
- package/dist/components/lib/utils/color.d.ts +1 -0
- package/dist/components/lib/utils/debounce.d.ts +1 -0
- package/dist/components/lib/utils/formatting.d.ts +4 -0
- package/dist/components/lib/utils/icon.d.ts +1 -0
- package/dist/components/lib/utils.d.ts +7 -0
- package/dist/components/locales/i18n.d.ts +10 -0
- package/dist/components/locales/routeNamespaces.d.ts +4 -0
- package/dist/components/mobile/components/BottomTabNavigation.d.ts +11 -0
- package/dist/components/mobile/components/ComponentAdapter.d.ts +9 -0
- package/dist/components/mobile/components/MobileFloatingBackButton.d.ts +23 -0
- package/dist/components/mobile/components/adaptive/MobileCardView.d.ts +6 -0
- package/dist/components/mobile/components/adaptive/MobileChartView.d.ts +9 -0
- package/dist/components/mobile/components/adaptive/MobileDateRangeFilterField.d.ts +16 -0
- package/dist/components/mobile/components/adaptive/MobileEChartsView.d.ts +10 -0
- package/dist/components/mobile/components/adaptive/MobileFormView.d.ts +6 -0
- package/dist/components/mobile/components/adaptive/MobileListView.d.ts +6 -0
- package/dist/components/mobile/components/adaptive/MobileStatCard.d.ts +13 -0
- package/dist/components/mobile/components/adaptive/MobileTableView.d.ts +9 -0
- package/dist/components/mobile/components/adaptive/MobileTabsView.d.ts +6 -0
- package/dist/components/mobile/components/adaptive/index.d.ts +4 -0
- package/dist/components/mobile/components/adaptive/mobileFilterFieldStyles.d.ts +19 -0
- package/dist/components/mobile/hooks/useMobileNavigationCanGoBack.d.ts +1 -0
- package/dist/components/mobile/hooks/useMobileTabTransitionDirection.d.ts +1 -0
- package/dist/components/mobile/index.d.ts +4 -0
- package/dist/components/mobile/mobileFlowLayoutContext.d.ts +2 -0
- package/dist/components/mobile/runtime-index.d.ts +3 -0
- package/dist/components/mobile/utils/fetchUserCurrentSpaceId.d.ts +15 -0
- package/dist/components/mobile/utils/getMobileViewportState.d.ts +25 -0
- package/dist/components/mobile/utils/mobileBottomNav.d.ts +13 -0
- package/dist/components/mobile/utils/mobileBottomNavInset.d.ts +4 -0
- package/dist/components/mobile/utils/mobileComponentProps.d.ts +44 -0
- package/dist/components/mobile/utils/mobileFormDisplayUtils.d.ts +4 -0
- package/dist/components/mobile/utils/mobileNavigationStore.d.ts +35 -0
- package/dist/components/mobile/utils/mobileToolbarNav.d.ts +13 -0
- package/dist/components/mobile/utils/mobileUA.d.ts +1 -0
- package/dist/components/mobile/utils/mobileWorkbenchSpaceSync.d.ts +60 -0
- package/dist/components/mobile/utils/wecomDetector.d.ts +9 -0
- package/dist/components/mobile/utils/workbenchSpaceSyncGate.d.ts +7 -0
- package/dist/components/mobile.js +25 -0
- package/dist/components/mobile.js.map +1 -0
- package/dist/components/mocks/index.d.ts +13 -0
- package/dist/components/mocks/templateRegistry.d.ts +16 -0
- package/dist/components/mocks/types.d.ts +1 -0
- package/dist/components/renderers/analytics-table/AnalyticsTableRenderer.d.ts +125 -0
- package/dist/components/renderers/analytics-table/index.d.ts +1 -0
- package/dist/components/renderers/analytics-table.js +5 -0
- package/dist/components/renderers/analytics-table.js.map +1 -0
- package/dist/components/renderers/base/BaseRenderers.d.ts +7 -0
- package/dist/components/renderers/base/LoadingRenderer.d.ts +14 -0
- package/dist/components/renderers/card/CardRenderer.d.ts +24 -0
- package/dist/components/renderers/card/index.d.ts +1 -0
- package/dist/components/renderers/card.js +5 -0
- package/dist/components/renderers/card.js.map +1 -0
- package/dist/components/renderers/cells/swCells.d.ts +49 -0
- package/dist/components/renderers/chart/ChartRenderer.d.ts +167 -0
- package/dist/components/renderers/chart/index.d.ts +1 -0
- package/dist/components/renderers/chart.js +5 -0
- package/dist/components/renderers/chart.js.map +1 -0
- package/dist/components/renderers/collapse-panel/CollapsePanelRenderer.d.ts +28 -0
- package/dist/components/renderers/collapse-panel/index.d.ts +1 -0
- package/dist/components/renderers/collapse-panel.js +5 -0
- package/dist/components/renderers/collapse-panel.js.map +1 -0
- package/dist/components/renderers/container/ContainerRenderers.d.ts +44 -0
- package/dist/components/renderers/container/index.d.ts +1 -0
- package/dist/components/renderers/container.js +5 -0
- package/dist/components/renderers/container.js.map +1 -0
- package/dist/components/renderers/custom-content/CustomContentRenderer.d.ts +20 -0
- package/dist/components/renderers/custom-content/index.d.ts +1 -0
- package/dist/components/renderers/custom-content.js +6 -0
- package/dist/components/renderers/custom-content.js.map +1 -0
- package/dist/components/renderers/data/useBoundRows.d.ts +9 -0
- package/dist/components/renderers/data-grid-card/DataGridCard.d.ts +46 -0
- package/dist/components/renderers/data-grid-card/index.d.ts +1 -0
- package/dist/components/renderers/data-grid-card.js +5 -0
- package/dist/components/renderers/data-grid-card.js.map +1 -0
- package/dist/components/renderers/echarts/EChartsChartRenderer.d.ts +178 -0
- package/dist/components/renderers/echarts/index.d.ts +1 -0
- package/dist/components/renderers/echarts/shared/colors.d.ts +56 -0
- package/dist/components/renderers/echarts/shared/index.d.ts +1 -0
- package/dist/components/renderers/echarts.js +5 -0
- package/dist/components/renderers/echarts.js.map +1 -0
- package/dist/components/renderers/editable-table/EditableTable.types.d.ts +27 -0
- package/dist/components/renderers/editable-table/EditableTableController.d.ts +44 -0
- package/dist/components/renderers/editable-table/EditableTableRenderer.d.ts +38 -0
- package/dist/components/renderers/editable-table/cell-editors/ColorEditor.d.ts +11 -0
- package/dist/components/renderers/editable-table/cell-editors/DateEditor.d.ts +11 -0
- package/dist/components/renderers/editable-table/cell-editors/FileEditor.d.ts +9 -0
- package/dist/components/renderers/editable-table/cell-editors/NumberEditor.d.ts +10 -0
- package/dist/components/renderers/editable-table/cell-editors/SelectEditor.d.ts +19 -0
- package/dist/components/renderers/editable-table/cell-editors/SwitchEditor.d.ts +13 -0
- package/dist/components/renderers/editable-table/cell-editors/TextEditor.d.ts +11 -0
- package/dist/components/renderers/editable-table/cell-editors/index.d.ts +7 -0
- package/dist/components/renderers/editable-table/editableTableApiErrors.d.ts +3 -0
- package/dist/components/renderers/editable-table/editableTableDictionary.d.ts +13 -0
- package/dist/components/renderers/editable-table/editableTableFormatters.d.ts +11 -0
- package/dist/components/renderers/editable-table/editableTableWriteDatasourceId.d.ts +8 -0
- package/dist/components/renderers/editable-table/index.d.ts +4 -0
- package/dist/components/renderers/editable-table.js +6 -0
- package/dist/components/renderers/editable-table.js.map +1 -0
- package/dist/components/renderers/filter-panel/FilterPanelRenderer.d.ts +275 -0
- package/dist/components/renderers/filter-panel/filterOptionCache.d.ts +33 -0
- package/dist/components/renderers/filter-panel/filterSelectionMemory.d.ts +11 -0
- package/dist/components/renderers/filter-panel/index.d.ts +1 -0
- package/dist/components/renderers/filter-panel.js +5 -0
- package/dist/components/renderers/filter-panel.js.map +1 -0
- package/dist/components/renderers/form/FileUploadDropzone.d.ts +24 -0
- package/dist/components/renderers/form/FormRenderer.d.ts +30 -0
- package/dist/components/renderers/form/formSizing.d.ts +14 -0
- package/dist/components/renderers/form/index.d.ts +2 -0
- package/dist/components/renderers/form.js +6 -0
- package/dist/components/renderers/form.js.map +1 -0
- package/dist/components/renderers/hero-card/HeroCardRenderer.d.ts +18 -0
- package/dist/components/renderers/hero-card/heroCardRows.d.ts +30 -0
- package/dist/components/renderers/hero-card/heroCardUtils.d.ts +164 -0
- package/dist/components/renderers/hero-card/index.d.ts +1 -0
- package/dist/components/renderers/hero-card.js +5 -0
- package/dist/components/renderers/hero-card.js.map +1 -0
- package/dist/components/renderers/identity/AppIdentityListRenderer.d.ts +60 -0
- package/dist/components/renderers/identity/IdentityAttributeAssignRenderer.d.ts +44 -0
- package/dist/components/renderers/identity/index.d.ts +2 -0
- package/dist/components/renderers/identity.js +6 -0
- package/dist/components/renderers/identity.js.map +1 -0
- package/dist/components/renderers/index.d.ts +1 -0
- package/dist/components/renderers/list/ListActionButton.d.ts +11 -0
- package/dist/components/renderers/list/ListDataTable.d.ts +13 -0
- package/dist/components/renderers/list/ListProgressBar.d.ts +12 -0
- package/dist/components/renderers/list/ListRenderers.d.ts +19 -0
- package/dist/components/renderers/list/ListTaskExecuteDialog.d.ts +17 -0
- package/dist/components/renderers/list/index.d.ts +1 -0
- package/dist/components/renderers/list/listActionUtils.d.ts +18 -0
- package/dist/components/renderers/list/listCellRender.d.ts +9 -0
- package/dist/components/renderers/list/listConfig.d.ts +67 -0
- package/dist/components/renderers/list/listCsvExport.d.ts +4 -0
- package/dist/components/renderers/list/listFormatUtils.d.ts +13 -0
- package/dist/components/renderers/list/listItemTemplates.d.ts +32 -0
- package/dist/components/renderers/list/listViewToggleUtils.d.ts +5 -0
- package/dist/components/renderers/list/useListActions.d.ts +38 -0
- package/dist/components/renderers/list/useListDataSource.d.ts +58 -0
- package/dist/components/renderers/list/useListSelectionEmit.d.ts +22 -0
- package/dist/components/renderers/list.js +5 -0
- package/dist/components/renderers/list.js.map +1 -0
- package/dist/components/renderers/map-chart/MapChartRenderer.d.ts +42 -0
- package/dist/components/renderers/map-chart/index.d.ts +1 -0
- package/dist/components/renderers/map-chart.js +5 -0
- package/dist/components/renderers/map-chart.js.map +1 -0
- package/dist/components/renderers/metric-carousel/MetricCarouselRenderer.d.ts +26 -0
- package/dist/components/renderers/metric-carousel/index.d.ts +1 -0
- package/dist/components/renderers/metric-carousel.js +5 -0
- package/dist/components/renderers/metric-carousel.js.map +1 -0
- package/dist/components/renderers/navigation/NavTileRenderer.d.ts +13 -0
- package/dist/components/renderers/navigation/index.d.ts +1 -0
- package/dist/components/renderers/navigation/navTileUtils.d.ts +46 -0
- package/dist/components/renderers/navigation.js +5 -0
- package/dist/components/renderers/navigation.js.map +1 -0
- package/dist/components/renderers/product-detail/ProductDetailRenderer.d.ts +23 -0
- package/dist/components/renderers/product-detail/index.d.ts +1 -0
- package/dist/components/renderers/product-detail/productCellRender.d.ts +25 -0
- package/dist/components/renderers/product-detail.js +5 -0
- package/dist/components/renderers/product-detail.js.map +1 -0
- package/dist/components/renderers/product-report/ProductReportRenderer.d.ts +21 -0
- package/dist/components/renderers/product-report/index.d.ts +1 -0
- package/dist/components/renderers/product-report.js +5 -0
- package/dist/components/renderers/product-report.js.map +1 -0
- package/dist/components/renderers/publish/PublishHistoryRenderer.d.ts +21 -0
- package/dist/components/renderers/publish/PublishPreviewEntryRenderer.d.ts +16 -0
- package/dist/components/renderers/publish/index.d.ts +2 -0
- package/dist/components/renderers/publish/publishHistoryHelpers.d.ts +41 -0
- package/dist/components/renderers/publish/publishPreviewEntryHelpers.d.ts +50 -0
- package/dist/components/renderers/publish.js +6 -0
- package/dist/components/renderers/publish.js.map +1 -0
- package/dist/components/renderers/radar-chart/RadarChartRenderer.d.ts +40 -0
- package/dist/components/renderers/radar-chart/index.d.ts +1 -0
- package/dist/components/renderers/radar-chart.js +5 -0
- package/dist/components/renderers/radar-chart.js.map +1 -0
- package/dist/components/renderers/registry.d.ts +38 -0
- package/dist/components/renderers/ring-stat/RingStatRenderer.d.ts +66 -0
- package/dist/components/renderers/ring-stat/index.d.ts +1 -0
- package/dist/components/renderers/ring-stat.js +5 -0
- package/dist/components/renderers/ring-stat.js.map +1 -0
- package/dist/components/renderers/runtime-DX1LfmqO.js +206944 -0
- package/dist/components/renderers/runtime-DX1LfmqO.js.map +1 -0
- package/dist/components/renderers/service-desk/ServiceDeskReporterRenderer.d.ts +48 -0
- package/dist/components/renderers/service-desk/index.d.ts +1 -0
- package/dist/components/renderers/service-desk.js +5 -0
- package/dist/components/renderers/service-desk.js.map +1 -0
- package/dist/components/renderers/shared/TableEmptyStateWithChromeInsets.d.ts +12 -0
- package/dist/components/renderers/shared/ViewToggleButton.d.ts +13 -0
- package/dist/components/renderers/shared/useEscapedStickyPanel.d.ts +6 -0
- package/dist/components/renderers/shared/useMobileChromeInsets.d.ts +18 -0
- package/dist/components/renderers/shared/useStickyHeaderClone.d.ts +31 -0
- package/dist/components/renderers/statistics/StatisticGroup.d.ts +77 -0
- package/dist/components/renderers/statistics/index.d.ts +1 -0
- package/dist/components/renderers/statistics.js +5 -0
- package/dist/components/renderers/statistics.js.map +1 -0
- package/dist/components/renderers/table/TableRenderer.d.ts +5 -0
- package/dist/components/renderers/table/index.d.ts +1 -0
- package/dist/components/renderers/table/tableFilterPanelGridClass.d.ts +15 -0
- package/dist/components/renderers/table.js +5 -0
- package/dist/components/renderers/table.js.map +1 -0
- package/dist/components/renderers/tabs/TabsRenderer.d.ts +63 -0
- package/dist/components/renderers/tabs/index.d.ts +1 -0
- package/dist/components/renderers/tabs/tabVariantStyles.d.ts +50 -0
- package/dist/components/renderers/tabs/tabsItemMapping.d.ts +26 -0
- package/dist/components/renderers/tabs.js +5 -0
- package/dist/components/renderers/tabs.js.map +1 -0
- package/dist/components/renderers/task-input/ExecutionHistoryModal.d.ts +9 -0
- package/dist/components/renderers/task-input/TaskExecutionOutputs.d.ts +15 -0
- package/dist/components/renderers/task-input/TaskInputField.d.ts +54 -0
- package/dist/components/renderers/task-input/TaskInputRenderer.d.ts +68 -0
- package/dist/components/renderers/task-input/index.d.ts +1 -0
- package/dist/components/renderers/task-input.js +5 -0
- package/dist/components/renderers/task-input.js.map +1 -0
- package/dist/components/renderers/tile-grid/TileGridRenderer.d.ts +41 -0
- package/dist/components/renderers/tile-grid/index.d.ts +1 -0
- package/dist/components/renderers/tile-grid.js +5 -0
- package/dist/components/renderers/tile-grid.js.map +1 -0
- package/dist/components/renderers/tree/SimpleTreeRenderer.d.ts +47 -0
- package/dist/components/renderers/tree/index.d.ts +1 -0
- package/dist/components/renderers/tree.js +5 -0
- package/dist/components/renderers/tree.js.map +1 -0
- package/dist/components/renderers/types.d.ts +682 -0
- package/dist/components/renderers/typography/TypographyRenderer.d.ts +17 -0
- package/dist/components/renderers/typography/index.d.ts +1 -0
- package/dist/components/renderers/typography.js +8 -0
- package/dist/components/renderers/typography.js.map +1 -0
- package/dist/components/renderers/workflow/SimpleSchemaForm.d.ts +12 -0
- package/dist/components/renderers/workflow/WorkflowComponent.d.ts +5 -0
- package/dist/components/renderers/workflow/index.d.ts +1 -0
- package/dist/components/renderers/workflow/renderers/ProposalRendererFactory.d.ts +15 -0
- package/dist/components/renderers/workflow/runtime-index.d.ts +9 -0
- package/dist/components/renderers/workflow/steps/ProposalStep.d.ts +21 -0
- package/dist/components/renderers/workflow/steps/ResultStep.d.ts +13 -0
- package/dist/components/renderers/workflow/steps/UploadStep.d.ts +15 -0
- package/dist/components/renderers/workflow/types.d.ts +185 -0
- package/dist/components/renderers/workflow.js +5 -0
- package/dist/components/renderers/workflow.js.map +1 -0
- package/dist/components/renderers.js +41 -0
- package/dist/components/renderers.js.map +1 -0
- package/dist/components/runtime/ComponentRenderer.d.ts +34 -0
- package/dist/components/runtime/GeniAppComponentProvider.d.ts +24 -0
- package/dist/components/runtime/GeniAppWorkbench.d.ts +20 -0
- package/dist/components/runtime/Loading.d.ts +9 -0
- package/dist/components/runtime/MultiPageRenderer.d.ts +15 -0
- package/dist/components/runtime/PageComingSoonOverlay.d.ts +11 -0
- package/dist/components/runtime/PageRenderer.d.ts +36 -0
- package/dist/components/runtime/TabManager.d.ts +39 -0
- package/dist/components/runtime/componentTypes.d.ts +70 -0
- package/dist/components/runtime/i18n.d.ts +5 -0
- package/dist/components/runtime/runtime-mode.d.ts +40 -0
- package/dist/components/shared/TitleManager.d.ts +8 -0
- package/dist/components/shared/platform-api/auth/platformRefreshResponse.d.ts +3 -0
- package/dist/components/shared/platform-api/auth/setupAuthInterceptors.d.ts +18 -0
- package/dist/components/shared/platform-api/auth/tokenStorage.d.ts +4 -0
- package/dist/components/shared/platform-api/index.d.ts +4 -0
- package/dist/components/shared/platform-types/index.d.ts +1 -0
- package/dist/components/shared/platform-types/types/json-schema.d.ts +50 -0
- package/dist/components/shared/platform-ui/components/ai/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/ai/message.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/ai/suggestion.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/features/agent/AgentIdentity.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/features/agent/agentIdentityUtils.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/features/agent/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/features/app/AppCheckboxInput.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/features/app/AppConfirmDialog.d.ts +12 -0
- package/dist/components/shared/platform-ui/components/features/app/AppDashboardSkeleton.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/features/app/AppDatePicker.d.ts +69 -0
- package/dist/components/shared/platform-ui/components/features/app/AppModal.d.ts +27 -0
- package/dist/components/shared/platform-ui/components/features/app/AppPageStates.d.ts +17 -0
- package/dist/components/shared/platform-ui/components/features/app/AppSelectInput.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/features/app/AppTemporalInput.d.ts +19 -0
- package/dist/components/shared/platform-ui/components/features/app/Page.d.ts +14 -0
- package/dist/components/shared/platform-ui/components/features/app/QueryErrorAlert.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/features/app/Sidebar.d.ts +47 -0
- package/dist/components/shared/platform-ui/components/features/app/index.d.ts +17 -0
- package/dist/components/shared/platform-ui/components/features/auth/AuthControlButtons.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/features/auth/ForgotPassword.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/features/auth/LogoutNotificationPage.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/features/auth/Privacy.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/features/auth/RequireAuth.d.ts +31 -0
- package/dist/components/shared/platform-ui/components/features/auth/Terms.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/features/auth/VerifyEmail.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/features/auth/application/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/auth/index.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/features/avatar/AvatarPickerModal.d.ts +30 -0
- package/dist/components/shared/platform-ui/components/features/avatar/generateAvatarUrl.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/features/avatar/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/features/chat/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/data/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/feedback/FeedbackMenu.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/features/feedback/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/home/Background.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/features/home/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/features/index.d.ts +22 -0
- package/dist/components/shared/platform-ui/components/features/knowledge/EvidenceCitation.d.ts +30 -0
- package/dist/components/shared/platform-ui/components/features/knowledge/HighlightedSnippet.d.ts +14 -0
- package/dist/components/shared/platform-ui/components/features/knowledge/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/features/notification/NotificationBell.d.ts +14 -0
- package/dist/components/shared/platform-ui/components/features/notification/NotificationList.d.ts +41 -0
- package/dist/components/shared/platform-ui/components/features/notification/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/features/operator/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/rbac/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/rich-text/RichTextField.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/features/space/SpaceContext.d.ts +121 -0
- package/dist/components/shared/platform-ui/components/features/space/SpaceSwitcher.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/features/space/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/features/subscription/SubscriptionContext.d.ts +26 -0
- package/dist/components/shared/platform-ui/components/features/subscription/SubscriptionGuard.d.ts +35 -0
- package/dist/components/shared/platform-ui/components/features/subscription/constants.d.ts +126 -0
- package/dist/components/shared/platform-ui/components/features/subscription/createSubscriptionService.d.ts +34 -0
- package/dist/components/shared/platform-ui/components/features/subscription/index.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/features/subscription/types.d.ts +161 -0
- package/dist/components/shared/platform-ui/components/features/subscription/useSubscription.d.ts +20 -0
- package/dist/components/shared/platform-ui/components/features/subscription/utils.d.ts +18 -0
- package/dist/components/shared/platform-ui/components/features/task/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/team/index.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/features/user/UserAvatar.d.ts +17 -0
- package/dist/components/shared/platform-ui/components/features/user/UserDisplay.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/features/user/UserSelect.d.ts +14 -0
- package/dist/components/shared/platform-ui/components/features/user/useUserDirectory.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/features/user/userDirectoryTypes.d.ts +18 -0
- package/dist/components/shared/platform-ui/components/icons/alipay-pay-mark.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/icons/bank-transfer-mark.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/icons/stripe-payment-mark.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/icons/wechat-pay-mark.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/index.d.ts +3 -0
- package/dist/components/shared/platform-ui/components/patterns/entity-patterns.d.ts +3 -0
- package/dist/components/shared/platform-ui/components/patterns/form-section.d.ts +11 -0
- package/dist/components/shared/platform-ui/components/patterns/record-list-frame.d.ts +12 -0
- package/dist/components/shared/platform-ui/components/patterns/status-stepper.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/primitives/data-display/ApiErrorState.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/primitives/data-display/FilePreviewDialog.d.ts +18 -0
- package/dist/components/shared/platform-ui/components/primitives/data-display/index.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/primitives/feedback/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/primitives/feedback/toaster.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/primitives/feedback/use-toast.d.ts +46 -0
- package/dist/components/shared/platform-ui/components/primitives/forms/CountryCodeSelect.d.ts +16 -0
- package/dist/components/shared/platform-ui/components/primitives/forms/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/primitives/index.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/AppHeader.d.ts +111 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/AppWatermark.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/PublicFooter.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/PublicHeader.d.ts +39 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/PublicLayout.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/ThemeToggle.d.ts +33 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/WatermarkOverlay.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/brandAssets.d.ts +11 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/index.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ChartAreaSkeleton.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ChartEmptyState.d.ts +14 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ComponentSkeletonShell.d.ts +16 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ConfigEditorSkeleton.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/DetailTabsSkeleton.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/EmptyStateBadge.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/FormCardSkeleton.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/FormFieldSkeleton.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/FormPageSkeleton.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/GridCardsSkeleton.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ListSkeleton.d.ts +26 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/PageHeaderSkeleton.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/SplitPaneSkeleton.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/StatsRowSkeleton.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/TableEmptyState.d.ts +27 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/TablePageSkeleton.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/TabsBarSkeleton.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/index.d.ts +24 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/skeletonMetrics.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/useVisibleCenter.d.ts +34 -0
- package/dist/components/shared/platform-ui/components/ui/accordion.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/ui/ai-draft-banner.d.ts +21 -0
- package/dist/components/shared/platform-ui/components/ui/alert-dialog.d.ts +48 -0
- package/dist/components/shared/platform-ui/components/ui/alert.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/ui/avatar.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/ui/badge.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/ui/breadcrumb.d.ts +19 -0
- package/dist/components/shared/platform-ui/components/ui/button.d.ts +11 -0
- package/dist/components/shared/platform-ui/components/ui/calendar.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/ui/card.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/ui/chart.d.ts +16 -0
- package/dist/components/shared/platform-ui/components/ui/checkbox.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/ui/collapsible.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/ui/column-config.d.ts +42 -0
- package/dist/components/shared/platform-ui/components/ui/date-picker.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/ui/date-range-filter.d.ts +32 -0
- package/dist/components/shared/platform-ui/components/ui/date-range-picker.d.ts +11 -0
- package/dist/components/shared/platform-ui/components/ui/dialog-input.d.ts +17 -0
- package/dist/components/shared/platform-ui/components/ui/dialog-safe-select.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/ui/dialog.d.ts +25 -0
- package/dist/components/shared/platform-ui/components/ui/dropdown-menu.d.ts +27 -0
- package/dist/components/shared/platform-ui/components/ui/feature-guide.d.ts +43 -0
- package/dist/components/shared/platform-ui/components/ui/form.d.ts +23 -0
- package/dist/components/shared/platform-ui/components/ui/help-tip.d.ts +29 -0
- package/dist/components/shared/platform-ui/components/ui/hint-notice.d.ts +22 -0
- package/dist/components/shared/platform-ui/components/ui/index.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/ui/input.d.ts +3 -0
- package/dist/components/shared/platform-ui/components/ui/label.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/ui/modal-container.d.ts +56 -0
- package/dist/components/shared/platform-ui/components/ui/modal-templates.d.ts +46 -0
- package/dist/components/shared/platform-ui/components/ui/multi-select.d.ts +20 -0
- package/dist/components/shared/platform-ui/components/ui/pagination.d.ts +28 -0
- package/dist/components/shared/platform-ui/components/ui/popover.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/ui/progress.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/ui/radio-button-group.d.ts +18 -0
- package/dist/components/shared/platform-ui/components/ui/radio-group.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/ui/scroll-area.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/ui/select.d.ts +16 -0
- package/dist/components/shared/platform-ui/components/ui/separator.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/ui/sheet.d.ts +25 -0
- package/dist/components/shared/platform-ui/components/ui/sidebar-rail.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/ui/skeleton.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/ui/slider.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/ui/switch.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/ui/table.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/ui/tabs.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/ui/textarea.d.ts +3 -0
- package/dist/components/shared/platform-ui/components/ui/toast.d.ts +21 -0
- package/dist/components/shared/platform-ui/components/ui/toggle-group.d.ts +12 -0
- package/dist/components/shared/platform-ui/components/ui/toggle.d.ts +12 -0
- package/dist/components/shared/platform-ui/components/ui/tooltip.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/ui/typography.d.ts +15 -0
- package/dist/components/shared/platform-ui/components/ui/underline-tabs.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/ui/view-mode-toggle.d.ts +9 -0
- package/dist/components/shared/platform-ui/context/AppHostContext.d.ts +16 -0
- package/dist/components/shared/platform-ui/contexts/UserSettingsContext.d.ts +23 -0
- package/dist/components/shared/platform-ui/hooks/builtInApps.d.ts +91 -0
- package/dist/components/shared/platform-ui/hooks/pinnedBuiltInNavApps.d.ts +13 -0
- package/dist/components/shared/platform-ui/hooks/shellNavLucideIcon.d.ts +6 -0
- package/dist/components/shared/platform-ui/hooks/useAppSettings.d.ts +21 -0
- package/dist/components/shared/platform-ui/hooks/useAuthTokenSync.d.ts +3 -0
- package/dist/components/shared/platform-ui/hooks/useBuiltInApps.d.ts +6 -0
- package/dist/components/shared/platform-ui/hooks/useChatEntryTarget.d.ts +35 -0
- package/dist/components/shared/platform-ui/hooks/useIsMobile.d.ts +16 -0
- package/dist/components/shared/platform-ui/hooks/useLanguage.d.ts +11 -0
- package/dist/components/shared/platform-ui/hooks/useLockBodyScroll.d.ts +1 -0
- package/dist/components/shared/platform-ui/hooks/usePageState/index.d.ts +4 -0
- package/dist/components/shared/platform-ui/hooks/usePageState/types.d.ts +13 -0
- package/dist/components/shared/platform-ui/hooks/useTheme.d.ts +11 -0
- package/dist/components/shared/platform-ui/hooks/useUserSettings.d.ts +39 -0
- package/dist/components/shared/platform-ui/hooks/useWorkflowCanvas.d.ts +36 -0
- package/dist/components/shared/platform-ui/hooks/userPreferencesPinnedNav.d.ts +2 -0
- package/dist/components/shared/platform-ui/index.d.ts +127 -0
- package/dist/components/shared/platform-ui/kit/ai/conversation.d.ts +16 -0
- package/dist/components/shared/platform-ui/kit/ai/index.d.ts +11 -0
- package/dist/components/shared/platform-ui/kit/ai/loader.d.ts +6 -0
- package/dist/components/shared/platform-ui/kit/ai/message.d.ts +14 -0
- package/dist/components/shared/platform-ui/kit/ai/prompt-input.d.ts +18 -0
- package/dist/components/shared/platform-ui/kit/ai/suggestion.d.ts +11 -0
- package/dist/components/shared/platform-ui/kit/ai/tool.d.ts +28 -0
- package/dist/components/shared/platform-ui/kit.d.ts +5 -0
- package/dist/components/shared/platform-ui/platform/index.d.ts +38 -0
- package/dist/components/shared/platform-ui/platform/types.d.ts +1 -0
- package/dist/components/shared/platform-ui/styles/design-tokens.d.ts +189 -0
- package/dist/components/shared/platform-ui/styles/z-index-layers.d.ts +46 -0
- package/dist/components/shared/platform-ui/utils/unknownError.d.ts +2 -0
- package/dist/components/shared/platform-utils/cookieSettings.d.ts +12 -0
- package/dist/components/shared/platform-utils/data/countryCodes.d.ts +26 -0
- package/dist/components/shared/platform-utils/index.d.ts +18 -0
- package/dist/components/shared/platform-utils/utils/appPath.d.ts +5 -0
- package/dist/components/shared/platform-utils/utils/chunkLoadRecovery.d.ts +7 -0
- package/dist/components/shared/platform-utils/utils/cn.d.ts +3 -0
- package/dist/components/shared/platform-utils/utils/crossApp.d.ts +71 -0
- package/dist/components/shared/platform-utils/utils/debounce.d.ts +1 -0
- package/dist/components/shared/platform-utils/utils/formatUserLabel.d.ts +8 -0
- package/dist/components/shared/platform-utils/utils/formatting.d.ts +18 -0
- package/dist/components/shared/platform-utils/utils/logoutNotification.d.ts +28 -0
- package/dist/components/shared/platform-utils/utils/operatorLocale.d.ts +32 -0
- package/dist/components/shared/platform-utils/utils/routeLocalePrefetch.d.ts +5 -0
- package/dist/components/shared/platform-utils/utils/shellIframeUrl.d.ts +20 -0
- package/dist/components/shared/platform-utils/utils/spaceSettings.d.ts +20 -0
- package/dist/components/shared/platform-utils/utils/sso.d.ts +42 -0
- package/dist/components/shared/platform-utils/utils/throttle.d.ts +1 -0
- package/dist/components/shared/platform-utils/utils/timezones.d.ts +14 -0
- package/dist/components/shared/platform-utils/utils/toDateInputValue.d.ts +5 -0
- package/dist/components/shared/platform-utils/utils/watermark.d.ts +1 -0
- package/dist/components/shared/templates/index.d.ts +3 -0
- package/dist/components/shared/templates/slugify.d.ts +1 -0
- package/dist/components/shared/templates/templateRegistry.d.ts +18 -0
- package/dist/components/shared/templates/types.d.ts +42 -0
- package/dist/components/skeleton/ComponentSkeleton.d.ts +9 -0
- package/dist/components/skeleton/HeroCardSkeleton.d.ts +11 -0
- package/dist/components/skeleton/TileGridSkeleton.d.ts +11 -0
- package/dist/components/skeleton/WorkbenchSkeletonTokens.d.ts +1 -0
- package/dist/components/skeleton/index.d.ts +4 -0
- package/dist/components/standalone.css +2 -0
- package/dist/components/standalone.d.ts +21 -0
- package/dist/components/standalone.js +358805 -0
- package/dist/components/styles/grid24.css +359 -0
- package/dist/components/styles/layoutSystem.css +773 -0
- package/dist/components/styles.css +3 -0
- package/dist/components/testing/index.d.ts +2 -0
- package/dist/components/testing.js +5 -0
- package/dist/components/testing.js.map +1 -0
- package/dist/components/themes/classic.d.ts +7 -0
- package/dist/components/themes/index.d.ts +15 -0
- package/dist/components/themes/inkOnyx.d.ts +3 -0
- package/dist/components/themes/types.d.ts +36 -0
- package/dist/components/types/application.d.ts +37 -0
- package/dist/components/types/communication.d.ts +94 -0
- package/dist/components/types/components.d.ts +346 -0
- package/dist/components/types/conditionMapperTypes.d.ts +60 -0
- package/dist/components/types/databaseDataSource.d.ts +120 -0
- package/dist/components/types/datasource.d.ts +117 -0
- package/dist/components/types/editor.d.ts +4 -0
- package/dist/components/types/editors.d.ts +91 -0
- package/dist/components/types/host-adapters.d.ts +35 -0
- package/dist/components/types/index.d.ts +7 -0
- package/dist/components/types/parameters.d.ts +59 -0
- package/dist/components/types/productReport.d.ts +272 -0
- package/dist/components/types/renderers.d.ts +645 -0
- package/dist/components/types.d.ts +649 -0
- package/dist/components/ui/ActionFormDialog.d.ts +19 -0
- package/dist/components/ui/ConfirmDialog.d.ts +17 -0
- package/dist/components/ui/FormFieldRenderer.d.ts +51 -0
- package/dist/components/ui/IconSelector.d.ts +10 -0
- package/dist/components/ui/RecordDetailDialog.d.ts +15 -0
- package/dist/components/ui/StructuredValueField.d.ts +16 -0
- package/dist/components/ui/date-picker.d.ts +7 -0
- package/dist/components/ui/date-range-picker.d.ts +11 -0
- package/dist/components/ui/dialog-safe-select.d.ts +13 -0
- package/dist/components/ui/dialog-tag-input.d.ts +18 -0
- package/dist/components/ui/dialog.d.ts +22 -0
- package/dist/components/ui/dropdown-menu.d.ts +27 -0
- package/dist/components/ui/pagination.d.ts +28 -0
- package/dist/components/ui/select.d.ts +13 -0
- package/dist/components/ui/sidebar-rail.d.ts +9 -0
- package/dist/components/ui/sidebar.d.ts +65 -0
- package/dist/components/ui/table.d.ts +10 -0
- package/dist/components/ui/tag-input.d.ts +23 -0
- package/dist/components/utils/actionFormValidation.d.ts +34 -0
- package/dist/components/utils/autoIdUtils.d.ts +2 -0
- package/dist/components/utils/chartGradientStops.d.ts +14 -0
- package/dist/components/utils/chinaProvinceMap.d.ts +8 -0
- package/dist/components/utils/colors.d.ts +84 -0
- package/dist/components/utils/componentUtils.d.ts +4 -0
- package/dist/components/utils/conditionMapperUtils.d.ts +59 -0
- package/dist/components/utils/cssParser.d.ts +7 -0
- package/dist/components/utils/currencySymbol.d.ts +10 -0
- package/dist/components/utils/dataConfigUtils.d.ts +80 -0
- package/dist/components/utils/databaseDatasourceColumnValue.d.ts +8 -0
- package/dist/components/utils/databaseDatasourceParams.d.ts +44 -0
- package/dist/components/utils/datasetOperationUtils.d.ts +48 -0
- package/dist/components/utils/datasourceVersion.d.ts +61 -0
- package/dist/components/utils/debugUtils.d.ts +34 -0
- package/dist/components/utils/errorFilter.d.ts +1 -0
- package/dist/components/utils/errorHandler.d.ts +10 -0
- package/dist/components/utils/expressionUtils.d.ts +13 -0
- package/dist/components/utils/extensionErrorHandler.d.ts +4 -0
- package/dist/components/utils/filterPanelDateRangeUtils.d.ts +34 -0
- package/dist/components/utils/filterPanelMobileDateRangeUtils.d.ts +17 -0
- package/dist/components/utils/formActionVisibility.d.ts +21 -0
- package/dist/components/utils/grid24LayoutSystem.d.ts +108 -0
- package/dist/components/utils/iconUtils.d.ts +22 -0
- package/dist/components/utils/layoutContainerNesting.d.ts +5 -0
- package/dist/components/utils/layoutSystem.d.ts +189 -0
- package/dist/components/utils/navigationUtils.d.ts +70 -0
- package/dist/components/utils/navigationVisibleWhenEditor.d.ts +37 -0
- package/dist/components/utils/parameterUtils.d.ts +52 -0
- package/dist/components/utils/redirectToAppHome.d.ts +4 -0
- package/dist/components/utils/resolveComponentMockFields.d.ts +28 -0
- package/dist/components/utils/resolveDatabaseDataSourceConfig.d.ts +9 -0
- package/dist/components/utils/safeMessaging.d.ts +16 -0
- package/dist/components/utils/statisticColors.d.ts +11 -0
- package/dist/components/utils/statisticIcons.d.ts +5 -0
- package/dist/components/utils/styleUtils.d.ts +35 -0
- package/dist/components/utils/systemParameters.d.ts +8 -0
- package/dist/components/utils/tabIsolation.d.ts +34 -0
- package/dist/components/utils/tableActionButtonRender.d.ts +12 -0
- package/dist/components/utils/taskUtils.d.ts +37 -0
- package/dist/components/utils/treeFormUtils.d.ts +41 -0
- package/dist/components/utils/visibleWhen.d.ts +31 -0
- package/dist/components/utils/visibleWhenFormat.d.ts +32 -0
- package/dist/components/utils/workbenchConfigLocale.d.ts +44 -0
- package/dist/components/utils/workbenchDisplayLocale.d.ts +33 -0
- package/dist/components/utils/workbenchPathUtils.d.ts +8 -0
- package/dist/components/utils/workflowTransformsUtils.d.ts +3 -0
- package/dist/components.js +841 -0
- package/dist/components.js.map +1 -0
- package/dist/dashboard/src/ChartTooltip.d.ts +1 -1
- package/dist/hooks/access/AppAccessNotice.d.ts +1 -1
- package/dist/hooks/picker/managedAppPicker.d.ts +1 -1
- package/dist/hooks.js +28 -27
- package/dist/hooks.js.map +1 -1
- package/dist/i18n-DojjvBZv.js +19013 -0
- package/dist/i18n-DojjvBZv.js.map +1 -0
- package/dist/index.js +61 -59
- package/dist/index.js.map +1 -1
- package/dist/kit.js +57 -56
- package/dist/kit.js.map +1 -1
- package/dist/resolveApiRoot-Dzg1R1PS.js +68 -0
- package/dist/resolveApiRoot-Dzg1R1PS.js.map +1 -0
- package/dist/shell.d.ts +1 -1
- package/dist/storage/components/CopyStorageLinkButton.d.ts +1 -1
- package/dist/storage/components/StorageImage.d.ts +1 -1
- package/dist/storage/components/StorageVideo.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/task-workspace/domain.d.ts +1 -1
- package/dist/ui/components/features/app/AppModal.d.ts +2 -2
- package/dist/ui/components/primitives/page-skeleton/index.d.ts +1 -1
- package/dist/ui/components/ui/alert.d.ts +3 -3
- package/dist/ui/components/ui/badge.d.ts +3 -3
- package/dist/ui/components/ui/button.d.ts +4 -4
- package/dist/ui/components/ui/chart.d.ts +1 -1
- package/dist/ui/components/ui/form.d.ts +3 -5
- package/dist/ui/components/ui/hint-notice.d.ts +3 -3
- package/dist/ui/components/ui/label.d.ts +1 -1
- package/dist/ui/components/ui/select.d.ts +1 -1
- package/dist/ui/components/ui/sheet.d.ts +3 -3
- package/dist/ui/components/ui/tabs.d.ts +1 -1
- package/dist/ui/components/ui/toast.d.ts +3 -3
- package/dist/ui/components/ui/toggle-group.d.ts +8 -8
- package/dist/ui/components/ui/toggle.d.ts +8 -8
- package/dist/ui/components/ui/underline-tabs.d.ts +6 -6
- package/dist/ui.js +23 -22
- package/dist/ui.js.map +1 -1
- package/dist/useUserDirectory-GU8imJ0T.js +2124 -0
- package/dist/useUserDirectory-GU8imJ0T.js.map +1 -0
- package/dist/vite.d.ts +1 -1
- package/package.json +217 -31
- package/dist/CrossAppRecordPicker-CQVmirWD.js.map +0 -1
- package/dist/useUserDirectory-CqkyCQoR.js +0 -2377
- package/dist/useUserDirectory-CqkyCQoR.js.map +0 -1
- package/dist/workbench/runtime.d.ts +0 -3
- package/dist/workbench/styles.css +0 -197
- package/dist/workbench/types.d.ts +0 -48
- package/dist/workbench.d.ts +0 -8
- package/dist/workbench.js +0 -356
- package/dist/workbench.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-grid-card.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CustomStylesConfig } from '../../types/components';
|
|
3
|
+
import { DatabaseDataSourceConfig } from '../../types/databaseDataSource';
|
|
4
|
+
import { ComponentParameterConfig } from '../../types/parameters';
|
|
5
|
+
|
|
6
|
+
declare const ADDITIONAL_STATS_FONT_PRIMARY_ORDER: readonly ["Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei"];
|
|
7
|
+
export type AdditionalStatsFontFamilyChoice = (typeof ADDITIONAL_STATS_FONT_PRIMARY_ORDER)[number] | 'sans-serif';
|
|
8
|
+
export declare function resolveAdditionalStatsFontFamily(primary?: string | null): string;
|
|
9
|
+
export interface EChartsChartRendererProps {
|
|
10
|
+
title?: string;
|
|
11
|
+
titleFontSize?: number;
|
|
12
|
+
xAxisFontSize?: number;
|
|
13
|
+
yAxisFontSize?: number;
|
|
14
|
+
gaugeAxisFontSize?: number;
|
|
15
|
+
data?: any[];
|
|
16
|
+
chartType: 'funnel' | 'gauge' | 'gaugeProgressRing' | 'pie' | 'horizontalBar' | 'bar' | 'treemap' | 'sankey' | 'wordcloud' | 'scatter' | 'line' | 'multiLine' | 'heatmap' | 'cluster';
|
|
17
|
+
height?: number;
|
|
18
|
+
loading?: boolean;
|
|
19
|
+
className?: string;
|
|
20
|
+
nameField?: string;
|
|
21
|
+
valueField?: string;
|
|
22
|
+
categoryField?: string;
|
|
23
|
+
funnelSort?: 'ascending' | 'descending';
|
|
24
|
+
funnelGap?: number;
|
|
25
|
+
funnelLabelFontSize?: number;
|
|
26
|
+
funnelLabelFontWeight?: number | string;
|
|
27
|
+
funnelLabelFontFamily?: AdditionalStatsFontFamilyChoice | string;
|
|
28
|
+
horizontalBarPercentBaseField?: string;
|
|
29
|
+
horizontalBarShowPercent?: boolean;
|
|
30
|
+
horizontalBarValueUnit?: string;
|
|
31
|
+
horizontalBarLabelPosition?: 'follow' | 'insideLeft' | 'inside' | 'insideRight';
|
|
32
|
+
horizontalBarLabelFontSize?: number;
|
|
33
|
+
horizontalBarLabelFontWeight?: number | string;
|
|
34
|
+
horizontalBarLabelFontFamily?: AdditionalStatsFontFamilyChoice | string;
|
|
35
|
+
barValueDisplayMode?: 'value' | 'percent' | 'valueAndPercent';
|
|
36
|
+
barNumberFormat?: 'plain' | 'thousands';
|
|
37
|
+
barOrientation?: 'horizontal' | 'vertical';
|
|
38
|
+
/** `progress` = ranking list (name left, % right, thin track, no grid) */
|
|
39
|
+
barLayout?: 'default' | 'progress';
|
|
40
|
+
/** Show category names on the category axis (Y for horizontal bars, X for vertical). Default true. */
|
|
41
|
+
showCategoryLabels?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Where to place category names when `showCategoryLabels` is true.
|
|
44
|
+
* - `axis`: on the category axis (default)
|
|
45
|
+
* - `aboveBar`: above each bar, left-aligned (horizontal / progress layout)
|
|
46
|
+
*/
|
|
47
|
+
categoryLabelPosition?: 'axis' | 'aboveBar';
|
|
48
|
+
barLengthAdjustment?: boolean;
|
|
49
|
+
barGradientMode?: 'none' | 'topToBottom';
|
|
50
|
+
xAxisLabelRotate?: number | 'auto';
|
|
51
|
+
xAxisLabelInterval?: number | 'auto';
|
|
52
|
+
xAxisLabelMaxLength?: number;
|
|
53
|
+
lineSmooth?: boolean;
|
|
54
|
+
lineAreaStyle?: boolean;
|
|
55
|
+
lineStack?: boolean;
|
|
56
|
+
lineXAxisType?: 'category' | 'value' | 'time' | 'log';
|
|
57
|
+
lineYAxisType?: 'category' | 'value' | 'time' | 'log';
|
|
58
|
+
lineShowSymbol?: boolean;
|
|
59
|
+
lineSymbolSize?: number;
|
|
60
|
+
lineStep?: 'none' | 'start' | 'middle' | 'end';
|
|
61
|
+
lineCumulative?: boolean;
|
|
62
|
+
multiLineValueFields?: string[];
|
|
63
|
+
multiLineStack?: boolean;
|
|
64
|
+
heatmapXField?: string;
|
|
65
|
+
heatmapYField?: string;
|
|
66
|
+
heatmapValueField?: string;
|
|
67
|
+
heatmapColorLow?: string;
|
|
68
|
+
heatmapColorHigh?: string;
|
|
69
|
+
clusterGroupField?: string;
|
|
70
|
+
clusterXField?: string;
|
|
71
|
+
clusterYField?: string;
|
|
72
|
+
clusterSizeField?: string;
|
|
73
|
+
lineQuantityUnitSuffix?: string;
|
|
74
|
+
lineYAxisValueUnit?: string;
|
|
75
|
+
linePointLabelFontFamily?: AdditionalStatsFontFamilyChoice | string;
|
|
76
|
+
linePointLabelFontSize?: number;
|
|
77
|
+
linePointLabelFontWeight?: number | string;
|
|
78
|
+
linePointLabelColor?: string;
|
|
79
|
+
gaugeMin?: number;
|
|
80
|
+
gaugeMax?: number;
|
|
81
|
+
gaugeSplitNumber?: number;
|
|
82
|
+
gaugeValue?: number;
|
|
83
|
+
gaugeRadius?: number;
|
|
84
|
+
gaugeCenterX?: number;
|
|
85
|
+
gaugeCenterY?: number;
|
|
86
|
+
gaugeColor?: string | string[];
|
|
87
|
+
gaugeAxisLineColor?: Array<[number, string]>;
|
|
88
|
+
gaugeDetailColor?: string;
|
|
89
|
+
gaugeShowDetail?: boolean;
|
|
90
|
+
gaugeDetailOffsetCenterX?: number | string;
|
|
91
|
+
gaugeDetailOffsetCenterY?: number | string;
|
|
92
|
+
gaugeTitleOffsetCenterX?: number | string;
|
|
93
|
+
gaugeTitleOffsetCenterY?: number | string;
|
|
94
|
+
gaugeTitleFontSize?: number;
|
|
95
|
+
gaugeDetailFontSize?: number;
|
|
96
|
+
gaugeLabelField?: string;
|
|
97
|
+
gaugeLabelColor?: string;
|
|
98
|
+
gaugeLabelFontSize?: number;
|
|
99
|
+
gaugeLabelFontWeight?: number;
|
|
100
|
+
gaugeTitleFontWeight?: number;
|
|
101
|
+
gaugeDetailFontWeight?: number;
|
|
102
|
+
gaugeLabelX?: number;
|
|
103
|
+
gaugeLabelY?: number;
|
|
104
|
+
gaugeArcStartAngle?: number;
|
|
105
|
+
gaugeArcEndAngle?: number;
|
|
106
|
+
gaugeProgressRingLineWidth?: number;
|
|
107
|
+
gaugeProgressRingDrawOffsetPercent?: number;
|
|
108
|
+
gaugeTrackColor?: string;
|
|
109
|
+
gaugeTrackGradient?: boolean;
|
|
110
|
+
gaugeProgressBarColor?: string;
|
|
111
|
+
gaugeProgressRingCenterY?: number | string;
|
|
112
|
+
gaugeProgressRingCanvasLabelPosition?: 'ringCenter' | 'chartTop' | 'chartBottom';
|
|
113
|
+
gaugeProgressRingCanvasLabelEdgePercent?: number;
|
|
114
|
+
treemapLayout?: 'squarified' | 'strip' | 'slice';
|
|
115
|
+
colors?: string[];
|
|
116
|
+
chartColorScheme?: string;
|
|
117
|
+
pieLabelFontSize?: number;
|
|
118
|
+
pieLabelFontWeight?: number | string;
|
|
119
|
+
pieLabelFontFamily?: AdditionalStatsFontFamilyChoice | string;
|
|
120
|
+
pieRingSize?: number;
|
|
121
|
+
pieRingWidth?: number;
|
|
122
|
+
/** Absolute outer radius (% of chart). When set, matches gauge-style sizing and bypasses pieRingSize scale. */
|
|
123
|
+
pieOuterRadius?: number;
|
|
124
|
+
/** First segment of outside label leader line (px). Overrides layout preset when set. */
|
|
125
|
+
pieLabelLineLength?: number;
|
|
126
|
+
/** Second (near-label) segment of outside label leader line (px). Overrides layout preset when set. */
|
|
127
|
+
pieLabelLineLength2?: number;
|
|
128
|
+
showTooltip?: boolean;
|
|
129
|
+
showLegend?: boolean;
|
|
130
|
+
meta?: {
|
|
131
|
+
[key: string]: {
|
|
132
|
+
alias?: string;
|
|
133
|
+
formatter?: (value: any) => string;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
useMockData?: boolean;
|
|
137
|
+
mockData?: any[];
|
|
138
|
+
id?: string;
|
|
139
|
+
customStyles?: CustomStylesConfig;
|
|
140
|
+
showDataView?: boolean;
|
|
141
|
+
databaseDataSourceConfig?: DatabaseDataSourceConfig | null;
|
|
142
|
+
pageParams?: Record<string, any>;
|
|
143
|
+
componentParameterConfig?: ComponentParameterConfig | null;
|
|
144
|
+
componentId?: string;
|
|
145
|
+
followPageRefresh?: boolean;
|
|
146
|
+
/** When true, renders chart body only (no outer Card/title) for embedding in List viewToggle */
|
|
147
|
+
embedded?: boolean;
|
|
148
|
+
headerLabelField?: string;
|
|
149
|
+
headerLabelFontSize?: number;
|
|
150
|
+
headerLabelFontWeight?: number | string;
|
|
151
|
+
headerLabelColor?: string;
|
|
152
|
+
/** Where to render headerLabelField text. Default keeps it beside the title. */
|
|
153
|
+
headerLabelPosition?: 'header' | 'chartTopRight';
|
|
154
|
+
additionalStats?: Array<{
|
|
155
|
+
field: string;
|
|
156
|
+
label?: string;
|
|
157
|
+
unit?: string;
|
|
158
|
+
newlineAtEnd?: boolean;
|
|
159
|
+
displayContent?: 'sum' | 'ratio' | 'sumAndRatio';
|
|
160
|
+
ratio?: {
|
|
161
|
+
denominator: string;
|
|
162
|
+
unit?: '%' | '';
|
|
163
|
+
prefix?: string;
|
|
164
|
+
};
|
|
165
|
+
}>;
|
|
166
|
+
additionalStatsLabelFontSize?: number;
|
|
167
|
+
additionalStatsFontFamily?: AdditionalStatsFontFamilyChoice | string;
|
|
168
|
+
additional_stats_font_family?: string;
|
|
169
|
+
additionalStatsFontWeight?: number | string;
|
|
170
|
+
additional_stats_font_weight?: number | string;
|
|
171
|
+
additionalStatsFontBold?: boolean;
|
|
172
|
+
additional_stats_font_bold?: boolean;
|
|
173
|
+
additionalStatsShowLegendSquare?: boolean;
|
|
174
|
+
additionalStatsNumberFormat?: 'plain' | 'thousands';
|
|
175
|
+
additionalStatsPosition?: 'headerRight' | 'headerCenter' | 'chartTopRight' | 'chartTopLeft' | 'chartTopCenter';
|
|
176
|
+
}
|
|
177
|
+
declare const EChartsChartRenderer: React.FC<EChartsChartRendererProps>;
|
|
178
|
+
export default EChartsChartRenderer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as EChartsChartRenderer } from './EChartsChartRenderer';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export declare const DEFAULT_GAUGE_TRACK_BASE = "#94a3b8";
|
|
2
|
+
export declare const HORIZONTAL_BAR_LABEL_POSITION_MAP: Record<string, 'right' | 'insideLeft' | 'inside' | 'insideRight'>;
|
|
3
|
+
export declare const VERTICAL_BAR_LABEL_POSITION_MAP: Record<string, 'top' | 'insideBottom' | 'inside' | 'insideTop'>;
|
|
4
|
+
export declare const HORIZONTAL_BAR_LABEL_USE_CHART_FG_BELOW_FILL_RATIO = 0.58;
|
|
5
|
+
export declare const HORIZONTAL_BAR_LABEL_CONTRAST_ON_LONG_OUTSIDE_FILL_RATIO = 0.88;
|
|
6
|
+
export declare function parseEchartsBool(value: unknown, defaultValue: boolean): boolean;
|
|
7
|
+
export declare function parseCssColorToRgb(color: string): {
|
|
8
|
+
r: number;
|
|
9
|
+
g: number;
|
|
10
|
+
b: number;
|
|
11
|
+
} | null;
|
|
12
|
+
export declare function relativeLuminance255(r: number, g: number, b: number): number;
|
|
13
|
+
export declare function pickContrastTextOnBarFill(backgroundCssColor: string): string;
|
|
14
|
+
export declare function isColorTooDarkForDarkMode(color: string): boolean;
|
|
15
|
+
export declare function resolveGaugeColorWithDarkModeSafe(userColor: string | undefined, fallbackColor: string, themedForeground: string, isDarkMode: boolean): string;
|
|
16
|
+
export declare function colorToRgba(color: string, alpha: number): string;
|
|
17
|
+
export declare function lightenColor(color: string, ratio: number): string;
|
|
18
|
+
export declare function darkenColor(color: string, ratio: number): string;
|
|
19
|
+
export type { GradientStop } from '../../../utils/chartGradientStops';
|
|
20
|
+
export { getTopToBottomGradientStops, getLineAreaGradientStops } from '../../../utils/chartGradientStops';
|
|
21
|
+
export declare function buildTopToBottomGradientColor(color: string): unknown;
|
|
22
|
+
export declare function rgbTripletToCss(rgb: {
|
|
23
|
+
r: number;
|
|
24
|
+
g: number;
|
|
25
|
+
b: number;
|
|
26
|
+
}): string;
|
|
27
|
+
export declare function toRgbTripletString(color: string, fallback: string): string;
|
|
28
|
+
export declare function rgbDistanceSquared(a: {
|
|
29
|
+
r: number;
|
|
30
|
+
g: number;
|
|
31
|
+
b: number;
|
|
32
|
+
}, b: {
|
|
33
|
+
r: number;
|
|
34
|
+
g: number;
|
|
35
|
+
b: number;
|
|
36
|
+
}): number;
|
|
37
|
+
export declare function ensureGaugeTrackBaseDistinct(trackBaseRgb: string, progressBase: string): string;
|
|
38
|
+
export declare function buildGaugeTrackGradient(baseColor: string): unknown;
|
|
39
|
+
export declare function ensureSolidGaugeTrackDistinct(trackCss: string, progressBase: string): string;
|
|
40
|
+
export declare function buildLineAreaGradient(color: string): {
|
|
41
|
+
color: unknown;
|
|
42
|
+
};
|
|
43
|
+
export declare function coerceGaugeFontWeight(value: unknown, fallback: number): number;
|
|
44
|
+
export declare function formatGaugeSeriesOffsetAxis(value: number | string | undefined, axis: 'x' | 'y', defaults: {
|
|
45
|
+
x: number | string;
|
|
46
|
+
y: string;
|
|
47
|
+
}): number | string;
|
|
48
|
+
export declare function computePieOutsideLabelLiftDy(params: {
|
|
49
|
+
labelRect: {
|
|
50
|
+
x: number;
|
|
51
|
+
y: number;
|
|
52
|
+
width: number;
|
|
53
|
+
height: number;
|
|
54
|
+
};
|
|
55
|
+
labelLinePoints?: number[][];
|
|
56
|
+
}): number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './colors';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"echarts.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ColumnConfig } from '../../types/datasource';
|
|
2
|
+
|
|
3
|
+
export type CellEditorType = 'text' | 'number' | 'color' | 'date' | 'select' | 'switch' | 'file';
|
|
4
|
+
export type EditableTableColumnConfig = ColumnConfig;
|
|
5
|
+
export interface EditableTableProps {
|
|
6
|
+
id?: string;
|
|
7
|
+
type: 'EditableTable';
|
|
8
|
+
title?: string;
|
|
9
|
+
columns: EditableTableColumnConfig[];
|
|
10
|
+
rowKey?: string;
|
|
11
|
+
pagination?: {
|
|
12
|
+
pageSize?: number;
|
|
13
|
+
current?: number;
|
|
14
|
+
showSizeChanger?: boolean;
|
|
15
|
+
showQuickJumper?: boolean;
|
|
16
|
+
showTotal?: boolean;
|
|
17
|
+
};
|
|
18
|
+
dataSource?: {
|
|
19
|
+
datasetId?: string;
|
|
20
|
+
databaseDataSourceConfig?: any;
|
|
21
|
+
};
|
|
22
|
+
useMockData?: boolean;
|
|
23
|
+
showToolbar?: boolean;
|
|
24
|
+
showRefresh?: boolean;
|
|
25
|
+
enableExport?: boolean;
|
|
26
|
+
onUpdateSuccess?: () => void;
|
|
27
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { EditableTableColumnConfig } from './EditableTable.types';
|
|
2
|
+
import { TableAction } from '../../types';
|
|
3
|
+
|
|
4
|
+
interface EditableTableControllerProps {
|
|
5
|
+
columns: EditableTableColumnConfig[];
|
|
6
|
+
actions?: TableAction[];
|
|
7
|
+
onRowEditComplete?: (rowId: string, editedData: Record<string, any>, action: TableAction,
|
|
8
|
+
/** Full table row merged with edits; use for DB updateFields / updateConditions (column sources). */
|
|
9
|
+
rowForDatabaseWrite?: Record<string, any>) => Promise<void>;
|
|
10
|
+
}
|
|
11
|
+
interface EditableState {
|
|
12
|
+
editingCell: {
|
|
13
|
+
rowId: string;
|
|
14
|
+
columnKey: string;
|
|
15
|
+
} | null;
|
|
16
|
+
editingValue: any;
|
|
17
|
+
editingRow: string | null;
|
|
18
|
+
editedRowData: Record<string, any>;
|
|
19
|
+
originalRowData: Record<string, any>;
|
|
20
|
+
}
|
|
21
|
+
export interface EditableTableControllerReturn {
|
|
22
|
+
state: EditableState;
|
|
23
|
+
editingCell: {
|
|
24
|
+
rowId: string;
|
|
25
|
+
columnKey: string;
|
|
26
|
+
} | null;
|
|
27
|
+
editingValue: any;
|
|
28
|
+
editingRow: string | null;
|
|
29
|
+
editedRowData: Record<string, any>;
|
|
30
|
+
rowClickActions: TableAction[];
|
|
31
|
+
columnToRowClickActionMap: Map<string, TableAction>;
|
|
32
|
+
rowClickConflicts: Array<{
|
|
33
|
+
column: string;
|
|
34
|
+
actions: TableAction[];
|
|
35
|
+
}>;
|
|
36
|
+
handleStartRowEdit: (rowId: string | number, record: Record<string, any>, initialColumnKey?: string) => void;
|
|
37
|
+
handleRowEditCellChange: (columnKey: string, value: any) => void;
|
|
38
|
+
handleRowEditCellFocus: (columnKey: string) => void;
|
|
39
|
+
handleRowEditComplete: () => Promise<boolean>;
|
|
40
|
+
handleCancelRowEdit: () => void;
|
|
41
|
+
getNextEditableColumn: (currentColumnKey: string) => string | null;
|
|
42
|
+
}
|
|
43
|
+
export declare const useEditableTableController: ({ columns, actions, onRowEditComplete, }: EditableTableControllerProps) => EditableTableControllerReturn;
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { EditableTableColumnConfig } from './EditableTable.types';
|
|
3
|
+
import { ApplyFilterButtonPlacement, FilterPanelGridColumns } from '../../types/renderers';
|
|
4
|
+
import { TableAction } from '../../types';
|
|
5
|
+
|
|
6
|
+
interface EditableTableRendererProps {
|
|
7
|
+
columns: EditableTableColumnConfig[];
|
|
8
|
+
dataSource?: Record<string, unknown>[];
|
|
9
|
+
rowKey?: string;
|
|
10
|
+
title?: string;
|
|
11
|
+
enableExport?: boolean;
|
|
12
|
+
pagination?: {
|
|
13
|
+
pageSize?: number;
|
|
14
|
+
current?: number;
|
|
15
|
+
showSizeChanger?: boolean;
|
|
16
|
+
showQuickJumper?: boolean;
|
|
17
|
+
showTotal?: boolean;
|
|
18
|
+
};
|
|
19
|
+
showToolbar?: boolean;
|
|
20
|
+
showRefresh?: boolean;
|
|
21
|
+
showSettings?: boolean;
|
|
22
|
+
databaseDataSourceConfig?: any;
|
|
23
|
+
dataSourceConfig?: {
|
|
24
|
+
datasetId?: string;
|
|
25
|
+
databaseDataSourceConfig?: any;
|
|
26
|
+
};
|
|
27
|
+
onUpdateSuccess?: () => void;
|
|
28
|
+
actions?: TableAction[];
|
|
29
|
+
/** Match Table: allow mock rows when there is no data source (dev/demo) */
|
|
30
|
+
useMockData?: boolean;
|
|
31
|
+
mockData?: Record<string, unknown>[];
|
|
32
|
+
/** Legacy saved pages only; ignored at runtime */
|
|
33
|
+
editableConfig?: unknown;
|
|
34
|
+
filterPanelGridColumns?: FilterPanelGridColumns;
|
|
35
|
+
applyFilterButtonPlacement?: ApplyFilterButtonPlacement;
|
|
36
|
+
}
|
|
37
|
+
declare const EditableTableRenderer: React.FC<EditableTableRendererProps>;
|
|
38
|
+
export default EditableTableRenderer;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
interface ColorEditorProps {
|
|
4
|
+
value: string;
|
|
5
|
+
onChange: (value: string) => void;
|
|
6
|
+
onSave: () => void;
|
|
7
|
+
autoFocus?: boolean;
|
|
8
|
+
onKeyDown?: (e: React.KeyboardEvent) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const ColorEditor: React.FC<ColorEditorProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface DateEditorProps {
|
|
4
|
+
value: string;
|
|
5
|
+
onChange: (value: string) => void;
|
|
6
|
+
onSave: () => void;
|
|
7
|
+
autoFocus?: boolean;
|
|
8
|
+
dateMode?: 'date' | 'datetime';
|
|
9
|
+
onKeyDown?: (e: React.KeyboardEvent) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const DateEditor: React.FC<DateEditorProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface NumberEditorProps {
|
|
4
|
+
value: string | number;
|
|
5
|
+
onChange: (value: number | string) => void;
|
|
6
|
+
onSave: () => void;
|
|
7
|
+
autoFocus?: boolean;
|
|
8
|
+
onKeyDown?: (e: React.KeyboardEvent) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const NumberEditor: React.FC<NumberEditorProps>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
interface SelectEditorProps {
|
|
4
|
+
value: string | number;
|
|
5
|
+
onChange: (value: string | number) => void;
|
|
6
|
+
onSave: () => void;
|
|
7
|
+
datasourceId?: string;
|
|
8
|
+
version?: number;
|
|
9
|
+
valueField?: string;
|
|
10
|
+
labelField?: string;
|
|
11
|
+
autoFocus?: boolean;
|
|
12
|
+
staticOptions?: {
|
|
13
|
+
value: string;
|
|
14
|
+
label: string;
|
|
15
|
+
}[];
|
|
16
|
+
commitOnSelect?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const SelectEditor: React.FC<SelectEditorProps>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface SwitchEditorProps {
|
|
4
|
+
value: boolean | string | number;
|
|
5
|
+
onChange: (value: boolean) => void;
|
|
6
|
+
onSave: () => void;
|
|
7
|
+
showText?: boolean;
|
|
8
|
+
onText?: string;
|
|
9
|
+
offText?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
onKeyDown?: (e: React.KeyboardEvent) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const SwitchEditor: React.FC<SwitchEditorProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
interface TextEditorProps {
|
|
4
|
+
value: string | number;
|
|
5
|
+
onChange: (value: string) => void;
|
|
6
|
+
onSave: () => void;
|
|
7
|
+
autoFocus?: boolean;
|
|
8
|
+
onKeyDown?: (e: React.KeyboardEvent) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const TextEditor: React.FC<TextEditorProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { TextEditor } from './TextEditor';
|
|
2
|
+
export { NumberEditor } from './NumberEditor';
|
|
3
|
+
export { ColorEditor } from './ColorEditor';
|
|
4
|
+
export { DateEditor } from './DateEditor';
|
|
5
|
+
export { SelectEditor } from './SelectEditor';
|
|
6
|
+
export { SwitchEditor } from './SwitchEditor';
|
|
7
|
+
export { FileEditor } from './FileEditor';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DictionaryDataSourceConfig, TableColumnType } from '../../types/renderers';
|
|
3
|
+
|
|
4
|
+
export declare function fetchDictionaryRows(config: DictionaryDataSourceConfig | undefined): Promise<Record<string, unknown>[]>;
|
|
5
|
+
export declare function findMatchedDictionaryItem(record: Record<string, unknown>, column: TableColumnType, dictionaryRows: Record<string, unknown>[] | undefined): Record<string, unknown> | null;
|
|
6
|
+
export declare function getDictionaryCellPresentation(record: Record<string, unknown>, column: TableColumnType, dictionaryRows: Record<string, unknown>[] | undefined): {
|
|
7
|
+
text: string;
|
|
8
|
+
style: CSSProperties;
|
|
9
|
+
};
|
|
10
|
+
export declare function getDictionarySelectStaticOptions(column: TableColumnType, dictionaryRows: Record<string, unknown>[] | undefined): {
|
|
11
|
+
value: string;
|
|
12
|
+
label: string;
|
|
13
|
+
}[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EditableTableColumnConfig } from './EditableTable.types';
|
|
2
|
+
|
|
3
|
+
export type DateRenderFormat = 'yyyy-MM-dd' | 'yyyy-MM-dd HH:mm:ss';
|
|
4
|
+
export declare function getDateInputMode(column: EditableTableColumnConfig): 'date' | 'datetime';
|
|
5
|
+
export declare function getDateRenderFormat(column: EditableTableColumnConfig): DateRenderFormat;
|
|
6
|
+
export declare function formatDateForEditableTable(value: unknown, format: DateRenderFormat): string;
|
|
7
|
+
export declare function toNativeDateInputValue(value: unknown, mode: 'date' | 'datetime'): string;
|
|
8
|
+
export declare function fromNativeDateInputString(input: string, mode: 'date' | 'datetime'): string;
|
|
9
|
+
export declare function getSwitchChecked(value: unknown): boolean;
|
|
10
|
+
export declare function normalizeColorDisplay(value: unknown): string;
|
|
11
|
+
export declare function formatNumberDisplay(value: unknown): string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TableAction } from '../../types';
|
|
2
|
+
|
|
3
|
+
export declare function getEditableTableWriteDatasourceId(tableDatabaseConfig: {
|
|
4
|
+
datasourceId?: string;
|
|
5
|
+
} | null | undefined, rowClickOrAction: TableAction | null | undefined): string | undefined;
|
|
6
|
+
export declare function getEditableTableWriteDatasourceVersion(tableDatabaseConfig: {
|
|
7
|
+
version?: number;
|
|
8
|
+
} | null | undefined, rowClickOrAction: TableAction | null | undefined): number | undefined;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as EditableTableRenderer } from './EditableTableRenderer';
|
|
2
|
+
export { useEditableTableController } from './EditableTableController';
|
|
3
|
+
export type { EditableTableControllerReturn } from './EditableTableController';
|
|
4
|
+
export type * from './EditableTable.types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editable-table.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|