Skip to content

Commit

Permalink
DashR 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-André Rivet committed Oct 20, 2020
1 parent 0854cb3 commit 898f612
Show file tree
Hide file tree
Showing 46 changed files with 307 additions and 65,288 deletions.
2 changes: 1 addition & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ demo/.*\.js
demo/.*\.html
demo/.*\.css

# ignore python files/folders
# ignore Python files/folders
setup.py
usage.py
setup.py
Expand Down
5 changes: 2 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
Package: dashDaq
Title: Interactive Data Acquisition and Control Components for Dash
Version: 0.3.1
Version: 0.5.0
Description: A robust set of controls that make it simpler to integrate data acquisition and controls into your Dash applications.
Depends: R (>= 3.0.2)
Imports:
Suggests:
Authors@R: person("The", "Team", role = c("aut", "cre"), email = "dashdaq@plotly.com")
License: MIT + file LICENSE
URL: https://github.com/plotly/dash-daq
BugReports: https://github.com/plotly/dash-daq/issues
Encoding: UTF-8
LazyData: true
KeepSource: true
Author: The Plotly Team [aut]
Maintainer: Ryan Patrick Kyle <ryan@plotly.com>
6 changes: 3 additions & 3 deletions R/daqBooleanSwitch.R
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# AUTO GENERATED FILE - DO NOT EDIT

daqBooleanSwitch <- function(id=NULL, on=NULL, color=NULL, vertical=NULL, disabled=NULL, theme=NULL, label=NULL, labelPosition=NULL, className=NULL, style=NULL) {
daqBooleanSwitch <- function(id=NULL, on=NULL, color=NULL, vertical=NULL, disabled=NULL, theme=NULL, label=NULL, labelPosition=NULL, className=NULL, style=NULL, persistence=NULL, persisted_props=NULL, persistence_type=NULL) {

props <- list(id=id, on=on, color=color, vertical=vertical, disabled=disabled, theme=theme, label=label, labelPosition=labelPosition, className=className, style=style)
props <- list(id=id, on=on, color=color, vertical=vertical, disabled=disabled, theme=theme, label=label, labelPosition=labelPosition, className=className, style=style, persistence=persistence, persisted_props=persisted_props, persistence_type=persistence_type)
if (length(props) > 0) {
props <- props[!vapply(props, is.null, logical(1))]
}
component <- list(
props = props,
type = 'BooleanSwitch',
namespace = 'dash_daq',
propNames = c('id', 'on', 'color', 'vertical', 'disabled', 'theme', 'label', 'labelPosition', 'className', 'style'),
propNames = c('id', 'on', 'color', 'vertical', 'disabled', 'theme', 'label', 'labelPosition', 'className', 'style', 'persistence', 'persisted_props', 'persistence_type'),
package = 'dashDaq'
)

Expand Down
6 changes: 3 additions & 3 deletions R/daqColorPicker.R
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# AUTO GENERATED FILE - DO NOT EDIT

daqColorPicker <- function(id=NULL, value=NULL, disabled=NULL, size=NULL, theme=NULL, label=NULL, labelPosition=NULL, className=NULL, style=NULL) {
daqColorPicker <- function(id=NULL, value=NULL, disabled=NULL, size=NULL, theme=NULL, label=NULL, labelPosition=NULL, className=NULL, style=NULL, persistence=NULL, persisted_props=NULL, persistence_type=NULL) {

props <- list(id=id, value=value, disabled=disabled, size=size, theme=theme, label=label, labelPosition=labelPosition, className=className, style=style)
props <- list(id=id, value=value, disabled=disabled, size=size, theme=theme, label=label, labelPosition=labelPosition, className=className, style=style, persistence=persistence, persisted_props=persisted_props, persistence_type=persistence_type)
if (length(props) > 0) {
props <- props[!vapply(props, is.null, logical(1))]
}
component <- list(
props = props,
type = 'ColorPicker',
namespace = 'dash_daq',
propNames = c('id', 'value', 'disabled', 'size', 'theme', 'label', 'labelPosition', 'className', 'style'),
propNames = c('id', 'value', 'disabled', 'size', 'theme', 'label', 'labelPosition', 'className', 'style', 'persistence', 'persisted_props', 'persistence_type'),
package = 'dashDaq'
)

Expand Down
6 changes: 3 additions & 3 deletions R/daqGraduatedBar.R
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# AUTO GENERATED FILE - DO NOT EDIT

daqGraduatedBar <- function(id=NULL, value=NULL, color=NULL, size=NULL, vertical=NULL, min=NULL, max=NULL, step=NULL, showCurrentValue=NULL, label=NULL, labelPosition=NULL, className=NULL, style=NULL) {
daqGraduatedBar <- function(id=NULL, value=NULL, color=NULL, size=NULL, vertical=NULL, min=NULL, max=NULL, step=NULL, showCurrentValue=NULL, theme=NULL, label=NULL, labelPosition=NULL, className=NULL, style=NULL) {

props <- list(id=id, value=value, color=color, size=size, vertical=vertical, min=min, max=max, step=step, showCurrentValue=showCurrentValue, label=label, labelPosition=labelPosition, className=className, style=style)
props <- list(id=id, value=value, color=color, size=size, vertical=vertical, min=min, max=max, step=step, showCurrentValue=showCurrentValue, theme=theme, label=label, labelPosition=labelPosition, className=className, style=style)
if (length(props) > 0) {
props <- props[!vapply(props, is.null, logical(1))]
}
component <- list(
props = props,
type = 'GraduatedBar',
namespace = 'dash_daq',
propNames = c('id', 'value', 'color', 'size', 'vertical', 'min', 'max', 'step', 'showCurrentValue', 'label', 'labelPosition', 'className', 'style'),
propNames = c('id', 'value', 'color', 'size', 'vertical', 'min', 'max', 'step', 'showCurrentValue', 'theme', 'label', 'labelPosition', 'className', 'style'),
package = 'dashDaq'
)

Expand Down
6 changes: 3 additions & 3 deletions R/daqKnob.R
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# AUTO GENERATED FILE - DO NOT EDIT

daqKnob <- function(id=NULL, value=NULL, color=NULL, size=NULL, min=NULL, max=NULL, disabled=NULL, theme=NULL, label=NULL, labelPosition=NULL, scale=NULL, className=NULL, style=NULL) {
daqKnob <- function(id=NULL, value=NULL, color=NULL, size=NULL, min=NULL, max=NULL, disabled=NULL, theme=NULL, label=NULL, labelPosition=NULL, scale=NULL, className=NULL, style=NULL, persistence=NULL, persisted_props=NULL, persistence_type=NULL) {

props <- list(id=id, value=value, color=color, size=size, min=min, max=max, disabled=disabled, theme=theme, label=label, labelPosition=labelPosition, scale=scale, className=className, style=style)
props <- list(id=id, value=value, color=color, size=size, min=min, max=max, disabled=disabled, theme=theme, label=label, labelPosition=labelPosition, scale=scale, className=className, style=style, persistence=persistence, persisted_props=persisted_props, persistence_type=persistence_type)
if (length(props) > 0) {
props <- props[!vapply(props, is.null, logical(1))]
}
component <- list(
props = props,
type = 'Knob',
namespace = 'dash_daq',
propNames = c('id', 'value', 'color', 'size', 'min', 'max', 'disabled', 'theme', 'label', 'labelPosition', 'scale', 'className', 'style'),
propNames = c('id', 'value', 'color', 'size', 'min', 'max', 'disabled', 'theme', 'label', 'labelPosition', 'scale', 'className', 'style', 'persistence', 'persisted_props', 'persistence_type'),
package = 'dashDaq'
)

Expand Down
6 changes: 3 additions & 3 deletions R/daqNumericInput.R
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# AUTO GENERATED FILE - DO NOT EDIT

daqNumericInput <- function(id=NULL, value=NULL, size=NULL, min=NULL, max=NULL, disabled=NULL, theme=NULL, label=NULL, labelPosition=NULL, className=NULL, style=NULL) {
daqNumericInput <- function(id=NULL, value=NULL, size=NULL, min=NULL, max=NULL, disabled=NULL, theme=NULL, label=NULL, labelPosition=NULL, className=NULL, style=NULL, persistence=NULL, persisted_props=NULL, persistence_type=NULL) {

props <- list(id=id, value=value, size=size, min=min, max=max, disabled=disabled, theme=theme, label=label, labelPosition=labelPosition, className=className, style=style)
props <- list(id=id, value=value, size=size, min=min, max=max, disabled=disabled, theme=theme, label=label, labelPosition=labelPosition, className=className, style=style, persistence=persistence, persisted_props=persisted_props, persistence_type=persistence_type)
if (length(props) > 0) {
props <- props[!vapply(props, is.null, logical(1))]
}
component <- list(
props = props,
type = 'NumericInput',
namespace = 'dash_daq',
propNames = c('id', 'value', 'size', 'min', 'max', 'disabled', 'theme', 'label', 'labelPosition', 'className', 'style'),
propNames = c('id', 'value', 'size', 'min', 'max', 'disabled', 'theme', 'label', 'labelPosition', 'className', 'style', 'persistence', 'persisted_props', 'persistence_type'),
package = 'dashDaq'
)

Expand Down
6 changes: 3 additions & 3 deletions R/daqPowerButton.R
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# AUTO GENERATED FILE - DO NOT EDIT

daqPowerButton <- function(id=NULL, on=NULL, color=NULL, size=NULL, disabled=NULL, theme=NULL, label=NULL, labelPosition=NULL, className=NULL, style=NULL) {
daqPowerButton <- function(id=NULL, on=NULL, color=NULL, size=NULL, disabled=NULL, theme=NULL, label=NULL, labelPosition=NULL, className=NULL, style=NULL, persistence=NULL, persisted_props=NULL, persistence_type=NULL) {

props <- list(id=id, on=on, color=color, size=size, disabled=disabled, theme=theme, label=label, labelPosition=labelPosition, className=className, style=style)
props <- list(id=id, on=on, color=color, size=size, disabled=disabled, theme=theme, label=label, labelPosition=labelPosition, className=className, style=style, persistence=persistence, persisted_props=persisted_props, persistence_type=persistence_type)
if (length(props) > 0) {
props <- props[!vapply(props, is.null, logical(1))]
}
component <- list(
props = props,
type = 'PowerButton',
namespace = 'dash_daq',
propNames = c('id', 'on', 'color', 'size', 'disabled', 'theme', 'label', 'labelPosition', 'className', 'style'),
propNames = c('id', 'on', 'color', 'size', 'disabled', 'theme', 'label', 'labelPosition', 'className', 'style', 'persistence', 'persisted_props', 'persistence_type'),
package = 'dashDaq'
)

Expand Down
6 changes: 3 additions & 3 deletions R/daqPrecisionInput.R
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# AUTO GENERATED FILE - DO NOT EDIT

daqPrecisionInput <- function(id=NULL, value=NULL, size=NULL, min=NULL, max=NULL, precision=NULL, disabled=NULL, theme=NULL, label=NULL, labelPosition=NULL, className=NULL, style=NULL) {
daqPrecisionInput <- function(id=NULL, value=NULL, size=NULL, min=NULL, max=NULL, precision=NULL, disabled=NULL, theme=NULL, label=NULL, labelPosition=NULL, className=NULL, style=NULL, persistence=NULL, persisted_props=NULL, persistence_type=NULL) {

props <- list(id=id, value=value, size=size, min=min, max=max, precision=precision, disabled=disabled, theme=theme, label=label, labelPosition=labelPosition, className=className, style=style)
props <- list(id=id, value=value, size=size, min=min, max=max, precision=precision, disabled=disabled, theme=theme, label=label, labelPosition=labelPosition, className=className, style=style, persistence=persistence, persisted_props=persisted_props, persistence_type=persistence_type)
if (length(props) > 0) {
props <- props[!vapply(props, is.null, logical(1))]
}
component <- list(
props = props,
type = 'PrecisionInput',
namespace = 'dash_daq',
propNames = c('id', 'value', 'size', 'min', 'max', 'precision', 'disabled', 'theme', 'label', 'labelPosition', 'className', 'style'),
propNames = c('id', 'value', 'size', 'min', 'max', 'precision', 'disabled', 'theme', 'label', 'labelPosition', 'className', 'style', 'persistence', 'persisted_props', 'persistence_type'),
package = 'dashDaq'
)

Expand Down
6 changes: 3 additions & 3 deletions R/daqSlider.R
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# AUTO GENERATED FILE - DO NOT EDIT

daqSlider <- function(id=NULL, marks=NULL, color=NULL, value=NULL, className=NULL, labelPosition=NULL, disabled=NULL, dots=NULL, included=NULL, min=NULL, max=NULL, step=NULL, vertical=NULL, size=NULL, targets=NULL, theme=NULL, handleLabel=NULL, updatemode=NULL) {
daqSlider <- function(id=NULL, marks=NULL, color=NULL, value=NULL, className=NULL, labelPosition=NULL, disabled=NULL, dots=NULL, included=NULL, min=NULL, max=NULL, step=NULL, vertical=NULL, size=NULL, targets=NULL, theme=NULL, handleLabel=NULL, updatemode=NULL, persistence=NULL, persisted_props=NULL, persistence_type=NULL) {

props <- list(id=id, marks=marks, color=color, value=value, className=className, labelPosition=labelPosition, disabled=disabled, dots=dots, included=included, min=min, max=max, step=step, vertical=vertical, size=size, targets=targets, theme=theme, handleLabel=handleLabel, updatemode=updatemode)
props <- list(id=id, marks=marks, color=color, value=value, className=className, labelPosition=labelPosition, disabled=disabled, dots=dots, included=included, min=min, max=max, step=step, vertical=vertical, size=size, targets=targets, theme=theme, handleLabel=handleLabel, updatemode=updatemode, persistence=persistence, persisted_props=persisted_props, persistence_type=persistence_type)
if (length(props) > 0) {
props <- props[!vapply(props, is.null, logical(1))]
}
component <- list(
props = props,
type = 'Slider',
namespace = 'dash_daq',
propNames = c('id', 'marks', 'color', 'value', 'className', 'labelPosition', 'disabled', 'dots', 'included', 'min', 'max', 'step', 'vertical', 'size', 'targets', 'theme', 'handleLabel', 'updatemode'),
propNames = c('id', 'marks', 'color', 'value', 'className', 'labelPosition', 'disabled', 'dots', 'included', 'min', 'max', 'step', 'vertical', 'size', 'targets', 'theme', 'handleLabel', 'updatemode', 'persistence', 'persisted_props', 'persistence_type'),
package = 'dashDaq'
)

Expand Down
6 changes: 3 additions & 3 deletions R/daqToggleSwitch.R
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# AUTO GENERATED FILE - DO NOT EDIT

daqToggleSwitch <- function(id=NULL, value=NULL, size=NULL, color=NULL, vertical=NULL, disabled=NULL, theme=NULL, label=NULL, labelPosition=NULL, className=NULL, style=NULL) {
daqToggleSwitch <- function(id=NULL, value=NULL, size=NULL, color=NULL, vertical=NULL, disabled=NULL, theme=NULL, label=NULL, labelPosition=NULL, className=NULL, style=NULL, persistence=NULL, persisted_props=NULL, persistence_type=NULL) {

props <- list(id=id, value=value, size=size, color=color, vertical=vertical, disabled=disabled, theme=theme, label=label, labelPosition=labelPosition, className=className, style=style)
props <- list(id=id, value=value, size=size, color=color, vertical=vertical, disabled=disabled, theme=theme, label=label, labelPosition=labelPosition, className=className, style=style, persistence=persistence, persisted_props=persisted_props, persistence_type=persistence_type)
if (length(props) > 0) {
props <- props[!vapply(props, is.null, logical(1))]
}
component <- list(
props = props,
type = 'ToggleSwitch',
namespace = 'dash_daq',
propNames = c('id', 'value', 'size', 'color', 'vertical', 'disabled', 'theme', 'label', 'labelPosition', 'className', 'style'),
propNames = c('id', 'value', 'size', 'color', 'vertical', 'disabled', 'theme', 'label', 'labelPosition', 'className', 'style', 'persistence', 'persisted_props', 'persistence_type'),
package = 'dashDaq'
)

Expand Down
20 changes: 10 additions & 10 deletions R/internal.R
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
.dashDaq_js_metadata <- function() {
deps_metadata <- list(`dash_daq` = structure(list(name = "dash_daq",
version = "0.3.1", src = list(href = NULL,
version = "0.5.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async~colorpicker.js',
script = 'async-colorpicker.js',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashDaq",
all_files = FALSE, async = TRUE), class = "html_dependency"),
`dash_daq` = structure(list(name = "dash_daq",
version = "0.3.1", src = list(href = NULL,
version = "0.5.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async~slider.js',
script = 'async-slider.js',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashDaq",
all_files = FALSE, async = TRUE), class = "html_dependency"),
`dash_daq` = structure(list(name = "dash_daq",
version = "0.3.1", src = list(href = NULL,
version = "0.5.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async~colorpicker.js.map',
script = 'async-colorpicker.js.map',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashDaq",
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
`dash_daq` = structure(list(name = "dash_daq",
version = "0.3.1", src = list(href = NULL,
version = "0.5.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async~slider.js.map',
script = 'async-slider.js.map',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashDaq",
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
`dash_daq` = structure(list(name = "dash_daq",
version = "0.3.1", src = list(href = NULL,
version = "0.5.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'dash_daq.min.js',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashDaq",
all_files = FALSE), class = "html_dependency"),
`dash_daq` = structure(list(name = "dash_daq",
version = "0.3.1", src = list(href = NULL,
version = "0.5.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'dash_daq.min.js.map',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashDaq",
Expand Down
2 changes: 1 addition & 1 deletion dash_daq/dash_daq.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dash_daq/dash_daq.min.js.map

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions dash_daq/package-info.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
"build:js-dev": "webpack --mode development",
"build:py": "python get_version_info.py && yarn copy-lib && dash-generate-components ./src/components dash_daq -p package-info.json",
"build:r": "dash-generate-components ./src/components dash_daq -p package-info.json --r-prefix='daq'",
"build": "npm run test && npm run lint && npm run build:js && npm run build:py",
"build:all": "npm run build && npm run build:r",
"build": "npm run test && npm run lint && npm run build:js && npm run build:py && npm run build:r",
"postbuild": "es-check es5 dash_daq/*.js",
"build:dev": "npm run build:js-dev && npm run build:py",
"build-tarball": "npm run build && python setup.py sdist",
Expand Down
2 changes: 2 additions & 0 deletions inst/deps/async-colorpicker.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions inst/deps/async-colorpicker.js.map

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions inst/deps/async-slider.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions inst/deps/async-slider.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 898f612

Please sign in to comment.