@3dsource/angular-unreal-module 0.0.1 → 0.0.3
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 +604 -47
- package/fesm2022/3dsource-angular-unreal-module.mjs.map +1 -1
- package/lib/components/show-case/constants/index.d.ts +1 -1
- package/lib/components/show-case/container/show-case.component.d.ts +3 -3
- package/lib/components/show-case/interfaces/showcase-status.d.ts +1 -13
- package/lib/components/show-case/store/show-case.component.interface.d.ts +2 -2
- package/lib/components/show-case/store/show-case.component.store.d.ts +1 -1
- package/lib/helpers/CommandObserver.d.ts +1 -1
- package/lib/helpers/EventWrapper.d.ts +1 -1
- package/lib/helpers/FromStreamerHandlers/InstanceReadyHandler.d.ts +1 -1
- package/lib/helpers/LatencyTimings.d.ts +1 -1
- package/lib/helpers/prepare-commands.d.ts +1 -1
- package/lib/helpers/remove-exile-commands.d.ts +1 -1
- package/lib/interfaces/index.d.ts +1 -0
- package/lib/{constants → interfaces}/struct.d.ts +2200 -2200
- package/lib/interfaces/unreal-internal-signal-events.interface.d.ts +1 -1
- package/lib/services/aggregator.service.d.ts +1 -1
- package/lib/services/image-capture.service.d.ts +1 -1
- package/lib/services/unreal-communicator.service.d.ts +1 -1
- package/lib/store/unreal.actions.d.ts +1 -1
- package/lib/store/unreal.effects.d.ts +8 -8
- package/lib/store/unreal.feature.d.ts +1 -1
- package/lib/store/unreal.reducer.d.ts +1 -1
- package/lib/store/unreal.selectors.d.ts +2 -2
- package/package.json +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Observable } from 'rxjs';
|
|
2
2
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
3
3
|
import { ElementRef, OnInit } from '@angular/core';
|
|
4
|
-
import { ESequenceLoopBehavior } from '
|
|
4
|
+
import { ESequenceLoopBehavior } from '../../../interfaces';
|
|
5
5
|
import { SourceTooltipPosition } from '@source/ui-sdk/source-tooltip';
|
|
6
6
|
import type { SectionEntity } from '../store/show-case.component.interface';
|
|
7
7
|
import { ProductShowcase } from '../interfaces/showcase-status';
|
|
@@ -10,14 +10,14 @@ export declare class ShowCaseComponent implements OnInit {
|
|
|
10
10
|
deviceType: import("@angular/core").InputSignal<"deviceTypeAuto" | "deviceTypeMobile" | "deviceTypeDesktop">;
|
|
11
11
|
isLandscapeOrientation: import("@angular/core").InputSignal<boolean>;
|
|
12
12
|
isNarrowScreen: import("@angular/core").InputSignal<boolean>;
|
|
13
|
-
activeProduct: import("@angular/core").InputSignal<
|
|
13
|
+
activeProduct: import("@angular/core").InputSignal<any>;
|
|
14
14
|
activeProductWithSlotIds: import("@angular/core").InputSignal<{
|
|
15
15
|
activeProduct: ProductShowcase | null;
|
|
16
16
|
slotsIds: Record<string, string>;
|
|
17
17
|
} | null>;
|
|
18
18
|
isFullscreen: import("@angular/core").InputSignal<boolean>;
|
|
19
19
|
fullscreenChanged: import("@angular/core").OutputEmitterRef<boolean>;
|
|
20
|
-
activeProduct$: Observable<
|
|
20
|
+
activeProduct$: Observable<any>;
|
|
21
21
|
activeProductWithSlotIds$: Observable<{
|
|
22
22
|
activeProduct: ProductShowcase | null;
|
|
23
23
|
slotsIds: Record<string, string>;
|
|
@@ -5,16 +5,4 @@ export declare const ShowCaseStatus: {
|
|
|
5
5
|
readonly STOP: "stop";
|
|
6
6
|
};
|
|
7
7
|
export type ShowCaseStatusValues = (typeof ShowCaseStatus)[keyof typeof ShowCaseStatus];
|
|
8
|
-
export
|
|
9
|
-
hasShowcase: boolean;
|
|
10
|
-
id: string;
|
|
11
|
-
previewUrl?: string;
|
|
12
|
-
showcase?: {
|
|
13
|
-
duration?: number;
|
|
14
|
-
lowBandwidth: {
|
|
15
|
-
duration: number;
|
|
16
|
-
time: number;
|
|
17
|
-
}[];
|
|
18
|
-
};
|
|
19
|
-
title: string;
|
|
20
|
-
}
|
|
8
|
+
export type ProductShowcase = any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ESequenceLoopBehavior } from '
|
|
2
|
-
import { type FSequenceSection } from '
|
|
1
|
+
import type { ESequenceLoopBehavior } from '../../../interfaces';
|
|
2
|
+
import { type FSequenceSection } from '../../../interfaces';
|
|
3
3
|
export interface SettingSequence {
|
|
4
4
|
loopBehavior: ESequenceLoopBehavior;
|
|
5
5
|
playRate: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { OnChangeSequenceData, SectionEntities, SectionEntity, SectionsPayloadInit, SequenceData, SettingSequence } from './show-case.component.interface';
|
|
2
|
-
import { ESequenceLoopBehavior } from '
|
|
2
|
+
import { ESequenceLoopBehavior } from '../../../interfaces';
|
|
3
3
|
import { ImmerComponentStore } from 'ngrx-immer/component-store';
|
|
4
4
|
import { Actions } from '@ngrx/effects';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MetaBoxCommandList, MetaBoxCommandPacket } from '
|
|
1
|
+
import type { MetaBoxCommandList, MetaBoxCommandPacket } from '../interfaces';
|
|
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 '../interfaces';
|
|
4
4
|
type Descriptor = MetaBoxCommandList & SignalDescriptor;
|
|
5
5
|
/**
|
|
6
6
|
* UnrealInternalSignalEvents commands list wrapper listener
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { InstanceReady } from '../../interfaces/SignalingMessage';
|
|
2
2
|
import type { SignallingService } from '../../services/signalling.service';
|
|
3
|
-
export declare function InstanceReadyHandler(this: SignallingService,
|
|
3
|
+
export declare function InstanceReadyHandler(this: SignallingService, _: InstanceReady): void;
|
|
@@ -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 '../interfaces';
|
|
2
2
|
export declare const getResetControlClampsCommand: () => FResetControlClampsCommand;
|
|
3
3
|
export declare const getCameraRecenterCommand: () => FCameraRecenterCommand;
|
|
4
4
|
export declare const unLoadAllLevelsCommand: () => FUnLoadAllLevelsCommand;
|
|
@@ -2,7 +2,7 @@ import type { CommandsLoaderState } from '../store/unreal.reducer';
|
|
|
2
2
|
export declare const removeExileCommands: (state: CommandsLoaderState, idToRemove: string) => {
|
|
3
3
|
commandsInProgress: {
|
|
4
4
|
timeStamp: number;
|
|
5
|
-
command: import("
|
|
5
|
+
command: import("@3dsource/angular-unreal-module").MetaBoxCommand;
|
|
6
6
|
id: string;
|
|
7
7
|
}[];
|
|
8
8
|
totalCommandsStarted: number;
|