thecore_ui_rails_admin 3.0.13 → 3.0.14

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: c711c3a9f906b2da25d6184b2f50f657e54eb6cdc736f3572387a9dee498c4f8
4
- data.tar.gz: c03aeca63ba413f7f791ea9ac7af1592f008144b5f384691c4aff07312b039b0
3
+ metadata.gz: e361f68568a7a8a7f014519a72f3b66dd61eecde84b9d65b7d6e9721f6317601
4
+ data.tar.gz: e42960b81b4412b886043aa870b2de6683d1c8525bac5909b0ec2ae7590ba9a3
5
5
  SHA512:
6
- metadata.gz: 497a295e94aba68575faa19311681f0644667f5b56f5cf0272eb13bd2a0fec0f3c5b054f53437791a3fd1a3ff7c0505086dbd2b055f948b0597b089f93fa1d00
7
- data.tar.gz: e9c61ccceacd3542c689fa7cf5dc54fe924432facb6e4aa87c598c8eccac400487362dc8bfe0dfbac10c3183bfb8495eb4c6ef8fe0c075aea4b63f2c87e36c06
6
+ metadata.gz: d3b99fc8d9e67f863f0d3b22d35304dac6b0c240e82c3a90d718a3f58f0a67de58db64680ef2f343ae2a4c5acc73f4b4602a6c9891f6fc09cd080ef56cb70414
7
+ data.tar.gz: 7994615a20b163b5af4fde34ed0d577ecc86acdad999a5e7b7970fb32ea7297a8a07a739d0308528db865014d04b42b88c260c6d0e4214c8625646fc72d38eb9
@@ -1,2 +1,3 @@
1
1
  // override this file in your thecore based application to add custom behaviour
2
- console.log("Is this overridden")
2
+ let check="Is this overridden";
3
+ console.log(check);
@@ -2,9 +2,28 @@
2
2
 
3
3
  //= require 'selectize.min'
4
4
  //= require 'thecore_ui_commons'
5
+ //= require 'rails_admin/custom/thecore/ui'
5
6
 
6
7
  const adjustIframe = function(obj) {
8
+ console.log("Resizing");
7
9
  obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
8
10
  };
9
11
 
10
- //= require 'rails_admin/custom/thecore/ui'
12
+ let currentURL = new URL(window.location.href);
13
+
14
+ $(document).on('turbo:load', function (event) {
15
+ currentURL = new URL(event.originalEvent.detail.url);
16
+ console.log("Page loaded listening to turbo:load event", currentURL.href);
17
+ console.log(" - Protocol:", currentURL.protocol);
18
+ console.log(" - Username:", currentURL.username);
19
+ console.log(" - Password:", currentURL.password);
20
+ console.log(" - Host:", currentURL.host);
21
+ console.log(" - Hostname:", currentURL.hostname);
22
+ console.log(" - Port:", currentURL.port);
23
+ console.log(" - Pathname:", currentURL.pathname);
24
+ console.log(" - Search:", currentURL.search);
25
+ currentURL.searchParams.forEach((v, k) => {
26
+ console.log(` - ${k}: ${v}`);
27
+ })
28
+ console.log(" - Hash:", currentURL.hash);
29
+ });
@@ -1,8 +1,9 @@
1
1
  Rails.application.config.assets.precompile += %w(
2
2
  rails_admin/custom/thecore/selectize.default.min.css
3
3
  selectize.min.js
4
- rails_admin/custom/thecore/ui.js
5
4
  rails_admin/custom/thecore/mixins.css
6
5
  rails_admin/custom/thecore/variables.css
7
6
  rails_admin/custom/thecore/theming.css
7
+ rails_admin/custom/ui.js
8
+ rails_admin/custom/thecore/ui.js
8
9
  )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_ui_rails_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.13
4
+ version: 3.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni