igniteui-dockmanager 1.14.0-beta.0 → 1.14.1
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/dist/cjs/igc-button-component_20.cjs.entry.js +6 -6
- package/dist/collection/components/dockmanager/dockmanager-component.js +6 -6
- package/dist/esm/igc-button-component_20.entry.js +6 -6
- package/dist/esm-es5/igc-button-component_20.entry.js +1 -1
- package/dist/igniteui-dockmanager/igniteui-dockmanager.esm.js +1 -1
- package/dist/igniteui-dockmanager/p-38390634.entry.js +1 -0
- package/dist/igniteui-dockmanager/p-53355ab0.system.entry.js +1 -0
- package/dist/igniteui-dockmanager/p-63ab8da6.system.js +1 -1
- package/loader/cdn.js +2 -2
- package/loader/index.cjs.js +2 -2
- package/package.json +1 -1
- package/CHANGELOG.md +0 -215
- package/dist/igniteui-dockmanager/p-c33ee884.entry.js +0 -1
- package/dist/igniteui-dockmanager/p-f83d72c0.system.entry.js +0 -1
|
@@ -2690,11 +2690,11 @@ let IgcDockManager = class {
|
|
|
2690
2690
|
const targetPaneRect = dropTarget.targetRect;
|
|
2691
2691
|
const centerX = (targetPaneRect.left + targetPaneRect.right) / 2;
|
|
2692
2692
|
const centerY = (targetPaneRect.top + targetPaneRect.bottom) / 2;
|
|
2693
|
+
const isRTL = this.direction === 'rtl';
|
|
2693
2694
|
const targetPane = pane.type === locale.IgcDockManagerPaneType.tabGroupPane && pane.selectedIndex > -1
|
|
2694
2695
|
? pane.panes[pane.selectedIndex]
|
|
2695
2696
|
: pane;
|
|
2696
|
-
|
|
2697
|
-
const acceptsInnerDock = targetPane.type === locale.IgcDockManagerPaneType.contentPane && targetPane.acceptsInnerDock !== undefined
|
|
2697
|
+
const acceptsInnerDock = targetPane.type === locale.IgcDockManagerPaneType.contentPane && targetPane.acceptsInnerDock !== undefined && this.allowInnerDock
|
|
2698
2698
|
? targetPane.acceptsInnerDock
|
|
2699
2699
|
: this.allowInnerDock;
|
|
2700
2700
|
const isOverSplitter = this.splitterRect
|
|
@@ -2738,22 +2738,22 @@ let IgcDockManager = class {
|
|
|
2738
2738
|
&& !isOverSplitter) {
|
|
2739
2739
|
return locale.IgcDockingIndicatorPosition.center;
|
|
2740
2740
|
}
|
|
2741
|
-
else if (
|
|
2741
|
+
else if (!isRTL && this.cursorLocation.x < targetPaneRect.left + this.proximityDockThreshold
|
|
2742
2742
|
&& this.cursorLocation.y - targetPaneRect.top > this.cursorLocation.x - targetPaneRect.left
|
|
2743
2743
|
&& targetPaneRect.bottom - this.cursorLocation.y > this.cursorLocation.x - targetPaneRect.left) {
|
|
2744
2744
|
return allowOuterLeftDock ? locale.IgcDockingIndicatorPosition.outerLeft : locale.IgcDockingIndicatorPosition.left;
|
|
2745
2745
|
}
|
|
2746
|
-
else if (
|
|
2746
|
+
else if (!isRTL && this.cursorLocation.x > targetPaneRect.right - this.proximityDockThreshold
|
|
2747
2747
|
&& this.cursorLocation.y - targetPaneRect.top > targetPaneRect.right - this.cursorLocation.x
|
|
2748
2748
|
&& targetPaneRect.bottom - this.cursorLocation.y > targetPaneRect.right - this.cursorLocation.x) {
|
|
2749
2749
|
return allowOuterRightDock ? locale.IgcDockingIndicatorPosition.outerRight : locale.IgcDockingIndicatorPosition.right;
|
|
2750
2750
|
}
|
|
2751
|
-
else if (
|
|
2751
|
+
else if (isRTL && this.cursorLocation.x > targetPaneRect.right - this.proximityDockThreshold
|
|
2752
2752
|
&& targetPaneRect.bottom - this.cursorLocation.y > this.cursorLocation.x - targetPaneRect.right
|
|
2753
2753
|
&& this.cursorLocation.y - targetPaneRect.top > this.cursorLocation.x - targetPaneRect.right) {
|
|
2754
2754
|
return allowOuterRightDock ? locale.IgcDockingIndicatorPosition.outerRight : locale.IgcDockingIndicatorPosition.right;
|
|
2755
2755
|
}
|
|
2756
|
-
else if (
|
|
2756
|
+
else if (isRTL && this.cursorLocation.x < targetPaneRect.left + this.proximityDockThreshold
|
|
2757
2757
|
&& targetPaneRect.bottom - this.cursorLocation.y > targetPaneRect.left - this.cursorLocation.x
|
|
2758
2758
|
&& this.cursorLocation.y - targetPaneRect.top > targetPaneRect.left - this.cursorLocation.x) {
|
|
2759
2759
|
return allowOuterLeftDock ? locale.IgcDockingIndicatorPosition.outerLeft : locale.IgcDockingIndicatorPosition.left;
|
|
@@ -778,11 +778,11 @@ export class IgcDockManager {
|
|
|
778
778
|
const targetPaneRect = dropTarget.targetRect;
|
|
779
779
|
const centerX = (targetPaneRect.left + targetPaneRect.right) / 2;
|
|
780
780
|
const centerY = (targetPaneRect.top + targetPaneRect.bottom) / 2;
|
|
781
|
+
const isRTL = this.direction === 'rtl';
|
|
781
782
|
const targetPane = pane.type === IgcDockManagerPaneType.tabGroupPane && pane.selectedIndex > -1
|
|
782
783
|
? pane.panes[pane.selectedIndex]
|
|
783
784
|
: pane;
|
|
784
|
-
|
|
785
|
-
const acceptsInnerDock = targetPane.type === IgcDockManagerPaneType.contentPane && targetPane.acceptsInnerDock !== undefined
|
|
785
|
+
const acceptsInnerDock = targetPane.type === IgcDockManagerPaneType.contentPane && targetPane.acceptsInnerDock !== undefined && this.allowInnerDock
|
|
786
786
|
? targetPane.acceptsInnerDock
|
|
787
787
|
: this.allowInnerDock;
|
|
788
788
|
const isOverSplitter = this.splitterRect
|
|
@@ -826,22 +826,22 @@ export class IgcDockManager {
|
|
|
826
826
|
&& !isOverSplitter) {
|
|
827
827
|
return IgcDockingIndicatorPosition.center;
|
|
828
828
|
}
|
|
829
|
-
else if (
|
|
829
|
+
else if (!isRTL && this.cursorLocation.x < targetPaneRect.left + this.proximityDockThreshold
|
|
830
830
|
&& this.cursorLocation.y - targetPaneRect.top > this.cursorLocation.x - targetPaneRect.left
|
|
831
831
|
&& targetPaneRect.bottom - this.cursorLocation.y > this.cursorLocation.x - targetPaneRect.left) {
|
|
832
832
|
return allowOuterLeftDock ? IgcDockingIndicatorPosition.outerLeft : IgcDockingIndicatorPosition.left;
|
|
833
833
|
}
|
|
834
|
-
else if (
|
|
834
|
+
else if (!isRTL && this.cursorLocation.x > targetPaneRect.right - this.proximityDockThreshold
|
|
835
835
|
&& this.cursorLocation.y - targetPaneRect.top > targetPaneRect.right - this.cursorLocation.x
|
|
836
836
|
&& targetPaneRect.bottom - this.cursorLocation.y > targetPaneRect.right - this.cursorLocation.x) {
|
|
837
837
|
return allowOuterRightDock ? IgcDockingIndicatorPosition.outerRight : IgcDockingIndicatorPosition.right;
|
|
838
838
|
}
|
|
839
|
-
else if (
|
|
839
|
+
else if (isRTL && this.cursorLocation.x > targetPaneRect.right - this.proximityDockThreshold
|
|
840
840
|
&& targetPaneRect.bottom - this.cursorLocation.y > this.cursorLocation.x - targetPaneRect.right
|
|
841
841
|
&& this.cursorLocation.y - targetPaneRect.top > this.cursorLocation.x - targetPaneRect.right) {
|
|
842
842
|
return allowOuterRightDock ? IgcDockingIndicatorPosition.outerRight : IgcDockingIndicatorPosition.right;
|
|
843
843
|
}
|
|
844
|
-
else if (
|
|
844
|
+
else if (isRTL && this.cursorLocation.x < targetPaneRect.left + this.proximityDockThreshold
|
|
845
845
|
&& targetPaneRect.bottom - this.cursorLocation.y > targetPaneRect.left - this.cursorLocation.x
|
|
846
846
|
&& this.cursorLocation.y - targetPaneRect.top > targetPaneRect.left - this.cursorLocation.x) {
|
|
847
847
|
return allowOuterLeftDock ? IgcDockingIndicatorPosition.outerLeft : IgcDockingIndicatorPosition.left;
|
|
@@ -2686,11 +2686,11 @@ let IgcDockManager = class {
|
|
|
2686
2686
|
const targetPaneRect = dropTarget.targetRect;
|
|
2687
2687
|
const centerX = (targetPaneRect.left + targetPaneRect.right) / 2;
|
|
2688
2688
|
const centerY = (targetPaneRect.top + targetPaneRect.bottom) / 2;
|
|
2689
|
+
const isRTL = this.direction === 'rtl';
|
|
2689
2690
|
const targetPane = pane.type === IgcDockManagerPaneType.tabGroupPane && pane.selectedIndex > -1
|
|
2690
2691
|
? pane.panes[pane.selectedIndex]
|
|
2691
2692
|
: pane;
|
|
2692
|
-
|
|
2693
|
-
const acceptsInnerDock = targetPane.type === IgcDockManagerPaneType.contentPane && targetPane.acceptsInnerDock !== undefined
|
|
2693
|
+
const acceptsInnerDock = targetPane.type === IgcDockManagerPaneType.contentPane && targetPane.acceptsInnerDock !== undefined && this.allowInnerDock
|
|
2694
2694
|
? targetPane.acceptsInnerDock
|
|
2695
2695
|
: this.allowInnerDock;
|
|
2696
2696
|
const isOverSplitter = this.splitterRect
|
|
@@ -2734,22 +2734,22 @@ let IgcDockManager = class {
|
|
|
2734
2734
|
&& !isOverSplitter) {
|
|
2735
2735
|
return IgcDockingIndicatorPosition.center;
|
|
2736
2736
|
}
|
|
2737
|
-
else if (
|
|
2737
|
+
else if (!isRTL && this.cursorLocation.x < targetPaneRect.left + this.proximityDockThreshold
|
|
2738
2738
|
&& this.cursorLocation.y - targetPaneRect.top > this.cursorLocation.x - targetPaneRect.left
|
|
2739
2739
|
&& targetPaneRect.bottom - this.cursorLocation.y > this.cursorLocation.x - targetPaneRect.left) {
|
|
2740
2740
|
return allowOuterLeftDock ? IgcDockingIndicatorPosition.outerLeft : IgcDockingIndicatorPosition.left;
|
|
2741
2741
|
}
|
|
2742
|
-
else if (
|
|
2742
|
+
else if (!isRTL && this.cursorLocation.x > targetPaneRect.right - this.proximityDockThreshold
|
|
2743
2743
|
&& this.cursorLocation.y - targetPaneRect.top > targetPaneRect.right - this.cursorLocation.x
|
|
2744
2744
|
&& targetPaneRect.bottom - this.cursorLocation.y > targetPaneRect.right - this.cursorLocation.x) {
|
|
2745
2745
|
return allowOuterRightDock ? IgcDockingIndicatorPosition.outerRight : IgcDockingIndicatorPosition.right;
|
|
2746
2746
|
}
|
|
2747
|
-
else if (
|
|
2747
|
+
else if (isRTL && this.cursorLocation.x > targetPaneRect.right - this.proximityDockThreshold
|
|
2748
2748
|
&& targetPaneRect.bottom - this.cursorLocation.y > this.cursorLocation.x - targetPaneRect.right
|
|
2749
2749
|
&& this.cursorLocation.y - targetPaneRect.top > this.cursorLocation.x - targetPaneRect.right) {
|
|
2750
2750
|
return allowOuterRightDock ? IgcDockingIndicatorPosition.outerRight : IgcDockingIndicatorPosition.right;
|
|
2751
2751
|
}
|
|
2752
|
-
else if (
|
|
2752
|
+
else if (isRTL && this.cursorLocation.x < targetPaneRect.left + this.proximityDockThreshold
|
|
2753
2753
|
&& targetPaneRect.bottom - this.cursorLocation.y > targetPaneRect.left - this.cursorLocation.x
|
|
2754
2754
|
&& this.cursorLocation.y - targetPaneRect.top > targetPaneRect.left - this.cursorLocation.x) {
|
|
2755
2755
|
return allowOuterLeftDock ? IgcDockingIndicatorPosition.outerLeft : IgcDockingIndicatorPosition.left;
|