cedro 0.1.12 → 0.1.13

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 (349) hide show
  1. package/lib/assets/_virtual/_commonjsHelpers.js +1 -0
  2. package/lib/assets/_virtual/index.js +1 -0
  3. package/lib/assets/_virtual/modulepreload-polyfill.js +1 -0
  4. package/lib/assets/_virtual/named-references.js +1 -0
  5. package/lib/assets/_virtual/numeric-unicode-map.js +1 -0
  6. package/lib/assets/_virtual/surrogate-pairs.js +1 -0
  7. package/lib/assets/core/application.builder.js +1 -0
  8. package/lib/assets/core/application.core.js +1 -0
  9. package/lib/assets/core/jsxsupport.js +1 -0
  10. package/lib/assets/core/screeen.core.js +1 -0
  11. package/lib/assets/core/seo.js +1 -0
  12. package/lib/assets/core/themes.core.js +1 -0
  13. package/lib/assets/core/uid.js +1 -0
  14. package/lib/assets/index.js +5 -0
  15. package/lib/assets/material-icons-outlined.woff +0 -0
  16. package/lib/assets/material-icons-outlined.woff2 +0 -0
  17. package/lib/assets/material-icons-round.woff +0 -0
  18. package/lib/assets/material-icons-round.woff2 +0 -0
  19. package/lib/assets/material-icons-sharp.woff +0 -0
  20. package/lib/assets/material-icons-sharp.woff2 +0 -0
  21. package/lib/assets/material-icons-two-tone.woff +0 -0
  22. package/lib/assets/material-icons-two-tone.woff2 +0 -0
  23. package/lib/assets/material-icons.woff +0 -0
  24. package/lib/assets/material-icons.woff2 +0 -0
  25. package/lib/assets/node_modules/@fontsource/roboto/100.css +1 -0
  26. package/lib/assets/node_modules/@fontsource/roboto/300.css +1 -0
  27. package/lib/assets/node_modules/@fontsource/roboto/400.css +1 -0
  28. package/lib/assets/node_modules/@fontsource/roboto/500.css +1 -0
  29. package/lib/assets/node_modules/@fontsource/roboto/700.css +1 -0
  30. package/lib/assets/node_modules/@fontsource/roboto/900.css +1 -0
  31. package/lib/assets/node_modules/html-entities/lib/index.js +1 -0
  32. package/lib/assets/node_modules/html-entities/lib/named-references.js +2 -0
  33. package/lib/assets/node_modules/html-entities/lib/numeric-unicode-map.js +1 -0
  34. package/lib/assets/node_modules/html-entities/lib/surrogate-pairs.js +1 -0
  35. package/lib/assets/node_modules/material-icons/iconfont/material-icons.css +1 -0
  36. package/lib/assets/node_modules/navigo/lib/es/Q.js +1 -0
  37. package/lib/assets/node_modules/navigo/lib/es/constants.js +1 -0
  38. package/lib/assets/node_modules/navigo/lib/es/index.js +1 -0
  39. package/lib/assets/node_modules/navigo/lib/es/lifecycles.js +1 -0
  40. package/lib/assets/node_modules/navigo/lib/es/middlewares/callHandler.js +1 -0
  41. package/lib/assets/node_modules/navigo/lib/es/middlewares/checkForAfterHook.js +1 -0
  42. package/lib/assets/node_modules/navigo/lib/es/middlewares/checkForAlreadyHook.js +1 -0
  43. package/lib/assets/node_modules/navigo/lib/es/middlewares/checkForBeforeHook.js +1 -0
  44. package/lib/assets/node_modules/navigo/lib/es/middlewares/checkForDeprecationMethods.js +1 -0
  45. package/lib/assets/node_modules/navigo/lib/es/middlewares/checkForForceOp.js +1 -0
  46. package/lib/assets/node_modules/navigo/lib/es/middlewares/checkForLeaveHook.js +1 -0
  47. package/lib/assets/node_modules/navigo/lib/es/middlewares/checkForNotFoundHandler.js +1 -0
  48. package/lib/assets/node_modules/navigo/lib/es/middlewares/errorOut.js +1 -0
  49. package/lib/assets/node_modules/navigo/lib/es/middlewares/flushCurrent.js +1 -0
  50. package/lib/assets/node_modules/navigo/lib/es/middlewares/matchPathToRegisteredRoutes.js +1 -0
  51. package/lib/assets/node_modules/navigo/lib/es/middlewares/processMatches.js +1 -0
  52. package/lib/assets/node_modules/navigo/lib/es/middlewares/setLocationPath.js +1 -0
  53. package/lib/assets/node_modules/navigo/lib/es/middlewares/updateBrowserURL.js +1 -0
  54. package/lib/assets/node_modules/navigo/lib/es/middlewares/updateState.js +1 -0
  55. package/lib/assets/node_modules/navigo/lib/es/middlewares/waitingList.js +1 -0
  56. package/lib/assets/node_modules/navigo/lib/es/utils.js +1 -0
  57. package/lib/assets/roboto-cyrillic-100-normal.woff +0 -0
  58. package/lib/assets/roboto-cyrillic-100-normal.woff2 +0 -0
  59. package/lib/assets/roboto-cyrillic-300-normal.woff +0 -0
  60. package/lib/assets/roboto-cyrillic-300-normal.woff2 +0 -0
  61. package/lib/assets/roboto-cyrillic-400-normal.woff +0 -0
  62. package/lib/assets/roboto-cyrillic-400-normal.woff2 +0 -0
  63. package/lib/assets/roboto-cyrillic-500-normal.woff +0 -0
  64. package/lib/assets/roboto-cyrillic-500-normal.woff2 +0 -0
  65. package/lib/assets/roboto-cyrillic-700-normal.woff +0 -0
  66. package/lib/assets/roboto-cyrillic-700-normal.woff2 +0 -0
  67. package/lib/assets/roboto-cyrillic-900-normal.woff +0 -0
  68. package/lib/assets/roboto-cyrillic-900-normal.woff2 +0 -0
  69. package/lib/assets/roboto-cyrillic-ext-100-normal.woff +0 -0
  70. package/lib/assets/roboto-cyrillic-ext-100-normal.woff2 +0 -0
  71. package/lib/assets/roboto-cyrillic-ext-300-normal.woff +0 -0
  72. package/lib/assets/roboto-cyrillic-ext-300-normal.woff2 +0 -0
  73. package/lib/assets/roboto-cyrillic-ext-400-normal.woff +0 -0
  74. package/lib/assets/roboto-cyrillic-ext-400-normal.woff2 +0 -0
  75. package/lib/assets/roboto-cyrillic-ext-500-normal.woff +0 -0
  76. package/lib/assets/roboto-cyrillic-ext-500-normal.woff2 +0 -0
  77. package/lib/assets/roboto-cyrillic-ext-700-normal.woff +0 -0
  78. package/lib/assets/roboto-cyrillic-ext-700-normal.woff2 +0 -0
  79. package/lib/assets/roboto-cyrillic-ext-900-normal.woff +0 -0
  80. package/lib/assets/roboto-cyrillic-ext-900-normal.woff2 +0 -0
  81. package/lib/assets/roboto-greek-100-normal.woff +0 -0
  82. package/lib/assets/roboto-greek-100-normal.woff2 +0 -0
  83. package/lib/assets/roboto-greek-300-normal.woff +0 -0
  84. package/lib/assets/roboto-greek-300-normal.woff2 +0 -0
  85. package/lib/assets/roboto-greek-400-normal.woff +0 -0
  86. package/lib/assets/roboto-greek-400-normal.woff2 +0 -0
  87. package/lib/assets/roboto-greek-500-normal.woff +0 -0
  88. package/lib/assets/roboto-greek-500-normal.woff2 +0 -0
  89. package/lib/assets/roboto-greek-700-normal.woff +0 -0
  90. package/lib/assets/roboto-greek-700-normal.woff2 +0 -0
  91. package/lib/assets/roboto-greek-900-normal.woff +0 -0
  92. package/lib/assets/roboto-greek-900-normal.woff2 +0 -0
  93. package/lib/assets/roboto-latin-100-normal.woff +0 -0
  94. package/lib/assets/roboto-latin-100-normal.woff2 +0 -0
  95. package/lib/assets/roboto-latin-300-normal.woff +0 -0
  96. package/lib/assets/roboto-latin-300-normal.woff2 +0 -0
  97. package/lib/assets/roboto-latin-400-normal.woff +0 -0
  98. package/lib/assets/roboto-latin-400-normal.woff2 +0 -0
  99. package/lib/assets/roboto-latin-500-normal.woff +0 -0
  100. package/lib/assets/roboto-latin-500-normal.woff2 +0 -0
  101. package/lib/assets/roboto-latin-700-normal.woff +0 -0
  102. package/lib/assets/roboto-latin-700-normal.woff2 +0 -0
  103. package/lib/assets/roboto-latin-900-normal.woff +0 -0
  104. package/lib/assets/roboto-latin-900-normal.woff2 +0 -0
  105. package/lib/assets/roboto-latin-ext-100-normal.woff +0 -0
  106. package/lib/assets/roboto-latin-ext-100-normal.woff2 +0 -0
  107. package/lib/assets/roboto-latin-ext-300-normal.woff +0 -0
  108. package/lib/assets/roboto-latin-ext-300-normal.woff2 +0 -0
  109. package/lib/assets/roboto-latin-ext-400-normal.woff +0 -0
  110. package/lib/assets/roboto-latin-ext-400-normal.woff2 +0 -0
  111. package/lib/assets/roboto-latin-ext-500-normal.woff +0 -0
  112. package/lib/assets/roboto-latin-ext-500-normal.woff2 +0 -0
  113. package/lib/assets/roboto-latin-ext-700-normal.woff +0 -0
  114. package/lib/assets/roboto-latin-ext-700-normal.woff2 +0 -0
  115. package/lib/assets/roboto-latin-ext-900-normal.woff +0 -0
  116. package/lib/assets/roboto-latin-ext-900-normal.woff2 +0 -0
  117. package/lib/assets/roboto-vietnamese-100-normal.woff +0 -0
  118. package/lib/assets/roboto-vietnamese-100-normal.woff2 +0 -0
  119. package/lib/assets/roboto-vietnamese-300-normal.woff +0 -0
  120. package/lib/assets/roboto-vietnamese-300-normal.woff2 +0 -0
  121. package/lib/assets/roboto-vietnamese-400-normal.woff +0 -0
  122. package/lib/assets/roboto-vietnamese-400-normal.woff2 +0 -0
  123. package/lib/assets/roboto-vietnamese-500-normal.woff +0 -0
  124. package/lib/assets/roboto-vietnamese-500-normal.woff2 +0 -0
  125. package/lib/assets/roboto-vietnamese-700-normal.woff +0 -0
  126. package/lib/assets/roboto-vietnamese-700-normal.woff2 +0 -0
  127. package/lib/assets/roboto-vietnamese-900-normal.woff +0 -0
  128. package/lib/assets/roboto-vietnamese-900-normal.woff2 +0 -0
  129. package/lib/assets/types/select.item.type.js +1 -0
  130. package/lib/assets/ui/Icon.ui.js +1 -0
  131. package/lib/assets/ui/IconButton.ui.js +1 -0
  132. package/lib/assets/ui/Textbox.ui.js +1 -0
  133. package/lib/assets/ui/accordion.ui.js +1 -0
  134. package/lib/assets/ui/button.ui.js +1 -0
  135. package/lib/assets/ui/buttonColor.ui.js +1 -0
  136. package/lib/assets/ui/buttonmenu.ui.js +1 -0
  137. package/lib/assets/ui/buttonstack.ui.js +1 -0
  138. package/lib/assets/ui/checkbox.ui.js +1 -0
  139. package/lib/assets/ui/container.ui.js +1 -0
  140. package/lib/assets/ui/datagrid.ui.js +1 -0
  141. package/lib/assets/ui/dialog.js +1 -0
  142. package/lib/assets/ui/draggable.ui.js +1 -0
  143. package/lib/assets/ui/hpanel.ui.js +1 -0
  144. package/lib/assets/ui/iconButtonMenu.ui.js +1 -0
  145. package/lib/assets/ui/image.ui.js +1 -0
  146. package/lib/assets/ui/label.ui.js +1 -0
  147. package/lib/assets/ui/loading.ui.js +1 -0
  148. package/lib/assets/ui/menu.ui.js +1 -0
  149. package/lib/assets/ui/progressbar.ui.js +1 -0
  150. package/lib/assets/ui/radiobutton.ui.js +1 -0
  151. package/lib/assets/ui/scroll.ui.js +1 -0
  152. package/lib/assets/ui/select.ui.js +1 -0
  153. package/lib/assets/ui/styles/accordion.css +1 -0
  154. package/lib/assets/ui/styles/button.css +1 -0
  155. package/lib/assets/ui/styles/buttoncolor.css +1 -0
  156. package/lib/assets/ui/styles/container.css +1 -0
  157. package/lib/assets/ui/styles/datagrid.css +1 -0
  158. package/lib/assets/ui/styles/dialog.css +1 -0
  159. package/lib/assets/ui/styles/draggable.css +1 -0
  160. package/lib/assets/ui/styles/hpanel.css +1 -0
  161. package/lib/assets/ui/styles/icon.css +1 -0
  162. package/lib/assets/ui/styles/image.css +1 -0
  163. package/lib/assets/ui/styles/label.css +1 -0
  164. package/lib/assets/ui/styles/loading.css +1 -0
  165. package/lib/assets/ui/styles/main.css +1 -0
  166. package/lib/assets/ui/styles/menu.css +1 -0
  167. package/lib/assets/ui/styles/progressbar.css +1 -0
  168. package/lib/assets/ui/styles/scroll.css +1 -0
  169. package/lib/assets/ui/styles/select.css +1 -0
  170. package/lib/assets/ui/styles/stackbutton.css +1 -0
  171. package/lib/assets/ui/styles/tabs.css +1 -0
  172. package/lib/assets/ui/styles/textarea.css +1 -0
  173. package/lib/assets/ui/styles/textbox.css +1 -0
  174. package/lib/assets/ui/styles/toolbar.css +1 -0
  175. package/lib/assets/ui/styles/valuebar.css +1 -0
  176. package/lib/assets/ui/styles/vpanel.css +1 -0
  177. package/lib/assets/ui/styles/vstackbutton.css +1 -0
  178. package/lib/assets/ui/switch.ui.js +1 -0
  179. package/lib/assets/ui/tabs.ui.js +1 -0
  180. package/lib/assets/ui/textarea.ui.js +1 -0
  181. package/lib/assets/ui/toggle.ui.js +1 -0
  182. package/lib/assets/ui/toolbar.ui.js +1 -0
  183. package/lib/assets/ui/valuebar.ui.js +1 -0
  184. package/lib/assets/ui/vpanel.ui.js +1 -0
  185. package/lib/assets/ui/widget.builder.js +1 -0
  186. package/lib/assets/ui/widget.collection.js +1 -0
  187. package/lib/assets/ui/widget.ui.js +1 -0
  188. package/lib/cedro-logo.png +0 -0
  189. package/lib/cedro-logo.svg +97 -0
  190. package/lib/fangio.jpg +0 -0
  191. package/lib/material-icons-list.json/357/200/272Zone.Identifier +3 -0
  192. package/package.json +10 -4
  193. package/rollup.config.js +31 -0
  194. package/tsconfig.json +3 -0
  195. package/tsconfig.publish.json +3 -0
  196. package/vite.publish.config.ts +41 -0
  197. package/lib/core/application.builder.d.ts +0 -2
  198. package/lib/core/application.builder.jsx +0 -103
  199. package/lib/core/application.builder.jsx.map +0 -1
  200. package/lib/core/application.core.d.ts +0 -96
  201. package/lib/core/application.core.jsx +0 -290
  202. package/lib/core/application.core.jsx.map +0 -1
  203. package/lib/core/index.d.ts +0 -3
  204. package/lib/core/index.js +0 -4
  205. package/lib/core/index.js.map +0 -1
  206. package/lib/core/jsxsupport.d.ts +0 -13
  207. package/lib/core/jsxsupport.js +0 -82
  208. package/lib/core/jsxsupport.js.map +0 -1
  209. package/lib/core/screeen.core.d.ts +0 -41
  210. package/lib/core/screeen.core.js +0 -76
  211. package/lib/core/screeen.core.js.map +0 -1
  212. package/lib/core/seo.d.ts +0 -33
  213. package/lib/core/seo.js +0 -66
  214. package/lib/core/seo.js.map +0 -1
  215. package/lib/core/themes.core.d.ts +0 -22
  216. package/lib/core/themes.core.js +0 -317
  217. package/lib/core/themes.core.js.map +0 -1
  218. package/lib/core/uid.d.ts +0 -1
  219. package/lib/core/uid.js +0 -4
  220. package/lib/core/uid.js.map +0 -1
  221. package/lib/index.d.ts +0 -5
  222. package/lib/index.js +0 -8
  223. package/lib/index.js.map +0 -1
  224. package/lib/interfaces/application.interface.d.ts +0 -39
  225. package/lib/interfaces/application.interface.js +0 -6
  226. package/lib/interfaces/application.interface.js.map +0 -1
  227. package/lib/interfaces/screen.interface.d.ts +0 -12
  228. package/lib/interfaces/screen.interface.js +0 -2
  229. package/lib/interfaces/screen.interface.js.map +0 -1
  230. package/lib/interfaces/themes.interface.d.ts +0 -15
  231. package/lib/interfaces/themes.interface.js +0 -2
  232. package/lib/interfaces/themes.interface.js.map +0 -1
  233. package/lib/interfaces/widget.interface.d.ts +0 -85
  234. package/lib/interfaces/widget.interface.js +0 -2
  235. package/lib/interfaces/widget.interface.js.map +0 -1
  236. package/lib/types/orientation.type.d.ts +0 -1
  237. package/lib/types/orientation.type.js +0 -2
  238. package/lib/types/orientation.type.js.map +0 -1
  239. package/lib/types/select.item.type.d.ts +0 -6
  240. package/lib/types/select.item.type.js +0 -26
  241. package/lib/types/select.item.type.js.map +0 -1
  242. package/lib/types/vector2d.type.d.ts +0 -4
  243. package/lib/types/vector2d.type.js +0 -2
  244. package/lib/types/vector2d.type.js.map +0 -1
  245. package/lib/ui/Icon.ui.d.ts +0 -31
  246. package/lib/ui/Icon.ui.jsx +0 -121
  247. package/lib/ui/Icon.ui.jsx.map +0 -1
  248. package/lib/ui/IconButton.ui.d.ts +0 -32
  249. package/lib/ui/IconButton.ui.jsx +0 -184
  250. package/lib/ui/IconButton.ui.jsx.map +0 -1
  251. package/lib/ui/Textbox.ui.d.ts +0 -32
  252. package/lib/ui/Textbox.ui.jsx +0 -152
  253. package/lib/ui/Textbox.ui.jsx.map +0 -1
  254. package/lib/ui/accordion.ui.d.ts +0 -27
  255. package/lib/ui/accordion.ui.jsx +0 -108
  256. package/lib/ui/accordion.ui.jsx.map +0 -1
  257. package/lib/ui/button.ui.d.ts +0 -44
  258. package/lib/ui/button.ui.jsx +0 -180
  259. package/lib/ui/button.ui.jsx.map +0 -1
  260. package/lib/ui/buttonColor.ui.d.ts +0 -14
  261. package/lib/ui/buttonColor.ui.jsx +0 -58
  262. package/lib/ui/buttonColor.ui.jsx.map +0 -1
  263. package/lib/ui/buttonmenu.ui.d.ts +0 -23
  264. package/lib/ui/buttonmenu.ui.jsx +0 -104
  265. package/lib/ui/buttonmenu.ui.jsx.map +0 -1
  266. package/lib/ui/buttonstack.ui.d.ts +0 -26
  267. package/lib/ui/buttonstack.ui.jsx +0 -138
  268. package/lib/ui/buttonstack.ui.jsx.map +0 -1
  269. package/lib/ui/checkbox.ui.d.ts +0 -12
  270. package/lib/ui/checkbox.ui.jsx +0 -29
  271. package/lib/ui/checkbox.ui.jsx.map +0 -1
  272. package/lib/ui/colors.ui.d.ts +0 -1
  273. package/lib/ui/colors.ui.js +0 -2
  274. package/lib/ui/colors.ui.js.map +0 -1
  275. package/lib/ui/container.ui.d.ts +0 -33
  276. package/lib/ui/container.ui.jsx +0 -96
  277. package/lib/ui/container.ui.jsx.map +0 -1
  278. package/lib/ui/datagrid.ui.d.ts +0 -119
  279. package/lib/ui/datagrid.ui.jsx +0 -445
  280. package/lib/ui/datagrid.ui.jsx.map +0 -1
  281. package/lib/ui/dialog.d.ts +0 -102
  282. package/lib/ui/dialog.jsx +0 -480
  283. package/lib/ui/dialog.jsx.map +0 -1
  284. package/lib/ui/draggable.ui.d.ts +0 -27
  285. package/lib/ui/draggable.ui.js +0 -183
  286. package/lib/ui/draggable.ui.js.map +0 -1
  287. package/lib/ui/hpanel.ui.d.ts +0 -26
  288. package/lib/ui/hpanel.ui.jsx +0 -183
  289. package/lib/ui/hpanel.ui.jsx.map +0 -1
  290. package/lib/ui/iconButtonMenu.ui.d.ts +0 -27
  291. package/lib/ui/iconButtonMenu.ui.jsx +0 -135
  292. package/lib/ui/iconButtonMenu.ui.jsx.map +0 -1
  293. package/lib/ui/image.ui.d.ts +0 -25
  294. package/lib/ui/image.ui.jsx +0 -88
  295. package/lib/ui/image.ui.jsx.map +0 -1
  296. package/lib/ui/index.d.ts +0 -30
  297. package/lib/ui/index.js +0 -30
  298. package/lib/ui/index.js.map +0 -1
  299. package/lib/ui/label.ui.d.ts +0 -37
  300. package/lib/ui/label.ui.jsx +0 -155
  301. package/lib/ui/label.ui.jsx.map +0 -1
  302. package/lib/ui/loading.ui.d.ts +0 -5
  303. package/lib/ui/loading.ui.js +0 -10
  304. package/lib/ui/loading.ui.js.map +0 -1
  305. package/lib/ui/menu.ui.d.ts +0 -19
  306. package/lib/ui/menu.ui.js +0 -186
  307. package/lib/ui/menu.ui.js.map +0 -1
  308. package/lib/ui/progressbar.ui.d.ts +0 -23
  309. package/lib/ui/progressbar.ui.jsx +0 -109
  310. package/lib/ui/progressbar.ui.jsx.map +0 -1
  311. package/lib/ui/radiobutton.ui.d.ts +0 -12
  312. package/lib/ui/radiobutton.ui.jsx +0 -29
  313. package/lib/ui/radiobutton.ui.jsx.map +0 -1
  314. package/lib/ui/scroll.ui.d.ts +0 -13
  315. package/lib/ui/scroll.ui.js +0 -163
  316. package/lib/ui/scroll.ui.js.map +0 -1
  317. package/lib/ui/select.ui.d.ts +0 -29
  318. package/lib/ui/select.ui.jsx +0 -129
  319. package/lib/ui/select.ui.jsx.map +0 -1
  320. package/lib/ui/switch.ui.d.ts +0 -12
  321. package/lib/ui/switch.ui.jsx +0 -29
  322. package/lib/ui/switch.ui.jsx.map +0 -1
  323. package/lib/ui/tabs.ui.d.ts +0 -40
  324. package/lib/ui/tabs.ui.jsx +0 -242
  325. package/lib/ui/tabs.ui.jsx.map +0 -1
  326. package/lib/ui/textarea.ui.d.ts +0 -13
  327. package/lib/ui/textarea.ui.jsx +0 -34
  328. package/lib/ui/textarea.ui.jsx.map +0 -1
  329. package/lib/ui/toggle.ui.d.ts +0 -11
  330. package/lib/ui/toggle.ui.jsx +0 -48
  331. package/lib/ui/toggle.ui.jsx.map +0 -1
  332. package/lib/ui/toolbar.ui.d.ts +0 -44
  333. package/lib/ui/toolbar.ui.jsx +0 -261
  334. package/lib/ui/toolbar.ui.jsx.map +0 -1
  335. package/lib/ui/valuebar.ui.d.ts +0 -23
  336. package/lib/ui/valuebar.ui.jsx +0 -144
  337. package/lib/ui/valuebar.ui.jsx.map +0 -1
  338. package/lib/ui/vpanel.ui.d.ts +0 -24
  339. package/lib/ui/vpanel.ui.jsx +0 -170
  340. package/lib/ui/vpanel.ui.jsx.map +0 -1
  341. package/lib/ui/widget.builder.d.ts +0 -25
  342. package/lib/ui/widget.builder.js +0 -216
  343. package/lib/ui/widget.builder.js.map +0 -1
  344. package/lib/ui/widget.collection.d.ts +0 -20
  345. package/lib/ui/widget.collection.js +0 -49
  346. package/lib/ui/widget.collection.js.map +0 -1
  347. package/lib/ui/widget.ui.d.ts +0 -337
  348. package/lib/ui/widget.ui.js +0 -964
  349. package/lib/ui/widget.ui.js.map +0 -1
package/lib/ui/dialog.jsx DELETED
@@ -1,480 +0,0 @@
1
- import { UID } from "../core/uid";
2
- import { Button } from "./button.ui";
3
- import { Spacer } from "./container.ui";
4
- import { Label } from "./label.ui";
5
- import "./styles/dialog.css";
6
- import { createWidget, normalizeWidget } from "./widget.builder";
7
- import { Widget, WidgetAlignTypes, WidgetTypes } from "./widget.ui";
8
- const TITLE_BAR_HEIGHT = 40;
9
- const BUTTON_BAR_HEIGHT = 50;
10
- const HANDLER_SIZE = 20;
11
- const MINUMUN_WIDTH = 300;
12
- const MINUMUN_HEIGHT = 200;
13
- export class Dialog extends Widget {
14
- constructor(id, parent = null, hasButtons = true, resizable = false) {
15
- super(id, "div", parent);
16
- Object.defineProperty(this, "background", {
17
- enumerable: true,
18
- configurable: true,
19
- writable: true,
20
- value: void 0
21
- });
22
- Object.defineProperty(this, "titleContainer", {
23
- enumerable: true,
24
- configurable: true,
25
- writable: true,
26
- value: void 0
27
- });
28
- Object.defineProperty(this, "contentCntainer", {
29
- enumerable: true,
30
- configurable: true,
31
- writable: true,
32
- value: void 0
33
- });
34
- Object.defineProperty(this, "buttonContainer", {
35
- enumerable: true,
36
- configurable: true,
37
- writable: true,
38
- value: void 0
39
- });
40
- Object.defineProperty(this, "handlerResizable", {
41
- enumerable: true,
42
- configurable: true,
43
- writable: true,
44
- value: void 0
45
- });
46
- Object.defineProperty(this, "titleBar", {
47
- enumerable: true,
48
- configurable: true,
49
- writable: true,
50
- value: void 0
51
- });
52
- Object.defineProperty(this, "close", {
53
- enumerable: true,
54
- configurable: true,
55
- writable: true,
56
- value: void 0
57
- });
58
- Object.defineProperty(this, "ok", {
59
- enumerable: true,
60
- configurable: true,
61
- writable: true,
62
- value: void 0
63
- });
64
- Object.defineProperty(this, "cancell", {
65
- enumerable: true,
66
- configurable: true,
67
- writable: true,
68
- value: void 0
69
- });
70
- Object.defineProperty(this, "btnSpacerLeft", {
71
- enumerable: true,
72
- configurable: true,
73
- writable: true,
74
- value: void 0
75
- });
76
- Object.defineProperty(this, "btnSpacerRight", {
77
- enumerable: true,
78
- configurable: true,
79
- writable: true,
80
- value: void 0
81
- });
82
- Object.defineProperty(this, "titleBarHeight", {
83
- enumerable: true,
84
- configurable: true,
85
- writable: true,
86
- value: void 0
87
- });
88
- Object.defineProperty(this, "buttonBarHeight", {
89
- enumerable: true,
90
- configurable: true,
91
- writable: true,
92
- value: void 0
93
- });
94
- Object.defineProperty(this, "dragDistX", {
95
- enumerable: true,
96
- configurable: true,
97
- writable: true,
98
- value: void 0
99
- });
100
- Object.defineProperty(this, "dragDistY", {
101
- enumerable: true,
102
- configurable: true,
103
- writable: true,
104
- value: void 0
105
- });
106
- Object.defineProperty(this, "draging", {
107
- enumerable: true,
108
- configurable: true,
109
- writable: true,
110
- value: void 0
111
- });
112
- Object.defineProperty(this, "resizing", {
113
- enumerable: true,
114
- configurable: true,
115
- writable: true,
116
- value: void 0
117
- });
118
- Object.defineProperty(this, "startX", {
119
- enumerable: true,
120
- configurable: true,
121
- writable: true,
122
- value: void 0
123
- });
124
- Object.defineProperty(this, "startY", {
125
- enumerable: true,
126
- configurable: true,
127
- writable: true,
128
- value: void 0
129
- });
130
- this.startX = -1;
131
- this.startY = -1;
132
- this.buttonContainer = null;
133
- this.handlerResizable = null;
134
- this.ok = null;
135
- this.cancell = null;
136
- this.btnSpacerLeft = null;
137
- this.btnSpacerRight = null;
138
- this.dragDistX = 0;
139
- this.dragDistY = 0;
140
- this.draging = false;
141
- this.resizing = false;
142
- this.background = new Widget(this.id + ".background", "div", null);
143
- this.background.setType(WidgetTypes.CUSTOM);
144
- this.background.addClass("WUIDialogBackground");
145
- this.background.setVisible(false);
146
- this.setWH(400, 200);
147
- this.addClass("WUIDialog");
148
- this.addClass("WUIDialogHide");
149
- this.titleBarHeight = TITLE_BAR_HEIGHT;
150
- this.buttonBarHeight = BUTTON_BAR_HEIGHT;
151
- this.setType(WidgetTypes.CUSTOM);
152
- this.setAlign(WidgetAlignTypes.VERTICAL);
153
- this.titleContainer = new Widget(this.id + ".titleContainer", "div", null);
154
- this.contentCntainer = new Widget(this.id + ".contentCntainer", "div", null);
155
- if (hasButtons) {
156
- this.buttonContainer = new Widget(this.id + ".buttonContainer", "div", null);
157
- this.buttonContainer.setType(WidgetTypes.FILL);
158
- this.buttonContainer.setAlign(WidgetAlignTypes.HORIZONTAL);
159
- this.buttonContainer.setPadding(5);
160
- this.buttonContainer.setFixedSize(BUTTON_BAR_HEIGHT);
161
- }
162
- if (resizable) {
163
- this.handlerResizable = new Widget(this.id + ".handlerResizable", "div", this);
164
- this.handlerResizable.setType(WidgetTypes.CUSTOM);
165
- this.handlerResizable.getBody().innerHTML = " ";
166
- this.handlerResizable.addClass("WUIDialogResizeHandler");
167
- }
168
- this.titleContainer.setType(WidgetTypes.FILL);
169
- this.contentCntainer.setType(WidgetTypes.FILL);
170
- this.titleContainer.setAlign(WidgetAlignTypes.HORIZONTAL);
171
- this.contentCntainer.setAlign(WidgetAlignTypes.VERTICAL);
172
- this.titleContainer.setPadding(5);
173
- this.contentCntainer.setPadding(20);
174
- this.titleContainer.setFixedSize(TITLE_BAR_HEIGHT);
175
- this.titleBar = new Label(this.id + ".titleBar", "span", null);
176
- this.titleBar.setType(WidgetTypes.FILL);
177
- this.titleBar.setText("Title");
178
- this.titleBar.addClass("WUITitlebar");
179
- this.close = new Button(this.id + ".close", null);
180
- this.close.setType(WidgetTypes.FILL);
181
- this.close.setColor("primary");
182
- this.close.setVariant("text");
183
- this.close.setText("X");
184
- this.close.setFixedSize(40);
185
- if (this.buttonContainer) {
186
- this.cancell = new Button(this.id + ".cancell", null);
187
- this.cancell.setType(WidgetTypes.FILL);
188
- this.cancell.setColor("error");
189
- this.cancell.setText("Cancel");
190
- this.cancell.setVariant("contained");
191
- this.cancell.setFixedSize(100);
192
- this.ok = new Button(this.id + ".ok", null);
193
- this.ok.setType(WidgetTypes.FILL);
194
- this.ok.setText("OK");
195
- this.ok.setVariant("contained");
196
- this.ok.setColor("success");
197
- this.ok.setFixedSize(100);
198
- this.buttonContainer.addChild(Spacer());
199
- this.buttonContainer.addChild(this.cancell);
200
- this.buttonContainer.addChild(this.ok);
201
- this.buttonContainer.addChild(Spacer());
202
- this.ok.subscribe({
203
- event: "click",
204
- then: () => {
205
- this.hide();
206
- },
207
- });
208
- this.cancell.subscribe({
209
- event: "click",
210
- then: () => {
211
- this.hide();
212
- },
213
- });
214
- }
215
- this.raisteTop();
216
- this.close.subscribe({
217
- event: "click",
218
- then: () => {
219
- this.hide();
220
- },
221
- });
222
- this.titleBar.subscribe({
223
- event: "mousedown",
224
- then: (e) => {
225
- e.preventDefault();
226
- const mouseX = e.clientX;
227
- const mouseY = e.clientY;
228
- this.dragDistX = Math.abs(this.getX() - mouseX);
229
- this.dragDistY = Math.abs(this.getY() - mouseY);
230
- this.draging = true;
231
- this.background.setVisible(true);
232
- this.background.raisteTop();
233
- this.background.deleteClass("WUIDialogBackgroundReisizing");
234
- this.background.addClass("WUIDialogBackgroundDragging");
235
- },
236
- });
237
- this.background.subscribe({
238
- event: "mouseup",
239
- then: (e) => {
240
- e.preventDefault();
241
- this.draging = false;
242
- this.resizing = false;
243
- this.background.setVisible(false);
244
- this.raisteTop();
245
- },
246
- });
247
- this.background.subscribe({
248
- event: "mousemove",
249
- then: (e) => {
250
- e.preventDefault();
251
- if (this.draging) {
252
- const mouseX = e.clientX;
253
- const mouseY = e.clientY;
254
- this.setX(mouseX - this.dragDistX);
255
- this.setY(mouseY - this.dragDistY);
256
- }
257
- else if (this.resizing) {
258
- const mouseX = e.clientX;
259
- const mouseY = e.clientY;
260
- let newWidth = Math.abs(mouseX - this.getPosition().x);
261
- let newHeight = Math.abs(mouseY - this.getPosition().y);
262
- if (newWidth < MINUMUN_WIDTH)
263
- newWidth = MINUMUN_WIDTH;
264
- if (newHeight < MINUMUN_HEIGHT)
265
- newHeight = MINUMUN_HEIGHT;
266
- this.setWH(newWidth, newHeight);
267
- this.render();
268
- }
269
- return;
270
- },
271
- });
272
- /**RESIZE HANDLER **/
273
- if (this.handlerResizable) {
274
- this.handlerResizable.subscribe({
275
- event: "mousedown",
276
- then: (e) => {
277
- e.preventDefault();
278
- if (!this.handlerResizable)
279
- return;
280
- const mouseX = e.clientX;
281
- const mouseY = e.clientY;
282
- this.dragDistX = Math.abs(this.handlerResizable.getPosition().x - mouseX);
283
- this.dragDistY = Math.abs(this.handlerResizable.getPosition().y - mouseY);
284
- this.resizing = true;
285
- this.background.setVisible(true);
286
- this.background.raisteTop();
287
- this.background.deleteClass("WUIDialogBackgroundDragging");
288
- this.background.addClass("WUIDialogBackgroundReisizing");
289
- },
290
- });
291
- }
292
- this.titleContainer.addChild(this.titleBar);
293
- this.titleContainer.addChild(this.close);
294
- this.addChild(this.titleContainer);
295
- this.addChild(this.contentCntainer);
296
- if (hasButtons)
297
- this.addChild(this.buttonContainer);
298
- this.init();
299
- }
300
- /**
301
- * Renders the component and its resizable handler.
302
- *
303
- * @return {void}
304
- */
305
- render() {
306
- super.render();
307
- if (this.handlerResizable) {
308
- this.handlerResizable.setX(this.getW() - HANDLER_SIZE);
309
- this.handlerResizable.setY(this.getH() - HANDLER_SIZE);
310
- this.handlerResizable.setW(HANDLER_SIZE);
311
- this.handlerResizable.setH(HANDLER_SIZE);
312
- this.handlerResizable.raisteTop();
313
- this.handlerResizable.render();
314
- }
315
- }
316
- /**
317
- * Centers the element on the screen.
318
- *
319
- * @param {void} - No parameters.
320
- * @return {void} - No return value.
321
- */
322
- center() {
323
- const ancho = this.getW();
324
- const alto = this.getH();
325
- const screenWidth = window.innerWidth;
326
- const screenHeight = window.innerHeight;
327
- const centerX = screenWidth / 2 - ancho / 2;
328
- const centerY = screenHeight / 2 - alto / 2;
329
- this.setX(centerX);
330
- this.setY(centerY);
331
- }
332
- /**
333
- * Shows the dialog.
334
- *
335
- * @return {void} No return value.
336
- */
337
- show() {
338
- //this.setWH(400, 200);
339
- this.deleteClass("WUIDialogHide");
340
- this.addClass("WUIDialogDisplayed");
341
- this.render();
342
- if (this.startX > 0 && this.startY > 0) {
343
- this.setX(this.startX);
344
- this.setY(this.startY);
345
- }
346
- else {
347
- this.center();
348
- }
349
- this.background.setVisible(true);
350
- this.background.raisteTop();
351
- this.raisteTop();
352
- }
353
- /**
354
- * Hides the dialog.
355
- *
356
- * This function removes the "WUIDialogDisplayed" class from the element,
357
- * adds the "WUIDialogHide" class to the element, sets the background element
358
- * to be invisible, and raises the dialog element to the bottom of the z-index.
359
- */
360
- hide() {
361
- this.deleteClass("WUIDialogDisplayed");
362
- this.addClass("WUIDialogHide");
363
- this.background.setVisible(false);
364
- this.background.raiseBottom();
365
- this.raiseBottom();
366
- }
367
- init() {
368
- super.init();
369
- }
370
- /**
371
- * Sets the height of the title bar.
372
- *
373
- * @param {number} height - The height of the title bar.
374
- */
375
- setTitlebarHeight(height) {
376
- this.titleBarHeight = height;
377
- }
378
- /**
379
- * Set the height of the button bar.
380
- *
381
- * @param {number} height - The height of the button bar.
382
- */
383
- setButtonbarHeight(height) {
384
- this.buttonBarHeight = height;
385
- }
386
- /**
387
- * Retrieves the content container widget.
388
- *
389
- * @return {Widget} The content container widget.
390
- */
391
- getContentCntainer() {
392
- return this.contentCntainer;
393
- }
394
- /**
395
- * Sets the ok callback function.
396
- *
397
- * @param {WUICallback} cb - The callback function to be executed when the "ok" button is clicked.
398
- */
399
- setOkCallback(cb) {
400
- if (!this.ok)
401
- return;
402
- this.ok.subscribe({ event: "click", then: cb.then });
403
- }
404
- /**
405
- * Sets the cancellation callback for the function.
406
- *
407
- * @param {WUICallback} cb - The cancellation callback to set.
408
- */
409
- setCancellCallback(cb) {
410
- if (!this.cancell)
411
- return;
412
- this.cancell.subscribe({ event: "click", then: cb.then });
413
- }
414
- setStartX(x) {
415
- this.startX = x;
416
- }
417
- setStartY(y) {
418
- this.startY = y;
419
- }
420
- }
421
- export const WDialog = (props) => {
422
- if (!props.id) {
423
- props.id = "Dialog." + UID();
424
- }
425
- return normalizeWidget(<div id={props.id} w-dialog w-position-x={props.positionX} w-position-y={props.positionY} w-dialog-width={props.width} w-dialog-height={props.height} w-has-buttons={props.hasButtons} w-resizable={props.resizable} w-visible={props.visible} w-titlebar-height={props.titleBarHeight} w-buttonbar-height={props.buttonBarHeight}>
426
- {props.children}
427
- </div>, props);
428
- };
429
- export function createDialog(id, content, _parent = null) {
430
- const dataHasButtons = content.getAttribute("w-has-buttons") ? true : false;
431
- const dataResizable = content.getAttribute("w-resizable") ? true : false;
432
- const dataVisible = content.getAttribute("w-visible") ? true : false;
433
- const dataTitlebarHeight = content.getAttribute("w-titlebar-height")
434
- ? parseInt(content.getAttribute("w-titlebar-height"))
435
- : null;
436
- const dataButtonbarHeight = content.getAttribute("w-buttonbar-height")
437
- ? parseInt(content.getAttribute("w-buttonbar-height"))
438
- : null;
439
- const dataPositionX = content.getAttribute("w-position-x")
440
- ? parseInt(content.getAttribute("w-position-x"))
441
- : null;
442
- const dataPositionY = content.getAttribute("w-position-y")
443
- ? parseInt(content.getAttribute("w-position-y"))
444
- : null;
445
- const dataWidth = content.getAttribute("w-dialog-width")
446
- ? parseInt(content.getAttribute("w-dialog-width"))
447
- : null;
448
- const dataHeight = content.getAttribute("w-dialog-height")
449
- ? parseInt(content.getAttribute("w-dialog-height"))
450
- : null;
451
- let newDialog = new Dialog(id, null, dataHasButtons, dataResizable);
452
- if (dataTitlebarHeight !== null)
453
- newDialog.setTitlebarHeight(dataTitlebarHeight);
454
- if (dataButtonbarHeight !== null)
455
- newDialog.setButtonbarHeight(dataButtonbarHeight);
456
- if (dataPositionX !== null)
457
- newDialog.setStartX(dataPositionX);
458
- if (dataPositionY !== null)
459
- newDialog.setStartY(dataPositionY);
460
- if (dataHeight !== null)
461
- newDialog.setY(dataHeight);
462
- if (dataWidth !== null)
463
- newDialog.setW(dataWidth);
464
- if (content.childNodes.length > 1) {
465
- throw new Error("Dialog must have only one child");
466
- }
467
- const childWidget = content.firstChild;
468
- if (childWidget !== null) {
469
- const widget = createWidget(childWidget);
470
- if (widget) {
471
- newDialog.getContentCntainer().setPadding(0);
472
- newDialog.getContentCntainer().attachWidget(widget);
473
- }
474
- }
475
- if (dataVisible)
476
- newDialog.show();
477
- newDialog.background.setVisible(false);
478
- return newDialog;
479
- }
480
- //# sourceMappingURL=dialog.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dialog.jsx","sourceRoot":"","sources":["../../src/ui/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAElC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,eAAe,EAAe,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAEpE,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAC5B,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAC7B,MAAM,YAAY,GAAG,EAAE,CAAC;AACxB,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,cAAc,GAAG,GAAG,CAAC;AAE3B,MAAM,OAAO,MAAO,SAAQ,MAAM;IA2B9B,YACI,EAAU,EACV,SAAwB,IAAI,EAC5B,aAAsB,IAAI,EAC1B,YAAqB,KAAK;QAE1B,KAAK,CAAC,EAAE,EAAE,KAAK,EAAE,MAAM,CA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CAAC,SAAS,CAAC,CAAC;IAElD,IAAI,OAAO,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;IACvD,CAAC;IAED,MAAM,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC;IAEvC,IAAI,WAAW,KAAK,IAAI,EAAE,CAAC;QACvB,MAAM,MAAM,GAAG,YAAY,CAAC,WAAW,CAAC,CAAC;QACzC,IAAI,MAAM,EAAE,CAAC;YACT,SAAS,CAAC,kBAAkB,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;YAC7C,SAAS,CAAC,kBAAkB,EAAE,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;QACxD,CAAC;IACL,CAAC;IAED,IAAI,WAAW;QAAE,SAAS,CAAC,IAAI,EAAE,CAAC;IAElC,SAAS,CAAC,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IAEvC,OAAO,SAAS,CAAC;AACrB,CAAC"}
@@ -1,27 +0,0 @@
1
- import { OrientationTypes } from "src/types/orientation.type";
2
- import "./styles/draggable.css";
3
- import { Widget } from "./widget.ui";
4
- export type DragOrientation = OrientationTypes | "both";
5
- export declare class Draggable {
6
- target: Widget;
7
- background: Widget;
8
- dragging: boolean;
9
- dragDistX: number;
10
- dragDistY: number;
11
- dragOrientation: DragOrientation;
12
- minX: number | null;
13
- minY: number | null;
14
- maxX: number | null;
15
- maxY: number | null;
16
- draggingClass: string | null;
17
- constructor(widget: Widget, orientation?: DragOrientation);
18
- setBackgroundCursor(cursor: string): void;
19
- setDraggingClass(draggingClass: string | null): void;
20
- private startDrag;
21
- private draggingTarget;
22
- private endDrag;
23
- setMaxX(x: number | null): void;
24
- setMaxY(y: number | null): void;
25
- setMinX(x: number | null): void;
26
- setMinY(y: number | null): void;
27
- }