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
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.10.24",
4
+ "version": "0.10.26",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -23,48 +23,52 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@blockly/field-colour": "^6.0.11",
26
- "@blockly/keyboard-navigation": "^3.0.3",
26
+ "@blockly/keyboard-navigation": "^3.0.5",
27
27
  "@blockly/plugin-cross-tab-copy-paste": "^8.0.7",
28
28
  "@blockly/shadow-block-converter": "^7.0.9",
29
29
  "@highlightjs/vue-plugin": "^2.1.0",
30
30
  "@sindresorhus/base62": "^1.0.0",
31
31
  "@vueuse/core": "^14.2.1",
32
- "axios": "^1.13.6",
33
- "blockly": "^12.4.1",
32
+ "axios": "^1.15.0",
33
+ "blockly": "^12.5.1",
34
34
  "highlight.js": "^11.11.1",
35
- "lodash-es": "^4.17.23",
36
- "vue": "^3.5.30",
35
+ "lodash-es": "^4.18.1",
36
+ "vue": "^3.5.32",
37
37
  "vue-draggable-plus": "^0.6.1",
38
- "vue-i18n": "^11.3.0",
39
- "vue-router": "^5.0.3",
40
- "vuetify": "^4.0.2"
38
+ "vue-i18n": "^11.3.2",
39
+ "vue-router": "^5.0.4",
40
+ "vuetify": "^4.0.5"
41
41
  },
42
42
  "peerDependencies": {
43
- "x-error-lib": "^0.5.16",
44
- "x-essential-lib": "^0.9.29",
45
- "x-runtime-lib": "^0.9.29",
46
- "x-state-lib": "^0.3.42"
43
+ "x-error-lib": "^0.5.17",
44
+ "x-essential-lib": "^0.9.31",
45
+ "x-runtime-lib": "^0.9.33",
46
+ "x-state-lib": "^0.3.43"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@eslint/js": "^10.0.1",
50
+ "@tsconfig/node24": "^24.0.4",
50
51
  "@types/lodash-es": "^4.17.12",
51
- "@types/node": "^25.4.0",
52
- "@vitejs/plugin-vue": "^6.0.4",
53
- "eslint": "^10.0.3",
52
+ "@types/node": "^25.5.2",
53
+ "@vitejs/plugin-vue": "^6.0.5",
54
+ "@vue/tsconfig": "^0.9.1",
55
+ "eslint": "^10.2.0",
54
56
  "eslint-config-prettier": "^10.1.8",
55
57
  "eslint-plugin-prettier": "^5.5.5",
58
+ "eslint-plugin-simple-import-sort": "^13.0.0",
56
59
  "eslint-plugin-vue": "^10.8.0",
57
60
  "globals": "^17.4.0",
58
61
  "husky": "^9.1.7",
59
- "lint-staged": "^16.3.3",
62
+ "lint-staged": "^16.4.0",
60
63
  "prettier": "3.8.1",
61
- "sass": "^1.98.0",
64
+ "sass": "^1.99.0",
62
65
  "typescript": "^5.9.3",
63
- "typescript-eslint": "^8.57.0",
64
- "vite": "^8.0.0",
66
+ "typescript-eslint": "^8.58.1",
67
+ "vite": "^8.0.7",
65
68
  "vite-plugin-css-injected-by-js": "^4.0.1",
69
+ "vite-plugin-dts": "^4.5.4",
66
70
  "vite-plugin-vuetify": "^2.1.3",
67
71
  "vue-eslint-parser": "^10.4.0",
68
- "vue-tsc": "^3.2.5"
72
+ "vue-tsc": "^3.2.6"
69
73
  }
70
74
  }
@@ -1,3 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- import { Reactivity } from 'x-runtime-lib';
3
- export declare function buildReactivity(workspace: Blockly.Workspace): Reactivity;
@@ -1,8 +0,0 @@
1
- type __VLS_Props = {
2
- lock: boolean;
3
- };
4
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
5
- cleanWorkspace: () => void;
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
- declare const _default: typeof __VLS_export;
8
- export default _default;
@@ -1,42 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- import { Type } from './workspace';
3
- type __VLS_Props = {
4
- type: Type;
5
- version: string;
6
- locale: string;
7
- dark: boolean;
8
- };
9
- type __VLS_ModelProps = {
10
- 'lock': boolean;
11
- 'scale': number;
12
- };
13
- type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
14
- declare var __VLS_1: {};
15
- type __VLS_Slots = {} & {
16
- bottom?: (props: typeof __VLS_1) => any;
17
- };
18
- declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
19
- loading: import("vue").Ref<boolean, boolean>;
20
- load: (state: any) => void;
21
- save: () => any;
22
- appendBlock: (state: Blockly.serialization.blocks.State) => void;
23
- generateCode: () => string | undefined;
24
- generateReactivity: () => import("x-runtime-lib").Reactivity;
25
- fireStateChange: () => void;
26
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
- ready: (...args: any[]) => void;
28
- "update:lock": (value: boolean) => void;
29
- "update:scale": (value: number) => void;
30
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
31
- onReady?: ((...args: any[]) => any) | undefined;
32
- "onUpdate:lock"?: ((value: boolean) => any) | undefined;
33
- "onUpdate:scale"?: ((value: number) => any) | undefined;
34
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
36
- declare const _default: typeof __VLS_export;
37
- export default _default;
38
- type __VLS_WithSlots<T, S> = T & {
39
- new (): {
40
- $slots: S;
41
- };
42
- };
@@ -1,3 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- export declare function loadFromJson(json: any, workspace: Blockly.Workspace): void;
3
- export declare function saveToJson(workspace: Blockly.Workspace): any;
@@ -1,10 +0,0 @@
1
- type __VLS_ModelProps = {
2
- modelValue: boolean;
3
- };
4
- declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
- "update:modelValue": (value: boolean) => any;
6
- }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
7
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
8
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
- declare const _default: typeof __VLS_export;
10
- export default _default;
@@ -1,16 +0,0 @@
1
- type __VLS_Props = {
2
- lock: boolean;
3
- };
4
- type __VLS_ModelProps = {
5
- modelValue: boolean;
6
- };
7
- type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
8
- declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
9
- update: () => void;
10
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
- "update:modelValue": (value: boolean) => any;
12
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
- declare const _default: typeof __VLS_export;
16
- export default _default;
@@ -1,13 +0,0 @@
1
- type __VLS_Props = {
2
- id: string;
3
- title: string;
4
- desc: string;
5
- select: boolean;
6
- };
7
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- "x-click": (...args: any[]) => void;
9
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
10
- "onX-click"?: ((...args: any[]) => any) | undefined;
11
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
- declare const _default: typeof __VLS_export;
13
- export default _default;
@@ -1,12 +0,0 @@
1
- type __VLS_ModelProps = {
2
- modelValue: boolean;
3
- };
4
- declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {
5
- update: () => void;
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- "update:modelValue": (value: boolean) => any;
8
- }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
9
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
10
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
- declare const _default: typeof __VLS_export;
12
- export default _default;
@@ -1,10 +0,0 @@
1
- type __VLS_Props = {
2
- type: 'list' | 'tree';
3
- lock: boolean;
4
- };
5
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
6
- open: import("vue").WritableComputedRef<boolean, boolean>;
7
- update: () => void;
8
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
- declare const _default: typeof __VLS_export;
10
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- export interface Context {
3
- workspace?: Blockly.WorkspaceSvg;
4
- }
5
- export declare function provideContext(context: Context): void;
6
- export declare function injectContext(): Context;
@@ -1,3 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- export type Type = 'page' | 'comp' | 'func' | 'flow' | 'json';
3
- export declare function createWorkspace(container: HTMLDivElement, type: Type, version: string, dark: boolean): Blockly.WorkspaceSvg;
@@ -1,4 +0,0 @@
1
- import { App } from 'vue';
2
- import XBlockly from './blockly/index.vue';
3
- declare const install: (app: App) => void;
4
- export { XBlockly, install };
@@ -1,7 +0,0 @@
1
- import 'highlight.js/styles/default.min.css';
2
- type __VLS_Props = {
3
- code: string;
4
- };
5
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
- declare const _default: typeof __VLS_export;
7
- export default _default;
@@ -1,3 +0,0 @@
1
- declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
- declare const _default: typeof __VLS_export;
3
- export default _default;
@@ -1 +0,0 @@
1
- import './getPageArgument/v1';
@@ -1,2 +0,0 @@
1
- import './items/v1';
2
- import './types/v1';
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,58 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- import { Type } from 'x-essential-lib';
3
- import { PropertyKind } from 'x-runtime-lib';
4
- import { BindKind } from '@/core/utils/app';
5
- type AppBindEntryV1Type = typeof APP_BIND_ENTRY_V1;
6
- interface AppBindEntryV1 extends AppBindEntryV1Type {
7
- kind: BindKind;
8
- node: {
9
- id: string;
10
- key: string;
11
- alias: string;
12
- };
13
- property: {
14
- id: string;
15
- kind: PropertyKind | '';
16
- names: string[];
17
- };
18
- state: {
19
- id: string;
20
- name: string;
21
- type: Type;
22
- };
23
- }
24
- export type AppBindEntryBlockV1 = Blockly.BlockSvg & AppBindEntryV1;
25
- declare const APP_BIND_ENTRY_V1: {
26
- init: (this: AppBindEntryBlockV1) => void;
27
- saveExtraState: (this: AppBindEntryBlockV1) => {
28
- kind: BindKind;
29
- node: {
30
- id: string;
31
- key: string;
32
- alias: string;
33
- };
34
- property: {
35
- id: string;
36
- kind: PropertyKind | "";
37
- names: string[];
38
- };
39
- state: {
40
- id: string;
41
- name: string;
42
- type: Type;
43
- };
44
- };
45
- loadExtraState: (this: AppBindEntryBlockV1, state: any) => void;
46
- genKindOpts_: (this: AppBindEntryBlockV1) => Blockly.MenuOption[];
47
- genNodeOpts_: (this: AppBindEntryBlockV1) => Blockly.MenuOption[];
48
- genPropertyOpts_: (this: AppBindEntryBlockV1) => Blockly.MenuOption[];
49
- genStateOpts_: (this: AppBindEntryBlockV1) => Blockly.MenuOption[];
50
- onchange: (this: AppBindEntryBlockV1, event: Blockly.Events.Abstract) => void;
51
- onKindChange_: (this: AppBindEntryBlockV1, value: BindKind) => void;
52
- onNodeChange_: (this: AppBindEntryBlockV1, value: string) => void;
53
- onPropertyChange_: (this: AppBindEntryBlockV1, value: string) => void;
54
- onStateChange_: (this: AppBindEntryBlockV1, value: string) => void;
55
- updateShape_: (this: AppBindEntryBlockV1) => void;
56
- checkWarning_: (this: AppBindEntryBlockV1) => void;
57
- };
58
- export {};
@@ -1,5 +0,0 @@
1
- import './appBind/v1';
2
- import './appBindEntry/v1';
3
- import './onAppEvent/v1';
4
- import './triggerAppEvent/v1';
5
- import './watchEffect/v1';
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,8 +0,0 @@
1
- import './argument';
2
- import './define';
3
- import './event';
4
- import './message';
5
- import './method';
6
- import './misc';
7
- import './property';
8
- import './state';
@@ -1,4 +0,0 @@
1
- import './appDebugTrace/v1';
2
- import './openConfirmDlg/v1';
3
- import './openPromptDlg/v1';
4
- import './popupMessage/v1';
@@ -1,3 +0,0 @@
1
- import './callAppMethod/v1';
2
- import './implementAppMethod/v1';
3
- import './setAppMethodOutput/v1';
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- import './appEnvIs/v1';
2
- import './navigateTo/v1';
3
- import './selectComp/v1';
4
- import './selectSlot/v1';
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,42 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- import { PropertyKind } from 'x-runtime-lib';
3
- type GetAppPropertyV1Type = typeof GET_APP_PROPERTY_V1;
4
- interface GetAppPropertyV1 extends GetAppPropertyV1Type {
5
- node: {
6
- id: string;
7
- key: string;
8
- alias: string;
9
- };
10
- property: {
11
- id: string;
12
- kind: PropertyKind | '';
13
- names: string[];
14
- };
15
- }
16
- export type GetAppPropertyBlockV1 = Blockly.Block & GetAppPropertyV1;
17
- declare const GET_APP_PROPERTY_V1: {
18
- init: (this: GetAppPropertyBlockV1) => void;
19
- initData_: (this: GetAppPropertyBlockV1) => void;
20
- saveExtraState: (this: GetAppPropertyBlockV1) => {
21
- node: {
22
- id: string;
23
- key: string;
24
- alias: string;
25
- };
26
- property: {
27
- id: string;
28
- kind: PropertyKind | "";
29
- names: string[];
30
- };
31
- };
32
- loadExtraState: (this: GetAppPropertyBlockV1, state: any) => void;
33
- genNodeOpts_: (this: GetAppPropertyBlockV1) => Blockly.MenuOption[];
34
- genPropertyOpts_: (this: GetAppPropertyBlockV1) => Blockly.MenuOption[];
35
- onchange: (this: GetAppPropertyBlockV1, event: Blockly.Events.Abstract) => void;
36
- onNodeChange_: (this: GetAppPropertyBlockV1, value: string) => void;
37
- onPropertyChange_: (this: GetAppPropertyBlockV1, value: string) => void;
38
- updateShape_: (this: GetAppPropertyBlockV1) => void;
39
- updateShadow_: (this: GetAppPropertyBlockV1) => void;
40
- checkWarning_: (this: GetAppPropertyBlockV1) => void;
41
- };
42
- export {};
@@ -1,2 +0,0 @@
1
- import './getAppProperty/v1';
2
- import './setAppProperty/v1';
@@ -1,28 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- import { Type } from 'x-essential-lib';
3
- type GetAppStateV1Type = typeof GET_APP_STATE_V1;
4
- interface GetAppStateV1 extends GetAppStateV1Type {
5
- state: {
6
- id: string;
7
- name: string;
8
- type: Type;
9
- };
10
- }
11
- export type GetAppStateBlockV1 = Blockly.Block & GetAppStateV1;
12
- declare const GET_APP_STATE_V1: {
13
- init: (this: GetAppStateBlockV1) => void;
14
- initData_: (this: GetAppStateBlockV1) => void;
15
- saveExtraState: (this: GetAppStateBlockV1) => {
16
- state: {
17
- id: string;
18
- name: string;
19
- type: Type;
20
- };
21
- };
22
- loadExtraState: (this: GetAppStateBlockV1, state: any) => void;
23
- genStateOpts_: (this: GetAppStateBlockV1) => Blockly.MenuOption[];
24
- onchange: (this: GetAppStateBlockV1, event: Blockly.Events.Abstract) => void;
25
- onStateChange_: (this: GetAppStateBlockV1, value: string) => void;
26
- checkWarning_: (this: GetAppStateBlockV1) => void;
27
- };
28
- export {};
@@ -1,2 +0,0 @@
1
- import './getAppState/v1';
2
- import './setAppState/v1';
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- import './colorBlend/v1';
2
- import './colorPicker/v1';
3
- import './colorRandom/v1';
4
- import './colorRgb/v1';
@@ -1 +0,0 @@
1
- import './parameter/v1';
@@ -1,25 +0,0 @@
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
- locale: boolean;
7
- }
8
- export type ParameterBlockV1 = Blockly.Block & ParameterV1;
9
- declare const PARAMETER_V1: {
10
- init: (this: ParameterBlockV1) => void;
11
- mutationToDom: (this: ParameterBlockV1) => Element;
12
- domToMutation: (this: ParameterBlockV1, xmlElement: Element) => void;
13
- saveExtraState: (this: ParameterBlockV1) => {
14
- key: string;
15
- name: string;
16
- locale: boolean;
17
- };
18
- loadExtraState: (this: ParameterBlockV1, state: any) => void;
19
- setKeyName: (this: ParameterBlockV1, key: string, name: string, locale: boolean) => void;
20
- onchange: (this: ParameterBlockV1, event: Blockly.Events.Abstract) => void;
21
- tryDuplicate_: (this: ParameterBlockV1, event: Blockly.Events.BlockMove) => void;
22
- updateShape_: (this: ParameterBlockV1) => void;
23
- checkWarning_: (this: ParameterBlockV1) => void;
24
- };
25
- export {};
@@ -1 +0,0 @@
1
- export declare function inWhiteList(type: string): boolean;
@@ -1 +0,0 @@
1
- import './onFlowStateEvent/v1';
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- import './callFunc/v1';
2
- import './callFuncInternal/v1';
3
- import './funcEntry/v1';
4
- import './setFuncOutput/v1';
@@ -1,3 +0,0 @@
1
- import './flow';
2
- import './func';
3
- import './misc';
@@ -1,2 +0,0 @@
1
- import './computeDebugTrace/v1';
2
- import './computeEnvIs/v1';
@@ -1,3 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- export declare function ensureTableBlock(scope: Blockly.Block): void;
3
- export declare function ensureHandleBlock(scope: Blockly.Block): void;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- import * as Blockly from 'blockly/core';
2
- export declare function ensureTableBlock(scope: Blockly.Block): void;
3
- export declare function ensureConditionBlock(scope: Blockly.Block): void;
4
- export declare function ensureHandleBlock(scope: Blockly.Block): void;
@@ -1 +0,0 @@
1
- export {};