@finema/core 2.26.6 → 2.26.8

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.
Files changed (50) hide show
  1. package/dist/module.json +3 -3
  2. package/dist/module.mjs +1 -1
  3. package/dist/runtime/components/App.vue.d.ts +3 -3
  4. package/dist/runtime/components/DevToolsWindow/index.vue.d.ts +1 -1
  5. package/dist/runtime/components/Dialog/index.vue.d.ts +1 -1
  6. package/dist/runtime/components/Empty.vue.d.ts +1 -1
  7. package/dist/runtime/components/FlexDeck/index.vue.d.ts +1 -1
  8. package/dist/runtime/components/Form/FieldWrapper.vue.d.ts +3 -3
  9. package/dist/runtime/components/Form/Fields.vue.d.ts +1 -1
  10. package/dist/runtime/components/Form/InputCheckbox/index.vue.d.ts +1 -1
  11. package/dist/runtime/components/Form/InputDateTime/index.vue.d.ts +1 -1
  12. package/dist/runtime/components/Form/InputDateTimeRange/index.vue.d.ts +1 -1
  13. package/dist/runtime/components/Form/InputNumber/index.vue.d.ts +1 -1
  14. package/dist/runtime/components/Form/InputRadio/index.vue.d.ts +1 -1
  15. package/dist/runtime/components/Form/InputSearch/index.vue.d.ts +1 -1
  16. package/dist/runtime/components/Form/InputSelect/index.vue.d.ts +1 -1
  17. package/dist/runtime/components/Form/InputSelectMultiple/index.vue.d.ts +1 -1
  18. package/dist/runtime/components/Form/InputText/index.vue.d.ts +1 -1
  19. package/dist/runtime/components/Form/InputTextarea/index.vue.d.ts +1 -1
  20. package/dist/runtime/components/Form/InputToggle/index.vue.d.ts +1 -1
  21. package/dist/runtime/components/Form/InputUploadDropzone/index.vue.d.ts +1 -1
  22. package/dist/runtime/components/Form/InputUploadDropzoneAuto/index.vue.d.ts +1 -1
  23. package/dist/runtime/components/Form/InputWYSIWYG/UploadImageForm.vue.d.ts +1 -1
  24. package/dist/runtime/components/Form/InputWYSIWYG/index.vue +1 -1
  25. package/dist/runtime/components/Form/InputWYSIWYG/index.vue.d.ts +1 -1
  26. package/dist/runtime/components/Form/fileState/EmptyState.vue.d.ts +1 -1
  27. package/dist/runtime/components/Form/fileState/FailedState.vue.d.ts +1 -1
  28. package/dist/runtime/components/Form/fileState/LoadingState.vue.d.ts +1 -1
  29. package/dist/runtime/components/Form/fileState/PreviewModal.vue.d.ts +1 -1
  30. package/dist/runtime/components/Form/fileState/SuccessState.vue.d.ts +1 -1
  31. package/dist/runtime/components/Form/index.vue.d.ts +1 -1
  32. package/dist/runtime/components/Form/types.d.ts +1 -1
  33. package/dist/runtime/components/Image.vue.d.ts +1 -1
  34. package/dist/runtime/components/Loader.vue.d.ts +1 -1
  35. package/dist/runtime/components/Log/LogItem.vue.d.ts +1 -1
  36. package/dist/runtime/components/Log/index.vue.d.ts +1 -1
  37. package/dist/runtime/components/Table/Base.vue.d.ts +3 -3
  38. package/dist/runtime/components/Table/ColumnDate.vue.d.ts +1 -1
  39. package/dist/runtime/components/Table/ColumnDateTime.vue.d.ts +1 -1
  40. package/dist/runtime/components/Table/ColumnImage.vue.d.ts +1 -1
  41. package/dist/runtime/components/Table/ColumnNumber.vue.d.ts +1 -1
  42. package/dist/runtime/components/Table/ColumnText.vue.d.ts +1 -1
  43. package/dist/runtime/components/Table/Simple.vue.d.ts +1 -1
  44. package/dist/runtime/components/Table/index.vue.d.ts +1 -1
  45. package/dist/runtime/components/Table/types.d.ts +1 -2
  46. package/dist/runtime/components/TeleportSafe.vue.d.ts +3 -3
  47. package/dist/runtime/helpers/apiBaseHelper.js +3 -7
  48. package/dist/runtime/theme/button.d.ts +1 -1
  49. package/dist/runtime/theme/button.js +1 -1
  50. package/package.json +16 -16
package/dist/module.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "2.26.6",
3
+ "version": "2.26.8",
4
4
  "configKey": "core",
5
5
  "builder": {
6
- "@nuxt/module-builder": "1.0.1",
7
- "unbuild": "3.5.0"
6
+ "@nuxt/module-builder": "1.0.2",
7
+ "unbuild": "3.6.0"
8
8
  }
9
9
  }
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.26.6";
7
+ const version = "2.26.8";
8
8
 
9
9
  const nuxtAppOptions = {
10
10
  head: {
@@ -2,11 +2,11 @@ import type { ToasterProps } from '@nuxt/ui';
2
2
  type __VLS_Props = {
3
3
  toaster?: ToasterProps | null;
4
4
  };
5
- declare var __VLS_9: {};
5
+ declare var __VLS_11: {};
6
6
  type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_9) => any;
7
+ default?: (props: typeof __VLS_11) => any;
8
8
  };
9
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ 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>;
10
10
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
11
  export default _default;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import type { IDialogMetaItem } from '#core/composables/useDialog';
2
- declare const _default: import("vue").DefineComponent<IDialogMetaItem, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<IDialogMetaItem, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  close: (args_0: boolean) => any;
4
4
  }, string, import("vue").PublicProps, Readonly<IDialogMetaItem> & Readonly<{
5
5
  onClose?: ((args_0: boolean) => any) | undefined;
@@ -5,7 +5,7 @@ type __VLS_Props = {
5
5
  ui?: typeof emptyTheme['slots'];
6
6
  class?: any;
7
7
  };
8
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
8
+ declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
9
  message: any;
10
10
  icon: string;
11
11
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -17,7 +17,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
17
17
  type: (ArrayConstructor | ObjectConstructor | StringConstructor)[];
18
18
  default: string;
19
19
  };
20
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
20
+ }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
21
21
  search: (q: string) => any;
22
22
  pageChange: (page: number) => any;
23
23
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -2,11 +2,11 @@ import type { IFieldProps } from '#core/components/Form/types';
2
2
  type __VLS_Props = IFieldProps & {
3
3
  containerUi?: any;
4
4
  };
5
- declare var __VLS_6: {};
5
+ declare var __VLS_7: {};
6
6
  type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_6) => any;
7
+ default?: (props: typeof __VLS_7) => any;
8
8
  };
9
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ 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>;
10
10
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
11
  export default _default;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -8,7 +8,7 @@ type __VLS_Props = {
8
8
  class?: any;
9
9
  ui?: typeof formTheme['slots'];
10
10
  };
11
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
+ declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
12
  orientation: "horizontal" | "vertical";
13
13
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
14
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import type { ICheckboxFieldProps } from '#core/components/Form/InputCheckbox/types';
2
- declare const _default: import("vue").DefineComponent<ICheckboxFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<ICheckboxFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  change: (...args: any[]) => void;
4
4
  }, string, import("vue").PublicProps, Readonly<ICheckboxFieldProps> & Readonly<{
5
5
  onChange?: ((...args: any[]) => any) | undefined;
@@ -1,6 +1,6 @@
1
1
  import '@vuepic/vue-datepicker/dist/main.css';
2
2
  import type { IDateTimeFieldProps } from '#core/components/Form/InputDateTime/date_time_field.types';
3
- declare const _default: import("vue").DefineComponent<IDateTimeFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IDateTimeFieldProps> & Readonly<{}>, {
3
+ declare const _default: import("vue").DefineComponent<IDateTimeFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IDateTimeFieldProps> & Readonly<{}>, {
4
4
  clearIcon: string;
5
5
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
6
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import '@vuepic/vue-datepicker/dist/main.css';
2
2
  import type { IDateTimeRangeFieldProps } from './date_range_time_field.types.js';
3
- declare const _default: import("vue").DefineComponent<IDateTimeRangeFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IDateTimeRangeFieldProps> & Readonly<{}>, {
3
+ declare const _default: import("vue").DefineComponent<IDateTimeRangeFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IDateTimeRangeFieldProps> & Readonly<{}>, {
4
4
  clearIcon: string;
5
5
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
6
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import type { INumberFieldProps } from '#core/components/Form/InputNumber/types';
2
- declare const _default: import("vue").DefineComponent<INumberFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<INumberFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  change: (...args: any[]) => void;
4
4
  }, string, import("vue").PublicProps, Readonly<INumberFieldProps> & Readonly<{
5
5
  onChange?: ((...args: any[]) => any) | undefined;
@@ -1,5 +1,5 @@
1
1
  import type { IRadioFieldProps } from '#core/components/Form/InputRadio/types';
2
- declare const _default: import("vue").DefineComponent<IRadioFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<IRadioFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  change: (value: any) => any;
4
4
  }, string, import("vue").PublicProps, Readonly<IRadioFieldProps> & Readonly<{
5
5
  onChange?: ((value: any) => any) | undefined;
@@ -1,5 +1,5 @@
1
1
  import type { ISearchFieldProps } from '#core/components/Form/InputSearch/types';
2
- declare const _default: import("vue").DefineComponent<ISearchFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<ISearchFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  search: (...args: any[]) => void;
4
4
  clear: (...args: any[]) => void;
5
5
  change: (...args: any[]) => void;
@@ -1,5 +1,5 @@
1
1
  import type { ISelectFieldProps } from '#core/components/Form/InputSelect/types';
2
- declare const _default: import("vue").DefineComponent<ISelectFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<ISelectFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  change: (...args: any[]) => void;
4
4
  }, string, import("vue").PublicProps, Readonly<ISelectFieldProps> & Readonly<{
5
5
  onChange?: ((...args: any[]) => any) | undefined;
@@ -1,5 +1,5 @@
1
1
  import type { ISelectFieldProps } from '#core/components/Form/InputSelect/types';
2
- declare const _default: import("vue").DefineComponent<ISelectFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<ISelectFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  change: (...args: any[]) => void;
4
4
  }, string, import("vue").PublicProps, Readonly<ISelectFieldProps> & Readonly<{
5
5
  onChange?: ((...args: any[]) => any) | undefined;
@@ -1,5 +1,5 @@
1
1
  import type { ITextFieldProps } from '#core/components/Form/InputText/types';
2
- declare const _default: import("vue").DefineComponent<ITextFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<ITextFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  change: (...args: any[]) => void;
4
4
  }, string, import("vue").PublicProps, Readonly<ITextFieldProps> & Readonly<{
5
5
  onChange?: ((...args: any[]) => any) | undefined;
@@ -1,5 +1,5 @@
1
1
  import type { ITextareaFieldProps } from '#core/components/Form/InputTextarea/types';
2
- declare const _default: import("vue").DefineComponent<ITextareaFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<ITextareaFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  change: (...args: any[]) => void;
4
4
  }, string, import("vue").PublicProps, Readonly<ITextareaFieldProps> & Readonly<{
5
5
  onChange?: ((...args: any[]) => any) | undefined;
@@ -1,5 +1,5 @@
1
1
  import type { IToggleFieldProps } from '#core/components/Form/InputToggle/types';
2
- declare const _default: import("vue").DefineComponent<IToggleFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<IToggleFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  change: (...args: any[]) => void;
4
4
  }, string, import("vue").PublicProps, Readonly<IToggleFieldProps> & Readonly<{
5
5
  onChange?: ((...args: any[]) => any) | undefined;
@@ -1,5 +1,5 @@
1
1
  import type { IUploadDropzoneProps } from './types.js';
2
- declare const _default: import("vue").DefineComponent<IUploadDropzoneProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<IUploadDropzoneProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  delete: () => any;
4
4
  change: (value: File | undefined) => any;
5
5
  }, string, import("vue").PublicProps, Readonly<IUploadDropzoneProps> & Readonly<{
@@ -1,6 +1,6 @@
1
1
  import type { IUploadDropzoneAutoProps } from './types.js';
2
2
  import type { IFileValue } from '#core/components/Form/types';
3
- declare const _default: import("vue").DefineComponent<IUploadDropzoneAutoProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ declare const _default: import("vue").DefineComponent<IUploadDropzoneAutoProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
4
  success: (res: IFileValue) => any;
5
5
  delete: () => any;
6
6
  change: (value: File | undefined) => any;
@@ -3,7 +3,7 @@ interface Props {
3
3
  requestOptions?: any;
4
4
  };
5
5
  }
6
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ declare const _default: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
7
  submit: (url: string) => any;
8
8
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
9
9
  onSubmit?: ((url: string) => any) | undefined;
@@ -32,7 +32,7 @@
32
32
  />
33
33
  <template #fallback>
34
34
  <div
35
- class="min-h-[200px]"
35
+ class="prose min-h-[200px] px-4 py-2"
36
36
  v-html="value"
37
37
  />
38
38
  </template>
@@ -1,5 +1,5 @@
1
1
  import type { IWYSIWYGFieldProps } from '#core/components/Form/InputWYSIWYG/types';
2
- declare const _default: import("vue").DefineComponent<IWYSIWYGFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IWYSIWYGFieldProps> & Readonly<{}>, {
2
+ declare const _default: import("vue").DefineComponent<IWYSIWYGFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IWYSIWYGFieldProps> & Readonly<{}>, {
3
3
  size: "xs" | "sm" | "md" | "lg" | "xl";
4
4
  color: "primary" | "gray";
5
5
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -4,7 +4,7 @@ interface Props {
4
4
  selectFileSubLabel: string;
5
5
  placeholder?: string;
6
6
  }
7
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ declare const _default: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
8
  openFile: () => any;
9
9
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
10
10
  onOpenFile?: (() => any) | undefined;
@@ -4,7 +4,7 @@ interface Props {
4
4
  uploadFailedLabel: string;
5
5
  retryLabel: string;
6
6
  }
7
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ declare const _default: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
8
  delete: () => any;
9
9
  retry: () => any;
10
10
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
@@ -4,5 +4,5 @@ interface Props {
4
4
  percent: number;
5
5
  uploadingLabel: string;
6
6
  }
7
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
8
  export default _default;
@@ -2,7 +2,7 @@ import type { IFileValue } from '#core/components/Form/types';
2
2
  interface Props {
3
3
  value?: IFileValue;
4
4
  }
5
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ declare const _default: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
6
  close: (args_0: boolean) => any;
7
7
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
8
8
  onClose?: ((args_0: boolean) => any) | undefined;
@@ -5,7 +5,7 @@ interface Props {
5
5
  disabled?: boolean;
6
6
  readonly?: boolean;
7
7
  }
8
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ declare const _default: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
9
  delete: () => any;
10
10
  preview: () => any;
11
11
  download: () => any;
@@ -2,7 +2,7 @@ declare var __VLS_1: {};
2
2
  type __VLS_Slots = {} & {
3
3
  default?: (props: typeof __VLS_1) => any;
4
4
  };
5
- declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ declare const __VLS_component: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
6
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
7
7
  export default _default;
8
8
  type __VLS_WithSlots<T, S> = T & {
@@ -14,7 +14,7 @@ import type { INumberField } from '#core/components/Form/InputNumber/types';
14
14
  import type { IDateTimeField } from '#core/components/Form/InputDateTime/date_time_field.types';
15
15
  import type { IRadioField } from '#core/components/Form/InputRadio/types';
16
16
  import type { IWYSIWYGField } from '#core/components/Form/InputWYSIWYG/types';
17
- export declare const enum INPUT_TYPES {
17
+ export declare enum INPUT_TYPES {
18
18
  TEXT = "TEXT",
19
19
  SEARCH = "SEARCH",
20
20
  NUMBER = "NUMBER",
@@ -3,7 +3,7 @@ type __VLS_Slots = {
3
3
  loading: () => any;
4
4
  error: () => any;
5
5
  };
6
- declare const __VLS_component: import("vue").DefineComponent<UseImageOptions, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UseImageOptions> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_component: import("vue").DefineComponent<UseImageOptions, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UseImageOptions> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
7
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
8
8
  export default _default;
9
9
  type __VLS_WithSlots<T, S> = T & {
@@ -8,7 +8,7 @@ type __VLS_Props = {
8
8
  ui?: typeof loaderTheme['slots'];
9
9
  class?: any;
10
10
  };
11
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
12
  loading: boolean;
13
13
  icon: string;
14
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -2,5 +2,5 @@ type __VLS_Props = {
2
2
  data?: any;
3
3
  title?: string;
4
4
  };
5
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ declare const _default: 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>;
6
6
  export default _default;
@@ -3,5 +3,5 @@ type __VLS_Props = {
3
3
  dataItems?: any[];
4
4
  title?: string;
5
5
  };
6
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: 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>;
7
7
  export default _default;
@@ -1,8 +1,8 @@
1
1
  import { type PropType } from 'vue';
2
2
  import { type ITableOptions } from '#core/components/Table/types';
3
- declare var __VLS_20: string | number, __VLS_21: any;
3
+ declare var __VLS_29: string | number, __VLS_30: any;
4
4
  type __VLS_Slots = {} & {
5
- [K in NonNullable<typeof __VLS_20>]?: (props: typeof __VLS_21) => any;
5
+ [K in NonNullable<typeof __VLS_29>]?: (props: typeof __VLS_30) => any;
6
6
  };
7
7
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
8
  status: {
@@ -29,7 +29,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
29
29
  type: PropType<ITableOptions["isHideCaption"]>;
30
30
  default: boolean;
31
31
  };
32
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
32
+ }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
33
  pageChange: (...args: any[]) => void;
34
34
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
35
35
  status: {
@@ -4,5 +4,5 @@ type __VLS_Props = {
4
4
  row: any;
5
5
  column: TableColumn<any>;
6
6
  };
7
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: 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>;
8
8
  export default _default;
@@ -4,5 +4,5 @@ type __VLS_Props = {
4
4
  row: any;
5
5
  column: TableColumn<any>;
6
6
  };
7
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: 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>;
8
8
  export default _default;
@@ -4,5 +4,5 @@ type __VLS_Props = {
4
4
  row: any;
5
5
  column: TableColumn<any>;
6
6
  };
7
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: 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>;
8
8
  export default _default;
@@ -4,5 +4,5 @@ type __VLS_Props = {
4
4
  row: any;
5
5
  column: TableColumn<any>;
6
6
  };
7
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: 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>;
8
8
  export default _default;
@@ -4,5 +4,5 @@ type __VLS_Props = {
4
4
  row: any;
5
5
  column: TableColumn<any>;
6
6
  };
7
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: 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>;
8
8
  export default _default;
@@ -9,7 +9,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
9
9
  type: PropType<ISimpleTableOptions>;
10
10
  required: true;
11
11
  };
12
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
+ }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
13
  options: {
14
14
  type: PropType<ISimpleTableOptions>;
15
15
  required: true;
@@ -9,7 +9,7 @@ type __VLS_Props = {
9
9
  options: ITableOptions<any>;
10
10
  ui?: typeof tableTheme['slots'];
11
11
  };
12
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
13
  search: (q: string) => any;
14
14
  pageChange: (page: number) => any;
15
15
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -1,7 +1,7 @@
1
1
  import type { Component } from 'vue';
2
2
  import type { TableColumn as NuxtUiTableColumn } from '@nuxt/ui';
3
3
  import type { IPageOptions, IStatus } from '#core/types/lib';
4
- export declare const enum COLUMN_TYPES {
4
+ export declare enum COLUMN_TYPES {
5
5
  COMPONENT = "COMPONENT",
6
6
  DATE = "DATE",
7
7
  DATE_TIME = "DATE_TIME",
@@ -21,7 +21,6 @@ export interface IBaseTableOptions<T extends Record<string, any> = Record<string
21
21
  columns: TableColumn<T>[];
22
22
  isHidePagination?: boolean;
23
23
  isHideCaption?: boolean;
24
- isSimplePagination?: boolean;
25
24
  }
26
25
  export interface ITableOptions<T extends Record<string, any> = Record<string, any>> extends IBaseTableOptions<T> {
27
26
  pageOptions: IPageOptions;
@@ -2,11 +2,11 @@ type __VLS_Props = {
2
2
  to: string;
3
3
  disabled?: boolean;
4
4
  };
5
- declare var __VLS_5: {};
5
+ declare var __VLS_6: {};
6
6
  type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_5) => any;
7
+ default?: (props: typeof __VLS_6) => any;
8
8
  };
9
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ 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>;
10
10
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
11
  export default _default;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,6 +1,6 @@
1
1
  import { ObjectHelper } from "../utils/ObjectHelper.js";
2
- import { ParamHelper } from "../utils/ParamHelper.js";
3
2
  import { NewRequester } from "../lib/Requester.js";
3
+ import { _merge } from "#imports";
4
4
  export const checkExpiration = (timestamp, expire) => {
5
5
  if (!expire || !timestamp) return false;
6
6
  return timestamp + expire > Date.now();
@@ -13,13 +13,9 @@ export const bindParamsToUrl = (urlTemplate, urlParams = {}) => {
13
13
  return resultUrl;
14
14
  };
15
15
  export const prepareRequestOptions = (baseOptions, requestOptions, params) => {
16
- const options = {
17
- ...baseOptions || {},
18
- ...requestOptions || {}
19
- };
20
- options.params = ParamHelper.getParams({
16
+ const options = _merge({}, baseOptions, requestOptions, {
21
17
  params
22
- }, options);
18
+ });
23
19
  return options;
24
20
  };
25
21
  export const handleApiRequest = async (requestContext, mockData, callbacks) => {
@@ -1,5 +1,5 @@
1
1
  export declare const buttonTheme: {
2
2
  slots: {
3
- base: string;
3
+ base: string[];
4
4
  };
5
5
  };
@@ -1,5 +1,5 @@
1
1
  export const buttonTheme = {
2
2
  slots: {
3
- base: "cursor-pointer"
3
+ base: ["cursor-pointer"]
4
4
  }
5
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "2.26.6",
3
+ "version": "2.26.8",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",
@@ -43,19 +43,19 @@
43
43
  "@iconify-json/heroicons": "^1.2.2",
44
44
  "@iconify-json/ph": "^1.2.2",
45
45
  "@iconify-json/svg-spinners": "^1.2.2",
46
- "@nuxt/kit": "^3.17.5",
47
- "@nuxt/ui": "^3.2.0",
46
+ "@nuxt/kit": "^4.0.2",
47
+ "@nuxt/ui": "^3.3.0",
48
48
  "@pinia/nuxt": "^0.11.0",
49
49
  "@tailwindcss/typography": "^0.5.0-alpha.3",
50
- "@tiptap/extension-image": "^2.23.0",
51
- "@tiptap/extension-link": "^2.23.0",
52
- "@tiptap/extension-text-align": "^2.23.0",
53
- "@tiptap/extension-text-style": "^2.23.0",
54
- "@tiptap/extension-underline": "^2.23.0",
55
- "@tiptap/extension-youtube": "^2.23.0",
56
- "@tiptap/pm": "^2.23.0",
57
- "@tiptap/starter-kit": "^2.23.0",
58
- "@tiptap/vue-3": "^2.23.0",
50
+ "@tiptap/extension-image": "^3.0.7",
51
+ "@tiptap/extension-link": "^3.0.7",
52
+ "@tiptap/extension-text-align": "^3.0.7",
53
+ "@tiptap/extension-text-style": "^3.0.7",
54
+ "@tiptap/extension-underline": "^3.0.7",
55
+ "@tiptap/extension-youtube": "^3.0.7",
56
+ "@tiptap/pm": "^3.0.7",
57
+ "@tiptap/starter-kit": "^3.0.7",
58
+ "@tiptap/vue-3": "^3.0.7",
59
59
  "@vee-validate/nuxt": "^4.15.1",
60
60
  "@vee-validate/valibot": "^4.15.1",
61
61
  "@vuepic/vue-datepicker": "^11.0.2",
@@ -74,8 +74,8 @@
74
74
  "@eslint/js": "^9.26.0",
75
75
  "@nuxt/devtools": "^2.6.0",
76
76
  "@nuxt/eslint-config": "^1.4.1",
77
- "@nuxt/module-builder": "^1.0.1",
78
- "@nuxt/schema": "^3.17.5",
77
+ "@nuxt/module-builder": "^1.0.2",
78
+ "@nuxt/schema": "^4.0.2",
79
79
  "@nuxt/test-utils": "^3.19.0",
80
80
  "@types/node": "latest",
81
81
  "changelogen": "^0.6.1",
@@ -84,11 +84,11 @@
84
84
  "eslint-plugin-better-tailwindcss": "^3.3.0",
85
85
  "husky": "^9.1.7",
86
86
  "lint-staged": "^16.0.0",
87
- "nuxt": "^3.17.5",
87
+ "nuxt": "^4.0.2",
88
88
  "typescript": "~5.6.3",
89
89
  "typescript-eslint": "^8.18.0",
90
90
  "vitest": "^3.1.3",
91
- "vue-tsc": "^2.2.10"
91
+ "vue-tsc": "^3.0.4"
92
92
  },
93
93
  "lint-staged": {
94
94
  "*": "eslint --fix --quiet"