card-mod-date 0.11.5 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,3 @@
1
1
  include_set Abstract::CodeFile
2
2
 
3
- Self::ScriptEditors.add_item :script_datepicker_config
4
3
  All::Head::HtmlFormat.add_to_basket :mod_js_config, [:datepicker, "setDatepickerConfig"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card-mod-date
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.5
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-05-10 00:00:00.000000000 Z
13
+ date: 2021-08-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: card
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.101.5
21
+ version: 1.103.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 1.101.5
28
+ version: 1.103.0
29
29
  description: ''
30
30
  email:
31
31
  - info@decko.org
@@ -34,14 +34,14 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - db/migrate_core_cards/20180509141814_add_datepicker.rb
37
- - lib/javascript/script_datepicker_config.js.coffee
37
+ - db/migrate_core_cards/20210509141814_remove_datepicker_script_card.rb
38
+ - file/mod_date_script_datepicker_machine_output/file.js
38
39
  - lib/stylesheets/tempusdominus.scss
39
40
  - set/all/calendar.rb
40
41
  - set/right/when_created.rb
41
42
  - set/right/when_last_edited.rb
42
43
  - set/self/datepicker.rb
43
44
  - set/self/now.rb
44
- - set/self/script_datepicker.rb
45
45
  - set/self/script_datepicker_config.rb
46
46
  - set/self/style_datepicker.rb
47
47
  - set/type/date.rb
@@ -947,7 +947,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
947
947
  - !ruby/object:Gem::Version
948
948
  version: '0'
949
949
  requirements: []
950
- rubygems_version: 3.1.4
950
+ rubygems_version: 3.1.6
951
951
  signing_key:
952
952
  specification_version: 4
953
953
  summary: Calendar editor
@@ -1,26 +0,0 @@
1
- decko.addEditor(
2
- '.date-editor',
3
- ->
4
- decko.initDatepicker($(this))
5
- ->
6
- @val()
7
- )
8
-
9
- $.extend decko,
10
- setDatepickerConfig: (string) ->
11
- setter = ->
12
- try
13
- $.parseJSON string
14
- catch
15
- {}
16
- decko.datepickerConfig = setter()
17
-
18
- configDatepicker: () ->
19
- conf = { format: "YY-MM-DD" }
20
- hard_conf = {}
21
- user_conf = if decko.datepickerConfig? then decko.datepickerConfig else {}
22
- $.extend conf, user_conf, hard_conf
23
- conf
24
-
25
- initDatepicker: (input) ->
26
- input.datetimepicker(decko.configDatepicker())
@@ -1,7 +0,0 @@
1
- include_set Abstract::VendorCodeFile
2
- Self::ScriptMods.add_item :script_datepicker
3
-
4
- def source_files
5
- %w[moment/min/moment-with-locales.min.js
6
- tempusdominus/build/js/tempusdominus-bootstrap-4.js]
7
- end