renusify 2.2.0 → 2.2.2

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.
@@ -2,12 +2,12 @@
2
2
  <r-container ref="tree" :class="classes" full-width>
3
3
  <r-row v-if="searchLink">
4
4
  <r-col>
5
- <r-select
5
+ <r-select-input
6
6
  :label="$t('search','renusify')"
7
7
  :model-value="search"
8
8
  :searchLink="searchLink"
9
9
  @update:model-value="change($event)"
10
- ></r-select>
10
+ ></r-select-input>
11
11
  </r-col>
12
12
  </r-row>
13
13
  <r-float v-if="show" :minZoom="0.01" :zoom="0.7" bordered>
@@ -222,8 +222,8 @@ $distance: 20px;
222
222
  position: absolute;
223
223
  left: 50%;
224
224
  right: 50%;
225
- top: $distance - 8px;
226
- height: $distance;
225
+ top: 0;
226
+ height: $distance - 8px;
227
227
  border-left: 2px solid #ccc;
228
228
  }
229
229
 
@@ -3,7 +3,12 @@ function mounted (el, binding) {
3
3
  const options = binding.options || {
4
4
  passive: true
5
5
  }
6
- const target = binding.arg ? document.querySelector(binding.arg) : window
6
+ let target = el
7
+ if (binding.modifiers.window) {
8
+ target = window
9
+ } else if (binding.arg) {
10
+ target = document.querySelector(binding.arg)
11
+ }
7
12
  if (!target) return
8
13
  target.addEventListener('scroll', callback, options)
9
14
  el._onScroll = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "renusify",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": "Vue3 Framework",
5
5
  "keywords": [
6
6
  "vuejs",
@@ -1,3 +1,4 @@
1
+ //todo complete
1
2
  class Request {
2
3
  constructor() {
3
4
  this._baseURL = '/';