material_raingular 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99e8d90a20262152188fe0983f5c932f68584cf0
|
4
|
+
data.tar.gz: 31ead29835562041ab0010021f957af6467b417b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca2b9dde87dbc0a9268010e0e81e5220601c2d892f76c3039f34ef1ebd376b8fd08c2b1b6066b614032f31e00cfee7c36882df4974a9de6b30ac49fa02adf08e
|
7
|
+
data.tar.gz: 7196fd6e5cd21ceeb50111cbb49f8fa058b168326ebb182fd818bbdff1eb8a534ea528b419ac17338b46c8a6544f3bcf52a91339392cd0b5ca44eee4595687c5
|
@@ -87,14 +87,15 @@ class StandardTemplate
|
|
87
87
|
@element.css('position','relative').css('overflow','visible')
|
88
88
|
@span.css('overflow','hidden').css('width','100%').css('display','inline-block').css('position','relative')
|
89
89
|
searchCss = window.getComputedStyle(@search[0])
|
90
|
+
@tempHolder.css('display','none') if @viewOptions.hideList
|
90
91
|
@typeAhead.css('white-space', 'nowrap')
|
91
92
|
@typeAhead.css('padding-left', parseFloat(searchCss["padding-left"]) + parseFloat(searchCss["margin-left"]) + parseFloat(searchCss["border-left-width"]) + 'px')
|
92
93
|
padding = parseFloat(searchCss["padding-top"]) + parseFloat(searchCss["margin-top"]) + parseFloat(searchCss["border-top-width"])
|
93
94
|
parent = @element[0]
|
94
|
-
until parent.tagName == 'TD'
|
95
|
+
until parent.tagName == 'TD' || parent.tagName == 'MD-MENU-ITEM'
|
95
96
|
break unless parent.parentNode
|
96
97
|
parent = parent.parentNode
|
97
|
-
padding += 1 unless parent.tagName == 'TD'
|
98
|
+
padding += 1 unless parent.tagName == 'TD' || parent.tagName == 'MD-MENU-ITEM'
|
98
99
|
@typeAhead.css('padding-top', padding + 'px')
|
99
100
|
|
100
101
|
bind: ->
|
@@ -223,7 +224,7 @@ angular.module('FilteredSelect', [])
|
|
223
224
|
filteredList = (similar,model,exact,full)->
|
224
225
|
if similar
|
225
226
|
bool = (left,right) ->
|
226
|
-
!!left.match(new RegExp("^" + right))
|
227
|
+
!!left.match(new RegExp("^" + right.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&")))
|
227
228
|
if exact
|
228
229
|
bool = (left,right) -> left == right
|
229
230
|
location = (if full then null else elements.search[0].selectionStart) || elements.search.val().length
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: material_raingular
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Moody
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|