@neovici/cosmoz-omnitable 14.28.1 → 14.29.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.
@@ -1,2 +1,2 @@
1
- export function useCanvasWidth(host: any): any;
1
+ export declare const useCanvasWidth: (host: HTMLElement) => number;
2
2
  //# sourceMappingURL=use-canvas-width.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-canvas-width.d.ts","sourceRoot":"","sources":["../../src/lib/use-canvas-width.js"],"names":[],"mappings":"AAGO,+CAQN"}
1
+ {"version":3,"file":"use-canvas-width.d.ts","sourceRoot":"","sources":["../../src/lib/use-canvas-width.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,GAAI,MAAM,WAAW,WAQ/C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-canvas-width.js","sourceRoot":"","sources":["../../src/lib/use-canvas-width.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,IAAI,EAAE,EAAE;IACtC,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAC7C,GAAG,EAAE,CAAC,IAAI,CAAC,qBAAqB,EAAE,CAAC,KAAK,CACxC,CAAC;IAEF,YAAY,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;IAEnC,OAAO,WAAW,CAAC;AACpB,CAAC,CAAC"}
1
+ {"version":3,"file":"use-canvas-width.js","sourceRoot":"","sources":["../../src/lib/use-canvas-width.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,IAAiB,EAAE,EAAE;IACnD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAC7C,GAAG,EAAE,CAAC,IAAI,CAAC,qBAAqB,EAAE,CAAC,KAAK,CACxC,CAAC;IAEF,YAAY,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;IAEnC,OAAO,WAAW,CAAC;AACpB,CAAC,CAAC"}
@@ -1,10 +1,18 @@
1
- export function useFooter({ host, ...rest }: {
2
- [x: string]: any;
3
- host: any;
4
- }): {
5
- csvFilename: any;
6
- xlsxFilename: any;
7
- xlsxSheetname: any;
8
- topPlacement: any;
1
+ interface FooterHost extends HTMLElement {
2
+ csvFilename?: string;
3
+ xlsxFilename?: string;
4
+ xlsxSheetname?: string;
5
+ topPlacement?: string;
6
+ }
7
+ interface UseFooterParams {
8
+ host: FooterHost;
9
+ [key: string]: unknown;
10
+ }
11
+ export declare const useFooter: ({ host, ...rest }: UseFooterParams) => {
12
+ csvFilename: string;
13
+ xlsxFilename: string;
14
+ xlsxSheetname: string;
15
+ topPlacement: string;
9
16
  };
17
+ export {};
10
18
  //# sourceMappingURL=use-footer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-footer.d.ts","sourceRoot":"","sources":["../../src/lib/use-footer.js"],"names":[],"mappings":"AAAO;;;;;;;;EAeN"}
1
+ {"version":3,"file":"use-footer.d.ts","sourceRoot":"","sources":["../../src/lib/use-footer.ts"],"names":[],"mappings":"AAAA,UAAU,UAAW,SAAQ,WAAW;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,eAAe;IACxB,IAAI,EAAE,UAAU,CAAC;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,SAAS,GAAI,mBAAmB,eAAe;;;;;CAe3D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-footer.js","sourceRoot":"","sources":["../../src/lib/use-footer.js"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC9C,MAAM,EACL,WAAW,GAAG,eAAe,EAC7B,YAAY,GAAG,gBAAgB,EAC/B,aAAa,GAAG,WAAW,EAC3B,YAAY,GAAG,SAAS,GACxB,GAAG,IAAI,CAAC;IAET,OAAO;QACN,WAAW;QACX,YAAY;QACZ,aAAa;QACb,YAAY;QACZ,GAAG,IAAI;KACP,CAAC;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"use-footer.js","sourceRoot":"","sources":["../../src/lib/use-footer.ts"],"names":[],"mappings":"AAYA,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,EAAmB,EAAE,EAAE;IAC/D,MAAM,EACL,WAAW,GAAG,eAAe,EAC7B,YAAY,GAAG,gBAAgB,EAC/B,aAAa,GAAG,WAAW,EAC3B,YAAY,GAAG,SAAS,GACxB,GAAG,IAAI,CAAC;IAET,OAAO;QACN,WAAW;QACX,YAAY;QACZ,aAAa;QACb,YAAY;QACZ,GAAG,IAAI;KACP,CAAC;AACH,CAAC,CAAC"}
@@ -28,10 +28,10 @@ export function useOmnitable(host: any): {
28
28
  }) => import("lit-html").TemplateResult<1>;
29
29
  };
30
30
  footer: {
31
- csvFilename: any;
32
- xlsxFilename: any;
33
- xlsxSheetname: any;
34
- topPlacement: any;
31
+ csvFilename: string;
32
+ xlsxFilename: string;
33
+ xlsxSheetname: string;
34
+ topPlacement: string;
35
35
  };
36
36
  };
37
37
  //# sourceMappingURL=use-omnitable.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cosmoz-omnitable",
3
- "version": "14.28.1",
3
+ "version": "14.29.0",
4
4
  "description": "[![Build Status](https://travis-ci.org/Neovici/cosmoz-omnitable.svg?branch=master)](https://travis-ci.org/Neovici/cosmoz-omnitable)",
5
5
  "keywords": [
6
6
  "web-components"