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