devexpress-diagram 2.0.10 → 2.0.11
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/dx-diagram.css +3 -3
- package/dist/dx-diagram.js +64 -24
- package/dist/dx-diagram.min.css +3 -3
- package/dist/dx-diagram.min.js +4 -4
- package/package.json +1 -1
package/dist/dx-diagram.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* DevExpress Diagram (dx-diagram)
|
|
3
|
-
* Version: 2.0.
|
|
4
|
-
* Build date: Thu
|
|
3
|
+
* Version: 2.0.11
|
|
4
|
+
* Build date: Thu Jan 14 2021
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
* Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
|
|
8
8
|
*/
|
|
9
9
|
.dxdi-control {
|
package/dist/dx-diagram.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* DevExpress Diagram (dx-diagram)
|
|
3
|
-
* Version: 2.0.
|
|
4
|
-
* Build date: Thu
|
|
3
|
+
* Version: 2.0.11
|
|
4
|
+
* Build date: Thu Jan 14 2021
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
* Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
|
|
8
8
|
*/
|
|
9
9
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -11727,7 +11727,7 @@ var CommandManager = /** @class */ (function () {
|
|
|
11727
11727
|
CommandManager.prototype.processPaste = function (clipboardData) {
|
|
11728
11728
|
var command = this.getCommand(DiagramCommand.Paste);
|
|
11729
11729
|
if (command && command.isEnabled())
|
|
11730
|
-
command.
|
|
11730
|
+
command.execute(clipboardData);
|
|
11731
11731
|
return true;
|
|
11732
11732
|
};
|
|
11733
11733
|
// ISelectionChangesListener
|
|
@@ -16533,23 +16533,17 @@ var PasteSelectionCommandBase = /** @class */ (function (_super) {
|
|
|
16533
16533
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
16534
16534
|
}
|
|
16535
16535
|
PasteSelectionCommandBase.prototype.isEnabled = function () {
|
|
16536
|
-
|
|
16537
|
-
if (result) {
|
|
16538
|
-
var items = this.parseClipboardData(ClipboardCommand_1.ClipboardCommand.clipboardData);
|
|
16539
|
-
result = result && (items.length > 1 || this.permissionsProvider.canAddItems(items));
|
|
16540
|
-
}
|
|
16541
|
-
return result;
|
|
16536
|
+
return _super.prototype.isEnabled.call(this) && (this.isPasteSupportedByBrowser() || ClipboardCommand_1.ClipboardCommand.clipboardData !== undefined);
|
|
16542
16537
|
};
|
|
16543
16538
|
PasteSelectionCommandBase.prototype.isVisible = function () {
|
|
16544
16539
|
return this.isPasteSupportedByBrowser() || ClipboardCommand_1.ClipboardCommand.clipboardData !== undefined;
|
|
16545
16540
|
};
|
|
16546
|
-
PasteSelectionCommandBase.prototype.parseClipboardData = function (data
|
|
16541
|
+
PasteSelectionCommandBase.prototype.parseClipboardData = function (data) {
|
|
16547
16542
|
var items = [];
|
|
16548
16543
|
var importer = new Importer_1.Importer(this.control.shapeDescriptionManager, data);
|
|
16549
16544
|
items = importer.importItems(this.control.model);
|
|
16550
|
-
|
|
16551
|
-
|
|
16552
|
-
this.calculateSelectionOffset(items, pastePosition);
|
|
16545
|
+
if (this.control.contextMenuPosition)
|
|
16546
|
+
this.calculateSelectionOffset(items, this.control.contextMenuPosition);
|
|
16553
16547
|
for (var i = 0; i < items.length; i++) {
|
|
16554
16548
|
var item = items[i];
|
|
16555
16549
|
if (item instanceof Shape_1.Shape)
|
|
@@ -16561,10 +16555,14 @@ var PasteSelectionCommandBase = /** @class */ (function (_super) {
|
|
|
16561
16555
|
};
|
|
16562
16556
|
PasteSelectionCommandBase.prototype.executeCore = function (state, parameter) {
|
|
16563
16557
|
var _this = this;
|
|
16564
|
-
|
|
16565
|
-
|
|
16566
|
-
|
|
16567
|
-
|
|
16558
|
+
var ret = true;
|
|
16559
|
+
if (parameter)
|
|
16560
|
+
this.performPaste(parameter);
|
|
16561
|
+
else
|
|
16562
|
+
this.getClipboardData(function (data) {
|
|
16563
|
+
ret = _this.execute(data); // may be async
|
|
16564
|
+
});
|
|
16565
|
+
return ret;
|
|
16568
16566
|
};
|
|
16569
16567
|
PasteSelectionCommandBase.prototype.addItemForSortingRecursive = function (itemsHashtable, item) {
|
|
16570
16568
|
if (itemsHashtable[item.key])
|
|
@@ -16605,11 +16603,11 @@ var PasteSelectionCommandBase = /** @class */ (function (_super) {
|
|
|
16605
16603
|
connectors.sort(function (a, b) { return itemsHashtable[b.key] - itemsHashtable[a.key]; });
|
|
16606
16604
|
return sortedItems.concat(connectors);
|
|
16607
16605
|
};
|
|
16608
|
-
PasteSelectionCommandBase.prototype.performPaste = function (data
|
|
16606
|
+
PasteSelectionCommandBase.prototype.performPaste = function (data) {
|
|
16609
16607
|
this.control.beginUpdateCanvas();
|
|
16610
16608
|
this.control.history.beginTransaction();
|
|
16611
16609
|
var ids = [];
|
|
16612
|
-
var items = this.parseClipboardData(data
|
|
16610
|
+
var items = this.parseClipboardData(data);
|
|
16613
16611
|
items = this.getSortedPasteItems(items);
|
|
16614
16612
|
for (var i = 0; i < items.length; i++) {
|
|
16615
16613
|
var item = items[i];
|
|
@@ -28031,7 +28029,7 @@ var CloneCommand = /** @class */ (function (_super) {
|
|
|
28031
28029
|
}
|
|
28032
28030
|
CloneCommand.prototype.isEnabled = function () {
|
|
28033
28031
|
var items = this.control.selection.getSelectedItems();
|
|
28034
|
-
return _super.prototype.isEnabled.call(this) && items.length &&
|
|
28032
|
+
return _super.prototype.isEnabled.call(this) && items.length && items.length > 0 && this.permissionsProvider.canAddItems(items);
|
|
28035
28033
|
};
|
|
28036
28034
|
CloneCommand.prototype.executeCore = function (state, parameter) {
|
|
28037
28035
|
var selectionRect = Model_1.DiagramModel.getRectangle(this.control.selection.getSelectedItems());
|
|
@@ -29653,9 +29651,6 @@ var DiagramControl = /** @class */ (function () {
|
|
|
29653
29651
|
if (this.onToggleFullscreen)
|
|
29654
29652
|
this.onToggleFullscreen(value);
|
|
29655
29653
|
};
|
|
29656
|
-
DiagramControl.prototype.getPastePosition = function () {
|
|
29657
|
-
return this.contextMenuPosition;
|
|
29658
|
-
};
|
|
29659
29654
|
DiagramControl.prototype.notifyShowContextMenu = function (eventPoint, modelPoint) {
|
|
29660
29655
|
if (this.onShowContextMenu && this.render) {
|
|
29661
29656
|
var selection = void 0;
|
|
@@ -29698,9 +29693,48 @@ var DiagramControl = /** @class */ (function () {
|
|
|
29698
29693
|
this.barManager.updateItemsState();
|
|
29699
29694
|
};
|
|
29700
29695
|
DiagramControl.prototype.notifyRequestOperation = function (operation, args) {
|
|
29696
|
+
if (this.requestOperationByDataSource(operation, args))
|
|
29697
|
+
return;
|
|
29701
29698
|
if (this.onRequestOperation)
|
|
29702
29699
|
this.onRequestOperation(operation, args);
|
|
29703
29700
|
};
|
|
29701
|
+
DiagramControl.prototype.requestOperationByDataSource = function (operation, args) {
|
|
29702
|
+
if (!(this.documentDataSource && (this.documentDataSource.IsNodeParentIdMode() || this.documentDataSource.IsNodeItemsMode())))
|
|
29703
|
+
return false;
|
|
29704
|
+
if (operation === ModelOperationSettings_1.DiagramModelOperation.ChangeConnection) {
|
|
29705
|
+
var e = args;
|
|
29706
|
+
var shape = e.shape && this.model.findItem(e.shape.id);
|
|
29707
|
+
var connector = e.connector && this.model.findItem(e.connector.id);
|
|
29708
|
+
if (!(shape && connector))
|
|
29709
|
+
return;
|
|
29710
|
+
// shape can have only one incoming connection
|
|
29711
|
+
if (e.position === Connector_1.ConnectorPosition.End)
|
|
29712
|
+
for (var i = 0; i < shape.attachedConnectors.length; i++) {
|
|
29713
|
+
var attachedConnector = shape.attachedConnectors[i];
|
|
29714
|
+
if (attachedConnector !== connector && attachedConnector.endItem && attachedConnector.endItem === shape) {
|
|
29715
|
+
e.allowed = false;
|
|
29716
|
+
break;
|
|
29717
|
+
}
|
|
29718
|
+
}
|
|
29719
|
+
// circular reference is not allowed
|
|
29720
|
+
if (e.allowed && connector.beginItem && connector.endItem && this.isShapeParent(connector.endItem, connector.beginItem))
|
|
29721
|
+
e.allowed = false;
|
|
29722
|
+
}
|
|
29723
|
+
return !args.allowed;
|
|
29724
|
+
};
|
|
29725
|
+
DiagramControl.prototype.isShapeParent = function (parentShape, shape) {
|
|
29726
|
+
if (parentShape === shape)
|
|
29727
|
+
return true;
|
|
29728
|
+
for (var i = 0; i < parentShape.attachedConnectors.length; i++) {
|
|
29729
|
+
var attachedConnector = parentShape.attachedConnectors[i];
|
|
29730
|
+
if (attachedConnector.beginItem === parentShape && attachedConnector.endItem) {
|
|
29731
|
+
var childShape = attachedConnector.endItem;
|
|
29732
|
+
if (childShape === shape || this.isShapeParent(childShape, shape))
|
|
29733
|
+
return true;
|
|
29734
|
+
}
|
|
29735
|
+
}
|
|
29736
|
+
return false;
|
|
29737
|
+
};
|
|
29704
29738
|
return DiagramControl;
|
|
29705
29739
|
}());
|
|
29706
29740
|
exports.DiagramControl = DiagramControl;
|
|
@@ -35283,6 +35317,12 @@ var DocumentDataSource = /** @class */ (function (_super) {
|
|
|
35283
35317
|
this.updateNodeObjectChildren(nodeObj, containerItem, changesListener);
|
|
35284
35318
|
}
|
|
35285
35319
|
};
|
|
35320
|
+
DocumentDataSource.prototype.IsNodeParentIdMode = function () {
|
|
35321
|
+
return (this.useNodeParentId && this.nodeDataImporter.setParentKey !== undefined);
|
|
35322
|
+
};
|
|
35323
|
+
DocumentDataSource.prototype.IsNodeItemsMode = function () {
|
|
35324
|
+
return (this.useNodeItems && this.nodeDataImporter.setItems !== undefined);
|
|
35325
|
+
};
|
|
35286
35326
|
DocumentDataSource.prototype.updateNodeObjectParentKey = function (nodeObj, parentNodeObj, changesListener) {
|
|
35287
35327
|
var parentKey = this.nodeDataImporter.getParentKey(nodeObj.dataObj);
|
|
35288
35328
|
var newParentKey = parentNodeObj ? this.nodeDataImporter.getKey(parentNodeObj.dataObj) : undefined;
|
package/dist/dx-diagram.min.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* DevExpress Diagram (dx-diagram.min)
|
|
3
|
-
* Version: 2.0.
|
|
4
|
-
* Build date: Thu
|
|
3
|
+
* Version: 2.0.11
|
|
4
|
+
* Build date: Thu Jan 14 2021
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
* Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
|
|
8
8
|
*/.dxdi-control{overflow:visible;box-sizing:border-box;position:relative}.dxdi-control.dxdi-read-only .dxdi-canvas .shape,.dxdi-control.dxdi-read-only .dxdi-canvas .shape-expand-btn,.dxdi-control.dxdi-read-only .dxdi-canvas text{cursor:default}.dxdi-control .dxdi-canvas{display:block;background-color:#d9d9d9;transform-origin:0 0;overflow:hidden}.dxdi-canvas.dxdi-drag-scroll{cursor:grab!important}.dxdi-canvas *{user-select:none}.dxdi-canvas text{font-family:arial;font-size:10pt}.dxdi-canvas .page{fill:#fff}.dxdi-canvas .pages-grid-line{fill:none;stroke:rgba(0,0,0,.15);stroke-dasharray:8;stroke-width:2}.dxdi-canvas .grid-inner-line,.dxdi-canvas .grid-outer-line{fill:none}.dxdi-canvas .grid-outer-line{stroke:rgba(0,0,0,.1)}.dxdi-canvas .grid-inner-line{stroke:rgba(0,0,0,.05)}.dxdi-canvas .shape,.dxdi-canvas .toolbox-item{pointer-events:bounding-box}.dxdi-canvas .shape ellipse,.dxdi-canvas .shape line,.dxdi-canvas .shape path,.dxdi-canvas .shape rect,.dxdi-canvas .toolbox-item ellipse,.dxdi-canvas .toolbox-item line,.dxdi-canvas .toolbox-item path,.dxdi-canvas .toolbox-item rect{fill:#fff;stroke-width:2;stroke:#000}.dxdi-canvas .shape text,.dxdi-canvas .toolbox-item text{fill:#000;text-anchor:middle}.dxdi-canvas .shape rect.selector,.dxdi-canvas .toolbox-item rect.selector{stroke-width:48;stroke:transparent;fill:transparent;pointer-events:auto}.dxdi-canvas .shape.not-valid ellipse,.dxdi-canvas .shape.not-valid line,.dxdi-canvas .shape.not-valid path,.dxdi-canvas .shape.not-valid rect{stroke:red}.dxdi-canvas .shape{cursor:move}.dxdi-canvas .shape.text-input>text{display:none}.dxdi-canvas .shape.container>rect:first-child{fill:none}.dxdi-canvas .shape .shape-expand-btn{cursor:pointer}.dxdi-canvas .shape .shape-expand-btn>path,.dxdi-canvas .shape .shape-expand-btn>rect{stroke-dasharray:initial!important}.dxdi-canvas .shape .shape-expand-btn>path{stroke-width:2!important}.dxdi-canvas .shape .dxdi-image .dxdi-spinner{animation:loading-spinner 1s linear infinite}.dxdi-canvas .shape .dxdi-image .dxdi-spinner ellipse{stroke:#000;stroke-opacity:.2}.dxdi-canvas .shape .dxdi-image .dxdi-spinner path{stroke:#fd7010;stroke-linecap:round}.dxdi-canvas .shape .dxdi-image .dxdi-spinner ellipse,.dxdi-canvas .shape .dxdi-image .dxdi-spinner path{fill:none;stroke-width:5}@keyframes loading-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.dxdi-canvas .shape .dxdi-image .dxdi-user .dxdi-background{fill:#000;opacity:.2;stroke:none}.dxdi-canvas .shape .dxdi-image .dxdi-user ellipse,.dxdi-canvas .shape .dxdi-image .dxdi-user path{fill:#fff;stroke:none}.dxdi-canvas .shape .dxdi-image .dxdi-warning ellipse{stroke:none;fill:#ee1616}.dxdi-canvas .shape .dxdi-image .dxdi-warning rect{stroke:none;fill:#fff}.dxdi-canvas .shape.locked,.dxdi-canvas .shape.locked+.container-children .shape,.dxdi-canvas .shape.locked+.container-children .shape .shape-expand-btn,.dxdi-canvas .shape.locked .shape-expand-btn{cursor:inherit!important}.dxdi-canvas .container-children .shape .selector{stroke-width:8}.dxdi-canvas .toolbox-item{cursor:pointer}.dxdi-canvas .toolbox-item .selector{stroke-width:0!important}.dxdi-canvas .connector line,.dxdi-canvas .connector path{stroke-width:2;stroke:#000;stroke-linejoin:round;pointer-events:stroke}.dxdi-canvas .connector path:not(.outlined-line-ending):not(.filled-line-ending){fill:none!important}.dxdi-canvas .connector path.outlined-line-ending{fill:#fff}.dxdi-canvas .connector path.filled-line-ending{fill:#000}.dxdi-canvas .connector line.selector,.dxdi-canvas .connector path.selector{stroke-width:16;stroke:transparent}.dxdi-canvas .connector text{cursor:move;fill:#000;text-anchor:middle}.dxdi-canvas .connector .text-filter-flood{flood-color:#fff}.dxdi-canvas .connector.not-valid line,.dxdi-canvas .connector.not-valid path{stroke:red}.dxdi-canvas .connector.can-move{cursor:move}.dxdi-canvas .connection-mark,.dxdi-canvas .connection-point,.dxdi-canvas .connector-point-mark,.dxdi-canvas .connector-side-mark,.dxdi-canvas .geometry-mark,.dxdi-canvas .selection-mark{fill:#fff;stroke-width:2}.dxdi-canvas .selection-mark{stroke:#1e90ff}.dxdi-canvas .selection-mark[data-type="9"][data-value="1"]{cursor:nw-resize}.dxdi-canvas .selection-mark[data-type="9"][data-value="2"]{cursor:ne-resize}.dxdi-canvas .selection-mark[data-type="9"][data-value="3"]{cursor:se-resize}.dxdi-canvas .selection-mark[data-type="9"][data-value="4"]{cursor:sw-resize}.dxdi-canvas .selection-mark[data-type="9"][data-value="5"]{cursor:n-resize}.dxdi-canvas .selection-mark[data-type="9"][data-value="6"]{cursor:e-resize}.dxdi-canvas .selection-mark[data-type="9"][data-value="7"]{cursor:s-resize}.dxdi-canvas .selection-mark[data-type="9"][data-value="8"]{cursor:w-resize}.dxdi-canvas .selection-mark[data-type="4"],.dxdi-canvas .selection-mark[data-type="5"]{cursor:move}.dxdi-canvas .locked-selection-mark{fill:#fff;stroke-width:1;stroke:#666}.dxdi-canvas .geometry-mark{cursor:pointer;stroke:#daa520}.dxdi-canvas .connection-target,.dxdi-canvas .container-target{fill:transparent;stroke:orchid;stroke-width:2;pointer-events:none}.dxdi-canvas .connection-point{cursor:crosshair;stroke:orchid}.dxdi-canvas .connection-point.not-valid{stroke:grey;display:none}.dxdi-canvas .connection-mark{cursor:crosshair;stroke:orchid}.dxdi-canvas .connection-mark.selector,.dxdi-canvas .connection-point.selector{stroke-width:10px;stroke:transparent;fill:transparent}.dxdi-canvas .connection-mark.active,.dxdi-canvas .connection-point.active{fill:orchid}.dxdi-canvas .connector-point-mark,.dxdi-canvas .connector-side-mark{cursor:move;stroke:#1e90ff}.dxdi-canvas .connector-point-mark.disabled{cursor:default;display:none}.dxdi-canvas .connector-side-mark{fill:#1e90ff}.dxdi-canvas .connector-side-mark.vertical{cursor:col-resize}.dxdi-canvas .connector-side-mark.horizontal{cursor:row-resize}.dxdi-canvas .item-selection-rect,.dxdi-canvas .items-selection-rect{fill:transparent;stroke-width:1;stroke:#1e90ff;stroke-dasharray:2px;pointer-events:none}.dxdi-canvas .items-selection-rect{fill:rgba(30,144,255,.02)}.dxdi-canvas .item-multi-selection-rect{fill:rgba(30,144,255,.02);stroke-width:1;stroke:#1e90ff;pointer-events:none}.dxdi-canvas .selection-rect{fill:rgba(30,144,255,.2);stroke-width:1;stroke:#1e90ff;pointer-events:none}.dxdi-canvas .connector-multi-selection,.dxdi-canvas .connector-selection{fill:transparent;stroke-width:1;stroke:#1e90ff;pointer-events:none}.dxdi-canvas .connector-multi-selection.text,.dxdi-canvas .connector-selection.text{fill:transparent;stroke-width:1}.dxdi-canvas .connector-selection{stroke-dasharray:2px}.dxdi-canvas .connector-selection-mask rect{fill:#000}.dxdi-canvas .connector-selection-mask rect.background{fill:#fff}.dxdi-canvas .connector-selection-mask line,.dxdi-canvas .connector-selection-mask path{fill:#fff;stroke:#000;stroke-width:4}.dxdi-canvas .connector-selection-mask text{text-anchor:middle}.dxdi-canvas .extension-line path{stroke:#1e90ff;stroke-width:1}.dxdi-canvas .extension-line path.size-line{stroke-dasharray:4px}.dxdi-canvas .extension-line text{fill:#1e90ff;font-size:.8em;text-anchor:middle}.dxdi-canvas .extension-line.center>path.size-line,.dxdi-canvas .extension-line.page>path.size-line{stroke-dasharray:0}.dxdi-canvas .extension-line:not(.center)>path:not(:first-child){display:none}.dxdi-canvas .resize-info text{fill:rgba(0,0,0,.8);font-size:.8em;text-anchor:middle}.dxdi-canvas .resize-info rect{fill:#fff;stroke:rgba(0,0,0,.3);stroke-width:1}.dxdi-canvas .dxdi-active-selection .shape{cursor:default}.dxdi-control:not(.focused) .dxdi-canvas .geometry-mark,.dxdi-control:not(.focused) .dxdi-canvas .selection-mark{stroke:#666}.dxdi-control:not(.focused) .dxdi-canvas .item-selection-rect,.dxdi-control:not(.focused) .dxdi-canvas .items-selection-rect{fill:transparent;stroke:#666}.dxdi-control:not(.focused) .dxdi-canvas .items-selection-rect{fill:hsla(0,0%,56.5%,.02)}.dxdi-control:not(.focused) .dxdi-canvas .item-multi-selection-rect{fill:hsla(0,0%,56.5%,.02);stroke:#666}.dxdi-control:not(.focused) .dxdi-canvas .connection-mark,.dxdi-control:not(.focused) .dxdi-canvas .connection-mark.selector,.dxdi-control:not(.focused) .dxdi-canvas .connection-point,.dxdi-control:not(.focused) .dxdi-canvas .connection-point.selector{display:none}.dxdi-control:not(.focused) .dxdi-canvas .connector-multi-selection,.dxdi-control:not(.focused) .dxdi-canvas .connector-point-mark,.dxdi-control:not(.focused) .dxdi-canvas .connector-selection,.dxdi-control:not(.focused) .dxdi-canvas .connector-side-mark{stroke:#666}.dxdi-control:not(.focused) .dxdi-canvas .connector-side-mark{fill:#666}.dxdi-dragging,.dxdi-dragging *{user-select:none}.dxdi-canvas.export *{cursor:inherit!important;pointer-events:all!important}.dxdi-toolbox,.dxdi-toolbox svg{user-select:none;outline:none}.dxdi-toolbox,.dxdi-toolbox-drag-item .dxdi-canvas,.dxdi-toolbox .dxdi-canvas{width:100%;height:100%}.dxdi-toolbox .dxdi-canvas .toolbox-item ellipse,.dxdi-toolbox .dxdi-canvas .toolbox-item line,.dxdi-toolbox .dxdi-canvas .toolbox-item path,.dxdi-toolbox .dxdi-canvas .toolbox-item rect{fill:transparent;stroke:currentColor}.dxdi-toolbox .dxdi-canvas .toolbox-item .dxdi-image-placeholder{opacity:.75;fill:currentColor;stroke:none}.dxdi-toolbox .dxdi-canvas .toolbox-item .dxdi-shape-text{opacity:.25}.dxdi-toolbox-drag-item .dxdi-canvas text,.dxdi-toolbox .dxdi-canvas .toolbox-item text{font-weight:700;font-family:Segoe UI,Helvetica Neue,Helvetica,arial,sans-serif;fill:currentColor}.dxdi-toolbox-drag-item .dxdi-canvas .dxdi-image-placeholder{opacity:.75;fill:currentColor;stroke:none}.dxdi-toolbox-drag-item .dxdi-canvas .dxdi-shape-text{display:none}.dxdi-toolbox .toolbox-text-item{cursor:pointer;user-select:none;margin:0 0 .6em}.dxdi-toolbox-drag-item,.dxdi-toolbox-drag-text-item{font-family:arial;font-size:10pt;color:#000;position:absolute;z-index:10000;pointer-events:none!important}.dxdi-toolbox-drag-item *,.dxdi-toolbox-drag-text-item *{pointer-events:none!important}.dxdi-toolbox-drag-item text{pointer-events:none}.dxdi-toolbox-drag-text-item{background-color:#fff;border:2px solid #000;padding:.5em}.dxdi-tb-drag-captured{display:none}.dxdi-focus-input,.dxdi-text-input,.dxdi-text-input-container{padding:0;outline:none;border:none;resize:none}.dxdi-clipboard-input,.dxdi-focus-input{position:fixed;overflow:hidden;left:-1000px!important;top:-1000px!important}.dxdi-text-input-container{display:none}.dxdi-text-input-container.connector-text,.dxdi-text-input-container.shape-text{display:inherit;position:absolute;overflow:hidden;background-color:transparent;transform-origin:0 0}.dxdi-text-input-container.shape-text .dxdi-text-input{display:table-cell;overflow:hidden;padding:1px 0 0;outline:none;background-color:transparent;font-family:arial;font-size:10pt;color:#000;line-height:1.1em;text-align:center;vertical-align:middle}.dxdi-text-input-container.connector-text{overflow:visible}.dxdi-text-input-container.connector-text .dxdi-text-input{padding:2px;outline:none;height:calc(1.1em + 6px);width:calc(8em + 6px);margin-top:calc(-.55em - 3px);margin-left:calc(-4em - 3px);background-color:#fff;border:1px solid #1e90ff;font-family:arial;font-size:10pt;color:#000;line-height:1.1em;text-align:center;vertical-align:middle;overflow:hidden}.dxdi-page-shadow{fill:grey}
|