This is page 116 of 181. Use http://codebase.md/xmlui-org/xmlui/mockApiDef.js?lines=true&page={x} to view the full context. # Directory Structure ``` ├── .changeset │ ├── config.json │ └── cool-queens-look.md ├── .eslintrc.cjs ├── .github │ ├── build-checklist.png │ ├── ISSUE_TEMPLATE │ │ ├── bug_report.md │ │ └── feature_request.md │ └── workflows │ ├── deploy-blog.yml │ ├── 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 │ │ ├── netlify.toml │ │ ├── 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 │ │ │ ├── Debug.xmlui │ │ │ └── PageNotFound.xmlui │ │ ├── config.ts │ │ ├── Main.xmlui │ │ ├── Main.xmlui.xs │ │ └── 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 │ │ │ │ ├── make-navpanel-width-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 │ ├── mermaid.md │ ├── testing-conventions.md │ └── xmlui-in-a-nutshell.md ├── dev-docs │ ├── accessibility.md │ ├── build-system.md │ ├── build-xmlui.md │ ├── component-behaviors.md │ ├── containers.md │ ├── glossary.md │ ├── index.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 │ ├── standalone-app.md │ ├── state-management.md │ └── xmlui-repo.md ├── 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 │ │ │ ├── MultiSelectOption.tsx │ │ │ ├── OptionContext.ts │ │ │ ├── Select.md │ │ │ ├── Select.module.scss │ │ │ ├── Select.spec.ts │ │ │ ├── Select.tsx │ │ │ ├── SelectContext.tsx │ │ │ ├── SelectNative.tsx │ │ │ ├── SelectOption.tsx │ │ │ └── SimpleSelect.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 │ │ │ └── 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 -------------------------------------------------------------------------------- /docs/content/components/List.md: -------------------------------------------------------------------------------- ```markdown 1 | # List [#list] 2 | 3 | `List` is a high-performance, virtualized container for rendering large datasets with built-in grouping, sorting, and visual formatting. It only renders visible items in the viewport, making it ideal for displaying thousands of records while maintaining smooth scrolling performance. 4 | 5 | **Key features:** 6 | - **Virtualization**: Renders only visible items for optimal performance with large datasets 7 | - **Advanced grouping**: Group data by any field with customizable headers and footers 8 | - **Built-in sorting**: Sort by any data field in ascending or descending order 9 | - **Visual formatting**: Pre-styled list appearance with borders, spacing, and layout 10 | - **Pagination support**: Handle large datasets with built-in pagination controls 11 | - **Empty state handling**: Customizable templates for when no data is available 12 | 13 | **List vs Items:** 14 | Use `List` for complex data presentation requiring performance optimization, grouping, sorting, or visual formatting. Use `Items` for simple data iteration without layout requirements. 15 | 16 | In the following examples all use the same list of data which looks like so: 17 | 18 | | Id | Name | Quantity | Unit | Category | Key | 19 | | :--- | :------ | :------- | :----- | :--------- | :--- | 20 | | 0 | Apples | 5 | pieces | fruits | 5 | 21 | | 1 | Bananas | 6 | pieces | fruits | 4 | 22 | | 2 | Carrots | 100 | grams | vegetables | 3 | 23 | | 3 | Spinach | 1 | bunch | vegetables | 2 | 24 | | 4 | Milk | 10 | liter | diary | 1 | 25 | | 5 | Cheese | 200 | grams | diary | 0 | 26 | 27 | The data is provided as JSON. 28 | 29 | **Context variables available during execution:** 30 | 31 | - `$group`: Group information when using `groupBy` (available in group templates) 32 | - `$isFirst`: Boolean indicating if this is the first item 33 | - `$isLast`: Boolean indicating if this is the last item 34 | - `$item`: Current data item being rendered 35 | - `$itemIndex`: Zero-based index of current item 36 | 37 | ## Use children as Content Template [#use-children-as-content-template] 38 | 39 | The [itemTemplate](#itemtemplate) property can be replaced by setting the item template component directly as the List's child. 40 | In the following example, the two List are functionally the same: 41 | 42 | ```xmlui copy 43 | <App> 44 | <!-- This is the same --> 45 | <List> 46 | <property name="itemTemplate"> 47 | <Text>Template</Text> 48 | </property> 49 | </List> 50 | <!-- As this --> 51 | <List> 52 | <Text>Template</Text> 53 | </List> 54 | </App> 55 | ``` 56 | 57 | ## Properties [#properties] 58 | 59 | ### `availableGroups` [#availablegroups] 60 | 61 | This property is an array of group names that the `List` will display. If not set, all groups in the data are displayed. 62 | 63 | ```xmlui {5} 64 | <App> 65 | <List 66 | data="{[...]}" 67 | groupBy="category" 68 | availableGroups="{['fruits', 'vegetables']}"> 69 | <property name="groupHeaderTemplate"> 70 | <Stack> 71 | <Text variant="subtitle" value="{$group.key}" /> 72 | </Stack> 73 | </property> 74 | </List> 75 | </App> 76 | ``` 77 | 78 | ```xmlui-pg name="Example: availableGroups" height="400px" 79 | <App> 80 | <List availableGroups="{['fruits', 'vegetables']}" groupBy="category" 81 | data='{[ 82 | { 83 | id: 0, 84 | name: "Apples", 85 | quantity: 5, 86 | unit: "pieces", 87 | category: "fruits", 88 | key: 5, 89 | }, 90 | { 91 | id: 1, 92 | name: "Bananas", 93 | quantity: 6, 94 | unit: "pieces", 95 | category: "fruits", 96 | key: 4, 97 | }, 98 | { 99 | id: 2, 100 | name: "Carrots", 101 | quantity: 100, 102 | unit: "grams", 103 | category: "vegetables", 104 | key: 3, 105 | }, 106 | { 107 | id: 3, 108 | name: "Spinach", 109 | quantity: 1, 110 | unit: "bunch", 111 | category: "vegetables", 112 | key: 2, 113 | }, 114 | { 115 | id: 4, 116 | name: "Milk", 117 | quantity: 10, 118 | unit: "liter", 119 | category: "dairy", 120 | key: 1, 121 | }, 122 | { 123 | id: 5, 124 | name: "Cheese", 125 | quantity: 200, 126 | unit: "grams", 127 | category: "dairy", 128 | key: 0, 129 | }, 130 | ]}'> 131 | <property name="groupHeaderTemplate"> 132 | <Stack> 133 | <Text variant="subtitle" value="{$group.key}" /> 134 | </Stack> 135 | </property> 136 | </List> 137 | </App> 138 | ``` 139 | 140 | ### `borderCollapse` (default: true) [#bordercollapse-default-true] 141 | 142 | Collapse items borders 143 | 144 | Note how the `List` on the right has different borders: 145 | 146 | ```xmlui /borderCollapse/ 147 | <App> 148 | <HStack> 149 | <List data="{[...]}" groupBy="category" borderCollapse="false" width="$space-48"> 150 | <property name="groupHeaderTemplate"> 151 | <Stack> 152 | <Text variant="subtitle" value="{$group.key}" /> 153 | </Stack> 154 | </property> 155 | </List> 156 | <List data="{[...]}" groupBy="category" borderCollapse="true" width="$space-48"> 157 | <property name="groupHeaderTemplate"> 158 | <Stack> 159 | <Text variant="subtitle" value="{$group.key}" /> 160 | </Stack> 161 | </property> 162 | </List> 163 | </HStack> 164 | </App> 165 | ``` 166 | 167 | ```xmlui-pg name="Example: borderCollapse" height="400px" 168 | <App> 169 | <HStack> 170 | <List data='{[ 171 | { 172 | id: 0, 173 | name: "Apples", 174 | quantity: 5, 175 | unit: "pieces", 176 | category: "fruits", 177 | key: 5, 178 | }, 179 | { 180 | id: 1, 181 | name: "Bananas", 182 | quantity: 6, 183 | unit: "pieces", 184 | category: "fruits", 185 | key: 4, 186 | }, 187 | { 188 | id: 2, 189 | name: "Carrots", 190 | quantity: 100, 191 | unit: "grams", 192 | category: "vegetables", 193 | key: 3, 194 | }, 195 | { 196 | id: 3, 197 | name: "Spinach", 198 | quantity: 1, 199 | unit: "bunch", 200 | category: "vegetables", 201 | key: 2, 202 | }, 203 | { 204 | id: 4, 205 | name: "Milk", 206 | quantity: 10, 207 | unit: "liter", 208 | category: "dairy", 209 | key: 1, 210 | }, 211 | { 212 | id: 5, 213 | name: "Cheese", 214 | quantity: 200, 215 | unit: "grams", 216 | category: "dairy", 217 | key: 0, 218 | }, 219 | ]}' 220 | groupBy="category" borderCollapse="false" width="$space-48"> 221 | <property name="groupHeaderTemplate"> 222 | <Stack> 223 | <Text variant="subtitle" value="{$group.key}" /> 224 | </Stack> 225 | </property> 226 | </List> 227 | <List data='{[ 228 | { 229 | id: 0, 230 | name: "Apples", 231 | quantity: 5, 232 | unit: "pieces", 233 | category: "fruits", 234 | key: 5, 235 | }, 236 | { 237 | id: 1, 238 | name: "Bananas", 239 | quantity: 6, 240 | unit: "pieces", 241 | category: "fruits", 242 | key: 4, 243 | }, 244 | { 245 | id: 2, 246 | name: "Carrots", 247 | quantity: 100, 248 | unit: "grams", 249 | category: "vegetables", 250 | key: 3, 251 | }, 252 | { 253 | id: 3, 254 | name: "Spinach", 255 | quantity: 1, 256 | unit: "bunch", 257 | category: "vegetables", 258 | key: 2, 259 | }, 260 | { 261 | id: 4, 262 | name: "Milk", 263 | quantity: 10, 264 | unit: "liter", 265 | category: "dairy", 266 | key: 1, 267 | }, 268 | { 269 | id: 5, 270 | name: "Cheese", 271 | quantity: 200, 272 | unit: "grams", 273 | category: "dairy", 274 | key: 0, 275 | }, 276 | ]}' 277 | groupBy="category" borderCollapse="true" width="$space-48"> 278 | <property name="groupHeaderTemplate"> 279 | <Stack> 280 | <Text variant="subtitle" value="{$group.key}" /> 281 | </Stack> 282 | </property> 283 | </List> 284 | </HStack> 285 | </App> 286 | ``` 287 | 288 | ### `data` [#data] 289 | 290 | The component receives data via this property. The `data` property is a list of items that the `List` can display. 291 | 292 | Note how the `List` infers the given data and provides a simple layout for it. 293 | To tweak what data and how it is displayed, see the [`itemTemplate` section](#itemtemplate). 294 | 295 | ```xmlui copy 296 | <App> 297 | <List data='{[...]}' /> 298 | </App> 299 | ``` 300 | 301 | ```xmlui-pg name="Example: data" height="400px" 302 | <App> 303 | <List data='{[ 304 | { 305 | id: 0, 306 | name: "Apples", 307 | quantity: 5, 308 | unit: "pieces", 309 | category: "fruits", 310 | key: 5, 311 | }, 312 | { 313 | id: 1, 314 | name: "Bananas", 315 | quantity: 6, 316 | unit: "pieces", 317 | category: "fruits", 318 | key: 4, 319 | }, 320 | { 321 | id: 2, 322 | name: "Carrots", 323 | quantity: 100, 324 | unit: "grams", 325 | category: "vegetables", 326 | key: 3, 327 | }, 328 | { 329 | id: 3, 330 | name: "Spinach", 331 | quantity: 1, 332 | unit: "bunch", 333 | category: "vegetables", 334 | key: 2, 335 | }, 336 | { 337 | id: 4, 338 | name: "Milk", 339 | quantity: 10, 340 | unit: "liter", 341 | category: "dairy", 342 | key: 1, 343 | }, 344 | { 345 | id: 5, 346 | name: "Cheese", 347 | quantity: 200, 348 | unit: "grams", 349 | category: "dairy", 350 | key: 0, 351 | }, 352 | ]}' /> 353 | </App> 354 | ``` 355 | 356 | You can also provide the `List` with data directly from an API via this property. 357 | 358 | In the example below, the `List` also uses the `itemTemplate` property to access the data attributes as well. 359 | See the [itemTemplate section](#itemtemplate). 360 | 361 | ```xmlui-pg copy name="Example: data API Call" height="400px" 362 | <App> 363 | <List data='https://api.spacexdata.com/v3/rockets'> 364 | <property name="itemTemplate"> 365 | <Card> 366 | <Image height="100px" fit="cover" src="{$item.flickr_images[0]}"/> 367 | <Text value="{$item.country}" /> 368 | <Text value="{$item.company}" variant="strong" /> 369 | </Card> 370 | </property> 371 | </List> 372 | </App> 373 | ``` 374 | 375 | ### `defaultGroups` [#defaultgroups] 376 | 377 | This property adds an optional list of default groups for the `List` and displays the group headers in the specified order. If the data contains group headers not in this list, those headers are also displayed (after the ones in this list); however, their order is not deterministic. 378 | 379 | >[!INFO] 380 | > For the `defaultGroups` property to work, the data must be sectioned using the [`groupBy`](#groupBy) property, and either a [`groupHeaderTemplate`](#groupHeaderTemplate) or a [`groupFooterTemplate`](#groupFooterTemplate) needs to be provided. 381 | 382 | ```xmlui copy {4} 383 | <App> 384 | <List 385 | data='{[...]}' 386 | defaultGroups="{['dairy', 'meat', 'vegetables']}" 387 | groupBy="category" > 388 | <property name="groupHeaderTemplate"> 389 | <VStack> 390 | <Text variant="subtitle" value="{$group.key}" /> 391 | </VStack> 392 | </property> 393 | </List> 394 | </App> 395 | ``` 396 | 397 | ```xmlui-pg name="Example: defaultGroups" height="400px" 398 | <App> 399 | <List 400 | data='{[ 401 | { 402 | id: 0, 403 | name: "Apples", 404 | quantity: 5, 405 | unit: "pieces", 406 | category: "fruits", 407 | key: 5, 408 | }, 409 | { 410 | id: 1, 411 | name: "Bananas", 412 | quantity: 6, 413 | unit: "pieces", 414 | category: "fruits", 415 | key: 4, 416 | }, 417 | { 418 | id: 2, 419 | name: "Carrots", 420 | quantity: 100, 421 | unit: "grams", 422 | category: "vegetables", 423 | key: 3, 424 | }, 425 | { 426 | id: 3, 427 | name: "Spinach", 428 | quantity: 1, 429 | unit: "bunch", 430 | category: "vegetables", 431 | key: 2, 432 | }, 433 | { 434 | id: 4, 435 | name: "Milk", 436 | quantity: 10, 437 | unit: "liter", 438 | category: "dairy", 439 | key: 1, 440 | }, 441 | { 442 | id: 5, 443 | name: "Cheese", 444 | quantity: 200, 445 | unit: "grams", 446 | category: "dairy", 447 | key: 0, 448 | }, 449 | ]}' 450 | defaultGroups="{['dairy', 'meat', 'vegetables']}" 451 | groupBy="category"> 452 | <property name="groupHeaderTemplate"> 453 | <VStack> 454 | <Text variant="subtitle" value="{$group.key}" /> 455 | </VStack> 456 | </property> 457 | </List> 458 | </App> 459 | ``` 460 | 461 | ### `emptyListTemplate` [#emptylisttemplate] 462 | 463 | This property defines the template to display when the list is empty. 464 | 465 | ```xmlui-pg copy display name="Example: emptyListTemplate" height="140px" 466 | <App> 467 | <List> 468 | <property name="emptyListTemplate"> 469 | <VStack horizontalAlignment="center"> 470 | <Text variant="strong" value="Empty..." /> 471 | </VStack> 472 | </property> 473 | </List> 474 | </App> 475 | ``` 476 | 477 | ### `groupBy` [#groupby] 478 | 479 | This property sets which data item property is used to group the list items. If not set, no grouping is done. 480 | 481 | >[!INFO] 482 | > For the `groupBy` property to work, either a [`groupHeaderTemplate`](#groupHeaderTemplate) 483 | > or a [`groupFooterTemplate`](#groupFooterTemplate) needs to be provided. 484 | 485 | ```xmlui copy {3} 486 | <App> 487 | <List 488 | data='{[...]}' 489 | groupBy="category"> 490 | <property name="groupHeaderTemplate"> 491 | <VStack> 492 | <Text variant="subtitle" value="{$group.key}" /> 493 | </VStack> 494 | </property> 495 | </List> 496 | </App> 497 | ``` 498 | 499 | ```xmlui-pg name="Example: groupBy" height="400px" 500 | <App> 501 | <List 502 | data='{[ 503 | { 504 | id: 0, 505 | name: "Apples", 506 | quantity: 5, 507 | unit: "pieces", 508 | category: "fruits", 509 | key: 5, 510 | }, 511 | { 512 | id: 1, 513 | name: "Bananas", 514 | quantity: 6, 515 | unit: "pieces", 516 | category: "fruits", 517 | key: 4, 518 | }, 519 | { 520 | id: 2, 521 | name: "Carrots", 522 | quantity: 100, 523 | unit: "grams", 524 | category: "vegetables", 525 | key: 3, 526 | }, 527 | { 528 | id: 3, 529 | name: "Spinach", 530 | quantity: 1, 531 | unit: "bunch", 532 | category: "vegetables", 533 | key: 2, 534 | }, 535 | { 536 | id: 4, 537 | name: "Milk", 538 | quantity: 10, 539 | unit: "liter", 540 | category: "dairy", 541 | key: 1, 542 | }, 543 | { 544 | id: 5, 545 | name: "Cheese", 546 | quantity: 200, 547 | unit: "grams", 548 | category: "dairy", 549 | key: 0, 550 | }, 551 | ]}' 552 | groupBy="category"> 553 | <property name="groupHeaderTemplate"> 554 | <VStack> 555 | <Text variant="subtitle" value="{$group.key}" /> 556 | </VStack> 557 | </property> 558 | </List> 559 | </App> 560 | ``` 561 | 562 | ### `groupFooterTemplate` [#groupfootertemplate] 563 | 564 | Enables the customization of how the the footer of each group is displayed. Combine with [`groupHeaderTemplate`](#groupHeaderTemplate) to customize sections. You can use the `$item` context variable to access an item group and map its individual attributes. 565 | 566 | The structure of `$group` in a `groupFooterTemplate` is the following: 567 | 568 | | Attribute | Description | 569 | | --------- | ------------------------------------------------------------------------------------------------------------- | 570 | | id | Unique identifier for the section. It is commonly generated from the attribute name provided via `groupBy`. | 571 | | items | The items filtered from the original data list that fall into this section. | 572 | | key | The attribute name to section by provided via `groupBy` | 573 | 574 | This example displays a separator line in the groups' footer: 575 | 576 | ```xmlui copy {8-12} 577 | <App> 578 | <List data='{[...]}' groupBy="category"> 579 | <property name="groupHeaderTemplate"> 580 | <VStack> 581 | <Text variant="subtitle" value="{$group.key}" /> 582 | </VStack> 583 | </property> 584 | <property name="groupFooterTemplate"> 585 | <VStack paddingVertical="$space-normal"> 586 | <ContentSeparator/> 587 | </VStack> 588 | </property> 589 | </List> 590 | </App> 591 | ``` 592 | 593 | ```xmlui-pg name="Example: groupFooterTemplate" height="400px" 594 | <App> 595 | <List data='{[ 596 | { 597 | id: 0, 598 | name: "Apples", 599 | quantity: 5, 600 | unit: "pieces", 601 | category: "fruits", 602 | key: 5, 603 | }, 604 | { 605 | id: 1, 606 | name: "Bananas", 607 | quantity: 6, 608 | unit: "pieces", 609 | category: "fruits", 610 | key: 4, 611 | }, 612 | { 613 | id: 2, 614 | name: "Carrots", 615 | quantity: 100, 616 | unit: "grams", 617 | category: "vegetables", 618 | key: 3, 619 | }, 620 | { 621 | id: 3, 622 | name: "Spinach", 623 | quantity: 1, 624 | unit: "bunch", 625 | category: "vegetables", 626 | key: 2, 627 | }, 628 | { 629 | id: 4, 630 | name: "Milk", 631 | quantity: 10, 632 | unit: "liter", 633 | category: "dairy", 634 | key: 1, 635 | }, 636 | { 637 | id: 5, 638 | name: "Cheese", 639 | quantity: 200, 640 | unit: "grams", 641 | category: "dairy", 642 | key: 0, 643 | }, 644 | ]}' 645 | groupBy="category"> 646 | <property name="groupHeaderTemplate"> 647 | <VStack> 648 | <Text variant="subtitle" value="{$group.key}" /> 649 | </VStack> 650 | </property> 651 | <property name="groupFooterTemplate"> 652 | <VStack paddingVertical="$space-normal"> 653 | <ContentSeparator/> 654 | </VStack> 655 | </property> 656 | </List> 657 | </App> 658 | ``` 659 | 660 | ### `groupHeaderTemplate` [#groupheadertemplate] 661 | 662 | Enables the customization of how the groups are displayed, similarly to the [`itemTemplate`](#itemtemplate). You can use the `$item` context variable to access an item group and map its individual attributes. 663 | 664 | The structure of `$group` in a `groupHeaderTemplate` is the following: 665 | 666 | | Attribute | Description | 667 | | --------- | ------------------------------------------------------------------------------------------------------------- | 668 | | id | Unique identifier for the section. It is commonly generated from the attribute name provided via `groupBy`. | 669 | | items | The items filtered from the original data list that fall into this section. | 670 | | key | The attribute name to section by provided via `groupBy` | 671 | 672 | ```xmlui copy {3-7} 673 | <App> 674 | <List data='{[...]}' groupBy="category"> 675 | <property name="groupHeaderTemplate"> 676 | <Stack padding="$space-2"> 677 | <Text variant="subtitle" value="{$group.key}" /> 678 | </Stack> 679 | </property> 680 | </List> 681 | </App> 682 | ``` 683 | 684 | ```xmlui-pg copy name="Example: groupHeaderTemplate" height="400px" 685 | <App> 686 | <List data='{[ 687 | { 688 | id: 0, 689 | name: "Apples", 690 | quantity: 5, 691 | unit: "pieces", 692 | category: "fruits", 693 | key: 5, 694 | }, 695 | { 696 | id: 1, 697 | name: "Bananas", 698 | quantity: 6, 699 | unit: "pieces", 700 | category: "fruits", 701 | key: 4, 702 | }, 703 | { 704 | id: 2, 705 | name: "Carrots", 706 | quantity: 100, 707 | unit: "grams", 708 | category: "vegetables", 709 | key: 3, 710 | }, 711 | { 712 | id: 3, 713 | name: "Spinach", 714 | quantity: 1, 715 | unit: "bunch", 716 | category: "vegetables", 717 | key: 2, 718 | }, 719 | { 720 | id: 4, 721 | name: "Milk", 722 | quantity: 10, 723 | unit: "liter", 724 | category: "dairy", 725 | key: 1, 726 | }, 727 | { 728 | id: 5, 729 | name: "Cheese", 730 | quantity: 200, 731 | unit: "grams", 732 | category: "dairy", 733 | key: 0, 734 | }, 735 | ]}' 736 | groupBy="category"> 737 | <property name="groupHeaderTemplate"> 738 | <Stack padding="$space-2"> 739 | <Text variant="subtitle" value="{$group.key}" /> 740 | </Stack> 741 | </property> 742 | </List> 743 | </App> 744 | ``` 745 | 746 | ### `groupsInitiallyExpanded` (default: true) [#groupsinitiallyexpanded-default-true] 747 | 748 | This Boolean property defines whether the list groups are initially expanded. 749 | 750 | Note how the groups in the right `List` are expanded by default: 751 | 752 | ```xmlui /groupsInitiallyExpanded/ 753 | <App> 754 | <HStack gap="$space-2"> 755 | <List data="{[...]}" 756 | groupBy="category" 757 | groupsInitiallyExpanded="false" 758 | width="$space-48"> 759 | <property name="groupHeaderTemplate"> 760 | <Stack> 761 | <Text variant="subtitle" value="{$group.key}" /> 762 | </Stack> 763 | </property> 764 | </List> 765 | <List data="{[...]}" 766 | groupBy="category" 767 | groupsInitiallyExpanded="true" 768 | width="$space-48"> 769 | <property name="groupHeaderTemplate"> 770 | <Stack> 771 | <Text variant="subtitle" value="{$group.key}" /> 772 | </Stack> 773 | </property> 774 | </List> 775 | </HStack> 776 | </App> 777 | ``` 778 | 779 | ```xmlui-pg name="Example: groupsInitiallyExpanded" height="400px" 780 | <App> 781 | <HStack gap="$space-2"> 782 | <List data='{[ 783 | { 784 | id: 0, 785 | name: "Apples", 786 | quantity: 5, 787 | unit: "pieces", 788 | category: "fruits", 789 | key: 5, 790 | }, 791 | { 792 | id: 1, 793 | name: "Bananas", 794 | quantity: 6, 795 | unit: "pieces", 796 | category: "fruits", 797 | key: 4, 798 | }, 799 | { 800 | id: 2, 801 | name: "Carrots", 802 | quantity: 100, 803 | unit: "grams", 804 | category: "vegetables", 805 | key: 3, 806 | }, 807 | { 808 | id: 3, 809 | name: "Spinach", 810 | quantity: 1, 811 | unit: "bunch", 812 | category: "vegetables", 813 | key: 2, 814 | }, 815 | { 816 | id: 4, 817 | name: "Milk", 818 | quantity: 10, 819 | unit: "liter", 820 | category: "dairy", 821 | key: 1, 822 | }, 823 | { 824 | id: 5, 825 | name: "Cheese", 826 | quantity: 200, 827 | unit: "grams", 828 | category: "dairy", 829 | key: 0, 830 | }, 831 | ]}' 832 | groupBy="category" groupsInitiallyExpanded="false" width="$space-48"> 833 | <property name="groupHeaderTemplate"> 834 | <Stack> 835 | <Text variant="subtitle" value="{$group.key}" /> 836 | </Stack> 837 | </property> 838 | </List> 839 | <List data='{[ 840 | { 841 | id: 0, 842 | name: "Apples", 843 | quantity: 5, 844 | unit: "pieces", 845 | category: "fruits", 846 | key: 5, 847 | }, 848 | { 849 | id: 1, 850 | name: "Bananas", 851 | quantity: 6, 852 | unit: "pieces", 853 | category: "fruits", 854 | key: 4, 855 | }, 856 | { 857 | id: 2, 858 | name: "Carrots", 859 | quantity: 100, 860 | unit: "grams", 861 | category: "vegetables", 862 | key: 3, 863 | }, 864 | { 865 | id: 3, 866 | name: "Spinach", 867 | quantity: 1, 868 | unit: "bunch", 869 | category: "vegetables", 870 | key: 2, 871 | }, 872 | { 873 | id: 4, 874 | name: "Milk", 875 | quantity: 10, 876 | unit: "liter", 877 | category: "dairy", 878 | key: 1, 879 | }, 880 | { 881 | id: 5, 882 | name: "Cheese", 883 | quantity: 200, 884 | unit: "grams", 885 | category: "dairy", 886 | key: 0, 887 | }, 888 | ]}' 889 | groupBy="category" groupsInitiallyExpanded="true" width="$space-48"> 890 | <property name="groupHeaderTemplate"> 891 | <Stack> 892 | <Text variant="subtitle" value="{$group.key}" /> 893 | </Stack> 894 | </property> 895 | </List> 896 | </HStack> 897 | </App> 898 | ``` 899 | 900 | ### `hideEmptyGroups` (default: true) [#hideemptygroups-default-true] 901 | 902 | This boolean property indicates if empty groups should be hidden (no header and footer are displayed). 903 | 904 | Note how the `meats` category is not displayed in the right `List`: 905 | 906 | ```xmlui {7, 19} 907 | <App> 908 | <HStack gap="$space-2"> 909 | <List 910 | data="{[...]}" 911 | defaultGroups="{['meats']}" 912 | groupBy="category" 913 | hideEmptyGroups="false" 914 | width="$space-48"> 915 | <property name="groupHeaderTemplate"> 916 | <Stack> 917 | <Text variant="subtitle" value="{$group.key}" /> 918 | </Stack> 919 | </property> 920 | </List> 921 | <List 922 | data="{[...]}" 923 | defaultGroups="{['meats']}" 924 | groupBy="category" 925 | hideEmptyGroups="true" 926 | width="$space-48"> 927 | <property name="groupHeaderTemplate"> 928 | <Stack> 929 | <Text variant="subtitle" value="{$group.key}" /> 930 | </Stack> 931 | </property> 932 | </List> 933 | </HStack> 934 | </App> 935 | ``` 936 | 937 | ```xmlui-pg name="Example: hideEmptyGroups" height="400px" 938 | <App> 939 | <HStack gap="$space-2"> 940 | <List data='{[ 941 | { 942 | id: 0, 943 | name: "Apples", 944 | quantity: 5, 945 | unit: "pieces", 946 | category: "fruits", 947 | key: 5, 948 | }, 949 | { 950 | id: 1, 951 | name: "Bananas", 952 | quantity: 6, 953 | unit: "pieces", 954 | category: "fruits", 955 | key: 4, 956 | }, 957 | { 958 | id: 2, 959 | name: "Carrots", 960 | quantity: 100, 961 | unit: "grams", 962 | category: "vegetables", 963 | key: 3, 964 | }, 965 | { 966 | id: 3, 967 | name: "Spinach", 968 | quantity: 1, 969 | unit: "bunch", 970 | category: "vegetables", 971 | key: 2, 972 | }, 973 | { 974 | id: 4, 975 | name: "Milk", 976 | quantity: 10, 977 | unit: "liter", 978 | category: "dairy", 979 | key: 1, 980 | }, 981 | { 982 | id: 5, 983 | name: "Cheese", 984 | quantity: 200, 985 | unit: "grams", 986 | category: "dairy", 987 | key: 0, 988 | }, 989 | ]}' 990 | defaultGroups="{['meats']}" groupBy="category" hideEmptyGroups="false" width="$space-48"> 991 | <property name="groupHeaderTemplate"> 992 | <Stack> 993 | <Text variant="subtitle" value="{$group.key}" /> 994 | </Stack> 995 | </property> 996 | </List> 997 | <List data='{[ 998 | { 999 | id: 0, 1000 | name: "Apples", 1001 | quantity: 5, 1002 | unit: "pieces", 1003 | category: "fruits", 1004 | key: 5, 1005 | }, 1006 | { 1007 | id: 1, 1008 | name: "Bananas", 1009 | quantity: 6, 1010 | unit: "pieces", 1011 | category: "fruits", 1012 | key: 4, 1013 | }, 1014 | { 1015 | id: 2, 1016 | name: "Carrots", 1017 | quantity: 100, 1018 | unit: "grams", 1019 | category: "vegetables", 1020 | key: 3, 1021 | }, 1022 | { 1023 | id: 3, 1024 | name: "Spinach", 1025 | quantity: 1, 1026 | unit: "bunch", 1027 | category: "vegetables", 1028 | key: 2, 1029 | }, 1030 | { 1031 | id: 4, 1032 | name: "Milk", 1033 | quantity: 10, 1034 | unit: "liter", 1035 | category: "dairy", 1036 | key: 1, 1037 | }, 1038 | { 1039 | id: 5, 1040 | name: "Cheese", 1041 | quantity: 200, 1042 | unit: "grams", 1043 | category: "dairy", 1044 | key: 0, 1045 | }, 1046 | ]}' 1047 | defaultGroups="{['meats']}" groupBy="category" hideEmptyGroups="true" width="$space-48"> 1048 | <property name="groupHeaderTemplate"> 1049 | <Stack> 1050 | <Text variant="subtitle" value="{$group.key}" /> 1051 | </Stack> 1052 | </property> 1053 | </List> 1054 | </HStack> 1055 | </App> 1056 | ``` 1057 | 1058 | ### `idKey` (default: "id") [#idkey-default-id] 1059 | 1060 | Denotes which attribute of an item acts as the ID or key of the item 1061 | 1062 | ```xmlui /idKey="key"/ 1063 | <App> 1064 | <List idKey="key" data='{[...]}' /> 1065 | </App> 1066 | ``` 1067 | 1068 | ```xmlui-pg name="Example: idKey" height="400px" 1069 | <App> 1070 | <List idKey="key" data='{[ 1071 | { 1072 | id: 0, 1073 | name: "Apples", 1074 | quantity: 5, 1075 | unit: "pieces", 1076 | category: "fruits", 1077 | key: 5, 1078 | }, 1079 | { 1080 | id: 1, 1081 | name: "Bananas", 1082 | quantity: 6, 1083 | unit: "pieces", 1084 | category: "fruits", 1085 | key: 4, 1086 | }, 1087 | { 1088 | id: 2, 1089 | name: "Carrots", 1090 | quantity: 100, 1091 | unit: "grams", 1092 | category: "vegetables", 1093 | key: 3, 1094 | }, 1095 | { 1096 | id: 3, 1097 | name: "Spinach", 1098 | quantity: 1, 1099 | unit: "bunch", 1100 | category: "vegetables", 1101 | key: 2, 1102 | }, 1103 | { 1104 | id: 4, 1105 | name: "Milk", 1106 | quantity: 10, 1107 | unit: "liter", 1108 | category: "dairy", 1109 | key: 1, 1110 | }, 1111 | { 1112 | id: 5, 1113 | name: "Cheese", 1114 | quantity: 200, 1115 | unit: "grams", 1116 | category: "dairy", 1117 | key: 0, 1118 | }, 1119 | ]}' /> 1120 | </App> 1121 | ``` 1122 | 1123 | ### `itemTemplate` [#itemtemplate] 1124 | 1125 | This property allows the customization of mapping data items to components. You can use the `$item` context variable to access an item and map its individual attributes. 1126 | 1127 | Note how in the example below the `$item` is used to access the `name`, `quantity` and `unit` attributes. 1128 | 1129 | ```xmlui copy {3-14} 1130 | <App> 1131 | <List data='{[...]}'> 1132 | <property name="itemTemplate"> 1133 | <Card> 1134 | <HStack verticalAlignment="center"> 1135 | <Icon name="info" /> 1136 | <Text value="{$item.name}" variant="strong" /> 1137 | </HStack> 1138 | <HStack> 1139 | <Text value="{$item.quantity}" /> 1140 | <Text value="{$item.unit}" variant="em" /> 1141 | </HStack> 1142 | </Card> 1143 | </property> 1144 | </List> 1145 | </App> 1146 | ``` 1147 | 1148 | ```xmlui-pg name="Example: itemTemplate" height="400px" 1149 | <App> 1150 | <List data='{[ 1151 | { 1152 | id: 0, 1153 | name: "Apples", 1154 | quantity: 5, 1155 | unit: "pieces", 1156 | category: "fruits", 1157 | key: 5, 1158 | }, 1159 | { 1160 | id: 1, 1161 | name: "Bananas", 1162 | quantity: 6, 1163 | unit: "pieces", 1164 | category: "fruits", 1165 | key: 4, 1166 | }, 1167 | { 1168 | id: 2, 1169 | name: "Carrots", 1170 | quantity: 100, 1171 | unit: "grams", 1172 | category: "vegetables", 1173 | key: 3, 1174 | }, 1175 | { 1176 | id: 3, 1177 | name: "Spinach", 1178 | quantity: 1, 1179 | unit: "bunch", 1180 | category: "vegetables", 1181 | key: 2, 1182 | }, 1183 | { 1184 | id: 4, 1185 | name: "Milk", 1186 | quantity: 10, 1187 | unit: "liter", 1188 | category: "dairy", 1189 | key: 1, 1190 | }, 1191 | { 1192 | id: 5, 1193 | name: "Cheese", 1194 | quantity: 200, 1195 | unit: "grams", 1196 | category: "dairy", 1197 | key: 0, 1198 | }, 1199 | ]}'> 1200 | <property name="itemTemplate"> 1201 | <Card> 1202 | <HStack verticalAlignment="center"> 1203 | <Icon name="info" /> 1204 | <Text value="{$item.name}" variant="strong" /> 1205 | </HStack> 1206 | <HStack> 1207 | <Text value="{$item.quantity}" /> 1208 | <Text value="{$item.unit}" variant="em" /> 1209 | </HStack> 1210 | </Card> 1211 | </property> 1212 | </List> 1213 | </App> 1214 | ``` 1215 | 1216 | ### `limit` [#limit] 1217 | 1218 | This property limits the number of items displayed in the `List`. If not set, all items are displayed. 1219 | 1220 | ```xmlui /limit="4"/ 1221 | <App> 1222 | <List limit="3" data='{[...]}' /> 1223 | </App> 1224 | ``` 1225 | 1226 | ```xmlui-pg name="Example: limit" height="400px" 1227 | <App> 1228 | <List limit="3" data='{[ 1229 | { 1230 | id: 0, 1231 | name: "Apples", 1232 | quantity: 5, 1233 | unit: "pieces", 1234 | category: "fruits", 1235 | key: 5, 1236 | }, 1237 | { 1238 | id: 1, 1239 | name: "Bananas", 1240 | quantity: 6, 1241 | unit: "pieces", 1242 | category: "fruits", 1243 | key: 4, 1244 | }, 1245 | { 1246 | id: 2, 1247 | name: "Carrots", 1248 | quantity: 100, 1249 | unit: "grams", 1250 | category: "vegetables", 1251 | key: 3, 1252 | }, 1253 | { 1254 | id: 3, 1255 | name: "Spinach", 1256 | quantity: 1, 1257 | unit: "bunch", 1258 | category: "vegetables", 1259 | key: 2, 1260 | }, 1261 | { 1262 | id: 4, 1263 | name: "Milk", 1264 | quantity: 10, 1265 | unit: "liter", 1266 | category: "dairy", 1267 | key: 1, 1268 | }, 1269 | { 1270 | id: 5, 1271 | name: "Cheese", 1272 | quantity: 200, 1273 | unit: "grams", 1274 | category: "dairy", 1275 | key: 0, 1276 | }, 1277 | ]}' /> 1278 | </App> 1279 | ``` 1280 | 1281 | ### `loading` [#loading] 1282 | 1283 | This property delays the rendering of children until it is set to `false`, or the component receives usable list items via the [`data`](#data) property. 1284 | 1285 | ```xmlui-pg copy display name="Example: loading" height="120px" 1286 | <App> 1287 | <List loading="true" /> 1288 | </App> 1289 | ``` 1290 | 1291 | ### `orderBy` [#orderby] 1292 | 1293 | This optioanl property enables the ordering of list items by specifying an attribute in the data. 1294 | 1295 | ```xmlui /orderBy="{{ field: 'quantity', direction: 'desc' }}"/ 1296 | <App> 1297 | <List orderBy="{{ field: 'quantity', direction: 'desc' }}" data='{[...]}' /> 1298 | </App> 1299 | ``` 1300 | 1301 | ```xmlui-pg name="Example: orderBy" height="400px" 1302 | <App> 1303 | <List 1304 | orderBy="{{ field: 'quantity', direction: 'desc' }}" 1305 | data='{[ 1306 | { 1307 | id: 0, 1308 | name: "Apples", 1309 | quantity: 5, 1310 | unit: "pieces", 1311 | category: "fruits", 1312 | key: 5, 1313 | }, 1314 | { 1315 | id: 1, 1316 | name: "Bananas", 1317 | quantity: 6, 1318 | unit: "pieces", 1319 | category: "fruits", 1320 | key: 4, 1321 | }, 1322 | { 1323 | id: 2, 1324 | name: "Carrots", 1325 | quantity: 100, 1326 | unit: "grams", 1327 | category: "vegetables", 1328 | key: 3, 1329 | }, 1330 | { 1331 | id: 3, 1332 | name: "Spinach", 1333 | quantity: 1, 1334 | unit: "bunch", 1335 | category: "vegetables", 1336 | key: 2, 1337 | }, 1338 | { 1339 | id: 4, 1340 | name: "Milk", 1341 | quantity: 10, 1342 | unit: "liter", 1343 | category: "dairy", 1344 | key: 1, 1345 | }, 1346 | { 1347 | id: 5, 1348 | name: "Cheese", 1349 | quantity: 200, 1350 | unit: "grams", 1351 | category: "dairy", 1352 | key: 0, 1353 | }, 1354 | ]}' /> 1355 | </App> 1356 | ``` 1357 | 1358 | ### `pageInfo` [#pageinfo] 1359 | 1360 | This property contains the current page information. Setting this property also enures the `List` uses pagination. 1361 | 1362 | It contains the following boolean attributes: 1363 | 1364 | | Attribute | Description | 1365 | | :------------------- | :------------------------------------| 1366 | | `hasPrevPage` | Does the list have a previous page | 1367 | | `hasNextPage` | Does the list have a next page | 1368 | | `isFetchingPrevPage` | _TBD_ | 1369 | | `isFetchingNextPage` | _TBD_ | 1370 | 1371 | ### `scrollAnchor` (default: "top") [#scrollanchor-default-top] 1372 | 1373 | This property pins the scroll position to a specified location of the list. Available values are shown below. 1374 | 1375 | Available values: `top` **(default)**, `bottom` 1376 | 1377 | ```xmlui /scrollAnchor="bottom"/ 1378 | <App> 1379 | <List scrollAnchor="bottom" data='{[...]}' height="300px" /> 1380 | </App> 1381 | ``` 1382 | 1383 | ```xmlui-pg name="Example: scrollAnchor" height="380px" 1384 | <App> 1385 | <List scrollAnchor="bottom" height="300px" data='{[ 1386 | { 1387 | id: 0, 1388 | name: "Apples", 1389 | quantity: 5, 1390 | unit: "pieces", 1391 | category: "fruits", 1392 | key: 5, 1393 | }, 1394 | { 1395 | id: 1, 1396 | name: "Bananas", 1397 | quantity: 6, 1398 | unit: "pieces", 1399 | category: "fruits", 1400 | key: 4, 1401 | }, 1402 | { 1403 | id: 2, 1404 | name: "Carrots", 1405 | quantity: 100, 1406 | unit: "grams", 1407 | category: "vegetables", 1408 | key: 3, 1409 | }, 1410 | { 1411 | id: 3, 1412 | name: "Spinach", 1413 | quantity: 1, 1414 | unit: "bunch", 1415 | category: "vegetables", 1416 | key: 2, 1417 | }, 1418 | { 1419 | id: 4, 1420 | name: "Milk", 1421 | quantity: 10, 1422 | unit: "liter", 1423 | category: "dairy", 1424 | key: 1, 1425 | }, 1426 | { 1427 | id: 5, 1428 | name: "Cheese", 1429 | quantity: 200, 1430 | unit: "grams", 1431 | category: "dairy", 1432 | key: 0, 1433 | }, 1434 | ]}' /> 1435 | </App> 1436 | ``` 1437 | 1438 | ## Events [#events] 1439 | 1440 | This component does not have any events. 1441 | 1442 | ## Exposed Methods [#exposed-methods] 1443 | 1444 | ### `scrollToBottom` [#scrolltobottom] 1445 | 1446 | This method scrolls the list to the bottom. 1447 | 1448 | **Signature**: `scrollToBottom(): void` 1449 | 1450 | The following example demonstrates `scrollToBottom` and all the other scroll methods: 1451 | 1452 | ```xmlui-pg copy display name="Example: data API Call" height="400px" 1453 | <App layout="condensed-sticky"> 1454 | <AppHeader> 1455 | <HStack> 1456 | <Button onClick="myList.scrollToBottom()">Scroll to Bottom</Button> 1457 | <Button onClick="myList.scrollToTop()">Scroll to Top</Button> 1458 | <Button onClick="myList.scrollToIndex(25)">Scroll to #25</Button> 1459 | <Button onClick="myList.scrollToId('item-40')">Scroll to ID 'item-40'</Button> 1460 | </HStack> 1461 | </AppHeader> 1462 | <List 1463 | id="myList" 1464 | data="{ 1465 | Array.from({ length: 100 }) 1466 | .map((_, i) => ({id: 'item-' + i, value: 'Item #' + i})) 1467 | }"> 1468 | <property name="itemTemplate"> 1469 | <Card> 1470 | <Text value="{$item.value}" /> 1471 | </Card> 1472 | </property> 1473 | </List> 1474 | </App> 1475 | ``` 1476 | 1477 | ### `scrollToId` [#scrolltoid] 1478 | 1479 | This method scrolls the list to a specific item. The method accepts an item ID as a parameter. 1480 | 1481 | **Signature**: `scrollToId(id: string): void` 1482 | 1483 | - `id`: The ID of the item to scroll to. 1484 | 1485 | See the [`scrollToBottom`](#scrolltobottom) example. 1486 | 1487 | ### `scrollToIndex` [#scrolltoindex] 1488 | 1489 | This method scrolls the list to a specific index. The method accepts an index as a parameter. 1490 | 1491 | **Signature**: `scrollToIndex(index: number): void` 1492 | 1493 | - `index`: The index to scroll to. 1494 | 1495 | See the [`scrollToBottom`](#scrolltobottom) example. 1496 | 1497 | ### `scrollToTop` [#scrolltotop] 1498 | 1499 | This method scrolls the list to the top. 1500 | 1501 | **Signature**: `scrollToTop(): void` 1502 | 1503 | See the [`scrollToBottom`](#scrolltobottom) example. 1504 | 1505 | ## Styling [#styling] 1506 | 1507 | `List` is a layout container; its purpose is to render nested child components. 1508 | `List` has no theme variables to change its visual appearance. 1509 | ```