polymatica-widget 2.1.4 → 2.1.6
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/__internal__/widget-options.js +1 -1
- package/config.js +2 -1
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ var WidgetOptionType;
|
|
|
27
27
|
})(WidgetOptionType = exports.WidgetOptionType || (exports.WidgetOptionType = {}));
|
|
28
28
|
exports.widgetOptionsTargetKey = "6ba1fa0f-7eab-49f8-80ef-0fed376661e2";
|
|
29
29
|
function setWidgetOptionsTarget(options) {
|
|
30
|
-
|
|
30
|
+
globalThis[exports.widgetOptionsTargetKey] = options;
|
|
31
31
|
}
|
|
32
32
|
exports.setWidgetOptionsTarget = setWidgetOptionsTarget;
|
|
33
33
|
function valueConversion(type, source) {
|
package/config.js
CHANGED
|
@@ -102,5 +102,6 @@ function colorPicker(params) {
|
|
|
102
102
|
}
|
|
103
103
|
exports.colorPicker = colorPicker;
|
|
104
104
|
function push(option) {
|
|
105
|
-
const target =
|
|
105
|
+
const target = globalThis[widget_options_1.widgetOptionsTargetKey];
|
|
106
|
+
target.push(option);
|
|
106
107
|
}
|