@fluxhub/fluxhub-lib 9.0.8 → 9.0.10

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 (37) hide show
  1. package/bundles/fluxhub-fluxhub-lib.umd.js +238 -32
  2. package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
  3. package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
  4. package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
  5. package/esm2015/fluxhub-fluxhub-lib.js +20 -19
  6. package/esm2015/lib/controls/fhmdreader.js +12 -3
  7. package/esm2015/lib/fluxhub-lib.module.js +10 -5
  8. package/esm2015/lib/form_builder/form_builder.js +233 -0
  9. package/esm2015/lib/form_builder/form_executer.js +115 -0
  10. package/esm2015/lib/services/prismservice.js +36 -0
  11. package/esm2015/lib/services/utility.service.js +4 -1
  12. package/esm2015/lib/wkf_engine/wkfapp.js +3 -3
  13. package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +3 -3
  14. package/esm2015/public_api.js +3 -1
  15. package/esm5/fluxhub-fluxhub-lib.js +20 -19
  16. package/esm5/lib/controls/fhmdreader.js +12 -3
  17. package/esm5/lib/fluxhub-lib.module.js +10 -5
  18. package/esm5/lib/form_builder/form_builder.js +121 -0
  19. package/esm5/lib/form_builder/form_executer.js +62 -0
  20. package/esm5/lib/services/prismservice.js +37 -0
  21. package/esm5/lib/services/utility.service.js +5 -1
  22. package/esm5/lib/wkf_engine/wkfapp.js +3 -3
  23. package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +3 -3
  24. package/esm5/public_api.js +3 -1
  25. package/fesm2015/fluxhub-fluxhub-lib.js +392 -13
  26. package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
  27. package/fesm5/fluxhub-fluxhub-lib.js +230 -14
  28. package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
  29. package/fluxhub-fluxhub-lib.d.ts +20 -19
  30. package/fluxhub-fluxhub-lib.metadata.json +1 -1
  31. package/lib/controls/fhmdreader.d.ts +3 -1
  32. package/lib/form_builder/form_builder.d.ts +27 -0
  33. package/lib/form_builder/form_executer.d.ts +23 -0
  34. package/lib/services/prismservice.d.ts +17 -0
  35. package/lib/services/utility.service.d.ts +1 -0
  36. package/package.json +1 -1
  37. package/public_api.d.ts +2 -0
@@ -1,8 +1,10 @@
1
1
  import { AfterViewInit } from '@angular/core';
2
+ import { HighlightService } from "../services/prismservice";
2
3
  export declare class FHMdReader implements AfterViewInit {
4
+ private highlightService;
3
5
  highlighted: boolean;
4
6
  path_md: string;
5
- constructor();
7
+ constructor(highlightService: HighlightService);
6
8
  ngAfterViewChecked(): void;
7
9
  ngAfterViewInit(): void;
8
10
  }
@@ -0,0 +1,27 @@
1
+ import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
2
+ import { UtilityService } from "../services/utility.service";
3
+ import { MatDialog } from '@angular/material/dialog';
4
+ import { DragulaService } from "ng2-dragula";
5
+ export declare class FormBuilderComponent implements AfterViewInit {
6
+ private fhutility;
7
+ private _dialog;
8
+ private dragula;
9
+ change: EventEmitter<any>;
10
+ bottoml: ElementRef;
11
+ items: any[];
12
+ add_component(o: any): void;
13
+ edit_obj: any;
14
+ radio_values: string;
15
+ setStyles(o: any): {
16
+ width: string;
17
+ padding: string;
18
+ margin: string;
19
+ border: string;
20
+ 'background-color': string;
21
+ };
22
+ ok_panel(): void;
23
+ constructor(fhutility: UtilityService, _dialog: MatDialog, dragula: DragulaService);
24
+ edit_item(uiid_obj: any): void;
25
+ del_item(uiid_obj: any): void;
26
+ ngAfterViewInit(): void;
27
+ }
@@ -0,0 +1,23 @@
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
3
+ import { ToastrService } from "ngx-toastr";
4
+ import { UtilityService } from "../services/utility.service";
5
+ export declare class FormExecuterComponent implements AfterViewInit {
6
+ private fhutility;
7
+ private _dialog;
8
+ private toastr;
9
+ items: Array<any>;
10
+ enabled: boolean;
11
+ bottoml: ElementRef;
12
+ ck_field_custom(): boolean;
13
+ add_component(o: any): void;
14
+ setStyles(o: any): {
15
+ width: string;
16
+ padding: string;
17
+ margin: string;
18
+ border: string;
19
+ 'background-color': string;
20
+ };
21
+ constructor(fhutility: UtilityService, _dialog: MatDialog, toastr: ToastrService);
22
+ ngAfterViewInit(): void;
23
+ }
@@ -0,0 +1,17 @@
1
+ import 'clipboard';
2
+ import 'prismjs';
3
+ import 'prismjs/plugins/toolbar/prism-toolbar';
4
+ import 'prismjs/plugins/copy-to-clipboard/prism-copy-to-clipboard';
5
+ import 'prismjs/components/prism-css';
6
+ import 'prismjs/components/prism-javascript';
7
+ import 'prismjs/components/prism-java';
8
+ import 'prismjs/components/prism-markup';
9
+ import 'prismjs/components/prism-typescript';
10
+ import 'prismjs/components/prism-sass';
11
+ import 'prismjs/components/prism-scss';
12
+ import 'prismjs/components/prism-sql';
13
+ export declare class HighlightService {
14
+ private platformId;
15
+ constructor(platformId: Object);
16
+ highlightAll(): void;
17
+ }
@@ -4,6 +4,7 @@ export declare class UtilityService {
4
4
  private app_s;
5
5
  private simpleCrypt;
6
6
  constructor(app_s: AppService);
7
+ set_home_title(s: string): void;
7
8
  check_value_combo(obj_value: any, combo_value: any): any;
8
9
  gridDateRenderer(params: {
9
10
  value: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluxhub/fluxhub-lib",
3
- "version": "9.0.8",
3
+ "version": "9.0.10",
4
4
  "description": "FluxHub components and workflow library",
5
5
  "main": "bundles/fluxhub-fluxhub-lib.umd.js",
6
6
  "peerDependencies": {
package/public_api.d.ts CHANGED
@@ -58,6 +58,8 @@ export { QParam } from './lib/models/QParam';
58
58
  export { QResult } from './lib/models/QResult';
59
59
  export { FSInput } from './lib/models/FSInput';
60
60
  export { FSResult } from './lib/models/FSResult';
61
+ export { FormBuilderComponent } from './lib/form_builder/form_builder';
62
+ export { FormExecuterComponent } from './lib/form_builder/form_executer';
61
63
  export { FHRoleManager } from "./lib/controls/app_manager/fhrolemanager";
62
64
  export { FHTableManager } from "./lib/controls/app_manager/fhtablevaluesmanager";
63
65
  export { wkf_header_bar } from './lib/wkf_engine/wkf_header_bar';