thecore_ui_commons 2.3.5 → 2.3.9

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: 2eadcb0a11efa653a978b486e42b38aa17442ae5dc949c448467de97361a8918
4
- data.tar.gz: 38eb74c925c6ed989658b12a49e4e74d2c17b9b1d05f6e4fcdf5f250d937d098
3
+ metadata.gz: 6b1246d6a27d8df20cb6b1094c6a12f8d19558bbb1c0f8dec47881db20de6162
4
+ data.tar.gz: babd136cbc94fd323bde4e6819686c58118ed60ecf589daf6cb9fde560ebd3ce
5
5
  SHA512:
6
- metadata.gz: aef023c693cf746c2edf73b9aef05614188c06d8c2e616b331853f5f63410866e47a5fae7f8ef09ff384b1a508938d24890b33ff0c5983ef7c5faa25c7a6100f
7
- data.tar.gz: 382c936669259c399086a598f89b32bd5d1a553e77b31bcd259e1606bc6853c0846ef4c79817fe41555e3d945b2fa29c87dff115ae92ed4777f9437ec4b99937
6
+ metadata.gz: 47a71fa34e769725dd453ba3e63cd8722bb87b069e16c051b774eec203d756a8cacf741a35c8f0b32d7aea9483b9b626d3d433b74d427eeffd85427fde81a723
7
+ data.tar.gz: ef3836652aa8d6ca5fe5297d6cb02c96fe41757a46b241b8344371a155f699cde3b507a061f833d425a8282969f5aed66d3b31aff1d51c3b8d113d0cd0d4d929
@@ -1,8 +1,3 @@
1
- //= require jquery
2
- //= require jquery-ui
3
- //= require jquery-ui/widgets/dialog
4
- //= require jquery_ujs
5
- //= require bootstrap
6
1
  //= require ie
7
2
  //= require timer
8
3
  //= require apexcharts
@@ -42,7 +42,7 @@
42
42
  .progress-bar {
43
43
  /* Initial width of the progress bar */
44
44
  width: 0%;
45
- background-color: lightgrey;
45
+ background-color: darkgray;
46
46
  }
47
47
  </style>
48
48
 
@@ -1,44 +1,47 @@
1
1
  require 'date'
2
2
  module Helpers
3
3
  module ChartsHelper
4
- def candlestick_data
5
- @acc = rand(6570..6650)
6
- 60.times.map {|i| [Date.today - 60 + i, ohlc] }.to_h
7
- end
4
+ # Please override this in your gems to add charts, here some
5
+ # working, but commented out charts as example.
6
+
7
+ # def candlestick_data
8
+ # @acc = rand(6570..6650)
9
+ # 60.times.map {|i| [Date.today - 60 + i, ohlc] }.to_h
10
+ # end
8
11
 
9
- def ohlc
10
- open = @acc + rand(-20..20)
11
- high = open + rand(0..100)
12
- low = open - rand(0..100)
13
- @acc = close = open + rand(-((high-low)/3)..((high-low)/2))
14
- [open, high, low, close]
15
- end
12
+ # def ohlc
13
+ # open = @acc + rand(-20..20)
14
+ # high = open + rand(0..100)
15
+ # low = open - rand(0..100)
16
+ # @acc = close = open + rand(-((high-low)/3)..((high-low)/2))
17
+ # [open, high, low, close]
18
+ # end
16
19
 
17
- ### HIGH PRIORITY CHARTS
18
- def charts_high_pie_demo
19
- pie_chart([{name: "Series A", data: 25},{name: "Series B", data: 100},{name: "Series C", data: 200},{name: "Series D", data: 125}], legend: "left")
20
- end
20
+ # ### HIGH PRIORITY CHARTS
21
+ # def charts_high_pie_demo
22
+ # pie_chart([{name: "Series A", data: 25},{name: "Series B", data: 100},{name: "Series C", data: 200},{name: "Series D", data: 125}], legend: "left")
23
+ # end
21
24
 
22
- def charts_high_candlestick_demo
23
- candlestick_options = {plot_options: {candlestick: {colors: {upward: '#3C90EB',downward: '#DF7D46'}}}}
24
- candlestick_chart(candlestick_data, candlestick_options)
25
- end
25
+ # def charts_high_candlestick_demo
26
+ # candlestick_options = {plot_options: {candlestick: {colors: {upward: '#3C90EB',downward: '#DF7D46'}}}}
27
+ # candlestick_chart(candlestick_data, candlestick_options)
28
+ # end
26
29
 
27
- ### MEDIUM PRIORITY CHARTS
28
- def charts_medium_radar_demo
29
- radar_series = [{name: "What it should be",data: { "Code review"=>10, "Issues"=>5, "Pull request"=>25, "Commits"=>60 }},{name: "What it really is",data: { "Code review"=>1, "Issues"=>3, "Pull request"=>7, "Commits"=>89 }}]
30
- radar_chart(radar_series,{title: "GitHub Radar", markers: {size: 4}, theme: 'palette4'})
31
- end
30
+ # ### MEDIUM PRIORITY CHARTS
31
+ # def charts_medium_radar_demo
32
+ # radar_series = [{name: "What it should be",data: { "Code review"=>10, "Issues"=>5, "Pull request"=>25, "Commits"=>60 }},{name: "What it really is",data: { "Code review"=>1, "Issues"=>3, "Pull request"=>7, "Commits"=>89 }}]
33
+ # radar_chart(radar_series,{title: "GitHub Radar", markers: {size: 4}, theme: 'palette4'})
34
+ # end
32
35
 
33
- def charts_medium_bubble_demo
34
- bubble_series = (1..4).map do |n|{name: "Bubble#{n}",data: 20.times.map{[rand(750),rand(10..60),rand(70)]}}end
35
- bubble_chart(bubble_series, data_labels: false, theme: 'palette6')
36
- end
36
+ # def charts_medium_bubble_demo
37
+ # bubble_series = (1..4).map do |n|{name: "Bubble#{n}",data: 20.times.map{[rand(750),rand(10..60),rand(70)]}}end
38
+ # bubble_chart(bubble_series, data_labels: false, theme: 'palette6')
39
+ # end
37
40
 
38
- def charts_medium_range_demo
39
- range_bar_series = [{name: "Series A",data: {'A' => [1, 5],'B' => [4, 6],'C' => [5, 8],'D' => [3, 11]}}, {name: "Series B",data: {'A' => [2, 6],'B' => [1, 3],'C' => [7, 8],'D' => [5, 9]}}]
40
- range_bar_chart(range_bar_series, theme: 'palette3')
41
- end
41
+ # def charts_medium_range_demo
42
+ # range_bar_series = [{name: "Series A",data: {'A' => [1, 5],'B' => [4, 6],'C' => [5, 8],'D' => [3, 11]}}, {name: "Series B",data: {'A' => [2, 6],'B' => [1, 3],'C' => [7, 8],'D' => [5, 9]}}]
43
+ # range_bar_chart(range_bar_series, theme: 'palette3')
44
+ # end
42
45
  end
43
46
  end
44
47
 
@@ -1,4 +1,4 @@
1
1
  en:
2
2
  activerecord:
3
3
  models:
4
- rails_admin_settings/setting: Configurations
4
+ thecore_settings/setting: Configurations
@@ -1,4 +1,4 @@
1
1
  it:
2
2
  activerecord:
3
3
  models:
4
- rails_admin_settings/setting: Configurations
4
+ thecore_settings/setting: Configurations
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_ui_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.5
4
+ version: 2.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-16 00:00:00.000000000 Z
11
+ date: 2021-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_background_jobs