renusify 1.1.0 → 1.1.2

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.
@@ -78,6 +78,7 @@ const list = {
78
78
  },
79
79
  'r-text-editor-preview': {'p': 'form/text-editor/preview.vue', 'c': [], 'd': []},
80
80
  'r-time-picker': {'p': 'form/timepicker/index.vue', 'c': ['r-input', 'r-modal', 'r-card', 'r-btn'], 'd': []},
81
+ 'r-time-picker-range': {'p': 'form/timepicker/range.vue', 'c': ['r-input', 'r-modal', 'r-card', 'r-btn'], 'd': []},
81
82
  'r-unique-feild': {'p': 'form/uniqueFeild/index.vue', 'c': ['r-text-input'], 'd': []},
82
83
  'r-address': {'p': 'form/address.vue', 'c': ['r-select', 'r-text-area', 'r-text-input'], 'd': []},
83
84
  'r-cam-input': {'p': 'form/camInput', 'c': ['r-input', 'r-btn', 'r-icon'], 'd': []},
@@ -7,7 +7,7 @@
7
7
  }">
8
8
  <span class="label" v-if="showPercent">{{ modelValue }} %</span>
9
9
  <div class="progress-container" :class="{'progress-background':showBackground}">
10
- <div :class="classes" :style="styles"></div>
10
+ <div :class="classes" :style="[styles,progressStyle]"></div>
11
11
  </div>
12
12
  </div>
13
13
  </template>
@@ -18,18 +18,19 @@
18
18
  export default {
19
19
  name: 'liner',
20
20
  props: {
21
- modelValue: [Number, String],
22
- color: String,
23
- showPercent: Boolean,
24
- outlined: Boolean,
25
- rounded: Boolean,
26
- showBackground: Boolean,
27
- size: {
28
- type: String,
29
- default: 'small',
30
- validator: function (value) {
31
- return ['small', 'medium', 'large', 'x-large'].indexOf(value) !== -1
32
- }
21
+ modelValue: [Number, String],
22
+ color: String,
23
+ progressStyle: [String, Object, Array],
24
+ showPercent: Boolean,
25
+ outlined: Boolean,
26
+ rounded: Boolean,
27
+ showBackground: Boolean,
28
+ size: {
29
+ type: String,
30
+ default: 'small',
31
+ validator: function (value) {
32
+ return ['small', 'medium', 'large', 'x-large'].indexOf(value) !== -1
33
+ }
33
34
  }
34
35
  },
35
36
  computed: {
@@ -52,9 +53,10 @@
52
53
  styles() {
53
54
  let c = ''
54
55
  if (!this.isIndeterminate) {
55
- c += 'width:' + this.modelValue + '%'
56
+ c += 'width:' + this.modelValue + '%;'
56
57
  }
57
- return c
58
+
59
+ return c
58
60
  }
59
61
  }
60
62
  }
@@ -111,7 +111,6 @@ $progress-circular-overlay-transition: all .6s ease-in-out !default;
111
111
  position: relative;
112
112
  display: block;
113
113
  width: 100%;
114
- background-color: transparent;
115
114
  background-clip: padding-box;
116
115
  overflow: hidden;
117
116
  }
package/index.js CHANGED
@@ -61,6 +61,7 @@ export default {
61
61
  app.config.globalProperties.$r = reactive(Object.assign({}, {
62
62
  prefix: 'r-',
63
63
  rtl: false,
64
+ inputs: {tile: false},
64
65
  lang: 'en',
65
66
  langs:
66
67
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "renusify",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Vue3 Framework",
5
5
  "keywords": [
6
6
  "vuejs",
package/style/app.scss CHANGED
@@ -81,7 +81,7 @@ $color-text: var(--color-two-text);
81
81
 
82
82
  }
83
83
 
84
- .router-link-exact-active {
84
+ .router-link-exact-active, a:hover {
85
85
  color: var(--color-link)
86
86
  }
87
87
 
package/tools/helper.js CHANGED
@@ -400,4 +400,24 @@ export function getCookie(cname) {
400
400
  }
401
401
  }
402
402
  return "";
403
+ }
404
+
405
+ export function changeColor(vars) {
406
+ let head = document.head || document.getElementsByTagName('head')[0]
407
+ let children = head.querySelectorAll("[c='color']");
408
+ if (children) {
409
+ let childArray = Array.prototype.slice.call(children);
410
+ childArray.forEach(function (child) {
411
+ child.parentNode.removeChild(child);
412
+ });
413
+ }
414
+ let style = document.createElement('style');
415
+ style.setAttribute("c", "color");
416
+ head.appendChild(style);
417
+ let css = ':root{';
418
+ for (let k in vars) {
419
+ css += k + ':' + vars[k] + ';'
420
+ }
421
+ css += '}'
422
+ style.appendChild(document.createTextNode(css));
403
423
  }
@@ -1,40 +0,0 @@
1
- @import '../../style/_include';
2
-
3
- .#{$prefix}content {
4
- width: 100%;
5
- max-width: 100%;
6
- transition: 0.2s map-get($transition, 'fast-out-slow-in');
7
- position: relative;
8
- @include firefox() {
9
- @media print {
10
- display: block
11
- }
12
- }
13
-
14
- &.flipped {
15
- @include rtl() {
16
- padding-right: $navbar-width;
17
- }
18
- @include ltr() {
19
- padding-left: $navbar-width;
20
- }
21
- }
22
-
23
- &.moved {
24
- width: calc(100% + #{$navbar-width});
25
- @include rtl() {
26
- margin-right: $navbar-width;
27
- }
28
- @include ltr() {
29
- margin-left: $navbar-width;
30
- }
31
- }
32
-
33
- &.below-header {
34
- margin-top: $toolbar-height;
35
- }
36
-
37
- }
38
-
39
-
40
-