tybo 0.0.1 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +23 -0
  4. data/Rakefile +8 -0
  5. data/app/assets/config/tybo_manifest.js +1 -0
  6. data/app/assets/stylesheets/tybo/application.css +15 -0
  7. data/{lib/app → app}/components/attachment_card_component.html.erb +0 -0
  8. data/{lib/app → app}/components/attachment_card_component.rb +0 -0
  9. data/{lib/app → app}/components/attachments_list_component.html.erb +0 -0
  10. data/{lib/app → app}/components/attachments_list_component.rb +0 -0
  11. data/{lib/app → app}/components/current_user_mini_card_component.html.erb +2 -2
  12. data/{lib/app → app}/components/current_user_mini_card_component.rb +0 -0
  13. data/{lib/app → app}/components/form_component.html.erb +1 -1
  14. data/{lib/app → app}/components/form_component.rb +0 -0
  15. data/{lib/app → app}/components/forms/breadcrumb_component.html.erb +0 -0
  16. data/{lib/app → app}/components/forms/breadcrumb_component.rb +0 -0
  17. data/{lib/app → app}/components/forms/delete_button_component.html.erb +0 -0
  18. data/{lib/app → app}/components/forms/delete_button_component.rb +0 -0
  19. data/{lib/app → app}/components/forms/divider_component.html.erb +0 -0
  20. data/{lib/app → app}/components/forms/divider_component.rb +0 -0
  21. data/{lib/app → app}/components/forms/submit_button_component.html.erb +0 -0
  22. data/{lib/app → app}/components/forms/submit_button_component.rb +0 -0
  23. data/app/components/forms/subtitle_component.html.erb +5 -0
  24. data/{lib/app → app}/components/forms/subtitle_component.rb +0 -0
  25. data/{lib/app → app}/components/forms/title_component.html.erb +0 -0
  26. data/{lib/app → app}/components/forms/title_component.rb +0 -0
  27. data/{lib/app → app}/components/icons/collection_component.html.erb +0 -0
  28. data/{lib/app → app}/components/icons/collection_component.rb +0 -0
  29. data/{lib/app → app}/components/icons/home_component.html.erb +0 -0
  30. data/{lib/app → app}/components/icons/home_component.rb +0 -0
  31. data/{lib/app → app}/components/icons/mic_component.html.erb +0 -0
  32. data/{lib/app → app}/components/icons/mic_component.rb +0 -0
  33. data/{lib/app → app}/components/icons/news_paper_component.html.erb +0 -0
  34. data/{lib/app → app}/components/icons/news_paper_component.rb +0 -0
  35. data/{lib/app → app}/components/icons/office_building_component.html.erb +0 -0
  36. data/{lib/app → app}/components/icons/office_building_component.rb +0 -0
  37. data/{lib/app → app}/components/icons/question_mark_circle_component.html.erb +0 -0
  38. data/{lib/app → app}/components/icons/question_mark_circle_component.rb +0 -0
  39. data/{lib/app → app}/components/icons/trash_component.html.erb +0 -0
  40. data/{lib/app → app}/components/icons/trash_component.rb +0 -0
  41. data/{lib/app → app}/components/icons/users_component.html.erb +0 -0
  42. data/{lib/app → app}/components/icons/users_component.rb +0 -0
  43. data/{lib/app → app}/components/index_component.html.erb +0 -0
  44. data/{lib/app → app}/components/index_component.rb +0 -0
  45. data/app/components/index_header_add_component.html.erb +3 -0
  46. data/{lib/app → app}/components/index_header_add_component.rb +0 -0
  47. data/{lib/app → app}/components/index_header_component.html.erb +0 -0
  48. data/{lib/app → app}/components/index_header_component.rb +0 -0
  49. data/{lib/app → app}/components/input/file_component.html.erb +0 -0
  50. data/{lib/app → app}/components/input/file_component.rb +0 -0
  51. data/{lib/app → app}/components/sidebar_component.html.erb +2 -2
  52. data/{lib/app → app}/components/sidebar_component.rb +0 -0
  53. data/{lib/app → app}/components/sidebar_item_component.html.erb +0 -0
  54. data/{lib/app → app}/components/sidebar_item_component.rb +0 -0
  55. data/{lib/app → app}/components/sign_out_button_component.html.erb +1 -1
  56. data/{lib/app → app}/components/sign_out_button_component.rb +3 -0
  57. data/app/components/tables/active_record_th_component.html.erb +3 -0
  58. data/app/components/tables/active_record_th_component.rb +18 -0
  59. data/{lib/app → app}/components/tables/table_component.html.erb +0 -0
  60. data/{lib/app → app}/components/tables/table_component.rb +0 -0
  61. data/{lib/app → app}/components/tables/tbody_component.html.erb +0 -0
  62. data/{lib/app → app}/components/tables/tbody_component.rb +0 -0
  63. data/{lib/app → app}/components/tables/td_component.html.erb +1 -1
  64. data/{lib/app → app}/components/tables/td_component.rb +0 -0
  65. data/{lib/app → app}/components/tables/th_component.html.erb +0 -0
  66. data/{lib/app → app}/components/tables/th_component.rb +0 -0
  67. data/{lib/app → app}/components/tables/thead_component.html.erb +3 -0
  68. data/{lib/app → app}/components/tables/thead_component.rb +1 -0
  69. data/{lib/app → app}/components/tables/tr_component.html.erb +0 -0
  70. data/{lib/app → app}/components/tables/tr_component.rb +0 -0
  71. data/app/controllers/tybo/application_controller.rb +4 -0
  72. data/app/controllers/tybo/login_controller.rb +8 -0
  73. data/app/helpers/tybo/application_helper.rb +5 -0
  74. data/app/helpers/tybo/flash_helper.rb +12 -0
  75. data/app/jobs/tybo/application_job.rb +4 -0
  76. data/app/mailers/tybo/application_mailer.rb +6 -0
  77. data/app/models/tybo/application_record.rb +5 -0
  78. data/app/views/devise/confirmations/new.html.erb +20 -0
  79. data/app/views/devise/login/home.html.erb +20 -0
  80. data/app/views/devise/mailer/_reset_password_instructions.html.erb +8 -0
  81. data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
  82. data/app/views/devise/mailer/email_changed.html.erb +7 -0
  83. data/app/views/devise/mailer/password_change.html.erb +3 -0
  84. data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
  85. data/app/views/devise/passwords/edit.html.erb +36 -0
  86. data/app/views/devise/passwords/new.html.erb +34 -0
  87. data/app/views/devise/registrations/edit.html.erb +35 -0
  88. data/app/views/devise/registrations/new.html.erb +25 -0
  89. data/app/views/devise/sessions/new.html.erb +50 -0
  90. data/app/views/devise/shared/_devise_errors.html.erb +26 -0
  91. data/app/views/devise/shared/_error_messages.html.erb +15 -0
  92. data/app/views/devise/shared/_links.html.erb +65 -0
  93. data/app/views/devise/unlocks/new.html.erb +19 -0
  94. data/app/views/layouts/_errors.html.erb +22 -0
  95. data/app/views/layouts/_flash.html.erb +24 -0
  96. data/app/views/layouts/devise_admin.html.erb +16 -0
  97. data/app/views/layouts/tybo/application.html.erb +14 -0
  98. data/app/views/login/home.html.erb +19 -0
  99. data/app/views/shared/_pagination.html.erb +36 -0
  100. data/config/initializers/devise.rb +311 -0
  101. data/config/initializers/pagy.rb +246 -0
  102. data/config/initializers/ransack.rb +13 -0
  103. data/config/locales/devise.en.yml +65 -0
  104. data/config/routes.rb +3 -0
  105. data/lib/generators/bo/USAGE +12 -0
  106. data/lib/generators/bo/bo_generator.rb +88 -0
  107. data/lib/generators/bo/templates/_form.html.erb +32 -0
  108. data/lib/generators/bo/templates/_search_bar.html.erb +96 -0
  109. data/lib/generators/bo/templates/_table.html.erb +29 -0
  110. data/lib/generators/bo/templates/controller.rb +66 -0
  111. data/lib/generators/bo/templates/index.html.erb +19 -0
  112. data/lib/generators/bo/templates/item.html.erb +17 -0
  113. data/lib/generators/bo/templates/new.html.erb +1 -0
  114. data/lib/generators/bo/templates/show.html.erb +1 -0
  115. data/lib/generators/bo/utils/files/fr.json +19 -0
  116. data/lib/generators/bo/utils/translations.rb +47 -0
  117. data/lib/generators/bo_namespace/USAGE +11 -0
  118. data/lib/generators/bo_namespace/bo_namespace_generator.rb +50 -0
  119. data/lib/generators/bo_namespace/templates/admin.html.erb +27 -0
  120. data/lib/generators/bo_namespace/templates/admin_controller.rb +7 -0
  121. data/lib/generators/bo_namespace/templates/seeds.rb +9 -0
  122. data/lib/generators/bo_namespace/templates/side_bar.html.erb +4 -0
  123. data/lib/generators/tybo_install/templates/application.tailwind.css +112 -0
  124. data/lib/generators/tybo_install/templates/simple_form_tailwind.rb +147 -0
  125. data/lib/generators/tybo_install/templates/tailwind.config.js +40 -0
  126. data/lib/generators/tybo_install/templates/tom-select.css +458 -0
  127. data/lib/generators/tybo_install/tybo_install_generator.rb +44 -0
  128. data/lib/tybo/engine.rb +19 -0
  129. data/lib/tybo/version.rb +3 -0
  130. data/lib/tybo.rb +4 -43
  131. metadata +186 -89
  132. data/lib/app/components/forms/subtitle_component.html.erb +0 -5
  133. data/lib/app/components/index_header_add_component.html.erb +0 -3
  134. data/lib/app/helpers/application_helper.rb +0 -5
  135. data/lib/app/helpers/flash_helper.rb +0 -16
  136. data/lib/app/javascript/controllers/flash_controller.js +0 -7
metadata CHANGED
@@ -1,162 +1,259 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tybo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
- - Julien Camblan
8
7
  - Michel Delpierre
8
+ - Julien Camblan
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-12-06 00:00:00.000000000 Z
12
+ date: 2023-02-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: turbo-rails
15
+ name: rails
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 1.1.1
20
+ version: 7.0.4.1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: 1.1.1
27
+ version: 7.0.4.1
28
28
  - !ruby/object:Gem::Dependency
29
- name: stimulus-rails
29
+ name: puma
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: 1.1.0
35
- type: :runtime
34
+ version: '0'
35
+ type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: 1.1.0
41
+ version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: view_component
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '2.82'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '2.82'
56
+ - !ruby/object:Gem::Dependency
57
+ name: ransack
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '3.2'
46
63
  - - ">="
47
64
  - !ruby/object:Gem::Version
48
- version: 2.62.0
65
+ version: 3.2.1
49
66
  type: :runtime
50
67
  prerelease: false
51
68
  version_requirements: !ruby/object:Gem::Requirement
52
69
  requirements:
70
+ - - "~>"
71
+ - !ruby/object:Gem::Version
72
+ version: '3.2'
53
73
  - - ">="
54
74
  - !ruby/object:Gem::Version
55
- version: 2.62.0
75
+ version: 3.2.1
56
76
  - !ruby/object:Gem::Dependency
57
- name: tailwindcss-rails
77
+ name: pagy
58
78
  requirement: !ruby/object:Gem::Requirement
59
79
  requirements:
60
80
  - - "~>"
61
81
  - !ruby/object:Gem::Version
62
- version: '2.0'
82
+ version: '6.0'
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: 6.0.1
63
86
  type: :runtime
64
87
  prerelease: false
65
88
  version_requirements: !ruby/object:Gem::Requirement
66
89
  requirements:
67
90
  - - "~>"
68
91
  - !ruby/object:Gem::Version
69
- version: '2.0'
92
+ version: '6.0'
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: 6.0.1
70
96
  - !ruby/object:Gem::Dependency
71
- name: ransack
97
+ name: devise
72
98
  requirement: !ruby/object:Gem::Requirement
73
99
  requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '4.8'
74
103
  - - ">="
75
104
  - !ruby/object:Gem::Version
76
- version: '0'
105
+ version: 4.8.1
77
106
  type: :runtime
78
107
  prerelease: false
79
108
  version_requirements: !ruby/object:Gem::Requirement
80
109
  requirements:
110
+ - - "~>"
111
+ - !ruby/object:Gem::Version
112
+ version: '4.8'
81
113
  - - ">="
82
114
  - !ruby/object:Gem::Version
83
- version: '0'
84
- description: Collection of ViewComponents objects for backoffice
85
- email: tech@tymate.com
115
+ version: 4.8.1
116
+ description: Custom admin engine for Ruby on Rails working with generators
117
+ email:
118
+ - tech@tymate.com
86
119
  executables: []
87
120
  extensions: []
88
121
  extra_rdoc_files: []
89
122
  files:
90
- - lib/app/components/attachment_card_component.html.erb
91
- - lib/app/components/attachment_card_component.rb
92
- - lib/app/components/attachments_list_component.html.erb
93
- - lib/app/components/attachments_list_component.rb
94
- - lib/app/components/current_user_mini_card_component.html.erb
95
- - lib/app/components/current_user_mini_card_component.rb
96
- - lib/app/components/form_component.html.erb
97
- - lib/app/components/form_component.rb
98
- - lib/app/components/forms/breadcrumb_component.html.erb
99
- - lib/app/components/forms/breadcrumb_component.rb
100
- - lib/app/components/forms/delete_button_component.html.erb
101
- - lib/app/components/forms/delete_button_component.rb
102
- - lib/app/components/forms/divider_component.html.erb
103
- - lib/app/components/forms/divider_component.rb
104
- - lib/app/components/forms/submit_button_component.html.erb
105
- - lib/app/components/forms/submit_button_component.rb
106
- - lib/app/components/forms/subtitle_component.html.erb
107
- - lib/app/components/forms/subtitle_component.rb
108
- - lib/app/components/forms/title_component.html.erb
109
- - lib/app/components/forms/title_component.rb
110
- - lib/app/components/icons/collection_component.html.erb
111
- - lib/app/components/icons/collection_component.rb
112
- - lib/app/components/icons/home_component.html.erb
113
- - lib/app/components/icons/home_component.rb
114
- - lib/app/components/icons/mic_component.html.erb
115
- - lib/app/components/icons/mic_component.rb
116
- - lib/app/components/icons/news_paper_component.html.erb
117
- - lib/app/components/icons/news_paper_component.rb
118
- - lib/app/components/icons/office_building_component.html.erb
119
- - lib/app/components/icons/office_building_component.rb
120
- - lib/app/components/icons/question_mark_circle_component.html.erb
121
- - lib/app/components/icons/question_mark_circle_component.rb
122
- - lib/app/components/icons/trash_component.html.erb
123
- - lib/app/components/icons/trash_component.rb
124
- - lib/app/components/icons/users_component.html.erb
125
- - lib/app/components/icons/users_component.rb
126
- - lib/app/components/index_component.html.erb
127
- - lib/app/components/index_component.rb
128
- - lib/app/components/index_header_add_component.html.erb
129
- - lib/app/components/index_header_add_component.rb
130
- - lib/app/components/index_header_component.html.erb
131
- - lib/app/components/index_header_component.rb
132
- - lib/app/components/input/file_component.html.erb
133
- - lib/app/components/input/file_component.rb
134
- - lib/app/components/sidebar_component.html.erb
135
- - lib/app/components/sidebar_component.rb
136
- - lib/app/components/sidebar_item_component.html.erb
137
- - lib/app/components/sidebar_item_component.rb
138
- - lib/app/components/sign_out_button_component.html.erb
139
- - lib/app/components/sign_out_button_component.rb
140
- - lib/app/components/tables/table_component.html.erb
141
- - lib/app/components/tables/table_component.rb
142
- - lib/app/components/tables/tbody_component.html.erb
143
- - lib/app/components/tables/tbody_component.rb
144
- - lib/app/components/tables/td_component.html.erb
145
- - lib/app/components/tables/td_component.rb
146
- - lib/app/components/tables/th_component.html.erb
147
- - lib/app/components/tables/th_component.rb
148
- - lib/app/components/tables/thead_component.html.erb
149
- - lib/app/components/tables/thead_component.rb
150
- - lib/app/components/tables/tr_component.html.erb
151
- - lib/app/components/tables/tr_component.rb
152
- - lib/app/helpers/application_helper.rb
153
- - lib/app/helpers/flash_helper.rb
154
- - lib/app/javascript/controllers/flash_controller.js
123
+ - MIT-LICENSE
124
+ - README.md
125
+ - Rakefile
126
+ - app/assets/config/tybo_manifest.js
127
+ - app/assets/stylesheets/tybo/application.css
128
+ - app/components/attachment_card_component.html.erb
129
+ - app/components/attachment_card_component.rb
130
+ - app/components/attachments_list_component.html.erb
131
+ - app/components/attachments_list_component.rb
132
+ - app/components/current_user_mini_card_component.html.erb
133
+ - app/components/current_user_mini_card_component.rb
134
+ - app/components/form_component.html.erb
135
+ - app/components/form_component.rb
136
+ - app/components/forms/breadcrumb_component.html.erb
137
+ - app/components/forms/breadcrumb_component.rb
138
+ - app/components/forms/delete_button_component.html.erb
139
+ - app/components/forms/delete_button_component.rb
140
+ - app/components/forms/divider_component.html.erb
141
+ - app/components/forms/divider_component.rb
142
+ - app/components/forms/submit_button_component.html.erb
143
+ - app/components/forms/submit_button_component.rb
144
+ - app/components/forms/subtitle_component.html.erb
145
+ - app/components/forms/subtitle_component.rb
146
+ - app/components/forms/title_component.html.erb
147
+ - app/components/forms/title_component.rb
148
+ - app/components/icons/collection_component.html.erb
149
+ - app/components/icons/collection_component.rb
150
+ - app/components/icons/home_component.html.erb
151
+ - app/components/icons/home_component.rb
152
+ - app/components/icons/mic_component.html.erb
153
+ - app/components/icons/mic_component.rb
154
+ - app/components/icons/news_paper_component.html.erb
155
+ - app/components/icons/news_paper_component.rb
156
+ - app/components/icons/office_building_component.html.erb
157
+ - app/components/icons/office_building_component.rb
158
+ - app/components/icons/question_mark_circle_component.html.erb
159
+ - app/components/icons/question_mark_circle_component.rb
160
+ - app/components/icons/trash_component.html.erb
161
+ - app/components/icons/trash_component.rb
162
+ - app/components/icons/users_component.html.erb
163
+ - app/components/icons/users_component.rb
164
+ - app/components/index_component.html.erb
165
+ - app/components/index_component.rb
166
+ - app/components/index_header_add_component.html.erb
167
+ - app/components/index_header_add_component.rb
168
+ - app/components/index_header_component.html.erb
169
+ - app/components/index_header_component.rb
170
+ - app/components/input/file_component.html.erb
171
+ - app/components/input/file_component.rb
172
+ - app/components/sidebar_component.html.erb
173
+ - app/components/sidebar_component.rb
174
+ - app/components/sidebar_item_component.html.erb
175
+ - app/components/sidebar_item_component.rb
176
+ - app/components/sign_out_button_component.html.erb
177
+ - app/components/sign_out_button_component.rb
178
+ - app/components/tables/active_record_th_component.html.erb
179
+ - app/components/tables/active_record_th_component.rb
180
+ - app/components/tables/table_component.html.erb
181
+ - app/components/tables/table_component.rb
182
+ - app/components/tables/tbody_component.html.erb
183
+ - app/components/tables/tbody_component.rb
184
+ - app/components/tables/td_component.html.erb
185
+ - app/components/tables/td_component.rb
186
+ - app/components/tables/th_component.html.erb
187
+ - app/components/tables/th_component.rb
188
+ - app/components/tables/thead_component.html.erb
189
+ - app/components/tables/thead_component.rb
190
+ - app/components/tables/tr_component.html.erb
191
+ - app/components/tables/tr_component.rb
192
+ - app/controllers/tybo/application_controller.rb
193
+ - app/controllers/tybo/login_controller.rb
194
+ - app/helpers/tybo/application_helper.rb
195
+ - app/helpers/tybo/flash_helper.rb
196
+ - app/jobs/tybo/application_job.rb
197
+ - app/mailers/tybo/application_mailer.rb
198
+ - app/models/tybo/application_record.rb
199
+ - app/views/devise/confirmations/new.html.erb
200
+ - app/views/devise/login/home.html.erb
201
+ - app/views/devise/mailer/_reset_password_instructions.html.erb
202
+ - app/views/devise/mailer/confirmation_instructions.html.erb
203
+ - app/views/devise/mailer/email_changed.html.erb
204
+ - app/views/devise/mailer/password_change.html.erb
205
+ - app/views/devise/mailer/unlock_instructions.html.erb
206
+ - app/views/devise/passwords/edit.html.erb
207
+ - app/views/devise/passwords/new.html.erb
208
+ - app/views/devise/registrations/edit.html.erb
209
+ - app/views/devise/registrations/new.html.erb
210
+ - app/views/devise/sessions/new.html.erb
211
+ - app/views/devise/shared/_devise_errors.html.erb
212
+ - app/views/devise/shared/_error_messages.html.erb
213
+ - app/views/devise/shared/_links.html.erb
214
+ - app/views/devise/unlocks/new.html.erb
215
+ - app/views/layouts/_errors.html.erb
216
+ - app/views/layouts/_flash.html.erb
217
+ - app/views/layouts/devise_admin.html.erb
218
+ - app/views/layouts/tybo/application.html.erb
219
+ - app/views/login/home.html.erb
220
+ - app/views/shared/_pagination.html.erb
221
+ - config/initializers/devise.rb
222
+ - config/initializers/pagy.rb
223
+ - config/initializers/ransack.rb
224
+ - config/locales/devise.en.yml
225
+ - config/routes.rb
226
+ - lib/generators/bo/USAGE
227
+ - lib/generators/bo/bo_generator.rb
228
+ - lib/generators/bo/templates/_form.html.erb
229
+ - lib/generators/bo/templates/_search_bar.html.erb
230
+ - lib/generators/bo/templates/_table.html.erb
231
+ - lib/generators/bo/templates/controller.rb
232
+ - lib/generators/bo/templates/index.html.erb
233
+ - lib/generators/bo/templates/item.html.erb
234
+ - lib/generators/bo/templates/new.html.erb
235
+ - lib/generators/bo/templates/show.html.erb
236
+ - lib/generators/bo/utils/files/fr.json
237
+ - lib/generators/bo/utils/translations.rb
238
+ - lib/generators/bo_namespace/USAGE
239
+ - lib/generators/bo_namespace/bo_namespace_generator.rb
240
+ - lib/generators/bo_namespace/templates/admin.html.erb
241
+ - lib/generators/bo_namespace/templates/admin_controller.rb
242
+ - lib/generators/bo_namespace/templates/seeds.rb
243
+ - lib/generators/bo_namespace/templates/side_bar.html.erb
244
+ - lib/generators/tybo_install/templates/application.tailwind.css
245
+ - lib/generators/tybo_install/templates/simple_form_tailwind.rb
246
+ - lib/generators/tybo_install/templates/tailwind.config.js
247
+ - lib/generators/tybo_install/templates/tom-select.css
248
+ - lib/generators/tybo_install/tybo_install_generator.rb
155
249
  - lib/tybo.rb
156
- homepage: https://rubygems.org/gems/backoffice-components
250
+ - lib/tybo/engine.rb
251
+ - lib/tybo/version.rb
252
+ homepage: https://rubygems.org/gems/tybo
157
253
  licenses:
158
254
  - MIT
159
- metadata: {}
255
+ metadata:
256
+ homepage_uri: https://rubygems.org/gems/tybo
160
257
  post_install_message:
161
258
  rdoc_options: []
162
259
  require_paths:
@@ -172,8 +269,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
269
  - !ruby/object:Gem::Version
173
270
  version: '0'
174
271
  requirements: []
175
- rubygems_version: 3.2.32
272
+ rubygems_version: 3.3.7
176
273
  signing_key:
177
274
  specification_version: 4
178
- summary: ''
275
+ summary: A tailwind custom admin engine for Ruby on Rails
179
276
  test_files: []
@@ -1,5 +0,0 @@
1
- <div class="my-5">
2
- <h3 class="text-lg leading-6 font-medium text-gray-900">
3
- <%= @subtitle %>
4
- </h3>
5
- </div>
@@ -1,3 +0,0 @@
1
- <div class="mt-4 sm:mt-0 sm:ml-16 sm:flex-none">
2
- <%= link_to '+', @path, class: "inline-flex items-center justify-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 sm:w-auto" %>
3
- </div>
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module ApplicationHelper
4
- # include Pagy::Frontend
5
- end
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module FlashHelper
4
- # todo remove me and create a custom administrator authentification
5
- def current_user
6
- OpenStruct.new(email: "michel@tymate.com")
7
- end
8
-
9
- def classes_for_flash(key)
10
- if %w[error alert].include?(key)
11
- 'red'
12
- else
13
- 'green'
14
- end
15
- end
16
- end
@@ -1,7 +0,0 @@
1
- import { Controller } from "@hotwired/stimulus";
2
-
3
- export default class extends Controller {
4
- dismiss() {
5
- this.element.remove();
6
- }
7
- }