ru.coon 2.7.50 → 2.7.52
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/.gitattributes +1 -1
- package/.husky/pre-commit +4 -4
- package/.lintstagedrc.json +2 -2
- package/CHANGELOG.md +15 -0
- package/Readme.md +24 -24
- package/TODO.md +7 -7
- package/doc/changelog.md +118 -118
- package/doc/shortcuts.md +5 -5
- package/jsdoc.config.json +29 -29
- package/package.json +78 -78
- package/sass/src/common/plugin/form/PeriodPicker.scss +8 -8
- package/src/Function.scss +4 -4
- package/src/app/viewPort/Main.scss +133 -133
- package/src/command/Readme.md +4 -4
- package/src/common/component/ColorPalette.scss +102 -102
- package/src/common/component/ExternalFrame.scss +8 -8
- package/src/common/component/HotkeyHelpText.scss +34 -34
- package/src/common/component/TreeComponentStructure.scss +5 -5
- package/src/common/component/editor/CharacteristicGridEditor.scss +66 -66
- package/src/common/component/editor/TypedCharacteristicEditor.scss +7 -7
- package/src/common/component/formeditor/UiCustomFilterForm.scss +7 -7
- package/src/common/component/formeditor/UiCustomFormEditor.scss +42 -42
- package/src/common/component/visualeditor/UiCPVisualEditor.scss +108 -108
- package/src/common/field/EditorJs.scss +41 -41
- package/src/common/field/FieldsHelper.js +0 -0
- package/src/common/field/ReportValueField.scss +2 -2
- package/src/common/field/combo/CommandComboBox.scss +19 -19
- package/src/common/panel/DayPicker.scss +15 -15
- package/src/common/panel/MainUploadPanel.scss +13 -13
- package/src/common/panel/SelectIconClassPanel.scss +38 -38
- package/src/common/panel/SelectIconClassPanelTemplate.scss +14 -14
- package/src/common/panel/StopwatchWindow.js +147 -0
- package/src/common/panel/StopwatchWindow.scss +44 -0
- package/src/common/panel/UniversalUploadResults.js +31 -0
- package/src/common/panel/UniversalUploadResults.scss +40 -0
- package/src/common/panel/WindowWrap.js +0 -0
- package/src/common/panel/WindowWrap.scss +8 -8
- package/src/common/panel/dropzone/UniversalMultiUploadForm.scss +29 -29
- package/src/common/panel/dropzone/UploadDropZone.scss +36 -36
- package/src/common/panel/widget/WidgetPanel.scss +157 -157
- package/src/info.scss +12 -12
- package/src/nav/AppNavTab.scss +20 -20
- package/src/nav/AppNavigationBar.scss +9 -9
- package/src/nav/AppNavigationMenu.scss +60 -60
- package/src/nav/AppNavigationToggleButton.scss +6 -6
- package/src/nav/editor/menu/NavMenuTreeView.scss +104 -104
- package/src/nav/editor/workspace/NavWorkspaceListView.scss +35 -35
- package/src/nav/menu/NavMenuPanel.scss +11 -11
- package/src/nav/menu/WorkspaceMenuView.scss +218 -218
- package/src/nav/windowHolderTab.scss +13 -13
- package/src/report/column/MultiFilesColumn.scss +8 -8
- package/src/report/component/BoundListPagingToolbar.scss +7 -7
- package/src/report/component/ErrorWindow.scss +15 -15
- package/src/report/component/ParameterizedReportCombo.scss +85 -85
- package/src/report/component/ReportPanel.scss +69 -69
- package/src/report/component/SimpleReportTag.scss +22 -22
- package/src/report/component/reportpanel/CopyReportPanel.scss +14 -14
- package/src/report/component/reportpanel/FilterPanel.scss +16 -16
- package/src/report/component/reportpanel/FilterPanelLegend.scss +23 -23
- package/src/report/component/reportpanel/NorthPanel.scss +18 -18
- package/src/report/component/reportpanel/ReportGrid.scss +37 -37
- package/src/report/component/settings/ReportFormEditPanel.scss +87 -87
- package/src/report/component/settings/ReportPropertiesGrid.scss +25 -25
- package/src/report/component/settings/field/ReportFormFieldsGrid.scss +5 -5
- package/src/report/component/settings/property/ReportPropertiesPanel.scss +12 -12
- package/src/report/plugin/SettingsManagerPlugin/view/SMPMainView.scss +3 -3
- package/src/report/plugin/configPanel/AddFilterConditionPluginConfigPanel.scss +53 -53
- package/src/report/plugin/configPanel/CopyRowsFromGridConfigPanel.js +38 -21
- package/src/report/plugin/configPanel/ExecuteCommandButtonPluginConfigPanel.scss +5 -5
- package/src/report/plugin/configPanel/GroupRowsPluginConfigPanel.scss +3 -3
- package/src/report/plugin/configPanel/UiAceEditorField.scss +20 -20
- package/src/report/plugin/configPanel/common/pluginDescriptionLabel.scss +8 -8
- package/src/report/plugin/grid/CopyRowsFromGrid.js +99 -38
- package/src/report/plugin/grid/GridRowStylePlugin.scss +56 -56
- package/src/report/plugin/grid/OpenURLButtonPlugin.js +1 -1
- package/src/report/plugin/grid/ReportTabContainerPlugin.scss +3 -3
- package/src/report/plugin/grid/ToggleColumnsPlugin.scss +7 -7
- package/src/report/plugin/grid/ToolbarButtonPlugin.scss +3 -3
- package/src/research/ResearchTreeView.scss +19 -19
- package/src/security/component/RoleFileUploadForm.scss +4 -4
- package/src/security/component/ui/UiCPRestrictionEditor.scss +4 -4
- package/src/security/securitySettingComponent/RoleEditPanel.scss +16 -16
- package/src/security/securitySettingComponent/RoleEditPanelController.js +12 -7
- package/src/security/securitySettingComponent/menu/RoleEditMenuController.js +3 -3
- package/src/security/securitySettingComponent/report/RoleEditReportController.js +7 -1
- package/src/security/securitySettingComponent/uiCP/RoleEditUiCPController.js +7 -2
- package/src/security/securitySettingComponent/url/RoleEditUrlController.js +6 -1
- package/src/security/securitySettingComponent/user/RoleEditUserController.js +6 -1
- package/src/uielement/component/MenuItemList.scss +35 -35
- package/src/uielement/component/formchips/FilterConditionToolbar.scss +74 -74
- package/src/uielement/component/settings/UiCustomPanelEditor.scss +9 -9
- package/src/uielement/component/settings/config/UiCPConfigPanelController.scss +24 -24
- package/src/uielement/component/settings/plugin/UiCustomPanelPluginGrid.scss +11 -11
- package/src/uielement/component/settings/plugin/UiCustomPanelPluginPanel.scss +30 -30
- package/src/uielement/component/settings/version/UiCPVersionPanel.scss +15 -15
- package/src/uielement/plugin/configPanel/AddBindingsPluginConfigPanelFormEditor.scss +29 -29
- package/src/uielement/plugin/configPanel/executeCommand/ExecuteCommandPluginConfigPanelFormEditor.scss +22 -22
- package/src/version.js +1 -1
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
.SelectIconClassPanel {
|
|
2
|
-
.x-btn-default-small {
|
|
3
|
-
background-color: transparent;
|
|
4
|
-
padding: 2px;
|
|
5
|
-
border-color: lightgray;
|
|
6
|
-
}
|
|
7
|
-
.x-btn-icon-el-default-small {
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
|
|
11
|
-
justify-content: center;
|
|
12
|
-
min-height: 26px;
|
|
13
|
-
min-width: 26px;
|
|
14
|
-
}
|
|
15
|
-
.svg-icon {
|
|
16
|
-
background-color: $base-color;
|
|
17
|
-
}
|
|
18
|
-
.x-table-layout {
|
|
19
|
-
padding-left: 16px;
|
|
20
|
-
}
|
|
21
|
-
.x-autocontainer-innerCt {
|
|
22
|
-
display: grid;
|
|
23
|
-
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
24
|
-
gap: 12px;
|
|
25
|
-
grid-auto-rows: min-content;
|
|
26
|
-
}
|
|
27
|
-
.icon-pack-grid-btn {
|
|
28
|
-
.x-btn-button-default-small {
|
|
29
|
-
display: grid;
|
|
30
|
-
grid-template-columns: 24px 1fr 24px;
|
|
31
|
-
align-items: center;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
.icon-pack-search {
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
1
|
+
.SelectIconClassPanel {
|
|
2
|
+
.x-btn-default-small {
|
|
3
|
+
background-color: transparent;
|
|
4
|
+
padding: 2px;
|
|
5
|
+
border-color: lightgray;
|
|
6
|
+
}
|
|
7
|
+
.x-btn-icon-el-default-small {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
|
|
11
|
+
justify-content: center;
|
|
12
|
+
min-height: 26px;
|
|
13
|
+
min-width: 26px;
|
|
14
|
+
}
|
|
15
|
+
.svg-icon {
|
|
16
|
+
background-color: $base-color;
|
|
17
|
+
}
|
|
18
|
+
.x-table-layout {
|
|
19
|
+
padding-left: 16px;
|
|
20
|
+
}
|
|
21
|
+
.x-autocontainer-innerCt {
|
|
22
|
+
display: grid;
|
|
23
|
+
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
24
|
+
gap: 12px;
|
|
25
|
+
grid-auto-rows: min-content;
|
|
26
|
+
}
|
|
27
|
+
.icon-pack-grid-btn {
|
|
28
|
+
.x-btn-button-default-small {
|
|
29
|
+
display: grid;
|
|
30
|
+
grid-template-columns: 24px 1fr 24px;
|
|
31
|
+
align-items: center;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
.icon-pack-search {
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
.SelectIconClassPanelTemplate {
|
|
2
|
-
.coon-icon-message {
|
|
3
|
-
.x-form-display-field.x-form-display-field-default {
|
|
4
|
-
font-size: 22px;
|
|
5
|
-
width: 90%;
|
|
6
|
-
line-height: 1.2;
|
|
7
|
-
margin: 24px;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.x-autocontainer-innerCt:has(.coon-icon-message) {
|
|
12
|
-
display: block,
|
|
13
|
-
}
|
|
14
|
-
}
|
|
1
|
+
.SelectIconClassPanelTemplate {
|
|
2
|
+
.coon-icon-message {
|
|
3
|
+
.x-form-display-field.x-form-display-field-default {
|
|
4
|
+
font-size: 22px;
|
|
5
|
+
width: 90%;
|
|
6
|
+
line-height: 1.2;
|
|
7
|
+
margin: 24px;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.x-autocontainer-innerCt:has(.coon-icon-message) {
|
|
12
|
+
display: block,
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
Ext.define('Coon.common.panel.StopwatchWindow', {
|
|
2
|
+
extend: 'Ext.window.Window',
|
|
3
|
+
xtype: 'stopwatch-window',
|
|
4
|
+
alternateClassName: [
|
|
5
|
+
'SigmaUtilities.view.multithreadprocess.StopwatchWindow'
|
|
6
|
+
],
|
|
7
|
+
cls: 'StopwatchWindow',
|
|
8
|
+
bodyPadding: 0,
|
|
9
|
+
layout: {
|
|
10
|
+
type: 'vbox',
|
|
11
|
+
align: 'stretch',
|
|
12
|
+
},
|
|
13
|
+
config: {
|
|
14
|
+
jobId: undefined,
|
|
15
|
+
},
|
|
16
|
+
viewModel: {
|
|
17
|
+
data: {
|
|
18
|
+
isJobComplete: false,
|
|
19
|
+
withErrors: false,
|
|
20
|
+
},
|
|
21
|
+
formulas: {
|
|
22
|
+
titleFormula: {
|
|
23
|
+
get: function(data) {
|
|
24
|
+
return data('isJobComplete') ? 'Операция завершена': 'Массовая операция выполняется';
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
statusIcon: {
|
|
28
|
+
get: function(data) {
|
|
29
|
+
const loader = `<span class="loader"></span>`;
|
|
30
|
+
const successfully = `<span class="svg-icon svg-icon-process-approval svg-icon-size-48 svg-icon-color-green"></span>`;
|
|
31
|
+
const failed = `<span class="svg-icon svg-icon-attention-critical svg-icon-size-48 svg-icon-color-red"></span>`;
|
|
32
|
+
|
|
33
|
+
return data('isJobComplete') ?
|
|
34
|
+
data('withErrors') ? failed: successfully:
|
|
35
|
+
loader;
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
title: 'Запущена массовая операция',
|
|
41
|
+
bind: {
|
|
42
|
+
title: '{titleFormula}',
|
|
43
|
+
},
|
|
44
|
+
height: 270,
|
|
45
|
+
width: 400,
|
|
46
|
+
modal: true,
|
|
47
|
+
closable: false,
|
|
48
|
+
resizable: false,
|
|
49
|
+
draggable: false,
|
|
50
|
+
closeAction: 'destroy',
|
|
51
|
+
buttonAlign: 'center',
|
|
52
|
+
showTimer: true,
|
|
53
|
+
items: [
|
|
54
|
+
{
|
|
55
|
+
xtype: 'container',
|
|
56
|
+
itemId: 'stopwatch-window-mask-target',
|
|
57
|
+
height: 100,
|
|
58
|
+
layout: 'fit',
|
|
59
|
+
style: {
|
|
60
|
+
display: 'flex',
|
|
61
|
+
justifyContent: 'center',
|
|
62
|
+
},
|
|
63
|
+
bind: {
|
|
64
|
+
html: '<div class="status-icon-container">{statusIcon}</div>',
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
xtype: 'UniversalUploadResults',
|
|
69
|
+
itemId: 'UniversalUploadResults',
|
|
70
|
+
flex: 1,
|
|
71
|
+
data: {
|
|
72
|
+
header: 'Выполнено операций',
|
|
73
|
+
result: {},
|
|
74
|
+
},
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
constructor: function(config) {
|
|
78
|
+
const buttons = [
|
|
79
|
+
{
|
|
80
|
+
xtype: 'button',
|
|
81
|
+
ui: 'green-button',
|
|
82
|
+
text: 'Перейти к МО',
|
|
83
|
+
bind: {
|
|
84
|
+
hidden: '{!isJobComplete}',
|
|
85
|
+
},
|
|
86
|
+
handler: this.showDetails.bind(this),
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
xtype: 'button',
|
|
90
|
+
ui: 'orange-button',
|
|
91
|
+
text: 'Закрыть',
|
|
92
|
+
bind: {
|
|
93
|
+
hidden: '{!isJobComplete}',
|
|
94
|
+
},
|
|
95
|
+
handler: (btn) => {
|
|
96
|
+
btn.up('window').close();
|
|
97
|
+
},
|
|
98
|
+
}
|
|
99
|
+
];
|
|
100
|
+
|
|
101
|
+
Ext.apply(this, {
|
|
102
|
+
buttons: Ext.Array.merge(
|
|
103
|
+
(Array.isArray(config.buttons)) ? config.buttons: [],
|
|
104
|
+
buttons
|
|
105
|
+
),
|
|
106
|
+
}, config);
|
|
107
|
+
this.self.superclass['constructor'].apply(this);
|
|
108
|
+
},
|
|
109
|
+
setProcessInfo: function(data) {
|
|
110
|
+
if (data.jobComplete) {
|
|
111
|
+
this.getViewModel().set('isJobComplete', true);
|
|
112
|
+
this.getViewModel().set('withErrors', data.errorsCount > 0);
|
|
113
|
+
}
|
|
114
|
+
this.down('UniversalUploadResults').setData({
|
|
115
|
+
header: 'Выполнено операций',
|
|
116
|
+
result: this.mapResults(data),
|
|
117
|
+
});
|
|
118
|
+
},
|
|
119
|
+
mapResults: function(data = {}) {
|
|
120
|
+
const mapping = {
|
|
121
|
+
completeCount: 'successCount',
|
|
122
|
+
errorsCount: 'errorCount',
|
|
123
|
+
};
|
|
124
|
+
const mapped = Ext.clone(data);
|
|
125
|
+
Object.keys(data).map((key) => {
|
|
126
|
+
if (mapping[key]) {
|
|
127
|
+
mapped[mapping[key]] = data[key];
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
return mapped;
|
|
131
|
+
},
|
|
132
|
+
|
|
133
|
+
showDetails: function() {
|
|
134
|
+
if (!this.getJobId()) {
|
|
135
|
+
Coon.log.warn('Нет идентификатора МО для просмотра деталей');
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
const panel = Ext.widget('BPViewPanel');
|
|
139
|
+
const window = Ext.widget('WindowWrap', {
|
|
140
|
+
items: panel,
|
|
141
|
+
maximized: true,
|
|
142
|
+
closeAction: 'close',
|
|
143
|
+
});
|
|
144
|
+
window.show();
|
|
145
|
+
panel.getController().doInit(this.getJobId(), false);
|
|
146
|
+
},
|
|
147
|
+
});
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
.StopwatchWindow {
|
|
2
|
+
.svg-icon-size-48 {
|
|
3
|
+
min-height: 48px !important;
|
|
4
|
+
min-width: 48px !important;
|
|
5
|
+
mask-size: 48px;
|
|
6
|
+
}
|
|
7
|
+
.svg-icon-color-green {
|
|
8
|
+
background-color: rgba(82, 148, 100, 1);
|
|
9
|
+
}
|
|
10
|
+
.svg-icon-color-red {
|
|
11
|
+
background-color: rgba(211, 71, 62, 1);
|
|
12
|
+
}
|
|
13
|
+
.status-icon-container {
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
padding-top: 20px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.loader {
|
|
20
|
+
width: 48px;
|
|
21
|
+
padding: 5px;
|
|
22
|
+
aspect-ratio: 1;
|
|
23
|
+
border-radius: 50%;
|
|
24
|
+
background: #3D6780;
|
|
25
|
+
--_m:
|
|
26
|
+
conic-gradient(#0000 10%,#000),
|
|
27
|
+
linear-gradient(#000 0 0) content-box;
|
|
28
|
+
-webkit-mask: var(--_m);
|
|
29
|
+
mask: var(--_m);
|
|
30
|
+
-webkit-mask-composite: source-out;
|
|
31
|
+
mask-composite: subtract;
|
|
32
|
+
animation: spin 1s infinite linear;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
}
|
|
36
|
+
@keyframes spin {
|
|
37
|
+
0% {
|
|
38
|
+
transform: rotate(0);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
100% {
|
|
42
|
+
transform: rotate(360deg);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
Ext.define('Coon.common.panel.UniversalUploadResults', {
|
|
2
|
+
extend: 'Ext.Component',
|
|
3
|
+
xtype: 'UniversalUploadResults',
|
|
4
|
+
alias: 'widget.UniversalUploadResults',
|
|
5
|
+
alternateClassName: [
|
|
6
|
+
'SigmaUtilities.view.multithreadprocess.UniversalUploadResults'
|
|
7
|
+
],
|
|
8
|
+
cls: 'UniversalUploadResults',
|
|
9
|
+
config: {
|
|
10
|
+
data: {
|
|
11
|
+
header: undefined,
|
|
12
|
+
result: {},
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
layout: 'fit',
|
|
16
|
+
tpl: new Ext.XTemplate(
|
|
17
|
+
'<div class="main-container">',
|
|
18
|
+
' <div class="header"> {header} </div>',
|
|
19
|
+
' <div class="results">',
|
|
20
|
+
' <span class="result-item"> Успешно: <span class="good-result">{result.successCount}</span> </span>',
|
|
21
|
+
' <span class="result-item"> C ошибкой: <span class="error-result">{result.errorCount}</span> </span>',
|
|
22
|
+
' <span class="result-item"> Всего: <span class="total-result">{result.totalCount}</span> </span>',
|
|
23
|
+
' </div> ',
|
|
24
|
+
' <div class="messages">',
|
|
25
|
+
' <tpl for="values.result.messages">',
|
|
26
|
+
' {.}<br>',
|
|
27
|
+
' </tpl>',
|
|
28
|
+
' </div>',
|
|
29
|
+
'</div>'
|
|
30
|
+
),
|
|
31
|
+
});
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
.UniversalUploadResults {
|
|
2
|
+
.main-container {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
height: 100%;
|
|
8
|
+
margin-bottom: 20px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.results,
|
|
12
|
+
.messages {
|
|
13
|
+
margin-bottom: 5px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.header {
|
|
17
|
+
text-align: center;
|
|
18
|
+
line-height: 20px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.results {
|
|
22
|
+
line-height: 20px;
|
|
23
|
+
.result-item {
|
|
24
|
+
margin-left: 10px;
|
|
25
|
+
margin-right: 10px;
|
|
26
|
+
|
|
27
|
+
.good-result {
|
|
28
|
+
font-weight: normal;
|
|
29
|
+
color: rgba(82, 148, 100, 1);
|
|
30
|
+
}
|
|
31
|
+
.error-result {
|
|
32
|
+
font-weight: normal;
|
|
33
|
+
color: rgba(211, 71, 62, 1);
|
|
34
|
+
}
|
|
35
|
+
.total-result {
|
|
36
|
+
font-weight: normal;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
File without changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.window-wrap {
|
|
2
|
-
|
|
3
|
-
&.coon-mobile {
|
|
4
|
-
.x-title-text {
|
|
5
|
-
white-space: normal;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
1
|
+
.window-wrap {
|
|
2
|
+
|
|
3
|
+
&.coon-mobile {
|
|
4
|
+
.x-title-text {
|
|
5
|
+
white-space: normal;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
9
|
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
.overItemCls {
|
|
2
|
-
box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.5)
|
|
3
|
-
}
|
|
4
|
-
.universalmultiuploadform {
|
|
5
|
-
.files-container {
|
|
6
|
-
width: 100%;
|
|
7
|
-
height: 100%;
|
|
8
|
-
border: 1px dashed lightgray;
|
|
9
|
-
display: flex;
|
|
10
|
-
padding: 2px;
|
|
11
|
-
flex-wrap: wrap;
|
|
12
|
-
align-content: flex-start;
|
|
13
|
-
.file-name-container {
|
|
14
|
-
width: 100%;
|
|
15
|
-
font-size: 10px;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.file-item {
|
|
20
|
-
display: flex;
|
|
21
|
-
width: 100px;
|
|
22
|
-
height: 100px;
|
|
23
|
-
padding: 5px;
|
|
24
|
-
flex-direction: column;
|
|
25
|
-
justify-content: flex-start;
|
|
26
|
-
align-items: center;
|
|
27
|
-
overflow: hidden;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
1
|
+
.overItemCls {
|
|
2
|
+
box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.5)
|
|
3
|
+
}
|
|
4
|
+
.universalmultiuploadform {
|
|
5
|
+
.files-container {
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
border: 1px dashed lightgray;
|
|
9
|
+
display: flex;
|
|
10
|
+
padding: 2px;
|
|
11
|
+
flex-wrap: wrap;
|
|
12
|
+
align-content: flex-start;
|
|
13
|
+
.file-name-container {
|
|
14
|
+
width: 100%;
|
|
15
|
+
font-size: 10px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.file-item {
|
|
20
|
+
display: flex;
|
|
21
|
+
width: 100px;
|
|
22
|
+
height: 100px;
|
|
23
|
+
padding: 5px;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
justify-content: flex-start;
|
|
26
|
+
align-items: center;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
$dropzone-background: #f9f9fb;
|
|
2
|
-
|
|
3
|
-
.drop-zone-dragover div.drop-zone-container {
|
|
4
|
-
border: 1px dotted red;
|
|
5
|
-
background-color: lightgreen !important;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.drop-zone-container {
|
|
9
|
-
width: 100%;
|
|
10
|
-
height: 100px;
|
|
11
|
-
background: $dropzone-background;
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
display: flex;
|
|
14
|
-
|
|
15
|
-
.drop-zone {
|
|
16
|
-
border: 1px dotted black;
|
|
17
|
-
display: flex;
|
|
18
|
-
flex-grow: 1;
|
|
19
|
-
align-items: center;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
.icon-upload {
|
|
22
|
-
font-size:40px;
|
|
23
|
-
margin-right: 20px
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
.file-input {
|
|
27
|
-
position: absolute;
|
|
28
|
-
width: 100%;
|
|
29
|
-
height: 100%;
|
|
30
|
-
top: 0;
|
|
31
|
-
left: 0;
|
|
32
|
-
opacity: 0;
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
visibility: revert;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
1
|
+
$dropzone-background: #f9f9fb;
|
|
2
|
+
|
|
3
|
+
.drop-zone-dragover div.drop-zone-container {
|
|
4
|
+
border: 1px dotted red;
|
|
5
|
+
background-color: lightgreen !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.drop-zone-container {
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 100px;
|
|
11
|
+
background: $dropzone-background;
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
display: flex;
|
|
14
|
+
|
|
15
|
+
.drop-zone {
|
|
16
|
+
border: 1px dotted black;
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-grow: 1;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
.icon-upload {
|
|
22
|
+
font-size:40px;
|
|
23
|
+
margin-right: 20px
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
.file-input {
|
|
27
|
+
position: absolute;
|
|
28
|
+
width: 100%;
|
|
29
|
+
height: 100%;
|
|
30
|
+
top: 0;
|
|
31
|
+
left: 0;
|
|
32
|
+
opacity: 0;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
visibility: revert;
|
|
35
|
+
}
|
|
36
|
+
}
|