xmlui 0.4.1 → 0.4.2-beta.1

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 (331) hide show
  1. package/dist/{Pdf-49TqXRNN.mjs → Pdf-DY3dYAig.mjs} +1 -1
  2. package/dist/{Pdf-BH2vx5Qr.mjs → Pdf-DYj6pOR4.mjs} +1 -1
  3. package/dist/{apiInterceptorWorker-Bt5xchwi.mjs → apiInterceptorWorker-B_8SyVm7.mjs} +1 -1
  4. package/dist/{apiInterceptorWorker-BBlmEoWI.mjs → apiInterceptorWorker-CSMfMHnG.mjs} +1 -1
  5. package/dist/core-CiRlrzNN.mjs +5389 -0
  6. package/dist/core-TkN1rPOq.mjs +5390 -0
  7. package/dist/grammar.tmLanguage-Bgs-wS_O.mjs +636 -0
  8. package/dist/{index-D4lrwrU-.mjs → index-DFmApFOY.mjs} +12192 -12668
  9. package/dist/{index-standalone-OPhLIAuf.mjs → index-standalone-UVkKZMvh.mjs} +28299 -28777
  10. package/dist/index-standalone.css +1 -1
  11. package/dist/index.css +1 -1
  12. package/dist/{nivo-bar.es-DGyxXAiC.mjs → nivo-bar.es-tnCyX0Yr.mjs} +2 -2
  13. package/dist/{nivo-geo.es-xKJj5CIr.mjs → nivo-geo.es-BQ3VnkfD.mjs} +2 -2
  14. package/dist/{nivo-legends.es-Dp7DGs5k.mjs → nivo-legends.es-D-P_F-6G.mjs} +1 -1
  15. package/dist/{nivo-pie.es-BXZkJTQT.mjs → nivo-pie.es-Z4Ty7kQd.mjs} +2 -2
  16. package/dist/{react-apexcharts.min-ZKwRrO8G.mjs → react-apexcharts.min-DgtmaDk9.mjs} +1 -1
  17. package/dist/scripts/docs/syntax/grammar.tmLanguage.json +385 -0
  18. package/dist/scripts/docs/syntax/textMate/xmlui.json +629 -0
  19. package/dist/scripts/{bin → xmlui/bin}/vite-ueml-plugin.js +11 -16
  20. package/dist/scripts/{src → xmlui/src}/components/AppHeader/AppHeader.js +2 -2
  21. package/dist/scripts/{src → xmlui/src}/components/Avatar/Avatar.js +3 -3
  22. package/dist/scripts/{src → xmlui/src}/components/Button/Button.js +5 -3
  23. package/dist/scripts/xmlui/src/components/Card/Card.js +76 -0
  24. package/dist/scripts/{src → xmlui/src}/components/Chart/Chart.js +7 -6
  25. package/dist/scripts/{src → xmlui/src}/components/Combobox/Combobox.js +60 -22
  26. package/dist/scripts/{src → xmlui/src}/components/ComponentProvider.js +26 -6
  27. package/dist/scripts/{src → xmlui/src}/components/DropdownMenu/DropdownMenu.js +21 -14
  28. package/dist/scripts/{src → xmlui/src}/components/FlowLayout/FlowLayout.js +10 -9
  29. package/dist/scripts/xmlui/src/components/FormSection/FormSection.js +47 -0
  30. package/dist/scripts/{src → xmlui/src}/components/Heading/Heading.js +1 -1
  31. package/dist/scripts/{src → xmlui/src}/components/Icon/Icon.js +4 -3
  32. package/dist/scripts/xmlui/src/components/Icon/TrendingDownIcon.js +10 -0
  33. package/dist/scripts/xmlui/src/components/Icon/TrendingUpIcon.js +10 -0
  34. package/dist/scripts/xmlui/src/components/IconInfoCard/IconInfoCard.js +52 -0
  35. package/dist/scripts/{src → xmlui/src}/components/IconProvider.js +4 -1
  36. package/dist/scripts/{src → xmlui/src}/components/Image/Image.js +4 -4
  37. package/dist/scripts/{src → xmlui/src}/components/Link/Link.js +4 -4
  38. package/dist/scripts/{src → xmlui/src}/components/Map/Map.js +7 -1
  39. package/dist/scripts/{src → xmlui/src}/components/ModalDialog/ModalDialog.js +5 -1
  40. package/dist/scripts/{src → xmlui/src}/components/MultiCombobox/MultiCombobox.js +1 -1
  41. package/dist/scripts/{src → xmlui/src}/components/NavLink/NavLink.js +4 -3
  42. package/dist/scripts/{src → xmlui/src}/components/NavPanel/NavPanel.js +6 -4
  43. package/dist/scripts/xmlui/src/components/PageHeader/PageHeader.js +48 -0
  44. package/dist/scripts/{src → xmlui/src}/components/ProgressBar/ProgressBar.js +5 -4
  45. package/dist/scripts/{src → xmlui/src}/components/Table/Table.js +61 -51
  46. package/dist/scripts/xmlui/src/components/TableHeader/TableHeader.js +31 -0
  47. package/dist/scripts/{src → xmlui/src}/components/Text/Text.js +34 -13
  48. package/dist/scripts/{src → xmlui/src}/components/ThemeChanger/ThemeChanger.js +3 -24
  49. package/dist/scripts/{src → xmlui/src}/components/Toggle/Toggle.js +9 -8
  50. package/dist/scripts/xmlui/src/components/Toolbar/Toolbar.js +26 -0
  51. package/dist/scripts/xmlui/src/components/ToolbarButton/ToolbarButton.js +33 -0
  52. package/dist/scripts/xmlui/src/components/TrendLabel/TrendLabel.js +79 -0
  53. package/dist/scripts/{src → xmlui/src}/components-core/Component.js +8 -5
  54. package/dist/scripts/{src → xmlui/src}/components-core/ComponentDecorator.js +17 -3
  55. package/dist/scripts/xmlui/src/components-core/InspectorContext.js +176 -0
  56. package/dist/scripts/{src → xmlui/src}/components-core/RootComponent.js +8 -6
  57. package/dist/scripts/xmlui/src/components-core/XmluiCodeHighlighter.js +95 -0
  58. package/dist/scripts/{src → xmlui/src}/components-core/loader/DataLoader.js +14 -6
  59. package/dist/scripts/{src → xmlui/src}/components-core/script-runner/eval-tree-common.js +2 -7
  60. package/dist/scripts/{src → xmlui/src}/components-core/script-runner/process-statement-async.js +0 -59
  61. package/dist/scripts/{src → xmlui/src}/components-core/script-runner/process-statement-common.js +2 -2
  62. package/dist/scripts/{src → xmlui/src}/components-core/theming/ThemeProvider.js +4 -0
  63. package/dist/scripts/{src → xmlui/src}/components-core/theming/themes/root.js +20 -15
  64. package/dist/scripts/{src → xmlui/src}/components-core/theming/themes/theme-colors.js +164 -2
  65. package/dist/scripts/{src → xmlui/src}/components-core/theming/themes/xmlui.js +17 -1
  66. package/dist/scripts/xmlui/src/components-core/xmlui-parser.js +51 -0
  67. package/dist/scripts/{src → xmlui/src}/parsers/scripting/Parser.js +1 -1
  68. package/dist/scripts/{src → xmlui/src}/parsers/scripting/code-behind-collect.js +8 -4
  69. package/dist/scripts/{src/components-core/script-runner → xmlui/src/parsers/scripting}/modules.js +74 -6
  70. package/dist/scripts/{src/parsers/ueml → xmlui/src/parsers/xmlui-parser}/ParserError.js +1 -1
  71. package/dist/scripts/{src → xmlui/src}/parsers/xmlui-parser/parser.js +27 -20
  72. package/dist/scripts/{src → xmlui/src}/parsers/xmlui-parser/transform.js +113 -56
  73. package/dist/wasm-SPaT1zC5.mjs +5 -0
  74. package/dist/xmlui-C8fXVsN3.mjs +636 -0
  75. package/dist/xmlui-standalone.es.js +1 -1
  76. package/dist/xmlui-standalone.umd.js +289 -281
  77. package/dist/xmlui.es.d.ts +40 -21
  78. package/dist/xmlui.es.js +1 -1
  79. package/dist/xmlui.umd.js +124 -116
  80. package/package.json +12 -3
  81. package/dist/scripts/src/abstractions/BlockScope.js +0 -4
  82. package/dist/scripts/src/components/Card/Card.js +0 -65
  83. package/dist/scripts/src/components/FormSection/FormSection.js +0 -45
  84. package/dist/scripts/src/components-core/xmlui-parser.js +0 -52
  85. package/dist/scripts/src/parsers/ueml/UemlHelper.js +0 -579
  86. package/dist/scripts/src/parsers/ueml/UemlInputStream.js +0 -59
  87. package/dist/scripts/src/parsers/ueml/UemlLexer.js +0 -868
  88. package/dist/scripts/src/parsers/ueml/UemlParser.js +0 -1439
  89. package/dist/scripts/src/parsers/ueml/UemlToken.js +0 -24
  90. /package/dist/scripts/{bin → xmlui/bin}/bootstrap.js +0 -0
  91. /package/dist/scripts/{bin → xmlui/bin}/build.js +0 -0
  92. /package/dist/scripts/{bin → xmlui/bin}/index.js +0 -0
  93. /package/dist/scripts/{bin → xmlui/bin}/preview.js +0 -0
  94. /package/dist/scripts/{bin → xmlui/bin}/start.js +0 -0
  95. /package/dist/scripts/{bin → xmlui/bin}/viteConfig.js +0 -0
  96. /package/dist/scripts/{src → xmlui/src}/abstractions/ActionDefs.js +0 -0
  97. /package/dist/scripts/{src → xmlui/src}/abstractions/AppContextDefs.js +0 -0
  98. /package/dist/scripts/{src → xmlui/src}/abstractions/ComponentDefs.js +0 -0
  99. /package/dist/scripts/{src → xmlui/src}/abstractions/ComponentDescriptorDefs.js +0 -0
  100. /package/dist/scripts/{src → xmlui/src}/abstractions/ContainerDefs.js +0 -0
  101. /package/dist/scripts/{src → xmlui/src}/abstractions/FunctionDefs.js +0 -0
  102. /package/dist/scripts/{src → xmlui/src}/abstractions/RendererDefs.js +0 -0
  103. /package/dist/scripts/{src/abstractions/scripting/ScriptParserError.js → xmlui/src/abstractions/scripting/BlockScope.js} +0 -0
  104. /package/dist/scripts/{src/components-core/script-runner → xmlui/src/abstractions/scripting}/LogicalThread.js +0 -0
  105. /package/dist/scripts/{src/components-core/script-runner → xmlui/src/abstractions/scripting}/LoopScope.js +0 -0
  106. /package/dist/scripts/{src/abstractions/scripting/ScriptingSourceTree.js → xmlui/src/abstractions/scripting/ScriptParserError.js} +0 -0
  107. /package/dist/scripts/{src/components-core/abstractions/ComponentRenderer.js → xmlui/src/abstractions/scripting/ScriptingSourceTree.js} +0 -0
  108. /package/dist/scripts/{src → xmlui/src}/abstractions/scripting/Token.js +0 -0
  109. /package/dist/scripts/{src/components-core/script-runner → xmlui/src/abstractions/scripting}/TryScope.js +0 -0
  110. /package/dist/scripts/{src/components-core/abstractions/LoaderRenderer.js → xmlui/src/abstractions/scripting/modules.js} +0 -0
  111. /package/dist/scripts/{src → xmlui/src}/components/App/App.js +0 -0
  112. /package/dist/scripts/{src → xmlui/src}/components/App/AppLayoutContext.js +0 -0
  113. /package/dist/scripts/{src → xmlui/src}/components/App/AppStateContext.js +0 -0
  114. /package/dist/scripts/{src → xmlui/src}/components/App/Sheet.js +0 -0
  115. /package/dist/scripts/{src → xmlui/src}/components/AppState/AppState.js +0 -0
  116. /package/dist/scripts/{src → xmlui/src}/components/Badge/Badge.js +0 -0
  117. /package/dist/scripts/{src → xmlui/src}/components/BarChart/BarChart.js +0 -0
  118. /package/dist/scripts/{src → xmlui/src}/components/Bookmark/Bookmark.js +0 -0
  119. /package/dist/scripts/{src → xmlui/src}/components/ChangeListener/ChangeListener.js +0 -0
  120. /package/dist/scripts/{src → xmlui/src}/components/Checkbox/Checkbox.js +0 -0
  121. /package/dist/scripts/{src → xmlui/src}/components/ContentSeparator/ContentSeparator.js +0 -0
  122. /package/dist/scripts/{src → xmlui/src}/components/DatePicker/DatePicker.js +0 -0
  123. /package/dist/scripts/{src → xmlui/src}/components/EmojiSelector/EmojiSelector.js +0 -0
  124. /package/dist/scripts/{src → xmlui/src}/components/FileInput/FileInput.js +0 -0
  125. /package/dist/scripts/{src → xmlui/src}/components/FileUploadDropZone/FileUploadDropZone.js +0 -0
  126. /package/dist/scripts/{src → xmlui/src}/components/Footer/Footer.js +0 -0
  127. /package/dist/scripts/{src → xmlui/src}/components/Form/Form.js +0 -0
  128. /package/dist/scripts/{src → xmlui/src}/components/Form/FormContext.js +0 -0
  129. /package/dist/scripts/{src → xmlui/src}/components/Form/formActions.js +0 -0
  130. /package/dist/scripts/{src → xmlui/src}/components/FormItem/FormItem.js +0 -0
  131. /package/dist/scripts/{src → xmlui/src}/components/FormItem/HelperText.js +0 -0
  132. /package/dist/scripts/{src → xmlui/src}/components/FormItem/ItemWithLabel.js +0 -0
  133. /package/dist/scripts/{src → xmlui/src}/components/FormItem/Validations.js +0 -0
  134. /package/dist/scripts/{src → xmlui/src}/components/HoverCard/HoverCard.js +0 -0
  135. /package/dist/scripts/{src → xmlui/src}/components/Icon/ApiIcon.js +0 -0
  136. /package/dist/scripts/{src → xmlui/src}/components/Icon/Attach.js +0 -0
  137. /package/dist/scripts/{src → xmlui/src}/components/Icon/Binding.js +0 -0
  138. /package/dist/scripts/{src → xmlui/src}/components/Icon/BoardIcon.js +0 -0
  139. /package/dist/scripts/{src → xmlui/src}/components/Icon/BoxIcon.js +0 -0
  140. /package/dist/scripts/{src → xmlui/src}/components/Icon/CheckIcon.js +0 -0
  141. /package/dist/scripts/{src → xmlui/src}/components/Icon/ChevronDownIcon.js +0 -0
  142. /package/dist/scripts/{src → xmlui/src}/components/Icon/ChevronLeft.js +0 -0
  143. /package/dist/scripts/{src → xmlui/src}/components/Icon/ChevronRight.js +0 -0
  144. /package/dist/scripts/{src → xmlui/src}/components/Icon/ChevronUpIcon.js +0 -0
  145. /package/dist/scripts/{src → xmlui/src}/components/Icon/CodeFileIcon.js +0 -0
  146. /package/dist/scripts/{src → xmlui/src}/components/Icon/CodeSandbox.js +0 -0
  147. /package/dist/scripts/{src → xmlui/src}/components/Icon/CompactListIcon.js +0 -0
  148. /package/dist/scripts/{src → xmlui/src}/components/Icon/ContentCopyIcon.js +0 -0
  149. /package/dist/scripts/{src → xmlui/src}/components/Icon/DatabaseIcon.js +0 -0
  150. /package/dist/scripts/{src → xmlui/src}/components/Icon/DocFileIcon.js +0 -0
  151. /package/dist/scripts/{src → xmlui/src}/components/Icon/DocIcon.js +0 -0
  152. /package/dist/scripts/{src → xmlui/src}/components/Icon/DotMenuHorizontalIcon.js +0 -0
  153. /package/dist/scripts/{src → xmlui/src}/components/Icon/DotMenuIcon.js +0 -0
  154. /package/dist/scripts/{src → xmlui/src}/components/Icon/EmailIcon.js +0 -0
  155. /package/dist/scripts/{src → xmlui/src}/components/Icon/EmptyFolderIcon.js +0 -0
  156. /package/dist/scripts/{src → xmlui/src}/components/Icon/ErrorIcon.js +0 -0
  157. /package/dist/scripts/{src → xmlui/src}/components/Icon/ExpressionIcon.js +0 -0
  158. /package/dist/scripts/{src → xmlui/src}/components/Icon/FillPlusCricleIcon.js +0 -0
  159. /package/dist/scripts/{src → xmlui/src}/components/Icon/FilterIcon.js +0 -0
  160. /package/dist/scripts/{src → xmlui/src}/components/Icon/FolderIcon.js +0 -0
  161. /package/dist/scripts/{src → xmlui/src}/components/Icon/GlobeIcon.js +0 -0
  162. /package/dist/scripts/{src → xmlui/src}/components/Icon/HomeIcon.js +0 -0
  163. /package/dist/scripts/{src → xmlui/src}/components/Icon/HyperLinkIcon.js +0 -0
  164. /package/dist/scripts/{src → xmlui/src}/components/Icon/ImageFileIcon.js +0 -0
  165. /package/dist/scripts/{src → xmlui/src}/components/Icon/LinkIcon.js +0 -0
  166. /package/dist/scripts/{src → xmlui/src}/components/Icon/ListIcon.js +0 -0
  167. /package/dist/scripts/{src → xmlui/src}/components/Icon/LooseListIcon.js +0 -0
  168. /package/dist/scripts/{src → xmlui/src}/components/Icon/MoonIcon.js +0 -0
  169. /package/dist/scripts/{src → xmlui/src}/components/Icon/MoreOptionsIcon.js +0 -0
  170. /package/dist/scripts/{src → xmlui/src}/components/Icon/PDFIcon.js +0 -0
  171. /package/dist/scripts/{src → xmlui/src}/components/Icon/PenIcon.js +0 -0
  172. /package/dist/scripts/{src → xmlui/src}/components/Icon/PhoneIcon.js +0 -0
  173. /package/dist/scripts/{src → xmlui/src}/components/Icon/PhotoIcon.js +0 -0
  174. /package/dist/scripts/{src → xmlui/src}/components/Icon/PlusIcon.js +0 -0
  175. /package/dist/scripts/{src → xmlui/src}/components/Icon/SearchIcon.js +0 -0
  176. /package/dist/scripts/{src → xmlui/src}/components/Icon/ShareIcon.js +0 -0
  177. /package/dist/scripts/{src → xmlui/src}/components/Icon/SunIcon.js +0 -0
  178. /package/dist/scripts/{src → xmlui/src}/components/Icon/TrashIcon.js +0 -0
  179. /package/dist/scripts/{src → xmlui/src}/components/Icon/TxtIcon.js +0 -0
  180. /package/dist/scripts/{src → xmlui/src}/components/Icon/UnknownFileIcon.js +0 -0
  181. /package/dist/scripts/{src → xmlui/src}/components/Icon/UnlinkIcon.js +0 -0
  182. /package/dist/scripts/{src → xmlui/src}/components/Icon/UserIcon.js +0 -0
  183. /package/dist/scripts/{src → xmlui/src}/components/Icon/WarningIcon.js +0 -0
  184. /package/dist/scripts/{src → xmlui/src}/components/Icon/XlsIcon.js +0 -0
  185. /package/dist/scripts/{src → xmlui/src}/components/IconRegistryContext.js +0 -0
  186. /package/dist/scripts/{src → xmlui/src}/components/Input/InputAdornment.js +0 -0
  187. /package/dist/scripts/{src → xmlui/src}/components/Input/input-abstractions.js +0 -0
  188. /package/dist/scripts/{src → xmlui/src}/components/Items/Items.js +0 -0
  189. /package/dist/scripts/{src → xmlui/src}/components/List/List.js +0 -0
  190. /package/dist/scripts/{src → xmlui/src}/components/Logo/Logo.js +0 -0
  191. /package/dist/scripts/{src → xmlui/src}/components/Map/world_countries.json +0 -0
  192. /package/dist/scripts/{src → xmlui/src}/components/Markdown/Markdown.js +0 -0
  193. /package/dist/scripts/{src → xmlui/src}/components/ModalDialog/ConfirmationModalContextProvider.js +0 -0
  194. /package/dist/scripts/{src → xmlui/src}/components/ModalDialog/Dialog.js +0 -0
  195. /package/dist/scripts/{src → xmlui/src}/components/MultiSelect/MultiSelect.js +0 -0
  196. /package/dist/scripts/{src → xmlui/src}/components/NavGroup/NavGroup.js +0 -0
  197. /package/dist/scripts/{src → xmlui/src}/components/NoResult/NoResult.js +0 -0
  198. /package/dist/scripts/{src → xmlui/src}/components/NumberBox/NumberBox.js +0 -0
  199. /package/dist/scripts/{src → xmlui/src}/components/Option/Option.js +0 -0
  200. /package/dist/scripts/{src → xmlui/src}/components/PageMetaTitle/PageMetaTitle.js +0 -0
  201. /package/dist/scripts/{src → xmlui/src}/components/Pages/Pages.js +0 -0
  202. /package/dist/scripts/{src → xmlui/src}/components/Pdf/LazyPdf.js +0 -0
  203. /package/dist/scripts/{src → xmlui/src}/components/Pdf/Pdf.js +0 -0
  204. /package/dist/scripts/{src → xmlui/src}/components/PieChart/PieChart.js +0 -0
  205. /package/dist/scripts/{src → xmlui/src}/components/PositionedContainer/PositionedContainer.js +0 -0
  206. /package/dist/scripts/{src → xmlui/src}/components/Queue/Queue.js +0 -0
  207. /package/dist/scripts/{src → xmlui/src}/components/Queue/queueActions.js +0 -0
  208. /package/dist/scripts/{src → xmlui/src}/components/RadioGroup/RadioGroup.js +0 -0
  209. /package/dist/scripts/{src → xmlui/src}/components/RealTimeAdapter/RealTimeAdapter.js +0 -0
  210. /package/dist/scripts/{src → xmlui/src}/components/Redirect/Redirect.js +0 -0
  211. /package/dist/scripts/{src → xmlui/src}/components/Select/Select.js +0 -0
  212. /package/dist/scripts/{src → xmlui/src}/components/Select/SelectContext.js +0 -0
  213. /package/dist/scripts/{src → xmlui/src}/components/SelectionStore/SelectionStore.js +0 -0
  214. /package/dist/scripts/{src → xmlui/src}/components/SpaceFiller/SpaceFiller.js +0 -0
  215. /package/dist/scripts/{src → xmlui/src}/components/Spinner/Spinner.js +0 -0
  216. /package/dist/scripts/{src → xmlui/src}/components/Splitter/Splitter.js +0 -0
  217. /package/dist/scripts/{src → xmlui/src}/components/Splitter/utils.js +0 -0
  218. /package/dist/scripts/{src → xmlui/src}/components/Stack/Stack.js +0 -0
  219. /package/dist/scripts/{src → xmlui/src}/components/StickyBox/StickyBox.js +0 -0
  220. /package/dist/scripts/{src → xmlui/src}/components/Switch/Switch.js +0 -0
  221. /package/dist/scripts/{src → xmlui/src}/components/Table/useRowSelection.js +0 -0
  222. /package/dist/scripts/{src → xmlui/src}/components/TableColumnDef/TableColumnDef.js +0 -0
  223. /package/dist/scripts/{src → xmlui/src}/components/TableColumnDef/TableContext.js +0 -0
  224. /package/dist/scripts/{src → xmlui/src}/components/Tabs/Tabs.js +0 -0
  225. /package/dist/scripts/{src → xmlui/src}/components/TextArea/TextArea.js +0 -0
  226. /package/dist/scripts/{src → xmlui/src}/components/TextArea/TextAreaResizable.js +0 -0
  227. /package/dist/scripts/{src → xmlui/src}/components/TextArea/useComposedRef.js +0 -0
  228. /package/dist/scripts/{src → xmlui/src}/components/TextBox/TextBox.js +0 -0
  229. /package/dist/scripts/{src → xmlui/src}/components/Theme/NotificationToast.js +0 -0
  230. /package/dist/scripts/{src → xmlui/src}/components/Theme/Theme.js +0 -0
  231. /package/dist/scripts/{src → xmlui/src}/components/Tree/TreeComponent.js +0 -0
  232. /package/dist/scripts/{src → xmlui/src}/components/ValidationSummary/ValidationSummary.js +0 -0
  233. /package/dist/scripts/{src → xmlui/src}/components/ViewComponentRegistryContext.js +0 -0
  234. /package/dist/scripts/{src/parsers/ueml/source-tree.js → xmlui/src/components/abstractions.js} +0 -0
  235. /package/dist/scripts/{src → xmlui/src}/components/chart-color-schemes.js +0 -0
  236. /package/dist/scripts/{src → xmlui/src}/components/component-utils.js +0 -0
  237. /package/dist/scripts/{src → xmlui/src}/components/container-helpers.js +0 -0
  238. /package/dist/scripts/{src → xmlui/src}/components-core/ApiBoundComponent.js +0 -0
  239. /package/dist/scripts/{src → xmlui/src}/components-core/AppContext.js +0 -0
  240. /package/dist/scripts/{src → xmlui/src}/components-core/ChildrenSlot.js +0 -0
  241. /package/dist/scripts/{src → xmlui/src}/components-core/CompoundComponent.js +0 -0
  242. /package/dist/scripts/{src → xmlui/src}/components-core/EngineError.js +0 -0
  243. /package/dist/scripts/{src → xmlui/src}/components-core/ErrorBoundary.js +0 -0
  244. /package/dist/scripts/{src → xmlui/src}/components-core/Fragment.js +0 -0
  245. /package/dist/scripts/{src → xmlui/src}/components-core/InvalidComponent.js +0 -0
  246. /package/dist/scripts/{src → xmlui/src}/components-core/LoaderComponent.js +0 -0
  247. /package/dist/scripts/{src → xmlui/src}/components-core/RestApiProxy.js +0 -0
  248. /package/dist/scripts/{src → xmlui/src}/components-core/RouteContext.js +0 -0
  249. /package/dist/scripts/{src → xmlui/src}/components-core/ScrollContext.js +0 -0
  250. /package/dist/scripts/{src → xmlui/src}/components-core/UnknownComponent.js +0 -0
  251. /package/dist/scripts/{src/components-core/abstractions/treeAbstractions.js → xmlui/src/components-core/abstractions/ComponentRenderer.js} +0 -0
  252. /package/dist/scripts/{src/components-core/interception/abstractions.js → xmlui/src/components-core/abstractions/LoaderRenderer.js} +0 -0
  253. /package/dist/scripts/{src → xmlui/src}/components-core/abstractions/containers.js +0 -0
  254. /package/dist/scripts/{src/components/abstractions.js → xmlui/src/components-core/abstractions/treeAbstractions.js} +0 -0
  255. /package/dist/scripts/{src → xmlui/src}/components-core/action/ApiAction.js +0 -0
  256. /package/dist/scripts/{src → xmlui/src}/components-core/action/DownloadFileAction.js +0 -0
  257. /package/dist/scripts/{src → xmlui/src}/components-core/action/NavigateAction.js +0 -0
  258. /package/dist/scripts/{src → xmlui/src}/components-core/action/TimedAction.js +0 -0
  259. /package/dist/scripts/{src → xmlui/src}/components-core/action/UploadAction.js +0 -0
  260. /package/dist/scripts/{src → xmlui/src}/components-core/action/actions.js +0 -0
  261. /package/dist/scripts/{src → xmlui/src}/components-core/appContext/date-functions.js +0 -0
  262. /package/dist/scripts/{src → xmlui/src}/components-core/appContext/misc-utils.js +0 -0
  263. /package/dist/scripts/{src → xmlui/src}/components-core/component-hooks.js +0 -0
  264. /package/dist/scripts/{src → xmlui/src}/components-core/constants.js +0 -0
  265. /package/dist/scripts/{src → xmlui/src}/components-core/container/Container.js +0 -0
  266. /package/dist/scripts/{src → xmlui/src}/components-core/container/ContainerComponentDef.js +0 -0
  267. /package/dist/scripts/{src → xmlui/src}/components-core/container/buildProxy.js +0 -0
  268. /package/dist/scripts/{src → xmlui/src}/components-core/container/collectFnVarDeps.js +0 -0
  269. /package/dist/scripts/{src → xmlui/src}/components-core/container/valueExtractor.js +0 -0
  270. /package/dist/scripts/{src → xmlui/src}/components-core/descriptorHelper.js +0 -0
  271. /package/dist/scripts/{src/parsers/style-parser/source-tree.js → xmlui/src/components-core/interception/abstractions.js} +0 -0
  272. /package/dist/scripts/{src → xmlui/src}/components-core/interception/useApiInterceptorContext.js +0 -0
  273. /package/dist/scripts/{src → xmlui/src}/components-core/loader/ApiLoader.js +0 -0
  274. /package/dist/scripts/{src → xmlui/src}/components-core/loader/ExternalDataLoader.js +0 -0
  275. /package/dist/scripts/{src → xmlui/src}/components-core/loader/Loader.js +0 -0
  276. /package/dist/scripts/{src → xmlui/src}/components-core/loader/MockLoaderRenderer.js +0 -0
  277. /package/dist/scripts/{src → xmlui/src}/components-core/loader/PageableLoader.js +0 -0
  278. /package/dist/scripts/{src → xmlui/src}/components-core/renderers.js +0 -0
  279. /package/dist/scripts/{src → xmlui/src}/components-core/reportEngineError.js +0 -0
  280. /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/BindingTreeEvaluationContext.js +0 -0
  281. /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/ICustomOperations.js +0 -0
  282. /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/ParameterParser.js +0 -0
  283. /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/asyncProxy.js +0 -0
  284. /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/bannedFunctions.js +0 -0
  285. /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/custom-operations-registry.js +0 -0
  286. /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/custom-ui-data.js +0 -0
  287. /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/eval-tree-async.js +0 -0
  288. /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/eval-tree-sync.js +0 -0
  289. /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/process-statement-sync.js +0 -0
  290. /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/statement-queue.js +0 -0
  291. /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/visitors.js +0 -0
  292. /package/dist/scripts/{src → xmlui/src}/components-core/theming/ThemeContext.js +0 -0
  293. /package/dist/scripts/{src → xmlui/src}/components-core/theming/abstractions.js +0 -0
  294. /package/dist/scripts/{src → xmlui/src}/components-core/theming/extendThemeUtils.js +0 -0
  295. /package/dist/scripts/{src → xmlui/src}/components-core/theming/hvar.js +0 -0
  296. /package/dist/scripts/{src → xmlui/src}/components-core/theming/themeVars.js +0 -0
  297. /package/dist/scripts/{src → xmlui/src}/components-core/theming/themes/base-utils.js +0 -0
  298. /package/dist/scripts/{src → xmlui/src}/components-core/theming/themes/palette.js +0 -0
  299. /package/dist/scripts/{src → xmlui/src}/components-core/theming/themes/solid.js +0 -0
  300. /package/dist/scripts/{src → xmlui/src}/components-core/theming/transformThemeVars.js +0 -0
  301. /package/dist/scripts/{src → xmlui/src}/components-core/utils/DataLoaderQueryKeyGenerator.js +0 -0
  302. /package/dist/scripts/{src → xmlui/src}/components-core/utils/LruCache.js +0 -0
  303. /package/dist/scripts/{src → xmlui/src}/components-core/utils/actionUtils.js +0 -0
  304. /package/dist/scripts/{src → xmlui/src}/components-core/utils/classnames.js +0 -0
  305. /package/dist/scripts/{src → xmlui/src}/components-core/utils/css-utils.js +0 -0
  306. /package/dist/scripts/{src → xmlui/src}/components-core/utils/date-utils.js +0 -0
  307. /package/dist/scripts/{src → xmlui/src}/components-core/utils/extractParam.js +0 -0
  308. /package/dist/scripts/{src → xmlui/src}/components-core/utils/hooks.js +0 -0
  309. /package/dist/scripts/{src → xmlui/src}/components-core/utils/mergeProps.js +0 -0
  310. /package/dist/scripts/{src → xmlui/src}/components-core/utils/misc.js +0 -0
  311. /package/dist/scripts/{src → xmlui/src}/components-core/utils/statementUtils.js +0 -0
  312. /package/dist/scripts/{src → xmlui/src}/components-core/utils/treeUtils.js +0 -0
  313. /package/dist/scripts/{src/parsers/scripting → xmlui/src/parsers/common}/InputStream.js +0 -0
  314. /package/dist/scripts/{src → xmlui/src}/parsers/scripting/Lexer.js +0 -0
  315. /package/dist/scripts/{src → xmlui/src}/parsers/scripting/ParserError.js +0 -0
  316. /package/dist/scripts/{src → xmlui/src}/parsers/scripting/TokenTrait.js +0 -0
  317. /package/dist/scripts/{src → xmlui/src}/parsers/scripting/tree-visitor.js +0 -0
  318. /package/dist/scripts/{src → xmlui/src}/parsers/style-parser/StyleInputStream.js +0 -0
  319. /package/dist/scripts/{src → xmlui/src}/parsers/style-parser/StyleLexer.js +0 -0
  320. /package/dist/scripts/{src → xmlui/src}/parsers/style-parser/StyleParser.js +0 -0
  321. /package/dist/scripts/{src → xmlui/src}/parsers/style-parser/errors.js +0 -0
  322. /package/dist/scripts/{src/parsers/ueml/ueml-tree.js → xmlui/src/parsers/style-parser/source-tree.js} +0 -0
  323. /package/dist/scripts/{src → xmlui/src}/parsers/style-parser/style-compiler.js +0 -0
  324. /package/dist/scripts/{src → xmlui/src}/parsers/style-parser/tokens.js +0 -0
  325. /package/dist/scripts/{src → xmlui/src}/parsers/xmlui-parser/CharacterCodes.js +0 -0
  326. /package/dist/scripts/{src → xmlui/src}/parsers/xmlui-parser/diagnostics.js +0 -0
  327. /package/dist/scripts/{src/parsers/ueml → xmlui/src/parsers/xmlui-parser}/fileExtensions.js +0 -0
  328. /package/dist/scripts/{src → xmlui/src}/parsers/xmlui-parser/scanner.js +0 -0
  329. /package/dist/scripts/{src → xmlui/src}/parsers/xmlui-parser/syntax-kind.js +0 -0
  330. /package/dist/scripts/{src → xmlui/src}/parsers/xmlui-parser/syntax-node.js +0 -0
  331. /package/dist/scripts/{src → xmlui/src}/parsers/xmlui-parser/utils.js +0 -0
@@ -1,6 +1,5 @@
1
1
  import { CSSProperties } from 'react';
2
- import { default as default_2 } from 'react-dom/client';
3
- import { default as default_3 } from 'react';
2
+ import { default as default_2 } from 'react';
4
3
  import type { DefaultToastOptions } from 'react-hot-toast';
5
4
  import { ErrorInfo } from 'react';
6
5
  import { JSX as JSX_2 } from 'react/jsx-runtime';
@@ -8,6 +7,7 @@ import type { NavigateOptions } from 'react-router-dom';
8
7
  import type { QueryClient } from '@tanstack/react-query';
9
8
  import { ReactNode } from 'react';
10
9
  import type { Renderable } from 'react-hot-toast';
10
+ import type { Root } from 'react-dom/client';
11
11
  import type { To } from 'react-router-dom';
12
12
  import type { Toast } from 'react-hot-toast';
13
13
  import type { ToastOptions } from 'react-hot-toast';
@@ -145,6 +145,7 @@ declare type AppContextObject = {
145
145
  */
146
146
  readonly standalone?: boolean;
147
147
  readonly decorateComponentsWithTestId?: boolean;
148
+ readonly debugEnabled?: boolean;
148
149
  readonly signError: (error: Error | string) => void;
149
150
  readonly toast: {
150
151
  (message: Message, opts?: ToastOptions): string;
@@ -302,15 +303,15 @@ declare interface BreakStatement extends StatementBase {
302
303
  type: "BrkS";
303
304
  }
304
305
 
305
- export declare const Button: default_3.ForwardRefExoticComponent<{
306
+ export declare const Button: default_2.ForwardRefExoticComponent<{
306
307
  id?: string;
307
308
  type?: ButtonType;
308
309
  variant?: ButtonVariant;
309
310
  themeColor?: ButtonThemeColor;
310
311
  size?: ButtonSize;
311
312
  disabled?: boolean;
312
- children?: default_3.ReactNode | default_3.ReactNode[];
313
- icon?: default_3.ReactNode;
313
+ children?: default_2.ReactNode | default_2.ReactNode[];
314
+ icon?: default_2.ReactNode;
314
315
  iconPosition?: IconPosition;
315
316
  contentPosition?: AlignmentOptions;
316
317
  orientation?: OrientationOptions;
@@ -320,7 +321,7 @@ export declare const Button: default_3.ForwardRefExoticComponent<{
320
321
  accessibilityProps?: any;
321
322
  autoFocus?: boolean;
322
323
  title?: string;
323
- } & Pick<default_3.HTMLAttributes<HTMLButtonElement>, "className" | "onClick" | "tabIndex" | "onFocus" | "onBlur" | ButtonAria> & default_3.RefAttributes<HTMLButtonElement>>;
324
+ } & Pick<default_2.HTMLAttributes<HTMLButtonElement>, "className" | "onClick" | "tabIndex" | "onFocus" | "onBlur" | "onMouseEnter" | "onMouseLeave" | ButtonAria> & default_2.RefAttributes<HTMLButtonElement>>;
324
325
 
325
326
  declare type ButtonAria = "aria-controls" | "aria-expanded" | "aria-disabled" | "aria-label";
326
327
 
@@ -418,6 +419,13 @@ export declare interface ComponentDef<T extends string = string> extends Scripta
418
419
  * property holds the name of state values to flow down to the direct child containers.
419
420
  */
420
421
  uses?: string[];
422
+ /**
423
+ * Arbitrary debug information that can be attached to a component definition.
424
+ * Current usage:
425
+ * - `debug: { source: { start: number, end: number } }` Ther start and end positions of of the source
426
+ * belonging to the particular component definition.
427
+ */
428
+ debug?: Record<string, any>;
421
429
  }
422
430
 
423
431
  declare type ComponentDescriptor<T extends ComponentDef> = {
@@ -479,7 +487,7 @@ declare type ComponentRendererDef = {
479
487
  };
480
488
 
481
489
  /**
482
- *
490
+ * This function renders a component definition into a React component
483
491
  */
484
492
  declare type ComponentRendererFn<T extends ComponentDef> = (context: RendererContext<T>) => ReactNode;
485
493
 
@@ -508,6 +516,13 @@ export declare interface CompoundComponentDef extends Scriptable {
508
516
  * definition.
509
517
  */
510
518
  vars?: Record<string, any>;
519
+ /**
520
+ * Arbitrary debug information that can be attached to a component definition.
521
+ * Current usage:
522
+ * - `debug: { source: { start: number, end: number } }` Ther start and end positions of of the source
523
+ * belonging to the particular component definition.
524
+ */
525
+ debug?: Record<string, any>;
511
526
  }
512
527
 
513
528
  declare interface ConditionalExpression extends ExpressionBase {
@@ -598,7 +613,7 @@ declare interface EmptyStatement extends StatementBase {
598
613
  /**
599
614
  * This component serves as an error boundary; it catches any errors within the nested components
600
615
  */
601
- export declare class ErrorBoundary extends default_3.Component<Props, State> {
616
+ export declare class ErrorBoundary extends default_2.Component<Props, State> {
602
617
  /**
603
618
  * We start with "no error" state
604
619
  */
@@ -621,7 +636,7 @@ export declare class ErrorBoundary extends default_3.Component<Props, State> {
621
636
  * @param snapshot Optional snapshot (not used in this component)
622
637
  */
623
638
  componentDidUpdate(prevProps: Readonly<Props>, prevState: Readonly<State>, snapshot?: any): void;
624
- render(): string | number | boolean | Iterable<default_3.ReactNode> | JSX_2.Element;
639
+ render(): string | number | boolean | Iterable<default_2.ReactNode> | JSX_2.Element;
625
640
  }
626
641
 
627
642
  declare type EventDescriptorHash<T extends ComponentDef> = Partial<Record<keyof NonNullable<T["events"]>, ComponentPropertyDescriptor>>;
@@ -728,15 +743,15 @@ declare interface IApiInterceptorContext {
728
743
  isMocked: (url: string) => boolean;
729
744
  }
730
745
 
731
- export declare const Icon: ({ name, fallback, layout, className, ...restProps }: IconBaseProps) => JSX_2.Element;
746
+ export declare const Icon: default_2.ForwardRefExoticComponent<IconBaseProps & default_2.RefAttributes<unknown>>;
732
747
 
733
- declare interface IconBaseProps extends default_3.SVGAttributes<SVGElement> {
734
- children?: default_3.ReactNode;
748
+ declare interface IconBaseProps extends default_2.SVGAttributes<SVGElement> {
749
+ children?: default_2.ReactNode;
735
750
  color?: string;
736
751
  title?: string;
737
752
  size?: string;
738
753
  isInline?: boolean;
739
- fallback?: string | default_3.ReactNode;
754
+ fallback?: string | default_2.ReactNode;
740
755
  layout?: CSSProperties;
741
756
  }
742
757
 
@@ -982,7 +997,7 @@ declare type Orientation = "horizontal" | "vertical";
982
997
 
983
998
  declare type OrientationOptions = "horizontal" | "vertical";
984
999
 
985
- export declare function parseXmlUiMarkup(source: string, moduleResolver?: ModuleResolver, useOldParser?: boolean): ComponentDef<string> | CompoundComponentDef;
1000
+ export declare function parseXmlUiMarkup(source: string, fileId?: string | number, moduleResolver?: ModuleResolver): ComponentDef<string> | CompoundComponentDef;
986
1001
 
987
1002
  declare interface PostfixOpExpression extends ExpressionBase {
988
1003
  type: "PostfE";
@@ -1088,7 +1103,7 @@ declare interface ReturnStatement extends StatementBase {
1088
1103
  expression?: Expression;
1089
1104
  }
1090
1105
 
1091
- export declare function RootComponent({ apiInterceptor, contributes, node, decorateComponentsWithTestId, defaultTheme, defaultTone, resources, globalProps, standalone, baseName, previewMode, servedFromSingleFile, resourceMap, }: RootComponentProps): JSX_2.Element;
1106
+ export declare function RootComponent({ apiInterceptor, contributes, node, decorateComponentsWithTestId, debugEnabled, defaultTheme, defaultTone, resources, globalProps, standalone, baseName, previewMode, servedFromSingleFile, resourceMap, sources }: RootComponentProps): JSX_2.Element;
1092
1107
 
1093
1108
  /**
1094
1109
  * The properties of the root component
@@ -1121,10 +1136,12 @@ declare type RootComponentProps = {
1121
1136
  */
1122
1137
  standalone?: boolean;
1123
1138
  decorateComponentsWithTestId?: boolean;
1139
+ debugEnabled?: boolean;
1124
1140
  apiInterceptor?: ApiInterceptorDefinition;
1125
1141
  defaultTheme?: string;
1126
1142
  defaultTone?: ThemeTone;
1127
1143
  resourceMap?: Record<string, string>;
1144
+ sources?: Record<string, string>;
1128
1145
  };
1129
1146
 
1130
1147
  declare type SchemaDescriptor = {
@@ -1186,15 +1203,15 @@ declare type SplitProps = {
1186
1203
  /**
1187
1204
  * The children to display in the splitter.
1188
1205
  */
1189
- children: default_3.ReactNode[] | default_3.ReactNode;
1206
+ children: default_2.ReactNode[] | default_2.ReactNode;
1190
1207
  /**
1191
1208
  * The layout of the splitter.
1192
1209
  */
1193
- layout?: default_3.CSSProperties;
1210
+ layout?: default_2.CSSProperties;
1194
1211
  /**
1195
1212
  * The template to display in the splitter.
1196
1213
  */
1197
- splitterTemplate?: default_3.ReactNode;
1214
+ splitterTemplate?: default_2.ReactNode;
1198
1215
  /**
1199
1216
  * The orientation of the splitter.
1200
1217
  * The default is "horizontal".
@@ -1237,9 +1254,9 @@ declare interface SpreadExpression extends ExpressionBase {
1237
1254
  operand: Expression;
1238
1255
  }
1239
1256
 
1240
- export declare const Stack: default_3.ForwardRefExoticComponent<Props_2 & default_3.RefAttributes<any>>;
1257
+ export declare const Stack: default_2.ForwardRefExoticComponent<Props_2 & default_2.RefAttributes<any>>;
1241
1258
 
1242
- export declare function StandaloneApp({ appDef, decorateComponentsWithTestId, runtime, components: customComponents, }: StandaloneAppProps): JSX_2.Element;
1259
+ export declare function StandaloneApp({ appDef, decorateComponentsWithTestId, debugEnabled, runtime, components: customComponents, }: StandaloneAppProps): JSX_2.Element;
1243
1260
 
1244
1261
  export declare type StandaloneAppDescription = {
1245
1262
  name?: string;
@@ -1253,11 +1270,13 @@ export declare type StandaloneAppDescription = {
1253
1270
  resourceMap?: Record<string, string>;
1254
1271
  globals?: Record<string, any>;
1255
1272
  apiInterceptor?: ApiInterceptorDefinition;
1273
+ sources?: Record<string, string>;
1256
1274
  };
1257
1275
 
1258
1276
  declare type StandaloneAppProps = {
1259
1277
  appDef?: StandaloneAppDescription;
1260
1278
  decorateComponentsWithTestId?: boolean;
1279
+ debugEnabled?: boolean;
1261
1280
  runtime?: any;
1262
1281
  components?: ComponentRendererDef[];
1263
1282
  };
@@ -1274,7 +1293,7 @@ export declare type StandaloneJsonConfig = {
1274
1293
  apiInterceptor?: ApiInterceptorDefinition;
1275
1294
  };
1276
1295
 
1277
- export declare function startApp(runtime?: any, components?: ComponentRendererDef[]): default_2.Root;
1296
+ export declare function startApp(runtime?: any, components?: ComponentRendererDef[]): Root;
1278
1297
 
1279
1298
  /**
1280
1299
  * This type represents the current state of the error boundary
package/dist/xmlui.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as o, E as e, I as r, A as t, e as p, b as n, S as u, c as l, f as m, p as C, s as c, t as S, h as d, u as A } from "./index-D4lrwrU-.mjs";
1
+ import { B as o, E as e, I as r, A as t, e as p, b as n, S as u, c as l, f as m, p as C, s as c, t as S, h as d, u as A } from "./index-DFmApFOY.mjs";
2
2
  export {
3
3
  o as Button,
4
4
  e as ErrorBoundary,