@dxs-ts/eveli-ide 0.0.91 → 0.0.93

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.
Files changed (3) hide show
  1. package/build/index.d.ts +130 -102
  2. package/build/index.js +18922 -18453
  3. package/package.json +1 -1
package/build/index.d.ts CHANGED
@@ -634,6 +634,10 @@ export declare namespace StencilApi {
634
634
  anon?: boolean;
635
635
  startDate?: string | undefined;
636
636
  endDate?: string | undefined;
637
+ formName?: string | undefined;
638
+ formTag?: string | undefined;
639
+ formId?: string | undefined;
640
+ flowName?: string | undefined;
637
641
  };
638
642
  }
639
643
  export interface WorkflowMutator {
@@ -645,6 +649,10 @@ export declare namespace StencilApi {
645
649
  anon: boolean | undefined;
646
650
  startDate?: string | undefined;
647
651
  endDate?: string | undefined;
652
+ formName: string;
653
+ formTag: string;
654
+ formId?: string | undefined;
655
+ flowName: string;
648
656
  }
649
657
  export interface FetchIntegration {
650
658
  fetch<T>(path: string, init?: RequestInit): Promise<T>;
@@ -656,6 +664,7 @@ export declare namespace StencilApi {
656
664
  delete(): DeleteBuilder;
657
665
  update(): UpdateBuilder;
658
666
  version(): Promise<VersionEntity>;
667
+ assets(): AssetRepository;
659
668
  }
660
669
  export interface VersionEntity {
661
670
  version: string;
@@ -697,6 +706,10 @@ export declare namespace StencilApi {
697
706
  anon: boolean | undefined;
698
707
  startDate?: string | undefined;
699
708
  endDate?: string | undefined;
709
+ formName: string;
710
+ formTag: string;
711
+ formId?: string | undefined;
712
+ flowName: string;
700
713
  }
701
714
  export interface CreateRelease {
702
715
  name: string;
@@ -745,6 +758,16 @@ export declare namespace StencilApi {
745
758
  value: string;
746
759
  };
747
760
  }
761
+ export interface DialobTagAsset {
762
+ formLabel: string;
763
+ formName: string;
764
+ tagFormId: string;
765
+ tagName: string;
766
+ }
767
+ export interface AssetRepository {
768
+ flowNames(): Promise<string[]>;
769
+ dialobForms(): Promise<DialobTagAsset[]>;
770
+ }
748
771
  export interface ErrorMsg {
749
772
  id: string;
750
773
  value: string;
@@ -761,6 +784,7 @@ export declare namespace StencilClient {
761
784
  const service: (init: {
762
785
  store?: StencilApi.Store;
763
786
  config?: StencilApi.StoreConfig;
787
+ assets?: StencilApi.AssetRepository;
764
788
  }) => StencilApi.Service;
765
789
  export class CreateBuilderImpl implements StencilApi.CreateBuilder {
766
790
  private _backend;
@@ -821,6 +845,10 @@ export declare namespace StencilClient {
821
845
  handle401(): Promise<void>;
822
846
  fetch<T>(path: string, req?: RequestInit): Promise<T>;
823
847
  }
848
+ export class DefaultAssetRepository implements StencilApi.AssetRepository {
849
+ flowNames: () => Promise<string[]>;
850
+ dialobForms: () => Promise<StencilApi.DialobTagAsset[]>;
851
+ }
824
852
  }
825
853
 
826
854
  export declare const StencilComposer: default_2.FC<StencilComposerProps>;
@@ -988,108 +1016,6 @@ declare namespace HdesClient {
988
1016
  }
989
1017
 
990
1018
 
991
- declare namespace WrenchComposerApi {
992
- interface Nav {
993
- value?: string | null;
994
- }
995
- interface TabData {
996
- nav?: Nav;
997
- withNav(nav: Nav): TabData;
998
- }
999
- interface Tab extends BurgerApi.TabSession<TabData> {
1000
- }
1001
- interface DebugSession {
1002
- error?: HdesApi.StoreError;
1003
- debug?: HdesApi.DebugResponse;
1004
- csv?: string;
1005
- json?: string;
1006
- selected: HdesApi.EntityId;
1007
- inputType: DebugInputType;
1008
- }
1009
- type DebugInputType = "CSV" | "JSON";
1010
- interface DebugSessions {
1011
- selected?: HdesApi.EntityId;
1012
- values: Record<HdesApi.EntityId, DebugSession>;
1013
- }
1014
- interface PageUpdate {
1015
- saved: boolean;
1016
- origin: HdesApi.Entity<any>;
1017
- value: HdesApi.AstCommand[];
1018
- withValue(value: HdesApi.AstCommand[]): PageUpdate;
1019
- }
1020
- interface Session {
1021
- site: HdesApi.Site;
1022
- pages: Record<HdesApi.EntityId, PageUpdate>;
1023
- debug: DebugSessions;
1024
- branchName?: string;
1025
- getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
1026
- getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
1027
- getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
1028
- getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
1029
- withDebug(page: DebugSession): Session;
1030
- withPage(page: HdesApi.EntityId): Session;
1031
- withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
1032
- withoutPages(pages: HdesApi.EntityId[]): Session;
1033
- withBranch(branchName?: string): Session;
1034
- withSite(site: HdesApi.Site): Session;
1035
- }
1036
- interface Actions {
1037
- handleLoad(): Promise<void>;
1038
- handleLoadSite(site?: HdesApi.Site): Promise<void>;
1039
- handleDebugUpdate(debug: DebugSession): void;
1040
- handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
1041
- handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
1042
- handleBranchUpdate(branchName?: string): void;
1043
- }
1044
- interface ContextType {
1045
- session: Session;
1046
- actions: Actions;
1047
- service: HdesApi.Service;
1048
- }
1049
- }
1050
-
1051
-
1052
- declare namespace WrenchComposerApi {
1053
- class ImmutableTabData implements TabData {
1054
- private _nav;
1055
- constructor(props: {
1056
- nav: Nav;
1057
- });
1058
- get nav(): Nav;
1059
- withNav(nav: Nav): ImmutableTabData;
1060
- }
1061
- const createTab: (props: {
1062
- nav: Nav;
1063
- page?: HdesApi.Entity<any>;
1064
- }) => ImmutableTabData;
1065
- const ComposerContext: React.Context<ContextType>;
1066
- const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
1067
- const useComposer: () => {
1068
- session: Session;
1069
- service: HdesApi.Service;
1070
- actions: Actions;
1071
- site: HdesApi.Site;
1072
- isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
1073
- };
1074
- const useSite: () => HdesApi.Site;
1075
- const useBranchName: () => string | undefined;
1076
- const useSession: () => Session;
1077
- const useNav: () => {
1078
- handleInTab: (props: {
1079
- article: HdesApi.Entity<any>;
1080
- }) => void;
1081
- findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
1082
- };
1083
- const useDebug: () => {
1084
- handleDebugInit: (selected: HdesApi.EntityId) => void;
1085
- };
1086
- const Provider: React.FC<{
1087
- children: React.ReactNode;
1088
- service: HdesApi.Service;
1089
- }>;
1090
- }
1091
-
1092
-
1093
1019
  declare namespace StencilComposerApi {
1094
1020
  interface SearchData {
1095
1021
  values: readonly SearchDataEntry[];
@@ -1247,6 +1173,108 @@ declare namespace StencilComposerApi {
1247
1173
  }>;
1248
1174
  }
1249
1175
 
1176
+
1177
+ declare namespace WrenchComposerApi {
1178
+ interface Nav {
1179
+ value?: string | null;
1180
+ }
1181
+ interface TabData {
1182
+ nav?: Nav;
1183
+ withNav(nav: Nav): TabData;
1184
+ }
1185
+ interface Tab extends BurgerApi.TabSession<TabData> {
1186
+ }
1187
+ interface DebugSession {
1188
+ error?: HdesApi.StoreError;
1189
+ debug?: HdesApi.DebugResponse;
1190
+ csv?: string;
1191
+ json?: string;
1192
+ selected: HdesApi.EntityId;
1193
+ inputType: DebugInputType;
1194
+ }
1195
+ type DebugInputType = "CSV" | "JSON";
1196
+ interface DebugSessions {
1197
+ selected?: HdesApi.EntityId;
1198
+ values: Record<HdesApi.EntityId, DebugSession>;
1199
+ }
1200
+ interface PageUpdate {
1201
+ saved: boolean;
1202
+ origin: HdesApi.Entity<any>;
1203
+ value: HdesApi.AstCommand[];
1204
+ withValue(value: HdesApi.AstCommand[]): PageUpdate;
1205
+ }
1206
+ interface Session {
1207
+ site: HdesApi.Site;
1208
+ pages: Record<HdesApi.EntityId, PageUpdate>;
1209
+ debug: DebugSessions;
1210
+ branchName?: string;
1211
+ getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
1212
+ getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
1213
+ getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
1214
+ getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
1215
+ withDebug(page: DebugSession): Session;
1216
+ withPage(page: HdesApi.EntityId): Session;
1217
+ withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
1218
+ withoutPages(pages: HdesApi.EntityId[]): Session;
1219
+ withBranch(branchName?: string): Session;
1220
+ withSite(site: HdesApi.Site): Session;
1221
+ }
1222
+ interface Actions {
1223
+ handleLoad(): Promise<void>;
1224
+ handleLoadSite(site?: HdesApi.Site): Promise<void>;
1225
+ handleDebugUpdate(debug: DebugSession): void;
1226
+ handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
1227
+ handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
1228
+ handleBranchUpdate(branchName?: string): void;
1229
+ }
1230
+ interface ContextType {
1231
+ session: Session;
1232
+ actions: Actions;
1233
+ service: HdesApi.Service;
1234
+ }
1235
+ }
1236
+
1237
+
1238
+ declare namespace WrenchComposerApi {
1239
+ class ImmutableTabData implements TabData {
1240
+ private _nav;
1241
+ constructor(props: {
1242
+ nav: Nav;
1243
+ });
1244
+ get nav(): Nav;
1245
+ withNav(nav: Nav): ImmutableTabData;
1246
+ }
1247
+ const createTab: (props: {
1248
+ nav: Nav;
1249
+ page?: HdesApi.Entity<any>;
1250
+ }) => ImmutableTabData;
1251
+ const ComposerContext: React.Context<ContextType>;
1252
+ const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
1253
+ const useComposer: () => {
1254
+ session: Session;
1255
+ service: HdesApi.Service;
1256
+ actions: Actions;
1257
+ site: HdesApi.Site;
1258
+ isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
1259
+ };
1260
+ const useSite: () => HdesApi.Site;
1261
+ const useBranchName: () => string | undefined;
1262
+ const useSession: () => Session;
1263
+ const useNav: () => {
1264
+ handleInTab: (props: {
1265
+ article: HdesApi.Entity<any>;
1266
+ }) => void;
1267
+ findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
1268
+ };
1269
+ const useDebug: () => {
1270
+ handleDebugInit: (selected: HdesApi.EntityId) => void;
1271
+ };
1272
+ const Provider: React.FC<{
1273
+ children: React.ReactNode;
1274
+ service: HdesApi.Service;
1275
+ }>;
1276
+ }
1277
+
1250
1278
  declare namespace Decision {
1251
1279
  const Table: import("react").FC<{
1252
1280
  ast: import("../../client").HdesApi.AstDecision;