renusify 2.2.5 → 2.3.0
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 +6 -4
- package/components/app/toast/style.scss +4 -3
- package/components/avatar/style.scss +2 -2
- package/components/bar/bottomNavigationCircle.vue +7 -5
- package/components/bar/scss/bottomNav.scss +15 -12
- package/components/bar/scss/toolbar.scss +32 -30
- package/components/bar/toolbar/index.vue +2 -2
- package/components/bar/toolbar/laptop.vue +1 -1
- package/components/bar/toolbar/mobile.vue +1 -1
- package/components/breadcrumb/bredcrumbItem.vue +1 -1
- package/components/breadcrumb/style.scss +6 -6
- package/components/button/index.vue +1 -1
- package/components/button/style.scss +41 -36
- package/components/calendar/index.vue +4 -3
- package/components/card/index.vue +1 -1
- package/components/card/style.scss +14 -11
- package/components/chart/chart.vue +3 -4
- package/components/chart/worldMap.vue +2 -2
- package/components/chat/MessageList.vue +122 -119
- package/components/chat/chatInput.vue +3 -3
- package/components/chat/chatMsg.vue +23 -21
- package/components/chat/index.vue +2 -2
- package/components/chip/style.scss +21 -16
- package/components/codeEditor/highlightCss.vue +1 -1
- package/components/codeEditor/highlightHtml.vue +1 -1
- package/components/codeEditor/highlightJs.vue +1 -1
- package/components/codeEditor/index.vue +6 -6
- package/components/container/style.scss +12 -10
- package/components/content/index.vue +17 -14
- package/components/cropper/index.vue +2 -2
- package/components/float/index.vue +456 -454
- package/components/form/camInput/index.vue +2 -2
- package/components/form/checkInput/index.vue +2 -2
- package/components/form/checkboxInput/index.vue +5 -4
- package/components/form/colorInput/Alpha.vue +1 -1
- package/components/form/colorInput/Preview.vue +1 -1
- package/components/form/colorInput/Saturation.vue +1 -1
- package/components/form/colorInput/index.vue +2 -2
- package/components/form/colorInput/picker.vue +10 -8
- package/components/form/dateInput/index.vue +2 -2
- package/components/form/fileInput/index.vue +0 -3
- package/components/form/fileInput/single.vue +3 -3
- package/components/form/groupInput/index.vue +5 -4
- package/components/form/input/index.vue +31 -29
- package/components/form/jsonInput/JsonView.vue +5 -4
- package/components/form/jsonInput/index.vue +35 -33
- package/components/form/numberInput/index.vue +11 -8
- package/components/form/radioInput/index.vue +6 -4
- package/components/form/rangeInput/index.vue +11 -10
- package/components/form/ratingInput/index.vue +5 -5
- package/components/form/selectInput/index.vue +8 -6
- package/components/form/switchInput/index.vue +9 -7
- package/components/form/telInput/index.vue +2 -2
- package/components/form/text-editor/style.scss +10 -7
- package/components/form/textArea/index.vue +2 -2
- package/components/form/timeInput/timepicker.vue +4 -3
- package/components/form/unitInput/index.vue +8 -6
- package/components/icon/style.scss +5 -4
- package/components/img/index.vue +2 -2
- package/components/index.js +0 -2
- package/components/list/index.vue +1 -1
- package/components/list/style.scss +6 -5
- package/components/map/index.vue +3 -3
- package/components/map/route.vue +2 -2
- package/components/menu/index.vue +4 -3
- package/components/modal/style.scss +19 -15
- package/components/nestable/index.vue +4 -4
- package/components/notify/index.vue +55 -53
- package/components/notify/notification.vue +5 -3
- package/components/progress/style.scss +8 -5
- package/components/searchBox/index.vue +15 -12
- package/components/skeleton/index.vue +5 -3
- package/components/slider/index.vue +18 -15
- package/components/swiper/index.vue +2 -2
- package/components/table/crud/index.vue +2 -2
- package/components/table/style.scss +87 -82
- package/components/tabs/index.vue +2 -2
- package/components/timeline/index.vue +64 -61
- package/components/tree/index.vue +4 -4
- package/components/tree/tree-element.vue +2 -2
- package/directive/animate/style.scss +72 -41
- package/directive/drag/index.js +1 -1
- package/directive/ripple/style.scss +6 -4
- package/directive/skeleton/style.scss +0 -2
- package/directive/sortable/index.js +1 -1
- package/directive/sortable/style.scss +7 -3
- package/directive/title/style.scss +4 -2
- package/index.js +10 -10
- package/package.json +1 -1
- package/style/app.scss +64 -56
- package/style/colors.scss +26 -22
- package/style/functions/index.scss +8 -8
- package/style/mixins/container.scss +24 -19
- package/style/mixins/index.scss +19 -15
- package/style/mixins/utilities.scss +26 -21
- package/style/style.scss +5 -6
- package/style/transitions.scss +14 -13
- package/style/variables/base.scss +26 -24
- package/style/variables/utilities.scss +35 -34
- package/components/html2pdf/index.js +0 -4
- package/components/html2pdf/index.vue +0 -280
- package/components/html2pdf/pageBreak.js +0 -1
- package/components/html2pdf/pageBreak.vue +0 -12
- package/style/_include.scss +0 -3
- package/style/variables/index.scss +0 -3
|
@@ -351,9 +351,9 @@ export default {
|
|
|
351
351
|
</script>
|
|
352
352
|
|
|
353
353
|
<style lang="scss">
|
|
354
|
-
@
|
|
354
|
+
@use "../../../style/variables/base";
|
|
355
355
|
|
|
356
|
-
.#{
|
|
356
|
+
.#{base.$prefix}cam-input {
|
|
357
357
|
video {
|
|
358
358
|
border: 1px solid var(--color-border);
|
|
359
359
|
}
|
|
@@ -96,9 +96,9 @@ emits:['update:modelValue','data'],
|
|
|
96
96
|
|
|
97
97
|
</script>
|
|
98
98
|
<style lang="scss">
|
|
99
|
-
@
|
|
99
|
+
@use "../../../style/variables/base";
|
|
100
100
|
|
|
101
|
-
.#{
|
|
101
|
+
.#{base.$prefix}check-input {
|
|
102
102
|
.check-input-container {
|
|
103
103
|
display: flex;
|
|
104
104
|
width: 100%;
|
|
@@ -65,9 +65,10 @@ export default {
|
|
|
65
65
|
|
|
66
66
|
</script>
|
|
67
67
|
<style lang="scss">
|
|
68
|
-
@
|
|
68
|
+
@use "sass:map";
|
|
69
|
+
@use "../../../style/variables/base";
|
|
69
70
|
|
|
70
|
-
.#{
|
|
71
|
+
.#{base.$prefix}checkbox {
|
|
71
72
|
width: 100%;
|
|
72
73
|
cursor: pointer;
|
|
73
74
|
|
|
@@ -79,7 +80,7 @@ export default {
|
|
|
79
80
|
border: 1px solid var(--color-on-sheet-low)
|
|
80
81
|
}
|
|
81
82
|
|
|
82
|
-
.#{
|
|
83
|
+
.#{base.$prefix}icon {
|
|
83
84
|
width: 100%;
|
|
84
85
|
height: 100%;
|
|
85
86
|
display: flex;
|
|
@@ -89,7 +90,7 @@ export default {
|
|
|
89
90
|
|
|
90
91
|
.checkbox-input {
|
|
91
92
|
text-align: center;
|
|
92
|
-
border-radius: map
|
|
93
|
+
border-radius: map.get(base.$borders, 'sm');
|
|
93
94
|
transition: .3s all ease-in-out;
|
|
94
95
|
|
|
95
96
|
&.x-small {
|
|
@@ -52,14 +52,14 @@
|
|
|
52
52
|
|
|
53
53
|
<script>
|
|
54
54
|
import {defineAsyncComponent} from 'vue'
|
|
55
|
-
import {color} from './mixin'
|
|
55
|
+
import {color} from './mixin.js'
|
|
56
56
|
|
|
57
57
|
export default {
|
|
58
58
|
components: {
|
|
59
|
-
Saturation:defineAsyncComponent(()=>import('./Saturation.vue')),
|
|
60
|
-
Hue:defineAsyncComponent(()=>import('./Hue.vue')),
|
|
61
|
-
Alpha:defineAsyncComponent(()=>import('./Alpha.vue')),
|
|
62
|
-
Preview:defineAsyncComponent(()=>import('./Preview.vue'))
|
|
59
|
+
Saturation: defineAsyncComponent(() => import('./Saturation.vue')),
|
|
60
|
+
Hue: defineAsyncComponent(() => import('./Hue.vue')),
|
|
61
|
+
Alpha: defineAsyncComponent(() => import('./Alpha.vue')),
|
|
62
|
+
Preview: defineAsyncComponent(() => import('./Preview.vue'))
|
|
63
63
|
},
|
|
64
64
|
mixins: [color],
|
|
65
65
|
props: {
|
|
@@ -68,7 +68,7 @@ export default {
|
|
|
68
68
|
default: '#2F1DCC',
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
|
-
emits:['changeColor'],
|
|
71
|
+
emits: ['changeColor'],
|
|
72
72
|
data() {
|
|
73
73
|
return {
|
|
74
74
|
r: 0,
|
|
@@ -158,11 +158,13 @@ export default {
|
|
|
158
158
|
</script>
|
|
159
159
|
|
|
160
160
|
<style lang="scss">
|
|
161
|
-
@
|
|
161
|
+
@use "sass:map";
|
|
162
|
+
@use "../../../style/variables/base";
|
|
163
|
+
|
|
162
164
|
|
|
163
165
|
.color-box {
|
|
164
166
|
padding: 10px;
|
|
165
|
-
border-radius: map
|
|
167
|
+
border-radius: map.get(base.$borders, 'sm');
|
|
166
168
|
box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.16);
|
|
167
169
|
z-index: 1;
|
|
168
170
|
|
|
@@ -372,9 +372,9 @@ export default {
|
|
|
372
372
|
</script>
|
|
373
373
|
|
|
374
374
|
<style lang="scss">
|
|
375
|
-
@
|
|
375
|
+
@use "../../../style/variables/base";
|
|
376
376
|
|
|
377
|
-
.#{
|
|
377
|
+
.#{base.$prefix}date-input {
|
|
378
378
|
position: relative;
|
|
379
379
|
display: inline-block;
|
|
380
380
|
font-size: 10px;
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
</template>
|
|
49
49
|
|
|
50
50
|
<script>
|
|
51
|
-
import file from "./file";
|
|
51
|
+
import file from "./file.js";
|
|
52
52
|
|
|
53
53
|
export default {
|
|
54
54
|
name: 'inputFile',
|
|
@@ -128,9 +128,9 @@ export default {
|
|
|
128
128
|
</script>
|
|
129
129
|
|
|
130
130
|
<style lang="scss">
|
|
131
|
-
@
|
|
131
|
+
@use "../../../style/variables/base";
|
|
132
132
|
|
|
133
|
-
.#{
|
|
133
|
+
.#{base.$prefix}file-uploader {
|
|
134
134
|
.image-card {
|
|
135
135
|
position: relative;
|
|
136
136
|
width: auto;
|
|
@@ -134,9 +134,10 @@ export default {
|
|
|
134
134
|
}
|
|
135
135
|
</script>
|
|
136
136
|
<style lang="scss">
|
|
137
|
-
@
|
|
137
|
+
@use "../../../style/variables/base";
|
|
138
|
+
@use "../../../style/mixins";
|
|
138
139
|
|
|
139
|
-
.#{
|
|
140
|
+
.#{base.$prefix}group-input {
|
|
140
141
|
.group-input-label {
|
|
141
142
|
color: var(--color-on-sheet);
|
|
142
143
|
}
|
|
@@ -146,10 +147,10 @@ export default {
|
|
|
146
147
|
.group-action {
|
|
147
148
|
position: absolute;
|
|
148
149
|
top: 0;
|
|
149
|
-
@include ltr() {
|
|
150
|
+
@include mixins.ltr() {
|
|
150
151
|
right: 0;
|
|
151
152
|
}
|
|
152
|
-
@include rtl() {
|
|
153
|
+
@include mixins.rtl() {
|
|
153
154
|
left: 0;
|
|
154
155
|
}
|
|
155
156
|
}
|
|
@@ -284,10 +284,12 @@ export default {
|
|
|
284
284
|
|
|
285
285
|
</script>
|
|
286
286
|
<style lang="scss">
|
|
287
|
-
@
|
|
287
|
+
@use "sass:map";
|
|
288
|
+
@use "../../../style/variables/base";
|
|
289
|
+
@use "../../../style/mixins";
|
|
288
290
|
|
|
289
291
|
|
|
290
|
-
.#{
|
|
292
|
+
.#{base.$prefix}input-container {
|
|
291
293
|
position: relative;
|
|
292
294
|
align-items: flex-start;
|
|
293
295
|
display: flex;
|
|
@@ -312,7 +314,7 @@ export default {
|
|
|
312
314
|
}
|
|
313
315
|
|
|
314
316
|
&:not(.input-disabled) {
|
|
315
|
-
.label, .#{
|
|
317
|
+
.label, .#{base.$prefix}icon, .#{base.$prefix}btn {
|
|
316
318
|
color: var(--color-on-sheet-low)
|
|
317
319
|
}
|
|
318
320
|
}
|
|
@@ -381,10 +383,10 @@ export default {
|
|
|
381
383
|
.after-icon {
|
|
382
384
|
position: absolute;
|
|
383
385
|
cursor: pointer;
|
|
384
|
-
@include ltr() {
|
|
386
|
+
@include mixins.ltr() {
|
|
385
387
|
right: 5px;
|
|
386
388
|
}
|
|
387
|
-
@include rtl() {
|
|
389
|
+
@include mixins.rtl() {
|
|
388
390
|
left: 5px;
|
|
389
391
|
}
|
|
390
392
|
|
|
@@ -393,10 +395,10 @@ export default {
|
|
|
393
395
|
.pre-icon {
|
|
394
396
|
position: absolute;
|
|
395
397
|
cursor: pointer;
|
|
396
|
-
@include ltr() {
|
|
398
|
+
@include mixins.ltr() {
|
|
397
399
|
left: 5px;
|
|
398
400
|
}
|
|
399
|
-
@include rtl() {
|
|
401
|
+
@include mixins.rtl() {
|
|
400
402
|
right: 5px;
|
|
401
403
|
}
|
|
402
404
|
|
|
@@ -404,12 +406,12 @@ export default {
|
|
|
404
406
|
|
|
405
407
|
&:not(.input-tile) {
|
|
406
408
|
padding: 0 16px;
|
|
407
|
-
border-radius: map
|
|
409
|
+
border-radius: map.get(base.$borders, 'xl');
|
|
408
410
|
}
|
|
409
411
|
|
|
410
412
|
&.input-tile {
|
|
411
413
|
padding: 0 8px;
|
|
412
|
-
border-radius: map
|
|
414
|
+
border-radius: map.get(base.$borders, 'sm');
|
|
413
415
|
}
|
|
414
416
|
}
|
|
415
417
|
|
|
@@ -428,14 +430,14 @@ export default {
|
|
|
428
430
|
position: absolute;
|
|
429
431
|
z-index: 0;
|
|
430
432
|
top: 8px;
|
|
431
|
-
transition:
|
|
433
|
+
transition: base.$primary-transition;
|
|
432
434
|
|
|
433
|
-
@include ltr() {
|
|
435
|
+
@include mixins.ltr() {
|
|
434
436
|
left: 15px;
|
|
435
437
|
transform-origin: top left;
|
|
436
438
|
}
|
|
437
439
|
|
|
438
|
-
@include rtl() {
|
|
440
|
+
@include mixins.rtl() {
|
|
439
441
|
right: 15px;
|
|
440
442
|
transform-origin: top right;
|
|
441
443
|
}
|
|
@@ -443,36 +445,36 @@ export default {
|
|
|
443
445
|
|
|
444
446
|
:not(.input-tile) {
|
|
445
447
|
.label-active {
|
|
446
|
-
@include ltr() {
|
|
448
|
+
@include mixins.ltr() {
|
|
447
449
|
transform: translateY(-27px) translateX(5px) scale(.9);
|
|
448
450
|
}
|
|
449
|
-
@include rtl() {
|
|
451
|
+
@include mixins.rtl() {
|
|
450
452
|
transform: translateY(-27px) translateX(-5px) scale(.9);
|
|
451
453
|
}
|
|
452
|
-
transition:
|
|
454
|
+
transition: base.$primary-transition
|
|
453
455
|
}
|
|
454
456
|
}
|
|
455
457
|
|
|
456
458
|
.label-fixed {
|
|
457
459
|
transform: none !important;
|
|
458
460
|
top: -20px !important;
|
|
459
|
-
@include ltr() {
|
|
461
|
+
@include mixins.ltr() {
|
|
460
462
|
left: 0 !important;
|
|
461
463
|
}
|
|
462
|
-
@include rtl() {
|
|
464
|
+
@include mixins.rtl() {
|
|
463
465
|
right: 0 !important;
|
|
464
466
|
}
|
|
465
467
|
}
|
|
466
468
|
|
|
467
469
|
.input-tile {
|
|
468
470
|
.label-active {
|
|
469
|
-
@include ltr() {
|
|
471
|
+
@include mixins.ltr() {
|
|
470
472
|
transform: translateY(-27px) translateX(-8px) scale(.9);
|
|
471
473
|
}
|
|
472
|
-
@include rtl() {
|
|
474
|
+
@include mixins.rtl() {
|
|
473
475
|
transform: translateY(-27px) translateX(8px) scale(.9);
|
|
474
476
|
}
|
|
475
|
-
transition:
|
|
477
|
+
transition: base.$primary-transition
|
|
476
478
|
}
|
|
477
479
|
}
|
|
478
480
|
|
|
@@ -481,33 +483,33 @@ export default {
|
|
|
481
483
|
border: solid 1px currentColor;
|
|
482
484
|
}
|
|
483
485
|
|
|
484
|
-
.#{
|
|
486
|
+
.#{base.$prefix}icon, .#{base.$prefix}btn {
|
|
485
487
|
color: currentColor !important;
|
|
486
488
|
}
|
|
487
489
|
|
|
488
490
|
:not(.input-tile) {
|
|
489
491
|
.label {
|
|
490
492
|
color: currentColor !important;
|
|
491
|
-
@include ltr() {
|
|
493
|
+
@include mixins.ltr() {
|
|
492
494
|
transform: translateY(-27px) translateX(5px) scale(.9);
|
|
493
495
|
}
|
|
494
|
-
@include rtl() {
|
|
496
|
+
@include mixins.rtl() {
|
|
495
497
|
transform: translateY(-27px) translateX(-5px) scale(.9);
|
|
496
498
|
}
|
|
497
|
-
transition:
|
|
499
|
+
transition: base.$primary-transition
|
|
498
500
|
}
|
|
499
501
|
}
|
|
500
502
|
|
|
501
503
|
.input-tile {
|
|
502
504
|
.label {
|
|
503
505
|
color: currentColor !important;
|
|
504
|
-
@include ltr() {
|
|
506
|
+
@include mixins.ltr() {
|
|
505
507
|
transform: translateY(-27px) translateX(-8px) scale(.9);
|
|
506
508
|
}
|
|
507
|
-
@include rtl() {
|
|
509
|
+
@include mixins.rtl() {
|
|
508
510
|
transform: translateY(-27px) translateX(8px) scale(.9);
|
|
509
511
|
}
|
|
510
|
-
transition:
|
|
512
|
+
transition: base.$primary-transition
|
|
511
513
|
}
|
|
512
514
|
}
|
|
513
515
|
}
|
|
@@ -532,12 +534,12 @@ export default {
|
|
|
532
534
|
}
|
|
533
535
|
}
|
|
534
536
|
|
|
535
|
-
&.#{
|
|
537
|
+
&.#{base.$prefix}text-area {
|
|
536
538
|
.input-control {
|
|
537
539
|
height: auto;
|
|
538
540
|
|
|
539
541
|
&:not(.input-tile) {
|
|
540
|
-
border-radius: map
|
|
542
|
+
border-radius: map.get(base.$borders, 'xl');
|
|
541
543
|
}
|
|
542
544
|
}
|
|
543
545
|
|
|
@@ -83,13 +83,14 @@ export default {
|
|
|
83
83
|
}
|
|
84
84
|
</script>
|
|
85
85
|
<style lang="scss">
|
|
86
|
-
@
|
|
86
|
+
@use "../../../style/variables/base";
|
|
87
|
+
@use "../../../style/mixins";
|
|
87
88
|
|
|
88
|
-
.#{
|
|
89
|
-
@include rtl() {
|
|
89
|
+
.#{base.$prefix}json-view {
|
|
90
|
+
@include mixins.rtl() {
|
|
90
91
|
border-right: 1px solid var(--color-sheet-low);
|
|
91
92
|
}
|
|
92
|
-
@include ltr() {
|
|
93
|
+
@include mixins.ltr() {
|
|
93
94
|
border-left: 1px solid var(--color-sheet-low);
|
|
94
95
|
}
|
|
95
96
|
}
|
|
@@ -23,34 +23,34 @@
|
|
|
23
23
|
</r-btn>
|
|
24
24
|
<div v-else-if="show" class="d-flex v-baseline flex-wrap">
|
|
25
25
|
<slot :add="add" :info="info">
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
:tile="tile"
|
|
45
|
-
:label="valueLabel||$t('value','renusify')"
|
|
46
|
-
v-model="info.value"></r-text-input>
|
|
47
|
-
<r-number-input v-else-if="info.type==='number'"
|
|
48
|
-
:tile="tile"
|
|
49
|
-
v-model="info.value" :label="valueLabel||$t('value','renusify')"></r-number-input>
|
|
50
|
-
<r-switch-input v-else-if="info.type==='boolean'"
|
|
26
|
+
<r-text-input
|
|
27
|
+
v-if="!is_array"
|
|
28
|
+
v-model="info.key"
|
|
29
|
+
:label="keyLabel||$t('key','renusify')"
|
|
30
|
+
:tile="tile"
|
|
31
|
+
class="w-30 pe-1"></r-text-input>
|
|
32
|
+
<div class="w-20" v-if="!valueType">
|
|
33
|
+
<r-select-input v-model="info.type"
|
|
34
|
+
:items="['text','number','boolean','json','array']"
|
|
35
|
+
:tile="tile"
|
|
36
|
+
:translate="translate"
|
|
37
|
+
class="me-1"
|
|
38
|
+
disableSearch
|
|
39
|
+
firstSelect
|
|
40
|
+
just-value
|
|
41
|
+
@update:model-value="info.value=null"></r-select-input>
|
|
42
|
+
</div>
|
|
43
|
+
<r-text-input v-if="info.type==='text'"
|
|
51
44
|
:tile="tile"
|
|
52
|
-
|
|
53
|
-
|
|
45
|
+
:label="valueLabel||$t('value','renusify')"
|
|
46
|
+
v-model="info.value"></r-text-input>
|
|
47
|
+
<r-number-input v-else-if="info.type==='number'"
|
|
48
|
+
:tile="tile"
|
|
49
|
+
v-model="info.value" :label="valueLabel||$t('value','renusify')"></r-number-input>
|
|
50
|
+
<r-switch-input v-else-if="info.type==='boolean'"
|
|
51
|
+
:tile="tile"
|
|
52
|
+
v-model="info.value" :label="valueLabel||$t('value','renusify')"></r-switch-input>
|
|
53
|
+
<r-btn :rounded="!c_tile" class="ms-1 color-success" @click.prevent="add">{{ $t('add', 'renusify') }}</r-btn>
|
|
54
54
|
</slot>
|
|
55
55
|
</div>
|
|
56
56
|
</div>
|
|
@@ -71,11 +71,11 @@
|
|
|
71
71
|
</template>
|
|
72
72
|
<script>
|
|
73
73
|
import {defineAsyncComponent} from 'vue'
|
|
74
|
-
import mixin from '../../codeEditor/mixin'
|
|
74
|
+
import mixin from '../../codeEditor/mixin.js'
|
|
75
75
|
|
|
76
76
|
export default {
|
|
77
77
|
name: 'r-json',
|
|
78
|
-
components: {JsonView:defineAsyncComponent(()=>import('./JsonView.vue'))},
|
|
78
|
+
components: {JsonView: defineAsyncComponent(() => import('./JsonView.vue'))},
|
|
79
79
|
mixins: [mixin],
|
|
80
80
|
props: {
|
|
81
81
|
label: String,
|
|
@@ -213,18 +213,20 @@ export default {
|
|
|
213
213
|
}
|
|
214
214
|
</script>
|
|
215
215
|
<style lang="scss">
|
|
216
|
-
@
|
|
216
|
+
@use "sass:map";
|
|
217
|
+
@use "../../../style/variables/base";
|
|
218
|
+
|
|
217
219
|
|
|
218
|
-
.#{
|
|
220
|
+
.#{base.$prefix}json-input {
|
|
219
221
|
background: var(--color-sheet-container);
|
|
220
222
|
padding: 5px;
|
|
221
223
|
|
|
222
224
|
&.input-tile {
|
|
223
|
-
border-radius: map
|
|
225
|
+
border-radius: map.get(base.$borders, 'sm');
|
|
224
226
|
}
|
|
225
227
|
|
|
226
228
|
&:not(.input-tile) {
|
|
227
|
-
border-radius: map
|
|
229
|
+
border-radius: map.get(base.$borders, 'xl');
|
|
228
230
|
}
|
|
229
231
|
|
|
230
232
|
.input-control {
|
|
@@ -41,7 +41,7 @@ export default {
|
|
|
41
41
|
},
|
|
42
42
|
btnText: Boolean
|
|
43
43
|
},
|
|
44
|
-
emits:['update:modelValue'],
|
|
44
|
+
emits: ['update:modelValue'],
|
|
45
45
|
data() {
|
|
46
46
|
return {
|
|
47
47
|
number: this.setSplit(this.modelValue),
|
|
@@ -101,9 +101,12 @@ export default {
|
|
|
101
101
|
</script>
|
|
102
102
|
|
|
103
103
|
<style lang="scss">
|
|
104
|
-
@
|
|
104
|
+
@use "sass:map";
|
|
105
|
+
@use "../../../style/variables/base";
|
|
106
|
+
@use "../../../style/mixins";
|
|
105
107
|
|
|
106
|
-
|
|
108
|
+
|
|
109
|
+
.#{base.$prefix}add-btn {
|
|
107
110
|
position: relative;
|
|
108
111
|
|
|
109
112
|
input::-webkit-outer-spin-button,
|
|
@@ -135,20 +138,20 @@ export default {
|
|
|
135
138
|
height: 36px !important;
|
|
136
139
|
}
|
|
137
140
|
|
|
138
|
-
.#{
|
|
141
|
+
.#{base.$prefix}input-container:not(.input-focused) {
|
|
139
142
|
.label:not(.label-active) {
|
|
140
|
-
@include ltr() {
|
|
143
|
+
@include mixins.ltr() {
|
|
141
144
|
margin-left: 24px;
|
|
142
145
|
}
|
|
143
|
-
@include rtl() {
|
|
146
|
+
@include mixins.rtl() {
|
|
144
147
|
margin-right: 24px;
|
|
145
148
|
}
|
|
146
149
|
}
|
|
147
150
|
}
|
|
148
151
|
|
|
149
152
|
.input-tile {
|
|
150
|
-
.#{
|
|
151
|
-
border-radius: map
|
|
153
|
+
.#{base.$prefix}btn {
|
|
154
|
+
border-radius: map.get(base.$borders, 'sm');
|
|
152
155
|
}
|
|
153
156
|
}
|
|
154
157
|
}
|
|
@@ -67,9 +67,11 @@ export default {
|
|
|
67
67
|
|
|
68
68
|
</script>
|
|
69
69
|
<style lang="scss">
|
|
70
|
-
@
|
|
70
|
+
@use "sass:map";
|
|
71
|
+
@use "../../../style/variables/base";
|
|
71
72
|
|
|
72
|
-
|
|
73
|
+
|
|
74
|
+
.#{base.$prefix}radio-input {
|
|
73
75
|
width: 100%;
|
|
74
76
|
cursor: pointer;
|
|
75
77
|
|
|
@@ -81,7 +83,7 @@ export default {
|
|
|
81
83
|
border: 1px solid var(--color-on-sheet-low)
|
|
82
84
|
}
|
|
83
85
|
|
|
84
|
-
.#{
|
|
86
|
+
.#{base.$prefix}icon {
|
|
85
87
|
width: 20px;
|
|
86
88
|
height: 20px;
|
|
87
89
|
}
|
|
@@ -90,7 +92,7 @@ export default {
|
|
|
90
92
|
text-align: center;
|
|
91
93
|
width: 25px;
|
|
92
94
|
height: 25px;
|
|
93
|
-
border-radius: map
|
|
95
|
+
border-radius: map.get(base.$borders, 'sm');
|
|
94
96
|
transition: .3s all ease-in-out;
|
|
95
97
|
}
|
|
96
98
|
|
|
@@ -209,9 +209,10 @@ export default {
|
|
|
209
209
|
}
|
|
210
210
|
</script>
|
|
211
211
|
<style lang="scss">
|
|
212
|
-
@
|
|
212
|
+
@use "../../../style/variables/base";
|
|
213
|
+
@use "../../../style/mixins";
|
|
213
214
|
|
|
214
|
-
.#{
|
|
215
|
+
.#{base.$prefix}range {
|
|
215
216
|
height: 30px;
|
|
216
217
|
position: relative;
|
|
217
218
|
|
|
@@ -246,10 +247,10 @@ export default {
|
|
|
246
247
|
&:hover {
|
|
247
248
|
width: 16px;
|
|
248
249
|
height: 16px;
|
|
249
|
-
@include rtl() {
|
|
250
|
+
@include mixins.rtl() {
|
|
250
251
|
transform: translate(2px, -2px);
|
|
251
252
|
}
|
|
252
|
-
@include ltr() {
|
|
253
|
+
@include mixins.ltr() {
|
|
253
254
|
transform: translate(-2px, -2px);
|
|
254
255
|
}
|
|
255
256
|
border: 3px solid var(--color-one) !important;
|
|
@@ -274,10 +275,10 @@ export default {
|
|
|
274
275
|
width: auto;
|
|
275
276
|
height: 30px;
|
|
276
277
|
min-width: 30px;
|
|
277
|
-
@include rtl() {
|
|
278
|
+
@include mixins.rtl() {
|
|
278
279
|
transform: translateX(calc(50% - 5px));
|
|
279
280
|
}
|
|
280
|
-
@include ltr() {
|
|
281
|
+
@include mixins.ltr() {
|
|
281
282
|
transform: translateX(calc(-50% + 5px));
|
|
282
283
|
}
|
|
283
284
|
}
|
|
@@ -309,10 +310,10 @@ export default {
|
|
|
309
310
|
&:hover {
|
|
310
311
|
width: 16px;
|
|
311
312
|
height: 16px;
|
|
312
|
-
@include rtl() {
|
|
313
|
+
@include mixins.rtl() {
|
|
313
314
|
transform: translate(2px, -2px);
|
|
314
315
|
}
|
|
315
|
-
@include ltr {
|
|
316
|
+
@include mixins.ltr() {
|
|
316
317
|
transform: translate(-2px, -2px);
|
|
317
318
|
}
|
|
318
319
|
border: 3px solid var(--color-one) !important;
|
|
@@ -337,10 +338,10 @@ export default {
|
|
|
337
338
|
width: auto;
|
|
338
339
|
height: 30px;
|
|
339
340
|
min-width: 30px;
|
|
340
|
-
@include rtl() {
|
|
341
|
+
@include mixins.rtl() {
|
|
341
342
|
transform: translateX(calc(50% - 5px));
|
|
342
343
|
}
|
|
343
|
-
@include ltr() {
|
|
344
|
+
@include mixins.ltr() {
|
|
344
345
|
transform: translateX(calc(-50% + 5px));
|
|
345
346
|
}
|
|
346
347
|
}
|