active_frontend 16.0.16 → 16.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.DS_Store +0 -0
- data/lib/active_frontend/version.rb +1 -1
- data/vendor/.DS_Store +0 -0
- data/vendor/assets/.DS_Store +0 -0
- data/vendor/assets/javascripts/base/_affirm.js +4 -4
- data/vendor/assets/javascripts/base/_animation.js +1 -1
- data/vendor/assets/javascripts/base/_choicepicker.js +2 -2
- data/vendor/assets/javascripts/base/_colorpicker.js +1 -1
- data/vendor/assets/javascripts/base/_datepicker.js +1 -1
- data/vendor/assets/javascripts/base/_filepicker.js +3 -3
- data/vendor/assets/javascripts/base/_layout.js +2 -2
- data/vendor/assets/javascripts/base/_list.js +2 -2
- data/vendor/assets/javascripts/base/_selectpicker.js +2 -2
- data/vendor/assets/javascripts/base/_switch.js +2 -2
- data/vendor/assets/javascripts/base/_table.js +1 -1
- data/vendor/assets/javascripts/base/_tag.js +1 -1
- data/vendor/assets/javascripts/base/_timeago.js +1 -1
- data/vendor/assets/javascripts/base/_timepicker.js +1 -1
- data/vendor/assets/javascripts/base/_timezone.js +1 -1
- data/vendor/assets/javascripts/base/_tour.js +4 -4
- data/vendor/assets/stylesheets/blocks/_button.scss +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db1b6d864f551ec2e132922f1e7cf6302a36a15a0ef764f89c04a10a1bc9bce9
|
4
|
+
data.tar.gz: 91cc9fee3f1ff0b35ef1d963a906300a75ddf41b8ea78415d8b6f76291723b0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4ed20a613d1fd7e8c70e9a06e844bc9be9f59528c054764600349c597970cca6fcd475e8e46e353295feb1902e787b934b344f2ca4610eac4d6583eee8a3493
|
7
|
+
data.tar.gz: 6fd6c37f1e7b3f5be26ffb01c19c16bc63c862e5ecd52261d40f8108f4b8412fab820740ddeb9daad1b8ff3d620ec7d8045cc7e4c836c2b91f9450b6fd6ffaf5
|
data/.DS_Store
CHANGED
Binary file
|
data/vendor/.DS_Store
CHANGED
Binary file
|
data/vendor/assets/.DS_Store
CHANGED
Binary file
|
@@ -49,12 +49,12 @@
|
|
49
49
|
var _self = this;
|
50
50
|
var body = $('body');
|
51
51
|
|
52
|
-
this.$element.click
|
52
|
+
this.$element.on('click', function (e) {
|
53
53
|
e.stopPropagation();
|
54
54
|
e.preventDefault();
|
55
55
|
|
56
56
|
_self.displayFormat();
|
57
|
-
$.event.trigger('bs.affirm
|
57
|
+
$.event.trigger('display.bs.affirm');
|
58
58
|
_self.options.onDisplayCallback();
|
59
59
|
|
60
60
|
return false;
|
@@ -63,12 +63,12 @@
|
|
63
63
|
$('body')
|
64
64
|
.on('click', '[data-affirm-toggle="cancel"]', function () {
|
65
65
|
_self.cancelFormat();
|
66
|
-
$.event.trigger('bs.affirm
|
66
|
+
$.event.trigger('cancel.bs.affirm');
|
67
67
|
_self.options.onCancelCallback();
|
68
68
|
})
|
69
69
|
.on('click', '[data-affirm-toggle="confirm"]', function () {
|
70
70
|
_self.confirmFormat();
|
71
|
-
$.event.trigger('bs.affirm
|
71
|
+
$.event.trigger('confirm.bs.affirm');
|
72
72
|
_self.options.onConfirmCallback();
|
73
73
|
});
|
74
74
|
};
|
@@ -52,7 +52,7 @@
|
|
52
52
|
if (!_self.options.infinite) element.removeClass(animation);
|
53
53
|
if (_self.options.hide) element.addClass('hidden');
|
54
54
|
|
55
|
-
$.event.trigger('bs.animation
|
55
|
+
$.event.trigger('transition-end.bs.animation');
|
56
56
|
_self.options.onTransitionEndCallback();
|
57
57
|
});
|
58
58
|
};
|
@@ -177,7 +177,7 @@
|
|
177
177
|
});
|
178
178
|
|
179
179
|
$.event.trigger({
|
180
|
-
type: 'bs.choicepicker
|
180
|
+
type: 'check-all.bs.choicepicker',
|
181
181
|
value: checkAll.val()
|
182
182
|
});
|
183
183
|
_self.options.onCheckAllCallback(checkAll.val());
|
@@ -264,7 +264,7 @@
|
|
264
264
|
|
265
265
|
this.$element.val(label);
|
266
266
|
$.event.trigger({
|
267
|
-
type: 'bs.choicepicker
|
267
|
+
type: 'set-val.bs.choicepicker',
|
268
268
|
choice: label
|
269
269
|
});
|
270
270
|
this.options.onSetValCallback(label);
|
@@ -68,11 +68,11 @@
|
|
68
68
|
var files = _self.pushNameFiles();
|
69
69
|
|
70
70
|
if (files.length === 0) {
|
71
|
-
$.event.trigger('bs.filepicker
|
71
|
+
$.event.trigger('files-deselected.bs.filepicker');
|
72
72
|
_self.options.onFilesDeselectedCallback();
|
73
73
|
} else {
|
74
74
|
$.event.trigger({
|
75
|
-
type: 'bs.filepicker
|
75
|
+
type: 'files-selected.bs.filepicker',
|
76
76
|
count: files.length
|
77
77
|
});
|
78
78
|
_self.options.onFilesSelectedCallback(files.length);
|
@@ -94,7 +94,7 @@
|
|
94
94
|
});
|
95
95
|
|
96
96
|
if (window.navigator.userAgent.search(/firefox/i) > -1) {
|
97
|
-
this.$elementFilepicker.find('label').click
|
97
|
+
this.$elementFilepicker.find('label').on('click', function () {
|
98
98
|
_self.$element.click();
|
99
99
|
return false;
|
100
100
|
});
|
@@ -38,7 +38,7 @@
|
|
38
38
|
var _self = this;
|
39
39
|
var options = this.options;
|
40
40
|
|
41
|
-
this.$element.click
|
41
|
+
this.$element.on('click', function (e) {
|
42
42
|
e.stopPropagation();
|
43
43
|
e.preventDefault();
|
44
44
|
|
@@ -59,7 +59,7 @@
|
|
59
59
|
});
|
60
60
|
|
61
61
|
$.event.trigger({
|
62
|
-
type: 'bs.layout
|
62
|
+
type: 'toggle.bs.layout',
|
63
63
|
toggle: toggle
|
64
64
|
});
|
65
65
|
options.onToggleCallback(toggle);
|
@@ -63,13 +63,13 @@
|
|
63
63
|
list.append(emptyLi);
|
64
64
|
}
|
65
65
|
|
66
|
-
$.event.trigger('bs.list
|
66
|
+
$.event.trigger('placeholder.bs.list');
|
67
67
|
_self.options.onPlaceholderCallback();
|
68
68
|
}
|
69
69
|
}
|
70
70
|
|
71
71
|
$.event.trigger({
|
72
|
-
type: 'bs.list
|
72
|
+
type: 'visible-items.bs.list',
|
73
73
|
count: visible
|
74
74
|
});
|
75
75
|
_self.options.onVisibleItemsCallback(visible);
|
@@ -160,7 +160,7 @@
|
|
160
160
|
|
161
161
|
this.$element.val(value);
|
162
162
|
$.event.trigger({
|
163
|
-
type: 'bs.selectpicker
|
163
|
+
type: 'set-val.bs.selectpicker',
|
164
164
|
value: value
|
165
165
|
});
|
166
166
|
this.options.onSetValCallback(value);
|
@@ -173,7 +173,7 @@
|
|
173
173
|
.find("a[data-val='" + value + "']")
|
174
174
|
.addClass(this.options.optionSelectedClass);
|
175
175
|
$.event.trigger({
|
176
|
-
type: 'bs.selectpicker
|
176
|
+
type: 'change.bs.selectpicker',
|
177
177
|
old_value: this.$selected,
|
178
178
|
new_value: value
|
179
179
|
});
|
@@ -80,7 +80,7 @@
|
|
80
80
|
|
81
81
|
if (!silent) this.trigger();
|
82
82
|
|
83
|
-
$.event.trigger('bs.switch
|
83
|
+
$.event.trigger('on.bs.switch');
|
84
84
|
this.options.onOnCallback();
|
85
85
|
};
|
86
86
|
|
@@ -95,7 +95,7 @@
|
|
95
95
|
|
96
96
|
if (!silent) this.trigger();
|
97
97
|
|
98
|
-
$.event.trigger('bs.switch
|
98
|
+
$.event.trigger('off.bs.switch');
|
99
99
|
this.options.onOffCallback();
|
100
100
|
};
|
101
101
|
|
@@ -47,7 +47,7 @@
|
|
47
47
|
Tour.prototype.init = function () {
|
48
48
|
var _self = this;
|
49
49
|
|
50
|
-
this.$element.click
|
50
|
+
this.$element.on('click', function () {
|
51
51
|
if (_self.$totalItems === 0) return this;
|
52
52
|
|
53
53
|
if (_self.$active) {
|
@@ -144,7 +144,7 @@
|
|
144
144
|
this.removeItems();
|
145
145
|
|
146
146
|
$.event.trigger({
|
147
|
-
type: 'bs.tour
|
147
|
+
type: 'show.bs.tour',
|
148
148
|
item: item
|
149
149
|
});
|
150
150
|
this.options.onShowCallback(item);
|
@@ -167,14 +167,14 @@
|
|
167
167
|
}, 225);
|
168
168
|
|
169
169
|
$.event.trigger({
|
170
|
-
type: 'bs.tour
|
170
|
+
type: 'shown.bs.tour',
|
171
171
|
item: item
|
172
172
|
});
|
173
173
|
this.options.onShownCallback(item);
|
174
174
|
} else {
|
175
175
|
if (this.options.skip) this.nextItem();
|
176
176
|
$.event.trigger({
|
177
|
-
type: 'bs.tour
|
177
|
+
type: 'miss.bs.tour',
|
178
178
|
item: item
|
179
179
|
});
|
180
180
|
this.options.onMissCallback(item);
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_frontend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 16.0.
|
4
|
+
version: 16.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|