@fluxhub/fluxhub-lib 10.0.397 → 10.0.399
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 +2 -2
- 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/lib/controls/fhcombobox.js +2 -2
- package/esm2015/lib/form_builder/form_builder.js +6 -5
- package/fesm2015/fluxhub-fluxhub-lib.js +6 -5
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -6858,7 +6858,7 @@
|
|
|
6858
6858
|
this.label = "";
|
|
6859
6859
|
this.enabled = true;
|
|
6860
6860
|
this.required = false;
|
|
6861
|
-
this.load_delay =
|
|
6861
|
+
this.load_delay = 0;
|
|
6862
6862
|
this.show_empty = true;
|
|
6863
6863
|
this.sel_label = "";
|
|
6864
6864
|
this.tooltip = '';
|
|
@@ -12435,7 +12435,7 @@
|
|
|
12435
12435
|
FormBuilderComponent.decorators = [
|
|
12436
12436
|
{ type: i0.Component, args: [{
|
|
12437
12437
|
selector: "FHFormBuilder",
|
|
12438
|
-
template: "\n <div fxLayout=\"row\" style=\"width: 100%;height:100%\">\n <mat-toolbar color=\"primary\" style=\"max-width: 200px;height:100%;\">\n <mat-toolbar-row (click)=\"add_component(1)\">\n <mat-icon>text_fields</mat-icon> <span\n >Text Field</span\n >\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(2)\">\n <mat-icon>filter_1</mat-icon> <span>Number</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(3)\">\n <mat-icon>filter_none</mat-icon> <span\n >Text Area</span\n >\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(4)\">\n <mat-icon>check_box</mat-icon> <span>Check Box</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(5)\">\n <mat-icon>radio_button_checked</mat-icon> <span\n >Radio</span\n >\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(6)\">\n <mat-icon>dehaze</mat-icon> <span>Select</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(7)\">\n <mat-icon>today</mat-icon> <span>Date</span>\n </mat-toolbar-row>\n </mat-toolbar>\n <div\n fxLayout=\"column\"\n fxFlex=\"100\"\n style=\"width:100%;border:1px solid #004040;height:100%;overflow:auto;background-color: #a6aec4\"\n >\n <div fxLayout=\"row\" style=\"width:90%;width:100%;height:5000px;\">\n <ul\n [dragula]=\"'bag-items'\"\n [(dragulaModel)]=\"items\"\n style=\"width:100%;\"\n >\n <li\n fxLayout=\"row\"\n *ngFor=\"let item of items\"\n [ngStyle]=\"setStyles(item.uiid)\"\n fxLayoutAlign=\"start center\"\n >\n <div style=\"width:100%\">\n <div style=\"width: 90%\">\n <mat-form-field\n *ngIf=\"item.type == 'text_field'\"\n style=\"max-width: 350px\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ item.label }}</mat-label>\n <input\n matInput\n [required]=\"item.required\"\n type=\"text\"\n [(ngModel)]=\"item.default_value\"\n />\n </mat-form-field>\n\n <mat-form-field\n *ngIf=\"item.type == 'numeric_field'\"\n style=\"max-width: 220px\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ item.label }}</mat-label>\n <input\n matInput\n [required]=\"item.required\"\n type=\"number\"\n [(ngModel)]=\"item.default_value\"\n />\n </mat-form-field>\n\n <FHRichText\n *ngIf=\"item.type == 'textarea'\"\n [label]=\"item.label\"\n [required]=\"item.required\"\n [(ngModel)]=\"item.default_value\"\n height=\"15'\"\n enabled=\"false\"\n ></FHRichText>\n\n <mat-checkbox\n *ngIf=\"item.type == 'checkbox'\"\n [required]=\"item.required\"\n [(ngModel)]=\"item.default_value\"\n ><b>{{ item.label }}</b></mat-checkbox\n >\n\n <
|
|
12438
|
+
template: "\n <div fxLayout=\"row\" style=\"width: 100%;height:100%\">\n <mat-toolbar color=\"primary\" style=\"max-width: 200px;height:100%;\">\n <mat-toolbar-row (click)=\"add_component(1)\">\n <mat-icon>text_fields</mat-icon> <span\n >Text Field</span\n >\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(2)\">\n <mat-icon>filter_1</mat-icon> <span>Number</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(3)\">\n <mat-icon>filter_none</mat-icon> <span\n >Text Area</span\n >\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(4)\">\n <mat-icon>check_box</mat-icon> <span>Check Box</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(5)\">\n <mat-icon>radio_button_checked</mat-icon> <span\n >Radio</span\n >\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(6)\">\n <mat-icon>dehaze</mat-icon> <span>Select</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(7)\">\n <mat-icon>today</mat-icon> <span>Date</span>\n </mat-toolbar-row>\n </mat-toolbar>\n <div\n fxLayout=\"column\"\n fxFlex=\"100\"\n style=\"width:100%;border:1px solid #004040;height:100%;overflow:auto;background-color: #a6aec4\"\n >\n <div fxLayout=\"row\" style=\"width:90%;width:100%;height:5000px;\">\n <ul\n [dragula]=\"'bag-items'\"\n [(dragulaModel)]=\"items\"\n style=\"width:100%;\"\n >\n <li\n fxLayout=\"row\"\n fxLayoutGap=\"10px\"\n *ngFor=\"let item of items\"\n [ngStyle]=\"setStyles(item.uiid)\"\n fxLayoutAlign=\"start center\"\n >\n <div style=\"width:100%\">\n <div style=\"width: 90%\">\n <mat-form-field\n *ngIf=\"item.type == 'text_field'\"\n style=\"max-width: 350px\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ item.label }}</mat-label>\n <input\n matInput\n [required]=\"item.required\"\n type=\"text\"\n [(ngModel)]=\"item.default_value\"\n />\n </mat-form-field>\n\n <mat-form-field\n *ngIf=\"item.type == 'numeric_field'\"\n style=\"max-width: 220px\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ item.label }}</mat-label>\n <input\n matInput\n [required]=\"item.required\"\n type=\"number\"\n [(ngModel)]=\"item.default_value\"\n />\n </mat-form-field>\n\n <FHRichText\n *ngIf=\"item.type == 'textarea'\"\n [label]=\"item.label\"\n [required]=\"item.required\"\n [(ngModel)]=\"item.default_value\"\n height=\"15'\"\n enabled=\"false\"\n ></FHRichText>\n\n <mat-checkbox\n *ngIf=\"item.type == 'checkbox'\"\n [required]=\"item.required\"\n [(ngModel)]=\"item.default_value\"\n ><b>{{ item.label }}</b></mat-checkbox\n >\n\n <div fxLayout=\"row\" fxLayoutGap=\"5px\"\n class=\"custom-section\"\n *ngIf=\"item.type == 'radiobutton'\"\n >\n <label class=\"custom-margin\">{{ item.label }}:</label> \n <mat-radio-group\n [(ngModel)]=\"item.default_value\"\n [required]=\"item.required\"\n >\n <mat-radio-button\n *ngFor=\"let opt of item.opts\"\n class=\"custom-margin\"\n value=\"{{ opt }}\"\n ><b>{{ opt }}</b></mat-radio-button\n >\n </mat-radio-group>\n </div>\n\n <mat-form-field\n *ngIf=\"item.type == 'select'\"\n style=\"max-width: 400px\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ item.label }}</mat-label>\n <mat-select\n [required]=\"item.required\"\n [(ngModel)]=\"item.default_value\"\n >\n <mat-option\n *ngFor=\"let opt of item.opts\"\n value=\"{{ opt }}\"\n >{{ opt }}</mat-option\n >\n </mat-select>\n </mat-form-field>\n <div style=\"width: 220px\" *ngIf=\"item.type == 'date_field'\">\n <FHDatePicker\n [required]=\"item.required\"\n [(ngModel)]=\"item.default_value\"\n [label]=\"item.label\"\n ></FHDatePicker\n > \n </div>\n </div>\n </div>\n <div fxLayout=\"column\" style=\"width:70px\" fxLayoutGap=\"10px\">\n <button\n mat-flat-button\n (click)=\"edit_item(item.uiid)\"\n color=\"primary\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n <button\n mat-flat-button\n (click)=\"del_item(item.uiid)\"\n color=\"warn\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </li>\n </ul>\n </div>\n <mat-form-field [hidden]=\"true\">\n <input matInput #bottoml />\n </mat-form-field>\n </div>\n\n <div\n style=\"width:400px;height:100%;background-color: #3F51B5\"\n fxLayoutAlign=\"start center\"\n fxLayout=\"column\"\n *ngIf=\"edit_obj != null\"\n >\n <br /><br />\n <mat-card style=\"width: 96%\">\n <mat-card-title>Properties</mat-card-title>\n <mat-card-content>\n <div fxLayout=\"column\" fxLayoutGap=\"10px\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>Label</mat-label>\n <input matInput type=\"text\" [(ngModel)]=\"edit_obj.label\" />\n </mat-form-field>\n <mat-checkbox [(ngModel)]=\"edit_obj.required\"\n >Required</mat-checkbox\n >\n\n <mat-form-field\n *ngIf=\"edit_obj.type == 'numeric_field_tobe'\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>Decimal Places</mat-label>\n <input matInput type=\"text\" [(ngModel)]=\"edit_obj.decimali\" />\n </mat-form-field>\n <mat-form-field\n *ngIf=\"edit_obj.type == 'text_field'\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>Default Value</mat-label>\n <input\n matInput\n type=\"text\"\n [(ngModel)]=\"edit_obj.default_value\"\n />\n </mat-form-field>\n\n <mat-checkbox\n *ngIf=\"edit_obj.type == 'checkbox'\"\n [(ngModel)]=\"edit_obj.default_value\"\n >Default Value</mat-checkbox\n >\n\n <mat-form-field\n *ngIf=\"\n edit_obj.type == 'radiobutton' || edit_obj.type == 'select'\n \"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>Values</mat-label>\n <input\n matInput\n type=\"text\"\n [(ngModel)]=\"radio_values\"\n (ngModelChange)=\"edit_obj.opts = $event.split(',')\"\n />\n </mat-form-field>\n <mat-form-field\n *ngIf=\"\n edit_obj.type == 'radiobutton' || edit_obj.type == 'select'\n \"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>Default Value</mat-label>\n <input\n matInput\n type=\"text\"\n [(ngModel)]=\"edit_obj.default_value\"\n />\n </mat-form-field>\n\n <button mat-flat-button (click)=\"ok_panel()\" color=\"primary\">\n OK\n </button>\n </div></mat-card-content\n >\n </mat-card>\n </div>\n </div>\n ",
|
|
12439
12439
|
styles: [""]
|
|
12440
12440
|
},] }
|
|
12441
12441
|
];
|