@harbour-enterprises/superdoc 1.0.0-alpha.51 → 1.0.0-alpha.53

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.
@@ -0,0 +1,5 @@
1
+ const __viteBrowserExternal = {};
2
+ export {
3
+ __viteBrowserExternal as default
4
+ };
5
+ //# sourceMappingURL=__vite-browser-external-2Ng8QIWW.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"__vite-browser-external-2Ng8QIWW.js","sources":["../__vite-browser-external"],"sourcesContent":["export default {}"],"names":[],"mappings":"AAAA,MAAe,wBAAA,CAAA;"}
package/dist/style.css CHANGED
@@ -167,87 +167,6 @@ body {
167
167
  .input-active {
168
168
  border: 1px solid #1355FF !important;
169
169
  }
170
-
171
-
172
- /* Collaboration cursors */
173
- .ProseMirror > .ProseMirror-yjs-cursor:first-child {
174
- margin-top: 16px;
175
- }
176
- .ProseMirror-yjs-cursor {
177
- position: relative;
178
- margin-left: -1px;
179
- margin-right: -1px;
180
- border-left: 1px solid black;
181
- border-right: 1px solid black;
182
- border-color: orange;
183
- word-break: normal;
184
- pointer-events: none;
185
- }
186
- .ProseMirror-yjs-cursor > div {
187
- position: absolute;
188
- top: -1.05em;
189
- left: -1px;
190
- font-size: 13px;
191
- background-color: rgb(250, 129, 0);
192
- font-family: serif;
193
- font-style: normal;
194
- font-weight: normal;
195
- line-height: normal;
196
- user-select: none;
197
- color: white;
198
- padding-left: 2px;
199
- padding-right: 2px;
200
- white-space: nowrap;
201
- }
202
- .option-grid-ctn[data-v-d7e1f60b] {
203
- display: flex;
204
- flex-direction: column;
205
- padding: 5px;
206
- border-radius: 5px;
207
- background-color: #fff;
208
- z-index: 3;
209
- }
210
- .option-row[data-v-d7e1f60b] {
211
- display: flex;
212
- flex-direction: row;
213
- }
214
- .option[data-v-d7e1f60b] {
215
- border-radius: 50%;
216
- cursor: pointer;
217
- padding: 3px;
218
- display: flex;
219
- align-items: center;
220
- justify-content: center;
221
- position: relative;
222
- }
223
- .option[data-v-d7e1f60b]:hover {
224
- background-color: #DBDBDB;
225
- }
226
- .active-check[data-v-d7e1f60b] {
227
- position: absolute;
228
- }
229
-
230
- .alignment-buttons[data-v-a6ab9011] {
231
- display: flex;
232
- justify-content: space-between;
233
- width: 100%;
234
- padding: 8px;
235
- }
236
- .button-icon[data-v-a6ab9011] {
237
- cursor: pointer;
238
- padding: 12px;
239
- font-size: 16px;
240
- width: 25px;
241
- height: 25px;
242
- border-radius: 4px;
243
- display: flex;
244
- justify-content: center;
245
- align-items: center;
246
- }
247
- .button-icon[data-v-a6ab9011]:hover {
248
- background-color: #d8dee5;
249
- }
250
-
251
170
  .open-link-icon[data-v-68133520] {
252
171
  margin-left: 10px;
253
172
  width: 30px;
@@ -378,6 +297,67 @@ body {
378
297
  cursor: pointer;
379
298
  }
380
299
 
300
+ .selected[data-v-573df785] {
301
+ background-color: #DBDBDB;
302
+ }
303
+ .mentions-container[data-v-573df785]:focus {
304
+ outline: none;
305
+ }
306
+ .user-row[data-v-573df785] {
307
+ padding: 10px 15px;
308
+ cursor: pointer;
309
+ transition: all 0.2s ease;
310
+ }
311
+
312
+ .option-grid-ctn[data-v-d7e1f60b] {
313
+ display: flex;
314
+ flex-direction: column;
315
+ padding: 5px;
316
+ border-radius: 5px;
317
+ background-color: #fff;
318
+ z-index: 3;
319
+ }
320
+ .option-row[data-v-d7e1f60b] {
321
+ display: flex;
322
+ flex-direction: row;
323
+ }
324
+ .option[data-v-d7e1f60b] {
325
+ border-radius: 50%;
326
+ cursor: pointer;
327
+ padding: 3px;
328
+ display: flex;
329
+ align-items: center;
330
+ justify-content: center;
331
+ position: relative;
332
+ }
333
+ .option[data-v-d7e1f60b]:hover {
334
+ background-color: #DBDBDB;
335
+ }
336
+ .active-check[data-v-d7e1f60b] {
337
+ position: absolute;
338
+ }
339
+
340
+ .alignment-buttons[data-v-a6ab9011] {
341
+ display: flex;
342
+ justify-content: space-between;
343
+ width: 100%;
344
+ padding: 8px;
345
+ }
346
+ .button-icon[data-v-a6ab9011] {
347
+ cursor: pointer;
348
+ padding: 12px;
349
+ font-size: 16px;
350
+ width: 25px;
351
+ height: 25px;
352
+ border-radius: 4px;
353
+ display: flex;
354
+ justify-content: center;
355
+ align-items: center;
356
+ }
357
+ .button-icon[data-v-a6ab9011]:hover {
358
+ background-color: #d8dee5;
359
+ }
360
+
381
361
  .disabled[data-v-0805a750] {
382
362
  opacity: 0.5;
383
363
  cursor: not-allowed !important;
@@ -422,18 +402,6 @@ body {
422
402
  background-color: #C8D0D8;
423
403
  }
424
404
 
425
- .selected[data-v-573df785] {
426
- background-color: #DBDBDB;
427
- }
428
- .mentions-container[data-v-573df785]:focus {
429
- outline: none;
430
- }
431
- .user-row[data-v-573df785] {
432
- padding: 10px 15px;
433
- cursor: pointer;
434
- transition: all 0.2s ease;
435
- }
436
-
437
405
  .toolbar-icon[data-v-bea60431] {
438
406
  display: flex;
439
407
  align-items: center;
@@ -636,18 +604,26 @@ body {
636
604
  width: 200px;
637
605
  }
638
606
  .tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}
639
- .super-editor[data-v-eb75c71f] {
607
+ .super-editor[data-v-d7996dc3] {
640
608
  position: relative;
641
609
  }
642
610
 
643
- .super-editor[data-v-571c776f] {
611
+ .super-editor[data-v-968719bb] {
644
612
  border: 1px solid #999;
613
+ outline: none;
645
614
  height: 100%;
646
615
  width: 100%;
616
+ transition: border 0.2s ease;
647
617
  }
648
- .editor-element[data-v-571c776f] {
618
+ .editor-element[data-v-968719bb] {
649
619
  height: 100%;
650
620
  width: 100%;
621
+ border: none;
622
+ outline: none;
623
+ }
624
+ .super-input-active[data-v-968719bb] {
625
+ border: 1px solid #007bff;
626
+ outline: none;
651
627
  }
652
628
  /*!
653
629
  * Font Awesome Pro 6.0.0-beta3 by @fontawesome - https://fontawesome.com
@@ -18765,23 +18741,23 @@ readers do not read off random characters that represent icons */
18765
18741
  mix-blend-mode: difference;
18766
18742
  }
18767
18743
 
18768
- .comment-doc[data-v-faa3a91a] {
18744
+ .comment-doc[data-v-eeaaecda] {
18769
18745
  position: relative;
18770
18746
  }
18771
- .comments-layer[data-v-faa3a91a] {
18747
+ .comments-layer[data-v-eeaaecda] {
18772
18748
  position: relative;
18773
18749
  }
18774
- .comment-anchor[data-v-faa3a91a] {
18750
+ .comment-anchor[data-v-eeaaecda] {
18775
18751
  position: absolute;
18776
18752
  cursor: pointer;
18777
18753
  z-index: 3;
18778
18754
  border-radius: 4px;
18779
18755
  transition: background-color 250ms ease;
18780
18756
  }
18781
- .bypass[data-v-faa3a91a] {
18757
+ .bypass[data-v-eeaaecda] {
18782
18758
  display: none;
18783
18759
  }
18784
- .comments-container[data-v-faa3a91a] {
18760
+ .comments-container[data-v-eeaaecda] {
18785
18761
  /* pointer-events: none; */
18786
18762
  }
18787
18763
 
@@ -18834,13 +18810,19 @@ span[data-v-36fffb56] {
18834
18810
  background-color: #F3F3F5;
18835
18811
  }
18836
18812
 
18837
- .comment-separator[data-v-c159f461] {
18813
+ .comment-separator[data-v-83ec237e] {
18838
18814
  background-color: #DBDBDB;
18839
18815
  height: 1px;
18840
18816
  width: 100%;
18841
18817
  margin: 15px 0;
18842
18818
  }
18843
- .comments-dialog[data-v-c159f461] {
18819
+ .existing-internal-input[data-v-83ec237e] {
18820
+ margin-bottom: 10px;
18821
+ }
18822
+ .initial-internal-dropdown[data-v-83ec237e] {
18823
+ margin-top: 10px;
18824
+ }
18825
+ .comments-dialog[data-v-83ec237e] {
18844
18826
  position: absolute;
18845
18827
  display: flex;
18846
18828
  flex-direction: column;
@@ -18854,14 +18836,14 @@ span[data-v-36fffb56] {
18854
18836
  z-index: 5;
18855
18837
  width: 300px;
18856
18838
  }
18857
- .is-active[data-v-c159f461] {
18839
+ .is-active[data-v-83ec237e] {
18858
18840
  z-index: 10;
18859
18841
  }
18860
- .overflow-menu[data-v-c159f461] {
18842
+ .overflow-menu[data-v-83ec237e] {
18861
18843
  flex-shrink: 1;
18862
18844
  display: flex;
18863
18845
  }
18864
- .overflow-menu i[data-v-c159f461] {
18846
+ .overflow-menu i[data-v-83ec237e] {
18865
18847
  width: 20px;
18866
18848
  height: 20px;
18867
18849
  display: flex;
@@ -18873,69 +18855,68 @@ span[data-v-36fffb56] {
18873
18855
  margin-left: 2px;
18874
18856
  cursor: pointer;
18875
18857
  }
18876
- .overflow-menu i[data-v-c159f461]:hover {
18858
+ .overflow-menu i[data-v-83ec237e]:hover {
18877
18859
  background-color: #DBDBDB;
18878
18860
  }
18879
- .comment-header[data-v-c159f461] {
18861
+ .comment-header[data-v-83ec237e] {
18880
18862
  display: flex;
18881
18863
  align-items: center;
18882
18864
  justify-content: space-between;
18883
18865
  margin-bottom: 10px;
18884
18866
  }
18885
- .comment-header-left[data-v-c159f461] {
18867
+ .comment-header-left[data-v-83ec237e] {
18886
18868
  display: flex;
18887
18869
  justify-content: space-between;
18888
18870
  align-items: center;
18889
18871
  }
18890
- .avatar[data-v-c159f461] {
18872
+ .avatar[data-v-83ec237e] {
18891
18873
  margin-right: 10px;
18892
18874
  }
18893
- .user-info[data-v-c159f461] {
18875
+ .user-info[data-v-83ec237e] {
18894
18876
  display: flex;
18895
18877
  flex-direction: column;
18896
18878
  font-size: 12px;
18897
18879
  }
18898
- .user-name[data-v-c159f461] {
18880
+ .user-name[data-v-83ec237e] {
18899
18881
  font-weight: 600;
18900
18882
  line-height: 1.2em;
18901
18883
  }
18902
- .user-timestamp[data-v-c159f461] {
18884
+ .user-timestamp[data-v-83ec237e] {
18903
18885
  line-height: 1.2em;
18904
18886
  font-size: 12px;
18905
18887
  color: #999;
18906
18888
  }
18907
- .input-section[data-v-c159f461] {
18889
+ .input-section[data-v-83ec237e] {
18908
18890
  margin-top: 10px;
18909
18891
  }
18910
- .sd-button[data-v-c159f461] {
18892
+ .sd-button[data-v-83ec237e] {
18911
18893
  font-size: 12px;
18912
18894
  margin-left: 5px;
18913
18895
  }
18914
- .comment[data-v-c159f461] {
18896
+ .comment[data-v-83ec237e] {
18915
18897
  font-size: 14px;
18916
18898
  margin: 10px 0;
18917
18899
  }
18918
- .conversation-item[data-v-c159f461] {
18900
+ .conversation-item[data-v-83ec237e] {
18919
18901
  border-bottom: 1px solid #DBDBDB;
18920
18902
  padding-bottom: 10px;
18921
18903
  }
18922
- .comment-footer[data-v-c159f461] {
18923
- margin: 10px 0 5px;
18904
+ .comment-footer[data-v-83ec237e] {
18905
+ margin: 5px 0 5px;
18924
18906
  display: flex;
18925
18907
  justify-content: flex-end;
18926
18908
  width: 100%;
18927
18909
  }
18928
- .internal-dropdown[data-v-c159f461] {
18929
- margin: 10px 0;
18910
+ .internal-dropdown[data-v-83ec237e] {
18930
18911
  display: inline-block;
18931
18912
  }
18932
- .comment-editing[data-v-c159f461] {
18913
+ .comment-editing[data-v-83ec237e] {
18933
18914
  padding-bottom: 10px;
18934
18915
  }
18935
- .comment-editing button[data-v-c159f461] {
18916
+ .comment-editing button[data-v-83ec237e] {
18936
18917
  margin-left: 5px;
18937
18918
  }
18938
- .comment-entry[data-v-c159f461] {
18919
+ .comment-entry[data-v-83ec237e] {
18939
18920
  border-radius: 8px;
18940
18921
  border: 1px solid #DBDBDB !important;
18941
18922
  width: 100%;
@@ -19082,62 +19063,62 @@ img[data-v-47d1dee5] {
19082
19063
  }
19083
19064
 
19084
19065
  /* Right sidebar drawer */
19085
- .right-sidebar[data-v-1dad5771] {
19066
+ .right-sidebar[data-v-848ea3f5] {
19086
19067
  width: 320px;
19087
19068
  padding: 0 10px;
19088
19069
  min-height: 100%;
19089
19070
  position: relative;
19090
19071
  z-index: 100;
19091
19072
  }
19092
- .fa-tool-icon[data-v-1dad5771] {
19073
+ .fa-tool-icon[data-v-848ea3f5] {
19093
19074
  cursor: pointer;
19094
19075
  }
19095
19076
 
19096
19077
  /* General Styles */
19097
- .box-sizing[data-v-1dad5771], .layers[data-v-1dad5771] {
19078
+ .box-sizing[data-v-848ea3f5], .layers[data-v-848ea3f5] {
19098
19079
  box-sizing: border-box;
19099
19080
  }
19100
- .cursor-pointer[data-v-1dad5771], .tools .tool-icon[data-v-1dad5771], .toolbar-item[data-v-1dad5771] {
19081
+ .cursor-pointer[data-v-848ea3f5], .tools .tool-icon[data-v-848ea3f5], .toolbar-item[data-v-848ea3f5] {
19101
19082
  cursor: pointer;
19102
19083
  }
19103
- .flex[data-v-1dad5771] {
19084
+ .flex[data-v-848ea3f5] {
19104
19085
  display: flex;
19105
19086
  }
19106
- .flex-column[data-v-1dad5771] {
19087
+ .flex-column[data-v-848ea3f5] {
19107
19088
  flex-direction: column;
19108
19089
  }
19109
- .flex-center[data-v-1dad5771] {
19090
+ .flex-center[data-v-848ea3f5] {
19110
19091
  display: flex;
19111
19092
  align-items: center;
19112
19093
  justify-content: center;
19113
19094
  }
19114
19095
 
19115
19096
  /* Layer Styles */
19116
- .comments-layer[data-v-1dad5771] {
19097
+ .comments-layer[data-v-848ea3f5] {
19117
19098
  position: absolute;
19118
19099
  top: 0;
19119
19100
  height: 100%;
19120
19101
  }
19121
- .layers[data-v-1dad5771] {
19102
+ .layers[data-v-848ea3f5] {
19122
19103
  position: relative;
19123
19104
  }
19124
19105
 
19125
19106
  /* Document Styles */
19126
- .docx[data-v-1dad5771] {
19107
+ .docx[data-v-848ea3f5] {
19127
19108
  border: 1px solid #DFDFDF;
19128
19109
  pointer-events: auto;
19129
19110
  }
19130
- .sub-document[data-v-1dad5771] {
19111
+ .sub-document[data-v-848ea3f5] {
19131
19112
  position: relative;
19132
19113
  }
19133
19114
 
19134
19115
  /* Toolbar Styles */
19135
- .toolbar[data-v-1dad5771] {
19116
+ .toolbar[data-v-848ea3f5] {
19136
19117
  height: 25px;
19137
19118
  background-color: #fff;
19138
19119
  margin-bottom: 5px;
19139
19120
  }
19140
- .toolbar-item[data-v-1dad5771] {
19121
+ .toolbar-item[data-v-848ea3f5] {
19141
19122
  width: 20px;
19142
19123
  height: 20px;
19143
19124
  border-radius: 8px;
@@ -19149,12 +19130,12 @@ img[data-v-47d1dee5] {
19149
19130
  justify-content: center;
19150
19131
  transition: all 250ms ease;
19151
19132
  }
19152
- .toolbar-item[data-v-1dad5771]:hover {
19133
+ .toolbar-item[data-v-848ea3f5]:hover {
19153
19134
  background-color: #DBDBDB;
19154
19135
  }
19155
19136
 
19156
19137
  /* Tools Styles */
19157
- .tools[data-v-1dad5771] {
19138
+ .tools[data-v-848ea3f5] {
19158
19139
  position: absolute;
19159
19140
  width: 50px;
19160
19141
  height: 50px;
@@ -19165,7 +19146,7 @@ img[data-v-47d1dee5] {
19165
19146
  align-items: center;
19166
19147
  justify-content: center;
19167
19148
  }
19168
- .tools .tool-icon[data-v-1dad5771] {
19149
+ .tools .tool-icon[data-v-848ea3f5] {
19169
19150
  font-size: 20px;
19170
19151
  border-radius: 12px;
19171
19152
  border: none;
@@ -19173,11 +19154,11 @@ img[data-v-47d1dee5] {
19173
19154
  background-color: #DBDBDB;
19174
19155
  }
19175
19156
  @media (max-width: 768px) {
19176
- .sub-document[data-v-1dad5771] {
19157
+ .sub-document[data-v-848ea3f5] {
19177
19158
  max-width: 100%;
19178
19159
  overflow: hidden;
19179
19160
  }
19180
- .right-sidebar[data-v-1dad5771] {
19161
+ .right-sidebar[data-v-848ea3f5] {
19181
19162
  padding: 10px;
19182
19163
  width: 55px;
19183
19164
  position: relative;