x-block-lib 0.10.24 → 0.10.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.
Files changed (248) hide show
  1. package/dist/index.d.ts +250 -7
  2. package/dist/index.js +1993 -1992
  3. package/dist/{vendor.7ekzovn9.js → vendor.ga0sar06.js} +5006 -4947
  4. package/package.json +25 -21
  5. package/dist/components/blockly/buildReactivity.d.ts +0 -3
  6. package/dist/components/blockly/clean/index.vue.d.ts +0 -8
  7. package/dist/components/blockly/index.vue.d.ts +0 -42
  8. package/dist/components/blockly/jsonHelper.d.ts +0 -3
  9. package/dist/components/blockly/lock/index.vue.d.ts +0 -10
  10. package/dist/components/blockly/navigator/blockList/index.vue.d.ts +0 -16
  11. package/dist/components/blockly/navigator/blockList/item.vue.d.ts +0 -13
  12. package/dist/components/blockly/navigator/blockTree/index.vue.d.ts +0 -12
  13. package/dist/components/blockly/navigator/index.vue.d.ts +0 -10
  14. package/dist/components/blockly/provideInject.d.ts +0 -6
  15. package/dist/components/blockly/workspace.d.ts +0 -3
  16. package/dist/components/index.d.ts +0 -4
  17. package/dist/components/sourceDlg/content/index.vue.d.ts +0 -7
  18. package/dist/components/sourceDlg/index.vue.d.ts +0 -3
  19. package/dist/core/blocks/app/argument/getPageArgument/v1/index.d.ts +0 -1
  20. package/dist/core/blocks/app/argument/index.d.ts +0 -1
  21. package/dist/core/blocks/app/define/index.d.ts +0 -2
  22. package/dist/core/blocks/app/define/items/v1/index.d.ts +0 -1
  23. package/dist/core/blocks/app/define/types/v1/index.d.ts +0 -1
  24. package/dist/core/blocks/app/event/appBind/v1/index.d.ts +0 -1
  25. package/dist/core/blocks/app/event/appBindEntry/v1/index.d.ts +0 -58
  26. package/dist/core/blocks/app/event/index.d.ts +0 -5
  27. package/dist/core/blocks/app/event/onAppEvent/v1/index.d.ts +0 -1
  28. package/dist/core/blocks/app/event/triggerAppEvent/v1/index.d.ts +0 -1
  29. package/dist/core/blocks/app/event/watchEffect/v1/index.d.ts +0 -1
  30. package/dist/core/blocks/app/index.d.ts +0 -8
  31. package/dist/core/blocks/app/message/appDebugTrace/v1/index.d.ts +0 -1
  32. package/dist/core/blocks/app/message/index.d.ts +0 -4
  33. package/dist/core/blocks/app/message/openConfirmDlg/v1/index.d.ts +0 -1
  34. package/dist/core/blocks/app/message/openPromptDlg/v1/index.d.ts +0 -1
  35. package/dist/core/blocks/app/message/popupMessage/v1/index.d.ts +0 -1
  36. package/dist/core/blocks/app/method/callAppMethod/v1/index.d.ts +0 -1
  37. package/dist/core/blocks/app/method/implementAppMethod/v1/index.d.ts +0 -1
  38. package/dist/core/blocks/app/method/index.d.ts +0 -3
  39. package/dist/core/blocks/app/method/setAppMethodOutput/v1/index.d.ts +0 -1
  40. package/dist/core/blocks/app/misc/appEnvIs/v1/index.d.ts +0 -1
  41. package/dist/core/blocks/app/misc/index.d.ts +0 -4
  42. package/dist/core/blocks/app/misc/navigateTo/v1/index.d.ts +0 -1
  43. package/dist/core/blocks/app/misc/selectComp/v1/index.d.ts +0 -1
  44. package/dist/core/blocks/app/misc/selectSlot/v1/index.d.ts +0 -1
  45. package/dist/core/blocks/app/property/getAppProperty/v1/index.d.ts +0 -42
  46. package/dist/core/blocks/app/property/index.d.ts +0 -2
  47. package/dist/core/blocks/app/property/setAppProperty/v1/index.d.ts +0 -1
  48. package/dist/core/blocks/app/state/getAppState/v1/index.d.ts +0 -28
  49. package/dist/core/blocks/app/state/index.d.ts +0 -2
  50. package/dist/core/blocks/app/state/setAppState/v1/index.d.ts +0 -1
  51. package/dist/core/blocks/color/colorBlend/v1/index.d.ts +0 -1
  52. package/dist/core/blocks/color/colorPicker/v1/index.d.ts +0 -1
  53. package/dist/core/blocks/color/colorRandom/v1/index.d.ts +0 -1
  54. package/dist/core/blocks/color/colorRgb/v1/index.d.ts +0 -1
  55. package/dist/core/blocks/color/index.d.ts +0 -4
  56. package/dist/core/blocks/common/index.d.ts +0 -1
  57. package/dist/core/blocks/common/parameter/v1/index.d.ts +0 -25
  58. package/dist/core/blocks/common/parameter/v1/whiteList.d.ts +0 -1
  59. package/dist/core/blocks/compute/flow/index.d.ts +0 -1
  60. package/dist/core/blocks/compute/flow/onFlowStateEvent/v1/index.d.ts +0 -1
  61. package/dist/core/blocks/compute/func/callFunc/v1/index.d.ts +0 -1
  62. package/dist/core/blocks/compute/func/callFuncInternal/v1/index.d.ts +0 -1
  63. package/dist/core/blocks/compute/func/funcEntry/v1/index.d.ts +0 -1
  64. package/dist/core/blocks/compute/func/index.d.ts +0 -4
  65. package/dist/core/blocks/compute/func/setFuncOutput/v1/index.d.ts +0 -1
  66. package/dist/core/blocks/compute/index.d.ts +0 -3
  67. package/dist/core/blocks/compute/misc/computeDebugTrace/v1/index.d.ts +0 -1
  68. package/dist/core/blocks/compute/misc/computeEnvIs/v1/index.d.ts +0 -1
  69. package/dist/core/blocks/compute/misc/index.d.ts +0 -2
  70. package/dist/core/blocks/data/addData/v1/blocks.d.ts +0 -3
  71. package/dist/core/blocks/data/addData/v1/index.d.ts +0 -1
  72. package/dist/core/blocks/data/condAtomic/v1/index.d.ts +0 -1
  73. package/dist/core/blocks/data/condLogic/v1/index.d.ts +0 -1
  74. package/dist/core/blocks/data/deleteData/v1/blocks.d.ts +0 -4
  75. package/dist/core/blocks/data/deleteData/v1/index.d.ts +0 -1
  76. package/dist/core/blocks/data/index.d.ts +0 -13
  77. package/dist/core/blocks/data/interruptTransaction/v1/index.d.ts +0 -1
  78. package/dist/core/blocks/data/queryData/v1/blocks.d.ts +0 -5
  79. package/dist/core/blocks/data/queryData/v1/index.d.ts +0 -1
  80. package/dist/core/blocks/data/queryExtraLimit/v1/index.d.ts +0 -1
  81. package/dist/core/blocks/data/queryExtraSortby/v1/index.d.ts +0 -1
  82. package/dist/core/blocks/data/selectColumn/v1/index.d.ts +0 -1
  83. package/dist/core/blocks/data/selectTable/v1/index.d.ts +0 -1
  84. package/dist/core/blocks/data/transaction/v1/index.d.ts +0 -1
  85. package/dist/core/blocks/data/updateColumn/v1/index.d.ts +0 -1
  86. package/dist/core/blocks/data/updateData/v1/blocks.d.ts +0 -4
  87. package/dist/core/blocks/data/updateData/v1/index.d.ts +0 -1
  88. package/dist/core/blocks/index.d.ts +0 -16
  89. package/dist/core/blocks/json/index.d.ts +0 -6
  90. package/dist/core/blocks/json/jsonArray/v1/index.d.ts +0 -1
  91. package/dist/core/blocks/json/jsonBoolean/v1/index.d.ts +0 -1
  92. package/dist/core/blocks/json/jsonMap/v1/index.d.ts +0 -1
  93. package/dist/core/blocks/json/jsonNumber/v1/index.d.ts +0 -1
  94. package/dist/core/blocks/json/jsonRoot/v1/index.d.ts +0 -1
  95. package/dist/core/blocks/json/jsonString/v1/index.d.ts +0 -1
  96. package/dist/core/blocks/list/index.d.ts +0 -9
  97. package/dist/core/blocks/list/listCreate/v1/index.d.ts +0 -1
  98. package/dist/core/blocks/list/listDelete/v1/index.d.ts +0 -1
  99. package/dist/core/blocks/list/listGet/v1/index.d.ts +0 -1
  100. package/dist/core/blocks/list/listGetSublist/v1/index.d.ts +0 -1
  101. package/dist/core/blocks/list/listIsEmpty/v1/index.d.ts +0 -1
  102. package/dist/core/blocks/list/listJoin/v1/index.d.ts +0 -1
  103. package/dist/core/blocks/list/listLength/v1/index.d.ts +0 -1
  104. package/dist/core/blocks/list/listReverse/v1/index.d.ts +0 -1
  105. package/dist/core/blocks/list/listSet/v1/index.d.ts +0 -1
  106. package/dist/core/blocks/logic/extensions/v1/index.d.ts +0 -1
  107. package/dist/core/blocks/logic/index.d.ts +0 -7
  108. package/dist/core/blocks/logic/logicBoolean/v1/index.d.ts +0 -1
  109. package/dist/core/blocks/logic/logicCompare/v1/index.d.ts +0 -1
  110. package/dist/core/blocks/logic/logicIf/v1/index.d.ts +0 -1
  111. package/dist/core/blocks/logic/logicNegate/v1/index.d.ts +0 -1
  112. package/dist/core/blocks/logic/logicOperation/v1/index.d.ts +0 -1
  113. package/dist/core/blocks/logic/logicTernary/v1/index.d.ts +0 -1
  114. package/dist/core/blocks/loop/extensions/v1/index.d.ts +0 -1
  115. package/dist/core/blocks/loop/flowControl/v1/extensions.d.ts +0 -10
  116. package/dist/core/blocks/loop/flowControl/v1/index.d.ts +0 -1
  117. package/dist/core/blocks/loop/for/v1/index.d.ts +0 -1
  118. package/dist/core/blocks/loop/forEach/v1/index.d.ts +0 -1
  119. package/dist/core/blocks/loop/index.d.ts +0 -6
  120. package/dist/core/blocks/loop/repeat/v1/index.d.ts +0 -1
  121. package/dist/core/blocks/loop/whileUntil/v1/index.d.ts +0 -1
  122. package/dist/core/blocks/math/extensions/v1/index.d.ts +0 -1
  123. package/dist/core/blocks/math/index.d.ts +0 -13
  124. package/dist/core/blocks/math/mathArithmetic/v1/index.d.ts +0 -1
  125. package/dist/core/blocks/math/mathConstant/v1/index.d.ts +0 -1
  126. package/dist/core/blocks/math/mathConstrain/v1/index.d.ts +0 -1
  127. package/dist/core/blocks/math/mathModulo/v1/index.d.ts +0 -1
  128. package/dist/core/blocks/math/mathNumber/v1/index.d.ts +0 -1
  129. package/dist/core/blocks/math/mathNumberProperty/v1/index.d.ts +0 -1
  130. package/dist/core/blocks/math/mathOnList/v1/index.d.ts +0 -1
  131. package/dist/core/blocks/math/mathRandomFloat/v1/index.d.ts +0 -1
  132. package/dist/core/blocks/math/mathRandomInt/v1/index.d.ts +0 -1
  133. package/dist/core/blocks/math/mathRound/v1/index.d.ts +0 -1
  134. package/dist/core/blocks/math/mathSingle/v1/index.d.ts +0 -1
  135. package/dist/core/blocks/math/mathTrig/v1/index.d.ts +0 -1
  136. package/dist/core/blocks/object/index.d.ts +0 -6
  137. package/dist/core/blocks/object/objectCreate/v1/index.d.ts +0 -1
  138. package/dist/core/blocks/object/objectDelete/v1/index.d.ts +0 -1
  139. package/dist/core/blocks/object/objectFromJson/v1/index.d.ts +0 -1
  140. package/dist/core/blocks/object/objectGet/v1/index.d.ts +0 -1
  141. package/dist/core/blocks/object/objectSet/v1/index.d.ts +0 -1
  142. package/dist/core/blocks/object/objectToJson/v1/index.d.ts +0 -1
  143. package/dist/core/blocks/procedure/index.d.ts +0 -2
  144. package/dist/core/blocks/procedure/procedureCall/v1/index.d.ts +0 -1
  145. package/dist/core/blocks/procedure/procedureDef/v1/index.d.ts +0 -29
  146. package/dist/core/blocks/procedure/procedureReturn/v1/index.d.ts +0 -1
  147. package/dist/core/blocks/resource/downloadResource/v1/index.d.ts +0 -1
  148. package/dist/core/blocks/resource/index.d.ts +0 -3
  149. package/dist/core/blocks/resource/selectResource/v1/index.d.ts +0 -1
  150. package/dist/core/blocks/resource/uploadResource/v1/index.d.ts +0 -1
  151. package/dist/core/blocks/text/index.d.ts +0 -14
  152. package/dist/core/blocks/text/text/v1/index.d.ts +0 -1
  153. package/dist/core/blocks/text/textAppend/v1/index.d.ts +0 -1
  154. package/dist/core/blocks/text/textChangeCase/v1/index.d.ts +0 -1
  155. package/dist/core/blocks/text/textCharAt/v1/index.d.ts +0 -1
  156. package/dist/core/blocks/text/textCount/v1/index.d.ts +0 -1
  157. package/dist/core/blocks/text/textIndexOf/v1/index.d.ts +0 -1
  158. package/dist/core/blocks/text/textIsEmpty/v1/index.d.ts +0 -1
  159. package/dist/core/blocks/text/textJoin/v1/index.d.ts +0 -21
  160. package/dist/core/blocks/text/textLength/v1/index.d.ts +0 -1
  161. package/dist/core/blocks/text/textReplace/v1/index.d.ts +0 -1
  162. package/dist/core/blocks/text/textReverse/v1/index.d.ts +0 -1
  163. package/dist/core/blocks/text/textSplit/v1/index.d.ts +0 -1
  164. package/dist/core/blocks/text/textSubstring/v1/index.d.ts +0 -1
  165. package/dist/core/blocks/text/textTrim/v1/index.d.ts +0 -1
  166. package/dist/core/blocks/text/utils/index.d.ts +0 -1
  167. package/dist/core/blocks/time/createTimer/v1/index.d.ts +0 -1
  168. package/dist/core/blocks/time/delay/v1/index.d.ts +0 -1
  169. package/dist/core/blocks/time/index.d.ts +0 -2
  170. package/dist/core/blocks/variable/extensions/v1/index.d.ts +0 -1
  171. package/dist/core/blocks/variable/index.d.ts +0 -3
  172. package/dist/core/blocks/variable/variableGet/v1/index.d.ts +0 -1
  173. package/dist/core/blocks/variable/variableSet/v1/index.d.ts +0 -1
  174. package/dist/core/category/app/comp/v1/index.d.ts +0 -7
  175. package/dist/core/category/app/compute/v1/index.d.ts +0 -7
  176. package/dist/core/category/app/index.d.ts +0 -6
  177. package/dist/core/category/app/message/v1/index.d.ts +0 -7
  178. package/dist/core/category/app/misc/v1/index.d.ts +0 -7
  179. package/dist/core/category/app/page/v1/index.d.ts +0 -7
  180. package/dist/core/category/app/resource/v1/index.d.ts +0 -7
  181. package/dist/core/category/common/index.d.ts +0 -2
  182. package/dist/core/category/common/procedure/v1/index.d.ts +0 -7
  183. package/dist/core/category/common/variable/v1/index.d.ts +0 -7
  184. package/dist/core/category/compute/data/v1/index.d.ts +0 -7
  185. package/dist/core/category/compute/flow/v1/index.d.ts +0 -7
  186. package/dist/core/category/compute/func/v1/index.d.ts +0 -7
  187. package/dist/core/category/compute/index.d.ts +0 -4
  188. package/dist/core/category/compute/misc/v1/index.d.ts +0 -7
  189. package/dist/core/category/index.d.ts +0 -3
  190. package/dist/core/category/utils/index.d.ts +0 -9
  191. package/dist/core/dialog/index.d.ts +0 -1
  192. package/dist/core/events/index.d.ts +0 -10
  193. package/dist/core/index.d.ts +0 -3
  194. package/dist/core/locale/index.d.ts +0 -2
  195. package/dist/core/locale/msg/en.d.ts +0 -517
  196. package/dist/core/locale/msg/zhHans.d.ts +0 -517
  197. package/dist/core/misc/index.d.ts +0 -3
  198. package/dist/core/plugins/disableTopBlocks/index.d.ts +0 -3
  199. package/dist/core/plugins/fieldDropdown/index.d.ts +0 -1
  200. package/dist/core/plugins/index.d.ts +0 -2
  201. package/dist/core/plugins/workspaceCleanUp/index.d.ts +0 -1
  202. package/dist/core/theme/index.d.ts +0 -1
  203. package/dist/core/toolbox/common/color/v1/index.d.ts +0 -74
  204. package/dist/core/toolbox/common/index.d.ts +0 -8
  205. package/dist/core/toolbox/common/list/v1/index.d.ts +0 -87
  206. package/dist/core/toolbox/common/logic/v1/index.d.ts +0 -14
  207. package/dist/core/toolbox/common/loop/v1/index.d.ts +0 -56
  208. package/dist/core/toolbox/common/math/v1/index.d.ts +0 -131
  209. package/dist/core/toolbox/common/message/v1/index.d.ts +0 -33
  210. package/dist/core/toolbox/common/object/v1/index.d.ts +0 -30
  211. package/dist/core/toolbox/common/text/v1/index.d.ts +0 -172
  212. package/dist/core/toolbox/common/time/v1/index.d.ts +0 -23
  213. package/dist/core/toolbox/comp/v1/index.d.ts +0 -172
  214. package/dist/core/toolbox/flow/v1/index.d.ts +0 -150
  215. package/dist/core/toolbox/func/v1/index.d.ts +0 -150
  216. package/dist/core/toolbox/index.d.ts +0 -5
  217. package/dist/core/toolbox/json/v1/index.d.ts +0 -12
  218. package/dist/core/toolbox/page/v1/index.d.ts +0 -172
  219. package/dist/core/utils/app/app.d.ts +0 -9
  220. package/dist/core/utils/app/argument.d.ts +0 -15
  221. package/dist/core/utils/app/bind.d.ts +0 -4
  222. package/dist/core/utils/app/comp.d.ts +0 -9
  223. package/dist/core/utils/app/event.d.ts +0 -22
  224. package/dist/core/utils/app/index.d.ts +0 -11
  225. package/dist/core/utils/app/method.d.ts +0 -27
  226. package/dist/core/utils/app/node.d.ts +0 -13
  227. package/dist/core/utils/app/page.d.ts +0 -9
  228. package/dist/core/utils/app/property.d.ts +0 -22
  229. package/dist/core/utils/app/slot.d.ts +0 -9
  230. package/dist/core/utils/app/state.d.ts +0 -12
  231. package/dist/core/utils/common/block.d.ts +0 -2
  232. package/dist/core/utils/common/check.d.ts +0 -4
  233. package/dist/core/utils/common/colour.d.ts +0 -1
  234. package/dist/core/utils/common/index.d.ts +0 -6
  235. package/dist/core/utils/common/misc.d.ts +0 -18
  236. package/dist/core/utils/common/parameter.d.ts +0 -3
  237. package/dist/core/utils/common/shadow.d.ts +0 -15
  238. package/dist/core/utils/compute/func.d.ts +0 -11
  239. package/dist/core/utils/compute/index.d.ts +0 -2
  240. package/dist/core/utils/compute/space.d.ts +0 -7
  241. package/dist/core/utils/data/index.d.ts +0 -2
  242. package/dist/core/utils/data/space.d.ts +0 -5
  243. package/dist/core/utils/data/table.d.ts +0 -17
  244. package/dist/core/utils/resource/dir.d.ts +0 -12
  245. package/dist/core/utils/resource/index.d.ts +0 -3
  246. package/dist/core/utils/resource/resource.d.ts +0 -5
  247. package/dist/core/utils/resource/space.d.ts +0 -5
  248. package/dist/i18n/index.d.ts +0 -1
@@ -1,150 +0,0 @@
1
- export declare const flowToolboxV1: {
2
- kind: string;
3
- contents: ({
4
- kind: string;
5
- name: string;
6
- categorystyle: string;
7
- contents: ({
8
- kind: string;
9
- type: string;
10
- inputs?: undefined;
11
- } | {
12
- kind: string;
13
- type: string;
14
- inputs: {
15
- RED: {
16
- shadow: {
17
- type: string;
18
- fields: {
19
- NUM: number;
20
- };
21
- };
22
- };
23
- GREEN: {
24
- shadow: {
25
- type: string;
26
- fields: {
27
- NUM: number;
28
- };
29
- };
30
- };
31
- BLUE: {
32
- shadow: {
33
- type: string;
34
- fields: {
35
- NUM: number;
36
- };
37
- };
38
- };
39
- COLOR1?: undefined;
40
- COLOR2?: undefined;
41
- RATIO?: undefined;
42
- };
43
- } | {
44
- kind: string;
45
- type: string;
46
- inputs: {
47
- COLOR1: {
48
- shadow: {
49
- type: string;
50
- fields: {
51
- COLOR: string;
52
- };
53
- };
54
- };
55
- COLOR2: {
56
- shadow: {
57
- type: string;
58
- fields: {
59
- COLOR: string;
60
- };
61
- };
62
- };
63
- RATIO: {
64
- shadow: {
65
- type: string;
66
- fields: {
67
- NUM: number;
68
- };
69
- };
70
- };
71
- RED?: undefined;
72
- GREEN?: undefined;
73
- BLUE?: undefined;
74
- };
75
- })[];
76
- } | {
77
- kind: string;
78
- name: string;
79
- categorystyle: string;
80
- contents: ({
81
- kind: string;
82
- text: string;
83
- type?: undefined;
84
- } | {
85
- kind: string;
86
- type: string;
87
- text?: undefined;
88
- })[];
89
- } | {
90
- kind: string;
91
- name: string;
92
- categorystyle: string;
93
- contents: ({
94
- kind: string;
95
- type: string;
96
- inputs: {
97
- TIMES: {
98
- shadow: {
99
- type: string;
100
- fields: {
101
- NUM: number;
102
- };
103
- };
104
- };
105
- FROM?: undefined;
106
- TO?: undefined;
107
- BY?: undefined;
108
- };
109
- } | {
110
- kind: string;
111
- type: string;
112
- inputs?: undefined;
113
- } | {
114
- kind: string;
115
- type: string;
116
- inputs: {
117
- FROM: {
118
- shadow: {
119
- type: string;
120
- fields: {
121
- NUM: number;
122
- };
123
- };
124
- };
125
- TO: {
126
- shadow: {
127
- type: string;
128
- fields: {
129
- NUM: number;
130
- };
131
- };
132
- };
133
- BY: {
134
- shadow: {
135
- type: string;
136
- fields: {
137
- NUM: number;
138
- };
139
- };
140
- };
141
- TIMES?: undefined;
142
- };
143
- })[];
144
- } | {
145
- kind: string;
146
- name: string;
147
- categorystyle: string;
148
- custom: string;
149
- })[];
150
- };
@@ -1,150 +0,0 @@
1
- export declare const funcToolboxV1: {
2
- kind: string;
3
- contents: ({
4
- kind: string;
5
- name: string;
6
- categorystyle: string;
7
- contents: ({
8
- kind: string;
9
- type: string;
10
- inputs?: undefined;
11
- } | {
12
- kind: string;
13
- type: string;
14
- inputs: {
15
- RED: {
16
- shadow: {
17
- type: string;
18
- fields: {
19
- NUM: number;
20
- };
21
- };
22
- };
23
- GREEN: {
24
- shadow: {
25
- type: string;
26
- fields: {
27
- NUM: number;
28
- };
29
- };
30
- };
31
- BLUE: {
32
- shadow: {
33
- type: string;
34
- fields: {
35
- NUM: number;
36
- };
37
- };
38
- };
39
- COLOR1?: undefined;
40
- COLOR2?: undefined;
41
- RATIO?: undefined;
42
- };
43
- } | {
44
- kind: string;
45
- type: string;
46
- inputs: {
47
- COLOR1: {
48
- shadow: {
49
- type: string;
50
- fields: {
51
- COLOR: string;
52
- };
53
- };
54
- };
55
- COLOR2: {
56
- shadow: {
57
- type: string;
58
- fields: {
59
- COLOR: string;
60
- };
61
- };
62
- };
63
- RATIO: {
64
- shadow: {
65
- type: string;
66
- fields: {
67
- NUM: number;
68
- };
69
- };
70
- };
71
- RED?: undefined;
72
- GREEN?: undefined;
73
- BLUE?: undefined;
74
- };
75
- })[];
76
- } | {
77
- kind: string;
78
- name: string;
79
- categorystyle: string;
80
- contents: ({
81
- kind: string;
82
- text: string;
83
- type?: undefined;
84
- } | {
85
- kind: string;
86
- type: string;
87
- text?: undefined;
88
- })[];
89
- } | {
90
- kind: string;
91
- name: string;
92
- categorystyle: string;
93
- contents: ({
94
- kind: string;
95
- type: string;
96
- inputs: {
97
- TIMES: {
98
- shadow: {
99
- type: string;
100
- fields: {
101
- NUM: number;
102
- };
103
- };
104
- };
105
- FROM?: undefined;
106
- TO?: undefined;
107
- BY?: undefined;
108
- };
109
- } | {
110
- kind: string;
111
- type: string;
112
- inputs?: undefined;
113
- } | {
114
- kind: string;
115
- type: string;
116
- inputs: {
117
- FROM: {
118
- shadow: {
119
- type: string;
120
- fields: {
121
- NUM: number;
122
- };
123
- };
124
- };
125
- TO: {
126
- shadow: {
127
- type: string;
128
- fields: {
129
- NUM: number;
130
- };
131
- };
132
- };
133
- BY: {
134
- shadow: {
135
- type: string;
136
- fields: {
137
- NUM: number;
138
- };
139
- };
140
- };
141
- TIMES?: undefined;
142
- };
143
- })[];
144
- } | {
145
- kind: string;
146
- name: string;
147
- categorystyle: string;
148
- custom: string;
149
- })[];
150
- };
@@ -1,5 +0,0 @@
1
- export * from './comp/v1';
2
- export * from './flow/v1';
3
- export * from './func/v1';
4
- export * from './json/v1';
5
- export * from './page/v1';
@@ -1,12 +0,0 @@
1
- export declare const jsonToolboxV1: {
2
- kind: string;
3
- contents: {
4
- kind: string;
5
- name: string;
6
- colour: string;
7
- contents: {
8
- kind: string;
9
- type: string;
10
- }[];
11
- }[];
12
- };
@@ -1,172 +0,0 @@
1
- export declare const pageToolboxV1: {
2
- kind: string;
3
- contents: ({
4
- kind: string;
5
- name: string;
6
- categorystyle: string;
7
- contents: ({
8
- kind: string;
9
- type: string;
10
- inputs?: undefined;
11
- } | {
12
- kind: string;
13
- type: string;
14
- inputs: {
15
- RED: {
16
- shadow: {
17
- type: string;
18
- fields: {
19
- NUM: number;
20
- };
21
- };
22
- };
23
- GREEN: {
24
- shadow: {
25
- type: string;
26
- fields: {
27
- NUM: number;
28
- };
29
- };
30
- };
31
- BLUE: {
32
- shadow: {
33
- type: string;
34
- fields: {
35
- NUM: number;
36
- };
37
- };
38
- };
39
- COLOR1?: undefined;
40
- COLOR2?: undefined;
41
- RATIO?: undefined;
42
- };
43
- } | {
44
- kind: string;
45
- type: string;
46
- inputs: {
47
- COLOR1: {
48
- shadow: {
49
- type: string;
50
- fields: {
51
- COLOR: string;
52
- };
53
- };
54
- };
55
- COLOR2: {
56
- shadow: {
57
- type: string;
58
- fields: {
59
- COLOR: string;
60
- };
61
- };
62
- };
63
- RATIO: {
64
- shadow: {
65
- type: string;
66
- fields: {
67
- NUM: number;
68
- };
69
- };
70
- };
71
- RED?: undefined;
72
- GREEN?: undefined;
73
- BLUE?: undefined;
74
- };
75
- })[];
76
- } | {
77
- kind: string;
78
- name: string;
79
- categorystyle: string;
80
- contents: ({
81
- kind: string;
82
- text: string;
83
- type?: undefined;
84
- } | {
85
- kind: string;
86
- type: string;
87
- text?: undefined;
88
- })[];
89
- } | {
90
- kind: string;
91
- name: string;
92
- categorystyle: string;
93
- contents: ({
94
- kind: string;
95
- type: string;
96
- inputs: {
97
- TIMES: {
98
- shadow: {
99
- type: string;
100
- fields: {
101
- NUM: number;
102
- };
103
- };
104
- };
105
- FROM?: undefined;
106
- TO?: undefined;
107
- BY?: undefined;
108
- };
109
- } | {
110
- kind: string;
111
- type: string;
112
- inputs?: undefined;
113
- } | {
114
- kind: string;
115
- type: string;
116
- inputs: {
117
- FROM: {
118
- shadow: {
119
- type: string;
120
- fields: {
121
- NUM: number;
122
- };
123
- };
124
- };
125
- TO: {
126
- shadow: {
127
- type: string;
128
- fields: {
129
- NUM: number;
130
- };
131
- };
132
- };
133
- BY: {
134
- shadow: {
135
- type: string;
136
- fields: {
137
- NUM: number;
138
- };
139
- };
140
- };
141
- TIMES?: undefined;
142
- };
143
- })[];
144
- } | {
145
- kind: string;
146
- name: string;
147
- categorystyle: string;
148
- contents: ({
149
- kind: string;
150
- type: string;
151
- inputs?: undefined;
152
- } | {
153
- kind: string;
154
- type: string;
155
- inputs: {
156
- DURATION: {
157
- shadow: {
158
- type: string;
159
- fields: {
160
- NUM: number;
161
- };
162
- };
163
- };
164
- };
165
- })[];
166
- } | {
167
- kind: string;
168
- name: string;
169
- categorystyle: string;
170
- custom: string;
171
- })[];
172
- };
@@ -1,9 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- interface AppInfo {
3
- id: string;
4
- name: string;
5
- }
6
- export declare function getAllAppInfos(): AppInfo[];
7
- export declare function getAppInfo(appId: string): AppInfo | undefined;
8
- export declare function genAppOpts(): Blockly.MenuOption[];
9
- export {};
@@ -1,15 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- import { Type } from 'x-essential-lib';
3
- interface ArgumentInfo {
4
- key: string;
5
- name: string;
6
- type: Type;
7
- }
8
- export declare function getAllArgumentInfos(): ArgumentInfo[];
9
- export declare function getArgumentInfo(id: string): {
10
- key: string;
11
- name: string;
12
- type: "string" | "number" | "boolean" | "object" | "array" | "any";
13
- } | undefined;
14
- export declare function genArgumentOpts(): Blockly.MenuOption[];
15
- export {};
@@ -1,4 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- export type BindKind = 'notSet' | 'property' | 'state';
3
- export declare function getAllBindKinds(): BindKind[];
4
- export declare function genBindKindOpts(): Blockly.MenuOption[];
@@ -1,9 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- interface CompInfo {
3
- id: string;
4
- name: string;
5
- }
6
- export declare function getAllCompInfos(): CompInfo[];
7
- export declare function getCompInfo(compId: string): CompInfo | undefined;
8
- export declare function genCompOpts(): Blockly.MenuOption[];
9
- export {};
@@ -1,22 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- import { Type } from 'x-essential-lib';
3
- import { EventKind } from 'x-runtime-lib';
4
- interface Param {
5
- key: string;
6
- name: string;
7
- type: Type;
8
- }
9
- interface EventInfo {
10
- id: string;
11
- kind: EventKind;
12
- names: string[];
13
- params?: Param[];
14
- }
15
- export declare function isLocaleOfOnEventKind(kind: EventKind | ''): boolean;
16
- export declare function getAllOnEventInfos(nodeId: string): EventInfo[];
17
- export declare function getOnEventInfo(id: string): EventInfo | undefined;
18
- export declare function genOnEventOpts(nodeId: string): Blockly.MenuOption[];
19
- export declare function getAllTriggerEventInfos(nodeId: string): EventInfo[];
20
- export declare function getTriggerEventInfo(id: string): EventInfo | undefined;
21
- export declare function genTriggerEventOpts(nodeId: string): Blockly.MenuOption[];
22
- export {};
@@ -1,11 +0,0 @@
1
- export * from './app';
2
- export * from './argument';
3
- export * from './bind';
4
- export * from './comp';
5
- export * from './event';
6
- export * from './method';
7
- export * from './node';
8
- export * from './page';
9
- export * from './property';
10
- export * from './slot';
11
- export * from './state';
@@ -1,27 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- import { Type } from 'x-essential-lib';
3
- import { MethodKind } from 'x-runtime-lib';
4
- interface Field {
5
- key: string;
6
- name: string;
7
- type: Type;
8
- }
9
- interface MethodInfo {
10
- id: string;
11
- kind: MethodKind;
12
- names: string[];
13
- inputs?: Field[];
14
- outputs?: Field[];
15
- }
16
- export declare function isLocaleOfCallMethodKind(kind: MethodKind | ''): boolean;
17
- export declare function getAllCallMethodInfos(nodeId: string): MethodInfo[];
18
- export declare function getCallMethodInfo(id: string): MethodInfo | undefined;
19
- export declare function genCallMethodOpts(nodeId: string): Blockly.MenuOption[];
20
- export declare function isLocaleOfImplementMethodKind(kind: MethodKind | ''): boolean;
21
- export declare function getAllImplementMethodInfos(nodeId: string): MethodInfo[];
22
- export declare function getImplementMethodInfo(id: string): MethodInfo | undefined;
23
- export declare function genImplementMethodOpts(nodeId: string): Blockly.MenuOption[];
24
- export declare function getAllImplementMethodOutputInfos(methodId: string): Field[] | undefined;
25
- export declare function getImplementMethodOutputInfo(methodId: string, outputKey: string): Field | undefined;
26
- export declare function genImplementMethodOutputOpts(methodKey: string): Blockly.MenuOption[];
27
- export {};
@@ -1,13 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- interface NodeInfo {
3
- id: string;
4
- key: string;
5
- name: string;
6
- alias: string;
7
- }
8
- type Filter = 'onEvent' | 'triggerEvent' | 'callMethod' | 'implementMethod' | 'implementMethodOutput' | 'getProperty' | 'setProperty';
9
- export declare function isAvailOfNode(filter: Filter): boolean;
10
- export declare function getAllNodeInfos(filter: Filter): NodeInfo[];
11
- export declare function getNodeInfo(nodeid: string): NodeInfo | undefined;
12
- export declare function genNodeOpts(filter: Filter): Blockly.MenuOption[];
13
- export {};
@@ -1,9 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- interface PageInfo {
3
- id: string;
4
- name: string;
5
- }
6
- export declare function getAllPageInfos(appId: string): PageInfo[];
7
- export declare function getPageInfo(appId: string, pageId: string): PageInfo | undefined;
8
- export declare function genPageOpts(appId: string): Blockly.MenuOption[];
9
- export {};
@@ -1,22 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- import { Type } from 'x-essential-lib';
3
- import { PropertyKind, ZProperty } from 'x-runtime-lib';
4
- interface PropertyInfo {
5
- id: string;
6
- kind: PropertyKind;
7
- names: string[];
8
- meta: {
9
- element: true;
10
- raw: ZProperty;
11
- } | {
12
- element?: false;
13
- raw: {
14
- type: Type;
15
- };
16
- };
17
- }
18
- type Filter = 'read' | 'write';
19
- export declare function getAllPropertyInfos(nodeId: string, filter: Filter): PropertyInfo[];
20
- export declare function getPropertyInfo(id: string): PropertyInfo | undefined;
21
- export declare function genPropertyOpts(nodeId: string, filter: Filter): Blockly.MenuOption[];
22
- export {};
@@ -1,9 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- interface SlotInfo {
3
- id: string;
4
- name: string;
5
- }
6
- export declare function getAllSlotInfos(): SlotInfo[];
7
- export declare function getSlotInfo(slotId: string): SlotInfo | undefined;
8
- export declare function genSlotOpts_(): Blockly.MenuOption[];
9
- export {};
@@ -1,12 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- export declare function getAllStateInfos(): {
3
- id: string;
4
- name: string;
5
- type: import("x-essential-lib").Type;
6
- }[];
7
- export declare function getStateInfo(id: string): {
8
- id: string;
9
- name: string;
10
- type: import("x-essential-lib").Type;
11
- } | undefined;
12
- export declare function genStateOpts(): Blockly.MenuOption[];
@@ -1,2 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- export declare function spawnColumnBlockV1(workspace: Blockly.Workspace, type: string): Blockly.Block | null;
@@ -1,4 +0,0 @@
1
- import { ZProperty } from 'x-runtime-lib';
2
- export declare function getTypeCheck(type: string): "String" | "Number" | "Boolean" | "Array" | "Object" | null;
3
- export declare function getPropCheck(property: ZProperty): string | null;
4
- export declare function getColumnCheck(type: string): "String" | "Number" | "Boolean" | null;
@@ -1 +0,0 @@
1
- export declare const colourOptions: string[];
@@ -1,6 +0,0 @@
1
- export * from './block';
2
- export * from './check';
3
- export * from './colour';
4
- export * from './misc';
5
- export * from './parameter';
6
- export * from './shadow';