@symbo.ls/datepicker 0.5.10 → 0.6.0

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 (211) hide show
  1. package/dist/index.js +11 -11
  2. package/dist/index.js.map +1 -1
  3. package/package.json +5 -5
  4. package/packages/react/dist/index.js +17 -0
  5. package/packages/react/dist/index.js.map +1 -0
  6. package/packages/react/package.json +4 -4
  7. package/packages/react/{index.js → src/index.js} +0 -0
  8. package/.parcel-cache/3085beb0745a2550.txt +0 -2
  9. package/.parcel-cache/736b9fb319e7887f.txt +0 -2
  10. package/.parcel-cache/data.mdb +0 -0
  11. package/.parcel-cache/lock.mdb +0 -0
  12. package/packages/react/node_modules/.yarn-integrity +0 -105
  13. package/packages/react/node_modules/@domql/cache/LICENSE +0 -21
  14. package/packages/react/node_modules/@domql/cache/index.js +0 -0
  15. package/packages/react/node_modules/@domql/cache/package.json +0 -10
  16. package/packages/react/node_modules/@domql/cookie/LICENSE +0 -21
  17. package/packages/react/node_modules/@domql/cookie/index.js +0 -22
  18. package/packages/react/node_modules/@domql/cookie/package.json +0 -10
  19. package/packages/react/node_modules/@domql/define/LICENSE +0 -21
  20. package/packages/react/node_modules/@domql/define/index.js +0 -14
  21. package/packages/react/node_modules/@domql/define/package.json +0 -11
  22. package/packages/react/node_modules/@domql/domql/LICENSE +0 -21
  23. package/packages/react/node_modules/@domql/domql/dist/index.js +0 -93
  24. package/packages/react/node_modules/@domql/domql/dist/index.js.map +0 -1
  25. package/packages/react/node_modules/@domql/domql/package.json +0 -33
  26. package/packages/react/node_modules/@domql/element/LICENSE +0 -21
  27. package/packages/react/node_modules/@domql/element/package.json +0 -20
  28. package/packages/react/node_modules/@domql/element/src/assign.js +0 -22
  29. package/packages/react/node_modules/@domql/element/src/create.js +0 -125
  30. package/packages/react/node_modules/@domql/element/src/index.js +0 -8
  31. package/packages/react/node_modules/@domql/element/src/iterate.js +0 -80
  32. package/packages/react/node_modules/@domql/element/src/methods.js +0 -96
  33. package/packages/react/node_modules/@domql/element/src/set.js +0 -44
  34. package/packages/react/node_modules/@domql/element/src/update.js +0 -100
  35. package/packages/react/node_modules/@domql/event/LICENSE +0 -21
  36. package/packages/react/node_modules/@domql/event/package.json +0 -14
  37. package/packages/react/node_modules/@domql/event/src/can.js +0 -10
  38. package/packages/react/node_modules/@domql/event/src/index.js +0 -11
  39. package/packages/react/node_modules/@domql/event/src/is.js +0 -13
  40. package/packages/react/node_modules/@domql/event/src/on.js +0 -33
  41. package/packages/react/node_modules/@domql/event/src/store.js +0 -6
  42. package/packages/react/node_modules/@domql/event/src/wrappers.js +0 -14
  43. package/packages/react/node_modules/@domql/event/yarn-error.log +0 -44
  44. package/packages/react/node_modules/@domql/id/LICENSE +0 -21
  45. package/packages/react/node_modules/@domql/id/index.js +0 -12
  46. package/packages/react/node_modules/@domql/id/package.json +0 -10
  47. package/packages/react/node_modules/@domql/mixins/LICENSE +0 -21
  48. package/packages/react/node_modules/@domql/mixins/package.json +0 -12
  49. package/packages/react/node_modules/@domql/mixins/src/attr.js +0 -19
  50. package/packages/react/node_modules/@domql/mixins/src/classList.js +0 -37
  51. package/packages/react/node_modules/@domql/mixins/src/content.js +0 -17
  52. package/packages/react/node_modules/@domql/mixins/src/data.js +0 -21
  53. package/packages/react/node_modules/@domql/mixins/src/html.js +0 -17
  54. package/packages/react/node_modules/@domql/mixins/src/index.js +0 -11
  55. package/packages/react/node_modules/@domql/mixins/src/registry.js +0 -55
  56. package/packages/react/node_modules/@domql/mixins/src/state.js +0 -16
  57. package/packages/react/node_modules/@domql/mixins/src/style.js +0 -14
  58. package/packages/react/node_modules/@domql/mixins/src/text.js +0 -19
  59. package/packages/react/node_modules/@domql/node/LICENSE +0 -21
  60. package/packages/react/node_modules/@domql/node/package.json +0 -18
  61. package/packages/react/node_modules/@domql/node/src/cache.js +0 -53
  62. package/packages/react/node_modules/@domql/node/src/create.js +0 -86
  63. package/packages/react/node_modules/@domql/node/src/index.js +0 -5
  64. package/packages/react/node_modules/@domql/node/src/registry.js +0 -139
  65. package/packages/react/node_modules/@domql/node/yarn-error.log +0 -166
  66. package/packages/react/node_modules/@domql/parse/LICENSE +0 -21
  67. package/packages/react/node_modules/@domql/parse/index.js +0 -16
  68. package/packages/react/node_modules/@domql/parse/package.json +0 -10
  69. package/packages/react/node_modules/@domql/props/LICENSE +0 -21
  70. package/packages/react/node_modules/@domql/props/package.json +0 -10
  71. package/packages/react/node_modules/@domql/props/src/index.js +0 -62
  72. package/packages/react/node_modules/@domql/proto/LICENSE +0 -21
  73. package/packages/react/node_modules/@domql/proto/index.js +0 -66
  74. package/packages/react/node_modules/@domql/proto/package.json +0 -10
  75. package/packages/react/node_modules/@domql/react-transformer/LICENSE +0 -21
  76. package/packages/react/node_modules/@domql/react-transformer/dist/index.js +0 -62
  77. package/packages/react/node_modules/@domql/react-transformer/dist/index.js.map +0 -1
  78. package/packages/react/node_modules/@domql/react-transformer/package.json +0 -17
  79. package/packages/react/node_modules/@domql/report/LICENSE +0 -21
  80. package/packages/react/node_modules/@domql/report/index.js +0 -62
  81. package/packages/react/node_modules/@domql/report/package.json +0 -7
  82. package/packages/react/node_modules/@domql/state/LICENSE +0 -21
  83. package/packages/react/node_modules/@domql/state/package.json +0 -11
  84. package/packages/react/node_modules/@domql/state/src/index.js +0 -51
  85. package/packages/react/node_modules/@domql/tree/LICENSE +0 -21
  86. package/packages/react/node_modules/@domql/tree/index.js +0 -6
  87. package/packages/react/node_modules/@domql/tree/package.json +0 -10
  88. package/packages/react/node_modules/@domql/tree/root.js +0 -8
  89. package/packages/react/node_modules/@domql/utils/LICENSE +0 -21
  90. package/packages/react/node_modules/@domql/utils/package.json +0 -13
  91. package/packages/react/node_modules/@domql/utils/src/index.js +0 -5
  92. package/packages/react/node_modules/@domql/utils/src/node.js +0 -10
  93. package/packages/react/node_modules/@domql/utils/src/object.js +0 -193
  94. package/packages/react/node_modules/@domql/utils/src/protoUtils.js +0 -119
  95. package/packages/react/node_modules/@symbo.ls/block/package.json +0 -7
  96. package/packages/react/node_modules/@symbo.ls/block/packages/react/index.js +0 -1
  97. package/packages/react/node_modules/@symbo.ls/block/packages/react/package.json +0 -7
  98. package/packages/react/node_modules/@symbo.ls/block/src/index.js +0 -90
  99. package/packages/react/node_modules/@symbo.ls/block/src/style.js +0 -5
  100. package/packages/react/node_modules/@symbo.ls/datepicker/package.json +0 -12
  101. package/packages/react/node_modules/@symbo.ls/datepicker/packages/react/index.js +0 -1
  102. package/packages/react/node_modules/@symbo.ls/datepicker/packages/react/package.json +0 -7
  103. package/packages/react/node_modules/@symbo.ls/datepicker/src/index.js +0 -115
  104. package/packages/react/node_modules/@symbo.ls/datepicker/src/style.js +0 -100
  105. package/packages/react/node_modules/@symbo.ls/icon/package.json +0 -10
  106. package/packages/react/node_modules/@symbo.ls/icon/packages/react/index.js +0 -1
  107. package/packages/react/node_modules/@symbo.ls/icon/packages/react/package.json +0 -7
  108. package/packages/react/node_modules/@symbo.ls/icon/src/index.js +0 -14
  109. package/packages/react/node_modules/@symbo.ls/icon/src/style.js +0 -8
  110. package/packages/react/node_modules/@symbo.ls/shape/package.json +0 -7
  111. package/packages/react/node_modules/@symbo.ls/shape/packages/react/index.js +0 -1
  112. package/packages/react/node_modules/@symbo.ls/shape/packages/react/package.json +0 -7
  113. package/packages/react/node_modules/@symbo.ls/shape/src/index.js +0 -43
  114. package/packages/react/node_modules/@symbo.ls/shape/src/style.js +0 -102
  115. package/packages/react/node_modules/@symbo.ls/svg/package.json +0 -7
  116. package/packages/react/node_modules/@symbo.ls/svg/packages/react/index.js +0 -1
  117. package/packages/react/node_modules/@symbo.ls/svg/packages/react/package.json +0 -7
  118. package/packages/react/node_modules/@symbo.ls/svg/src/index.js +0 -14
  119. package/packages/react/node_modules/js-tokens/CHANGELOG.md +0 -151
  120. package/packages/react/node_modules/js-tokens/LICENSE +0 -21
  121. package/packages/react/node_modules/js-tokens/README.md +0 -240
  122. package/packages/react/node_modules/js-tokens/index.js +0 -23
  123. package/packages/react/node_modules/js-tokens/package.json +0 -30
  124. package/packages/react/node_modules/loose-envify/LICENSE +0 -21
  125. package/packages/react/node_modules/loose-envify/README.md +0 -45
  126. package/packages/react/node_modules/loose-envify/cli.js +0 -16
  127. package/packages/react/node_modules/loose-envify/custom.js +0 -4
  128. package/packages/react/node_modules/loose-envify/index.js +0 -3
  129. package/packages/react/node_modules/loose-envify/loose-envify.js +0 -36
  130. package/packages/react/node_modules/loose-envify/package.json +0 -36
  131. package/packages/react/node_modules/loose-envify/replace.js +0 -65
  132. package/packages/react/node_modules/object-assign/index.js +0 -90
  133. package/packages/react/node_modules/object-assign/license +0 -21
  134. package/packages/react/node_modules/object-assign/package.json +0 -42
  135. package/packages/react/node_modules/object-assign/readme.md +0 -61
  136. package/packages/react/node_modules/react/LICENSE +0 -21
  137. package/packages/react/node_modules/react/README.md +0 -13
  138. package/packages/react/node_modules/react/build-info.json +0 -8
  139. package/packages/react/node_modules/react/cjs/react-jsx-dev-runtime.development.js +0 -1203
  140. package/packages/react/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +0 -9
  141. package/packages/react/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +0 -9
  142. package/packages/react/node_modules/react/cjs/react-jsx-runtime.development.js +0 -1221
  143. package/packages/react/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -10
  144. package/packages/react/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +0 -10
  145. package/packages/react/node_modules/react/cjs/react.development.js +0 -2333
  146. package/packages/react/node_modules/react/cjs/react.production.min.js +0 -23
  147. package/packages/react/node_modules/react/index.js +0 -7
  148. package/packages/react/node_modules/react/jsx-dev-runtime.js +0 -7
  149. package/packages/react/node_modules/react/jsx-runtime.js +0 -7
  150. package/packages/react/node_modules/react/package.json +0 -39
  151. package/packages/react/node_modules/react/umd/react.development.js +0 -3357
  152. package/packages/react/node_modules/react/umd/react.production.min.js +0 -31
  153. package/packages/react/node_modules/react/umd/react.profiling.min.js +0 -36
  154. package/packages/react/node_modules/react-dom/LICENSE +0 -21
  155. package/packages/react/node_modules/react-dom/README.md +0 -54
  156. package/packages/react/node_modules/react-dom/build-info.json +0 -8
  157. package/packages/react/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -4342
  158. package/packages/react/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +0 -51
  159. package/packages/react/node_modules/react-dom/cjs/react-dom-server.node.development.js +0 -4383
  160. package/packages/react/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +0 -52
  161. package/packages/react/node_modules/react-dom/cjs/react-dom-test-utils.development.js +0 -2118
  162. package/packages/react/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +0 -43
  163. package/packages/react/node_modules/react-dom/cjs/react-dom.development.js +0 -26262
  164. package/packages/react/node_modules/react-dom/cjs/react-dom.production.min.js +0 -297
  165. package/packages/react/node_modules/react-dom/cjs/react-dom.profiling.min.js +0 -310
  166. package/packages/react/node_modules/react-dom/index.js +0 -38
  167. package/packages/react/node_modules/react-dom/package.json +0 -49
  168. package/packages/react/node_modules/react-dom/profiling.js +0 -38
  169. package/packages/react/node_modules/react-dom/server.browser.js +0 -7
  170. package/packages/react/node_modules/react-dom/server.js +0 -3
  171. package/packages/react/node_modules/react-dom/server.node.js +0 -7
  172. package/packages/react/node_modules/react-dom/test-utils.js +0 -7
  173. package/packages/react/node_modules/react-dom/umd/react-dom-server.browser.development.js +0 -4341
  174. package/packages/react/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +0 -46
  175. package/packages/react/node_modules/react-dom/umd/react-dom-test-utils.development.js +0 -2136
  176. package/packages/react/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +0 -35
  177. package/packages/react/node_modules/react-dom/umd/react-dom.development.js +0 -26292
  178. package/packages/react/node_modules/react-dom/umd/react-dom.production.min.js +0 -245
  179. package/packages/react/node_modules/react-dom/umd/react-dom.profiling.min.js +0 -252
  180. package/packages/react/node_modules/regenerator-runtime/LICENSE +0 -21
  181. package/packages/react/node_modules/regenerator-runtime/README.md +0 -31
  182. package/packages/react/node_modules/regenerator-runtime/package.json +0 -19
  183. package/packages/react/node_modules/regenerator-runtime/path.js +0 -11
  184. package/packages/react/node_modules/regenerator-runtime/runtime.js +0 -754
  185. package/packages/react/node_modules/scheduler/LICENSE +0 -21
  186. package/packages/react/node_modules/scheduler/README.md +0 -9
  187. package/packages/react/node_modules/scheduler/build-info.json +0 -8
  188. package/packages/react/node_modules/scheduler/cjs/scheduler-tracing.development.js +0 -347
  189. package/packages/react/node_modules/scheduler/cjs/scheduler-tracing.production.min.js +0 -9
  190. package/packages/react/node_modules/scheduler/cjs/scheduler-tracing.profiling.min.js +0 -16
  191. package/packages/react/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +0 -665
  192. package/packages/react/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +0 -19
  193. package/packages/react/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +0 -206
  194. package/packages/react/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +0 -13
  195. package/packages/react/node_modules/scheduler/cjs/scheduler.development.js +0 -646
  196. package/packages/react/node_modules/scheduler/cjs/scheduler.production.min.js +0 -20
  197. package/packages/react/node_modules/scheduler/index.js +0 -7
  198. package/packages/react/node_modules/scheduler/package.json +0 -40
  199. package/packages/react/node_modules/scheduler/tracing-profiling.js +0 -7
  200. package/packages/react/node_modules/scheduler/tracing.js +0 -7
  201. package/packages/react/node_modules/scheduler/umd/scheduler-tracing.development.js +0 -80
  202. package/packages/react/node_modules/scheduler/umd/scheduler-tracing.production.min.js +0 -80
  203. package/packages/react/node_modules/scheduler/umd/scheduler-tracing.profiling.min.js +0 -80
  204. package/packages/react/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +0 -664
  205. package/packages/react/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +0 -18
  206. package/packages/react/node_modules/scheduler/umd/scheduler.development.js +0 -152
  207. package/packages/react/node_modules/scheduler/umd/scheduler.production.min.js +0 -146
  208. package/packages/react/node_modules/scheduler/umd/scheduler.profiling.min.js +0 -146
  209. package/packages/react/node_modules/scheduler/unstable_mock.js +0 -7
  210. package/packages/react/node_modules/scheduler/unstable_post_task.js +0 -7
  211. package/packages/react/yarn.lock +0 -229
@@ -1,166 +0,0 @@
1
- Arguments:
2
- /Users/nikoloza/.nvm/versions/node/v14.17.1/bin/node /Users/nikoloza/.nvm/versions/node/v14.17.1/bin/yarn upgrade
3
-
4
- PATH:
5
- /Users/nikoloza/.nvm/versions/node/v14.17.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Little Snitch.app/Contents/Components:/Library/Apple/usr/bin:/Users/nikoloza/.fzf/bin
6
-
7
- Yarn version:
8
- 1.22.10
9
-
10
- Node version:
11
- 14.17.1
12
-
13
- Platform:
14
- darwin x64
15
-
16
- Trace:
17
- Invariant Violation: expected manifest
18
- at invariant (/Users/nikoloza/.nvm/versions/node/v14.17.1/lib/node_modules/yarn/lib/cli.js:2314:15)
19
- at PackageResolver.getStrictResolvedPattern (/Users/nikoloza/.nvm/versions/node/v14.17.1/lib/node_modules/yarn/lib/cli.js:65361:5)
20
- at add (/Users/nikoloza/.nvm/versions/node/v14.17.1/lib/node_modules/yarn/lib/cli.js:94192:33)
21
- at add (/Users/nikoloza/.nvm/versions/node/v14.17.1/lib/node_modules/yarn/lib/cli.js:94233:9)
22
- at add (/Users/nikoloza/.nvm/versions/node/v14.17.1/lib/node_modules/yarn/lib/cli.js:94233:9)
23
- at add (/Users/nikoloza/.nvm/versions/node/v14.17.1/lib/node_modules/yarn/lib/cli.js:94233:9)
24
- at add (/Users/nikoloza/.nvm/versions/node/v14.17.1/lib/node_modules/yarn/lib/cli.js:94233:9)
25
- at add (/Users/nikoloza/.nvm/versions/node/v14.17.1/lib/node_modules/yarn/lib/cli.js:94233:9)
26
- at PackageHoister.prepass (/Users/nikoloza/.nvm/versions/node/v14.17.1/lib/node_modules/yarn/lib/cli.js:94266:7)
27
- at PackageHoister.seed (/Users/nikoloza/.nvm/versions/node/v14.17.1/lib/node_modules/yarn/lib/cli.js:93658:10)
28
-
29
- npm manifest:
30
- {
31
- "name": "@domql/node",
32
- "version": "1.3.3",
33
- "main": "src/index.js",
34
- "license": "MIT",
35
- "dependencies": {
36
- "@domql/define": "latest",
37
- "@domql/element": "^1.3.3",
38
- "@domql/event": "^1.3.3",
39
- "@domql/mixins": "^1.3.3",
40
- "@domql/report": "^1.3.0",
41
- "@domql/utils": "^1.3.3"
42
- },
43
- "scripts": {
44
- "vpatch": "npm version patch && npm publish --access public"
45
- },
46
- "gitHead": "46e382475a6cc0e62ec0b588d18866aa7e4ff83e"
47
- }
48
-
49
- yarn manifest:
50
- No manifest
51
-
52
- Lockfile:
53
- # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
54
- # yarn lockfile v1
55
-
56
-
57
- "@domql/define@latest":
58
- version "1.2.18"
59
- resolved "https://registry.yarnpkg.com/@domql/define/-/define-1.2.18.tgz#ca5386721f2f5ce7105d7fca74f0e73963310f4b"
60
- integrity sha512-uiuAUpfwbhv0YCjPJr//O2rfZxXJs8hlK7PVUMn65HStEpOkYGN1vvMGk/rj9syt83C5fe4O1tjeNcyhd3JQvg==
61
- dependencies:
62
- "@domql/mixins" "^1.2.14"
63
- "@domql/report" "^1.2.14"
64
-
65
- "@domql/element@^1.3.3":
66
- version "1.3.3"
67
- resolved "https://registry.yarnpkg.com/@domql/element/-/element-1.3.3.tgz#1b7258a79b44426cdbb4eb588592effd9d9e77f1"
68
- integrity sha512-iGKz67nscLVg/+uTokkFRgBxdW3SyfdDxYQfqs/y7k/qRYeC3SETBf7tum2Nfm5qE5izsTvqCUQAJcfHI99Vuw==
69
- dependencies:
70
- "@domql/event" latest
71
- "@domql/mixins" latest
72
- "@domql/node" latest
73
- "@domql/props" latest
74
- "@domql/proto" latest
75
- "@domql/state" latest
76
- "@domql/tree" latest
77
- "@domql/utils" latest
78
-
79
- "@domql/event@^1.3.3":
80
- version "1.3.3"
81
- resolved "https://registry.yarnpkg.com/@domql/event/-/event-1.3.3.tgz#c25b708dc62a426ee2d26fa39680d449db841829"
82
- integrity sha512-9xTAtU4xjByUziwdIOpZHamsEF/e65Gmw8w5RH7/ekHR8XkX0WikIYNFZAY/0od5ngWDG/g33JaqudnyxxDK3Q==
83
- dependencies:
84
- "@domql/node" "^1.3.3"
85
- "@domql/report" "^1.3.0"
86
-
87
- "@domql/event@latest":
88
- version "1.2.14"
89
- resolved "https://registry.yarnpkg.com/@domql/event/-/event-1.2.14.tgz#3a360d56f18b953c645bf77a9ef8bdb9f750aff5"
90
- integrity sha512-57EBDBvKcGQ2mAu4AoGAujRXPYZa+n0lEry0nDAc5DWrBxCwmXfhnD0ojDRIRsPATolYotdSZJm/w4o8QFwYzw==
91
-
92
- "@domql/mixins@^1.2.14", "@domql/mixins@latest":
93
- version "1.2.14"
94
- resolved "https://registry.yarnpkg.com/@domql/mixins/-/mixins-1.2.14.tgz#42bf6651c8af2f59ad20d4b3d80a359e4df01d6a"
95
- integrity sha512-MfEpGMUmRdGcqA5YaLTN0L+1aOTG4XjwUgs4zzEdnK/4I02kfzUZMDr1vcVgdcUnx7BIiD2LXJsUsip4AZ99og==
96
-
97
- "@domql/mixins@^1.3.3":
98
- version "1.3.3"
99
- resolved "https://registry.yarnpkg.com/@domql/mixins/-/mixins-1.3.3.tgz#eb8524aeb6eb5a86a9465394c39d284c1896bb34"
100
- integrity sha512-TyDSHNne48/QMn5aesGnynuP1tohuWT+lK5BD+/l5SRWhrr6SjRpSQ70LZQnHoRPB+NfzBhZ6jlsuWZoX1Xmag==
101
- dependencies:
102
- "@domql/element" "^1.3.3"
103
- "@domql/report" "^1.3.0"
104
- "@domql/utils" "^1.3.3"
105
-
106
- "@domql/node@^1.2.14", "@domql/node@latest":
107
- version "1.2.14"
108
- resolved "https://registry.yarnpkg.com/@domql/node/-/node-1.2.14.tgz#0481d8d36d53a9d15fd5813cd2f3b0e6ee186e56"
109
- integrity sha512-xY7VzO2z0dp91nZnLKO1Zr5WBKBM3BYb5CZVAqZas24a2jB2AISO3SW9aaJJRASubDDcriRhIxTiEDqPN46f6w==
110
- dependencies:
111
- "@domql/define" latest
112
-
113
- "@domql/node@^1.3.3":
114
- version "1.3.3"
115
- resolved "https://registry.yarnpkg.com/@domql/node/-/node-1.3.3.tgz#2dc75c723a215d6e6054c11e941fe4187534aef0"
116
- integrity sha512-eso4G9iLQIEVNERovyMZDPiooflOKp2I3v664haTnZkhrrQQrrudAINBN4tDkOrI/AR6zAuIQxs7mBo3xCaWVw==
117
- dependencies:
118
- "@domql/define" latest
119
- "@domql/element" "^1.3.3"
120
- "@domql/event" "^1.3.3"
121
- "@domql/mixins" "^1.3.3"
122
- "@domql/utils" "^1.3.3"
123
-
124
- "@domql/props@latest":
125
- version "1.2.14"
126
- resolved "https://registry.yarnpkg.com/@domql/props/-/props-1.2.14.tgz#fdc222d83e0eacf60cac0839e6a9c0590197a085"
127
- integrity sha512-VmeWEzfQJXJjHCas0XLywqkX5cCcbcKUJXT/Ow13H7SxVwidaLk/WuaN9mLFQD4XT5b7WnAEqkRI3gKkkvshuA==
128
-
129
- "@domql/proto@latest":
130
- version "1.2.14"
131
- resolved "https://registry.yarnpkg.com/@domql/proto/-/proto-1.2.14.tgz#9b94a10ae0c47cc29bc80874fc481b73737f3c93"
132
- integrity sha512-kuh0G9BLWMuvlFeaLAi9SAchfcl8qOTxAH4ANZMS0Ju/cX7g3VzU1ytGW6I5GhiouzqDMt+FAD49sC7uvG1M1Q==
133
-
134
- "@domql/report@^1.2.14":
135
- version "1.2.14"
136
- resolved "https://registry.yarnpkg.com/@domql/report/-/report-1.2.14.tgz#1ee37cacf2e411c083daa0775dd76674547e1721"
137
- integrity sha512-Zzfvk6lvO3QR0SjSmvSnIw73yn1qfb005a8bJZMDkVFG7LL7UXiTU85sNvGampeX/jNYBjnIVP7uShdtK1GaFg==
138
-
139
- "@domql/report@^1.3.0":
140
- version "1.3.0"
141
- resolved "https://registry.yarnpkg.com/@domql/report/-/report-1.3.0.tgz#8aa5112c0812518781ac8b7f6cee614d1ecd1ff5"
142
- integrity sha512-m1OFvtNtL9RQ1w+4eMb4rPB6uZOuknbIbaKD+bIV/5eFt07YPO7iWtuTAneI4tg3+J4qJdkV81HqrE/JctBJgw==
143
-
144
- "@domql/state@latest":
145
- version "1.2.14"
146
- resolved "https://registry.yarnpkg.com/@domql/state/-/state-1.2.14.tgz#eb5e09bb43473197332e9a68bcc9ee942cc54201"
147
- integrity sha512-lYckKFrCPEnNoQ5LdgeGxbSJug3hlGhwZ2g3C9r8blR5h+4hZKphUfFjnGX9fADZfSwuFNR2SbypjsUMb+PUsw==
148
-
149
- "@domql/tree@latest":
150
- version "1.2.14"
151
- resolved "https://registry.yarnpkg.com/@domql/tree/-/tree-1.2.14.tgz#48988e78c2d4803069ff3296b93d1ec7e05a4bce"
152
- integrity sha512-kcpvSmbsJyCkEp5rD0cy5FUn1rDnnfOGR3Uias0eLMKVSNknSaRtDj79kqxjForuuKw4OiG46b1VBdr2loPzIA==
153
-
154
- "@domql/utils@^1.3.3":
155
- version "1.3.3"
156
- resolved "https://registry.yarnpkg.com/@domql/utils/-/utils-1.3.3.tgz#d5c7e39c29d4b02548e794d0f4bd0d671780492f"
157
- integrity sha512-2QZYH8P78kOWxLQ0nGLNBIKHTaxyyLrvIGC1sT67TwMgrTnt4Ax4LhZXcIGXFypCRbUjQHi9xc7QUB06T2Ngow==
158
- dependencies:
159
- "@domql/node" "^1.3.3"
160
-
161
- "@domql/utils@latest":
162
- version "1.2.20"
163
- resolved "https://registry.yarnpkg.com/@domql/utils/-/utils-1.2.20.tgz#94bac6988a2eba502eedaab20221c9bd062af26f"
164
- integrity sha512-ClLw1oRc4KKheT00cqhrlpcg8NkO1ekUcfxShAaBrsth2NP7YGY4Vk5AJcMtHH8En855Zr8OKEoHtUdB55mFgA==
165
- dependencies:
166
- "@domql/node" "^1.2.14"
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2016 rackai
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,16 +0,0 @@
1
- 'use strict'
2
-
3
- import { create, assignNode } from '@domql/element'
4
-
5
- const parse = (element) => {
6
- const virtualTree = {
7
- node: document.createElement('div')
8
- }
9
-
10
- if (element && element.node) assignNode(element, virtualTree)
11
- else create(element, virtualTree)
12
-
13
- return virtualTree.node.innerHTML
14
- }
15
-
16
- export default parse
@@ -1,10 +0,0 @@
1
- {
2
- "name": "@domql/parse",
3
- "version": "1.3.3",
4
- "main": "index.js",
5
- "license": "MIT",
6
- "dependencies": {
7
- "@domql/element": "^1.3.3"
8
- },
9
- "gitHead": "2069004be6f16a07e1c1874ff909009ca5cec4d6"
10
- }
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2016 rackai
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,10 +0,0 @@
1
- {
2
- "name": "@domql/props",
3
- "version": "1.3.3",
4
- "main": "src/index.js",
5
- "license": "MIT",
6
- "dependencies": {
7
- "@domql/utils": "^1.3.3"
8
- },
9
- "gitHead": "2069004be6f16a07e1c1874ff909009ca5cec4d6"
10
- }
@@ -1,62 +0,0 @@
1
- 'use strict'
2
-
3
- import { deepClone, deepMerge, exec, isArray } from '@domql/utils'
4
-
5
- const initProps = (element, parent) => {
6
- const propsStack = []
7
- if (element.props) propsStack.push(element.props)
8
-
9
- if (isArray(element.__proto)) {
10
- element.__proto.map(proto => {
11
- if (proto.props) propsStack.push(proto.props)
12
- return proto.props
13
- })
14
- }
15
-
16
- return propsStack
17
- }
18
-
19
- const inheritProps = (element, parent) => {
20
- element.props = (parent && parent.props) || { update, __element: element }
21
- }
22
-
23
- export const syncProps = (props, element) => {
24
- element.props = {}
25
- const mergedProps = { update, __element: element }
26
- props.forEach(v => {
27
- if (v === 'update' || v === '__element') return
28
- element.props = deepMerge(mergedProps, deepClone(exec(v, element)))
29
- })
30
- element.props = mergedProps
31
- return element.props
32
- }
33
-
34
- export const createProps = function (element, parent, cached) {
35
- const propsStack = cached || initProps(element, parent)
36
-
37
- if (propsStack.length) {
38
- element.__props = propsStack
39
- syncProps(propsStack, element)
40
- element.props.update = update
41
- } else inheritProps(element, parent)
42
-
43
- return element
44
- }
45
-
46
- export const updateProps = (newProps, element, parent) => {
47
- let propsStack = element.__props
48
-
49
- if (newProps) propsStack = element.__props = [].concat(newProps, propsStack)
50
-
51
- if (propsStack) syncProps(propsStack, element)
52
- else inheritProps(element, parent)
53
-
54
- // console.log(cachedProps)
55
- return element
56
- }
57
-
58
- function update (props) {
59
- const element = this.__element
60
- // element.update({ props })
61
- element.update()
62
- }
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2016 rackai
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,66 +0,0 @@
1
- 'use strict'
2
-
3
- import { isFunction, exec, getProtoStack, jointStacks, cloneAndMergeArrayProto, deepMergeProto } from '@domql/utils'
4
-
5
- const ENV = process.env.NODE_ENV
6
-
7
- /**
8
- * Checks whether element has `proto` or is a part
9
- * of parent's `childProto` prototype
10
- */
11
- export const applyPrototype = (element, parent, options = {}) => {
12
- if (isFunction(element)) element = exec(element, parent)
13
-
14
- const { proto } = element
15
-
16
- // merge if proto is array
17
- // const proto = mergeAndCloneIfArray(element.proto, v => {
18
- // if (v.props) cache.props.push(v.props)
19
- // console.log('v.propsIN_PROTO:')
20
- // console.log(v.props)
21
- // })
22
-
23
- // console.log(proto)
24
- const protoStack = getProtoStack(proto)
25
-
26
- if (ENV !== 'test' || ENV !== 'development') delete element.proto
27
-
28
- // console.log(parent.childProto)
29
-
30
- // console.log(element)
31
- // console.log(proto)
32
- // console.log(protoStack)
33
- // debugger
34
-
35
- let childProtoStack = []
36
- if (parent) {
37
- // Assign parent attr to the element
38
- element.parent = parent
39
- if (!options.ignoreChildProto) {
40
- childProtoStack = getProtoStack(parent.childProto)
41
- }
42
- }
43
-
44
- // console.log(proto, parent && parent.childProto)
45
- // console.log(protoStack, childProtoStack)
46
-
47
- const protoLength = protoStack.length
48
- const childProtoLength = childProtoStack.length
49
-
50
- let stack = []
51
- if (protoLength && childProtoLength) {
52
- stack = jointStacks(protoStack, childProtoStack)
53
- } else if (protoLength) {
54
- stack = protoStack
55
- } else if (childProtoLength) {
56
- stack = childProtoStack
57
- } else return element
58
-
59
- element.__proto = stack
60
- const mergedProto = cloneAndMergeArrayProto(stack)
61
-
62
- // console.log(mergedProto)
63
- return deepMergeProto(element, mergedProto)
64
-
65
- // final merging with prototype
66
- }
@@ -1,10 +0,0 @@
1
- {
2
- "name": "@domql/proto",
3
- "version": "1.3.3",
4
- "main": "index.js",
5
- "license": "MIT",
6
- "dependencies": {
7
- "@domql/utils": "^1.3.3"
8
- },
9
- "gitHead": "2069004be6f16a07e1c1874ff909009ca5cec4d6"
10
- }
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2016 rackai
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,62 +0,0 @@
1
- var $klFNZ$reactjsxruntime = require("react/jsx-runtime");
2
- var $klFNZ$react = require("react");
3
- var $klFNZ$reactdom = require("react-dom");
4
- var $klFNZ$domqlelement = require("@domql/element");
5
- var $klFNZ$domqlutils = require("@domql/utils");
6
-
7
- function $parcel$interopDefault(a) {
8
- return a && a.__esModule ? a.default : a;
9
- }
10
- function $parcel$export(e, n, v, s) {
11
- Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
12
- }
13
-
14
- $parcel$export(module.exports, "DOMQLRenderer", () => $4fa0c73a46e81912$export$9bc4435e2935894c);
15
- $parcel$export(module.exports, "reactTransformer", () => $4fa0c73a46e81912$export$4af6e93c063b624f);
16
-
17
-
18
-
19
-
20
-
21
- 'use strict';
22
- function $4fa0c73a46e81912$export$9bc4435e2935894c(component, ref, receivedProps, receivedState) {
23
- const { current: current } = ref;
24
- const { DOMQLElement: DOMQLElement } = current;
25
- const { children: children , ...p } = receivedProps;
26
- const props = $klFNZ$domqlutils.clone(p);
27
- const state = $klFNZ$domqlutils.clone(receivedState);
28
- if (!DOMQLElement) current.DOMQLElement = $klFNZ$domqlelement.create({
29
- proto: component,
30
- node: current.DOMQLElement,
31
- state: state,
32
- props: (el)=>props
33
- ,
34
- content: (el)=>{
35
- ($parcel$interopDefault($klFNZ$reactdom)).render(children, el.node);
36
- }
37
- }, current).node;
38
- else {
39
- const { ref: ref } = DOMQLElement;
40
- ref.update({
41
- props: props,
42
- state: state
43
- }).set((el)=>{
44
- ($parcel$interopDefault($klFNZ$reactdom)).render(children, el.node);
45
- return {
46
- tag: 'fragment'
47
- };
48
- });
49
- }
50
- }
51
- const $4fa0c73a46e81912$export$4af6e93c063b624f = (component, props, state)=>{
52
- const ref = $klFNZ$react.useRef(null);
53
- return(/*#__PURE__*/ $klFNZ$reactjsxruntime.jsx("span", {
54
- ref: ref,
55
- children: $klFNZ$react.useEffect(()=>{
56
- $4fa0c73a46e81912$export$9bc4435e2935894c(component, ref, props, state);
57
- })
58
- }));
59
- };
60
-
61
-
62
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,CAAY;SAQI,yCAAa,CAAE,SAAS,EAAE,GAAG,EAAE,aAAa,EAAE,aAAa,EAAE,CAAC;IAC5E,KAAK,CAAC,CAAC,UAAC,OAAO,EAAC,CAAC,GAAG,GAAG;IACvB,KAAK,CAAC,CAAC,eAAC,YAAY,EAAC,CAAC,GAAG,OAAO;IAChC,KAAK,CAAC,CAAC,WAAC,QAAQ,MAAK,CAAC,CAAC,CAAC,GAAG,aAAa;IAExC,KAAK,CAAC,KAAK,GAAG,uBAAK,CAAC,CAAC;IACrB,KAAK,CAAC,KAAK,GAAG,uBAAK,CAAC,aAAa;IAEjC,EAAE,GAAG,YAAY,EACf,OAAO,CAAC,YAAY,GAAG,0BAAM,CAAC,CAAC;QAC7B,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,OAAO,CAAC,YAAY;eAC1B,KAAK;QACL,KAAK,GAAE,EAAE,GAAI,KAAK;;QAClB,OAAO,GAAG,EAAE,GAAK,CAAC;YAChB,yCAAQ,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,CAAC,IAAI;QACnC,CAAC;IACH,CAAC,EAAE,OAAO,EAAE,IAAI;SACX,CAAC;QACN,KAAK,CAAC,CAAC,MAAC,GAAG,EAAC,CAAC,GAAG,YAAY;QAC5B,GAAG,CAAC,MAAM,CAAC,CAAC;mBACV,KAAK;mBACL,KAAK;QACP,CAAC,EAAE,GAAG,EAAC,EAAE,GAAI,CAAC;YACZ,yCAAQ,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,CAAC,IAAI;YACjC,MAAM,CAAC,CAAC;gBAAC,GAAG,EAAE,CAAU;YAAC,CAAC;QAC5B,CAAC;IACH,CAAC;AACH,CAAC;AAEM,KAAK,CAAC,yCAAgB,IAAI,SAAS,EAAE,KAAK,EAAE,KAAK,GAAK,CAAC;IAC5D,KAAK,CAAC,GAAG,GAAG,mBAAM,CAAC,IAAI;IACvB,MAAM,0CACH,CAAI;QAAC,GAAG,EAAE,GAAG;kBAEV,sBAAS,KAAO,CAAC;YACf,yCAAa,CAAC,SAAS,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK;QAC5C,CAAC;;AAIT,CAAC","sources":["index.js"],"sourcesContent":["'use strict'\n\nimport React, { useEffect, useRef } from 'react'\nimport ReactDOM from 'react-dom'\n\nimport { create } from '@domql/element'\nimport { clone } from '@domql/utils'\n\nexport function DOMQLRenderer (component, ref, receivedProps, receivedState) {\n const { current } = ref\n const { DOMQLElement } = current\n const { children, ...p } = receivedProps\n\n const props = clone(p)\n const state = clone(receivedState)\n\n if (!DOMQLElement) {\n current.DOMQLElement = create({\n proto: component,\n node: current.DOMQLElement,\n state,\n props: el => props,\n content: (el) => {\n ReactDOM.render(children, el.node)\n }\n }, current).node\n } else {\n const { ref } = DOMQLElement\n ref.update({\n props,\n state\n }).set(el => {\n ReactDOM.render(children, el.node)\n return { tag: 'fragment' }\n })\n }\n}\n\nexport const reactTransformer = (component, props, state) => {\n const ref = useRef(null)\n return (\n <span ref={ref}>\n {\n useEffect(() => {\n DOMQLRenderer(component, ref, props, state)\n })\n }\n </span>\n )\n}\n"],"names":[],"version":3,"file":"index.js.map"}
@@ -1,17 +0,0 @@
1
- {
2
- "name": "@domql/react-transformer",
3
- "version": "1.3.6",
4
- "main": "dist/index.js",
5
- "license": "MIT",
6
- "files": [
7
- "dist"
8
- ],
9
- "dependencies": {
10
- "@domql/domql": "^1.3.5",
11
- "@domql/element": "^1.3.3",
12
- "@domql/utils": "^1.3.5",
13
- "react": "^17.0.2",
14
- "react-dom": "^17.0.2"
15
- },
16
- "gitHead": "dceab11b2666d7dd98eeb9843bffd6bfb7ec47aa"
17
- }
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2016 rackai
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,62 +0,0 @@
1
- 'use strict'
2
-
3
- export const ERRORS_REGISTRY = {
4
- en: {
5
- DocumentNotDefined: {
6
- title: 'Document is undefined',
7
- description: 'To tweak with DOM, you should use browser.'
8
- },
9
- OverwriteToBuiltin: {
10
- title: 'Overwriting to builtin method',
11
- description: 'Overwriting a builtin method in the global define is not possible, please choose different name'
12
- },
13
- BrowserNotDefined: {
14
- title: 'Can\'t recognize environment',
15
- description: 'Environment should be browser application, that can run Javascript'
16
- },
17
- SetQuickPreferancesIsNotObject: {
18
- title: 'Quick preferances object is required',
19
- description: 'Please pass a plain object with "lang", "culture" and "area" properties'
20
- },
21
- InvalidParams: {
22
- title: 'Params are invalid',
23
- description: 'Please pass a plain object with "lang", "culture" and "area" properties'
24
- },
25
- CantCreateWithoutNode: {
26
- title: 'You must provide node',
27
- description: 'Can\'t create DOM element without setting node or text'
28
- },
29
- HTMLInvalidTag: {
30
- title: 'Element tag name (or DOM nodeName) is invalid',
31
- description: 'To create element, you must provide valid DOM node. See full list of them at here: http://www.w3schools.com/tags/'
32
- },
33
- HTMLInvalidAttr: {
34
- title: 'Attibutes object is invalid',
35
- description: 'Please pass a valid plain object to apply as an attributes for a DOM node'
36
- },
37
- HTMLInvalidData: {
38
- title: 'Data object is invalid',
39
- description: 'Please pass a valid plain object to apply as an dataset for a DOM node'
40
- },
41
- HTMLInvalidStyles: {
42
- title: 'Styles object is invalid',
43
- description: 'Please pass a valid plain object to apply as an style for a DOM node'
44
- },
45
- HTMLInvalidText: {
46
- title: 'Text string is invalid',
47
- description: 'Please pass a valid string to apply text to DOM node'
48
- }
49
- }
50
- }
51
-
52
- export const report = (err, arg, element) => {
53
- const currentLang = 'en'
54
- let errObj
55
- if (err && typeof err === 'string') errObj = ERRORS_REGISTRY[currentLang][err]
56
-
57
- return new Error(
58
- `"${err}", "${arg}"\n\n`,
59
- `${errObj.description}`,
60
- element ? `\n\n${element}` : ''
61
- )
62
- }
@@ -1,7 +0,0 @@
1
- {
2
- "name": "@domql/report",
3
- "version": "1.3.0",
4
- "main": "index.js",
5
- "license": "MIT",
6
- "gitHead": "3140379c0f6da459a39068f32630275c6ea3b33f"
7
- }
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2016 rackai
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,11 +0,0 @@
1
- {
2
- "name": "@domql/state",
3
- "version": "1.3.3",
4
- "main": "src/index.js",
5
- "license": "MIT",
6
- "dependencies": {
7
- "@domql/event": "^1.3.3",
8
- "@domql/utils": "^1.3.3"
9
- },
10
- "gitHead": "2069004be6f16a07e1c1874ff909009ca5cec4d6"
11
- }