@finema/core 2.50.0 → 2.51.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/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "2.50.0",
3
+ "version": "2.51.0",
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 = "2.50.0";
7
+ const version = "2.51.0";
8
8
 
9
9
  const nuxtAppOptions = {
10
10
  head: {
@@ -1,7 +1,7 @@
1
1
  import { type ISimpleTableOptions, type ITableOptions } from '#core/components/Table/types';
2
2
  import { tableTheme } from '#core/theme/table';
3
3
  type __VLS_Props = {
4
- options: ITableOptions<any> | ISimpleTableOptions<any>;
4
+ options: ITableOptions<any> & ISimpleTableOptions<any>;
5
5
  ui?: typeof tableTheme['slots'];
6
6
  };
7
7
  declare var __VLS_22: {}, __VLS_29: {}, __VLS_31: {}, __VLS_45: string | number, __VLS_46: any;
@@ -3,7 +3,7 @@ import { tableTheme } from '../../theme/table.js';
3
3
  type __VLS_Props = {
4
4
  page: number;
5
5
  pageLimit: number;
6
- options: ITableOptions<any> | ISimpleTableOptions<any>;
6
+ options: ITableOptions<any> & ISimpleTableOptions<any>;
7
7
  ui?: typeof tableTheme['slots'];
8
8
  };
9
9
  declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
@@ -1,11 +1,13 @@
1
1
  import type { ISimpleTableOptions } from '#core/components/Table/types';
2
+ import type { tableTheme } from '../../theme/table.js';
3
+ import type { TableSlots } from '@nuxt/ui';
2
4
  type __VLS_Props = {
3
5
  options: ISimpleTableOptions<any>;
4
- ui?: any;
6
+ ui?: typeof tableTheme['slots'];
5
7
  };
6
- type __VLS_Slots = {
7
- 'empty-state': () => any;
8
- 'loading-state': () => any;
8
+ type __VLS_Slots = Slot;
9
+ type Slot = TableSlots<any> & {
10
+ error: (props?: Record<string, any>) => any;
9
11
  };
10
12
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
13
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "2.50.0",
3
+ "version": "2.51.0",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",