@fluxhub/fluxhub-lib 1.0.15 → 1.0.17

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.
Files changed (106) hide show
  1. package/bundles/fluxhub-fluxhub-lib.umd.js +117 -20
  2. package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
  3. package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
  4. package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
  5. package/docs/classes/FHUtility.html +18 -12
  6. package/docs/classes/dati_aggiuntivi.html +18 -12
  7. package/docs/classes/dt.html +18 -12
  8. package/docs/classes/wkfapp.html +18 -12
  9. package/docs/components/ApprovaGridComponent.html +18 -12
  10. package/docs/components/ComboBoxEditor.html +18 -12
  11. package/docs/components/CurrencyComponent.html +18 -12
  12. package/docs/components/DateComponent.html +18 -12
  13. package/docs/components/DtPick.html +18 -12
  14. package/docs/components/FHAutoCompleteComponent.html +18 -12
  15. package/docs/components/FHComboboxComponent.html +18 -12
  16. package/docs/components/FHConfirmComponent.html +18 -12
  17. package/docs/components/FHCurrencyFieldComponent.html +18 -12
  18. package/docs/components/FHDatePickerComponent.html +18 -12
  19. package/docs/components/FHGridComponent.html +18 -12
  20. package/docs/components/FHGridJSONComponent.html +31 -13
  21. package/docs/components/FHListComponent.html +18 -12
  22. package/docs/components/FHListPick.html +18 -12
  23. package/docs/components/FHLogPanelComponent.html +18 -12
  24. package/docs/components/FHMdReader.html +18 -12
  25. package/docs/components/FHNumericFieldComponent.html +18 -12
  26. package/docs/components/FHPickListComponent.html +18 -12
  27. package/docs/components/FHRichText.html +18 -12
  28. package/docs/components/FHTimePickerComponent.html +18 -12
  29. package/docs/components/FHUploadComponent.html +18 -12
  30. package/docs/components/FHUploadPanelComponent.html +18 -12
  31. package/docs/components/FHUserFieldComponent.html +18 -12
  32. package/docs/components/FHUserPickerComponent.html +18 -12
  33. package/docs/components/FHWinComboSelect.html +18 -12
  34. package/docs/components/FSInput.html +18 -12
  35. package/docs/components/FSResult.html +18 -12
  36. package/docs/components/NumericEditorComponent.html +18 -12
  37. package/docs/components/QGParam.html +18 -12
  38. package/docs/components/QGResult.html +18 -12
  39. package/docs/components/QParam.html +18 -12
  40. package/docs/components/QResult.html +18 -12
  41. package/docs/components/TextAreaEditor.html +18 -12
  42. package/docs/components/WinAskNumberComponent.html +18 -12
  43. package/docs/components/WinAskTextBigComponent.html +18 -12
  44. package/docs/components/WinAskTextComponent.html +18 -12
  45. package/docs/components/WinOutputComponent.html +18 -12
  46. package/docs/components/WinWait.html +18 -12
  47. package/docs/components/win_assegna.html +18 -12
  48. package/docs/components/win_commenti.html +18 -12
  49. package/docs/components/win_commento_sel_notif.html +18 -12
  50. package/docs/components/win_conferma.html +18 -12
  51. package/docs/components/win_grid_help.html +18 -12
  52. package/docs/components/win_info_doc.html +18 -12
  53. package/docs/components/win_log.html +18 -12
  54. package/docs/components/win_mappa.html +18 -12
  55. package/docs/components/win_recupera_doc.html +18 -12
  56. package/docs/components/win_riassegna_select_level.html +18 -12
  57. package/docs/components/win_riassegna_select_user.html +18 -12
  58. package/docs/components/win_salva_annulla.html +18 -12
  59. package/docs/components/win_select_canale.html +18 -12
  60. package/docs/components/win_select_level.html +18 -12
  61. package/docs/components/win_time_slider.html +18 -12
  62. package/docs/components/win_uploads.html +18 -12
  63. package/docs/coverage.html +34 -12
  64. package/docs/dependencies.html +26 -12
  65. package/docs/directives/DecimalMask.html +18 -12
  66. package/docs/directives/FHCurrencyFormatterDirective.html +18 -12
  67. package/docs/index.html +18 -12
  68. package/docs/injectables/AppMakerService.html +18 -12
  69. package/docs/injectables/AppService.html +18 -12
  70. package/docs/injectables/AuthenticationService.html +18 -12
  71. package/docs/injectables/FHGuard.html +18 -12
  72. package/docs/injectables/FileService.html +18 -12
  73. package/docs/injectables/GridService.html +18 -12
  74. package/docs/injectables/LocalDBService.html +1263 -0
  75. package/docs/injectables/OdbcService.html +18 -12
  76. package/docs/injectables/QueryService.html +18 -12
  77. package/docs/injectables/UtilityService.html +18 -12
  78. package/docs/injectables/WkfService.html +18 -12
  79. package/docs/js/search/search_index.js +2 -2
  80. package/docs/miscellaneous/typealiases.html +18 -12
  81. package/docs/miscellaneous/variables.html +18 -12
  82. package/docs/modules/FluxhubLibModule.html +18 -12
  83. package/docs/modules.html +18 -12
  84. package/docs/overview.html +19 -13
  85. package/docs/pipes/EscapeHtmlPipe.html +18 -12
  86. package/docs/pipes/FHCurrencyPipe.html +18 -12
  87. package/docs/pipes/ReplaceLineBreaks.html +18 -12
  88. package/esm2015/fluxhub-fluxhub-lib.js +2 -2
  89. package/esm2015/lib/controls/fhgrid_json.js +17 -15
  90. package/esm2015/lib/fluxhub-lib.module.js +3 -2
  91. package/esm2015/lib/services/localstorage.service.js +92 -0
  92. package/esm2015/public_api.js +2 -1
  93. package/esm5/fluxhub-fluxhub-lib.js +2 -2
  94. package/esm5/lib/controls/fhgrid_json.js +17 -15
  95. package/esm5/lib/fluxhub-lib.module.js +3 -2
  96. package/esm5/lib/services/localstorage.service.js +107 -0
  97. package/esm5/public_api.js +2 -1
  98. package/fesm2015/fluxhub-fluxhub-lib.js +95 -18
  99. package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
  100. package/fesm5/fluxhub-fluxhub-lib.js +109 -18
  101. package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
  102. package/fluxhub-fluxhub-lib.metadata.json +1 -1
  103. package/lib/controls/fhgrid_json.d.ts +3 -1
  104. package/lib/services/localstorage.service.d.ts +11 -0
  105. package/package.json +10 -21
  106. package/public_api.d.ts +1 -0
@@ -9,7 +9,9 @@ import "ag-grid-enterprise";
9
9
  import { FHComboboxComponent } from './fhcombobox';
10
10
  import { WinAskTextComponent } from './win_ask_text';
11
11
  import { ToastrService } from 'ngx-toastr';
12
+ import { LocalDBService } from '../services/localstorage.service';
12
13
  export declare class FHGridJSONComponent {
14
+ protected localstore: LocalDBService;
13
15
  private uti_s;
14
16
  private _toast;
15
17
  private _dataService;
@@ -92,7 +94,7 @@ export declare class FHGridJSONComponent {
92
94
  selectAllFiltered(): void;
93
95
  deselectAllFiltered(): void;
94
96
  pulisci_filtri(resetr?: boolean): void;
95
- constructor(uti_s: UtilityService, _toast: ToastrService, _dataService: QueryService, m_appService: AppService, slimLoadingBarService: SlimLoadingBarService, m_dialog: MatDialog);
97
+ constructor(localstore: LocalDBService, uti_s: UtilityService, _toast: ToastrService, _dataService: QueryService, m_appService: AppService, slimLoadingBarService: SlimLoadingBarService, m_dialog: MatDialog);
96
98
  private init_conf();
97
99
  private createColumnDefs(em);
98
100
  num_r: Number;
@@ -0,0 +1,11 @@
1
+ import { NgForageConfig, NgForageCache, NgForage } from 'ngforage';
2
+ import { UtilityService } from './utility.service';
3
+ export declare class LocalDBService {
4
+ private readonly ngf;
5
+ private readonly cache;
6
+ private uti;
7
+ constructor(ngfConfig: NgForageConfig, ngf: NgForage, cache: NgForageCache, uti: UtilityService);
8
+ read<T = any>(key: string, crypt?: boolean): Promise<any | null>;
9
+ write(k: string, obj: any, crypt?: boolean): void;
10
+ delete(k: string): void;
11
+ }
package/package.json CHANGED
@@ -1,23 +1,12 @@
1
1
  {
2
2
  "name": "@fluxhub/fluxhub-lib",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "description": "FluxHub components and workflow library",
5
5
  "main": "bundles/fluxhub-fluxhub-lib.umd.js",
6
6
  "peerDependencies": {
7
+ "localforage": "^1.5.0",
8
+ "ngforage": "^3.0.4",
7
9
  "@agm/core": "^1.0.0-beta.3",
8
- "@angular/animations": "^6.0.3",
9
- "@angular/cdk": "^6.1.0",
10
- "@angular/common": "^6.0.3",
11
- "@angular/compiler": "^6.0.3",
12
- "@angular/core": "^6.0.3",
13
- "@angular/flex-layout": "6.0.0-beta.16",
14
- "@angular/forms": "^6.0.3",
15
- "@angular/http": "^6.0.3",
16
- "@angular/material": "^6.1.0",
17
- "@angular/material-moment-adapter": "^6.1.0",
18
- "@angular/platform-browser": "^6.0.3",
19
- "@angular/platform-browser-dynamic": "^6.0.3",
20
- "@angular/router": "^6.0.3",
21
10
  "ag-grid": "17.0.0",
22
11
  "ag-grid-angular": "17.0.0",
23
12
  "ag-grid-enterprise": "17.0.0",
@@ -26,10 +15,13 @@
26
15
  "ng2-slim-loading-bar": "^4.0.0",
27
16
  "ngx-markdown": "^6.0.1",
28
17
  "ngx-toastr": "^8.7.3",
29
- "rxjs": "^6.0.0",
30
- "rxjs-compat": "^6.1.0",
31
18
  "xml-js": "^1.6.2",
32
- "zone.js": "^0.8.26"
19
+ "zone.js": "^0.8.26",
20
+ "mydatepicker": "^2.6.3",
21
+ "ngx-color-picker": "^6.2.0"
22
+ },
23
+ "dependencies": {
24
+ "tslib": "^1.9.0"
33
25
  },
34
26
  "devDependencies": {
35
27
  "@angular/compiler-cli": "^6.0.3",
@@ -64,8 +56,5 @@
64
56
  "fesm2015": "fesm2015/fluxhub-fluxhub-lib.js",
65
57
  "typings": "fluxhub-fluxhub-lib.d.ts",
66
58
  "metadata": "fluxhub-fluxhub-lib.metadata.json",
67
- "sideEffects": false,
68
- "dependencies": {
69
- "tslib": "^1.9.0"
70
- }
59
+ "sideEffects": false
71
60
  }
package/public_api.d.ts CHANGED
@@ -8,6 +8,7 @@ export { WkfService } from './lib/services/dowkf.service';
8
8
  export { GridService } from './lib/services/grid.service';
9
9
  export { AuthenticationService } from './lib/services/login.service';
10
10
  export { UtilityService } from './lib/services/utility.service';
11
+ export { LocalDBService } from './lib/services/localstorage.service';
11
12
  export { FHGuard } from './lib/auth_guard';
12
13
  export { FHGridJSONComponent } from './lib/controls/fhgrid_json';
13
14
  export { FHGridComponent } from './lib/controls/fhgrid';