@revolist/revogrid 4.4.0-next.2 → 4.4.0-next.21
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/custom-element/columnService.js +1 -1
- package/custom-element/consts.js +2 -1
- package/custom-element/consts.js.map +1 -1
- package/custom-element/localScrollService.js +1 -1
- package/custom-element/localScrollService.js.map +1 -1
- package/custom-element/revo-grid.js +163 -97
- package/custom-element/revo-grid.js.map +1 -1
- package/custom-element/revogr-clipboard.js +24 -5
- package/custom-element/revogr-clipboard.js.map +1 -1
- package/custom-element/revogr-edit2.js +12 -6
- package/custom-element/revogr-edit2.js.map +1 -1
- package/custom-element/revogr-focus2.js +1 -1
- package/custom-element/revogr-focus2.js.map +1 -1
- package/custom-element/revogr-header2.js +25 -11
- package/custom-element/revogr-header2.js.map +1 -1
- package/custom-element/revogr-overlay-selection2.js +99 -32
- package/custom-element/revogr-overlay-selection2.js.map +1 -1
- package/custom-element/revogr-row-headers2.js +1 -2
- package/custom-element/revogr-row-headers2.js.map +1 -1
- package/custom-element/revogr-viewport-scroll2.js +39 -6
- package/custom-element/revogr-viewport-scroll2.js.map +1 -1
- package/dist/cjs/{debounce-525dd66c.js → debounce-f50730b6.js} +1 -38
- package/dist/cjs/debounce-f50730b6.js.map +1 -0
- package/dist/cjs/dispatcher-20520c70.js +21 -0
- package/dist/cjs/dispatcher-20520c70.js.map +1 -0
- package/dist/cjs/events-030618fc.js +459 -0
- package/dist/cjs/events-030618fc.js.map +1 -0
- package/dist/cjs/filter.button-6badec7a.js +44 -0
- package/dist/cjs/filter.button-6badec7a.js.map +1 -0
- package/dist/cjs/{index-aad39b7b.js → index-ee2ef5ae.js} +96 -36
- package/dist/cjs/index-ee2ef5ae.js.map +1 -0
- package/dist/cjs/index-effc94b9.js +3944 -0
- package/dist/cjs/index-effc94b9.js.map +1 -0
- package/dist/cjs/isString-3dde8d95.js +38 -0
- package/dist/cjs/isString-3dde8d95.js.map +1 -0
- package/dist/cjs/keyCodes.utils-d665ebed.js +271 -0
- package/dist/cjs/keyCodes.utils-d665ebed.js.map +1 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/localScrollService-a81823c5.js +403 -0
- package/dist/cjs/localScrollService-a81823c5.js.map +1 -0
- package/dist/cjs/revo-grid.cjs.entry.js +3858 -0
- package/dist/cjs/revo-grid.cjs.entry.js.map +1 -0
- package/dist/cjs/revo-grid.cjs.js +3 -3
- package/dist/cjs/revo-grid.cjs.js.map +1 -1
- package/dist/cjs/revogr-clipboard.cjs.entry.js +24 -6
- package/dist/cjs/revogr-clipboard.cjs.entry.js.map +1 -1
- package/dist/cjs/revogr-data_3.cjs.entry.js +1138 -0
- package/dist/cjs/revogr-data_3.cjs.entry.js.map +1 -0
- package/dist/cjs/revogr-edit_2.cjs.entry.js +325 -0
- package/dist/cjs/revogr-edit_2.cjs.entry.js.map +1 -0
- package/dist/cjs/revogr-filter-panel.cjs.entry.js +6 -5
- package/dist/cjs/revogr-filter-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/revogr-focus_5.cjs.entry.js +1231 -0
- package/dist/cjs/revogr-focus_5.cjs.entry.js.map +1 -0
- package/dist/cjs/{revo-grid_11.cjs.entry.js → viewport.helpers-70ccec8f.js} +13978 -25269
- package/dist/cjs/viewport.helpers-70ccec8f.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/clipboard/revogr-clipboard.d.ts +6 -2
- package/dist/collection/components/clipboard/revogr-clipboard.js +46 -5
- package/dist/collection/components/clipboard/revogr-clipboard.js.map +1 -1
- package/dist/collection/components/header/headerCellRenderer.d.ts +2 -1
- package/dist/collection/components/header/headerCellRenderer.js +1 -1
- package/dist/collection/components/header/headerCellRenderer.js.map +1 -1
- package/dist/collection/components/header/headerRenderer.d.ts +2 -2
- package/dist/collection/components/header/headerRenderer.js +1 -1
- package/dist/collection/components/header/headerRenderer.js.map +1 -1
- package/dist/collection/components/header/revogr-header.d.ts +15 -1
- package/dist/collection/components/header/revogr-header.js +34 -8
- package/dist/collection/components/header/revogr-header.js.map +1 -1
- package/dist/collection/components/overlay/autofill.service.d.ts +7 -3
- package/dist/collection/components/overlay/autofill.service.js +32 -12
- package/dist/collection/components/overlay/autofill.service.js.map +1 -1
- package/dist/collection/components/overlay/clipboard.service.d.ts +1 -1
- package/dist/collection/components/overlay/clipboard.service.js +2 -2
- package/dist/collection/components/overlay/clipboard.service.js.map +1 -1
- package/dist/collection/components/overlay/keyboard.service.js +2 -6
- package/dist/collection/components/overlay/keyboard.service.js.map +1 -1
- package/dist/collection/components/overlay/revogr-edit.d.ts +8 -0
- package/dist/collection/components/overlay/revogr-edit.js +34 -9
- package/dist/collection/components/overlay/revogr-edit.js.map +1 -1
- package/dist/collection/components/overlay/revogr-overlay-selection.d.ts +32 -10
- package/dist/collection/components/overlay/revogr-overlay-selection.js +80 -12
- package/dist/collection/components/overlay/revogr-overlay-selection.js.map +1 -1
- package/dist/collection/components/overlay/revogr-overlay-style.css +71 -4
- package/dist/collection/components/revoGrid/revo-grid.d.ts +15 -4
- package/dist/collection/components/revoGrid/revo-grid.js +60 -19
- package/dist/collection/components/revoGrid/revo-grid.js.map +1 -1
- package/dist/collection/components/revoGrid/viewport.scrolling.service.d.ts +6 -2
- package/dist/collection/components/revoGrid/viewport.scrolling.service.js +26 -4
- package/dist/collection/components/revoGrid/viewport.scrolling.service.js.map +1 -1
- package/dist/collection/components/revoGrid/viewport.section.d.ts +3 -2
- package/dist/collection/components/revoGrid/viewport.section.js +8 -4
- package/dist/collection/components/revoGrid/viewport.section.js.map +1 -1
- package/dist/collection/components/revoGrid/viewport.service.d.ts +4 -0
- package/dist/collection/components/revoGrid/viewport.service.js +15 -3
- package/dist/collection/components/revoGrid/viewport.service.js.map +1 -1
- package/dist/collection/components/rowHeaders/revogr-row-headers.js.map +1 -1
- package/dist/collection/components/scroll/revogr-viewport-scroll-style.css +3 -0
- package/dist/collection/components/scroll/revogr-viewport-scroll.d.ts +16 -5
- package/dist/collection/components/scroll/revogr-viewport-scroll.js +64 -9
- package/dist/collection/components/scroll/revogr-viewport-scroll.js.map +1 -1
- package/dist/collection/components/selectionFocus/revogr-focus-style.css +1 -1
- package/dist/collection/components.d.ts +110 -6
- package/dist/collection/interfaces.d.ts +4 -1
- package/dist/collection/plugins/groupingColumn/columnGroupsRenderer.d.ts +3 -2
- package/dist/collection/plugins/groupingColumn/columnGroupsRenderer.js +2 -2
- package/dist/collection/plugins/groupingColumn/columnGroupsRenderer.js.map +1 -1
- package/dist/collection/plugins/groupingColumn/headerGroupRenderer.d.ts +2 -2
- package/dist/collection/plugins/groupingColumn/headerGroupRenderer.js +1 -1
- package/dist/collection/plugins/groupingColumn/headerGroupRenderer.js.map +1 -1
- package/dist/collection/plugins/sorting/sorting.plugin.d.ts +21 -13
- package/dist/collection/plugins/sorting/sorting.plugin.js +77 -70
- package/dist/collection/plugins/sorting/sorting.plugin.js.map +1 -1
- package/dist/collection/serve/controller.js +183 -0
- package/dist/collection/services/localScrollService.js +1 -1
- package/dist/collection/services/localScrollService.js.map +1 -1
- package/dist/collection/services/resizable.directive.d.ts +8 -7
- package/dist/collection/services/resizable.directive.js +13 -36
- package/dist/collection/services/resizable.directive.js.map +1 -1
- package/dist/collection/services/resizable.element.d.ts +4 -0
- package/dist/collection/services/resizable.element.js +39 -0
- package/dist/collection/services/resizable.element.js.map +1 -0
- package/dist/collection/stencil-public-runtime.d.ts +1 -0
- package/dist/collection/store/viewPort/viewport.store.js +0 -1
- package/dist/collection/store/viewPort/viewport.store.js.map +1 -1
- package/dist/collection/utils/consts.d.ts +1 -0
- package/dist/collection/utils/consts.js +1 -0
- package/dist/collection/utils/consts.js.map +1 -1
- package/dist/collection/utils/events.d.ts +2 -1
- package/dist/collection/utils/events.js +18 -2
- package/dist/collection/utils/events.js.map +1 -1
- package/dist/collection/utils/mobile.d.ts +1 -0
- package/dist/collection/utils/mobile.js +7 -0
- package/dist/collection/utils/mobile.js.map +1 -0
- package/dist/esm/{debounce-301fd4d2.js → debounce-820b5a8b.js} +2 -34
- package/dist/esm/debounce-820b5a8b.js.map +1 -0
- package/dist/esm/dispatcher-9e9c0233.js +19 -0
- package/dist/esm/dispatcher-9e9c0233.js.map +1 -0
- package/dist/esm/events-31272e5e.js +454 -0
- package/dist/esm/events-31272e5e.js.map +1 -0
- package/dist/esm/filter.button-21ce90ef.js +38 -0
- package/dist/esm/filter.button-21ce90ef.js.map +1 -0
- package/dist/esm/{index-5e90b19b.js → index-05947c5f.js} +97 -37
- package/dist/esm/index-05947c5f.js.map +1 -0
- package/dist/esm/index-728bf6e3.js +3889 -0
- package/dist/esm/index-728bf6e3.js.map +1 -0
- package/dist/esm/isString-d539060a.js +36 -0
- package/dist/esm/isString-d539060a.js.map +1 -0
- package/dist/esm/keyCodes.utils-c0064460.js +265 -0
- package/dist/esm/keyCodes.utils-c0064460.js.map +1 -0
- package/dist/esm/loader.js +4 -4
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/localScrollService-884d8952.js +400 -0
- package/dist/esm/localScrollService-884d8952.js.map +1 -0
- package/dist/esm/revo-grid.entry.js +3854 -0
- package/dist/esm/revo-grid.entry.js.map +1 -0
- package/dist/esm/revo-grid.js +4 -4
- package/dist/esm/revo-grid.js.map +1 -1
- package/dist/esm/revogr-clipboard.entry.js +24 -6
- package/dist/esm/revogr-clipboard.entry.js.map +1 -1
- package/dist/esm/revogr-data_3.entry.js +1132 -0
- package/dist/esm/revogr-data_3.entry.js.map +1 -0
- package/dist/esm/revogr-edit_2.entry.js +320 -0
- package/dist/esm/revogr-edit_2.entry.js.map +1 -0
- package/dist/esm/revogr-filter-panel.entry.js +3 -2
- package/dist/esm/revogr-filter-panel.entry.js.map +1 -1
- package/dist/esm/revogr-focus_5.entry.js +1223 -0
- package/dist/esm/revogr-focus_5.entry.js.map +1 -0
- package/dist/esm/{revo-grid_11.entry.js → viewport.helpers-c08e729e.js} +13790 -25093
- package/dist/esm/viewport.helpers-c08e729e.js.map +1 -0
- package/dist/revo-grid/debounce-820b5a8b.js +5 -0
- package/dist/revo-grid/debounce-820b5a8b.js.map +1 -0
- package/dist/revo-grid/dispatcher-9e9c0233.js +5 -0
- package/dist/revo-grid/dispatcher-9e9c0233.js.map +1 -0
- package/dist/revo-grid/events-31272e5e.js +5 -0
- package/dist/revo-grid/events-31272e5e.js.map +1 -0
- package/dist/revo-grid/filter.button-21ce90ef.js +5 -0
- package/dist/revo-grid/filter.button-21ce90ef.js.map +1 -0
- package/dist/revo-grid/index-05947c5f.js +6 -0
- package/dist/revo-grid/index-05947c5f.js.map +1 -0
- package/dist/revo-grid/index-728bf6e3.js +5 -0
- package/dist/revo-grid/index-728bf6e3.js.map +1 -0
- package/dist/revo-grid/isString-d539060a.js +5 -0
- package/dist/revo-grid/isString-d539060a.js.map +1 -0
- package/dist/revo-grid/keyCodes.utils-c0064460.js +5 -0
- package/dist/revo-grid/keyCodes.utils-c0064460.js.map +1 -0
- package/dist/revo-grid/localScrollService-884d8952.js +5 -0
- package/dist/revo-grid/localScrollService-884d8952.js.map +1 -0
- package/dist/revo-grid/revo-grid.entry.js +5 -0
- package/dist/revo-grid/revo-grid.entry.js.map +1 -0
- package/dist/revo-grid/revo-grid.esm.js +1 -1
- package/dist/revo-grid/revo-grid.esm.js.map +1 -1
- package/dist/revo-grid/revogr-clipboard.entry.js +1 -1
- package/dist/revo-grid/revogr-clipboard.entry.js.map +1 -1
- package/dist/revo-grid/revogr-data_3.entry.js +5 -0
- package/dist/revo-grid/revogr-data_3.entry.js.map +1 -0
- package/dist/revo-grid/revogr-edit_2.entry.js +5 -0
- package/dist/revo-grid/revogr-edit_2.entry.js.map +1 -0
- package/dist/revo-grid/revogr-filter-panel.entry.js +1 -1
- package/dist/revo-grid/revogr-filter-panel.entry.js.map +1 -1
- package/dist/revo-grid/revogr-focus_5.entry.js +5 -0
- package/dist/revo-grid/revogr-focus_5.entry.js.map +1 -0
- package/dist/revo-grid/viewport.helpers-c08e729e.js +5 -0
- package/dist/revo-grid/viewport.helpers-c08e729e.js.map +1 -0
- package/dist/types/components/clipboard/revogr-clipboard.d.ts +6 -2
- package/dist/types/components/header/headerCellRenderer.d.ts +2 -1
- package/dist/types/components/header/headerRenderer.d.ts +2 -2
- package/dist/types/components/header/revogr-header.d.ts +15 -1
- package/dist/types/components/overlay/autofill.service.d.ts +7 -3
- package/dist/types/components/overlay/clipboard.service.d.ts +1 -1
- package/dist/types/components/overlay/revogr-edit.d.ts +8 -0
- package/dist/types/components/overlay/revogr-overlay-selection.d.ts +32 -10
- package/dist/types/components/revoGrid/revo-grid.d.ts +15 -4
- package/dist/types/components/revoGrid/viewport.scrolling.service.d.ts +6 -2
- package/dist/types/components/revoGrid/viewport.section.d.ts +3 -2
- package/dist/types/components/revoGrid/viewport.service.d.ts +4 -0
- package/dist/types/components/scroll/revogr-viewport-scroll.d.ts +16 -5
- package/dist/types/components.d.ts +110 -6
- package/dist/types/interfaces.d.ts +4 -1
- package/dist/types/plugins/groupingColumn/columnGroupsRenderer.d.ts +3 -2
- package/dist/types/plugins/groupingColumn/headerGroupRenderer.d.ts +2 -2
- package/dist/types/plugins/sorting/sorting.plugin.d.ts +21 -13
- package/dist/types/services/resizable.directive.d.ts +8 -7
- package/dist/types/services/resizable.element.d.ts +4 -0
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/dist/types/utils/consts.d.ts +1 -0
- package/dist/types/utils/events.d.ts +2 -1
- package/dist/types/utils/mobile.d.ts +1 -0
- package/package.json +4 -3
- package/dist/cjs/debounce-525dd66c.js.map +0 -1
- package/dist/cjs/index-aad39b7b.js.map +0 -1
- package/dist/cjs/revo-grid_11.cjs.entry.js.map +0 -1
- package/dist/esm/debounce-301fd4d2.js.map +0 -1
- package/dist/esm/index-5e90b19b.js.map +0 -1
- package/dist/esm/revo-grid_11.entry.js.map +0 -1
- package/dist/revo-grid/debounce-301fd4d2.js +0 -5
- package/dist/revo-grid/debounce-301fd4d2.js.map +0 -1
- package/dist/revo-grid/index-5e90b19b.js +0 -6
- package/dist/revo-grid/index-5e90b19b.js.map +0 -1
- package/dist/revo-grid/revo-grid_11.entry.js +0 -5
- package/dist/revo-grid/revo-grid_11.entry.js.map +0 -1
- /package/dist/collection/{utilsExternal/generate-data.js → serve/data.js} +0 -0
|
@@ -17,6 +17,7 @@ import { ColumnSource, RowSource } from "./components/data/columnService";
|
|
|
17
17
|
import { MultiFilterItem, ShowData } from "./plugins/filter/filter.pop";
|
|
18
18
|
import { LogicFunction } from "./plugins/filter/filter.types";
|
|
19
19
|
import { DataSourceState, Groups } from "./store/dataSource/data.store";
|
|
20
|
+
import { ResizeProps } from "./services/resizable.directive";
|
|
20
21
|
import { ViewportData } from "./components/revoGrid/viewport.interfaces";
|
|
21
22
|
import { ElementScroll } from "./components/revoGrid/viewport.scrolling.service";
|
|
22
23
|
export { ApplyFocusEvent, BeforeCellRenderEvent, DragStartEvent, Edition, FocusRenderEvent, Observable, RevoGrid, RevoPlugin, Selection, ThemeSpace } from "./interfaces";
|
|
@@ -31,6 +32,7 @@ export { ColumnSource, RowSource } from "./components/data/columnService";
|
|
|
31
32
|
export { MultiFilterItem, ShowData } from "./plugins/filter/filter.pop";
|
|
32
33
|
export { LogicFunction } from "./plugins/filter/filter.types";
|
|
33
34
|
export { DataSourceState, Groups } from "./store/dataSource/data.store";
|
|
35
|
+
export { ResizeProps } from "./services/resizable.directive";
|
|
34
36
|
export { ViewportData } from "./components/revoGrid/viewport.interfaces";
|
|
35
37
|
export { ElementScroll } from "./components/revoGrid/viewport.scrolling.service";
|
|
36
38
|
export namespace Components {
|
|
@@ -72,7 +74,7 @@ export namespace Components {
|
|
|
72
74
|
*/
|
|
73
75
|
"colSize": number;
|
|
74
76
|
/**
|
|
75
|
-
* Types Every type represent multiple column properties Types will be merged but can be replaced with column properties
|
|
77
|
+
* Column Types Format Every type represent multiple column properties Types will be merged but can be replaced with column properties Types were made as separate objects to be reusable per multiple columns
|
|
76
78
|
*/
|
|
77
79
|
"columnTypes": { [name: string]: RevoGrid.ColumnType };
|
|
78
80
|
/**
|
|
@@ -249,6 +251,10 @@ export namespace Components {
|
|
|
249
251
|
}
|
|
250
252
|
interface RevogrClipboard {
|
|
251
253
|
"doCopy": (e: DataTransfer, data?: RevoGrid.DataFormat[][]) => Promise<void>;
|
|
254
|
+
/**
|
|
255
|
+
* If readonly mode enables no need for Paste event
|
|
256
|
+
*/
|
|
257
|
+
"readonly": boolean;
|
|
252
258
|
}
|
|
253
259
|
/**
|
|
254
260
|
* This component is responsible for rendering data
|
|
@@ -282,7 +288,14 @@ export namespace Components {
|
|
|
282
288
|
"viewportCol": Observable<RevoGrid.ViewportState>;
|
|
283
289
|
"viewportRow": Observable<RevoGrid.ViewportState>;
|
|
284
290
|
}
|
|
291
|
+
/**
|
|
292
|
+
* Cell editor component
|
|
293
|
+
*/
|
|
285
294
|
interface RevogrEdit {
|
|
295
|
+
/**
|
|
296
|
+
* Additional data to pass to renderer
|
|
297
|
+
*/
|
|
298
|
+
"additionalData": any;
|
|
286
299
|
"cancel": () => Promise<void>;
|
|
287
300
|
"column": RevoGrid.ColumnRegular | null;
|
|
288
301
|
"editCell": Edition.EditCell;
|
|
@@ -290,6 +303,9 @@ export namespace Components {
|
|
|
290
303
|
* Custom editors register
|
|
291
304
|
*/
|
|
292
305
|
"editor": Edition.EditorCtr | null;
|
|
306
|
+
/**
|
|
307
|
+
* Save on editor close
|
|
308
|
+
*/
|
|
293
309
|
"saveOnClose": boolean;
|
|
294
310
|
}
|
|
295
311
|
interface RevogrFilterPanel {
|
|
@@ -317,7 +333,13 @@ export namespace Components {
|
|
|
317
333
|
"selectionStore": Observable<Selection.SelectionStoreState>;
|
|
318
334
|
}
|
|
319
335
|
interface RevogrHeader {
|
|
336
|
+
/**
|
|
337
|
+
* Extra properties to pass into header renderer, such as vue or react components to handle parent
|
|
338
|
+
*/
|
|
320
339
|
"additionalData": any;
|
|
340
|
+
/**
|
|
341
|
+
* If columns can be resized
|
|
342
|
+
*/
|
|
321
343
|
"canResize": boolean;
|
|
322
344
|
"colData": RevoGrid.ColumnRegular[];
|
|
323
345
|
"columnFilter": boolean;
|
|
@@ -325,8 +347,15 @@ export namespace Components {
|
|
|
325
347
|
"groupingDepth": number;
|
|
326
348
|
"groups": Groups;
|
|
327
349
|
"parent": string;
|
|
350
|
+
/**
|
|
351
|
+
* Define custom resize position
|
|
352
|
+
*/
|
|
353
|
+
"resizeHandler": ResizeProps['active'];
|
|
328
354
|
"selectionStore": Observable<Selection.SelectionStoreState>;
|
|
329
|
-
|
|
355
|
+
/**
|
|
356
|
+
* Column type
|
|
357
|
+
*/
|
|
358
|
+
"type": RevoGrid.DimensionCols | 'rowHeaders';
|
|
330
359
|
"viewportCol": Observable<RevoGrid.ViewportState>;
|
|
331
360
|
}
|
|
332
361
|
interface RevogrOrderEditor {
|
|
@@ -342,6 +371,10 @@ export namespace Components {
|
|
|
342
371
|
"parent": HTMLElement;
|
|
343
372
|
}
|
|
344
373
|
interface RevogrOverlaySelection {
|
|
374
|
+
/**
|
|
375
|
+
* Additional data to pass to renderer
|
|
376
|
+
*/
|
|
377
|
+
"additionalData": any;
|
|
345
378
|
/**
|
|
346
379
|
* If true applys changes when cell closes if not Escape
|
|
347
380
|
*/
|
|
@@ -364,6 +397,10 @@ export namespace Components {
|
|
|
364
397
|
* Custom editors register
|
|
365
398
|
*/
|
|
366
399
|
"editors": Edition.Editors;
|
|
400
|
+
/**
|
|
401
|
+
* Is mobile view mode
|
|
402
|
+
*/
|
|
403
|
+
"isMobileDevice": boolean;
|
|
367
404
|
/**
|
|
368
405
|
* Last cell position
|
|
369
406
|
*/
|
|
@@ -431,7 +468,7 @@ export namespace Components {
|
|
|
431
468
|
* update on delta in case we don't know existing position or external change
|
|
432
469
|
* @param e
|
|
433
470
|
*/
|
|
434
|
-
"changeScroll": (e: RevoGrid.ViewPortScrollEvent) => Promise<RevoGrid.ViewPortScrollEvent>;
|
|
471
|
+
"changeScroll": (e: RevoGrid.ViewPortScrollEvent, silent?: boolean) => Promise<RevoGrid.ViewPortScrollEvent>;
|
|
435
472
|
/**
|
|
436
473
|
* Height of inner content
|
|
437
474
|
*/
|
|
@@ -514,6 +551,9 @@ declare global {
|
|
|
514
551
|
prototype: HTMLRevogrDataElement;
|
|
515
552
|
new (): HTMLRevogrDataElement;
|
|
516
553
|
};
|
|
554
|
+
/**
|
|
555
|
+
* Cell editor component
|
|
556
|
+
*/
|
|
517
557
|
interface HTMLRevogrEditElement extends Components.RevogrEdit, HTMLStencilElement {
|
|
518
558
|
}
|
|
519
559
|
var HTMLRevogrEditElement: {
|
|
@@ -627,7 +667,7 @@ declare namespace LocalJSX {
|
|
|
627
667
|
*/
|
|
628
668
|
"colSize"?: number;
|
|
629
669
|
/**
|
|
630
|
-
* Types Every type represent multiple column properties Types will be merged but can be replaced with column properties
|
|
670
|
+
* Column Types Format Every type represent multiple column properties Types will be merged but can be replaced with column properties Types were made as separate objects to be reusable per multiple columns
|
|
631
671
|
*/
|
|
632
672
|
"columnTypes"?: { [name: string]: RevoGrid.ColumnType };
|
|
633
673
|
/**
|
|
@@ -658,6 +698,13 @@ declare namespace LocalJSX {
|
|
|
658
698
|
* Group models by provided properties Define properties to be groped by
|
|
659
699
|
*/
|
|
660
700
|
"grouping"?: GroupingOptions;
|
|
701
|
+
/**
|
|
702
|
+
* After all rows updated. Use it if you want to track all changes from sources pinned and main
|
|
703
|
+
*/
|
|
704
|
+
"onAfter-any-source"?: (event: RevoGridCustomEvent<{
|
|
705
|
+
type: RevoGrid.DimensionRows;
|
|
706
|
+
source: RevoGrid.DataType[];
|
|
707
|
+
}>) => void;
|
|
661
708
|
/**
|
|
662
709
|
* After column resize Get resized columns
|
|
663
710
|
*/
|
|
@@ -930,6 +977,10 @@ declare namespace LocalJSX {
|
|
|
930
977
|
* @property {boolean} defaultPrevented - if true, paste will be canceled
|
|
931
978
|
*/
|
|
932
979
|
"onPasteRegion"?: (event: RevogrClipboardCustomEvent<string[][]>) => void;
|
|
980
|
+
/**
|
|
981
|
+
* If readonly mode enables no need for Paste event
|
|
982
|
+
*/
|
|
983
|
+
"readonly"?: boolean;
|
|
933
984
|
}
|
|
934
985
|
/**
|
|
935
986
|
* This component is responsible for rendering data
|
|
@@ -966,18 +1017,31 @@ declare namespace LocalJSX {
|
|
|
966
1017
|
"viewportCol": Observable<RevoGrid.ViewportState>;
|
|
967
1018
|
"viewportRow": Observable<RevoGrid.ViewportState>;
|
|
968
1019
|
}
|
|
1020
|
+
/**
|
|
1021
|
+
* Cell editor component
|
|
1022
|
+
*/
|
|
969
1023
|
interface RevogrEdit {
|
|
1024
|
+
/**
|
|
1025
|
+
* Additional data to pass to renderer
|
|
1026
|
+
*/
|
|
1027
|
+
"additionalData"?: any;
|
|
970
1028
|
"column"?: RevoGrid.ColumnRegular | null;
|
|
971
1029
|
"editCell"?: Edition.EditCell;
|
|
972
1030
|
/**
|
|
973
1031
|
* Custom editors register
|
|
974
1032
|
*/
|
|
975
1033
|
"editor"?: Edition.EditorCtr | null;
|
|
1034
|
+
/**
|
|
1035
|
+
* Cell edit event
|
|
1036
|
+
*/
|
|
976
1037
|
"onCellEdit"?: (event: RevogrEditCustomEvent<Edition.SaveDataDetails>) => void;
|
|
977
1038
|
/**
|
|
978
1039
|
* Close editor event pass true if requires focus next
|
|
979
1040
|
*/
|
|
980
1041
|
"onCloseEdit"?: (event: RevogrEditCustomEvent<boolean | undefined>) => void;
|
|
1042
|
+
/**
|
|
1043
|
+
* Save on editor close
|
|
1044
|
+
*/
|
|
981
1045
|
"saveOnClose"?: boolean;
|
|
982
1046
|
}
|
|
983
1047
|
interface RevogrFilterPanel {
|
|
@@ -1012,7 +1076,13 @@ declare namespace LocalJSX {
|
|
|
1012
1076
|
"selectionStore": Observable<Selection.SelectionStoreState>;
|
|
1013
1077
|
}
|
|
1014
1078
|
interface RevogrHeader {
|
|
1079
|
+
/**
|
|
1080
|
+
* Extra properties to pass into header renderer, such as vue or react components to handle parent
|
|
1081
|
+
*/
|
|
1015
1082
|
"additionalData"?: any;
|
|
1083
|
+
/**
|
|
1084
|
+
* If columns can be resized
|
|
1085
|
+
*/
|
|
1016
1086
|
"canResize"?: boolean;
|
|
1017
1087
|
"colData"?: RevoGrid.ColumnRegular[];
|
|
1018
1088
|
"columnFilter"?: boolean;
|
|
@@ -1024,8 +1094,15 @@ declare namespace LocalJSX {
|
|
|
1024
1094
|
"onHeaderresize"?: (event: RevogrHeaderCustomEvent<RevoGrid.ViewSettingSizeProp>) => void;
|
|
1025
1095
|
"onInitialHeaderClick"?: (event: RevogrHeaderCustomEvent<RevoGrid.InitialHeaderClick>) => void;
|
|
1026
1096
|
"parent"?: string;
|
|
1097
|
+
/**
|
|
1098
|
+
* Define custom resize position
|
|
1099
|
+
*/
|
|
1100
|
+
"resizeHandler"?: ResizeProps['active'];
|
|
1027
1101
|
"selectionStore"?: Observable<Selection.SelectionStoreState>;
|
|
1028
|
-
|
|
1102
|
+
/**
|
|
1103
|
+
* Column type
|
|
1104
|
+
*/
|
|
1105
|
+
"type": RevoGrid.DimensionCols | 'rowHeaders';
|
|
1029
1106
|
"viewportCol"?: Observable<RevoGrid.ViewportState>;
|
|
1030
1107
|
}
|
|
1031
1108
|
interface RevogrOrderEditor {
|
|
@@ -1063,6 +1140,10 @@ declare namespace LocalJSX {
|
|
|
1063
1140
|
"parent"?: HTMLElement;
|
|
1064
1141
|
}
|
|
1065
1142
|
interface RevogrOverlaySelection {
|
|
1143
|
+
/**
|
|
1144
|
+
* Additional data to pass to renderer
|
|
1145
|
+
*/
|
|
1146
|
+
"additionalData"?: any;
|
|
1066
1147
|
/**
|
|
1067
1148
|
* If true applys changes when cell closes if not Escape
|
|
1068
1149
|
*/
|
|
@@ -1085,6 +1166,10 @@ declare namespace LocalJSX {
|
|
|
1085
1166
|
* Custom editors register
|
|
1086
1167
|
*/
|
|
1087
1168
|
"editors"?: Edition.Editors;
|
|
1169
|
+
/**
|
|
1170
|
+
* Is mobile view mode
|
|
1171
|
+
*/
|
|
1172
|
+
"isMobileDevice"?: boolean;
|
|
1088
1173
|
/**
|
|
1089
1174
|
* Last cell position
|
|
1090
1175
|
*/
|
|
@@ -1112,7 +1197,13 @@ declare namespace LocalJSX {
|
|
|
1112
1197
|
"onCancelEdit"?: (event: RevogrOverlaySelectionCustomEvent<any>) => void;
|
|
1113
1198
|
"onFocusCell"?: (event: RevogrOverlaySelectionCustomEvent<ApplyFocusEvent>) => void;
|
|
1114
1199
|
"onInternalCellEdit"?: (event: RevogrOverlaySelectionCustomEvent<Edition.BeforeSaveDataDetails>) => void;
|
|
1200
|
+
/**
|
|
1201
|
+
* Before clipboard copy happened
|
|
1202
|
+
*/
|
|
1115
1203
|
"onInternalCopy"?: (event: RevogrOverlaySelectionCustomEvent<any>) => void;
|
|
1204
|
+
/**
|
|
1205
|
+
* Before paste happened
|
|
1206
|
+
*/
|
|
1116
1207
|
"onInternalPaste"?: (event: RevogrOverlaySelectionCustomEvent<any>) => void;
|
|
1117
1208
|
/**
|
|
1118
1209
|
* Range data apply
|
|
@@ -1128,6 +1219,9 @@ declare namespace LocalJSX {
|
|
|
1128
1219
|
"onRangeClipboardCopy"?: (event: RevogrOverlaySelectionCustomEvent<any>) => void;
|
|
1129
1220
|
"onRangeClipboardPaste"?: (event: RevogrOverlaySelectionCustomEvent<any>) => void;
|
|
1130
1221
|
"onSelectall"?: (event: RevogrOverlaySelectionCustomEvent<any>) => void;
|
|
1222
|
+
/**
|
|
1223
|
+
* Set edit cell
|
|
1224
|
+
*/
|
|
1131
1225
|
"onSetEdit"?: (event: RevogrOverlaySelectionCustomEvent<Edition.BeforeEdit>) => void;
|
|
1132
1226
|
"onSetRange"?: (event: RevogrOverlaySelectionCustomEvent<Selection.RangeArea & { type: RevoGrid.MultiDimensionType }>) => void;
|
|
1133
1227
|
"onSetTempRange"?: (event: RevogrOverlaySelectionCustomEvent<Selection.TempRange | null>) => void;
|
|
@@ -1201,7 +1295,14 @@ declare namespace LocalJSX {
|
|
|
1201
1295
|
"contentWidth"?: number;
|
|
1202
1296
|
"onResizeViewport"?: (event: RevogrViewportScrollCustomEvent<RevoGrid.ViewPortResizeEvent>) => void;
|
|
1203
1297
|
"onScrollViewport"?: (event: RevogrViewportScrollCustomEvent<RevoGrid.ViewPortScrollEvent>) => void;
|
|
1204
|
-
"onScrollchange"?: (event: RevogrViewportScrollCustomEvent<{
|
|
1298
|
+
"onScrollchange"?: (event: RevogrViewportScrollCustomEvent<{
|
|
1299
|
+
type: RevoGrid.DimensionType;
|
|
1300
|
+
hasScroll: boolean;
|
|
1301
|
+
}>) => void;
|
|
1302
|
+
/**
|
|
1303
|
+
* Silently scroll to coordinate Made to align negative coordinates for mobile devices
|
|
1304
|
+
*/
|
|
1305
|
+
"onSilentScroll"?: (event: RevogrViewportScrollCustomEvent<RevoGrid.ViewPortScrollEvent>) => void;
|
|
1205
1306
|
}
|
|
1206
1307
|
interface IntrinsicElements {
|
|
1207
1308
|
"revo-grid": RevoGrid;
|
|
@@ -1230,6 +1331,9 @@ declare module "@stencil/core" {
|
|
|
1230
1331
|
* Rows, columns, groups and cells
|
|
1231
1332
|
*/
|
|
1232
1333
|
"revogr-data": LocalJSX.RevogrData & JSXBase.HTMLAttributes<HTMLRevogrDataElement>;
|
|
1334
|
+
/**
|
|
1335
|
+
* Cell editor component
|
|
1336
|
+
*/
|
|
1233
1337
|
"revogr-edit": LocalJSX.RevogrEdit & JSXBase.HTMLAttributes<HTMLRevogrEditElement>;
|
|
1234
1338
|
"revogr-filter-panel": LocalJSX.RevogrFilterPanel & JSXBase.HTMLAttributes<HTMLRevogrFilterPanelElement>;
|
|
1235
1339
|
"revogr-focus": LocalJSX.RevogrFocus & JSXBase.HTMLAttributes<HTMLRevogrFocusElement>;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { VNode } from './stencil-public-runtime';
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
import { ObservableMap, Subscription } from '@stencil/store';
|
|
7
|
+
import { type } from 'os';
|
|
7
8
|
export type Observable<T> = ObservableMap<T>;
|
|
8
9
|
export type PluginSubscribe<T> = Subscription<T>;
|
|
9
10
|
export declare namespace RevoGrid {
|
|
@@ -290,6 +291,8 @@ export declare namespace Edition {
|
|
|
290
291
|
type SaveDataDetails = {
|
|
291
292
|
rgRow: Selection.RowIndex;
|
|
292
293
|
rgCol: Selection.ColIndex;
|
|
294
|
+
type: RevoGrid.DimensionRows;
|
|
295
|
+
prop: RevoGrid.ColumnProp;
|
|
293
296
|
val: any;
|
|
294
297
|
preventFocus?: boolean;
|
|
295
298
|
};
|
|
@@ -330,7 +333,7 @@ export declare namespace Edition {
|
|
|
330
333
|
beforeUpdate?(): void;
|
|
331
334
|
componentDidRender?(): void;
|
|
332
335
|
disconnectedCallback?(): void;
|
|
333
|
-
render(createElement?: HyperFunc<VNode
|
|
336
|
+
render(createElement?: HyperFunc<VNode>, additionalData?: any): VNode | VNode[] | string | void;
|
|
334
337
|
}
|
|
335
338
|
}
|
|
336
339
|
export declare namespace ThemeSpace {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { VNode } from '../../stencil-public-runtime';
|
|
2
2
|
import { RevoGrid } from '../../interfaces';
|
|
3
3
|
import { Group } from '../../store/dataSource/data.store';
|
|
4
|
+
import { ResizeProps } from '../..';
|
|
4
5
|
type Props = {
|
|
5
6
|
visibleProps: {
|
|
6
7
|
[prop: string]: number;
|
|
@@ -12,6 +13,6 @@ type Props = {
|
|
|
12
13
|
providers: RevoGrid.Providers;
|
|
13
14
|
additionalData: any;
|
|
14
15
|
onResize(changedX: number, startIndex: number, endIndex: number): void;
|
|
15
|
-
}
|
|
16
|
-
declare const ColumnGroupsRenderer: ({ additionalData, providers, depth, groups, visibleProps, dimensionCol, canResize, onResize }: Props) => VNode[];
|
|
16
|
+
} & Partial<Pick<ResizeProps, 'active'>>;
|
|
17
|
+
declare const ColumnGroupsRenderer: ({ additionalData, providers, depth, groups, visibleProps, dimensionCol, canResize, active, onResize }: Props) => VNode[];
|
|
17
18
|
export default ColumnGroupsRenderer;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VNode } from '../../stencil-public-runtime';
|
|
2
|
-
import { ResizeEvent } from '../../services/resizable.directive';
|
|
2
|
+
import { ResizeEvent, ResizeProps } from '../../services/resizable.directive';
|
|
3
3
|
import { Group } from '../../store/dataSource/data.store';
|
|
4
4
|
import { RevoGrid } from '../../interfaces';
|
|
5
5
|
type Props = {
|
|
@@ -10,6 +10,6 @@ type Props = {
|
|
|
10
10
|
additionalData: any;
|
|
11
11
|
canResize?: boolean;
|
|
12
12
|
onResize?(e: ResizeEvent): void;
|
|
13
|
-
}
|
|
13
|
+
} & Partial<Pick<ResizeProps, 'active'>>;
|
|
14
14
|
declare const GroupHeaderRenderer: (p: Props) => VNode[];
|
|
15
15
|
export default GroupHeaderRenderer;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { RevoGrid } from '../../interfaces';
|
|
2
2
|
import BasePlugin from '../basePlugin';
|
|
3
3
|
export type SortingOrder = Record<RevoGrid.ColumnProp, RevoGrid.Order>;
|
|
4
|
+
type SortingOrderFunction = Record<RevoGrid.ColumnProp, RevoGrid.CellCompareFunc | undefined>;
|
|
4
5
|
/**
|
|
5
6
|
* lifecycle
|
|
6
|
-
* 1) @event beforesorting - sorting just started, nothing happened yet
|
|
7
|
+
* 1) @event beforesorting - sorting just started, nothing happened yet, can be from column or from source, if type is from rows - column will be undefined
|
|
7
8
|
* 2) @metod updateColumnSorting - column sorting icon applied to grid and column get updated, data still untiuched
|
|
8
|
-
* 3) @event beforesortingapply - before we applied sorting data to data source, you can prevent data
|
|
9
|
-
* 4) @event afterSortingApply - sorting applied, just finished event
|
|
9
|
+
* 3) @event beforesortingapply - before we applied sorting data to data source, you can prevent event and data will not be sorted. It's called only from column sorting click
|
|
10
|
+
* 4) @event afterSortingApply - sorting applied, just finished event, from rows and columns
|
|
10
11
|
*
|
|
11
12
|
* If you prevent event it'll not reach farther steps
|
|
12
13
|
*/
|
|
@@ -14,19 +15,26 @@ export default class SortingPlugin extends BasePlugin {
|
|
|
14
15
|
protected revogrid: HTMLRevoGridElement;
|
|
15
16
|
private sorting;
|
|
16
17
|
private sortingFunc;
|
|
17
|
-
|
|
18
|
+
private doSort;
|
|
18
19
|
constructor(revogrid: HTMLRevoGridElement);
|
|
19
|
-
private
|
|
20
|
-
private setData;
|
|
20
|
+
private getComparer;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Apply sorting to data on header click
|
|
23
|
+
* If additive - add to existing sorting, multiple columns can be sorted
|
|
24
|
+
*/
|
|
25
|
+
headerclick(column: RevoGrid.ColumnRegular, index: number, additive: boolean): Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Sort items by sorting function
|
|
28
|
+
* @requires proxyItems applied to row store
|
|
29
|
+
* @requires source applied to row store
|
|
30
|
+
*
|
|
23
31
|
* @param sorting - per column sorting
|
|
24
32
|
* @param data - this.stores['rgRow'].store.get('source')
|
|
25
33
|
*/
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
private getNextOrder;
|
|
34
|
+
sort(sorting: SortingOrder, sortingFunc: SortingOrderFunction, types?: RevoGrid.DimensionRows[]): Promise<void>;
|
|
35
|
+
defaultCellCompare(prop: RevoGrid.ColumnProp, a: RevoGrid.DataType, b: RevoGrid.DataType): 0 | 1 | -1;
|
|
36
|
+
descCellCompare(cmp: RevoGrid.CellCompareFunc): (prop: RevoGrid.ColumnProp, a: RevoGrid.DataType, b: RevoGrid.DataType) => number;
|
|
37
|
+
sortIndexByItems(indexes: number[], source: RevoGrid.DataType[], sortingFunc: SortingOrderFunction): number[];
|
|
38
|
+
getNextOrder(currentOrder: RevoGrid.Order): RevoGrid.Order;
|
|
32
39
|
}
|
|
40
|
+
export {};
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { RevoGrid } from '../interfaces';
|
|
3
|
-
type Props = {
|
|
1
|
+
export type ResizeProps = {
|
|
4
2
|
active: ('r' | 'rb' | 'b' | 'lb' | 'l' | 'lt' | 't' | 'rt')[];
|
|
5
3
|
fitParent: boolean;
|
|
6
4
|
minWidth: number;
|
|
@@ -9,7 +7,7 @@ type Props = {
|
|
|
9
7
|
maxWidth?: number;
|
|
10
8
|
maxHeight?: number;
|
|
11
9
|
onResize?(e: ResizeEvent): void;
|
|
12
|
-
onDoubleClick?(): void;
|
|
10
|
+
onDoubleClick?(originalEvent: MouseEvent): void;
|
|
13
11
|
};
|
|
14
12
|
export type ResizeEvent = {
|
|
15
13
|
eventName: string;
|
|
@@ -18,6 +16,11 @@ export type ResizeEvent = {
|
|
|
18
16
|
width?: number;
|
|
19
17
|
height?: number;
|
|
20
18
|
};
|
|
19
|
+
export declare enum ResizeEvents {
|
|
20
|
+
start = "resize:start",
|
|
21
|
+
move = "resize:move",
|
|
22
|
+
end = "resize:end"
|
|
23
|
+
}
|
|
21
24
|
export declare class ResizeDirective {
|
|
22
25
|
private initialProps;
|
|
23
26
|
private $event?;
|
|
@@ -39,7 +42,7 @@ export declare class ResizeDirective {
|
|
|
39
42
|
private disableCalcMap;
|
|
40
43
|
private mouseMoveFunc;
|
|
41
44
|
private mouseUpFunc;
|
|
42
|
-
constructor(initialProps: Partial<
|
|
45
|
+
constructor(initialProps: Partial<ResizeProps>, $event?: (e: ResizeEvent) => void);
|
|
43
46
|
set($el: HTMLElement): void;
|
|
44
47
|
emitEvent(eventName: string, additionalOptions?: any): void;
|
|
45
48
|
private static isTouchEvent;
|
|
@@ -51,5 +54,3 @@ export declare class ResizeDirective {
|
|
|
51
54
|
private bindMove;
|
|
52
55
|
private unbindMove;
|
|
53
56
|
}
|
|
54
|
-
export declare const ResizableElement: (props: Partial<Props> & RevoGrid.CellProps, children: VNode[]) => any;
|
|
55
|
-
export {};
|
|
@@ -14,6 +14,7 @@ export declare const DRAG_ICON_CLASS = "revo-drag-icon";
|
|
|
14
14
|
export declare const DRAGGABLE_CLASS = "revo-draggable";
|
|
15
15
|
export declare const FOCUS_CLASS = "focused-cell";
|
|
16
16
|
export declare const SELECTION_BORDER_CLASS = "selection-border-range";
|
|
17
|
+
export declare const MOBILE_CLASS = "mobile-handler";
|
|
17
18
|
export declare const TMP_SELECTION_BG_CLASS = "temp-bg-range";
|
|
18
19
|
export declare const CELL_HANDLER_CLASS = "autofill-handle";
|
|
19
20
|
export declare const EDIT_INPUT_WR = "edit-input-wrapper";
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function verifyTouchTarget(touchEvent?: Touch, focusClass?: string): boolean;
|
|
2
|
+
export declare function getFromEvent(e: MouseEvent | TouchEvent, prop: keyof Pick<Touch, 'clientX' | 'clientY' | 'screenX' | 'screenY'>, focusClass?: string): number | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isMobileDevice(): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revolist/revogrid",
|
|
3
|
-
"version": "4.4.0-next.
|
|
3
|
+
"version": "4.4.0-next.21",
|
|
4
4
|
"description": "Virtual reactive data grid component - RevoGrid.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"directories": {
|
|
@@ -86,10 +86,11 @@
|
|
|
86
86
|
"rxjs": "^7.8.0",
|
|
87
87
|
"svelte": "^3.58.0",
|
|
88
88
|
"typescript": "^5.0.4",
|
|
89
|
-
"vue": "^3.2.47"
|
|
89
|
+
"vue": "^3.2.47",
|
|
90
|
+
"bootstrap": "^5.2.3"
|
|
90
91
|
},
|
|
91
92
|
"dependencies": {
|
|
92
|
-
"@stencil/core": "^3.
|
|
93
|
+
"@stencil/core": "^3.3.0",
|
|
93
94
|
"lodash": "^4.17.21"
|
|
94
95
|
}
|
|
95
96
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"debounce-525dd66c.js","mappings":";;;;;;;;;;;;;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GAAG,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;AAC/C,KAAK;AACL,IAAI,OAAO,MAAM,CAAC;AAClB,GAAG;AACH,EAAE,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC;AAC5B,EAAE,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC;AAC1B,EAAE,OAAO,SAAS,CAAC;AACnB,CAAC;AACD;cACc,GAAG;;;;;;;;;;;;;;;;;;;","names":["global","freeGlobal","root","objectProto","nativeObjectToString","symToStringTag","Symbol","getRawTag","objectToString","isObjectLike","baseGetTag","trimmedEndIndex","isSymbol","isObject","baseTrim","h","toNumber","now"],"sources":["./node_modules/lodash/_freeGlobal.js","./node_modules/lodash/_root.js","./node_modules/lodash/_Symbol.js","./node_modules/lodash/_getRawTag.js","./node_modules/lodash/_objectToString.js","./node_modules/lodash/_baseGetTag.js","./node_modules/lodash/isObjectLike.js","./node_modules/lodash/isObject.js","./node_modules/lodash/isSymbol.js","./node_modules/lodash/_trimmedEndIndex.js","./node_modules/lodash/_baseTrim.js","./node_modules/lodash/toNumber.js","./src/plugins/filter/filter.button.tsx","./node_modules/lodash/now.js","./node_modules/lodash/debounce.js"],"sourcesContent":["/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","import { h } from '@stencil/core';\nimport { RevoGrid } from '../../interfaces';\n\nexport const FILTER_BUTTON_CLASS = 'rv-filter';\nexport const FILTER_BUTTON_ACTIVE = 'active';\nexport const FILTER_PROP = 'hasFilter';\nexport const AND_OR_BUTTON = 'and-or-button';\nexport const TRASH_BUTTON = 'trash-button';\n\ntype Props = {\n column: RevoGrid.ColumnRegular;\n};\nexport const FilterButton = ({ column }: Props) => {\n return (\n <span>\n <button\n class={{\n [FILTER_BUTTON_CLASS]: true,\n [FILTER_BUTTON_ACTIVE]: column && !!column[FILTER_PROP],\n }}\n >\n <svg class=\"filter-img\" viewBox=\"0 0 64 64\">\n <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <path d=\"M43,48 L43,56 L21,56 L21,48 L43,48 Z M53,28 L53,36 L12,36 L12,28 L53,28 Z M64,8 L64,16 L0,16 L0,8 L64,8 Z\" fill=\"currentColor\"></path>\n </g>\n </svg>\n </button>\n </span>\n );\n};\n\nexport const TrashButton = () => {\n return (\n <div class={{ [TRASH_BUTTON]: true }}>\n <svg class=\"trash-img\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z\" />\n </svg>\n </div>\n );\n};\nexport const AndOrButton = ({ isAnd }: any) => {\n return <button class={{ [AND_OR_BUTTON]: true, 'light revo-button': true }}>{isAnd ? 'and' : 'or'}</button>;\n};\n\nexport function isFilterBtn(e: HTMLElement) {\n if (e.classList.contains(FILTER_BUTTON_CLASS)) {\n return true;\n }\n return e?.closest(`.${FILTER_BUTTON_CLASS}`);\n}\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n"],"version":3}
|