@fluxhub/fluxhub-lib 9.0.91 → 9.0.93
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 +25 -41
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhrichtext.js +6 -42
- package/esm2015/lib/fluxhub-lib.module.js +22 -3
- package/esm5/lib/controls/fhrichtext.js +2 -37
- package/esm5/lib/fluxhub-lib.module.js +22 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +26 -43
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +22 -38
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -35,7 +35,6 @@ import NavigatedViewer from 'bpmn-js/lib/NavigatedViewer';
|
|
|
35
35
|
import { MatTabGroup, MatTabsModule } from '@angular/material/tabs';
|
|
36
36
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
37
37
|
import { MarkdownModule } from 'ngx-markdown';
|
|
38
|
-
import { CKEditorModule } from 'ng2-ckeditor';
|
|
39
38
|
import { AgGridModule } from 'ag-grid-angular';
|
|
40
39
|
import { AgmCoreModule } from '@agm/core';
|
|
41
40
|
import { CdkTableModule } from '@angular/cdk/table';
|
|
@@ -69,6 +68,7 @@ import { MatPaginatorModule } from '@angular/material/paginator';
|
|
|
69
68
|
import { MatSortModule } from '@angular/material/sort';
|
|
70
69
|
import { MatTableModule } from '@angular/material/table';
|
|
71
70
|
import { MatBadgeModule } from '@angular/material/badge';
|
|
71
|
+
import { QuillModule } from 'ngx-quill';
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
74
|
* App service
|
|
@@ -8573,41 +8573,6 @@ var FHRichText = /** @class */ (function () {
|
|
|
8573
8573
|
this.blur.emit(o);
|
|
8574
8574
|
};
|
|
8575
8575
|
FHRichText.prototype.ngAfterViewInit = function () {
|
|
8576
|
-
var _this = this;
|
|
8577
|
-
setTimeout(function () {
|
|
8578
|
-
_this.config = { height: _this.height };
|
|
8579
|
-
if (_this.enabled) {
|
|
8580
|
-
_this.config.toolbarGroups = [
|
|
8581
|
-
{ name: 'document', groups: ['mode', 'document', 'doctools'] },
|
|
8582
|
-
{ name: 'clipboard', groups: ['clipboard', 'undo'] },
|
|
8583
|
-
{ name: 'editing', groups: ['find', 'selection', 'spellchecker'] },
|
|
8584
|
-
{ name: 'basicstyles', groups: ['basicstyles', 'cleanup'] },
|
|
8585
|
-
{ name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi'] },
|
|
8586
|
-
{ name: 'links' },
|
|
8587
|
-
{ name: 'insert' },
|
|
8588
|
-
{ name: 'styles' },
|
|
8589
|
-
{ name: 'colors' },
|
|
8590
|
-
{ name: 'tools' },
|
|
8591
|
-
{ name: 'others' },
|
|
8592
|
-
{ name: 'about' }
|
|
8593
|
-
];
|
|
8594
|
-
}
|
|
8595
|
-
else {
|
|
8596
|
-
_this.config.allowedContent = true;
|
|
8597
|
-
_this.config.toolbarGroups = [];
|
|
8598
|
-
}
|
|
8599
|
-
/*
|
|
8600
|
-
var element = document.querySelector( '.cke_top' );
|
|
8601
|
-
console.log("Just to do some debugging we check " + element);
|
|
8602
|
-
var myEl = this.ced.toolbarButtons
|
|
8603
|
-
myEl.toggle();
|
|
8604
|
-
element = document.querySelector( '.cke_bottom' );
|
|
8605
|
-
myEl = ced.element( element );
|
|
8606
|
-
myEl.toggle();
|
|
8607
|
-
|
|
8608
|
-
var myEl2 = angular.element( document.querySelector( '.test' ) );
|
|
8609
|
-
myEl2.toggleClass("invisible")*/
|
|
8610
|
-
});
|
|
8611
8576
|
};
|
|
8612
8577
|
FHRichText.prototype.writeValue = function (value) {
|
|
8613
8578
|
this.value = value;
|
|
@@ -8649,7 +8614,7 @@ var FHRichText = /** @class */ (function () {
|
|
|
8649
8614
|
], FHRichText.prototype, "blur", void 0);
|
|
8650
8615
|
FHRichText = __decorate([
|
|
8651
8616
|
Component({
|
|
8652
|
-
selector: 'FHRichText', providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT], template: "\n <b *ngIf=\"label!=''\">{{label}}</b>\n <
|
|
8617
|
+
selector: 'FHRichText', providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT], template: "\n <b *ngIf=\"label!=''\">{{label}}</b>\n\n <quill-editor [hidden]=\"!enabled\"\n (change)=\"writeValue($event)\"\n (focus)=\"onFocus($event)\"\n (blur)=\"onBlur($event)\" [(ngModel)]=\"value\"\n\n ></quill-editor>\n <quill-view [content]=\"value\" [hidden]=\"enabled\" format=\"text\" theme=\"snow\" ></quill-view>\n ",
|
|
8653
8618
|
styles: ["\n\n "]
|
|
8654
8619
|
}),
|
|
8655
8620
|
__metadata("design:paramtypes", [])
|
|
@@ -14555,7 +14520,26 @@ var FluxhubLibModule = /** @class */ (function () {
|
|
|
14555
14520
|
AgmCoreModule.forRoot({
|
|
14556
14521
|
apiKey: 'AIzaSyD3-g3b_QqxUruxBY4PGJKaH2fubIVXvN4'
|
|
14557
14522
|
}),
|
|
14558
|
-
FlexLayoutModule, MarkdownModule,
|
|
14523
|
+
FlexLayoutModule, MarkdownModule, QuillModule.forRoot({
|
|
14524
|
+
modules: {
|
|
14525
|
+
syntax: false,
|
|
14526
|
+
toolbar: [
|
|
14527
|
+
['bold', 'italic', 'underline', 'strike'],
|
|
14528
|
+
['blockquote', 'code-block'],
|
|
14529
|
+
[{ 'header': 1 }, { 'header': 2 }],
|
|
14530
|
+
[{ 'list': 'ordered' }, { 'list': 'bullet' }],
|
|
14531
|
+
[{ 'script': 'sub' }, { 'script': 'super' }],
|
|
14532
|
+
[{ 'indent': '-1' }, { 'indent': '+1' }],
|
|
14533
|
+
[{ 'direction': 'rtl' }],
|
|
14534
|
+
[{ 'size': ['small', false, 'large', 'huge'] }],
|
|
14535
|
+
[{ 'header': [1, 2, 3, 4, 5, 6, false] }],
|
|
14536
|
+
[{ 'color': [] }, { 'background': [] }],
|
|
14537
|
+
[{ 'font': [] }],
|
|
14538
|
+
[{ 'align': [] }],
|
|
14539
|
+
['clean'] // link and image, video
|
|
14540
|
+
]
|
|
14541
|
+
}
|
|
14542
|
+
})],
|
|
14559
14543
|
exports: [FHTextArea, CheckboxEditorComponent, FHCheckBox, FHTextInput, FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, fhimagepreview, win_show_image, WinAskButtonsComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent,
|
|
14560
14544
|
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
|
|
14561
14545
|
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|