@finema/core 1.4.34 → 1.4.35

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.34",
3
+ "version": "1.4.35",
4
4
  "configKey": "core",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.7.4"
package/dist/module.mjs CHANGED
@@ -2,7 +2,7 @@ import { defineNuxtModule, createResolver, installModule, addPlugin, addComponen
2
2
  import 'lodash-es';
3
3
 
4
4
  const name = "@finema/core";
5
- const version = "1.4.34";
5
+ const version = "1.4.35";
6
6
 
7
7
  const colors = {
8
8
  black: "#20243E",
@@ -179,7 +179,7 @@ const button = {
179
179
  size: "md",
180
180
  variant: "solid",
181
181
  color: "primary",
182
- loadingIcon: "i-heroicons-arrow-path-20-solid"
182
+ loadingIcon: "i-svg-spinners:180-ring"
183
183
  }
184
184
  };
185
185
 
@@ -366,7 +366,10 @@ const module = defineNuxtModule({
366
366
  select,
367
367
  selectMenu,
368
368
  textarea,
369
- toggle
369
+ toggle,
370
+ icons: {
371
+ dynamic: true
372
+ }
370
373
  },
371
374
  nuxt.options.appConfig.ui
372
375
  );
@@ -12,6 +12,7 @@ export interface IRequester {
12
12
  put: <T>(path: string, payload: any, options?: AxiosRequestConfig) => Promise<IResponse<T>>;
13
13
  delete: <T>(path: string, options?: AxiosRequestConfig) => Promise<IResponse<T>>;
14
14
  post: <T>(path: string, payload: any, options?: AxiosRequestConfig) => Promise<IResponse<T>>;
15
+ postForm: <T>(path: string, payload: any, options?: AxiosRequestConfig) => Promise<IResponse<T>>;
15
16
  create: <T>(method: Method, path: string, payload: any, options?: AxiosRequestConfig) => Promise<IResponse<T>>;
16
17
  }
17
18
  export declare class Requester {
@@ -25,6 +26,7 @@ export declare class Requester {
25
26
  put<T>(path: string, payload: any, options?: AxiosRequestConfig): Promise<IResponse<T>>;
26
27
  delete<T>(path: string, options?: AxiosRequestConfig): Promise<IResponse<T>>;
27
28
  post<T>(path: string, payload: any, options?: AxiosRequestConfig): Promise<IResponse<T>>;
29
+ postForm<T>(path: string, payload: any, options?: AxiosRequestConfig): Promise<IResponse<T>>;
28
30
  create<T>(method: Method, path: string, payload: any, options?: AxiosRequestConfig): Promise<IResponse<T>>;
29
31
  }
30
32
  export declare const NewRequester: IRequester;
@@ -24,6 +24,9 @@ export class Requester {
24
24
  async post(path, payload, options = {}) {
25
25
  return this.service.post(path, payload, options);
26
26
  }
27
+ async postForm(path, payload, options = {}) {
28
+ return this.service.postForm(path, payload, options);
29
+ }
27
30
  async create(method, path, payload, options = {}) {
28
31
  return this.service({
29
32
  method,
@@ -2,6 +2,6 @@ import { breadcrumb as inheritBreadcrumb } from "#ui/ui.config";
2
2
  export const breadcrumb = {
3
3
  ...inheritBreadcrumb,
4
4
  default: {
5
- divider: "i-heroicons-chevron-right-20-solid rtl:i-heroicons-chevron-left-20-solid"
5
+ divider: "i-heroicons-chevron-right-20-solid"
6
6
  }
7
7
  };
@@ -3,6 +3,6 @@ export const button = {
3
3
  size: "md",
4
4
  variant: "solid",
5
5
  color: "primary",
6
- loadingIcon: "i-heroicons-arrow-path-20-solid"
6
+ loadingIcon: "i-svg-spinners:180-ring"
7
7
  }
8
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "1.4.34",
3
+ "version": "1.4.35",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",