@testgorilla/tgo-coding-test 2.0.7 → 3.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.
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import { ApplicationTheme } from '@testgorilla/tgo-ui';
2
+ import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
3
3
  import { LATLanguages } from '../../models/lat-languages';
4
4
  import { Modes } from '../../models/mode';
5
5
  import { ExampleTestCase } from '../../models/test-cases';
@@ -1,7 +1,8 @@
1
1
  import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { AbstractControl, FormGroup } from '@angular/forms';
3
3
  import { Observable } from 'rxjs';
4
- import { ApplicationTheme, OptionType } from '@testgorilla/tgo-ui';
4
+ import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
5
+ import { OptionType } from '@testgorilla/tgo-ui/components/dropdown';
5
6
  import { LATLanguages } from '../../models/lat-languages';
6
7
  import { CodeEditorFuncParam, CodeEditorLanguages, CodeEditorTypesMap } from '../code-editor/helpers/code-editor-helper.model';
7
8
  import { PasteData } from '../code-editor/models/code-editor.model';
@@ -1,6 +1,7 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
- import { ApplicationTheme, OptionType } from '@testgorilla/tgo-ui';
3
+ import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
4
+ import { OptionType } from '@testgorilla/tgo-ui/components/dropdown';
4
5
  import { CodingAssistanceOptions, Config } from '../../models/configs';
5
6
  import { CodeEditorLanguages } from '../code-editor/helpers/code-editor-helper.model';
6
7
  import * as i0 from "@angular/core";
@@ -1,5 +1,5 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
2
- import { ApplicationTheme } from '@testgorilla/tgo-ui';
2
+ import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
3
3
  import { LATLanguages } from '../../models/lat-languages';
4
4
  import { ExampleTestCase } from '../../models/test-cases';
5
5
  import { CodeEditorFuncParam, CodeEditorLanguages, CodeEditorTypesMap } from '../code-editor/helpers/code-editor-helper.model';
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { MatTabGroup } from '@angular/material/tabs';
3
- import { ApplicationTheme } from '@testgorilla/tgo-ui';
3
+ import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
4
4
  import { AllowedModificationFields, CustomTestCase, ExampleTestCase, TestCaseResult } from '../../../models/test-cases';
5
5
  import { LibCodingTestService } from '../../../services/lib-coding-test.service';
6
6
  import { StorageCodingService } from '../../../services/storage.service';
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { FormControl } from '@angular/forms';
3
- import { ApplicationTheme } from '@testgorilla/tgo-ui';
3
+ import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
4
4
  import { AllowedModificationFields, CustomTestCase, ExampleTestCase, TestCaseResult, TestCaseStatus } from '../../../models/test-cases';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class TestCasesContentComponent implements OnInit, OnChanges {
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
2
- import { ApplicationTheme } from '@testgorilla/tgo-ui';
2
+ import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
3
3
  import { CustomTestCase, ExampleTestCase } from '../../models/test-cases';
4
4
  import { LibCodingTestService } from '../../services/lib-coding-test.service';
5
5
  import * as i0 from "@angular/core";
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { ApplicationTheme } from '@testgorilla/tgo-ui';
2
+ import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
3
3
  import { CodeEditorFuncParam, CodeEditorLanguages, CodeEditorTypesMap } from '../code-editor/helpers/code-editor-helper.model';
4
4
  import { PasteData } from '../code-editor/models/code-editor.model';
5
5
  import { CodingSnapshot } from '../code-editor/models/coding-snapshot.model';
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { Assessment, IAntiCheatingState, IConfigurationState, INavigationButtonState, IQuestionDataContract, ISubmissionState, Question, TestResultRead } from '@testgorilla/tgo-shared-lib';
3
- import { ApplicationTheme } from '@testgorilla/tgo-ui';
3
+ import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
4
4
  import { Observable } from 'rxjs';
5
5
  import { CodingTestsResultsModel } from '../../models/coderunner-execution-results';
6
6
  import { LATLanguages } from '../../models/lat-languages';
@@ -62,6 +62,7 @@ export declare class TgoCodingTestCandidateViewComponent implements OnInit, IQue
62
62
  firstTestRunComplete: boolean;
63
63
  canopyUiTheme: ApplicationTheme;
64
64
  private wasTourShown;
65
+ constructor();
65
66
  ngOnDestroy(): void;
66
67
  ngOnInit(): void;
67
68
  openSaveDialog(): void;
@@ -1,4 +1,6 @@
1
- import { ApplicationTheme, DialogService, SnackbarService } from '@testgorilla/tgo-ui';
1
+ import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
2
+ import { DialogService } from '@testgorilla/tgo-ui/components/dialog';
3
+ import { SnackbarService } from '@testgorilla/tgo-ui/components/snackbar';
2
4
  import { MixpanelService, TestResultRead } from '@testgorilla/tgo-shared-lib';
3
5
  import { ExampleTestCase, TestCaseDeletionData } from '../../models/test-cases';
4
6
  import { LibCodingTestService, ResetCodeAction } from '../lib-coding-test.service';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testgorilla/tgo-coding-test",
3
- "version": "2.0.7",
3
+ "version": "3.0.0",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": ">= 19.0.0 < 20.0.0",
6
6
  "@angular/common": ">= 19.0.0 < 20.0.0",
@@ -10,7 +10,7 @@
10
10
  "@angular/router": ">= 19.0.0 < 20.0.0",
11
11
  "@ngneat/transloco": ">= 4.0.0 < 5.0.0",
12
12
  "@ngneat/until-destroy": ">= 10.0.0 < 11.0.0",
13
- "@testgorilla/tgo-ui": ">= 4.0.0 < 5.0.0",
13
+ "@testgorilla/tgo-ui": ">= 5.0.0 < 6.0.0",
14
14
  "angular-split": ">= 19.0.0 < 20.0.0",
15
15
  "monaco-editor": "0.52.2",
16
16
  "ngx-guided-tour": ">= 2.0.0 < 3.0.0",
@@ -21,7 +21,7 @@
21
21
  "rxjs": ">= 7.0.0 < 8.0.0"
22
22
  },
23
23
  "dependencies": {
24
- "@testgorilla/tgo-shared-lib": ">= 2.0.0 < 3.0.0",
24
+ "@testgorilla/tgo-shared-lib": ">= 3.0.0 < 4.0.0",
25
25
  "tslib": "^2.3.0"
26
26
  },
27
27
  "sideEffects": false,