renusify 1.0.5 → 1.0.8
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/index.vue +23 -32
- package/components/app/style.scss +7 -18
- package/components/bar/bottomNavigationCircle.vue +75 -81
- package/components/bar/scss/bottomNav.scss +4 -13
- package/components/bar/scss/toolbar.scss +4 -9
- package/components/breadcrumb/style.scss +3 -9
- package/components/button/buttonConfirm.vue +44 -0
- package/components/button/style.scss +13 -38
- package/components/calendar/index.vue +5 -35
- package/components/card/style.scss +8 -17
- package/components/chat/chatInput.vue +4 -10
- package/components/chat/chatMsg.vue +222 -225
- package/components/chat/index.vue +104 -109
- package/components/chip/style.scss +27 -33
- package/components/codeEditor/index.vue +29 -15
- package/components/codeEditor/run.vue +1 -1
- package/components/container/style.scss +9 -11
- package/components/form/camInput.vue +1 -1
- package/components/form/checkbox.vue +115 -121
- package/components/form/colorPicker/picker.vue +9 -24
- package/components/form/datePicker/index.vue +9 -42
- package/components/form/fileUploader/single.vue +196 -197
- package/components/form/inputTel/index.vue +3 -7
- package/components/form/radioInput.vue +3 -9
- package/components/form/scss/input.scss +4 -29
- package/components/form/scss/rating.scss +1 -6
- package/components/form/scss/switch.scss +1 -6
- package/components/form/text-editor/style.scss +4 -22
- package/components/form/timepicker/timepicker.vue +11 -16
- package/components/form/unit-input.vue +98 -101
- package/components/icon/style.scss +2 -6
- package/components/index.js +2 -0
- package/components/infinite/index.vue +1 -1
- package/components/list/style.scss +2 -16
- package/components/map/route.vue +1 -1
- package/components/menu/index.vue +24 -19
- package/components/modal/style.scss +3 -12
- package/components/progress/style.scss +5 -21
- package/components/skeleton/index.vue +77 -0
- package/components/swiper/index.vue +8 -4
- package/components/table/style.scss +19 -111
- package/components/tabs/index.vue +116 -130
- package/components/timeline/index.vue +13 -18
- package/components/tree/index.vue +11 -15
- package/index.js +1 -2
- package/package.json +1 -1
- package/plugins/trans/Translate.js +4 -0
- package/style/app.scss +7 -71
- package/style/colors.scss +49 -73
- package/style/mixins/index.scss +0 -12
- package/style/variables/color.scss +8 -9
- package/tools/helper.js +15 -1
- package/components/skeletonLoader/index.vue +0 -42
|
@@ -16,141 +16,135 @@
|
|
|
16
16
|
v-html="$r.icons.check" exact></r-icon>
|
|
17
17
|
</transition>
|
|
18
18
|
</span>
|
|
19
|
-
|
|
19
|
+
<span class="ms-2 color-primary-text" @click="emit">
|
|
20
20
|
<span class="color-error-text" v-if="isRequired">*</span>
|
|
21
|
-
{{label}}
|
|
21
|
+
{{ label }}
|
|
22
22
|
</span>
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|
|
25
|
+
</r-input>
|
|
26
26
|
</template>
|
|
27
27
|
<script>
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
methods: {
|
|
55
|
-
emit() {
|
|
56
|
-
if (this.readonly) {
|
|
57
|
-
return
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
this.lazyValue = (!this.lazyValue) ? !this.lazyValue : false
|
|
61
|
-
this.$emit('update:modelValue', this.lazyValue)
|
|
62
|
-
}
|
|
63
|
-
}
|
|
28
|
+
export default {
|
|
29
|
+
name: 'r-checkbox',
|
|
30
|
+
props: {
|
|
31
|
+
label: String,
|
|
32
|
+
readonly: Boolean,
|
|
33
|
+
rounded: Boolean,
|
|
34
|
+
modelValue: Boolean,
|
|
35
|
+
size: {
|
|
36
|
+
type: String,
|
|
37
|
+
default: 'default',
|
|
38
|
+
validator: function (value) {
|
|
39
|
+
return ['x-small', 'small', 'default', 'large', 'x-large'].indexOf(value) !== -1
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
|
|
44
|
+
data() {
|
|
45
|
+
return {
|
|
46
|
+
lazyValue: this.modelValue
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
watch: {
|
|
50
|
+
modelValue() {
|
|
51
|
+
this.lazyValue = this.modelValue
|
|
64
52
|
}
|
|
53
|
+
},
|
|
54
|
+
methods: {
|
|
55
|
+
emit() {
|
|
56
|
+
if (this.readonly) {
|
|
57
|
+
return
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
this.lazyValue = (!this.lazyValue) ? !this.lazyValue : false
|
|
61
|
+
this.$emit('update:modelValue', this.lazyValue)
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
65
|
|
|
66
66
|
</script>
|
|
67
67
|
<style lang="scss">
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
68
|
+
@import "../../style/include";
|
|
69
|
+
|
|
70
|
+
.#{$prefix}checkbox {
|
|
71
|
+
width: 100%;
|
|
72
|
+
cursor: pointer;
|
|
73
|
+
|
|
74
|
+
.checkbox-input {
|
|
75
|
+
border: 1px solid var(--color-border)
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.#{$prefix}icon {
|
|
79
|
+
width: 100%;
|
|
80
|
+
height: 100%;
|
|
81
|
+
display: flex;
|
|
82
|
+
justify-content: center;
|
|
83
|
+
align-items: center;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.checkbox-input {
|
|
87
|
+
text-align: center;
|
|
88
|
+
border-radius: 4px;
|
|
89
|
+
transition: .3s all ease-in-out;
|
|
90
|
+
|
|
91
|
+
&.x-small {
|
|
92
|
+
width: 17px;
|
|
93
|
+
height: 17px;
|
|
94
|
+
|
|
95
|
+
svg {
|
|
96
|
+
width: 12px;
|
|
97
|
+
height: 12px;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&.small {
|
|
102
|
+
width: 20px;
|
|
103
|
+
height: 20px;
|
|
104
|
+
|
|
105
|
+
svg {
|
|
106
|
+
width: 15px;
|
|
107
|
+
height: 15px;
|
|
82
108
|
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&.default {
|
|
112
|
+
width: 22px;
|
|
113
|
+
height: 22px;
|
|
83
114
|
|
|
84
|
-
|
|
85
|
-
width:
|
|
86
|
-
height:
|
|
87
|
-
display: flex;
|
|
88
|
-
justify-content: center;
|
|
89
|
-
align-items: center;
|
|
115
|
+
svg {
|
|
116
|
+
width: 17px;
|
|
117
|
+
height: 17px;
|
|
90
118
|
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&.large {
|
|
122
|
+
width: 25px;
|
|
123
|
+
height: 25px;
|
|
91
124
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
transition: .3s all ease-in-out;
|
|
96
|
-
|
|
97
|
-
&.x-small {
|
|
98
|
-
width: 17px;
|
|
99
|
-
height: 17px;
|
|
100
|
-
|
|
101
|
-
svg {
|
|
102
|
-
width: 12px;
|
|
103
|
-
height: 12px;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&.small {
|
|
108
|
-
width: 20px;
|
|
109
|
-
height: 20px;
|
|
110
|
-
|
|
111
|
-
svg {
|
|
112
|
-
width: 15px;
|
|
113
|
-
height: 15px;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
&.default {
|
|
118
|
-
width: 22px;
|
|
119
|
-
height: 22px;
|
|
120
|
-
|
|
121
|
-
svg {
|
|
122
|
-
width: 17px;
|
|
123
|
-
height: 17px;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
&.large {
|
|
128
|
-
width: 25px;
|
|
129
|
-
height: 25px;
|
|
130
|
-
|
|
131
|
-
svg {
|
|
132
|
-
width: 20px;
|
|
133
|
-
height: 20px;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
&.x-large {
|
|
138
|
-
width: 30px;
|
|
139
|
-
height: 30px;
|
|
140
|
-
|
|
141
|
-
svg {
|
|
142
|
-
width: 25px;
|
|
143
|
-
height: 25px;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
125
|
+
svg {
|
|
126
|
+
width: 20px;
|
|
127
|
+
height: 20px;
|
|
146
128
|
}
|
|
129
|
+
}
|
|
147
130
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
131
|
+
&.x-large {
|
|
132
|
+
width: 30px;
|
|
133
|
+
height: 30px;
|
|
151
134
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
135
|
+
svg {
|
|
136
|
+
width: 25px;
|
|
137
|
+
height: 25px;
|
|
138
|
+
}
|
|
155
139
|
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&.checkbox-readonly {
|
|
143
|
+
pointer-events: none;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.checkbox-select {
|
|
147
|
+
background-color: currentColor;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
156
150
|
</style>
|
|
@@ -168,13 +168,8 @@ export default {
|
|
|
168
168
|
border-radius: 4px;
|
|
169
169
|
box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.16);
|
|
170
170
|
z-index: 1;
|
|
171
|
-
@include light() {
|
|
172
|
-
background: #f7f8f9;
|
|
173
|
-
}
|
|
174
171
|
|
|
175
|
-
|
|
176
|
-
background: #1d2024;
|
|
177
|
-
}
|
|
172
|
+
background: #f7f8f9;
|
|
178
173
|
|
|
179
174
|
canvas {
|
|
180
175
|
vertical-align: top;
|
|
@@ -214,25 +209,15 @@ export default {
|
|
|
214
209
|
direction: ltr;
|
|
215
210
|
}
|
|
216
211
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
}
|
|
222
|
-
.value {
|
|
223
|
-
color: #666;
|
|
224
|
-
background: #eceef0;
|
|
225
|
-
}
|
|
212
|
+
|
|
213
|
+
.name {
|
|
214
|
+
color: #999;
|
|
215
|
+
background: #e7e8e9;
|
|
226
216
|
}
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
}
|
|
232
|
-
.value {
|
|
233
|
-
color: #fff;
|
|
234
|
-
background: #2e333a;
|
|
235
|
-
}
|
|
217
|
+
|
|
218
|
+
.value {
|
|
219
|
+
color: #666;
|
|
220
|
+
background: #eceef0;
|
|
236
221
|
}
|
|
237
222
|
}
|
|
238
223
|
}
|
|
@@ -376,53 +376,20 @@ export default {
|
|
|
376
376
|
font-size: 10px;
|
|
377
377
|
color: #303030;
|
|
378
378
|
|
|
379
|
-
@include dark {
|
|
380
|
-
$Color: var(--color-one-dark);
|
|
381
379
|
.cell {
|
|
382
380
|
&.today {
|
|
383
|
-
|
|
381
|
+
color: var(--color-one);
|
|
384
382
|
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
383
|
+
.cellContent {
|
|
384
|
+
border: solid 1px var(--color-one);
|
|
385
|
+
}
|
|
388
386
|
}
|
|
389
387
|
|
|
390
388
|
&.selected {
|
|
391
|
-
.cellContent {
|
|
392
|
-
color: #fff;
|
|
393
|
-
background: $Color;
|
|
394
|
-
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
&.selectable:hover {
|
|
399
389
|
.cellContent {
|
|
400
390
|
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
@include light {
|
|
411
|
-
$Color: var(--color-one-light);
|
|
412
|
-
.cell {
|
|
413
|
-
&.today {
|
|
414
|
-
color: $Color;
|
|
415
|
-
|
|
416
|
-
.cellContent {
|
|
417
|
-
border: solid 1px $Color;
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
&.selected {
|
|
422
|
-
.cellContent {
|
|
423
|
-
|
|
424
|
-
color: #fff;
|
|
425
|
-
background: $Color;
|
|
391
|
+
color: #fff;
|
|
392
|
+
background: var(--color-one);
|
|
426
393
|
|
|
427
394
|
}
|
|
428
395
|
}
|
|
@@ -430,14 +397,14 @@ export default {
|
|
|
430
397
|
&.selectable:hover {
|
|
431
398
|
.cellContent {
|
|
432
399
|
|
|
433
|
-
|
|
434
|
-
|
|
400
|
+
color: #fff;
|
|
401
|
+
background: var(--color-one);
|
|
435
402
|
|
|
436
403
|
}
|
|
437
404
|
}
|
|
438
405
|
|
|
439
406
|
}
|
|
440
|
-
|
|
407
|
+
|
|
441
408
|
|
|
442
409
|
.table {
|
|
443
410
|
|