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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62fb9c0373e4c1d9e7b57595632bb069451e0cb1b0dab8ce8fa045159db7555f
|
4
|
+
data.tar.gz: cd169b1e535beac941bc8b866be6811875096f3584e965a43d3ea045dccf44c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
@@ -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
|