@neovici/cosmoz-omnitable 14.28.1 → 14.30.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/grouped-list/cosmoz-grouped-list-row.d.ts.map +1 -1
- package/dist/grouped-list/cosmoz-grouped-list-row.js.map +1 -1
- package/dist/lib/settings/drivers/context.d.ts +4 -4
- package/dist/lib/settings/drivers/local.d.ts +4 -4
- package/dist/lib/settings/drivers/local.d.ts.map +1 -1
- package/dist/lib/settings/drivers/local.js +5 -1
- package/dist/lib/settings/drivers/local.js.map +1 -1
- package/dist/lib/use-canvas-width.d.ts +1 -1
- package/dist/lib/use-canvas-width.d.ts.map +1 -1
- package/dist/lib/use-canvas-width.js.map +1 -1
- package/dist/lib/use-footer.d.ts +16 -8
- package/dist/lib/use-footer.d.ts.map +1 -1
- package/dist/lib/use-footer.js.map +1 -1
- package/dist/lib/use-omnitable.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cosmoz-grouped-list-row.d.ts","sourceRoot":"","sources":["../../src/grouped-list/cosmoz-grouped-list-row.
|
|
1
|
+
{"version":3,"file":"cosmoz-grouped-list-row.d.ts","sourceRoot":"","sources":["../../src/grouped-list/cosmoz-grouped-list-row.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cosmoz-grouped-list-row.js","sourceRoot":"","sources":["../../src/grouped-list/cosmoz-grouped-list-row.
|
|
1
|
+
{"version":3,"file":"cosmoz-grouped-list-row.js","sourceRoot":"","sources":["../../src/grouped-list/cosmoz-grouped-list-row.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,cAAc,CAAC,MAAM,CACpB,yBAAyB,EACzB,MAAM,OAAQ,SAAQ,WAAW;IAKhC,IAAI,IAAI;QACP,OAAO,IAAI,CAAC,KAAK,CAAC;IACnB,CAAC;IAED,IAAI,IAAI,CAAC,IAAsB;QAC9B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,OAAO,EAAE,CAAC;IAChB,CAAC;IAED,IAAI,KAAK;QACR,OAAO,IAAI,CAAC,MAAM,CAAC;IACpB,CAAC;IAED,IAAI,KAAK,CAAC,KAAyB;QAClC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,OAAO,EAAE,CAAC;IAChB,CAAC;IAED,IAAI,QAAQ;QACX,OAAO,IAAI,CAAC,SAAS,CAAC;IACvB,CAAC;IAED,IAAI,QAAQ,CACX,QAA8D;QAE9D,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;QAC1B,IAAI,CAAC,OAAO,EAAE,CAAC;IAChB,CAAC;IAED,OAAO;QACN,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE,CAAC;YACzE,OAAO;QACR,CAAC;QAED,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACD,CACD,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export const DriverContext: import("@pionjs/pion/lib/create-context").Context<({ prefix }?: {
|
|
2
2
|
prefix?: string | undefined;
|
|
3
3
|
}) => {
|
|
4
|
-
write: (settingsId:
|
|
5
|
-
read: (settingsId:
|
|
4
|
+
write: (settingsId: string, settings: string) => Promise<void>;
|
|
5
|
+
read: (settingsId: string) => Promise<any>;
|
|
6
6
|
}>;
|
|
7
7
|
export function useDriver(): {
|
|
8
|
-
write: (settingsId:
|
|
9
|
-
read: (settingsId:
|
|
8
|
+
write: (settingsId: string, settings: string) => Promise<void>;
|
|
9
|
+
read: (settingsId: string) => Promise<any>;
|
|
10
10
|
};
|
|
11
11
|
export function registerProvider(): void;
|
|
12
12
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: ({ prefix }?: {
|
|
2
2
|
prefix?: string | undefined;
|
|
3
|
-
})
|
|
4
|
-
write: (settingsId:
|
|
5
|
-
read: (settingsId:
|
|
3
|
+
}) => {
|
|
4
|
+
write: (settingsId: string, settings: string) => Promise<void>;
|
|
5
|
+
read: (settingsId: string) => Promise<any>;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
//# sourceMappingURL=local.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local.d.ts","sourceRoot":"","sources":["../../../../src/lib/settings/drivers/local.
|
|
1
|
+
{"version":3,"file":"local.d.ts","sourceRoot":"","sources":["../../../../src/lib/settings/drivers/local.ts"],"names":[],"mappings":"yBAAgB;;CAA8B;wBAqBlB,MAAM,YAAY,MAAM;uBApBnB,MAAM;;AADvC,wBAqCE"}
|
|
@@ -4,7 +4,11 @@ export default ({ prefix = 'omnitable-' } = {}) => {
|
|
|
4
4
|
return;
|
|
5
5
|
}
|
|
6
6
|
try {
|
|
7
|
-
|
|
7
|
+
const item = localStorage.getItem(prefix + settingsId);
|
|
8
|
+
if (item == null) {
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
return JSON.parse(item);
|
|
8
12
|
}
|
|
9
13
|
catch (e) {
|
|
10
14
|
// eslint-disable-next-line no-console
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local.js","sourceRoot":"","sources":["../../../../src/lib/settings/drivers/local.
|
|
1
|
+
{"version":3,"file":"local.js","sourceRoot":"","sources":["../../../../src/lib/settings/drivers/local.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,EAAE,MAAM,GAAG,YAAY,EAAE,GAAG,EAAE,EAAE,EAAE;IACjD,MAAM,IAAI,GAAG,KAAK,EAAE,UAAkB,EAAE,EAAE;QACzC,IAAI,CAAC,UAAU,EAAE,CAAC;YACjB,OAAO;QACR,CAAC;QAED,IAAI,CAAC;YACJ,MAAM,IAAI,GAAG,YAAY,CAAC,OAAO,CAAC,MAAM,GAAG,UAAU,CAAC,CAAC;YAEvD,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;gBAClB,OAAO;YACR,CAAC;YAED,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACzB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACZ,sCAAsC;YACtC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC;IACF,CAAC,CAAC;IAEF,OAAO;QACN,KAAK,EAAE,KAAK,EAAE,UAAkB,EAAE,QAAgB,EAAE,EAAE;YACrD,MAAM,GAAG,GAAG,MAAM,GAAG,UAAU,CAAC;YAEhC,IAAI,CAAC;gBACJ,IAAI,QAAQ,EAAE,CAAC;oBACd,YAAY,CAAC,OAAO,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC;gBACrD,CAAC;qBAAM,CAAC;oBACP,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;gBAC9B,CAAC;YACF,CAAC;YAAC,OAAO,CAAC,EAAE,CAAC;gBACZ,sCAAsC;gBACtC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAClB,CAAC;QACF,CAAC;QACD,IAAI;KACJ,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
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.
|
|
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.
|
|
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"}
|
package/dist/lib/use-footer.d.ts
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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.
|
|
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.
|
|
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:
|
|
32
|
-
xlsxFilename:
|
|
33
|
-
xlsxSheetname:
|
|
34
|
-
topPlacement:
|
|
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.
|
|
3
|
+
"version": "14.30.0",
|
|
4
4
|
"description": "[](https://travis-ci.org/Neovici/cosmoz-omnitable)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components"
|