renusify 2.0.4 → 2.1.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/index.js +5 -0
- package/components/app/index.vue +0 -2
- package/components/avatar/index.js +3 -0
- package/components/bar/bottomNav.js +1 -0
- package/components/bar/bottomNavigationCircle.js +2 -0
- package/components/bar/bottomNavigationCircle.vue +1 -1
- package/components/bar/toolbar/index.js +8 -0
- package/components/bar/toolbar/laptop.vue +2 -2
- package/components/bar/toolbar/menuLaptop.vue +2 -2
- package/components/bar/toolbar/menuMob.vue +28 -28
- package/components/bar/toolbar/mobile.vue +2 -2
- package/components/breadcrumb/index.js +3 -0
- package/components/breadcrumb/index.vue +0 -2
- package/components/button/buttonConfirm.js +3 -0
- package/components/button/buttonConfirm.vue +1 -1
- package/components/button/buttonGroup.js +7 -0
- package/components/button/index.js +3 -0
- package/components/calendar/index.js +10 -0
- package/components/calendar/index.vue +4 -7
- package/components/card/index.js +3 -0
- package/components/card/style.scss +2 -3
- package/components/chart/chart.js +1 -0
- package/components/chart/chart.vue +8 -5
- package/components/chart/worldMap.js +2 -0
- package/components/chart/worldMap.vue +1 -1
- package/components/chat/MessageList.vue +2 -6
- package/components/chat/chatInput.vue +1 -1
- package/components/chat/index.js +11 -0
- package/components/chat/index.vue +2 -5
- package/components/chip/index.js +3 -0
- 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.js +3 -0
- package/components/codeEditor/index.vue +206 -199
- package/components/confirm/index.js +10 -0
- package/components/container/col.js +1 -0
- package/components/container/divider.js +1 -0
- package/components/container/index.js +1 -0
- package/components/container/row.js +1 -0
- package/components/container/spacer.js +1 -0
- package/components/content/index.js +1 -0
- package/components/countdown/index.js +1 -0
- package/components/cropper/index.js +3 -0
- package/components/cropper/index.vue +1 -1
- package/components/float/index.js +1 -0
- package/components/form/addressInput/index.js +4 -0
- package/components/form/camInput/index.js +4 -0
- package/components/form/{camInput.vue → camInput/index.vue} +1 -1
- package/components/form/checkInput/index.js +4 -0
- package/components/form/{check-input.vue → checkInput/index.vue} +1 -1
- package/components/form/checkboxInput/index.js +3 -0
- package/components/form/{checkbox.vue → checkboxInput/index.vue} +1 -1
- package/components/form/colorInput/index.js +7 -0
- package/components/form/{colorPicker → colorInput}/index.vue +2 -2
- package/components/form/{colorPicker → colorInput}/picker.vue +5 -9
- package/components/form/dateInput/index.js +8 -0
- package/components/form/dateInput/index.vue +475 -0
- package/components/form/fileInput/index.js +8 -0
- package/components/form/{fileUploader → fileInput}/index.vue +2 -2
- package/components/form/groupInput/index.js +4 -0
- package/components/form/{group-input.vue → groupInput/index.vue} +1 -1
- package/components/form/index.js +1 -0
- package/components/form/input/index.js +3 -0
- package/components/form/{input.vue → input/index.vue} +1 -1
- package/components/form/{json → jsonInput}/JsonView.vue +1 -1
- package/components/form/jsonInput/index.js +7 -0
- package/components/form/{json → jsonInput}/index.vue +7 -7
- package/components/form/maskInput/index.js +3 -0
- package/components/form/numberInput/index.js +4 -0
- package/components/form/{number.vue → numberInput/index.vue} +1 -1
- package/components/form/passwordInput/index.js +3 -0
- package/components/form/radioInput/index.js +3 -0
- package/components/form/{radioInput.vue → radioInput/index.vue} +1 -1
- package/components/form/rangeInput/index.js +3 -0
- package/components/form/{range.vue → rangeInput/index.vue} +1 -1
- package/components/form/ratingInput/index.js +4 -0
- package/components/form/{rating.vue → ratingInput/index.vue} +1 -1
- package/components/form/selectInput/index.js +8 -0
- package/components/form/{select.vue → selectInput/index.vue} +34 -2
- package/components/form/switchInput/index.js +2 -0
- package/components/form/{switch.vue → switchInput/index.vue} +1 -1
- package/components/form/telInput/index.js +7 -0
- package/components/form/{inputTel → telInput}/index.vue +5 -5
- package/components/form/text-editor/index.js +15 -0
- package/components/form/text-editor/preview.js +1 -0
- package/components/form/text-editor/preview.vue +14 -13
- package/components/form/text-editor/style.scss +4 -2
- package/components/form/textArea/index.js +2 -0
- package/components/form/{text-area.vue → textArea/index.vue} +1 -1
- package/components/form/textInput/index.js +2 -0
- package/components/form/timeInput/index.js +5 -0
- package/components/form/{timepicker → timeInput}/index.vue +2 -2
- package/components/form/timeInput/range.js +5 -0
- package/components/form/{timepicker → timeInput}/range.vue +2 -2
- package/components/form/uniqueInput/index.js +2 -0
- package/components/form/unitInput/index.js +3 -0
- package/components/form/{unit-input.vue → unitInput/index.vue} +1 -1
- package/components/formCreator/index.js +8 -0
- package/components/html2pdf/index.js +4 -0
- package/components/html2pdf/pageBreak.js +1 -0
- package/components/icon/index.js +1 -0
- package/components/img/index.js +2 -0
- package/components/img/index.vue +2 -2
- package/components/img/svgImg.vue +1 -1
- package/components/index.js +100 -191
- package/components/infinite/div.js +6 -0
- package/components/infinite/index.js +7 -0
- package/components/infinite/page.js +3 -0
- package/components/list/index.js +3 -0
- package/components/map/index.js +5 -0
- package/components/map/index.vue +8 -7
- package/components/map/route.js +9 -0
- package/components/map/route.vue +1 -1
- package/components/map/select.js +2 -0
- package/components/menu/index.js +5 -0
- package/components/message/index.js +4 -0
- package/components/meta/index.js +1 -1
- package/components/modal/index.js +3 -0
- package/components/modal/index.vue +6 -2
- package/components/modal/style.scss +1 -0
- package/components/nestable/NestableItem.vue +163 -0
- package/components/nestable/editable.js +44 -0
- package/components/nestable/index.js +1 -0
- package/components/nestable/index.vue +109 -0
- package/components/nestable/methods.js +397 -0
- package/components/notify/index.js +3 -0
- package/components/notify/index.vue +2 -2
- package/components/progress/circle.js +1 -0
- package/components/progress/line.js +1 -0
- package/components/searchBox/index.js +8 -0
- package/components/searchBox/index.vue +1 -1
- package/components/skeleton/index.js +1 -0
- package/components/skeleton/index.vue +1 -1
- package/components/slider/index.js +6 -0
- package/components/swiper/index.js +2 -0
- package/components/table/crud/index.js +20 -0
- package/components/table/crud/index.vue +459 -453
- package/components/table/index.js +11 -0
- package/components/table/index.vue +10 -17
- package/components/tabs/index.js +3 -0
- package/components/timeAgo/index.js +1 -0
- package/components/timeline/index.js +6 -0
- package/components/timeline/index.vue +1 -1
- package/components/tour/index.js +4 -0
- package/components/tour/index.vue +225 -221
- package/components/tree/index.js +9 -0
- package/components/tree/index.vue +120 -120
- package/components/tree/tree-element.vue +5 -18
- package/directive/index.js +17 -18
- package/package.json +1 -1
- package/components/form/address_ir.vue +0 -106
- package/components/form/datePicker/index.vue +0 -473
- package/components/iframe/index.vue +0 -67
- /package/components/form/{address.vue → addressInput/index.vue} +0 -0
- /package/components/form/{colorPicker → colorInput}/Alpha.vue +0 -0
- /package/components/form/{colorPicker → colorInput}/Hue.vue +0 -0
- /package/components/form/{colorPicker → colorInput}/Preview.vue +0 -0
- /package/components/form/{colorPicker → colorInput}/Saturation.vue +0 -0
- /package/components/form/{colorPicker → colorInput}/mixin.js +0 -0
- /package/components/form/{datePicker → dateInput}/month.vue +0 -0
- /package/components/form/{datePicker → dateInput}/year.vue +0 -0
- /package/components/form/{fileUploader → fileInput}/file.js +0 -0
- /package/components/form/{fileUploader → fileInput}/single.vue +0 -0
- /package/components/form/{form.vue → index.vue} +0 -0
- /package/components/form/{mask-input.vue → maskInput/index.vue} +0 -0
- /package/components/form/{password.vue → passwordInput/index.vue} +0 -0
- /package/components/form/{inputTel → telInput}/assets/all-countries.js +0 -0
- /package/components/form/{inputTel → telInput}/assets/flags.png +0 -0
- /package/components/form/{inputTel → telInput}/assets/flags@2x.png +0 -0
- /package/components/form/{inputTel → telInput}/assets/sprite.css +0 -0
- /package/components/form/{text-input.vue → textInput/index.vue} +0 -0
- /package/components/form/{timepicker → timeInput}/timepicker.vue +0 -0
- /package/components/form/{unique → uniqueInput}/index.vue +0 -0
|
@@ -1,240 +1,247 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
2
|
+
<div :class="`${$r.prefix}code-editor`">
|
|
3
|
+
<div class="code-action text-right">
|
|
4
|
+
<r-btn
|
|
5
|
+
class="color-white-text"
|
|
6
|
+
icon
|
|
7
|
+
text
|
|
8
|
+
@click.prevent="$helper.copy($refs.codeView.innerText)"
|
|
9
|
+
>
|
|
10
|
+
<r-icon v-html="$r.icons.copy"></r-icon>
|
|
11
|
+
</r-btn>
|
|
12
|
+
<r-btn
|
|
13
|
+
class="color-white-text"
|
|
14
|
+
icon
|
|
15
|
+
text
|
|
16
|
+
@click.prevent="pretty"
|
|
17
|
+
>
|
|
18
|
+
P
|
|
19
|
+
</r-btn>
|
|
20
|
+
<r-btn v-if="show === 'code' && runnable" class="color-white-text" text @click.prevent="show = 'run'">
|
|
21
|
+
run
|
|
22
|
+
<r-icon v-html="$r.icons.play" exact></r-icon>
|
|
23
|
+
</r-btn>
|
|
24
|
+
<r-btn v-if="show === 'run'" class="color-white-text" text @click.prevent="show = 'code'">
|
|
25
|
+
<r-icon v-html="$r.icons.code_tags" exact></r-icon>
|
|
26
|
+
</r-btn>
|
|
27
|
+
</div>
|
|
28
|
+
<div v-if="show === 'run' && runnable" class="code-compile">
|
|
29
|
+
<r-code-editor-run
|
|
30
|
+
:id="id"
|
|
31
|
+
:script="scr"
|
|
32
|
+
:style="sty"
|
|
33
|
+
:template="temp"
|
|
34
|
+
></r-code-editor-run>
|
|
35
|
+
</div>
|
|
36
|
+
<div v-show="show !== 'run'" ref="codeView" class="code-wrapper">
|
|
37
|
+
<div>
|
|
38
|
+
<span v-show="templateShow" class="color-green"><template></span>
|
|
39
|
+
<highlight-html ref="h-html" v-model="temp"></highlight-html>
|
|
40
|
+
<span v-show="templateShow" class="color-green"></template></span>
|
|
41
|
+
</div>
|
|
42
|
+
<div>
|
|
43
43
|
<span v-show="scriptShow" class="color-orange"
|
|
44
44
|
><script><br/>export default {</span
|
|
45
45
|
>
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
<highlight-script ref="h-js" v-model="scr"></highlight-script>
|
|
47
|
+
<span v-show="scriptShow" class="color-orange">}<br/><script></span>
|
|
48
|
+
</div>
|
|
49
|
+
<div>
|
|
50
50
|
<span v-show="styleShow" class="color-orange"
|
|
51
51
|
><style lang<span class="color-green">="css"</span>></span
|
|
52
52
|
>
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
<highlight-css ref="h-css" v-model="sty"></highlight-css>
|
|
54
|
+
<span v-show="styleShow" class="color-orange"><style></span>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
56
57
|
</div>
|
|
57
|
-
</div>
|
|
58
58
|
</template>
|
|
59
59
|
|
|
60
60
|
<script>
|
|
61
|
-
import
|
|
62
|
-
import highlightHtml from "./highlightHtml";
|
|
63
|
-
import HighlightScript from "./highlightJs";
|
|
64
|
-
import HighlightCss from "./highlightCss";
|
|
61
|
+
import {defineAsyncComponent} from 'vue'
|
|
65
62
|
|
|
66
63
|
export default {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
emits: ["update:template", "update:script", "update:style"],
|
|
79
|
-
data() {
|
|
80
|
-
return {
|
|
81
|
-
show: "code",
|
|
82
|
-
code: "",
|
|
83
|
-
edited: false,
|
|
84
|
-
temp: this.template,
|
|
85
|
-
scr: this.script,
|
|
86
|
-
sty: this.style,
|
|
87
|
-
id: this.$helper.uniqueId(),
|
|
88
|
-
};
|
|
89
|
-
},
|
|
90
|
-
created() {
|
|
91
|
-
if (!this.$r.icons.play) {
|
|
92
|
-
this.$r.icons.play =
|
|
93
|
-
'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path fill="currentColor" d="M8 5.14v14l11-7l-11-7Z"/></svg>';
|
|
94
|
-
}
|
|
95
|
-
if (!this.$r.icons.code_tags) {
|
|
96
|
-
this.$r.icons.code_tags =
|
|
97
|
-
'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path fill="currentColor" d="m14.6 16.6l4.6-4.6l-4.6-4.6L16 6l6 6l-6 6l-1.4-1.4m-5.2 0L4.8 12l4.6-4.6L8 6l-6 6l6 6l1.4-1.4Z"/></svg>';
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
watch: {
|
|
101
|
-
template: function (n) {
|
|
102
|
-
this.temp = n
|
|
64
|
+
name: "r-code-editor",
|
|
65
|
+
components: {
|
|
66
|
+
HighlightCss: defineAsyncComponent(() =>
|
|
67
|
+
import("./highlightCss")
|
|
68
|
+
), HighlightScript: defineAsyncComponent(() =>
|
|
69
|
+
import("./highlightJs")
|
|
70
|
+
), highlightHtml: defineAsyncComponent(() =>
|
|
71
|
+
import("./highlightHtml")
|
|
72
|
+
), RCodeEditorRun: defineAsyncComponent(() =>
|
|
73
|
+
import("./run")
|
|
74
|
+
)
|
|
103
75
|
},
|
|
104
|
-
|
|
105
|
-
|
|
76
|
+
props: {
|
|
77
|
+
runnable: Boolean,
|
|
78
|
+
templateShow: {type: Boolean, default: true},
|
|
79
|
+
scriptShow: {type: Boolean, default: true},
|
|
80
|
+
styleShow: {type: Boolean, default: true},
|
|
81
|
+
template: String,
|
|
82
|
+
script: String,
|
|
83
|
+
style: String,
|
|
106
84
|
},
|
|
107
|
-
|
|
108
|
-
|
|
85
|
+
emits: ["update:template", "update:script", "update:style"],
|
|
86
|
+
data() {
|
|
87
|
+
return {
|
|
88
|
+
show: "code",
|
|
89
|
+
code: "",
|
|
90
|
+
edited: false,
|
|
91
|
+
temp: this.template,
|
|
92
|
+
scr: this.script,
|
|
93
|
+
sty: this.style,
|
|
94
|
+
id: this.$helper.uniqueId(),
|
|
95
|
+
};
|
|
109
96
|
},
|
|
110
|
-
|
|
111
|
-
|
|
97
|
+
created() {
|
|
98
|
+
if (!this.$r.icons.play) {
|
|
99
|
+
this.$r.icons.play =
|
|
100
|
+
'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path fill="currentColor" d="M8 5.14v14l11-7l-11-7Z"/></svg>';
|
|
101
|
+
}
|
|
102
|
+
if (!this.$r.icons.code_tags) {
|
|
103
|
+
this.$r.icons.code_tags =
|
|
104
|
+
'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path fill="currentColor" d="m14.6 16.6l4.6-4.6l-4.6-4.6L16 6l6 6l-6 6l-1.4-1.4m-5.2 0L4.8 12l4.6-4.6L8 6l-6 6l6 6l1.4-1.4Z"/></svg>';
|
|
105
|
+
}
|
|
112
106
|
},
|
|
113
|
-
|
|
114
|
-
|
|
107
|
+
watch: {
|
|
108
|
+
template: function (n) {
|
|
109
|
+
this.temp = n
|
|
110
|
+
},
|
|
111
|
+
script: function (n) {
|
|
112
|
+
this.scr = n
|
|
113
|
+
},
|
|
114
|
+
style: function (n) {
|
|
115
|
+
this.sty = n
|
|
116
|
+
},
|
|
117
|
+
temp: function () {
|
|
118
|
+
this.$emit("update:template", this.temp);
|
|
119
|
+
},
|
|
120
|
+
scr: function () {
|
|
121
|
+
this.$emit("update:script", this.scr);
|
|
122
|
+
},
|
|
123
|
+
sty: function () {
|
|
124
|
+
this.$emit("update:style", this.sty);
|
|
125
|
+
},
|
|
115
126
|
},
|
|
116
|
-
|
|
117
|
-
|
|
127
|
+
methods: {
|
|
128
|
+
pretty() {
|
|
129
|
+
this.temp = this.$refs["h-html"].pretty_html(this.temp)
|
|
130
|
+
this.scr = this.$refs["h-js"].pretty_js(this.scr)
|
|
131
|
+
this.sty = this.$refs["h-css"].pretty_js(this.sty)
|
|
132
|
+
}
|
|
118
133
|
},
|
|
119
|
-
},
|
|
120
|
-
methods: {
|
|
121
|
-
pretty() {
|
|
122
|
-
this.temp = this.$refs["h-html"].pretty_html(this.temp)
|
|
123
|
-
this.scr = this.$refs["h-js"].pretty_js(this.scr)
|
|
124
|
-
this.sty = this.$refs["h-css"].pretty_js(this.sty)
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
134
|
};
|
|
128
135
|
</script>
|
|
129
136
|
|
|
130
137
|
<style lang="scss">
|
|
131
|
-
@import "
|
|
138
|
+
@import "../../style/include";
|
|
132
139
|
|
|
133
140
|
.#{$prefix}code-editor {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
padding: 10px;
|
|
140
|
-
font-size: 14px;
|
|
141
|
-
|
|
142
|
-
.code-script,
|
|
143
|
-
.code-template {
|
|
144
|
-
padding: 0 20px;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.code-wrapper {
|
|
148
|
-
direction: ltr;
|
|
149
|
-
text-align: left;
|
|
141
|
+
position: relative;
|
|
142
|
+
white-space: break-spaces;
|
|
143
|
+
caret-color: white;
|
|
144
|
+
background-color: #15212e;
|
|
145
|
+
color: #fff;
|
|
150
146
|
padding: 10px;
|
|
151
|
-
|
|
147
|
+
font-size: 14px;
|
|
152
148
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
margin: 0 -10px -10px -10px;
|
|
158
|
-
color: black;
|
|
159
|
-
}
|
|
149
|
+
.code-script,
|
|
150
|
+
.code-template {
|
|
151
|
+
padding: 0 20px;
|
|
152
|
+
}
|
|
160
153
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
154
|
+
.code-wrapper {
|
|
155
|
+
direction: ltr;
|
|
156
|
+
text-align: left;
|
|
157
|
+
padding: 10px;
|
|
158
|
+
}
|
|
164
159
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
160
|
+
.code-compile {
|
|
161
|
+
background-color: #fafafa;
|
|
162
|
+
min-height: 300px;
|
|
163
|
+
padding: 10px;
|
|
164
|
+
margin: 0 -10px -10px -10px;
|
|
165
|
+
color: black;
|
|
166
|
+
}
|
|
168
167
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
168
|
+
.color-func {
|
|
169
|
+
color: #db92e3;
|
|
170
|
+
}
|
|
172
171
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
172
|
+
.color-func2 {
|
|
173
|
+
color: #deca10;
|
|
174
|
+
}
|
|
176
175
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
176
|
+
.color-orange {
|
|
177
|
+
color: orange;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.color-green {
|
|
181
|
+
color: #0cde27;
|
|
182
|
+
}
|
|
180
183
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
+
.color-blue {
|
|
185
|
+
color: #3bb7ee;
|
|
186
|
+
}
|
|
184
187
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
+
.color-number {
|
|
189
|
+
color: #7ad5ff;
|
|
190
|
+
}
|
|
188
191
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
+
.color-purple {
|
|
193
|
+
color: #d2a8ee;
|
|
194
|
+
}
|
|
192
195
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
margin: -12px 0;
|
|
196
|
-
|
|
197
|
-
.text-preview {
|
|
198
|
-
white-space: pre-wrap;
|
|
199
|
-
word-break: keep-all;
|
|
200
|
-
overflow-wrap: break-word;
|
|
201
|
-
min-height: 40px;
|
|
202
|
-
font-size: 14px;
|
|
203
|
-
letter-spacing: 2px;
|
|
204
|
-
line-height: 20px;
|
|
205
|
-
margin: 0;
|
|
206
|
-
border: 0;
|
|
207
|
-
padding: 12px;
|
|
196
|
+
.color-comment {
|
|
197
|
+
color: #898d8c;
|
|
208
198
|
}
|
|
209
199
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
200
|
+
.code-editor-highlight {
|
|
201
|
+
position: relative;
|
|
202
|
+
margin: -12px 0;
|
|
203
|
+
|
|
204
|
+
.text-preview {
|
|
205
|
+
white-space: pre-wrap;
|
|
206
|
+
word-break: keep-all;
|
|
207
|
+
overflow-wrap: break-word;
|
|
208
|
+
min-height: 40px;
|
|
209
|
+
font-size: 14px;
|
|
210
|
+
letter-spacing: 2px;
|
|
211
|
+
line-height: 20px;
|
|
212
|
+
margin: 0;
|
|
213
|
+
border: 0;
|
|
214
|
+
padding: 12px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
textarea {
|
|
218
|
+
&::selection {
|
|
219
|
+
background-color: #fafafa;
|
|
220
|
+
-webkit-text-fill-color: #000;
|
|
221
|
+
color: #000;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
padding: 12px;
|
|
225
|
+
margin: 0;
|
|
226
|
+
border: 0;
|
|
227
|
+
font-size: 14px;
|
|
228
|
+
letter-spacing: 2px;
|
|
229
|
+
line-height: 20px;
|
|
230
|
+
-webkit-font-smoothing: antialiased;
|
|
231
|
+
-webkit-text-fill-color: transparent;
|
|
232
|
+
outline: none;
|
|
233
|
+
width: 100%;
|
|
234
|
+
height: 100%;
|
|
235
|
+
min-height: 40px;
|
|
236
|
+
white-space: pre-wrap;
|
|
237
|
+
word-break: keep-all;
|
|
238
|
+
overflow-wrap: break-word;
|
|
239
|
+
position: absolute;
|
|
240
|
+
top: 0;
|
|
241
|
+
left: 0;
|
|
242
|
+
resize: none;
|
|
243
|
+
overflow: hidden;
|
|
244
|
+
}
|
|
237
245
|
}
|
|
238
|
-
}
|
|
239
246
|
}
|
|
240
247
|
</style>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * as rConfirm from './index.vue'
|
|
2
|
+
export * as l_Btn from '../button/index.js'
|
|
3
|
+
export * as l_modal from '../modal/index.js'
|
|
4
|
+
export * as l_card from '../card/index.js'
|
|
5
|
+
export * as l_container from '../container/index.js'
|
|
6
|
+
export * as l_row from '../container/row.js'
|
|
7
|
+
export * as l_col from '../container/col.js'
|
|
8
|
+
export * as l_divider from '../container/divider.js'
|
|
9
|
+
export * as l_form from '../form/index.js'
|
|
10
|
+
export * as l_textInput from '../form/textInput/index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as rCol from './col.vue'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as rDivider from './divider.vue'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as rContainer from './index.vue'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as rRow from './row.vue'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as rSpacer from './spacer.vue'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as rContent from './index.vue'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as rContDown from './index.vue'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as rFloat from './index.vue'
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * as rColorInput from './index.vue'
|
|
2
|
+
|
|
3
|
+
export * as l_input from '../input/index.js'
|
|
4
|
+
export * as l_modal from '../../modal/index.js'
|
|
5
|
+
export * as l_btn from '../../button/index.js'
|
|
6
|
+
export * as l_icon from '../../icon/index.js'
|
|
7
|
+
export * as d_touch from '../../../directive/touch/index.js'
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
</r-input>
|
|
17
17
|
</template>
|
|
18
18
|
<script>
|
|
19
|
-
import
|
|
19
|
+
import {defineAsyncComponent} from 'vue'
|
|
20
20
|
|
|
21
21
|
export default {
|
|
22
22
|
name: 'r-color-picker',
|
|
23
|
-
components: {Picker},
|
|
23
|
+
components: {Picker:defineAsyncComponent(()=>import('./picker.vue'))},
|
|
24
24
|
props: {
|
|
25
25
|
modelValue: String,
|
|
26
26
|
format: {type: String, default: 'rgba'}
|
|
@@ -51,19 +51,15 @@
|
|
|
51
51
|
</template>
|
|
52
52
|
|
|
53
53
|
<script>
|
|
54
|
+
import {defineAsyncComponent} from 'vue'
|
|
54
55
|
import {color} from './mixin'
|
|
55
56
|
|
|
56
|
-
import Saturation from './Saturation.vue'
|
|
57
|
-
import Hue from './Hue.vue'
|
|
58
|
-
import Alpha from './Alpha.vue'
|
|
59
|
-
import Preview from './Preview.vue'
|
|
60
|
-
|
|
61
57
|
export default {
|
|
62
58
|
components: {
|
|
63
|
-
Saturation,
|
|
64
|
-
Hue,
|
|
65
|
-
Alpha,
|
|
66
|
-
Preview
|
|
59
|
+
Saturation:defineAsyncComponent(()=>import('./Saturation.vue')),
|
|
60
|
+
Hue:defineAsyncComponent(()=>import('./Hue.vue')),
|
|
61
|
+
Alpha:defineAsyncComponent(()=>import('./Alpha.vue')),
|
|
62
|
+
Preview:defineAsyncComponent(()=>import('./Preview.vue'))
|
|
67
63
|
},
|
|
68
64
|
mixins: [color],
|
|
69
65
|
props: {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * as rDateInput from './index.vue'
|
|
2
|
+
export * as l_input from '../input/index.js'
|
|
3
|
+
export * as l_btn from '../../button/index.js'
|
|
4
|
+
export * as l_icon from '../../icon/index.js'
|
|
5
|
+
export * as l_modal from '../../modal/index.js'
|
|
6
|
+
export * as l_container from '../../container/index.js'
|
|
7
|
+
export * as l_row from '../../container/row.js'
|
|
8
|
+
export * as l_col from '../../container/col.js'
|