@fluxhub/fluxhub-lib 1.0.88 → 1.0.90
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 +14736 -14405
- 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/FHValueAccessor.html +506 -0
- package/docs/classes/dati_aggiuntivi.html +307 -1114
- package/docs/classes/dt.html +30 -837
- package/docs/classes/wkfapp.html +166 -934
- package/docs/components/ApprovaGridComponent.html +39 -846
- package/docs/components/ComboBoxEditor.html +51 -858
- package/docs/components/CurrencyComponent.html +29 -836
- package/docs/components/DateComponent.html +48 -855
- package/docs/components/DtPick.html +68 -875
- package/docs/components/FHAutoCompleteComponent.html +668 -957
- package/docs/components/FHComboboxComponent.html +94 -901
- package/docs/components/FHConfirmComponent.html +37 -844
- package/docs/components/FHCurrencyFieldComponent.html +66 -873
- package/docs/components/FHDatePickerComponent.html +317 -880
- package/docs/components/FHGridComponent.html +534 -1341
- package/docs/components/FHGridJSONComponent.html +333 -1140
- package/docs/components/FHListComponent.html +79 -886
- package/docs/components/FHListPick.html +42 -849
- package/docs/components/FHLogPanelComponent.html +67 -874
- package/docs/components/FHMdReader.html +30 -837
- package/docs/components/FHNumericFieldComponent.html +63 -870
- package/docs/components/FHPickListComponent.html +75 -882
- package/docs/components/FHRichText.html +48 -855
- package/docs/components/FHTimePickerComponent.html +452 -916
- package/docs/components/FHUploadComponent.html +75 -882
- package/docs/components/FHUploadPanelComponent.html +55 -862
- package/docs/components/FHUserFieldComponent.html +62 -869
- package/docs/components/FHUserPickerComponent.html +56 -863
- package/docs/components/FHWinComboSelect.html +37 -844
- package/docs/components/FSInput.html +30 -837
- package/docs/components/FSResult.html +30 -837
- package/docs/components/NumericEditorComponent.html +37 -844
- package/docs/components/QGParam.html +40 -847
- package/docs/components/QGResult.html +32 -839
- package/docs/components/QParam.html +32 -839
- package/docs/components/QResult.html +30 -837
- package/docs/components/TextAreaEditor.html +47 -854
- package/docs/components/WinAskNumberComponent.html +44 -851
- package/docs/components/WinAskTextBigComponent.html +41 -848
- package/docs/components/WinAskTextComponent.html +44 -851
- package/docs/components/WinOutputComponent.html +43 -850
- package/docs/components/WinWait.html +37 -844
- package/docs/components/win_assegna.html +39 -846
- package/docs/components/win_commenti.html +73 -880
- package/docs/components/win_commento_sel_notif.html +37 -844
- package/docs/components/win_conferma.html +38 -845
- package/docs/components/win_grid_help.html +31 -838
- package/docs/components/win_info_doc.html +38 -845
- package/docs/components/win_log.html +79 -886
- package/docs/components/win_mappa.html +47 -854
- package/docs/components/win_recupera_doc.html +41 -848
- package/docs/components/win_riassegna_select_level.html +41 -848
- package/docs/components/win_riassegna_select_user.html +41 -848
- package/docs/components/win_salva_annulla.html +32 -839
- package/docs/components/win_select_canale.html +35 -842
- package/docs/components/win_select_level.html +41 -848
- package/docs/components/win_time_slider.html +36 -843
- package/docs/components/win_uploads.html +66 -873
- package/docs/coverage.html +117 -925
- package/docs/dependencies.html +24 -831
- package/docs/directives/DecimalMask.html +31 -838
- package/docs/directives/FHCurrencyFormatterDirective.html +30 -837
- package/docs/fonts/ionicons.eot +0 -0
- package/docs/fonts/ionicons.svg +2090 -0
- package/docs/fonts/ionicons.ttf +0 -0
- package/docs/fonts/ionicons.woff +0 -0
- package/docs/fonts/ionicons.woff2 +0 -0
- package/docs/guards/FHGuard.html +404 -0
- package/docs/index.html +24 -831
- package/docs/injectables/AppMakerService.html +33 -840
- package/docs/injectables/AppService.html +76 -883
- package/docs/injectables/AuthenticationService.html +51 -858
- package/docs/injectables/FileService.html +31 -838
- package/docs/injectables/GridService.html +34 -841
- package/docs/injectables/HighlightService.html +26 -833
- package/docs/injectables/LocalDBService.html +42 -849
- package/docs/injectables/OdbcService.html +33 -840
- package/docs/injectables/QueryService.html +35 -842
- package/docs/injectables/UtilityService.html +143 -950
- package/docs/injectables/WkfService.html +33 -840
- package/docs/interfaces/FHGridColumn.html +31 -838
- package/docs/js/lazy-load-graphs.js +44 -0
- package/docs/js/libs/clipboard.min.js +7 -0
- package/docs/js/libs/custom-elements.min.js +38 -0
- package/docs/js/libs/es6-shim.min.js +1 -2
- package/docs/js/libs/lit-html.js +2 -0
- package/docs/js/libs/prism.js +13 -13
- package/docs/js/libs/tablesort.number.min.js +1 -1
- package/docs/js/menu-wc.js +398 -0
- package/docs/js/menu.js +13 -11
- package/docs/js/routes.js +5 -5
- package/docs/js/search/lunr.min.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/js/svg-pan-zoom.controls.js +50 -47
- package/docs/miscellaneous/typealiases.html +25 -832
- package/docs/miscellaneous/variables.html +52 -859
- package/docs/modules/FluxhubLibModule.html +29 -836
- package/docs/modules.html +26 -833
- package/docs/overview.html +89 -887
- package/docs/pipes/FHCurrencyPipe.html +31 -838
- package/docs/pipes/ReplaceLineBreaks.html +27 -834
- package/docs/styles/bootstrap.min.css +1 -2
- package/docs/styles/compodoc.css +171 -93
- package/docs/styles/ionicons.min.css +11 -0
- package/docs/styles/prism.css +17 -18
- package/docs/styles/style.css +1 -1
- package/esm2015/fluxhub-fluxhub-lib.js +29 -28
- package/esm2015/lib/auth_guard.js +143 -143
- package/esm2015/lib/controls/FHValueAccessor.js +104 -0
- package/esm2015/lib/controls/fhautocomplete.js +528 -424
- package/esm2015/lib/controls/fhcombobox.js +405 -405
- package/esm2015/lib/controls/fhconfirm.js +73 -73
- package/esm2015/lib/controls/fhcurrencyfield.js +218 -218
- package/esm2015/lib/controls/fhcurrencyformatter.js +58 -58
- package/esm2015/lib/controls/fhcurrencypipe.js +52 -52
- package/esm2015/lib/controls/fhdatepicker.js +224 -215
- package/esm2015/lib/controls/fhgrid.js +1479 -1479
- package/esm2015/lib/controls/fhgrid_json.js +1272 -1272
- package/esm2015/lib/controls/fhgrid_win_help.js +78 -78
- package/esm2015/lib/controls/fhgridcolumn.js +23 -23
- package/esm2015/lib/controls/fhlist.js +361 -361
- package/esm2015/lib/controls/fhlogpanel.js +112 -112
- package/esm2015/lib/controls/fhmdreader.js +56 -56
- package/esm2015/lib/controls/fhnumeric.js +214 -214
- package/esm2015/lib/controls/fhreplacelinebreak.js +20 -20
- package/esm2015/lib/controls/fhrichtext.js +147 -147
- package/esm2015/lib/controls/fhtimepicker.js +374 -329
- package/esm2015/lib/controls/fhupload.js +301 -301
- package/esm2015/lib/controls/fhuploadpanel.js +262 -262
- package/esm2015/lib/controls/fhuserfield.js +292 -292
- package/esm2015/lib/controls/fhuserpicker.js +317 -317
- package/esm2015/lib/controls/fhwinpicklist.js +376 -376
- package/esm2015/lib/controls/grid_editors/approvabuttons.js +120 -120
- package/esm2015/lib/controls/grid_editors/currency.component.js +29 -29
- package/esm2015/lib/controls/grid_editors/date-component.component.js +158 -158
- package/esm2015/lib/controls/grid_editors/dt.js +25 -25
- package/esm2015/lib/controls/grid_editors/dt_pick.js +185 -185
- package/esm2015/lib/controls/grid_editors/numeric-editor.component.js +148 -148
- package/esm2015/lib/controls/grid_editors/select-editor.component.js +184 -184
- package/esm2015/lib/controls/grid_editors/textarea-editor.component.js +146 -146
- package/esm2015/lib/controls/onlynumber.directive.js +68 -68
- package/esm2015/lib/controls/win_ask_number.js +95 -95
- package/esm2015/lib/controls/win_ask_text.js +100 -100
- package/esm2015/lib/controls/win_ask_textbig.js +97 -97
- package/esm2015/lib/controls/win_combo_select.js +95 -95
- package/esm2015/lib/controls/win_list_pick.js +98 -98
- package/esm2015/lib/controls/win_mappa.js +142 -142
- package/esm2015/lib/controls/win_output.js +91 -91
- package/esm2015/lib/controls/win_time_slider.js +122 -122
- package/esm2015/lib/controls/win_wait.js +79 -79
- package/esm2015/lib/fluxhub-lib.module.js +171 -171
- package/esm2015/lib/models/FSInput.js +24 -24
- package/esm2015/lib/models/FSResult.js +22 -22
- package/esm2015/lib/models/QGParam.js +33 -33
- package/esm2015/lib/models/QGResult.js +21 -21
- package/esm2015/lib/models/QParam.js +26 -26
- package/esm2015/lib/models/QResult.js +22 -22
- package/esm2015/lib/services/app.service.js +134 -134
- package/esm2015/lib/services/app_maker.service.js +93 -93
- package/esm2015/lib/services/dofile.service.js +95 -95
- package/esm2015/lib/services/doquery.service.js +133 -133
- package/esm2015/lib/services/doquery_odbc.service.js +95 -95
- package/esm2015/lib/services/dowkf.service.js +95 -95
- package/esm2015/lib/services/grid.service.js +95 -95
- package/esm2015/lib/services/localstorage.service.js +95 -95
- package/esm2015/lib/services/login.service.js +304 -304
- package/esm2015/lib/services/prismservice.js +47 -47
- package/esm2015/lib/services/utility.service.js +682 -682
- package/esm2015/lib/wkf_engine/win_assegna.js +139 -139
- package/esm2015/lib/wkf_engine/win_commenti.js +343 -343
- package/esm2015/lib/wkf_engine/win_commento_sel_notif.js +121 -121
- package/esm2015/lib/wkf_engine/win_conferma.js +126 -126
- package/esm2015/lib/wkf_engine/win_info_doc.js +128 -128
- package/esm2015/lib/wkf_engine/win_log.js +409 -409
- package/esm2015/lib/wkf_engine/win_recupera.js +134 -134
- package/esm2015/lib/wkf_engine/win_riassegna_select_level.js +148 -148
- package/esm2015/lib/wkf_engine/win_riassegna_select_user.js +131 -131
- package/esm2015/lib/wkf_engine/win_salva_annulla.js +66 -66
- package/esm2015/lib/wkf_engine/win_select_canale.js +93 -93
- package/esm2015/lib/wkf_engine/win_select_level.js +167 -167
- package/esm2015/lib/wkf_engine/win_uploads.js +321 -321
- package/esm2015/lib/wkf_engine/wkfapp.js +844 -838
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +1760 -1760
- package/esm2015/public_api.js +67 -67
- package/esm5/fluxhub-fluxhub-lib.js +29 -28
- package/esm5/lib/auth_guard.js +141 -141
- package/esm5/lib/controls/FHValueAccessor.js +174 -0
- package/esm5/lib/controls/fhautocomplete.js +593 -461
- package/esm5/lib/controls/fhcombobox.js +448 -448
- package/esm5/lib/controls/fhconfirm.js +74 -74
- package/esm5/lib/controls/fhcurrencyfield.js +256 -256
- package/esm5/lib/controls/fhcurrencyformatter.js +67 -67
- package/esm5/lib/controls/fhcurrencypipe.js +67 -67
- package/esm5/lib/controls/fhdatepicker.js +255 -243
- package/esm5/lib/controls/fhgrid.js +1697 -1697
- package/esm5/lib/controls/fhgrid_json.js +1455 -1455
- package/esm5/lib/controls/fhgrid_win_help.js +49 -49
- package/esm5/lib/controls/fhgridcolumn.js +23 -23
- package/esm5/lib/controls/fhlist.js +393 -393
- package/esm5/lib/controls/fhlogpanel.js +105 -105
- package/esm5/lib/controls/fhmdreader.js +54 -54
- package/esm5/lib/controls/fhnumeric.js +242 -242
- package/esm5/lib/controls/fhreplacelinebreak.js +28 -28
- package/esm5/lib/controls/fhrichtext.js +159 -159
- package/esm5/lib/controls/fhtimepicker.js +425 -378
- package/esm5/lib/controls/fhupload.js +308 -308
- package/esm5/lib/controls/fhuploadpanel.js +220 -220
- package/esm5/lib/controls/fhuserfield.js +294 -294
- package/esm5/lib/controls/fhuserpicker.js +245 -245
- package/esm5/lib/controls/fhwinpicklist.js +329 -329
- package/esm5/lib/controls/grid_editors/approvabuttons.js +119 -119
- package/esm5/lib/controls/grid_editors/currency.component.js +40 -40
- package/esm5/lib/controls/grid_editors/date-component.component.js +143 -143
- package/esm5/lib/controls/grid_editors/dt.js +22 -22
- package/esm5/lib/controls/grid_editors/dt_pick.js +203 -203
- package/esm5/lib/controls/grid_editors/numeric-editor.component.js +183 -183
- package/esm5/lib/controls/grid_editors/select-editor.component.js +168 -168
- package/esm5/lib/controls/grid_editors/textarea-editor.component.js +134 -134
- package/esm5/lib/controls/onlynumber.directive.js +72 -72
- package/esm5/lib/controls/win_ask_number.js +95 -95
- package/esm5/lib/controls/win_ask_text.js +100 -100
- package/esm5/lib/controls/win_ask_textbig.js +97 -97
- package/esm5/lib/controls/win_combo_select.js +86 -86
- package/esm5/lib/controls/win_list_pick.js +87 -87
- package/esm5/lib/controls/win_mappa.js +116 -116
- package/esm5/lib/controls/win_output.js +87 -87
- package/esm5/lib/controls/win_time_slider.js +95 -95
- package/esm5/lib/controls/win_wait.js +71 -71
- package/esm5/lib/fluxhub-lib.module.js +181 -181
- package/esm5/lib/models/FSInput.js +26 -26
- package/esm5/lib/models/FSResult.js +24 -24
- package/esm5/lib/models/QGParam.js +35 -35
- package/esm5/lib/models/QGResult.js +25 -25
- package/esm5/lib/models/QParam.js +28 -28
- package/esm5/lib/models/QResult.js +24 -24
- package/esm5/lib/services/app.service.js +152 -152
- package/esm5/lib/services/app_maker.service.js +107 -107
- package/esm5/lib/services/dofile.service.js +109 -109
- package/esm5/lib/services/doquery.service.js +147 -147
- package/esm5/lib/services/doquery_odbc.service.js +109 -109
- package/esm5/lib/services/dowkf.service.js +109 -109
- package/esm5/lib/services/grid.service.js +101 -101
- package/esm5/lib/services/localstorage.service.js +113 -113
- package/esm5/lib/services/login.service.js +340 -340
- package/esm5/lib/services/prismservice.js +49 -49
- package/esm5/lib/services/utility.service.js +839 -839
- package/esm5/lib/wkf_engine/win_assegna.js +120 -120
- package/esm5/lib/wkf_engine/win_commenti.js +331 -331
- package/esm5/lib/wkf_engine/win_commento_sel_notif.js +108 -108
- package/esm5/lib/wkf_engine/win_conferma.js +104 -104
- package/esm5/lib/wkf_engine/win_info_doc.js +64 -64
- package/esm5/lib/wkf_engine/win_log.js +388 -388
- package/esm5/lib/wkf_engine/win_recupera.js +122 -122
- package/esm5/lib/wkf_engine/win_riassegna_select_level.js +140 -140
- package/esm5/lib/wkf_engine/win_riassegna_select_user.js +112 -112
- package/esm5/lib/wkf_engine/win_salva_annulla.js +63 -63
- package/esm5/lib/wkf_engine/win_select_canale.js +77 -77
- package/esm5/lib/wkf_engine/win_select_level.js +161 -161
- package/esm5/lib/wkf_engine/win_uploads.js +286 -286
- package/esm5/lib/wkf_engine/wkfapp.js +915 -906
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +1931 -1931
- package/esm5/public_api.js +67 -67
- package/fesm2015/fluxhub-fluxhub-lib.js +13763 -13523
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +14499 -14178
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.d.ts +24 -23
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/auth_guard.d.ts +22 -22
- package/lib/controls/FHValueAccessor.d.ts +35 -0
- package/lib/controls/fhautocomplete.d.ts +61 -50
- package/lib/controls/fhcombobox.d.ts +44 -44
- package/lib/controls/fhconfirm.d.ts +16 -16
- package/lib/controls/fhcurrencyfield.d.ts +32 -32
- package/lib/controls/fhcurrencyformatter.d.ts +11 -11
- package/lib/controls/fhcurrencypipe.d.ts +8 -8
- package/lib/controls/fhdatepicker.d.ts +33 -32
- package/lib/controls/fhgrid.d.ts +143 -143
- package/lib/controls/fhgrid_json.d.ts +146 -146
- package/lib/controls/fhgrid_win_help.d.ts +12 -12
- package/lib/controls/fhgridcolumn.d.ts +18 -18
- package/lib/controls/fhlist.d.ts +36 -36
- package/lib/controls/fhlogpanel.d.ts +31 -31
- package/lib/controls/fhmdreader.d.ts +10 -10
- package/lib/controls/fhnumeric.d.ts +32 -32
- package/lib/controls/fhreplacelinebreak.d.ts +4 -4
- package/lib/controls/fhrichtext.d.ts +23 -23
- package/lib/controls/fhtimepicker.d.ts +54 -48
- package/lib/controls/fhupload.d.ts +44 -44
- package/lib/controls/fhuploadpanel.d.ts +32 -32
- package/lib/controls/fhuserfield.d.ts +31 -31
- package/lib/controls/fhuserpicker.d.ts +31 -31
- package/lib/controls/fhwinpicklist.d.ts +41 -41
- package/lib/controls/grid_editors/approvabuttons.d.ts +15 -15
- package/lib/controls/grid_editors/currency.component.d.ts +6 -6
- package/lib/controls/grid_editors/date-component.component.d.ts +20 -20
- package/lib/controls/grid_editors/dt.d.ts +7 -7
- package/lib/controls/grid_editors/dt_pick.d.ts +27 -27
- package/lib/controls/grid_editors/numeric-editor.component.d.ts +20 -20
- package/lib/controls/grid_editors/select-editor.component.d.ts +22 -22
- package/lib/controls/grid_editors/textarea-editor.component.d.ts +17 -17
- package/lib/controls/onlynumber.directive.d.ts +6 -6
- package/lib/controls/win_ask_number.d.ts +18 -18
- package/lib/controls/win_ask_text.d.ts +18 -18
- package/lib/controls/win_ask_textbig.d.ts +17 -17
- package/lib/controls/win_combo_select.d.ts +17 -17
- package/lib/controls/win_list_pick.d.ts +19 -19
- package/lib/controls/win_mappa.d.ts +23 -23
- package/lib/controls/win_output.d.ts +17 -17
- package/lib/controls/win_time_slider.d.ts +18 -18
- package/lib/controls/win_wait.d.ts +16 -16
- package/lib/fluxhub-lib.module.d.ts +5 -5
- package/lib/models/FSInput.d.ts +5 -5
- package/lib/models/FSResult.d.ts +5 -5
- package/lib/models/QGParam.d.ts +10 -10
- package/lib/models/QGResult.d.ts +6 -6
- package/lib/models/QParam.d.ts +6 -6
- package/lib/models/QResult.d.ts +5 -5
- package/lib/services/app.service.d.ts +60 -60
- package/lib/services/app_maker.service.d.ts +17 -17
- package/lib/services/dofile.service.d.ts +17 -17
- package/lib/services/doquery.service.d.ts +25 -25
- package/lib/services/doquery_odbc.service.d.ts +17 -17
- package/lib/services/dowkf.service.d.ts +17 -17
- package/lib/services/grid.service.d.ts +16 -16
- package/lib/services/localstorage.service.d.ts +14 -14
- package/lib/services/login.service.d.ts +33 -33
- package/lib/services/prismservice.d.ts +17 -17
- package/lib/services/utility.service.d.ts +44 -44
- package/lib/wkf_engine/win_assegna.d.ts +23 -23
- package/lib/wkf_engine/win_commenti.d.ts +35 -35
- package/lib/wkf_engine/win_commento_sel_notif.d.ts +19 -19
- package/lib/wkf_engine/win_conferma.d.ts +22 -22
- package/lib/wkf_engine/win_info_doc.d.ts +17 -17
- package/lib/wkf_engine/win_log.d.ts +41 -41
- package/lib/wkf_engine/win_recupera.d.ts +18 -18
- package/lib/wkf_engine/win_riassegna_select_level.d.ts +20 -20
- package/lib/wkf_engine/win_riassegna_select_user.d.ts +23 -23
- package/lib/wkf_engine/win_salva_annulla.d.ts +13 -13
- package/lib/wkf_engine/win_select_canale.d.ts +16 -16
- package/lib/wkf_engine/win_select_level.d.ts +19 -19
- package/lib/wkf_engine/win_uploads.d.ts +40 -40
- package/lib/wkf_engine/wkfapp.d.ts +65 -64
- package/lib/wkf_engine/wkfdatiaggiuntivi.d.ts +141 -141
- package/package.json +1 -1
- package/public_api.d.ts +60 -60
- package/docs/fonts/FontAwesome.otf +0 -0
- package/docs/fonts/fontawesome-webfont.eot +0 -0
- package/docs/fonts/fontawesome-webfont.svg +0 -685
- package/docs/fonts/fontawesome-webfont.ttf +0 -0
- package/docs/fonts/fontawesome-webfont.woff +0 -0
- package/docs/fonts/fontawesome-webfont.woff2 +0 -0
- package/docs/injectables/FHGuard.html +0 -1434
- package/docs/styles/font-awesome.min.css +0 -4
- /package/docs/images/{coverage-badge.svg → coverage-badge-documentation.svg} +0 -0
package/lib/auth_guard.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { CanActivate, Router, RouterStateSnapshot, ActivatedRouteSnapshot } from "@angular/router";
|
|
2
|
-
import { Observable } from "rxjs";
|
|
3
|
-
import { Http } from "@angular/http";
|
|
4
|
-
import { SlimLoadingBarService } from "ng2-slim-loading-bar";
|
|
5
|
-
import { ToastrService } from "ngx-toastr";
|
|
6
|
-
import { AuthenticationService } from "./services/login.service";
|
|
7
|
-
import { QueryService } from "./services/doquery.service";
|
|
8
|
-
import { AppService } from "./services/app.service";
|
|
9
|
-
export declare class FHGuard implements CanActivate {
|
|
10
|
-
private http;
|
|
11
|
-
auth: AuthenticationService;
|
|
12
|
-
toast: ToastrService;
|
|
13
|
-
querys: QueryService;
|
|
14
|
-
appService: AppService;
|
|
15
|
-
private slimLoadingBarService;
|
|
16
|
-
private app_s;
|
|
17
|
-
constructor(http: Http, auth: AuthenticationService, router: Router, toast: ToastrService, querys: QueryService, appService: AppService, slimLoadingBarService: SlimLoadingBarService, app_s: AppService);
|
|
18
|
-
url: string;
|
|
19
|
-
routingDestination: string;
|
|
20
|
-
arr_accessi: Array<any>;
|
|
21
|
-
canActivate(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean> | Promise<boolean> | boolean;
|
|
22
|
-
}
|
|
1
|
+
import { CanActivate, Router, RouterStateSnapshot, ActivatedRouteSnapshot } from "@angular/router";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { Http } from "@angular/http";
|
|
4
|
+
import { SlimLoadingBarService } from "ng2-slim-loading-bar";
|
|
5
|
+
import { ToastrService } from "ngx-toastr";
|
|
6
|
+
import { AuthenticationService } from "./services/login.service";
|
|
7
|
+
import { QueryService } from "./services/doquery.service";
|
|
8
|
+
import { AppService } from "./services/app.service";
|
|
9
|
+
export declare class FHGuard implements CanActivate {
|
|
10
|
+
private http;
|
|
11
|
+
auth: AuthenticationService;
|
|
12
|
+
toast: ToastrService;
|
|
13
|
+
querys: QueryService;
|
|
14
|
+
appService: AppService;
|
|
15
|
+
private slimLoadingBarService;
|
|
16
|
+
private app_s;
|
|
17
|
+
constructor(http: Http, auth: AuthenticationService, router: Router, toast: ToastrService, querys: QueryService, appService: AppService, slimLoadingBarService: SlimLoadingBarService, app_s: AppService);
|
|
18
|
+
url: string;
|
|
19
|
+
routingDestination: string;
|
|
20
|
+
arr_accessi: Array<any>;
|
|
21
|
+
canActivate(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean> | Promise<boolean> | boolean;
|
|
22
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
/**
|
|
3
|
+
* Add support of "[(ngModel)]"
|
|
4
|
+
* HOW TO:
|
|
5
|
+
*
|
|
6
|
+
* 1. ADD: providers: [
|
|
7
|
+
* {provide: NG_VALUE_ACCESSOR, useExisting: FHAutoCompleteComponent, multi: true},
|
|
8
|
+
* ]
|
|
9
|
+
* 2. ADD: extends FHValueAccessor<any>
|
|
10
|
+
* 3. ADD: constructor() { super(); }
|
|
11
|
+
* 4. Add: (if not exists) getValue(){...} AND setValue(value){...}
|
|
12
|
+
* 5. ADD: (!!!) this.emitChanged(); (!!!) call this when you have value changed by user
|
|
13
|
+
*
|
|
14
|
+
* 6 (optional) add: @Output() change: EventEmitter<any> = new EventEmitter();
|
|
15
|
+
* 7 (optional) add: this.change.emit(this.getValue());
|
|
16
|
+
*
|
|
17
|
+
* Read more:
|
|
18
|
+
* https://blog.rangle.io/angular-2-ngmodel-and-custom-form-components/
|
|
19
|
+
* https://material.angular.io/guide/creating-a-custom-form-field-control#implementing-the-methods-and-properties-of-matformfieldcontrol
|
|
20
|
+
*/
|
|
21
|
+
export declare abstract class FHValueAccessor<T> implements ControlValueAccessor {
|
|
22
|
+
protected abstract getValue(): T;
|
|
23
|
+
protected abstract setValue(value: T): any;
|
|
24
|
+
protected changed: any[];
|
|
25
|
+
protected touched: any[];
|
|
26
|
+
/**
|
|
27
|
+
* call this when you have value changed by user
|
|
28
|
+
*/
|
|
29
|
+
protected emitChanged(): void;
|
|
30
|
+
value: T;
|
|
31
|
+
writeValue(value: T): void;
|
|
32
|
+
touch(): void;
|
|
33
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
34
|
+
registerOnTouched(fn: () => void): void;
|
|
35
|
+
}
|
|
@@ -1,50 +1,61 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { QueryService } from '../services/doquery.service';
|
|
3
|
-
import { MatAutocomplete } from '@angular/material';
|
|
4
|
-
import { OdbcService } from '../services/doquery_odbc.service';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
private
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { QueryService } from '../services/doquery.service';
|
|
3
|
+
import { MatAutocomplete } from '@angular/material';
|
|
4
|
+
import { OdbcService } from '../services/doquery_odbc.service';
|
|
5
|
+
import { FHValueAccessor } from "./FHValueAccessor";
|
|
6
|
+
export declare class FHAutoCompleteComponent extends FHValueAccessor<any> implements OnInit {
|
|
7
|
+
private _dataService;
|
|
8
|
+
private _dataService_odbc;
|
|
9
|
+
init_fill: boolean;
|
|
10
|
+
sql: string;
|
|
11
|
+
label: string;
|
|
12
|
+
types: string[];
|
|
13
|
+
values: string[];
|
|
14
|
+
hidden: boolean;
|
|
15
|
+
db_type: string;
|
|
16
|
+
enabled: boolean;
|
|
17
|
+
only_from_list: boolean;
|
|
18
|
+
fillend: EventEmitter<any>;
|
|
19
|
+
selchange: EventEmitter<any>;
|
|
20
|
+
change: EventEmitter<any>;
|
|
21
|
+
initend: EventEmitter<any>;
|
|
22
|
+
focusout: EventEmitter<any>;
|
|
23
|
+
descri_val: String;
|
|
24
|
+
sItem: string;
|
|
25
|
+
searchItemsFiltered: Array<any>;
|
|
26
|
+
searchp: ElementRef;
|
|
27
|
+
auto: MatAutocomplete;
|
|
28
|
+
myData: any[];
|
|
29
|
+
is_loaded: boolean;
|
|
30
|
+
selval: any;
|
|
31
|
+
errorMsg: string;
|
|
32
|
+
valDef: string;
|
|
33
|
+
table_hidden: boolean;
|
|
34
|
+
constructor(_dataService: QueryService, _dataService_odbc: OdbcService);
|
|
35
|
+
fi_search(): void;
|
|
36
|
+
fo_search(): void;
|
|
37
|
+
onChange(e: any): void;
|
|
38
|
+
selectedSearchItem(event: any): void;
|
|
39
|
+
ch(): void;
|
|
40
|
+
myListFormatter(data: any): string;
|
|
41
|
+
resetValue(): void;
|
|
42
|
+
reset(): void;
|
|
43
|
+
fillCombo(): void;
|
|
44
|
+
resetD(o: any): void;
|
|
45
|
+
setByDescri(desc_val: string): void;
|
|
46
|
+
setByValue(desc_val: string): void;
|
|
47
|
+
setValue(desc_val: string): void;
|
|
48
|
+
getDescri(): string;
|
|
49
|
+
getData(campo: any): string;
|
|
50
|
+
getObj(): any;
|
|
51
|
+
getValue(): string;
|
|
52
|
+
protected getModelValue(): string;
|
|
53
|
+
set_options(s: String): void;
|
|
54
|
+
ngOnInit(): void;
|
|
55
|
+
/**
|
|
56
|
+
* call this when you have value changed by user
|
|
57
|
+
*/
|
|
58
|
+
protected emitChanged(): void;
|
|
59
|
+
value: string;
|
|
60
|
+
writeValue(value: string): void;
|
|
61
|
+
}
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { OnInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { QueryService } from '../services/doquery.service';
|
|
3
|
-
import { OdbcService } from '../services/doquery_odbc.service';
|
|
4
|
-
export declare class FHComboboxComponent implements OnInit {
|
|
5
|
-
private _dataService;
|
|
6
|
-
private _dataService_odbc;
|
|
7
|
-
init_fill: boolean;
|
|
8
|
-
sql: string;
|
|
9
|
-
types: string[];
|
|
10
|
-
values: string[];
|
|
11
|
-
hidden: boolean;
|
|
12
|
-
label: string;
|
|
13
|
-
width: string;
|
|
14
|
-
enabled: boolean;
|
|
15
|
-
sel_label: string;
|
|
16
|
-
smtr: ElementRef;
|
|
17
|
-
fillend: EventEmitter<any>;
|
|
18
|
-
selchange: EventEmitter<any>;
|
|
19
|
-
initend: EventEmitter<any>;
|
|
20
|
-
myData: any[];
|
|
21
|
-
valDef: string;
|
|
22
|
-
selval: string;
|
|
23
|
-
errorMsg: string;
|
|
24
|
-
db_type: string;
|
|
25
|
-
constructor(_dataService: QueryService, _dataService_odbc: OdbcService);
|
|
26
|
-
resetValue(): void;
|
|
27
|
-
focus(): void;
|
|
28
|
-
reset(): void;
|
|
29
|
-
fillCombo(): void;
|
|
30
|
-
resetD(o: any): void;
|
|
31
|
-
setByDescri(desc_val: string): void;
|
|
32
|
-
setByIndex(ind: number): void;
|
|
33
|
-
getObj(): any;
|
|
34
|
-
descri_val: String;
|
|
35
|
-
setByValue(desc_val: string): void;
|
|
36
|
-
getDescri(): string;
|
|
37
|
-
getValue(): string;
|
|
38
|
-
getData(campo: any): any;
|
|
39
|
-
add_option(o: any): void;
|
|
40
|
-
set_options(s: String): void;
|
|
41
|
-
ngAfterViewInit(): void;
|
|
42
|
-
ngOnInit(): void;
|
|
43
|
-
sc(): void;
|
|
44
|
-
}
|
|
1
|
+
import { OnInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { QueryService } from '../services/doquery.service';
|
|
3
|
+
import { OdbcService } from '../services/doquery_odbc.service';
|
|
4
|
+
export declare class FHComboboxComponent implements OnInit {
|
|
5
|
+
private _dataService;
|
|
6
|
+
private _dataService_odbc;
|
|
7
|
+
init_fill: boolean;
|
|
8
|
+
sql: string;
|
|
9
|
+
types: string[];
|
|
10
|
+
values: string[];
|
|
11
|
+
hidden: boolean;
|
|
12
|
+
label: string;
|
|
13
|
+
width: string;
|
|
14
|
+
enabled: boolean;
|
|
15
|
+
sel_label: string;
|
|
16
|
+
smtr: ElementRef;
|
|
17
|
+
fillend: EventEmitter<any>;
|
|
18
|
+
selchange: EventEmitter<any>;
|
|
19
|
+
initend: EventEmitter<any>;
|
|
20
|
+
myData: any[];
|
|
21
|
+
valDef: string;
|
|
22
|
+
selval: string;
|
|
23
|
+
errorMsg: string;
|
|
24
|
+
db_type: string;
|
|
25
|
+
constructor(_dataService: QueryService, _dataService_odbc: OdbcService);
|
|
26
|
+
resetValue(): void;
|
|
27
|
+
focus(): void;
|
|
28
|
+
reset(): void;
|
|
29
|
+
fillCombo(): void;
|
|
30
|
+
resetD(o: any): void;
|
|
31
|
+
setByDescri(desc_val: string): void;
|
|
32
|
+
setByIndex(ind: number): void;
|
|
33
|
+
getObj(): any;
|
|
34
|
+
descri_val: String;
|
|
35
|
+
setByValue(desc_val: string): void;
|
|
36
|
+
getDescri(): string;
|
|
37
|
+
getValue(): string;
|
|
38
|
+
getData(campo: any): any;
|
|
39
|
+
add_option(o: any): void;
|
|
40
|
+
set_options(s: String): void;
|
|
41
|
+
ngAfterViewInit(): void;
|
|
42
|
+
ngOnInit(): void;
|
|
43
|
+
sc(): void;
|
|
44
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material';
|
|
3
|
-
import { AppService } from '../services/app.service';
|
|
4
|
-
/**
|
|
5
|
-
* A Sample of how simple it is to create a new window, with its own injects.
|
|
6
|
-
*/
|
|
7
|
-
export declare class FHConfirmComponent implements OnInit {
|
|
8
|
-
dialogRef: MatDialogRef<FHConfirmComponent>;
|
|
9
|
-
private app_s;
|
|
10
|
-
title: string;
|
|
11
|
-
msg: string;
|
|
12
|
-
constructor(dialogRef: MatDialogRef<FHConfirmComponent>, app_s: AppService);
|
|
13
|
-
setTitle(texto: any): void;
|
|
14
|
-
setMsg(texto: any): void;
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material';
|
|
3
|
+
import { AppService } from '../services/app.service';
|
|
4
|
+
/**
|
|
5
|
+
* A Sample of how simple it is to create a new window, with its own injects.
|
|
6
|
+
*/
|
|
7
|
+
export declare class FHConfirmComponent implements OnInit {
|
|
8
|
+
dialogRef: MatDialogRef<FHConfirmComponent>;
|
|
9
|
+
private app_s;
|
|
10
|
+
title: string;
|
|
11
|
+
msg: string;
|
|
12
|
+
constructor(dialogRef: MatDialogRef<FHConfirmComponent>, app_s: AppService);
|
|
13
|
+
setTitle(texto: any): void;
|
|
14
|
+
setMsg(texto: any): void;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { OnInit, EventEmitter, ElementRef } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
export declare const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR: any;
|
|
4
|
-
export declare class FHCurrencyFieldComponent implements OnInit, ControlValueAccessor {
|
|
5
|
-
el: ElementRef;
|
|
6
|
-
decimal: number;
|
|
7
|
-
label: string;
|
|
8
|
-
required: boolean;
|
|
9
|
-
enabled: boolean;
|
|
10
|
-
hidden: boolean;
|
|
11
|
-
m_color: String;
|
|
12
|
-
label_width: string;
|
|
13
|
-
change: EventEmitter<any>;
|
|
14
|
-
private innerValue;
|
|
15
|
-
getStyle(): String;
|
|
16
|
-
getStyle_mw(): string;
|
|
17
|
-
constructor();
|
|
18
|
-
set_backcolor(color: String): void;
|
|
19
|
-
chg(): void;
|
|
20
|
-
writeValue(value: any): void;
|
|
21
|
-
onChange: (_: any) => void;
|
|
22
|
-
onTouched: () => void;
|
|
23
|
-
registerOnChange(fn: (_: any) => void): void;
|
|
24
|
-
registerOnTouched(fn: () => void): void;
|
|
25
|
-
formattedAmount: string;
|
|
26
|
-
value: any;
|
|
27
|
-
transformAmount(element: any): void;
|
|
28
|
-
transform(value: number | string, fractionSize?: number): string;
|
|
29
|
-
removeCurrencyPipeFormat(element: any): void;
|
|
30
|
-
setFocus(): void;
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
}
|
|
1
|
+
import { OnInit, EventEmitter, ElementRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
export declare const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR: any;
|
|
4
|
+
export declare class FHCurrencyFieldComponent implements OnInit, ControlValueAccessor {
|
|
5
|
+
el: ElementRef;
|
|
6
|
+
decimal: number;
|
|
7
|
+
label: string;
|
|
8
|
+
required: boolean;
|
|
9
|
+
enabled: boolean;
|
|
10
|
+
hidden: boolean;
|
|
11
|
+
m_color: String;
|
|
12
|
+
label_width: string;
|
|
13
|
+
change: EventEmitter<any>;
|
|
14
|
+
private innerValue;
|
|
15
|
+
getStyle(): String;
|
|
16
|
+
getStyle_mw(): string;
|
|
17
|
+
constructor();
|
|
18
|
+
set_backcolor(color: String): void;
|
|
19
|
+
chg(): void;
|
|
20
|
+
writeValue(value: any): void;
|
|
21
|
+
onChange: (_: any) => void;
|
|
22
|
+
onTouched: () => void;
|
|
23
|
+
registerOnChange(fn: (_: any) => void): void;
|
|
24
|
+
registerOnTouched(fn: () => void): void;
|
|
25
|
+
formattedAmount: string;
|
|
26
|
+
value: any;
|
|
27
|
+
transformAmount(element: any): void;
|
|
28
|
+
transform(value: number | string, fractionSize?: number): string;
|
|
29
|
+
removeCurrencyPipeFormat(element: any): void;
|
|
30
|
+
setFocus(): void;
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { FHCurrencyPipe } from './fhcurrencypipe';
|
|
2
|
-
import { ElementRef, OnInit } from "@angular/core";
|
|
3
|
-
export declare class FHCurrencyFormatterDirective implements OnInit {
|
|
4
|
-
private elementRef;
|
|
5
|
-
private currencyPipe;
|
|
6
|
-
private el;
|
|
7
|
-
constructor(elementRef: ElementRef, currencyPipe: FHCurrencyPipe);
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
onFocus(value: any): void;
|
|
10
|
-
onBlur(value: any): void;
|
|
11
|
-
}
|
|
1
|
+
import { FHCurrencyPipe } from './fhcurrencypipe';
|
|
2
|
+
import { ElementRef, OnInit } from "@angular/core";
|
|
3
|
+
export declare class FHCurrencyFormatterDirective implements OnInit {
|
|
4
|
+
private elementRef;
|
|
5
|
+
private currencyPipe;
|
|
6
|
+
private el;
|
|
7
|
+
constructor(elementRef: ElementRef, currencyPipe: FHCurrencyPipe);
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
onFocus(value: any): void;
|
|
10
|
+
onBlur(value: any): void;
|
|
11
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PipeTransform } from "@angular/core";
|
|
2
|
-
export declare class FHCurrencyPipe implements PipeTransform {
|
|
3
|
-
private DECIMAL_SEPARATOR;
|
|
4
|
-
private THOUSANDS_SEPARATOR;
|
|
5
|
-
constructor();
|
|
6
|
-
transform(value: number | string, fractionSize?: number): string;
|
|
7
|
-
parse(value: string, fractionSize?: number): string;
|
|
8
|
-
}
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
export declare class FHCurrencyPipe implements PipeTransform {
|
|
3
|
+
private DECIMAL_SEPARATOR;
|
|
4
|
+
private THOUSANDS_SEPARATOR;
|
|
5
|
+
constructor();
|
|
6
|
+
transform(value: number | string, fractionSize?: number): string;
|
|
7
|
+
parse(value: string, fractionSize?: number): string;
|
|
8
|
+
}
|
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { DateAdapter } from '@angular/material';
|
|
3
|
-
import { UtilityService } from '../services/utility.service';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
private
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { DateAdapter } from '@angular/material';
|
|
3
|
+
import { UtilityService } from '../services/utility.service';
|
|
4
|
+
import { FHValueAccessor } from "./FHValueAccessor";
|
|
5
|
+
export declare class FHDatePickerComponent extends FHValueAccessor<Date> implements OnInit {
|
|
6
|
+
private dateAdapter;
|
|
7
|
+
private uti_s;
|
|
8
|
+
label: string;
|
|
9
|
+
required: boolean;
|
|
10
|
+
show_buttons: boolean;
|
|
11
|
+
enabled: boolean;
|
|
12
|
+
min_date: Date;
|
|
13
|
+
max_date: Date;
|
|
14
|
+
change: EventEmitter<any>;
|
|
15
|
+
pickerId: ElementRef;
|
|
16
|
+
dt_chg(s: String): void;
|
|
17
|
+
chxx(e: any): void;
|
|
18
|
+
ch(event?: any): void;
|
|
19
|
+
constructor(dateAdapter: DateAdapter<Date>, uti_s: UtilityService);
|
|
20
|
+
v_view: string;
|
|
21
|
+
date_sel: Date;
|
|
22
|
+
v_date_sel: String;
|
|
23
|
+
setFocus(): void;
|
|
24
|
+
dt_ch(): void;
|
|
25
|
+
add_year(): void;
|
|
26
|
+
ini_year(): void;
|
|
27
|
+
fin_year(): void;
|
|
28
|
+
getValue(): Date;
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
setLimits(): void;
|
|
31
|
+
setToday(): void;
|
|
32
|
+
setValue(d: any): void;
|
|
33
|
+
}
|