x-block-lib 0.3.23 → 0.4.0
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/{blockly-ijxiuski.js → blockly-jgwpd4oo.js} +31 -15
- package/dist/components/blockly/cleanup.vue.d.ts +1 -1
- package/dist/components/blockly/index.vue.d.ts +6 -16
- package/dist/components/blockly/lock.vue.d.ts +4 -13
- package/dist/components/blockly/navigator.vue.d.ts +1 -1
- package/dist/core/blocks/color/colorRgb/v1/index.d.ts +1 -0
- package/dist/core/blocks/color/index.d.ts +4 -0
- package/dist/core/blocks/common/index.d.ts +1 -0
- package/dist/core/blocks/common/parameter/v1/index.d.ts +22 -0
- package/dist/core/blocks/compute/callFunc/v1/index.d.ts +1 -0
- package/dist/core/blocks/compute/index.d.ts +1 -0
- package/dist/core/blocks/index.d.ts +10 -0
- package/dist/core/blocks/list/index.d.ts +9 -0
- package/dist/core/blocks/list/listCreate/v1/index.d.ts +1 -0
- package/dist/core/blocks/list/listDelete/v1/index.d.ts +1 -0
- package/dist/core/blocks/list/listGet/v1/index.d.ts +1 -0
- package/dist/core/blocks/list/listGetSublist/v1/index.d.ts +1 -0
- package/dist/core/blocks/list/listIsEmpty/v1/index.d.ts +1 -0
- package/dist/core/blocks/list/listJoin/v1/index.d.ts +1 -0
- package/dist/core/blocks/list/listLength/v1/index.d.ts +1 -0
- package/dist/core/blocks/list/listReverse/v1/index.d.ts +1 -0
- package/dist/core/blocks/list/listSet/v1/index.d.ts +1 -0
- package/dist/core/blocks/logic/extensions/v1/index.d.ts +1 -0
- package/dist/core/blocks/logic/index.d.ts +7 -2
- package/dist/core/blocks/logic/logicBoolean/v1/index.d.ts +1 -0
- package/dist/core/blocks/logic/logicCompare/v1/index.d.ts +1 -0
- package/dist/core/blocks/logic/logicIf/v1/index.d.ts +1 -0
- package/dist/core/blocks/logic/logicNegate/v1/index.d.ts +1 -0
- package/dist/core/blocks/logic/logicOperation/v1/index.d.ts +1 -0
- package/dist/core/blocks/logic/logicTernary/v1/index.d.ts +1 -0
- package/dist/core/blocks/loop/index.d.ts +1 -1
- package/dist/core/blocks/loop/loopWhileUntil/v1/index.d.ts +1 -0
- package/dist/core/blocks/math/extensions/v1/index.d.ts +1 -0
- package/dist/core/blocks/math/index.d.ts +13 -0
- package/dist/core/blocks/math/mathArithmetic/v1/index.d.ts +1 -0
- package/dist/core/blocks/math/mathConstant/v1/index.d.ts +1 -0
- package/dist/core/blocks/math/mathConstrain/v1/index.d.ts +1 -0
- package/dist/core/blocks/math/mathModulo/v1/index.d.ts +1 -0
- package/dist/core/blocks/math/mathNumber/v1/index.d.ts +1 -0
- package/dist/core/blocks/math/mathNumberProperty/v1/index.d.ts +1 -0
- package/dist/core/blocks/math/mathOnList/v1/index.d.ts +1 -0
- package/dist/core/blocks/math/mathRandomFloat/v1/index.d.ts +1 -0
- package/dist/core/blocks/math/mathRandomInt/v1/index.d.ts +1 -0
- package/dist/core/blocks/math/mathRound/v1/index.d.ts +1 -0
- package/dist/core/blocks/math/mathSingle/v1/index.d.ts +1 -0
- package/dist/core/blocks/math/mathTrig/v1/index.d.ts +1 -0
- package/dist/core/blocks/object/index.d.ts +6 -0
- package/dist/core/blocks/object/objectCreate/v1/index.d.ts +1 -0
- package/dist/core/blocks/object/objectDelete/v1/index.d.ts +1 -0
- package/dist/core/blocks/object/objectFromJson/v1/index.d.ts +1 -0
- package/dist/core/blocks/object/objectGet/v1/index.d.ts +1 -0
- package/dist/core/blocks/object/objectSet/v1/index.d.ts +1 -0
- package/dist/core/blocks/object/objectToJson/v1/index.d.ts +1 -0
- package/dist/core/blocks/procedure/index.d.ts +2 -0
- package/dist/core/blocks/procedure/procedureCall/v1/index.d.ts +1 -0
- package/dist/core/blocks/procedure/procedureDef/v1/index.d.ts +29 -0
- package/dist/core/blocks/procedure/procedureReturn/v1/index.d.ts +1 -0
- package/dist/core/blocks/resource/downloadAsset/v1/index.d.ts +1 -0
- package/dist/core/blocks/resource/downloadResource/v1/index.d.ts +1 -0
- package/dist/core/blocks/resource/index.d.ts +0 -0
- package/dist/core/blocks/resource/selectResource/v1/index.d.ts +1 -0
- package/dist/core/blocks/resource/uploadResource/v1/index.d.ts +1 -0
- package/dist/core/blocks/text/index.d.ts +14 -0
- package/dist/core/blocks/text/text/v1/index.d.ts +1 -0
- package/dist/core/blocks/text/textAppend/v1/index.d.ts +1 -0
- package/dist/core/blocks/text/textChangeCase/v1/index.d.ts +1 -0
- package/dist/core/blocks/text/textCharAt/v1/index.d.ts +1 -0
- package/dist/core/blocks/text/textCount/v1/index.d.ts +1 -0
- package/dist/core/blocks/text/textIndexOf/v1/index.d.ts +1 -0
- package/dist/core/blocks/text/textIsEmpty/v1/index.d.ts +1 -0
- package/dist/core/blocks/text/textJoin/v1/index.d.ts +21 -0
- package/dist/core/blocks/text/textLength/v1/index.d.ts +1 -0
- package/dist/core/blocks/text/textReplace/v1/index.d.ts +1 -0
- package/dist/core/blocks/text/textReverse/v1/index.d.ts +1 -0
- package/dist/core/blocks/text/textSplit/v1/index.d.ts +1 -0
- package/dist/core/blocks/text/textSubstring/v1/index.d.ts +1 -0
- package/dist/core/blocks/text/textTrim/v1/index.d.ts +1 -0
- package/dist/core/blocks/text/utils/index.d.ts +1 -0
- package/dist/core/blocks/time/createTimer/v1/index.d.ts +1 -0
- package/dist/core/blocks/time/delay/v1/index.d.ts +1 -0
- package/dist/core/blocks/time/index.d.ts +2 -0
- package/dist/core/blocks/ui/callNodeMethod/v1/index.d.ts +1 -0
- package/dist/core/blocks/ui/callNodeMethodAs/v1/index.d.ts +1 -0
- package/dist/core/blocks/ui/getArg/v1/index.d.ts +1 -0
- package/dist/core/blocks/ui/getNode/v1/index.d.ts +1 -0
- package/dist/core/blocks/ui/getNodeProp/v1/index.d.ts +1 -0
- package/dist/core/blocks/ui/getNodePropAs/v1/index.d.ts +1 -0
- package/dist/core/blocks/ui/index.d.ts +4 -0
- package/dist/core/blocks/ui/navigateTo/v1/index.d.ts +1 -0
- package/dist/core/blocks/ui/onNodeEvent/v1/index.d.ts +1 -0
- package/dist/core/blocks/ui/onNodeEventAs/v1/index.d.ts +1 -0
- package/dist/core/blocks/ui/openConfirmDlg/v1/index.d.ts +1 -0
- package/dist/core/blocks/ui/openPromptDlg/v1/index.d.ts +1 -0
- package/dist/core/blocks/ui/popupMessage/v1/index.d.ts +1 -0
- package/dist/core/blocks/variable/extensions/v1/index.d.ts +1 -0
- package/dist/core/blocks/variable/index.d.ts +3 -0
- package/dist/core/blocks/variable/variableGet/v1/index.d.ts +1 -0
- package/dist/core/blocks/variable/variableSet/v1/index.d.ts +1 -0
- package/dist/core/category/index.d.ts +4 -0
- package/dist/core/category/interface/v1/index.d.ts +6 -0
- package/dist/core/category/procedure/v1/index.d.ts +6 -0
- package/dist/core/category/ui/v1/index.d.ts +6 -0
- package/dist/core/category/variable/v1/index.d.ts +7 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/core/locale/msg/en.d.ts +309 -10
- package/dist/core/locale/msg/zhHans.d.ts +309 -10
- package/dist/core/plugins/fieldColour/index.d.ts +1 -0
- package/dist/core/toolbox/app/v1/index.d.ts +5 -0
- package/dist/core/toolbox/app/v1/time.d.ts +24 -0
- package/dist/core/toolbox/common/color/v1/index.d.ts +75 -0
- package/dist/core/toolbox/common/list/v1/index.d.ts +88 -0
- package/dist/core/toolbox/common/math/v1/index.d.ts +132 -0
- package/dist/core/toolbox/common/object/v1/index.d.ts +31 -0
- package/dist/core/toolbox/common/text/v1/index.d.ts +173 -0
- package/dist/core/utils/app/app.d.ts +17 -0
- package/dist/core/utils/app/arg.d.ts +10 -0
- package/dist/core/utils/app/element.d.ts +21 -0
- package/dist/core/utils/app/node.d.ts +23 -0
- package/dist/core/utils/asset/index.d.ts +24 -0
- package/dist/core/utils/calc/index.d.ts +17 -0
- package/dist/core/utils/common/index.d.ts +9 -0
- package/dist/core/utils/common/state.d.ts +108 -0
- package/dist/core/utils/compute/func.d.ts +9 -0
- package/dist/core/utils/compute/space.d.ts +10 -0
- package/dist/core/utils/data/index.d.ts +26 -0
- package/dist/core/utils/resource/index.d.ts +24 -0
- package/dist/index.js +4981 -635
- package/package.json +12 -9
- package/dist/core/blocks/logic/if/v1/index.d.ts +0 -1
- package/dist/core/locale/msg/en/index.d.ts +0 -21
- package/dist/core/locale/msg/en/logic.d.ts +0 -13
- package/dist/core/locale/msg/en/loop.d.ts +0 -11
- package/dist/core/locale/msg/zhHans/index.d.ts +0 -21
- package/dist/core/locale/msg/zhHans/logic.d.ts +0 -13
- package/dist/core/locale/msg/zhHans/loop.d.ts +0 -11
- package/dist/en-jrrs2wmb.js +0 -35
- package/dist/zhHans-jrrs2wmb.js +0 -35
- /package/dist/core/blocks/{logic/boolean → color/colorBlend}/v1/index.d.ts +0 -0
- /package/dist/core/blocks/{loop/whileUntil → color/colorPicker}/v1/index.d.ts +0 -0
- /package/dist/core/blocks/{logic/if/v1/mutator.d.ts → color/colorRandom/v1/index.d.ts} +0 -0
|
@@ -15844,29 +15844,45 @@ const mm = /* @__PURE__ */ $g(gm), {
|
|
|
15844
15844
|
javascriptGenerator: Zb
|
|
15845
15845
|
} = mm;
|
|
15846
15846
|
export {
|
|
15847
|
-
|
|
15847
|
+
Tm as B,
|
|
15848
15848
|
Nm as C,
|
|
15849
|
-
|
|
15849
|
+
Um as D,
|
|
15850
|
+
Hm as E,
|
|
15851
|
+
Jm as F,
|
|
15850
15852
|
s_ as G,
|
|
15851
15853
|
p_ as M,
|
|
15854
|
+
m_ as N,
|
|
15852
15855
|
Jb as O,
|
|
15856
|
+
v_ as P,
|
|
15853
15857
|
S_ as S,
|
|
15854
15858
|
M_ as T,
|
|
15855
|
-
|
|
15856
|
-
|
|
15857
|
-
|
|
15859
|
+
W_ as U,
|
|
15860
|
+
J_ as V,
|
|
15861
|
+
ib as X,
|
|
15862
|
+
Ib as a,
|
|
15863
|
+
Gm as b,
|
|
15864
|
+
Wm as c,
|
|
15858
15865
|
mb as d,
|
|
15859
|
-
|
|
15860
|
-
|
|
15866
|
+
K_ as e,
|
|
15867
|
+
_b as f,
|
|
15861
15868
|
Tb as g,
|
|
15862
|
-
|
|
15863
|
-
|
|
15869
|
+
I_ as h,
|
|
15870
|
+
wb as i,
|
|
15864
15871
|
Zb as j,
|
|
15865
|
-
|
|
15866
|
-
|
|
15867
|
-
|
|
15868
|
-
|
|
15869
|
-
|
|
15872
|
+
vb as k,
|
|
15873
|
+
Rb as l,
|
|
15874
|
+
Db as m,
|
|
15875
|
+
Sb as n,
|
|
15876
|
+
xm as o,
|
|
15877
|
+
ab as p,
|
|
15878
|
+
Em as q,
|
|
15879
|
+
Lm as r,
|
|
15870
15880
|
Gb as s,
|
|
15871
|
-
|
|
15881
|
+
Vm as t,
|
|
15882
|
+
jb as u,
|
|
15883
|
+
cb as v,
|
|
15884
|
+
fb as w,
|
|
15885
|
+
x_ as x,
|
|
15886
|
+
yb as y,
|
|
15887
|
+
Wb as z
|
|
15872
15888
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -8,23 +8,13 @@ declare let __VLS_typeProps: Props;
|
|
|
8
8
|
type __VLS_PublicProps = {
|
|
9
9
|
'lock': boolean;
|
|
10
10
|
} & typeof __VLS_typeProps;
|
|
11
|
-
declare const _default: import("vue").DefineComponent<
|
|
12
|
-
"update:lock": (lock: boolean) => void;
|
|
13
|
-
ready: (...args: any[]) => void;
|
|
11
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
12
|
change: (...args: any[]) => void;
|
|
15
|
-
|
|
13
|
+
ready: (...args: any[]) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
15
|
+
lock: boolean;
|
|
16
|
+
} & Props & {
|
|
16
17
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
17
18
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
18
|
-
|
|
19
|
-
}, {}, {}>;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
20
20
|
export default _default;
|
|
21
|
-
|
|
22
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
-
type __VLS_TypePropsToOption<T> = {
|
|
24
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
-
} : {
|
|
27
|
-
type: import('vue').PropType<T[K]>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
type __VLS_PublicProps = {
|
|
2
2
|
modelValue: boolean;
|
|
3
3
|
};
|
|
4
|
-
declare const _default: import("vue").DefineComponent<
|
|
5
|
-
|
|
6
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
'update:modelValue': (modelValue: boolean) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps & {
|
|
7
7
|
"onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
|
|
8
|
-
}, {}, {}>;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
9
9
|
export default _default;
|
|
10
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type __VLS_TypePropsToOption<T> = {
|
|
12
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
-
} : {
|
|
15
|
-
type: import('vue').PropType<T[K]>;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './parameter/v1';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as Blockly from 'blockly/core';
|
|
2
|
+
type ParameterV1Type = typeof PARAMETER_V1;
|
|
3
|
+
interface ParameterV1 extends ParameterV1Type {
|
|
4
|
+
key: string;
|
|
5
|
+
name: string;
|
|
6
|
+
}
|
|
7
|
+
export type ParameterBlockV1 = Blockly.Block & ParameterV1;
|
|
8
|
+
declare const PARAMETER_V1: {
|
|
9
|
+
init: (this: ParameterBlockV1) => void;
|
|
10
|
+
mutationToDom: (this: ParameterBlockV1) => Element;
|
|
11
|
+
domToMutation: (this: ParameterBlockV1, xmlElement: Element) => void;
|
|
12
|
+
saveExtraState: (this: ParameterBlockV1) => {
|
|
13
|
+
key: string;
|
|
14
|
+
name: string;
|
|
15
|
+
};
|
|
16
|
+
loadExtraState: (this: ParameterBlockV1, state: any) => void;
|
|
17
|
+
setKeyName: (this: ParameterBlockV1, key: string, name: string) => void;
|
|
18
|
+
onchange: (this: ParameterBlockV1, event: Blockly.Events.Abstract) => void;
|
|
19
|
+
tryDuplicate_: (this: ParameterBlockV1, event: Blockly.Events.BlockMove) => void;
|
|
20
|
+
updateShape_: (this: ParameterBlockV1) => void;
|
|
21
|
+
};
|
|
22
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './callFunc/v1';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import './extensions/v1';
|
|
2
|
+
import './mathArithmetic/v1';
|
|
3
|
+
import './mathConstant/v1';
|
|
4
|
+
import './mathConstrain/v1';
|
|
5
|
+
import './mathModulo/v1';
|
|
6
|
+
import './mathNumber/v1';
|
|
7
|
+
import './mathNumberProperty/v1';
|
|
8
|
+
import './mathOnList/v1';
|
|
9
|
+
import './mathRandomFloat/v1';
|
|
10
|
+
import './mathRandomInt/v1';
|
|
11
|
+
import './mathRound/v1';
|
|
12
|
+
import './mathSingle/v1';
|
|
13
|
+
import './mathTrig/v1';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as Blockly from 'blockly/core';
|
|
2
|
+
type ProcedureDefV1Type = typeof PROCEDURE_DEF_V1;
|
|
3
|
+
interface ProcedureDefV1 extends ProcedureDefV1Type {
|
|
4
|
+
withReturn: boolean;
|
|
5
|
+
args: {
|
|
6
|
+
name: string;
|
|
7
|
+
id: string;
|
|
8
|
+
}[];
|
|
9
|
+
}
|
|
10
|
+
export type ProcedureDefBlockV1 = Blockly.Block & ProcedureDefV1;
|
|
11
|
+
declare const PROCEDURE_DEF_V1: {
|
|
12
|
+
init: (this: ProcedureDefBlockV1) => void;
|
|
13
|
+
mutationToDom: (this: ProcedureDefBlockV1) => Element;
|
|
14
|
+
domToMutation: (this: ProcedureDefBlockV1, xmlElement: Element) => void;
|
|
15
|
+
saveExtraState: (this: ProcedureDefBlockV1) => {
|
|
16
|
+
withReturn: boolean;
|
|
17
|
+
args: {
|
|
18
|
+
name: string;
|
|
19
|
+
id: string;
|
|
20
|
+
}[];
|
|
21
|
+
};
|
|
22
|
+
loadExtraState: (this: ProcedureDefBlockV1, state: any) => void;
|
|
23
|
+
getProcedureDef: (this: ProcedureDefBlockV1) => [string, string[], boolean];
|
|
24
|
+
decompose: (this: ProcedureDefBlockV1, workspace: Blockly.WorkspaceSvg) => Blockly.BlockSvg;
|
|
25
|
+
compose: (this: ProcedureDefBlockV1, containerBlock: Blockly.Block) => void;
|
|
26
|
+
updateShape_: (this: ProcedureDefBlockV1) => void;
|
|
27
|
+
rebuildBlocks_: (this: ProcedureDefBlockV1) => void;
|
|
28
|
+
};
|
|
29
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import './text/v1';
|
|
2
|
+
import './textAppend/v1';
|
|
3
|
+
import './textChangeCase/v1';
|
|
4
|
+
import './textCharAt/v1';
|
|
5
|
+
import './textCount/v1';
|
|
6
|
+
import './textIndexOf/v1';
|
|
7
|
+
import './textIsEmpty/v1';
|
|
8
|
+
import './textJoin/v1';
|
|
9
|
+
import './textLength/v1';
|
|
10
|
+
import './textReplace/v1';
|
|
11
|
+
import './textReverse/v1';
|
|
12
|
+
import './textSplit/v1';
|
|
13
|
+
import './textSubstring/v1';
|
|
14
|
+
import './textTrim/v1';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as Blockly from 'blockly/core';
|
|
2
|
+
export type TextJoinMutatorBlockV1 = Blockly.BlockSvg & TextJoinMutatorMixinV1;
|
|
3
|
+
interface TextJoinMutatorMixinV1 extends TextJoinMutatorMixinV1Type {
|
|
4
|
+
}
|
|
5
|
+
type TextJoinMutatorMixinV1Type = typeof TEXT_JOIN_MUTATOR_MIXIN_V1;
|
|
6
|
+
declare const TEXT_JOIN_MUTATOR_MIXIN_V1: {
|
|
7
|
+
itemCount_: number;
|
|
8
|
+
mutationToDom: (this: TextJoinMutatorBlockV1) => Element;
|
|
9
|
+
domToMutation: (this: TextJoinMutatorBlockV1, xmlElement: Element) => void;
|
|
10
|
+
saveExtraState: (this: TextJoinMutatorBlockV1) => {
|
|
11
|
+
itemCount: number;
|
|
12
|
+
};
|
|
13
|
+
loadExtraState: (this: TextJoinMutatorBlockV1, state: {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
}) => void;
|
|
16
|
+
decompose: (this: TextJoinMutatorBlockV1, workspace: Blockly.Workspace) => Blockly.Block;
|
|
17
|
+
compose: (this: TextJoinMutatorBlockV1, containerBlock: Blockly.Block) => void;
|
|
18
|
+
saveConnections: (this: TextJoinMutatorBlockV1, containerBlock: Blockly.Block) => void;
|
|
19
|
+
updateShape_: (this: TextJoinMutatorBlockV1) => void;
|
|
20
|
+
};
|
|
21
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function forceString(value: any): [string, number];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|