@3dsource/angular-unreal-module 0.0.13 → 0.0.15
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/fesm2022/3dsource-angular-unreal-module.mjs +189 -742
- package/fesm2022/3dsource-angular-unreal-module.mjs.map +1 -1
- package/lib/components/clickable-overlay/clickable-overlay.component.d.ts +0 -3
- package/lib/components/screen-locker/afk-restart-screen-locker.component.d.ts +0 -3
- package/lib/components/unreal-error-modal/unreal-error-modal.component.d.ts +11 -0
- package/lib/constants/index.d.ts +0 -1
- package/lib/helpers/CommandObserver.d.ts +1 -1
- package/lib/helpers/EventWrapper.d.ts +1 -1
- package/lib/helpers/prepare-commands.d.ts +1 -1
- package/lib/interfaces/index.d.ts +0 -1
- package/lib/interfaces/initial-config.d.ts +0 -2
- package/lib/interfaces/unreal-internal-signal-events.interface.d.ts +1 -1
- package/lib/services/index.d.ts +0 -1
- package/lib/services/unreal-communicator.service.d.ts +1 -1
- package/lib/store/unreal.actions.d.ts +7 -0
- package/package.json +6 -7
- package/lib/constants/mix-panel.constant.d.ts +0 -11
- package/lib/interfaces/mix-panel-events.d.ts +0 -8
- package/lib/interfaces/struct.d.ts +0 -5553
- package/lib/services/mix-panel.service.d.ts +0 -11
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { SourceButtonColorScheme, SourceButtonSize } from '@source/ui-sdk/source-button';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class ClickableOverlayComponent {
|
|
4
|
-
protected SourceButtonSize: typeof SourceButtonSize;
|
|
5
|
-
protected SourceButtonColorScheme: typeof SourceButtonColorScheme;
|
|
6
3
|
state: import("@angular/core").Signal<{
|
|
7
4
|
message: string;
|
|
8
5
|
className: string;
|
|
@@ -2,7 +2,6 @@ import type { AfterViewInit, OnInit } from '@angular/core';
|
|
|
2
2
|
import { DestroyRef } from '@angular/core';
|
|
3
3
|
import { VideoService } from '../../services/video.service';
|
|
4
4
|
import { Store } from '@ngrx/store';
|
|
5
|
-
import { SourceButtonColorScheme, SourceButtonSize } from '@source/ui-sdk/source-button';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class AfkRestartScreenLockerComponent implements AfterViewInit, OnInit {
|
|
8
7
|
store: Store<any>;
|
|
@@ -13,8 +12,6 @@ export declare class AfkRestartScreenLockerComponent implements AfterViewInit, O
|
|
|
13
12
|
imageLoadingSrc: import("@angular/core").Signal<string | undefined>;
|
|
14
13
|
streamConfig: import("@angular/core").Signal<import("@3dsource/angular-unreal-module").StreamConfig | undefined>;
|
|
15
14
|
isSecondStart: import("@angular/core").WritableSignal<boolean>;
|
|
16
|
-
SourceButtonSize: typeof SourceButtonSize;
|
|
17
|
-
SourceButtonColorScheme: typeof SourceButtonColorScheme;
|
|
18
15
|
playCallBack: null | (() => void);
|
|
19
16
|
ngOnInit(): void;
|
|
20
17
|
ngAfterViewInit(): void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DialogRef } from '@angular/cdk/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UnrealErrorModalComponent {
|
|
4
|
+
dialogRef: DialogRef<any, any>;
|
|
5
|
+
dialogData: {
|
|
6
|
+
content: string;
|
|
7
|
+
};
|
|
8
|
+
close(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UnrealErrorModalComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UnrealErrorModalComponent, "app-unreal-error-modal", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
package/lib/constants/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MetaBoxCommandList, MetaBoxCommandPacket } from '
|
|
1
|
+
import type { MetaBoxCommandList, MetaBoxCommandPacket } from '@3dsource/types-unreal';
|
|
2
2
|
import type { Observable } from 'rxjs';
|
|
3
3
|
export declare function observeCommandResponse<K extends keyof MetaBoxCommandList, T extends MetaBoxCommandList[K] = MetaBoxCommandList[K]>(data: T, sender: (data: T) => void, timeOut?: number, dispatchOnTimeout?: boolean): Observable<ObservedCallbackResponse<T> | never>;
|
|
4
4
|
export interface ObservedCallbackResponse<T extends MetaBoxCommandPacket> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SignalDescriptor } from '../interfaces/unreal-internal-signal-events.interface';
|
|
2
2
|
import type { Observable } from 'rxjs';
|
|
3
|
-
import type { MetaBoxCommandList } from '
|
|
3
|
+
import type { MetaBoxCommandList } from '@3dsource/types-unreal';
|
|
4
4
|
type Descriptor = MetaBoxCommandList & SignalDescriptor;
|
|
5
5
|
/**
|
|
6
6
|
* UnrealInternalSignalEvents commands list wrapper listener
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FAlignProductsToPlaneCommand, FAlignProductsToPlanePayload, FApplyCameraPresetCommand, FApplyZoomCommand, FApplyZoomPayload, FBoolPayload, FCameraBoxCommand, FCameraClampsPayload, FCameraPresetPayload, FCameraRecenterCommand, FCameraSettingsCommand, FCameraSettingsPayload, FChangeGizmoTypeCommand, FChangeResolutionCommand, FClampPanToProductsCommand, FClickSnapCommand, FComposurePayload, FControlCameraModePayload, FControlSensitivityCommand, FControlSensitivityPayload, FDebugModeCommand, FDragCommand, FDragSequenceCommand, FDragSequencePayload, FDropCommand, FDropPayload, FEnableComposureCommand, FEnableControlsCommand, FEnableSpinnerModeCommand, FEnableTeleportCommand, FExecuteConsoleCommandCommand, FFitToObjectsCommand, FFitToObjectsPayload, FFreezeFrameCommand, FFStringPayload, FFStringsPayload, FFVectorPayload, FGizmoTypePayload, FInitSequenceByObjectNameCommand, FInitSequenceByObjectNamePayload, FJumpToSequenceCommand, FJumpToSequencePayload, FLevelPayload, FLoadLevelCommand, FLoadProductCommand, FLoadSceneStateCommand, FLoadSceneStatePayload, FLoopBackCommand, FMoveSelectedCommand, FMoveSelectedPayload, FPauseSequenceCommand, FPlaySequenceCommand, FPlaySequencePayload, FProductPayload, FRenderPayload, FRequestCameraPresetCommand, FResetControlClampsCommand, FResolutionPayload, FRotatePayload, FRotateSelectedCommand, FSelectProductByObjectNameCommand, FSelectProductByObjectNamePayload, FSetCameraControlClampsCommand, FSetControlCameraModeCommand, FSetMaterialCommand, FSetMaterialPayload, FSetPawnMovementModeCommand, FSetPawnMovementModePayload, FSetProductsLocationCommand, FSetProductsLocationPayload, FSetSettingsSequenceCommand, FSettingsSequencePayload, FStopSequenceCommand, FTakeRenderCommand, FTakeSpinnerRenderCommand, FTakeSpinnerRenderPreviewCommand, FUnLoadAllLevelsCommand, FUnLoadAllProductsCommand, FUnLoadProductByObjectNameCommand, FUnselectAllProductsCommand, FWeatherCommand, FWeatherPayload } from '
|
|
1
|
+
import type { FAlignProductsToPlaneCommand, FAlignProductsToPlanePayload, FApplyCameraPresetCommand, FApplyZoomCommand, FApplyZoomPayload, FBoolPayload, FCameraBoxCommand, FCameraClampsPayload, FCameraPresetPayload, FCameraRecenterCommand, FCameraSettingsCommand, FCameraSettingsPayload, FChangeGizmoTypeCommand, FChangeResolutionCommand, FClampPanToProductsCommand, FClickSnapCommand, FComposurePayload, FControlCameraModePayload, FControlSensitivityCommand, FControlSensitivityPayload, FDebugModeCommand, FDragCommand, FDragSequenceCommand, FDragSequencePayload, FDropCommand, FDropPayload, FEnableComposureCommand, FEnableControlsCommand, FEnableSpinnerModeCommand, FEnableTeleportCommand, FExecuteConsoleCommandCommand, FFitToObjectsCommand, FFitToObjectsPayload, FFreezeFrameCommand, FFStringPayload, FFStringsPayload, FFVectorPayload, FGizmoTypePayload, FInitSequenceByObjectNameCommand, FInitSequenceByObjectNamePayload, FJumpToSequenceCommand, FJumpToSequencePayload, FLevelPayload, FLoadLevelCommand, FLoadProductCommand, FLoadSceneStateCommand, FLoadSceneStatePayload, FLoopBackCommand, FMoveSelectedCommand, FMoveSelectedPayload, FPauseSequenceCommand, FPlaySequenceCommand, FPlaySequencePayload, FProductPayload, FRenderPayload, FRequestCameraPresetCommand, FResetControlClampsCommand, FResolutionPayload, FRotatePayload, FRotateSelectedCommand, FSelectProductByObjectNameCommand, FSelectProductByObjectNamePayload, FSetCameraControlClampsCommand, FSetControlCameraModeCommand, FSetMaterialCommand, FSetMaterialPayload, FSetPawnMovementModeCommand, FSetPawnMovementModePayload, FSetProductsLocationCommand, FSetProductsLocationPayload, FSetSettingsSequenceCommand, FSettingsSequencePayload, FStopSequenceCommand, FTakeRenderCommand, FTakeSpinnerRenderCommand, FTakeSpinnerRenderPreviewCommand, FUnLoadAllLevelsCommand, FUnLoadAllProductsCommand, FUnLoadProductByObjectNameCommand, FUnselectAllProductsCommand, FWeatherCommand, FWeatherPayload } from '@3dsource/types-unreal';
|
|
2
2
|
export declare const getResetControlClampsCommand: () => FResetControlClampsCommand;
|
|
3
3
|
export declare const getCameraRecenterCommand: () => FCameraRecenterCommand;
|
|
4
4
|
export declare const unLoadAllLevelsCommand: () => FUnLoadAllLevelsCommand;
|
|
@@ -6,7 +6,6 @@ export * from './freeze-frame-message.interface';
|
|
|
6
6
|
export * from './initial-config';
|
|
7
7
|
export * from './input.interface';
|
|
8
8
|
export * from './LBMStats';
|
|
9
|
-
export * from './mix-panel-events';
|
|
10
9
|
export * from './quality.interface';
|
|
11
10
|
export * from './SignalingData';
|
|
12
11
|
export * from './SignalingMessage';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MetaBoxCommandPacket } from '
|
|
1
|
+
import type { MetaBoxCommandPacket } from '@3dsource/types-unreal';
|
|
2
2
|
import type { Quality } from './quality.interface';
|
|
3
3
|
import type { DataFlowCheckResult } from '../helpers';
|
|
4
4
|
export declare const UnrealInternalSignalEvents: {
|
package/lib/services/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export * from './console-extensions.service';
|
|
|
5
5
|
export * from './dev-mode.service';
|
|
6
6
|
export * from './freeze-frame.service';
|
|
7
7
|
export * from './input.service';
|
|
8
|
-
export * from './mix-panel.service';
|
|
9
8
|
export * from './regions-ping.service';
|
|
10
9
|
export * from './signalling.service';
|
|
11
10
|
export * from './stream-status-telemetry.service';
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { DisconnectType, LBMStats, SignalingData, StreamConfig, UnrealErrorType } from '../interfaces';
|
|
2
|
+
export declare const trackMixpanelEvent: import("@ngrx/store").ActionCreator<string, (props: {
|
|
3
|
+
event: string;
|
|
4
|
+
data?: unknown;
|
|
5
|
+
}) => {
|
|
6
|
+
event: string;
|
|
7
|
+
data?: unknown;
|
|
8
|
+
} & import("@ngrx/store").Action<string>>;
|
|
2
9
|
export declare const changeLowBandwidth: import("@ngrx/store").ActionCreator<string, (props: {
|
|
3
10
|
lowBandwidth: boolean;
|
|
4
11
|
stats?: LBMStats;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@3dsource/angular-unreal-module",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -8,17 +8,16 @@
|
|
|
8
8
|
"tslib": "^2.8.1"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
|
+
"@3dsource/source-ui-native": "^1.0.7",
|
|
12
|
+
"@3dsource/types-unreal": "^0.0.1",
|
|
11
13
|
"@3dsource/utils": "^1.0.13",
|
|
14
|
+
"@angular/cdk": "^19.2.0",
|
|
12
15
|
"@angular/common": "^19.2.0",
|
|
13
16
|
"@angular/core": "^19.2.0",
|
|
17
|
+
"@angular/forms": "^19.2.0",
|
|
14
18
|
"@ngrx/effects": "^19.1.0",
|
|
15
19
|
"@ngrx/operators": "^19.1.0",
|
|
16
|
-
"@ngrx/store": "^19.1.0"
|
|
17
|
-
"@source/ui-sdk": "^19.0.100",
|
|
18
|
-
"@types/mixpanel-browser": "^2.54.0",
|
|
19
|
-
"immer": "^10.1.1",
|
|
20
|
-
"mixpanel-browser": "^2.64.0",
|
|
21
|
-
"ngrx-immer": "^3.0.0"
|
|
20
|
+
"@ngrx/store": "^19.1.0"
|
|
22
21
|
},
|
|
23
22
|
"module": "fesm2022/3dsource-angular-unreal-module.mjs",
|
|
24
23
|
"typings": "index.d.ts",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Mixpanel } from 'mixpanel-browser';
|
|
2
|
-
export declare const MIX_PANEL: {
|
|
3
|
-
/**
|
|
4
|
-
* Mixpanel instance for tracking meta-box events
|
|
5
|
-
*/
|
|
6
|
-
metaBoxTrack: Mixpanel;
|
|
7
|
-
/**
|
|
8
|
-
* Mixpanel instance for tracking stream events
|
|
9
|
-
*/
|
|
10
|
-
streamTrack: Mixpanel;
|
|
11
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const MixPanelEvents: {
|
|
2
|
-
readonly pixelstreaming_end: "pixelstreaming_end";
|
|
3
|
-
readonly pixelstreaming_start: "pixelstreaming_start";
|
|
4
|
-
readonly render_request: "render_request";
|
|
5
|
-
readonly custom_click: "custom_click";
|
|
6
|
-
readonly route_change: "route_change";
|
|
7
|
-
};
|
|
8
|
-
export type MixPanelEventsValues = (typeof MixPanelEvents)[keyof typeof MixPanelEvents];
|