@motifx-community/ui 0.1.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2494 -0
- package/LICENSE +21 -0
- package/README.md +143 -0
- package/dist/components/accordion/Accordion.d.ts +103 -0
- package/dist/components/accordion/AccordionItem.d.ts +68 -0
- package/dist/components/accordion/accordion-chevron.d.ts +2 -0
- package/dist/components/accordion/accordion-expanded-event-args.d.ts +9 -0
- package/dist/components/accordion/accordion-expanding-event-args.d.ts +10 -0
- package/dist/components/accordion/accordion-item-props.d.ts +25 -0
- package/dist/components/accordion/accordion-props.d.ts +41 -0
- package/dist/components/accordion/accordion-variant.d.ts +2 -0
- package/dist/components/accordion/index.d.ts +8 -0
- package/dist/components/actionsheet/ActionSheet.d.ts +61 -0
- package/dist/components/actionsheet/action-sheet-props.d.ts +17 -0
- package/dist/components/actionsheet/index.d.ts +2 -0
- package/dist/components/appbar/AppBar.d.ts +94 -0
- package/dist/components/appbar/app-bar-navigation-click-event-args.d.ts +9 -0
- package/dist/components/appbar/app-bar-navigation.d.ts +2 -0
- package/dist/components/appbar/app-bar-position.d.ts +2 -0
- package/dist/components/appbar/app-bar-props.d.ts +49 -0
- package/dist/components/appbar/app-bar-scroll-behavior.d.ts +2 -0
- package/dist/components/appbar/app-bar-title-align.d.ts +2 -0
- package/dist/components/appbar/app-bar-tone.d.ts +2 -0
- package/dist/components/appbar/index.d.ts +8 -0
- package/dist/components/appmenu/AppMenu.d.ts +204 -0
- package/dist/components/appmenu/app-menu-item-click-event-args.d.ts +11 -0
- package/dist/components/appmenu/app-menu-item.d.ts +46 -0
- package/dist/components/appmenu/app-menu-items-changed-event-args.d.ts +7 -0
- package/dist/components/appmenu/app-menu-props.d.ts +38 -0
- package/dist/components/appmenu/app-menu-search-text-changed-event-args.d.ts +5 -0
- package/dist/components/appmenu/app-menu-selecting-event-args.d.ts +5 -0
- package/dist/components/appmenu/app-menu-selection-changed-event-args.d.ts +13 -0
- package/dist/components/appmenu/index.d.ts +8 -0
- package/dist/components/avatar/Avatar.d.ts +56 -0
- package/dist/components/avatar/AvatarGroup.d.ts +57 -0
- package/dist/components/avatar/avatar-group-layout.d.ts +2 -0
- package/dist/components/avatar/avatar-group-props.d.ts +17 -0
- package/dist/components/avatar/avatar-props.d.ts +28 -0
- package/dist/components/avatar/avatar-shape.d.ts +2 -0
- package/dist/components/avatar/avatar-size.d.ts +2 -0
- package/dist/components/avatar/avatar-status.d.ts +2 -0
- package/dist/components/avatar/avatar-tone.d.ts +2 -0
- package/dist/components/avatar/index.d.ts +11 -0
- package/dist/components/avatar/initials-of.d.ts +6 -0
- package/dist/components/avatar/tone-of-name.d.ts +3 -0
- package/dist/components/badge/Badge.d.ts +59 -0
- package/dist/components/badge/badge-position.d.ts +2 -0
- package/dist/components/badge/badge-props.d.ts +27 -0
- package/dist/components/badge/badge-tone.d.ts +2 -0
- package/dist/components/badge/badge-variant.d.ts +2 -0
- package/dist/components/badge/index.d.ts +5 -0
- package/dist/components/barcode/Barcode.d.ts +68 -0
- package/dist/components/barcode/barcode-export-options.d.ts +9 -0
- package/dist/components/barcode/barcode-failed-event-args.d.ts +9 -0
- package/dist/components/barcode/barcode-props.d.ts +25 -0
- package/dist/components/barcode/index.d.ts +5 -0
- package/dist/components/bargauge/BarGauge.d.ts +133 -0
- package/dist/components/bargauge/bar-gauge-props.d.ts +38 -0
- package/dist/components/bargauge/index.d.ts +2 -0
- package/dist/components/bottomnavigation/BottomNavigation.d.ts +133 -0
- package/dist/components/bottomnavigation/bottom-navigation-item-click-event-args.d.ts +9 -0
- package/dist/components/bottomnavigation/bottom-navigation-item.d.ts +35 -0
- package/dist/components/bottomnavigation/bottom-navigation-label-mode.d.ts +2 -0
- package/dist/components/bottomnavigation/bottom-navigation-position.d.ts +2 -0
- package/dist/components/bottomnavigation/bottom-navigation-props.d.ts +31 -0
- package/dist/components/bottomnavigation/bottom-navigation-selecting-event-args.d.ts +5 -0
- package/dist/components/bottomnavigation/bottom-navigation-selection-changed-event-args.d.ts +11 -0
- package/dist/components/bottomnavigation/index.d.ts +8 -0
- package/dist/components/breadcrumb/Breadcrumb.d.ts +60 -0
- package/dist/components/breadcrumb/breadcrumb-item-click-event-args.d.ts +10 -0
- package/dist/components/breadcrumb/breadcrumb-item.d.ts +13 -0
- package/dist/components/breadcrumb/breadcrumb-props.d.ts +24 -0
- package/dist/components/breadcrumb/index.d.ts +4 -0
- package/dist/components/button/Button.d.ts +143 -0
- package/dist/components/button/button-props.d.ts +49 -0
- package/dist/components/button/button-size.d.ts +3 -0
- package/dist/components/button/button-tone.d.ts +2 -0
- package/dist/components/button/button-variant.d.ts +2 -0
- package/dist/components/button/menu-item-of.d.ts +4 -0
- package/dist/components/buttongroup/ButtonGroup.d.ts +80 -0
- package/dist/components/buttongroup/button-group-item-click-event-args.d.ts +8 -0
- package/dist/components/buttongroup/button-group-item.d.ts +15 -0
- package/dist/components/buttongroup/button-group-props.d.ts +48 -0
- package/dist/components/buttongroup/button-group-selection.d.ts +2 -0
- package/dist/components/buttongroup/button-group-value-changed-event-args.d.ts +8 -0
- package/dist/components/buttongroup/index.d.ts +6 -0
- package/dist/components/calendar/Calendar.d.ts +90 -0
- package/dist/components/calendar/calendar-props.d.ts +33 -0
- package/dist/components/calendar/calendar-view.d.ts +2 -0
- package/dist/components/calendar/index.d.ts +3 -0
- package/dist/components/card/Card.d.ts +102 -0
- package/dist/components/card/card-orientation.d.ts +2 -0
- package/dist/components/card/card-props.d.ts +44 -0
- package/dist/components/card/card-selected-changed-event-args.d.ts +7 -0
- package/dist/components/card/card-variant.d.ts +2 -0
- package/dist/components/card/index.d.ts +5 -0
- package/dist/components/chart/Chart.d.ts +242 -0
- package/dist/components/chart/ChartLegend.d.ts +27 -0
- package/dist/components/chart/ChartPlot.d.ts +170 -0
- package/dist/components/chart/ChartTable.d.ts +67 -0
- package/dist/components/chart/ChartTooltip.d.ts +41 -0
- package/dist/components/chart/PartsPlot.d.ts +51 -0
- package/dist/components/chart/RadarPlot.d.ts +48 -0
- package/dist/components/chart/chart-axis-kind.d.ts +2 -0
- package/dist/components/chart/chart-axis.d.ts +31 -0
- package/dist/components/chart/chart-data-error-event-args.d.ts +7 -0
- package/dist/components/chart/chart-export-options.d.ts +7 -0
- package/dist/components/chart/chart-export.d.ts +12 -0
- package/dist/components/chart/chart-field.d.ts +2 -0
- package/dist/components/chart/chart-labels.d.ts +2 -0
- package/dist/components/chart/chart-legend-options.d.ts +10 -0
- package/dist/components/chart/chart-legend-position.d.ts +2 -0
- package/dist/components/chart/chart-look.d.ts +27 -0
- package/dist/components/chart/chart-mode-changed-event-args.d.ts +7 -0
- package/dist/components/chart/chart-mode.d.ts +2 -0
- package/dist/components/chart/chart-model.d.ts +105 -0
- package/dist/components/chart/chart-point-event-args.d.ts +9 -0
- package/dist/components/chart/chart-point-selection.d.ts +2 -0
- package/dist/components/chart/chart-point.d.ts +23 -0
- package/dist/components/chart/chart-props.d.ts +76 -0
- package/dist/components/chart/chart-reference.d.ts +12 -0
- package/dist/components/chart/chart-selection-changed-event-args.d.ts +8 -0
- package/dist/components/chart/chart-series-toggled-event-args.d.ts +10 -0
- package/dist/components/chart/chart-series-type.d.ts +6 -0
- package/dist/components/chart/chart-series.d.ts +55 -0
- package/dist/components/chart/chart-stacked.d.ts +2 -0
- package/dist/components/chart/chart-tooltip-context.d.ts +10 -0
- package/dist/components/chart/chart-tooltip-options.d.ts +11 -0
- package/dist/components/chart/chart-zoom-changed-event-args.d.ts +8 -0
- package/dist/components/chart/index.d.ts +21 -0
- package/dist/components/chart/legend-entry.d.ts +13 -0
- package/dist/components/chart/plot-room.d.ts +9 -0
- package/dist/components/chart/plot-text.d.ts +10 -0
- package/dist/components/chart/plot-view.d.ts +71 -0
- package/dist/components/chart/text-parts.d.ts +12 -0
- package/dist/components/checkbox/CheckBox.d.ts +34 -0
- package/dist/components/checkbox/ToggleField.d.ts +27 -0
- package/dist/components/checkbox/check-box-props.d.ts +10 -0
- package/dist/components/checkbox/index.d.ts +5 -0
- package/dist/components/checkbox/label-position.d.ts +2 -0
- package/dist/components/checkbox/toggle-field-props.d.ts +10 -0
- package/dist/components/chip/Chip.d.ts +95 -0
- package/dist/components/chip/ChipGroup.d.ts +58 -0
- package/dist/components/chip/chip-group-props.d.ts +16 -0
- package/dist/components/chip/chip-group-selection.d.ts +2 -0
- package/dist/components/chip/chip-group-value-changed-event-args.d.ts +8 -0
- package/dist/components/chip/chip-props.d.ts +34 -0
- package/dist/components/chip/chip-remove-event-args.d.ts +10 -0
- package/dist/components/chip/chip-selected-changed-event-args.d.ts +7 -0
- package/dist/components/chip/chip-tone.d.ts +2 -0
- package/dist/components/chip/chip-variant.d.ts +2 -0
- package/dist/components/chip/index.d.ts +10 -0
- package/dist/components/colorbox/ColorBox.d.ts +57 -0
- package/dist/components/colorbox/color-box-apply.d.ts +2 -0
- package/dist/components/colorbox/color-box-props.d.ts +21 -0
- package/dist/components/colorbox/index.d.ts +3 -0
- package/dist/components/colorpicker/ColorPicker.d.ts +69 -0
- package/dist/components/colorpicker/color-changed-event-args.d.ts +8 -0
- package/dist/components/colorpicker/color-picker-props.d.ts +20 -0
- package/dist/components/colorpicker/index.d.ts +4 -0
- package/dist/components/combobox/Autocomplete.d.ts +17 -0
- package/dist/components/combobox/ComboBox.d.ts +107 -0
- package/dist/components/combobox/combo-box-props.d.ts +40 -0
- package/dist/components/combobox/index.d.ts +3 -0
- package/dist/components/contextmenu/ContextMenu.d.ts +105 -0
- package/dist/components/contextmenu/attach-context-menu.d.ts +12 -0
- package/dist/components/contextmenu/context-menu-opening-event-args.d.ts +20 -0
- package/dist/components/contextmenu/context-menu-presentation.d.ts +5 -0
- package/dist/components/contextmenu/context-menu-props.d.ts +36 -0
- package/dist/components/contextmenu/context-menu-target.d.ts +3 -0
- package/dist/components/contextmenu/index.d.ts +6 -0
- package/dist/components/datagrid/DataGrid.d.ts +1365 -0
- package/dist/components/datagrid/band-cell-context.d.ts +7 -0
- package/dist/components/datagrid/band-layout.d.ts +7 -0
- package/dist/components/datagrid/built-in-action.d.ts +3 -0
- package/dist/components/datagrid/cell-context.d.ts +14 -0
- package/dist/components/datagrid/column-features.d.ts +88 -0
- package/dist/components/datagrid/column-filter.d.ts +20 -0
- package/dist/components/datagrid/column-layout.d.ts +10 -0
- package/dist/components/datagrid/column-option-name.d.ts +7 -0
- package/dist/components/datagrid/column-resize-mode.d.ts +2 -0
- package/dist/components/datagrid/column-type.d.ts +5 -0
- package/dist/components/datagrid/data-grid-props.d.ts +410 -0
- package/dist/components/datagrid/detail-context.d.ts +16 -0
- package/dist/components/datagrid/editor-context.d.ts +26 -0
- package/dist/components/datagrid/filter-editor-context.d.ts +22 -0
- package/dist/components/datagrid/grid-action-item.d.ts +4 -0
- package/dist/components/datagrid/grid-action-location.d.ts +2 -0
- package/dist/components/datagrid/grid-action-ran-event-args.d.ts +17 -0
- package/dist/components/datagrid/grid-action-run.d.ts +10 -0
- package/dist/components/datagrid/grid-action-running-event-args.d.ts +13 -0
- package/dist/components/datagrid/grid-action.d.ts +65 -0
- package/dist/components/datagrid/grid-adaptive-detail-row-preparing-event-args.d.ts +14 -0
- package/dist/components/datagrid/grid-adaptive-detail.d.ts +31 -0
- package/dist/components/datagrid/grid-adaptive-form-options.d.ts +13 -0
- package/dist/components/datagrid/grid-adaptive-row-expanded-event-args.d.ts +7 -0
- package/dist/components/datagrid/grid-adaptive-row-expanding-event-args.d.ts +8 -0
- package/dist/components/datagrid/grid-band.d.ts +44 -0
- package/dist/components/datagrid/grid-bar-action.d.ts +14 -0
- package/dist/components/datagrid/grid-built-in-actions.d.ts +14 -0
- package/dist/components/datagrid/grid-cell-click-event-args.d.ts +19 -0
- package/dist/components/datagrid/grid-cell-extend-keys.d.ts +22 -0
- package/dist/components/datagrid/grid-cell-point.d.ts +10 -0
- package/dist/components/datagrid/grid-cell-prepared-event-args.d.ts +16 -0
- package/dist/components/datagrid/grid-cell-range.d.ts +11 -0
- package/dist/components/datagrid/grid-cell-selection-changed-event-args.d.ts +7 -0
- package/dist/components/datagrid/grid-cell-selection-changing-event-args.d.ts +9 -0
- package/dist/components/datagrid/grid-cell-summary-item.d.ts +2 -0
- package/dist/components/datagrid/grid-cell-summary.d.ts +14 -0
- package/dist/components/datagrid/grid-cell-value.d.ts +9 -0
- package/dist/components/datagrid/grid-changes.d.ts +10 -0
- package/dist/components/datagrid/grid-column-form-item.d.ts +16 -0
- package/dist/components/datagrid/grid-column-item.d.ts +4 -0
- package/dist/components/datagrid/grid-column.d.ts +228 -0
- package/dist/components/datagrid/grid-content-ready-event-args.d.ts +5 -0
- package/dist/components/datagrid/grid-context-menu-preparing-event-args.d.ts +15 -0
- package/dist/components/datagrid/grid-copying-event-args.d.ts +13 -0
- package/dist/components/datagrid/grid-custom-summary-info.d.ts +17 -0
- package/dist/components/datagrid/grid-data-error-event-args.d.ts +8 -0
- package/dist/components/datagrid/grid-date-interval.d.ts +2 -0
- package/dist/components/datagrid/grid-edit-canceled-event-args.d.ts +4 -0
- package/dist/components/datagrid/grid-edit-canceling-event-args.d.ts +9 -0
- package/dist/components/datagrid/grid-edit-form.d.ts +22 -0
- package/dist/components/datagrid/grid-edit-popup.d.ts +22 -0
- package/dist/components/datagrid/grid-editing-cell.d.ts +6 -0
- package/dist/components/datagrid/grid-editing-start-event-args.d.ts +14 -0
- package/dist/components/datagrid/grid-editor-prepared-event-args.d.ts +18 -0
- package/dist/components/datagrid/grid-editor-preparing-event-args.d.ts +22 -0
- package/dist/components/datagrid/grid-export-cell.d.ts +25 -0
- package/dist/components/datagrid/grid-export-options.d.ts +42 -0
- package/dist/components/datagrid/grid-export-settings.d.ts +19 -0
- package/dist/components/datagrid/grid-export-texts.d.ts +11 -0
- package/dist/components/datagrid/grid-exported-event-args.d.ts +8 -0
- package/dist/components/datagrid/grid-exporting-event-args.d.ts +17 -0
- package/dist/components/datagrid/grid-filter-builder-closed-event-args.d.ts +6 -0
- package/dist/components/datagrid/grid-filter-builder-closing-event-args.d.ts +13 -0
- package/dist/components/datagrid/grid-filter-builder-opened-event-args.d.ts +7 -0
- package/dist/components/datagrid/grid-filter-builder-opening-event-args.d.ts +6 -0
- package/dist/components/datagrid/grid-filter-builder-options.d.ts +7 -0
- package/dist/components/datagrid/grid-filter-builder-popup.d.ts +22 -0
- package/dist/components/datagrid/grid-filter-changed-event-args.d.ts +12 -0
- package/dist/components/datagrid/grid-filter-changing-event-args.d.ts +15 -0
- package/dist/components/datagrid/grid-filter-operator.d.ts +2 -0
- package/dist/components/datagrid/grid-filter-panel-text-info.d.ts +6 -0
- package/dist/components/datagrid/grid-filter-value.d.ts +9 -0
- package/dist/components/datagrid/grid-filters.d.ts +3 -0
- package/dist/components/datagrid/grid-focused-cell-changed-event-args.d.ts +6 -0
- package/dist/components/datagrid/grid-focused-cell-changing-event-args.d.ts +13 -0
- package/dist/components/datagrid/grid-focused-row-changed-event-args.d.ts +7 -0
- package/dist/components/datagrid/grid-focused-row-changing-event-args.d.ts +7 -0
- package/dist/components/datagrid/grid-group-dropping-event-args.d.ts +11 -0
- package/dist/components/datagrid/grid-group-summary-item.d.ts +16 -0
- package/dist/components/datagrid/grid-grouping-changed-event-args.d.ts +7 -0
- package/dist/components/datagrid/grid-grouping-changing-event-args.d.ts +10 -0
- package/dist/components/datagrid/grid-header-filter-interval.d.ts +7 -0
- package/dist/components/datagrid/grid-header-filter-items-request.d.ts +12 -0
- package/dist/components/datagrid/grid-header-filter-items.d.ts +7 -0
- package/dist/components/datagrid/grid-init-new-row-event-args.d.ts +9 -0
- package/dist/components/datagrid/grid-key-handling-event-args.d.ts +11 -0
- package/dist/components/datagrid/grid-layout-changing-event-args.d.ts +7 -0
- package/dist/components/datagrid/grid-layout.d.ts +19 -0
- package/dist/components/datagrid/grid-load-panel.d.ts +11 -0
- package/dist/components/datagrid/grid-lookup.d.ts +57 -0
- package/dist/components/datagrid/grid-master-detail.d.ts +53 -0
- package/dist/components/datagrid/grid-mode.d.ts +2 -0
- package/dist/components/datagrid/grid-more-rows-loaded-event-args.d.ts +6 -0
- package/dist/components/datagrid/grid-more-rows-loading-event-args.d.ts +9 -0
- package/dist/components/datagrid/grid-option-changed-event-args.d.ts +14 -0
- package/dist/components/datagrid/grid-page-changed-event-args.d.ts +5 -0
- package/dist/components/datagrid/grid-page-changing-event-args.d.ts +6 -0
- package/dist/components/datagrid/grid-page-size-changed-event-args.d.ts +5 -0
- package/dist/components/datagrid/grid-page-size-changing-event-args.d.ts +6 -0
- package/dist/components/datagrid/grid-pasting-event-args.d.ts +7 -0
- package/dist/components/datagrid/grid-row-click-event-args.d.ts +16 -0
- package/dist/components/datagrid/grid-row-drag-event-args.d.ts +40 -0
- package/dist/components/datagrid/grid-row-dragging.d.ts +76 -0
- package/dist/components/datagrid/grid-row-drop-event-args.d.ts +9 -0
- package/dist/components/datagrid/grid-row-expanded-event-args.d.ts +13 -0
- package/dist/components/datagrid/grid-row-expanding-event-args.d.ts +15 -0
- package/dist/components/datagrid/grid-row-extend-keys.d.ts +10 -0
- package/dist/components/datagrid/grid-row-inserted-event-args.d.ts +6 -0
- package/dist/components/datagrid/grid-row-inserting-event-args.d.ts +7 -0
- package/dist/components/datagrid/grid-row-prepared-event-args.d.ts +16 -0
- package/dist/components/datagrid/grid-row-removed-event-args.d.ts +5 -0
- package/dist/components/datagrid/grid-row-removing-event-args.d.ts +6 -0
- package/dist/components/datagrid/grid-row-type.d.ts +5 -0
- package/dist/components/datagrid/grid-row-updated-event-args.d.ts +7 -0
- package/dist/components/datagrid/grid-row-updating-event-args.d.ts +12 -0
- package/dist/components/datagrid/grid-row-validating-event-args.d.ts +22 -0
- package/dist/components/datagrid/grid-saved-event-args.d.ts +7 -0
- package/dist/components/datagrid/grid-saving-event-args.d.ts +11 -0
- package/dist/components/datagrid/grid-search-text-changed-event-args.d.ts +4 -0
- package/dist/components/datagrid/grid-search-text-changing-event-args.d.ts +6 -0
- package/dist/components/datagrid/grid-selection-changed-event-args.d.ts +7 -0
- package/dist/components/datagrid/grid-selection-changing-event-args.d.ts +9 -0
- package/dist/components/datagrid/grid-selection.d.ts +16 -0
- package/dist/components/datagrid/grid-settings-props.d.ts +6 -0
- package/dist/components/datagrid/grid-settings.d.ts +447 -0
- package/dist/components/datagrid/grid-sheet-cell.d.ts +9 -0
- package/dist/components/datagrid/grid-sheet-column.d.ts +14 -0
- package/dist/components/datagrid/grid-sheet-merge.d.ts +9 -0
- package/dist/components/datagrid/grid-sheet-options.d.ts +24 -0
- package/dist/components/datagrid/grid-sheet-row.d.ts +8 -0
- package/dist/components/datagrid/grid-sheet.d.ts +26 -0
- package/dist/components/datagrid/grid-sort-changed-event-args.d.ts +7 -0
- package/dist/components/datagrid/grid-sort-changing-event-args.d.ts +9 -0
- package/dist/components/datagrid/grid-state-value.d.ts +19 -0
- package/dist/components/datagrid/grid-summary-changed-event-args.d.ts +7 -0
- package/dist/components/datagrid/grid-summary-item.d.ts +43 -0
- package/dist/components/datagrid/grid-summary-text-info.d.ts +7 -0
- package/dist/components/datagrid/grid-summary-texts.d.ts +16 -0
- package/dist/components/datagrid/grid-summary-type.d.ts +2 -0
- package/dist/components/datagrid/grid-summary-value.d.ts +10 -0
- package/dist/components/datagrid/grid-summary.d.ts +31 -0
- package/dist/components/datagrid/grid-toolbar-item-click-event-args.d.ts +9 -0
- package/dist/components/datagrid/grid-toolbar-item-name.d.ts +6 -0
- package/dist/components/datagrid/grid-toolbar-item.d.ts +43 -0
- package/dist/components/datagrid/grid-toolbar-preparing-event-args.d.ts +9 -0
- package/dist/components/datagrid/grid-toolbar.d.ts +14 -0
- package/dist/components/datagrid/grid-validation-callback-args.d.ts +16 -0
- package/dist/components/datagrid/grid-validation-rule.d.ts +77 -0
- package/dist/components/datagrid/grid-values-request.d.ts +13 -0
- package/dist/components/datagrid/grid-values-result.d.ts +6 -0
- package/dist/components/datagrid/grid-visible-row.d.ts +14 -0
- package/dist/components/datagrid/group-cell-context.d.ts +22 -0
- package/dist/components/datagrid/header-cell-context.d.ts +9 -0
- package/dist/components/datagrid/index.d.ts +162 -0
- package/dist/components/datagrid/layout-storage.d.ts +6 -0
- package/dist/components/datagrid/list-option.d.ts +5 -0
- package/dist/components/datagrid/model/ActionRunner.d.ts +28 -0
- package/dist/components/datagrid/model/ActionSets.d.ts +64 -0
- package/dist/components/datagrid/model/AdaptiveRow.d.ts +24 -0
- package/dist/components/datagrid/model/CellFormatter.d.ts +52 -0
- package/dist/components/datagrid/model/CellRanges.d.ts +88 -0
- package/dist/components/datagrid/model/CellRules.d.ts +34 -0
- package/dist/components/datagrid/model/ChoiceListAdapter.d.ts +23 -0
- package/dist/components/datagrid/model/ColumnModel.d.ts +251 -0
- package/dist/components/datagrid/model/ColumnWindow.d.ts +32 -0
- package/dist/components/datagrid/model/DetailRows.d.ts +42 -0
- package/dist/components/datagrid/model/ExtraHeights.d.ts +33 -0
- package/dist/components/datagrid/model/FilterModel.d.ts +113 -0
- package/dist/components/datagrid/model/FilterValues.d.ts +47 -0
- package/dist/components/datagrid/model/GridClipboard.d.ts +42 -0
- package/dist/components/datagrid/model/GridData.d.ts +212 -0
- package/dist/components/datagrid/model/GridEvents.d.ts +157 -0
- package/dist/components/datagrid/model/GridExport.d.ts +70 -0
- package/dist/components/datagrid/model/GridGroups.d.ts +66 -0
- package/dist/components/datagrid/model/GridModel.d.ts +482 -0
- package/dist/components/datagrid/model/GridNotices.d.ts +22 -0
- package/dist/components/datagrid/model/GridRowsAdapter.d.ts +19 -0
- package/dist/components/datagrid/model/GridSearch.d.ts +68 -0
- package/dist/components/datagrid/model/GridSummaries.d.ts +91 -0
- package/dist/components/datagrid/model/GroupView.d.ts +40 -0
- package/dist/components/datagrid/model/LayoutStore.d.ts +16 -0
- package/dist/components/datagrid/model/ListChoices.d.ts +28 -0
- package/dist/components/datagrid/model/LiveOptions.d.ts +15 -0
- package/dist/components/datagrid/model/LookupTexts.d.ts +79 -0
- package/dist/components/datagrid/model/LookupValues.d.ts +23 -0
- package/dist/components/datagrid/model/RowDragOptions.d.ts +28 -0
- package/dist/components/datagrid/model/RowSelection.d.ts +86 -0
- package/dist/components/datagrid/model/ScrollGeometry.d.ts +84 -0
- package/dist/components/datagrid/model/Switches.d.ts +36 -0
- package/dist/components/datagrid/model/ValueIntervals.d.ts +30 -0
- package/dist/components/datagrid/model/ValueListAdapter.d.ts +17 -0
- package/dist/components/datagrid/model/action-entry.d.ts +22 -0
- package/dist/components/datagrid/model/action-target.d.ts +16 -0
- package/dist/components/datagrid/model/adaptive-detail-values.d.ts +11 -0
- package/dist/components/datagrid/model/added-row.d.ts +6 -0
- package/dist/components/datagrid/model/adjustment.d.ts +10 -0
- package/dist/components/datagrid/model/band-node.d.ts +8 -0
- package/dist/components/datagrid/model/builder-fields.d.ts +10 -0
- package/dist/components/datagrid/model/cell-corner.d.ts +8 -0
- package/dist/components/datagrid/model/cell-list.d.ts +10 -0
- package/dist/components/datagrid/model/cell-range-entry.d.ts +7 -0
- package/dist/components/datagrid/model/cell-value.d.ts +3 -0
- package/dist/components/datagrid/model/clipboard-content.d.ts +11 -0
- package/dist/components/datagrid/model/column-feature-names.d.ts +2 -0
- package/dist/components/datagrid/model/column-zone.d.ts +3 -0
- package/dist/components/datagrid/model/data-state.d.ts +11 -0
- package/dist/components/datagrid/model/date-like.d.ts +5 -0
- package/dist/components/datagrid/model/date-type.d.ts +3 -0
- package/dist/components/datagrid/model/day-condition.d.ts +10 -0
- package/dist/components/datagrid/model/default-settings.d.ts +2 -0
- package/dist/components/datagrid/model/delimited-text.d.ts +4 -0
- package/dist/components/datagrid/model/export-table.d.ts +20 -0
- package/dist/components/datagrid/model/filter-tree-node.d.ts +11 -0
- package/dist/components/datagrid/model/filter-value-state.d.ts +8 -0
- package/dist/components/datagrid/model/formula-guard.d.ts +2 -0
- package/dist/components/datagrid/model/grid-data-options.d.ts +42 -0
- package/dist/components/datagrid/model/grid-state.d.ts +41 -0
- package/dist/components/datagrid/model/group-item-entry.d.ts +11 -0
- package/dist/components/datagrid/model/group-level.d.ts +12 -0
- package/dist/components/datagrid/model/group-node.d.ts +21 -0
- package/dist/components/datagrid/model/group-nodes.d.ts +7 -0
- package/dist/components/datagrid/model/html-table.d.ts +2 -0
- package/dist/components/datagrid/model/list-separator.d.ts +2 -0
- package/dist/components/datagrid/model/lookup-cell.d.ts +7 -0
- package/dist/components/datagrid/model/master-detail-values.d.ts +16 -0
- package/dist/components/datagrid/model/nothing-entered.d.ts +3 -0
- package/dist/components/datagrid/model/option-of.d.ts +6 -0
- package/dist/components/datagrid/model/parse-date-text.d.ts +6 -0
- package/dist/components/datagrid/model/paste-result.d.ts +9 -0
- package/dist/components/datagrid/model/placed-item.d.ts +19 -0
- package/dist/components/datagrid/model/range-box.d.ts +8 -0
- package/dist/components/datagrid/model/range-look.d.ts +18 -0
- package/dist/components/datagrid/model/read-field.d.ts +5 -0
- package/dist/components/datagrid/model/row-dragging-values.d.ts +25 -0
- package/dist/components/datagrid/model/row-run.d.ts +2 -0
- package/dist/components/datagrid/model/row-status.d.ts +2 -0
- package/dist/components/datagrid/model/rows-sorting.d.ts +9 -0
- package/dist/components/datagrid/model/run-panel.d.ts +7 -0
- package/dist/components/datagrid/model/same-value.d.ts +2 -0
- package/dist/components/datagrid/model/sticky-offset.d.ts +8 -0
- package/dist/components/datagrid/model/stored-layout.d.ts +15 -0
- package/dist/components/datagrid/model/summary-part.d.ts +7 -0
- package/dist/components/datagrid/model/text-ranges.d.ts +6 -0
- package/dist/components/datagrid/model/value-list.d.ts +12 -0
- package/dist/components/datagrid/model/value-loader.d.ts +8 -0
- package/dist/components/datagrid/new-row-options.d.ts +8 -0
- package/dist/components/datagrid/row-change.d.ts +7 -0
- package/dist/components/datagrid/row-state.d.ts +17 -0
- package/dist/components/datagrid/selection-mode.d.ts +2 -0
- package/dist/components/datagrid/sticky-side.d.ts +2 -0
- package/dist/components/datagrid/view/ActionWidths.d.ts +35 -0
- package/dist/components/datagrid/view/AdaptiveForm.d.ts +38 -0
- package/dist/components/datagrid/view/BandRows.d.ts +41 -0
- package/dist/components/datagrid/view/BarButtons.d.ts +53 -0
- package/dist/components/datagrid/view/CellEditor.d.ts +92 -0
- package/dist/components/datagrid/view/CellTip.d.ts +36 -0
- package/dist/components/datagrid/view/ColumnMenu.d.ts +61 -0
- package/dist/components/datagrid/view/ColumnStyles.d.ts +32 -0
- package/dist/components/datagrid/view/DetailRow.d.ts +61 -0
- package/dist/components/datagrid/view/DragSelect.d.ts +62 -0
- package/dist/components/datagrid/view/EditForm.d.ts +63 -0
- package/dist/components/datagrid/view/FilterBuilderWindow.d.ts +26 -0
- package/dist/components/datagrid/view/FilterCell.d.ts +65 -0
- package/dist/components/datagrid/view/FilterPanel.d.ts +21 -0
- package/dist/components/datagrid/view/FilterRow.d.ts +33 -0
- package/dist/components/datagrid/view/GridBody.d.ts +273 -0
- package/dist/components/datagrid/view/GridPager.d.ts +78 -0
- package/dist/components/datagrid/view/GridRow.d.ts +110 -0
- package/dist/components/datagrid/view/GridToolbar.d.ts +80 -0
- package/dist/components/datagrid/view/GroupFooterRow.d.ts +38 -0
- package/dist/components/datagrid/view/GroupPanel.d.ts +59 -0
- package/dist/components/datagrid/view/GroupRow.d.ts +69 -0
- package/dist/components/datagrid/view/HeaderFilter.d.ts +56 -0
- package/dist/components/datagrid/view/HeaderRow.d.ts +87 -0
- package/dist/components/datagrid/view/MenuPopup.d.ts +20 -0
- package/dist/components/datagrid/view/RowActions.d.ts +38 -0
- package/dist/components/datagrid/view/RowDrag.d.ts +93 -0
- package/dist/components/datagrid/view/TotalRow.d.ts +30 -0
- package/dist/components/datagrid/view/action-button.d.ts +16 -0
- package/dist/components/datagrid/view/adaptive-form-host.d.ts +8 -0
- package/dist/components/datagrid/view/cell-tip-target.d.ts +11 -0
- package/dist/components/datagrid/view/check-mark.d.ts +5 -0
- package/dist/components/datagrid/view/column-fit.d.ts +9 -0
- package/dist/components/datagrid/view/column-node.d.ts +7 -0
- package/dist/components/datagrid/view/detail-host.d.ts +12 -0
- package/dist/components/datagrid/view/drag-handle.d.ts +3 -0
- package/dist/components/datagrid/view/drag-select-host.d.ts +20 -0
- package/dist/components/datagrid/view/drop-place.d.ts +16 -0
- package/dist/components/datagrid/view/edit-form-host.d.ts +11 -0
- package/dist/components/datagrid/view/editor-host.d.ts +7 -0
- package/dist/components/datagrid/view/editor-kind.d.ts +2 -0
- package/dist/components/datagrid/view/editor-value.d.ts +8 -0
- package/dist/components/datagrid/view/expand-button.d.ts +5 -0
- package/dist/components/datagrid/view/export-command.d.ts +8 -0
- package/dist/components/datagrid/view/export-values.d.ts +7 -0
- package/dist/components/datagrid/view/filter-builder-window-host.d.ts +15 -0
- package/dist/components/datagrid/view/filter-panel-host.d.ts +8 -0
- package/dist/components/datagrid/view/form-values.d.ts +9 -0
- package/dist/components/datagrid/view/ghost-target.d.ts +2 -0
- package/dist/components/datagrid/view/group-drop.d.ts +7 -0
- package/dist/components/datagrid/view/group-panel-host.d.ts +18 -0
- package/dist/components/datagrid/view/header-host.d.ts +25 -0
- package/dist/components/datagrid/view/operator-texts.d.ts +6 -0
- package/dist/components/datagrid/view/pager-host.d.ts +11 -0
- package/dist/components/datagrid/view/popup-values.d.ts +12 -0
- package/dist/components/datagrid/view/resolved-action.d.ts +16 -0
- package/dist/components/datagrid/view/row-drag-host.d.ts +16 -0
- package/dist/components/datagrid/view/row-drop-place.d.ts +15 -0
- package/dist/components/datagrid/view/row-notices.d.ts +14 -0
- package/dist/components/datagrid/view/summary-cell.d.ts +10 -0
- package/dist/components/datagrid/view/toolbar-host.d.ts +33 -0
- package/dist/components/datagrid/view/toolbar-values.d.ts +7 -0
- package/dist/components/datebox/DateBox.d.ts +79 -0
- package/dist/components/datebox/date-box-props.d.ts +26 -0
- package/dist/components/datebox/index.d.ts +2 -0
- package/dist/components/daterangebox/DateRangeBox.d.ts +124 -0
- package/dist/components/daterangebox/date-range-box-props.d.ts +41 -0
- package/dist/components/daterangebox/date-range-preset.d.ts +6 -0
- package/dist/components/daterangebox/date-range.d.ts +2 -0
- package/dist/components/daterangebox/index.d.ts +4 -0
- package/dist/components/draggable/Draggable.d.ts +112 -0
- package/dist/components/draggable/DropTarget.d.ts +38 -0
- package/dist/components/draggable/draggable-event-args.d.ts +17 -0
- package/dist/components/draggable/draggable-props.d.ts +40 -0
- package/dist/components/draggable/drop-event-args.d.ts +11 -0
- package/dist/components/draggable/drop-target-props.d.ts +13 -0
- package/dist/components/draggable/index.d.ts +6 -0
- package/dist/components/drawer/Drawer.d.ts +76 -0
- package/dist/components/drawer/drawer-mode.d.ts +2 -0
- package/dist/components/drawer/drawer-props.d.ts +26 -0
- package/dist/components/drawer/drawer-side.d.ts +2 -0
- package/dist/components/drawer/index.d.ts +4 -0
- package/dist/components/dropdown/DropDown.d.ts +122 -0
- package/dist/components/dropdown/drop-down-item.d.ts +10 -0
- package/dist/components/dropdown/drop-down-props.d.ts +44 -0
- package/dist/components/dropdown/index.d.ts +3 -0
- package/dist/components/fileuploader/FileUploader.d.ts +140 -0
- package/dist/components/fileuploader/file-uploader-props.d.ts +55 -0
- package/dist/components/fileuploader/files-added-event-args.d.ts +12 -0
- package/dist/components/fileuploader/index.d.ts +7 -0
- package/dist/components/fileuploader/upload-event-args.d.ts +10 -0
- package/dist/components/fileuploader/upload-item.d.ts +12 -0
- package/dist/components/fileuploader/upload-mode.d.ts +2 -0
- package/dist/components/fileuploader/upload-status.d.ts +2 -0
- package/dist/components/filterbuilder/FilterBuilder.d.ts +190 -0
- package/dist/components/filterbuilder/FilterBuilderModel.d.ts +90 -0
- package/dist/components/filterbuilder/default-operations.d.ts +7 -0
- package/dist/components/filterbuilder/filter-builder-condition.d.ts +12 -0
- package/dist/components/filterbuilder/filter-builder-custom-operation.d.ts +35 -0
- package/dist/components/filterbuilder/filter-builder-data-type.d.ts +2 -0
- package/dist/components/filterbuilder/filter-builder-editor-context.d.ts +18 -0
- package/dist/components/filterbuilder/filter-builder-editor-prepared-event-args.d.ts +14 -0
- package/dist/components/filterbuilder/filter-builder-editor-preparing-event-args.d.ts +21 -0
- package/dist/components/filterbuilder/filter-builder-field.d.ts +42 -0
- package/dist/components/filterbuilder/filter-builder-group-operation.d.ts +2 -0
- package/dist/components/filterbuilder/filter-builder-group.d.ts +13 -0
- package/dist/components/filterbuilder/filter-builder-item-added-event-args.d.ts +10 -0
- package/dist/components/filterbuilder/filter-builder-item-adding-event-args.d.ts +14 -0
- package/dist/components/filterbuilder/filter-builder-item-change.d.ts +2 -0
- package/dist/components/filterbuilder/filter-builder-item-changed-event-args.d.ts +11 -0
- package/dist/components/filterbuilder/filter-builder-item-changing-event-args.d.ts +16 -0
- package/dist/components/filterbuilder/filter-builder-item-removed-event-args.d.ts +10 -0
- package/dist/components/filterbuilder/filter-builder-item-removing-event-args.d.ts +14 -0
- package/dist/components/filterbuilder/filter-builder-item.d.ts +3 -0
- package/dist/components/filterbuilder/filter-builder-lookup.d.ts +16 -0
- package/dist/components/filterbuilder/filter-builder-model-options.d.ts +14 -0
- package/dist/components/filterbuilder/filter-builder-operation.d.ts +6 -0
- package/dist/components/filterbuilder/filter-builder-props.d.ts +63 -0
- package/dist/components/filterbuilder/filter-builder-value-changed-event-args.d.ts +9 -0
- package/dist/components/filterbuilder/filter-builder-value-info.d.ts +7 -0
- package/dist/components/filterbuilder/filter-text.d.ts +8 -0
- package/dist/components/filterbuilder/index.d.ts +27 -0
- package/dist/components/form/MxForm.d.ts +216 -0
- package/dist/components/form/confirm.d.ts +10 -0
- package/dist/components/form/form-close-reason.d.ts +2 -0
- package/dist/components/form/form-closed-event-args.d.ts +8 -0
- package/dist/components/form/form-closing-event-args.d.ts +10 -0
- package/dist/components/form/form-event-args.d.ts +5 -0
- package/dist/components/form/form-host.d.ts +3 -0
- package/dist/components/form/form-props.d.ts +77 -0
- package/dist/components/form/form-result.d.ts +2 -0
- package/dist/components/form/form-start-position.d.ts +2 -0
- package/dist/components/form/form-window-state.d.ts +1 -0
- package/dist/components/form/index.d.ts +15 -0
- package/dist/components/form/message-box-button.d.ts +10 -0
- package/dist/components/form/message-box-options.d.ts +21 -0
- package/dist/components/form/message-box-tone.d.ts +2 -0
- package/dist/components/form/message-box.d.ts +10 -0
- package/dist/components/formlayout/FormLayout.d.ts +99 -0
- package/dist/components/formlayout/form-editor-factory.d.ts +3 -0
- package/dist/components/formlayout/form-editor-type.d.ts +2 -0
- package/dist/components/formlayout/form-item.d.ts +44 -0
- package/dist/components/formlayout/form-layout-props.d.ts +34 -0
- package/dist/components/formlayout/form-tab.d.ts +9 -0
- package/dist/components/formlayout/form-template-context.d.ts +9 -0
- package/dist/components/formlayout/index.d.ts +7 -0
- package/dist/components/gallery/Gallery.d.ts +148 -0
- package/dist/components/gallery/gallery-item-click-event-args.d.ts +9 -0
- package/dist/components/gallery/gallery-item.d.ts +18 -0
- package/dist/components/gallery/gallery-props.d.ts +44 -0
- package/dist/components/gallery/index.d.ts +6 -0
- package/dist/components/gallery/slide-changed-event-args.d.ts +11 -0
- package/dist/components/gallery/slide-changing-event-args.d.ts +14 -0
- package/dist/components/gauge/Gauge.d.ts +193 -0
- package/dist/components/gauge/gauge-mark.d.ts +9 -0
- package/dist/components/gauge/gauge-marker.d.ts +2 -0
- package/dist/components/gauge/gauge-needle-shape.d.ts +2 -0
- package/dist/components/gauge/gauge-orientation.d.ts +2 -0
- package/dist/components/gauge/gauge-props.d.ts +58 -0
- package/dist/components/gauge/gauge-range.d.ts +11 -0
- package/dist/components/gauge/gauge-scale.d.ts +2 -0
- package/dist/components/gauge/gauge-shape.d.ts +43 -0
- package/dist/components/gauge/gauge-type.d.ts +2 -0
- package/dist/components/gauge/index.d.ts +9 -0
- package/dist/components/layout/ChildSettings.d.ts +41 -0
- package/dist/components/layout/DockPanel.d.ts +42 -0
- package/dist/components/layout/Grid.d.ts +57 -0
- package/dist/components/layout/GroupBox.d.ts +56 -0
- package/dist/components/layout/Panel.d.ts +29 -0
- package/dist/components/layout/SplitContainer.d.ts +86 -0
- package/dist/components/layout/Stack.d.ts +45 -0
- package/dist/components/layout/dock-child-props.d.ts +16 -0
- package/dist/components/layout/dock-panel-props.d.ts +10 -0
- package/dist/components/layout/dock.d.ts +6 -0
- package/dist/components/layout/grid-cell.d.ts +11 -0
- package/dist/components/layout/grid-flow.d.ts +2 -0
- package/dist/components/layout/grid-justify.d.ts +2 -0
- package/dist/components/layout/grid-props.d.ts +37 -0
- package/dist/components/layout/grid-tracks.d.ts +5 -0
- package/dist/components/layout/group-box-props.d.ts +22 -0
- package/dist/components/layout/group-box-toggled-event-args.d.ts +7 -0
- package/dist/components/layout/group-box-variant.d.ts +2 -0
- package/dist/components/layout/index.d.ts +33 -0
- package/dist/components/layout/layout-align.d.ts +2 -0
- package/dist/components/layout/layout-orientation.d.ts +2 -0
- package/dist/components/layout/layout-space.d.ts +5 -0
- package/dist/components/layout/panel-props.d.ts +17 -0
- package/dist/components/layout/panel-scroll.d.ts +2 -0
- package/dist/components/layout/panel-variant.d.ts +2 -0
- package/dist/components/layout/set-padding.d.ts +7 -0
- package/dist/components/layout/set-space.d.ts +4 -0
- package/dist/components/layout/space-value.d.ts +3 -0
- package/dist/components/layout/split-container-props.d.ts +37 -0
- package/dist/components/layout/split-panel.d.ts +2 -0
- package/dist/components/layout/split-position.d.ts +2 -0
- package/dist/components/layout/splitter-moved-event-args.d.ts +10 -0
- package/dist/components/layout/stack-child-props.d.ts +6 -0
- package/dist/components/layout/stack-justify.d.ts +2 -0
- package/dist/components/layout/stack-props.d.ts +25 -0
- package/dist/components/layout/track-list.d.ts +3 -0
- package/dist/components/listbox/ListBox.d.ts +114 -0
- package/dist/components/listbox/all-values.d.ts +7 -0
- package/dist/components/listbox/index.d.ts +4 -0
- package/dist/components/listbox/item-template.d.ts +7 -0
- package/dist/components/listbox/list-box-props.d.ts +44 -0
- package/dist/components/listbox/list-rows.d.ts +14 -0
- package/dist/components/listbox/list-selection-mode.d.ts +2 -0
- package/dist/components/listbox/select-all-row.d.ts +5 -0
- package/dist/components/listbox/select-all-state.d.ts +3 -0
- package/dist/components/listbox/value-items.d.ts +21 -0
- package/dist/components/loadpanel/LoadPanel.d.ts +74 -0
- package/dist/components/loadpanel/index.d.ts +3 -0
- package/dist/components/loadpanel/load-panel-props.d.ts +32 -0
- package/dist/components/loadpanel/load-panel-target.d.ts +3 -0
- package/dist/components/lookup/Lookup.d.ts +33 -0
- package/dist/components/lookup/index.d.ts +3 -0
- package/dist/components/lookup/lookup-column.d.ts +11 -0
- package/dist/components/lookup/lookup-props.d.ts +12 -0
- package/dist/components/menubar/MenuBar.d.ts +175 -0
- package/dist/components/menubar/index.d.ts +9 -0
- package/dist/components/menubar/menu-bar-added-item.d.ts +11 -0
- package/dist/components/menubar/menu-bar-custom-menu-opening-event-args.d.ts +19 -0
- package/dist/components/menubar/menu-bar-customization.d.ts +18 -0
- package/dist/components/menubar/menu-bar-customized-event-args.d.ts +7 -0
- package/dist/components/menubar/menu-bar-items-changed-event-args.d.ts +7 -0
- package/dist/components/menubar/menu-bar-merge-when.d.ts +5 -0
- package/dist/components/menubar/menu-bar-merged-event-args.d.ts +7 -0
- package/dist/components/menubar/menu-bar-props.d.ts +62 -0
- package/dist/components/menubar/menu-merge.d.ts +10 -0
- package/dist/components/menubar/menu-node.d.ts +4 -0
- package/dist/components/menubar/merge-hosts.d.ts +9 -0
- package/dist/components/menubar/merged-item.d.ts +18 -0
- package/dist/components/multiview/MultiView.d.ts +88 -0
- package/dist/components/multiview/View.d.ts +41 -0
- package/dist/components/multiview/index.d.ts +6 -0
- package/dist/components/multiview/multi-view-props.d.ts +30 -0
- package/dist/components/multiview/view-props.d.ts +15 -0
- package/dist/components/multiview/view-selecting-event-args.d.ts +15 -0
- package/dist/components/multiview/view-selection-changed-event-args.d.ts +12 -0
- package/dist/components/numberbox/NumberBox.d.ts +124 -0
- package/dist/components/numberbox/decimal-math.d.ts +7 -0
- package/dist/components/numberbox/index.d.ts +3 -0
- package/dist/components/numberbox/number-box-props.d.ts +51 -0
- package/dist/components/numberbox/number-text.d.ts +12 -0
- package/dist/components/numberbox/spin-layout.d.ts +2 -0
- package/dist/components/otpinput/OtpInput.d.ts +84 -0
- package/dist/components/otpinput/index.d.ts +4 -0
- package/dist/components/otpinput/otp-charset.d.ts +2 -0
- package/dist/components/otpinput/otp-completed-event-args.d.ts +8 -0
- package/dist/components/otpinput/otp-input-props.d.ts +32 -0
- package/dist/components/pagination/Pagination.d.ts +97 -0
- package/dist/components/pagination/index.d.ts +4 -0
- package/dist/components/pagination/page-changed-event-args.d.ts +10 -0
- package/dist/components/pagination/pagination-mode.d.ts +5 -0
- package/dist/components/pagination/pagination-props.d.ts +32 -0
- package/dist/components/popover/Popover.d.ts +118 -0
- package/dist/components/popover/index.d.ts +5 -0
- package/dist/components/popover/popover-close-reason.d.ts +2 -0
- package/dist/components/popover/popover-closing-event-args.d.ts +8 -0
- package/dist/components/popover/popover-props.d.ts +45 -0
- package/dist/components/popover/popover-show-on.d.ts +2 -0
- package/dist/components/progress/ProgressBar.d.ts +68 -0
- package/dist/components/progress/ProgressWave.d.ts +54 -0
- package/dist/components/progress/Spinner.d.ts +50 -0
- package/dist/components/progress/index.d.ts +8 -0
- package/dist/components/progress/progress-bar-props.d.ts +36 -0
- package/dist/components/progress/progress-label-position.d.ts +5 -0
- package/dist/components/progress/progress-shape.d.ts +2 -0
- package/dist/components/progress/progress-tone.d.ts +2 -0
- package/dist/components/progress/spinner-label-position.d.ts +2 -0
- package/dist/components/progress/spinner-props.d.ts +26 -0
- package/dist/components/progress/wave-geometry.d.ts +19 -0
- package/dist/components/qrcode/QRCode.d.ts +62 -0
- package/dist/components/qrcode/index.d.ts +5 -0
- package/dist/components/qrcode/qr-code-export-options.d.ts +9 -0
- package/dist/components/qrcode/qr-code-failed-event-args.d.ts +7 -0
- package/dist/components/qrcode/qr-code-props.d.ts +23 -0
- package/dist/components/radiogroup/RadioGroup.d.ts +75 -0
- package/dist/components/radiogroup/index.d.ts +4 -0
- package/dist/components/radiogroup/radio-group-orientation.d.ts +2 -0
- package/dist/components/radiogroup/radio-group-props.d.ts +29 -0
- package/dist/components/radiogroup/radio-item.d.ts +15 -0
- package/dist/components/rating/Rating.d.ts +52 -0
- package/dist/components/rating/index.d.ts +3 -0
- package/dist/components/rating/rating-props.d.ts +26 -0
- package/dist/components/rating/rating-tone.d.ts +2 -0
- package/dist/components/resizable/Resizable.d.ts +86 -0
- package/dist/components/resizable/index.d.ts +3 -0
- package/dist/components/resizable/resizable-props.d.ts +41 -0
- package/dist/components/resizable/resize-event-args.d.ts +13 -0
- package/dist/components/resizable/resize-start.d.ts +11 -0
- package/dist/components/ribbonmenu/RibbonGallery.d.ts +32 -0
- package/dist/components/ribbonmenu/RibbonKeyHints.d.ts +61 -0
- package/dist/components/ribbonmenu/RibbonMenu.d.ts +419 -0
- package/dist/components/ribbonmenu/index.d.ts +22 -0
- package/dist/components/ribbonmenu/ribbon-app-button-event-args.d.ts +8 -0
- package/dist/components/ribbonmenu/ribbon-command-click-event-args.d.ts +15 -0
- package/dist/components/ribbonmenu/ribbon-command-size.d.ts +2 -0
- package/dist/components/ribbonmenu/ribbon-command-type.d.ts +7 -0
- package/dist/components/ribbonmenu/ribbon-command.d.ts +63 -0
- package/dist/components/ribbonmenu/ribbon-gallery-item.d.ts +18 -0
- package/dist/components/ribbonmenu/ribbon-group-more-event-args.d.ts +12 -0
- package/dist/components/ribbonmenu/ribbon-group.d.ts +31 -0
- package/dist/components/ribbonmenu/ribbon-menu-custom-menu-opening-event-args.d.ts +22 -0
- package/dist/components/ribbonmenu/ribbon-menu-customization.d.ts +18 -0
- package/dist/components/ribbonmenu/ribbon-menu-customized-event-args.d.ts +7 -0
- package/dist/components/ribbonmenu/ribbon-menu-display-changed-event-args.d.ts +8 -0
- package/dist/components/ribbonmenu/ribbon-menu-display.d.ts +5 -0
- package/dist/components/ribbonmenu/ribbon-menu-items-changed-event-args.d.ts +7 -0
- package/dist/components/ribbonmenu/ribbon-menu-layout-changed-event-args.d.ts +8 -0
- package/dist/components/ribbonmenu/ribbon-menu-layout.d.ts +2 -0
- package/dist/components/ribbonmenu/ribbon-menu-props.d.ts +79 -0
- package/dist/components/ribbonmenu/ribbon-quick-bar-position.d.ts +2 -0
- package/dist/components/ribbonmenu/ribbon-tab-selecting-event-args.d.ts +5 -0
- package/dist/components/ribbonmenu/ribbon-tab-selection-changed-event-args.d.ts +10 -0
- package/dist/components/ribbonmenu/ribbon-tab.d.ts +24 -0
- package/dist/components/scheduler/AppointmentEditor.d.ts +241 -0
- package/dist/components/scheduler/RecurrenceEditor.d.ts +66 -0
- package/dist/components/scheduler/Scheduler.d.ts +545 -0
- package/dist/components/scheduler/agenda-row-context.d.ts +15 -0
- package/dist/components/scheduler/appointment-added-event-args.d.ts +7 -0
- package/dist/components/scheduler/appointment-adding-event-args.d.ts +13 -0
- package/dist/components/scheduler/appointment-click-event-args.d.ts +13 -0
- package/dist/components/scheduler/appointment-deleted-event-args.d.ts +9 -0
- package/dist/components/scheduler/appointment-deleting-event-args.d.ts +16 -0
- package/dist/components/scheduler/appointment-form-context.d.ts +11 -0
- package/dist/components/scheduler/appointment-form-data.d.ts +10 -0
- package/dist/components/scheduler/appointment-template-context.d.ts +15 -0
- package/dist/components/scheduler/appointment-updated-event-args.d.ts +15 -0
- package/dist/components/scheduler/appointment-updating-event-args.d.ts +18 -0
- package/dist/components/scheduler/cell-click-event-args.d.ts +9 -0
- package/dist/components/scheduler/cell-template-context.d.ts +16 -0
- package/dist/components/scheduler/content-ready-event-args.d.ts +9 -0
- package/dist/components/scheduler/data-error-event-args.d.ts +16 -0
- package/dist/components/scheduler/date-changed-event-args.d.ts +10 -0
- package/dist/components/scheduler/date-changing-event-args.d.ts +12 -0
- package/dist/components/scheduler/date-template-context.d.ts +13 -0
- package/dist/components/scheduler/drag-event-args.d.ts +21 -0
- package/dist/components/scheduler/form-bind.d.ts +7 -0
- package/dist/components/scheduler/form-items.d.ts +10 -0
- package/dist/components/scheduler/form-opening-event-args.d.ts +20 -0
- package/dist/components/scheduler/icalendar-export-options.d.ts +13 -0
- package/dist/components/scheduler/icalendar-exported-event-args.d.ts +6 -0
- package/dist/components/scheduler/icalendar-exporting-event-args.d.ts +10 -0
- package/dist/components/scheduler/icalendar-import-result.d.ts +9 -0
- package/dist/components/scheduler/icalendar-imported-event-args.d.ts +5 -0
- package/dist/components/scheduler/icalendar-importing-event-args.d.ts +11 -0
- package/dist/components/scheduler/index.d.ts +73 -0
- package/dist/components/scheduler/model/AppointmentStore.d.ts +27 -0
- package/dist/components/scheduler/model/ICalendarBridge.d.ts +44 -0
- package/dist/components/scheduler/model/Occurrences.d.ts +39 -0
- package/dist/components/scheduler/model/RecurrenceDraft.d.ts +56 -0
- package/dist/components/scheduler/model/ResourceKind.d.ts +35 -0
- package/dist/components/scheduler/model/Resources.d.ts +53 -0
- package/dist/components/scheduler/model/SchedulerModel.d.ts +377 -0
- package/dist/components/scheduler/model/SeriesEdit.d.ts +49 -0
- package/dist/components/scheduler/model/SeriesWriter.d.ts +18 -0
- package/dist/components/scheduler/model/agenda-day.d.ts +14 -0
- package/dist/components/scheduler/model/agenda-piece.d.ts +21 -0
- package/dist/components/scheduler/model/any-piece.d.ts +6 -0
- package/dist/components/scheduler/model/blocked-spans.d.ts +14 -0
- package/dist/components/scheduler/model/cell-place.d.ts +5 -0
- package/dist/components/scheduler/model/column-edge.d.ts +2 -0
- package/dist/components/scheduler/model/day-block.d.ts +6 -0
- package/dist/components/scheduler/model/draft.d.ts +15 -0
- package/dist/components/scheduler/model/group-resource.d.ts +8 -0
- package/dist/components/scheduler/model/header-cell.d.ts +16 -0
- package/dist/components/scheduler/model/header-row.d.ts +8 -0
- package/dist/components/scheduler/model/line-piece.d.ts +29 -0
- package/dist/components/scheduler/model/make-groups.d.ts +14 -0
- package/dist/components/scheduler/model/occurrence-info.d.ts +8 -0
- package/dist/components/scheduler/model/overlap-mode.d.ts +2 -0
- package/dist/components/scheduler/model/place-lanes.d.ts +10 -0
- package/dist/components/scheduler/model/place-stack.d.ts +17 -0
- package/dist/components/scheduler/model/place-timed.d.ts +18 -0
- package/dist/components/scheduler/model/range-filter-options.d.ts +8 -0
- package/dist/components/scheduler/model/range-filter.d.ts +13 -0
- package/dist/components/scheduler/model/resolved-view.d.ts +23 -0
- package/dist/components/scheduler/model/resource-entry.d.ts +5 -0
- package/dist/components/scheduler/model/same-value.d.ts +2 -0
- package/dist/components/scheduler/model/scale-cell.d.ts +14 -0
- package/dist/components/scheduler/model/scheduler-column.d.ts +21 -0
- package/dist/components/scheduler/model/scheduler-day.d.ts +21 -0
- package/dist/components/scheduler/model/scheduler-group.d.ts +14 -0
- package/dist/components/scheduler/model/scrolling-mode.d.ts +5 -0
- package/dist/components/scheduler/model/series-plan.d.ts +9 -0
- package/dist/components/scheduler/model/series-run.d.ts +14 -0
- package/dist/components/scheduler/model/series-scope.d.ts +2 -0
- package/dist/components/scheduler/model/series-write.d.ts +8 -0
- package/dist/components/scheduler/model/strip-piece.d.ts +29 -0
- package/dist/components/scheduler/model/strip-row.d.ts +17 -0
- package/dist/components/scheduler/model/time-slot.d.ts +8 -0
- package/dist/components/scheduler/model/time-tick.d.ts +14 -0
- package/dist/components/scheduler/model/timed-piece.d.ts +31 -0
- package/dist/components/scheduler/model/timeline-row.d.ts +27 -0
- package/dist/components/scheduler/model/to-date.d.ts +2 -0
- package/dist/components/scheduler/model/view-dates.d.ts +7 -0
- package/dist/components/scheduler/model/view-kind.d.ts +6 -0
- package/dist/components/scheduler/more-list-context.d.ts +7 -0
- package/dist/components/scheduler/more-opening-event-args.d.ts +11 -0
- package/dist/components/scheduler/presentation-changed-event-args.d.ts +8 -0
- package/dist/components/scheduler/presentation-changing-event-args.d.ts +14 -0
- package/dist/components/scheduler/printed-event-args.d.ts +5 -0
- package/dist/components/scheduler/printing-event-args.d.ts +6 -0
- package/dist/components/scheduler/recurrence-editor-props.d.ts +39 -0
- package/dist/components/scheduler/resource-header-context.d.ts +17 -0
- package/dist/components/scheduler/scheduler-blocked-time.d.ts +16 -0
- package/dist/components/scheduler/scheduler-cell.d.ts +9 -0
- package/dist/components/scheduler/scheduler-editing.d.ts +27 -0
- package/dist/components/scheduler/scheduler-fields.d.ts +48 -0
- package/dist/components/scheduler/scheduler-form-item.d.ts +27 -0
- package/dist/components/scheduler/scheduler-form-tab.d.ts +9 -0
- package/dist/components/scheduler/scheduler-form.d.ts +26 -0
- package/dist/components/scheduler/scheduler-keys.d.ts +25 -0
- package/dist/components/scheduler/scheduler-presentation-kind.d.ts +2 -0
- package/dist/components/scheduler/scheduler-presentation.d.ts +5 -0
- package/dist/components/scheduler/scheduler-props.d.ts +264 -0
- package/dist/components/scheduler/scheduler-range.d.ts +5 -0
- package/dist/components/scheduler/scheduler-resource.d.ts +45 -0
- package/dist/components/scheduler/scheduler-tablet-when.d.ts +5 -0
- package/dist/components/scheduler/scheduler-templates.d.ts +35 -0
- package/dist/components/scheduler/scheduler-time-check.d.ts +19 -0
- package/dist/components/scheduler/scheduler-view-type.d.ts +6 -0
- package/dist/components/scheduler/scheduler-view.d.ts +45 -0
- package/dist/components/scheduler/selection-changed-event-args.d.ts +7 -0
- package/dist/components/scheduler/series-action.d.ts +2 -0
- package/dist/components/scheduler/series-answered-event-args.d.ts +15 -0
- package/dist/components/scheduler/series-asking-event-args.d.ts +18 -0
- package/dist/components/scheduler/series-edit-mode.d.ts +3 -0
- package/dist/components/scheduler/time-template-context.d.ts +14 -0
- package/dist/components/scheduler/time-zoom-changed-event-args.d.ts +7 -0
- package/dist/components/scheduler/time-zoom-changing-event-args.d.ts +8 -0
- package/dist/components/scheduler/tooltip-template-context.d.ts +14 -0
- package/dist/components/scheduler/view/AgendaView.d.ts +55 -0
- package/dist/components/scheduler/view/AppointmentBox.d.ts +58 -0
- package/dist/components/scheduler/view/AppointmentDrag.d.ts +89 -0
- package/dist/components/scheduler/view/AppointmentTooltip.d.ts +40 -0
- package/dist/components/scheduler/view/CellAttributes.d.ts +11 -0
- package/dist/components/scheduler/view/CellWriter.d.ts +38 -0
- package/dist/components/scheduler/view/GroupHeads.d.ts +32 -0
- package/dist/components/scheduler/view/KeyedParts.d.ts +29 -0
- package/dist/components/scheduler/view/MonthView.d.ts +69 -0
- package/dist/components/scheduler/view/MoreList.d.ts +32 -0
- package/dist/components/scheduler/view/SchedulerFormat.d.ts +43 -0
- package/dist/components/scheduler/view/SchedulerTouch.d.ts +44 -0
- package/dist/components/scheduler/view/TimeView.d.ts +113 -0
- package/dist/components/scheduler/view/TimelineLine.d.ts +94 -0
- package/dist/components/scheduler/view/TimelineScale.d.ts +22 -0
- package/dist/components/scheduler/view/TimelineScaleCell.d.ts +37 -0
- package/dist/components/scheduler/view/TimelineView.d.ts +83 -0
- package/dist/components/scheduler/view/ask-series-scope.d.ts +21 -0
- package/dist/components/scheduler/view/cell-spot.d.ts +8 -0
- package/dist/components/scheduler/view/cell-words.d.ts +7 -0
- package/dist/components/scheduler/view/scheduler-host.d.ts +87 -0
- package/dist/components/scheduler/view/shown-view.d.ts +11 -0
- package/dist/components/scheduler/view/timeline-scroll.d.ts +7 -0
- package/dist/components/scheduler/view/touch-host.d.ts +25 -0
- package/dist/components/scheduler/view-changed-event-args.d.ts +7 -0
- package/dist/components/scheduler/view-changing-event-args.d.ts +9 -0
- package/dist/components/scrollview/ScrollView.d.ts +128 -0
- package/dist/components/scrollview/index.d.ts +7 -0
- package/dist/components/scrollview/pull-down-event-args.d.ts +9 -0
- package/dist/components/scrollview/reach-bottom-event-args.d.ts +9 -0
- package/dist/components/scrollview/scroll-event-args.d.ts +7 -0
- package/dist/components/scrollview/scroll-view-bars.d.ts +2 -0
- package/dist/components/scrollview/scroll-view-direction.d.ts +2 -0
- package/dist/components/scrollview/scroll-view-props.d.ts +31 -0
- package/dist/components/sheet/BottomSheet.d.ts +89 -0
- package/dist/components/sheet/bottom-sheet-detent.d.ts +6 -0
- package/dist/components/sheet/bottom-sheet-props.d.ts +39 -0
- package/dist/components/sheet/detent-changed-event-args.d.ts +8 -0
- package/dist/components/sheet/detent-changing-event-args.d.ts +11 -0
- package/dist/components/sheet/index.d.ts +5 -0
- package/dist/components/shortcuteditor/ShortcutEditor.d.ts +82 -0
- package/dist/components/shortcuteditor/index.d.ts +3 -0
- package/dist/components/shortcuteditor/shortcut-editor-keys-changed-event-args.d.ts +9 -0
- package/dist/components/shortcuteditor/shortcut-editor-props.d.ts +21 -0
- package/dist/components/signature/Signature.d.ts +105 -0
- package/dist/components/signature/index.d.ts +5 -0
- package/dist/components/signature/signature-draw.d.ts +15 -0
- package/dist/components/signature/signature-export-options.d.ts +11 -0
- package/dist/components/signature/signature-props.d.ts +30 -0
- package/dist/components/signature/signature-stroke-event-args.d.ts +9 -0
- package/dist/components/signature/signature-stroke.d.ts +11 -0
- package/dist/components/skeleton/Skeleton.d.ts +45 -0
- package/dist/components/skeleton/index.d.ts +4 -0
- package/dist/components/skeleton/skeleton-animation.d.ts +2 -0
- package/dist/components/skeleton/skeleton-props.d.ts +24 -0
- package/dist/components/skeleton/skeleton-shape.d.ts +2 -0
- package/dist/components/slider/Slider.d.ts +115 -0
- package/dist/components/slider/index.d.ts +5 -0
- package/dist/components/slider/slider-orientation.d.ts +2 -0
- package/dist/components/slider/slider-props.d.ts +49 -0
- package/dist/components/slider/slider-show-value.d.ts +2 -0
- package/dist/components/slider/slider-value.d.ts +2 -0
- package/dist/components/sortable/Sortable.d.ts +118 -0
- package/dist/components/sortable/index.d.ts +5 -0
- package/dist/components/sortable/sortable-drag-event-args.d.ts +15 -0
- package/dist/components/sortable/sortable-drop-event-args.d.ts +11 -0
- package/dist/components/sortable/sortable-orientation.d.ts +2 -0
- package/dist/components/sortable/sortable-props.d.ts +34 -0
- package/dist/components/sparkline/Sparkline.d.ts +83 -0
- package/dist/components/sparkline/index.d.ts +4 -0
- package/dist/components/sparkline/sparkline-highlight.d.ts +2 -0
- package/dist/components/sparkline/sparkline-props.d.ts +34 -0
- package/dist/components/sparkline/sparkline-type.d.ts +2 -0
- package/dist/components/speeddial/SpeedDial.d.ts +135 -0
- package/dist/components/speeddial/index.d.ts +6 -0
- package/dist/components/speeddial/speed-dial-action-click-event-args.d.ts +12 -0
- package/dist/components/speeddial/speed-dial-action.d.ts +28 -0
- package/dist/components/speeddial/speed-dial-event-args.d.ts +8 -0
- package/dist/components/speeddial/speed-dial-props.d.ts +61 -0
- package/dist/components/speeddial/speed-dial-tooltip.d.ts +3 -0
- package/dist/components/splitter/SplitPane.d.ts +48 -0
- package/dist/components/splitter/Splitter.d.ts +125 -0
- package/dist/components/splitter/index.d.ts +6 -0
- package/dist/components/splitter/split-pane-props.d.ts +24 -0
- package/dist/components/splitter/splitter-collapse-event-args.d.ts +13 -0
- package/dist/components/splitter/splitter-props.d.ts +31 -0
- package/dist/components/splitter/splitter-resize-event-args.d.ts +10 -0
- package/dist/components/stepper/Stepper.d.ts +142 -0
- package/dist/components/stepper/Wizard.d.ts +121 -0
- package/dist/components/stepper/WizardStep.d.ts +44 -0
- package/dist/components/stepper/index.d.ts +13 -0
- package/dist/components/stepper/step-changed-event-args.d.ts +11 -0
- package/dist/components/stepper/step-changing-event-args.d.ts +18 -0
- package/dist/components/stepper/stepper-item.d.ts +20 -0
- package/dist/components/stepper/stepper-label-position.d.ts +2 -0
- package/dist/components/stepper/stepper-orientation.d.ts +1 -0
- package/dist/components/stepper/stepper-props.d.ts +38 -0
- package/dist/components/stepper/stepper-status.d.ts +2 -0
- package/dist/components/stepper/wizard-finishing-event-args.d.ts +10 -0
- package/dist/components/stepper/wizard-props.d.ts +60 -0
- package/dist/components/stepper/wizard-step-props.d.ts +32 -0
- package/dist/components/switch/Switch.d.ts +32 -0
- package/dist/components/switch/index.d.ts +3 -0
- package/dist/components/switch/switch-props.d.ts +12 -0
- package/dist/components/switch/switch-state-text.d.ts +2 -0
- package/dist/components/tabdocs/AutoHideStrip.d.ts +37 -0
- package/dist/components/tabdocs/DockDropTarget.d.ts +34 -0
- package/dist/components/tabdocs/DockGuides.d.ts +37 -0
- package/dist/components/tabdocs/DocumentList.d.ts +88 -0
- package/dist/components/tabdocs/DocumentTab.d.ts +69 -0
- package/dist/components/tabdocs/DropMarks.d.ts +19 -0
- package/dist/components/tabdocs/LayoutDropTarget.d.ts +39 -0
- package/dist/components/tabdocs/MoveByKeys.d.ts +32 -0
- package/dist/components/tabdocs/NewWindowDropTarget.d.ts +19 -0
- package/dist/components/tabdocs/PhoneBar.d.ts +34 -0
- package/dist/components/tabdocs/PhoneList.d.ts +64 -0
- package/dist/components/tabdocs/PhoneTools.d.ts +27 -0
- package/dist/components/tabdocs/SplitSash.d.ts +21 -0
- package/dist/components/tabdocs/TabBarSettings.d.ts +38 -0
- package/dist/components/tabdocs/TabBrowserWindow.d.ts +64 -0
- package/dist/components/tabdocs/TabDockArea.d.ts +100 -0
- package/dist/components/tabdocs/TabDocument.d.ts +135 -0
- package/dist/components/tabdocs/TabDocumentManager.d.ts +1149 -0
- package/dist/components/tabdocs/TabDrag.d.ts +91 -0
- package/dist/components/tabdocs/TabGroup.d.ts +170 -0
- package/dist/components/tabdocs/TabMenus.d.ts +41 -0
- package/dist/components/tabdocs/TabPresenter.d.ts +121 -0
- package/dist/components/tabdocs/TabSplit.d.ts +46 -0
- package/dist/components/tabdocs/TabWindow.d.ts +85 -0
- package/dist/components/tabdocs/WindowByKeys.d.ts +18 -0
- package/dist/components/tabdocs/content-lifetime.d.ts +6 -0
- package/dist/components/tabdocs/dock-guide-hit.d.ts +10 -0
- package/dist/components/tabdocs/document-activated-event-args.d.ts +11 -0
- package/dist/components/tabdocs/document-activating-event-args.d.ts +12 -0
- package/dist/components/tabdocs/document-changed-event-args.d.ts +10 -0
- package/dist/components/tabdocs/document-changing-event-args.d.ts +11 -0
- package/dist/components/tabdocs/document-closed-event-args.d.ts +10 -0
- package/dist/components/tabdocs/document-closing-event-args.d.ts +21 -0
- package/dist/components/tabdocs/document-moved-event-args.d.ts +12 -0
- package/dist/components/tabdocs/document-moving-event-args.d.ts +14 -0
- package/dist/components/tabdocs/document-opened-event-args.d.ts +10 -0
- package/dist/components/tabdocs/document-opening-event-args.d.ts +13 -0
- package/dist/components/tabdocs/document-showing-event-args.d.ts +19 -0
- package/dist/components/tabdocs/document-shown-event-args.d.ts +11 -0
- package/dist/components/tabdocs/group-locked-event-args.d.ts +8 -0
- package/dist/components/tabdocs/group-locking-event-args.d.ts +9 -0
- package/dist/components/tabdocs/group-split-event-args.d.ts +15 -0
- package/dist/components/tabdocs/group-splitting-event-args.d.ts +17 -0
- package/dist/components/tabdocs/index.d.ts +102 -0
- package/dist/components/tabdocs/item-part.d.ts +4 -0
- package/dist/components/tabdocs/layout-changed-event-args.d.ts +17 -0
- package/dist/components/tabdocs/layout-changing-event-args.d.ts +19 -0
- package/dist/components/tabdocs/layout-item.d.ts +7 -0
- package/dist/components/tabdocs/pinned-tab-size.d.ts +2 -0
- package/dist/components/tabdocs/place-node.d.ts +13 -0
- package/dist/components/tabdocs/presentation-changed-event-args.d.ts +8 -0
- package/dist/components/tabdocs/presentation-changing-event-args.d.ts +14 -0
- package/dist/components/tabdocs/sash-owner.d.ts +15 -0
- package/dist/components/tabdocs/screen-offsets.d.ts +9 -0
- package/dist/components/tabdocs/split-direction.d.ts +2 -0
- package/dist/components/tabdocs/strip-room.d.ts +13 -0
- package/dist/components/tabdocs/tab-after-close.d.ts +2 -0
- package/dist/components/tabdocs/tab-auto-hidden-event-args.d.ts +9 -0
- package/dist/components/tabdocs/tab-auto-hiding-event-args.d.ts +10 -0
- package/dist/components/tabdocs/tab-bar-button-size.d.ts +5 -0
- package/dist/components/tabdocs/tab-bar-button.d.ts +5 -0
- package/dist/components/tabdocs/tab-close-button.d.ts +2 -0
- package/dist/components/tabdocs/tab-content-clone.d.ts +4 -0
- package/dist/components/tabdocs/tab-content-factory.d.ts +4 -0
- package/dist/components/tabdocs/tab-context-menu-event-args.d.ts +16 -0
- package/dist/components/tabdocs/tab-copy-modifier.d.ts +2 -0
- package/dist/components/tabdocs/tab-dock-guide-kind.d.ts +2 -0
- package/dist/components/tabdocs/tab-dock-presentation.d.ts +5 -0
- package/dist/components/tabdocs/tab-dock-side.d.ts +5 -0
- package/dist/components/tabdocs/tab-docked-event-args.d.ts +16 -0
- package/dist/components/tabdocs/tab-docking-event-args.d.ts +24 -0
- package/dist/components/tabdocs/tab-document-content.d.ts +4 -0
- package/dist/components/tabdocs/tab-document-keys.d.ts +114 -0
- package/dist/components/tabdocs/tab-document-manager-props.d.ts +471 -0
- package/dist/components/tabdocs/tab-document-options.d.ts +66 -0
- package/dist/components/tabdocs/tab-drag-ended-event-args.d.ts +11 -0
- package/dist/components/tabdocs/tab-drag-starting-event-args.d.ts +14 -0
- package/dist/components/tabdocs/tab-drag-subject.d.ts +19 -0
- package/dist/components/tabdocs/tab-drop-event-args.d.ts +20 -0
- package/dist/components/tabdocs/tab-drop-marks.d.ts +5 -0
- package/dist/components/tabdocs/tab-drop-place.d.ts +25 -0
- package/dist/components/tabdocs/tab-drop-side.d.ts +2 -0
- package/dist/components/tabdocs/tab-drop-target-kind.d.ts +11 -0
- package/dist/components/tabdocs/tab-drop-target.d.ts +26 -0
- package/dist/components/tabdocs/tab-dropped-event-args.d.ts +13 -0
- package/dist/components/tabdocs/tab-error-event-args.d.ts +17 -0
- package/dist/components/tabdocs/tab-floated-event-args.d.ts +13 -0
- package/dist/components/tabdocs/tab-floating-event-args.d.ts +19 -0
- package/dist/components/tabdocs/tab-header.d.ts +3 -0
- package/dist/components/tabdocs/tab-key-preset.d.ts +6 -0
- package/dist/components/tabdocs/tab-keys.d.ts +12 -0
- package/dist/components/tabdocs/tab-layout-area.d.ts +13 -0
- package/dist/components/tabdocs/tab-layout-bar.d.ts +12 -0
- package/dist/components/tabdocs/tab-layout-browser-window.d.ts +10 -0
- package/dist/components/tabdocs/tab-layout-change.d.ts +2 -0
- package/dist/components/tabdocs/tab-layout-document.d.ts +9 -0
- package/dist/components/tabdocs/tab-layout-factory.d.ts +9 -0
- package/dist/components/tabdocs/tab-layout-group.d.ts +16 -0
- package/dist/components/tabdocs/tab-layout-hidden.d.ts +16 -0
- package/dist/components/tabdocs/tab-layout-node.d.ts +3 -0
- package/dist/components/tabdocs/tab-layout-split.d.ts +10 -0
- package/dist/components/tabdocs/tab-layout-window.d.ts +17 -0
- package/dist/components/tabdocs/tab-layout.d.ts +26 -0
- package/dist/components/tabdocs/tab-list-scope.d.ts +2 -0
- package/dist/components/tabdocs/tab-menu-command.d.ts +2 -0
- package/dist/components/tabdocs/tab-narrow-bars.d.ts +5 -0
- package/dist/components/tabdocs/tab-new-document.d.ts +5 -0
- package/dist/components/tabdocs/tab-new-window-close-action.d.ts +2 -0
- package/dist/components/tabdocs/tab-new-window-fallback.d.ts +5 -0
- package/dist/components/tabdocs/tab-new-window-options.d.ts +11 -0
- package/dist/components/tabdocs/tab-new-window-title.d.ts +7 -0
- package/dist/components/tabdocs/tab-open-options.d.ts +19 -0
- package/dist/components/tabdocs/tab-open-position.d.ts +2 -0
- package/dist/components/tabdocs/tab-open-window.d.ts +7 -0
- package/dist/components/tabdocs/tab-presentation-kind.d.ts +2 -0
- package/dist/components/tabdocs/tab-presentation.d.ts +5 -0
- package/dist/components/tabdocs/tab-rect.d.ts +7 -0
- package/dist/components/tabdocs/tab-restore-windows.d.ts +7 -0
- package/dist/components/tabdocs/tab-show-description.d.ts +2 -0
- package/dist/components/tabdocs/tab-show-options.d.ts +15 -0
- package/dist/components/tabdocs/tab-size.d.ts +2 -0
- package/dist/components/tabdocs/tab-slide-event-args.d.ts +16 -0
- package/dist/components/tabdocs/tab-tablet-when.d.ts +5 -0
- package/dist/components/tabdocs/tab-tone.d.ts +2 -0
- package/dist/components/tabdocs/tab-toolbar-items.d.ts +7 -0
- package/dist/components/tabdocs/tab-window-closed-event-args.d.ts +14 -0
- package/dist/components/tabdocs/tab-window-closing-event-args.d.ts +18 -0
- package/dist/components/tabdocs/tab-window-opened-event-args.d.ts +14 -0
- package/dist/components/tabdocs/tab-window-opening-event-args.d.ts +24 -0
- package/dist/components/tabdocs/tab-window-request.d.ts +11 -0
- package/dist/components/tabs/PanelContent.d.ts +20 -0
- package/dist/components/tabs/Tab.d.ts +71 -0
- package/dist/components/tabs/Tabs.d.ts +131 -0
- package/dist/components/tabs/index.d.ts +11 -0
- package/dist/components/tabs/tab-close-event-args.d.ts +14 -0
- package/dist/components/tabs/tab-props.d.ts +27 -0
- package/dist/components/tabs/tab-selecting-event-args.d.ts +12 -0
- package/dist/components/tabs/tab-selection-changed-event-args.d.ts +13 -0
- package/dist/components/tabs/tabs-activation.d.ts +5 -0
- package/dist/components/tabs/tabs-placement.d.ts +2 -0
- package/dist/components/tabs/tabs-props.d.ts +47 -0
- package/dist/components/tabs/tabs-variant.d.ts +2 -0
- package/dist/components/tagbox/TagBox.d.ts +160 -0
- package/dist/components/tagbox/index.d.ts +2 -0
- package/dist/components/tagbox/tag-box-props.d.ts +65 -0
- package/dist/components/textarea/TextArea.d.ts +80 -0
- package/dist/components/textarea/index.d.ts +3 -0
- package/dist/components/textarea/text-area-props.d.ts +42 -0
- package/dist/components/textarea/text-area-resize.d.ts +2 -0
- package/dist/components/textbox/TextBox.d.ts +98 -0
- package/dist/components/textbox/text-box-props.d.ts +47 -0
- package/dist/components/textbox/text-box-type.d.ts +1 -0
- package/dist/components/tileview/TileView.d.ts +138 -0
- package/dist/components/tileview/index.d.ts +6 -0
- package/dist/components/tileview/tile-click-event-args.d.ts +9 -0
- package/dist/components/tileview/tile-reorder-event-args.d.ts +14 -0
- package/dist/components/tileview/tile-selection-changed-event-args.d.ts +11 -0
- package/dist/components/tileview/tile-view-item.d.ts +21 -0
- package/dist/components/tileview/tile-view-props.d.ts +41 -0
- package/dist/components/timeline/Timeline.d.ts +123 -0
- package/dist/components/timeline/index.d.ts +5 -0
- package/dist/components/timeline/timeline-item-click-event-args.d.ts +9 -0
- package/dist/components/timeline/timeline-item.d.ts +24 -0
- package/dist/components/timeline/timeline-props.d.ts +33 -0
- package/dist/components/timeline/timeline-selection-changed-event-args.d.ts +11 -0
- package/dist/components/toast/Toast.d.ts +63 -0
- package/dist/components/toast/Toaster.d.ts +75 -0
- package/dist/components/toast/index.d.ts +9 -0
- package/dist/components/toast/show-toast.d.ts +20 -0
- package/dist/components/toast/toast-action.d.ts +7 -0
- package/dist/components/toast/toast-close-reason.d.ts +2 -0
- package/dist/components/toast/toast-position.d.ts +5 -0
- package/dist/components/toast/toast-props.d.ts +28 -0
- package/dist/components/toast/toast-tone.d.ts +2 -0
- package/dist/components/toast/toaster-props.d.ts +20 -0
- package/dist/components/toolbar/Toolbar.d.ts +121 -0
- package/dist/components/toolbar/ToolbarSeparator.d.ts +6 -0
- package/dist/components/toolbar/index.d.ts +9 -0
- package/dist/components/toolbar/toolbar-item-click-event-args.d.ts +9 -0
- package/dist/components/toolbar/toolbar-item-overflow.d.ts +2 -0
- package/dist/components/toolbar/toolbar-item-type.d.ts +2 -0
- package/dist/components/toolbar/toolbar-item.d.ts +41 -0
- package/dist/components/toolbar/toolbar-orientation.d.ts +2 -0
- package/dist/components/toolbar/toolbar-overflow.d.ts +2 -0
- package/dist/components/toolbar/toolbar-props.d.ts +31 -0
- package/dist/components/tooltip/Tooltip.d.ts +68 -0
- package/dist/components/tooltip/add-tooltip.d.ts +11 -0
- package/dist/components/tooltip/index.d.ts +5 -0
- package/dist/components/tooltip/tooltip-hub.d.ts +14 -0
- package/dist/components/tooltip/tooltip-props.d.ts +25 -0
- package/dist/components/tooltip/tooltip-show-on.d.ts +2 -0
- package/dist/components/tooltip/tooltip-target.d.ts +3 -0
- package/dist/components/treeview/TreeModel.d.ts +43 -0
- package/dist/components/treeview/TreeView.d.ts +246 -0
- package/dist/components/treeview/index.d.ts +16 -0
- package/dist/components/treeview/tree-check-state.d.ts +2 -0
- package/dist/components/treeview/tree-fields.d.ts +7 -0
- package/dist/components/treeview/tree-node.d.ts +12 -0
- package/dist/components/treeview/tree-row-parts.d.ts +13 -0
- package/dist/components/treeview/tree-row.d.ts +9 -0
- package/dist/components/treeview/tree-view-check-changed-event-args.d.ts +13 -0
- package/dist/components/treeview/tree-view-expand-on.d.ts +5 -0
- package/dist/components/treeview/tree-view-expanded-event-args.d.ts +8 -0
- package/dist/components/treeview/tree-view-expanding-event-args.d.ts +11 -0
- package/dist/components/treeview/tree-view-item-click-event-args.d.ts +8 -0
- package/dist/components/treeview/tree-view-item-template.d.ts +7 -0
- package/dist/components/treeview/tree-view-load-children.d.ts +2 -0
- package/dist/components/treeview/tree-view-props.d.ts +84 -0
- package/dist/components/treeview/tree-view-selection-changed-event-args.d.ts +10 -0
- package/dist/components/treeview/tree-view-selection-mode.d.ts +2 -0
- package/dist/components/validationsummary/ValidationSummary.d.ts +57 -0
- package/dist/components/validationsummary/index.d.ts +3 -0
- package/dist/components/validationsummary/summary-item-click-event-args.d.ts +11 -0
- package/dist/components/validationsummary/validation-summary-props.d.ts +17 -0
- package/dist/core/UiLocale.d.ts +52 -0
- package/dist/core/access-key-entry.d.ts +10 -0
- package/dist/core/access-key.d.ts +44 -0
- package/dist/core/after-press.d.ts +5 -0
- package/dist/core/back-button.d.ts +15 -0
- package/dist/core/chord.d.ts +9 -0
- package/dist/core/command-fields.d.ts +17 -0
- package/dist/core/command-registry.d.ts +37 -0
- package/dist/core/command-run-event-args.d.ts +11 -0
- package/dist/core/command.d.ts +41 -0
- package/dist/core/commands-changed-event-args.d.ts +4 -0
- package/dist/core/component-tree.d.ts +10 -0
- package/dist/core/connect-i18n.d.ts +11 -0
- package/dist/core/container.d.ts +55 -0
- package/dist/core/control-size.d.ts +2 -0
- package/dist/core/control.d.ts +185 -0
- package/dist/core/cover-record.d.ts +9 -0
- package/dist/core/cover.d.ts +11 -0
- package/dist/core/draw-parts.d.ts +28 -0
- package/dist/core/every.d.ts +5 -0
- package/dist/core/fill-template.d.ts +2 -0
- package/dist/core/fill-text.d.ts +6 -0
- package/dist/core/flow-home.d.ts +9 -0
- package/dist/core/focus-guard.d.ts +2 -0
- package/dist/core/focus-mark.d.ts +8 -0
- package/dist/core/focus.d.ts +150 -0
- package/dist/core/fold-text.d.ts +6 -0
- package/dist/core/follow.d.ts +7 -0
- package/dist/core/function-value.d.ts +6 -0
- package/dist/core/given-field.d.ts +12 -0
- package/dist/core/glyphs.d.ts +69 -0
- package/dist/core/icon-source.d.ts +16 -0
- package/dist/core/input-mode.d.ts +2 -0
- package/dist/core/key-windows.d.ts +8 -0
- package/dist/core/keyboard.d.ts +49 -0
- package/dist/core/keymap-changed-event-args.d.ts +7 -0
- package/dist/core/keymap.d.ts +6 -0
- package/dist/core/language-look.d.ts +31 -0
- package/dist/core/later.d.ts +4 -0
- package/dist/core/live-controls.d.ts +12 -0
- package/dist/core/locale-source.d.ts +9 -0
- package/dist/core/look-watch.d.ts +5 -0
- package/dist/core/measure/box.d.ts +21 -0
- package/dist/core/measure/drawn.d.ts +7 -0
- package/dist/core/measure/element-of.d.ts +12 -0
- package/dist/core/measure/every-frame.d.ts +8 -0
- package/dist/core/measure/hit-cover.d.ts +8 -0
- package/dist/core/measure/hit-options.d.ts +12 -0
- package/dist/core/measure/hits.d.ts +18 -0
- package/dist/core/measure/index.d.ts +28 -0
- package/dist/core/measure/job.d.ts +9 -0
- package/dist/core/measure/layout-change.d.ts +2 -0
- package/dist/core/measure/layout-options.d.ts +11 -0
- package/dist/core/measure/lengths.d.ts +13 -0
- package/dist/core/measure/look.d.ts +11 -0
- package/dist/core/measure/loop.d.ts +10 -0
- package/dist/core/measure/media.d.ts +8 -0
- package/dist/core/measure/motion.d.ts +10 -0
- package/dist/core/measure/observers.d.ts +13 -0
- package/dist/core/measure/on-layout.d.ts +24 -0
- package/dist/core/measure/page-events.d.ts +6 -0
- package/dist/core/measure/page.d.ts +11 -0
- package/dist/core/measure/pending-scroll.d.ts +9 -0
- package/dist/core/measure/pending-scrolls.d.ts +7 -0
- package/dist/core/measure/point.d.ts +5 -0
- package/dist/core/measure/probe-set.d.ts +35 -0
- package/dist/core/measure/read.d.ts +54 -0
- package/dist/core/measure/rect.d.ts +9 -0
- package/dist/core/measure/reveal-options.d.ts +20 -0
- package/dist/core/measure/reveal-range.d.ts +7 -0
- package/dist/core/measure/round-reads.d.ts +14 -0
- package/dist/core/measure/rounds.d.ts +36 -0
- package/dist/core/measure/scroll-memory.d.ts +14 -0
- package/dist/core/measure/scroll-motion.d.ts +5 -0
- package/dist/core/measure/scroll-place.d.ts +5 -0
- package/dist/core/measure/scroll.d.ts +43 -0
- package/dist/core/measure/size-box.d.ts +2 -0
- package/dist/core/measure/size.d.ts +5 -0
- package/dist/core/measure/text-probes.d.ts +19 -0
- package/dist/core/measure/text-widths.d.ts +14 -0
- package/dist/core/measure/view.d.ts +2 -0
- package/dist/core/measure/viewport-rect.d.ts +10 -0
- package/dist/core/measure/viewport.d.ts +12 -0
- package/dist/core/measure/watch.d.ts +39 -0
- package/dist/core/measure/watcher.d.ts +41 -0
- package/dist/core/measure/window-bound.d.ts +11 -0
- package/dist/core/measure/window-frame.d.ts +25 -0
- package/dist/core/mirror-page.d.ts +9 -0
- package/dist/core/next-id.d.ts +1 -0
- package/dist/core/node-kind.d.ts +10 -0
- package/dist/core/on-language.d.ts +9 -0
- package/dist/core/on-re-state.d.ts +6 -0
- package/dist/core/order-controls.d.ts +7 -0
- package/dist/core/page-documents.d.ts +34 -0
- package/dist/core/page-layer.d.ts +18 -0
- package/dist/core/parsed-access-key.d.ts +9 -0
- package/dist/core/part-writes.d.ts +23 -0
- package/dist/core/platform.d.ts +2 -0
- package/dist/core/press-origin.d.ts +5 -0
- package/dist/core/prop-binding.d.ts +25 -0
- package/dist/core/shortcut-conflict.d.ts +12 -0
- package/dist/core/shortcut-handler.d.ts +2 -0
- package/dist/core/shortcut-info.d.ts +19 -0
- package/dist/core/shortcut-options.d.ts +33 -0
- package/dist/core/shortcut-registration.d.ts +21 -0
- package/dist/core/shortcut-registry.d.ts +46 -0
- package/dist/core/shortcut-text.d.ts +2 -0
- package/dist/core/show-icon.d.ts +7 -0
- package/dist/core/stacked-window.d.ts +9 -0
- package/dist/core/ui-locale-changed-event-args.d.ts +5 -0
- package/dist/core/ui-locale.d.ts +11 -0
- package/dist/core/ui-pack-module.d.ts +5 -0
- package/dist/core/ui-pack.d.ts +3 -0
- package/dist/core/ui-strings.d.ts +808 -0
- package/dist/core/window-events.d.ts +14 -0
- package/dist/core/window-stack.d.ts +21 -0
- package/dist/defineProperty-C0rC37pP.js +39 -0
- package/dist/excel/cell-range.d.ts +11 -0
- package/dist/excel/date-format.d.ts +6 -0
- package/dist/excel/excel-customize-cell-args.d.ts +8 -0
- package/dist/excel/excel-export-options.d.ts +65 -0
- package/dist/excel/export-data-grid.d.ts +20 -0
- package/dist/excel/index.d.ts +6 -0
- package/dist/excel/index.js +243 -0
- package/dist/excel/index.js.map +1 -0
- package/dist/excel/number-format.d.ts +6 -0
- package/dist/formula-guard-NYlpoA-t.js +10 -0
- package/dist/formula-guard-NYlpoA-t.js.map +1 -0
- package/dist/generated/tokens.d.ts +23940 -0
- package/dist/index.d.ts +198 -0
- package/dist/index.js +108736 -0
- package/dist/index.js.map +1 -0
- package/dist/locales/en.json +770 -0
- package/dist/locales/tr.json +770 -0
- package/dist/parts/chart/chart-paths.d.ts +30 -0
- package/dist/parts/chart/chart-scale.d.ts +13 -0
- package/dist/parts/chart/chart-text.d.ts +36 -0
- package/dist/parts/chart/nice-ticks.d.ts +6 -0
- package/dist/parts/chart/svg-parts.d.ts +16 -0
- package/dist/parts/chart/thin-out.d.ts +6 -0
- package/dist/parts/chart/time-ticks.d.ts +7 -0
- package/dist/parts/chart/value-motion.d.ts +17 -0
- package/dist/parts/code/barcode-encode.d.ts +23 -0
- package/dist/parts/code/code-image.d.ts +32 -0
- package/dist/parts/code/qr-encode.d.ts +10 -0
- package/dist/parts/color/color-hsva.d.ts +7 -0
- package/dist/parts/color/color-rgba.d.ts +7 -0
- package/dist/parts/color/colors.d.ts +11 -0
- package/dist/parts/customizer/Customizer.d.ts +64 -0
- package/dist/parts/customizer/NameForm.d.ts +10 -0
- package/dist/parts/customizer/customizer-command.d.ts +5 -0
- package/dist/parts/customizer/customizer-names.d.ts +9 -0
- package/dist/parts/customizer/customizer-node.d.ts +15 -0
- package/dist/parts/customizer/customizer-source.d.ts +27 -0
- package/dist/parts/data/DataItems.d.ts +57 -0
- package/dist/parts/data/KeyedItems.d.ts +97 -0
- package/dist/parts/data/empty-key.d.ts +2 -0
- package/dist/parts/data/keyed-item.d.ts +9 -0
- package/dist/parts/data/text-search.d.ts +12 -0
- package/dist/parts/dates/add-days.d.ts +1 -0
- package/dist/parts/dates/add-months.d.ts +2 -0
- package/dist/parts/dates/date-kind.d.ts +2 -0
- package/dist/parts/dates/date-part.d.ts +1 -0
- package/dist/parts/dates/date-pattern-of.d.ts +4 -0
- package/dist/parts/dates/date-pattern.d.ts +7 -0
- package/dist/parts/dates/date-to-digits.d.ts +3 -0
- package/dist/parts/dates/day-start.d.ts +2 -0
- package/dist/parts/dates/digits-to-date.d.ts +3 -0
- package/dist/parts/dates/first-day-of-week.d.ts +2 -0
- package/dist/parts/dates/iso-week.d.ts +2 -0
- package/dist/parts/dates/same-day.d.ts +1 -0
- package/dist/parts/dates/time-zone.d.ts +56 -0
- package/dist/parts/drag/DragGhost.d.ts +64 -0
- package/dist/parts/drag/auto-scroll-options.d.ts +19 -0
- package/dist/parts/drag/auto-scroll.d.ts +11 -0
- package/dist/parts/drag/drag-boxes.d.ts +33 -0
- package/dist/parts/drag/scroll-step.d.ts +6 -0
- package/dist/parts/drag/stack-cover.d.ts +7 -0
- package/dist/parts/field/Field.d.ts +160 -0
- package/dist/parts/field/box-area.d.ts +2 -0
- package/dist/parts/field/enter-key-event-args.d.ts +6 -0
- package/dist/parts/field/field-button-click-event-args.d.ts +7 -0
- package/dist/parts/field/field-button.d.ts +18 -0
- package/dist/parts/field/field-label-mode.d.ts +2 -0
- package/dist/parts/field/field-props.d.ts +44 -0
- package/dist/parts/field/field-variant.d.ts +2 -0
- package/dist/parts/field/pressed-focusable.d.ts +3 -0
- package/dist/parts/field/same-as-written.d.ts +5 -0
- package/dist/parts/field/validate-on.d.ts +2 -0
- package/dist/parts/field/validated-event-args.d.ts +7 -0
- package/dist/parts/field/value-changed-event-args.d.ts +10 -0
- package/dist/parts/icalendar/add-duration.d.ts +9 -0
- package/dist/parts/icalendar/date-property.d.ts +4 -0
- package/dist/parts/icalendar/escape-text.d.ts +2 -0
- package/dist/parts/icalendar/event-lines.d.ts +3 -0
- package/dist/parts/icalendar/fold-line.d.ts +2 -0
- package/dist/parts/icalendar/format-content-line.d.ts +3 -0
- package/dist/parts/icalendar/format-offset.d.ts +2 -0
- package/dist/parts/icalendar/icalendar-component.d.ts +8 -0
- package/dist/parts/icalendar/icalendar-date.d.ts +6 -0
- package/dist/parts/icalendar/icalendar-event.d.ts +25 -0
- package/dist/parts/icalendar/icalendar-moment.d.ts +12 -0
- package/dist/parts/icalendar/icalendar-observance.d.ts +15 -0
- package/dist/parts/icalendar/icalendar-property.d.ts +9 -0
- package/dist/parts/icalendar/icalendar-time-zone.d.ts +7 -0
- package/dist/parts/icalendar/icalendar-write-options.d.ts +15 -0
- package/dist/parts/icalendar/icalendar.d.ts +13 -0
- package/dist/parts/icalendar/observance-moment.d.ts +7 -0
- package/dist/parts/icalendar/parse-icalendar.d.ts +11 -0
- package/dist/parts/icalendar/read-components.d.ts +3 -0
- package/dist/parts/icalendar/read-content-line.d.ts +3 -0
- package/dist/parts/icalendar/read-duration.d.ts +5 -0
- package/dist/parts/icalendar/read-event.d.ts +4 -0
- package/dist/parts/icalendar/read-icalendar-dates.d.ts +4 -0
- package/dist/parts/icalendar/read-offset.d.ts +2 -0
- package/dist/parts/icalendar/read-time-zone.d.ts +4 -0
- package/dist/parts/icalendar/same-form.d.ts +3 -0
- package/dist/parts/icalendar/short-zone-name.d.ts +2 -0
- package/dist/parts/icalendar/time-zone-lines.d.ts +10 -0
- package/dist/parts/icalendar/unescape-text.d.ts +2 -0
- package/dist/parts/icalendar/unfold-lines.d.ts +2 -0
- package/dist/parts/icalendar/write-icalendar.d.ts +9 -0
- package/dist/parts/item-layout/ItemLayout.d.ts +61 -0
- package/dist/parts/item-layout/item-layout-options.d.ts +17 -0
- package/dist/parts/item-layout/layout-added-item.d.ts +13 -0
- package/dist/parts/item-layout/layout-customization.d.ts +13 -0
- package/dist/parts/item-layout/layout-node.d.ts +24 -0
- package/dist/parts/item-tree/ItemTree.d.ts +34 -0
- package/dist/parts/item-tree/children-at.d.ts +2 -0
- package/dist/parts/item-tree/item-paths.d.ts +18 -0
- package/dist/parts/item-tree/ordered.d.ts +2 -0
- package/dist/parts/list/OptionList.d.ts +144 -0
- package/dist/parts/list/item-field.d.ts +2 -0
- package/dist/parts/list/item-own-value.d.ts +2 -0
- package/dist/parts/list/item-source.d.ts +12 -0
- package/dist/parts/list/list-move.d.ts +2 -0
- package/dist/parts/list/option-chosen-event-args.d.ts +5 -0
- package/dist/parts/list/option-parts.d.ts +10 -0
- package/dist/parts/list/read-item-field.d.ts +6 -0
- package/dist/parts/mask/InputMask.d.ts +48 -0
- package/dist/parts/mask/MaskedText.d.ts +38 -0
- package/dist/parts/mask/input-mask-options.d.ts +11 -0
- package/dist/parts/mask/mask-char.d.ts +4 -0
- package/dist/parts/mask/mask-chars.d.ts +3 -0
- package/dist/parts/mask/mask-slot.d.ts +8 -0
- package/dist/parts/mask/parse-mask.d.ts +4 -0
- package/dist/parts/menu/MenuList.d.ts +104 -0
- package/dist/parts/menu/line-after.d.ts +4 -0
- package/dist/parts/menu/menu-item-click-event-args.d.ts +10 -0
- package/dist/parts/menu/menu-item-merge-at.d.ts +6 -0
- package/dist/parts/menu/menu-item-merge.d.ts +6 -0
- package/dist/parts/menu/menu-item.d.ts +52 -0
- package/dist/parts/overlay/OverlayPanel.d.ts +138 -0
- package/dist/parts/overlay/inert-around.d.ts +8 -0
- package/dist/parts/overlay/overlay-close-reason.d.ts +5 -0
- package/dist/parts/overlay/overlay-closed-event-args.d.ts +6 -0
- package/dist/parts/overlay/overlay-closing-event-args.d.ts +8 -0
- package/dist/parts/overlay/overlay-container.d.ts +3 -0
- package/dist/parts/overlay/overlay-event-args.d.ts +5 -0
- package/dist/parts/overlay/overlay-opening-event-args.d.ts +6 -0
- package/dist/parts/overlay/overlay-panel-props.d.ts +54 -0
- package/dist/parts/overlay/swipe-tracker.d.ts +11 -0
- package/dist/parts/popup/Popup.d.ts +56 -0
- package/dist/parts/popup/place-near.d.ts +10 -0
- package/dist/parts/popup/place-options.d.ts +10 -0
- package/dist/parts/popup/place-popup.d.ts +10 -0
- package/dist/parts/popup/placed.d.ts +7 -0
- package/dist/parts/popup/popup-anchor.d.ts +4 -0
- package/dist/parts/popup/popup-close-reason.d.ts +2 -0
- package/dist/parts/popup/popup-open-options.d.ts +12 -0
- package/dist/parts/popup/popup-placement.d.ts +6 -0
- package/dist/parts/recurrence/add-rule-date.d.ts +6 -0
- package/dist/parts/recurrence/describe-recurrence.d.ts +16 -0
- package/dist/parts/recurrence/filter-rule-dates.d.ts +3 -0
- package/dist/parts/recurrence/format-recurrence-rule.d.ts +3 -0
- package/dist/parts/recurrence/format-rule-date.d.ts +3 -0
- package/dist/parts/recurrence/parse-recurrence-rule.d.ts +11 -0
- package/dist/parts/recurrence/parse-rule-date.d.ts +3 -0
- package/dist/parts/recurrence/read-rule-dates.d.ts +7 -0
- package/dist/parts/recurrence/recurrence-dates-options.d.ts +7 -0
- package/dist/parts/recurrence/recurrence-dates.d.ts +14 -0
- package/dist/parts/recurrence/recurrence-frequency.d.ts +2 -0
- package/dist/parts/recurrence/recurrence-rule.d.ts +36 -0
- package/dist/parts/recurrence/rule-date.d.ts +10 -0
- package/dist/parts/recurrence/rule-weekday.d.ts +7 -0
- package/dist/parts/recurrence/weekday-codes.d.ts +2 -0
- package/dist/parts/slide/slide-track-host.d.ts +20 -0
- package/dist/parts/slide/slide-track.d.ts +51 -0
- package/dist/parts/validation/ValidationGroup.d.ts +25 -0
- package/dist/parts/validation/check-rules.d.ts +4 -0
- package/dist/parts/validation/validate-fields.d.ts +14 -0
- package/dist/parts/validation/validate-targets.d.ts +3 -0
- package/dist/parts/validation/validation-message.d.ts +2 -0
- package/dist/parts/validation/validation-result.d.ts +6 -0
- package/dist/parts/validation/validation-rule.d.ts +55 -0
- package/dist/parts/validation/validation-target.d.ts +10 -0
- package/dist/parts/window/follow-pointer.d.ts +6 -0
- package/dist/parts/window/resize-box.d.ts +13 -0
- package/dist/parts/window/resize-frame-parts.d.ts +7 -0
- package/dist/parts/window/resize-frame.d.ts +3 -0
- package/dist/parts/window/window-box.d.ts +7 -0
- package/dist/parts/window/window-edge.d.ts +2 -0
- package/dist/pdf/export-data-grid.d.ts +22 -0
- package/dist/pdf/index.d.ts +8 -0
- package/dist/pdf/index.js +354 -0
- package/dist/pdf/index.js.map +1 -0
- package/dist/pdf/pdf-cell.d.ts +32 -0
- package/dist/pdf/pdf-custom-draw-cell-args.d.ts +20 -0
- package/dist/pdf/pdf-customize-cell-args.d.ts +7 -0
- package/dist/pdf/pdf-export-options.d.ts +70 -0
- package/dist/pdf/pdf-export-result.d.ts +7 -0
- package/dist/pdf/pdf-margin.d.ts +7 -0
- package/dist/pdf/pdf-row-exporting-args.d.ts +7 -0
- package/dist/pdf/pdf-table.d.ts +49 -0
- package/dist/styles.css +37025 -0
- package/dist/tokens/index.d.ts +25737 -0
- package/dist/tokens/index.js +23976 -0
- package/dist/tokens/index.js.map +1 -0
- package/dist/tr-BvKE8jSF.js +1543 -0
- package/dist/tr-BvKE8jSF.js.map +1 -0
- package/docs/accordion.md +299 -0
- package/docs/actionsheet.md +214 -0
- package/docs/appbar.md +194 -0
- package/docs/appmenu-api.md +83 -0
- package/docs/appmenu-programmatic.md +76 -0
- package/docs/appmenu-search.md +66 -0
- package/docs/appmenu.md +150 -0
- package/docs/avatar.md +242 -0
- package/docs/badge.md +197 -0
- package/docs/bar-gauge-angles.md +87 -0
- package/docs/bar-gauge-data.md +122 -0
- package/docs/bar-gauge-labels.md +78 -0
- package/docs/bar-gauge.md +98 -0
- package/docs/barcode.md +193 -0
- package/docs/bottomnavigation.md +258 -0
- package/docs/bottomsheet.md +320 -0
- package/docs/breadcrumb.md +129 -0
- package/docs/button.md +420 -0
- package/docs/buttongroup.md +145 -0
- package/docs/buttons.md +169 -0
- package/docs/calendar.md +140 -0
- package/docs/card.md +258 -0
- package/docs/chart-bars.md +142 -0
- package/docs/chart-candles.md +164 -0
- package/docs/chart-funnel.md +115 -0
- package/docs/chart-heatmap.md +93 -0
- package/docs/chart-lines.md +128 -0
- package/docs/chart-live.md +62 -0
- package/docs/chart-pie.md +125 -0
- package/docs/chart-radar.md +124 -0
- package/docs/chart-ranges.md +127 -0
- package/docs/chart-references.md +126 -0
- package/docs/chart-scatter.md +139 -0
- package/docs/chart-waterfall.md +111 -0
- package/docs/chart-zoom.md +95 -0
- package/docs/chart.md +427 -0
- package/docs/checkbox.md +340 -0
- package/docs/chip.md +281 -0
- package/docs/choice.md +151 -0
- package/docs/colorbox.md +157 -0
- package/docs/combobox.md +218 -0
- package/docs/control.md +236 -0
- package/docs/data.md +127 -0
- package/docs/datagrid-api.md +424 -0
- package/docs/datagrid-bands.md +321 -0
- package/docs/datagrid-drag-select.md +330 -0
- package/docs/datagrid-drag.md +345 -0
- package/docs/datagrid-editing.md +541 -0
- package/docs/datagrid-filtering.md +564 -0
- package/docs/datagrid-forms.md +406 -0
- package/docs/datagrid-grouping.md +483 -0
- package/docs/datagrid-layout.md +544 -0
- package/docs/datagrid-lookups.md +367 -0
- package/docs/datagrid-master-detail.md +330 -0
- package/docs/datagrid-scrolling.md +352 -0
- package/docs/datagrid-selection.md +603 -0
- package/docs/datagrid.md +366 -0
- package/docs/datebox.md +205 -0
- package/docs/daterangebox.md +196 -0
- package/docs/display.md +148 -0
- package/docs/draggable.md +198 -0
- package/docs/drawer.md +233 -0
- package/docs/dropdown.md +327 -0
- package/docs/editors.md +157 -0
- package/docs/feedback.md +138 -0
- package/docs/fileuploader.md +205 -0
- package/docs/filterbuilder.md +605 -0
- package/docs/formlayout.md +122 -0
- package/docs/foundations.md +79 -0
- package/docs/gallery.md +248 -0
- package/docs/gauge-base.md +78 -0
- package/docs/gauge-circular.md +101 -0
- package/docs/gauge-dashboards.md +134 -0
- package/docs/gauge-linear.md +84 -0
- package/docs/gauge-markers.md +135 -0
- package/docs/gauge-marks.md +108 -0
- package/docs/gauge-ranges.md +133 -0
- package/docs/gauge-scales.md +117 -0
- package/docs/gauge.md +152 -0
- package/docs/getting-started.md +105 -0
- package/docs/home.md +66 -0
- package/docs/keyboard.md +190 -0
- package/docs/language.md +233 -0
- package/docs/layout.md +588 -0
- package/docs/listbox.md +378 -0
- package/docs/loadpanel.md +188 -0
- package/docs/lookup.md +216 -0
- package/docs/menus.md +317 -0
- package/docs/multiview.md +206 -0
- package/docs/navigation.md +143 -0
- package/docs/numberbox.md +314 -0
- package/docs/otpinput.md +197 -0
- package/docs/pagination.md +119 -0
- package/docs/popover.md +226 -0
- package/docs/progress.md +405 -0
- package/docs/qrcode.md +179 -0
- package/docs/radiogroup.md +328 -0
- package/docs/rating.md +128 -0
- package/docs/resizable.md +143 -0
- package/docs/ribbonmenu-api.md +130 -0
- package/docs/ribbonmenu-commands.md +118 -0
- package/docs/ribbonmenu-customization.md +93 -0
- package/docs/ribbonmenu-display.md +96 -0
- package/docs/ribbonmenu-layouts.md +59 -0
- package/docs/ribbonmenu-programmatic.md +91 -0
- package/docs/ribbonmenu.md +233 -0
- package/docs/scheduler-agenda.md +601 -0
- package/docs/scheduler-big-data.md +257 -0
- package/docs/scheduler-editing.md +549 -0
- package/docs/scheduler-form.md +635 -0
- package/docs/scheduler-icalendar.md +595 -0
- package/docs/scheduler-mobile.md +668 -0
- package/docs/scheduler-recurrence.md +424 -0
- package/docs/scheduler-resources.md +706 -0
- package/docs/scheduler-timeline.md +636 -0
- package/docs/scheduler.md +596 -0
- package/docs/scrollview.md +190 -0
- package/docs/showcase-home.md +31 -0
- package/docs/showcase.md +9 -0
- package/docs/signature.md +208 -0
- package/docs/skeleton.md +135 -0
- package/docs/slider.md +365 -0
- package/docs/sortable.md +217 -0
- package/docs/sparkline.md +119 -0
- package/docs/speeddial.md +294 -0
- package/docs/splitter.md +208 -0
- package/docs/stepper.md +240 -0
- package/docs/switch.md +246 -0
- package/docs/tabdocs-dock.md +881 -0
- package/docs/tabdocs-drag.md +558 -0
- package/docs/tabdocs-menus.md +693 -0
- package/docs/tabdocs-mobile.md +281 -0
- package/docs/tabdocs-tabs.md +834 -0
- package/docs/tabdocs-windows.md +660 -0
- package/docs/tabdocs-workspace.md +413 -0
- package/docs/tabdocs.md +892 -0
- package/docs/tabs.md +460 -0
- package/docs/tagbox.md +364 -0
- package/docs/textarea.md +309 -0
- package/docs/textbox.md +456 -0
- package/docs/tileview.md +210 -0
- package/docs/timeline.md +178 -0
- package/docs/toast.md +317 -0
- package/docs/tokens.md +5184 -0
- package/docs/toolbar.md +466 -0
- package/docs/tooltip.md +343 -0
- package/docs/treeview.md +758 -0
- package/docs/validationsummary.md +119 -0
- package/docs/window.md +560 -0
- package/docs/wizard.md +244 -0
- package/llms-full.txt +46708 -0
- package/llms.txt +211 -0
- package/package.json +124 -0
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
# ValidationSummary
|
|
2
|
+
|
|
3
|
+
> Editors · @motifx-community/ui 0.1.0-beta.8
|
|
4
|
+
|
|
5
|
+
Lists the invalid fields of a `ValidationGroup` under a header, with each field's label and message on its own line. Clicking a line moves focus to the field. The summary updates whenever a field in the group is validated or reset, and it is hidden when there are no errors.
|
|
6
|
+
|
|
7
|
+
## Import
|
|
8
|
+
|
|
9
|
+
```tsx
|
|
10
|
+
import { ValidationSummary, ValidationGroup } from '@motifx-community/ui';
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Using a summary above a form
|
|
14
|
+
|
|
15
|
+
Set `group` to the group the fields join with `validationGroup`. After `group.validate()`, the invalid fields are listed. A field that becomes valid leaves the list, and `group.reset()` clears it. Clicking a line moves focus to the field (`focusOnClick`).
|
|
16
|
+
|
|
17
|
+
```tsx
|
|
18
|
+
import { Button, NumberBox, Stack, TextBox, ValidationGroup, ValidationSummary } from '@motifx-community/ui';
|
|
19
|
+
|
|
20
|
+
/** The invalid fields of a form, listed above it after Save. Clicking a line moves to the field. */
|
|
21
|
+
export default function Form() {
|
|
22
|
+
const group = new ValidationGroup();
|
|
23
|
+
return (
|
|
24
|
+
<Stack gap="md" style="inline-size: 100%; max-inline-size: 420px">
|
|
25
|
+
<ValidationSummary class="vs-form" group={group} />
|
|
26
|
+
<TextBox label="Name" required validationGroup={group} />
|
|
27
|
+
<TextBox label="E-mail" required rules={[{ type: 'email' }]} validationGroup={group} />
|
|
28
|
+
<NumberBox label="Guests" required rules={[{ type: 'range', min: 1, max: 8 }]} validationGroup={group} />
|
|
29
|
+
<Stack orientation="horizontal" gap="sm">
|
|
30
|
+
<Button class="vs-save" text="Save" tone="accent" onclick={() => void group.validate({ focus: false })} />
|
|
31
|
+
<Button class="vs-reset" text="Start again" variant="outline" onclick={() => group.reset()} />
|
|
32
|
+
</Stack>
|
|
33
|
+
</Stack>
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Programmatic use
|
|
39
|
+
|
|
40
|
+
`header` sets the line above the list, and `showHeader` hides it. `onItemClick` reports which line was clicked, and `failed` and `count` report what is listed.
|
|
41
|
+
|
|
42
|
+
```tsx
|
|
43
|
+
import { reactive } from '@motifx/core';
|
|
44
|
+
import { Button, Stack, TextBox, ValidationGroup, ValidationSummary } from '@motifx-community/ui';
|
|
45
|
+
|
|
46
|
+
/** A custom header or none. The lines report which field was clicked, and `failed` reports how many there are. */
|
|
47
|
+
export default function Programmatic() {
|
|
48
|
+
const group = new ValidationGroup();
|
|
49
|
+
const s = reactive({ header: true, told: '', count: 0 });
|
|
50
|
+
const summary = new ValidationSummary({
|
|
51
|
+
group,
|
|
52
|
+
header: 'Before you send it',
|
|
53
|
+
showHeader: () => s.header,
|
|
54
|
+
onItemClick: e => (s.told = `pressed: ${e.text}`)
|
|
55
|
+
});
|
|
56
|
+
return (
|
|
57
|
+
<Stack gap="md" style="inline-size: 100%; max-inline-size: 420px">
|
|
58
|
+
<span class="vs-coded" onConfig={c => c.controls.add(summary)} />
|
|
59
|
+
<TextBox label="Street" required validationGroup={group} />
|
|
60
|
+
<TextBox label="Town" required validationGroup={group} />
|
|
61
|
+
<Stack orientation="horizontal" wrap align="center">
|
|
62
|
+
<Button class="vs-coded-check" text="Check" tone="accent" onclick={async () => {
|
|
63
|
+
await group.validate({ focus: false });
|
|
64
|
+
s.count = summary.count;
|
|
65
|
+
}} />
|
|
66
|
+
<Button text="Header on and off" variant="outline" onclick={() => (s.header = !s.header)} />
|
|
67
|
+
<output class="vs-coded-told">{() => `${s.count} failed${s.told ? `, ${s.told}` : ''}`}</output>
|
|
68
|
+
</Stack>
|
|
69
|
+
</Stack>
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Accessibility
|
|
75
|
+
|
|
76
|
+
| Topic | Details |
|
|
77
|
+
| --- | --- |
|
|
78
|
+
| `The summary` | A live region (`polite`). The lines are announced when they appear, and the summary is hidden when there are no errors. |
|
|
79
|
+
| `A line` | A button with the field's label and message (“E-mail: Enter a valid e-mail address”). Clicking it moves focus to the field. |
|
|
80
|
+
| `Glyph` | The icon before the header is decorative. |
|
|
81
|
+
|
|
82
|
+
## Styling
|
|
83
|
+
|
|
84
|
+
| Hook | Description |
|
|
85
|
+
| --- | --- |
|
|
86
|
+
| `.mx-validation-summary` | The summary. `data-empty` while there are no errors. |
|
|
87
|
+
| `.mx-validation-summary__header, .mx-validation-summary__icon, .mx-validation-summary__header-text` | The header, its glyph and its text. |
|
|
88
|
+
| `.mx-validation-summary__list, .mx-validation-summary__line, .mx-validation-summary__item` | The list, a line and the button inside it. |
|
|
89
|
+
|
|
90
|
+
### Component tokens
|
|
91
|
+
|
|
92
|
+
| Token | Description |
|
|
93
|
+
| --- | --- |
|
|
94
|
+
| `validation-summary.box, .icon, .header, .item` | Units: the box, the glyph before the header (`icon`), the header text and a line (`hover`, `focus`). |
|
|
95
|
+
| `validation-summary.gap, .line-gap` | The space between the header and the list, and between the lines. |
|
|
96
|
+
|
|
97
|
+
## API reference
|
|
98
|
+
|
|
99
|
+
### Props
|
|
100
|
+
|
|
101
|
+
| Prop | Type | Default | Description |
|
|
102
|
+
| --- | --- | --- | --- |
|
|
103
|
+
| `group` | `Bind<ValidationGroup \| null>` | `null` | The group whose invalid fields are listed. |
|
|
104
|
+
| `header` | `Bind<string>` | The kit string “Please correct the following” | The text above the list. |
|
|
105
|
+
| `showHeader` | `Bind<boolean>` | `true` | Shows the header. |
|
|
106
|
+
| `focusOnClick` | `Bind<boolean>` | `true` | Clicking a line moves focus to its field. |
|
|
107
|
+
|
|
108
|
+
### Events, properties and methods
|
|
109
|
+
|
|
110
|
+
| Member | Type | Description |
|
|
111
|
+
| --- | --- | --- |
|
|
112
|
+
| `onItemClick` | event | Occurs when a line is clicked (`target`, `text`). |
|
|
113
|
+
| `failed` | read-only | The invalid targets currently listed, in group order. |
|
|
114
|
+
| `count` | read-only | The number of lines. |
|
|
115
|
+
| `refresh()` | `void` | Redraws the lines from the current state of the fields. |
|
|
116
|
+
|
|
117
|
+
## Feedback
|
|
118
|
+
|
|
119
|
+
Loading issues…
|
package/docs/window.md
ADDED
|
@@ -0,0 +1,560 @@
|
|
|
1
|
+
# Window and dialog
|
|
2
|
+
|
|
3
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.8
|
|
4
|
+
|
|
5
|
+
A window or dialog built on the native `<dialog>` element. A single form can be shown as modeless or modal, depending on how you open it. It has a title bar, can be moved, resized, minimized and maximized, and Enter and Escape activate its buttons. Forms can open other forms, and `messageBox` and `confirm` cover common prompts.
|
|
6
|
+
|
|
7
|
+
## Import
|
|
8
|
+
|
|
9
|
+
```tsx
|
|
10
|
+
import { MxForm, messageBox, confirm, type FormResult } from '@motifx-community/ui';
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Declarative and programmatic
|
|
14
|
+
|
|
15
|
+
In JSX, `x-model` shows the form while the value is true and writes `false` when the user closes it. The form is hidden rather than disposed, and it lives with its parent. Programmatically, a form, usually a class with a `view()` method, opens with `show(host)` or `showDialog(host)`. It is added to the host and disposed when it closes.
|
|
16
|
+
|
|
17
|
+
```tsx
|
|
18
|
+
import { reactive } from '@motifx/core';
|
|
19
|
+
import { Button, MxForm, Stack, TextBox } from '@motifx-community/ui';
|
|
20
|
+
|
|
21
|
+
/** A form written as a class: its content comes from `view()`, and its buttons from the footer. */
|
|
22
|
+
export class RenameForm extends MxForm {
|
|
23
|
+
private readonly data = reactive({ name: 'Report.docx' });
|
|
24
|
+
|
|
25
|
+
constructor() {
|
|
26
|
+
super({ title: 'Rename', width: '24rem' });
|
|
27
|
+
const ok = new Button({ text: 'Rename', tone: 'accent' });
|
|
28
|
+
ok.element.addEventListener('click', () => this.close('ok'));
|
|
29
|
+
const cancel = new Button({ text: 'Cancel' });
|
|
30
|
+
cancel.element.addEventListener('click', () => this.close('cancel'));
|
|
31
|
+
const buttons = new Stack({ orientation: 'horizontal', wrap: true, justify: 'end' });
|
|
32
|
+
buttons.controls.add(ok, cancel);
|
|
33
|
+
this.footer = buttons;
|
|
34
|
+
this.acceptButton = ok;
|
|
35
|
+
this.cancelButton = cancel;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
get name(): string {
|
|
39
|
+
return this.data.name;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
override view() {
|
|
43
|
+
return <TextBox label="&New name" x-model={() => this.data.name} stretch />;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Modal and modeless
|
|
49
|
+
|
|
50
|
+
`show()` keeps the page usable. Several modeless windows can stack, and clicking one brings it to the front. `showDialog()` blocks everything else until it closes, and a modal form opened from another modal form blocks that form too.
|
|
51
|
+
|
|
52
|
+
```tsx
|
|
53
|
+
import type { Component } from '@motifx/core';
|
|
54
|
+
import { Button, MxForm, Stack } from '@motifx-community/ui';
|
|
55
|
+
|
|
56
|
+
/** Modeless windows that stack and minimize to a strip, and a modal form that opens another. */
|
|
57
|
+
export default function ModalAndModeless() {
|
|
58
|
+
let host: Component<HTMLDivElement> | null = null;
|
|
59
|
+
let dock: Stack | null = null;
|
|
60
|
+
let windows = 0;
|
|
61
|
+
|
|
62
|
+
const openWindow = () => {
|
|
63
|
+
const n = ++windows;
|
|
64
|
+
const form = new MxForm({
|
|
65
|
+
title: `Window ${n}`,
|
|
66
|
+
showMinimize: true,
|
|
67
|
+
showMaximize: true,
|
|
68
|
+
startPosition: 'manual',
|
|
69
|
+
left: 80 + n * 28,
|
|
70
|
+
top: 120 + n * 28,
|
|
71
|
+
width: '18rem',
|
|
72
|
+
minimizeTarget: dock,
|
|
73
|
+
content: <p>{`A modeless window, number ${n}.`}</p>,
|
|
74
|
+
});
|
|
75
|
+
form.show(host!);
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
const openNested = () => {
|
|
79
|
+
const outer = new MxForm({ title: 'Level 1', width: '22rem' });
|
|
80
|
+
const openInner = () => {
|
|
81
|
+
const inner = new MxForm({ title: 'Level 2', content: <p>The form below is blocked until this one closes.</p> });
|
|
82
|
+
void inner.showDialog(outer);
|
|
83
|
+
};
|
|
84
|
+
outer.content = (
|
|
85
|
+
<Stack orientation="horizontal" wrap align="center">
|
|
86
|
+
<p>A modal form.</p>
|
|
87
|
+
<Button text="Open level 2" onclick={openInner} />
|
|
88
|
+
</Stack>
|
|
89
|
+
);
|
|
90
|
+
void outer.showDialog(host!);
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
return (
|
|
94
|
+
<>
|
|
95
|
+
<Button text="Open a window" variant="outline" onclick={openWindow} />
|
|
96
|
+
<Button text="Open nested modal forms" variant="outline" onclick={openNested} />
|
|
97
|
+
<Stack
|
|
98
|
+
orientation="horizontal"
|
|
99
|
+
wrap
|
|
100
|
+
align="center"
|
|
101
|
+
ref={(c: Stack) => (dock = c)}
|
|
102
|
+
aria-label="Minimized windows"
|
|
103
|
+
role="group"
|
|
104
|
+
style="inline-size: 100%; min-block-size: var(--mx-control-height-md); padding: var(--mx-space-2); border: var(--mx-border-width-1) dashed var(--mx-color-stroke-card); border-radius: var(--mx-radius-md)"
|
|
105
|
+
/>
|
|
106
|
+
<div ref={(c: Component<HTMLDivElement>) => (host = c)} />
|
|
107
|
+
</>
|
|
108
|
+
);
|
|
109
|
+
}
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
## Title bar and frame
|
|
113
|
+
|
|
114
|
+
The title bar shows the icon, the title and the buttons you enable. The form moves by its title bar and stays inside the viewport. It resizes from its edges and corners, down to the `window.min-*` tokens. Each of these features has its own setting.
|
|
115
|
+
|
|
116
|
+
```tsx
|
|
117
|
+
import { reactive } from '@motifx/core';
|
|
118
|
+
import { Button, MxForm, Stack } from '@motifx-community/ui';
|
|
119
|
+
|
|
120
|
+
const NoteIcon = () => (
|
|
121
|
+
<svg viewBox="0 0 16 16" aria-hidden="true">
|
|
122
|
+
<path d="M3.5 2.5h9v11h-9zM5.5 5.5h5M5.5 8h5M5.5 10.5h3" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round" />
|
|
123
|
+
</svg>
|
|
124
|
+
);
|
|
125
|
+
|
|
126
|
+
const SWITCHES = ['showMinimize', 'showMaximize', 'resizable', 'movable', 'useDock'] as const;
|
|
127
|
+
|
|
128
|
+
/** A form with an icon, minimize and maximize, that moves and resizes; every part has its switch. */
|
|
129
|
+
export default function Frame() {
|
|
130
|
+
const s = reactive({ notes: false, showMinimize: true, showMaximize: true, resizable: true, movable: true, useDock: true });
|
|
131
|
+
let dock: Stack | null = null;
|
|
132
|
+
|
|
133
|
+
return (
|
|
134
|
+
<>
|
|
135
|
+
<Stack orientation="horizontal" wrap align="center" role="group" aria-label="Frame switches">
|
|
136
|
+
{SWITCHES.map((key) => (
|
|
137
|
+
<Button key={key} text={key === 'useDock' ? 'minimize to the strip' : key} size="sm" toggle x-model={() => s[key]} />
|
|
138
|
+
))}
|
|
139
|
+
</Stack>
|
|
140
|
+
<Stack orientation="horizontal" wrap align="center">
|
|
141
|
+
<Button text="Open notes" variant="outline" onclick={() => (s.notes = true)} />
|
|
142
|
+
</Stack>
|
|
143
|
+
<Stack
|
|
144
|
+
class="win-dock"
|
|
145
|
+
orientation="horizontal"
|
|
146
|
+
wrap
|
|
147
|
+
align="center"
|
|
148
|
+
ref={(c: Stack) => (dock = c)}
|
|
149
|
+
aria-label="Minimized windows"
|
|
150
|
+
role="group"
|
|
151
|
+
style="inline-size: 100%; min-block-size: var(--mx-control-height-md); padding: var(--mx-space-2); border: var(--mx-border-width-1) dashed var(--mx-color-stroke-card); border-radius: var(--mx-radius-md)"
|
|
152
|
+
/>
|
|
153
|
+
<MxForm
|
|
154
|
+
class="win-notes"
|
|
155
|
+
title="Notes"
|
|
156
|
+
icon={() => <NoteIcon />}
|
|
157
|
+
width="22rem"
|
|
158
|
+
showMinimize={() => s.showMinimize}
|
|
159
|
+
showMaximize={() => s.showMaximize}
|
|
160
|
+
resizable={() => s.resizable}
|
|
161
|
+
movable={() => s.movable}
|
|
162
|
+
x-model={() => s.notes}
|
|
163
|
+
onLoaded={(e) => (e.source.minimizeTarget = () => (s.useDock ? dock : null))}
|
|
164
|
+
>
|
|
165
|
+
<p>Drag the title bar, pull an edge, double-click the title bar.</p>
|
|
166
|
+
</MxForm>
|
|
167
|
+
</>
|
|
168
|
+
);
|
|
169
|
+
}
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
## Default and cancel buttons
|
|
173
|
+
|
|
174
|
+
Enter in a single-line field clicks `acceptButton`, and Escape clicks `cancelButton`. Without a cancel button, `closeOnEscape` decides. It is on for modal forms and off for modeless ones.
|
|
175
|
+
|
|
176
|
+
```tsx
|
|
177
|
+
import { reactive } from '@motifx/core';
|
|
178
|
+
import { Button, MxForm, Stack, TextBox } from '@motifx-community/ui';
|
|
179
|
+
|
|
180
|
+
/** A form written as a class: its content comes from `view()`, and its buttons from the footer. */
|
|
181
|
+
export class RenameForm extends MxForm {
|
|
182
|
+
private readonly data = reactive({ name: 'Report.docx' });
|
|
183
|
+
|
|
184
|
+
constructor() {
|
|
185
|
+
super({ title: 'Rename', width: '24rem' });
|
|
186
|
+
const ok = new Button({ text: 'Rename', tone: 'accent' });
|
|
187
|
+
ok.element.addEventListener('click', () => this.close('ok'));
|
|
188
|
+
const cancel = new Button({ text: 'Cancel' });
|
|
189
|
+
cancel.element.addEventListener('click', () => this.close('cancel'));
|
|
190
|
+
const buttons = new Stack({ orientation: 'horizontal', wrap: true, justify: 'end' });
|
|
191
|
+
buttons.controls.add(ok, cancel);
|
|
192
|
+
this.footer = buttons;
|
|
193
|
+
this.acceptButton = ok;
|
|
194
|
+
this.cancelButton = cancel;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
get name(): string {
|
|
198
|
+
return this.data.name;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
override view() {
|
|
202
|
+
return <TextBox label="&New name" x-model={() => this.data.name} stretch />;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
## Events
|
|
208
|
+
|
|
209
|
+
`onClosing` can keep the form open, in this case while it has unsaved changes. `reason` distinguishes a user action (close button, Escape) from a programmatic close and from the owner being disposed.
|
|
210
|
+
|
|
211
|
+
```tsx
|
|
212
|
+
import { reactive } from '@motifx/core';
|
|
213
|
+
import { Button, MxForm, Stack } from '@motifx-community/ui';
|
|
214
|
+
|
|
215
|
+
/** The events of a form in order; onClosing keeps it open while it has changes. */
|
|
216
|
+
export default function Events() {
|
|
217
|
+
const s = reactive({ open: false, dirty: false, log: [] as string[] });
|
|
218
|
+
|
|
219
|
+
const log = (line: string) => {
|
|
220
|
+
s.log.push(line);
|
|
221
|
+
if (s.log.length > 6) s.log.shift();
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
return (
|
|
225
|
+
<>
|
|
226
|
+
<Stack orientation="horizontal" wrap align="center">
|
|
227
|
+
<Button text="Open" variant="outline" onclick={() => (s.open = true)} />
|
|
228
|
+
<output class="win-log">{() => s.log.join(' · ')}</output>
|
|
229
|
+
</Stack>
|
|
230
|
+
<MxForm
|
|
231
|
+
class="win-events"
|
|
232
|
+
title="Events"
|
|
233
|
+
x-model={() => s.open}
|
|
234
|
+
onLoaded={() => log('loaded')}
|
|
235
|
+
onShown={() => log('shown')}
|
|
236
|
+
onActivate={() => log('activate')}
|
|
237
|
+
onDeactivate={() => log('deactivate')}
|
|
238
|
+
onClosing={(e) => {
|
|
239
|
+
log(`closing (${e.reason})`);
|
|
240
|
+
if (s.dirty && e.reason === 'user') e.cancel = true;
|
|
241
|
+
}}
|
|
242
|
+
onClosed={(e) => log(`closed: ${e.result}`)}
|
|
243
|
+
>
|
|
244
|
+
<Button text={() => (s.dirty ? 'Has changes: close is kept' : 'No changes')} toggle x-model={() => s.dirty} />
|
|
245
|
+
</MxForm>
|
|
246
|
+
</>
|
|
247
|
+
);
|
|
248
|
+
}
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
## Message boxes
|
|
252
|
+
|
|
253
|
+
`messageBox` shows a modal message with buttons and resolves with the result of the button pressed. `confirm` asks OK or Cancel and resolves to `true` or `false`. Caution and danger boxes are alert dialogs, and a danger box starts on its safe button.
|
|
254
|
+
|
|
255
|
+
```tsx
|
|
256
|
+
import { reactive } from '@motifx/core';
|
|
257
|
+
import { Button, confirm, messageBox } from '@motifx-community/ui';
|
|
258
|
+
|
|
259
|
+
/** A message, a question with three answers, a confirmation, and custom buttons. */
|
|
260
|
+
export default function MessageBoxes() {
|
|
261
|
+
const answer = reactive({ text: '' });
|
|
262
|
+
|
|
263
|
+
const info = async () => {
|
|
264
|
+
const result = await messageBox({ title: 'Saved', text: 'The file was saved.', tone: 'success' });
|
|
265
|
+
answer.text = `Answer: ${result}`;
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
const yesNoCancel = async () => {
|
|
269
|
+
const result = await messageBox({ title: 'Unsaved changes', text: 'Save the changes before closing?', buttons: ['yes', 'no', 'cancel'], tone: 'caution' });
|
|
270
|
+
answer.text = `Answer: ${result}`;
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
const confirmDelete = async () => {
|
|
274
|
+
const ok = await confirm('Delete “Report.docx”? This cannot be undone.', { title: 'Delete file', tone: 'danger' });
|
|
275
|
+
answer.text = `Answer: ${ok}`;
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
const ownButtons = async () => {
|
|
279
|
+
const result = await messageBox({
|
|
280
|
+
title: 'Update',
|
|
281
|
+
text: 'A new version is ready.',
|
|
282
|
+
buttons: [
|
|
283
|
+
{ text: 'Restart now', result: 'restart' },
|
|
284
|
+
{ text: 'Later', result: 'later' },
|
|
285
|
+
],
|
|
286
|
+
tone: 'info',
|
|
287
|
+
});
|
|
288
|
+
answer.text = `Answer: ${result}`;
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
return (
|
|
292
|
+
<>
|
|
293
|
+
<Button text="Info" variant="outline" onclick={info} />
|
|
294
|
+
<Button text="Yes / No / Cancel" variant="outline" onclick={yesNoCancel} />
|
|
295
|
+
<Button text="Confirm delete" variant="outline" onclick={confirmDelete} />
|
|
296
|
+
<Button text="Own buttons" variant="outline" onclick={ownButtons} />
|
|
297
|
+
<output class="win-answer">{() => answer.text}</output>
|
|
298
|
+
</>
|
|
299
|
+
);
|
|
300
|
+
}
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
## Keyboard
|
|
304
|
+
|
|
305
|
+
| Key | Description |
|
|
306
|
+
| --- | --- |
|
|
307
|
+
| `Tab / Shift + Tab` | Inside a modal form, Tab cycles within it. From a modeless form, it continues to the page. |
|
|
308
|
+
| `Escape` | Clicks `cancelButton`. Otherwise, it closes the form when `closeOnEscape` is on, which is the default for modal forms. |
|
|
309
|
+
| `Enter` | In a single-line field, clicks `acceptButton`. This does not apply in a text area or on a button. |
|
|
310
|
+
| `Alt + key (`&Name`)` | Access keys work inside the front window. While a modal form is open, they work only inside it. |
|
|
311
|
+
| `Moving, resizing` | Moved and resized with the pointer. There are no built-in keys, but an application can add them with `form.addShortcut(...)` and the `left`, `top`, `width` and `height` properties. |
|
|
312
|
+
|
|
313
|
+
## Accessibility
|
|
314
|
+
|
|
315
|
+
| Topic | Details |
|
|
316
|
+
| --- | --- |
|
|
317
|
+
| `Element` | A native `<dialog>`, using `showModal()` for a modal form, which makes the page inert, and `show()` for a modeless one. |
|
|
318
|
+
| `Role and name` | `role="dialog"` (`alertdialog` with `alert`), `aria-modal="true"` when modal, and named by its title through `aria-labelledby`. |
|
|
319
|
+
| `Description` | A message box is described by its text (`aria-describedby`). |
|
|
320
|
+
| `Focus` | On open, focus goes to `[autofocus]`, the first field, the accept button or the first control. On close, it returns to where it was. It never falls to `<body>`. |
|
|
321
|
+
| `Title bar buttons` | Named from `uiLocale` (Minimize, Maximize, Restore, Close). |
|
|
322
|
+
| `Motion` | A short fade using the motion tokens, removed when the user prefers reduced motion. |
|
|
323
|
+
|
|
324
|
+
## Localization
|
|
325
|
+
|
|
326
|
+
The title bar buttons and the `ok`, `cancel`, `yes` and `no` buttons of a message box get their names from `uiLocale.strings`.
|
|
327
|
+
|
|
328
|
+
```tsx
|
|
329
|
+
import { reactive } from '@motifx/core';
|
|
330
|
+
import { Button, messageBox, uiLocale } from '@motifx-community/ui';
|
|
331
|
+
|
|
332
|
+
/** Switches the names of the title bar buttons and of the message box buttons. */
|
|
333
|
+
export default function Localization() {
|
|
334
|
+
const s = reactive({ lang: 'en' });
|
|
335
|
+
|
|
336
|
+
const toggle = () => {
|
|
337
|
+
s.lang = s.lang === 'en' ? 'tr' : 'en';
|
|
338
|
+
void uiLocale.use(s.lang);
|
|
339
|
+
};
|
|
340
|
+
|
|
341
|
+
const ask = () =>
|
|
342
|
+
messageBox({ title: 'Unsaved changes', text: 'Save the changes before closing?', buttons: ['yes', 'no', 'cancel'], tone: 'caution' });
|
|
343
|
+
|
|
344
|
+
return (
|
|
345
|
+
<>
|
|
346
|
+
<Button text={() => (s.lang === 'en' ? 'Language: English' : 'Dil: Türkçe')} variant="outline" onclick={toggle} />
|
|
347
|
+
<Button text="Ask" variant="outline" onclick={ask} />
|
|
348
|
+
</>
|
|
349
|
+
);
|
|
350
|
+
}
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
## Styling
|
|
354
|
+
|
|
355
|
+
| Hook | Description |
|
|
356
|
+
| --- | --- |
|
|
357
|
+
| `.mx-form` | The `<dialog>`. `data-state` (`normal`, `minimized`, `maximized`), `data-modal`, `data-active`, `data-placed`, `data-docked`, `data-resizable`, `data-movable`, `data-dragging`. |
|
|
358
|
+
| `.mx-form__bar, .mx-form__icon, .mx-form__title, .mx-form__tools` | The title bar and its parts. |
|
|
359
|
+
| `.mx-form__content, .mx-form__footer` | The content area and the button row. |
|
|
360
|
+
| `.mx-form__frame, .mx-form__resize[data-edge]` | The resize handles. |
|
|
361
|
+
| `.mx-form-chip` | The chip a minimized form leaves in its `minimizeTarget`. |
|
|
362
|
+
| `.mx-message-box, .mx-message-box__icon, .mx-message-box__text` | The content of a message box, with `data-tone`. |
|
|
363
|
+
| `--_mx-w, --_mx-h, --_mx-x, --_mx-y` | The size and position the form sets on itself. |
|
|
364
|
+
|
|
365
|
+
### Component tokens
|
|
366
|
+
|
|
367
|
+
| Token | Description |
|
|
368
|
+
| --- | --- |
|
|
369
|
+
| `window.scrim, window.surface` | Units: the backdrop of a modal form, and the surface (`active`, `dialog` for a modal form, `maximized`). |
|
|
370
|
+
| `window.bar, window.icon, window.title, window.tools` | Units: the title bar (`active`, `dialog`), its icon, the title (`dialog`) and its buttons. |
|
|
371
|
+
| `window.body, window.footer, window.grip` | Units: the content area, the button row and the resize grips (`corner`). |
|
|
372
|
+
| `window.bar-height, window.title-align, window.tools-order` | The title bar height (from the design system `bar.*` tokens), and the position of the title and its buttons. |
|
|
373
|
+
| `window.min-width, window.min-height, window.viewport-margin` | The minimum size and the margin kept around the form. |
|
|
374
|
+
| `window.resize-edge, window.enter-offset` | The resize handles, and the distance it animates in from. |
|
|
375
|
+
| `window.message, window.message-icon, window.message-width` | Message boxes: units for the content and its tone glyph (per tone), and their width. |
|
|
376
|
+
|
|
377
|
+
## API reference
|
|
378
|
+
|
|
379
|
+
### Props
|
|
380
|
+
|
|
381
|
+
| Prop | Type | Default | Description |
|
|
382
|
+
| --- | --- | --- | --- |
|
|
383
|
+
| `value` | `Bind<boolean>` | `false` | Indicates whether it is open. `x-model` provides two-way binding, so `false` is written when the user closes it. |
|
|
384
|
+
| `modal` | `Bind<boolean>` | `false` | Opened through `value`, the form is modal. |
|
|
385
|
+
| `title` | `Bind<string>` | `''` | The title in the title bar, which also names the form. This is the same property as `text`. |
|
|
386
|
+
| `content` | `Bind<ComponentBase \| null>` | — | Content for the content area, in addition to JSX children and `view()`. |
|
|
387
|
+
| `footer` | `Bind<ComponentBase \| null>` | — | A non-scrolling row below the content, for buttons. |
|
|
388
|
+
| `icon` | `Bind<IconSource \| null>` | — | An icon at the start of the title bar. |
|
|
389
|
+
| `showClose` | `Bind<boolean>` | `true` | Shows the close button. |
|
|
390
|
+
| `showMinimize` | `Bind<boolean>` | `false` | Shows the minimize button, on modeless forms only. |
|
|
391
|
+
| `showMaximize` | `Bind<boolean>` | `false` | Shows the maximize button. Double-clicking the title bar does the same. |
|
|
392
|
+
| `resizable` | `Bind<boolean>` | `true` | Allows resizing from the edges and corners. |
|
|
393
|
+
| `movable` | `Bind<boolean>` | `true` | Allows moving by dragging the title bar, within the viewport. |
|
|
394
|
+
| `closeOnEscape` | `Bind<boolean>` | `true` for modal forms, `false` for modeless forms | Closes the form with `cancel` on Escape when there is no `cancelButton`. |
|
|
395
|
+
| `acceptButton` | `Bind<Control \| null>` | — | The button Enter clicks from a single-line field. |
|
|
396
|
+
| `cancelButton` | `Bind<Control \| null>` | — | The button Escape clicks. |
|
|
397
|
+
| `minimizeTarget` | `Bind<ComponentBase \| null>` | — | Where a minimized form leaves a chip that restores it. Without it, the form collapses to its title bar. |
|
|
398
|
+
| `windowState` | `Bind<FormWindowState>` | `'normal'` | `normal`, `minimized`, `maximized`. |
|
|
399
|
+
| `startPosition` | `Bind<FormStartPosition>` | `'center'` | `center`, or `manual` at `left` and `top`. |
|
|
400
|
+
| `left / top` | `Bind<number \| string>` | — | With `manual`, the position from the start edge (the right edge in RTL) and the top. A number is in pixels. |
|
|
401
|
+
| `width / height` | `Bind<number \| string>` | Content size | A CSS length. A number is in pixels. |
|
|
402
|
+
| `alert` | `Bind<boolean>` | `false` | `role="alertdialog"`, for urgent content. |
|
|
403
|
+
| `disposeOnClose` | `Bind<boolean>` | see text | By default, a form added to the host by `show` or `showDialog` is disposed, and a JSX form is hidden. |
|
|
404
|
+
| `enabled / disabled, visible` | see Control | | Properties shared by all controls. |
|
|
405
|
+
|
|
406
|
+
### Properties
|
|
407
|
+
|
|
408
|
+
| Property | Access | Description |
|
|
409
|
+
| --- | --- | --- |
|
|
410
|
+
| `every prop above` | read/write, reactive | Accepts a value or a function, the same as the prop. `left`, `top`, `width` and `height` track moving and resizing by the user. |
|
|
411
|
+
| `result` | read/write, reactive | How the form closed, or will close. `close()` without an argument uses this value. It is `cancel` on open. |
|
|
412
|
+
| `isOpen, isModal, isActive` | read-only, reactive | Indicate whether the form is open, whether it is modal, and whether it is the front window of the page. |
|
|
413
|
+
| `activeControl` | read-only, reactive | The child control that has focus, or last had it. |
|
|
414
|
+
| `contentPart` | read-only | The content area. |
|
|
415
|
+
|
|
416
|
+
### Methods
|
|
417
|
+
|
|
418
|
+
| Method | Returns | Description |
|
|
419
|
+
| --- | --- | --- |
|
|
420
|
+
| `show(host, disposeRef?)` | `void` | Shows the form as modeless in `host` (a component or the application). It is disposed with `disposeRef`, or with the host. |
|
|
421
|
+
| `showDialog(host, disposeRef?)` | `Promise<FormResult>` | Shows the form as modal and resolves with the result when it closes. |
|
|
422
|
+
| `close(result?)` | `boolean` | Closes it. Returns `false` if `onClosing` canceled the close. |
|
|
423
|
+
| `activate()` | `void` | Brings it to the front with focus on its last active control. |
|
|
424
|
+
| `minimize(), maximize(), restore()` | `void` | These set `windowState`. |
|
|
425
|
+
| `center()` | `void` | Centers it in the viewport. |
|
|
426
|
+
| `restoreFocus()` | `boolean` | Returns focus to its last active control. |
|
|
427
|
+
|
|
428
|
+
### Events
|
|
429
|
+
|
|
430
|
+
| Event | When |
|
|
431
|
+
| --- | --- |
|
|
432
|
+
| `onLoaded(e)` | Runs before the first show, and is where to populate the form. |
|
|
433
|
+
| `onShown(e)` | Occurs after it is shown. |
|
|
434
|
+
| `onActivate(e) / onDeactivate(e)` | Occur when it becomes the front window and when another window takes over. |
|
|
435
|
+
| `onClosing(e)` | Occurs before it closes. `e`: `{ result, reason, source, cancel }`. Set `cancel = true` to keep it open, unless its owner is being disposed. |
|
|
436
|
+
| `onClosed(e)` | Occurs after it closes. `e`: `{ result, reason, source }`, where `reason` is `user` (close button, Escape), `code` or `owner`. |
|
|
437
|
+
|
|
438
|
+
### Helper functions
|
|
439
|
+
|
|
440
|
+
| Function | Returns | Description |
|
|
441
|
+
| --- | --- | --- |
|
|
442
|
+
| `messageBox(options)` | `Promise<FormResult>` | Shows a modal message: `title`, `text`, `buttons` (`ok`, `cancel`, `yes`, `no` or `{ text, result, tone }`), `tone` (`info`, `success`, `caution`, `danger`), `defaultButton` and `host`. |
|
|
443
|
+
| `confirm(text, options?)` | `Promise<boolean>` | Shows OK and Cancel, and resolves to `true` for OK. |
|
|
444
|
+
|
|
445
|
+
## Feedback
|
|
446
|
+
|
|
447
|
+
Loading issues…
|
|
448
|
+
|
|
449
|
+
## Example files
|
|
450
|
+
|
|
451
|
+
`JsxAndCode.tsx`
|
|
452
|
+
|
|
453
|
+
```tsx
|
|
454
|
+
import { reactive, type Component } from '@motifx/core';
|
|
455
|
+
import { Button, MxForm, Stack, TextBox, type FormResult } from '@motifx-community/ui';
|
|
456
|
+
import { RenameForm } from './RenameForm';
|
|
457
|
+
|
|
458
|
+
/** A modeless form in JSX shown through x-model, and a form class shown modal programmatically. */
|
|
459
|
+
export default function JsxAndCode() {
|
|
460
|
+
const s = reactive({ find: false, query: '', found: '', renamed: '' });
|
|
461
|
+
let host: Component<HTMLDivElement> | null = null;
|
|
462
|
+
let findForm: MxForm | null = null;
|
|
463
|
+
|
|
464
|
+
const findOk = new Button({ text: 'Find', tone: 'accent' });
|
|
465
|
+
findOk.element.addEventListener('click', () => findForm?.close('ok'));
|
|
466
|
+
const findClose = new Button({ text: 'Close' });
|
|
467
|
+
findClose.element.addEventListener('click', () => (s.find = false));
|
|
468
|
+
const findButtons = new Stack({ orientation: 'horizontal', wrap: true, justify: 'end' });
|
|
469
|
+
findButtons.controls.add(findOk, findClose);
|
|
470
|
+
|
|
471
|
+
const rename = async () => {
|
|
472
|
+
const form = new RenameForm();
|
|
473
|
+
const result: FormResult = await form.showDialog(host!);
|
|
474
|
+
s.renamed = result === 'ok' ? `Renamed to “${form.name}”.` : 'Kept the old name.';
|
|
475
|
+
};
|
|
476
|
+
|
|
477
|
+
return (
|
|
478
|
+
<>
|
|
479
|
+
<Button text="Find…" variant="outline" onclick={() => (s.find = true)} />
|
|
480
|
+
<MxForm
|
|
481
|
+
class="win-find"
|
|
482
|
+
title="Find"
|
|
483
|
+
x-model={() => s.find}
|
|
484
|
+
footer={findButtons}
|
|
485
|
+
acceptButton={findOk}
|
|
486
|
+
cancelButton={findClose}
|
|
487
|
+
ref={(f: MxForm) => (findForm = f)}
|
|
488
|
+
onClosed={(e) => e.result === 'ok' && (s.found = `Searched for “${s.query}”.`)}
|
|
489
|
+
>
|
|
490
|
+
<TextBox label="&Find what" x-model={() => s.query} />
|
|
491
|
+
</MxForm>
|
|
492
|
+
<output class="win-found">{() => s.found}</output>
|
|
493
|
+
<Button text="Rename… (class, modal)" variant="outline" onclick={rename} />
|
|
494
|
+
<output class="win-renamed">{() => s.renamed}</output>
|
|
495
|
+
<div ref={(c: Component<HTMLDivElement>) => (host = c)} />
|
|
496
|
+
</>
|
|
497
|
+
);
|
|
498
|
+
}
|
|
499
|
+
```
|
|
500
|
+
|
|
501
|
+
`RenameForm.tsx`
|
|
502
|
+
|
|
503
|
+
```tsx
|
|
504
|
+
import { reactive } from '@motifx/core';
|
|
505
|
+
import { Button, MxForm, Stack, TextBox } from '@motifx-community/ui';
|
|
506
|
+
|
|
507
|
+
/** A form written as a class: its content comes from `view()`, and its buttons from the footer. */
|
|
508
|
+
export class RenameForm extends MxForm {
|
|
509
|
+
private readonly data = reactive({ name: 'Report.docx' });
|
|
510
|
+
|
|
511
|
+
constructor() {
|
|
512
|
+
super({ title: 'Rename', width: '24rem' });
|
|
513
|
+
const ok = new Button({ text: 'Rename', tone: 'accent' });
|
|
514
|
+
ok.element.addEventListener('click', () => this.close('ok'));
|
|
515
|
+
const cancel = new Button({ text: 'Cancel' });
|
|
516
|
+
cancel.element.addEventListener('click', () => this.close('cancel'));
|
|
517
|
+
const buttons = new Stack({ orientation: 'horizontal', wrap: true, justify: 'end' });
|
|
518
|
+
buttons.controls.add(ok, cancel);
|
|
519
|
+
this.footer = buttons;
|
|
520
|
+
this.acceptButton = ok;
|
|
521
|
+
this.cancelButton = cancel;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
get name(): string {
|
|
525
|
+
return this.data.name;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
override view() {
|
|
529
|
+
return <TextBox label="&New name" x-model={() => this.data.name} stretch />;
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
```
|
|
533
|
+
|
|
534
|
+
`DefaultButtons.tsx`
|
|
535
|
+
|
|
536
|
+
```tsx
|
|
537
|
+
import { reactive, type Component } from '@motifx/core';
|
|
538
|
+
import { Button } from '@motifx-community/ui';
|
|
539
|
+
import { RenameForm } from './RenameForm';
|
|
540
|
+
|
|
541
|
+
/** Enter clicks the form's accept button, Escape its cancel button; see RenameForm.tsx. */
|
|
542
|
+
export default function DefaultButtons() {
|
|
543
|
+
const s = reactive({ renamed: '' });
|
|
544
|
+
let host: Component<HTMLDivElement> | null = null;
|
|
545
|
+
|
|
546
|
+
const rename = async () => {
|
|
547
|
+
const form = new RenameForm();
|
|
548
|
+
const result = await form.showDialog(host!);
|
|
549
|
+
s.renamed = result === 'ok' ? `Renamed to “${form.name}”.` : 'Kept the old name.';
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
return (
|
|
553
|
+
<>
|
|
554
|
+
<Button text="Rename…" variant="outline" onclick={rename} />
|
|
555
|
+
<output>{() => s.renamed}</output>
|
|
556
|
+
<div ref={(c: Component<HTMLDivElement>) => (host = c)} />
|
|
557
|
+
</>
|
|
558
|
+
);
|
|
559
|
+
}
|
|
560
|
+
```
|