dash-core-components 2.3.0 → 2.6.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 +1 -1
- 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/mathjax.js +1 -1
- package/dash_core_components/plotly.min.js +11 -11
- package/lib/components/Checklist.react.js +3 -3
- package/lib/components/Clipboard.react.js +10 -8
- package/lib/components/ConfirmDialog.react.js +2 -2
- package/lib/components/ConfirmDialogProvider.react.js +3 -3
- package/lib/components/DatePickerRange.react.js +2 -2
- package/lib/components/DatePickerSingle.react.js +2 -2
- package/lib/components/Download.react.js +2 -2
- package/lib/components/Dropdown.react.js +18 -4
- package/lib/components/Graph.react.js +4 -3
- package/lib/components/Input.react.js +3 -3
- package/lib/components/Interval.react.js +2 -2
- package/lib/components/Link.react.js +2 -2
- package/lib/components/Loading.react.js +2 -2
- package/lib/components/Location.react.js +2 -2
- package/lib/components/LogoutButton.react.js +2 -2
- package/lib/components/Markdown.react.js +7 -2
- package/lib/components/RadioItems.react.js +4 -4
- package/lib/components/RangeSlider.react.js +2 -2
- package/lib/components/Slider.react.js +2 -2
- package/lib/components/Store.react.js +2 -2
- package/lib/components/Tabs.react.js +20 -24
- package/lib/components/Textarea.react.js +3 -3
- package/lib/components/Tooltip.react.js +13 -14
- package/lib/components/Upload.react.js +2 -2
- package/lib/components/css/Dropdown.css +4 -0
- package/lib/fragments/DatePickerRange.react.js +22 -15
- package/lib/fragments/DatePickerSingle.react.js +40 -12
- package/lib/fragments/Dropdown.react.js +133 -109
- package/lib/fragments/Graph.react.js +2 -2
- package/lib/fragments/Markdown.react.js +20 -3
- package/lib/fragments/Math.react.js +2 -2
- package/lib/fragments/RangeSlider.react.js +3 -3
- package/lib/fragments/Slider.react.js +3 -3
- package/lib/fragments/Upload.react.js +2 -2
- package/lib/utils/LazyLoader/datePickerRange.js +3 -9
- package/lib/utils/LazyLoader/datePickerSingle.js +3 -9
- package/lib/utils/LazyLoader/dropdown.js +3 -9
- package/lib/utils/LazyLoader/graph.js +3 -9
- package/lib/utils/LazyLoader/hljs.js +3 -9
- package/lib/utils/LazyLoader/markdown.js +3 -9
- package/lib/utils/LazyLoader/mathjax.js +3 -9
- package/lib/utils/LazyLoader/plotly.js +3 -9
- package/lib/utils/LazyLoader/rangeSlider.js +3 -9
- package/lib/utils/LazyLoader/slider.js +3 -9
- package/lib/utils/LazyLoader/upload.js +3 -9
- package/lib/utils/computeSliderStyle.js +2 -2
- package/lib/utils/optionTypes.js +5 -1
- package/package.json +25 -26
|
@@ -31,27 +31,25 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
31
31
|
|
|
32
32
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
33
33
|
|
|
34
|
-
function _extends() { _extends = Object.assign
|
|
34
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
35
35
|
|
|
36
|
-
function
|
|
36
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
37
37
|
|
|
38
|
-
function
|
|
38
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
39
39
|
|
|
40
|
-
function
|
|
40
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
41
41
|
|
|
42
|
-
function
|
|
42
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
43
43
|
|
|
44
|
-
function
|
|
44
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
45
45
|
|
|
46
|
-
function
|
|
46
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
47
47
|
|
|
48
|
-
function
|
|
48
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
49
49
|
|
|
50
|
-
function
|
|
50
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
51
51
|
|
|
52
|
-
function
|
|
53
|
-
|
|
54
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
52
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
55
53
|
|
|
56
54
|
// Custom tokenizer, see https://github.com/bvaughn/js-search/issues/43
|
|
57
55
|
// Split on spaces
|
|
@@ -64,114 +62,140 @@ var TOKENIZER = {
|
|
|
64
62
|
});
|
|
65
63
|
}
|
|
66
64
|
};
|
|
67
|
-
var
|
|
68
|
-
|
|
69
|
-
var Dropdown =
|
|
70
|
-
|
|
65
|
+
var RDProps = ['multi', 'clearable', 'searchable', 'search_value', 'placeholder', 'disabled', 'optionHeight', 'maxHeight', 'style', 'className'];
|
|
66
|
+
|
|
67
|
+
var Dropdown = function Dropdown(props) {
|
|
68
|
+
var id = props.id,
|
|
69
|
+
clearable = props.clearable,
|
|
70
|
+
searchable = props.searchable,
|
|
71
|
+
multi = props.multi,
|
|
72
|
+
options = props.options,
|
|
73
|
+
setProps = props.setProps,
|
|
74
|
+
style = props.style,
|
|
75
|
+
loading_state = props.loading_state,
|
|
76
|
+
value = props.value;
|
|
77
|
+
|
|
78
|
+
var _useState = (0, _react.useState)(null),
|
|
79
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
80
|
+
optionsCheck = _useState2[0],
|
|
81
|
+
setOptionsCheck = _useState2[1];
|
|
82
|
+
|
|
83
|
+
var _useMemo = (0, _react.useMemo)(function () {
|
|
84
|
+
var sanitized = (0, _optionTypes.sanitizeOptions)(options);
|
|
85
|
+
var indexes = ['strValue'];
|
|
86
|
+
var hasElement = false,
|
|
87
|
+
hasSearch = false;
|
|
88
|
+
sanitized = Array.isArray(sanitized) ? sanitized.map(function (option) {
|
|
89
|
+
if (option.search) {
|
|
90
|
+
hasSearch = true;
|
|
91
|
+
}
|
|
71
92
|
|
|
72
|
-
|
|
93
|
+
if ( /*#__PURE__*/_react.default.isValidElement(option.label)) {
|
|
94
|
+
hasElement = true;
|
|
95
|
+
}
|
|
73
96
|
|
|
74
|
-
|
|
75
|
-
|
|
97
|
+
return _objectSpread(_objectSpread({}, option), {}, {
|
|
98
|
+
strValue: String(option.value)
|
|
99
|
+
});
|
|
100
|
+
}) : sanitized;
|
|
76
101
|
|
|
77
|
-
|
|
102
|
+
if (!hasElement) {
|
|
103
|
+
indexes.push('label');
|
|
104
|
+
}
|
|
78
105
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
options: (0, _optionTypes.sanitizeOptions)(props.options),
|
|
83
|
-
tokenizer: TOKENIZER
|
|
84
|
-
})
|
|
85
|
-
};
|
|
86
|
-
return _this;
|
|
87
|
-
}
|
|
106
|
+
if (hasSearch) {
|
|
107
|
+
indexes.push('search');
|
|
108
|
+
}
|
|
88
109
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
110
|
+
return [sanitized, (0, _reactSelectFastFilterOptions.default)({
|
|
111
|
+
options: sanitized,
|
|
112
|
+
tokenizer: TOKENIZER,
|
|
113
|
+
indexes: indexes
|
|
114
|
+
})];
|
|
115
|
+
}, [options]),
|
|
116
|
+
_useMemo2 = _slicedToArray(_useMemo, 2),
|
|
117
|
+
sanitizedOptions = _useMemo2[0],
|
|
118
|
+
filterOptions = _useMemo2[1];
|
|
119
|
+
|
|
120
|
+
var onChange = (0, _react.useCallback)(function (selectedOption) {
|
|
121
|
+
if (multi) {
|
|
122
|
+
var _value;
|
|
123
|
+
|
|
124
|
+
if ((0, _ramda.isNil)(selectedOption)) {
|
|
125
|
+
_value = [];
|
|
126
|
+
} else {
|
|
127
|
+
_value = (0, _ramda.pluck)('value', selectedOption);
|
|
99
128
|
}
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
setProps = _this$props.setProps,
|
|
110
|
-
style = _this$props.style,
|
|
111
|
-
loading_state = _this$props.loading_state,
|
|
112
|
-
value = _this$props.value;
|
|
113
|
-
var filterOptions = this.state.filterOptions;
|
|
114
|
-
var selectedValue;
|
|
115
|
-
|
|
116
|
-
if ((0, _ramda.type)(value) === 'Array') {
|
|
117
|
-
selectedValue = value.join(DELIMITER);
|
|
129
|
+
|
|
130
|
+
setProps({
|
|
131
|
+
value: _value
|
|
132
|
+
});
|
|
133
|
+
} else {
|
|
134
|
+
var _value2;
|
|
135
|
+
|
|
136
|
+
if ((0, _ramda.isNil)(selectedOption)) {
|
|
137
|
+
_value2 = null;
|
|
118
138
|
} else {
|
|
119
|
-
|
|
139
|
+
_value2 = selectedOption.value;
|
|
120
140
|
}
|
|
121
141
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
if ((0, _ramda.isNil)(selectedOption)) {
|
|
148
|
-
_value2 = null;
|
|
149
|
-
} else {
|
|
150
|
-
_value2 = selectedOption.value;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
setProps({
|
|
154
|
-
value: _value2
|
|
155
|
-
});
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
onInputChange: function onInputChange(search_value) {
|
|
159
|
-
return setProps({
|
|
160
|
-
search_value: search_value
|
|
142
|
+
setProps({
|
|
143
|
+
value: _value2
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
}, [multi]);
|
|
147
|
+
var onInputChange = (0, _react.useCallback)(function (search_value) {
|
|
148
|
+
return setProps({
|
|
149
|
+
search_value: search_value
|
|
150
|
+
});
|
|
151
|
+
}, []);
|
|
152
|
+
(0, _react.useEffect)(function () {
|
|
153
|
+
if (!searchable && !(0, _ramda.isNil)(sanitizedOptions) && optionsCheck !== sanitizedOptions && !(0, _ramda.isNil)(value)) {
|
|
154
|
+
var values = sanitizedOptions.map(function (option) {
|
|
155
|
+
return option.value;
|
|
156
|
+
});
|
|
157
|
+
|
|
158
|
+
if (multi && Array.isArray(value)) {
|
|
159
|
+
var invalids = value.filter(function (v) {
|
|
160
|
+
return !values.includes(v);
|
|
161
|
+
});
|
|
162
|
+
|
|
163
|
+
if (invalids.length) {
|
|
164
|
+
setProps({
|
|
165
|
+
value: (0, _ramda.without)(invalids, value)
|
|
161
166
|
});
|
|
162
|
-
},
|
|
163
|
-
backspaceRemoves: clearable,
|
|
164
|
-
deleteRemoves: clearable,
|
|
165
|
-
inputProps: {
|
|
166
|
-
autoComplete: 'off'
|
|
167
167
|
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
} else {
|
|
169
|
+
if (!values.includes(value)) {
|
|
170
|
+
setProps({
|
|
171
|
+
value: null
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
}
|
|
171
175
|
|
|
172
|
-
|
|
173
|
-
}
|
|
176
|
+
setOptionsCheck(sanitizedOptions);
|
|
177
|
+
}
|
|
178
|
+
}, [sanitizedOptions, optionsCheck, multi, value]);
|
|
179
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
180
|
+
id: id,
|
|
181
|
+
className: "dash-dropdown",
|
|
182
|
+
style: style,
|
|
183
|
+
"data-dash-is-loading": loading_state && loading_state.is_loading || undefined
|
|
184
|
+
}, /*#__PURE__*/_react.default.createElement(_reactVirtualizedSelect.default, _extends({
|
|
185
|
+
filterOptions: filterOptions,
|
|
186
|
+
options: (0, _optionTypes.sanitizeOptions)(options),
|
|
187
|
+
value: value,
|
|
188
|
+
onChange: onChange,
|
|
189
|
+
onInputChange: onInputChange,
|
|
190
|
+
backspaceRemoves: clearable,
|
|
191
|
+
deleteRemoves: clearable,
|
|
192
|
+
inputProps: {
|
|
193
|
+
autoComplete: 'off'
|
|
194
|
+
}
|
|
195
|
+
}, (0, _ramda.pick)(RDProps, props))));
|
|
196
|
+
};
|
|
174
197
|
|
|
175
|
-
exports.default = Dropdown;
|
|
176
198
|
Dropdown.propTypes = _Dropdown2.propTypes;
|
|
177
|
-
Dropdown.defaultProps = _Dropdown2.defaultProps;
|
|
199
|
+
Dropdown.defaultProps = _Dropdown2.defaultProps;
|
|
200
|
+
var _default = Dropdown;
|
|
201
|
+
exports.default = _default;
|
|
@@ -49,7 +49,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
49
49
|
|
|
50
50
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
51
51
|
|
|
52
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
52
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
53
53
|
|
|
54
54
|
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); }; }
|
|
55
55
|
|
|
@@ -59,7 +59,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
59
59
|
|
|
60
60
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
61
61
|
|
|
62
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
62
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
63
63
|
|
|
64
64
|
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); }
|
|
65
65
|
|
|
@@ -45,7 +45,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
45
45
|
|
|
46
46
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
47
47
|
|
|
48
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
48
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
49
49
|
|
|
50
50
|
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); }; }
|
|
51
51
|
|
|
@@ -55,7 +55,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
55
55
|
|
|
56
56
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
57
57
|
|
|
58
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
58
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
59
59
|
|
|
60
60
|
var DashMarkdown = /*#__PURE__*/function (_Component) {
|
|
61
61
|
_inherits(DashMarkdown, _Component);
|
|
@@ -163,6 +163,7 @@ var DashMarkdown = /*#__PURE__*/function (_Component) {
|
|
|
163
163
|
highlight_config = _this$props.highlight_config,
|
|
164
164
|
loading_state = _this$props.loading_state,
|
|
165
165
|
dangerously_allow_html = _this$props.dangerously_allow_html,
|
|
166
|
+
link_target = _this$props.link_target,
|
|
166
167
|
mathjax = _this$props.mathjax,
|
|
167
168
|
children = _this$props.children,
|
|
168
169
|
dedent = _this$props.dedent;
|
|
@@ -174,8 +175,23 @@ var DashMarkdown = /*#__PURE__*/function (_Component) {
|
|
|
174
175
|
},
|
|
175
176
|
dccMarkdown: function dccMarkdown(props) {
|
|
176
177
|
return /*#__PURE__*/_react.default.createElement(_reactMarkdown.default, (0, _ramda.mergeDeepRight)((0, _ramda.pick)(['dangerously_allow_html', 'dedent'], _this2.props), (0, _ramda.pick)(['children'], props)));
|
|
178
|
+
},
|
|
179
|
+
dashMathjax: function dashMathjax(props) {
|
|
180
|
+
return /*#__PURE__*/_react.default.createElement(_Math.default, {
|
|
181
|
+
tex: props.value,
|
|
182
|
+
inline: props.inline
|
|
183
|
+
});
|
|
177
184
|
}
|
|
178
185
|
};
|
|
186
|
+
|
|
187
|
+
var regexMath = function regexMath(value) {
|
|
188
|
+
var newValue = value.replace(/(\${1,2})((?:\\.|[^$])+)\1/g, function (m, tag, src) {
|
|
189
|
+
var inline = tag.length === 1 || src.indexOf('\n') === -1;
|
|
190
|
+
return "<dashMathjax value='".concat(src, "' inline='").concat(inline, "'/>");
|
|
191
|
+
});
|
|
192
|
+
return newValue;
|
|
193
|
+
};
|
|
194
|
+
|
|
179
195
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
180
196
|
id: id,
|
|
181
197
|
ref: function ref(node) {
|
|
@@ -187,6 +203,7 @@ var DashMarkdown = /*#__PURE__*/function (_Component) {
|
|
|
187
203
|
}, /*#__PURE__*/_react.default.createElement(_reactMarkdown.default, {
|
|
188
204
|
source: displayText,
|
|
189
205
|
escapeHtml: !dangerously_allow_html,
|
|
206
|
+
linkTarget: link_target,
|
|
190
207
|
plugins: mathjax ? [_remarkMath.default] : [],
|
|
191
208
|
renderers: {
|
|
192
209
|
math: function math(props) {
|
|
@@ -203,7 +220,7 @@ var DashMarkdown = /*#__PURE__*/function (_Component) {
|
|
|
203
220
|
},
|
|
204
221
|
html: function html(props) {
|
|
205
222
|
return props.escapeHtml ? props.value : /*#__PURE__*/_react.default.createElement(_reactJsxParser.default, {
|
|
206
|
-
jsx: props.value,
|
|
223
|
+
jsx: mathjax ? regexMath(props.value) : props.value,
|
|
207
224
|
components: componentTransforms,
|
|
208
225
|
renderInWrapper: false
|
|
209
226
|
});
|
|
@@ -27,7 +27,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
27
27
|
|
|
28
28
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
30
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : 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
|
|
|
@@ -37,7 +37,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
37
37
|
|
|
38
38
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
39
39
|
|
|
40
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
40
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
41
|
|
|
42
42
|
var DashMath = /*#__PURE__*/function (_Component) {
|
|
43
43
|
_inherits(DashMath, _Component);
|
|
@@ -27,7 +27,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
27
27
|
|
|
28
28
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
29
29
|
|
|
30
|
-
function _extends() { _extends = Object.assign
|
|
30
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
31
31
|
|
|
32
32
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
33
33
|
|
|
@@ -43,7 +43,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
43
43
|
|
|
44
44
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
45
45
|
|
|
46
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
46
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
47
47
|
|
|
48
48
|
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); }; }
|
|
49
49
|
|
|
@@ -53,7 +53,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
53
53
|
|
|
54
54
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
55
55
|
|
|
56
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
56
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
57
57
|
|
|
58
58
|
var RangeSlider = /*#__PURE__*/function (_Component) {
|
|
59
59
|
_inherits(RangeSlider, _Component);
|
|
@@ -27,7 +27,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
27
27
|
|
|
28
28
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
29
29
|
|
|
30
|
-
function _extends() { _extends = Object.assign
|
|
30
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
31
31
|
|
|
32
32
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
33
33
|
|
|
@@ -43,7 +43,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
43
43
|
|
|
44
44
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
45
45
|
|
|
46
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
46
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
47
47
|
|
|
48
48
|
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); }; }
|
|
49
49
|
|
|
@@ -53,7 +53,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
53
53
|
|
|
54
54
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
55
55
|
|
|
56
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
56
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* A slider component with a single handle.
|
|
@@ -27,7 +27,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
27
27
|
|
|
28
28
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
30
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : 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
|
|
|
@@ -37,7 +37,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
37
37
|
|
|
38
38
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
39
39
|
|
|
40
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
40
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
41
|
|
|
42
42
|
var Upload = /*#__PURE__*/function (_Component) {
|
|
43
43
|
_inherits(Upload, _Component);
|
|
@@ -5,16 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
|
|
8
|
-
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); }
|
|
9
|
-
|
|
10
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
|
-
|
|
12
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
13
|
-
|
|
14
8
|
var _default = function _default() {
|
|
15
|
-
return
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
return import(
|
|
10
|
+
/* webpackChunkName: "datepicker" */
|
|
11
|
+
'../../fragments/DatePickerRange.react');
|
|
18
12
|
};
|
|
19
13
|
|
|
20
14
|
exports.default = _default;
|
|
@@ -5,16 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
|
|
8
|
-
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); }
|
|
9
|
-
|
|
10
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
|
-
|
|
12
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
13
|
-
|
|
14
8
|
var _default = function _default() {
|
|
15
|
-
return
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
return import(
|
|
10
|
+
/* webpackChunkName: "datepicker" */
|
|
11
|
+
'../../fragments/DatePickerSingle.react');
|
|
18
12
|
};
|
|
19
13
|
|
|
20
14
|
exports.default = _default;
|
|
@@ -5,16 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
|
|
8
|
-
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); }
|
|
9
|
-
|
|
10
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
|
-
|
|
12
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
13
|
-
|
|
14
8
|
var _default = function _default() {
|
|
15
|
-
return
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
return import(
|
|
10
|
+
/* webpackChunkName: "dropdown" */
|
|
11
|
+
'../../fragments/Dropdown.react');
|
|
18
12
|
};
|
|
19
13
|
|
|
20
14
|
exports.default = _default;
|
|
@@ -5,16 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
|
|
8
|
-
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); }
|
|
9
|
-
|
|
10
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
|
-
|
|
12
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
13
|
-
|
|
14
8
|
var _default = function _default() {
|
|
15
|
-
return
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
return import(
|
|
10
|
+
/* webpackChunkName: "graph" */
|
|
11
|
+
'../../fragments/Graph.react');
|
|
18
12
|
};
|
|
19
13
|
|
|
20
14
|
exports.default = _default;
|
|
@@ -5,16 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
|
|
8
|
-
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); }
|
|
9
|
-
|
|
10
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
|
-
|
|
12
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
13
|
-
|
|
14
8
|
var _default = function _default() {
|
|
15
|
-
return Promise.resolve(window.hljs ||
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
return Promise.resolve(window.hljs || import(
|
|
10
|
+
/* webpackChunkName: "highlight" */
|
|
11
|
+
'../../third-party/highlight.js').then(function (result) {
|
|
18
12
|
return result.default;
|
|
19
13
|
}));
|
|
20
14
|
};
|
|
@@ -5,16 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
|
|
8
|
-
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); }
|
|
9
|
-
|
|
10
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
|
-
|
|
12
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
13
|
-
|
|
14
8
|
var _default = function _default() {
|
|
15
|
-
return
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
return import(
|
|
10
|
+
/* webpackChunkName: "markdown" */
|
|
11
|
+
'../../fragments/Markdown.react');
|
|
18
12
|
};
|
|
19
13
|
|
|
20
14
|
exports.default = _default;
|