glib-web 0.5.55 → 0.5.56

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: 6ace32742af101135e30af9f461e49db725b3f3e0c4f759cc42b44f64c7852f4
4
- data.tar.gz: ef9f3729d7f2e09bc2d0aa4dc87bc00652906579a2e1aaf09a38df4dc5bccbcb
3
+ metadata.gz: 62fb9c0373e4c1d9e7b57595632bb069451e0cb1b0dab8ce8fa045159db7555f
4
+ data.tar.gz: cd169b1e535beac941bc8b866be6811875096f3584e965a43d3ea045dccf44c6
5
5
  SHA512:
6
- metadata.gz: d30d0af0d967adf9f6da8bdaeed911bd8beb8657c6b0e3bfd49f3d87c6a5050aa080cde758b3b4a3fc03d4164ebbb2ae335f72ae27eeb569be743b7e13073b1a
7
- data.tar.gz: e4e7ad6eebb9efd288881788be3bba82d6c8adc126981d7e1ea30f479950cfa954d9c4e84f709850efccab19878c50538b9a4bc6d10b3850fc2aa0b63526a00e
6
+ metadata.gz: bb0b6b0b8dd40f3d2fc5aeea01fabefa2e9553e91f156c7ad33679ceec1ef46bc7890108cedd04c554234f6b997ac8d53787a3d0c5d18530e7bc3366a95be450
7
+ data.tar.gz: f747e739b1c43364606719b9e4430e8a01e4ed5f79797f9353da0fae9a7e2638952e7a24fd0dcc908c28364223369885501a397e7e0eec8d26bcc4b1e03fde65
@@ -233,6 +233,14 @@ class Glib::JsonUi::ViewBuilder
233
233
  string :publicKey
234
234
  end
235
235
 
236
+ class StripeExternalAccount < AbstractField
237
+ string :publicKey
238
+ string :accountHolderName
239
+ string :accountHolderType
240
+ string :country
241
+ string :currency
242
+ end
243
+
236
244
  class CreditCard < AbstractField
237
245
  string :publicKey
238
246
  end
@@ -202,6 +202,7 @@ class Glib::JsonUi::ViewBuilder
202
202
  views :childViews
203
203
  string :distribution
204
204
  string :align
205
+ action :onClick
205
206
  end
206
207
 
207
208
  class Horizontal < View
@@ -54,6 +54,16 @@ page.form \
54
54
  width: 'matchParent',
55
55
  publicKey: 'pk_test_TYooMQauvdEDq54NiTphI7jx'
56
56
 
57
+ form.spacer height: 20
58
+ form.fields_stripeExternalAccount \
59
+ name: 'user[stripe_external_account]',
60
+ width: 'matchParent',
61
+ publicKey: 'pk_test_TYooMQauvdEDq54NiTphI7jx',
62
+ accountHolderName: 'John Doe',
63
+ accountHolderType: 'individual',
64
+ country: 'AU',
65
+ currency: 'AUD'
66
+
57
67
  form.spacer height: 30
58
68
  form.fields_submit text: 'Submit'
59
69
  end
@@ -46,5 +46,10 @@ json_ui_page json do |page|
46
46
  panel.button text: '3'
47
47
  end
48
48
 
49
+ scroll.label text: "\n"
50
+ scroll.h1 text: 'Click action'
51
+ scroll.panels_vertical width: 100, height: 100, backgroundColor: '#b3bac2', onClick: ->(action) do
52
+ action.dialogs_alert message: 'Perform action'
53
+ end
49
54
  end
50
55
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glib-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.55
4
+ version: 0.5.56
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''