x-block-lib 0.11.5 → 0.11.7
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/dist/{en.mwyn804k.js → en.ek9yugi6.js} +5 -2
- package/dist/{i18n-en.d45d4c13.js → i18n-en.c3uxu3r5.js} +1 -1
- package/dist/{i18n-zhHans.vr7fw0y7.js → i18n-zhHans.hyv14btt.js} +2 -2
- package/dist/index.d.ts +8 -9
- package/dist/index.js +243 -189
- package/dist/{rolldown-runtime.wcysgu6r.js → rolldown-runtime.d6iwd7kf.js} +1 -1
- package/dist/vendor.k3ftbehq.js +36962 -0
- package/dist/{zhHans.oa40n62t.js → zhHans.e42r5aas.js} +8 -5
- package/package.json +24 -27
- package/dist/vendor.b0mctov2.js +0 -34461
|
@@ -170,7 +170,7 @@ var en_default = {
|
|
|
170
170
|
APP_V1_SELECT_SLOT_TITLE: "select slot",
|
|
171
171
|
APP_V1_SELECT_SLOT_TOOLTIP: "APP_V1_SELECT_SLOT_TOOLTIP",
|
|
172
172
|
APP_V1_SELECT_SLOT_HELPURL: "APP_V1_SELECT_SLOT_HELPURL",
|
|
173
|
-
APP_V1_SET_APP_METHOD_OUTPUT_TITLE: "set
|
|
173
|
+
APP_V1_SET_APP_METHOD_OUTPUT_TITLE: "set output",
|
|
174
174
|
APP_V1_SET_APP_METHOD_OUTPUT_TOOLTIP: "APP_V1_SET_APP_METHOD_OUTPUT_TOOLTIP",
|
|
175
175
|
APP_V1_SET_APP_METHOD_OUTPUT_HELPURL: "APP_V1_SET_APP_METHOD_OUTPUT_HELPURL",
|
|
176
176
|
APP_V1_SET_APP_STATE_TITLE: "set state",
|
|
@@ -222,7 +222,10 @@ var en_default = {
|
|
|
222
222
|
COMPUTE_V1_COMPUTE_ENV_IS_TITLE: "environment is %1",
|
|
223
223
|
COMPUTE_V1_COMPUTE_ENV_IS_TOOLTIP: "COMPUTE_V1_COMPUTE_ENV_IS_TOOLTIP",
|
|
224
224
|
COMPUTE_V1_COMPUTE_ENV_IS_HELPURL: "COMPUTE_V1_COMPUTE_ENV_IS_HELPURL",
|
|
225
|
-
|
|
225
|
+
COMPUTE_V1_ON_FLOW_STATE_EVENT_TITLE: "state event",
|
|
226
|
+
COMPUTE_V1_ON_FLOW_STATE_EVENT_TOOLTIP: "COMPUTE_V1_ON_FLOW_STATE_EVENT_TOOLTIP",
|
|
227
|
+
COMPUTE_V1_ON_FLOW_STATE_EVENT_HELPURL: "COMPUTE_V1_ON_FLOW_STATE_EVENT_HELPURL",
|
|
228
|
+
COMPUTE_V1_SET_FUNC_OUTPUT_TITLE: "set output",
|
|
226
229
|
COMPUTE_V1_SET_FUNC_OUTPUT_TOOLTIP: "COMPUTE_V1_SET_FUNC_OUTPUT_TOOLTIP",
|
|
227
230
|
COMPUTE_V1_SET_FUNC_OUTPUT_HELPURL: "COMPUTE_V1_SET_FUNC_OUTPUT_HELPURL",
|
|
228
231
|
DATA_AS: "as",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __exportAll } from "./rolldown-runtime.
|
|
1
|
+
import { n as __exportAll } from "./rolldown-runtime.d6iwd7kf.js";
|
|
2
2
|
|
|
3
3
|
//#region src/i18n/locales/zhHans/index.ts
|
|
4
4
|
var zhHans_exports = /* @__PURE__ */ __exportAll({ default: () => zhHans_default });
|
|
@@ -10,7 +10,7 @@ var zhHans_default = { "x-block-lib": {
|
|
|
10
10
|
msg: { cannotOperateInLockedState: "锁定状态下不能操作" },
|
|
11
11
|
navigator: "导航器",
|
|
12
12
|
noOption: "没有选项",
|
|
13
|
-
procedure: "
|
|
13
|
+
procedure: "过程",
|
|
14
14
|
temporaryBlock: "临时块",
|
|
15
15
|
tip: {
|
|
16
16
|
hotkeyCtrlE: "按「Ctrl E」导航",
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Type } from "x-essential-lib";
|
|
2
2
|
import { EventKind, MethodKind, PropertyKind, ZProperty } from "x-runtime-lib";
|
|
3
3
|
import { App } from "vue";
|
|
4
|
-
|
|
5
4
|
//#region src/core/utils/app/event.d.ts
|
|
6
5
|
interface Param {
|
|
7
6
|
key: string;
|
|
@@ -14,8 +13,8 @@ interface EventInfo {
|
|
|
14
13
|
names: string[];
|
|
15
14
|
params?: Param[];
|
|
16
15
|
}
|
|
17
|
-
declare function getOnEventInfo(id: string): EventInfo | undefined;
|
|
18
|
-
declare function getTriggerEventInfo(id: string): EventInfo | undefined;
|
|
16
|
+
export declare function getOnEventInfo(id: string): EventInfo | undefined;
|
|
17
|
+
export declare function getTriggerEventInfo(id: string): EventInfo | undefined;
|
|
19
18
|
//#endregion
|
|
20
19
|
//#region src/core/utils/app/method.d.ts
|
|
21
20
|
interface Field {
|
|
@@ -30,8 +29,8 @@ interface MethodInfo {
|
|
|
30
29
|
inputs?: Field[];
|
|
31
30
|
outputs?: Field[];
|
|
32
31
|
}
|
|
33
|
-
declare function getCallMethodInfo(id: string): MethodInfo | undefined;
|
|
34
|
-
declare function getImplementMethodInfo(id: string): MethodInfo | undefined;
|
|
32
|
+
export declare function getCallMethodInfo(id: string): MethodInfo | undefined;
|
|
33
|
+
export declare function getImplementMethodInfo(id: string): MethodInfo | undefined;
|
|
35
34
|
//#endregion
|
|
36
35
|
//#region src/core/utils/app/node.d.ts
|
|
37
36
|
interface NodeInfo {
|
|
@@ -40,7 +39,7 @@ interface NodeInfo {
|
|
|
40
39
|
name: string;
|
|
41
40
|
alias: string;
|
|
42
41
|
}
|
|
43
|
-
declare function getNodeInfo(nodeid: string): NodeInfo | undefined;
|
|
42
|
+
export declare function getNodeInfo(nodeid: string): NodeInfo | undefined;
|
|
44
43
|
//#endregion
|
|
45
44
|
//#region src/core/utils/app/property.d.ts
|
|
46
45
|
interface PropertyInfo {
|
|
@@ -57,7 +56,7 @@ interface PropertyInfo {
|
|
|
57
56
|
};
|
|
58
57
|
};
|
|
59
58
|
}
|
|
60
|
-
declare function getPropertyInfo(id: string): PropertyInfo | undefined;
|
|
59
|
+
export declare function getPropertyInfo(id: string): PropertyInfo | undefined;
|
|
61
60
|
//#endregion
|
|
62
61
|
//#region src/components/blockly/workspace.d.ts
|
|
63
62
|
type Type$1 = 'page' | 'comp' | 'func' | 'flow' | 'json';
|
|
@@ -105,7 +104,7 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
105
104
|
declare const install: (app: App) => void;
|
|
106
105
|
//#endregion
|
|
107
106
|
//#region src/i18n/index.d.ts
|
|
108
|
-
declare function loadLocaleMessageBlock(locale: string): Promise<{
|
|
107
|
+
export declare function loadLocaleMessageBlock(locale: string): Promise<{
|
|
109
108
|
'x-block-lib': {
|
|
110
109
|
bind: string;
|
|
111
110
|
dlg: {
|
|
@@ -136,4 +135,4 @@ declare const _default$1: {
|
|
|
136
135
|
install: (app: import("vue").App) => void;
|
|
137
136
|
};
|
|
138
137
|
//#endregion
|
|
139
|
-
export { _default as XBlockly, _default$1 as default,
|
|
138
|
+
export { _default as XBlockly, _default$1 as default, install };
|