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,889 @@
1
+ // Type definitions for commander
2
+ // Original definitions by: Alan Agius <https://github.com/alan-agius4>, Marcelo Dezem <https://github.com/mdezem>, vvakame <https://github.com/vvakame>, Jules Randolph <https://github.com/sveinburne>
3
+
4
+ // Using method rather than property for method-signature-style, to document method overloads separately. Allow either.
5
+ /* eslint-disable @typescript-eslint/method-signature-style */
6
+ /* eslint-disable @typescript-eslint/no-explicit-any */
7
+
8
+ export class CommanderError extends Error {
9
+ code: string;
10
+ exitCode: number;
11
+ message: string;
12
+ nestedError?: string;
13
+
14
+ /**
15
+ * Constructs the CommanderError class
16
+ * @param exitCode - suggested exit code which could be used with process.exit
17
+ * @param code - an id string representing the error
18
+ * @param message - human-readable description of the error
19
+ * @constructor
20
+ */
21
+ constructor(exitCode: number, code: string, message: string);
22
+ }
23
+
24
+ export class InvalidArgumentError extends CommanderError {
25
+ /**
26
+ * Constructs the InvalidArgumentError class
27
+ * @param message - explanation of why argument is invalid
28
+ * @constructor
29
+ */
30
+ constructor(message: string);
31
+ }
32
+ export { InvalidArgumentError as InvalidOptionArgumentError }; // deprecated old name
33
+
34
+ export interface ErrorOptions { // optional parameter for error()
35
+ /** an id string representing the error */
36
+ code?: string;
37
+ /** suggested exit code which could be used with process.exit */
38
+ exitCode?: number;
39
+ }
40
+
41
+ export class Argument {
42
+ description: string;
43
+ required: boolean;
44
+ variadic: boolean;
45
+
46
+ /**
47
+ * Initialize a new command argument with the given name and description.
48
+ * The default is that the argument is required, and you can explicitly
49
+ * indicate this with <> around the name. Put [] around the name for an optional argument.
50
+ */
51
+ constructor(arg: string, description?: string);
52
+
53
+ /**
54
+ * Return argument name.
55
+ */
56
+ name(): string;
57
+
58
+ /**
59
+ * Set the default value, and optionally supply the description to be displayed in the help.
60
+ */
61
+ default(value: unknown, description?: string): this;
62
+
63
+ /**
64
+ * Set the custom handler for processing CLI command arguments into argument values.
65
+ */
66
+ argParser<T>(fn: (value: string, previous: T) => T): this;
67
+
68
+ /**
69
+ * Only allow argument value to be one of choices.
70
+ */
71
+ choices(values: readonly string[]): this;
72
+
73
+ /**
74
+ * Make argument required.
75
+ */
76
+ argRequired(): this;
77
+
78
+ /**
79
+ * Make argument optional.
80
+ */
81
+ argOptional(): this;
82
+ }
83
+
84
+ export class Option {
85
+ flags: string;
86
+ description: string;
87
+
88
+ required: boolean; // A value must be supplied when the option is specified.
89
+ optional: boolean; // A value is optional when the option is specified.
90
+ variadic: boolean;
91
+ mandatory: boolean; // The option must have a value after parsing, which usually means it must be specified on command line.
92
+ short?: string;
93
+ long?: string;
94
+ negate: boolean;
95
+ defaultValue?: any;
96
+ defaultValueDescription?: string;
97
+ parseArg?: <T>(value: string, previous: T) => T;
98
+ hidden: boolean;
99
+ argChoices?: string[];
100
+
101
+ constructor(flags: string, description?: string);
102
+
103
+ /**
104
+ * Set the default value, and optionally supply the description to be displayed in the help.
105
+ */
106
+ default(value: unknown, description?: string): this;
107
+
108
+ /**
109
+ * Preset to use when option used without option-argument, especially optional but also boolean and negated.
110
+ * The custom processing (parseArg) is called.
111
+ *
112
+ * @example
113
+ * ```ts
114
+ * new Option('--color').default('GREYSCALE').preset('RGB');
115
+ * new Option('--donate [amount]').preset('20').argParser(parseFloat);
116
+ * ```
117
+ */
118
+ preset(arg: unknown): this;
119
+
120
+ /**
121
+ * Add option name(s) that conflict with this option.
122
+ * An error will be displayed if conflicting options are found during parsing.
123
+ *
124
+ * @example
125
+ * ```ts
126
+ * new Option('--rgb').conflicts('cmyk');
127
+ * new Option('--js').conflicts(['ts', 'jsx']);
128
+ * ```
129
+ */
130
+ conflicts(names: string | string[]): this;
131
+
132
+ /**
133
+ * Specify implied option values for when this option is set and the implied options are not.
134
+ *
135
+ * The custom processing (parseArg) is not called on the implied values.
136
+ *
137
+ * @example
138
+ * program
139
+ * .addOption(new Option('--log', 'write logging information to file'))
140
+ * .addOption(new Option('--trace', 'log extra details').implies({ log: 'trace.txt' }));
141
+ */
142
+ implies(optionValues: OptionValues): this;
143
+
144
+ /**
145
+ * Set environment variable to check for option value.
146
+ *
147
+ * An environment variables is only used if when processed the current option value is
148
+ * undefined, or the source of the current value is 'default' or 'config' or 'env'.
149
+ */
150
+ env(name: string): this;
151
+
152
+ /**
153
+ * Calculate the full description, including defaultValue etc.
154
+ */
155
+ fullDescription(): string;
156
+
157
+ /**
158
+ * Set the custom handler for processing CLI option arguments into option values.
159
+ */
160
+ argParser<T>(fn: (value: string, previous: T) => T): this;
161
+
162
+ /**
163
+ * Whether the option is mandatory and must have a value after parsing.
164
+ */
165
+ makeOptionMandatory(mandatory?: boolean): this;
166
+
167
+ /**
168
+ * Hide option in help.
169
+ */
170
+ hideHelp(hide?: boolean): this;
171
+
172
+ /**
173
+ * Only allow option value to be one of choices.
174
+ */
175
+ choices(values: readonly string[]): this;
176
+
177
+ /**
178
+ * Return option name.
179
+ */
180
+ name(): string;
181
+
182
+ /**
183
+ * Return option name, in a camelcase format that can be used
184
+ * as a object attribute key.
185
+ */
186
+ attributeName(): string;
187
+
188
+ /**
189
+ * Return whether a boolean option.
190
+ *
191
+ * Options are one of boolean, negated, required argument, or optional argument.
192
+ */
193
+ isBoolean(): boolean;
194
+ }
195
+
196
+ export class Help {
197
+ /** output helpWidth, long lines are wrapped to fit */
198
+ helpWidth?: number;
199
+ sortSubcommands: boolean;
200
+ sortOptions: boolean;
201
+ showGlobalOptions: boolean;
202
+
203
+ constructor();
204
+
205
+ /** Get the command term to show in the list of subcommands. */
206
+ subcommandTerm(cmd: Command): string;
207
+ /** Get the command summary to show in the list of subcommands. */
208
+ subcommandDescription(cmd: Command): string;
209
+ /** Get the option term to show in the list of options. */
210
+ optionTerm(option: Option): string;
211
+ /** Get the option description to show in the list of options. */
212
+ optionDescription(option: Option): string;
213
+ /** Get the argument term to show in the list of arguments. */
214
+ argumentTerm(argument: Argument): string;
215
+ /** Get the argument description to show in the list of arguments. */
216
+ argumentDescription(argument: Argument): string;
217
+
218
+ /** Get the command usage to be displayed at the top of the built-in help. */
219
+ commandUsage(cmd: Command): string;
220
+ /** Get the description for the command. */
221
+ commandDescription(cmd: Command): string;
222
+
223
+ /** Get an array of the visible subcommands. Includes a placeholder for the implicit help command, if there is one. */
224
+ visibleCommands(cmd: Command): Command[];
225
+ /** Get an array of the visible options. Includes a placeholder for the implicit help option, if there is one. */
226
+ visibleOptions(cmd: Command): Option[];
227
+ /** Get an array of the visible global options. (Not including help.) */
228
+ visibleGlobalOptions(cmd: Command): Option[];
229
+ /** Get an array of the arguments which have descriptions. */
230
+ visibleArguments(cmd: Command): Argument[];
231
+
232
+ /** Get the longest command term length. */
233
+ longestSubcommandTermLength(cmd: Command, helper: Help): number;
234
+ /** Get the longest option term length. */
235
+ longestOptionTermLength(cmd: Command, helper: Help): number;
236
+ /** Get the longest global option term length. */
237
+ longestGlobalOptionTermLength(cmd: Command, helper: Help): number;
238
+ /** Get the longest argument term length. */
239
+ longestArgumentTermLength(cmd: Command, helper: Help): number;
240
+ /** Calculate the pad width from the maximum term length. */
241
+ padWidth(cmd: Command, helper: Help): number;
242
+
243
+ /**
244
+ * Wrap the given string to width characters per line, with lines after the first indented.
245
+ * Do not wrap if insufficient room for wrapping (minColumnWidth), or string is manually formatted.
246
+ */
247
+ wrap(str: string, width: number, indent: number, minColumnWidth?: number): string;
248
+
249
+ /** Generate the built-in help text. */
250
+ formatHelp(cmd: Command, helper: Help): string;
251
+ }
252
+ export type HelpConfiguration = Partial<Help>;
253
+
254
+ export interface ParseOptions {
255
+ from: 'node' | 'electron' | 'user';
256
+ }
257
+ export interface HelpContext { // optional parameter for .help() and .outputHelp()
258
+ error: boolean;
259
+ }
260
+ export interface AddHelpTextContext { // passed to text function used with .addHelpText()
261
+ error: boolean;
262
+ command: Command;
263
+ }
264
+ export interface OutputConfiguration {
265
+ writeOut?(str: string): void;
266
+ writeErr?(str: string): void;
267
+ getOutHelpWidth?(): number;
268
+ getErrHelpWidth?(): number;
269
+ outputError?(str: string, write: (str: string) => void): void;
270
+
271
+ }
272
+
273
+ export type AddHelpTextPosition = 'beforeAll' | 'before' | 'after' | 'afterAll';
274
+ export type HookEvent = 'preSubcommand' | 'preAction' | 'postAction';
275
+ export type OptionValueSource = 'default' | 'config' | 'env' | 'cli' | 'implied';
276
+
277
+ export type OptionValues = Record<string, any>;
278
+
279
+ export class Command {
280
+ args: string[];
281
+ processedArgs: any[];
282
+ readonly commands: readonly Command[];
283
+ readonly options: readonly Option[];
284
+ parent: Command | null;
285
+
286
+ constructor(name?: string);
287
+
288
+ /**
289
+ * Set the program version to `str`.
290
+ *
291
+ * This method auto-registers the "-V, --version" flag
292
+ * which will print the version number when passed.
293
+ *
294
+ * You can optionally supply the flags and description to override the defaults.
295
+ */
296
+ version(str: string, flags?: string, description?: string): this;
297
+
298
+ /**
299
+ * Define a command, implemented using an action handler.
300
+ *
301
+ * @remarks
302
+ * The command description is supplied using `.description`, not as a parameter to `.command`.
303
+ *
304
+ * @example
305
+ * ```ts
306
+ * program
307
+ * .command('clone <source> [destination]')
308
+ * .description('clone a repository into a newly created directory')
309
+ * .action((source, destination) => {
310
+ * console.log('clone command called');
311
+ * });
312
+ * ```
313
+ *
314
+ * @param nameAndArgs - command name and arguments, args are `<required>` or `[optional]` and last may also be `variadic...`
315
+ * @param opts - configuration options
316
+ * @returns new command
317
+ */
318
+ command(nameAndArgs: string, opts?: CommandOptions): ReturnType<this['createCommand']>;
319
+ /**
320
+ * Define a command, implemented in a separate executable file.
321
+ *
322
+ * @remarks
323
+ * The command description is supplied as the second parameter to `.command`.
324
+ *
325
+ * @example
326
+ * ```ts
327
+ * program
328
+ * .command('start <service>', 'start named service')
329
+ * .command('stop [service]', 'stop named service, or all if no name supplied');
330
+ * ```
331
+ *
332
+ * @param nameAndArgs - command name and arguments, args are `<required>` or `[optional]` and last may also be `variadic...`
333
+ * @param description - description of executable command
334
+ * @param opts - configuration options
335
+ * @returns `this` command for chaining
336
+ */
337
+ command(nameAndArgs: string, description: string, opts?: ExecutableCommandOptions): this;
338
+
339
+ /**
340
+ * Factory routine to create a new unattached command.
341
+ *
342
+ * See .command() for creating an attached subcommand, which uses this routine to
343
+ * create the command. You can override createCommand to customise subcommands.
344
+ */
345
+ createCommand(name?: string): Command;
346
+
347
+ /**
348
+ * Add a prepared subcommand.
349
+ *
350
+ * See .command() for creating an attached subcommand which inherits settings from its parent.
351
+ *
352
+ * @returns `this` command for chaining
353
+ */
354
+ addCommand(cmd: Command, opts?: CommandOptions): this;
355
+
356
+ /**
357
+ * Factory routine to create a new unattached argument.
358
+ *
359
+ * See .argument() for creating an attached argument, which uses this routine to
360
+ * create the argument. You can override createArgument to return a custom argument.
361
+ */
362
+ createArgument(name: string, description?: string): Argument;
363
+
364
+ /**
365
+ * Define argument syntax for command.
366
+ *
367
+ * The default is that the argument is required, and you can explicitly
368
+ * indicate this with <> around the name. Put [] around the name for an optional argument.
369
+ *
370
+ * @example
371
+ * ```
372
+ * program.argument('<input-file>');
373
+ * program.argument('[output-file]');
374
+ * ```
375
+ *
376
+ * @returns `this` command for chaining
377
+ */
378
+ argument<T>(flags: string, description: string, fn: (value: string, previous: T) => T, defaultValue?: T): this;
379
+ argument(name: string, description?: string, defaultValue?: unknown): this;
380
+
381
+ /**
382
+ * Define argument syntax for command, adding a prepared argument.
383
+ *
384
+ * @returns `this` command for chaining
385
+ */
386
+ addArgument(arg: Argument): this;
387
+
388
+ /**
389
+ * Define argument syntax for command, adding multiple at once (without descriptions).
390
+ *
391
+ * See also .argument().
392
+ *
393
+ * @example
394
+ * ```
395
+ * program.arguments('<cmd> [env]');
396
+ * ```
397
+ *
398
+ * @returns `this` command for chaining
399
+ */
400
+ arguments(names: string): this;
401
+
402
+ /**
403
+ * Override default decision whether to add implicit help command.
404
+ *
405
+ * @example
406
+ * ```
407
+ * addHelpCommand() // force on
408
+ * addHelpCommand(false); // force off
409
+ * addHelpCommand('help [cmd]', 'display help for [cmd]'); // force on with custom details
410
+ * ```
411
+ *
412
+ * @returns `this` command for chaining
413
+ */
414
+ addHelpCommand(enableOrNameAndArgs?: string | boolean, description?: string): this;
415
+
416
+ /**
417
+ * Add hook for life cycle event.
418
+ */
419
+ hook(event: HookEvent, listener: (thisCommand: Command, actionCommand: Command) => void | Promise<void>): this;
420
+
421
+ /**
422
+ * Register callback to use as replacement for calling process.exit.
423
+ */
424
+ exitOverride(callback?: (err: CommanderError) => never | void): this;
425
+
426
+ /**
427
+ * Display error message and exit (or call exitOverride).
428
+ */
429
+ error(message: string, errorOptions?: ErrorOptions): never;
430
+
431
+ /**
432
+ * You can customise the help with a subclass of Help by overriding createHelp,
433
+ * or by overriding Help properties using configureHelp().
434
+ */
435
+ createHelp(): Help;
436
+
437
+ /**
438
+ * You can customise the help by overriding Help properties using configureHelp(),
439
+ * or with a subclass of Help by overriding createHelp().
440
+ */
441
+ configureHelp(configuration: HelpConfiguration): this;
442
+ /** Get configuration */
443
+ configureHelp(): HelpConfiguration;
444
+
445
+ /**
446
+ * The default output goes to stdout and stderr. You can customise this for special
447
+ * applications. You can also customise the display of errors by overriding outputError.
448
+ *
449
+ * The configuration properties are all functions:
450
+ * ```
451
+ * // functions to change where being written, stdout and stderr
452
+ * writeOut(str)
453
+ * writeErr(str)
454
+ * // matching functions to specify width for wrapping help
455
+ * getOutHelpWidth()
456
+ * getErrHelpWidth()
457
+ * // functions based on what is being written out
458
+ * outputError(str, write) // used for displaying errors, and not used for displaying help
459
+ * ```
460
+ */
461
+ configureOutput(configuration: OutputConfiguration): this;
462
+ /** Get configuration */
463
+ configureOutput(): OutputConfiguration;
464
+
465
+ /**
466
+ * Copy settings that are useful to have in common across root command and subcommands.
467
+ *
468
+ * (Used internally when adding a command using `.command()` so subcommands inherit parent settings.)
469
+ */
470
+ copyInheritedSettings(sourceCommand: Command): this;
471
+
472
+ /**
473
+ * Display the help or a custom message after an error occurs.
474
+ */
475
+ showHelpAfterError(displayHelp?: boolean | string): this;
476
+
477
+ /**
478
+ * Display suggestion of similar commands for unknown commands, or options for unknown options.
479
+ */
480
+ showSuggestionAfterError(displaySuggestion?: boolean): this;
481
+
482
+ /**
483
+ * Register callback `fn` for the command.
484
+ *
485
+ * @example
486
+ * ```
487
+ * program
488
+ * .command('serve')
489
+ * .description('start service')
490
+ * .action(function() {
491
+ * // do work here
492
+ * });
493
+ * ```
494
+ *
495
+ * @returns `this` command for chaining
496
+ */
497
+ action(fn: (...args: any[]) => void | Promise<void>): this;
498
+
499
+ /**
500
+ * Define option with `flags`, `description` and optional
501
+ * coercion `fn`.
502
+ *
503
+ * The `flags` string contains the short and/or long flags,
504
+ * separated by comma, a pipe or space. The following are all valid
505
+ * all will output this way when `--help` is used.
506
+ *
507
+ * "-p, --pepper"
508
+ * "-p|--pepper"
509
+ * "-p --pepper"
510
+ *
511
+ * @example
512
+ * ```
513
+ * // simple boolean defaulting to false
514
+ * program.option('-p, --pepper', 'add pepper');
515
+ *
516
+ * --pepper
517
+ * program.pepper
518
+ * // => Boolean
519
+ *
520
+ * // simple boolean defaulting to true
521
+ * program.option('-C, --no-cheese', 'remove cheese');
522
+ *
523
+ * program.cheese
524
+ * // => true
525
+ *
526
+ * --no-cheese
527
+ * program.cheese
528
+ * // => false
529
+ *
530
+ * // required argument
531
+ * program.option('-C, --chdir <path>', 'change the working directory');
532
+ *
533
+ * --chdir /tmp
534
+ * program.chdir
535
+ * // => "/tmp"
536
+ *
537
+ * // optional argument
538
+ * program.option('-c, --cheese [type]', 'add cheese [marble]');
539
+ * ```
540
+ *
541
+ * @returns `this` command for chaining
542
+ */
543
+ option(flags: string, description?: string, defaultValue?: string | boolean | string[]): this;
544
+ option<T>(flags: string, description: string, fn: (value: string, previous: T) => T, defaultValue?: T): this;
545
+ /** @deprecated since v7, instead use choices or a custom function */
546
+ option(flags: string, description: string, regexp: RegExp, defaultValue?: string | boolean | string[]): this;
547
+
548
+ /**
549
+ * Define a required option, which must have a value after parsing. This usually means
550
+ * the option must be specified on the command line. (Otherwise the same as .option().)
551
+ *
552
+ * The `flags` string contains the short and/or long flags, separated by comma, a pipe or space.
553
+ */
554
+ requiredOption(flags: string, description?: string, defaultValue?: string | boolean | string[]): this;
555
+ requiredOption<T>(flags: string, description: string, fn: (value: string, previous: T) => T, defaultValue?: T): this;
556
+ /** @deprecated since v7, instead use choices or a custom function */
557
+ requiredOption(flags: string, description: string, regexp: RegExp, defaultValue?: string | boolean | string[]): this;
558
+
559
+ /**
560
+ * Factory routine to create a new unattached option.
561
+ *
562
+ * See .option() for creating an attached option, which uses this routine to
563
+ * create the option. You can override createOption to return a custom option.
564
+ */
565
+
566
+ createOption(flags: string, description?: string): Option;
567
+
568
+ /**
569
+ * Add a prepared Option.
570
+ *
571
+ * See .option() and .requiredOption() for creating and attaching an option in a single call.
572
+ */
573
+ addOption(option: Option): this;
574
+
575
+ /**
576
+ * Whether to store option values as properties on command object,
577
+ * or store separately (specify false). In both cases the option values can be accessed using .opts().
578
+ *
579
+ * @returns `this` command for chaining
580
+ */
581
+ storeOptionsAsProperties<T extends OptionValues>(): this & T;
582
+ storeOptionsAsProperties<T extends OptionValues>(storeAsProperties: true): this & T;
583
+ storeOptionsAsProperties(storeAsProperties?: boolean): this;
584
+
585
+ /**
586
+ * Retrieve option value.
587
+ */
588
+ getOptionValue(key: string): any;
589
+
590
+ /**
591
+ * Store option value.
592
+ */
593
+ setOptionValue(key: string, value: unknown): this;
594
+
595
+ /**
596
+ * Store option value and where the value came from.
597
+ */
598
+ setOptionValueWithSource(key: string, value: unknown, source: OptionValueSource): this;
599
+
600
+ /**
601
+ * Get source of option value.
602
+ */
603
+ getOptionValueSource(key: string): OptionValueSource | undefined;
604
+
605
+ /**
606
+ * Get source of option value. See also .optsWithGlobals().
607
+ */
608
+ getOptionValueSourceWithGlobals(key: string): OptionValueSource | undefined;
609
+
610
+ /**
611
+ * Alter parsing of short flags with optional values.
612
+ *
613
+ * @example
614
+ * ```
615
+ * // for `.option('-f,--flag [value]'):
616
+ * .combineFlagAndOptionalValue(true) // `-f80` is treated like `--flag=80`, this is the default behaviour
617
+ * .combineFlagAndOptionalValue(false) // `-fb` is treated like `-f -b`
618
+ * ```
619
+ *
620
+ * @returns `this` command for chaining
621
+ */
622
+ combineFlagAndOptionalValue(combine?: boolean): this;
623
+
624
+ /**
625
+ * Allow unknown options on the command line.
626
+ *
627
+ * @returns `this` command for chaining
628
+ */
629
+ allowUnknownOption(allowUnknown?: boolean): this;
630
+
631
+ /**
632
+ * Allow excess command-arguments on the command line. Pass false to make excess arguments an error.
633
+ *
634
+ * @returns `this` command for chaining
635
+ */
636
+ allowExcessArguments(allowExcess?: boolean): this;
637
+
638
+ /**
639
+ * Enable positional options. Positional means global options are specified before subcommands which lets
640
+ * subcommands reuse the same option names, and also enables subcommands to turn on passThroughOptions.
641
+ *
642
+ * The default behaviour is non-positional and global options may appear anywhere on the command line.
643
+ *
644
+ * @returns `this` command for chaining
645
+ */
646
+ enablePositionalOptions(positional?: boolean): this;
647
+
648
+ /**
649
+ * Pass through options that come after command-arguments rather than treat them as command-options,
650
+ * so actual command-options come before command-arguments. Turning this on for a subcommand requires
651
+ * positional options to have been enabled on the program (parent commands).
652
+ *
653
+ * The default behaviour is non-positional and options may appear before or after command-arguments.
654
+ *
655
+ * @returns `this` command for chaining
656
+ */
657
+ passThroughOptions(passThrough?: boolean): this;
658
+
659
+ /**
660
+ * Parse `argv`, setting options and invoking commands when defined.
661
+ *
662
+ * The default expectation is that the arguments are from node and have the application as argv[0]
663
+ * and the script being run in argv[1], with user parameters after that.
664
+ *
665
+ * @example
666
+ * ```
667
+ * program.parse(process.argv);
668
+ * program.parse(); // implicitly use process.argv and auto-detect node vs electron conventions
669
+ * program.parse(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0]
670
+ * ```
671
+ *
672
+ * @returns `this` command for chaining
673
+ */
674
+ parse(argv?: readonly string[], options?: ParseOptions): this;
675
+
676
+ /**
677
+ * Parse `argv`, setting options and invoking commands when defined.
678
+ *
679
+ * Use parseAsync instead of parse if any of your action handlers are async. Returns a Promise.
680
+ *
681
+ * The default expectation is that the arguments are from node and have the application as argv[0]
682
+ * and the script being run in argv[1], with user parameters after that.
683
+ *
684
+ * @example
685
+ * ```
686
+ * program.parseAsync(process.argv);
687
+ * program.parseAsync(); // implicitly use process.argv and auto-detect node vs electron conventions
688
+ * program.parseAsync(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0]
689
+ * ```
690
+ *
691
+ * @returns Promise
692
+ */
693
+ parseAsync(argv?: readonly string[], options?: ParseOptions): Promise<this>;
694
+
695
+ /**
696
+ * Parse options from `argv` removing known options,
697
+ * and return argv split into operands and unknown arguments.
698
+ *
699
+ * argv => operands, unknown
700
+ * --known kkk op => [op], []
701
+ * op --known kkk => [op], []
702
+ * sub --unknown uuu op => [sub], [--unknown uuu op]
703
+ * sub -- --unknown uuu op => [sub --unknown uuu op], []
704
+ */
705
+ parseOptions(argv: string[]): ParseOptionsResult;
706
+
707
+ /**
708
+ * Return an object containing local option values as key-value pairs
709
+ */
710
+ opts<T extends OptionValues>(): T;
711
+
712
+ /**
713
+ * Return an object containing merged local and global option values as key-value pairs.
714
+ */
715
+ optsWithGlobals<T extends OptionValues>(): T;
716
+
717
+ /**
718
+ * Set the description.
719
+ *
720
+ * @returns `this` command for chaining
721
+ */
722
+
723
+ description(str: string): this;
724
+ /** @deprecated since v8, instead use .argument to add command argument with description */
725
+ description(str: string, argsDescription: Record<string, string>): this;
726
+ /**
727
+ * Get the description.
728
+ */
729
+ description(): string;
730
+
731
+ /**
732
+ * Set the summary. Used when listed as subcommand of parent.
733
+ *
734
+ * @returns `this` command for chaining
735
+ */
736
+
737
+ summary(str: string): this;
738
+ /**
739
+ * Get the summary.
740
+ */
741
+ summary(): string;
742
+
743
+ /**
744
+ * Set an alias for the command.
745
+ *
746
+ * You may call more than once to add multiple aliases. Only the first alias is shown in the auto-generated help.
747
+ *
748
+ * @returns `this` command for chaining
749
+ */
750
+ alias(alias: string): this;
751
+ /**
752
+ * Get alias for the command.
753
+ */
754
+ alias(): string;
755
+
756
+ /**
757
+ * Set aliases for the command.
758
+ *
759
+ * Only the first alias is shown in the auto-generated help.
760
+ *
761
+ * @returns `this` command for chaining
762
+ */
763
+ aliases(aliases: readonly string[]): this;
764
+ /**
765
+ * Get aliases for the command.
766
+ */
767
+ aliases(): string[];
768
+
769
+ /**
770
+ * Set the command usage.
771
+ *
772
+ * @returns `this` command for chaining
773
+ */
774
+ usage(str: string): this;
775
+ /**
776
+ * Get the command usage.
777
+ */
778
+ usage(): string;
779
+
780
+ /**
781
+ * Set the name of the command.
782
+ *
783
+ * @returns `this` command for chaining
784
+ */
785
+ name(str: string): this;
786
+ /**
787
+ * Get the name of the command.
788
+ */
789
+ name(): string;
790
+
791
+ /**
792
+ * Set the name of the command from script filename, such as process.argv[1],
793
+ * or require.main.filename, or __filename.
794
+ *
795
+ * (Used internally and public although not documented in README.)
796
+ *
797
+ * @example
798
+ * ```ts
799
+ * program.nameFromFilename(require.main.filename);
800
+ * ```
801
+ *
802
+ * @returns `this` command for chaining
803
+ */
804
+ nameFromFilename(filename: string): this;
805
+
806
+ /**
807
+ * Set the directory for searching for executable subcommands of this command.
808
+ *
809
+ * @example
810
+ * ```ts
811
+ * program.executableDir(__dirname);
812
+ * // or
813
+ * program.executableDir('subcommands');
814
+ * ```
815
+ *
816
+ * @returns `this` command for chaining
817
+ */
818
+ executableDir(path: string): this;
819
+ /**
820
+ * Get the executable search directory.
821
+ */
822
+ executableDir(): string;
823
+
824
+ /**
825
+ * Output help information for this command.
826
+ *
827
+ * Outputs built-in help, and custom text added using `.addHelpText()`.
828
+ *
829
+ */
830
+ outputHelp(context?: HelpContext): void;
831
+ /** @deprecated since v7 */
832
+ outputHelp(cb?: (str: string) => string): void;
833
+
834
+ /**
835
+ * Return command help documentation.
836
+ */
837
+ helpInformation(context?: HelpContext): string;
838
+
839
+ /**
840
+ * You can pass in flags and a description to override the help
841
+ * flags and help description for your command. Pass in false
842
+ * to disable the built-in help option.
843
+ */
844
+ helpOption(flags?: string | boolean, description?: string): this;
845
+
846
+ /**
847
+ * Output help information and exit.
848
+ *
849
+ * Outputs built-in help, and custom text added using `.addHelpText()`.
850
+ */
851
+ help(context?: HelpContext): never;
852
+ /** @deprecated since v7 */
853
+ help(cb?: (str: string) => string): never;
854
+
855
+ /**
856
+ * Add additional text to be displayed with the built-in help.
857
+ *
858
+ * Position is 'before' or 'after' to affect just this command,
859
+ * and 'beforeAll' or 'afterAll' to affect this command and all its subcommands.
860
+ */
861
+ addHelpText(position: AddHelpTextPosition, text: string): this;
862
+ addHelpText(position: AddHelpTextPosition, text: (context: AddHelpTextContext) => string): this;
863
+
864
+ /**
865
+ * Add a listener (callback) for when events occur. (Implemented using EventEmitter.)
866
+ */
867
+ on(event: string | symbol, listener: (...args: any[]) => void): this;
868
+ }
869
+
870
+ export interface CommandOptions {
871
+ hidden?: boolean;
872
+ isDefault?: boolean;
873
+ /** @deprecated since v7, replaced by hidden */
874
+ noHelp?: boolean;
875
+ }
876
+ export interface ExecutableCommandOptions extends CommandOptions {
877
+ executableFile?: string;
878
+ }
879
+
880
+ export interface ParseOptionsResult {
881
+ operands: string[];
882
+ unknown: string[];
883
+ }
884
+
885
+ export function createCommand(name?: string): Command;
886
+ export function createOption(flags: string, description?: string): Option;
887
+ export function createArgument(name: string, description?: string): Argument;
888
+
889
+ export const program: Command;