@finema/core 3.16.9 → 3.16.11
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/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/Table/Base.d.vue.ts +6 -6
- package/dist/runtime/components/Table/Base.vue +1 -5
- package/dist/runtime/components/Table/Base.vue.d.ts +6 -6
- package/dist/runtime/components/Table/index.d.vue.ts +0 -2
- package/dist/runtime/components/Table/index.vue +1 -2
- package/dist/runtime/components/Table/index.vue.d.ts +0 -2
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -7,17 +7,17 @@ type __VLS_Props = {
|
|
|
7
7
|
target?: string | ((row: any) => string | undefined);
|
|
8
8
|
preserveQuery?: boolean;
|
|
9
9
|
};
|
|
10
|
-
declare var
|
|
10
|
+
declare var __VLS_22: {}, __VLS_29: {}, __VLS_31: {}, __VLS_44: any, __VLS_45: any, __VLS_64: any, __VLS_65: any;
|
|
11
11
|
type __VLS_Slots = {} & {
|
|
12
|
-
[K in NonNullable<typeof
|
|
12
|
+
[K in NonNullable<typeof __VLS_44>]?: (props: typeof __VLS_45) => any;
|
|
13
13
|
} & {
|
|
14
|
-
[K in NonNullable<typeof
|
|
14
|
+
[K in NonNullable<typeof __VLS_64>]?: (props: typeof __VLS_65) => any;
|
|
15
15
|
} & {
|
|
16
|
-
loading?: (props: typeof
|
|
16
|
+
loading?: (props: typeof __VLS_22) => any;
|
|
17
17
|
} & {
|
|
18
|
-
error?: (props: typeof
|
|
18
|
+
error?: (props: typeof __VLS_29) => any;
|
|
19
19
|
} & {
|
|
20
|
-
error?: (props: typeof
|
|
20
|
+
error?: (props: typeof __VLS_31) => any;
|
|
21
21
|
};
|
|
22
22
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
:data="options.rawData"
|
|
24
24
|
v-bind="$attrs"
|
|
25
25
|
:ui="ui"
|
|
26
|
-
@select="onSelect"
|
|
27
26
|
>
|
|
28
27
|
<template #loading>
|
|
29
28
|
<Loader :loading="true" />
|
|
@@ -150,7 +149,7 @@ import ColumnText from "#core/components/Table/ColumnText.vue";
|
|
|
150
149
|
import UTable from "#ui/components/Table";
|
|
151
150
|
import Pagination from "./Pagination.vue";
|
|
152
151
|
import { tableTheme } from "#core/theme/table";
|
|
153
|
-
const emits = defineEmits(["pageChange", "search"
|
|
152
|
+
const emits = defineEmits(["pageChange", "search"]);
|
|
154
153
|
const props = defineProps({
|
|
155
154
|
options: { type: Object, required: true },
|
|
156
155
|
ui: { type: null, required: false },
|
|
@@ -237,9 +236,6 @@ const onPageChange = (newPage) => {
|
|
|
237
236
|
page.value = newPage;
|
|
238
237
|
emits("pageChange", newPage);
|
|
239
238
|
};
|
|
240
|
-
const onSelect = (rows) => {
|
|
241
|
-
emits("select", rows);
|
|
242
|
-
};
|
|
243
239
|
const changePageLimit = (limit) => {
|
|
244
240
|
pageLimit.value = limit;
|
|
245
241
|
if (!props.options.repo) {
|
|
@@ -7,17 +7,17 @@ type __VLS_Props = {
|
|
|
7
7
|
target?: string | ((row: any) => string | undefined);
|
|
8
8
|
preserveQuery?: boolean;
|
|
9
9
|
};
|
|
10
|
-
declare var
|
|
10
|
+
declare var __VLS_22: {}, __VLS_29: {}, __VLS_31: {}, __VLS_44: any, __VLS_45: any, __VLS_64: any, __VLS_65: any;
|
|
11
11
|
type __VLS_Slots = {} & {
|
|
12
|
-
[K in NonNullable<typeof
|
|
12
|
+
[K in NonNullable<typeof __VLS_44>]?: (props: typeof __VLS_45) => any;
|
|
13
13
|
} & {
|
|
14
|
-
[K in NonNullable<typeof
|
|
14
|
+
[K in NonNullable<typeof __VLS_64>]?: (props: typeof __VLS_65) => any;
|
|
15
15
|
} & {
|
|
16
|
-
loading?: (props: typeof
|
|
16
|
+
loading?: (props: typeof __VLS_22) => any;
|
|
17
17
|
} & {
|
|
18
|
-
error?: (props: typeof
|
|
18
|
+
error?: (props: typeof __VLS_29) => any;
|
|
19
19
|
} & {
|
|
20
|
-
error?: (props: typeof
|
|
20
|
+
error?: (props: typeof __VLS_31) => any;
|
|
21
21
|
};
|
|
22
22
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -19,7 +19,6 @@ type __VLS_Props = {
|
|
|
19
19
|
type __VLS_Slots = Slot;
|
|
20
20
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
21
21
|
search: (q: string) => any;
|
|
22
|
-
select: (rows: any[]) => any;
|
|
23
22
|
pageChange: (page: number) => any;
|
|
24
23
|
"update:columnPinning": (value: {
|
|
25
24
|
left: string[];
|
|
@@ -27,7 +26,6 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
27
26
|
}) => any;
|
|
28
27
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
28
|
onSearch?: ((q: string) => any) | undefined;
|
|
30
|
-
onSelect?: ((rows: any[]) => any) | undefined;
|
|
31
29
|
onPageChange?: ((page: number) => any) | undefined;
|
|
32
30
|
"onUpdate:columnPinning"?: ((value: {
|
|
33
31
|
left: string[];
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
:preserve-query="preserveQuery"
|
|
25
25
|
@page-change="onPageChange"
|
|
26
26
|
@search="emits('search', q)"
|
|
27
|
-
@select="emits('select', $event)"
|
|
28
27
|
>
|
|
29
28
|
<template
|
|
30
29
|
v-for="(_, slot) of $slots"
|
|
@@ -44,7 +43,7 @@ import { computed } from "vue";
|
|
|
44
43
|
import { _debounce, ref, useUiConfig, watch } from "#imports";
|
|
45
44
|
import { tableTheme } from "#core/theme/table";
|
|
46
45
|
import Base from "#core/components/Table/Base.vue";
|
|
47
|
-
const emits = defineEmits(["pageChange", "search", "
|
|
46
|
+
const emits = defineEmits(["pageChange", "search", "update:columnPinning"]);
|
|
48
47
|
const props = defineProps({
|
|
49
48
|
options: { type: Object, required: true },
|
|
50
49
|
ui: { type: null, required: false },
|
|
@@ -19,7 +19,6 @@ type __VLS_Props = {
|
|
|
19
19
|
type __VLS_Slots = Slot;
|
|
20
20
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
21
21
|
search: (q: string) => any;
|
|
22
|
-
select: (rows: any[]) => any;
|
|
23
22
|
pageChange: (page: number) => any;
|
|
24
23
|
"update:columnPinning": (value: {
|
|
25
24
|
left: string[];
|
|
@@ -27,7 +26,6 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
27
26
|
}) => any;
|
|
28
27
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
28
|
onSearch?: ((q: string) => any) | undefined;
|
|
30
|
-
onSelect?: ((rows: any[]) => any) | undefined;
|
|
31
29
|
onPageChange?: ((page: number) => any) | undefined;
|
|
32
30
|
"onUpdate:columnPinning"?: ((value: {
|
|
33
31
|
left: string[];
|