@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,60 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The one component that touches the platform RBAC API. Lists the workbench application's
|
|
5
|
+
* identities — users or roles — and composes over the page bus (row click emits the selected
|
|
6
|
+
* identity for a downstream IdentityAttributeAssign).
|
|
7
|
+
*
|
|
8
|
+
* Because identity (platform RBAC DB, via API) and its tenant-side attributes (business DB, via
|
|
9
|
+
* datasource) live in DIFFERENT databases, a SQL JOIN is impossible; this component MERGES them
|
|
10
|
+
* on the client by join key. So for roles it can show name/code/member-count from the API AND an
|
|
11
|
+
* inline-editable extension column (e.g. ds_roles_ex.filter_store) pulled from a datasource, keyed
|
|
12
|
+
* by role code. For users it can inline-assign application roles (a platform RBAC write).
|
|
13
|
+
*/
|
|
14
|
+
export interface AppIdentityListRendererProps {
|
|
15
|
+
id?: string;
|
|
16
|
+
/** Which identity set to list. */
|
|
17
|
+
source?: 'users' | 'roles';
|
|
18
|
+
/** Row click emits the selected identity id/code under this bus key. Empty → rows not selectable. */
|
|
19
|
+
emitParamKey?: string;
|
|
20
|
+
searchable?: boolean;
|
|
21
|
+
/** users: show the email column. */
|
|
22
|
+
showEmail?: boolean;
|
|
23
|
+
/** users: show the phone column. */
|
|
24
|
+
showPhone?: boolean;
|
|
25
|
+
/** users: show role badges (read-only) — ignored when roleAssignable is on. */
|
|
26
|
+
showRoles?: boolean;
|
|
27
|
+
/** users: render an inline role picker per row and write it via the RBAC assign API. */
|
|
28
|
+
roleAssignable?: boolean;
|
|
29
|
+
/** users: show the role filter dropdown next to search (default true). */
|
|
30
|
+
roleFilterable?: boolean;
|
|
31
|
+
/** roles: READ datasource holding the extension attribute rows (merged by attributeKeyField).
|
|
32
|
+
* users: same datasource, loaded when emitAttributeParamKey is set. */
|
|
33
|
+
attributeDatasourceId?: string;
|
|
34
|
+
/** roles: TRANSACTION datasource that upserts one identity's attribute value. */
|
|
35
|
+
attributeSaveDatasourceId?: string;
|
|
36
|
+
/** roles: join field in the attribute rows (default 'role_code'). */
|
|
37
|
+
attributeKeyField?: string;
|
|
38
|
+
/** roles: value field in the attribute rows (default 'filter_store'). */
|
|
39
|
+
attributeValueField?: string;
|
|
40
|
+
/** roles: inline editor kind for the attribute column. */
|
|
41
|
+
attributeKind?: 'none' | 'toggle' | 'number';
|
|
42
|
+
/** roles: attribute column header (plain string or bilingual { zh, en }). */
|
|
43
|
+
attributeLabel?: unknown;
|
|
44
|
+
/** roles: SQL param name carrying the identity code in the save body (default 'roleCode'). */
|
|
45
|
+
attributeSaveKeyParam?: string;
|
|
46
|
+
/** roles: SQL param name carrying the value in the save body (default 'filterStore'). */
|
|
47
|
+
attributeSaveValueParam?: string;
|
|
48
|
+
/** users: bus key carrying the selected user's role attribute value ('true'/'false', looked up
|
|
49
|
+
* from attributeDatasourceId by roles[0].code). Lets listeners (e.g. via visibleWhen) react to
|
|
50
|
+
* whether the selected identity needs the attribute-gated workflow. Empty → not emitted. */
|
|
51
|
+
emitAttributeParamKey?: string;
|
|
52
|
+
showMemberCount?: boolean;
|
|
53
|
+
showPermissionCount?: boolean;
|
|
54
|
+
/** users: table box fixed height (px number or CSS e.g. calc(100vh - 200px); scrolls beyond). Unset → hug content. */
|
|
55
|
+
listHeight?: number | string;
|
|
56
|
+
/** users: rows per page (client-side pagination). 0/unset → single page. */
|
|
57
|
+
pageSize?: number;
|
|
58
|
+
}
|
|
59
|
+
export declare function AppIdentityListRenderer({ id, source, emitParamKey, searchable, showEmail, showPhone, showRoles, roleAssignable, roleFilterable, attributeDatasourceId, attributeSaveDatasourceId, attributeKeyField, attributeValueField, attributeKind, attributeLabel, attributeSaveKeyParam, attributeSaveValueParam, emitAttributeParamKey, showMemberCount, showPermissionCount, listHeight, pageSize, }: AppIdentityListRendererProps): React.JSX.Element;
|
|
60
|
+
export default AppIdentityListRenderer;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Generic "assign many options to a bus-selected identity" editor.
|
|
5
|
+
*
|
|
6
|
+
* Not welded to any domain: an admin picks a set of options (stores / regions / categories …)
|
|
7
|
+
* for whichever identity was emitted onto the page bus (by AppIdentityList), then overwrites the
|
|
8
|
+
* identity↔option rows via a TRANSACTION datasource. Everything is datasource-bound, so a different
|
|
9
|
+
* space reuses this component verbatim and only swaps the three datasource ids.
|
|
10
|
+
*
|
|
11
|
+
* Data flow (all params travel at the request BODY top level — the /data endpoint reads {{param}}
|
|
12
|
+
* substitutions from top-level keys, never a nested object):
|
|
13
|
+
* options = READ optionsDatasourceId (no params) — the universe of assignable options
|
|
14
|
+
* current = READ currentDatasourceId { [identityValueParamKey]: <identity> } — what it has now
|
|
15
|
+
* save = TRANSACTION saveDatasourceId { [identityValueParamKey], [valuesParamKey](array), [operatorParamKey] }
|
|
16
|
+
*/
|
|
17
|
+
export interface IdentityAttributeAssignRendererProps {
|
|
18
|
+
id?: string;
|
|
19
|
+
/** Section title (plain string or bilingual { zh, en }). */
|
|
20
|
+
title?: unknown;
|
|
21
|
+
/** Bus param carrying the selected identity id (emitted by AppIdentityList). */
|
|
22
|
+
identityParamKey?: string;
|
|
23
|
+
optionsDatasourceId?: string;
|
|
24
|
+
currentDatasourceId?: string;
|
|
25
|
+
saveDatasourceId?: string;
|
|
26
|
+
/** Row field names in the options datasource. */
|
|
27
|
+
optionValueField?: string;
|
|
28
|
+
optionLabelFieldZh?: string;
|
|
29
|
+
optionLabelFieldEn?: string;
|
|
30
|
+
/** Optional field rendered as a small group chip on each option (e.g. channel). */
|
|
31
|
+
optionGroupField?: string;
|
|
32
|
+
/** Row field holding the option id in the current-authorization datasource. */
|
|
33
|
+
currentValueField?: string;
|
|
34
|
+
/** SQL param name carrying the identity id in the current-read and save bodies. */
|
|
35
|
+
identityValueParamKey?: string;
|
|
36
|
+
/** SQL param name carrying the selected-option id array in the save body. */
|
|
37
|
+
valuesParamKey?: string;
|
|
38
|
+
/** SQL param name carrying the operator id in the save body. */
|
|
39
|
+
operatorParamKey?: string;
|
|
40
|
+
/** Options box fixed height (px number or CSS e.g. calc(100vh - 200px); scrolls beyond). Unset → max-h-80. */
|
|
41
|
+
listHeight?: number | string;
|
|
42
|
+
}
|
|
43
|
+
export declare function IdentityAttributeAssignRenderer({ id, title, identityParamKey, optionsDatasourceId, currentDatasourceId, saveDatasourceId, optionValueField, optionLabelFieldZh, optionLabelFieldEn, optionGroupField, currentValueField, identityValueParamKey, valuesParamKey, operatorParamKey, listHeight, }: IdentityAttributeAssignRendererProps): React.JSX.Element;
|
|
44
|
+
export default IdentityAttributeAssignRenderer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identity.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './registry';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TableAction } from '../../types';
|
|
3
|
+
import { TableActionButtonPlacement } from '../../utils/tableActionButtonRender';
|
|
4
|
+
|
|
5
|
+
interface ListActionButtonProps {
|
|
6
|
+
action: TableAction;
|
|
7
|
+
placement: TableActionButtonPlacement;
|
|
8
|
+
onClick: (e: React.MouseEvent) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const ListActionButton: React.FC<ListActionButtonProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ListColumn } from '../../types/renderers';
|
|
3
|
+
|
|
4
|
+
interface ListDataTableProps {
|
|
5
|
+
columns: ListColumn[];
|
|
6
|
+
data: Record<string, unknown>[];
|
|
7
|
+
allData: Record<string, unknown>[];
|
|
8
|
+
className?: string;
|
|
9
|
+
/** Mobile only: pin the header below the FilterPanel on page scroll. Off by default. */
|
|
10
|
+
freezeFirstColumn?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const ListDataTable: React.FC<ListDataTableProps>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface ListProgressBarProps {
|
|
4
|
+
value: number;
|
|
5
|
+
max?: number;
|
|
6
|
+
fullWidth?: boolean;
|
|
7
|
+
size?: 'sm' | 'md' | 'lg';
|
|
8
|
+
barColor?: string;
|
|
9
|
+
trackColor?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const ListProgressBar: React.FC<ListProgressBarProps>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ListRendererProps } from '../../types/renderers';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Per-role content font sizes (px). Raised from the old tiny Tailwind sizes for low-vision users;
|
|
6
|
+
* each can be overridden via the PropertyEditor (FontSizeFieldsCard). Floor: 13px labels/captions.
|
|
7
|
+
*/
|
|
8
|
+
export interface ListFontSizes {
|
|
9
|
+
/** list/section title */
|
|
10
|
+
title: number;
|
|
11
|
+
/** item value / number */
|
|
12
|
+
value: number;
|
|
13
|
+
/** subtitle / description / meta / secondary text */
|
|
14
|
+
label: number;
|
|
15
|
+
/** highlight/status badges, pills */
|
|
16
|
+
badge: number;
|
|
17
|
+
}
|
|
18
|
+
export declare const DEFAULT_LIST_FONT_SIZES: ListFontSizes;
|
|
19
|
+
export declare const ListRenderer: React.FC<ListRendererProps>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TableAction } from '../../types';
|
|
3
|
+
import { TableDataType } from '../../types/renderers';
|
|
4
|
+
|
|
5
|
+
export interface ListTaskExecuteDialogState {
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
action: TableAction | null;
|
|
8
|
+
record: TableDataType | null;
|
|
9
|
+
}
|
|
10
|
+
interface ListTaskExecuteDialogProps {
|
|
11
|
+
dialog: ListTaskExecuteDialogState;
|
|
12
|
+
pageParams?: Record<string, unknown>;
|
|
13
|
+
onClose: () => void;
|
|
14
|
+
onRefresh?: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const ListTaskExecuteDialog: React.FC<ListTaskExecuteDialogProps>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ListRenderer } from './ListRenderers';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TableAction, NavigationItem } from '../../types';
|
|
2
|
+
import { TableDataType } from '../../types/renderers';
|
|
3
|
+
import { ParameterRecord } from '../../types/parameters';
|
|
4
|
+
|
|
5
|
+
export declare function resolveWorkbenchIdFromPath(pathname: string, paramWorkbenchId?: string): string | undefined;
|
|
6
|
+
export declare function buildListNavigateUrl(targetPage: string, workbenchId: string | undefined, queryString: string): string;
|
|
7
|
+
export interface ExecuteListNavigateOptions {
|
|
8
|
+
action: TableAction;
|
|
9
|
+
record: TableDataType;
|
|
10
|
+
pageParams?: ParameterRecord;
|
|
11
|
+
workbenchId?: string;
|
|
12
|
+
pathname: string;
|
|
13
|
+
navigate: (url: string) => void;
|
|
14
|
+
navigationItems?: NavigationItem[];
|
|
15
|
+
}
|
|
16
|
+
/** Align List navigate behavior with TableRenderer (open-tab + workbench path fallback). */
|
|
17
|
+
export declare function executeListNavigate({ action, record, pageParams, workbenchId: paramWorkbenchId, pathname, navigate, navigationItems, }: ExecuteListNavigateOptions): void;
|
|
18
|
+
export declare function buildListActionParameters(action: TableAction, record: TableDataType, pageParams?: ParameterRecord): ParameterRecord;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ListColumn } from '../../types/renderers';
|
|
3
|
+
import { ListProgressContext } from './listFormatUtils';
|
|
4
|
+
|
|
5
|
+
export interface ListCellRenderContext extends ListProgressContext {
|
|
6
|
+
index: number;
|
|
7
|
+
highlighted?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function renderListCellValue(column: ListColumn, record: Record<string, unknown>, context?: Partial<ListCellRenderContext>): React.ReactNode;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { ListColumn, ListItemLayoutConfig, ListRendererProps } from '../../types/renderers';
|
|
2
|
+
import { TableAction } from '../../types';
|
|
3
|
+
|
|
4
|
+
export declare function resolveListActions(actions?: TableAction[], rowActions?: TableAction[], toolbarActions?: TableAction[]): {
|
|
5
|
+
rowActions: TableAction[];
|
|
6
|
+
toolbarActions: TableAction[];
|
|
7
|
+
rowClickActions: TableAction[];
|
|
8
|
+
};
|
|
9
|
+
export declare function resolveRowClickAction(itemLayoutConfig?: ListItemLayoutConfig, rowClickActions?: TableAction[]): TableAction | undefined;
|
|
10
|
+
export declare function isListActionVisible(action: TableAction, record: Record<string, unknown>): boolean;
|
|
11
|
+
export interface ListColumnSlots {
|
|
12
|
+
title?: ListColumn;
|
|
13
|
+
titleSuffix: ListColumn[];
|
|
14
|
+
subtitle?: ListColumn;
|
|
15
|
+
description?: ListColumn;
|
|
16
|
+
avatar?: ListColumn;
|
|
17
|
+
icon?: ListColumn;
|
|
18
|
+
tags: ListColumn[];
|
|
19
|
+
custom: ListColumn[];
|
|
20
|
+
hasActionsSlot: boolean;
|
|
21
|
+
prefix?: ListColumn;
|
|
22
|
+
meta?: ListColumn;
|
|
23
|
+
progress?: ListColumn;
|
|
24
|
+
extraPrimary?: ListColumn;
|
|
25
|
+
extraSecondary?: ListColumn;
|
|
26
|
+
extraOthers: ListColumn[];
|
|
27
|
+
/** One horizontal row at the top of the row tail (ranking template right-block top row, e.g. rank-change badge group); columns sorted by slotIndex. */
|
|
28
|
+
extraTop: ListColumn[];
|
|
29
|
+
metrics: ListColumn[];
|
|
30
|
+
}
|
|
31
|
+
export declare function buildListColumnSlots(columns: ListColumn[]): ListColumnSlots;
|
|
32
|
+
export declare const EMPTY_DEFAULT_SORT: Array<{
|
|
33
|
+
field: string;
|
|
34
|
+
direction: 'asc' | 'desc';
|
|
35
|
+
}>;
|
|
36
|
+
export declare function sortStateToQuery(sortState: Array<{
|
|
37
|
+
field: string;
|
|
38
|
+
direction: 'asc' | 'desc';
|
|
39
|
+
}>): string | undefined;
|
|
40
|
+
export interface ListColumnPreset {
|
|
41
|
+
columns: ListColumn[];
|
|
42
|
+
itemLayoutConfig?: ListItemLayoutConfig;
|
|
43
|
+
/** List props aligned with column slot layout (see list-dashboard-demo.json) */
|
|
44
|
+
listProps?: Partial<Pick<ListRendererProps, 'split' | 'pagination' | 'defaultSort' | 'showRefresh' | 'selectionType'>>;
|
|
45
|
+
}
|
|
46
|
+
/** Subtask List — list-dashboard-demo.json comp-subtask-list */
|
|
47
|
+
export declare const SUBTASK_LIST_PRESET: ListColumnPreset;
|
|
48
|
+
/** Top 10 SKUs — list-dashboard-demo.json comp-top-skus */
|
|
49
|
+
export declare const TOP_SKUS_PRESET: ListColumnPreset;
|
|
50
|
+
/** Top 5 Stores — list-dashboard-demo.json comp-top-stores */
|
|
51
|
+
export declare const TOP_STORES_PRESET: ListColumnPreset;
|
|
52
|
+
/** Product card list — mobile SKU catalog (title + status + 4 KPI metrics) */
|
|
53
|
+
export declare const PRODUCT_CARD_PRESET: ListColumnPreset;
|
|
54
|
+
export declare const LIST_COLUMN_PRESETS: readonly [{
|
|
55
|
+
readonly id: "subtask-list";
|
|
56
|
+
readonly preset: ListColumnPreset;
|
|
57
|
+
}, {
|
|
58
|
+
readonly id: "top-skus";
|
|
59
|
+
readonly preset: ListColumnPreset;
|
|
60
|
+
}, {
|
|
61
|
+
readonly id: "top-stores";
|
|
62
|
+
readonly preset: ListColumnPreset;
|
|
63
|
+
}, {
|
|
64
|
+
readonly id: "product-card";
|
|
65
|
+
readonly preset: ListColumnPreset;
|
|
66
|
+
}];
|
|
67
|
+
export declare function applyListColumnPreset(preset: ListColumnPreset, onPropChange: (key: string, value: unknown) => void): void;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ListRenderProps } from '../../types/renderers';
|
|
2
|
+
|
|
3
|
+
export interface ListProgressContext {
|
|
4
|
+
record: Record<string, unknown>;
|
|
5
|
+
pageData: Record<string, unknown>[];
|
|
6
|
+
allData: Record<string, unknown>[];
|
|
7
|
+
}
|
|
8
|
+
export declare function formatListNumber(value: unknown, props?: ListRenderProps): string;
|
|
9
|
+
export declare function calcProgressValue(raw: unknown, props?: ListRenderProps, context?: ListProgressContext): number;
|
|
10
|
+
export declare function resolveListRank(props: ListRenderProps, context: {
|
|
11
|
+
index: number;
|
|
12
|
+
record: Record<string, unknown>;
|
|
13
|
+
}): number;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ListItemLayoutConfig } from '../../types/renderers';
|
|
3
|
+
import { ListColumnSlots } from './listConfig';
|
|
4
|
+
import { ListFontSizes } from './ListRenderers';
|
|
5
|
+
|
|
6
|
+
export interface ListItemTemplateContext {
|
|
7
|
+
item: Record<string, unknown>;
|
|
8
|
+
index: number;
|
|
9
|
+
rowId: string | number;
|
|
10
|
+
slots: ListColumnSlots;
|
|
11
|
+
itemLayoutConfig?: ListItemLayoutConfig;
|
|
12
|
+
split?: boolean;
|
|
13
|
+
isSelected?: boolean;
|
|
14
|
+
pageData: Record<string, unknown>[];
|
|
15
|
+
allData: Record<string, unknown>[];
|
|
16
|
+
selectionCheckbox?: React.ReactNode;
|
|
17
|
+
rowActions?: React.ReactNode;
|
|
18
|
+
onRowClick?: () => void;
|
|
19
|
+
/** Current/highlighted row (left border + tint). */
|
|
20
|
+
highlighted?: boolean;
|
|
21
|
+
/** Status dots node rendered before the title. */
|
|
22
|
+
statusDots?: React.ReactNode;
|
|
23
|
+
/** Current/highlight badge node rendered after the title. */
|
|
24
|
+
highlightBadge?: React.ReactNode;
|
|
25
|
+
/** Per-role content font sizes (px); falls back to readable defaults. */
|
|
26
|
+
fontSizes?: ListFontSizes;
|
|
27
|
+
/** Narrow container (real mobile + studio phone frame); hook is called in the component, not here. */
|
|
28
|
+
narrow?: boolean;
|
|
29
|
+
}
|
|
30
|
+
export declare function renderRankingListItem(ctx: ListItemTemplateContext): React.ReactNode;
|
|
31
|
+
export declare function renderProductCardListItem(ctx: ListItemTemplateContext): React.ReactNode;
|
|
32
|
+
export declare function renderProgressTaskListItem(ctx: ListItemTemplateContext): React.ReactNode;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ViewType } from '../shared/ViewToggleButton';
|
|
2
|
+
|
|
3
|
+
/** Legacy configs used `list` for the visual/card view — treat as chart view. */
|
|
4
|
+
export declare function normalizeViewType(raw: unknown): ViewType;
|
|
5
|
+
export declare function isDataViewType(viewType: ViewType): boolean;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { TableAction, NavigationItem } from '../../types';
|
|
2
|
+
import { TableDataType } from '../../types/renderers';
|
|
3
|
+
import { ParameterRecord } from '../../types/parameters';
|
|
4
|
+
|
|
5
|
+
interface UseListActionsOptions {
|
|
6
|
+
onRefresh: () => void;
|
|
7
|
+
pageParams?: ParameterRecord;
|
|
8
|
+
navigationItems?: NavigationItem[];
|
|
9
|
+
}
|
|
10
|
+
export declare function useListActions({ onRefresh, pageParams, navigationItems, }: UseListActionsOptions): {
|
|
11
|
+
executeAction: (action: TableAction, record: TableDataType) => Promise<void>;
|
|
12
|
+
actionFormDialog: {
|
|
13
|
+
isOpen: boolean;
|
|
14
|
+
action: TableAction | null;
|
|
15
|
+
record: TableDataType | null;
|
|
16
|
+
};
|
|
17
|
+
closeActionForm: () => void;
|
|
18
|
+
submitActionForm: (formValues: Record<string, unknown>) => Promise<void>;
|
|
19
|
+
confirmDialog: {
|
|
20
|
+
isOpen: boolean;
|
|
21
|
+
message: string;
|
|
22
|
+
onConfirm: (() => void) | null;
|
|
23
|
+
};
|
|
24
|
+
closeConfirm: () => void;
|
|
25
|
+
taskExecuteDialog: {
|
|
26
|
+
isOpen: boolean;
|
|
27
|
+
action: TableAction | null;
|
|
28
|
+
record: TableDataType | null;
|
|
29
|
+
};
|
|
30
|
+
closeTaskExecute: () => void;
|
|
31
|
+
runDatabaseUpdate: (action: TableAction, record: TableDataType, formValues?: Record<string, unknown>) => Promise<void>;
|
|
32
|
+
runDatabaseDelete: (action: TableAction, record: TableDataType, formValues?: Record<string, unknown>) => Promise<void>;
|
|
33
|
+
runDatabaseInsert: (action: TableAction, record: TableDataType, formValues?: Record<string, unknown>) => Promise<void>;
|
|
34
|
+
runDatasetUpdate: (action: TableAction, record: TableDataType, formValues?: Record<string, unknown>) => Promise<void>;
|
|
35
|
+
runDatasetInsert: (action: TableAction, record: TableDataType, formValues?: Record<string, unknown>) => Promise<void>;
|
|
36
|
+
runDatasetDelete: (action: TableAction, record: TableDataType, formValues?: Record<string, unknown>) => Promise<void>;
|
|
37
|
+
};
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { DatabaseDataSourceConfig } from '../../types/databaseDataSource';
|
|
2
|
+
import { EnhancedDataSource } from '../../types/datasource';
|
|
3
|
+
import { ComponentParameterConfig } from '../../types/parameters';
|
|
4
|
+
import { ParameterConfig } from '../../types';
|
|
5
|
+
|
|
6
|
+
export interface UseListDataSourceOptions {
|
|
7
|
+
id?: string;
|
|
8
|
+
useMockData?: boolean;
|
|
9
|
+
mockData?: Record<string, unknown>[];
|
|
10
|
+
externalDataSource?: Record<string, unknown>[];
|
|
11
|
+
externalLoading?: boolean;
|
|
12
|
+
databaseDataSourceConfig?: DatabaseDataSourceConfig | null;
|
|
13
|
+
enhancedDataSource?: EnhancedDataSource | null;
|
|
14
|
+
parameterConfig?: ParameterConfig;
|
|
15
|
+
componentParameterConfig?: ComponentParameterConfig;
|
|
16
|
+
pageParams?: Record<string, unknown>;
|
|
17
|
+
defaultSort?: Array<{
|
|
18
|
+
field: string;
|
|
19
|
+
direction: 'asc' | 'desc';
|
|
20
|
+
}>;
|
|
21
|
+
enableSort?: boolean;
|
|
22
|
+
pageSize?: number;
|
|
23
|
+
paginationEnabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Extra flat query params merged into the datasource request (e.g. a quick-filter pill value).
|
|
26
|
+
* Changing these re-queries the datasource (server-side filtering).
|
|
27
|
+
*/
|
|
28
|
+
additionalParams?: Record<string, unknown>;
|
|
29
|
+
}
|
|
30
|
+
export declare function useListDataSource(options: UseListDataSourceOptions): {
|
|
31
|
+
data: Record<string, unknown>[];
|
|
32
|
+
allData: Record<string, unknown>[];
|
|
33
|
+
loading: boolean;
|
|
34
|
+
currentPage: number;
|
|
35
|
+
setCurrentPage: import('react').Dispatch<import('react').SetStateAction<number>>;
|
|
36
|
+
pageSize: number;
|
|
37
|
+
setPageSize: import('react').Dispatch<import('react').SetStateAction<number>>;
|
|
38
|
+
total: number;
|
|
39
|
+
sortState: {
|
|
40
|
+
field: string;
|
|
41
|
+
direction: "asc" | "desc";
|
|
42
|
+
}[];
|
|
43
|
+
setSortState: import('react').Dispatch<import('react').SetStateAction<{
|
|
44
|
+
field: string;
|
|
45
|
+
direction: "asc" | "desc";
|
|
46
|
+
}[]>>;
|
|
47
|
+
refresh: () => boolean;
|
|
48
|
+
dbPagination: {
|
|
49
|
+
total: number;
|
|
50
|
+
current_page: number;
|
|
51
|
+
total_pages: number;
|
|
52
|
+
limit: number;
|
|
53
|
+
offset: number;
|
|
54
|
+
has_more: boolean;
|
|
55
|
+
};
|
|
56
|
+
enableSort: boolean;
|
|
57
|
+
useServerPagination: boolean;
|
|
58
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ParameterConfig } from '../../types';
|
|
2
|
+
|
|
3
|
+
interface UseListSelectionEmitOptions {
|
|
4
|
+
componentId?: string;
|
|
5
|
+
rowKey: string;
|
|
6
|
+
selectionType: 'none' | 'single' | 'multiple';
|
|
7
|
+
selectedRowIds: (string | number)[];
|
|
8
|
+
allData: Record<string, unknown>[];
|
|
9
|
+
parameterConfig?: ParameterConfig;
|
|
10
|
+
componentParameterConfig?: {
|
|
11
|
+
enableParameterReceiving?: boolean;
|
|
12
|
+
listenToParameters?: string[];
|
|
13
|
+
enableCommunication?: boolean;
|
|
14
|
+
enableEmit?: boolean;
|
|
15
|
+
triggers?: Record<string, {
|
|
16
|
+
enabled?: boolean;
|
|
17
|
+
parameters?: string[];
|
|
18
|
+
}>;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export declare function useListSelectionEmit({ componentId, rowKey, selectionType, selectedRowIds, allData, parameterConfig, componentParameterConfig, }: UseListSelectionEmitOptions): void;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
export interface MapChartRendererProps {
|
|
7
|
+
title?: string;
|
|
8
|
+
data?: any[];
|
|
9
|
+
nameField?: string;
|
|
10
|
+
valueField?: string;
|
|
11
|
+
height?: number;
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
className?: string;
|
|
14
|
+
mapType?: 'china' | 'province' | 'usa' | 'europe';
|
|
15
|
+
province?: string;
|
|
16
|
+
color?: string | string[];
|
|
17
|
+
showLabel?: boolean;
|
|
18
|
+
labelFormatter?: (params: any) => string;
|
|
19
|
+
tooltipFormatter?: ((params: any) => string) | string;
|
|
20
|
+
visualMap?: {
|
|
21
|
+
type?: 'continuous' | 'piecewise';
|
|
22
|
+
min?: number;
|
|
23
|
+
max?: number;
|
|
24
|
+
seriesIndex?: number | number[];
|
|
25
|
+
inRange?: {
|
|
26
|
+
color?: string[];
|
|
27
|
+
};
|
|
28
|
+
text?: string[];
|
|
29
|
+
calculable?: boolean;
|
|
30
|
+
};
|
|
31
|
+
useMockData?: boolean;
|
|
32
|
+
mockData?: any[];
|
|
33
|
+
id?: string;
|
|
34
|
+
customStyles?: CustomStylesConfig;
|
|
35
|
+
showDataView?: boolean;
|
|
36
|
+
databaseDataSourceConfig?: DatabaseDataSourceConfig | null;
|
|
37
|
+
pageParams?: Record<string, any>;
|
|
38
|
+
componentParameterConfig?: ComponentParameterConfig | null;
|
|
39
|
+
componentId?: string;
|
|
40
|
+
}
|
|
41
|
+
declare const MapChartRenderer: React.FC<MapChartRendererProps>;
|
|
42
|
+
export default MapChartRenderer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MapChartRenderer } from './MapChartRenderer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"map-chart.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface MetricCarouselRendererProps {
|
|
4
|
+
id?: string;
|
|
5
|
+
gap?: number;
|
|
6
|
+
/** Each child fills this % of the carousel width (scroll layout). 100=full slide; ~90 lets the next item peek. */
|
|
7
|
+
itemWidthPct?: number;
|
|
8
|
+
/** Fixed per-child width in px (scroll layout). When set (>0) it OVERRIDES itemWidthPct so card width does NOT
|
|
9
|
+
* scale with screen width — wide phones show ~2 cards, narrow phones ~1.5 (dashboard acceptance 0709 #2). */
|
|
10
|
+
itemWidth?: number;
|
|
11
|
+
hideScrollbar?: boolean;
|
|
12
|
+
showSwipeHint?: boolean;
|
|
13
|
+
/** Show pagination dots (●●●) under the carousel instead of the swipe-hint text. Active dot tracks scroll. */
|
|
14
|
+
showDots?: boolean;
|
|
15
|
+
edgeBleed?: {
|
|
16
|
+
enabled?: boolean;
|
|
17
|
+
mx?: number;
|
|
18
|
+
px?: number;
|
|
19
|
+
};
|
|
20
|
+
layout?: 'scroll' | 'grid';
|
|
21
|
+
/** Swipe-hint text font size (px). Default 13. */
|
|
22
|
+
labelFontSize?: number;
|
|
23
|
+
children?: React.ReactNode;
|
|
24
|
+
}
|
|
25
|
+
declare const MetricCarouselRenderer: React.FC<MetricCarouselRendererProps>;
|
|
26
|
+
export default MetricCarouselRenderer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MetricCarouselRenderer } from './MetricCarouselRenderer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metric-carousel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CustomStylesConfig } from '../../types/components';
|
|
3
|
+
import { NavigationItem } from '../../types';
|
|
4
|
+
import { NavTileProps } from './navTileUtils';
|
|
5
|
+
|
|
6
|
+
export interface NavTileRendererProps extends NavTileProps {
|
|
7
|
+
id?: string;
|
|
8
|
+
customStyles?: CustomStylesConfig;
|
|
9
|
+
pageParams?: Record<string, unknown>;
|
|
10
|
+
navigationItems?: NavigationItem[];
|
|
11
|
+
}
|
|
12
|
+
declare const NavTileRenderer: React.FC<NavTileRendererProps>;
|
|
13
|
+
export default NavTileRenderer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as NavTileRenderer } from './NavTileRenderer';
|