@fluxhub/fluxhub-lib 1.0.312 → 1.0.314
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 +3 -1
- 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 +6 -2
- package/docs/coverage.html +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/controls/fhwinpicklist.js +4 -2
- package/esm2015/lib/wkf_engine/wkfapp.js +8 -1
- package/esm5/lib/controls/fhwinpicklist.js +2 -2
- package/esm5/lib/wkf_engine/wkfapp.js +8 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +6 -2
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +4 -2
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- 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, Component, Directive, Pipe, Inject, PLATFORM_ID, Input, Output, EventEmitter,
|
|
40
|
+
import { Injectable, Component, Directive, 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';
|
|
@@ -5864,6 +5864,7 @@ wkfapp = /** @class */ (function () {
|
|
|
5864
5864
|
if (this.app_s.getState().wkf_obj != null)
|
|
5865
5865
|
if (this.app_s.getState().wkf_obj.codice_app == this.m_cod_documento) {
|
|
5866
5866
|
this.restore_state_wkf();
|
|
5867
|
+
this.init_grid();
|
|
5867
5868
|
return;
|
|
5868
5869
|
}
|
|
5869
5870
|
this.user_idp = this.app_s.user;
|
|
@@ -5945,6 +5946,7 @@ wkfapp = /** @class */ (function () {
|
|
|
5945
5946
|
function (data) {
|
|
5946
5947
|
if (data != null)
|
|
5947
5948
|
if (data.result_msg == "OK") {
|
|
5949
|
+
_this.init_grid();
|
|
5948
5950
|
_this.ok_conf_s(data.result_data);
|
|
5949
5951
|
}
|
|
5950
5952
|
}));
|
|
@@ -10169,7 +10171,7 @@ var FHPickListComponent = /** @class */ (function () {
|
|
|
10169
10171
|
{ type: Component, args: [{
|
|
10170
10172
|
selector: 'FHPickList',
|
|
10171
10173
|
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 ",
|
|
10172
|
-
styles: ["\n
|
|
10174
|
+
styles: ["\n .selector{\n cursor:hand\n }\n "]
|
|
10173
10175
|
}] }
|
|
10174
10176
|
];
|
|
10175
10177
|
/** @nocollapse */
|