Skip to content

Commit

Permalink
Merge pull request #15 from rajnishdargan/feature-pratham
Browse files Browse the repository at this point in the history
Issue #PS-3603 feat: Fix ASQ Question functionality in Player
  • Loading branch information
rajnishdargan authored Feb 21, 2025
2 parents 2a3320a + b4bd6d2 commit ffd9c27
Show file tree
Hide file tree
Showing 7 changed files with 2,370 additions and 977 deletions.
7 changes: 7 additions & 0 deletions build-wc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,16 @@ const build = async () => {

await fs.ensureDir("dist/quml-player-wc");
await fs.ensureDir("web-component");
await fs.ensureDir("web-component-examples");
await concat(files, "web-component/sunbird-quml-player.js");
await concat(files, "web-component-examples/vanilla-js/sunbird-quml-player.js");

await fs.copy("./dist/quml-player-wc/assets", "web-component/assets");
await fs.copy("./dist/quml-player-wc/assets", "web-component-examples/vanilla-js/assets");

await fs.copy("./dist/quml-player-wc/styles.css", "web-component/styles.css");
await fs.copy("./dist/quml-player-wc/styles.css", "web-component-examples/vanilla-js/styles.css");

await fs.copy("README.md", "web-component/README.md")

const filesNames = fs.readdirSync("dist/quml-player-wc");
Expand Down
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": "@tekdi/sunbird-quml-player",
"version": "9.0.0-beta.11",
"version": "9.0.0-beta.12",
"schematics": "./schematics/collection.json",
"ng-add": {
"save": "dependencies"
Expand Down
8 changes: 6 additions & 2 deletions projects/quml-player-wc/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ import { ProgressIndicatorsComponent } from '../../../quml-library/src/lib/progr
import { MtfComponent } from '../../../quml-library/src/lib/mtf/mtf.component';
import { MtfOptionsComponent } from '../../../quml-library/src/lib/mtf/mtf-options/mtf-options.component';
import { DragDropModule } from "@angular/cdk/drag-drop"
import { CheckFigureDirective } from '../../../quml-library/src/lib/mtf/check-figure.directive'
import { CheckFigureDirective } from '../../../quml-library/src/lib/mtf/check-figure.directive';
import { AsqComponent } from '../../../quml-library/src/lib/asq/asq.component';
import { AsqOptionsComponent } from '../../../quml-library/src/lib/asq/asq-options/asq-options.component';
@NgModule({
declarations: [
MainPlayerComponent,
Expand Down Expand Up @@ -85,7 +87,9 @@ import { CheckFigureDirective } from '../../../quml-library/src/lib/mtf/check-fi
ProgressIndicatorsComponent,
MtfComponent,
MtfOptionsComponent,
CheckFigureDirective
CheckFigureDirective,
AsqComponent,
AsqOptionsComponent
],
imports: [
BrowserModule,
Expand Down
744 changes: 743 additions & 1 deletion web-component-examples/vanilla-js/index.html

Large diffs are not rendered by default.

1,436 changes: 898 additions & 538 deletions web-component-examples/vanilla-js/sunbird-quml-player.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web-component/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tekdi/sunbird-quml-player-web-component",
"version": "5.0.0-beta.3",
"version": "5.0.0-beta.4",
"description": "The web component package for the sunbird QuML player",
"main": "sunbird-quml-player.js",
"scripts": {
Expand Down
1,148 changes: 714 additions & 434 deletions web-component/sunbird-quml-player.js

Large diffs are not rendered by default.

0 comments on commit ffd9c27

Please sign in to comment.