Skip to content

Commit 8ac565c

Browse files
committed
feat(soba): gizmo
1 parent 17c5123 commit 8ac565c

File tree

87 files changed

+1189
-117
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+1189
-117
lines changed

apps/sandbox/src/app/app.config.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { ApplicationConfig } from '@angular/core';
1+
import type { ApplicationConfig } from '@angular/core';
22

3-
export const appConfig: ApplicationConfig = {
4-
providers: [],
5-
};
3+
export const appConfig: ApplicationConfig = { providers: [] };

apps/sandbox/src/app/aviator/components/airplane/airplane.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CUSTOM_ELEMENTS_SCHEMA, Component, ElementRef, ViewChild, inject } from '@angular/core';
2-
import { NgtArgs, NgtBeforeRenderEvent } from 'angular-three';
2+
import { NgtArgs, type NgtBeforeRenderEvent } from 'angular-three';
33
import * as THREE from 'three';
44
import { GameService } from '../../services/game.service';
55
import { RefsService } from '../../services/refs.service';

apps/sandbox/src/app/aviator/components/airplane/pilot/pilot.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CUSTOM_ELEMENTS_SCHEMA, Component, Input, inject } from '@angular/core';
2-
import { NgtAfterAttach, NgtArgs, NgtBeforeRenderEvent, NgtRepeat } from 'angular-three';
2+
import { NgtArgs, NgtRepeat, type NgtAfterAttach, type NgtBeforeRenderEvent } from 'angular-three';
33
import * as THREE from 'three';
44
import { GameService } from '../../../services/game.service';
55
import { Colors } from '../../../utils/colors';

apps/sandbox/src/app/aviator/components/airplane/propeller/propeller.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CUSTOM_ELEMENTS_SCHEMA, Component, ElementRef, ViewChild, inject } from '@angular/core';
2-
import { NgtArgs, NgtBeforeRenderEvent, injectNgtRef } from 'angular-three';
2+
import { NgtArgs, injectNgtRef, type NgtBeforeRenderEvent } from 'angular-three';
33
import { GameService } from '../../../services/game.service';
44
import { Colors } from '../../../utils/colors';
55

apps/sandbox/src/app/aviator/components/sea/sea.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CUSTOM_ELEMENTS_SCHEMA, Component, Input, inject } from '@angular/core';
2-
import { NgtAfterAttach, NgtArgs, NgtBeforeRenderEvent, checkUpdate } from 'angular-three';
2+
import { NgtArgs, checkUpdate, type NgtAfterAttach, type NgtBeforeRenderEvent } from 'angular-three';
33
import * as THREE from 'three';
44
import { GameService } from '../../services/game.service';
55
import { WorldService } from '../../services/world.service';

apps/sandbox/src/app/aviator/components/sky/cloud/cloud.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgIf } from '@angular/common';
22
import { CUSTOM_ELEMENTS_SCHEMA, Component, EventEmitter, Output } from '@angular/core';
3-
import { NgtAfterAttach, NgtArgs, NgtBeforeRenderEvent, NgtRepeat, injectNgtRef } from 'angular-three';
3+
import { NgtArgs, NgtRepeat, injectNgtRef, type NgtAfterAttach, type NgtBeforeRenderEvent } from 'angular-three';
44
import { Colors } from '../../../utils/colors';
55

66
@Component({

apps/sandbox/src/app/aviator/components/sky/sky.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CUSTOM_ELEMENTS_SCHEMA, Component, inject } from '@angular/core';
2-
import { NgtArgs, NgtBeforeRenderEvent, NgtRepeat } from 'angular-three';
2+
import { NgtArgs, NgtRepeat, type NgtBeforeRenderEvent } from 'angular-three';
33
import { GameService } from '../../services/game.service';
44
import { WorldService } from '../../services/world.service';
55
import { Cloud } from './cloud/cloud.component';

apps/sandbox/src/app/aviator/services/collectible.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Injectable, inject } from '@angular/core';
22
import { injectNgtStore } from 'angular-three';
3-
import { Coin, Collectible } from '../utils/collectibles';
3+
import { Coin, type Collectible } from '../utils/collectibles';
44
import { randomFromRange } from '../utils/random-from-range';
55
import { GameService } from './game.service';
66
import { RefsService } from './refs.service';

apps/sandbox/src/app/skydiving/components/model.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { NgIf } from '@angular/common';
2-
import { CUSTOM_ELEMENTS_SCHEMA, Component, Signal, effect } from '@angular/core';
2+
import { CUSTOM_ELEMENTS_SCHEMA, Component, effect, type Signal } from '@angular/core';
33
import { NgtArgs, injectBeforeRender } from 'angular-three';
4-
import { NgtsGLTF, injectNgtsGLTFLoader, injectNgtsTextureLoader } from 'angular-three-soba/loaders';
4+
import { injectNgtsGLTFLoader, injectNgtsTextureLoader, type NgtsGLTF } from 'angular-three-soba/loaders';
55
import { injectNgtsAnimations } from 'angular-three-soba/misc';
66
import * as THREE from 'three';
77

libs/core/src/lib/portal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import type { NgtEventManager } from './events';
2525
import { getLocalState, prepare } from './instance';
2626
import { injectNgtRef } from './ref';
2727
import { SPECIAL_INTERNAL_ADD_COMMENT } from './renderer/constants';
28-
import { NGT_STORE, NgtRenderState, injectNgtStore, type NgtSize, type NgtState } from './store';
28+
import { NGT_STORE, injectNgtStore, type NgtRenderState, type NgtSize, type NgtState } from './store';
2929
import { is } from './utils/is';
3030
import { safeDetectChanges } from './utils/safe-detect-changes';
3131
import { signalStore } from './utils/signal-store';

0 commit comments

Comments
 (0)