SUPPORT-8381: add ng2-file-upload lib

This commit is contained in:
Alexandr Shalaginov 2024-07-11 13:55:50 +03:00
parent a539f5031b
commit b129794ff4
5 changed files with 13 additions and 3 deletions

View file

@ -6980,6 +6980,11 @@
"integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==",
"dev": true "dev": true
}, },
"ng2-file-upload": {
"version": "1.3.0",
"resolved": "https://repo.micord.ru/repository/npm-all/ng2-file-upload/-/ng2-file-upload-1.3.0.tgz",
"integrity": "sha512-Pudxik6LWYsT8hNiEW7RfjgGWAnvfQywxwJYMdt1snTUe+KnlRc/QqPv3QEQW6plXTanuLkYz/TbqilSfSHOsw=="
},
"ngx-cookie": { "ngx-cookie": {
"version": "3.0.1", "version": "3.0.1",
"resolved": "https://repo.micord.ru/repository/npm-all/ngx-cookie/-/ngx-cookie-3.0.1.tgz", "resolved": "https://repo.micord.ru/repository/npm-all/ngx-cookie/-/ngx-cookie-3.0.1.tgz",

View file

@ -50,6 +50,7 @@
"jsgantt-improved": "2.0.10-cg", "jsgantt-improved": "2.0.10-cg",
"moment": "2.17.1", "moment": "2.17.1",
"moment-timezone": "0.5.11", "moment-timezone": "0.5.11",
"ng2-file-upload": "^1.3.0",
"ngx-cookie": "3.0.1", "ngx-cookie": "3.0.1",
"ngx-international-phone-number": "1.0.6", "ngx-international-phone-number": "1.0.6",
"ngx-toastr": "10.2.0-cg", "ngx-toastr": "10.2.0-cg",

View file

@ -30,6 +30,7 @@ import {TaskListComponent} from "./component/task-list.component";
import {ProcessListComponent} from "./component/process-list.component"; import {ProcessListComponent} from "./component/process-list.component";
import {TaskComponent} from "./component/task.component"; import {TaskComponent} from "./component/task.component";
import {TaskNotFoundComponent} from "./component/task-not-found.component"; import {TaskNotFoundComponent} from "./component/task-not-found.component";
import {FileUploadModule} from "ng2-file-upload";
registerLocaleData(localeRu); registerLocaleData(localeRu);
export const DIRECTIVES = [ export const DIRECTIVES = [
@ -62,7 +63,8 @@ export const DIRECTIVES = [
ComponentsModule, ComponentsModule,
AgGridModule, AgGridModule,
RouterModule, RouterModule,
InternationalPhoneNumberModule InternationalPhoneNumberModule,
FileUploadModule
], ],
declarations: [ declarations: [
DIRECTIVES DIRECTIVES

View file

@ -62,7 +62,8 @@
'chartjs-adapter-moment': 'npm:chartjs-adapter-moment/dist/chartjs-adapter-moment.js', 'chartjs-adapter-moment': 'npm:chartjs-adapter-moment/dist/chartjs-adapter-moment.js',
'tslib': 'npm:tslib/tslib.js', 'tslib': 'npm:tslib/tslib.js',
'ngx-international-phone-number': 'npm:ngx-international-phone-number/ngx-international-phone-number.umd.js', 'ngx-international-phone-number': 'npm:ngx-international-phone-number/ngx-international-phone-number.umd.js',
'google-libphonenumber': 'npm:google-libphonenumber/dist/libphonenumber.js' 'google-libphonenumber': 'npm:google-libphonenumber/dist/libphonenumber.js',
'ng2-file-upload': 'npm:ng2-file-upload/bundles/ng2-file-upload.umd.js'
}, },
packages: { packages: {
'webbpm': { main: 'main', defaultExtension: 'js'}, 'webbpm': { main: 'main', defaultExtension: 'js'},

View file

@ -62,7 +62,8 @@
'chartjs-adapter-moment': 'npm:chartjs-adapter-moment/dist/chartjs-adapter-moment.js', 'chartjs-adapter-moment': 'npm:chartjs-adapter-moment/dist/chartjs-adapter-moment.js',
'tslib': 'npm:tslib/tslib.js', 'tslib': 'npm:tslib/tslib.js',
'ngx-international-phone-number': 'npm:ngx-international-phone-number/ngx-international-phone-number.umd.js', 'ngx-international-phone-number': 'npm:ngx-international-phone-number/ngx-international-phone-number.umd.js',
'google-libphonenumber': 'npm:google-libphonenumber/dist/libphonenumber.js' 'google-libphonenumber': 'npm:google-libphonenumber/dist/libphonenumber.js',
'ng2-file-upload': 'npm:ng2-file-upload/bundles/ng2-file-upload.umd.js'
}, },
packages: { packages: {
'preview': { main: './modules/preview/preview.main', defaultExtension: 'js'}, 'preview': { main: './modules/preview/preview.main', defaultExtension: 'js'},