@finema/core 1.4.140 → 1.4.142
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 +1 -5
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/Form/InputDateTimeRange/date_range_time_field.types.d.ts +1 -1
- package/dist/runtime/components/Form/InputUploadDropzone/types.d.ts +1 -1
- package/dist/runtime/components/Form/InputUploadDropzoneAuto/types.d.ts +1 -1
- package/dist/runtime/components/Form/InputUploadDropzoneAutoMultiple/types.d.ts +1 -1
- package/dist/runtime/components/Form/InputUploadDropzoneImageAutoMultiple/types.d.ts +1 -1
- package/dist/runtime/components/Form/InputUploadFileClassicAuto/types.d.ts +1 -1
- package/dist/runtime/components/Form/InputUploadImageAuto/types.d.ts +1 -1
- package/dist/runtime/composables/loaderList.d.ts +2 -2
- package/dist/runtime/composables/{loaderList.js → loaderList.mjs} +2 -2
- package/dist/runtime/composables/loaderObject.d.ts +1 -1
- package/dist/runtime/composables/{loaderObject.js → loaderObject.mjs} +2 -2
- package/dist/runtime/composables/loaderPage.d.ts +1 -1
- package/dist/runtime/composables/{loaderPage.js → loaderPage.mjs} +3 -3
- package/dist/runtime/composables/useConfig.d.ts +1 -1
- package/dist/runtime/composables/useForm.d.ts +1 -1
- package/dist/runtime/composables/useTable.d.ts +2 -2
- package/dist/runtime/composables/{useTable.js → useTable.mjs} +1 -1
- package/dist/runtime/composables/{useUpload.js → useUpload.mjs} +1 -1
- package/dist/runtime/helpers/{apiListHelper.js → apiListHelper.mjs} +1 -1
- package/dist/runtime/helpers/{apiObjectHelper.js → apiObjectHelper.mjs} +1 -1
- package/dist/runtime/helpers/apiPageHelper.d.ts +1 -1
- package/dist/runtime/helpers/{apiPageHelper.js → apiPageHelper.mjs} +4 -4
- package/dist/runtime/ui.config/index.d.ts +16 -16
- package/dist/runtime/ui.config/index.mjs +16 -0
- package/dist/runtime/ui.config/{uploadDropzoneImage.js → uploadDropzoneImage.mjs} +1 -1
- package/dist/runtime/utils/ArrayHelper.d.ts +1 -1
- package/dist/runtime/utils/{ArrayHelper.spec.js → ArrayHelper.spec.mjs} +1 -1
- package/dist/runtime/utils/{FileHelper.spec.js → FileHelper.spec.mjs} +1 -1
- package/dist/runtime/utils/ObjectHelper.d.ts +2 -2
- package/dist/runtime/utils/{ObjectHelper.js → ObjectHelper.mjs} +2 -2
- package/dist/runtime/utils/{ObjectHelper.spec.js → ObjectHelper.spec.mjs} +1 -1
- package/dist/runtime/utils/ParamHelper.d.ts +1 -1
- package/dist/runtime/utils/{ParamHelper.spec.js → ParamHelper.spec.mjs} +1 -1
- package/dist/runtime/utils/{StringHelper.spec.js → StringHelper.spec.mjs} +1 -1
- package/dist/runtime/utils/{TimeHelper.spec.js → TimeHelper.spec.mjs} +1 -1
- package/dist/runtime/utils/{TimeHelper.thai.spec.js → TimeHelper.thai.spec.mjs} +1 -1
- package/package.json +4 -4
- package/dist/runtime/ui.config/index.js +0 -16
- /package/dist/runtime/components/Dropdown/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/FlexDeck/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputCheckbox/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputDateTime/{date_time_field.types.js → date_time_field.types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputDateTimeRange/{date_range_time_field.types.js → date_range_time_field.types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputNumber/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputRadio/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputSelect/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputSelectMultiple/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputStatic/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputTags/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputText/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputTextarea/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputToggle/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputUploadDropzone/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputUploadDropzoneAuto/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputUploadDropzoneAutoMultiple/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputUploadDropzoneImageAutoMultiple/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputUploadFileClassic/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputUploadFileClassicAuto/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputUploadImageAuto/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Form/InputWYSIWYG/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Form/{types.js → types.mjs} +0 -0
- /package/dist/runtime/components/Table/{types.js → types.mjs} +0 -0
- /package/dist/runtime/composables/{useApp.js → useApp.mjs} +0 -0
- /package/dist/runtime/composables/{useConfig.js → useConfig.mjs} +0 -0
- /package/dist/runtime/composables/{useDialog.js → useDialog.mjs} +0 -0
- /package/dist/runtime/composables/{useFlexDeck.js → useFlexDeck.mjs} +0 -0
- /package/dist/runtime/composables/{useForm.js → useForm.mjs} +0 -0
- /package/dist/runtime/composables/{useNotification.js → useNotification.mjs} +0 -0
- /package/dist/runtime/composables/{useWatch.js → useWatch.mjs} +0 -0
- /package/dist/runtime/{core.config.js → core.config.mjs} +0 -0
- /package/dist/runtime/helpers/{componentHelper.js → componentHelper.mjs} +0 -0
- /package/dist/runtime/lib/{Requester.js → Requester.mjs} +0 -0
- /package/dist/runtime/{plugin.js → plugin.mjs} +0 -0
- /package/dist/runtime/{quill.plugin.js → quill.plugin.mjs} +0 -0
- /package/dist/runtime/types/{common.js → common.mjs} +0 -0
- /package/dist/runtime/types/{config.js → config.mjs} +0 -0
- /package/dist/runtime/types/{lib.js → lib.mjs} +0 -0
- /package/dist/runtime/ui.config/{alert.js → alert.mjs} +0 -0
- /package/dist/runtime/ui.config/{badge.js → badge.mjs} +0 -0
- /package/dist/runtime/ui.config/{breadcrumb.js → breadcrumb.mjs} +0 -0
- /package/dist/runtime/ui.config/{button.js → button.mjs} +0 -0
- /package/dist/runtime/ui.config/{buttonGroup.js → buttonGroup.mjs} +0 -0
- /package/dist/runtime/ui.config/{card.js → card.mjs} +0 -0
- /package/dist/runtime/ui.config/{checkbox.js → checkbox.mjs} +0 -0
- /package/dist/runtime/ui.config/{formGroup.js → formGroup.mjs} +0 -0
- /package/dist/runtime/ui.config/{icon.js → icon.mjs} +0 -0
- /package/dist/runtime/ui.config/{input.js → input.mjs} +0 -0
- /package/dist/runtime/ui.config/{modal.js → modal.mjs} +0 -0
- /package/dist/runtime/ui.config/{notification.js → notification.mjs} +0 -0
- /package/dist/runtime/ui.config/{pagination.js → pagination.mjs} +0 -0
- /package/dist/runtime/ui.config/{select.js → select.mjs} +0 -0
- /package/dist/runtime/ui.config/{selectMenu.js → selectMenu.mjs} +0 -0
- /package/dist/runtime/ui.config/{slideover.js → slideover.mjs} +0 -0
- /package/dist/runtime/ui.config/{table.js → table.mjs} +0 -0
- /package/dist/runtime/ui.config/{tabs.js → tabs.mjs} +0 -0
- /package/dist/runtime/ui.config/{tags.js → tags.mjs} +0 -0
- /package/dist/runtime/ui.config/{textarea.js → textarea.mjs} +0 -0
- /package/dist/runtime/ui.config/{toggle.js → toggle.mjs} +0 -0
- /package/dist/runtime/ui.config/{uploadFileDropzone.js → uploadFileDropzone.mjs} +0 -0
- /package/dist/runtime/ui.config/{uploadFileInputClassicAuto.js → uploadFileInputClassicAuto.mjs} +0 -0
- /package/dist/runtime/ui.config/{uploadImage.js → uploadImage.mjs} +0 -0
- /package/dist/runtime/utils/{ArrayHelper.js → ArrayHelper.mjs} +0 -0
- /package/dist/runtime/utils/{FileHelper.js → FileHelper.mjs} +0 -0
- /package/dist/runtime/utils/{ParamHelper.js → ParamHelper.mjs} +0 -0
- /package/dist/runtime/utils/{StringHelper.js → StringHelper.mjs} +0 -0
- /package/dist/runtime/utils/{TimeHelper.js → TimeHelper.mjs} +0 -0
- /package/dist/runtime/utils/{lodash.js → lodash.mjs} +0 -0
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type IFormFieldBase, type INPUT_TYPES } from '#core/components/Form/types';
|
|
2
|
-
import type { IDateTimeFieldProps } from '../InputDateTime/date_time_field.types
|
|
2
|
+
import type { IDateTimeFieldProps } from '../InputDateTime/date_time_field.types';
|
|
3
3
|
export interface ITimeOption {
|
|
4
4
|
hours?: number | string;
|
|
5
5
|
minutes?: number | string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type IFieldProps, type IFormFieldBase, type INPUT_TYPES } from '../types
|
|
1
|
+
import { type IFieldProps, type IFormFieldBase, type INPUT_TYPES } from '../types';
|
|
2
2
|
export interface IUploadDropzoneProps extends IFieldProps {
|
|
3
3
|
selectFileLabel?: string;
|
|
4
4
|
selectFileSubLabel?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type AxiosRequestConfig } from 'axios';
|
|
2
|
-
import { type IFieldProps, type IFormFieldBase, type INPUT_TYPES } from '../types
|
|
2
|
+
import { type IFieldProps, type IFormFieldBase, type INPUT_TYPES } from '../types';
|
|
3
3
|
export interface IUploadDropzoneAutoProps extends IFieldProps {
|
|
4
4
|
requestOptions: Omit<AxiosRequestConfig, 'baseURL'> & {
|
|
5
5
|
baseURL: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type AxiosRequestConfig } from 'axios';
|
|
2
|
-
import { type IFieldProps, type IFileValue, type IFormFieldBase, type INPUT_TYPES } from '../types
|
|
2
|
+
import { type IFieldProps, type IFileValue, type IFormFieldBase, type INPUT_TYPES } from '../types';
|
|
3
3
|
export interface IUploadDropzoneAutoMultipleProps extends IFieldProps {
|
|
4
4
|
requestOptions: Omit<AxiosRequestConfig, 'baseURL'> & {
|
|
5
5
|
baseURL: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type AxiosRequestConfig } from 'axios';
|
|
2
|
-
import { type IFieldProps, type IFileValue, type IFormFieldBase, type INPUT_TYPES } from '../types
|
|
2
|
+
import { type IFieldProps, type IFileValue, type IFormFieldBase, type INPUT_TYPES } from '../types';
|
|
3
3
|
export interface IUploadDropzoneImageAutoMultipleProps extends IFieldProps {
|
|
4
4
|
requestOptions: Omit<AxiosRequestConfig, 'baseURL'> & {
|
|
5
5
|
baseURL: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type AxiosRequestConfig } from 'axios';
|
|
2
|
-
import { type IFieldProps, type IFormFieldBase, type INPUT_TYPES } from '../types
|
|
2
|
+
import { type IFieldProps, type IFormFieldBase, type INPUT_TYPES } from '../types';
|
|
3
3
|
export interface IUploadFileProps extends IFieldProps {
|
|
4
4
|
requestOptions: Omit<AxiosRequestConfig, 'baseURL'> & {
|
|
5
5
|
baseURL: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type AxiosRequestConfig } from 'axios';
|
|
2
|
-
import { type IFieldProps, type IFormFieldBase, type INPUT_TYPES } from '../types
|
|
2
|
+
import { type IFieldProps, type IFormFieldBase, type INPUT_TYPES } from '../types';
|
|
3
3
|
export interface IUploadImageAutoProps extends IFieldProps {
|
|
4
4
|
requestOptions: Omit<AxiosRequestConfig, 'baseURL'> & {
|
|
5
5
|
baseURL: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type IListLoaderOptions } from '../helpers/apiListHelper
|
|
2
|
-
import { type IUseListLoader } from '../helpers/apiObjectHelper
|
|
1
|
+
import { type IListLoaderOptions } from '../helpers/apiListHelper';
|
|
2
|
+
import { type IUseListLoader } from '../helpers/apiObjectHelper';
|
|
3
3
|
export declare const useListLoader: <T = any, O = Record<string, any>>(loaderOptions: IListLoaderOptions<T, O>) => IUseListLoader<T, O>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref } from "vue";
|
|
2
|
-
import { ObjectHelper } from "../utils/ObjectHelper.
|
|
2
|
+
import { ObjectHelper } from "../utils/ObjectHelper.mjs";
|
|
3
3
|
import {
|
|
4
4
|
apiListHelper
|
|
5
|
-
} from "../helpers/apiListHelper.
|
|
5
|
+
} from "../helpers/apiListHelper.mjs";
|
|
6
6
|
export const useListLoader = (loaderOptions) => {
|
|
7
7
|
const status = ref(ObjectHelper.createStatus());
|
|
8
8
|
const items = ref([]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type IObjectLoaderOptions, type IUseObjectLoader } from '../helpers/apiObjectHelper
|
|
1
|
+
import { type IObjectLoaderOptions, type IUseObjectLoader } from '../helpers/apiObjectHelper';
|
|
2
2
|
export declare const useObjectLoader: <T = any, B = any, O = Record<string, any>>(loaderOptions: IObjectLoaderOptions<T, B, O>) => IUseObjectLoader<T, B, O>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref } from "vue";
|
|
2
|
-
import { ObjectHelper } from "../utils/ObjectHelper.
|
|
2
|
+
import { ObjectHelper } from "../utils/ObjectHelper.mjs";
|
|
3
3
|
import {
|
|
4
4
|
apiObjectHelper
|
|
5
|
-
} from "../helpers/apiObjectHelper.
|
|
5
|
+
} from "../helpers/apiObjectHelper.mjs";
|
|
6
6
|
export const useObjectLoader = (loaderOptions) => {
|
|
7
7
|
const status = ref(ObjectHelper.createStatus());
|
|
8
8
|
const data = ref(null);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ref } from "vue";
|
|
2
|
-
import { ObjectHelper } from "../utils/ObjectHelper.
|
|
2
|
+
import { ObjectHelper } from "../utils/ObjectHelper.mjs";
|
|
3
3
|
import {
|
|
4
4
|
apiAddHelper,
|
|
5
5
|
apiDeleteHelper,
|
|
6
6
|
apiFetchHelper,
|
|
7
7
|
apiFindHelper,
|
|
8
8
|
updateHelper
|
|
9
|
-
} from "../helpers/apiPageHelper.
|
|
10
|
-
import { useCoreConfig } from "./useConfig.
|
|
9
|
+
} from "../helpers/apiPageHelper.mjs";
|
|
10
|
+
import { useCoreConfig } from "./useConfig.mjs";
|
|
11
11
|
export const initPageOptions = (options) => ({
|
|
12
12
|
currentPageCount: 0,
|
|
13
13
|
currentPage: 1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ComputedRef } from 'vue';
|
|
2
2
|
import { type FieldContext, type FieldOptions } from 'vee-validate';
|
|
3
|
-
import { type IFieldProps, type IFormField } from '../components/Form/types
|
|
3
|
+
import { type IFieldProps, type IFormField } from '../components/Form/types';
|
|
4
4
|
interface IFieldContext<TValue> extends FieldContext<TValue> {
|
|
5
5
|
wrapperProps: ComputedRef<IFieldProps>;
|
|
6
6
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type ComputedRef } from 'vue';
|
|
2
2
|
import { type Store } from 'pinia';
|
|
3
3
|
import { type IStatus } from '#imports';
|
|
4
|
-
import { type IColumn, type ISimpleTableOptions, type ITableOptions } from '../components/Table/types
|
|
5
|
-
import { type IUsePageLoader } from '../helpers/apiPageHelper
|
|
4
|
+
import { type IColumn, type ISimpleTableOptions, type ITableOptions } from '../components/Table/types';
|
|
5
|
+
import { type IUsePageLoader } from '../helpers/apiPageHelper';
|
|
6
6
|
export interface IUseTable<T = object> {
|
|
7
7
|
repo: IUsePageLoader<T> | Store<any, any>;
|
|
8
8
|
columns: () => IColumn[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { get } from "@vueuse/core";
|
|
2
2
|
import { computed, ObjectHelper } from "#imports";
|
|
3
|
-
import { useCoreConfig } from "./useConfig.
|
|
3
|
+
import { useCoreConfig } from "./useConfig.mjs";
|
|
4
4
|
export const useTable = (options) => computed(() => {
|
|
5
5
|
return createTableOptions(
|
|
6
6
|
options.repo,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ObjectHelper } from "../utils/ObjectHelper.
|
|
1
|
+
import { ObjectHelper } from "../utils/ObjectHelper.mjs";
|
|
2
2
|
import { ParamHelper } from "#imports";
|
|
3
3
|
import { NewRequester } from "#core/lib/Requester";
|
|
4
4
|
export const apiListHelper = async (state, onUpdateStatus, onUpdateOptions, onUpdateItems, opts) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ObjectHelper } from "../utils/ObjectHelper.
|
|
1
|
+
import { ObjectHelper } from "../utils/ObjectHelper.mjs";
|
|
2
2
|
import { ParamHelper } from "#core/utils/ParamHelper";
|
|
3
3
|
import { NewRequester } from "#core/lib/Requester";
|
|
4
4
|
export const apiObjectHelper = async (state, onUpdateStatus, onUpdateOptions, onUpdateData, data, opts) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type IAPIAddState, type IAPIDeleteState, type IAPIFetchState, type IAPIFindState, type IAPIOptions, type IAPIUpdateState, type IPageOptions, type IStatus } from '../types/lib
|
|
1
|
+
import { type IAPIAddState, type IAPIDeleteState, type IAPIFetchState, type IAPIFindState, type IAPIOptions, type IAPIUpdateState, type IPageOptions, type IStatus } from '../types/lib';
|
|
2
2
|
import type { AxiosRequestConfig } from 'axios';
|
|
3
3
|
import type { Ref, UnwrapRef } from 'vue';
|
|
4
4
|
export interface IPageFetchLoaderOptions<D = Record<string, any>> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ObjectHelper } from "../utils/ObjectHelper.
|
|
2
|
-
import { ParamHelper } from "../utils/ParamHelper.
|
|
3
|
-
import { NewRequester } from "../lib/Requester.
|
|
4
|
-
import { useCoreConfig } from "../composables/useConfig.
|
|
1
|
+
import { ObjectHelper } from "../utils/ObjectHelper.mjs";
|
|
2
|
+
import { ParamHelper } from "../utils/ParamHelper.mjs";
|
|
3
|
+
import { NewRequester } from "../lib/Requester.mjs";
|
|
4
|
+
import { useCoreConfig } from "../composables/useConfig.mjs";
|
|
5
5
|
import { _findIndex, _get, _shuffle } from "#imports";
|
|
6
6
|
export const apiAddHelper = async (state, onUpdateStatus, onUpdateOptions, onUpdateData, onUpdateItems, data, opts) => {
|
|
7
7
|
onUpdateStatus(ObjectHelper.toLoadingStatus(state().status));
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { table } from './table
|
|
2
|
-
export { pagination } from './pagination
|
|
3
|
-
export { button } from './button
|
|
4
|
-
export { badge } from './badge
|
|
5
|
-
export { buttonGroup } from './buttonGroup
|
|
6
|
-
export { card } from './card
|
|
7
|
-
export { tabs } from './tabs
|
|
8
|
-
export { icon } from './icon
|
|
9
|
-
export { modal } from './modal
|
|
10
|
-
export { slideover } from './slideover
|
|
11
|
-
export { breadcrumb } from './breadcrumb
|
|
12
|
-
export { uploadFileInputClassicAuto } from './uploadFileInputClassicAuto
|
|
13
|
-
export { uploadFileDropzone } from './uploadFileDropzone
|
|
14
|
-
export { uploadFileDropzoneImage } from './uploadDropzoneImage
|
|
15
|
-
export { uploadImage } from './uploadImage
|
|
16
|
-
export { tags } from './tags
|
|
1
|
+
export { table } from './table';
|
|
2
|
+
export { pagination } from './pagination';
|
|
3
|
+
export { button } from './button';
|
|
4
|
+
export { badge } from './badge';
|
|
5
|
+
export { buttonGroup } from './buttonGroup';
|
|
6
|
+
export { card } from './card';
|
|
7
|
+
export { tabs } from './tabs';
|
|
8
|
+
export { icon } from './icon';
|
|
9
|
+
export { modal } from './modal';
|
|
10
|
+
export { slideover } from './slideover';
|
|
11
|
+
export { breadcrumb } from './breadcrumb';
|
|
12
|
+
export { uploadFileInputClassicAuto } from './uploadFileInputClassicAuto';
|
|
13
|
+
export { uploadFileDropzone } from './uploadFileDropzone';
|
|
14
|
+
export { uploadFileDropzoneImage } from './uploadDropzoneImage';
|
|
15
|
+
export { uploadImage } from './uploadImage';
|
|
16
|
+
export { tags } from './tags';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { table } from "./table.mjs";
|
|
2
|
+
export { pagination } from "./pagination.mjs";
|
|
3
|
+
export { button } from "./button.mjs";
|
|
4
|
+
export { badge } from "./badge.mjs";
|
|
5
|
+
export { buttonGroup } from "./buttonGroup.mjs";
|
|
6
|
+
export { card } from "./card.mjs";
|
|
7
|
+
export { tabs } from "./tabs.mjs";
|
|
8
|
+
export { icon } from "./icon.mjs";
|
|
9
|
+
export { modal } from "./modal.mjs";
|
|
10
|
+
export { slideover } from "./slideover.mjs";
|
|
11
|
+
export { breadcrumb } from "./breadcrumb.mjs";
|
|
12
|
+
export { uploadFileInputClassicAuto } from "./uploadFileInputClassicAuto.mjs";
|
|
13
|
+
export { uploadFileDropzone } from "./uploadFileDropzone.mjs";
|
|
14
|
+
export { uploadFileDropzoneImage } from "./uploadDropzoneImage.mjs";
|
|
15
|
+
export { uploadImage } from "./uploadImage.mjs";
|
|
16
|
+
export { tags } from "./tags.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { describe, it, expect } from "vitest";
|
|
2
|
-
import { FileHelper } from "./FileHelper.
|
|
2
|
+
import { FileHelper } from "./FileHelper.mjs";
|
|
3
3
|
describe("FileHelper", () => {
|
|
4
4
|
describe("dataURLtoFile", () => {
|
|
5
5
|
it("should convert a data URL to a File", async () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type AxiosError } from 'axios';
|
|
2
|
-
import { type IStatus } from '../types/lib
|
|
3
|
-
import { type IOption } from '../types/common
|
|
2
|
+
import { type IStatus } from '../types/lib';
|
|
3
|
+
import { type IOption } from '../types/common';
|
|
4
4
|
export declare class ObjectHelper {
|
|
5
5
|
static createOption(value: any, label?: string): IOption;
|
|
6
6
|
static toOption(data: any, valueAttr?: string, labelAttr?: string): IOption;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ParamHelper } from "./ParamHelper.
|
|
1
|
+
import { ParamHelper } from "./ParamHelper.mjs";
|
|
2
2
|
import { _get } from "#build/imports";
|
|
3
|
-
import { _isEmpty } from "./lodash.
|
|
3
|
+
import { _isEmpty } from "./lodash.mjs";
|
|
4
4
|
export class ObjectHelper {
|
|
5
5
|
static createOption(value, label = "") {
|
|
6
6
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { describe, it, expect } from "vitest";
|
|
2
|
-
import { ObjectHelper } from "./ObjectHelper.
|
|
2
|
+
import { ObjectHelper } from "./ObjectHelper.mjs";
|
|
3
3
|
describe("ObjectHelper", () => {
|
|
4
4
|
describe("createOption", () => {
|
|
5
5
|
it("should create an option object with the provided value and label", () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type IError, type IGetParams } from '../types/common
|
|
1
|
+
import { type IError, type IGetParams } from '../types/common';
|
|
2
2
|
export declare class ParamHelper {
|
|
3
3
|
static getParams: (opts: IGetParams, reqOptions: IGetParams) => Record<string, any> | undefined;
|
|
4
4
|
static getBoolTrue: (bool: any) => boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { describe, it, expect } from "vitest";
|
|
2
|
-
import { ParamHelper } from "./ParamHelper.
|
|
2
|
+
import { ParamHelper } from "./ParamHelper.mjs";
|
|
3
3
|
describe("ParamHelper", () => {
|
|
4
4
|
describe("getParams", () => {
|
|
5
5
|
it("should merge params from opts and reqOptions", () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { describe, it, expect } from "vitest";
|
|
2
|
-
import { StringHelper } from "./StringHelper.
|
|
2
|
+
import { StringHelper } from "./StringHelper.mjs";
|
|
3
3
|
describe("StringHelper", () => {
|
|
4
4
|
describe("genString", () => {
|
|
5
5
|
it("should generate a random string of the specified length", () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finema/core",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.142",
|
|
4
4
|
"repository": "https://gitlab.finema.co/finema/ui-kit",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Finema Dev Core Team",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@nuxt/kit": "^3.11.2",
|
|
39
|
-
"@nuxt/ui": "^2.
|
|
39
|
+
"@nuxt/ui": "^2.15.2",
|
|
40
40
|
"@pinia/nuxt": "^0.5.1",
|
|
41
41
|
"@vee-validate/nuxt": "^4.13.0",
|
|
42
42
|
"@vee-validate/zod": "^4.13.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@finema/eslint-config": "^1.2.0",
|
|
61
61
|
"@nuxt/devtools": "^1.3.3",
|
|
62
62
|
"@nuxt/eslint-config": "^0.3.13",
|
|
63
|
-
"@nuxt/module-builder": "^0.
|
|
63
|
+
"@nuxt/module-builder": "^0.5.5",
|
|
64
64
|
"@nuxt/schema": "^3.11.2",
|
|
65
65
|
"@nuxt/test-utils": "^3.13.1",
|
|
66
66
|
"@release-it/conventional-changelog": "^8.0.1",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"happy-dom": "^13.0.0",
|
|
74
74
|
"husky": "^9.0.11",
|
|
75
75
|
"lint-staged": "^15.2.0",
|
|
76
|
-
"nuxt": "^3.11.
|
|
76
|
+
"nuxt": "^3.11.2",
|
|
77
77
|
"playwright-core": "^1.42.1",
|
|
78
78
|
"prettier": "^3.1.1",
|
|
79
79
|
"release-it": "^17.0.1",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export { table } from "./table.js";
|
|
2
|
-
export { pagination } from "./pagination.js";
|
|
3
|
-
export { button } from "./button.js";
|
|
4
|
-
export { badge } from "./badge.js";
|
|
5
|
-
export { buttonGroup } from "./buttonGroup.js";
|
|
6
|
-
export { card } from "./card.js";
|
|
7
|
-
export { tabs } from "./tabs.js";
|
|
8
|
-
export { icon } from "./icon.js";
|
|
9
|
-
export { modal } from "./modal.js";
|
|
10
|
-
export { slideover } from "./slideover.js";
|
|
11
|
-
export { breadcrumb } from "./breadcrumb.js";
|
|
12
|
-
export { uploadFileInputClassicAuto } from "./uploadFileInputClassicAuto.js";
|
|
13
|
-
export { uploadFileDropzone } from "./uploadFileDropzone.js";
|
|
14
|
-
export { uploadFileDropzoneImage } from "./uploadDropzoneImage.js";
|
|
15
|
-
export { uploadImage } from "./uploadImage.js";
|
|
16
|
-
export { tags } from "./tags.js";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/runtime/components/Form/InputUploadDropzoneAutoMultiple/{types.js → types.mjs}
RENAMED
|
File without changes
|
/package/dist/runtime/components/Form/InputUploadDropzoneImageAutoMultiple/{types.js → types.mjs}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/runtime/ui.config/{uploadFileInputClassicAuto.js → uploadFileInputClassicAuto.mjs}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|