json_flit 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -0
- data/Gemfile.lock +29 -3
- data/README.md +3 -5
- data/demo/.ruby-version +1 -0
- data/demo/Gemfile +73 -0
- data/demo/Gemfile.lock +218 -0
- data/demo/Procfile.dev +3 -0
- data/demo/README.md +24 -0
- data/demo/Rakefile +6 -0
- data/demo/app/assets/builds/.keep +0 -0
- data/demo/app/assets/fonts/Lato-Regular.ttf +0 -0
- data/demo/app/assets/fonts/MetalMania-Regular.ttf +0 -0
- data/demo/app/assets/images/.keep +0 -0
- data/demo/app/assets/images/image1.jpg +0 -0
- data/demo/app/assets/images/image10.jpg +0 -0
- data/demo/app/assets/images/image11.jpg +0 -0
- data/demo/app/assets/images/image12.jpg +0 -0
- data/demo/app/assets/images/image13.jpg +0 -0
- data/demo/app/assets/images/image14.jpg +0 -0
- data/demo/app/assets/images/image15.jpg +0 -0
- data/demo/app/assets/images/image16.jpg +0 -0
- data/demo/app/assets/images/image17.jpg +0 -0
- data/demo/app/assets/images/image2.jpg +0 -0
- data/demo/app/assets/images/image3.jpg +0 -0
- data/demo/app/assets/images/image4.jpg +0 -0
- data/demo/app/assets/images/image5.jpg +0 -0
- data/demo/app/assets/images/image6.jpg +0 -0
- data/demo/app/assets/images/image7.jpg +0 -0
- data/demo/app/assets/images/image8.jpg +0 -0
- data/demo/app/assets/images/image9.jpg +0 -0
- data/demo/app/assets/images/profile.jpg +0 -0
- data/demo/app/assets/images/visa.svg +1 -0
- data/demo/app/assets/pages/align.json +182 -0
- data/demo/app/assets/pages/animated_align.json +50 -0
- data/demo/app/assets/pages/animated_container.json +56 -0
- data/demo/app/assets/pages/animated_cross_fade.json +63 -0
- data/demo/app/assets/pages/animated_default_text_style.json +53 -0
- data/demo/app/assets/pages/animated_opacity.json +49 -0
- data/demo/app/assets/pages/animated_padding.json +50 -0
- data/demo/app/assets/pages/animated_physical_model.json +73 -0
- data/demo/app/assets/pages/animated_positioned.json +54 -0
- data/demo/app/assets/pages/animated_positioned_directional.json +60 -0
- data/demo/app/assets/pages/animated_size.json +61 -0
- data/demo/app/assets/pages/animated_switcher.json +62 -0
- data/demo/app/assets/pages/animated_theme.json +52 -0
- data/demo/app/assets/pages/aspect_ratio.json +124 -0
- data/demo/app/assets/pages/asset_images.json +667 -0
- data/demo/app/assets/pages/bank_example.json +913 -0
- data/demo/app/assets/pages/baseline.json +81 -0
- data/demo/app/assets/pages/buttons.json +139 -0
- data/demo/app/assets/pages/card.json +121 -0
- data/demo/app/assets/pages/center.json +25 -0
- data/demo/app/assets/pages/checkbox.json +77 -0
- data/demo/app/assets/pages/circular_progress_indicator.json +45 -0
- data/demo/app/assets/pages/clips.json +156 -0
- data/demo/app/assets/pages/conditional.json +197 -0
- data/demo/app/assets/pages/cupertino_switch.yaml +72 -0
- data/demo/app/assets/pages/decorated_box.json +38 -0
- data/demo/app/assets/pages/directionality.json +31 -0
- data/demo/app/assets/pages/dynamic.json +299 -0
- data/demo/app/assets/pages/fitted_box.json +41 -0
- data/demo/app/assets/pages/for_each.json +130 -0
- data/demo/app/assets/pages/form.json +276 -0
- data/demo/app/assets/pages/fractional_translation.json +31 -0
- data/demo/app/assets/pages/fractionally_sized_box.json +34 -0
- data/demo/app/assets/pages/gestures.json +83 -0
- data/demo/app/assets/pages/grid_view.json +217 -0
- data/demo/app/assets/pages/image_page.json +32 -0
- data/demo/app/assets/pages/images.json +89 -0
- data/demo/app/assets/pages/indexed_stack.json +101 -0
- data/demo/app/assets/pages/input_error.json +64 -0
- data/demo/app/assets/pages/interactive_viewer.json +30 -0
- data/demo/app/assets/pages/intrinsic_height.json +63 -0
- data/demo/app/assets/pages/intrinsic_width.json +63 -0
- data/demo/app/assets/pages/issue_10.json +23 -0
- data/demo/app/assets/pages/issue_109.json +65 -0
- data/demo/app/assets/pages/issue_11.json +23 -0
- data/demo/app/assets/pages/issue_12.json +34 -0
- data/demo/app/assets/pages/issue_20_list.json +31 -0
- data/demo/app/assets/pages/issue_20_single.json +31 -0
- data/demo/app/assets/pages/issue_30.json +35 -0
- data/demo/app/assets/pages/layout_builder.json +403 -0
- data/demo/app/assets/pages/length.json +125 -0
- data/demo/app/assets/pages/limited_box.json +33 -0
- data/demo/app/assets/pages/linear_progress_indicator.json +25 -0
- data/demo/app/assets/pages/list_view.json +410 -0
- data/demo/app/assets/pages/measured.json +266 -0
- data/demo/app/assets/pages/offstage.json +50 -0
- data/demo/app/assets/pages/opacity.json +136 -0
- data/demo/app/assets/pages/overflow_box.json +52 -0
- data/demo/app/assets/pages/placeholder.json +57 -0
- data/demo/app/assets/pages/popup_menu_button.json +38 -0
- data/demo/app/assets/pages/radio.json +60 -0
- data/demo/app/assets/pages/rich_text.json +45 -0
- data/demo/app/assets/pages/scroll_view.json +974 -0
- data/demo/app/assets/pages/semantics.json +212 -0
- data/demo/app/assets/pages/set_default_value.json +77 -0
- data/demo/app/assets/pages/simple_page.json +25 -0
- data/demo/app/assets/pages/slivers.json +268 -0
- data/demo/app/assets/pages/switch.json +77 -0
- data/demo/app/assets/pages/theme.json +228 -0
- data/demo/app/assets/pages/tooltip.json +77 -0
- data/demo/app/assets/pages/tween_animation.json +43 -0
- data/demo/app/assets/pages/variables.json +64 -0
- data/demo/app/assets/pages/wrap.json +117 -0
- data/demo/app/assets/stylesheets/application.css +1 -0
- data/demo/app/assets/stylesheets/application.tailwind.css +13 -0
- data/demo/app/assets/widgets/issue_24.json +42 -0
- data/demo/app/channels/application_cable/channel.rb +4 -0
- data/demo/app/channels/application_cable/connection.rb +4 -0
- data/demo/app/controllers/application_controller.rb +2 -0
- data/demo/app/controllers/concerns/.keep +0 -0
- data/demo/app/controllers/welcome_controller.rb +22 -0
- data/demo/app/helpers/application_helper.rb +2 -0
- data/demo/app/helpers/welcome_helper.rb +2 -0
- data/demo/app/javascript/application.js +3 -0
- data/demo/app/javascript/controllers/application.js +9 -0
- data/demo/app/javascript/controllers/hello_controller.js +7 -0
- data/demo/app/javascript/controllers/index.js +8 -0
- data/demo/app/jobs/application_job.rb +7 -0
- data/demo/app/mailers/application_mailer.rb +4 -0
- data/demo/app/models/application_record.rb +3 -0
- data/demo/app/models/concerns/.keep +0 -0
- data/demo/app/views/layouts/application.html.erb +16 -0
- data/demo/app/views/layouts/mailer.html.erb +13 -0
- data/demo/app/views/layouts/mailer.text.erb +1 -0
- data/demo/app/views/welcome/index.html.erb +5 -0
- data/demo/app/views/welcome/show.html.erb +6 -0
- data/demo/bin/bundle +109 -0
- data/demo/bin/dev +8 -0
- data/demo/bin/rails +4 -0
- data/demo/bin/rake +4 -0
- data/demo/bin/setup +33 -0
- data/demo/config/application.rb +37 -0
- data/demo/config/boot.rb +4 -0
- data/demo/config/cable.yml +11 -0
- data/demo/config/credentials.yml.enc +1 -0
- data/demo/config/database.yml +25 -0
- data/demo/config/environment.rb +5 -0
- data/demo/config/environments/development.rb +68 -0
- data/demo/config/environments/production.rb +87 -0
- data/demo/config/environments/test.rb +60 -0
- data/demo/config/initializers/assets.rb +12 -0
- data/demo/config/initializers/content_security_policy.rb +25 -0
- data/demo/config/initializers/filter_parameter_logging.rb +8 -0
- data/demo/config/initializers/inflections.rb +16 -0
- data/demo/config/initializers/permissions_policy.rb +11 -0
- data/demo/config/locales/en.yml +33 -0
- data/demo/config/puma.rb +43 -0
- data/demo/config/routes.rb +5 -0
- data/demo/config/storage.yml +34 -0
- data/demo/config/tailwind.config.js +22 -0
- data/demo/config.ru +6 -0
- data/demo/db/development.sqlite3 +0 -0
- data/demo/db/seeds.rb +7 -0
- data/demo/lib/assets/.keep +0 -0
- data/demo/lib/tasks/.keep +0 -0
- data/demo/log/.keep +0 -0
- data/demo/public/404.html +67 -0
- data/demo/public/422.html +67 -0
- data/demo/public/500.html +66 -0
- data/demo/public/apple-touch-icon-precomposed.png +0 -0
- data/demo/public/apple-touch-icon.png +0 -0
- data/demo/public/favicon.ico +0 -0
- data/demo/public/robots.txt +1 -0
- data/demo/storage/.keep +0 -0
- data/demo/tmp/.keep +0 -0
- data/demo/tmp/pids/.keep +0 -0
- data/demo/tmp/storage/.keep +0 -0
- data/demo/vendor/.keep +0 -0
- data/lib/json_flit/registry.rb +144 -0
- data/lib/json_flit/version.rb +1 -1
- metadata +185 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8b3795cdcd99257b24cbf9870f3c8a8050b74ef92241cb36330593a234b92b8
|
4
|
+
data.tar.gz: 59d9ffb41e0cb8f7c52120c17fe774117ea6976ace721347d301b92647afd96d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00ceceb4e2b7196fc055bb24e9e053ef90a741c2c7d30cfb10cbb21bc533d8d2ceda14a17bfcf88f04d36888565f85157896d4a666747f43c65fd535191b48f5
|
7
|
+
data.tar.gz: e94dbee3f62924d37d1b8470a7447b367f15eba88af965a3ede42674ba82e4d249126cc51ca300e52347b4105feaa0bb7a09a4bff2b7f89caee3f673a1d87900
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,16 +1,35 @@
|
|
1
|
+
GIT
|
2
|
+
remote: https://github.com/afstanton/flit_view_components.git
|
3
|
+
revision: 739dbf1c71fcf3cd31681628be1baf2b20f68e91
|
4
|
+
branch: main
|
5
|
+
specs:
|
6
|
+
flit_view_components (0.0.2)
|
7
|
+
view_component (~> 3.0.0rc3)
|
8
|
+
|
1
9
|
PATH
|
2
10
|
remote: .
|
3
11
|
specs:
|
4
|
-
json_flit (0.0.
|
12
|
+
json_flit (0.0.3)
|
13
|
+
flit_view_components
|
5
14
|
|
6
15
|
GEM
|
7
16
|
remote: https://rubygems.org/
|
8
17
|
specs:
|
18
|
+
activesupport (7.0.4.2)
|
19
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
20
|
+
i18n (>= 1.6, < 2)
|
21
|
+
minitest (>= 5.1)
|
22
|
+
tzinfo (~> 2.0)
|
9
23
|
ast (2.4.2)
|
24
|
+
concurrent-ruby (1.2.2)
|
10
25
|
diff-lcs (1.5.0)
|
26
|
+
i18n (1.12.0)
|
27
|
+
concurrent-ruby (~> 1.0)
|
11
28
|
json (2.6.3)
|
29
|
+
method_source (1.0.0)
|
30
|
+
minitest (5.18.0)
|
12
31
|
parallel (1.22.1)
|
13
|
-
parser (3.2.1.
|
32
|
+
parser (3.2.1.1)
|
14
33
|
ast (~> 2.4.1)
|
15
34
|
rainbow (3.1.1)
|
16
35
|
rake (13.0.6)
|
@@ -29,7 +48,7 @@ GEM
|
|
29
48
|
diff-lcs (>= 1.2.0, < 2.0)
|
30
49
|
rspec-support (~> 3.12.0)
|
31
50
|
rspec-support (3.12.0)
|
32
|
-
rubocop (1.
|
51
|
+
rubocop (1.48.0)
|
33
52
|
json (~> 2.3)
|
34
53
|
parallel (~> 1.10)
|
35
54
|
parser (>= 3.2.0.0)
|
@@ -42,12 +61,19 @@ GEM
|
|
42
61
|
rubocop-ast (1.27.0)
|
43
62
|
parser (>= 3.2.1.0)
|
44
63
|
ruby-progressbar (1.13.0)
|
64
|
+
tzinfo (2.0.6)
|
65
|
+
concurrent-ruby (~> 1.0)
|
45
66
|
unicode-display_width (2.4.2)
|
67
|
+
view_component (3.0.0.rc4)
|
68
|
+
activesupport (>= 5.2.0, < 8.0)
|
69
|
+
concurrent-ruby (~> 1.0)
|
70
|
+
method_source (~> 1.0)
|
46
71
|
|
47
72
|
PLATFORMS
|
48
73
|
arm64-darwin-22
|
49
74
|
|
50
75
|
DEPENDENCIES
|
76
|
+
flit_view_components!
|
51
77
|
json_flit!
|
52
78
|
rake (~> 13.0)
|
53
79
|
rspec (~> 3.0)
|
data/README.md
CHANGED
@@ -6,19 +6,17 @@ Welcome to your new gem! In this directory, you'll find the files you need to be
|
|
6
6
|
|
7
7
|
I need a very flexible way to build layout on a page. I am learning Flutter, and came across [json_dynamic_widget](https://pub.dev/packages/json_dynamic_widget). Between this and [flit_view_components](https://github.com/afstanton/flit_view_components), this is my attempt to recreate that system for Rails.
|
8
8
|
|
9
|
-
|
9
|
+
Almost all files in the associated demo app assets directory are from [json_dynamic_widget](https://github.com/peiffer-innovations/json_dynamic_widget/tree/main/example/assets/pages), used under the MIT License. They are used here to establish feature parity.
|
10
10
|
|
11
11
|
## Installation
|
12
12
|
|
13
|
-
TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
|
14
|
-
|
15
13
|
Install the gem and add to the application's Gemfile by executing:
|
16
14
|
|
17
|
-
$ bundle add
|
15
|
+
$ bundle add json_flit
|
18
16
|
|
19
17
|
If bundler is not being used to manage dependencies, install the gem by executing:
|
20
18
|
|
21
|
-
$ gem install
|
19
|
+
$ gem install json_flit
|
22
20
|
|
23
21
|
## Usage
|
24
22
|
|
data/demo/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby-3.2.1
|
data/demo/Gemfile
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
3
|
+
|
4
|
+
ruby "3.2.1"
|
5
|
+
|
6
|
+
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
|
7
|
+
gem "rails", "~> 7.0.4", ">= 7.0.4.2"
|
8
|
+
|
9
|
+
# The modern asset pipeline for Rails [https://github.com/rails/propshaft]
|
10
|
+
gem "propshaft"
|
11
|
+
|
12
|
+
# Use sqlite3 as the database for Active Record
|
13
|
+
gem "sqlite3", "~> 1.4"
|
14
|
+
|
15
|
+
# Use the Puma web server [https://github.com/puma/puma]
|
16
|
+
gem "puma", "~> 5.0"
|
17
|
+
|
18
|
+
# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
|
19
|
+
gem 'importmap-rails'
|
20
|
+
|
21
|
+
# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
|
22
|
+
gem "turbo-rails"
|
23
|
+
|
24
|
+
# Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
|
25
|
+
gem "stimulus-rails"
|
26
|
+
|
27
|
+
# Use Tailwind CSS [https://github.com/rails/tailwindcss-rails]
|
28
|
+
gem 'tailwindcss-rails'
|
29
|
+
|
30
|
+
# Build JSON APIs with ease [https://github.com/rails/jbuilder]
|
31
|
+
gem "jbuilder"
|
32
|
+
|
33
|
+
# Use Redis adapter to run Action Cable in production
|
34
|
+
gem "redis", "~> 4.0"
|
35
|
+
|
36
|
+
# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis]
|
37
|
+
# gem "kredis"
|
38
|
+
|
39
|
+
# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
|
40
|
+
# gem "bcrypt", "~> 3.1.7"
|
41
|
+
|
42
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
43
|
+
gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ]
|
44
|
+
|
45
|
+
# Reduces boot times through caching; required in config/boot.rb
|
46
|
+
gem "bootsnap", require: false
|
47
|
+
|
48
|
+
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
|
49
|
+
# gem "image_processing", "~> 1.2"
|
50
|
+
|
51
|
+
# The whole point of this demo app is to test this gem
|
52
|
+
gem 'json_flit'
|
53
|
+
gem 'flit_view_components', github: 'afstanton/flit_view_components', branch: 'main'
|
54
|
+
|
55
|
+
# For JSON
|
56
|
+
gem 'multi_json'
|
57
|
+
gem 'oj'
|
58
|
+
|
59
|
+
group :development, :test do
|
60
|
+
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
|
61
|
+
gem "debug", platforms: %i[ mri mingw x64_mingw ]
|
62
|
+
end
|
63
|
+
|
64
|
+
group :development do
|
65
|
+
# Use console on exceptions pages [https://github.com/rails/web-console]
|
66
|
+
gem "web-console"
|
67
|
+
|
68
|
+
# Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
|
69
|
+
# gem "rack-mini-profiler"
|
70
|
+
|
71
|
+
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
|
72
|
+
# gem "spring"
|
73
|
+
end
|
data/demo/Gemfile.lock
ADDED
@@ -0,0 +1,218 @@
|
|
1
|
+
GIT
|
2
|
+
remote: https://github.com/afstanton/flit_view_components.git
|
3
|
+
revision: 739dbf1c71fcf3cd31681628be1baf2b20f68e91
|
4
|
+
branch: main
|
5
|
+
specs:
|
6
|
+
flit_view_components (0.0.2)
|
7
|
+
view_component (~> 3.0.0rc3)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
actioncable (7.0.4.2)
|
13
|
+
actionpack (= 7.0.4.2)
|
14
|
+
activesupport (= 7.0.4.2)
|
15
|
+
nio4r (~> 2.0)
|
16
|
+
websocket-driver (>= 0.6.1)
|
17
|
+
actionmailbox (7.0.4.2)
|
18
|
+
actionpack (= 7.0.4.2)
|
19
|
+
activejob (= 7.0.4.2)
|
20
|
+
activerecord (= 7.0.4.2)
|
21
|
+
activestorage (= 7.0.4.2)
|
22
|
+
activesupport (= 7.0.4.2)
|
23
|
+
mail (>= 2.7.1)
|
24
|
+
net-imap
|
25
|
+
net-pop
|
26
|
+
net-smtp
|
27
|
+
actionmailer (7.0.4.2)
|
28
|
+
actionpack (= 7.0.4.2)
|
29
|
+
actionview (= 7.0.4.2)
|
30
|
+
activejob (= 7.0.4.2)
|
31
|
+
activesupport (= 7.0.4.2)
|
32
|
+
mail (~> 2.5, >= 2.5.4)
|
33
|
+
net-imap
|
34
|
+
net-pop
|
35
|
+
net-smtp
|
36
|
+
rails-dom-testing (~> 2.0)
|
37
|
+
actionpack (7.0.4.2)
|
38
|
+
actionview (= 7.0.4.2)
|
39
|
+
activesupport (= 7.0.4.2)
|
40
|
+
rack (~> 2.0, >= 2.2.0)
|
41
|
+
rack-test (>= 0.6.3)
|
42
|
+
rails-dom-testing (~> 2.0)
|
43
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
44
|
+
actiontext (7.0.4.2)
|
45
|
+
actionpack (= 7.0.4.2)
|
46
|
+
activerecord (= 7.0.4.2)
|
47
|
+
activestorage (= 7.0.4.2)
|
48
|
+
activesupport (= 7.0.4.2)
|
49
|
+
globalid (>= 0.6.0)
|
50
|
+
nokogiri (>= 1.8.5)
|
51
|
+
actionview (7.0.4.2)
|
52
|
+
activesupport (= 7.0.4.2)
|
53
|
+
builder (~> 3.1)
|
54
|
+
erubi (~> 1.4)
|
55
|
+
rails-dom-testing (~> 2.0)
|
56
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
57
|
+
activejob (7.0.4.2)
|
58
|
+
activesupport (= 7.0.4.2)
|
59
|
+
globalid (>= 0.3.6)
|
60
|
+
activemodel (7.0.4.2)
|
61
|
+
activesupport (= 7.0.4.2)
|
62
|
+
activerecord (7.0.4.2)
|
63
|
+
activemodel (= 7.0.4.2)
|
64
|
+
activesupport (= 7.0.4.2)
|
65
|
+
activestorage (7.0.4.2)
|
66
|
+
actionpack (= 7.0.4.2)
|
67
|
+
activejob (= 7.0.4.2)
|
68
|
+
activerecord (= 7.0.4.2)
|
69
|
+
activesupport (= 7.0.4.2)
|
70
|
+
marcel (~> 1.0)
|
71
|
+
mini_mime (>= 1.1.0)
|
72
|
+
activesupport (7.0.4.2)
|
73
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
74
|
+
i18n (>= 1.6, < 2)
|
75
|
+
minitest (>= 5.1)
|
76
|
+
tzinfo (~> 2.0)
|
77
|
+
bindex (0.8.1)
|
78
|
+
bootsnap (1.16.0)
|
79
|
+
msgpack (~> 1.2)
|
80
|
+
builder (3.2.4)
|
81
|
+
concurrent-ruby (1.2.2)
|
82
|
+
crass (1.0.6)
|
83
|
+
date (3.3.3)
|
84
|
+
debug (1.7.1)
|
85
|
+
erubi (1.12.0)
|
86
|
+
globalid (1.1.0)
|
87
|
+
activesupport (>= 5.0)
|
88
|
+
i18n (1.12.0)
|
89
|
+
concurrent-ruby (~> 1.0)
|
90
|
+
importmap-rails (1.1.5)
|
91
|
+
actionpack (>= 6.0.0)
|
92
|
+
railties (>= 6.0.0)
|
93
|
+
jbuilder (2.11.5)
|
94
|
+
actionview (>= 5.0.0)
|
95
|
+
activesupport (>= 5.0.0)
|
96
|
+
json_flit (0.0.2)
|
97
|
+
flit_view_components
|
98
|
+
loofah (2.19.1)
|
99
|
+
crass (~> 1.0.2)
|
100
|
+
nokogiri (>= 1.5.9)
|
101
|
+
mail (2.8.1)
|
102
|
+
mini_mime (>= 0.1.1)
|
103
|
+
net-imap
|
104
|
+
net-pop
|
105
|
+
net-smtp
|
106
|
+
marcel (1.0.2)
|
107
|
+
method_source (1.0.0)
|
108
|
+
mini_mime (1.1.2)
|
109
|
+
minitest (5.18.0)
|
110
|
+
msgpack (1.6.1)
|
111
|
+
multi_json (1.15.0)
|
112
|
+
net-imap (0.3.4)
|
113
|
+
date
|
114
|
+
net-protocol
|
115
|
+
net-pop (0.1.2)
|
116
|
+
net-protocol
|
117
|
+
net-protocol (0.2.1)
|
118
|
+
timeout
|
119
|
+
net-smtp (0.3.3)
|
120
|
+
net-protocol
|
121
|
+
nio4r (2.5.8)
|
122
|
+
nokogiri (1.14.2-arm64-darwin)
|
123
|
+
racc (~> 1.4)
|
124
|
+
oj (3.14.2)
|
125
|
+
propshaft (0.7.0)
|
126
|
+
actionpack (>= 7.0.0)
|
127
|
+
activesupport (>= 7.0.0)
|
128
|
+
rack
|
129
|
+
railties (>= 7.0.0)
|
130
|
+
puma (5.6.5)
|
131
|
+
nio4r (~> 2.0)
|
132
|
+
racc (1.6.2)
|
133
|
+
rack (2.2.6.3)
|
134
|
+
rack-test (2.0.2)
|
135
|
+
rack (>= 1.3)
|
136
|
+
rails (7.0.4.2)
|
137
|
+
actioncable (= 7.0.4.2)
|
138
|
+
actionmailbox (= 7.0.4.2)
|
139
|
+
actionmailer (= 7.0.4.2)
|
140
|
+
actionpack (= 7.0.4.2)
|
141
|
+
actiontext (= 7.0.4.2)
|
142
|
+
actionview (= 7.0.4.2)
|
143
|
+
activejob (= 7.0.4.2)
|
144
|
+
activemodel (= 7.0.4.2)
|
145
|
+
activerecord (= 7.0.4.2)
|
146
|
+
activestorage (= 7.0.4.2)
|
147
|
+
activesupport (= 7.0.4.2)
|
148
|
+
bundler (>= 1.15.0)
|
149
|
+
railties (= 7.0.4.2)
|
150
|
+
rails-dom-testing (2.0.3)
|
151
|
+
activesupport (>= 4.2.0)
|
152
|
+
nokogiri (>= 1.6)
|
153
|
+
rails-html-sanitizer (1.5.0)
|
154
|
+
loofah (~> 2.19, >= 2.19.1)
|
155
|
+
railties (7.0.4.2)
|
156
|
+
actionpack (= 7.0.4.2)
|
157
|
+
activesupport (= 7.0.4.2)
|
158
|
+
method_source
|
159
|
+
rake (>= 12.2)
|
160
|
+
thor (~> 1.0)
|
161
|
+
zeitwerk (~> 2.5)
|
162
|
+
rake (13.0.6)
|
163
|
+
redis (4.8.1)
|
164
|
+
sqlite3 (1.6.1-arm64-darwin)
|
165
|
+
stimulus-rails (1.2.1)
|
166
|
+
railties (>= 6.0.0)
|
167
|
+
tailwindcss-rails (2.0.24-arm64-darwin)
|
168
|
+
railties (>= 6.0.0)
|
169
|
+
thor (1.2.1)
|
170
|
+
timeout (0.3.2)
|
171
|
+
turbo-rails (1.4.0)
|
172
|
+
actionpack (>= 6.0.0)
|
173
|
+
activejob (>= 6.0.0)
|
174
|
+
railties (>= 6.0.0)
|
175
|
+
tzinfo (2.0.6)
|
176
|
+
concurrent-ruby (~> 1.0)
|
177
|
+
view_component (3.0.0.rc4)
|
178
|
+
activesupport (>= 5.2.0, < 8.0)
|
179
|
+
concurrent-ruby (~> 1.0)
|
180
|
+
method_source (~> 1.0)
|
181
|
+
web-console (4.2.0)
|
182
|
+
actionview (>= 6.0.0)
|
183
|
+
activemodel (>= 6.0.0)
|
184
|
+
bindex (>= 0.4.0)
|
185
|
+
railties (>= 6.0.0)
|
186
|
+
websocket-driver (0.7.5)
|
187
|
+
websocket-extensions (>= 0.1.0)
|
188
|
+
websocket-extensions (0.1.5)
|
189
|
+
zeitwerk (2.6.7)
|
190
|
+
|
191
|
+
PLATFORMS
|
192
|
+
arm64-darwin-22
|
193
|
+
|
194
|
+
DEPENDENCIES
|
195
|
+
bootsnap
|
196
|
+
debug
|
197
|
+
flit_view_components!
|
198
|
+
importmap-rails
|
199
|
+
jbuilder
|
200
|
+
json_flit
|
201
|
+
multi_json
|
202
|
+
oj
|
203
|
+
propshaft
|
204
|
+
puma (~> 5.0)
|
205
|
+
rails (~> 7.0.4, >= 7.0.4.2)
|
206
|
+
redis (~> 4.0)
|
207
|
+
sqlite3 (~> 1.4)
|
208
|
+
stimulus-rails
|
209
|
+
tailwindcss-rails
|
210
|
+
turbo-rails
|
211
|
+
tzinfo-data
|
212
|
+
web-console
|
213
|
+
|
214
|
+
RUBY VERSION
|
215
|
+
ruby 3.2.1p31
|
216
|
+
|
217
|
+
BUNDLED WITH
|
218
|
+
2.4.7
|
data/demo/Procfile.dev
ADDED
data/demo/README.md
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# README
|
2
|
+
|
3
|
+
This README would normally document whatever steps are necessary to get the
|
4
|
+
application up and running.
|
5
|
+
|
6
|
+
Things you may want to cover:
|
7
|
+
|
8
|
+
* Ruby version
|
9
|
+
|
10
|
+
* System dependencies
|
11
|
+
|
12
|
+
* Configuration
|
13
|
+
|
14
|
+
* Database creation
|
15
|
+
|
16
|
+
* Database initialization
|
17
|
+
|
18
|
+
* How to run the test suite
|
19
|
+
|
20
|
+
* Services (job queues, cache servers, search engines, etc.)
|
21
|
+
|
22
|
+
* Deployment instructions
|
23
|
+
|
24
|
+
* ...
|
data/demo/Rakefile
ADDED
File without changes
|
Binary file
|
Binary file
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg clip-rule="evenodd" fill-rule="evenodd" viewBox="0 0 560 400" xmlns="http://www.w3.org/2000/svg"><path d="m286.87 176.71c-.228 17.993 16.036 28.034 28.287 34.004 12.588 6.126 16.816 10.054 16.768 15.531-.096 8.384-10.042 12.083-19.35 12.227-16.24.252-25.681-4.384-33.188-7.891l-5.849 27.373c7.531 3.472 21.476 6.499 35.938 6.631 33.944 0 56.152-16.756 56.273-42.736.132-32.971-45.607-34.797-45.295-49.535.108-4.468 4.372-9.237 13.717-10.45 4.624-.612 17.392-1.081 31.866 5.585l5.681-26.484c-7.783-2.835-17.789-5.55-30.244-5.55-31.95 0-54.423 16.984-54.604 41.295m139.44-39.013c-6.198 0-11.423 3.616-13.753 9.165l-48.49 115.777h33.92l6.75-18.654h41.451l3.916 18.654h29.896l-26.089-124.942zm4.744 33.752 9.789 46.916h-26.809zm-185.31-33.752-26.737 124.942h32.322l26.725-124.942zm-47.817 0-33.644 85.04-13.609-72.308c-1.597-8.071-7.903-12.732-14.906-12.732h-54.999l-.769 3.628c11.291 2.45 24.119 6.402 31.89 10.63 4.756 2.582 6.114 4.84 7.675 10.978l25.776 99.706h34.161l52.369-124.942z" fill="#1a1f71"/></svg>
|
@@ -0,0 +1,182 @@
|
|
1
|
+
{
|
2
|
+
"type": "scaffold",
|
3
|
+
"args": {
|
4
|
+
"appBar": {
|
5
|
+
"type": "app_bar",
|
6
|
+
"args": {
|
7
|
+
"title": {
|
8
|
+
"type": "text",
|
9
|
+
"args": {
|
10
|
+
"text": "Align"
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
14
|
+
},
|
15
|
+
"body": {
|
16
|
+
"type": "stack",
|
17
|
+
"children": [{
|
18
|
+
"type": "align",
|
19
|
+
"args": {
|
20
|
+
"alignment": "topLeft"
|
21
|
+
},
|
22
|
+
"child": {
|
23
|
+
"type": "container",
|
24
|
+
"args": {
|
25
|
+
"color": "#ffcdd2",
|
26
|
+
"padding": 16
|
27
|
+
},
|
28
|
+
"child": {
|
29
|
+
"type": "text",
|
30
|
+
"args": {
|
31
|
+
"text": "topLeft"
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}, {
|
36
|
+
"type": "align",
|
37
|
+
"args": {
|
38
|
+
"alignment": "topCenter"
|
39
|
+
},
|
40
|
+
"child": {
|
41
|
+
"type": "container",
|
42
|
+
"args": {
|
43
|
+
"color": "#E1BEE7",
|
44
|
+
"padding": 16
|
45
|
+
},
|
46
|
+
"child": {
|
47
|
+
"type": "text",
|
48
|
+
"args": {
|
49
|
+
"text": "topCenter"
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}, {
|
54
|
+
"type": "align",
|
55
|
+
"args": {
|
56
|
+
"alignment": "topRight"
|
57
|
+
},
|
58
|
+
"child": {
|
59
|
+
"type": "container",
|
60
|
+
"args": {
|
61
|
+
"color": "#F8BBD0",
|
62
|
+
"padding": 16
|
63
|
+
},
|
64
|
+
"child": {
|
65
|
+
"type": "text",
|
66
|
+
"args": {
|
67
|
+
"text": "topRight"
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}, {
|
72
|
+
"type": "align",
|
73
|
+
"args": {
|
74
|
+
"alignment": "centerLeft"
|
75
|
+
},
|
76
|
+
"child": {
|
77
|
+
"type": "container",
|
78
|
+
"args": {
|
79
|
+
"color": "#D1C4E9",
|
80
|
+
"padding": 16
|
81
|
+
},
|
82
|
+
"child": {
|
83
|
+
"type": "text",
|
84
|
+
"args": {
|
85
|
+
"text": "centerLeft"
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}, {
|
90
|
+
"type": "align",
|
91
|
+
"args": {
|
92
|
+
"alignment": "center"
|
93
|
+
},
|
94
|
+
"child": {
|
95
|
+
"type": "container",
|
96
|
+
"args": {
|
97
|
+
"color": "#C5CAE9",
|
98
|
+
"padding": 16
|
99
|
+
},
|
100
|
+
"child": {
|
101
|
+
"type": "text",
|
102
|
+
"args": {
|
103
|
+
"text": "center"
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}, {
|
108
|
+
"type": "align",
|
109
|
+
"args": {
|
110
|
+
"alignment": "centerRight"
|
111
|
+
},
|
112
|
+
"child": {
|
113
|
+
"type": "container",
|
114
|
+
"args": {
|
115
|
+
"color": "#BBDEFB",
|
116
|
+
"padding": 16
|
117
|
+
},
|
118
|
+
"child": {
|
119
|
+
"type": "text",
|
120
|
+
"args": {
|
121
|
+
"text": "centerRight"
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}, {
|
126
|
+
"type": "align",
|
127
|
+
"args": {
|
128
|
+
"alignment": "bottomLeft"
|
129
|
+
},
|
130
|
+
"child": {
|
131
|
+
"type": "container",
|
132
|
+
"args": {
|
133
|
+
"color": "#B3E5FC",
|
134
|
+
"padding": 16
|
135
|
+
},
|
136
|
+
"child": {
|
137
|
+
"type": "text",
|
138
|
+
"args": {
|
139
|
+
"text": "bottomLeft"
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}, {
|
144
|
+
"type": "align",
|
145
|
+
"args": {
|
146
|
+
"alignment": "bottomCenter"
|
147
|
+
},
|
148
|
+
"child": {
|
149
|
+
"type": "container",
|
150
|
+
"args": {
|
151
|
+
"color": "#B2EBF2",
|
152
|
+
"padding": 16
|
153
|
+
},
|
154
|
+
"child": {
|
155
|
+
"type": "text",
|
156
|
+
"args": {
|
157
|
+
"text": "bottomCenter"
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}, {
|
162
|
+
"type": "align",
|
163
|
+
"args": {
|
164
|
+
"alignment": "bottomRight"
|
165
|
+
},
|
166
|
+
"child": {
|
167
|
+
"type": "container",
|
168
|
+
"args": {
|
169
|
+
"color": "#B2DFDB",
|
170
|
+
"padding": 16
|
171
|
+
},
|
172
|
+
"child": {
|
173
|
+
"type": "text",
|
174
|
+
"args": {
|
175
|
+
"text": "bottomRight"
|
176
|
+
}
|
177
|
+
}
|
178
|
+
}
|
179
|
+
}]
|
180
|
+
}
|
181
|
+
}
|
182
|
+
}
|