@fctc/widget-logic 5.3.0 → 5.3.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.
- package/dist/config.d.mts +0 -1
- package/dist/config.d.ts +0 -1
- package/dist/hooks.d.mts +3 -13
- package/dist/hooks.d.ts +3 -13
- package/dist/hooks.js +345 -158
- package/dist/hooks.mjs +325 -148
- package/dist/index.d.mts +3 -5
- package/dist/index.d.ts +3 -5
- package/dist/index.js +531 -4690
- package/dist/index.mjs +425 -4603
- package/dist/utils.d.mts +5 -8
- package/dist/utils.d.ts +5 -8
- package/dist/utils.js +326 -104
- package/dist/utils.mjs +313 -101
- package/dist/widget.d.mts +0 -5
- package/dist/widget.d.ts +0 -5
- package/dist/widget.js +504 -4378
- package/dist/widget.mjs +407 -4299
- package/package.json +73 -92
- package/dist/icons.d.mts +0 -27
- package/dist/icons.d.ts +0 -27
- package/dist/icons.js +0 -273
- package/dist/icons.mjs +0 -239
- package/dist/store.d.mts +0 -1
- package/dist/store.d.ts +0 -1
- package/dist/store.js +0 -24
- package/dist/store.mjs +0 -2
package/dist/config.d.mts
CHANGED
package/dist/config.d.ts
CHANGED
package/dist/hooks.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { useAddEntity, useButton, useChangeOrderPreparationState, useChangeStatus, useCheckPayment, useCreateEntity, useCreatePosConfig, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGeneratePaymentQrInfo, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetExternalTabs, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups,
|
|
1
|
+
export { useAddEntity, useButton, useChangeOrderPreparationState, useChangeStatus, useCheckPayment, useCreateEntity, useCreatePosConfig, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGeneratePaymentQrInfo, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetExternalTabs, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetList, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetOrderLine, useGetPinCode, useGetPrintReport, useGetProGressBar, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetUser, useGetView, useGrantAccess, useIsValidToken, useLoadAction, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useReadGroup, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useUpdatePassword, useUploadFile, useUploadFileExcel, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp } from '@fctc/interface-logic/hooks';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
4
4
|
import * as react from 'react';
|
|
5
|
-
import react__default
|
|
5
|
+
import react__default from 'react';
|
|
6
6
|
|
|
7
7
|
declare const useCallAction: () => readonly [ActionResult | undefined, ({ aid, service, xNode, context, }: {
|
|
8
8
|
aid: any;
|
|
@@ -1166,16 +1166,6 @@ type ContextProfile = {
|
|
|
1166
1166
|
[key: string]: any;
|
|
1167
1167
|
};
|
|
1168
1168
|
|
|
1169
|
-
declare const DEFAULT_EVENTS: readonly ["mousedown", "touchstart"];
|
|
1170
|
-
type EventType = (typeof DEFAULT_EVENTS)[number];
|
|
1171
|
-
interface UseClickOutsideOptions {
|
|
1172
|
-
handler: (event?: Event) => void;
|
|
1173
|
-
events?: readonly EventType[];
|
|
1174
|
-
nodes?: (HTMLDivElement | null)[];
|
|
1175
|
-
refs?: any;
|
|
1176
|
-
}
|
|
1177
|
-
declare const useClickOutside: ({ handler, events, nodes, refs, }: UseClickOutsideOptions) => RefObject<HTMLDivElement | null>;
|
|
1178
|
-
|
|
1179
1169
|
declare function useDebounce<T>(value: T, delay: number): [T];
|
|
1180
1170
|
|
|
1181
1171
|
declare const useGetRowIds: (tableRef: react__default.RefObject<HTMLTableElement | null>) => {
|
|
@@ -1183,4 +1173,4 @@ declare const useGetRowIds: (tableRef: react__default.RefObject<HTMLTableElement
|
|
|
1183
1173
|
refresh: () => void;
|
|
1184
1174
|
};
|
|
1185
1175
|
|
|
1186
|
-
export { type ActionResultType, AppProvider, type CompanyTuple, type ContextProfile, type CurrentCompany, type RecordMenu, type UseMenuReturn, type ViewResponse, useAppProvider, useCallAction, type useCallActionType,
|
|
1176
|
+
export { type ActionResultType, AppProvider, type CompanyTuple, type ContextProfile, type CurrentCompany, type RecordMenu, type UseMenuReturn, type ViewResponse, useAppProvider, useCallAction, type useCallActionType, useCompany, type useCompanyType, useConfig, type useConfigType, useDebounce, useDetail, useGetAction, useGetRowIds, useGetSpecification, useListData, type useListDataType, useMenu, type useMenuType, useProfile, useUser, type useUserType, useViewV2, type useViewV2Type };
|
package/dist/hooks.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { useAddEntity, useButton, useChangeOrderPreparationState, useChangeStatus, useCheckPayment, useCreateEntity, useCreatePosConfig, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGeneratePaymentQrInfo, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetExternalTabs, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups,
|
|
1
|
+
export { useAddEntity, useButton, useChangeOrderPreparationState, useChangeStatus, useCheckPayment, useCreateEntity, useCreatePosConfig, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGeneratePaymentQrInfo, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetExternalTabs, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetList, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetOrderLine, useGetPinCode, useGetPrintReport, useGetProGressBar, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetUser, useGetView, useGrantAccess, useIsValidToken, useLoadAction, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useReadGroup, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useUpdatePassword, useUploadFile, useUploadFileExcel, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp } from '@fctc/interface-logic/hooks';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
4
4
|
import * as react from 'react';
|
|
5
|
-
import react__default
|
|
5
|
+
import react__default from 'react';
|
|
6
6
|
|
|
7
7
|
declare const useCallAction: () => readonly [ActionResult | undefined, ({ aid, service, xNode, context, }: {
|
|
8
8
|
aid: any;
|
|
@@ -1166,16 +1166,6 @@ type ContextProfile = {
|
|
|
1166
1166
|
[key: string]: any;
|
|
1167
1167
|
};
|
|
1168
1168
|
|
|
1169
|
-
declare const DEFAULT_EVENTS: readonly ["mousedown", "touchstart"];
|
|
1170
|
-
type EventType = (typeof DEFAULT_EVENTS)[number];
|
|
1171
|
-
interface UseClickOutsideOptions {
|
|
1172
|
-
handler: (event?: Event) => void;
|
|
1173
|
-
events?: readonly EventType[];
|
|
1174
|
-
nodes?: (HTMLDivElement | null)[];
|
|
1175
|
-
refs?: any;
|
|
1176
|
-
}
|
|
1177
|
-
declare const useClickOutside: ({ handler, events, nodes, refs, }: UseClickOutsideOptions) => RefObject<HTMLDivElement | null>;
|
|
1178
|
-
|
|
1179
1169
|
declare function useDebounce<T>(value: T, delay: number): [T];
|
|
1180
1170
|
|
|
1181
1171
|
declare const useGetRowIds: (tableRef: react__default.RefObject<HTMLTableElement | null>) => {
|
|
@@ -1183,4 +1173,4 @@ declare const useGetRowIds: (tableRef: react__default.RefObject<HTMLTableElement
|
|
|
1183
1173
|
refresh: () => void;
|
|
1184
1174
|
};
|
|
1185
1175
|
|
|
1186
|
-
export { type ActionResultType, AppProvider, type CompanyTuple, type ContextProfile, type CurrentCompany, type RecordMenu, type UseMenuReturn, type ViewResponse, useAppProvider, useCallAction, type useCallActionType,
|
|
1176
|
+
export { type ActionResultType, AppProvider, type CompanyTuple, type ContextProfile, type CurrentCompany, type RecordMenu, type UseMenuReturn, type ViewResponse, useAppProvider, useCallAction, type useCallActionType, useCompany, type useCompanyType, useConfig, type useConfigType, useDebounce, useDetail, useGetAction, useGetRowIds, useGetSpecification, useListData, type useListDataType, useMenu, type useMenuType, useProfile, useUser, type useUserType, useViewV2, type useViewV2Type };
|