@fluxhub/fluxhub-lib 1.0.593 → 1.0.594
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 +5 -78
- 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/fluxhub-lib.module.js +2 -3
- package/esm2015/public_api.js +1 -2
- package/esm5/fluxhub-fluxhub-lib.js +2 -2
- package/esm5/lib/fluxhub-lib.module.js +2 -3
- package/esm5/public_api.js +1 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +2 -62
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +2 -75
- 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
|
@@ -38,7 +38,6 @@ import { NgForage } from 'ngforage';
|
|
|
38
38
|
import { TranslateModule } from '@ngx-translate/core';
|
|
39
39
|
import { DragulaService, DragulaModule } from 'ng2-dragula';
|
|
40
40
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
41
|
-
import { Socket } from 'ngx-socket-io';
|
|
42
41
|
import { Http } from '@angular/http';
|
|
43
42
|
|
|
44
43
|
/**
|
|
@@ -19592,65 +19591,6 @@ FHHelpButton.propDecorators = {
|
|
|
19592
19591
|
key: [{ type: Input }]
|
|
19593
19592
|
};
|
|
19594
19593
|
|
|
19595
|
-
/**
|
|
19596
|
-
* @fileoverview added by tsickle
|
|
19597
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
19598
|
-
*/
|
|
19599
|
-
class PushNotificationService {
|
|
19600
|
-
/**
|
|
19601
|
-
* @param {?} socket
|
|
19602
|
-
*/
|
|
19603
|
-
constructor(socket) {
|
|
19604
|
-
this.socket = socket;
|
|
19605
|
-
this.currentnoty = this.socket.fromEvent('noty');
|
|
19606
|
-
this.notys = this.socket.fromEvent('notys');
|
|
19607
|
-
}
|
|
19608
|
-
/**
|
|
19609
|
-
* @param {?} id
|
|
19610
|
-
* @return {?}
|
|
19611
|
-
*/
|
|
19612
|
-
getnoty(id) {
|
|
19613
|
-
this.socket.emit('getDoc', id);
|
|
19614
|
-
}
|
|
19615
|
-
/**
|
|
19616
|
-
* @return {?}
|
|
19617
|
-
*/
|
|
19618
|
-
newnoty() {
|
|
19619
|
-
this.socket.emit('addDoc', { id: this.docId(), doc: '' });
|
|
19620
|
-
}
|
|
19621
|
-
/**
|
|
19622
|
-
* @param {?} noty
|
|
19623
|
-
* @return {?}
|
|
19624
|
-
*/
|
|
19625
|
-
editnoty(noty) {
|
|
19626
|
-
this.socket.emit('editDoc', noty);
|
|
19627
|
-
}
|
|
19628
|
-
/**
|
|
19629
|
-
* @private
|
|
19630
|
-
* @return {?}
|
|
19631
|
-
*/
|
|
19632
|
-
docId() {
|
|
19633
|
-
/** @type {?} */
|
|
19634
|
-
let text = '';
|
|
19635
|
-
/** @type {?} */
|
|
19636
|
-
const possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
|
19637
|
-
for (let i = 0; i < 5; i++) {
|
|
19638
|
-
text += possible.charAt(Math.floor(Math.random() * possible.length));
|
|
19639
|
-
}
|
|
19640
|
-
return text;
|
|
19641
|
-
}
|
|
19642
|
-
}
|
|
19643
|
-
PushNotificationService.decorators = [
|
|
19644
|
-
{ type: Injectable, args: [{
|
|
19645
|
-
providedIn: 'root'
|
|
19646
|
-
},] }
|
|
19647
|
-
];
|
|
19648
|
-
/** @nocollapse */
|
|
19649
|
-
PushNotificationService.ctorParameters = () => [
|
|
19650
|
-
{ type: Socket }
|
|
19651
|
-
];
|
|
19652
|
-
/** @nocollapse */ PushNotificationService.ngInjectableDef = defineInjectable({ factory: function PushNotificationService_Factory() { return new PushNotificationService(inject(Socket)); }, token: PushNotificationService, providedIn: "root" });
|
|
19653
|
-
|
|
19654
19594
|
/**
|
|
19655
19595
|
* @fileoverview added by tsickle
|
|
19656
19596
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -19662,7 +19602,7 @@ class FluxhubLibModule {
|
|
|
19662
19602
|
static forRoot() {
|
|
19663
19603
|
return {
|
|
19664
19604
|
ngModule: FluxhubLibModule,
|
|
19665
|
-
providers: [
|
|
19605
|
+
providers: [AppService, NgForage, QueryService, AppMakerService, FileService, OdbcService, WkfService, GridService, AuthenticationService, UtilityService, LocalDBService, OfficeAutomatorService]
|
|
19666
19606
|
};
|
|
19667
19607
|
}
|
|
19668
19608
|
/**
|
|
@@ -19961,5 +19901,5 @@ class dt {
|
|
|
19961
19901
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
19962
19902
|
*/
|
|
19963
19903
|
|
|
19964
|
-
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,
|
|
19904
|
+
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 };
|
|
19965
19905
|
//# sourceMappingURL=fluxhub-fluxhub-lib.js.map
|