@harbour-enterprises/superdoc 1.0.0-alpha.24 → 1.0.0-alpha.26
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 +125 -110
- package/dist/superdoc.cjs.js +29376 -15449
- package/dist/superdoc.cjs.js.map +1 -1
- package/dist/superdoc.es.js +29376 -15449
- package/dist/superdoc.es.js.map +1 -1
- package/package.json +3 -10
package/dist/style.css
CHANGED
|
@@ -16751,8 +16751,20 @@ body {
|
|
|
16751
16751
|
}
|
|
16752
16752
|
.sd-highlight {
|
|
16753
16753
|
position: absolute;
|
|
16754
|
-
border-radius:
|
|
16755
|
-
background-color: #
|
|
16754
|
+
border-radius: 33px;
|
|
16755
|
+
background-color: #DDAF0955;
|
|
16756
|
+
mix-blend-mode: multiply;
|
|
16757
|
+
transition: background-color 250ms ease;
|
|
16758
|
+
}
|
|
16759
|
+
.sd-initial-highlight {
|
|
16760
|
+
background-color: #1355ff7F;
|
|
16761
|
+
}
|
|
16762
|
+
.sd-highlight:hover {
|
|
16763
|
+
background-color: #DDAF0999;
|
|
16764
|
+
}
|
|
16765
|
+
.sd-highlight-active {
|
|
16766
|
+
background-color: #1355ff7F;
|
|
16767
|
+
cursor: pointer;
|
|
16756
16768
|
}
|
|
16757
16769
|
.comment-box {
|
|
16758
16770
|
width: 300px;
|
|
@@ -16760,8 +16772,28 @@ body {
|
|
|
16760
16772
|
.superdoc {
|
|
16761
16773
|
min-height: 100%;
|
|
16762
16774
|
display: flex;
|
|
16775
|
+
margin: 0;
|
|
16776
|
+
padding: 0;
|
|
16763
16777
|
}
|
|
16778
|
+
.super-editor .ProseMirror {
|
|
16779
|
+
min-height: 400px;
|
|
16780
|
+
border: 1px solid #999;
|
|
16781
|
+
border-radius: 8px;
|
|
16782
|
+
white-space: pre-wrap;
|
|
16783
|
+
color: black !important;
|
|
16784
|
+
padding: 20px;
|
|
16785
|
+
width: 600px;
|
|
16786
|
+
outline: none;
|
|
16787
|
+
height: fit-content;
|
|
16788
|
+
}
|
|
16789
|
+
.super-editor .ProseMirror > * {
|
|
16790
|
+
color: black;
|
|
16791
|
+
font-family: 'Arial', sans-serif;
|
|
16792
|
+
font-size: 12px !important;
|
|
16793
|
+
}
|
|
16794
|
+
@media (max-width: 768px) {
|
|
16764
16795
|
|
|
16796
|
+
}
|
|
16765
16797
|
/* Copyright 2014 Mozilla Foundation
|
|
16766
16798
|
*
|
|
16767
16799
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -19036,37 +19068,38 @@ body {
|
|
|
19036
19068
|
.superdoc-viewer{
|
|
19037
19069
|
|
|
19038
19070
|
position: relative;
|
|
19071
|
+
display: flex;
|
|
19072
|
+
flex-direction: column;
|
|
19039
19073
|
}
|
|
19040
19074
|
.superdoc-viewer .pdf-page {
|
|
19041
|
-
position: relative;
|
|
19042
19075
|
border: 1px solid #DFDFDF;
|
|
19043
|
-
margin
|
|
19044
|
-
|
|
19076
|
+
margin: 0 0 20px 0;
|
|
19077
|
+
position: relative;
|
|
19045
19078
|
}
|
|
19046
19079
|
.superdoc-viewer .textLayer {
|
|
19047
19080
|
z-index: 2;
|
|
19081
|
+
position: absolute;
|
|
19082
|
+
}
|
|
19083
|
+
.superdoc-viewer .textLayer ::selection {
|
|
19084
|
+
background-color: #1355ff66;
|
|
19085
|
+
mix-blend-mode: difference;
|
|
19048
19086
|
}
|
|
19049
19087
|
|
|
19050
|
-
.comment-doc[data-v-
|
|
19051
|
-
background-color: red;
|
|
19088
|
+
.comment-doc[data-v-df7ef0d6] {
|
|
19052
19089
|
position: relative;
|
|
19053
19090
|
}
|
|
19054
|
-
.comments-layer[data-v-
|
|
19091
|
+
.comments-layer[data-v-df7ef0d6] {
|
|
19055
19092
|
position: relative;
|
|
19056
19093
|
}
|
|
19057
|
-
.comment-anchor[data-v-
|
|
19094
|
+
.comment-anchor[data-v-df7ef0d6] {
|
|
19058
19095
|
position: absolute;
|
|
19059
19096
|
cursor: pointer;
|
|
19060
19097
|
z-index: 3;
|
|
19061
19098
|
border-radius: 4px;
|
|
19062
19099
|
transition: background-color 250ms ease;
|
|
19063
|
-
pointer-events: auto;
|
|
19064
|
-
}
|
|
19065
|
-
.comment-anchor[data-v-ddeee1a6]:hover {
|
|
19066
|
-
background-color: #FFD70099;
|
|
19067
19100
|
}
|
|
19068
|
-
.comments-container[data-v-
|
|
19069
|
-
pointer-events: none;
|
|
19101
|
+
.comments-container[data-v-df7ef0d6] {
|
|
19102
|
+
/* pointer-events: none; */
|
|
19070
19103
|
}
|
|
19071
19104
|
|
|
19072
19105
|
.ProseMirror {
|
|
@@ -19117,25 +19150,27 @@ span[data-v-36fffb56] {
|
|
|
19117
19150
|
}
|
|
19118
19151
|
|
|
19119
19152
|
|
|
19120
|
-
.comments-dialog[data-v-
|
|
19153
|
+
.comments-dialog[data-v-01544401] {
|
|
19121
19154
|
position: absolute;
|
|
19122
19155
|
display: flex;
|
|
19123
19156
|
flex-direction: column;
|
|
19124
|
-
|
|
19125
|
-
padding: 16px;
|
|
19157
|
+
padding: 12px;
|
|
19126
19158
|
border-radius: 12px;
|
|
19127
19159
|
background-color: #EDEDED;
|
|
19128
19160
|
transition: background-color 250ms ease;
|
|
19129
|
-
-webkit-box-shadow: 0px 0px
|
|
19130
|
-
-moz-box-shadow: 0px 0px
|
|
19131
|
-
box-shadow: 0px 0px
|
|
19161
|
+
-webkit-box-shadow: 0px 0px 1px 1px rgba(50, 50, 50, 0.15);
|
|
19162
|
+
-moz-box-shadow: 0px 0px 1px 1px rgba(50, 50, 50, 0.15);
|
|
19163
|
+
box-shadow: 0px 0px 1px 1px rgba(50, 50, 50, 0.15);
|
|
19132
19164
|
z-index: 5;
|
|
19133
19165
|
}
|
|
19134
|
-
.
|
|
19166
|
+
.is-active[data-v-01544401] {
|
|
19167
|
+
z-index: 10;
|
|
19168
|
+
}
|
|
19169
|
+
.overflow-menu[data-v-01544401] {
|
|
19135
19170
|
flex-shrink: 1;
|
|
19136
19171
|
display: flex;
|
|
19137
19172
|
}
|
|
19138
|
-
.overflow-menu i[data-v-
|
|
19173
|
+
.overflow-menu i[data-v-01544401] {
|
|
19139
19174
|
width: 20px;
|
|
19140
19175
|
height: 20px;
|
|
19141
19176
|
display: flex;
|
|
@@ -19147,118 +19182,85 @@ span[data-v-36fffb56] {
|
|
|
19147
19182
|
margin-left: 2px;
|
|
19148
19183
|
cursor: pointer;
|
|
19149
19184
|
}
|
|
19150
|
-
.overflow-menu i[data-v-
|
|
19185
|
+
.overflow-menu i[data-v-01544401]:hover {
|
|
19151
19186
|
background-color: #DBDBDB;
|
|
19152
19187
|
}
|
|
19153
|
-
.
|
|
19154
|
-
margin: 5px 0;
|
|
19155
|
-
}
|
|
19156
|
-
.comment-entry[data-v-4946bb71] {
|
|
19188
|
+
.comment-entry[data-v-01544401] {
|
|
19157
19189
|
flex-grow: 1;
|
|
19190
|
+
margin: 5px 0;
|
|
19158
19191
|
}
|
|
19159
|
-
.comment-entry input[data-v-
|
|
19192
|
+
.comment-entry input[data-v-01544401] {
|
|
19160
19193
|
border-radius: 12px;
|
|
19161
|
-
padding: 10px
|
|
19194
|
+
padding: 6px 10px;
|
|
19162
19195
|
outline: none;
|
|
19163
19196
|
border: 1px solid #DBDBDB;
|
|
19164
19197
|
width: 100%;
|
|
19165
19198
|
}
|
|
19166
|
-
.comment-header[data-v-
|
|
19199
|
+
.comment-header[data-v-01544401] {
|
|
19167
19200
|
display: flex;
|
|
19168
19201
|
align-items: center;
|
|
19169
19202
|
justify-content: space-between;
|
|
19170
19203
|
}
|
|
19171
|
-
.
|
|
19204
|
+
.comment-header-left[data-v-01544401] {
|
|
19205
|
+
display: flex;
|
|
19206
|
+
justify-content: space-between;
|
|
19207
|
+
align-items: center;
|
|
19208
|
+
}
|
|
19209
|
+
.avatar[data-v-01544401] {
|
|
19172
19210
|
margin-right: 10px;
|
|
19173
19211
|
}
|
|
19174
|
-
.user-info[data-v-
|
|
19212
|
+
.user-info[data-v-01544401] {
|
|
19175
19213
|
display: flex;
|
|
19176
19214
|
flex-direction: column;
|
|
19177
19215
|
font-size: 12px;
|
|
19178
19216
|
}
|
|
19179
|
-
.user-name[data-v-
|
|
19217
|
+
.user-name[data-v-01544401] {
|
|
19180
19218
|
font-weight: 600;
|
|
19219
|
+
line-height: 1.2em;
|
|
19181
19220
|
}
|
|
19182
|
-
.user-timestamp[data-v-
|
|
19221
|
+
.user-timestamp[data-v-01544401] {
|
|
19222
|
+
line-height: 1.2em;
|
|
19183
19223
|
font-size: 12px;
|
|
19184
19224
|
color: #999;
|
|
19185
19225
|
}
|
|
19186
|
-
.sd-button[data-v-
|
|
19226
|
+
.sd-button[data-v-01544401] {
|
|
19187
19227
|
margin-right: 5px;
|
|
19228
|
+
font-size: 12px;
|
|
19188
19229
|
}
|
|
19189
|
-
.comment[data-v-
|
|
19230
|
+
.comment[data-v-01544401] {
|
|
19190
19231
|
font-size: 14px;
|
|
19191
|
-
margin:
|
|
19232
|
+
margin: 5px 0;
|
|
19192
19233
|
}
|
|
19193
|
-
.conversation-item[data-v-
|
|
19234
|
+
.conversation-item[data-v-01544401] {
|
|
19194
19235
|
border-bottom: 1px solid #DBDBDB;
|
|
19195
19236
|
padding-bottom: 10px;
|
|
19196
19237
|
}
|
|
19238
|
+
.comment-footer[data-v-01544401] {
|
|
19239
|
+
margin: 5px 0;
|
|
19240
|
+
}
|
|
19197
19241
|
|
|
19198
|
-
.
|
|
19242
|
+
.section-wrapper[data-v-2284c669] {
|
|
19199
19243
|
position: relative;
|
|
19200
|
-
|
|
19201
|
-
|
|
19202
|
-
.comments-icon[data-v-0d0bd15f] {
|
|
19203
|
-
font-size: 20px;
|
|
19204
|
-
width: 50px;
|
|
19205
|
-
height: 50px;
|
|
19206
|
-
font-weight: 400;
|
|
19207
|
-
background-color: #E2E9FB;
|
|
19208
|
-
color: #1355FF;
|
|
19209
|
-
border-radius: 50%;
|
|
19210
|
-
display: flex;
|
|
19211
|
-
align-items: center;
|
|
19212
|
-
justify-content: center;
|
|
19213
|
-
transition: background-color 250ms ease;
|
|
19214
|
-
user-select: none;
|
|
19215
|
-
pointer-events: none;
|
|
19216
|
-
}
|
|
19217
|
-
.number-bubble[data-v-0d0bd15f] {
|
|
19218
|
-
background-color: #1355FF;
|
|
19219
|
-
width: 20px;
|
|
19220
|
-
height: 20px;
|
|
19221
|
-
border-radius: 50%;
|
|
19222
|
-
position: absolute;
|
|
19223
|
-
right: -4px;
|
|
19224
|
-
top: -4px;
|
|
19225
|
-
color: white;
|
|
19226
|
-
display: flex;
|
|
19227
|
-
align-items: center;
|
|
19228
|
-
justify-content: center;
|
|
19229
|
-
font-size: 12px;
|
|
19244
|
+
min-height: 100%;
|
|
19245
|
+
width: 300px;
|
|
19230
19246
|
}
|
|
19231
|
-
.
|
|
19232
|
-
cursor: pointer;
|
|
19247
|
+
.floating-comment[data-v-2284c669] {
|
|
19233
19248
|
position: absolute;
|
|
19234
|
-
|
|
19235
|
-
position: absolute;
|
|
19236
|
-
border-radius: 12px;
|
|
19237
|
-
transition: background-color 250ms ease;
|
|
19238
|
-
}
|
|
19239
|
-
.comments-icon[data-v-0d0bd15f]:hover {
|
|
19240
|
-
background-color: #E2E9FB99;
|
|
19241
|
-
}
|
|
19242
|
-
.expanded[data-v-0d0bd15f] {
|
|
19243
|
-
flex-direction: column;
|
|
19244
|
-
background-color: #EDEDED;
|
|
19245
|
-
z-index: 11;
|
|
19249
|
+
min-width: 300px;
|
|
19246
19250
|
}
|
|
19247
19251
|
|
|
19248
|
-
.text-field[data-v-
|
|
19252
|
+
.text-field[data-v-f85784d6] {
|
|
19249
19253
|
white-space: nowrap;
|
|
19250
19254
|
height: 100%;
|
|
19251
19255
|
width: 100%;
|
|
19252
19256
|
border-radius: 2px;
|
|
19253
19257
|
margin: 0;
|
|
19254
|
-
margin-top: -13px;
|
|
19255
19258
|
display: flex;
|
|
19256
19259
|
align-items: center;
|
|
19257
19260
|
padding: 1px;
|
|
19258
19261
|
}
|
|
19259
19262
|
|
|
19260
|
-
.paragraph-field[data-v-
|
|
19261
|
-
overflow: hidden;
|
|
19263
|
+
.paragraph-field[data-v-7e3aecc8] {
|
|
19262
19264
|
margin: 0;
|
|
19263
19265
|
padding: 1px;
|
|
19264
19266
|
}
|
|
@@ -19281,70 +19283,73 @@ img[data-v-47d1dee5] {
|
|
|
19281
19283
|
margin-top: 5px;
|
|
19282
19284
|
}
|
|
19283
19285
|
|
|
19284
|
-
.select-container[data-v-
|
|
19286
|
+
.select-container[data-v-f9a43dfa] {
|
|
19285
19287
|
padding: 1px;
|
|
19286
|
-
margin-top: -13px;
|
|
19287
19288
|
}
|
|
19288
19289
|
|
|
19289
|
-
.field-container[data-v-
|
|
19290
|
+
.field-container[data-v-60099bb0] {
|
|
19290
19291
|
border-radius: 2px;
|
|
19291
|
-
background-color: #EFD0F0;
|
|
19292
|
+
background-color: #EFD0F0 !important;
|
|
19292
19293
|
border: 2px solid #B015B3;
|
|
19293
19294
|
}
|
|
19294
19295
|
|
|
19295
19296
|
/* Right sidebar drawer */
|
|
19296
|
-
.right-sidebar[data-v-
|
|
19297
|
+
.right-sidebar[data-v-16f7efdd] {
|
|
19297
19298
|
width: 320px;
|
|
19298
|
-
padding: 10px;
|
|
19299
|
+
padding: 0 10px;
|
|
19300
|
+
min-height: 100%;
|
|
19299
19301
|
position: relative;
|
|
19300
19302
|
}
|
|
19303
|
+
.docx-editor[data-v-16f7efdd] {
|
|
19304
|
+
margin-bottom: 20px;
|
|
19305
|
+
min-width: 600px;
|
|
19306
|
+
}
|
|
19301
19307
|
|
|
19302
19308
|
/* General Styles */
|
|
19303
|
-
.box-sizing[data-v-
|
|
19309
|
+
.box-sizing[data-v-16f7efdd], .layers[data-v-16f7efdd] {
|
|
19304
19310
|
box-sizing: border-box;
|
|
19305
19311
|
}
|
|
19306
|
-
.cursor-pointer[data-v-
|
|
19312
|
+
.cursor-pointer[data-v-16f7efdd], .tools i[data-v-16f7efdd], .toolbar-item[data-v-16f7efdd] {
|
|
19307
19313
|
cursor: pointer;
|
|
19308
19314
|
}
|
|
19309
|
-
.flex[data-v-
|
|
19315
|
+
.flex[data-v-16f7efdd] {
|
|
19310
19316
|
display: flex;
|
|
19311
19317
|
}
|
|
19312
|
-
.flex-column[data-v-
|
|
19318
|
+
.flex-column[data-v-16f7efdd] {
|
|
19313
19319
|
flex-direction: column;
|
|
19314
19320
|
}
|
|
19315
|
-
.flex-center[data-v-
|
|
19321
|
+
.flex-center[data-v-16f7efdd] {
|
|
19316
19322
|
display: flex;
|
|
19317
19323
|
align-items: center;
|
|
19318
19324
|
justify-content: center;
|
|
19319
19325
|
}
|
|
19320
19326
|
|
|
19321
19327
|
/* Layer Styles */
|
|
19322
|
-
.comments-layer[data-v-
|
|
19328
|
+
.comments-layer[data-v-16f7efdd] {
|
|
19323
19329
|
position: absolute;
|
|
19324
19330
|
top: 0;
|
|
19325
19331
|
height: 100%;
|
|
19326
19332
|
}
|
|
19327
|
-
.layers[data-v-
|
|
19333
|
+
.layers[data-v-16f7efdd] {
|
|
19328
19334
|
position: relative;
|
|
19329
|
-
display: inline-block;
|
|
19330
19335
|
}
|
|
19331
19336
|
|
|
19332
19337
|
/* Document Styles */
|
|
19333
|
-
.docx[data-v-
|
|
19338
|
+
.docx[data-v-16f7efdd] {
|
|
19334
19339
|
border: 1px solid #DFDFDF;
|
|
19335
19340
|
pointer-events: auto;
|
|
19336
19341
|
}
|
|
19337
|
-
.sub-document[data-v-
|
|
19342
|
+
.sub-document[data-v-16f7efdd] {
|
|
19338
19343
|
position: relative;
|
|
19339
19344
|
}
|
|
19340
19345
|
|
|
19341
19346
|
/* Toolbar Styles */
|
|
19342
|
-
.toolbar[data-v-
|
|
19347
|
+
.toolbar[data-v-16f7efdd] {
|
|
19343
19348
|
height: 25px;
|
|
19344
19349
|
background-color: #fff;
|
|
19345
19350
|
margin-bottom: 5px;
|
|
19346
19351
|
}
|
|
19347
|
-
.toolbar-item[data-v-
|
|
19352
|
+
.toolbar-item[data-v-16f7efdd] {
|
|
19348
19353
|
width: 20px;
|
|
19349
19354
|
height: 20px;
|
|
19350
19355
|
border-radius: 8px;
|
|
@@ -19356,12 +19361,12 @@ img[data-v-47d1dee5] {
|
|
|
19356
19361
|
justify-content: center;
|
|
19357
19362
|
transition: all 250ms ease;
|
|
19358
19363
|
}
|
|
19359
|
-
.toolbar-item[data-v-
|
|
19364
|
+
.toolbar-item[data-v-16f7efdd]:hover {
|
|
19360
19365
|
background-color: #DBDBDB;
|
|
19361
19366
|
}
|
|
19362
19367
|
|
|
19363
19368
|
/* Tools Styles */
|
|
19364
|
-
.tools[data-v-
|
|
19369
|
+
.tools[data-v-16f7efdd] {
|
|
19365
19370
|
position: absolute;
|
|
19366
19371
|
width: 50px;
|
|
19367
19372
|
height: 50px;
|
|
@@ -19372,11 +19377,21 @@ img[data-v-47d1dee5] {
|
|
|
19372
19377
|
align-items: center;
|
|
19373
19378
|
justify-content: center;
|
|
19374
19379
|
}
|
|
19375
|
-
.tools i[data-v-
|
|
19380
|
+
.tools i[data-v-16f7efdd] {
|
|
19376
19381
|
font-size: 20px;
|
|
19377
19382
|
border-radius: 12px;
|
|
19378
19383
|
border: none;
|
|
19379
19384
|
outline: none;
|
|
19380
19385
|
background-color: #DBDBDB;
|
|
19381
19386
|
}
|
|
19382
|
-
|
|
19387
|
+
@media (max-width: 768px) {
|
|
19388
|
+
.sub-document[data-v-16f7efdd] {
|
|
19389
|
+
max-width: 100%;
|
|
19390
|
+
overflow: hidden;
|
|
19391
|
+
}
|
|
19392
|
+
.right-sidebar[data-v-16f7efdd] {
|
|
19393
|
+
padding: 10px;
|
|
19394
|
+
width: 55px;
|
|
19395
|
+
position: relative;
|
|
19396
|
+
}
|
|
19397
|
+
}
|