renusify 2.3.0 → 2.3.1
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/bar/bottomNavigationCircle.vue +1 -0
- package/components/bar/scss/toolbar.scss +2 -2
- package/components/bar/toolbar/index.vue +3 -3
- package/components/breadcrumb/bredcrumbItem.vue +2 -2
- package/components/chart/chart.vue +2 -1
- package/components/chat/MessageList.vue +4 -4
- package/components/codeEditor/index.vue +3 -3
- package/components/float/index.vue +3 -3
- package/components/form/jsonInput/index.vue +7 -7
- package/components/form/switchInput/index.vue +1 -1
- package/components/map/index.vue +1 -1
- package/components/notify/index.vue +6 -6
- package/components/timeline/index.vue +5 -5
- package/components/tree/index.vue +2 -2
- package/directive/skeleton/style.scss +7 -5
- package/package.json +1 -1
- package/style/app.scss +6 -2
- package/style/mixins/container.scss +6 -5
- package/style/variables/base.scss +2 -2
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
overflow: auto;
|
|
27
27
|
position: absolute;
|
|
28
28
|
transition: .5s all map.get(base.$transition, 'swing');
|
|
29
|
-
@include mixins.rtl(){
|
|
29
|
+
@include mixins.rtl() {
|
|
30
30
|
right: -300px;
|
|
31
31
|
}
|
|
32
|
-
@include mixins.ltr(){
|
|
32
|
+
@include mixins.ltr() {
|
|
33
33
|
left: -300px;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
</template>
|
|
13
13
|
|
|
14
14
|
<script>
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
import '../scss/toolbar.scss'
|
|
16
|
+
import {defineAsyncComponent} from 'vue'
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
export default {
|
|
19
19
|
name: 'r-toolbar',
|
|
20
20
|
components: {
|
|
21
21
|
Laptop: defineAsyncComponent(() =>
|
|
@@ -16,7 +16,7 @@ export default {
|
|
|
16
16
|
};
|
|
17
17
|
},
|
|
18
18
|
mounted(){
|
|
19
|
-
import('./apexcharts.js').then((d)=>{
|
|
19
|
+
import('./apexcharts.js').then((d) => {
|
|
20
20
|
this.Chart=d.default;
|
|
21
21
|
this.build()
|
|
22
22
|
})
|
|
@@ -34,6 +34,7 @@ export default {
|
|
|
34
34
|
</script>
|
|
35
35
|
<style lang="scss">
|
|
36
36
|
@use "../../style/variables/base";
|
|
37
|
+
|
|
37
38
|
.#{base.$prefix}chart {
|
|
38
39
|
position: relative;
|
|
39
40
|
direction: ltr;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
<div ref="containerMessage"
|
|
3
3
|
v-scroll.window="handle" class="container-message-list">
|
|
4
4
|
<div v-for="message in messages" :key="message._id" class="message-container">
|
|
5
|
-
<r-chat-message
|
|
6
|
-
|
|
5
|
+
<r-chat-message :is-me="message.user_id===myself.id" :message="message" :user="message.user_id===myself.id?myself:participants[message.user_id]"
|
|
6
|
+
@see="$emit('see', $event)"></r-chat-message>
|
|
7
7
|
</div>
|
|
8
8
|
</div>
|
|
9
|
-
<transition
|
|
10
|
-
<r-btn v-if="!is_bottom"
|
|
9
|
+
<transition v-if="!hideBottomBtn" name="scale">
|
|
10
|
+
<r-btn v-if="!is_bottom" :label="newMsg.num" class="go-buttom" fab @click.prevent="goTo(newMsg.first_id)">
|
|
11
11
|
<r-icon v-html="$r.icons.chevron_down"></r-icon>
|
|
12
12
|
</r-btn>
|
|
13
13
|
</transition>
|
|
@@ -66,11 +66,11 @@ export default {
|
|
|
66
66
|
HighlightCss: defineAsyncComponent(() =>
|
|
67
67
|
import("./highlightCss.vue")
|
|
68
68
|
), HighlightScript: defineAsyncComponent(() =>
|
|
69
|
-
|
|
69
|
+
import("./highlightJs.vue")
|
|
70
70
|
), highlightHtml: defineAsyncComponent(() =>
|
|
71
|
-
|
|
71
|
+
import("./highlightHtml.vue")
|
|
72
72
|
), RCodeEditorRun: defineAsyncComponent(() =>
|
|
73
|
-
|
|
73
|
+
import("./run.vue")
|
|
74
74
|
)
|
|
75
75
|
},
|
|
76
76
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="classes">
|
|
3
|
-
<div
|
|
4
|
-
<slot :
|
|
5
|
-
:
|
|
3
|
+
<div ref="float" :class="{'in-zoom':inZoom}" class="float-container">
|
|
4
|
+
<slot :ease="ease" :move="moveTo" :pause="pause" :resume="resume" :transform="transform"
|
|
5
|
+
:zoom="zoomAbs"></slot>
|
|
6
6
|
</div>
|
|
7
7
|
</div>
|
|
8
8
|
</template>
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
:label="keyLabel||$t('key','renusify')"
|
|
30
30
|
:tile="tile"
|
|
31
31
|
class="w-30 pe-1"></r-text-input>
|
|
32
|
-
<div
|
|
32
|
+
<div v-if="!valueType" class="w-20">
|
|
33
33
|
<r-select-input v-model="info.type"
|
|
34
34
|
:items="['text','number','boolean','json','array']"
|
|
35
35
|
:tile="tile"
|
|
@@ -41,15 +41,15 @@
|
|
|
41
41
|
@update:model-value="info.value=null"></r-select-input>
|
|
42
42
|
</div>
|
|
43
43
|
<r-text-input v-if="info.type==='text'"
|
|
44
|
-
|
|
44
|
+
v-model="info.value"
|
|
45
45
|
:label="valueLabel||$t('value','renusify')"
|
|
46
|
-
|
|
46
|
+
:tile="tile"></r-text-input>
|
|
47
47
|
<r-number-input v-else-if="info.type==='number'"
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
v-model="info.value"
|
|
49
|
+
:label="valueLabel||$t('value','renusify')" :tile="tile"></r-number-input>
|
|
50
50
|
<r-switch-input v-else-if="info.type==='boolean'"
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
v-model="info.value"
|
|
52
|
+
:label="valueLabel||$t('value','renusify')" :tile="tile"></r-switch-input>
|
|
53
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>
|
|
@@ -94,7 +94,7 @@ emits:['update:modelValue','change'],
|
|
|
94
94
|
height: 20px;
|
|
95
95
|
border-radius: 50%;
|
|
96
96
|
background-color: #cdcbcb;
|
|
97
|
-
transition: .3s map.get(base.$transition,'fast-in-fast-out');
|
|
97
|
+
transition: .3s map.get(base.$transition, 'fast-in-fast-out');
|
|
98
98
|
@include mixins.rtl() {
|
|
99
99
|
right: 0;
|
|
100
100
|
}
|
package/components/map/index.vue
CHANGED
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
{{ $t('clear', 'renusify') }}
|
|
14
14
|
</r-btn>
|
|
15
15
|
<notification v-for="item in list" :key="item.id"
|
|
16
|
-
:
|
|
16
|
+
:content="item.content"
|
|
17
17
|
:permanent="item.permanent"
|
|
18
|
+
:pos="left?'left':'right'"
|
|
18
19
|
:status="`color-${item.status}`"
|
|
19
|
-
:width="item.width"
|
|
20
20
|
:timeout="item.timeout"
|
|
21
|
-
:
|
|
22
|
-
@
|
|
23
|
-
@
|
|
21
|
+
:width="item.width"
|
|
22
|
+
@hide="hideChild(item.id,item.on_close)"
|
|
23
|
+
@click.prevent="handle(item.on_click)">
|
|
24
24
|
|
|
25
25
|
<slot :data="item">
|
|
26
26
|
{{ item }}
|
|
@@ -118,7 +118,7 @@ export default {
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
</script>
|
|
121
|
-
<style lang="scss"
|
|
121
|
+
<style lang="scss">
|
|
122
122
|
@use "sass:map";
|
|
123
123
|
@use "../../style/variables/base";
|
|
124
124
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<r-container
|
|
3
|
-
<r-row
|
|
4
|
-
<r-col
|
|
5
|
-
<slot
|
|
2
|
+
<r-container :class="`${$r.prefix}timeline`" full-width>
|
|
3
|
+
<r-row v-for="(item,i) in items" :key="i" class="timeline-item" no-gutters>
|
|
4
|
+
<r-col v-if="$r.breakpoint.mdAndUp" class="md-5">
|
|
5
|
+
<slot :item="item" :k="i" name="back"></slot>
|
|
6
6
|
</r-col>
|
|
7
7
|
<r-col class="col-2 md-2">
|
|
8
|
-
<slot
|
|
8
|
+
<slot :item="item" :k="i" name="counter">
|
|
9
9
|
<div class="d-flex h-center v-center h-full">
|
|
10
10
|
<div class="timeline-counter color-one d-flex h-center v-center">{{ i + 1 }}</div>
|
|
11
11
|
</div>
|
|
@@ -125,12 +125,12 @@ $distance: 20px;
|
|
|
125
125
|
height: 100%;
|
|
126
126
|
|
|
127
127
|
&.tree-searchable {
|
|
128
|
-
|
|
128
|
+
.#{base.$prefix}float {
|
|
129
129
|
height: calc(100% - 70px)
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
|
|
133
|
+
.#{base.$prefix}float {
|
|
134
134
|
direction: ltr;
|
|
135
135
|
}
|
|
136
136
|
|
|
@@ -3,11 +3,13 @@
|
|
|
3
3
|
opacity: 0 !important;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
& {
|
|
7
|
+
-webkit-text-fill-color: transparent !important;
|
|
8
|
+
background-color: rgba(0, 0, 0, 0.12) !important;
|
|
9
|
+
overflow: hidden !important;
|
|
10
|
+
position: relative !important;
|
|
11
|
+
}
|
|
12
|
+
;
|
|
11
13
|
|
|
12
14
|
&:after {
|
|
13
15
|
animation: skeletonloading 1.5s infinite;
|
package/package.json
CHANGED
package/style/app.scss
CHANGED
|
@@ -13,7 +13,9 @@ html {
|
|
|
13
13
|
@include container.media-breakpoint-down('md') {
|
|
14
14
|
font-size: base.$font-size-root-mobile;
|
|
15
15
|
}
|
|
16
|
-
|
|
16
|
+
|
|
17
|
+
& {
|
|
18
|
+
text-rendering: optimizeLegibility;
|
|
17
19
|
-webkit-font-smoothing: antialiased;
|
|
18
20
|
-moz-osx-font-smoothing: grayscale;
|
|
19
21
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
@@ -21,7 +23,9 @@ html {
|
|
|
21
23
|
overflow-y: scroll;
|
|
22
24
|
overflow-x: hidden;
|
|
23
25
|
-webkit-text-size-adjust: 100%;
|
|
24
|
-
|
|
26
|
+
scroll-behavior: smooth;
|
|
27
|
+
}
|
|
28
|
+
;
|
|
25
29
|
}
|
|
26
30
|
|
|
27
31
|
body {
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
@use "sass:math";
|
|
5
5
|
@use "sass:map";
|
|
6
|
+
|
|
6
7
|
@mixin media-breakpoint-up($name, $breakpoints: base.$grid-breakpoints) {
|
|
7
8
|
$min: functions.breakpoint-min-width($name, $breakpoints) ;
|
|
8
9
|
@if $min {
|
|
@@ -36,14 +37,14 @@
|
|
|
36
37
|
@mixin make-row($gutter: base.$grid-gutter) {
|
|
37
38
|
display: flex;
|
|
38
39
|
margin-right: math.div($gutter, -2);
|
|
39
|
-
margin-left: math.div($gutter
|
|
40
|
+
margin-left: math.div($gutter, -2);
|
|
40
41
|
flex-wrap: wrap;
|
|
41
42
|
flex: 1 1 auto;
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
@mixin make-col($size, $columns: base.$grid-columns) {
|
|
45
|
-
max-width: math.percentage(math.div($size
|
|
46
|
-
flex: 0 0 math.percentage(math.div($size
|
|
46
|
+
max-width: math.percentage(math.div($size, $columns));
|
|
47
|
+
flex: 0 0 math.percentage(math.div($size, $columns));
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
|
|
@@ -56,12 +57,12 @@
|
|
|
56
57
|
@if ($bName=='') {
|
|
57
58
|
.col.col-#{$i} {
|
|
58
59
|
width: 100%;
|
|
59
|
-
padding: math.div($gutter
|
|
60
|
+
padding: math.div($gutter, 2);
|
|
60
61
|
}
|
|
61
62
|
} @else {
|
|
62
63
|
.col.#{$bNameClear}-#{$i} {
|
|
63
64
|
width: 100%;
|
|
64
|
-
padding: math.div($gutter
|
|
65
|
+
padding: math.div($gutter, 2);
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
68
|
|
|
@@ -9,12 +9,12 @@ $line-height-root: 1.5rem !default;
|
|
|
9
9
|
$spacer: 4px !default;
|
|
10
10
|
$spacers: ();
|
|
11
11
|
@for $i from 0 through 24 {
|
|
12
|
-
|
|
12
|
+
$spacers: map.merge($spacers, ($i: $spacer * $i))
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
$negative-spacers: ();
|
|
16
16
|
@for $i from 1 through 24 {
|
|
17
|
-
|
|
17
|
+
$negative-spacers: map.merge($negative-spacers, ("n" + $i: -$spacer * $i))
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
$borders: (
|