Keensoft AOS extension (#920)

* aos extension

* update karma

* lint improvements and fixes

* update script

* update scripts

* update scripts

* reduce about 56.4 kB of polyfills for modern browsers

* deficated aosHost value to have AOS on separate servers

* context menu and toolbar

* visibility evaluator

* code improvements and fixes

* support locking, lock checks
This commit is contained in:
Denys Vuika
2019-02-08 15:45:39 +02:00
committed by Cilibiu Bogdan
parent 819f6ddced
commit 65e0a1138c
26 changed files with 782 additions and 21 deletions
+50 -9
View File
@@ -45,15 +45,20 @@
"input": "node_modules/pdfjs-dist/build",
"output": "/"
},
{
"glob": "**/*.json",
"input": "node_modules/@denysvuika/aca-dev-tools/assets",
"output": "./assets/plugins"
},
{
"glob": "extension.schema.json",
"input": ".",
"output": "./assets"
},
{
"glob": "**/*.json",
"input": "node_modules/@alfresco/adf-office-services-ext/assets",
"output": "./assets/plugins"
},
{
"glob": "**/*.json",
"input": "projects/adf-office-services-ext/assets",
"output": "./assets/plugins"
}
],
"styles": [
@@ -62,10 +67,11 @@
"src/styles.scss"
],
"scripts": [
"node_modules/pdfjs-dist/build/pdf.js",
"node_modules/pdfjs-dist/web/pdf_viewer.js",
"node_modules/moment/min/moment.min.js"
]
"node_modules/pdfjs-dist/build/pdf.js",
"node_modules/pdfjs-dist/web/pdf_viewer.js",
"node_modules/moment/min/moment.min.js"
],
"es5BrowserSupport": true
},
"configurations": {
"production": {
@@ -222,6 +228,41 @@
}
}
}
},
"adf-office-services-ext": {
"root": "projects/adf-office-services-ext",
"sourceRoot": "projects/adf-office-services-ext/src",
"projectType": "library",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "projects/adf-office-services-ext/tsconfig.lib.json",
"project": "projects/adf-office-services-ext/ng-package.json"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/adf-office-services-ext/src/test.ts",
"tsConfig": "projects/adf-office-services-ext/tsconfig.spec.json",
"karmaConfig": "projects/adf-office-services-ext/karma.conf.js"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/adf-office-services-ext/tsconfig.lib.json",
"projects/adf-office-services-ext/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
}
},
"defaultProject": "app",