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.
Files changed (84) hide show
  1. package/components/app/notify/notification.vue +2 -1
  2. package/components/app/toast/index.vue +7 -2
  3. package/components/app/toast/toast.vue +2 -0
  4. package/components/avatar/index.vue +29 -23
  5. package/components/bar/bottomNavigationCircle.vue +8 -3
  6. package/components/bar/scss/bottomNav.scss +1 -1
  7. package/components/bar/toolbar/laptop.vue +4 -4
  8. package/components/bar/toolbar/mixin.js +1 -2
  9. package/components/bar/toolbar/mobile.vue +5 -4
  10. package/components/breadcrumb/index.vue +1 -0
  11. package/components/button/buttonConfirm.vue +1 -1
  12. package/components/button/buttonGroup.vue +1 -0
  13. package/components/button/style.scss +1 -0
  14. package/components/calendar/index.vue +1 -0
  15. package/components/calendar/month.vue +1 -0
  16. package/components/calendar/year.vue +1 -0
  17. package/components/chat/chatInput.vue +1 -0
  18. package/components/chat/chatMsg.vue +1 -0
  19. package/components/chat/index.vue +1 -0
  20. package/components/chip/index.vue +1 -0
  21. package/components/codeEditor/index.vue +0 -2
  22. package/components/confirm/index.vue +1 -0
  23. package/components/countdown/index.vue +1 -0
  24. package/components/float/index.vue +1 -0
  25. package/components/form/address.vue +6 -2
  26. package/components/form/camInput.vue +10 -3
  27. package/components/form/check-input.vue +95 -94
  28. package/components/form/checkbox.vue +1 -1
  29. package/components/form/colorPicker/index.vue +1 -0
  30. package/components/form/colorPicker/picker.vue +1 -0
  31. package/components/form/datePicker/index.vue +349 -348
  32. package/components/form/datePicker/month.vue +1 -0
  33. package/components/form/datePicker/year.vue +1 -0
  34. package/components/form/fileUploader/file.js +21 -3
  35. package/components/form/fileUploader/index.vue +13 -2
  36. package/components/form/fileUploader/single.vue +4 -2
  37. package/components/form/form.vue +1 -0
  38. package/components/form/group-input.vue +42 -38
  39. package/components/form/input.vue +253 -1
  40. package/components/form/inputTel/index.vue +22 -12
  41. package/components/form/json/JsonView.vue +95 -94
  42. package/components/form/json/index.vue +2 -0
  43. package/components/form/mask-input.vue +1 -0
  44. package/components/form/number.vue +25 -12
  45. package/components/form/password.vue +121 -121
  46. package/components/form/radioInput.vue +1 -0
  47. package/components/form/range.vue +26 -1
  48. package/components/form/rating.vue +13 -1
  49. package/components/form/select.vue +67 -4
  50. package/components/form/switch.vue +64 -2
  51. package/components/form/text-area.vue +1 -1
  52. package/components/form/text-editor/index.vue +18 -11
  53. package/components/form/text-input.vue +1 -1
  54. package/components/form/timepicker/index.vue +2 -1
  55. package/components/form/timepicker/range.vue +2 -1
  56. package/components/form/timepicker/timepicker.vue +2 -1
  57. package/components/form/unique/index.vue +3 -1
  58. package/components/form/unit-input.vue +2 -1
  59. package/components/formCreator/index.vue +8 -6
  60. package/components/html2pdf/index.vue +1 -0
  61. package/components/img/index.vue +12 -2
  62. package/components/img/svgImg.vue +43 -0
  63. package/components/infinite/div.vue +2 -1
  64. package/components/infinite/page.vue +24 -23
  65. package/components/list/index.vue +35 -32
  66. package/components/map/index.vue +324 -306
  67. package/components/map/route.vue +1 -0
  68. package/components/map/select.vue +1 -0
  69. package/components/menu/index.vue +1 -0
  70. package/components/modal/index.vue +1 -0
  71. package/components/searchBox/index.vue +5 -3
  72. package/components/slider/index.vue +1 -0
  73. package/components/table/crud/footer.vue +1 -1
  74. package/components/table/crud/header.vue +10 -4
  75. package/components/table/crud/index.vue +463 -458
  76. package/components/tabs/index.vue +1 -0
  77. package/components/tree/index.vue +15 -13
  78. package/components/tree/tree-element.vue +8 -4
  79. package/package.json +1 -1
  80. package/style/colors.scss +1 -1
  81. package/components/form/scss/input.scss +0 -249
  82. package/components/form/scss/rating.scss +0 -9
  83. package/components/form/scss/select.scss +0 -55
  84. package/components/form/scss/switch.scss +0 -68
@@ -16,6 +16,7 @@
16
16
  height: {type: String, default: "500px"},
17
17
  zoom: {type: Number, default: 13},
18
18
  },
19
+ emits:['update:modelValue'],
19
20
  data() {
20
21
  return {
21
22
  map: null,
@@ -56,6 +56,7 @@ export default {
56
56
  overlay: Boolean,
57
57
  items: Array
58
58
  },
59
+ emits:['update:modelValue'],
59
60
  data() {
60
61
  return {
61
62
  show: false,
@@ -62,6 +62,7 @@ export default {
62
62
  }
63
63
 
64
64
  },
65
+ emits:['update:modelValue'],
65
66
  data() {
66
67
  return {
67
68
  state: null,
@@ -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
@@ -75,6 +75,7 @@ export default {
75
75
  default: true
76
76
  }
77
77
  },
78
+ emits:['index'],
78
79
  data() {
79
80
  return {
80
81
  direction: 'slider-right',
@@ -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:model-value',$event)"
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:model-value', '')
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})