@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.
@@ -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
- declare function initSnapshot(onProgress?: ProgressCb): Promise<void>;
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 };
@@ -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
- declare function initSnapshot(onProgress?: ProgressCb): Promise<void>;
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 };