@indigina/ui-kit 1.1.529 → 1.1.531
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/package.json
CHANGED
|
@@ -3325,17 +3325,12 @@ interface KitPDFOptions extends PDFOptions {
|
|
|
3325
3325
|
scale?: number;
|
|
3326
3326
|
paperSize?: PaperSize;
|
|
3327
3327
|
}
|
|
3328
|
-
interface KitGridDropIndicator {
|
|
3329
|
-
targetRowIndex: number;
|
|
3330
|
-
position: KitGridDropPosition;
|
|
3331
|
-
}
|
|
3332
3328
|
type KitGridRowClassArgs = RowClassArgs;
|
|
3333
3329
|
type KitResetState = ConstructorParameters<typeof StateReset>[0];
|
|
3334
3330
|
type KitGridProjectedColumn<T> = KitGridColumnComponent | KitGridCheckboxColumnComponent<T>;
|
|
3335
3331
|
|
|
3336
3332
|
declare class KitGridComponent<T> {
|
|
3337
3333
|
private readonly translateService;
|
|
3338
|
-
private readonly rowDropSwitchThresholdPx;
|
|
3339
3334
|
/**
|
|
3340
3335
|
* Sets the data of the grid. Allows user to implement data operations manually
|
|
3341
3336
|
*/
|
|
@@ -3435,7 +3430,6 @@ declare class KitGridComponent<T> {
|
|
|
3435
3430
|
readonly selectedKeys: ModelSignal<(T | T[keyof T])[]>;
|
|
3436
3431
|
readonly renderedData: WritableSignal<T[] | KitDataResult<T> | undefined>;
|
|
3437
3432
|
readonly renderedGridDataBinding: WritableSignal<T[] | undefined>;
|
|
3438
|
-
readonly dropIndicator: WritableSignal<KitGridDropIndicator | null>;
|
|
3439
3433
|
readonly selectByField: Signal<string | undefined>;
|
|
3440
3434
|
readonly forwardedColumnMarkers: WritableSignal<KitGridColumnMarker[]>;
|
|
3441
3435
|
readonly columnMarkers: Signal<KitGridProjectedColumn<T>[]>;
|
|
@@ -3446,6 +3440,9 @@ declare class KitGridComponent<T> {
|
|
|
3446
3440
|
readonly isHeaderCheckboxDisabled: Signal<boolean>;
|
|
3447
3441
|
readonly headerCheckboxState: Signal<SelectAllCheckboxState>;
|
|
3448
3442
|
expandedRows: T[];
|
|
3443
|
+
private readonly rowDropSwitchThresholdPx;
|
|
3444
|
+
private dragSourceIndex;
|
|
3445
|
+
private lastRealTimeDestinationIndex;
|
|
3449
3446
|
constructor();
|
|
3450
3447
|
onDataStateChange(event: KitGridDataStateChangeEvent): void;
|
|
3451
3448
|
onSortChange(event: KitSortDescriptor[]): void;
|
|
@@ -3464,12 +3461,14 @@ declare class KitGridComponent<T> {
|
|
|
3464
3461
|
dragData({ dragTarget }: {
|
|
3465
3462
|
dragTarget: HTMLElement;
|
|
3466
3463
|
}): number;
|
|
3467
|
-
onDrop(
|
|
3464
|
+
onDrop(): void;
|
|
3468
3465
|
onRowDragOver(event: DropTargetEvent): void;
|
|
3466
|
+
onDragRelease(): void;
|
|
3469
3467
|
getCssRowClass: (context: KitGridRowClassArgs) => Record<string, boolean>;
|
|
3470
3468
|
getPagerSettings(): boolean | PagerSettings;
|
|
3471
3469
|
saveAsPDF(): void;
|
|
3472
3470
|
saveAsExcel(): void;
|
|
3471
|
+
private notifyReorderedAndCleanup;
|
|
3473
3472
|
private filterOutHiddenKeys;
|
|
3474
3473
|
private getCurrentPageItems;
|
|
3475
3474
|
private getCurrentPageItemsFromCollection;
|
|
@@ -3481,7 +3480,8 @@ declare class KitGridComponent<T> {
|
|
|
3481
3480
|
private isValidDropIndex;
|
|
3482
3481
|
private calculateDestinationIndex;
|
|
3483
3482
|
private getRowKey;
|
|
3484
|
-
private
|
|
3483
|
+
private clearDragAndDrop;
|
|
3484
|
+
private performRealTimeReordering;
|
|
3485
3485
|
private updateGridData;
|
|
3486
3486
|
private syncReorderedCollection;
|
|
3487
3487
|
private cloneDataInput;
|