@fluxhub/fluxhub-lib 1.0.294 → 1.0.296
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/bundles/fluxhub-fluxhub-lib.umd.js +18 -7
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/docs/components/win_riassegna_select_user.html +4 -4
- package/docs/js/search/search_index.js +1 -1
- package/docs/miscellaneous/variables.html +2 -2
- package/esm2015/lib/auth_guard.js +2 -2
- package/esm2015/lib/controls/fhgrid.js +13 -2
- package/esm2015/lib/controls/fhgrid_json.js +2 -2
- package/esm2015/lib/wkf_engine/win_riassegna_select_user.js +4 -4
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +4 -4
- package/esm5/lib/auth_guard.js +2 -2
- package/esm5/lib/controls/fhgrid.js +13 -2
- package/esm5/lib/controls/fhgrid_json.js +2 -2
- package/esm5/lib/wkf_engine/win_riassegna_select_user.js +2 -2
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +4 -4
- package/fesm2015/fluxhub-fluxhub-lib.js +21 -10
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +19 -8
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +38 -38
|
@@ -34,7 +34,7 @@ import { DomSanitizer } from '@angular/platform-browser';
|
|
|
34
34
|
import { NgControl, NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
|
35
35
|
import { MatDialogRef, MatDialog, DateAdapter, MAT_DATE_LOCALE, MatAutocompleteModule, MatButtonModule, MatButtonToggleModule, MatPaginatorModule, MatCardModule, MatCheckboxModule, MatChipsModule, MatDatepickerModule, MatGridListModule, MatIconModule, MatInputModule, MatListModule, MatMenuModule, MatProgressBarModule, MatProgressSpinnerModule, MatRadioModule, MatSelectModule, MatSidenavModule, MatSliderModule, MatSortModule, MatSlideToggleModule, MatSnackBarModule, MatTableModule, MatTabsModule, MatToolbarModule, MatTooltipModule, MatFormFieldModule, MatExpansionModule, MatStepperModule, MatDialogModule, MatNativeDateModule } from '@angular/material';
|
|
36
36
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
37
|
-
import { Injectable, Component, Directive, Inject, PLATFORM_ID, Pipe, Input,
|
|
37
|
+
import { Injectable, Component, Directive, Inject, PLATFORM_ID, Pipe, Input, Output, EventEmitter, forwardRef, ViewChild, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
|
|
38
38
|
import { Http } from '@angular/http';
|
|
39
39
|
import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
|
|
40
40
|
import { ToastrService } from 'ngx-toastr';
|
|
@@ -5067,7 +5067,7 @@ var win_riassegna_select_user = /** @class */ (function () {
|
|
|
5067
5067
|
};
|
|
5068
5068
|
win_riassegna_select_user.decorators = [
|
|
5069
5069
|
{ type: Component, args: [{
|
|
5070
|
-
template: "\n <mat-toolbar>{{title}}\n </mat-toolbar>\n\n <div mat-dialog-content style=\"min-width:700px\">\n\n <div style=\"
|
|
5070
|
+
template: "\n <mat-toolbar>{{title}}\n </mat-toolbar>\n\n <div mat-dialog-content style=\"min-width:700px\" fxLayout=\"column\">\n\n <div style=\"min-width:370px;\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <br><br><br>\n <br><br>\n <mat-form-field [hidden]=\"commento_hidden\" >\n <textarea matInput placeholder=\"Commento {{nota_commento}}\" [(ngModel)]=\"nota\"\n rows=\"6\"></textarea>\n\n </mat-form-field>\n\n \n\n </div>\n <br>\n <div style=\"width:100%;text-align:center;\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button> \n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button>\n </div>\n\n "
|
|
5071
5071
|
}] }
|
|
5072
5072
|
];
|
|
5073
5073
|
/** @nocollapse */
|
|
@@ -7093,7 +7093,18 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
7093
7093
|
if (localStorage.getItem(this.grid_key + '_COLS') != null && (b_mantieni_ck || forza))
|
|
7094
7094
|
if (localStorage.getItem(this.grid_key + '_COLS') != '') {
|
|
7095
7095
|
try {
|
|
7096
|
-
|
|
7096
|
+
/** @type {?} */
|
|
7097
|
+
var a = JSON.parse(localStorage.getItem(this.grid_key + '_COLS'));
|
|
7098
|
+
/** @type {?} */
|
|
7099
|
+
var annulla = true;
|
|
7100
|
+
for (var i = 0; i < a.length; i++) {
|
|
7101
|
+
if (!a[i].hide)
|
|
7102
|
+
annulla = false;
|
|
7103
|
+
}
|
|
7104
|
+
if (annulla)
|
|
7105
|
+
localStorage.getItem(this.grid_key + '_COLS');
|
|
7106
|
+
else
|
|
7107
|
+
this.gridOptions.columnApi.setColumnState(JSON.parse(localStorage.getItem(this.grid_key + '_COLS')));
|
|
7097
7108
|
}
|
|
7098
7109
|
catch (eer) {
|
|
7099
7110
|
console.log(eer);
|
|
@@ -13994,9 +14005,9 @@ var FHGridJSONComponent = /** @class */ (function () {
|
|
|
13994
14005
|
*/
|
|
13995
14006
|
function () {
|
|
13996
14007
|
var _this = this;
|
|
13997
|
-
console.log(this.m_appService.COMPANY_KEY + this.tbl_name);
|
|
13998
14008
|
console.log('m_appService ', this.m_appService);
|
|
13999
14009
|
console.log('localstore ', this.localstore);
|
|
14010
|
+
console.log(this.m_appService.COMPANY_KEY + this.tbl_name);
|
|
14000
14011
|
this.localstore.read(this.m_appService.COMPANY_KEY + this.tbl_name).then((/**
|
|
14001
14012
|
* @param {?} dt
|
|
14002
14013
|
* @return {?}
|
|
@@ -15671,7 +15682,7 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
15671
15682
|
function () {
|
|
15672
15683
|
var _this = this;
|
|
15673
15684
|
/** @type {?} */
|
|
15674
|
-
var dialogRef = this.m_dialog.open(win_log, { 'disableClose': true });
|
|
15685
|
+
var dialogRef = this.m_dialog.open(win_log, { 'disableClose': true, width: "90%" });
|
|
15675
15686
|
dialogRef.componentInstance.subject = this.app_info.descrizione_breve + ", <OP>: " + this.m_obj.codice + " " + this.getTitle();
|
|
15676
15687
|
dialogRef.componentInstance.lettori = this.m_obj.lettori;
|
|
15677
15688
|
dialogRef.componentInstance.link = this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit";
|
|
@@ -15695,7 +15706,7 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
15695
15706
|
function () {
|
|
15696
15707
|
var _this = this;
|
|
15697
15708
|
/** @type {?} */
|
|
15698
|
-
var dialogRef = this.m_dialog.open(win_commenti, { 'disableClose': true });
|
|
15709
|
+
var dialogRef = this.m_dialog.open(win_commenti, { 'disableClose': true, width: "90%" });
|
|
15699
15710
|
dialogRef.componentInstance.subject = this.app_info.descrizione_breve + ", <OP>: " + this.m_obj.codice + " " + this.getTitle();
|
|
15700
15711
|
dialogRef.componentInstance.lettori = this.m_obj.lettori;
|
|
15701
15712
|
dialogRef.componentInstance.link = this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit";
|
|
@@ -15719,7 +15730,7 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
15719
15730
|
function () {
|
|
15720
15731
|
var _this = this;
|
|
15721
15732
|
/** @type {?} */
|
|
15722
|
-
var dialogRef = this.m_dialog.open(win_uploads, { 'disableClose': true });
|
|
15733
|
+
var dialogRef = this.m_dialog.open(win_uploads, { 'disableClose': true, width: "90%" });
|
|
15723
15734
|
dialogRef.afterClosed().subscribe((/**
|
|
15724
15735
|
* @param {?} result
|
|
15725
15736
|
* @return {?}
|
|
@@ -18149,7 +18160,7 @@ var FHGuard = /** @class */ (function () {
|
|
|
18149
18160
|
}
|
|
18150
18161
|
}
|
|
18151
18162
|
//console.log('canActivate 11');
|
|
18152
|
-
_this.toast.error("ACCESS DENIED [
|
|
18163
|
+
_this.toast.error("ACCESS DENIED [0X0005]");
|
|
18153
18164
|
resolve(false);
|
|
18154
18165
|
_this.slimLoadingBarService.complete();
|
|
18155
18166
|
return;
|