@emailmaker/filemanager 0.10.84 → 0.10.85
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/{file-manager-IconsTab-DPTSVmmr.js → file-manager-IconsTab-CJ34Rtaj.js} +2 -2
- package/{file-manager-ImageCodeGenerator-SEVYRvuj.js → file-manager-ImageCodeGenerator-CkdzoWfD.js} +2 -2
- package/{file-manager-JsBarcode-m6wv66J1.js → file-manager-JsBarcode-YTpHbsV3.js} +2 -2
- package/{file-manager-browser-Dv-PgxuJ.js → file-manager-browser-DgSQCpyR.js} +2 -2
- package/{file-manager-index-WsZVOL3e.js → file-manager-index-DptuziBQ.js} +2 -2
- package/file-manager.css +142 -142
- package/file-manager.esm.js +1 -1
- package/file-manager.js +1 -10
- package/package.json +1 -1
package/file-manager.css
CHANGED
|
@@ -1,3 +1,145 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
.em-filemanager .root {
|
|
3
|
+
padding: 16px 20px 24px;
|
|
4
|
+
max-width: 520px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.em-filemanager .controls {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
gap: 20px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.em-filemanager .segmentedControl {
|
|
14
|
+
background-color: var(--ant-color-fill-secondary, rgba(0, 0, 0, 0.06));
|
|
15
|
+
padding: 4px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.em-filemanager .sizeRow {
|
|
19
|
+
display: grid;
|
|
20
|
+
grid-template-columns: 1fr 1fr;
|
|
21
|
+
gap: 16px 24px;
|
|
22
|
+
align-items: center;
|
|
23
|
+
width: 100%;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.em-filemanager .sizeRowLabel {
|
|
27
|
+
margin: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/** InputNumber с prefix / suffix — ширина блока значения */
|
|
31
|
+
.em-filemanager .sizeInputNumber {
|
|
32
|
+
width: 100%;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.em-filemanager .sizeSuffix {
|
|
36
|
+
color: var(--ant-color-text-tertiary);
|
|
37
|
+
font-size: 13px;
|
|
38
|
+
line-height: 1;
|
|
39
|
+
-webkit-user-select: none;
|
|
40
|
+
user-select: none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.em-filemanager .colorGrid {
|
|
44
|
+
display: grid;
|
|
45
|
+
grid-template-columns: 1fr 1fr;
|
|
46
|
+
gap: 16px 24px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.em-filemanager .colorCell {
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-direction: column;
|
|
52
|
+
align-items: stretch;
|
|
53
|
+
gap: 8px;
|
|
54
|
+
min-width: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.em-filemanager .colorCellLabel {
|
|
58
|
+
margin: 0 !important;
|
|
59
|
+
white-space: nowrap;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.em-filemanager .colorPickerFull {
|
|
63
|
+
width: 100%;
|
|
64
|
+
justify-content: flex-start;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.em-filemanager .bgExtras {
|
|
68
|
+
grid-column: 1/-1;
|
|
69
|
+
margin-top: -8px;
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
gap: 12px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.em-filemanager .bgWarning {
|
|
76
|
+
margin: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.em-filemanager .previewSection {
|
|
80
|
+
display: flex;
|
|
81
|
+
flex-direction: column;
|
|
82
|
+
gap: 12px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.em-filemanager .previewTitle {
|
|
86
|
+
font-size: 14px;
|
|
87
|
+
font-weight: 600;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.em-filemanager .previewWrap {
|
|
91
|
+
display: flex;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
align-items: center;
|
|
94
|
+
min-height: 220px;
|
|
95
|
+
padding: 16px;
|
|
96
|
+
border: 1px solid var(--ant-color-border-secondary, #f0f0f0);
|
|
97
|
+
border-radius: 8px;
|
|
98
|
+
background-color: var(--ant-color-fill-quaternary, #fafafa);
|
|
99
|
+
background-image: linear-gradient(45deg, #e8e8e8 25%, transparent 25%), linear-gradient(-45deg, #e8e8e8 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e8e8e8 75%), linear-gradient(-45deg, transparent 75%, #e8e8e8 75%);
|
|
100
|
+
background-size: 16px 16px;
|
|
101
|
+
background-position: 0 0, 0 8px, 8px -8px, -8px 0;
|
|
102
|
+
position: relative;
|
|
103
|
+
overflow: hidden;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.em-filemanager .scanLine {
|
|
107
|
+
position: absolute;
|
|
108
|
+
top: 50%;
|
|
109
|
+
left: 20%;
|
|
110
|
+
right: 20%;
|
|
111
|
+
height: 2px;
|
|
112
|
+
background-color: #ff4d4f;
|
|
113
|
+
box-shadow: 0 0 6px #ff4d4f;
|
|
114
|
+
z-index: 10;
|
|
115
|
+
pointer-events: none;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.em-filemanager .scanLineBarcode {
|
|
119
|
+
left: 10%;
|
|
120
|
+
right: 10%;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.em-filemanager .previewWrapBarcode {
|
|
124
|
+
min-height: 104px;
|
|
125
|
+
padding: 12px 16px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.em-filemanager .previewCanvas {
|
|
129
|
+
display: block;
|
|
130
|
+
max-width: 100%;
|
|
131
|
+
height: auto;
|
|
132
|
+
background: transparent;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.em-filemanager .previewCanvasBarcode {
|
|
136
|
+
max-height: 120px;
|
|
137
|
+
width: auto;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.em-filemanager .actions {
|
|
141
|
+
margin-top: 8px;
|
|
142
|
+
}
|
|
1
143
|
.em-filemanager .iconsTab {
|
|
2
144
|
display: flex;
|
|
3
145
|
flex-direction: column;
|
|
@@ -434,148 +576,6 @@
|
|
|
434
576
|
background: rgba(255, 255, 255, 0.6);
|
|
435
577
|
pointer-events: all;
|
|
436
578
|
}
|
|
437
|
-
@charset "UTF-8";
|
|
438
|
-
.em-filemanager .root {
|
|
439
|
-
padding: 16px 20px 24px;
|
|
440
|
-
max-width: 520px;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
.em-filemanager .controls {
|
|
444
|
-
display: flex;
|
|
445
|
-
flex-direction: column;
|
|
446
|
-
gap: 20px;
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
.em-filemanager .segmentedControl {
|
|
450
|
-
background-color: var(--ant-color-fill-secondary, rgba(0, 0, 0, 0.06));
|
|
451
|
-
padding: 4px;
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
.em-filemanager .sizeRow {
|
|
455
|
-
display: grid;
|
|
456
|
-
grid-template-columns: 1fr 1fr;
|
|
457
|
-
gap: 16px 24px;
|
|
458
|
-
align-items: center;
|
|
459
|
-
width: 100%;
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
.em-filemanager .sizeRowLabel {
|
|
463
|
-
margin: 0;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
/** InputNumber с prefix / suffix — ширина блока значения */
|
|
467
|
-
.em-filemanager .sizeInputNumber {
|
|
468
|
-
width: 100%;
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
.em-filemanager .sizeSuffix {
|
|
472
|
-
color: var(--ant-color-text-tertiary);
|
|
473
|
-
font-size: 13px;
|
|
474
|
-
line-height: 1;
|
|
475
|
-
-webkit-user-select: none;
|
|
476
|
-
user-select: none;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
.em-filemanager .colorGrid {
|
|
480
|
-
display: grid;
|
|
481
|
-
grid-template-columns: 1fr 1fr;
|
|
482
|
-
gap: 16px 24px;
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
.em-filemanager .colorCell {
|
|
486
|
-
display: flex;
|
|
487
|
-
flex-direction: column;
|
|
488
|
-
align-items: stretch;
|
|
489
|
-
gap: 8px;
|
|
490
|
-
min-width: 0;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
.em-filemanager .colorCellLabel {
|
|
494
|
-
margin: 0 !important;
|
|
495
|
-
white-space: nowrap;
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
.em-filemanager .colorPickerFull {
|
|
499
|
-
width: 100%;
|
|
500
|
-
justify-content: flex-start;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
.em-filemanager .bgExtras {
|
|
504
|
-
grid-column: 1/-1;
|
|
505
|
-
margin-top: -8px;
|
|
506
|
-
display: flex;
|
|
507
|
-
flex-direction: column;
|
|
508
|
-
gap: 12px;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
.em-filemanager .bgWarning {
|
|
512
|
-
margin: 0;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
.em-filemanager .previewSection {
|
|
516
|
-
display: flex;
|
|
517
|
-
flex-direction: column;
|
|
518
|
-
gap: 12px;
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
.em-filemanager .previewTitle {
|
|
522
|
-
font-size: 14px;
|
|
523
|
-
font-weight: 600;
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
.em-filemanager .previewWrap {
|
|
527
|
-
display: flex;
|
|
528
|
-
justify-content: center;
|
|
529
|
-
align-items: center;
|
|
530
|
-
min-height: 220px;
|
|
531
|
-
padding: 16px;
|
|
532
|
-
border: 1px solid var(--ant-color-border-secondary, #f0f0f0);
|
|
533
|
-
border-radius: 8px;
|
|
534
|
-
background-color: var(--ant-color-fill-quaternary, #fafafa);
|
|
535
|
-
background-image: linear-gradient(45deg, #e8e8e8 25%, transparent 25%), linear-gradient(-45deg, #e8e8e8 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e8e8e8 75%), linear-gradient(-45deg, transparent 75%, #e8e8e8 75%);
|
|
536
|
-
background-size: 16px 16px;
|
|
537
|
-
background-position: 0 0, 0 8px, 8px -8px, -8px 0;
|
|
538
|
-
position: relative;
|
|
539
|
-
overflow: hidden;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
.em-filemanager .scanLine {
|
|
543
|
-
position: absolute;
|
|
544
|
-
top: 50%;
|
|
545
|
-
left: 20%;
|
|
546
|
-
right: 20%;
|
|
547
|
-
height: 2px;
|
|
548
|
-
background-color: #ff4d4f;
|
|
549
|
-
box-shadow: 0 0 6px #ff4d4f;
|
|
550
|
-
z-index: 10;
|
|
551
|
-
pointer-events: none;
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
.em-filemanager .scanLineBarcode {
|
|
555
|
-
left: 10%;
|
|
556
|
-
right: 10%;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
.em-filemanager .previewWrapBarcode {
|
|
560
|
-
min-height: 104px;
|
|
561
|
-
padding: 12px 16px;
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
.em-filemanager .previewCanvas {
|
|
565
|
-
display: block;
|
|
566
|
-
max-width: 100%;
|
|
567
|
-
height: auto;
|
|
568
|
-
background: transparent;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
.em-filemanager .previewCanvasBarcode {
|
|
572
|
-
max-height: 120px;
|
|
573
|
-
width: auto;
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
.em-filemanager .actions {
|
|
577
|
-
margin-top: 8px;
|
|
578
|
-
}
|
|
579
579
|
.em-filemanager .noFilesContainer {
|
|
580
580
|
text-align: center;
|
|
581
581
|
}
|
package/file-manager.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{D as FileContent,J as FileManagerApiError,C as FileManagerApp,x as FileManagerAppWithContext,E as FileModals,G as FolderSidebar,P as PixieOnlyApp,B as default,v as init,A as initFileManager,y as initPixieEditor,H as installResizeObserverErrorHandler,K as mapHttpStatusToErrorCode,I as uninstallResizeObserverErrorHandler,w as unmount,z as unmountPixieEditor}from"./file-manager-index-
|
|
1
|
+
export{D as FileContent,J as FileManagerApiError,C as FileManagerApp,x as FileManagerAppWithContext,E as FileModals,G as FolderSidebar,P as PixieOnlyApp,B as default,v as init,A as initFileManager,y as initPixieEditor,H as installResizeObserverErrorHandler,K as mapHttpStatusToErrorCode,I as uninstallResizeObserverErrorHandler,w as unmount,z as unmountPixieEditor}from"./file-manager-index-DptuziBQ.js";import"react/jsx-runtime";import"react";import"react-dom/client";import"antd";import"antd/es/alert/ErrorBoundary";import"@ant-design/icons";import"react-dom";
|
|
2
2
|
//# sourceMappingURL=file-manager.esm.js.map
|
package/file-manager.js
CHANGED
|
@@ -93508,15 +93508,6 @@ const FileManagerContent = () => {
|
|
|
93508
93508
|
else {
|
|
93509
93509
|
fileUpload.markAsSuccess(uploadId);
|
|
93510
93510
|
}
|
|
93511
|
-
const rawTargetFolderId = (uploaded && uploaded.folderId) || selectedFolder || null;
|
|
93512
|
-
if (handleFolderSelect) {
|
|
93513
|
-
if (!rawTargetFolderId || rawTargetFolderId === 'folders') {
|
|
93514
|
-
handleFolderSelect('folders');
|
|
93515
|
-
}
|
|
93516
|
-
else {
|
|
93517
|
-
handleFolderSelect(rawTargetFolderId);
|
|
93518
|
-
}
|
|
93519
|
-
}
|
|
93520
93511
|
await ((_a = folderSidebarRef.current) === null || _a === void 0 ? void 0 : _a.refreshFileCounts());
|
|
93521
93512
|
return uploaded;
|
|
93522
93513
|
}
|
|
@@ -93526,7 +93517,7 @@ const FileManagerContent = () => {
|
|
|
93526
93517
|
fileUpload.markAsError(uploadId, errorMessage);
|
|
93527
93518
|
throw error;
|
|
93528
93519
|
}
|
|
93529
|
-
}, [filesApi, fileUpload, selectedFolder, files
|
|
93520
|
+
}, [filesApi, fileUpload, selectedFolder, files]);
|
|
93530
93521
|
const handleDroppedFilesWithRefresh = external_root_React_commonjs2_react_commonjs_react_amd_react_default().useCallback(async (files) => {
|
|
93531
93522
|
var _a;
|
|
93532
93523
|
if (handleDroppedFiles) {
|