uiconfig-blueprint 0.1.0-dev.2 → 0.1.0-dev.4

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 (358) hide show
  1. package/README.md +13 -0
  2. package/dist/UiConfigRendererBlueprint.d.ts +6 -4
  3. package/dist/allPaths-B8LX_D5a.js +23 -0
  4. package/dist/{allPaths-zMnhJyQa.js.map → allPaths-B8LX_D5a.js.map} +1 -1
  5. package/dist/{allPathsLoader-eCsEfMwc.js → allPathsLoader-ChwV6s_m.js} +5 -5
  6. package/dist/{allPathsLoader-eCsEfMwc.js.map → allPathsLoader-ChwV6s_m.js.map} +1 -1
  7. package/dist/bpComponents/BPComponent.d.ts +2 -1
  8. package/dist/bpComponents/BPFileComponent.d.ts +7 -5
  9. package/dist/bpComponents/BPFolderComponent.d.ts +4 -1
  10. package/dist/bpComponents/BPInputComponent.d.ts +2 -1
  11. package/dist/bpComponents/BPTreeComponent.d.ts +11 -6
  12. package/dist/bpComponents/BPValueComponent.d.ts +4 -1
  13. package/dist/components/DialogContext.d.ts +18 -10
  14. package/dist/components/DraggableIcon.d.ts +1 -0
  15. package/dist/components/FileComponent.d.ts +3 -1
  16. package/dist/components/axesIcons.d.ts +7 -0
  17. package/dist/components/bpIconWrapper.d.ts +2 -2
  18. package/dist/components/iconMapping.d.ts +198 -0
  19. package/dist/components/loadingState.d.ts +4 -0
  20. package/dist/components/shapesIcons.d.ts +100 -0
  21. package/dist/index-B3lLOxQd.js +671 -0
  22. package/dist/index-B3lLOxQd.js.map +1 -0
  23. package/dist/index-CPVHSDA_.js +13044 -0
  24. package/dist/index-CPVHSDA_.js.map +1 -0
  25. package/dist/index-DzfuAEGU.js +671 -0
  26. package/dist/index-DzfuAEGU.js.map +1 -0
  27. package/dist/index.js +49 -25
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.mjs +3 -3
  30. package/dist/lib.d.ts +1 -1
  31. package/dist/{splitPathsBySizeLoader-xt9FLbSp.js → splitPathsBySizeLoader-WipJWyYS.js} +6 -6
  32. package/dist/{splitPathsBySizeLoader-xt9FLbSp.js.map → splitPathsBySizeLoader-WipJWyYS.js.map} +1 -1
  33. package/docs/assets/highlight.css +28 -0
  34. package/docs/assets/navigation.js +1 -1
  35. package/docs/assets/search.js +1 -1
  36. package/docs/classes/UI.html +10 -5
  37. package/docs/classes/UiConfigRendererBlueprint.html +10 -5
  38. package/docs/index.html +3 -0
  39. package/lib/css/renderer.css +34 -10
  40. package/lib/css/renderer.css.map +1 -1
  41. package/lib/esm/ConfigObject.js +7 -6
  42. package/lib/esm/ConfigObject.js.map +1 -1
  43. package/lib/esm/UiConfigRendererBlueprint.d.ts +6 -4
  44. package/lib/esm/UiConfigRendererBlueprint.js +7 -5
  45. package/lib/esm/UiConfigRendererBlueprint.js.map +1 -1
  46. package/lib/esm/bpComponents/BPButtonComponent.js.map +1 -1
  47. package/lib/esm/bpComponents/BPColorInputComponent.js +1 -1
  48. package/lib/esm/bpComponents/BPComponent.d.ts +2 -1
  49. package/lib/esm/bpComponents/BPComponent.js +12 -1
  50. package/lib/esm/bpComponents/BPComponent.js.map +1 -1
  51. package/lib/esm/bpComponents/BPContainerComponent.js +1 -1
  52. package/lib/esm/bpComponents/BPContainerComponent.js.map +1 -1
  53. package/lib/esm/bpComponents/BPDropdownInputComponent.js +6 -2
  54. package/lib/esm/bpComponents/BPDropdownInputComponent.js.map +1 -1
  55. package/lib/esm/bpComponents/BPFileComponent.d.ts +7 -5
  56. package/lib/esm/bpComponents/BPFileComponent.js +12 -24
  57. package/lib/esm/bpComponents/BPFileComponent.js.map +1 -1
  58. package/lib/esm/bpComponents/BPFolderComponent.d.ts +4 -1
  59. package/lib/esm/bpComponents/BPFolderComponent.js +14 -11
  60. package/lib/esm/bpComponents/BPFolderComponent.js.map +1 -1
  61. package/lib/esm/bpComponents/BPInputComponent.d.ts +2 -1
  62. package/lib/esm/bpComponents/BPInputComponent.js.map +1 -1
  63. package/lib/esm/bpComponents/BPPanelComponent.js +1 -1
  64. package/lib/esm/bpComponents/BPPanelComponent.js.map +1 -1
  65. package/lib/esm/bpComponents/BPSliderInputComponent.js +13 -2
  66. package/lib/esm/bpComponents/BPSliderInputComponent.js.map +1 -1
  67. package/lib/esm/bpComponents/BPTreeComponent.d.ts +11 -6
  68. package/lib/esm/bpComponents/BPTreeComponent.js +85 -19
  69. package/lib/esm/bpComponents/BPTreeComponent.js.map +1 -1
  70. package/lib/esm/bpComponents/BPValueComponent.d.ts +4 -1
  71. package/lib/esm/bpComponents/BPValueComponent.js +19 -3
  72. package/lib/esm/bpComponents/BPValueComponent.js.map +1 -1
  73. package/lib/esm/components/AppToaster.js.map +1 -1
  74. package/lib/esm/components/ConfigurationPanelComponent.js +1 -1
  75. package/lib/esm/components/ConfigurationPanelComponent.js.map +1 -1
  76. package/lib/esm/components/DialogContext.d.ts +18 -10
  77. package/lib/esm/components/DialogContext.js +43 -33
  78. package/lib/esm/components/DialogContext.js.map +1 -1
  79. package/lib/esm/components/DraggableIcon.d.ts +1 -0
  80. package/lib/esm/components/DraggableIcon.js +7 -4
  81. package/lib/esm/components/DraggableIcon.js.map +1 -1
  82. package/lib/esm/components/ExtendedNumericInput.js +1 -1
  83. package/lib/esm/components/ExtendedNumericInput.js.map +1 -1
  84. package/lib/esm/components/FileComponent.d.ts +3 -1
  85. package/lib/esm/components/FileComponent.js +19 -19
  86. package/lib/esm/components/FileComponent.js.map +1 -1
  87. package/lib/esm/components/InspectorStackComponent.js +1 -1
  88. package/lib/esm/components/InspectorStackComponent.js.map +1 -1
  89. package/lib/esm/components/VisualStyleContext.js +2 -2
  90. package/lib/esm/components/VisualStyleContext.js.map +1 -1
  91. package/lib/esm/components/axesIcons.d.ts +7 -0
  92. package/lib/esm/components/axesIcons.js +10 -0
  93. package/lib/esm/components/axesIcons.js.map +1 -0
  94. package/lib/esm/components/bpIconWrapper.d.ts +2 -2
  95. package/lib/esm/components/bpIconWrapper.js +2 -2
  96. package/lib/esm/components/bpIconWrapper.js.map +1 -1
  97. package/lib/esm/components/iconMapping.d.ts +198 -0
  98. package/lib/esm/components/iconMapping.js +202 -0
  99. package/lib/esm/components/iconMapping.js.map +1 -0
  100. package/lib/esm/components/loadingState.d.ts +4 -0
  101. package/lib/esm/components/loadingState.js +10 -0
  102. package/lib/esm/components/loadingState.js.map +1 -1
  103. package/lib/esm/components/shapesIcons.d.ts +100 -0
  104. package/lib/esm/components/shapesIcons.js +102 -0
  105. package/lib/esm/components/shapesIcons.js.map +1 -0
  106. package/lib/esm/lib.d.ts +1 -1
  107. package/lib/esm/lib.js +1 -1
  108. package/lib/esm/lib.js.map +1 -1
  109. package/package.json +10 -10
  110. package/src/ConfigObject.tsx +10 -5
  111. package/src/UiConfigRendererBlueprint.tsx +9 -9
  112. package/src/bpComponents/BPButtonComponent.tsx +1 -0
  113. package/src/bpComponents/BPColorInputComponent.tsx +1 -1
  114. package/src/bpComponents/BPComponent.tsx +14 -4
  115. package/src/bpComponents/BPContainerComponent.tsx +2 -1
  116. package/src/bpComponents/BPDropdownInputComponent.tsx +7 -2
  117. package/src/bpComponents/BPFileComponent.tsx +41 -25
  118. package/src/bpComponents/BPFolderComponent.scss +12 -3
  119. package/src/bpComponents/BPFolderComponent.tsx +24 -7
  120. package/src/bpComponents/BPInputComponent.tsx +2 -1
  121. package/src/bpComponents/BPPanelComponent.tsx +1 -1
  122. package/src/bpComponents/BPSliderInputComponent.tsx +15 -3
  123. package/src/bpComponents/BPTreeComponent.tsx +78 -15
  124. package/src/bpComponents/BPValueComponent.tsx +31 -4
  125. package/src/components/AppToaster.tsx +20 -0
  126. package/src/components/ConfigurationPanelComponent.tsx +1 -1
  127. package/src/components/DialogContext.tsx +111 -65
  128. package/src/components/DraggableIcon.tsx +6 -5
  129. package/src/components/ExtendedNumericInput.tsx +1 -0
  130. package/src/components/FileComponent.tsx +48 -25
  131. package/src/components/InspectorStackComponent.tsx +1 -1
  132. package/src/components/VisualStyleContext.tsx +2 -2
  133. package/src/components/axesIcons.tsx +116 -0
  134. package/src/components/bpIconWrapper.tsx +4 -3
  135. package/src/components/common.scss +14 -0
  136. package/src/components/iconMapping.ts +354 -0
  137. package/src/components/loadingState.tsx +9 -0
  138. package/src/components/shapesIcons.tsx +980 -0
  139. package/src/lib.ts +1 -1
  140. package/src/renderer.scss +18 -2
  141. package/tsconfig.json +1 -0
  142. package/dist/allPaths-zMnhJyQa.js +0 -23
  143. package/dist/index--Vpcr7_d.js +0 -604
  144. package/dist/index--Vpcr7_d.js.map +0 -1
  145. package/dist/index-QyqZQ9mG.js +0 -604
  146. package/dist/index-QyqZQ9mG.js.map +0 -1
  147. package/dist/index-f-ZwHBj3.js +0 -12742
  148. package/dist/index-f-ZwHBj3.js.map +0 -1
  149. package/lib/cjs/ConfigObject.d.ts +0 -18
  150. package/lib/cjs/ConfigObject.js +0 -82
  151. package/lib/cjs/ConfigObject.js.map +0 -1
  152. package/lib/cjs/UiConfigRendererBlueprint.d.ts +0 -13
  153. package/lib/cjs/UiConfigRendererBlueprint.js +0 -56
  154. package/lib/cjs/UiConfigRendererBlueprint.js.map +0 -1
  155. package/lib/cjs/bpComponents/BPButtonComponent.d.ts +0 -8
  156. package/lib/cjs/bpComponents/BPButtonComponent.js +0 -19
  157. package/lib/cjs/bpComponents/BPButtonComponent.js.map +0 -1
  158. package/lib/cjs/bpComponents/BPColorInputComponent.d.ts +0 -24
  159. package/lib/cjs/bpComponents/BPColorInputComponent.js +0 -127
  160. package/lib/cjs/bpComponents/BPColorInputComponent.js.map +0 -1
  161. package/lib/cjs/bpComponents/BPComponent.d.ts +0 -29
  162. package/lib/cjs/bpComponents/BPComponent.js +0 -59
  163. package/lib/cjs/bpComponents/BPComponent.js.map +0 -1
  164. package/lib/cjs/bpComponents/BPContainerComponent.d.ts +0 -21
  165. package/lib/cjs/bpComponents/BPContainerComponent.js +0 -54
  166. package/lib/cjs/bpComponents/BPContainerComponent.js.map +0 -1
  167. package/lib/cjs/bpComponents/BPDropdownInputComponent.d.ts +0 -15
  168. package/lib/cjs/bpComponents/BPDropdownInputComponent.js +0 -43
  169. package/lib/cjs/bpComponents/BPDropdownInputComponent.js.map +0 -1
  170. package/lib/cjs/bpComponents/BPFileComponent.d.ts +0 -25
  171. package/lib/cjs/bpComponents/BPFileComponent.js +0 -69
  172. package/lib/cjs/bpComponents/BPFileComponent.js.map +0 -1
  173. package/lib/cjs/bpComponents/BPFolderComponent.d.ts +0 -16
  174. package/lib/cjs/bpComponents/BPFolderComponent.js +0 -39
  175. package/lib/cjs/bpComponents/BPFolderComponent.js.map +0 -1
  176. package/lib/cjs/bpComponents/BPInputComponent.d.ts +0 -11
  177. package/lib/cjs/bpComponents/BPInputComponent.js +0 -34
  178. package/lib/cjs/bpComponents/BPInputComponent.js.map +0 -1
  179. package/lib/cjs/bpComponents/BPLabelledComponent.d.ts +0 -8
  180. package/lib/cjs/bpComponents/BPLabelledComponent.js +0 -14
  181. package/lib/cjs/bpComponents/BPLabelledComponent.js.map +0 -1
  182. package/lib/cjs/bpComponents/BPNumberInputComponent.d.ts +0 -10
  183. package/lib/cjs/bpComponents/BPNumberInputComponent.js +0 -40
  184. package/lib/cjs/bpComponents/BPNumberInputComponent.js.map +0 -1
  185. package/lib/cjs/bpComponents/BPPanelComponent.d.ts +0 -16
  186. package/lib/cjs/bpComponents/BPPanelComponent.js +0 -35
  187. package/lib/cjs/bpComponents/BPPanelComponent.js.map +0 -1
  188. package/lib/cjs/bpComponents/BPSliderInputComponent.d.ts +0 -14
  189. package/lib/cjs/bpComponents/BPSliderInputComponent.js +0 -41
  190. package/lib/cjs/bpComponents/BPSliderInputComponent.js.map +0 -1
  191. package/lib/cjs/bpComponents/BPTextInputComponent.d.ts +0 -7
  192. package/lib/cjs/bpComponents/BPTextInputComponent.js +0 -19
  193. package/lib/cjs/bpComponents/BPTextInputComponent.js.map +0 -1
  194. package/lib/cjs/bpComponents/BPToggleInputComponent.d.ts +0 -8
  195. package/lib/cjs/bpComponents/BPToggleInputComponent.js +0 -22
  196. package/lib/cjs/bpComponents/BPToggleInputComponent.js.map +0 -1
  197. package/lib/cjs/bpComponents/BPTreeComponent.d.ts +0 -36
  198. package/lib/cjs/bpComponents/BPTreeComponent.js +0 -131
  199. package/lib/cjs/bpComponents/BPTreeComponent.js.map +0 -1
  200. package/lib/cjs/bpComponents/BPTreeFolderComponent.d.ts +0 -10
  201. package/lib/cjs/bpComponents/BPTreeFolderComponent.js +0 -40
  202. package/lib/cjs/bpComponents/BPTreeFolderComponent.js.map +0 -1
  203. package/lib/cjs/bpComponents/BPValueComponent.d.ts +0 -16
  204. package/lib/cjs/bpComponents/BPValueComponent.js +0 -46
  205. package/lib/cjs/bpComponents/BPValueComponent.js.map +0 -1
  206. package/lib/cjs/bpComponents/BPVectorInputComponent.d.ts +0 -19
  207. package/lib/cjs/bpComponents/BPVectorInputComponent.js +0 -110
  208. package/lib/cjs/bpComponents/BPVectorInputComponent.js.map +0 -1
  209. package/lib/cjs/components/ConfigurationPanelComponent.d.ts +0 -4
  210. package/lib/cjs/components/ConfigurationPanelComponent.js +0 -30
  211. package/lib/cjs/components/ConfigurationPanelComponent.js.map +0 -1
  212. package/lib/cjs/components/DialogContext.d.ts +0 -48
  213. package/lib/cjs/components/DialogContext.js +0 -79
  214. package/lib/cjs/components/DialogContext.js.map +0 -1
  215. package/lib/cjs/components/DraggableIcon.d.ts +0 -19
  216. package/lib/cjs/components/DraggableIcon.js +0 -70
  217. package/lib/cjs/components/DraggableIcon.js.map +0 -1
  218. package/lib/cjs/components/ExtendedNumericInput.d.ts +0 -25
  219. package/lib/cjs/components/ExtendedNumericInput.js +0 -174
  220. package/lib/cjs/components/ExtendedNumericInput.js.map +0 -1
  221. package/lib/cjs/components/FileComponent.d.ts +0 -7
  222. package/lib/cjs/components/FileComponent.js +0 -49
  223. package/lib/cjs/components/FileComponent.js.map +0 -1
  224. package/lib/cjs/components/FormGroupComponent.d.ts +0 -6
  225. package/lib/cjs/components/FormGroupComponent.js +0 -16
  226. package/lib/cjs/components/FormGroupComponent.js.map +0 -1
  227. package/lib/cjs/components/InspectorStackComponent.d.ts +0 -4
  228. package/lib/cjs/components/InspectorStackComponent.js +0 -27
  229. package/lib/cjs/components/InspectorStackComponent.js.map +0 -1
  230. package/lib/cjs/components/VisualStyleContext.d.ts +0 -119
  231. package/lib/cjs/components/VisualStyleContext.js +0 -60
  232. package/lib/cjs/components/VisualStyleContext.js.map +0 -1
  233. package/lib/cjs/components/bpIconWrapper.d.ts +0 -2
  234. package/lib/cjs/components/bpIconWrapper.js +0 -9
  235. package/lib/cjs/components/bpIconWrapper.js.map +0 -1
  236. package/lib/cjs/components/loadingState.d.ts +0 -4
  237. package/lib/cjs/components/loadingState.js +0 -16
  238. package/lib/cjs/components/loadingState.js.map +0 -1
  239. package/lib/cjs/components/variableIcons.d.ts +0 -40
  240. package/lib/cjs/components/variableIcons.js +0 -46
  241. package/lib/cjs/components/variableIcons.js.map +0 -1
  242. package/lib/cjs/contexts.d.ts +0 -1
  243. package/lib/cjs/contexts.js +0 -3
  244. package/lib/cjs/contexts.js.map +0 -1
  245. package/lib/cjs/index.d.ts +0 -4
  246. package/lib/cjs/index.js +0 -9
  247. package/lib/cjs/index.js.map +0 -1
  248. package/lib/cjs/lib.d.ts +0 -32
  249. package/lib/cjs/lib.js +0 -49
  250. package/lib/cjs/lib.js.map +0 -1
  251. package/lib/cjs/threejs.d.ts +0 -2
  252. package/lib/cjs/threejs.js +0 -3
  253. package/lib/cjs/threejs.js.map +0 -1
  254. package/lib/esnext/ConfigObject.d.ts +0 -18
  255. package/lib/esnext/ConfigObject.js +0 -75
  256. package/lib/esnext/ConfigObject.js.map +0 -1
  257. package/lib/esnext/UiConfigRendererBlueprint.d.ts +0 -13
  258. package/lib/esnext/UiConfigRendererBlueprint.js +0 -52
  259. package/lib/esnext/UiConfigRendererBlueprint.js.map +0 -1
  260. package/lib/esnext/bpComponents/BPButtonComponent.d.ts +0 -8
  261. package/lib/esnext/bpComponents/BPButtonComponent.js +0 -15
  262. package/lib/esnext/bpComponents/BPButtonComponent.js.map +0 -1
  263. package/lib/esnext/bpComponents/BPColorInputComponent.d.ts +0 -24
  264. package/lib/esnext/bpComponents/BPColorInputComponent.js +0 -110
  265. package/lib/esnext/bpComponents/BPColorInputComponent.js.map +0 -1
  266. package/lib/esnext/bpComponents/BPComponent.d.ts +0 -29
  267. package/lib/esnext/bpComponents/BPComponent.js +0 -46
  268. package/lib/esnext/bpComponents/BPComponent.js.map +0 -1
  269. package/lib/esnext/bpComponents/BPContainerComponent.d.ts +0 -21
  270. package/lib/esnext/bpComponents/BPContainerComponent.js +0 -51
  271. package/lib/esnext/bpComponents/BPContainerComponent.js.map +0 -1
  272. package/lib/esnext/bpComponents/BPDropdownInputComponent.d.ts +0 -15
  273. package/lib/esnext/bpComponents/BPDropdownInputComponent.js +0 -40
  274. package/lib/esnext/bpComponents/BPDropdownInputComponent.js.map +0 -1
  275. package/lib/esnext/bpComponents/BPFileComponent.d.ts +0 -25
  276. package/lib/esnext/bpComponents/BPFileComponent.js +0 -52
  277. package/lib/esnext/bpComponents/BPFileComponent.js.map +0 -1
  278. package/lib/esnext/bpComponents/BPFolderComponent.d.ts +0 -16
  279. package/lib/esnext/bpComponents/BPFolderComponent.js +0 -30
  280. package/lib/esnext/bpComponents/BPFolderComponent.js.map +0 -1
  281. package/lib/esnext/bpComponents/BPInputComponent.d.ts +0 -11
  282. package/lib/esnext/bpComponents/BPInputComponent.js +0 -19
  283. package/lib/esnext/bpComponents/BPInputComponent.js.map +0 -1
  284. package/lib/esnext/bpComponents/BPLabelledComponent.d.ts +0 -8
  285. package/lib/esnext/bpComponents/BPLabelledComponent.js +0 -13
  286. package/lib/esnext/bpComponents/BPLabelledComponent.js.map +0 -1
  287. package/lib/esnext/bpComponents/BPNumberInputComponent.d.ts +0 -10
  288. package/lib/esnext/bpComponents/BPNumberInputComponent.js +0 -21
  289. package/lib/esnext/bpComponents/BPNumberInputComponent.js.map +0 -1
  290. package/lib/esnext/bpComponents/BPPanelComponent.d.ts +0 -16
  291. package/lib/esnext/bpComponents/BPPanelComponent.js +0 -31
  292. package/lib/esnext/bpComponents/BPPanelComponent.js.map +0 -1
  293. package/lib/esnext/bpComponents/BPSliderInputComponent.d.ts +0 -14
  294. package/lib/esnext/bpComponents/BPSliderInputComponent.js +0 -39
  295. package/lib/esnext/bpComponents/BPSliderInputComponent.js.map +0 -1
  296. package/lib/esnext/bpComponents/BPTextInputComponent.d.ts +0 -7
  297. package/lib/esnext/bpComponents/BPTextInputComponent.js +0 -15
  298. package/lib/esnext/bpComponents/BPTextInputComponent.js.map +0 -1
  299. package/lib/esnext/bpComponents/BPToggleInputComponent.d.ts +0 -8
  300. package/lib/esnext/bpComponents/BPToggleInputComponent.js +0 -18
  301. package/lib/esnext/bpComponents/BPToggleInputComponent.js.map +0 -1
  302. package/lib/esnext/bpComponents/BPTreeComponent.d.ts +0 -36
  303. package/lib/esnext/bpComponents/BPTreeComponent.js +0 -111
  304. package/lib/esnext/bpComponents/BPTreeComponent.js.map +0 -1
  305. package/lib/esnext/bpComponents/BPTreeFolderComponent.d.ts +0 -10
  306. package/lib/esnext/bpComponents/BPTreeFolderComponent.js +0 -23
  307. package/lib/esnext/bpComponents/BPTreeFolderComponent.js.map +0 -1
  308. package/lib/esnext/bpComponents/BPValueComponent.d.ts +0 -16
  309. package/lib/esnext/bpComponents/BPValueComponent.js +0 -29
  310. package/lib/esnext/bpComponents/BPValueComponent.js.map +0 -1
  311. package/lib/esnext/bpComponents/BPVectorInputComponent.d.ts +0 -19
  312. package/lib/esnext/bpComponents/BPVectorInputComponent.js +0 -93
  313. package/lib/esnext/bpComponents/BPVectorInputComponent.js.map +0 -1
  314. package/lib/esnext/components/ConfigurationPanelComponent.d.ts +0 -4
  315. package/lib/esnext/components/ConfigurationPanelComponent.js +0 -26
  316. package/lib/esnext/components/ConfigurationPanelComponent.js.map +0 -1
  317. package/lib/esnext/components/DialogContext.d.ts +0 -48
  318. package/lib/esnext/components/DialogContext.js +0 -55
  319. package/lib/esnext/components/DialogContext.js.map +0 -1
  320. package/lib/esnext/components/DraggableIcon.d.ts +0 -19
  321. package/lib/esnext/components/DraggableIcon.js +0 -62
  322. package/lib/esnext/components/DraggableIcon.js.map +0 -1
  323. package/lib/esnext/components/ExtendedNumericInput.d.ts +0 -25
  324. package/lib/esnext/components/ExtendedNumericInput.js +0 -151
  325. package/lib/esnext/components/ExtendedNumericInput.js.map +0 -1
  326. package/lib/esnext/components/FileComponent.d.ts +0 -7
  327. package/lib/esnext/components/FileComponent.js +0 -42
  328. package/lib/esnext/components/FileComponent.js.map +0 -1
  329. package/lib/esnext/components/FormGroupComponent.d.ts +0 -6
  330. package/lib/esnext/components/FormGroupComponent.js +0 -11
  331. package/lib/esnext/components/FormGroupComponent.js.map +0 -1
  332. package/lib/esnext/components/InspectorStackComponent.d.ts +0 -4
  333. package/lib/esnext/components/InspectorStackComponent.js +0 -23
  334. package/lib/esnext/components/InspectorStackComponent.js.map +0 -1
  335. package/lib/esnext/components/VisualStyleContext.d.ts +0 -119
  336. package/lib/esnext/components/VisualStyleContext.js +0 -53
  337. package/lib/esnext/components/VisualStyleContext.js.map +0 -1
  338. package/lib/esnext/components/bpIconWrapper.d.ts +0 -2
  339. package/lib/esnext/components/bpIconWrapper.js +0 -5
  340. package/lib/esnext/components/bpIconWrapper.js.map +0 -1
  341. package/lib/esnext/components/loadingState.d.ts +0 -4
  342. package/lib/esnext/components/loadingState.js +0 -12
  343. package/lib/esnext/components/loadingState.js.map +0 -1
  344. package/lib/esnext/components/variableIcons.d.ts +0 -40
  345. package/lib/esnext/components/variableIcons.js +0 -43
  346. package/lib/esnext/components/variableIcons.js.map +0 -1
  347. package/lib/esnext/contexts.d.ts +0 -1
  348. package/lib/esnext/contexts.js +0 -2
  349. package/lib/esnext/contexts.js.map +0 -1
  350. package/lib/esnext/index.d.ts +0 -4
  351. package/lib/esnext/index.js +0 -5
  352. package/lib/esnext/index.js.map +0 -1
  353. package/lib/esnext/lib.d.ts +0 -32
  354. package/lib/esnext/lib.js +0 -33
  355. package/lib/esnext/lib.js.map +0 -1
  356. package/lib/esnext/threejs.d.ts +0 -2
  357. package/lib/esnext/threejs.js +0 -2
  358. package/lib/esnext/threejs.js.map +0 -1
package/README.md CHANGED
@@ -152,3 +152,16 @@ In CSS
152
152
  ```css
153
153
  @import 'uiconfig-blueprint/lib/css/renderer.css';
154
154
  ```
155
+
156
+ postcss plugin for themes
157
+ ```javascript
158
+ {
159
+ postcssPlugin: 'modify-css-content',
160
+ Once(root) {
161
+ // Modify to fix :root.bpx-flat :root twice when imported in renderer.scss
162
+ root.walkRules(rule => {
163
+ rule.selector = rule.selector.replace(/:root.bpx-(.*) :root/g, ':root.bpx-$1');
164
+ });
165
+ },
166
+ }
167
+ ```
@@ -1,13 +1,15 @@
1
- import { UiConfigRendererBase, UiObjectConfig } from "uiconfig.js";
1
+ import { JSUndoManager } from "ts-browser-helpers";
2
+ import { UiConfigRenderer, UiObjectConfig } from "uiconfig.js";
2
3
  import { Root } from 'react-dom/client';
3
4
  import { THREE } from "./threejs";
4
- export declare class UiConfigRendererBlueprint extends UiConfigRendererBase<Root> {
5
+ export declare class UiConfigRendererBlueprint extends UiConfigRenderer {
5
6
  constructor(container?: HTMLElement, { autoPostFrame }?: {
6
7
  autoPostFrame?: boolean | undefined;
7
- });
8
+ }, undoManager?: JSUndoManager | false);
9
+ protected _root: Root;
8
10
  protected _createUiContainer(): HTMLDivElement;
9
11
  protected _refreshUiConfigObject(config: UiObjectConfig): void;
10
12
  renderUiConfig(_: UiObjectConfig): void;
11
13
  THREE: THREE | undefined;
12
- dispose(): void;
14
+ unmount(): void;
13
15
  }
@@ -0,0 +1,23 @@
1
+ import { I as n } from "./index-B3lLOxQd.js";
2
+ import { I as e } from "./index-DzfuAEGU.js";
3
+ import { p as r, I as s } from "./index-CPVHSDA_.js";
4
+ /**
5
+ * @license
6
+ * uiconfig-blueprint v0.1.0-dev.4
7
+ * Copyright 2022-2025 repalash <palash@shaders.app>
8
+ * Apache-2.0 License
9
+ */
10
+ function I(o, t) {
11
+ var a = r(o);
12
+ return t === s.STANDARD ? n[a] : e[a];
13
+ }
14
+ function p(o) {
15
+ return r(o);
16
+ }
17
+ export {
18
+ n as IconSvgPaths16,
19
+ e as IconSvgPaths20,
20
+ I as getIconPaths,
21
+ p as iconNameToPathsRecordKey
22
+ };
23
+ //# sourceMappingURL=allPaths-B8LX_D5a.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPaths-zMnhJyQa.js","sources":["../node_modules/@blueprintjs/icons/lib/esm/allPaths.js"],"sourcesContent":["/*\n * Copyright 2021 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { pascalCase } from \"change-case\";\nimport * as IconSvgPaths16 from \"./generated/16px/paths\";\nimport * as IconSvgPaths20 from \"./generated/20px/paths\";\nimport { IconSize } from \"./iconTypes\";\nexport { IconSvgPaths16, IconSvgPaths20 };\n/**\n * Get the list of vector paths that define a given icon. These path strings are used to render `<path>`\n * elements inside an `<svg>` icon element. For full implementation details and nuances, see the icon component\n * handlebars template and `generate-icon-components` script in the __@blueprintjs/icons__ package.\n *\n * Note: this function loads all icon definitions __statically__, which means every icon is included in your\n * JS bundle. Only use this API if your app is likely to use all Blueprint icons at runtime. If you are looking for a\n * dynamic icon loader which loads icon definitions on-demand, use `{ Icons } from \"@blueprintjs/icons\"` instead.\n */\nexport function getIconPaths(name, size) {\n var key = pascalCase(name);\n return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];\n}\n/**\n * Type safe string literal conversion of snake-case icon names to PascalCase icon names.\n * This is useful for indexing into the SVG paths record to extract a single icon's SVG path definition.\n *\n * @deprecated use `getIconPaths` instead\n */\nexport function iconNameToPathsRecordKey(name) {\n return pascalCase(name);\n}\n//# sourceMappingURL=allPaths.js.map"],"names":["getIconPaths","name","size","key","pascalCase","IconSize","IconSvgPaths16","IconSvgPaths20","iconNameToPathsRecordKey"],"mappings":";;;;;;;;;AA6BO,SAASA,EAAaC,GAAMC,GAAM;AACrC,MAAIC,IAAMC,EAAWH,CAAI;AACzB,SAAOC,MAASG,EAAS,WAAWC,EAAeH,CAAG,IAAII,EAAeJ,CAAG;AAChF;AAOO,SAASK,EAAyBP,GAAM;AAC3C,SAAOG,EAAWH,CAAI;AAC1B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"allPaths-B8LX_D5a.js","sources":["../node_modules/@blueprintjs/icons/lib/esm/allPaths.js"],"sourcesContent":["/*\n * Copyright 2021 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { pascalCase } from \"change-case\";\nimport * as IconSvgPaths16 from \"./generated/16px/paths\";\nimport * as IconSvgPaths20 from \"./generated/20px/paths\";\nimport { IconSize } from \"./iconTypes\";\nexport { IconSvgPaths16, IconSvgPaths20 };\n/**\n * Get the list of vector paths that define a given icon. These path strings are used to render `<path>`\n * elements inside an `<svg>` icon element. For full implementation details and nuances, see the icon component\n * handlebars template and `generate-icon-components` script in the __@blueprintjs/icons__ package.\n *\n * Note: this function loads all icon definitions __statically__, which means every icon is included in your\n * JS bundle. Only use this API if your app is likely to use all Blueprint icons at runtime. If you are looking for a\n * dynamic icon loader which loads icon definitions on-demand, use `{ Icons } from \"@blueprintjs/icons\"` instead.\n */\nexport function getIconPaths(name, size) {\n var key = pascalCase(name);\n return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];\n}\n/**\n * Type safe string literal conversion of snake-case icon names to PascalCase icon names.\n * This is useful for indexing into the SVG paths record to extract a single icon's SVG path definition.\n *\n * @deprecated use `getIconPaths` instead\n */\nexport function iconNameToPathsRecordKey(name) {\n return pascalCase(name);\n}\n//# sourceMappingURL=allPaths.js.map"],"names":["getIconPaths","name","size","key","pascalCase","IconSize","IconSvgPaths16","IconSvgPaths20","iconNameToPathsRecordKey"],"mappings":";;;;;;;;;AA6BO,SAASA,EAAaC,GAAMC,GAAM;AACrC,MAAIC,IAAMC,EAAWH,CAAI;AACzB,SAAOC,MAASG,EAAS,WAAWC,EAAeH,CAAG,IAAII,EAAeJ,CAAG;AAChF;AAOO,SAASK,EAAyBP,GAAM;AAC3C,SAAOG,EAAWH,CAAI;AAC1B;","x_google_ignoreList":[0]}
@@ -1,8 +1,8 @@
1
- import { _ as n, a as o } from "./index-f-ZwHBj3.js";
1
+ import { _ as n, a as o } from "./index-CPVHSDA_.js";
2
2
  /**
3
3
  * @license
4
- * uiconfig-blueprint v0.1.0-dev.2
5
- * Copyright 2022-2024 repalash <palash@shaders.app>
4
+ * uiconfig-blueprint v0.1.0-dev.4
5
+ * Copyright 2022-2025 repalash <palash@shaders.app>
6
6
  * Apache-2.0 License
7
7
  */
8
8
  var s = function(a, e) {
@@ -13,7 +13,7 @@ var s = function(a, e) {
13
13
  case 0:
14
14
  return [4, import(
15
15
  /* webpackChunkName: "blueprint-icons-all-paths" */
16
- "./allPaths-zMnhJyQa.js"
16
+ "./allPaths-B8LX_D5a.js"
17
17
  )];
18
18
  case 1:
19
19
  return t = r.sent().getIconPaths, [2, t(a, e)];
@@ -24,4 +24,4 @@ var s = function(a, e) {
24
24
  export {
25
25
  s as allPathsLoader
26
26
  };
27
- //# sourceMappingURL=allPathsLoader-eCsEfMwc.js.map
27
+ //# sourceMappingURL=allPathsLoader-ChwV6s_m.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPathsLoader-eCsEfMwc.js","sources":["../node_modules/@blueprintjs/icons/lib/esm/paths-loaders/allPathsLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\n/**\n * A simple module loader which concatenates all icon paths into a single chunk.\n */\nexport var allPathsLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var getIconPaths;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-all-paths\" */\n \"../allPaths\")];\n case 1:\n getIconPaths = (_a.sent()).getIconPaths;\n return [2 /*return*/, getIconPaths(name, size)];\n }\n });\n}); };\n//# sourceMappingURL=allPathsLoader.js.map"],"names":["allPathsLoader","name","size","__awaiter","getIconPaths","__generator","_a"],"mappings":";;;;;;;AAmBU,IAACA,IAAiB,SAAUC,GAAMC,GAAM;AAAE,SAAOC,EAAU,QAAQ,QAAQ,QAAQ,WAAY;AACrG,QAAIC;AACJ,WAAOC,EAAY,MAAM,SAAUC,GAAI;AACnC,cAAQA,EAAG,OAAK;AAAA,QACZ,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAa,CAAC;AAAA,QAClB,KAAK;AACD,iBAAAF,IAAgBE,EAAG,KAAI,EAAI,cACpB,CAAC,GAAcF,EAAaH,GAAMC,CAAI,CAAC;AAAA,MACrD;AAAA,IACT,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"allPathsLoader-ChwV6s_m.js","sources":["../node_modules/@blueprintjs/icons/lib/esm/paths-loaders/allPathsLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\n/**\n * A simple module loader which concatenates all icon paths into a single chunk.\n */\nexport var allPathsLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var getIconPaths;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-all-paths\" */\n \"../allPaths\")];\n case 1:\n getIconPaths = (_a.sent()).getIconPaths;\n return [2 /*return*/, getIconPaths(name, size)];\n }\n });\n}); };\n//# sourceMappingURL=allPathsLoader.js.map"],"names":["allPathsLoader","name","size","__awaiter","getIconPaths","__generator","_a"],"mappings":";;;;;;;AAmBU,IAACA,IAAiB,SAAUC,GAAMC,GAAM;AAAE,SAAOC,EAAU,QAAQ,QAAQ,QAAQ,WAAY;AACrG,QAAIC;AACJ,WAAOC,EAAY,MAAM,SAAUC,GAAI;AACnC,cAAQA,EAAG,OAAK;AAAA,QACZ,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAa,CAAC;AAAA,QAClB,KAAK;AACD,iBAAAF,IAAgBE,EAAG,KAAI,EAAI,cACpB,CAAC,GAAcF,EAAaH,GAAMC,CAAI,CAAC;AAAA,MAC9D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
@@ -16,11 +16,12 @@ export interface UiConfigRendererBaseBp extends UiConfigRendererBase {
16
16
  }
17
17
  export declare const UiConfigRendererContext: React.Context<UiConfigRendererBaseBp>;
18
18
  export type UiConfigRendererContextType = React.ContextType<typeof UiConfigRendererContext>;
19
- export declare abstract class BPComponent<TValue, TState, TProps extends BPComponentProps<TValue> = BPComponentProps<TValue>> extends React.Component<TProps, TState> {
19
+ export declare abstract class BPComponent<TValue, TState extends BPComponentState, TProps extends BPComponentProps<TValue> = BPComponentProps<TValue>> extends React.Component<TProps, TState> {
20
20
  static contextType: React.Context<UiConfigRendererBaseBp>;
21
21
  context: UiConfigRendererContextType;
22
22
  protected constructor(props: TProps, context: UiConfigRendererContextType, state: TState);
23
23
  setStatePromise(state: TState): Promise<void>;
24
+ keyVersion: number;
24
25
  getUpdatedState(state: TState): TState;
25
26
  private _refreshing;
26
27
  refreshConfigState(state?: TState): Promise<void>;
@@ -4,6 +4,7 @@ type StateValue = string | File | null;
4
4
  type FileImportType = any;
5
5
  export type BPFileComponentState = BPValueComponentState<StateValue> & {
6
6
  mode: 'url' | 'file';
7
+ preview?: string;
7
8
  };
8
9
  type BPFileComponentExtras = {
9
10
  fileLoader?: {
@@ -14,12 +15,13 @@ type BPFileComponentExtras = {
14
15
  };
15
16
  };
16
17
  type BPFileComponentContextType = UiConfigRendererContextType & BPFileComponentExtras;
17
- export declare class BPFileComponent extends BPValueComponent<FileImportType | null, BPFileComponentState, StateValue> {
18
+ export declare class BPFileComponent<T extends FileImportType = FileImportType, TP = {}> extends BPValueComponent<T | null, BPFileComponentState, StateValue> {
18
19
  context: BPFileComponentContextType;
19
- props: BPComponentProps<FileImportType | null> & BPFileComponentExtras;
20
- constructor(props: BPComponentProps<FileImportType | null> & BPFileComponentExtras, context: BPFileComponentContextType);
21
- convertValueToState(val: FileImportType | null, state: BPFileComponentState): BPFileComponentState;
22
- convertStateToValue(state: BPFileComponentState): Promise<FileImportType | null>;
20
+ props: BPComponentProps<T | null> & BPFileComponentExtras & TP;
21
+ constructor(props: BPComponentProps<T | null> & BPFileComponentExtras & TP, context: BPFileComponentContextType);
22
+ convertValueToState(_val: T | null, _state: BPFileComponentState): BPFileComponentState;
23
+ convertStateToValue(state: BPFileComponentState): Promise<T | null>;
24
+ renderPreviewSlot(): import("react/jsx-runtime").JSX.Element;
23
25
  render(): import("react/jsx-runtime").JSX.Element | null;
24
26
  }
25
27
  export {};
@@ -1,4 +1,4 @@
1
- import React, { DOMAttributes } from "react";
1
+ import React, { ChangeEventHandler, DOMAttributes } from "react";
2
2
  import { BPComponentProps, UiConfigRendererContextType } from "./BPComponent";
3
3
  import { PanelActions } from "@blueprintjs/core/lib/esm/components/panel-stack2/panelTypes";
4
4
  import { BPContainerComponent, BPContainerComponentState } from './BPContainerComponent';
@@ -11,6 +11,9 @@ export declare const FolderHeadCard: React.FC<React.PropsWithChildren<{
11
11
  open: boolean;
12
12
  label: string;
13
13
  minimal: boolean;
14
+ level: number;
14
15
  disabled?: boolean;
16
+ enabled?: boolean;
17
+ onEnabledChange?: ChangeEventHandler<HTMLInputElement>;
15
18
  onClick: DOMAttributes<HTMLElement>['onClick'];
16
19
  }>>;
@@ -1,7 +1,8 @@
1
1
  import { BPValueComponent, BPValueComponentState } from "./BPValueComponent";
2
2
  import { BPComponentProps, UiConfigRendererContextType } from "./BPComponent";
3
3
  import { ReactNode } from "react";
4
- export declare abstract class BPInputComponent<TStateValue, TState extends BPValueComponentState<TStateValue> = BPValueComponentState<TStateValue>> extends BPValueComponent<TStateValue, TState, TStateValue> {
4
+ import { PrimitiveVal } from "uiconfig.js";
5
+ export declare abstract class BPInputComponent<TStateValue extends PrimitiveVal, TState extends BPValueComponentState<TStateValue> = BPValueComponentState<TStateValue>> extends BPValueComponent<TStateValue, TState, TStateValue> {
5
6
  protected constructor(props: BPComponentProps<TStateValue>, context: UiConfigRendererContextType, state: TState);
6
7
  convertValueToState(value: TStateValue, state: TState): TState;
7
8
  convertStateToValue(state: TState): Promise<TStateValue>;
@@ -1,10 +1,12 @@
1
+ /// <reference types="react" />
1
2
  import { BPComponent, BPComponentProps, BPComponentState, UiConfigRendererContextType } from "./BPComponent";
2
3
  import { TreeNodeInfo } from "@blueprintjs/core";
4
+ import { PrimitiveVal } from "uiconfig.js";
3
5
  export type BPTreeComponentState<T = {}> = BPComponentState & {
4
6
  nodes: TreeNodeInfo<T>[];
5
7
  };
6
8
  type NodePath = number[];
7
- export declare abstract class BPTreeComponent<T = {}, TConfigVal = void> extends BPComponent<TConfigVal, BPTreeComponentState<T>> {
9
+ export declare abstract class BPTreeComponent<T = {}, TConfigVal extends PrimitiveVal | void = void> extends BPComponent<TConfigVal, BPTreeComponentState<T>> {
8
10
  constructor(props: BPComponentProps<TConfigVal>, context: UiConfigRendererContextType);
9
11
  protected _infoMap: Map<string | number, TreeNodeInfo<T>>;
10
12
  protected _createNodeInfo(id: string, obj: T): {
@@ -18,19 +20,22 @@ export declare abstract class BPTreeComponent<T = {}, TConfigVal = void> extends
18
20
  protected abstract _getNodeId(obj: T): string;
19
21
  protected abstract _updateNodeInfo(node: TreeNodeInfo<T>, obj: T): TreeNodeInfo<T>;
20
22
  protected abstract _getRootNodes(): T[];
21
- protected _onNodeClick(_id: string | number, _path: number[]): Promise<void>;
22
- protected _onNodeDoubleClick(_id: string | number, _path: number[]): Promise<void>;
23
+ protected _onNodeClick(_id: string | number): Promise<void>;
24
+ protected _onNodeDoubleClick(_id: string | number): Promise<void>;
23
25
  protected _cloneNodes(callback?: (t: TreeNodeInfo<T>) => void, state?: TreeNodeInfo<T>[]): TreeNodeInfo<T>[];
24
- protected _forEachNode<T>(nodes: TreeNodeInfo<T>[] | undefined, callback: (node: TreeNodeInfo<T>) => void): TreeNodeInfo<T>[] | undefined;
26
+ protected _forEachNode<T>(nodes: TreeNodeInfo<T>[] | undefined, callback: (node: TreeNodeInfo<T>, path: NodePath) => void, path?: NodePath): TreeNodeInfo<T>[] | undefined;
25
27
  protected _forNodeAtPath<T>(nodes: TreeNodeInfo<T>[], path: NodePath, callback: (node: TreeNodeInfo<T>) => void): void;
26
- protected _onNodeExpandCollapse(_id: string | number, _path: number[]): Promise<void>;
27
- protected _onNodeContextMenu(_id: string | number, _path: number[]): Promise<void>;
28
+ protected _onNodeExpandCollapse(_id: string | number, expanded?: boolean): Promise<void>;
29
+ protected _onNodeContextMenu(_id: string | number): Promise<void>;
28
30
  protected buildData(data: TreeNodeInfo<T>[], obj: T, _?: any, _2?: any): TreeNodeInfo<T>[];
29
31
  getUpdatedState(_state: BPTreeComponentState<T>): BPTreeComponentState<T>;
30
32
  deselectAll(): Promise<void>;
31
33
  setSelected(id?: string): Promise<void>;
32
34
  componentDidMount(): void;
33
35
  componentWillUnmount(): void;
36
+ findSelectedNode(nodes?: TreeNodeInfo<T>[]): TreeNodeInfo<T> | undefined;
37
+ getFlatNodes(onlyVisible?: boolean, nodes?: TreeNodeInfo<T>[], res?: TreeNodeInfo<T>[]): TreeNodeInfo<T>[];
38
+ protected _handleKeyDown(e: React.KeyboardEvent): void;
34
39
  render(): import("react/jsx-runtime").JSX.Element | null;
35
40
  }
36
41
  export {};
@@ -1,15 +1,18 @@
1
1
  import { BPComponentProps, UiConfigRendererContextType } from "./BPComponent";
2
2
  import { BPLabelledComponent, BPLabelledComponentState } from "./BPLabelledComponent";
3
+ import { PrimitiveVal } from "uiconfig.js";
3
4
  export type BPValueComponentState<TStateValue> = BPLabelledComponentState & {
4
5
  value: TStateValue;
5
6
  };
6
- export declare abstract class BPValueComponent<TValue, TState extends BPValueComponentState<TStateValue>, TStateValue> extends BPLabelledComponent<TValue, TState> {
7
+ export declare abstract class BPValueComponent<TValue extends PrimitiveVal, TState extends BPValueComponentState<TStateValue>, TStateValue> extends BPLabelledComponent<TValue, TState> {
7
8
  protected constructor(props: BPComponentProps<TValue>, context: UiConfigRendererContextType, state: TState);
8
9
  abstract convertValueToState(value: TValue, state: TState): TState;
9
10
  abstract convertStateToValue(state: TState): Promise<TValue>;
11
+ private _lastValRef;
10
12
  getUpdatedState(state: TState): TState;
11
13
  protected _previousLast: boolean;
12
14
  doesNeedRefresh(state: TState, _last?: boolean): boolean;
15
+ setState(state: TState, callback?: () => void): void;
13
16
  setValue(value: TStateValue, last?: boolean): Promise<void>;
14
17
  forceOnChange: boolean;
15
18
  updateStateValue(state: TState, last?: boolean): Promise<void>;
@@ -20,33 +20,41 @@ export declare function setupDialog(): {
20
20
  open: (d: Partial<DialogStateType>) => void;
21
21
  close: () => void;
22
22
  setDialog: Dispatch<SetStateAction<DialogStateType>>;
23
+ state: any;
24
+ setState: (state: any) => void;
23
25
  };
24
26
  export declare const DialogContext: import("react").Context<{
25
27
  dialog: DialogStateType;
26
28
  open: (d: Partial<DialogStateType>) => void;
27
29
  close: () => void;
28
30
  setDialog: Dispatch<SetStateAction<DialogStateType>>;
31
+ setState: Dispatch<SetStateAction<any>>;
32
+ state: any;
29
33
  }>;
30
34
  export declare const useDialog: () => {
31
35
  dialog: DialogStateType;
32
36
  open: (d: Partial<DialogStateType>) => void;
33
37
  close: () => void;
34
38
  setDialog: Dispatch<SetStateAction<DialogStateType>>;
39
+ setState: Dispatch<SetStateAction<any>>;
40
+ state: any;
35
41
  };
36
42
  export declare function DialogProvider({ children }: {
37
43
  children: ReactNode;
38
44
  }): import("react/jsx-runtime").JSX.Element;
39
45
  export declare function DialogComponent(): import("react/jsx-runtime").JSX.Element;
46
+ interface DialogPromptProps extends Partial<DialogStateType> {
47
+ closeButtonText?: string;
48
+ submitButtonText?: string;
49
+ message?: string;
50
+ placeholder?: string;
51
+ value?: string;
52
+ showInput?: boolean;
53
+ onClose?: (value: string) => boolean | undefined | Promise<boolean | undefined>;
54
+ onSubmit?: (value: string) => boolean | undefined | any | Promise<boolean | undefined | any>;
55
+ }
40
56
  export declare function useDialogPrompt(): {
41
- prompt: ({ closeButtonText, submitButtonText, message, placeholder, value, showInput, onClose, onSubmit, ...props }: Partial<DialogStateType> & {
42
- closeButtonText?: string | undefined;
43
- submitButtonText?: string | undefined;
44
- message?: string | undefined;
45
- placeholder?: string | undefined;
46
- value?: string | undefined;
47
- showInput?: boolean | undefined;
48
- onClose?: ((value: string) => boolean | undefined | Promise<boolean | undefined>) | undefined;
49
- onSubmit?: ((value: string) => boolean | undefined | any | Promise<boolean | undefined | any>) | undefined;
50
- }) => Promise<string | null>;
57
+ prompt: ({ closeButtonText, submitButtonText, message, placeholder, value, showInput, onClose, onSubmit, ...props }: DialogPromptProps) => Promise<string | null>;
51
58
  close: () => void;
52
59
  };
60
+ export {};
@@ -6,6 +6,7 @@ export declare class DraggableIcon extends React.Component<{
6
6
  value: number;
7
7
  stepSize?: number;
8
8
  small?: boolean;
9
+ disabled?: boolean;
9
10
  onChange: (v: number, last?: boolean) => void;
10
11
  }> {
11
12
  private cursor;
@@ -2,6 +2,8 @@ import React from "react";
2
2
  import { BPFileComponentState } from "../bpComponents/BPFileComponent";
3
3
  export interface FileComponentProps {
4
4
  state: BPFileComponentState;
5
- onChange: (state: Partial<BPFileComponentState>) => void;
5
+ onChange: (state: Partial<BPFileComponentState>) => Promise<void>;
6
+ previewSlot?: React.ReactNode;
7
+ uuid?: string;
6
8
  }
7
9
  export declare const FileComponent: React.FC<FileComponentProps>;
@@ -0,0 +1,7 @@
1
+ export declare const axesXYZIcon: import("react/jsx-runtime").JSX.Element;
2
+ export declare const axesCubeIcon: import("react/jsx-runtime").JSX.Element;
3
+ export declare const axesTetrahedronIcon: import("react/jsx-runtime").JSX.Element;
4
+ export declare const axesSphereIcon: import("react/jsx-runtime").JSX.Element;
5
+ export declare const axesCubeFilledIcon: import("react/jsx-runtime").JSX.Element;
6
+ export declare const axesTetrahedronFilledIcon: import("react/jsx-runtime").JSX.Element;
7
+ export declare const axesSphereFilledIcon: import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { ReactNode } from "react";
2
- export declare const bpIconWrapper: (path: ReactNode, viewbox?: number) => import("react/jsx-runtime").JSX.Element;
1
+ import { HTMLAttributes, ReactNode } from "react";
2
+ export declare const bpIconWrapper: (path: ReactNode, viewbox?: number, svgProps?: HTMLAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,198 @@
1
+ import { HTMLAttributes, ReactElement } from 'react';
2
+ export declare const bpUiConfigIcons: {
3
+ readonly 'x-1': import("react/jsx-runtime").JSX.Element;
4
+ readonly 'y-1': import("react/jsx-runtime").JSX.Element;
5
+ readonly 'z-1': import("react/jsx-runtime").JSX.Element;
6
+ readonly 'x-2': import("react/jsx-runtime").JSX.Element;
7
+ readonly 'y-2': import("react/jsx-runtime").JSX.Element;
8
+ readonly 'z-2': import("react/jsx-runtime").JSX.Element;
9
+ readonly 'x-3': import("react/jsx-runtime").JSX.Element;
10
+ readonly 'y-3': import("react/jsx-runtime").JSX.Element;
11
+ readonly 'z-3': import("react/jsx-runtime").JSX.Element;
12
+ readonly 'u-3': import("react/jsx-runtime").JSX.Element;
13
+ readonly 'v-3': import("react/jsx-runtime").JSX.Element;
14
+ readonly 'w-3': import("react/jsx-runtime").JSX.Element;
15
+ readonly 'h-3': import("react/jsx-runtime").JSX.Element;
16
+ readonly 'x-4': import("react/jsx-runtime").JSX.Element;
17
+ readonly 'y-4': import("react/jsx-runtime").JSX.Element;
18
+ readonly 'z-4': import("react/jsx-runtime").JSX.Element;
19
+ readonly 'x-5': import("react/jsx-runtime").JSX.Element;
20
+ readonly 'y-5': import("react/jsx-runtime").JSX.Element;
21
+ readonly 'z-5': import("react/jsx-runtime").JSX.Element;
22
+ readonly 'x-6': import("react/jsx-runtime").JSX.Element;
23
+ readonly 'y-6': import("react/jsx-runtime").JSX.Element;
24
+ readonly 'z-6': import("react/jsx-runtime").JSX.Element;
25
+ readonly 'x-7': import("react/jsx-runtime").JSX.Element;
26
+ readonly 'y-7': import("react/jsx-runtime").JSX.Element;
27
+ readonly 'z-7': import("react/jsx-runtime").JSX.Element;
28
+ readonly 'x-8': import("react/jsx-runtime").JSX.Element;
29
+ readonly 'y-8': import("react/jsx-runtime").JSX.Element;
30
+ readonly 'z-8': import("react/jsx-runtime").JSX.Element;
31
+ readonly 'x-9': import("react/jsx-runtime").JSX.Element;
32
+ readonly 'y-9': import("react/jsx-runtime").JSX.Element;
33
+ readonly 'z-9': import("react/jsx-runtime").JSX.Element;
34
+ readonly 'x-10': import("react/jsx-runtime").JSX.Element;
35
+ readonly 'y-10': import("react/jsx-runtime").JSX.Element;
36
+ readonly 'z-10': import("react/jsx-runtime").JSX.Element;
37
+ readonly 'x-11': import("react/jsx-runtime").JSX.Element;
38
+ readonly 'y-11': import("react/jsx-runtime").JSX.Element;
39
+ readonly 'z-11': import("react/jsx-runtime").JSX.Element;
40
+ readonly 'x-12': import("react/jsx-runtime").JSX.Element;
41
+ readonly 'y-12': import("react/jsx-runtime").JSX.Element;
42
+ readonly 'z-12': import("react/jsx-runtime").JSX.Element;
43
+ readonly 'axes-xyz': import("react/jsx-runtime").JSX.Element;
44
+ readonly 'axes-cube': import("react/jsx-runtime").JSX.Element;
45
+ readonly 'axes-tetrahedron': import("react/jsx-runtime").JSX.Element;
46
+ readonly 'axes-sphere': import("react/jsx-runtime").JSX.Element;
47
+ readonly 'axes-cube-filled': import("react/jsx-runtime").JSX.Element;
48
+ readonly 'axes-tetrahedron-filled': import("react/jsx-runtime").JSX.Element;
49
+ readonly 'axes-sphere-filled': import("react/jsx-runtime").JSX.Element;
50
+ readonly 'shape-cone-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
51
+ readonly 'shape-cone-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
52
+ readonly 'shape-cone-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
53
+ readonly 'shape-sphere-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
54
+ readonly 'shape-sphere-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
55
+ readonly 'shape-sphere-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
56
+ readonly 'shape-cube-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
57
+ readonly 'shape-cube-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
58
+ readonly 'shape-cube-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
59
+ readonly 'shape-cylinder-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
60
+ readonly 'shape-cylinder-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
61
+ readonly 'shape-cylinder-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
62
+ readonly 'shape-pyramid-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
63
+ readonly 'shape-pyramid-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
64
+ readonly 'shape-pyramid-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
65
+ readonly 'shape-rhombus-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
66
+ readonly 'shape-rhombus-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
67
+ readonly 'shape-rhombus-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
68
+ readonly 'shape-3d-hexagon-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
69
+ readonly 'shape-3d-hexagon-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
70
+ readonly 'shape-3d-hexagon-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
71
+ readonly 'shape-pyramid-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
72
+ readonly 'shape-pyramid-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
73
+ readonly 'shape-pyramid-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
74
+ readonly 'shape-3d-star-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
75
+ readonly 'shape-3d-star-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
76
+ readonly 'shape-3d-star-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
77
+ readonly 'shape-cuboid-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
78
+ readonly 'shape-cuboid-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
79
+ readonly 'shape-cuboid-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
80
+ readonly 'shape-cylinder-steps-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
81
+ readonly 'shape-cylinder-steps-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
82
+ readonly 'shape-cylinder-steps-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
83
+ readonly 'shape-trapezium-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
84
+ readonly 'shape-trapezium-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
85
+ readonly 'shape-trapezium-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
86
+ readonly 'shape-sphere-cut-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
87
+ readonly 'shape-sphere-cut-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
88
+ readonly 'shape-sphere-cut-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
89
+ readonly 'shape-trapezium-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
90
+ readonly 'shape-trapezium-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
91
+ readonly 'shape-trapezium-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
92
+ readonly 'shape-pyramid-filled-3': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
93
+ readonly 'shape-pyramid-filled-mono-3': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
94
+ readonly 'shape-pyramid-3': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
95
+ readonly 'shape-hourglass-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
96
+ readonly 'shape-hourglass-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
97
+ readonly 'shape-hourglass-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
98
+ readonly 'shape-cube-cut-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
99
+ readonly 'shape-cube-cut-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
100
+ readonly 'shape-cube-cut-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
101
+ readonly 'shape-torus-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
102
+ readonly 'shape-torus-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
103
+ readonly 'shape-torus': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
104
+ readonly 'shape-3d-abstract-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
105
+ readonly 'shape-3d-abstract-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
106
+ readonly 'shape-3d-abstract-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
107
+ readonly 'shape-cylinder-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
108
+ readonly 'shape-cylinder-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
109
+ readonly 'shape-cylinder-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
110
+ readonly 'shape-3d-pentagon-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
111
+ readonly 'shape-3d-pentagon-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
112
+ readonly 'shape-3d-pentagon-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
113
+ readonly 'shape-horseshoe-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
114
+ readonly 'shape-horseshoe-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
115
+ readonly 'shape-horseshoe-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
116
+ readonly 'shape-steps-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
117
+ readonly 'shape-steps-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
118
+ readonly 'shape-steps': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
119
+ readonly 'shape-hourglass-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
120
+ readonly 'shape-hourglass-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
121
+ readonly 'shape-hourglass-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
122
+ readonly 'shape-3d-abstract-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
123
+ readonly 'shape-3d-abstract-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
124
+ readonly 'shape-3d-abstract-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
125
+ readonly 'shape-diamond-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
126
+ readonly 'shape-diamond-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
127
+ readonly 'shape-diamond-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
128
+ readonly 'shape-diamond-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
129
+ readonly 'shape-diamond-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
130
+ readonly 'shape-diamond-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
131
+ readonly 'shape-dodecahedron-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
132
+ readonly 'shape-dodecahedron-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
133
+ readonly 'shape-dodecahedron': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
134
+ readonly 'shape-3d-plus-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
135
+ readonly 'shape-3d-plus-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
136
+ readonly 'shape-3d-plus': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
137
+ readonly 'shape-diamond-filled-3': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
138
+ readonly 'shape-diamond-filled-mono-3': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
139
+ readonly 'shape-diamond-3': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
140
+ readonly 'shape-cone-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
141
+ readonly 'shape-cone-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
142
+ readonly 'shape-cone-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
143
+ readonly 'shape-3d-multiplication-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
144
+ readonly 'shape-3d-multiplication-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
145
+ readonly 'shape-3d-multiplication': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
146
+ readonly 'shape-3d-abstract-filled-3': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
147
+ readonly 'shape-3d-abstract-filled-mono-3': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
148
+ readonly 'shape-3d-abstract-3': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
149
+ readonly 'shape-sphere-skewed-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
150
+ readonly 'shape-sphere-skewed-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
151
+ readonly 'shape-sphere-skewed': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
152
+ readonly 'shape-cylinder-skewed-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
153
+ readonly 'shape-cylinder-skewed-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
154
+ readonly 'shape-cylinder-skewed': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
155
+ readonly 'shape-horseshoe-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
156
+ readonly 'shape-horseshoe-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
157
+ readonly 'shape-horseshoe-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
158
+ readonly 'shape-sphere-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
159
+ readonly 'shape-sphere-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
160
+ readonly 'shape-sphere-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
161
+ readonly 'shape-pyramid-filled-4': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
162
+ readonly 'shape-pyramid-filled-mono-4': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
163
+ readonly 'shape-pyramid-4': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
164
+ readonly 'shape-pyramid-filled-5': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
165
+ readonly 'shape-pyramid-filled-mono-5': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
166
+ readonly 'shape-pyramid-5': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
167
+ readonly 'shape-octahedron-transparent-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
168
+ readonly 'shape-octahedron-transparent-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
169
+ readonly 'shape-octahedron-transparent': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
170
+ readonly 'shape-cube-transparent-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
171
+ readonly 'shape-cube-transparent-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
172
+ readonly 'shape-cube-transparent': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
173
+ readonly 'shape-pyramid-transparent-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
174
+ readonly 'shape-pyramid-transparent-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
175
+ readonly 'shape-pyramid-transparent': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
176
+ readonly 'shape-sphere-transparent-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
177
+ readonly 'shape-sphere-transparent-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
178
+ readonly 'shape-sphere-transparent': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
179
+ readonly 'shape-cylinder-transparent-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
180
+ readonly 'shape-cylinder-transparent-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
181
+ readonly 'shape-cylinder-transparent': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
182
+ readonly 'shape-axes-cube-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
183
+ readonly 'shape-axes-cube-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
184
+ readonly 'shape-axes-cube': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
185
+ readonly 'shape-axes-pyramid-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
186
+ readonly 'shape-axes-pyramid-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
187
+ readonly 'shape-axes-pyramid': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
188
+ readonly 'shape-axes-sphere-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
189
+ readonly 'shape-axes-sphere-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
190
+ readonly 'shape-axes-sphere': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
191
+ readonly 'shape-3d-shapes': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
192
+ readonly 'shape-cube-cut-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
193
+ readonly 'shape-cube-cut-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
194
+ readonly 'shape-cube-cut-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
195
+ readonly 'shape-sphere-multi-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
196
+ readonly 'shape-sphere-multi-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
197
+ readonly 'shape-sphere-multi': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
198
+ };
@@ -2,3 +2,7 @@ export declare function useLoadingState(): {
2
2
  loadingState: Record<string, boolean>;
3
3
  updateLoading: (key: string, promise?: void | Promise<any> | undefined) => Promise<void>;
4
4
  };
5
+ export declare function useLoadingStateKey(): {
6
+ loadingState: boolean;
7
+ updateLoading: (promise?: void | Promise<any> | undefined) => Promise<void>;
8
+ };