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.
Files changed (140) hide show
  1. package/dist/{blockly-ijxiuski.js → blockly-jgwpd4oo.js} +31 -15
  2. package/dist/components/blockly/cleanup.vue.d.ts +1 -1
  3. package/dist/components/blockly/index.vue.d.ts +6 -16
  4. package/dist/components/blockly/lock.vue.d.ts +4 -13
  5. package/dist/components/blockly/navigator.vue.d.ts +1 -1
  6. package/dist/core/blocks/color/colorRgb/v1/index.d.ts +1 -0
  7. package/dist/core/blocks/color/index.d.ts +4 -0
  8. package/dist/core/blocks/common/index.d.ts +1 -0
  9. package/dist/core/blocks/common/parameter/v1/index.d.ts +22 -0
  10. package/dist/core/blocks/compute/callFunc/v1/index.d.ts +1 -0
  11. package/dist/core/blocks/compute/index.d.ts +1 -0
  12. package/dist/core/blocks/index.d.ts +10 -0
  13. package/dist/core/blocks/list/index.d.ts +9 -0
  14. package/dist/core/blocks/list/listCreate/v1/index.d.ts +1 -0
  15. package/dist/core/blocks/list/listDelete/v1/index.d.ts +1 -0
  16. package/dist/core/blocks/list/listGet/v1/index.d.ts +1 -0
  17. package/dist/core/blocks/list/listGetSublist/v1/index.d.ts +1 -0
  18. package/dist/core/blocks/list/listIsEmpty/v1/index.d.ts +1 -0
  19. package/dist/core/blocks/list/listJoin/v1/index.d.ts +1 -0
  20. package/dist/core/blocks/list/listLength/v1/index.d.ts +1 -0
  21. package/dist/core/blocks/list/listReverse/v1/index.d.ts +1 -0
  22. package/dist/core/blocks/list/listSet/v1/index.d.ts +1 -0
  23. package/dist/core/blocks/logic/extensions/v1/index.d.ts +1 -0
  24. package/dist/core/blocks/logic/index.d.ts +7 -2
  25. package/dist/core/blocks/logic/logicBoolean/v1/index.d.ts +1 -0
  26. package/dist/core/blocks/logic/logicCompare/v1/index.d.ts +1 -0
  27. package/dist/core/blocks/logic/logicIf/v1/index.d.ts +1 -0
  28. package/dist/core/blocks/logic/logicNegate/v1/index.d.ts +1 -0
  29. package/dist/core/blocks/logic/logicOperation/v1/index.d.ts +1 -0
  30. package/dist/core/blocks/logic/logicTernary/v1/index.d.ts +1 -0
  31. package/dist/core/blocks/loop/index.d.ts +1 -1
  32. package/dist/core/blocks/loop/loopWhileUntil/v1/index.d.ts +1 -0
  33. package/dist/core/blocks/math/extensions/v1/index.d.ts +1 -0
  34. package/dist/core/blocks/math/index.d.ts +13 -0
  35. package/dist/core/blocks/math/mathArithmetic/v1/index.d.ts +1 -0
  36. package/dist/core/blocks/math/mathConstant/v1/index.d.ts +1 -0
  37. package/dist/core/blocks/math/mathConstrain/v1/index.d.ts +1 -0
  38. package/dist/core/blocks/math/mathModulo/v1/index.d.ts +1 -0
  39. package/dist/core/blocks/math/mathNumber/v1/index.d.ts +1 -0
  40. package/dist/core/blocks/math/mathNumberProperty/v1/index.d.ts +1 -0
  41. package/dist/core/blocks/math/mathOnList/v1/index.d.ts +1 -0
  42. package/dist/core/blocks/math/mathRandomFloat/v1/index.d.ts +1 -0
  43. package/dist/core/blocks/math/mathRandomInt/v1/index.d.ts +1 -0
  44. package/dist/core/blocks/math/mathRound/v1/index.d.ts +1 -0
  45. package/dist/core/blocks/math/mathSingle/v1/index.d.ts +1 -0
  46. package/dist/core/blocks/math/mathTrig/v1/index.d.ts +1 -0
  47. package/dist/core/blocks/object/index.d.ts +6 -0
  48. package/dist/core/blocks/object/objectCreate/v1/index.d.ts +1 -0
  49. package/dist/core/blocks/object/objectDelete/v1/index.d.ts +1 -0
  50. package/dist/core/blocks/object/objectFromJson/v1/index.d.ts +1 -0
  51. package/dist/core/blocks/object/objectGet/v1/index.d.ts +1 -0
  52. package/dist/core/blocks/object/objectSet/v1/index.d.ts +1 -0
  53. package/dist/core/blocks/object/objectToJson/v1/index.d.ts +1 -0
  54. package/dist/core/blocks/procedure/index.d.ts +2 -0
  55. package/dist/core/blocks/procedure/procedureCall/v1/index.d.ts +1 -0
  56. package/dist/core/blocks/procedure/procedureDef/v1/index.d.ts +29 -0
  57. package/dist/core/blocks/procedure/procedureReturn/v1/index.d.ts +1 -0
  58. package/dist/core/blocks/resource/downloadAsset/v1/index.d.ts +1 -0
  59. package/dist/core/blocks/resource/downloadResource/v1/index.d.ts +1 -0
  60. package/dist/core/blocks/resource/index.d.ts +0 -0
  61. package/dist/core/blocks/resource/selectResource/v1/index.d.ts +1 -0
  62. package/dist/core/blocks/resource/uploadResource/v1/index.d.ts +1 -0
  63. package/dist/core/blocks/text/index.d.ts +14 -0
  64. package/dist/core/blocks/text/text/v1/index.d.ts +1 -0
  65. package/dist/core/blocks/text/textAppend/v1/index.d.ts +1 -0
  66. package/dist/core/blocks/text/textChangeCase/v1/index.d.ts +1 -0
  67. package/dist/core/blocks/text/textCharAt/v1/index.d.ts +1 -0
  68. package/dist/core/blocks/text/textCount/v1/index.d.ts +1 -0
  69. package/dist/core/blocks/text/textIndexOf/v1/index.d.ts +1 -0
  70. package/dist/core/blocks/text/textIsEmpty/v1/index.d.ts +1 -0
  71. package/dist/core/blocks/text/textJoin/v1/index.d.ts +21 -0
  72. package/dist/core/blocks/text/textLength/v1/index.d.ts +1 -0
  73. package/dist/core/blocks/text/textReplace/v1/index.d.ts +1 -0
  74. package/dist/core/blocks/text/textReverse/v1/index.d.ts +1 -0
  75. package/dist/core/blocks/text/textSplit/v1/index.d.ts +1 -0
  76. package/dist/core/blocks/text/textSubstring/v1/index.d.ts +1 -0
  77. package/dist/core/blocks/text/textTrim/v1/index.d.ts +1 -0
  78. package/dist/core/blocks/text/utils/index.d.ts +1 -0
  79. package/dist/core/blocks/time/createTimer/v1/index.d.ts +1 -0
  80. package/dist/core/blocks/time/delay/v1/index.d.ts +1 -0
  81. package/dist/core/blocks/time/index.d.ts +2 -0
  82. package/dist/core/blocks/ui/callNodeMethod/v1/index.d.ts +1 -0
  83. package/dist/core/blocks/ui/callNodeMethodAs/v1/index.d.ts +1 -0
  84. package/dist/core/blocks/ui/getArg/v1/index.d.ts +1 -0
  85. package/dist/core/blocks/ui/getNode/v1/index.d.ts +1 -0
  86. package/dist/core/blocks/ui/getNodeProp/v1/index.d.ts +1 -0
  87. package/dist/core/blocks/ui/getNodePropAs/v1/index.d.ts +1 -0
  88. package/dist/core/blocks/ui/index.d.ts +4 -0
  89. package/dist/core/blocks/ui/navigateTo/v1/index.d.ts +1 -0
  90. package/dist/core/blocks/ui/onNodeEvent/v1/index.d.ts +1 -0
  91. package/dist/core/blocks/ui/onNodeEventAs/v1/index.d.ts +1 -0
  92. package/dist/core/blocks/ui/openConfirmDlg/v1/index.d.ts +1 -0
  93. package/dist/core/blocks/ui/openPromptDlg/v1/index.d.ts +1 -0
  94. package/dist/core/blocks/ui/popupMessage/v1/index.d.ts +1 -0
  95. package/dist/core/blocks/variable/extensions/v1/index.d.ts +1 -0
  96. package/dist/core/blocks/variable/index.d.ts +3 -0
  97. package/dist/core/blocks/variable/variableGet/v1/index.d.ts +1 -0
  98. package/dist/core/blocks/variable/variableSet/v1/index.d.ts +1 -0
  99. package/dist/core/category/index.d.ts +4 -0
  100. package/dist/core/category/interface/v1/index.d.ts +6 -0
  101. package/dist/core/category/procedure/v1/index.d.ts +6 -0
  102. package/dist/core/category/ui/v1/index.d.ts +6 -0
  103. package/dist/core/category/variable/v1/index.d.ts +7 -0
  104. package/dist/core/index.d.ts +1 -0
  105. package/dist/core/locale/msg/en.d.ts +309 -10
  106. package/dist/core/locale/msg/zhHans.d.ts +309 -10
  107. package/dist/core/plugins/fieldColour/index.d.ts +1 -0
  108. package/dist/core/toolbox/app/v1/index.d.ts +5 -0
  109. package/dist/core/toolbox/app/v1/time.d.ts +24 -0
  110. package/dist/core/toolbox/common/color/v1/index.d.ts +75 -0
  111. package/dist/core/toolbox/common/list/v1/index.d.ts +88 -0
  112. package/dist/core/toolbox/common/math/v1/index.d.ts +132 -0
  113. package/dist/core/toolbox/common/object/v1/index.d.ts +31 -0
  114. package/dist/core/toolbox/common/text/v1/index.d.ts +173 -0
  115. package/dist/core/utils/app/app.d.ts +17 -0
  116. package/dist/core/utils/app/arg.d.ts +10 -0
  117. package/dist/core/utils/app/element.d.ts +21 -0
  118. package/dist/core/utils/app/node.d.ts +23 -0
  119. package/dist/core/utils/asset/index.d.ts +24 -0
  120. package/dist/core/utils/calc/index.d.ts +17 -0
  121. package/dist/core/utils/common/index.d.ts +9 -0
  122. package/dist/core/utils/common/state.d.ts +108 -0
  123. package/dist/core/utils/compute/func.d.ts +9 -0
  124. package/dist/core/utils/compute/space.d.ts +10 -0
  125. package/dist/core/utils/data/index.d.ts +26 -0
  126. package/dist/core/utils/resource/index.d.ts +24 -0
  127. package/dist/index.js +4981 -635
  128. package/package.json +12 -9
  129. package/dist/core/blocks/logic/if/v1/index.d.ts +0 -1
  130. package/dist/core/locale/msg/en/index.d.ts +0 -21
  131. package/dist/core/locale/msg/en/logic.d.ts +0 -13
  132. package/dist/core/locale/msg/en/loop.d.ts +0 -11
  133. package/dist/core/locale/msg/zhHans/index.d.ts +0 -21
  134. package/dist/core/locale/msg/zhHans/logic.d.ts +0 -13
  135. package/dist/core/locale/msg/zhHans/loop.d.ts +0 -11
  136. package/dist/en-jrrs2wmb.js +0 -35
  137. package/dist/zhHans-jrrs2wmb.js +0 -35
  138. /package/dist/core/blocks/{logic/boolean → color/colorBlend}/v1/index.d.ts +0 -0
  139. /package/dist/core/blocks/{loop/whileUntil → color/colorPicker}/v1/index.d.ts +0 -0
  140. /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
- Em as B,
15847
+ Tm as B,
15848
15848
  Nm as C,
15849
- Gm as E,
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
- Hm as a,
15856
- _b as b,
15857
- I_ as c,
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
- vb as e,
15860
- Db as f,
15866
+ K_ as e,
15867
+ _b as f,
15861
15868
  Tb as g,
15862
- Sb as h,
15863
- Rb as i,
15869
+ I_ as h,
15870
+ wb as i,
15864
15871
  Zb as j,
15865
- xm as k,
15866
- ab as l,
15867
- x_ as m,
15868
- yb as n,
15869
- Wb as o,
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
- jb as u
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").ExtractPropTypes<{}>>, {}, {}>;
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<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
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
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
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
- "onUpdate:lock"?: ((lock: boolean) => any) | undefined;
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<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
- "update:modelValue": (modelValue: boolean) => void;
6
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
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").ExtractPropTypes<{}>>, {}, {}>;
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,4 @@
1
+ import './colorBlend/v1';
2
+ import './colorPicker/v1';
3
+ import './colorRandom/v1';
4
+ import './colorRgb/v1';
@@ -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';
@@ -1,2 +1,12 @@
1
+ import './color';
2
+ import './common';
3
+ import './list';
1
4
  import './logic';
2
5
  import './loop';
6
+ import './math';
7
+ import './object';
8
+ import './procedure';
9
+ import './resource';
10
+ import './text';
11
+ import './time';
12
+ import './variable';
@@ -0,0 +1,9 @@
1
+ import './listCreate/v1';
2
+ import './listDelete/v1';
3
+ import './listGet/v1';
4
+ import './listGetSublist/v1';
5
+ import './listIsEmpty/v1';
6
+ import './listJoin/v1';
7
+ import './listLength/v1';
8
+ import './listReverse/v1';
9
+ import './listSet/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 {};
@@ -1,2 +1,7 @@
1
- import './boolean/v1';
2
- import './if/v1';
1
+ import './extensions/v1';
2
+ import './logicBoolean/v1';
3
+ import './logicCompare/v1';
4
+ import './logicIf/v1';
5
+ import './logicNegate/v1';
6
+ import './logicOperation/v1';
7
+ import './logicTernary/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 {};
@@ -2,4 +2,4 @@ import './extensions/v1';
2
2
  import './flowControl/v1';
3
3
  import './for/v1';
4
4
  import './forEach/v1';
5
- import './whileUntil/v1';
5
+ import './loopWhileUntil/v1';
@@ -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,6 @@
1
+ import './objectCreate/v1';
2
+ import './objectDelete/v1';
3
+ import './objectFromJson/v1';
4
+ import './objectGet/v1';
5
+ import './objectSet/v1';
6
+ import './objectToJson/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,2 @@
1
+ import './procedureDef/v1';
2
+ import './procedureReturn/v1';
@@ -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 {};
File without changes
@@ -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,2 @@
1
+ import './createTimer/v1';
2
+ import './delay/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,4 @@
1
+ import './navigateTo/v1';
2
+ import './openConfirmDlg/v1';
3
+ import './openPromptDlg/v1';
4
+ import './popupMessage/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,3 @@
1
+ import './extensions/v1';
2
+ import './variableGet/v1';
3
+ import './variableSet/v1';
@@ -0,0 +1,4 @@
1
+ export * from './interface/v1';
2
+ export * from './procedure/v1';
3
+ export * from './ui/v1';
4
+ export * from './variable/v1';
@@ -0,0 +1,6 @@
1
+ declare function callback(): Element[];
2
+ export declare const interfaceCategoryV1: {
3
+ name: string;
4
+ callback: typeof callback;
5
+ };
6
+ export {};
@@ -0,0 +1,6 @@
1
+ declare function callback(): Element[];
2
+ export declare const procedureCategoryV1: {
3
+ name: string;
4
+ callback: typeof callback;
5
+ };
6
+ export {};
@@ -0,0 +1,6 @@
1
+ declare function callback(): Element[];
2
+ export declare const uiCategoryV1: {
3
+ name: string;
4
+ callback: typeof callback;
5
+ };
6
+ export {};
@@ -0,0 +1,7 @@
1
+ import * as Blockly from 'blockly/core';
2
+ declare function callback(workspace: Blockly.WorkspaceSvg): Element[];
3
+ export declare const variableCategoryV1: {
4
+ name: string;
5
+ callback: typeof callback;
6
+ };
7
+ export {};