@genesislcap/grid-tabulator 14.201.0 → 14.202.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/dist/custom-elements.json +2 -9
- package/dist/dts/datasource/client-side.datasource.d.ts +7 -11
- package/dist/dts/datasource/client-side.datasource.d.ts.map +1 -1
- package/dist/esm/datasource/client-side.datasource.js +5 -13
- package/dist/esm/grid-tabulator.definitions.js +5 -5
- package/package.json +13 -13
|
@@ -1548,17 +1548,10 @@
|
|
|
1548
1548
|
},
|
|
1549
1549
|
{
|
|
1550
1550
|
"kind": "method",
|
|
1551
|
-
"name": "
|
|
1552
|
-
"description": "
|
|
1551
|
+
"name": "destroy",
|
|
1552
|
+
"description": "Destroys the datasource, resetting it to its initial state.",
|
|
1553
1553
|
"privacy": "public"
|
|
1554
1554
|
},
|
|
1555
|
-
{
|
|
1556
|
-
"kind": "method",
|
|
1557
|
-
"name": "reset",
|
|
1558
|
-
"description": "Resets the datasource to its initial state.",
|
|
1559
|
-
"privacy": "public",
|
|
1560
|
-
"deprecated": "Use `deinit` instead"
|
|
1561
|
-
},
|
|
1562
1555
|
{
|
|
1563
1556
|
"kind": "method",
|
|
1564
1557
|
"name": "restart",
|
|
@@ -455,13 +455,15 @@ declare const GridTabulatorClientSideDatasource_base: (new (...args: any[]) => {
|
|
|
455
455
|
hasChildNodes(): boolean;
|
|
456
456
|
insertBefore<T_1_1 extends Node>(node: T_1_1, child: Node): T_1_1;
|
|
457
457
|
isDefaultNamespace(namespace: string): boolean;
|
|
458
|
-
isEqualNode(otherNode: Node): boolean;
|
|
458
|
+
isEqualNode(otherNode: Node): boolean; /**
|
|
459
|
+
* Restarts the datasource, uses `deinit` and `init` in sequence.
|
|
460
|
+
* @public
|
|
461
|
+
*/
|
|
459
462
|
isSameNode(otherNode: Node): boolean;
|
|
460
463
|
lookupNamespaceURI(prefix: string): string;
|
|
461
464
|
lookupPrefix(namespace: string): string;
|
|
462
465
|
/**
|
|
463
|
-
*
|
|
464
|
-
* @public
|
|
466
|
+
* Force the grid to redispatch the current rows
|
|
465
467
|
*/
|
|
466
468
|
normalize(): void;
|
|
467
469
|
removeChild<T_2_1 extends Node>(child: T_2_1): T_2_1;
|
|
@@ -726,16 +728,10 @@ export declare class GridTabulatorClientSideDatasource extends GridTabulatorClie
|
|
|
726
728
|
*/
|
|
727
729
|
init(): Promise<void>;
|
|
728
730
|
/**
|
|
729
|
-
*
|
|
730
|
-
* @public
|
|
731
|
-
*/
|
|
732
|
-
deinit(): void;
|
|
733
|
-
/**
|
|
734
|
-
* Resets the datasource to its initial state.
|
|
731
|
+
* Destroys the datasource, resetting it to its initial state.
|
|
735
732
|
* @public
|
|
736
|
-
* @deprecated Use `deinit` instead
|
|
737
733
|
*/
|
|
738
|
-
|
|
734
|
+
destroy(): void;
|
|
739
735
|
/**
|
|
740
736
|
* Restarts the datasource, uses `deinit` and `init` in sequence.
|
|
741
737
|
* @public
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-side.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/client-side.datasource.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,OAAO,EAEP,UAAU,EAIV,gBAAgB,EAQjB,MAAM,+BAA+B,CAAC;AAMvC,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAW3C,MAAM,WAAW,kBAAkB,CAAC,KAAK,GAAG,GAAG;IAC7C,wBAAwB;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,kBAAkB;IAClB,GAAG,CAAC,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;IACrB,qBAAqB;IACrB,MAAM,CAAC,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;IACxB,qBAAqB;IACrB,MAAM,CAAC,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;CACzB
|
|
1
|
+
{"version":3,"file":"client-side.datasource.d.ts","sourceRoot":"","s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oB;IASX,SAAS,IAAI,IAAI;IAM1B,OAAO,KAAK,aAAa,GAExB;IAID;;;;OAIG;IACH,OAAO,KAAK,KAAK,GAIhB;IAED;;;OAGG;IACH,OAAO,KAAK,eAAe,GAM1B;IAED,OAAO,KAAK,0BAA0B,GAIrC;IAED;;;;OAIG;IACG,IAAI;IA+CV;;;OAGG;IACH,OAAO;IAiCP;;;OAGG;IACH,OAAO;IAKP;;OAEG;IACH,WAAW;IAIX;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAUpB;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAYlB;;;;;OAKG;YACW,kBAAkB;IAUhC;;;;;;OAMG;IACG,gBAAgB,CAAC,YAAY,UAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IA4C1D,OAAO,CAAC,cAAc;IActB,OAAO,CAAC,iBAAiB;IAgBzB,OAAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,sBAAsB;IA2C9B,OAAO,CAAC,mBAAmB;IAqB3B,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,cAAc;IAatB,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,mBAAmB;IAqE3B,OAAO,CAAC,aAAa;IAMd,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;CAItC"}
|
|
@@ -72,7 +72,7 @@ let GridTabulatorClientSideDatasource = class GridTabulatorClientSideDatasource
|
|
|
72
72
|
DOM.queueUpdate(() => {
|
|
73
73
|
if (!shouldRunDisconnect)
|
|
74
74
|
return;
|
|
75
|
-
this.
|
|
75
|
+
this.destroy();
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
deepClone() {
|
|
@@ -148,18 +148,10 @@ let GridTabulatorClientSideDatasource = class GridTabulatorClientSideDatasource
|
|
|
148
148
|
});
|
|
149
149
|
}
|
|
150
150
|
/**
|
|
151
|
-
*
|
|
151
|
+
* Destroys the datasource, resetting it to its initial state.
|
|
152
152
|
* @public
|
|
153
153
|
*/
|
|
154
|
-
|
|
155
|
-
this.reset();
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* Resets the datasource to its initial state.
|
|
159
|
-
* @public
|
|
160
|
-
* @deprecated Use `deinit` instead
|
|
161
|
-
*/
|
|
162
|
-
reset() {
|
|
154
|
+
destroy() {
|
|
163
155
|
var _a;
|
|
164
156
|
if (this.dataSub) {
|
|
165
157
|
this.dataSub.unsubscribe();
|
|
@@ -182,14 +174,14 @@ let GridTabulatorClientSideDatasource = class GridTabulatorClientSideDatasource
|
|
|
182
174
|
(_a = this.update) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
183
175
|
this.update = new BehaviorSubject(new Map());
|
|
184
176
|
// TODO: There may need to be a full destroy path. Datasources need some love!
|
|
185
|
-
this.datasource.
|
|
177
|
+
this.datasource.destroy();
|
|
186
178
|
}
|
|
187
179
|
/**
|
|
188
180
|
* Restarts the datasource, uses `deinit` and `init` in sequence.
|
|
189
181
|
* @public
|
|
190
182
|
*/
|
|
191
183
|
restart() {
|
|
192
|
-
this.
|
|
184
|
+
this.destroy();
|
|
193
185
|
this.init();
|
|
194
186
|
}
|
|
195
187
|
/**
|
|
@@ -46,16 +46,16 @@ export function getFilterParamsByFieldType(type) {
|
|
|
46
46
|
// buttons: ['reset', 'apply'],
|
|
47
47
|
// closeOnApply: true,
|
|
48
48
|
// closeOnClear: true,
|
|
49
|
-
//
|
|
49
|
+
// maxNumConditions: 1,
|
|
50
50
|
// browserDatePicker: true,
|
|
51
51
|
// };
|
|
52
52
|
// }
|
|
53
53
|
default: {
|
|
54
54
|
return {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
// maxNumConditions: 1,
|
|
56
|
+
// filterOptions: [
|
|
57
|
+
// 'contains', // TODO: Temp lock to only have [text-contains] filter
|
|
58
|
+
// ],
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/grid-tabulator",
|
|
3
3
|
"description": "Genesis Foundation Grid Tabulator",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.202.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -39,21 +39,21 @@
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@genesislcap/foundation-testing": "14.
|
|
43
|
-
"@genesislcap/genx": "14.
|
|
44
|
-
"@genesislcap/rollup-builder": "14.
|
|
45
|
-
"@genesislcap/ts-builder": "14.
|
|
46
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
47
|
-
"@genesislcap/vite-builder": "14.
|
|
48
|
-
"@genesislcap/webpack-builder": "14.
|
|
42
|
+
"@genesislcap/foundation-testing": "14.202.0",
|
|
43
|
+
"@genesislcap/genx": "14.202.0",
|
|
44
|
+
"@genesislcap/rollup-builder": "14.202.0",
|
|
45
|
+
"@genesislcap/ts-builder": "14.202.0",
|
|
46
|
+
"@genesislcap/uvu-playwright-builder": "14.202.0",
|
|
47
|
+
"@genesislcap/vite-builder": "14.202.0",
|
|
48
|
+
"@genesislcap/webpack-builder": "14.202.0",
|
|
49
49
|
"@types/tabulator-tables": "^6.2.0",
|
|
50
50
|
"rimraf": "^5.0.0"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@genesislcap/foundation-comms": "14.
|
|
54
|
-
"@genesislcap/foundation-logger": "14.
|
|
55
|
-
"@genesislcap/foundation-ui": "14.
|
|
56
|
-
"@genesislcap/foundation-utils": "14.
|
|
53
|
+
"@genesislcap/foundation-comms": "14.202.0",
|
|
54
|
+
"@genesislcap/foundation-logger": "14.202.0",
|
|
55
|
+
"@genesislcap/foundation-ui": "14.202.0",
|
|
56
|
+
"@genesislcap/foundation-utils": "14.202.0",
|
|
57
57
|
"@microsoft/fast-colors": "^5.3.1",
|
|
58
58
|
"@microsoft/fast-components": "^2.30.6",
|
|
59
59
|
"@microsoft/fast-element": "^1.12.0",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
76
|
"customElements": "dist/custom-elements.json",
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "73a2550f84344266438432d5c18a567885de548e"
|
|
78
78
|
}
|