@finema/core 2.54.1 → 2.55.1

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 (102) hide show
  1. package/dist/module.json +2 -2
  2. package/dist/module.mjs +1 -1
  3. package/dist/runtime/components/App.d.vue.ts +17 -0
  4. package/dist/runtime/components/App.vue.d.ts +3 -2
  5. package/dist/runtime/components/DevToolsWindow/index.d.vue.ts +3 -0
  6. package/dist/runtime/components/DevToolsWindow/index.vue.d.ts +2 -1
  7. package/dist/runtime/components/Dialog/index.d.vue.ts +11 -0
  8. package/dist/runtime/components/Dialog/index.vue.d.ts +2 -1
  9. package/dist/runtime/components/Empty.d.vue.ts +13 -0
  10. package/dist/runtime/components/Empty.vue.d.ts +2 -1
  11. package/dist/runtime/components/FlexDeck/index.d.vue.ts +46 -0
  12. package/dist/runtime/components/FlexDeck/index.vue.d.ts +4 -3
  13. package/dist/runtime/components/Form/FieldWrapper.d.vue.ts +17 -0
  14. package/dist/runtime/components/Form/FieldWrapper.vue.d.ts +3 -2
  15. package/dist/runtime/components/Form/Fields.d.vue.ts +15 -0
  16. package/dist/runtime/components/Form/Fields.vue.d.ts +2 -1
  17. package/dist/runtime/components/Form/InputCheckbox/index.d.vue.ts +8 -0
  18. package/dist/runtime/components/Form/InputCheckbox/index.vue.d.ts +2 -1
  19. package/dist/runtime/components/Form/InputComponent/index.d.vue.ts +4 -0
  20. package/dist/runtime/components/Form/InputComponent/index.vue.d.ts +2 -1
  21. package/dist/runtime/components/Form/InputDateTime/index.d.vue.ts +12 -0
  22. package/dist/runtime/components/Form/InputDateTime/index.vue.d.ts +2 -1
  23. package/dist/runtime/components/Form/InputDateTimeRange/index.d.vue.ts +12 -0
  24. package/dist/runtime/components/Form/InputDateTimeRange/index.vue.d.ts +2 -1
  25. package/dist/runtime/components/Form/InputMonth/index.d.vue.ts +12 -0
  26. package/dist/runtime/components/Form/InputMonth/index.vue.d.ts +2 -1
  27. package/dist/runtime/components/Form/InputNumber/index.d.vue.ts +10 -0
  28. package/dist/runtime/components/Form/InputNumber/index.vue.d.ts +2 -1
  29. package/dist/runtime/components/Form/InputRadio/index.d.vue.ts +12 -0
  30. package/dist/runtime/components/Form/InputRadio/index.vue.d.ts +2 -1
  31. package/dist/runtime/components/Form/InputSearch/index.d.vue.ts +14 -0
  32. package/dist/runtime/components/Form/InputSearch/index.vue.d.ts +2 -1
  33. package/dist/runtime/components/Form/InputSelect/index.d.vue.ts +10 -0
  34. package/dist/runtime/components/Form/InputSelect/index.vue.d.ts +2 -1
  35. package/dist/runtime/components/Form/InputSelectMultiple/index.d.vue.ts +8 -0
  36. package/dist/runtime/components/Form/InputSelectMultiple/index.vue.d.ts +2 -1
  37. package/dist/runtime/components/Form/InputTags/index.d.vue.ts +12 -0
  38. package/dist/runtime/components/Form/InputTags/index.vue.d.ts +2 -1
  39. package/dist/runtime/components/Form/InputText/index.d.vue.ts +12 -0
  40. package/dist/runtime/components/Form/InputText/index.vue.d.ts +2 -1
  41. package/dist/runtime/components/Form/InputTextarea/index.d.vue.ts +8 -0
  42. package/dist/runtime/components/Form/InputTextarea/index.vue.d.ts +2 -1
  43. package/dist/runtime/components/Form/InputTime/index.d.vue.ts +13 -0
  44. package/dist/runtime/components/Form/InputTime/index.vue.d.ts +2 -1
  45. package/dist/runtime/components/Form/InputToggle/index.d.vue.ts +8 -0
  46. package/dist/runtime/components/Form/InputToggle/index.vue.d.ts +2 -1
  47. package/dist/runtime/components/Form/InputUploadDropzone/index.d.vue.ts +13 -0
  48. package/dist/runtime/components/Form/InputUploadDropzone/index.vue.d.ts +2 -1
  49. package/dist/runtime/components/Form/InputUploadDropzoneAuto/index.d.vue.ts +25 -0
  50. package/dist/runtime/components/Form/InputUploadDropzoneAuto/index.vue.d.ts +2 -1
  51. package/dist/runtime/components/Form/InputWYSIWYG/UploadImageForm.d.vue.ts +12 -0
  52. package/dist/runtime/components/Form/InputWYSIWYG/UploadImageForm.vue.d.ts +2 -1
  53. package/dist/runtime/components/Form/InputWYSIWYG/index.d.vue.ts +7 -0
  54. package/dist/runtime/components/Form/InputWYSIWYG/index.vue.d.ts +2 -1
  55. package/dist/runtime/components/Form/fileState/EmptyState.d.vue.ts +13 -0
  56. package/dist/runtime/components/Form/fileState/EmptyState.vue.d.ts +2 -1
  57. package/dist/runtime/components/Form/fileState/FailedState.d.vue.ts +15 -0
  58. package/dist/runtime/components/Form/fileState/FailedState.vue.d.ts +2 -1
  59. package/dist/runtime/components/Form/fileState/LoadingState.d.vue.ts +9 -0
  60. package/dist/runtime/components/Form/fileState/LoadingState.vue.d.ts +2 -1
  61. package/dist/runtime/components/Form/fileState/PreviewModal.d.vue.ts +11 -0
  62. package/dist/runtime/components/Form/fileState/PreviewModal.vue.d.ts +2 -1
  63. package/dist/runtime/components/Form/fileState/SuccessState.d.vue.ts +18 -0
  64. package/dist/runtime/components/Form/fileState/SuccessState.vue.d.ts +2 -1
  65. package/dist/runtime/components/Form/index.d.vue.ts +13 -0
  66. package/dist/runtime/components/Form/index.vue.d.ts +3 -2
  67. package/dist/runtime/components/Image.d.vue.ts +14 -0
  68. package/dist/runtime/components/Image.vue.d.ts +3 -2
  69. package/dist/runtime/components/Loader.d.vue.ts +22 -0
  70. package/dist/runtime/components/Loader.vue.d.ts +3 -2
  71. package/dist/runtime/components/Log/LogItem.d.vue.ts +7 -0
  72. package/dist/runtime/components/Log/LogItem.vue.d.ts +2 -1
  73. package/dist/runtime/components/Log/index.d.vue.ts +8 -0
  74. package/dist/runtime/components/Log/index.vue.d.ts +2 -1
  75. package/dist/runtime/components/Table/Base.d.vue.ts +31 -0
  76. package/dist/runtime/components/Table/Base.vue +2 -1
  77. package/dist/runtime/components/Table/Base.vue.d.ts +3 -2
  78. package/dist/runtime/components/Table/ColumnDate.d.vue.ts +9 -0
  79. package/dist/runtime/components/Table/ColumnDate.vue +1 -1
  80. package/dist/runtime/components/Table/ColumnDate.vue.d.ts +2 -1
  81. package/dist/runtime/components/Table/ColumnDateTime.d.vue.ts +9 -0
  82. package/dist/runtime/components/Table/ColumnDateTime.vue +1 -1
  83. package/dist/runtime/components/Table/ColumnDateTime.vue.d.ts +2 -1
  84. package/dist/runtime/components/Table/ColumnImage.d.vue.ts +9 -0
  85. package/dist/runtime/components/Table/ColumnImage.vue +1 -1
  86. package/dist/runtime/components/Table/ColumnImage.vue.d.ts +2 -1
  87. package/dist/runtime/components/Table/ColumnNumber.d.vue.ts +9 -0
  88. package/dist/runtime/components/Table/ColumnNumber.vue +1 -1
  89. package/dist/runtime/components/Table/ColumnNumber.vue.d.ts +2 -1
  90. package/dist/runtime/components/Table/ColumnText.d.vue.ts +9 -0
  91. package/dist/runtime/components/Table/ColumnText.vue +1 -1
  92. package/dist/runtime/components/Table/ColumnText.vue.d.ts +2 -1
  93. package/dist/runtime/components/Table/Pagination.d.vue.ts +19 -0
  94. package/dist/runtime/components/Table/Pagination.vue.d.ts +2 -1
  95. package/dist/runtime/components/Table/Simple.d.vue.ts +20 -0
  96. package/dist/runtime/components/Table/Simple.vue.d.ts +3 -2
  97. package/dist/runtime/components/Table/index.d.vue.ts +26 -0
  98. package/dist/runtime/components/Table/index.vue.d.ts +3 -2
  99. package/dist/runtime/components/TeleportSafe.d.vue.ts +17 -0
  100. package/dist/runtime/components/TeleportSafe.vue.d.ts +3 -2
  101. package/dist/runtime/theme/table.js +2 -2
  102. package/package.json +1 -1
@@ -4,5 +4,6 @@ type __VLS_Props = {
4
4
  row: any;
5
5
  column: TableColumn<any>;
6
6
  };
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>;
7
+ declare const __VLS_export: 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>;
8
+ declare const _default: typeof __VLS_export;
8
9
  export default _default;
@@ -0,0 +1,9 @@
1
+ import type { TableColumn } from '@nuxt/ui';
2
+ type __VLS_Props = {
3
+ value: any;
4
+ row: any;
5
+ column: TableColumn<any>;
6
+ };
7
+ declare const __VLS_export: 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>;
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
@@ -8,7 +8,7 @@ import { StringHelper } from "#imports";
8
8
  const props = defineProps({
9
9
  value: { type: null, required: true },
10
10
  row: { type: null, required: true },
11
- column: { type: null, required: true }
11
+ column: { type: Object, required: true }
12
12
  });
13
13
  const getValue = computed(() => {
14
14
  const value = props.value;
@@ -4,5 +4,6 @@ type __VLS_Props = {
4
4
  row: any;
5
5
  column: TableColumn<any>;
6
6
  };
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>;
7
+ declare const __VLS_export: 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>;
8
+ declare const _default: typeof __VLS_export;
8
9
  export default _default;
@@ -0,0 +1,19 @@
1
+ import { type ISimpleTableOptions, type ITableOptions } from '#imports';
2
+ import { tableTheme } from '../../theme/table.js';
3
+ type __VLS_Props = {
4
+ page: number;
5
+ pageLimit: number;
6
+ options: ITableOptions<any> & ISimpleTableOptions<any>;
7
+ ui?: (typeof tableTheme)['slots'];
8
+ };
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
10
+ search: () => any;
11
+ pageChange: (page: number) => any;
12
+ pageLimitChange: (limit: number) => any;
13
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ onSearch?: (() => any) | undefined;
15
+ onPageChange?: ((page: number) => any) | undefined;
16
+ onPageLimitChange?: ((limit: number) => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
@@ -6,7 +6,7 @@ type __VLS_Props = {
6
6
  options: ITableOptions<any> & ISimpleTableOptions<any>;
7
7
  ui?: (typeof tableTheme)['slots'];
8
8
  };
9
- declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
10
10
  search: () => any;
11
11
  pageChange: (page: number) => any;
12
12
  pageLimitChange: (limit: number) => any;
@@ -15,4 +15,5 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {},
15
15
  onPageChange?: ((page: number) => any) | undefined;
16
16
  onPageLimitChange?: ((limit: number) => any) | undefined;
17
17
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: typeof __VLS_export;
18
19
  export default _default;
@@ -0,0 +1,20 @@
1
+ import type { ISimpleTableOptions } from '#core/components/Table/types';
2
+ import type { tableTheme } from '../../theme/table.js';
3
+ import type { TableSlots } from '@nuxt/ui';
4
+ type Slot = TableSlots<any> & {
5
+ error: (props?: Record<string, any>) => any;
6
+ };
7
+ type __VLS_Props = {
8
+ options: ISimpleTableOptions<any>;
9
+ ui?: (typeof tableTheme)['slots'];
10
+ };
11
+ type __VLS_Slots = Slot;
12
+ declare const __VLS_base: 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>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -9,8 +9,9 @@ type __VLS_Props = {
9
9
  ui?: (typeof tableTheme)['slots'];
10
10
  };
11
11
  type __VLS_Slots = Slot;
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>;
13
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
+ declare const __VLS_base: 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>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
14
15
  export default _default;
15
16
  type __VLS_WithSlots<T, S> = T & {
16
17
  new (): {
@@ -0,0 +1,26 @@
1
+ import type { TableSlots } from '@nuxt/ui';
2
+ import type { ITableOptions } from '#core/components/Table/types';
3
+ import { tableTheme } from '#core/theme/table';
4
+ type Slot = TableSlots<any> & {
5
+ error: (props?: Record<string, any>) => any;
6
+ };
7
+ type __VLS_Props = {
8
+ options: ITableOptions<any>;
9
+ ui?: (typeof tableTheme)['slots'];
10
+ };
11
+ type __VLS_Slots = Slot;
12
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
+ search: (q: string) => any;
14
+ pageChange: (page: number) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
16
+ onSearch?: ((q: string) => any) | undefined;
17
+ onPageChange?: ((page: number) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -9,14 +9,15 @@ type __VLS_Props = {
9
9
  ui?: (typeof tableTheme)['slots'];
10
10
  };
11
11
  type __VLS_Slots = Slot;
12
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, 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<{
16
16
  onSearch?: ((q: string) => any) | undefined;
17
17
  onPageChange?: ((page: number) => any) | undefined;
18
18
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
+ declare const _default: typeof __VLS_export;
20
21
  export default _default;
21
22
  type __VLS_WithSlots<T, S> = T & {
22
23
  new (): {
@@ -0,0 +1,17 @@
1
+ type __VLS_Props = {
2
+ to: string;
3
+ disabled?: boolean;
4
+ };
5
+ declare var __VLS_6: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_6) => any;
8
+ };
9
+ declare const __VLS_base: 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>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -6,8 +6,9 @@ declare var __VLS_6: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_6) => any;
8
8
  };
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
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
9
+ declare const __VLS_base: 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>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
11
12
  export default _default;
12
13
  type __VLS_WithSlots<T, S> = T & {
13
14
  new (): {
@@ -1,6 +1,6 @@
1
1
  export const tableTheme = {
2
2
  slots: {
3
- root: "",
3
+ root: "rounded-t-lg rounded-b-lg",
4
4
  rootWrapper: "rounded-t-lg rounded-b-lg border-1 border-[#EAECF0] bg-white",
5
5
  searchContainer: "mb-4 flex justify-end",
6
6
  captionContainer: "hidden mb-4 text-gray-500",
@@ -25,7 +25,7 @@ export const tableTheme = {
25
25
  },
26
26
  sticky: {
27
27
  true: {
28
- thead: "sticky bg-transparent top-0 inset-x-0 z-[1] backdrop-blur-none",
28
+ thead: "sticky bg-white top-0 inset-x-0 z-[1] backdrop-blur-none",
29
29
  tfoot: "sticky bottom-0 inset-x-0 bg-white z-[1] backdrop-blur-none"
30
30
  },
31
31
  header: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "2.54.1",
3
+ "version": "2.55.1",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",