thecore_dataentry_commons 2.0.1 → 2.1.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: e7e1ec2618c611bfd7ecf1c5bd25a021b1371e8fc1e518cedeb179877380668a
4
- data.tar.gz: 95c6025fd0cb286fa150aeec8cd9eb83e81e6660924250209a900aa300c06012
3
+ metadata.gz: 90c8c94f7a4672fe23a56984f36a46eee97853773e8af4578cb071b6f83f94dc
4
+ data.tar.gz: e6f913a2c9d11451693c89b1752c34c2678418afc580ed91ccfd0d1222d3081f
5
5
  SHA512:
6
- metadata.gz: c1829970cebb97ac0f2ec358db7a5f244a1101513a4a2b150fa5b0483b874fff681a2bbaa578d3aa086ec922ea5a8ad6a0bc04d581914bc16fae6b13f25ecddb
7
- data.tar.gz: 8de5519f780b1dc693c71d94b16107c2f71ad68fe0339bd5d4b9a6e4e754e0f873ecfcd839003f185932f997d70914f371f2ec0c98e6b7dcd2bbaa037cc317dc
6
+ metadata.gz: cc673fb4570215ec3bb73c85aedcf43f4da1103cea9ea439607b21a5d231df9de0e7bbbcf01b8cef9b3aa706b0ed1cc3fcc32bebc39ffdaf1e1e227be6fa2425
7
+ data.tar.gz: e41ab02a87f66f78f723d5253c6111ed1ebd65eace5e3382dcb24b4a22978bf2c9a17a832a45c1f0bc9d2f4a90bb933bf488388a678b26f68725b905e672246f
@@ -9,10 +9,10 @@
9
9
  var returnedData;
10
10
  var additionalData = {};
11
11
  var disableKeyManagement = false;
12
+ var cleanBarcode = true;
12
13
 
13
14
  function resetInfo() {
14
15
  returnedData = code = undefined;
15
- $("#barcode").empty();
16
16
  $("#data-info").empty().hide();
17
17
  $("#data-content").empty().hide();
18
18
  <%-unless (hide_action rescue true)%>
@@ -2,7 +2,7 @@
2
2
  function resetCurrentBtn() {
3
3
  $("#send").button('reset');
4
4
  $("#barcode").prop('disabled', false);
5
- $("#barcode").val('');
5
+ if (cleanBarcode) $("#barcode").empty();
6
6
  // sendMessageToServer(msg_input_plugin_enable); clickedBtn = code = null;
7
7
  }
8
8
  </script>
@@ -13,13 +13,13 @@
13
13
  allowInputToggle: true,
14
14
  sideBySide: true,
15
15
  icons: {
16
- time: 'fa fa-clock',
16
+ time: 'fa fa-clock-o',
17
17
  date: 'fa fa-calendar',
18
18
  up: 'fa fa-chevron-up',
19
19
  down: 'fa fa-chevron-down',
20
20
  previous: 'fa fa-chevron-left',
21
21
  next: 'fa fa-chevron-right',
22
- today: 'fa fa-calendar-check',
22
+ today: 'fa fa-calendar-check-o',
23
23
  clear: 'fa fa-trash',
24
24
  close: 'fa fa-times'
25
25
  }
@@ -45,13 +45,13 @@
45
45
  allowInputToggle: true,
46
46
  format: 'L',
47
47
  icons: {
48
- time: 'fa fa-clock',
48
+ time: 'fa fa-clock-o',
49
49
  date: 'fa fa-calendar',
50
50
  up: 'fa fa-chevron-up',
51
51
  down: 'fa fa-chevron-down',
52
52
  previous: 'fa fa-chevron-left',
53
53
  next: 'fa fa-chevron-right',
54
- today: 'fa fa-calendar-check',
54
+ today: 'fa fa-calendar-check-o',
55
55
  clear: 'fa fa-trash',
56
56
  close: 'fa fa-times'
57
57
  }
@@ -1,3 +1,3 @@
1
1
  module ThecoreDataentryCommons
2
- VERSION = '2.0.1'.freeze
2
+ VERSION = "#{`git describe --tags $(git rev-list --tags --max-count=1)`}"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_dataentry_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-29 00:00:00.000000000 Z
11
+ date: 2021-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_ui_rails_admin
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  requirements: []
85
- rubygems_version: 3.1.2
85
+ rubygems_version: 3.0.3
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: Some javascripts and partials to handle DW WS.