@fluxhub/fluxhub-lib 9.0.90 → 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 +29 -48
- 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/esm2015/lib/services/office_automator.service.js +5 -8
- package/esm5/lib/controls/fhrichtext.js +2 -37
- package/esm5/lib/fluxhub-lib.module.js +22 -2
- package/esm5/lib/services/office_automator.service.js +5 -8
- package/fesm2015/fluxhub-fluxhub-lib.js +30 -49
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +26 -44
- 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
|
|
@@ -5227,13 +5228,10 @@ var OfficeAutomatorService = /** @class */ (function () {
|
|
|
5227
5228
|
isTimeout = true;
|
|
5228
5229
|
}, 3 * 60 * 1000); // 3 min default timeout
|
|
5229
5230
|
var logOffset = 0;
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
subscriber.next(data);
|
|
5235
|
-
subscriber.complete();
|
|
5236
|
-
}
|
|
5231
|
+
_this.eprog = 100;
|
|
5232
|
+
_this.progress_update(dialogRef_W);
|
|
5233
|
+
subscriber.next(data);
|
|
5234
|
+
subscriber.complete();
|
|
5237
5235
|
}); // Observable
|
|
5238
5236
|
}
|
|
5239
5237
|
}));
|
|
@@ -8576,41 +8574,6 @@ var FHRichText = /** @class */ (function () {
|
|
|
8576
8574
|
this.blur.emit(o);
|
|
8577
8575
|
};
|
|
8578
8576
|
FHRichText.prototype.ngAfterViewInit = function () {
|
|
8579
|
-
var _this = this;
|
|
8580
|
-
setTimeout(function () {
|
|
8581
|
-
_this.config = { height: _this.height };
|
|
8582
|
-
if (_this.enabled) {
|
|
8583
|
-
_this.config.toolbarGroups = [
|
|
8584
|
-
{ name: 'document', groups: ['mode', 'document', 'doctools'] },
|
|
8585
|
-
{ name: 'clipboard', groups: ['clipboard', 'undo'] },
|
|
8586
|
-
{ name: 'editing', groups: ['find', 'selection', 'spellchecker'] },
|
|
8587
|
-
{ name: 'basicstyles', groups: ['basicstyles', 'cleanup'] },
|
|
8588
|
-
{ name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi'] },
|
|
8589
|
-
{ name: 'links' },
|
|
8590
|
-
{ name: 'insert' },
|
|
8591
|
-
{ name: 'styles' },
|
|
8592
|
-
{ name: 'colors' },
|
|
8593
|
-
{ name: 'tools' },
|
|
8594
|
-
{ name: 'others' },
|
|
8595
|
-
{ name: 'about' }
|
|
8596
|
-
];
|
|
8597
|
-
}
|
|
8598
|
-
else {
|
|
8599
|
-
_this.config.allowedContent = true;
|
|
8600
|
-
_this.config.toolbarGroups = [];
|
|
8601
|
-
}
|
|
8602
|
-
/*
|
|
8603
|
-
var element = document.querySelector( '.cke_top' );
|
|
8604
|
-
console.log("Just to do some debugging we check " + element);
|
|
8605
|
-
var myEl = this.ced.toolbarButtons
|
|
8606
|
-
myEl.toggle();
|
|
8607
|
-
element = document.querySelector( '.cke_bottom' );
|
|
8608
|
-
myEl = ced.element( element );
|
|
8609
|
-
myEl.toggle();
|
|
8610
|
-
|
|
8611
|
-
var myEl2 = angular.element( document.querySelector( '.test' ) );
|
|
8612
|
-
myEl2.toggleClass("invisible")*/
|
|
8613
|
-
});
|
|
8614
8577
|
};
|
|
8615
8578
|
FHRichText.prototype.writeValue = function (value) {
|
|
8616
8579
|
this.value = value;
|
|
@@ -8652,7 +8615,7 @@ var FHRichText = /** @class */ (function () {
|
|
|
8652
8615
|
], FHRichText.prototype, "blur", void 0);
|
|
8653
8616
|
FHRichText = __decorate([
|
|
8654
8617
|
Component({
|
|
8655
|
-
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 ",
|
|
8656
8619
|
styles: ["\n\n "]
|
|
8657
8620
|
}),
|
|
8658
8621
|
__metadata("design:paramtypes", [])
|
|
@@ -14558,7 +14521,26 @@ var FluxhubLibModule = /** @class */ (function () {
|
|
|
14558
14521
|
AgmCoreModule.forRoot({
|
|
14559
14522
|
apiKey: 'AIzaSyD3-g3b_QqxUruxBY4PGJKaH2fubIVXvN4'
|
|
14560
14523
|
}),
|
|
14561
|
-
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],
|
|
14562
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,
|
|
14563
14545
|
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
|
|
14564
14546
|
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|