@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
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { useRef as
|
|
2
|
-
import { useLocation as
|
|
3
|
-
import
|
|
4
|
-
import { G as
|
|
5
|
-
import { jsxs as
|
|
6
|
-
function
|
|
1
|
+
import { useRef as U, useEffect as y, useState as m, useMemo as V, useCallback as j, useId as q } from "react";
|
|
2
|
+
import { useLocation as W } from "react-router-dom";
|
|
3
|
+
import K from "@genispace/sdk";
|
|
4
|
+
import { G as v, a as Q } from "./shell-DIHnXIUb.js";
|
|
5
|
+
import { jsxs as c, jsx as a, Fragment as $ } from "react/jsx-runtime";
|
|
6
|
+
function F(e) {
|
|
7
7
|
return e.replace(/\/$/, "") || "/";
|
|
8
8
|
}
|
|
9
9
|
function X(e, r) {
|
|
10
|
-
return
|
|
10
|
+
return F(e) === F(r);
|
|
11
11
|
}
|
|
12
12
|
function ge(e, r) {
|
|
13
|
-
const { pathname: t } =
|
|
13
|
+
const { pathname: t } = W(), n = U(r);
|
|
14
14
|
n.current = r;
|
|
15
15
|
const s = X(t, e);
|
|
16
|
-
|
|
16
|
+
y(() => {
|
|
17
17
|
s && n.current();
|
|
18
18
|
}, [s, t, e]);
|
|
19
19
|
}
|
|
20
|
-
const
|
|
20
|
+
const H = "new";
|
|
21
21
|
function Z(e) {
|
|
22
|
-
return !e?.trim() || e ===
|
|
22
|
+
return !e?.trim() || e === H;
|
|
23
23
|
}
|
|
24
24
|
function xe(e) {
|
|
25
25
|
return !Z(e);
|
|
26
26
|
}
|
|
27
27
|
function ye(e) {
|
|
28
28
|
const r = e?.trim();
|
|
29
|
-
return !r || r ===
|
|
29
|
+
return !r || r === H ? crypto.randomUUID() : r;
|
|
30
30
|
}
|
|
31
31
|
const Ne = [
|
|
32
32
|
"USD",
|
|
@@ -39,10 +39,10 @@ const Ne = [
|
|
|
39
39
|
"CAD",
|
|
40
40
|
"SGD",
|
|
41
41
|
"CHF"
|
|
42
|
-
],
|
|
42
|
+
], G = /* @__PURE__ */ new Map();
|
|
43
43
|
function ee(e) {
|
|
44
|
-
let r =
|
|
45
|
-
return r || (r = new Intl.DisplayNames([e], { type: "currency" }),
|
|
44
|
+
let r = G.get(e);
|
|
45
|
+
return r || (r = new Intl.DisplayNames([e], { type: "currency" }), G.set(e, r)), r;
|
|
46
46
|
}
|
|
47
47
|
function we(e, r = "en") {
|
|
48
48
|
const t = e.trim().toUpperCase();
|
|
@@ -66,8 +66,8 @@ function re(e) {
|
|
|
66
66
|
function Ae(e, r = {}) {
|
|
67
67
|
const t = (r.minOne ?? "USD").toUpperCase(), n = /* @__PURE__ */ new Set(), s = [];
|
|
68
68
|
for (const o of e ?? []) {
|
|
69
|
-
const
|
|
70
|
-
!
|
|
69
|
+
const i = o.trim().toUpperCase();
|
|
70
|
+
!i || n.has(i) || (n.add(i), s.push(i));
|
|
71
71
|
}
|
|
72
72
|
return s.length === 0 ? [t] : (n.has(t) || s.unshift(t), s);
|
|
73
73
|
}
|
|
@@ -80,29 +80,29 @@ function te() {
|
|
|
80
80
|
return null;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function M(e) {
|
|
84
84
|
return (e || te())?.trim().toLowerCase().replaceAll("_", "-").startsWith("zh") ? "zh-CN" : "en-US";
|
|
85
85
|
}
|
|
86
86
|
function ve(e, r, t = { timeStyle: "short" }) {
|
|
87
|
-
return
|
|
87
|
+
return J(e, r, t);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function J(e, r, t = { dateStyle: "medium" }) {
|
|
90
90
|
if (e == null || e === "") return "—";
|
|
91
91
|
const n = e instanceof Date ? e : new Date(String(e));
|
|
92
|
-
return Number.isNaN(n.getTime()) ? String(e) : new Intl.DateTimeFormat(
|
|
92
|
+
return Number.isNaN(n.getTime()) ? String(e) : new Intl.DateTimeFormat(M(r), t).format(n);
|
|
93
93
|
}
|
|
94
94
|
function Ce(e, r, t = { dateStyle: "medium", timeStyle: "short" }) {
|
|
95
|
-
return
|
|
95
|
+
return J(e, r, t);
|
|
96
96
|
}
|
|
97
97
|
function ke(e, r, t) {
|
|
98
98
|
const n = Number(e ?? 0);
|
|
99
|
-
return new Intl.NumberFormat(
|
|
99
|
+
return new Intl.NumberFormat(M(r), t).format(
|
|
100
100
|
Number.isFinite(n) ? n : 0
|
|
101
101
|
);
|
|
102
102
|
}
|
|
103
103
|
function Se(e, r, t) {
|
|
104
104
|
const n = Number(e ?? 0);
|
|
105
|
-
return new Intl.NumberFormat(
|
|
105
|
+
return new Intl.NumberFormat(M(t), {
|
|
106
106
|
style: "currency",
|
|
107
107
|
currency: String(r || "USD"),
|
|
108
108
|
maximumFractionDigits: 2
|
|
@@ -115,14 +115,14 @@ function ne() {
|
|
|
115
115
|
return "";
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
function
|
|
119
|
-
const [r, t] =
|
|
120
|
-
return
|
|
118
|
+
function Le(e) {
|
|
119
|
+
const [r, t] = m(0);
|
|
120
|
+
return y(() => {
|
|
121
121
|
const n = () => t((s) => s + 1);
|
|
122
|
-
return window.addEventListener(
|
|
123
|
-
}, []),
|
|
122
|
+
return window.addEventListener(v, n), () => window.removeEventListener(v, n);
|
|
123
|
+
}, []), V(() => {
|
|
124
124
|
const n = ne(), s = e().replace(/\/$/, "");
|
|
125
|
-
return new
|
|
125
|
+
return new K({
|
|
126
126
|
baseURL: s,
|
|
127
127
|
apiKey: n,
|
|
128
128
|
accessToken: n || void 0
|
|
@@ -152,16 +152,16 @@ function Y() {
|
|
|
152
152
|
return !1;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function Ue(e, r, t, n) {
|
|
156
156
|
return e || n != null ? !1 : r.length === 0 ? Y() : r.includes(t);
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function _e(e, r, t, n) {
|
|
159
159
|
return e || n != null ? !1 : oe(r, t);
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function Ie() {
|
|
162
162
|
try {
|
|
163
163
|
if (typeof sessionStorage < "u") {
|
|
164
|
-
const e = sessionStorage.getItem(
|
|
164
|
+
const e = sessionStorage.getItem(Q);
|
|
165
165
|
if (e && e.trim() !== "")
|
|
166
166
|
return `${new URL(e, typeof window < "u" ? window.location.origin : "http://localhost").origin}/api`;
|
|
167
167
|
}
|
|
@@ -169,7 +169,7 @@ function Le() {
|
|
|
169
169
|
}
|
|
170
170
|
return typeof window < "u" ? `${window.location.origin}/api` : "";
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function Re(e, r) {
|
|
173
173
|
return () => ce({ sessionStorageKey: e, getApiRoot: r });
|
|
174
174
|
}
|
|
175
175
|
async function ie(e, r) {
|
|
@@ -178,8 +178,8 @@ async function ie(e, r) {
|
|
|
178
178
|
return { isUser: !0, permissionCodes: [], accessError: null };
|
|
179
179
|
const n = r().replace(/\/$/, ""), s = { "Content-Type": "application/json" };
|
|
180
180
|
try {
|
|
181
|
-
const
|
|
182
|
-
|
|
181
|
+
const l = localStorage.getItem("token");
|
|
182
|
+
l && (s.Authorization = `Bearer ${l}`);
|
|
183
183
|
} catch {
|
|
184
184
|
}
|
|
185
185
|
const o = await fetch(`${n}/applications/${encodeURIComponent(t)}/users/me/access`, {
|
|
@@ -187,47 +187,47 @@ async function ie(e, r) {
|
|
|
187
187
|
credentials: "include"
|
|
188
188
|
});
|
|
189
189
|
if (!o.ok) {
|
|
190
|
-
const
|
|
190
|
+
const l = await o.text().catch(() => "");
|
|
191
191
|
if (o.status === 404)
|
|
192
192
|
try {
|
|
193
|
-
(
|
|
193
|
+
(l ? JSON.parse(l) : null)?.code === "NOT_FOUND" && se(e, null);
|
|
194
194
|
} catch {
|
|
195
195
|
}
|
|
196
196
|
return o.status === 401 || o.status === 403 ? {
|
|
197
197
|
isUser: !1,
|
|
198
198
|
permissionCodes: [],
|
|
199
|
-
accessError:
|
|
199
|
+
accessError: l || o.statusText || `Access denied (${o.status})`
|
|
200
200
|
} : {
|
|
201
201
|
isUser: !0,
|
|
202
202
|
permissionCodes: [],
|
|
203
|
-
accessError:
|
|
203
|
+
accessError: l || o.statusText || `Access check failed (${o.status})`
|
|
204
204
|
};
|
|
205
205
|
}
|
|
206
|
-
const
|
|
206
|
+
const i = await o.json(), p = i?.data ?? i;
|
|
207
207
|
return {
|
|
208
|
-
isUser: !!
|
|
209
|
-
permissionCodes: Array.isArray(
|
|
208
|
+
isUser: !!p?.isUser,
|
|
209
|
+
permissionCodes: Array.isArray(p?.permissionCodes) ? p.permissionCodes : [],
|
|
210
210
|
accessError: null
|
|
211
211
|
};
|
|
212
212
|
}
|
|
213
213
|
function ce({ sessionStorageKey: e, getApiRoot: r }) {
|
|
214
|
-
const [t, n] =
|
|
214
|
+
const [t, n] = m({
|
|
215
215
|
isUser: !0,
|
|
216
216
|
permissionCodes: [],
|
|
217
217
|
loading: !0,
|
|
218
218
|
accessError: null,
|
|
219
219
|
reloadAccess: () => {
|
|
220
220
|
}
|
|
221
|
-
}), s =
|
|
221
|
+
}), s = j(() => {
|
|
222
222
|
n((o) => ({ ...o, loading: !0, accessError: null })), ie(e, r).then((o) => {
|
|
223
|
-
n((
|
|
224
|
-
...
|
|
223
|
+
n((i) => ({
|
|
224
|
+
...i,
|
|
225
225
|
...o,
|
|
226
226
|
loading: !1
|
|
227
227
|
}));
|
|
228
228
|
}).catch((o) => {
|
|
229
|
-
n((
|
|
230
|
-
...
|
|
229
|
+
n((i) => ({
|
|
230
|
+
...i,
|
|
231
231
|
isUser: !0,
|
|
232
232
|
permissionCodes: [],
|
|
233
233
|
loading: !1,
|
|
@@ -235,17 +235,17 @@ function ce({ sessionStorageKey: e, getApiRoot: r }) {
|
|
|
235
235
|
}));
|
|
236
236
|
});
|
|
237
237
|
}, [e, r]);
|
|
238
|
-
return
|
|
238
|
+
return y(() => {
|
|
239
239
|
s();
|
|
240
|
-
}, [s]),
|
|
240
|
+
}, [s]), y(() => {
|
|
241
241
|
const o = () => s();
|
|
242
|
-
return window.addEventListener(
|
|
243
|
-
}, [s]),
|
|
242
|
+
return window.addEventListener(v, o), () => window.removeEventListener(v, o);
|
|
243
|
+
}, [s]), y(() => {
|
|
244
244
|
n((o) => ({ ...o, reloadAccess: s }));
|
|
245
245
|
}, [s]), t;
|
|
246
246
|
}
|
|
247
247
|
function de({ access: e }) {
|
|
248
|
-
return e.loading || !e.accessError ? null : /* @__PURE__ */
|
|
248
|
+
return e.loading || !e.accessError ? null : /* @__PURE__ */ c(
|
|
249
249
|
"div",
|
|
250
250
|
{
|
|
251
251
|
role: "alert",
|
|
@@ -267,31 +267,31 @@ function de({ access: e }) {
|
|
|
267
267
|
);
|
|
268
268
|
}
|
|
269
269
|
function le({ variant: e = "table" }) {
|
|
270
|
-
return /* @__PURE__ */
|
|
270
|
+
return /* @__PURE__ */ c(
|
|
271
271
|
"div",
|
|
272
272
|
{
|
|
273
273
|
className: "w-full min-w-0 max-w-full animate-pulse px-4 py-4 sm:px-6 sm:py-6 lg:px-8",
|
|
274
274
|
role: "status",
|
|
275
275
|
"aria-busy": "true",
|
|
276
276
|
children: [
|
|
277
|
-
/* @__PURE__ */
|
|
278
|
-
/* @__PURE__ */
|
|
277
|
+
/* @__PURE__ */ c("div", { className: "mb-6 flex min-h-[52px] items-center justify-between gap-4 sm:min-h-[60px]", children: [
|
|
278
|
+
/* @__PURE__ */ c("div", { className: "min-w-0 flex-1 space-y-2", children: [
|
|
279
279
|
/* @__PURE__ */ a("div", { className: "h-7 w-48 max-w-full rounded-md bg-muted" }),
|
|
280
280
|
/* @__PURE__ */ a("div", { className: "h-4 w-80 max-w-[70%] rounded bg-muted" })
|
|
281
281
|
] }),
|
|
282
282
|
/* @__PURE__ */ a("div", { className: "h-10 w-28 shrink-0 rounded-md bg-muted" })
|
|
283
283
|
] }),
|
|
284
|
-
e === "dashboard" ? /* @__PURE__ */
|
|
284
|
+
e === "dashboard" ? /* @__PURE__ */ c($, { children: [
|
|
285
285
|
/* @__PURE__ */ a("div", { className: "grid gap-4 sm:grid-cols-2 xl:grid-cols-4", children: Array.from({ length: 4 }).map((r, t) => /* @__PURE__ */ a("div", { className: "h-28 rounded-xl border border-border bg-card" }, t)) }),
|
|
286
|
-
/* @__PURE__ */
|
|
286
|
+
/* @__PURE__ */ c("div", { className: "mt-6 grid gap-6 xl:grid-cols-2", children: [
|
|
287
287
|
/* @__PURE__ */ a("div", { className: "h-72 rounded-xl border border-border bg-card" }),
|
|
288
288
|
/* @__PURE__ */ a("div", { className: "h-72 rounded-xl border border-border bg-card" })
|
|
289
289
|
] })
|
|
290
|
-
] }) : e === "detail" ? /* @__PURE__ */
|
|
290
|
+
] }) : e === "detail" ? /* @__PURE__ */ c("div", { className: "grid gap-6 xl:grid-cols-[minmax(0,1fr)_22rem]", children: [
|
|
291
291
|
/* @__PURE__ */ a("div", { className: "h-[30rem] rounded-xl border border-border bg-card" }),
|
|
292
292
|
/* @__PURE__ */ a("div", { className: "h-72 rounded-xl border border-border bg-card" })
|
|
293
|
-
] }) : /* @__PURE__ */
|
|
294
|
-
/* @__PURE__ */
|
|
293
|
+
] }) : /* @__PURE__ */ c($, { children: [
|
|
294
|
+
/* @__PURE__ */ c("div", { className: "mb-4 flex gap-3", children: [
|
|
295
295
|
/* @__PURE__ */ a("div", { className: "h-10 flex-1 rounded-md bg-muted" }),
|
|
296
296
|
/* @__PURE__ */ a("div", { className: "h-10 w-36 rounded-md bg-muted" })
|
|
297
297
|
] }),
|
|
@@ -301,210 +301,148 @@ function le({ variant: e = "table" }) {
|
|
|
301
301
|
}
|
|
302
302
|
);
|
|
303
303
|
}
|
|
304
|
-
function
|
|
305
|
-
return e.accessError ? /* @__PURE__ */ a(de, { access: e }) : t && e.loading && e.permissionCodes.length === 0 ? /* @__PURE__ */ a(le, {}) : /* @__PURE__ */ a(
|
|
304
|
+
function De({ access: e, children: r, showLoadingSkeleton: t = !0 }) {
|
|
305
|
+
return e.accessError ? /* @__PURE__ */ a(de, { access: e }) : t && e.loading && e.permissionCodes.length === 0 ? /* @__PURE__ */ a(le, {}) : /* @__PURE__ */ a($, { children: r });
|
|
306
306
|
}
|
|
307
307
|
function ue(e) {
|
|
308
308
|
return e == null || e === "" ? null : e;
|
|
309
309
|
}
|
|
310
|
-
function
|
|
310
|
+
function Pe(e, r, t = !1, n = null) {
|
|
311
311
|
if (t || n != null) return { ...e };
|
|
312
312
|
const s = { ...e };
|
|
313
313
|
return r ? (s.partner_id = ue(s.partner_id), s.partner_id == null && (s.partner_id = null, s.partner_name = null), s) : (delete s.partner_id, s.partner_name === "" && (s.partner_name = null), s);
|
|
314
314
|
}
|
|
315
|
-
function De(e = {}) {
|
|
316
|
-
return () => {
|
|
317
|
-
const r = e.dedicatedEnv;
|
|
318
|
-
if (typeof r == "string" && r.trim() !== "")
|
|
319
|
-
return r.replace(/\/$/, "");
|
|
320
|
-
const t = e.platformEnv;
|
|
321
|
-
if (typeof t == "string" && t.trim() !== "")
|
|
322
|
-
return t.replace(/\/$/, "");
|
|
323
|
-
try {
|
|
324
|
-
if (typeof sessionStorage < "u") {
|
|
325
|
-
const n = sessionStorage.getItem(H);
|
|
326
|
-
if (n && n.trim() !== "")
|
|
327
|
-
return `${new URL(n, typeof window < "u" ? window.location.origin : "http://localhost").origin}/api`;
|
|
328
|
-
}
|
|
329
|
-
} catch {
|
|
330
|
-
}
|
|
331
|
-
return typeof window < "u" ? `${window.location.origin}/api` : "";
|
|
332
|
-
};
|
|
333
|
-
}
|
|
334
315
|
function Te(e) {
|
|
335
|
-
function r() {
|
|
336
|
-
try {
|
|
337
|
-
return localStorage.getItem("token");
|
|
338
|
-
} catch {
|
|
339
|
-
return null;
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
function t() {
|
|
343
|
-
const d = { "Content-Type": "application/json" }, i = r();
|
|
344
|
-
return i && (d.Authorization = `Bearer ${i}`), d;
|
|
345
|
-
}
|
|
346
|
-
function n(d, i, l) {
|
|
347
|
-
const m = `${e()}/data/${encodeURIComponent(d)}/tables/${encodeURIComponent(i)}`;
|
|
348
|
-
return l ? `${m}/${encodeURIComponent(l)}` : m;
|
|
349
|
-
}
|
|
350
|
-
async function s(d, i, l) {
|
|
351
|
-
const b = await fetch(n(d, i, l), { headers: t() }), m = await b.text();
|
|
352
|
-
if (!b.ok) throw new Error(m || b.statusText);
|
|
353
|
-
const p = m ? JSON.parse(m) : {};
|
|
354
|
-
return p.data ?? p;
|
|
355
|
-
}
|
|
356
|
-
async function o(d, i, l) {
|
|
357
|
-
const b = new URLSearchParams();
|
|
358
|
-
l && b.set("filter", JSON.stringify(l));
|
|
359
|
-
const m = await fetch(`${n(d, i)}?${b}`, { headers: t() }), p = await m.text();
|
|
360
|
-
if (!m.ok) throw new Error(p || m.statusText);
|
|
361
|
-
const x = (p ? JSON.parse(p) : {}).data;
|
|
362
|
-
return Array.isArray(x) ? x : x?.items ?? [];
|
|
363
|
-
}
|
|
364
|
-
async function c(d, i, l, b) {
|
|
365
|
-
const m = await fetch(n(d, i, l), {
|
|
366
|
-
method: "PATCH",
|
|
367
|
-
headers: t(),
|
|
368
|
-
body: JSON.stringify(b)
|
|
369
|
-
});
|
|
370
|
-
if (!m.ok) {
|
|
371
|
-
const p = await m.text();
|
|
372
|
-
throw new Error(p || m.statusText);
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
return { scopeGet: s, scopeList: o, scopePatch: c };
|
|
376
|
-
}
|
|
377
|
-
function Oe(e) {
|
|
378
316
|
return function(t, n = []) {
|
|
379
|
-
const s = n.filter(Boolean).sort().join("\0"), [o,
|
|
380
|
-
const
|
|
317
|
+
const s = n.filter(Boolean).sort().join("\0"), [o, i] = m(!1), [p, l] = m([]), [b, w] = m(!1), [k, g] = m(null), u = U(0), x = j(async () => {
|
|
318
|
+
const f = ++u.current;
|
|
381
319
|
if (!t) {
|
|
382
|
-
if (
|
|
383
|
-
|
|
320
|
+
if (f !== u.current) return;
|
|
321
|
+
i(!1), l([]), g(null), w(!1);
|
|
384
322
|
return;
|
|
385
323
|
}
|
|
386
|
-
const S = e.buildApiRoot(),
|
|
387
|
-
|
|
324
|
+
const S = e.buildApiRoot(), C = e.readToken();
|
|
325
|
+
w(!0), g(null);
|
|
388
326
|
try {
|
|
389
|
-
const
|
|
390
|
-
if (
|
|
391
|
-
if (!
|
|
392
|
-
|
|
327
|
+
const N = await e.probePicker(S, C);
|
|
328
|
+
if (f !== u.current) return;
|
|
329
|
+
if (!N) {
|
|
330
|
+
i(!1), l([]);
|
|
393
331
|
return;
|
|
394
332
|
}
|
|
395
333
|
try {
|
|
396
|
-
const
|
|
397
|
-
if (
|
|
398
|
-
|
|
399
|
-
} catch (
|
|
400
|
-
if (
|
|
401
|
-
|
|
334
|
+
const h = await e.loadOptions(S, C, n.filter(Boolean));
|
|
335
|
+
if (f !== u.current) return;
|
|
336
|
+
i(!0), l(h);
|
|
337
|
+
} catch (h) {
|
|
338
|
+
if (f !== u.current) return;
|
|
339
|
+
g(h instanceof Error ? h.message : String(h)), i(!1), l([]);
|
|
402
340
|
}
|
|
403
|
-
} catch (
|
|
404
|
-
if (
|
|
405
|
-
|
|
341
|
+
} catch (N) {
|
|
342
|
+
if (f !== u.current) return;
|
|
343
|
+
g(N instanceof Error ? N.message : String(N)), i(!1), l([]);
|
|
406
344
|
} finally {
|
|
407
|
-
|
|
345
|
+
f === u.current && w(!1);
|
|
408
346
|
}
|
|
409
347
|
}, [t, s]);
|
|
410
|
-
return
|
|
348
|
+
return y(() => {
|
|
411
349
|
x();
|
|
412
|
-
}, [x]),
|
|
413
|
-
const
|
|
350
|
+
}, [x]), y(() => {
|
|
351
|
+
const f = () => {
|
|
414
352
|
x();
|
|
415
353
|
};
|
|
416
|
-
return window.addEventListener(
|
|
417
|
-
}, [x]), { pickerAvailable: o, options:
|
|
354
|
+
return window.addEventListener(v, f), () => window.removeEventListener(v, f);
|
|
355
|
+
}, [x]), { pickerAvailable: o, options: p, loading: b, loadError: k, reload: x, providerGeniappId: e.providerGeniappId };
|
|
418
356
|
};
|
|
419
357
|
}
|
|
420
|
-
function
|
|
358
|
+
function Oe({
|
|
421
359
|
label: e,
|
|
422
360
|
description: r,
|
|
423
361
|
placeholder: t = "",
|
|
424
362
|
emptyText: n,
|
|
425
363
|
unavailableText: s,
|
|
426
364
|
forbiddenText: o,
|
|
427
|
-
selected:
|
|
428
|
-
pageSize:
|
|
429
|
-
disabled:
|
|
430
|
-
providerState:
|
|
431
|
-
loadPage:
|
|
432
|
-
onSelect:
|
|
365
|
+
selected: i = null,
|
|
366
|
+
pageSize: p = 10,
|
|
367
|
+
disabled: l = !1,
|
|
368
|
+
providerState: b = "ready",
|
|
369
|
+
loadPage: w,
|
|
370
|
+
onSelect: k
|
|
433
371
|
}) {
|
|
434
|
-
const
|
|
435
|
-
x.current =
|
|
436
|
-
const [
|
|
437
|
-
|
|
438
|
-
const
|
|
439
|
-
if (
|
|
440
|
-
|
|
372
|
+
const g = q(), u = U(0), x = U(w);
|
|
373
|
+
x.current = w;
|
|
374
|
+
const [f, S] = m(""), [C, N] = m(""), [h, _] = m(1), [B, I] = m([]), [R, D] = m(0), [A, P] = m(!1), [z, T] = m("");
|
|
375
|
+
y(() => {
|
|
376
|
+
const d = ++u.current;
|
|
377
|
+
if (b !== "ready") {
|
|
378
|
+
I([]), D(0), P(!1), T("");
|
|
441
379
|
return;
|
|
442
380
|
}
|
|
443
|
-
return
|
|
444
|
-
search:
|
|
445
|
-
limit:
|
|
446
|
-
offset: (
|
|
447
|
-
}).then((
|
|
448
|
-
|
|
449
|
-
}).catch((
|
|
450
|
-
|
|
381
|
+
return P(!0), T(""), x.current({
|
|
382
|
+
search: C,
|
|
383
|
+
limit: p,
|
|
384
|
+
offset: (h - 1) * p
|
|
385
|
+
}).then((E) => {
|
|
386
|
+
u.current === d && (I(E.records), D(Math.max(0, E.total)));
|
|
387
|
+
}).catch((E) => {
|
|
388
|
+
u.current === d && (I([]), D(0), T(E instanceof Error ? E.message : String(E)));
|
|
451
389
|
}).finally(() => {
|
|
452
|
-
|
|
390
|
+
u.current === d && P(!1);
|
|
453
391
|
}), () => {
|
|
454
|
-
|
|
392
|
+
u.current += 1;
|
|
455
393
|
};
|
|
456
|
-
}, [
|
|
457
|
-
const
|
|
458
|
-
return /* @__PURE__ */
|
|
394
|
+
}, [C, h, p, b]);
|
|
395
|
+
const O = Math.max(1, Math.ceil(R / p)), L = b === "unavailable" ? s : b === "forbidden" ? o : z;
|
|
396
|
+
return /* @__PURE__ */ c(
|
|
459
397
|
"section",
|
|
460
398
|
{
|
|
461
399
|
className: "rounded-xl border border-border p-4",
|
|
462
|
-
"aria-labelledby": `${
|
|
400
|
+
"aria-labelledby": `${g}-label`,
|
|
463
401
|
children: [
|
|
464
|
-
/* @__PURE__ */
|
|
402
|
+
/* @__PURE__ */ c("div", { children: [
|
|
465
403
|
/* @__PURE__ */ a(
|
|
466
404
|
"label",
|
|
467
405
|
{
|
|
468
|
-
id: `${
|
|
469
|
-
htmlFor: `${
|
|
406
|
+
id: `${g}-label`,
|
|
407
|
+
htmlFor: `${g}-search`,
|
|
470
408
|
className: "block text-sm font-medium",
|
|
471
409
|
children: e
|
|
472
410
|
}
|
|
473
411
|
),
|
|
474
412
|
r && /* @__PURE__ */ a("p", { className: "mt-1 text-xs leading-5 text-muted-foreground", children: r })
|
|
475
413
|
] }),
|
|
476
|
-
|
|
477
|
-
/* @__PURE__ */
|
|
478
|
-
/* @__PURE__ */ a("p", { className: "truncate text-sm font-medium", children:
|
|
479
|
-
|
|
414
|
+
i && /* @__PURE__ */ c("div", { className: "mt-3 flex items-start justify-between gap-3 rounded-lg border border-primary/30 bg-primary/5 p-3", children: [
|
|
415
|
+
/* @__PURE__ */ c("div", { className: "min-w-0", children: [
|
|
416
|
+
/* @__PURE__ */ a("p", { className: "truncate text-sm font-medium", children: i.primary }),
|
|
417
|
+
i.secondary && /* @__PURE__ */ a("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: i.secondary })
|
|
480
418
|
] }),
|
|
481
419
|
/* @__PURE__ */ a(
|
|
482
420
|
"button",
|
|
483
421
|
{
|
|
484
422
|
type: "button",
|
|
485
423
|
className: "min-h-[44px] rounded-lg border border-border bg-background px-3 text-xs",
|
|
486
|
-
disabled:
|
|
487
|
-
onClick: () =>
|
|
424
|
+
disabled: l,
|
|
425
|
+
onClick: () => k(null),
|
|
488
426
|
children: "×"
|
|
489
427
|
}
|
|
490
428
|
)
|
|
491
429
|
] }),
|
|
492
|
-
/* @__PURE__ */
|
|
430
|
+
/* @__PURE__ */ c(
|
|
493
431
|
"form",
|
|
494
432
|
{
|
|
495
433
|
className: "mt-3 flex gap-2",
|
|
496
|
-
onSubmit: (
|
|
497
|
-
|
|
434
|
+
onSubmit: (d) => {
|
|
435
|
+
d.preventDefault(), _(1), N(f.trim());
|
|
498
436
|
},
|
|
499
437
|
children: [
|
|
500
438
|
/* @__PURE__ */ a(
|
|
501
439
|
"input",
|
|
502
440
|
{
|
|
503
|
-
id: `${
|
|
441
|
+
id: `${g}-search`,
|
|
504
442
|
className: "h-[44px] min-w-0 flex-1 rounded-lg border border-input bg-background px-3 text-sm outline-none focus:border-primary focus:ring-2 focus:ring-primary/15",
|
|
505
|
-
value:
|
|
506
|
-
disabled:
|
|
507
|
-
onChange: (
|
|
443
|
+
value: f,
|
|
444
|
+
disabled: l || b !== "ready",
|
|
445
|
+
onChange: (d) => S(d.target.value),
|
|
508
446
|
placeholder: t
|
|
509
447
|
}
|
|
510
448
|
),
|
|
@@ -513,58 +451,58 @@ function Be({
|
|
|
513
451
|
{
|
|
514
452
|
type: "submit",
|
|
515
453
|
className: "min-h-[44px] rounded-lg border border-border bg-background px-4 text-sm font-medium disabled:opacity-50",
|
|
516
|
-
disabled:
|
|
454
|
+
disabled: l || b !== "ready" || A,
|
|
517
455
|
children: "⌕"
|
|
518
456
|
}
|
|
519
457
|
)
|
|
520
458
|
]
|
|
521
459
|
}
|
|
522
460
|
),
|
|
523
|
-
|
|
461
|
+
L && /* @__PURE__ */ a(
|
|
524
462
|
"p",
|
|
525
463
|
{
|
|
526
464
|
role: "alert",
|
|
527
465
|
className: "mt-3 rounded-lg bg-muted px-3 py-2 text-xs text-muted-foreground",
|
|
528
|
-
children:
|
|
466
|
+
children: L
|
|
529
467
|
}
|
|
530
468
|
),
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
!
|
|
469
|
+
b === "ready" && !L && /* @__PURE__ */ c("div", { className: "mt-3 space-y-2", "aria-busy": A, children: [
|
|
470
|
+
A && /* @__PURE__ */ a("p", { className: "py-4 text-center text-xs text-muted-foreground", children: "…" }),
|
|
471
|
+
!A && B.map((d) => /* @__PURE__ */ c(
|
|
534
472
|
"button",
|
|
535
473
|
{
|
|
536
474
|
type: "button",
|
|
537
|
-
disabled:
|
|
538
|
-
onClick: () =>
|
|
475
|
+
disabled: l,
|
|
476
|
+
onClick: () => k(d),
|
|
539
477
|
className: "flex min-h-[48px] w-full items-center justify-between gap-3 rounded-lg border border-border px-3 py-2 text-left hover:bg-accent disabled:opacity-50",
|
|
540
478
|
children: [
|
|
541
|
-
/* @__PURE__ */
|
|
542
|
-
/* @__PURE__ */ a("span", { className: "block truncate text-sm font-medium", children:
|
|
543
|
-
|
|
479
|
+
/* @__PURE__ */ c("span", { className: "min-w-0", children: [
|
|
480
|
+
/* @__PURE__ */ a("span", { className: "block truncate text-sm font-medium", children: d.primary }),
|
|
481
|
+
d.secondary && /* @__PURE__ */ a("span", { className: "mt-0.5 block truncate text-xs text-muted-foreground", children: d.secondary })
|
|
544
482
|
] }),
|
|
545
|
-
|
|
483
|
+
d.status && /* @__PURE__ */ a("span", { className: "shrink-0 rounded-full bg-muted px-2 py-1 text-[11px] text-muted-foreground", children: d.status })
|
|
546
484
|
]
|
|
547
485
|
},
|
|
548
|
-
|
|
486
|
+
d.id
|
|
549
487
|
)),
|
|
550
|
-
!
|
|
488
|
+
!A && !B.length && /* @__PURE__ */ a("p", { className: "py-4 text-center text-xs text-muted-foreground", children: n })
|
|
551
489
|
] }),
|
|
552
|
-
|
|
553
|
-
/* @__PURE__ */
|
|
554
|
-
|
|
490
|
+
b === "ready" && !A && !L && R > p && /* @__PURE__ */ c("div", { className: "mt-3 flex items-center justify-between gap-3 text-xs text-muted-foreground", children: [
|
|
491
|
+
/* @__PURE__ */ c("span", { children: [
|
|
492
|
+
h,
|
|
555
493
|
"/",
|
|
556
|
-
|
|
494
|
+
O,
|
|
557
495
|
" · ",
|
|
558
|
-
|
|
496
|
+
R
|
|
559
497
|
] }),
|
|
560
|
-
/* @__PURE__ */
|
|
498
|
+
/* @__PURE__ */ c("div", { className: "flex gap-2", children: [
|
|
561
499
|
/* @__PURE__ */ a(
|
|
562
500
|
"button",
|
|
563
501
|
{
|
|
564
502
|
type: "button",
|
|
565
503
|
className: "min-h-[44px] rounded-lg border border-border px-3 disabled:opacity-40",
|
|
566
|
-
disabled:
|
|
567
|
-
onClick: () =>
|
|
504
|
+
disabled: h <= 1,
|
|
505
|
+
onClick: () => _((d) => Math.max(1, d - 1)),
|
|
568
506
|
children: "‹"
|
|
569
507
|
}
|
|
570
508
|
),
|
|
@@ -573,8 +511,8 @@ function Be({
|
|
|
573
511
|
{
|
|
574
512
|
type: "button",
|
|
575
513
|
className: "min-h-[44px] rounded-lg border border-border px-3 disabled:opacity-40",
|
|
576
|
-
disabled:
|
|
577
|
-
onClick: () =>
|
|
514
|
+
disabled: h >= O,
|
|
515
|
+
onClick: () => _((d) => Math.min(O, d + 1)),
|
|
578
516
|
children: "›"
|
|
579
517
|
}
|
|
580
518
|
)
|
|
@@ -585,40 +523,38 @@ function Be({
|
|
|
585
523
|
);
|
|
586
524
|
}
|
|
587
525
|
export {
|
|
588
|
-
|
|
589
|
-
|
|
526
|
+
De as A,
|
|
527
|
+
ce as B,
|
|
590
528
|
Ne as C,
|
|
591
529
|
Ee as D,
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
ge as H,
|
|
596
|
-
J as R,
|
|
530
|
+
Le as E,
|
|
531
|
+
ge as F,
|
|
532
|
+
H as R,
|
|
597
533
|
de as a,
|
|
598
534
|
le as b,
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
535
|
+
Oe as c,
|
|
536
|
+
Pe as d,
|
|
537
|
+
Ue as e,
|
|
538
|
+
_e as f,
|
|
539
|
+
Re as g,
|
|
540
|
+
Te as h,
|
|
541
|
+
we as i,
|
|
542
|
+
Se as j,
|
|
543
|
+
J as k,
|
|
544
|
+
Ce as l,
|
|
545
|
+
ke as m,
|
|
546
|
+
ve as n,
|
|
547
|
+
ae as o,
|
|
548
|
+
oe as p,
|
|
549
|
+
Y as q,
|
|
550
|
+
X as r,
|
|
551
|
+
xe as s,
|
|
552
|
+
Z as t,
|
|
553
|
+
Ae as u,
|
|
554
|
+
re as v,
|
|
555
|
+
M as w,
|
|
556
|
+
ye as x,
|
|
557
|
+
Ie as y,
|
|
558
|
+
se as z
|
|
623
559
|
};
|
|
624
|
-
//# sourceMappingURL=CrossAppRecordPicker-
|
|
560
|
+
//# sourceMappingURL=CrossAppRecordPicker-BRpqAjd7.js.map
|