@elyx-code/project-logic-tree 0.0.6388 → 0.0.6389
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/index.d.ts +33 -0
- package/dist/index.js +3 -1
- package/dist/index.umd.cjs +77 -77
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2496,6 +2496,12 @@ export declare const DEFAULT_PROJECT_STATIC_PARENT_CONTEXT: IProjectStaticParent
|
|
|
2496
2496
|
|
|
2497
2497
|
export declare const DEFAULT_UUID_MODULE: UUIDModule;
|
|
2498
2498
|
|
|
2499
|
+
export declare enum DefaultModuleId {
|
|
2500
|
+
UUID = "uuid",
|
|
2501
|
+
BuiltInFunctionImplementations = "built-in-function-implementations",
|
|
2502
|
+
SearchNodeImplementation = "search-node-implementation"
|
|
2503
|
+
}
|
|
2504
|
+
|
|
2499
2505
|
export declare enum DefinitionEntityDependencyField {
|
|
2500
2506
|
Extends = "extends",
|
|
2501
2507
|
Implements = "implements"
|
|
@@ -3479,6 +3485,31 @@ export declare interface ExtensionModuleCore {
|
|
|
3479
3485
|
}
|
|
3480
3486
|
|
|
3481
3487
|
export declare enum ExtensionPermissions {
|
|
3488
|
+
Star = "*",// Allow all permissions, not recommended for security reasons
|
|
3489
|
+
OnStar = "on:*",// Allow listening to any event
|
|
3490
|
+
EmitStar = "emit:*",// Allow emitting any event
|
|
3491
|
+
ReadStar = "read:*",// Allow reading any state
|
|
3492
|
+
WriteStar = "write:*",// Allow writing any state
|
|
3493
|
+
UpdateStar = "update:*",// Allow updating any state
|
|
3494
|
+
DoStar = "do:*",// Allow performing any action
|
|
3495
|
+
OnLogicStar = "on:logic:*",// Allow listening to any event in the logic context
|
|
3496
|
+
EmitLogicStar = "emit:logic:*",// Allow emitting any event in the logic context
|
|
3497
|
+
ReadLogicStar = "read:logic:*",// Allow reading any state in the logic context
|
|
3498
|
+
WriteLogicStar = "write:logic:*",// Allow writing any state in the logic context
|
|
3499
|
+
UpdateLogicStar = "update:logic:*",// Allow updating any state in the logic context
|
|
3500
|
+
DoLogicStar = "do:logic:*",// Allow performing any action in the logic context
|
|
3501
|
+
OnGUIStar = "on:gui:*",// Allow listening to any event in the GUI context
|
|
3502
|
+
EmitGUIStar = "emit:gui:*",// Allow emitting any event in the GUI context
|
|
3503
|
+
ReadGUIStar = "read:gui:*",// Allow reading any state in the GUI context
|
|
3504
|
+
WriteGUIStar = "write:gui:*",// Allow writing any state in the GUI context
|
|
3505
|
+
UpdateGUIStar = "update:gui:*",// Allow updating any state in the GUI context
|
|
3506
|
+
DoGUIStar = "do:gui:*",// Allow performing any action in the GUI context
|
|
3507
|
+
OnEditorStar = "on:editor:*",// Allow listening to any event in the editor context
|
|
3508
|
+
EmitEditorStar = "emit:editor:*",// Allow emitting any event in the editor context
|
|
3509
|
+
ReadEditorStar = "read:editor:*",// Allow reading any state in the editor context
|
|
3510
|
+
WriteEditorStar = "write:editor:*",// Allow writing any state in the editor context
|
|
3511
|
+
UpdateEditorStar = "update:editor:*",// Allow updating any state in the editor context
|
|
3512
|
+
DoEditorStar = "do:editor:*",// Allow performing any action in the editor context
|
|
3482
3513
|
OnCompileBefore = "on:compile:before:DefinitionEntity",
|
|
3483
3514
|
OnCompileDefault = "on:compile:default:DefinitionEntity",
|
|
3484
3515
|
OnCompileAfter = "on:compile:after:DefinitionEntity",
|
|
@@ -13598,6 +13629,8 @@ export declare function resolveDatatypeIconName(dataType: DataTypeState): "defin
|
|
|
13598
13629
|
|
|
13599
13630
|
export declare function resolveDataTypeLabel(dataType: DataTypeState | null): string;
|
|
13600
13631
|
|
|
13632
|
+
export declare function resolveDefaultModule<T = any>(moduleId: string): T | null;
|
|
13633
|
+
|
|
13601
13634
|
export declare function resolveDefinitionEntityDataTypeLabel(entity: DefinitionEntityState): string;
|
|
13602
13635
|
|
|
13603
13636
|
export declare function resolveDefinitionEntitySubheader(entity: DefinitionEntityState): string;
|
package/dist/index.js
CHANGED
|
@@ -85603,7 +85603,7 @@ let LEt = class {
|
|
|
85603
85603
|
}), this.subscribedEvents = {};
|
|
85604
85604
|
}
|
|
85605
85605
|
};
|
|
85606
|
-
var PT = /* @__PURE__ */ ((d) => (d[d.High = 1] = "High", d[d.Normal = 5] = "Normal", d[d.Low = 10] = "Low", d))(PT || {}), BEt = /* @__PURE__ */ ((d) => (d.Logic = "logic", d.GUI = "gui", d.Editor = "editor", d.Compile = "compile", d))(BEt || {}), xEt = /* @__PURE__ */ ((d) => (d.OnCompileBefore = "on:compile:before:DefinitionEntity", d.OnCompileDefault = "on:compile:default:DefinitionEntity", d.OnCompileAfter = "on:compile:after:DefinitionEntity", d.EmitCompile = "emit:compile:DefinitionEntity", d.DoEditorPublish = "do:editor:publish", d.PostGUICanvasSlotNewToolbarButton = "write:gui:canvas:slot:toolbar-button", d.ReadGUICanvasSlotToolbarButtons = "read:gui:canvas:slot:toolbar-buttons", d.UpdateGUIGlobalTheme = "update:gui:global:theme", d))(xEt || {}), VT = /* @__PURE__ */ ((d) => (d.UUID = "uuid", d.BuiltInFunctionImplementations = "built-in-function-implementations", d.SearchNodeImplementation = "search-node-implementation", d))(VT || {});
|
|
85606
|
+
var PT = /* @__PURE__ */ ((d) => (d[d.High = 1] = "High", d[d.Normal = 5] = "Normal", d[d.Low = 10] = "Low", d))(PT || {}), BEt = /* @__PURE__ */ ((d) => (d.Logic = "logic", d.GUI = "gui", d.Editor = "editor", d.Compile = "compile", d))(BEt || {}), xEt = /* @__PURE__ */ ((d) => (d.Star = "*", d.OnStar = "on:*", d.EmitStar = "emit:*", d.ReadStar = "read:*", d.WriteStar = "write:*", d.UpdateStar = "update:*", d.DoStar = "do:*", d.OnLogicStar = "on:logic:*", d.EmitLogicStar = "emit:logic:*", d.ReadLogicStar = "read:logic:*", d.WriteLogicStar = "write:logic:*", d.UpdateLogicStar = "update:logic:*", d.DoLogicStar = "do:logic:*", d.OnGUIStar = "on:gui:*", d.EmitGUIStar = "emit:gui:*", d.ReadGUIStar = "read:gui:*", d.WriteGUIStar = "write:gui:*", d.UpdateGUIStar = "update:gui:*", d.DoGUIStar = "do:gui:*", d.OnEditorStar = "on:editor:*", d.EmitEditorStar = "emit:editor:*", d.ReadEditorStar = "read:editor:*", d.WriteEditorStar = "write:editor:*", d.UpdateEditorStar = "update:editor:*", d.DoEditorStar = "do:editor:*", d.OnCompileBefore = "on:compile:before:DefinitionEntity", d.OnCompileDefault = "on:compile:default:DefinitionEntity", d.OnCompileAfter = "on:compile:after:DefinitionEntity", d.EmitCompile = "emit:compile:DefinitionEntity", d.DoEditorPublish = "do:editor:publish", d.PostGUICanvasSlotNewToolbarButton = "write:gui:canvas:slot:toolbar-button", d.ReadGUICanvasSlotToolbarButtons = "read:gui:canvas:slot:toolbar-buttons", d.UpdateGUIGlobalTheme = "update:gui:global:theme", d))(xEt || {}), VT = /* @__PURE__ */ ((d) => (d.UUID = "uuid", d.BuiltInFunctionImplementations = "built-in-function-implementations", d.SearchNodeImplementation = "search-node-implementation", d))(VT || {});
|
|
85607
85607
|
function UEt(d) {
|
|
85608
85608
|
switch (d) {
|
|
85609
85609
|
case "uuid":
|
|
@@ -106405,6 +106405,7 @@ export {
|
|
|
106405
106405
|
T4 as DataTypeDependencyField,
|
|
106406
106406
|
ui as DataTypeParentChildRelation,
|
|
106407
106407
|
Es as DataTypeState,
|
|
106408
|
+
VT as DefaultModuleId,
|
|
106408
106409
|
ZT as DefinitionEntityDependencyField,
|
|
106409
106410
|
Ka as DefinitionEntityState,
|
|
106410
106411
|
Ee as DynamicValueTypes,
|
|
@@ -107421,6 +107422,7 @@ export {
|
|
|
107421
107422
|
LL as resolveDataTypeEntityOrNestedChildrenFromLiteralValue,
|
|
107422
107423
|
lp as resolveDataTypeLabel,
|
|
107423
107424
|
FAt as resolveDatatypeIconName,
|
|
107425
|
+
UEt as resolveDefaultModule,
|
|
107424
107426
|
s1t as resolveDefinitionEntityDataTypeLabel,
|
|
107425
107427
|
EL as resolveDefinitionEntitySubheader,
|
|
107426
107428
|
M$ as resolveEntityCodeName,
|