xmlui 0.7.13 → 0.7.15
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/{apiInterceptorWorker-BuZoKCP8.mjs → apiInterceptorWorker-yKpXImCG.mjs} +1 -1
- package/dist/{index-C8kHu1Bs.mjs → index-XNGGyvQ0.mjs} +9904 -9653
- package/dist/index.css +1 -1
- package/dist/scripts/bin/build.js +17 -7
- package/dist/scripts/bin/vite-ueml-plugin.js +17 -7
- package/dist/scripts/bin/viteConfig.js +17 -7
- package/dist/scripts/package.json +209 -0
- package/dist/scripts/src/abstractions/scripting/ScriptingSourceTreeExp.js +51 -0
- package/dist/scripts/src/components/APICall/APICall.js +74 -0
- package/dist/scripts/src/components/APICall/APICallNative.js +31 -0
- package/dist/scripts/src/components/Accordion/Accordion.js +78 -0
- package/dist/scripts/src/components/Accordion/AccordionContext.js +20 -0
- package/dist/scripts/src/components/Accordion/AccordionItem.js +28 -0
- package/dist/scripts/src/components/Accordion/AccordionItemNative.js +79 -0
- package/dist/scripts/src/components/Accordion/AccordionNative.js +122 -0
- package/dist/scripts/src/components/Alert/Alert.js +42 -0
- package/dist/scripts/src/components/Alert/AlertNative.js +8 -0
- package/dist/scripts/src/components/Animation/Animation.js +59 -0
- package/dist/scripts/src/components/Animation/AnimationNative.js +75 -0
- package/dist/scripts/src/components/App/App.js +76 -0
- package/dist/scripts/src/components/App/AppLayoutContext.js +49 -0
- package/dist/scripts/src/components/App/AppNative.js +204 -0
- package/dist/scripts/src/components/App/AppStateContext.js +9 -0
- package/dist/scripts/src/components/App/Sheet.js +99 -0
- package/dist/scripts/src/components/AppHeader/AppHeader.js +59 -0
- package/dist/scripts/src/components/AppHeader/AppHeaderNative.js +58 -0
- package/dist/scripts/src/components/AppState/AppState.js +26 -0
- package/dist/scripts/src/components/AppState/AppStateNative.js +24 -0
- package/dist/scripts/src/components/AutoComplete/AutoComplete.js +83 -0
- package/dist/scripts/src/components/AutoComplete/AutoCompleteContext.js +16 -0
- package/dist/scripts/src/components/AutoComplete/AutoCompleteNative.js +225 -0
- package/dist/scripts/src/components/Avatar/Avatar.js +47 -0
- package/dist/scripts/src/components/Avatar/AvatarNative.js +40 -0
- package/dist/scripts/src/components/Backdrop/Backdrop.js +31 -0
- package/dist/scripts/src/components/Backdrop/BackdropNative.js +14 -0
- package/dist/scripts/src/components/Badge/Badge.js +58 -0
- package/dist/scripts/src/components/Badge/BadgeNative.js +22 -0
- package/dist/scripts/src/components/BarChart/BarChart.js +49 -0
- package/dist/scripts/src/components/BarChart/BarChartNative.js +176 -0
- package/dist/scripts/src/components/Bookmark/Bookmark.js +23 -0
- package/dist/scripts/src/components/Bookmark/BookmarkNative.js +24 -0
- package/dist/scripts/src/components/Breakout/Breakout.js +16 -0
- package/dist/scripts/src/components/Breakout/BreakoutNative.js +12 -0
- package/dist/scripts/src/components/Button/Button.js +142 -0
- package/dist/scripts/src/components/Button/ButtonNative.js +88 -0
- package/dist/scripts/src/components/ButtonGroup/ButtonGroup.js +41 -0
- package/dist/scripts/src/components/ButtonGroup/ButtonGroupNative.js +8 -0
- package/dist/scripts/src/components/Card/Card.js +57 -0
- package/dist/scripts/src/components/Card/CardNative.js +26 -0
- package/dist/scripts/src/components/Carousel/Carousel.js +68 -0
- package/dist/scripts/src/components/Carousel/CarouselItem.js +16 -0
- package/dist/scripts/src/components/Carousel/CarouselItemNative.js +13 -0
- package/dist/scripts/src/components/Carousel/CarouselNative.js +163 -0
- package/dist/scripts/src/components/ChangeListener/ChangeListener.js +24 -0
- package/dist/scripts/src/components/ChangeListener/ChangeListenerNative.js +26 -0
- package/dist/scripts/src/components/Chart/Chart.js +24 -0
- package/dist/scripts/src/components/Chart/ChartNative.js +165 -0
- package/dist/scripts/src/components/Checkbox/Checkbox.js +68 -0
- package/dist/scripts/src/components/Column/Column.js +34 -0
- package/dist/scripts/src/components/Column/ColumnNative.js +38 -0
- package/dist/scripts/src/components/Column/TableContext.js +12 -0
- package/dist/scripts/src/components/ComponentProvider.js +503 -0
- package/dist/scripts/src/components/ComponentRegistryContext.js +44 -0
- package/dist/scripts/src/components/ContentSeparator/ContentSeparator.js +38 -0
- package/dist/scripts/src/components/ContentSeparator/ContentSeparatorNative.js +16 -0
- package/dist/scripts/src/components/DatePicker/DatePicker.js +62 -0
- package/dist/scripts/src/components/DatePicker/DatePickerNative.js +196 -0
- package/dist/scripts/src/components/DropdownMenu/DropdownMenu.js +125 -0
- package/dist/scripts/src/components/DropdownMenu/DropdownMenuNative.js +95 -0
- package/dist/scripts/src/components/EmojiSelector/EmojiSelector.js +26 -0
- package/dist/scripts/src/components/EmojiSelector/EmojiSelectorNative.js +52 -0
- package/dist/scripts/src/components/FileInput/FileInput.js +64 -0
- package/dist/scripts/src/components/FileInput/FileInputNative.js +128 -0
- package/dist/scripts/src/components/FileUploadDropZone/FileUploadDropZone.js +46 -0
- package/dist/scripts/src/components/FileUploadDropZone/FileUploadDropZoneNative.js +112 -0
- package/dist/scripts/src/components/FlowLayout/FlowLayout.js +53 -0
- package/dist/scripts/src/components/FlowLayout/FlowLayoutNative.js +108 -0
- package/dist/scripts/src/components/Footer/Footer.js +35 -0
- package/dist/scripts/src/components/Footer/FooterNative.js +20 -0
- package/dist/scripts/src/components/Form/Form.js +89 -0
- package/dist/scripts/src/components/Form/FormContext.js +9 -0
- package/dist/scripts/src/components/Form/FormNative.js +317 -0
- package/dist/scripts/src/components/Form/formActions.js +114 -0
- package/dist/scripts/src/components/FormItem/FormItem.js +125 -0
- package/dist/scripts/src/components/FormItem/FormItemNative.js +157 -0
- package/dist/scripts/src/components/FormItem/HelperText.js +27 -0
- package/dist/scripts/src/components/FormItem/ItemWithLabel.js +40 -0
- package/dist/scripts/src/components/FormItem/Validations.js +351 -0
- package/dist/scripts/src/components/FormSection/FormSection.js +41 -0
- package/dist/scripts/src/components/Heading/Heading.js +258 -0
- package/dist/scripts/src/components/Heading/HeadingNative.js +45 -0
- package/dist/scripts/src/components/HoverCard/HoverCard.js +19 -0
- package/dist/scripts/src/components/HoverCard/HovercardNative.js +44 -0
- package/dist/scripts/src/components/Icon/ApiIcon.js +10 -0
- package/dist/scripts/src/components/Icon/Attach.js +10 -0
- package/dist/scripts/src/components/Icon/Binding.js +11 -0
- package/dist/scripts/src/components/Icon/BoardIcon.js +7 -0
- package/dist/scripts/src/components/Icon/BoxIcon.js +10 -0
- package/dist/scripts/src/components/Icon/CheckIcon.js +7 -0
- package/dist/scripts/src/components/Icon/ChevronLeft.js +7 -0
- package/dist/scripts/src/components/Icon/ChevronRight.js +7 -0
- package/dist/scripts/src/components/Icon/CodeFileIcon.js +10 -0
- package/dist/scripts/src/components/Icon/CodeSandbox.js +10 -0
- package/dist/scripts/src/components/Icon/CompactListIcon.js +7 -0
- package/dist/scripts/src/components/Icon/ContentCopyIcon.js +7 -0
- package/dist/scripts/src/components/Icon/DatabaseIcon.js +11 -0
- package/dist/scripts/src/components/Icon/DocFileIcon.js +10 -0
- package/dist/scripts/src/components/Icon/DocIcon.js +10 -0
- package/dist/scripts/src/components/Icon/DotMenuHorizontalIcon.js +7 -0
- package/dist/scripts/src/components/Icon/DotMenuIcon.js +7 -0
- package/dist/scripts/src/components/Icon/EmailIcon.js +7 -0
- package/dist/scripts/src/components/Icon/EmptyFolderIcon.js +10 -0
- package/dist/scripts/src/components/Icon/ErrorIcon.js +7 -0
- package/dist/scripts/src/components/Icon/ExpressionIcon.js +10 -0
- package/dist/scripts/src/components/Icon/FillPlusCricleIcon.js +7 -0
- package/dist/scripts/src/components/Icon/FilterIcon.js +10 -0
- package/dist/scripts/src/components/Icon/FolderIcon.js +10 -0
- package/dist/scripts/src/components/Icon/GlobeIcon.js +7 -0
- package/dist/scripts/src/components/Icon/HomeIcon.js +7 -0
- package/dist/scripts/src/components/Icon/HyperLinkIcon.js +7 -0
- package/dist/scripts/src/components/Icon/Icon.js +32 -0
- package/dist/scripts/src/components/Icon/IconNative.js +102 -0
- package/dist/scripts/src/components/Icon/ImageFileIcon.js +10 -0
- package/dist/scripts/src/components/Icon/LinkIcon.js +7 -0
- package/dist/scripts/src/components/Icon/ListIcon.js +7 -0
- package/dist/scripts/src/components/Icon/LooseListIcon.js +7 -0
- package/dist/scripts/src/components/Icon/MoonIcon.js +10 -0
- package/dist/scripts/src/components/Icon/MoreOptionsIcon.js +7 -0
- package/dist/scripts/src/components/Icon/NoSortIcon.js +8 -0
- package/dist/scripts/src/components/Icon/PDFIcon.js +10 -0
- package/dist/scripts/src/components/Icon/PenIcon.js +7 -0
- package/dist/scripts/src/components/Icon/PhoneIcon.js +7 -0
- package/dist/scripts/src/components/Icon/PhotoIcon.js +10 -0
- package/dist/scripts/src/components/Icon/PlusIcon.js +7 -0
- package/dist/scripts/src/components/Icon/SearchIcon.js +7 -0
- package/dist/scripts/src/components/Icon/ShareIcon.js +10 -0
- package/dist/scripts/src/components/Icon/SortAscendingIcon.js +8 -0
- package/dist/scripts/src/components/Icon/SortDescendingIcon.js +8 -0
- package/dist/scripts/src/components/Icon/SunIcon.js +10 -0
- package/dist/scripts/src/components/Icon/TrashIcon.js +7 -0
- package/dist/scripts/src/components/Icon/TrendingDownIcon.js +10 -0
- package/dist/scripts/src/components/Icon/TrendingLevelIcon.js +10 -0
- package/dist/scripts/src/components/Icon/TrendingUpIcon.js +10 -0
- package/dist/scripts/src/components/Icon/TxtIcon.js +10 -0
- package/dist/scripts/src/components/Icon/UnknownFileIcon.js +10 -0
- package/dist/scripts/src/components/Icon/UnlinkIcon.js +10 -0
- package/dist/scripts/src/components/Icon/UserIcon.js +7 -0
- package/dist/scripts/src/components/Icon/WarningIcon.js +7 -0
- package/dist/scripts/src/components/Icon/XlsIcon.js +10 -0
- package/dist/scripts/src/components/IconInfoCard/IconInfoCard.js +39 -0
- package/dist/scripts/src/components/IconProvider.js +264 -0
- package/dist/scripts/src/components/IconRegistryContext.js +317 -0
- package/dist/scripts/src/components/Image/Image.js +35 -0
- package/dist/scripts/src/components/Image/ImageNative.js +15 -0
- package/dist/scripts/src/components/Input/InputAdornment.js +14 -0
- package/dist/scripts/src/components/Items/Items.js +33 -0
- package/dist/scripts/src/components/Items/ItemsNative.js +29 -0
- package/dist/scripts/src/components/Link/Link.js +64 -0
- package/dist/scripts/src/components/Link/LinkNative.js +26 -0
- package/dist/scripts/src/components/List/List.js +81 -0
- package/dist/scripts/src/components/List/ListNative.js +425 -0
- package/dist/scripts/src/components/Logo/Logo.js +16 -0
- package/dist/scripts/src/components/Logo/LogoNative.js +15 -0
- package/dist/scripts/src/components/Map/Map.js +75 -0
- package/dist/scripts/src/components/Map/world_countries.json +45307 -0
- package/dist/scripts/src/components/Markdown/Markdown.js +45 -0
- package/dist/scripts/src/components/Markdown/MarkdownNative.js +107 -0
- package/dist/scripts/src/components/ModalDialog/ConfirmationModalContextProvider.js +116 -0
- package/dist/scripts/src/components/ModalDialog/Dialog.js +20 -0
- package/dist/scripts/src/components/ModalDialog/ModalDialog.js +64 -0
- package/dist/scripts/src/components/ModalDialog/ModalDialogNative.js +167 -0
- package/dist/scripts/src/components/ModalDialog/ModalVisibilityContext.js +60 -0
- package/dist/scripts/src/components/NavGroup/NavGroup.js +34 -0
- package/dist/scripts/src/components/NavGroup/NavGroupNative.js +91 -0
- package/dist/scripts/src/components/NavLink/NavLink.js +71 -0
- package/dist/scripts/src/components/NavLink/NavLinkNative.js +61 -0
- package/dist/scripts/src/components/NavPanel/NavPanel.js +31 -0
- package/dist/scripts/src/components/NavPanel/NavPanelNative.js +74 -0
- package/dist/scripts/src/components/NoResult/NoResult.js +38 -0
- package/dist/scripts/src/components/NoResult/NoResultNative.js +13 -0
- package/dist/scripts/src/components/NumberBox/NumberBox.js +61 -0
- package/dist/scripts/src/components/NumberBox/NumberBoxNative.js +337 -0
- package/dist/scripts/src/components/NumberBox/numberbox-abstractions.js +74 -0
- package/dist/scripts/src/components/OffCanvas/OffCanvas.js +57 -0
- package/dist/scripts/src/components/OffCanvas/OffCanvasNative.js +48 -0
- package/dist/scripts/src/components/Option/Option.js +33 -0
- package/dist/scripts/src/components/Option/OptionTypeProvider.js +16 -0
- package/dist/scripts/src/components/PageHeader/PageHeader.js +36 -0
- package/dist/scripts/src/components/PageMetaTitle/PageMetaTilteNative.js +9 -0
- package/dist/scripts/src/components/PageMetaTitle/PageMetaTitle.js +18 -0
- package/dist/scripts/src/components/Pages/Pages.js +33 -0
- package/dist/scripts/src/components/Pages/PagesNative.js +69 -0
- package/dist/scripts/src/components/PieChart/PieChart.js +45 -0
- package/dist/scripts/src/components/PieChart/PieChartNative.js +165 -0
- package/dist/scripts/src/components/PositionedContainer/PositionedContainer.js +24 -0
- package/dist/scripts/src/components/PositionedContainer/PositionedContainerNative.js +14 -0
- package/dist/scripts/src/components/ProgressBar/ProgressBar.js +36 -0
- package/dist/scripts/src/components/ProgressBar/ProgressBarNative.js +12 -0
- package/dist/scripts/src/components/Queue/Queue.js +71 -0
- package/dist/scripts/src/components/Queue/QueueNative.js +278 -0
- package/dist/scripts/src/components/Queue/queueActions.js +87 -0
- package/dist/scripts/src/components/RadioGroup/RadioGroup.js +68 -0
- package/dist/scripts/src/components/RadioGroup/RadioGroupNative.js +104 -0
- package/dist/scripts/src/components/Range/Range.js +56 -0
- package/dist/scripts/src/components/Range/RangeNative.js +8 -0
- package/dist/scripts/src/components/RealTimeAdapter/RealTimeAdapter.js +21 -0
- package/dist/scripts/src/components/RealTimeAdapter/RealTimeAdapterNative.js +131 -0
- package/dist/scripts/src/components/Redirect/Redirect.js +20 -0
- package/dist/scripts/src/components/Select/OptionContext.js +12 -0
- package/dist/scripts/src/components/Select/Select.js +98 -0
- package/dist/scripts/src/components/Select/SelectContext.js +9 -0
- package/dist/scripts/src/components/Select/SelectNative.js +214 -0
- package/dist/scripts/src/components/SelectionStore/SelectionStore.js +22 -0
- package/dist/scripts/src/components/SelectionStore/SelectionStoreNative.js +94 -0
- package/dist/scripts/src/components/Slider/Slider.js +54 -0
- package/dist/scripts/src/components/Slider/SliderNative.js +8 -0
- package/dist/scripts/src/components/SpaceFiller/SpaceFiller.js +19 -0
- package/dist/scripts/src/components/SpaceFiller/SpaceFillerNative.js +10 -0
- package/dist/scripts/src/components/Spinner/Spinner.js +42 -0
- package/dist/scripts/src/components/Spinner/SpinnerNative.js +31 -0
- package/dist/scripts/src/components/Splitter/Splitter.js +89 -0
- package/dist/scripts/src/components/Splitter/SplitterNative.js +159 -0
- package/dist/scripts/src/components/Splitter/utils.js +17 -0
- package/dist/scripts/src/components/Stack/Stack.js +110 -0
- package/dist/scripts/src/components/Stack/StackNative.js +39 -0
- package/dist/scripts/src/components/StateViewer/StateViewerNative.js +19 -0
- package/dist/scripts/src/components/StickyBox/StickyBox.js +30 -0
- package/dist/scripts/src/components/StickyBox/StickyBoxNative.js +15 -0
- package/dist/scripts/src/components/Switch/Switch.js +72 -0
- package/dist/scripts/src/components/Table/Table.js +184 -0
- package/dist/scripts/src/components/Table/TableNative.js +470 -0
- package/dist/scripts/src/components/Table/useRowSelection.js +245 -0
- package/dist/scripts/src/components/TableHeader/TableHeader.js +34 -0
- package/dist/scripts/src/components/TableOfContents/TableOfContents.js +74 -0
- package/dist/scripts/src/components/TableOfContents/TableOfContentsNative.js +55 -0
- package/dist/scripts/src/components/Tabs/TabContext.js +45 -0
- package/dist/scripts/src/components/Tabs/TabItem.js +20 -0
- package/dist/scripts/src/components/Tabs/TabItemNative.js +24 -0
- package/dist/scripts/src/components/Tabs/Tabs.js +55 -0
- package/dist/scripts/src/components/Tabs/TabsNative.js +72 -0
- package/dist/scripts/src/components/Text/Text.js +122 -0
- package/dist/scripts/src/components/Text/TextNative.js +124 -0
- package/dist/scripts/src/components/TextArea/TextArea.js +65 -0
- package/dist/scripts/src/components/TextArea/TextAreaNative.js +176 -0
- package/dist/scripts/src/components/TextArea/TextAreaResizable.js +73 -0
- package/dist/scripts/src/components/TextArea/useComposedRef.js +60 -0
- package/dist/scripts/src/components/TextBox/TextBox.js +85 -0
- package/dist/scripts/src/components/TextBox/TextBoxNative.js +109 -0
- package/dist/scripts/src/components/Theme/NotificationToast.js +50 -0
- package/dist/scripts/src/components/Theme/Theme.js +43 -0
- package/dist/scripts/src/components/Theme/ThemeNative.js +126 -0
- package/dist/scripts/src/components/ThemeChanger/ThemeChanger.js +115 -0
- package/dist/scripts/src/components/ThemeChanger/ToneChangerButton.js +28 -0
- package/dist/scripts/src/components/Toggle/Toggle.js +99 -0
- package/dist/scripts/src/components/Toolbar/Toolbar.js +32 -0
- package/dist/scripts/src/components/ToolbarButton/ToolbarButton.js +38 -0
- package/dist/scripts/src/components/Tree/TreeComponent.js +32 -0
- package/dist/scripts/src/components/Tree/TreeNative.js +69 -0
- package/dist/scripts/src/components/TrendLabel/TrendLabel.js +37 -0
- package/dist/scripts/src/components/ValidationSummary/ValidationSummary.js +59 -0
- package/dist/scripts/src/components/abstractions.js +151 -0
- package/dist/scripts/src/components/chart-color-schemes.js +43 -0
- package/dist/scripts/src/components/component-utils.js +17 -0
- package/dist/scripts/src/components/container-helpers.js +25 -0
- package/dist/scripts/src/components/metadata-helpers.js +245 -0
- package/dist/scripts/src/components/slot-helpers.js +22 -0
- package/dist/scripts/src/components-core/ApiBoundComponent.js +194 -0
- package/dist/scripts/src/components-core/AppContext.js +16 -0
- package/dist/scripts/src/components-core/AppRoot.js +424 -0
- package/dist/scripts/src/components-core/ComponentBed.js +325 -0
- package/dist/scripts/src/components-core/ComponentDecorator.js +90 -0
- package/dist/scripts/src/components-core/CompoundComponent.js +144 -0
- package/dist/scripts/src/components-core/DebugViewProvider.js +43 -0
- package/dist/scripts/src/components-core/EngineError.js +91 -0
- package/dist/scripts/src/components-core/ErrorBoundary.js +59 -0
- package/dist/scripts/src/components-core/Fragment.js +15 -0
- package/dist/scripts/src/components-core/InspectorContext.js +176 -0
- package/dist/scripts/src/components-core/InvalidComponent.js +17 -0
- package/dist/scripts/src/components-core/LoaderComponent.js +92 -0
- package/dist/scripts/src/components-core/RestApiProxy.js +354 -0
- package/dist/scripts/src/components-core/ScrollContext.js +11 -0
- package/dist/scripts/src/components-core/Slot.js +17 -0
- package/dist/scripts/src/components-core/StandaloneApp.js +589 -0
- package/dist/scripts/src/components-core/StandaloneComponentManager.js +51 -0
- package/dist/scripts/src/components-core/TableOfContentsContext.js +110 -0
- package/dist/scripts/src/components-core/UnknownComponent.js +15 -0
- package/dist/scripts/src/components-core/XmluiCodeHighlighter.js +110 -0
- package/dist/scripts/src/components-core/abstractions/ComponentRenderer.js +2 -0
- package/dist/scripts/src/components-core/abstractions/LoaderRenderer.js +2 -0
- package/dist/scripts/src/components-core/abstractions/containers.js +18 -0
- package/dist/scripts/src/components-core/abstractions/standalone.js +2 -0
- package/dist/scripts/src/components-core/abstractions/treeAbstractions.js +2 -0
- package/dist/scripts/src/components-core/action/APICall.js +283 -0
- package/dist/scripts/src/components-core/action/FileDownloadAction.js +80 -0
- package/dist/scripts/src/components-core/action/FileUploadAction.js +88 -0
- package/dist/scripts/src/components-core/action/NavigateAction.js +20 -0
- package/dist/scripts/src/components-core/action/TimedAction.js +21 -0
- package/dist/scripts/src/components-core/action/actions.js +15 -0
- package/dist/scripts/src/components-core/appContext/date-functions.js +19 -0
- package/dist/scripts/src/components-core/appContext/math-function.js +27 -0
- package/dist/scripts/src/components-core/appContext/misc-utils.js +12 -0
- package/dist/scripts/src/components-core/component-hooks.js +25 -0
- package/dist/scripts/src/components-core/constants.js +18 -0
- package/dist/scripts/src/components-core/container/Container.js +1241 -0
- package/dist/scripts/src/components-core/container/buildProxy.js +54 -0
- package/dist/scripts/src/components-core/container/collectFnVarDeps.js +49 -0
- package/dist/scripts/src/components-core/container/valueExtractor.js +205 -0
- package/dist/scripts/src/components-core/descriptorHelper.js +72 -0
- package/dist/scripts/src/components-core/interception/ApiInterceptor.js +198 -0
- package/dist/scripts/src/components-core/interception/ApiInterceptorProvider.js +94 -0
- package/dist/scripts/src/components-core/interception/Backend.js +129 -0
- package/dist/scripts/src/components-core/interception/Errors.js +129 -0
- package/dist/scripts/src/components-core/interception/InMemoryDb.js +41 -0
- package/dist/scripts/src/components-core/interception/IndexedDb.js +205 -0
- package/dist/scripts/src/components-core/interception/ReadonlyCollection.js +145 -0
- package/dist/scripts/src/components-core/interception/abstractions.js +2 -0
- package/dist/scripts/src/components-core/interception/apiInterceptorWorker.js +46 -0
- package/dist/scripts/src/components-core/interception/useApiInterceptorContext.js +9 -0
- package/dist/scripts/src/components-core/loader/ApiLoader.js +54 -0
- package/dist/scripts/src/components-core/loader/DataLoader.js +149 -0
- package/dist/scripts/src/components-core/loader/ExternalDataLoader.js +62 -0
- package/dist/scripts/src/components-core/loader/Loader.js +126 -0
- package/dist/scripts/src/components-core/loader/MockLoaderRenderer.js +40 -0
- package/dist/scripts/src/components-core/loader/PageableLoader.js +262 -0
- package/dist/scripts/src/components-core/markup-check.js +279 -0
- package/dist/scripts/src/components-core/renderers.js +45 -0
- package/dist/scripts/src/components-core/reportEngineError.js +62 -0
- package/dist/scripts/src/components-core/script-runner/BindingTreeEvaluationContext.js +35 -0
- package/dist/scripts/src/components-core/script-runner/ICustomOperations.js +34 -0
- package/dist/scripts/src/components-core/script-runner/ParameterParser.js +117 -0
- package/dist/scripts/src/components-core/script-runner/asyncProxy.js +149 -0
- package/dist/scripts/src/components-core/script-runner/bannedFunctions.js +34 -0
- package/dist/scripts/src/components-core/script-runner/custom-operations-registry.js +40 -0
- package/dist/scripts/src/components-core/script-runner/custom-ui-data.js +40 -0
- package/dist/scripts/src/components-core/script-runner/eval-tree-async.js +593 -0
- package/dist/scripts/src/components-core/script-runner/eval-tree-common.js +497 -0
- package/dist/scripts/src/components-core/script-runner/eval-tree-sync.js +482 -0
- package/dist/scripts/src/components-core/script-runner/process-statement-async.js +766 -0
- package/dist/scripts/src/components-core/script-runner/process-statement-common.js +193 -0
- package/dist/scripts/src/components-core/script-runner/process-statement-sync.js +752 -0
- package/dist/scripts/src/components-core/script-runner/statement-queue.js +62 -0
- package/dist/scripts/src/components-core/script-runner/syncProxy.js +31 -0
- package/dist/scripts/src/components-core/script-runner/visitors.js +361 -0
- package/dist/scripts/src/components-core/theming/ThemeContext.js +53 -0
- package/dist/scripts/src/components-core/theming/ThemeProvider.js +335 -0
- package/dist/scripts/src/components-core/theming/abstractions.js +11 -0
- package/dist/scripts/src/components-core/theming/extendThemeUtils.js +114 -0
- package/dist/scripts/src/components-core/theming/hvar.js +105 -0
- package/dist/scripts/src/components-core/theming/themeVars.js +62 -0
- package/dist/scripts/src/components-core/theming/themes/base-utils.js +31 -0
- package/dist/scripts/src/components-core/theming/themes/palette.js +55 -0
- package/dist/scripts/src/components-core/theming/themes/root.js +287 -0
- package/dist/scripts/src/components-core/theming/themes/solid.js +16 -0
- package/dist/scripts/src/components-core/theming/themes/theme-colors.js +561 -0
- package/dist/scripts/src/components-core/theming/themes/xmlui.js +58 -0
- package/dist/scripts/src/components-core/theming/transformThemeVars.js +300 -0
- package/dist/scripts/src/components-core/utils/DataLoaderQueryKeyGenerator.js +35 -0
- package/dist/scripts/src/components-core/utils/LruCache.js +184 -0
- package/dist/scripts/src/components-core/utils/actionUtils.js +32 -0
- package/dist/scripts/src/components-core/utils/classnames.js +58 -0
- package/dist/scripts/src/components-core/utils/compound-utils.js +11 -0
- package/dist/scripts/src/components-core/utils/css-utils.js +163 -0
- package/dist/scripts/src/components-core/utils/date-utils.js +78 -0
- package/dist/scripts/src/components-core/utils/extractParam.js +148 -0
- package/dist/scripts/src/components-core/utils/hooks.js +249 -0
- package/dist/scripts/src/components-core/utils/mergeProps.js +45 -0
- package/dist/scripts/src/components-core/utils/misc.js +472 -0
- package/dist/scripts/src/components-core/utils/request-params.js +70 -0
- package/dist/scripts/src/components-core/utils/statementUtils.js +221 -0
- package/dist/scripts/src/components-core/utils/treeUtils.js +48 -0
- package/dist/scripts/src/index.js +69 -0
- package/dist/scripts/src/parsers/common/GenericToken.js +2 -0
- package/dist/scripts/src/parsers/scripting-exp/TokenType.js +112 -0
- package/dist/scripts/src/parsers/style-parser/StyleInputStream.js +39 -0
- package/dist/scripts/src/parsers/style-parser/StyleLexer.js +623 -0
- package/dist/scripts/src/parsers/style-parser/StyleParser.js +1036 -0
- package/dist/scripts/src/parsers/style-parser/errors.js +37 -0
- package/dist/scripts/src/parsers/style-parser/source-tree.js +2 -0
- package/dist/scripts/src/parsers/style-parser/style-compiler.js +558 -0
- package/dist/scripts/src/parsers/style-parser/tokens.js +43 -0
- package/dist/scripts/src/parsers/xmlui-parser/ParserError.js +7 -0
- package/dist/scripts/src/parsers/xmlui-parser/transform.js +80 -32
- package/dist/scripts/src/syntax/grammar.tmLanguage.json +328 -0
- package/dist/scripts/src/syntax/textMate/xmlui.json +630 -0
- package/dist/style.css +1 -1
- package/dist/xmlui-metadata.mjs +2676 -2608
- package/dist/xmlui-metadata.umd.js +16 -16
- package/dist/xmlui-standalone.umd.js +186 -186
- package/dist/xmlui.d.ts +1868 -13
- package/dist/xmlui.mjs +1 -1
- package/package.json +5 -5
- package/dist/xmlui.umd.js +0 -293
|
@@ -16,13 +16,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
16
16
|
}) : function(o, v) {
|
|
17
17
|
o["default"] = v;
|
|
18
18
|
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || function (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
26
36
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
27
37
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
28
38
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
36
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
37
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "xmlui",
|
|
3
|
+
"version": "0.7.15",
|
|
4
|
+
"sideEffects": false,
|
|
5
|
+
"scripts": {
|
|
6
|
+
"start-test-bed": "cd src/testing/infrastructure && xmlui start",
|
|
7
|
+
"build:test-bed": "cd src/testing/infrastructure && xmlui build --build-mode=INLINE_ALL --withHostingMetaFiles",
|
|
8
|
+
"build:bin": "tsc -p tsconfig.bin.json",
|
|
9
|
+
"build:xmlui": "vite build --mode lib",
|
|
10
|
+
"build:xmlui-standalone": "vite build --mode standalone",
|
|
11
|
+
"build:xmlui-metadata": "vite build --mode metadata",
|
|
12
|
+
"build": "rimraf dist && tsc && npm run build:bin && npm run build:xmlui-metadata && npm run build:xmlui && npm run build:xmlui-standalone",
|
|
13
|
+
"test": "npm run test:unit",
|
|
14
|
+
"test:unit": "vitest run",
|
|
15
|
+
"test:e2e": "playwright test",
|
|
16
|
+
"test:e2e-smoke": "playwright test --project smoke",
|
|
17
|
+
"test:e2e-ui": "npm run test:e2e -- --ui",
|
|
18
|
+
"prepublishOnly": "clean-package && npm run build",
|
|
19
|
+
"postpublish": "clean-package restore",
|
|
20
|
+
"prepare-docs-data": "npm run build:xmlui-metadata",
|
|
21
|
+
"generate-docs": "node scripts/generate-docs/get-docs.mjs"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@azure/msal-browser": "2.30.0",
|
|
25
|
+
"@azure/msal-react": "1.4.9",
|
|
26
|
+
"@eslint-community/regexpp": "4.10.0",
|
|
27
|
+
"@formkit/auto-animate": "0.7.0",
|
|
28
|
+
"@headlessui/react": "1.7.16",
|
|
29
|
+
"@microsoft/tsdoc-config": "0.17.0",
|
|
30
|
+
"@modyfi/vite-plugin-yaml": "1.1.0",
|
|
31
|
+
"@monaco-editor/react": "4.4.6",
|
|
32
|
+
"@nivo/bar": "0.87.0",
|
|
33
|
+
"@nivo/core": "0.87.0",
|
|
34
|
+
"@nivo/geo": "0.87.0",
|
|
35
|
+
"@nivo/pie": "0.87.0",
|
|
36
|
+
"@popperjs/core": "2.11.6",
|
|
37
|
+
"@radix-ui/react-accordion": "^1.2.0",
|
|
38
|
+
"@radix-ui/react-alert-dialog": "^1.1.2",
|
|
39
|
+
"@radix-ui/react-dialog": "1.0.5",
|
|
40
|
+
"@radix-ui/react-dropdown-menu": "2.0.6",
|
|
41
|
+
"@radix-ui/react-hover-card": "1.0.7",
|
|
42
|
+
"@radix-ui/react-popover": "^1.1.2",
|
|
43
|
+
"@radix-ui/react-radio-group": "1.1.3",
|
|
44
|
+
"@radix-ui/react-select": "^2.1.2",
|
|
45
|
+
"@radix-ui/react-tabs": "1.1.0",
|
|
46
|
+
"@radix-ui/react-visually-hidden": "1.0.3",
|
|
47
|
+
"@remix-run/react": "2.9.1",
|
|
48
|
+
"@tanstack/react-query": "4.32.6",
|
|
49
|
+
"@tanstack/react-query-devtools": "4.32.6",
|
|
50
|
+
"@tanstack/react-table": "8.17.3",
|
|
51
|
+
"@tanstack/react-virtual": "3.10.8",
|
|
52
|
+
"@types/color": "3.0.6",
|
|
53
|
+
"@vitejs/plugin-react": "4.3.0",
|
|
54
|
+
"adm-zip": "0.5.10",
|
|
55
|
+
"apexcharts": "3.44.0",
|
|
56
|
+
"axios": "1.7.7",
|
|
57
|
+
"cmdk": "^1.0.4",
|
|
58
|
+
"color": "4.2.3",
|
|
59
|
+
"date-fns": "2.30.0",
|
|
60
|
+
"dexie": "3.2.4",
|
|
61
|
+
"dotenv": "16.3.1",
|
|
62
|
+
"downshift": "8.2.3",
|
|
63
|
+
"embla-carousel-autoplay": "^8.3.0",
|
|
64
|
+
"embla-carousel-react": "^8.3.0",
|
|
65
|
+
"emoji-picker-react": "4.4.10",
|
|
66
|
+
"glob": "7.2.0",
|
|
67
|
+
"immer": "9.0.16",
|
|
68
|
+
"lodash-es": "4.17.21",
|
|
69
|
+
"memoize-one": "6.0.0",
|
|
70
|
+
"monaco-editor": "0.34.1",
|
|
71
|
+
"msw": "2.0.1",
|
|
72
|
+
"oidc-client-ts": "2.1.0",
|
|
73
|
+
"react": "18.2.0",
|
|
74
|
+
"react-apexcharts": "1.4.1",
|
|
75
|
+
"react-currency-input-field": "3.6.9",
|
|
76
|
+
"react-datepicker": "4.25.0",
|
|
77
|
+
"react-day-picker": "8.10.1",
|
|
78
|
+
"react-dom": "18.2.0",
|
|
79
|
+
"react-dropzone": "14.2.3",
|
|
80
|
+
"react-helmet-async": "1.3.0",
|
|
81
|
+
"react-hot-toast": "2.4.1",
|
|
82
|
+
"react-icons": "4.8.0",
|
|
83
|
+
"react-imask": "7.1.3",
|
|
84
|
+
"react-markdown": "9.0.1",
|
|
85
|
+
"react-measure": "2.5.2",
|
|
86
|
+
"react-oidc-context": "2.2.0",
|
|
87
|
+
"react-popper": "2.3.0",
|
|
88
|
+
"react-resizable-panels": "2.0.19",
|
|
89
|
+
"react-router-dom": "6.23.0",
|
|
90
|
+
"react-select": "5.7.4",
|
|
91
|
+
"react-textarea-autosize": "8.5.3",
|
|
92
|
+
"react-virtualized-auto-sizer": "1.0.24",
|
|
93
|
+
"react-window": "1.8.10",
|
|
94
|
+
"sass": "1.55.0",
|
|
95
|
+
"scroll-into-view-if-needed": "^3.1.0",
|
|
96
|
+
"shiki": "^1.14.1",
|
|
97
|
+
"ts-node": "10.9.1",
|
|
98
|
+
"use-context-selector": "1.4.1",
|
|
99
|
+
"vite-plugin-lib-inject-css": "1.3.0",
|
|
100
|
+
"vite-plugin-svgr": "4.2.0",
|
|
101
|
+
"yargs": "17.7.2"
|
|
102
|
+
},
|
|
103
|
+
"devDependencies": {
|
|
104
|
+
"@babel/core": "7.19.6",
|
|
105
|
+
"@babel/preset-env": "7.19.4",
|
|
106
|
+
"@babel/preset-typescript": "7.18.6",
|
|
107
|
+
"@playwright/test": "^1.49.0",
|
|
108
|
+
"@types/adm-zip": "0.5.4",
|
|
109
|
+
"@types/glob": "7.2.0",
|
|
110
|
+
"@types/lodash-es": "4.17.6",
|
|
111
|
+
"@types/node": "18.11.5",
|
|
112
|
+
"@types/react": "18.2.23",
|
|
113
|
+
"@types/react-datepicker": "4.19.5",
|
|
114
|
+
"@types/react-dom": "18.2.8",
|
|
115
|
+
"@types/react-measure": "^2.0.8",
|
|
116
|
+
"@types/react-pdf": "5.7.2",
|
|
117
|
+
"@types/react-window": "1.8.8",
|
|
118
|
+
"@types/yargs": "17.0.31",
|
|
119
|
+
"@typescript-eslint/eslint-plugin": "6.7.4",
|
|
120
|
+
"@typescript-eslint/parser": "6.19.0",
|
|
121
|
+
"babel-loader": "8.2.5",
|
|
122
|
+
"clean-package": "2.2.0",
|
|
123
|
+
"eslint": "^8.57.0",
|
|
124
|
+
"eslint-import-resolver-typescript": "3.6.1",
|
|
125
|
+
"eslint-plugin-import": "2.28.1",
|
|
126
|
+
"eslint-plugin-jsx-a11y": "6.7.1",
|
|
127
|
+
"eslint-plugin-react": "7.33.2",
|
|
128
|
+
"eslint-plugin-react-hooks": "4.6.0",
|
|
129
|
+
"prettier": "^3.3.3",
|
|
130
|
+
"rimraf": "6.0.1",
|
|
131
|
+
"rollup-plugin-visualizer": "5.8.3",
|
|
132
|
+
"serve": "14.2.0",
|
|
133
|
+
"typedoc": "^0.26.2",
|
|
134
|
+
"typescript": "5.7.3",
|
|
135
|
+
"vite": "5.4.9",
|
|
136
|
+
"vite-plugin-dts": "4.5.0",
|
|
137
|
+
"vitest": "^3.0.3"
|
|
138
|
+
},
|
|
139
|
+
"optionalDependencies": {
|
|
140
|
+
"@rollup/rollup-linux-x64-gnu": "4.20.0",
|
|
141
|
+
"@rollup/rollup-win32-x64-msvc": "4.20.0"
|
|
142
|
+
},
|
|
143
|
+
"files": [
|
|
144
|
+
"dist",
|
|
145
|
+
"src/styles"
|
|
146
|
+
],
|
|
147
|
+
"bin": {
|
|
148
|
+
"xmlui": "dist/scripts/bin/bootstrap.js"
|
|
149
|
+
},
|
|
150
|
+
"clean-package": {
|
|
151
|
+
"replace": {
|
|
152
|
+
"bin": {
|
|
153
|
+
"xmlui": "dist/scripts/bin/bootstrap.js"
|
|
154
|
+
},
|
|
155
|
+
"main": "./dist/xmlui.umd.js",
|
|
156
|
+
"module": "./dist/xmlui.mjs",
|
|
157
|
+
"types": "./dist/xmlui.d.ts",
|
|
158
|
+
"exports": {
|
|
159
|
+
".": {
|
|
160
|
+
"import": "./dist/xmlui.mjs",
|
|
161
|
+
"require": "./dist/xmlui.umd.js"
|
|
162
|
+
},
|
|
163
|
+
"./*.css": {
|
|
164
|
+
"import": "./dist/*.css",
|
|
165
|
+
"require": "./dist/*.css"
|
|
166
|
+
},
|
|
167
|
+
"./index.scss": {
|
|
168
|
+
"import": "./src/index.scss",
|
|
169
|
+
"require": "./src/index.scss"
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"main": "./dist/xmlui.umd.js",
|
|
175
|
+
"exports": {
|
|
176
|
+
".": {
|
|
177
|
+
"import": "./dist/xmlui.mjs",
|
|
178
|
+
"require": "./dist/xmlui.umd.js"
|
|
179
|
+
},
|
|
180
|
+
"./*.css": {
|
|
181
|
+
"import": "./dist/*.css",
|
|
182
|
+
"require": "./dist/*.css"
|
|
183
|
+
},
|
|
184
|
+
"./index.scss": {
|
|
185
|
+
"import": "./src/index.scss",
|
|
186
|
+
"require": "./src/index.scss"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"browserslist": {
|
|
190
|
+
"production": [
|
|
191
|
+
">0.2%",
|
|
192
|
+
"not dead",
|
|
193
|
+
"not op_mini all"
|
|
194
|
+
],
|
|
195
|
+
"development": [
|
|
196
|
+
"last 1 chrome version",
|
|
197
|
+
"last 1 firefox version",
|
|
198
|
+
"last 1 safari version"
|
|
199
|
+
]
|
|
200
|
+
},
|
|
201
|
+
"repository": {
|
|
202
|
+
"url": "https://github.com/xmlui-com/xmlui.git"
|
|
203
|
+
},
|
|
204
|
+
"msw": {
|
|
205
|
+
"workerDirectory": "src/testing/infrastructure"
|
|
206
|
+
},
|
|
207
|
+
"module": "./dist/xmlui.mjs",
|
|
208
|
+
"types": "./dist/xmlui.d.ts"
|
|
209
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.T_SWITCH_CASE = exports.T_OBJECT_DESTRUCTURE = exports.T_ARRAY_DESTRUCTURE = exports.T_DESTRUCTURE = exports.T_VAR_DECLARATION = exports.T_REACTIVE_VAR_DECLARATION = exports.T_POSTFIX_OP_EXPRESSION = exports.T_PREFIX_OP_EXPRESSION = exports.T_ARROW_EXPRESSION = exports.T_NO_ARG_EXPRESSION = exports.T_ASSIGNMENT_EXPRESSION = exports.T_SPREAD_EXPRESSION = exports.T_OBJECT_LITERAL = exports.T_ARRAY_LITERAL = exports.T_LITERAL = exports.T_TEMPLATE_LITERAL_EXPRESSION = exports.T_IDENTIFIER = exports.T_CALCULATED_MEMBER_ACCESS_EXPRESSION = exports.T_MEMBER_ACCESS_EXPRESSION = exports.T_FUNCTION_INVOCATION_EXPRESSION = exports.T_CONDITIONAL_EXPRESSION = exports.T_SEQUENCE_EXPRESSION = exports.T_BINARY_EXPRESSION = exports.T_UNARY_EXPRESSION = exports.T_IMPORT_DECLARATION = exports.T_FUNCTION_DECLARATION = exports.T_SWITCH_STATEMENT = exports.T_TRY_STATEMENT = exports.T_THROW_STATEMENT = exports.T_FOR_OF_STATEMENT = exports.T_FOR_IN_STATEMENT = exports.T_FOR_STATEMENT = exports.T_DO_WHILE_STATEMENT = exports.T_WHILE_STATEMENT = exports.T_CONTINUE_STATEMENT = exports.T_BREAK_STATEMENT = exports.T_RETURN_STATEMENT = exports.T_IF_STATEMENT = exports.T_VAR_STATEMENT = exports.T_CONST_STATEMENT = exports.T_LET_STATEMENT = exports.T_ARROW_EXPRESSION_STATEMENT = exports.T_EXPRESSION_STATEMENT = exports.T_EMPTY_STATEMENT = exports.T_BLOCK_STATEMENT = void 0;
|
|
4
|
+
// --- Statement node type values
|
|
5
|
+
exports.T_BLOCK_STATEMENT = 1;
|
|
6
|
+
exports.T_EMPTY_STATEMENT = 2;
|
|
7
|
+
exports.T_EXPRESSION_STATEMENT = 3;
|
|
8
|
+
exports.T_ARROW_EXPRESSION_STATEMENT = 4;
|
|
9
|
+
exports.T_LET_STATEMENT = 5;
|
|
10
|
+
exports.T_CONST_STATEMENT = 6;
|
|
11
|
+
exports.T_VAR_STATEMENT = 7;
|
|
12
|
+
exports.T_IF_STATEMENT = 8;
|
|
13
|
+
exports.T_RETURN_STATEMENT = 9;
|
|
14
|
+
exports.T_BREAK_STATEMENT = 10;
|
|
15
|
+
exports.T_CONTINUE_STATEMENT = 11;
|
|
16
|
+
exports.T_WHILE_STATEMENT = 12;
|
|
17
|
+
exports.T_DO_WHILE_STATEMENT = 13;
|
|
18
|
+
exports.T_FOR_STATEMENT = 14;
|
|
19
|
+
exports.T_FOR_IN_STATEMENT = 15;
|
|
20
|
+
exports.T_FOR_OF_STATEMENT = 16;
|
|
21
|
+
exports.T_THROW_STATEMENT = 17;
|
|
22
|
+
exports.T_TRY_STATEMENT = 18;
|
|
23
|
+
exports.T_SWITCH_STATEMENT = 19;
|
|
24
|
+
exports.T_FUNCTION_DECLARATION = 20;
|
|
25
|
+
exports.T_IMPORT_DECLARATION = 21;
|
|
26
|
+
// --- Expression node type values
|
|
27
|
+
exports.T_UNARY_EXPRESSION = 100;
|
|
28
|
+
exports.T_BINARY_EXPRESSION = 101;
|
|
29
|
+
exports.T_SEQUENCE_EXPRESSION = 102;
|
|
30
|
+
exports.T_CONDITIONAL_EXPRESSION = 103;
|
|
31
|
+
exports.T_FUNCTION_INVOCATION_EXPRESSION = 104;
|
|
32
|
+
exports.T_MEMBER_ACCESS_EXPRESSION = 105;
|
|
33
|
+
exports.T_CALCULATED_MEMBER_ACCESS_EXPRESSION = 106;
|
|
34
|
+
exports.T_IDENTIFIER = 107;
|
|
35
|
+
exports.T_TEMPLATE_LITERAL_EXPRESSION = 108;
|
|
36
|
+
exports.T_LITERAL = 109;
|
|
37
|
+
exports.T_ARRAY_LITERAL = 110;
|
|
38
|
+
exports.T_OBJECT_LITERAL = 111;
|
|
39
|
+
exports.T_SPREAD_EXPRESSION = 112;
|
|
40
|
+
exports.T_ASSIGNMENT_EXPRESSION = 113;
|
|
41
|
+
exports.T_NO_ARG_EXPRESSION = 114;
|
|
42
|
+
exports.T_ARROW_EXPRESSION = 115;
|
|
43
|
+
exports.T_PREFIX_OP_EXPRESSION = 116;
|
|
44
|
+
exports.T_POSTFIX_OP_EXPRESSION = 117;
|
|
45
|
+
exports.T_REACTIVE_VAR_DECLARATION = 118;
|
|
46
|
+
// --- Other node type values
|
|
47
|
+
exports.T_VAR_DECLARATION = 200;
|
|
48
|
+
exports.T_DESTRUCTURE = 201;
|
|
49
|
+
exports.T_ARRAY_DESTRUCTURE = 202;
|
|
50
|
+
exports.T_OBJECT_DESTRUCTURE = 203;
|
|
51
|
+
exports.T_SWITCH_CASE = 204;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.apiCallRenderer = exports.APICallMd = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const ComponentDefs_1 = require("@abstractions/ComponentDefs");
|
|
6
|
+
const renderers_1 = require("@components-core/renderers");
|
|
7
|
+
const APICallNative_1 = require("./APICallNative");
|
|
8
|
+
const metadata_helpers_1 = require("@components/metadata-helpers");
|
|
9
|
+
const COMP = "APICall";
|
|
10
|
+
exports.APICallMd = (0, ComponentDefs_1.createMetadata)({
|
|
11
|
+
description: `\`${COMP}\` is used to mutate (create, update or delete) some data on the backend. It ` +
|
|
12
|
+
`is similar in nature to the \`DataSource\` component which retrieves data from the backend.`,
|
|
13
|
+
props: {
|
|
14
|
+
method: (0, ComponentDefs_1.d)(`The method of data manipulation can be done via setting this property. The following ` +
|
|
15
|
+
`HTTP methods are available: \`post\`, \`put\`, and \`delete\`.`),
|
|
16
|
+
url: (0, ComponentDefs_1.d)(`Use this property to set the URL to send data to.`),
|
|
17
|
+
rawBody: (0, ComponentDefs_1.d)(`This property sets the request body to the value provided here without any conversion. ` +
|
|
18
|
+
`Use the * \`body\` property if you want the object sent in JSON. When you define ` +
|
|
19
|
+
`\`body\` and \`rawBody\`, the latest one prevails.`),
|
|
20
|
+
body: (0, ComponentDefs_1.d)(`This property sets the request body. The object you pass here will be serialized to ` +
|
|
21
|
+
`JSON when sending the request. Use the \`rawBody\` property to send another request ` +
|
|
22
|
+
`body using its native format. When you define \`body\` and \`rawBody\`, the latest ` +
|
|
23
|
+
`one prevails.`),
|
|
24
|
+
queryParams: (0, ComponentDefs_1.d)(`This property sets the query parameters for the request. The object you pass here will ` +
|
|
25
|
+
`be serialized to a query string and appended to the request URL. You can specify key ` +
|
|
26
|
+
`and value pairs where the key is the name of a particular query parameter and the value ` +
|
|
27
|
+
`is that parameter's value.`),
|
|
28
|
+
headers: (0, ComponentDefs_1.d)(`You can define request header values as key and value pairs, where the key is the ID of ` +
|
|
29
|
+
`the particular header and the value is that header's value.`),
|
|
30
|
+
confirmTitle: (0, ComponentDefs_1.d)(`This optional string sets the title in the confirmation dialog that is displayed before ` +
|
|
31
|
+
`the \`${COMP}\` is executed.`),
|
|
32
|
+
confirmMessage: (0, ComponentDefs_1.d)(`This optional string sets the message in the confirmation dialog that is displayed before ` +
|
|
33
|
+
`the \`${COMP}\` is executed.`),
|
|
34
|
+
confirmButtonLabel: (0, ComponentDefs_1.d)(`This optional string property enables the customization of the submit button in the ` +
|
|
35
|
+
`confirmation dialog that is displayed before the \`${COMP}\` is executed.`),
|
|
36
|
+
inProgressNotificationMessage: (0, ComponentDefs_1.d)(`This property customizes the message that is displayed in a toast while the API operation ` +
|
|
37
|
+
`is in progress.`),
|
|
38
|
+
errorNotificationMessage: (0, ComponentDefs_1.d)(`This property defines the message to display automatically when the operation results ` +
|
|
39
|
+
`in an error.`),
|
|
40
|
+
completedNotificationMessage: (0, ComponentDefs_1.d)(`This property defines the message to display automatically when the operation has ` +
|
|
41
|
+
`been completed.`),
|
|
42
|
+
payloadType: (0, metadata_helpers_1.dInternal)(),
|
|
43
|
+
invalidates: (0, metadata_helpers_1.dInternal)(),
|
|
44
|
+
updates: (0, metadata_helpers_1.dInternal)(),
|
|
45
|
+
optimisticValue: (0, metadata_helpers_1.dInternal)(),
|
|
46
|
+
getOptimisticValue: (0, metadata_helpers_1.dInternal)(),
|
|
47
|
+
},
|
|
48
|
+
events: {
|
|
49
|
+
beforeRequest: (0, ComponentDefs_1.d)(`This event fires before the request is sent. Returning an explicit boolean` +
|
|
50
|
+
`'false' value will prevent the request from being sent.`),
|
|
51
|
+
success: (0, ComponentDefs_1.d)(`This event fires when a request results in a success.`),
|
|
52
|
+
/**
|
|
53
|
+
* This event fires when a request results in an error.
|
|
54
|
+
* @descriptionRef
|
|
55
|
+
*/
|
|
56
|
+
error: (0, ComponentDefs_1.d)(`This event fires when a request results in an error.`),
|
|
57
|
+
progress: (0, metadata_helpers_1.dInternal)(),
|
|
58
|
+
},
|
|
59
|
+
contextVars: {
|
|
60
|
+
$param: (0, ComponentDefs_1.d)("This value represents the first parameters passed to the \`execute()\` method to " +
|
|
61
|
+
"display the modal dialog."),
|
|
62
|
+
$params: (0, ComponentDefs_1.d)("This value represents the array of parameters passed to the \`execute()\` method. " +
|
|
63
|
+
"You can use \`$params[0]\` to access the first and \`$params[1]\` to access the " +
|
|
64
|
+
"second (and so on) parameters. \`$param\` is the same as \`$params[0]\`."),
|
|
65
|
+
},
|
|
66
|
+
apis: {
|
|
67
|
+
execute: (0, ComponentDefs_1.d)("This method triggers the invocation of the API. You can pass an arbitrary " +
|
|
68
|
+
"number of parameters to the method. In the \`APICall\` instance, you can " +
|
|
69
|
+
"access those with the \`$param\` and \`$params\` context values."),
|
|
70
|
+
},
|
|
71
|
+
});
|
|
72
|
+
exports.apiCallRenderer = (0, renderers_1.createComponentRenderer)(COMP, exports.APICallMd, ({ node, registerComponentApi, uid, extractValue }) => {
|
|
73
|
+
return (0, jsx_runtime_1.jsx)(APICallNative_1.APICallNative, { registerComponentApi: registerComponentApi, node: node, uid: uid });
|
|
74
|
+
});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.APICallNative = APICallNative;
|
|
13
|
+
const react_1 = require("react");
|
|
14
|
+
const misc_1 = require("@components-core/utils/misc");
|
|
15
|
+
const APICall_1 = require("@components-core/action/APICall");
|
|
16
|
+
function APICallNative({ registerComponentApi, node, uid }) {
|
|
17
|
+
const execute = (0, misc_1.useEvent)((executionContext, ...eventArgs) => __awaiter(this, void 0, void 0, function* () {
|
|
18
|
+
var _a, _b, _c, _d;
|
|
19
|
+
const options = eventArgs[1];
|
|
20
|
+
return yield (0, APICall_1.callApi)(executionContext, Object.assign(Object.assign({}, node.props), { body: node.props.body || ((options === null || options === void 0 ? void 0 : options.passAsDefaultBody) ? eventArgs[0] : undefined), uid: uid, params: { $param: eventArgs[0], $params: eventArgs }, onError: (_a = node.events) === null || _a === void 0 ? void 0 : _a.error, onProgress: (_b = node.events) === null || _b === void 0 ? void 0 : _b.progress, onBeforeRequest: (_c = node.events) === null || _c === void 0 ? void 0 : _c.beforeRequest, onSuccess: (_d = node.events) === null || _d === void 0 ? void 0 : _d.success }), {
|
|
21
|
+
resolveBindingExpressions: true,
|
|
22
|
+
});
|
|
23
|
+
}));
|
|
24
|
+
(0, react_1.useEffect)(() => {
|
|
25
|
+
registerComponentApi({
|
|
26
|
+
execute: execute,
|
|
27
|
+
_SUPPORT_IMPLICIT_CONTEXT: true,
|
|
28
|
+
});
|
|
29
|
+
}, [execute, registerComponentApi]);
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.accordionComponentRenderer = exports.AccordionMd = void 0;
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const ComponentDefs_1 = require("@abstractions/ComponentDefs");
|
|
9
|
+
const Accordion_module_scss_1 = __importDefault(require("./Accordion.module.scss"));
|
|
10
|
+
const renderers_1 = require("@components-core/renderers");
|
|
11
|
+
const themeVars_1 = require("@components-core/theming/themeVars");
|
|
12
|
+
const AccordionNative_1 = require("./AccordionNative");
|
|
13
|
+
const metadata_helpers_1 = require("@components/metadata-helpers");
|
|
14
|
+
const abstractions_1 = require("@components/abstractions");
|
|
15
|
+
const COMP = "Accordion";
|
|
16
|
+
// See reference implementation here: https://getbootstrap.com/docs/5.3/components/accordion/
|
|
17
|
+
// Make the header focusable, handle ARIA attributes, and manage the state of the accordion.
|
|
18
|
+
exports.AccordionMd = (0, ComponentDefs_1.createMetadata)({
|
|
19
|
+
status: "in progress",
|
|
20
|
+
description: `(**NOT IMPLEMENTED YET**) The \`${COMP}\` component is a collapsible container that toggles ` +
|
|
21
|
+
`the display of content sections. It helps organize information by expanding or collapsing it ` +
|
|
22
|
+
`based on user interaction.`,
|
|
23
|
+
props: {
|
|
24
|
+
triggerPosition: (0, ComponentDefs_1.d)(`This property indicates the position where the trigger icon should be displayed. The \`start\` ` +
|
|
25
|
+
`value signs the trigger is before the header text (template), and \`end\` indicates that it ` +
|
|
26
|
+
`follows the header.`, abstractions_1.triggerPositionNames, null, "end"),
|
|
27
|
+
collapsedIcon: (0, ComponentDefs_1.d)(`This property is the name of the icon that is displayed when the accordion is collapsed.`),
|
|
28
|
+
expandedIcon: (0, ComponentDefs_1.d)(`This property is the name of the icon that is displayed when the accordion is expanded.`),
|
|
29
|
+
hideIcon: (0, ComponentDefs_1.d)(`This property indicates that the trigger icon is not displayed (\`true\`).`, null, "boolean", false),
|
|
30
|
+
rotateExpanded: (0, ComponentDefs_1.d)(`This optional property defines the rotation angle of the expanded icon (relative to the collapsed icon).`),
|
|
31
|
+
},
|
|
32
|
+
events: {
|
|
33
|
+
displayDidChange: (0, metadata_helpers_1.dDidChange)(COMP),
|
|
34
|
+
},
|
|
35
|
+
apis: {
|
|
36
|
+
expanded: (0, metadata_helpers_1.dExpanded)(COMP),
|
|
37
|
+
expand: (0, metadata_helpers_1.dExpand)(COMP),
|
|
38
|
+
collapse: (0, metadata_helpers_1.dCollapse)(COMP),
|
|
39
|
+
toggle: (0, ComponentDefs_1.d)(`This method toggles the state of the ${COMP} between expanded and collapsed.`),
|
|
40
|
+
focus: (0, metadata_helpers_1.dFocus)(COMP),
|
|
41
|
+
},
|
|
42
|
+
themeVars: (0, themeVars_1.parseScssVar)(Accordion_module_scss_1.default.themeVars),
|
|
43
|
+
defaultThemeVars: {
|
|
44
|
+
[`padding-horizontal-header-${COMP}`]: "$space-3",
|
|
45
|
+
[`padding-vertical-header-${COMP}`]: "$space-3",
|
|
46
|
+
[`align-vertical-header-${COMP}`]: "center",
|
|
47
|
+
[`font-size-header-${COMP}`]: "$font-size-normal",
|
|
48
|
+
[`font-weight-header-${COMP}`]: "$font-weight-normal",
|
|
49
|
+
[`font-family-header-${COMP}`]: "$font-family",
|
|
50
|
+
[`radius-${COMP}`]: "$radius",
|
|
51
|
+
[`thickness-border-${COMP}`]: "0",
|
|
52
|
+
[`style-border-${COMP}`]: "solid",
|
|
53
|
+
[`width-icon-${COMP}`]: "",
|
|
54
|
+
[`height-icon-${COMP}`]: "",
|
|
55
|
+
light: {
|
|
56
|
+
[`color-bg-header-${COMP}`]: "$color-primary-500",
|
|
57
|
+
[`color-bg-header-${COMP}-hover`]: "$color-primary-400",
|
|
58
|
+
[`color-header-${COMP}`]: "$color-surface-50",
|
|
59
|
+
[`color-content-${COMP}`]: "$color-text-primary",
|
|
60
|
+
[`color-bg-content-${COMP}`]: "transparent",
|
|
61
|
+
[`color-border-${COMP}`]: "transparent",
|
|
62
|
+
[`color-icon-${COMP}`]: "$color-surface-50",
|
|
63
|
+
},
|
|
64
|
+
dark: {
|
|
65
|
+
[`color-bg-header-${COMP}`]: "$color-primary-500",
|
|
66
|
+
[`color-bg-header-${COMP}-hover`]: "$color-primary-600",
|
|
67
|
+
[`color-header-${COMP}`]: "$color-surface-50",
|
|
68
|
+
[`color-content-${COMP}`]: "$color-text-primary",
|
|
69
|
+
[`color-bg-content-${COMP}`]: "transparent",
|
|
70
|
+
[`color-border-${COMP}`]: "transparent",
|
|
71
|
+
[`color-icon-${COMP}`]: "$color-surface-50",
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
});
|
|
75
|
+
exports.accordionComponentRenderer = (0, renderers_1.createComponentRenderer)(COMP, exports.AccordionMd, ({ node, renderChild, extractValue, lookupEventHandler, registerComponentApi, layoutCss }) => {
|
|
76
|
+
var _a;
|
|
77
|
+
return ((0, jsx_runtime_1.jsx)(AccordionNative_1.AccordionComponent, { style: layoutCss, triggerPosition: extractValue((_a = node.props) === null || _a === void 0 ? void 0 : _a.triggerPosition), collapsedIcon: extractValue(node.props.collapsedIcon), expandedIcon: extractValue(node.props.expandedIcon), hideIcon: extractValue.asOptionalBoolean(node.props.hideIcon), rotateExpanded: extractValue(node.props.rotateExpanded), onDisplayDidChange: lookupEventHandler("displayDidChange"), registerComponentApi: registerComponentApi, children: renderChild(node.children) }));
|
|
78
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccordionContext = void 0;
|
|
4
|
+
exports.useAccordionContext = useAccordionContext;
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const constants_1 = require("@components-core/constants");
|
|
7
|
+
exports.AccordionContext = (0, react_1.createContext)({
|
|
8
|
+
expandedItems: null,
|
|
9
|
+
rotateExpanded: null,
|
|
10
|
+
expandItem: constants_1.noop,
|
|
11
|
+
register: constants_1.noop,
|
|
12
|
+
unRegister: constants_1.noop,
|
|
13
|
+
hideIcon: null,
|
|
14
|
+
expandedIcon: null,
|
|
15
|
+
collapsedIcon: null,
|
|
16
|
+
triggerPosition: null,
|
|
17
|
+
});
|
|
18
|
+
function useAccordionContext() {
|
|
19
|
+
return (0, react_1.useContext)(exports.AccordionContext);
|
|
20
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.accordionItemComponentRenderer = exports.AccordionItemMd = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const ComponentDefs_1 = require("@abstractions/ComponentDefs");
|
|
6
|
+
const AccordionItemNative_1 = require("@components/Accordion/AccordionItemNative");
|
|
7
|
+
const metadata_helpers_1 = require("@components/metadata-helpers");
|
|
8
|
+
const container_helpers_1 = require("@components/container-helpers");
|
|
9
|
+
const renderers_1 = require("@components-core/renderers");
|
|
10
|
+
const COMP = "AccordionItem";
|
|
11
|
+
exports.AccordionItemMd = (0, ComponentDefs_1.createMetadata)({
|
|
12
|
+
description: `\`${COMP}\` is a non-visual component describing a tab. Tabs component may use nested ` +
|
|
13
|
+
`${COMP} instances from which the user can select.`,
|
|
14
|
+
props: {
|
|
15
|
+
header: (0, ComponentDefs_1.d)("This property declares the text used in the component's header."),
|
|
16
|
+
headerTemplate: (0, metadata_helpers_1.dComponent)("This property describes the template to use as the component's header."),
|
|
17
|
+
initiallyExpanded: (0, ComponentDefs_1.d)(`This property indicates if the ${COMP} is expanded (\`true\`) or collapsed (\`false\`).`, null, "boolean", false),
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
exports.accordionItemComponentRenderer = (0, renderers_1.createComponentRenderer)(COMP, exports.AccordionItemMd, (rendererContext) => {
|
|
21
|
+
const { node, renderChild, extractValue, layoutCss } = rendererContext;
|
|
22
|
+
return ((0, jsx_runtime_1.jsx)(AccordionItemNative_1.AccordionItemComponent, { style: layoutCss, id: extractValue(node.uid), header: extractValue(node.props.header), initiallyExpanded: extractValue.asOptionalBoolean(node.props.initiallyExpanded), headerRenderer: node.props.headerTemplate
|
|
23
|
+
? (item) => {
|
|
24
|
+
var _a;
|
|
25
|
+
return ((0, jsx_runtime_1.jsx)(container_helpers_1.MemoizedItem, { node: (_a = node.props.headerTemplate) !== null && _a !== void 0 ? _a : { type: "Fragment" }, item: item, renderChild: renderChild }));
|
|
26
|
+
}
|
|
27
|
+
: undefined, content: renderChild(node.children) }));
|
|
28
|
+
});
|