forest_admin_datasource_toolkit 1.0.0.pre.beta.67 → 1.0.0.pre.beta.68

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c661bd99cd5135390e188b12d0741f71c7cc88126487c7bbd1fb6503cc940280
4
- data.tar.gz: c7dd01683fa557de9bd52c8c0dddf24d84cb507849bf6554cb1b7462bcdf8900
3
+ metadata.gz: 782b4a69580cae0ca60ce9458728945e08fd5763e1291a835d0c033d01b04d4d
4
+ data.tar.gz: e83f24fea69a9b998c28e094bfe32c28b07409b423c5359d64d74d9f6a92223e
5
5
  SHA512:
6
- metadata.gz: f4de408d6d0c1096dcb294e9c89a8d3e1cab74d497a0be4423d96c877875744e3d3a24a627e9467f07ca81fa0b2e50d29b24dafb60954f95ff37d7ee769c6355
7
- data.tar.gz: 1d4e8e061f8bfb608f030b349b38ddba92b621cbeb2397a1e09834069bc3ecc1c5a979ff977f346fd8c40c5ae88063b7d2285500ebfbf5f0c1d5cbc56710f51e
6
+ metadata.gz: 6ead7641df99b32fdcd5f1a3b3c96265eaf9cf25e033adacde079c47ec04b6340acd0d53bd99f62c2ab29c784c1c26ffcb527a481c90f33a52ff45567abdbb3a
7
+ data.tar.gz: fa6912d82bbfd90b530449fd73c92af1134b860e812fe0e9e88f4b26cc9a42f463fbde48b4c7c86167d13b2eee519b01f7f8cf7cbebc64d534fb374be9a710ff
@@ -16,6 +16,8 @@ module ForestAdminDatasourceToolkit
16
16
  case field[:component]
17
17
  when 'Separator'
18
18
  ActionLayoutElement::SeparatorElement.new(**field)
19
+ when 'HtmlBlock'
20
+ ActionLayoutElement::HtmlBlockElement.new(**field)
19
21
  end
20
22
  end
21
23
 
@@ -29,6 +29,15 @@ module ForestAdminDatasourceToolkit
29
29
  end
30
30
  end
31
31
 
32
+ class HtmlBlockElement < BaseLayoutElement
33
+ attr_reader :content
34
+
35
+ def initialize(content:, **options)
36
+ super(component: 'HtmlBlock', **options)
37
+ @content = content
38
+ end
39
+ end
40
+
32
41
  class SeparatorElement < BaseLayoutElement
33
42
  def initialize(**options)
34
43
  super(component: 'Separator', **options)
@@ -1,3 +1,3 @@
1
1
  module ForestAdminDatasourceToolkit
2
- VERSION = "1.0.0-beta.67"
2
+ VERSION = "1.0.0-beta.68"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forest_admin_datasource_toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.beta.67
4
+ version: 1.0.0.pre.beta.68
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthieu
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-09-19 00:00:00.000000000 Z
12
+ date: 2024-09-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport