beyond-rails 0.0.276 → 0.0.277
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.
- checksums.yaml +4 -4
- data/src/js/components/SearchDropdown.js +2 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz: '
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '086454b869902332316514def36675eca9a02b1419aa38c2ba5c7f73682e6d3d'
|
|
4
|
+
data.tar.gz: 5ee5a23161b56ca2a0e803fc3cd76629dc25a7dc5a66edb96d2040ad53924a52
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7a89928221e3d295e0aa26a941f76eb4386f040cdd246a9c201591d023f0da5865dcb901d0ef494d51c5dd4396b955a0eb684eae543c96bdfe223a036ca3038
|
|
7
|
+
data.tar.gz: 832963f43c75f4273baf79b426601e65606026ec8a8cef035a5782ba9711732305f779bd78ed79e56b119a74f16c066ae921faff304234d5c890b2f7c6f31972
|
|
@@ -26,6 +26,7 @@ export default class SearchDropdown {
|
|
|
26
26
|
this.offsetTop = options.offsetTop || 0
|
|
27
27
|
this.offsetLeft = options.offsetLeft || 0
|
|
28
28
|
this.noDataMsg = options.noDataMsg || '沒有資料'
|
|
29
|
+
this.getFloatedTargetPos = options.getFloatedTargetPos || getFloatedTargetPos
|
|
29
30
|
this.isMenuVisible = false
|
|
30
31
|
this.lastKeyword = null
|
|
31
32
|
this.selectedIndex = 0
|
|
@@ -164,7 +165,7 @@ export default class SearchDropdown {
|
|
|
164
165
|
|
|
165
166
|
adjustMenuPos() {
|
|
166
167
|
const { menu, dom, offset, offsetLeft, offsetTop } = this
|
|
167
|
-
const { pos, place, align } = getFloatedTargetPos({
|
|
168
|
+
const { pos, place, align } = this.getFloatedTargetPos({
|
|
168
169
|
src: dom,
|
|
169
170
|
target: menu,
|
|
170
171
|
place: this.place,
|
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: beyond-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.277
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- kmsheng
|
|
8
8
|
- Eddie Li
|
|
9
|
-
autorequire:
|
|
9
|
+
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2021-01-
|
|
12
|
+
date: 2021-01-25 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: sassc
|
|
@@ -93,7 +93,7 @@ dependencies:
|
|
|
93
93
|
- - ">="
|
|
94
94
|
- !ruby/object:Gem::Version
|
|
95
95
|
version: 3.3.0
|
|
96
|
-
description:
|
|
96
|
+
description:
|
|
97
97
|
email: kmsh3ng@gmail.com
|
|
98
98
|
executables: []
|
|
99
99
|
extensions: []
|
|
@@ -273,7 +273,7 @@ homepage: https://superlanding.github.io/beyond/
|
|
|
273
273
|
licenses:
|
|
274
274
|
- MIT
|
|
275
275
|
metadata: {}
|
|
276
|
-
post_install_message:
|
|
276
|
+
post_install_message:
|
|
277
277
|
rdoc_options: []
|
|
278
278
|
require_paths:
|
|
279
279
|
- lib
|
|
@@ -288,8 +288,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
288
288
|
- !ruby/object:Gem::Version
|
|
289
289
|
version: '0'
|
|
290
290
|
requirements: []
|
|
291
|
-
rubygems_version: 3.0.
|
|
292
|
-
signing_key:
|
|
291
|
+
rubygems_version: 3.0.3
|
|
292
|
+
signing_key:
|
|
293
293
|
specification_version: 4
|
|
294
294
|
summary: beyond is a collection of frontend components which aims for admin website.
|
|
295
295
|
test_files: []
|