@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.
- package/dist/module.json +3 -3
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/App.vue.d.ts +3 -3
- package/dist/runtime/components/DevToolsWindow/index.vue.d.ts +1 -1
- package/dist/runtime/components/Dialog/index.vue.d.ts +1 -1
- package/dist/runtime/components/Empty.vue.d.ts +1 -1
- package/dist/runtime/components/FlexDeck/index.vue.d.ts +1 -1
- package/dist/runtime/components/Form/FieldWrapper.vue.d.ts +3 -3
- package/dist/runtime/components/Form/Fields.vue.d.ts +1 -1
- package/dist/runtime/components/Form/InputCheckbox/index.vue.d.ts +1 -1
- package/dist/runtime/components/Form/InputDateTime/index.vue.d.ts +1 -1
- package/dist/runtime/components/Form/InputDateTimeRange/index.vue.d.ts +1 -1
- package/dist/runtime/components/Form/InputNumber/index.vue.d.ts +1 -1
- package/dist/runtime/components/Form/InputRadio/index.vue.d.ts +1 -1
- package/dist/runtime/components/Form/InputSearch/index.vue.d.ts +1 -1
- package/dist/runtime/components/Form/InputSelect/index.vue.d.ts +1 -1
- package/dist/runtime/components/Form/InputSelectMultiple/index.vue.d.ts +1 -1
- package/dist/runtime/components/Form/InputText/index.vue.d.ts +1 -1
- package/dist/runtime/components/Form/InputTextarea/index.vue.d.ts +1 -1
- package/dist/runtime/components/Form/InputToggle/index.vue.d.ts +1 -1
- package/dist/runtime/components/Form/InputUploadDropzone/index.vue.d.ts +1 -1
- package/dist/runtime/components/Form/InputUploadDropzoneAuto/index.vue.d.ts +1 -1
- package/dist/runtime/components/Form/InputWYSIWYG/UploadImageForm.vue.d.ts +1 -1
- package/dist/runtime/components/Form/InputWYSIWYG/index.vue +1 -1
- package/dist/runtime/components/Form/InputWYSIWYG/index.vue.d.ts +1 -1
- package/dist/runtime/components/Form/fileState/EmptyState.vue.d.ts +1 -1
- package/dist/runtime/components/Form/fileState/FailedState.vue.d.ts +1 -1
- package/dist/runtime/components/Form/fileState/LoadingState.vue.d.ts +1 -1
- package/dist/runtime/components/Form/fileState/PreviewModal.vue.d.ts +1 -1
- package/dist/runtime/components/Form/fileState/SuccessState.vue.d.ts +1 -1
- package/dist/runtime/components/Form/index.vue.d.ts +1 -1
- package/dist/runtime/components/Form/types.d.ts +1 -1
- package/dist/runtime/components/Image.vue.d.ts +1 -1
- package/dist/runtime/components/Loader.vue.d.ts +1 -1
- package/dist/runtime/components/Log/LogItem.vue.d.ts +1 -1
- package/dist/runtime/components/Log/index.vue.d.ts +1 -1
- package/dist/runtime/components/Table/Base.vue.d.ts +3 -3
- package/dist/runtime/components/Table/ColumnDate.vue.d.ts +1 -1
- package/dist/runtime/components/Table/ColumnDateTime.vue.d.ts +1 -1
- package/dist/runtime/components/Table/ColumnImage.vue.d.ts +1 -1
- package/dist/runtime/components/Table/ColumnNumber.vue.d.ts +1 -1
- package/dist/runtime/components/Table/ColumnText.vue.d.ts +1 -1
- package/dist/runtime/components/Table/Simple.vue.d.ts +1 -1
- package/dist/runtime/components/Table/index.vue.d.ts +1 -1
- package/dist/runtime/components/Table/types.d.ts +1 -2
- package/dist/runtime/components/TeleportSafe.vue.d.ts +3 -3
- package/dist/runtime/helpers/apiBaseHelper.js +3 -7
- package/dist/runtime/theme/button.d.ts +1 -1
- package/dist/runtime/theme/button.js +1 -1
- package/package.json +16 -16
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -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
|
|
5
|
+
declare var __VLS_11: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_11) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props,
|
|
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<{},
|
|
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,
|
|
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,
|
|
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
|
-
}>,
|
|
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
|
|
5
|
+
declare var __VLS_7: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_7) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IWYSIWYGFieldProps } from '#core/components/Form/InputWYSIWYG/types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<IWYSIWYGFieldProps,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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<{},
|
|
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
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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
|
|
3
|
+
declare var __VLS_29: string | number, __VLS_30: any;
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
[K in NonNullable<typeof
|
|
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
|
-
}>,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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
|
-
}>,
|
|
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,
|
|
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
|
|
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
|
|
5
|
+
declare var __VLS_6: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_6) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props,
|
|
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
|
-
}
|
|
18
|
+
});
|
|
23
19
|
return options;
|
|
24
20
|
};
|
|
25
21
|
export const handleApiRequest = async (requestContext, mockData, callbacks) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finema/core",
|
|
3
|
-
"version": "2.26.
|
|
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": "^
|
|
47
|
-
"@nuxt/ui": "^3.
|
|
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": "^
|
|
51
|
-
"@tiptap/extension-link": "^
|
|
52
|
-
"@tiptap/extension-text-align": "^
|
|
53
|
-
"@tiptap/extension-text-style": "^
|
|
54
|
-
"@tiptap/extension-underline": "^
|
|
55
|
-
"@tiptap/extension-youtube": "^
|
|
56
|
-
"@tiptap/pm": "^
|
|
57
|
-
"@tiptap/starter-kit": "^
|
|
58
|
-
"@tiptap/vue-3": "^
|
|
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.
|
|
78
|
-
"@nuxt/schema": "^
|
|
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": "^
|
|
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": "^
|
|
91
|
+
"vue-tsc": "^3.0.4"
|
|
92
92
|
},
|
|
93
93
|
"lint-staged": {
|
|
94
94
|
"*": "eslint --fix --quiet"
|