refine-rails 2.9.10 → 2.9.11
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 64fe80e7dcd7ca840c20101b7085466d63482d9dbd69f70edd521319530bab54
|
|
4
|
+
data.tar.gz: 7799610f7a21b824fe718fcbbfacbd4361effb636c14fbe817d3da986af6549e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 69c1c06d278965e2781730c5f4e1eb7f178eae986da41b3b4fdb09fc8cd2ae5d98a84ab1d6e4af7b71b0c7dcb6ce0de9715dcdce130cca22423c52529e2e7f24
|
|
7
|
+
data.tar.gz: 96fe4a9b0e501b6542a7a02ac541aedd338554ade49ad1cad6ee8578b3ac53dd3a2426e173f84bff0bbee9d51f216a737ff3bff14d11ba5bacefeaddbd5483bc
|
|
@@ -22,15 +22,6 @@
|
|
|
22
22
|
|
|
23
23
|
<%= form.fields :input_attributes, model: @criterion.input do |input_fields| %>
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
<%# Input Value %>
|
|
27
|
-
<% unless ['st', 'nst'].include? condition_clause %>
|
|
28
|
-
<%= render @criterion.input_partial, criterion: @criterion, form: form, input_fields: input_fields, form_id: form_id %>
|
|
29
|
-
<% if last_clause_select == :criterion %>
|
|
30
|
-
<div class="refine--separator"></div>
|
|
31
|
-
<% end %>
|
|
32
|
-
<% end %>
|
|
33
|
-
|
|
34
25
|
<%# Clause Select %>
|
|
35
26
|
<div class="refine--criterion-clause-container">
|
|
36
27
|
<%= input_fields.label :clause, t('.rule') %>
|
|
@@ -43,24 +34,26 @@
|
|
|
43
34
|
data: {action: "change->refine--criterion-form#refresh"},
|
|
44
35
|
form: form_id
|
|
45
36
|
%>
|
|
46
|
-
<% if last_clause_select == :criterion %>
|
|
47
|
-
<%= form.button t('global.buttons.apply'), class: "refine--apply-button", type: "submit", form: form_id %>
|
|
48
|
-
<% end %>
|
|
49
37
|
</div>
|
|
50
38
|
|
|
39
|
+
|
|
40
|
+
<%# Input Value %>
|
|
41
|
+
<% unless ['st', 'nst'].include? condition_clause %>
|
|
42
|
+
<div class="refine--separator"></div>
|
|
43
|
+
<%= render @criterion.input_partial, criterion: @criterion, form: form, input_fields: input_fields, form_id: form_id %>
|
|
44
|
+
<% end %>
|
|
45
|
+
|
|
46
|
+
<% if last_clause_select == :criterion %>
|
|
47
|
+
<div class="refine--separator"></div>
|
|
48
|
+
<%= form.button t('global.buttons.apply'), class: "refine--apply-button", type: "submit", form: form_id %>
|
|
49
|
+
<% end %>
|
|
50
|
+
|
|
51
51
|
<%# Date Refinement %>
|
|
52
52
|
<% if @criterion.condition.has_date_refinement? %>
|
|
53
53
|
<div class="refine--separator"></div>
|
|
54
|
-
<
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
<% unless ['st', 'nst'].include? @criterion.input.date_refinement.clause %>
|
|
58
|
-
<%= render "refine/inline/inputs/date_condition", criterion: @criterion, form: form, input_fields: date_fields, form_id: form_id %>
|
|
59
|
-
<% end %>
|
|
60
|
-
|
|
61
|
-
</div>
|
|
62
|
-
|
|
63
|
-
<div class="refine--criterion-clause-container">
|
|
54
|
+
<div class="refine--criterion-clause-container refine--date-refinement-clause-container">
|
|
55
|
+
<%= input_fields.label :clause, date_refinement_condition.display, class: "refine--block" %>
|
|
56
|
+
<%= input_fields.fields :date_refinement_attributes, model: @criterion.input.date_refinement do |date_fields| %>
|
|
64
57
|
<%= date_fields.label :clause, t('.rule') %>
|
|
65
58
|
<%= date_fields.collection_select :clause,
|
|
66
59
|
date_refinement_condition.approved_clauses,
|
|
@@ -71,12 +64,16 @@
|
|
|
71
64
|
data: {action: "change->refine--criterion-form#refresh"},
|
|
72
65
|
form: form_id
|
|
73
66
|
%>
|
|
74
|
-
|
|
75
|
-
|
|
67
|
+
</div>
|
|
68
|
+
<div class="refine--refinement-input-container">
|
|
69
|
+
<% unless ['st', 'nst'].include? @criterion.input.date_refinement.clause %>
|
|
70
|
+
<%= render "refine/inline/inputs/date_condition", criterion: @criterion, form: form, input_fields: date_fields, form_id: form_id %>
|
|
76
71
|
<% end %>
|
|
77
72
|
</div>
|
|
78
73
|
<% end %>
|
|
79
|
-
|
|
74
|
+
<% if last_clause_select == :date %>
|
|
75
|
+
<%= form.button t('global.buttons.apply'), class: "refine--apply-button", type: "submit", form: form_id %>
|
|
76
|
+
<% end %>
|
|
80
77
|
<% end %>
|
|
81
78
|
|
|
82
79
|
<%# Count Refinement %>
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
<input class="refine--search-trigger" data-search-target="filterProperties" placeholder="<%= t('.type_to_search') %>..." type="text" data-action="refine--typeahead-list#filter" autofocus>
|
|
5
5
|
</div>
|
|
6
6
|
|
|
7
|
-
<div class="refine--separator-m0"></div>
|
|
8
|
-
|
|
9
7
|
<div class="refine--option-list">
|
|
10
8
|
<% criterion.options.each do |option| %>
|
|
11
9
|
<%= tag.label class: "refine--option-label",
|
data/lib/refine/rails/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: refine-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.9.
|
|
4
|
+
version: 2.9.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Colleen Schnettler
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2024-03
|
|
12
|
+
date: 2024-04-03 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|