@opengis/table 0.0.23 → 0.0.25
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/components/ColumnsSettings.vue.d.ts +11 -0
- package/dist/components/ColumnsSettings.vue.d.ts.map +1 -0
- package/dist/components/DataTable.vue.d.ts +6 -6
- package/dist/components/DataTable.vue.d.ts.map +1 -1
- package/dist/components/Export.vue.d.ts +8 -0
- package/dist/components/Export.vue.d.ts.map +1 -0
- package/dist/components/Pagination.vue.d.ts +1 -1
- package/dist/components/Pagination.vue.d.ts.map +1 -1
- package/dist/components/nodata.vue.d.ts +10 -0
- package/dist/components/nodata.vue.d.ts.map +1 -0
- package/dist/composables/i18n.d.ts +3 -0
- package/dist/composables/i18n.d.ts.map +1 -0
- package/dist/composables/useLocale.d.ts +2 -0
- package/dist/composables/useLocale.d.ts.map +1 -0
- package/dist/formats/LinkFormat.vue.d.ts +1 -1
- package/dist/formats/LinkFormat.vue.d.ts.map +1 -1
- package/dist/formats/index.d.ts +1 -1
- package/dist/formats/index.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +4924 -452
- package/dist/index.umd.js +21 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/makeDynamic.d.ts +11 -0
- package/dist/utils/makeDynamic.d.ts.map +1 -0
- package/dist/utils/slotCache.d.ts +2 -0
- package/dist/utils/slotCache.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Column } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
columns: Column[];
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
+
"update:columns": (value: Column[]) => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
"onUpdate:columns"?: ((value: Column[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=ColumnsSettings.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColumnsSettings.vue.d.ts","sourceRoot":"","sources":["../../src/components/ColumnsSettings.vue"],"names":[],"mappings":"AA+JA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAKlC,KAAK,WAAW,GAAG;IAAE,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;;;;;;AAoWzC,wBAOG"}
|
|
@@ -12,7 +12,7 @@ declare var __VLS_1: {
|
|
|
12
12
|
}, __VLS_9: {
|
|
13
13
|
row: any;
|
|
14
14
|
value: any;
|
|
15
|
-
},
|
|
15
|
+
}, __VLS_27: {
|
|
16
16
|
row: any;
|
|
17
17
|
};
|
|
18
18
|
type __VLS_Slots = {} & {
|
|
@@ -26,7 +26,7 @@ type __VLS_Slots = {} & {
|
|
|
26
26
|
} & {
|
|
27
27
|
array?: (props: typeof __VLS_9) => any;
|
|
28
28
|
} & {
|
|
29
|
-
action?: (props: typeof
|
|
29
|
+
action?: (props: typeof __VLS_27) => any;
|
|
30
30
|
};
|
|
31
31
|
declare const __VLS_component: import("vue").DefineComponent<InternalDataTableProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
32
|
sort: (sortConfig: SortConfig[]) => any;
|
|
@@ -39,13 +39,15 @@ declare const __VLS_component: import("vue").DefineComponent<InternalDataTablePr
|
|
|
39
39
|
"onUpdate:selectedRows"?: ((rows: any[]) => any) | undefined;
|
|
40
40
|
"onRow-click"?: ((row: any) => any) | undefined;
|
|
41
41
|
}>, {
|
|
42
|
+
columns: Column[];
|
|
43
|
+
sortable: boolean;
|
|
44
|
+
getCellData: import("../types").GetCellDataHook;
|
|
45
|
+
size: TableSize;
|
|
42
46
|
page: number;
|
|
43
47
|
limit: number;
|
|
44
48
|
total: number;
|
|
45
49
|
theme: import("../types").TableTheme;
|
|
46
|
-
size: TableSize;
|
|
47
50
|
rows: any[];
|
|
48
|
-
columns: Column[];
|
|
49
51
|
tableStyle: string;
|
|
50
52
|
loading: boolean;
|
|
51
53
|
classWrapper: string;
|
|
@@ -59,9 +61,7 @@ declare const __VLS_component: import("vue").DefineComponent<InternalDataTablePr
|
|
|
59
61
|
selectable: boolean;
|
|
60
62
|
selectedRows: any[];
|
|
61
63
|
showPagination: boolean;
|
|
62
|
-
sortable: boolean;
|
|
63
64
|
clickable: boolean;
|
|
64
|
-
getCellData: import("../types").GetCellDataHook;
|
|
65
65
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
66
66
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
67
67
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../src/components/DataTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../src/components/DataTable.vue"],"names":[],"mappings":"AA8xBA,OAAO,KAAK,EACV,MAAM,EAAE,sBAAsB,EAAE,SAAS,EAAiB,UAAU,EACrE,MAAM,UAAU,CAAC;AAi9BlB,QAAA,IAAI,OAAO;;CAAU,EAAE,OAAO;;CAAU,EAAE,OAAO;;;CAAU,EAAE,OAAO;;;CAAU,EAAE,OAAO;;;CAAU,EAAE,QAAQ;;CAAY,CAAE;AACzH,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAuD/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAQnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Column } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
table: string;
|
|
4
|
+
columns: Column[];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=Export.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Export.vue.d.ts","sourceRoot":"","sources":["../../src/components/Export.vue"],"names":[],"mappings":"AAoPA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC,KAAK,WAAW,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;;AA2uBxD,wBAMG"}
|
|
@@ -11,8 +11,8 @@ declare const _default: import("vue").DefineComponent<PaginationProps, {}, {}, {
|
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<PaginationProps> & Readonly<{
|
|
12
12
|
"onUpdate:page"?: ((page: number) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
|
-
theme: "light" | "dark" | "auto";
|
|
15
14
|
size: TableSize;
|
|
15
|
+
theme: "light" | "dark" | "auto";
|
|
16
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
export default _default;
|
|
18
18
|
//# sourceMappingURL=Pagination.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.vue.d.ts","sourceRoot":"","sources":["../../src/components/Pagination.vue"],"names":[],"mappings":"AA0OA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAClC,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;;;;;;
|
|
1
|
+
{"version":3,"file":"Pagination.vue.d.ts","sourceRoot":"","sources":["../../src/components/Pagination.vue"],"names":[],"mappings":"AA0OA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAClC,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;;;;;;UADQ,SAAS;WADR,OAAO,GAAG,MAAM,GAAG,MAAM;;AA0TnC,wBAQG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
title?: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=nodata.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nodata.vue.d.ts","sourceRoot":"","sources":["../../src/components/nodata.vue"],"names":[],"mappings":"AA4DA,UAAU,KAAK;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACvB;;WAFU,MAAM;iBACA,MAAM;;AAySxB,wBAOG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/composables/i18n.ts"],"names":[],"mappings":"wBAWK,GAAG;AAXR,wBAWS"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLocale.d.ts","sourceRoot":"","sources":["../../src/composables/useLocale.ts"],"names":[],"mappings":"AAUA,MAAM,CAAC,OAAO,UAAU,SAAS,QAGhC"}
|
|
@@ -6,8 +6,8 @@ interface LinkFormatProps extends FormatComponentProps {
|
|
|
6
6
|
}
|
|
7
7
|
declare const _default: import("vue").DefineComponent<LinkFormatProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkFormatProps> & Readonly<{}>, {
|
|
8
8
|
onClick: (row: any, value: any) => void;
|
|
9
|
-
href: string;
|
|
10
9
|
target: string;
|
|
10
|
+
href: string;
|
|
11
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
export default _default;
|
|
13
13
|
//# sourceMappingURL=LinkFormat.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkFormat.vue.d.ts","sourceRoot":"","sources":["../../src/formats/LinkFormat.vue"],"names":[],"mappings":"AAsEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAErD,UAAU,eAAgB,SAAQ,oBAAoB;IACpD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CAC1C;;aADW,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI;
|
|
1
|
+
{"version":3,"file":"LinkFormat.vue.d.ts","sourceRoot":"","sources":["../../src/formats/LinkFormat.vue"],"names":[],"mappings":"AAsEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAErD,UAAU,eAAgB,SAAQ,oBAAoB;IACpD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CAC1C;;aADW,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI;YAD/B,MAAM;UADR,MAAM;;AAmGf,wBAOG"}
|
package/dist/formats/index.d.ts
CHANGED
|
@@ -12,5 +12,5 @@ export declare const formatComponents: {
|
|
|
12
12
|
array: import("vue").DefineComponent<import("../index.js").FormatComponentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("../index.js").FormatComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
select: import("vue").DefineComponent<import("../index.js").FormatComponentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("../index.js").FormatComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
};
|
|
15
|
-
export { NumberFormat, DateFormat, TextFormat, BadgeFormat, SelectFormat, ArrayFormat
|
|
15
|
+
export { NumberFormat, DateFormat, TextFormat, BadgeFormat, SelectFormat, ArrayFormat };
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/formats/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAC9C,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAC1C,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAC1C,OAAO,WAAW,MAAM,mBAAmB,CAAC;AAC5C,OAAO,WAAW,MAAM,mBAAmB,CAAC;AAE5C,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAE9C,eAAO,MAAM,gBAAgB;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/formats/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAC9C,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAC1C,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAC1C,OAAO,WAAW,MAAM,mBAAmB,CAAC;AAC5C,OAAO,WAAW,MAAM,mBAAmB,CAAC;AAE5C,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAE9C,eAAO,MAAM,gBAAgB;;;;;;;CAO5B,CAAC;AAEF,OAAO,EACL,YAAY,EACZ,UAAU,EACV,UAAU,EACV,WAAW,EACX,YAAY,EACZ,WAAW,EACZ,CAAC"}
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.badge[data-v-f4b15092]{transition:all .2s ease-in-out}.badge[data-v-f4b15092]:hover{transform:scale(1.05)}
|
|
1
|
+
.badge[data-v-f4b15092]{transition:all .2s ease-in-out}.badge[data-v-f4b15092]:hover{transform:scale(1.05)}.ui-dialog__modal[data-v-c3821687]{margin:10px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);min-height:0;height:fit-content;max-height:80vh;overflow:hidden}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import ColumnsSettings from "./components/ColumnsSettings.vue";
|
|
1
2
|
export * from './components';
|
|
2
3
|
export * from './types';
|
|
3
4
|
export * from './formats';
|
|
@@ -7,6 +8,7 @@ import Column from './components/Column.vue';
|
|
|
7
8
|
import Pagination from './components/Pagination.vue';
|
|
8
9
|
import SelectionInfo from './components/SelectionInfo.vue';
|
|
9
10
|
import CodeTabs from './components/CodeTabs.vue';
|
|
11
|
+
import Export from "./components/Export.vue";
|
|
10
12
|
export default V3Table;
|
|
11
|
-
export { Column, Pagination, SelectionInfo, CodeTabs, };
|
|
13
|
+
export { Column, Pagination, SelectionInfo, CodeTabs, ColumnsSettings, Export };
|
|
12
14
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAK1B,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,OAAO,MAAM,4BAA4B,CAAC;AACjD,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAC7C,OAAO,UAAU,MAAM,6BAA6B,CAAC;AACrD,OAAO,aAAa,MAAM,gCAAgC,CAAC;AAC3D,OAAO,QAAQ,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,eAAe,MAAM,kCAAkC,CAAC;AAE/D,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAK1B,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,OAAO,MAAM,4BAA4B,CAAC;AACjD,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAC7C,OAAO,UAAU,MAAM,6BAA6B,CAAC;AACrD,OAAO,aAAa,MAAM,gCAAgC,CAAC;AAC3D,OAAO,QAAQ,MAAM,2BAA2B,CAAC;AACjD,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAW7C,eAAe,OAAO,CAAC;AAGvB,OAAO,EACL,MAAM,EACN,UAAU,EACV,aAAa,EACb,QAAQ,EACR,eAAe,EACf,MAAM,EACP,CAAC"}
|