glib-web 3.8.0 → 3.8.1

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: cf2fd0a2fb456ec43544ac78429614c92a9a8d9200e0f9f142c7ff4cb39d8e4a
4
- data.tar.gz: 2bb68116d48ae777d99aa60f4f5ac6354a7197c893efd5ea84e138d52077bf34
3
+ metadata.gz: b72f7c02474a721398c60f153fbdd616ed2c2ab88d22fa9da4ef09fc314d632e
4
+ data.tar.gz: 972c69195d11c87ec3778c5d911ac788ba0c0236bc6d4830cf361cbc84914b44
5
5
  SHA512:
6
- metadata.gz: cb3239869961fcae2d0bf36193b0cdb58d48fa1224dc8cc19f93954cbe0579679392f8f59e9d5fd3055836f0895fe3cf294b857a5d7991e926a429f5393f2b5c
7
- data.tar.gz: 0a9b08633f1ceb5213c8a719c816e6fef23e0ff7305ae2aafd0e07bb43aab32f591f639ee77856253cf0ed311fffdf2c19f1bf56cca0d8b65be395428ee4f1a5
6
+ metadata.gz: 359795ce00de01bbf2fd732235eded82fa3220137aa3707b720f02204f9268f7ec0a66f71f3cdf3dcfbb2e54babd9138191c88e5b4f5f1c6d4a6d235ff095c9b
7
+ data.tar.gz: 3138fc48fc4f6563bf30cc4c3d41a0223eb12d0a07ef63a3e844246931b87f3d34d62cf147d0b577620a44e8c85eefd8cc5e5c48112a9087779e91a246c50ba6
@@ -242,9 +242,9 @@ page.form url: json_ui_garage_url(path: 'forms/generic_post'), method: 'post', p
242
242
  end
243
243
  end
244
244
 
245
+
245
246
  form.spacer height: 8
246
247
  form.fields_check name: 'user[loadif3]', label: 'Show target nested panels', checkValue: 'true', uncheckValue: 'false', value: 'false'
247
-
248
248
  form.panels_responsive \
249
249
  loadIf: { "==": [{ "var": 'user[loadif3]' }, 'true'] },
250
250
  styleClass: 'border-2',
@@ -260,6 +260,18 @@ page.form url: json_ui_garage_url(path: 'forms/generic_post'), method: 'post', p
260
260
  end
261
261
  end
262
262
 
263
+ form.spacer height: 8
264
+
265
+ form.button text: 'Reload component', onClick: ->(action) { action.windows_reload url: json_ui_garage_current_url({ key: SecureRandom.hex(3) }) }
266
+
267
+ if !params[:key]
268
+ form.fields_check name: 'user[loadif4]', label: 'Show reload component 1', checkValue: 'true', uncheckValue: 'false', value: 'false'
269
+ form.fields_text name: 'user[loadif_target7]', width: 'matchParent', value: 'Value 5', loadIf: { "==": [{ "var": 'user[loadif4]' }, 'true'] }
270
+ else
271
+ form.fields_check name: 'user[loadif5]', label: 'Show reload component 2', checkValue: 'true', uncheckValue: 'false', value: 'false'
272
+ form.fields_text name: 'user[loadif_target8]', width: 'matchParent', value: params[:key], loadIf: { "==": [{ "var": 'user[loadif5]' }, 'true'] }
273
+ end
274
+
263
275
  form.spacer height: 20
264
276
  form.fields_submit text: 'Submit'
265
277
 
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: 3.8.0
4
+ version: 3.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
@@ -318,7 +318,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
318
318
  - !ruby/object:Gem::Version
319
319
  version: '0'
320
320
  requirements: []
321
- rubygems_version: 3.1.6
321
+ rubygems_version: 3.1.4
322
322
  signing_key:
323
323
  specification_version: 4
324
324
  summary: ''