@dxs-ts/eveli-ide 0.0.13 → 0.0.14
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 +100 -100
- package/build/index.js +3 -3
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -792,101 +792,7 @@ declare namespace HdesClient {
|
|
|
792
792
|
}
|
|
793
793
|
|
|
794
794
|
|
|
795
|
-
declare namespace
|
|
796
|
-
interface Nav {
|
|
797
|
-
value?: string | null;
|
|
798
|
-
}
|
|
799
|
-
interface TabData {
|
|
800
|
-
nav?: Nav;
|
|
801
|
-
withNav(nav: Nav): TabData;
|
|
802
|
-
}
|
|
803
|
-
interface Tab extends BurgerApi.TabSession<TabData> {
|
|
804
|
-
}
|
|
805
|
-
interface DebugSession {
|
|
806
|
-
error?: HdesApi.StoreError;
|
|
807
|
-
debug?: HdesApi.DebugResponse;
|
|
808
|
-
csv?: string;
|
|
809
|
-
json?: string;
|
|
810
|
-
selected: HdesApi.EntityId;
|
|
811
|
-
inputType: DebugInputType;
|
|
812
|
-
}
|
|
813
|
-
type DebugInputType = "CSV" | "JSON";
|
|
814
|
-
interface DebugSessions {
|
|
815
|
-
selected?: HdesApi.EntityId;
|
|
816
|
-
values: Record<HdesApi.EntityId, DebugSession>;
|
|
817
|
-
}
|
|
818
|
-
interface PageUpdate {
|
|
819
|
-
saved: boolean;
|
|
820
|
-
origin: HdesApi.Entity<any>;
|
|
821
|
-
value: HdesApi.AstCommand[];
|
|
822
|
-
withValue(value: HdesApi.AstCommand[]): PageUpdate;
|
|
823
|
-
}
|
|
824
|
-
interface Session {
|
|
825
|
-
site: HdesApi.Site;
|
|
826
|
-
pages: Record<HdesApi.EntityId, PageUpdate>;
|
|
827
|
-
debug: DebugSessions;
|
|
828
|
-
branchName?: string;
|
|
829
|
-
getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
|
|
830
|
-
getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
|
|
831
|
-
getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
|
|
832
|
-
getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
|
|
833
|
-
withDebug(page: DebugSession): Session;
|
|
834
|
-
withPage(page: HdesApi.EntityId): Session;
|
|
835
|
-
withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
|
|
836
|
-
withoutPages(pages: HdesApi.EntityId[]): Session;
|
|
837
|
-
withBranch(branchName?: string): Session;
|
|
838
|
-
withSite(site: HdesApi.Site): Session;
|
|
839
|
-
}
|
|
840
|
-
interface Actions {
|
|
841
|
-
handleLoad(): Promise<void>;
|
|
842
|
-
handleLoadSite(site?: HdesApi.Site): Promise<void>;
|
|
843
|
-
handleDebugUpdate(debug: DebugSession): void;
|
|
844
|
-
handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
|
|
845
|
-
handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
|
|
846
|
-
handleBranchUpdate(branchName?: string): void;
|
|
847
|
-
}
|
|
848
|
-
interface ContextType {
|
|
849
|
-
session: Session;
|
|
850
|
-
actions: Actions;
|
|
851
|
-
service: HdesApi.Service;
|
|
852
|
-
}
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
declare namespace Composer {
|
|
857
|
-
const createTab: (props: {
|
|
858
|
-
nav: Composer.Nav;
|
|
859
|
-
page?: HdesApi.Entity<any>;
|
|
860
|
-
}) => ImmutableTabData;
|
|
861
|
-
const ComposerContext: React.Context<ContextType>;
|
|
862
|
-
const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
863
|
-
const useComposer: () => {
|
|
864
|
-
session: Session;
|
|
865
|
-
service: HdesApi.Service;
|
|
866
|
-
actions: Actions;
|
|
867
|
-
site: HdesApi.Site;
|
|
868
|
-
isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
869
|
-
};
|
|
870
|
-
const useSite: () => HdesApi.Site;
|
|
871
|
-
const useBranchName: () => string | undefined;
|
|
872
|
-
const useSession: () => Session;
|
|
873
|
-
const useNav: () => {
|
|
874
|
-
handleInTab: (props: {
|
|
875
|
-
article: HdesApi.Entity<any>;
|
|
876
|
-
}) => void;
|
|
877
|
-
findTab: (article: HdesApi.Entity<any>) => Composer.Tab | undefined;
|
|
878
|
-
};
|
|
879
|
-
const useDebug: () => {
|
|
880
|
-
handleDebugInit: (selected: HdesApi.EntityId) => void;
|
|
881
|
-
};
|
|
882
|
-
const Provider: React.FC<{
|
|
883
|
-
children: React.ReactNode;
|
|
884
|
-
service: HdesApi.Service;
|
|
885
|
-
}>;
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
declare namespace Composer {
|
|
795
|
+
declare namespace StencilComposerApi {
|
|
890
796
|
interface SearchData {
|
|
891
797
|
values: readonly SearchDataEntry[];
|
|
892
798
|
filterLinks(keyword: string): readonly SearchResult[];
|
|
@@ -978,7 +884,7 @@ declare namespace Composer {
|
|
|
978
884
|
canCreate: StencilClient.SiteLocale[];
|
|
979
885
|
links: LinkView[];
|
|
980
886
|
workflows: WorkflowView[];
|
|
981
|
-
children:
|
|
887
|
+
children: ArticleView[];
|
|
982
888
|
displayOrder: number;
|
|
983
889
|
getPageById(pageId: StencilClient.PageId): PageView;
|
|
984
890
|
getPageByLocaleId(localeId: StencilClient.LocaleId): PageView;
|
|
@@ -1004,9 +910,9 @@ declare namespace Composer {
|
|
|
1004
910
|
}
|
|
1005
911
|
|
|
1006
912
|
|
|
1007
|
-
declare namespace
|
|
913
|
+
declare namespace StencilComposerApi {
|
|
1008
914
|
const createTab: (props: {
|
|
1009
|
-
nav:
|
|
915
|
+
nav: Nav;
|
|
1010
916
|
page?: StencilClient.Page;
|
|
1011
917
|
}) => ImmutableTabData;
|
|
1012
918
|
const ComposerContext: React.Context<ContextType>;
|
|
@@ -1023,11 +929,11 @@ declare namespace Composer {
|
|
|
1023
929
|
const useNav: () => {
|
|
1024
930
|
handleInTab: (props: {
|
|
1025
931
|
article: StencilClient.Article;
|
|
1026
|
-
type:
|
|
932
|
+
type: NavType;
|
|
1027
933
|
locale?: string | null;
|
|
1028
934
|
secondary?: boolean;
|
|
1029
935
|
}) => void;
|
|
1030
|
-
findTab: (article: StencilClient.Article) =>
|
|
936
|
+
findTab: (article: StencilClient.Article) => Tab | undefined;
|
|
1031
937
|
};
|
|
1032
938
|
const Provider: React.FC<{
|
|
1033
939
|
children: React.ReactNode;
|
|
@@ -1315,6 +1221,100 @@ declare namespace StencilClient {
|
|
|
1315
1221
|
}) => Service;
|
|
1316
1222
|
}
|
|
1317
1223
|
|
|
1224
|
+
|
|
1225
|
+
declare namespace WrenchComposerApi {
|
|
1226
|
+
interface Nav {
|
|
1227
|
+
value?: string | null;
|
|
1228
|
+
}
|
|
1229
|
+
interface TabData {
|
|
1230
|
+
nav?: Nav;
|
|
1231
|
+
withNav(nav: Nav): TabData;
|
|
1232
|
+
}
|
|
1233
|
+
interface Tab extends BurgerApi.TabSession<TabData> {
|
|
1234
|
+
}
|
|
1235
|
+
interface DebugSession {
|
|
1236
|
+
error?: HdesApi.StoreError;
|
|
1237
|
+
debug?: HdesApi.DebugResponse;
|
|
1238
|
+
csv?: string;
|
|
1239
|
+
json?: string;
|
|
1240
|
+
selected: HdesApi.EntityId;
|
|
1241
|
+
inputType: DebugInputType;
|
|
1242
|
+
}
|
|
1243
|
+
type DebugInputType = "CSV" | "JSON";
|
|
1244
|
+
interface DebugSessions {
|
|
1245
|
+
selected?: HdesApi.EntityId;
|
|
1246
|
+
values: Record<HdesApi.EntityId, DebugSession>;
|
|
1247
|
+
}
|
|
1248
|
+
interface PageUpdate {
|
|
1249
|
+
saved: boolean;
|
|
1250
|
+
origin: HdesApi.Entity<any>;
|
|
1251
|
+
value: HdesApi.AstCommand[];
|
|
1252
|
+
withValue(value: HdesApi.AstCommand[]): PageUpdate;
|
|
1253
|
+
}
|
|
1254
|
+
interface Session {
|
|
1255
|
+
site: HdesApi.Site;
|
|
1256
|
+
pages: Record<HdesApi.EntityId, PageUpdate>;
|
|
1257
|
+
debug: DebugSessions;
|
|
1258
|
+
branchName?: string;
|
|
1259
|
+
getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
|
|
1260
|
+
getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
|
|
1261
|
+
getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
|
|
1262
|
+
getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
|
|
1263
|
+
withDebug(page: DebugSession): Session;
|
|
1264
|
+
withPage(page: HdesApi.EntityId): Session;
|
|
1265
|
+
withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
|
|
1266
|
+
withoutPages(pages: HdesApi.EntityId[]): Session;
|
|
1267
|
+
withBranch(branchName?: string): Session;
|
|
1268
|
+
withSite(site: HdesApi.Site): Session;
|
|
1269
|
+
}
|
|
1270
|
+
interface Actions {
|
|
1271
|
+
handleLoad(): Promise<void>;
|
|
1272
|
+
handleLoadSite(site?: HdesApi.Site): Promise<void>;
|
|
1273
|
+
handleDebugUpdate(debug: DebugSession): void;
|
|
1274
|
+
handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
|
|
1275
|
+
handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
|
|
1276
|
+
handleBranchUpdate(branchName?: string): void;
|
|
1277
|
+
}
|
|
1278
|
+
interface ContextType {
|
|
1279
|
+
session: Session;
|
|
1280
|
+
actions: Actions;
|
|
1281
|
+
service: HdesApi.Service;
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
declare namespace WrenchComposerApi {
|
|
1287
|
+
const createTab: (props: {
|
|
1288
|
+
nav: Nav;
|
|
1289
|
+
page?: HdesApi.Entity<any>;
|
|
1290
|
+
}) => ImmutableTabData;
|
|
1291
|
+
const ComposerContext: React.Context<ContextType>;
|
|
1292
|
+
const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1293
|
+
const useComposer: () => {
|
|
1294
|
+
session: Session;
|
|
1295
|
+
service: HdesApi.Service;
|
|
1296
|
+
actions: Actions;
|
|
1297
|
+
site: HdesApi.Site;
|
|
1298
|
+
isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1299
|
+
};
|
|
1300
|
+
const useSite: () => HdesApi.Site;
|
|
1301
|
+
const useBranchName: () => string | undefined;
|
|
1302
|
+
const useSession: () => Session;
|
|
1303
|
+
const useNav: () => {
|
|
1304
|
+
handleInTab: (props: {
|
|
1305
|
+
article: HdesApi.Entity<any>;
|
|
1306
|
+
}) => void;
|
|
1307
|
+
findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
|
|
1308
|
+
};
|
|
1309
|
+
const useDebug: () => {
|
|
1310
|
+
handleDebugInit: (selected: HdesApi.EntityId) => void;
|
|
1311
|
+
};
|
|
1312
|
+
const Provider: React.FC<{
|
|
1313
|
+
children: React.ReactNode;
|
|
1314
|
+
service: HdesApi.Service;
|
|
1315
|
+
}>;
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
1318
|
declare namespace Decision {
|
|
1319
1319
|
const Table: import("react").FC<{
|
|
1320
1320
|
ast: import("../../client").HdesApi.AstDecision;
|
package/build/index.js
CHANGED
|
@@ -84848,7 +84848,7 @@ var wk;
|
|
|
84848
84848
|
id: o.article.id,
|
|
84849
84849
|
label: o.article.body.name,
|
|
84850
84850
|
icon: l,
|
|
84851
|
-
data: e.createTab({ nav: a })
|
|
84851
|
+
data: (0, e.createTab)({ nav: a })
|
|
84852
84852
|
};
|
|
84853
84853
|
r.session.findTab(o.article.id) !== void 0 ? r.actions.handleTabData(o.article.id, (p) => p.withNav(a)) : r.actions.handleTabAdd(u);
|
|
84854
84854
|
}, findTab: (o) => {
|
|
@@ -92942,7 +92942,7 @@ const I7e = ({ site: e }) => {
|
|
|
92942
92942
|
] })
|
|
92943
92943
|
}
|
|
92944
92944
|
);
|
|
92945
|
-
}, h0 = { tag: "eveli-ide-0.0.
|
|
92945
|
+
}, h0 = { tag: "eveli-ide-0.0.14", built: "11/10/2024" }, P7e = (e, t, n) => {
|
|
92946
92946
|
var r, i, s, o, a, l, u, d;
|
|
92947
92947
|
return [
|
|
92948
92948
|
{
|
|
@@ -93323,7 +93323,7 @@ var Dk;
|
|
|
93323
93323
|
id: o.article.id,
|
|
93324
93324
|
label: o.article.ast ? (p = o.article.ast) == null ? void 0 : p.name : o.article.id,
|
|
93325
93325
|
icon: l,
|
|
93326
|
-
data: e.createTab({ nav: a })
|
|
93326
|
+
data: (0, e.createTab)({ nav: a })
|
|
93327
93327
|
};
|
|
93328
93328
|
r.session.findTab(o.article.id) !== void 0 ? r.actions.handleTabData(o.article.id, (g) => g.withNav(a)) : r.actions.handleTabAdd(u);
|
|
93329
93329
|
}, findTab: (o) => {
|