@builder.io/sdk-vue 0.0.1-45 → 0.0.1-46
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.
|
@@ -44,7 +44,7 @@ __export(exports, {
|
|
|
44
44
|
getBlockActions: () => getBlockActions,
|
|
45
45
|
});
|
|
46
46
|
var import_evaluate = __toModule(require('./evaluate'));
|
|
47
|
-
var
|
|
47
|
+
var import_event_handler_name = __toModule(require('./event-handler-name'));
|
|
48
48
|
function getBlockActions(options) {
|
|
49
49
|
const obj = {};
|
|
50
50
|
if (options.block.actions) {
|
|
@@ -53,7 +53,7 @@ function getBlockActions(options) {
|
|
|
53
53
|
continue;
|
|
54
54
|
}
|
|
55
55
|
const value = options.block.actions[key];
|
|
56
|
-
obj[(0,
|
|
56
|
+
obj[(0, import_event_handler_name.getEventHandlerName)(key)] = (event) =>
|
|
57
57
|
(0, import_evaluate.evaluate)({
|
|
58
58
|
code: value,
|
|
59
59
|
context: options.context,
|
package/package.json
CHANGED
|
@@ -44,7 +44,7 @@ __export(exports, {
|
|
|
44
44
|
getBlockActions: () => getBlockActions,
|
|
45
45
|
});
|
|
46
46
|
var import_evaluate = __toModule(require('./evaluate'));
|
|
47
|
-
var
|
|
47
|
+
var import_event_handler_name = __toModule(require('./event-handler-name'));
|
|
48
48
|
function getBlockActions(options) {
|
|
49
49
|
const obj = {};
|
|
50
50
|
if (options.block.actions) {
|
|
@@ -53,7 +53,7 @@ function getBlockActions(options) {
|
|
|
53
53
|
continue;
|
|
54
54
|
}
|
|
55
55
|
const value = options.block.actions[key];
|
|
56
|
-
obj[(0,
|
|
56
|
+
obj[(0, import_event_handler_name.getEventHandlerName)(key)] = (event) =>
|
|
57
57
|
(0, import_evaluate.evaluate)({
|
|
58
58
|
code: value,
|
|
59
59
|
context: options.context,
|
|
@@ -44,7 +44,7 @@ __export(exports, {
|
|
|
44
44
|
getBlockActions: () => getBlockActions,
|
|
45
45
|
});
|
|
46
46
|
var import_evaluate = __toModule(require('./evaluate'));
|
|
47
|
-
var
|
|
47
|
+
var import_event_handler_name = __toModule(require('./event-handler-name'));
|
|
48
48
|
function getBlockActions(options) {
|
|
49
49
|
const obj = {};
|
|
50
50
|
if (options.block.actions) {
|
|
@@ -53,7 +53,7 @@ function getBlockActions(options) {
|
|
|
53
53
|
continue;
|
|
54
54
|
}
|
|
55
55
|
const value = options.block.actions[key];
|
|
56
|
-
obj[(0,
|
|
56
|
+
obj[(0, import_event_handler_name.getEventHandlerName)(key)] = (event) =>
|
|
57
57
|
(0, import_evaluate.evaluate)({
|
|
58
58
|
code: value,
|
|
59
59
|
context: options.context,
|