@dreamcommerce/aurora 3.0.0-76 → 3.0.0-78
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/build/cjs/packages/aurora/src/assets/icons/lock_icon.js +10 -0
- package/build/cjs/packages/aurora/src/assets/icons/lock_icon.js.map +1 -0
- package/build/cjs/packages/aurora/src/assets/icons/lock_unlock_icon.js +10 -0
- package/build/cjs/packages/aurora/src/assets/icons/lock_unlock_icon.js.map +1 -0
- package/build/cjs/packages/aurora/src/components/controls/values_syncer_control/values_syncer_control.js +51 -0
- package/build/cjs/packages/aurora/src/components/controls/values_syncer_control/values_syncer_control.js.map +1 -0
- package/build/cjs/packages/aurora/src/components/controls/xhr_image_picker_control/xhr_image_picker_control.js +3 -1
- package/build/cjs/packages/aurora/src/components/controls/xhr_image_picker_control/xhr_image_picker_control.js.map +1 -1
- package/build/cjs/packages/aurora/src/components/values_syncer/values_syncer.js +90 -0
- package/build/cjs/packages/aurora/src/components/values_syncer/values_syncer.js.map +1 -0
- package/build/cjs/packages/aurora/src/index.js +6 -0
- package/build/cjs/packages/aurora/src/index.js.map +1 -1
- package/build/esm/packages/aurora/src/assets/icons/lock_icon.js +5 -2
- package/build/esm/packages/aurora/src/assets/icons/lock_icon.js.map +1 -1
- package/build/esm/packages/aurora/src/assets/icons/lock_unlock_icon.js +5 -2
- package/build/esm/packages/aurora/src/assets/icons/lock_unlock_icon.js.map +1 -1
- package/build/esm/packages/aurora/src/components/controls/values_syncer_control/values_syncer_control.js +40 -11
- package/build/esm/packages/aurora/src/components/controls/values_syncer_control/values_syncer_control.js.map +1 -1
- package/build/esm/packages/aurora/src/components/controls/values_syncer_control/values_syncer_control_types.d.ts +2 -2
- package/build/esm/packages/aurora/src/components/controls/values_syncer_control/values_syncer_control_types.js +1 -2
- package/build/esm/packages/aurora/src/components/controls/values_syncer_control/values_syncer_control_types.js.map +1 -1
- package/build/esm/packages/aurora/src/components/controls/xhr_image_picker_control/xhr_image_picker_control.js +3 -1
- package/build/esm/packages/aurora/src/components/controls/xhr_image_picker_control/xhr_image_picker_control.js.map +1 -1
- package/build/esm/packages/aurora/src/components/controls/xhr_image_picker_control/xhr_image_picker_control_types.d.ts +3 -3
- package/build/esm/packages/aurora/src/components/controls/xhr_image_picker_control/xhr_image_picker_control_types.js.map +1 -1
- package/build/esm/packages/aurora/src/components/image_picker/image_picker_types.d.ts +3 -3
- package/build/esm/packages/aurora/src/components/values_syncer/values_syncer.d.ts +1 -2
- package/build/esm/packages/aurora/src/components/values_syncer/values_syncer.js +81 -43
- package/build/esm/packages/aurora/src/components/values_syncer/values_syncer.js.map +1 -1
- package/build/esm/packages/aurora/src/components/values_syncer/values_syncer_types.d.ts +1 -1
- package/build/esm/packages/aurora/src/components/values_syncer/values_syncer_types.js +1 -1
- package/build/esm/packages/aurora/src/components/values_syncer/values_syncer_types.js.map +1 -1
- package/build/esm/packages/aurora/src/index.d.ts +4 -2
- package/build/esm/packages/aurora/src/index.js +3 -0
- package/build/esm/packages/aurora/src/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var react = require('@remixicon/react');
|
|
6
|
+
|
|
7
|
+
var LockUnlockLineIcon = react.RiLockUnlockLine;
|
|
8
|
+
|
|
9
|
+
exports.LockUnlockLineIcon = LockUnlockLineIcon;
|
|
10
|
+
//# sourceMappingURL=lock_unlock_icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var label = require('../../label/label.js');
|
|
7
|
+
var helper_text = require('../../helper_text/helper_text.js');
|
|
8
|
+
var error_list = require('../../error_list/error_list.js');
|
|
9
|
+
var control = require('../../control/control.js');
|
|
10
|
+
var values_syncer = require('../../values_syncer/values_syncer.js');
|
|
11
|
+
|
|
12
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
13
|
+
|
|
14
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
15
|
+
|
|
16
|
+
var ValuesSyncerControl = function ValuesSyncerControl(_ref) {
|
|
17
|
+
var label$1 = _ref.label,
|
|
18
|
+
_ref$required = _ref.required,
|
|
19
|
+
required = _ref$required === void 0 ? false : _ref$required,
|
|
20
|
+
tooltip = _ref.tooltip,
|
|
21
|
+
errors = _ref.errors,
|
|
22
|
+
firstControl = _ref.firstControl,
|
|
23
|
+
secondControl = _ref.secondControl,
|
|
24
|
+
initialFirstValue = _ref.initialFirstValue,
|
|
25
|
+
initialSecondValue = _ref.initialSecondValue,
|
|
26
|
+
isLocked = _ref.isLocked,
|
|
27
|
+
onLock = _ref.onLock,
|
|
28
|
+
onChange = _ref.onChange,
|
|
29
|
+
helperText = _ref.helperText;
|
|
30
|
+
return /*#__PURE__*/React__default['default'].createElement(control.Control, {
|
|
31
|
+
classname: "aurora-flex-col"
|
|
32
|
+
}, label$1 && (/*#__PURE__*/React__default['default'].createElement(label.Label, {
|
|
33
|
+
required: required,
|
|
34
|
+
tooltip: tooltip
|
|
35
|
+
}, label$1)), /*#__PURE__*/React__default['default'].createElement(values_syncer.ValuesSyncer, {
|
|
36
|
+
firstControl: firstControl,
|
|
37
|
+
secondControl: secondControl,
|
|
38
|
+
initialFirstValue: initialFirstValue,
|
|
39
|
+
initialSecondValue: initialSecondValue,
|
|
40
|
+
isLocked: isLocked,
|
|
41
|
+
onLock: onLock,
|
|
42
|
+
onChange: onChange
|
|
43
|
+
}), helperText && /*#__PURE__*/React__default['default'].createElement(helper_text.HelperText, null, helperText), errors && /*#__PURE__*/React__default['default'].createElement(error_list.ErrorList, {
|
|
44
|
+
errors: errors,
|
|
45
|
+
className: "aurora-text-danger aurora-text-sm"
|
|
46
|
+
}));
|
|
47
|
+
};
|
|
48
|
+
ValuesSyncerControl.displayName = 'ValuesSyncerControl';
|
|
49
|
+
|
|
50
|
+
exports.ValuesSyncerControl = ValuesSyncerControl;
|
|
51
|
+
//# sourceMappingURL=values_syncer_control.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var _rollupPluginBabelHelpers = require('../../../../../../_virtual/_rollupPluginBabelHelpers.js');
|
|
7
7
|
var label = require('../../label/label.js');
|
|
8
|
+
var helper_text = require('../../helper_text/helper_text.js');
|
|
8
9
|
var error_list = require('../../error_list/error_list.js');
|
|
9
10
|
var control = require('../../control/control.js');
|
|
10
11
|
var xhr_image_picker = require('../../xhr_image_picker/xhr_image_picker.js');
|
|
@@ -26,6 +27,7 @@ var XhrImagePickerControl = function XhrImagePickerControl(_ref) {
|
|
|
26
27
|
errors = _ref.errors,
|
|
27
28
|
tooltip = _ref.tooltip,
|
|
28
29
|
onUploaded = _ref.onUploaded,
|
|
30
|
+
helperText = _ref.helperText,
|
|
29
31
|
onImageSizeUpdated = _ref.onImageSizeUpdated,
|
|
30
32
|
ImageEditor = _ref.ImageEditor;
|
|
31
33
|
var _useState = React.useState(errors),
|
|
@@ -62,7 +64,7 @@ var XhrImagePickerControl = function XhrImagePickerControl(_ref) {
|
|
|
62
64
|
onUploaded: onUploaded,
|
|
63
65
|
onImageSizeUpdated: onImageSizeUpdated,
|
|
64
66
|
ImageEditor: ImageEditor
|
|
65
|
-
}), errors && /*#__PURE__*/React__default['default'].createElement(error_list.ErrorList, {
|
|
67
|
+
}), helperText && /*#__PURE__*/React__default['default'].createElement(helper_text.HelperText, null, helperText), errors && /*#__PURE__*/React__default['default'].createElement(error_list.ErrorList, {
|
|
66
68
|
errors: errors
|
|
67
69
|
}));
|
|
68
70
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var _rollupPluginBabelHelpers = require('../../../../../_virtual/_rollupPluginBabelHelpers.js');
|
|
7
|
+
var css_color_tokens_values = require('../../constants/css_tokens/css_color_tokens_values.js');
|
|
8
|
+
var cn = require('../../utilities/cn.js');
|
|
9
|
+
var stack = require('../stack/stack.js');
|
|
10
|
+
var lock_icon = require('../../assets/icons/lock_icon.js');
|
|
11
|
+
var lock_unlock_icon = require('../../assets/icons/lock_unlock_icon.js');
|
|
12
|
+
|
|
13
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
14
|
+
|
|
15
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
16
|
+
|
|
17
|
+
var ValuesSyncer = function ValuesSyncer(_ref) {
|
|
18
|
+
var firstControl = _ref.firstControl,
|
|
19
|
+
secondControl = _ref.secondControl,
|
|
20
|
+
initialFirstValue = _ref.initialFirstValue,
|
|
21
|
+
initialSecondValue = _ref.initialSecondValue,
|
|
22
|
+
_ref$isLocked = _ref.isLocked,
|
|
23
|
+
isLocked = _ref$isLocked === void 0 ? false : _ref$isLocked,
|
|
24
|
+
onLock = _ref.onLock,
|
|
25
|
+
onChange = _ref.onChange;
|
|
26
|
+
var _useState = React.useState(isLocked),
|
|
27
|
+
_useState2 = _rollupPluginBabelHelpers.slicedToArray(_useState, 2),
|
|
28
|
+
locked = _useState2[0],
|
|
29
|
+
setLocked = _useState2[1];
|
|
30
|
+
var _useState3 = React.useState(initialFirstValue),
|
|
31
|
+
_useState4 = _rollupPluginBabelHelpers.slicedToArray(_useState3, 2),
|
|
32
|
+
firstControlValue = _useState4[0],
|
|
33
|
+
setFirstControlValue = _useState4[1];
|
|
34
|
+
var _useState5 = React.useState(initialSecondValue),
|
|
35
|
+
_useState6 = _rollupPluginBabelHelpers.slicedToArray(_useState5, 2),
|
|
36
|
+
secondControlValue = _useState6[0],
|
|
37
|
+
setSecondControlValue = _useState6[1];
|
|
38
|
+
React.useEffect(function () {
|
|
39
|
+
onLock === null || onLock === void 0 ? void 0 : onLock(locked);
|
|
40
|
+
if (locked) {
|
|
41
|
+
setSecondControlValue(firstControlValue);
|
|
42
|
+
}
|
|
43
|
+
}, [locked]);
|
|
44
|
+
React.useEffect(function () {
|
|
45
|
+
setFirstControlValue(initialFirstValue);
|
|
46
|
+
setSecondControlValue(initialSecondValue);
|
|
47
|
+
}, [initialFirstValue, initialSecondValue]);
|
|
48
|
+
React.useEffect(function () {
|
|
49
|
+
onChange === null || onChange === void 0 ? void 0 : onChange({
|
|
50
|
+
first: firstControlValue,
|
|
51
|
+
second: secondControlValue,
|
|
52
|
+
isLocked: locked
|
|
53
|
+
});
|
|
54
|
+
}, [firstControlValue, secondControlValue, locked]);
|
|
55
|
+
var handleFirstControlChange = function handleFirstControlChange(value) {
|
|
56
|
+
setFirstControlValue(value);
|
|
57
|
+
if (locked) {
|
|
58
|
+
setSecondControlValue(value);
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
var handleSecondControlChange = function handleSecondControlChange(value) {
|
|
62
|
+
setSecondControlValue(value);
|
|
63
|
+
if (locked) {
|
|
64
|
+
setFirstControlValue(value);
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
var toggleLock = function toggleLock() {
|
|
68
|
+
return setLocked(function (prev) {
|
|
69
|
+
return !prev;
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
return /*#__PURE__*/React__default['default'].createElement(stack.Stack, {
|
|
73
|
+
spacing: "3",
|
|
74
|
+
align: "end",
|
|
75
|
+
className: "aurora-items-end"
|
|
76
|
+
}, firstControl(firstControlValue, handleFirstControlChange), /*#__PURE__*/React__default['default'].createElement("button", {
|
|
77
|
+
type: "button",
|
|
78
|
+
className: cn.cn(locked ? 'aurora-bg-active aurora-rounded-4' : 'aurora-bg-subtle', 'aurora-h-6 aurora-w-6 aurora-p-1 aurora-mb-2 aurora-rounded-4 focus'),
|
|
79
|
+
onClick: toggleLock
|
|
80
|
+
}, locked ? (/*#__PURE__*/React__default['default'].createElement(lock_icon.LockLineIcon, {
|
|
81
|
+
className: "aurora-h-4 aurora-w-4",
|
|
82
|
+
color: css_color_tokens_values.CSS_COLOR_TOKENS_VALUES.neutral900
|
|
83
|
+
})) : (/*#__PURE__*/React__default['default'].createElement(lock_unlock_icon.LockUnlockLineIcon, {
|
|
84
|
+
className: "aurora-h-4 aurora-w-4",
|
|
85
|
+
color: css_color_tokens_values.CSS_COLOR_TOKENS_VALUES.neutral600
|
|
86
|
+
}))), secondControl(secondControlValue, handleSecondControlChange));
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
exports.ValuesSyncer = ValuesSyncer;
|
|
90
|
+
//# sourceMappingURL=values_syncer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -99,8 +99,11 @@ var radio_group_control = require('./components/controls/radio_group_control/rad
|
|
|
99
99
|
var text_area = require('./components/text_area/text_area.js');
|
|
100
100
|
var text_area_control = require('./components/controls/text_area_control/text_area_control.js');
|
|
101
101
|
var controls_group = require('./components/controls/controls_group/controls_group.js');
|
|
102
|
+
var image_picker = require('./components/image_picker/image_picker.js');
|
|
102
103
|
var xhr_image_picker = require('./components/xhr_image_picker/xhr_image_picker.js');
|
|
103
104
|
var xhr_image_picker_control = require('./components/controls/xhr_image_picker_control/xhr_image_picker_control.js');
|
|
105
|
+
var values_syncer = require('./components/values_syncer/values_syncer.js');
|
|
106
|
+
var values_syncer_control = require('./components/controls/values_syncer_control/values_syncer_control.js');
|
|
104
107
|
|
|
105
108
|
|
|
106
109
|
|
|
@@ -219,6 +222,9 @@ exports.RadioGroupControl = radio_group_control.RadioGroupControl;
|
|
|
219
222
|
exports.TextArea = text_area.TextArea;
|
|
220
223
|
exports.TextAreaControl = text_area_control.TextAreaControl;
|
|
221
224
|
exports.ControlsGroup = controls_group.ControlsGroup;
|
|
225
|
+
exports.ImagePicker = image_picker.ImagePicker;
|
|
222
226
|
exports.XhrImagePicker = xhr_image_picker.XhrImagePicker;
|
|
223
227
|
exports.XhrImagePickerControl = xhr_image_picker_control.XhrImagePickerControl;
|
|
228
|
+
exports.ValuesSyncer = values_syncer.ValuesSyncer;
|
|
229
|
+
exports.ValuesSyncerControl = values_syncer_control.ValuesSyncerControl;
|
|
224
230
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import { RiLockUnlockLine } from '@remixicon/react';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
var LockUnlockLineIcon = RiLockUnlockLine;
|
|
4
|
+
|
|
5
|
+
export { LockUnlockLineIcon };
|
|
6
|
+
//# sourceMappingURL=lock_unlock_icon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;"}
|
|
@@ -1,14 +1,43 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Label } from '
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import '
|
|
6
|
-
import ValuesSyncer from '
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
import { Label } from '../../label/label.js';
|
|
3
|
+
import { HelperText } from '../../helper_text/helper_text.js';
|
|
4
|
+
import { ErrorList } from '../../error_list/error_list.js';
|
|
5
|
+
import { Control } from '../../control/control.js';
|
|
6
|
+
import { ValuesSyncer } from '../../values_syncer/values_syncer.js';
|
|
7
|
+
|
|
8
|
+
var ValuesSyncerControl = function ValuesSyncerControl(_ref) {
|
|
9
|
+
var label = _ref.label,
|
|
10
|
+
_ref$required = _ref.required,
|
|
11
|
+
required = _ref$required === void 0 ? false : _ref$required,
|
|
12
|
+
tooltip = _ref.tooltip,
|
|
13
|
+
errors = _ref.errors,
|
|
14
|
+
firstControl = _ref.firstControl,
|
|
15
|
+
secondControl = _ref.secondControl,
|
|
16
|
+
initialFirstValue = _ref.initialFirstValue,
|
|
17
|
+
initialSecondValue = _ref.initialSecondValue,
|
|
18
|
+
isLocked = _ref.isLocked,
|
|
19
|
+
onLock = _ref.onLock,
|
|
20
|
+
onChange = _ref.onChange,
|
|
21
|
+
helperText = _ref.helperText;
|
|
22
|
+
return /*#__PURE__*/React.createElement(Control, {
|
|
23
|
+
classname: "aurora-flex-col"
|
|
24
|
+
}, label && (/*#__PURE__*/React.createElement(Label, {
|
|
25
|
+
required: required,
|
|
26
|
+
tooltip: tooltip
|
|
27
|
+
}, label)), /*#__PURE__*/React.createElement(ValuesSyncer, {
|
|
28
|
+
firstControl: firstControl,
|
|
29
|
+
secondControl: secondControl,
|
|
30
|
+
initialFirstValue: initialFirstValue,
|
|
31
|
+
initialSecondValue: initialSecondValue,
|
|
32
|
+
isLocked: isLocked,
|
|
33
|
+
onLock: onLock,
|
|
34
|
+
onChange: onChange
|
|
35
|
+
}), helperText && /*#__PURE__*/React.createElement(HelperText, null, helperText), errors && /*#__PURE__*/React.createElement(ErrorList, {
|
|
36
|
+
errors: errors,
|
|
37
|
+
className: "aurora-text-danger aurora-text-sm"
|
|
38
|
+
}));
|
|
12
39
|
};
|
|
13
40
|
ValuesSyncerControl.displayName = 'ValuesSyncerControl';
|
|
14
|
-
|
|
41
|
+
|
|
42
|
+
export { ValuesSyncerControl };
|
|
43
|
+
//# sourceMappingURL=values_syncer_control.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { TValuesSyncerProps } from "../../values_syncer/values_syncer_types";
|
|
2
|
-
import React from "react";
|
|
3
3
|
export declare type TValuesSyncerControlProps = TValuesSyncerProps & {
|
|
4
4
|
label?: string | React.ReactNode;
|
|
5
|
-
|
|
5
|
+
required?: boolean;
|
|
6
6
|
tooltip?: string | React.ReactNode;
|
|
7
7
|
helperText?: string | React.ReactNode;
|
|
8
8
|
errors?: string | string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"values_syncer_control_types.js","sourceRoot":"","sources":["../../../../../../../../src/components/controls/values_syncer_control/values_syncer_control_types.ts"],"names":[],"mappings":"AAAA,OAAmC,qDAAqD,CAAC
|
|
1
|
+
{"version":3,"file":"values_syncer_control_types.js","sourceRoot":"","sources":["../../../../../../../../src/components/controls/values_syncer_control/values_syncer_control_types.ts"],"names":[],"mappings":"AAAA,OAAmC,qDAAqD,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import { slicedToArray as _slicedToArray } from '../../../../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
3
3
|
import { Label } from '../../label/label.js';
|
|
4
|
+
import { HelperText } from '../../helper_text/helper_text.js';
|
|
4
5
|
import { ErrorList } from '../../error_list/error_list.js';
|
|
5
6
|
import { Control } from '../../control/control.js';
|
|
6
7
|
import { XhrImagePicker } from '../../xhr_image_picker/xhr_image_picker.js';
|
|
@@ -18,6 +19,7 @@ var XhrImagePickerControl = function XhrImagePickerControl(_ref) {
|
|
|
18
19
|
errors = _ref.errors,
|
|
19
20
|
tooltip = _ref.tooltip,
|
|
20
21
|
onUploaded = _ref.onUploaded,
|
|
22
|
+
helperText = _ref.helperText,
|
|
21
23
|
onImageSizeUpdated = _ref.onImageSizeUpdated,
|
|
22
24
|
ImageEditor = _ref.ImageEditor;
|
|
23
25
|
var _useState = useState(errors),
|
|
@@ -54,7 +56,7 @@ var XhrImagePickerControl = function XhrImagePickerControl(_ref) {
|
|
|
54
56
|
onUploaded: onUploaded,
|
|
55
57
|
onImageSizeUpdated: onImageSizeUpdated,
|
|
56
58
|
ImageEditor: ImageEditor
|
|
57
|
-
}), errors && /*#__PURE__*/React.createElement(ErrorList, {
|
|
59
|
+
}), helperText && /*#__PURE__*/React.createElement(HelperText, null, helperText), errors && /*#__PURE__*/React.createElement(ErrorList, {
|
|
58
60
|
errors: errors
|
|
59
61
|
}));
|
|
60
62
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { TControlErrors } from "../../control/control_types";
|
|
2
|
-
import { IImagePicker,
|
|
2
|
+
import { IImagePicker, ImagePickerFileObject, TImageSize } from "../../image_picker/image_picker_types";
|
|
3
3
|
import { TUploadedImageData } from "../../xhr_image_picker/xhr_image_picker_types";
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
export interface IXhrImagePickerControl extends IImagePicker {
|
|
6
6
|
url: string;
|
|
7
7
|
label?: string;
|
|
8
|
-
onChange?: (file:
|
|
9
|
-
labelAdditionalInfo?: string | ReactNode;
|
|
8
|
+
onChange?: (file: ImagePickerFileObject, size?: TImageSize) => void;
|
|
10
9
|
onUploaded?: (data: TUploadedImageData) => void;
|
|
11
10
|
ImageEditor?: React.FunctionComponent;
|
|
12
11
|
errors?: TControlErrors;
|
|
13
12
|
required?: boolean;
|
|
14
13
|
tooltip?: string | ReactNode;
|
|
14
|
+
helperText?: string | ReactNode;
|
|
15
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xhr_image_picker_control_types.js","sourceRoot":"","sources":["../../../../../../../../src/components/controls/xhr_image_picker_control/xhr_image_picker_control_types.ts"],"names":[],"mappings":"AAAA,OAA+B,yCAAyC,CAAC;AACzE,
|
|
1
|
+
{"version":3,"file":"xhr_image_picker_control_types.js","sourceRoot":"","sources":["../../../../../../../../src/components/controls/xhr_image_picker_control/xhr_image_picker_control_types.ts"],"names":[],"mappings":"AAAA,OAA+B,yCAAyC,CAAC;AACzE,OAAgE,mDAAmD,CAAC;AACpH,OAAmC,2DAA2D,CAAC;AAC/F,OAA0B,OAAO,CAAC"}
|
|
@@ -7,7 +7,7 @@ export declare type TImagePickerFile = {
|
|
|
7
7
|
};
|
|
8
8
|
export declare type TImagePickerExtension = typeof IMAGE_PICKER_EXTENSIONS[keyof typeof IMAGE_PICKER_EXTENSIONS];
|
|
9
9
|
export declare type TMimeFileExtension = typeof MIME_FILE_EXTENSIONS[keyof typeof MIME_FILE_EXTENSIONS];
|
|
10
|
-
export declare type
|
|
10
|
+
export declare type ImagePickerFileObject = {
|
|
11
11
|
fileList: FileList | null;
|
|
12
12
|
fileAsDataUrl?: string | ArrayBuffer | null;
|
|
13
13
|
};
|
|
@@ -15,7 +15,7 @@ export interface IImagePicker {
|
|
|
15
15
|
id: string;
|
|
16
16
|
name?: string;
|
|
17
17
|
className?: string;
|
|
18
|
-
onChange?: (file:
|
|
18
|
+
onChange?: (file: ImagePickerFileObject) => void;
|
|
19
19
|
allowedExtensions?: TImagePickerExtension[];
|
|
20
20
|
initialFile?: TImagePickerFile;
|
|
21
21
|
errors?: TControlErrors;
|
|
@@ -50,7 +50,7 @@ export interface IUseImagePicker {
|
|
|
50
50
|
isDragOver: boolean;
|
|
51
51
|
}
|
|
52
52
|
export interface IUseImagePickerProps {
|
|
53
|
-
onChange?: (file:
|
|
53
|
+
onChange?: (file: ImagePickerFileObject) => void;
|
|
54
54
|
initialFile?: TImagePickerFile;
|
|
55
55
|
allowedExtensions?: TImagePickerExtension[];
|
|
56
56
|
inputRef: React.RefObject<HTMLInputElement>;
|
|
@@ -1,44 +1,82 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import '
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
1
|
+
import React, { useState, useEffect } from 'react';
|
|
2
|
+
import { slicedToArray as _slicedToArray } from '../../../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
3
|
+
import { CSS_COLOR_TOKENS_VALUES } from '../../constants/css_tokens/css_color_tokens_values.js';
|
|
4
|
+
import { cn } from '../../utilities/cn.js';
|
|
5
|
+
import { Stack } from '../stack/stack.js';
|
|
6
|
+
import { LockLineIcon } from '../../assets/icons/lock_icon.js';
|
|
7
|
+
import { LockUnlockLineIcon } from '../../assets/icons/lock_unlock_icon.js';
|
|
8
|
+
|
|
9
|
+
var ValuesSyncer = function ValuesSyncer(_ref) {
|
|
10
|
+
var firstControl = _ref.firstControl,
|
|
11
|
+
secondControl = _ref.secondControl,
|
|
12
|
+
initialFirstValue = _ref.initialFirstValue,
|
|
13
|
+
initialSecondValue = _ref.initialSecondValue,
|
|
14
|
+
_ref$isLocked = _ref.isLocked,
|
|
15
|
+
isLocked = _ref$isLocked === void 0 ? false : _ref$isLocked,
|
|
16
|
+
onLock = _ref.onLock,
|
|
17
|
+
onChange = _ref.onChange;
|
|
18
|
+
var _useState = useState(isLocked),
|
|
19
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
20
|
+
locked = _useState2[0],
|
|
21
|
+
setLocked = _useState2[1];
|
|
22
|
+
var _useState3 = useState(initialFirstValue),
|
|
23
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
24
|
+
firstControlValue = _useState4[0],
|
|
25
|
+
setFirstControlValue = _useState4[1];
|
|
26
|
+
var _useState5 = useState(initialSecondValue),
|
|
27
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
28
|
+
secondControlValue = _useState6[0],
|
|
29
|
+
setSecondControlValue = _useState6[1];
|
|
30
|
+
useEffect(function () {
|
|
31
|
+
onLock === null || onLock === void 0 ? void 0 : onLock(locked);
|
|
32
|
+
if (locked) {
|
|
33
|
+
setSecondControlValue(firstControlValue);
|
|
34
|
+
}
|
|
35
|
+
}, [locked]);
|
|
36
|
+
useEffect(function () {
|
|
37
|
+
setFirstControlValue(initialFirstValue);
|
|
38
|
+
setSecondControlValue(initialSecondValue);
|
|
39
|
+
}, [initialFirstValue, initialSecondValue]);
|
|
40
|
+
useEffect(function () {
|
|
41
|
+
onChange === null || onChange === void 0 ? void 0 : onChange({
|
|
42
|
+
first: firstControlValue,
|
|
43
|
+
second: secondControlValue,
|
|
44
|
+
isLocked: locked
|
|
45
|
+
});
|
|
46
|
+
}, [firstControlValue, secondControlValue, locked]);
|
|
47
|
+
var handleFirstControlChange = function handleFirstControlChange(value) {
|
|
48
|
+
setFirstControlValue(value);
|
|
49
|
+
if (locked) {
|
|
50
|
+
setSecondControlValue(value);
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
var handleSecondControlChange = function handleSecondControlChange(value) {
|
|
54
|
+
setSecondControlValue(value);
|
|
55
|
+
if (locked) {
|
|
56
|
+
setFirstControlValue(value);
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
var toggleLock = function toggleLock() {
|
|
60
|
+
return setLocked(function (prev) {
|
|
61
|
+
return !prev;
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
return /*#__PURE__*/React.createElement(Stack, {
|
|
65
|
+
spacing: "3",
|
|
66
|
+
align: "end",
|
|
67
|
+
className: "aurora-items-end"
|
|
68
|
+
}, firstControl(firstControlValue, handleFirstControlChange), /*#__PURE__*/React.createElement("button", {
|
|
69
|
+
type: "button",
|
|
70
|
+
className: cn(locked ? 'aurora-bg-active aurora-rounded-4' : 'aurora-bg-subtle', 'aurora-h-6 aurora-w-6 aurora-p-1 aurora-mb-2 aurora-rounded-4 focus'),
|
|
71
|
+
onClick: toggleLock
|
|
72
|
+
}, locked ? (/*#__PURE__*/React.createElement(LockLineIcon, {
|
|
73
|
+
className: "aurora-h-4 aurora-w-4",
|
|
74
|
+
color: CSS_COLOR_TOKENS_VALUES.neutral900
|
|
75
|
+
})) : (/*#__PURE__*/React.createElement(LockUnlockLineIcon, {
|
|
76
|
+
className: "aurora-h-4 aurora-w-4",
|
|
77
|
+
color: CSS_COLOR_TOKENS_VALUES.neutral600
|
|
78
|
+
}))), secondControl(secondControlValue, handleSecondControlChange));
|
|
42
79
|
};
|
|
43
|
-
|
|
44
|
-
|
|
80
|
+
|
|
81
|
+
export { ValuesSyncer };
|
|
82
|
+
//# sourceMappingURL=values_syncer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare type TValuesSyncerProps = {
|
|
3
3
|
firstControl: (value: unknown, setValue: (value: unknown) => void) => React.ReactNode;
|
|
4
4
|
secondControl: (value: unknown, setValue: (value: unknown) => void) => React.ReactNode;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import 'react';
|
|
2
2
|
//# sourceMappingURL=values_syncer_types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"values_syncer_types.js","sourceRoot":"","sources":["../../../../../../../src/components/values_syncer/values_syncer_types.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"values_syncer_types.js","sourceRoot":"","sources":["../../../../../../../src/components/values_syncer/values_syncer_types.ts"],"names":[],"mappings":"AAAA,OAAkB,OAAO,CAAC"}
|
|
@@ -99,8 +99,10 @@ export { RadioGroupControl } from "./components/controls/radio_group_control/rad
|
|
|
99
99
|
export { TextArea } from "./components/text_area/text_area";
|
|
100
100
|
export { TextAreaControl } from "./components/controls/text_area_control/text_area_control";
|
|
101
101
|
export { ControlsGroup } from "./components/controls/controls_group/controls_group";
|
|
102
|
-
export { IImagePicker } from "./components/image_picker/image_picker_types";
|
|
102
|
+
export { IImagePicker, TImageSize, TImagePickerExtension } from "./components/image_picker/image_picker_types";
|
|
103
103
|
export { ImagePicker } from "./components/image_picker/image_picker";
|
|
104
104
|
export { XhrImagePicker } from "./components/xhr_image_picker/xhr_image_picker";
|
|
105
105
|
export { XhrImagePickerControl } from "./components/controls/xhr_image_picker_control/xhr_image_picker_control";
|
|
106
|
-
export { IImageEditorProps } from "./components/xhr_image_picker/xhr_image_picker_types";
|
|
106
|
+
export { IImageEditorProps, TUploadedImageData } from "./components/xhr_image_picker/xhr_image_picker_types";
|
|
107
|
+
export { ValuesSyncerControl } from "./components/controls/values_syncer_control/values_syncer_control";
|
|
108
|
+
export { ValuesSyncer } from "./components/values_syncer/values_syncer";
|
|
@@ -95,6 +95,9 @@ export { RadioGroupControl } from './components/controls/radio_group_control/rad
|
|
|
95
95
|
export { TextArea } from './components/text_area/text_area.js';
|
|
96
96
|
export { TextAreaControl } from './components/controls/text_area_control/text_area_control.js';
|
|
97
97
|
export { ControlsGroup } from './components/controls/controls_group/controls_group.js';
|
|
98
|
+
export { ImagePicker } from './components/image_picker/image_picker.js';
|
|
98
99
|
export { XhrImagePicker } from './components/xhr_image_picker/xhr_image_picker.js';
|
|
99
100
|
export { XhrImagePickerControl } from './components/controls/xhr_image_picker_control/xhr_image_picker_control.js';
|
|
101
|
+
export { ValuesSyncer } from './components/values_syncer/values_syncer.js';
|
|
102
|
+
export { ValuesSyncerControl } from './components/controls/values_syncer_control/values_syncer_control.js';
|
|
100
103
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|