@progress/kendo-angular-grid 23.3.0-develop.8 → 23.3.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.
- package/fesm2022/progress-kendo-angular-grid.mjs +94 -287
- package/grid.component.d.ts +2 -2
- package/index.d.ts +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +24 -24
- package/rendering/list.component.d.ts +2 -2
- package/rendering/toolbar/tools/smartbox/smartbox-component/smartbox.component.d.ts +5 -4
- package/schematics/ngAdd/index.js +7 -7
- package/selection/cell-selection.service.d.ts +1 -0
- package/selection/selection-default.d.ts +6 -2
- package/selection/selection.service.d.ts +2 -0
- package/layout/browser-support.service.d.ts +0 -22
- package/rendering/toolbar/tools/smartbox/segmented-control/models.d.ts +0 -36
- package/rendering/toolbar/tools/smartbox/segmented-control/segmented-control.component.d.ts +0 -45
|
@@ -7,11 +7,12 @@ import { EventEmitter, Injectable, SecurityContext, InjectionToken, Optional, In
|
|
|
7
7
|
import { merge, of, Subject, zip as zip$1, from, Subscription, interval, fromEvent, Observable, BehaviorSubject } from 'rxjs';
|
|
8
8
|
import * as i1$3 from '@progress/kendo-angular-common';
|
|
9
9
|
import { isDocumentAvailable, Keys, hasClasses as hasClasses$1, isPresent as isPresent$1, normalizeKeys, anyChanged, TemplateContextDirective, DraggableDirective, EventsOutsideAngularDirective, replaceMessagePlaceholder, isChanged as isChanged$1, KendoInput, guid, areObjectsEqual, PrefixTemplateDirective, closest as closest$1, hasObservers, ResizeSensorComponent, isFirefox, firefoxMaxHeight, closestInScope as closestInScope$1, isFocusable as isFocusable$1, getLicenseMessage, shouldShowValidationUI, WatermarkOverlayComponent, PreventableEvent as PreventableEvent$1, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
|
+
export { BrowserSupportService, ScrollbarService } from '@progress/kendo-angular-common';
|
|
10
11
|
import * as i1 from '@angular/platform-browser';
|
|
11
12
|
import * as i1$1 from '@progress/kendo-angular-icons';
|
|
12
13
|
import { IconWrapperComponent, IconsService, KENDO_ICONS } from '@progress/kendo-angular-icons';
|
|
13
14
|
import { plusIcon, cancelIcon, lockIcon, unlockIcon, caretAltDownIcon, caretAltRightIcon, caretAltLeftIcon, arrowLeftIcon, arrowRightIcon, sortDescSmallIcon, sortAscSmallIcon, filterClearIcon, filterIcon, searchIcon, checkIcon, arrowRotateCcwIcon, columnsIcon, sparklesIcon, fileCsvIcon, filePdfIcon, fileExcelIcon, trashIcon, saveIcon, pencilIcon, chevronUpIcon, chevronDownIcon, chevronRightIcon, displayInlineFlexIcon, maxWidthIcon, stickIcon, unstickIcon, setColumnPositionIcon, slidersIcon, moreVerticalIcon, reorderIcon, minusIcon, insertMiddleIcon, xIcon, xCircleIcon, plusCircleIcon, chevronLeftIcon, undoIcon, redoIcon, arrowsSwapIcon, groupIcon, tableWizardIcon, clockArrowRotateIcon, fileClockOutlineIcon, zoomSparkleIcon, arrowUpOutlineIcon, stopSmIcon, lightbulbOutlineIcon } from '@progress/kendo-svg-icons';
|
|
14
|
-
import { switchMap, take, map, filter, takeUntil, switchMapTo, delay, tap, throttleTime, debounceTime, distinctUntilChanged, skip,
|
|
15
|
+
import { switchMap, take, map, filter, takeUntil, switchMapTo, delay, tap, throttleTime, debounceTime, distinctUntilChanged, skip, bufferCount, flatMap } from 'rxjs/operators';
|
|
15
16
|
import * as i1$2 from '@progress/kendo-angular-l10n';
|
|
16
17
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
17
18
|
import * as i56 from '@progress/kendo-angular-pager';
|
|
@@ -24,7 +25,7 @@ import { parseDate } from '@progress/kendo-angular-intl';
|
|
|
24
25
|
import * as i2 from '@progress/kendo-angular-popup';
|
|
25
26
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
26
27
|
import * as i1$6 from '@progress/kendo-angular-buttons';
|
|
27
|
-
import { ChipListComponent, ChipComponent, ButtonComponent, Button, KENDO_BUTTON, ButtonDirective,
|
|
28
|
+
import { ChipListComponent, ChipComponent, ButtonComponent, Button, KENDO_BUTTON, ButtonDirective, SpeechToTextButtonComponent, SegmentedControlComponent } from '@progress/kendo-angular-buttons';
|
|
28
29
|
import * as i1$5 from '@progress/kendo-angular-dropdowns';
|
|
29
30
|
import { DropDownListComponent, AutoCompleteComponent, DataService, SelectionService as SelectionService$1, NavigationService as NavigationService$1, DisabledItemsService } from '@progress/kendo-angular-dropdowns';
|
|
30
31
|
import * as i2$2 from '@angular/forms';
|
|
@@ -653,8 +654,8 @@ const contains$1 = (parent, node, matchSelf = false) => {
|
|
|
653
654
|
* @hidden
|
|
654
655
|
*/
|
|
655
656
|
const isVisible = (element) => {
|
|
656
|
-
if (!isDocumentAvailable()) {
|
|
657
|
-
return;
|
|
657
|
+
if (!isDocumentAvailable() || !element?.getBoundingClientRect) {
|
|
658
|
+
return false;
|
|
658
659
|
}
|
|
659
660
|
const rect = element.getBoundingClientRect();
|
|
660
661
|
const hasSize = rect.width > 0 && rect.height > 0;
|
|
@@ -8217,7 +8218,7 @@ class FilterCellOperatorsComponent {
|
|
|
8217
8218
|
(click)="clearClick()"
|
|
8218
8219
|
(keydown)="clearKeydown($event)"></button>
|
|
8219
8220
|
}
|
|
8220
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
8221
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
8221
8222
|
}
|
|
8222
8223
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: FilterCellOperatorsComponent, decorators: [{
|
|
8223
8224
|
type: Component,
|
|
@@ -11654,7 +11655,7 @@ class FilterMenuContainerComponent {
|
|
|
11654
11655
|
}
|
|
11655
11656
|
</div>
|
|
11656
11657
|
</form>
|
|
11657
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: FilterMenuHostDirective, selector: "[kendoFilterMenuHost]", inputs: ["filterService", "menuTabbingService"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: MultiCheckboxFilterComponent, selector: "kendo-grid-multicheckbox-filter", inputs: ["column"], outputs: ["filterChange"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
11658
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: FilterMenuHostDirective, selector: "[kendoFilterMenuHost]", inputs: ["filterService", "menuTabbingService"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: MultiCheckboxFilterComponent, selector: "kendo-grid-multicheckbox-filter", inputs: ["column"], outputs: ["filterChange"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
11658
11659
|
}
|
|
11659
11660
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: FilterMenuContainerComponent, decorators: [{
|
|
11660
11661
|
type: Component,
|
|
@@ -13550,7 +13551,7 @@ class ColumnChooserContentComponent {
|
|
|
13550
13551
|
}
|
|
13551
13552
|
</div>
|
|
13552
13553
|
</form>
|
|
13553
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: ColumnListComponent, selector: "kendo-grid-columnlist", inputs: ["columns", "filteredColumns", "autoSync", "showSelectAll", "isFiltered", "ariaLabel", "allowHideAll", "applyText", "resetText", "selectAllText", "isLast", "isExpanded", "service", "filterable"], outputs: ["reset", "apply", "columnChange"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: PrefixTemplateDirective, selector: "[kendoPrefixTemplate]", inputs: ["showSeparator"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
13554
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: ColumnListComponent, selector: "kendo-grid-columnlist", inputs: ["columns", "filteredColumns", "autoSync", "showSelectAll", "isFiltered", "ariaLabel", "allowHideAll", "applyText", "resetText", "selectAllText", "isLast", "isExpanded", "service", "filterable"], outputs: ["reset", "apply", "columnChange"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: PrefixTemplateDirective, selector: "[kendoPrefixTemplate]", inputs: ["showSeparator"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
13554
13555
|
}
|
|
13555
13556
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ColumnChooserContentComponent, decorators: [{
|
|
13556
13557
|
type: Component,
|
|
@@ -13836,7 +13837,7 @@ class ColumnChooserComponent {
|
|
|
13836
13837
|
>
|
|
13837
13838
|
</kendo-grid-column-chooser-content>
|
|
13838
13839
|
</ng-template>
|
|
13839
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: ColumnChooserContentComponent, selector: "kendo-grid-column-chooser-content", inputs: ["filterable", "showSelectAll", "showCheckedCount", "allowHideAll", "autoSync", "actionsClass", "closeOnReset", "columns", "isLast", "isExpanded", "service"], outputs: ["close"] }] });
|
|
13840
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: ColumnChooserContentComponent, selector: "kendo-grid-column-chooser-content", inputs: ["filterable", "showSelectAll", "showCheckedCount", "allowHideAll", "autoSync", "actionsClass", "closeOnReset", "columns", "isLast", "isExpanded", "service"], outputs: ["close"] }] });
|
|
13840
13841
|
}
|
|
13841
13842
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ColumnChooserComponent, decorators: [{
|
|
13842
13843
|
type: Component,
|
|
@@ -19333,6 +19334,10 @@ class SelectionService {
|
|
|
19333
19334
|
cellAggregates
|
|
19334
19335
|
};
|
|
19335
19336
|
}
|
|
19337
|
+
setSelectionStart(row) {
|
|
19338
|
+
this.lastSelectionStartIndex = row?.index ?? 0;
|
|
19339
|
+
this.lastSelectionData = row?.dataItem ?? {};
|
|
19340
|
+
}
|
|
19336
19341
|
get selectAllState() {
|
|
19337
19342
|
return this._selectAllState;
|
|
19338
19343
|
}
|
|
@@ -19750,6 +19755,9 @@ class CellSelectionService {
|
|
|
19750
19755
|
});
|
|
19751
19756
|
}
|
|
19752
19757
|
}
|
|
19758
|
+
setSelectionStartColumn(index) {
|
|
19759
|
+
this.lastSelectionItemColIndex = index;
|
|
19760
|
+
}
|
|
19753
19761
|
getIterator() {
|
|
19754
19762
|
const accessor = this.settings.view.accessor();
|
|
19755
19763
|
if (!accessor) {
|
|
@@ -21956,7 +21964,7 @@ class CellComponent {
|
|
|
21956
21964
|
}
|
|
21957
21965
|
}
|
|
21958
21966
|
}
|
|
21959
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "directive", type: SelectionCheckboxDirective, selector: "[kendoGridSelectionCheckbox]", inputs: ["kendoGridSelectionCheckbox"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "component", type: DatePickerComponent, selector: "kendo-datepicker", inputs: ["focusableId", "cellTemplate", "clearButton", "inputAttributes", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "footer", "navigationItemTemplate", "weekDaysFormat", "showOtherMonthDays", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "autoFill", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "adaptiveTitle", "adaptiveSubtitle", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode", "adaptiveMode"], outputs: ["valueChange", "focus", "blur", "open", "close", "escape"], exportAs: ["kendo-datepicker"] }, { kind: "pipe", type: FieldAccessorPipe, name: "valueOf" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: CheckBoxComponent, selector: "kendo-checkbox", inputs: ["checkedState", "rounded"], outputs: ["checkedStateChange"], exportAs: ["kendoCheckBox"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
21967
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "directive", type: SelectionCheckboxDirective, selector: "[kendoGridSelectionCheckbox]", inputs: ["kendoGridSelectionCheckbox"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "component", type: DatePickerComponent, selector: "kendo-datepicker", inputs: ["focusableId", "cellTemplate", "clearButton", "inputAttributes", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "footer", "navigationItemTemplate", "weekDaysFormat", "showOtherMonthDays", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "autoFill", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "adaptiveTitle", "adaptiveSubtitle", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode", "adaptiveMode"], outputs: ["valueChange", "focus", "blur", "open", "close", "escape"], exportAs: ["kendo-datepicker"] }, { kind: "pipe", type: FieldAccessorPipe, name: "valueOf" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: CheckBoxComponent, selector: "kendo-checkbox", inputs: ["checkedState", "rounded"], outputs: ["checkedStateChange"], exportAs: ["kendoCheckBox"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
21960
21968
|
}
|
|
21961
21969
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: CellComponent, decorators: [{
|
|
21962
21970
|
type: Component,
|
|
@@ -24234,8 +24242,8 @@ const packageMetadata = {
|
|
|
24234
24242
|
productName: 'Kendo UI for Angular',
|
|
24235
24243
|
productCode: 'KENDOUIANGULAR',
|
|
24236
24244
|
productCodes: ['KENDOUIANGULAR'],
|
|
24237
|
-
publishDate:
|
|
24238
|
-
version: '23.3.0
|
|
24245
|
+
publishDate: 1775133388,
|
|
24246
|
+
version: '23.3.0',
|
|
24239
24247
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
24240
24248
|
};
|
|
24241
24249
|
|
|
@@ -24959,92 +24967,6 @@ const normalizeSettings = ({ buttonCount = 10, info = true, type = 'numeric', pa
|
|
|
24959
24967
|
*/
|
|
24960
24968
|
const normalize = (settings) => normalizeSettings(settings === true ? {} : settings);
|
|
24961
24969
|
|
|
24962
|
-
const canCreateElement = () => isDocumentAvailable() && document.createElement;
|
|
24963
|
-
let cachedScrollbarWidth = null;
|
|
24964
|
-
let cachedPixelRatio;
|
|
24965
|
-
let cachedRtlScrollLeft = null;
|
|
24966
|
-
function scrollbarWidth() {
|
|
24967
|
-
if (cachedScrollbarWidth === null && canCreateElement()) {
|
|
24968
|
-
cachedPixelRatio = window.devicePixelRatio || 1;
|
|
24969
|
-
const div = document.createElement("div");
|
|
24970
|
-
div.style.cssText = "overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block";
|
|
24971
|
-
div.innerHTML = " ";
|
|
24972
|
-
document.body.appendChild(div);
|
|
24973
|
-
cachedScrollbarWidth = div.offsetWidth - div.scrollWidth;
|
|
24974
|
-
document.body.removeChild(div);
|
|
24975
|
-
}
|
|
24976
|
-
return cachedScrollbarWidth;
|
|
24977
|
-
}
|
|
24978
|
-
function rtlScrollLeft() {
|
|
24979
|
-
if (cachedRtlScrollLeft === null && canCreateElement()) {
|
|
24980
|
-
const outer = document.createElement('div');
|
|
24981
|
-
outer.style.direction = 'rtl';
|
|
24982
|
-
outer.style.display = 'block';
|
|
24983
|
-
outer.style.clear = 'both';
|
|
24984
|
-
outer.style.width = '100px';
|
|
24985
|
-
outer.style.visibility = 'hidden';
|
|
24986
|
-
outer.style.position = 'absolute';
|
|
24987
|
-
outer.style.left = '-10000px';
|
|
24988
|
-
outer.style.overflow = 'scroll';
|
|
24989
|
-
outer.style.zoom = '1';
|
|
24990
|
-
const inner = document.createElement('div');
|
|
24991
|
-
inner.style.width = '200px';
|
|
24992
|
-
inner.style.height = '1px';
|
|
24993
|
-
outer.append(inner);
|
|
24994
|
-
document.body.appendChild(outer);
|
|
24995
|
-
const initial = outer.scrollLeft;
|
|
24996
|
-
outer.scrollLeft = -1;
|
|
24997
|
-
cachedRtlScrollLeft = outer.scrollLeft < 0 ? outer.scrollLeft : initial;
|
|
24998
|
-
document.body.removeChild(outer);
|
|
24999
|
-
}
|
|
25000
|
-
return cachedRtlScrollLeft;
|
|
25001
|
-
}
|
|
25002
|
-
/**
|
|
25003
|
-
* @hidden
|
|
25004
|
-
* move to kendo-common
|
|
25005
|
-
*/
|
|
25006
|
-
class BrowserSupportService {
|
|
25007
|
-
zone;
|
|
25008
|
-
changeDetector;
|
|
25009
|
-
changes = new EventEmitter();
|
|
25010
|
-
subscriptions;
|
|
25011
|
-
constructor(zone, changeDetector) {
|
|
25012
|
-
this.zone = zone;
|
|
25013
|
-
this.changeDetector = changeDetector;
|
|
25014
|
-
if (typeof window === 'undefined') {
|
|
25015
|
-
return;
|
|
25016
|
-
}
|
|
25017
|
-
this.zone.runOutsideAngular(() => {
|
|
25018
|
-
this.subscriptions = fromEvent(window, 'resize').pipe(auditTime(100)).subscribe(() => {
|
|
25019
|
-
if (cachedPixelRatio !== window.devicePixelRatio) {
|
|
25020
|
-
zone.run(() => {
|
|
25021
|
-
cachedScrollbarWidth = null;
|
|
25022
|
-
this.changes.emit();
|
|
25023
|
-
this.changeDetector.markForCheck();
|
|
25024
|
-
});
|
|
25025
|
-
}
|
|
25026
|
-
});
|
|
25027
|
-
});
|
|
25028
|
-
}
|
|
25029
|
-
ngOnDestroy() {
|
|
25030
|
-
if (this.subscriptions) {
|
|
25031
|
-
this.subscriptions.unsubscribe();
|
|
25032
|
-
this.subscriptions = null;
|
|
25033
|
-
}
|
|
25034
|
-
}
|
|
25035
|
-
get scrollbarWidth() {
|
|
25036
|
-
return scrollbarWidth();
|
|
25037
|
-
}
|
|
25038
|
-
get rtlScrollLeft() {
|
|
25039
|
-
return rtlScrollLeft();
|
|
25040
|
-
}
|
|
25041
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: BrowserSupportService, deps: [{ token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
25042
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: BrowserSupportService });
|
|
25043
|
-
}
|
|
25044
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: BrowserSupportService, decorators: [{
|
|
25045
|
-
type: Injectable
|
|
25046
|
-
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i0.ChangeDetectorRef }] });
|
|
25047
|
-
|
|
25048
24970
|
const isGroupItem = (source) => {
|
|
25049
24971
|
return source.items !== undefined &&
|
|
25050
24972
|
source.field !== undefined;
|
|
@@ -25514,13 +25436,25 @@ class Selection {
|
|
|
25514
25436
|
*
|
|
25515
25437
|
* @default 0
|
|
25516
25438
|
*/
|
|
25517
|
-
rangeSelectionStartRow
|
|
25439
|
+
set rangeSelectionStartRow(value) {
|
|
25440
|
+
this._rangeSelectionStartRow = value;
|
|
25441
|
+
this.ctx.grid.selectionService?.setSelectionStart(this._rangeSelectionStartRow);
|
|
25442
|
+
}
|
|
25443
|
+
get rangeSelectionStartRow() {
|
|
25444
|
+
return this._rangeSelectionStartRow;
|
|
25445
|
+
}
|
|
25518
25446
|
/**
|
|
25519
25447
|
* Sets the starting column index for `Shift`+click range selection when cell selection is on.
|
|
25520
25448
|
*
|
|
25521
25449
|
* @default 0
|
|
25522
25450
|
*/
|
|
25523
|
-
rangeSelectionStartColumnIndex
|
|
25451
|
+
set rangeSelectionStartColumnIndex(value) {
|
|
25452
|
+
this._rangeSelectionStartColumnIndex = value;
|
|
25453
|
+
this.ctx.grid.cellSelectionService?.setSelectionStartColumn(this.rangeSelectionStartColumnIndex);
|
|
25454
|
+
}
|
|
25455
|
+
get rangeSelectionStartColumnIndex() {
|
|
25456
|
+
return this._rangeSelectionStartColumnIndex ?? 0;
|
|
25457
|
+
}
|
|
25524
25458
|
/**
|
|
25525
25459
|
* Sets the item key to store in `selectedKeys`.
|
|
25526
25460
|
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/persisting#using-data-item-field).
|
|
@@ -25539,6 +25473,8 @@ class Selection {
|
|
|
25539
25473
|
selectedKeysChange = new EventEmitter();
|
|
25540
25474
|
rowSelectionState = new Set();
|
|
25541
25475
|
cellSelectionState = new PairSet();
|
|
25476
|
+
_rangeSelectionStartRow;
|
|
25477
|
+
_rangeSelectionStartColumnIndex = 0;
|
|
25542
25478
|
/**
|
|
25543
25479
|
* @hidden
|
|
25544
25480
|
*/
|
|
@@ -28205,7 +28141,7 @@ class ListComponent {
|
|
|
28205
28141
|
this.scroller.scrollHeightContainer = this.container.nativeElement.querySelector('.k-height-container');
|
|
28206
28142
|
this.scroller.total = this.isVirtual && !this.ctx.grid?.pageable ? this.total : this.allItems.length;
|
|
28207
28143
|
}
|
|
28208
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ListComponent, deps: [{ token: SCROLLER_FACTORY_TOKEN }, { token: DetailsService }, { token: ChangeNotificationService }, { token: SuspendService }, { token: GroupsService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: ScrollSyncService }, { token: ResizeService }, { token: EditService }, { token:
|
|
28144
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ListComponent, deps: [{ token: SCROLLER_FACTORY_TOKEN }, { token: DetailsService }, { token: ChangeNotificationService }, { token: SuspendService }, { token: GroupsService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: ScrollSyncService }, { token: ResizeService }, { token: EditService }, { token: i1$3.ScrollbarService }, { token: NavigationService }, { token: ScrollRequestService }, { token: ContextService }, { token: ColumnResizingService }, { token: i0.ChangeDetectorRef }, { token: PDFService }, { token: ColumnInfoService }, { token: DataMappingService }], target: i0.ɵɵFactoryTarget.Component });
|
|
28209
28145
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: ListComponent, isStandalone: true, selector: "kendo-grid-list", inputs: { data: "data", groups: "groups", total: "total", rowHeight: "rowHeight", detailRowHeight: "detailRowHeight", take: "take", skip: "skip", columns: "columns", detailTemplate: "detailTemplate", noRecordsTemplate: "noRecordsTemplate", selectable: "selectable", groupable: "groupable", filterable: "filterable", rowClass: "rowClass", rowSticky: "rowSticky", loading: "loading", trackBy: "trackBy", virtualColumns: "virtualColumns", isVirtual: "isVirtual", cellLoadingTemplate: "cellLoadingTemplate", loadingTemplate: "loadingTemplate", sort: "sort", size: "size" }, outputs: { contentScroll: "contentScroll", pageChange: "pageChange", scrollBottom: "scrollBottom" }, host: { properties: { "class.k-grid-container": "this.hostClass", "attr.role": "this.hostRole" } }, providers: [
|
|
28210
28146
|
{
|
|
28211
28147
|
provide: SCROLLER_FACTORY_TOKEN,
|
|
@@ -28482,7 +28418,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
28482
28418
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
28483
28419
|
type: Inject,
|
|
28484
28420
|
args: [SCROLLER_FACTORY_TOKEN]
|
|
28485
|
-
}] }, { type: DetailsService }, { type: ChangeNotificationService }, { type: SuspendService }, { type: GroupsService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: ScrollSyncService }, { type: ResizeService }, { type: EditService }, { type:
|
|
28421
|
+
}] }, { type: DetailsService }, { type: ChangeNotificationService }, { type: SuspendService }, { type: GroupsService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: ScrollSyncService }, { type: ResizeService }, { type: EditService }, { type: i1$3.ScrollbarService }, { type: NavigationService }, { type: ScrollRequestService }, { type: ContextService }, { type: ColumnResizingService }, { type: i0.ChangeDetectorRef }, { type: PDFService }, { type: ColumnInfoService }, { type: DataMappingService }], propDecorators: { hostClass: [{
|
|
28486
28422
|
type: HostBinding,
|
|
28487
28423
|
args: ['class.k-grid-container']
|
|
28488
28424
|
}], hostRole: [{
|
|
@@ -30122,7 +30058,7 @@ class SortToolbarToolComponent {
|
|
|
30122
30058
|
{{ctx?.localization.get('sortClearButton')}}
|
|
30123
30059
|
</button>
|
|
30124
30060
|
</div>
|
|
30125
|
-
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i1$6.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
30061
|
+
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i1$6.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
30126
30062
|
}
|
|
30127
30063
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SortToolbarToolComponent, decorators: [{
|
|
30128
30064
|
type: Component,
|
|
@@ -30454,7 +30390,7 @@ class FormComponent {
|
|
|
30454
30390
|
</div>
|
|
30455
30391
|
}
|
|
30456
30392
|
</div>
|
|
30457
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: FormFormFieldComponent, selector: "kendo-form-formfield", inputs: ["control", "floatingLabel", "showError"] }, { kind: "component", type: i1$6.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
30393
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: FormFormFieldComponent, selector: "kendo-form-formfield", inputs: ["control", "floatingLabel", "showError"] }, { kind: "component", type: i1$6.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
30458
30394
|
}
|
|
30459
30395
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: FormComponent, decorators: [{
|
|
30460
30396
|
type: Component,
|
|
@@ -30564,7 +30500,7 @@ class DialogFormComponent extends DialogContentBase {
|
|
|
30564
30500
|
{{messageFor('externalEditingCancelText')}}
|
|
30565
30501
|
</button>
|
|
30566
30502
|
</kendo-dialog-actions>
|
|
30567
|
-
`, isInline: true, dependencies: [{ kind: "component", type: FormComponent, selector: "kendo-grid-external-form", inputs: ["controls", "formSettings", "formGroup", "actionButtons"], outputs: ["formSubmit"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: i1$6.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
30503
|
+
`, isInline: true, dependencies: [{ kind: "component", type: FormComponent, selector: "kendo-grid-external-form", inputs: ["controls", "formSettings", "formGroup", "actionButtons"], outputs: ["formSubmit"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: i1$6.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
30568
30504
|
}
|
|
30569
30505
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DialogFormComponent, decorators: [{
|
|
30570
30506
|
type: Component,
|
|
@@ -30918,7 +30854,7 @@ class GroupToolbarToolComponent {
|
|
|
30918
30854
|
</button>
|
|
30919
30855
|
</div>
|
|
30920
30856
|
}
|
|
30921
|
-
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i1$6.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
30857
|
+
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i1$6.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
30922
30858
|
}
|
|
30923
30859
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: GroupToolbarToolComponent, decorators: [{
|
|
30924
30860
|
type: Component,
|
|
@@ -31767,7 +31703,7 @@ class AdaptiveRendererComponent {
|
|
|
31767
31703
|
{{messageFor('filterFilterButton')}}
|
|
31768
31704
|
</button>
|
|
31769
31705
|
</ng-template>
|
|
31770
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["actions", "actionsLayout", "overlayClickClose", "title", "subtitle", "items", "cssClass", "cssStyle", "animation", "expanded", "titleId", "initialFocus"], outputs: ["expandedChange", "action", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "component", type: ActionSheetViewComponent, selector: "kendo-actionsheet-view", inputs: ["title", "subtitle", "titleId"] }, { kind: "component", type: FilterToolbarToolComponent, selector: "kendo-filter-toolbar-tool", outputs: ["close"] }, { kind: "component", type: GroupToolbarToolComponent, selector: "kendo-group-toolbar-tool", inputs: ["adaptive"], outputs: ["close", "groupClear"] }, { kind: "component", type: ButtonDirective, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: ActionSheetHeaderTemplateDirective, selector: "[kendoActionSheetHeaderTemplate]" }, { kind: "directive", type: ActionSheetContentTemplateDirective, selector: "[kendoActionSheetContentTemplate]" }, { kind: "directive", type: ActionSheetFooterTemplateDirective, selector: "[kendoActionSheetFooterTemplate]" }, { kind: "component", type: ColumnMenuContainerComponent, selector: "kendo-grid-columnmenu-container" }, { kind: "component", type: ColumnMenuFilterComponent, selector: "kendo-grid-columnmenu-filter", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }, { kind: "component", type: ColumnMenuSortComponent, selector: "kendo-grid-columnmenu-sort" }, { kind: "component", type: ColumnMenuLockComponent, selector: "kendo-grid-columnmenu-lock" }, { kind: "component", type: ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick" }, { kind: "component", type: ColumnMenuPositionComponent, selector: "kendo-grid-columnmenu-position", inputs: ["expanded", "showLock", "showStick", "isLast"], outputs: ["expand", "collapse"] }, { kind: "component", type: ColumnMenuChooserComponent, selector: "kendo-grid-columnmenu-chooser", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }, { kind: "component", type: ColumnMenuAutoSizeColumnComponent, selector: "kendo-grid-columnmenu-autosize-column", inputs: ["column"] }, { kind: "component", type: ColumnMenuAutoSizeAllColumnsComponent, selector: "kendo-grid-columnmenu-autosize-all-columns" }, { kind: "component", type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "indicatorIcon", "text", "selected", "disabled", "expanded", "focused", "service", "column"], outputs: ["itemClick", "expand", "collapse"] }, { kind: "directive", type: ColumnMenuItemDirective, selector: "[kendoGridColumnMenuItem]", inputs: ["kendoGridColumnMenuItem"] }, { kind: "component", type: FilterMenuContainerComponent, selector: "kendo-grid-filter-menu-container", inputs: ["column", "isLast", "isExpanded", "menuTabbingService", "filter", "actionsClass"], outputs: ["close"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: FormComponent, selector: "kendo-grid-external-form", inputs: ["controls", "formSettings", "formGroup", "actionButtons"], outputs: ["formSubmit"] }, { kind: "component", type: ColumnChooserContentComponent, selector: "kendo-grid-column-chooser-content", inputs: ["filterable", "showSelectAll", "showCheckedCount", "allowHideAll", "autoSync", "actionsClass", "closeOnReset", "columns", "isLast", "isExpanded", "service"], outputs: ["close"] }] });
|
|
31706
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["actions", "actionsLayout", "overlayClickClose", "title", "subtitle", "items", "cssClass", "cssStyle", "animation", "expanded", "titleId", "initialFocus"], outputs: ["expandedChange", "action", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "component", type: ActionSheetViewComponent, selector: "kendo-actionsheet-view", inputs: ["title", "subtitle", "titleId"] }, { kind: "component", type: FilterToolbarToolComponent, selector: "kendo-filter-toolbar-tool", outputs: ["close"] }, { kind: "component", type: GroupToolbarToolComponent, selector: "kendo-group-toolbar-tool", inputs: ["adaptive"], outputs: ["close", "groupClear"] }, { kind: "component", type: ButtonDirective, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: ActionSheetHeaderTemplateDirective, selector: "[kendoActionSheetHeaderTemplate]" }, { kind: "directive", type: ActionSheetContentTemplateDirective, selector: "[kendoActionSheetContentTemplate]" }, { kind: "directive", type: ActionSheetFooterTemplateDirective, selector: "[kendoActionSheetFooterTemplate]" }, { kind: "component", type: ColumnMenuContainerComponent, selector: "kendo-grid-columnmenu-container" }, { kind: "component", type: ColumnMenuFilterComponent, selector: "kendo-grid-columnmenu-filter", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }, { kind: "component", type: ColumnMenuSortComponent, selector: "kendo-grid-columnmenu-sort" }, { kind: "component", type: ColumnMenuLockComponent, selector: "kendo-grid-columnmenu-lock" }, { kind: "component", type: ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick" }, { kind: "component", type: ColumnMenuPositionComponent, selector: "kendo-grid-columnmenu-position", inputs: ["expanded", "showLock", "showStick", "isLast"], outputs: ["expand", "collapse"] }, { kind: "component", type: ColumnMenuChooserComponent, selector: "kendo-grid-columnmenu-chooser", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }, { kind: "component", type: ColumnMenuAutoSizeColumnComponent, selector: "kendo-grid-columnmenu-autosize-column", inputs: ["column"] }, { kind: "component", type: ColumnMenuAutoSizeAllColumnsComponent, selector: "kendo-grid-columnmenu-autosize-all-columns" }, { kind: "component", type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "indicatorIcon", "text", "selected", "disabled", "expanded", "focused", "service", "column"], outputs: ["itemClick", "expand", "collapse"] }, { kind: "directive", type: ColumnMenuItemDirective, selector: "[kendoGridColumnMenuItem]", inputs: ["kendoGridColumnMenuItem"] }, { kind: "component", type: FilterMenuContainerComponent, selector: "kendo-grid-filter-menu-container", inputs: ["column", "isLast", "isExpanded", "menuTabbingService", "filter", "actionsClass"], outputs: ["close"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: FormComponent, selector: "kendo-grid-external-form", inputs: ["controls", "formSettings", "formGroup", "actionButtons"], outputs: ["formSubmit"] }, { kind: "component", type: ColumnChooserContentComponent, selector: "kendo-grid-column-chooser-content", inputs: ["filterable", "showSelectAll", "showCheckedCount", "allowHideAll", "autoSync", "actionsClass", "closeOnReset", "columns", "isLast", "isExpanded", "service"], outputs: ["close"] }] });
|
|
31771
31707
|
}
|
|
31772
31708
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: AdaptiveRendererComponent, decorators: [{
|
|
31773
31709
|
type: Component,
|
|
@@ -34771,9 +34707,8 @@ class GridComponent {
|
|
|
34771
34707
|
this.dragTargetContainer?.notify();
|
|
34772
34708
|
this.dropTargetContainer?.notify();
|
|
34773
34709
|
}
|
|
34774
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: GridComponent, deps: [{ token:
|
|
34710
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: GridComponent, deps: [{ token: i1$3.ScrollbarService }, { token: SelectionService }, { token: CellSelectionService }, { token: i0.ElementRef }, { token: GroupInfoService }, { token: GroupsService }, { token: ChangeNotificationService }, { token: DetailsService }, { token: EditService }, { token: FilterService }, { token: PDFService }, { token: ResponsiveService }, { token: i0.Renderer2 }, { token: ExcelService }, { token: CSVService }, { token: i0.NgZone }, { token: ScrollSyncService }, { token: DomEventsService }, { token: ColumnResizingService }, { token: i0.ChangeDetectorRef }, { token: ColumnReorderService }, { token: ColumnInfoService }, { token: NavigationService }, { token: SortService }, { token: ScrollRequestService }, { token: i1$2.LocalizationService }, { token: ContextService }, { token: SizingOptionsService }, { token: AdaptiveGridService }, { token: RowReorderService }, { token: DataMappingService }, { token: GridAIRequestResponseService }, { token: IdService }, { token: SearchService }], target: i0.ɵɵFactoryTarget.Component });
|
|
34775
34711
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: GridComponent, isStandalone: true, selector: "kendo-grid", inputs: { data: "data", pageSize: "pageSize", height: "height", rowHeight: "rowHeight", adaptiveMode: "adaptiveMode", detailRowHeight: "detailRowHeight", skip: "skip", scrollable: "scrollable", selectable: "selectable", sort: "sort", size: "size", trackBy: "trackBy", filter: "filter", group: "group", virtualColumns: "virtualColumns", filterable: "filterable", sortable: "sortable", pageable: "pageable", groupable: "groupable", gridResizable: "gridResizable", rowReorderable: "rowReorderable", navigable: "navigable", autoSize: "autoSize", rowClass: "rowClass", rowSticky: "rowSticky", rowSelected: "rowSelected", isRowSelectable: "isRowSelectable", cellSelected: "cellSelected", resizable: "resizable", reorderable: "reorderable", loading: "loading", columnMenu: "columnMenu", hideHeader: "hideHeader", showInactiveTools: "showInactiveTools", isDetailExpanded: "isDetailExpanded", isGroupExpanded: "isGroupExpanded", dataLayoutMode: "dataLayoutMode" }, outputs: { filterChange: "filterChange", pageChange: "pageChange", groupChange: "groupChange", sortChange: "sortChange", selectionChange: "selectionChange", rowReorder: "rowReorder", dataStateChange: "dataStateChange", gridStateChange: "gridStateChange", groupExpand: "groupExpand", groupCollapse: "groupCollapse", detailExpand: "detailExpand", detailCollapse: "detailCollapse", edit: "edit", cancel: "cancel", save: "save", remove: "remove", add: "add", cellClose: "cellClose", cellClick: "cellClick", pdfExport: "pdfExport", excelExport: "excelExport", csvExport: "csvExport", columnResize: "columnResize", columnReorder: "columnReorder", columnVisibilityChange: "columnVisibilityChange", columnLockedChange: "columnLockedChange", columnStickyChange: "columnStickyChange", scrollBottom: "scrollBottom", contentScroll: "contentScroll" }, host: { properties: { "attr.dir": "this.dir", "class.k-grid": "this.hostClass", "class.k-grid-sm": "this.sizeSmallClass", "class.k-grid-md": "this.sizeMediumClass", "class.k-grid-stack": "this.stackedClass", "class.k-grid-lockedcolumns": "this.lockedClasses", "class.k-grid-virtual": "this.virtualClasses", "class.k-grid-no-scrollbar": "this.noScrollbarClass", "class.k-grid-resizable": "this.isResizable", "style.minWidth": "this.minWidth", "style.maxWidth": "this.maxWidth", "style.minHeight": "this.minHeight", "style.maxHeight": "this.maxHeight" } }, providers: [
|
|
34776
|
-
BrowserSupportService,
|
|
34777
34712
|
LocalizationService,
|
|
34778
34713
|
ColumnInfoService,
|
|
34779
34714
|
SelectionService,
|
|
@@ -35763,7 +35698,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
35763
35698
|
encapsulation: ViewEncapsulation.None,
|
|
35764
35699
|
exportAs: 'kendoGrid',
|
|
35765
35700
|
providers: [
|
|
35766
|
-
BrowserSupportService,
|
|
35767
35701
|
LocalizationService,
|
|
35768
35702
|
ColumnInfoService,
|
|
35769
35703
|
SelectionService,
|
|
@@ -36775,7 +36709,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
36775
36709
|
ResizeSensorComponent
|
|
36776
36710
|
]
|
|
36777
36711
|
}]
|
|
36778
|
-
}], ctorParameters: () => [{ type:
|
|
36712
|
+
}], ctorParameters: () => [{ type: i1$3.ScrollbarService }, { type: SelectionService }, { type: CellSelectionService }, { type: i0.ElementRef }, { type: GroupInfoService }, { type: GroupsService }, { type: ChangeNotificationService }, { type: DetailsService }, { type: EditService }, { type: FilterService }, { type: PDFService }, { type: ResponsiveService }, { type: i0.Renderer2 }, { type: ExcelService }, { type: CSVService }, { type: i0.NgZone }, { type: ScrollSyncService }, { type: DomEventsService }, { type: ColumnResizingService }, { type: i0.ChangeDetectorRef }, { type: ColumnReorderService }, { type: ColumnInfoService }, { type: NavigationService }, { type: SortService }, { type: ScrollRequestService }, { type: i1$2.LocalizationService }, { type: ContextService }, { type: SizingOptionsService }, { type: AdaptiveGridService }, { type: RowReorderService }, { type: DataMappingService }, { type: GridAIRequestResponseService }, { type: IdService }, { type: SearchService }], propDecorators: { data: [{
|
|
36779
36713
|
type: Input
|
|
36780
36714
|
}], pageSize: [{
|
|
36781
36715
|
type: Input
|
|
@@ -39740,7 +39674,7 @@ class FilterToolWrapperComponent {
|
|
|
39740
39674
|
{{ctx?.localization.get('filterClearAllButton')}}
|
|
39741
39675
|
</button>
|
|
39742
39676
|
</div>
|
|
39743
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1$6.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
39677
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i1$6.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
39744
39678
|
}
|
|
39745
39679
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: FilterToolWrapperComponent, decorators: [{
|
|
39746
39680
|
type: Component,
|
|
@@ -41211,158 +41145,6 @@ class GridSmartBoxSearchEvent extends SmartBoxSearchEvent {
|
|
|
41211
41145
|
}
|
|
41212
41146
|
}
|
|
41213
41147
|
|
|
41214
|
-
const SIZES_MAP = {
|
|
41215
|
-
small: 'sm',
|
|
41216
|
-
medium: 'md',
|
|
41217
|
-
large: 'lg'
|
|
41218
|
-
};
|
|
41219
|
-
/**
|
|
41220
|
-
* @hidden
|
|
41221
|
-
*/
|
|
41222
|
-
class SegmentedControlComponent {
|
|
41223
|
-
renderer;
|
|
41224
|
-
wrapper;
|
|
41225
|
-
cdr;
|
|
41226
|
-
zone;
|
|
41227
|
-
hostClasses = true;
|
|
41228
|
-
hostRole = 'group';
|
|
41229
|
-
thumb;
|
|
41230
|
-
/**
|
|
41231
|
-
* Specifies the collection of buttons that will be rendered inside the SegmentedControlComponent.
|
|
41232
|
-
*/
|
|
41233
|
-
buttons = [];
|
|
41234
|
-
/**
|
|
41235
|
-
* Sets the padding of the control.
|
|
41236
|
-
*
|
|
41237
|
-
* @default undefined
|
|
41238
|
-
*/
|
|
41239
|
-
set size(size) {
|
|
41240
|
-
const newSize = size;
|
|
41241
|
-
this.handleSizeClass(newSize, this._size);
|
|
41242
|
-
this._size = newSize;
|
|
41243
|
-
}
|
|
41244
|
-
get size() {
|
|
41245
|
-
return this._size;
|
|
41246
|
-
}
|
|
41247
|
-
/**
|
|
41248
|
-
* Fires when a button is clicked.
|
|
41249
|
-
*/
|
|
41250
|
-
buttonClick = new EventEmitter();
|
|
41251
|
-
ngAfterViewInit() {
|
|
41252
|
-
this.handleSizeClass(this._size, null);
|
|
41253
|
-
this.selectedButtonIndex = this.buttons.indexOf(this.buttons.find(b => b.selected)) || 0;
|
|
41254
|
-
this.cdr.detectChanges();
|
|
41255
|
-
this.zone.onStable.pipe(take(1)).subscribe(() => this.showSelectionIndicator());
|
|
41256
|
-
}
|
|
41257
|
-
handleClick(button, index) {
|
|
41258
|
-
this.selectedButtonIndex = index;
|
|
41259
|
-
this.cdr.detectChanges();
|
|
41260
|
-
this.buttonClick.emit(button);
|
|
41261
|
-
this.showSelectionIndicator();
|
|
41262
|
-
}
|
|
41263
|
-
getInnerIconClass(button) {
|
|
41264
|
-
const baseClass = 'k-segmented-control-button-icon';
|
|
41265
|
-
return button.iconInnerCssClass ? `${baseClass} ${button.iconInnerCssClass}` : baseClass;
|
|
41266
|
-
}
|
|
41267
|
-
constructor(renderer, wrapper, cdr, zone) {
|
|
41268
|
-
this.renderer = renderer;
|
|
41269
|
-
this.wrapper = wrapper;
|
|
41270
|
-
this.cdr = cdr;
|
|
41271
|
-
this.zone = zone;
|
|
41272
|
-
}
|
|
41273
|
-
showSelectionIndicator() {
|
|
41274
|
-
const element = this.wrapper.nativeElement;
|
|
41275
|
-
const controlRect = element.getBoundingClientRect();
|
|
41276
|
-
const selectedItem = element.querySelector('.k-segmented-control-button.k-selected');
|
|
41277
|
-
const selectionIndicator = this.thumb ? this.thumb.nativeElement : null;
|
|
41278
|
-
if (!selectedItem || !selectionIndicator) {
|
|
41279
|
-
return;
|
|
41280
|
-
}
|
|
41281
|
-
const itemRect = selectedItem.getBoundingClientRect();
|
|
41282
|
-
const left = itemRect.left - controlRect.left;
|
|
41283
|
-
const right = controlRect.right - itemRect.right;
|
|
41284
|
-
this.renderer.setStyle(selectionIndicator, 'left', `${left}px`);
|
|
41285
|
-
this.renderer.setStyle(selectionIndicator, 'right', `${right}px`);
|
|
41286
|
-
}
|
|
41287
|
-
selectedButtonIndex = 0;
|
|
41288
|
-
_size;
|
|
41289
|
-
handleSizeClass(newValue, prevValue) {
|
|
41290
|
-
if (!this.wrapper) {
|
|
41291
|
-
return;
|
|
41292
|
-
}
|
|
41293
|
-
const elem = this.wrapper.nativeElement;
|
|
41294
|
-
const classToRemove = prevValue ? `k-segmented-control-${SIZES_MAP[prevValue]}` : null;
|
|
41295
|
-
const classToAdd = newValue ? `k-segmented-control-${SIZES_MAP[newValue]}` : null;
|
|
41296
|
-
classToRemove && this.renderer.removeClass(elem, classToRemove);
|
|
41297
|
-
classToAdd && this.renderer.addClass(elem, classToAdd);
|
|
41298
|
-
}
|
|
41299
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SegmentedControlComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
41300
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: SegmentedControlComponent, isStandalone: true, selector: "kendo-segmented-control", inputs: { buttons: "buttons", size: "size" }, outputs: { buttonClick: "buttonClick" }, host: { properties: { "class.k-segmented-control": "this.hostClasses", "class.k-segmented-control-stretched": "this.hostClasses", "attr.role": "this.hostRole" } }, viewQueries: [{ propertyName: "thumb", first: true, predicate: ["thumb"], descendants: true }], ngImport: i0, template: `
|
|
41301
|
-
<div class="k-segmented-control-thumb" #thumb [attr.aria-hidden]="true"></div>
|
|
41302
|
-
@for (button of buttons; track $index; let idx = $index) {
|
|
41303
|
-
<button type="button"
|
|
41304
|
-
class="k-segmented-control-button"
|
|
41305
|
-
[class.k-disabled]="button.disabled"
|
|
41306
|
-
[attr.disabled]="button.disabled ? true : null"
|
|
41307
|
-
(click)="handleClick(button, idx)"
|
|
41308
|
-
[class.k-selected]="selectedButtonIndex === idx"
|
|
41309
|
-
[attr.aria-pressed]="selectedButtonIndex === idx ? 'true' : 'false'">
|
|
41310
|
-
<kendo-icon-wrapper
|
|
41311
|
-
[innerCssClass]="getInnerIconClass(button)"
|
|
41312
|
-
[name]="button.icon"
|
|
41313
|
-
[svgIcon]="button.svgIcon">
|
|
41314
|
-
</kendo-icon-wrapper>
|
|
41315
|
-
<span class="k-segmented-control-button-text">{{button.text}}</span>
|
|
41316
|
-
</button>
|
|
41317
|
-
}
|
|
41318
|
-
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
41319
|
-
}
|
|
41320
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SegmentedControlComponent, decorators: [{
|
|
41321
|
-
type: Component,
|
|
41322
|
-
args: [{
|
|
41323
|
-
selector: 'kendo-segmented-control',
|
|
41324
|
-
standalone: true,
|
|
41325
|
-
imports: [IconWrapperComponent],
|
|
41326
|
-
template: `
|
|
41327
|
-
<div class="k-segmented-control-thumb" #thumb [attr.aria-hidden]="true"></div>
|
|
41328
|
-
@for (button of buttons; track $index; let idx = $index) {
|
|
41329
|
-
<button type="button"
|
|
41330
|
-
class="k-segmented-control-button"
|
|
41331
|
-
[class.k-disabled]="button.disabled"
|
|
41332
|
-
[attr.disabled]="button.disabled ? true : null"
|
|
41333
|
-
(click)="handleClick(button, idx)"
|
|
41334
|
-
[class.k-selected]="selectedButtonIndex === idx"
|
|
41335
|
-
[attr.aria-pressed]="selectedButtonIndex === idx ? 'true' : 'false'">
|
|
41336
|
-
<kendo-icon-wrapper
|
|
41337
|
-
[innerCssClass]="getInnerIconClass(button)"
|
|
41338
|
-
[name]="button.icon"
|
|
41339
|
-
[svgIcon]="button.svgIcon">
|
|
41340
|
-
</kendo-icon-wrapper>
|
|
41341
|
-
<span class="k-segmented-control-button-text">{{button.text}}</span>
|
|
41342
|
-
</button>
|
|
41343
|
-
}
|
|
41344
|
-
`
|
|
41345
|
-
}]
|
|
41346
|
-
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }], propDecorators: { hostClasses: [{
|
|
41347
|
-
type: HostBinding,
|
|
41348
|
-
args: ['class.k-segmented-control']
|
|
41349
|
-
}, {
|
|
41350
|
-
type: HostBinding,
|
|
41351
|
-
args: ['class.k-segmented-control-stretched']
|
|
41352
|
-
}], hostRole: [{
|
|
41353
|
-
type: HostBinding,
|
|
41354
|
-
args: ['attr.role']
|
|
41355
|
-
}], thumb: [{
|
|
41356
|
-
type: ViewChild,
|
|
41357
|
-
args: ['thumb']
|
|
41358
|
-
}], buttons: [{
|
|
41359
|
-
type: Input
|
|
41360
|
-
}], size: [{
|
|
41361
|
-
type: Input
|
|
41362
|
-
}], buttonClick: [{
|
|
41363
|
-
type: Output
|
|
41364
|
-
}] } });
|
|
41365
|
-
|
|
41366
41148
|
/**
|
|
41367
41149
|
* Renders the prompt suggestion content.
|
|
41368
41150
|
*
|
|
@@ -41748,22 +41530,8 @@ class SmartBoxComponent {
|
|
|
41748
41530
|
aiAssistantHistory = [];
|
|
41749
41531
|
searchHistory = [];
|
|
41750
41532
|
semanticSearchHistory = [];
|
|
41751
|
-
|
|
41752
|
-
|
|
41753
|
-
if ((this.searchMode?.enabled || this.semanticSearchMode?.enabled) && this.aiAssistantMode?.enabled) {
|
|
41754
|
-
if (this.searchMode?.enabled && !this.semanticSearchMode?.enabled) {
|
|
41755
|
-
buttons.push({ text: this.messageFor('smartBoxSearchModePopupButton'), svgIcon: searchIcon, icon: 'search', selected: this.selectedView === 'search' });
|
|
41756
|
-
}
|
|
41757
|
-
else if (!this.searchMode?.enabled && this.semanticSearchMode?.enabled) {
|
|
41758
|
-
buttons.push({ text: this.messageFor('smartBoxSearchModePopupButton'), svgIcon: zoomSparkleIcon, icon: 'zoom-sparkle', selected: this.selectedView === 'semanticSearch', iconInnerCssClass: this.selectedView === 'semanticSearch' ? 'k-accent-icon' : '' });
|
|
41759
|
-
}
|
|
41760
|
-
else if (this.searchMode?.enabled && this.semanticSearchMode?.enabled) {
|
|
41761
|
-
buttons.push({ text: this.messageFor('smartBoxSearchModePopupButton'), svgIcon: searchIcon, icon: 'search', selected: this.selectedView === 'search' || this.selectedView === 'semanticSearch', iconInnerCssClass: this.selectedView === 'semanticSearch' ? 'k-accent-icon' : '' });
|
|
41762
|
-
}
|
|
41763
|
-
buttons.push({ text: this.messageFor('smartBoxAIAssistantModePopupButton'), svgIcon: sparklesIcon, icon: 'sparkles', selected: this.selectedView === 'aiAssistant', iconInnerCssClass: this.selectedView === 'aiAssistant' ? 'k-accent-icon' : '' });
|
|
41764
|
-
}
|
|
41765
|
-
return buttons;
|
|
41766
|
-
}
|
|
41533
|
+
segmentedControlButtons = [];
|
|
41534
|
+
segmentedControlSelectedIndex = 0;
|
|
41767
41535
|
get prefixIconName() {
|
|
41768
41536
|
switch (this.selectedView) {
|
|
41769
41537
|
case 'search':
|
|
@@ -41794,8 +41562,9 @@ class SmartBoxComponent {
|
|
|
41794
41562
|
formatDate(date, format) {
|
|
41795
41563
|
return this.intl.formatDate(date, format);
|
|
41796
41564
|
}
|
|
41797
|
-
onModeChange(
|
|
41565
|
+
onModeChange(index) {
|
|
41798
41566
|
this.clearTypingTimeout();
|
|
41567
|
+
const button = this.segmentedControlButtons[index];
|
|
41799
41568
|
let previousView;
|
|
41800
41569
|
if (this.searchListData.length > 0) {
|
|
41801
41570
|
previousView = this.searchListData.find(i => i.selected)?.text;
|
|
@@ -41820,6 +41589,7 @@ class SmartBoxComponent {
|
|
|
41820
41589
|
if (!previousView) {
|
|
41821
41590
|
this.updateSearchListData();
|
|
41822
41591
|
}
|
|
41592
|
+
this.updateSegmentedControlState();
|
|
41823
41593
|
this.modeChange.emit(this.selectedView);
|
|
41824
41594
|
if (this.selectedView === 'search') {
|
|
41825
41595
|
this.input.nativeElement.value = this.lastSearchValue || '';
|
|
@@ -41840,6 +41610,7 @@ class SmartBoxComponent {
|
|
|
41840
41610
|
else {
|
|
41841
41611
|
this.input.nativeElement.value = '';
|
|
41842
41612
|
}
|
|
41613
|
+
this.updateSegmentedControlState();
|
|
41843
41614
|
this.modeChange.emit(this.selectedView);
|
|
41844
41615
|
this.cdr.markForCheck();
|
|
41845
41616
|
}
|
|
@@ -42277,10 +42048,12 @@ class SmartBoxComponent {
|
|
|
42277
42048
|
const modeSettings = this[`${this._activeMode}Mode`];
|
|
42278
42049
|
if (modeSettings?.enabled) {
|
|
42279
42050
|
this.selectedView = this._activeMode;
|
|
42051
|
+
this.updateSegmentedControlState();
|
|
42280
42052
|
return;
|
|
42281
42053
|
}
|
|
42282
42054
|
}
|
|
42283
42055
|
if (this.selectedView && this[`${this.selectedView}Mode`]?.enabled) {
|
|
42056
|
+
this.updateSegmentedControlState();
|
|
42284
42057
|
return;
|
|
42285
42058
|
}
|
|
42286
42059
|
if (this.searchMode?.enabled) {
|
|
@@ -42296,6 +42069,36 @@ class SmartBoxComponent {
|
|
|
42296
42069
|
else {
|
|
42297
42070
|
this.selectedView = null;
|
|
42298
42071
|
}
|
|
42072
|
+
this.updateSegmentedControlState();
|
|
42073
|
+
}
|
|
42074
|
+
updateSegmentedControlState() {
|
|
42075
|
+
const buttons = [];
|
|
42076
|
+
if ((this.searchMode?.enabled || this.semanticSearchMode?.enabled) && this.aiAssistantMode?.enabled) {
|
|
42077
|
+
if (this.searchMode?.enabled) {
|
|
42078
|
+
buttons.push({
|
|
42079
|
+
text: this.messageFor('smartBoxSearchModePopupButton'),
|
|
42080
|
+
svgIcon: searchIcon,
|
|
42081
|
+
icon: 'search',
|
|
42082
|
+
iconInnerCssClass: this.selectedView === 'semanticSearch' ? 'k-accent-icon' : ''
|
|
42083
|
+
});
|
|
42084
|
+
}
|
|
42085
|
+
else {
|
|
42086
|
+
buttons.push({
|
|
42087
|
+
text: this.messageFor('smartBoxSearchModePopupButton'),
|
|
42088
|
+
svgIcon: zoomSparkleIcon,
|
|
42089
|
+
icon: 'zoom-sparkle',
|
|
42090
|
+
iconInnerCssClass: this.selectedView === 'semanticSearch' ? 'k-accent-icon' : ''
|
|
42091
|
+
});
|
|
42092
|
+
}
|
|
42093
|
+
buttons.push({
|
|
42094
|
+
text: this.messageFor('smartBoxAIAssistantModePopupButton'),
|
|
42095
|
+
svgIcon: sparklesIcon,
|
|
42096
|
+
icon: 'sparkles',
|
|
42097
|
+
iconInnerCssClass: this.selectedView === 'aiAssistant' ? 'k-accent-icon' : ''
|
|
42098
|
+
});
|
|
42099
|
+
}
|
|
42100
|
+
this.segmentedControlButtons = buttons;
|
|
42101
|
+
this.segmentedControlSelectedIndex = this.selectedView === 'aiAssistant' ? buttons.length - 1 : 0;
|
|
42299
42102
|
}
|
|
42300
42103
|
updateHistoryData() {
|
|
42301
42104
|
if (this.searchHistorySettings && this.searchHistory.length > this.searchHistorySettings.size) {
|
|
@@ -42424,8 +42227,10 @@ class SmartBoxComponent {
|
|
|
42424
42227
|
<ng-template #popupTemplate>
|
|
42425
42228
|
@if (segmentedControlButtons.length > 0) {
|
|
42426
42229
|
<kendo-segmented-control
|
|
42427
|
-
[
|
|
42428
|
-
|
|
42230
|
+
[items]="segmentedControlButtons"
|
|
42231
|
+
[selected]="segmentedControlSelectedIndex"
|
|
42232
|
+
layoutMode="stretch"
|
|
42233
|
+
(selectedChange)="onModeChange($event)"
|
|
42429
42234
|
size="small">
|
|
42430
42235
|
</kendo-segmented-control>
|
|
42431
42236
|
}
|
|
@@ -42597,14 +42402,14 @@ class SmartBoxComponent {
|
|
|
42597
42402
|
</div>
|
|
42598
42403
|
</div>
|
|
42599
42404
|
</ng-template>
|
|
42600
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
42405
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: SpeechToTextButtonComponent, selector: "button[kendoSpeechToTextButton]", inputs: ["disabled", "size", "rounded", "fillMode", "themeColor", "integrationMode", "lang", "continuous", "interimResults", "maxAlternatives"], outputs: ["start", "end", "result", "error", "click"], exportAs: ["kendoSpeechToTextButton"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: SegmentedControlComponent, selector: "kendo-segmented-control", inputs: ["items", "layoutMode", "size", "selected"], outputs: ["selectedChange"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
42601
42406
|
}
|
|
42602
42407
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SmartBoxComponent, decorators: [{
|
|
42603
42408
|
type: Component,
|
|
42604
42409
|
args: [{
|
|
42605
42410
|
selector: 'kendo-smartbox',
|
|
42606
42411
|
standalone: true,
|
|
42607
|
-
imports: [
|
|
42412
|
+
imports: [EventsOutsideAngularDirective, IconWrapperComponent, SpeechToTextButtonComponent, ButtonComponent, SegmentedControlComponent, TemplateContextDirective],
|
|
42608
42413
|
providers: [DataService, SelectionService$1, NavigationService$1, DisabledItemsService],
|
|
42609
42414
|
template: `
|
|
42610
42415
|
<span #innerWrapper
|
|
@@ -42698,8 +42503,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
42698
42503
|
<ng-template #popupTemplate>
|
|
42699
42504
|
@if (segmentedControlButtons.length > 0) {
|
|
42700
42505
|
<kendo-segmented-control
|
|
42701
|
-
[
|
|
42702
|
-
|
|
42506
|
+
[items]="segmentedControlButtons"
|
|
42507
|
+
[selected]="segmentedControlSelectedIndex"
|
|
42508
|
+
layoutMode="stretch"
|
|
42509
|
+
(selectedChange)="onModeChange($event)"
|
|
42703
42510
|
size="small">
|
|
42704
42511
|
</kendo-segmented-control>
|
|
42705
42512
|
}
|
|
@@ -43699,5 +43506,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
43699
43506
|
* Generated bundle index. Do not edit.
|
|
43700
43507
|
*/
|
|
43701
43508
|
|
|
43702
|
-
export { AIAssistantToolbarDirective, AdaptiveGridService, AddCommandDirective, AddCommandToolbarDirective, AfterEqFilterOperatorComponent, AfterFilterOperatorComponent, AutoCompleteFilterCellComponent, BaseFilterCellComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, BooleanFilterCellComponent, BooleanFilterComponent, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective,
|
|
43509
|
+
export { AIAssistantToolbarDirective, AdaptiveGridService, AddCommandDirective, AddCommandToolbarDirective, AfterEqFilterOperatorComponent, AfterFilterOperatorComponent, AutoCompleteFilterCellComponent, BaseFilterCellComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, BooleanFilterCellComponent, BooleanFilterComponent, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective, CELL_CONTEXT, CSVCommandDirective, CSVCommandToolbarDirective, CSVComponent, CSVExportEvent, CSVModule, CSVService, CancelCommandDirective, CancelCommandToolbarDirective, CellCloseEvent, CellComponent, CellLoadingTemplateDirective, CellSelectionAggregateService, CellSelectionService, CellTemplateDirective, ChangeNotificationService, CheckboxColumnComponent, ColGroupComponent, ColumnBase, ColumnChooserComponent, ColumnChooserToolbarDirective, ColumnComponent, ColumnGroupComponent, ColumnHandleDirective, ColumnInfoService, ColumnListComponent, ColumnLockedChangeEvent, ColumnMenuAutoSizeAllColumnsComponent, ColumnMenuAutoSizeColumnComponent, ColumnMenuChooserComponent, ColumnMenuComponent, ColumnMenuContainerComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuItemDirective, ColumnMenuLockComponent, ColumnMenuPositionComponent, ColumnMenuService, ColumnMenuSortComponent, ColumnMenuStickComponent, ColumnMenuTemplateDirective, ColumnReorderEvent, ColumnReorderService, ColumnResizingService, ColumnStickyChangeEvent, ColumnVisibilityChangeEvent, ColumnsContainer, CommandColumnComponent, ContainsFilterOperatorComponent, ContextService, CustomMessagesComponent, DEFAULT_AI_REQUEST_OPTIONS, DEFAULT_SCROLLER_FACTORY, DataBindingDirective, DateFilterCellComponent, DateFilterComponent, DateFilterMenuComponent, DateFilterMenuInputComponent, DetailCollapseEvent, DetailExpandEvent, DetailTemplateDirective, DetailsService, DoesNotContainFilterOperatorComponent, DomEventsService, DragAndDropService, DragHintService, DropCueService, EditCommandDirective, EditCommandToolbarDirective, EditService as EditServiceClass, EditTemplateDirective, EditingDirectiveBase, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, ExcelCommandDirective, ExcelCommandToolbarDirective, ExcelComponent, ExcelExportEvent, ExcelModule, ExcelService, ExpandDetailsDirective, ExpandGroupDirective, ExternalEditingDirective, FieldAccessorPipe, FilterCellComponent, FilterCellHostDirective, FilterCellOperatorsComponent, FilterCellTemplateDirective, FilterCellWrapperComponent, FilterCommandToolbarDirective, FilterInputDirective, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuDropDownListDirective, FilterMenuHostDirective, FilterMenuInputWrapperComponent, FilterMenuTemplateDirective, FilterOperatorBase, FilterRowComponent, FilterService, FocusRoot, FocusableDirective, FooterComponent, FooterTemplateDirective, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, GridAIAssistantResponseErrorEvent, GridAIAssistantResponseSuccessEvent, GridClipboardDirective, GridComponent, GridModule, GridSmartBoxHistoryItemTemplateDirective, GridSmartBoxPromptSuggestionTemplateDirective, GridSmartBoxResponseErrorEvent, GridSmartBoxResponseSuccessEvent, GridSmartBoxSearchEvent, GridSpacerComponent, GridTableDirective, GridToolbarFocusableDirective, GridToolbarNavigationService, GroupCommandToolbarDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderComponent, GroupHeaderTemplateDirective, GroupInfoService, GroupPanelComponent, GroupsService, HeaderComponent, HeaderTemplateDirective, HighlightDirective, IdService, InCellEditingDirective, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, KENDO_GRID, KENDO_GRID_BODY_EXPORTS, KENDO_GRID_COLUMN_DRAGANDDROP, KENDO_GRID_COLUMN_MENU_DECLARATIONS, KENDO_GRID_COLUMN_MENU_EXPORTS, KENDO_GRID_CSV_EXPORT, KENDO_GRID_DECLARATIONS, KENDO_GRID_EXCEL_EXPORT, KENDO_GRID_EXPORTS, KENDO_GRID_FILTER_MENU, KENDO_GRID_FILTER_MENU_EXPORTS, KENDO_GRID_FILTER_OPERATORS, KENDO_GRID_FILTER_ROW, KENDO_GRID_FILTER_ROW_EXPORTS, KENDO_GRID_FILTER_SHARED, KENDO_GRID_FOOTER_EXPORTS, KENDO_GRID_GROUP_EXPORTS, KENDO_GRID_HEADER_EXPORTS, KENDO_GRID_PDF_EXPORT, KENDO_GRID_SHARED, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, ListComponent, LoadingComponent, LoadingTemplateDirective, LocalDataChangesService, LogicalCellDirective, LogicalRowDirective, MenuTabbingService, MultiCheckboxFilterComponent, NavigationService, NoRecordsTemplateDirective, NotEqualFilterOperatorComponent, NumericFilterCellComponent, NumericFilterComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, PDFCommandDirective, PDFCommandToolbarDirective, PDFComponent, PDFMarginComponent, PDFModule, PDFService, PDFTemplateDirective, PopupCloseEvent, ReactiveEditingDirective, RedoCommandToolbarDirective, RemoveCommandDirective, RemoveCommandToolbarDirective, ResizableContainerDirective, ResizeService, ResponsiveService, RowDragHandleTemplateDirective, RowDragHintTemplateDirective, RowEditingDirectiveBase, RowReorderColumnComponent, RowReorderService, SaveCommandDirective, SaveCommandToolbarDirective, ScrollRequestService, ScrollSyncService, SelectAllCheckboxDirective, SelectAllToolbarToolComponent, SelectionCheckboxDirective, SelectionDirective, SelectionService, SinglePopupService, SizingOptionsService, Skip, SmartBoxToolbarToolComponent, SortCommandToolbarDirective, SortService, SpanColumnComponent, StartsWithFilterOperatorComponent, StatusBarTemplateDirective, StringFilterCellComponent, StringFilterComponent, StringFilterMenuComponent, StringFilterMenuInputComponent, SuspendService, TableBodyComponent, TableDirective, TemplateEditingDirective, ToolbarComponent, ToolbarTemplateDirective, UndoCommandToolbarDirective, UndoRedoDirective, UndoRedoEvent, defaultTrackBy, hasFilterMenu, hasFilterRow, isFilterable };
|
|
43703
43510
|
|
package/grid.component.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import { DetailTemplateDirective } from './rendering/details/detail-template.dir
|
|
|
13
13
|
import { ScrollMode } from './scrolling/scrollmode';
|
|
14
14
|
import { SortSettings } from './columns/sort-settings';
|
|
15
15
|
import { PagerSettings } from './common/pager-settings';
|
|
16
|
-
import {
|
|
16
|
+
import { ScrollbarService } from '@progress/kendo-angular-common';
|
|
17
17
|
import { GridDataResult, DataCollection } from './data/data.collection';
|
|
18
18
|
import { SelectionService } from './selection/selection.service';
|
|
19
19
|
import { EditService } from './editing/edit.service';
|
|
@@ -761,7 +761,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
761
761
|
private rowReorderSubscription;
|
|
762
762
|
private rtl;
|
|
763
763
|
private _rowSticky;
|
|
764
|
-
constructor(supportService:
|
|
764
|
+
constructor(supportService: ScrollbarService, selectionService: SelectionService, cellSelectionService: CellSelectionService, wrapper: ElementRef, groupInfoService: GroupInfoService, groupsService: GroupsService, changeNotification: ChangeNotificationService, detailsService: DetailsService, editService: EditService, filterService: FilterService, pdfService: PDFService, responsiveService: ResponsiveService, renderer: Renderer2, excelService: ExcelService, csvService: CSVService, ngZone: NgZone, scrollSyncService: ScrollSyncService, domEvents: DomEventsService, columnResizingService: ColumnResizingService, changeDetectorRef: ChangeDetectorRef, columnReorderService: ColumnReorderService, columnInfoService: ColumnInfoService, navigationService: NavigationService, sortService: SortService, scrollRequestService: ScrollRequestService, localization: LocalizationService, ctx: ContextService, sizingService: SizingOptionsService, adaptiveGridService: AdaptiveGridService, rowReorderService: RowReorderService, dataMappingService: DataMappingService, aiRequestResponseService: GridAIRequestResponseService, idService: IdService, searchService: SearchService);
|
|
765
765
|
/**
|
|
766
766
|
* Expands the master row at the specified data row index ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/master-detail)).
|
|
767
767
|
*
|
package/index.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ export { StringFilterComponent } from './filtering/string-filter.component';
|
|
|
51
51
|
export { MultiCheckboxFilterComponent } from './filtering/multicheckbox-filter.component';
|
|
52
52
|
export { GroupInfoService } from './grouping/group-info.service';
|
|
53
53
|
export { GroupsService } from './grouping/groups.service';
|
|
54
|
-
export { BrowserSupportService } from '
|
|
54
|
+
export { ScrollbarService, BrowserSupportService } from '@progress/kendo-angular-common';
|
|
55
55
|
export { ResizeService } from './layout/resize.service';
|
|
56
56
|
export { ResponsiveService } from './layout/responsive.service';
|
|
57
57
|
export { FocusRoot } from './navigation/focus-root';
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "23.3.0
|
|
10
|
+
"publishDate": 1775133388,
|
|
11
|
+
"version": "23.3.0",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-grid",
|
|
3
|
-
"version": "23.3.0
|
|
3
|
+
"version": "23.3.0",
|
|
4
4
|
"description": "Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"package": {
|
|
74
74
|
"productName": "Kendo UI for Angular",
|
|
75
75
|
"productCode": "KENDOUIANGULAR",
|
|
76
|
-
"publishDate":
|
|
76
|
+
"publishDate": 1775133388,
|
|
77
77
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
78
78
|
}
|
|
79
79
|
},
|
|
@@ -86,32 +86,32 @@
|
|
|
86
86
|
"@progress/kendo-data-query": "^1.7.3",
|
|
87
87
|
"@progress/kendo-drawing": "^1.24.1",
|
|
88
88
|
"@progress/kendo-licensing": "^1.10.0",
|
|
89
|
-
"@progress/kendo-angular-buttons": "23.3.0
|
|
90
|
-
"@progress/kendo-angular-common": "23.3.0
|
|
91
|
-
"@progress/kendo-angular-dateinputs": "23.3.0
|
|
92
|
-
"@progress/kendo-angular-layout": "23.3.0
|
|
93
|
-
"@progress/kendo-angular-navigation": "23.3.0
|
|
94
|
-
"@progress/kendo-angular-dropdowns": "23.3.0
|
|
95
|
-
"@progress/kendo-angular-excel-export": "23.3.0
|
|
96
|
-
"@progress/kendo-angular-icons": "23.3.0
|
|
97
|
-
"@progress/kendo-angular-indicators": "23.3.0
|
|
98
|
-
"@progress/kendo-angular-inputs": "23.3.0
|
|
99
|
-
"@progress/kendo-angular-conversational-ui": "23.3.0
|
|
100
|
-
"@progress/kendo-angular-intl": "23.3.0
|
|
101
|
-
"@progress/kendo-angular-l10n": "23.3.0
|
|
102
|
-
"@progress/kendo-angular-label": "23.3.0
|
|
103
|
-
"@progress/kendo-angular-menu": "23.3.0
|
|
104
|
-
"@progress/kendo-angular-pager": "23.3.0
|
|
105
|
-
"@progress/kendo-angular-pdf-export": "23.3.0
|
|
106
|
-
"@progress/kendo-angular-popup": "23.3.0
|
|
107
|
-
"@progress/kendo-angular-toolbar": "23.3.0
|
|
108
|
-
"@progress/kendo-angular-upload": "23.3.0
|
|
109
|
-
"@progress/kendo-angular-utils": "23.3.0
|
|
89
|
+
"@progress/kendo-angular-buttons": "23.3.0",
|
|
90
|
+
"@progress/kendo-angular-common": "23.3.0",
|
|
91
|
+
"@progress/kendo-angular-dateinputs": "23.3.0",
|
|
92
|
+
"@progress/kendo-angular-layout": "23.3.0",
|
|
93
|
+
"@progress/kendo-angular-navigation": "23.3.0",
|
|
94
|
+
"@progress/kendo-angular-dropdowns": "23.3.0",
|
|
95
|
+
"@progress/kendo-angular-excel-export": "23.3.0",
|
|
96
|
+
"@progress/kendo-angular-icons": "23.3.0",
|
|
97
|
+
"@progress/kendo-angular-indicators": "23.3.0",
|
|
98
|
+
"@progress/kendo-angular-inputs": "23.3.0",
|
|
99
|
+
"@progress/kendo-angular-conversational-ui": "23.3.0",
|
|
100
|
+
"@progress/kendo-angular-intl": "23.3.0",
|
|
101
|
+
"@progress/kendo-angular-l10n": "23.3.0",
|
|
102
|
+
"@progress/kendo-angular-label": "23.3.0",
|
|
103
|
+
"@progress/kendo-angular-menu": "23.3.0",
|
|
104
|
+
"@progress/kendo-angular-pager": "23.3.0",
|
|
105
|
+
"@progress/kendo-angular-pdf-export": "23.3.0",
|
|
106
|
+
"@progress/kendo-angular-popup": "23.3.0",
|
|
107
|
+
"@progress/kendo-angular-toolbar": "23.3.0",
|
|
108
|
+
"@progress/kendo-angular-upload": "23.3.0",
|
|
109
|
+
"@progress/kendo-angular-utils": "23.3.0",
|
|
110
110
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
111
111
|
},
|
|
112
112
|
"dependencies": {
|
|
113
113
|
"tslib": "^2.3.1",
|
|
114
|
-
"@progress/kendo-angular-schematics": "23.3.0
|
|
114
|
+
"@progress/kendo-angular-schematics": "23.3.0",
|
|
115
115
|
"@progress/kendo-common": "^1.0.1",
|
|
116
116
|
"@progress/kendo-file-saver": "^1.0.0",
|
|
117
117
|
"@progress/kendo-csv": "^1.0.0"
|
|
@@ -21,7 +21,7 @@ import { RowClassFn, RowStickyFn } from './common/row-class';
|
|
|
21
21
|
import { ScrollSyncService } from "../scrolling/scroll-sync.service";
|
|
22
22
|
import { ResizeService } from "../layout/resize.service";
|
|
23
23
|
import { ResizeSensorComponent } from "@progress/kendo-angular-common";
|
|
24
|
-
import {
|
|
24
|
+
import { ScrollbarService } from '@progress/kendo-angular-common';
|
|
25
25
|
import { SelectableSettings } from '../selection/types';
|
|
26
26
|
import { EditService } from '../editing/edit.service';
|
|
27
27
|
import { NavigationService } from '../navigation/navigation.service';
|
|
@@ -128,7 +128,7 @@ export declare class ListComponent implements OnInit, OnDestroy, AfterViewInit,
|
|
|
128
128
|
private minRowHeight;
|
|
129
129
|
private handleSkipOnData;
|
|
130
130
|
private scrollToIndex;
|
|
131
|
-
constructor(scrollerFactory: any, detailsService: DetailsService, changeNotification: ChangeNotificationService, suspendService: SuspendService, groupsService: GroupsService, ngZone: NgZone, renderer: Renderer2, scrollSyncService: ScrollSyncService, resizeService: ResizeService, editService: EditService, supportService:
|
|
131
|
+
constructor(scrollerFactory: any, detailsService: DetailsService, changeNotification: ChangeNotificationService, suspendService: SuspendService, groupsService: GroupsService, ngZone: NgZone, renderer: Renderer2, scrollSyncService: ScrollSyncService, resizeService: ResizeService, editService: EditService, supportService: ScrollbarService, navigationService: NavigationService, scrollRequestService: ScrollRequestService, ctx: ContextService, columnResizingService: ColumnResizingService, changeDetector: ChangeDetectorRef, pdfService: PDFService, columnInfo: ColumnInfoService, dataMappingService: DataMappingService);
|
|
132
132
|
ngOnInit(): void;
|
|
133
133
|
ngOnChanges(changes: {
|
|
134
134
|
[propertyName: string]: SimpleChange;
|
|
@@ -6,11 +6,10 @@ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnC
|
|
|
6
6
|
import { HttpClient } from '@angular/common/http';
|
|
7
7
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
8
8
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
9
|
-
import { SpeechToTextButtonSettings } from "@progress/kendo-angular-buttons";
|
|
9
|
+
import { SpeechToTextButtonSettings, SegmentedItemSettings } from "@progress/kendo-angular-buttons";
|
|
10
10
|
import { IntlService } from '@progress/kendo-angular-intl';
|
|
11
11
|
import { HistoryItem, SmartBoxAIAssistantSettings, SmartBoxHistorySettings, SmartBoxRequestEvent, SmartBoxResponseErrorEvent, SmartBoxResponseSuccessEvent, SmartBoxSearchEvent, SmartBoxSearchSettings, SmartBoxSemanticSearchEvent, SmartBoxSemanticSearchSettings, SmartBoxSize } from './models';
|
|
12
12
|
import { GridSmartBoxMode } from '../models';
|
|
13
|
-
import { SegmentedButtonSettings } from "../segmented-control/models";
|
|
14
13
|
import { ContextService } from '../../../../../common/provider.service';
|
|
15
14
|
import { GridAIRequestResponseService } from '../../ai-assistant/ai-request-response.service';
|
|
16
15
|
import { GridSmartBoxPromptSuggestionTemplateDirective } from '../smartbox-suggestion.template';
|
|
@@ -94,12 +93,13 @@ export declare class SmartBoxComponent implements AfterViewInit, OnChanges, OnDe
|
|
|
94
93
|
aiAssistantHistory: HistoryItem[];
|
|
95
94
|
searchHistory: HistoryItem[];
|
|
96
95
|
semanticSearchHistory: HistoryItem[];
|
|
97
|
-
|
|
96
|
+
segmentedControlButtons: SegmentedItemSettings[];
|
|
97
|
+
segmentedControlSelectedIndex: number;
|
|
98
98
|
get prefixIconName(): string;
|
|
99
99
|
get prefixSVGIcon(): SVGIcon;
|
|
100
100
|
messageFor(message: string): string;
|
|
101
101
|
formatDate(date: Date, format: string): string;
|
|
102
|
-
onModeChange(
|
|
102
|
+
onModeChange(index: number): void;
|
|
103
103
|
onSearchItemClick(item: any): void;
|
|
104
104
|
onListItemClick(item: string): void;
|
|
105
105
|
handleInput: (_event: any) => void;
|
|
@@ -147,6 +147,7 @@ export declare class SmartBoxComponent implements AfterViewInit, OnChanges, OnDe
|
|
|
147
147
|
private updateModeSettingsFromSharedInputs;
|
|
148
148
|
private updateSearchListData;
|
|
149
149
|
private updateSelectedView;
|
|
150
|
+
private updateSegmentedControlState;
|
|
150
151
|
private updateHistoryData;
|
|
151
152
|
private processResponse;
|
|
152
153
|
private handleError;
|
|
@@ -9,19 +9,19 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'GridModule', package: 'grid', peerDependencies: {
|
|
11
11
|
// peer deps of the dropdowns
|
|
12
|
-
'@progress/kendo-angular-treeview': '23.3.0
|
|
13
|
-
'@progress/kendo-angular-navigation': '23.3.0
|
|
12
|
+
'@progress/kendo-angular-treeview': '23.3.0',
|
|
13
|
+
'@progress/kendo-angular-navigation': '23.3.0',
|
|
14
14
|
// peer dependency of kendo-angular-inputs
|
|
15
|
-
'@progress/kendo-angular-dialog': '23.3.0
|
|
15
|
+
'@progress/kendo-angular-dialog': '23.3.0',
|
|
16
16
|
// peer dependency of kendo-angular-icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
18
18
|
// peer dependency of kendo-angular-layout
|
|
19
|
-
'@progress/kendo-angular-progressbar': '23.3.0
|
|
19
|
+
'@progress/kendo-angular-progressbar': '23.3.0',
|
|
20
20
|
// transitive peer dependencies from toolbar
|
|
21
|
-
'@progress/kendo-angular-indicators': '23.3.0
|
|
21
|
+
'@progress/kendo-angular-indicators': '23.3.0',
|
|
22
22
|
// transitive peer dependencies from conversational-ui
|
|
23
|
-
'@progress/kendo-angular-menu': '23.3.0
|
|
24
|
-
'@progress/kendo-angular-upload': '23.3.0
|
|
23
|
+
'@progress/kendo-angular-menu': '23.3.0',
|
|
24
|
+
'@progress/kendo-angular-upload': '23.3.0'
|
|
25
25
|
} });
|
|
26
26
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
27
27
|
}
|
|
@@ -65,6 +65,7 @@ export declare class CellSelectionService implements OnDestroy {
|
|
|
65
65
|
get options(): SelectableSettings;
|
|
66
66
|
ngOnDestroy(): void;
|
|
67
67
|
addSubscriptions(): void;
|
|
68
|
+
setSelectionStartColumn(index: number): void;
|
|
68
69
|
private getIterator;
|
|
69
70
|
private removeSubscriptions;
|
|
70
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<CellSelectionService, never>;
|
|
@@ -26,13 +26,15 @@ export declare class Selection {
|
|
|
26
26
|
*
|
|
27
27
|
* @default 0
|
|
28
28
|
*/
|
|
29
|
-
rangeSelectionStartRow: RowArgs;
|
|
29
|
+
set rangeSelectionStartRow(value: RowArgs);
|
|
30
|
+
get rangeSelectionStartRow(): RowArgs;
|
|
30
31
|
/**
|
|
31
32
|
* Sets the starting column index for `Shift`+click range selection when cell selection is on.
|
|
32
33
|
*
|
|
33
34
|
* @default 0
|
|
34
35
|
*/
|
|
35
|
-
rangeSelectionStartColumnIndex: number;
|
|
36
|
+
set rangeSelectionStartColumnIndex(value: number);
|
|
37
|
+
get rangeSelectionStartColumnIndex(): number;
|
|
36
38
|
/**
|
|
37
39
|
* Sets the item key to store in `selectedKeys`.
|
|
38
40
|
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/persisting#using-data-item-field).
|
|
@@ -51,6 +53,8 @@ export declare class Selection {
|
|
|
51
53
|
selectedKeysChange: EventEmitter<any[]>;
|
|
52
54
|
rowSelectionState: Set<any>;
|
|
53
55
|
cellSelectionState: PairSet;
|
|
56
|
+
private _rangeSelectionStartRow;
|
|
57
|
+
private _rangeSelectionStartColumnIndex;
|
|
54
58
|
/**
|
|
55
59
|
* @hidden
|
|
56
60
|
*/
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
6
6
|
import { SelectableSettings, SelectionEvent } from './types';
|
|
7
7
|
import { RowSelectableFn, RowSelectedFn } from '../rendering/common/row-class';
|
|
8
|
+
import { RowArgs } from '../rendering/common/row-args';
|
|
8
9
|
import { DomEventsService } from '../common/dom-events.service';
|
|
9
10
|
import { LocalDataChangesService } from '../editing/local-data-changes.service';
|
|
10
11
|
import { NavigationService } from '../navigation/navigation.service';
|
|
@@ -62,6 +63,7 @@ export declare class SelectionService implements OnDestroy {
|
|
|
62
63
|
addAllTo(item: any, ctrlKey: boolean, preserveSelection?: boolean, shiftKey?: boolean): any;
|
|
63
64
|
updateAll(selectAllChecked: boolean): void;
|
|
64
65
|
selectRange(startIndex: number, endIndex: number, preserveSelection: boolean, existingSelections?: any[]): any;
|
|
66
|
+
setSelectionStart(row: RowArgs): void;
|
|
65
67
|
get selectAllState(): any;
|
|
66
68
|
get selected(): number[];
|
|
67
69
|
get options(): SelectableSettings;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgZone, ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
* move to kendo-common
|
|
10
|
-
*/
|
|
11
|
-
export declare class BrowserSupportService implements OnDestroy {
|
|
12
|
-
private zone;
|
|
13
|
-
private changeDetector;
|
|
14
|
-
changes: EventEmitter<any>;
|
|
15
|
-
private subscriptions;
|
|
16
|
-
constructor(zone: NgZone, changeDetector: ChangeDetectorRef);
|
|
17
|
-
ngOnDestroy(): void;
|
|
18
|
-
get scrollbarWidth(): number;
|
|
19
|
-
get rtlScrollLeft(): number;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BrowserSupportService, never>;
|
|
21
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BrowserSupportService>;
|
|
22
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { SVGIcon } from "@progress/kendo-svg-icons";
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*
|
|
9
|
-
* Defines the settings for a Button inside the SegmentedControlComponent.
|
|
10
|
-
*/
|
|
11
|
-
export interface SegmentedButtonSettings {
|
|
12
|
-
/**
|
|
13
|
-
* Sets the name of an existing font icon in the Kendo UI theme.
|
|
14
|
-
*/
|
|
15
|
-
icon?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Sets an SVG icon to display inside the Button.
|
|
18
|
-
*/
|
|
19
|
-
svgIcon?: SVGIcon;
|
|
20
|
-
/**
|
|
21
|
-
* Specifies the text content of the Button.
|
|
22
|
-
*/
|
|
23
|
-
text?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Specifies whether the Button is disabled.
|
|
26
|
-
*/
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Specifies whether the Button is selected.
|
|
30
|
-
*/
|
|
31
|
-
selected?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Sets an additional class on the internal Icon component of the button.
|
|
34
|
-
*/
|
|
35
|
-
iconInnerCssClass?: string;
|
|
36
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, Renderer2 } from '@angular/core';
|
|
6
|
-
import { ButtonSize } from '@progress/kendo-angular-buttons';
|
|
7
|
-
import { SegmentedButtonSettings } from './models';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class SegmentedControlComponent implements AfterViewInit {
|
|
13
|
-
private renderer;
|
|
14
|
-
private wrapper;
|
|
15
|
-
private cdr;
|
|
16
|
-
private zone;
|
|
17
|
-
hostClasses: boolean;
|
|
18
|
-
hostRole: string;
|
|
19
|
-
thumb: ElementRef;
|
|
20
|
-
/**
|
|
21
|
-
* Specifies the collection of buttons that will be rendered inside the SegmentedControlComponent.
|
|
22
|
-
*/
|
|
23
|
-
buttons: Array<SegmentedButtonSettings>;
|
|
24
|
-
/**
|
|
25
|
-
* Sets the padding of the control.
|
|
26
|
-
*
|
|
27
|
-
* @default undefined
|
|
28
|
-
*/
|
|
29
|
-
set size(size: ButtonSize);
|
|
30
|
-
get size(): ButtonSize;
|
|
31
|
-
/**
|
|
32
|
-
* Fires when a button is clicked.
|
|
33
|
-
*/
|
|
34
|
-
buttonClick: EventEmitter<SegmentedButtonSettings>;
|
|
35
|
-
ngAfterViewInit(): void;
|
|
36
|
-
handleClick(button: SegmentedButtonSettings, index: number): void;
|
|
37
|
-
getInnerIconClass(button: SegmentedButtonSettings): string;
|
|
38
|
-
constructor(renderer: Renderer2, wrapper: ElementRef, cdr: ChangeDetectorRef, zone: NgZone);
|
|
39
|
-
showSelectionIndicator(): void;
|
|
40
|
-
selectedButtonIndex: number;
|
|
41
|
-
private _size;
|
|
42
|
-
private handleSizeClass;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedControlComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentedControlComponent, "kendo-segmented-control", never, { "buttons": { "alias": "buttons"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "buttonClick": "buttonClick"; }, never, never, true, never>;
|
|
45
|
-
}
|