renusify 2.0.0 → 2.0.2
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/components/app/style.scss +2 -2
- package/components/bar/bottomNavigationCircle.vue +4 -4
- package/components/bar/scss/bottomNav.scss +3 -4
- package/components/bar/scss/toolbar.scss +5 -3
- package/components/bar/toolbar/menuChilds.vue +3 -3
- package/components/bar/toolbar/menuLaptop.vue +16 -16
- package/components/bar/toolbar/menuMob.vue +11 -11
- package/components/bar/toolbar/mixin.js +0 -2
- package/components/bar/toolbar/mobile.vue +2 -2
- package/components/breadcrumb/index.vue +5 -6
- package/components/breadcrumb/style.scss +4 -0
- package/components/button/style.scss +3 -4
- package/components/calendar/index.vue +24 -22
- package/components/calendar/month.vue +1 -1
- package/components/calendar/year.vue +1 -1
- package/components/card/index.vue +15 -15
- package/components/card/style.scss +15 -18
- package/components/chart/worldMap.vue +3 -1
- package/components/chat/chatInput.vue +1 -0
- package/components/chat/chatMsg.vue +2 -2
- package/components/chat/index.vue +2 -2
- package/components/chip/style.scss +6 -2
- package/components/codeEditor/index.vue +2 -2
- package/components/confirm/index.vue +0 -2
- package/components/container/style.scss +1 -1
- package/components/cropper/index.vue +1 -1
- package/components/form/camInput.vue +2 -2
- package/components/form/checkbox.vue +3 -2
- package/components/form/colorPicker/index.vue +9 -4
- package/components/form/colorPicker/picker.vue +0 -5
- package/components/form/datePicker/index.vue +9 -9
- package/components/form/datePicker/month.vue +1 -1
- package/components/form/datePicker/year.vue +1 -1
- package/components/form/fileUploader/single.vue +0 -2
- package/components/form/input.vue +18 -8
- package/components/form/inputTel/index.vue +3 -3
- package/components/form/json/JsonView.vue +3 -3
- package/components/form/json/index.vue +4 -4
- package/components/form/radioInput.vue +3 -3
- package/components/form/range.vue +2 -2
- package/components/form/rating.vue +2 -2
- package/components/form/switch.vue +3 -3
- package/components/form/text-editor/index.vue +555 -549
- package/components/form/text-editor/style.scss +12 -2
- package/components/form/timepicker/index.vue +6 -4
- package/components/form/timepicker/range.vue +4 -4
- package/components/form/timepicker/timepicker.vue +3 -3
- package/components/form/unit-input.vue +1 -1
- package/components/formCreator/index.vue +2 -2
- package/components/infinite/index.vue +5 -5
- package/components/list/style.scss +5 -15
- package/components/map/index.vue +0 -1
- package/components/map/route.vue +4 -2
- package/components/menu/index.vue +1 -1
- package/components/modal/style.scss +3 -1
- package/components/notify/index.vue +3 -2
- package/components/progress/line.vue +26 -27
- package/components/progress/style.scss +3 -3
- package/components/searchBox/index.vue +3 -7
- package/components/slider/index.vue +2 -2
- package/components/table/crud/header.vue +15 -15
- package/components/table/crud/index.vue +8 -5
- package/components/table/index.vue +0 -2
- package/components/table/style.scss +2 -2
- package/components/tabs/index.vue +1 -1
- package/package.json +1 -1
- package/tools/helper.js +4 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<r-input class="mt-5" :model-value="modelValue" hide labelControlClass="label-active"
|
|
3
3
|
:class="`${$r.prefix}color-picker`">
|
|
4
|
-
<div
|
|
5
|
-
<r-modal v-model="open"
|
|
4
|
+
<div :style="{'background-color':modelValue||'#ffffff'}" class="shower" @click.prevent="open=true"></div>
|
|
5
|
+
<r-modal v-model="open" :closebtn="false" class="color-picker-modal" closable maxWidth="260px">
|
|
6
6
|
<picker :color="modelValue" @changeColor="emit"></picker>
|
|
7
7
|
<div class="d-flex h-space-between">
|
|
8
|
-
<r-btn class="color-success flex-grow-1 me-1" @click.prevent="close()">
|
|
8
|
+
<r-btn class="color-success flex-grow-1 me-1" outlined @click.prevent="close()">
|
|
9
9
|
<r-icon v-html="$r.icons.check" exact></r-icon>
|
|
10
10
|
</r-btn>
|
|
11
|
-
<r-btn class=" color-error flex-grow-1 ms-1" @click.prevent="clear()"
|
|
11
|
+
<r-btn class=" color-error flex-grow-1 ms-1" exact outlined @click.prevent="clear()">
|
|
12
12
|
<r-icon v-html="$r.icons.delete"></r-icon>
|
|
13
13
|
</r-btn>
|
|
14
14
|
</div>
|
|
@@ -62,5 +62,10 @@ export default {
|
|
|
62
62
|
cursor: pointer;
|
|
63
63
|
border: 1px solid black;
|
|
64
64
|
}
|
|
65
|
+
|
|
66
|
+
.color-picker-modal {
|
|
67
|
+
background-color: var(--color-sheet-container-high);
|
|
68
|
+
color: var(--color-on-sheet);
|
|
69
|
+
}
|
|
65
70
|
}
|
|
66
71
|
</style>
|
|
@@ -170,9 +170,6 @@ export default {
|
|
|
170
170
|
box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.16);
|
|
171
171
|
z-index: 1;
|
|
172
172
|
|
|
173
|
-
background: var(--color-sheet-container-lowest);
|
|
174
|
-
color: var(--color-on-sheet-container-lowest);
|
|
175
|
-
|
|
176
173
|
canvas {
|
|
177
174
|
vertical-align: top;
|
|
178
175
|
}
|
|
@@ -213,12 +210,10 @@ export default {
|
|
|
213
210
|
|
|
214
211
|
|
|
215
212
|
.name {
|
|
216
|
-
color: var(--color-on-sheet-container);
|
|
217
213
|
background: var(--color-sheet-container)
|
|
218
214
|
}
|
|
219
215
|
|
|
220
216
|
.value {
|
|
221
|
-
color: var(--color-on-sheet);
|
|
222
217
|
background: var(--color-sheet)
|
|
223
218
|
}
|
|
224
219
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
</r-input>
|
|
7
7
|
<r-modal :model-value="show" @update:model-value="close()" :closebtn="false" closable class="text-center">
|
|
8
8
|
<div v-if="!showTime" :class="`${$r.prefix}date-input`">
|
|
9
|
-
<div
|
|
9
|
+
<div>
|
|
10
10
|
<r-container>
|
|
11
11
|
<r-row>
|
|
12
12
|
<r-col class="col-auto">
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
today: item.today
|
|
76
76
|
}"
|
|
77
77
|
:key="item.date"
|
|
78
|
-
@click="item.date!==0 &&!readonly&& selectDateItem(item)"
|
|
78
|
+
@click.prevent="item.date!==0 &&!readonly&& selectDateItem(item)"
|
|
79
79
|
>
|
|
80
80
|
<div
|
|
81
81
|
class="cellContent d-flex h-center v-center"
|
|
@@ -97,8 +97,8 @@
|
|
|
97
97
|
v-model="time"
|
|
98
98
|
></timepicker>
|
|
99
99
|
<div class="mt-5">
|
|
100
|
-
<r-btn class="color-success mx-5" @click="selectTime">{{ $t('ok', 'renusify') }}</r-btn>
|
|
101
|
-
<r-btn class="color-error mx-5" @click="close">{{ $t('cancel', 'renusify') }}</r-btn>
|
|
100
|
+
<r-btn class="color-success mx-5" @click.prevent="selectTime">{{ $t('ok', 'renusify') }}</r-btn>
|
|
101
|
+
<r-btn class="color-error mx-5" @click.prevent="close">{{ $t('cancel', 'renusify') }}</r-btn>
|
|
102
102
|
</div>
|
|
103
103
|
|
|
104
104
|
</div>
|
|
@@ -375,7 +375,8 @@ export default {
|
|
|
375
375
|
position: relative;
|
|
376
376
|
display: inline-block;
|
|
377
377
|
font-size: 10px;
|
|
378
|
-
color:
|
|
378
|
+
color: var(--color-on-sheet);
|
|
379
|
+
background-color: var(--color-sheet-container-high);
|
|
379
380
|
|
|
380
381
|
.cell {
|
|
381
382
|
&.today {
|
|
@@ -388,8 +389,7 @@ export default {
|
|
|
388
389
|
|
|
389
390
|
&.selected {
|
|
390
391
|
.cellContent {
|
|
391
|
-
|
|
392
|
-
color: #fff;
|
|
392
|
+
color: var(--color-on-one);
|
|
393
393
|
background: var(--color-one);
|
|
394
394
|
|
|
395
395
|
}
|
|
@@ -439,7 +439,7 @@ export default {
|
|
|
439
439
|
|
|
440
440
|
font-size: 1.3em;
|
|
441
441
|
font-weight: normal;
|
|
442
|
-
color:
|
|
442
|
+
color: var(--color-on-sheet-low);
|
|
443
443
|
|
|
444
444
|
}
|
|
445
445
|
|
|
@@ -456,7 +456,7 @@ export default {
|
|
|
456
456
|
}
|
|
457
457
|
|
|
458
458
|
.cell.outOfRange {
|
|
459
|
-
color:
|
|
459
|
+
color: var(--color-sheet-low);
|
|
460
460
|
}
|
|
461
461
|
|
|
462
462
|
.cell.selectable {
|
|
@@ -41,10 +41,8 @@
|
|
|
41
41
|
v-if="showFile"
|
|
42
42
|
>
|
|
43
43
|
<r-modal v-model="showCrop" maxWidth="300px">
|
|
44
|
-
<r-card>
|
|
45
44
|
<r-cropper v-if="wPH&&file" :imgSrc="file" :selectImg="false" :w-p-h="wPH" get-blob showCropped
|
|
46
45
|
@cropped="file=$event,checkSave()"></r-cropper>
|
|
47
|
-
</r-card>
|
|
48
46
|
</r-modal>
|
|
49
47
|
</div>
|
|
50
48
|
</template>
|
|
@@ -306,26 +306,33 @@ export default {
|
|
|
306
306
|
|
|
307
307
|
&:not(.input-disabled) {
|
|
308
308
|
input,
|
|
309
|
-
textarea
|
|
309
|
+
textarea {
|
|
310
310
|
color: var(--color-on-sheet)
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
+
&:not(.input-disabled) {
|
|
315
|
+
.label, .#{$prefix}icon, .#{$prefix}btn {
|
|
316
|
+
color: var(--color-on-sheet-low)
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
|
|
314
320
|
input::placeholder,
|
|
315
321
|
textarea::placeholder {
|
|
316
|
-
color: var(--color-on-
|
|
322
|
+
color: var(--color-on-sheet-low)
|
|
317
323
|
}
|
|
318
324
|
|
|
319
325
|
&.input-disabled {
|
|
326
|
+
opacity: 0.38;
|
|
327
|
+
pointer-events: none;
|
|
328
|
+
|
|
320
329
|
* {
|
|
321
|
-
color: var(--color-
|
|
330
|
+
color: var(--color-on-sheet)
|
|
322
331
|
}
|
|
323
332
|
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
.input-control {
|
|
328
|
-
border: solid 1px var(--color-border)
|
|
333
|
+
.input-control {
|
|
334
|
+
background-color: var(--color-sheet-container);
|
|
335
|
+
}
|
|
329
336
|
}
|
|
330
337
|
|
|
331
338
|
|
|
@@ -368,6 +375,8 @@ export default {
|
|
|
368
375
|
align-items: flex-start;
|
|
369
376
|
justify-content: center;
|
|
370
377
|
position: relative;
|
|
378
|
+
border: solid 1px var(--color-sheet-low);
|
|
379
|
+
background-color: var(--color-sheet-container);
|
|
371
380
|
|
|
372
381
|
.after-icon {
|
|
373
382
|
position: absolute;
|
|
@@ -410,6 +419,7 @@ export default {
|
|
|
410
419
|
border: unset !important;
|
|
411
420
|
height: auto;
|
|
412
421
|
padding: 0;
|
|
422
|
+
background-color: unset !important;
|
|
413
423
|
}
|
|
414
424
|
}
|
|
415
425
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<r-modal
|
|
4
4
|
v-model="open"
|
|
5
5
|
>
|
|
6
|
-
<
|
|
6
|
+
<div class="pa-2">
|
|
7
7
|
<r-text-input
|
|
8
8
|
:label="$t('search','renusify')"
|
|
9
9
|
v-model="search"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<span class="ltr">+{{ item.dialCode }}</span>
|
|
19
19
|
</template>
|
|
20
20
|
</r-list>
|
|
21
|
-
</
|
|
21
|
+
</div>
|
|
22
22
|
</r-modal>
|
|
23
23
|
<r-btn class="btn-country ltr ms-1"
|
|
24
24
|
:rounded="!c_tile" :disabled="!select||readonly" @click.stop="toggleDropdown" outlined>
|
|
@@ -155,7 +155,7 @@ export default {
|
|
|
155
155
|
|
|
156
156
|
.btn-country {
|
|
157
157
|
width: 120px;
|
|
158
|
-
border-color: var(--color-
|
|
158
|
+
border-color: var(--color-sheet-low)
|
|
159
159
|
|
|
160
160
|
}
|
|
161
161
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
v-for="(value,key) in modelValue"
|
|
4
4
|
:key="key">
|
|
5
5
|
<div class="d-flex v-center me-1">
|
|
6
|
-
<r-btn v-if="!disableDel"
|
|
6
|
+
<r-btn v-if="!disableDel" class="color-error-text" icon text @click.prevent="del(key)">
|
|
7
7
|
<r-icon v-html="$r.icons.delete"></r-icon>
|
|
8
8
|
</r-btn>
|
|
9
9
|
<div v-if="typeof value==='object'">{{ t(key) }}</div>
|
|
@@ -87,10 +87,10 @@ export default {
|
|
|
87
87
|
|
|
88
88
|
.#{$prefix}json-view {
|
|
89
89
|
@include rtl() {
|
|
90
|
-
border-right: 1px solid var(--color-
|
|
90
|
+
border-right: 1px solid var(--color-sheet-low);
|
|
91
91
|
}
|
|
92
92
|
@include ltr() {
|
|
93
|
-
border-left: 1px solid var(--color-
|
|
93
|
+
border-left: 1px solid var(--color-sheet-low);
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
</style>
|
|
@@ -210,7 +210,7 @@ export default {
|
|
|
210
210
|
.#{$prefix}json-input {
|
|
211
211
|
textarea {
|
|
212
212
|
outline: none;
|
|
213
|
-
border: 1px solid var(--color-
|
|
213
|
+
border: 1px solid var(--color-sheet-low);
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
.state-error {
|
|
@@ -236,9 +236,9 @@ export default {
|
|
|
236
236
|
|
|
237
237
|
textarea {
|
|
238
238
|
&::selection {
|
|
239
|
-
background-color: var(--color-
|
|
240
|
-
-webkit-text-fill-color: var(--color-
|
|
241
|
-
color: var(--color-
|
|
239
|
+
background-color: var(--color-one);
|
|
240
|
+
-webkit-text-fill-color: var(--color-one-text);
|
|
241
|
+
color: var(--color-one-text);
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
padding: 12px;
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<span class="radio-input-item" :class="{
|
|
7
7
|
'br-circle':rounded,
|
|
8
8
|
'radio-input-select':current===item.value
|
|
9
|
-
}" @click="emit(item)">
|
|
9
|
+
}" @click.prevent="emit(item)">
|
|
10
10
|
<transition name="scale">
|
|
11
11
|
<r-icon v-if="current===item.value" class="color-white-text"
|
|
12
12
|
v-html="$r.icons.check" exact></r-icon>
|
|
13
13
|
</transition>
|
|
14
14
|
</span>
|
|
15
|
-
<span class="ms-2" @click="emit(item)">
|
|
15
|
+
<span class="ms-2" @click.prevent="emit(item)">
|
|
16
16
|
{{ item[text] }}
|
|
17
17
|
</span>
|
|
18
18
|
</div>
|
|
@@ -74,7 +74,7 @@ export default {
|
|
|
74
74
|
cursor: pointer;
|
|
75
75
|
|
|
76
76
|
.radio-input-item {
|
|
77
|
-
border: 1px solid var(--color-
|
|
77
|
+
border: 1px solid var(--color-on-sheet-low)
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.#{$prefix}icon {
|
|
@@ -252,7 +252,7 @@ export default {
|
|
|
252
252
|
@include ltr() {
|
|
253
253
|
transform: translate(-2px, -2px);
|
|
254
254
|
}
|
|
255
|
-
border: 3px solid var(--color-
|
|
255
|
+
border: 3px solid var(--color-one) !important;
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
|
|
@@ -315,7 +315,7 @@ export default {
|
|
|
315
315
|
@include ltr {
|
|
316
316
|
transform: translate(-2px, -2px);
|
|
317
317
|
}
|
|
318
|
-
border: 3px solid var(--color-
|
|
318
|
+
border: 3px solid var(--color-one) !important;
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div :class="`${$r.prefix}rating size-${size} ms-n1`">
|
|
3
3
|
<r-btn :key="i" :class="`${Math.round(modelValue)>=i?'color-rating':''}`"
|
|
4
4
|
:readonly="readonly"
|
|
5
|
-
@click="select(i)"
|
|
5
|
+
@click.prevent="select(i)"
|
|
6
6
|
icon
|
|
7
7
|
text
|
|
8
8
|
v-for="i in count">
|
|
@@ -59,7 +59,7 @@ $btn-sizes: (
|
|
|
59
59
|
transition: 1s $primary-transition;
|
|
60
60
|
|
|
61
61
|
* {
|
|
62
|
-
color: var(--color-
|
|
62
|
+
color: var(--color-on-sheet-low);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.color-rating * {
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<div class="switch-label me-1 mt-1"
|
|
5
5
|
>{{label}}
|
|
6
6
|
</div>
|
|
7
|
-
<div class="switch-holder" @click="toggle()">
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
<div class="switch-holder" @click.prevent="toggle()">
|
|
8
|
+
<div class="switch-line"></div>
|
|
9
|
+
<div class="switch-dot"></div>
|
|
10
10
|
</div>
|
|
11
11
|
<div class="switch-label ms-1 mt-1"
|
|
12
12
|
v-if="label2">{{label2}}</div>
|