tnx-shared 5.3.250 → 5.3.251
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/tnx-shared.umd.js +2 -2
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/esm2015/components/html-preview/html-preview.component.js +3 -3
- package/fesm2015/tnx-shared.js +2 -2
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/tnx-shared.metadata.json +1 -1
|
@@ -50715,7 +50715,7 @@
|
|
|
50715
50715
|
HtmlPreviewComponent.decorators = [
|
|
50716
50716
|
{ type: i0.Component, args: [{
|
|
50717
50717
|
selector: 'html-preview',
|
|
50718
|
-
template: "<div class=\"preview-box\" id=\"math-preview-box-{{id}}\" [ngStyle]=\"{'height': control.height + 'px'}\">\n <tn-custom-scrollbar [showScrollHorizontal]=\"true\">\n <div #mathContent id=\"mathPreview-{{id}}\"></div>\n </tn-custom-scrollbar>\n</div>",
|
|
50718
|
+
template: "<div class=\"preview-box\" [ngClass]=\"{ 'disabled-box': control.disabled }\" id=\"math-preview-box-{{id}}\" [ngStyle]=\"{'height': control.disabled ? 'auto' : control.height + 'px'}\">\n <tn-custom-scrollbar [showScrollHorizontal]=\"true\">\n <div #mathContent id=\"mathPreview-{{id}}\"></div>\n </tn-custom-scrollbar>\n</div>",
|
|
50719
50719
|
providers: [
|
|
50720
50720
|
ComponentContextService,
|
|
50721
50721
|
{
|
|
@@ -50724,7 +50724,7 @@
|
|
|
50724
50724
|
multi: true
|
|
50725
50725
|
},
|
|
50726
50726
|
],
|
|
50727
|
-
styles: ["::ng-deep html-preview .preview-box{border:1px solid #ced4da;padding:10px;background:#efefef}::ng-deep html-preview .ps{background:#efefef}"]
|
|
50727
|
+
styles: ["::ng-deep html-preview .preview-box{border:1px solid #ced4da;padding:10px;background:#efefef}::ng-deep html-preview .preview-box .ps{background:#efefef}::ng-deep html-preview .disabled-box,::ng-deep html-preview .disabled-box .ps{background:#e9ecef!important}"]
|
|
50728
50728
|
},] }
|
|
50729
50729
|
];
|
|
50730
50730
|
HtmlPreviewComponent.ctorParameters = function () { return [
|