@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,834 @@
|
|
|
1
|
+
# TabDocumentManager: Tabs
|
|
2
|
+
|
|
3
|
+
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.8
|
|
4
|
+
|
|
5
|
+
Tabs that behave as they do in code editors: preview tabs replaced by the next preview, pinned tabs that stay at the start, tabs that shrink, wrap or scroll, counts and colors, and the same document open in two groups.
|
|
6
|
+
|
|
7
|
+
## Preview tabs
|
|
8
|
+
|
|
9
|
+
`open(doc, { preview: true })` opens an italic tab that the next preview in the group replaces, so browsing through files leaves a single tab. Double-clicking the tab, making unsaved changes, calling `keep(doc)`, choosing Keep open in the menu or moving the tab keeps it open.
|
|
10
|
+
|
|
11
|
+
```tsx
|
|
12
|
+
import type { ComponentBase } from '@motifx/core';
|
|
13
|
+
import { TabDocument, type TabDocumentOptions } from '@motifx-community/ui';
|
|
14
|
+
|
|
15
|
+
/** A page with a folded corner: a file. */
|
|
16
|
+
export const FileIcon = () => (
|
|
17
|
+
<svg viewBox="0 0 16 16" aria-hidden="true">
|
|
18
|
+
<path d="M4 1.75h5l3 3v9.5H4zM9 1.75v3h3" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round" />
|
|
19
|
+
</svg>
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
/** A few files of a sample project. */
|
|
23
|
+
export const FILES = [
|
|
24
|
+
{ path: 'src/index.ts', text: "export { App } from './app';\nexport { router } from './router';" },
|
|
25
|
+
{ path: 'src/app.ts', text: "import { Application } from '@motifx/core';\n\nexport const App = Application.CreateBuilder().build();" },
|
|
26
|
+
{ path: 'src/router.ts', text: "export const router = { mode: 'history', routes: [] };" },
|
|
27
|
+
{ path: 'src/orders/index.ts', text: "export * from './orders';" },
|
|
28
|
+
{ path: 'src/orders/orders.ts', text: 'export interface Order {\n id: number;\n amount: number;\n}' },
|
|
29
|
+
{ path: 'README.md', text: '# Shop\n\nA small shop written with MotifJS.' },
|
|
30
|
+
{ path: 'package.json', text: '{\n "name": "shop",\n "private": true\n}' },
|
|
31
|
+
{ path: 'vite.config.ts', text: "import { defineConfig } from 'vite';\n\nexport default defineConfig({});" },
|
|
32
|
+
];
|
|
33
|
+
|
|
34
|
+
/** A file's text, as a document's content. */
|
|
35
|
+
export function source(text: string): ComponentBase {
|
|
36
|
+
// The panel scrolls (and takes focus for it): the text itself does not.
|
|
37
|
+
return <pre style="margin: 0; padding: var(--mx-space-4); overflow: visible; font: var(--mx-font-size-body) / var(--mx-font-line-body) var(--mx-font-family-mono)">{text}</pre>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/** A document for a file: its name as the title, its folder as the description. */
|
|
41
|
+
export function fileDocument(path: string, extra: TabDocumentOptions = {}): TabDocument {
|
|
42
|
+
const file = FILES.find((f) => f.path === path);
|
|
43
|
+
const at = path.lastIndexOf('/');
|
|
44
|
+
return new TabDocument({
|
|
45
|
+
id: path,
|
|
46
|
+
type: 'file',
|
|
47
|
+
title: path.slice(at + 1),
|
|
48
|
+
description: at > 0 ? path.slice(0, at) : '',
|
|
49
|
+
icon: () => <FileIcon />,
|
|
50
|
+
content: () => source(file?.text ?? ''),
|
|
51
|
+
...extra,
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Pinned tabs
|
|
57
|
+
|
|
58
|
+
`pin(doc)` moves a tab to the end of the pinned tabs at the start of the strip. It cannot be moved past the other tabs, and Close All leaves it open (`keepPinned`). `pinnedTabSize` shrinks pinned tabs to their icon or a short width, and `pinnedTabsOnSeparateRow` places them on their own row.
|
|
59
|
+
|
|
60
|
+
```tsx
|
|
61
|
+
import type { ComponentBase } from '@motifx/core';
|
|
62
|
+
import { TabDocument, type TabDocumentOptions } from '@motifx-community/ui';
|
|
63
|
+
|
|
64
|
+
/** A page with a folded corner: a file. */
|
|
65
|
+
export const FileIcon = () => (
|
|
66
|
+
<svg viewBox="0 0 16 16" aria-hidden="true">
|
|
67
|
+
<path d="M4 1.75h5l3 3v9.5H4zM9 1.75v3h3" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round" />
|
|
68
|
+
</svg>
|
|
69
|
+
);
|
|
70
|
+
|
|
71
|
+
/** A few files of a sample project. */
|
|
72
|
+
export const FILES = [
|
|
73
|
+
{ path: 'src/index.ts', text: "export { App } from './app';\nexport { router } from './router';" },
|
|
74
|
+
{ path: 'src/app.ts', text: "import { Application } from '@motifx/core';\n\nexport const App = Application.CreateBuilder().build();" },
|
|
75
|
+
{ path: 'src/router.ts', text: "export const router = { mode: 'history', routes: [] };" },
|
|
76
|
+
{ path: 'src/orders/index.ts', text: "export * from './orders';" },
|
|
77
|
+
{ path: 'src/orders/orders.ts', text: 'export interface Order {\n id: number;\n amount: number;\n}' },
|
|
78
|
+
{ path: 'README.md', text: '# Shop\n\nA small shop written with MotifJS.' },
|
|
79
|
+
{ path: 'package.json', text: '{\n "name": "shop",\n "private": true\n}' },
|
|
80
|
+
{ path: 'vite.config.ts', text: "import { defineConfig } from 'vite';\n\nexport default defineConfig({});" },
|
|
81
|
+
];
|
|
82
|
+
|
|
83
|
+
/** A file's text, as a document's content. */
|
|
84
|
+
export function source(text: string): ComponentBase {
|
|
85
|
+
// The panel scrolls (and takes focus for it): the text itself does not.
|
|
86
|
+
return <pre style="margin: 0; padding: var(--mx-space-4); overflow: visible; font: var(--mx-font-size-body) / var(--mx-font-line-body) var(--mx-font-family-mono)">{text}</pre>;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/** A document for a file: its name as the title, its folder as the description. */
|
|
90
|
+
export function fileDocument(path: string, extra: TabDocumentOptions = {}): TabDocument {
|
|
91
|
+
const file = FILES.find((f) => f.path === path);
|
|
92
|
+
const at = path.lastIndexOf('/');
|
|
93
|
+
return new TabDocument({
|
|
94
|
+
id: path,
|
|
95
|
+
type: 'file',
|
|
96
|
+
title: path.slice(at + 1),
|
|
97
|
+
description: at > 0 ? path.slice(0, at) : '',
|
|
98
|
+
icon: () => <FileIcon />,
|
|
99
|
+
content: () => source(file?.text ?? ''),
|
|
100
|
+
...extra,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## Tab sizes and overflow
|
|
106
|
+
|
|
107
|
+
`tabSize` sets the width of tabs. When they still do not fit, the strip scrolls (with the wheel or the scroll buttons, keeping the active tab visible) or, with `wrapTabs`, continues on more rows.
|
|
108
|
+
|
|
109
|
+
```tsx
|
|
110
|
+
import type { ComponentBase } from '@motifx/core';
|
|
111
|
+
import { Button, confirm, DataGrid, FormLayout, type FormItem, type GridColumn } from '@motifx-community/ui';
|
|
112
|
+
import { makeOrders, type Order } from './orders';
|
|
113
|
+
|
|
114
|
+
const columns: GridColumn<Order>[] = [
|
|
115
|
+
{ field: 'id', title: 'No', type: 'number', width: 70 },
|
|
116
|
+
{ field: 'customer', title: 'Customer', width: 160 },
|
|
117
|
+
{ field: 'city', title: 'City', width: 110 },
|
|
118
|
+
{ field: 'amount', title: 'Amount', type: 'number', width: 100 },
|
|
119
|
+
];
|
|
120
|
+
|
|
121
|
+
/** A grid of orders that fills its tab. */
|
|
122
|
+
export function ordersGrid(count = 60): ComponentBase {
|
|
123
|
+
return <DataGrid rows={makeOrders(count)} rowKey="id" columns={columns} label="Orders" style="block-size: 100%" />;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/** The fields a customer is edited with. */
|
|
127
|
+
export interface Customer {
|
|
128
|
+
name: string;
|
|
129
|
+
email: string;
|
|
130
|
+
city: string;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/** The forms open over each customer: a copy of a document has a form of its own over the same object. */
|
|
134
|
+
const formsOf = new WeakMap<Customer, Set<FormLayout<Customer>>>();
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* A form over a customer: what is typed goes straight into it. The form reads the object as it is, so the other forms
|
|
138
|
+
* over the same customer are told to read the field again.
|
|
139
|
+
*/
|
|
140
|
+
export function customerForm(customer: Customer): ComponentBase {
|
|
141
|
+
const items: FormItem[] = [
|
|
142
|
+
{ field: 'name', label: 'Name', required: true },
|
|
143
|
+
{ field: 'email', label: 'Email', editor: 'email' },
|
|
144
|
+
{ field: 'city', label: 'City' },
|
|
145
|
+
];
|
|
146
|
+
const forms = formsOf.get(customer) ?? new Set<FormLayout<Customer>>();
|
|
147
|
+
formsOf.set(customer, forms);
|
|
148
|
+
return (
|
|
149
|
+
<div style="padding: var(--mx-space-4); max-inline-size: 32rem">
|
|
150
|
+
<FormLayout<Customer>
|
|
151
|
+
data={customer}
|
|
152
|
+
items={items}
|
|
153
|
+
ref={(form: FormLayout<Customer>) => {
|
|
154
|
+
forms.add(form);
|
|
155
|
+
form.motif.setDisposable(() => forms.delete(form));
|
|
156
|
+
}}
|
|
157
|
+
onFieldChanged={(e) => {
|
|
158
|
+
for (const other of forms) if (other.data === e.data && !other.isDisposed) other.refreshField(e.field);
|
|
159
|
+
}}
|
|
160
|
+
/>
|
|
161
|
+
</div>
|
|
162
|
+
);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/** A few paragraphs of plain text. */
|
|
166
|
+
export function notes(title: string): ComponentBase {
|
|
167
|
+
return (
|
|
168
|
+
<div style="padding: var(--mx-space-4); max-inline-size: 40rem">
|
|
169
|
+
<h3 style="margin-block-start: 0">{title}</h3>
|
|
170
|
+
<p>Any component can be a document: a form, a grid, a chart or plain text like this.</p>
|
|
171
|
+
<p>Drag the line between two groups, or focus it with Tab and use the arrow keys. A double click on it gives the groups the same size.</p>
|
|
172
|
+
</div>
|
|
173
|
+
);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
const CITIES = ['İstanbul', 'Ankara', 'İzmir', 'London', 'New York'];
|
|
177
|
+
|
|
178
|
+
/** A customer card: text fields and a city drop-down over a reactive customer, and a button that opens a dialog. */
|
|
179
|
+
export function customerCard(customer: Customer): ComponentBase {
|
|
180
|
+
const items: FormItem[] = [
|
|
181
|
+
{ field: 'name', label: 'Name', required: true },
|
|
182
|
+
{ field: 'email', label: 'Email', editor: 'email' },
|
|
183
|
+
{ field: 'city', label: 'City', editor: 'dropdown', editorProps: { items: CITIES } },
|
|
184
|
+
];
|
|
185
|
+
let card: ComponentBase | null = null;
|
|
186
|
+
// The dialog opens where the card is: in a new window, there.
|
|
187
|
+
const clear = async () => {
|
|
188
|
+
if (await confirm('Clear the customer card?', { title: 'Clear', host: card! })) Object.assign(customer, { name: '', email: '', city: '' });
|
|
189
|
+
};
|
|
190
|
+
return (
|
|
191
|
+
<div ref={(c: ComponentBase) => (card = c)} style="padding: var(--mx-space-4); max-inline-size: 32rem">
|
|
192
|
+
<FormLayout data={customer} items={items} />
|
|
193
|
+
<Button text="Clear…" variant="outline" onclick={clear} />
|
|
194
|
+
</div>
|
|
195
|
+
);
|
|
196
|
+
}
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
## Badges, tones and descriptions
|
|
200
|
+
|
|
201
|
+
`badge` is a count, a short text or a dot, and `tone` colors the title and the badge. By default, the description appears only when two open documents have the same title, as set by `showDescription`.
|
|
202
|
+
|
|
203
|
+
```tsx
|
|
204
|
+
import type { ComponentBase } from '@motifx/core';
|
|
205
|
+
import { Button, confirm, DataGrid, FormLayout, type FormItem, type GridColumn } from '@motifx-community/ui';
|
|
206
|
+
import { makeOrders, type Order } from './orders';
|
|
207
|
+
|
|
208
|
+
const columns: GridColumn<Order>[] = [
|
|
209
|
+
{ field: 'id', title: 'No', type: 'number', width: 70 },
|
|
210
|
+
{ field: 'customer', title: 'Customer', width: 160 },
|
|
211
|
+
{ field: 'city', title: 'City', width: 110 },
|
|
212
|
+
{ field: 'amount', title: 'Amount', type: 'number', width: 100 },
|
|
213
|
+
];
|
|
214
|
+
|
|
215
|
+
/** A grid of orders that fills its tab. */
|
|
216
|
+
export function ordersGrid(count = 60): ComponentBase {
|
|
217
|
+
return <DataGrid rows={makeOrders(count)} rowKey="id" columns={columns} label="Orders" style="block-size: 100%" />;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/** The fields a customer is edited with. */
|
|
221
|
+
export interface Customer {
|
|
222
|
+
name: string;
|
|
223
|
+
email: string;
|
|
224
|
+
city: string;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/** The forms open over each customer: a copy of a document has a form of its own over the same object. */
|
|
228
|
+
const formsOf = new WeakMap<Customer, Set<FormLayout<Customer>>>();
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* A form over a customer: what is typed goes straight into it. The form reads the object as it is, so the other forms
|
|
232
|
+
* over the same customer are told to read the field again.
|
|
233
|
+
*/
|
|
234
|
+
export function customerForm(customer: Customer): ComponentBase {
|
|
235
|
+
const items: FormItem[] = [
|
|
236
|
+
{ field: 'name', label: 'Name', required: true },
|
|
237
|
+
{ field: 'email', label: 'Email', editor: 'email' },
|
|
238
|
+
{ field: 'city', label: 'City' },
|
|
239
|
+
];
|
|
240
|
+
const forms = formsOf.get(customer) ?? new Set<FormLayout<Customer>>();
|
|
241
|
+
formsOf.set(customer, forms);
|
|
242
|
+
return (
|
|
243
|
+
<div style="padding: var(--mx-space-4); max-inline-size: 32rem">
|
|
244
|
+
<FormLayout<Customer>
|
|
245
|
+
data={customer}
|
|
246
|
+
items={items}
|
|
247
|
+
ref={(form: FormLayout<Customer>) => {
|
|
248
|
+
forms.add(form);
|
|
249
|
+
form.motif.setDisposable(() => forms.delete(form));
|
|
250
|
+
}}
|
|
251
|
+
onFieldChanged={(e) => {
|
|
252
|
+
for (const other of forms) if (other.data === e.data && !other.isDisposed) other.refreshField(e.field);
|
|
253
|
+
}}
|
|
254
|
+
/>
|
|
255
|
+
</div>
|
|
256
|
+
);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/** A few paragraphs of plain text. */
|
|
260
|
+
export function notes(title: string): ComponentBase {
|
|
261
|
+
return (
|
|
262
|
+
<div style="padding: var(--mx-space-4); max-inline-size: 40rem">
|
|
263
|
+
<h3 style="margin-block-start: 0">{title}</h3>
|
|
264
|
+
<p>Any component can be a document: a form, a grid, a chart or plain text like this.</p>
|
|
265
|
+
<p>Drag the line between two groups, or focus it with Tab and use the arrow keys. A double click on it gives the groups the same size.</p>
|
|
266
|
+
</div>
|
|
267
|
+
);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
const CITIES = ['İstanbul', 'Ankara', 'İzmir', 'London', 'New York'];
|
|
271
|
+
|
|
272
|
+
/** A customer card: text fields and a city drop-down over a reactive customer, and a button that opens a dialog. */
|
|
273
|
+
export function customerCard(customer: Customer): ComponentBase {
|
|
274
|
+
const items: FormItem[] = [
|
|
275
|
+
{ field: 'name', label: 'Name', required: true },
|
|
276
|
+
{ field: 'email', label: 'Email', editor: 'email' },
|
|
277
|
+
{ field: 'city', label: 'City', editor: 'dropdown', editorProps: { items: CITIES } },
|
|
278
|
+
];
|
|
279
|
+
let card: ComponentBase | null = null;
|
|
280
|
+
// The dialog opens where the card is: in a new window, there.
|
|
281
|
+
const clear = async () => {
|
|
282
|
+
if (await confirm('Clear the customer card?', { title: 'Clear', host: card! })) Object.assign(customer, { name: '', email: '', city: '' });
|
|
283
|
+
};
|
|
284
|
+
return (
|
|
285
|
+
<div ref={(c: ComponentBase) => (card = c)} style="padding: var(--mx-space-4); max-inline-size: 32rem">
|
|
286
|
+
<FormLayout data={customer} items={items} />
|
|
287
|
+
<Button text="Clear…" variant="outline" onclick={clear} />
|
|
288
|
+
</div>
|
|
289
|
+
);
|
|
290
|
+
}
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
## One document in two groups
|
|
294
|
+
|
|
295
|
+
With `allowDuplicate`, a document opens in another group as a copy with its own content (from `clone`, a `content` function or the `factory`), sharing the title, the unsaved changes and the state. Splitting copies the active document, and `splitCopies: false` moves it instead.
|
|
296
|
+
|
|
297
|
+
```tsx
|
|
298
|
+
import type { ComponentBase } from '@motifx/core';
|
|
299
|
+
import { Button, confirm, DataGrid, FormLayout, type FormItem, type GridColumn } from '@motifx-community/ui';
|
|
300
|
+
import { makeOrders, type Order } from './orders';
|
|
301
|
+
|
|
302
|
+
const columns: GridColumn<Order>[] = [
|
|
303
|
+
{ field: 'id', title: 'No', type: 'number', width: 70 },
|
|
304
|
+
{ field: 'customer', title: 'Customer', width: 160 },
|
|
305
|
+
{ field: 'city', title: 'City', width: 110 },
|
|
306
|
+
{ field: 'amount', title: 'Amount', type: 'number', width: 100 },
|
|
307
|
+
];
|
|
308
|
+
|
|
309
|
+
/** A grid of orders that fills its tab. */
|
|
310
|
+
export function ordersGrid(count = 60): ComponentBase {
|
|
311
|
+
return <DataGrid rows={makeOrders(count)} rowKey="id" columns={columns} label="Orders" style="block-size: 100%" />;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/** The fields a customer is edited with. */
|
|
315
|
+
export interface Customer {
|
|
316
|
+
name: string;
|
|
317
|
+
email: string;
|
|
318
|
+
city: string;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/** The forms open over each customer: a copy of a document has a form of its own over the same object. */
|
|
322
|
+
const formsOf = new WeakMap<Customer, Set<FormLayout<Customer>>>();
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* A form over a customer: what is typed goes straight into it. The form reads the object as it is, so the other forms
|
|
326
|
+
* over the same customer are told to read the field again.
|
|
327
|
+
*/
|
|
328
|
+
export function customerForm(customer: Customer): ComponentBase {
|
|
329
|
+
const items: FormItem[] = [
|
|
330
|
+
{ field: 'name', label: 'Name', required: true },
|
|
331
|
+
{ field: 'email', label: 'Email', editor: 'email' },
|
|
332
|
+
{ field: 'city', label: 'City' },
|
|
333
|
+
];
|
|
334
|
+
const forms = formsOf.get(customer) ?? new Set<FormLayout<Customer>>();
|
|
335
|
+
formsOf.set(customer, forms);
|
|
336
|
+
return (
|
|
337
|
+
<div style="padding: var(--mx-space-4); max-inline-size: 32rem">
|
|
338
|
+
<FormLayout<Customer>
|
|
339
|
+
data={customer}
|
|
340
|
+
items={items}
|
|
341
|
+
ref={(form: FormLayout<Customer>) => {
|
|
342
|
+
forms.add(form);
|
|
343
|
+
form.motif.setDisposable(() => forms.delete(form));
|
|
344
|
+
}}
|
|
345
|
+
onFieldChanged={(e) => {
|
|
346
|
+
for (const other of forms) if (other.data === e.data && !other.isDisposed) other.refreshField(e.field);
|
|
347
|
+
}}
|
|
348
|
+
/>
|
|
349
|
+
</div>
|
|
350
|
+
);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/** A few paragraphs of plain text. */
|
|
354
|
+
export function notes(title: string): ComponentBase {
|
|
355
|
+
return (
|
|
356
|
+
<div style="padding: var(--mx-space-4); max-inline-size: 40rem">
|
|
357
|
+
<h3 style="margin-block-start: 0">{title}</h3>
|
|
358
|
+
<p>Any component can be a document: a form, a grid, a chart or plain text like this.</p>
|
|
359
|
+
<p>Drag the line between two groups, or focus it with Tab and use the arrow keys. A double click on it gives the groups the same size.</p>
|
|
360
|
+
</div>
|
|
361
|
+
);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
const CITIES = ['İstanbul', 'Ankara', 'İzmir', 'London', 'New York'];
|
|
365
|
+
|
|
366
|
+
/** A customer card: text fields and a city drop-down over a reactive customer, and a button that opens a dialog. */
|
|
367
|
+
export function customerCard(customer: Customer): ComponentBase {
|
|
368
|
+
const items: FormItem[] = [
|
|
369
|
+
{ field: 'name', label: 'Name', required: true },
|
|
370
|
+
{ field: 'email', label: 'Email', editor: 'email' },
|
|
371
|
+
{ field: 'city', label: 'City', editor: 'dropdown', editorProps: { items: CITIES } },
|
|
372
|
+
];
|
|
373
|
+
let card: ComponentBase | null = null;
|
|
374
|
+
// The dialog opens where the card is: in a new window, there.
|
|
375
|
+
const clear = async () => {
|
|
376
|
+
if (await confirm('Clear the customer card?', { title: 'Clear', host: card! })) Object.assign(customer, { name: '', email: '', city: '' });
|
|
377
|
+
};
|
|
378
|
+
return (
|
|
379
|
+
<div ref={(c: ComponentBase) => (card = c)} style="padding: var(--mx-space-4); max-inline-size: 32rem">
|
|
380
|
+
<FormLayout data={customer} items={items} />
|
|
381
|
+
<Button text="Clear…" variant="outline" onclick={clear} />
|
|
382
|
+
</div>
|
|
383
|
+
);
|
|
384
|
+
}
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
```tsx
|
|
388
|
+
docs.onClosing((e) => {
|
|
389
|
+
// Ask only when the last copy closes.
|
|
390
|
+
if (e.document.dirty && e.lastCopy) e.promise = confirm('Close without saving?');
|
|
391
|
+
});
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
## Accessibility
|
|
395
|
+
|
|
396
|
+
| Topic | Details |
|
|
397
|
+
| --- | --- |
|
|
398
|
+
| `Preview and pinned tabs` | A tab announces “preview” or “pinned” after its title. The pin icon is for pointer use. From the keyboard, use the menu (Shift+F10) or Ctrl+K Shift+Enter to pin and unpin, and Ctrl+K Enter to keep a preview. |
|
|
399
|
+
| `Compact pinned tabs` | Show their icon or first letter. The title and description stay in the tab for screen readers. |
|
|
400
|
+
| `Scroll buttons` | For pointer use only. The arrow keys reach every tab and scroll it into view. |
|
|
401
|
+
| `Badges and tones` | A badge's text is part of the tab's name. A dot and a tone are color only, so make sure their meaning also appears in the title, the tooltip or the badge text. |
|
|
402
|
+
| `Announcements` | Pinned, unpinned and kept open are announced politely, like opened and closed. |
|
|
403
|
+
|
|
404
|
+
## API
|
|
405
|
+
|
|
406
|
+
### Props
|
|
407
|
+
|
|
408
|
+
| Prop | Type | Default | Description |
|
|
409
|
+
| --- | --- | --- | --- |
|
|
410
|
+
| `previewTabs` | `Bind<boolean>` | `true` | Documents opened with `preview` replace the group's preview tab. With `false`, every document opens as a regular tab. |
|
|
411
|
+
| `pinnedTabSize` | `Bind<'normal' \| 'compact' \| 'shrink'>` | `'normal'` | Pinned tabs can look like other tabs, show only their icon (or first letter, with the title kept for screen readers), or shrink to `tabMinWidth`. |
|
|
412
|
+
| `pinnedTabsOnSeparateRow` | `Bind<boolean>` | `false` | Places pinned tabs on their own row, above the others. |
|
|
413
|
+
| `closeButtonOnPinned` | `Bind<boolean>` | `false` | Shows a close button next to the pin icon on pinned tabs. |
|
|
414
|
+
| `keepPinned` | `Bind<boolean>` | `true` | Keeps pinned tabs open with Close All, Close Others, Close to the Right or Left, and Close Saved. |
|
|
415
|
+
| `tabSize` | `Bind<'fit' \| 'shrink' \| 'fixed'>` | `'fit'` | As wide as their text, shrinking down to `tabMinWidth` before the strip scrolls, or `tabFixedWidth` wide, shrinking down to `tabMinWidth`. |
|
|
416
|
+
| `tabMinWidth, tabMaxWidth, tabFixedWidth` | `Bind<number>` | `80`, `0`, `160` | In pixels. `tabMaxWidth` limits `fit` and `shrink` tabs, and 0 leaves only the title's own limit. |
|
|
417
|
+
| `wrapTabs` | `Bind<boolean>` | `false` | Tabs that do not fit continue on more rows instead of scrolling. |
|
|
418
|
+
| `scrollButtons` | `Bind<boolean>` | `true` | Buttons at the ends of a strip that does not fit. The mouse wheel scrolls it sideways in any case. |
|
|
419
|
+
| `showDescription` | `Bind<'always' \| 'duplicates' \| 'never'>` | `'duplicates'` | Whether a tab always shows its document's description, shows it only when another open document has the same title, or never shows it. |
|
|
420
|
+
| `allowDuplicate` | `Bind<boolean>` | `false` | Allows the same document to be open in several groups. A document's own `allowDuplicate` takes precedence. |
|
|
421
|
+
| `splitCopies` | `Bind<boolean>` | `true` | When splitting with a document that can be open twice, opens a copy in the new group. Otherwise, the document moves there. |
|
|
422
|
+
|
|
423
|
+
### TabDocument
|
|
424
|
+
|
|
425
|
+
| Field | Type | Description |
|
|
426
|
+
| --- | --- | --- |
|
|
427
|
+
| `preview` | `Bind<boolean>` | An italic preview tab, which the next preview opened in its group replaces. It stays after a double-click, an edit (`dirty`), `keep`, the menu or a move. |
|
|
428
|
+
| `pinned` | `Bind<boolean>` | Pinned tabs come first, in the order they were pinned, and have a pin icon that unpins them. Use `pin` and `unpin` so that events are raised. |
|
|
429
|
+
| `badge` | `Bind<string \| number \| boolean \| null>` | A count or short text after the title. `true` shows a dot. |
|
|
430
|
+
| `tone` | `Bind<'warning' \| 'danger' \| 'success' \| 'accent' \| null>` | Colors the title and the badge. |
|
|
431
|
+
| `description` | `Bind<string>` | Displayed as set by `showDescription`, and in the document lists. |
|
|
432
|
+
| `allowDuplicate` | `Bind<boolean \| undefined>` | Overrides the manager's setting for this document. `undefined` inherits the manager's value. |
|
|
433
|
+
| `clone` | `(copy) => ComponentBase \| null` | Creates the content of a copy in another group. Without it, a `content` function is called again, or the manager's `factory` creates it. A component provided directly cannot be copied. |
|
|
434
|
+
| `original` | read-only | For a copy, the document it was copied from, or `null` for the document itself. A copy has the same `id` and `type`, and shares every field except `pinned`, `preview` and `contentLifetime`. |
|
|
435
|
+
|
|
436
|
+
### Methods
|
|
437
|
+
|
|
438
|
+
| Method | Returns | Description |
|
|
439
|
+
| --- | --- | --- |
|
|
440
|
+
| `open(doc, { preview?, pinned?, … })` | `TabDocument \| null` | Opens as a preview, replacing the group's preview tab, or as a pinned tab. A document open in another group is copied there if it can be open twice. |
|
|
441
|
+
| `keep(doc)` | `boolean` | Keeps a preview tab open. |
|
|
442
|
+
| `pin(doc), unpin(doc)` | `boolean` | Pins to the end of the pinned tabs, or unpins to the first position after them. |
|
|
443
|
+
| `closeOthers(doc), closeToRight(doc), closeToLeft(doc), closeSaved(group?)` | `Promise<boolean>` | Closes several documents, each raising `onClosing`. Pinned tabs stay while `keepPinned` is on. |
|
|
444
|
+
| `closeAll(group?, pinned?)` | `Promise<boolean>` | Pinned tabs stay while `keepPinned` is on, unless `pinned` is `true`. |
|
|
445
|
+
| `split(group, direction, doc?)` | `TabGroup \| null` | Copies `doc` into the new group if it can be open twice and `splitCopies` is on. Otherwise, it moves. |
|
|
446
|
+
|
|
447
|
+
### Events
|
|
448
|
+
|
|
449
|
+
| Event | Contents |
|
|
450
|
+
| --- | --- |
|
|
451
|
+
| `onKeeping(e), onKept(e)` | `{ document, group, byUser }`. `keeping` is cancelable. |
|
|
452
|
+
| `onPinning(e), onPinned(e), onUnpinning(e), onUnpinned(e)` | `{ document, group, byUser }`. The `…ing` events are cancelable. |
|
|
453
|
+
| `onClosing(e)` | Also includes `lastCopy`, which is true when no other copy of the document remains open, so prompt about unsaved changes only then. A preview replaced by the next one also closes through this event. If it cancels or sets a promise, the old preview stays open as a regular tab. |
|
|
454
|
+
| `onSplitting(e), onSplit(e)` | Also includes `copy`: whether the document is copied (`splitting`), and the copy created (`split`). |
|
|
455
|
+
|
|
456
|
+
See the [overview](tabdocs.md#api) for the rest of the API, and [Menus and keys](tabdocs-menus.md) for menus, lists and keys.
|
|
457
|
+
|
|
458
|
+
## Feedback
|
|
459
|
+
|
|
460
|
+
Loading issues…
|
|
461
|
+
|
|
462
|
+
## Example files
|
|
463
|
+
|
|
464
|
+
`Preview.tsx`
|
|
465
|
+
|
|
466
|
+
```tsx
|
|
467
|
+
import { reactive } from '@motifx/core';
|
|
468
|
+
import { Button, ListBox, Stack, Switch, TabDocumentManager } from '@motifx-community/ui';
|
|
469
|
+
import { FILES, fileDocument } from './files';
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* Choosing a file opens it as a preview (in italics): the next one chosen takes its place. A double
|
|
473
|
+
* click on the tab, an edit, "Keep open" or moving it makes it stay.
|
|
474
|
+
*/
|
|
475
|
+
export default function Preview() {
|
|
476
|
+
const s = reactive({ previewTabs: true, kept: [] as string[] });
|
|
477
|
+
// Narrow beside its log, it still shows as on a desktop (see the Tablet and phone page).
|
|
478
|
+
const docs = new TabDocumentManager({ label: 'Files in preview', previewTabs: () => s.previewTabs, presentation: 'desktop' });
|
|
479
|
+
docs.element.style.cssText = 'block-size: 28rem; flex: 1 1 0px; min-inline-size: 0';
|
|
480
|
+
docs.onKept((e) => s.kept.unshift(e.document.title));
|
|
481
|
+
|
|
482
|
+
const show = (path: string | null) => {
|
|
483
|
+
if (path) docs.open(docs.findDocument(path) ?? fileDocument(path), { preview: true });
|
|
484
|
+
};
|
|
485
|
+
|
|
486
|
+
return (
|
|
487
|
+
<>
|
|
488
|
+
<Stack orientation="horizontal" wrap align="center">
|
|
489
|
+
<Switch label="Preview tabs" x-model={() => s.previewTabs} />
|
|
490
|
+
<Button text="Keep open" variant="outline" enabled={() => !!docs.activeDocument?.preview} onclick={() => docs.keep(docs.activeDocument!)} />
|
|
491
|
+
<output class="td-state">{() => `preview: ${docs.activeGroup?.previewDocument?.title ?? 'none'}; kept: ${s.kept.join(', ') || 'none'}`}</output>
|
|
492
|
+
</Stack>
|
|
493
|
+
<div style="display: flex; gap: var(--mx-space-3); inline-size: 100%">
|
|
494
|
+
<ListBox
|
|
495
|
+
label="Files"
|
|
496
|
+
items={FILES}
|
|
497
|
+
textField="path"
|
|
498
|
+
valueField="path"
|
|
499
|
+
height="28rem"
|
|
500
|
+
style="inline-size: 14rem; flex: none"
|
|
501
|
+
onValueChanged={(e) => show(e.value as string | null)}
|
|
502
|
+
/>
|
|
503
|
+
{docs}
|
|
504
|
+
</div>
|
|
505
|
+
</>
|
|
506
|
+
);
|
|
507
|
+
}
|
|
508
|
+
```
|
|
509
|
+
|
|
510
|
+
`files.tsx`
|
|
511
|
+
|
|
512
|
+
```tsx
|
|
513
|
+
import type { ComponentBase } from '@motifx/core';
|
|
514
|
+
import { TabDocument, type TabDocumentOptions } from '@motifx-community/ui';
|
|
515
|
+
|
|
516
|
+
/** A page with a folded corner: a file. */
|
|
517
|
+
export const FileIcon = () => (
|
|
518
|
+
<svg viewBox="0 0 16 16" aria-hidden="true">
|
|
519
|
+
<path d="M4 1.75h5l3 3v9.5H4zM9 1.75v3h3" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round" />
|
|
520
|
+
</svg>
|
|
521
|
+
);
|
|
522
|
+
|
|
523
|
+
/** A few files of a sample project. */
|
|
524
|
+
export const FILES = [
|
|
525
|
+
{ path: 'src/index.ts', text: "export { App } from './app';\nexport { router } from './router';" },
|
|
526
|
+
{ path: 'src/app.ts', text: "import { Application } from '@motifx/core';\n\nexport const App = Application.CreateBuilder().build();" },
|
|
527
|
+
{ path: 'src/router.ts', text: "export const router = { mode: 'history', routes: [] };" },
|
|
528
|
+
{ path: 'src/orders/index.ts', text: "export * from './orders';" },
|
|
529
|
+
{ path: 'src/orders/orders.ts', text: 'export interface Order {\n id: number;\n amount: number;\n}' },
|
|
530
|
+
{ path: 'README.md', text: '# Shop\n\nA small shop written with MotifJS.' },
|
|
531
|
+
{ path: 'package.json', text: '{\n "name": "shop",\n "private": true\n}' },
|
|
532
|
+
{ path: 'vite.config.ts', text: "import { defineConfig } from 'vite';\n\nexport default defineConfig({});" },
|
|
533
|
+
];
|
|
534
|
+
|
|
535
|
+
/** A file's text, as a document's content. */
|
|
536
|
+
export function source(text: string): ComponentBase {
|
|
537
|
+
// The panel scrolls (and takes focus for it): the text itself does not.
|
|
538
|
+
return <pre style="margin: 0; padding: var(--mx-space-4); overflow: visible; font: var(--mx-font-size-body) / var(--mx-font-line-body) var(--mx-font-family-mono)">{text}</pre>;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
/** A document for a file: its name as the title, its folder as the description. */
|
|
542
|
+
export function fileDocument(path: string, extra: TabDocumentOptions = {}): TabDocument {
|
|
543
|
+
const file = FILES.find((f) => f.path === path);
|
|
544
|
+
const at = path.lastIndexOf('/');
|
|
545
|
+
return new TabDocument({
|
|
546
|
+
id: path,
|
|
547
|
+
type: 'file',
|
|
548
|
+
title: path.slice(at + 1),
|
|
549
|
+
description: at > 0 ? path.slice(0, at) : '',
|
|
550
|
+
icon: () => <FileIcon />,
|
|
551
|
+
content: () => source(file?.text ?? ''),
|
|
552
|
+
...extra,
|
|
553
|
+
});
|
|
554
|
+
}
|
|
555
|
+
```
|
|
556
|
+
|
|
557
|
+
`Pinning.tsx`
|
|
558
|
+
|
|
559
|
+
```tsx
|
|
560
|
+
import { reactive } from '@motifx/core';
|
|
561
|
+
import { Button, RadioGroup, Stack, Switch, TabDocumentManager, type PinnedTabSize } from '@motifx-community/ui';
|
|
562
|
+
import { FILES, fileDocument } from './files';
|
|
563
|
+
|
|
564
|
+
/** Pinned tabs stay first, in the order they were pinned. Their pin mark unpins them; the menu and Ctrl+K Shift+Enter do too. */
|
|
565
|
+
export default function Pinning() {
|
|
566
|
+
const s = reactive({ size: 'normal' as PinnedTabSize, separateRow: false, closeButton: false, keepPinned: true });
|
|
567
|
+
const docs = new TabDocumentManager({
|
|
568
|
+
label: 'Files with pinned tabs',
|
|
569
|
+
pinnedTabSize: () => s.size,
|
|
570
|
+
pinnedTabsOnSeparateRow: () => s.separateRow,
|
|
571
|
+
closeButtonOnPinned: () => s.closeButton,
|
|
572
|
+
keepPinned: () => s.keepPinned,
|
|
573
|
+
});
|
|
574
|
+
docs.element.style.cssText = 'block-size: 28rem; inline-size: 100%';
|
|
575
|
+
for (const file of FILES) docs.open(fileDocument(file.path), { index: 99, pinned: file.path === 'README.md' || file.path === 'package.json' });
|
|
576
|
+
|
|
577
|
+
const toggle = () => {
|
|
578
|
+
const doc = docs.activeDocument;
|
|
579
|
+
if (doc) (doc.pinned ? docs.unpin(doc) : docs.pin(doc));
|
|
580
|
+
};
|
|
581
|
+
|
|
582
|
+
return (
|
|
583
|
+
<>
|
|
584
|
+
<Stack orientation="horizontal" wrap align="center" gap="lg">
|
|
585
|
+
<RadioGroup
|
|
586
|
+
label="Pinned tab size"
|
|
587
|
+
orientation="horizontal"
|
|
588
|
+
items={[
|
|
589
|
+
{ value: 'normal', text: 'Normal' },
|
|
590
|
+
{ value: 'compact', text: 'Compact' },
|
|
591
|
+
{ value: 'shrink', text: 'Shrink' },
|
|
592
|
+
]}
|
|
593
|
+
itemText="text"
|
|
594
|
+
itemValue="value"
|
|
595
|
+
x-model={() => s.size}
|
|
596
|
+
/>
|
|
597
|
+
<Switch label="Row of their own" x-model={() => s.separateRow} />
|
|
598
|
+
<Switch label="Close button" x-model={() => s.closeButton} />
|
|
599
|
+
<Switch label="Close all keeps them" x-model={() => s.keepPinned} />
|
|
600
|
+
</Stack>
|
|
601
|
+
<Stack orientation="horizontal" wrap align="center">
|
|
602
|
+
<Button text={() => (docs.activeDocument?.pinned ? 'Unpin active' : 'Pin active')} variant="outline" onclick={toggle} />
|
|
603
|
+
<Button text="Close all" variant="outline" onclick={() => docs.closeAll()} />
|
|
604
|
+
<Button text="Open the files again" variant="ghost" onclick={() => FILES.forEach((f) => docs.findDocument(f.path) || docs.open(fileDocument(f.path), { index: 99 }))} />
|
|
605
|
+
</Stack>
|
|
606
|
+
{docs}
|
|
607
|
+
</>
|
|
608
|
+
);
|
|
609
|
+
}
|
|
610
|
+
```
|
|
611
|
+
|
|
612
|
+
`Sizing.tsx`
|
|
613
|
+
|
|
614
|
+
```tsx
|
|
615
|
+
import { reactive } from '@motifx/core';
|
|
616
|
+
import { RadioGroup, Stack, Switch, TabDocumentManager, type TabSize } from '@motifx-community/ui';
|
|
617
|
+
import { notes } from './contents';
|
|
618
|
+
|
|
619
|
+
/** More tabs than fit: they scroll (wheel or buttons), shrink, take one width, or go on to more rows. */
|
|
620
|
+
export default function Sizing() {
|
|
621
|
+
const s = reactive({ size: 'fit' as TabSize, wrap: false, buttons: true });
|
|
622
|
+
const docs = new TabDocumentManager({
|
|
623
|
+
label: 'Tab sizes',
|
|
624
|
+
tabSize: () => s.size,
|
|
625
|
+
wrapTabs: () => s.wrap,
|
|
626
|
+
scrollButtons: () => s.buttons,
|
|
627
|
+
tabMinWidth: 72,
|
|
628
|
+
tabFixedWidth: 140,
|
|
629
|
+
});
|
|
630
|
+
docs.element.style.cssText = 'block-size: 28rem; inline-size: 100%';
|
|
631
|
+
const names = ['Overview', 'Customers', 'Orders', 'Invoices', 'Payments', 'Shipping', 'Returns', 'Products', 'Stock', 'Suppliers', 'Reports', 'Settings'];
|
|
632
|
+
for (const name of names) docs.open({ id: name, title: name, content: () => notes(name) }, { index: 99 });
|
|
633
|
+
|
|
634
|
+
return (
|
|
635
|
+
<>
|
|
636
|
+
<Stack orientation="horizontal" wrap align="center" gap="lg">
|
|
637
|
+
<RadioGroup
|
|
638
|
+
label="Tab size"
|
|
639
|
+
orientation="horizontal"
|
|
640
|
+
items={[
|
|
641
|
+
{ value: 'fit', text: 'Fit' },
|
|
642
|
+
{ value: 'shrink', text: 'Shrink' },
|
|
643
|
+
{ value: 'fixed', text: 'Fixed' },
|
|
644
|
+
]}
|
|
645
|
+
itemText="text"
|
|
646
|
+
itemValue="value"
|
|
647
|
+
x-model={() => s.size}
|
|
648
|
+
/>
|
|
649
|
+
<Switch label="More rows" x-model={() => s.wrap} />
|
|
650
|
+
<Switch label="Scroll buttons" x-model={() => s.buttons} />
|
|
651
|
+
</Stack>
|
|
652
|
+
{docs}
|
|
653
|
+
</>
|
|
654
|
+
);
|
|
655
|
+
}
|
|
656
|
+
```
|
|
657
|
+
|
|
658
|
+
`contents.tsx`
|
|
659
|
+
|
|
660
|
+
```tsx
|
|
661
|
+
import type { ComponentBase } from '@motifx/core';
|
|
662
|
+
import { Button, confirm, DataGrid, FormLayout, type FormItem, type GridColumn } from '@motifx-community/ui';
|
|
663
|
+
import { makeOrders, type Order } from './orders';
|
|
664
|
+
|
|
665
|
+
const columns: GridColumn<Order>[] = [
|
|
666
|
+
{ field: 'id', title: 'No', type: 'number', width: 70 },
|
|
667
|
+
{ field: 'customer', title: 'Customer', width: 160 },
|
|
668
|
+
{ field: 'city', title: 'City', width: 110 },
|
|
669
|
+
{ field: 'amount', title: 'Amount', type: 'number', width: 100 },
|
|
670
|
+
];
|
|
671
|
+
|
|
672
|
+
/** A grid of orders that fills its tab. */
|
|
673
|
+
export function ordersGrid(count = 60): ComponentBase {
|
|
674
|
+
return <DataGrid rows={makeOrders(count)} rowKey="id" columns={columns} label="Orders" style="block-size: 100%" />;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
/** The fields a customer is edited with. */
|
|
678
|
+
export interface Customer {
|
|
679
|
+
name: string;
|
|
680
|
+
email: string;
|
|
681
|
+
city: string;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
/** The forms open over each customer: a copy of a document has a form of its own over the same object. */
|
|
685
|
+
const formsOf = new WeakMap<Customer, Set<FormLayout<Customer>>>();
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* A form over a customer: what is typed goes straight into it. The form reads the object as it is, so the other forms
|
|
689
|
+
* over the same customer are told to read the field again.
|
|
690
|
+
*/
|
|
691
|
+
export function customerForm(customer: Customer): ComponentBase {
|
|
692
|
+
const items: FormItem[] = [
|
|
693
|
+
{ field: 'name', label: 'Name', required: true },
|
|
694
|
+
{ field: 'email', label: 'Email', editor: 'email' },
|
|
695
|
+
{ field: 'city', label: 'City' },
|
|
696
|
+
];
|
|
697
|
+
const forms = formsOf.get(customer) ?? new Set<FormLayout<Customer>>();
|
|
698
|
+
formsOf.set(customer, forms);
|
|
699
|
+
return (
|
|
700
|
+
<div style="padding: var(--mx-space-4); max-inline-size: 32rem">
|
|
701
|
+
<FormLayout<Customer>
|
|
702
|
+
data={customer}
|
|
703
|
+
items={items}
|
|
704
|
+
ref={(form: FormLayout<Customer>) => {
|
|
705
|
+
forms.add(form);
|
|
706
|
+
form.motif.setDisposable(() => forms.delete(form));
|
|
707
|
+
}}
|
|
708
|
+
onFieldChanged={(e) => {
|
|
709
|
+
for (const other of forms) if (other.data === e.data && !other.isDisposed) other.refreshField(e.field);
|
|
710
|
+
}}
|
|
711
|
+
/>
|
|
712
|
+
</div>
|
|
713
|
+
);
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
/** A few paragraphs of plain text. */
|
|
717
|
+
export function notes(title: string): ComponentBase {
|
|
718
|
+
return (
|
|
719
|
+
<div style="padding: var(--mx-space-4); max-inline-size: 40rem">
|
|
720
|
+
<h3 style="margin-block-start: 0">{title}</h3>
|
|
721
|
+
<p>Any component can be a document: a form, a grid, a chart or plain text like this.</p>
|
|
722
|
+
<p>Drag the line between two groups, or focus it with Tab and use the arrow keys. A double click on it gives the groups the same size.</p>
|
|
723
|
+
</div>
|
|
724
|
+
);
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
const CITIES = ['İstanbul', 'Ankara', 'İzmir', 'London', 'New York'];
|
|
728
|
+
|
|
729
|
+
/** A customer card: text fields and a city drop-down over a reactive customer, and a button that opens a dialog. */
|
|
730
|
+
export function customerCard(customer: Customer): ComponentBase {
|
|
731
|
+
const items: FormItem[] = [
|
|
732
|
+
{ field: 'name', label: 'Name', required: true },
|
|
733
|
+
{ field: 'email', label: 'Email', editor: 'email' },
|
|
734
|
+
{ field: 'city', label: 'City', editor: 'dropdown', editorProps: { items: CITIES } },
|
|
735
|
+
];
|
|
736
|
+
let card: ComponentBase | null = null;
|
|
737
|
+
// The dialog opens where the card is: in a new window, there.
|
|
738
|
+
const clear = async () => {
|
|
739
|
+
if (await confirm('Clear the customer card?', { title: 'Clear', host: card! })) Object.assign(customer, { name: '', email: '', city: '' });
|
|
740
|
+
};
|
|
741
|
+
return (
|
|
742
|
+
<div ref={(c: ComponentBase) => (card = c)} style="padding: var(--mx-space-4); max-inline-size: 32rem">
|
|
743
|
+
<FormLayout data={customer} items={items} />
|
|
744
|
+
<Button text="Clear…" variant="outline" onclick={clear} />
|
|
745
|
+
</div>
|
|
746
|
+
);
|
|
747
|
+
}
|
|
748
|
+
```
|
|
749
|
+
|
|
750
|
+
`Look.tsx`
|
|
751
|
+
|
|
752
|
+
```tsx
|
|
753
|
+
import { reactive } from '@motifx/core';
|
|
754
|
+
import { Button, RadioGroup, Stack, TabDocument, TabDocumentManager, type TabShowDescription } from '@motifx-community/ui';
|
|
755
|
+
import { notes } from './contents';
|
|
756
|
+
import { fileDocument } from './files';
|
|
757
|
+
|
|
758
|
+
/** A count or a dot on the tab, a color for what the document needs, and a description only where two titles are the same. */
|
|
759
|
+
export default function Look() {
|
|
760
|
+
const s = reactive({ unread: 3, errors: 1, description: 'duplicates' as TabShowDescription });
|
|
761
|
+
const docs = new TabDocumentManager({ label: 'Badges and tones', showDescription: () => s.description });
|
|
762
|
+
docs.element.style.cssText = 'block-size: 28rem; inline-size: 100%';
|
|
763
|
+
docs.open(new TabDocument({ id: 'inbox', title: 'Inbox', badge: () => s.unread || null, tone: () => (s.unread ? 'accent' : null), content: () => notes('Inbox') }));
|
|
764
|
+
docs.open(new TabDocument({ id: 'build', title: 'Build', badge: () => s.errors || null, tone: () => (s.errors ? 'danger' : 'success'), content: () => notes('Build') }), { index: 99 });
|
|
765
|
+
docs.open(new TabDocument({ id: 'quota', title: 'Quota', badge: true, tone: 'warning', content: () => notes('Quota') }), { index: 99 });
|
|
766
|
+
docs.open(fileDocument('src/index.ts'), { index: 99 });
|
|
767
|
+
docs.open(fileDocument('src/orders/index.ts'), { index: 99 });
|
|
768
|
+
|
|
769
|
+
return (
|
|
770
|
+
<>
|
|
771
|
+
<Stack orientation="horizontal" wrap align="center" gap="lg">
|
|
772
|
+
<Button text="New mail" variant="outline" onclick={() => s.unread++} />
|
|
773
|
+
<Button text="Read all" variant="outline" onclick={() => (s.unread = 0)} />
|
|
774
|
+
<Button text={() => (s.errors ? 'Fix the build' : 'Break the build')} variant="outline" onclick={() => (s.errors = s.errors ? 0 : 2)} />
|
|
775
|
+
<RadioGroup
|
|
776
|
+
label="Description"
|
|
777
|
+
orientation="horizontal"
|
|
778
|
+
items={[
|
|
779
|
+
{ value: 'duplicates', text: 'Same titles' },
|
|
780
|
+
{ value: 'always', text: 'Always' },
|
|
781
|
+
{ value: 'never', text: 'Never' },
|
|
782
|
+
]}
|
|
783
|
+
itemText="text"
|
|
784
|
+
itemValue="value"
|
|
785
|
+
x-model={() => s.description}
|
|
786
|
+
/>
|
|
787
|
+
</Stack>
|
|
788
|
+
{docs}
|
|
789
|
+
</>
|
|
790
|
+
);
|
|
791
|
+
}
|
|
792
|
+
```
|
|
793
|
+
|
|
794
|
+
`Duplicates.tsx`
|
|
795
|
+
|
|
796
|
+
```tsx
|
|
797
|
+
import { reactive } from '@motifx/core';
|
|
798
|
+
import { Button, Stack, Switch, TabDocument, TabDocumentManager } from '@motifx-community/ui';
|
|
799
|
+
import { customerForm } from './contents';
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* One customer open in two groups: each copy has a form of its own over the same data, and both
|
|
803
|
+
* tabs follow the title and the unsaved changes. Splitting copies the document; turned off, it moves.
|
|
804
|
+
*/
|
|
805
|
+
export default function Duplicates() {
|
|
806
|
+
const s = reactive({ allow: true });
|
|
807
|
+
const saved = reactive({ name: 'Ada Lovelace', email: 'ada@example.com', city: 'London' });
|
|
808
|
+
const ada = reactive({ ...saved });
|
|
809
|
+
const docs = new TabDocumentManager({ label: 'Two copies', allowDuplicate: () => s.allow });
|
|
810
|
+
docs.element.style.cssText = 'block-size: 28rem; inline-size: 100%';
|
|
811
|
+
const doc = docs.open(
|
|
812
|
+
new TabDocument({
|
|
813
|
+
id: 'ada',
|
|
814
|
+
type: 'customer',
|
|
815
|
+
title: () => ada.name || 'New customer',
|
|
816
|
+
dirty: () => ada.name !== saved.name || ada.email !== saved.email || ada.city !== saved.city,
|
|
817
|
+
content: () => customerForm(ada),
|
|
818
|
+
}),
|
|
819
|
+
)!;
|
|
820
|
+
docs.split(docs.groups[0], 'right', doc);
|
|
821
|
+
|
|
822
|
+
return (
|
|
823
|
+
<>
|
|
824
|
+
<Stack orientation="horizontal" wrap align="center">
|
|
825
|
+
<Switch label="Allow two copies" x-model={() => s.allow} />
|
|
826
|
+
<Button text="Split the active group" variant="outline" onclick={() => docs.activeGroup && docs.split(docs.activeGroup, 'down', docs.activeDocument ?? undefined)} />
|
|
827
|
+
<Button text="Save" variant="outline" enabled={() => doc.dirty} onclick={() => Object.assign(saved, { ...ada })} />
|
|
828
|
+
<output class="td-state">{() => `${docs.documents.length} tab(s) for ${new Set(docs.documents.map((d) => d.id)).size} document(s)`}</output>
|
|
829
|
+
</Stack>
|
|
830
|
+
{docs}
|
|
831
|
+
</>
|
|
832
|
+
);
|
|
833
|
+
}
|
|
834
|
+
```
|