dash-core-components 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -28
- package/dash_core_components/async-datepicker.js +1 -1
- package/dash_core_components/async-datepicker.js.map +1 -1
- package/dash_core_components/async-dropdown.js +1 -1
- package/dash_core_components/async-dropdown.js.map +1 -1
- package/dash_core_components/async-graph.js +1 -1
- package/dash_core_components/async-graph.js.map +1 -1
- package/dash_core_components/async-highlight.js +1 -1
- package/dash_core_components/async-highlight.js.map +1 -1
- package/dash_core_components/async-markdown.js +1 -1
- package/dash_core_components/async-markdown.js.map +1 -1
- package/dash_core_components/async-plotlyjs.js +1 -1
- package/dash_core_components/async-slider.js +1 -1
- package/dash_core_components/async-slider.js.map +1 -1
- package/dash_core_components/async-upload.js +1 -1
- package/dash_core_components/async-upload.js.map +1 -1
- package/dash_core_components/dash_core_components-shared.js +1 -1
- package/dash_core_components/dash_core_components-shared.js.map +1 -1
- package/dash_core_components/dash_core_components.js +1 -1
- package/dash_core_components/dash_core_components.js.map +1 -1
- package/dash_core_components/plotly.min.js +28 -21
- package/lib/components/Checklist.react.js +59 -23
- package/lib/components/Clipboard.react.js +4 -4
- package/lib/components/ConfirmDialog.react.js +4 -4
- package/lib/components/ConfirmDialogProvider.react.js +4 -4
- package/lib/components/DatePickerRange.react.js +85 -85
- package/lib/components/DatePickerSingle.react.js +68 -68
- package/lib/components/Download.react.js +4 -4
- package/lib/components/Dropdown.react.js +51 -35
- package/lib/components/Graph.react.js +7 -7
- package/lib/components/Input.react.js +83 -83
- package/lib/components/Interval.react.js +4 -4
- package/lib/components/Link.react.js +21 -21
- package/lib/components/Loading.react.js +4 -4
- package/lib/components/Location.react.js +4 -4
- package/lib/components/LogoutButton.react.js +4 -4
- package/lib/components/Markdown.react.js +5 -5
- package/lib/components/RadioItems.react.js +59 -23
- package/lib/components/RangeSlider.react.js +44 -44
- package/lib/components/Slider.react.js +35 -35
- package/lib/components/Store.react.js +4 -4
- package/lib/components/Tab.react.js +1 -1
- package/lib/components/Tabs.react.js +10 -10
- package/lib/components/Textarea.react.js +4 -4
- package/lib/components/Tooltip.react.js +2 -2
- package/lib/components/Upload.react.js +5 -5
- package/lib/components/css/Dropdown.css +1 -1
- package/lib/fragments/DatePickerRange.react.js +6 -6
- package/lib/fragments/DatePickerSingle.react.js +6 -6
- package/lib/fragments/Dropdown.react.js +13 -11
- package/lib/fragments/Graph.privateprops.js +1 -1
- package/lib/fragments/Graph.react.js +6 -6
- package/lib/fragments/Markdown.react.js +4 -4
- package/lib/fragments/RangeSlider.react.js +24 -13
- package/lib/fragments/Slider.react.js +22 -11
- package/lib/fragments/Upload.react.js +4 -4
- package/lib/utils/LazyLoader/datePickerRange.js +1 -1
- package/lib/utils/LazyLoader/datePickerSingle.js +1 -1
- package/lib/utils/LazyLoader/dropdown.js +1 -1
- package/lib/utils/LazyLoader/graph.js +1 -1
- package/lib/utils/LazyLoader/hljs.js +1 -1
- package/lib/utils/LazyLoader/markdown.js +1 -1
- package/lib/utils/LazyLoader/plotly.js +1 -1
- package/lib/utils/LazyLoader/rangeSlider.js +1 -1
- package/lib/utils/LazyLoader/slider.js +1 -1
- package/lib/utils/LazyLoader/upload.js +1 -1
- package/lib/utils/computeSliderMarkers.js +230 -0
- package/lib/utils/optionTypes.js +52 -0
- package/package.json +32 -33
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -29,15 +29,15 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
29
29
|
|
|
30
30
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
31
31
|
|
|
32
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
32
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
33
33
|
|
|
34
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
34
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
35
35
|
|
|
36
36
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
37
37
|
|
|
38
38
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
39
39
|
|
|
40
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
40
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
41
41
|
|
|
42
42
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
43
43
|
|
|
@@ -216,27 +216,16 @@ Input.defaultProps = {
|
|
|
216
216
|
persistence_type: 'local'
|
|
217
217
|
};
|
|
218
218
|
Input.propTypes = {
|
|
219
|
-
/**
|
|
220
|
-
* The ID of this component, used to identify dash components
|
|
221
|
-
* in callbacks. The ID needs to be unique across all of the
|
|
222
|
-
* components in an app.
|
|
223
|
-
*/
|
|
224
|
-
id: _propTypes.default.string,
|
|
225
|
-
|
|
226
219
|
/**
|
|
227
220
|
* The value of the input
|
|
228
221
|
*/
|
|
229
222
|
value: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]),
|
|
230
223
|
|
|
231
224
|
/**
|
|
232
|
-
* The
|
|
233
|
-
*/
|
|
234
|
-
style: _propTypes.default.object,
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* The class of the input element
|
|
225
|
+
* The type of control to render.
|
|
238
226
|
*/
|
|
239
|
-
|
|
227
|
+
type: _propTypes.default.oneOf([// Only allowing the input types with wide browser compatibility
|
|
228
|
+
'text', 'number', 'password', 'email', 'range', 'search', 'tel', 'url', 'hidden']),
|
|
240
229
|
|
|
241
230
|
/**
|
|
242
231
|
* If true, changes to input will be sent back to the Dash server only on enter or when losing focus.
|
|
@@ -245,30 +234,19 @@ Input.propTypes = {
|
|
|
245
234
|
debounce: _propTypes.default.bool,
|
|
246
235
|
|
|
247
236
|
/**
|
|
248
|
-
*
|
|
249
|
-
*/
|
|
250
|
-
type: _propTypes.default.oneOf([// Only allowing the input types with wide browser compatibility
|
|
251
|
-
'text', 'number', 'password', 'email', 'range', 'search', 'tel', 'url', 'hidden']),
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* This attribute indicates whether the value of the control can be automatically completed by the browser.
|
|
237
|
+
* A hint to the user of what can be entered in the control . The placeholder text must not contain carriage returns or line-feeds. Note: Do not use the placeholder attribute instead of a <label> element, their purposes are different. The <label> attribute describes the role of the form element (i.e. it indicates what kind of information is expected), and the placeholder attribute is a hint about the format that the content should take. There are cases in which the placeholder attribute is never displayed to the user, so the form must be understandable without it.
|
|
255
238
|
*/
|
|
256
|
-
|
|
239
|
+
placeholder: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]),
|
|
257
240
|
|
|
258
241
|
/**
|
|
259
|
-
*
|
|
260
|
-
* autoFocus is an HTML boolean attribute - it is enabled by a boolean or
|
|
261
|
-
* 'autoFocus'. Alternative capitalizations `autofocus` & `AUTOFOCUS`
|
|
262
|
-
* are also acccepted.
|
|
242
|
+
* Number of times the `Enter` key was pressed while the input had focus.
|
|
263
243
|
*/
|
|
264
|
-
|
|
244
|
+
n_submit: _propTypes.default.number,
|
|
265
245
|
|
|
266
246
|
/**
|
|
267
|
-
*
|
|
268
|
-
* disabled is an HTML boolean attribute - it is enabled by a boolean or
|
|
269
|
-
* 'disabled'. Alternative capitalizations `DISABLED`
|
|
247
|
+
* Last time that `Enter` was pressed.
|
|
270
248
|
*/
|
|
271
|
-
|
|
249
|
+
n_submit_timestamp: _propTypes.default.number,
|
|
272
250
|
|
|
273
251
|
/**
|
|
274
252
|
* Provides a hint to the browser as to the type of data that might be
|
|
@@ -321,80 +299,96 @@ Input.propTypes = {
|
|
|
321
299
|
'url']),
|
|
322
300
|
|
|
323
301
|
/**
|
|
324
|
-
*
|
|
325
|
-
* The value must be the id of a <datalist> element in the same document.
|
|
326
|
-
* The browser displays only options that are valid values for this
|
|
327
|
-
* input element.
|
|
328
|
-
* This attribute is ignored when the type attribute's value is
|
|
329
|
-
* hidden, checkbox, radio, file, or a button type.
|
|
302
|
+
* This attribute indicates whether the value of the control can be automatically completed by the browser.
|
|
330
303
|
*/
|
|
331
|
-
|
|
304
|
+
autoComplete: _propTypes.default.string,
|
|
332
305
|
|
|
333
306
|
/**
|
|
334
|
-
* The
|
|
307
|
+
* This attribute indicates that the user cannot modify the value of the control. The value of the attribute is irrelevant. If you need read-write access to the input value, do not add the "readonly" attribute. It is ignored if the value of the type attribute is hidden, range, color, checkbox, radio, file, or a button type (such as button or submit).
|
|
308
|
+
* readOnly is an HTML boolean attribute - it is enabled by a boolean or
|
|
309
|
+
* 'readOnly'. Alternative capitalizations `readonly` & `READONLY`
|
|
310
|
+
* are also acccepted.
|
|
335
311
|
*/
|
|
336
|
-
|
|
312
|
+
readOnly: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.oneOf(['readOnly', 'readonly', 'READONLY'])]),
|
|
337
313
|
|
|
338
314
|
/**
|
|
339
|
-
*
|
|
315
|
+
* This attribute specifies that the user must fill in a value before submitting a form. It cannot be used when the type attribute is hidden, image, or a button type (submit, reset, or button). The :optional and :required CSS pseudo-classes will be applied to the field as appropriate.
|
|
316
|
+
* required is an HTML boolean attribute - it is enabled by a boolean or
|
|
317
|
+
* 'required'. Alternative capitalizations `REQUIRED`
|
|
318
|
+
* are also acccepted.
|
|
340
319
|
*/
|
|
341
|
-
|
|
320
|
+
required: _propTypes.default.oneOfType([_propTypes.default.oneOf(['required', 'REQUIRED']), _propTypes.default.bool]),
|
|
342
321
|
|
|
343
322
|
/**
|
|
344
|
-
* The
|
|
323
|
+
* The element should be automatically focused after the page loaded.
|
|
324
|
+
* autoFocus is an HTML boolean attribute - it is enabled by a boolean or
|
|
325
|
+
* 'autoFocus'. Alternative capitalizations `autofocus` & `AUTOFOCUS`
|
|
326
|
+
* are also acccepted.
|
|
345
327
|
*/
|
|
346
|
-
|
|
328
|
+
autoFocus: _propTypes.default.oneOfType([_propTypes.default.oneOf(['autoFocus', 'autofocus', 'AUTOFOCUS']), _propTypes.default.bool]),
|
|
347
329
|
|
|
348
330
|
/**
|
|
349
|
-
* If
|
|
331
|
+
* If true, the input is disabled and can't be clicked on.
|
|
332
|
+
* disabled is an HTML boolean attribute - it is enabled by a boolean or
|
|
333
|
+
* 'disabled'. Alternative capitalizations `DISABLED`
|
|
350
334
|
*/
|
|
351
|
-
|
|
335
|
+
disabled: _propTypes.default.oneOfType([_propTypes.default.oneOf(['disabled', 'DISABLED']), _propTypes.default.bool]),
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Identifies a list of pre-defined options to suggest to the user.
|
|
339
|
+
* The value must be the id of a <datalist> element in the same document.
|
|
340
|
+
* The browser displays only options that are valid values for this
|
|
341
|
+
* input element.
|
|
342
|
+
* This attribute is ignored when the type attribute's value is
|
|
343
|
+
* hidden, checkbox, radio, file, or a button type.
|
|
344
|
+
*/
|
|
345
|
+
list: _propTypes.default.string,
|
|
352
346
|
|
|
353
347
|
/**
|
|
354
348
|
* This Boolean attribute indicates whether the user can enter more than one value. This attribute applies when the type attribute is set to email or file, otherwise it is ignored.
|
|
355
349
|
*/
|
|
356
350
|
multiple: _propTypes.default.bool,
|
|
357
351
|
|
|
352
|
+
/**
|
|
353
|
+
* Setting the value of this attribute to true indicates that the element needs to have its spelling and grammar checked. The value default indicates that the element is to act according to a default behavior, possibly based on the parent element's own spellcheck value. The value false indicates that the element should not be checked.
|
|
354
|
+
*/
|
|
355
|
+
spellCheck: _propTypes.default.oneOfType([// enumerated property, not a boolean property: https://www.w3.org/TR/html51/editing.html#spelling-and-grammar-checking
|
|
356
|
+
_propTypes.default.oneOf(['true', 'false']), _propTypes.default.bool]),
|
|
357
|
+
|
|
358
358
|
/**
|
|
359
359
|
* The name of the control, which is submitted with the form data.
|
|
360
360
|
*/
|
|
361
361
|
name: _propTypes.default.string,
|
|
362
362
|
|
|
363
363
|
/**
|
|
364
|
-
*
|
|
364
|
+
* The minimum (numeric or date-time) value for this item, which must not be greater than its maximum (max attribute) value.
|
|
365
365
|
*/
|
|
366
|
-
|
|
366
|
+
min: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]),
|
|
367
367
|
|
|
368
368
|
/**
|
|
369
|
-
*
|
|
369
|
+
* The maximum (numeric or date-time) value for this item, which must not be less than its minimum (min attribute) value.
|
|
370
370
|
*/
|
|
371
|
-
|
|
371
|
+
max: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]),
|
|
372
372
|
|
|
373
373
|
/**
|
|
374
|
-
*
|
|
375
|
-
* readOnly is an HTML boolean attribute - it is enabled by a boolean or
|
|
376
|
-
* 'readOnly'. Alternative capitalizations `readonly` & `READONLY`
|
|
377
|
-
* are also acccepted.
|
|
374
|
+
* Works with the min and max attributes to limit the increments at which a numeric or date-time value can be set. It can be the string any or a positive floating point number. If this attribute is not set to any, the control accepts only values at multiples of the step value greater than the minimum.
|
|
378
375
|
*/
|
|
379
|
-
|
|
376
|
+
step: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]),
|
|
380
377
|
|
|
381
378
|
/**
|
|
382
|
-
*
|
|
383
|
-
* required is an HTML boolean attribute - it is enabled by a boolean or
|
|
384
|
-
* 'required'. Alternative capitalizations `REQUIRED`
|
|
385
|
-
* are also acccepted.
|
|
379
|
+
* If the value of the type attribute is text, email, search, password, tel, or url, this attribute specifies the minimum number of characters (in Unicode code points) that the user can enter. For other control types, it is ignored.
|
|
386
380
|
*/
|
|
387
|
-
|
|
381
|
+
minLength: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]),
|
|
388
382
|
|
|
389
383
|
/**
|
|
390
|
-
*
|
|
384
|
+
* If the value of the type attribute is text, email, search, password, tel, or url, this attribute specifies the maximum number of characters (in UTF-16 code units) that the user can enter. For other control types, it is ignored. It can exceed the value of the size attribute. If it is not specified, the user can enter an unlimited number of characters. Specifying a negative number results in the default behavior (i.e. the user can enter an unlimited number of characters). The constraint is evaluated only when the value of the attribute has been changed.
|
|
391
385
|
*/
|
|
392
|
-
|
|
386
|
+
maxLength: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]),
|
|
393
387
|
|
|
394
388
|
/**
|
|
395
|
-
*
|
|
389
|
+
* A regular expression that the control's value is checked against. The pattern must match the entire value, not just some subset. Use the title attribute to describe the pattern to help the user. This attribute applies when the value of the type attribute is text, search, tel, url, email, or password, otherwise it is ignored. The regular expression language is the same as JavaScript RegExp algorithm, with the 'u' parameter that makes it treat the pattern as a sequence of unicode code points. The pattern is not surrounded by forward slashes.
|
|
396
390
|
*/
|
|
397
|
-
|
|
391
|
+
pattern: _propTypes.default.string,
|
|
398
392
|
|
|
399
393
|
/**
|
|
400
394
|
* The offset into the element's text content of the first selected character. If there's no selection, this value indicates the offset to the character following the current text input cursor position (that is, the position the next character typed would occupy).
|
|
@@ -402,40 +396,46 @@ Input.propTypes = {
|
|
|
402
396
|
selectionStart: _propTypes.default.string,
|
|
403
397
|
|
|
404
398
|
/**
|
|
405
|
-
* The
|
|
399
|
+
* The offset into the element's text content of the last selected character. If there's no selection, this value indicates the offset to the character following the current text input cursor position (that is, the position the next character typed would occupy).
|
|
406
400
|
*/
|
|
407
|
-
|
|
401
|
+
selectionEnd: _propTypes.default.string,
|
|
408
402
|
|
|
409
403
|
/**
|
|
410
|
-
*
|
|
404
|
+
* The direction in which selection occurred. This is "forward" if the selection was made from left-to-right in an LTR locale or right-to-left in an RTL locale, or "backward" if the selection was made in the opposite direction. On platforms on which it's possible this value isn't known, the value can be "none"; for example, on macOS, the default direction is "none", then as the user begins to modify the selection using the keyboard, this will change to reflect the direction in which the selection is expanding.
|
|
411
405
|
*/
|
|
412
|
-
|
|
413
|
-
_propTypes.default.oneOf(['true', 'false']), _propTypes.default.bool]),
|
|
406
|
+
selectionDirection: _propTypes.default.string,
|
|
414
407
|
|
|
415
408
|
/**
|
|
416
|
-
*
|
|
409
|
+
* Number of times the input lost focus.
|
|
417
410
|
*/
|
|
418
|
-
|
|
411
|
+
n_blur: _propTypes.default.number,
|
|
419
412
|
|
|
420
413
|
/**
|
|
421
|
-
*
|
|
414
|
+
* Last time the input lost focus.
|
|
422
415
|
*/
|
|
423
|
-
|
|
416
|
+
n_blur_timestamp: _propTypes.default.number,
|
|
424
417
|
|
|
425
418
|
/**
|
|
426
|
-
*
|
|
419
|
+
* The initial size of the control. This value is in pixels unless the value of the type attribute is text or password, in which case it is an integer number of characters. Starting in, this attribute applies only when the type attribute is set to text, search, tel, url, email, or password, otherwise it is ignored. In addition, the size must be greater than zero. If you do not specify a size, a default value of 20 is used.' simply states "the user agent should ensure that at least that many characters are visible", but different characters can have different widths in certain fonts. In some browsers, a certain string with x characters will not be entirely visible even if size is defined to at least x.
|
|
427
420
|
*/
|
|
428
|
-
|
|
421
|
+
size: _propTypes.default.string,
|
|
429
422
|
|
|
430
423
|
/**
|
|
431
|
-
*
|
|
424
|
+
* The input's inline styles
|
|
432
425
|
*/
|
|
433
|
-
|
|
426
|
+
style: _propTypes.default.object,
|
|
434
427
|
|
|
435
428
|
/**
|
|
436
|
-
*
|
|
429
|
+
* The class of the input element
|
|
437
430
|
*/
|
|
438
|
-
|
|
431
|
+
className: _propTypes.default.string,
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* The ID of this component, used to identify dash components
|
|
435
|
+
* in callbacks. The ID needs to be unique across all of the
|
|
436
|
+
* components in an app.
|
|
437
|
+
*/
|
|
438
|
+
id: _propTypes.default.string,
|
|
439
439
|
|
|
440
440
|
/**
|
|
441
441
|
* Dash-assigned callback that gets fired when the value changes.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -21,15 +21,15 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
21
21
|
|
|
22
22
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
23
23
|
|
|
24
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
24
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
25
|
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
26
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
30
30
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
31
31
|
|
|
32
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
32
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
33
33
|
|
|
34
34
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
35
35
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -23,15 +23,15 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
23
23
|
|
|
24
24
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
25
25
|
|
|
26
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
26
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
27
27
|
|
|
28
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
28
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
31
|
|
|
32
32
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
33
33
|
|
|
34
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
34
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
35
35
|
|
|
36
36
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
37
37
|
|
|
@@ -150,11 +150,9 @@ var Link = /*#__PURE__*/function (_Component) {
|
|
|
150
150
|
exports.default = Link;
|
|
151
151
|
Link.propTypes = {
|
|
152
152
|
/**
|
|
153
|
-
* The
|
|
154
|
-
* in callbacks. The ID needs to be unique across all of the
|
|
155
|
-
* components in an app.
|
|
153
|
+
* The children of this component
|
|
156
154
|
*/
|
|
157
|
-
|
|
155
|
+
children: _propTypes.default.node,
|
|
158
156
|
|
|
159
157
|
/**
|
|
160
158
|
* The URL of a linked resource.
|
|
@@ -162,19 +160,14 @@ Link.propTypes = {
|
|
|
162
160
|
href: _propTypes.default.string.isRequired,
|
|
163
161
|
|
|
164
162
|
/**
|
|
165
|
-
*
|
|
166
|
-
*/
|
|
167
|
-
refresh: _propTypes.default.bool,
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* Often used with CSS to style elements with common properties.
|
|
163
|
+
* Specifies where to open the link reference.
|
|
171
164
|
*/
|
|
172
|
-
|
|
165
|
+
target: _propTypes.default.string,
|
|
173
166
|
|
|
174
167
|
/**
|
|
175
|
-
*
|
|
168
|
+
* Controls whether or not the page will refresh when the link is clicked
|
|
176
169
|
*/
|
|
177
|
-
|
|
170
|
+
refresh: _propTypes.default.bool,
|
|
178
171
|
|
|
179
172
|
/**
|
|
180
173
|
* Adds the title attribute to your link, which can contain supplementary
|
|
@@ -183,14 +176,21 @@ Link.propTypes = {
|
|
|
183
176
|
title: _propTypes.default.string,
|
|
184
177
|
|
|
185
178
|
/**
|
|
186
|
-
*
|
|
179
|
+
* Often used with CSS to style elements with common properties.
|
|
187
180
|
*/
|
|
188
|
-
|
|
181
|
+
className: _propTypes.default.string,
|
|
189
182
|
|
|
190
183
|
/**
|
|
191
|
-
*
|
|
184
|
+
* Defines CSS styles which will override styles previously set.
|
|
192
185
|
*/
|
|
193
|
-
|
|
186
|
+
style: _propTypes.default.object,
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* The ID of this component, used to identify dash components
|
|
190
|
+
* in callbacks. The ID needs to be unique across all of the
|
|
191
|
+
* components in an app.
|
|
192
|
+
*/
|
|
193
|
+
id: _propTypes.default.string,
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
196
|
* Object that holds the loading state object coming from dash-renderer
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -33,15 +33,15 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
33
33
|
|
|
34
34
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
35
35
|
|
|
36
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
36
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
37
37
|
|
|
38
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
38
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
39
39
|
|
|
40
40
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
41
41
|
|
|
42
42
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
43
43
|
|
|
44
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
44
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
45
45
|
|
|
46
46
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
47
47
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -21,15 +21,15 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
21
21
|
|
|
22
22
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
23
23
|
|
|
24
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
24
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
25
|
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
26
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
30
30
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
31
31
|
|
|
32
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
32
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
33
33
|
|
|
34
34
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
35
35
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -19,15 +19,15 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
19
19
|
|
|
20
20
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
21
21
|
|
|
22
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
22
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
23
23
|
|
|
24
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
24
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
25
25
|
|
|
26
26
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
27
27
|
|
|
28
28
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
29
29
|
|
|
30
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
30
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
31
31
|
|
|
32
32
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
33
33
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.propTypes = exports.defaultProps = exports.default = void 0;
|
|
9
9
|
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
|
|
@@ -23,15 +23,15 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
23
23
|
|
|
24
24
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
25
25
|
|
|
26
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
26
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
27
27
|
|
|
28
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
28
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
31
|
|
|
32
32
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
33
33
|
|
|
34
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
34
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
35
35
|
|
|
36
36
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
37
37
|
|