@fctc/interface-logic 4.3.9 → 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/constants.d.mts +3 -1
- package/dist/constants.d.ts +3 -1
- package/dist/constants.js +2 -0
- package/dist/constants.mjs +2 -0
- package/dist/environment.d.mts +1 -1
- package/dist/environment.d.ts +1 -1
- package/dist/hooks.d.mts +8 -3
- package/dist/hooks.d.ts +8 -3
- package/dist/hooks.js +347 -805
- package/dist/hooks.mjs +196 -654
- package/dist/provider.d.mts +14 -6
- package/dist/provider.d.ts +14 -6
- package/dist/provider.js +262 -703
- package/dist/provider.mjs +236 -679
- package/dist/services.d.mts +16 -8
- package/dist/services.d.ts +16 -8
- package/dist/services.js +303 -762
- package/dist/services.mjs +285 -743
- package/dist/store.js +1 -1
- package/dist/store.mjs +1 -1
- package/package.json +92 -91
- 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;
|
|
@@ -605,6 +611,14 @@ declare const serviceFactories: readonly [(env: any) => {
|
|
|
605
611
|
service?: string;
|
|
606
612
|
xNode?: string;
|
|
607
613
|
}) => any;
|
|
614
|
+
}, (env: any) => {
|
|
615
|
+
completeCurrentStage: ({ ids, withContext, xNode, service, requestStageId, }: {
|
|
616
|
+
ids: number[];
|
|
617
|
+
requestStageId: number;
|
|
618
|
+
withContext: any;
|
|
619
|
+
service?: string;
|
|
620
|
+
xNode?: string;
|
|
621
|
+
}) => any;
|
|
608
622
|
}];
|
|
609
623
|
type ServiceFactories = (typeof serviceFactories)[number];
|
|
610
624
|
type ServiceReturn<T extends ServiceFactories> = ReturnType<T>;
|
|
@@ -612,10 +626,4 @@ type MergedService = UnionToIntersection<ServiceReturn<ServiceFactories>>;
|
|
|
612
626
|
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
613
627
|
declare const usePosService: () => MergedService;
|
|
614
628
|
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
declare const useFileSystemService: () => {
|
|
618
|
-
initSnapshot: typeof initSnapshot;
|
|
619
|
-
};
|
|
620
|
-
|
|
621
|
-
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;
|
|
@@ -605,6 +611,14 @@ declare const serviceFactories: readonly [(env: any) => {
|
|
|
605
611
|
service?: string;
|
|
606
612
|
xNode?: string;
|
|
607
613
|
}) => any;
|
|
614
|
+
}, (env: any) => {
|
|
615
|
+
completeCurrentStage: ({ ids, withContext, xNode, service, requestStageId, }: {
|
|
616
|
+
ids: number[];
|
|
617
|
+
requestStageId: number;
|
|
618
|
+
withContext: any;
|
|
619
|
+
service?: string;
|
|
620
|
+
xNode?: string;
|
|
621
|
+
}) => any;
|
|
608
622
|
}];
|
|
609
623
|
type ServiceFactories = (typeof serviceFactories)[number];
|
|
610
624
|
type ServiceReturn<T extends ServiceFactories> = ReturnType<T>;
|
|
@@ -612,10 +626,4 @@ type MergedService = UnionToIntersection<ServiceReturn<ServiceFactories>>;
|
|
|
612
626
|
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
613
627
|
declare const usePosService: () => MergedService;
|
|
614
628
|
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
declare const useFileSystemService: () => {
|
|
618
|
-
initSnapshot: typeof initSnapshot;
|
|
619
|
-
};
|
|
620
|
-
|
|
621
|
-
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 };
|