card-mod-date 0.13.0 → 0.13.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92decf95ebff8f0a03ac27e7f3d1f70efa49977b49be69786484ef950ad746af
|
4
|
+
data.tar.gz: 35555c683b35267a5d78c36ee755eafe1f21b7b3da313d47ebb58df1a59ef9f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a71b3c4d147130dd906c7bfcf974ae4fa10e3b9bee74785920806183a65f1003ebd3ad3f4ef5a8b15a874e781c6d7dee6f130e7eb75c671e8990ae287a56e30b
|
7
|
+
data.tar.gz: b5efdb97137f4e15ef0090767e5136f3de017ec91bae235e884b57c11d39738e46ca6aa06efb3e4a1f8a272052fba351be03aadef2a8c9a459a8b244280e6bbc
|
@@ -0,0 +1,26 @@
|
|
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())
|
data/set/all/calendar.rb
CHANGED
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.13.
|
4
|
+
version: 0.13.4
|
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-
|
13
|
+
date: 2021-09-24 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.103.
|
21
|
+
version: 1.103.4
|
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.103.
|
28
|
+
version: 1.103.4
|
29
29
|
description: ''
|
30
30
|
email:
|
31
31
|
- info@decko.org
|
@@ -33,6 +33,8 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
+
- assets/script/manifest.yml
|
37
|
+
- assets/script/script_datepicker_config.js.coffee
|
36
38
|
- db/migrate_core_cards/20180509141814_add_datepicker.rb
|
37
39
|
- db/migrate_core_cards/20210509141814_remove_datepicker_script_card.rb
|
38
40
|
- file/mod_date_script_datepicker_machine_output/file.js
|