@genispace/geniapp 0.2.0 → 0.4.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 (672) hide show
  1. package/README.md +44 -3
  2. package/dist/{CrossAppRecordPicker-CQVmirWD.js → CrossAppRecordPicker-BRpqAjd7.js} +189 -253
  3. package/dist/CrossAppRecordPicker-BRpqAjd7.js.map +1 -0
  4. package/dist/Grid24EditableCanvas-C5xiiXdZ.js +7 -0
  5. package/dist/Grid24EditableCanvas-C5xiiXdZ.js.map +1 -0
  6. package/dist/MobileFlowCanvas-DctpXMPy.js +7 -0
  7. package/dist/MobileFlowCanvas-DctpXMPy.js.map +1 -0
  8. package/dist/MultiPageRenderer-D7rlHY8l.js +537 -0
  9. package/dist/MultiPageRenderer-D7rlHY8l.js.map +1 -0
  10. package/dist/Sidebar-DdSOXqnC.js +260 -0
  11. package/dist/Sidebar-DdSOXqnC.js.map +1 -0
  12. package/dist/ai/adopt/AiSuggestionPanel.d.ts +1 -1
  13. package/dist/ai/components/AgentJobProgress.d.ts +1 -1
  14. package/dist/ai/components/BulkActionBar.d.ts +1 -1
  15. package/dist/ai/integrations/partner/createPartnerRecordPickerHook.d.ts +1 -1
  16. package/dist/case-workspace/domain.d.ts +1 -1
  17. package/dist/components/adapters/host.d.ts +4 -0
  18. package/dist/components/adapters/host.js +12 -0
  19. package/dist/components/adapters/host.js.map +1 -0
  20. package/dist/components/adapters/platform.d.ts +16 -0
  21. package/dist/components/index.d.ts +23 -0
  22. package/dist/components/internal/shared-api/auth/platformRefreshResponse.d.ts +3 -0
  23. package/dist/components/internal/shared-api/auth/setupAuthInterceptors.d.ts +18 -0
  24. package/dist/components/internal/shared-api/auth/tokenStorage.d.ts +4 -0
  25. package/dist/components/internal/shared-api/index.d.ts +4 -0
  26. package/dist/components/internal/shared-types/index.d.ts +1 -0
  27. package/dist/components/internal/shared-types/types/json-schema.d.ts +50 -0
  28. package/dist/components/internal/shared-ui/components/ai/index.d.ts +2 -0
  29. package/dist/components/internal/shared-ui/components/ai/message.d.ts +6 -0
  30. package/dist/components/internal/shared-ui/components/ai/suggestion.d.ts +10 -0
  31. package/dist/components/internal/shared-ui/components/features/agent/AgentIdentity.d.ts +10 -0
  32. package/dist/components/internal/shared-ui/components/features/agent/agentIdentityUtils.d.ts +4 -0
  33. package/dist/components/internal/shared-ui/components/features/agent/index.d.ts +2 -0
  34. package/dist/components/internal/shared-ui/components/features/app/AppCheckboxInput.d.ts +9 -0
  35. package/dist/components/internal/shared-ui/components/features/app/AppConfirmDialog.d.ts +12 -0
  36. package/dist/components/internal/shared-ui/components/features/app/AppDashboardSkeleton.d.ts +9 -0
  37. package/dist/components/internal/shared-ui/components/features/app/AppDatePicker.d.ts +69 -0
  38. package/dist/components/internal/shared-ui/components/features/app/AppModal.d.ts +27 -0
  39. package/dist/components/internal/shared-ui/components/features/app/AppPageStates.d.ts +17 -0
  40. package/dist/components/internal/shared-ui/components/features/app/AppSelectInput.d.ts +10 -0
  41. package/dist/components/internal/shared-ui/components/features/app/AppTemporalInput.d.ts +19 -0
  42. package/dist/components/internal/shared-ui/components/features/app/Page.d.ts +14 -0
  43. package/dist/components/internal/shared-ui/components/features/app/QueryErrorAlert.d.ts +7 -0
  44. package/dist/components/internal/shared-ui/components/features/app/Sidebar.d.ts +47 -0
  45. package/dist/components/internal/shared-ui/components/features/app/index.d.ts +17 -0
  46. package/dist/components/internal/shared-ui/components/features/auth/AuthControlButtons.d.ts +8 -0
  47. package/dist/components/internal/shared-ui/components/features/auth/ForgotPassword.d.ts +9 -0
  48. package/dist/components/internal/shared-ui/components/features/auth/LogoutNotificationPage.d.ts +8 -0
  49. package/dist/components/internal/shared-ui/components/features/auth/Privacy.d.ts +8 -0
  50. package/dist/components/internal/shared-ui/components/features/auth/RequireAuth.d.ts +31 -0
  51. package/dist/components/internal/shared-ui/components/features/auth/Terms.d.ts +8 -0
  52. package/dist/components/internal/shared-ui/components/features/auth/VerifyEmail.d.ts +9 -0
  53. package/dist/components/internal/shared-ui/components/features/auth/application/index.d.ts +1 -0
  54. package/dist/components/internal/shared-ui/components/features/auth/index.d.ts +13 -0
  55. package/dist/components/internal/shared-ui/components/features/avatar/AvatarPickerModal.d.ts +30 -0
  56. package/dist/components/internal/shared-ui/components/features/avatar/generateAvatarUrl.d.ts +9 -0
  57. package/dist/components/internal/shared-ui/components/features/avatar/index.d.ts +2 -0
  58. package/dist/components/internal/shared-ui/components/features/chat/index.d.ts +1 -0
  59. package/dist/components/internal/shared-ui/components/features/data/index.d.ts +1 -0
  60. package/dist/components/internal/shared-ui/components/features/feedback/FeedbackMenu.d.ts +8 -0
  61. package/dist/components/internal/shared-ui/components/features/feedback/index.d.ts +1 -0
  62. package/dist/components/internal/shared-ui/components/features/home/Background.d.ts +4 -0
  63. package/dist/components/internal/shared-ui/components/features/home/index.d.ts +2 -0
  64. package/dist/components/internal/shared-ui/components/features/index.d.ts +22 -0
  65. package/dist/components/internal/shared-ui/components/features/knowledge/EvidenceCitation.d.ts +30 -0
  66. package/dist/components/internal/shared-ui/components/features/knowledge/HighlightedSnippet.d.ts +14 -0
  67. package/dist/components/internal/shared-ui/components/features/knowledge/index.d.ts +2 -0
  68. package/dist/components/internal/shared-ui/components/features/notification/NotificationBell.d.ts +14 -0
  69. package/dist/components/internal/shared-ui/components/features/notification/NotificationList.d.ts +41 -0
  70. package/dist/components/internal/shared-ui/components/features/notification/index.d.ts +2 -0
  71. package/dist/components/internal/shared-ui/components/features/operator/index.d.ts +1 -0
  72. package/dist/components/internal/shared-ui/components/features/rbac/index.d.ts +1 -0
  73. package/dist/components/internal/shared-ui/components/features/rich-text/RichTextField.d.ts +13 -0
  74. package/dist/components/internal/shared-ui/components/features/space/SpaceContext.d.ts +121 -0
  75. package/dist/components/internal/shared-ui/components/features/space/SpaceSwitcher.d.ts +13 -0
  76. package/dist/components/internal/shared-ui/components/features/space/index.d.ts +2 -0
  77. package/dist/components/internal/shared-ui/components/features/subscription/SubscriptionContext.d.ts +26 -0
  78. package/dist/components/internal/shared-ui/components/features/subscription/SubscriptionGuard.d.ts +35 -0
  79. package/dist/components/internal/shared-ui/components/features/subscription/constants.d.ts +126 -0
  80. package/dist/components/internal/shared-ui/components/features/subscription/createSubscriptionService.d.ts +34 -0
  81. package/dist/components/internal/shared-ui/components/features/subscription/index.d.ts +7 -0
  82. package/dist/components/internal/shared-ui/components/features/subscription/types.d.ts +161 -0
  83. package/dist/components/internal/shared-ui/components/features/subscription/useSubscription.d.ts +20 -0
  84. package/dist/components/internal/shared-ui/components/features/subscription/utils.d.ts +18 -0
  85. package/dist/components/internal/shared-ui/components/features/task/index.d.ts +1 -0
  86. package/dist/components/internal/shared-ui/components/features/team/index.d.ts +4 -0
  87. package/dist/components/internal/shared-ui/components/features/user/UserAvatar.d.ts +17 -0
  88. package/dist/components/internal/shared-ui/components/features/user/UserDisplay.d.ts +10 -0
  89. package/dist/components/internal/shared-ui/components/features/user/UserSelect.d.ts +14 -0
  90. package/dist/components/internal/shared-ui/components/features/user/useUserDirectory.d.ts +13 -0
  91. package/dist/components/internal/shared-ui/components/features/user/userDirectoryTypes.d.ts +18 -0
  92. package/dist/components/internal/shared-ui/components/icons/alipay-pay-mark.d.ts +2 -0
  93. package/dist/components/internal/shared-ui/components/icons/bank-transfer-mark.d.ts +2 -0
  94. package/dist/components/internal/shared-ui/components/icons/stripe-payment-mark.d.ts +2 -0
  95. package/dist/components/internal/shared-ui/components/icons/wechat-pay-mark.d.ts +2 -0
  96. package/dist/components/internal/shared-ui/components/index.d.ts +3 -0
  97. package/dist/components/internal/shared-ui/components/patterns/entity-patterns.d.ts +3 -0
  98. package/dist/components/internal/shared-ui/components/patterns/form-section.d.ts +11 -0
  99. package/dist/components/internal/shared-ui/components/patterns/record-list-frame.d.ts +12 -0
  100. package/dist/components/internal/shared-ui/components/patterns/status-stepper.d.ts +13 -0
  101. package/dist/components/internal/shared-ui/components/primitives/data-display/ApiErrorState.d.ts +10 -0
  102. package/dist/components/internal/shared-ui/components/primitives/data-display/FilePreviewDialog.d.ts +18 -0
  103. package/dist/components/internal/shared-ui/components/primitives/data-display/index.d.ts +4 -0
  104. package/dist/components/internal/shared-ui/components/primitives/feedback/index.d.ts +2 -0
  105. package/dist/components/internal/shared-ui/components/primitives/feedback/toaster.d.ts +1 -0
  106. package/dist/components/internal/shared-ui/components/primitives/feedback/use-toast.d.ts +46 -0
  107. package/dist/components/internal/shared-ui/components/primitives/forms/CountryCodeSelect.d.ts +16 -0
  108. package/dist/components/internal/shared-ui/components/primitives/forms/index.d.ts +1 -0
  109. package/dist/components/internal/shared-ui/components/primitives/index.d.ts +5 -0
  110. package/dist/components/internal/shared-ui/components/primitives/layout/AppHeader.d.ts +111 -0
  111. package/dist/components/internal/shared-ui/components/primitives/layout/AppWatermark.d.ts +7 -0
  112. package/dist/components/internal/shared-ui/components/primitives/layout/PublicFooter.d.ts +6 -0
  113. package/dist/components/internal/shared-ui/components/primitives/layout/PublicHeader.d.ts +39 -0
  114. package/dist/components/internal/shared-ui/components/primitives/layout/PublicLayout.d.ts +6 -0
  115. package/dist/components/internal/shared-ui/components/primitives/layout/ThemeToggle.d.ts +33 -0
  116. package/dist/components/internal/shared-ui/components/primitives/layout/WatermarkOverlay.d.ts +9 -0
  117. package/dist/components/internal/shared-ui/components/primitives/layout/brandAssets.d.ts +11 -0
  118. package/dist/components/internal/shared-ui/components/primitives/layout/index.d.ts +6 -0
  119. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/ChartAreaSkeleton.d.ts +13 -0
  120. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/ChartEmptyState.d.ts +14 -0
  121. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/ComponentSkeletonShell.d.ts +16 -0
  122. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/ConfigEditorSkeleton.d.ts +5 -0
  123. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/DetailTabsSkeleton.d.ts +6 -0
  124. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/EmptyStateBadge.d.ts +13 -0
  125. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/FormCardSkeleton.d.ts +7 -0
  126. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/FormFieldSkeleton.d.ts +6 -0
  127. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/FormPageSkeleton.d.ts +6 -0
  128. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/GridCardsSkeleton.d.ts +6 -0
  129. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/ListSkeleton.d.ts +26 -0
  130. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/PageHeaderSkeleton.d.ts +6 -0
  131. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/SplitPaneSkeleton.d.ts +4 -0
  132. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/StatsRowSkeleton.d.ts +5 -0
  133. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/TableEmptyState.d.ts +27 -0
  134. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/TablePageSkeleton.d.ts +8 -0
  135. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/TabsBarSkeleton.d.ts +6 -0
  136. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/index.d.ts +24 -0
  137. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/skeletonMetrics.d.ts +9 -0
  138. package/dist/components/internal/shared-ui/components/primitives/page-skeleton/useVisibleCenter.d.ts +34 -0
  139. package/dist/components/internal/shared-ui/components/ui/accordion.d.ts +7 -0
  140. package/dist/components/internal/shared-ui/components/ui/ai-draft-banner.d.ts +21 -0
  141. package/dist/components/internal/shared-ui/components/ui/alert-dialog.d.ts +48 -0
  142. package/dist/components/internal/shared-ui/components/ui/alert.d.ts +8 -0
  143. package/dist/components/internal/shared-ui/components/ui/avatar.d.ts +6 -0
  144. package/dist/components/internal/shared-ui/components/ui/badge.d.ts +9 -0
  145. package/dist/components/internal/shared-ui/components/ui/breadcrumb.d.ts +19 -0
  146. package/dist/components/internal/shared-ui/components/ui/button.d.ts +11 -0
  147. package/dist/components/internal/shared-ui/components/ui/calendar.d.ts +8 -0
  148. package/dist/components/internal/shared-ui/components/ui/card.d.ts +8 -0
  149. package/dist/components/internal/shared-ui/components/ui/chart.d.ts +16 -0
  150. package/dist/components/internal/shared-ui/components/ui/checkbox.d.ts +4 -0
  151. package/dist/components/internal/shared-ui/components/ui/collapsible.d.ts +5 -0
  152. package/dist/components/internal/shared-ui/components/ui/column-config.d.ts +42 -0
  153. package/dist/components/internal/shared-ui/components/ui/date-picker.d.ts +9 -0
  154. package/dist/components/internal/shared-ui/components/ui/date-range-filter.d.ts +32 -0
  155. package/dist/components/internal/shared-ui/components/ui/date-range-picker.d.ts +11 -0
  156. package/dist/components/internal/shared-ui/components/ui/dialog-input.d.ts +17 -0
  157. package/dist/components/internal/shared-ui/components/ui/dialog-safe-select.d.ts +13 -0
  158. package/dist/components/internal/shared-ui/components/ui/dialog.d.ts +25 -0
  159. package/dist/components/internal/shared-ui/components/ui/dropdown-menu.d.ts +27 -0
  160. package/dist/components/internal/shared-ui/components/ui/feature-guide.d.ts +43 -0
  161. package/dist/components/internal/shared-ui/components/ui/form.d.ts +23 -0
  162. package/dist/components/internal/shared-ui/components/ui/help-tip.d.ts +29 -0
  163. package/dist/components/internal/shared-ui/components/ui/hint-notice.d.ts +22 -0
  164. package/dist/components/internal/shared-ui/components/ui/index.d.ts +6 -0
  165. package/dist/components/internal/shared-ui/components/ui/input.d.ts +3 -0
  166. package/dist/components/internal/shared-ui/components/ui/label.d.ts +5 -0
  167. package/dist/components/internal/shared-ui/components/ui/modal-container.d.ts +56 -0
  168. package/dist/components/internal/shared-ui/components/ui/modal-templates.d.ts +46 -0
  169. package/dist/components/internal/shared-ui/components/ui/multi-select.d.ts +20 -0
  170. package/dist/components/internal/shared-ui/components/ui/pagination.d.ts +28 -0
  171. package/dist/components/internal/shared-ui/components/ui/popover.d.ts +7 -0
  172. package/dist/components/internal/shared-ui/components/ui/progress.d.ts +7 -0
  173. package/dist/components/internal/shared-ui/components/ui/radio-button-group.d.ts +18 -0
  174. package/dist/components/internal/shared-ui/components/ui/radio-group.d.ts +5 -0
  175. package/dist/components/internal/shared-ui/components/ui/scroll-area.d.ts +5 -0
  176. package/dist/components/internal/shared-ui/components/ui/select.d.ts +16 -0
  177. package/dist/components/internal/shared-ui/components/ui/separator.d.ts +7 -0
  178. package/dist/components/internal/shared-ui/components/ui/sheet.d.ts +25 -0
  179. package/dist/components/internal/shared-ui/components/ui/sidebar-rail.d.ts +9 -0
  180. package/dist/components/internal/shared-ui/components/ui/skeleton.d.ts +2 -0
  181. package/dist/components/internal/shared-ui/components/ui/slider.d.ts +13 -0
  182. package/dist/components/internal/shared-ui/components/ui/switch.d.ts +4 -0
  183. package/dist/components/internal/shared-ui/components/ui/table.d.ts +10 -0
  184. package/dist/components/internal/shared-ui/components/ui/tabs.d.ts +10 -0
  185. package/dist/components/internal/shared-ui/components/ui/textarea.d.ts +3 -0
  186. package/dist/components/internal/shared-ui/components/ui/toast.d.ts +21 -0
  187. package/dist/components/internal/shared-ui/components/ui/toggle-group.d.ts +12 -0
  188. package/dist/components/internal/shared-ui/components/ui/toggle.d.ts +12 -0
  189. package/dist/components/internal/shared-ui/components/ui/tooltip.d.ts +7 -0
  190. package/dist/components/internal/shared-ui/components/ui/typography.d.ts +15 -0
  191. package/dist/components/internal/shared-ui/components/ui/underline-tabs.d.ts +13 -0
  192. package/dist/components/internal/shared-ui/components/ui/view-mode-toggle.d.ts +9 -0
  193. package/dist/components/internal/shared-ui/context/AppHostContext.d.ts +16 -0
  194. package/dist/components/internal/shared-ui/contexts/UserSettingsContext.d.ts +23 -0
  195. package/dist/components/internal/shared-ui/hooks/builtInApps.d.ts +91 -0
  196. package/dist/components/internal/shared-ui/hooks/pinnedBuiltInNavApps.d.ts +13 -0
  197. package/dist/components/internal/shared-ui/hooks/shellNavLucideIcon.d.ts +6 -0
  198. package/dist/components/internal/shared-ui/hooks/useAppSettings.d.ts +21 -0
  199. package/dist/components/internal/shared-ui/hooks/useAuthTokenSync.d.ts +3 -0
  200. package/dist/components/internal/shared-ui/hooks/useBuiltInApps.d.ts +6 -0
  201. package/dist/components/internal/shared-ui/hooks/useChatEntryTarget.d.ts +35 -0
  202. package/dist/components/internal/shared-ui/hooks/useIsMobile.d.ts +16 -0
  203. package/dist/components/internal/shared-ui/hooks/useLanguage.d.ts +11 -0
  204. package/dist/components/internal/shared-ui/hooks/useLockBodyScroll.d.ts +1 -0
  205. package/dist/components/internal/shared-ui/hooks/usePageState/index.d.ts +4 -0
  206. package/dist/components/internal/shared-ui/hooks/usePageState/types.d.ts +13 -0
  207. package/dist/components/internal/shared-ui/hooks/useTheme.d.ts +11 -0
  208. package/dist/components/internal/shared-ui/hooks/useUserSettings.d.ts +39 -0
  209. package/dist/components/internal/shared-ui/hooks/useWorkflowCanvas.d.ts +36 -0
  210. package/dist/components/internal/shared-ui/hooks/userPreferencesPinnedNav.d.ts +2 -0
  211. package/dist/components/internal/shared-ui/index.d.ts +127 -0
  212. package/dist/components/internal/shared-ui/kit/ai/conversation.d.ts +16 -0
  213. package/dist/components/internal/shared-ui/kit/ai/index.d.ts +11 -0
  214. package/dist/components/internal/shared-ui/kit/ai/loader.d.ts +6 -0
  215. package/dist/components/internal/shared-ui/kit/ai/message.d.ts +14 -0
  216. package/dist/components/internal/shared-ui/kit/ai/prompt-input.d.ts +18 -0
  217. package/dist/components/internal/shared-ui/kit/ai/suggestion.d.ts +11 -0
  218. package/dist/components/internal/shared-ui/kit/ai/tool.d.ts +28 -0
  219. package/dist/components/internal/shared-ui/kit.d.ts +5 -0
  220. package/dist/components/internal/shared-ui/platform/index.d.ts +38 -0
  221. package/dist/components/internal/shared-ui/platform/types.d.ts +1 -0
  222. package/dist/components/internal/shared-ui/styles/design-tokens.d.ts +189 -0
  223. package/dist/components/internal/shared-ui/styles/z-index-layers.d.ts +46 -0
  224. package/dist/components/internal/shared-ui/utils/unknownError.d.ts +2 -0
  225. package/dist/components/internal/shared-utils/cookieSettings.d.ts +12 -0
  226. package/dist/components/internal/shared-utils/data/countryCodes.d.ts +26 -0
  227. package/dist/components/internal/shared-utils/index.d.ts +18 -0
  228. package/dist/components/internal/shared-utils/utils/appPath.d.ts +5 -0
  229. package/dist/components/internal/shared-utils/utils/chunkLoadRecovery.d.ts +7 -0
  230. package/dist/components/internal/shared-utils/utils/cn.d.ts +3 -0
  231. package/dist/components/internal/shared-utils/utils/crossApp.d.ts +71 -0
  232. package/dist/components/internal/shared-utils/utils/debounce.d.ts +1 -0
  233. package/dist/components/internal/shared-utils/utils/formatUserLabel.d.ts +8 -0
  234. package/dist/components/internal/shared-utils/utils/formatting.d.ts +18 -0
  235. package/dist/components/internal/shared-utils/utils/logoutNotification.d.ts +28 -0
  236. package/dist/components/internal/shared-utils/utils/operatorLocale.d.ts +32 -0
  237. package/dist/components/internal/shared-utils/utils/routeLocalePrefetch.d.ts +5 -0
  238. package/dist/components/internal/shared-utils/utils/shellIframeUrl.d.ts +20 -0
  239. package/dist/components/internal/shared-utils/utils/spaceSettings.d.ts +20 -0
  240. package/dist/components/internal/shared-utils/utils/sso.d.ts +42 -0
  241. package/dist/components/internal/shared-utils/utils/throttle.d.ts +1 -0
  242. package/dist/components/internal/shared-utils/utils/timezones.d.ts +14 -0
  243. package/dist/components/internal/shared-utils/utils/toDateInputValue.d.ts +5 -0
  244. package/dist/components/internal/shared-utils/utils/watermark.d.ts +1 -0
  245. package/dist/components/internal/workbench/app/context/DeploymentContext.d.ts +24 -0
  246. package/dist/components/internal/workbench/app/context/PermissionContext.d.ts +32 -0
  247. package/dist/components/internal/workbench/app/context/SubscriptionContext.d.ts +9 -0
  248. package/dist/components/internal/workbench/app/context/UserContext.d.ts +22 -0
  249. package/dist/components/internal/workbench/app/services/apiKey.d.ts +96 -0
  250. package/dist/components/internal/workbench/app/services/auth.d.ts +1 -0
  251. package/dist/components/internal/workbench/app/services/configMap.d.ts +94 -0
  252. package/dist/components/internal/workbench/app/services/task.d.ts +42 -0
  253. package/dist/components/internal/workbench/app/services/workbenchApi.d.ts +495 -0
  254. package/dist/components/internal/workbench/app/types/agent.d.ts +100 -0
  255. package/dist/components/internal/workbench/app/types/api.d.ts +9 -0
  256. package/dist/components/internal/workbench/app/types/knowledge.d.ts +10 -0
  257. package/dist/components/internal/workbench/app/types/model.d.ts +23 -0
  258. package/dist/components/internal/workbench/app/types/task.d.ts +64 -0
  259. package/dist/components/internal/workbench/app/types/taskExecution.d.ts +26 -0
  260. package/dist/components/internal/workbench/assets/maps/bundledMapGeo.d.ts +4 -0
  261. package/dist/components/internal/workbench/components/Grid24Renderer.d.ts +23 -0
  262. package/dist/components/internal/workbench/components/Loading.d.ts +9 -0
  263. package/dist/components/internal/workbench/components/MultiPageRenderer.d.ts +15 -0
  264. package/dist/components/internal/workbench/components/PageComingSoonOverlay.d.ts +11 -0
  265. package/dist/components/internal/workbench/components/PageComponentRenderer.d.ts +34 -0
  266. package/dist/components/internal/workbench/components/PageLayoutRenderer.d.ts +36 -0
  267. package/dist/components/internal/workbench/components/TabManager.d.ts +39 -0
  268. package/dist/components/internal/workbench/components/componentTypes.d.ts +70 -0
  269. package/dist/components/internal/workbench/components/dialogs/TaskParamsDialog.d.ts +18 -0
  270. package/dist/components/internal/workbench/components/dialogs/TreeFormDialog.d.ts +23 -0
  271. package/dist/components/internal/workbench/components/edit-mode/ComponentEditOverlay.d.ts +3 -0
  272. package/dist/components/internal/workbench/components/edit-mode/ContainerDropZoneOverlay.d.ts +1 -0
  273. package/dist/components/internal/workbench/components/edit-mode/EditModeProvider.d.ts +26 -0
  274. package/dist/components/internal/workbench/components/edit-mode/WorkbenchEditMode.d.ts +3 -0
  275. package/dist/components/internal/workbench/components/edit-mode/canvas/Grid24EditableCanvas.d.ts +1 -0
  276. package/dist/components/internal/workbench/components/edit-mode/canvas/MobileFlowCanvas.d.ts +1 -0
  277. package/dist/components/internal/workbench/components/edit-mode/index.d.ts +4 -0
  278. package/dist/components/internal/workbench/components/edit-mode/studio/StudioPreviewContext.d.ts +4 -0
  279. package/dist/components/internal/workbench/components/editor/common/types.d.ts +4 -0
  280. package/dist/components/internal/workbench/components/grid24CellContext.d.ts +2 -0
  281. package/dist/components/internal/workbench/components/inputs/ArrayInput.d.ts +14 -0
  282. package/dist/components/internal/workbench/components/inputs/ObjectArrayInput.d.ts +15 -0
  283. package/dist/components/internal/workbench/components/mobileFlowLayoutContext.d.ts +2 -0
  284. package/dist/components/internal/workbench/components/renderers/AnalyticsTableRenderer.d.ts +125 -0
  285. package/dist/components/internal/workbench/components/renderers/AppIdentityListRenderer.d.ts +60 -0
  286. package/dist/components/internal/workbench/components/renderers/BaseRenderers.d.ts +7 -0
  287. package/dist/components/internal/workbench/components/renderers/CardRenderer.d.ts +24 -0
  288. package/dist/components/internal/workbench/components/renderers/ChartRenderer.d.ts +167 -0
  289. package/dist/components/internal/workbench/components/renderers/CollapsePanelRenderer.d.ts +28 -0
  290. package/dist/components/internal/workbench/components/renderers/ContainerRenderers.d.ts +44 -0
  291. package/dist/components/internal/workbench/components/renderers/CustomContentRenderer.d.ts +20 -0
  292. package/dist/components/internal/workbench/components/renderers/DataGridCard.d.ts +46 -0
  293. package/dist/components/internal/workbench/components/renderers/EChartsChartRenderer.d.ts +178 -0
  294. package/dist/components/internal/workbench/components/renderers/EditableTable.types.d.ts +27 -0
  295. package/dist/components/internal/workbench/components/renderers/EditableTableController.d.ts +44 -0
  296. package/dist/components/internal/workbench/components/renderers/EditableTableRenderer.d.ts +38 -0
  297. package/dist/components/internal/workbench/components/renderers/ExecutionHistoryModal.d.ts +9 -0
  298. package/dist/components/internal/workbench/components/renderers/FileUploadDropzone.d.ts +24 -0
  299. package/dist/components/internal/workbench/components/renderers/FilterPanelRenderer.d.ts +275 -0
  300. package/dist/components/internal/workbench/components/renderers/FormRenderer.d.ts +30 -0
  301. package/dist/components/internal/workbench/components/renderers/HeroCardRenderer.d.ts +18 -0
  302. package/dist/components/internal/workbench/components/renderers/IdentityAttributeAssignRenderer.d.ts +44 -0
  303. package/dist/components/internal/workbench/components/renderers/ListRenderers.d.ts +19 -0
  304. package/dist/components/internal/workbench/components/renderers/LoadingRenderer.d.ts +14 -0
  305. package/dist/components/internal/workbench/components/renderers/MapChartRenderer.d.ts +42 -0
  306. package/dist/components/internal/workbench/components/renderers/MetricCarouselRenderer.d.ts +26 -0
  307. package/dist/components/internal/workbench/components/renderers/NavTileRenderer.d.ts +13 -0
  308. package/dist/components/internal/workbench/components/renderers/ProductDetailRenderer.d.ts +23 -0
  309. package/dist/components/internal/workbench/components/renderers/ProductReportRenderer.d.ts +21 -0
  310. package/dist/components/internal/workbench/components/renderers/PublishHistoryRenderer.d.ts +21 -0
  311. package/dist/components/internal/workbench/components/renderers/PublishPreviewEntryRenderer.d.ts +16 -0
  312. package/dist/components/internal/workbench/components/renderers/RadarChartRenderer.d.ts +40 -0
  313. package/dist/components/internal/workbench/components/renderers/RingStatRenderer.d.ts +66 -0
  314. package/dist/components/internal/workbench/components/renderers/ServiceDeskReporterRenderer.d.ts +48 -0
  315. package/dist/components/internal/workbench/components/renderers/SimpleTreeRenderer.d.ts +47 -0
  316. package/dist/components/internal/workbench/components/renderers/StatisticGroup.d.ts +77 -0
  317. package/dist/components/internal/workbench/components/renderers/TableRenderer.d.ts +5 -0
  318. package/dist/components/internal/workbench/components/renderers/TabsRenderer.d.ts +63 -0
  319. package/dist/components/internal/workbench/components/renderers/TaskExecutionOutputs.d.ts +15 -0
  320. package/dist/components/internal/workbench/components/renderers/TaskInputField.d.ts +54 -0
  321. package/dist/components/internal/workbench/components/renderers/TaskInputRenderer.d.ts +68 -0
  322. package/dist/components/internal/workbench/components/renderers/TileGridRenderer.d.ts +41 -0
  323. package/dist/components/internal/workbench/components/renderers/TypographyRenderer.d.ts +17 -0
  324. package/dist/components/internal/workbench/components/renderers/WorkflowComponent/SimpleSchemaForm.d.ts +12 -0
  325. package/dist/components/internal/workbench/components/renderers/WorkflowComponent/WorkflowComponent.d.ts +5 -0
  326. package/dist/components/internal/workbench/components/renderers/WorkflowComponent/index.d.ts +9 -0
  327. package/dist/components/internal/workbench/components/renderers/WorkflowComponent/renderers/ProposalRendererFactory.d.ts +15 -0
  328. package/dist/components/internal/workbench/components/renderers/WorkflowComponent/steps/ProposalStep.d.ts +21 -0
  329. package/dist/components/internal/workbench/components/renderers/WorkflowComponent/steps/ResultStep.d.ts +13 -0
  330. package/dist/components/internal/workbench/components/renderers/WorkflowComponent/steps/UploadStep.d.ts +15 -0
  331. package/dist/components/internal/workbench/components/renderers/WorkflowComponent/types.d.ts +185 -0
  332. package/dist/components/internal/workbench/components/renderers/cell-editors/ColorEditor.d.ts +11 -0
  333. package/dist/components/internal/workbench/components/renderers/cell-editors/DateEditor.d.ts +11 -0
  334. package/dist/components/internal/workbench/components/renderers/cell-editors/FileEditor.d.ts +9 -0
  335. package/dist/components/internal/workbench/components/renderers/cell-editors/NumberEditor.d.ts +10 -0
  336. package/dist/components/internal/workbench/components/renderers/cell-editors/SelectEditor.d.ts +19 -0
  337. package/dist/components/internal/workbench/components/renderers/cell-editors/SwitchEditor.d.ts +13 -0
  338. package/dist/components/internal/workbench/components/renderers/cell-editors/TextEditor.d.ts +11 -0
  339. package/dist/components/internal/workbench/components/renderers/cell-editors/index.d.ts +7 -0
  340. package/dist/components/internal/workbench/components/renderers/cells/swCells.d.ts +49 -0
  341. package/dist/components/internal/workbench/components/renderers/data/useBoundRows.d.ts +9 -0
  342. package/dist/components/internal/workbench/components/renderers/echarts/shared/colors.d.ts +56 -0
  343. package/dist/components/internal/workbench/components/renderers/echarts/shared/index.d.ts +1 -0
  344. package/dist/components/internal/workbench/components/renderers/editableTableApiErrors.d.ts +3 -0
  345. package/dist/components/internal/workbench/components/renderers/editableTableDictionary.d.ts +13 -0
  346. package/dist/components/internal/workbench/components/renderers/editableTableFormatters.d.ts +11 -0
  347. package/dist/components/internal/workbench/components/renderers/editableTableWriteDatasourceId.d.ts +8 -0
  348. package/dist/components/internal/workbench/components/renderers/filterOptionCache.d.ts +33 -0
  349. package/dist/components/internal/workbench/components/renderers/filterSelectionMemory.d.ts +11 -0
  350. package/dist/components/internal/workbench/components/renderers/formSizing.d.ts +14 -0
  351. package/dist/components/internal/workbench/components/renderers/heroCardRows.d.ts +30 -0
  352. package/dist/components/internal/workbench/components/renderers/heroCardUtils.d.ts +164 -0
  353. package/dist/components/internal/workbench/components/renderers/index.d.ts +38 -0
  354. package/dist/components/internal/workbench/components/renderers/list/ListActionButton.d.ts +11 -0
  355. package/dist/components/internal/workbench/components/renderers/list/ListDataTable.d.ts +13 -0
  356. package/dist/components/internal/workbench/components/renderers/list/ListProgressBar.d.ts +12 -0
  357. package/dist/components/internal/workbench/components/renderers/list/ListTaskExecuteDialog.d.ts +17 -0
  358. package/dist/components/internal/workbench/components/renderers/list/listActionUtils.d.ts +18 -0
  359. package/dist/components/internal/workbench/components/renderers/list/listCellRender.d.ts +9 -0
  360. package/dist/components/internal/workbench/components/renderers/list/listConfig.d.ts +67 -0
  361. package/dist/components/internal/workbench/components/renderers/list/listCsvExport.d.ts +4 -0
  362. package/dist/components/internal/workbench/components/renderers/list/listFormatUtils.d.ts +13 -0
  363. package/dist/components/internal/workbench/components/renderers/list/listItemTemplates.d.ts +32 -0
  364. package/dist/components/internal/workbench/components/renderers/list/listViewToggleUtils.d.ts +5 -0
  365. package/dist/components/internal/workbench/components/renderers/list/useListActions.d.ts +38 -0
  366. package/dist/components/internal/workbench/components/renderers/list/useListDataSource.d.ts +58 -0
  367. package/dist/components/internal/workbench/components/renderers/list/useListSelectionEmit.d.ts +22 -0
  368. package/dist/components/internal/workbench/components/renderers/navTileUtils.d.ts +46 -0
  369. package/dist/components/internal/workbench/components/renderers/product/productCellRender.d.ts +25 -0
  370. package/dist/components/internal/workbench/components/renderers/publishHistoryHelpers.d.ts +41 -0
  371. package/dist/components/internal/workbench/components/renderers/publishPreviewEntryHelpers.d.ts +50 -0
  372. package/dist/components/internal/workbench/components/renderers/shared/TableEmptyStateWithChromeInsets.d.ts +12 -0
  373. package/dist/components/internal/workbench/components/renderers/shared/ViewToggleButton.d.ts +13 -0
  374. package/dist/components/internal/workbench/components/renderers/shared/useEscapedStickyPanel.d.ts +6 -0
  375. package/dist/components/internal/workbench/components/renderers/shared/useMobileChromeInsets.d.ts +18 -0
  376. package/dist/components/internal/workbench/components/renderers/shared/useStickyHeaderClone.d.ts +31 -0
  377. package/dist/components/internal/workbench/components/renderers/tabVariantStyles.d.ts +50 -0
  378. package/dist/components/internal/workbench/components/renderers/tableFilterPanelGridClass.d.ts +15 -0
  379. package/dist/components/internal/workbench/components/renderers/tabsItemMapping.d.ts +26 -0
  380. package/dist/components/internal/workbench/components/renderers/types.d.ts +682 -0
  381. package/dist/components/internal/workbench/components/shared/TitleManager.d.ts +8 -0
  382. package/dist/components/internal/workbench/components/skeleton/ComponentSkeleton.d.ts +9 -0
  383. package/dist/components/internal/workbench/components/skeleton/HeroCardSkeleton.d.ts +11 -0
  384. package/dist/components/internal/workbench/components/skeleton/TileGridSkeleton.d.ts +11 -0
  385. package/dist/components/internal/workbench/components/skeleton/WorkbenchSkeletonTokens.d.ts +1 -0
  386. package/dist/components/internal/workbench/components/skeleton/index.d.ts +4 -0
  387. package/dist/components/internal/workbench/components/ui/ActionFormDialog.d.ts +19 -0
  388. package/dist/components/internal/workbench/components/ui/ConfirmDialog.d.ts +17 -0
  389. package/dist/components/internal/workbench/components/ui/FormFieldRenderer.d.ts +51 -0
  390. package/dist/components/internal/workbench/components/ui/IconSelector.d.ts +10 -0
  391. package/dist/components/internal/workbench/components/ui/RecordDetailDialog.d.ts +15 -0
  392. package/dist/components/internal/workbench/components/ui/StructuredValueField.d.ts +16 -0
  393. package/dist/components/internal/workbench/components/ui/date-picker.d.ts +7 -0
  394. package/dist/components/internal/workbench/components/ui/date-range-picker.d.ts +11 -0
  395. package/dist/components/internal/workbench/components/ui/dialog-safe-select.d.ts +13 -0
  396. package/dist/components/internal/workbench/components/ui/dialog-tag-input.d.ts +18 -0
  397. package/dist/components/internal/workbench/components/ui/dialog.d.ts +22 -0
  398. package/dist/components/internal/workbench/components/ui/dropdown-menu.d.ts +27 -0
  399. package/dist/components/internal/workbench/components/ui/pagination.d.ts +28 -0
  400. package/dist/components/internal/workbench/components/ui/select.d.ts +13 -0
  401. package/dist/components/internal/workbench/components/ui/sidebar-rail.d.ts +9 -0
  402. package/dist/components/internal/workbench/components/ui/sidebar.d.ts +65 -0
  403. package/dist/components/internal/workbench/components/ui/table.d.ts +10 -0
  404. package/dist/components/internal/workbench/components/ui/tag-input.d.ts +23 -0
  405. package/dist/components/internal/workbench/config/communicationIcons.d.ts +23 -0
  406. package/dist/components/internal/workbench/config/componentTriggers.d.ts +70 -0
  407. package/dist/components/internal/workbench/constants/tableActionButtonStyle.d.ts +15 -0
  408. package/dist/components/internal/workbench/contexts/PageFullscreenContext.d.ts +4 -0
  409. package/dist/components/internal/workbench/contexts/ParameterContext.d.ts +18 -0
  410. package/dist/components/internal/workbench/contexts/TabActivityContext.d.ts +2 -0
  411. package/dist/components/internal/workbench/contexts/ViewportContext.d.ts +19 -0
  412. package/dist/components/internal/workbench/contexts/WorkbenchConfigLocaleContext.d.ts +23 -0
  413. package/dist/components/internal/workbench/contexts/WorkbenchGlobalSpaceContext.d.ts +10 -0
  414. package/dist/components/internal/workbench/contexts/WorkbenchThemeContext.d.ts +23 -0
  415. package/dist/components/internal/workbench/hooks/index.d.ts +6 -0
  416. package/dist/components/internal/workbench/hooks/useComponentCommunication.d.ts +27 -0
  417. package/dist/components/internal/workbench/hooks/useConditionMapper.d.ts +17 -0
  418. package/dist/components/internal/workbench/hooks/useCurrentUser.d.ts +10 -0
  419. package/dist/components/internal/workbench/hooks/useDatabaseDataSource.d.ts +8 -0
  420. package/dist/components/internal/workbench/hooks/useDatasourceVersionBindings.d.ts +24 -0
  421. package/dist/components/internal/workbench/hooks/useEnhancedDataSource.d.ts +40 -0
  422. package/dist/components/internal/workbench/hooks/useMobileViewport.d.ts +18 -0
  423. package/dist/components/internal/workbench/hooks/usePageAutoRefresh.d.ts +9 -0
  424. package/dist/components/internal/workbench/hooks/useParameterHandler.d.ts +27 -0
  425. package/dist/components/internal/workbench/hooks/useReleaseNotesPrompt.d.ts +38 -0
  426. package/dist/components/internal/workbench/hooks/useSpaceSwitchHandler.d.ts +7 -0
  427. package/dist/components/internal/workbench/hooks/useTaskInputDataSourceCache.d.ts +24 -0
  428. package/dist/components/internal/workbench/hooks/useVisibleWhenContext.d.ts +3 -0
  429. package/dist/components/internal/workbench/hooks/useWaitForParameters.d.ts +9 -0
  430. package/dist/components/internal/workbench/hooks/useWorkbenchAppAccess.d.ts +16 -0
  431. package/dist/components/internal/workbench/hooks/useWorkbenchHeaderNavApps.d.ts +7 -0
  432. package/dist/components/internal/workbench/hooks/useWorkbenchPreview.d.ts +24 -0
  433. package/dist/components/internal/workbench/lib/api/apiClient.d.ts +22 -0
  434. package/dist/components/internal/workbench/lib/api/baseApiClient.d.ts +21 -0
  435. package/dist/components/internal/workbench/lib/api/hostAdapterBridge.d.ts +21 -0
  436. package/dist/components/internal/workbench/lib/api.d.ts +1 -0
  437. package/dist/components/internal/workbench/lib/auth/permissionManager.d.ts +67 -0
  438. package/dist/components/internal/workbench/lib/config/deployment.d.ts +33 -0
  439. package/dist/components/internal/workbench/lib/config.d.ts +45 -0
  440. package/dist/components/internal/workbench/lib/hooks/use-mobile.d.ts +1 -0
  441. package/dist/components/internal/workbench/lib/hooks/useOperator.d.ts +11 -0
  442. package/dist/components/internal/workbench/lib/services/agentService.d.ts +77 -0
  443. package/dist/components/internal/workbench/lib/services/applicationService.d.ts +111 -0
  444. package/dist/components/internal/workbench/lib/theme/themeUtils.d.ts +13 -0
  445. package/dist/components/internal/workbench/lib/theme/useWorkbenchTheme.d.ts +1 -0
  446. package/dist/components/internal/workbench/lib/types/api.d.ts +113 -0
  447. package/dist/components/internal/workbench/lib/utils/avatar.d.ts +7 -0
  448. package/dist/components/internal/workbench/lib/utils/cn.d.ts +3 -0
  449. package/dist/components/internal/workbench/lib/utils/color.d.ts +1 -0
  450. package/dist/components/internal/workbench/lib/utils/debounce.d.ts +1 -0
  451. package/dist/components/internal/workbench/lib/utils/formatting.d.ts +4 -0
  452. package/dist/components/internal/workbench/lib/utils/icon.d.ts +1 -0
  453. package/dist/components/internal/workbench/lib/utils.d.ts +7 -0
  454. package/dist/components/internal/workbench/locales/i18n.d.ts +10 -0
  455. package/dist/components/internal/workbench/locales/routeNamespaces.d.ts +4 -0
  456. package/dist/components/internal/workbench/mobile/components/BottomTabNavigation.d.ts +11 -0
  457. package/dist/components/internal/workbench/mobile/components/ComponentAdapter.d.ts +9 -0
  458. package/dist/components/internal/workbench/mobile/components/MobileFloatingBackButton.d.ts +23 -0
  459. package/dist/components/internal/workbench/mobile/components/adaptive/MobileCardView.d.ts +6 -0
  460. package/dist/components/internal/workbench/mobile/components/adaptive/MobileChartView.d.ts +9 -0
  461. package/dist/components/internal/workbench/mobile/components/adaptive/MobileDateRangeFilterField.d.ts +16 -0
  462. package/dist/components/internal/workbench/mobile/components/adaptive/MobileEChartsView.d.ts +10 -0
  463. package/dist/components/internal/workbench/mobile/components/adaptive/MobileFormView.d.ts +6 -0
  464. package/dist/components/internal/workbench/mobile/components/adaptive/MobileListView.d.ts +6 -0
  465. package/dist/components/internal/workbench/mobile/components/adaptive/MobileStatCard.d.ts +13 -0
  466. package/dist/components/internal/workbench/mobile/components/adaptive/MobileTableView.d.ts +9 -0
  467. package/dist/components/internal/workbench/mobile/components/adaptive/MobileTabsView.d.ts +6 -0
  468. package/dist/components/internal/workbench/mobile/components/adaptive/index.d.ts +4 -0
  469. package/dist/components/internal/workbench/mobile/components/adaptive/mobileFilterFieldStyles.d.ts +19 -0
  470. package/dist/components/internal/workbench/mobile/hooks/useMobileNavigationCanGoBack.d.ts +1 -0
  471. package/dist/components/internal/workbench/mobile/hooks/useMobileTabTransitionDirection.d.ts +1 -0
  472. package/dist/components/internal/workbench/mobile/index.d.ts +3 -0
  473. package/dist/components/internal/workbench/mobile/utils/fetchUserCurrentSpaceId.d.ts +15 -0
  474. package/dist/components/internal/workbench/mobile/utils/getMobileViewportState.d.ts +25 -0
  475. package/dist/components/internal/workbench/mobile/utils/mobileBottomNav.d.ts +13 -0
  476. package/dist/components/internal/workbench/mobile/utils/mobileBottomNavInset.d.ts +4 -0
  477. package/dist/components/internal/workbench/mobile/utils/mobileComponentProps.d.ts +44 -0
  478. package/dist/components/internal/workbench/mobile/utils/mobileFormDisplayUtils.d.ts +4 -0
  479. package/dist/components/internal/workbench/mobile/utils/mobileNavigationStore.d.ts +35 -0
  480. package/dist/components/internal/workbench/mobile/utils/mobileToolbarNav.d.ts +13 -0
  481. package/dist/components/internal/workbench/mobile/utils/mobileUA.d.ts +1 -0
  482. package/dist/components/internal/workbench/mobile/utils/mobileWorkbenchSpaceSync.d.ts +60 -0
  483. package/dist/components/internal/workbench/mobile/utils/wecomDetector.d.ts +9 -0
  484. package/dist/components/internal/workbench/mobile/utils/workbenchSpaceSyncGate.d.ts +7 -0
  485. package/dist/components/internal/workbench/mocks/index.d.ts +13 -0
  486. package/dist/components/internal/workbench/mocks/templateRegistry.d.ts +16 -0
  487. package/dist/components/internal/workbench/mocks/types.d.ts +1 -0
  488. package/dist/components/internal/workbench/styles/grid24.css +359 -0
  489. package/dist/components/internal/workbench/styles/layoutSystem.css +773 -0
  490. package/dist/components/internal/workbench/themes/classic.d.ts +7 -0
  491. package/dist/components/internal/workbench/themes/index.d.ts +15 -0
  492. package/dist/components/internal/workbench/themes/inkOnyx.d.ts +3 -0
  493. package/dist/components/internal/workbench/themes/types.d.ts +36 -0
  494. package/dist/components/internal/workbench/types/application.d.ts +37 -0
  495. package/dist/components/internal/workbench/types/communication.d.ts +94 -0
  496. package/dist/components/internal/workbench/types/components.d.ts +346 -0
  497. package/dist/components/internal/workbench/types/conditionMapperTypes.d.ts +60 -0
  498. package/dist/components/internal/workbench/types/databaseDataSource.d.ts +120 -0
  499. package/dist/components/internal/workbench/types/datasource.d.ts +117 -0
  500. package/dist/components/internal/workbench/types/editors.d.ts +91 -0
  501. package/dist/components/internal/workbench/types/index.d.ts +7 -0
  502. package/dist/components/internal/workbench/types/parameters.d.ts +59 -0
  503. package/dist/components/internal/workbench/types/productReport.d.ts +272 -0
  504. package/dist/components/internal/workbench/types/renderers.d.ts +645 -0
  505. package/dist/components/internal/workbench/types.d.ts +649 -0
  506. package/dist/components/internal/workbench/utils/actionFormValidation.d.ts +34 -0
  507. package/dist/components/internal/workbench/utils/autoIdUtils.d.ts +2 -0
  508. package/dist/components/internal/workbench/utils/chartGradientStops.d.ts +14 -0
  509. package/dist/components/internal/workbench/utils/chinaProvinceMap.d.ts +8 -0
  510. package/dist/components/internal/workbench/utils/colors.d.ts +84 -0
  511. package/dist/components/internal/workbench/utils/componentUtils.d.ts +4 -0
  512. package/dist/components/internal/workbench/utils/conditionMapperUtils.d.ts +59 -0
  513. package/dist/components/internal/workbench/utils/cssParser.d.ts +7 -0
  514. package/dist/components/internal/workbench/utils/currencySymbol.d.ts +10 -0
  515. package/dist/components/internal/workbench/utils/dataConfigUtils.d.ts +80 -0
  516. package/dist/components/internal/workbench/utils/databaseDatasourceColumnValue.d.ts +8 -0
  517. package/dist/components/internal/workbench/utils/databaseDatasourceParams.d.ts +44 -0
  518. package/dist/components/internal/workbench/utils/datasetOperationUtils.d.ts +48 -0
  519. package/dist/components/internal/workbench/utils/datasourceVersion.d.ts +61 -0
  520. package/dist/components/internal/workbench/utils/debugUtils.d.ts +34 -0
  521. package/dist/components/internal/workbench/utils/errorFilter.d.ts +1 -0
  522. package/dist/components/internal/workbench/utils/errorHandler.d.ts +10 -0
  523. package/dist/components/internal/workbench/utils/expressionUtils.d.ts +13 -0
  524. package/dist/components/internal/workbench/utils/extensionErrorHandler.d.ts +4 -0
  525. package/dist/components/internal/workbench/utils/filterPanelDateRangeUtils.d.ts +34 -0
  526. package/dist/components/internal/workbench/utils/filterPanelMobileDateRangeUtils.d.ts +17 -0
  527. package/dist/components/internal/workbench/utils/formActionVisibility.d.ts +21 -0
  528. package/dist/components/internal/workbench/utils/grid24LayoutSystem.d.ts +108 -0
  529. package/dist/components/internal/workbench/utils/iconUtils.d.ts +22 -0
  530. package/dist/components/internal/workbench/utils/layoutContainerNesting.d.ts +5 -0
  531. package/dist/components/internal/workbench/utils/layoutSystem.d.ts +189 -0
  532. package/dist/components/internal/workbench/utils/navigationUtils.d.ts +70 -0
  533. package/dist/components/internal/workbench/utils/navigationVisibleWhenEditor.d.ts +37 -0
  534. package/dist/components/internal/workbench/utils/parameterUtils.d.ts +52 -0
  535. package/dist/components/internal/workbench/utils/redirectToAppHome.d.ts +4 -0
  536. package/dist/components/internal/workbench/utils/resolveComponentMockFields.d.ts +28 -0
  537. package/dist/components/internal/workbench/utils/resolveDatabaseDataSourceConfig.d.ts +9 -0
  538. package/dist/components/internal/workbench/utils/safeMessaging.d.ts +16 -0
  539. package/dist/components/internal/workbench/utils/statisticColors.d.ts +11 -0
  540. package/dist/components/internal/workbench/utils/statisticIcons.d.ts +5 -0
  541. package/dist/components/internal/workbench/utils/styleUtils.d.ts +35 -0
  542. package/dist/components/internal/workbench/utils/systemParameters.d.ts +8 -0
  543. package/dist/components/internal/workbench/utils/tabIsolation.d.ts +34 -0
  544. package/dist/components/internal/workbench/utils/tableActionButtonRender.d.ts +12 -0
  545. package/dist/components/internal/workbench/utils/taskUtils.d.ts +37 -0
  546. package/dist/components/internal/workbench/utils/treeFormUtils.d.ts +41 -0
  547. package/dist/components/internal/workbench/utils/visibleWhen.d.ts +31 -0
  548. package/dist/components/internal/workbench/utils/visibleWhenFormat.d.ts +32 -0
  549. package/dist/components/internal/workbench/utils/workbenchConfigLocale.d.ts +44 -0
  550. package/dist/components/internal/workbench/utils/workbenchDisplayLocale.d.ts +33 -0
  551. package/dist/components/internal/workbench/utils/workbenchPathUtils.d.ts +8 -0
  552. package/dist/components/internal/workbench/utils/workflowTransformsUtils.d.ts +3 -0
  553. package/dist/components/internal/workbench-templates/index.d.ts +3 -0
  554. package/dist/components/internal/workbench-templates/slugify.d.ts +1 -0
  555. package/dist/components/internal/workbench-templates/templateRegistry.d.ts +18 -0
  556. package/dist/components/internal/workbench-templates/types.d.ts +42 -0
  557. package/dist/components/layout/index.d.ts +6 -0
  558. package/dist/components/layout.js +43 -0
  559. package/dist/components/layout.js.map +1 -0
  560. package/dist/components/mobile/index.d.ts +4 -0
  561. package/dist/components/mobile.js +25 -0
  562. package/dist/components/mobile.js.map +1 -0
  563. package/dist/components/renderers/chart/index.d.ts +3 -0
  564. package/dist/components/renderers/chart.js +7 -0
  565. package/dist/components/renderers/chart.js.map +1 -0
  566. package/dist/components/renderers/container/index.d.ts +6 -0
  567. package/dist/components/renderers/container.js +10 -0
  568. package/dist/components/renderers/container.js.map +1 -0
  569. package/dist/components/renderers/custom-content/index.d.ts +1 -0
  570. package/dist/components/renderers/custom-content.js +6 -0
  571. package/dist/components/renderers/custom-content.js.map +1 -0
  572. package/dist/components/renderers/echarts/index.d.ts +1 -0
  573. package/dist/components/renderers/echarts.js +5 -0
  574. package/dist/components/renderers/echarts.js.map +1 -0
  575. package/dist/components/renderers/filter-panel/index.d.ts +1 -0
  576. package/dist/components/renderers/filter-panel.js +5 -0
  577. package/dist/components/renderers/filter-panel.js.map +1 -0
  578. package/dist/components/renderers/form/index.d.ts +1 -0
  579. package/dist/components/renderers/form.js +5 -0
  580. package/dist/components/renderers/form.js.map +1 -0
  581. package/dist/components/renderers/identity/index.d.ts +2 -0
  582. package/dist/components/renderers/identity.js +6 -0
  583. package/dist/components/renderers/identity.js.map +1 -0
  584. package/dist/components/renderers/index.d.ts +1 -0
  585. package/dist/components/renderers/list/index.d.ts +1 -0
  586. package/dist/components/renderers/list.js +5 -0
  587. package/dist/components/renderers/list.js.map +1 -0
  588. package/dist/components/renderers/publish/index.d.ts +2 -0
  589. package/dist/components/renderers/publish.js +6 -0
  590. package/dist/components/renderers/publish.js.map +1 -0
  591. package/dist/components/renderers/runtime-nH-w5aCf.js +206936 -0
  592. package/dist/components/renderers/runtime-nH-w5aCf.js.map +1 -0
  593. package/dist/components/renderers/service-desk/index.d.ts +1 -0
  594. package/dist/components/renderers/service-desk.js +5 -0
  595. package/dist/components/renderers/service-desk.js.map +1 -0
  596. package/dist/components/renderers/statistics/index.d.ts +3 -0
  597. package/dist/components/renderers/statistics.js +7 -0
  598. package/dist/components/renderers/statistics.js.map +1 -0
  599. package/dist/components/renderers/table/index.d.ts +4 -0
  600. package/dist/components/renderers/table.js +8 -0
  601. package/dist/components/renderers/table.js.map +1 -0
  602. package/dist/components/renderers/tabs/index.d.ts +2 -0
  603. package/dist/components/renderers/tabs.js +6 -0
  604. package/dist/components/renderers/tabs.js.map +1 -0
  605. package/dist/components/renderers/task-input/index.d.ts +1 -0
  606. package/dist/components/renderers/task-input.js +5 -0
  607. package/dist/components/renderers/task-input.js.map +1 -0
  608. package/dist/components/renderers/tree/index.d.ts +1 -0
  609. package/dist/components/renderers/tree.js +5 -0
  610. package/dist/components/renderers/tree.js.map +1 -0
  611. package/dist/components/renderers/workflow/index.d.ts +1 -0
  612. package/dist/components/renderers/workflow.js +5 -0
  613. package/dist/components/renderers/workflow.js.map +1 -0
  614. package/dist/components/renderers.js +41 -0
  615. package/dist/components/renderers.js.map +1 -0
  616. package/dist/components/runtime/GeniAppComponentProvider.d.ts +24 -0
  617. package/dist/components/runtime/GeniAppWorkbench.d.ts +20 -0
  618. package/dist/components/runtime/i18n.d.ts +5 -0
  619. package/dist/components/standalone.css +2 -0
  620. package/dist/components/standalone.d.ts +21 -0
  621. package/dist/components/standalone.js +358816 -0
  622. package/dist/components/styles.css +3 -0
  623. package/dist/components/testing/index.d.ts +2 -0
  624. package/dist/components/testing.js +5 -0
  625. package/dist/components/testing.js.map +1 -0
  626. package/dist/components/types/host-adapters.d.ts +35 -0
  627. package/dist/components.js +841 -0
  628. package/dist/components.js.map +1 -0
  629. package/dist/dashboard/src/ChartTooltip.d.ts +1 -1
  630. package/dist/hooks/access/AppAccessNotice.d.ts +1 -1
  631. package/dist/hooks/picker/managedAppPicker.d.ts +1 -1
  632. package/dist/hooks.js +28 -27
  633. package/dist/hooks.js.map +1 -1
  634. package/dist/i18n-DojjvBZv.js +19013 -0
  635. package/dist/i18n-DojjvBZv.js.map +1 -0
  636. package/dist/index.js +61 -59
  637. package/dist/index.js.map +1 -1
  638. package/dist/kit.js +57 -56
  639. package/dist/kit.js.map +1 -1
  640. package/dist/resolveApiRoot-Dzg1R1PS.js +68 -0
  641. package/dist/resolveApiRoot-Dzg1R1PS.js.map +1 -0
  642. package/dist/shell.d.ts +1 -1
  643. package/dist/storage/components/CopyStorageLinkButton.d.ts +1 -1
  644. package/dist/storage/components/StorageImage.d.ts +1 -1
  645. package/dist/storage/components/StorageVideo.d.ts +1 -1
  646. package/dist/style.css +1 -1
  647. package/dist/task-workspace/domain.d.ts +1 -1
  648. package/dist/ui/components/features/app/AppModal.d.ts +2 -2
  649. package/dist/ui/components/primitives/page-skeleton/index.d.ts +1 -1
  650. package/dist/ui/components/ui/alert.d.ts +3 -3
  651. package/dist/ui/components/ui/badge.d.ts +3 -3
  652. package/dist/ui/components/ui/button.d.ts +4 -4
  653. package/dist/ui/components/ui/chart.d.ts +1 -1
  654. package/dist/ui/components/ui/form.d.ts +3 -5
  655. package/dist/ui/components/ui/hint-notice.d.ts +3 -3
  656. package/dist/ui/components/ui/label.d.ts +1 -1
  657. package/dist/ui/components/ui/select.d.ts +1 -1
  658. package/dist/ui/components/ui/sheet.d.ts +3 -3
  659. package/dist/ui/components/ui/tabs.d.ts +1 -1
  660. package/dist/ui/components/ui/toast.d.ts +3 -3
  661. package/dist/ui/components/ui/toggle-group.d.ts +8 -8
  662. package/dist/ui/components/ui/toggle.d.ts +8 -8
  663. package/dist/ui/components/ui/underline-tabs.d.ts +6 -6
  664. package/dist/ui.js +23 -22
  665. package/dist/ui.js.map +1 -1
  666. package/dist/useUserDirectory-GU8imJ0T.js +2124 -0
  667. package/dist/useUserDirectory-GU8imJ0T.js.map +1 -0
  668. package/dist/vite.d.ts +1 -1
  669. package/package.json +168 -36
  670. package/dist/CrossAppRecordPicker-CQVmirWD.js.map +0 -1
  671. package/dist/useUserDirectory-CqkyCQoR.js +0 -2377
  672. package/dist/useUserDirectory-CqkyCQoR.js.map +0 -1
@@ -0,0 +1,108 @@
1
+ import { Grid24Preset, Grid24Component, Grid24LayoutConfig } from '../types/components';
2
+
3
+ export declare const MAX_GRID24_NESTING_DEPTH = 3;
4
+ export interface Grid24PresetConfig {
5
+ rows: Array<{
6
+ colSpan: number;
7
+ }>;
8
+ }
9
+ /** Preset id → i18n key under `workbench:grid24.presets.*` (underscores). */
10
+ export declare function grid24PresetToTranslationKey(preset: Exclude<Grid24Preset, 'custom'>): string;
11
+ /** English labels for `t(..., defaultValue)` before workbench namespace loads. */
12
+ export declare const GRID24_PRESET_LABEL_FALLBACK: Record<Exclude<Grid24Preset, 'custom'>, string>;
13
+ export declare const GRID24_PRESETS: Record<Exclude<Grid24Preset, 'custom'>, Grid24PresetConfig>;
14
+ export declare function generateComponentsFromPreset(preset: Exclude<Grid24Preset, 'custom'>, componentIds: string[]): Grid24Component[];
15
+ export declare function computeRowCount(components: Grid24Component[]): number;
16
+ export declare function groupComponentsByRow(components: Grid24Component[]): Grid24Component[][];
17
+ export declare function validateRowColSpan(components: Grid24Component[]): boolean;
18
+ export declare function detectOverlaps(components: Grid24Component[]): Grid24Component[][];
19
+ export declare function getComponentGridRow(comp: Grid24Component): string;
20
+ export declare function getComponentGridColumn(comp: Grid24Component): string;
21
+ /** Fill spacing / row metrics when absent (e.g. legacy API omitting fields). */
22
+ export declare function applyGrid24LayoutDefaults(config: Partial<Grid24LayoutConfig> & {
23
+ type: 'grid-24';
24
+ components?: Grid24Component[];
25
+ }): Grid24LayoutConfig;
26
+ export declare function createDefaultGrid24Layout(componentIds: string[]): Grid24LayoutConfig;
27
+ /**
28
+ * Sizing capability model (see docs: workbench-component-sizing-plan.md).
29
+ *
30
+ * Height semantics per component type:
31
+ * - 'content' height follows content; vertical resize is DISABLED in the
32
+ * canvas and the view renders its rows as auto-height.
33
+ * - 'fill' the component stretches/scrolls to the assigned rowSpan;
34
+ * the view renders the cell at the exact band height.
35
+ * Every type has one explicit height owner. New/unknown components fail safe
36
+ * to content mode, so the editor never offers a vertical resize that the
37
+ * published renderer cannot honor.
38
+ *
39
+ * w/h are the DEFAULT spans (kept identical to the pre-model values — zero
40
+ * migration); min/max are enforced by canvas handles, keyboard nudge and the
41
+ * copilot layout tools.
42
+ */
43
+ export type Grid24SizeMode = 'content' | 'fill';
44
+ export interface Grid24SizeCapability {
45
+ w: number;
46
+ h: number;
47
+ mode: Grid24SizeMode;
48
+ minW: number;
49
+ maxW: number;
50
+ minH?: number;
51
+ maxH?: number;
52
+ widthResizable: boolean;
53
+ heightResizable: boolean;
54
+ }
55
+ export declare const GRID24_SIZE_CAPABILITIES: Record<string, Grid24SizeCapability>;
56
+ export declare function getGrid24SizeCapability(type?: string): Grid24SizeCapability;
57
+ /** Backward-compatible projections (palette drops, merge synthesis, copilot). */
58
+ export declare const GRID24_DEFAULT_SIZES: Record<string, {
59
+ w: number;
60
+ h: number;
61
+ }>;
62
+ export declare function getGrid24DefaultSize(type?: string): {
63
+ w: number;
64
+ h: number;
65
+ };
66
+ /** Clamp a span patch to the type's capability (copilot layout tools, nudge).
67
+ content-mode heights are NOT adjustable: rowSpan writes are dropped (the
68
+ view sizes those rows to content and auto-fit maintains the nominal span). */
69
+ export declare function clampGrid24SpanToCapability(type: string | undefined, span: {
70
+ colSpan?: number;
71
+ rowSpan?: number;
72
+ }): {
73
+ colSpan?: number;
74
+ rowSpan?: number;
75
+ };
76
+ type Grid24Child = string | {
77
+ id: string;
78
+ type?: string;
79
+ };
80
+ /**
81
+ * Vertical gravity compaction in grid space (classic dashboard behavior —
82
+ * Retool/Appsmith/Gridstack default): every item floats UP until it touches
83
+ * another item or the top. Freed space (shrink/move-away) is reclaimed
84
+ * automatically instead of requiring manual pull-ups. Intentional vertical
85
+ * whitespace is expressed via component padding / future Spacer components,
86
+ * not empty rows.
87
+ */
88
+ export declare function compactGrid24Vertical(components: Grid24Component[]): Grid24Component[];
89
+ /**
90
+ * Push-down overlap resolution in grid space (mirror of the canvas compactor):
91
+ * identity when nothing overlaps; otherwise the activeId item keeps its cell
92
+ * (insert semantics — dropping between two components pushes the ones below
93
+ * DOWN, it never relocates the dropped item to the bottom) and later items in
94
+ * reading order yield downward.
95
+ */
96
+ export declare function resolveGrid24Push(components: Grid24Component[], activeId?: string): Grid24Component[];
97
+ /** Ensure every child id has a grid entry; append missing in new rows (full
98
+ width, type-default height when the child's type is provided). */
99
+ export declare function mergeGrid24WithChildIds(config: Grid24LayoutConfig, children: Grid24Child[]): Grid24LayoutConfig;
100
+ export declare function sortChildComponentsByGrid<T extends {
101
+ id: string;
102
+ }>(children: T[] | undefined, grid: Grid24Component[]): T[];
103
+ export declare function normalizeGrid24Components(components: Grid24Component[]): Grid24Component[];
104
+ /**
105
+ * Label shown on 24-grid editor tiles: localized type + " · " + title (or untitled).
106
+ */
107
+ export declare function getGrid24ComponentSlotLabel(component: any): string;
108
+ export {};
@@ -0,0 +1,22 @@
1
+ import { default as React } from 'react';
2
+
3
+ export declare const ICON_MAPPINGS: {
4
+ [key: string]: React.ComponentType<{
5
+ className?: string;
6
+ }>;
7
+ };
8
+ export declare const getLucideIcons: () => {
9
+ value: string;
10
+ label: string;
11
+ }[];
12
+ export declare const LUCIDE_ICONS: {
13
+ value: string;
14
+ label: string;
15
+ }[];
16
+ export declare const renderLucideIcon: (iconName: string, className?: string) => React.ReactNode;
17
+ export declare const getIconComponent: (icon: string, size?: number, className?: string) => React.ReactNode;
18
+ export declare const hasIcon: (iconName: string) => boolean;
19
+ export declare const getAvailableIcons: () => {
20
+ value: string;
21
+ label: string;
22
+ }[];
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Nesting depth of a layout container (Container | Card | Tabs) from the page root.
3
+ * Page is not counted. Top-level container depth = 0 (matches PageComponentRenderer default nestingLevel).
4
+ */
5
+ export declare function getLayoutContainerNestingLevel(components: unknown[] | undefined, targetId: string, ancestorDepth?: number): number | null;
@@ -0,0 +1,189 @@
1
+ export type LayoutPreset = 'all-vertical' | 'top1-bottom2' | 'top1-bottom2-equal' | 'left1-right2' | 'top1-bottom3' | 'top1-bottom2-left-large' | 'dashboard-layout' | 'left3-right1';
2
+ export type GridArea = 'top' | 'bottom' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'bottom-second' | 'left' | 'left-top' | 'left-center' | 'left-bottom' | 'right' | 'right-top' | 'right-bottom' | 'header' | 'middle-left' | 'middle-center' | 'middle-right' | 'middle';
3
+ export interface LayoutConfig {
4
+ type: 'default' | 'custom';
5
+ preset: LayoutPreset;
6
+ componentPositions?: Record<string, {
7
+ area: GridArea;
8
+ order: number;
9
+ span?: number;
10
+ }>;
11
+ }
12
+ export interface ComponentItem {
13
+ id: string;
14
+ type: string;
15
+ title?: string;
16
+ area: GridArea;
17
+ order: number;
18
+ }
19
+ export declare const getLayoutPresets: () => {
20
+ readonly 'all-vertical': {
21
+ readonly name: string;
22
+ readonly description: string;
23
+ readonly areas: GridArea[];
24
+ readonly gridTemplate: {
25
+ readonly columns: "1fr";
26
+ readonly rows: "auto";
27
+ readonly areas: "\"top\"";
28
+ };
29
+ };
30
+ readonly 'top1-bottom3': {
31
+ readonly name: string;
32
+ readonly description: string;
33
+ readonly areas: GridArea[];
34
+ readonly gridTemplate: {
35
+ readonly columns: "1fr 1fr 1fr";
36
+ readonly rows: "auto auto";
37
+ readonly areas: "\n \"top top top\"\n \"bottom-left bottom-center bottom-right\"\n ";
38
+ };
39
+ };
40
+ readonly 'top1-bottom2': {
41
+ readonly name: string;
42
+ readonly description: string;
43
+ readonly areas: GridArea[];
44
+ readonly gridTemplate: {
45
+ readonly columns: "1fr 1fr 1fr";
46
+ readonly rows: "auto auto";
47
+ readonly areas: "\n \"top top top\"\n \"bottom-left bottom-left bottom-right\"\n ";
48
+ };
49
+ };
50
+ readonly 'top1-bottom2-equal': {
51
+ readonly name: string;
52
+ readonly description: string;
53
+ readonly areas: GridArea[];
54
+ readonly gridTemplate: {
55
+ readonly columns: "1fr 1fr";
56
+ readonly rows: "auto auto";
57
+ readonly areas: "\n \"top top\"\n \"bottom-left bottom-right\"\n ";
58
+ };
59
+ };
60
+ readonly 'left1-right2': {
61
+ readonly name: string;
62
+ readonly description: string;
63
+ readonly areas: GridArea[];
64
+ readonly gridTemplate: {
65
+ readonly columns: "1fr 1fr 1fr";
66
+ readonly rows: "auto auto";
67
+ readonly areas: "\n \"left right-top right-top\"\n \"left right-bottom right-bottom\"\n ";
68
+ };
69
+ };
70
+ readonly 'top1-bottom2-left-large': {
71
+ readonly name: string;
72
+ readonly description: string;
73
+ readonly areas: GridArea[];
74
+ readonly gridTemplate: {
75
+ readonly columns: "1fr 2fr";
76
+ readonly rows: "auto auto";
77
+ readonly areas: "\n \"top top\"\n \"bottom-left bottom-right\"\n ";
78
+ };
79
+ };
80
+ readonly 'dashboard-layout': {
81
+ readonly name: string;
82
+ readonly description: string;
83
+ readonly areas: GridArea[];
84
+ readonly gridTemplate: {
85
+ readonly columns: "1fr 1fr 1fr";
86
+ readonly rows: "auto auto auto auto auto";
87
+ readonly areas: "\n \"header header header\"\n \"top top top\"\n \"middle-left middle-center middle-right\"\n \"bottom-left bottom-left bottom-right\"\n \"bottom-second bottom-second bottom-second\"\n ";
88
+ };
89
+ };
90
+ readonly 'left3-right1': {
91
+ readonly name: string;
92
+ readonly description: string;
93
+ readonly areas: GridArea[];
94
+ readonly gridTemplate: {
95
+ readonly columns: "3fr 1fr";
96
+ readonly rows: "auto 1fr auto";
97
+ readonly areas: "\n \"top top\"\n \"left right\"\n \"bottom bottom\"\n ";
98
+ };
99
+ };
100
+ };
101
+ export declare const LAYOUT_PRESETS: {
102
+ readonly 'all-vertical': {
103
+ readonly name: string;
104
+ readonly description: string;
105
+ readonly areas: GridArea[];
106
+ readonly gridTemplate: {
107
+ readonly columns: "1fr";
108
+ readonly rows: "auto";
109
+ readonly areas: "\"top\"";
110
+ };
111
+ };
112
+ readonly 'top1-bottom3': {
113
+ readonly name: string;
114
+ readonly description: string;
115
+ readonly areas: GridArea[];
116
+ readonly gridTemplate: {
117
+ readonly columns: "1fr 1fr 1fr";
118
+ readonly rows: "auto auto";
119
+ readonly areas: "\n \"top top top\"\n \"bottom-left bottom-center bottom-right\"\n ";
120
+ };
121
+ };
122
+ readonly 'top1-bottom2': {
123
+ readonly name: string;
124
+ readonly description: string;
125
+ readonly areas: GridArea[];
126
+ readonly gridTemplate: {
127
+ readonly columns: "1fr 1fr 1fr";
128
+ readonly rows: "auto auto";
129
+ readonly areas: "\n \"top top top\"\n \"bottom-left bottom-left bottom-right\"\n ";
130
+ };
131
+ };
132
+ readonly 'top1-bottom2-equal': {
133
+ readonly name: string;
134
+ readonly description: string;
135
+ readonly areas: GridArea[];
136
+ readonly gridTemplate: {
137
+ readonly columns: "1fr 1fr";
138
+ readonly rows: "auto auto";
139
+ readonly areas: "\n \"top top\"\n \"bottom-left bottom-right\"\n ";
140
+ };
141
+ };
142
+ readonly 'left1-right2': {
143
+ readonly name: string;
144
+ readonly description: string;
145
+ readonly areas: GridArea[];
146
+ readonly gridTemplate: {
147
+ readonly columns: "1fr 1fr 1fr";
148
+ readonly rows: "auto auto";
149
+ readonly areas: "\n \"left right-top right-top\"\n \"left right-bottom right-bottom\"\n ";
150
+ };
151
+ };
152
+ readonly 'top1-bottom2-left-large': {
153
+ readonly name: string;
154
+ readonly description: string;
155
+ readonly areas: GridArea[];
156
+ readonly gridTemplate: {
157
+ readonly columns: "1fr 2fr";
158
+ readonly rows: "auto auto";
159
+ readonly areas: "\n \"top top\"\n \"bottom-left bottom-right\"\n ";
160
+ };
161
+ };
162
+ readonly 'dashboard-layout': {
163
+ readonly name: string;
164
+ readonly description: string;
165
+ readonly areas: GridArea[];
166
+ readonly gridTemplate: {
167
+ readonly columns: "1fr 1fr 1fr";
168
+ readonly rows: "auto auto auto auto auto";
169
+ readonly areas: "\n \"header header header\"\n \"top top top\"\n \"middle-left middle-center middle-right\"\n \"bottom-left bottom-left bottom-right\"\n \"bottom-second bottom-second bottom-second\"\n ";
170
+ };
171
+ };
172
+ readonly 'left3-right1': {
173
+ readonly name: string;
174
+ readonly description: string;
175
+ readonly areas: GridArea[];
176
+ readonly gridTemplate: {
177
+ readonly columns: "3fr 1fr";
178
+ readonly rows: "auto 1fr auto";
179
+ readonly areas: "\n \"top top\"\n \"left right\"\n \"bottom bottom\"\n ";
180
+ };
181
+ };
182
+ };
183
+ export declare function normalizeLayoutPreset(preset?: string | null): LayoutPreset;
184
+ export declare function getVisibleAreas(preset: LayoutPreset): GridArea[];
185
+ export declare function getAreaDisplayName(area: GridArea): string;
186
+ export declare function getAreaDescription(area: GridArea): string;
187
+ export declare function distributeComponentsToAreas(components: any[], preset: LayoutPreset): ComponentItem[];
188
+ export declare function getLayoutContainerClass(preset: LayoutPreset): string;
189
+ export declare function getAreaClass(area: GridArea): string;
@@ -0,0 +1,70 @@
1
+ import { NavigationItem } from '../types';
2
+ import { VisibleWhenContext } from './visibleWhen';
3
+
4
+ /** NavigationItem.title may be a plain string or inline bilingual `{ zh, en }` — always display through this. */
5
+ export declare const navigationTitleText: (title: NavigationItem["title"] | undefined) => string;
6
+ export declare const getNavigationTargetPageId: (item: NavigationItem) => string | null;
7
+ export type NavigationDevice = 'desktop' | 'mobile';
8
+ export declare const isNavigationItemVisibleToMember: (item: NavigationItem, currentMemberId?: string | null, device?: NavigationDevice, visibleWhenContext?: VisibleWhenContext) => boolean;
9
+ export declare const stripNavigationSystemParams: (params: Record<string, unknown>) => Record<string, unknown>;
10
+ export declare const findNavigationItemsForPage: (navigationItems: NavigationItem[] | undefined | null, pageId: string) => NavigationItem[];
11
+ export declare const filterNavigationItemsForMember: (items: NavigationItem[], currentMemberId?: string | null, device?: NavigationDevice, visibleWhenContext?: VisibleWhenContext) => NavigationItem[];
12
+ /** Build URL params for programmatic page open (List/Table navigate, open-tab event). */
13
+ export declare const resolveNavigationOpenParams: (navigationItems: NavigationItem[] | undefined | null, targetPageId: string, actionParams?: Record<string, unknown>) => Record<string, unknown>;
14
+ export type NavigationRouteAccessResult = {
15
+ allowed: true;
16
+ matchedItem: NavigationItem | null;
17
+ targetPageId: string;
18
+ normalizedQueryString: string | null;
19
+ } | {
20
+ allowed: false;
21
+ matchedItem: NavigationItem | null;
22
+ targetPageId: string;
23
+ normalizedQueryString: string | null;
24
+ };
25
+ export declare const resolveNavigationRouteAccess: ({ items, routePageId, routeParams, currentMemberId, visibleWhenContext, }: {
26
+ items: NavigationItem[];
27
+ routePageId: string;
28
+ routeParams: Record<string, unknown>;
29
+ currentMemberId?: string | null;
30
+ visibleWhenContext?: VisibleWhenContext;
31
+ }) => NavigationRouteAccessResult;
32
+ export declare const calculateNavigationLevels: (items: NavigationItem[], parentKey?: string, level?: number) => NavigationItem[];
33
+ export declare const validateNavigationHierarchy: (items: NavigationItem[]) => {
34
+ isValid: boolean;
35
+ errors: string[];
36
+ };
37
+ export declare const findNavigationItem: (items: NavigationItem[], key: string) => NavigationItem | null;
38
+ export declare const findParentItem: (items: NavigationItem[], childKey: string) => NavigationItem | null;
39
+ export declare const addNavigationItem: (items: NavigationItem[], newItem: Omit<NavigationItem, "level" | "hasChildren">, parentKey?: string) => NavigationItem[];
40
+ export declare const removeNavigationItem: (items: NavigationItem[], keyToRemove: string) => NavigationItem[];
41
+ export declare const flattenNavigationItems: (items: NavigationItem[]) => NavigationItem[];
42
+ export declare const getUsedPageKeys: (items: any[]) => Set<string>;
43
+ export declare const getAvailablePages: (allPages: any[], navigationItems: any[]) => any[];
44
+ export declare const getConfiguredPageKeys: (allPageKeys: string[], navigationItems: any[]) => string[];
45
+ /** First matching nav item whose linked page or key equals {@param pageId} (DFS). */
46
+ export declare const findNavigationKeyForPage: (navigationItems: NavigationItem[] | undefined | null, pageId: string) => string | null;
47
+ /** Same encoding rules as TabManager route sync (omit communication-only trigger params). */
48
+ export declare const serializeWorkbenchUrlSearchParams: (params: Record<string, unknown>) => string;
49
+ export type DefaultLandingResolved = {
50
+ pageId: string;
51
+ /** Includes leading `?` when non-empty. */
52
+ queryString: string;
53
+ };
54
+ /** Resolves default landing URL from appConfig; omitting defaultOpenType uses page mode (backward compatible). */
55
+ export declare const resolveDefaultWorkbenchLanding: (appConfig: {
56
+ defaultOpenType?: string;
57
+ defaultPage?: string;
58
+ defaultNavigationKey?: string;
59
+ navigation?: {
60
+ items?: NavigationItem[];
61
+ };
62
+ } | undefined, pages: Record<string, unknown> | undefined, currentMemberId?: string | null, options?: {
63
+ fallback?: "default" | "navigation";
64
+ visibleWhenContext?: VisibleWhenContext;
65
+ }) => DefaultLandingResolved | null;
66
+ /** Leaf navigation rows for default-open dropdowns (`titlePath` shows hierarchy). */
67
+ export declare const flattenLeafNavigationOptions: (items: NavigationItem[], titlePath?: string[]) => {
68
+ key: string;
69
+ titlePath: string;
70
+ }[];
@@ -0,0 +1,37 @@
1
+ import { VisibleWhen } from './visibleWhen';
2
+
3
+ /**
4
+ * Editor-facing helpers for the navigation item visibleWhen condition.
5
+ *
6
+ * The sidebar editor offers a role multi-select only, serialized as
7
+ * `{ rules: [{ source: 'role', field: 'app', op: 'in', value: [...codes] }] }`.
8
+ * Existing conditions of any other shape (compound or/notIn rules, other fields/sources)
9
+ * cannot map onto that whitelist: they are shown as a read-only "custom rule in place"
10
+ * note and must round-trip untouched unless the user actually toggles a role — so
11
+ * detection below is intentionally strict about which shapes count as simple.
12
+ */
13
+ export type NavigationVisibleWhenEditState = {
14
+ kind: 'none';
15
+ } | {
16
+ kind: 'simple';
17
+ roleCodes: string[];
18
+ } | {
19
+ kind: 'custom';
20
+ };
21
+ /** Classify an existing condition: absent, exactly the simple role-gate shape, or custom. */
22
+ export declare const describeNavigationVisibleWhen: (cond: VisibleWhen | undefined | null) => NavigationVisibleWhenEditState;
23
+ /** Whether the condition is a non-simple shape the role picker cannot represent. */
24
+ export declare const hasCustomNavigationVisibleWhen: (cond: VisibleWhen | undefined | null) => boolean;
25
+ /** Serialize the role selection: empty selection means unrestricted (field removed). */
26
+ export declare const buildSimpleRoleVisibleWhen: (roleCodes: string[]) => VisibleWhen | undefined;
27
+ /**
28
+ * Resolve the visibleWhen to persist from the edit form; undefined removes the field.
29
+ * An untouched custom condition (`visibleWhenOriginal` present, no role toggled) is
30
+ * preserved verbatim; once any role checkbox is toggled the item follows the simple
31
+ * role-selection semantics (empty selection removes the field).
32
+ */
33
+ export declare const resolveEditFormVisibleWhen: (form: {
34
+ visibleRoleCodes?: string[];
35
+ visibleWhenOriginal?: VisibleWhen;
36
+ visibleRolesTouched?: boolean;
37
+ }) => VisibleWhen | undefined;
@@ -0,0 +1,52 @@
1
+ export interface CustomField {
2
+ fieldName: string;
3
+ displayName: string;
4
+ }
5
+ export interface ComponentEmitConfig {
6
+ componentId: string;
7
+ componentType: string;
8
+ triggers: Record<string, {
9
+ enabled: boolean;
10
+ }>;
11
+ customEmitFields?: Record<string, CustomField[]>;
12
+ }
13
+ export declare function collectAvailableParameters(pageComponents: any[]): Array<{
14
+ value: string;
15
+ label: string;
16
+ source: string;
17
+ category: 'builtin' | 'custom';
18
+ }>;
19
+ export declare function isCustomFieldParameter(paramName: string): boolean;
20
+ export declare function extractFieldNameFromParameter(paramName: string): string | null;
21
+ export declare function inferParameterType(value: any): any;
22
+ export declare function parseParameters(params: Record<string, any>): Record<string, any>;
23
+ export declare function extractParametersFromFilters(parameterFilters: Array<{
24
+ parameterName?: string;
25
+ enabled?: boolean;
26
+ }>): string[];
27
+ export declare function extractParametersFromString(conditionString: string): string[];
28
+ export declare function mergeListenParameters(manualListenParameters: string[], autoListenParameters: string[]): {
29
+ finalListenParameters: string[];
30
+ manualOnly: string[];
31
+ autoOnly: string[];
32
+ };
33
+ export declare function collectFilterPanelParameters(pageComponents: any[]): Array<{
34
+ value: string;
35
+ label: string;
36
+ source: string;
37
+ type: string;
38
+ parent?: string;
39
+ }>;
40
+ export declare function extractFilterPanelDefaultValues(pageComponents: any[], filterPanelId?: string): Record<string, any>;
41
+ export declare const ParameterUtils: {
42
+ inferParameterType: typeof inferParameterType;
43
+ parseParameters: typeof parseParameters;
44
+ collectAvailableParameters: typeof collectAvailableParameters;
45
+ isCustomFieldParameter: typeof isCustomFieldParameter;
46
+ extractFieldNameFromParameter: typeof extractFieldNameFromParameter;
47
+ extractParametersFromFilters: typeof extractParametersFromFilters;
48
+ extractParametersFromString: typeof extractParametersFromString;
49
+ mergeListenParameters: typeof mergeListenParameters;
50
+ collectFilterPanelParameters: typeof collectFilterPanelParameters;
51
+ extractFilterPanelDefaultValues: typeof extractFilterPanelDefaultValues;
52
+ };
@@ -0,0 +1,4 @@
1
+ export declare function getAppBaseUrl(): string;
2
+ export declare function getConsoleBaseUrl(): string;
3
+ export declare function redirectToAppHome(): void;
4
+ export declare function redirectToApplications(): void;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Resolves component mock config (root-level and props) so renderers still see mock/chart fields
3
+ * when only props change (e.g. chartColorScheme).
4
+ *
5
+ * See also:
6
+ * - ~/memory/knowledge/workbench-useMockData.md
7
+ * - apps/workbench/docs/useMockData-conventions.md
8
+ */
9
+ export interface ComponentMockSource {
10
+ useMockData?: boolean;
11
+ mockData?: unknown;
12
+ props?: Record<string, unknown>;
13
+ }
14
+ export declare function resolveUseMockData(component: ComponentMockSource | null | undefined): boolean;
15
+ /** Normalize before save: set root useMockData true when rows exist unless explicitly disabled */
16
+ export declare function normalizeComponentMockFlags<T extends ComponentMockSource>(component: T): T;
17
+ /**
18
+ * Merge parent pageConfig into local state: parent wins; keep local mock/chart props parent lacks.
19
+ */
20
+ export declare function mergePageComponentConfig<T extends ComponentMockSource & {
21
+ id?: string;
22
+ props?: Record<string, unknown>;
23
+ }>(parent: T, local: T): T;
24
+ /** Normalize mockData / props.mockData to an array of row objects for charts */
25
+ export declare function resolveMockDataRows(component: ComponentMockSource | null | undefined): Record<string, unknown>[];
26
+ /** Single-row mock object for Form display mode and HeroCard */
27
+ export declare function resolveComponentMockRecord(component: ComponentMockSource | null | undefined): Record<string, unknown>;
28
+ export declare function normalizeMockDataRows(raw: unknown): Record<string, unknown>[];
@@ -0,0 +1,9 @@
1
+ import { DatabaseDataSourceConfig } from '../types/databaseDataSource';
2
+
3
+ type ComponentLike = {
4
+ databaseDataSourceConfig?: unknown;
5
+ props?: Record<string, unknown>;
6
+ };
7
+ /** Resolve database datasource config from component root or props (legacy configs may store it under props) */
8
+ export declare function resolveDatabaseDataSourceConfig(component: ComponentLike | null | undefined): DatabaseDataSourceConfig | null;
9
+ export {};
@@ -0,0 +1,16 @@
1
+ export declare const safePostMessage: (target: Window | Worker | MessagePort | BroadcastChannel, message: any, targetOrigin?: string) => boolean;
2
+ export declare const safeAddEventListener: (target: EventTarget, type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => boolean;
3
+ export declare const safeRemoveEventListener: (target: EventTarget, type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions) => boolean;
4
+ export declare const safeDispatchEvent: (target: EventTarget, event: Event) => boolean;
5
+ export declare const safeLocalStorage: {
6
+ getItem: (key: string) => string | null;
7
+ setItem: (key: string, value: string) => boolean;
8
+ removeItem: (key: string) => boolean;
9
+ };
10
+ export declare const safeFetch: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response | null>;
11
+ export declare const safeDOMOperation: <T>(operation: () => T, fallback?: T) => T | undefined;
12
+ export declare const checkExtensionConflicts: () => {
13
+ hasConflicts: boolean;
14
+ conflicts: string[];
15
+ recommendations: string[];
16
+ };
@@ -0,0 +1,11 @@
1
+ import { CSSProperties } from 'react';
2
+
3
+ export interface ResolveStatisticColorOptions {
4
+ mode: 'value' | 'icon';
5
+ fallbackLegacy?: string;
6
+ }
7
+ export declare function resolveStatisticColor(value: string | undefined, opts: ResolveStatisticColorOptions): {
8
+ className?: string;
9
+ style?: CSSProperties;
10
+ };
11
+ export declare const STATISTIC_SEMANTIC_COLOR_KEYS: string[];
@@ -0,0 +1,5 @@
1
+ export interface StatisticIconOption {
2
+ value: string;
3
+ label: string;
4
+ }
5
+ export declare function getStatisticIconOptions(): StatisticIconOption[];
@@ -0,0 +1,35 @@
1
+ import { CustomStylesConfig } from '../types/components';
2
+
3
+ export declare const validateCustomCssSafety: (cssCode: string) => {
4
+ isSafe: boolean;
5
+ error?: string;
6
+ };
7
+ export declare const styleObjectToCss: (styleObj: React.CSSProperties) => string;
8
+ export declare const getResponsiveStyles: (responsiveStyles?: {
9
+ [breakpoint: string]: React.CSSProperties;
10
+ }) => React.CSSProperties;
11
+ export declare const injectCustomCSS: (uniqueId: string, styles: CustomStylesConfig) => void;
12
+ export declare const removeCustomCSS: (uniqueId: string) => void;
13
+ export declare const applyCustomStyles: (componentId: string, customStyles?: CustomStylesConfig, baseClassName?: string) => {
14
+ className: string;
15
+ style: React.CSSProperties;
16
+ };
17
+ export declare const mergeStyleConfigs: (base?: CustomStylesConfig, override?: CustomStylesConfig) => CustomStylesConfig;
18
+ export declare const validateStyleConfig: (styles: CustomStylesConfig) => {
19
+ isValid: boolean;
20
+ errors: string[];
21
+ };
22
+ export declare const getStylePresets: () => {
23
+ [key: string]: {
24
+ name: string;
25
+ styles: CustomStylesConfig;
26
+ };
27
+ };
28
+ export declare const STYLE_PRESETS: {
29
+ [key: string]: {
30
+ name: string;
31
+ styles: CustomStylesConfig;
32
+ };
33
+ };
34
+ /** Resolves spacing prop (number or CSS length) to a CSS length string. */
35
+ export declare function resolveGapCSSValue(gap: string | number | undefined | null): string | undefined;
@@ -0,0 +1,8 @@
1
+ export type SystemParameterType = 'userId' | 'userName' | 'email' | 'phone';
2
+ export declare const SYSTEM_PARAMETERS: Array<{
3
+ value: SystemParameterType;
4
+ label: string;
5
+ }>;
6
+ export declare function getSystemParameterValue(paramType: SystemParameterType, userContext?: {
7
+ user: unknown;
8
+ } | null): string;
@@ -0,0 +1,34 @@
1
+ export declare class TabIsolationManager {
2
+ private static instance;
3
+ private tabId;
4
+ private storagePrefix;
5
+ private eventListeners;
6
+ private constructor();
7
+ static getInstance(): TabIsolationManager;
8
+ private generateTabId;
9
+ getTabId(): string;
10
+ getStorageKey(key: string): string;
11
+ setItem(key: string, value: string): void;
12
+ getItem(key: string): string | null;
13
+ removeItem(key: string): void;
14
+ clearTabStorage(): void;
15
+ dispatchTabEvent(eventType: string, detail?: any): void;
16
+ addTabEventListener(eventType: string, listener: EventListener): void;
17
+ removeTabEventListener(eventType: string, listener: EventListener): void;
18
+ sendCrossTabMessage(type: string, data: any): void;
19
+ onCrossTabMessage(callback: (message: {
20
+ type: string;
21
+ data: any;
22
+ fromTabId: string;
23
+ timestamp: number;
24
+ }) => void): void;
25
+ private handleStorageChange;
26
+ private clearWorkbenchRelatedStorage;
27
+ private cleanup;
28
+ getActiveTabIds(): string[];
29
+ cleanupClosedTabs(): void;
30
+ private cleanupTabData;
31
+ updateLastActive(): void;
32
+ startHeartbeat(): void;
33
+ }
34
+ export declare const tabIsolation: TabIsolationManager;