@fluxhub/fluxhub-lib 1.0.311 → 1.0.313
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 +30 -2
- 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/classes/wkfapp.html +41 -0
- package/docs/components/FHPickListComponent.html +88 -2
- package/docs/coverage.html +2 -2
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +30 -30
- package/esm2015/lib/controls/fhwinpicklist.js +26 -2
- package/esm2015/lib/wkf_engine/wkfapp.js +7 -1
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +2 -2
- package/esm5/lib/controls/fhwinpicklist.js +29 -2
- package/esm5/lib/wkf_engine/wkfapp.js +7 -1
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +2 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +27 -2
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +31 -3
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhwinpicklist.d.ts +1 -0
- package/lib/wkf_engine/wkfapp.d.ts +1 -0
- package/package.json +1 -1
|
@@ -37,7 +37,7 @@ import { DomSanitizer } from '@angular/platform-browser';
|
|
|
37
37
|
import { NgControl, NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
|
38
38
|
import { MatDialogRef, MatDialog, DateAdapter, MAT_DATE_FORMATS, 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';
|
|
39
39
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
40
|
-
import { Injectable,
|
|
40
|
+
import { Injectable, Directive, Component, Pipe, Inject, PLATFORM_ID, Input, forwardRef, Output, EventEmitter, ViewChild, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
|
|
41
41
|
import { Http } from '@angular/http';
|
|
42
42
|
import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
|
|
43
43
|
import { ToastrService } from 'ngx-toastr';
|
|
@@ -5945,6 +5945,7 @@ wkfapp = /** @class */ (function () {
|
|
|
5945
5945
|
function (data) {
|
|
5946
5946
|
if (data != null)
|
|
5947
5947
|
if (data.result_msg == "OK") {
|
|
5948
|
+
_this.init_grid();
|
|
5948
5949
|
_this.ok_conf_s(data.result_data);
|
|
5949
5950
|
}
|
|
5950
5951
|
}));
|
|
@@ -10027,6 +10028,33 @@ var FHPickListComponent = /** @class */ (function () {
|
|
|
10027
10028
|
_this.errorMsg = "ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI";
|
|
10028
10029
|
}));
|
|
10029
10030
|
};
|
|
10031
|
+
/**
|
|
10032
|
+
* @param {?} k
|
|
10033
|
+
* @param {?} arrs
|
|
10034
|
+
* @return {?}
|
|
10035
|
+
*/
|
|
10036
|
+
FHPickListComponent.prototype.fill_list_arr = /**
|
|
10037
|
+
* @param {?} k
|
|
10038
|
+
* @param {?} arrs
|
|
10039
|
+
* @return {?}
|
|
10040
|
+
*/
|
|
10041
|
+
function (k, arrs) {
|
|
10042
|
+
this.value_sel = new Array();
|
|
10043
|
+
for (var i = 0; i < arrs.length; i++) {
|
|
10044
|
+
/** @type {?} */
|
|
10045
|
+
var o = new Object();
|
|
10046
|
+
o.descrizione_valore = arrs[i];
|
|
10047
|
+
this.value_sel.push(o);
|
|
10048
|
+
}
|
|
10049
|
+
this.value_list_all = k;
|
|
10050
|
+
for (var y = 0; y < this.value_sel.length; y++)
|
|
10051
|
+
for (var i_2 = this.value_list_all.length - 1; i_2 >= 0; i_2--)
|
|
10052
|
+
if (this.value_list_all[i_2].descrizione_valore == this.value_sel[y].descrizione_valore) {
|
|
10053
|
+
this.value_list_all.splice(i_2, 1);
|
|
10054
|
+
break;
|
|
10055
|
+
}
|
|
10056
|
+
this.filtra();
|
|
10057
|
+
};
|
|
10030
10058
|
/**
|
|
10031
10059
|
* @return {?}
|
|
10032
10060
|
*/
|
|
@@ -10142,7 +10170,7 @@ var FHPickListComponent = /** @class */ (function () {
|
|
|
10142
10170
|
{ type: Component, args: [{
|
|
10143
10171
|
selector: 'FHPickList',
|
|
10144
10172
|
template: "\n \n <div fxLayout=\"column\" fxLayoutGap=\"15px\" fxFlex style=\"width:600px;height:400px\">\n <div fxLayout=\"row\" style=\"width:550\">\n <div fxLayout=\"column\" fxFlex=\"41%\">\n\n \n <div style=\"width:100%;height:420px;overflow:auto;\">\n <table style=\"width: 100%\" class=\"fh_table\">\n <thead>\n <tr>\n <th>VALORI SELEZIONABILI</th>\n </tr>\n </thead>\n\n <tbody>\n <tr><td> <input [(ngModel)]=\"fltr_user\" (ngModelChange)=\"filtra()\" style='padding:8px;margin:15px auto;width:100%;'\n placeholder='Ricerca...'>\n </td></tr>\n <tr *ngFor=\"let u of value_list_sel;let odd=odd; let even=even;\" [ngClass]=\"{ odd: odd, even: even }\" (click)=\"addTo(u)\" (dblclick)=\"do_add()\" class=\"selector\"\n [ngClass]=\"{ 'active': selectedAdd == u }\">\n <td>{{u.descrizione_valore}}</td>\n\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"18%\"\n style=\"height: 280px; position: relative; margin:0 .5em; padding-left: .5em; padding-right: .5em; border-left: 1px solid rgba(191, 191, 191, 0.5); border-right: 1px solid rgba(191, 191, 191, 0.5);\">\n <div style=\"position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);\">\n <button mat-raised-button (click)=\"do_add()\" [disabled]=\"!option\">\n <mat-icon>arrow_forward</mat-icon>\n </button>\n <br><br>\n <button mat-raised-button (click)=\"do_rem()\" [disabled]=\"option\">\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"41%\">\n \n\n <div style=\"width:100%;height:420px;overflow:auto;\">\n\n <table style=\"width: 100%\" class=\"fh_table\">\n <thead>\n <tr>\n <th>VALORI SELEZIONATI</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let u of value_sel;let odd=odd; let even=even;\" (mouseover)=\"selectedRemove=u\" [ngClass]=\"{ odd: odd, even: even }\" (click)=\"removeTo(u)\" (dblclick)=\"do_rem()\" class=\"selector\"\n [ngClass]=\"{ 'active': selectedRemove == u }\">\n <td>{{u.descrizione_valore}}</td>\n\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n <br><br>\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayoutGap=\"5px\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\">Ok</button> \n <button mat-raised-button (click)=\"dialogRef.close()\">Annulla</button>\n </div>\n </div>\n\n ",
|
|
10145
|
-
styles: ["\n
|
|
10173
|
+
styles: ["\n .selector{\n cursor:hand\n }\n "]
|
|
10146
10174
|
}] }
|
|
10147
10175
|
];
|
|
10148
10176
|
/** @nocollapse */
|
|
@@ -16138,7 +16166,7 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
16138
16166
|
function () {
|
|
16139
16167
|
var _this = this;
|
|
16140
16168
|
/** @type {?} */
|
|
16141
|
-
var dialogRef = this.m_dialog.open(win_log, { 'disableClose': true, width: "
|
|
16169
|
+
var dialogRef = this.m_dialog.open(win_log, { 'disableClose': true, width: "95%", height: "95%" });
|
|
16142
16170
|
dialogRef.componentInstance.subject = this.app_info.descrizione_breve + ", <OP>: " + this.m_obj.codice + " " + this.getTitle();
|
|
16143
16171
|
dialogRef.componentInstance.lettori = this.m_obj.lettori;
|
|
16144
16172
|
dialogRef.componentInstance.link = this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit";
|