#
tokens: 41430/50000 1/1636 files (page 136/175)
lines: on (toggle) GitHub
raw markdown copy reset
This is page 136 of 175. Use http://codebase.md/xmlui-org/xmlui?lines=true&page={x} to view the full context.

# Directory Structure

```
├── .changeset
│   ├── cold-items-taste.md
│   ├── config.json
│   ├── empty-spiders-dress.md
│   ├── shy-windows-allow.md
│   ├── sour-coins-read.md
│   ├── tame-zebras-invite.md
│   ├── twenty-jeans-watch.md
│   └── warm-spies-melt.md
├── .eslintrc.cjs
├── .github
│   ├── build-checklist.png
│   ├── ISSUE_TEMPLATE
│   │   ├── bug_report.md
│   │   └── feature_request.md
│   └── workflows
│       ├── deploy-docs-optimized.yml
│       ├── deploy-docs.yml
│       ├── prepare-versions.yml
│       ├── release-packages.yml
│       ├── run-all-tests.yml
│       └── run-smoke-tests.yml
├── .gitignore
├── .prettierrc.js
├── .vscode
│   ├── launch.json
│   └── settings.json
├── blog
│   ├── .gitignore
│   ├── .gitkeep
│   ├── CHANGELOG.md
│   ├── extensions.ts
│   ├── index.html
│   ├── index.ts
│   ├── package.json
│   ├── public
│   │   ├── blog
│   │   │   ├── images
│   │   │   │   ├── blog-page-component.png
│   │   │   │   ├── blog-scrabble.png
│   │   │   │   ├── integrated-blog-search.png
│   │   │   │   └── lorem-ipsum.png
│   │   │   ├── lorem-ipsum.md
│   │   │   ├── newest-post.md
│   │   │   ├── older-post.md
│   │   │   └── welcome-to-the-xmlui-blog.md
│   │   ├── mockServiceWorker.js
│   │   ├── resources
│   │   │   ├── favicon.ico
│   │   │   ├── files
│   │   │   │   └── for-download
│   │   │   │       └── xmlui
│   │   │   │           └── xmlui-standalone.umd.js
│   │   │   ├── github.svg
│   │   │   ├── llms.txt
│   │   │   ├── logo-dark.svg
│   │   │   ├── logo.svg
│   │   │   ├── pg-popout.svg
│   │   │   └── xmlui-logo.svg
│   │   ├── serve.json
│   │   └── web.config
│   ├── scripts
│   │   ├── download-latest-xmlui.js
│   │   ├── generate-rss.js
│   │   ├── get-releases.js
│   │   └── utils.js
│   ├── src
│   │   ├── components
│   │   │   ├── BlogOverview.xmlui
│   │   │   ├── BlogPage.xmlui
│   │   │   └── PageNotFound.xmlui
│   │   ├── config.ts
│   │   ├── Main.xmlui
│   │   └── themes
│   │       ├── docs-theme.ts
│   │       ├── earthtone.ts
│   │       ├── xmlui-gray-on-default.ts
│   │       ├── xmlui-green-on-default.ts
│   │       └── xmlui-orange-on-default.ts
│   └── tsconfig.json
├── CONTRIBUTING.md
├── docs
│   ├── .gitignore
│   ├── CHANGELOG.md
│   ├── ComponentRefLinks.txt
│   ├── content
│   │   ├── _meta.json
│   │   ├── components
│   │   │   ├── _meta.json
│   │   │   ├── _overview.md
│   │   │   ├── APICall.md
│   │   │   ├── App.md
│   │   │   ├── AppHeader.md
│   │   │   ├── AppState.md
│   │   │   ├── AutoComplete.md
│   │   │   ├── Avatar.md
│   │   │   ├── Backdrop.md
│   │   │   ├── Badge.md
│   │   │   ├── BarChart.md
│   │   │   ├── Bookmark.md
│   │   │   ├── Breakout.md
│   │   │   ├── Button.md
│   │   │   ├── Card.md
│   │   │   ├── Carousel.md
│   │   │   ├── ChangeListener.md
│   │   │   ├── Checkbox.md
│   │   │   ├── CHStack.md
│   │   │   ├── ColorPicker.md
│   │   │   ├── Column.md
│   │   │   ├── ContentSeparator.md
│   │   │   ├── CVStack.md
│   │   │   ├── DataSource.md
│   │   │   ├── DateInput.md
│   │   │   ├── DatePicker.md
│   │   │   ├── DonutChart.md
│   │   │   ├── DropdownMenu.md
│   │   │   ├── EmojiSelector.md
│   │   │   ├── ExpandableItem.md
│   │   │   ├── FileInput.md
│   │   │   ├── FileUploadDropZone.md
│   │   │   ├── FlowLayout.md
│   │   │   ├── Footer.md
│   │   │   ├── Form.md
│   │   │   ├── FormItem.md
│   │   │   ├── FormSection.md
│   │   │   ├── Fragment.md
│   │   │   ├── H1.md
│   │   │   ├── H2.md
│   │   │   ├── H3.md
│   │   │   ├── H4.md
│   │   │   ├── H5.md
│   │   │   ├── H6.md
│   │   │   ├── Heading.md
│   │   │   ├── HSplitter.md
│   │   │   ├── HStack.md
│   │   │   ├── Icon.md
│   │   │   ├── IFrame.md
│   │   │   ├── Image.md
│   │   │   ├── Items.md
│   │   │   ├── LabelList.md
│   │   │   ├── Legend.md
│   │   │   ├── LineChart.md
│   │   │   ├── Link.md
│   │   │   ├── List.md
│   │   │   ├── Logo.md
│   │   │   ├── Markdown.md
│   │   │   ├── MenuItem.md
│   │   │   ├── MenuSeparator.md
│   │   │   ├── ModalDialog.md
│   │   │   ├── NavGroup.md
│   │   │   ├── NavLink.md
│   │   │   ├── NavPanel.md
│   │   │   ├── NoResult.md
│   │   │   ├── NumberBox.md
│   │   │   ├── Option.md
│   │   │   ├── Page.md
│   │   │   ├── PageMetaTitle.md
│   │   │   ├── Pages.md
│   │   │   ├── Pagination.md
│   │   │   ├── PasswordInput.md
│   │   │   ├── PieChart.md
│   │   │   ├── ProgressBar.md
│   │   │   ├── Queue.md
│   │   │   ├── RadioGroup.md
│   │   │   ├── RealTimeAdapter.md
│   │   │   ├── Redirect.md
│   │   │   ├── Select.md
│   │   │   ├── Slider.md
│   │   │   ├── Slot.md
│   │   │   ├── SpaceFiller.md
│   │   │   ├── Spinner.md
│   │   │   ├── Splitter.md
│   │   │   ├── Stack.md
│   │   │   ├── StickyBox.md
│   │   │   ├── SubMenuItem.md
│   │   │   ├── Switch.md
│   │   │   ├── TabItem.md
│   │   │   ├── Table.md
│   │   │   ├── TableOfContents.md
│   │   │   ├── Tabs.md
│   │   │   ├── Text.md
│   │   │   ├── TextArea.md
│   │   │   ├── TextBox.md
│   │   │   ├── Theme.md
│   │   │   ├── TimeInput.md
│   │   │   ├── Timer.md
│   │   │   ├── ToneChangerButton.md
│   │   │   ├── ToneSwitch.md
│   │   │   ├── Tooltip.md
│   │   │   ├── Tree.md
│   │   │   ├── VSplitter.md
│   │   │   ├── VStack.md
│   │   │   ├── xmlui-animations
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   ├── Animation.md
│   │   │   │   ├── FadeAnimation.md
│   │   │   │   ├── FadeInAnimation.md
│   │   │   │   ├── FadeOutAnimation.md
│   │   │   │   ├── ScaleAnimation.md
│   │   │   │   └── SlideInAnimation.md
│   │   │   ├── xmlui-pdf
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   └── Pdf.md
│   │   │   ├── xmlui-spreadsheet
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   └── Spreadsheet.md
│   │   │   └── xmlui-website-blocks
│   │   │       ├── _meta.json
│   │   │       ├── _overview.md
│   │   │       ├── Carousel.md
│   │   │       ├── HelloMd.md
│   │   │       ├── HeroSection.md
│   │   │       └── ScrollToTop.md
│   │   └── extensions
│   │       ├── _meta.json
│   │       ├── xmlui-animations
│   │       │   ├── _meta.json
│   │       │   ├── _overview.md
│   │       │   ├── Animation.md
│   │       │   ├── FadeAnimation.md
│   │       │   ├── FadeInAnimation.md
│   │       │   ├── FadeOutAnimation.md
│   │       │   ├── ScaleAnimation.md
│   │       │   └── SlideInAnimation.md
│   │       └── xmlui-website-blocks
│   │           ├── _meta.json
│   │           ├── _overview.md
│   │           ├── Carousel.md
│   │           ├── HelloMd.md
│   │           ├── HeroSection.md
│   │           └── ScrollToTop.md
│   ├── extensions.ts
│   ├── index.html
│   ├── index.ts
│   ├── package.json
│   ├── public
│   │   ├── feed.rss
│   │   ├── mockServiceWorker.js
│   │   ├── pages
│   │   │   ├── _meta.json
│   │   │   ├── app-structure.md
│   │   │   ├── build-editor-component.md
│   │   │   ├── build-hello-world-component.md
│   │   │   ├── components-intro.md
│   │   │   ├── context-variables.md
│   │   │   ├── forms.md
│   │   │   ├── globals.md
│   │   │   ├── glossary.md
│   │   │   ├── helper-tags.md
│   │   │   ├── hosted-deployment.md
│   │   │   ├── howto
│   │   │   │   ├── assign-a-complex-json-literal-to-a-component-variable.md
│   │   │   │   ├── chain-a-refetch.md
│   │   │   │   ├── debug-a-component.md
│   │   │   │   ├── delay-a-datasource-until-another-datasource-is-ready.md
│   │   │   │   ├── delegate-a-method.md
│   │   │   │   ├── do-custom-form-validation.md
│   │   │   │   ├── expose-a-method-from-a-component.md
│   │   │   │   ├── filter-and-transform-data-from-an-api.md
│   │   │   │   ├── group-items-in-list-by-a-property.md
│   │   │   │   ├── handle-background-operations.md
│   │   │   │   ├── hide-an-element-until-its-datasource-is-ready.md
│   │   │   │   ├── make-a-set-of-equal-width-cards.md
│   │   │   │   ├── make-a-table-responsive.md
│   │   │   │   ├── modify-a-value-reported-in-a-column.md
│   │   │   │   ├── paginate-a-list.md
│   │   │   │   ├── pass-data-to-a-modal-dialog.md
│   │   │   │   ├── react-to-button-click-not-keystrokes.md
│   │   │   │   ├── set-the-initial-value-of-a-select-from-fetched-data.md
│   │   │   │   ├── share-a-modaldialog-across-components.md
│   │   │   │   ├── sync-selections-between-table-and-list-views.md
│   │   │   │   ├── update-ui-optimistically.md
│   │   │   │   ├── use-built-in-form-validation.md
│   │   │   │   └── use-the-same-modaldialog-to-add-or-edit.md
│   │   │   ├── howto.md
│   │   │   ├── intro.md
│   │   │   ├── layout.md
│   │   │   ├── markup.md
│   │   │   ├── mcp.md
│   │   │   ├── modal-dialogs.md
│   │   │   ├── news-and-reviews.md
│   │   │   ├── reactive-intro.md
│   │   │   ├── refactoring.md
│   │   │   ├── routing-and-links.md
│   │   │   ├── samples
│   │   │   │   ├── color-palette.xmlui
│   │   │   │   ├── color-values.xmlui
│   │   │   │   ├── shadow-sizes.xmlui
│   │   │   │   ├── spacing-sizes.xmlui
│   │   │   │   ├── swatch.xmlui
│   │   │   │   ├── theme-gallery-brief.xmlui
│   │   │   │   └── theme-gallery.xmlui
│   │   │   ├── scoping.md
│   │   │   ├── scripting.md
│   │   │   ├── styles-and-themes
│   │   │   │   ├── common-units.md
│   │   │   │   ├── layout-props.md
│   │   │   │   ├── theme-variable-defaults.md
│   │   │   │   ├── theme-variables.md
│   │   │   │   └── themes.md
│   │   │   ├── template-properties.md
│   │   │   ├── test.md
│   │   │   ├── tutorial-01.md
│   │   │   ├── tutorial-02.md
│   │   │   ├── tutorial-03.md
│   │   │   ├── tutorial-04.md
│   │   │   ├── tutorial-05.md
│   │   │   ├── tutorial-06.md
│   │   │   ├── tutorial-07.md
│   │   │   ├── tutorial-08.md
│   │   │   ├── tutorial-09.md
│   │   │   ├── tutorial-10.md
│   │   │   ├── tutorial-11.md
│   │   │   ├── tutorial-12.md
│   │   │   ├── universal-properties.md
│   │   │   ├── user-defined-components.md
│   │   │   ├── vscode.md
│   │   │   ├── working-with-markdown.md
│   │   │   ├── working-with-text.md
│   │   │   ├── xmlui-animations
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   ├── Animation.md
│   │   │   │   ├── FadeAnimation.md
│   │   │   │   ├── FadeInAnimation.md
│   │   │   │   ├── FadeOutAnimation.md
│   │   │   │   ├── ScaleAnimation.md
│   │   │   │   └── SlideInAnimation.md
│   │   │   ├── xmlui-charts
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   ├── BarChart.md
│   │   │   │   ├── DonutChart.md
│   │   │   │   ├── LabelList.md
│   │   │   │   ├── Legend.md
│   │   │   │   ├── LineChart.md
│   │   │   │   └── PieChart.md
│   │   │   ├── xmlui-pdf
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   └── Pdf.md
│   │   │   └── xmlui-spreadsheet
│   │   │       ├── _meta.json
│   │   │       ├── _overview.md
│   │   │       └── Spreadsheet.md
│   │   ├── resources
│   │   │   ├── devdocs
│   │   │   │   ├── debug-proxy-object-2.png
│   │   │   │   ├── debug-proxy-object.png
│   │   │   │   ├── table_editor_01.png
│   │   │   │   ├── table_editor_02.png
│   │   │   │   ├── table_editor_03.png
│   │   │   │   ├── table_editor_04.png
│   │   │   │   ├── table_editor_05.png
│   │   │   │   ├── table_editor_06.png
│   │   │   │   ├── table_editor_07.png
│   │   │   │   ├── table_editor_08.png
│   │   │   │   ├── table_editor_09.png
│   │   │   │   ├── table_editor_10.png
│   │   │   │   ├── table_editor_11.png
│   │   │   │   ├── table-editor-01.png
│   │   │   │   ├── table-editor-02.png
│   │   │   │   ├── table-editor-03.png
│   │   │   │   ├── table-editor-04.png
│   │   │   │   ├── table-editor-06.png
│   │   │   │   ├── table-editor-07.png
│   │   │   │   ├── table-editor-08.png
│   │   │   │   ├── table-editor-09.png
│   │   │   │   └── xmlui-rendering-of-tiptap-markdown.png
│   │   │   ├── favicon.ico
│   │   │   ├── files
│   │   │   │   ├── clients.json
│   │   │   │   ├── daily-revenue.json
│   │   │   │   ├── dashboard-stats.json
│   │   │   │   ├── demo.xmlui
│   │   │   │   ├── demo.xmlui.xs
│   │   │   │   ├── downloads
│   │   │   │   │   └── downloads.json
│   │   │   │   ├── for-download
│   │   │   │   │   ├── index-with-api.html
│   │   │   │   │   ├── index.html
│   │   │   │   │   ├── mockApi.js
│   │   │   │   │   ├── start-darwin.sh
│   │   │   │   │   ├── start-linux.sh
│   │   │   │   │   ├── start.bat
│   │   │   │   │   └── xmlui
│   │   │   │   │       └── xmlui-standalone.umd.js
│   │   │   │   ├── getting-started
│   │   │   │   │   ├── cl-tutorial-final.zip
│   │   │   │   │   ├── cl-tutorial.zip
│   │   │   │   │   ├── cl-tutorial2.zip
│   │   │   │   │   ├── cl-tutorial3.zip
│   │   │   │   │   ├── cl-tutorial4.zip
│   │   │   │   │   ├── cl-tutorial5.zip
│   │   │   │   │   ├── cl-tutorial6.zip
│   │   │   │   │   ├── getting-started.zip
│   │   │   │   │   ├── hello-xmlui.zip
│   │   │   │   │   ├── xmlui-empty.zip
│   │   │   │   │   └── xmlui-starter.zip
│   │   │   │   ├── howto
│   │   │   │   │   └── component-icons
│   │   │   │   │       └── up-arrow.svg
│   │   │   │   ├── invoices.json
│   │   │   │   ├── monthly-status.json
│   │   │   │   ├── news-and-reviews.json
│   │   │   │   ├── products.json
│   │   │   │   ├── releases.json
│   │   │   │   ├── tutorials
│   │   │   │   │   ├── datasource
│   │   │   │   │   │   └── api.ts
│   │   │   │   │   └── p2do
│   │   │   │   │       ├── api.ts
│   │   │   │   │       └── todo-logo.svg
│   │   │   │   └── xmlui.json
│   │   │   ├── github.svg
│   │   │   ├── images
│   │   │   │   ├── apiaction-tutorial
│   │   │   │   │   ├── add-success.png
│   │   │   │   │   ├── apiaction-param.png
│   │   │   │   │   ├── change-completed.png
│   │   │   │   │   ├── change-in-progress.png
│   │   │   │   │   ├── confirm-delete.png
│   │   │   │   │   ├── data-error.png
│   │   │   │   │   ├── data-progress.png
│   │   │   │   │   ├── data-success.png
│   │   │   │   │   ├── display-1.png
│   │   │   │   │   ├── item-deleted.png
│   │   │   │   │   ├── item-updated.png
│   │   │   │   │   ├── missing-api-key.png
│   │   │   │   │   ├── new-item-added.png
│   │   │   │   │   └── test-message.png
│   │   │   │   ├── chat-api
│   │   │   │   │   └── domain-model.svg
│   │   │   │   ├── components
│   │   │   │   │   ├── image
│   │   │   │   │   │   └── breakfast.jpg
│   │   │   │   │   ├── markdown
│   │   │   │   │   │   └── colors.png
│   │   │   │   │   └── modal
│   │   │   │   │       ├── deep_link_dialog_1.jpg
│   │   │   │   │       └── deep_link_dialog_2.jpg
│   │   │   │   ├── create-apps
│   │   │   │   │   ├── collapsed-vertical.png
│   │   │   │   │   ├── using-forms-warning-dialog.png
│   │   │   │   │   └── using-forms.png
│   │   │   │   ├── datasource-tutorial
│   │   │   │   │   ├── data-with-header.png
│   │   │   │   │   ├── filtered-data.png
│   │   │   │   │   ├── filtered-items.png
│   │   │   │   │   ├── initial-page-items.png
│   │   │   │   │   ├── list-items.png
│   │   │   │   │   ├── next-page-items.png
│   │   │   │   │   ├── no-data.png
│   │   │   │   │   ├── pagination-1.jpg
│   │   │   │   │   ├── pagination-1.png
│   │   │   │   │   ├── polling-1.png
│   │   │   │   │   ├── refetch-data.png
│   │   │   │   │   ├── slow-loading.png
│   │   │   │   │   ├── test-message.png
│   │   │   │   │   ├── Thumbs.db
│   │   │   │   │   ├── unconventional-data.png
│   │   │   │   │   └── unfiltered-items.png
│   │   │   │   ├── flower.jpg
│   │   │   │   ├── get-started
│   │   │   │   │   ├── add-new-contact.png
│   │   │   │   │   ├── app-modified.png
│   │   │   │   │   ├── app-start.png
│   │   │   │   │   ├── app-with-boxes.png
│   │   │   │   │   ├── app-with-toast.png
│   │   │   │   │   ├── boilerplate-structure.png
│   │   │   │   │   ├── cl-initial.png
│   │   │   │   │   ├── cl-start.png
│   │   │   │   │   ├── contact-counts.png
│   │   │   │   │   ├── contact-dialog-title.png
│   │   │   │   │   ├── contact-dialog.png
│   │   │   │   │   ├── contact-menus.png
│   │   │   │   │   ├── contact-predicates.png
│   │   │   │   │   ├── context-menu.png
│   │   │   │   │   ├── dashboard-numbers.png
│   │   │   │   │   ├── default-contact-list.png
│   │   │   │   │   ├── delete-contact.png
│   │   │   │   │   ├── delete-task.png
│   │   │   │   │   ├── detailed-template.png
│   │   │   │   │   ├── edit-contact-details.png
│   │   │   │   │   ├── edited-contact-saved.png
│   │   │   │   │   ├── empty-sections.png
│   │   │   │   │   ├── filter-completed.png
│   │   │   │   │   ├── fullwidth-desktop.png
│   │   │   │   │   ├── fullwidth-mobile.png
│   │   │   │   │   ├── initial-table.png
│   │   │   │   │   ├── items-and-badges.png
│   │   │   │   │   ├── loading-message.png
│   │   │   │   │   ├── new-contact-button.png
│   │   │   │   │   ├── new-contact-saved.png
│   │   │   │   │   ├── no-empty-sections.png
│   │   │   │   │   ├── personal-todo-initial.png
│   │   │   │   │   ├── piechart.png
│   │   │   │   │   ├── review-today.png
│   │   │   │   │   ├── rudimentary-dashboard.png
│   │   │   │   │   ├── section-collapsed.png
│   │   │   │   │   ├── sectioned-items.png
│   │   │   │   │   ├── sections-ordered.png
│   │   │   │   │   ├── spacex-list-with-links.png
│   │   │   │   │   ├── spacex-list.png
│   │   │   │   │   ├── start-personal-todo-1.png
│   │   │   │   │   ├── submit-new-contact.png
│   │   │   │   │   ├── submit-new-task.png
│   │   │   │   │   ├── syntax-highlighting.png
│   │   │   │   │   ├── table-with-badge.png
│   │   │   │   │   ├── template-with-card.png
│   │   │   │   │   ├── test-emulated-api.png
│   │   │   │   │   ├── Thumbs.db
│   │   │   │   │   ├── todo-logo.png
│   │   │   │   │   └── xmlui-tools.png
│   │   │   │   ├── HelloApp.png
│   │   │   │   ├── HelloApp2.png
│   │   │   │   ├── logos
│   │   │   │   │   ├── xmlui1.svg
│   │   │   │   │   ├── xmlui2.svg
│   │   │   │   │   ├── xmlui3.svg
│   │   │   │   │   ├── xmlui4.svg
│   │   │   │   │   ├── xmlui5.svg
│   │   │   │   │   ├── xmlui6.svg
│   │   │   │   │   └── xmlui7.svg
│   │   │   │   ├── pdf
│   │   │   │   │   └── dummy-pdf.jpg
│   │   │   │   ├── rendering-engine
│   │   │   │   │   ├── AppEngine-flow.svg
│   │   │   │   │   ├── Component.svg
│   │   │   │   │   ├── CompoundComponent.svg
│   │   │   │   │   ├── RootComponent.svg
│   │   │   │   │   └── tree-with-containers.svg
│   │   │   │   ├── reviewers-guide
│   │   │   │   │   ├── AppEngine-flow.svg
│   │   │   │   │   └── incbutton-in-action.png
│   │   │   │   ├── tools
│   │   │   │   │   └── boilerplate-structure.png
│   │   │   │   ├── try.svg
│   │   │   │   ├── tutorial
│   │   │   │   │   ├── app-chat-history.png
│   │   │   │   │   ├── app-content-placeholder.png
│   │   │   │   │   ├── app-header-and-content.png
│   │   │   │   │   ├── app-links-channel-selected.png
│   │   │   │   │   ├── app-links-click.png
│   │   │   │   │   ├── app-navigation.png
│   │   │   │   │   ├── finished-ex01.png
│   │   │   │   │   ├── finished-ex02.png
│   │   │   │   │   ├── hello.png
│   │   │   │   │   ├── splash-screen-advanced.png
│   │   │   │   │   ├── splash-screen-after-click.png
│   │   │   │   │   ├── splash-screen-centered.png
│   │   │   │   │   ├── splash-screen-events.png
│   │   │   │   │   ├── splash-screen-expression.png
│   │   │   │   │   ├── splash-screen-reuse-after.png
│   │   │   │   │   ├── splash-screen-reuse-before.png
│   │   │   │   │   └── splash-screen.png
│   │   │   │   └── tutorial-01.png
│   │   │   ├── llms.txt
│   │   │   ├── logo-dark.svg
│   │   │   ├── logo.svg
│   │   │   ├── pg-popout.svg
│   │   │   └── xmlui-logo.svg
│   │   ├── serve.json
│   │   └── web.config
│   ├── scripts
│   │   ├── download-latest-xmlui.js
│   │   ├── generate-rss.js
│   │   ├── get-releases.js
│   │   └── utils.js
│   ├── src
│   │   ├── components
│   │   │   ├── BlogOverview.xmlui
│   │   │   ├── BlogPage.xmlui
│   │   │   ├── Boxes.xmlui
│   │   │   ├── Breadcrumb.xmlui
│   │   │   ├── ChangeLog.xmlui
│   │   │   ├── ColorPalette.xmlui
│   │   │   ├── DocumentLinks.xmlui
│   │   │   ├── DocumentPage.xmlui
│   │   │   ├── DocumentPageNoTOC.xmlui
│   │   │   ├── Icons.xmlui
│   │   │   ├── IncButton.xmlui
│   │   │   ├── IncButton2.xmlui
│   │   │   ├── NameValue.xmlui
│   │   │   ├── PageNotFound.xmlui
│   │   │   ├── PaletteItem.xmlui
│   │   │   ├── Palettes.xmlui
│   │   │   ├── SectionHeader.xmlui
│   │   │   ├── TBD.xmlui
│   │   │   ├── Test.xmlui
│   │   │   ├── ThemesIntro.xmlui
│   │   │   ├── ThousandThemes.xmlui
│   │   │   ├── TubeStops.xmlui
│   │   │   ├── TubeStops.xmlui.xs
│   │   │   └── TwoColumnCode.xmlui
│   │   ├── config.ts
│   │   ├── Main.xmlui
│   │   └── themes
│   │       ├── docs-theme.ts
│   │       ├── earthtone.ts
│   │       ├── xmlui-gray-on-default.ts
│   │       ├── xmlui-green-on-default.ts
│   │       └── xmlui-orange-on-default.ts
│   └── tsconfig.json
├── LICENSE
├── package-lock.json
├── package.json
├── packages
│   ├── xmlui-animations
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   ├── src
│   │   │   ├── Animation.tsx
│   │   │   ├── AnimationNative.tsx
│   │   │   ├── FadeAnimation.tsx
│   │   │   ├── FadeInAnimation.tsx
│   │   │   ├── FadeOutAnimation.tsx
│   │   │   ├── index.tsx
│   │   │   ├── ScaleAnimation.tsx
│   │   │   └── SlideInAnimation.tsx
│   │   └── tsconfig.json
│   ├── xmlui-devtools
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   ├── src
│   │   │   ├── devtools
│   │   │   │   ├── DevTools.tsx
│   │   │   │   ├── DevToolsNative.module.scss
│   │   │   │   ├── DevToolsNative.tsx
│   │   │   │   ├── ModalDialog.module.scss
│   │   │   │   ├── ModalDialog.tsx
│   │   │   │   ├── ModalVisibilityContext.tsx
│   │   │   │   ├── Tooltip.module.scss
│   │   │   │   ├── Tooltip.tsx
│   │   │   │   └── utils.ts
│   │   │   ├── editor
│   │   │   │   └── Editor.tsx
│   │   │   └── index.tsx
│   │   ├── tsconfig.json
│   │   └── vite.config-overrides.ts
│   ├── xmlui-hello-world
│   │   ├── .gitignore
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   ├── src
│   │   │   ├── HelloWorld.module.scss
│   │   │   ├── HelloWorld.tsx
│   │   │   ├── HelloWorldNative.tsx
│   │   │   └── index.tsx
│   │   └── tsconfig.json
│   ├── xmlui-os-frames
│   │   ├── .gitignore
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   ├── src
│   │   │   ├── index.tsx
│   │   │   ├── IPhoneFrame.module.scss
│   │   │   ├── IPhoneFrame.tsx
│   │   │   ├── MacOSAppFrame.module.scss
│   │   │   ├── MacOSAppFrame.tsx
│   │   │   ├── WindowsAppFrame.module.scss
│   │   │   └── WindowsAppFrame.tsx
│   │   └── tsconfig.json
│   ├── xmlui-pdf
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── demo
│   │   │   ├── components
│   │   │   │   └── Pdf.xmlui
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   ├── src
│   │   │   ├── index.tsx
│   │   │   ├── LazyPdfNative.tsx
│   │   │   ├── Pdf.module.scss
│   │   │   └── Pdf.tsx
│   │   └── tsconfig.json
│   ├── xmlui-playground
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   ├── src
│   │   │   ├── hooks
│   │   │   │   ├── usePlayground.ts
│   │   │   │   └── useToast.ts
│   │   │   ├── index.tsx
│   │   │   ├── playground
│   │   │   │   ├── Box.module.scss
│   │   │   │   ├── Box.tsx
│   │   │   │   ├── CodeSelector.tsx
│   │   │   │   ├── ConfirmationDialog.module.scss
│   │   │   │   ├── ConfirmationDialog.tsx
│   │   │   │   ├── Editor.tsx
│   │   │   │   ├── Header.module.scss
│   │   │   │   ├── Header.tsx
│   │   │   │   ├── Playground.tsx
│   │   │   │   ├── PlaygroundContent.module.scss
│   │   │   │   ├── PlaygroundContent.tsx
│   │   │   │   ├── PlaygroundNative.module.scss
│   │   │   │   ├── PlaygroundNative.tsx
│   │   │   │   ├── Preview.module.scss
│   │   │   │   ├── Preview.tsx
│   │   │   │   ├── Select.module.scss
│   │   │   │   ├── StandalonePlayground.tsx
│   │   │   │   ├── StandalonePlaygroundNative.module.scss
│   │   │   │   ├── StandalonePlaygroundNative.tsx
│   │   │   │   ├── ThemeSwitcher.module.scss
│   │   │   │   ├── ThemeSwitcher.tsx
│   │   │   │   ├── ToneSwitcher.tsx
│   │   │   │   ├── Tooltip.module.scss
│   │   │   │   ├── Tooltip.tsx
│   │   │   │   └── utils.ts
│   │   │   ├── providers
│   │   │   │   ├── Toast.module.scss
│   │   │   │   └── ToastProvider.tsx
│   │   │   ├── state
│   │   │   │   └── store.ts
│   │   │   ├── themes
│   │   │   │   └── theme.ts
│   │   │   └── utils
│   │   │       └── helpers.ts
│   │   └── tsconfig.json
│   ├── xmlui-search
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   ├── src
│   │   │   ├── index.tsx
│   │   │   ├── Search.module.scss
│   │   │   └── Search.tsx
│   │   └── tsconfig.json
│   ├── xmlui-spreadsheet
│   │   ├── .gitignore
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   ├── src
│   │   │   ├── index.tsx
│   │   │   ├── Spreadsheet.tsx
│   │   │   └── SpreadsheetNative.tsx
│   │   └── tsconfig.json
│   └── xmlui-website-blocks
│       ├── .gitignore
│       ├── CHANGELOG.md
│       ├── demo
│       │   ├── components
│       │   │   ├── HeroBackgroundBreakoutPage.xmlui
│       │   │   ├── HeroBackgroundsPage.xmlui
│       │   │   ├── HeroContentsPage.xmlui
│       │   │   ├── HeroTextAlignPage.xmlui
│       │   │   ├── HeroTextPage.xmlui
│       │   │   └── HeroTonesPage.xmlui
│       │   ├── Main.xmlui
│       │   └── themes
│       │       └── default.ts
│       ├── index.html
│       ├── index.ts
│       ├── meta
│       │   └── componentsMetadata.ts
│       ├── package.json
│       ├── public
│       │   └── resources
│       │       ├── building.jpg
│       │       └── xmlui-logo.svg
│       ├── src
│       │   ├── Carousel
│       │   │   ├── Carousel.module.scss
│       │   │   ├── Carousel.tsx
│       │   │   ├── CarouselContext.tsx
│       │   │   └── CarouselNative.tsx
│       │   ├── FancyButton
│       │   │   ├── FancyButton.module.scss
│       │   │   ├── FancyButton.tsx
│       │   │   └── FancyButton.xmlui
│       │   ├── Hello
│       │   │   ├── Hello.tsx
│       │   │   ├── Hello.xmlui
│       │   │   └── Hello.xmlui.xs
│       │   ├── HeroSection
│       │   │   ├── HeroSection.module.scss
│       │   │   ├── HeroSection.tsx
│       │   │   └── HeroSectionNative.tsx
│       │   ├── index.tsx
│       │   ├── ScrollToTop
│       │   │   ├── ScrollToTop.module.scss
│       │   │   ├── ScrollToTop.tsx
│       │   │   └── ScrollToTopNative.tsx
│       │   └── vite-env.d.ts
│       └── tsconfig.json
├── README.md
├── tools
│   ├── codefence
│   │   └── xmlui-code-fence-docs.md
│   ├── create-app
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── create-app.ts
│   │   ├── helpers
│   │   │   ├── copy.ts
│   │   │   ├── get-pkg-manager.ts
│   │   │   ├── git.ts
│   │   │   ├── install.ts
│   │   │   ├── is-folder-empty.ts
│   │   │   ├── is-writeable.ts
│   │   │   ├── make-dir.ts
│   │   │   └── validate-pkg.ts
│   │   ├── index.ts
│   │   ├── package.json
│   │   ├── templates
│   │   │   ├── default
│   │   │   │   └── ts
│   │   │   │       ├── gitignore
│   │   │   │       ├── index.html
│   │   │   │       ├── index.ts
│   │   │   │       ├── public
│   │   │   │       │   ├── mockServiceWorker.js
│   │   │   │       │   ├── resources
│   │   │   │       │   │   ├── favicon.ico
│   │   │   │       │   │   └── xmlui-logo.svg
│   │   │   │       │   └── serve.json
│   │   │   │       └── src
│   │   │   │           ├── components
│   │   │   │           │   ├── ApiAware.xmlui
│   │   │   │           │   ├── Home.xmlui
│   │   │   │           │   ├── IncButton.xmlui
│   │   │   │           │   └── PagePanel.xmlui
│   │   │   │           ├── config.ts
│   │   │   │           └── Main.xmlui
│   │   │   ├── index.ts
│   │   │   └── types.ts
│   │   └── tsconfig.json
│   ├── create-xmlui-hello-world
│   │   ├── index.js
│   │   └── package.json
│   └── vscode
│       ├── .gitignore
│       ├── .vscode
│       │   ├── launch.json
│       │   └── tasks.json
│       ├── .vscodeignore
│       ├── build.sh
│       ├── CHANGELOG.md
│       ├── esbuild.js
│       ├── eslint.config.mjs
│       ├── formatter-docs.md
│       ├── generate-test-sample.sh
│       ├── LICENSE.md
│       ├── package-lock.json
│       ├── package.json
│       ├── README.md
│       ├── resources
│       │   ├── xmlui-logo.png
│       │   └── xmlui-markup-syntax-highlighting.png
│       ├── src
│       │   ├── extension.ts
│       │   └── server.ts
│       ├── syntaxes
│       │   └── xmlui.tmLanguage.json
│       ├── test-samples
│       │   └── sample.xmlui
│       ├── tsconfig.json
│       └── tsconfig.tsbuildinfo
├── turbo.json
└── xmlui
    ├── .gitignore
    ├── bin
    │   ├── bootstrap.js
    │   ├── build-lib.ts
    │   ├── build.ts
    │   ├── index.ts
    │   ├── preview.ts
    │   ├── start.ts
    │   ├── vite-xmlui-plugin.ts
    │   └── viteConfig.ts
    ├── CHANGELOG.md
    ├── conventions
    │   ├── component-qa-checklist.md
    │   ├── copilot-conventions.md
    │   ├── create-xmlui-components.md
    │   └── testing-conventions.md
    ├── dev-docs
    │   ├── accessibility.md
    │   ├── actions.md
    │   ├── AppRoot.md
    │   ├── component-apis.md
    │   ├── component-rendering.md
    │   ├── component-review-checklist.md
    │   ├── data-sources.md
    │   ├── e2e-summary.md
    │   ├── expression-evaluation.md
    │   ├── glossary.md
    │   ├── helper-components.md
    │   ├── index.md
    │   ├── loaders.md
    │   ├── next
    │   │   ├── component-dev-guide.md
    │   │   ├── configuration-management-enhancement-summary.md
    │   │   ├── documentation-scripts-refactoring-complete-summary.md
    │   │   ├── documentation-scripts-refactoring-plan.md
    │   │   ├── duplicate-pattern-extraction-summary.md
    │   │   ├── error-handling-standardization-summary.md
    │   │   ├── generating-component-reference.md
    │   │   ├── index.md
    │   │   ├── logging-consistency-implementation-summary.md
    │   │   ├── project-build.md
    │   │   ├── project-structure.md
    │   │   ├── theme-context.md
    │   │   ├── tiptap-design-considerations.md
    │   │   ├── working-with-code.md
    │   │   ├── xmlui-runtime-architecture
    │   │   └── xmlui-wcag-accessibility-report.md
    │   ├── react-fundamentals.md
    │   ├── release-method.md
    │   ├── rendering-fundamentals.md
    │   ├── reusable-components.md
    │   ├── standalone-apps.md
    │   ├── state-management.md
    │   └── xmlui-extensibility.xlsx
    ├── package.json
    ├── playwright.config.ts
    ├── scripts
    │   ├── coverage-only.js
    │   ├── e2e-test-summary.js
    │   ├── generate-docs
    │   │   ├── build-downloads-map.mjs
    │   │   ├── build-pages-map.mjs
    │   │   ├── components-config.json
    │   │   ├── configuration-management.mjs
    │   │   ├── constants.mjs
    │   │   ├── create-theme-files.mjs
    │   │   ├── DocsGenerator.mjs
    │   │   ├── error-handling.mjs
    │   │   ├── extensions-config.json
    │   │   ├── folders.mjs
    │   │   ├── generate-summary-files.mjs
    │   │   ├── get-docs.mjs
    │   │   ├── input-handler.mjs
    │   │   ├── logger.mjs
    │   │   ├── logging-standards.mjs
    │   │   ├── MetadataProcessor.mjs
    │   │   ├── pattern-utilities.mjs
    │   │   └── utils.mjs
    │   ├── get-langserver-metadata.mjs
    │   ├── inline-links.mjs
    │   └── README-e2e-summary.md
    ├── src
    │   ├── abstractions
    │   │   ├── _conventions.md
    │   │   ├── ActionDefs.ts
    │   │   ├── AppContextDefs.ts
    │   │   ├── ComponentDefs.ts
    │   │   ├── ContainerDefs.ts
    │   │   ├── ExtensionDefs.ts
    │   │   ├── FunctionDefs.ts
    │   │   ├── RendererDefs.ts
    │   │   ├── scripting
    │   │   │   ├── BlockScope.ts
    │   │   │   ├── Compilation.ts
    │   │   │   ├── LogicalThread.ts
    │   │   │   ├── LoopScope.ts
    │   │   │   ├── modules.ts
    │   │   │   ├── ScriptParserError.ts
    │   │   │   ├── Token.ts
    │   │   │   ├── TryScope.ts
    │   │   │   └── TryScopeExp.ts
    │   │   └── ThemingDefs.ts
    │   ├── components
    │   │   ├── _conventions.md
    │   │   ├── abstractions.ts
    │   │   ├── Accordion
    │   │   │   ├── Accordion.md
    │   │   │   ├── Accordion.module.scss
    │   │   │   ├── Accordion.spec.ts
    │   │   │   ├── Accordion.tsx
    │   │   │   ├── AccordionContext.tsx
    │   │   │   ├── AccordionItem.tsx
    │   │   │   ├── AccordionItemNative.tsx
    │   │   │   └── AccordionNative.tsx
    │   │   ├── Animation
    │   │   │   └── AnimationNative.tsx
    │   │   ├── APICall
    │   │   │   ├── APICall.md
    │   │   │   ├── APICall.spec.ts
    │   │   │   ├── APICall.tsx
    │   │   │   └── APICallNative.tsx
    │   │   ├── App
    │   │   │   ├── App.md
    │   │   │   ├── App.module.scss
    │   │   │   ├── App.spec.ts
    │   │   │   ├── App.tsx
    │   │   │   ├── AppLayoutContext.ts
    │   │   │   ├── AppNative.tsx
    │   │   │   ├── AppStateContext.ts
    │   │   │   ├── doc-resources
    │   │   │   │   ├── condensed-sticky.xmlui
    │   │   │   │   ├── condensed.xmlui
    │   │   │   │   ├── horizontal-sticky.xmlui
    │   │   │   │   ├── horizontal.xmlui
    │   │   │   │   ├── vertical-full-header.xmlui
    │   │   │   │   ├── vertical-sticky.xmlui
    │   │   │   │   └── vertical.xmlui
    │   │   │   ├── IndexerContext.ts
    │   │   │   ├── LinkInfoContext.ts
    │   │   │   ├── SearchContext.tsx
    │   │   │   ├── Sheet.module.scss
    │   │   │   └── Sheet.tsx
    │   │   ├── AppHeader
    │   │   │   ├── AppHeader.md
    │   │   │   ├── AppHeader.module.scss
    │   │   │   ├── AppHeader.spec.ts
    │   │   │   ├── AppHeader.tsx
    │   │   │   └── AppHeaderNative.tsx
    │   │   ├── AppState
    │   │   │   ├── AppState.md
    │   │   │   ├── AppState.spec.ts
    │   │   │   ├── AppState.tsx
    │   │   │   └── AppStateNative.tsx
    │   │   ├── AutoComplete
    │   │   │   ├── AutoComplete.md
    │   │   │   ├── AutoComplete.module.scss
    │   │   │   ├── AutoComplete.spec.ts
    │   │   │   ├── AutoComplete.tsx
    │   │   │   ├── AutoCompleteContext.tsx
    │   │   │   └── AutoCompleteNative.tsx
    │   │   ├── Avatar
    │   │   │   ├── Avatar.md
    │   │   │   ├── Avatar.module.scss
    │   │   │   ├── Avatar.spec.ts
    │   │   │   ├── Avatar.tsx
    │   │   │   └── AvatarNative.tsx
    │   │   ├── Backdrop
    │   │   │   ├── Backdrop.md
    │   │   │   ├── Backdrop.module.scss
    │   │   │   ├── Backdrop.spec.ts
    │   │   │   ├── Backdrop.tsx
    │   │   │   └── BackdropNative.tsx
    │   │   ├── Badge
    │   │   │   ├── Badge.md
    │   │   │   ├── Badge.module.scss
    │   │   │   ├── Badge.spec.ts
    │   │   │   ├── Badge.tsx
    │   │   │   └── BadgeNative.tsx
    │   │   ├── Bookmark
    │   │   │   ├── Bookmark.md
    │   │   │   ├── Bookmark.module.scss
    │   │   │   ├── Bookmark.spec.ts
    │   │   │   ├── Bookmark.tsx
    │   │   │   └── BookmarkNative.tsx
    │   │   ├── Breakout
    │   │   │   ├── Breakout.module.scss
    │   │   │   ├── Breakout.spec.ts
    │   │   │   ├── Breakout.tsx
    │   │   │   └── BreakoutNative.tsx
    │   │   ├── Button
    │   │   │   ├── Button-style.spec.ts
    │   │   │   ├── Button.md
    │   │   │   ├── Button.module.scss
    │   │   │   ├── Button.spec.ts
    │   │   │   ├── Button.tsx
    │   │   │   └── ButtonNative.tsx
    │   │   ├── Card
    │   │   │   ├── Card.md
    │   │   │   ├── Card.module.scss
    │   │   │   ├── Card.spec.ts
    │   │   │   ├── Card.tsx
    │   │   │   └── CardNative.tsx
    │   │   ├── Carousel
    │   │   │   ├── Carousel.md
    │   │   │   ├── Carousel.module.scss
    │   │   │   ├── Carousel.spec.ts
    │   │   │   ├── Carousel.tsx
    │   │   │   ├── CarouselContext.tsx
    │   │   │   ├── CarouselItem.tsx
    │   │   │   ├── CarouselItemNative.tsx
    │   │   │   └── CarouselNative.tsx
    │   │   ├── ChangeListener
    │   │   │   ├── ChangeListener.md
    │   │   │   ├── ChangeListener.spec.ts
    │   │   │   ├── ChangeListener.tsx
    │   │   │   └── ChangeListenerNative.tsx
    │   │   ├── chart-color-schemes.ts
    │   │   ├── Charts
    │   │   │   ├── AreaChart
    │   │   │   │   ├── AreaChart.md
    │   │   │   │   ├── AreaChart.spec.ts
    │   │   │   │   ├── AreaChart.tsx
    │   │   │   │   └── AreaChartNative.tsx
    │   │   │   ├── BarChart
    │   │   │   │   ├── BarChart.md
    │   │   │   │   ├── BarChart.module.scss
    │   │   │   │   ├── BarChart.spec.ts
    │   │   │   │   ├── BarChart.tsx
    │   │   │   │   └── BarChartNative.tsx
    │   │   │   ├── DonutChart
    │   │   │   │   ├── DonutChart.spec.ts
    │   │   │   │   └── DonutChart.tsx
    │   │   │   ├── LabelList
    │   │   │   │   ├── LabelList.spec.ts
    │   │   │   │   ├── LabelList.tsx
    │   │   │   │   ├── LabelListNative.module.scss
    │   │   │   │   └── LabelListNative.tsx
    │   │   │   ├── Legend
    │   │   │   │   ├── Legend.spec.ts
    │   │   │   │   ├── Legend.tsx
    │   │   │   │   └── LegendNative.tsx
    │   │   │   ├── LineChart
    │   │   │   │   ├── LineChart.md
    │   │   │   │   ├── LineChart.module.scss
    │   │   │   │   ├── LineChart.spec.ts
    │   │   │   │   ├── LineChart.tsx
    │   │   │   │   └── LineChartNative.tsx
    │   │   │   ├── PieChart
    │   │   │   │   ├── PieChart.md
    │   │   │   │   ├── PieChart.spec.ts
    │   │   │   │   ├── PieChart.tsx
    │   │   │   │   ├── PieChartNative.module.scss
    │   │   │   │   └── PieChartNative.tsx
    │   │   │   ├── RadarChart
    │   │   │   │   ├── RadarChart.md
    │   │   │   │   ├── RadarChart.spec.ts
    │   │   │   │   ├── RadarChart.tsx
    │   │   │   │   └── RadarChartNative.tsx
    │   │   │   ├── Tooltip
    │   │   │   │   ├── TooltipContent.module.scss
    │   │   │   │   ├── TooltipContent.spec.ts
    │   │   │   │   └── TooltipContent.tsx
    │   │   │   └── utils
    │   │   │       ├── abstractions.ts
    │   │   │       └── ChartProvider.tsx
    │   │   ├── Checkbox
    │   │   │   ├── Checkbox.md
    │   │   │   ├── Checkbox.spec.ts
    │   │   │   └── Checkbox.tsx
    │   │   ├── CodeBlock
    │   │   │   ├── CodeBlock.module.scss
    │   │   │   ├── CodeBlock.spec.ts
    │   │   │   ├── CodeBlock.tsx
    │   │   │   ├── CodeBlockNative.tsx
    │   │   │   └── highlight-code.ts
    │   │   ├── collectedComponentMetadata.ts
    │   │   ├── ColorPicker
    │   │   │   ├── ColorPicker.md
    │   │   │   ├── ColorPicker.module.scss
    │   │   │   ├── ColorPicker.spec.ts
    │   │   │   ├── ColorPicker.tsx
    │   │   │   └── ColorPickerNative.tsx
    │   │   ├── Column
    │   │   │   ├── Column.md
    │   │   │   ├── Column.tsx
    │   │   │   ├── ColumnNative.tsx
    │   │   │   ├── doc-resources
    │   │   │   │   └── list-component-data.js
    │   │   │   └── TableContext.tsx
    │   │   ├── component-utils.ts
    │   │   ├── ComponentProvider.tsx
    │   │   ├── ComponentRegistryContext.tsx
    │   │   ├── container-helpers.tsx
    │   │   ├── ContentSeparator
    │   │   │   ├── ContentSeparator.md
    │   │   │   ├── ContentSeparator.module.scss
    │   │   │   ├── ContentSeparator.spec.ts
    │   │   │   ├── ContentSeparator.tsx
    │   │   │   └── ContentSeparatorNative.tsx
    │   │   ├── DataSource
    │   │   │   ├── DataSource.md
    │   │   │   └── DataSource.tsx
    │   │   ├── DateInput
    │   │   │   ├── DateInput.md
    │   │   │   ├── DateInput.module.scss
    │   │   │   ├── DateInput.spec.ts
    │   │   │   ├── DateInput.tsx
    │   │   │   └── DateInputNative.tsx
    │   │   ├── DatePicker
    │   │   │   ├── DatePicker.md
    │   │   │   ├── DatePicker.module.scss
    │   │   │   ├── DatePicker.spec.ts
    │   │   │   ├── DatePicker.tsx
    │   │   │   └── DatePickerNative.tsx
    │   │   ├── DropdownMenu
    │   │   │   ├── DropdownMenu.md
    │   │   │   ├── DropdownMenu.module.scss
    │   │   │   ├── DropdownMenu.spec.ts
    │   │   │   ├── DropdownMenu.tsx
    │   │   │   ├── DropdownMenuNative.tsx
    │   │   │   ├── MenuItem.md
    │   │   │   └── SubMenuItem.md
    │   │   ├── EmojiSelector
    │   │   │   ├── EmojiSelector.md
    │   │   │   ├── EmojiSelector.spec.ts
    │   │   │   ├── EmojiSelector.tsx
    │   │   │   └── EmojiSelectorNative.tsx
    │   │   ├── ExpandableItem
    │   │   │   ├── ExpandableItem.module.scss
    │   │   │   ├── ExpandableItem.spec.ts
    │   │   │   ├── ExpandableItem.tsx
    │   │   │   └── ExpandableItemNative.tsx
    │   │   ├── FileInput
    │   │   │   ├── FileInput.md
    │   │   │   ├── FileInput.module.scss
    │   │   │   ├── FileInput.spec.ts
    │   │   │   ├── FileInput.tsx
    │   │   │   └── FileInputNative.tsx
    │   │   ├── FileUploadDropZone
    │   │   │   ├── FileUploadDropZone.md
    │   │   │   ├── FileUploadDropZone.module.scss
    │   │   │   ├── FileUploadDropZone.spec.ts
    │   │   │   ├── FileUploadDropZone.tsx
    │   │   │   └── FileUploadDropZoneNative.tsx
    │   │   ├── FlowLayout
    │   │   │   ├── FlowLayout.md
    │   │   │   ├── FlowLayout.module.scss
    │   │   │   ├── FlowLayout.spec.ts
    │   │   │   ├── FlowLayout.spec.ts-snapshots
    │   │   │   │   └── Edge-cases-boxShadow-is-not-clipped-1-non-smoke-darwin.png
    │   │   │   ├── FlowLayout.tsx
    │   │   │   └── FlowLayoutNative.tsx
    │   │   ├── Footer
    │   │   │   ├── Footer.md
    │   │   │   ├── Footer.module.scss
    │   │   │   ├── Footer.spec.ts
    │   │   │   ├── Footer.tsx
    │   │   │   └── FooterNative.tsx
    │   │   ├── Form
    │   │   │   ├── Form.md
    │   │   │   ├── Form.module.scss
    │   │   │   ├── Form.spec.ts
    │   │   │   ├── Form.tsx
    │   │   │   ├── formActions.ts
    │   │   │   ├── FormContext.ts
    │   │   │   └── FormNative.tsx
    │   │   ├── FormItem
    │   │   │   ├── FormItem.md
    │   │   │   ├── FormItem.module.scss
    │   │   │   ├── FormItem.spec.ts
    │   │   │   ├── FormItem.tsx
    │   │   │   ├── FormItemNative.tsx
    │   │   │   ├── HelperText.module.scss
    │   │   │   ├── HelperText.tsx
    │   │   │   ├── ItemWithLabel.tsx
    │   │   │   └── Validations.ts
    │   │   ├── FormSection
    │   │   │   ├── FormSection.md
    │   │   │   ├── FormSection.ts
    │   │   │   └── FormSection.xmlui
    │   │   ├── Fragment
    │   │   │   ├── Fragment.spec.ts
    │   │   │   └── Fragment.tsx
    │   │   ├── Heading
    │   │   │   ├── abstractions.ts
    │   │   │   ├── H1.md
    │   │   │   ├── H1.spec.ts
    │   │   │   ├── H2.md
    │   │   │   ├── H2.spec.ts
    │   │   │   ├── H3.md
    │   │   │   ├── H3.spec.ts
    │   │   │   ├── H4.md
    │   │   │   ├── H4.spec.ts
    │   │   │   ├── H5.md
    │   │   │   ├── H5.spec.ts
    │   │   │   ├── H6.md
    │   │   │   ├── H6.spec.ts
    │   │   │   ├── Heading.md
    │   │   │   ├── Heading.module.scss
    │   │   │   ├── Heading.spec.ts
    │   │   │   ├── Heading.tsx
    │   │   │   └── HeadingNative.tsx
    │   │   ├── HoverCard
    │   │   │   ├── HoverCard.tsx
    │   │   │   └── HovercardNative.tsx
    │   │   ├── HtmlTags
    │   │   │   ├── HtmlTags.module.scss
    │   │   │   ├── HtmlTags.spec.ts
    │   │   │   └── HtmlTags.tsx
    │   │   ├── Icon
    │   │   │   ├── AdmonitionDanger.tsx
    │   │   │   ├── AdmonitionInfo.tsx
    │   │   │   ├── AdmonitionNote.tsx
    │   │   │   ├── AdmonitionTip.tsx
    │   │   │   ├── AdmonitionWarning.tsx
    │   │   │   ├── ApiIcon.tsx
    │   │   │   ├── ArrowDropDown.module.scss
    │   │   │   ├── ArrowDropDown.tsx
    │   │   │   ├── ArrowDropUp.module.scss
    │   │   │   ├── ArrowDropUp.tsx
    │   │   │   ├── ArrowLeft.module.scss
    │   │   │   ├── ArrowLeft.tsx
    │   │   │   ├── ArrowRight.module.scss
    │   │   │   ├── ArrowRight.tsx
    │   │   │   ├── Attach.tsx
    │   │   │   ├── Binding.module.scss
    │   │   │   ├── Binding.tsx
    │   │   │   ├── BoardIcon.tsx
    │   │   │   ├── BoxIcon.tsx
    │   │   │   ├── CheckIcon.tsx
    │   │   │   ├── ChevronDownIcon.tsx
    │   │   │   ├── ChevronLeft.tsx
    │   │   │   ├── ChevronRight.tsx
    │   │   │   ├── ChevronUpIcon.tsx
    │   │   │   ├── CodeFileIcon.tsx
    │   │   │   ├── CodeSandbox.tsx
    │   │   │   ├── CompactListIcon.tsx
    │   │   │   ├── ContentCopyIcon.tsx
    │   │   │   ├── DarkToLightIcon.tsx
    │   │   │   ├── DatabaseIcon.module.scss
    │   │   │   ├── DatabaseIcon.tsx
    │   │   │   ├── DocFileIcon.tsx
    │   │   │   ├── DocIcon.tsx
    │   │   │   ├── DotMenuHorizontalIcon.tsx
    │   │   │   ├── DotMenuIcon.tsx
    │   │   │   ├── EmailIcon.tsx
    │   │   │   ├── EmptyFolderIcon.tsx
    │   │   │   ├── ErrorIcon.tsx
    │   │   │   ├── ExpressionIcon.tsx
    │   │   │   ├── FillPlusCricleIcon.tsx
    │   │   │   ├── FilterIcon.tsx
    │   │   │   ├── FolderIcon.tsx
    │   │   │   ├── GlobeIcon.tsx
    │   │   │   ├── HomeIcon.tsx
    │   │   │   ├── HyperLinkIcon.tsx
    │   │   │   ├── Icon.md
    │   │   │   ├── Icon.module.scss
    │   │   │   ├── Icon.spec.ts
    │   │   │   ├── Icon.tsx
    │   │   │   ├── IconNative.tsx
    │   │   │   ├── ImageFileIcon.tsx
    │   │   │   ├── Inspect.tsx
    │   │   │   ├── LightToDark.tsx
    │   │   │   ├── LinkIcon.tsx
    │   │   │   ├── ListIcon.tsx
    │   │   │   ├── LooseListIcon.tsx
    │   │   │   ├── MoonIcon.tsx
    │   │   │   ├── MoreOptionsIcon.tsx
    │   │   │   ├── NoSortIcon.tsx
    │   │   │   ├── PDFIcon.tsx
    │   │   │   ├── PenIcon.tsx
    │   │   │   ├── PhoneIcon.tsx
    │   │   │   ├── PhotoIcon.tsx
    │   │   │   ├── PlusIcon.tsx
    │   │   │   ├── SearchIcon.tsx
    │   │   │   ├── ShareIcon.tsx
    │   │   │   ├── SortAscendingIcon.tsx
    │   │   │   ├── SortDescendingIcon.tsx
    │   │   │   ├── StarsIcon.tsx
    │   │   │   ├── SunIcon.tsx
    │   │   │   ├── svg
    │   │   │   │   ├── admonition_danger.svg
    │   │   │   │   ├── admonition_info.svg
    │   │   │   │   ├── admonition_note.svg
    │   │   │   │   ├── admonition_tip.svg
    │   │   │   │   ├── admonition_warning.svg
    │   │   │   │   ├── api.svg
    │   │   │   │   ├── arrow-dropdown.svg
    │   │   │   │   ├── arrow-left.svg
    │   │   │   │   ├── arrow-right.svg
    │   │   │   │   ├── arrow-up.svg
    │   │   │   │   ├── attach.svg
    │   │   │   │   ├── binding.svg
    │   │   │   │   ├── box.svg
    │   │   │   │   ├── bulb.svg
    │   │   │   │   ├── code-file.svg
    │   │   │   │   ├── code-sandbox.svg
    │   │   │   │   ├── dark_to_light.svg
    │   │   │   │   ├── database.svg
    │   │   │   │   ├── doc.svg
    │   │   │   │   ├── empty-folder.svg
    │   │   │   │   ├── expression.svg
    │   │   │   │   ├── eye-closed.svg
    │   │   │   │   ├── eye-dark.svg
    │   │   │   │   ├── eye.svg
    │   │   │   │   ├── file-text.svg
    │   │   │   │   ├── filter.svg
    │   │   │   │   ├── folder.svg
    │   │   │   │   ├── img.svg
    │   │   │   │   ├── inspect.svg
    │   │   │   │   ├── light_to_dark.svg
    │   │   │   │   ├── moon.svg
    │   │   │   │   ├── pdf.svg
    │   │   │   │   ├── photo.svg
    │   │   │   │   ├── share.svg
    │   │   │   │   ├── stars.svg
    │   │   │   │   ├── sun.svg
    │   │   │   │   ├── trending-down.svg
    │   │   │   │   ├── trending-level.svg
    │   │   │   │   ├── trending-up.svg
    │   │   │   │   ├── txt.svg
    │   │   │   │   ├── unknown-file.svg
    │   │   │   │   ├── unlink.svg
    │   │   │   │   └── xls.svg
    │   │   │   ├── TableDeleteColumnIcon.tsx
    │   │   │   ├── TableDeleteRowIcon.tsx
    │   │   │   ├── TableInsertColumnIcon.tsx
    │   │   │   ├── TableInsertRowIcon.tsx
    │   │   │   ├── TrashIcon.tsx
    │   │   │   ├── TrendingDownIcon.tsx
    │   │   │   ├── TrendingLevelIcon.tsx
    │   │   │   ├── TrendingUpIcon.tsx
    │   │   │   ├── TxtIcon.tsx
    │   │   │   ├── UnknownFileIcon.tsx
    │   │   │   ├── UnlinkIcon.tsx
    │   │   │   ├── UserIcon.tsx
    │   │   │   ├── WarningIcon.tsx
    │   │   │   └── XlsIcon.tsx
    │   │   ├── IconProvider.tsx
    │   │   ├── IconRegistryContext.tsx
    │   │   ├── IFrame
    │   │   │   ├── IFrame.md
    │   │   │   ├── IFrame.module.scss
    │   │   │   ├── IFrame.spec.ts
    │   │   │   ├── IFrame.tsx
    │   │   │   └── IFrameNative.tsx
    │   │   ├── Image
    │   │   │   ├── Image.md
    │   │   │   ├── Image.module.scss
    │   │   │   ├── Image.spec.ts
    │   │   │   ├── Image.tsx
    │   │   │   └── ImageNative.tsx
    │   │   ├── Input
    │   │   │   ├── index.ts
    │   │   │   ├── InputAdornment.module.scss
    │   │   │   ├── InputAdornment.tsx
    │   │   │   ├── InputDivider.module.scss
    │   │   │   ├── InputDivider.tsx
    │   │   │   ├── InputLabel.module.scss
    │   │   │   ├── InputLabel.tsx
    │   │   │   ├── PartialInput.module.scss
    │   │   │   └── PartialInput.tsx
    │   │   ├── InspectButton
    │   │   │   ├── InspectButton.module.scss
    │   │   │   └── InspectButton.tsx
    │   │   ├── Items
    │   │   │   ├── Items.md
    │   │   │   ├── Items.spec.ts
    │   │   │   ├── Items.tsx
    │   │   │   └── ItemsNative.tsx
    │   │   ├── Link
    │   │   │   ├── Link.md
    │   │   │   ├── Link.module.scss
    │   │   │   ├── Link.spec.ts
    │   │   │   ├── Link.tsx
    │   │   │   └── LinkNative.tsx
    │   │   ├── List
    │   │   │   ├── doc-resources
    │   │   │   │   └── list-component-data.js
    │   │   │   ├── List.md
    │   │   │   ├── List.module.scss
    │   │   │   ├── List.spec.ts
    │   │   │   ├── List.tsx
    │   │   │   └── ListNative.tsx
    │   │   ├── Logo
    │   │   │   ├── doc-resources
    │   │   │   │   └── xmlui-logo.svg
    │   │   │   ├── Logo.md
    │   │   │   ├── Logo.tsx
    │   │   │   └── LogoNative.tsx
    │   │   ├── Markdown
    │   │   │   ├── CodeText.module.scss
    │   │   │   ├── CodeText.tsx
    │   │   │   ├── Markdown.md
    │   │   │   ├── Markdown.module.scss
    │   │   │   ├── Markdown.spec.ts
    │   │   │   ├── Markdown.tsx
    │   │   │   ├── MarkdownNative.tsx
    │   │   │   ├── parse-binding-expr.ts
    │   │   │   └── utils.ts
    │   │   ├── metadata-helpers.ts
    │   │   ├── ModalDialog
    │   │   │   ├── ConfirmationModalContextProvider.tsx
    │   │   │   ├── Dialog.module.scss
    │   │   │   ├── Dialog.tsx
    │   │   │   ├── ModalDialog.md
    │   │   │   ├── ModalDialog.module.scss
    │   │   │   ├── ModalDialog.spec.ts
    │   │   │   ├── ModalDialog.tsx
    │   │   │   ├── ModalDialogNative.tsx
    │   │   │   └── ModalVisibilityContext.tsx
    │   │   ├── NavGroup
    │   │   │   ├── NavGroup.md
    │   │   │   ├── NavGroup.module.scss
    │   │   │   ├── NavGroup.spec.ts
    │   │   │   ├── NavGroup.tsx
    │   │   │   ├── NavGroupContext.ts
    │   │   │   └── NavGroupNative.tsx
    │   │   ├── NavLink
    │   │   │   ├── NavLink.md
    │   │   │   ├── NavLink.module.scss
    │   │   │   ├── NavLink.spec.ts
    │   │   │   ├── NavLink.tsx
    │   │   │   └── NavLinkNative.tsx
    │   │   ├── NavPanel
    │   │   │   ├── NavPanel.md
    │   │   │   ├── NavPanel.module.scss
    │   │   │   ├── NavPanel.spec.ts
    │   │   │   ├── NavPanel.tsx
    │   │   │   └── NavPanelNative.tsx
    │   │   ├── NestedApp
    │   │   │   ├── AppWithCodeView.module.scss
    │   │   │   ├── AppWithCodeView.tsx
    │   │   │   ├── AppWithCodeViewNative.tsx
    │   │   │   ├── defaultProps.tsx
    │   │   │   ├── logo.svg
    │   │   │   ├── NestedApp.module.scss
    │   │   │   ├── NestedApp.tsx
    │   │   │   ├── NestedAppNative.tsx
    │   │   │   ├── Tooltip.module.scss
    │   │   │   ├── Tooltip.tsx
    │   │   │   └── utils.ts
    │   │   ├── NoResult
    │   │   │   ├── NoResult.md
    │   │   │   ├── NoResult.module.scss
    │   │   │   ├── NoResult.spec.ts
    │   │   │   ├── NoResult.tsx
    │   │   │   └── NoResultNative.tsx
    │   │   ├── NumberBox
    │   │   │   ├── numberbox-abstractions.ts
    │   │   │   ├── NumberBox.md
    │   │   │   ├── NumberBox.module.scss
    │   │   │   ├── NumberBox.spec.ts
    │   │   │   ├── NumberBox.tsx
    │   │   │   └── NumberBoxNative.tsx
    │   │   ├── Option
    │   │   │   ├── Option.md
    │   │   │   ├── Option.spec.ts
    │   │   │   ├── Option.tsx
    │   │   │   ├── OptionNative.tsx
    │   │   │   └── OptionTypeProvider.tsx
    │   │   ├── PageMetaTitle
    │   │   │   ├── PageMetaTilteNative.tsx
    │   │   │   ├── PageMetaTitle.md
    │   │   │   ├── PageMetaTitle.spec.ts
    │   │   │   └── PageMetaTitle.tsx
    │   │   ├── Pages
    │   │   │   ├── Page.md
    │   │   │   ├── Pages.md
    │   │   │   ├── Pages.module.scss
    │   │   │   ├── Pages.tsx
    │   │   │   └── PagesNative.tsx
    │   │   ├── Pagination
    │   │   │   ├── Pagination.md
    │   │   │   ├── Pagination.module.scss
    │   │   │   ├── Pagination.spec.ts
    │   │   │   ├── Pagination.tsx
    │   │   │   └── PaginationNative.tsx
    │   │   ├── PositionedContainer
    │   │   │   ├── PositionedContainer.module.scss
    │   │   │   ├── PositionedContainer.tsx
    │   │   │   └── PositionedContainerNative.tsx
    │   │   ├── ProfileMenu
    │   │   │   ├── ProfileMenu.module.scss
    │   │   │   └── ProfileMenu.tsx
    │   │   ├── ProgressBar
    │   │   │   ├── ProgressBar.md
    │   │   │   ├── ProgressBar.module.scss
    │   │   │   ├── ProgressBar.spec.ts
    │   │   │   ├── ProgressBar.tsx
    │   │   │   └── ProgressBarNative.tsx
    │   │   ├── Queue
    │   │   │   ├── Queue.md
    │   │   │   ├── Queue.spec.ts
    │   │   │   ├── Queue.tsx
    │   │   │   ├── queueActions.ts
    │   │   │   └── QueueNative.tsx
    │   │   ├── RadioGroup
    │   │   │   ├── RadioGroup.md
    │   │   │   ├── RadioGroup.module.scss
    │   │   │   ├── RadioGroup.spec.ts
    │   │   │   ├── RadioGroup.tsx
    │   │   │   ├── RadioGroupNative.tsx
    │   │   │   ├── RadioItem.tsx
    │   │   │   └── RadioItemNative.tsx
    │   │   ├── RealTimeAdapter
    │   │   │   ├── RealTimeAdapter.tsx
    │   │   │   └── RealTimeAdapterNative.tsx
    │   │   ├── Redirect
    │   │   │   ├── Redirect.md
    │   │   │   ├── Redirect.spec.ts
    │   │   │   └── Redirect.tsx
    │   │   ├── ResponsiveBar
    │   │   │   ├── README.md
    │   │   │   ├── ResponsiveBar.md
    │   │   │   ├── ResponsiveBar.module.scss
    │   │   │   ├── ResponsiveBar.spec.ts
    │   │   │   ├── ResponsiveBar.tsx
    │   │   │   └── ResponsiveBarNative.tsx
    │   │   ├── Select
    │   │   │   ├── HiddenOption.tsx
    │   │   │   ├── OptionContext.ts
    │   │   │   ├── Select.md
    │   │   │   ├── Select.module.scss
    │   │   │   ├── Select.spec.ts
    │   │   │   ├── Select.tsx
    │   │   │   ├── SelectContext.tsx
    │   │   │   └── SelectNative.tsx
    │   │   ├── SelectionStore
    │   │   │   ├── SelectionStore.md
    │   │   │   ├── SelectionStore.tsx
    │   │   │   └── SelectionStoreNative.tsx
    │   │   ├── Slider
    │   │   │   ├── Slider.md
    │   │   │   ├── Slider.module.scss
    │   │   │   ├── Slider.spec.ts
    │   │   │   ├── Slider.tsx
    │   │   │   └── SliderNative.tsx
    │   │   ├── Slot
    │   │   │   ├── Slot.md
    │   │   │   ├── Slot.spec.ts
    │   │   │   └── Slot.ts
    │   │   ├── SlotItem.tsx
    │   │   ├── SpaceFiller
    │   │   │   ├── SpaceFiller.md
    │   │   │   ├── SpaceFiller.module.scss
    │   │   │   ├── SpaceFiller.spec.ts
    │   │   │   ├── SpaceFiller.tsx
    │   │   │   └── SpaceFillerNative.tsx
    │   │   ├── Spinner
    │   │   │   ├── Spinner.md
    │   │   │   ├── Spinner.module.scss
    │   │   │   ├── Spinner.spec.ts
    │   │   │   ├── Spinner.tsx
    │   │   │   └── SpinnerNative.tsx
    │   │   ├── Splitter
    │   │   │   ├── HSplitter.md
    │   │   │   ├── HSplitter.spec.ts
    │   │   │   ├── Splitter.md
    │   │   │   ├── Splitter.module.scss
    │   │   │   ├── Splitter.spec.ts
    │   │   │   ├── Splitter.tsx
    │   │   │   ├── SplitterNative.tsx
    │   │   │   ├── utils.ts
    │   │   │   ├── VSplitter.md
    │   │   │   └── VSplitter.spec.ts
    │   │   ├── Stack
    │   │   │   ├── CHStack.md
    │   │   │   ├── CHStack.spec.ts
    │   │   │   ├── CVStack.md
    │   │   │   ├── CVStack.spec.ts
    │   │   │   ├── HStack.md
    │   │   │   ├── HStack.spec.ts
    │   │   │   ├── Stack.md
    │   │   │   ├── Stack.module.scss
    │   │   │   ├── Stack.spec.ts
    │   │   │   ├── Stack.tsx
    │   │   │   ├── StackNative.tsx
    │   │   │   ├── VStack.md
    │   │   │   └── VStack.spec.ts
    │   │   ├── StickyBox
    │   │   │   ├── StickyBox.md
    │   │   │   ├── StickyBox.module.scss
    │   │   │   ├── StickyBox.tsx
    │   │   │   └── StickyBoxNative.tsx
    │   │   ├── Switch
    │   │   │   ├── Switch.md
    │   │   │   ├── Switch.spec.ts
    │   │   │   └── Switch.tsx
    │   │   ├── Table
    │   │   │   ├── doc-resources
    │   │   │   │   └── list-component-data.js
    │   │   │   ├── react-table-config.d.ts
    │   │   │   ├── Table.md
    │   │   │   ├── Table.module.scss
    │   │   │   ├── Table.spec.ts
    │   │   │   ├── Table.tsx
    │   │   │   ├── TableNative.tsx
    │   │   │   └── useRowSelection.tsx
    │   │   ├── TableOfContents
    │   │   │   ├── TableOfContents.module.scss
    │   │   │   ├── TableOfContents.spec.ts
    │   │   │   ├── TableOfContents.tsx
    │   │   │   └── TableOfContentsNative.tsx
    │   │   ├── Tabs
    │   │   │   ├── TabContext.tsx
    │   │   │   ├── TabItem.md
    │   │   │   ├── TabItem.tsx
    │   │   │   ├── TabItemNative.tsx
    │   │   │   ├── Tabs.md
    │   │   │   ├── Tabs.module.scss
    │   │   │   ├── Tabs.spec.ts
    │   │   │   ├── Tabs.tsx
    │   │   │   └── TabsNative.tsx
    │   │   ├── Text
    │   │   │   ├── Text.md
    │   │   │   ├── Text.module.scss
    │   │   │   ├── Text.spec.ts
    │   │   │   ├── Text.tsx
    │   │   │   └── TextNative.tsx
    │   │   ├── TextArea
    │   │   │   ├── TextArea.md
    │   │   │   ├── TextArea.module.scss
    │   │   │   ├── TextArea.spec.ts
    │   │   │   ├── TextArea.tsx
    │   │   │   ├── TextAreaNative.tsx
    │   │   │   ├── TextAreaResizable.tsx
    │   │   │   └── useComposedRef.ts
    │   │   ├── TextBox
    │   │   │   ├── TextBox.md
    │   │   │   ├── TextBox.module.scss
    │   │   │   ├── TextBox.spec.ts
    │   │   │   ├── TextBox.tsx
    │   │   │   └── TextBoxNative.tsx
    │   │   ├── Theme
    │   │   │   ├── NotificationToast.tsx
    │   │   │   ├── Theme.md
    │   │   │   ├── Theme.module.scss
    │   │   │   ├── Theme.spec.ts
    │   │   │   ├── Theme.tsx
    │   │   │   └── ThemeNative.tsx
    │   │   ├── TimeInput
    │   │   │   ├── TimeInput.md
    │   │   │   ├── TimeInput.module.scss
    │   │   │   ├── TimeInput.spec.ts
    │   │   │   ├── TimeInput.tsx
    │   │   │   ├── TimeInputNative.tsx
    │   │   │   └── utils.ts
    │   │   ├── Timer
    │   │   │   ├── Timer.md
    │   │   │   ├── Timer.spec.ts
    │   │   │   ├── Timer.tsx
    │   │   │   └── TimerNative.tsx
    │   │   ├── Toggle
    │   │   │   ├── Toggle.module.scss
    │   │   │   └── Toggle.tsx
    │   │   ├── ToneChangerButton
    │   │   │   ├── ToneChangerButton.md
    │   │   │   ├── ToneChangerButton.spec.ts
    │   │   │   └── ToneChangerButton.tsx
    │   │   ├── ToneSwitch
    │   │   │   ├── ToneSwitch.md
    │   │   │   ├── ToneSwitch.module.scss
    │   │   │   ├── ToneSwitch.spec.ts
    │   │   │   ├── ToneSwitch.tsx
    │   │   │   └── ToneSwitchNative.tsx
    │   │   ├── Tooltip
    │   │   │   ├── Tooltip.md
    │   │   │   ├── Tooltip.module.scss
    │   │   │   ├── Tooltip.spec.ts
    │   │   │   ├── Tooltip.tsx
    │   │   │   └── TooltipNative.tsx
    │   │   ├── Tree
    │   │   │   ├── testData.ts
    │   │   │   ├── Tree-dynamic.spec.ts
    │   │   │   ├── Tree-icons.spec.ts
    │   │   │   ├── Tree.md
    │   │   │   ├── Tree.spec.ts
    │   │   │   ├── TreeComponent.module.scss
    │   │   │   ├── TreeComponent.tsx
    │   │   │   └── TreeNative.tsx
    │   │   ├── TreeDisplay
    │   │   │   ├── TreeDisplay.md
    │   │   │   ├── TreeDisplay.module.scss
    │   │   │   ├── TreeDisplay.tsx
    │   │   │   └── TreeDisplayNative.tsx
    │   │   ├── ValidationSummary
    │   │   │   ├── ValidationSummary.module.scss
    │   │   │   └── ValidationSummary.tsx
    │   │   └── VisuallyHidden.tsx
    │   ├── components-core
    │   │   ├── abstractions
    │   │   │   ├── ComponentRenderer.ts
    │   │   │   ├── LoaderRenderer.ts
    │   │   │   ├── standalone.ts
    │   │   │   └── treeAbstractions.ts
    │   │   ├── action
    │   │   │   ├── actions.ts
    │   │   │   ├── APICall.tsx
    │   │   │   ├── FileDownloadAction.tsx
    │   │   │   ├── FileUploadAction.tsx
    │   │   │   ├── NavigateAction.tsx
    │   │   │   └── TimedAction.tsx
    │   │   ├── ApiBoundComponent.tsx
    │   │   ├── appContext
    │   │   │   ├── date-functions.ts
    │   │   │   ├── math-function.ts
    │   │   │   └── misc-utils.ts
    │   │   ├── AppContext.tsx
    │   │   ├── behaviors
    │   │   │   ├── Behavior.tsx
    │   │   │   ├── BehaviorContext.tsx
    │   │   │   └── CoreBehaviors.tsx
    │   │   ├── component-hooks.ts
    │   │   ├── ComponentDecorator.tsx
    │   │   ├── ComponentViewer.tsx
    │   │   ├── CompoundComponent.tsx
    │   │   ├── constants.ts
    │   │   ├── DebugViewProvider.tsx
    │   │   ├── descriptorHelper.ts
    │   │   ├── devtools
    │   │   │   ├── InspectorDialog.module.scss
    │   │   │   ├── InspectorDialog.tsx
    │   │   │   └── InspectorDialogVisibilityContext.tsx
    │   │   ├── EngineError.ts
    │   │   ├── event-handlers.ts
    │   │   ├── InspectorButton.module.scss
    │   │   ├── InspectorContext.tsx
    │   │   ├── interception
    │   │   │   ├── abstractions.ts
    │   │   │   ├── ApiInterceptor.ts
    │   │   │   ├── ApiInterceptorProvider.tsx
    │   │   │   ├── apiInterceptorWorker.ts
    │   │   │   ├── Backend.ts
    │   │   │   ├── Errors.ts
    │   │   │   ├── IndexedDb.ts
    │   │   │   ├── initMock.ts
    │   │   │   ├── InMemoryDb.ts
    │   │   │   ├── ReadonlyCollection.ts
    │   │   │   └── useApiInterceptorContext.tsx
    │   │   ├── loader
    │   │   │   ├── ApiLoader.tsx
    │   │   │   ├── DataLoader.tsx
    │   │   │   ├── ExternalDataLoader.tsx
    │   │   │   ├── Loader.tsx
    │   │   │   ├── MockLoaderRenderer.tsx
    │   │   │   └── PageableLoader.tsx
    │   │   ├── LoaderComponent.tsx
    │   │   ├── markup-check.ts
    │   │   ├── parts.ts
    │   │   ├── renderers.ts
    │   │   ├── rendering
    │   │   │   ├── AppContent.tsx
    │   │   │   ├── AppRoot.tsx
    │   │   │   ├── AppWrapper.tsx
    │   │   │   ├── buildProxy.ts
    │   │   │   ├── collectFnVarDeps.ts
    │   │   │   ├── ComponentAdapter.tsx
    │   │   │   ├── ComponentWrapper.tsx
    │   │   │   ├── Container.tsx
    │   │   │   ├── containers.ts
    │   │   │   ├── ContainerWrapper.tsx
    │   │   │   ├── ErrorBoundary.module.scss
    │   │   │   ├── ErrorBoundary.tsx
    │   │   │   ├── InvalidComponent.module.scss
    │   │   │   ├── InvalidComponent.tsx
    │   │   │   ├── nodeUtils.ts
    │   │   │   ├── reducer.ts
    │   │   │   ├── renderChild.tsx
    │   │   │   ├── StandaloneComponent.tsx
    │   │   │   ├── StateContainer.tsx
    │   │   │   ├── UnknownComponent.module.scss
    │   │   │   ├── UnknownComponent.tsx
    │   │   │   └── valueExtractor.ts
    │   │   ├── reportEngineError.ts
    │   │   ├── RestApiProxy.ts
    │   │   ├── script-runner
    │   │   │   ├── asyncProxy.ts
    │   │   │   ├── AttributeValueParser.ts
    │   │   │   ├── bannedFunctions.ts
    │   │   │   ├── BindingTreeEvaluationContext.ts
    │   │   │   ├── eval-tree-async.ts
    │   │   │   ├── eval-tree-common.ts
    │   │   │   ├── eval-tree-sync.ts
    │   │   │   ├── ParameterParser.ts
    │   │   │   ├── process-statement-async.ts
    │   │   │   ├── process-statement-common.ts
    │   │   │   ├── process-statement-sync.ts
    │   │   │   ├── ScriptingSourceTree.ts
    │   │   │   ├── simplify-expression.ts
    │   │   │   ├── statement-queue.ts
    │   │   │   └── visitors.ts
    │   │   ├── StandaloneApp.tsx
    │   │   ├── StandaloneExtensionManager.ts
    │   │   ├── TableOfContentsContext.tsx
    │   │   ├── theming
    │   │   │   ├── _themes.scss
    │   │   │   ├── component-layout-resolver.ts
    │   │   │   ├── extendThemeUtils.ts
    │   │   │   ├── hvar.ts
    │   │   │   ├── layout-resolver.ts
    │   │   │   ├── parse-layout-props.ts
    │   │   │   ├── StyleContext.tsx
    │   │   │   ├── StyleRegistry.ts
    │   │   │   ├── ThemeContext.tsx
    │   │   │   ├── ThemeProvider.tsx
    │   │   │   ├── themes
    │   │   │   │   ├── base-utils.ts
    │   │   │   │   ├── palette.ts
    │   │   │   │   ├── root.ts
    │   │   │   │   ├── solid.ts
    │   │   │   │   ├── theme-colors.ts
    │   │   │   │   └── xmlui.ts
    │   │   │   ├── themeVars.module.scss
    │   │   │   ├── themeVars.ts
    │   │   │   ├── transformThemeVars.ts
    │   │   │   └── utils.ts
    │   │   ├── utils
    │   │   │   ├── actionUtils.ts
    │   │   │   ├── audio-utils.ts
    │   │   │   ├── compound-utils.ts
    │   │   │   ├── css-utils.ts
    │   │   │   ├── DataLoaderQueryKeyGenerator.ts
    │   │   │   ├── date-utils.ts
    │   │   │   ├── extractParam.ts
    │   │   │   ├── hooks.tsx
    │   │   │   ├── LruCache.ts
    │   │   │   ├── mergeProps.ts
    │   │   │   ├── misc.ts
    │   │   │   ├── request-params.ts
    │   │   │   ├── statementUtils.ts
    │   │   │   └── treeUtils.ts
    │   │   └── xmlui-parser.ts
    │   ├── index-standalone.ts
    │   ├── index.scss
    │   ├── index.ts
    │   ├── language-server
    │   │   ├── server-common.ts
    │   │   ├── server-web-worker.ts
    │   │   ├── server.ts
    │   │   ├── services
    │   │   │   ├── common
    │   │   │   │   ├── docs-generation.ts
    │   │   │   │   ├── lsp-utils.ts
    │   │   │   │   ├── metadata-utils.ts
    │   │   │   │   └── syntax-node-utilities.ts
    │   │   │   ├── completion.ts
    │   │   │   ├── diagnostic.ts
    │   │   │   ├── format.ts
    │   │   │   └── hover.ts
    │   │   └── xmlui-metadata-generated.mjs
    │   ├── logging
    │   │   ├── LoggerContext.tsx
    │   │   ├── LoggerInitializer.tsx
    │   │   ├── LoggerService.ts
    │   │   └── xmlui.ts
    │   ├── logo.svg
    │   ├── parsers
    │   │   ├── common
    │   │   │   ├── GenericToken.ts
    │   │   │   ├── InputStream.ts
    │   │   │   └── utils.ts
    │   │   ├── scripting
    │   │   │   ├── code-behind-collect.ts
    │   │   │   ├── Lexer.ts
    │   │   │   ├── modules.ts
    │   │   │   ├── Parser.ts
    │   │   │   ├── ParserError.ts
    │   │   │   ├── ScriptingNodeTypes.ts
    │   │   │   ├── TokenTrait.ts
    │   │   │   ├── TokenType.ts
    │   │   │   └── tree-visitor.ts
    │   │   ├── style-parser
    │   │   │   ├── errors.ts
    │   │   │   ├── source-tree.ts
    │   │   │   ├── StyleInputStream.ts
    │   │   │   ├── StyleLexer.ts
    │   │   │   ├── StyleParser.ts
    │   │   │   └── tokens.ts
    │   │   └── xmlui-parser
    │   │       ├── CharacterCodes.ts
    │   │       ├── diagnostics.ts
    │   │       ├── fileExtensions.ts
    │   │       ├── index.ts
    │   │       ├── lint.ts
    │   │       ├── parser.ts
    │   │       ├── ParserError.ts
    │   │       ├── scanner.ts
    │   │       ├── syntax-kind.ts
    │   │       ├── syntax-node.ts
    │   │       ├── transform.ts
    │   │       ├── utils.ts
    │   │       ├── xmlui-serializer.ts
    │   │       └── xmlui-tree.ts
    │   ├── react-app-env.d.ts
    │   ├── syntax
    │   │   ├── monaco
    │   │   │   ├── grammar.monacoLanguage.ts
    │   │   │   ├── index.ts
    │   │   │   ├── xmlui-dark.ts
    │   │   │   ├── xmlui-light.ts
    │   │   │   └── xmluiscript.monacoLanguage.ts
    │   │   └── textMate
    │   │       ├── index.ts
    │   │       ├── xmlui-dark.json
    │   │       ├── xmlui-light.json
    │   │       ├── xmlui.json
    │   │       └── xmlui.tmLanguage.json
    │   ├── testing
    │   │   ├── assertions.ts
    │   │   ├── component-test-helpers.ts
    │   │   ├── ComponentDrivers.ts
    │   │   ├── drivers
    │   │   │   ├── DateInputDriver.ts
    │   │   │   ├── ModalDialogDriver.ts
    │   │   │   ├── NumberBoxDriver.ts
    │   │   │   ├── TextBoxDriver.ts
    │   │   │   ├── TimeInputDriver.ts
    │   │   │   ├── TimerDriver.ts
    │   │   │   └── TreeDriver.ts
    │   │   ├── fixtures.ts
    │   │   ├── infrastructure
    │   │   │   ├── index.html
    │   │   │   ├── main.tsx
    │   │   │   ├── public
    │   │   │   │   ├── mockServiceWorker.js
    │   │   │   │   ├── resources
    │   │   │   │   │   ├── bell.svg
    │   │   │   │   │   ├── box.svg
    │   │   │   │   │   ├── doc.svg
    │   │   │   │   │   ├── eye.svg
    │   │   │   │   │   ├── flower-640x480.jpg
    │   │   │   │   │   ├── sun.svg
    │   │   │   │   │   ├── test-image-100x100.jpg
    │   │   │   │   │   └── txt.svg
    │   │   │   │   └── serve.json
    │   │   │   └── TestBed.tsx
    │   │   └── themed-app-test-helpers.ts
    │   └── vite-env.d.ts
    ├── tests
    │   ├── components
    │   │   ├── CodeBlock
    │   │   │   └── hightlight-code.test.ts
    │   │   ├── playground-pattern.test.ts
    │   │   └── Tree
    │   │       └── Tree-states.test.ts
    │   ├── components-core
    │   │   ├── abstractions
    │   │   │   └── treeAbstractions.test.ts
    │   │   ├── container
    │   │   │   └── buildProxy.test.ts
    │   │   ├── interception
    │   │   │   ├── orderBy.test.ts
    │   │   │   ├── ReadOnlyCollection.test.ts
    │   │   │   └── request-param-converter.test.ts
    │   │   ├── scripts-runner
    │   │   │   ├── AttributeValueParser.test.ts
    │   │   │   ├── eval-tree-arrow-async.test.ts
    │   │   │   ├── eval-tree-arrow.test.ts
    │   │   │   ├── eval-tree-func-decl-async.test.ts
    │   │   │   ├── eval-tree-func-decl.test.ts
    │   │   │   ├── eval-tree-pre-post.test.ts
    │   │   │   ├── eval-tree-regression.test.ts
    │   │   │   ├── eval-tree.test.ts
    │   │   │   ├── function-proxy.test.ts
    │   │   │   ├── parser-regression.test.ts
    │   │   │   ├── process-event.test.ts
    │   │   │   ├── process-function.test.ts
    │   │   │   ├── process-implicit-context.test.ts
    │   │   │   ├── process-statement-asgn.test.ts
    │   │   │   ├── process-statement-destruct.test.ts
    │   │   │   ├── process-statement-regs.test.ts
    │   │   │   ├── process-statement-sync.test.ts
    │   │   │   ├── process-statement.test.ts
    │   │   │   ├── process-switch-sync.test.ts
    │   │   │   ├── process-switch.test.ts
    │   │   │   ├── process-try-sync.test.ts
    │   │   │   ├── process-try.test.ts
    │   │   │   └── test-helpers.ts
    │   │   ├── test-metadata-handler.ts
    │   │   ├── theming
    │   │   │   ├── border-segments.test.ts
    │   │   │   ├── component-layout.resolver.test.ts
    │   │   │   ├── layout-property-parser.test.ts
    │   │   │   ├── layout-resolver.test.ts
    │   │   │   ├── layout-resolver2.test.ts
    │   │   │   ├── layout-vp-override.test.ts
    │   │   │   └── padding-segments.test.ts
    │   │   └── utils
    │   │       ├── date-utils.test.ts
    │   │       ├── format-human-elapsed-time.test.ts
    │   │       └── LruCache.test.ts
    │   ├── language-server
    │   │   ├── completion.test.ts
    │   │   ├── format.test.ts
    │   │   ├── hover.test.ts
    │   │   └── mockData.ts
    │   └── parsers
    │       ├── common
    │       │   └── input-stream.test.ts
    │       ├── markdown
    │       │   └── parse-binding-expression.test.ts
    │       ├── parameter-parser.test.ts
    │       ├── paremeter-parser.test.ts
    │       ├── scripting
    │       │   ├── eval-tree-arrow.test.ts
    │       │   ├── eval-tree-pre-post.test.ts
    │       │   ├── eval-tree.test.ts
    │       │   ├── function-proxy.test.ts
    │       │   ├── lexer-literals.test.ts
    │       │   ├── lexer-misc.test.ts
    │       │   ├── module-parse.test.ts
    │       │   ├── parser-arrow.test.ts
    │       │   ├── parser-assignments.test.ts
    │       │   ├── parser-binary.test.ts
    │       │   ├── parser-destructuring.test.ts
    │       │   ├── parser-errors.test.ts
    │       │   ├── parser-expressions.test.ts
    │       │   ├── parser-function.test.ts
    │       │   ├── parser-literals.test.ts
    │       │   ├── parser-primary.test.ts
    │       │   ├── parser-regex.test.ts
    │       │   ├── parser-statements.test.ts
    │       │   ├── parser-unary.test.ts
    │       │   ├── process-event.test.ts
    │       │   ├── process-implicit-context.test.ts
    │       │   ├── process-statement-asgn.test.ts
    │       │   ├── process-statement-destruct.test.ts
    │       │   ├── process-statement-regs.test.ts
    │       │   ├── process-statement-sync.test.ts
    │       │   ├── process-statement.test.ts
    │       │   ├── process-switch-sync.test.ts
    │       │   ├── process-switch.test.ts
    │       │   ├── process-try-sync.test.ts
    │       │   ├── process-try.test.ts
    │       │   ├── simplify-expression.test.ts
    │       │   ├── statement-hooks.test.ts
    │       │   └── test-helpers.ts
    │       ├── style-parser
    │       │   ├── generateHvarChain.test.ts
    │       │   ├── parseHVar.test.ts
    │       │   ├── parser.test.ts
    │       │   └── tokens.test.ts
    │       └── xmlui
    │           ├── lint.test.ts
    │           ├── parser.test.ts
    │           ├── scanner.test.ts
    │           ├── transform.attr.test.ts
    │           ├── transform.circular.test.ts
    │           ├── transform.element.test.ts
    │           ├── transform.errors.test.ts
    │           ├── transform.escape.test.ts
    │           ├── transform.regression.test.ts
    │           ├── transform.script.test.ts
    │           ├── transform.test.ts
    │           └── xmlui.ts
    ├── tests-e2e
    │   ├── api-bound-component-regression.spec.ts
    │   ├── api-call-as-extracted-component.spec.ts
    │   ├── assign-to-object-or-array-regression.spec.ts
    │   ├── binding-regression.spec.ts
    │   ├── children-as-template-context-vars.spec.ts
    │   ├── compound-component.spec.ts
    │   ├── context-vars-regression.spec.ts
    │   ├── data-bindings.spec.ts
    │   ├── datasource-and-api-usage-in-var.spec.ts
    │   ├── datasource-direct-binding.spec.ts
    │   ├── datasource-onLoaded-regression.spec.ts
    │   ├── modify-array-item-regression.spec.ts
    │   ├── namespaces.spec.ts
    │   ├── push-to-array-regression.spec.ts
    │   ├── screen-breakpoints.spec.ts
    │   ├── scripting.spec.ts
    │   ├── state-scope-in-pages.spec.ts
    │   └── state-var-scopes.spec.ts
    ├── tsconfig.bin.json
    ├── tsconfig.json
    ├── tsconfig.node.json
    ├── vite.config.ts
    └── vitest.config.ts
```

# Files

--------------------------------------------------------------------------------
/xmlui/tests/parsers/xmlui/transform.element.test.ts:
--------------------------------------------------------------------------------

```typescript
   1 | import { describe, expect, it, assert } from "vitest";
   2 | import type { ComponentDef, CompoundComponentDef } from "../../../src/abstractions/ComponentDefs";
   3 | import { transformSource } from "./xmlui";
   4 | import type {
   5 |   ExpressionStatement,
   6 |   Identifier,
   7 |   Statement,
   8 | } from "../../../src/components-core/script-runner/ScriptingSourceTree";
   9 | import {
  10 |   T_EXPRESSION_STATEMENT,
  11 |   T_IDENTIFIER,
  12 | } from "../../../src/components-core/script-runner/ScriptingSourceTree";
  13 | 
  14 | describe("Xmlui transform - child elements", () => {
  15 |   it("Comments ignored, whitespace collapsed", () => {
  16 |     const cd = transformSource(
  17 |       "<H1>  <!-- comment -->  <!-- --><!-- -->     text here</H1>",
  18 |     ) as ComponentDef;
  19 |     expect(cd.children![0].type).equal("TextNode");
  20 |     expect((cd.children![0].props! as any).value).equal(" text here");
  21 |   });
  22 | 
  23 |   it("Comments ignored ws between words collapsed", () => {
  24 |     const cd = transformSource("<H1>hi  <!-- comment -->  there</H1>") as ComponentDef;
  25 |     expect(cd.children![0].type).equal("TextNode");
  26 |     expect((cd.children![0].props! as any).value).equal("hi there");
  27 |   });
  28 | 
  29 |   it("Comments ignored between words", () => {
  30 |     const cd = transformSource("<H1>hi<!-- comment -->there</H1>") as ComponentDef;
  31 |     expect(cd.children![0].type).equal("TextNode");
  32 |     expect((cd.children![0].props! as any).value).equal("hithere");
  33 |   });
  34 | 
  35 |   it("string literal as child #1", () => {
  36 |     const cd = transformSource("<H1>'hi   '    </H1>") as ComponentDef;
  37 |     expect(cd.children![0].type).equal("TextNode");
  38 |     expect((cd.children![0].props! as any).value).equal("hi ");
  39 |   });
  40 | 
  41 |   it("string literal as child #2", () => {
  42 |     const cd = transformSource("<H1>    'hi   '</H1>") as ComponentDef;
  43 |     expect(cd.children![0].type).equal("TextNode");
  44 |     expect((cd.children![0].props! as any).value).equal("hi ");
  45 |   });
  46 | 
  47 |   it("string literal as child #3", () => {
  48 |     const cd = transformSource('<Stack> "123 ""abc"   </Stack>') as ComponentDef;
  49 |     expect(cd.children![0].type).equal("TextNode");
  50 |     expect((cd.children![0].props! as any).value).equal(' "123 ""abc" ');
  51 |   });
  52 | 
  53 |   it("CData as child", () => {
  54 |     const cd = transformSource("<H1><![CDATA[hi]]></H1>") as ComponentDef;
  55 |     expect(cd.children![0].type).equal("TextNodeCData");
  56 |     expect((cd.children![0].props! as any).value).equal("hi");
  57 |   });
  58 | 
  59 |   it("string literal then text as child", () => {
  60 |     const cd = transformSource("<H1>'hi     '     there</H1>") as ComponentDef;
  61 |     expect(cd.children![0].type).equal("TextNode");
  62 |     expect((cd.children![0].props! as any).value).equal("'hi ' there");
  63 |   });
  64 | 
  65 |   it("string literal then CData as child", () => {
  66 |     const cd = transformSource("<H1>'hi     ' <![CDATA[there]]></H1>") as ComponentDef;
  67 |     expect(cd.children![0].type).equal("TextNodeCData");
  68 |     expect((cd.children![0].props! as any).value).equal("hi there");
  69 |   });
  70 | 
  71 |   it("string literal #2 then CData as child", () => {
  72 |     const cd = transformSource("<H1>'hi'    <![CDATA[there]]></H1>") as ComponentDef;
  73 |     expect(cd.children![0].type).equal("TextNodeCData");
  74 |     expect((cd.children![0].props! as any).value).equal("hithere");
  75 |   });
  76 | 
  77 |   it("string literal, text, CData as child", () => {
  78 |     const cd = transformSource(
  79 |       "<H1>hi   <![CDATA[there]]> 'all'  <![CDATA[people]]></H1>",
  80 |     ) as ComponentDef;
  81 |     expect(cd.children![0].type).equal("TextNodeCData");
  82 |     expect((cd.children![0].props! as any).value).equal("hi thereallpeople");
  83 |   });
  84 | 
  85 |   it("text and element as child #1", () => {
  86 |     const cd = transformSource(`
  87 |       <Stack>
  88 |         hello
  89 |         <Button>hi</Button>
  90 |         bello
  91 |       </Stack>
  92 |     `) as ComponentDef;
  93 |     expect(cd.type).equal("Stack");
  94 |     expect((cd.children![0].props! as any).value).equal(" hello ");
  95 |     expect(cd.children![1].type).equal("Button");
  96 |     expect((cd.children![2].props! as any).value).equal(" bello ");
  97 |   });
  98 | 
  99 |   it("text and element as child #2", () => {
 100 |     const cd = transformSource(`
 101 |       <Stack>
 102 |         This is a text segment before a Button component.
 103 |         <Button label="I'm a non-functional Button"/>
 104 |         This is a text segment after a Button and before an Icon
 105 |         <Icon name='user' />
 106 |       </Stack>
 107 |     `) as ComponentDef;
 108 |     expect(cd.type).equal("Stack");
 109 |     expect((cd.children![0].props! as any).value).equal(
 110 |       " This is a text segment before a Button component. ",
 111 |     );
 112 |     expect(cd.children![1].type).equal("Button");
 113 |     expect((cd.children![2].props! as any).value).equal(
 114 |       " This is a text segment after a Button and before an Icon ",
 115 |     );
 116 |     expect(cd.children![3].type).equal("Icon");
 117 |   });
 118 | 
 119 |   describe("vars", () => {
 120 |     it("var fails with missing name attribute", () => {
 121 |       try {
 122 |         transformSource("<Stack><variable/></Stack>");
 123 |         assert.fail("Exception expected");
 124 |       } catch (err) {
 125 |         expect(err.toString()).includes("T012");
 126 |       }
 127 |     });
 128 | 
 129 |     it("var fails with empty name attribute", () => {
 130 |       try {
 131 |         transformSource("<Stack><variable name=''/></Stack>");
 132 |         assert.fail("Exception expected");
 133 |       } catch (err) {
 134 |         expect(err.toString()).includes("T012");
 135 |       }
 136 |     });
 137 | 
 138 |     it("dotted var works #1", () => {
 139 |       const cd = transformSource("<Stack var.myVar='123'></Stack>") as ComponentDef;
 140 |       expect(cd.type).equal("Stack");
 141 |       expect(cd.vars!.myVar).equal("123");
 142 |     });
 143 | 
 144 |     it("var with name/value attr works #1", () => {
 145 |       const cd = transformSource(
 146 |         "<Stack><variable name='myVar' value='123'/></Stack>",
 147 |       ) as ComponentDef;
 148 |       expect(cd.type).equal("Stack");
 149 |       expect(cd.vars!.myVar).equal("123");
 150 |     });
 151 | 
 152 |     it("var with name/value attr works #2", () => {
 153 |       const cd = transformSource(`
 154 |       <Stack>
 155 |         <variable name='myVar' value='123'/>
 156 |         <variable name='other' value='234'/>
 157 |       </Stack>
 158 |     `) as ComponentDef;
 159 |       expect(cd.type).equal("Stack");
 160 |       expect(cd.vars!.myVar).equal("123");
 161 |       expect(cd.vars!.other).equal("234");
 162 |     });
 163 | 
 164 |     it("var with name and text works #1", () => {
 165 |       const cd = transformSource(
 166 |         "<Stack><variable name='myVar'>123</variable></Stack>",
 167 |       ) as ComponentDef;
 168 |       expect(cd.type).equal("Stack");
 169 |       expect(cd.vars!.myVar).equal("123");
 170 |     });
 171 | 
 172 |     it("var with name and text works #2", () => {
 173 |       const cd = transformSource(`
 174 |       <Stack>
 175 |         <variable name='myVar'>123</variable>
 176 |         <variable name="other">234</variable>
 177 |       </Stack>
 178 |     `) as ComponentDef;
 179 |       expect(cd.type).equal("Stack");
 180 |       expect(cd.vars!.myVar).equal("123");
 181 |       expect(cd.vars!.other).equal("234");
 182 |     });
 183 | 
 184 |     it("vars with name results null", () => {
 185 |       const cd = transformSource("<Stack><variable name='myVar'/></Stack>") as ComponentDef;
 186 |       expect(cd.type).equal("Stack");
 187 |       expect(cd.vars!.myVar).equal(null);
 188 |     });
 189 | 
 190 |     it("var becomes array #1", () => {
 191 |       const cd = transformSource(
 192 |         "<Stack><variable name='myVar' value='123'/><variable name='myVar' value='234'/></Stack>",
 193 |       ) as ComponentDef;
 194 |       expect(cd.type).equal("Stack");
 195 |       expect(cd.vars!.myVar).deep.equal(["123", "234"]);
 196 |     });
 197 |   });
 198 | 
 199 |   // --- Props
 200 |   describe("props", () => {
 201 |     it("prop fails with invalid attribute", () => {
 202 |       try {
 203 |         transformSource("<Stack><property blabla='123'/></Stack>");
 204 |         assert.fail("Exception expected");
 205 |       } catch (err) {
 206 |         expect(err.toString()).includes("T011");
 207 |       }
 208 |     });
 209 | 
 210 |     it("prop fails with missing name attribute", () => {
 211 |       try {
 212 |         transformSource("<Stack><property/></Stack>");
 213 |         assert.fail("Exception expected");
 214 |       } catch (err) {
 215 |         expect(err.toString()).includes("T012");
 216 |       }
 217 |     });
 218 | 
 219 |     it("prop fails with empty name attribute", () => {
 220 |       try {
 221 |         transformSource("<Stack><property name=''/></Stack>");
 222 |         assert.fail("Exception expected");
 223 |       } catch (err) {
 224 |         expect(err.toString()).includes("T012");
 225 |       }
 226 |     });
 227 | 
 228 |     it("implicit props with attr works #1", () => {
 229 |       const cd = transformSource("<Stack myProp='123'/>") as ComponentDef;
 230 |       expect(cd.type).equal("Stack");
 231 |       expect((cd.props! as any).myProp).equal("123");
 232 |     });
 233 | 
 234 |     it("implicit props with attr works #2", () => {
 235 |       const cd = transformSource("<Stack myProp='123' other='234'/>") as ComponentDef;
 236 |       expect(cd.type).equal("Stack");
 237 |       expect((cd.props! as any).myProp).equal("123");
 238 |       expect((cd.props! as any).other).equal("234");
 239 |     });
 240 | 
 241 |     it("implicit props namespace is ignored (yet)", () => {
 242 |       const cd = transformSource("<Stack ns1.ns:myProp='123'/>") as ComponentDef;
 243 |       expect(cd.type).equal("Stack");
 244 |       expect(cd.props.myProp).equal("123");
 245 |     });
 246 | 
 247 |     it("prop with name/value attr works #1", () => {
 248 |       const cd = transformSource(
 249 |         "<Stack><property name='myProp' value='123'/></Stack>",
 250 |       ) as ComponentDef;
 251 |       expect(cd.type).equal("Stack");
 252 |       expect((cd.props! as any).myProp).equal("123");
 253 |     });
 254 | 
 255 |     it("prop with name/value attr works #2", () => {
 256 |       const cd = transformSource(`
 257 |       <Stack>
 258 |         <property name='myProp' value='123'/>
 259 |         <property name='other' value='234'/>
 260 |       </Stack>
 261 |     `) as ComponentDef;
 262 |       expect(cd.type).equal("Stack");
 263 |       expect((cd.props! as any).myProp).equal("123");
 264 |       expect((cd.props! as any).other).equal("234");
 265 |     });
 266 | 
 267 |     it("prop with name and text works #1", () => {
 268 |       const cd = transformSource(
 269 |         "<Stack><property name='myProp'>123</property></Stack>",
 270 |       ) as ComponentDef;
 271 |       expect(cd.type).equal("Stack");
 272 |       const prop = (cd.props! as any).myProp;
 273 |       expect(prop.type).equal("TextNode");
 274 |       expect(prop.props.value).equal("123");
 275 |     });
 276 | 
 277 |     it("prop with name and text works #2", () => {
 278 |       const cd = transformSource(`
 279 |       <Stack>
 280 |         <property name="myProp">123</property>
 281 |         <property name="other">234</property>
 282 |       </Stack>
 283 |     `) as ComponentDef;
 284 |       expect(cd.type).equal("Stack");
 285 |       let prop = (cd.props! as any).myProp as ComponentDef;
 286 |       expect(prop.type).equal("TextNode");
 287 |       expect((prop.props as any).value).equal("123");
 288 |       prop = (cd.props! as any).other as ComponentDef;
 289 |       expect(prop.type).equal("TextNode");
 290 |       expect((prop.props as any).value).equal("234");
 291 |     });
 292 | 
 293 |     it("prop with name results null", () => {
 294 |       const cd = transformSource("<Stack><property name='myProp' /></Stack>") as ComponentDef;
 295 |       expect(cd.type).equal("Stack");
 296 |       expect((cd.props! as any).myProp).equal(null);
 297 |     });
 298 | 
 299 |     it("prop becomes array #1", () => {
 300 |       const cd = transformSource(
 301 |         "<Stack><property name='myProp' value='123'/><property name='myProp' value='234'/></Stack>",
 302 |       ) as ComponentDef;
 303 |       expect(cd.type).equal("Stack");
 304 |       expect((cd.props! as any).myProp).deep.equal(["123", "234"]);
 305 |     });
 306 | 
 307 |     it("prop with component #1", () => {
 308 |       const cd = transformSource(`
 309 |     <Stack>
 310 |       <property name='myProp'>
 311 |         <Button />
 312 |       </property>
 313 |     </Stack>`) as ComponentDef;
 314 |       expect(cd.type).equal("Stack");
 315 |       expect((cd.props! as any).myProp).toMatchObject({ type: "Button" });
 316 |     });
 317 | 
 318 |     it("prop with component #2", () => {
 319 |       const cd = transformSource(`
 320 |     <Stack>
 321 |       <property name='myProp'>
 322 |         <Button />
 323 |         <Text />
 324 |       </property>
 325 |     </Stack>`) as ComponentDef;
 326 |       expect(cd.type).equal("Stack");
 327 |       expect((cd.props! as any).myProp).toMatchObject([{ type: "Button" }, { type: "Text" }]);
 328 |     });
 329 |   });
 330 | 
 331 |   describe("event", () => {
 332 |     it("event fails with invalid attribute", () => {
 333 |       try {
 334 |         transformSource("<Stack><event blabla='123'/></Stack>");
 335 |         assert.fail("Exception expected");
 336 |       } catch (err) {
 337 |         expect(err.toString()).includes("T011");
 338 |       }
 339 |     });
 340 | 
 341 |     it("implicit events with attr works #1", () => {
 342 |       const cd = transformSource("<Stack onClick='doIt' />") as ComponentDef;
 343 |       expect(cd.type).equal("Stack");
 344 |       const event = (cd.events! as any).click;
 345 |       expect(event.__PARSED).toBe(true);
 346 |       const stmts = event.statements as Statement[];
 347 |       expect(stmts.length).equal(1);
 348 |       expect(stmts[0].type).equal(T_EXPRESSION_STATEMENT);
 349 |       expect((stmts[0] as ExpressionStatement).expr.type).equal(T_IDENTIFIER);
 350 |       const id = (stmts[0] as ExpressionStatement).expr as Identifier;
 351 |       expect(id.name).equal("doIt");
 352 |     });
 353 | 
 354 |     it("event fails with missing name attribute", () => {
 355 |       try {
 356 |         transformSource("<Stack><event/></Stack>");
 357 |         assert.fail("Exception expected");
 358 |       } catch (err) {
 359 |         expect(err.toString()).includes("T012");
 360 |       }
 361 |     });
 362 | 
 363 |     it("event fails with empty name attribute", () => {
 364 |       try {
 365 |         transformSource("<Stack><event name=''/></Stack>");
 366 |         assert.fail("Exception expected");
 367 |       } catch (err) {
 368 |         expect(err.toString()).includes("T012");
 369 |       }
 370 |     });
 371 | 
 372 |     it("event fail with 'on' prefix", () => {
 373 |       try {
 374 |         transformSource("<Stack><event name='onClick' value='doIt'/></Stack>");
 375 |         assert.fail("Exception expected");
 376 |       } catch (err) {
 377 |         expect(err.toString()).includes("T008");
 378 |       }
 379 |     });
 380 | 
 381 |     it("event with name/value attr works #1", () => {
 382 |       const cd = transformSource(
 383 |         "<Stack><event name='myEvent' value='doIt'/></Stack>",
 384 |       ) as ComponentDef;
 385 |       expect(cd.type).equal("Stack");
 386 |       expect((cd.events! as any).myEvent.source).equal("doIt");
 387 |     });
 388 | 
 389 |     it("event with name/value attr works #2", () => {
 390 |       const cd = transformSource(`
 391 |       <Stack>
 392 |         <event name="myEvent" value='doIt'/>
 393 |         <event name="other" value='move'/>
 394 |       </Stack>
 395 |     `) as ComponentDef;
 396 |       expect(cd.type).equal("Stack");
 397 |       expect((cd.events! as any).myEvent.source).equal("doIt");
 398 |       expect((cd.events! as any).other.source).equal("move");
 399 |     });
 400 | 
 401 |     it("event with name and text works #1", () => {
 402 |       const cd = transformSource(
 403 |         "<Stack><event name='myEvent'>doIt</event></Stack>",
 404 |       ) as ComponentDef;
 405 |       expect(cd.type).equal("Stack");
 406 |       expect((cd.events! as any).myEvent.source).equal("doIt");
 407 |     });
 408 | 
 409 |     it("event with name and text works #2", () => {
 410 |       const cd = transformSource(`
 411 |       <Stack>
 412 |         <event name="myEvent">doIt</event>
 413 |         <event name="other">move</event>
 414 |       </Stack>
 415 |     `) as ComponentDef;
 416 |       expect(cd.type).equal("Stack");
 417 |       expect((cd.events! as any).myEvent.source).equal("doIt");
 418 |       expect((cd.events! as any).other.source).equal("move");
 419 |     });
 420 | 
 421 |     it("events with name results null", () => {
 422 |       const cd = transformSource("<Stack><event name='myEvent'/></Stack>") as ComponentDef;
 423 |       expect((cd.events! as any).myEvent).equal(null);
 424 |       expect(cd.type).equal("Stack");
 425 |     });
 426 |   });
 427 |   describe("method", () => {
 428 |     // --- Method
 429 |     it("method fails with invalid attribute", () => {
 430 |       try {
 431 |         transformSource("<Stack><method blabla='123'/></Stack>");
 432 |         assert.fail("Exception expected");
 433 |       } catch (err) {
 434 |         expect(err.toString()).includes("T011");
 435 |       }
 436 |     });
 437 | 
 438 |     it("method fails with missing name attribute", () => {
 439 |       try {
 440 |         transformSource("<Stack><method></method></Stack>");
 441 |         assert.fail("Exception expected");
 442 |       } catch (err) {
 443 |         expect(err.toString()).includes("T012");
 444 |       }
 445 |     });
 446 | 
 447 |     it("method fails with empty name attribute", () => {
 448 |       try {
 449 |         transformSource("<Stack><method name=''/></Stack>");
 450 |         assert.fail("Exception expected");
 451 |       } catch (err) {
 452 |         expect(err.toString()).includes("T012");
 453 |       }
 454 |     });
 455 | 
 456 |     it("method with name/value attr works #1", () => {
 457 |       const cd = transformSource("<Stack><method name='set' value='do'/></Stack>") as ComponentDef;
 458 |       expect(cd.type).equal("Stack");
 459 |       expect((cd.api! as any).set).equal("do");
 460 |     });
 461 | 
 462 |     it("method with name/value attr works #2", () => {
 463 |       const cd = transformSource(`
 464 |       <Stack>
 465 |         <method name="set" value='do'/>
 466 |         <method name="other" value='get'/>
 467 |       </Stack>
 468 |     `) as ComponentDef;
 469 |       expect(cd.type).equal("Stack");
 470 |       expect((cd.api! as any).set).equal("do");
 471 |       expect((cd.api! as any).other).equal("get");
 472 |     });
 473 | 
 474 |     it("method dotted attr works #1", () => {
 475 |       const cd = transformSource("<Stack method.myApi='getCount()'></Stack>") as ComponentDef;
 476 |       expect(cd.type).equal("Stack");
 477 |       expect((cd.api! as any).myApi).equal("getCount()");
 478 |     });
 479 | 
 480 |     it("method with name and text works #1", () => {
 481 |       const cd = transformSource("<Stack><method name='set'>do</method></Stack>") as ComponentDef;
 482 |       expect(cd.type).equal("Stack");
 483 |       expect((cd.api! as any).set).equal("do");
 484 |     });
 485 | 
 486 |     it("method with name and text works #1", () => {
 487 |       const cd = transformSource("<Stack><method name='set'>do</method></Stack>") as ComponentDef;
 488 |       expect(cd.type).equal("Stack");
 489 |       expect((cd.api! as any).set).equal("do");
 490 |     });
 491 | 
 492 |     it("method with name and text works #2", () => {
 493 |       const cd = transformSource(`
 494 |       <Stack>
 495 |         <method name='set'>do</method>
 496 |         <method name='other'>get</method>
 497 |       </Stack>
 498 |     `) as ComponentDef;
 499 |       expect(cd.type).equal("Stack");
 500 |       expect((cd.api! as any).set).equal("do");
 501 |       expect((cd.api! as any).other).equal("get");
 502 |     });
 503 | 
 504 |     it("method with name results null", () => {
 505 |       const cd = transformSource("<Stack><method name='set'/></Stack>") as ComponentDef;
 506 |       expect(cd.type).equal("Stack");
 507 |       expect((cd.api! as any).set).equal(null);
 508 |     });
 509 | 
 510 |     it("method becomes array #1", () => {
 511 |       const cd = transformSource(
 512 |         "<Stack><method name='myApi' value='123'/><method name='myApi' value='234'/></Stack>",
 513 |       ) as ComponentDef;
 514 |       expect(cd.type).equal("Stack");
 515 |       expect((cd.api! as any).myApi).deep.equal(["123", "234"]);
 516 |     });
 517 |   });
 518 |   describe("uses", () => {
 519 |     // --- Uses
 520 |     it("uses must not have a value attribute #1", () => {
 521 |       try {
 522 |         transformSource("<Stack><uses x='a'/></Stack>");
 523 |         assert.fail("Exception expected");
 524 |       } catch (err) {
 525 |         expect(err.toString()).includes("T015");
 526 |       }
 527 |     });
 528 | 
 529 |     it("uses must not have a value attribute #2", () => {
 530 |       try {
 531 |         transformSource("<Stack><uses x='a' value='b'/></Stack>");
 532 |         assert.fail("Exception expected");
 533 |       } catch (err) {
 534 |         expect(err.toString()).includes("T015");
 535 |       }
 536 |     });
 537 | 
 538 |     it("uses works with 2 values", () => {
 539 |       const cd = transformSource(`
 540 |       <Stack>
 541 |         <uses value="something, other"/>
 542 |       </Stack>
 543 |     `) as ComponentDef;
 544 |       expect(cd.type).equal("Stack");
 545 |       expect(cd.uses).deep.equal(["something", "other"]);
 546 |     });
 547 | 
 548 |     it("uses tag works with uses attribute", () => {
 549 |       const cd = transformSource(`
 550 |       <Stack uses="one">
 551 |         <uses value="something, other"/>
 552 |       </Stack>
 553 |     `) as ComponentDef;
 554 |       expect(cd.type).equal("Stack");
 555 |       expect(cd.uses).deep.equal(["one", "something", "other"]);
 556 |     });
 557 | 
 558 |     it("uses tags works with uses attribute", () => {
 559 |       const cd = transformSource(`
 560 |       <Stack uses="one">
 561 |         <uses value="something, other"/>
 562 |         <uses value="another"/>
 563 |       </Stack>
 564 |     `) as ComponentDef;
 565 |       expect(cd.type).equal("Stack");
 566 |       expect(cd.uses).deep.equal(["one", "something", "other", "another"]);
 567 |     });
 568 |   });
 569 | 
 570 |   describe("objects", () => {
 571 |     it("props with text #2", () => {
 572 |       const cd = transformSource(`
 573 |       <Stack>
 574 |           <property name="myProp">
 575 |             hello
 576 |             <!-- separate -->
 577 |             bello
 578 |           </property>
 579 |       </Stack>
 580 |     `) as ComponentDef;
 581 |       expect(cd.type).equal("Stack");
 582 |       expect((cd.props! as any).myProp.type).equal("TextNode");
 583 |       expect((cd.props! as any).myProp.props.value).equal(" hello bello ");
 584 |     });
 585 | 
 586 |     it("props with attr #1", () => {
 587 |       const cd = transformSource(`
 588 |       <Stack>
 589 |         <property name="myProp">
 590 |           <field name="x">
 591 |             <field name="p1" value="1" />
 592 |             <field name="p2" value="2" />
 593 |           </field>
 594 |         </property>
 595 |       </Stack>
 596 |     `) as ComponentDef;
 597 |       expect(cd.type).equal("Stack");
 598 |       expect((cd.props! as any).myProp.x).deep.equal({ p1: "1", p2: "2" });
 599 |     });
 600 | 
 601 |     it("props with attr #2", () => {
 602 |       const cd = transformSource(`
 603 |       <Stack>
 604 |         <property name="myProp">
 605 |           <field name="x">
 606 |             <item>
 607 |               <field name="p1" value="1" />
 608 |               <field name="p2" value="2" />
 609 |             </item>
 610 |             <item>
 611 |               <field name="p1" value="3" />
 612 |               <field name="p2" value="4" />
 613 |             </item>
 614 |           </field>
 615 |         </property>
 616 |       </Stack>
 617 |     `) as ComponentDef;
 618 |       expect(cd.type).equal("Stack");
 619 |       expect((cd.props! as any).myProp.x).deep.equal([
 620 |         { p1: "1", p2: "2" },
 621 |         { p1: "3", p2: "4" },
 622 |       ]);
 623 |     });
 624 | 
 625 |     it("props with attr #3", () => {
 626 |       const cd = transformSource(`
 627 |       <Stack>
 628 |         <property name="myProp">
 629 |           <field name="x">
 630 |             <field name="p1">1</field>
 631 |             <field name="p2">2</field>
 632 |           </field>
 633 |           <field name="y">
 634 |             <field name="p1">3</field>
 635 |             <field name="p2">4</field>
 636 |           </field>
 637 |         </property>
 638 |       </Stack>
 639 |     `) as ComponentDef;
 640 |       expect(cd.type).equal("Stack");
 641 |       expect((cd.props! as any).myProp.x).deep.equal({ p1: "1", p2: "2" });
 642 |       expect((cd.props! as any).myProp.y).deep.equal({ p1: "3", p2: "4" });
 643 |     });
 644 | 
 645 |     it("props with attr #4", () => {
 646 |       const cd = transformSource(`
 647 |       <Stack>
 648 |         <property name="myProp">
 649 |           <field name="x">
 650 |             <item>
 651 |               <field name="p1">1</field>
 652 |               <field name="p2">2</field>
 653 |             </item>
 654 |             <item/>
 655 |             <item>
 656 |               <field name="p1">3</field>
 657 |               <field name="p2">4</field>
 658 |             </item>
 659 |           </field>
 660 |         </property>
 661 |       </Stack>
 662 |     `) as ComponentDef;
 663 |       expect(cd.type).equal("Stack");
 664 |       expect((cd.props! as any).myProp.x).deep.equal([
 665 |         { p1: "1", p2: "2" },
 666 |         null,
 667 |         { p1: "3", p2: "4" },
 668 |       ]);
 669 |     });
 670 | 
 671 |     it("props with attr #5", () => {
 672 |       const cd = transformSource(`
 673 |       <Stack>
 674 |         <property name="myProp" />
 675 |       </Stack>
 676 |     `) as ComponentDef;
 677 |       expect(cd.type).equal("Stack");
 678 |       expect((cd.props! as any).myProp).equal(null);
 679 |     });
 680 | 
 681 |     it("props with nested attr #", () => {
 682 |       const cd = transformSource(`
 683 |       <Stack>
 684 |         <property name="myProp">
 685 |           <field name="x">
 686 |             <field name="p1" value="1" />
 687 |             <field name="p2">2</field>
 688 |             <field name="nx">
 689 |               <field name="a1" value="a" />
 690 |               <field name="b1">b</field>
 691 |             </field>
 692 |           </field>
 693 |         </property>
 694 |       </Stack>
 695 |     `) as ComponentDef;
 696 |       expect(cd.type).equal("Stack");
 697 |       expect((cd.props! as any).myProp.x).deep.equal({
 698 |         p1: "1",
 699 |         p2: "2",
 700 |         nx: { a1: "a", b1: "b" },
 701 |       });
 702 |     });
 703 | 
 704 |     it("props with nested attr #2", () => {
 705 |       const cd = transformSource(`
 706 |       <Stack>
 707 |         <property name="myProp">
 708 |           <field name="x">
 709 |             <field name="p1" value="1" />
 710 |             <field name="p2">2</field>
 711 |             <field name="nx">
 712 |               <item>
 713 |                 <field name="a1" value="a" />
 714 |                 <field name="b1">b</field>
 715 |               </item>
 716 |               <item>
 717 |                 <field name="a1" value="c" />
 718 |                 <field name="b1">d</field>
 719 |               </item>
 720 |             </field>
 721 |           </field>
 722 |         </property>
 723 |       </Stack>
 724 |     `) as ComponentDef;
 725 |       expect(cd.type).equal("Stack");
 726 |       expect((cd.props! as any).myProp.x).deep.equal({
 727 |         p1: "1",
 728 |         p2: "2",
 729 |         nx: [
 730 |           { a1: "a", b1: "b" },
 731 |           { a1: "c", b1: "d" },
 732 |         ],
 733 |       });
 734 |     });
 735 |   });
 736 | 
 737 |   describe("children", () => {
 738 |     it("direct child #1", () => {
 739 |       const cd = transformSource(`
 740 |       <Stack>Heading</Stack>
 741 |     `) as ComponentDef;
 742 |       expect(cd.type).equal("Stack");
 743 |       expect(cd.children!.length).equal(1);
 744 |       const textNode = cd.children![0] as ComponentDef;
 745 |       expect(textNode.type).equal("TextNode");
 746 |       expect((textNode.props! as any).value).equal("Heading");
 747 |     });
 748 | 
 749 |     it("direct child #2", () => {
 750 |       const cd = transformSource(`
 751 |       <Stack><Heading text="hello"/></Stack>
 752 |     `) as ComponentDef;
 753 |       expect(cd.type).equal("Stack");
 754 |       expect(cd.children!.length).equal(1);
 755 |       const child = cd.children![0] as ComponentDef;
 756 |       expect(child.type).equal("Heading");
 757 |       expect((child.props! as any).text).equal("hello");
 758 |     });
 759 | 
 760 |     it("direct child #3", () => {
 761 |       const cd = transformSource(`
 762 |       <Stack>
 763 |         <!--comment-->
 764 |         <Heading text="hello"/>
 765 |       </Stack>
 766 |     `) as ComponentDef;
 767 |       expect(cd.type).equal("Stack");
 768 |       expect(cd.children!.length).equal(1);
 769 |       const child = cd.children![0] as ComponentDef;
 770 |       expect(child.type).equal("Heading");
 771 |       expect((child.props! as any).text).equal("hello");
 772 |     });
 773 | 
 774 |     it("direct child #4", () => {
 775 |       const cd = transformSource(`
 776 |       <Stack>
 777 |         <!--comment-->
 778 |         <Heading text="hello"/>
 779 |         <XButton text="bello"/>
 780 |       </Stack>
 781 |     `) as ComponentDef;
 782 |       expect(cd.type).equal("Stack");
 783 |       expect(cd.children!.length).equal(2);
 784 |       let child = cd.children![0] as ComponentDef;
 785 |       expect(child.type).equal("Heading");
 786 |       expect((child.props! as any).text).equal("hello");
 787 |       child = cd.children![1] as ComponentDef;
 788 |       expect(child.type).equal("XButton");
 789 |       expect((child.props! as any).text).equal("bello");
 790 |     });
 791 | 
 792 |     it("direct child #5", () => {
 793 |       const cd = transformSource(`
 794 |       <Stack><Heading>Hello</Heading></Stack>
 795 |     `) as ComponentDef;
 796 |       expect(cd.type).equal("Stack");
 797 |       expect(cd.children!.length).equal(1);
 798 |       const child = cd.children![0] as ComponentDef;
 799 |       expect(child.type).equal("Heading");
 800 |       const textNode = child.children![0] as ComponentDef;
 801 |       expect(textNode.type).equal("TextNode");
 802 |       expect((textNode.props! as any).value).equal("Hello");
 803 |     });
 804 |   });
 805 | 
 806 |   describe("comments", () => {
 807 |     it("comments in field and item #1", () => {
 808 |       const cd = transformSource(`
 809 |       <Stack>
 810 |         <property name="myProp">
 811 |           <!-- comment -->
 812 |           <field name="x">
 813 |             <field name="p1" value="1" />
 814 |             <field name="p2">2</field>
 815 |             <field name="nx">
 816 |               <item>
 817 |                 <field name="a1" value="a" />
 818 |                 <field name="b1">b</field>
 819 |               </item>
 820 |               <item>
 821 |                 <field name="a1" value="c" />
 822 |                 <field name="b1">d</field>
 823 |               </item>
 824 |             </field>
 825 |           </field>
 826 |         </property>
 827 |       </Stack>
 828 |     `) as ComponentDef;
 829 |       expect(cd.type).equal("Stack");
 830 |       expect((cd.props! as any).myProp.x).deep.equal({
 831 |         p1: "1",
 832 |         p2: "2",
 833 |         nx: [
 834 |           { a1: "a", b1: "b" },
 835 |           { a1: "c", b1: "d" },
 836 |         ],
 837 |       });
 838 |     });
 839 | 
 840 |     it("comments in field and item #2", () => {
 841 |       const cd = transformSource(`
 842 |       <Stack>
 843 |         <property name="myProp">
 844 |           <!-- comment -->
 845 |           <field name="x">
 846 |             <!-- comment -->
 847 |             <field name="p1" value="1" />
 848 |             <!-- comment -->
 849 |             <field name="p2">2</field>
 850 |             <field name="nx">
 851 |               <!-- comment -->
 852 |               <item>
 853 |                 <!-- comment -->
 854 |                 <field name="a1" value="a" />
 855 |                 <field name="b1">b</field>
 856 |               </item>
 857 |               <item>
 858 |                 <field name="a1" value="c" />
 859 |                 <field name="b1">d</field>
 860 |                 <!-- comment -->
 861 |               </item>
 862 |             </field>
 863 |           </field>
 864 |         </property>
 865 |       </Stack>
 866 |     `) as ComponentDef;
 867 |       expect(cd.type).equal("Stack");
 868 |       expect((cd.props! as any).myProp.x).deep.equal({
 869 |         p1: "1",
 870 |         p2: "2",
 871 |         nx: [
 872 |           { a1: "a", b1: "b" },
 873 |           { a1: "c", b1: "d" },
 874 |         ],
 875 |       });
 876 |     });
 877 |   });
 878 | 
 879 |   describe("Compound components", () => {
 880 |     it("Compound component #1", () => {
 881 |       const cd = transformSource(`
 882 |       <Component name='MyComp'><Stack /><variable name="myVar" value="123" /></Component>
 883 |     `) as ComponentDef;
 884 |       expect(cd).toMatchObject({
 885 |         name: "MyComp",
 886 |         component: {
 887 |           type: "Fragment",
 888 |           vars: {
 889 |             myVar: "123",
 890 |           },
 891 |           children: [
 892 |             {
 893 |               type: "Stack",
 894 |             },
 895 |           ],
 896 |         },
 897 |       });
 898 |     });
 899 | 
 900 |     it("Compound component #3", () => {
 901 |       const cd = transformSource(`
 902 |       <Component name='MyComp'>
 903 |         <Stack />
 904 |         <Text />
 905 |         <variable name="myVar" value="123" />
 906 |       </Component>
 907 |     `) as ComponentDef;
 908 |       expect(cd).toMatchObject({
 909 |         name: "MyComp",
 910 |         component: {
 911 |           type: "Fragment",
 912 |           vars: {
 913 |             myVar: "123",
 914 |           },
 915 |           children: [
 916 |             {
 917 |               type: "Stack",
 918 |             },
 919 |             {
 920 |               type: "Text",
 921 |             },
 922 |           ],
 923 |         },
 924 |       });
 925 |     });
 926 | 
 927 |     it("Compound component #4", () => {
 928 |       const cd = transformSource(`
 929 |       <Component name='MyComp'>
 930 |         <Stack />
 931 |         <Text value="hello" />
 932 |       </Component>
 933 |     `) as ComponentDef;
 934 |       expect(cd).toMatchObject({
 935 |         name: "MyComp",
 936 |         component: {
 937 |           type: "Fragment",
 938 |           children: [
 939 |             {
 940 |               type: "Stack",
 941 |             },
 942 |             {
 943 |               type: "Text",
 944 |               props: {
 945 |                 value: "hello",
 946 |               },
 947 |             },
 948 |           ],
 949 |         },
 950 |       });
 951 |     });
 952 | 
 953 |     it("Compound component #5", () => {
 954 |       const cd = transformSource(`
 955 |       <Component name="AttachFileContainer">
 956 |         <Text value="hello"/>
 957 |         <method name="hello" value="console.log('hello')"/>
 958 |       </Component>
 959 |     `) as ComponentDef;
 960 |       expect(cd).toMatchObject({
 961 |         name: "AttachFileContainer",
 962 |         component: {
 963 |           type: "Text",
 964 |           props: {
 965 |             value: "hello",
 966 |           },
 967 |         },
 968 |         api: {
 969 |           hello: "console.log('hello')",
 970 |         },
 971 |       });
 972 |     });
 973 | 
 974 |     it("Compound component with dotted method #1", () => {
 975 |       const cd = transformSource(`
 976 |       <Component name='MyComp' method.getIt="getIt()"><Stack /></Component>
 977 |     `) as ComponentDef;
 978 |       expect(cd).toMatchObject({
 979 |         name: "MyComp",
 980 |         api: {
 981 |           getIt: "getIt()",
 982 |         },
 983 |         component: {
 984 |           type: "Stack",
 985 |         },
 986 |       });
 987 |     });
 988 | 
 989 |     it("Compound component with dotted method #2", () => {
 990 |       const cd = transformSource(`
 991 |       <Component name='MyComp' method.getIt="getIt()" method.other="other()"><Stack /></Component>
 992 |     `) as ComponentDef;
 993 |       expect(cd).toMatchObject({
 994 |         name: "MyComp",
 995 |         api: {
 996 |           getIt: "getIt()",
 997 |           other: "other()",
 998 |         },
 999 |         component: {
1000 |           type: "Stack",
1001 |         },
1002 |       });
1003 |     });
1004 | 
1005 |     it("Compound component with dotted method #3", () => {
1006 |       const cd = transformSource(`
1007 |       <Component name='MyComp' method.getIt="getIt()"><method name="other" value="other()"/><Stack /></Component>
1008 |     `) as ComponentDef;
1009 |       expect(cd).toMatchObject({
1010 |         name: "MyComp",
1011 |         component: {
1012 |           type: "Stack",
1013 |         },
1014 |         api: {
1015 |           getIt: "getIt()",
1016 |           other: "other()",
1017 |         },
1018 |       });
1019 |     });
1020 | 
1021 |     it("Compound component with dotted vars #1", () => {
1022 |       const cd = transformSource(`
1023 |       <Component name='MyComp' var.myValue="123"><Stack /></Component>
1024 |     `) as ComponentDef;
1025 |       expect(cd).toMatchObject({
1026 |         name: "MyComp",
1027 |         component: {
1028 |           type: "Stack",
1029 |           vars: {
1030 |             myValue: "123",
1031 |           },
1032 |         },
1033 |       });
1034 |     });
1035 | 
1036 |     it("Compound component with dotted vars #2", () => {
1037 |       const cd = transformSource(`
1038 |       <Component name='MyComp' var.myValue="123" var.other="{false}"><Stack /></Component>
1039 |     `) as ComponentDef;
1040 |       expect(cd).toMatchObject({
1041 |         name: "MyComp",
1042 |         component: {
1043 |           type: "Stack",
1044 |           vars: {
1045 |             myValue: "123",
1046 |             other: "{false}",
1047 |           },
1048 |         },
1049 |       });
1050 |     });
1051 | 
1052 |     it("Compound component with vars #3", () => {
1053 |       const cd = transformSource(`
1054 |       <Component name='MyComp' var.myValue="123"><variable name="other" value="{false}" /><Stack /></Component>
1055 |     `) as ComponentDef;
1056 |       expect(cd).toMatchObject({
1057 |         name: "MyComp",
1058 |         component: {
1059 |           children: [
1060 |             {
1061 |               type: "Stack",
1062 |             },
1063 |           ],
1064 |           type: "Fragment",
1065 |           vars: {
1066 |             myValue: "123",
1067 |             other: "{false}",
1068 |           },
1069 |         },
1070 |       });
1071 |     });
1072 | 
1073 |     it("Compound component debug info", () => {
1074 |       const source = `<Component name='MyComp'><Stack /></Component>`;
1075 |       const cd = transformSource(source) as CompoundComponentDef;
1076 |       expect(cd.debug).toMatchObject({
1077 |         source: {
1078 |           start: 0,
1079 |           end: source.length,
1080 |           fileId: 0,
1081 |         },
1082 |       });
1083 |     });
1084 | 
1085 |     it("Compound component debug info nested", () => {
1086 |       const innerComp = `<Button label="hi"/>`;
1087 |       const source = `
1088 |       <Component name='MyComp'>
1089 |         <Stack>
1090 |           ${innerComp}
1091 |         </Stack>
1092 |       </Component>
1093 |     `;
1094 |       const cd = transformSource(source) as CompoundComponentDef;
1095 |       const comp = cd.component;
1096 |       expect(comp.children[0].debug).toMatchObject({
1097 |         source: {
1098 |           start: source.indexOf("<Stack>") + "<Stack>".length,
1099 |           end: source.indexOf(innerComp) + innerComp.length,
1100 |           fileId: 0,
1101 |         },
1102 |       });
1103 |     });
1104 | 
1105 |     it("Compound component debug info with vars", () => {
1106 |       const source = `<Component name='MyComp' var.myValue="123"><variable name="other" value="{false}" /><Stack /></Component>`;
1107 |       const cd = transformSource(source) as CompoundComponentDef;
1108 |       expect(cd.debug).toMatchObject({
1109 |         source: {
1110 |           start: 0,
1111 |           end: source.length,
1112 |           fileId: 0,
1113 |         },
1114 |       });
1115 |     });
1116 | 
1117 |     it("Compound component cannot nest another one", () => {
1118 |       try {
1119 |         const cd = transformSource(`
1120 |           <Component name="A">
1121 |             <Stack>
1122 |               <Component name="B">
1123 |                 <Button />
1124 |               </Component>
1125 |             </Stack>
1126 |           </Component>
1127 |           `) as CompoundComponentDef;
1128 |         assert.fail("Exception expected");
1129 |       } catch (err) {
1130 |         expect(err.toString()).include("T006");
1131 |       }
1132 |     });
1133 |   });
1134 |   describe("debug info", () => {
1135 |     it("Compound component debug info nested with vars", () => {
1136 |       const source = `<Component name='MyComp' var.myValue="123"><variable name="other" value="{false}" /><Stack var.myVar="hi" ><Button /></Stack></Component>`;
1137 |       const cd = transformSource(source) as CompoundComponentDef;
1138 | 
1139 |       expect(cd.debug).toMatchObject({
1140 |         source: {
1141 |           start: 0,
1142 |           end: source.length,
1143 |           fileId: 0,
1144 |         },
1145 |       });
1146 | 
1147 |       const fragmentComp = cd.component;
1148 |       expect(fragmentComp.debug).toMatchObject({
1149 |         source: {
1150 |           start: source.indexOf('<variable name="other"'),
1151 |           end: source.indexOf("</Component"),
1152 |           fileId: 0,
1153 |         },
1154 |       });
1155 | 
1156 |       const stackComp = fragmentComp.children[0] as ComponentDef;
1157 |       const beforeStack = '<variable name="other" value="{false}" />';
1158 |       expect(stackComp.debug).toMatchObject({
1159 |         source: {
1160 |           start: source.indexOf(beforeStack) + beforeStack.length,
1161 |           end: source.indexOf("</Component>"),
1162 |           fileId: 0,
1163 |         },
1164 |       });
1165 |     });
1166 | 
1167 |     it("Debug info #1", () => {
1168 |       const source = `<Stack><Button/></Stack>`;
1169 |       const cd = transformSource(source) as ComponentDef;
1170 |       expect(cd.debug).toMatchObject({
1171 |         source: {
1172 |           start: 0,
1173 |           end: source.length,
1174 |           fileId: 0,
1175 |         },
1176 |       });
1177 | 
1178 |       const btnComp = cd.children[0] as ComponentDef;
1179 |       expect(btnComp.debug).toMatchObject({
1180 |         source: {
1181 |           start: source.indexOf("<Stack>") + "<Stack>".length,
1182 |           end: source.indexOf("<Button/>") + "<Button/>".length,
1183 |           fileId: 0,
1184 |         },
1185 |       });
1186 |     });
1187 | 
1188 |     it("Debug info #2", () => {
1189 |       const source = `<Stack><Button/></Stack>`;
1190 |       const FILE_ID = 123;
1191 |       const cd = transformSource(source, FILE_ID) as ComponentDef;
1192 |       expect(cd.debug).toMatchObject({
1193 |         source: {
1194 |           start: 0,
1195 |           end: source.length,
1196 |           fileId: FILE_ID,
1197 |         },
1198 |       });
1199 | 
1200 |       const btnComp = cd.children[0] as ComponentDef;
1201 |       expect(btnComp.debug).toMatchObject({
1202 |         source: {
1203 |           start: source.indexOf("<Stack>") + "<Stack>".length,
1204 |           end: source.indexOf("<Button/>") + "<Button/>".length,
1205 |           fileId: FILE_ID,
1206 |         },
1207 |       });
1208 |     });
1209 |   });
1210 | 
1211 |   describe("namespaces and componet names", () => {
1212 |     it("namespace resolved in children", () => {
1213 |       const cd = transformSource(`
1214 |         <App xmlns:TestNamespace="Test.Components" >
1215 |             <TestNamespace:DataGrid />
1216 |         </App>
1217 |         `) as ComponentDef;
1218 |       expect(cd.children[0].type).toEqual("Test.Components.DataGrid");
1219 |     });
1220 | 
1221 |     it("overridden namespace resolved in children", () => {
1222 |       const cd = transformSource(`
1223 |         <App xmlns:TestNamespace="Test.Components" >
1224 |             <Stack xmlns:TestNamespace="Overridden.Namespace" >
1225 |             <TestNamespace:DataGrid />
1226 |             </Stack>
1227 |         </App>
1228 |         `) as ComponentDef;
1229 |       expect(cd.children[0].children[0].type).toEqual("Overridden.Namespace.DataGrid");
1230 |     });
1231 | 
1232 |     it("namespace value 'app-ns' resolves to a unique prefix", () => {
1233 |       const cd = transformSource(`<App xmlns:My="app-ns"><My:DataGrid /></App>`) as ComponentDef;
1234 |       expect(cd.children[0].type).equal("#app-ns.DataGrid");
1235 |     });
1236 | 
1237 |     it("namespace value 'core-ns' resolves to a unique prefix", () => {
1238 |       const cd = transformSource(`<App xmlns:My="core-ns"><My:DataGrid /></App>`) as ComponentDef;
1239 |       expect(cd.children[0].type).equal("#xmlui-core-ns.DataGrid");
1240 |     });
1241 | 
1242 |     it("namespace value 'componenet-ns' resolves to the namespace key", () => {
1243 |       const cd = transformSource(
1244 |         `<App xmlns:TestingNs="component-ns"><TestingNs:DataGrid /></App>`,
1245 |       ) as ComponentDef;
1246 |       expect(cd.children[0].type).equal("TestingNs.DataGrid");
1247 |     });
1248 | 
1249 |     it("namespace key with dot is unmodified", () => {
1250 |       const cd = transformSource(
1251 |         `<App xmlns:My.Ns="Test-value"><My.Ns:DataGrid /></App>`,
1252 |       ) as ComponentDef;
1253 |       expect(cd.children[0].type).equal("Test-value.DataGrid");
1254 |     });
1255 | 
1256 |     it("namespace resolves within in compound component", () => {
1257 |       const cd = transformSource(
1258 |         `<Component name="ABC" xmlns:Ns="Test-value"><Ns:DataGrid /></Component>`,
1259 |       ) as CompoundComponentDef;
1260 |       expect(cd.component.type).equal("Test-value.DataGrid");
1261 |     });
1262 | 
1263 |     it("namespace resolves deeper within in compound component", () => {
1264 |       const cd = transformSource(`
1265 |         <Component name="TestComponent" xmlns:XMLUIExtenions="component-ns:XMLUIExtensions">
1266 |           <Stack backgroundColor="lightgreen">
1267 |             <XMLUIExtenions:Pdf/>
1268 |           </Stack>
1269 |         </Component>
1270 |         `) as CompoundComponentDef;
1271 |       expect(cd.component.children[0].type).equal("XMLUIExtensions.Pdf");
1272 |     });
1273 | 
1274 |     it("accepts component name with '-' and '.'", () => {
1275 |       const cd = transformSource(`
1276 |         <A-b.c/>
1277 |         `) as ComponentDef;
1278 |       expect(cd.type).equal("A-b.c");
1279 |     });
1280 | 
1281 |     it("accepts lowercase namespace key", () => {
1282 |       const cd = transformSource(
1283 |         `<Stack xmlns:ns="Test-value"><ns:DataGrid /></Stack>`,
1284 |       ) as ComponentDef;
1285 |       expect(cd.children[0].type).eq("Test-value.DataGrid");
1286 |     });
1287 | 
1288 |     it("accepts lowercase namespace value", () => {
1289 |       const cd = transformSource(
1290 |         `<Stack xmlns:Ns="test-value"><Ns:DataGrid /></Stack>`,
1291 |       ) as ComponentDef;
1292 | 
1293 |       expect(cd.children[0].type).eq("test-value.DataGrid");
1294 |     });
1295 | 
1296 |     describe("handled errors", () => {
1297 |       it("errors on namespace value includeing '#'", () => {
1298 |         try {
1299 |           const cd = transformSource(`<App xmlns:TestNamespace="#something" />`) as ComponentDef;
1300 |           assert.fail("Exception expected");
1301 |         } catch (err) {
1302 |           expect(err.toString()).include("T028");
1303 |         }
1304 |       });
1305 | 
1306 |       it("errors on refering to unknown namespace", () => {
1307 |         try {
1308 |           const cd = transformSource(`
1309 |           <App xmlns:TestNamespace="Test.Components" >
1310 |               <NonExistant:DataGrid />
1311 |           </App>
1312 |           `) as ComponentDef;
1313 |           assert.fail("Exception expected");
1314 |         } catch (err) {
1315 |           expect(err.toString()).include("T027");
1316 |         }
1317 |       });
1318 | 
1319 |       it("multiple colons in namespace value errors", () => {
1320 |         try {
1321 |           const cd = transformSource(`
1322 |           <App xmlns:TestNamespace="component-ns:buttons-components:Test.Components" />
1323 |           `) as ComponentDef;
1324 |           assert.fail("Exception expected");
1325 |         } catch (err) {
1326 |           expect(err.toString()).include("T028");
1327 |         }
1328 |       });
1329 | 
1330 |       it("unrecognised namespace scheme errors", () => {
1331 |         try {
1332 |           const cd = transformSource(`
1333 |           <App xmlns:TestNamespace="NON-EXISTANT:Test.Components" />
1334 |           `) as ComponentDef;
1335 |           assert.fail("Exception expected");
1336 |         } catch (err) {
1337 |           expect(err.toString()).include("T029");
1338 |         }
1339 |       });
1340 | 
1341 |       it("duplicate namespace key errors", () => {
1342 |         try {
1343 |           const cd = transformSource(`
1344 |               <App xmlns:TestNamespace="first" xmlns:TestNamespace="second" />
1345 |               `) as ComponentDef;
1346 |           assert.fail("Exception expected");
1347 |         } catch (err) {
1348 |           expect(err.toString()).include("T025");
1349 |         }
1350 |       });
1351 | 
1352 |       it("namespace on top lvl component errors", () => {
1353 |         try {
1354 |           const cd = transformSource(`<NonExistantNs:App />`) as ComponentDef;
1355 |           assert.fail("Exception expected");
1356 |         } catch (err) {
1357 |           expect(err.toString()).include("T026");
1358 |         }
1359 |       });
1360 |     });
1361 |   });
1362 | });
1363 | 
```
Page 136/175FirstPrevNextLast