trestle 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/Gemfile +2 -2
- data/app/assets/bundle/trestle/bundle.css +0 -0
- data/app/assets/bundle/trestle/bundle.js +0 -0
- data/app/assets/bundle/trestle/fa-brands-400.eot +0 -0
- data/app/assets/bundle/trestle/fa-brands-400.svg +0 -0
- data/app/assets/bundle/trestle/fa-brands-400.ttf +0 -0
- data/app/assets/bundle/trestle/fa-brands-400.woff +0 -0
- data/app/assets/bundle/trestle/fa-brands-400.woff2 +0 -0
- data/app/assets/bundle/trestle/fa-regular-400.eot +0 -0
- data/app/assets/bundle/trestle/fa-regular-400.svg +0 -0
- data/app/assets/bundle/trestle/fa-regular-400.ttf +0 -0
- data/app/assets/bundle/trestle/fa-regular-400.woff +0 -0
- data/app/assets/bundle/trestle/fa-regular-400.woff2 +0 -0
- data/app/assets/bundle/trestle/fa-solid-900.eot +0 -0
- data/app/assets/bundle/trestle/fa-solid-900.svg +0 -0
- data/app/assets/bundle/trestle/fa-solid-900.ttf +0 -0
- data/app/assets/bundle/trestle/fa-solid-900.woff +0 -0
- data/app/assets/bundle/trestle/fa-solid-900.woff2 +0 -0
- data/app/assets/bundle/trestle/flatpickr/ar.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/at.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/az.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/be.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/bg.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/bn.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/bs.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/cat.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/cs.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/cy.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/da.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/de.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/default.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/eo.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/es.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/et.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/fa.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/fi.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/fo.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/fr.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/ga.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/gr.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/he.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/hi.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/hr.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/hu.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/id.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/is.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/it.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/ja.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/ka.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/km.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/ko.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/kz.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/lt.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/lv.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/mk.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/mn.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/my.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/nl.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/no.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/pa.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/pl.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/pt.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/ro.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/ru.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/si.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/sk.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/sl.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/sq.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/sr-cyr.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/sr.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/sv.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/th.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/tr.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/uk.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/uz.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/uz_latn.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/vn.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/zh-tw.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/zh.js +0 -0
- data/app/helpers/trestle/hook_helper.rb +1 -27
- data/app/helpers/trestle/table_helper.rb +15 -0
- data/app/views/trestle/resource/index.html.erb +1 -1
- data/app/views/trestle/table/_pagination.html.erb +1 -1
- data/config/locales/vi.rb +18 -0
- data/config/locales/vi.yml +101 -0
- data/frontend/css/components/_scopes.scss +2 -0
- data/frontend/css/components/_table.scss +4 -0
- data/frontend/js/components/pagination.js +51 -0
- data/frontend/js/index.js +1 -0
- data/lib/trestle/admin.rb +12 -2
- data/lib/trestle/engine.rb +3 -6
- data/lib/trestle/form/field.rb +19 -12
- data/lib/trestle/form/fields/collection_select.rb +1 -1
- data/lib/trestle/form/fields/date_picker.rb +9 -3
- data/lib/trestle/form/fields/file_field.rb +1 -1
- data/lib/trestle/form/fields/form_group.rb +13 -2
- data/lib/trestle/form/fields/grouped_collection_select.rb +1 -1
- data/lib/trestle/form/fields/range_field.rb +2 -4
- data/lib/trestle/form/fields/select.rb +2 -3
- data/lib/trestle/form/fields/static_field.rb +2 -2
- data/lib/trestle/form/fields/tag_select.rb +1 -1
- data/lib/trestle/form/fields/time_zone_select.rb +1 -1
- data/lib/trestle/form/renderer.rb +5 -3
- data/lib/trestle/hook.rb +3 -29
- data/lib/trestle/hook/helpers.rb +33 -0
- data/lib/trestle/hook/set.rb +32 -0
- data/lib/trestle/reloader.rb +25 -5
- data/lib/trestle/resource.rb +4 -3
- data/lib/trestle/scopes.rb +5 -4
- data/lib/trestle/scopes/block.rb +9 -8
- data/lib/trestle/scopes/scope.rb +1 -1
- data/lib/trestle/version.rb +1 -1
- data/package.json +8 -8
- data/yarn.lock +1360 -1452
- metadata +12 -5
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trestle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Pohlenz
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -270,6 +270,8 @@ files:
|
|
270
270
|
- app/assets/bundle/trestle/flatpickr/th.js
|
271
271
|
- app/assets/bundle/trestle/flatpickr/tr.js
|
272
272
|
- app/assets/bundle/trestle/flatpickr/uk.js
|
273
|
+
- app/assets/bundle/trestle/flatpickr/uz.js
|
274
|
+
- app/assets/bundle/trestle/flatpickr/uz_latn.js
|
273
275
|
- app/assets/bundle/trestle/flatpickr/vn.js
|
274
276
|
- app/assets/bundle/trestle/flatpickr/zh-tw.js
|
275
277
|
- app/assets/bundle/trestle/flatpickr/zh.js
|
@@ -368,6 +370,8 @@ files:
|
|
368
370
|
- config/locales/pl.yml
|
369
371
|
- config/locales/pt-BR.rb
|
370
372
|
- config/locales/pt-BR.yml
|
373
|
+
- config/locales/vi.rb
|
374
|
+
- config/locales/vi.yml
|
371
375
|
- config/locales/zh-CN.rb
|
372
376
|
- config/locales/zh-CN.yml
|
373
377
|
- config/routes.rb
|
@@ -419,6 +423,7 @@ files:
|
|
419
423
|
- frontend/js/components/file.js
|
420
424
|
- frontend/js/components/form.js
|
421
425
|
- frontend/js/components/gallery.js
|
426
|
+
- frontend/js/components/pagination.js
|
422
427
|
- frontend/js/components/select.js
|
423
428
|
- frontend/js/components/sidebar.js
|
424
429
|
- frontend/js/components/table.js
|
@@ -529,6 +534,8 @@ files:
|
|
529
534
|
- lib/trestle/form/fields/week_field.rb
|
530
535
|
- lib/trestle/form/renderer.rb
|
531
536
|
- lib/trestle/hook.rb
|
537
|
+
- lib/trestle/hook/helpers.rb
|
538
|
+
- lib/trestle/hook/set.rb
|
532
539
|
- lib/trestle/model_name.rb
|
533
540
|
- lib/trestle/navigation.rb
|
534
541
|
- lib/trestle/navigation/block.rb
|
@@ -566,7 +573,7 @@ homepage: https://www.trestle.io
|
|
566
573
|
licenses:
|
567
574
|
- LGPL-3.0
|
568
575
|
metadata: {}
|
569
|
-
post_install_message:
|
576
|
+
post_install_message:
|
570
577
|
rdoc_options: []
|
571
578
|
require_paths:
|
572
579
|
- lib
|
@@ -582,7 +589,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
582
589
|
version: '0'
|
583
590
|
requirements: []
|
584
591
|
rubygems_version: 3.0.8
|
585
|
-
signing_key:
|
592
|
+
signing_key:
|
586
593
|
specification_version: 4
|
587
594
|
summary: A modern, responsive admin framework for Ruby on Rails
|
588
595
|
test_files: []
|