@twobirds/microcomponents 0.1.1 → 0.1.3

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 (343) hide show
  1. package/dist/MC.d.ts +0 -1
  2. package/dist/MC.js +6 -5
  3. package/dist/MC.min.js +39 -56
  4. package/dist/MC.ts +6 -4
  5. package/dist/elements.d.ts +0 -1
  6. package/dist/elements.js +0 -1
  7. package/dist/elements.min.js +1 -1
  8. package/dist/formValues.d.ts +0 -1
  9. package/dist/formValues.js +0 -1
  10. package/dist/formValues.min.js +1 -1
  11. package/dist/helpers.d.ts +0 -1
  12. package/dist/helpers.js +0 -1
  13. package/dist/microcomponents.d.ts +0 -1
  14. package/dist/microcomponents.js +0 -1
  15. package/dist/microcomponents.min.js +1 -1
  16. package/dist/observables.d.ts +0 -1
  17. package/dist/observables.js +0 -1
  18. package/dist/observables.min.js +1 -1
  19. package/package.json +10 -2
  20. package/.gitlab-ci.yml +0 -18
  21. package/.vscode/settings.json +0 -3
  22. package/MicroComponents.svg +0 -15
  23. package/assets/documentation/MC.md +0 -547
  24. package/assets/documentation/MicroComponents.svg +0 -15
  25. package/assets/documentation/ajaxian-1.png +0 -0
  26. package/assets/documentation/ajaxian-2.png +0 -0
  27. package/assets/documentation/ajaxian-3.png +0 -0
  28. package/assets/documentation/elements.md +0 -277
  29. package/assets/documentation/formvalues.md +0 -25
  30. package/assets/documentation/functional_requirements.md +0 -8
  31. package/assets/documentation/history.md +0 -436
  32. package/assets/documentation/klemmstein.png +0 -0
  33. package/assets/documentation/magic.md +0 -29
  34. package/assets/documentation/observables.md +0 -187
  35. package/assets/documentation/rnd0023-1.jpg +0 -0
  36. package/assets/documentation/rnd0023-2.jpg +0 -0
  37. package/assets/documentation/rnd0023-3.jpg +0 -0
  38. package/assets/documentation/tB_react.md +0 -207
  39. package/assets/documentation/usage.md +0 -142
  40. package/assets/documentation/why.md +0 -25
  41. package/assets/fiddle/MicroComponents.svg +0 -15
  42. package/assets/fiddle/fiddle.css +0 -0
  43. package/assets/fiddle/fiddle.js +0 -0
  44. package/assets/fiddle/index.html +0 -0
  45. package/assets/test/MicroComponents.svg +0 -15
  46. package/assets/test/grandparent.css +0 -16
  47. package/assets/test/myButton.css +0 -19
  48. package/assets/test/style.css +0 -8
  49. package/assets/test/test.html +0 -29
  50. package/assets/test/testform.json +0 -27
  51. package/dist/MC.d.ts.map +0 -1
  52. package/dist/elements.d.ts.map +0 -1
  53. package/dist/formValues.d.ts.map +0 -1
  54. package/dist/helpers.d.ts.map +0 -1
  55. package/dist/microcomponents.d.ts.map +0 -1
  56. package/dist/observables.d.ts.map +0 -1
  57. package/public/.nojekyll +0 -1
  58. package/public/MC.d.ts +0 -39
  59. package/public/MC.d.ts.map +0 -1
  60. package/public/MC.js +0 -287
  61. package/public/MC.js.map +0 -1
  62. package/public/MC.min.js +0 -348
  63. package/public/MC.ts +0 -431
  64. package/public/MicroComponents.svg +0 -15
  65. package/public/documentation/MC.md +0 -547
  66. package/public/documentation/MicroComponents.svg +0 -15
  67. package/public/documentation/ajaxian-1.png +0 -0
  68. package/public/documentation/ajaxian-2.png +0 -0
  69. package/public/documentation/ajaxian-3.png +0 -0
  70. package/public/documentation/elements.md +0 -277
  71. package/public/documentation/formvalues.md +0 -25
  72. package/public/documentation/functional_requirements.md +0 -8
  73. package/public/documentation/history.md +0 -436
  74. package/public/documentation/klemmstein.png +0 -0
  75. package/public/documentation/magic.md +0 -29
  76. package/public/documentation/observables.md +0 -187
  77. package/public/documentation/rnd0023-1.jpg +0 -0
  78. package/public/documentation/rnd0023-2.jpg +0 -0
  79. package/public/documentation/rnd0023-3.jpg +0 -0
  80. package/public/documentation/tB_react.md +0 -207
  81. package/public/documentation/usage.md +0 -142
  82. package/public/documentation/why.md +0 -25
  83. package/public/elements.d.ts +0 -5
  84. package/public/elements.d.ts.map +0 -1
  85. package/public/elements.js +0 -68
  86. package/public/elements.js.map +0 -1
  87. package/public/elements.min.js +0 -1
  88. package/public/elements.ts +0 -119
  89. package/public/fiddle/MicroComponents.svg +0 -15
  90. package/public/fiddle/fiddle.css +0 -0
  91. package/public/fiddle/fiddle.js +0 -0
  92. package/public/fiddle/index.html +0 -0
  93. package/public/formValues.d.ts +0 -3
  94. package/public/formValues.d.ts.map +0 -1
  95. package/public/formValues.js +0 -162
  96. package/public/formValues.js.map +0 -1
  97. package/public/formValues.min.js +0 -1
  98. package/public/formValues.ts +0 -225
  99. package/public/helpers.d.ts +0 -14
  100. package/public/helpers.d.ts.map +0 -1
  101. package/public/helpers.js +0 -113
  102. package/public/helpers.js.map +0 -1
  103. package/public/helpers.ts +0 -149
  104. package/public/microcomponents.d.ts +0 -6
  105. package/public/microcomponents.d.ts.map +0 -1
  106. package/public/microcomponents.js +0 -7
  107. package/public/microcomponents.js.map +0 -1
  108. package/public/microcomponents.min.js +0 -1
  109. package/public/microcomponents.ts +0 -8
  110. package/public/observables.d.ts +0 -11
  111. package/public/observables.d.ts.map +0 -1
  112. package/public/observables.js +0 -244
  113. package/public/observables.js.map +0 -1
  114. package/public/observables.min.js +0 -1
  115. package/public/observables.ts +0 -416
  116. package/public/selectors._ts +0 -1269
  117. package/public/src/MC.d.ts +0 -39
  118. package/public/src/MC.d.ts.map +0 -1
  119. package/public/src/MC.js +0 -287
  120. package/public/src/MC.js.map +0 -1
  121. package/public/src/MC.ts +0 -431
  122. package/public/src/elements.d.ts +0 -5
  123. package/public/src/elements.d.ts.map +0 -1
  124. package/public/src/elements.js +0 -68
  125. package/public/src/elements.js.map +0 -1
  126. package/public/src/elements.ts +0 -119
  127. package/public/src/formValues.d.ts +0 -3
  128. package/public/src/formValues.d.ts.map +0 -1
  129. package/public/src/formValues.js +0 -162
  130. package/public/src/formValues.js.map +0 -1
  131. package/public/src/formValues.ts +0 -225
  132. package/public/src/helpers.d.ts +0 -14
  133. package/public/src/helpers.d.ts.map +0 -1
  134. package/public/src/helpers.js +0 -113
  135. package/public/src/helpers.js.map +0 -1
  136. package/public/src/helpers.ts +0 -149
  137. package/public/src/microcomponents.d.ts +0 -6
  138. package/public/src/microcomponents.d.ts.map +0 -1
  139. package/public/src/microcomponents.js +0 -7
  140. package/public/src/microcomponents.js.map +0 -1
  141. package/public/src/microcomponents.ts +0 -8
  142. package/public/src/observables.d.ts +0 -11
  143. package/public/src/observables.d.ts.map +0 -1
  144. package/public/src/observables.js +0 -244
  145. package/public/src/observables.js.map +0 -1
  146. package/public/src/observables.ts +0 -416
  147. package/public/src/selectors._ts +0 -1269
  148. package/public/src/test/grandparent.css +0 -14
  149. package/public/src/test/test/child.d.ts +0 -2
  150. package/public/src/test/test/child.d.ts.map +0 -1
  151. package/public/src/test/test/child.js +0 -26
  152. package/public/src/test/test/child.js.map +0 -1
  153. package/public/src/test/test/child.ts +0 -36
  154. package/public/src/test/test/grandchild.d.ts +0 -2
  155. package/public/src/test/test/grandchild.d.ts.map +0 -1
  156. package/public/src/test/test/grandchild.js +0 -22
  157. package/public/src/test/test/grandchild.js.map +0 -1
  158. package/public/src/test/test/grandchild.ts +0 -31
  159. package/public/src/test/test/grandparent.d.ts +0 -2
  160. package/public/src/test/test/grandparent.d.ts.map +0 -1
  161. package/public/src/test/test/grandparent.js +0 -1
  162. package/public/src/test/test/grandparent.js.map +0 -1
  163. package/public/src/test/test/grandparent.ts +0 -43
  164. package/public/src/test/test/greatgrandchild.d.ts +0 -2
  165. package/public/src/test/test/greatgrandchild.d.ts.map +0 -1
  166. package/public/src/test/test/greatgrandchild.js +0 -36
  167. package/public/src/test/test/greatgrandchild.js.map +0 -1
  168. package/public/src/test/test/greatgrandchild.ts +0 -51
  169. package/public/src/test/test/parent.d.ts +0 -2
  170. package/public/src/test/test/parent.d.ts.map +0 -1
  171. package/public/src/test/test/parent.js +0 -25
  172. package/public/src/test/test/parent.js.map +0 -1
  173. package/public/src/test/test/parent.ts +0 -35
  174. package/public/src/test/test/testform.d.ts +0 -2
  175. package/public/src/test/test/testform.d.ts.map +0 -1
  176. package/public/src/test/test/testform.js +0 -1
  177. package/public/src/test/test/testform.js.map +0 -1
  178. package/public/src/test/test/testform.ts +0 -153
  179. package/public/src/test/test/testfunction.d.ts +0 -3
  180. package/public/src/test/test/testfunction.d.ts.map +0 -1
  181. package/public/src/test/test/testfunction.js +0 -7
  182. package/public/src/test/test/testfunction.js.map +0 -1
  183. package/public/src/test/test/testfunction.ts +0 -12
  184. package/public/src/test/test/testmc.d.ts +0 -3
  185. package/public/src/test/test/testmc.d.ts.map +0 -1
  186. package/public/src/test/test/testmc.js +0 -10
  187. package/public/src/test/test/testmc.js.map +0 -1
  188. package/public/src/test/test/testmc.ts +0 -16
  189. package/public/src/test/test/testsimpleclass.d.ts +0 -3
  190. package/public/src/test/test/testsimpleclass.d.ts.map +0 -1
  191. package/public/src/test/test/testsimpleclass.js +0 -9
  192. package/public/src/test/test/testsimpleclass.js.map +0 -1
  193. package/public/src/test/test/testsimpleclass.ts +0 -15
  194. package/public/src/test/test.d.ts +0 -2
  195. package/public/src/test/test.d.ts.map +0 -1
  196. package/public/src/test/test.js +0 -72
  197. package/public/src/test/test.js.map +0 -1
  198. package/public/src/test/test.ts +0 -176
  199. package/public/src/test/testform.css +0 -47
  200. package/public/src/test/testform.html +0 -56
  201. package/public/src/test/testform.json +0 -27
  202. package/public/test/MC.d.ts +0 -39
  203. package/public/test/MC.d.ts.map +0 -1
  204. package/public/test/MC.js +0 -287
  205. package/public/test/MC.min.js +0 -348
  206. package/public/test/MC.ts +0 -431
  207. package/public/test/MicroComponents.svg +0 -15
  208. package/public/test/elements.d.ts +0 -5
  209. package/public/test/elements.d.ts.map +0 -1
  210. package/public/test/elements.js +0 -68
  211. package/public/test/elements.min.js +0 -1
  212. package/public/test/elements.ts +0 -119
  213. package/public/test/formValues.d.ts +0 -3
  214. package/public/test/formValues.d.ts.map +0 -1
  215. package/public/test/formValues.js +0 -162
  216. package/public/test/formValues.min.js +0 -1
  217. package/public/test/formValues.ts +0 -225
  218. package/public/test/grandparent.css +0 -14
  219. package/public/test/helpers.d.ts +0 -14
  220. package/public/test/helpers.d.ts.map +0 -1
  221. package/public/test/helpers.js +0 -113
  222. package/public/test/helpers.ts +0 -149
  223. package/public/test/microcomponents.d.ts +0 -6
  224. package/public/test/microcomponents.d.ts.map +0 -1
  225. package/public/test/microcomponents.js +0 -7
  226. package/public/test/microcomponents.min.js +0 -1
  227. package/public/test/microcomponents.ts +0 -8
  228. package/public/test/myButton.css +0 -19
  229. package/public/test/observables.d.ts +0 -11
  230. package/public/test/observables.d.ts.map +0 -1
  231. package/public/test/observables.js +0 -244
  232. package/public/test/observables.min.js +0 -1
  233. package/public/test/observables.ts +0 -416
  234. package/public/test/style.css +0 -8
  235. package/public/test/test/child.d.ts +0 -2
  236. package/public/test/test/child.d.ts.map +0 -1
  237. package/public/test/test/child.js +0 -26
  238. package/public/test/test/child.js.map +0 -1
  239. package/public/test/test/child.ts +0 -36
  240. package/public/test/test/grandchild.d.ts +0 -2
  241. package/public/test/test/grandchild.d.ts.map +0 -1
  242. package/public/test/test/grandchild.js +0 -22
  243. package/public/test/test/grandchild.js.map +0 -1
  244. package/public/test/test/grandchild.ts +0 -31
  245. package/public/test/test/grandparent.d.ts +0 -2
  246. package/public/test/test/grandparent.d.ts.map +0 -1
  247. package/public/test/test/grandparent.js +0 -1
  248. package/public/test/test/grandparent.js.map +0 -1
  249. package/public/test/test/grandparent.ts +0 -43
  250. package/public/test/test/greatgrandchild.d.ts +0 -2
  251. package/public/test/test/greatgrandchild.d.ts.map +0 -1
  252. package/public/test/test/greatgrandchild.js +0 -36
  253. package/public/test/test/greatgrandchild.js.map +0 -1
  254. package/public/test/test/greatgrandchild.ts +0 -51
  255. package/public/test/test/parent.d.ts +0 -2
  256. package/public/test/test/parent.d.ts.map +0 -1
  257. package/public/test/test/parent.js +0 -25
  258. package/public/test/test/parent.js.map +0 -1
  259. package/public/test/test/parent.ts +0 -35
  260. package/public/test/test/testform.d.ts +0 -2
  261. package/public/test/test/testform.d.ts.map +0 -1
  262. package/public/test/test/testform.js +0 -1
  263. package/public/test/test/testform.js.map +0 -1
  264. package/public/test/test/testform.ts +0 -153
  265. package/public/test/test/testfunction.d.ts +0 -3
  266. package/public/test/test/testfunction.d.ts.map +0 -1
  267. package/public/test/test/testfunction.js +0 -7
  268. package/public/test/test/testfunction.js.map +0 -1
  269. package/public/test/test/testfunction.ts +0 -12
  270. package/public/test/test/testmc.d.ts +0 -3
  271. package/public/test/test/testmc.d.ts.map +0 -1
  272. package/public/test/test/testmc.js +0 -10
  273. package/public/test/test/testmc.js.map +0 -1
  274. package/public/test/test/testmc.ts +0 -16
  275. package/public/test/test/testsimpleclass.d.ts +0 -3
  276. package/public/test/test/testsimpleclass.d.ts.map +0 -1
  277. package/public/test/test/testsimpleclass.js +0 -9
  278. package/public/test/test/testsimpleclass.js.map +0 -1
  279. package/public/test/test/testsimpleclass.ts +0 -15
  280. package/public/test/test.d.ts +0 -2
  281. package/public/test/test.d.ts.map +0 -1
  282. package/public/test/test.html +0 -29
  283. package/public/test/test.js +0 -72
  284. package/public/test/test.js.map +0 -1
  285. package/public/test/test.ts +0 -176
  286. package/public/test/testform.css +0 -47
  287. package/public/test/testform.html +0 -56
  288. package/public/test/testform.json +0 -27
  289. package/public/typedoc/.nojekyll +0 -1
  290. package/public/typedoc/assets/highlight.css +0 -106
  291. package/public/typedoc/assets/icons.js +0 -18
  292. package/public/typedoc/assets/icons.svg +0 -1
  293. package/public/typedoc/assets/main.js +0 -60
  294. package/public/typedoc/assets/navigation.js +0 -1
  295. package/public/typedoc/assets/search.js +0 -1
  296. package/public/typedoc/assets/style.css +0 -1493
  297. package/public/typedoc/classes/MC.DC.html +0 -13
  298. package/public/typedoc/classes/MC.MC.html +0 -3
  299. package/public/typedoc/classes/MC.McBase.html +0 -3
  300. package/public/typedoc/functions/MC.autoload.html +0 -1
  301. package/public/typedoc/functions/MC.off.html +0 -1
  302. package/public/typedoc/functions/MC.on.html +0 -1
  303. package/public/typedoc/functions/MC.one.html +0 -1
  304. package/public/typedoc/functions/MC.trigger.html +0 -1
  305. package/public/typedoc/functions/elements.defineCE.html +0 -1
  306. package/public/typedoc/functions/elements.getCE.html +0 -1
  307. package/public/typedoc/functions/formValues.formValues.html +0 -1
  308. package/public/typedoc/functions/observables.observe.html +0 -1
  309. package/public/typedoc/hierarchy.html +0 -1
  310. package/public/typedoc/index.html +0 -122
  311. package/public/typedoc/interfaces/MC.HTMLMcElement.html +0 -758
  312. package/public/typedoc/media/MicroComponents.svg +0 -15
  313. package/public/typedoc/modules/MC.html +0 -10
  314. package/public/typedoc/modules/elements.html +0 -3
  315. package/public/typedoc/modules/formValues.html +0 -2
  316. package/public/typedoc/modules/observables.html +0 -3
  317. package/public/typedoc/modules.html +0 -5
  318. package/public/typedoc/types/observables.Observable.html +0 -1
  319. package/src/MC.ts +0 -431
  320. package/src/elements.ts +0 -119
  321. package/src/formValues.ts +0 -225
  322. package/src/helpers.ts +0 -149
  323. package/src/microcomponents.ts +0 -8
  324. package/src/observables.ts +0 -416
  325. package/src/selectors._ts +0 -1269
  326. package/src/test/grandparent.css +0 -14
  327. package/src/test/test/child.ts +0 -36
  328. package/src/test/test/grandchild.ts +0 -31
  329. package/src/test/test/grandparent.ts +0 -43
  330. package/src/test/test/greatgrandchild.ts +0 -51
  331. package/src/test/test/parent.ts +0 -35
  332. package/src/test/test/testform.ts +0 -153
  333. package/src/test/test/testfunction.ts +0 -12
  334. package/src/test/test/testmc.ts +0 -16
  335. package/src/test/test/testsimpleclass.ts +0 -15
  336. package/src/test/test.ts +0 -176
  337. package/src/test/testform.css +0 -47
  338. package/src/test/testform.html +0 -56
  339. package/src/test/testform.json +0 -27
  340. package/tasks.md +0 -36
  341. package/tsconfig.json +0 -107
  342. package/typedoc.json +0 -7
  343. package/webpack.config.js +0 -346
@@ -1,56 +0,0 @@
1
- <!-- test form -->
2
- <fieldset>
3
- <legend>Inputs</legend>
4
- <label>text</label><input type="text" name="textInput" value="" />&nbsp;<strong>2wB:&nbsp;</strong>{textInput}
5
- <label>color</label><input type="color" name="colorInput" value="" />
6
- <label>date</label><input type="date" name="dateInput" value="" />
7
- <label>datetime-local</label><input type="datetime-local" name="dtlInput" value="" />
8
- <label>email</label><input type="email" name="email" value="" />
9
- <label>file</label><input type="file" name="fileInput" value="" />
10
- <label>hidden</label><input type="hidden" name="hiddenInput" value="hiddenVal" />
11
- <label>month</label><input type="month" name="month" value="" />
12
- <label>number</label><input type="number" name="number" value="" />
13
- <label>password</label><input type="password" name="passInput" value="" />
14
- <label>range</label><input type="range" name="rangeInput" value="" />
15
- <label>search</label><input type="search" name="searchInput" value="" />
16
- <label>tel</label><input type="tel" name="telInput" value="" />
17
- <label>time</label><input type="time" name="timeInput" value="" />
18
- <label>url</label><input type="url" name="urlInput" value="" />
19
- <label>week</label><input type="week" name="weekInput" value="" />
20
- </fieldset>
21
- <fieldset>
22
- <legend>Selects</legend>
23
- <label>singleSelect</label>
24
- <select name="singleSelect">
25
- <option disabled selected value> -- select -- </option>
26
- <option value="1">Option 1</option>
27
- <option value="2">Option 2</option>
28
- <option value="3">Option 3</option>
29
- <option value="4">Option 4</option>
30
- </select>
31
- <label>multiSelect</label>
32
- <select name="multiSelect" multiple="multiple" type="select-multiple">
33
- <option value="1">Option 1</option>
34
- <option value="2" selected=true>Option 2</option>
35
- <option value="3">Option 3</option>
36
- <option value="4" selected=true>Option 4</option>
37
- </select>
38
- </fieldset>
39
- <fieldset>
40
- <legend>Radiobuttons&nbsp;<strong>2wB:&nbsp;</strong>{myRadio}</legend>
41
- <label>radio1</label><input type="radio" name="myRadio" value="radio1">
42
- <label>radio2</label><input type="radio" name="myRadio" value="radio2">
43
- <label>radio3</label><input type="radio" name="myRadio" value="radio3">
44
- </fieldset>
45
- <fieldset>
46
- <legend>Checkboxes</legend>
47
- <label>cb1</label><input type="checkbox" name="cb1">
48
- <label>cb2</label><input type="checkbox" name="cb2">
49
- <label>cb3</label><input type="checkbox" name="cb3">
50
- <label>cb4</label><input type="checkbox" name="cb4">
51
- <label>cb5</label><input type="checkbox" name="cb5">
52
- </fieldset>
53
- <fieldset>
54
- <legend>TextArea</legend>
55
- <label>textArea</label><textarea name="textArea"></textarea>
56
- </fieldset>
@@ -1,27 +0,0 @@
1
- {
2
- "textInput":"Hallo Welt",
3
- "colorInput":"#eaf8f8",
4
- "dateInput":"",
5
- "dtlInput":"",
6
- "email":"",
7
- "hiddenInput":"",
8
- "hiddenVal":"",
9
- "month":"",
10
- "number":"",
11
- "passInput":"",
12
- "rangeInput":"30",
13
- "searchInput":"",
14
- "telInput":"",
15
- "timeInput":"",
16
- "urlInput":"",
17
- "weekInput":"",
18
- "myRadio":"radio3",
19
- "cb1":true,
20
- "cb2":false,
21
- "cb3":true,
22
- "cb4":false,
23
- "cb5":false,
24
- "singleSelect":"",
25
- "multiSelect":["2","4"],
26
- "textArea":"This is some example\rtext..."
27
- }
package/tasks.md DELETED
@@ -1,36 +0,0 @@
1
- ## tasks / higher prio:
2
-
3
- [.] overhaul autoload to include _mc attribute defined MCs into customElements() repository
4
-
5
- [ ] move .trigger() to McBase class / ongoing
6
-
7
- [ ] overhaul McEvents, throw out object, implement functional
8
-
9
- ## tasks / SW debts:
10
-
11
- [ ] autoload tutorial
12
-
13
- ## backlog:
14
-
15
- [ ] make skeleton project for TS site w/ ESM import
16
-
17
- [ ] test ESM import functionality in VSCode
18
-
19
- [ ] make skeleton project for TS site w/ ESM import & webpack build
20
-
21
- [ ] test ESM import functionality in VSCode
22
-
23
- [ ] make monorepo test page
24
-
25
- ## done:
26
-
27
- [x] eliminate those pesky "that" constants, check for "const" being "let" variables
28
-
29
- [x] test: use customRegistry to carry non-"web components" / check .whenDefined()
30
-
31
- [x] HF placeholder handling
32
-
33
- [x] make skeleton project for build-less JS site w/ ESM import
34
-
35
- [x] test ESM import functionality in VSCode and modular autoload
36
-
package/tsconfig.json DELETED
@@ -1,107 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- /* Visit https://aka.ms/tsconfig to read more about this file */
4
-
5
- /* Projects */
6
- // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
7
- ///////"composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
8
- // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
9
- // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
10
- // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
11
- // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
12
-
13
- /* Language and Environment */
14
- "target": "ESNext" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
15
- // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
16
- // "jsx": "preserve", /* Specify what JSX code is generated. */
17
- // "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
18
- // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
19
- // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */
20
- // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */
21
- // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */
22
- // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */
23
- // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
24
- // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
25
- // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
26
-
27
- /* Modules */
28
- "module": "ESNext" /* Specify what module code is generated. */,
29
- // "module": "commonjs", /* Specify what module code is generated. */
30
- // "rootDir": "./", /* Specify the root folder within your source files. */
31
- // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
32
- //"baseUrl": "/src", /* Specify the base directory to resolve non-relative module names. */
33
- "paths": { "@/": ["/src/*"] }, /* Specify a set of entries that re-map imports to additional lookup locations. */
34
- // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
35
- // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
36
- // "types": [], /* Specify type package names to be included without being referenced in a source file. */
37
- "allowUmdGlobalAccess": true /* Allow accessing UMD globals from modules. */,
38
- // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
39
- // "resolveJsonModule": true, /* Enable importing .json files. */
40
- // "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
41
-
42
- /* JavaScript Support */
43
- "allowJs": true /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */,
44
- // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
45
- // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
46
-
47
- /* Emit */
48
- "declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */,
49
- "declarationMap": true /* Create sourcemaps for d.ts files. */,
50
- "removeComments": true,
51
- // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
52
- "sourceMap": true /* Create source map files for emitted JavaScript files. */,
53
- // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
54
- "outDir": "./build" /* Specify an output folder for all emitted files. */,
55
- // "removeComments": true, /* Disable emitting comments. */
56
- // "noEmit": true, /* Disable emitting files from a compilation. */
57
- // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
58
- // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */
59
- // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
60
- // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
61
- // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
62
- // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
63
- // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */
64
- // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
65
- // "newLine": "crlf", /* Set the newline character for emitting files. */
66
- // "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */
67
- // "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */
68
- // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
69
- // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
70
- //"declarationDir": "./build/types", /* Specify the output directory for generated declaration files. */
71
- // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
72
-
73
- /* Interop Constraints */
74
- // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
75
- // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
76
- "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */,
77
- // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
78
- "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
79
-
80
- /* Type Checking */
81
- "strict": true /* Enable all strict type-checking options. */,
82
- // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
83
- // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
84
- // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
85
- // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
86
- // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
87
- // "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
88
- // "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
89
- // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
90
- // "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
91
- // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
92
- // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
93
- // "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
94
- // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
95
- // "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */
96
- // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
97
- // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */
98
- // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
99
- // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
100
-
101
- /* Completeness */
102
- // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
103
- "skipLibCheck": true /* Skip type checking all .d.ts files. */
104
- },
105
- "include": ["./src"],
106
- "exclude": ["node_modules", "dist"]
107
- }
package/typedoc.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "entryPoints": ["src/MC.ts","src/elements.ts","src/observables.ts","src/formValues.ts" /*,"src/selectors.ts"*/],
3
- "out": "./public/typedoc",
4
- "readme": "README.md",
5
- "name": "Micro Components",
6
- "tsconfig": "./tsconfig.json"
7
- }
package/webpack.config.js DELETED
@@ -1,346 +0,0 @@
1
- const path = require('path');
2
-
3
- module.exports = [
4
- {
5
- entry: './build/MC.js',
6
- mode: 'production',
7
- output: {
8
- path: path.resolve(__dirname, 'dist'),
9
- filename: 'MC.min.js',
10
- libraryTarget: 'umd',
11
- library: 'MC',
12
- globalObject: 'this',
13
- },
14
- module: {
15
- rules: [
16
- {
17
- // test: /\.tsx?$/,
18
- use: [
19
- {
20
- loader: 'ts-loader',
21
- options: {
22
- transpileOnly: true, // Avoid type checking during webpack build
23
- compilerOptions: {
24
- declaration: false, // Generate .d.ts files
25
- declarationMap: false, // Generate .d.ts.map files
26
- outDir: 'build/types', // Output .d.ts and .d.ts.map to a different directory
27
- },
28
- },
29
- },
30
- ],
31
- exclude: /node_modules/,
32
- },
33
- ],
34
- },
35
- resolve: {
36
- extensions: ['.tsx', '.ts', '.js'],
37
- },
38
- optimization: {
39
- minimize: false, // Enable minification
40
- },
41
- },
42
- {
43
- entry: './build/elements.js',
44
- mode: 'production',
45
- output: {
46
- path: path.resolve(__dirname, 'dist'),
47
- filename: 'elements.min.js',
48
- libraryTarget: 'umd',
49
- library: 'elements',
50
- globalObject: 'this',
51
- },
52
- module: {
53
- rules: [
54
- {
55
- // test: /\.tsx?$/,
56
- use: [
57
- {
58
- loader: 'ts-loader',
59
- options: {
60
- transpileOnly: true, // Avoid type checking during webpack build
61
- compilerOptions: {
62
- declaration: false, // Generate .d.ts files
63
- declarationMap: false, // Generate .d.ts.map files
64
- outDir: 'build/types', // Output .d.ts and .d.ts.map to a different directory
65
- },
66
- },
67
- },
68
- ],
69
- exclude: /node_modules/,
70
- },
71
- ],
72
- },
73
- resolve: {
74
- extensions: ['.tsx', '.ts', '.js'],
75
- },
76
- optimization: {
77
- minimize: true, // Enable minification
78
- },
79
- },
80
- /*{
81
- entry: './build/selectors.js',
82
- mode: 'production',
83
- output: {
84
- path: path.resolve(__dirname, 'dist'),
85
- filename: 'selectors.min.js',
86
- libraryTarget: 'umd',
87
- library: 'selectors',
88
- globalObject: 'this',
89
- },
90
- module: {
91
- rules: [
92
- {
93
- // test: /\.tsx?$/,
94
- use: [
95
- {
96
- loader: 'ts-loader',
97
- options: {
98
- transpileOnly: true, // Avoid type checking during webpack build
99
- compilerOptions: {
100
- declaration: false, // Generate .d.ts files
101
- declarationMap: false, // Generate .d.ts.map files
102
- outDir: 'build/types', // Output .d.ts and .d.ts.map to a different directory
103
- },
104
- },
105
- },
106
- ],
107
- exclude: /node_modules/,
108
- },
109
- ],
110
- },
111
- resolve: {
112
- extensions: ['.tsx', '.ts', '.js'],
113
- },
114
- optimization: {
115
- minimize: true, // Enable minification
116
- },
117
- },*/
118
- {
119
- entry: './build/formValues.js',
120
- mode: 'production',
121
- output: {
122
- path: path.resolve(__dirname, 'dist'),
123
- filename: 'formValues.min.js',
124
- libraryTarget: 'umd',
125
- library: 'formValues',
126
- globalObject: 'this',
127
- },
128
- module: {
129
- rules: [
130
- {
131
- // test: /\.tsx?$/,
132
- use: [
133
- {
134
- loader: 'ts-loader',
135
- options: {
136
- transpileOnly: true, // Avoid type checking during webpack build
137
- compilerOptions: {
138
- declaration: false, // Generate .d.ts files
139
- declarationMap: false, // Generate .d.ts.map files
140
- outDir: 'build/types', // Output .d.ts and .d.ts.map to a different directory
141
- },
142
- },
143
- },
144
- ],
145
- exclude: /node_modules/,
146
- },
147
- ],
148
- },
149
- resolve: {
150
- extensions: ['.tsx', '.ts', '.js'],
151
- },
152
- optimization: {
153
- minimize: true, // Enable minification
154
- },
155
- },
156
- {
157
- entry: './build/observables.js',
158
- mode: 'production',
159
- output: {
160
- path: path.resolve(__dirname, 'dist'),
161
- filename: 'observables.min.js',
162
- libraryTarget: 'umd',
163
- library: 'observables',
164
- globalObject: 'this',
165
- },
166
- module: {
167
- rules: [
168
- {
169
- // test: /\.tsx?$/,
170
- use: [
171
- {
172
- loader: 'ts-loader',
173
- options: {
174
- transpileOnly: true, // Avoid type checking during webpack build
175
- compilerOptions: {
176
- declaration: false, // Generate .d.ts files
177
- declarationMap: false, // Generate .d.ts.map files
178
- outDir: 'build/types', // Output .d.ts and .d.ts.map to a different directory
179
- },
180
- },
181
- },
182
- ],
183
- exclude: /node_modules/,
184
- },
185
- ],
186
- },
187
- resolve: {
188
- extensions: ['.tsx', '.ts', '.js'],
189
- },
190
- optimization: {
191
- minimize: true, // Enable minification
192
- },
193
- },
194
- // bundle files
195
- {
196
- entry: './build/microcomponents.js',
197
- mode: 'production',
198
- output: {
199
- path: path.resolve(__dirname, 'dist'),
200
- filename: 'microcomponents.min.js',
201
- libraryTarget: 'umd',
202
- library: 'microcomponents',
203
- globalObject: 'this',
204
- },
205
- module: {
206
- rules: [
207
- {
208
- // test: /\.tsx?$/,
209
- use: [
210
- {
211
- loader: 'ts-loader',
212
- options: {
213
- transpileOnly: true, // Avoid type checking during webpack build
214
- compilerOptions: {
215
- declaration: false, // Generate .d.ts files
216
- declarationMap: false, // Generate .d.ts.map files
217
- outDir: 'build/types', // Output .d.ts and .d.ts.map to a different directory
218
- },
219
- },
220
- },
221
- ],
222
- exclude: /node_modules/,
223
- },
224
- ],
225
- },
226
- resolve: {
227
- extensions: ['.tsx', '.ts', '.js'],
228
- },
229
- optimization: {
230
- minimize: true, // Enable minification
231
- },
232
- },
233
- {
234
- entry: './build/test/test/grandparent.js',
235
- mode: 'production',
236
- output: {
237
- path: path.resolve(__dirname, 'build/test/test'),
238
- filename: 'grandparent.js',
239
- libraryTarget: 'umd',
240
- library: 'grandparent',
241
- },
242
- module: {
243
- rules: [
244
- {
245
- // test: /\.tsx?$/,
246
- use: [
247
- {
248
- loader: 'ts-loader',
249
- options: {
250
- transpileOnly: true, // Avoid type checking during webpack build
251
- compilerOptions: {
252
- declaration: false, // Generate .d.ts files
253
- declarationMap: false, // Generate .d.ts.map files
254
- outDir: 'build/types', // Output .d.ts and .d.ts.map to a different directory
255
- },
256
- },
257
- },
258
- ],
259
- exclude: /node_modules/,
260
- },
261
- ],
262
- },
263
- resolve: {
264
- extensions: ['.tsx', '.ts', '.js'],
265
- },
266
- optimization: {
267
- minimize: true, // Enable minification
268
- },
269
- },
270
- {
271
- entry: './build/test/test/testform.js',
272
- mode: 'production',
273
- output: {
274
- path: path.resolve(__dirname, 'build/test/test'),
275
- filename: 'testform.js',
276
- libraryTarget: 'umd',
277
- library: 'TestTestform',
278
- },
279
- module: {
280
- rules: [
281
- {
282
- // test: /\.tsx?$/,
283
- use: [
284
- {
285
- loader: 'ts-loader',
286
- options: {
287
- transpileOnly: true, // Avoid type checking during webpack build
288
- compilerOptions: {
289
- declaration: false, // Generate .d.ts files
290
- declarationMap: false, // Generate .d.ts.map files
291
- outDir: 'build/types', // Output .d.ts and .d.ts.map to a different directory
292
- },
293
- },
294
- },
295
- ],
296
- exclude: /node_modules/,
297
- },
298
- ],
299
- },
300
- resolve: {
301
- extensions: ['.tsx', '.ts', '.js'],
302
- },
303
- optimization: {
304
- minimize: true, // Enable minification
305
- },
306
- },
307
- /*
308
- {
309
- entry: './build/test/default.js',
310
- mode: 'production',
311
- output: {
312
- path: path.resolve(__dirname, 'public/test'),
313
- filename: 'default.js',
314
- libraryTarget: 'umd',
315
- library: 'default',
316
- },
317
- module: {
318
- rules: [
319
- {
320
- // test: /\.tsx?$/,
321
- use: [
322
- {
323
- loader: 'ts-loader',
324
- options: {
325
- transpileOnly: true, // Avoid type checking during webpack build
326
- compilerOptions: {
327
- declaration: false, // Generate .d.ts files
328
- declarationMap: false, // Generate .d.ts.map files
329
- outDir: 'build/types', // Output .d.ts and .d.ts.map to a different directory
330
- },
331
- },
332
- },
333
- ],
334
- exclude: /node_modules/,
335
- },
336
- ],
337
- },
338
- resolve: {
339
- extensions: ['.tsx', '.ts', '.js'],
340
- },
341
- optimization: {
342
- minimize: true, // Enable minification
343
- },
344
- },
345
- */
346
- ];