uchi 0.1.6 → 0.1.8
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 +4 -4
- data/README.md +7 -0
- data/app/assets/javascripts/controllers/fields/belongs_to_controller.js +130 -0
- data/app/assets/javascripts/controllers/fields/has_many_controller.js +146 -0
- data/app/assets/javascripts/uchi/application.js +804 -3
- data/app/assets/javascripts/uchi.js +9 -0
- data/app/assets/stylesheets/uchi/application.css +81 -1549
- data/app/assets/tailwind/uchi.css +2 -2
- data/app/components/uchi/field/belongs_to/edit.html.erb +73 -1
- data/app/components/uchi/field/belongs_to.rb +60 -26
- data/app/components/uchi/field/has_and_belongs_to_many/show.html.erb +1 -1
- data/app/components/uchi/field/has_many/edit.html.erb +86 -1
- data/app/components/uchi/field/has_many/show.html.erb +1 -1
- data/app/components/uchi/field/has_many.rb +59 -11
- data/app/components/uchi/flowbite/button.rb +1 -1
- data/app/components/uchi/flowbite/input/field.rb +6 -0
- data/app/components/uchi/flowbite/input/label.rb +2 -0
- data/app/components/uchi/flowbite/input_field.rb +11 -1
- data/app/components/uchi/flowbite/styles.rb +34 -0
- data/app/components/uchi/ui/actions/dropdown/dropdown.html.erb +1 -1
- data/app/components/uchi/ui/navigation/navigation.html.erb +1 -1
- data/app/components/uchi/ui/page_header/page_header.html.erb +7 -7
- data/app/controllers/uchi/belongs_to/associated_records_controller.rb +89 -0
- data/app/controllers/uchi/has_many/associated_records_controller.rb +89 -0
- data/app/controllers/uchi/repository_controller.rb +24 -8
- data/app/views/layouts/uchi/_javascript.html.erb +1 -0
- data/app/views/layouts/uchi/_stylesheets.html.erb +1 -0
- data/app/views/layouts/uchi/application.html.erb +5 -5
- data/app/views/uchi/belongs_to/associated_records/index.html.erb +13 -0
- data/app/views/uchi/has_many/associated_records/index.html.erb +26 -0
- data/app/views/uchi/navigation/_main.html.erb +83 -0
- data/app/views/uchi/repository/new.html.erb +2 -2
- data/lib/generators/uchi/controller/controller_generator.rb +0 -4
- data/lib/generators/uchi/install/install_generator.rb +1 -1
- data/lib/uchi/field/configuration.rb +2 -2
- data/lib/uchi/field.rb +11 -0
- data/lib/uchi/plugins.rb +21 -0
- data/lib/uchi/repository/routes.rb +9 -5
- data/lib/uchi/repository.rb +43 -5
- data/lib/uchi/routes.rb +67 -0
- data/lib/uchi/version.rb +1 -1
- data/lib/uchi.rb +9 -1
- metadata +12 -1
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: uchi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jakob Skjerning
|
|
@@ -63,6 +63,8 @@ extra_rdoc_files: []
|
|
|
63
63
|
files:
|
|
64
64
|
- README.md
|
|
65
65
|
- app/assets/config/uchi_manifest.js
|
|
66
|
+
- app/assets/javascripts/controllers/fields/belongs_to_controller.js
|
|
67
|
+
- app/assets/javascripts/controllers/fields/has_many_controller.js
|
|
66
68
|
- app/assets/javascripts/uchi.js
|
|
67
69
|
- app/assets/javascripts/uchi/application.js
|
|
68
70
|
- app/assets/stylesheets/uchi/application.css
|
|
@@ -167,6 +169,7 @@ files:
|
|
|
167
169
|
- app/components/uchi/flowbite/input_field/url.rb
|
|
168
170
|
- app/components/uchi/flowbite/link.rb
|
|
169
171
|
- app/components/uchi/flowbite/style.rb
|
|
172
|
+
- app/components/uchi/flowbite/styles.rb
|
|
170
173
|
- app/components/uchi/flowbite/toast.rb
|
|
171
174
|
- app/components/uchi/flowbite/toast/icon.html.erb
|
|
172
175
|
- app/components/uchi/flowbite/toast/icon.rb
|
|
@@ -211,13 +214,19 @@ files:
|
|
|
211
214
|
- app/components/uchi/ui/spinner/spinner.html.erb
|
|
212
215
|
- app/controllers/uchi/actions/executions_controller.rb
|
|
213
216
|
- app/controllers/uchi/application_controller.rb
|
|
217
|
+
- app/controllers/uchi/belongs_to/associated_records_controller.rb
|
|
214
218
|
- app/controllers/uchi/controller.rb
|
|
219
|
+
- app/controllers/uchi/has_many/associated_records_controller.rb
|
|
215
220
|
- app/controllers/uchi/repository_controller.rb
|
|
216
221
|
- app/helpers/uchi/application_helper.rb
|
|
217
222
|
- app/jobs/uchi/application_job.rb
|
|
218
223
|
- app/mailers/uchi/application_mailer.rb
|
|
219
224
|
- app/views/layouts/uchi/_flash_messages.html.erb
|
|
225
|
+
- app/views/layouts/uchi/_javascript.html.erb
|
|
226
|
+
- app/views/layouts/uchi/_stylesheets.html.erb
|
|
220
227
|
- app/views/layouts/uchi/application.html.erb
|
|
228
|
+
- app/views/uchi/belongs_to/associated_records/index.html.erb
|
|
229
|
+
- app/views/uchi/has_many/associated_records/index.html.erb
|
|
221
230
|
- app/views/uchi/navigation/_main.html.erb
|
|
222
231
|
- app/views/uchi/repository/edit.html.erb
|
|
223
232
|
- app/views/uchi/repository/index.html.erb
|
|
@@ -254,9 +263,11 @@ files:
|
|
|
254
263
|
- lib/uchi/pagy/toolbox/helpers/page_url.rb
|
|
255
264
|
- lib/uchi/pagy/toolbox/paginators/method.rb
|
|
256
265
|
- lib/uchi/pagy/toolbox/paginators/offset.rb
|
|
266
|
+
- lib/uchi/plugins.rb
|
|
257
267
|
- lib/uchi/repository.rb
|
|
258
268
|
- lib/uchi/repository/routes.rb
|
|
259
269
|
- lib/uchi/repository/translate.rb
|
|
270
|
+
- lib/uchi/routes.rb
|
|
260
271
|
- lib/uchi/sort_order.rb
|
|
261
272
|
- lib/uchi/version.rb
|
|
262
273
|
- uchi.gemspec
|