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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c43f51e2ff3c462619cfcf863ef950a86c0af80ff147b2eb7481748de29e587e
4
- data.tar.gz: 60595986e4aef5576af27a6cb6c9a043f75c47722e776832f656884c7e83ece8
3
+ metadata.gz: db1b6d864f551ec2e132922f1e7cf6302a36a15a0ef764f89c04a10a1bc9bce9
4
+ data.tar.gz: 91cc9fee3f1ff0b35ef1d963a906300a75ddf41b8ea78415d8b6f76291723b0b
5
5
  SHA512:
6
- metadata.gz: ccce633224909c3d5f32d4d61cb208e72578280233f422e16e6ee0f9e5374b2c36602b1e3a14f7e1b6ca1bc0f2649be3c6693637433814f66a0c78717073d832
7
- data.tar.gz: 953860de54d84dbce0e5dfde58d1f4d17e3632effe16ade477e8c7b02fd731e8e74566bf7d23fee4b32e3796cf0a61188d68c206d0525fc4ab3853d261537043
6
+ metadata.gz: e4ed20a613d1fd7e8c70e9a06e844bc9be9f59528c054764600349c597970cca6fcd475e8e46e353295feb1902e787b934b344f2ca4610eac4d6583eee8a3493
7
+ data.tar.gz: 6fd6c37f1e7b3f5be26ffb01c19c16bc63c862e5ecd52261d40f8108f4b8412fab820740ddeb9daad1b8ff3d620ec7d8045cc7e4c836c2b91f9450b6fd6ffaf5
data/.DS_Store CHANGED
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveFrontend
4
- VERSION ||= '16.0.16'
4
+ VERSION ||= '16.0.17'
5
5
  end
Binary file
Binary file
@@ -49,12 +49,12 @@
49
49
  var _self = this;
50
50
  var body = $('body');
51
51
 
52
- this.$element.click(function (e) {
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.on-display');
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.on-cancel');
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.on-confirm');
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.on-transition-end');
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.on-check-all',
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.on-set-val',
267
+ type: 'set-val.bs.choicepicker',
268
268
  choice: label
269
269
  });
270
270
  this.options.onSetValCallback(label);
@@ -106,7 +106,7 @@
106
106
 
107
107
  this.$element.val(color);
108
108
  $.event.trigger({
109
- type: 'bs.colorpicker.on-set-val',
109
+ type: 'set-val.bs.colorpicker',
110
110
  color: color
111
111
  });
112
112
  this.options.onSetValCallback(color);
@@ -294,7 +294,7 @@
294
294
 
295
295
  this.$element.val(value);
296
296
  $.event.trigger({
297
- type: 'bs.datepicker.on-set-val',
297
+ type: 'set-val.bs.datepicker',
298
298
  value: value
299
299
  });
300
300
  this.options.onSetValCallback(value);
@@ -68,11 +68,11 @@
68
68
  var files = _self.pushNameFiles();
69
69
 
70
70
  if (files.length === 0) {
71
- $.event.trigger('bs.filepicker.on-files-deselected');
71
+ $.event.trigger('files-deselected.bs.filepicker');
72
72
  _self.options.onFilesDeselectedCallback();
73
73
  } else {
74
74
  $.event.trigger({
75
- type: 'bs.filepicker.on-files-selected',
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(function () {
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(function (e) {
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.on-toggle',
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.on-placeholder');
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.on-visible-items',
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.on-set-val',
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.on-change',
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.on-on');
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.on-off');
98
+ $.event.trigger('off.bs.switch');
99
99
  this.options.onOffCallback();
100
100
  };
101
101
 
@@ -116,7 +116,7 @@
116
116
  }
117
117
 
118
118
  $.event.trigger({
119
- type: 'bs.table.on-sort',
119
+ type: 'sort.bs.table',
120
120
  direction: dataSort
121
121
  });
122
122
  _self.options.onSortCallback(dataSort);
@@ -119,7 +119,7 @@
119
119
  });
120
120
 
121
121
  $.event.trigger({
122
- type: 'bs.tag.on-tag-exists',
122
+ type: 'tag-exists.bs.tag',
123
123
  item: item,
124
124
  tag: $existingTag
125
125
  });
@@ -72,7 +72,7 @@
72
72
 
73
73
  Timeago.prototype.refresh = function () {
74
74
  this.updateTime();
75
- $.event.trigger('bs.timeago.on-refresh');
75
+ $.event.trigger('refresh.bs.timeago');
76
76
  this.options.onRefreshCallback();
77
77
  return this.updateInterval();
78
78
  };
@@ -346,7 +346,7 @@
346
346
 
347
347
  this.setTime(value);
348
348
  $.event.trigger({
349
- type: 'bs.timepicker.on-set-val',
349
+ type: 'set-val.bs.timepicker',
350
350
  value: value
351
351
  });
352
352
  this.options.onSetValCallback(value);
@@ -75,7 +75,7 @@
75
75
 
76
76
  var timezone = this.options.timezones[offset];
77
77
  $.event.trigger({
78
- type: 'bs.timezone.on-get-timezone',
78
+ type: 'get-timezone.bs.timezone',
79
79
  timezone: timezone
80
80
  });
81
81
  this.options.onGetTimezoneCallback(timezone);
@@ -47,7 +47,7 @@
47
47
  Tour.prototype.init = function () {
48
48
  var _self = this;
49
49
 
50
- this.$element.click(function () {
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.on-show',
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.on-shown',
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.on-miss',
177
+ type: 'miss.bs.tour',
178
178
  item: item
179
179
  });
180
180
  this.options.onMissCallback(item);
@@ -52,7 +52,7 @@
52
52
  .badge,
53
53
  .label {
54
54
  font-size: text-size(xxxs);
55
- padding: 2px 1px 1px;
55
+ padding: 1px 1px 2px;
56
56
  min-width: 9px;
57
57
  vertical-align: top;
58
58
  }
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.16
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-18 00:00:00.000000000 Z
11
+ date: 2018-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails