anchor_view_components 0.35.0 → 0.35.1
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82cf0b2b3a7c1ed368c7bed935068d45173a29730758d455046f26ab87a144a2
|
4
|
+
data.tar.gz: 3c7a9553794195e2367aa2bcd6bd1fd034bc8396c1162bb769bf8986b0321d91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3a1f96301fde9d4d82a12d37d7c3e60e4024193d514b80afbc92bd149b8ed050572dfe9d51ad54c56cdffce62970d25d15ddc1f266238f5ce3bfd3d5afee076
|
7
|
+
data.tar.gz: b7db1b44c16dd75fc5c5144b9db9f72378761e1b4e1b8b3e4e511e10b57784f971aacbe596cc71c3990cbd8a357fea5da7c92beebed2da86b51b2619c69b3960
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Anchor
|
2
2
|
class FilterComponentPreview < Preview
|
3
3
|
def with_type_select
|
4
|
-
|
4
|
+
anchor_filter(
|
5
5
|
param_key: :role_id,
|
6
6
|
label: "Role",
|
7
7
|
options: [["Admin", "1"], ["Manager", "2"], ["Employee", "3"]],
|
@@ -10,7 +10,7 @@ module Anchor
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def with_type_checkbox
|
13
|
-
|
13
|
+
anchor_filter(
|
14
14
|
param_key: :role_id,
|
15
15
|
type: :checkbox,
|
16
16
|
label: "Role",
|
@@ -20,7 +20,7 @@ module Anchor
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def with_radio
|
23
|
-
|
23
|
+
anchor_filter(
|
24
24
|
param_key: :language,
|
25
25
|
type: :radio,
|
26
26
|
label: "Language",
|
@@ -30,7 +30,7 @@ module Anchor
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def with_many_options
|
33
|
-
|
33
|
+
anchor_filter(
|
34
34
|
param_key: :location,
|
35
35
|
type: :checkbox,
|
36
36
|
label: "Location",
|