tin-spa 0.0.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bundles/tin-spa.umd.js +30 -203
- package/bundles/tin-spa.umd.js.map +1 -1
- package/bundles/tin-spa.umd.min.js +12 -12
- package/bundles/tin-spa.umd.min.js.map +1 -1
- package/esm2015/lib/services/auth.service.js +4 -1
- package/esm2015/lib/tin-spa.module.js +8 -10
- package/esm2015/public-api.js +1 -2
- package/esm2015/tin-spa.js +3 -5
- package/esm5/lib/services/auth.service.js +4 -1
- package/esm5/lib/tin-spa.module.js +8 -10
- package/esm5/public-api.js +1 -2
- package/esm5/tin-spa.js +3 -5
- package/fesm2015/tin-spa.js +10 -183
- package/fesm2015/tin-spa.js.map +1 -1
- package/fesm5/tin-spa.js +10 -186
- package/fesm5/tin-spa.js.map +1 -1
- package/lib/services/auth.service.d.ts +3 -2
- package/package.json +17 -7
- package/public-api.d.ts +0 -1
- package/tin-spa.d.ts +2 -4
- package/tin-spa.metadata.json +1 -1
- package/esm2015/lib/components/viewer/viewer.component.js +0 -60
- package/esm2015/lib/components/viewer/viewerDialog.component.js +0 -77
- package/esm2015/lib/dnd.directive.js +0 -51
- package/esm5/lib/components/viewer/viewer.component.js +0 -61
- package/esm5/lib/components/viewer/viewerDialog.component.js +0 -78
- package/esm5/lib/dnd.directive.js +0 -52
- package/lib/components/viewer/viewer.component.d.ts +0 -14
- package/lib/components/viewer/viewerDialog.component.d.ts +0 -19
- package/lib/dnd.directive.d.ts +0 -8
package/README.md
CHANGED
package/bundles/tin-spa.umd.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/material/snack-bar'), require('@angular/material/dialog'), require('rxjs'), require('rxjs/operators'), require('file-saver'), require('xlsx'), require('tin-core'), require('@angular/router'), require('@angular/common'), require('@angular/material/autocomplete'), require('@angular/material/badge'), require('@angular/material/button'), require('@angular/material/card'), require('@angular/material/checkbox'), require('@angular/material/chips'), require('@angular/material/core'), require('@angular/material/datepicker'), require('@angular/material/form-field'), require('@angular/material/icon'), require('@angular/material/input'), require('@angular/material/list'), require('@angular/material/menu'), require('@angular/material/paginator'), require('@angular/material/progress-spinner'), require('@angular/material/radio'), require('@angular/material/select'), require('@angular/material/slider'), require('@angular/material/sort'), require('@angular/material/stepper'), require('@angular/material/table'), require('@angular/material/tabs'), require('@angular/material/tooltip'), require('@angular/forms'), require('@angular/common/http'), require('@ng-idle/keepalive'), require('angular2-moment'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define('tin-spa', ['exports', '@angular/core', '@angular/material/snack-bar', '@angular/material/dialog', 'rxjs', 'rxjs/operators', 'file-saver', 'xlsx', 'tin-core', '@angular/router', '@angular/common', '@angular/material/autocomplete', '@angular/material/badge', '@angular/material/button', '@angular/material/card', '@angular/material/checkbox', '@angular/material/chips', '@angular/material/core', '@angular/material/datepicker', '@angular/material/form-field', '@angular/material/icon', '@angular/material/input', '@angular/material/list', '@angular/material/menu', '@angular/material/paginator', '@angular/material/progress-spinner', '@angular/material/radio', '@angular/material/select', '@angular/material/slider', '@angular/material/sort', '@angular/material/stepper', '@angular/material/table', '@angular/material/tabs', '@angular/material/tooltip', '@angular/forms', '@angular/common/http', '@ng-idle/keepalive', 'angular2-moment', '
|
|
4
|
-
(global = global || self, factory(global['tin-spa'] = {}, global.ng.core, global.ng.material.snackBar, global.ng.material.dialog, global.rxjs, global.rxjs.operators, global.fileSaver, global.xlsx, global.tinCore, global.ng.router, global.ng.common, global.ng.material.autocomplete, global.ng.material.badge, global.ng.material.button, global.ng.material.card, global.ng.material.checkbox, global.ng.material.chips, global.ng.material.core, global.ng.material.datepicker, global.ng.material.formField, global.ng.material.icon, global.ng.material.input, global.ng.material.list, global.ng.material.menu, global.ng.material.paginator, global.ng.material.progressSpinner, global.ng.material.radio, global.ng.material.select, global.ng.material.slider, global.ng.material.sort, global.ng.material.stepper, global.ng.material.table, global.ng.material.tabs, global.ng.material.tooltip, global.ng.forms, global.ng.common.http, global.keepalive, global.angular2Moment, global.
|
|
5
|
-
}(this, (function (exports, core, snackBar, dialog, rxjs, operators, fileSaver, xlsx, tinCore, router, common, autocomplete, badge, button, card, checkbox, chips, core$1, datepicker, formField, icon, input, list, menu, paginator, progressSpinner, radio, select, slider, sort, stepper, table, tabs, tooltip, forms, http, keepalive, angular2Moment,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/material/snack-bar'), require('@angular/material/dialog'), require('rxjs'), require('rxjs/operators'), require('file-saver'), require('xlsx'), require('tin-core'), require('@angular/router'), require('@angular/common'), require('@angular/material/autocomplete'), require('@angular/material/badge'), require('@angular/material/button'), require('@angular/material/card'), require('@angular/material/checkbox'), require('@angular/material/chips'), require('@angular/material/core'), require('@angular/material/datepicker'), require('@angular/material/form-field'), require('@angular/material/icon'), require('@angular/material/input'), require('@angular/material/list'), require('@angular/material/menu'), require('@angular/material/paginator'), require('@angular/material/progress-spinner'), require('@angular/material/radio'), require('@angular/material/select'), require('@angular/material/slider'), require('@angular/material/sort'), require('@angular/material/stepper'), require('@angular/material/table'), require('@angular/material/tabs'), require('@angular/material/tooltip'), require('@angular/forms'), require('@angular/common/http'), require('@ng-idle/keepalive'), require('angular2-moment'), require('@ng-idle/core')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('tin-spa', ['exports', '@angular/core', '@angular/material/snack-bar', '@angular/material/dialog', 'rxjs', 'rxjs/operators', 'file-saver', 'xlsx', 'tin-core', '@angular/router', '@angular/common', '@angular/material/autocomplete', '@angular/material/badge', '@angular/material/button', '@angular/material/card', '@angular/material/checkbox', '@angular/material/chips', '@angular/material/core', '@angular/material/datepicker', '@angular/material/form-field', '@angular/material/icon', '@angular/material/input', '@angular/material/list', '@angular/material/menu', '@angular/material/paginator', '@angular/material/progress-spinner', '@angular/material/radio', '@angular/material/select', '@angular/material/slider', '@angular/material/sort', '@angular/material/stepper', '@angular/material/table', '@angular/material/tabs', '@angular/material/tooltip', '@angular/forms', '@angular/common/http', '@ng-idle/keepalive', 'angular2-moment', '@ng-idle/core'], factory) :
|
|
4
|
+
(global = global || self, factory(global['tin-spa'] = {}, global.ng.core, global.ng.material.snackBar, global.ng.material.dialog, global.rxjs, global.rxjs.operators, global.fileSaver, global.xlsx, global.tinCore, global.ng.router, global.ng.common, global.ng.material.autocomplete, global.ng.material.badge, global.ng.material.button, global.ng.material.card, global.ng.material.checkbox, global.ng.material.chips, global.ng.material.core, global.ng.material.datepicker, global.ng.material.formField, global.ng.material.icon, global.ng.material.input, global.ng.material.list, global.ng.material.menu, global.ng.material.paginator, global.ng.material.progressSpinner, global.ng.material.radio, global.ng.material.select, global.ng.material.slider, global.ng.material.sort, global.ng.material.stepper, global.ng.material.table, global.ng.material.tabs, global.ng.material.tooltip, global.ng.forms, global.ng.common.http, global.keepalive, global.angular2Moment, global.core$2));
|
|
5
|
+
}(this, (function (exports, core, snackBar, dialog, rxjs, operators, fileSaver, xlsx, tinCore, router, common, autocomplete, badge, button, card, checkbox, chips, core$1, datepicker, formField, icon, input, list, menu, paginator, progressSpinner, radio, select, slider, sort, stepper, table, tabs, tooltip, forms, http, keepalive, angular2Moment, core$2) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/*! *****************************************************************************
|
|
8
|
-
Copyright (c) Microsoft Corporation.
|
|
9
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
10
|
-
this file except in compliance with the License. You may obtain a copy of the
|
|
11
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
Copyright (c) Microsoft Corporation.
|
|
12
9
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
16
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
10
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
11
|
+
purpose with or without fee is hereby granted.
|
|
17
12
|
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
14
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
15
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
16
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
17
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
18
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
19
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
20
20
|
***************************************************************************** */
|
|
21
21
|
/* global Reflect, Promise */
|
|
22
22
|
|
|
@@ -109,8 +109,13 @@
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
+
function __createBinding(o, m, k, k2) {
|
|
113
|
+
if (k2 === undefined) k2 = k;
|
|
114
|
+
o[k2] = m[k];
|
|
115
|
+
}
|
|
116
|
+
|
|
112
117
|
function __exportStar(m, exports) {
|
|
113
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
118
|
+
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
114
119
|
}
|
|
115
120
|
|
|
116
121
|
function __values(o) {
|
|
@@ -806,6 +811,8 @@
|
|
|
806
811
|
this.islineManager = false;
|
|
807
812
|
this.isLineManagerSource = new rxjs.BehaviorSubject(this.islineManager);
|
|
808
813
|
this.isLineManagerObserv = this.isLineManagerSource.asObservable();
|
|
814
|
+
//Roles
|
|
815
|
+
this.currentRole = new Role;
|
|
809
816
|
this.currentRoleSource = new rxjs.BehaviorSubject(this.currentRole);
|
|
810
817
|
this.myRoleObserv = this.currentRoleSource.asObservable();
|
|
811
818
|
//Logged in FirstName
|
|
@@ -1522,135 +1529,6 @@
|
|
|
1522
1529
|
return TextComponent;
|
|
1523
1530
|
}());
|
|
1524
1531
|
|
|
1525
|
-
//-------------------------------------------EDIT
|
|
1526
|
-
var viewerDialog = /** @class */ (function () {
|
|
1527
|
-
function viewerDialog(httpService, data) {
|
|
1528
|
-
this.httpService = httpService;
|
|
1529
|
-
this.data = data;
|
|
1530
|
-
this.isProcessing = false;
|
|
1531
|
-
this.fileNames = new Array();
|
|
1532
|
-
this.currIndex = 0;
|
|
1533
|
-
this.currentFileUrl = "";
|
|
1534
|
-
this.imageDoc = false;
|
|
1535
|
-
}
|
|
1536
|
-
viewerDialog.prototype.ngOnInit = function () {
|
|
1537
|
-
this.fileNames = this.data.fileNames;
|
|
1538
|
-
this.path = this.data.path;
|
|
1539
|
-
this.fileName = this.data.fileName;
|
|
1540
|
-
this.currIndex = this.data.fileNames.indexOf(this.fileName);
|
|
1541
|
-
this.setURL();
|
|
1542
|
-
};
|
|
1543
|
-
viewerDialog.prototype.previous = function () {
|
|
1544
|
-
if (this.fileNames.length == 0) {
|
|
1545
|
-
return;
|
|
1546
|
-
}
|
|
1547
|
-
if (this.currIndex - 1 >= 0) {
|
|
1548
|
-
this.currIndex = this.currIndex - 1;
|
|
1549
|
-
}
|
|
1550
|
-
else if (this.currIndex == 0) {
|
|
1551
|
-
this.currIndex = this.fileNames.length - 1;
|
|
1552
|
-
}
|
|
1553
|
-
this.setURL();
|
|
1554
|
-
};
|
|
1555
|
-
viewerDialog.prototype.next = function () {
|
|
1556
|
-
if (this.fileNames.length == 0) {
|
|
1557
|
-
return;
|
|
1558
|
-
}
|
|
1559
|
-
if (this.currIndex + 1 < this.fileNames.length) {
|
|
1560
|
-
this.currIndex = this.currIndex + 1;
|
|
1561
|
-
}
|
|
1562
|
-
else if (this.currIndex + 1 > this.fileNames.length - 1) {
|
|
1563
|
-
this.currIndex = 0;
|
|
1564
|
-
}
|
|
1565
|
-
this.setURL();
|
|
1566
|
-
};
|
|
1567
|
-
viewerDialog.prototype.setURL = function () {
|
|
1568
|
-
// this.currentFileUrl = this.httpService.apiUrl.replace("/api/", "/files/") + '' + "/" + this.files[this.currIndex];
|
|
1569
|
-
this.currentFileUrl = "" + this.httpService.apiUrl.replace("/api/", "/") + this.path.replace("//", "/") + "/" + this.fileNames[this.currIndex];
|
|
1570
|
-
if (this.currentFileUrl.toLocaleLowerCase().endsWith(".pdf") || this.currentFileUrl.toLocaleLowerCase().endsWith(".jpg") || this.currentFileUrl.toLocaleLowerCase().endsWith(".jpeg")) {
|
|
1571
|
-
this.imageDoc = true;
|
|
1572
|
-
}
|
|
1573
|
-
else {
|
|
1574
|
-
this.imageDoc = false;
|
|
1575
|
-
window.open(this.currentFileUrl, '_blank');
|
|
1576
|
-
}
|
|
1577
|
-
console.log(this.currentFileUrl);
|
|
1578
|
-
};
|
|
1579
|
-
viewerDialog.prototype.change = function (fileName) {
|
|
1580
|
-
this.currIndex = this.fileNames.indexOf(fileName);
|
|
1581
|
-
this.setURL();
|
|
1582
|
-
};
|
|
1583
|
-
viewerDialog.ctorParameters = function () { return [
|
|
1584
|
-
{ type: tinCore.HttpService },
|
|
1585
|
-
{ type: undefined, decorators: [{ type: core.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
|
1586
|
-
]; };
|
|
1587
|
-
viewerDialog = __decorate([
|
|
1588
|
-
core.Component({
|
|
1589
|
-
selector: 'app-editRequest',
|
|
1590
|
-
template: "\n\n<mat-dialog-content class=\"mat-typography\">\n\n <div class=\"row\">\n\n <div class=\"col\">\n <ngx-doc-viewer *ngIf=\"imageDoc\"\n [url]=\"currentFileUrl\"\n viewer=\"url\"\n style=\"width:100%;height:60vh;\">\n </ngx-doc-viewer>\n\n <div *ngIf=\"!imageDoc\" class=\"d-flex justify-content-center row align-items-center\" style=\"height:60vh;\">\n\n This file type will be downloaded\n\n </div>\n </div>\n\n\n <div class=\"col-3\">\n <spa-chips [chips]=\"fileNames\" display=\"Documents\" icon=\"description\" (click)=\"change($event)\"></spa-chips>\n </div>\n\n </div>\n\n\n</mat-dialog-content>\n\n<mat-dialog-actions>\n<button mat-button [disabled]=\"currIndex == 0\" (click)=\"previous()\" cdkFocusInitial>Previous</button>\n<button mat-button [disabled]=\"currIndex+1 == fileNames.length\" (click)=\"next()\" cdkFocusInitial>Next</button>\n<button mat-button mat-dialog-close>Cancel</button>\n</mat-dialog-actions>\n\n\n\n",
|
|
1591
|
-
styles: [".truncate-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.align-end{justify-content:flex-end}.fx-spacer{flex:1 1 auto}"]
|
|
1592
|
-
}),
|
|
1593
|
-
__param(1, core.Inject(dialog.MAT_DIALOG_DATA))
|
|
1594
|
-
], viewerDialog);
|
|
1595
|
-
return viewerDialog;
|
|
1596
|
-
}());
|
|
1597
|
-
|
|
1598
|
-
var ViewerComponent = /** @class */ (function () {
|
|
1599
|
-
function ViewerComponent(dialog) {
|
|
1600
|
-
this.dialog = dialog;
|
|
1601
|
-
this.dir = "";
|
|
1602
|
-
this.folderName = "";
|
|
1603
|
-
this.fileNames = new Array();
|
|
1604
|
-
this.removable = false;
|
|
1605
|
-
this.remove = new core.EventEmitter();
|
|
1606
|
-
}
|
|
1607
|
-
ViewerComponent.prototype.ngOnInit = function () {
|
|
1608
|
-
console.log(this.dir + "/" + this.folderName);
|
|
1609
|
-
};
|
|
1610
|
-
// fileList: string[];
|
|
1611
|
-
ViewerComponent.prototype.viewDocs = function (fileName) {
|
|
1612
|
-
if (typeof fileName != 'string') {
|
|
1613
|
-
return;
|
|
1614
|
-
}
|
|
1615
|
-
console.log("opening doc: " + fileName);
|
|
1616
|
-
var dialogRef = this.dialog.open(viewerDialog, {
|
|
1617
|
-
minWidth: '1500px',
|
|
1618
|
-
maxWidth: '80vw',
|
|
1619
|
-
data: { fileNames: this.fileNames, fileName: fileName, path: this.dir + "/" + this.folderName }
|
|
1620
|
-
});
|
|
1621
|
-
};
|
|
1622
|
-
ViewerComponent.prototype.removed = function (i) {
|
|
1623
|
-
console.log("remove clicked from viewer: " + i);
|
|
1624
|
-
this.remove.emit(i);
|
|
1625
|
-
};
|
|
1626
|
-
ViewerComponent.ctorParameters = function () { return [
|
|
1627
|
-
{ type: dialog.MatDialog }
|
|
1628
|
-
]; };
|
|
1629
|
-
__decorate([
|
|
1630
|
-
core.Input()
|
|
1631
|
-
], ViewerComponent.prototype, "dir", void 0);
|
|
1632
|
-
__decorate([
|
|
1633
|
-
core.Input()
|
|
1634
|
-
], ViewerComponent.prototype, "folderName", void 0);
|
|
1635
|
-
__decorate([
|
|
1636
|
-
core.Input()
|
|
1637
|
-
], ViewerComponent.prototype, "fileNames", void 0);
|
|
1638
|
-
__decorate([
|
|
1639
|
-
core.Input()
|
|
1640
|
-
], ViewerComponent.prototype, "removable", void 0);
|
|
1641
|
-
__decorate([
|
|
1642
|
-
core.Output()
|
|
1643
|
-
], ViewerComponent.prototype, "remove", void 0);
|
|
1644
|
-
ViewerComponent = __decorate([
|
|
1645
|
-
core.Component({
|
|
1646
|
-
selector: 'spa-viewer',
|
|
1647
|
-
template: "<spa-chips [chips]=\"fileNames\" display=\"Documents\" [removable]=\"removable\" icon=\"description\" (click)=\"viewDocs($event)\" (remove)=\"removed($event)\"></spa-chips>\n",
|
|
1648
|
-
styles: [".truncate-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.align-end{justify-content:flex-end}.fx-spacer{flex:1 1 auto}"]
|
|
1649
|
-
})
|
|
1650
|
-
], ViewerComponent);
|
|
1651
|
-
return ViewerComponent;
|
|
1652
|
-
}());
|
|
1653
|
-
|
|
1654
1532
|
var SelectComponent = /** @class */ (function () {
|
|
1655
1533
|
function SelectComponent() {
|
|
1656
1534
|
this.width = "100%";
|
|
@@ -1974,55 +1852,6 @@
|
|
|
1974
1852
|
return MoneyComponent;
|
|
1975
1853
|
}());
|
|
1976
1854
|
|
|
1977
|
-
var DndDirective = /** @class */ (function () {
|
|
1978
|
-
function DndDirective() {
|
|
1979
|
-
this.fileDropped = new core.EventEmitter();
|
|
1980
|
-
}
|
|
1981
|
-
// Dragover listener
|
|
1982
|
-
DndDirective.prototype.onDragOver = function (evt) {
|
|
1983
|
-
evt.preventDefault();
|
|
1984
|
-
evt.stopPropagation();
|
|
1985
|
-
this.fileOver = true;
|
|
1986
|
-
};
|
|
1987
|
-
// Dragleave listener
|
|
1988
|
-
DndDirective.prototype.onDragLeave = function (evt) {
|
|
1989
|
-
evt.preventDefault();
|
|
1990
|
-
evt.stopPropagation();
|
|
1991
|
-
this.fileOver = false;
|
|
1992
|
-
};
|
|
1993
|
-
// Drop listener
|
|
1994
|
-
DndDirective.prototype.ondrop = function (evt) {
|
|
1995
|
-
evt.preventDefault();
|
|
1996
|
-
evt.stopPropagation();
|
|
1997
|
-
this.fileOver = false;
|
|
1998
|
-
var files = evt.dataTransfer.files;
|
|
1999
|
-
if (files.length > 0) {
|
|
2000
|
-
this.fileDropped.emit(files);
|
|
2001
|
-
}
|
|
2002
|
-
};
|
|
2003
|
-
__decorate([
|
|
2004
|
-
core.HostBinding('class.fileover')
|
|
2005
|
-
], DndDirective.prototype, "fileOver", void 0);
|
|
2006
|
-
__decorate([
|
|
2007
|
-
core.Output()
|
|
2008
|
-
], DndDirective.prototype, "fileDropped", void 0);
|
|
2009
|
-
__decorate([
|
|
2010
|
-
core.HostListener('dragover', ['$event'])
|
|
2011
|
-
], DndDirective.prototype, "onDragOver", null);
|
|
2012
|
-
__decorate([
|
|
2013
|
-
core.HostListener('dragleave', ['$event'])
|
|
2014
|
-
], DndDirective.prototype, "onDragLeave", null);
|
|
2015
|
-
__decorate([
|
|
2016
|
-
core.HostListener('drop', ['$event'])
|
|
2017
|
-
], DndDirective.prototype, "ondrop", null);
|
|
2018
|
-
DndDirective = __decorate([
|
|
2019
|
-
core.Directive({
|
|
2020
|
-
selector: '[appDnd]'
|
|
2021
|
-
})
|
|
2022
|
-
], DndDirective);
|
|
2023
|
-
return DndDirective;
|
|
2024
|
-
}());
|
|
2025
|
-
|
|
2026
1855
|
var ChipsComponent = /** @class */ (function () {
|
|
2027
1856
|
function ChipsComponent(messageService) {
|
|
2028
1857
|
this.messageService = messageService;
|
|
@@ -2112,6 +1941,9 @@
|
|
|
2112
1941
|
return ActivityComponent;
|
|
2113
1942
|
}());
|
|
2114
1943
|
|
|
1944
|
+
// import { ViewerDialogComponent } from './components/viewer-dialog/viewer-dialog.component';
|
|
1945
|
+
// import { editRequestDialog } from './components/viewer/editRequestDialog.component';
|
|
1946
|
+
// import { viewerDialog } from './components/viewer/viewerDialog.component';
|
|
2115
1947
|
// import { viewerDialog } from './components/viewer/viewerDialog.component';
|
|
2116
1948
|
// import { viewerDialog } from './components/viewer/viewerDialog.component';
|
|
2117
1949
|
// import { LogsComponent } from './components/logs/logs.component';
|
|
@@ -2120,12 +1952,12 @@
|
|
|
2120
1952
|
}
|
|
2121
1953
|
TinSpaModule = __decorate([
|
|
2122
1954
|
core.NgModule({
|
|
2123
|
-
declarations: [
|
|
1955
|
+
declarations: [TinSpaComponent, messageDialog, NavMenuComponent, LoaderComponent,
|
|
2124
1956
|
TimeoutComponent, TableComponent, TilesComponent, DateComponent, TextComponent,
|
|
2125
|
-
|
|
1957
|
+
SelectComponent, CheckComponent, AttachComponent, DatetimeComponent,
|
|
2126
1958
|
MoneyComponent,
|
|
2127
1959
|
ChipsComponent,
|
|
2128
|
-
ActivityComponent
|
|
1960
|
+
ActivityComponent],
|
|
2129
1961
|
entryComponents: [messageDialog],
|
|
2130
1962
|
imports: [
|
|
2131
1963
|
forms.ReactiveFormsModule.withConfig({ warnOnNgModelWithFormControl: "never" }),
|
|
@@ -2134,7 +1966,6 @@
|
|
|
2134
1966
|
forms.ReactiveFormsModule,
|
|
2135
1967
|
SpaMatModule,
|
|
2136
1968
|
angular2Moment.MomentModule,
|
|
2137
|
-
ngxDocViewer.NgxDocViewerModule,
|
|
2138
1969
|
keepalive.NgIdleKeepaliveModule.forRoot()
|
|
2139
1970
|
],
|
|
2140
1971
|
exports: [
|
|
@@ -2149,7 +1980,6 @@
|
|
|
2149
1980
|
TableComponent,
|
|
2150
1981
|
TilesComponent,
|
|
2151
1982
|
DateComponent,
|
|
2152
|
-
ViewerComponent,
|
|
2153
1983
|
SelectComponent,
|
|
2154
1984
|
TextComponent,
|
|
2155
1985
|
DatetimeComponent,
|
|
@@ -3416,17 +3246,14 @@
|
|
|
3416
3246
|
exports.TinSpaService = TinSpaService;
|
|
3417
3247
|
exports.User = User;
|
|
3418
3248
|
exports.UsersComponent = UsersComponent;
|
|
3419
|
-
exports.ViewerComponent = ViewerComponent;
|
|
3420
3249
|
exports.addRoleDialog = addRoleDialog;
|
|
3421
3250
|
exports.editRoleDialog = editRoleDialog;
|
|
3422
3251
|
exports.loginConfig = loginConfig;
|
|
3423
3252
|
exports.messageDialog = messageDialog;
|
|
3424
3253
|
exports.viewRoleDialog = viewRoleDialog;
|
|
3425
3254
|
exports.ɵ0 = ɵ0;
|
|
3426
|
-
exports.ɵa =
|
|
3427
|
-
exports.ɵb =
|
|
3428
|
-
exports.ɵc = viewerDialog;
|
|
3429
|
-
exports.ɵd = LoaderInterceptor;
|
|
3255
|
+
exports.ɵa = LoaderService;
|
|
3256
|
+
exports.ɵb = LoaderInterceptor;
|
|
3430
3257
|
|
|
3431
3258
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3432
3259
|
|