@fluxhub/fluxhub-lib 1.0.593 → 1.0.596
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 +9 -80
- 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/esm2015/fluxhub-fluxhub-lib.js +2 -2
- package/esm2015/lib/controls/fhuploadpanel.js +10 -8
- package/esm2015/lib/fluxhub-lib.module.js +2 -3
- package/esm2015/public_api.js +1 -2
- package/esm5/fluxhub-fluxhub-lib.js +2 -2
- package/esm5/lib/controls/fhuploadpanel.js +5 -3
- package/esm5/lib/fluxhub-lib.module.js +2 -3
- package/esm5/public_api.js +1 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +11 -69
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +6 -77
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +0 -1
- package/esm2015/lib/services/push_notification.service.js +0 -74
- package/esm2015/lib/services/push_notification.service.noty.js +0 -13
- package/esm5/lib/services/push_notification.service.js +0 -88
- package/esm5/lib/services/push_notification.service.noty.js +0 -17
- package/lib/services/push_notification.service.d.ts +0 -12
- package/lib/services/push_notification.service.noty.d.ts +0 -4
|
@@ -39,7 +39,6 @@ import { NgForage } from 'ngforage';
|
|
|
39
39
|
import { TranslateModule } from '@ngx-translate/core';
|
|
40
40
|
import { DragulaService, DragulaModule } from 'ng2-dragula';
|
|
41
41
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
42
|
-
import { Socket } from 'ngx-socket-io';
|
|
43
42
|
import { Http } from '@angular/http';
|
|
44
43
|
|
|
45
44
|
/**
|
|
@@ -4158,6 +4157,8 @@ var FHUploadPanelComponent = /** @class */ (function () {
|
|
|
4158
4157
|
/** @type {?} */
|
|
4159
4158
|
var iconf = "webinfo";
|
|
4160
4159
|
for (var i = 0; i < _this.arr_g.length; i++) {
|
|
4160
|
+
if (_this.arr_g[i].APP != null)
|
|
4161
|
+
_this.arr_g[i].App = _this.arr_g[i].APP;
|
|
4161
4162
|
if (_this.arr_g[i].descrizione != null)
|
|
4162
4163
|
_this.arr_g[i].descrizione_vis = _this.arr_g[i].descrizione.split('\n').join('<br>');
|
|
4163
4164
|
else
|
|
@@ -4198,8 +4199,8 @@ var FHUploadPanelComponent = /** @class */ (function () {
|
|
|
4198
4199
|
};
|
|
4199
4200
|
FHUploadPanelComponent.decorators = [
|
|
4200
4201
|
{ type: Component, args: [{
|
|
4201
|
-
selector: 'FHUploadPanel', template: "\n <div fxLayout=\"column\">\n <h3>{{label}}</h3>\n <div fxLayout=\"column\">\n <div [hidden]=\"!enabled\">\n <FHUpload [single]=\"b_False\" [lista_allegati]=\"arr_g\" (change)=\"ref_allegato()\" #upc></FHUpload>\n </div>\n <table width=\"98%\" class=\"fh_table\" *ngIf=\"!image_type && !b_mobile\">\n <thead>\n <tr class=\"header\">\n <th style=\"width:40px\"></th>\n <th style=\"width:50%\">Nome</th>\n <th style=\"width:60px;text-align:center\">Dim.</th>\n <th style=\"width:50%\">Descrizione</th>\n <th style=\"width:40px\" class=\"actions\"></th>\n <th style=\"width:30%\" >Utente</th>\n <th style=\"width:240px;text-align:center\">Data</th>\n <th style=\"width:40px\" class=\"actions\"></th>\n <th *ngIf=\"enabled\" style=\"width:40px\" class=\"actions\"></th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let app of arr_g;let odd=odd; let even=even;\" style=\"font-size: 12px;\" [ngClass]=\"{ odd: odd, even: even }\">\n <td style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\">\n <div style=\"text-align:center;vertical-align: middle;width:28px;height:28px;\">\n <img src=\"assets/icons/square-o/{{app.icon}}\" style=\"width:28px;height:28px;\"></div> </td>\n <td>{{app.Filename}}</td>\n <td style=\"text-align:center\">{{app.Filesize}}</td>\n <td>\n <div fxLayout=\"row\">\n <a mat-icon-button matTooltip=\"Modifica Descrizione\" *ngIf=\"app.can_delete\" (click)=\"edit_descri(app)\">\n <mat-icon>edit</mat-icon>\n </a>\n\n <a mat-icon-button [matTooltip]=\"'Modifica Descrizione consentita solo a: '+app.nc\" *ngIf=\"!app.can_delete\" [disabled]=\"true\" >\n <mat-icon>edit</mat-icon>\n </a>\n\n <div [innerHTML]=\"app.descrizione_vis\" style=\"width:100%\">\n </div>\n </div></td>\n\n\n <td style=\"min-width:400px;min-height: 400px\" *ngIf=\"app.type=='IMG'\">\n <fh-image-viewer [u]=\"app\"></fh-image-viewer>\n\n </td>\n <td *ngIf=\"app.type!='IMG'\">\n
|
|
4202
|
-
styles: ["\n\n
|
|
4202
|
+
selector: 'FHUploadPanel', template: "\n <div fxLayout=\"column\">\n <h3>{{label}}</h3>\n <div fxLayout=\"column\">\n <div [hidden]=\"!enabled\">\n <FHUpload [single]=\"b_False\" [lista_allegati]=\"arr_g\" (change)=\"ref_allegato()\" #upc></FHUpload>\n </div>\n <table width=\"98%\" class=\"fh_table\" *ngIf=\"!image_type && !b_mobile\">\n <thead>\n <tr class=\"header\">\n <th style=\"width:40px\"></th>\n <th style=\"width:50%\">Nome</th>\n <th style=\"width:60px;text-align:center\">Dim.</th>\n <th style=\"width:50%\">Descrizione</th>\n <th style=\"width:40px\" class=\"actions\"></th>\n <th style=\"width:30%\" >Utente</th>\n <th style=\"width:240px;text-align:center\">Data</th>\n <th style=\"width:40px\" class=\"actions\"></th>\n <th *ngIf=\"enabled\" style=\"width:40px\" class=\"actions\"></th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let app of arr_g;let odd=odd; let even=even;\" style=\"font-size: 12px;\" [ngClass]=\"{ odd: odd, even: even }\">\n <td style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\">\n <div style=\"text-align:center;vertical-align: middle;width:28px;height:28px;\">\n <img src=\"assets/icons/square-o/{{app.icon}}\" style=\"width:28px;height:28px;\"></div> </td>\n <td>{{app.Filename}}</td>\n <td style=\"text-align:center\">{{app.Filesize}}</td>\n <td>\n <div fxLayout=\"row\">\n <a mat-icon-button matTooltip=\"Modifica Descrizione\" *ngIf=\"app.can_delete\" (click)=\"edit_descri(app)\">\n <mat-icon>edit</mat-icon>\n </a>\n\n <a mat-icon-button [matTooltip]=\"'Modifica Descrizione consentita solo a: '+app.nc\" *ngIf=\"!app.can_delete\" [disabled]=\"true\" >\n <mat-icon>edit</mat-icon>\n </a>\n\n <div [innerHTML]=\"app.descrizione_vis\" style=\"width:100%\">\n </div>\n </div></td>\n\n\n <td style=\"min-width:400px;min-height: 400px\" *ngIf=\"app.type=='IMG'\">\n <fh-image-viewer [u]=\"app\"></fh-image-viewer>\n\n </td>\n <td *ngIf=\"app.type!='IMG'\">\n\n </td>\n <td>{{app.nc}}</td>\n <td style=\"text-align:center\">{{app.dt_ins | date: 'dd/MM/yyyy HH:mm:ss'}}</td>\n <td style=\"text-align:center\">\n <button mat-icon-button matTooltip=\"Download File\" (click)=\"download_all(app)\">\n <mat-icon>cloud_download</mat-icon>\n </button>\n </td>\n\n <td *ngIf=\"enabled\" style=\"text-align:center\">\n <a mat-icon-button matTooltip=\"Elimina File\" *ngIf=\"app.can_delete\" (click)=\"delete(app)\">\n <mat-icon>delete</mat-icon>\n </a>\n\n <a mat-icon-button [matTooltip]=\"'Cancellazione consentita solo a: '+app.nc\" *ngIf=\"!app.can_delete\" [disabled]=\"true\" >\n <mat-icon>delete</mat-icon>\n </a>\n\n </td>\n\n </tr>\n </tbody>\n </table>\n <table width=\"98%\" class=\"fh_table\" *ngIf=\"image_type && !b_mobile\">\n <thead>\n <tr class=\"header\">\n <th style=\"width:40px\"></th>\n <th style=\"width:50%\">Nome</th>\n <th style=\"width:60px;text-align:center\">Dim.</th>\n\n <th style=\"width:20%\">Descrizione</th>\n\n <th style=\"width:40%\" ></th>\n\n\n <th style=\"width:10%\" >Utente</th>\n <th style=\"width:240px;text-align:center\">Data</th>\n <th style=\"width:40px\" class=\"actions\"></th>\n <th *ngIf=\"enabled\" style=\"width:40px\" class=\"actions\"></th>\n </tr>\n </thead>\n <tbody>\n\n <tr *ngFor=\"let app of arr_g;let odd=odd; let even=even;\" style=\"font-size: 12px;\" [ngClass]=\"{ odd: odd, even: even }\">\n <td style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\">\n <div style=\"text-align:center;vertical-align: middle;width:28px;height:28px;\">\n <img src=\"assets/icons/square-o/{{app.icon}}\" style=\"width:28px;height:28px;\"></div> </td>\n\n <td>{{app.Filename}}</td>\n <td style=\"text-align:center\">{{app.Filesize}}</td>\n <td>\n <div fxLayout=\"row\">\n <a mat-icon-button matTooltip=\"Modifica Descrizione\" *ngIf=\"app.can_delete\" (click)=\"edit_descri(app)\">\n <mat-icon>edit</mat-icon>\n </a>\n\n <a mat-icon-button [matTooltip]=\"'Modifica Descrizione consentita solo a: '+app.nc\" *ngIf=\"!app.can_delete\" [disabled]=\"true\" >\n <mat-icon>edit</mat-icon>\n </a>\n\n <div [innerHTML]=\"app.descrizione_vis\" style=\"width:100%\">\n </div>\n </div></td>\n\n\n <td style=\"min-width:400px;min-height: 400px\" *ngIf=\"app.type=='IMG'\">\n <fh-image-viewer [u]=\"app\"></fh-image-viewer>\n\n </td>\n <td *ngIf=\"app.type!='IMG'\">\n\n </td>\n <td>{{app.nc}}</td>\n <td style=\"text-align:center\">{{app.dt_ins | date: 'dd/MM/yyyy HH:mm:ss'}}</td>\n <td style=\"text-align:center\">\n <button mat-icon-button matTooltip=\"Download File\" (click)=\"download_all(app)\">\n <mat-icon>cloud_download</mat-icon>\n </button>\n </td>\n\n <td *ngIf=\"enabled\" style=\"text-align:center\">\n <a mat-icon-button matTooltip=\"Elimina File\" *ngIf=\"app.can_delete\" (click)=\"delete(app)\">\n <mat-icon>delete</mat-icon>\n </a>\n\n <a mat-icon-button [matTooltip]=\"'Cancellazione consentita solo a: '+app.nc\" *ngIf=\"!app.can_delete\" [disabled]=\"true\" >\n <mat-icon>delete</mat-icon>\n </a>\n\n </td>\n\n </tr>\n </tbody>\n </table>\n <table width=\"98%\" class=\"fh_table\" *ngIf=\"b_mobile\">\n <tbody>\n\n <tr *ngFor=\"let app of arr_g;let odd=odd; let even=even;\" style=\"font-size: 12px;\" [ngClass]=\"{ odd: odd, even: even }\">\n <td style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\">\n <div style=\"text-align:center;vertical-align: middle;width:28px;height:28px;\">\n <img src=\"assets/icons/square-o/{{app.icon}}\" style=\"width:28px;height:28px;\"></div> </td>\n <td *ngIf=\"b_mobile\" style=\"text-align:center\">{{app.Filename}}<br><br>\n <button style=\"background-color: #F5F5F5\" (click)=\"download_all(app)\" mat-flat-button>DOWNLOAD</button>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div *ngIf=\"!b_ini\" style=\"color:#ff0000\"><b>ATTENZIONE COMPONENTE NON INIZIALIZZATO</b></div>\n\n ",
|
|
4203
|
+
styles: ["\n\n\n\n "]
|
|
4203
4204
|
}] }
|
|
4204
4205
|
];
|
|
4205
4206
|
/** @nocollapse */
|
|
@@ -20301,78 +20302,6 @@ var FHHelpButton = /** @class */ (function () {
|
|
|
20301
20302
|
return FHHelpButton;
|
|
20302
20303
|
}());
|
|
20303
20304
|
|
|
20304
|
-
/**
|
|
20305
|
-
* @fileoverview added by tsickle
|
|
20306
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
20307
|
-
*/
|
|
20308
|
-
var PushNotificationService = /** @class */ (function () {
|
|
20309
|
-
function PushNotificationService(socket) {
|
|
20310
|
-
this.socket = socket;
|
|
20311
|
-
this.currentnoty = this.socket.fromEvent('noty');
|
|
20312
|
-
this.notys = this.socket.fromEvent('notys');
|
|
20313
|
-
}
|
|
20314
|
-
/**
|
|
20315
|
-
* @param {?} id
|
|
20316
|
-
* @return {?}
|
|
20317
|
-
*/
|
|
20318
|
-
PushNotificationService.prototype.getnoty = /**
|
|
20319
|
-
* @param {?} id
|
|
20320
|
-
* @return {?}
|
|
20321
|
-
*/
|
|
20322
|
-
function (id) {
|
|
20323
|
-
this.socket.emit('getDoc', id);
|
|
20324
|
-
};
|
|
20325
|
-
/**
|
|
20326
|
-
* @return {?}
|
|
20327
|
-
*/
|
|
20328
|
-
PushNotificationService.prototype.newnoty = /**
|
|
20329
|
-
* @return {?}
|
|
20330
|
-
*/
|
|
20331
|
-
function () {
|
|
20332
|
-
this.socket.emit('addDoc', { id: this.docId(), doc: '' });
|
|
20333
|
-
};
|
|
20334
|
-
/**
|
|
20335
|
-
* @param {?} noty
|
|
20336
|
-
* @return {?}
|
|
20337
|
-
*/
|
|
20338
|
-
PushNotificationService.prototype.editnoty = /**
|
|
20339
|
-
* @param {?} noty
|
|
20340
|
-
* @return {?}
|
|
20341
|
-
*/
|
|
20342
|
-
function (noty) {
|
|
20343
|
-
this.socket.emit('editDoc', noty);
|
|
20344
|
-
};
|
|
20345
|
-
/**
|
|
20346
|
-
* @private
|
|
20347
|
-
* @return {?}
|
|
20348
|
-
*/
|
|
20349
|
-
PushNotificationService.prototype.docId = /**
|
|
20350
|
-
* @private
|
|
20351
|
-
* @return {?}
|
|
20352
|
-
*/
|
|
20353
|
-
function () {
|
|
20354
|
-
/** @type {?} */
|
|
20355
|
-
var text = '';
|
|
20356
|
-
/** @type {?} */
|
|
20357
|
-
var possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
|
20358
|
-
for (var i = 0; i < 5; i++) {
|
|
20359
|
-
text += possible.charAt(Math.floor(Math.random() * possible.length));
|
|
20360
|
-
}
|
|
20361
|
-
return text;
|
|
20362
|
-
};
|
|
20363
|
-
PushNotificationService.decorators = [
|
|
20364
|
-
{ type: Injectable, args: [{
|
|
20365
|
-
providedIn: 'root'
|
|
20366
|
-
},] }
|
|
20367
|
-
];
|
|
20368
|
-
/** @nocollapse */
|
|
20369
|
-
PushNotificationService.ctorParameters = function () { return [
|
|
20370
|
-
{ type: Socket }
|
|
20371
|
-
]; };
|
|
20372
|
-
/** @nocollapse */ PushNotificationService.ngInjectableDef = defineInjectable({ factory: function PushNotificationService_Factory() { return new PushNotificationService(inject(Socket)); }, token: PushNotificationService, providedIn: "root" });
|
|
20373
|
-
return PushNotificationService;
|
|
20374
|
-
}());
|
|
20375
|
-
|
|
20376
20305
|
/**
|
|
20377
20306
|
* @fileoverview added by tsickle
|
|
20378
20307
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -20389,7 +20318,7 @@ var FluxhubLibModule = /** @class */ (function () {
|
|
|
20389
20318
|
function () {
|
|
20390
20319
|
return {
|
|
20391
20320
|
ngModule: FluxhubLibModule,
|
|
20392
|
-
providers: [
|
|
20321
|
+
providers: [AppService, NgForage, QueryService, AppMakerService, FileService, OdbcService, WkfService, GridService, AuthenticationService, UtilityService, LocalDBService, OfficeAutomatorService]
|
|
20393
20322
|
};
|
|
20394
20323
|
};
|
|
20395
20324
|
/**
|
|
@@ -20686,5 +20615,5 @@ var dt = /** @class */ (function () {
|
|
|
20686
20615
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
20687
20616
|
*/
|
|
20688
20617
|
|
|
20689
|
-
export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, ComboBoxEditor, CurrencyComponent, DateComponent, DtPick, FHAutoCompleteComponent, FHComboboxComponent, FHConfirmComponent, FHCurrencyFieldComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHFieldPickListComponent, FHGridComponent, FHGridJSONComponent, FHGuard, FHListComponent, FHListPick, FHLogPanelComponent, FHMdReader, FHNumericFieldComponent, FHPickListComponent, FHRichText, FHRoleManager, FHTableManager, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUserFieldComponent, FHUserPickerComponent, FHWinComboSelect, FSInput, FSResult, FileService, FluxhubLibModule, FormBuilderComponent, FormExecuterComponent, GridService, LocalDBService, NumericEditorComponent, OdbcService, OfficeAutomatorService,
|
|
20618
|
+
export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, ComboBoxEditor, CurrencyComponent, DateComponent, DtPick, FHAutoCompleteComponent, FHComboboxComponent, FHConfirmComponent, FHCurrencyFieldComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHFieldPickListComponent, FHGridComponent, FHGridJSONComponent, FHGuard, FHListComponent, FHListPick, FHLogPanelComponent, FHMdReader, FHNumericFieldComponent, FHPickListComponent, FHRichText, FHRoleManager, FHTableManager, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUserFieldComponent, FHUserPickerComponent, FHWinComboSelect, FSInput, FSResult, FileService, FluxhubLibModule, FormBuilderComponent, FormExecuterComponent, GridService, LocalDBService, NumericEditorComponent, OdbcService, OfficeAutomatorService, QGParam, QGResult, QParam, QResult, QueryService, ReplaceLineBreaks, TextAreaEditor, UtilityService, WinAskButtonsComponent, WinAskNumberComponent, WinAskTextBigComponent, WinAskTextComponent, WinOutputComponent, WinWait, WkfService, dati_aggiuntivi, dt, fhimagepreview, win_insert_commento, win_mappa, win_salva_annulla, win_show_image, win_time_slider, win_user_info, wkf_header_bar, wkfapp, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 as ɵa, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR as ɵb, win_riassegna_select_user as ɵba, win_commento_sel_notif as ɵbb, win_manage_values as ɵbc, win_manage_roles as ɵbd, FHComboboxComponentFilter as ɵbe, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC as ɵc, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT as ɵd, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 as ɵe, FHHelpButton as ɵf, SafePipe as ɵg, DecimalMask as ɵh, FHValueAccessor as ɵi, MOMENT_DATE_FORMATS as ɵj, MomentDateAdapter as ɵk, win_grid_help as ɵl, HighlightService as ɵm, FHViewerComponent as ɵn, FHGridToolBarComponent as ɵp, win_assegna as ɵq, win_conferma as ɵr, win_select_canale as ɵs, win_select_level as ɵt, win_uploads as ɵu, win_commenti as ɵv, win_info_doc as ɵw, win_log as ɵx, win_recupera_doc as ɵy, win_riassegna_select_level as ɵz };
|
|
20690
20619
|
//# sourceMappingURL=fluxhub-fluxhub-lib.js.map
|