@dxs-ts/eveli-ide 0.0.6 → 0.0.8

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/build/index.d.ts CHANGED
@@ -514,100 +514,6 @@ declare namespace HdesClient {
514
514
  }
515
515
  }
516
516
 
517
-
518
- declare namespace Composer {
519
- interface Nav {
520
- value?: string | null;
521
- }
522
- interface TabData {
523
- nav?: Nav;
524
- withNav(nav: Nav): TabData;
525
- }
526
- interface Tab extends Burger.TabSession<TabData> {
527
- }
528
- interface DebugSession {
529
- error?: HdesClient.StoreError;
530
- debug?: HdesClient.DebugResponse;
531
- csv?: string;
532
- json?: string;
533
- selected: HdesClient.EntityId;
534
- inputType: DebugInputType;
535
- }
536
- type DebugInputType = "CSV" | "JSON";
537
- interface DebugSessions {
538
- selected?: HdesClient.EntityId;
539
- values: Record<HdesClient.EntityId, DebugSession>;
540
- }
541
- interface PageUpdate {
542
- saved: boolean;
543
- origin: HdesClient.Entity<any>;
544
- value: HdesClient.AstCommand[];
545
- withValue(value: HdesClient.AstCommand[]): PageUpdate;
546
- }
547
- interface Session {
548
- site: HdesClient.Site;
549
- pages: Record<HdesClient.EntityId, PageUpdate>;
550
- debug: DebugSessions;
551
- branchName?: string;
552
- getDecision(decisionName: string): undefined | HdesClient.Entity<HdesClient.AstDecision>;
553
- getFlow(flowName: string): undefined | HdesClient.Entity<HdesClient.AstFlow>;
554
- getService(serviceName: string): undefined | HdesClient.Entity<HdesClient.AstService>;
555
- getEntity(id: HdesClient.EntityId): undefined | HdesClient.Entity<any>;
556
- withDebug(page: DebugSession): Session;
557
- withPage(page: HdesClient.EntityId): Session;
558
- withPageValue(page: HdesClient.EntityId, value: HdesClient.AstCommand[]): Session;
559
- withoutPages(pages: HdesClient.EntityId[]): Session;
560
- withBranch(branchName?: string): Session;
561
- withSite(site: HdesClient.Site): Session;
562
- }
563
- interface Actions {
564
- handleLoad(): Promise<void>;
565
- handleLoadSite(site?: HdesClient.Site): Promise<void>;
566
- handleDebugUpdate(debug: DebugSession): void;
567
- handlePageUpdate(page: HdesClient.EntityId, value: HdesClient.AstCommand[]): void;
568
- handlePageUpdateRemove(pages: HdesClient.EntityId[]): void;
569
- handleBranchUpdate(branchName?: string): void;
570
- }
571
- interface ContextType {
572
- session: Session;
573
- actions: Actions;
574
- service: HdesClient.Service;
575
- }
576
- }
577
-
578
-
579
- declare namespace Composer {
580
- const createTab: (props: {
581
- nav: Composer.Nav;
582
- page?: HdesClient.Entity<any>;
583
- }) => ImmutableTabData;
584
- const ComposerContext: React.Context<ContextType>;
585
- const useUnsaved: (entity: HdesClient.Entity<any>) => boolean;
586
- const useComposer: () => {
587
- session: Session;
588
- service: HdesClient.Service;
589
- actions: Actions;
590
- site: HdesClient.Site;
591
- isArticleSaved: (entity: HdesClient.Entity<any>) => boolean;
592
- };
593
- const useSite: () => HdesClient.Site;
594
- const useBranchName: () => string | undefined;
595
- const useSession: () => Session;
596
- const useNav: () => {
597
- handleInTab: (props: {
598
- article: HdesClient.Entity<any>;
599
- }) => void;
600
- findTab: (article: HdesClient.Entity<any>) => Composer.Tab | undefined;
601
- };
602
- const useDebug: () => {
603
- handleDebugInit: (selected: HdesClient.EntityId) => void;
604
- };
605
- const Provider: React.FC<{
606
- children: React.ReactNode;
607
- service: HdesClient.Service;
608
- }>;
609
- }
610
-
611
517
  declare namespace StencilClient {
612
518
  type PageId = string;
613
519
  type LinkId = string;
@@ -1038,6 +944,100 @@ declare namespace Composer {
1038
944
  }>;
1039
945
  }
1040
946
 
947
+
948
+ declare namespace Composer {
949
+ interface Nav {
950
+ value?: string | null;
951
+ }
952
+ interface TabData {
953
+ nav?: Nav;
954
+ withNav(nav: Nav): TabData;
955
+ }
956
+ interface Tab extends Burger.TabSession<TabData> {
957
+ }
958
+ interface DebugSession {
959
+ error?: HdesClient.StoreError;
960
+ debug?: HdesClient.DebugResponse;
961
+ csv?: string;
962
+ json?: string;
963
+ selected: HdesClient.EntityId;
964
+ inputType: DebugInputType;
965
+ }
966
+ type DebugInputType = "CSV" | "JSON";
967
+ interface DebugSessions {
968
+ selected?: HdesClient.EntityId;
969
+ values: Record<HdesClient.EntityId, DebugSession>;
970
+ }
971
+ interface PageUpdate {
972
+ saved: boolean;
973
+ origin: HdesClient.Entity<any>;
974
+ value: HdesClient.AstCommand[];
975
+ withValue(value: HdesClient.AstCommand[]): PageUpdate;
976
+ }
977
+ interface Session {
978
+ site: HdesClient.Site;
979
+ pages: Record<HdesClient.EntityId, PageUpdate>;
980
+ debug: DebugSessions;
981
+ branchName?: string;
982
+ getDecision(decisionName: string): undefined | HdesClient.Entity<HdesClient.AstDecision>;
983
+ getFlow(flowName: string): undefined | HdesClient.Entity<HdesClient.AstFlow>;
984
+ getService(serviceName: string): undefined | HdesClient.Entity<HdesClient.AstService>;
985
+ getEntity(id: HdesClient.EntityId): undefined | HdesClient.Entity<any>;
986
+ withDebug(page: DebugSession): Session;
987
+ withPage(page: HdesClient.EntityId): Session;
988
+ withPageValue(page: HdesClient.EntityId, value: HdesClient.AstCommand[]): Session;
989
+ withoutPages(pages: HdesClient.EntityId[]): Session;
990
+ withBranch(branchName?: string): Session;
991
+ withSite(site: HdesClient.Site): Session;
992
+ }
993
+ interface Actions {
994
+ handleLoad(): Promise<void>;
995
+ handleLoadSite(site?: HdesClient.Site): Promise<void>;
996
+ handleDebugUpdate(debug: DebugSession): void;
997
+ handlePageUpdate(page: HdesClient.EntityId, value: HdesClient.AstCommand[]): void;
998
+ handlePageUpdateRemove(pages: HdesClient.EntityId[]): void;
999
+ handleBranchUpdate(branchName?: string): void;
1000
+ }
1001
+ interface ContextType {
1002
+ session: Session;
1003
+ actions: Actions;
1004
+ service: HdesClient.Service;
1005
+ }
1006
+ }
1007
+
1008
+
1009
+ declare namespace Composer {
1010
+ const createTab: (props: {
1011
+ nav: Composer.Nav;
1012
+ page?: HdesClient.Entity<any>;
1013
+ }) => ImmutableTabData;
1014
+ const ComposerContext: React.Context<ContextType>;
1015
+ const useUnsaved: (entity: HdesClient.Entity<any>) => boolean;
1016
+ const useComposer: () => {
1017
+ session: Session;
1018
+ service: HdesClient.Service;
1019
+ actions: Actions;
1020
+ site: HdesClient.Site;
1021
+ isArticleSaved: (entity: HdesClient.Entity<any>) => boolean;
1022
+ };
1023
+ const useSite: () => HdesClient.Site;
1024
+ const useBranchName: () => string | undefined;
1025
+ const useSession: () => Session;
1026
+ const useNav: () => {
1027
+ handleInTab: (props: {
1028
+ article: HdesClient.Entity<any>;
1029
+ }) => void;
1030
+ findTab: (article: HdesClient.Entity<any>) => Composer.Tab | undefined;
1031
+ };
1032
+ const useDebug: () => {
1033
+ handleDebugInit: (selected: HdesClient.EntityId) => void;
1034
+ };
1035
+ const Provider: React.FC<{
1036
+ children: React.ReactNode;
1037
+ service: HdesClient.Service;
1038
+ }>;
1039
+ }
1040
+
1041
1041
  declare namespace Decision {
1042
1042
  const Table: import("react").FC<{
1043
1043
  ast: import("../../client/api").AstDecision;
package/build/index.js CHANGED
@@ -92946,7 +92946,7 @@ const L7e = ({ site: e }) => {
92946
92946
  ] })
92947
92947
  }
92948
92948
  );
92949
- }, i0 = { tag: "eveli-ide-0.0.6", built: "10/10/2024" }, B7e = (e, t, n) => {
92949
+ }, i0 = { tag: "eveli-ide-0.0.8", built: "11/10/2024" }, B7e = (e, t, n) => {
92950
92950
  var r, i, s, o, a, l, u, d;
92951
92951
  return [
92952
92952
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxs-ts/eveli-ide",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "homepage": "https://github.com/digiexpress-io/digiexpress-parent",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",