@genesislcap/grid-tabulator 14.231.1-alpha-aa210cb.0 → 14.232.1

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.
@@ -33,6 +33,16 @@ declare const GridTabulator_base: (new (...args: any[]) => {
33
33
  readonly offsetWidth: number;
34
34
  outerText: string;
35
35
  spellcheck: boolean;
36
+ /**
37
+ * Download the Grid data as a file of the specified type.
38
+ * @public
39
+ * @privateRemarks
40
+ * See https://tabulator.info/docs/5.5/download#overview, xlsx/pdf require extra libraries.
41
+ * @param type - csv | json | html
42
+ * @param fileName - name of the file to download
43
+ * @param params - optional download params
44
+ * @param filter - optional row range lookup filter
45
+ */
36
46
  title: string;
37
47
  translate: boolean;
38
48
  attachInternals(): ElementInternals;
@@ -49,11 +59,6 @@ declare const GridTabulator_base: (new (...args: any[]) => {
49
59
  readonly clientTop: number;
50
60
  readonly clientWidth: number;
51
61
  id: string;
52
- /**
53
- * The grid-tabulator component registration.
54
- * @public
55
- * @privateRemarks explicitly declaring for extensibility
56
- */
57
62
  readonly localName: string;
58
63
  readonly namespaceURI: string;
59
64
  onfullscreenchange: (this: Element, ev: Event) => any;
@@ -62,7 +67,13 @@ declare const GridTabulator_base: (new (...args: any[]) => {
62
67
  readonly ownerDocument: Document;
63
68
  readonly part: DOMTokenList;
64
69
  readonly prefix: string;
65
- readonly scrollHeight: number;
70
+ readonly scrollHeight: number; /**
71
+ * The Foundation grid-tabulator
72
+ *
73
+ * @alpha
74
+ * @remarks
75
+ * HTML Element: \<grid-tabulator\>
76
+ */
66
77
  scrollLeft: number;
67
78
  scrollTop: number;
68
79
  readonly scrollWidth: number;
@@ -1 +1 @@
1
- {"version":3,"file":"grid-tabulator.d.ts","sourceRoot":"","sources":["../../src/grid-tabulator.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,EACL,eAAe,EACf,YAAY,EACZ,OAAO,EAC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eAAO,MAAM,0BAA0B;;CAEtC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;wBAMlC,CAAC"}
@@ -79,6 +79,7 @@ export class GridTabulator extends LifecycleMixin(FoundationElement) {
79
79
  set gridOptions(options) {
80
80
  DOM.queueUpdate(() => {
81
81
  this.grid = new Tabulator(this.gridDiv, Object.assign({ rowHeight: this.rowHeight }, options));
82
+ this.$emit('gridReady', this.grid);
82
83
  this.grid.on('tableBuilt', () => {
83
84
  const tabulatorDatasource = this.querySelector('grid-tabulator-client-side-datasource');
84
85
  if (tabulatorDatasource) {
@@ -307,6 +307,16 @@ declare const GridTabulator_base: (new (...args: any[]) => {
307
307
  readonly offsetWidth: number;
308
308
  outerText: string;
309
309
  spellcheck: boolean;
310
+ /**
311
+ * Download the Grid data as a file of the specified type.
312
+ * @public
313
+ * @privateRemarks
314
+ * See https://tabulator.info/docs/5.5/download#overview, xlsx/pdf require extra libraries.
315
+ * @param type - csv | json | html
316
+ * @param fileName - name of the file to download
317
+ * @param params - optional download params
318
+ * @param filter - optional row range lookup filter
319
+ */
310
320
  title: string;
311
321
  translate: boolean;
312
322
  attachInternals(): ElementInternals;
@@ -323,11 +333,6 @@ declare const GridTabulator_base: (new (...args: any[]) => {
323
333
  readonly clientTop: number;
324
334
  readonly clientWidth: number;
325
335
  id: string;
326
- /**
327
- * The grid-tabulator component registration.
328
- * @public
329
- * @privateRemarks explicitly declaring for extensibility
330
- */
331
336
  readonly localName: string;
332
337
  readonly namespaceURI: string;
333
338
  onfullscreenchange: (this: Element, ev: Event) => any;
@@ -336,7 +341,13 @@ declare const GridTabulator_base: (new (...args: any[]) => {
336
341
  readonly ownerDocument: Document;
337
342
  readonly part: DOMTokenList;
338
343
  readonly prefix: string;
339
- readonly scrollHeight: number;
344
+ readonly scrollHeight: number; /**
345
+ * The Foundation grid-tabulator
346
+ *
347
+ * @alpha
348
+ * @remarks
349
+ * HTML Element: \<grid-tabulator\>
350
+ */
340
351
  scrollLeft: number;
341
352
  scrollTop: number;
342
353
  readonly scrollWidth: number;
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.231.1-alpha-aa210cb.0",
4
+ "version": "14.232.1",
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.231.1-alpha-aa210cb.0",
43
- "@genesislcap/genx": "14.231.1-alpha-aa210cb.0",
44
- "@genesislcap/rollup-builder": "14.231.1-alpha-aa210cb.0",
45
- "@genesislcap/ts-builder": "14.231.1-alpha-aa210cb.0",
46
- "@genesislcap/uvu-playwright-builder": "14.231.1-alpha-aa210cb.0",
47
- "@genesislcap/vite-builder": "14.231.1-alpha-aa210cb.0",
48
- "@genesislcap/webpack-builder": "14.231.1-alpha-aa210cb.0",
42
+ "@genesislcap/foundation-testing": "14.232.1",
43
+ "@genesislcap/genx": "14.232.1",
44
+ "@genesislcap/rollup-builder": "14.232.1",
45
+ "@genesislcap/ts-builder": "14.232.1",
46
+ "@genesislcap/uvu-playwright-builder": "14.232.1",
47
+ "@genesislcap/vite-builder": "14.232.1",
48
+ "@genesislcap/webpack-builder": "14.232.1",
49
49
  "@types/tabulator-tables": "6.2.3",
50
50
  "rimraf": "^5.0.0"
51
51
  },
52
52
  "dependencies": {
53
- "@genesislcap/foundation-comms": "14.231.1-alpha-aa210cb.0",
54
- "@genesislcap/foundation-logger": "14.231.1-alpha-aa210cb.0",
55
- "@genesislcap/foundation-ui": "14.231.1-alpha-aa210cb.0",
56
- "@genesislcap/foundation-utils": "14.231.1-alpha-aa210cb.0",
53
+ "@genesislcap/foundation-comms": "14.232.1",
54
+ "@genesislcap/foundation-logger": "14.232.1",
55
+ "@genesislcap/foundation-ui": "14.232.1",
56
+ "@genesislcap/foundation-utils": "14.232.1",
57
57
  "@microsoft/fast-colors": "5.3.1",
58
58
  "@microsoft/fast-components": "2.30.6",
59
59
  "@microsoft/fast-element": "1.14.0",
@@ -74,5 +74,5 @@
74
74
  "access": "public"
75
75
  },
76
76
  "customElements": "dist/custom-elements.json",
77
- "gitHead": "60014b9af62862567598d595f63c89b20a20c642"
77
+ "gitHead": "a9e20ce88dbb5e31037cae98e44a86eb0525544b"
78
78
  }