renusify 2.2.6 → 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.
Files changed (105) hide show
  1. package/components/app/style.scss +6 -4
  2. package/components/app/toast/style.scss +4 -3
  3. package/components/avatar/style.scss +2 -2
  4. package/components/bar/bottomNavigationCircle.vue +8 -5
  5. package/components/bar/scss/bottomNav.scss +15 -12
  6. package/components/bar/scss/toolbar.scss +32 -30
  7. package/components/bar/toolbar/index.vue +5 -5
  8. package/components/bar/toolbar/laptop.vue +1 -1
  9. package/components/bar/toolbar/mobile.vue +1 -1
  10. package/components/breadcrumb/bredcrumbItem.vue +2 -2
  11. package/components/breadcrumb/style.scss +6 -6
  12. package/components/button/index.vue +1 -1
  13. package/components/button/style.scss +41 -36
  14. package/components/calendar/index.vue +4 -3
  15. package/components/card/index.vue +1 -1
  16. package/components/card/style.scss +14 -11
  17. package/components/chart/chart.vue +3 -3
  18. package/components/chart/worldMap.vue +2 -2
  19. package/components/chat/MessageList.vue +122 -119
  20. package/components/chat/chatInput.vue +3 -3
  21. package/components/chat/chatMsg.vue +23 -21
  22. package/components/chat/index.vue +2 -2
  23. package/components/chip/style.scss +21 -16
  24. package/components/codeEditor/highlightCss.vue +1 -1
  25. package/components/codeEditor/highlightHtml.vue +1 -1
  26. package/components/codeEditor/highlightJs.vue +1 -1
  27. package/components/codeEditor/index.vue +6 -6
  28. package/components/container/style.scss +12 -10
  29. package/components/content/index.vue +17 -14
  30. package/components/cropper/index.vue +2 -2
  31. package/components/float/index.vue +456 -454
  32. package/components/form/camInput/index.vue +2 -2
  33. package/components/form/checkInput/index.vue +2 -2
  34. package/components/form/checkboxInput/index.vue +5 -4
  35. package/components/form/colorInput/Alpha.vue +1 -1
  36. package/components/form/colorInput/Preview.vue +1 -1
  37. package/components/form/colorInput/Saturation.vue +1 -1
  38. package/components/form/colorInput/index.vue +2 -2
  39. package/components/form/colorInput/picker.vue +10 -8
  40. package/components/form/dateInput/index.vue +2 -2
  41. package/components/form/fileInput/index.vue +0 -3
  42. package/components/form/fileInput/single.vue +3 -3
  43. package/components/form/groupInput/index.vue +5 -4
  44. package/components/form/input/index.vue +31 -29
  45. package/components/form/jsonInput/JsonView.vue +5 -4
  46. package/components/form/jsonInput/index.vue +36 -34
  47. package/components/form/numberInput/index.vue +11 -8
  48. package/components/form/radioInput/index.vue +6 -4
  49. package/components/form/rangeInput/index.vue +11 -10
  50. package/components/form/ratingInput/index.vue +5 -5
  51. package/components/form/selectInput/index.vue +8 -6
  52. package/components/form/switchInput/index.vue +9 -7
  53. package/components/form/telInput/index.vue +2 -2
  54. package/components/form/text-editor/style.scss +10 -7
  55. package/components/form/textArea/index.vue +2 -2
  56. package/components/form/timeInput/timepicker.vue +4 -3
  57. package/components/form/unitInput/index.vue +8 -6
  58. package/components/icon/style.scss +5 -4
  59. package/components/img/index.vue +2 -2
  60. package/components/index.js +0 -2
  61. package/components/list/index.vue +1 -1
  62. package/components/list/style.scss +6 -5
  63. package/components/map/index.vue +3 -3
  64. package/components/map/route.vue +2 -2
  65. package/components/menu/index.vue +4 -3
  66. package/components/modal/style.scss +19 -15
  67. package/components/nestable/index.vue +4 -4
  68. package/components/notify/index.vue +55 -53
  69. package/components/notify/notification.vue +5 -3
  70. package/components/progress/style.scss +8 -5
  71. package/components/searchBox/index.vue +15 -12
  72. package/components/skeleton/index.vue +5 -3
  73. package/components/slider/index.vue +18 -15
  74. package/components/swiper/index.vue +2 -2
  75. package/components/table/crud/index.vue +2 -2
  76. package/components/table/style.scss +87 -82
  77. package/components/tabs/index.vue +2 -2
  78. package/components/timeline/index.vue +64 -61
  79. package/components/tree/index.vue +4 -4
  80. package/components/tree/tree-element.vue +2 -2
  81. package/directive/animate/style.scss +72 -41
  82. package/directive/drag/index.js +1 -1
  83. package/directive/ripple/style.scss +6 -4
  84. package/directive/skeleton/style.scss +7 -7
  85. package/directive/sortable/index.js +1 -1
  86. package/directive/sortable/style.scss +7 -3
  87. package/directive/title/style.scss +4 -2
  88. package/index.js +10 -10
  89. package/package.json +1 -1
  90. package/style/app.scss +70 -58
  91. package/style/colors.scss +26 -22
  92. package/style/functions/index.scss +8 -8
  93. package/style/mixins/container.scss +25 -19
  94. package/style/mixins/index.scss +19 -15
  95. package/style/mixins/utilities.scss +26 -21
  96. package/style/style.scss +5 -6
  97. package/style/transitions.scss +14 -13
  98. package/style/variables/base.scss +26 -24
  99. package/style/variables/utilities.scss +35 -34
  100. package/components/html2pdf/index.js +0 -4
  101. package/components/html2pdf/index.vue +0 -280
  102. package/components/html2pdf/pageBreak.js +0 -1
  103. package/components/html2pdf/pageBreak.vue +0 -12
  104. package/style/_include.scss +0 -3
  105. package/style/variables/index.scss +0 -3
@@ -44,7 +44,7 @@ export default {
44
44
  }
45
45
  </script>
46
46
  <style lang="scss">
47
- @import "../../../style/include";
47
+ @use "../../../style/variables/base";
48
48
 
49
49
  $btn-sizes: (
50
50
  'x-small': 20,
@@ -53,10 +53,10 @@ $btn-sizes: (
53
53
  'large': 35,
54
54
  'x-large': 40
55
55
  ) !default;
56
- .#{$prefix}rating {
56
+ .#{base.$prefix}rating {
57
57
  max-width: 100%;
58
58
  white-space: nowrap;
59
- transition: 1s $primary-transition;
59
+ transition: 1s base.$primary-transition;
60
60
 
61
61
  * {
62
62
  color: var(--color-on-sheet-low);
@@ -68,12 +68,12 @@ $btn-sizes: (
68
68
 
69
69
  @each $name, $size in $btn-sizes {
70
70
  &.size-#{$name} {
71
- .#{$prefix}btn {
71
+ .#{base.$prefix}btn {
72
72
  height: #{$size}px;
73
73
  width: #{$size}px
74
74
  }
75
75
 
76
- .#{$prefix}icon {
76
+ .#{base.$prefix}icon {
77
77
  height: #{$size - 4px};
78
78
  width: #{$size - 4px}
79
79
  }
@@ -342,10 +342,12 @@ export default {
342
342
 
343
343
  </script>
344
344
  <style lang="scss">
345
- @import "../../../style/include";
345
+ @use "sass:map";
346
+ @use "../../../style/variables/base";
347
+
346
348
 
347
349
  $min-height: 40px;
348
- .#{$prefix}select-container {
350
+ .#{base.$prefix}select-container {
349
351
  position: relative;
350
352
  scroll-margin: $min-height;
351
353
 
@@ -376,7 +378,7 @@ $min-height: 40px;
376
378
  position: relative;
377
379
  }
378
380
 
379
- .#{$prefix}chip {
381
+ .#{base.$prefix}chip {
380
382
  flex: 0 1 auto;
381
383
  margin: 4px;
382
384
  }
@@ -385,10 +387,10 @@ $min-height: 40px;
385
387
  max-height: 0;
386
388
  overflow: auto;
387
389
  opacity: .5;
388
- transition: all .3s $primary-transition;
390
+ transition: all .3s base.$primary-transition;
389
391
  position: absolute;
390
392
  left: 0;
391
- z-index: map_get($z-index, 'default');
393
+ z-index: map.get(base.$z-index, 'default');
392
394
  }
393
395
 
394
396
  .to-top {
@@ -396,7 +398,7 @@ $min-height: 40px;
396
398
  }
397
399
 
398
400
  .card-select-active {
399
- transition: all 0.3s $primary-transition;
401
+ transition: all 0.3s base.$primary-transition;
400
402
  max-height: 300px;
401
403
  opacity: 1;
402
404
  }
@@ -56,9 +56,11 @@ emits:['update:modelValue','change'],
56
56
 
57
57
  </script>
58
58
  <style lang="scss">
59
- @import "../../../style/include";
59
+ @use "sass:map";
60
+ @use "../../../style/variables/base";
61
+ @use "../../../style/mixins";
60
62
 
61
- .#{$prefix}switch {
63
+ .#{base.$prefix}switch {
62
64
  .switch-label {
63
65
  color: var(--color-on-sheet);
64
66
  }
@@ -92,11 +94,11 @@ emits:['update:modelValue','change'],
92
94
  height: 20px;
93
95
  border-radius: 50%;
94
96
  background-color: #cdcbcb;
95
- transition: .3s map_get($transition,'fast-in-fast-out');
96
- @include rtl() {
97
+ transition: .3s map.get(base.$transition, 'fast-in-fast-out');
98
+ @include mixins.rtl() {
97
99
  right: 0;
98
100
  }
99
- @include ltr() {
101
+ @include mixins.ltr() {
100
102
  left: 0;
101
103
  }
102
104
  }
@@ -109,10 +111,10 @@ emits:['update:modelValue','change'],
109
111
 
110
112
  .switch-dot {
111
113
  background-color: currentColor;
112
- @include rtl() {
114
+ @include mixins.rtl() {
113
115
  right: 25px;
114
116
  }
115
- @include ltr() {
117
+ @include mixins.ltr() {
116
118
  left: 25px;
117
119
  }
118
120
  }
@@ -148,9 +148,9 @@ export default {
148
148
 
149
149
  <style src="./assets/sprite.css"></style>
150
150
  <style lang="scss">
151
- @import "../../../style/include";
151
+ @use "../../../style/variables/base";
152
152
 
153
- .#{$prefix}input-tel {
153
+ .#{base.$prefix}input-tel {
154
154
  display: flex;
155
155
  align-items: baseline;
156
156
  direction: ltr;
@@ -1,20 +1,23 @@
1
- @import '../../../style/include';
1
+ @use "sass:map";
2
+ @use "../../../style/variables/base";
3
+ @use "../../../style/mixins";
2
4
 
3
- .#{$prefix}text-editor {
5
+
6
+ .#{base.$prefix}text-editor {
4
7
  &:not(.text-editor-preview) {
5
8
  background-color: var(--color-sheet-container);
6
9
  margin-top: 20px;
7
10
  }
8
11
 
9
12
  &.input-tile {
10
- border-radius: map-get($borders, 'sm');
13
+ border-radius: map.get(base.$borders, 'sm');
11
14
  }
12
15
 
13
16
  &:not(.input-tile) {
14
- border-radius: map-get($borders, 'xl');
17
+ border-radius: map.get(base.$borders, 'xl');
15
18
 
16
19
  .editor-content {
17
- border-radius: map-get($borders, 'lg');
20
+ border-radius: map.get(base.$borders, 'lg');
18
21
  }
19
22
  }
20
23
 
@@ -23,7 +26,7 @@
23
26
  background-color: var(--color-sheet-container-low);
24
27
  }
25
28
 
26
- @include typography($headings, 'body-2');
29
+ @include mixins.typography(base.$headings, 'body-2');
27
30
 
28
31
  a {
29
32
  color: var(--color-one)
@@ -54,7 +57,7 @@
54
57
  display: inline-block;
55
58
  position: relative;
56
59
 
57
- .#{$prefix}btn {
60
+ .#{base.$prefix}btn {
58
61
  position: absolute;
59
62
  top: 0;
60
63
  left: 0;
@@ -54,9 +54,9 @@ emits:['update:modelValue'],
54
54
 
55
55
  </script>
56
56
  <style lang="scss">
57
- @import "../../../style/include";
57
+ @use "../../../style/variables/base";
58
58
 
59
- .#{$prefix}text-area {
59
+ .#{base.$prefix}text-area {
60
60
  .no-resize {
61
61
  resize: none;
62
62
  }
@@ -513,9 +513,10 @@ export default {
513
513
  </script>
514
514
 
515
515
  <style lang="scss">
516
- @import "../../../style/include";
516
+ @use "../../../style/variables/base";
517
+ @use "../../../style/mixins";
517
518
 
518
- .#{$prefix}timepicker-clock {
519
+ .#{base.$prefix}timepicker-clock {
519
520
 
520
521
  --color-timepicker: var(--color-one);
521
522
 
@@ -683,7 +684,7 @@ export default {
683
684
 
684
685
 
685
686
  .number-disabled {
686
- @include disable-states()
687
+ @include mixins.disable-states()
687
688
  }
688
689
  }
689
690
  </style>
@@ -77,11 +77,13 @@ emits:['update:modelValue'],
77
77
 
78
78
  </script>
79
79
  <style lang="scss">
80
- @import "../../../style/include";
80
+ @use "../../../style/variables/base";
81
+ @use "../../../style/mixins";
82
+ @use "../../../style/functions";
81
83
 
82
- .#{$prefix}unit-input {
84
+ .#{base.$prefix}unit-input {
83
85
  .input-shadow, .input-shadow * {
84
- @include disable-states()
86
+ @include mixins.disable-states()
85
87
  }
86
88
 
87
89
  input {
@@ -97,17 +99,17 @@ emits:['update:modelValue'],
97
99
  overflow-x: clip;
98
100
 
99
101
  * {
100
- font-size: map-metro-get($headings, 'label-3', 'size') !important;
102
+ font-size: functions.map-metro-get(base.$headings, 'label-3', 'size') !important;
101
103
  }
102
104
 
103
105
  .input-control {
104
106
  border-radius: 0;
105
107
  padding: 4px;
106
- @include rtl() {
108
+ @include mixins.rtl() {
107
109
  border-right: 1px solid var(--c-unit) !important;
108
110
  }
109
111
 
110
- @include ltr() {
112
+ @include mixins.ltr() {
111
113
  border-left: 1px solid var(--c-unit) !important;
112
114
  }
113
115
  }
@@ -1,14 +1,15 @@
1
- @import "../../style/include";
1
+ @use "../../style/variables/base";
2
+ @use "../../style/mixins";
2
3
 
3
- .#{$prefix}icon {
4
+ .#{base.$prefix}icon {
4
5
  display: inline-flex;
5
6
  vertical-align: -.5rem;
6
7
 
7
8
  &.icon-disabled {
8
- @include disable-states();
9
+ @include mixins.disable-states();
9
10
  }
10
11
 
11
- @include rtl() {
12
+ @include mixins.rtl() {
12
13
  &:not(.exact-icon) {
13
14
  transform: scale(-1, 1);
14
15
  }
@@ -180,9 +180,9 @@ export default {
180
180
  }
181
181
  </script>
182
182
  <style lang="scss">
183
- @import "../../style/include";
183
+ @use "../../style/variables/base";
184
184
 
185
- .#{$prefix}img {
185
+ .#{base.$prefix}img {
186
186
  position: relative;
187
187
  display: inline-flex;
188
188
  max-width: 100%;
@@ -52,8 +52,6 @@ export * as rTextArea from './form/textArea/index.js'
52
52
  export * as rTextInput from './form/textInput/index.js'
53
53
  export * as rUnitInput from './form/unitInput/index.js'
54
54
  export * as rFormCreator from './formCreator/index.js'
55
- export * as rHtml2pdf from './html2pdf/index.js'
56
- export * as rHtml2pdfPageBreak from './html2pdf/pageBreak.js'
57
55
  export * as rIcon from './icon/index.js'
58
56
  export * as rImg from './img/index.js'
59
57
  export * as rInfiniteDiv from './infinite/div.js'
@@ -24,7 +24,7 @@
24
24
 
25
25
  <script>
26
26
  import './style.scss'
27
- import Ripple from '../../directive/ripple/index'
27
+ import Ripple from '../../directive/ripple/index.js'
28
28
 
29
29
  export default {
30
30
  name: 'r-list',
@@ -1,9 +1,10 @@
1
- @import "../../style/include";
1
+ @use "sass:map";
2
+ @use "../../style/variables/base";
2
3
 
3
4
  $item-height: 48px;
4
5
 
5
- .#{$prefix}list {
6
- border-radius: map-get($borders, 'sm');
6
+ .#{base.$prefix}list {
7
+ border-radius: map.get(base.$borders, 'sm');
7
8
  display: block;
8
9
  padding: 8px 0;
9
10
  will-change: box-shadow;
@@ -45,7 +46,7 @@ $item-height: 48px;
45
46
  background-color: var(--color-one-container);
46
47
  color: var(--color-on-one-container);
47
48
 
48
- .#{$prefix}icon {
49
+ .#{base.$prefix}icon {
49
50
  color: inherit;
50
51
  }
51
52
  }
@@ -59,7 +60,7 @@ $item-height: 48px;
59
60
 
60
61
  &.list-rounded {
61
62
  .list-item {
62
- border-radius: map-get($borders, 'xl');
63
+ border-radius: map.get(base.$borders, 'xl');
63
64
  }
64
65
  }
65
66
  }
@@ -302,7 +302,7 @@ export default {
302
302
  },
303
303
  add() {
304
304
  import('./leaflet.css')
305
- import('./leaflet').then(()=>{
305
+ import('./leaflet.js').then(() => {
306
306
  this.L = global.L
307
307
  this.run();
308
308
  })
@@ -312,9 +312,9 @@ export default {
312
312
  </script>
313
313
 
314
314
  <style lang="scss">
315
- @import "../../style/include";
315
+ @use "../../style/variables/base";
316
316
 
317
- .#{$prefix}map {
317
+ .#{base.$prefix}map {
318
318
  position: relative;
319
319
 
320
320
  .leaflet-popup {
@@ -565,9 +565,9 @@ export default {
565
565
  }
566
566
  </script>
567
567
  <style lang="scss">
568
- @import "../../style/include";
568
+ @use "../../style/variables/base";
569
569
 
570
- .#{$prefix}map-route {
570
+ .#{base.$prefix}map-route {
571
571
  display: flex;
572
572
  background-color: var(--color-sheet-container);
573
573
  color: var(--color-on-sheet);
@@ -131,10 +131,11 @@ export default {
131
131
  }
132
132
  </script>
133
133
  <style lang="scss">
134
- @import "../../style/include";
134
+ @use "sass:map";
135
+ @use "../../style/variables/base";
135
136
 
136
137
 
137
- .#{$prefix}menu {
138
+ .#{base.$prefix}menu {
138
139
  position: relative;
139
140
 
140
141
  .menu-selected {
@@ -174,7 +175,7 @@ export default {
174
175
  max-height: 200px;
175
176
  overflow-y: auto;
176
177
  background-clip: padding-box;
177
- border-radius: map-get($borders, 'sm');
178
+ border-radius: map.get(base.$borders, 'sm');
178
179
 
179
180
  &-item {
180
181
  cursor: pointer;
@@ -1,18 +1,22 @@
1
- @import "../../style/include";
1
+ @use "sass:map";
2
+ @use "../../style/variables/base";
3
+ @use "../../style/mixins";
4
+ @use "../../style/mixins/container" as mixins2;
2
5
 
3
- .#{$prefix}modal-overlay {
6
+
7
+ .#{base.$prefix}modal-overlay {
4
8
  width: 100%;
5
9
  height: 100%;
6
10
  position: fixed;
7
11
  left: 0;
8
12
  right: 0;
9
13
  top:0;
10
- z-index: map_get($z-index, 'important');
14
+ z-index: map.get(base.$z-index, 'important');
11
15
  background-color: var(--color-overlay);
12
16
  backdrop-filter: blur(3px) grayscale(30%);
13
17
  }
14
18
 
15
- .#{$prefix}modal {
19
+ .#{base.$prefix}modal {
16
20
  align-items: center;
17
21
  flex-direction: column;
18
22
  display: flex;
@@ -22,7 +26,7 @@
22
26
  height: 100%;
23
27
  justify-content: center;
24
28
  position: fixed;
25
- z-index: map_get($z-index, 'important');
29
+ z-index: map.get(base.$z-index, 'important');
26
30
  outline: none;
27
31
 
28
32
  .modal-content {
@@ -36,14 +40,14 @@
36
40
  width: 100%;
37
41
  position: relative;
38
42
 
39
- .#{$prefix}btn {
43
+ .#{base.$prefix}btn {
40
44
  position: absolute;
41
45
  bottom: -40px;
42
- z-index: map_get($z-index, 'important')+1;
43
- @include rtl() {
46
+ z-index: map.get(base.$z-index, 'important')+1;
47
+ @include mixins.rtl() {
44
48
  left: 5px;
45
49
  }
46
- @include ltr() {
50
+ @include mixins.ltr() {
47
51
  right: 5px;
48
52
  }
49
53
  }
@@ -53,18 +57,18 @@
53
57
  width: 95%;
54
58
  max-width: 100vw;
55
59
  max-height: 90vh;
56
- z-index: map_get($z-index, 'important');
60
+ z-index: map.get(base.$z-index, 'important');
57
61
  }
58
62
 
59
63
  .modal-content {
60
64
  position: relative;
61
- border-radius: $border-modal;
65
+ border-radius: base.$border-modal;
62
66
  overflow-y: auto;
63
67
  overflow-x: hidden;
64
68
  height: 100%;
65
69
  }
66
70
 
67
- @include media-breakpoint-up('md') {
71
+ @include mixins2.media-breakpoint-up('md') {
68
72
  .modal-container {
69
73
  width: 75%;
70
74
  max-width: 75vw;
@@ -89,10 +93,10 @@
89
93
  }
90
94
 
91
95
  .modal-bottom {
92
- border-radius: $border-modal $border-modal 0 0;
96
+ border-radius: base.$border-modal base.$border-modal 0 0;
93
97
 
94
98
  &:not(.modal-full-width) {
95
- max-width: map_get($container-max-widths, 'lg');
99
+ max-width: map.get(base.$container-max-widths, 'lg');
96
100
  }
97
101
  }
98
102
  }
@@ -100,7 +104,7 @@
100
104
  .animate-modal-vibrate {
101
105
  animation-duration: .15s !important;
102
106
  animation-name: animate-modal-vibrate !important;
103
- animation-timing-function: map-get($transition, 'fast-in-fast-out') !important;
107
+ animation-timing-function: map.get(base.$transition, 'fast-in-fast-out') !important;
104
108
  @keyframes animate-modal-vibrate {
105
109
  0% {
106
110
  transform: scale(1)
@@ -36,8 +36,8 @@
36
36
 
37
37
  <script>
38
38
  import {defineAsyncComponent} from 'vue'
39
- import methods from "./methods";
40
- import editable from "./editable";
39
+ import methods from "./methods.js";
40
+ import editable from "./editable.js";
41
41
 
42
42
  export default {
43
43
  name: "r-nestable",
@@ -89,9 +89,9 @@ export default {
89
89
  };
90
90
  </script>
91
91
  <style lang="scss">
92
- @import "../../style/include";
92
+ @use "../../style/variables/base";
93
93
 
94
- .#{$prefix}nestable {
94
+ .#{base.$prefix}nestable {
95
95
  .nestable-handle {
96
96
  cursor: grab;
97
97
  }