@middag-io/react 0.2.1 → 0.3.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 (265) hide show
  1. package/dist-lib/app/ContractPage.d.ts +17 -0
  2. package/dist-lib/app/ContractPage.d.ts.map +1 -0
  3. package/dist-lib/app/bootstrap.d.ts +6 -0
  4. package/dist-lib/app/bootstrap.d.ts.map +1 -0
  5. package/dist-lib/app/providers/auth.d.ts +41 -0
  6. package/dist-lib/app/providers/auth.d.ts.map +1 -0
  7. package/dist-lib/app/providers/flash.d.ts +14 -0
  8. package/dist-lib/app/providers/flash.d.ts.map +1 -0
  9. package/dist-lib/app/providers/i18n.d.ts +40 -0
  10. package/dist-lib/app/providers/i18n.d.ts.map +1 -0
  11. package/dist-lib/app/providers/progress.d.ts +13 -0
  12. package/dist-lib/app/providers/progress.d.ts.map +1 -0
  13. package/dist-lib/app/providers/scope.d.ts +32 -0
  14. package/dist-lib/app/providers/scope.d.ts.map +1 -0
  15. package/dist-lib/app/register-defaults.d.ts +6 -0
  16. package/dist-lib/app/register-defaults.d.ts.map +1 -0
  17. package/dist-lib/app/registries.d.ts +33 -0
  18. package/dist-lib/app/registries.d.ts.map +1 -0
  19. package/dist-lib/assets/lottie/index.d.ts +36 -0
  20. package/dist-lib/assets/lottie/index.d.ts.map +1 -0
  21. package/dist-lib/base/blocks/ActionGridBlock.d.ts +14 -0
  22. package/dist-lib/base/blocks/ActionGridBlock.d.ts.map +1 -0
  23. package/dist-lib/base/blocks/ActivityTimelineBlock.d.ts +13 -0
  24. package/dist-lib/base/blocks/ActivityTimelineBlock.d.ts.map +1 -0
  25. package/dist-lib/base/blocks/CardGridBlock.d.ts +18 -0
  26. package/dist-lib/base/blocks/CardGridBlock.d.ts.map +1 -0
  27. package/dist-lib/base/blocks/ConditionTreeBlock.d.ts +13 -0
  28. package/dist-lib/base/blocks/ConditionTreeBlock.d.ts.map +1 -0
  29. package/dist-lib/base/blocks/DenseTableBlock.d.ts +13 -0
  30. package/dist-lib/base/blocks/DenseTableBlock.d.ts.map +1 -0
  31. package/dist-lib/base/blocks/DetailPanelBlock.d.ts +13 -0
  32. package/dist-lib/base/blocks/DetailPanelBlock.d.ts.map +1 -0
  33. package/dist-lib/base/blocks/EmptyStateBlock.d.ts +12 -0
  34. package/dist-lib/base/blocks/EmptyStateBlock.d.ts.map +1 -0
  35. package/dist-lib/base/blocks/FlowEditorBlock.d.ts +15 -0
  36. package/dist-lib/base/blocks/FlowEditorBlock.d.ts.map +1 -0
  37. package/dist-lib/base/blocks/FormBuilderBlock.d.ts +17 -0
  38. package/dist-lib/base/blocks/FormBuilderBlock.d.ts.map +1 -0
  39. package/dist-lib/base/blocks/FormPanelBlock.d.ts +13 -0
  40. package/dist-lib/base/blocks/FormPanelBlock.d.ts.map +1 -0
  41. package/dist-lib/base/blocks/LinkListBlock.d.ts +12 -0
  42. package/dist-lib/base/blocks/LinkListBlock.d.ts.map +1 -0
  43. package/dist-lib/base/blocks/MarkdownPanelBlock.d.ts +13 -0
  44. package/dist-lib/base/blocks/MarkdownPanelBlock.d.ts.map +1 -0
  45. package/dist-lib/base/blocks/MetricCardBlock.d.ts +10 -0
  46. package/dist-lib/base/blocks/MetricCardBlock.d.ts.map +1 -0
  47. package/dist-lib/base/blocks/SentenceBuilderBlock.d.ts +15 -0
  48. package/dist-lib/base/blocks/SentenceBuilderBlock.d.ts.map +1 -0
  49. package/dist-lib/base/blocks/StatusStripBlock.d.ts +12 -0
  50. package/dist-lib/base/blocks/StatusStripBlock.d.ts.map +1 -0
  51. package/dist-lib/base/blocks/TabbedPanelBlock.d.ts +15 -0
  52. package/dist-lib/base/blocks/TabbedPanelBlock.d.ts.map +1 -0
  53. package/dist-lib/base/form/FormField.d.ts +38 -0
  54. package/dist-lib/base/form/FormField.d.ts.map +1 -0
  55. package/dist-lib/base/form/fields/CheckboxField.d.ts +19 -0
  56. package/dist-lib/base/form/fields/CheckboxField.d.ts.map +1 -0
  57. package/dist-lib/base/form/fields/EntityPickerField.d.ts +24 -0
  58. package/dist-lib/base/form/fields/EntityPickerField.d.ts.map +1 -0
  59. package/dist-lib/base/form/fields/MultiSelectField.d.ts +24 -0
  60. package/dist-lib/base/form/fields/MultiSelectField.d.ts.map +1 -0
  61. package/dist-lib/base/form/fields/NumberField.d.ts +21 -0
  62. package/dist-lib/base/form/fields/NumberField.d.ts.map +1 -0
  63. package/dist-lib/base/form/fields/PasswordField.d.ts +19 -0
  64. package/dist-lib/base/form/fields/PasswordField.d.ts.map +1 -0
  65. package/dist-lib/base/form/fields/RadioField.d.ts +23 -0
  66. package/dist-lib/base/form/fields/RadioField.d.ts.map +1 -0
  67. package/dist-lib/base/form/fields/SelectField.d.ts +24 -0
  68. package/dist-lib/base/form/fields/SelectField.d.ts.map +1 -0
  69. package/dist-lib/base/form/fields/StaticField.d.ts +12 -0
  70. package/dist-lib/base/form/fields/StaticField.d.ts.map +1 -0
  71. package/dist-lib/base/form/fields/SwitchField.d.ts +19 -0
  72. package/dist-lib/base/form/fields/SwitchField.d.ts.map +1 -0
  73. package/dist-lib/base/form/fields/TextField.d.ts +21 -0
  74. package/dist-lib/base/form/fields/TextField.d.ts.map +1 -0
  75. package/dist-lib/base/form/fields/TextareaField.d.ts +21 -0
  76. package/dist-lib/base/form/fields/TextareaField.d.ts.map +1 -0
  77. package/dist-lib/base/hooks/useIsDark.d.ts +12 -0
  78. package/dist-lib/base/hooks/useIsDark.d.ts.map +1 -0
  79. package/dist-lib/base/hooks/usePolling.d.ts +11 -0
  80. package/dist-lib/base/hooks/usePolling.d.ts.map +1 -0
  81. package/dist-lib/base/hooks/useToast.d.ts +17 -0
  82. package/dist-lib/base/hooks/useToast.d.ts.map +1 -0
  83. package/dist-lib/base/layout/DashboardLayout.d.ts +11 -0
  84. package/dist-lib/base/layout/DashboardLayout.d.ts.map +1 -0
  85. package/dist-lib/base/layout/MasterDetailLayout.d.ts +8 -0
  86. package/dist-lib/base/layout/MasterDetailLayout.d.ts.map +1 -0
  87. package/dist-lib/base/layout/SplitLayout.d.ts +8 -0
  88. package/dist-lib/base/layout/SplitLayout.d.ts.map +1 -0
  89. package/dist-lib/base/layout/StackLayout.d.ts +12 -0
  90. package/dist-lib/base/layout/StackLayout.d.ts.map +1 -0
  91. package/dist-lib/base/layout/WizardLayout.d.ts +12 -0
  92. package/dist-lib/base/layout/WizardLayout.d.ts.map +1 -0
  93. package/dist-lib/base/partials/ActionBar/index.d.ts +28 -0
  94. package/dist-lib/base/partials/ActionBar/index.d.ts.map +1 -0
  95. package/dist-lib/base/partials/ConfirmationDialog/index.d.ts +26 -0
  96. package/dist-lib/base/partials/ConfirmationDialog/index.d.ts.map +1 -0
  97. package/dist-lib/base/partials/DataTable/cell-renderers.d.ts +16 -0
  98. package/dist-lib/base/partials/DataTable/cell-renderers.d.ts.map +1 -0
  99. package/dist-lib/base/partials/DataTable/index.d.ts +12 -0
  100. package/dist-lib/base/partials/DataTable/index.d.ts.map +1 -0
  101. package/dist-lib/base/partials/DataTable/types.d.ts +129 -0
  102. package/dist-lib/base/partials/DataTable/types.d.ts.map +1 -0
  103. package/dist-lib/base/partials/DetailSection/index.d.ts +37 -0
  104. package/dist-lib/base/partials/DetailSection/index.d.ts.map +1 -0
  105. package/dist-lib/base/partials/EmptyPlaceholder/index.d.ts +29 -0
  106. package/dist-lib/base/partials/EmptyPlaceholder/index.d.ts.map +1 -0
  107. package/dist-lib/base/partials/FilterBar/index.d.ts +31 -0
  108. package/dist-lib/base/partials/FilterBar/index.d.ts.map +1 -0
  109. package/dist-lib/base/partials/FormSection/index.d.ts +19 -0
  110. package/dist-lib/base/partials/FormSection/index.d.ts.map +1 -0
  111. package/dist-lib/base/partials/LogViewer/JsonBlock.d.ts +8 -0
  112. package/dist-lib/base/partials/LogViewer/JsonBlock.d.ts.map +1 -0
  113. package/dist-lib/base/partials/LogViewer/LogEntry.d.ts +9 -0
  114. package/dist-lib/base/partials/LogViewer/LogEntry.d.ts.map +1 -0
  115. package/dist-lib/base/partials/LogViewer/LogViewerToolbar.d.ts +16 -0
  116. package/dist-lib/base/partials/LogViewer/LogViewerToolbar.d.ts.map +1 -0
  117. package/dist-lib/base/partials/LogViewer/index.d.ts +14 -0
  118. package/dist-lib/base/partials/LogViewer/index.d.ts.map +1 -0
  119. package/dist-lib/base/partials/LogViewer/types.d.ts +26 -0
  120. package/dist-lib/base/partials/LogViewer/types.d.ts.map +1 -0
  121. package/dist-lib/base/partials/MarkdownContent/index.d.ts +17 -0
  122. package/dist-lib/base/partials/MarkdownContent/index.d.ts.map +1 -0
  123. package/dist-lib/base/partials/StatRow/index.d.ts +12 -0
  124. package/dist-lib/base/partials/StatRow/index.d.ts.map +1 -0
  125. package/dist-lib/base/partials/StatusBar/index.d.ts +21 -0
  126. package/dist-lib/base/partials/StatusBar/index.d.ts.map +1 -0
  127. package/dist-lib/base/partials/StatusIndicator/index.d.ts +16 -0
  128. package/dist-lib/base/partials/StatusIndicator/index.d.ts.map +1 -0
  129. package/dist-lib/base/partials/StepIndicator/index.d.ts +15 -0
  130. package/dist-lib/base/partials/StepIndicator/index.d.ts.map +1 -0
  131. package/dist-lib/base/partials/TimelineList/index.d.ts +32 -0
  132. package/dist-lib/base/partials/TimelineList/index.d.ts.map +1 -0
  133. package/dist-lib/base/shell/AdminShell.d.ts +12 -0
  134. package/dist-lib/base/shell/AdminShell.d.ts.map +1 -0
  135. package/dist-lib/base/shell/ProductShell.d.ts +22 -0
  136. package/dist-lib/base/shell/ProductShell.d.ts.map +1 -0
  137. package/dist-lib/base/shell/partials/AppearanceToggle.d.ts +8 -0
  138. package/dist-lib/base/shell/partials/AppearanceToggle.d.ts.map +1 -0
  139. package/dist-lib/base/shell/partials/CommandPalette.d.ts +24 -0
  140. package/dist-lib/base/shell/partials/CommandPalette.d.ts.map +1 -0
  141. package/dist-lib/base/shell/partials/HelpContext.d.ts +15 -0
  142. package/dist-lib/base/shell/partials/HelpContext.d.ts.map +1 -0
  143. package/dist-lib/base/shell/partials/HelpPanel.d.ts +15 -0
  144. package/dist-lib/base/shell/partials/HelpPanel.d.ts.map +1 -0
  145. package/dist-lib/base/shell/partials/InlineInspector.d.ts +15 -0
  146. package/dist-lib/base/shell/partials/InlineInspector.d.ts.map +1 -0
  147. package/dist-lib/base/shell/partials/InspectorContext.d.ts +58 -0
  148. package/dist-lib/base/shell/partials/InspectorContext.d.ts.map +1 -0
  149. package/dist-lib/base/shell/partials/InspectorPanel.d.ts +29 -0
  150. package/dist-lib/base/shell/partials/InspectorPanel.d.ts.map +1 -0
  151. package/dist-lib/base/shell/partials/NavErrorBoundary.d.ts +23 -0
  152. package/dist-lib/base/shell/partials/NavErrorBoundary.d.ts.map +1 -0
  153. package/dist-lib/base/shell/partials/OverlayScreen.d.ts +17 -0
  154. package/dist-lib/base/shell/partials/OverlayScreen.d.ts.map +1 -0
  155. package/dist-lib/base/shell/partials/PageActionButton.d.ts +17 -0
  156. package/dist-lib/base/shell/partials/PageActionButton.d.ts.map +1 -0
  157. package/dist-lib/base/shell/partials/PageFilterTabs.d.ts +22 -0
  158. package/dist-lib/base/shell/partials/PageFilterTabs.d.ts.map +1 -0
  159. package/dist-lib/base/shell/partials/PageHeader.d.ts +22 -0
  160. package/dist-lib/base/shell/partials/PageHeader.d.ts.map +1 -0
  161. package/dist-lib/base/shell/partials/SidebarNav.d.ts +17 -0
  162. package/dist-lib/base/shell/partials/SidebarNav.d.ts.map +1 -0
  163. package/dist-lib/base/theme/appearance.d.ts +58 -0
  164. package/dist-lib/base/theme/appearance.d.ts.map +1 -0
  165. package/dist-lib/base/theme/host-theme-detector.d.ts +22 -0
  166. package/dist-lib/base/theme/host-theme-detector.d.ts.map +1 -0
  167. package/dist-lib/base/theme/useHostTheme.d.ts +27 -0
  168. package/dist-lib/base/theme/useHostTheme.d.ts.map +1 -0
  169. package/dist-lib/base/utils/clipboard.d.ts +12 -0
  170. package/dist-lib/base/utils/clipboard.d.ts.map +1 -0
  171. package/dist-lib/base/utils/conditions.d.ts +7 -0
  172. package/dist-lib/base/utils/conditions.d.ts.map +1 -0
  173. package/dist-lib/base/utils/icons.d.ts +21 -0
  174. package/dist-lib/base/utils/icons.d.ts.map +1 -0
  175. package/dist-lib/base/utils/interpolate.d.ts +7 -0
  176. package/dist-lib/base/utils/interpolate.d.ts.map +1 -0
  177. package/dist-lib/base/utils/time.d.ts +28 -0
  178. package/dist-lib/base/utils/time.d.ts.map +1 -0
  179. package/dist-lib/components/reui/alert-dialog.d.ts +19 -0
  180. package/dist-lib/components/reui/alert-dialog.d.ts.map +1 -0
  181. package/dist-lib/components/reui/alert.d.ts +10 -0
  182. package/dist-lib/components/reui/alert.d.ts.map +1 -0
  183. package/dist-lib/components/reui/badge.d.ts +12 -0
  184. package/dist-lib/components/reui/badge.d.ts.map +1 -0
  185. package/dist-lib/components/reui/button.d.ts +11 -0
  186. package/dist-lib/components/reui/button.d.ts.map +1 -0
  187. package/dist-lib/components/reui/card.d.ts +10 -0
  188. package/dist-lib/components/reui/card.d.ts.map +1 -0
  189. package/dist-lib/components/reui/checkbox.d.ts +5 -0
  190. package/dist-lib/components/reui/checkbox.d.ts.map +1 -0
  191. package/dist-lib/components/reui/dialog.d.ts +18 -0
  192. package/dist-lib/components/reui/dialog.d.ts.map +1 -0
  193. package/dist-lib/components/reui/dropdown-menu.d.ts +26 -0
  194. package/dist-lib/components/reui/dropdown-menu.d.ts.map +1 -0
  195. package/dist-lib/components/reui/frame.d.ts +29 -0
  196. package/dist-lib/components/reui/frame.d.ts.map +1 -0
  197. package/dist-lib/components/reui/input.d.ts +4 -0
  198. package/dist-lib/components/reui/input.d.ts.map +1 -0
  199. package/dist-lib/components/reui/label.d.ts +5 -0
  200. package/dist-lib/components/reui/label.d.ts.map +1 -0
  201. package/dist-lib/components/reui/number-field.d.ts +26 -0
  202. package/dist-lib/components/reui/number-field.d.ts.map +1 -0
  203. package/dist-lib/components/reui/popover.d.ts +11 -0
  204. package/dist-lib/components/reui/popover.d.ts.map +1 -0
  205. package/dist-lib/components/reui/radio-group.d.ts +6 -0
  206. package/dist-lib/components/reui/radio-group.d.ts.map +1 -0
  207. package/dist-lib/components/reui/select.d.ts +16 -0
  208. package/dist-lib/components/reui/select.d.ts.map +1 -0
  209. package/dist-lib/components/reui/separator.d.ts +5 -0
  210. package/dist-lib/components/reui/separator.d.ts.map +1 -0
  211. package/dist-lib/components/reui/sheet.d.ts +15 -0
  212. package/dist-lib/components/reui/sheet.d.ts.map +1 -0
  213. package/dist-lib/components/reui/sidebar.d.ts +70 -0
  214. package/dist-lib/components/reui/sidebar.d.ts.map +1 -0
  215. package/dist-lib/components/reui/skeleton.d.ts +3 -0
  216. package/dist-lib/components/reui/skeleton.d.ts.map +1 -0
  217. package/dist-lib/components/reui/sonner.d.ts +4 -0
  218. package/dist-lib/components/reui/sonner.d.ts.map +1 -0
  219. package/dist-lib/components/reui/spinner.d.ts +3 -0
  220. package/dist-lib/components/reui/spinner.d.ts.map +1 -0
  221. package/dist-lib/components/reui/switch.d.ts +7 -0
  222. package/dist-lib/components/reui/switch.d.ts.map +1 -0
  223. package/dist-lib/components/reui/tabs.d.ts +12 -0
  224. package/dist-lib/components/reui/tabs.d.ts.map +1 -0
  225. package/dist-lib/components/reui/textarea.d.ts +4 -0
  226. package/dist-lib/components/reui/textarea.d.ts.map +1 -0
  227. package/dist-lib/components/reui/tooltip.d.ts +8 -0
  228. package/dist-lib/components/reui/tooltip.d.ts.map +1 -0
  229. package/dist-lib/components/ui/svgs/claudeAiIcon.d.ts +4 -0
  230. package/dist-lib/components/ui/svgs/claudeAiIcon.d.ts.map +1 -0
  231. package/dist-lib/components/ui/svgs/gemini.d.ts +4 -0
  232. package/dist-lib/components/ui/svgs/gemini.d.ts.map +1 -0
  233. package/dist-lib/components/ui/svgs/openai.d.ts +4 -0
  234. package/dist-lib/components/ui/svgs/openai.d.ts.map +1 -0
  235. package/dist-lib/components/ui/svgs/openaiDark.d.ts +4 -0
  236. package/dist-lib/components/ui/svgs/openaiDark.d.ts.map +1 -0
  237. package/dist-lib/contracts/block-data.d.ts +399 -0
  238. package/dist-lib/contracts/block-data.d.ts.map +1 -0
  239. package/dist-lib/contracts/connectors.d.ts +50 -0
  240. package/dist-lib/contracts/connectors.d.ts.map +1 -0
  241. package/dist-lib/contracts/navigation.d.ts +101 -0
  242. package/dist-lib/contracts/navigation.d.ts.map +1 -0
  243. package/dist-lib/contracts/page-contract.d.ts +129 -0
  244. package/dist-lib/contracts/page-contract.d.ts.map +1 -0
  245. package/dist-lib/contracts/shared-props.d.ts +76 -0
  246. package/dist-lib/contracts/shared-props.d.ts.map +1 -0
  247. package/dist-lib/hooks/use-copy-to-clipboard.d.ts +2 -0
  248. package/dist-lib/hooks/use-copy-to-clipboard.d.ts.map +1 -0
  249. package/dist-lib/hooks/use-file-upload.d.ts +2 -0
  250. package/dist-lib/hooks/use-file-upload.d.ts.map +1 -0
  251. package/dist-lib/index.d.ts +22 -0
  252. package/dist-lib/index.d.ts.map +1 -0
  253. package/dist-lib/lib/deprecation.d.ts +10 -0
  254. package/dist-lib/lib/deprecation.d.ts.map +1 -0
  255. package/dist-lib/lib/hooks/use-copy-to-clipboard.d.ts +8 -0
  256. package/dist-lib/lib/hooks/use-copy-to-clipboard.d.ts.map +1 -0
  257. package/dist-lib/lib/hooks/use-file-upload.d.ts +47 -0
  258. package/dist-lib/lib/hooks/use-file-upload.d.ts.map +1 -0
  259. package/dist-lib/lib/hooks/use-mobile.d.ts +2 -0
  260. package/dist-lib/lib/hooks/use-mobile.d.ts.map +1 -0
  261. package/dist-lib/lib/portal-container.d.ts +9 -0
  262. package/dist-lib/lib/portal-container.d.ts.map +1 -0
  263. package/dist-lib/lib/utils.d.ts +3 -0
  264. package/dist-lib/lib/utils.d.ts.map +1 -0
  265. package/package.json +1 -1
@@ -0,0 +1,17 @@
1
+ /**
2
+ * ContractPage — entry point for any page driven by PageContract.
3
+ *
4
+ * Resolves shell → layout → blocks through registries (ADR-807).
5
+ * Feature pages compose their contract in the backend; the runtime
6
+ * handles rendering deterministically.
7
+ */
8
+ import { type ReactElement } from "react";
9
+ import type { HelpData, InspectorData, PageContract } from "@/contracts/page-contract";
10
+ export interface ContractPageProps {
11
+ contract: PageContract;
12
+ overlay?: boolean;
13
+ help?: HelpData;
14
+ inspector?: InspectorData;
15
+ }
16
+ export declare function ContractPage({ contract, overlay, inspector, }: ContractPageProps): ReactElement;
17
+ //# sourceMappingURL=ContractPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContractPage.d.ts","sourceRoot":"","sources":["../../src/app/ContractPage.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAEV,QAAQ,EACR,aAAa,EACb,YAAY,EACb,MAAM,2BAA2B,CAAC;AAMnC,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,YAAY,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,SAAS,CAAC,EAAE,aAAa,CAAC;CAC3B;AAKD,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,OAAO,EACP,SAAS,GACV,EAAE,iBAAiB,GAAG,YAAY,CA6DlC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * bootstrap — mounts a PageContract-driven React app at a DOM target.
3
+ */
4
+ import type { PageContract } from "@/contracts/page-contract";
5
+ export declare function mountContract(target: HTMLElement, contract: PageContract): void;
6
+ //# sourceMappingURL=bootstrap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bootstrap.d.ts","sourceRoot":"","sources":["../../src/app/bootstrap.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAMH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,wBAAgB,aAAa,CAC3B,MAAM,EAAE,WAAW,EACnB,QAAQ,EAAE,YAAY,GACrB,IAAI,CAQN"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * AuthProvider — React context for authenticated user data and capability checks.
3
+ *
4
+ * Reads auth from Inertia shared props populated by inertia_shared_props.php.
5
+ *
6
+ * @see NV-05-ux-shell-sidebar.md §1.3
7
+ */
8
+ import { type ReactNode } from "react";
9
+ interface AuthContextValue {
10
+ user: {
11
+ id: number;
12
+ name: string;
13
+ email: string;
14
+ avatarUrl?: string;
15
+ };
16
+ capabilities: string[];
17
+ can: (capability: string) => boolean;
18
+ }
19
+ export declare function AuthProvider({ children }: {
20
+ children: ReactNode;
21
+ }): import("react/jsx-runtime").JSX.Element;
22
+ /**
23
+ * Access authenticated user and capability check function.
24
+ *
25
+ * @example
26
+ * const { user, can } = useAuth();
27
+ * if (can('local/middag:manage')) { ... }
28
+ */
29
+ export declare function useAuth(): AuthContextValue;
30
+ /** Render children only if user has the capability. */
31
+ export declare function Can({ capability, children, }: {
32
+ capability: string;
33
+ children: ReactNode;
34
+ }): import("react/jsx-runtime").JSX.Element | null;
35
+ /** Render children only if user does NOT have the capability. */
36
+ export declare function Cannot({ capability, children, }: {
37
+ capability: string;
38
+ children: ReactNode;
39
+ }): import("react/jsx-runtime").JSX.Element | null;
40
+ export {};
41
+ //# sourceMappingURL=auth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/app/providers/auth.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAsC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI3E,UAAU,gBAAgB;IACxB,IAAI,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACtE,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,GAAG,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC;CACtC;AAID,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,2CAmBjE;AAED;;;;;;GAMG;AAEH,wBAAgB,OAAO,IAAI,gBAAgB,CAU1C;AAED,uDAAuD;AACvD,wBAAgB,GAAG,CAAC,EAClB,UAAU,EACV,QAAQ,GACT,EAAE;IACD,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB,kDAGA;AAED,iEAAiE;AACjE,wBAAgB,MAAM,CAAC,EACrB,UAAU,EACV,QAAQ,GACT,EAAE;IACD,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB,kDAGA"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * FlashProvider — consumes Inertia flash messages and displays Sonner toasts.
3
+ *
4
+ * Flash messages are server-sent one-shot notifications (success/error/info/warning).
5
+ * This provider listens to flash prop changes on each Inertia navigation and
6
+ * fires the appropriate toast. Does not re-fire if flash is unchanged.
7
+ *
8
+ * @see NV-05-ux-shell-sidebar.md §1.3
9
+ */
10
+ import { type ReactNode } from "react";
11
+ export declare function FlashProvider({ children }: {
12
+ children: ReactNode;
13
+ }): import("react/jsx-runtime").JSX.Element;
14
+ //# sourceMappingURL=flash.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flash.d.ts","sourceRoot":"","sources":["../../../src/app/providers/flash.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAK1D,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,2CA2BlE"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * i18n provider — useTranslation hook for React components.
3
+ *
4
+ * Reads pre-loaded strings from Inertia shared props (`theme.strings`).
5
+ * Optionally accepts an async resolver for keys not pre-loaded by the
6
+ * server. Hosts (Moodle, WordPress) inject their own resolver.
7
+ *
8
+ * @example
9
+ * // Moodle host — inject Moodle string resolver
10
+ * <I18nProvider asyncResolver={moodleGetStrings}>...</I18nProvider>
11
+ *
12
+ * // WordPress host — inject WP i18n resolver
13
+ * <I18nProvider asyncResolver={wpGetStrings}>...</I18nProvider>
14
+ *
15
+ * // No resolver — sync only, keys not found return the key itself
16
+ * <I18nProvider>...</I18nProvider>
17
+ */
18
+ import { type ReactNode } from "react";
19
+ export type AsyncStringResolver = (key: string, component?: string) => Promise<string>;
20
+ interface I18nContextValue {
21
+ /** Synchronous lookup — returns key itself if not yet loaded. */
22
+ t: (key: string) => string;
23
+ /** Async lookup — uses injected resolver if available, else returns key. */
24
+ tAsync: (key: string, component?: string) => Promise<string>;
25
+ }
26
+ interface I18nProviderProps {
27
+ children: ReactNode;
28
+ asyncResolver?: AsyncStringResolver;
29
+ }
30
+ export declare function I18nProvider({ children, asyncResolver }: I18nProviderProps): import("react/jsx-runtime").JSX.Element;
31
+ /**
32
+ * Access translation functions in any component.
33
+ *
34
+ * @example
35
+ * const { t } = useTranslation();
36
+ * return <h1>{t('dashboard_title')}</h1>;
37
+ */
38
+ export declare function useTranslation(): I18nContextValue;
39
+ export {};
40
+ //# sourceMappingURL=i18n.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/app/providers/i18n.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAML,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,MAAM,MAAM,mBAAmB,GAAG,CAChC,GAAG,EAAE,MAAM,EACX,SAAS,CAAC,EAAE,MAAM,KACf,OAAO,CAAC,MAAM,CAAC,CAAC;AAErB,UAAU,gBAAgB;IACxB,iEAAiE;IACjE,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IAC3B,4EAA4E;IAC5E,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;CAC9D;AAWD,UAAU,iBAAiB;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACrC;AAED,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,iBAAiB,2CA+B1E;AAED;;;;;;GAMG;AAEH,wBAAgB,cAAc,IAAI,gBAAgB,CAUjD"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * ProgressProvider — NProgress integration for Inertia SPA navigation.
3
+ *
4
+ * Hooks into Inertia router events to show a thin progress bar at the
5
+ * top of the viewport during page transitions.
6
+ *
7
+ * @see NV-05-ux-shell-sidebar.md §6.3
8
+ */
9
+ import { type ReactNode } from "react";
10
+ export declare function ProgressProvider({ children }: {
11
+ children: ReactNode;
12
+ }): import("react/jsx-runtime").JSX.Element;
13
+ //# sourceMappingURL=progress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../src/app/providers/progress.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAa,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAYlD,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,2CAoCrE"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * ScopeProvider — React context for global scope data.
3
+ *
4
+ * Reads the `scope` Inertia shared prop serialized by http_kernel from
5
+ * global_scope_manager. Extensions add their scope data during boot().
6
+ *
7
+ * @see classes/framework/kernel/manager/global_scope_manager.php
8
+ * @see NV-05-ux-shell-sidebar.md §1.3
9
+ */
10
+ import { type ReactNode } from "react";
11
+ /** Scope context value — dynamic keys registered by PHP extensions via boot() */
12
+ export type ScopeContextValue = Record<string, unknown>;
13
+ export declare function ScopeProvider({ children }: {
14
+ children: ReactNode;
15
+ }): import("react/jsx-runtime").JSX.Element;
16
+ /**
17
+ * Access global scope data in any component.
18
+ * Returns the full scope object — components read specific keys.
19
+ *
20
+ * @example
21
+ * const scope = useScope();
22
+ * const orgId = scope.organization?.id;
23
+ */
24
+ export declare function useScope(): ScopeContextValue;
25
+ /**
26
+ * Type-safe scope accessor for known scope keys.
27
+ *
28
+ * @example
29
+ * const org = useScopeKey<{ id: number; name: string; slug: string }>('organization');
30
+ */
31
+ export declare function useScopeKey<T>(key: string): T | undefined;
32
+ //# sourceMappingURL=scope.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scope.d.ts","sourceRoot":"","sources":["../../../src/app/providers/scope.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAsC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI3E,iFAAiF;AACjF,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAIxD,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,2CAOlE;AAED;;;;;;;GAOG;AAEH,wBAAgB,QAAQ,IAAI,iBAAiB,CAE5C;AAED;;;;;GAKG;AAEH,wBAAgB,WAAW,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS,CAGzD"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * register-defaults — populates the registries with core shells,
3
+ * layouts and block types available out-of-the-box.
4
+ */
5
+ export declare function registerDefaults(): void;
6
+ //# sourceMappingURL=register-defaults.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register-defaults.d.ts","sourceRoot":"","sources":["../../src/app/register-defaults.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA6BH,wBAAgB,gBAAgB,IAAI,IAAI,CAiCvC"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Registries (ADR-807) — closed, versioned maps from page-contract types
3
+ * to React components.
4
+ *
5
+ * shellRegistry: shell key → React component
6
+ * layoutRegistry: layout template → React component
7
+ * blockRegistry: block type → React component
8
+ *
9
+ * Feature pages and backend controllers can only reference keys present
10
+ * in these registries. Never import vendor components directly from pages.
11
+ */
12
+ import type { ComponentType, ReactElement, ReactNode } from "react";
13
+ import type { BlockDescriptor, LayoutDescriptor, Shell } from "@/contracts/page-contract";
14
+ export type ShellProps = {
15
+ children: ReactNode;
16
+ };
17
+ export type LayoutProps = {
18
+ layout: LayoutDescriptor;
19
+ renderBlock: (block: BlockDescriptor) => ReactElement | null;
20
+ };
21
+ export type BlockProps<TData = Record<string, unknown>> = {
22
+ block: BlockDescriptor<TData>;
23
+ };
24
+ export declare const shellRegistry: Map<Shell, ComponentType<ShellProps>>;
25
+ export declare const layoutRegistry: Map<string, ComponentType<LayoutProps>>;
26
+ export declare const blockRegistry: Map<string, ComponentType<BlockProps<Record<string, unknown>>>>;
27
+ export declare function registerShell(key: Shell, component: ComponentType<ShellProps>): void;
28
+ export declare function registerLayout(key: string, component: ComponentType<LayoutProps>): void;
29
+ export declare function registerBlock<TData = Record<string, unknown>>(key: string, component: ComponentType<BlockProps<TData>>): void;
30
+ export declare function resolveShell(key: Shell): ComponentType<ShellProps> | undefined;
31
+ export declare function resolveLayout(key: string): ComponentType<LayoutProps> | undefined;
32
+ export declare function resolveBlock(key: string): ComponentType<BlockProps> | undefined;
33
+ //# sourceMappingURL=registries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registries.d.ts","sourceRoot":"","sources":["../../src/app/registries.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EAChB,KAAK,EACN,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,UAAU,GAAG;IACvB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,EAAE,gBAAgB,CAAC;IACzB,WAAW,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,YAAY,GAAG,IAAI,CAAC;CAC9D,CAAC;AAEF,MAAM,MAAM,UAAU,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI;IACxD,KAAK,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,aAAa,uCAA8C,CAAC;AAEzE,eAAO,MAAM,cAAc,yCAAgD,CAAC;AAE5E,eAAO,MAAM,aAAa,iEAA+C,CAAC;AAE1E,wBAAgB,aAAa,CAC3B,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,aAAa,CAAC,UAAU,CAAC,GACnC,IAAI,CAEN;AAED,wBAAgB,cAAc,CAC5B,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,aAAa,CAAC,WAAW,CAAC,GACpC,IAAI,CAEN;AAED,wBAAgB,aAAa,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC3D,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,aAAa,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,GAC1C,IAAI,CAEN;AAED,wBAAgB,YAAY,CAC1B,GAAG,EAAE,KAAK,GACT,aAAa,CAAC,UAAU,CAAC,GAAG,SAAS,CAavC;AAED,wBAAgB,aAAa,CAC3B,GAAG,EAAE,MAAM,GACV,aAAa,CAAC,WAAW,CAAC,GAAG,SAAS,CAaxC;AAED,wBAAgB,YAAY,CAC1B,GAAG,EAAE,MAAM,GACV,aAAa,CAAC,UAAU,CAAC,GAAG,SAAS,CAavC"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Lottie animation catalog — organized by theme.
3
+ *
4
+ * Each theme has 2-3 animation variants as local JSON paths.
5
+ * Use with @lottiefiles/dotlottie-react:
6
+ *
7
+ * @example
8
+ * import { DotLottieReact } from '@lottiefiles/dotlottie-react';
9
+ * import { lottie } from '@/assets/lottie';
10
+ *
11
+ * <DotLottieReact src={lottie.loading[0]} loop autoplay />
12
+ */
13
+ export declare const lottie: {
14
+ readonly loading: string[];
15
+ readonly success: string[];
16
+ readonly error: string[];
17
+ readonly emptyState: string[];
18
+ readonly notFound: string[];
19
+ readonly search: string[];
20
+ readonly upload: string[];
21
+ readonly notification: string[];
22
+ readonly email: string[];
23
+ readonly settings: string[];
24
+ readonly user: string[];
25
+ readonly dashboard: string[];
26
+ readonly calendar: string[];
27
+ readonly security: string[];
28
+ readonly payment: string[];
29
+ readonly cloud: string[];
30
+ readonly connection: string[];
31
+ readonly celebration: string[];
32
+ readonly onboarding: string[];
33
+ readonly maintenance: string[];
34
+ };
35
+ export type LottieTheme = keyof typeof lottie;
36
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/assets/lottie/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAUH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;CAyDT,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,MAAM,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * ActionGridBlock — grid of action cards with confirmation dialog.
3
+ *
4
+ * Each card displays an icon, title, description, and an action button.
5
+ * When confirmText is present, an AlertDialog gates the action.
6
+ * Actions execute via Inertia router.post/delete.
7
+ *
8
+ * @see ADR-807
9
+ */
10
+ import { type ReactElement } from "react";
11
+ import type { BlockProps } from "@/app/registries";
12
+ import type { ActionGridBlockData } from "@/contracts/block-data";
13
+ export declare function ActionGridBlock({ block, }: BlockProps<ActionGridBlockData>): ReactElement;
14
+ //# sourceMappingURL=ActionGridBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionGridBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/ActionGridBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EAAY,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAkCpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE,wBAAgB,eAAe,CAAC,EAC9B,KAAK,GACN,EAAE,UAAU,CAAC,mBAAmB,CAAC,GAAG,YAAY,CAiChD"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * ActivityTimelineBlock — grouped activity timeline.
3
+ *
4
+ * Renders timeline entries grouped by date. Supports load more via Inertia partial reload.
5
+ * Stub implementation until TimelineList partial is available.
6
+ *
7
+ * @see NV-05-ux-blocks.md §6
8
+ */
9
+ import { type ReactElement } from "react";
10
+ import type { BlockProps } from "@/app/registries";
11
+ import type { ActivityTimelineBlockData } from "@/contracts/block-data";
12
+ export declare function ActivityTimelineBlock({ block, }: BlockProps<ActivityTimelineBlockData>): ReactElement;
13
+ //# sourceMappingURL=ActivityTimelineBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActivityTimelineBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/ActivityTimelineBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAY,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AASpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAUxE,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,GACN,EAAE,UAAU,CAAC,yBAAyB,CAAC,GAAG,YAAY,CA2HtD"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * CardGridBlock — contract-driven card grid with variant support.
3
+ *
4
+ * Renders rows as clickable cards in a responsive grid.
5
+ * When an InspectorContext is available, clicking a card opens the inspector.
6
+ *
7
+ * Variants control visual layout:
8
+ * - 'default': generic key-value card
9
+ * - 'store': ecommerce store card with logo, stats, status badge
10
+ * - 'connector': connector card with type icon and health indicator
11
+ *
12
+ * @see ADR-807
13
+ */
14
+ import { type ReactElement } from "react";
15
+ import type { BlockProps } from "@/app/registries";
16
+ import type { CardGridBlockData } from "@/contracts/block-data";
17
+ export declare function CardGridBlock({ block, }: BlockProps<CardGridBlockData>): ReactElement;
18
+ //# sourceMappingURL=CardGridBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardGridBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/CardGridBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAIH,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EACV,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAEhC,wBAAgB,aAAa,CAAC,EAC5B,KAAK,GACN,EAAE,UAAU,CAAC,iBAAiB,CAAC,GAAG,YAAY,CAmD9C"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * ConditionTreeBlock — visual editor for condition trees (CC-09).
3
+ *
4
+ * Renders a recursive AND/OR tree with nested groups and rules,
5
+ * inspired by Jira Workflow Conditions. Display-only mock.
6
+ *
7
+ * @see DESIGN.md P6
8
+ */
9
+ import type { ReactElement } from "react";
10
+ import type { BlockProps } from "@/app/registries";
11
+ import type { ConditionTreeBlockData } from "@/contracts/block-data";
12
+ export declare function ConditionTreeBlock({ block, }: BlockProps<ConditionTreeBlockData>): ReactElement;
13
+ //# sourceMappingURL=ConditionTreeBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConditionTreeBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/ConditionTreeBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EACV,sBAAsB,EAGvB,MAAM,wBAAwB,CAAC;AAyGhC,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,GACN,EAAE,UAAU,CAAC,sBAAsB,CAAC,GAAG,YAAY,CAQnD"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * DenseTableBlock — contract-driven data table with sort, filter, pagination.
3
+ *
4
+ * Maps BlockDescriptor<DenseTableBlockData> to DataTable partial props.
5
+ * Server interactions use Inertia partial reload.
6
+ *
7
+ * @see NV-05-ux-blocks.md §1
8
+ */
9
+ import { type ReactElement } from "react";
10
+ import type { BlockProps } from "@/app/registries";
11
+ import type { DenseTableBlockData } from "@/contracts/block-data";
12
+ export declare function DenseTableBlock({ block, }: BlockProps<DenseTableBlockData>): ReactElement;
13
+ //# sourceMappingURL=DenseTableBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DenseTableBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/DenseTableBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAKL,KAAK,YAAY,EAClB,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAQlE,wBAAgB,eAAe,CAAC,EAC9B,KAAK,GACN,EAAE,UAAU,CAAC,mBAAmB,CAAC,GAAG,YAAY,CAwRhD"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * DetailPanelBlock — sectioned key-value detail panel.
3
+ *
4
+ * Delegates to DetailSection partial (created by partials-builder agent).
5
+ * Stub implementation until DetailSection is available — renders fields directly.
6
+ *
7
+ * @see NV-05-ux-blocks.md §4
8
+ */
9
+ import { type ReactElement } from "react";
10
+ import type { BlockProps } from "@/app/registries";
11
+ import type { DetailPanelBlockData } from "@/contracts/block-data";
12
+ export declare function DetailPanelBlock({ block, }: BlockProps<DetailPanelBlockData>): ReactElement;
13
+ //# sourceMappingURL=DetailPanelBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DetailPanelBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/DetailPanelBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAY,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAKpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnE,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,GACN,EAAE,UAAU,CAAC,oBAAoB,CAAC,GAAG,YAAY,CAyDjD"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * EmptyStateBlock — variant-aware empty state with icon, description, and CTA.
3
+ *
4
+ * Delegates to EmptyPlaceholder partial.
5
+ *
6
+ * @see NV-05-ux-blocks.md §7
7
+ */
8
+ import type { ReactElement } from "react";
9
+ import type { BlockProps } from "@/app/registries";
10
+ import type { EmptyStateBlockData } from "@/contracts/block-data";
11
+ export declare function EmptyStateBlock({ block, }: BlockProps<EmptyStateBlockData>): ReactElement;
12
+ //# sourceMappingURL=EmptyStateBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmptyStateBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/EmptyStateBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE,wBAAgB,eAAe,CAAC,EAC9B,KAAK,GACN,EAAE,UAAU,CAAC,mBAAmB,CAAC,GAAG,YAAY,CAwBhD"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * FlowEditorBlock — visual workflow editor (CC-03).
3
+ *
4
+ * Renders a horizontal canvas with draggable nodes via React Flow.
5
+ * Node types: Trigger (success), Condition (warning), Action (accent).
6
+ * Display-only mock — React Flow handles interactivity automatically.
7
+ *
8
+ * @see DESIGN.md P6
9
+ */
10
+ import { type ReactElement } from "react";
11
+ import "@xyflow/react/dist/style.css";
12
+ import type { BlockProps } from "@/app/registries";
13
+ import type { FlowEditorBlockData } from "@/contracts/block-data";
14
+ export declare function FlowEditorBlock({ block, }: BlockProps<FlowEditorBlockData>): ReactElement;
15
+ //# sourceMappingURL=FlowEditorBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlowEditorBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/FlowEditorBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EACL,KAAK,YAAY,EAIlB,MAAM,OAAO,CAAC;AAWf,OAAO,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EACV,mBAAmB,EAEpB,MAAM,wBAAwB,CAAC;AAkFhC,wBAAgB,eAAe,CAAC,EAC9B,KAAK,GACN,EAAE,UAAU,CAAC,mBAAmB,CAAC,GAAG,YAAY,CAkDhD"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * FormBuilderBlock — visual drag-and-drop form editor (Customform extension).
3
+ *
4
+ * Three-column layout:
5
+ * - Left: palette of available field types
6
+ * - Center: sortable canvas with reorderable fields (@dnd-kit)
7
+ * - Right: live preview of the rendered form
8
+ *
9
+ * Mock-only: DnD reorder works; adding from palette is display-only.
10
+ *
11
+ * @see DESIGN.md P6 — Form Builder (Customform)
12
+ */
13
+ import type { ReactElement } from "react";
14
+ import type { BlockProps } from "@/app/registries";
15
+ import type { FormBuilderBlockData } from "@/contracts/block-data";
16
+ export declare function FormBuilderBlock({ block, }: BlockProps<FormBuilderBlockData>): ReactElement;
17
+ //# sourceMappingURL=FormBuilderBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormBuilderBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/FormBuilderBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAmB1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,wBAAwB,CAAC;AA+MhC,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,GACN,EAAE,UAAU,CAAC,oBAAoB,CAAC,GAAG,YAAY,CAkHjD"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * FormPanelBlock — schema-driven form rendering.
3
+ *
4
+ * Receives form schema from server, renders fields via FormField router,
5
+ * handles submission via Inertia, supports conditional fields and dirty tracking.
6
+ *
7
+ * @see NV-05-ux-blocks.md §2.1–2.10
8
+ */
9
+ import { type ReactElement } from "react";
10
+ import type { BlockProps } from "@/app/registries";
11
+ import type { FormPanelBlockData } from "@/contracts/block-data";
12
+ export declare function FormPanelBlock({ block, }: BlockProps<FormPanelBlockData>): ReactElement;
13
+ //# sourceMappingURL=FormPanelBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormPanelBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/FormPanelBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAoC,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAgB5E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EACV,kBAAkB,EAGnB,MAAM,wBAAwB,CAAC;AA+HhC,wBAAgB,cAAc,CAAC,EAC7B,KAAK,GACN,EAAE,UAAU,CAAC,kBAAkB,CAAC,GAAG,YAAY,CA+J/C"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * LinkListBlock — vertical list of links with icon, label, and description.
3
+ *
4
+ * Items with href: null are hidden. External links open in new tab.
5
+ *
6
+ * @see ADR-807 block catalog
7
+ */
8
+ import type { ReactElement } from "react";
9
+ import type { BlockProps } from "@/app/registries";
10
+ import type { LinkListBlockData } from "@/contracts/block-data";
11
+ export declare function LinkListBlock({ block, }: BlockProps<LinkListBlockData>): ReactElement;
12
+ //# sourceMappingURL=LinkListBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinkListBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/LinkListBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,wBAAgB,aAAa,CAAC,EAC5B,KAAK,GACN,EAAE,UAAU,CAAC,iBAAiB,CAAC,GAAG,YAAY,CA0C9C"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * MarkdownPanelBlock — renders sanitized markdown content in a Card.
3
+ *
4
+ * Delegates to MarkdownContent partial when available.
5
+ * Stub renders raw content in a prose-style container.
6
+ *
7
+ * @see NV-05-ux-blocks.md §8
8
+ */
9
+ import { type ReactElement } from "react";
10
+ import type { BlockProps } from "@/app/registries";
11
+ import type { MarkdownPanelBlockData } from "@/contracts/block-data";
12
+ export declare function MarkdownPanelBlock({ block, }: BlockProps<MarkdownPanelBlockData>): ReactElement;
13
+ //# sourceMappingURL=MarkdownPanelBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MarkdownPanelBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/MarkdownPanelBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAkB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAQ1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAoBrE,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,GACN,EAAE,UAAU,CAAC,sBAAsB,CAAC,GAAG,YAAY,CAyBnD"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * MetricCardBlock — KPI card with value, delta, icon, and optional link.
3
+ *
4
+ * @see NV-05-ux-blocks.md §3.1–3.7
5
+ */
6
+ import type { ReactElement } from "react";
7
+ import type { BlockProps } from "@/app/registries";
8
+ import type { MetricCardBlockData } from "@/contracts/block-data";
9
+ export declare function MetricCardBlock({ block, }: BlockProps<MetricCardBlockData>): ReactElement;
10
+ //# sourceMappingURL=MetricCardBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MetricCardBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/MetricCardBlock.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAc1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AA+BlE,wBAAgB,eAAe,CAAC,EAC9B,KAAK,GACN,EAAE,UAAU,CAAC,mBAAmB,CAAC,GAAG,YAAY,CAkFhD"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * SentenceBuilderBlock — natural language segment rule builder (CC-07).
3
+ *
4
+ * Renders segment rules as a human-readable sentence:
5
+ * "Usuários onde [campo] [operador] [valor] E/OU..."
6
+ *
7
+ * Mock-only: fields/operators/values are display-only, no editing.
8
+ *
9
+ * @see DESIGN.md P6 — Sentence Builder (Segments)
10
+ */
11
+ import type { ReactElement } from "react";
12
+ import type { BlockProps } from "@/app/registries";
13
+ import type { SentenceBuilderBlockData } from "@/contracts/block-data";
14
+ export declare function SentenceBuilderBlock({ block, }: BlockProps<SentenceBuilderBlockData>): ReactElement;
15
+ //# sourceMappingURL=SentenceBuilderBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SentenceBuilderBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/SentenceBuilderBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAkBvE,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,GACN,EAAE,UAAU,CAAC,wBAAwB,CAAC,GAAG,YAAY,CA+ErD"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * StatusStripBlock — horizontal status indicators strip.
3
+ *
4
+ * Delegates to StatusBar partial. Derives score item if score is present.
5
+ *
6
+ * @see NV-05-ux-blocks.md §5
7
+ */
8
+ import type { ReactElement } from "react";
9
+ import type { BlockProps } from "@/app/registries";
10
+ import type { StatusStripBlockData } from "@/contracts/block-data";
11
+ export declare function StatusStripBlock({ block, }: BlockProps<StatusStripBlockData>): ReactElement | null;
12
+ //# sourceMappingURL=StatusStripBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusStripBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/StatusStripBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,wBAAwB,CAAC;AAQhC,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,GACN,EAAE,UAAU,CAAC,oBAAoB,CAAC,GAAG,YAAY,GAAG,IAAI,CAoBxD"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * TabbedPanelBlock — composite block that organizes inner blocks into tabs.
3
+ *
4
+ * Each tab contains an array of BlockDescriptors rendered via the block registry.
5
+ * Uses ReUI Tabs with line variant + MIDDAG-specific styling (2px primary underline,
6
+ * active font-weight 500).
7
+ *
8
+ * @see DESIGN.md §P1 — Tabs
9
+ * @see ADR-807 ref/page-contract-v1 §5
10
+ */
11
+ import type { ReactElement } from "react";
12
+ import type { BlockProps } from "@/app/registries";
13
+ import type { TabbedPanelBlockData } from "@/contracts/block-data";
14
+ export declare function TabbedPanelBlock({ block, }: BlockProps<TabbedPanelBlockData>): ReactElement;
15
+ //# sourceMappingURL=TabbedPanelBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabbedPanelBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/TabbedPanelBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAS1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAqBnE,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,GACN,EAAE,UAAU,CAAC,oBAAoB,CAAC,GAAG,YAAY,CAkCjD"}