@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,328 @@
|
|
|
1
|
+
# RadioGroup
|
|
2
|
+
|
|
3
|
+
> Choice · @motifx-community/ui 0.1.0-beta.8
|
|
4
|
+
|
|
5
|
+
A set of mutually exclusive options. Options can come from plain values, custom objects or a live list, and can be arranged vertically, horizontally or in columns. Individual options can be disabled, hidden or given help text. The group is a single Tab stop, and the arrow keys move between options.
|
|
6
|
+
|
|
7
|
+
## Import
|
|
8
|
+
|
|
9
|
+
```tsx
|
|
10
|
+
import { RadioGroup, type RadioItem } from '@motifx-community/ui';
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Declarative and programmatic
|
|
14
|
+
|
|
15
|
+
A plain value serves as its own text. `x-model` provides two-way binding for the selected value. When you create the component with `new`, set the same properties programmatically.
|
|
16
|
+
|
|
17
|
+
```tsx
|
|
18
|
+
import { reactive } from '@motifx/core';
|
|
19
|
+
import { Button, RadioGroup, Stack } from '@motifx-community/ui';
|
|
20
|
+
|
|
21
|
+
/** A group of plain values bound with x-model, and a group created with `new` and added programmatically. */
|
|
22
|
+
export default function Programmatic() {
|
|
23
|
+
const s = reactive({ size: 'M' as string | null, result: '' });
|
|
24
|
+
let host: Stack | null = null;
|
|
25
|
+
|
|
26
|
+
const addProgrammatic = () => {
|
|
27
|
+
const wrap = new RadioGroup<string>({ label: 'Gift wrap', orientation: 'horizontal', items: ['None', 'Paper', 'Box'], value: 'None' });
|
|
28
|
+
wrap.onValueChanged((e) => (s.result = `Gift wrap: ${e.value}`));
|
|
29
|
+
host?.controls.add(wrap);
|
|
30
|
+
wrap.focus();
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
return (
|
|
34
|
+
<>
|
|
35
|
+
<RadioGroup label="&Size" items={['S', 'M', 'L', 'XL']} x-model={() => s.size} helpText={() => `Chosen: ${s.size ?? 'nothing'}`} />
|
|
36
|
+
<Stack orientation="horizontal" wrap align="center">
|
|
37
|
+
<Button text="Add a group programmatically" variant="outline" onclick={addProgrammatic} />
|
|
38
|
+
<output class="rg-result">{() => s.result}</output>
|
|
39
|
+
</Stack>
|
|
40
|
+
<Stack orientation="horizontal" wrap align="center" ref={(c: Stack) => (host = c)} />
|
|
41
|
+
</>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Binding to data
|
|
47
|
+
|
|
48
|
+
Custom objects use `itemText` and `itemValue`, each a property name or a function. Items can be plain or reactive and are read as they are. After adding, removing or renaming items in place, call `refresh()` to update the display, which preserves focus and selection.
|
|
49
|
+
|
|
50
|
+
```tsx
|
|
51
|
+
import { reactive } from '@motifx/core';
|
|
52
|
+
import { Button, RadioGroup, Stack } from '@motifx-community/ui';
|
|
53
|
+
|
|
54
|
+
interface Plan {
|
|
55
|
+
id: number;
|
|
56
|
+
name: string;
|
|
57
|
+
price: number;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/** Options from a list of custom objects. After adding or changing some in place, `refresh()` shows them. */
|
|
61
|
+
export default function FromData() {
|
|
62
|
+
const s = reactive({ plan: 2 as number | null });
|
|
63
|
+
const plans = reactive<Plan[]>([
|
|
64
|
+
{ id: 1, name: 'Free', price: 0 },
|
|
65
|
+
{ id: 2, name: 'Pro', price: 12 },
|
|
66
|
+
{ id: 3, name: 'Team', price: 30 },
|
|
67
|
+
]);
|
|
68
|
+
|
|
69
|
+
let group!: RadioGroup<number>;
|
|
70
|
+
const addPlan = () => {
|
|
71
|
+
plans.push({ id: plans.length + 1, name: `Plan ${plans.length + 1}`, price: plans.length * 20 });
|
|
72
|
+
group.refresh();
|
|
73
|
+
};
|
|
74
|
+
const raisePrices = () => {
|
|
75
|
+
for (const p of plans) p.price += 1;
|
|
76
|
+
group.refresh();
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
return (
|
|
80
|
+
<>
|
|
81
|
+
<RadioGroup
|
|
82
|
+
ref={(g: RadioGroup<number>) => (group = g)}
|
|
83
|
+
label="&Plan"
|
|
84
|
+
class="rg-plans"
|
|
85
|
+
items={() => plans}
|
|
86
|
+
itemText={(p) => `${(p as Plan).name} — ${(p as Plan).price} €`}
|
|
87
|
+
itemValue="id"
|
|
88
|
+
x-model={() => s.plan}
|
|
89
|
+
/>
|
|
90
|
+
<Stack orientation="horizontal" wrap align="center">
|
|
91
|
+
<Button text="Add a plan" variant="outline" enabled={() => plans.length < 6} onclick={addPlan} />
|
|
92
|
+
<Button text="Raise prices" variant="outline" onclick={raisePrices} />
|
|
93
|
+
<output class="rg-plan">{() => `value: ${String(s.plan)}`}</output>
|
|
94
|
+
</Stack>
|
|
95
|
+
</>
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## Disabled options, help text and hints
|
|
101
|
+
|
|
102
|
+
A `RadioItem` has its own `enabled`, `visible`, `hint` and `helpText`, each a value or a function. The arrow keys skip options that cannot be selected.
|
|
103
|
+
|
|
104
|
+
```tsx
|
|
105
|
+
import { reactive } from '@motifx/core';
|
|
106
|
+
import { Button, RadioGroup, type RadioItem } from '@motifx-community/ui';
|
|
107
|
+
|
|
108
|
+
/** Options with their own help line and hint, and one that is enabled only while state allows it. */
|
|
109
|
+
export default function OptionDetails() {
|
|
110
|
+
const s = reactive({ shipping: 'std' as string | null, expressOpen: false });
|
|
111
|
+
const shipping: RadioItem<string>[] = [
|
|
112
|
+
{ value: 'std', text: 'Standard', helpText: '3–5 working days', hint: 'Free over 50 €' },
|
|
113
|
+
{ value: 'exp', text: 'Express', helpText: () => (s.expressOpen ? 'Tomorrow' : 'Not before the weekend'), enabled: () => s.expressOpen },
|
|
114
|
+
{ value: 'pick', text: 'Pick up in store', helpText: 'Ready in 2 hours' },
|
|
115
|
+
];
|
|
116
|
+
|
|
117
|
+
return (
|
|
118
|
+
<>
|
|
119
|
+
<Button text={() => (s.expressOpen ? 'Close express' : 'Open express')} variant="outline" onclick={() => (s.expressOpen = !s.expressOpen)} />
|
|
120
|
+
<RadioGroup label="S&hipping" class="rg-shipping" items={shipping} x-model={() => s.shipping} />
|
|
121
|
+
</>
|
|
122
|
+
);
|
|
123
|
+
}
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
## Orientation and columns
|
|
127
|
+
|
|
128
|
+
```tsx
|
|
129
|
+
import { reactive } from '@motifx/core';
|
|
130
|
+
import { Button, RadioGroup, Stack, type RadioGroupOrientation } from '@motifx-community/ui';
|
|
131
|
+
|
|
132
|
+
const ORIENTATIONS: RadioGroupOrientation[] = ['vertical', 'horizontal'];
|
|
133
|
+
const COLUMNS = [0, 2, 4];
|
|
134
|
+
const COLORS = ['red', 'orange', 'yellow', 'green', 'teal', 'blue', 'indigo', 'violet'];
|
|
135
|
+
|
|
136
|
+
/** Options one under the other or side by side, and in columns. */
|
|
137
|
+
export default function Layout() {
|
|
138
|
+
const s = reactive({ orientation: 'vertical' as RadioGroupOrientation, columns: 0, color: 'teal' as string | null });
|
|
139
|
+
return (
|
|
140
|
+
<>
|
|
141
|
+
<Stack orientation="horizontal" wrap align="center" role="group" aria-label="Layout">
|
|
142
|
+
{ORIENTATIONS.map((o) => (
|
|
143
|
+
<Button
|
|
144
|
+
key={o}
|
|
145
|
+
text={o}
|
|
146
|
+
size="sm"
|
|
147
|
+
variant={() => (s.orientation === o ? 'solid' : 'ghost')}
|
|
148
|
+
aria-pressed={() => s.orientation === o}
|
|
149
|
+
onclick={() => (s.orientation = o)}
|
|
150
|
+
/>
|
|
151
|
+
))}
|
|
152
|
+
{COLUMNS.map((n) => (
|
|
153
|
+
<Button
|
|
154
|
+
key={`c${n}`}
|
|
155
|
+
text={n ? `${n} columns` : 'no grid'}
|
|
156
|
+
size="sm"
|
|
157
|
+
variant={() => (s.columns === n ? 'solid' : 'ghost')}
|
|
158
|
+
aria-pressed={() => s.columns === n}
|
|
159
|
+
onclick={() => (s.columns = n)}
|
|
160
|
+
/>
|
|
161
|
+
))}
|
|
162
|
+
</Stack>
|
|
163
|
+
<RadioGroup label="&Color" class="rg-colors" items={COLORS} orientation={() => s.orientation} columns={() => s.columns} x-model={() => s.color} />
|
|
164
|
+
</>
|
|
165
|
+
);
|
|
166
|
+
}
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
## Sizes
|
|
170
|
+
|
|
171
|
+
```tsx
|
|
172
|
+
import { RadioGroup, type ControlSize } from '@motifx-community/ui';
|
|
173
|
+
|
|
174
|
+
const SIZES: ControlSize[] = ['sm', 'md', 'lg'];
|
|
175
|
+
|
|
176
|
+
/** A group in each size. */
|
|
177
|
+
export default function Sizes() {
|
|
178
|
+
return (
|
|
179
|
+
<>
|
|
180
|
+
{SIZES.map((size) => (
|
|
181
|
+
<RadioGroup key={size} label={size} size={size} items={['One', 'Two']} value="Two" />
|
|
182
|
+
))}
|
|
183
|
+
</>
|
|
184
|
+
);
|
|
185
|
+
}
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
## Required, read-only, disabled
|
|
189
|
+
|
|
190
|
+
```tsx
|
|
191
|
+
import { reactive } from '@motifx/core';
|
|
192
|
+
import { Button, RadioGroup, Stack, ValidationGroup } from '@motifx-community/ui';
|
|
193
|
+
|
|
194
|
+
/** A required choice validated with its group, and read-only and disabled groups that follow state. */
|
|
195
|
+
export default function States() {
|
|
196
|
+
const s = reactive({ payment: null as string | null, editable: true, result: '' });
|
|
197
|
+
const group = new ValidationGroup();
|
|
198
|
+
|
|
199
|
+
const pay = async () => {
|
|
200
|
+
s.result = (await group.validate()).valid ? 'Paid.' : 'Choose a payment.';
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
return (
|
|
204
|
+
<>
|
|
205
|
+
<Stack orientation="horizontal" wrap align="center">
|
|
206
|
+
<RadioGroup label="Pa&yment" orientation="horizontal" required validationGroup={group} items={['Card', 'Transfer', 'Cash']} x-model={() => s.payment} />
|
|
207
|
+
<Button text="Pay" tone="accent" onclick={pay} />
|
|
208
|
+
<output>{() => s.result}</output>
|
|
209
|
+
</Stack>
|
|
210
|
+
<Stack orientation="horizontal" wrap align="center">
|
|
211
|
+
<Button text="Toggle" variant="outline" onclick={() => (s.editable = !s.editable)} />
|
|
212
|
+
<RadioGroup label="Read-only" readOnly={() => !s.editable} items={['Free', 'Pro']} value="Pro" />
|
|
213
|
+
<RadioGroup label="Disabled" enabled={() => s.editable} items={['Free', 'Pro']} value="Pro" />
|
|
214
|
+
</Stack>
|
|
215
|
+
</>
|
|
216
|
+
);
|
|
217
|
+
}
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
## Keyboard
|
|
221
|
+
|
|
222
|
+
| Key | Description |
|
|
223
|
+
| --- | --- |
|
|
224
|
+
| `Tab` | Moves focus into the group, on the selected option or the first available one. The next Tab leaves the group. |
|
|
225
|
+
| `↓ / →` | Moves to the next option and selects it, wrapping from last to first and skipping disabled and hidden options. |
|
|
226
|
+
| `↑ / ←` | Moves the same way, backward. On right-to-left pages, ← and → are swapped. |
|
|
227
|
+
| `Space` | Selects the focused option. |
|
|
228
|
+
| `Alt + key (`&Name`)` | Moves focus to the group (Control + Option + key on Apple platforms). |
|
|
229
|
+
|
|
230
|
+
## Accessibility
|
|
231
|
+
|
|
232
|
+
| Topic | Details |
|
|
233
|
+
| --- | --- |
|
|
234
|
+
| `Group` | `role="radiogroup"` named by the field label (`aria-labelledby`), with `aria-orientation`, `aria-required`, `aria-readonly`, `aria-invalid`, and `aria-describedby` for the help text. |
|
|
235
|
+
| `Options` | Native `<input type="radio">` elements sharing a name, each inside its own `<label>` and drawn with `appearance: none`. |
|
|
236
|
+
| `Help text` | An option's `helpText` sits outside its label and is linked with `aria-describedby`, so it is not part of the option's name. |
|
|
237
|
+
| `Disabled options` | Native `disabled`: skipped by the keyboard and announced as unavailable. |
|
|
238
|
+
| `Focus` | One Tab stop, with the design system focus ring shown only during keyboard use. |
|
|
239
|
+
|
|
240
|
+
## Localization
|
|
241
|
+
|
|
242
|
+
The group has no strings of its own. The option text is yours, and functions of your language state work. The `required` message comes from `uiLocale.strings`.
|
|
243
|
+
|
|
244
|
+
## Styling
|
|
245
|
+
|
|
246
|
+
| Hook | Description |
|
|
247
|
+
| --- | --- |
|
|
248
|
+
| `.mx-radio-group` | The field. `data-orientation`, `data-columns`, `data-size`, `data-invalid`, `data-readonly`, `data-disabled`, `data-required`. |
|
|
249
|
+
| `.mx-radio-group__list` | The `radiogroup` element. `columns` sets `--_columns` and `--_rows` on it. |
|
|
250
|
+
| `.mx-radio-group__item, .mx-radio-group__label` | An option, and the label that holds its radio and text. |
|
|
251
|
+
| `.mx-radio-group__input, .mx-radio-group__text, .mx-radio-group__help` | The radio, its text and its help text. |
|
|
252
|
+
|
|
253
|
+
### Component tokens
|
|
254
|
+
|
|
255
|
+
| Token | Description |
|
|
256
|
+
| --- | --- |
|
|
257
|
+
| `radiogroup.circle, radiogroup.dot` | Units: the circle in every state (`checked`, `invalid`, `hover`, `pressed`, `focus` and their combinations, `disabled`), and the dot of the selected option (`checked`, `pressed`, `disabled`). |
|
|
258
|
+
| `radiogroup.row, radiogroup.text, radiogroup.help` | Units: an option's row (`hover`, `checked`, `disabled`), its text and its help text. |
|
|
259
|
+
| `radiogroup.halo, radiogroup.ring` | Units: a halo centered on the circle and a ring around an option during keyboard use, where the design language includes them. |
|
|
260
|
+
| `radiogroup.options, radiogroup.floating-label` | Units: the options as a group, and the group label when it floats. |
|
|
261
|
+
| `radiogroup.size.*, radiogroup.dot-size.*, radiogroup.dot-size-hover.*, radiogroup.dot-size-pressed.*` | The circle and the dot, per size and state. |
|
|
262
|
+
| `radiogroup.height.*, radiogroup.font-size.*` | Row height (density tokens) and text size. |
|
|
263
|
+
| `radiogroup.gap, radiogroup.column-gap, radiogroup.help-gap` | The space before the text, between side-by-side options, and above an option's help text. |
|
|
264
|
+
| `radiogroup.press-offset, radiogroup.focus-scope` | The distance the circle moves when pressed, and what the keyboard ring surrounds. |
|
|
265
|
+
|
|
266
|
+
## API reference
|
|
267
|
+
|
|
268
|
+
### Props
|
|
269
|
+
|
|
270
|
+
| Prop | Type | Default | Description |
|
|
271
|
+
| --- | --- | --- | --- |
|
|
272
|
+
| `value` | `Bind<T \| null>` | `null` | The value of the selected item, or `null` if none is selected. `x-model` provides two-way binding. |
|
|
273
|
+
| `items` | `Bind<readonly (RadioItem<T> \| T)[]>` | `[]` | The options. A function is tracked, so a new list appears immediately. Items changed in place appear after `refresh()`. |
|
|
274
|
+
| `itemText` | `string \| (item) => unknown` | `'text'` | Where a custom object stores its text. This is a reader, not a binding. |
|
|
275
|
+
| `itemValue` | `string \| (item) => T` | `'value'` | Where an item stores its value. An object without one serves as its own value. |
|
|
276
|
+
| `label` | `Bind<string>` | `''` | The group label. Writing `&Name` makes Alt+N move focus to the group. This is the same property as `text`. |
|
|
277
|
+
| `labelMode` | `Bind<FieldLabelMode>` | `'top'` | `top`, `side` (next to the options) or `hidden` (for screen readers only). |
|
|
278
|
+
| `orientation` | `Bind<RadioGroupOrientation>` | `'vertical'` | `vertical` stacks the options, and `horizontal` places them side by side and wraps. |
|
|
279
|
+
| `columns` | `Bind<number>` | `0` | Arranges the options in a grid with this many columns (down the columns when vertical, across when horizontal). |
|
|
280
|
+
| `helpText` | `Bind<string>` | `''` | Help text shown below the group. An error message replaces it. |
|
|
281
|
+
| `hint` | `Bind<string>` | `''` | A tooltip on the group. |
|
|
282
|
+
| `readOnly` | `Bind<boolean>` | `false` | The arrow keys move between options, but nothing can be selected. |
|
|
283
|
+
| `required` | `Bind<boolean>` | `false` | An option must be selected. |
|
|
284
|
+
| `size` | `Bind<ControlSize>` | `'md'` | `sm`, `md`, `lg`; the row height follows the density tokens. |
|
|
285
|
+
| `name` | `Bind<string>` | Generated | The name the radios submit with the form. |
|
|
286
|
+
| `rules, error, validateOn, validationGroup` | see Field | | Validation works the same way as for all fields. |
|
|
287
|
+
| `enabled / disabled, visible, tabStop, tabIndex` | see Control | | Properties shared by all controls. |
|
|
288
|
+
|
|
289
|
+
### RadioItem
|
|
290
|
+
|
|
291
|
+
| Field | Type | Description |
|
|
292
|
+
| --- | --- | --- |
|
|
293
|
+
| `value` | `T` | The value of `value` when this option is selected. |
|
|
294
|
+
| `text` | `Bind<string>` | Shown next to the circle. By default, this is the value as text. |
|
|
295
|
+
| `hint` | `Bind<string>` | The tooltip text. |
|
|
296
|
+
| `helpText` | `Bind<string>` | A smaller line below the text that describes the radio. |
|
|
297
|
+
| `enabled` | `Bind<boolean>` | `false` dims the option, and the arrow keys skip it. |
|
|
298
|
+
| `visible` | `Bind<boolean>` | `false` removes the option. |
|
|
299
|
+
|
|
300
|
+
### Properties
|
|
301
|
+
|
|
302
|
+
| Property | Access | Description |
|
|
303
|
+
| --- | --- | --- |
|
|
304
|
+
| `every prop above` | read/write, reactive | Accepts a value or a function, the same as the prop. |
|
|
305
|
+
| `isValid, validationMessage, validating` | read-only, reactive | The result of the last validation. |
|
|
306
|
+
| `listPart` | read-only | The part with `role="radiogroup"`. |
|
|
307
|
+
| `inputParts` | read-only | The native radios as components, in item order. |
|
|
308
|
+
|
|
309
|
+
### Methods
|
|
310
|
+
|
|
311
|
+
| Method | Returns | Description |
|
|
312
|
+
| --- | --- | --- |
|
|
313
|
+
| `focus()` | `boolean` | Sets focus on the selected option, or on the first available one. |
|
|
314
|
+
| `validate()` | `Promise<boolean>` | Validates the value and displays the result. |
|
|
315
|
+
| `resetValidation()` | `void` | Clears the results of previous validation. |
|
|
316
|
+
| `refresh()` | `void` | Your items can be plain or reactive, and the group reads them as they are. After changing them in place, call `refresh()`. Their text, values and states are read again, and focus stays where it is. |
|
|
317
|
+
|
|
318
|
+
### Events
|
|
319
|
+
|
|
320
|
+
| Event | When |
|
|
321
|
+
| --- | --- |
|
|
322
|
+
| `onValueChanged(e)` | Occurs when the value changes. `e`: `{ value, previousValue, byUser, source, event? }`. |
|
|
323
|
+
| `onValidated(e)` | Occurs when validation finishes. `e`: `{ valid, message, source }`. |
|
|
324
|
+
| `onchange, onkeydown, onfocusin, onfocusout` | DOM events from the radios bubble up to the group. |
|
|
325
|
+
|
|
326
|
+
## Feedback
|
|
327
|
+
|
|
328
|
+
Loading issues…
|
package/docs/rating.md
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# Rating
|
|
2
|
+
|
|
3
|
+
> Editors · @motifx-community/ui 0.1.0-beta.8
|
|
4
|
+
|
|
5
|
+
A row of stars for entering or displaying a score, in whole or half steps. Rating is a field, so the label, help text, rules and `x-model` work the same way as on any other field.
|
|
6
|
+
|
|
7
|
+
## Import
|
|
8
|
+
|
|
9
|
+
```tsx
|
|
10
|
+
import { Rating } from '@motifx-community/ui';
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Declarative and programmatic
|
|
14
|
+
|
|
15
|
+
Every prop accepts a value or a function, and `x-model` provides two-way binding for the score. On hover, the stars preview the score a click would set.
|
|
16
|
+
|
|
17
|
+
```tsx
|
|
18
|
+
import { reactive } from '@motifx/core';
|
|
19
|
+
import { Rating, Stack } from '@motifx-community/ui';
|
|
20
|
+
|
|
21
|
+
/** A rating bound with `x-model`, with a label and help text like any field, and one created with `new` programmatically. */
|
|
22
|
+
export default function Programmatic() {
|
|
23
|
+
const s = reactive({ stars: 3 as number | null });
|
|
24
|
+
const coded = new Rating({ label: 'Made in code', max: 10, value: 7 });
|
|
25
|
+
|
|
26
|
+
return (
|
|
27
|
+
<Stack gap="lg">
|
|
28
|
+
<Rating label="Your rating" x-model={() => s.stars} helpText={() => (s.stars ? `You gave ${s.stars}` : 'Not rated yet')} />
|
|
29
|
+
<span onConfig={(c) => c.controls.add(coded)} />
|
|
30
|
+
</Stack>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Half stars, sizes and tones
|
|
36
|
+
|
|
37
|
+
```tsx
|
|
38
|
+
import { Rating, Stack, type ControlSize, type RatingTone } from '@motifx-community/ui';
|
|
39
|
+
|
|
40
|
+
const SIZES: ControlSize[] = ['sm', 'md', 'lg'];
|
|
41
|
+
const TONES: RatingTone[] = ['accent', 'neutral'];
|
|
42
|
+
|
|
43
|
+
/** Halves, each size and tone, and a score only shown (`readOnly`). */
|
|
44
|
+
export default function Looks() {
|
|
45
|
+
return (
|
|
46
|
+
<Stack gap="lg">
|
|
47
|
+
<Rating label="By halves" step={0.5} value={3.5} />
|
|
48
|
+
{SIZES.map((size) => (
|
|
49
|
+
<Rating key={size} label={`Size ${size}`} size={size} value={4} />
|
|
50
|
+
))}
|
|
51
|
+
{TONES.map((tone) => (
|
|
52
|
+
<Rating key={tone} label={`Tone ${tone}`} tone={tone} value={2} />
|
|
53
|
+
))}
|
|
54
|
+
<Rating label="Shown only" readOnly step={0.5} value={4.5} />
|
|
55
|
+
<Rating label="Disabled" disabled value={3} />
|
|
56
|
+
</Stack>
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Custom icons
|
|
62
|
+
|
|
63
|
+
```tsx
|
|
64
|
+
import { Rating } from '@motifx-community/ui';
|
|
65
|
+
|
|
66
|
+
// A custom heart as image addresses: an outline and a filled version, drawn in the star colors.
|
|
67
|
+
const svg = (body: string) => `data:image/svg+xml,${encodeURIComponent(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">${body}</svg>`)}`;
|
|
68
|
+
const HEART = 'M8 13.5S2 10 2 5.75A2.75 2.75 0 0 1 8 4.5a2.75 2.75 0 0 1 6 1.25C14 10 8 13.5 8 13.5z';
|
|
69
|
+
const EMPTY = svg(`<path d="${HEART}" fill="none" stroke="black" stroke-width="1.5" stroke-linejoin="round"/>`);
|
|
70
|
+
const FILLED = svg(`<path d="${HEART}" fill="black"/>`);
|
|
71
|
+
|
|
72
|
+
/** Custom icons: a name from the kit's set, or an image address. */
|
|
73
|
+
export default function Icons() {
|
|
74
|
+
return <Rating label="How much do you like it?" emptyIcon={EMPTY} filledIcon={FILLED} value={3} />;
|
|
75
|
+
}
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Keyboard
|
|
79
|
+
|
|
80
|
+
| Key | Description |
|
|
81
|
+
| --- | --- |
|
|
82
|
+
| `Arrow keys` | Increases or decreases the score by one step (by half with `step={0.5}`). |
|
|
83
|
+
| `Home, End` | Sets no stars (the minimum, without `allowClear`), or all stars. |
|
|
84
|
+
| `1 … 9` | Sets that number of stars. |
|
|
85
|
+
| `Delete, Backspace` | Clears the score (with `allowClear`). |
|
|
86
|
+
|
|
87
|
+
## Accessibility
|
|
88
|
+
|
|
89
|
+
| Topic | Details |
|
|
90
|
+
| --- | --- |
|
|
91
|
+
| `Role` | A `slider` from 0 to `max`, named by its label. The value is announced as “3 of 5” or “Not rated” in the kit language. |
|
|
92
|
+
| `Read-only` | `aria-readonly`. The stars only display the score. |
|
|
93
|
+
|
|
94
|
+
## Styling
|
|
95
|
+
|
|
96
|
+
| Hook | Description |
|
|
97
|
+
| --- | --- |
|
|
98
|
+
| `.mx-rating` | The field. `data-tone`, `data-size`, `data-readonly`, `data-disabled`. |
|
|
99
|
+
| `.mx-rating__stars` | The row of stars, which is the slider and receives focus. |
|
|
100
|
+
| `.mx-rating__item, .mx-rating__star, .mx-rating__fill` | One star, its empty shape and its filled part (`--_fill`: the filled share). |
|
|
101
|
+
|
|
102
|
+
### Component tokens
|
|
103
|
+
|
|
104
|
+
| Token | Description |
|
|
105
|
+
| --- | --- |
|
|
106
|
+
| `rating.stars, rating.item, rating.star, rating.fill` | Units: the row (focus, disabled), a star growing on hover, the empty shape, and the filled part in each tone. |
|
|
107
|
+
| `rating.size.*, rating.gap.*` | A star and the space between stars, per size. |
|
|
108
|
+
| `rating.tone` | The default tone. |
|
|
109
|
+
| `rating.field.*` | Place: the field below a rating, without a box. |
|
|
110
|
+
|
|
111
|
+
## API reference
|
|
112
|
+
|
|
113
|
+
### Props
|
|
114
|
+
|
|
115
|
+
| Prop | Type | Default | Description |
|
|
116
|
+
| --- | --- | --- | --- |
|
|
117
|
+
| `value` | `Bind<number \| null>` | `null` | The score, rounded to `step`. `null` means no score. `x-model` provides two-way binding. |
|
|
118
|
+
| `max` | `Bind<number>` | `5` | The number of stars. |
|
|
119
|
+
| `step` | `Bind<1 \| 0.5>` | `1` | `0.5` allows half stars, using the first half of a star or the arrow keys. |
|
|
120
|
+
| `allowClear` | `Bind<boolean>` | `true` | Clicking the selected value, or pressing Delete or Backspace, clears the score. |
|
|
121
|
+
| `preview` | `Bind<boolean>` | `true` | On hover, the stars preview the score a click would set. |
|
|
122
|
+
| `tone` | `Bind<RatingTone>` | Set by the design language | `accent` or `neutral`. For custom gold stars, set the color in `rating.fill.accent.bg`. |
|
|
123
|
+
| `emptyIcon, filledIcon` | `Bind<string \| null>` | Set by the design language | The shape of an empty and a filled star: a name from the kit's icon set, or an image address (drawn in the star colors). |
|
|
124
|
+
| `label, helpText, readOnly, required, rules, size…` | see Field | | All standard field props, because a rating is a field. |
|
|
125
|
+
|
|
126
|
+
## Feedback
|
|
127
|
+
|
|
128
|
+
Loading issues…
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# Resizable
|
|
2
|
+
|
|
3
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.8
|
|
4
|
+
|
|
5
|
+
A box that users can resize from its edges and corners with the pointer, or with the arrow keys on the grip in its end corner. It respects minimum and maximum sizes, can stay within an area, and can preserve its aspect ratio.
|
|
6
|
+
|
|
7
|
+
## Import
|
|
8
|
+
|
|
9
|
+
```tsx
|
|
10
|
+
import { Resizable } from '@motifx-community/ui';
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Edges, corners and the grip
|
|
14
|
+
|
|
15
|
+
JSX children are the content. `handles` sets which edges and corners respond to the pointer (`all` by default). The grip in the end corner is the Tab stop, and the arrow keys change the size by `step`. `minWidth`, `minHeight`, `maxWidth` and `maxHeight` set the limits. A box positioned with `absolute` or `fixed` also moves when its start or top edge is dragged, so the opposite edge stays in place. A box in the normal flow only changes size.
|
|
16
|
+
|
|
17
|
+
```tsx
|
|
18
|
+
import { reactive } from '@motifx/core';
|
|
19
|
+
import { Panel, Resizable, Stack } from '@motifx-community/ui';
|
|
20
|
+
|
|
21
|
+
/** A box resized from any side or corner, never under 160 × 80 or over 480 × 240; the grip in the corner takes the keys. */
|
|
22
|
+
export default function Basic() {
|
|
23
|
+
const s = reactive({ told: '' });
|
|
24
|
+
return (
|
|
25
|
+
<Stack gap="sm" style="inline-size: 100%">
|
|
26
|
+
<Resizable class="rs-box" width={280} height={140} minWidth={160} minHeight={80} maxWidth={480} maxHeight={240} onResized={e => (s.told = `${e.width} × ${e.height}, from the ${e.edge}`)}>
|
|
27
|
+
<Panel padding="md" variant="outline" text="A note" style="block-size: 100%">
|
|
28
|
+
<p class="rs-note">Drag a side or a corner, or focus the grip and use the arrow keys.</p>
|
|
29
|
+
</Panel>
|
|
30
|
+
</Resizable>
|
|
31
|
+
<output class="rs-box-told">{() => s.told}</output>
|
|
32
|
+
</Stack>
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Staying within an area and keeping the aspect ratio
|
|
38
|
+
|
|
39
|
+
`area` keeps the box inside its parent or a specified component, and `keepAspectRatio` adjusts the other dimension. In this example, only the end edge, the bottom edge and the corner between them resize the image.
|
|
40
|
+
|
|
41
|
+
```tsx
|
|
42
|
+
import { Resizable } from '@motifx-community/ui';
|
|
43
|
+
import { scene } from '../../gallery/examples/scenes';
|
|
44
|
+
|
|
45
|
+
/** A picture that keeps its shape and stays inside the dashed area; only the end side, the bottom and the corner resize it. */
|
|
46
|
+
export default function Area() {
|
|
47
|
+
return (
|
|
48
|
+
<div class="rs-area" style="position: relative; inline-size: 100%; block-size: 260px; outline: 2px dashed var(--mx-color-stroke-control-strong); outline-offset: -2px">
|
|
49
|
+
<Resizable class="rs-picture" width={240} height={135} minWidth={120} minHeight={68} area="parent" keepAspectRatio handles={['end', 'bottom', 'bottom-end']} style="position: absolute; left: 16px; top: 16px">
|
|
50
|
+
<img src={scene(200)} alt="A harbour at dawn" style="display: block; inline-size: 100%; block-size: 100%; object-fit: cover" />
|
|
51
|
+
</Resizable>
|
|
52
|
+
</div>
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Programmatic use
|
|
58
|
+
|
|
59
|
+
`size` sets the size in pixels, and `x-model` receives it after every resize (`onResized` also reports it). Use this to save and restore a layout, or to set the size from a button.
|
|
60
|
+
|
|
61
|
+
```tsx
|
|
62
|
+
import { reactive } from '@motifx/core';
|
|
63
|
+
import { Button, Panel, Resizable, Stack } from '@motifx-community/ui';
|
|
64
|
+
|
|
65
|
+
/** The size is written to x-model after every resize and can be set back: set, saved and restored programmatically. */
|
|
66
|
+
export default function Programmatic() {
|
|
67
|
+
const s = reactive({ size: { width: 240, height: 120 } as { width: number; height: number } | null, kept: null as { width: number; height: number } | null });
|
|
68
|
+
return (
|
|
69
|
+
<Stack gap="sm" style="inline-size: 100%">
|
|
70
|
+
<Resizable class="rs-coded" minWidth={120} minHeight={60} x-model={() => s.size}>
|
|
71
|
+
<Panel padding="md" variant="outline" style="block-size: 100%">
|
|
72
|
+
<p class="rs-note">Sized by the model.</p>
|
|
73
|
+
</Panel>
|
|
74
|
+
</Resizable>
|
|
75
|
+
<Stack orientation="horizontal" wrap align="center">
|
|
76
|
+
<Button text="Wider" variant="outline" onclick={() => (s.size = { width: (s.size?.width ?? 240) + 40, height: s.size?.height ?? 120 })} />
|
|
77
|
+
<Button text="Keep this size" variant="outline" onclick={() => (s.kept = s.size ? { ...s.size } : null)} />
|
|
78
|
+
<Button text="Restore it" variant="outline" enabled={() => !!s.kept} onclick={() => (s.size = s.kept ? { ...s.kept } : null)} />
|
|
79
|
+
<output class="rs-coded-told">{() => `size: ${JSON.stringify(s.size)}`}</output>
|
|
80
|
+
</Stack>
|
|
81
|
+
</Stack>
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Keyboard
|
|
87
|
+
|
|
88
|
+
| Key | Description |
|
|
89
|
+
| --- | --- |
|
|
90
|
+
| `Tab` | The grip in the end corner is the only Tab stop. |
|
|
91
|
+
| `Arrow keys` | On the grip, Left and Right change the width by `step` (reversed on right-to-left pages), and Up and Down change the height, within the limits, the area and the aspect ratio. |
|
|
92
|
+
|
|
93
|
+
## Accessibility
|
|
94
|
+
|
|
95
|
+
| Topic | Details |
|
|
96
|
+
| --- | --- |
|
|
97
|
+
| `The grip` | A button named “Resize” in the kit language. The new size is announced after every change (“Width 320, height 200”). |
|
|
98
|
+
| `The handles` | Strips along the edges and corners for pointer use only, hidden from screen readers. The grip provides the same function for the keyboard. |
|
|
99
|
+
| `Content` | JSX children are the content and are left unchanged, such as a panel, an image or a form. |
|
|
100
|
+
|
|
101
|
+
## Styling
|
|
102
|
+
|
|
103
|
+
| Hook | Description |
|
|
104
|
+
| --- | --- |
|
|
105
|
+
| `.mx-resizable` | The box. `data-resizing` and `data-edge` while a handle is dragged, and `data-disabled`. |
|
|
106
|
+
| `.mx-resizable__frame, .mx-resizable__handle` | The frame over the box and its eight handles (`data-edge`, `data-active` during a drag, and `hidden` when not enabled). |
|
|
107
|
+
| `.mx-resizable__grip, .mx-resizable__grip-glyph` | The grip in the end corner and its glyph. |
|
|
108
|
+
|
|
109
|
+
### Component tokens
|
|
110
|
+
|
|
111
|
+
| Token | Description |
|
|
112
|
+
| --- | --- |
|
|
113
|
+
| `resizable.box, .handle, .grip, .grip-glyph` | Units: the box (`resizing`), a handle (`hover`, `active`, `corner`), the grip (`hover`, `pressed`, `focus`) and its glyph (`icon`). |
|
|
114
|
+
| `resizable.edge` | The width of the pointer target along an edge. A corner is twice that in each direction. |
|
|
115
|
+
|
|
116
|
+
## API reference
|
|
117
|
+
|
|
118
|
+
### Props
|
|
119
|
+
|
|
120
|
+
| Prop | Type | Default | Description |
|
|
121
|
+
| --- | --- | --- | --- |
|
|
122
|
+
| `handles` | `Bind<ResizeHandles>` | `'all'` | `all`, `edges`, `corners`, or a list of `top`, `bottom`, `start`, `end`, `top-start`, `top-end`, `bottom-start` and `bottom-end`. |
|
|
123
|
+
| `minWidth, minHeight` | `Bind<number>` | `30` | The minimum width and height, in pixels. |
|
|
124
|
+
| `maxWidth, maxHeight` | `Bind<number \| null>` | `null` | The maximum width and height, in pixels. `null` means no limit. |
|
|
125
|
+
| `area` | `Bind<'parent' \| ComponentBase \| null>` | `null` | The area the box stays inside: its parent, or a component that contains it. |
|
|
126
|
+
| `keepAspectRatio` | `Bind<boolean>` | `false` | Preserves the ratio of width to height. |
|
|
127
|
+
| `step` | `Bind<number>` | `10` | The number of pixels an arrow key changes an edge. |
|
|
128
|
+
| `width, height` | `Bind<number \| string \| null>` | `null` | The initial size, as a CSS length or in pixels. Without it, the content determines the size. |
|
|
129
|
+
| `size` | `Bind<ResizeSize \| null>` | `null` | The size in pixels. When set, it is applied, and after every resize the new size is written to `x-model`. |
|
|
130
|
+
|
|
131
|
+
### Events, properties and methods
|
|
132
|
+
|
|
133
|
+
| Member | Type | Description |
|
|
134
|
+
| --- | --- | --- |
|
|
135
|
+
| `onResizeStarting` | event | Occurs before a resize starts from a handle (`edge`, `width`, `height`). Set `cancel = true` to keep the size. |
|
|
136
|
+
| `onResizing` | event | Occurs while the box is being resized (`edge`, and the current `width` and `height`). |
|
|
137
|
+
| `onResized` | event | Occurs when a resize ends, either when the pointer is released or when a key moves an edge. |
|
|
138
|
+
| `currentSize` | read-only | The current size in pixels. |
|
|
139
|
+
| `grip` | read-only | The grip in the end corner, which is the Tab stop for keyboard resizing. |
|
|
140
|
+
|
|
141
|
+
## Feedback
|
|
142
|
+
|
|
143
|
+
Loading issues…
|