card-mod-date 0.13.1 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/script/manifest.yml +5 -0
- data/assets/script/script_datepicker_config.js.coffee +26 -0
- data/assets/style/manifest.yml +4 -0
- data/{lib/stylesheets → assets/style}/tempusdominus.scss +0 -0
- data/set/all/calendar.rb +2 -1
- metadata +9 -9
- data/file/mod_date_script_datepicker_machine_output/file.js +0 -2820
- data/set/self/script_datepicker_config.rb +0 -3
- data/set/self/style_datepicker.rb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf10724dd1e031de21841ae4e444c9539ae90d88e290baeb546b6570654e30bd
|
4
|
+
data.tar.gz: ce068cd5644b719055ce864cea93786aa9f8f714ee67d7364acdc5a0e1dddd9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 525e133cff5a27eae45e2f814a111297533ea3f3781164b3851c8bec7ba460903b8a510ac3f4d9de7b886d8d8863b733e22c1e1a0e3da1c4855b0598441b2eb5
|
7
|
+
data.tar.gz: 63350c2266a6067be26e4cd9a139c55b11496a471575b4089480a74da4ae43924f0fbb74d6b7d19438c9ba416a4bab30d8d7856545bcfe3e173626c4d99aac90
|
@@ -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())
|
File without changes
|
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.
|
4
|
+
version: 0.14.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-
|
13
|
+
date: 2021-12-22 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.
|
21
|
+
version: 1.104.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.
|
28
|
+
version: 1.104.0
|
29
29
|
description: ''
|
30
30
|
email:
|
31
31
|
- info@decko.org
|
@@ -33,17 +33,17 @@ 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
|
38
|
+
- assets/style/manifest.yml
|
39
|
+
- assets/style/tempusdominus.scss
|
36
40
|
- db/migrate_core_cards/20180509141814_add_datepicker.rb
|
37
41
|
- db/migrate_core_cards/20210509141814_remove_datepicker_script_card.rb
|
38
|
-
- file/mod_date_script_datepicker_machine_output/file.js
|
39
|
-
- lib/stylesheets/tempusdominus.scss
|
40
42
|
- set/all/calendar.rb
|
41
43
|
- set/right/when_created.rb
|
42
44
|
- set/right/when_last_edited.rb
|
43
45
|
- set/self/datepicker.rb
|
44
46
|
- set/self/now.rb
|
45
|
-
- set/self/script_datepicker_config.rb
|
46
|
-
- set/self/style_datepicker.rb
|
47
47
|
- set/type/date.rb
|
48
48
|
- vendor/moment/CHANGELOG.md
|
49
49
|
- vendor/moment/CONTRIBUTING.md
|
@@ -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.
|
950
|
+
rubygems_version: 3.2.15
|
951
951
|
signing_key:
|
952
952
|
specification_version: 4
|
953
953
|
summary: Calendar editor
|