@finema/core 1.4.86 → 1.4.88

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": "1.4.86",
3
+ "version": "1.4.88",
4
4
  "configKey": "core",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.7.4"
package/dist/module.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineNuxtModule, createResolver, installModule, addPlugin, addComponentsDir, addImportsDir } from '@nuxt/kit';
2
2
 
3
3
  const name = "@finema/core";
4
- const version = "1.4.86";
4
+ const version = "1.4.88";
5
5
 
6
6
  const colors = {
7
7
  black: "#20243E",
@@ -14,9 +14,7 @@
14
14
  <slot v-else />
15
15
  </template>
16
16
  <script lang="ts" setup>
17
- import { defineComponent } from '#imports'
18
-
19
- defineComponent({
17
+ defineOptions({
20
18
  inheritAttrs: false,
21
19
  })
22
20
 
@@ -1,4 +1,10 @@
1
1
  import type { ComputedRef } from 'vue';
2
+ import type { IUsePageLoader } from '#core/helpers/apiPageHelper';
2
3
  import type { IFlexDeckOptions } from '#core/components/FlexDeck/types';
4
+ import type { Store } from 'pinia';
5
+ export interface IUseFlexDeck<T = object> {
6
+ repo: IUsePageLoader<T> | Store<any, any>;
7
+ options?: (() => Partial<IFlexDeckOptions<T>>) | Partial<IFlexDeckOptions<T>>;
8
+ }
3
9
  export declare const createFlexDeckOptions: <T = object>(repo: IUsePageLoader<T>, options: IFlexDeckOptions<T>) => IFlexDeckOptions<T>;
4
- export declare const useFlexDeck: <T = object>(options: IUseTable<T>) => ComputedRef<IFlexDeckOptions<T>>;
10
+ export declare const useFlexDeck: <T = object>(options: IUseFlexDeck<T>) => ComputedRef<IFlexDeckOptions<T>>;
@@ -1,32 +1 @@
1
- :root {
2
- --dp-font-family: inherit !important;
3
- }
4
-
5
- .dp__theme_light {
6
- --dp-primary-color: rgb(var(--color-primary-DEFAULT)) !important;
7
- --dp-primary-disabled-color: rgb(var(--color-primary-200)) !important;
8
- }
9
-
10
- ::-webkit-scrollbar {
11
- -webkit-appearance: none;
12
- width: 10px;
13
- height: 10px;
14
- }
15
-
16
- ::-webkit-scrollbar-thumb {
17
- border-radius: 4px;
18
- background-color: rgb(0 0 0 / 30%);
19
- box-shadow: 0 0 1px rgb(255 255 255 / 50%);
20
- }
21
-
22
-
23
- html,
24
- body,
25
- #__nuxt,
26
- #__layout,
27
- .root-container {
28
- height: 100%;
29
- display: flex;
30
- flex-direction: column;
31
- }
32
-
1
+ :root{--dp-font-family:inherit!important}.dp__theme_light{--dp-primary-color:rgb(var(--color-primary-DEFAULT))!important;--dp-primary-disabled-color:rgb(var(--color-primary-200))!important}::-webkit-scrollbar{-webkit-appearance:none;height:10px;width:10px}::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.3);border-radius:4px;box-shadow:0 0 1px hsla(0,0%,100%,.5)}#__layout,#__nuxt,.root-container,body,html{display:flex;flex-direction:column;height:100%}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "1.4.86",
3
+ "version": "1.4.88",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",
@@ -80,5 +80,9 @@
80
80
  "lint-staged": {
81
81
  "*.{ts,vue,tsx,js}": "eslint --fix --cache",
82
82
  "*.{html,json}": "prettier --write"
83
- }
83
+ },
84
+ "workspaces": [
85
+ "./*"
86
+ ],
87
+ "packageManager": "yarn@4.1.1"
84
88
  }