@revolist/revogrid 4.0.30 → 4.0.32
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/dist/cjs/{base.plugin-991dda26.js → base.plugin-75fc9e81.js} +1 -2
- package/dist/cjs/base.plugin-75fc9e81.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/revo-grid.cjs.entry.js +1 -1
- package/dist/cjs/revo-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/revogr-attribution_6.cjs.entry.js +1 -1
- package/dist/cjs/revogr-attribution_6.cjs.entry.js.map +1 -1
- package/dist/cjs/revogr-clipboard_3.cjs.entry.js +1 -1
- package/dist/cjs/revogr-clipboard_3.cjs.entry.js.map +1 -1
- package/dist/cjs/revogr-data_4.cjs.entry.js.map +1 -1
- package/dist/collection/components/editors/text-editor.js +1 -1
- package/dist/collection/components/editors/text-editor.js.map +1 -1
- package/dist/collection/components/overlay/revogr-overlay-selection.js +1 -1
- package/dist/collection/components/overlay/revogr-overlay-selection.js.map +1 -1
- package/dist/collection/components/vnode/vnode.utils.js.map +1 -1
- package/dist/collection/plugins/groupingRow/grouping.row.plugin.js.map +1 -1
- package/dist/collection/store/dimension/dimension.store.js +0 -1
- package/dist/collection/store/dimension/dimension.store.js.map +1 -1
- package/dist/esm/{base.plugin-454940e3.js → base.plugin-e6e2bac2.js} +1 -2
- package/dist/esm/base.plugin-e6e2bac2.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/revo-grid.entry.js +1 -1
- package/dist/esm/revo-grid.entry.js.map +1 -1
- package/dist/esm/revogr-attribution_6.entry.js +1 -1
- package/dist/esm/revogr-attribution_6.entry.js.map +1 -1
- package/dist/esm/revogr-clipboard_3.entry.js +1 -1
- package/dist/esm/revogr-clipboard_3.entry.js.map +1 -1
- package/dist/esm/revogr-data_4.entry.js.map +1 -1
- package/dist/revo-grid/base.plugin-e6e2bac2.js +5 -0
- package/dist/revo-grid/base.plugin-e6e2bac2.js.map +1 -0
- package/dist/revo-grid/index.esm.js +1 -1
- package/dist/revo-grid/revo-grid.entry.js +1 -1
- package/dist/revo-grid/revo-grid.entry.js.map +1 -1
- package/dist/revo-grid/revogr-attribution_6.entry.js +1 -1
- package/dist/revo-grid/revogr-attribution_6.entry.js.map +1 -1
- package/dist/revo-grid/revogr-clipboard_3.entry.js +1 -1
- package/dist/revo-grid/revogr-clipboard_3.entry.js.map +1 -1
- package/dist/revo-grid/revogr-data_4.entry.js.map +1 -1
- package/dist/types/components/editors/text-editor.d.ts +3 -3
- package/dist/types/components/overlay/revogr-overlay-selection.d.ts +2 -2
- package/dist/types/components/vnode/vnode.utils.d.ts +2 -1
- package/dist/types/plugins/groupingRow/grouping.row.plugin.d.ts +4 -2
- package/dist/types/store/dimension/dimension.store.d.ts +1 -13
- package/hydrate/index.js +2 -3
- package/hydrate/index.mjs +2 -3
- package/package.json +1 -1
- package/standalone/revo-grid.js +0 -1
- package/standalone/revo-grid.js.map +1 -1
- package/standalone/revogr-data2.js.map +1 -1
- package/standalone/revogr-edit2.js +1 -1
- package/standalone/revogr-edit2.js.map +1 -1
- package/standalone/revogr-overlay-selection2.js +1 -1
- package/standalone/revogr-overlay-selection2.js.map +1 -1
- package/dist/cjs/base.plugin-991dda26.js.map +0 -1
- package/dist/esm/base.plugin-454940e3.js.map +0 -1
- package/dist/revo-grid/base.plugin-454940e3.js +0 -5
- package/dist/revo-grid/base.plugin-454940e3.js.map +0 -1
|
@@ -3,7 +3,7 @@ import ColumnService from '../data/column.service';
|
|
|
3
3
|
import { DSourceState } from "../../store/index";
|
|
4
4
|
import { EventData } from './selection.utils';
|
|
5
5
|
import { Observable, SelectionStoreState, DimensionSettingsState, DataType, DimensionRows, ColumnRegular, DimensionCols, Cell, DragStartEvent } from '../../components';
|
|
6
|
-
import { MultiDimensionType } from "../../types/index";
|
|
6
|
+
import { EditCellStore, MultiDimensionType } from "../../types/index";
|
|
7
7
|
import { FocusRenderEvent, ApplyFocusEvent, AllDimensionType } from "../../types/index";
|
|
8
8
|
import { Editors, BeforeSaveDataDetails, BeforeEdit, RangeArea, TempRange, ChangedRange, BeforeRangeSaveDataDetails, SaveDataDetails } from "../../types/index";
|
|
9
9
|
/**
|
|
@@ -230,7 +230,7 @@ export declare class OverlaySelection {
|
|
|
230
230
|
* Verify if edit allowed.
|
|
231
231
|
*/
|
|
232
232
|
protected canEdit(): boolean;
|
|
233
|
-
get edited():
|
|
233
|
+
get edited(): EditCellStore;
|
|
234
234
|
/**
|
|
235
235
|
* Sets the focus on a cell and optionally edits a range.
|
|
236
236
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { VNode } from '../../stencil-public-runtime';
|
|
1
2
|
import { JSX } from '../../components';
|
|
2
3
|
/**
|
|
3
4
|
* Converts a VNode element into an HTML element and appends it to the specified parentHolder.
|
|
4
5
|
*/
|
|
5
6
|
export declare function convertVNodeToHTML(parentHolder: Element, redraw: JSX.VnodeHtml['redraw']): Promise<{
|
|
6
7
|
html: string;
|
|
7
|
-
vnodes:
|
|
8
|
+
vnodes: VNode[];
|
|
8
9
|
}>;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
+
import { DSourceState } from "../../store/index";
|
|
1
2
|
import { BasePlugin } from '../base.plugin';
|
|
2
3
|
import { GroupingOptions } from './grouping.row.types';
|
|
3
|
-
import { PluginProviders } from "../../types/index";
|
|
4
|
+
import { DataType, DimensionRows, PluginProviders } from "../../types/index";
|
|
5
|
+
import { Observable } from '../../utils/store.utils';
|
|
4
6
|
export default class GroupingRowPlugin extends BasePlugin {
|
|
5
7
|
protected revogrid: HTMLRevoGridElement;
|
|
6
8
|
protected providers: PluginProviders;
|
|
7
9
|
private options;
|
|
8
10
|
get hasProps(): number;
|
|
9
|
-
get store():
|
|
11
|
+
get store(): Observable<DSourceState<DataType, DimensionRows>>;
|
|
10
12
|
get rowItems(): number[];
|
|
11
13
|
get trimmed(): Record<any, any>;
|
|
12
14
|
constructor(revogrid: HTMLRevoGridElement, providers: PluginProviders);
|
|
@@ -15,17 +15,5 @@ export declare class DimensionStore {
|
|
|
15
15
|
* Generates new indexes based on sizes
|
|
16
16
|
* @param sizes - sizes to set
|
|
17
17
|
*/
|
|
18
|
-
setDimensionSize(sizes: ViewSettingSizeProp):
|
|
19
|
-
indexes: number[];
|
|
20
|
-
positionIndexes: number[];
|
|
21
|
-
positionIndexToItem: {
|
|
22
|
-
[x: number]: import("@type").PositionItem;
|
|
23
|
-
};
|
|
24
|
-
indexToItem: {
|
|
25
|
-
[index: number]: import("@type").PositionItem;
|
|
26
|
-
};
|
|
27
|
-
sizes: {
|
|
28
|
-
[x: string]: number;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
18
|
+
setDimensionSize(sizes: ViewSettingSizeProp): void;
|
|
31
19
|
}
|
package/hydrate/index.js
CHANGED
|
@@ -7537,7 +7537,6 @@ class DimensionStore {
|
|
|
7537
7537
|
setDimensionSize(sizes) {
|
|
7538
7538
|
const dimensionData = calculateDimensionData(this.store.get('originItemSize'), sizes);
|
|
7539
7539
|
setStore(this.store, dimensionData);
|
|
7540
|
-
return dimensionData;
|
|
7541
7540
|
}
|
|
7542
7541
|
}
|
|
7543
7542
|
|
|
@@ -9999,7 +9998,7 @@ class OverlaySelection {
|
|
|
9999
9998
|
nodes.push(hAsync("revogr-order-editor", { ref: e => (this.orderEditor = e), dataStore: this.dataStore, dimensionRow: this.dimensionRow, dimensionCol: this.dimensionCol, parent: this.element, onRowdragstartinit: e => this.rowDragStart(e) }));
|
|
10000
9999
|
}
|
|
10001
10000
|
}
|
|
10002
|
-
return (hAsync(Host, { key: '
|
|
10001
|
+
return (hAsync(Host, { key: '676c1ac41a3658f7c2cb93ada69fbf141a51c660', class: { mobile: this.isMobileDevice }, onDblClick: (e) => this.onElementDblClick(e), onMouseDown: (e) => this.onElementMouseDown(e), onTouchStart: (e) => this.onElementMouseDown(e, true) }, nodes, hAsync("slot", { key: '42f4e051d6f531bd92e22106ca0eb1808068e8d0', name: "data" })));
|
|
10003
10002
|
}
|
|
10004
10003
|
/**
|
|
10005
10004
|
* Executes the focus operation on the specified range of cells.
|
|
@@ -10266,7 +10265,7 @@ class TextEditor {
|
|
|
10266
10265
|
this.column = column;
|
|
10267
10266
|
this.saveCallback = saveCallback;
|
|
10268
10267
|
this.element = null;
|
|
10269
|
-
this.editCell =
|
|
10268
|
+
this.editCell = undefined;
|
|
10270
10269
|
}
|
|
10271
10270
|
/**
|
|
10272
10271
|
* Callback triggered on cell editor render
|
package/hydrate/index.mjs
CHANGED
|
@@ -7533,7 +7533,6 @@ class DimensionStore {
|
|
|
7533
7533
|
setDimensionSize(sizes) {
|
|
7534
7534
|
const dimensionData = calculateDimensionData(this.store.get('originItemSize'), sizes);
|
|
7535
7535
|
setStore(this.store, dimensionData);
|
|
7536
|
-
return dimensionData;
|
|
7537
7536
|
}
|
|
7538
7537
|
}
|
|
7539
7538
|
|
|
@@ -9995,7 +9994,7 @@ class OverlaySelection {
|
|
|
9995
9994
|
nodes.push(hAsync("revogr-order-editor", { ref: e => (this.orderEditor = e), dataStore: this.dataStore, dimensionRow: this.dimensionRow, dimensionCol: this.dimensionCol, parent: this.element, onRowdragstartinit: e => this.rowDragStart(e) }));
|
|
9996
9995
|
}
|
|
9997
9996
|
}
|
|
9998
|
-
return (hAsync(Host, { key: '
|
|
9997
|
+
return (hAsync(Host, { key: '676c1ac41a3658f7c2cb93ada69fbf141a51c660', class: { mobile: this.isMobileDevice }, onDblClick: (e) => this.onElementDblClick(e), onMouseDown: (e) => this.onElementMouseDown(e), onTouchStart: (e) => this.onElementMouseDown(e, true) }, nodes, hAsync("slot", { key: '42f4e051d6f531bd92e22106ca0eb1808068e8d0', name: "data" })));
|
|
9999
9998
|
}
|
|
10000
9999
|
/**
|
|
10001
10000
|
* Executes the focus operation on the specified range of cells.
|
|
@@ -10262,7 +10261,7 @@ class TextEditor {
|
|
|
10262
10261
|
this.column = column;
|
|
10263
10262
|
this.saveCallback = saveCallback;
|
|
10264
10263
|
this.element = null;
|
|
10265
|
-
this.editCell =
|
|
10264
|
+
this.editCell = undefined;
|
|
10266
10265
|
}
|
|
10267
10266
|
/**
|
|
10268
10267
|
* Callback triggered on cell editor render
|
package/package.json
CHANGED
package/standalone/revo-grid.js
CHANGED