avo 3.2.2 → 3.2.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of avo might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62e538283a2913033f07f31194c20814d5957a8ff5db5d085934a556a2dd8a73
4
- data.tar.gz: 755caf8d8d192aec4e8404a572663c4df6cdd55e3f607f77c0abe6f8b065ed8b
3
+ metadata.gz: 7056d0864be76aa5008b901e8bdc8fb4c31ea9d708ccf9fa303094e42b407480
4
+ data.tar.gz: f971d25b54c404fc00a11783a6c521857098dc6ec5a9f39e14de280824f6c80c
5
5
  SHA512:
6
- metadata.gz: 737551a89cf325b55589e3ac4112a5aa5ed2597b3d6702183a76914316c93cf2a6692fe03747f5bd65fd5bea812f2d5e0d24e5c187748ce405fef4f326b1e228
7
- data.tar.gz: 84d52bc96921270deb059ace200d34dddb7169ce3c784c37fb52445740baab8ac0223ef0687706abab7db51a36706b468c405a535bd362b6847f56e23aefa54c
6
+ metadata.gz: 110d8b6e7d21b706984e334867592f381a2ba3a44234883bcaa7a0dbf7a355375eb3c3d52b9f811b7f18cf71683287338dde15673e27cef6b5c6b7f3f76ca754
7
+ data.tar.gz: 151600ca42ca87dcce072d62536b03d743d66340099aa172624668a7804e5f1de6731d56647650418943fcb3bc0a429d101a7db540402f196f94df0f1ce3ca93
data/Gemfile CHANGED
@@ -74,8 +74,6 @@ group :development do
74
74
 
75
75
  gem "hotwire-livereload", "~> 1.3.0"
76
76
 
77
- gem "brakeman"
78
-
79
77
  gem "rubocop"
80
78
  gem "ripper-tags"
81
79
  gem "rubocop-shopify", require: false
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (3.2.2)
4
+ avo (3.2.3)
5
5
  actionview (>= 6.1)
6
6
  active_link_to
7
7
  activerecord (>= 6.1)
@@ -121,8 +121,8 @@ GEM
121
121
  ast (2.4.2)
122
122
  awesome_print (1.9.2)
123
123
  aws-eventstream (1.3.0)
124
- aws-partitions (1.869.0)
125
- aws-sdk-core (3.190.0)
124
+ aws-partitions (1.873.0)
125
+ aws-sdk-core (3.190.1)
126
126
  aws-eventstream (~> 1, >= 1.3.0)
127
127
  aws-partitions (~> 1, >= 1.651.0)
128
128
  aws-sigv4 (~> 1.8)
@@ -130,7 +130,7 @@ GEM
130
130
  aws-sdk-kms (1.75.0)
131
131
  aws-sdk-core (~> 3, >= 3.188.0)
132
132
  aws-sigv4 (~> 1.1)
133
- aws-sdk-s3 (1.141.0)
133
+ aws-sdk-s3 (1.142.0)
134
134
  aws-sdk-core (~> 3, >= 3.189.0)
135
135
  aws-sdk-kms (~> 1)
136
136
  aws-sigv4 (~> 1.8)
@@ -151,7 +151,6 @@ GEM
151
151
  bindex (0.8.1)
152
152
  bootsnap (1.17.0)
153
153
  msgpack (~> 1.2)
154
- brakeman (6.1.0)
155
154
  builder (3.2.4)
156
155
  bump (0.10.0)
157
156
  bundler-integrity (1.0.9)
@@ -252,7 +251,7 @@ GEM
252
251
  activesupport (>= 3.0)
253
252
  nokogiri (>= 1.6)
254
253
  io-console (0.7.1)
255
- irb (1.10.1)
254
+ irb (1.11.0)
256
255
  rdoc
257
256
  reline (>= 0.3.8)
258
257
  iso (0.4.0)
@@ -284,8 +283,8 @@ GEM
284
283
  mapkick-rb (0.1.5)
285
284
  marcel (1.0.2)
286
285
  matrix (0.4.2)
287
- meta-tags (2.19.0)
288
- actionpack (>= 3.2.0, < 7.2)
286
+ meta-tags (2.20.0)
287
+ actionpack (>= 6.0.0, < 7.2)
289
288
  method_source (1.0.0)
290
289
  mini_magick (4.11.0)
291
290
  mini_mime (1.1.5)
@@ -413,7 +412,7 @@ GEM
413
412
  rspec-mocks (~> 3.12)
414
413
  rspec-support (~> 3.12)
415
414
  rspec-support (3.12.1)
416
- rubocop (1.57.2)
415
+ rubocop (1.59.0)
417
416
  json (~> 2.3)
418
417
  language_server-protocol (>= 3.17.0)
419
418
  parallel (~> 1.10)
@@ -421,14 +420,14 @@ GEM
421
420
  rainbow (>= 2.2.2, < 4.0)
422
421
  regexp_parser (>= 1.8, < 3.0)
423
422
  rexml (>= 3.2.5, < 4.0)
424
- rubocop-ast (>= 1.28.1, < 2.0)
423
+ rubocop-ast (>= 1.30.0, < 2.0)
425
424
  ruby-progressbar (~> 1.7)
426
425
  unicode-display_width (>= 2.4.0, < 3.0)
427
426
  rubocop-ast (1.30.0)
428
427
  parser (>= 3.2.1.0)
429
- rubocop-performance (1.19.1)
430
- rubocop (>= 1.7.0, < 2.0)
431
- rubocop-ast (>= 0.4.0)
428
+ rubocop-performance (1.20.1)
429
+ rubocop (>= 1.48.1, < 2.0)
430
+ rubocop-ast (>= 1.30.0, < 2.0)
432
431
  rubocop-shopify (2.14.0)
433
432
  rubocop (~> 1.51)
434
433
  ruby-debug-ide (0.7.3)
@@ -481,18 +480,18 @@ GEM
481
480
  actionpack (>= 5.2)
482
481
  activesupport (>= 5.2)
483
482
  sprockets (>= 3.0.0)
484
- standard (1.32.1)
483
+ standard (1.33.0)
485
484
  language_server-protocol (~> 3.17.0.2)
486
485
  lint_roller (~> 1.0)
487
- rubocop (~> 1.57.2)
486
+ rubocop (~> 1.59.0)
488
487
  standard-custom (~> 1.0.0)
489
- standard-performance (~> 1.2)
488
+ standard-performance (~> 1.3)
490
489
  standard-custom (1.0.2)
491
490
  lint_roller (~> 1.0)
492
491
  rubocop (~> 1.50)
493
- standard-performance (1.2.1)
492
+ standard-performance (1.3.0)
494
493
  lint_roller (~> 1.1)
495
- rubocop-performance (~> 1.19.1)
494
+ rubocop-performance (~> 1.20.1)
496
495
  stringio (3.1.0)
497
496
  syntax_tree (6.2.0)
498
497
  prettier_print (>= 1.2.0)
@@ -502,7 +501,7 @@ GEM
502
501
  thor (1.3.0)
503
502
  tilt (2.3.0)
504
503
  timeout (0.4.1)
505
- turbo-rails (1.4.0)
504
+ turbo-rails (1.5.0)
506
505
  actionpack (>= 6.0.0)
507
506
  activejob (>= 6.0.0)
508
507
  railties (>= 6.0.0)
@@ -558,7 +557,6 @@ DEPENDENCIES
558
557
  awesome_print
559
558
  aws-sdk-s3
560
559
  bootsnap (>= 1.4.2)
561
- brakeman
562
560
  bump
563
561
  bundler-integrity (~> 1.0)
564
562
  byebug
@@ -163,7 +163,8 @@ class Avo::Views::ResourceIndexComponent < Avo::ResourceComponent
163
163
  scopes: scopes,
164
164
  resource: resource,
165
165
  turbo_frame: turbo_frame,
166
- parent_record: parent_record
166
+ parent_record: parent_record,
167
+ query: query
167
168
  )
168
169
  end
169
170
 
@@ -10,6 +10,7 @@ extra_locales = [
10
10
  {locale: "en"},
11
11
  {locale: "es"},
12
12
  {locale: "fr"},
13
+ {locale: "ja"},
13
14
  {locale: "nb"},
14
15
  {locale: "pt-BR"},
15
16
  {locale: "pt"},
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "3.2.2" unless const_defined?(:VERSION)
2
+ VERSION = "3.2.3" unless const_defined?(:VERSION)
3
3
  end
@@ -0,0 +1,126 @@
1
+ ja:
2
+ avo:
3
+ action_ran_successfully: アクションは正常に実行されました!
4
+ actions: アクション
5
+ and_x_other_resources: その他%{count}件のリソース
6
+ are_you_sure: 本当によろしいですか?
7
+ are_you_sure_detach_item: この%{item}をデタッチしてもよろしいですか?
8
+ are_you_sure_you_want_to_run_this_option: このアクションを実行してもよろしいですか?
9
+ attach: 添付
10
+ attach_and_attach_another: アタッチして別のものをアタッチ
11
+ attach_item: "%{item}をアタッチ"
12
+ attachment_class_attached: "%{attachment_class}をアタッチしました。"
13
+ attachment_class_detached: "%{attachment_class}をデタッチしました。"
14
+ attachment_destroyed: アタッチは削除されました
15
+ cancel: キャンセル
16
+ choose_a_country: 国を選択
17
+ choose_an_option: オプションを選択
18
+ choose_item: "%{item}を選択"
19
+ clear_value: 値をクリア
20
+ click_to_reveal_filters: フィルターを表示するにはクリック
21
+ confirm: 確認
22
+ create_new_item: 新しい%{item}を作成
23
+ dashboard: ダッシュボード
24
+ dashboards: ダッシュボード
25
+ default_scope: 全て
26
+ delete: 削除
27
+ delete_file: ファイルを削除
28
+ delete_item: "%{item}を削除"
29
+ detach_item: "%{item}を切り離す"
30
+ details: 詳細
31
+ download: ダウンロード
32
+ download_file: ファイルをダウンロード
33
+ download_item: "%{item}をダウンロード"
34
+ edit: 編集
35
+ edit_item: "%{item}を編集"
36
+ empty_dashboard_message: このダッシュボードにカードを追加
37
+ failed: 失敗
38
+ failed_to_find_attachment: アタッチメントを見つけるのに失敗
39
+ failed_to_load: 読み込みに失敗
40
+ field_translations:
41
+ file:
42
+ one: ファイル
43
+ other: ファイル
44
+ zero: ファイル
45
+ people:
46
+ one: 人
47
+ other: 人々
48
+ zero: 人々
49
+ filter_by: フィルター条件
50
+ filters: フィルター
51
+ go_back: 戻る
52
+ grid_view: グリッドビュー
53
+ hide_content: 内容を非表示
54
+ home: ホーム
55
+ key_value_field:
56
+ add_row: 行を追加
57
+ delete_row: 行を削除
58
+ key: キー
59
+ value: 値
60
+ list_is_empty: リストは空です
61
+ loading: 読み込み中
62
+ more: もっと
63
+ new: 新規
64
+ next_page: 次のページ
65
+ no_cards_present: カードがありません
66
+ no_item_found: レコードが見つかりませんでした
67
+ no_options_available: 利用可能なオプションがありません
68
+ no_related_item_found: 関連するレコードが見つかりませんでした
69
+ not_authorized: このアクションを実行する権限がありません。
70
+ number_of_items:
71
+ one: 一つの%{item}
72
+ other: "%{count}の%{item}"
73
+ zero: "%{item}がありません"
74
+ oops_nothing_found: おっと! 何も見つかりませんでした...
75
+ order:
76
+ higher: レコードを上に移動
77
+ lower: レコードを下に移動
78
+ reorder_record: レコードを並べ替える
79
+ to_bottom: レコードを一番下に移動
80
+ to_top: レコードを一番上に移動
81
+ per_page: ページあたり
82
+ prev_page: 前のページ
83
+ records_selected_from_all_pages_html: 全ページから選択された全レコード
84
+ remove_selection: 選択を解除
85
+ reset_filters: フィルターをリセット
86
+ resource_created: レコードが作成されました
87
+ resource_destroyed: レコードが破棄されました
88
+ resource_translations:
89
+ team_members:
90
+ one: チームメンバー
91
+ other: チームメンバー
92
+ zero: チームメンバー
93
+ user:
94
+ one: ユーザー
95
+ other: ユーザー
96
+ zero: ユーザー
97
+ resource_updated: レコードが更新されました
98
+ resources: リソース
99
+ run: 実行
100
+ save: 保存
101
+ search:
102
+ cancel_button: キャンセル
103
+ placeholder: 検索
104
+ select_all: すべて選択
105
+ select_all_matching: 一致するすべてを選択
106
+ select_item: アイテムを選択
107
+ show_content: 内容を表示
108
+ sign_out: サインアウト
109
+ switch_to_view: "%{view_type}ビューに切り替える"
110
+ table_view: テーブルビュー
111
+ tools: ツール
112
+ type_to_search: 検索する内容を入力してください。
113
+ unauthorized: 許可されていません
114
+ undo: 元に戻す
115
+ view: ビュー
116
+ view_item: "%{item}を表示"
117
+ was_successfully_created: は正常に作成されました
118
+ was_successfully_updated: は正常に更新されました
119
+ x_items_more:
120
+ one: もう一つのアイテム
121
+ other: "%{count}個のその他のアイテム"
122
+ zero: その他のアイテムはありません
123
+ x_records_selected_from_a_total_of_x_html: このページの<span class="font-bold text-gray-700">%{count}</span>個中、<span class="font-bold text-gray-700">%{selected}</span>個のレコードが選択されました
124
+ x_records_selected_from_all_pages_html: すべてのページから<span class="font-bold text-gray-700">%{count}</span>個のレコードが選択されました
125
+ x_records_selected_from_page_html: このページから<span class="font-bold text-gray-700">%{selected}</span>個のレコードが選択されました
126
+ you_missed_something_check_form: 何か見落としているかもしれません。フォームを確認してください。
@@ -1,6 +1,6 @@
1
1
  class Avo::Scopes::<%= class_name.camelize %> < Avo::Pro::Scopes::BaseScope
2
2
  self.name = "<%= name.underscore.humanize %>"
3
- self.description = "<%= name.underscore.humanize %>"
3
+ # self.description = "<%= name.underscore.humanize %> description."
4
4
  self.scope = -> { query.all }
5
5
  self.visible = -> { true }
6
6
  end
@@ -3626,7 +3626,7 @@ body[data-theme=dark], body.dark {
3626
3626
  transition:inherit
3627
3627
  }
3628
3628
 
3629
- /*! tailwindcss v3.3.6 | MIT License | https://tailwindcss.com
3629
+ /*! tailwindcss v3.4.0 | MIT License | https://tailwindcss.com
3630
3630
  */
3631
3631
 
3632
3632
  /*
@@ -3659,9 +3659,11 @@ body[data-theme=dark], body.dark {
3659
3659
  4. Use the user's configured `sans` font-family by default.
3660
3660
  5. Use the user's configured `sans` font-feature-settings by default.
3661
3661
  6. Use the user's configured `sans` font-variation-settings by default.
3662
+ 7. Disable tap highlights on iOS
3662
3663
  */
3663
3664
 
3664
- html {
3665
+ html,
3666
+ :host {
3665
3667
  line-height: 1.5;
3666
3668
  /* 1 */
3667
3669
  -webkit-text-size-adjust: 100%;
@@ -3675,6 +3677,8 @@ html {
3675
3677
  /* 5 */
3676
3678
  font-variation-settings: normal;
3677
3679
  /* 6 */
3680
+ -webkit-tap-highlight-color: transparent;
3681
+ /* 7 */
3678
3682
  }
3679
3683
 
3680
3684
  /*
@@ -7246,6 +7250,11 @@ tag.tagify__tag{
7246
7250
  aspect-ratio:16 / 9
7247
7251
  }
7248
7252
 
7253
+ .size-1{
7254
+ width:0.25rem;
7255
+ height:0.25rem
7256
+ }
7257
+
7249
7258
  .h-1{
7250
7259
  height:0.25rem
7251
7260
  }
@@ -7322,10 +7331,18 @@ tag.tagify__tag{
7322
7331
  min-height:25%
7323
7332
  }
7324
7333
 
7334
+ .min-h-14{
7335
+ min-height:3.5rem
7336
+ }
7337
+
7325
7338
  .min-h-24{
7326
7339
  min-height:6rem
7327
7340
  }
7328
7341
 
7342
+ .min-h-6{
7343
+ min-height:1.5rem
7344
+ }
7345
+
7329
7346
  .min-h-\[16rem\]{
7330
7347
  min-height:16rem
7331
7348
  }
@@ -7825,6 +7842,10 @@ tag.tagify__tag{
7825
7842
  white-space:pre-line
7826
7843
  }
7827
7844
 
7845
+ .text-wrap{
7846
+ text-wrap:wrap
7847
+ }
7848
+
7828
7849
  .break-words{
7829
7850
  overflow-wrap:break-word
7830
7851
  }