card-mod-bar_and_box 0.18.0 → 0.19.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 364bdc5a4d90c59ee624e9e731ac7e9f177e403755912338a62d2a193242a245
|
4
|
+
data.tar.gz: 2244d6c15101efd2038c9181146605496cba247db42979386dfc31cac09a4529
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14584fa0098fc8ea2fae743add79d642afcca1d69ed623dff098fe650fb2a63470df4a9aa6a6598ea498c0cbaaa027eb301ef7869da2d533bb4045ab9b028956
|
7
|
+
data.tar.gz: bb9190326c7233a18d672c12be7c6ba159e38f6827453443a29e510c9123610bfeab6cd32357df6e148968eafb3ea87fb7f926463c1845919b9a8132b1d44f81
|
@@ -0,0 +1,4 @@
|
|
1
|
+
// bar_and_box.js.coffee
|
2
|
+
(function(){var a,n;$(function(){return $(document).on("click","._card-link",function(t){var r;return"on"===(r=$(this)).data("skip")?r.data("skip",null):n(t)?window.open(a(r),"_tab_"+Math.floor(1e3*Math.random())):r.closest("._card-link-modal")[0]?r.find("._modal-page-link").trigger("click"):window.location=a(r)}),$("body").on("shown.bs.collapse",".bar > .collapse",function(){var a;return(a=$(this).find("> .d0-card-body > .card-slot-stub")).slotReload(a.data("stubUrl")),a.removeClass("card-slot-stub")})}),n=function(a){return a.metaKey},a=function(a){return decko.path(a.data("cardLinkUrl")||a.data("cardLinkName"))},decko.slot.ready(function(a){return a.find("._card-link a, ._card-link ._card-link-clickable").on("click",function(a){var n;return(n=$(this)).hasClass("_over-card-link")||n.closest("._over-card-link")[0]?n.closest("._card-link").data("skip","on"):a.preventDefault()})})}).call(this);
|
3
|
+
// click_select.js.coffee
|
4
|
+
(function(){$(window).ready(function(){return $("body").on("click","._click-multiselect-editor ._select-item",function(e){return $(this).closest("._select-item").toggleClass("selected"),e.stopPropagation()}),$("body").on("click","._click-select-editor ._select-item",function(e){return $(this).closest("._click-select-editor").find(".selected").removeClass("selected"),$(this).closest("._select-item").addClass("selected"),e.stopPropagation()})})}).call(this);
|
metadata
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card-mod-bar_and_box
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan McCutchen
|
8
8
|
- Philipp Kühl
|
9
9
|
- Gerry Gleason
|
10
|
-
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: card
|
@@ -18,28 +17,28 @@ dependencies:
|
|
18
17
|
requirements:
|
19
18
|
- - '='
|
20
19
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.
|
20
|
+
version: 1.109.0
|
22
21
|
type: :runtime
|
23
22
|
prerelease: false
|
24
23
|
version_requirements: !ruby/object:Gem::Requirement
|
25
24
|
requirements:
|
26
25
|
- - '='
|
27
26
|
- !ruby/object:Gem::Version
|
28
|
-
version: 1.
|
27
|
+
version: 1.109.0
|
29
28
|
- !ruby/object:Gem::Dependency
|
30
29
|
name: card-mod-style
|
31
30
|
requirement: !ruby/object:Gem::Requirement
|
32
31
|
requirements:
|
33
32
|
- - '='
|
34
33
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
34
|
+
version: 0.19.0
|
36
35
|
type: :runtime
|
37
36
|
prerelease: false
|
38
37
|
version_requirements: !ruby/object:Gem::Requirement
|
39
38
|
requirements:
|
40
39
|
- - '='
|
41
40
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
41
|
+
version: 0.19.0
|
43
42
|
description: ''
|
44
43
|
email:
|
45
44
|
- info@decko.org
|
@@ -55,7 +54,7 @@ files:
|
|
55
54
|
- assets/style/box.scss
|
56
55
|
- assets/style/image_box.scss
|
57
56
|
- config/admin.yml
|
58
|
-
- data/files/
|
57
|
+
- data/files/mod_bar_and_box/script/asset_output/file.js
|
59
58
|
- set/abstract/media.rb
|
60
59
|
- set/abstract/media/media_snippet.haml
|
61
60
|
- set/all/bar.haml
|
@@ -76,7 +75,6 @@ metadata:
|
|
76
75
|
documentation_url: http://docs.decko.org/
|
77
76
|
card-mod: bar_and_box
|
78
77
|
card-mod-group: gem-defaults
|
79
|
-
post_install_message:
|
80
78
|
rdoc_options: []
|
81
79
|
require_paths:
|
82
80
|
- lib
|
@@ -84,15 +82,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
82
|
requirements:
|
85
83
|
- - ">="
|
86
84
|
- !ruby/object:Gem::Version
|
87
|
-
version: '3.
|
85
|
+
version: '3.2'
|
88
86
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
87
|
requirements:
|
90
88
|
- - ">="
|
91
89
|
- !ruby/object:Gem::Version
|
92
90
|
version: '0'
|
93
91
|
requirements: []
|
94
|
-
rubygems_version: 3.
|
95
|
-
signing_key:
|
92
|
+
rubygems_version: 3.6.8
|
96
93
|
specification_version: 4
|
97
94
|
summary: bar and box views
|
98
95
|
test_files: []
|
@@ -1,4 +0,0 @@
|
|
1
|
-
// bar_and_box.js.coffee
|
2
|
-
(function(){var n,a;$(window).ready(function(){return $(document).on("click","._card-link",function(i){var r;return"on"===(r=$(this)).data("skip")?r.data("skip",null):a(i)?window.open(n(r),"_tab_"+Math.floor(1e3*Math.random())):r.closest("._card-link-modal")[0]?r.find("._modal-page-link").trigger("click"):window.location=n(r)})}),a=function(n){return n.metaKey},n=function(n){return decko.path(n.data("cardLinkUrl")||n.data("cardLinkName"))},decko.slot.ready(function(n){return n.find("._card-link a, ._card-link ._card-link-clickable").on("click",function(n){var a;return(a=$(this)).hasClass("_over-card-link")||a.closest("._over-card-link")[0]?a.closest("._card-link").data("skip","on"):n.preventDefault()})})}).call(this);
|
3
|
-
// click_select.js.coffee
|
4
|
-
(function(){$(window).ready(function(){return $("body").on("click","._click-multiselect-editor ._select-item",function(e){return $(this).closest("._select-item").toggleClass("selected"),e.stopPropagation()}),$("body").on("click","._click-select-editor ._select-item",function(e){return $(this).closest("._click-select-editor").find(".selected").removeClass("selected"),$(this).closest("._select-item").addClass("selected"),e.stopPropagation()})})}).call(this);
|