@fluxhub/fluxhub-lib 9.0.91 → 9.0.92
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 -2
- package/esm5/lib/controls/fhrichtext.js +2 -37
- package/esm5/lib/fluxhub-lib.module.js +22 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +26 -42
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +22 -37
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -69,6 +69,7 @@ import { MatPaginatorModule } from '@angular/material/paginator';
|
|
|
69
69
|
import { MatSortModule } from '@angular/material/sort';
|
|
70
70
|
import { MatTableModule } from '@angular/material/table';
|
|
71
71
|
import { MatBadgeModule } from '@angular/material/badge';
|
|
72
|
+
import { QuillModule } from 'ngx-quill';
|
|
72
73
|
|
|
73
74
|
/**
|
|
74
75
|
* App service
|
|
@@ -8573,41 +8574,6 @@ var FHRichText = /** @class */ (function () {
|
|
|
8573
8574
|
this.blur.emit(o);
|
|
8574
8575
|
};
|
|
8575
8576
|
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
8577
|
};
|
|
8612
8578
|
FHRichText.prototype.writeValue = function (value) {
|
|
8613
8579
|
this.value = value;
|
|
@@ -8649,7 +8615,7 @@ var FHRichText = /** @class */ (function () {
|
|
|
8649
8615
|
], FHRichText.prototype, "blur", void 0);
|
|
8650
8616
|
FHRichText = __decorate([
|
|
8651
8617
|
Component({
|
|
8652
|
-
selector: 'FHRichText', providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT], template: "\n <b *ngIf=\"label!=''\">{{label}}</b>\n <
|
|
8618
|
+
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
8619
|
styles: ["\n\n "]
|
|
8654
8620
|
}),
|
|
8655
8621
|
__metadata("design:paramtypes", [])
|
|
@@ -14555,7 +14521,26 @@ var FluxhubLibModule = /** @class */ (function () {
|
|
|
14555
14521
|
AgmCoreModule.forRoot({
|
|
14556
14522
|
apiKey: 'AIzaSyD3-g3b_QqxUruxBY4PGJKaH2fubIVXvN4'
|
|
14557
14523
|
}),
|
|
14558
|
-
FlexLayoutModule, MarkdownModule,
|
|
14524
|
+
FlexLayoutModule, MarkdownModule, QuillModule.forRoot({
|
|
14525
|
+
modules: {
|
|
14526
|
+
syntax: false,
|
|
14527
|
+
toolbar: [
|
|
14528
|
+
['bold', 'italic', 'underline', 'strike'],
|
|
14529
|
+
['blockquote', 'code-block'],
|
|
14530
|
+
[{ 'header': 1 }, { 'header': 2 }],
|
|
14531
|
+
[{ 'list': 'ordered' }, { 'list': 'bullet' }],
|
|
14532
|
+
[{ 'script': 'sub' }, { 'script': 'super' }],
|
|
14533
|
+
[{ 'indent': '-1' }, { 'indent': '+1' }],
|
|
14534
|
+
[{ 'direction': 'rtl' }],
|
|
14535
|
+
[{ 'size': ['small', false, 'large', 'huge'] }],
|
|
14536
|
+
[{ 'header': [1, 2, 3, 4, 5, 6, false] }],
|
|
14537
|
+
[{ 'color': [] }, { 'background': [] }],
|
|
14538
|
+
[{ 'font': [] }],
|
|
14539
|
+
[{ 'align': [] }],
|
|
14540
|
+
['clean'] // link and image, video
|
|
14541
|
+
]
|
|
14542
|
+
}
|
|
14543
|
+
}), CKEditorModule],
|
|
14559
14544
|
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
14545
|
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
|
|
14561
14546
|
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|