@endge/core 4.0.3 → 5.0.0
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/ReadMe.md +1 -1
- package/dist/core.cjs +242 -246
- package/dist/core.js +11830 -11590
- package/dist/domain/entities/endge/EndgeFederation.d.ts +7 -7
- package/dist/domain/entities/endge/EndgeSlotRegistry.d.ts +4 -4
- package/dist/domain/entities/runtime/ComponentSFCEventBoundary.d.ts +13 -13
- package/dist/domain/entities/runtime/RuntimeHostBase.d.ts +2 -2
- package/dist/domain/entities/runtime/RuntimeHostRegistry.d.ts +2 -2
- package/dist/domain/entities/runtime/hosts/ComponentSFCRuntimeHost.d.ts +1 -1
- package/dist/domain/types/source/composition-source.types.d.ts +4 -2
- package/dist/model/kernel/endge.d.ts +3 -3
- package/dist/model/modules/context/endge-context.d.ts +5 -5
- package/dist/model/modules/context/endge-vars.d.ts +5 -5
- package/dist/model/modules/context/persistence/RuntimeStateController.d.ts +2 -2
- package/dist/model/modules/domain/endge-domain-repository.d.ts +7 -7
- package/dist/model/modules/domain/endge-domain.d.ts +1 -1
- package/dist/model/modules/domain/endge-types.d.ts +2 -2
- package/dist/model/modules/domain/endge-vocabs.d.ts +28 -28
- package/dist/model/modules/events/endge-events.d.ts +1 -1
- package/dist/model/modules/program/endge-compiler.d.ts +5 -5
- package/dist/model/modules/program/endge-program.d.ts +1 -1
- package/dist/model/modules/runtime/core/endge-runtime.d.ts +11 -11
- package/dist/model/modules/runtime/execution/action/action-program-executor.d.ts +7 -7
- package/dist/model/modules/runtime/execution/computation/ComputationGraphExecutor.d.ts +7 -7
- package/dist/model/modules/runtime/execution/computation/ComputationResource.d.ts +5 -5
- package/dist/model/modules/runtime/execution/computation/ComputationResourceRegistry.d.ts +2 -2
- package/dist/model/modules/runtime/execution/computation/EndgeComputation.d.ts +15 -15
- package/dist/model/modules/runtime/execution/endge-converters.d.ts +6 -6
- package/dist/model/modules/runtime/execution/endge-data-view.d.ts +1 -1
- package/dist/model/modules/runtime/operation/endge-operations.d.ts +5 -5
- package/dist/model/modules/runtime/operation/operation-history.d.ts +9 -9
- package/dist/model/modules/ui/endge-ui-registry.d.ts +1 -1
- package/dist/model/modules/ui/endge-ui.d.ts +10 -10
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@ export declare class EndgeDataView {
|
|
|
25
25
|
private _resolveDataView;
|
|
26
26
|
/** Возвращает compiled artifact, компилируя DataView локально при необходимости. */
|
|
27
27
|
private _resolveArtifact;
|
|
28
|
-
/**
|
|
28
|
+
/** Останавливает manual DataView до появления безопасного runtime. */
|
|
29
29
|
private _runManual;
|
|
30
30
|
/** Интерпретирует декларативные pipeline steps без eval. */
|
|
31
31
|
private _runPipeline;
|
|
@@ -3,9 +3,9 @@ import { RuntimeHost } from '../../../../domain/types/runtime/runtime-host.types
|
|
|
3
3
|
import { OperationHistory } from './operation-history';
|
|
4
4
|
/** Resolves the nearest active Operation History along runtime-scope ancestry. */
|
|
5
5
|
export declare class EndgeOperations {
|
|
6
|
-
private readonly
|
|
7
|
-
private
|
|
8
|
-
private
|
|
6
|
+
private readonly _histories;
|
|
7
|
+
private _latestScopeId;
|
|
8
|
+
private _keydownDisposer;
|
|
9
9
|
register(scope: RuntimeScope, history: OperationHistory): () => void;
|
|
10
10
|
resolveForHost(host: RuntimeHost<any, any> | null | undefined): OperationHistory | null;
|
|
11
11
|
getActiveHistory(): OperationHistory | null;
|
|
@@ -13,6 +13,6 @@ export declare class EndgeOperations {
|
|
|
13
13
|
redo(): Promise<unknown>;
|
|
14
14
|
canUndo(): boolean;
|
|
15
15
|
canRedo(): boolean;
|
|
16
|
-
private
|
|
17
|
-
private
|
|
16
|
+
private _ensureShortcuts;
|
|
17
|
+
private _disposeShortcuts;
|
|
18
18
|
}
|
|
@@ -20,16 +20,16 @@ export interface OperationHistoryOptions {
|
|
|
20
20
|
}
|
|
21
21
|
/** Runtime-memory undo/redo cursor. Transitions are serialized and failures keep the cursor stable. */
|
|
22
22
|
export declare class OperationHistory implements RuntimeOwnedResource {
|
|
23
|
-
private readonly
|
|
23
|
+
private readonly _options;
|
|
24
24
|
readonly kind = "operation-history";
|
|
25
25
|
readonly id: string;
|
|
26
|
-
private
|
|
27
|
-
private
|
|
28
|
-
private
|
|
29
|
-
private
|
|
30
|
-
private
|
|
26
|
+
private _entries;
|
|
27
|
+
private _cursor;
|
|
28
|
+
private _paused;
|
|
29
|
+
private _disposed;
|
|
30
|
+
private _queue;
|
|
31
31
|
private _limit;
|
|
32
|
-
constructor(
|
|
32
|
+
constructor(_options: OperationHistoryOptions);
|
|
33
33
|
get limit(): number;
|
|
34
34
|
get shortcuts(): OperationHistoryShortcutBinding[];
|
|
35
35
|
get active(): boolean;
|
|
@@ -48,7 +48,7 @@ export declare class OperationHistory implements RuntimeOwnedResource {
|
|
|
48
48
|
size: number;
|
|
49
49
|
paused: boolean;
|
|
50
50
|
};
|
|
51
|
-
private
|
|
52
|
-
private
|
|
51
|
+
private _enqueue;
|
|
52
|
+
private _trim;
|
|
53
53
|
}
|
|
54
54
|
export declare function defaultOperationHistoryShortcuts(): OperationHistoryShortcutBinding[];
|
|
@@ -123,6 +123,6 @@ export declare class EndgeUIRegistry extends EndgeModule {
|
|
|
123
123
|
/**
|
|
124
124
|
* Возвращает Fallback Surfaces.
|
|
125
125
|
*/
|
|
126
|
-
private
|
|
126
|
+
private _getFallbackSurfaces;
|
|
127
127
|
}
|
|
128
128
|
export declare function getUIPresentationRoleContract(definition: UIComponentDefinition, role: string): UIPresentationRoleContract | null;
|
|
@@ -6,11 +6,11 @@ import { EndgeModule } from '../../../domain/entities/endge/EndgeModule';
|
|
|
6
6
|
export declare class EndgeUI extends EndgeModule {
|
|
7
7
|
private _offContext;
|
|
8
8
|
private _offWorkspace;
|
|
9
|
-
private readonly
|
|
10
|
-
private readonly
|
|
11
|
-
private readonly
|
|
12
|
-
private readonly
|
|
13
|
-
private readonly
|
|
9
|
+
private readonly _MIN_ZOOM;
|
|
10
|
+
private readonly _MAX_ZOOM;
|
|
11
|
+
private readonly _STEP_ZOOM;
|
|
12
|
+
private readonly _DEFAULT_ZOOM;
|
|
13
|
+
private readonly _LS_KEY_ZOOM;
|
|
14
14
|
private _zoom;
|
|
15
15
|
private _theme;
|
|
16
16
|
/**
|
|
@@ -52,15 +52,15 @@ export declare class EndgeUI extends EndgeModule {
|
|
|
52
52
|
/**
|
|
53
53
|
* Внутренний helper модуля: clamp Zoom.
|
|
54
54
|
*/
|
|
55
|
-
private
|
|
55
|
+
private _clampZoom;
|
|
56
56
|
/**
|
|
57
57
|
* Считывает Zoom From LS.
|
|
58
58
|
*/
|
|
59
|
-
private
|
|
59
|
+
private _readZoomFromLS;
|
|
60
60
|
/**
|
|
61
61
|
* Записывает Zoom To LS.
|
|
62
62
|
*/
|
|
63
|
-
private
|
|
63
|
+
private _writeZoomToLS;
|
|
64
64
|
/**
|
|
65
65
|
* Возвращает текущую тему.
|
|
66
66
|
*/
|
|
@@ -75,11 +75,11 @@ export declare class EndgeUI extends EndgeModule {
|
|
|
75
75
|
* Устанавливает тему, сохраняет ее и применяет CSS-классы к document.
|
|
76
76
|
*/
|
|
77
77
|
setTheme(next: string): void;
|
|
78
|
-
private
|
|
78
|
+
private _syncThemeFromContext;
|
|
79
79
|
/**
|
|
80
80
|
* Применяет Theme To Document.
|
|
81
81
|
*/
|
|
82
|
-
private
|
|
82
|
+
private _applyThemeToDocument;
|
|
83
83
|
/**
|
|
84
84
|
* Показывает, используется ли локальное время вместо UTC.
|
|
85
85
|
*/
|