create-basicjs 0.0.1 → 0.1.1

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 (727) hide show
  1. package/README.md +27 -2
  2. package/bin/create-basicjs.js +104 -1
  3. package/bin/verify-package.js +16 -0
  4. package/package.json +27 -6
  5. package/payload/starter/AGENTS.md +82 -0
  6. package/payload/starter/CLAUDE.md +1 -0
  7. package/payload/starter/README.md +45 -0
  8. package/payload/starter/_basic/VERSION +1 -0
  9. package/payload/starter/_basic/assets/categories/cappuccino.png +0 -0
  10. package/payload/starter/_basic/assets/categories/chocolate-milk.png +0 -0
  11. package/payload/starter/_basic/assets/categories/coffee-cup.png +0 -0
  12. package/payload/starter/_basic/assets/categories/coffee.png +0 -0
  13. package/payload/starter/_basic/assets/categories/frappe.png +0 -0
  14. package/payload/starter/_basic/assets/categories/iced-caffee.png +0 -0
  15. package/payload/starter/_basic/assets/categories/milkshake.png +0 -0
  16. package/payload/starter/_basic/assets/categories/orange-juice.png +0 -0
  17. package/payload/starter/_basic/assets/categories/tea.png +0 -0
  18. package/payload/starter/_basic/assets/data-table/palette.svg +2 -0
  19. package/payload/starter/_basic/assets/data-table/people.js +104 -0
  20. package/payload/starter/_basic/assets/data-table/trash.svg +2 -0
  21. package/payload/starter/_basic/assets/fruids/brokoli.png +0 -0
  22. package/payload/starter/_basic/assets/fruids/cilek.png +0 -0
  23. package/payload/starter/_basic/assets/fruids/domates.png +0 -0
  24. package/payload/starter/_basic/assets/fruids/elma.png +0 -0
  25. package/payload/starter/_basic/assets/fruids/havuc.png +0 -0
  26. package/payload/starter/_basic/assets/fruids/karpuz.png +0 -0
  27. package/payload/starter/_basic/assets/fruids/limon.png +0 -0
  28. package/payload/starter/_basic/assets/fruids/muz.png +0 -0
  29. package/payload/starter/_basic/assets/fruids/nar.png +0 -0
  30. package/payload/starter/_basic/assets/fruids/patlican.png +0 -0
  31. package/payload/starter/_basic/assets/fruids/yabanmersini.png +0 -0
  32. package/payload/starter/_basic/assets/fruids/yesilbiber.png +0 -0
  33. package/payload/starter/_basic/assets/icons/alert-black.png +0 -0
  34. package/payload/starter/_basic/assets/icons/alert.png +0 -0
  35. package/payload/starter/_basic/assets/icons/arrow-drop.svg +3 -0
  36. package/payload/starter/_basic/assets/icons/arrow-rise.svg +3 -0
  37. package/payload/starter/_basic/assets/icons/close.svg +1 -0
  38. package/payload/starter/_basic/assets/icons/lamp-on.png +0 -0
  39. package/payload/starter/_basic/assets/icons/lamp.png +0 -0
  40. package/payload/starter/_basic/assets/icons/lock.png +0 -0
  41. package/payload/starter/_basic/assets/icons/panel.png +0 -0
  42. package/payload/starter/_basic/assets/icons/plant.png +0 -0
  43. package/payload/starter/_basic/assets/icons/trash.png +0 -0
  44. package/payload/starter/_basic/assets/icons/trash.svg +2 -0
  45. package/payload/starter/_basic/assets/tab-bar/settings.png +0 -0
  46. package/payload/starter/_basic/assets/tab-bar/status.png +0 -0
  47. package/payload/starter/_basic/assets/tab-bar/transactions.png +0 -0
  48. package/payload/starter/_basic/assets/tutorial/blueberries.png +0 -0
  49. package/payload/starter/_basic/assets/tutorial/carrot.png +0 -0
  50. package/payload/starter/_basic/assets/tutorial/olives.png +0 -0
  51. package/payload/starter/_basic/assets/tutorial/strawberry.png +0 -0
  52. package/payload/starter/_basic/assets/ui-bottom-bar/setting.svg +11 -0
  53. package/payload/starter/_basic/basic/LICENSE +14 -0
  54. package/payload/starter/_basic/basic/basic.css +277 -0
  55. package/payload/starter/_basic/basic/basic.js +3767 -0
  56. package/payload/starter/_basic/basic/basic.min.css +1 -0
  57. package/payload/starter/_basic/basic/basic.min.js +65 -0
  58. package/payload/starter/_basic/basic/font/open-sans/LICENSE.txt +206 -0
  59. package/payload/starter/_basic/basic/font/open-sans/OpenSans-Bold.ttf +0 -0
  60. package/payload/starter/_basic/basic/font/open-sans/OpenSans-Regular.ttf +0 -0
  61. package/payload/starter/_basic/basic/scroll-bar.js +536 -0
  62. package/payload/starter/_basic/basic/scroll-bar.min.js +2 -0
  63. package/payload/starter/_basic/comp/action-button/add.png +0 -0
  64. package/payload/starter/_basic/comp/action-button.js +522 -0
  65. package/payload/starter/_basic/comp/action-tab-bar.js +383 -0
  66. package/payload/starter/_basic/comp/app-bar.js +236 -0
  67. package/payload/starter/_basic/comp/badge-v2.js +246 -0
  68. package/payload/starter/_basic/comp/bottom-bar.js +547 -0
  69. package/payload/starter/_basic/comp/breadcrumbs.js +522 -0
  70. package/payload/starter/_basic/comp/chart-box/chart-4.5.1.umd.min.js +13 -0
  71. package/payload/starter/_basic/comp/chart-box/chart-js-LICENSE.md +9 -0
  72. package/payload/starter/_basic/comp/chart-box.js +868 -0
  73. package/payload/starter/_basic/comp/check-box.js +374 -0
  74. package/payload/starter/_basic/comp/context-menu.js +634 -0
  75. package/payload/starter/_basic/comp/currency-input-b.js +190 -0
  76. package/payload/starter/_basic/comp/data-table/arrow.svg +2 -0
  77. package/payload/starter/_basic/comp/data-table.js +865 -0
  78. package/payload/starter/_basic/comp/dialog.js +854 -0
  79. package/payload/starter/_basic/comp/email-input-b.js +57 -0
  80. package/payload/starter/_basic/comp/filters.js +493 -0
  81. package/payload/starter/_basic/comp/form.js +590 -0
  82. package/payload/starter/_basic/comp/full-screen-select/arrow.svg +2 -0
  83. package/payload/starter/_basic/comp/full-screen-select/cancel.svg +2 -0
  84. package/payload/starter/_basic/comp/full-screen-select.js +611 -0
  85. package/payload/starter/_basic/comp/gauge.js +435 -0
  86. package/payload/starter/_basic/comp/hold-to-confirm-button/trash-red.png +0 -0
  87. package/payload/starter/_basic/comp/hold-to-confirm-button/trash.png +0 -0
  88. package/payload/starter/_basic/comp/hold-to-confirm-button.js +280 -0
  89. package/payload/starter/_basic/comp/input-b.js +759 -0
  90. package/payload/starter/_basic/comp/item-list.js +1396 -0
  91. package/payload/starter/_basic/comp/label-editor.js +1137 -0
  92. package/payload/starter/_basic/comp/left-menu/_Material Symbols & Icons - Google Fonts.webloc +8 -0
  93. package/payload/starter/_basic/comp/left-menu/data-table.png +0 -0
  94. package/payload/starter/_basic/comp/left-menu/home.png +0 -0
  95. package/payload/starter/_basic/comp/left-menu/reports.png +0 -0
  96. package/payload/starter/_basic/comp/left-menu/setting.png +0 -0
  97. package/payload/starter/_basic/comp/left-menu.js +476 -0
  98. package/payload/starter/_basic/comp/line-progress-bar.js +192 -0
  99. package/payload/starter/_basic/comp/loading-screen.js +382 -0
  100. package/payload/starter/_basic/comp/login-page-v2.js +586 -0
  101. package/payload/starter/_basic/comp/mini-graph-box.js +483 -0
  102. package/payload/starter/_basic/comp/notice.js +227 -0
  103. package/payload/starter/_basic/comp/number-input-b.js +121 -0
  104. package/payload/starter/_basic/comp/numeric-keyboard.js +296 -0
  105. package/payload/starter/_basic/comp/page-control.js +745 -0
  106. package/payload/starter/_basic/comp/page-header.js +190 -0
  107. package/payload/starter/_basic/comp/password-input-b/hide-btn.png +0 -0
  108. package/payload/starter/_basic/comp/password-input-b/hide-btn2.png +0 -0
  109. package/payload/starter/_basic/comp/password-input-b/show-btn.png +0 -0
  110. package/payload/starter/_basic/comp/password-input-b/show-btn2.png +0 -0
  111. package/payload/starter/_basic/comp/password-input-b.js +164 -0
  112. package/payload/starter/_basic/comp/period-bar.js +435 -0
  113. package/payload/starter/_basic/comp/phone-input-b.js +287 -0
  114. package/payload/starter/_basic/comp/progress-bar.js +676 -0
  115. package/payload/starter/_basic/comp/property-panel.js +2740 -0
  116. package/payload/starter/_basic/comp/radio-button.js +467 -0
  117. package/payload/starter/_basic/comp/rich-text-editor.js +1061 -0
  118. package/payload/starter/_basic/comp/scrolling-text.js +296 -0
  119. package/payload/starter/_basic/comp/search-input-v2/clear-round.svg +1 -0
  120. package/payload/starter/_basic/comp/search-input-v2/clear.svg +1 -0
  121. package/payload/starter/_basic/comp/search-input-v2/filter.png +0 -0
  122. package/payload/starter/_basic/comp/search-input-v2/filter.svg +1 -0
  123. package/payload/starter/_basic/comp/search-input-v2/search.svg +1 -0
  124. package/payload/starter/_basic/comp/search-input-v2.js +427 -0
  125. package/payload/starter/_basic/comp/search-results.js +560 -0
  126. package/payload/starter/_basic/comp/select-box.js +1740 -0
  127. package/payload/starter/_basic/comp/select-color.js +603 -0
  128. package/payload/starter/_basic/comp/select-date.js +1003 -0
  129. package/payload/starter/_basic/comp/select-file.js +732 -0
  130. package/payload/starter/_basic/comp/select-time.js +979 -0
  131. package/payload/starter/_basic/comp/settings-row.js +298 -0
  132. package/payload/starter/_basic/comp/side-panel.js +573 -0
  133. package/payload/starter/_basic/comp/slider-field.js +776 -0
  134. package/payload/starter/_basic/comp/slider.js +368 -0
  135. package/payload/starter/_basic/comp/smart-button/alert-black.png +0 -0
  136. package/payload/starter/_basic/comp/smart-button/clock.png +0 -0
  137. package/payload/starter/_basic/comp/smart-button.js +896 -0
  138. package/payload/starter/_basic/comp/smart-table/clock.png +0 -0
  139. package/payload/starter/_basic/comp/smart-table/down.png +0 -0
  140. package/payload/starter/_basic/comp/smart-table/scroll.png +0 -0
  141. package/payload/starter/_basic/comp/smart-table/sort.png +0 -0
  142. package/payload/starter/_basic/comp/smart-table/up.png +0 -0
  143. package/payload/starter/_basic/comp/smart-table.js +1321 -0
  144. package/payload/starter/_basic/comp/sortable-list.js +1172 -0
  145. package/payload/starter/_basic/comp/spark-line-box.js +729 -0
  146. package/payload/starter/_basic/comp/stepper.js +699 -0
  147. package/payload/starter/_basic/comp/tabs.js +1317 -0
  148. package/payload/starter/_basic/comp/tag-input.js +1067 -0
  149. package/payload/starter/_basic/comp/tap-effect.js +168 -0
  150. package/payload/starter/_basic/comp/textarea-b.js +184 -0
  151. package/payload/starter/_basic/comp/time-line.js +324 -0
  152. package/payload/starter/_basic/comp/tiny-select/arrow.svg +1 -0
  153. package/payload/starter/_basic/comp/tiny-select.js +282 -0
  154. package/payload/starter/_basic/comp/tiny-table.js +279 -0
  155. package/payload/starter/_basic/comp/toast.js +838 -0
  156. package/payload/starter/_basic/comp/toggle.js +636 -0
  157. package/payload/starter/_basic/comp/tooltip.js +471 -0
  158. package/payload/starter/_basic/comp/tree-view.js +1096 -0
  159. package/payload/starter/_basic/comp/ui-effects.js +1091 -0
  160. package/payload/starter/_basic/comp/ui-standards.js +402 -0
  161. package/payload/starter/_basic/comp/url-input-b.js +145 -0
  162. package/payload/starter/_basic/comp/web-view.js +534 -0
  163. package/payload/starter/_basic/docs/basic-js-animated-rules.md +90 -0
  164. package/payload/starter/_basic/docs/basic-js-code-rules.md +91 -0
  165. package/payload/starter/_basic/docs/basic-js-components.md +134 -0
  166. package/payload/starter/_basic/docs/basic-js-core.md +131 -0
  167. package/payload/starter/_basic/docs/component-index.md +522 -0
  168. package/payload/starter/_basic/docs/component-template.js +416 -0
  169. package/payload/starter/_basic/docs/handbook/00-introduction.md +125 -0
  170. package/payload/starter/_basic/docs/handbook/00-what-is-new.md +96 -0
  171. package/payload/starter/_basic/docs/handbook/01-label.md +104 -0
  172. package/payload/starter/_basic/docs/handbook/02-box.md +166 -0
  173. package/payload/starter/_basic/docs/handbook/03-image.md +81 -0
  174. package/payload/starter/_basic/docs/handbook/04-common-properties.md +159 -0
  175. package/payload/starter/_basic/docs/handbook/05-autolayout.md +332 -0
  176. package/payload/starter/_basic/docs/handbook/06-button.md +103 -0
  177. package/payload/starter/_basic/docs/handbook/07-input.md +78 -0
  178. package/payload/starter/_basic/docs/handbook/08-page.md +120 -0
  179. package/payload/starter/_basic/docs/handbook/09-useful-examples.md +309 -0
  180. package/payload/starter/_basic/docs/handbook/10-motion.md +132 -0
  181. package/payload/starter/_basic/docs/handbook/11-other-functions.md +92 -0
  182. package/payload/starter/_basic/docs/handbook/12-utilities.md +123 -0
  183. package/payload/starter/_basic/docs/handbook/13-sound.md +88 -0
  184. package/payload/starter/_basic/docs/what-is-new.md +402 -0
  185. package/payload/starter/_basic/examples/action-button.htm +81 -0
  186. package/payload/starter/_basic/examples/action-tab-bar.htm +97 -0
  187. package/payload/starter/_basic/examples/app-bar.htm +140 -0
  188. package/payload/starter/_basic/examples/badgeV2.htm +68 -0
  189. package/payload/starter/_basic/examples/bottom-bar/grid.png +0 -0
  190. package/payload/starter/_basic/examples/bottom-bar/grids.png +0 -0
  191. package/payload/starter/_basic/examples/bottom-bar/home.png +0 -0
  192. package/payload/starter/_basic/examples/bottom-bar/homes.png +0 -0
  193. package/payload/starter/_basic/examples/bottom-bar/icon1.png +0 -0
  194. package/payload/starter/_basic/examples/bottom-bar/icon1s.png +0 -0
  195. package/payload/starter/_basic/examples/bottom-bar/icon2.png +0 -0
  196. package/payload/starter/_basic/examples/bottom-bar/icon2s.png +0 -0
  197. package/payload/starter/_basic/examples/bottom-bar/icon3.png +0 -0
  198. package/payload/starter/_basic/examples/bottom-bar/icon3s.png +0 -0
  199. package/payload/starter/_basic/examples/bottom-bar/icon4.png +0 -0
  200. package/payload/starter/_basic/examples/bottom-bar/icon4s.png +0 -0
  201. package/payload/starter/_basic/examples/bottom-bar/search.png +0 -0
  202. package/payload/starter/_basic/examples/bottom-bar/searchs.png +0 -0
  203. package/payload/starter/_basic/examples/bottom-bar/settings.png +0 -0
  204. package/payload/starter/_basic/examples/bottom-bar/settingss.png +0 -0
  205. package/payload/starter/_basic/examples/bottom-bar/tasks.png +0 -0
  206. package/payload/starter/_basic/examples/bottom-bar/taskss.png +0 -0
  207. package/payload/starter/_basic/examples/bottom-bar-2.htm +187 -0
  208. package/payload/starter/_basic/examples/bottom-bar.htm +46 -0
  209. package/payload/starter/_basic/examples/breadcrumbs.htm +284 -0
  210. package/payload/starter/_basic/examples/chart-box.htm +287 -0
  211. package/payload/starter/_basic/examples/check-box-1.htm +220 -0
  212. package/payload/starter/_basic/examples/check-box-2.htm +212 -0
  213. package/payload/starter/_basic/examples/check-box-3.htm +179 -0
  214. package/payload/starter/_basic/examples/context-menu.htm +269 -0
  215. package/payload/starter/_basic/examples/currency-input-b.htm +71 -0
  216. package/payload/starter/_basic/examples/data-table-2.htm +67 -0
  217. package/payload/starter/_basic/examples/data-table-3.htm +72 -0
  218. package/payload/starter/_basic/examples/data-table-4.htm +144 -0
  219. package/payload/starter/_basic/examples/data-table-5.htm +152 -0
  220. package/payload/starter/_basic/examples/data-table.htm +178 -0
  221. package/payload/starter/_basic/examples/dialog-centered.htm +130 -0
  222. package/payload/starter/_basic/examples/dialog.htm +209 -0
  223. package/payload/starter/_basic/examples/email-input-b.htm +67 -0
  224. package/payload/starter/_basic/examples/filters.htm +115 -0
  225. package/payload/starter/_basic/examples/form-1.htm +123 -0
  226. package/payload/starter/_basic/examples/full-screen-select.htm +114 -0
  227. package/payload/starter/_basic/examples/gauge.htm +133 -0
  228. package/payload/starter/_basic/examples/hold-to-confirm-button.htm +144 -0
  229. package/payload/starter/_basic/examples/input-b-ex1.htm +132 -0
  230. package/payload/starter/_basic/examples/input-b-ex2.htm +136 -0
  231. package/payload/starter/_basic/examples/input-b-ex3-style.htm +113 -0
  232. package/payload/starter/_basic/examples/input-b-ex4-custom-unit.htm +112 -0
  233. package/payload/starter/_basic/examples/input-b-ex5-warning-icon.htm +80 -0
  234. package/payload/starter/_basic/examples/input-b-ex6-dark.htm +108 -0
  235. package/payload/starter/_basic/examples/input-b-ex7-ozden.htm +153 -0
  236. package/payload/starter/_basic/examples/item-list-2.htm +253 -0
  237. package/payload/starter/_basic/examples/item-list.htm +176 -0
  238. package/payload/starter/_basic/examples/label-editor.htm +196 -0
  239. package/payload/starter/_basic/examples/left-menu.htm +81 -0
  240. package/payload/starter/_basic/examples/line-progress-bar.htm +145 -0
  241. package/payload/starter/_basic/examples/loading-screen.htm +217 -0
  242. package/payload/starter/_basic/examples/login-page-dark-v2.htm +269 -0
  243. package/payload/starter/_basic/examples/login-page-v2.htm +269 -0
  244. package/payload/starter/_basic/examples/mini-graph-box.htm +229 -0
  245. package/payload/starter/_basic/examples/notice.htm +79 -0
  246. package/payload/starter/_basic/examples/number-input-b.htm +68 -0
  247. package/payload/starter/_basic/examples/numeric-keyboard.htm +100 -0
  248. package/payload/starter/_basic/examples/page-control.htm +262 -0
  249. package/payload/starter/_basic/examples/page-header.htm +117 -0
  250. package/payload/starter/_basic/examples/password-input-b.htm +70 -0
  251. package/payload/starter/_basic/examples/period-bar.htm +94 -0
  252. package/payload/starter/_basic/examples/phone-input-b-select-country.htm +298 -0
  253. package/payload/starter/_basic/examples/phone-input-b.htm +72 -0
  254. package/payload/starter/_basic/examples/progress-bar-ozden.htm +168 -0
  255. package/payload/starter/_basic/examples/progress-bar.htm +296 -0
  256. package/payload/starter/_basic/examples/property-panel.htm +216 -0
  257. package/payload/starter/_basic/examples/radio-button-1.htm +264 -0
  258. package/payload/starter/_basic/examples/radio-button-2.htm +256 -0
  259. package/payload/starter/_basic/examples/radio-button-3.htm +168 -0
  260. package/payload/starter/_basic/examples/rich-text-editor.htm +228 -0
  261. package/payload/starter/_basic/examples/scrolling-text.htm +75 -0
  262. package/payload/starter/_basic/examples/search-input-v2-ozden.htm +128 -0
  263. package/payload/starter/_basic/examples/search-input-v2-place.htm +80 -0
  264. package/payload/starter/_basic/examples/search-input-v2.htm +65 -0
  265. package/payload/starter/_basic/examples/search-results.htm +193 -0
  266. package/payload/starter/_basic/examples/select-box-ozden-item.htm +114 -0
  267. package/payload/starter/_basic/examples/select-box-ozden-text.htm +64 -0
  268. package/payload/starter/_basic/examples/select-box.htm +254 -0
  269. package/payload/starter/_basic/examples/select-color.htm +215 -0
  270. package/payload/starter/_basic/examples/select-date.htm +244 -0
  271. package/payload/starter/_basic/examples/select-file.htm +268 -0
  272. package/payload/starter/_basic/examples/select-time.htm +249 -0
  273. package/payload/starter/_basic/examples/settings-row.htm +193 -0
  274. package/payload/starter/_basic/examples/side-panel-2.htm +270 -0
  275. package/payload/starter/_basic/examples/side-panel.htm +219 -0
  276. package/payload/starter/_basic/examples/slider-field.htm +223 -0
  277. package/payload/starter/_basic/examples/slider.htm +180 -0
  278. package/payload/starter/_basic/examples/smart-button-2.htm +220 -0
  279. package/payload/starter/_basic/examples/smart-button-3-ozden.htm +320 -0
  280. package/payload/starter/_basic/examples/smart-button-4-dark.htm +102 -0
  281. package/payload/starter/_basic/examples/smart-button-5-features.htm +205 -0
  282. package/payload/starter/_basic/examples/smart-button.htm +252 -0
  283. package/payload/starter/_basic/examples/smart-table-1.htm +142 -0
  284. package/payload/starter/_basic/examples/smart-table-2.htm +191 -0
  285. package/payload/starter/_basic/examples/smart-table-3.htm +359 -0
  286. package/payload/starter/_basic/examples/smart-table-4.htm +158 -0
  287. package/payload/starter/_basic/examples/sortable-list.htm +250 -0
  288. package/payload/starter/_basic/examples/spark-line-box.htm +285 -0
  289. package/payload/starter/_basic/examples/stepper-2.htm +172 -0
  290. package/payload/starter/_basic/examples/stepper.htm +255 -0
  291. package/payload/starter/_basic/examples/tabs-2/coffee.png +0 -0
  292. package/payload/starter/_basic/examples/tabs-2/i1-white.png +0 -0
  293. package/payload/starter/_basic/examples/tabs-2/i1.png +0 -0
  294. package/payload/starter/_basic/examples/tabs-2/i2-white.png +0 -0
  295. package/payload/starter/_basic/examples/tabs-2/i2.png +0 -0
  296. package/payload/starter/_basic/examples/tabs-2/i3-white.png +0 -0
  297. package/payload/starter/_basic/examples/tabs-2/i3.png +0 -0
  298. package/payload/starter/_basic/examples/tabs-2/i4-white.png +0 -0
  299. package/payload/starter/_basic/examples/tabs-2/i4.png +0 -0
  300. package/payload/starter/_basic/examples/tabs-2/i5-white.png +0 -0
  301. package/payload/starter/_basic/examples/tabs-2/i5.png +0 -0
  302. package/payload/starter/_basic/examples/tabs-2/lamp-on.png +0 -0
  303. package/payload/starter/_basic/examples/tabs-2/lamp.png +0 -0
  304. package/payload/starter/_basic/examples/tabs-2/search.svg +2 -0
  305. package/payload/starter/_basic/examples/tabs-2.htm +188 -0
  306. package/payload/starter/_basic/examples/tabs.htm +300 -0
  307. package/payload/starter/_basic/examples/tag-input.htm +242 -0
  308. package/payload/starter/_basic/examples/tap-effect.htm +100 -0
  309. package/payload/starter/_basic/examples/textarea-b.htm +76 -0
  310. package/payload/starter/_basic/examples/time-line.htm +226 -0
  311. package/payload/starter/_basic/examples/tiny-select.htm +86 -0
  312. package/payload/starter/_basic/examples/tiny-table.htm +109 -0
  313. package/payload/starter/_basic/examples/toast.htm +262 -0
  314. package/payload/starter/_basic/examples/toggle-2.htm +163 -0
  315. package/payload/starter/_basic/examples/toggle-3.htm +218 -0
  316. package/payload/starter/_basic/examples/toggle.htm +93 -0
  317. package/payload/starter/_basic/examples/tooltip-2.htm +177 -0
  318. package/payload/starter/_basic/examples/tooltip-3.htm +212 -0
  319. package/payload/starter/_basic/examples/tooltip.htm +124 -0
  320. package/payload/starter/_basic/examples/tree-view.htm +285 -0
  321. package/payload/starter/_basic/examples/ui-effects.htm +463 -0
  322. package/payload/starter/_basic/examples/ui-standards.htm +261 -0
  323. package/payload/starter/_basic/examples/unfinished-login-page-dark-supabase.htm +221 -0
  324. package/payload/starter/_basic/examples/unfinished-login-page-supabase.htm +221 -0
  325. package/payload/starter/_basic/examples/url-input-b.htm +85 -0
  326. package/payload/starter/_basic/examples/web-view.htm +241 -0
  327. package/payload/starter/_basic/min/action-button.min.js +2 -0
  328. package/payload/starter/_basic/min/action-tab-bar.min.js +2 -0
  329. package/payload/starter/_basic/min/app-bar.min.js +2 -0
  330. package/payload/starter/_basic/min/badge-v2.min.js +2 -0
  331. package/payload/starter/_basic/min/bottom-bar.min.js +2 -0
  332. package/payload/starter/_basic/min/breadcrumbs.min.js +2 -0
  333. package/payload/starter/_basic/min/chart-box.min.js +2 -0
  334. package/payload/starter/_basic/min/check-box.min.js +2 -0
  335. package/payload/starter/_basic/min/context-menu.min.js +2 -0
  336. package/payload/starter/_basic/min/currency-input-b.min.js +2 -0
  337. package/payload/starter/_basic/min/data-table.min.js +2 -0
  338. package/payload/starter/_basic/min/dialog.min.js +2 -0
  339. package/payload/starter/_basic/min/email-input-b.min.js +2 -0
  340. package/payload/starter/_basic/min/filters.min.js +2 -0
  341. package/payload/starter/_basic/min/form.min.js +2 -0
  342. package/payload/starter/_basic/min/full-screen-select.min.js +2 -0
  343. package/payload/starter/_basic/min/gauge.min.js +2 -0
  344. package/payload/starter/_basic/min/hold-to-confirm-button.min.js +2 -0
  345. package/payload/starter/_basic/min/input-b.min.js +2 -0
  346. package/payload/starter/_basic/min/item-list.min.js +2 -0
  347. package/payload/starter/_basic/min/label-editor.min.js +2 -0
  348. package/payload/starter/_basic/min/left-menu.min.js +2 -0
  349. package/payload/starter/_basic/min/line-progress-bar.min.js +2 -0
  350. package/payload/starter/_basic/min/loading-screen.min.js +2 -0
  351. package/payload/starter/_basic/min/login-page-v2.min.js +2 -0
  352. package/payload/starter/_basic/min/mini-graph-box.min.js +2 -0
  353. package/payload/starter/_basic/min/notice.min.js +2 -0
  354. package/payload/starter/_basic/min/number-input-b.min.js +2 -0
  355. package/payload/starter/_basic/min/numeric-keyboard.min.js +2 -0
  356. package/payload/starter/_basic/min/page-control.min.js +2 -0
  357. package/payload/starter/_basic/min/page-header.min.js +2 -0
  358. package/payload/starter/_basic/min/password-input-b.min.js +2 -0
  359. package/payload/starter/_basic/min/period-bar.min.js +2 -0
  360. package/payload/starter/_basic/min/phone-input-b.min.js +2 -0
  361. package/payload/starter/_basic/min/progress-bar.min.js +2 -0
  362. package/payload/starter/_basic/min/property-panel.min.js +2 -0
  363. package/payload/starter/_basic/min/radio-button.min.js +2 -0
  364. package/payload/starter/_basic/min/rich-text-editor.min.js +2 -0
  365. package/payload/starter/_basic/min/scrolling-text.min.js +2 -0
  366. package/payload/starter/_basic/min/search-input-v2.min.js +2 -0
  367. package/payload/starter/_basic/min/search-results.min.js +2 -0
  368. package/payload/starter/_basic/min/select-box.min.js +2 -0
  369. package/payload/starter/_basic/min/select-color.min.js +2 -0
  370. package/payload/starter/_basic/min/select-date.min.js +2 -0
  371. package/payload/starter/_basic/min/select-file.min.js +2 -0
  372. package/payload/starter/_basic/min/select-time.min.js +2 -0
  373. package/payload/starter/_basic/min/settings-row.min.js +2 -0
  374. package/payload/starter/_basic/min/side-panel.min.js +2 -0
  375. package/payload/starter/_basic/min/slider-field.min.js +2 -0
  376. package/payload/starter/_basic/min/slider.min.js +2 -0
  377. package/payload/starter/_basic/min/smart-button.min.js +2 -0
  378. package/payload/starter/_basic/min/smart-table.min.js +2 -0
  379. package/payload/starter/_basic/min/sortable-list.min.js +2 -0
  380. package/payload/starter/_basic/min/spark-line-box.min.js +2 -0
  381. package/payload/starter/_basic/min/stepper.min.js +2 -0
  382. package/payload/starter/_basic/min/tabs.min.js +2 -0
  383. package/payload/starter/_basic/min/tag-input.min.js +2 -0
  384. package/payload/starter/_basic/min/tap-effect.min.js +2 -0
  385. package/payload/starter/_basic/min/textarea-b.min.js +2 -0
  386. package/payload/starter/_basic/min/time-line.min.js +2 -0
  387. package/payload/starter/_basic/min/tiny-select.min.js +2 -0
  388. package/payload/starter/_basic/min/tiny-table.min.js +2 -0
  389. package/payload/starter/_basic/min/toast.min.js +2 -0
  390. package/payload/starter/_basic/min/toggle.min.js +2 -0
  391. package/payload/starter/_basic/min/tooltip.min.js +2 -0
  392. package/payload/starter/_basic/min/tree-view.min.js +2 -0
  393. package/payload/starter/_basic/min/ui-effects.min.js +2 -0
  394. package/payload/starter/_basic/min/ui-standards.min.js +2 -0
  395. package/payload/starter/_basic/min/url-input-b.min.js +2 -0
  396. package/payload/starter/_basic/min/web-view.min.js +2 -0
  397. package/payload/starter/_basic/tools/build.js +175 -0
  398. package/payload/starter/_basic/tools/check.js +318 -0
  399. package/payload/starter/app/app.js +27 -0
  400. package/payload/starter/assets/.gitkeep +0 -0
  401. package/payload/starter/gitignore +3 -0
  402. package/payload/starter/index.htm +23 -0
  403. package/payload/templates/booking/TEMPLATE.md +77 -0
  404. package/payload/templates/booking/app/app.js +722 -0
  405. package/payload/templates/booking/app/settings.js +52 -0
  406. package/payload/templates/booking/app/store.js +265 -0
  407. package/payload/templates/booking/app/texts.js +148 -0
  408. package/payload/templates/booking/assets/app-icon.svg +1 -0
  409. package/payload/templates/booking/assets/tabs/account.svg +1 -0
  410. package/payload/templates/booking/assets/tabs/appointments.svg +1 -0
  411. package/payload/templates/booking/assets/tabs/home.svg +1 -0
  412. package/payload/templates/booking/assets/tabs/services.svg +1 -0
  413. package/payload/templates/booking/components/booking-ui.js +252 -0
  414. package/payload/templates/booking/index.htm +53 -0
  415. package/payload/templates/booking/pages/account.js +124 -0
  416. package/payload/templates/booking/pages/appointments.js +141 -0
  417. package/payload/templates/booking/pages/book.js +231 -0
  418. package/payload/templates/booking/pages/home.js +99 -0
  419. package/payload/templates/booking/pages/services.js +79 -0
  420. package/payload/templates/classic/TEMPLATE.md +104 -0
  421. package/payload/templates/classic/app/app.js +779 -0
  422. package/payload/templates/classic/app/settings.js +77 -0
  423. package/payload/templates/classic/assets/_attribute.txt +37 -0
  424. package/payload/templates/classic/assets/cards/dill.png +0 -0
  425. package/payload/templates/classic/assets/cards/fennel.png +0 -0
  426. package/payload/templates/classic/assets/cards/juniper.png +0 -0
  427. package/payload/templates/classic/assets/cards/olives.png +0 -0
  428. package/payload/templates/classic/assets/cards/oregano.png +0 -0
  429. package/payload/templates/classic/assets/cards/pepper.png +0 -0
  430. package/payload/templates/classic/assets/cards/rosehip.png +0 -0
  431. package/payload/templates/classic/assets/categories/cappuccino.png +0 -0
  432. package/payload/templates/classic/assets/categories/chocolate-milk.png +0 -0
  433. package/payload/templates/classic/assets/categories/coffee-cup.png +0 -0
  434. package/payload/templates/classic/assets/categories/coffee.png +0 -0
  435. package/payload/templates/classic/assets/categories/frappe.png +0 -0
  436. package/payload/templates/classic/assets/categories/iced-caffee.png +0 -0
  437. package/payload/templates/classic/assets/categories/milkshake.png +0 -0
  438. package/payload/templates/classic/assets/categories/orange-juice.png +0 -0
  439. package/payload/templates/classic/assets/categories/tea.png +0 -0
  440. package/payload/templates/classic/assets/example-tabs/coffee.png +0 -0
  441. package/payload/templates/classic/assets/example-tabs/i1-white.png +0 -0
  442. package/payload/templates/classic/assets/example-tabs/i1.png +0 -0
  443. package/payload/templates/classic/assets/example-tabs/i2-white.png +0 -0
  444. package/payload/templates/classic/assets/example-tabs/i2.png +0 -0
  445. package/payload/templates/classic/assets/example-tabs/i3-white.png +0 -0
  446. package/payload/templates/classic/assets/example-tabs/i3.png +0 -0
  447. package/payload/templates/classic/assets/example-tabs/i4-white.png +0 -0
  448. package/payload/templates/classic/assets/example-tabs/i4.png +0 -0
  449. package/payload/templates/classic/assets/example-tabs/i5-white.png +0 -0
  450. package/payload/templates/classic/assets/example-tabs/i5.png +0 -0
  451. package/payload/templates/classic/assets/example-tabs/lamp-on.png +0 -0
  452. package/payload/templates/classic/assets/example-tabs/lamp.png +0 -0
  453. package/payload/templates/classic/assets/example-tabs/search.svg +2 -0
  454. package/payload/templates/classic/assets/files/ai.png +0 -0
  455. package/payload/templates/classic/assets/files/doc.png +0 -0
  456. package/payload/templates/classic/assets/files/folder.png +0 -0
  457. package/payload/templates/classic/assets/files/js.png +0 -0
  458. package/payload/templates/classic/assets/files/pdf.png +0 -0
  459. package/payload/templates/classic/assets/files/txt.png +0 -0
  460. package/payload/templates/classic/assets/files/xls.png +0 -0
  461. package/payload/templates/classic/assets/icons/arrow-drop.svg +3 -0
  462. package/payload/templates/classic/assets/icons/arrow-rise.svg +3 -0
  463. package/payload/templates/classic/assets/icons/download.svg +18 -0
  464. package/payload/templates/classic/assets/icons/lamp-on.png +0 -0
  465. package/payload/templates/classic/assets/icons/lamp.png +0 -0
  466. package/payload/templates/classic/assets/icons/lock-small.png +0 -0
  467. package/payload/templates/classic/assets/icons/lock.png +0 -0
  468. package/payload/templates/classic/assets/icons/logo.png +0 -0
  469. package/payload/templates/classic/assets/icons/trash-red.svg +2 -0
  470. package/payload/templates/classic/assets/icons/trash.svg +2 -0
  471. package/payload/templates/classic/assets/menu/t1.png +0 -0
  472. package/payload/templates/classic/assets/menu/t10.png +0 -0
  473. package/payload/templates/classic/assets/menu/t11.png +0 -0
  474. package/payload/templates/classic/assets/menu/t2.png +0 -0
  475. package/payload/templates/classic/assets/menu/t3.png +0 -0
  476. package/payload/templates/classic/assets/menu/t4.png +0 -0
  477. package/payload/templates/classic/assets/menu/t5.png +0 -0
  478. package/payload/templates/classic/assets/menu/t6.png +0 -0
  479. package/payload/templates/classic/assets/menu/t7.png +0 -0
  480. package/payload/templates/classic/assets/menu/t8.png +0 -0
  481. package/payload/templates/classic/assets/menu/t9.png +0 -0
  482. package/payload/templates/classic/assets/products/brokoli.png +0 -0
  483. package/payload/templates/classic/assets/products/cilek.png +0 -0
  484. package/payload/templates/classic/assets/products/domates.png +0 -0
  485. package/payload/templates/classic/assets/products/elma.png +0 -0
  486. package/payload/templates/classic/assets/products/havuc.png +0 -0
  487. package/payload/templates/classic/assets/products/karpuz.png +0 -0
  488. package/payload/templates/classic/assets/products/limon.png +0 -0
  489. package/payload/templates/classic/assets/products/muz.png +0 -0
  490. package/payload/templates/classic/assets/products/nar.png +0 -0
  491. package/payload/templates/classic/assets/products/patlican.png +0 -0
  492. package/payload/templates/classic/assets/products/yabanmersini.png +0 -0
  493. package/payload/templates/classic/assets/products/yesilbiber.png +0 -0
  494. package/payload/templates/classic/assets/tab-bar/settings.png +0 -0
  495. package/payload/templates/classic/assets/tab-bar/status.png +0 -0
  496. package/payload/templates/classic/assets/tab-bar/transactions.png +0 -0
  497. package/payload/templates/classic/assets/tabs/grid.png +0 -0
  498. package/payload/templates/classic/assets/tabs/grids.png +0 -0
  499. package/payload/templates/classic/assets/tabs/home.png +0 -0
  500. package/payload/templates/classic/assets/tabs/homes.png +0 -0
  501. package/payload/templates/classic/assets/tabs/search.png +0 -0
  502. package/payload/templates/classic/assets/tabs/searchs.png +0 -0
  503. package/payload/templates/classic/assets/tabs/settings.png +0 -0
  504. package/payload/templates/classic/assets/tabs/settingss.png +0 -0
  505. package/payload/templates/classic/assets/tabs/tasks.png +0 -0
  506. package/payload/templates/classic/assets/tabs/taskss.png +0 -0
  507. package/payload/templates/classic/html/privacy.htm +58 -0
  508. package/payload/templates/classic/index.htm +70 -0
  509. package/payload/templates/classic/pages/dialogs.js +205 -0
  510. package/payload/templates/classic/pages/example.js +296 -0
  511. package/payload/templates/classic/pages/examples.js +148 -0
  512. package/payload/templates/classic/pages/home.js +268 -0
  513. package/payload/templates/classic/pages/info-pages.js +95 -0
  514. package/payload/templates/classic/pages/lock.js +70 -0
  515. package/payload/templates/classic/pages/search.js +153 -0
  516. package/payload/templates/classic/pages/settings.js +184 -0
  517. package/payload/templates/classic/pages/tasks.js +221 -0
  518. package/payload/templates/classic/pages/template-pages.js +240 -0
  519. package/payload/templates/coffee-shop/TEMPLATE.md +63 -0
  520. package/payload/templates/coffee-shop/app/app.js +713 -0
  521. package/payload/templates/coffee-shop/app/settings.js +20 -0
  522. package/payload/templates/coffee-shop/app/store.js +52 -0
  523. package/payload/templates/coffee-shop/assets/cappuccino.png +0 -0
  524. package/payload/templates/coffee-shop/assets/chocolate-milk.png +0 -0
  525. package/payload/templates/coffee-shop/assets/coffee-art/cocoa.svg +1 -0
  526. package/payload/templates/coffee-shop/assets/coffee-art/filter.svg +1 -0
  527. package/payload/templates/coffee-shop/assets/coffee-art/frappe.svg +1 -0
  528. package/payload/templates/coffee-shop/assets/coffee-art/iced.svg +1 -0
  529. package/payload/templates/coffee-shop/assets/coffee-art/latte.svg +1 -0
  530. package/payload/templates/coffee-shop/assets/coffee-art/tea.svg +1 -0
  531. package/payload/templates/coffee-shop/assets/coffee.png +0 -0
  532. package/payload/templates/coffee-shop/assets/credits.txt +41 -0
  533. package/payload/templates/coffee-shop/assets/fonts/OFL.txt +93 -0
  534. package/payload/templates/coffee-shop/assets/fonts/gelasio-OFL.txt +93 -0
  535. package/payload/templates/coffee-shop/assets/fonts/gelasio.ttf +0 -0
  536. package/payload/templates/coffee-shop/assets/frappe.png +0 -0
  537. package/payload/templates/coffee-shop/assets/iced-caffee.png +0 -0
  538. package/payload/templates/coffee-shop/assets/tabs/cart.svg +1 -0
  539. package/payload/templates/coffee-shop/assets/tabs/home.svg +1 -0
  540. package/payload/templates/coffee-shop/assets/tabs/menu.svg +1 -0
  541. package/payload/templates/coffee-shop/assets/tabs/rewards.svg +1 -0
  542. package/payload/templates/coffee-shop/assets/tea.png +0 -0
  543. package/payload/templates/coffee-shop/components/coffee-ui.js +246 -0
  544. package/payload/templates/coffee-shop/index.htm +55 -0
  545. package/payload/templates/coffee-shop/pages/cart.js +82 -0
  546. package/payload/templates/coffee-shop/pages/drink.js +74 -0
  547. package/payload/templates/coffee-shop/pages/home.js +54 -0
  548. package/payload/templates/coffee-shop/pages/menu.js +53 -0
  549. package/payload/templates/coffee-shop/pages/rewards.js +38 -0
  550. package/payload/templates/forms/TEMPLATE.md +12 -0
  551. package/payload/templates/forms/app/app.js +30 -0
  552. package/payload/templates/forms/appointment-form.htm +969 -0
  553. package/payload/templates/forms/assets/error.png +0 -0
  554. package/payload/templates/forms/assets/logo.png +0 -0
  555. package/payload/templates/forms/assets/logo2.png +0 -0
  556. package/payload/templates/forms/assets/mail.png +0 -0
  557. package/payload/templates/forms/assets/success.png +0 -0
  558. package/payload/templates/forms/contact-form-iframe.htm +24 -0
  559. package/payload/templates/forms/contact-form-table.sql +11 -0
  560. package/payload/templates/forms/contact-form-to-mail.htm +358 -0
  561. package/payload/templates/forms/contact-form-to-supabase.htm +396 -0
  562. package/payload/templates/forms/dark-contact-form.htm +623 -0
  563. package/payload/templates/forms/event-registration-form.htm +1056 -0
  564. package/payload/templates/forms/feedback-form.htm +813 -0
  565. package/payload/templates/forms/order-form.htm +1187 -0
  566. package/payload/templates/forms/recruitment-form.htm +698 -0
  567. package/payload/templates/forms/service/PHPMailer/Exception.php +40 -0
  568. package/payload/templates/forms/service/PHPMailer/LICENSE +502 -0
  569. package/payload/templates/forms/service/PHPMailer/PHPMailer.php +5586 -0
  570. package/payload/templates/forms/service/PHPMailer/SMTP.php +1617 -0
  571. package/payload/templates/forms/service/readme.md +162 -0
  572. package/payload/templates/forms/service/send-form-mail.php +941 -0
  573. package/payload/templates/forms/support-ticket-form.htm +908 -0
  574. package/payload/templates/panel/TEMPLATE.md +16 -0
  575. package/payload/templates/panel/assets/_Material Symbols & Icons - Google Fonts.webloc +8 -0
  576. package/payload/templates/panel/assets/arrow_down.png +0 -0
  577. package/payload/templates/panel/assets/close.png +0 -0
  578. package/payload/templates/panel/assets/left-menu/bolt.png +0 -0
  579. package/payload/templates/panel/assets/left-menu/brick.png +0 -0
  580. package/payload/templates/panel/assets/left-menu/code.png +0 -0
  581. package/payload/templates/panel/assets/left-menu/dashboard.png +0 -0
  582. package/payload/templates/panel/assets/left-menu/data-table.png +0 -0
  583. package/payload/templates/panel/assets/left-menu/extension.png +0 -0
  584. package/payload/templates/panel/assets/left-menu/home.png +0 -0
  585. package/payload/templates/panel/assets/left-menu/reports.png +0 -0
  586. package/payload/templates/panel/assets/left-menu/setting.png +0 -0
  587. package/payload/templates/panel/assets/left-menu/url.png +0 -0
  588. package/payload/templates/panel/assets/light.png +0 -0
  589. package/payload/templates/panel/assets/maybe.png +0 -0
  590. package/payload/templates/panel/assets/panel-icon.png +0 -0
  591. package/payload/templates/panel/assets/top-bar/add.png +0 -0
  592. package/payload/templates/panel/assets/top-bar/add.svg +1 -0
  593. package/payload/templates/panel/assets/top-bar/apps.png +0 -0
  594. package/payload/templates/panel/assets/top-bar/apps.svg +1 -0
  595. package/payload/templates/panel/assets/top-bar/arrow-down.svg +1 -0
  596. package/payload/templates/panel/assets/top-bar/bell.svg +1 -0
  597. package/payload/templates/panel/assets/top-bar/bookmark.png +0 -0
  598. package/payload/templates/panel/assets/top-bar/bookmark.svg +1 -0
  599. package/payload/templates/panel/assets/top-bar/cancel.png +0 -0
  600. package/payload/templates/panel/assets/top-bar/close.svg +1 -0
  601. package/payload/templates/panel/assets/top-bar/comment.png +0 -0
  602. package/payload/templates/panel/assets/top-bar/filter.png +0 -0
  603. package/payload/templates/panel/assets/top-bar/keyboard.svg +1 -0
  604. package/payload/templates/panel/assets/top-bar/notification.png +0 -0
  605. package/payload/templates/panel/assets/top-bar/search.png +0 -0
  606. package/payload/templates/panel/assets/top-bar/search.svg +1 -0
  607. package/payload/templates/panel/assets/top-bar/user.png +0 -0
  608. package/payload/templates/panel/assets/top-bar/user.svg +1 -0
  609. package/payload/templates/panel/assets/warning.png +0 -0
  610. package/payload/templates/panel/common/bridge.js +1 -0
  611. package/payload/templates/panel/common/bridge.min.js +0 -0
  612. package/payload/templates/panel/common/components.js +12 -0
  613. package/payload/templates/panel/common/full-view.js +107 -0
  614. package/payload/templates/panel/common/full-view.min.js +1 -0
  615. package/payload/templates/panel/common/main-view.js +53 -0
  616. package/payload/templates/panel/common/main-view.min.js +1 -0
  617. package/payload/templates/panel/common/module-page.js +46 -0
  618. package/payload/templates/panel/common/module-page.min.js +1 -0
  619. package/payload/templates/panel/common/right-view.js +77 -0
  620. package/payload/templates/panel/common/right-view.min.js +1 -0
  621. package/payload/templates/panel/common/start-page.js +31 -0
  622. package/payload/templates/panel/common/start-page.min.js +1 -0
  623. package/payload/templates/panel/common/theme.js +491 -0
  624. package/payload/templates/panel/common/top-bar-v25-07-29-1.js +330 -0
  625. package/payload/templates/panel/common/top-bar-v25-07-29-2.js +265 -0
  626. package/payload/templates/panel/common/top-bar.js +855 -0
  627. package/payload/templates/panel/common/top-bar.min.js +1 -0
  628. package/payload/templates/panel/common/ui-standards.css +77 -0
  629. package/payload/templates/panel/common/ui-standards.js +133 -0
  630. package/payload/templates/panel/common/ui-standards.min.css +1 -0
  631. package/payload/templates/panel/common/ui-standards.min.js +1 -0
  632. package/payload/templates/panel/index.htm +642 -0
  633. package/payload/templates/panel/managers/database.js +1 -0
  634. package/payload/templates/panel/managers/database.min.js +1 -0
  635. package/payload/templates/panel/managers/login.js +2 -0
  636. package/payload/templates/panel/managers/login.min.js +1 -0
  637. package/payload/templates/panel/module1/empty-main.htm +26 -0
  638. package/payload/templates/panel/module10/greenhouse.htm +1361 -0
  639. package/payload/templates/panel/module11/arduino-projects.htm +1124 -0
  640. package/payload/templates/panel/module2/empty-full.htm +26 -0
  641. package/payload/templates/panel/module3/empty-right.htm +26 -0
  642. package/payload/templates/panel/module4/empty-main-topbar.htm +26 -0
  643. package/payload/templates/panel/module5/empty-right-topbar.htm +26 -0
  644. package/payload/templates/panel/module6/energy-hub.htm +1507 -0
  645. package/payload/templates/panel/module7/3d-printers.htm +1258 -0
  646. package/payload/templates/panel/module8/cold-rooms.htm +1250 -0
  647. package/payload/templates/panel/module9/elevator-fleet.htm +1488 -0
  648. package/payload/templates/panel/pages/_page-template.js +36 -0
  649. package/payload/templates/panel/pages/_page-template.min.js +1 -0
  650. package/payload/templates/panel/pages/activity.js +1072 -0
  651. package/payload/templates/panel/pages/contents.js +1555 -0
  652. package/payload/templates/panel/pages/contents.min.js +1 -0
  653. package/payload/templates/panel/pages/customers.js +1171 -0
  654. package/payload/templates/panel/pages/edit-user.js +381 -0
  655. package/payload/templates/panel/pages/edit-user.min.js +1 -0
  656. package/payload/templates/panel/pages/edit-users-table.min.js +1 -0
  657. package/payload/templates/panel/pages/home.js +637 -0
  658. package/payload/templates/panel/pages/home.min.js +1 -0
  659. package/payload/templates/panel/pages/media.js +1538 -0
  660. package/payload/templates/panel/pages/notifications.js +542 -0
  661. package/payload/templates/panel/pages/notifications.min.js +1 -0
  662. package/payload/templates/panel/pages/orders.js +1147 -0
  663. package/payload/templates/panel/pages/products.js +1281 -0
  664. package/payload/templates/panel/pages/reports.js +1138 -0
  665. package/payload/templates/panel/pages/reports.min.js +1 -0
  666. package/payload/templates/panel/pages/roles.js +1096 -0
  667. package/payload/templates/panel/pages/settings.js +1462 -0
  668. package/payload/templates/panel/pages/settings.min.js +1 -0
  669. package/payload/templates/panel/pages/user-actions.js +456 -0
  670. package/payload/templates/panel/pages/user-actions.min.js +2 -0
  671. package/payload/templates/panel/pages/user-list.js +1113 -0
  672. package/payload/templates/panel/pages/users.js +334 -0
  673. package/payload/templates/panel/pages/users.min.js +1 -0
  674. package/payload/templates/shop/TEMPLATE.md +69 -0
  675. package/payload/templates/shop/app/app.js +727 -0
  676. package/payload/templates/shop/app/art.js +89 -0
  677. package/payload/templates/shop/app/settings.js +45 -0
  678. package/payload/templates/shop/app/store.js +239 -0
  679. package/payload/templates/shop/app/texts.js +232 -0
  680. package/payload/templates/shop/assets/app-icon.svg +1 -0
  681. package/payload/templates/shop/assets/tabs/account.svg +1 -0
  682. package/payload/templates/shop/assets/tabs/cart.svg +1 -0
  683. package/payload/templates/shop/assets/tabs/home.svg +1 -0
  684. package/payload/templates/shop/assets/tabs/shop.svg +1 -0
  685. package/payload/templates/shop/components/shop-ui.js +343 -0
  686. package/payload/templates/shop/index.htm +57 -0
  687. package/payload/templates/shop/pages/account.js +190 -0
  688. package/payload/templates/shop/pages/cart.js +116 -0
  689. package/payload/templates/shop/pages/checkout.js +134 -0
  690. package/payload/templates/shop/pages/favorites.js +37 -0
  691. package/payload/templates/shop/pages/home.js +86 -0
  692. package/payload/templates/shop/pages/orders.js +132 -0
  693. package/payload/templates/shop/pages/product.js +168 -0
  694. package/payload/templates/shop/pages/shop.js +113 -0
  695. package/payload/templates/starter/TEMPLATE.md +107 -0
  696. package/payload/templates/starter/app/app.js +660 -0
  697. package/payload/templates/starter/app/settings.js +57 -0
  698. package/payload/templates/starter/assets/app-icon.svg +5 -0
  699. package/payload/templates/starter/assets/products/brokoli.png +0 -0
  700. package/payload/templates/starter/assets/products/cilek.png +0 -0
  701. package/payload/templates/starter/assets/products/domates.png +0 -0
  702. package/payload/templates/starter/assets/products/elma.png +0 -0
  703. package/payload/templates/starter/assets/products/havuc.png +0 -0
  704. package/payload/templates/starter/assets/products/karpuz.png +0 -0
  705. package/payload/templates/starter/assets/products/limon.png +0 -0
  706. package/payload/templates/starter/assets/products/muz.png +0 -0
  707. package/payload/templates/starter/assets/products/nar.png +0 -0
  708. package/payload/templates/starter/assets/products/patlican.png +0 -0
  709. package/payload/templates/starter/assets/products/yabanmersini.png +0 -0
  710. package/payload/templates/starter/assets/products/yesilbiber.png +0 -0
  711. package/payload/templates/starter/assets/tabs/grid.png +0 -0
  712. package/payload/templates/starter/assets/tabs/grids.png +0 -0
  713. package/payload/templates/starter/assets/tabs/home.png +0 -0
  714. package/payload/templates/starter/assets/tabs/homes.png +0 -0
  715. package/payload/templates/starter/assets/tabs/settings.png +0 -0
  716. package/payload/templates/starter/assets/tabs/settingss.png +0 -0
  717. package/payload/templates/starter/assets/tabs/tasks.png +0 -0
  718. package/payload/templates/starter/assets/tabs/taskss.png +0 -0
  719. package/payload/templates/starter/html/about.htm +54 -0
  720. package/payload/templates/starter/index.htm +57 -0
  721. package/payload/templates/starter/pages/about.js +23 -0
  722. package/payload/templates/starter/pages/home.js +81 -0
  723. package/payload/templates/starter/pages/product.js +45 -0
  724. package/payload/templates/starter/pages/products.js +61 -0
  725. package/payload/templates/starter/pages/settings.js +103 -0
  726. package/payload/templates/starter/pages/tasks.js +187 -0
  727. package/payload/templates/starter/pages/website.js +29 -0
@@ -0,0 +1,88 @@
1
+ # basic.js — BSound (Sound Object)
2
+
3
+ In the basic.js library, the `BSound` class is used to manage and play audio and music files on the browser. It is an invisible (no interface) sound engine.
4
+
5
+ ---
6
+
7
+ ## Starting the Sound Engine
8
+
9
+ It is created by instantiating a simple `BSound` object and specifying the music file address.
10
+
11
+ ```javascript
12
+ window.onload = function() {
13
+
14
+ const backgroundMusic = new BSound();
15
+
16
+ // Start loading the audio file (.wav or .mp3)
17
+ backgroundMusic.load("assets/audio/loop_theme.mp3");
18
+
19
+ }
20
+ ```
21
+
22
+ ---
23
+
24
+ ## Methods and Events
25
+
26
+ ### Playback Methods
27
+ - `.play()` — Starts the loaded sound. If it is paused, it continues from where it left off.
28
+ - `.pause()` — Pauses the playing sound.
29
+ - `.stop()` — Completely stops the playing sound and moves the playback slider to `0` seconds (the beginning).
30
+
31
+ ### Control Properties
32
+ - `.loop` (boolean) — Structure that sets the sound/music to restart from the beginning when it ends (Takes a value of `1` or `0`).
33
+ - `.playing` (boolean) — Reads whether the sound is currently actively playing (Returns `true/false`, read-only).
34
+ - `.paused` (boolean) — Checks whether the sound is paused.
35
+ - The background playback durations can be tracked via `time`, `timeLeft`, and `currentTime` properties.
36
+
37
+ ### Load Event (.onLoad)
38
+ Just like graphic objects (Image/Icon), audio files may not be ready instantly due to their sizes. The condition where it is ready to play (be read) is captured with `.onLoad()`.
39
+
40
+ ```javascript
41
+ const fxOkey = new BSound();
42
+ fxOkey.load("assets/audio/ok.wav");
43
+
44
+ // The moment when the sound file is loaded into memory by the browser and is ready to play
45
+ fxOkey.onLoad(function(loadedSound) {
46
+ println("Sound file successfully prepared.");
47
+ });
48
+ ```
49
+
50
+ ---
51
+
52
+ ## Examples
53
+
54
+ ### Example 1: Looping Background Music and Button Control
55
+
56
+ ```javascript
57
+ window.onload = function() {
58
+
59
+ // Prepare the sound
60
+ const gameMusic = new BSound();
61
+ gameMusic.load("music.mp3");
62
+ gameMusic.loop = 1; // Will play continuously from the beginning
63
+
64
+ HGroup({ gap: 10, align: "center" });
65
+
66
+ // Play Button
67
+ Button({ text: "Play", color: "mediumseagreen" })
68
+ .on("click", function() {
69
+ gameMusic.play();
70
+ });
71
+
72
+ // Stop Button
73
+ Button({ text: "Stop", color: "tomato" })
74
+ .on("click", function() {
75
+ gameMusic.stop(); // Silence completely and from the beginning
76
+ });
77
+
78
+ endGroup();
79
+
80
+ };
81
+ ```
82
+
83
+ ---
84
+
85
+ ## Summary
86
+ - `BSound` → It is the structure that runs sound invisibly and independently from the screen.
87
+ - Once created and content is provided with the `.load()` function, it can be `.play()`ed many times via code.
88
+ - It is ideal for background music and can be used as `.loop = 1`.
@@ -0,0 +1,402 @@
1
+ # basic.js — what is new
2
+
3
+ All the changes of `basic/basic.js`, the newest version first. A version is the date of its release: **vYY.MM.DD** (v26.10.23 = 2026-10-23). A change is added under a new version with the date of that day (or under today's version, when it already exists). The version is also in the header of `basic/basic.js` and in `basic.version`. The release notes for the users of the library are in `__handbook/english/00-what-is-new.md` (and `turkce/`).
4
+
5
+ Every version is compatible with the ones before it (one exception: **v26.10.25** moved 5 helpers under `basic.*` and removed the 7 old `create*` globals, the user's choice): every page and component written for an older version runs unchanged, with the same globals, the same defaults and the same DOM output (a fix of something that did not work is noted in its version).
6
+
7
+ Files: `basic/basic.js` (source), `basic/basic.min.js` (minified with terser), `test/basic-test.htm` (self-checking test page: every feature below has a green/red line; the tab title says `ALL PASS`).
8
+
9
+ Naming rule for the additions: no new globals (one exception, the user's choice on 2026-10-25: the color helper `Alpha()`, next to `Black()` and `White()`). New things are properties/methods on the objects, or live under `basic.*`. Names that existing components already use for their own values (`scale`, `hint`, `parent`, `shadow`, `image`, `listen`, `onHover`) are deliberately **not** added, so component defaults keep their meaning.
10
+
11
+ ---
12
+
13
+ ## v26.11.01 (2026-11-01)
14
+
15
+ ### `basic.uiScale`, `basic.scaleStyle()`, `basic.scaleSize()`, `basic.scaleCssText()`: the components keep their size on a fitted page
16
+
17
+ A page fitted with `page.fit(600, 800)` (a 600 px design, Ex: the mobile template `04-templates/mobile-app-template/classic`) is zoomed: 0.65 on a 390 px phone. A component made for screen px (Tabs, Dialog, Toast, Tooltip, SelectBox, SelectDate) was then 0.65 as big, its texts too small to read. Now:
18
+
19
+ ```javascript
20
+ page.fit(600, 800);
21
+ basic.uiScale = 1 / page.zoom; // once (and again after a resize that changes the zoom)
22
+ Dialog.confirm({ titleText: "Delete?" }); // as big as on a normal page
23
+ Tabs({ tabs: ["A", "B"], scale: 1 }); // one object can still choose its own scale
24
+ ```
25
+
26
+ - `basic.uiScale` (1 by default): the default of the `scale` param of these components.
27
+ - `basic.scaleStyle(style, factor)`: a copy of a style package with its sizes multiplied (the package is not changed). The size keys end with size, width, height, gap, space, spacing, padding, margin, round, radius, offset, thickness, top, left, right, bottom or border (`basic.isSizeKey()`; `lineHeight` is not one: it is often a ratio). Numbers and arrays of numbers (`[12, 4]`) are multiplied; text values (`"100%"`, `"auto"`) stay.
28
+ - `basic.scaleSize(value, factor)`: one size (a number or an array).
29
+ - `basic.scaleCssText(text, factor)`: the px of a CSS text (a shadow, a border): `"0 8px 24px rgba(0, 0, 0, 0.12)"` x 2 -> `"0 16px 48px rgba(0, 0, 0, 0.12)"`. `basic.scaleStyle()` leaves texts as they are, so a component multiplies its shadows with it.
30
+ - With the default 1 nothing changes: fully compatible.
31
+
32
+ ## v26.10.27 (2026-10-27)
33
+
34
+ ### `basic.applyStylePackage`: a package of params
35
+
36
+ A style package can now change a param outside the style too (an icon file, a size, a text). The user's idea (2026-10-27): a package with its own `style` key is a **package of params**: its `style` goes into `params.style` as before, its other keys fill the params that were not given. A package without a `style` key is the style itself, as before, so every existing package works unchanged. Fully compatible.
37
+
38
+ ```javascript
39
+ Tabs.styles.dark = {
40
+ style: { tab: { textColor: "white" } }, // into params.style
41
+ closeIconFile: "tabs/close-white.svg", // into params (when the page did not give it)
42
+ };
43
+ ```
44
+
45
+ - The order is the same on both levels: the params of the page > the package > the defaults; `params.style` > the package's `style` > `Defaults.style`.
46
+ - The package is copied (`mergeIntoIfMissing`; its arrays with `slice()`, because the merge gives an array as it is), so it is never changed.
47
+ - A component whose look is all in flat params (comp-m2 `InputB`) marks its packages with `style: {}`: `InputB.styles.dark = { style: {}, backgroundColor: "#232322", ... }`. Without the mark the keys would go into `params.style`.
48
+ - `comp/input-b.js` uses it now (its own `InputB.applyStylePackage` of 2026-10-26 is gone): it needs v26.10.27.
49
+ - `comp/label-editor.js`: its `dark` package gives `newLabel` a light text color and its own `colorPalette` (a new label was not seen on the dark list): it needs v26.10.27.
50
+ - `test/basic-test.htm`: four checks (the keys fill the params / the style; given params win; the package is not changed; its arrays are copied), 158/158.
51
+
52
+ ---
53
+
54
+ ## v26.10.25 (2026-10-25)
55
+
56
+ ### `minimal`: `border` reads 0
57
+
58
+ basic.css gives a `minimal` Button / Input no border, but `border` still read 1 (the value of a normal one). Now `minimal` sets it to the border of basic.css: 0 when on, 1 when off. A border written on the object (`border: 2`, also before `minimal`) is stronger than the CSS: it stays. Nothing changes on the screen; only the value that is read (found in basic-designer: its panel showed 1, and a change to 1 was "no change").
59
+
60
+ - `test/basic-test.htm`: five checks (minimal Button / Input read 0, off again reads 1, a given border stays, minimal then border 1 writes 1px), 163/163.
61
+
62
+ ### NOT COMPATIBLE: the helpers under `basic.*`, the old `create*` globals removed
63
+
64
+ The user's choice (2026-10-25), the plan of `basic/improvement-ideas.md` §9 done in one step (without a warning version): fewer global names, and names like `createButton` are free for the helpers of pages and components.
65
+
66
+ | Before (global) | Now |
67
+ |---|---|
68
+ | `num(value, "int")` | `basic.num(value, "int")` |
69
+ | `str(value)` | `basic.str(value)` |
70
+ | `isMobile()` | `basic.isMobile()` |
71
+ | `go(url, "_blank")` | `basic.go(url, "_blank")` |
72
+ | `twoDigitFormat(5)` | `basic.twoDigitFormat(5)` |
73
+ | `createBox(l, t, w, h)` | `Box(l, t, w, h)` |
74
+ | `createLabel(...)` | `Label(...)` |
75
+ | `createButton(...)` | `Button(...)` |
76
+ | `createTextBox(...)`, `createInput(...)` | `Input(...)` |
77
+ | `createImage(...)`, `createIcon(...)` | `Icon(...)` |
78
+
79
+ - `Box = withProps(createBox)`: without a props object the two are the same, so the change of a page is only the name.
80
+ - The old functions are kept as `basic.createBox()`, `basic.createLabel()`... (no props).
81
+ - Every page, component and template of the repository was moved (comp-m1 to comp-m4, the samples, `js-data-table`, `js-admin-panel`, the handbook). Not moved: the places with their own basic.js copy (`04-template-m1/todo-app/library/`, the standalone sites, `__projects/`): their copy is the old one, so they keep working.
82
+ - A file that defines its own `createButton` / `createInput` / `createLabel` (the admin panel modules and pages, `stepper.js`, `label-editor.js`, `check-box.js`, `radio-button.js`, `bottom-bar.js`, `modal.js`) was not changed: those calls are its own helper.
83
+ - A component copied out of the repository that calls `basic.num()`... needs this basic.js (v26.10.25).
84
+
85
+ ### `basic.resolveTheme(themes, name)`
86
+
87
+ The colors of a theme for the components with a `theme` param ("light", "dark", "auto"): `Modal`, `Toast`, `ChartBox`. The same five lines were in four places.
88
+
89
+ ```js
90
+ const colors = basic.resolveTheme(Modal.THEMES, "auto"); // "auto": the system setting (light or dark)
91
+ Modal.THEMES.ocean = { background: "#0B2239", title: "#FFFFFF" }; // only the keys that differ
92
+ Modal.alert({ title: "Hi", theme: "ocean" }); // the other keys come from the light theme
93
+ ```
94
+
95
+ - The result is a new object: `themes[name]`, then the missing keys from `themes.light` (like a style package).
96
+ - A name that is not in `themes` writes a warning and gives the light theme (before: the light theme without a warning).
97
+ - `ChartBox` now takes any name in `ChartBox.THEMES` (before: only "light" and "dark").
98
+
99
+ ### `Alpha(color, percent)`
100
+
101
+ `Black(0.5)` and `White(0.5)` for any color:
102
+
103
+ ```js
104
+ Box({ color: Alpha("#456789", 0.5) }); // "rgba(69,103,137,0.5)"
105
+ Label({ textColor: Alpha("#4A7", 0.8) }); // #RGB works too: "rgba(68,170,119,0.8)"
106
+ Box({ border: 1, borderColor: Alpha("tomato", 0.3) });
107
+ Box({ color: Alpha(UI.COLOR_PRIMARY, 0.15) }); // a var(--token) follows the theme (color-mix)
108
+ ```
109
+
110
+ - A hex color (`#RGB`, `#RGBA`, `#RRGGBB`, `#RRGGBBAA`) becomes `rgba(...)`, which works in every browser.
111
+ - Any other color (a name, `rgb()`, `hsl()`, `var(--token)`) becomes `color-mix(in srgb, <color> 50%, transparent)`.
112
+ - An alpha the color already has is multiplied: `Alpha("#00000080", 0.5)` is about 25%.
113
+ - `percent` is 0 to 1, like `Black()`: `0` gives `"transparent"`, `1` (the default) gives the color as it is.
114
+
115
+ `UI.alpha()` of `comp/ui-standards.js` stays (it always writes `color-mix`). It is a new global, so a page that has its own `Alpha` gets the library's one written over by its own (a `function Alpha` or `window.Alpha`) or a SyntaxError (a `const Alpha` / `let Alpha` at the top of a page script); no page of the repository has one.
116
+
117
+ ---
118
+
119
+ ## v26.10.24 (2026-10-24)
120
+
121
+ ### `basic.applyStylePackage(params, packages, defaults)`
122
+
123
+ Every component with style packages (`styleName: "dark"`) began with the same three lines. Now one line does it:
124
+
125
+ ```js
126
+ // before
127
+ const _stylePackage = Tabs.styles[params.styleName || TabsDefaults.styleName];
128
+ if (!_stylePackage) console.warn("Tabs: Style package not found: " + params.styleName);
129
+ mergeIntoIfMissing(params, { style: _stylePackage || {} });
130
+
131
+ // now
132
+ basic.applyStylePackage(params, Tabs.styles, TabsDefaults);
133
+ mergeIntoIfMissing(params, TabsDefaults); // as before: the rest of the defaults (and Defaults.style)
134
+ ```
135
+
136
+ The order is the same: `params.style` > `packages[params.styleName]` (or `defaults.styleName`) > `defaults.style`. A name that is not in `packages` still writes a warning.
137
+
138
+ One thing is new: `params.style` becomes a new object. A package can be given as it is, `Tabs({ style: Tabs.styles.dark })`, and the package is never changed. Before, the merges wrote the missing keys into that object (the package of every Tabs on the page), and a page that changed it (`const myStyle = Tabs.styles.dark; myStyle.indicator.color = "red"`) changed every dark Tabs. To change a few keys of a package, keep writing `styleName: "dark", style: { indicator: { color: "red" } }`.
139
+
140
+ Moved to it: `comp/tabs.js` and `_component-template.js`. The other components keep their three lines (they work the same) and are moved when they are touched. A component that uses it needs basic.js v26.10.24.
141
+
142
+ ---
143
+
144
+ ## v26.10.23 (2026-10-23)
145
+
146
+ For simpler components: the global things of an object are cleaned by its `remove()`, so most components do not override `remove()` any more (42 of 63 components did it only for this). `listen` (the `box.listen` of `PropertyPanel`) and `onHover` (a parameter of `TreeView`) are used by components, so the new methods are `listenTo` and `onHoverChange`.
147
+
148
+ ### Fix: `grow`, `shrink` and `css` in the props of a group
149
+
150
+ A group (`HGroup`, `VGroup`, `AutoLayout`) wrote its flex styles (`alignItems`, `flexGrow`, `flexShrink`...) again after its props, and `VGroup()` wrote `alignItems` once more when it set its flow. So these props were lost without a word:
151
+
152
+ ```js
153
+ VGroup({ align: "left top", css: { alignItems: "stretch" } }); // before: alignItems stayed "flex-start"
154
+ HGroup({ width: "auto", grow: 1 }); // before: flexGrow stayed 0
155
+ ```
156
+
157
+ Now `grow`, `shrink` and `css` are applied after the flex styles. A page that gave them to a group gets what it wrote: in this repository only `comp/time-line.js` (`grow: 1` on the texts) changed, its texts now take the rest of the row (the same place on the screen). `group.css.alignItems = "stretch"` after the group still works.
158
+
159
+ ### Fix: `rotate` keeps the other parts of the transform
160
+
161
+ `obj.rotate = 45` wrote `transform: rotate(45deg)` and threw away a `translateY()` or `scale()` that was in the transform. Now only the `rotate()` part changes, in its place (the order of a transform matters); it is added at the end when it is not there. Alone, the value is the same as before (`rotate(45deg)`), so an animation with `setMotion("transform 0.3s")` still works (the arrows of `TinySelect`, `SmartTable`).
162
+
163
+ A component that writes `elem.style.transform = "..."` itself still replaces the whole value, the rotation too: write the rotation after it, or put both in that string.
164
+
165
+ ### The additions
166
+
167
+
168
+
169
+ For simpler components: the global things of an object are cleaned by its `remove()`, so most components do not
170
+ override `remove()` any more (42 of 63 components did it only for this). `test/basic-test.htm`: 137 checks.
171
+
172
+ | What | Use |
173
+ |---|---|
174
+ | `obj.listenTo(target, event, func, capture)` | an event of `window` / `document` / any element: `func(self, event)`. Returns the remover. Removed by `remove()`. |
175
+ | `obj.onPageResize(func)` | the resize of the window, `func(self, event)`. Removed by `remove()` (`page.onResize` is not). |
176
+ | `obj.after(ms, func)` | `func(self)` once. Returns the cancel function. Stopped by `remove()` (never runs on a removed object). |
177
+ | `obj.every(ms, func)` | `func(self)` again and again. Returns the stop function. Stopped by `remove()`. |
178
+ | `obj.own(other)` | an object made somewhere else (a menu, a popup on `page`) is removed with `obj`. Returns `other`. |
179
+ | `obj.onHoverChange(func)` | `func(self, isOver, event)`: 1 on `mouseenter`, 0 on `mouseleave`. Returns the remover. |
180
+ | `obj.setFocusRing(color)` | a ring only for the keyboard (CSS `:focus-visible`, not after a mouse click). `""`: none. |
181
+ | `basic.isOn(value)` | `1`, `"1"`, `true` -> true. (the `v == 1 \|\| v === true` of the components) |
182
+ | `basic.addCss(id, css, replace)` | a `<style>` once (the same id: nothing, unless `replace`). For `:hover`, `::-webkit-scrollbar`, `@keyframes`... |
183
+ | `createIn(container, func)` | now returns the result of `func`: `const menu = obj.own(createIn(page, function () { return Box(...); }));` |
184
+ | `obj.role` | `"button"`, `"tab"`, `"tree"`... (`""` removes it). On the element that takes the focus (the `<input>` of an Input). |
185
+ | `obj.aria` | `{ label: "Close", selected: true, level: 2 }` -> `aria-label`, `aria-selected`, `aria-level`. Only the given keys change; `true` / `false` -> `"true"` / `"false"`; `null` removes. The getter returns the `aria-*` attributes as an object. |
186
+ | `obj.tabIndex` | `0`: the Tab key reaches it, `-1`: only `focus()` of the code, `null`: the default of the element. |
187
+
188
+ ```js
189
+ const MyComp = function (params = {}) {
190
+ let box = startObject(params);
191
+ box.listenTo(document, "keydown", function (self, event) { if (event.key === "Escape") box.close(); });
192
+ box.onPageResize(function () { box.layout.gap = (page.width < 480) ? 6 : 10; });
193
+ const stop = box.every(1000, function () { box.lblTime.text = new Date().toLocaleTimeString(); });
194
+ box.menu = box.own(createIn(page, function () { return Box(0, 0, 200, 100, { visible: 0 }); }));
195
+ // No remove() override: basic.js removes the listeners, stops the timers and removes box.menu.
196
+ return endObject(box);
197
+ };
198
+ ```
199
+
200
+ ### In the components
201
+
202
+ - `_component-template.js` is written with them (`onPageResize`, `after`, `onHoverChange`, `setFocusRing`, `basic.isOn`; its `remove()` block stays only for what basic.js does not know).
203
+ - comp-m4 was converted on 2026-10-23: 20 of its 31 components have no `remove()` of their own any more. comp-m2 / comp-m3 are converted when they are touched, not all at once.
204
+ - The copies of basic.js in the other folders (`03-webpages/webpage-handbook/basic/` (`_update-copies.sh`), `03-webpages/webpage-basicjs/basic/`, the game, the admin panel demo) do not get these until they are copied again: a component that uses them needs the new basic.js.
205
+
206
+ ---
207
+
208
+ ## v26.09.18 (2026-09-18)
209
+
210
+ `basic/basic.js` v26.09.18 is v26.09.17 (kept as `basic/backup/v26.09.17/basic-bugra.js` and `basic-bugra.min.js`) plus the fixes and additions below.
211
+
212
+
213
+ ### Fixes
214
+
215
+ | v26.09.17 | v26.09.18 |
216
+ |---|---|
217
+ | `box.left = "50%"` became `50px`; `box.width = "100"` was ignored. | Strings work everywhere: `"100"` → `100px`, `"50%"`, `"calc(100% - 10px)"`, `"auto"` are used as is. Numbers behave exactly as before. |
218
+ | Children created inside a hidden group (`VGroup({ visible: 0 })`) were absolutely positioned, not flex items. | Groups remember that they are flex (`_isFlex`); children are flex items even when the group is hidden. |
219
+ | An object created before the page was ready printed an error and then threw a `TypeError`. | Throws `Error("basic.js: The library is not ready yet. Create objects in start() or window.onload.")`. |
220
+ | A page variable named like a library helper (`const createButton = ...`) broke `Button()` with infinite recursion. | The library calls its own functions; page-level names cannot shadow them. |
221
+ | `remove()` left the `setMotion()` / `withMotion()` / `dontMotion()` timers running. | Pending timers of a removed object are cleared. |
222
+ | `ResizeObserver` callback scanned every registration for every resized element. | One list per element (`Map`). Same API: `onResize()`, `remove_onResize()`. |
223
+ | `VGroup({ justify })` — see Groups below. | `justify` wins over the main-axis part of `align`, also after `flow` changes. |
224
+
225
+ `obj.props({...})` now returns the object (chaining); before it returned `undefined`.
226
+
227
+ Fixed in October 2026 (a bug report; `test/basic-test.htm` checks them):
228
+
229
+ | Before | Now |
230
+ |---|---|
231
+ | `mergeIntoIfMissing({}, JSON.parse('{"__proto__": {...}}'))` wrote into `Object.prototype` (every object of the page). | `__proto__`, `constructor` and `prototype` keys are skipped. |
232
+ | A listener added with capture (`on("click", fn, true)` or `{ capture: true }`) stayed after its remover or `remove()`. | The capture value is kept and given to `removeEventListener()`. |
233
+ | The same function on two events: `off("keydown", fn)` removed the click entry and left keydown working. | `off()` matches the event name and the element too; the remover of `on()` removes its own listener. |
234
+ | `animate()` cut by a second `animate()`, or by `remove()`: its Promise never resolved (`await` waited forever). | It resolves (with the object) when it is cut or removed. |
235
+ | `Box("50%", "calc(100% - 20px)", 40, 40)`: the constructor wrote `"50%px"`, so left/top were empty. | The constructors use the same CSS length rule as the setters. |
236
+ | `gap: 2.5` was not applied (only integers got `px`). | Every number gets `px`. |
237
+ | `sound.stop()` on a paused sound did not go back to the start. | `stop()` always sets `currentTime = 0`. |
238
+ | A component created inside another one (nested `startObject`) left `prevThat === that` after the outer one. | The saved `that` is a stack: `prevThat` is the object before the outer component. |
239
+ | `mergeIntoIfMissing` (and `props()`, `startObject()`) replaced an object at the depth limit (the 5th level) with an empty `{}`: the keys under it were lost. | The object is added as it is (by reference). |
240
+ | `basic.storage.save()` / `has()` / `remove()` threw where `localStorage` can not be used (a sandboxed iframe, blocked site data, a full quota) and stopped the calling code. | They do not throw; `save()` returns 1 or 0. |
241
+ | `Sound.load()` a second time kept playing the first file (a changed `<source>` is not read again). Every file but `.mp3` got the type `audio/wav`. | `load()` calls `audio.load()`; the type comes from the extension (`mp3`, `wav`, `ogg`, `m4a`, `aac`, `webm`), none for an unknown one. |
242
+
243
+ ---
244
+
245
+ ### New properties (every object: Box, Label, Button, Input, Icon)
246
+
247
+ All of them work in the props object and as setters after creation.
248
+
249
+ ```js
250
+ Label({
251
+ text: "Title",
252
+ bold: 1, // opensans-bold (the bundled bold font). With another fontFamily: font-weight bold.
253
+ italic: 1,
254
+ fontFamily: "opensans", // "opensans" (default), "opensans-bold", or any font name
255
+ lineHeight: 24, // number -> px, string as is ("1.4" = 1.4 x font size)
256
+ ellipsis: 1, // one line, "..." when the text does not fit the width
257
+ selectable: 1, // the user can select and copy the text (basic.css turns this off)
258
+ cursor: "pointer",
259
+ zIndex: 10, // getter returns 0 when not set
260
+ boxShadow: "0 2px 8px rgba(0, 0, 0, 0.2)",
261
+ css: { whiteSpace: "nowrap", letterSpacing: "1px" }, // raw CSS without touching .elem
262
+ });
263
+
264
+ that.css.textTransform = "uppercase"; // .css is the style object
265
+ that.css = "text-decoration: underline"; // a CSS string is appended
266
+
267
+ // Inside an HGroup / VGroup: fill the free space
268
+ Box({ width: 10, height: "100%", grow: 1 }); // flex-grow
269
+ Box({ width: 300, height: "100%", shrink: 1 }); // flex-shrink
270
+
271
+ // User data: .text is innerHTML, .plainText is textContent
272
+ lbl.plainText = userName; // "<b>x</b>" is shown literally
273
+ lbl.text = basic.escapeHtml(userName); // the same, when you need .text
274
+
275
+ box.children; // [basic.js objects directly inside box]
276
+ box.isRemoved; // 1 after remove()
277
+ ```
278
+
279
+ ### New methods (every object)
280
+
281
+ ```js
282
+ box.show(); box.hide(); box.toggle(); // visible = 1 / 0 / flip. They return the object (chaining).
283
+ box.setSize(200, "50%"); box.setPosition(10, 20);
284
+ box.bringToFront(); // zIndex = highest sibling + 1 (DOM order unchanged)
285
+ box.contains(otherObj); // otherObj is inside box (any depth)
286
+ box.once("click", (self, event) => {}); // like on(), runs one time. Returns the remover.
287
+
288
+ // animate(): a Promise. The transition set by setMotion() is restored when it ends.
289
+ await box.animate({ left: 100, opacity: 0.5 }, 300); // duration ms, easing "ease" (default)
290
+ box.animate({ width: 200 }, 500, "ease-out").then(self => {});
291
+ ```
292
+
293
+ ### Input
294
+
295
+ ```js
296
+ const inp = Input(0, 0, 240, 44, {
297
+ placeholder: "E-mail",
298
+ inputType: "email", // "text", "password", "number", "email", "tel", "search", "url"
299
+ maxLength: 64, // 0 = no limit
300
+ readOnly: 0,
301
+ });
302
+ inp.value = "a@b.com"; // = .text
303
+ inp.focus(); inp.blur(); inp.select();
304
+ const remove = inp.onEnter((self, event) => send(self.value)); // Enter key only
305
+ inp.remove_onEnter(fn); // or call the returned remover
306
+ ```
307
+
308
+ `bold`, `italic`, `fontFamily`, `lineHeight`, `ellipsis`, `cursor` of an Input go to its `<input>` element (like `fontSize`, `textColor`).
309
+
310
+ ### Label
311
+
312
+ ```js
313
+ Label({ text: "Çığ gibi", fontSize: 40, height: 44, clipContent: 0 }); // the letters out of the line box (g, ş, ğ) are not cut
314
+ that.clipContent = 1; // default: the text is cut at the edges of the label (basic.css: overflow hidden)
315
+ ```
316
+
317
+ `clipContent: 0` also shows a text that does not fit (it goes out of the label). `ellipsis: 1` always cuts, `"..."` needs it.
318
+ Only Label (and Box, as before) has it: a Button's lift or shadow is cut by the Box it is in, so give that Box `clipContent: 0`.
319
+
320
+ **Every Box and every group (HGroup / VGroup / AutoLayout) cuts by default** (`clipContent: 1`, `overflow: hidden`). Anything that goes past the edge is cut: a button or a picture that lifts / grows under the mouse (`translateY`, `scale`), a `boxShadow`, a glow, a focus outline, an object that slides in. A group as high as its content (`height: "auto"`, `hug: 1`) cuts a lifted button at once. Give the groups around moving objects `clipContent: 0`, and check every box up to the page (one that cuts is enough). Keep `1` only where cutting is the point (round picture frames, a background picture, a scrolling list).
321
+
322
+ ### Icon
323
+
324
+ ```js
325
+ Icon(0, 0, 80, 80, { alt: "Product photo", imageFit: "cover" }); // object-fit: cover | contain | fill | none | scale-down
326
+ that.load("img/photo.png"); // without alt, load() writes the path as alt (previous behaviour)
327
+ ```
328
+
329
+ ### Groups (HGroup, VGroup, AutoLayout)
330
+
331
+ ```js
332
+ HGroup({ hug: 1, gap: 8 }); // the group wraps its content (width/height "auto")
333
+ // "hug" is the new name of "fit"; fit: 1 still works and
334
+ // group.hug / group.fit both read 1 afterwards
335
+ HGroup({ wrap: 1, gap: 8 }); // items continue on the next line when there is no space
336
+ HGroup({ justify: "space-between" }); // main axis: "space-between", "space-around", "space-evenly",
337
+ VGroup({ justify: "bottom" }); // "left" / "top" / "start", "center", "right" / "bottom" / "end"
338
+ group.wrap = 0; group.justify = "center"; // setters, like .flow / .align / .gap
339
+ ```
340
+
341
+ `justify` overrides the main-axis part of `align`; `align` keeps controlling the cross axis.
342
+
343
+ ### createIn() — create objects inside an existing box
344
+
345
+ ```js
346
+ // After a component is created, add rows to its list box:
347
+ createIn(box.list, function (container) { // container === box.list
348
+ Label({ text: "Row 1" });
349
+ Label({ text: "Row 2" });
350
+ });
351
+ // The default container is restored afterwards (also when the function throws).
352
+ ```
353
+
354
+ Safe replacement for the `setDefaultContainerBox(container)` ... `setDefaultContainerBox(previous)` pattern (the comp-m4 components had their own local `createIn`; it is now in the library).
355
+
356
+ The function has its own start/end stack: a group started and ended inside it goes back to `container`, also when `createIn()` is called while a box of the caller is still open (between a `startBox()` and its `endBox()`). Fixed on 2026-10-05: before, the first `endGroup()` inside went back to the caller's open box and the next objects were created there (the second row of a list landed on the page).
357
+
358
+ ### page
359
+
360
+ ```js
361
+ page.title = "My App"; // document.title
362
+ const remove = page.on("keydown", (self, event) => {}); // window events, returns the remover
363
+ page.off("keydown", fn);
364
+ page.onKeyDown(fn); page.remove_onKeyDown(fn);
365
+ ```
366
+
367
+ ### basic.*
368
+
369
+ ```js
370
+ basic.version // "26.09.18"
371
+ basic.library // "basic.js"
372
+ basic.isReady // 1 after the page object exists (before start() runs)
373
+ await basic.sleep(300);
374
+ await basic.nextFrame(); // the browser painted once
375
+ basic.clamp(value, min, max);
376
+ basic.lerp(a, b, t); // t = 0 -> a, t = 1 -> b
377
+ basic.objectOf(element); // the basic.js object of a DOM element (or of its nearest parent)
378
+ basic.escapeHtml(text);
379
+ basic.storage.loadOr("settings", { theme: "light" });
380
+ ```
381
+
382
+ ---
383
+
384
+ ### Compatibility check
385
+
386
+ - 137 sample and template pages of this repository were loaded in headless Chrome with v26.09.17 and with v26.09.18. The normalized DOM (tags, classes, inline styles, texts) was **identical on all 137 pages**; there was no new console error.
387
+ - `test/basic-test.htm` runs 87 checks (old API, fixes, every new feature) with the source and with the min file: all pass.
388
+
389
+ ---
390
+
391
+ ## Maintenance
392
+
393
+ - `basic/basic.js` is the maintained source. After editing it, rebuild the min file:
394
+ ```
395
+ npx terser basic/basic.js --compress --mangle --comments "/Bismillah|basic\.js \(v/" -o basic/basic.min.js
396
+ ```
397
+ then open `test/basic-test.htm` (the source) and the same page with `basic.min.js`: the tab title must say `ALL PASS`.
398
+ - A new change: the version in the header of `basic/basic.js` and in `basic.version` (and the check of `basic.version` in `test/basic-test.htm`), a section here, a line in `__handbook/*/00-what-is-new.md`.
399
+ - The timer checks of the test wait for their result (up to 4 s), not for a fixed time: Chrome slows the timers of a tab in the background down to about 1 s.
400
+ - `basic/backup/v26.09.17/basic-bugra.js` is frozen at v26.09.17 for reference; do not edit it.
401
+ - `experimental/_make_basic_ai.py` is the script that derived v26.09.18 from v26.09.17 (anchored text edits). It is kept as a record of the changes; it writes to `basic/basic-regenerated.js` by default and must not overwrite `basic.js`.
402
+ - Template folders that keep their own copy of the library (`04-template-m1/todo-app/library/`) keep their old version on purpose.
@@ -0,0 +1,81 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <base href="../../"><!-- This page uses the paths of a page at the root of the project. -->
5
+
6
+ <title>ActionButton</title>
7
+
8
+ <meta charset="UTF-8">
9
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
10
+
11
+ <!-- LIBRARY FILES -->
12
+ <link rel="stylesheet" type="text/css" href="_basic/basic/basic.css">
13
+ <script src="_basic/basic/basic.js" type="text/javascript" charset="utf-8"></script>
14
+
15
+ <!-- COMPONENT -->
16
+ <script src="_basic/comp/action-button.js" type="text/javascript" charset="utf-8"></script>
17
+
18
+ <script>
19
+
20
+ /* Bismillah */
21
+
22
+ // SAMPLE: ActionButton (comp/action-button.js), the new version of comp-m1/ui-action-button.js
23
+ // (02-comp-m1-samples/ui-action-button.htm) with the same look. Above it: styleName "ozden".
24
+
25
+ const ACTIONS = [
26
+ { key: "photo", labelText: "Take a Photo" },
27
+ { key: "gallery", labelText: "Add from Gallery" },
28
+ { key: "url", labelText: "Add from URL" },
29
+ ];
30
+
31
+ // *** VARIABLES:
32
+ let fab, fabOzden, lblAction, btnAnimated;
33
+
34
+ const start = function () {
35
+
36
+ page.color = "whitesmoke";
37
+
38
+ // LABEL: What onAction gives
39
+ lblAction = Label({ left: 40, top: 40, text: "Click the yellow button at the bottom right.", fontSize: 16, textColor: Black(0.5) });
40
+
41
+ // BUTTON: animated on / off (context/basic-js-animated-rules.md)
42
+ btnAnimated = Button({ left: 40, top: 80, width: 160, height: 40, fontSize: 15, text: "animated: 1" });
43
+ btnAnimated.on("click", toggleAnimated);
44
+
45
+ // ACTION BUTTON
46
+ fab = ActionButton({
47
+ items: ACTIONS,
48
+ animated: 1,
49
+ onAction: showAction,
50
+ });
51
+
52
+ // ACTION BUTTON: styleName "ozden" (animated: 1 is in the package), above the yellow one
53
+ fabOzden = ActionButton({
54
+ styleName: "ozden",
55
+ bottomSpace: 160,
56
+ rightSpace: 53, // WHY: 64 px button: its middle in one line with the 90 px yellow one.
57
+ items: ACTIONS,
58
+ onAction: showAction,
59
+ });
60
+
61
+ };
62
+
63
+ // *** OTHER FUNCTIONS:
64
+
65
+ const showAction = function (key) {
66
+ lblAction.text = "onAction: " + key;
67
+ };
68
+
69
+ const toggleAnimated = function () {
70
+ const value = (fab.animated) ? 0 : 1;
71
+ fab.setAnimated(value);
72
+ fabOzden.setAnimated(value);
73
+ btnAnimated.text = "animated: " + value;
74
+ };
75
+
76
+ </script>
77
+
78
+ </head>
79
+ <body>
80
+ </body>
81
+ </html>