@motifx-community/ui 0.0.0-stage → 0.1.0-beta.0
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.
Potentially problematic release.
This version of @motifx-community/ui might be problematic. Click here for more details.
- package/CHANGELOG.md +1803 -0
- package/LICENSE +21 -0
- package/README.md +139 -3
- package/dist/components/accordion/Accordion.d.ts +100 -0
- package/dist/components/accordion/AccordionItem.d.ts +66 -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 +38 -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/avatar/Avatar.d.ts +54 -0
- package/dist/components/avatar/AvatarGroup.d.ts +41 -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 +25 -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 +53 -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/breadcrumb/Breadcrumb.d.ts +56 -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 +21 -0
- package/dist/components/breadcrumb/index.d.ts +4 -0
- package/dist/components/button/Button.d.ts +117 -0
- package/dist/components/button/button-props.d.ts +45 -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/buttongroup/ButtonGroup.d.ts +79 -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 +36 -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 +70 -0
- package/dist/components/calendar/calendar-props.d.ts +26 -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 +92 -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/checkbox/CheckBox.d.ts +34 -0
- package/dist/components/checkbox/ToggleField.d.ts +26 -0
- package/dist/components/checkbox/check-box-props.d.ts +7 -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 +86 -0
- package/dist/components/chip/ChipGroup.d.ts +45 -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 +7 -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 +55 -0
- package/dist/components/colorbox/color-box-apply.d.ts +2 -0
- package/dist/components/colorbox/color-box-props.d.ts +15 -0
- package/dist/components/colorbox/index.d.ts +3 -0
- package/dist/components/colorpicker/ColorPicker.d.ts +66 -0
- package/dist/components/colorpicker/color-changed-event-args.d.ts +8 -0
- package/dist/components/colorpicker/color-picker-props.d.ts +17 -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 +103 -0
- package/dist/components/combobox/combo-box-props.d.ts +37 -0
- package/dist/components/combobox/index.d.ts +3 -0
- package/dist/components/contextmenu/ContextMenu.d.ts +96 -0
- package/dist/components/contextmenu/attach-context-menu.d.ts +12 -0
- package/dist/components/contextmenu/context-menu-opening-event-args.d.ts +16 -0
- package/dist/components/contextmenu/context-menu-presentation.d.ts +2 -0
- package/dist/components/contextmenu/context-menu-props.d.ts +30 -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 +1194 -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 +68 -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 +2 -0
- package/dist/components/datagrid/data-grid-props.d.ts +353 -0
- package/dist/components/datagrid/detail-context.d.ts +13 -0
- package/dist/components/datagrid/editor-context.d.ts +26 -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 +55 -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 +25 -0
- package/dist/components/datagrid/grid-adaptive-form-options.d.ts +10 -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 +38 -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 +16 -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 +13 -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 +190 -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 +8 -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 +19 -0
- package/dist/components/datagrid/grid-export-cell.d.ts +26 -0
- package/dist/components/datagrid/grid-export-options.d.ts +35 -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 +10 -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 +12 -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 +16 -0
- package/dist/components/datagrid/grid-load-panel.d.ts +11 -0
- package/dist/components/datagrid/grid-lookup.d.ts +47 -0
- package/dist/components/datagrid/grid-master-detail.d.ts +38 -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 +6 -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 +13 -0
- package/dist/components/datagrid/grid-row-drag-event-args.d.ts +36 -0
- package/dist/components/datagrid/grid-row-dragging.d.ts +71 -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 +10 -0
- package/dist/components/datagrid/grid-row-expanding-event-args.d.ts +15 -0
- package/dist/components/datagrid/grid-row-extend-keys.d.ts +7 -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 +14 -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 +2 -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 +9 -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 +10 -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 +354 -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 +24 -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 +37 -0
- package/dist/components/datagrid/grid-summary-text-info.d.ts +7 -0
- package/dist/components/datagrid/grid-summary-texts.d.ts +15 -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 +25 -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 +34 -0
- package/dist/components/datagrid/grid-toolbar-preparing-event-args.d.ts +9 -0
- package/dist/components/datagrid/grid-toolbar.d.ts +15 -0
- package/dist/components/datagrid/grid-validation-callback-args.d.ts +13 -0
- package/dist/components/datagrid/grid-validation-rule.d.ts +74 -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 +12 -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 +161 -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 +41 -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/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 +193 -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 +61 -0
- package/dist/components/datagrid/model/GridModel.d.ts +475 -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/LiveOptions.d.ts +15 -0
- package/dist/components/datagrid/model/LookupTexts.d.ts +72 -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 +27 -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-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 +2 -0
- package/dist/components/datagrid/model/day-condition.d.ts +6 -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 +24 -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 +7 -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 +23 -0
- package/dist/components/datagrid/view/AdaptiveForm.d.ts +38 -0
- package/dist/components/datagrid/view/BandRows.d.ts +43 -0
- package/dist/components/datagrid/view/BarButtons.d.ts +53 -0
- package/dist/components/datagrid/view/CellEditor.d.ts +83 -0
- package/dist/components/datagrid/view/CellTip.d.ts +24 -0
- package/dist/components/datagrid/view/ColumnMenu.d.ts +59 -0
- package/dist/components/datagrid/view/ColumnStyles.d.ts +31 -0
- package/dist/components/datagrid/view/DetailRow.d.ts +56 -0
- package/dist/components/datagrid/view/DragSelect.d.ts +50 -0
- package/dist/components/datagrid/view/EditForm.d.ts +59 -0
- package/dist/components/datagrid/view/FilterBuilderWindow.d.ts +26 -0
- package/dist/components/datagrid/view/FilterCell.d.ts +42 -0
- package/dist/components/datagrid/view/FilterPanel.d.ts +21 -0
- package/dist/components/datagrid/view/FilterRow.d.ts +29 -0
- package/dist/components/datagrid/view/GridBody.d.ts +216 -0
- package/dist/components/datagrid/view/GridPager.d.ts +69 -0
- package/dist/components/datagrid/view/GridRow.d.ts +95 -0
- package/dist/components/datagrid/view/GridToolbar.d.ts +79 -0
- package/dist/components/datagrid/view/GroupFooterRow.d.ts +32 -0
- package/dist/components/datagrid/view/GroupPanel.d.ts +41 -0
- package/dist/components/datagrid/view/GroupRow.d.ts +62 -0
- package/dist/components/datagrid/view/HeaderFilter.d.ts +55 -0
- package/dist/components/datagrid/view/HeaderRow.d.ts +72 -0
- package/dist/components/datagrid/view/MenuPopup.d.ts +19 -0
- package/dist/components/datagrid/view/RowActions.d.ts +30 -0
- package/dist/components/datagrid/view/RowDrag.d.ts +79 -0
- package/dist/components/datagrid/view/TotalRow.d.ts +28 -0
- package/dist/components/datagrid/view/action-button.d.ts +10 -0
- package/dist/components/datagrid/view/adaptive-form-host.d.ts +8 -0
- package/dist/components/datagrid/view/check-mark.d.ts +4 -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 +2 -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 +4 -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-panel-host.d.ts +15 -0
- package/dist/components/datagrid/view/header-host.d.ts +24 -0
- package/dist/components/datagrid/view/next-frame.d.ts +4 -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/place-in-order.d.ts +6 -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 +14 -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 +8 -0
- package/dist/components/datagrid/view/toolbar-host.d.ts +32 -0
- package/dist/components/datagrid/view/toolbar-values.d.ts +7 -0
- package/dist/components/datebox/DateBox.d.ts +77 -0
- package/dist/components/datebox/date-box-props.d.ts +26 -0
- package/dist/components/datebox/index.d.ts +2 -0
- package/dist/components/drawer/Drawer.d.ts +68 -0
- package/dist/components/drawer/drawer-mode.d.ts +2 -0
- package/dist/components/drawer/drawer-props.d.ts +23 -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 +96 -0
- package/dist/components/dropdown/drop-down-item.d.ts +10 -0
- package/dist/components/dropdown/drop-down-props.d.ts +36 -0
- package/dist/components/dropdown/index.d.ts +3 -0
- package/dist/components/filterbuilder/FilterBuilder.d.ts +158 -0
- package/dist/components/filterbuilder/FilterBuilderModel.d.ts +79 -0
- package/dist/components/filterbuilder/default-operations.d.ts +4 -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 +15 -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 +39 -0
- package/dist/components/filterbuilder/filter-builder-group-operation.d.ts +2 -0
- package/dist/components/filterbuilder/filter-builder-group.d.ts +10 -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 +11 -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 +13 -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 +11 -0
- package/dist/components/filterbuilder/filter-builder-item.d.ts +3 -0
- package/dist/components/filterbuilder/filter-builder-lookup.d.ts +13 -0
- package/dist/components/filterbuilder/filter-builder-model-options.d.ts +14 -0
- package/dist/components/filterbuilder/filter-builder-operation.d.ts +3 -0
- package/dist/components/filterbuilder/filter-builder-props.d.ts +57 -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 +195 -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 +68 -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 +18 -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 +78 -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 +31 -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/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 +54 -0
- package/dist/components/layout/Panel.d.ts +28 -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 +34 -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 +6 -0
- package/dist/components/layout/set-space.d.ts +3 -0
- package/dist/components/layout/space-value.d.ts +3 -0
- package/dist/components/layout/split-container-props.d.ts +34 -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 +112 -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 +2 -0
- package/dist/components/listbox/list-box-props.d.ts +38 -0
- package/dist/components/listbox/list-rows.d.ts +12 -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/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 +59 -0
- package/dist/components/menubar/index.d.ts +2 -0
- package/dist/components/menubar/menu-bar-props.d.ts +17 -0
- package/dist/components/numberbox/NumberBox.d.ts +115 -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 +44 -0
- package/dist/components/numberbox/number-text.d.ts +12 -0
- package/dist/components/numberbox/spin-layout.d.ts +2 -0
- package/dist/components/pagination/Pagination.d.ts +92 -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 +2 -0
- package/dist/components/pagination/pagination-props.d.ts +32 -0
- package/dist/components/progress/ProgressBar.d.ts +67 -0
- package/dist/components/progress/ProgressWave.d.ts +53 -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 +33 -0
- package/dist/components/progress/progress-label-position.d.ts +2 -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 +20 -0
- package/dist/components/progress/wave-geometry.d.ts +19 -0
- package/dist/components/radiogroup/RadioGroup.d.ts +73 -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 +20 -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 +20 -0
- package/dist/components/rating/rating-tone.d.ts +2 -0
- package/dist/components/scheduler/AppointmentEditor.d.ts +232 -0
- package/dist/components/scheduler/RecurrenceEditor.d.ts +66 -0
- package/dist/components/scheduler/Scheduler.d.ts +515 -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 +10 -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 +13 -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 +12 -0
- package/dist/components/scheduler/appointment-updating-event-args.d.ts +15 -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 +9 -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 +4 -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 +10 -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 +6 -0
- package/dist/components/scheduler/icalendar-imported-event-args.d.ts +5 -0
- package/dist/components/scheduler/icalendar-importing-event-args.d.ts +8 -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 +8 -0
- package/dist/components/scheduler/presentation-changed-event-args.d.ts +8 -0
- package/dist/components/scheduler/presentation-changing-event-args.d.ts +11 -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 +30 -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 +24 -0
- package/dist/components/scheduler/scheduler-fields.d.ts +39 -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 +22 -0
- package/dist/components/scheduler/scheduler-presentation-kind.d.ts +2 -0
- package/dist/components/scheduler/scheduler-presentation.d.ts +2 -0
- package/dist/components/scheduler/scheduler-props.d.ts +210 -0
- package/dist/components/scheduler/scheduler-range.d.ts +5 -0
- package/dist/components/scheduler/scheduler-resource.d.ts +33 -0
- package/dist/components/scheduler/scheduler-tablet-when.d.ts +2 -0
- package/dist/components/scheduler/scheduler-templates.d.ts +34 -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 +33 -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 +12 -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 +11 -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 +50 -0
- package/dist/components/scheduler/view/AppointmentBox.d.ts +58 -0
- package/dist/components/scheduler/view/AppointmentDrag.d.ts +66 -0
- package/dist/components/scheduler/view/AppointmentTooltip.d.ts +40 -0
- package/dist/components/scheduler/view/CellAttributes.d.ts +8 -0
- package/dist/components/scheduler/view/CellWriter.d.ts +35 -0
- package/dist/components/scheduler/view/GroupHeads.d.ts +32 -0
- package/dist/components/scheduler/view/KeyedParts.d.ts +27 -0
- package/dist/components/scheduler/view/MonthView.d.ts +58 -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 +38 -0
- package/dist/components/scheduler/view/TimeView.d.ts +101 -0
- package/dist/components/scheduler/view/TimelineLine.d.ts +77 -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 +72 -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/timeline-scroll.d.ts +7 -0
- package/dist/components/scheduler/view/touch-host.d.ts +21 -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/sheet/BottomSheet.d.ts +82 -0
- package/dist/components/sheet/bottom-sheet-detent.d.ts +6 -0
- package/dist/components/sheet/bottom-sheet-props.d.ts +27 -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/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 +21 -0
- package/dist/components/skeleton/skeleton-shape.d.ts +2 -0
- package/dist/components/slider/Slider.d.ts +114 -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 +40 -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/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 +31 -0
- package/dist/components/tabdocs/DockDropTarget.d.ts +34 -0
- package/dist/components/tabdocs/DockGuides.d.ts +35 -0
- package/dist/components/tabdocs/DocumentList.d.ts +76 -0
- package/dist/components/tabdocs/DocumentTab.d.ts +66 -0
- package/dist/components/tabdocs/DropMarks.d.ts +16 -0
- package/dist/components/tabdocs/LayoutDropTarget.d.ts +39 -0
- package/dist/components/tabdocs/MoveByKeys.d.ts +31 -0
- package/dist/components/tabdocs/NewWindowDropTarget.d.ts +19 -0
- package/dist/components/tabdocs/PhoneBar.d.ts +33 -0
- package/dist/components/tabdocs/PhoneList.d.ts +54 -0
- package/dist/components/tabdocs/PhoneTools.d.ts +20 -0
- package/dist/components/tabdocs/SplitSash.d.ts +23 -0
- package/dist/components/tabdocs/TabBarSettings.d.ts +35 -0
- package/dist/components/tabdocs/TabBrowserWindow.d.ts +60 -0
- package/dist/components/tabdocs/TabDockArea.d.ts +91 -0
- package/dist/components/tabdocs/TabDocument.d.ts +129 -0
- package/dist/components/tabdocs/TabDocumentManager.d.ts +1073 -0
- package/dist/components/tabdocs/TabDrag.d.ts +76 -0
- package/dist/components/tabdocs/TabGroup.d.ts +156 -0
- package/dist/components/tabdocs/TabMenus.d.ts +34 -0
- package/dist/components/tabdocs/TabPresenter.d.ts +105 -0
- package/dist/components/tabdocs/TabSplit.d.ts +40 -0
- package/dist/components/tabdocs/TabWindow.d.ts +82 -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 +18 -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/keep-scroll.d.ts +6 -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 +4 -0
- package/dist/components/tabdocs/pinned-tab-size.d.ts +2 -0
- package/dist/components/tabdocs/place-node.d.ts +6 -0
- package/dist/components/tabdocs/presentation-changed-event-args.d.ts +8 -0
- package/dist/components/tabdocs/presentation-changing-event-args.d.ts +11 -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/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 +2 -0
- package/dist/components/tabdocs/tab-bar-button.d.ts +2 -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 +2 -0
- package/dist/components/tabdocs/tab-docked-event-args.d.ts +16 -0
- package/dist/components/tabdocs/tab-docking-event-args.d.ts +21 -0
- package/dist/components/tabdocs/tab-document-content.d.ts +4 -0
- package/dist/components/tabdocs/tab-document-keys.d.ts +105 -0
- package/dist/components/tabdocs/tab-document-manager-props.d.ts +351 -0
- package/dist/components/tabdocs/tab-document-options.d.ts +57 -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 +16 -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 +10 -0
- package/dist/components/tabdocs/tab-drop-target.d.ts +23 -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 +16 -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 +23 -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 +2 -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 +2 -0
- package/dist/components/tabdocs/tab-new-window-options.d.ts +8 -0
- package/dist/components/tabdocs/tab-new-window-title.d.ts +7 -0
- package/dist/components/tabdocs/tab-open-options.d.ts +16 -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 +2 -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 +2 -0
- package/dist/components/tabdocs/tab-tone.d.ts +2 -0
- package/dist/components/tabdocs/tab-toolbar-items.d.ts +4 -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 +21 -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 +126 -0
- package/dist/components/tabs/index.d.ts +11 -0
- package/dist/components/tabs/tab-close-event-args.d.ts +11 -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 +2 -0
- package/dist/components/tabs/tabs-placement.d.ts +2 -0
- package/dist/components/tabs/tabs-props.d.ts +41 -0
- package/dist/components/tabs/tabs-variant.d.ts +2 -0
- package/dist/components/tagbox/TagBox.d.ts +140 -0
- package/dist/components/tagbox/index.d.ts +2 -0
- package/dist/components/tagbox/tag-box-props.d.ts +56 -0
- package/dist/components/textarea/TextArea.d.ts +76 -0
- package/dist/components/textarea/index.d.ts +3 -0
- package/dist/components/textarea/text-area-props.d.ts +36 -0
- package/dist/components/textarea/text-area-resize.d.ts +2 -0
- package/dist/components/textbox/TextBox.d.ts +89 -0
- package/dist/components/textbox/text-box-props.d.ts +41 -0
- package/dist/components/textbox/text-box-type.d.ts +1 -0
- package/dist/components/toast/Toast.d.ts +63 -0
- package/dist/components/toast/Toaster.d.ts +68 -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 +2 -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 +17 -0
- package/dist/components/toolbar/Toolbar.d.ts +93 -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 +36 -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 +25 -0
- package/dist/components/tooltip/Tooltip.d.ts +57 -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 +12 -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 +218 -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.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 +2 -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 +2 -0
- package/dist/components/treeview/tree-view-load-children.d.ts +2 -0
- package/dist/components/treeview/tree-view-props.d.ts +75 -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/core/UiLocale.d.ts +52 -0
- package/dist/core/access-key.d.ts +32 -0
- package/dist/core/after-press.d.ts +5 -0
- package/dist/core/back-button.d.ts +15 -0
- package/dist/core/connect-i18n.d.ts +11 -0
- package/dist/core/container.d.ts +52 -0
- package/dist/core/control-map.d.ts +7 -0
- package/dist/core/control-size.d.ts +2 -0
- package/dist/core/control.d.ts +156 -0
- package/dist/core/document-watch.d.ts +10 -0
- package/dist/core/draw-parts.d.ts +36 -0
- package/dist/core/enable.d.ts +16 -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/focus-guard.d.ts +2 -0
- package/dist/core/focus.d.ts +32 -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 +67 -0
- package/dist/core/icon-node.d.ts +10 -0
- package/dist/core/icon-source.d.ts +3 -0
- package/dist/core/input-mode.d.ts +2 -0
- package/dist/core/keyboard.d.ts +55 -0
- package/dist/core/language-look.d.ts +18 -0
- package/dist/core/later.d.ts +4 -0
- package/dist/core/locale-source.d.ts +9 -0
- package/dist/core/look-watch.d.ts +2 -0
- package/dist/core/mirror-page.d.ts +9 -0
- package/dist/core/next-frame.d.ts +6 -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/page-documents.d.ts +21 -0
- package/dist/core/platform.d.ts +2 -0
- package/dist/core/press-origin.d.ts +2 -0
- package/dist/core/prop-binding.d.ts +25 -0
- package/dist/core/resize-watch.d.ts +21 -0
- package/dist/core/ui-locale-changed-event-args.d.ts +5 -0
- package/dist/core/ui-locale.d.ts +13 -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 +573 -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 +50 -0
- package/dist/excel/export-data-grid.d.ts +21 -0
- package/dist/excel/index.d.ts +6 -0
- package/dist/excel/index.js +244 -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 +17580 -0
- package/dist/index.d.ts +157 -0
- package/dist/index.js +79642 -0
- package/dist/index.js.map +1 -0
- package/dist/locales/en.json +556 -0
- package/dist/locales/tr.json +556 -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/data/DataItems.d.ts +50 -0
- package/dist/parts/data/KeyedItems.d.ts +91 -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 +53 -0
- package/dist/parts/drag/DragGhost.d.ts +57 -0
- package/dist/parts/drag/scroll-step.d.ts +6 -0
- package/dist/parts/field/Field.d.ts +130 -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/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/list/OptionList.d.ts +88 -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 +8 -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/read-item-field.d.ts +6 -0
- package/dist/parts/mask/InputMask.d.ts +41 -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 +74 -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.d.ts +37 -0
- package/dist/parts/overlay/OverlayPanel.d.ts +123 -0
- package/dist/parts/overlay/css-length.d.ts +2 -0
- package/dist/parts/overlay/inert-around.d.ts +5 -0
- package/dist/parts/overlay/overlay-close-reason.d.ts +2 -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 +48 -0
- package/dist/parts/overlay/swipe-tracker.d.ts +11 -0
- package/dist/parts/popup/Popup.d.ts +41 -0
- package/dist/parts/popup/place-popup.d.ts +7 -0
- package/dist/parts/popup/popup-close-reason.d.ts +2 -0
- package/dist/parts/popup/popup-open-options.d.ts +7 -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 +33 -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/validation/ValidationGroup.d.ts +25 -0
- package/dist/parts/validation/check-rules.d.ts +4 -0
- package/dist/parts/validation/validate-fields.d.ts +10 -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 +8 -0
- package/dist/parts/window/follow-pointer.d.ts +5 -0
- package/dist/parts/window/resize-box.d.ts +13 -0
- package/dist/parts/window/resize-frame.d.ts +2 -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 +23 -0
- package/dist/pdf/index.d.ts +8 -0
- package/dist/pdf/index.js +355 -0
- package/dist/pdf/index.js.map +1 -0
- package/dist/pdf/pdf-cell.d.ts +33 -0
- package/dist/pdf/pdf-custom-draw-cell-args.d.ts +17 -0
- package/dist/pdf/pdf-customize-cell-args.d.ts +7 -0
- package/dist/pdf/pdf-export-options.d.ts +59 -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 +27373 -0
- package/dist/tokens/index.d.ts +19290 -0
- package/dist/tokens/index.js +17611 -0
- package/dist/tokens/index.js.map +1 -0
- package/docs/accordion.md +295 -0
- package/docs/actionsheet.md +209 -0
- package/docs/avatar.md +238 -0
- package/docs/badge.md +193 -0
- package/docs/bottomsheet.md +316 -0
- package/docs/breadcrumb.md +125 -0
- package/docs/button.md +416 -0
- package/docs/buttongroup.md +141 -0
- package/docs/calendar.md +136 -0
- package/docs/card.md +254 -0
- package/docs/checkbox.md +336 -0
- package/docs/chip.md +278 -0
- package/docs/colorbox.md +153 -0
- package/docs/combobox.md +214 -0
- package/docs/control.md +232 -0
- package/docs/datagrid-api.md +417 -0
- package/docs/datagrid-bands.md +317 -0
- package/docs/datagrid-drag-select.md +326 -0
- package/docs/datagrid-drag.md +341 -0
- package/docs/datagrid-editing.md +537 -0
- package/docs/datagrid-filtering.md +455 -0
- package/docs/datagrid-forms.md +402 -0
- package/docs/datagrid-grouping.md +419 -0
- package/docs/datagrid-layout.md +540 -0
- package/docs/datagrid-lookups.md +363 -0
- package/docs/datagrid-master-detail.md +326 -0
- package/docs/datagrid-scrolling.md +348 -0
- package/docs/datagrid-selection.md +599 -0
- package/docs/datagrid.md +362 -0
- package/docs/datebox.md +201 -0
- package/docs/drawer.md +229 -0
- package/docs/dropdown.md +317 -0
- package/docs/filterbuilder.md +601 -0
- package/docs/formlayout.md +118 -0
- package/docs/getting-started.md +105 -0
- package/docs/home.md +54 -0
- package/docs/keyboard.md +188 -0
- package/docs/layout.md +584 -0
- package/docs/listbox.md +374 -0
- package/docs/lookup.md +128 -0
- package/docs/menus.md +312 -0
- package/docs/numberbox.md +309 -0
- package/docs/pagination.md +115 -0
- package/docs/progress.md +401 -0
- package/docs/radiogroup.md +324 -0
- package/docs/rating.md +124 -0
- package/docs/scheduler-agenda.md +597 -0
- package/docs/scheduler-big-data.md +253 -0
- package/docs/scheduler-editing.md +545 -0
- package/docs/scheduler-form.md +631 -0
- package/docs/scheduler-icalendar.md +591 -0
- package/docs/scheduler-mobile.md +664 -0
- package/docs/scheduler-recurrence.md +420 -0
- package/docs/scheduler-resources.md +702 -0
- package/docs/scheduler-timeline.md +632 -0
- package/docs/scheduler.md +592 -0
- package/docs/showcase.md +5 -0
- package/docs/skeleton.md +131 -0
- package/docs/slider.md +361 -0
- package/docs/switch.md +242 -0
- package/docs/tabdocs-dock.md +877 -0
- package/docs/tabdocs-drag.md +554 -0
- package/docs/tabdocs-menus.md +689 -0
- package/docs/tabdocs-mobile.md +277 -0
- package/docs/tabdocs-tabs.md +830 -0
- package/docs/tabdocs-windows.md +657 -0
- package/docs/tabdocs-workspace.md +409 -0
- package/docs/tabdocs.md +888 -0
- package/docs/tabs.md +456 -0
- package/docs/tagbox.md +361 -0
- package/docs/textarea.md +305 -0
- package/docs/textbox.md +449 -0
- package/docs/toast.md +313 -0
- package/docs/tokens.md +3903 -0
- package/docs/toolbar.md +462 -0
- package/docs/tooltip.md +339 -0
- package/docs/treeview.md +763 -0
- package/docs/window.md +556 -0
- package/llms-full.txt +33665 -0
- package/llms.txt +127 -0
- package/package.json +116 -6
|
@@ -0,0 +1,540 @@
|
|
|
1
|
+
# DataGrid: Layout and events
|
|
2
|
+
|
|
3
|
+
> DataGrid · @motifx-community/ui 0.1.0-beta.0
|
|
4
|
+
|
|
5
|
+
## Toolbar
|
|
6
|
+
|
|
7
|
+
The bar above the rows holds the grid's own items whose features are on, at the end, in this order: “New row” (`addRows`, `newRowButton`), “Save changes” and “Discard” (batch mode, `saveButtons`), “Export” (`exportButton`), the column list (`columnChooserButton`) and the search box (`searchPanel`); with none of them it does not show. `toolbar.items` lists exactly what it holds: the grid's items by name, an object with a `name` to change one of them, and items of your own — a button with `text`, `icon`, `hint` and `click`, or any component with `content` — at the start (`location: 'before'`) or at the end. Buttons that do not fit go into its “more” menu (`overflow`); the grid's own show only their icons there (`showText`), and their texts in the menu.
|
|
8
|
+
|
|
9
|
+
```tsx
|
|
10
|
+
/** An order, as the examples' made-up server keeps it. */
|
|
11
|
+
export interface Order {
|
|
12
|
+
id: number;
|
|
13
|
+
customer: string;
|
|
14
|
+
city: string;
|
|
15
|
+
date: string;
|
|
16
|
+
status: string;
|
|
17
|
+
paid: boolean;
|
|
18
|
+
amount: number;
|
|
19
|
+
note: string;
|
|
20
|
+
}
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
| Item field | What it does |
|
|
24
|
+
| --- | --- |
|
|
25
|
+
| `name` | One of the grid’s items (`groupPanel`, `rowActions`, `searchPanel`, `addRowButton`, `saveButton`, `revertButton`, `exportButton`, `columnChooserButton`) to change, or a name of your own. A grid item whose feature is off stays out. |
|
|
26
|
+
| `location` | `'before'` or `'after'` (default; the group panel and `rowActions` `'before'`): which end of the bar. |
|
|
27
|
+
| `text, icon, hint` | The button’s text, icon and tooltip (default: the text when only the icon shows). |
|
|
28
|
+
| `showText` | `'always'` (default) or `'inMenu'`: only the icon in the bar, the text in the “more” menu (the grid’s own buttons). |
|
|
29
|
+
| `visible, enabled` | Leave the item out; dim it. |
|
|
30
|
+
| `overflow` | `'never'` (default; the grid’s buttons `'auto'`), `'auto'` or `'always'`: whether it may go into the “more” menu. |
|
|
31
|
+
| `content` | `() => component`: your own component in place of a button, made once. |
|
|
32
|
+
| `click` | `(e) => void` with `{ item, grid, event }`; on a grid item it replaces what the item does. |
|
|
33
|
+
|
|
34
|
+
## Columns at run time
|
|
35
|
+
|
|
36
|
+
`addColumn(column, index?)` adds a column at a place among the data columns, with its own width, visibility and sticky side (or what the kept layout says of it); `deleteColumn(field)` takes one out, and its sort, grouping and filter go with it. `columnOption(field, name, value)` changes one option of a column while it shows — its layout (`width`, `visible`, `sticky`, `visibleIndex`), sort, grouping, header filter values, a feature switch, or any field of its definition (`title`, `format`, `lookup`, `cell`, `type` …), the column drawn again with it — and `columnOption(field, { … })` several at once. The layout, `layoutKey` and `onLayoutChange` follow; `onOptionChanged` tells each change (`name: 'columns'` for a column added or taken out). `columnCount()` and `getVisibleColumns()` read them.
|
|
37
|
+
|
|
38
|
+
```tsx
|
|
39
|
+
/** An order, as the examples' made-up server keeps it. */
|
|
40
|
+
export interface Order {
|
|
41
|
+
id: number;
|
|
42
|
+
customer: string;
|
|
43
|
+
city: string;
|
|
44
|
+
date: string;
|
|
45
|
+
status: string;
|
|
46
|
+
paid: boolean;
|
|
47
|
+
amount: number;
|
|
48
|
+
note: string;
|
|
49
|
+
}
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Keeping the layout
|
|
53
|
+
|
|
54
|
+
With `layoutKey` the grid keeps the column widths, order, hidden and pinned columns, the sort, the filters and the search text in the browser's `localStorage`, and a grid made again with the same name — after a reload too — gets them back. Storage that is full or blocked is skipped quietly. `resetLayout()` (also in the column menu) goes back to the column definitions. To keep the layout elsewhere, a server for instance, read `layout` and `filters`, listen to `onLayoutChange`, and give them back through the props of the same names.
|
|
55
|
+
|
|
56
|
+
```tsx
|
|
57
|
+
/** An order, as the examples' made-up server keeps it. */
|
|
58
|
+
export interface Order {
|
|
59
|
+
id: number;
|
|
60
|
+
customer: string;
|
|
61
|
+
city: string;
|
|
62
|
+
date: string;
|
|
63
|
+
status: string;
|
|
64
|
+
paid: boolean;
|
|
65
|
+
amount: number;
|
|
66
|
+
note: string;
|
|
67
|
+
}
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Turning features off
|
|
71
|
+
|
|
72
|
+
Every feature has a switch in `settings`, each a value or a function; a column can turn one on or off for itself, and its value wins. `grid.settings` and `grid.columnSettings(field)` change them while the grid shows.
|
|
73
|
+
|
|
74
|
+
```tsx
|
|
75
|
+
/** An order, as the examples' made-up server keeps it. */
|
|
76
|
+
export interface Order {
|
|
77
|
+
id: number;
|
|
78
|
+
customer: string;
|
|
79
|
+
city: string;
|
|
80
|
+
date: string;
|
|
81
|
+
status: string;
|
|
82
|
+
paid: boolean;
|
|
83
|
+
amount: number;
|
|
84
|
+
note: string;
|
|
85
|
+
}
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
| Setting | Default | What it does |
|
|
89
|
+
| --- | --- | --- |
|
|
90
|
+
| `editable` | `false` | Edit cells in place. A column can decide itself, also per row with `(row) => boolean`. |
|
|
91
|
+
| `creatable` | `true` | Fill the cells of new rows. A column with its own `editable` and no `creatable` uses the same; `editable: false, creatable: true` is entered only when the row is created. |
|
|
92
|
+
| `addRows, newRowButton, tabChain` | `false`, `true`, `true` | The user adds rows; the toolbar’s “New row” button; Tab on a new row’s last cell opens the next one. |
|
|
93
|
+
| `enterMoves` | `'none'` | Enter in an editor keeps the value and stays, goes `down`, or goes on like Tab (`next`). |
|
|
94
|
+
| `rowStatus` | `true` | The narrow column that marks new, changed, deleted, saving and failed rows. |
|
|
95
|
+
| `saveButtons, errorSummary` | `true` | “Save changes” and “Discard” in the toolbar in batch mode (dimmed while there is nothing to save); “N rows with errors” and “Next error” in the bar under the rows. |
|
|
96
|
+
| `sortable, multiSort` | `true` | Sort from the header; Shift adds a column to the sort. |
|
|
97
|
+
| `resizable, movable, hideable, pinnable, menu` | `true` | What the user may do with the columns; a column can say otherwise for itself. |
|
|
98
|
+
| `resizeMode` | `'widget'` | Dragging a column edge: `widget` changes that column and the columns after it shift; `nextColumn` moves only the edge between it and the next column, which gives or takes the difference. A column can set its own. |
|
|
99
|
+
| `headerButtons` | `'hover'` | The menu button shows on hover and focus (always on touch screens), or `always`. |
|
|
100
|
+
| `columnChooser, layoutReset` | `true` | The column list and “Reset layout” in the column menu. |
|
|
101
|
+
| `columnChooserButton` | `false` | A toolbar button that opens the column list (while `columnChooser` is on). |
|
|
102
|
+
| `tooltips, striped, rowCount` | `true`, `false`, `true` | Full text of a clipped cell; stripes; the row count. |
|
|
103
|
+
| `pager` | `true` | The pager in paged mode; `auto` only while there is more than one page. |
|
|
104
|
+
| `actionsColumn, actionsPosition, actionsSticky, actionsWidth` | `true`, `'end'`, `true`, `140` | The actions column, at the start or the end, pinned to its edge or scrolling with the rows, and its width. |
|
|
105
|
+
| `actionsLocation, actionsTarget, actionsDisplay` | `'row'`, `'auto'`, `'auto'` | Where the actions show (the row, the toolbar, the bottom bar), which rows the bars act on, and buttons or a menu only: see [Row actions](datagrid-editing.md#actions). |
|
|
106
|
+
| `actionsMultipleEnabled, actionsShowCount, actionsStopOnError` | `'all'`, `true`, `false` | Actions on several rows: enabled for all or any, the count after the text, a failed row stops the rest. |
|
|
107
|
+
| `actionsProgress, actionsStopButton, actionsContextMenu` | `true`, `true`, `true` | The progress panel and its Stop button while an action works on several rows; the actions in the row’s context menu. |
|
|
108
|
+
| `selection, selectionColumn, selectAll, selectedCount` | `'none'`, `true`, `true`, `true` | `single` or `multiple`; the check box column; the header check box and Ctrl+A; “N selected” in the bar. |
|
|
109
|
+
| `filterRow, headerFilter` | `false` | The filter row and the header filter; a column can turn them on or off for itself. |
|
|
110
|
+
| `syncLookupFilterValues` | `true` | A lookup column’s filter row and header filter list only the keys of the rows the other filters leave; off, they list the lookup source. A column can say otherwise for itself. |
|
|
111
|
+
| `filterDelay` | `300` | Milliseconds from the last key typed in the filter row to the filter. |
|
|
112
|
+
| `copyable, exportable` | `true` | Columns that go into what Ctrl+C copies and into an export; a column can say otherwise for itself. |
|
|
113
|
+
| `copyValues, copyHeaders` | `'shown'`, `false` | Ctrl+C copies the text the cells show or their `raw` values; copied rows start with the column titles. |
|
|
114
|
+
| `paste, pasteNewRows` | `true`, `false` | Ctrl+V writes into the editable cells; pasted lines past the last row open new rows (with `addRows`). |
|
|
115
|
+
| `exportButton` | `false` | An “Export” button in the toolbar: the formats of the `export` prop (CSV by default), as a menu when it offers more than one command. |
|
|
116
|
+
| `saveLayout` | `true` | With `layoutKey`, the layout, the filters and the search text are kept and come back. |
|
|
117
|
+
| `searchPanel` | `false` | The search box in the toolbar. `searchText` and `searchByText()` search without it too. |
|
|
118
|
+
| `filterPanel, filterSyncEnabled` | `false`, `'auto'` | The filter panel under the rows, and the filter row and header filters kept in the filter value (`'auto'`: while the panel shows). See [Filter panel and builder](datagrid-filtering.md#filter-panel). |
|
|
119
|
+
| `searchPanelWidth, searchPlaceholder` | `160`, `uiLocale` “Search…” | The box’s width (pixels or a CSS length) and its placeholder. |
|
|
120
|
+
| `searchDelay` | `700` | Milliseconds from the last key typed in the search box to the search; Enter searches at once. |
|
|
121
|
+
| `highlightSearchText, highlightCaseSensitive` | `true`, `false` | Mark what the search found in the cells; mark only text in the same case (the search itself ignores case). |
|
|
122
|
+
| `searchVisibleColumnsOnly` | `false` | Search only the visible columns; by default hidden ones too. |
|
|
123
|
+
| `searchable` | `true` | The columns the search looks in; a column can say otherwise for itself (one that turns its own filters off is left out). |
|
|
124
|
+
| `groupPanel` | `false` | The group panel at the start of the toolbar: a chip per grouped column, and where headers are dropped to group by them. |
|
|
125
|
+
| `groupPanelDragging, groupPanelEmptyText` | `true`, `uiLocale` “Drag a column header here…” | Headers drag to the panel and chips back (off: the panel only shows the grouping); what the empty panel says. |
|
|
126
|
+
| `groupMenu` | unset | “Group by this column”, “Ungroup” and “Ungroup all” in the column menu. Left unset (grid and column), they show while the panel takes headers, as the keyboard’s way to do the same. |
|
|
127
|
+
| `groupable, showWhenGrouped` | `true`, `false` | The columns the user can group by; a grouped column still shows among the columns. A column can say otherwise for itself. |
|
|
128
|
+
| `autoExpandAll, allowCollapsing` | `true`, `true` | Groups start open (a column’s `autoExpandGroup` decides for its level); the user can open and close them (code always can; a column can say otherwise). |
|
|
129
|
+
| `groupExpandMode` | `'button'` | A group opens from its arrow and the keyboard, or with `rowClick` from a click anywhere on its row. A column can set its own. |
|
|
130
|
+
| `groupCount` | `true` | Group rows show their row count; a column can say otherwise for itself. |
|
|
131
|
+
| `groupToggleKeys, groupArrowKeys` | `['Enter', ' ']`, `true` | The keys that open and close a group row; Right and Left open, close and go in and out. |
|
|
132
|
+
| `remoteGrouping` | `'auto'` | Who groups a data source’s rows: `auto` its adapter when it groups (blocks), `true` the adapter whenever the source loads by blocks, `false` always the browser, from every matching row. |
|
|
133
|
+
| `groupLoadPageSize` | `0` | Grouping or summaries in the browser over a source that loads pages or blocks: rows per request while every matching row loads (0: one request). |
|
|
134
|
+
| `totalSummary, groupSummary` | `true` | The row of totals with the items of `summary.totalItems`; the items of `summary.groupItems` in group rows and footers. An item’s `visible` wins. |
|
|
135
|
+
| `totalSummaryTabStop` | `true` | The row of totals is a Tab stop of its own after the rows. |
|
|
136
|
+
| `remoteSummary` | `'auto'` | Who works out the summaries of a source that loads pages or blocks: `auto` its adapter when it has the `summary` capability, `true` the adapter always, `false` the browser, from every matching row. `custom` items and columns with a `value` reader are always worked out in the browser. |
|
|
137
|
+
| `dragThreshold` | `5` | Pixels a pressed header or chip moves before it is dragged. |
|
|
138
|
+
| `dragGhost` | `true` | A dragged header or chip shows its title next to the pointer, marked with what a drop would do: group, move, ungroup. While a header is dragged the whole toolbar takes drops for the group panel and is marked. |
|
|
139
|
+
| `emptyRows` | `3` | Rows of room the body keeps while it has no rows to show (empty, loading, failed), so the message shows in a grid without a height. |
|
|
140
|
+
| `columnWidth, columnMinWidth` | `140`, `48` | The width of a column that gives none, and the smallest width the user can resize one to; a column’s `width` and `minWidth` win. |
|
|
141
|
+
| `rowStatusWidth, selectionColumnWidth` | `28`, `36` | Widths of the row status column and the check box column. |
|
|
142
|
+
| `resizeStep, resizeFineStep` | `10`, `1` | Pixels one arrow key resizes a column by (“Width” in the column menu), and with Shift. |
|
|
143
|
+
| `tooltipDelay` | `500` | Milliseconds the pointer rests on a cell before its tooltip shows (keyboard focus shows it at once). |
|
|
144
|
+
| `extraRows` | `4` | Rows drawn above and below the visible ones, so a quick scroll shows no gap; more costs more per scroll. |
|
|
145
|
+
| `loadMoreDistance, preloadEnabled, loadMoreIndicator` | `0`, `false`, `true` | Infinite mode: rows left below the view when the next part loads; a part loaded ahead (in virtual mode a part on each side); the “Loading more rows…” mark with Retry. See [Infinite scrolling](datagrid-scrolling.md#infinite). |
|
|
146
|
+
| `columnRenderingMode, extraColumns` | `'standard'`, `2` | `virtual`: only the scrolling columns in view and `extraColumns` on each side get cells; a column’s own `columnRenderingMode` wins. See [Virtual columns](datagrid-scrolling.md#virtual-columns). |
|
|
147
|
+
| `renderAsync, columnRenderingThreshold, columnRenderingDelay` | `'auto'`, `300`, `300` | Virtual columns coming into view are drawn as the rows scroll, once the scrolling stops, or once it stops while drawing them took longer than the threshold (ms); the quiet time before they are drawn (ms). |
|
|
148
|
+
| `pagerNeighbors, pagerNavigation, pagerInfo` | `1`, `true`, `true` | Page buttons on each side of the current page; the first, previous, next and last buttons; “Page 3 of 12 (250 items)”. |
|
|
149
|
+
| `pagerInfoText, pagerLabel` | `uiLocale` texts | The pager’s text (`{0}` or `{page}`, `{1}` or `{count}`, `{2}` or `{total}`) and its accessible name. |
|
|
150
|
+
| `pagerDisplayMode` | `'adaptive'` | `full`: page buttons, and the page sizes as buttons; `compact`: a page number box and a drop-down of the sizes; `adaptive`: full while it fits in the bar. |
|
|
151
|
+
| `pageSizeSelector, allowedPageSizes` | `false`, `'auto'` | The page sizes in the pager; the sizes it offers (numbers and `all`; `auto` is half, once and twice the page size). |
|
|
152
|
+
| `pageKeys` | `'page'` | In paged mode PageUp and PageDown go to the previous and next page, or move a screen of rows (`rows`). |
|
|
153
|
+
| `headerFilterPageSize, headerFilterRows` | `100`, `8` | Values the header filter loads per request; the height of its list (or tree) in rows. |
|
|
154
|
+
| `headerFilterDateInterval` | `'day'` | The deepest part of the year → month → day tree a date column’s header filter lists; `null` lists every date. A column’s `headerFilterInterval` wins. |
|
|
155
|
+
| `exportPageSize` | `1000` | Rows an export asks a server for per request; `exportCsv({ pageSize })` wins. |
|
|
156
|
+
| `trueTexts, falseTexts` | `['true', '1', 'x', '✓', '✔']`, `['false', '0', '']` | Pasted texts read as yes and as no in a yes/no column, besides the `yes` and `no` texts; a column can give its own. |
|
|
157
|
+
| `editKeys, clearKeys` | `['Enter', 'F2']`, `['Delete']` | Keys that open the active cell’s editor, and that empty it (`KeyboardEvent.key` values). |
|
|
158
|
+
| `editOnKeyPress` | `true` | Typing a character on a cell opens its editor with it. A column can set its own. |
|
|
159
|
+
| `startEditAction` | `'dblClick'` | A double-click, or one `click` on the active cell, opens its editor. A column can set its own. |
|
|
160
|
+
| `columnHidingEnabled, bandAlign` | `false`, `'center'` | Columns hide while the grid is narrower than they are, and a “…” column opens their values; where band captions sit. See [Bands and adaptive columns](datagrid-bands.md#adaptive). |
|
|
161
|
+
| `editMode, confirmDelete, selectTextOnEditStart` | `'row'`, `true`, `true` | How rows are edited: in the cells (`row`, `cell`, `batch`) or in a form (`form`, `popup`); deleting asks first; an editor opens with its text selected. See [Edit forms and popups](datagrid-forms.md#forms). |
|
|
162
|
+
|
|
163
|
+
## Events
|
|
164
|
+
|
|
165
|
+
Every action of the user has an event, given as a prop or listened to with `grid.onX((e) => …)`; one that is about to happen (`…ing`) can be stopped with `e.cancel = true`, and most can change what happens (the values sent, the items of a menu, the text copied). Here amounts over 900 are drawn in bold, the rows get a menu of their own (right click, or Shift + F10), a change to “Cancelled” is not saved, and the list tells what happened. Methods do the same from code: `editCell`, `cellValue`, `navigateToRow`, `columnOption`, `state()` and the others in the [API reference](datagrid-api.md#api).
|
|
166
|
+
|
|
167
|
+
```tsx
|
|
168
|
+
/** An order, as the examples' made-up server keeps it. */
|
|
169
|
+
export interface Order {
|
|
170
|
+
id: number;
|
|
171
|
+
customer: string;
|
|
172
|
+
city: string;
|
|
173
|
+
date: string;
|
|
174
|
+
status: string;
|
|
175
|
+
paid: boolean;
|
|
176
|
+
amount: number;
|
|
177
|
+
note: string;
|
|
178
|
+
}
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
| Event | Gets | Cancel | When |
|
|
182
|
+
| --- | --- | --- | --- |
|
|
183
|
+
| `onCellClick / onCellDblClick` | `{ field, row, rowIndex, rowType, groupKey?, element, event }` | yes | A cell was clicked or double-clicked (also in a group footer, `rowType: 'groupFooter'`, and in the row of totals, `'totalFooter'`); cancel: no selection, no group toggle, no editor. |
|
|
184
|
+
| `onRowClick / onRowDblClick` | `{ row, rowIndex, rowType, groupKey?, element, event }` | yes | The same for the row, after its cell’s event. |
|
|
185
|
+
| `onCellPrepared` | `{ field, row, rowIndex, value, isNew, element }` | | A cell was drawn for a row: style it. Cells are reused while scrolling, so set and clear what you change. Costs nothing while nobody listens. |
|
|
186
|
+
| `onRowPrepared` | `{ row, rowIndex, rowType, groupKey?, isSelected, element }` | | A data row, group row, group footer (`groupFooter`) or the row of totals (`totalFooter`) was drawn; the same rule. |
|
|
187
|
+
| `onContentReady` | `{ total }` | | Rows arrived and are laid out (after a load, a filter, a sort, a page, a resize). |
|
|
188
|
+
| `onDataErrorOccurred` | `{ error, operation, row? }` | | A load (`operation: 'load'`) or the save of a row (`'save'`, with `row`) failed. |
|
|
189
|
+
| `onEditingStart` | `{ field, row, rowIndex, isNew }` | yes | A cell editor, or a row’s edit form (`field` `''`), is about to open. |
|
|
190
|
+
| `onEditorPreparing / onEditorPrepared` | `{ field, row, isNew, options }` / `{ field, row, isNew, editor, element, place }` | yes / — | An editor of a cell or of a form field is about to be made (change its props in `options`); it was made. |
|
|
191
|
+
| `onRowValidating` | `{ key, row, isNew, changed, errors, isValid, errorText }` | yes | A row is checked before it is saved, after its cells: add messages to `errors`, or `isValid = false` (or cancel) with `errorText`. |
|
|
192
|
+
| `onInitNewRow` | `{ data, values }` | yes | A new row is about to open: `data` is what it starts with, `values` what counts as entered; cancel opens no row. |
|
|
193
|
+
| `onSaving / onSaved` | `{ changes }` / `{ changes, saved, failed }` | yes / — | Changes are about to be sent (leaving a row, the background queue, “Save changes”); the answer came. |
|
|
194
|
+
| `onRowInserting / onRowInserted` | `{ row, data }` / `{ row, key }` | yes / — | Per new row: change `data` (what is sent) or keep it unsent; it was saved. |
|
|
195
|
+
| `onRowUpdating / onRowUpdated` | `{ key, row, changes }` / `{ key, row, changes }` | yes / — | Per changed row: change `changes` or keep them unsent; they were saved. |
|
|
196
|
+
| `onRowRemoving / onRowRemoved` | `{ key, row }` | yes / — | Per deleted row, when the deletion is sent (batch: on “Save changes”); it was deleted. |
|
|
197
|
+
| `onEditCanceling / onEditCanceled` | `{ rows }` | yes / — | Unsaved changes are about to be dropped: Escape on a row, the “Cancel” action, `discardChanges()`. |
|
|
198
|
+
| `onFocusedCellChanging / onFocusedCellChanged` | `{ rowIndex, field, previousRowIndex, previousField, row }` | yes / — | The active cell moves (keys, a click, code); -1 is the header, -2 the filter row. |
|
|
199
|
+
| `onFocusedRowChanging / onFocusedRowChanged` | `{ rowIndex, previousRowIndex, row }` / `{ rowIndex, row, key }` | yes / — | The active row changes. |
|
|
200
|
+
| `onKeyHandling` | `{ event, rowIndex, field }` | yes | A key went down in the rows, an editor, the filter row or a group chip, before the grid handles it; cancel and handle it yourself. DevExtreme calls it `onKeyDown`, a DOM event name in JSX. |
|
|
201
|
+
| `onOptionChanged` | `{ name, field?, value, previous }` | | A setting was assigned: `grid.settings`, `columnSettings(field)` (with `field`), `toolbar` (`toolbar.visible`, `toolbar.items`), `columnOption` (with `field`); a column was added or taken out (`name: 'columns'`, the fields). |
|
|
202
|
+
| `onSortChanging / onSortChanged` | `{ sort, previous, byUser }` | yes / — | The sort is about to change, by the user or from code. |
|
|
203
|
+
| `onFilterChanging / onFilterChanged` | `{ filters, previous }` / `{ filters, filter }` | yes / — | The filter row and header filters are about to apply; cancel puts the ones before back in the cells. |
|
|
204
|
+
| `onSearchTextChanging / onSearchTextChanged` | `{ text, previous }` / `{ text }` | yes / — | The search text is about to change; cancel keeps the one before in the box. |
|
|
205
|
+
| `onPageChanging / onPageChanged` | `{ page, previous }` | yes / — | Another page is about to show. |
|
|
206
|
+
| `onPageSizeChanging / onPageSizeChanged` | `{ pageSize, previous }` | yes / — | The rows per page are about to change (0: all); the grid goes back to the first page. |
|
|
207
|
+
| `onMoreRowsLoading / onMoreRowsLoaded` | `{ skip, take }` / `{ skip, count, ended }` | yes / — | Infinite mode: the next part of the rows is about to load; it came. |
|
|
208
|
+
| `onSelectionChanging / onSelectionChanged` | `{ selection, previous }` / `{ selection }` | yes / — | The selection is about to change, by the user or from code. |
|
|
209
|
+
| `onLayoutChanging / onLayoutChange` | `{ layout, previous }` / `layout` | yes / — | The user resized, moved, hid, pinned, sorted or reset; cancel puts the layout before back. |
|
|
210
|
+
| `onGroupingChanging / onGroupingChanged, onGroupDropping` | see [Grouping](datagrid-grouping.md#grouping) | yes | The grouping; a dropped header or chip. |
|
|
211
|
+
| `onRowExpanding / onRowExpanded, onRowCollapsing / onRowCollapsed` | `{ kind, key, row }` | yes / — | A group (`kind: 'group'`) or a row's details (`kind: 'detail'`) open or close. |
|
|
212
|
+
| `onCopying / onPasting` | `{ text, html, rows }` / `{ text, rowIndex, field }` | yes | Ctrl+C, `copy()`; Ctrl+V, `paste()`: change the text, or stop it. |
|
|
213
|
+
| `onSummaryChanged` | `{ total, editing }` | | The summary values were worked out again: new rows, a new filter or search, a save, or (with `recalculateWhileEditing`) an unsaved change. |
|
|
214
|
+
| `onExporting / onExported` | `{ format, component, selectedRowsOnly, options }` / `{ format, rows, text? }` | yes / — | An export is about to start (change its options); for a format the grid does not write (`xlsx`) the handler writes it with `exportDataGrid`. It finished (`exportDataGrid` tells it with `format: 'xlsx'`). |
|
|
215
|
+
| `onContextMenuPreparing` | `{ target, field, row?, rowIndex, items }` | yes | A header’s column menu (`header`) or a row’s menu (`row`: a right click or the context menu key; `items` hold the row’s actions, and it opens only when it has items) is about to open: change `items`. |
|
|
216
|
+
| `onActionRunning / onActionRan` | `{ action, rows, selection, location }` / `{ action, rows, location, done, failed, canceled, errors }` | yes / — | An action is about to run; it ran. See [Row actions](datagrid-editing.md#actions). |
|
|
217
|
+
| `onToolbarPreparing` | `{ items }` | | The toolbar is laid out: change the list of items it takes. |
|
|
218
|
+
|
|
219
|
+
## Example files
|
|
220
|
+
|
|
221
|
+
`Toolbar.tsx`
|
|
222
|
+
|
|
223
|
+
```tsx
|
|
224
|
+
import { reactive } from '@motifx/core';
|
|
225
|
+
import { CheckBox, DataGrid, type GridToolbarItem, type GridToolbarItemName } from '@motifx-community/ui';
|
|
226
|
+
import type { Order } from './order';
|
|
227
|
+
import { columns, makeOrders, newOrder } from './orders';
|
|
228
|
+
|
|
229
|
+
/** The toolbar: the grid's own items with items of the page's own, at the start and at the end. */
|
|
230
|
+
export default function Toolbar() {
|
|
231
|
+
const s = reactive({ striped: true, exportText: false, refreshed: 0 });
|
|
232
|
+
let grid: DataGrid<Order> | null = null;
|
|
233
|
+
|
|
234
|
+
const items: (GridToolbarItem | GridToolbarItemName)[] = [
|
|
235
|
+
{ name: 'refresh', text: 'Refresh', hint: () => `Refreshed ${s.refreshed} times`, location: 'before', click: () => (grid?.refresh(), s.refreshed++) },
|
|
236
|
+
{ name: 'striped', location: 'before', content: () => <CheckBox label="Striped" x-model={() => s.striped} /> },
|
|
237
|
+
{ name: 'exportText', location: 'before', content: () => <CheckBox label="“Export” with its text" x-model={() => s.exportText} /> },
|
|
238
|
+
'addRowButton',
|
|
239
|
+
{ name: 'exportButton', showText: () => (s.exportText ? 'always' : 'inMenu') },
|
|
240
|
+
'columnChooserButton',
|
|
241
|
+
'searchPanel',
|
|
242
|
+
];
|
|
243
|
+
|
|
244
|
+
return (
|
|
245
|
+
<DataGrid
|
|
246
|
+
class="dg-toolbar"
|
|
247
|
+
style="block-size: 30rem"
|
|
248
|
+
rows={makeOrders(120)}
|
|
249
|
+
rowKey="id"
|
|
250
|
+
columns={columns}
|
|
251
|
+
label="Orders with a toolbar"
|
|
252
|
+
locale="en"
|
|
253
|
+
newRow={{ create: newOrder }}
|
|
254
|
+
settings={{ editable: true, addRows: true, exportButton: true, columnChooserButton: true, searchPanel: true, striped: () => s.striped }}
|
|
255
|
+
toolbar={{ items }}
|
|
256
|
+
ref={(g: DataGrid<Order>) => (grid = g)}
|
|
257
|
+
/>
|
|
258
|
+
);
|
|
259
|
+
}
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
`orders.ts`
|
|
263
|
+
|
|
264
|
+
```tsx
|
|
265
|
+
import type { GridColumn } from '@motifx-community/ui';
|
|
266
|
+
import type { Order } from './order';
|
|
267
|
+
|
|
268
|
+
const CUSTOMERS = ['Ada Lovelace', 'Grace Hopper', 'Alan Turing', 'Cahit Arf', 'Katherine Johnson', 'Edsger Dijkstra', 'Barbara Liskov', 'Donald Knuth', 'İlhan Koman', 'Margaret Hamilton'];
|
|
269
|
+
const CITIES = ['Ankara', 'Antalya', 'Bursa', 'İstanbul', 'İzmir', 'Konya', 'Trabzon'];
|
|
270
|
+
const STATUSES = ['Draft', 'Approved', 'Shipped', 'Delivered', 'Cancelled'];
|
|
271
|
+
const NOTES = ['', 'Leave at the door', 'Call before delivery', 'Gift wrap, please, with a card that says happy birthday', '', 'Fragile'];
|
|
272
|
+
|
|
273
|
+
/** `n` made-up orders, the same ones every time. */
|
|
274
|
+
export function makeOrders(n: number): Order[] {
|
|
275
|
+
const day = Date.UTC(2026, 0, 1);
|
|
276
|
+
return Array.from({ length: n }, (_, i) => ({
|
|
277
|
+
id: i + 1,
|
|
278
|
+
customer: CUSTOMERS[(i * 7) % CUSTOMERS.length],
|
|
279
|
+
city: CITIES[(i * 3) % CITIES.length],
|
|
280
|
+
date: new Date(day + ((i * 37) % 300) * 86_400_000).toISOString().slice(0, 10),
|
|
281
|
+
status: STATUSES[i % STATUSES.length],
|
|
282
|
+
paid: i % 3 === 0,
|
|
283
|
+
amount: ((i * 7919) % 100_000) / 100,
|
|
284
|
+
note: NOTES[i % NOTES.length],
|
|
285
|
+
}));
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
const money = new Intl.NumberFormat('en', { minimumFractionDigits: 2, maximumFractionDigits: 2 });
|
|
289
|
+
|
|
290
|
+
/** The order columns: the number pinned to the start, the amount to the end. */
|
|
291
|
+
export const columns: GridColumn<Order>[] = [
|
|
292
|
+
{ field: 'id', title: 'No', type: 'number', width: 80, sticky: 'start', editable: false },
|
|
293
|
+
{ field: 'customer', title: 'Customer', width: 180, flex: 1, required: true },
|
|
294
|
+
{ field: 'city', title: 'City', type: 'list', width: 120, options: CITIES },
|
|
295
|
+
{ field: 'date', title: 'Date', type: 'date', width: 130, editable: false, creatable: true },
|
|
296
|
+
{ field: 'status', title: 'Status', type: 'list', width: 120, options: STATUSES, required: true },
|
|
297
|
+
{ field: 'paid', title: 'Paid', type: 'boolean', width: 80 },
|
|
298
|
+
{ field: 'note', title: 'Note', width: 200 },
|
|
299
|
+
{
|
|
300
|
+
field: 'amount',
|
|
301
|
+
title: 'Amount',
|
|
302
|
+
type: 'number',
|
|
303
|
+
width: 120,
|
|
304
|
+
sticky: 'end',
|
|
305
|
+
required: true,
|
|
306
|
+
validate: (v) => (typeof v === 'number' && v < 0 ? 'The amount cannot be negative.' : null),
|
|
307
|
+
format: (v) => (typeof v === 'number' ? money.format(v) : ''),
|
|
308
|
+
},
|
|
309
|
+
];
|
|
310
|
+
|
|
311
|
+
/** The same columns with a filter cell and a header filter on most of them. */
|
|
312
|
+
export const filterColumns: GridColumn<Order>[] = columns.map((c) => ({ ...c, filterRow: c.field !== 'note', headerFilter: c.field !== 'note' && c.field !== 'id' }));
|
|
313
|
+
|
|
314
|
+
const today = () => new Date().toISOString().slice(0, 10);
|
|
315
|
+
|
|
316
|
+
/** What a new order starts with. */
|
|
317
|
+
export const newOrder = () => ({ date: today(), status: 'Draft', paid: false });
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
`order.ts`
|
|
321
|
+
|
|
322
|
+
```tsx
|
|
323
|
+
/** An order, as the examples' made-up server keeps it. */
|
|
324
|
+
export interface Order {
|
|
325
|
+
id: number;
|
|
326
|
+
customer: string;
|
|
327
|
+
city: string;
|
|
328
|
+
date: string;
|
|
329
|
+
status: string;
|
|
330
|
+
paid: boolean;
|
|
331
|
+
amount: number;
|
|
332
|
+
note: string;
|
|
333
|
+
}
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
`RuntimeColumns.tsx`
|
|
337
|
+
|
|
338
|
+
```tsx
|
|
339
|
+
import { reactive } from '@motifx/core';
|
|
340
|
+
import { Button, DataGrid, Stack } from '@motifx-community/ui';
|
|
341
|
+
import type { Order } from './order';
|
|
342
|
+
import { filterColumns, makeOrders } from './orders';
|
|
343
|
+
|
|
344
|
+
const euros = new Intl.NumberFormat('en', { style: 'currency', currency: 'EUR' });
|
|
345
|
+
|
|
346
|
+
/** Columns added, taken out and changed while the grid shows; the layout, the sort and the filters follow. */
|
|
347
|
+
export default function RuntimeColumns() {
|
|
348
|
+
const s = reactive({ paid: false, city: true, fields: '' });
|
|
349
|
+
let grid: DataGrid<Order> | null = null;
|
|
350
|
+
const show = () => (s.fields = grid ? `${grid.columnCount()} columns, shown: ${grid.getVisibleColumns().map((c) => c.field).join(', ')}` : '');
|
|
351
|
+
|
|
352
|
+
const togglePaid = () => {
|
|
353
|
+
if (!grid) return;
|
|
354
|
+
if (s.paid) grid.deleteColumn('paid');
|
|
355
|
+
else grid.addColumn({ field: 'paid', title: 'Paid', type: 'boolean', width: 80, headerFilter: true }, 2);
|
|
356
|
+
s.paid = !s.paid;
|
|
357
|
+
};
|
|
358
|
+
const toggleCity = () => {
|
|
359
|
+
if (!grid) return;
|
|
360
|
+
if (s.city) grid.deleteColumn('city');
|
|
361
|
+
else grid.addColumn(filterColumns.find((c) => c.field === 'city')!, 2);
|
|
362
|
+
s.city = !s.city;
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
return (
|
|
366
|
+
<>
|
|
367
|
+
<Stack orientation="horizontal" wrap align="center">
|
|
368
|
+
<Button text={() => (s.paid ? 'Take “Paid” out' : 'Add “Paid” after Customer')} variant="outline" onclick={togglePaid} />
|
|
369
|
+
<Button text={() => (s.city ? 'Take “City” out' : 'Put “City” back')} variant="outline" onclick={toggleCity} />
|
|
370
|
+
<Button text="Amount in euros" variant="outline" onclick={() => grid?.columnOption('amount', { title: 'Amount (€)', format: (v: unknown) => (typeof v === 'number' ? euros.format(v) : '') })} />
|
|
371
|
+
<Button text="Hide or show “Note”" variant="ghost" onclick={() => grid?.columnOption('note', 'visible', !grid.columnOption('note', 'visible'))} />
|
|
372
|
+
</Stack>
|
|
373
|
+
<DataGrid
|
|
374
|
+
class="dg-runtime-columns"
|
|
375
|
+
style="block-size: 28rem"
|
|
376
|
+
rows={makeOrders(60)}
|
|
377
|
+
rowKey="id"
|
|
378
|
+
columns={filterColumns.filter((c) => c.field !== 'paid')}
|
|
379
|
+
label="Orders with columns that change"
|
|
380
|
+
locale="en"
|
|
381
|
+
onOptionChanged={() => show()}
|
|
382
|
+
onContentReady={() => show()}
|
|
383
|
+
ref={(g: DataGrid<Order>) => (grid = g)}
|
|
384
|
+
/>
|
|
385
|
+
<output class="dg-runtime-fields">{() => s.fields}</output>
|
|
386
|
+
</>
|
|
387
|
+
);
|
|
388
|
+
}
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
`KeepLayout.tsx`
|
|
392
|
+
|
|
393
|
+
```tsx
|
|
394
|
+
import { reactive } from '@motifx/core';
|
|
395
|
+
import { Button, CheckBox, DataGrid, Stack } from '@motifx-community/ui';
|
|
396
|
+
import type { Order } from './order';
|
|
397
|
+
import { filterColumns, makeOrders } from './orders';
|
|
398
|
+
|
|
399
|
+
/** Widths, order, sort and filters kept under `layoutKey`; a grid made again gets them back. */
|
|
400
|
+
export default function KeepLayout() {
|
|
401
|
+
const s = reactive({ keep: true, shown: true });
|
|
402
|
+
let grid: DataGrid<Order> | null = null;
|
|
403
|
+
|
|
404
|
+
const makeAgain = () => {
|
|
405
|
+
s.shown = false;
|
|
406
|
+
setTimeout(() => (s.shown = true), 0);
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
return (
|
|
410
|
+
<>
|
|
411
|
+
<Stack orientation="horizontal" wrap align="center">
|
|
412
|
+
<CheckBox label="Keep the layout" x-model={() => s.keep} />
|
|
413
|
+
<Button text="Make the grid again" variant="outline" onclick={makeAgain} />
|
|
414
|
+
<Button text="Reset the layout" variant="ghost" onclick={() => grid?.resetLayout()} />
|
|
415
|
+
</Stack>
|
|
416
|
+
{s.shown && (
|
|
417
|
+
<DataGrid
|
|
418
|
+
class="dg-layout"
|
|
419
|
+
style="block-size: 28rem"
|
|
420
|
+
rows={makeOrders(40)}
|
|
421
|
+
rowKey="id"
|
|
422
|
+
columns={filterColumns}
|
|
423
|
+
label="Orders that keep their layout"
|
|
424
|
+
locale="en"
|
|
425
|
+
layoutKey="docs-orders"
|
|
426
|
+
settings={{ saveLayout: () => s.keep }}
|
|
427
|
+
ref={(g: DataGrid<Order>) => (grid = g)}
|
|
428
|
+
/>
|
|
429
|
+
)}
|
|
430
|
+
</>
|
|
431
|
+
);
|
|
432
|
+
}
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
`Switches.tsx`
|
|
436
|
+
|
|
437
|
+
```tsx
|
|
438
|
+
import { reactive } from '@motifx/core';
|
|
439
|
+
import { CheckBox, DataGrid, Stack } from '@motifx-community/ui';
|
|
440
|
+
import type { Order } from './order';
|
|
441
|
+
import { columns, makeOrders } from './orders';
|
|
442
|
+
|
|
443
|
+
/** Features switched by functions in `settings`, by `grid.settings` and by one column's own settings. */
|
|
444
|
+
export default function Switches() {
|
|
445
|
+
const s = reactive({ striped: true, resizable: true, nextColumn: false, movable: true, pinnable: true, menu: true, tooltips: true, rowCount: true });
|
|
446
|
+
let grid: DataGrid<Order> | null = null;
|
|
447
|
+
|
|
448
|
+
return (
|
|
449
|
+
<>
|
|
450
|
+
<Stack orientation="horizontal" wrap align="center">
|
|
451
|
+
<CheckBox label="Striped" x-model={() => s.striped} />
|
|
452
|
+
<CheckBox label="Resizing" x-model={() => s.resizable} />
|
|
453
|
+
<CheckBox label="Resize against the next column" x-model={() => s.nextColumn} />
|
|
454
|
+
<CheckBox label="Moving" x-model={() => s.movable} />
|
|
455
|
+
<CheckBox label="Pinning" x-model={() => s.pinnable} />
|
|
456
|
+
<CheckBox label="Column menu" x-model={() => s.menu} />
|
|
457
|
+
<CheckBox label="Menu button always" onValueChanged={(e) => grid && (grid.settings.headerButtons = e.value ? 'always' : 'hover')} />
|
|
458
|
+
<CheckBox label="Tooltips" x-model={() => s.tooltips} />
|
|
459
|
+
<CheckBox label="Row count" x-model={() => s.rowCount} />
|
|
460
|
+
<CheckBox label="Customer column can resize" value={true} onValueChanged={(e) => grid && (grid.columnSettings('customer').resizable = e.value ? undefined : false)} />
|
|
461
|
+
</Stack>
|
|
462
|
+
<DataGrid
|
|
463
|
+
class="dg-settings"
|
|
464
|
+
style="block-size: 28rem"
|
|
465
|
+
rows={makeOrders(25)}
|
|
466
|
+
rowKey="id"
|
|
467
|
+
label="Switches"
|
|
468
|
+
locale="en"
|
|
469
|
+
columns={[{ ...columns[0], movable: false, menu: false }, ...columns.slice(1)]}
|
|
470
|
+
settings={{
|
|
471
|
+
striped: () => s.striped,
|
|
472
|
+
resizable: () => s.resizable,
|
|
473
|
+
resizeMode: () => (s.nextColumn ? 'nextColumn' : 'widget'),
|
|
474
|
+
movable: () => s.movable,
|
|
475
|
+
pinnable: () => s.pinnable,
|
|
476
|
+
menu: () => s.menu,
|
|
477
|
+
tooltips: () => s.tooltips,
|
|
478
|
+
rowCount: () => s.rowCount,
|
|
479
|
+
}}
|
|
480
|
+
ref={(g: DataGrid<Order>) => (grid = g)}
|
|
481
|
+
/>
|
|
482
|
+
</>
|
|
483
|
+
);
|
|
484
|
+
}
|
|
485
|
+
```
|
|
486
|
+
|
|
487
|
+
`Events.tsx`
|
|
488
|
+
|
|
489
|
+
```tsx
|
|
490
|
+
import { reactive } from '@motifx/core';
|
|
491
|
+
import { DataGrid } from '@motifx-community/ui';
|
|
492
|
+
import type { Order } from './order';
|
|
493
|
+
import { columns, makeOrders } from './orders';
|
|
494
|
+
|
|
495
|
+
/** The grid's events: amounts over 900 in bold, a row menu of the page's own, no "Cancelled" saved, and a log of what happened. */
|
|
496
|
+
export default function Events() {
|
|
497
|
+
const s = reactive({ log: [] as { id: number; text: string }[] });
|
|
498
|
+
let next = 0;
|
|
499
|
+
const log = (text: string) => {
|
|
500
|
+
s.log.unshift({ id: ++next, text });
|
|
501
|
+
if (s.log.length > 5) s.log.pop();
|
|
502
|
+
};
|
|
503
|
+
|
|
504
|
+
return (
|
|
505
|
+
<>
|
|
506
|
+
<DataGrid
|
|
507
|
+
class="dg-events"
|
|
508
|
+
style="block-size: 28rem"
|
|
509
|
+
rows={makeOrders(60)}
|
|
510
|
+
rowKey="id"
|
|
511
|
+
columns={columns}
|
|
512
|
+
label="Orders with events"
|
|
513
|
+
locale="en"
|
|
514
|
+
settings={{ editable: true }}
|
|
515
|
+
onCellPrepared={(e) => {
|
|
516
|
+
// The cell is reused for other rows: set and clear.
|
|
517
|
+
if (e.field === 'amount') e.element.style.fontWeight = (e.value as number) > 900 ? 'bold' : '';
|
|
518
|
+
}}
|
|
519
|
+
onContextMenuPreparing={(e) => {
|
|
520
|
+
if (e.target === 'row' && e.row) e.items.push({ text: `Log order ${e.row.id}`, click: () => log(`Order ${e.row!.id} from the row menu`) });
|
|
521
|
+
}}
|
|
522
|
+
onRowUpdating={(e) => {
|
|
523
|
+
if (e.changes.status === 'Cancelled') {
|
|
524
|
+
e.cancel = true;
|
|
525
|
+
log(`Order ${e.key}: cancelling is not saved here`);
|
|
526
|
+
}
|
|
527
|
+
}}
|
|
528
|
+
onRowUpdated={(e) => log(`Order ${e.key} saved: ${Object.keys(e.changes).join(', ')}`)}
|
|
529
|
+
onFocusedRowChanged={(e) => e.key !== undefined && log(`Row ${e.key}`)}
|
|
530
|
+
onSortChanged={(e) => log(`Sorted: ${e.sort.map((x) => `${x.field} ${x.dir}`).join(', ') || 'none'}`)}
|
|
531
|
+
/>
|
|
532
|
+
<ol class="dg-events-log" aria-label="What happened" aria-live="polite">
|
|
533
|
+
{s.log.map((entry) => (
|
|
534
|
+
<li key={entry.id}>{entry.text}</li>
|
|
535
|
+
))}
|
|
536
|
+
</ol>
|
|
537
|
+
</>
|
|
538
|
+
);
|
|
539
|
+
}
|
|
540
|
+
```
|