administration-zero 0.0.18 → 1.0.0

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: 002cc16c4991ff76fa333e03d38220537d021c2eff150ea87b6456db59da6fb2
4
- data.tar.gz: 16336855dbac4b38d7fe2ca0a0336aebb4a0812e9cd89e19b69aebeef4d97745
3
+ metadata.gz: f33382ad3760ecfd1ab0cea402939763e49c2c80913abda93e23c9142fdf3293
4
+ data.tar.gz: 35c3b4570ea9d480cd142df44ef676daf5fc794734827749606f1a449809b49e
5
5
  SHA512:
6
- metadata.gz: 742ce20b62c3357138c6088e6eeb972410a38df4c53482473ba8d43c2e58cede13d7b6ab657318d3dfed9a5b1ffc25be44fede6e391749c3b9cc9ddc3b18553c
7
- data.tar.gz: 2490f2b73022d79f1e6867775f2e52657adc0cae61f6b85d9c718be45018164b289f7611e705ea7d200d74e0faa9e1db8fb958b3c3107072b167c39c258e6c57
6
+ metadata.gz: 2332226c5e149e3888d81e62583855938992d23e35502c0b2718e42b53abb678ab28029870776a79484513db2ae000553c19d5e56b6d1ed0005921145f60712b
7
+ data.tar.gz: 5c6303d63569190b71e0f99b81df55308fccf6dc6f39042ebac8031f1e2a3e237bba37d0a8664d59370384b3cbf20c75e34c03aa9daf0dda0766aee2a696bd39
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- administration-zero (0.0.18)
4
+ administration-zero (1.0.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  module AdministrationZero
2
- VERSION = "0.0.18"
2
+ VERSION = "1.0.0"
3
3
  end
@@ -1,30 +1,21 @@
1
- <!-- Tabler Core -->
2
1
  <script src="https://cdn.jsdelivr.net/npm/@tabler/core@1.0.0-beta17/dist/js/tabler.min.js"></script>
3
-
4
- <!-- Time zone cookie -->
5
- <script type="module">
6
- import cookies from "https://cdn.jsdelivr.net/npm/js-cookie@3.0.1/dist/js.cookie.min.mjs"
7
- const { timeZone } = new Intl.DateTimeFormat().resolvedOptions()
8
- cookies.set("time_zone", timeZone, { expires: 365 })
9
- </script>
10
-
11
- <!-- Data confirm -->
12
- <script type="module">
13
- document.addEventListener("click", (event) => {
14
- if (!event.target.matches("[data-confirm]")) return
15
- if (!confirm(event.target.dataset["confirm"])) event.preventDefault()
16
- })
17
- </script>
2
+ <script src="https://cdn.jsdelivr.net/npm/@rails/ujs@7.0.4-2/lib/assets/compiled/rails-ujs.min.js"></script>
18
3
 
19
4
  <!-- Stimulus controllers -->
20
5
  <script type="module">
21
6
  import { Application, Controller } from "https://cdn.jsdelivr.net/npm/stimulus@3.2.1/dist/stimulus.min.js"
22
7
  window.Stimulus = Application.start()
23
8
 
24
- // Flash message
25
9
  Stimulus.register("flash-message", class extends Controller {
26
10
  connect() {
27
11
  new bootstrap.Toast(this.element).show()
28
12
  }
29
13
  })
30
14
  </script>
15
+
16
+ <!-- Time zone cookie -->
17
+ <script type="module">
18
+ import Cookies from "https://cdn.jsdelivr.net/npm/js-cookie@3.0.1/dist/js.cookie.min.mjs"
19
+ const { timeZone } = new Intl.DateTimeFormat().resolvedOptions()
20
+ Cookies.set("time_zone", timeZone, { expires: 365 })
21
+ </script>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administration-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nixon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-01 00:00:00.000000000 Z
11
+ date: 2023-03-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: