glib-web 3.27.0 → 3.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d3975f40436740c9cebdcb654cd5292e9d3f772f442f3078b79bdb328657fe0
|
4
|
+
data.tar.gz: f95e4819e89b6f1b04d17cd375c1b904137bb6c1df2f7f48cab7f549ff608e51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bde54f472baee8e766265a748e09fb07afdaf86878e054f35ce49ead3fd75fd54491fc6d568fbccdde5b8fc750832bf21d376784c9a6750dff521121566d545
|
7
|
+
data.tar.gz: 1aefdd5d62f0958ecf2df76e5737cab190dff943b7415116e3c1a088d6304346230373bdfcf0e66b396f60f9b2bf4ef778b406b24029810daec9b9acb8a55cdc
|
@@ -229,7 +229,9 @@ module Glib::Json::Libs
|
|
229
229
|
end
|
230
230
|
|
231
231
|
def json_ui_redirect_to(url)
|
232
|
-
|
232
|
+
# Use windows_reload instead of windows_open so clicking back will skip the bridging page.
|
233
|
+
# on_response = { action: 'windows/open', url: url }
|
234
|
+
on_response = { action: 'windows/reload', url: url }
|
233
235
|
|
234
236
|
if glib_json_dialog_mode?
|
235
237
|
# Only do this in dialog mode because this seems to add to the rendering time
|
@@ -54,9 +54,11 @@ class Glib::JsonUi::ActionBuilder
|
|
54
54
|
bool :updateExisting
|
55
55
|
end
|
56
56
|
|
57
|
-
#
|
57
|
+
# Deprecation canceled. This is still useful for a scenario where the previous dialog
|
58
|
+
# was unknown, so we simply want to reload its content.
|
58
59
|
class Reload < Action
|
59
|
-
|
60
|
+
# Deprecated. Should just use dialogs_show or dialogs_open if
|
61
|
+
# these attributes are needed.
|
60
62
|
string :url, cache: true
|
61
63
|
bool :showClose # deprecated
|
62
64
|
bool :disableCloseButton
|
@@ -30,6 +30,13 @@ class Glib::JsonUi::ActionBuilder
|
|
30
30
|
required :fallbackUrl
|
31
31
|
end
|
32
32
|
|
33
|
+
class CloseWithOpen < Action
|
34
|
+
string :url
|
35
|
+
action :onOpen
|
36
|
+
|
37
|
+
required :url
|
38
|
+
end
|
39
|
+
|
33
40
|
# Any component can listen to the refresh_state event and react appropriately.
|
34
41
|
# E.g. Stripe credit card component can refresh its token to make sure it is not stale.
|
35
42
|
class RefreshState < Action
|