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
package/components/index.js
CHANGED
|
@@ -1,204 +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-time-range-input': {'p': 'form/timepicker/range.vue', 'c': ['r-input', 'r-modal', 'r-card', 'r-btn'], 'd': []},
|
|
85
|
-
'r-unique-input': {'p': 'form/unique/index.vue', 'c': ['r-text-input'], 'd': []},
|
|
86
|
-
'r-address-input': {'p': 'form/address.vue', 'c': ['r-select-input', 'r-text-area', 'r-text-input'], 'd': []},
|
|
87
|
-
'r-cam-input': {'p': 'form/camInput', 'c': ['r-input', 'r-btn', 'r-icon'], 'd': []},
|
|
88
|
-
'r-check-input': {'p': 'form/check-input.vue', 'c': ['r-input', 'r-btn', 'r-icon'], 'd': []},
|
|
89
|
-
'r-checkbox-input': {'p': 'form/checkbox.vue', 'c': ['r-input', 'r-icon'], 'd': []},
|
|
90
|
-
'r-group-input': {
|
|
91
|
-
'p': 'form/group-input.vue',
|
|
92
|
-
'c': ['r-btn', 'r-icon'],
|
|
93
|
-
'd': []
|
|
94
|
-
},
|
|
95
|
-
'r-input': {'p': 'form/input.vue', 'c': ['r-icon'], 'd': []},
|
|
96
|
-
'r-mask-input': {'p': 'form/mask-input.vue', 'c': ['r-input'], 'd': ['mask']},
|
|
97
|
-
'r-number-input': {'p': 'form/number.vue', 'c': ['r-input', 'r-btn', 'r-icon'], 'd': []},
|
|
98
|
-
'r-password-input': {'p': 'form/password.vue', 'c': ['r-input', 'r-icon'], 'd': []},
|
|
99
|
-
'r-radio-input': {'p': 'form/radioInput.vue', 'c': ['r-input', 'r-icon'], 'd': []},
|
|
100
|
-
'r-range-input': {'p': 'form/range.vue', 'c': ['r-input'], 'd': ['touch']},
|
|
101
|
-
'r-rating-input': {'p': 'form/rating.vue', 'c': ['r-btn', 'r-icon'], 'd': []},
|
|
102
|
-
'r-select-input': {
|
|
103
|
-
'p': 'form/select.vue',
|
|
104
|
-
'c': ['r-input', 'r-chip', 'r-progress-line', 'r-card', 'r-list', 'r-icon'],
|
|
105
|
-
'd': ['click-outside']
|
|
106
|
-
},
|
|
107
|
-
'r-switch-input': {'p': 'form/switch.vue', 'c': ['r-input'], 'd': []},
|
|
108
|
-
'r-text-area': {'p': 'form/text-area.vue', 'c': ['r-input'], 'd': []},
|
|
109
|
-
'r-text-input': {'p': 'form/text-input.vue', 'c': ['r-input'], 'd': []},
|
|
110
|
-
'r-unit-input': {'p': 'form/unit-input.vue', 'c': ['r-input', 'r-select-input'], 'd': []},
|
|
111
|
-
'r-form-creator': {
|
|
112
|
-
'p': 'formCreator/index.vue',
|
|
113
|
-
'c': ['r-card', 'r-container', 'r-message', 'r-form', 'r-row', 'r-col', 'r-btn'],
|
|
114
|
-
'd': []
|
|
115
|
-
},
|
|
116
|
-
'r-html2pdf': {'p': 'html2pdf/index.vue', 'c': ['r-btn', 'r-icon', 'r-html2pdf-page-break'], 'd': []},
|
|
117
|
-
'r-html2pdf-page-break': {'p': 'html2pdf/pageBreak.vue', 'c': [], 'd': []},
|
|
118
|
-
'r-icon': {'p': 'icon/index.vue', 'c': [], 'd': []},
|
|
119
|
-
'r-img': {'p': 'img/index.vue', 'c': [], 'd': ['intersect']},
|
|
120
|
-
'r-infinite-div': {
|
|
121
|
-
'p': 'infinite/div.vue',
|
|
122
|
-
'c': ['r-container', 'r-row', 'r-col', 'r-progress-line'],
|
|
123
|
-
'd': ['scroll']
|
|
124
|
-
},
|
|
125
|
-
'r-infinite-page': {'p': 'infinite/page.vue', 'c': ['r-progress-line'], 'd': ['scroll']},
|
|
126
|
-
'r-infinite-box': {
|
|
127
|
-
'p': 'infinite/index.vue',
|
|
128
|
-
'c': ['r-card', 'r-container', 'r-row', 'r-col', 'r-switch-input', 'r-infinite-div'],
|
|
129
|
-
'd': []
|
|
130
|
-
},
|
|
131
|
-
'r-list': {'p': 'list/index.vue', 'c': ['r-icon'], 'd': ['ripple']},
|
|
132
|
-
'r-map': {'p': 'map/index.vue', 'c': ['r-search-box', 'r-btn', 'r-icon', 'r-confirm'], 'd': []},
|
|
133
|
-
'r-map-select': {'p': 'map/select.vue', 'c': ['r-map'], 'd': []},
|
|
134
|
-
'r-map-route': {
|
|
135
|
-
'p': 'map/route.vue',
|
|
136
|
-
'c': ['r-container', 'r-row', 'r-col', 'r-map', 'r-divider', 'r-spacer', 'r-btn', 'r-icon'],
|
|
137
|
-
'd': []
|
|
138
|
-
},
|
|
139
|
-
'r-menu': {'p': 'menu/index.vue', 'c': ['r-btn', 'r-icon', 'r-card'], 'd': ['click-outside']},
|
|
140
|
-
'r-message': {'p': 'message/index.vue', 'c': ['r-container', 'r-row', 'r-col'], 'd': []},
|
|
141
|
-
'r-meta': {'p': 'meta/index.js', 'c': [], 'd': []},
|
|
142
|
-
'r-modal': {'p': 'modal/index.vue', 'c': ['r-btn', 'r-icon'], 'd': []},
|
|
143
|
-
'r-progress-circle': {'p': 'progress/circle.vue', 'c': [], 'd': []},
|
|
144
|
-
'r-progress-line': {'p': 'progress/line.vue', 'c': [], 'd': []},
|
|
145
|
-
'r-search-box': {
|
|
146
|
-
'p': 'searchBox/index.vue',
|
|
147
|
-
'c': ['r-progress-line', 'r-card', 'r-list', 'r-btn', 'r-icon', 'r-select-input'],
|
|
148
|
-
'd': ['click-outside']
|
|
149
|
-
},
|
|
150
|
-
'r-slider': {'p': 'slider/index.vue', 'c': ['r-progress-line', 'r-btn', 'r-icon'], 'd': ['touch']},
|
|
151
|
-
'r-swiper': {'p': 'swiper/index.vue', 'c': [], 'd': ['touch']},
|
|
152
|
-
'r-table': {
|
|
153
|
-
'p': 'table/index.vue',
|
|
154
|
-
'c': ['r-btn', 'r-icon', 'r-switch-input', 'r-progress-line', 'r-modal', 'r-card', 'r-container', 'r-row', 'r-col'],
|
|
155
|
-
'd': ['sortable']
|
|
156
|
-
},
|
|
157
|
-
'r-table-crud': {
|
|
158
|
-
'p': 'table/crud/index.vue',
|
|
159
|
-
'c': ['r-card', 'r-modal', 'r-form-creator', 'r-json-input', 'r-divider', 'r-number-input', 'r-btn', 'r-table', 'r-icon',
|
|
160
|
-
'r-time-ago', 'r-switch-input', 'r-confirm', 'r-container', 'r-row', 'r-col', 'r-text-input', 'r-select-input', 'r-date-input',
|
|
161
|
-
'r-progress-line'],
|
|
162
|
-
'd': []
|
|
163
|
-
},
|
|
164
|
-
'r-tabs': {'p': 'tabs/index.vue', 'c': ['r-btn', 'r-icon'], 'd': []},
|
|
165
|
-
'r-time-ago': {'p': 'timeAgo/index.vue', 'c': [], 'd': []},
|
|
166
|
-
'r-timeline': {'p': 'timeline/index.vue', 'c': ['r-container', 'r-row', 'r-col'], 'd': []},
|
|
167
|
-
'r-tour': {'p': 'tour/index.vue', 'c': ['r-container', 'r-spacer', 'r-btn'], 'd': []},
|
|
168
|
-
'r-tree': {
|
|
169
|
-
'p': 'tree/index.vue',
|
|
170
|
-
'c': ['r-container', 'r-row', 'r-col', 'r-select-input', 'r-float', 'r-tree-element'],
|
|
171
|
-
'd': []
|
|
172
|
-
},
|
|
173
|
-
'r-tree-element': {'p': 'tree/tree-element.vue', 'c': ['r-container', 'r-row', 'r-col', 'r-btn', 'r-icon'], 'd': []}
|
|
174
|
-
}
|
|
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'
|
|
175
84
|
|
|
176
85
|
export const register = (app, components) => {
|
|
177
86
|
let d = {}
|
|
178
87
|
let s = {}
|
|
179
88
|
const setup = (ls) => {
|
|
180
|
-
ls
|
|
89
|
+
for (const name in ls) {
|
|
181
90
|
try {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
d[
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
|
|
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
|
+
}
|
|
189
103
|
}
|
|
104
|
+
|
|
190
105
|
} catch (e) {
|
|
191
106
|
console.error('component not found', c, e)
|
|
192
107
|
}
|
|
193
|
-
})
|
|
194
|
-
}
|
|
195
|
-
if (components.length === 0) {
|
|
196
|
-
setup(Object.keys(list))
|
|
197
|
-
} else {
|
|
198
|
-
if (!components.includes('r-app')) {
|
|
199
|
-
setup(['r-app'])
|
|
200
108
|
}
|
|
201
|
-
setup(components)
|
|
202
109
|
}
|
|
203
|
-
|
|
110
|
+
|
|
111
|
+
setup(components)
|
|
112
|
+
return d
|
|
204
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'
|
package/components/map/index.vue
CHANGED
|
@@ -98,8 +98,8 @@ export default {
|
|
|
98
98
|
this.$r.icons.crosshairs_gps = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path fill="currentColor" d="M12 8a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m-8.95 5H1v-2h2.05C3.5 6.83 6.83 3.5 11 3.05V1h2v2.05c4.17.45 7.5 3.78 7.95 7.95H23v2h-2.05c-.45 4.17-3.78 7.5-7.95 7.95V23h-2v-2.05C6.83 20.5 3.5 17.17 3.05 13M12 5a7 7 0 0 0-7 7a7 7 0 0 0 7 7a7 7 0 0 0 7-7a7 7 0 0 0-7-7Z"/></svg>'
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
mounted() {
|
|
102
|
+
this.add();
|
|
103
103
|
},
|
|
104
104
|
watch: {
|
|
105
105
|
modelValue: function (n, o) {
|
|
@@ -300,18 +300,19 @@ export default {
|
|
|
300
300
|
break;
|
|
301
301
|
}
|
|
302
302
|
},
|
|
303
|
-
|
|
303
|
+
add() {
|
|
304
304
|
import('./leaflet.css')
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
305
|
+
import('./leaflet').then(()=>{
|
|
306
|
+
this.L = global.L
|
|
307
|
+
this.run();
|
|
308
|
+
})
|
|
308
309
|
},
|
|
309
310
|
}
|
|
310
311
|
};
|
|
311
312
|
</script>
|
|
312
313
|
|
|
313
314
|
<style lang="scss">
|
|
314
|
-
@import "
|
|
315
|
+
@import "../../style/include";
|
|
315
316
|
|
|
316
317
|
.#{$prefix}map {
|
|
317
318
|
position: relative;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * as rMapRoute from './route.vue'
|
|
2
|
+
export * as l_map from './index.js'
|
|
3
|
+
export * as l_container from '../container/index.js'
|
|
4
|
+
export * as l_row from '../container/row.js'
|
|
5
|
+
export * as l_col from '../container/col.js'
|
|
6
|
+
export * as l_divider from '../container/divider.js'
|
|
7
|
+
export * as l_spacer from '../container/spacer.js'
|
|
8
|
+
export * as l_btn from '../button/index.js'
|
|
9
|
+
export * as l_icon from '../icon/index.js'
|
package/components/map/route.vue
CHANGED
package/components/meta/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<teleport :to="`.${$r.prefix}app`">
|
|
2
|
+
<teleport v-if="show" :to="`.${$r.prefix}app`">
|
|
3
3
|
<div v-if="modelValue&&!noOverlay" :class="{
|
|
4
4
|
[`${$r.prefix}modal-overlay`]:true
|
|
5
5
|
}"></div>
|
|
@@ -64,7 +64,8 @@ export default {
|
|
|
64
64
|
data() {
|
|
65
65
|
return {
|
|
66
66
|
state: null,
|
|
67
|
-
run_animate: false
|
|
67
|
+
run_animate: false,
|
|
68
|
+
show: false,
|
|
68
69
|
}
|
|
69
70
|
},
|
|
70
71
|
created() {
|
|
@@ -74,6 +75,9 @@ export default {
|
|
|
74
75
|
this.$emit('update:modelValue', true)
|
|
75
76
|
}
|
|
76
77
|
}
|
|
78
|
+
setTimeout(()=>{
|
|
79
|
+
this.show=true
|
|
80
|
+
},10)
|
|
77
81
|
},
|
|
78
82
|
watch: {
|
|
79
83
|
'$route': function (n) {
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
:class="itemClasses"
|
|
4
|
+
class="nestable-handle"
|
|
5
|
+
draggable="true"
|
|
6
|
+
@dragstart="dragstart"
|
|
7
|
+
@touchend="touchend"
|
|
8
|
+
@touchmove="touchmove"
|
|
9
|
+
@touchstart="dragstart"
|
|
10
|
+
>
|
|
11
|
+
<div
|
|
12
|
+
class="nestable-item-content"
|
|
13
|
+
@mouseenter="onMouseEnter"
|
|
14
|
+
@mouseleave="onMouseLeave"
|
|
15
|
+
@mousemove="onMouseMove"
|
|
16
|
+
>
|
|
17
|
+
<r-btn-confirm
|
|
18
|
+
v-if="editable"
|
|
19
|
+
class="color-error-text"
|
|
20
|
+
icon
|
|
21
|
+
text
|
|
22
|
+
@click="del(item)"
|
|
23
|
+
>
|
|
24
|
+
<r-icon v-html="$r.icons.delete"></r-icon>
|
|
25
|
+
</r-btn-confirm>
|
|
26
|
+
<slot :item="item"></slot>
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
<div v-if="hasChildren" class="nestable-list ms-5">
|
|
30
|
+
<template
|
|
31
|
+
v-for="(child, childIndex) in item[childrenProp]"
|
|
32
|
+
:key="childIndex"
|
|
33
|
+
>
|
|
34
|
+
<NestableItem
|
|
35
|
+
:childrenProp="childrenProp"
|
|
36
|
+
:dragItem="dragItem"
|
|
37
|
+
:index="childIndex"
|
|
38
|
+
:item="child"
|
|
39
|
+
:key-prop="keyProp"
|
|
40
|
+
is-child
|
|
41
|
+
@delete="$emit('delete', $event)"
|
|
42
|
+
@drag-start="$emit('drag-start', $event)"
|
|
43
|
+
@touch-move="$emit('touch-move', $event)"
|
|
44
|
+
@mouse-enter="$emit('mouse-enter', $event)"
|
|
45
|
+
@drag-end="$emit('drag-end', $event)"
|
|
46
|
+
>
|
|
47
|
+
<template v-slot="{ item }">
|
|
48
|
+
<r-btn-confirm
|
|
49
|
+
v-if="editable"
|
|
50
|
+
class="color-error-text"
|
|
51
|
+
icon
|
|
52
|
+
text
|
|
53
|
+
@click="del(item)"
|
|
54
|
+
>
|
|
55
|
+
<r-icon v-html="$r.icons.delete"></r-icon>
|
|
56
|
+
</r-btn-confirm>
|
|
57
|
+
<slot :item="item" itemscope></slot>
|
|
58
|
+
</template>
|
|
59
|
+
</NestableItem>
|
|
60
|
+
</template>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
</template>
|
|
64
|
+
|
|
65
|
+
<script>
|
|
66
|
+
export default {
|
|
67
|
+
name: "NestableItem",
|
|
68
|
+
props: {
|
|
69
|
+
editable: Boolean,
|
|
70
|
+
keyProp: String,
|
|
71
|
+
item: {
|
|
72
|
+
type: Object,
|
|
73
|
+
required: true,
|
|
74
|
+
default: () => ({}),
|
|
75
|
+
},
|
|
76
|
+
index: {
|
|
77
|
+
type: Number,
|
|
78
|
+
required: false,
|
|
79
|
+
default: null,
|
|
80
|
+
},
|
|
81
|
+
isChild: {
|
|
82
|
+
type: Boolean,
|
|
83
|
+
required: false,
|
|
84
|
+
default: false,
|
|
85
|
+
},
|
|
86
|
+
childrenProp: String,
|
|
87
|
+
dragItem: Object,
|
|
88
|
+
},
|
|
89
|
+
data() {
|
|
90
|
+
return {
|
|
91
|
+
breakPoint: null,
|
|
92
|
+
moveDown: false,
|
|
93
|
+
};
|
|
94
|
+
},
|
|
95
|
+
|
|
96
|
+
computed: {
|
|
97
|
+
isDragging() {
|
|
98
|
+
return (
|
|
99
|
+
this.dragItem && this.dragItem[this.keyProp] === this.item[this.keyProp]
|
|
100
|
+
);
|
|
101
|
+
},
|
|
102
|
+
|
|
103
|
+
hasChildren() {
|
|
104
|
+
return (
|
|
105
|
+
this.item[this.childrenProp] && this.item[this.childrenProp].length > 0
|
|
106
|
+
);
|
|
107
|
+
},
|
|
108
|
+
|
|
109
|
+
itemClasses() {
|
|
110
|
+
const isDragging = this.isDragging ? ["is-dragging"] : [];
|
|
111
|
+
|
|
112
|
+
return [
|
|
113
|
+
"nestable-item",
|
|
114
|
+
`nestable-item-${this.item[this.keyProp]}`,
|
|
115
|
+
...isDragging,
|
|
116
|
+
];
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
|
|
120
|
+
methods: {
|
|
121
|
+
del(item) {
|
|
122
|
+
this.$emit("delete", item);
|
|
123
|
+
},
|
|
124
|
+
dragstart(event) {
|
|
125
|
+
this.$emit("drag-start", [event, this.item]);
|
|
126
|
+
},
|
|
127
|
+
touchend(event) {
|
|
128
|
+
this.$emit("drag-end", event);
|
|
129
|
+
},
|
|
130
|
+
touchmove(event) {
|
|
131
|
+
this.$emit("touch-move", event);
|
|
132
|
+
},
|
|
133
|
+
onMouseEnter(event) {
|
|
134
|
+
if (!this.dragItem) return;
|
|
135
|
+
|
|
136
|
+
if (!event.movementY) {
|
|
137
|
+
return this.sendNotification(event);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
this.moveDown = event.movementY > 0;
|
|
141
|
+
|
|
142
|
+
this.breakPoint = event.target.getBoundingClientRect().height / 2;
|
|
143
|
+
},
|
|
144
|
+
onMouseLeave() {
|
|
145
|
+
this.breakPoint = null;
|
|
146
|
+
},
|
|
147
|
+
onMouseMove(event) {
|
|
148
|
+
if (!this.breakPoint) return;
|
|
149
|
+
|
|
150
|
+
const delta = event.offsetY - this.breakPoint;
|
|
151
|
+
|
|
152
|
+
if (this.moveDown && delta < this.breakPoint / 4) return;
|
|
153
|
+
if (!this.moveDown && delta > -this.breakPoint / 4) return;
|
|
154
|
+
|
|
155
|
+
this.sendNotification(event);
|
|
156
|
+
},
|
|
157
|
+
sendNotification(event) {
|
|
158
|
+
this.breakPoint = null;
|
|
159
|
+
this.$emit("mouse-enter", [event, this.item]);
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
};
|
|
163
|
+
</script>
|