selemxmn / ngx-print

:printer: A plug n' play Angular (2++) library to print your stuff
MIT License
164 stars 59 forks source link

The data is showing up for few seconds and it gets vanished when the print dialogue is launched on production only #129

Closed MMahdi1911 closed 2 years ago

MMahdi1911 commented 2 years ago

The data is showing up for a few seconds and it gets vanished when the print dialogue is launched on production onlyThe data is showing up for a few seconds and it gets vanished when the print dialogue is launched on production only

To Reproduce Steps to reproduce the behavior.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

version:1.2.1 angular 12

Desktop (please complete the following information):

package.json { "name": "qorrect", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve --port 4200 --open", "start:node": "node server.js", "start:en-US": "setup-ng-alias && ng-alias serve --configuration=en-US", "start:ar-EG": "setup-ng-alias && ng-alias serve --configuration=ar-EG", "start:fr-FR": "setup-ng-alias && ng-alias serve --configuration=fr-FR", "build:dev:en-US": "ng build --configuration=dev-en-US", "build:dev:ar-EG": "ng build --configuration=dev-ar-EG", "build:dev:fr-FR": "ng build --configuration=dev-fr-FR", "build:dev:all": "concurrently \"npm run build:dev:en-US\" \"npm run build:dev:ar-EG\" \"npm run build:dev:fr-FR\"", "build:prod:en-US": "setup-ng-alias && ng-alias build --configuration=prod-en-US", "build:prod:ar-EG": "setup-ng-alias && ng-alias build --configuration=prod-ar-EG", "build:prod:fr-FR": "setup-ng-alias && ng-alias build --configuration=prod-fr-FR", "build:prod:all": "npm run build:prod:ar-EG && npm run build:prod:en-US && npm run build:prod:fr-FR", "i18n:extract": "npm run i18n:extract-template && npm run i18n:extract-code && npm run i18n:merge", "i18n:extract-template": "ng xi18n Qorrect --format xlf --output-path src/i18n", "i18n:extract-code": "ts-extract --include=src/*/.ts --format=xlf --out-file=src/i18n/messages.xlf", "i18n:merge": "ng run Qorrect:xliffmerge", "postinstall": "ngcc", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@amcharts/amcharts4": "^4.7.21", "@angular/animations": "^12.2.15", "@angular/cdk": "^12.2.13", "@angular/common": "~12.2.15", "@angular/compiler": "~12.2.15", "@angular/core": "~12.2.15", "@angular/forms": "~12.2.15", "@angular/http": "^7.2.16", "@angular/localize": "^12.2.15", "@angular/material": "^12.2.13", "@angular/material-moment-adapter": "^12.2.13", "@angular/platform-browser": "~12.2.15", "@angular/platform-browser-dynamic": "~12.2.15", "@angular/router": "~12.2.15", "@aspnet/signalr": "^1.1.4", "@ckeditor/ckeditor5-angular": "^1.1.2", "@fortawesome/fontawesome-free": "^5.9.0", "@ng-bootstrap/ng-bootstrap": "^6.1.0", "@ngx-i18nsupport/ngx-i18nsupport": "^1.1.6", "@ngx-i18nsupport/tooling": "^8.0.3", "@ngx-translate/core": "^12.0.0", "@ngx-translate/http-loader": "^5.0.0", "@nicky-lenaers/ngx-scroll-to": "^9.0.0", "@sentry/angular": "^5.29.0", "@sentry/tracing": "^5.29.0", "@techiediaries/ngx-qrcode": "^9.1.0", "@types/jspdf": "^1.3.3", "angular-auth-oidc-client": "^10.0.14", "angular-debounce-throttle": "^1.0.0", "angular-notifier": "^6.0.1", "animate.css": "^4.1.1", "assert": "^2.0.0", "chart.js": "^2.9.3", "chartjs-plugin-annotation": "^0.5.7", "chartjs-plugin-datalabels": "^0.7.0", "compression": "^1.7.4", "concurrently": "^4.1.2", "dom-to-image": "^2.6.0", "dom-to-image-more": "^2.8.0", "exceljs": "^4.2.0", "express": "^4.17.1", "file-saver": "^2.0.5", "highcharts": "^8.2.2", "html2canvas": "^1.0.0-rc.7", "iv-viewer": "^2.0.1", "jquery": "^3.6.0", "jspdf": "1.5.3", "jspdf-html2canvas": "^1.4.9", "local": "^0.3.3", "locale": "^0.1.0", "mammoth": "^1.4.14", "moment": "^2.24.0", "ng-circle-progress": "^1.5.1", "ng2-charts": "^2.3.0", "ng2-tooltip-directive": "^2.8.17", "ng9-validation": "^3.1.0", "ngx-infinite-scroll": "^10.0.1", "ngx-material-timepicker": "^4.0.2", "ngx-perfect-scrollbar": "^9.0.0", "ngx-print": "^1.2.1", "ngx-textarea-autosize": "^2.0.3", "ngx-tour-core": "^4.1.1", "ngx-tour-md-menu": "^4.1.1", "nprogress": "^0.2.0", "path": "^0.12.7", "pdfmake": "^0.2.2", "raw-loader": "^4.0.2", "rxjs": "~6.6.0", "sweetalert2": "^9.15.2", "table-dragger": "^1.0.3", "tslib": "^2.0.0", "uuid": "^8.3.2", "xlsx": "^0.16.9", "zone.js": "~0.11.4" }, "devDependencies": { "@angular-devkit/build-angular": "~12.2.14", "@angular/cli": "~12.2.14", "@angular/compiler-cli": "~12.2.15", "@angular/language-service": "~12.2.15", "@ckeditor/ckeditor5-build-qorrect": "git+https://84d0be2bc380e28745a5fd877ebc2a022831f9a4:x-oauth-basic@github.com/qorrectassess/ckeditor5-build-qorrect.git#3.3.2", "@types/jasmine": "~3.6.0", "@types/jasminewd2": "~2.0.3", "@types/node": "^14.0.4", "angular-cli-alias": "git+https://github.com/isaacplmann/angular-cli-alias.git", "codelyzer": "^6.0.0", "concurrently": "^4.1.2", "file-loader": "^6.2.0", "i": "^0.3.6", "jasmine-core": "~3.6.0", "jasmine-spec-reporter": "~5.0.0", "karma": "~6.3.9", "karma-chrome-launcher": "~3.1.0", "karma-coverage-istanbul-reporter": "~3.0.2", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.5.0", "ng-mocks": "^10.1.3", "ng9-ts-extractor": "^1.0.2", "npm": "^6.14.8", "protractor": "~7.0.0", "ts-node": "~7.0.0", "tslint": "~6.1.0", "typescript": "~4.3.5" }, "config": { "max_old_space_size": 8192 } }

MMahdi1911 commented 2 years ago

@broem