renusify 1.1.4 → 1.2.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/notify/notification.vue +2 -1
- package/components/app/toast/index.vue +7 -2
- package/components/app/toast/toast.vue +2 -0
- package/components/avatar/index.vue +29 -23
- package/components/bar/bottomNavigationCircle.vue +8 -3
- package/components/bar/scss/bottomNav.scss +1 -1
- package/components/bar/toolbar/laptop.vue +4 -4
- package/components/bar/toolbar/mixin.js +1 -2
- package/components/bar/toolbar/mobile.vue +5 -4
- package/components/breadcrumb/index.vue +1 -0
- package/components/button/buttonConfirm.vue +1 -1
- package/components/button/buttonGroup.vue +1 -0
- package/components/button/style.scss +1 -0
- package/components/calendar/index.vue +1 -0
- package/components/calendar/month.vue +1 -0
- package/components/calendar/year.vue +1 -0
- package/components/chat/chatInput.vue +1 -0
- package/components/chat/chatMsg.vue +1 -0
- package/components/chat/index.vue +1 -0
- package/components/chip/index.vue +1 -0
- package/components/codeEditor/index.vue +0 -2
- package/components/confirm/index.vue +1 -0
- package/components/countdown/index.vue +1 -0
- package/components/float/index.vue +1 -0
- package/components/form/address.vue +6 -2
- package/components/form/camInput.vue +10 -3
- package/components/form/check-input.vue +95 -94
- package/components/form/checkbox.vue +1 -1
- package/components/form/colorPicker/index.vue +1 -0
- package/components/form/colorPicker/picker.vue +1 -0
- package/components/form/datePicker/index.vue +349 -348
- package/components/form/datePicker/month.vue +1 -0
- package/components/form/datePicker/year.vue +1 -0
- package/components/form/fileUploader/file.js +21 -3
- package/components/form/fileUploader/index.vue +13 -2
- package/components/form/fileUploader/single.vue +4 -2
- package/components/form/form.vue +1 -0
- package/components/form/group-input.vue +42 -38
- package/components/form/input.vue +253 -1
- package/components/form/inputTel/index.vue +22 -12
- package/components/form/json/JsonView.vue +95 -94
- package/components/form/json/index.vue +2 -0
- package/components/form/mask-input.vue +1 -0
- package/components/form/number.vue +25 -12
- package/components/form/password.vue +121 -121
- package/components/form/radioInput.vue +1 -0
- package/components/form/range.vue +26 -1
- package/components/form/rating.vue +13 -1
- package/components/form/select.vue +67 -4
- package/components/form/switch.vue +64 -2
- package/components/form/text-area.vue +1 -1
- package/components/form/text-editor/index.vue +18 -11
- package/components/form/text-input.vue +1 -1
- package/components/form/timepicker/index.vue +2 -1
- package/components/form/timepicker/range.vue +2 -1
- package/components/form/timepicker/timepicker.vue +2 -1
- package/components/form/unique/index.vue +3 -1
- package/components/form/unit-input.vue +2 -1
- package/components/formCreator/index.vue +8 -6
- package/components/html2pdf/index.vue +1 -0
- package/components/img/index.vue +12 -2
- package/components/img/svgImg.vue +43 -0
- package/components/infinite/div.vue +2 -1
- package/components/infinite/page.vue +24 -23
- package/components/list/index.vue +35 -32
- package/components/map/index.vue +324 -306
- package/components/map/route.vue +1 -0
- package/components/map/select.vue +1 -0
- package/components/menu/index.vue +1 -0
- package/components/modal/index.vue +1 -0
- package/components/searchBox/index.vue +5 -3
- package/components/slider/index.vue +1 -0
- package/components/table/crud/footer.vue +1 -1
- package/components/table/crud/header.vue +10 -4
- package/components/table/crud/index.vue +463 -458
- package/components/tabs/index.vue +1 -0
- package/components/tree/index.vue +15 -13
- package/components/tree/tree-element.vue +8 -4
- package/package.json +1 -1
- package/style/colors.scss +1 -1
- package/components/form/scss/input.scss +0 -249
- package/components/form/scss/rating.scss +0 -9
- package/components/form/scss/select.scss +0 -55
- package/components/form/scss/switch.scss +0 -68
|
@@ -66,9 +66,10 @@ export default {
|
|
|
66
66
|
modelValue: [String, Number],
|
|
67
67
|
autofocus: Boolean,
|
|
68
68
|
noOverlay: Boolean,
|
|
69
|
-
openToTop: Boolean
|
|
69
|
+
openToTop: Boolean,
|
|
70
|
+
headers: Object
|
|
70
71
|
},
|
|
71
|
-
|
|
72
|
+
emits:['update:modelValue','select'],
|
|
72
73
|
data() {
|
|
73
74
|
return {
|
|
74
75
|
show: false,
|
|
@@ -95,7 +96,8 @@ export default {
|
|
|
95
96
|
this.$axios.get(this.url, {
|
|
96
97
|
params: {
|
|
97
98
|
[this.query]: this.lazyValue
|
|
98
|
-
}
|
|
99
|
+
},
|
|
100
|
+
headers: this.headers
|
|
99
101
|
}).then(({data}) => {
|
|
100
102
|
this.list = data
|
|
101
103
|
this.loading = false
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<r-container class="container-fluid">
|
|
4
4
|
<r-row class="v-baseline h-end">
|
|
5
5
|
<r-col class="col-auto">
|
|
6
|
-
<r-select-input class="per-page" open-to-top :items="[
|
|
6
|
+
<r-select-input class="per-page" open-to-top disableSearch :items="[
|
|
7
7
|
{name: '10', value: 10},
|
|
8
8
|
{name: '20', value: 20},
|
|
9
9
|
{name: '50', value: 50},
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
</r-col>
|
|
31
31
|
<r-col v-if="!show" class="col-12">
|
|
32
32
|
<r-text-input :label="$t('search','renusify')"
|
|
33
|
-
@update:modelValue="$emit('update:
|
|
33
|
+
@update:modelValue="$emit('update:modelValue',$event)"
|
|
34
34
|
:model-value="search"></r-text-input>
|
|
35
35
|
</r-col>
|
|
36
36
|
<r-col v-else class="col-12">
|
|
37
37
|
<r-container class="pa-0" full-width>
|
|
38
|
-
<r-select-input :model-value="select" :items="header" text="text"
|
|
38
|
+
<r-select-input :model-value="select" :items="header" text="text" disableSearch
|
|
39
39
|
:label="$t('add','renusify')" @update:model-value="add"></r-select-input>
|
|
40
40
|
<r-divider class="my-3"></r-divider>
|
|
41
41
|
<template v-for="(item,i) in inputs" :key="i">
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
{name:$t('advance_search_id','renusify'),value:'_id'}
|
|
51
51
|
]"
|
|
52
52
|
justValue
|
|
53
|
+
disableSearch
|
|
53
54
|
firstSelect
|
|
54
55
|
:label="$t('advance_search_operator','renusify')"></r-select-input>
|
|
55
56
|
</r-col>
|
|
@@ -74,6 +75,7 @@
|
|
|
74
75
|
{name:$t('advance_search_lte','renusify'),value:'lte'}]"
|
|
75
76
|
firstSelect
|
|
76
77
|
justValue
|
|
78
|
+
disableSearch
|
|
77
79
|
:label="$t('advance_search_operator','renusify')"></r-select-input>
|
|
78
80
|
</r-col>
|
|
79
81
|
<r-col class="col-6 md-8">
|
|
@@ -93,6 +95,7 @@
|
|
|
93
95
|
]"
|
|
94
96
|
justValue
|
|
95
97
|
firstSelect
|
|
98
|
+
disableSearch
|
|
96
99
|
:label="$t('advance_search_operator','renusify')"></r-select-input>
|
|
97
100
|
</r-col>
|
|
98
101
|
<r-col class="col-6 md-8">
|
|
@@ -113,11 +116,12 @@
|
|
|
113
116
|
]"
|
|
114
117
|
justValue
|
|
115
118
|
firstSelect
|
|
119
|
+
disableSearch
|
|
116
120
|
:label="$t('advance_search_operator','renusify')"></r-select-input>
|
|
117
121
|
</r-col>
|
|
118
122
|
<r-col class="col-6 md-8">
|
|
119
123
|
<r-select-input v-model="item.advance.search" :label="item.text" :items="item.option.items"
|
|
120
|
-
multiple tags></r-select-input>
|
|
124
|
+
disableSearch multiple tags></r-select-input>
|
|
121
125
|
</r-col>
|
|
122
126
|
<r-col class="col-1">
|
|
123
127
|
<r-btn class="color-error" icon @click.prevent="del(i)">
|
|
@@ -135,6 +139,7 @@
|
|
|
135
139
|
{name:$t('advance_search_lte','renusify'),value:'lte'}
|
|
136
140
|
]"
|
|
137
141
|
justValue
|
|
142
|
+
disableSearch
|
|
138
143
|
firstSelect
|
|
139
144
|
:label="$t('advance_search_operator','renusify')"></r-select-input>
|
|
140
145
|
</r-col>
|
|
@@ -174,6 +179,7 @@
|
|
|
174
179
|
newItem: Function,
|
|
175
180
|
search: String
|
|
176
181
|
},
|
|
182
|
+
emits:['update:modelValue','copy','edit','delete','a-search'],
|
|
177
183
|
data() {
|
|
178
184
|
return {
|
|
179
185
|
show: false,
|
|
@@ -188,7 +194,7 @@
|
|
|
188
194
|
this.showConfirm=false
|
|
189
195
|
},
|
|
190
196
|
send() {
|
|
191
|
-
this.$emit('update:
|
|
197
|
+
this.$emit('update:modelValue', '')
|
|
192
198
|
let r = []
|
|
193
199
|
this.inputs.forEach((item) => {
|
|
194
200
|
r.push({'name': item.value, 'advance': item.advance})
|