x-block-lib 0.8.25 → 0.8.26

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.
@@ -54,6 +54,7 @@ declare const _default: {
54
54
  CATEGORY_TEXT: string;
55
55
  CATEGORY_TIME: string;
56
56
  CATEGORY_VARIABLE: string;
57
+ LABEL_ARGUMENT: string;
57
58
  LABEL_BOOLEAN: string;
58
59
  LABEL_BRANCH: string;
59
60
  LABEL_CONDITION: string;
@@ -54,6 +54,7 @@ declare const _default: {
54
54
  CATEGORY_TEXT: string;
55
55
  CATEGORY_TIME: string;
56
56
  CATEGORY_VARIABLE: string;
57
+ LABEL_ARGUMENT: string;
57
58
  LABEL_BOOLEAN: string;
58
59
  LABEL_BRANCH: string;
59
60
  LABEL_CONDITION: string;
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ const jn = (t, e, n) => {
30
30
  });
31
31
  };
32
32
  async function On(t) {
33
- const e = await jn(/* @__PURE__ */ Object.assign({ "./msg/en.ts": () => import("./msg-en.o20cskr5.js"), "./msg/zhHans.ts": () => import("./msg-zhHans.cp7hd0rr.js") }), `./msg/${t}.ts`, 3);
33
+ const e = await jn(/* @__PURE__ */ Object.assign({ "./msg/en.ts": () => import("./msg-en.n1dap9o0.js"), "./msg/zhHans.ts": () => import("./msg-zhHans.m1pmgr3r.js") }), `./msg/${t}.ts`, 3);
34
34
  Co(e.default);
35
35
  }
36
36
  function h(t) {
@@ -1490,8 +1490,8 @@ const Ui = {
1490
1490
  };
1491
1491
  g.trigger_app_event_v1 = Ui;
1492
1492
  s.forBlock.trigger_app_event_v1 = function(t) {
1493
- const e = s.quote_;
1494
- return `__triggerParentEventV1__(${e(t.event.id)});
1493
+ const n = [t.event.id];
1494
+ return `__callFunctionUpV1__('__triggerEventV1__', ${JSON.stringify(n)});
1495
1495
  `;
1496
1496
  };
1497
1497
  m([
@@ -58,6 +58,7 @@ const _ = {
58
58
  CATEGORY_TIME: "time",
59
59
  CATEGORY_VARIABLE: "var",
60
60
  // label
61
+ LABEL_ARGUMENT: "Argument",
61
62
  LABEL_BOOLEAN: "Boolean",
62
63
  LABEL_BRANCH: "Branch",
63
64
  LABEL_CONDITION: "Condition",
@@ -58,6 +58,7 @@ const _ = {
58
58
  CATEGORY_TIME: "时间",
59
59
  CATEGORY_VARIABLE: "变量",
60
60
  // label
61
+ LABEL_ARGUMENT: "参数",
61
62
  LABEL_BOOLEAN: "布尔",
62
63
  LABEL_BRANCH: "分支",
63
64
  LABEL_CONDITION: "条件",
@@ -512,7 +513,7 @@ const _ = {
512
513
  TIME_DO: "执行",
513
514
  TIME_IMMEDIATE: "立即",
514
515
  TIME_INTERVAL_MS: "间隔(ms)",
515
- TIME_LOOP: "loop",
516
+ TIME_LOOP: "循环",
516
517
  TIME_V1_CREATE_TIMER_TITLE: "创建定时器",
517
518
  TIME_V1_DELAY_TITLE: "延迟(ms)%1",
518
519
  // variable
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.8.25",
4
+ "version": "0.8.26",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -38,7 +38,7 @@
38
38
  "vue-router": "^4.6.3",
39
39
  "vuetify": "^3.10.7",
40
40
  "x-essential-lib": "^0.9.2",
41
- "x-runtime-lib": "^0.8.47",
41
+ "x-runtime-lib": "^0.8.48",
42
42
  "x-state-lib": "^0.3.23"
43
43
  },
44
44
  "devDependencies": {