@harbour-enterprises/superdoc 1.0.0-alpha.6 → 1.0.0-alpha.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/dist/style.css CHANGED
@@ -19485,14 +19485,14 @@ body {
19485
19485
  position: relative;
19486
19486
  }
19487
19487
 
19488
- .comment-doc[data-v-1656a63d] {
19488
+ .comment-doc[data-v-ddeee1a6] {
19489
19489
  background-color: red;
19490
19490
  position: relative;
19491
19491
  }
19492
- .comments-layer[data-v-1656a63d] {
19492
+ .comments-layer[data-v-ddeee1a6] {
19493
19493
  position: relative;
19494
19494
  }
19495
- .comment-anchor[data-v-1656a63d] {
19495
+ .comment-anchor[data-v-ddeee1a6] {
19496
19496
  position: absolute;
19497
19497
  cursor: pointer;
19498
19498
  z-index: 3;
@@ -19500,10 +19500,10 @@ body {
19500
19500
  transition: background-color 250ms ease;
19501
19501
  pointer-events: auto;
19502
19502
  }
19503
- .comment-anchor[data-v-1656a63d]:hover {
19503
+ .comment-anchor[data-v-ddeee1a6]:hover {
19504
19504
  background-color: #FFD70099;
19505
19505
  }
19506
- .comments-container[data-v-1656a63d] {
19506
+ .comments-container[data-v-ddeee1a6] {
19507
19507
  pointer-events: none;
19508
19508
  }
19509
19509
 
@@ -37378,6 +37378,18 @@ const _sfc_main$b = {
37378
37378
  selection,
37379
37379
  isFocused: true
37380
37380
  };
37381
+ const bounds = selection.selectionBounds;
37382
+ if (bounds.top > bounds.bottom) {
37383
+ const temp = bounds.top;
37384
+ bounds.top = bounds.bottom;
37385
+ bounds.bottom = temp;
37386
+ }
37387
+ if (bounds.left > bounds.right) {
37388
+ const temp = bounds.left;
37389
+ bounds.left = bounds.right;
37390
+ bounds.right = temp;
37391
+ }
37392
+ selection.selectionBounds = bounds;
37381
37393
  const matchedDocument = documents.value.find((c2) => c2.id === selection.documentId);
37382
37394
  const newConvo = useConversation(params);
37383
37395
  activeComment.value = newConvo.conversationId;
@@ -37424,7 +37436,7 @@ const _sfc_main$b = {
37424
37436
  };
37425
37437
  }
37426
37438
  };
37427
- const CommentsLayer = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-1656a63d"]]);
37439
+ const CommentsLayer = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-ddeee1a6"]]);
37428
37440
  function OrderedMap(content) {
37429
37441
  this.content = content;
37430
37442
  }