@fctc/interface-logic 4.4.0 → 4.4.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/environment.d.mts +1 -1
- package/dist/environment.d.ts +1 -1
- package/dist/hooks.d.mts +1 -4
- package/dist/hooks.d.ts +1 -4
- package/dist/hooks.js +299 -813
- package/dist/hooks.mjs +145 -658
- package/dist/provider.d.mts +13 -6
- package/dist/provider.d.ts +13 -6
- package/dist/provider.js +215 -711
- package/dist/provider.mjs +176 -674
- package/dist/services.d.mts +8 -8
- package/dist/services.d.ts +8 -8
- package/dist/services.js +260 -766
- package/dist/services.mjs +148 -653
- package/dist/store.js +1 -1
- package/dist/store.mjs +1 -1
- package/package.json +3 -2
- package/dist/import-snapshot-Ds0gqFFm.d.mts +0 -3
- package/dist/import-snapshot-Ds0gqFFm.d.ts +0 -3
package/dist/services.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, T as TThreadData, h as GetExternalTab, b as GetListParams, a as GetDetailParams, S as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, f as GetViewParams, c as GetSelectionType } from './view-type-CfcWWR0w.mjs';
|
|
2
|
-
import { P as ProgressCb } from './import-snapshot-Ds0gqFFm.mjs';
|
|
3
2
|
|
|
4
3
|
declare function useActionService(): {
|
|
5
4
|
loadAction: ({ idAction, context, service, xNode, searchParams, }: {
|
|
@@ -541,6 +540,13 @@ declare const serviceFactories: readonly [(env: any) => {
|
|
|
541
540
|
modelsToLoad?: any;
|
|
542
541
|
searchParams?: Record<string, string | number | boolean>;
|
|
543
542
|
}) => Promise<any>;
|
|
543
|
+
loadDataPosSessionSupabase: () => Promise<{
|
|
544
|
+
[x: string]: {
|
|
545
|
+
data: any[];
|
|
546
|
+
fields: Record<string, any>;
|
|
547
|
+
relations: Record<string, any>;
|
|
548
|
+
};
|
|
549
|
+
}>;
|
|
544
550
|
}, (env: any) => {
|
|
545
551
|
manageOnChange: ({ model, ids, args, xNode, service, }: {
|
|
546
552
|
model: string;
|
|
@@ -620,10 +626,4 @@ type MergedService = UnionToIntersection<ServiceReturn<ServiceFactories>>;
|
|
|
620
626
|
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
621
627
|
declare const usePosService: () => MergedService;
|
|
622
628
|
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
declare const useFileSystemService: () => {
|
|
626
|
-
initSnapshot: typeof initSnapshot;
|
|
627
|
-
};
|
|
628
|
-
|
|
629
|
-
export { useActionService, useAuthService, useCompanyService, useDashboardService, useExcelService, useFileSystemService, useFormService, useKanbanService, useModelService, usePosService, useUserService, useViewService };
|
|
629
|
+
export { useActionService, useAuthService, useCompanyService, useDashboardService, useExcelService, useFormService, useKanbanService, useModelService, usePosService, useUserService, useViewService };
|
package/dist/services.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, T as TThreadData, h as GetExternalTab, b as GetListParams, a as GetDetailParams, S as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, f as GetViewParams, c as GetSelectionType } from './view-type-CfcWWR0w.js';
|
|
2
|
-
import { P as ProgressCb } from './import-snapshot-Ds0gqFFm.js';
|
|
3
2
|
|
|
4
3
|
declare function useActionService(): {
|
|
5
4
|
loadAction: ({ idAction, context, service, xNode, searchParams, }: {
|
|
@@ -541,6 +540,13 @@ declare const serviceFactories: readonly [(env: any) => {
|
|
|
541
540
|
modelsToLoad?: any;
|
|
542
541
|
searchParams?: Record<string, string | number | boolean>;
|
|
543
542
|
}) => Promise<any>;
|
|
543
|
+
loadDataPosSessionSupabase: () => Promise<{
|
|
544
|
+
[x: string]: {
|
|
545
|
+
data: any[];
|
|
546
|
+
fields: Record<string, any>;
|
|
547
|
+
relations: Record<string, any>;
|
|
548
|
+
};
|
|
549
|
+
}>;
|
|
544
550
|
}, (env: any) => {
|
|
545
551
|
manageOnChange: ({ model, ids, args, xNode, service, }: {
|
|
546
552
|
model: string;
|
|
@@ -620,10 +626,4 @@ type MergedService = UnionToIntersection<ServiceReturn<ServiceFactories>>;
|
|
|
620
626
|
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
621
627
|
declare const usePosService: () => MergedService;
|
|
622
628
|
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
declare const useFileSystemService: () => {
|
|
626
|
-
initSnapshot: typeof initSnapshot;
|
|
627
|
-
};
|
|
628
|
-
|
|
629
|
-
export { useActionService, useAuthService, useCompanyService, useDashboardService, useExcelService, useFileSystemService, useFormService, useKanbanService, useModelService, usePosService, useUserService, useViewService };
|
|
629
|
+
export { useActionService, useAuthService, useCompanyService, useDashboardService, useExcelService, useFormService, useKanbanService, useModelService, usePosService, useUserService, useViewService };
|