satis 2.1.42 → 2.1.44
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: ce02d66be1d01ea4fc3dabe5dd5cba8a88dc8e407aa087ccee67c5f3a1f089a1
|
4
|
+
data.tar.gz: 05c915783fc59fdaefc9b7556c3a9240a29af60d39be3e4f6350c441ac23b2bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf74b332fc5611214b5afdc18cdfba24bf44bfc599e4bf9e41b6b9f45972fa3cd991dec0fec3407f5b9cb39556097f6128af8985f32d45831dc7274766810f15
|
7
|
+
data.tar.gz: e0b207b2928240552ba7a7f15dc9eb8585ab7f41ab3d13ab7d2de647b48544e142b1f0ac89c2b0114583af969cb2dc71a210c0b09e32feaf17462c33a679ccdb
|
@@ -23,6 +23,13 @@
|
|
23
23
|
}
|
24
24
|
}
|
25
25
|
|
26
|
+
.satis-dropdown:focus-within {
|
27
|
+
outline: none;
|
28
|
+
box-shadow: 0 0 0 3px #3b82f6;
|
29
|
+
border-radius: 0.5rem;
|
30
|
+
transition: box-shadow 0.1s ease-in-out;
|
31
|
+
}
|
32
|
+
|
26
33
|
.topbar .satis-dropdown .sts-dropdown{
|
27
34
|
@apply bg-white dark:bg-gray-900 outline dark:outline-none outline-gray-200 outline-1 rounded-md shadow-none shadow-md;
|
28
35
|
}
|
@@ -12,7 +12,7 @@ div.satis-dropdown data-action="keydown->satis-dropdown#dispatch" data-controlle
|
|
12
12
|
.h-12.p-1.flex.rounded
|
13
13
|
.flex.flex-auto.flex-wrap.sts-dropdown-input
|
14
14
|
/ Input where you can search
|
15
|
-
input.border-none.p-1.px-2.appearance-none.w-full.sts-dropdown-input.text-gray-800.dark:text-gray-300 data-action="input->satis-dropdown#search" data-satis-dropdown-target="searchInput" placeholder=placeholder autofocus=options[:autofocus]
|
15
|
+
input.focus:ring-0.border-none.p-1.px-2.appearance-none.w-full.sts-dropdown-input.text-gray-800.dark:text-gray-300 data-action="input->satis-dropdown#search" data-satis-dropdown-target="searchInput" placeholder=placeholder autofocus=options[:autofocus]
|
16
16
|
div
|
17
17
|
/ Reset button
|
18
18
|
- unless @reset_button == false
|
@@ -30,12 +30,16 @@ export default class extends ApplicationController {
|
|
30
30
|
|
31
31
|
connect() {
|
32
32
|
this.boundUpdate = this.update.bind(this)
|
33
|
-
this.
|
33
|
+
this.inputTargets.forEach((input) => {
|
34
|
+
input.addEventListener("change", this.boundUpdate)
|
35
|
+
})
|
34
36
|
this.update()
|
35
37
|
}
|
36
38
|
|
37
39
|
disconnect() {
|
38
|
-
this.
|
40
|
+
this.inputTargets.forEach((input) => {
|
41
|
+
input.removeEventListener("change", this.boundUpdate)
|
42
|
+
})
|
39
43
|
}
|
40
44
|
|
41
45
|
update(event) {
|
@@ -83,7 +87,9 @@ export default class extends ApplicationController {
|
|
83
87
|
}
|
84
88
|
|
85
89
|
get currentValue() {
|
86
|
-
if (this.
|
90
|
+
if (this.inputTargets.length >= 1 && this.inputTargets[0].type == "radio") {
|
91
|
+
return this.inputTargets.find((input) => input.checked)?.value
|
92
|
+
} else if (this.inputTarget.type == "checkbox") {
|
87
93
|
return this.inputTarget.checked ? "true" : "false"
|
88
94
|
} else if (this.inputTarget.tagName == "SELECT" && this.data.get("attr")) {
|
89
95
|
let option = this.inputTarget.options[this.inputTarget.selectedIndex]
|
data/lib/satis/version.rb
CHANGED
data/yarn.lock
CHANGED
@@ -385,11 +385,6 @@ jiti@^1.19.1:
|
|
385
385
|
resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.0.tgz#7c97f8fe045724e136a397f7340475244156105d"
|
386
386
|
integrity sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==
|
387
387
|
|
388
|
-
leaflet@^1.9.4:
|
389
|
-
version "1.9.4"
|
390
|
-
resolved "https://registry.yarnpkg.com/leaflet/-/leaflet-1.9.4.tgz#23fae724e282fa25745aff82ca4d394748db7d8d"
|
391
|
-
integrity sha512-nxS1ynzJOmOlHp+iL3FyWqK89GtNL8U8rvlMOsQdTTssxZwCXh8N2NB3GDQOL+YR3XnWyZAxwQixURb+FA74PA==
|
392
|
-
|
393
388
|
lilconfig@^2.1.0:
|
394
389
|
version "2.1.0"
|
395
390
|
resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.1.0.tgz#78e23ac89ebb7e1bfbf25b18043de756548e7f52"
|
@@ -662,8 +657,16 @@ source-map@^0.6.1:
|
|
662
657
|
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
|
663
658
|
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
|
664
659
|
|
665
|
-
"string-width-cjs@npm:string-width@^4.2.0"
|
666
|
-
|
660
|
+
"string-width-cjs@npm:string-width@^4.2.0":
|
661
|
+
version "4.2.3"
|
662
|
+
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
|
663
|
+
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
|
664
|
+
dependencies:
|
665
|
+
emoji-regex "^8.0.0"
|
666
|
+
is-fullwidth-code-point "^3.0.0"
|
667
|
+
strip-ansi "^6.0.1"
|
668
|
+
|
669
|
+
string-width@^4.1.0:
|
667
670
|
version "4.2.3"
|
668
671
|
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
|
669
672
|
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
|
@@ -681,8 +684,14 @@ string-width@^5.0.1, string-width@^5.1.2:
|
|
681
684
|
emoji-regex "^9.2.2"
|
682
685
|
strip-ansi "^7.0.1"
|
683
686
|
|
684
|
-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1"
|
685
|
-
|
687
|
+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
|
688
|
+
version "6.0.1"
|
689
|
+
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
|
690
|
+
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
|
691
|
+
dependencies:
|
692
|
+
ansi-regex "^5.0.1"
|
693
|
+
|
694
|
+
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
|
686
695
|
version "6.0.1"
|
687
696
|
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
|
688
697
|
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
|
@@ -775,11 +784,6 @@ to-regex-range@^5.0.1:
|
|
775
784
|
dependencies:
|
776
785
|
is-number "^7.0.0"
|
777
786
|
|
778
|
-
trix@^2.0.10:
|
779
|
-
version "2.0.10"
|
780
|
-
resolved "https://registry.yarnpkg.com/trix/-/trix-2.0.10.tgz#43f1ff7a94c42f708bd2bad3a2783147c0583698"
|
781
|
-
integrity sha512-a24w8rNVL+g9nDDdiDZwQVQ9AEWiXAmk9r0ZbwimczJi/xlaM+m0d6upAi0vysDNu0HsiYDFS1/VrR7HbX0Aig==
|
782
|
-
|
783
787
|
ts-interface-checker@^0.1.9:
|
784
788
|
version "0.1.13"
|
785
789
|
resolved "https://registry.yarnpkg.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: satis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.44
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom de Grunt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: browser
|