@vectoriox/iox-builder 3.3.0 → 3.3.2
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.
|
@@ -1418,6 +1418,9 @@ class DragEngineService {
|
|
|
1418
1418
|
this._sourceEl = el;
|
|
1419
1419
|
this._isDragging = true;
|
|
1420
1420
|
this._rootEscapeActiveFor = null;
|
|
1421
|
+
// Suppress native text selection for the duration of the drag — without this,
|
|
1422
|
+
// dragging the pointer across any text (canvas or sidebar) selects/highlights it.
|
|
1423
|
+
document.body.classList.add('iox-dragging');
|
|
1421
1424
|
this._lastPointerX = event.client.x;
|
|
1422
1425
|
this._lastPointerY = event.client.y;
|
|
1423
1426
|
this.isDragging$.next(true);
|
|
@@ -1501,6 +1504,7 @@ class DragEngineService {
|
|
|
1501
1504
|
this._updateIndicator();
|
|
1502
1505
|
}
|
|
1503
1506
|
_onDragEnd(event) {
|
|
1507
|
+
document.body.classList.remove('iox-dragging');
|
|
1504
1508
|
// Restore original element visibility BEFORE Angular re-renders on drop.
|
|
1505
1509
|
if (this._sourceEl) {
|
|
1506
1510
|
this._sourceEl.classList.remove('iox-drag-active-source');
|
|
@@ -7733,8 +7737,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
7733
7737
|
type: Injectable
|
|
7734
7738
|
}] });
|
|
7735
7739
|
|
|
7736
|
-
//
|
|
7737
|
-
//
|
|
7740
|
+
// The Style / Page / Bindings / Interactions panels are NOT part of this library: the builder
|
|
7741
|
+
// projects them in through <ng-content select="[builderPanel]"> and the consuming app declares
|
|
7742
|
+
// them (they need <dynamic-input> from its InputsModule). Stale copies of the Style and Page
|
|
7743
|
+
// panels used to sit under lib/panels/ — undeclared and unexported, so editing them changed
|
|
7744
|
+
// nothing on screen. Deleted; do not reintroduce them here.
|
|
7738
7745
|
const DECLARATIONS = [
|
|
7739
7746
|
BuilderComponent,
|
|
7740
7747
|
RenderDirective,
|