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.
- package/dist/{Pdf-49TqXRNN.mjs → Pdf-DY3dYAig.mjs} +1 -1
- package/dist/{Pdf-BH2vx5Qr.mjs → Pdf-DYj6pOR4.mjs} +1 -1
- package/dist/{apiInterceptorWorker-Bt5xchwi.mjs → apiInterceptorWorker-B_8SyVm7.mjs} +1 -1
- package/dist/{apiInterceptorWorker-BBlmEoWI.mjs → apiInterceptorWorker-CSMfMHnG.mjs} +1 -1
- package/dist/core-CiRlrzNN.mjs +5389 -0
- package/dist/core-TkN1rPOq.mjs +5390 -0
- package/dist/grammar.tmLanguage-Bgs-wS_O.mjs +636 -0
- package/dist/{index-D4lrwrU-.mjs → index-DFmApFOY.mjs} +12192 -12668
- package/dist/{index-standalone-OPhLIAuf.mjs → index-standalone-UVkKZMvh.mjs} +28299 -28777
- package/dist/index-standalone.css +1 -1
- package/dist/index.css +1 -1
- package/dist/{nivo-bar.es-DGyxXAiC.mjs → nivo-bar.es-tnCyX0Yr.mjs} +2 -2
- package/dist/{nivo-geo.es-xKJj5CIr.mjs → nivo-geo.es-BQ3VnkfD.mjs} +2 -2
- package/dist/{nivo-legends.es-Dp7DGs5k.mjs → nivo-legends.es-D-P_F-6G.mjs} +1 -1
- package/dist/{nivo-pie.es-BXZkJTQT.mjs → nivo-pie.es-Z4Ty7kQd.mjs} +2 -2
- package/dist/{react-apexcharts.min-ZKwRrO8G.mjs → react-apexcharts.min-DgtmaDk9.mjs} +1 -1
- package/dist/scripts/docs/syntax/grammar.tmLanguage.json +385 -0
- package/dist/scripts/docs/syntax/textMate/xmlui.json +629 -0
- package/dist/scripts/{bin → xmlui/bin}/vite-ueml-plugin.js +11 -16
- package/dist/scripts/{src → xmlui/src}/components/AppHeader/AppHeader.js +2 -2
- package/dist/scripts/{src → xmlui/src}/components/Avatar/Avatar.js +3 -3
- package/dist/scripts/{src → xmlui/src}/components/Button/Button.js +5 -3
- package/dist/scripts/xmlui/src/components/Card/Card.js +76 -0
- package/dist/scripts/{src → xmlui/src}/components/Chart/Chart.js +7 -6
- package/dist/scripts/{src → xmlui/src}/components/Combobox/Combobox.js +60 -22
- package/dist/scripts/{src → xmlui/src}/components/ComponentProvider.js +26 -6
- package/dist/scripts/{src → xmlui/src}/components/DropdownMenu/DropdownMenu.js +21 -14
- package/dist/scripts/{src → xmlui/src}/components/FlowLayout/FlowLayout.js +10 -9
- package/dist/scripts/xmlui/src/components/FormSection/FormSection.js +47 -0
- package/dist/scripts/{src → xmlui/src}/components/Heading/Heading.js +1 -1
- package/dist/scripts/{src → xmlui/src}/components/Icon/Icon.js +4 -3
- package/dist/scripts/xmlui/src/components/Icon/TrendingDownIcon.js +10 -0
- package/dist/scripts/xmlui/src/components/Icon/TrendingUpIcon.js +10 -0
- package/dist/scripts/xmlui/src/components/IconInfoCard/IconInfoCard.js +52 -0
- package/dist/scripts/{src → xmlui/src}/components/IconProvider.js +4 -1
- package/dist/scripts/{src → xmlui/src}/components/Image/Image.js +4 -4
- package/dist/scripts/{src → xmlui/src}/components/Link/Link.js +4 -4
- package/dist/scripts/{src → xmlui/src}/components/Map/Map.js +7 -1
- package/dist/scripts/{src → xmlui/src}/components/ModalDialog/ModalDialog.js +5 -1
- package/dist/scripts/{src → xmlui/src}/components/MultiCombobox/MultiCombobox.js +1 -1
- package/dist/scripts/{src → xmlui/src}/components/NavLink/NavLink.js +4 -3
- package/dist/scripts/{src → xmlui/src}/components/NavPanel/NavPanel.js +6 -4
- package/dist/scripts/xmlui/src/components/PageHeader/PageHeader.js +48 -0
- package/dist/scripts/{src → xmlui/src}/components/ProgressBar/ProgressBar.js +5 -4
- package/dist/scripts/{src → xmlui/src}/components/Table/Table.js +61 -51
- package/dist/scripts/xmlui/src/components/TableHeader/TableHeader.js +31 -0
- package/dist/scripts/{src → xmlui/src}/components/Text/Text.js +34 -13
- package/dist/scripts/{src → xmlui/src}/components/ThemeChanger/ThemeChanger.js +3 -24
- package/dist/scripts/{src → xmlui/src}/components/Toggle/Toggle.js +9 -8
- package/dist/scripts/xmlui/src/components/Toolbar/Toolbar.js +26 -0
- package/dist/scripts/xmlui/src/components/ToolbarButton/ToolbarButton.js +33 -0
- package/dist/scripts/xmlui/src/components/TrendLabel/TrendLabel.js +79 -0
- package/dist/scripts/{src → xmlui/src}/components-core/Component.js +8 -5
- package/dist/scripts/{src → xmlui/src}/components-core/ComponentDecorator.js +17 -3
- package/dist/scripts/xmlui/src/components-core/InspectorContext.js +176 -0
- package/dist/scripts/{src → xmlui/src}/components-core/RootComponent.js +8 -6
- package/dist/scripts/xmlui/src/components-core/XmluiCodeHighlighter.js +95 -0
- package/dist/scripts/{src → xmlui/src}/components-core/loader/DataLoader.js +14 -6
- package/dist/scripts/{src → xmlui/src}/components-core/script-runner/eval-tree-common.js +2 -7
- package/dist/scripts/{src → xmlui/src}/components-core/script-runner/process-statement-async.js +0 -59
- package/dist/scripts/{src → xmlui/src}/components-core/script-runner/process-statement-common.js +2 -2
- package/dist/scripts/{src → xmlui/src}/components-core/theming/ThemeProvider.js +4 -0
- package/dist/scripts/{src → xmlui/src}/components-core/theming/themes/root.js +20 -15
- package/dist/scripts/{src → xmlui/src}/components-core/theming/themes/theme-colors.js +164 -2
- package/dist/scripts/{src → xmlui/src}/components-core/theming/themes/xmlui.js +17 -1
- package/dist/scripts/xmlui/src/components-core/xmlui-parser.js +51 -0
- package/dist/scripts/{src → xmlui/src}/parsers/scripting/Parser.js +1 -1
- package/dist/scripts/{src → xmlui/src}/parsers/scripting/code-behind-collect.js +8 -4
- package/dist/scripts/{src/components-core/script-runner → xmlui/src/parsers/scripting}/modules.js +74 -6
- package/dist/scripts/{src/parsers/ueml → xmlui/src/parsers/xmlui-parser}/ParserError.js +1 -1
- package/dist/scripts/{src → xmlui/src}/parsers/xmlui-parser/parser.js +27 -20
- package/dist/scripts/{src → xmlui/src}/parsers/xmlui-parser/transform.js +113 -56
- package/dist/wasm-SPaT1zC5.mjs +5 -0
- package/dist/xmlui-C8fXVsN3.mjs +636 -0
- package/dist/xmlui-standalone.es.js +1 -1
- package/dist/xmlui-standalone.umd.js +289 -281
- package/dist/xmlui.es.d.ts +40 -21
- package/dist/xmlui.es.js +1 -1
- package/dist/xmlui.umd.js +124 -116
- package/package.json +12 -3
- package/dist/scripts/src/abstractions/BlockScope.js +0 -4
- package/dist/scripts/src/components/Card/Card.js +0 -65
- package/dist/scripts/src/components/FormSection/FormSection.js +0 -45
- package/dist/scripts/src/components-core/xmlui-parser.js +0 -52
- package/dist/scripts/src/parsers/ueml/UemlHelper.js +0 -579
- package/dist/scripts/src/parsers/ueml/UemlInputStream.js +0 -59
- package/dist/scripts/src/parsers/ueml/UemlLexer.js +0 -868
- package/dist/scripts/src/parsers/ueml/UemlParser.js +0 -1439
- package/dist/scripts/src/parsers/ueml/UemlToken.js +0 -24
- /package/dist/scripts/{bin → xmlui/bin}/bootstrap.js +0 -0
- /package/dist/scripts/{bin → xmlui/bin}/build.js +0 -0
- /package/dist/scripts/{bin → xmlui/bin}/index.js +0 -0
- /package/dist/scripts/{bin → xmlui/bin}/preview.js +0 -0
- /package/dist/scripts/{bin → xmlui/bin}/start.js +0 -0
- /package/dist/scripts/{bin → xmlui/bin}/viteConfig.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/abstractions/ActionDefs.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/abstractions/AppContextDefs.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/abstractions/ComponentDefs.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/abstractions/ComponentDescriptorDefs.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/abstractions/ContainerDefs.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/abstractions/FunctionDefs.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/abstractions/RendererDefs.js +0 -0
- /package/dist/scripts/{src/abstractions/scripting/ScriptParserError.js → xmlui/src/abstractions/scripting/BlockScope.js} +0 -0
- /package/dist/scripts/{src/components-core/script-runner → xmlui/src/abstractions/scripting}/LogicalThread.js +0 -0
- /package/dist/scripts/{src/components-core/script-runner → xmlui/src/abstractions/scripting}/LoopScope.js +0 -0
- /package/dist/scripts/{src/abstractions/scripting/ScriptingSourceTree.js → xmlui/src/abstractions/scripting/ScriptParserError.js} +0 -0
- /package/dist/scripts/{src/components-core/abstractions/ComponentRenderer.js → xmlui/src/abstractions/scripting/ScriptingSourceTree.js} +0 -0
- /package/dist/scripts/{src → xmlui/src}/abstractions/scripting/Token.js +0 -0
- /package/dist/scripts/{src/components-core/script-runner → xmlui/src/abstractions/scripting}/TryScope.js +0 -0
- /package/dist/scripts/{src/components-core/abstractions/LoaderRenderer.js → xmlui/src/abstractions/scripting/modules.js} +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/App/App.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/App/AppLayoutContext.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/App/AppStateContext.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/App/Sheet.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/AppState/AppState.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Badge/Badge.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/BarChart/BarChart.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Bookmark/Bookmark.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/ChangeListener/ChangeListener.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Checkbox/Checkbox.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/ContentSeparator/ContentSeparator.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/DatePicker/DatePicker.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/EmojiSelector/EmojiSelector.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/FileInput/FileInput.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/FileUploadDropZone/FileUploadDropZone.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Footer/Footer.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Form/Form.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Form/FormContext.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Form/formActions.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/FormItem/FormItem.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/FormItem/HelperText.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/FormItem/ItemWithLabel.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/FormItem/Validations.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/HoverCard/HoverCard.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/ApiIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/Attach.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/Binding.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/BoardIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/BoxIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/CheckIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/ChevronDownIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/ChevronLeft.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/ChevronRight.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/ChevronUpIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/CodeFileIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/CodeSandbox.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/CompactListIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/ContentCopyIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/DatabaseIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/DocFileIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/DocIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/DotMenuHorizontalIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/DotMenuIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/EmailIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/EmptyFolderIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/ErrorIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/ExpressionIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/FillPlusCricleIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/FilterIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/FolderIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/GlobeIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/HomeIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/HyperLinkIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/ImageFileIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/LinkIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/ListIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/LooseListIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/MoonIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/MoreOptionsIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/PDFIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/PenIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/PhoneIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/PhotoIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/PlusIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/SearchIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/ShareIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/SunIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/TrashIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/TxtIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/UnknownFileIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/UnlinkIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/UserIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/WarningIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Icon/XlsIcon.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/IconRegistryContext.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Input/InputAdornment.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Input/input-abstractions.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Items/Items.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/List/List.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Logo/Logo.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Map/world_countries.json +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Markdown/Markdown.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/ModalDialog/ConfirmationModalContextProvider.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/ModalDialog/Dialog.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/MultiSelect/MultiSelect.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/NavGroup/NavGroup.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/NoResult/NoResult.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/NumberBox/NumberBox.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Option/Option.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/PageMetaTitle/PageMetaTitle.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Pages/Pages.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Pdf/LazyPdf.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Pdf/Pdf.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/PieChart/PieChart.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/PositionedContainer/PositionedContainer.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Queue/Queue.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Queue/queueActions.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/RadioGroup/RadioGroup.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/RealTimeAdapter/RealTimeAdapter.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Redirect/Redirect.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Select/Select.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Select/SelectContext.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/SelectionStore/SelectionStore.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/SpaceFiller/SpaceFiller.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Spinner/Spinner.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Splitter/Splitter.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Splitter/utils.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Stack/Stack.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/StickyBox/StickyBox.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Switch/Switch.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Table/useRowSelection.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/TableColumnDef/TableColumnDef.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/TableColumnDef/TableContext.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Tabs/Tabs.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/TextArea/TextArea.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/TextArea/TextAreaResizable.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/TextArea/useComposedRef.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/TextBox/TextBox.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Theme/NotificationToast.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Theme/Theme.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/Tree/TreeComponent.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/ValidationSummary/ValidationSummary.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/ViewComponentRegistryContext.js +0 -0
- /package/dist/scripts/{src/parsers/ueml/source-tree.js → xmlui/src/components/abstractions.js} +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/chart-color-schemes.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/component-utils.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components/container-helpers.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/ApiBoundComponent.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/AppContext.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/ChildrenSlot.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/CompoundComponent.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/EngineError.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/ErrorBoundary.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/Fragment.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/InvalidComponent.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/LoaderComponent.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/RestApiProxy.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/RouteContext.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/ScrollContext.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/UnknownComponent.js +0 -0
- /package/dist/scripts/{src/components-core/abstractions/treeAbstractions.js → xmlui/src/components-core/abstractions/ComponentRenderer.js} +0 -0
- /package/dist/scripts/{src/components-core/interception/abstractions.js → xmlui/src/components-core/abstractions/LoaderRenderer.js} +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/abstractions/containers.js +0 -0
- /package/dist/scripts/{src/components/abstractions.js → xmlui/src/components-core/abstractions/treeAbstractions.js} +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/action/ApiAction.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/action/DownloadFileAction.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/action/NavigateAction.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/action/TimedAction.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/action/UploadAction.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/action/actions.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/appContext/date-functions.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/appContext/misc-utils.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/component-hooks.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/constants.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/container/Container.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/container/ContainerComponentDef.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/container/buildProxy.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/container/collectFnVarDeps.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/container/valueExtractor.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/descriptorHelper.js +0 -0
- /package/dist/scripts/{src/parsers/style-parser/source-tree.js → xmlui/src/components-core/interception/abstractions.js} +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/interception/useApiInterceptorContext.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/loader/ApiLoader.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/loader/ExternalDataLoader.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/loader/Loader.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/loader/MockLoaderRenderer.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/loader/PageableLoader.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/renderers.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/reportEngineError.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/BindingTreeEvaluationContext.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/ICustomOperations.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/ParameterParser.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/asyncProxy.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/bannedFunctions.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/custom-operations-registry.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/custom-ui-data.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/eval-tree-async.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/eval-tree-sync.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/process-statement-sync.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/statement-queue.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/script-runner/visitors.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/theming/ThemeContext.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/theming/abstractions.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/theming/extendThemeUtils.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/theming/hvar.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/theming/themeVars.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/theming/themes/base-utils.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/theming/themes/palette.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/theming/themes/solid.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/theming/transformThemeVars.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/utils/DataLoaderQueryKeyGenerator.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/utils/LruCache.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/utils/actionUtils.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/utils/classnames.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/utils/css-utils.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/utils/date-utils.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/utils/extractParam.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/utils/hooks.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/utils/mergeProps.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/utils/misc.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/utils/statementUtils.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/components-core/utils/treeUtils.js +0 -0
- /package/dist/scripts/{src/parsers/scripting → xmlui/src/parsers/common}/InputStream.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/parsers/scripting/Lexer.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/parsers/scripting/ParserError.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/parsers/scripting/TokenTrait.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/parsers/scripting/tree-visitor.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/parsers/style-parser/StyleInputStream.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/parsers/style-parser/StyleLexer.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/parsers/style-parser/StyleParser.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/parsers/style-parser/errors.js +0 -0
- /package/dist/scripts/{src/parsers/ueml/ueml-tree.js → xmlui/src/parsers/style-parser/source-tree.js} +0 -0
- /package/dist/scripts/{src → xmlui/src}/parsers/style-parser/style-compiler.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/parsers/style-parser/tokens.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/parsers/xmlui-parser/CharacterCodes.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/parsers/xmlui-parser/diagnostics.js +0 -0
- /package/dist/scripts/{src/parsers/ueml → xmlui/src/parsers/xmlui-parser}/fileExtensions.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/parsers/xmlui-parser/scanner.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/parsers/xmlui-parser/syntax-kind.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/parsers/xmlui-parser/syntax-node.js +0 -0
- /package/dist/scripts/{src → xmlui/src}/parsers/xmlui-parser/utils.js +0 -0
package/dist/xmlui.es.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
-
import { default as default_2 } from 'react
|
|
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:
|
|
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?:
|
|
313
|
-
icon?:
|
|
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<
|
|
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
|
|
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<
|
|
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:
|
|
746
|
+
export declare const Icon: default_2.ForwardRefExoticComponent<IconBaseProps & default_2.RefAttributes<unknown>>;
|
|
732
747
|
|
|
733
|
-
declare interface IconBaseProps extends
|
|
734
|
-
children?:
|
|
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 |
|
|
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,
|
|
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:
|
|
1206
|
+
children: default_2.ReactNode[] | default_2.ReactNode;
|
|
1190
1207
|
/**
|
|
1191
1208
|
* The layout of the splitter.
|
|
1192
1209
|
*/
|
|
1193
|
-
layout?:
|
|
1210
|
+
layout?: default_2.CSSProperties;
|
|
1194
1211
|
/**
|
|
1195
1212
|
* The template to display in the splitter.
|
|
1196
1213
|
*/
|
|
1197
|
-
splitterTemplate?:
|
|
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:
|
|
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[]):
|
|
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-
|
|
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,
|