ru.coon 2.8.34 → 2.8.36
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/CHANGELOG.md +18 -0
- package/package.json +1 -1
- package/sass/src/all.scss +0 -1
- package/src/report/plugin/grid/GridRowCountPlugin.js +7 -3
- package/src/report/selectionModels/MixedRowSelectionModel.js +1 -0
- package/src/security/securitySettingComponent/RoleEditPanelController.js +2 -3
- package/src/security/securitySettingComponent/uiCP/RoleEditUiCPController.js +1 -1
- package/src/security/securitySettingComponent/url/RoleEditUrlController.js +3 -0
- package/src/security/securitySettingComponent/user/RoleEditUserController.js +4 -1
- package/src/version.js +1 -1
- package/sass/src/component/Button.scss +0 -699
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
|
+
# Version 2.8.36, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/ac608fdca962cfa8af527838d308dcfd40f85f39)
|
|
2
|
+
* ## Fixes
|
|
3
|
+
* <span style='color:red'>fix edit user roles</span> ([23141a], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/23141ac0b09283e97e0f7351f45feac800e5276a))
|
|
4
|
+
|
|
5
|
+
* update: CHANGELOG.md ([837174], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/8371747b3411f33cbc38fe2399e50037732ff60d))
|
|
6
|
+
|
|
7
|
+
# Version 2.8.35, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/36f6eeedb3ad71d1e54b83364c2634e7459b767f)
|
|
8
|
+
* update: CHANGELOG.md ([e6af30], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/e6af309d269470ca9e41ca1d52116ff7b87de9f0))
|
|
9
|
+
|
|
10
|
+
# Version 2.8.34, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/8aff2ff7529f0b21fb3151ae53f2409c16840bc2)
|
|
11
|
+
* ## Fixes
|
|
12
|
+
* <span style='color:red'> edit user roles</span> ([939a2d], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/939a2d6bb50daddd8ed265c04f9e355e53c37098))
|
|
13
|
+
|
|
14
|
+
* Revert "Merge branch 'TR-69858' into 'develop'" ([f03f50], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/f03f5087de3f78048cfa554985fe342ebfcb2792))
|
|
15
|
+
* update: CHANGELOG.md ([a4a1e9], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/a4a1e9873b0dbaf25ab17d854eb3bfee81924d0f))
|
|
16
|
+
|
|
1
17
|
# Version 2.8.34, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/74999de9bdff9c55e4f0b1d8840558559f532fa8)
|
|
2
18
|
* ## Features
|
|
19
|
+
* <span style='color:green'>feat: HT-10938: work with mixed row selection model</span> ([734f87], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/734f8738a52b2126c7dcc42cfc458d4fc7eeca2f))
|
|
3
20
|
* <span style='color:green'>feat: HT-11121: create report filter form component</span> ([ab1494], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/ab1494918f8f42640c7b577e407fbde080de55f5))
|
|
4
21
|
|
|
5
22
|
* ## Fixes
|
|
@@ -98,6 +115,7 @@ remove unusual alternateClassName</span> ([7427bf], [link](http://gitlab-dbr.sig
|
|
|
98
115
|
* <span style='color:green'>feat: HT-10270 CoonChart new chartType and refactoring</span> ([055785], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/05578581ee41bb993ed48efbc9072d0fd11b69b5))
|
|
99
116
|
* <span style='color:green'>feat: HT-10270 CoonChart new chartType and refactoring</span> ([dd953a], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/dd953a4782945ddfb6516fe8866bc9d6ee9d3370))
|
|
100
117
|
* <span style='color:green'>feat: HT-10270 CoonChart new chartType and refactoring</span> ([81da35], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/81da35474745b812fcf89c4b569870ed72a4c66e))
|
|
118
|
+
* <span style='color:green'>feat: TR-69858 рефакторинг компонента UiCustomPanelPluginSelectWindow и связанных с ним</span> ([374412], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/37441261d05a428c66152e36938b37dd52dbb79d))
|
|
101
119
|
|
|
102
120
|
* upd ([571495], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/571495ffbd6b23c76edd9eac741b87163fc59cdc))
|
|
103
121
|
* add loadFakeData to ReportPanel ([671b7f], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/671b7f27f3538291a56ba8c1b45016910b42e17d))
|
package/package.json
CHANGED
package/sass/src/all.scss
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import './component/Button.scss';
|
|
@@ -20,9 +20,10 @@ Ext.define('Coon.report.plugin.grid.GridRowCountPlugin', {
|
|
|
20
20
|
this.component.getStore().on('load', this.recalculate, this);
|
|
21
21
|
this.component.getStore().on('datachanged', this.recalculate, this);
|
|
22
22
|
this.component.getStore().on('remove', this.recalculate, this);
|
|
23
|
-
if (this.isCalculateSelected(this.component.getSelectionModel())) {
|
|
23
|
+
if (this.isCalculateSelected(this.component.getSelectionModel()) || this.component.getSelectionModel().type === 'mixedRowModel') {
|
|
24
24
|
this.component.getSelectionModel().on('selectionchange', this.recalculate, this);
|
|
25
25
|
}
|
|
26
|
+
this.component.getSelectionModel().on('mixedrowselectionchange', this.recalculate, this);
|
|
26
27
|
},
|
|
27
28
|
|
|
28
29
|
createToolbarItem: function(config) {
|
|
@@ -42,11 +43,14 @@ Ext.define('Coon.report.plugin.grid.GridRowCountPlugin', {
|
|
|
42
43
|
let count = '';
|
|
43
44
|
const selectionModel = this.component.getSelectionModel();
|
|
44
45
|
const isCalculateSelected = this.isCalculateSelected(selectionModel);
|
|
46
|
+
if (selectionModel.type === 'mixedRowModel') {
|
|
47
|
+
count += selectionModel.getSelection().length + '/';
|
|
48
|
+
count += this.component.getStore().getCount();
|
|
49
|
+
return `${this.withSelectionTitle}: <span style="font-weight: bold;">${count}</span>`;
|
|
50
|
+
}
|
|
45
51
|
if (isCalculateSelected) {
|
|
46
52
|
count += selectionModel.getSelection().length + '/';
|
|
47
53
|
}
|
|
48
|
-
count += this.component.getStore().getCount();
|
|
49
|
-
|
|
50
54
|
return (isCalculateSelected ? this.withSelectionTitle : this.totalTitle) +
|
|
51
55
|
': <span style="font-weight: bold;">' + count + '</span>';
|
|
52
56
|
},
|
|
@@ -30,9 +30,8 @@ Ext.define('Coon.security.securitySettingComponent.RoleEditPanelController', {
|
|
|
30
30
|
|
|
31
31
|
getGitData() {
|
|
32
32
|
this.view.mask('Загрузка');
|
|
33
|
-
const params = new URLSearchParams();
|
|
34
33
|
const pathsArray = Object.values(this.paths);
|
|
35
|
-
|
|
34
|
+
const params = {paths: pathsArray};
|
|
36
35
|
return new Promise((resolve, reject) => {
|
|
37
36
|
Coon.Function.doRequest(null, {
|
|
38
37
|
url: 'git/opa/downloadBulk',
|
|
@@ -50,7 +49,7 @@ Ext.define('Coon.security.securitySettingComponent.RoleEditPanelController', {
|
|
|
50
49
|
if (data) {
|
|
51
50
|
const gitData = JSON.parse(data);
|
|
52
51
|
const parseData = (path) => {
|
|
53
|
-
return JSON.parse(gitData.find((el) => el.path === this.paths
|
|
52
|
+
return JSON.parse(gitData.find((el) => el.path === this.paths[path]).content || '{}');
|
|
54
53
|
};
|
|
55
54
|
this.menuGitDataContent = parseData('menuByRole');
|
|
56
55
|
this.reportGitDataContent = parseData('reportPlugin');
|
|
@@ -138,7 +138,7 @@ Ext.define('Coon.security.securitySettingComponent.uiCP.RoleEditUiCPController',
|
|
|
138
138
|
delete this.uiCpGitDataContent[masterUiElement];
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
this.lookup('UICPButtonsGrid').getStore().remove(selectedUICPButtonRecord);
|
|
141
|
+
// this.lookup('UICPButtonsGrid').getStore().remove(selectedUICPButtonRecord);
|
|
142
142
|
},
|
|
143
143
|
|
|
144
144
|
});
|
|
@@ -11,6 +11,9 @@ Ext.define('Coon.security.securitySettingComponent.url.RoleEditUrlController', {
|
|
|
11
11
|
return;
|
|
12
12
|
}
|
|
13
13
|
this.urlGitDataContent = data;
|
|
14
|
+
if (!this.urlGitDataContent[this.role]) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
14
17
|
this.getView().getStore().loadData(this.urlGitDataContent[this.role]);
|
|
15
18
|
},
|
|
16
19
|
|
|
@@ -54,9 +54,12 @@ Ext.define('Coon.security.securitySettingComponent.user.RoleEditUserController',
|
|
|
54
54
|
deleteUserNameRecordHandler() {
|
|
55
55
|
const selectedUserRecord = this.getView().getSelection()[0];
|
|
56
56
|
const userName = selectedUserRecord.get('userName');
|
|
57
|
+
if (!this.userRoleGitDataContent[userName]) {
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
57
60
|
const index = this.userRoleGitDataContent[userName].findIndex((el) => el === this.role);
|
|
58
61
|
index !== -1 && this.userRoleGitDataContent[userName].splice(index, 1);
|
|
59
|
-
this.getView().getStore().remove(selectedUserRecord);
|
|
62
|
+
// this.getView().getStore().remove(selectedUserRecord);
|
|
60
63
|
},
|
|
61
64
|
|
|
62
65
|
getUserRoleGitDataContent() {
|
package/src/version.js
CHANGED
|
@@ -1,699 +0,0 @@
|
|
|
1
|
-
@mixin button-negativity {
|
|
2
|
-
}
|
|
3
|
-
|
|
4
|
-
@mixin sigma-button-small-ui(
|
|
5
|
-
$ui,
|
|
6
|
-
$border-radius: $button-small-border-radius,
|
|
7
|
-
$border-width: $button-small-border-width,
|
|
8
|
-
$iconColor: null,
|
|
9
|
-
|
|
10
|
-
$border-color: null,
|
|
11
|
-
$border-color-over: null,
|
|
12
|
-
$border-color-focus: null,
|
|
13
|
-
$border-color-pressed: null,
|
|
14
|
-
$border-color-focus-over: null,
|
|
15
|
-
$border-color-focus-pressed: null,
|
|
16
|
-
$border-color-disabled: null,
|
|
17
|
-
|
|
18
|
-
$padding: $button-small-padding,
|
|
19
|
-
$text-padding: $button-small-text-padding,
|
|
20
|
-
$text-transform: "uppercase",
|
|
21
|
-
|
|
22
|
-
$background-color: null,
|
|
23
|
-
$background-color-over: null,
|
|
24
|
-
$background-color-focus: null,
|
|
25
|
-
$background-color-pressed: null,
|
|
26
|
-
$background-color-focus-over: null,
|
|
27
|
-
$background-color-focus-pressed: null,
|
|
28
|
-
$background-color-disabled: null,
|
|
29
|
-
|
|
30
|
-
$background-gradient: $button-default-background-gradient,
|
|
31
|
-
$background-gradient-over: $button-default-background-gradient-over,
|
|
32
|
-
$background-gradient-focus: $button-default-background-gradient-focus,
|
|
33
|
-
$background-gradient-pressed: $button-default-background-gradient-pressed,
|
|
34
|
-
$background-gradient-focus-over: $button-default-background-gradient-focus-over,
|
|
35
|
-
$background-gradient-focus-pressed: $button-default-background-gradient-focus-pressed,
|
|
36
|
-
$background-gradient-disabled: $button-default-background-gradient-disabled,
|
|
37
|
-
|
|
38
|
-
$color: null,
|
|
39
|
-
$color-over: null,
|
|
40
|
-
$color-focus: null,
|
|
41
|
-
$color-pressed: null,
|
|
42
|
-
$color-focus-over: null,
|
|
43
|
-
$color-focus-pressed: null,
|
|
44
|
-
$color-disabled: null,
|
|
45
|
-
|
|
46
|
-
$inner-border-width: null,
|
|
47
|
-
$inner-border-width-over: null,
|
|
48
|
-
$inner-border-width-focus: null,
|
|
49
|
-
$inner-border-width-pressed: null,
|
|
50
|
-
$inner-border-width-focus-over: null,
|
|
51
|
-
$inner-border-width-focus-pressed: null,
|
|
52
|
-
$inner-border-width-disabled: null,
|
|
53
|
-
|
|
54
|
-
$inner-border-color: null,
|
|
55
|
-
$inner-border-color-over: null,
|
|
56
|
-
$inner-border-color-focus: null,
|
|
57
|
-
$inner-border-color-pressed: null,
|
|
58
|
-
$inner-border-color-focus-over: null,
|
|
59
|
-
$inner-border-color-focus-pressed: null,
|
|
60
|
-
$inner-border-color-disabled: null,
|
|
61
|
-
|
|
62
|
-
$body-outline-width-focus: $button-default-body-outline-width-focus,
|
|
63
|
-
$body-outline-style-focus: $button-default-body-outline-style-focus,
|
|
64
|
-
$body-outline-color-focus: $button-default-body-outline-color-focus,
|
|
65
|
-
|
|
66
|
-
$font-size: null,
|
|
67
|
-
$font-size-over: null,
|
|
68
|
-
$font-size-focus: null,
|
|
69
|
-
$font-size-pressed: null,
|
|
70
|
-
$font-size-focus-over: null,
|
|
71
|
-
$font-size-focus-pressed: null,
|
|
72
|
-
$font-size-disabled: null,
|
|
73
|
-
|
|
74
|
-
$font-weight: null,
|
|
75
|
-
$font-weight-over: null,
|
|
76
|
-
$font-weight-focus: null,
|
|
77
|
-
$font-weight-pressed: null,
|
|
78
|
-
$font-weight-focus-over: null,
|
|
79
|
-
$font-weight-focus-pressed: null,
|
|
80
|
-
$font-weight-disabled: null,
|
|
81
|
-
|
|
82
|
-
$font-family: null,
|
|
83
|
-
$font-family-over: null,
|
|
84
|
-
$font-family-focus: null,
|
|
85
|
-
$font-family-pressed: null,
|
|
86
|
-
$font-family-focus-over: null,
|
|
87
|
-
$font-family-focus-pressed: null,
|
|
88
|
-
$font-family-disabled: null,
|
|
89
|
-
|
|
90
|
-
$line-height: $button-small-line-height,
|
|
91
|
-
$icon-size: $button-small-icon-size,
|
|
92
|
-
$glyph-font-size: $button-small-glyph-font-size,
|
|
93
|
-
$icon-spacing: $button-small-icon-spacing,
|
|
94
|
-
$glyph-color: $button-default-glyph-color,
|
|
95
|
-
$glyph-opacity: $button-default-glyph-opacity,
|
|
96
|
-
$arrow-width: $button-small-arrow-width,
|
|
97
|
-
$arrow-height: $button-small-arrow-height,
|
|
98
|
-
$arrow-glyph: $button-small-arrow-glyph,
|
|
99
|
-
$arrow-glyph-color: $button-default-arrow-glyph-color,
|
|
100
|
-
$split-width: $button-small-split-width,
|
|
101
|
-
$split-height: $button-small-split-height,
|
|
102
|
-
$split-line-width: $button-small-split-line-width,
|
|
103
|
-
$split-line-color: $button-default-split-line-color,
|
|
104
|
-
$include-ui-menu-arrows: $button-include-ui-menu-arrows,
|
|
105
|
-
$include-ui-split-arrows: $button-include-ui-split-arrows,
|
|
106
|
-
$include-split-noline-arrows: $button-include-split-noline-arrows,
|
|
107
|
-
$include-split-over-arrows: $button-include-split-over-arrows,
|
|
108
|
-
$opacity-disabled: $button-opacity-disabled,
|
|
109
|
-
$inner-opacity-disabled: $button-inner-opacity-disabled,
|
|
110
|
-
|
|
111
|
-
$button-hovered-color: null,
|
|
112
|
-
$box-shadow: null,
|
|
113
|
-
$letter-spacing: null
|
|
114
|
-
) {
|
|
115
|
-
@if $color ==null {
|
|
116
|
-
$color: white;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
@if $font-size ==null {
|
|
120
|
-
$font-size: small;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
@if $font-weight ==null {
|
|
124
|
-
$font-weight: normal;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.#{$prefix}segmented-button {
|
|
128
|
-
border: 1px solid $secondary-border-color-text;
|
|
129
|
-
border-radius: 6px;
|
|
130
|
-
overflow: hidden;
|
|
131
|
-
|
|
132
|
-
.x-segmented-button-item {
|
|
133
|
-
padding: 6px 8px;
|
|
134
|
-
background-color: $secondary-background-color;
|
|
135
|
-
|
|
136
|
-
.x-btn-inner {
|
|
137
|
-
color: $secondary-color-text;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
&.x-btn-over {
|
|
141
|
-
background-color: inherit;
|
|
142
|
-
|
|
143
|
-
.x-btn-inner {
|
|
144
|
-
color: inherit;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
&.x-btn-pressed {
|
|
149
|
-
background-color: $secondary-background-color-pressed;
|
|
150
|
-
|
|
151
|
-
.x-btn-inner {
|
|
152
|
-
color: $secondary-color-text-pressed;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
& > *:not(:last-child) {
|
|
158
|
-
border-right: 1px solid $secondary-border-color-text;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.#{$prefix}btn-#{$ui}-small {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
@if $ui =='primary' {
|
|
166
|
-
& {
|
|
167
|
-
box-shadow: 0px 1px 4px $primary-box-shadow-color;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
&.x-btn-over {
|
|
171
|
-
box-shadow: 0px 2px 7px $primary-box-shadow-color-hover;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
&.x-btn-pressed {
|
|
175
|
-
box-shadow: 0px 6px 9px $primary-box-shadow-color-active;
|
|
176
|
-
}
|
|
177
|
-
&.x-btn-disabled {
|
|
178
|
-
box-shadow: none;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
@if $ui =='primary-with-icon' {
|
|
183
|
-
& {
|
|
184
|
-
gap: 8px;
|
|
185
|
-
box-shadow: 0px 1px 4px $primary-with-icon-box-shadow-color;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
&.x-btn-over {
|
|
189
|
-
box-shadow: 0px 2px 7px $primary-box-shadow-color-hover;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
&.x-btn-pressed {
|
|
193
|
-
box-shadow: 0px 6px 9px $primary-box-shadow-color-active;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.#{$prefix}btn-icon-el-#{$ui}-small {
|
|
197
|
-
.x-fa {
|
|
198
|
-
background-color: transparent;
|
|
199
|
-
color: $primary-icon-color;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.x-fas {
|
|
203
|
-
background-color: transparent;
|
|
204
|
-
color: $primary-icon-color;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.x-far {
|
|
208
|
-
background-color: transparent;
|
|
209
|
-
color: $primary-icon-color;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.fa {
|
|
213
|
-
background-color: transparent;
|
|
214
|
-
color: $primary-icon-color;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.svg-icon & {
|
|
218
|
-
background-color: $primary-icon-color;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.svg-icon.#{$prefix}btn-icon-el-#{$ui}-small {
|
|
223
|
-
background-color: $primary-icon-color;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
&.x-btn-disabled {
|
|
227
|
-
.x-fa {
|
|
228
|
-
color: $primary-icon-color-disabled;
|
|
229
|
-
background-color: transparent;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.x-fas {
|
|
233
|
-
color: $primary-icon-color-disabled;
|
|
234
|
-
background-color: transparent;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.x-far {
|
|
238
|
-
color: $primary-icon-color-disabled;
|
|
239
|
-
background-color: transparent;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.fa {
|
|
243
|
-
color: $primary-icon-color-disabled;
|
|
244
|
-
background-color: transparent;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.svg-icon {
|
|
248
|
-
background-color: $primary-icon-color-disabled;
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
@if $ui =='primary-only-icon' {
|
|
254
|
-
& {
|
|
255
|
-
width: 36px;
|
|
256
|
-
box-shadow: 0px 1px 4px $primary-only-icon-box-shadow-color-active;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
&.x-btn-over {
|
|
260
|
-
box-shadow: 0px 2px 7px $primary-box-shadow-color-hover;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
&.x-btn-pressed {
|
|
264
|
-
box-shadow: 0px 6px 9px $primary-box-shadow-color-active;
|
|
265
|
-
}
|
|
266
|
-
.#{$prefix}btn-icon-el-#{$ui}-small {
|
|
267
|
-
.x-fa {
|
|
268
|
-
background-color: transparent;
|
|
269
|
-
color: $primary-icon-color;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
.x-fas {
|
|
273
|
-
background-color: transparent;
|
|
274
|
-
color: $primary-icon-color;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
.x-far {
|
|
278
|
-
background-color: transparent;
|
|
279
|
-
color: $primary-icon-color;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.fa {
|
|
283
|
-
background-color: transparent;
|
|
284
|
-
color: $primary-icon-color;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
.svg-icon.#{$prefix}btn-icon-el-#{$ui}-small {
|
|
288
|
-
background-color: $primary-icon-color;
|
|
289
|
-
}
|
|
290
|
-
&.x-btn-disabled {
|
|
291
|
-
.x-fa {
|
|
292
|
-
color: $primary-icon-color-disabled;
|
|
293
|
-
background-color: transparent;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.x-fas {
|
|
297
|
-
color: $primary-icon-color-disabled;
|
|
298
|
-
background-color: transparent;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
.x-far {
|
|
302
|
-
color: $primary-icon-color-disabled;
|
|
303
|
-
background-color: transparent;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
.fa {
|
|
307
|
-
color: $primary-icon-color-disabled;
|
|
308
|
-
background-color: transparent;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
.svg-icon {
|
|
312
|
-
background-color: $primary-icon-color-disabled;
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
@if $ui =='secondary-with-icon' {
|
|
319
|
-
|
|
320
|
-
& {
|
|
321
|
-
gap: 8px;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
.#{$prefix}btn-icon-el-#{$ui}-small {
|
|
325
|
-
.x-fa {
|
|
326
|
-
background-color: transparent;
|
|
327
|
-
color: $secondary-icon-color;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
.x-fas {
|
|
331
|
-
background-color: transparent;
|
|
332
|
-
color: $secondary-icon-color;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
.x-far {
|
|
336
|
-
background-color: transparent;
|
|
337
|
-
color: $secondary-icon-color;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
.fa {
|
|
341
|
-
background-color: transparent;
|
|
342
|
-
color: $secondary-icon-color;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.svg-icon {
|
|
346
|
-
background-color: $secondary-icon-color;
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
&.x-btn-disabled {
|
|
351
|
-
.x-fa {
|
|
352
|
-
color: $secondary-icon-color-disabled;
|
|
353
|
-
background-color: transparent;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
.x-fas {
|
|
357
|
-
color: $secondary-icon-color-disabled;
|
|
358
|
-
background-color: transparent;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
.x-far {
|
|
362
|
-
color: $secondary-icon-color-disabled;
|
|
363
|
-
background-color: transparent;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
.fa {
|
|
367
|
-
color: $secondary-icon-color-disabled;
|
|
368
|
-
background-color: transparent;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
.svg-icon {
|
|
372
|
-
background-color: $secondary-icon-color-disabled;
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
@if $ui =='secondary-only-icon' {
|
|
378
|
-
|
|
379
|
-
& {
|
|
380
|
-
width: 36px;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
.#{$prefix}btn-icon-el-#{$ui}-small {
|
|
384
|
-
.x-fa {
|
|
385
|
-
background-color: transparent;
|
|
386
|
-
color: $secondary-icon-color;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
.x-fas {
|
|
390
|
-
background-color: transparent;
|
|
391
|
-
color: $secondary-icon-color;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
.x-far {
|
|
395
|
-
background-color: transparent;
|
|
396
|
-
color: $secondary-icon-color;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
.fa {
|
|
400
|
-
background-color: transparent;
|
|
401
|
-
color: $secondary-icon-color;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
.svg-icon {
|
|
405
|
-
background-color: $secondary-icon-color;
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
&.x-btn-disabled {
|
|
410
|
-
.x-fa {
|
|
411
|
-
color: $secondary-icon-color-disabled;
|
|
412
|
-
background-color: transparent;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
.x-fas {
|
|
416
|
-
color: $secondary-icon-color-disabled;
|
|
417
|
-
background-color: transparent;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
.x-far {
|
|
421
|
-
color: $secondary-icon-color-disabled;
|
|
422
|
-
background-color: transparent;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
.fa {
|
|
426
|
-
color: $secondary-icon-color-disabled;
|
|
427
|
-
background-color: transparent;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
.svg-icon {
|
|
431
|
-
background-color: $secondary-icon-color-disabled;
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
@if $ui =='tertiary-with-icon' {
|
|
438
|
-
& {
|
|
439
|
-
gap: 8px;
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
.#{$prefix}btn-icon-el-#{$ui}-small {
|
|
443
|
-
.x-fa {
|
|
444
|
-
background-color: transparent;
|
|
445
|
-
color: $tertiary-icon-color;
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
.x-fas {
|
|
449
|
-
background-color: transparent;
|
|
450
|
-
color: $tertiary-icon-color;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
.x-far {
|
|
454
|
-
background-color: transparent;
|
|
455
|
-
color: $tertiary-icon-color;
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
.fa {
|
|
459
|
-
background-color: transparent;
|
|
460
|
-
color: $tertiary-icon-color;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
.svg-icon {
|
|
464
|
-
background-color: $tertiary-icon-color;
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
&.x-btn-disabled {
|
|
469
|
-
.x-fa {
|
|
470
|
-
color: $tertiary-icon-color-disabled;
|
|
471
|
-
background-color: transparent;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
.x-fas {
|
|
475
|
-
color: $tertiary-icon-color-disabled;
|
|
476
|
-
background-color: transparent;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
.x-far {
|
|
480
|
-
color: $tertiary-icon-color-disabled;
|
|
481
|
-
background-color: transparent;
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
.fa {
|
|
485
|
-
color: $tertiary-icon-color-disabled;
|
|
486
|
-
background-color: transparent;
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
.svg-icon {
|
|
490
|
-
background-color: $tertiary-icon-color-disabled;
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
@if $ui == "tertiary-only-icon" {
|
|
496
|
-
& {
|
|
497
|
-
width: 36px;
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
.#{$prefix}btn-icon-el-#{$ui}-small {
|
|
501
|
-
.x-fa {
|
|
502
|
-
background-color: transparent;
|
|
503
|
-
color: $tertiary-icon-color;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
.x-fas {
|
|
507
|
-
background-color: transparent;
|
|
508
|
-
color: $tertiary-icon-color;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
.x-far {
|
|
512
|
-
background-color: transparent;
|
|
513
|
-
color: $tertiary-icon-color;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
.fa {
|
|
517
|
-
background-color: transparent;
|
|
518
|
-
color: $tertiary-icon-color;
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
.svg-icon {
|
|
522
|
-
background-color: $tertiary-icon-color;
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
&.x-btn-disabled {
|
|
527
|
-
.x-fa {
|
|
528
|
-
color: $tertiary-icon-color-disabled;
|
|
529
|
-
background-color: transparent;
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
.x-fas {
|
|
533
|
-
color: $tertiary-icon-color-disabled;
|
|
534
|
-
background-color: transparent;
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
.x-far {
|
|
538
|
-
color: $tertiary-icon-color-disabled;
|
|
539
|
-
background-color: transparent;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
.fa {
|
|
543
|
-
color: $tertiary-icon-color-disabled;
|
|
544
|
-
background-color: transparent;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
.svg-icon {
|
|
548
|
-
background-color: $tertiary-icon-color-disabled;
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
@if $iconColor !=null {
|
|
554
|
-
.#{$prefix}btn-icon-el-#{$ui}-small {
|
|
555
|
-
color: $iconColor;
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
transition: transform 0.1s;
|
|
560
|
-
|
|
561
|
-
&:hover,
|
|
562
|
-
&:active {
|
|
563
|
-
transition: background 1.5s;
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
$buttons: "primary", "secondary", "tertiary", "primary-with-icon", "secondary-with-icon", "tertiary-with-icon",
|
|
567
|
-
"primary-only-icon", "secondary-only-icon", "tertiary-only-icon", "error", "success", "outline-success",
|
|
568
|
-
"outline-error";
|
|
569
|
-
|
|
570
|
-
@each $button in $buttons {
|
|
571
|
-
@if $ui == $button {
|
|
572
|
-
.#{$prefix}btn-inner-#{$ui}-small {
|
|
573
|
-
height: 20px;
|
|
574
|
-
$font-family: "Roboto";
|
|
575
|
-
font-style: normal;
|
|
576
|
-
$font-weight: 500;
|
|
577
|
-
$font-size: 14px;
|
|
578
|
-
line-height: 20px;
|
|
579
|
-
letter-spacing: 1px;
|
|
580
|
-
}
|
|
581
|
-
.#{$prefix}btn-inner-#{$ui}-small::first-letter {
|
|
582
|
-
text-transform: uppercase;
|
|
583
|
-
}
|
|
584
|
-
& {
|
|
585
|
-
display: inline-block;
|
|
586
|
-
$padding: 8px 16px;
|
|
587
|
-
gap: 10px;
|
|
588
|
-
min-width: 36px;
|
|
589
|
-
height: 36px;
|
|
590
|
-
$border-radius: 6px;
|
|
591
|
-
}
|
|
592
|
-
.svg-icon {
|
|
593
|
-
min-width: 16px !important;
|
|
594
|
-
min-height: 16px !important;
|
|
595
|
-
box-sizing: border-box;
|
|
596
|
-
}
|
|
597
|
-
.fa {
|
|
598
|
-
min-width: 16px !important;
|
|
599
|
-
min-height: 16px !important;
|
|
600
|
-
box-sizing: border-box;
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
@include extjs-button-small-ui(
|
|
607
|
-
$ui,
|
|
608
|
-
$border-radius: $border-radius,
|
|
609
|
-
$border-width: $border-width,
|
|
610
|
-
$border-color: $border-color,
|
|
611
|
-
$border-color-over: $border-color-over,
|
|
612
|
-
$border-color-focus: $border-color-focus,
|
|
613
|
-
$border-color-pressed: $border-color-pressed,
|
|
614
|
-
$border-color-focus-over: $border-color-focus-over,
|
|
615
|
-
$border-color-focus-pressed: $border-color-focus-pressed,
|
|
616
|
-
$border-color-disabled: $border-color-disabled,
|
|
617
|
-
$padding: $padding,
|
|
618
|
-
$text-padding: $text-padding,
|
|
619
|
-
$background-color: $background-color,
|
|
620
|
-
$background-color-over: $background-color-over,
|
|
621
|
-
$background-color-focus: $background-color-focus,
|
|
622
|
-
$background-color-pressed: $background-color-pressed,
|
|
623
|
-
$background-color-focus-over: $background-color-focus-over,
|
|
624
|
-
$background-color-focus-pressed: $background-color-focus-pressed,
|
|
625
|
-
$background-color-disabled: $background-color-disabled,
|
|
626
|
-
$background-gradient: $background-gradient,
|
|
627
|
-
$background-gradient-over: $background-gradient-over,
|
|
628
|
-
$background-gradient-focus: $background-gradient-focus,
|
|
629
|
-
$background-gradient-pressed: $background-gradient-pressed,
|
|
630
|
-
$background-gradient-focus-over: $background-gradient-focus-over,
|
|
631
|
-
$background-gradient-focus-pressed: $background-gradient-focus-pressed,
|
|
632
|
-
$background-gradient-disabled: $background-gradient-disabled,
|
|
633
|
-
$color: $color,
|
|
634
|
-
$color-over: $color-over,
|
|
635
|
-
$color-focus: $color-focus,
|
|
636
|
-
$color-pressed: $color-pressed,
|
|
637
|
-
$color-focus-over: $color-focus-over,
|
|
638
|
-
$color-focus-pressed: $color-focus-pressed,
|
|
639
|
-
$color-disabled: $color-disabled,
|
|
640
|
-
$inner-border-width: $inner-border-width,
|
|
641
|
-
$inner-border-width-over: $inner-border-width-over,
|
|
642
|
-
$inner-border-width-focus: $inner-border-width-focus,
|
|
643
|
-
$inner-border-width-pressed: $inner-border-width-pressed,
|
|
644
|
-
$inner-border-width-focus-over: $inner-border-width-focus-over,
|
|
645
|
-
$inner-border-width-focus-pressed: $inner-border-width-focus-pressed,
|
|
646
|
-
$inner-border-width-disabled: $inner-border-width-disabled,
|
|
647
|
-
$inner-border-color: $inner-border-color,
|
|
648
|
-
$inner-border-color-over: $inner-border-color-over,
|
|
649
|
-
$inner-border-color-focus: $inner-border-color-focus,
|
|
650
|
-
$inner-border-color-pressed: $inner-border-color-pressed,
|
|
651
|
-
$inner-border-color-focus-over: $inner-border-color-focus-over,
|
|
652
|
-
$inner-border-color-focus-pressed: $inner-border-color-focus-pressed,
|
|
653
|
-
$inner-border-color-disabled: $inner-border-color-disabled,
|
|
654
|
-
$body-outline-width-focus: $body-outline-width-focus,
|
|
655
|
-
$body-outline-style-focus: $body-outline-style-focus,
|
|
656
|
-
$body-outline-color-focus: $body-outline-color-focus,
|
|
657
|
-
$font-size: $font-size,
|
|
658
|
-
$font-size-over: $font-size-over,
|
|
659
|
-
$font-size-focus: $font-size-focus,
|
|
660
|
-
$font-size-pressed: $font-size-pressed,
|
|
661
|
-
$font-size-focus-over: $font-size-focus-over,
|
|
662
|
-
$font-size-focus-pressed: $font-size-focus-pressed,
|
|
663
|
-
$font-size-disabled: $font-size-disabled,
|
|
664
|
-
$font-weight: $font-weight,
|
|
665
|
-
$font-weight-over: $font-weight-over,
|
|
666
|
-
$font-weight-focus: $font-weight-focus,
|
|
667
|
-
$font-weight-pressed: $font-weight-pressed,
|
|
668
|
-
$font-weight-focus-over: $font-weight-focus-over,
|
|
669
|
-
$font-weight-focus-pressed: $font-weight-focus-pressed,
|
|
670
|
-
$font-weight-disabled: $font-weight-disabled,
|
|
671
|
-
$font-family: $font-family,
|
|
672
|
-
$font-family-over: $font-family-over,
|
|
673
|
-
$font-family-focus: $font-family-focus,
|
|
674
|
-
$font-family-pressed: $font-family-pressed,
|
|
675
|
-
$font-family-focus-over: $font-family-focus-over,
|
|
676
|
-
$font-family-focus-pressed: $font-family-focus-pressed,
|
|
677
|
-
$font-family-disabled: $font-family-disabled,
|
|
678
|
-
$line-height: $line-height,
|
|
679
|
-
$icon-size: $icon-size,
|
|
680
|
-
$glyph-font-size: $glyph-font-size,
|
|
681
|
-
$icon-spacing: $icon-spacing,
|
|
682
|
-
$glyph-color: $glyph-color,
|
|
683
|
-
$glyph-opacity: $glyph-opacity,
|
|
684
|
-
$arrow-width: $arrow-width,
|
|
685
|
-
$arrow-height: $arrow-height,
|
|
686
|
-
$arrow-glyph: $arrow-glyph,
|
|
687
|
-
$arrow-glyph-color: $arrow-glyph-color,
|
|
688
|
-
$split-width: $split-width,
|
|
689
|
-
$split-height: $split-height,
|
|
690
|
-
$split-line-width: $split-line-width,
|
|
691
|
-
$split-line-color: $split-line-color,
|
|
692
|
-
$include-ui-menu-arrows: $include-ui-menu-arrows,
|
|
693
|
-
$include-ui-split-arrows: $include-ui-split-arrows,
|
|
694
|
-
$include-split-noline-arrows: $include-split-noline-arrows,
|
|
695
|
-
$include-split-over-arrows: $include-split-over-arrows,
|
|
696
|
-
$opacity-disabled: $opacity-disabled,
|
|
697
|
-
$inner-opacity-disabled: $inner-opacity-disabled
|
|
698
|
-
);
|
|
699
|
-
}
|