Skip to content

Commit

Permalink
Merge pull request #54 from Sunbird-inQuiry/release-6.1.0
Browse files Browse the repository at this point in the history
Merging Release 6.1.0 into main branch
  • Loading branch information
sajeshkayyath authored Aug 9, 2023
2 parents a65b7e5 + 2aaf40d commit d1a9389
Show file tree
Hide file tree
Showing 64 changed files with 405 additions and 665 deletions.
2 changes: 1 addition & 1 deletion projects/quml-library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@project-sunbird/sunbird-quml-player",
"version": "6.0.0",
"version": "6.1.0",
"schematics": "./schematics/collection.json",
"ng-add": {
"save": "dependencies"
Expand Down
6 changes: 3 additions & 3 deletions projects/quml-library/src/lib/alert/alert.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class AlertComponent implements OnInit, AfterViewInit, OnDestroy {
this.previousActiveElement = document.activeElement as HTMLElement;
this.subscription = fromEvent(document, 'keydown').subscribe((e: KeyboardEvent) => {
if (e['key'] === 'Tab') {
const nextBtn = document.querySelector('.quml-navigation__previous') as HTMLElement;
const nextBtn: HTMLElement = document.querySelector('.quml-navigation__previous');
/* istanbul ignore else */
if (nextBtn) {
this.close('close');
Expand All @@ -50,8 +50,8 @@ export class AlertComponent implements OnInit, AfterViewInit, OnDestroy {

ngAfterViewInit() {
setTimeout(() => {
const wrongButton = document.querySelector('#wrongButton') as HTMLElement;
const correctButton = document.querySelector('#correctButton') as HTMLElement;
const wrongButton: HTMLElement = document.querySelector('#wrongButton');
const correctButton : HTMLElement = document.querySelector('#correctButton');

if (this.alertType === 'wrong' && wrongButton) {
wrongButton.focus({ preventScroll: true });
Expand Down
Empty file.
13 changes: 3 additions & 10 deletions projects/quml-library/src/lib/icon/ans/ans.component.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
import { Component, OnInit } from '@angular/core';
import { Component } from '@angular/core';

@Component({
selector: 'quml-ans',
templateUrl: './ans.component.html',
styleUrls: ['./ans.component.css']
templateUrl: './ans.component.html'
})
export class AnsComponent implements OnInit {

constructor() { }

ngOnInit() {
}

export class AnsComponent {
}
Empty file.
12 changes: 3 additions & 9 deletions projects/quml-library/src/lib/icon/audio/audio.component.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
import { Component, OnInit } from '@angular/core';
import { Component } from '@angular/core';

@Component({
selector: 'quml-audio',
templateUrl: './audio.component.html',
styleUrls: ['./audio.component.css']
templateUrl: './audio.component.html'
})
export class AudioComponent implements OnInit {

constructor() { }

ngOnInit() {
}
export class AudioComponent {

}
Empty file.
14 changes: 3 additions & 11 deletions projects/quml-library/src/lib/icon/bookmark/bookmark.component.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { Component } from '@angular/core';

@Component({
selector: 'quml-bookmark',
templateUrl: './bookmark.component.html',
styleUrls: ['./bookmark.component.css']
templateUrl: './bookmark.component.html'
})
export class BookmarkComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
export class BookmarkComponent {}
Empty file.
14 changes: 3 additions & 11 deletions projects/quml-library/src/lib/icon/close/close.component.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { Component } from '@angular/core';

@Component({
selector: 'quml-close',
templateUrl: './close.component.html',
styleUrls: ['./close.component.css']
templateUrl: './close.component.html'
})
export class CloseComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
export class CloseComponent {}
Empty file.
14 changes: 3 additions & 11 deletions projects/quml-library/src/lib/icon/content/content.component.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { Component } from '@angular/core';

@Component({
selector: 'quml-content',
templateUrl: './content.component.html',
styleUrls: ['./content.component.css']
templateUrl: './content.component.html'
})
export class ContentComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
export class ContentComponent {}
Empty file.
14 changes: 3 additions & 11 deletions projects/quml-library/src/lib/icon/correct/correct.component.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { Component} from '@angular/core';

@Component({
selector: 'quml-correct',
templateUrl: './correct.component.html',
styleUrls: ['./correct.component.css']
templateUrl: './correct.component.html'
})
export class CorrectComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
export class CorrectComponent {}
Empty file.
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { Component} from '@angular/core';

@Component({
selector: 'quml-durationtimer',
templateUrl: './durationtimer.component.html',
styleUrls: ['./durationtimer.component.css']
templateUrl: './durationtimer.component.html'
})
export class DurationtimerComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
export class DurationtimerComponent {}
Empty file.
14 changes: 3 additions & 11 deletions projects/quml-library/src/lib/icon/hint/hint.component.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { Component } from '@angular/core';

@Component({
selector: 'quml-hint',
templateUrl: './hint.component.html',
styleUrls: ['./hint.component.css']
templateUrl: './hint.component.html'
})
export class HintComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
export class HintComponent {}
Empty file.
14 changes: 3 additions & 11 deletions projects/quml-library/src/lib/icon/menu/menu.component.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { Component } from '@angular/core';

@Component({
selector: 'quml-menu',
templateUrl: './menu.component.html',
styleUrls: ['./menu.component.css']
templateUrl: './menu.component.html'
})
export class MenuComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
export class MenuComponent {}
Empty file.
Original file line number Diff line number Diff line change
@@ -1,53 +1,3 @@
<!-- <svg width="60px" height="36px" viewBox="0 0 60 36" version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>button/next2</title>
<defs>
<rect id="path-1" x="0" y="0" width="60" height="36" rx="18"></rect>
<filter x="-5.8%" y="-9.7%" width="111.7%" height="119.4%" filterUnits="objectBoundingBox" id="filter-2">
<feGaussianBlur stdDeviation="3" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
<feOffset dx="0" dy="1" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
<feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1"
result="shadowInnerInner1"></feComposite>
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" type="matrix" in="shadowInnerInner1">
</feColorMatrix>
</filter>
<rect id="path-3" x="0" y="0" width="54" height="30" rx="15"></rect>
<filter x="-2.8%" y="-5.0%" width="105.6%" height="110.0%" filterUnits="objectBoundingBox" id="filter-4">
<feGaussianBlur stdDeviation="0.5" in="SourceGraphic"></feGaussianBlur>
</filter>
<filter x="-5.6%" y="-10.0%" width="111.1%" height="120.0%" filterUnits="objectBoundingBox" id="filter-5">
<feGaussianBlur stdDeviation="1" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
<feOffset dx="0" dy="-1" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
<feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1"
result="shadowInnerInner1"></feComposite>
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" type="matrix" in="shadowInnerInner1">
</feColorMatrix>
</filter>
</defs>
<g id="button/next2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Group">
<g id="Group-Copy">
<g id="Rectangle-5-Copy" opacity="0.1" fill-rule="nonzero">
<use fill="#CCCCCC" xlink:href="#path-1"></use>
<use fill="black" fill-opacity="1" filter="url(#filter-2)" xlink:href="#path-1"></use>
</g>
<g id="Group-2" transform="translate(3.000000, 3.000000)">
<g id="Rectangle-5-Copy-2" fill-rule="nonzero" filter="url(#filter-4)">
<use fill="#024f9d" xlink:href="#path-3"></use>
<use fill="black" fill-opacity="1" filter="url(#filter-5)" xlink:href="#path-3"></use>
</g>
<polygon id="Shape" fill="#FFFFFF"
transform="translate(27.295000, 15.000000) scale(-1, 1) translate(-27.295000, -15.000000) "
points="31 10.41 29.59 9 23.59 15 29.59 21 31 19.59 26.42 15"></polygon>
</g>
</g>
<g id="Icon-24px"
transform="translate(30.000000, 18.000000) scale(-1, 1) translate(-30.000000, -18.000000) translate(26.000000, 12.000000)">
</g>
</g>
</g>
</svg> -->
<!-- New button -->
<svg width="60px" height="36px" viewBox="0 0 60 36" version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Next</title>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { Component } from '@angular/core';

@Component({
selector: 'quml-next-active',
templateUrl: './next-active.component.html',
styleUrls: ['./next-active.component.css']
templateUrl: './next-active.component.html'
})
export class NextActiveComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
export class NextActiveComponent {}
Empty file.
14 changes: 3 additions & 11 deletions projects/quml-library/src/lib/icon/next/next.component.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { Component } from '@angular/core';

@Component({
selector: 'quml-next',
templateUrl: './next.component.html',
styleUrls: ['./next.component.css']
templateUrl: './next.component.html'
})
export class NextComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
export class NextComponent {}
Empty file.
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { Component } from '@angular/core';

@Component({
selector: 'quml-previous-active',
templateUrl: './previous-active.component.html',
styleUrls: ['./previous-active.component.css']
templateUrl: './previous-active.component.html'
})
export class PreviousActiveComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
export class PreviousActiveComponent {}
Empty file.
14 changes: 3 additions & 11 deletions projects/quml-library/src/lib/icon/previous/previous.component.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { Component } from '@angular/core';

@Component({
selector: 'quml-previous',
templateUrl: './previous.component.html',
styleUrls: ['./previous.component.css']
templateUrl: './previous.component.html'
})
export class PreviousComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
export class PreviousComponent {}
Empty file.
14 changes: 3 additions & 11 deletions projects/quml-library/src/lib/icon/share/share.component.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { Component } from '@angular/core';

@Component({
selector: 'quml-share',
templateUrl: './share.component.html',
styleUrls: ['./share.component.css']
templateUrl: './share.component.html'
})
export class ShareComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
export class ShareComponent {}
Empty file.
14 changes: 3 additions & 11 deletions projects/quml-library/src/lib/icon/star/star.component.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { Component } from '@angular/core';

@Component({
selector: 'quml-star',
templateUrl: './star.component.html',
styleUrls: ['./star.component.css']
templateUrl: './star.component.html'
})
export class StarComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
export class StarComponent {}
Empty file.
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { Component } from '@angular/core';

@Component({
selector: 'quml-startpagestaricon',
templateUrl: './startpagestaricon.component.html',
styleUrls: ['./startpagestaricon.component.css']
templateUrl: './startpagestaricon.component.html'
})
export class StartpagestariconComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
export class StartpagestariconComponent {}
Empty file.
Loading

0 comments on commit d1a9389

Please sign in to comment.