five-two-nw-olivander 0.1.2.43 → 0.1.2.44
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/fonts/summernote.eot +0 -0
- data/app/assets/fonts/summernote.ttf +0 -0
- data/app/assets/fonts/summernote.woff +0 -0
- data/app/assets/fonts/summernote.woff2 +0 -0
- data/app/assets/javascripts/adminlte/select2_defaults.coffee +5 -1
- data/app/assets/stylesheets/fa-fix.scss +12 -0
- data/app/components/olivander/components/portlet_component.html.haml +2 -2
- data/app/components/olivander/components/portlet_component.rb +2 -0
- data/app/components/olivander/components/resource_show_component.html.haml +7 -1
- data/app/components/olivander/components/table_portlet_component.html.haml +2 -2
- data/app/components/olivander/components/table_portlet_component.rb +2 -0
- data/app/controllers/concerns/olivander/resources/auto_form_attributes.rb +7 -7
- data/app/datatables/olivander/datatable.rb +3 -5
- data/app/helpers/olivander/application_helper.rb +3 -1
- data/app/views/application/_resource_form_actions.html.haml +1 -1
- data/app/views/application/edit.html.haml +1 -1
- data/app/views/application/show.html.haml +2 -0
- data/app/views/layouts/olivander/adminlte/_login_flashes.html.haml +4 -0
- data/lib/olivander/engine.rb +1 -1
- data/lib/olivander/version.rb +1 -1
- data/lib/olivander.rb +5 -1
- metadata +6 -69
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/af.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/ar.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/az.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/bg.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/bn.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/bs.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/build.txt +0 -236
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/ca.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/cs.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/da.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/de.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/dsb.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/el.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/en.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/es.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/et.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/eu.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/fa.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/fi.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/fr.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/gl.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/he.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/hi.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/hr.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/hsb.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/hu.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/hy.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/id.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/is.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/it.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/ja.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/ka.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/km.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/ko.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/lt.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/lv.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/mk.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/ms.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/nb.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/ne.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/nl.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/pl.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/ps.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/pt-BR.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/pt.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/ro.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/ru.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/sk.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/sl.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/sq.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/sr-Cyrl.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/sr.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/sv.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/th.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/tk.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/tr.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/uk.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/vi.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/zh-CN.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/i18n/zh-TW.js +0 -3
- data/app/assets/javascripts/adminlte/plugins/select2/js/select2.full.js +0 -6820
- data/app/assets/javascripts/adminlte/plugins/select2/js/select2.js +0 -6108
- data/app/assets/javascripts/adminlte/plugins/select2/js/select2.min.js +0 -2
- data/app/assets/javascripts/controllers/refresh_datatable_controller.js +0 -8
- data/app/controllers/concerns/olivander/resources/model_registrar.rb +0 -49
- data/app/controllers/concerns/olivander/resources/model_registry.rb +0 -201
- data/app/javascript/controllers/refresh_datatable_controller.js +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16cf7a76d584d994ebe2a9288a075ace5c102267db5f9f9a1421419649a1e2d4
|
4
|
+
data.tar.gz: 70cf5157b16b6ba71d3b9419fa7be32313fb2649f3f0f18a895a935968ac20b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 733bf715caa8743fedbaac361989ac3a666fa0a5de69d13d30e4172a4a7b3950528bfd22ea617d412148757f2c96fcfb9a84e8561f4014812e724146856376b6
|
7
|
+
data.tar.gz: 61153f2f1bf784b231420905d8de974d09f68a188ed12fe59ef1c8690a38a742ee345754673e426acdc8d8d002a9b8293170b3c8bb05869eddf5454681be78ca
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -14,6 +14,10 @@ $.fn.select2.defaults.set('dropdownParent', $('#modal-root'))
|
|
14
14
|
$(document).on 'select2:open', () =>
|
15
15
|
document.querySelector('.select2-search__field').focus()
|
16
16
|
|
17
|
-
initSelect2s = () -> $('select').not('.no-select2').
|
17
|
+
initSelect2s = () -> $('select').not('.no-select2').each (k,v) =>
|
18
|
+
$(v).select2({ dropdownParent: $(v).parent() })
|
18
19
|
|
19
20
|
$(document).ready -> initSelect2s()
|
21
|
+
$(document).on 'show.bs.modal', (e) =>
|
22
|
+
$('select').not('.no-select2').each (k,v) =>
|
23
|
+
$(v).select2({ dropdownParent: $(v).parent() })
|
@@ -39,3 +39,15 @@
|
|
39
39
|
asset-url("fa-solid-900.ttf") format("truetype"),
|
40
40
|
asset-url("fa-solid-900.svg#fontawesome") format("svg");
|
41
41
|
}
|
42
|
+
|
43
|
+
@font-face {
|
44
|
+
font-display: auto;
|
45
|
+
font-family: summernote;
|
46
|
+
font-style: normal;
|
47
|
+
font-weight: 400;
|
48
|
+
src:
|
49
|
+
asset-url("summernote.eot?#iefix") format("embedded-opentype"),
|
50
|
+
asset-url("summernote.woff2") format("woff2"),
|
51
|
+
asset-url("summernote.woff") format("woff"),
|
52
|
+
asset-url("summernote.ttf") format("truetype");
|
53
|
+
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
- if @turbo_frame.present?
|
2
|
-
|
2
|
+
%turbo-frame{ id: @turbo_frame, src: @src, loading: @loading, data: @turbo_frame_data }/
|
3
3
|
|
4
|
-
.card{ class: @card_type }
|
4
|
+
.card{ class: @card_type, data: @card_data }
|
5
5
|
.card-header{ class: @header_background }
|
6
6
|
%h3.card-title= @title
|
7
7
|
- if header_tools?
|
@@ -22,7 +22,13 @@
|
|
22
22
|
- icon_class = val ? 'fa-check text-success' : 'fa-times text-danger'
|
23
23
|
%i.fa{ class: icon_class }
|
24
24
|
- when :association
|
25
|
-
|
25
|
+
- if val.present?
|
26
|
+
- if val.is_a?(ActiveRecord::Associations::CollectionProxy)
|
27
|
+
%ul
|
28
|
+
- val.each do |val1|
|
29
|
+
%li= link_to val1
|
30
|
+
- else
|
31
|
+
= link_to val if val.present?
|
26
32
|
- else
|
27
33
|
= val
|
28
34
|
- (section.columns-slice.size).times do
|
@@ -1,7 +1,7 @@
|
|
1
1
|
- if @turbo_frame.present?
|
2
|
-
|
2
|
+
%turbo-frame{ id: @turbo_frame, colin: 'ferrel', data: @turbo_frame_data }/
|
3
3
|
|
4
|
-
.card{ class: @card_type }
|
4
|
+
.card{ class: @card_type, data: @card_data }
|
5
5
|
.card-header{ class: @header_background }
|
6
6
|
%h3.card-title= @title
|
7
7
|
.card-tools
|
@@ -19,6 +19,8 @@ module Olivander
|
|
19
19
|
@max_height = options[:max_height]
|
20
20
|
@headers = options[:headers].nil? ? true : options[:headers]
|
21
21
|
@id = options[:id]
|
22
|
+
@card_data = options[:card_data]
|
23
|
+
@turbo_frame_data = options[:turbo_frame_data]
|
22
24
|
end
|
23
25
|
|
24
26
|
class TableComponent < ViewComponent::Base
|
@@ -49,14 +49,14 @@ module Olivander
|
|
49
49
|
sym = att.name.to_sym
|
50
50
|
type = att.type
|
51
51
|
next unless inc == sym
|
52
|
+
resource_field sym, type
|
53
|
+
end
|
52
54
|
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
end
|
59
|
-
|
55
|
+
reflections.map{ |x| x[1] }
|
56
|
+
.filter{ |x| x.foreign_key == inc || x.name == inc }
|
57
|
+
.each do |r|
|
58
|
+
sym = r.name
|
59
|
+
type = :association
|
60
60
|
resource_field sym, type
|
61
61
|
end
|
62
62
|
end
|
@@ -64,14 +64,12 @@ module Olivander
|
|
64
64
|
label = field_label_for(klazz, key)
|
65
65
|
sym = key.gsub('_id', '')
|
66
66
|
visible = show.include?(key) || !(default_hidden.include?(key) || hide.include?(key))
|
67
|
-
if
|
68
|
-
|
69
|
-
elsif link_path.present? && sym == 'name'
|
70
|
-
link_col sym, link_path, :id, visible: visible
|
67
|
+
if %w[id name first_name last_name display_name title].include?(sym)
|
68
|
+
col sym, visible: visible, action: :show
|
71
69
|
elsif sym.include?('.')
|
72
70
|
col sym, visible: visible, label: label
|
73
71
|
else
|
74
|
-
col sym, visible: visible, label: label
|
72
|
+
col sym, visible: visible, label: label
|
75
73
|
end
|
76
74
|
end
|
77
75
|
actions_col
|
@@ -14,7 +14,9 @@ module Olivander
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def user_image_path(user)
|
17
|
-
"avatar#{SecureRandom.random_number(4)}.png"
|
17
|
+
return "avatar#{SecureRandom.random_number(4)}.png" unless user.present? && user.respond_to?(:avatar_path)
|
18
|
+
|
19
|
+
user.avatar_path
|
18
20
|
end
|
19
21
|
|
20
22
|
def authorized_resource_actions(route_builder, resource, for_action: :show)
|
@@ -7,7 +7,7 @@
|
|
7
7
|
= resource_form_action_label(@resource, a.sym)
|
8
8
|
|
9
9
|
- if a.turbo_frame.blank?
|
10
|
-
= link_to({ controller: a.controller, action: a.action }, method: a.verb, class: 'btn btn-tool') do
|
10
|
+
= link_to({ controller: a.controller, action: a.action }, method: a.verb, class: 'btn btn-tool', data: { confirm: 'are you sure?' }) do
|
11
11
|
= yield cf_sym
|
12
12
|
- else
|
13
13
|
= link_to({ controller: a.controller, action: a.action }, class: 'btn btn-tool', data: { turbo: true, turbo_method: a.verb, turbo_frame: a.turbo_frame }) do
|
@@ -12,7 +12,9 @@
|
|
12
12
|
.card-tools
|
13
13
|
= resource_form_actions(@context.route_builder, @resource, for_action: action_name.to_sym)
|
14
14
|
.card-body
|
15
|
+
= render_optional_partial 'show_inside_before'
|
15
16
|
= render Olivander::Components::ResourceShowComponent.new(@resource, [])
|
17
|
+
= render_optional_partial 'show_inside_after'
|
16
18
|
.card-footer.text-right
|
17
19
|
= link_to 'Cancel', @_effective_resource.action_path(:index), class: 'btn btn-secondary'
|
18
20
|
|
data/lib/olivander/engine.rb
CHANGED
@@ -3,7 +3,7 @@ module Olivander
|
|
3
3
|
isolate_namespace Olivander
|
4
4
|
|
5
5
|
initializer "olivander.assets.precompile" do |app|
|
6
|
-
app.config.assets.precompile += %w
|
6
|
+
app.config.assets.precompile += %w[adminlte.js adminlte.css avatar0.png avatar1.png avatar2.png avatar3.png avatar4.png]
|
7
7
|
end
|
8
8
|
|
9
9
|
initializer "olivander.action_controller" do |app|
|
data/lib/olivander/version.rb
CHANGED
data/lib/olivander.rb
CHANGED
@@ -2,7 +2,11 @@ require 'olivander/version'
|
|
2
2
|
require 'olivander/engine'
|
3
3
|
require 'olivander/application_context'
|
4
4
|
require 'olivander/menus'
|
5
|
+
require 'pathname'
|
5
6
|
|
6
7
|
module Olivander
|
7
|
-
#
|
8
|
+
# Root pathname to get the path of Olivander files like templates or dictionaries
|
9
|
+
def self.root
|
10
|
+
@root ||= Pathname.new(__dir__).freeze
|
11
|
+
end
|
8
12
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: five-two-nw-olivander
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.2.
|
4
|
+
version: 0.1.2.44
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Dennis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chartkick
|
@@ -149,6 +149,10 @@ files:
|
|
149
149
|
- app/assets/fonts/fa-solid-900.ttf
|
150
150
|
- app/assets/fonts/fa-solid-900.woff
|
151
151
|
- app/assets/fonts/fa-solid-900.woff2
|
152
|
+
- app/assets/fonts/summernote.eot
|
153
|
+
- app/assets/fonts/summernote.ttf
|
154
|
+
- app/assets/fonts/summernote.woff
|
155
|
+
- app/assets/fonts/summernote.woff2
|
152
156
|
- app/assets/images/avatar0.png
|
153
157
|
- app/assets/images/avatar1.png
|
154
158
|
- app/assets/images/avatar2.png
|
@@ -177,70 +181,7 @@ files:
|
|
177
181
|
- app/assets/javascripts/adminlte/plugins/select2/css/select2-bootstrap4.min.css
|
178
182
|
- app/assets/javascripts/adminlte/plugins/select2/css/select2.css
|
179
183
|
- app/assets/javascripts/adminlte/plugins/select2/css/select2.min.css
|
180
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/af.js
|
181
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/ar.js
|
182
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/az.js
|
183
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/bg.js
|
184
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/bn.js
|
185
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/bs.js
|
186
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/build.txt
|
187
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/ca.js
|
188
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/cs.js
|
189
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/da.js
|
190
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/de.js
|
191
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/dsb.js
|
192
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/el.js
|
193
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/en.js
|
194
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/es.js
|
195
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/et.js
|
196
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/eu.js
|
197
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/fa.js
|
198
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/fi.js
|
199
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/fr.js
|
200
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/gl.js
|
201
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/he.js
|
202
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/hi.js
|
203
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/hr.js
|
204
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/hsb.js
|
205
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/hu.js
|
206
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/hy.js
|
207
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/id.js
|
208
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/is.js
|
209
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/it.js
|
210
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/ja.js
|
211
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/ka.js
|
212
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/km.js
|
213
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/ko.js
|
214
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/lt.js
|
215
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/lv.js
|
216
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/mk.js
|
217
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/ms.js
|
218
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/nb.js
|
219
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/ne.js
|
220
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/nl.js
|
221
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/pl.js
|
222
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/ps.js
|
223
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/pt-BR.js
|
224
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/pt.js
|
225
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/ro.js
|
226
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/ru.js
|
227
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/sk.js
|
228
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/sl.js
|
229
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/sq.js
|
230
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/sr-Cyrl.js
|
231
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/sr.js
|
232
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/sv.js
|
233
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/th.js
|
234
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/tk.js
|
235
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/tr.js
|
236
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/uk.js
|
237
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/vi.js
|
238
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/zh-CN.js
|
239
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/i18n/zh-TW.js
|
240
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/select2.full.js
|
241
184
|
- app/assets/javascripts/adminlte/plugins/select2/js/select2.full.min.js
|
242
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/select2.js
|
243
|
-
- app/assets/javascripts/adminlte/plugins/select2/js/select2.min.js
|
244
185
|
- app/assets/javascripts/adminlte/plugins/sparklines/sparkline.js
|
245
186
|
- app/assets/javascripts/adminlte/plugins/summernote/summernote-bs4.min.css
|
246
187
|
- app/assets/javascripts/adminlte/plugins/summernote/summernote-bs4.min.js
|
@@ -249,7 +190,6 @@ files:
|
|
249
190
|
- app/assets/javascripts/adminlte/plugins/tempusdominus-bootstrap-4/css/tempusdominus-bootstrap-4.min.css
|
250
191
|
- app/assets/javascripts/adminlte/plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js
|
251
192
|
- app/assets/javascripts/adminlte/select2_defaults.coffee
|
252
|
-
- app/assets/javascripts/controllers/refresh_datatable_controller.js
|
253
193
|
- app/assets/stylesheets/adminlte.css
|
254
194
|
- app/assets/stylesheets/fa-fix.scss
|
255
195
|
- app/assets/stylesheets/olivander/application.css
|
@@ -269,14 +209,11 @@ files:
|
|
269
209
|
- app/components/olivander/components/table_portlet_component.rb
|
270
210
|
- app/components/olivander/components/table_portlet_component/table_component.html.haml
|
271
211
|
- app/controllers/concerns/olivander/resources/auto_form_attributes.rb
|
272
|
-
- app/controllers/concerns/olivander/resources/model_registrar.rb
|
273
|
-
- app/controllers/concerns/olivander/resources/model_registry.rb
|
274
212
|
- app/controllers/concerns/olivander/resources/route_builder.rb
|
275
213
|
- app/controllers/olivander/application_controller.rb
|
276
214
|
- app/datatables/olivander/datatable.rb
|
277
215
|
- app/helpers/olivander/application_helper.rb
|
278
216
|
- app/inputs/date_time_input.rb
|
279
|
-
- app/javascript/controllers/refresh_datatable_controller.js
|
280
217
|
- app/jobs/olivander/application_job.rb
|
281
218
|
- app/mailers/olivander/application_mailer.rb
|
282
219
|
- app/models/olivander/application_record.rb
|
@@ -1,3 +0,0 @@
|
|
1
|
-
/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2
|
-
|
3
|
-
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/af",[],function(){return{errorLoading:function(){return"Die resultate kon nie gelaai word nie."},inputTooLong:function(e){var n=e.input.length-e.maximum,r="Verwyders asseblief "+n+" character";return 1!=n&&(r+="s"),r},inputTooShort:function(e){return"Voer asseblief "+(e.minimum-e.input.length)+" of meer karakters"},loadingMore:function(){return"Meer resultate word gelaai…"},maximumSelected:function(e){var n="Kies asseblief net "+e.maximum+" item";return 1!=e.maximum&&(n+="s"),n},noResults:function(){return"Geen resultate gevind"},searching:function(){return"Besig…"},removeAllItems:function(){return"Verwyder alle items"}}}),e.define,e.require}();
|
@@ -1,3 +0,0 @@
|
|
1
|
-
/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2
|
-
|
3
|
-
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ar",[],function(){return{errorLoading:function(){return"لا يمكن تحميل النتائج"},inputTooLong:function(n){return"الرجاء حذف "+(n.input.length-n.maximum)+" عناصر"},inputTooShort:function(n){return"الرجاء إضافة "+(n.minimum-n.input.length)+" عناصر"},loadingMore:function(){return"جاري تحميل نتائج إضافية..."},maximumSelected:function(n){return"تستطيع إختيار "+n.maximum+" بنود فقط"},noResults:function(){return"لم يتم العثور على أي نتائج"},searching:function(){return"جاري البحث…"},removeAllItems:function(){return"قم بإزالة كل العناصر"}}}),n.define,n.require}();
|
@@ -1,3 +0,0 @@
|
|
1
|
-
/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2
|
-
|
3
|
-
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/az",[],function(){return{inputTooLong:function(n){return n.input.length-n.maximum+" simvol silin"},inputTooShort:function(n){return n.minimum-n.input.length+" simvol daxil edin"},loadingMore:function(){return"Daha çox nəticə yüklənir…"},maximumSelected:function(n){return"Sadəcə "+n.maximum+" element seçə bilərsiniz"},noResults:function(){return"Nəticə tapılmadı"},searching:function(){return"Axtarılır…"},removeAllItems:function(){return"Bütün elementləri sil"}}}),n.define,n.require}();
|
@@ -1,3 +0,0 @@
|
|
1
|
-
/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2
|
-
|
3
|
-
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/bg",[],function(){return{inputTooLong:function(n){var e=n.input.length-n.maximum,u="Моля въведете с "+e+" по-малко символ";return e>1&&(u+="a"),u},inputTooShort:function(n){var e=n.minimum-n.input.length,u="Моля въведете още "+e+" символ";return e>1&&(u+="a"),u},loadingMore:function(){return"Зареждат се още…"},maximumSelected:function(n){var e="Можете да направите до "+n.maximum+" ";return n.maximum>1?e+="избора":e+="избор",e},noResults:function(){return"Няма намерени съвпадения"},searching:function(){return"Търсене…"},removeAllItems:function(){return"Премахнете всички елементи"}}}),n.define,n.require}();
|
@@ -1,3 +0,0 @@
|
|
1
|
-
/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2
|
-
|
3
|
-
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/bn",[],function(){return{errorLoading:function(){return"ফলাফলগুলি লোড করা যায়নি।"},inputTooLong:function(n){var e=n.input.length-n.maximum,u="অনুগ্রহ করে "+e+" টি অক্ষর মুছে দিন।";return 1!=e&&(u="অনুগ্রহ করে "+e+" টি অক্ষর মুছে দিন।"),u},inputTooShort:function(n){return n.minimum-n.input.length+" টি অক্ষর অথবা অধিক অক্ষর লিখুন।"},loadingMore:function(){return"আরো ফলাফল লোড হচ্ছে ..."},maximumSelected:function(n){var e=n.maximum+" টি আইটেম নির্বাচন করতে পারবেন।";return 1!=n.maximum&&(e=n.maximum+" টি আইটেম নির্বাচন করতে পারবেন।"),e},noResults:function(){return"কোন ফলাফল পাওয়া যায়নি।"},searching:function(){return"অনুসন্ধান করা হচ্ছে ..."}}}),n.define,n.require}();
|
@@ -1,3 +0,0 @@
|
|
1
|
-
/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2
|
-
|
3
|
-
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/bs",[],function(){function e(e,n,r,t){return e%10==1&&e%100!=11?n:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?r:t}return{errorLoading:function(){return"Preuzimanje nije uspijelo."},inputTooLong:function(n){var r=n.input.length-n.maximum,t="Obrišite "+r+" simbol";return t+=e(r,"","a","a")},inputTooShort:function(n){var r=n.minimum-n.input.length,t="Ukucajte bar još "+r+" simbol";return t+=e(r,"","a","a")},loadingMore:function(){return"Preuzimanje još rezultata…"},maximumSelected:function(n){var r="Možete izabrati samo "+n.maximum+" stavk";return r+=e(n.maximum,"u","e","i")},noResults:function(){return"Ništa nije pronađeno"},searching:function(){return"Pretraga…"},removeAllItems:function(){return"Uklonite sve stavke"}}}),e.define,e.require}();
|
@@ -1,236 +0,0 @@
|
|
1
|
-
|
2
|
-
af.js
|
3
|
-
----------------
|
4
|
-
af.js
|
5
|
-
|
6
|
-
ar.js
|
7
|
-
----------------
|
8
|
-
ar.js
|
9
|
-
|
10
|
-
az.js
|
11
|
-
----------------
|
12
|
-
az.js
|
13
|
-
|
14
|
-
bg.js
|
15
|
-
----------------
|
16
|
-
bg.js
|
17
|
-
|
18
|
-
bn.js
|
19
|
-
----------------
|
20
|
-
bn.js
|
21
|
-
|
22
|
-
bs.js
|
23
|
-
----------------
|
24
|
-
bs.js
|
25
|
-
|
26
|
-
ca.js
|
27
|
-
----------------
|
28
|
-
ca.js
|
29
|
-
|
30
|
-
cs.js
|
31
|
-
----------------
|
32
|
-
cs.js
|
33
|
-
|
34
|
-
da.js
|
35
|
-
----------------
|
36
|
-
da.js
|
37
|
-
|
38
|
-
de.js
|
39
|
-
----------------
|
40
|
-
de.js
|
41
|
-
|
42
|
-
dsb.js
|
43
|
-
----------------
|
44
|
-
dsb.js
|
45
|
-
|
46
|
-
el.js
|
47
|
-
----------------
|
48
|
-
el.js
|
49
|
-
|
50
|
-
en.js
|
51
|
-
----------------
|
52
|
-
en.js
|
53
|
-
|
54
|
-
es.js
|
55
|
-
----------------
|
56
|
-
es.js
|
57
|
-
|
58
|
-
et.js
|
59
|
-
----------------
|
60
|
-
et.js
|
61
|
-
|
62
|
-
eu.js
|
63
|
-
----------------
|
64
|
-
eu.js
|
65
|
-
|
66
|
-
fa.js
|
67
|
-
----------------
|
68
|
-
fa.js
|
69
|
-
|
70
|
-
fi.js
|
71
|
-
----------------
|
72
|
-
fi.js
|
73
|
-
|
74
|
-
fr.js
|
75
|
-
----------------
|
76
|
-
fr.js
|
77
|
-
|
78
|
-
gl.js
|
79
|
-
----------------
|
80
|
-
gl.js
|
81
|
-
|
82
|
-
he.js
|
83
|
-
----------------
|
84
|
-
he.js
|
85
|
-
|
86
|
-
hi.js
|
87
|
-
----------------
|
88
|
-
hi.js
|
89
|
-
|
90
|
-
hr.js
|
91
|
-
----------------
|
92
|
-
hr.js
|
93
|
-
|
94
|
-
hsb.js
|
95
|
-
----------------
|
96
|
-
hsb.js
|
97
|
-
|
98
|
-
hu.js
|
99
|
-
----------------
|
100
|
-
hu.js
|
101
|
-
|
102
|
-
hy.js
|
103
|
-
----------------
|
104
|
-
hy.js
|
105
|
-
|
106
|
-
id.js
|
107
|
-
----------------
|
108
|
-
id.js
|
109
|
-
|
110
|
-
is.js
|
111
|
-
----------------
|
112
|
-
is.js
|
113
|
-
|
114
|
-
it.js
|
115
|
-
----------------
|
116
|
-
it.js
|
117
|
-
|
118
|
-
ja.js
|
119
|
-
----------------
|
120
|
-
ja.js
|
121
|
-
|
122
|
-
ka.js
|
123
|
-
----------------
|
124
|
-
ka.js
|
125
|
-
|
126
|
-
km.js
|
127
|
-
----------------
|
128
|
-
km.js
|
129
|
-
|
130
|
-
ko.js
|
131
|
-
----------------
|
132
|
-
ko.js
|
133
|
-
|
134
|
-
lt.js
|
135
|
-
----------------
|
136
|
-
lt.js
|
137
|
-
|
138
|
-
lv.js
|
139
|
-
----------------
|
140
|
-
lv.js
|
141
|
-
|
142
|
-
mk.js
|
143
|
-
----------------
|
144
|
-
mk.js
|
145
|
-
|
146
|
-
ms.js
|
147
|
-
----------------
|
148
|
-
ms.js
|
149
|
-
|
150
|
-
nb.js
|
151
|
-
----------------
|
152
|
-
nb.js
|
153
|
-
|
154
|
-
ne.js
|
155
|
-
----------------
|
156
|
-
ne.js
|
157
|
-
|
158
|
-
nl.js
|
159
|
-
----------------
|
160
|
-
nl.js
|
161
|
-
|
162
|
-
pl.js
|
163
|
-
----------------
|
164
|
-
pl.js
|
165
|
-
|
166
|
-
ps.js
|
167
|
-
----------------
|
168
|
-
ps.js
|
169
|
-
|
170
|
-
pt-BR.js
|
171
|
-
----------------
|
172
|
-
pt-BR.js
|
173
|
-
|
174
|
-
pt.js
|
175
|
-
----------------
|
176
|
-
pt.js
|
177
|
-
|
178
|
-
ro.js
|
179
|
-
----------------
|
180
|
-
ro.js
|
181
|
-
|
182
|
-
ru.js
|
183
|
-
----------------
|
184
|
-
ru.js
|
185
|
-
|
186
|
-
sk.js
|
187
|
-
----------------
|
188
|
-
sk.js
|
189
|
-
|
190
|
-
sl.js
|
191
|
-
----------------
|
192
|
-
sl.js
|
193
|
-
|
194
|
-
sq.js
|
195
|
-
----------------
|
196
|
-
sq.js
|
197
|
-
|
198
|
-
sr-Cyrl.js
|
199
|
-
----------------
|
200
|
-
sr-Cyrl.js
|
201
|
-
|
202
|
-
sr.js
|
203
|
-
----------------
|
204
|
-
sr.js
|
205
|
-
|
206
|
-
sv.js
|
207
|
-
----------------
|
208
|
-
sv.js
|
209
|
-
|
210
|
-
th.js
|
211
|
-
----------------
|
212
|
-
th.js
|
213
|
-
|
214
|
-
tk.js
|
215
|
-
----------------
|
216
|
-
tk.js
|
217
|
-
|
218
|
-
tr.js
|
219
|
-
----------------
|
220
|
-
tr.js
|
221
|
-
|
222
|
-
uk.js
|
223
|
-
----------------
|
224
|
-
uk.js
|
225
|
-
|
226
|
-
vi.js
|
227
|
-
----------------
|
228
|
-
vi.js
|
229
|
-
|
230
|
-
zh-CN.js
|
231
|
-
----------------
|
232
|
-
zh-CN.js
|
233
|
-
|
234
|
-
zh-TW.js
|
235
|
-
----------------
|
236
|
-
zh-TW.js
|
@@ -1,3 +0,0 @@
|
|
1
|
-
/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2
|
-
|
3
|
-
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/ca",[],function(){return{errorLoading:function(){return"La càrrega ha fallat"},inputTooLong:function(e){var n=e.input.length-e.maximum,r="Si us plau, elimina "+n+" car";return r+=1==n?"àcter":"àcters"},inputTooShort:function(e){var n=e.minimum-e.input.length,r="Si us plau, introdueix "+n+" car";return r+=1==n?"àcter":"àcters"},loadingMore:function(){return"Carregant més resultats…"},maximumSelected:function(e){var n="Només es pot seleccionar "+e.maximum+" element";return 1!=e.maximum&&(n+="s"),n},noResults:function(){return"No s'han trobat resultats"},searching:function(){return"Cercant…"},removeAllItems:function(){return"Treu tots els elements"}}}),e.define,e.require}();
|
@@ -1,3 +0,0 @@
|
|
1
|
-
/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2
|
-
|
3
|
-
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/cs",[],function(){function e(e,n){switch(e){case 2:return n?"dva":"dvě";case 3:return"tři";case 4:return"čtyři"}return""}return{errorLoading:function(){return"Výsledky nemohly být načteny."},inputTooLong:function(n){var t=n.input.length-n.maximum;return 1==t?"Prosím, zadejte o jeden znak méně.":t<=4?"Prosím, zadejte o "+e(t,!0)+" znaky méně.":"Prosím, zadejte o "+t+" znaků méně."},inputTooShort:function(n){var t=n.minimum-n.input.length;return 1==t?"Prosím, zadejte ještě jeden znak.":t<=4?"Prosím, zadejte ještě další "+e(t,!0)+" znaky.":"Prosím, zadejte ještě dalších "+t+" znaků."},loadingMore:function(){return"Načítají se další výsledky…"},maximumSelected:function(n){var t=n.maximum;return 1==t?"Můžete zvolit jen jednu položku.":t<=4?"Můžete zvolit maximálně "+e(t,!1)+" položky.":"Můžete zvolit maximálně "+t+" položek."},noResults:function(){return"Nenalezeny žádné položky."},searching:function(){return"Vyhledávání…"},removeAllItems:function(){return"Odstraňte všechny položky"}}}),e.define,e.require}();
|
@@ -1,3 +0,0 @@
|
|
1
|
-
/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2
|
-
|
3
|
-
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/da",[],function(){return{errorLoading:function(){return"Resultaterne kunne ikke indlæses."},inputTooLong:function(e){return"Angiv venligst "+(e.input.length-e.maximum)+" tegn mindre"},inputTooShort:function(e){return"Angiv venligst "+(e.minimum-e.input.length)+" tegn mere"},loadingMore:function(){return"Indlæser flere resultater…"},maximumSelected:function(e){var n="Du kan kun vælge "+e.maximum+" emne";return 1!=e.maximum&&(n+="r"),n},noResults:function(){return"Ingen resultater fundet"},searching:function(){return"Søger…"},removeAllItems:function(){return"Fjern alle elementer"}}}),e.define,e.require}();
|
@@ -1,3 +0,0 @@
|
|
1
|
-
/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2
|
-
|
3
|
-
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/de",[],function(){return{errorLoading:function(){return"Die Ergebnisse konnten nicht geladen werden."},inputTooLong:function(e){return"Bitte "+(e.input.length-e.maximum)+" Zeichen weniger eingeben"},inputTooShort:function(e){return"Bitte "+(e.minimum-e.input.length)+" Zeichen mehr eingeben"},loadingMore:function(){return"Lade mehr Ergebnisse…"},maximumSelected:function(e){var n="Sie können nur "+e.maximum+" Element";return 1!=e.maximum&&(n+="e"),n+=" auswählen"},noResults:function(){return"Keine Übereinstimmungen gefunden"},searching:function(){return"Suche…"},removeAllItems:function(){return"Entferne alle Elemente"}}}),e.define,e.require}();
|