@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.
Files changed (712) hide show
  1. package/README.md +36 -11
  2. package/dist/{CrossAppRecordPicker-CQVmirWD.js → CrossAppRecordPicker-BRpqAjd7.js} +189 -253
  3. package/dist/CrossAppRecordPicker-BRpqAjd7.js.map +1 -0
  4. package/dist/MultiPageRenderer-B4G9Oswj.js +535 -0
  5. package/dist/MultiPageRenderer-B4G9Oswj.js.map +1 -0
  6. package/dist/Sidebar-DdSOXqnC.js +260 -0
  7. package/dist/Sidebar-DdSOXqnC.js.map +1 -0
  8. package/dist/ai/adopt/AiSuggestionPanel.d.ts +1 -1
  9. package/dist/ai/components/AgentJobProgress.d.ts +1 -1
  10. package/dist/ai/components/BulkActionBar.d.ts +1 -1
  11. package/dist/ai/integrations/partner/createPartnerRecordPickerHook.d.ts +1 -1
  12. package/dist/case-workspace/domain.d.ts +1 -1
  13. package/dist/components/adapters/host.d.ts +4 -0
  14. package/dist/components/adapters/host.js +12 -0
  15. package/dist/components/adapters/host.js.map +1 -0
  16. package/dist/components/adapters/platform.d.ts +16 -0
  17. package/dist/components/app/context/DeploymentContext.d.ts +24 -0
  18. package/dist/components/app/context/PermissionContext.d.ts +32 -0
  19. package/dist/components/app/context/SubscriptionContext.d.ts +9 -0
  20. package/dist/components/app/context/UserContext.d.ts +22 -0
  21. package/dist/components/app/services/apiKey.d.ts +96 -0
  22. package/dist/components/app/services/auth.d.ts +1 -0
  23. package/dist/components/app/services/configMap.d.ts +94 -0
  24. package/dist/components/app/services/task.d.ts +42 -0
  25. package/dist/components/app/services/workbenchApi.d.ts +495 -0
  26. package/dist/components/app/types/agent.d.ts +100 -0
  27. package/dist/components/app/types/api.d.ts +9 -0
  28. package/dist/components/app/types/knowledge.d.ts +10 -0
  29. package/dist/components/app/types/model.d.ts +23 -0
  30. package/dist/components/app/types/task.d.ts +64 -0
  31. package/dist/components/app/types/taskExecution.d.ts +26 -0
  32. package/dist/components/assets/maps/bundledMapGeo.d.ts +4 -0
  33. package/dist/components/config/communicationIcons.d.ts +23 -0
  34. package/dist/components/config/componentTriggers.d.ts +70 -0
  35. package/dist/components/constants/tableActionButtonStyle.d.ts +15 -0
  36. package/dist/components/contexts/PageFullscreenContext.d.ts +4 -0
  37. package/dist/components/contexts/ParameterContext.d.ts +18 -0
  38. package/dist/components/contexts/TabActivityContext.d.ts +2 -0
  39. package/dist/components/contexts/ViewportContext.d.ts +19 -0
  40. package/dist/components/contexts/WorkbenchConfigLocaleContext.d.ts +23 -0
  41. package/dist/components/contexts/WorkbenchGlobalSpaceContext.d.ts +10 -0
  42. package/dist/components/contexts/WorkbenchThemeContext.d.ts +23 -0
  43. package/dist/components/dialogs/TaskParamsDialog.d.ts +18 -0
  44. package/dist/components/dialogs/TreeFormDialog.d.ts +23 -0
  45. package/dist/components/hooks/index.d.ts +6 -0
  46. package/dist/components/hooks/useComponentCommunication.d.ts +27 -0
  47. package/dist/components/hooks/useConditionMapper.d.ts +17 -0
  48. package/dist/components/hooks/useCurrentUser.d.ts +10 -0
  49. package/dist/components/hooks/useDatabaseDataSource.d.ts +8 -0
  50. package/dist/components/hooks/useDatasourceVersionBindings.d.ts +24 -0
  51. package/dist/components/hooks/useEnhancedDataSource.d.ts +40 -0
  52. package/dist/components/hooks/useMobileViewport.d.ts +18 -0
  53. package/dist/components/hooks/usePageAutoRefresh.d.ts +9 -0
  54. package/dist/components/hooks/useParameterHandler.d.ts +27 -0
  55. package/dist/components/hooks/useReleaseNotesPrompt.d.ts +38 -0
  56. package/dist/components/hooks/useSpaceSwitchHandler.d.ts +7 -0
  57. package/dist/components/hooks/useTaskInputDataSourceCache.d.ts +24 -0
  58. package/dist/components/hooks/useVisibleWhenContext.d.ts +3 -0
  59. package/dist/components/hooks/useWaitForParameters.d.ts +9 -0
  60. package/dist/components/hooks/useWorkbenchAppAccess.d.ts +16 -0
  61. package/dist/components/hooks/useWorkbenchHeaderNavApps.d.ts +7 -0
  62. package/dist/components/hooks/useWorkbenchPreview.d.ts +24 -0
  63. package/dist/components/index.d.ts +23 -0
  64. package/dist/components/inputs/ArrayInput.d.ts +14 -0
  65. package/dist/components/inputs/ObjectArrayInput.d.ts +15 -0
  66. package/dist/components/layout/Grid24Renderer.d.ts +23 -0
  67. package/dist/components/layout/grid24CellContext.d.ts +2 -0
  68. package/dist/components/layout/index.d.ts +6 -0
  69. package/dist/components/layout.js +43 -0
  70. package/dist/components/layout.js.map +1 -0
  71. package/dist/components/lib/api/apiClient.d.ts +22 -0
  72. package/dist/components/lib/api/baseApiClient.d.ts +21 -0
  73. package/dist/components/lib/api/hostAdapterBridge.d.ts +21 -0
  74. package/dist/components/lib/api.d.ts +1 -0
  75. package/dist/components/lib/auth/permissionManager.d.ts +67 -0
  76. package/dist/components/lib/config/deployment.d.ts +33 -0
  77. package/dist/components/lib/config.d.ts +45 -0
  78. package/dist/components/lib/hooks/use-mobile.d.ts +1 -0
  79. package/dist/components/lib/hooks/useOperator.d.ts +11 -0
  80. package/dist/components/lib/services/agentService.d.ts +77 -0
  81. package/dist/components/lib/services/applicationService.d.ts +111 -0
  82. package/dist/components/lib/theme/themeUtils.d.ts +13 -0
  83. package/dist/components/lib/theme/useWorkbenchTheme.d.ts +1 -0
  84. package/dist/components/lib/types/api.d.ts +113 -0
  85. package/dist/components/lib/utils/avatar.d.ts +7 -0
  86. package/dist/components/lib/utils/cn.d.ts +3 -0
  87. package/dist/components/lib/utils/color.d.ts +1 -0
  88. package/dist/components/lib/utils/debounce.d.ts +1 -0
  89. package/dist/components/lib/utils/formatting.d.ts +4 -0
  90. package/dist/components/lib/utils/icon.d.ts +1 -0
  91. package/dist/components/lib/utils.d.ts +7 -0
  92. package/dist/components/locales/i18n.d.ts +10 -0
  93. package/dist/components/locales/routeNamespaces.d.ts +4 -0
  94. package/dist/components/mobile/components/BottomTabNavigation.d.ts +11 -0
  95. package/dist/components/mobile/components/ComponentAdapter.d.ts +9 -0
  96. package/dist/components/mobile/components/MobileFloatingBackButton.d.ts +23 -0
  97. package/dist/components/mobile/components/adaptive/MobileCardView.d.ts +6 -0
  98. package/dist/components/mobile/components/adaptive/MobileChartView.d.ts +9 -0
  99. package/dist/components/mobile/components/adaptive/MobileDateRangeFilterField.d.ts +16 -0
  100. package/dist/components/mobile/components/adaptive/MobileEChartsView.d.ts +10 -0
  101. package/dist/components/mobile/components/adaptive/MobileFormView.d.ts +6 -0
  102. package/dist/components/mobile/components/adaptive/MobileListView.d.ts +6 -0
  103. package/dist/components/mobile/components/adaptive/MobileStatCard.d.ts +13 -0
  104. package/dist/components/mobile/components/adaptive/MobileTableView.d.ts +9 -0
  105. package/dist/components/mobile/components/adaptive/MobileTabsView.d.ts +6 -0
  106. package/dist/components/mobile/components/adaptive/index.d.ts +4 -0
  107. package/dist/components/mobile/components/adaptive/mobileFilterFieldStyles.d.ts +19 -0
  108. package/dist/components/mobile/hooks/useMobileNavigationCanGoBack.d.ts +1 -0
  109. package/dist/components/mobile/hooks/useMobileTabTransitionDirection.d.ts +1 -0
  110. package/dist/components/mobile/index.d.ts +4 -0
  111. package/dist/components/mobile/mobileFlowLayoutContext.d.ts +2 -0
  112. package/dist/components/mobile/runtime-index.d.ts +3 -0
  113. package/dist/components/mobile/utils/fetchUserCurrentSpaceId.d.ts +15 -0
  114. package/dist/components/mobile/utils/getMobileViewportState.d.ts +25 -0
  115. package/dist/components/mobile/utils/mobileBottomNav.d.ts +13 -0
  116. package/dist/components/mobile/utils/mobileBottomNavInset.d.ts +4 -0
  117. package/dist/components/mobile/utils/mobileComponentProps.d.ts +44 -0
  118. package/dist/components/mobile/utils/mobileFormDisplayUtils.d.ts +4 -0
  119. package/dist/components/mobile/utils/mobileNavigationStore.d.ts +35 -0
  120. package/dist/components/mobile/utils/mobileToolbarNav.d.ts +13 -0
  121. package/dist/components/mobile/utils/mobileUA.d.ts +1 -0
  122. package/dist/components/mobile/utils/mobileWorkbenchSpaceSync.d.ts +60 -0
  123. package/dist/components/mobile/utils/wecomDetector.d.ts +9 -0
  124. package/dist/components/mobile/utils/workbenchSpaceSyncGate.d.ts +7 -0
  125. package/dist/components/mobile.js +25 -0
  126. package/dist/components/mobile.js.map +1 -0
  127. package/dist/components/mocks/index.d.ts +13 -0
  128. package/dist/components/mocks/templateRegistry.d.ts +16 -0
  129. package/dist/components/mocks/types.d.ts +1 -0
  130. package/dist/components/renderers/analytics-table/AnalyticsTableRenderer.d.ts +125 -0
  131. package/dist/components/renderers/analytics-table/index.d.ts +1 -0
  132. package/dist/components/renderers/analytics-table.js +5 -0
  133. package/dist/components/renderers/analytics-table.js.map +1 -0
  134. package/dist/components/renderers/base/BaseRenderers.d.ts +7 -0
  135. package/dist/components/renderers/base/LoadingRenderer.d.ts +14 -0
  136. package/dist/components/renderers/card/CardRenderer.d.ts +24 -0
  137. package/dist/components/renderers/card/index.d.ts +1 -0
  138. package/dist/components/renderers/card.js +5 -0
  139. package/dist/components/renderers/card.js.map +1 -0
  140. package/dist/components/renderers/cells/swCells.d.ts +49 -0
  141. package/dist/components/renderers/chart/ChartRenderer.d.ts +167 -0
  142. package/dist/components/renderers/chart/index.d.ts +1 -0
  143. package/dist/components/renderers/chart.js +5 -0
  144. package/dist/components/renderers/chart.js.map +1 -0
  145. package/dist/components/renderers/collapse-panel/CollapsePanelRenderer.d.ts +28 -0
  146. package/dist/components/renderers/collapse-panel/index.d.ts +1 -0
  147. package/dist/components/renderers/collapse-panel.js +5 -0
  148. package/dist/components/renderers/collapse-panel.js.map +1 -0
  149. package/dist/components/renderers/container/ContainerRenderers.d.ts +44 -0
  150. package/dist/components/renderers/container/index.d.ts +1 -0
  151. package/dist/components/renderers/container.js +5 -0
  152. package/dist/components/renderers/container.js.map +1 -0
  153. package/dist/components/renderers/custom-content/CustomContentRenderer.d.ts +20 -0
  154. package/dist/components/renderers/custom-content/index.d.ts +1 -0
  155. package/dist/components/renderers/custom-content.js +6 -0
  156. package/dist/components/renderers/custom-content.js.map +1 -0
  157. package/dist/components/renderers/data/useBoundRows.d.ts +9 -0
  158. package/dist/components/renderers/data-grid-card/DataGridCard.d.ts +46 -0
  159. package/dist/components/renderers/data-grid-card/index.d.ts +1 -0
  160. package/dist/components/renderers/data-grid-card.js +5 -0
  161. package/dist/components/renderers/data-grid-card.js.map +1 -0
  162. package/dist/components/renderers/echarts/EChartsChartRenderer.d.ts +178 -0
  163. package/dist/components/renderers/echarts/index.d.ts +1 -0
  164. package/dist/components/renderers/echarts/shared/colors.d.ts +56 -0
  165. package/dist/components/renderers/echarts/shared/index.d.ts +1 -0
  166. package/dist/components/renderers/echarts.js +5 -0
  167. package/dist/components/renderers/echarts.js.map +1 -0
  168. package/dist/components/renderers/editable-table/EditableTable.types.d.ts +27 -0
  169. package/dist/components/renderers/editable-table/EditableTableController.d.ts +44 -0
  170. package/dist/components/renderers/editable-table/EditableTableRenderer.d.ts +38 -0
  171. package/dist/components/renderers/editable-table/cell-editors/ColorEditor.d.ts +11 -0
  172. package/dist/components/renderers/editable-table/cell-editors/DateEditor.d.ts +11 -0
  173. package/dist/components/renderers/editable-table/cell-editors/FileEditor.d.ts +9 -0
  174. package/dist/components/renderers/editable-table/cell-editors/NumberEditor.d.ts +10 -0
  175. package/dist/components/renderers/editable-table/cell-editors/SelectEditor.d.ts +19 -0
  176. package/dist/components/renderers/editable-table/cell-editors/SwitchEditor.d.ts +13 -0
  177. package/dist/components/renderers/editable-table/cell-editors/TextEditor.d.ts +11 -0
  178. package/dist/components/renderers/editable-table/cell-editors/index.d.ts +7 -0
  179. package/dist/components/renderers/editable-table/editableTableApiErrors.d.ts +3 -0
  180. package/dist/components/renderers/editable-table/editableTableDictionary.d.ts +13 -0
  181. package/dist/components/renderers/editable-table/editableTableFormatters.d.ts +11 -0
  182. package/dist/components/renderers/editable-table/editableTableWriteDatasourceId.d.ts +8 -0
  183. package/dist/components/renderers/editable-table/index.d.ts +4 -0
  184. package/dist/components/renderers/editable-table.js +6 -0
  185. package/dist/components/renderers/editable-table.js.map +1 -0
  186. package/dist/components/renderers/filter-panel/FilterPanelRenderer.d.ts +275 -0
  187. package/dist/components/renderers/filter-panel/filterOptionCache.d.ts +33 -0
  188. package/dist/components/renderers/filter-panel/filterSelectionMemory.d.ts +11 -0
  189. package/dist/components/renderers/filter-panel/index.d.ts +1 -0
  190. package/dist/components/renderers/filter-panel.js +5 -0
  191. package/dist/components/renderers/filter-panel.js.map +1 -0
  192. package/dist/components/renderers/form/FileUploadDropzone.d.ts +24 -0
  193. package/dist/components/renderers/form/FormRenderer.d.ts +30 -0
  194. package/dist/components/renderers/form/formSizing.d.ts +14 -0
  195. package/dist/components/renderers/form/index.d.ts +2 -0
  196. package/dist/components/renderers/form.js +6 -0
  197. package/dist/components/renderers/form.js.map +1 -0
  198. package/dist/components/renderers/hero-card/HeroCardRenderer.d.ts +18 -0
  199. package/dist/components/renderers/hero-card/heroCardRows.d.ts +30 -0
  200. package/dist/components/renderers/hero-card/heroCardUtils.d.ts +164 -0
  201. package/dist/components/renderers/hero-card/index.d.ts +1 -0
  202. package/dist/components/renderers/hero-card.js +5 -0
  203. package/dist/components/renderers/hero-card.js.map +1 -0
  204. package/dist/components/renderers/identity/AppIdentityListRenderer.d.ts +60 -0
  205. package/dist/components/renderers/identity/IdentityAttributeAssignRenderer.d.ts +44 -0
  206. package/dist/components/renderers/identity/index.d.ts +2 -0
  207. package/dist/components/renderers/identity.js +6 -0
  208. package/dist/components/renderers/identity.js.map +1 -0
  209. package/dist/components/renderers/index.d.ts +1 -0
  210. package/dist/components/renderers/list/ListActionButton.d.ts +11 -0
  211. package/dist/components/renderers/list/ListDataTable.d.ts +13 -0
  212. package/dist/components/renderers/list/ListProgressBar.d.ts +12 -0
  213. package/dist/components/renderers/list/ListRenderers.d.ts +19 -0
  214. package/dist/components/renderers/list/ListTaskExecuteDialog.d.ts +17 -0
  215. package/dist/components/renderers/list/index.d.ts +1 -0
  216. package/dist/components/renderers/list/listActionUtils.d.ts +18 -0
  217. package/dist/components/renderers/list/listCellRender.d.ts +9 -0
  218. package/dist/components/renderers/list/listConfig.d.ts +67 -0
  219. package/dist/components/renderers/list/listCsvExport.d.ts +4 -0
  220. package/dist/components/renderers/list/listFormatUtils.d.ts +13 -0
  221. package/dist/components/renderers/list/listItemTemplates.d.ts +32 -0
  222. package/dist/components/renderers/list/listViewToggleUtils.d.ts +5 -0
  223. package/dist/components/renderers/list/useListActions.d.ts +38 -0
  224. package/dist/components/renderers/list/useListDataSource.d.ts +58 -0
  225. package/dist/components/renderers/list/useListSelectionEmit.d.ts +22 -0
  226. package/dist/components/renderers/list.js +5 -0
  227. package/dist/components/renderers/list.js.map +1 -0
  228. package/dist/components/renderers/map-chart/MapChartRenderer.d.ts +42 -0
  229. package/dist/components/renderers/map-chart/index.d.ts +1 -0
  230. package/dist/components/renderers/map-chart.js +5 -0
  231. package/dist/components/renderers/map-chart.js.map +1 -0
  232. package/dist/components/renderers/metric-carousel/MetricCarouselRenderer.d.ts +26 -0
  233. package/dist/components/renderers/metric-carousel/index.d.ts +1 -0
  234. package/dist/components/renderers/metric-carousel.js +5 -0
  235. package/dist/components/renderers/metric-carousel.js.map +1 -0
  236. package/dist/components/renderers/navigation/NavTileRenderer.d.ts +13 -0
  237. package/dist/components/renderers/navigation/index.d.ts +1 -0
  238. package/dist/components/renderers/navigation/navTileUtils.d.ts +46 -0
  239. package/dist/components/renderers/navigation.js +5 -0
  240. package/dist/components/renderers/navigation.js.map +1 -0
  241. package/dist/components/renderers/product-detail/ProductDetailRenderer.d.ts +23 -0
  242. package/dist/components/renderers/product-detail/index.d.ts +1 -0
  243. package/dist/components/renderers/product-detail/productCellRender.d.ts +25 -0
  244. package/dist/components/renderers/product-detail.js +5 -0
  245. package/dist/components/renderers/product-detail.js.map +1 -0
  246. package/dist/components/renderers/product-report/ProductReportRenderer.d.ts +21 -0
  247. package/dist/components/renderers/product-report/index.d.ts +1 -0
  248. package/dist/components/renderers/product-report.js +5 -0
  249. package/dist/components/renderers/product-report.js.map +1 -0
  250. package/dist/components/renderers/publish/PublishHistoryRenderer.d.ts +21 -0
  251. package/dist/components/renderers/publish/PublishPreviewEntryRenderer.d.ts +16 -0
  252. package/dist/components/renderers/publish/index.d.ts +2 -0
  253. package/dist/components/renderers/publish/publishHistoryHelpers.d.ts +41 -0
  254. package/dist/components/renderers/publish/publishPreviewEntryHelpers.d.ts +50 -0
  255. package/dist/components/renderers/publish.js +6 -0
  256. package/dist/components/renderers/publish.js.map +1 -0
  257. package/dist/components/renderers/radar-chart/RadarChartRenderer.d.ts +40 -0
  258. package/dist/components/renderers/radar-chart/index.d.ts +1 -0
  259. package/dist/components/renderers/radar-chart.js +5 -0
  260. package/dist/components/renderers/radar-chart.js.map +1 -0
  261. package/dist/components/renderers/registry.d.ts +38 -0
  262. package/dist/components/renderers/ring-stat/RingStatRenderer.d.ts +66 -0
  263. package/dist/components/renderers/ring-stat/index.d.ts +1 -0
  264. package/dist/components/renderers/ring-stat.js +5 -0
  265. package/dist/components/renderers/ring-stat.js.map +1 -0
  266. package/dist/components/renderers/runtime-DX1LfmqO.js +206944 -0
  267. package/dist/components/renderers/runtime-DX1LfmqO.js.map +1 -0
  268. package/dist/components/renderers/service-desk/ServiceDeskReporterRenderer.d.ts +48 -0
  269. package/dist/components/renderers/service-desk/index.d.ts +1 -0
  270. package/dist/components/renderers/service-desk.js +5 -0
  271. package/dist/components/renderers/service-desk.js.map +1 -0
  272. package/dist/components/renderers/shared/TableEmptyStateWithChromeInsets.d.ts +12 -0
  273. package/dist/components/renderers/shared/ViewToggleButton.d.ts +13 -0
  274. package/dist/components/renderers/shared/useEscapedStickyPanel.d.ts +6 -0
  275. package/dist/components/renderers/shared/useMobileChromeInsets.d.ts +18 -0
  276. package/dist/components/renderers/shared/useStickyHeaderClone.d.ts +31 -0
  277. package/dist/components/renderers/statistics/StatisticGroup.d.ts +77 -0
  278. package/dist/components/renderers/statistics/index.d.ts +1 -0
  279. package/dist/components/renderers/statistics.js +5 -0
  280. package/dist/components/renderers/statistics.js.map +1 -0
  281. package/dist/components/renderers/table/TableRenderer.d.ts +5 -0
  282. package/dist/components/renderers/table/index.d.ts +1 -0
  283. package/dist/components/renderers/table/tableFilterPanelGridClass.d.ts +15 -0
  284. package/dist/components/renderers/table.js +5 -0
  285. package/dist/components/renderers/table.js.map +1 -0
  286. package/dist/components/renderers/tabs/TabsRenderer.d.ts +63 -0
  287. package/dist/components/renderers/tabs/index.d.ts +1 -0
  288. package/dist/components/renderers/tabs/tabVariantStyles.d.ts +50 -0
  289. package/dist/components/renderers/tabs/tabsItemMapping.d.ts +26 -0
  290. package/dist/components/renderers/tabs.js +5 -0
  291. package/dist/components/renderers/tabs.js.map +1 -0
  292. package/dist/components/renderers/task-input/ExecutionHistoryModal.d.ts +9 -0
  293. package/dist/components/renderers/task-input/TaskExecutionOutputs.d.ts +15 -0
  294. package/dist/components/renderers/task-input/TaskInputField.d.ts +54 -0
  295. package/dist/components/renderers/task-input/TaskInputRenderer.d.ts +68 -0
  296. package/dist/components/renderers/task-input/index.d.ts +1 -0
  297. package/dist/components/renderers/task-input.js +5 -0
  298. package/dist/components/renderers/task-input.js.map +1 -0
  299. package/dist/components/renderers/tile-grid/TileGridRenderer.d.ts +41 -0
  300. package/dist/components/renderers/tile-grid/index.d.ts +1 -0
  301. package/dist/components/renderers/tile-grid.js +5 -0
  302. package/dist/components/renderers/tile-grid.js.map +1 -0
  303. package/dist/components/renderers/tree/SimpleTreeRenderer.d.ts +47 -0
  304. package/dist/components/renderers/tree/index.d.ts +1 -0
  305. package/dist/components/renderers/tree.js +5 -0
  306. package/dist/components/renderers/tree.js.map +1 -0
  307. package/dist/components/renderers/types.d.ts +682 -0
  308. package/dist/components/renderers/typography/TypographyRenderer.d.ts +17 -0
  309. package/dist/components/renderers/typography/index.d.ts +1 -0
  310. package/dist/components/renderers/typography.js +8 -0
  311. package/dist/components/renderers/typography.js.map +1 -0
  312. package/dist/components/renderers/workflow/SimpleSchemaForm.d.ts +12 -0
  313. package/dist/components/renderers/workflow/WorkflowComponent.d.ts +5 -0
  314. package/dist/components/renderers/workflow/index.d.ts +1 -0
  315. package/dist/components/renderers/workflow/renderers/ProposalRendererFactory.d.ts +15 -0
  316. package/dist/components/renderers/workflow/runtime-index.d.ts +9 -0
  317. package/dist/components/renderers/workflow/steps/ProposalStep.d.ts +21 -0
  318. package/dist/components/renderers/workflow/steps/ResultStep.d.ts +13 -0
  319. package/dist/components/renderers/workflow/steps/UploadStep.d.ts +15 -0
  320. package/dist/components/renderers/workflow/types.d.ts +185 -0
  321. package/dist/components/renderers/workflow.js +5 -0
  322. package/dist/components/renderers/workflow.js.map +1 -0
  323. package/dist/components/renderers.js +41 -0
  324. package/dist/components/renderers.js.map +1 -0
  325. package/dist/components/runtime/ComponentRenderer.d.ts +34 -0
  326. package/dist/components/runtime/GeniAppComponentProvider.d.ts +24 -0
  327. package/dist/components/runtime/GeniAppWorkbench.d.ts +20 -0
  328. package/dist/components/runtime/Loading.d.ts +9 -0
  329. package/dist/components/runtime/MultiPageRenderer.d.ts +15 -0
  330. package/dist/components/runtime/PageComingSoonOverlay.d.ts +11 -0
  331. package/dist/components/runtime/PageRenderer.d.ts +36 -0
  332. package/dist/components/runtime/TabManager.d.ts +39 -0
  333. package/dist/components/runtime/componentTypes.d.ts +70 -0
  334. package/dist/components/runtime/i18n.d.ts +5 -0
  335. package/dist/components/runtime/runtime-mode.d.ts +40 -0
  336. package/dist/components/shared/TitleManager.d.ts +8 -0
  337. package/dist/components/shared/platform-api/auth/platformRefreshResponse.d.ts +3 -0
  338. package/dist/components/shared/platform-api/auth/setupAuthInterceptors.d.ts +18 -0
  339. package/dist/components/shared/platform-api/auth/tokenStorage.d.ts +4 -0
  340. package/dist/components/shared/platform-api/index.d.ts +4 -0
  341. package/dist/components/shared/platform-types/index.d.ts +1 -0
  342. package/dist/components/shared/platform-types/types/json-schema.d.ts +50 -0
  343. package/dist/components/shared/platform-ui/components/ai/index.d.ts +2 -0
  344. package/dist/components/shared/platform-ui/components/ai/message.d.ts +6 -0
  345. package/dist/components/shared/platform-ui/components/ai/suggestion.d.ts +10 -0
  346. package/dist/components/shared/platform-ui/components/features/agent/AgentIdentity.d.ts +10 -0
  347. package/dist/components/shared/platform-ui/components/features/agent/agentIdentityUtils.d.ts +4 -0
  348. package/dist/components/shared/platform-ui/components/features/agent/index.d.ts +2 -0
  349. package/dist/components/shared/platform-ui/components/features/app/AppCheckboxInput.d.ts +9 -0
  350. package/dist/components/shared/platform-ui/components/features/app/AppConfirmDialog.d.ts +12 -0
  351. package/dist/components/shared/platform-ui/components/features/app/AppDashboardSkeleton.d.ts +9 -0
  352. package/dist/components/shared/platform-ui/components/features/app/AppDatePicker.d.ts +69 -0
  353. package/dist/components/shared/platform-ui/components/features/app/AppModal.d.ts +27 -0
  354. package/dist/components/shared/platform-ui/components/features/app/AppPageStates.d.ts +17 -0
  355. package/dist/components/shared/platform-ui/components/features/app/AppSelectInput.d.ts +10 -0
  356. package/dist/components/shared/platform-ui/components/features/app/AppTemporalInput.d.ts +19 -0
  357. package/dist/components/shared/platform-ui/components/features/app/Page.d.ts +14 -0
  358. package/dist/components/shared/platform-ui/components/features/app/QueryErrorAlert.d.ts +7 -0
  359. package/dist/components/shared/platform-ui/components/features/app/Sidebar.d.ts +47 -0
  360. package/dist/components/shared/platform-ui/components/features/app/index.d.ts +17 -0
  361. package/dist/components/shared/platform-ui/components/features/auth/AuthControlButtons.d.ts +8 -0
  362. package/dist/components/shared/platform-ui/components/features/auth/ForgotPassword.d.ts +9 -0
  363. package/dist/components/shared/platform-ui/components/features/auth/LogoutNotificationPage.d.ts +8 -0
  364. package/dist/components/shared/platform-ui/components/features/auth/Privacy.d.ts +8 -0
  365. package/dist/components/shared/platform-ui/components/features/auth/RequireAuth.d.ts +31 -0
  366. package/dist/components/shared/platform-ui/components/features/auth/Terms.d.ts +8 -0
  367. package/dist/components/shared/platform-ui/components/features/auth/VerifyEmail.d.ts +9 -0
  368. package/dist/components/shared/platform-ui/components/features/auth/application/index.d.ts +1 -0
  369. package/dist/components/shared/platform-ui/components/features/auth/index.d.ts +13 -0
  370. package/dist/components/shared/platform-ui/components/features/avatar/AvatarPickerModal.d.ts +30 -0
  371. package/dist/components/shared/platform-ui/components/features/avatar/generateAvatarUrl.d.ts +9 -0
  372. package/dist/components/shared/platform-ui/components/features/avatar/index.d.ts +2 -0
  373. package/dist/components/shared/platform-ui/components/features/chat/index.d.ts +1 -0
  374. package/dist/components/shared/platform-ui/components/features/data/index.d.ts +1 -0
  375. package/dist/components/shared/platform-ui/components/features/feedback/FeedbackMenu.d.ts +8 -0
  376. package/dist/components/shared/platform-ui/components/features/feedback/index.d.ts +1 -0
  377. package/dist/components/shared/platform-ui/components/features/home/Background.d.ts +4 -0
  378. package/dist/components/shared/platform-ui/components/features/home/index.d.ts +2 -0
  379. package/dist/components/shared/platform-ui/components/features/index.d.ts +22 -0
  380. package/dist/components/shared/platform-ui/components/features/knowledge/EvidenceCitation.d.ts +30 -0
  381. package/dist/components/shared/platform-ui/components/features/knowledge/HighlightedSnippet.d.ts +14 -0
  382. package/dist/components/shared/platform-ui/components/features/knowledge/index.d.ts +2 -0
  383. package/dist/components/shared/platform-ui/components/features/notification/NotificationBell.d.ts +14 -0
  384. package/dist/components/shared/platform-ui/components/features/notification/NotificationList.d.ts +41 -0
  385. package/dist/components/shared/platform-ui/components/features/notification/index.d.ts +2 -0
  386. package/dist/components/shared/platform-ui/components/features/operator/index.d.ts +1 -0
  387. package/dist/components/shared/platform-ui/components/features/rbac/index.d.ts +1 -0
  388. package/dist/components/shared/platform-ui/components/features/rich-text/RichTextField.d.ts +13 -0
  389. package/dist/components/shared/platform-ui/components/features/space/SpaceContext.d.ts +121 -0
  390. package/dist/components/shared/platform-ui/components/features/space/SpaceSwitcher.d.ts +13 -0
  391. package/dist/components/shared/platform-ui/components/features/space/index.d.ts +2 -0
  392. package/dist/components/shared/platform-ui/components/features/subscription/SubscriptionContext.d.ts +26 -0
  393. package/dist/components/shared/platform-ui/components/features/subscription/SubscriptionGuard.d.ts +35 -0
  394. package/dist/components/shared/platform-ui/components/features/subscription/constants.d.ts +126 -0
  395. package/dist/components/shared/platform-ui/components/features/subscription/createSubscriptionService.d.ts +34 -0
  396. package/dist/components/shared/platform-ui/components/features/subscription/index.d.ts +7 -0
  397. package/dist/components/shared/platform-ui/components/features/subscription/types.d.ts +161 -0
  398. package/dist/components/shared/platform-ui/components/features/subscription/useSubscription.d.ts +20 -0
  399. package/dist/components/shared/platform-ui/components/features/subscription/utils.d.ts +18 -0
  400. package/dist/components/shared/platform-ui/components/features/task/index.d.ts +1 -0
  401. package/dist/components/shared/platform-ui/components/features/team/index.d.ts +4 -0
  402. package/dist/components/shared/platform-ui/components/features/user/UserAvatar.d.ts +17 -0
  403. package/dist/components/shared/platform-ui/components/features/user/UserDisplay.d.ts +10 -0
  404. package/dist/components/shared/platform-ui/components/features/user/UserSelect.d.ts +14 -0
  405. package/dist/components/shared/platform-ui/components/features/user/useUserDirectory.d.ts +13 -0
  406. package/dist/components/shared/platform-ui/components/features/user/userDirectoryTypes.d.ts +18 -0
  407. package/dist/components/shared/platform-ui/components/icons/alipay-pay-mark.d.ts +2 -0
  408. package/dist/components/shared/platform-ui/components/icons/bank-transfer-mark.d.ts +2 -0
  409. package/dist/components/shared/platform-ui/components/icons/stripe-payment-mark.d.ts +2 -0
  410. package/dist/components/shared/platform-ui/components/icons/wechat-pay-mark.d.ts +2 -0
  411. package/dist/components/shared/platform-ui/components/index.d.ts +3 -0
  412. package/dist/components/shared/platform-ui/components/patterns/entity-patterns.d.ts +3 -0
  413. package/dist/components/shared/platform-ui/components/patterns/form-section.d.ts +11 -0
  414. package/dist/components/shared/platform-ui/components/patterns/record-list-frame.d.ts +12 -0
  415. package/dist/components/shared/platform-ui/components/patterns/status-stepper.d.ts +13 -0
  416. package/dist/components/shared/platform-ui/components/primitives/data-display/ApiErrorState.d.ts +10 -0
  417. package/dist/components/shared/platform-ui/components/primitives/data-display/FilePreviewDialog.d.ts +18 -0
  418. package/dist/components/shared/platform-ui/components/primitives/data-display/index.d.ts +4 -0
  419. package/dist/components/shared/platform-ui/components/primitives/feedback/index.d.ts +2 -0
  420. package/dist/components/shared/platform-ui/components/primitives/feedback/toaster.d.ts +1 -0
  421. package/dist/components/shared/platform-ui/components/primitives/feedback/use-toast.d.ts +46 -0
  422. package/dist/components/shared/platform-ui/components/primitives/forms/CountryCodeSelect.d.ts +16 -0
  423. package/dist/components/shared/platform-ui/components/primitives/forms/index.d.ts +1 -0
  424. package/dist/components/shared/platform-ui/components/primitives/index.d.ts +5 -0
  425. package/dist/components/shared/platform-ui/components/primitives/layout/AppHeader.d.ts +111 -0
  426. package/dist/components/shared/platform-ui/components/primitives/layout/AppWatermark.d.ts +7 -0
  427. package/dist/components/shared/platform-ui/components/primitives/layout/PublicFooter.d.ts +6 -0
  428. package/dist/components/shared/platform-ui/components/primitives/layout/PublicHeader.d.ts +39 -0
  429. package/dist/components/shared/platform-ui/components/primitives/layout/PublicLayout.d.ts +6 -0
  430. package/dist/components/shared/platform-ui/components/primitives/layout/ThemeToggle.d.ts +33 -0
  431. package/dist/components/shared/platform-ui/components/primitives/layout/WatermarkOverlay.d.ts +9 -0
  432. package/dist/components/shared/platform-ui/components/primitives/layout/brandAssets.d.ts +11 -0
  433. package/dist/components/shared/platform-ui/components/primitives/layout/index.d.ts +6 -0
  434. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ChartAreaSkeleton.d.ts +13 -0
  435. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ChartEmptyState.d.ts +14 -0
  436. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ComponentSkeletonShell.d.ts +16 -0
  437. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ConfigEditorSkeleton.d.ts +5 -0
  438. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/DetailTabsSkeleton.d.ts +6 -0
  439. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/EmptyStateBadge.d.ts +13 -0
  440. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/FormCardSkeleton.d.ts +7 -0
  441. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/FormFieldSkeleton.d.ts +6 -0
  442. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/FormPageSkeleton.d.ts +6 -0
  443. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/GridCardsSkeleton.d.ts +6 -0
  444. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ListSkeleton.d.ts +26 -0
  445. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/PageHeaderSkeleton.d.ts +6 -0
  446. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/SplitPaneSkeleton.d.ts +4 -0
  447. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/StatsRowSkeleton.d.ts +5 -0
  448. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/TableEmptyState.d.ts +27 -0
  449. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/TablePageSkeleton.d.ts +8 -0
  450. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/TabsBarSkeleton.d.ts +6 -0
  451. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/index.d.ts +24 -0
  452. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/skeletonMetrics.d.ts +9 -0
  453. package/dist/components/shared/platform-ui/components/primitives/page-skeleton/useVisibleCenter.d.ts +34 -0
  454. package/dist/components/shared/platform-ui/components/ui/accordion.d.ts +7 -0
  455. package/dist/components/shared/platform-ui/components/ui/ai-draft-banner.d.ts +21 -0
  456. package/dist/components/shared/platform-ui/components/ui/alert-dialog.d.ts +48 -0
  457. package/dist/components/shared/platform-ui/components/ui/alert.d.ts +8 -0
  458. package/dist/components/shared/platform-ui/components/ui/avatar.d.ts +6 -0
  459. package/dist/components/shared/platform-ui/components/ui/badge.d.ts +9 -0
  460. package/dist/components/shared/platform-ui/components/ui/breadcrumb.d.ts +19 -0
  461. package/dist/components/shared/platform-ui/components/ui/button.d.ts +11 -0
  462. package/dist/components/shared/platform-ui/components/ui/calendar.d.ts +8 -0
  463. package/dist/components/shared/platform-ui/components/ui/card.d.ts +8 -0
  464. package/dist/components/shared/platform-ui/components/ui/chart.d.ts +16 -0
  465. package/dist/components/shared/platform-ui/components/ui/checkbox.d.ts +4 -0
  466. package/dist/components/shared/platform-ui/components/ui/collapsible.d.ts +5 -0
  467. package/dist/components/shared/platform-ui/components/ui/column-config.d.ts +42 -0
  468. package/dist/components/shared/platform-ui/components/ui/date-picker.d.ts +9 -0
  469. package/dist/components/shared/platform-ui/components/ui/date-range-filter.d.ts +32 -0
  470. package/dist/components/shared/platform-ui/components/ui/date-range-picker.d.ts +11 -0
  471. package/dist/components/shared/platform-ui/components/ui/dialog-input.d.ts +17 -0
  472. package/dist/components/shared/platform-ui/components/ui/dialog-safe-select.d.ts +13 -0
  473. package/dist/components/shared/platform-ui/components/ui/dialog.d.ts +25 -0
  474. package/dist/components/shared/platform-ui/components/ui/dropdown-menu.d.ts +27 -0
  475. package/dist/components/shared/platform-ui/components/ui/feature-guide.d.ts +43 -0
  476. package/dist/components/shared/platform-ui/components/ui/form.d.ts +23 -0
  477. package/dist/components/shared/platform-ui/components/ui/help-tip.d.ts +29 -0
  478. package/dist/components/shared/platform-ui/components/ui/hint-notice.d.ts +22 -0
  479. package/dist/components/shared/platform-ui/components/ui/index.d.ts +6 -0
  480. package/dist/components/shared/platform-ui/components/ui/input.d.ts +3 -0
  481. package/dist/components/shared/platform-ui/components/ui/label.d.ts +5 -0
  482. package/dist/components/shared/platform-ui/components/ui/modal-container.d.ts +56 -0
  483. package/dist/components/shared/platform-ui/components/ui/modal-templates.d.ts +46 -0
  484. package/dist/components/shared/platform-ui/components/ui/multi-select.d.ts +20 -0
  485. package/dist/components/shared/platform-ui/components/ui/pagination.d.ts +28 -0
  486. package/dist/components/shared/platform-ui/components/ui/popover.d.ts +7 -0
  487. package/dist/components/shared/platform-ui/components/ui/progress.d.ts +7 -0
  488. package/dist/components/shared/platform-ui/components/ui/radio-button-group.d.ts +18 -0
  489. package/dist/components/shared/platform-ui/components/ui/radio-group.d.ts +5 -0
  490. package/dist/components/shared/platform-ui/components/ui/scroll-area.d.ts +5 -0
  491. package/dist/components/shared/platform-ui/components/ui/select.d.ts +16 -0
  492. package/dist/components/shared/platform-ui/components/ui/separator.d.ts +7 -0
  493. package/dist/components/shared/platform-ui/components/ui/sheet.d.ts +25 -0
  494. package/dist/components/shared/platform-ui/components/ui/sidebar-rail.d.ts +9 -0
  495. package/dist/components/shared/platform-ui/components/ui/skeleton.d.ts +2 -0
  496. package/dist/components/shared/platform-ui/components/ui/slider.d.ts +13 -0
  497. package/dist/components/shared/platform-ui/components/ui/switch.d.ts +4 -0
  498. package/dist/components/shared/platform-ui/components/ui/table.d.ts +10 -0
  499. package/dist/components/shared/platform-ui/components/ui/tabs.d.ts +10 -0
  500. package/dist/components/shared/platform-ui/components/ui/textarea.d.ts +3 -0
  501. package/dist/components/shared/platform-ui/components/ui/toast.d.ts +21 -0
  502. package/dist/components/shared/platform-ui/components/ui/toggle-group.d.ts +12 -0
  503. package/dist/components/shared/platform-ui/components/ui/toggle.d.ts +12 -0
  504. package/dist/components/shared/platform-ui/components/ui/tooltip.d.ts +7 -0
  505. package/dist/components/shared/platform-ui/components/ui/typography.d.ts +15 -0
  506. package/dist/components/shared/platform-ui/components/ui/underline-tabs.d.ts +13 -0
  507. package/dist/components/shared/platform-ui/components/ui/view-mode-toggle.d.ts +9 -0
  508. package/dist/components/shared/platform-ui/context/AppHostContext.d.ts +16 -0
  509. package/dist/components/shared/platform-ui/contexts/UserSettingsContext.d.ts +23 -0
  510. package/dist/components/shared/platform-ui/hooks/builtInApps.d.ts +91 -0
  511. package/dist/components/shared/platform-ui/hooks/pinnedBuiltInNavApps.d.ts +13 -0
  512. package/dist/components/shared/platform-ui/hooks/shellNavLucideIcon.d.ts +6 -0
  513. package/dist/components/shared/platform-ui/hooks/useAppSettings.d.ts +21 -0
  514. package/dist/components/shared/platform-ui/hooks/useAuthTokenSync.d.ts +3 -0
  515. package/dist/components/shared/platform-ui/hooks/useBuiltInApps.d.ts +6 -0
  516. package/dist/components/shared/platform-ui/hooks/useChatEntryTarget.d.ts +35 -0
  517. package/dist/components/shared/platform-ui/hooks/useIsMobile.d.ts +16 -0
  518. package/dist/components/shared/platform-ui/hooks/useLanguage.d.ts +11 -0
  519. package/dist/components/shared/platform-ui/hooks/useLockBodyScroll.d.ts +1 -0
  520. package/dist/components/shared/platform-ui/hooks/usePageState/index.d.ts +4 -0
  521. package/dist/components/shared/platform-ui/hooks/usePageState/types.d.ts +13 -0
  522. package/dist/components/shared/platform-ui/hooks/useTheme.d.ts +11 -0
  523. package/dist/components/shared/platform-ui/hooks/useUserSettings.d.ts +39 -0
  524. package/dist/components/shared/platform-ui/hooks/useWorkflowCanvas.d.ts +36 -0
  525. package/dist/components/shared/platform-ui/hooks/userPreferencesPinnedNav.d.ts +2 -0
  526. package/dist/components/shared/platform-ui/index.d.ts +127 -0
  527. package/dist/components/shared/platform-ui/kit/ai/conversation.d.ts +16 -0
  528. package/dist/components/shared/platform-ui/kit/ai/index.d.ts +11 -0
  529. package/dist/components/shared/platform-ui/kit/ai/loader.d.ts +6 -0
  530. package/dist/components/shared/platform-ui/kit/ai/message.d.ts +14 -0
  531. package/dist/components/shared/platform-ui/kit/ai/prompt-input.d.ts +18 -0
  532. package/dist/components/shared/platform-ui/kit/ai/suggestion.d.ts +11 -0
  533. package/dist/components/shared/platform-ui/kit/ai/tool.d.ts +28 -0
  534. package/dist/components/shared/platform-ui/kit.d.ts +5 -0
  535. package/dist/components/shared/platform-ui/platform/index.d.ts +38 -0
  536. package/dist/components/shared/platform-ui/platform/types.d.ts +1 -0
  537. package/dist/components/shared/platform-ui/styles/design-tokens.d.ts +189 -0
  538. package/dist/components/shared/platform-ui/styles/z-index-layers.d.ts +46 -0
  539. package/dist/components/shared/platform-ui/utils/unknownError.d.ts +2 -0
  540. package/dist/components/shared/platform-utils/cookieSettings.d.ts +12 -0
  541. package/dist/components/shared/platform-utils/data/countryCodes.d.ts +26 -0
  542. package/dist/components/shared/platform-utils/index.d.ts +18 -0
  543. package/dist/components/shared/platform-utils/utils/appPath.d.ts +5 -0
  544. package/dist/components/shared/platform-utils/utils/chunkLoadRecovery.d.ts +7 -0
  545. package/dist/components/shared/platform-utils/utils/cn.d.ts +3 -0
  546. package/dist/components/shared/platform-utils/utils/crossApp.d.ts +71 -0
  547. package/dist/components/shared/platform-utils/utils/debounce.d.ts +1 -0
  548. package/dist/components/shared/platform-utils/utils/formatUserLabel.d.ts +8 -0
  549. package/dist/components/shared/platform-utils/utils/formatting.d.ts +18 -0
  550. package/dist/components/shared/platform-utils/utils/logoutNotification.d.ts +28 -0
  551. package/dist/components/shared/platform-utils/utils/operatorLocale.d.ts +32 -0
  552. package/dist/components/shared/platform-utils/utils/routeLocalePrefetch.d.ts +5 -0
  553. package/dist/components/shared/platform-utils/utils/shellIframeUrl.d.ts +20 -0
  554. package/dist/components/shared/platform-utils/utils/spaceSettings.d.ts +20 -0
  555. package/dist/components/shared/platform-utils/utils/sso.d.ts +42 -0
  556. package/dist/components/shared/platform-utils/utils/throttle.d.ts +1 -0
  557. package/dist/components/shared/platform-utils/utils/timezones.d.ts +14 -0
  558. package/dist/components/shared/platform-utils/utils/toDateInputValue.d.ts +5 -0
  559. package/dist/components/shared/platform-utils/utils/watermark.d.ts +1 -0
  560. package/dist/components/shared/templates/index.d.ts +3 -0
  561. package/dist/components/shared/templates/slugify.d.ts +1 -0
  562. package/dist/components/shared/templates/templateRegistry.d.ts +18 -0
  563. package/dist/components/shared/templates/types.d.ts +42 -0
  564. package/dist/components/skeleton/ComponentSkeleton.d.ts +9 -0
  565. package/dist/components/skeleton/HeroCardSkeleton.d.ts +11 -0
  566. package/dist/components/skeleton/TileGridSkeleton.d.ts +11 -0
  567. package/dist/components/skeleton/WorkbenchSkeletonTokens.d.ts +1 -0
  568. package/dist/components/skeleton/index.d.ts +4 -0
  569. package/dist/components/standalone.css +2 -0
  570. package/dist/components/standalone.d.ts +21 -0
  571. package/dist/components/standalone.js +358805 -0
  572. package/dist/components/styles/grid24.css +359 -0
  573. package/dist/components/styles/layoutSystem.css +773 -0
  574. package/dist/components/styles.css +3 -0
  575. package/dist/components/testing/index.d.ts +2 -0
  576. package/dist/components/testing.js +5 -0
  577. package/dist/components/testing.js.map +1 -0
  578. package/dist/components/themes/classic.d.ts +7 -0
  579. package/dist/components/themes/index.d.ts +15 -0
  580. package/dist/components/themes/inkOnyx.d.ts +3 -0
  581. package/dist/components/themes/types.d.ts +36 -0
  582. package/dist/components/types/application.d.ts +37 -0
  583. package/dist/components/types/communication.d.ts +94 -0
  584. package/dist/components/types/components.d.ts +346 -0
  585. package/dist/components/types/conditionMapperTypes.d.ts +60 -0
  586. package/dist/components/types/databaseDataSource.d.ts +120 -0
  587. package/dist/components/types/datasource.d.ts +117 -0
  588. package/dist/components/types/editor.d.ts +4 -0
  589. package/dist/components/types/editors.d.ts +91 -0
  590. package/dist/components/types/host-adapters.d.ts +35 -0
  591. package/dist/components/types/index.d.ts +7 -0
  592. package/dist/components/types/parameters.d.ts +59 -0
  593. package/dist/components/types/productReport.d.ts +272 -0
  594. package/dist/components/types/renderers.d.ts +645 -0
  595. package/dist/components/types.d.ts +649 -0
  596. package/dist/components/ui/ActionFormDialog.d.ts +19 -0
  597. package/dist/components/ui/ConfirmDialog.d.ts +17 -0
  598. package/dist/components/ui/FormFieldRenderer.d.ts +51 -0
  599. package/dist/components/ui/IconSelector.d.ts +10 -0
  600. package/dist/components/ui/RecordDetailDialog.d.ts +15 -0
  601. package/dist/components/ui/StructuredValueField.d.ts +16 -0
  602. package/dist/components/ui/date-picker.d.ts +7 -0
  603. package/dist/components/ui/date-range-picker.d.ts +11 -0
  604. package/dist/components/ui/dialog-safe-select.d.ts +13 -0
  605. package/dist/components/ui/dialog-tag-input.d.ts +18 -0
  606. package/dist/components/ui/dialog.d.ts +22 -0
  607. package/dist/components/ui/dropdown-menu.d.ts +27 -0
  608. package/dist/components/ui/pagination.d.ts +28 -0
  609. package/dist/components/ui/select.d.ts +13 -0
  610. package/dist/components/ui/sidebar-rail.d.ts +9 -0
  611. package/dist/components/ui/sidebar.d.ts +65 -0
  612. package/dist/components/ui/table.d.ts +10 -0
  613. package/dist/components/ui/tag-input.d.ts +23 -0
  614. package/dist/components/utils/actionFormValidation.d.ts +34 -0
  615. package/dist/components/utils/autoIdUtils.d.ts +2 -0
  616. package/dist/components/utils/chartGradientStops.d.ts +14 -0
  617. package/dist/components/utils/chinaProvinceMap.d.ts +8 -0
  618. package/dist/components/utils/colors.d.ts +84 -0
  619. package/dist/components/utils/componentUtils.d.ts +4 -0
  620. package/dist/components/utils/conditionMapperUtils.d.ts +59 -0
  621. package/dist/components/utils/cssParser.d.ts +7 -0
  622. package/dist/components/utils/currencySymbol.d.ts +10 -0
  623. package/dist/components/utils/dataConfigUtils.d.ts +80 -0
  624. package/dist/components/utils/databaseDatasourceColumnValue.d.ts +8 -0
  625. package/dist/components/utils/databaseDatasourceParams.d.ts +44 -0
  626. package/dist/components/utils/datasetOperationUtils.d.ts +48 -0
  627. package/dist/components/utils/datasourceVersion.d.ts +61 -0
  628. package/dist/components/utils/debugUtils.d.ts +34 -0
  629. package/dist/components/utils/errorFilter.d.ts +1 -0
  630. package/dist/components/utils/errorHandler.d.ts +10 -0
  631. package/dist/components/utils/expressionUtils.d.ts +13 -0
  632. package/dist/components/utils/extensionErrorHandler.d.ts +4 -0
  633. package/dist/components/utils/filterPanelDateRangeUtils.d.ts +34 -0
  634. package/dist/components/utils/filterPanelMobileDateRangeUtils.d.ts +17 -0
  635. package/dist/components/utils/formActionVisibility.d.ts +21 -0
  636. package/dist/components/utils/grid24LayoutSystem.d.ts +108 -0
  637. package/dist/components/utils/iconUtils.d.ts +22 -0
  638. package/dist/components/utils/layoutContainerNesting.d.ts +5 -0
  639. package/dist/components/utils/layoutSystem.d.ts +189 -0
  640. package/dist/components/utils/navigationUtils.d.ts +70 -0
  641. package/dist/components/utils/navigationVisibleWhenEditor.d.ts +37 -0
  642. package/dist/components/utils/parameterUtils.d.ts +52 -0
  643. package/dist/components/utils/redirectToAppHome.d.ts +4 -0
  644. package/dist/components/utils/resolveComponentMockFields.d.ts +28 -0
  645. package/dist/components/utils/resolveDatabaseDataSourceConfig.d.ts +9 -0
  646. package/dist/components/utils/safeMessaging.d.ts +16 -0
  647. package/dist/components/utils/statisticColors.d.ts +11 -0
  648. package/dist/components/utils/statisticIcons.d.ts +5 -0
  649. package/dist/components/utils/styleUtils.d.ts +35 -0
  650. package/dist/components/utils/systemParameters.d.ts +8 -0
  651. package/dist/components/utils/tabIsolation.d.ts +34 -0
  652. package/dist/components/utils/tableActionButtonRender.d.ts +12 -0
  653. package/dist/components/utils/taskUtils.d.ts +37 -0
  654. package/dist/components/utils/treeFormUtils.d.ts +41 -0
  655. package/dist/components/utils/visibleWhen.d.ts +31 -0
  656. package/dist/components/utils/visibleWhenFormat.d.ts +32 -0
  657. package/dist/components/utils/workbenchConfigLocale.d.ts +44 -0
  658. package/dist/components/utils/workbenchDisplayLocale.d.ts +33 -0
  659. package/dist/components/utils/workbenchPathUtils.d.ts +8 -0
  660. package/dist/components/utils/workflowTransformsUtils.d.ts +3 -0
  661. package/dist/components.js +841 -0
  662. package/dist/components.js.map +1 -0
  663. package/dist/dashboard/src/ChartTooltip.d.ts +1 -1
  664. package/dist/hooks/access/AppAccessNotice.d.ts +1 -1
  665. package/dist/hooks/picker/managedAppPicker.d.ts +1 -1
  666. package/dist/hooks.js +28 -27
  667. package/dist/hooks.js.map +1 -1
  668. package/dist/i18n-DojjvBZv.js +19013 -0
  669. package/dist/i18n-DojjvBZv.js.map +1 -0
  670. package/dist/index.js +61 -59
  671. package/dist/index.js.map +1 -1
  672. package/dist/kit.js +57 -56
  673. package/dist/kit.js.map +1 -1
  674. package/dist/resolveApiRoot-Dzg1R1PS.js +68 -0
  675. package/dist/resolveApiRoot-Dzg1R1PS.js.map +1 -0
  676. package/dist/shell.d.ts +1 -1
  677. package/dist/storage/components/CopyStorageLinkButton.d.ts +1 -1
  678. package/dist/storage/components/StorageImage.d.ts +1 -1
  679. package/dist/storage/components/StorageVideo.d.ts +1 -1
  680. package/dist/style.css +1 -1
  681. package/dist/task-workspace/domain.d.ts +1 -1
  682. package/dist/ui/components/features/app/AppModal.d.ts +2 -2
  683. package/dist/ui/components/primitives/page-skeleton/index.d.ts +1 -1
  684. package/dist/ui/components/ui/alert.d.ts +3 -3
  685. package/dist/ui/components/ui/badge.d.ts +3 -3
  686. package/dist/ui/components/ui/button.d.ts +4 -4
  687. package/dist/ui/components/ui/chart.d.ts +1 -1
  688. package/dist/ui/components/ui/form.d.ts +3 -5
  689. package/dist/ui/components/ui/hint-notice.d.ts +3 -3
  690. package/dist/ui/components/ui/label.d.ts +1 -1
  691. package/dist/ui/components/ui/select.d.ts +1 -1
  692. package/dist/ui/components/ui/sheet.d.ts +3 -3
  693. package/dist/ui/components/ui/tabs.d.ts +1 -1
  694. package/dist/ui/components/ui/toast.d.ts +3 -3
  695. package/dist/ui/components/ui/toggle-group.d.ts +8 -8
  696. package/dist/ui/components/ui/toggle.d.ts +8 -8
  697. package/dist/ui/components/ui/underline-tabs.d.ts +6 -6
  698. package/dist/ui.js +23 -22
  699. package/dist/ui.js.map +1 -1
  700. package/dist/useUserDirectory-GU8imJ0T.js +2124 -0
  701. package/dist/useUserDirectory-GU8imJ0T.js.map +1 -0
  702. package/dist/vite.d.ts +1 -1
  703. package/package.json +217 -31
  704. package/dist/CrossAppRecordPicker-CQVmirWD.js.map +0 -1
  705. package/dist/useUserDirectory-CqkyCQoR.js +0 -2377
  706. package/dist/useUserDirectory-CqkyCQoR.js.map +0 -1
  707. package/dist/workbench/runtime.d.ts +0 -3
  708. package/dist/workbench/styles.css +0 -197
  709. package/dist/workbench/types.d.ts +0 -48
  710. package/dist/workbench.d.ts +0 -8
  711. package/dist/workbench.js +0 -356
  712. package/dist/workbench.js.map +0 -1
@@ -0,0 +1 @@
1
+ export type Platform = 'web' | 'desktop';
@@ -0,0 +1,189 @@
1
+ /**
2
+ * GeniSpace Design Tokens
3
+ *
4
+ * Single source of truth for all design values across the platform.
5
+ * Aligned with DESIGN_GUIDELINE.html v2.0 and GeniSpace_Design_Guideline.md v1.1.0.
6
+ */
7
+ export declare const CSS_VARS: {
8
+ readonly light: {
9
+ readonly background: "0 0% 100%";
10
+ readonly foreground: "0 0% 9%";
11
+ readonly card: "0 0% 100%";
12
+ readonly cardForeground: "0 0% 9%";
13
+ readonly popover: "0 0% 100%";
14
+ readonly popoverForeground: "0 0% 9%";
15
+ readonly primary: "217 91% 60%";
16
+ readonly primaryForeground: "0 0% 100%";
17
+ readonly secondary: "0 0% 96.1%";
18
+ readonly secondaryForeground: "0 0% 14.9%";
19
+ readonly muted: "210 40% 96.1%";
20
+ readonly mutedForeground: "0 0% 25.1%";
21
+ readonly accent: "210 40% 96.1%";
22
+ readonly accentForeground: "222.2 47.4% 11.2%";
23
+ readonly destructive: "0 84.2% 60.2%";
24
+ readonly destructiveForeground: "0 0% 100%";
25
+ readonly border: "214.3 31.8% 91.4%";
26
+ readonly input: "214.3 31.8% 91.4%";
27
+ readonly ring: "217 91% 60%";
28
+ readonly radius: "0.5rem";
29
+ readonly sidebarBackground: "0 0% 98%";
30
+ readonly sidebarForeground: "0 0% 9%";
31
+ readonly sidebarPrimary: "0 0% 9%";
32
+ readonly sidebarPrimaryForeground: "0 0% 98%";
33
+ readonly sidebarAccent: "0 0% 96.1%";
34
+ readonly sidebarAccentForeground: "0 0% 9%";
35
+ readonly sidebarBorder: "0 0% 89.8%";
36
+ readonly sidebarRing: "0 0% 9%";
37
+ };
38
+ readonly dark: {
39
+ readonly background: "0 0% 3.9%";
40
+ readonly foreground: "0 0% 98%";
41
+ readonly card: "0 0% 3.9%";
42
+ readonly cardForeground: "0 0% 98%";
43
+ readonly popover: "0 0% 3.9%";
44
+ readonly popoverForeground: "0 0% 98%";
45
+ readonly primary: "0 0% 98%";
46
+ readonly primaryForeground: "0 0% 9%";
47
+ readonly secondary: "0 0% 14.9%";
48
+ readonly secondaryForeground: "0 0% 98%";
49
+ readonly muted: "0 0% 14.9%";
50
+ readonly mutedForeground: "0 0% 63.9%";
51
+ readonly accent: "0 0% 14.9%";
52
+ readonly accentForeground: "0 0% 98%";
53
+ readonly destructive: "0 84.2% 60.2%";
54
+ readonly destructiveForeground: "0 0% 100%";
55
+ readonly border: "0 0% 14.9%";
56
+ readonly input: "0 0% 14.9%";
57
+ readonly ring: "0 0% 83.1%";
58
+ readonly sidebarBackground: "0 0% 9%";
59
+ readonly sidebarForeground: "0 0% 98%";
60
+ readonly sidebarPrimary: "0 0% 98%";
61
+ readonly sidebarPrimaryForeground: "0 0% 9%";
62
+ readonly sidebarAccent: "0 0% 14.9%";
63
+ readonly sidebarAccentForeground: "0 0% 98%";
64
+ readonly sidebarBorder: "0 0% 14.9%";
65
+ readonly sidebarRing: "0 0% 83.1%";
66
+ };
67
+ };
68
+ export declare const BRAND_COLORS: {
69
+ readonly ink: {
70
+ readonly black: "#171717";
71
+ readonly dark: "#262626";
72
+ readonly medium: "#404040";
73
+ readonly light: "#737373";
74
+ };
75
+ readonly brand: {
76
+ readonly primary: "#262626";
77
+ readonly 'primary-light': "#525252";
78
+ readonly 'primary-dark': "#171717";
79
+ };
80
+ readonly paper: {
81
+ readonly light: "#FFFCF7";
82
+ readonly medium: "#FDF7EF";
83
+ readonly dark: "#FBF1E4";
84
+ };
85
+ readonly surface: {
86
+ readonly DEFAULT: "#ffffff";
87
+ readonly dark: "#0a0a0a";
88
+ readonly darker: "#171717";
89
+ readonly light: "#f3f4f6";
90
+ };
91
+ readonly content: {
92
+ readonly DEFAULT: "#111827";
93
+ readonly dark: "#fafafa";
94
+ readonly muted: "#4b5563";
95
+ readonly 'dark-muted': "#d1d5db";
96
+ };
97
+ readonly accent: {
98
+ readonly DEFAULT: "#3b82f6";
99
+ readonly light: "#60a5fa";
100
+ readonly dark: "#2563eb";
101
+ readonly foreground: "#ffffff";
102
+ };
103
+ readonly functional: {
104
+ readonly success: "#27AE60";
105
+ readonly warning: "#F39C12";
106
+ readonly error: "#E74C3C";
107
+ readonly info: "#3498DB";
108
+ };
109
+ };
110
+ export declare const TYPOGRAPHY: {
111
+ readonly fontFamily: {
112
+ readonly sans: readonly ["Inter", "Noto Sans SC", "system-ui", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", "Arial", "sans-serif"];
113
+ readonly mono: readonly ["Geist Mono", "Noto Sans SC", "Consolas", "Monaco", "Courier New", "monospace"];
114
+ readonly display: readonly ["Space Grotesk", "Noto Sans SC", "system-ui", "-apple-system", "BlinkMacSystemFont", "sans-serif"];
115
+ };
116
+ readonly fontSize: {
117
+ readonly xs: "0.75rem";
118
+ readonly sm: "0.875rem";
119
+ readonly base: "1rem";
120
+ readonly lg: "1.125rem";
121
+ readonly xl: "1.25rem";
122
+ readonly '2xl': "1.5rem";
123
+ readonly '3xl': "1.75rem";
124
+ readonly '4xl': "2rem";
125
+ };
126
+ readonly lineHeight: {
127
+ readonly tight: "1.1";
128
+ readonly normal: "1.3";
129
+ readonly relaxed: "1.5";
130
+ };
131
+ };
132
+ export declare const SPACING: {
133
+ readonly px: "1px";
134
+ readonly 0: "0";
135
+ readonly 0.5: "2px";
136
+ readonly 1: "4px";
137
+ readonly 1.5: "6px";
138
+ readonly 2: "8px";
139
+ readonly 2.5: "10px";
140
+ readonly 3: "12px";
141
+ readonly 3.5: "14px";
142
+ readonly 4: "16px";
143
+ readonly 5: "20px";
144
+ readonly 6: "24px";
145
+ readonly 7: "28px";
146
+ readonly 8: "32px";
147
+ readonly 9: "36px";
148
+ readonly 10: "40px";
149
+ readonly 12: "48px";
150
+ readonly 16: "64px";
151
+ readonly 20: "80px";
152
+ readonly 24: "96px";
153
+ };
154
+ export declare const SHADOWS: {
155
+ readonly sm: "0 2px 4px rgba(10, 10, 10, 0.08)";
156
+ readonly md: "0 4px 12px rgba(10, 10, 10, 0.12)";
157
+ readonly lg: "0 8px 24px rgba(10, 10, 10, 0.16)";
158
+ };
159
+ export declare const TRANSITIONS: {
160
+ readonly fast: "150ms";
161
+ readonly standard: "300ms";
162
+ readonly slow: "500ms";
163
+ };
164
+ export declare const MODAL_DIMENSIONS: {
165
+ readonly sm: {
166
+ readonly width: "480px";
167
+ readonly maxHeight: "90vh";
168
+ };
169
+ readonly md: {
170
+ readonly width: "640px";
171
+ readonly maxHeight: "90vh";
172
+ };
173
+ readonly lg: {
174
+ readonly width: "896px";
175
+ readonly maxHeight: "90vh";
176
+ };
177
+ readonly xl: {
178
+ readonly width: "1000px";
179
+ readonly maxHeight: "90vh";
180
+ };
181
+ readonly wide: {
182
+ readonly width: "min(1152px, 95vw)";
183
+ readonly maxHeight: "90vh";
184
+ };
185
+ readonly full: {
186
+ readonly width: "95vw";
187
+ readonly maxHeight: "95vh";
188
+ };
189
+ };
@@ -0,0 +1,46 @@
1
+ export declare const Z_INDEX_LAYERS: {
2
+ readonly DEFAULT: 0;
3
+ readonly WATERMARK: 5;
4
+ readonly STICKY_HEADER: 10;
5
+ readonly SIDEBAR: 20;
6
+ readonly FIXED_HEADER: 30;
7
+ readonly FLOATING_PANEL: 100;
8
+ readonly TOOLTIP: 150;
9
+ readonly DROPDOWN_MENU: 200;
10
+ readonly POPOVER: 250;
11
+ readonly BACKDROP: 300;
12
+ readonly DRAWER: 400;
13
+ readonly MODAL_BACKDROP: 500;
14
+ readonly CONTEXT_MENU: 1000;
15
+ readonly FUNCTION_DROPDOWN: 10001;
16
+ readonly MODAL: 10000;
17
+ readonly NESTED_MODAL: 10002;
18
+ /** Date picker calendar popover inside modals */
19
+ readonly DATE_PICKER_POPOVER: 10003;
20
+ /** Select/Popover/DropdownMenu content portaled to body — must paint above dialog/sheet layers */
21
+ readonly OVERLAY_POPOVER: 10003;
22
+ readonly ALERT_MODAL: 50000;
23
+ readonly TOAST: 100000;
24
+ };
25
+ export declare const Z_INDEX_CLASSES: {
26
+ readonly DEFAULT: "z-0";
27
+ readonly WATERMARK: "z-[5]";
28
+ readonly STICKY_HEADER: "z-10";
29
+ readonly SIDEBAR: "z-20";
30
+ readonly FIXED_HEADER: "z-30";
31
+ readonly FLOATING_PANEL: "z-[100]";
32
+ readonly TOOLTIP: "z-[150]";
33
+ readonly DROPDOWN_MENU: "z-[200]";
34
+ readonly POPOVER: "z-[250]";
35
+ readonly BACKDROP: "z-[300]";
36
+ readonly DRAWER: "z-[400]";
37
+ readonly MODAL_BACKDROP: "z-[500]";
38
+ readonly CONTEXT_MENU: "z-[1000]";
39
+ readonly FUNCTION_DROPDOWN: "z-[10001]";
40
+ readonly MODAL: "z-[10000]";
41
+ readonly NESTED_MODAL: "z-[10002]";
42
+ readonly DATE_PICKER_POPOVER: "z-[10003]";
43
+ readonly OVERLAY_POPOVER: "z-[10003]";
44
+ readonly ALERT_MODAL: "z-[50000]";
45
+ readonly TOAST: "z-[100000]";
46
+ };
@@ -0,0 +1,2 @@
1
+ export declare function getHttpErrorStatus(error: unknown): number | undefined;
2
+ export declare function getApiErrorMessage(error: unknown): string | undefined;
@@ -0,0 +1,12 @@
1
+ export declare function setCookie(key: string, value: string): void;
2
+ export declare function getCookie(key: string): string | null;
3
+ export declare function removeCookie(key: string): void;
4
+ export declare function setTheme(theme: string): void;
5
+ export declare function getTheme(): string;
6
+ export declare function setLanguage(language: string): void;
7
+ export declare function getLanguage(): string;
8
+ export declare function setTimeZone(timeZone: string): void;
9
+ export declare function getTimeZone(): string;
10
+ export declare function setSpaceId(spaceId: string | null): void;
11
+ export declare function getSpaceId(): string | null;
12
+ export declare function initializeSettings(onThemeChange?: (theme: string) => void, onLanguageChange?: (language: string) => void, onTimeZoneChange?: (timeZone: string) => void, onSpaceIdChange?: (spaceId: string | null) => void): void;
@@ -0,0 +1,26 @@
1
+ export interface CountryCode {
2
+ code: string;
3
+ name: string;
4
+ nameCn: string;
5
+ dialCode: string;
6
+ flag: string;
7
+ }
8
+ export declare const COUNTRY_CODES: CountryCode[];
9
+ export declare function getCountryByCode(code: string): CountryCode | undefined;
10
+ export declare function getCountriesByDialCode(dialCode: string): CountryCode[];
11
+ export declare function getAllCountries(): CountryCode[];
12
+ export declare function searchCountries(query: string, language?: 'en' | 'zh'): CountryCode[];
13
+ /** ISO country codes for mainland China + HK / MO / TW (CN edition SMS allowlist). */
14
+ export declare const GREATER_CHINA_COUNTRY_CODES: readonly ["CN", "HK", "MO", "TW"];
15
+ export type GreaterChinaCountryCode = (typeof GREATER_CHINA_COUNTRY_CODES)[number];
16
+ export declare function getGreaterChinaCountries(): CountryCode[];
17
+ /**
18
+ * Validate national digits for a dial code (aligned with api phoneValidation KNOWN_REGIONS).
19
+ */
20
+ export declare function validateNationalNumber(dialCode: string, national: string): boolean;
21
+ export declare function formatPhoneNumber(dialCode: string, phoneNumber: string): string;
22
+ export declare function parsePhoneNumber(phoneNumber: string): {
23
+ dialCode: string;
24
+ number: string;
25
+ } | null;
26
+ export declare function getChinaCountry(): CountryCode;
@@ -0,0 +1,18 @@
1
+ export { cn } from './utils/cn';
2
+ export { getPlaneBaseUrl, buildCrossAppUrl, crossAppNav, getAppLaunchUrl, resolveLanding, type AppPlane, type LaunchableApp, type ResolveLandingInput, type LandingTarget, } from './utils/crossApp';
3
+ export { formatDate, formatNumber, formatBytes, formatLargeNumber, formatTokens, formatDuration, formatDurationFromMs, formatDateTime, formatLocalDate, formatLocalDateTime, formatRelativeTime, } from './utils/formatting';
4
+ export { formatUserLabel, type UserLabelSource } from './utils/formatUserLabel';
5
+ export { toDateInputValue } from './utils/toDateInputValue';
6
+ export { debounce } from './utils/debounce';
7
+ export { throttle } from './utils/throttle';
8
+ export { isChunkLoadError, reloadOnceIfChunkError, setupChunkLoadRecovery, } from './utils/chunkLoadRecovery';
9
+ export { namespacesForPath, type RouteLocaleRule, } from './utils/routeLocalePrefetch';
10
+ export { createSSOClient, type SSOClient, type SSOClientConfig, type ApplicationConfig, type SSOCallbackResult, type StateData, } from './utils/sso';
11
+ export { LOGOUT_NOTIFICATION_PATH, LOGOUT_COMPLETED_MESSAGE, collectLogoutNotificationUrls, broadcastLogoutNotifications, isLogoutBroadcastInProgress, } from './utils/logoutNotification';
12
+ export { setCookie, getCookie, removeCookie, setTheme, getTheme, setLanguage, getLanguage, setTimeZone, getTimeZone, setSpaceId, getSpaceId, initializeSettings, } from './cookieSettings';
13
+ export { getAllIanaTimeZoneIds, buildTimeZoneSelectOptions, type TimeZoneSelectOption, } from './utils/timezones';
14
+ export { normalizeOperatorLang, mergeSchemaLocale, mergeImportedOperatorDefinitionLocale, getOperatorDefinitionDisplay, prepareTenantOperatorApiResponseForConsole, stripTenantOperatorSystemConfigurationDeep, syncSchemaLocalePatchWithCanonical, syncOperatorMetadataLocalesWithCanonicalSchemas, type OperatorLang, type OperatorDefinitionDisplay, type CanonicalMethodForLocaleSync, } from './utils/operatorLocale';
15
+ export { COUNTRY_CODES, GREATER_CHINA_COUNTRY_CODES, getCountryByCode, getCountriesByDialCode, getAllCountries, getGreaterChinaCountries, searchCountries, validateNationalNumber, formatPhoneNumber, parsePhoneNumber, getChinaCountry, type CountryCode, type GreaterChinaCountryCode, } from './data/countryCodes';
16
+ export { normalizeIframeBaseUrl, buildAppIframeSrc, shellPathnameToInnerPath, } from './utils/shellIframeUrl';
17
+ export { pathnameWithinBase } from './utils/appPath';
18
+ export { GENISPACE_APP_IDS, DEFAULT_SPACE_SETTINGS, normalizeSpaceSettings, isSpaceWatermarkEnabled, readStoredUserPhone, buildWatermarkLabel, type GenispaceAppId, type SpaceSettings, type SpaceWatermarkApps, type WatermarkLabelInput, } from './utils/watermark';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Path inside a GeniApp SPA after removing Vite's public base (`import.meta.env.BASE_URL`).
3
+ * Matches Shell ↔ iframe `innerPath` convention: no leading/trailing slashes (empty = app root).
4
+ */
5
+ export declare function pathnameWithinBase(pathname: string, viteBaseRaw: string): string;
@@ -0,0 +1,7 @@
1
+ export declare function isChunkLoadError(err: unknown): boolean;
2
+ export declare function reloadOnceIfChunkError(error: unknown, options?: {
3
+ storageKey?: string;
4
+ }): boolean;
5
+ export declare function setupChunkLoadRecovery(options?: {
6
+ storageKey?: string;
7
+ }): void;
@@ -0,0 +1,3 @@
1
+ import { ClassValue } from 'clsx';
2
+
3
+ export declare function cn(...inputs: ClassValue[]): string;
@@ -0,0 +1,71 @@
1
+ /**
2
+ * Cross-plane navigation + post-login landing resolution for the
3
+ * Hub / Console / Shell split.
4
+ *
5
+ * Base URLs come from the runtime `window.__APP_CONFIG__` so the same logic
6
+ * works in every app. When a plane's URL is unset (pre-split, single origin),
7
+ * targets resolve to relative paths and navigation stays in-app — i.e. this is
8
+ * behaviour-preserving until the subdomains are provisioned.
9
+ */
10
+ export type AppPlane = 'hub' | 'console' | 'shell' | 'workbench' | 'chat';
11
+ /**
12
+ * Origin for a plane from runtime config. Empty string means "same origin"
13
+ * (pre-split), in which case callers should navigate with a relative path.
14
+ */
15
+ export declare function getPlaneBaseUrl(plane: AppPlane): string;
16
+ /** Build a URL for another plane: absolute when its origin is configured, else a relative path. */
17
+ export declare function buildCrossAppUrl(plane: AppPlane, path?: string): string;
18
+ /**
19
+ * Navigate to another plane. If the target is same-origin (no configured base)
20
+ * and an SPA `navigate` fn is supplied, use it; otherwise do a full navigation.
21
+ */
22
+ export declare function crossAppNav(plane: AppPlane, path?: string, navigate?: (path: string) => void): void;
23
+ /** A launchable app (any type) as returned by the backend capability snapshot. */
24
+ export interface LaunchableApp {
25
+ id: string;
26
+ identifier: string;
27
+ name?: string;
28
+ /** Short description shown on launcher tiles. */
29
+ description?: string | null;
30
+ type?: string;
31
+ /** Pinned version label (null → shown as "Default"). */
32
+ version?: string | null;
33
+ /** Backend launcher kind (`BUILTIN` from `/rbac/my-permissions`) or legacy `BUILT_IN`. */
34
+ kind?: 'BUILT_IN' | 'BUILTIN' | 'SHELL' | 'WORKBENCH' | 'CONSOLE' | 'CUSTOM';
35
+ workbenchId?: string | null;
36
+ ingressHost?: string | null;
37
+ }
38
+ /**
39
+ * Resolve the open URL for a launchable app of any type, mirroring the
40
+ * console's applicationOpenHref rules:
41
+ * - workbench -> WORKBENCH_URL/workbench/{workbenchId}
42
+ * - built-in -> SHELL_URL/{identifier}
43
+ * - custom -> https://{ingressHost} (RUNNING deployment)
44
+ * Returns null when the app is not currently openable.
45
+ */
46
+ export declare function getAppLaunchUrl(app: LaunchableApp): string | null;
47
+ export interface ResolveLandingInput {
48
+ canAccessConsole: boolean;
49
+ accessibleApps: LaunchableApp[];
50
+ /** Server-authoritative last surface: 'console' | 'app' | 'launcher'. */
51
+ lastSurface?: string | null;
52
+ lastAppId?: string | null;
53
+ }
54
+ export type LandingTarget = {
55
+ kind: 'console';
56
+ path: string;
57
+ } | {
58
+ kind: 'app';
59
+ app: LaunchableApp;
60
+ } | {
61
+ kind: 'launcher';
62
+ } | {
63
+ kind: 'home';
64
+ };
65
+ /**
66
+ * Decide where a user lands after login or after switching space. Shared by the
67
+ * Hub and Console so behaviour is identical across surfaces. The caller is
68
+ * responsible for validating that a remembered target is still accessible — the
69
+ * accessibleApps list passed in is already the authoritative current set.
70
+ */
71
+ export declare function resolveLanding(input: ResolveLandingInput): LandingTarget;
@@ -0,0 +1 @@
1
+ export declare function debounce<T extends (...args: unknown[]) => unknown>(func: T, delay: number): (...args: Parameters<T>) => void;
@@ -0,0 +1,8 @@
1
+ export type UserLabelSource = {
2
+ name?: string | null;
3
+ email?: string | null;
4
+ };
5
+ /**
6
+ * Display label for a platform user: name, then email, then shortened id.
7
+ */
8
+ export declare function formatUserLabel(profile?: UserLabelSource | null, userId?: string | null, emptyLabel?: string): string;
@@ -0,0 +1,18 @@
1
+ export declare function formatDate(date: string | Date, locale?: string): string;
2
+ export declare function formatNumber(num: number, locale?: string): string;
3
+ export declare function formatBytes(bytes: number, decimals?: number, t?: (key: string, defaultValue: string) => string): string;
4
+ export declare function formatLargeNumber(num: number, precision?: number, locale?: string): string;
5
+ export declare function formatTokens(tokens: number, showUnit?: boolean, locale?: string): string;
6
+ export declare const formatDuration: (seconds: number, t?: (key: string, defaultValue: string) => string) => string;
7
+ export declare const formatDurationFromMs: (ms: number, t?: (key: string, defaultValue: string) => string) => string;
8
+ export declare const formatDateTime: (dateString: string | null, locale?: string) => string;
9
+ /**
10
+ * Format a date-only value (YYYY-MM-DD or ISO datetime) in the platform timezone.
11
+ * Uses noon-UTC to avoid day-boundary shifts for date-only strings.
12
+ */
13
+ export declare function formatLocalDate(isoDate: string | null | undefined, locale?: string): string;
14
+ /**
15
+ * Format a datetime value (ISO 8601) in the platform timezone, showing date + time.
16
+ */
17
+ export declare function formatLocalDateTime(isoDatetime: string | null | undefined, locale?: string): string;
18
+ export declare const formatRelativeTime: (dateString: string, t?: (key: string, defaultValue: string, options?: unknown) => string) => string;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Front-channel logout across the multi-origin app family (Hub / Console /
3
+ * Workbench / Chat / Ebook / Partner / Shell).
4
+ *
5
+ * Auth tokens live in each origin's own localStorage, so signing out (or
6
+ * switching accounts) in one app cannot directly clear the others. Every app
7
+ * exposes a `/logout-notification` receiver page that wipes its origin's auth
8
+ * keys; on sign-out the initiating app loads those receivers in hidden iframes
9
+ * and waits for their `logout-completed` acks (bounded by a timeout).
10
+ *
11
+ * This relies on all apps being served from the same site (eTLD+1) so browser
12
+ * third-party storage partitioning does not isolate the iframes' localStorage.
13
+ */
14
+ export declare const LOGOUT_NOTIFICATION_PATH = "/logout-notification";
15
+ export declare const LOGOUT_COMPLETED_MESSAGE = "logout-completed";
16
+ /**
17
+ * Receiver URLs for every configured app base except the current origin
18
+ * (the caller clears its own storage directly). Bases sharing an origin are
19
+ * deduped (e.g. Hub and its `/console` mount) — one receiver per origin.
20
+ */
21
+ export declare function collectLogoutNotificationUrls(): string[];
22
+ export declare function isLogoutBroadcastInProgress(): boolean;
23
+ /**
24
+ * Load each receiver in a hidden iframe and resolve once every origin has
25
+ * acked with `logout-completed`, or after `timeoutMs` — never rejects, so it
26
+ * is safe to await inside sign-out flows before redirecting.
27
+ */
28
+ export declare function broadcastLogoutNotifications(urls?: string[], timeoutMs?: number): Promise<void>;
@@ -0,0 +1,32 @@
1
+ export type OperatorLang = 'en' | 'zh';
2
+ export declare function normalizeOperatorLang(language: string | undefined): OperatorLang;
3
+ export declare function mergeSchemaLocale(base: unknown, patch: unknown): unknown;
4
+ export declare function syncSchemaLocalePatchWithCanonical(canonical: unknown, existingPatch: unknown): Record<string, unknown> | undefined;
5
+ export type CanonicalMethodForLocaleSync = {
6
+ identifier: string;
7
+ inputSchema?: unknown;
8
+ outputSchema?: unknown;
9
+ };
10
+ export declare function syncOperatorMetadataLocalesWithCanonicalSchemas(options: {
11
+ metadata: Record<string, unknown>;
12
+ methods: CanonicalMethodForLocaleSync[];
13
+ operatorInputSchema?: unknown;
14
+ operatorOutputSchema?: unknown;
15
+ }): Record<string, unknown>;
16
+ export declare function stripTenantOperatorSystemConfigurationDeep(op: Record<string, unknown>): void;
17
+ export declare function prepareTenantOperatorApiResponseForConsole(raw: unknown, language: string | undefined): unknown;
18
+ export declare function mergeImportedOperatorDefinitionLocale<T extends {
19
+ operator: Record<string, unknown>;
20
+ }>(definition: T, language: string | undefined): T;
21
+ export type OperatorDefinitionDisplay = {
22
+ name: string;
23
+ description: string;
24
+ methods: Array<{
25
+ identifier: string;
26
+ name: string;
27
+ description: string;
28
+ }>;
29
+ };
30
+ export declare function getOperatorDefinitionDisplay(definition: {
31
+ operator: Record<string, unknown>;
32
+ }, language: string | undefined): OperatorDefinitionDisplay;
@@ -0,0 +1,5 @@
1
+ export interface RouteLocaleRule {
2
+ prefix: string;
3
+ namespaces: readonly string[];
4
+ }
5
+ export declare function namespacesForPath(pathname: string, rules: readonly RouteLocaleRule[]): string[];
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Helpers for Shell iframe embedding of GeniApps (cross-origin safe URL composition).
3
+ */
4
+ export declare function normalizeIframeBaseUrl(base: string): string;
5
+ /** True when `baseUrl` is an expanded CDN directory (`…/{identifier}/{version}/`), not a bare dev origin. */
6
+ export declare function isExpandedGeniappIframeBase(baseUrl: string, identifier: string): boolean;
7
+ /**
8
+ * Build full iframe document URL. `baseUrl` is typically expanded manifest `iframeEntryTemplate`
9
+ * (must include trailing slash when serving SPA from a directory prefix).
10
+ *
11
+ * - Bare origin (`https://host/`): append `{identifier}` and optional `innerPath` (legacy hr-timesheet dev).
12
+ * - Expanded CDN base (`…/{identifier}/{version}/`): always load the version directory root. Object
13
+ * storage/CDN origins do not provide BrowserRouter fallback for deep paths; Shell sends `innerPath`
14
+ * separately through `GENISPACE_SHELL_ROUTE` after the iframe is available.
15
+ */
16
+ export declare function buildAppIframeSrc(baseUrl: string, identifier: string, innerPath: string): string;
17
+ /** Shell route `/:appSlug/*` → path segments inside the GeniApp router (`summary`, `reports/project`, …). */
18
+ export declare function shellPathnameToInnerPath(pathname: string, appSlug: string): string;
19
+ /** @deprecated Use buildAppIframeSrc */
20
+ export declare const buildGeniappIframeSrc: typeof buildAppIframeSrc;
@@ -0,0 +1,20 @@
1
+ export declare const GENISPACE_APP_IDS: readonly ["workbench", "console", "hub", "chat", "shell", "admin", "ebook", "partner"];
2
+ export type GenispaceAppId = (typeof GENISPACE_APP_IDS)[number];
3
+ export type SpaceWatermarkApps = Record<GenispaceAppId, boolean>;
4
+ export interface SpaceSettings {
5
+ watermark: {
6
+ apps: SpaceWatermarkApps;
7
+ };
8
+ }
9
+ export declare const DEFAULT_SPACE_SETTINGS: SpaceSettings;
10
+ export declare function normalizeSpaceSettings(raw?: unknown): SpaceSettings;
11
+ export declare function isSpaceWatermarkEnabled(appId: GenispaceAppId, settings?: unknown): boolean;
12
+ export declare function readStoredUserPhone(): string | null;
13
+ export interface WatermarkLabelInput {
14
+ name?: string | null;
15
+ phone?: string | null;
16
+ email?: string | null;
17
+ spaceName?: string | null;
18
+ }
19
+ /** Build watermark text: `{identifier}@{spaceName}` (name → phone → email local-part). */
20
+ export declare function buildWatermarkLabel(input: WatermarkLabelInput): string | null;
@@ -0,0 +1,42 @@
1
+ export interface ApplicationConfig {
2
+ client_id: string;
3
+ app_type: string;
4
+ app_name: string;
5
+ redirect_uris: string[];
6
+ scope: string;
7
+ is_platform_core: boolean;
8
+ }
9
+ export interface SSOCallbackResult {
10
+ token: string;
11
+ refreshToken?: string;
12
+ expiresIn?: number;
13
+ user: {
14
+ id: string;
15
+ email: string;
16
+ name: string;
17
+ emailVerified?: boolean;
18
+ };
19
+ }
20
+ export interface StateData {
21
+ nonce: string;
22
+ returnPath: string;
23
+ timestamp: number;
24
+ }
25
+ export interface SSOClientConfig {
26
+ getConfig: () => {
27
+ API_BASE_URL: string;
28
+ APP_URL?: string;
29
+ };
30
+ appType: string;
31
+ defaultReturnPath?: string;
32
+ identifyApp?: () => string;
33
+ getOAuthRedirectUri?: () => string | undefined | Promise<string | undefined>;
34
+ openLoginUrl?: (url: string) => void | Promise<void>;
35
+ }
36
+ export interface SSOClient {
37
+ startLogin: (returnPath?: string) => Promise<void>;
38
+ handleCallback: () => Promise<SSOCallbackResult>;
39
+ parseState: (state: string) => StateData | null;
40
+ clearCache: () => void;
41
+ }
42
+ export declare function createSSOClient(config: SSOClientConfig): SSOClient;
@@ -0,0 +1 @@
1
+ export declare function throttle<T extends (...args: unknown[]) => unknown>(func: T, delay: number): (...args: Parameters<T>) => void;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * IANA time zone helpers using Intl (supportedValuesOf, DisplayNames).
3
+ * Labels follow the given BCP 47 locale (e.g. en-US, zh-CN).
4
+ */
5
+ /** All IANA zone IDs available in the runtime, sorted lexicographically. */
6
+ export declare function getAllIanaTimeZoneIds(): string[];
7
+ export type TimeZoneSelectOption = {
8
+ value: string;
9
+ label: string;
10
+ };
11
+ /**
12
+ * Build sorted options for a select: localized name + GMT offset (winter reference date).
13
+ */
14
+ export declare function buildTimeZoneSelectOptions(locale: string, refDate?: Date): TimeZoneSelectOption[];
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Normalize API/DB date values to YYYY-MM-DD for HTML date inputs and AppDatePicker.
3
+ * Uses local calendar components (not UTC) so PG DATE / node-pg values stay correct in all timezones.
4
+ */
5
+ export declare function toDateInputValue(value: string | Date | null | undefined): string;
@@ -0,0 +1 @@
1
+ export { GENISPACE_APP_IDS, DEFAULT_SPACE_SETTINGS, normalizeSpaceSettings, isSpaceWatermarkEnabled, readStoredUserPhone, buildWatermarkLabel, type GenispaceAppId, type SpaceSettings, type SpaceWatermarkApps, type WatermarkLabelInput, } from './spaceSettings';
@@ -0,0 +1,3 @@
1
+ export * from './types';
2
+ export * from './slugify';
3
+ export { getAllTemplates, getTemplatesByCategory, getTemplateById, searchTemplates, getAllCategories, createWorkbenchConfigFromTemplate, clearTemplateCache, setDefaultTemplateLanguage, normalizeTemplateLanguage, } from './templateRegistry';
@@ -0,0 +1 @@
1
+ export declare function slugifyIdentifier(name: string): string;
@@ -0,0 +1,18 @@
1
+ import { Template, TemplateCategory } from './types';
2
+
3
+ export declare function normalizeTemplateLanguage(lang?: string): 'zh' | 'en';
4
+ export declare function setDefaultTemplateLanguage(lang: string): void;
5
+ export declare function getAllTemplates(lang?: string): Template[];
6
+ export declare function getTemplatesByCategory(category: TemplateCategory, lang?: string): Template[];
7
+ export declare function getTemplateById(id: string, lang?: string): Template | undefined;
8
+ export declare function searchTemplates(keyword: string, lang?: string): Template[];
9
+ export declare function getAllCategories(): TemplateCategory[];
10
+ export declare function createWorkbenchConfigFromTemplate(templateId: string, customName?: string, lang?: string): {
11
+ name: string;
12
+ description: string;
13
+ config: {
14
+ appConfig: any;
15
+ pages: Record<string, any>;
16
+ };
17
+ };
18
+ export declare function clearTemplateCache(): void;