@it-enterprise/forcebpm-ui-kit 1.0.2-beta.33 → 1.0.2-beta.35
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/package.json +1 -1
- package/src/FAvatar.vue +1 -1
- package/src/FDialog.vue +1 -0
- package/src/FSearchPanel.vue +1 -0
- package/src/assets/icons/calendar.svg +3 -0
- package/src/assets/icons/group-star.svg +3 -0
- package/src/assets/icons/user-line.svg +4 -0
- package/src/assets/scss/buttons.scss +9 -0
- package/src/assets/scss/icons.scss +21 -0
- package/src/assets/scss/index.scss +1 -0
- package/src/assets/scss/input.scss +22 -13
- package/src/assets/scss/list.scss +64 -0
- package/src/assets/scss/overlay.scss +23 -13
- package/src/assets/scss/tables.scss +7 -0
- package/src/f-date-picker/FDatePicker.vue +23 -44
- package/src/locales/en.json +1 -0
- package/src/locales/ru.json +1 -0
- package/src/locales/uk.json +1 -0
package/package.json
CHANGED
package/src/FAvatar.vue
CHANGED
|
@@ -72,7 +72,7 @@ const errorHandler = () => {
|
|
|
72
72
|
<template>
|
|
73
73
|
<div class="f-avatar cursor-pointer" :style="sizeStyle">
|
|
74
74
|
<!-- GROUP -->
|
|
75
|
-
<v-tooltip v-if="group" :text="group.name" location="top
|
|
75
|
+
<v-tooltip v-if="group" :text="group.name" location="top left" :disabled="disabled">
|
|
76
76
|
<template #activator="{ props: propsTooltip }">
|
|
77
77
|
<div v-bind="propsTooltip" :style="sizeStyle" :class="avatarClass">
|
|
78
78
|
<i class="f-icon group-star bg-secondary text-center" :style="sizeStyle">
|
package/src/FDialog.vue
CHANGED
package/src/FSearchPanel.vue
CHANGED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.64258 1.6H11.0426V0H12.6426V1.6H13.4426C13.8669 1.6 14.2739 1.76857 14.5739 2.06863C14.874 2.36869 15.0426 2.77565 15.0426 3.2V14.4C15.0426 14.8243 14.874 15.2313 14.5739 15.5314C14.2739 15.8314 13.8669 16 13.4426 16H2.24258C1.81823 16 1.41127 15.8314 1.11121 15.5314C0.811149 15.2313 0.642578 14.8243 0.642578 14.4V3.2C0.642578 2.77565 0.811149 2.36869 1.11121 2.06863C1.41127 1.76857 1.81823 1.6 2.24258 1.6H3.04258V0H4.64258V1.6ZM2.24258 4.8V14.4H13.4426V4.8H2.24258ZM3.84258 7.2H5.44258V8.8H3.84258V7.2ZM7.04258 7.2H8.64258V8.8H7.04258V7.2ZM10.2426 7.2H11.8426V8.8H10.2426V7.2ZM10.2426 10.4H11.8426V12H10.2426V10.4ZM7.04258 10.4H8.64258V12H7.04258V10.4ZM3.84258 10.4H5.44258V12H3.84258V10.4Z" fill="#97A7C8"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M11.1848 0.831629L11 0.628796L10.8152 0.831629L8.85259 2.98575L6.07586 2.10153L5.8144 2.01827L5.75577 2.28633L5.13316 5.13316L2.28633 5.75577L2.01827 5.8144L2.10153 6.07586L2.98575 8.85259L0.831629 10.8152L0.628796 11L0.831629 11.1848L2.98575 13.1474L2.10153 15.9241L2.01827 16.1856L2.28633 16.2442L5.13316 16.8668L5.75577 19.7137L5.8144 19.9817L6.07586 19.8985L8.85259 19.0143L10.8152 21.1684L11 21.3712L11.1848 21.1684L13.1474 19.0142L15.9241 19.8985L16.1856 19.9817L16.2442 19.7137L16.8668 16.8668L19.7137 16.2442L19.9817 16.1856L19.8985 15.9241L19.0142 13.1474L21.1684 11.1848L21.3712 11L21.1684 10.8152L19.0143 8.85259L19.8985 6.07586L19.9817 5.8144L19.7137 5.75577L16.8668 5.13316L16.2442 2.28633L16.1856 2.01827L15.9241 2.10153L13.1474 2.98575L11.1848 0.831629Z" fill="#97A7C8" stroke="#C9CBD2" stroke-width="0.5"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="48" height="54" viewBox="0 0 48 54" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M41.5201 16.5496C41.5201 25.8097 33.547 33.0993 23.9886 33.0993C14.4301 33.0993 6.45703 25.8097 6.45703 16.5496C6.45703 7.28953 14.4301 0 23.9886 0C33.547 0 41.5201 7.28953 41.5201 16.5496ZM39.5352 16.5496C39.5352 24.5935 32.5747 31.1144 23.9886 31.1144C15.4024 31.1144 8.44191 24.5935 8.44191 16.5496C8.44191 8.50574 15.4024 1.98488 23.9886 1.98488C32.5747 1.98488 39.5352 8.50574 39.5352 16.5496Z" fill="#C9CBD2"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M32.1501 29.5571L32.9589 29.8346C37.2615 31.3104 40.9489 33.7148 43.5867 36.3705C46.1545 38.9557 48 42.0663 48 44.9964C48 45.9496 47.5655 46.7327 47.1116 47.2943C46.6492 47.8665 46.0421 48.3672 45.3866 48.8045C44.0711 49.6819 42.2773 50.4897 40.1889 51.1782C35.9916 52.562 30.2769 53.5708 24 53.5708C17.7238 53.5708 12.0091 52.562 7.81165 51.1782C5.72316 50.4897 3.92925 49.6819 2.61367 48.8045C1.9581 48.3673 1.35096 47.8665 0.888504 47.2944C0.434558 46.7328 0 45.9497 0 44.9964C0 42.0663 1.84546 38.9556 4.41304 36.3703C7.05064 33.7146 10.7378 31.3101 15.0398 29.8345L15.8484 29.5572L16.6054 29.9541C18.7901 31.0995 21.309 31.7584 23.9993 31.7584C26.6905 31.7584 29.2099 31.0994 31.3929 29.9543L32.1501 29.5571ZM46.0151 44.9964C46.0151 47.6682 36.1596 51.586 24 51.586C11.8418 51.586 1.98488 47.6682 1.98488 44.9964C1.98488 40.6801 7.64922 34.4678 15.6838 31.7121C18.1477 33.0038 20.9822 33.7433 23.9993 33.7433C27.0171 33.7433 29.8523 33.0038 32.3149 31.7121C40.3508 34.4685 46.0151 40.6801 46.0151 44.9964Z" fill="#C9CBD2"/>
|
|
4
|
+
</svg>
|
|
@@ -281,6 +281,27 @@
|
|
|
281
281
|
mask-size: contain;
|
|
282
282
|
mask-position: center;
|
|
283
283
|
}
|
|
284
|
+
&.group-star {
|
|
285
|
+
background-color: rgb(var(--v-theme-primary));
|
|
286
|
+
-webkit-mask: url('./../icons/group-star.svg') no-repeat;
|
|
287
|
+
mask: url('./../icons/group-star.svg') no-repeat;
|
|
288
|
+
mask-size: contain;
|
|
289
|
+
mask-position: center;
|
|
290
|
+
}
|
|
291
|
+
&.user-line {
|
|
292
|
+
background-color: rgb(var(--v-theme-primary));
|
|
293
|
+
-webkit-mask: url('./../icons/user-line.svg') no-repeat;
|
|
294
|
+
mask: url('./../icons/user-line.svg') no-repeat;
|
|
295
|
+
mask-size: contain;
|
|
296
|
+
mask-position: center;
|
|
297
|
+
}
|
|
298
|
+
&.calendar {
|
|
299
|
+
background-color: rgb(var(--v-theme-primary));
|
|
300
|
+
-webkit-mask: url('./../icons/calendar.svg') no-repeat;
|
|
301
|
+
mask: url('./../icons/calendar.svg') no-repeat;
|
|
302
|
+
mask-size: contain;
|
|
303
|
+
mask-position: center;
|
|
304
|
+
}
|
|
284
305
|
}
|
|
285
306
|
|
|
286
307
|
@media screen and (max-width: 1280px) {
|
|
@@ -75,10 +75,10 @@
|
|
|
75
75
|
}
|
|
76
76
|
.v-field__input {
|
|
77
77
|
padding-top: 16px;
|
|
78
|
-
padding-bottom:
|
|
78
|
+
padding-bottom: 6px;
|
|
79
79
|
padding-inline: 12px 12px;
|
|
80
|
-
min-height:
|
|
81
|
-
font-size: 0.
|
|
80
|
+
min-height: 40px;
|
|
81
|
+
font-size: 0.85em;
|
|
82
82
|
line-height: 1em;
|
|
83
83
|
color: rgb(var(--v-theme-subTitle));
|
|
84
84
|
&:is(:-webkit-autofill, :autofill) {
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
input::placeholder {
|
|
101
|
-
font-size: 0.
|
|
101
|
+
font-size: 0.85em;
|
|
102
102
|
opacity: 0.9;
|
|
103
103
|
color: rgb(var(--v-theme-subTitle));
|
|
104
104
|
}
|
|
@@ -197,13 +197,6 @@
|
|
|
197
197
|
transform: rotate(180deg);
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
|
-
.v-field {
|
|
201
|
-
.v-field__input {
|
|
202
|
-
padding-inline: 12px 8px;
|
|
203
|
-
font-size: 0.85em;
|
|
204
|
-
min-height: 45px;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
200
|
}
|
|
208
201
|
|
|
209
202
|
// Autocomplete
|
|
@@ -214,12 +207,12 @@
|
|
|
214
207
|
}
|
|
215
208
|
}
|
|
216
209
|
.v-autocomplete__selection {
|
|
217
|
-
height:
|
|
210
|
+
height: 16px;
|
|
218
211
|
.f-chip.v-chip {
|
|
219
212
|
--v-chip-height: 20px;
|
|
220
213
|
padding: 0;
|
|
221
214
|
border-radius: 16.8px;
|
|
222
|
-
font-size: 0.
|
|
215
|
+
font-size: 0.85em;
|
|
223
216
|
background: rgb(var(--v-theme-line));
|
|
224
217
|
color: rgb(var(--v-theme-subTitle));
|
|
225
218
|
.v-chip__close {
|
|
@@ -237,6 +230,20 @@
|
|
|
237
230
|
}
|
|
238
231
|
}
|
|
239
232
|
|
|
233
|
+
// File Input
|
|
234
|
+
.f-input.v-file-input {
|
|
235
|
+
.v-field .v-field__input {
|
|
236
|
+
padding-top: 14px;
|
|
237
|
+
}
|
|
238
|
+
.f-chip.v-chip {
|
|
239
|
+
--v-chip-height: 20px;
|
|
240
|
+
border-radius: 16.8px;
|
|
241
|
+
font-size: 0.85em;
|
|
242
|
+
background: rgb(var(--v-theme-line));
|
|
243
|
+
color: rgb(var(--v-theme-subTitle));
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
240
247
|
// Checkbox
|
|
241
248
|
.f-checkbox {
|
|
242
249
|
.v-input__control {
|
|
@@ -259,7 +266,9 @@
|
|
|
259
266
|
}
|
|
260
267
|
}
|
|
261
268
|
.v-label {
|
|
269
|
+
font-size: 0.95em;
|
|
262
270
|
line-height: var(--v-selection-control-size);
|
|
271
|
+
margin-left: 6px;
|
|
263
272
|
}
|
|
264
273
|
}
|
|
265
274
|
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
.v-list {
|
|
2
|
+
//Treeview
|
|
3
|
+
&.v-treeview.f-treeview {
|
|
4
|
+
padding-right: 8px;
|
|
5
|
+
&::-webkit-scrollbar {
|
|
6
|
+
height: 6px;
|
|
7
|
+
width: 6px;
|
|
8
|
+
}
|
|
9
|
+
&::-webkit-scrollbar-track {
|
|
10
|
+
border-radius: 10.8px;
|
|
11
|
+
box-shadow: inset 0 0 6px rgba(var(--v-theme-disabled));
|
|
12
|
+
}
|
|
13
|
+
&::-webkit-scrollbar-thumb {
|
|
14
|
+
border-top: 0px solid rgba(0, 0, 0, 0);
|
|
15
|
+
border-bottom: 0px solid rgba(0, 0, 0, 0);
|
|
16
|
+
background-clip: padding-box;
|
|
17
|
+
border-radius: 10.8px;
|
|
18
|
+
height: 50px;
|
|
19
|
+
background-color: rgba(var(--v-theme-disabled));
|
|
20
|
+
&:hover {
|
|
21
|
+
background-color: rgba(var(--v-theme-primary));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
.v-treeview-group {
|
|
25
|
+
min-height: auto;
|
|
26
|
+
}
|
|
27
|
+
.v-treeview-item {
|
|
28
|
+
min-height: 20px;
|
|
29
|
+
padding: 5px 0px;
|
|
30
|
+
color: rgba(var(--v-theme-subTitle));
|
|
31
|
+
.v-list-item__prepend {
|
|
32
|
+
.v-list-item-action--start {
|
|
33
|
+
margin-inline-end: 8px;
|
|
34
|
+
margin-inline-start: 4px;
|
|
35
|
+
}
|
|
36
|
+
.v-treeview-item__level {
|
|
37
|
+
width: 18px;
|
|
38
|
+
}
|
|
39
|
+
.v-btn {
|
|
40
|
+
width: 18px;
|
|
41
|
+
height: 18px;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
.v-list-item__content {
|
|
45
|
+
.v-list-item-title {
|
|
46
|
+
font-size: 1em;
|
|
47
|
+
line-height: 1.2em;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
&.v-list-item--active {
|
|
51
|
+
font-weight: 600;
|
|
52
|
+
color: rgba(var(--v-theme-title));
|
|
53
|
+
.v-list-item__overlay {
|
|
54
|
+
background: rgba(var(--v-theme-primary));
|
|
55
|
+
}
|
|
56
|
+
.v-list-item__content {
|
|
57
|
+
.v-list-item-title {
|
|
58
|
+
font-weight: 600;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -48,21 +48,31 @@
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.f-menu .v-overlay__content
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
51
|
+
.f-menu .v-overlay__content {
|
|
52
|
+
&.v-autocomplete__content,
|
|
53
|
+
&.v-select__content {
|
|
54
|
+
.v-list {
|
|
55
|
+
.v-list-item {
|
|
56
|
+
min-height: 28px;
|
|
57
|
+
.v-list-item-subtitle {
|
|
58
|
+
font-size: 0.9em;
|
|
59
|
+
opacity: 1;
|
|
60
|
+
color: rgb(var(--v-theme-text));
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
&.v-autocomplete__content {
|
|
66
|
+
.v-list {
|
|
67
|
+
.v-list-item {
|
|
68
|
+
.f-checkbox {
|
|
69
|
+
.f-icon {
|
|
70
|
+
height: 16px;
|
|
71
|
+
width: 16px;
|
|
72
|
+
min-width: 16px;
|
|
73
|
+
min-height: 16px;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
66
76
|
}
|
|
67
77
|
}
|
|
68
78
|
}
|
|
@@ -161,12 +161,12 @@ const updateDateHandler = value => {
|
|
|
161
161
|
<!-- Time picker -->
|
|
162
162
|
<div v-if="type === 'datetime'" class="d-flex mt-5 font-weight-semibold f-date-picker-footer-time">
|
|
163
163
|
<span class="mr-2">{{ $t('pickers.time') }}:</span>
|
|
164
|
-
<v-menu offset="
|
|
164
|
+
<v-menu offset="6" location="top" content-class="time-picker-content" :close-on-content-click="false">
|
|
165
165
|
<template #activator="{ props: activatorProps }">
|
|
166
|
-
<div class="time pointer" v-bind="activatorProps">{{ time }}</div>
|
|
166
|
+
<div class="time cursor-pointer" v-bind="activatorProps">{{ time }}</div>
|
|
167
167
|
</template>
|
|
168
168
|
|
|
169
|
-
<v-time-picker v-model="time" hide-title scrollable format="24hr" @update:model-value="updateDateHandler" />
|
|
169
|
+
<v-time-picker v-model="time" hide-title scrollable format="24hr" variant="input" @update:model-value="updateDateHandler" />
|
|
170
170
|
</v-menu>
|
|
171
171
|
</div>
|
|
172
172
|
|
|
@@ -258,65 +258,44 @@ const updateDateHandler = value => {
|
|
|
258
258
|
.v-time-picker {
|
|
259
259
|
min-width: 290px;
|
|
260
260
|
:deep(.v-picker__header) {
|
|
261
|
-
padding:
|
|
261
|
+
padding: 20px 0 12px;
|
|
262
262
|
background: rgb(var(--v-theme-background-dark));
|
|
263
263
|
.v-time-picker-controls {
|
|
264
|
+
margin: 0;
|
|
265
|
+
margin-inline: 0;
|
|
266
|
+
font-size: 0.9em;
|
|
264
267
|
.v-time-picker-controls__time__field {
|
|
265
268
|
height: auto;
|
|
266
269
|
.v-field {
|
|
267
270
|
font-size: 32px;
|
|
268
|
-
background-color: rgb(var(--v-theme-fields));
|
|
271
|
+
background-color: rgb(var(--v-theme-fields-light));
|
|
272
|
+
.v-field__overlay {
|
|
273
|
+
opacity: 0;
|
|
274
|
+
}
|
|
269
275
|
.v-field__input {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
276
|
+
color: rgb(var(--v-theme-title-dark));
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
&.v-time-picker-controls__time__field--active {
|
|
280
|
+
.v-field {
|
|
281
|
+
.v-field__overlay {
|
|
282
|
+
opacity: 0;
|
|
283
|
+
}
|
|
273
284
|
}
|
|
274
285
|
}
|
|
275
286
|
}
|
|
276
287
|
.v-time-picker-controls__field-label {
|
|
277
288
|
opacity: 1;
|
|
289
|
+
font-size: 1.1em;
|
|
290
|
+
color: rgb(var(--v-theme-fields-light));
|
|
278
291
|
}
|
|
279
292
|
.v-time-picker-controls__time__separator {
|
|
280
|
-
font-size:
|
|
281
|
-
line-height:
|
|
293
|
+
font-size: 68px;
|
|
294
|
+
line-height: 68px;
|
|
282
295
|
color: rgb(var(--v-theme-fields-light));
|
|
283
296
|
}
|
|
284
297
|
}
|
|
285
298
|
}
|
|
286
|
-
:deep(.v-picker__body) {
|
|
287
|
-
.v-time-picker-clock {
|
|
288
|
-
margin: 20px;
|
|
289
|
-
background: rgb(var(--v-theme-line));
|
|
290
|
-
.v-time-picker-clock__hand {
|
|
291
|
-
background: rgb(var(--v-theme-secondary));
|
|
292
|
-
&::before {
|
|
293
|
-
border-color: rgb(var(--v-theme-secondary));
|
|
294
|
-
}
|
|
295
|
-
&::after {
|
|
296
|
-
background: rgb(var(--v-theme-secondary));
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
.v-time-picker-clock__item {
|
|
300
|
-
color: rgb(var(--v-theme-text));
|
|
301
|
-
font-size: 14px;
|
|
302
|
-
height: 28px;
|
|
303
|
-
width: 28px;
|
|
304
|
-
&.v-time-picker-clock__item--active {
|
|
305
|
-
color: rgb(var(--v-theme-fields));
|
|
306
|
-
background: rgb(var(--v-theme-secondary));
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
.v-theme--dark {
|
|
314
|
-
.time-picker-content {
|
|
315
|
-
.v-time-picker {
|
|
316
|
-
:deep(.v-picker__header) {
|
|
317
|
-
border-bottom: 1px solid rgb(var(--v-theme-line));
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
299
|
}
|
|
321
300
|
}
|
|
322
301
|
</style>
|
package/src/locales/en.json
CHANGED
package/src/locales/ru.json
CHANGED