renusify 2.0.6 → 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 +5 -5
- 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/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 -192
- 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/index.js +1 -0
- package/components/nestable/index.vue +3 -3
- 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/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
|
@@ -111,7 +111,7 @@ export default {
|
|
|
111
111
|
active: false,
|
|
112
112
|
openList: false,
|
|
113
113
|
inputVal: null,
|
|
114
|
-
chips:
|
|
114
|
+
chips: []
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
117
|
mounted() {
|
|
@@ -183,6 +183,37 @@ export default {
|
|
|
183
183
|
})
|
|
184
184
|
},
|
|
185
185
|
getValue() {
|
|
186
|
+
if (!this.searchLink && this.modelValue !== undefined && this.modelValue !== null) {
|
|
187
|
+
if (typeof this.modelValue === 'string' || typeof this.modelValue === 'number') {
|
|
188
|
+
const index = this.$helper.searchArray(this.genItems, this.value, this.modelValue)
|
|
189
|
+
if (index === false) {
|
|
190
|
+
this.$emit('update:modelValue', null)
|
|
191
|
+
return []
|
|
192
|
+
}
|
|
193
|
+
} else if (this.$helper.isArray(this.modelValue)) {
|
|
194
|
+
this.modelValue.forEach((item) => {
|
|
195
|
+
if (typeof item === 'string' || typeof item === 'number') {
|
|
196
|
+
const index = this.$helper.searchArray(this.genItems, this.value, item)
|
|
197
|
+
if (index === false) {
|
|
198
|
+
this.$emit('update:modelValue', null)
|
|
199
|
+
return []
|
|
200
|
+
}
|
|
201
|
+
} else {
|
|
202
|
+
const index = this.$helper.searchArray(this.genItems, this.value, item[this.value])
|
|
203
|
+
if (index === false) {
|
|
204
|
+
this.$emit('update:modelValue', null)
|
|
205
|
+
return []
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
})
|
|
209
|
+
} else {
|
|
210
|
+
const index = this.$helper.searchArray(this.genItems, this.value, this.modelValue[this.value])
|
|
211
|
+
if (index === false) {
|
|
212
|
+
this.$emit('update:modelValue', null)
|
|
213
|
+
return []
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
186
217
|
if (this.modelValue !== undefined && this.modelValue !== null) {
|
|
187
218
|
if (this.$helper.ifHas(this.modelValue, false, this.text)) {
|
|
188
219
|
return [this.modelValue]
|
|
@@ -210,6 +241,7 @@ export default {
|
|
|
210
241
|
return this.modelValue
|
|
211
242
|
}
|
|
212
243
|
}
|
|
244
|
+
this.$emit('update:modelValue', null)
|
|
213
245
|
return []
|
|
214
246
|
},
|
|
215
247
|
handleChip(e, key) {
|
|
@@ -310,7 +342,7 @@ export default {
|
|
|
310
342
|
|
|
311
343
|
</script>
|
|
312
344
|
<style lang="scss">
|
|
313
|
-
@import "
|
|
345
|
+
@import "../../../style/include";
|
|
314
346
|
|
|
315
347
|
$min-height: 40px;
|
|
316
348
|
.#{$prefix}select-container {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * as rTelInput from './index.vue'
|
|
2
|
+
export * as l_textInput from '../textInput/index.js'
|
|
3
|
+
export * as l_modal from '../../modal/index.js'
|
|
4
|
+
export * as l_card from '../../card/index.js'
|
|
5
|
+
export * as l_list from '../../list/index.js'
|
|
6
|
+
export * as l_spacer from '../../container/spacer.js'
|
|
7
|
+
export * as l_btn from '../../button/index.js'
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
</template>
|
|
40
40
|
|
|
41
41
|
<script>
|
|
42
|
-
import allCountries from './assets/all-countries.js'
|
|
43
42
|
|
|
44
43
|
export default {
|
|
45
44
|
name: 'inputTel',
|
|
@@ -77,8 +76,10 @@ export default {
|
|
|
77
76
|
}
|
|
78
77
|
},
|
|
79
78
|
mounted() {
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
import('./assets/all-countries.js').then((d)=>{
|
|
80
|
+
this.countries = d.default;
|
|
81
|
+
this.initializeCountry()
|
|
82
|
+
})
|
|
82
83
|
},
|
|
83
84
|
created() {
|
|
84
85
|
if (this.modelValue) {
|
|
@@ -106,7 +107,7 @@ export default {
|
|
|
106
107
|
}
|
|
107
108
|
},
|
|
108
109
|
findCountry(iso = '') {
|
|
109
|
-
return
|
|
110
|
+
return this.countries.find(country => country.iso2 === iso)
|
|
110
111
|
},
|
|
111
112
|
|
|
112
113
|
choose(country) {
|
|
@@ -116,7 +117,6 @@ export default {
|
|
|
116
117
|
},
|
|
117
118
|
reset() {
|
|
118
119
|
this.search = ''
|
|
119
|
-
this.countries = allCountries
|
|
120
120
|
this.open = false
|
|
121
121
|
},
|
|
122
122
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * as rTextEditor from './index.vue'
|
|
2
|
+
export * as l_textInput from '../textInput/index.js'
|
|
3
|
+
export * as l_selectInput from '../selectInput/index.js'
|
|
4
|
+
export * as l_fileInput from '../fileInput/index.js'
|
|
5
|
+
export * as l_switchInput from '../switchInput/index.js'
|
|
6
|
+
export * as l_numberInput from '../numberInput/index.js'
|
|
7
|
+
export * as l_form from '../index.js'
|
|
8
|
+
export * as l_modal from '../../modal/index.js'
|
|
9
|
+
export * as l_img from '../../img/index.js'
|
|
10
|
+
export * as l_btn from '../../button/index.js'
|
|
11
|
+
export * as l_btn_group from '../../button/buttonGroup.js'
|
|
12
|
+
export * as l_icon from '../../icon/index.js'
|
|
13
|
+
export * as l_container from '../../container/index.js'
|
|
14
|
+
export * as l_row from '../../container/row.js'
|
|
15
|
+
export * as l_col from '../../container/col.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as rTextEditorPreview from './preview.vue'
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
</template>
|
|
55
55
|
|
|
56
56
|
<script>
|
|
57
|
-
import
|
|
57
|
+
import {defineAsyncComponent} from 'vue'
|
|
58
58
|
|
|
59
59
|
export default {
|
|
60
60
|
name: "r-time-picker",
|
|
61
|
-
components: {Timepicker},
|
|
61
|
+
components: {Timepicker:defineAsyncComponent(()=>import('./timepicker.vue'))},
|
|
62
62
|
props: {
|
|
63
63
|
disableTime: {
|
|
64
64
|
type: Function, default: () => {
|
|
@@ -65,11 +65,11 @@
|
|
|
65
65
|
</template>
|
|
66
66
|
|
|
67
67
|
<script>
|
|
68
|
-
import
|
|
68
|
+
import {defineAsyncComponent} from 'vue'
|
|
69
69
|
|
|
70
70
|
export default {
|
|
71
71
|
name: "r-time-picker-range",
|
|
72
|
-
components: {Timepicker},
|
|
72
|
+
components: {Timepicker:defineAsyncComponent(()=>import('./timepicker.vue'))},
|
|
73
73
|
props: {
|
|
74
74
|
withSec: Boolean,
|
|
75
75
|
noOverlay: Boolean,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * as rFormCreator from './index.vue'
|
|
2
|
+
export * as l_btn from '../button/index.js'
|
|
3
|
+
export * as l_card from '../card/index.js'
|
|
4
|
+
export * as l_container from '../container/index.js'
|
|
5
|
+
export * as l_row from '../container/row.js'
|
|
6
|
+
export * as l_col from '../container/col.js'
|
|
7
|
+
export * as l_message from '../message/index.js'
|
|
8
|
+
export * as l_form from '../form/index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as rHtml2pdfPageBreak from './pageBreak.vue'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as rIcon from './index.vue'
|
package/components/img/index.vue
CHANGED
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
</div>
|
|
25
25
|
</template>
|
|
26
26
|
<script>
|
|
27
|
-
import
|
|
27
|
+
import {defineAsyncComponent} from 'vue'
|
|
28
28
|
|
|
29
29
|
export default {
|
|
30
30
|
name: 'r-img',
|
|
31
|
-
components: {SvgImg},
|
|
31
|
+
components: {SvgImg:defineAsyncComponent(()=>import('./svgImg.vue'))},
|
|
32
32
|
props: {
|
|
33
33
|
src: {
|
|
34
34
|
type: String,
|
package/components/index.js
CHANGED
|
@@ -1,205 +1,113 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
'r-unique-input': {'p': 'form/unique/index.vue', 'c': ['r-text-input'], 'd': []},
|
|
85
|
-
'r-address-input': {'p': 'form/address.vue', 'c': ['r-select-input', 'r-text-area', 'r-text-input'], 'd': []},
|
|
86
|
-
'r-cam-input': {'p': 'form/camInput', 'c': ['r-input', 'r-btn', 'r-icon'], 'd': []},
|
|
87
|
-
'r-check-input': {'p': 'form/check-input.vue', 'c': ['r-input', 'r-btn', 'r-icon'], 'd': []},
|
|
88
|
-
'r-checkbox-input': {'p': 'form/checkbox.vue', 'c': ['r-input', 'r-icon'], 'd': []},
|
|
89
|
-
'r-group-input': {
|
|
90
|
-
'p': 'form/group-input.vue',
|
|
91
|
-
'c': ['r-btn', 'r-icon'],
|
|
92
|
-
'd': []
|
|
93
|
-
},
|
|
94
|
-
'r-input': {'p': 'form/input.vue', 'c': ['r-icon'], 'd': []},
|
|
95
|
-
'r-mask-input': {'p': 'form/mask-input.vue', 'c': ['r-input'], 'd': ['mask']},
|
|
96
|
-
'r-number-input': {'p': 'form/number.vue', 'c': ['r-input', 'r-btn', 'r-icon'], 'd': []},
|
|
97
|
-
'r-password-input': {'p': 'form/password.vue', 'c': ['r-input', 'r-icon'], 'd': []},
|
|
98
|
-
'r-radio-input': {'p': 'form/radioInput.vue', 'c': ['r-input', 'r-icon'], 'd': []},
|
|
99
|
-
'r-range-input': {'p': 'form/range.vue', 'c': ['r-input'], 'd': ['touch']},
|
|
100
|
-
'r-rating-input': {'p': 'form/rating.vue', 'c': ['r-btn', 'r-icon'], 'd': []},
|
|
101
|
-
'r-select-input': {
|
|
102
|
-
'p': 'form/select.vue',
|
|
103
|
-
'c': ['r-input', 'r-chip', 'r-progress-line', 'r-card', 'r-list', 'r-icon'],
|
|
104
|
-
'd': ['click-outside']
|
|
105
|
-
},
|
|
106
|
-
'r-switch-input': {'p': 'form/switch.vue', 'c': ['r-input'], 'd': []},
|
|
107
|
-
'r-text-area': {'p': 'form/text-area.vue', 'c': ['r-input'], 'd': []},
|
|
108
|
-
'r-text-input': {'p': 'form/text-input.vue', 'c': ['r-input'], 'd': []},
|
|
109
|
-
'r-unit-input': {'p': 'form/unit-input.vue', 'c': ['r-input', 'r-select-input'], 'd': []},
|
|
110
|
-
'r-form-creator': {
|
|
111
|
-
'p': 'formCreator/index.vue',
|
|
112
|
-
'c': ['r-card', 'r-container', 'r-message', 'r-form', 'r-row', 'r-col', 'r-btn'],
|
|
113
|
-
'd': []
|
|
114
|
-
},
|
|
115
|
-
'r-html2pdf': {'p': 'html2pdf/index.vue', 'c': ['r-btn', 'r-icon', 'r-html2pdf-page-break'], 'd': []},
|
|
116
|
-
'r-html2pdf-page-break': {'p': 'html2pdf/pageBreak.vue', 'c': [], 'd': []},
|
|
117
|
-
'r-icon': {'p': 'icon/index.vue', 'c': [], 'd': []},
|
|
118
|
-
'r-img': {'p': 'img/index.vue', 'c': [], 'd': ['intersect']},
|
|
119
|
-
'r-infinite-div': {
|
|
120
|
-
'p': 'infinite/div.vue',
|
|
121
|
-
'c': ['r-container', 'r-row', 'r-col', 'r-progress-line'],
|
|
122
|
-
'd': ['scroll']
|
|
123
|
-
},
|
|
124
|
-
'r-infinite-page': {'p': 'infinite/page.vue', 'c': ['r-progress-line'], 'd': ['scroll']},
|
|
125
|
-
'r-infinite-box': {
|
|
126
|
-
'p': 'infinite/index.vue',
|
|
127
|
-
'c': ['r-card', 'r-container', 'r-row', 'r-col', 'r-switch-input', 'r-infinite-div'],
|
|
128
|
-
'd': []
|
|
129
|
-
},
|
|
130
|
-
'r-list': {'p': 'list/index.vue', 'c': ['r-icon'], 'd': ['ripple']},
|
|
131
|
-
'r-map': {'p': 'map/index.vue', 'c': ['r-search-box', 'r-btn', 'r-icon', 'r-confirm'], 'd': []},
|
|
132
|
-
'r-map-select': {'p': 'map/select.vue', 'c': ['r-map'], 'd': []},
|
|
133
|
-
'r-map-route': {
|
|
134
|
-
'p': 'map/route.vue',
|
|
135
|
-
'c': ['r-container', 'r-row', 'r-col', 'r-map', 'r-divider', 'r-spacer', 'r-btn', 'r-icon'],
|
|
136
|
-
'd': []
|
|
137
|
-
},
|
|
138
|
-
'r-menu': {'p': 'menu/index.vue', 'c': ['r-btn', 'r-icon', 'r-card'], 'd': ['click-outside']},
|
|
139
|
-
'r-message': {'p': 'message/index.vue', 'c': ['r-container', 'r-row', 'r-col'], 'd': []},
|
|
140
|
-
'r-meta': {'p': 'meta/index.js', 'c': [], 'd': []},
|
|
141
|
-
'r-modal': {'p': 'modal/index.vue', 'c': ['r-btn', 'r-icon'], 'd': []},
|
|
142
|
-
'r-nestable': {'p': 'nestable/index.vue', 'c': [], 'd': []},
|
|
143
|
-
'r-notify': {'p': 'notify/index.vue', 'c': ['r-btn', 'r-icon'], 'd': []},
|
|
144
|
-
'r-progress-circle': {'p': 'progress/circle.vue', 'c': [], 'd': []},
|
|
145
|
-
'r-progress-line': {'p': 'progress/line.vue', 'c': [], 'd': []},
|
|
146
|
-
'r-search-box': {
|
|
147
|
-
'p': 'searchBox/index.vue',
|
|
148
|
-
'c': ['r-progress-line', 'r-card', 'r-list', 'r-btn', 'r-icon', 'r-select-input'],
|
|
149
|
-
'd': ['click-outside']
|
|
150
|
-
},
|
|
151
|
-
'r-slider': {'p': 'slider/index.vue', 'c': ['r-progress-line', 'r-btn', 'r-icon'], 'd': ['touch']},
|
|
152
|
-
'r-swiper': {'p': 'swiper/index.vue', 'c': [], 'd': ['touch']},
|
|
153
|
-
'r-table': {
|
|
154
|
-
'p': 'table/index.vue',
|
|
155
|
-
'c': ['r-btn', 'r-icon', 'r-switch-input', 'r-progress-line', 'r-modal', 'r-card', 'r-container', 'r-row', 'r-col'],
|
|
156
|
-
'd': ['sortable']
|
|
157
|
-
},
|
|
158
|
-
'r-table-crud': {
|
|
159
|
-
'p': 'table/crud/index.vue',
|
|
160
|
-
'c': ['r-card', 'r-modal', 'r-form-creator', 'r-json-input', 'r-divider', 'r-number-input', 'r-btn', 'r-table', 'r-icon',
|
|
161
|
-
'r-time-ago', 'r-switch-input', 'r-confirm', 'r-container', 'r-row', 'r-col', 'r-text-input', 'r-select-input', 'r-date-input',
|
|
162
|
-
'r-progress-line'],
|
|
163
|
-
'd': []
|
|
164
|
-
},
|
|
165
|
-
'r-tabs': {'p': 'tabs/index.vue', 'c': ['r-btn', 'r-icon'], 'd': []},
|
|
166
|
-
'r-time-ago': {'p': 'timeAgo/index.vue', 'c': [], 'd': []},
|
|
167
|
-
'r-timeline': {'p': 'timeline/index.vue', 'c': ['r-container', 'r-row', 'r-col'], 'd': []},
|
|
168
|
-
'r-tour': {'p': 'tour/index.vue', 'c': ['r-container', 'r-spacer', 'r-btn'], 'd': []},
|
|
169
|
-
'r-tree': {
|
|
170
|
-
'p': 'tree/index.vue',
|
|
171
|
-
'c': ['r-container', 'r-row', 'r-col', 'r-select-input', 'r-float', 'r-tree-element'],
|
|
172
|
-
'd': []
|
|
173
|
-
},
|
|
174
|
-
'r-tree-element': {'p': 'tree/tree-element.vue', 'c': ['r-container', 'r-row', 'r-col', 'r-btn', 'r-icon'], 'd': []}
|
|
175
|
-
}
|
|
1
|
+
export * as rApp from './app/index.js'
|
|
2
|
+
export * as rAvatar from './avatar/index.js'
|
|
3
|
+
export * as rToolbar from './bar/toolbar/index.js'
|
|
4
|
+
export * as rBottomNavigation from './bar/bottomNav.js'
|
|
5
|
+
export * as rBottomNavigationCircle from './bar/bottomNavigationCircle.js'
|
|
6
|
+
export * as rBreadcrumbs from './breadcrumb/index.js'
|
|
7
|
+
export * as rBtn from './button/index.js'
|
|
8
|
+
export * as rBtnConfirm from './button/buttonConfirm.js'
|
|
9
|
+
export * as rCalendar from './calendar/index.js'
|
|
10
|
+
export * as rCard from './card/index.js'
|
|
11
|
+
export * as rChart from './chart/chart.js'
|
|
12
|
+
export * as rChartMap from './chart/worldMap.js'
|
|
13
|
+
export * as rChat from './chat/index.js'
|
|
14
|
+
export * as rChip from './chip/index.js'
|
|
15
|
+
export * as rCodeEditor from './codeEditor/index.js'
|
|
16
|
+
export * as rConfirm from './confirm/index.js'
|
|
17
|
+
export * as rContainer from './container/index.js'
|
|
18
|
+
export * as rRow from './container/row.js'
|
|
19
|
+
export * as rCol from './container/col.js'
|
|
20
|
+
export * as rSpacer from './container/spacer.js'
|
|
21
|
+
export * as rDivider from './container/divider.js'
|
|
22
|
+
export * as rContent from './content/index.js'
|
|
23
|
+
export * as rCountDown from './countdown/index.js'
|
|
24
|
+
export * as rCropper from './cropper/index.js'
|
|
25
|
+
export * as rFloat from './float/index.js'
|
|
26
|
+
export * as rForm from './form/index.js'
|
|
27
|
+
export * as rColorInput from './form/colorInput/index.js'
|
|
28
|
+
export * as rDateInput from './form/dateInput/index.js'
|
|
29
|
+
export * as rFileInput from './form/fileInput/index.js'
|
|
30
|
+
export * as rTelInput from './form/telInput/index.js'
|
|
31
|
+
export * as rJsonInput from './form/jsonInput/index.js'
|
|
32
|
+
export * as rTextEditor from './form/text-editor/index.js'
|
|
33
|
+
export * as rTextEditorPreview from './form/text-editor/preview.js'
|
|
34
|
+
export * as rTimeInput from './form/timeInput/index.js'
|
|
35
|
+
export * as rTimeRangeInput from './form/timeInput/range.js'
|
|
36
|
+
export * as rUniqueInput from './form/uniqueInput/index.js'
|
|
37
|
+
export * as rAddressInput from './form/addressInput/index.js'
|
|
38
|
+
export * as rCamInput from './form/camInput/index.js'
|
|
39
|
+
export * as rCheckInput from './form/checkInput/index.js'
|
|
40
|
+
export * as rCheckboxInput from './form/checkboxInput/index.js'
|
|
41
|
+
export * as rGroupInput from './form/groupInput/index.js'
|
|
42
|
+
export * as rInput from './form/input/index.js'
|
|
43
|
+
export * as rMaskInput from './form/maskInput/index.js'
|
|
44
|
+
export * as rNumberInput from './form/numberInput/index.js'
|
|
45
|
+
export * as rPasswprdInput from './form/passwordInput/index.js'
|
|
46
|
+
export * as rRadioInput from './form/radioInput/index.js'
|
|
47
|
+
export * as rRangeInput from './form/rangeInput/index.js'
|
|
48
|
+
export * as rRatingInput from './form/ratingInput/index.js'
|
|
49
|
+
export * as rSelectInput from './form/selectInput/index.js'
|
|
50
|
+
export * as rSwitchInput from './form/switchInput/index.js'
|
|
51
|
+
export * as rTextArea from './form/textArea/index.js'
|
|
52
|
+
export * as rTextInput from './form/textInput/index.js'
|
|
53
|
+
export * as rUnitInput from './form/unitInput/index.js'
|
|
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
|
+
export * as rIcon from './icon/index.js'
|
|
58
|
+
export * as rImg from './img/index.js'
|
|
59
|
+
export * as rInfiniteDiv from './infinite/div.js'
|
|
60
|
+
export * as rInfinitePage from './infinite/page.js'
|
|
61
|
+
export * as rInfiniteBox from './infinite/index.js'
|
|
62
|
+
export * as rList from './list/index.js'
|
|
63
|
+
export * as rMap from './map/index.js'
|
|
64
|
+
export * as rMapSelect from './map/select.js'
|
|
65
|
+
export * as rMapRoute from './map/route.js'
|
|
66
|
+
export * as rMenu from './menu/index.js'
|
|
67
|
+
export * as rMessage from './message/index.js'
|
|
68
|
+
export * as rMeta from './meta/index.js'
|
|
69
|
+
export * as rModal from './modal/index.js'
|
|
70
|
+
export * as rNestable from './nestable/index.js'
|
|
71
|
+
export * as rNotify from './notify/index.js'
|
|
72
|
+
export * as rProgressCircle from './progress/circle.js'
|
|
73
|
+
export * as rProgressLine from './progress/line.js'
|
|
74
|
+
export * as rSearchBox from './searchBox/index.js'
|
|
75
|
+
export * as rSlider from './slider/index.js'
|
|
76
|
+
export * as rSwiper from './swiper/index.js'
|
|
77
|
+
export * as rTable from './table/index.js'
|
|
78
|
+
export * as rTableCrud from './table/crud/index.js'
|
|
79
|
+
export * as rTabs from './tabs/index.js'
|
|
80
|
+
export * as rTimeAgo from './timeAgo/index.js'
|
|
81
|
+
export * as rTimeline from './timeline/index.js'
|
|
82
|
+
export * as rTour from './tour/index.js'
|
|
83
|
+
export * as rTree from './tree/index.js'
|
|
176
84
|
|
|
177
85
|
export const register = (app, components) => {
|
|
178
86
|
let d = {}
|
|
179
87
|
let s = {}
|
|
180
88
|
const setup = (ls) => {
|
|
181
|
-
ls
|
|
89
|
+
for (const name in ls) {
|
|
182
90
|
try {
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
d[
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
|
|
91
|
+
for (const arrayKey in ls[name]) {
|
|
92
|
+
const cc=ls[name][arrayKey]
|
|
93
|
+
if(arrayKey.startsWith('d_')){
|
|
94
|
+
d[arrayKey.substring(2)]=cc
|
|
95
|
+
}
|
|
96
|
+
else if(arrayKey.startsWith('l_')){
|
|
97
|
+
setup({[arrayKey.substring(2)]:cc})
|
|
98
|
+
}
|
|
99
|
+
else if (!s[arrayKey]) {
|
|
100
|
+
app.component(arrayKey,cc.default)
|
|
101
|
+
s[arrayKey] = true
|
|
102
|
+
}
|
|
190
103
|
}
|
|
104
|
+
|
|
191
105
|
} catch (e) {
|
|
192
106
|
console.error('component not found', c, e)
|
|
193
107
|
}
|
|
194
|
-
})
|
|
195
|
-
}
|
|
196
|
-
if (components.length === 0) {
|
|
197
|
-
setup(Object.keys(list))
|
|
198
|
-
} else {
|
|
199
|
-
if (!components.includes('r-app')) {
|
|
200
|
-
setup(['r-app'])
|
|
201
108
|
}
|
|
202
|
-
setup(components)
|
|
203
109
|
}
|
|
204
|
-
|
|
110
|
+
|
|
111
|
+
setup(components)
|
|
112
|
+
return d
|
|
205
113
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * as rInfiniteDiv from './div.vue'
|
|
2
|
+
export * as l_container from '../container/index.js'
|
|
3
|
+
export * as l_row from '../container/row.js'
|
|
4
|
+
export * as l_col from '../container/col.js'
|
|
5
|
+
export * as l_line from '../progress/line.js'
|
|
6
|
+
export * as d_scroll from '../../directive/scroll/index.js'
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * as rInfiniteBox from './index.vue'
|
|
2
|
+
export * as l_div from './div.js'
|
|
3
|
+
export * as l_card from '../card/index.js'
|
|
4
|
+
export * as l_container from '../container/index.js'
|
|
5
|
+
export * as l_row from '../container/row.js'
|
|
6
|
+
export * as l_col from '../container/col.js'
|
|
7
|
+
export * as l_switch from '../form/switchInput/index.js'
|