@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "3.16.9",
3
+ "version": "3.16.11",
4
4
  "configKey": "core",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
package/dist/module.mjs CHANGED
@@ -4,7 +4,7 @@ import * as lodash from 'lodash-es';
4
4
  import * as theme from '../dist/runtime/theme/index.js';
5
5
 
6
6
  const name = "@finema/core";
7
- const version = "3.16.9";
7
+ const version = "3.16.11";
8
8
 
9
9
  const nuxtAppOptions = {
10
10
  head: {
@@ -7,17 +7,17 @@ type __VLS_Props = {
7
7
  target?: string | ((row: any) => string | undefined);
8
8
  preserveQuery?: boolean;
9
9
  };
10
- declare var __VLS_25: {}, __VLS_32: {}, __VLS_34: {}, __VLS_47: any, __VLS_48: any, __VLS_67: any, __VLS_68: any;
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 __VLS_47>]?: (props: typeof __VLS_48) => any;
12
+ [K in NonNullable<typeof __VLS_44>]?: (props: typeof __VLS_45) => any;
13
13
  } & {
14
- [K in NonNullable<typeof __VLS_67>]?: (props: typeof __VLS_68) => any;
14
+ [K in NonNullable<typeof __VLS_64>]?: (props: typeof __VLS_65) => any;
15
15
  } & {
16
- loading?: (props: typeof __VLS_25) => any;
16
+ loading?: (props: typeof __VLS_22) => any;
17
17
  } & {
18
- error?: (props: typeof __VLS_32) => any;
18
+ error?: (props: typeof __VLS_29) => any;
19
19
  } & {
20
- error?: (props: typeof __VLS_34) => any;
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", "select"]);
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 __VLS_25: {}, __VLS_32: {}, __VLS_34: {}, __VLS_47: any, __VLS_48: any, __VLS_67: any, __VLS_68: any;
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 __VLS_47>]?: (props: typeof __VLS_48) => any;
12
+ [K in NonNullable<typeof __VLS_44>]?: (props: typeof __VLS_45) => any;
13
13
  } & {
14
- [K in NonNullable<typeof __VLS_67>]?: (props: typeof __VLS_68) => any;
14
+ [K in NonNullable<typeof __VLS_64>]?: (props: typeof __VLS_65) => any;
15
15
  } & {
16
- loading?: (props: typeof __VLS_25) => any;
16
+ loading?: (props: typeof __VLS_22) => any;
17
17
  } & {
18
- error?: (props: typeof __VLS_32) => any;
18
+ error?: (props: typeof __VLS_29) => any;
19
19
  } & {
20
- error?: (props: typeof __VLS_34) => any;
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", "select", "update:columnPinning"]);
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[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "3.16.9",
3
+ "version": "3.16.11",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",