@zero-library/common 3.0.1 → 3.0.3
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/index.cjs.js +913 -356
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +52 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +50 -7
- package/dist/index.d.ts +50 -7
- package/dist/index.esm.js +616 -65
- package/dist/index.esm.js.map +1 -1
- package/dist/pdf.worker.min.mjs +28 -0
- package/package.json +5 -2
package/dist/index.css
CHANGED
|
@@ -162,6 +162,58 @@
|
|
|
162
162
|
.styles_module_nsPreviewDocx .styles_module_docxContent {
|
|
163
163
|
background: gray;
|
|
164
164
|
}
|
|
165
|
+
.styles_module_stateBody {
|
|
166
|
+
align-items: center;
|
|
167
|
+
justify-content: center;
|
|
168
|
+
height: 100%;
|
|
169
|
+
}
|
|
170
|
+
.styles_module_pdfContainer {
|
|
171
|
+
position: relative;
|
|
172
|
+
display: flex;
|
|
173
|
+
flex-direction: column;
|
|
174
|
+
height: 100%;
|
|
175
|
+
width: 100%;
|
|
176
|
+
background-color: transparent;
|
|
177
|
+
overflow: hidden;
|
|
178
|
+
}
|
|
179
|
+
.styles_module_pdfContainer .styles_module_floatingToolbar {
|
|
180
|
+
position: absolute;
|
|
181
|
+
top: 24px;
|
|
182
|
+
right: 24px;
|
|
183
|
+
z-index: 100;
|
|
184
|
+
display: flex;
|
|
185
|
+
align-items: center;
|
|
186
|
+
background: white;
|
|
187
|
+
padding: 4px 12px;
|
|
188
|
+
border-radius: 6px;
|
|
189
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
190
|
+
gap: 8px;
|
|
191
|
+
}
|
|
192
|
+
.styles_module_pdfContainer .styles_module_floatingToolbar .styles_module_divider {
|
|
193
|
+
width: 1px;
|
|
194
|
+
height: 14px;
|
|
195
|
+
background-color: #e0e0e0;
|
|
196
|
+
margin: 0 4px;
|
|
197
|
+
}
|
|
198
|
+
.styles_module_pdfContainer .styles_module_pdfBody {
|
|
199
|
+
flex: 1;
|
|
200
|
+
overflow: auto;
|
|
201
|
+
padding: 24px;
|
|
202
|
+
display: flex;
|
|
203
|
+
justify-content: center;
|
|
204
|
+
}
|
|
205
|
+
.styles_module_pdfContainer .styles_module_pdfBody .styles_module_pdfDocument {
|
|
206
|
+
display: flex;
|
|
207
|
+
flex-direction: column;
|
|
208
|
+
align-items: center;
|
|
209
|
+
padding: 40px 0;
|
|
210
|
+
width: 100%;
|
|
211
|
+
}
|
|
212
|
+
.styles_module_pdfContainer .styles_module_pdfBody .styles_module_pdfDocument .styles_module_pdfPage {
|
|
213
|
+
margin-bottom: 16px;
|
|
214
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
215
|
+
background-color: white;
|
|
216
|
+
}
|
|
165
217
|
|
|
166
218
|
/* src/components/LazyComponent/styles.module.less */
|
|
167
219
|
.styles_module_skeleton {
|