@worktile/theia 2.2.6 → 2.2.7
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/worktile-theia.umd.js +9 -9
- package/bundles/worktile-theia.umd.js.map +1 -1
- package/esm2015/components/column-resize/resizing.store.js +2 -2
- package/esm2015/plugins/inline-code/inline-code.component.js +3 -3
- package/esm2015/plugins/link/link.component.js +2 -2
- package/esm2015/plugins/table/components/td/td.component.js +6 -6
- package/fesm2015/worktile-theia.js +9 -9
- package/fesm2015/worktile-theia.js.map +1 -1
- package/package.json +1 -1
- package/plugins/inline-code/inline-code.component.scss +0 -1
|
@@ -7652,7 +7652,7 @@
|
|
|
7652
7652
|
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
7653
7653
|
// Put this at the start and end of an inline component to work around this Chromium bug:
|
|
7654
7654
|
// https://bugs.chromium.org/p/chromium/issues/detail?id=1249405
|
|
7655
|
-
_this.inlineChromiumBugfix =
|
|
7655
|
+
_this.inlineChromiumBugfix = String.fromCodePoint(160);
|
|
7656
7656
|
return _this;
|
|
7657
7657
|
}
|
|
7658
7658
|
return TheLinkComponent;
|
|
@@ -9944,7 +9944,7 @@
|
|
|
9944
9944
|
ColumnResizingStore.prototype.restoreTopRows = function (deltaY) {
|
|
9945
9945
|
var index = this.resizeRows.length - 1;
|
|
9946
9946
|
while (index >= 0 && deltaY > 0) {
|
|
9947
|
-
var currentHeight =
|
|
9947
|
+
var currentHeight = this.resizeRows[index].rowElement.getBoundingClientRect().height;
|
|
9948
9948
|
if (this.resizeRows[index].baseHeight > currentHeight) {
|
|
9949
9949
|
if (this.resizeRows[index].baseHeight > currentHeight + deltaY) {
|
|
9950
9950
|
this.resizeRows[index].rowElement.style.height = coercion.coerceCssPixelValue(currentHeight + deltaY);
|
|
@@ -10605,16 +10605,16 @@
|
|
|
10605
10605
|
.pipe(takeUntilDestroyed, operators.filter(function (columnSize) { return columnSize.tableCell === _this.elementRef.nativeElement; }))
|
|
10606
10606
|
.subscribe(function (_c) {
|
|
10607
10607
|
var deltaSize = _c.deltaSize, previousSize = _c.previousSize, completeImmediately = _c.completeImmediately;
|
|
10608
|
-
var _d = _this.elementRef.nativeElement.getBoundingClientRect(), top = _d.top, left = _d.left;
|
|
10608
|
+
var _d = _this.elementRef.nativeElement.getBoundingClientRect(), top = _d.top, left = _d.left, height = _d.height, width = _d.width;
|
|
10609
10609
|
var clientY = event.clientY, clientX = event.clientX;
|
|
10610
10610
|
var isApplySize = false;
|
|
10611
10611
|
if (_this.isXAxisHover) {
|
|
10612
|
-
var
|
|
10613
|
-
isApplySize = deltaSize > 0 && left +
|
|
10612
|
+
var cellWidth = _this.hoverdDirection === 'left' ? 0 : width;
|
|
10613
|
+
isApplySize = deltaSize > 0 && left + cellWidth - clientX <= 0;
|
|
10614
10614
|
}
|
|
10615
10615
|
else {
|
|
10616
|
-
var
|
|
10617
|
-
isApplySize = deltaSize > 0 && top +
|
|
10616
|
+
var cellHeight = _this.hoverdDirection === 'bottom' ? 0 : height;
|
|
10617
|
+
isApplySize = deltaSize > 0 && top + cellHeight - clientY <= 0;
|
|
10618
10618
|
}
|
|
10619
10619
|
if (isApplySize || deltaSize < 0) {
|
|
10620
10620
|
_this.elementRef.nativeElement.classList.add(OVERLAY_ACTIVE_CLASS);
|
|
@@ -12078,12 +12078,12 @@
|
|
|
12078
12078
|
return TheInlineCodeComponent;
|
|
12079
12079
|
}(TheBaseElementComponent));
|
|
12080
12080
|
TheInlineCodeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TheInlineCodeComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
12081
|
-
TheInlineCodeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: TheInlineCodeComponent, selector: "span[theInlineCode]", usesInheritance: true, ngImport: i0__namespace, template: "
|
|
12081
|
+
TheInlineCodeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: TheInlineCodeComponent, selector: "span[theInlineCode]", usesInheritance: true, ngImport: i0__namespace, template: "<span contenteditable=\"false\" style=\"font-size: 0;\">{{ inlineChromiumBugfix }}</span>\n <slate-children [children]=\"children\" [context]=\"childrenContext\" [viewContext]=\"viewContext\"></slate-children>\n <span contenteditable=\"false\" style=\"font-size: 0;\">{{ inlineChromiumBugfix }}</span>", isInline: true, components: [{ type: i1__namespace.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] });
|
|
12082
12082
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TheInlineCodeComponent, decorators: [{
|
|
12083
12083
|
type: i0.Component,
|
|
12084
12084
|
args: [{
|
|
12085
12085
|
selector: 'span[theInlineCode]',
|
|
12086
|
-
template: "
|
|
12086
|
+
template: "<span contenteditable=\"false\" style=\"font-size: 0;\">{{ inlineChromiumBugfix }}</span>\n <slate-children [children]=\"children\" [context]=\"childrenContext\" [viewContext]=\"viewContext\"></slate-children>\n <span contenteditable=\"false\" style=\"font-size: 0;\">{{ inlineChromiumBugfix }}</span>"
|
|
12087
12087
|
}]
|
|
12088
12088
|
}] });
|
|
12089
12089
|
|