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.
@@ -46,6 +46,7 @@ export default {
46
46
  z-index: map.get(base.$z-index, "default");
47
47
  background-color: var(--color-sheet);
48
48
  color: var(--color-on-sheet);
49
+
49
50
  @include mixins.typography(base.$headings, 'body-3');
50
51
 
51
52
  .navigation-item {
@@ -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
- import '../scss/toolbar.scss'
16
- import {defineAsyncComponent} from 'vue'
15
+ import '../scss/toolbar.scss'
16
+ import {defineAsyncComponent} from 'vue'
17
17
 
18
- export default {
18
+ export default {
19
19
  name: 'r-toolbar',
20
20
  components: {
21
21
  Laptop: defineAsyncComponent(() =>
@@ -10,9 +10,9 @@
10
10
  </template>
11
11
 
12
12
  <script>
13
- import {roots} from '../../tools/rootable.js'
13
+ import {roots} from '../../tools/rootable.js'
14
14
 
15
- export default {
15
+ export default {
16
16
  name: 'rBreadcrumbItem',
17
17
  mixins: [roots],
18
18
  props: {
@@ -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 @see="$emit('see', $event)" :message="message" :is-me="message.user_id===myself.id"
6
- :user="message.user_id===myself.id?myself:participants[message.user_id]"></r-chat-message>
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 name="scale" v-if="!hideBottomBtn">
10
- <r-btn v-if="!is_bottom" fab class="go-buttom" :label="newMsg.num" @click.prevent="goTo(newMsg.first_id)">
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
- import("./highlightJs.vue")
69
+ import("./highlightJs.vue")
70
70
  ), highlightHtml: defineAsyncComponent(() =>
71
- import("./highlightHtml.vue")
71
+ import("./highlightHtml.vue")
72
72
  ), RCodeEditorRun: defineAsyncComponent(() =>
73
- import("./run.vue")
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 class="float-container" :class="{'in-zoom':inZoom}" ref="float">
4
- <slot :resume="resume" :pause="pause" :move="moveTo" :transform="transform" :zoom="zoomAbs"
5
- :ease="ease"></slot>
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 class="w-20" v-if="!valueType">
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
- :tile="tile"
44
+ v-model="info.value"
45
45
  :label="valueLabel||$t('value','renusify')"
46
- v-model="info.value"></r-text-input>
46
+ :tile="tile"></r-text-input>
47
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>
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
- :tile="tile"
52
- v-model="info.value" :label="valueLabel||$t('value','renusify')"></r-switch-input>
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
  }
@@ -302,7 +302,7 @@ export default {
302
302
  },
303
303
  add() {
304
304
  import('./leaflet.css')
305
- import('./leaflet.js').then(()=>{
305
+ import('./leaflet.js').then(() => {
306
306
  this.L = global.L
307
307
  this.run();
308
308
  })
@@ -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
- :pos="left?'left':'right'"
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
- :content="item.content"
22
- @click.prevent="handle(item.on_click)"
23
- @hide="hideChild(item.id,item.on_close)">
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 full-width :class="`${$r.prefix}timeline`">
3
- <r-row no-gutters class="timeline-item" v-for="(item,i) in items" :key="i">
4
- <r-col class="md-5" v-if="$r.breakpoint.mdAndUp">
5
- <slot name="back" :item="item" :k="i"></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 name="counter" :item="item" :k="i">
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
- .#{base.$prefix}float {
128
+ .#{base.$prefix}float {
129
129
  height: calc(100% - 70px)
130
130
  }
131
131
  }
132
132
 
133
- .#{base.$prefix}float {
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
- -webkit-text-fill-color: transparent !important;
7
-
8
- background-color: rgba(0, 0, 0, 0.12) !important;
9
- overflow: hidden !important;
10
- position: relative !important;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "renusify",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "Vue3 Framework",
5
5
  "keywords": [
6
6
  "vuejs",
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
- text-rendering: optimizeLegibility;
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
- scroll-behavior: smooth;
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 , -2);
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 , $columns));
46
- flex: 0 0 math.percentage(math.div($size , $columns));
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 , 2);
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 , 2);
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
- $spacers: map.merge($spacers, ($i: $spacer * $i))
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
- $negative-spacers: map.merge($negative-spacers, ("n" + $i: -$spacer * $i))
17
+ $negative-spacers: map.merge($negative-spacers, ("n" + $i: -$spacer * $i))
18
18
  }
19
19
 
20
20
  $borders: (