Skip to content

Commit

Permalink
try xterm update again
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Mar 16, 2024
1 parent b391f95 commit 88c2f6e
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 43 deletions.
6 changes: 3 additions & 3 deletions ui/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
],
"allowedCommonJsDependencies": [
"@/app/modules/status/status.component",
"@xterm/xterm",
"@xterm/addon-fit",
"ajv",
"dayjs",
"dragula",
Expand All @@ -51,9 +53,7 @@
"mobile-detect",
"prismjs",
"qrcode",
"semver",
"xterm",
"xterm-addon-fit"
"semver"
],
"aot": false,
"stylePreprocessorOptions": {
Expand Down
48 changes: 24 additions & 24 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
"@oznu/hap-client": "1.9.0",
"@oznu/ngx-bs4-jsonform": "7.3.7",
"@popperjs/core": "2.11.8",
"@xterm/addon-fit": "^0.9.0",
"@xterm/addon-web-links": "^0.10.0",
"@xterm/xterm": "^5.4.0",
"angular-gridster2": "15.0.4",
"bootstrap": "4.6.2",
"chart.js": "4.4.2",
Expand All @@ -52,9 +55,6 @@
"socket.io-client": "4.7.5",
"tslib": "2.6.2",
"uuid": "9.0.1",
"xterm": "4.19.0",
"xterm-addon-fit": "0.5.0",
"xterm-addon-web-links": "0.6.0",
"zone.js": "0.12.0"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions ui/src/app/core/log.service.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { ElementRef, Injectable } from '@angular/core';
import { FitAddon } from '@xterm/addon-fit';
import { WebLinksAddon } from '@xterm/addon-web-links';
import { ITerminalOptions, Terminal } from '@xterm/xterm';
import { Subject } from 'rxjs';
import { debounceTime } from 'rxjs/operators';
import { ITerminalOptions, Terminal } from 'xterm';
import { FitAddon } from 'xterm-addon-fit';
import { WebLinksAddon } from 'xterm-addon-web-links';
import { IoNamespace, WsService } from '@/app/core/ws.service';

@Injectable({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import {
import { Router } from '@angular/router';
import { NgbActiveModal, NgbModal } from '@ng-bootstrap/ng-bootstrap';
import { TranslateService } from '@ngx-translate/core';
import { FitAddon } from '@xterm/addon-fit';
import { Terminal } from '@xterm/xterm';
import { saveAs } from 'file-saver';
import { ToastrService } from 'ngx-toastr';
import { Terminal } from 'xterm';
import { FitAddon } from 'xterm-addon-fit';
import { ApiService } from '@/app/core/api.service';
import { RestartHomebridgeComponent } from '@/app/core/components/restart-homebridge/restart-homebridge.component';
import { NotificationService } from '@/app/core/notification.service';
Expand Down
6 changes: 3 additions & 3 deletions ui/src/app/core/terminal.service.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { ElementRef, Injectable } from '@angular/core';
import { FitAddon } from '@xterm/addon-fit';
import { WebLinksAddon } from '@xterm/addon-web-links';
import { ITerminalOptions, Terminal } from '@xterm/xterm';
import { Subject } from 'rxjs';
import { debounceTime } from 'rxjs/operators';
import { ITerminalOptions, Terminal } from 'xterm';
import { FitAddon } from 'xterm-addon-fit';
import { WebLinksAddon } from 'xterm-addon-web-links';
import { IoNamespace, WsService } from '@/app/core/ws.service';

@Injectable({
Expand Down
4 changes: 2 additions & 2 deletions ui/src/app/modules/settings/restore/restore.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import {
import { Router } from '@angular/router';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { TranslateService } from '@ngx-translate/core';
import { FitAddon } from '@xterm/addon-fit';
import { Terminal } from '@xterm/xterm';
import { ToastrService } from 'ngx-toastr';
import { Terminal } from 'xterm';
import { FitAddon } from 'xterm-addon-fit';
import { ApiService } from '@/app/core/api.service';
import { IoNamespace, WsService } from '@/app/core/ws.service';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import {
OnInit,
ViewChild,
} from '@angular/core';
import { ITerminalOptions } from '@xterm/xterm';
import { Subject } from 'rxjs';
import { ITerminalOptions } from 'xterm';
import { LogService } from '@/app/core/log.service';

@Component({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import {
OnInit,
ViewChild,
} from '@angular/core';
import { ITerminalOptions } from '@xterm/xterm';
import { Subject } from 'rxjs';
import { ITerminalOptions } from 'xterm';
import { TerminalService } from '@/app/core/terminal.service';

@Component({
Expand Down
2 changes: 1 addition & 1 deletion ui/src/scss/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $image-path: '../../img';
@import 'bootstrap/scss/bootstrap';
@import 'mdbootstrap/scss/mdb-free';

@import 'xterm/css/xterm.css';
@import '@xterm/xterm/css/xterm.css';
@import 'nouislider/dist/nouislider.min.css';
@import 'dragula/dist/dragula.min.css';

Expand Down

0 comments on commit 88c2f6e

Please sign in to comment.