django-handyhelpers 0.3.20__py3-none-any.whl → 0.3.35__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (571) hide show
  1. {django_handyhelpers-0.3.20.dist-info → django_handyhelpers-0.3.35.dist-info}/METADATA +16 -6
  2. {django_handyhelpers-0.3.20.dist-info → django_handyhelpers-0.3.35.dist-info}/RECORD +562 -75
  3. {django_handyhelpers-0.3.20.dist-info → django_handyhelpers-0.3.35.dist-info}/WHEEL +1 -1
  4. handyhelpers/__init__.py +6 -6
  5. handyhelpers/forms.py +9 -1
  6. handyhelpers/mixins/form_mixins.py +61 -0
  7. handyhelpers/mixins/model_mixins.py +21 -0
  8. handyhelpers/mixins/serializer_mixins.py +35 -0
  9. handyhelpers/mixins/view_mixins.py +5 -2
  10. handyhelpers/serializers.py +23 -3
  11. handyhelpers/static/handyhelpers/css/table_sortable.css +17 -0
  12. handyhelpers/static/handyhelpers/js/sidebar.js +8 -4
  13. handyhelpers/static/handyhelpers/js/table_sortable.js +119 -0
  14. handyhelpers/static/node_modules/.bin/acorn +4 -0
  15. handyhelpers/static/node_modules/.bin/css-b64-images +13 -0
  16. handyhelpers/static/node_modules/.bin/esbuild +0 -0
  17. handyhelpers/static/node_modules/.bin/html-minifier-terser +308 -0
  18. handyhelpers/static/node_modules/.bin/minify +98 -0
  19. handyhelpers/static/node_modules/.bin/terser +21 -0
  20. handyhelpers/static/node_modules/.bin/uglifyjs +624 -0
  21. handyhelpers/static/node_modules/.package-lock.json +750 -0
  22. handyhelpers/static/node_modules/@esbuild/linux-x64/README.md +3 -0
  23. handyhelpers/static/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
  24. handyhelpers/static/node_modules/@esbuild/linux-x64/package.json +20 -0
  25. handyhelpers/static/node_modules/@jridgewell/gen-mapping/LICENSE +19 -0
  26. handyhelpers/static/node_modules/@jridgewell/gen-mapping/README.md +227 -0
  27. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs +230 -0
  28. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map +1 -0
  29. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js +246 -0
  30. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map +1 -0
  31. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +88 -0
  32. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +12 -0
  33. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts +36 -0
  34. handyhelpers/static/node_modules/@jridgewell/gen-mapping/package.json +76 -0
  35. handyhelpers/static/node_modules/@jridgewell/resolve-uri/LICENSE +19 -0
  36. handyhelpers/static/node_modules/@jridgewell/resolve-uri/README.md +40 -0
  37. handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs +232 -0
  38. handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map +1 -0
  39. handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js +240 -0
  40. handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map +1 -0
  41. handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts +4 -0
  42. handyhelpers/static/node_modules/@jridgewell/resolve-uri/package.json +69 -0
  43. handyhelpers/static/node_modules/@jridgewell/set-array/LICENSE +19 -0
  44. handyhelpers/static/node_modules/@jridgewell/set-array/README.md +37 -0
  45. handyhelpers/static/node_modules/@jridgewell/set-array/dist/set-array.mjs +69 -0
  46. handyhelpers/static/node_modules/@jridgewell/set-array/dist/set-array.mjs.map +1 -0
  47. handyhelpers/static/node_modules/@jridgewell/set-array/dist/set-array.umd.js +83 -0
  48. handyhelpers/static/node_modules/@jridgewell/set-array/dist/set-array.umd.js.map +1 -0
  49. handyhelpers/static/node_modules/@jridgewell/set-array/dist/types/set-array.d.ts +32 -0
  50. handyhelpers/static/node_modules/@jridgewell/set-array/package.json +65 -0
  51. handyhelpers/static/node_modules/@jridgewell/source-map/LICENSE +19 -0
  52. handyhelpers/static/node_modules/@jridgewell/source-map/README.md +184 -0
  53. handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.cjs +95 -0
  54. handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.cjs.map +1 -0
  55. handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.mjs +90 -0
  56. handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.mjs.map +1 -0
  57. handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.umd.js +1242 -0
  58. handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.umd.js.map +1 -0
  59. handyhelpers/static/node_modules/@jridgewell/source-map/dist/types/source-map.d.ts +35 -0
  60. handyhelpers/static/node_modules/@jridgewell/source-map/package.json +71 -0
  61. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/LICENSE +21 -0
  62. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/README.md +264 -0
  63. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +424 -0
  64. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +1 -0
  65. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +439 -0
  66. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +1 -0
  67. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/types/scopes.d.ts +49 -0
  68. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +8 -0
  69. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/types/strings.d.ts +15 -0
  70. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/types/vlq.d.ts +6 -0
  71. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/package.json +75 -0
  72. handyhelpers/static/node_modules/@jridgewell/trace-mapping/LICENSE +19 -0
  73. handyhelpers/static/node_modules/@jridgewell/trace-mapping/README.md +257 -0
  74. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +580 -0
  75. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +1 -0
  76. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +600 -0
  77. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +1 -0
  78. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts +8 -0
  79. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/binary-search.d.ts +32 -0
  80. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/by-source.d.ts +7 -0
  81. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/resolve.d.ts +1 -0
  82. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/sort.d.ts +2 -0
  83. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts +16 -0
  84. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/strip-filename.d.ts +4 -0
  85. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +79 -0
  86. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts +99 -0
  87. handyhelpers/static/node_modules/@jridgewell/trace-mapping/package.json +77 -0
  88. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/enums.js +1 -1
  89. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper-base.js +12 -170
  90. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper-base.js.map +1 -1
  91. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper-lite.js +14 -184
  92. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper-lite.js.map +1 -1
  93. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper.js +14 -197
  94. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper.js.map +1 -1
  95. handyhelpers/static/node_modules/@popperjs/core/dist/esm/createPopper.js +6 -66
  96. handyhelpers/static/node_modules/@popperjs/core/dist/esm/modifiers/arrow.js +1 -12
  97. handyhelpers/static/node_modules/@popperjs/core/dist/esm/modifiers/computeStyles.js +2 -14
  98. handyhelpers/static/node_modules/@popperjs/core/dist/esm/utils/computeAutoPlacement.js +0 -4
  99. handyhelpers/static/node_modules/@popperjs/core/dist/esm/utils/userAgent.js +1 -1
  100. handyhelpers/static/node_modules/@popperjs/core/dist/umd/enums.js +1 -1
  101. handyhelpers/static/node_modules/@popperjs/core/dist/umd/enums.min.js +1 -1
  102. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-base.js +12 -170
  103. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-base.js.map +1 -1
  104. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-base.min.js +2 -2
  105. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-base.min.js.map +1 -1
  106. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-lite.js +14 -184
  107. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-lite.js.map +1 -1
  108. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-lite.min.js +2 -2
  109. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-lite.min.js.map +1 -1
  110. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper.js +14 -197
  111. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper.js.map +1 -1
  112. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper.min.js +2 -2
  113. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper.min.js.map +1 -1
  114. handyhelpers/static/node_modules/@popperjs/core/lib/createPopper.js +6 -66
  115. handyhelpers/static/node_modules/@popperjs/core/lib/createPopper.js.flow +2 -80
  116. handyhelpers/static/node_modules/@popperjs/core/lib/modifiers/arrow.js +1 -12
  117. handyhelpers/static/node_modules/@popperjs/core/lib/modifiers/arrow.js.flow +0 -22
  118. handyhelpers/static/node_modules/@popperjs/core/lib/modifiers/computeStyles.js +2 -14
  119. handyhelpers/static/node_modules/@popperjs/core/lib/modifiers/computeStyles.js.flow +3 -33
  120. handyhelpers/static/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js +0 -4
  121. handyhelpers/static/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js.flow +0 -12
  122. handyhelpers/static/node_modules/@popperjs/core/lib/utils/userAgent.js +1 -1
  123. handyhelpers/static/node_modules/@popperjs/core/lib/utils/userAgent.js.flow +1 -1
  124. handyhelpers/static/node_modules/@popperjs/core/package.json +1 -1
  125. handyhelpers/static/node_modules/@putout/minify/LICENSE +21 -0
  126. handyhelpers/static/node_modules/@putout/minify/README.md +110 -0
  127. handyhelpers/static/node_modules/@putout/minify/bundle/minify.min.js +52 -0
  128. handyhelpers/static/node_modules/@putout/minify/package.json +112 -0
  129. handyhelpers/static/node_modules/@swc/core/Visitor.d.ts +218 -0
  130. handyhelpers/static/node_modules/@swc/core/Visitor.js +1407 -0
  131. handyhelpers/static/node_modules/@swc/core/binding.d.ts +56 -0
  132. handyhelpers/static/node_modules/@swc/core/binding.js +351 -0
  133. handyhelpers/static/node_modules/@swc/core/index.d.ts +118 -0
  134. handyhelpers/static/node_modules/@swc/core/index.js +439 -0
  135. handyhelpers/static/node_modules/@swc/core/package.json +114 -0
  136. handyhelpers/static/node_modules/@swc/core/postinstall.js +148 -0
  137. handyhelpers/static/node_modules/@swc/core/spack.d.ts +51 -0
  138. handyhelpers/static/node_modules/@swc/core/spack.js +87 -0
  139. handyhelpers/static/node_modules/@swc/core/util.d.ts +1 -0
  140. handyhelpers/static/node_modules/@swc/core/util.js +104 -0
  141. handyhelpers/static/node_modules/@swc/core-linux-x64-gnu/README.md +3 -0
  142. handyhelpers/static/node_modules/@swc/core-linux-x64-gnu/package.json +45 -0
  143. handyhelpers/static/node_modules/@swc/core-linux-x64-gnu/swc.linux-x64-gnu.node +0 -0
  144. handyhelpers/static/node_modules/@swc/counter/CHANGELOG.md +7 -0
  145. handyhelpers/static/node_modules/@swc/counter/README.md +7 -0
  146. handyhelpers/static/node_modules/@swc/counter/index.js +1 -0
  147. handyhelpers/static/node_modules/@swc/counter/package.json +27 -0
  148. handyhelpers/static/node_modules/@swc/types/LICENSE +201 -0
  149. handyhelpers/static/node_modules/@swc/types/README.md +4 -0
  150. handyhelpers/static/node_modules/@swc/types/assumptions.d.ts +92 -0
  151. handyhelpers/static/node_modules/@swc/types/assumptions.js +2 -0
  152. handyhelpers/static/node_modules/@swc/types/index.d.ts +1977 -0
  153. handyhelpers/static/node_modules/@swc/types/index.js +2 -0
  154. handyhelpers/static/node_modules/@swc/types/package.json +39 -0
  155. handyhelpers/static/node_modules/acorn/CHANGELOG.md +928 -0
  156. handyhelpers/static/node_modules/acorn/LICENSE +21 -0
  157. handyhelpers/static/node_modules/acorn/README.md +282 -0
  158. handyhelpers/static/node_modules/acorn/bin/acorn +4 -0
  159. handyhelpers/static/node_modules/acorn/dist/acorn.d.mts +866 -0
  160. handyhelpers/static/node_modules/acorn/dist/acorn.d.ts +866 -0
  161. handyhelpers/static/node_modules/acorn/dist/acorn.js +6174 -0
  162. handyhelpers/static/node_modules/acorn/dist/acorn.mjs +6145 -0
  163. handyhelpers/static/node_modules/acorn/dist/bin.js +90 -0
  164. handyhelpers/static/node_modules/acorn/package.json +50 -0
  165. handyhelpers/static/node_modules/buffer-from/LICENSE +21 -0
  166. handyhelpers/static/node_modules/buffer-from/index.js +72 -0
  167. handyhelpers/static/node_modules/buffer-from/package.json +19 -0
  168. handyhelpers/static/node_modules/buffer-from/readme.md +69 -0
  169. handyhelpers/static/node_modules/camel-case/LICENSE +21 -0
  170. handyhelpers/static/node_modules/camel-case/README.md +47 -0
  171. handyhelpers/static/node_modules/camel-case/dist/index.d.ts +5 -0
  172. handyhelpers/static/node_modules/camel-case/dist/index.js +23 -0
  173. handyhelpers/static/node_modules/camel-case/dist/index.js.map +1 -0
  174. handyhelpers/static/node_modules/camel-case/dist/index.spec.d.ts +1 -0
  175. handyhelpers/static/node_modules/camel-case/dist/index.spec.js +26 -0
  176. handyhelpers/static/node_modules/camel-case/dist/index.spec.js.map +1 -0
  177. handyhelpers/static/node_modules/camel-case/dist.es2015/index.d.ts +5 -0
  178. handyhelpers/static/node_modules/camel-case/dist.es2015/index.js +17 -0
  179. handyhelpers/static/node_modules/camel-case/dist.es2015/index.js.map +1 -0
  180. handyhelpers/static/node_modules/camel-case/dist.es2015/index.spec.d.ts +1 -0
  181. handyhelpers/static/node_modules/camel-case/dist.es2015/index.spec.js +24 -0
  182. handyhelpers/static/node_modules/camel-case/dist.es2015/index.spec.js.map +1 -0
  183. handyhelpers/static/node_modules/camel-case/package.json +89 -0
  184. handyhelpers/static/node_modules/clean-css/History.md +1504 -0
  185. handyhelpers/static/node_modules/clean-css/LICENSE +19 -0
  186. handyhelpers/static/node_modules/clean-css/README.md +987 -0
  187. handyhelpers/static/node_modules/clean-css/index.js +1 -0
  188. handyhelpers/static/node_modules/clean-css/package.json +48 -0
  189. handyhelpers/static/node_modules/commander/LICENSE +22 -0
  190. handyhelpers/static/node_modules/commander/Readme.md +1134 -0
  191. handyhelpers/static/node_modules/commander/esm.mjs +16 -0
  192. handyhelpers/static/node_modules/commander/index.js +27 -0
  193. handyhelpers/static/node_modules/commander/package-support.json +16 -0
  194. handyhelpers/static/node_modules/commander/package.json +80 -0
  195. handyhelpers/static/node_modules/commander/typings/index.d.ts +889 -0
  196. handyhelpers/static/node_modules/css-b64-images/.npmignore +15 -0
  197. handyhelpers/static/node_modules/css-b64-images/.travis.yml +5 -0
  198. handyhelpers/static/node_modules/css-b64-images/README.md +78 -0
  199. handyhelpers/static/node_modules/css-b64-images/bin/css-b64-images +13 -0
  200. handyhelpers/static/node_modules/css-b64-images/draft.png +0 -0
  201. handyhelpers/static/node_modules/css-b64-images/draft.xcf +0 -0
  202. handyhelpers/static/node_modules/css-b64-images/package.json +30 -0
  203. handyhelpers/static/node_modules/css-b64-images/test/css-b64-images-test.js +38 -0
  204. handyhelpers/static/node_modules/css-b64-images/test/fixture/css/style.css +52 -0
  205. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/callunasansregular-webfont.eot +0 -0
  206. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/callunasansregular-webfont.svg +248 -0
  207. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/callunasansregular-webfont.ttf +0 -0
  208. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/callunasansregular-webfont.woff +0 -0
  209. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/maven_pro_medium-webfont.eot +0 -0
  210. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/maven_pro_medium-webfont.svg +245 -0
  211. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/maven_pro_medium-webfont.ttf +0 -0
  212. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/maven_pro_medium-webfont.woff +0 -0
  213. handyhelpers/static/node_modules/css-b64-images/test/fixture/img/background-pattern.gif +0 -0
  214. handyhelpers/static/node_modules/css-b64-images/test/fixture/img/dots.svg +6 -0
  215. handyhelpers/static/node_modules/css-b64-images/test/fixture/img/mixit-banner.png +0 -0
  216. handyhelpers/static/node_modules/debug/LICENSE +20 -0
  217. handyhelpers/static/node_modules/debug/README.md +481 -0
  218. handyhelpers/static/node_modules/debug/package.json +65 -0
  219. handyhelpers/static/node_modules/debug/src/browser.js +272 -0
  220. handyhelpers/static/node_modules/debug/src/common.js +292 -0
  221. handyhelpers/static/node_modules/debug/src/index.js +10 -0
  222. handyhelpers/static/node_modules/debug/src/node.js +263 -0
  223. handyhelpers/static/node_modules/dot-case/LICENSE +21 -0
  224. handyhelpers/static/node_modules/dot-case/README.md +37 -0
  225. handyhelpers/static/node_modules/dot-case/dist/index.d.ts +3 -0
  226. handyhelpers/static/node_modules/dot-case/dist/index.js +11 -0
  227. handyhelpers/static/node_modules/dot-case/dist/index.js.map +1 -0
  228. handyhelpers/static/node_modules/dot-case/dist/index.spec.d.ts +1 -0
  229. handyhelpers/static/node_modules/dot-case/dist/index.spec.js +26 -0
  230. handyhelpers/static/node_modules/dot-case/dist/index.spec.js.map +1 -0
  231. handyhelpers/static/node_modules/dot-case/dist.es2015/index.d.ts +3 -0
  232. handyhelpers/static/node_modules/dot-case/dist.es2015/index.js +7 -0
  233. handyhelpers/static/node_modules/dot-case/dist.es2015/index.js.map +1 -0
  234. handyhelpers/static/node_modules/dot-case/dist.es2015/index.spec.d.ts +1 -0
  235. handyhelpers/static/node_modules/dot-case/dist.es2015/index.spec.js +24 -0
  236. handyhelpers/static/node_modules/dot-case/dist.es2015/index.spec.js.map +1 -0
  237. handyhelpers/static/node_modules/dot-case/package.json +89 -0
  238. handyhelpers/static/node_modules/entities/LICENSE +11 -0
  239. handyhelpers/static/node_modules/entities/package.json +90 -0
  240. handyhelpers/static/node_modules/entities/readme.md +122 -0
  241. handyhelpers/static/node_modules/esbuild/LICENSE.md +21 -0
  242. handyhelpers/static/node_modules/esbuild/README.md +3 -0
  243. handyhelpers/static/node_modules/esbuild/bin/esbuild +0 -0
  244. handyhelpers/static/node_modules/esbuild/install.js +286 -0
  245. handyhelpers/static/node_modules/esbuild/package.json +47 -0
  246. handyhelpers/static/node_modules/find-up/index.d.ts +247 -0
  247. handyhelpers/static/node_modules/find-up/index.js +107 -0
  248. handyhelpers/static/node_modules/find-up/license +9 -0
  249. handyhelpers/static/node_modules/find-up/package.json +61 -0
  250. handyhelpers/static/node_modules/find-up/readme.md +160 -0
  251. handyhelpers/static/node_modules/fun-effects/LICENSE +674 -0
  252. handyhelpers/static/node_modules/fun-effects/README.md +10 -0
  253. handyhelpers/static/node_modules/fun-effects/dist/css/background_icons.min.css +1 -0
  254. handyhelpers/static/node_modules/fun-effects/dist/css/blur_group.min.css +1 -0
  255. handyhelpers/static/node_modules/fun-effects/dist/css/fades.min.css +1 -0
  256. handyhelpers/static/node_modules/fun-effects/dist/css/marquee.min.css +1 -0
  257. handyhelpers/static/node_modules/fun-effects/dist/css/scroller.min.css +1 -0
  258. handyhelpers/static/node_modules/fun-effects/dist/index.js +15 -0
  259. handyhelpers/static/node_modules/fun-effects/dist/js/background_icons.min.js +1 -0
  260. handyhelpers/static/node_modules/fun-effects/dist/js/marquee.min.js +1 -0
  261. handyhelpers/static/node_modules/fun-effects/dist/js/scroller.min.js +1 -0
  262. handyhelpers/static/node_modules/fun-effects/package.json +39 -0
  263. handyhelpers/static/node_modules/fun-effects/src/css/background_icons.css +39 -0
  264. handyhelpers/static/node_modules/fun-effects/src/css/blur_group.css +22 -0
  265. handyhelpers/static/node_modules/fun-effects/src/css/fades.css +94 -0
  266. handyhelpers/static/node_modules/fun-effects/src/css/marquee.css +45 -0
  267. handyhelpers/static/node_modules/fun-effects/src/css/scroller.css +144 -0
  268. handyhelpers/static/node_modules/fun-effects/src/index.js +15 -0
  269. handyhelpers/static/node_modules/fun-effects/src/js/background_icons.js +101 -0
  270. handyhelpers/static/node_modules/fun-effects/src/js/marquee.js +81 -0
  271. handyhelpers/static/node_modules/fun-effects/src/js/scroller.js +37 -0
  272. handyhelpers/static/node_modules/html-minifier-terser/LICENSE +22 -0
  273. handyhelpers/static/node_modules/html-minifier-terser/README.md +168 -0
  274. handyhelpers/static/node_modules/html-minifier-terser/cli.js +308 -0
  275. handyhelpers/static/node_modules/html-minifier-terser/dist/htmlminifier.cjs +1857 -0
  276. handyhelpers/static/node_modules/html-minifier-terser/dist/htmlminifier.esm.bundle.js +57509 -0
  277. handyhelpers/static/node_modules/html-minifier-terser/dist/htmlminifier.umd.bundle.js +57520 -0
  278. handyhelpers/static/node_modules/html-minifier-terser/dist/htmlminifier.umd.bundle.min.js +9 -0
  279. handyhelpers/static/node_modules/html-minifier-terser/package.json +105 -0
  280. handyhelpers/static/node_modules/html-minifier-terser/src/htmlminifier.js +1366 -0
  281. handyhelpers/static/node_modules/html-minifier-terser/src/htmlparser.js +565 -0
  282. handyhelpers/static/node_modules/html-minifier-terser/src/tokenchain.js +68 -0
  283. handyhelpers/static/node_modules/html-minifier-terser/src/utils.js +11 -0
  284. handyhelpers/static/node_modules/jju/LICENSE +21 -0
  285. handyhelpers/static/node_modules/jju/Makefile +20 -0
  286. handyhelpers/static/node_modules/jju/README.md +249 -0
  287. handyhelpers/static/node_modules/jju/index.js +32 -0
  288. handyhelpers/static/node_modules/jju/package.json +34 -0
  289. handyhelpers/static/node_modules/jju/package.yaml +36 -0
  290. handyhelpers/static/node_modules/locate-path/index.d.ts +92 -0
  291. handyhelpers/static/node_modules/locate-path/index.js +77 -0
  292. handyhelpers/static/node_modules/locate-path/license +9 -0
  293. handyhelpers/static/node_modules/locate-path/package.json +48 -0
  294. handyhelpers/static/node_modules/locate-path/readme.md +123 -0
  295. handyhelpers/static/node_modules/lower-case/LICENSE +21 -0
  296. handyhelpers/static/node_modules/lower-case/README.md +35 -0
  297. handyhelpers/static/node_modules/lower-case/dist/index.d.ts +8 -0
  298. handyhelpers/static/node_modules/lower-case/dist/index.js +53 -0
  299. handyhelpers/static/node_modules/lower-case/dist/index.js.map +1 -0
  300. handyhelpers/static/node_modules/lower-case/dist/index.spec.d.ts +1 -0
  301. handyhelpers/static/node_modules/lower-case/dist/index.spec.js +36 -0
  302. handyhelpers/static/node_modules/lower-case/dist/index.spec.js.map +1 -0
  303. handyhelpers/static/node_modules/lower-case/dist.es2015/index.d.ts +8 -0
  304. handyhelpers/static/node_modules/lower-case/dist.es2015/index.js +48 -0
  305. handyhelpers/static/node_modules/lower-case/dist.es2015/index.js.map +1 -0
  306. handyhelpers/static/node_modules/lower-case/dist.es2015/index.spec.d.ts +1 -0
  307. handyhelpers/static/node_modules/lower-case/dist.es2015/index.spec.js +34 -0
  308. handyhelpers/static/node_modules/lower-case/dist.es2015/index.spec.js.map +1 -0
  309. handyhelpers/static/node_modules/lower-case/package.json +87 -0
  310. handyhelpers/static/node_modules/minify/ChangeLog +1307 -0
  311. handyhelpers/static/node_modules/minify/LICENSE +22 -0
  312. handyhelpers/static/node_modules/minify/README.md +177 -0
  313. handyhelpers/static/node_modules/minify/bin/minify.js +98 -0
  314. handyhelpers/static/node_modules/minify/deno.json +5 -0
  315. handyhelpers/static/node_modules/minify/help.json +8 -0
  316. handyhelpers/static/node_modules/minify/package.json +65 -0
  317. handyhelpers/static/node_modules/ms/index.js +162 -0
  318. handyhelpers/static/node_modules/ms/license.md +21 -0
  319. handyhelpers/static/node_modules/ms/package.json +38 -0
  320. handyhelpers/static/node_modules/ms/readme.md +59 -0
  321. handyhelpers/static/node_modules/no-case/LICENSE +21 -0
  322. handyhelpers/static/node_modules/no-case/README.md +37 -0
  323. handyhelpers/static/node_modules/no-case/dist/index.d.ts +10 -0
  324. handyhelpers/static/node_modules/no-case/dist/index.js +35 -0
  325. handyhelpers/static/node_modules/no-case/dist/index.js.map +1 -0
  326. handyhelpers/static/node_modules/no-case/dist/index.spec.d.ts +1 -0
  327. handyhelpers/static/node_modules/no-case/dist/index.spec.js +59 -0
  328. handyhelpers/static/node_modules/no-case/dist/index.spec.js.map +1 -0
  329. handyhelpers/static/node_modules/no-case/dist.es2015/index.d.ts +10 -0
  330. handyhelpers/static/node_modules/no-case/dist.es2015/index.js +31 -0
  331. handyhelpers/static/node_modules/no-case/dist.es2015/index.js.map +1 -0
  332. handyhelpers/static/node_modules/no-case/dist.es2015/index.spec.d.ts +1 -0
  333. handyhelpers/static/node_modules/no-case/dist.es2015/index.spec.js +57 -0
  334. handyhelpers/static/node_modules/no-case/dist.es2015/index.spec.js.map +1 -0
  335. handyhelpers/static/node_modules/no-case/package.json +85 -0
  336. handyhelpers/static/node_modules/p-limit/index.d.ts +40 -0
  337. handyhelpers/static/node_modules/p-limit/index.js +68 -0
  338. handyhelpers/static/node_modules/p-limit/license +9 -0
  339. handyhelpers/static/node_modules/p-limit/package.json +54 -0
  340. handyhelpers/static/node_modules/p-limit/readme.md +99 -0
  341. handyhelpers/static/node_modules/p-locate/index.d.ts +49 -0
  342. handyhelpers/static/node_modules/p-locate/index.js +48 -0
  343. handyhelpers/static/node_modules/p-locate/license +9 -0
  344. handyhelpers/static/node_modules/p-locate/package.json +56 -0
  345. handyhelpers/static/node_modules/p-locate/readme.md +91 -0
  346. handyhelpers/static/node_modules/param-case/LICENSE +21 -0
  347. handyhelpers/static/node_modules/param-case/README.md +37 -0
  348. handyhelpers/static/node_modules/param-case/dist/index.d.ts +3 -0
  349. handyhelpers/static/node_modules/param-case/dist/index.js +11 -0
  350. handyhelpers/static/node_modules/param-case/dist/index.js.map +1 -0
  351. handyhelpers/static/node_modules/param-case/dist/index.spec.d.ts +1 -0
  352. handyhelpers/static/node_modules/param-case/dist/index.spec.js +24 -0
  353. handyhelpers/static/node_modules/param-case/dist/index.spec.js.map +1 -0
  354. handyhelpers/static/node_modules/param-case/dist.es2015/index.d.ts +3 -0
  355. handyhelpers/static/node_modules/param-case/dist.es2015/index.js +7 -0
  356. handyhelpers/static/node_modules/param-case/dist.es2015/index.js.map +1 -0
  357. handyhelpers/static/node_modules/param-case/dist.es2015/index.spec.d.ts +1 -0
  358. handyhelpers/static/node_modules/param-case/dist.es2015/index.spec.js +22 -0
  359. handyhelpers/static/node_modules/param-case/dist.es2015/index.spec.js.map +1 -0
  360. handyhelpers/static/node_modules/param-case/package.json +91 -0
  361. handyhelpers/static/node_modules/pascal-case/LICENSE +21 -0
  362. handyhelpers/static/node_modules/pascal-case/README.md +47 -0
  363. handyhelpers/static/node_modules/pascal-case/dist/index.d.ts +5 -0
  364. handyhelpers/static/node_modules/pascal-case/dist/index.js +24 -0
  365. handyhelpers/static/node_modules/pascal-case/dist/index.js.map +1 -0
  366. handyhelpers/static/node_modules/pascal-case/dist/index.spec.d.ts +1 -0
  367. handyhelpers/static/node_modules/pascal-case/dist/index.spec.js +25 -0
  368. handyhelpers/static/node_modules/pascal-case/dist/index.spec.js.map +1 -0
  369. handyhelpers/static/node_modules/pascal-case/dist.es2015/index.d.ts +5 -0
  370. handyhelpers/static/node_modules/pascal-case/dist.es2015/index.js +18 -0
  371. handyhelpers/static/node_modules/pascal-case/dist.es2015/index.js.map +1 -0
  372. handyhelpers/static/node_modules/pascal-case/dist.es2015/index.spec.d.ts +1 -0
  373. handyhelpers/static/node_modules/pascal-case/dist.es2015/index.spec.js +23 -0
  374. handyhelpers/static/node_modules/pascal-case/dist.es2015/index.spec.js.map +1 -0
  375. handyhelpers/static/node_modules/pascal-case/package.json +90 -0
  376. handyhelpers/static/node_modules/path-exists/index.d.ts +31 -0
  377. handyhelpers/static/node_modules/path-exists/index.js +19 -0
  378. handyhelpers/static/node_modules/path-exists/license +9 -0
  379. handyhelpers/static/node_modules/path-exists/package.json +41 -0
  380. handyhelpers/static/node_modules/path-exists/readme.md +52 -0
  381. handyhelpers/static/node_modules/readjson/ChangeLog +110 -0
  382. handyhelpers/static/node_modules/readjson/LICENSE +21 -0
  383. handyhelpers/static/node_modules/readjson/README.md +36 -0
  384. handyhelpers/static/node_modules/readjson/package.json +46 -0
  385. handyhelpers/static/node_modules/relateurl/README.md +159 -0
  386. handyhelpers/static/node_modules/relateurl/license +21 -0
  387. handyhelpers/static/node_modules/relateurl/package.json +46 -0
  388. handyhelpers/static/node_modules/simport/ChangeLog +77 -0
  389. handyhelpers/static/node_modules/simport/LICENSE +21 -0
  390. handyhelpers/static/node_modules/simport/README.md +81 -0
  391. handyhelpers/static/node_modules/simport/fixture/context.js +3 -0
  392. handyhelpers/static/node_modules/simport/fixture/default-frozen-function.mjs +2 -0
  393. handyhelpers/static/node_modules/simport/fixture/default-frozen-object.mjs +2 -0
  394. handyhelpers/static/node_modules/simport/package.json +65 -0
  395. handyhelpers/static/node_modules/simport/simport.js +84 -0
  396. handyhelpers/static/node_modules/simport/simport.mjs +22 -0
  397. handyhelpers/static/node_modules/source-map/CHANGELOG.md +301 -0
  398. handyhelpers/static/node_modules/source-map/LICENSE +28 -0
  399. handyhelpers/static/node_modules/source-map/README.md +742 -0
  400. handyhelpers/static/node_modules/source-map/dist/source-map.debug.js +3234 -0
  401. handyhelpers/static/node_modules/source-map/dist/source-map.js +3233 -0
  402. handyhelpers/static/node_modules/source-map/dist/source-map.min.js +2 -0
  403. handyhelpers/static/node_modules/source-map/dist/source-map.min.js.map +1 -0
  404. handyhelpers/static/node_modules/source-map/package.json +73 -0
  405. handyhelpers/static/node_modules/source-map/source-map.d.ts +98 -0
  406. handyhelpers/static/node_modules/source-map/source-map.js +8 -0
  407. handyhelpers/static/node_modules/source-map-support/LICENSE.md +21 -0
  408. handyhelpers/static/node_modules/source-map-support/README.md +284 -0
  409. handyhelpers/static/node_modules/source-map-support/browser-source-map-support.js +114 -0
  410. handyhelpers/static/node_modules/source-map-support/package.json +31 -0
  411. handyhelpers/static/node_modules/source-map-support/register-hook-require.js +1 -0
  412. handyhelpers/static/node_modules/source-map-support/register.js +1 -0
  413. handyhelpers/static/node_modules/source-map-support/source-map-support.js +625 -0
  414. handyhelpers/static/node_modules/terser/CHANGELOG.md +783 -0
  415. handyhelpers/static/node_modules/terser/LICENSE +27 -0
  416. handyhelpers/static/node_modules/terser/PATRONS.md +15 -0
  417. handyhelpers/static/node_modules/terser/README.md +1421 -0
  418. handyhelpers/static/node_modules/terser/bin/package.json +10 -0
  419. handyhelpers/static/node_modules/terser/bin/terser +21 -0
  420. handyhelpers/static/node_modules/terser/bin/uglifyjs +10 -0
  421. handyhelpers/static/node_modules/terser/dist/.gitkeep +0 -0
  422. handyhelpers/static/node_modules/terser/dist/bundle.min.js +32962 -0
  423. handyhelpers/static/node_modules/terser/dist/package.json +10 -0
  424. handyhelpers/static/node_modules/terser/main.js +27 -0
  425. handyhelpers/static/node_modules/terser/node_modules/commander/CHANGELOG.md +419 -0
  426. handyhelpers/static/node_modules/terser/node_modules/commander/LICENSE +22 -0
  427. handyhelpers/static/node_modules/terser/node_modules/commander/Readme.md +428 -0
  428. handyhelpers/static/node_modules/terser/node_modules/commander/index.js +1224 -0
  429. handyhelpers/static/node_modules/terser/node_modules/commander/package.json +38 -0
  430. handyhelpers/static/node_modules/terser/node_modules/commander/typings/index.d.ts +310 -0
  431. handyhelpers/static/node_modules/terser/package.json +153 -0
  432. handyhelpers/static/node_modules/terser/tools/domprops.js +9026 -0
  433. handyhelpers/static/node_modules/terser/tools/exit.cjs +7 -0
  434. handyhelpers/static/node_modules/terser/tools/props.html +68 -0
  435. handyhelpers/static/node_modules/terser/tools/terser.d.ts +216 -0
  436. handyhelpers/static/node_modules/tippy.js/LICENSE +21 -0
  437. handyhelpers/static/node_modules/tippy.js/README.md +63 -0
  438. handyhelpers/static/node_modules/tippy.js/animations/perspective-extreme.css +1 -0
  439. handyhelpers/static/node_modules/tippy.js/animations/perspective-subtle.css +1 -0
  440. handyhelpers/static/node_modules/tippy.js/animations/perspective.css +1 -0
  441. handyhelpers/static/node_modules/tippy.js/animations/scale-extreme.css +1 -0
  442. handyhelpers/static/node_modules/tippy.js/animations/scale-subtle.css +1 -0
  443. handyhelpers/static/node_modules/tippy.js/animations/scale.css +1 -0
  444. handyhelpers/static/node_modules/tippy.js/animations/shift-away-extreme.css +1 -0
  445. handyhelpers/static/node_modules/tippy.js/animations/shift-away-subtle.css +1 -0
  446. handyhelpers/static/node_modules/tippy.js/animations/shift-away.css +1 -0
  447. handyhelpers/static/node_modules/tippy.js/animations/shift-toward-extreme.css +1 -0
  448. handyhelpers/static/node_modules/tippy.js/animations/shift-toward-subtle.css +1 -0
  449. handyhelpers/static/node_modules/tippy.js/animations/shift-toward.css +1 -0
  450. handyhelpers/static/node_modules/tippy.js/dist/backdrop.css +1 -0
  451. handyhelpers/static/node_modules/tippy.js/dist/border.css +1 -0
  452. handyhelpers/static/node_modules/tippy.js/dist/svg-arrow.css +1 -0
  453. handyhelpers/static/node_modules/tippy.js/dist/tippy-bundle.umd.js +2516 -0
  454. handyhelpers/static/node_modules/tippy.js/dist/tippy-bundle.umd.js.map +1 -0
  455. handyhelpers/static/node_modules/tippy.js/dist/tippy-bundle.umd.min.js +2 -0
  456. handyhelpers/static/node_modules/tippy.js/dist/tippy-bundle.umd.min.js.map +1 -0
  457. handyhelpers/static/node_modules/tippy.js/dist/tippy.cjs.js +2497 -0
  458. handyhelpers/static/node_modules/tippy.js/dist/tippy.cjs.js.map +1 -0
  459. handyhelpers/static/node_modules/tippy.js/dist/tippy.css +1 -0
  460. handyhelpers/static/node_modules/tippy.js/dist/tippy.esm.js +2486 -0
  461. handyhelpers/static/node_modules/tippy.js/dist/tippy.esm.js.map +1 -0
  462. handyhelpers/static/node_modules/tippy.js/dist/tippy.umd.js +2496 -0
  463. handyhelpers/static/node_modules/tippy.js/dist/tippy.umd.js.map +1 -0
  464. handyhelpers/static/node_modules/tippy.js/dist/tippy.umd.min.js +2 -0
  465. handyhelpers/static/node_modules/tippy.js/dist/tippy.umd.min.js.map +1 -0
  466. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.cjs.js +2388 -0
  467. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.cjs.js.map +1 -0
  468. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.esm.js +2377 -0
  469. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.esm.js.map +1 -0
  470. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.umd.js +2382 -0
  471. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.umd.js.map +1 -0
  472. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.umd.min.js +2 -0
  473. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.umd.min.js.map +1 -0
  474. handyhelpers/static/node_modules/tippy.js/headless/package.json +16 -0
  475. handyhelpers/static/node_modules/tippy.js/index.d.ts +260 -0
  476. handyhelpers/static/node_modules/tippy.js/package.json +157 -0
  477. handyhelpers/static/node_modules/tippy.js/themes/light-border.css +1 -0
  478. handyhelpers/static/node_modules/tippy.js/themes/light.css +1 -0
  479. handyhelpers/static/node_modules/tippy.js/themes/material.css +1 -0
  480. handyhelpers/static/node_modules/tippy.js/themes/translucent.css +1 -0
  481. handyhelpers/static/node_modules/try-catch/ChangeLog +55 -0
  482. handyhelpers/static/node_modules/try-catch/LICENSE +21 -0
  483. handyhelpers/static/node_modules/try-catch/README.md +38 -0
  484. handyhelpers/static/node_modules/try-catch/package.json +34 -0
  485. handyhelpers/static/node_modules/try-to-catch/ChangeLog +64 -0
  486. handyhelpers/static/node_modules/try-to-catch/LICENSE +21 -0
  487. handyhelpers/static/node_modules/try-to-catch/README.md +74 -0
  488. handyhelpers/static/node_modules/try-to-catch/package.json +47 -0
  489. handyhelpers/static/node_modules/tslib/CopyrightNotice.txt +15 -0
  490. handyhelpers/static/node_modules/tslib/LICENSE.txt +12 -0
  491. handyhelpers/static/node_modules/tslib/README.md +164 -0
  492. handyhelpers/static/node_modules/tslib/SECURITY.md +41 -0
  493. handyhelpers/static/node_modules/tslib/modules/index.d.ts +38 -0
  494. handyhelpers/static/node_modules/tslib/modules/index.js +70 -0
  495. handyhelpers/static/node_modules/tslib/modules/package.json +3 -0
  496. handyhelpers/static/node_modules/tslib/package.json +47 -0
  497. handyhelpers/static/node_modules/tslib/tslib.d.ts +460 -0
  498. handyhelpers/static/node_modules/tslib/tslib.es6.html +1 -0
  499. handyhelpers/static/node_modules/tslib/tslib.es6.js +402 -0
  500. handyhelpers/static/node_modules/tslib/tslib.es6.mjs +401 -0
  501. handyhelpers/static/node_modules/tslib/tslib.html +1 -0
  502. handyhelpers/static/node_modules/tslib/tslib.js +484 -0
  503. handyhelpers/static/node_modules/uglify-js/LICENSE +29 -0
  504. handyhelpers/static/node_modules/uglify-js/README.md +1479 -0
  505. handyhelpers/static/node_modules/uglify-js/bin/uglifyjs +624 -0
  506. handyhelpers/static/node_modules/uglify-js/package.json +56 -0
  507. handyhelpers/static/node_modules/uglify-js/tools/domprops.html +456 -0
  508. handyhelpers/static/node_modules/uglify-js/tools/domprops.json +8327 -0
  509. handyhelpers/static/node_modules/uglify-js/tools/exports.js +8 -0
  510. handyhelpers/static/node_modules/uglify-js/tools/node.js +115 -0
  511. handyhelpers/static/node_modules/uglify-js/tools/tty.js +22 -0
  512. handyhelpers/static/node_modules/unicorn-magic/default.js +14 -0
  513. handyhelpers/static/node_modules/unicorn-magic/index.d.ts +29 -0
  514. handyhelpers/static/node_modules/unicorn-magic/license +9 -0
  515. handyhelpers/static/node_modules/unicorn-magic/node.js +7 -0
  516. handyhelpers/static/node_modules/unicorn-magic/package.json +49 -0
  517. handyhelpers/static/node_modules/unicorn-magic/readme.md +25 -0
  518. handyhelpers/static/node_modules/yocto-queue/index.d.ts +61 -0
  519. handyhelpers/static/node_modules/yocto-queue/index.js +78 -0
  520. handyhelpers/static/node_modules/yocto-queue/license +9 -0
  521. handyhelpers/static/node_modules/yocto-queue/package.json +48 -0
  522. handyhelpers/static/node_modules/yocto-queue/readme.md +70 -0
  523. handyhelpers/static/package.json +3 -1
  524. handyhelpers/static/yarn.lock +393 -20
  525. handyhelpers/templates/handyhelpers/generic/bs5/generic_index.html +5 -8
  526. handyhelpers/templates/handyhelpers/handyhelpers_base_bs5.htm +5 -1
  527. handyhelpers/templates/handyhelpers/handyhelpers_with_sidebar.htm +50 -3
  528. handyhelpers/templates/handyhelpers/htmx/bs5/filter_form/generic_modal_swap.htm +48 -0
  529. handyhelpers/templates/handyhelpers/htmx/bs5/form/form_wrapper.htm +48 -0
  530. handyhelpers/templates/handyhelpers/htmx/bs5/form/inline_form.htm +166 -0
  531. handyhelpers/templates/handyhelpers/htmx/bs5/form/inline_form_disabled.htm +125 -0
  532. handyhelpers/templates/handyhelpers/htmx/bs5/generic_modal_swap.htm +2 -3
  533. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/content_title.htm +38 -0
  534. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/controls.htm +21 -0
  535. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/examples/card.htm +17 -0
  536. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/examples/list.htm +11 -0
  537. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/examples/table.htm +21 -0
  538. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/filter_form_modal_swap.htm +48 -0
  539. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/full.html +6 -0
  540. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/wrapper_card.htm +7 -0
  541. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/wrapper_list.htm +7 -0
  542. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/wrapper_minimal.htm +7 -0
  543. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/wrapper_table.htm +18 -0
  544. handyhelpers/templates/handyhelpers/htmx/bs5/index.htm +34 -0
  545. handyhelpers/templates/handyhelpers/report/annual_stats.html +6 -0
  546. handyhelpers/templates/handyhelpers/report/annual_stats_content.htm +43 -0
  547. handyhelpers/templates/handyhelpers/report/chartjs/annual_progress_chart.htm +1 -1
  548. handyhelpers/templates/handyhelpers/report/chartjs/annual_progress_content.htm +40 -39
  549. handyhelpers/templates/handyhelpers/report/chartjs/annual_stats.html +25 -36
  550. handyhelpers/templates/handyhelpers/report/chartjs/annual_trends_content.htm +35 -34
  551. handyhelpers/templates/handyhelpers/report/chartjs/day_count_chart.htm +1 -1
  552. handyhelpers/templates/handyhelpers/report/chartjs/month_count_chart.htm +1 -1
  553. handyhelpers/templates/handyhelpers/report/chartjs/week_count_chart.htm +1 -1
  554. handyhelpers/templates/handyhelpers/report/chartjs/year_count_chart.htm +1 -1
  555. handyhelpers/templatetags/form_tags.py +47 -0
  556. handyhelpers/templatetags/htmx_tags.py +21 -0
  557. handyhelpers/views/action.py +3 -1
  558. handyhelpers/views/calendar.py +33 -14
  559. handyhelpers/views/htmx.py +396 -4
  560. handyhelpers/views/report.py +12 -5
  561. handyhelpers/management/commands/generate_admin.py +0 -110
  562. handyhelpers/static/node_modules/@popperjs/core/dist/esm/utils/format.js +0 -9
  563. handyhelpers/static/node_modules/@popperjs/core/dist/esm/utils/validateModifiers.js +0 -81
  564. handyhelpers/static/node_modules/@popperjs/core/lib/utils/format.d.ts +0 -1
  565. handyhelpers/static/node_modules/@popperjs/core/lib/utils/format.js +0 -9
  566. handyhelpers/static/node_modules/@popperjs/core/lib/utils/format.js.flow +0 -5
  567. handyhelpers/static/node_modules/@popperjs/core/lib/utils/validateModifiers.d.ts +0 -1
  568. handyhelpers/static/node_modules/@popperjs/core/lib/utils/validateModifiers.js +0 -81
  569. handyhelpers/static/node_modules/@popperjs/core/lib/utils/validateModifiers.js.flow +0 -151
  570. {django_handyhelpers-0.3.20.dist-info → django_handyhelpers-0.3.35.dist-info}/LICENSE +0 -0
  571. {django_handyhelpers-0.3.20.dist-info → django_handyhelpers-0.3.35.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,742 @@
1
+ # Source Map
2
+
3
+ [![Build Status](https://travis-ci.org/mozilla/source-map.png?branch=master)](https://travis-ci.org/mozilla/source-map)
4
+
5
+ [![NPM](https://nodei.co/npm/source-map.png?downloads=true&downloadRank=true)](https://www.npmjs.com/package/source-map)
6
+
7
+ This is a library to generate and consume the source map format
8
+ [described here][format].
9
+
10
+ [format]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit
11
+
12
+ ## Use with Node
13
+
14
+ $ npm install source-map
15
+
16
+ ## Use on the Web
17
+
18
+ <script src="https://raw.githubusercontent.com/mozilla/source-map/master/dist/source-map.min.js" defer></script>
19
+
20
+ --------------------------------------------------------------------------------
21
+
22
+ <!-- `npm run toc` to regenerate the Table of Contents -->
23
+
24
+ <!-- START doctoc generated TOC please keep comment here to allow auto update -->
25
+ <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
26
+ ## Table of Contents
27
+
28
+ - [Examples](#examples)
29
+ - [Consuming a source map](#consuming-a-source-map)
30
+ - [Generating a source map](#generating-a-source-map)
31
+ - [With SourceNode (high level API)](#with-sourcenode-high-level-api)
32
+ - [With SourceMapGenerator (low level API)](#with-sourcemapgenerator-low-level-api)
33
+ - [API](#api)
34
+ - [SourceMapConsumer](#sourcemapconsumer)
35
+ - [new SourceMapConsumer(rawSourceMap)](#new-sourcemapconsumerrawsourcemap)
36
+ - [SourceMapConsumer.prototype.computeColumnSpans()](#sourcemapconsumerprototypecomputecolumnspans)
37
+ - [SourceMapConsumer.prototype.originalPositionFor(generatedPosition)](#sourcemapconsumerprototypeoriginalpositionforgeneratedposition)
38
+ - [SourceMapConsumer.prototype.generatedPositionFor(originalPosition)](#sourcemapconsumerprototypegeneratedpositionfororiginalposition)
39
+ - [SourceMapConsumer.prototype.allGeneratedPositionsFor(originalPosition)](#sourcemapconsumerprototypeallgeneratedpositionsfororiginalposition)
40
+ - [SourceMapConsumer.prototype.hasContentsOfAllSources()](#sourcemapconsumerprototypehascontentsofallsources)
41
+ - [SourceMapConsumer.prototype.sourceContentFor(source[, returnNullOnMissing])](#sourcemapconsumerprototypesourcecontentforsource-returnnullonmissing)
42
+ - [SourceMapConsumer.prototype.eachMapping(callback, context, order)](#sourcemapconsumerprototypeeachmappingcallback-context-order)
43
+ - [SourceMapGenerator](#sourcemapgenerator)
44
+ - [new SourceMapGenerator([startOfSourceMap])](#new-sourcemapgeneratorstartofsourcemap)
45
+ - [SourceMapGenerator.fromSourceMap(sourceMapConsumer)](#sourcemapgeneratorfromsourcemapsourcemapconsumer)
46
+ - [SourceMapGenerator.prototype.addMapping(mapping)](#sourcemapgeneratorprototypeaddmappingmapping)
47
+ - [SourceMapGenerator.prototype.setSourceContent(sourceFile, sourceContent)](#sourcemapgeneratorprototypesetsourcecontentsourcefile-sourcecontent)
48
+ - [SourceMapGenerator.prototype.applySourceMap(sourceMapConsumer[, sourceFile[, sourceMapPath]])](#sourcemapgeneratorprototypeapplysourcemapsourcemapconsumer-sourcefile-sourcemappath)
49
+ - [SourceMapGenerator.prototype.toString()](#sourcemapgeneratorprototypetostring)
50
+ - [SourceNode](#sourcenode)
51
+ - [new SourceNode([line, column, source[, chunk[, name]]])](#new-sourcenodeline-column-source-chunk-name)
52
+ - [SourceNode.fromStringWithSourceMap(code, sourceMapConsumer[, relativePath])](#sourcenodefromstringwithsourcemapcode-sourcemapconsumer-relativepath)
53
+ - [SourceNode.prototype.add(chunk)](#sourcenodeprototypeaddchunk)
54
+ - [SourceNode.prototype.prepend(chunk)](#sourcenodeprototypeprependchunk)
55
+ - [SourceNode.prototype.setSourceContent(sourceFile, sourceContent)](#sourcenodeprototypesetsourcecontentsourcefile-sourcecontent)
56
+ - [SourceNode.prototype.walk(fn)](#sourcenodeprototypewalkfn)
57
+ - [SourceNode.prototype.walkSourceContents(fn)](#sourcenodeprototypewalksourcecontentsfn)
58
+ - [SourceNode.prototype.join(sep)](#sourcenodeprototypejoinsep)
59
+ - [SourceNode.prototype.replaceRight(pattern, replacement)](#sourcenodeprototypereplacerightpattern-replacement)
60
+ - [SourceNode.prototype.toString()](#sourcenodeprototypetostring)
61
+ - [SourceNode.prototype.toStringWithSourceMap([startOfSourceMap])](#sourcenodeprototypetostringwithsourcemapstartofsourcemap)
62
+
63
+ <!-- END doctoc generated TOC please keep comment here to allow auto update -->
64
+
65
+ ## Examples
66
+
67
+ ### Consuming a source map
68
+
69
+ ```js
70
+ var rawSourceMap = {
71
+ version: 3,
72
+ file: 'min.js',
73
+ names: ['bar', 'baz', 'n'],
74
+ sources: ['one.js', 'two.js'],
75
+ sourceRoot: 'http://example.com/www/js/',
76
+ mappings: 'CAAC,IAAI,IAAM,SAAUA,GAClB,OAAOC,IAAID;CCDb,IAAI,IAAM,SAAUE,GAClB,OAAOA'
77
+ };
78
+
79
+ var smc = new SourceMapConsumer(rawSourceMap);
80
+
81
+ console.log(smc.sources);
82
+ // [ 'http://example.com/www/js/one.js',
83
+ // 'http://example.com/www/js/two.js' ]
84
+
85
+ console.log(smc.originalPositionFor({
86
+ line: 2,
87
+ column: 28
88
+ }));
89
+ // { source: 'http://example.com/www/js/two.js',
90
+ // line: 2,
91
+ // column: 10,
92
+ // name: 'n' }
93
+
94
+ console.log(smc.generatedPositionFor({
95
+ source: 'http://example.com/www/js/two.js',
96
+ line: 2,
97
+ column: 10
98
+ }));
99
+ // { line: 2, column: 28 }
100
+
101
+ smc.eachMapping(function (m) {
102
+ // ...
103
+ });
104
+ ```
105
+
106
+ ### Generating a source map
107
+
108
+ In depth guide:
109
+ [**Compiling to JavaScript, and Debugging with Source Maps**](https://hacks.mozilla.org/2013/05/compiling-to-javascript-and-debugging-with-source-maps/)
110
+
111
+ #### With SourceNode (high level API)
112
+
113
+ ```js
114
+ function compile(ast) {
115
+ switch (ast.type) {
116
+ case 'BinaryExpression':
117
+ return new SourceNode(
118
+ ast.location.line,
119
+ ast.location.column,
120
+ ast.location.source,
121
+ [compile(ast.left), " + ", compile(ast.right)]
122
+ );
123
+ case 'Literal':
124
+ return new SourceNode(
125
+ ast.location.line,
126
+ ast.location.column,
127
+ ast.location.source,
128
+ String(ast.value)
129
+ );
130
+ // ...
131
+ default:
132
+ throw new Error("Bad AST");
133
+ }
134
+ }
135
+
136
+ var ast = parse("40 + 2", "add.js");
137
+ console.log(compile(ast).toStringWithSourceMap({
138
+ file: 'add.js'
139
+ }));
140
+ // { code: '40 + 2',
141
+ // map: [object SourceMapGenerator] }
142
+ ```
143
+
144
+ #### With SourceMapGenerator (low level API)
145
+
146
+ ```js
147
+ var map = new SourceMapGenerator({
148
+ file: "source-mapped.js"
149
+ });
150
+
151
+ map.addMapping({
152
+ generated: {
153
+ line: 10,
154
+ column: 35
155
+ },
156
+ source: "foo.js",
157
+ original: {
158
+ line: 33,
159
+ column: 2
160
+ },
161
+ name: "christopher"
162
+ });
163
+
164
+ console.log(map.toString());
165
+ // '{"version":3,"file":"source-mapped.js","sources":["foo.js"],"names":["christopher"],"mappings":";;;;;;;;;mCAgCEA"}'
166
+ ```
167
+
168
+ ## API
169
+
170
+ Get a reference to the module:
171
+
172
+ ```js
173
+ // Node.js
174
+ var sourceMap = require('source-map');
175
+
176
+ // Browser builds
177
+ var sourceMap = window.sourceMap;
178
+
179
+ // Inside Firefox
180
+ const sourceMap = require("devtools/toolkit/sourcemap/source-map.js");
181
+ ```
182
+
183
+ ### SourceMapConsumer
184
+
185
+ A SourceMapConsumer instance represents a parsed source map which we can query
186
+ for information about the original file positions by giving it a file position
187
+ in the generated source.
188
+
189
+ #### new SourceMapConsumer(rawSourceMap)
190
+
191
+ The only parameter is the raw source map (either as a string which can be
192
+ `JSON.parse`'d, or an object). According to the spec, source maps have the
193
+ following attributes:
194
+
195
+ * `version`: Which version of the source map spec this map is following.
196
+
197
+ * `sources`: An array of URLs to the original source files.
198
+
199
+ * `names`: An array of identifiers which can be referenced by individual
200
+ mappings.
201
+
202
+ * `sourceRoot`: Optional. The URL root from which all sources are relative.
203
+
204
+ * `sourcesContent`: Optional. An array of contents of the original source files.
205
+
206
+ * `mappings`: A string of base64 VLQs which contain the actual mappings.
207
+
208
+ * `file`: Optional. The generated filename this source map is associated with.
209
+
210
+ ```js
211
+ var consumer = new sourceMap.SourceMapConsumer(rawSourceMapJsonData);
212
+ ```
213
+
214
+ #### SourceMapConsumer.prototype.computeColumnSpans()
215
+
216
+ Compute the last column for each generated mapping. The last column is
217
+ inclusive.
218
+
219
+ ```js
220
+ // Before:
221
+ consumer.allGeneratedPositionsFor({ line: 2, source: "foo.coffee" })
222
+ // [ { line: 2,
223
+ // column: 1 },
224
+ // { line: 2,
225
+ // column: 10 },
226
+ // { line: 2,
227
+ // column: 20 } ]
228
+
229
+ consumer.computeColumnSpans();
230
+
231
+ // After:
232
+ consumer.allGeneratedPositionsFor({ line: 2, source: "foo.coffee" })
233
+ // [ { line: 2,
234
+ // column: 1,
235
+ // lastColumn: 9 },
236
+ // { line: 2,
237
+ // column: 10,
238
+ // lastColumn: 19 },
239
+ // { line: 2,
240
+ // column: 20,
241
+ // lastColumn: Infinity } ]
242
+
243
+ ```
244
+
245
+ #### SourceMapConsumer.prototype.originalPositionFor(generatedPosition)
246
+
247
+ Returns the original source, line, and column information for the generated
248
+ source's line and column positions provided. The only argument is an object with
249
+ the following properties:
250
+
251
+ * `line`: The line number in the generated source. Line numbers in
252
+ this library are 1-based (note that the underlying source map
253
+ specification uses 0-based line numbers -- this library handles the
254
+ translation).
255
+
256
+ * `column`: The column number in the generated source. Column numbers
257
+ in this library are 0-based.
258
+
259
+ * `bias`: Either `SourceMapConsumer.GREATEST_LOWER_BOUND` or
260
+ `SourceMapConsumer.LEAST_UPPER_BOUND`. Specifies whether to return the closest
261
+ element that is smaller than or greater than the one we are searching for,
262
+ respectively, if the exact element cannot be found. Defaults to
263
+ `SourceMapConsumer.GREATEST_LOWER_BOUND`.
264
+
265
+ and an object is returned with the following properties:
266
+
267
+ * `source`: The original source file, or null if this information is not
268
+ available.
269
+
270
+ * `line`: The line number in the original source, or null if this information is
271
+ not available. The line number is 1-based.
272
+
273
+ * `column`: The column number in the original source, or null if this
274
+ information is not available. The column number is 0-based.
275
+
276
+ * `name`: The original identifier, or null if this information is not available.
277
+
278
+ ```js
279
+ consumer.originalPositionFor({ line: 2, column: 10 })
280
+ // { source: 'foo.coffee',
281
+ // line: 2,
282
+ // column: 2,
283
+ // name: null }
284
+
285
+ consumer.originalPositionFor({ line: 99999999999999999, column: 999999999999999 })
286
+ // { source: null,
287
+ // line: null,
288
+ // column: null,
289
+ // name: null }
290
+ ```
291
+
292
+ #### SourceMapConsumer.prototype.generatedPositionFor(originalPosition)
293
+
294
+ Returns the generated line and column information for the original source,
295
+ line, and column positions provided. The only argument is an object with
296
+ the following properties:
297
+
298
+ * `source`: The filename of the original source.
299
+
300
+ * `line`: The line number in the original source. The line number is
301
+ 1-based.
302
+
303
+ * `column`: The column number in the original source. The column
304
+ number is 0-based.
305
+
306
+ and an object is returned with the following properties:
307
+
308
+ * `line`: The line number in the generated source, or null. The line
309
+ number is 1-based.
310
+
311
+ * `column`: The column number in the generated source, or null. The
312
+ column number is 0-based.
313
+
314
+ ```js
315
+ consumer.generatedPositionFor({ source: "example.js", line: 2, column: 10 })
316
+ // { line: 1,
317
+ // column: 56 }
318
+ ```
319
+
320
+ #### SourceMapConsumer.prototype.allGeneratedPositionsFor(originalPosition)
321
+
322
+ Returns all generated line and column information for the original source, line,
323
+ and column provided. If no column is provided, returns all mappings
324
+ corresponding to a either the line we are searching for or the next closest line
325
+ that has any mappings. Otherwise, returns all mappings corresponding to the
326
+ given line and either the column we are searching for or the next closest column
327
+ that has any offsets.
328
+
329
+ The only argument is an object with the following properties:
330
+
331
+ * `source`: The filename of the original source.
332
+
333
+ * `line`: The line number in the original source. The line number is
334
+ 1-based.
335
+
336
+ * `column`: Optional. The column number in the original source. The
337
+ column number is 0-based.
338
+
339
+ and an array of objects is returned, each with the following properties:
340
+
341
+ * `line`: The line number in the generated source, or null. The line
342
+ number is 1-based.
343
+
344
+ * `column`: The column number in the generated source, or null. The
345
+ column number is 0-based.
346
+
347
+ ```js
348
+ consumer.allGeneratedpositionsfor({ line: 2, source: "foo.coffee" })
349
+ // [ { line: 2,
350
+ // column: 1 },
351
+ // { line: 2,
352
+ // column: 10 },
353
+ // { line: 2,
354
+ // column: 20 } ]
355
+ ```
356
+
357
+ #### SourceMapConsumer.prototype.hasContentsOfAllSources()
358
+
359
+ Return true if we have the embedded source content for every source listed in
360
+ the source map, false otherwise.
361
+
362
+ In other words, if this method returns `true`, then
363
+ `consumer.sourceContentFor(s)` will succeed for every source `s` in
364
+ `consumer.sources`.
365
+
366
+ ```js
367
+ // ...
368
+ if (consumer.hasContentsOfAllSources()) {
369
+ consumerReadyCallback(consumer);
370
+ } else {
371
+ fetchSources(consumer, consumerReadyCallback);
372
+ }
373
+ // ...
374
+ ```
375
+
376
+ #### SourceMapConsumer.prototype.sourceContentFor(source[, returnNullOnMissing])
377
+
378
+ Returns the original source content for the source provided. The only
379
+ argument is the URL of the original source file.
380
+
381
+ If the source content for the given source is not found, then an error is
382
+ thrown. Optionally, pass `true` as the second param to have `null` returned
383
+ instead.
384
+
385
+ ```js
386
+ consumer.sources
387
+ // [ "my-cool-lib.clj" ]
388
+
389
+ consumer.sourceContentFor("my-cool-lib.clj")
390
+ // "..."
391
+
392
+ consumer.sourceContentFor("this is not in the source map");
393
+ // Error: "this is not in the source map" is not in the source map
394
+
395
+ consumer.sourceContentFor("this is not in the source map", true);
396
+ // null
397
+ ```
398
+
399
+ #### SourceMapConsumer.prototype.eachMapping(callback, context, order)
400
+
401
+ Iterate over each mapping between an original source/line/column and a
402
+ generated line/column in this source map.
403
+
404
+ * `callback`: The function that is called with each mapping. Mappings have the
405
+ form `{ source, generatedLine, generatedColumn, originalLine, originalColumn,
406
+ name }`
407
+
408
+ * `context`: Optional. If specified, this object will be the value of `this`
409
+ every time that `callback` is called.
410
+
411
+ * `order`: Either `SourceMapConsumer.GENERATED_ORDER` or
412
+ `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to iterate over
413
+ the mappings sorted by the generated file's line/column order or the
414
+ original's source/line/column order, respectively. Defaults to
415
+ `SourceMapConsumer.GENERATED_ORDER`.
416
+
417
+ ```js
418
+ consumer.eachMapping(function (m) { console.log(m); })
419
+ // ...
420
+ // { source: 'illmatic.js',
421
+ // generatedLine: 1,
422
+ // generatedColumn: 0,
423
+ // originalLine: 1,
424
+ // originalColumn: 0,
425
+ // name: null }
426
+ // { source: 'illmatic.js',
427
+ // generatedLine: 2,
428
+ // generatedColumn: 0,
429
+ // originalLine: 2,
430
+ // originalColumn: 0,
431
+ // name: null }
432
+ // ...
433
+ ```
434
+ ### SourceMapGenerator
435
+
436
+ An instance of the SourceMapGenerator represents a source map which is being
437
+ built incrementally.
438
+
439
+ #### new SourceMapGenerator([startOfSourceMap])
440
+
441
+ You may pass an object with the following properties:
442
+
443
+ * `file`: The filename of the generated source that this source map is
444
+ associated with.
445
+
446
+ * `sourceRoot`: A root for all relative URLs in this source map.
447
+
448
+ * `skipValidation`: Optional. When `true`, disables validation of mappings as
449
+ they are added. This can improve performance but should be used with
450
+ discretion, as a last resort. Even then, one should avoid using this flag when
451
+ running tests, if possible.
452
+
453
+ ```js
454
+ var generator = new sourceMap.SourceMapGenerator({
455
+ file: "my-generated-javascript-file.js",
456
+ sourceRoot: "http://example.com/app/js/"
457
+ });
458
+ ```
459
+
460
+ #### SourceMapGenerator.fromSourceMap(sourceMapConsumer)
461
+
462
+ Creates a new `SourceMapGenerator` from an existing `SourceMapConsumer` instance.
463
+
464
+ * `sourceMapConsumer` The SourceMap.
465
+
466
+ ```js
467
+ var generator = sourceMap.SourceMapGenerator.fromSourceMap(consumer);
468
+ ```
469
+
470
+ #### SourceMapGenerator.prototype.addMapping(mapping)
471
+
472
+ Add a single mapping from original source line and column to the generated
473
+ source's line and column for this source map being created. The mapping object
474
+ should have the following properties:
475
+
476
+ * `generated`: An object with the generated line and column positions.
477
+
478
+ * `original`: An object with the original line and column positions.
479
+
480
+ * `source`: The original source file (relative to the sourceRoot).
481
+
482
+ * `name`: An optional original token name for this mapping.
483
+
484
+ ```js
485
+ generator.addMapping({
486
+ source: "module-one.scm",
487
+ original: { line: 128, column: 0 },
488
+ generated: { line: 3, column: 456 }
489
+ })
490
+ ```
491
+
492
+ #### SourceMapGenerator.prototype.setSourceContent(sourceFile, sourceContent)
493
+
494
+ Set the source content for an original source file.
495
+
496
+ * `sourceFile` the URL of the original source file.
497
+
498
+ * `sourceContent` the content of the source file.
499
+
500
+ ```js
501
+ generator.setSourceContent("module-one.scm",
502
+ fs.readFileSync("path/to/module-one.scm"))
503
+ ```
504
+
505
+ #### SourceMapGenerator.prototype.applySourceMap(sourceMapConsumer[, sourceFile[, sourceMapPath]])
506
+
507
+ Applies a SourceMap for a source file to the SourceMap.
508
+ Each mapping to the supplied source file is rewritten using the
509
+ supplied SourceMap. Note: The resolution for the resulting mappings
510
+ is the minimum of this map and the supplied map.
511
+
512
+ * `sourceMapConsumer`: The SourceMap to be applied.
513
+
514
+ * `sourceFile`: Optional. The filename of the source file.
515
+ If omitted, sourceMapConsumer.file will be used, if it exists.
516
+ Otherwise an error will be thrown.
517
+
518
+ * `sourceMapPath`: Optional. The dirname of the path to the SourceMap
519
+ to be applied. If relative, it is relative to the SourceMap.
520
+
521
+ This parameter is needed when the two SourceMaps aren't in the same
522
+ directory, and the SourceMap to be applied contains relative source
523
+ paths. If so, those relative source paths need to be rewritten
524
+ relative to the SourceMap.
525
+
526
+ If omitted, it is assumed that both SourceMaps are in the same directory,
527
+ thus not needing any rewriting. (Supplying `'.'` has the same effect.)
528
+
529
+ #### SourceMapGenerator.prototype.toString()
530
+
531
+ Renders the source map being generated to a string.
532
+
533
+ ```js
534
+ generator.toString()
535
+ // '{"version":3,"sources":["module-one.scm"],"names":[],"mappings":"...snip...","file":"my-generated-javascript-file.js","sourceRoot":"http://example.com/app/js/"}'
536
+ ```
537
+
538
+ ### SourceNode
539
+
540
+ SourceNodes provide a way to abstract over interpolating and/or concatenating
541
+ snippets of generated JavaScript source code, while maintaining the line and
542
+ column information associated between those snippets and the original source
543
+ code. This is useful as the final intermediate representation a compiler might
544
+ use before outputting the generated JS and source map.
545
+
546
+ #### new SourceNode([line, column, source[, chunk[, name]]])
547
+
548
+ * `line`: The original line number associated with this source node, or null if
549
+ it isn't associated with an original line. The line number is 1-based.
550
+
551
+ * `column`: The original column number associated with this source node, or null
552
+ if it isn't associated with an original column. The column number
553
+ is 0-based.
554
+
555
+ * `source`: The original source's filename; null if no filename is provided.
556
+
557
+ * `chunk`: Optional. Is immediately passed to `SourceNode.prototype.add`, see
558
+ below.
559
+
560
+ * `name`: Optional. The original identifier.
561
+
562
+ ```js
563
+ var node = new SourceNode(1, 2, "a.cpp", [
564
+ new SourceNode(3, 4, "b.cpp", "extern int status;\n"),
565
+ new SourceNode(5, 6, "c.cpp", "std::string* make_string(size_t n);\n"),
566
+ new SourceNode(7, 8, "d.cpp", "int main(int argc, char** argv) {}\n"),
567
+ ]);
568
+ ```
569
+
570
+ #### SourceNode.fromStringWithSourceMap(code, sourceMapConsumer[, relativePath])
571
+
572
+ Creates a SourceNode from generated code and a SourceMapConsumer.
573
+
574
+ * `code`: The generated code
575
+
576
+ * `sourceMapConsumer` The SourceMap for the generated code
577
+
578
+ * `relativePath` The optional path that relative sources in `sourceMapConsumer`
579
+ should be relative to.
580
+
581
+ ```js
582
+ var consumer = new SourceMapConsumer(fs.readFileSync("path/to/my-file.js.map", "utf8"));
583
+ var node = SourceNode.fromStringWithSourceMap(fs.readFileSync("path/to/my-file.js"),
584
+ consumer);
585
+ ```
586
+
587
+ #### SourceNode.prototype.add(chunk)
588
+
589
+ Add a chunk of generated JS to this source node.
590
+
591
+ * `chunk`: A string snippet of generated JS code, another instance of
592
+ `SourceNode`, or an array where each member is one of those things.
593
+
594
+ ```js
595
+ node.add(" + ");
596
+ node.add(otherNode);
597
+ node.add([leftHandOperandNode, " + ", rightHandOperandNode]);
598
+ ```
599
+
600
+ #### SourceNode.prototype.prepend(chunk)
601
+
602
+ Prepend a chunk of generated JS to this source node.
603
+
604
+ * `chunk`: A string snippet of generated JS code, another instance of
605
+ `SourceNode`, or an array where each member is one of those things.
606
+
607
+ ```js
608
+ node.prepend("/** Build Id: f783haef86324gf **/\n\n");
609
+ ```
610
+
611
+ #### SourceNode.prototype.setSourceContent(sourceFile, sourceContent)
612
+
613
+ Set the source content for a source file. This will be added to the
614
+ `SourceMap` in the `sourcesContent` field.
615
+
616
+ * `sourceFile`: The filename of the source file
617
+
618
+ * `sourceContent`: The content of the source file
619
+
620
+ ```js
621
+ node.setSourceContent("module-one.scm",
622
+ fs.readFileSync("path/to/module-one.scm"))
623
+ ```
624
+
625
+ #### SourceNode.prototype.walk(fn)
626
+
627
+ Walk over the tree of JS snippets in this node and its children. The walking
628
+ function is called once for each snippet of JS and is passed that snippet and
629
+ the its original associated source's line/column location.
630
+
631
+ * `fn`: The traversal function.
632
+
633
+ ```js
634
+ var node = new SourceNode(1, 2, "a.js", [
635
+ new SourceNode(3, 4, "b.js", "uno"),
636
+ "dos",
637
+ [
638
+ "tres",
639
+ new SourceNode(5, 6, "c.js", "quatro")
640
+ ]
641
+ ]);
642
+
643
+ node.walk(function (code, loc) { console.log("WALK:", code, loc); })
644
+ // WALK: uno { source: 'b.js', line: 3, column: 4, name: null }
645
+ // WALK: dos { source: 'a.js', line: 1, column: 2, name: null }
646
+ // WALK: tres { source: 'a.js', line: 1, column: 2, name: null }
647
+ // WALK: quatro { source: 'c.js', line: 5, column: 6, name: null }
648
+ ```
649
+
650
+ #### SourceNode.prototype.walkSourceContents(fn)
651
+
652
+ Walk over the tree of SourceNodes. The walking function is called for each
653
+ source file content and is passed the filename and source content.
654
+
655
+ * `fn`: The traversal function.
656
+
657
+ ```js
658
+ var a = new SourceNode(1, 2, "a.js", "generated from a");
659
+ a.setSourceContent("a.js", "original a");
660
+ var b = new SourceNode(1, 2, "b.js", "generated from b");
661
+ b.setSourceContent("b.js", "original b");
662
+ var c = new SourceNode(1, 2, "c.js", "generated from c");
663
+ c.setSourceContent("c.js", "original c");
664
+
665
+ var node = new SourceNode(null, null, null, [a, b, c]);
666
+ node.walkSourceContents(function (source, contents) { console.log("WALK:", source, ":", contents); })
667
+ // WALK: a.js : original a
668
+ // WALK: b.js : original b
669
+ // WALK: c.js : original c
670
+ ```
671
+
672
+ #### SourceNode.prototype.join(sep)
673
+
674
+ Like `Array.prototype.join` except for SourceNodes. Inserts the separator
675
+ between each of this source node's children.
676
+
677
+ * `sep`: The separator.
678
+
679
+ ```js
680
+ var lhs = new SourceNode(1, 2, "a.rs", "my_copy");
681
+ var operand = new SourceNode(3, 4, "a.rs", "=");
682
+ var rhs = new SourceNode(5, 6, "a.rs", "orig.clone()");
683
+
684
+ var node = new SourceNode(null, null, null, [ lhs, operand, rhs ]);
685
+ var joinedNode = node.join(" ");
686
+ ```
687
+
688
+ #### SourceNode.prototype.replaceRight(pattern, replacement)
689
+
690
+ Call `String.prototype.replace` on the very right-most source snippet. Useful
691
+ for trimming white space from the end of a source node, etc.
692
+
693
+ * `pattern`: The pattern to replace.
694
+
695
+ * `replacement`: The thing to replace the pattern with.
696
+
697
+ ```js
698
+ // Trim trailing white space.
699
+ node.replaceRight(/\s*$/, "");
700
+ ```
701
+
702
+ #### SourceNode.prototype.toString()
703
+
704
+ Return the string representation of this source node. Walks over the tree and
705
+ concatenates all the various snippets together to one string.
706
+
707
+ ```js
708
+ var node = new SourceNode(1, 2, "a.js", [
709
+ new SourceNode(3, 4, "b.js", "uno"),
710
+ "dos",
711
+ [
712
+ "tres",
713
+ new SourceNode(5, 6, "c.js", "quatro")
714
+ ]
715
+ ]);
716
+
717
+ node.toString()
718
+ // 'unodostresquatro'
719
+ ```
720
+
721
+ #### SourceNode.prototype.toStringWithSourceMap([startOfSourceMap])
722
+
723
+ Returns the string representation of this tree of source nodes, plus a
724
+ SourceMapGenerator which contains all the mappings between the generated and
725
+ original sources.
726
+
727
+ The arguments are the same as those to `new SourceMapGenerator`.
728
+
729
+ ```js
730
+ var node = new SourceNode(1, 2, "a.js", [
731
+ new SourceNode(3, 4, "b.js", "uno"),
732
+ "dos",
733
+ [
734
+ "tres",
735
+ new SourceNode(5, 6, "c.js", "quatro")
736
+ ]
737
+ ]);
738
+
739
+ node.toStringWithSourceMap({ file: "my-output-file.js" })
740
+ // { code: 'unodostresquatro',
741
+ // map: [object SourceMapGenerator] }
742
+ ```