django-handyhelpers 0.3.19__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.
- {django_handyhelpers-0.3.19.dist-info → django_handyhelpers-0.3.35.dist-info}/METADATA +16 -6
- {django_handyhelpers-0.3.19.dist-info → django_handyhelpers-0.3.35.dist-info}/RECORD +563 -76
- {django_handyhelpers-0.3.19.dist-info → django_handyhelpers-0.3.35.dist-info}/WHEEL +1 -1
- handyhelpers/__init__.py +6 -6
- handyhelpers/forms.py +9 -1
- handyhelpers/mixins/form_mixins.py +61 -0
- handyhelpers/mixins/model_mixins.py +21 -0
- handyhelpers/mixins/serializer_mixins.py +35 -0
- handyhelpers/mixins/view_mixins.py +5 -2
- handyhelpers/serializers.py +23 -3
- handyhelpers/static/handyhelpers/css/table_sortable.css +17 -0
- handyhelpers/static/handyhelpers/js/sidebar.js +8 -4
- handyhelpers/static/handyhelpers/js/table_sortable.js +119 -0
- handyhelpers/static/node_modules/.bin/acorn +4 -0
- handyhelpers/static/node_modules/.bin/css-b64-images +13 -0
- handyhelpers/static/node_modules/.bin/esbuild +0 -0
- handyhelpers/static/node_modules/.bin/html-minifier-terser +308 -0
- handyhelpers/static/node_modules/.bin/minify +98 -0
- handyhelpers/static/node_modules/.bin/terser +21 -0
- handyhelpers/static/node_modules/.bin/uglifyjs +624 -0
- handyhelpers/static/node_modules/.package-lock.json +750 -0
- handyhelpers/static/node_modules/@esbuild/linux-x64/README.md +3 -0
- handyhelpers/static/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
- handyhelpers/static/node_modules/@esbuild/linux-x64/package.json +20 -0
- handyhelpers/static/node_modules/@jridgewell/gen-mapping/LICENSE +19 -0
- handyhelpers/static/node_modules/@jridgewell/gen-mapping/README.md +227 -0
- handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs +230 -0
- handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map +1 -0
- handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js +246 -0
- handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map +1 -0
- handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +88 -0
- handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +12 -0
- handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts +36 -0
- handyhelpers/static/node_modules/@jridgewell/gen-mapping/package.json +76 -0
- handyhelpers/static/node_modules/@jridgewell/resolve-uri/LICENSE +19 -0
- handyhelpers/static/node_modules/@jridgewell/resolve-uri/README.md +40 -0
- handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs +232 -0
- handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map +1 -0
- handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js +240 -0
- handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map +1 -0
- handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts +4 -0
- handyhelpers/static/node_modules/@jridgewell/resolve-uri/package.json +69 -0
- handyhelpers/static/node_modules/@jridgewell/set-array/LICENSE +19 -0
- handyhelpers/static/node_modules/@jridgewell/set-array/README.md +37 -0
- handyhelpers/static/node_modules/@jridgewell/set-array/dist/set-array.mjs +69 -0
- handyhelpers/static/node_modules/@jridgewell/set-array/dist/set-array.mjs.map +1 -0
- handyhelpers/static/node_modules/@jridgewell/set-array/dist/set-array.umd.js +83 -0
- handyhelpers/static/node_modules/@jridgewell/set-array/dist/set-array.umd.js.map +1 -0
- handyhelpers/static/node_modules/@jridgewell/set-array/dist/types/set-array.d.ts +32 -0
- handyhelpers/static/node_modules/@jridgewell/set-array/package.json +65 -0
- handyhelpers/static/node_modules/@jridgewell/source-map/LICENSE +19 -0
- handyhelpers/static/node_modules/@jridgewell/source-map/README.md +184 -0
- handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.cjs +95 -0
- handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.cjs.map +1 -0
- handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.mjs +90 -0
- handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.mjs.map +1 -0
- handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.umd.js +1242 -0
- handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.umd.js.map +1 -0
- handyhelpers/static/node_modules/@jridgewell/source-map/dist/types/source-map.d.ts +35 -0
- handyhelpers/static/node_modules/@jridgewell/source-map/package.json +71 -0
- handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/LICENSE +21 -0
- handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/README.md +264 -0
- handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +424 -0
- handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +1 -0
- handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +439 -0
- handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +1 -0
- handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/types/scopes.d.ts +49 -0
- handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +8 -0
- handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/types/strings.d.ts +15 -0
- handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/types/vlq.d.ts +6 -0
- handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/package.json +75 -0
- handyhelpers/static/node_modules/@jridgewell/trace-mapping/LICENSE +19 -0
- handyhelpers/static/node_modules/@jridgewell/trace-mapping/README.md +257 -0
- handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +580 -0
- handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +1 -0
- handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +600 -0
- handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +1 -0
- handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts +8 -0
- handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/binary-search.d.ts +32 -0
- handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/by-source.d.ts +7 -0
- handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/resolve.d.ts +1 -0
- handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/sort.d.ts +2 -0
- handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts +16 -0
- handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/strip-filename.d.ts +4 -0
- handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +79 -0
- handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts +99 -0
- handyhelpers/static/node_modules/@jridgewell/trace-mapping/package.json +77 -0
- handyhelpers/static/node_modules/@popperjs/core/dist/cjs/enums.js +1 -1
- handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper-base.js +12 -170
- handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper-base.js.map +1 -1
- handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper-lite.js +14 -184
- handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper-lite.js.map +1 -1
- handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper.js +14 -197
- handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper.js.map +1 -1
- handyhelpers/static/node_modules/@popperjs/core/dist/esm/createPopper.js +6 -66
- handyhelpers/static/node_modules/@popperjs/core/dist/esm/modifiers/arrow.js +1 -12
- handyhelpers/static/node_modules/@popperjs/core/dist/esm/modifiers/computeStyles.js +2 -14
- handyhelpers/static/node_modules/@popperjs/core/dist/esm/utils/computeAutoPlacement.js +0 -4
- handyhelpers/static/node_modules/@popperjs/core/dist/esm/utils/userAgent.js +1 -1
- handyhelpers/static/node_modules/@popperjs/core/dist/umd/enums.js +1 -1
- handyhelpers/static/node_modules/@popperjs/core/dist/umd/enums.min.js +1 -1
- handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-base.js +12 -170
- handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-base.js.map +1 -1
- handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-base.min.js +2 -2
- handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-base.min.js.map +1 -1
- handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-lite.js +14 -184
- handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-lite.js.map +1 -1
- handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-lite.min.js +2 -2
- handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-lite.min.js.map +1 -1
- handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper.js +14 -197
- handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper.js.map +1 -1
- handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper.min.js +2 -2
- handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper.min.js.map +1 -1
- handyhelpers/static/node_modules/@popperjs/core/lib/createPopper.js +6 -66
- handyhelpers/static/node_modules/@popperjs/core/lib/createPopper.js.flow +2 -80
- handyhelpers/static/node_modules/@popperjs/core/lib/modifiers/arrow.js +1 -12
- handyhelpers/static/node_modules/@popperjs/core/lib/modifiers/arrow.js.flow +0 -22
- handyhelpers/static/node_modules/@popperjs/core/lib/modifiers/computeStyles.js +2 -14
- handyhelpers/static/node_modules/@popperjs/core/lib/modifiers/computeStyles.js.flow +3 -33
- handyhelpers/static/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js +0 -4
- handyhelpers/static/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js.flow +0 -12
- handyhelpers/static/node_modules/@popperjs/core/lib/utils/userAgent.js +1 -1
- handyhelpers/static/node_modules/@popperjs/core/lib/utils/userAgent.js.flow +1 -1
- handyhelpers/static/node_modules/@popperjs/core/package.json +1 -1
- handyhelpers/static/node_modules/@putout/minify/LICENSE +21 -0
- handyhelpers/static/node_modules/@putout/minify/README.md +110 -0
- handyhelpers/static/node_modules/@putout/minify/bundle/minify.min.js +52 -0
- handyhelpers/static/node_modules/@putout/minify/package.json +112 -0
- handyhelpers/static/node_modules/@swc/core/Visitor.d.ts +218 -0
- handyhelpers/static/node_modules/@swc/core/Visitor.js +1407 -0
- handyhelpers/static/node_modules/@swc/core/binding.d.ts +56 -0
- handyhelpers/static/node_modules/@swc/core/binding.js +351 -0
- handyhelpers/static/node_modules/@swc/core/index.d.ts +118 -0
- handyhelpers/static/node_modules/@swc/core/index.js +439 -0
- handyhelpers/static/node_modules/@swc/core/package.json +114 -0
- handyhelpers/static/node_modules/@swc/core/postinstall.js +148 -0
- handyhelpers/static/node_modules/@swc/core/spack.d.ts +51 -0
- handyhelpers/static/node_modules/@swc/core/spack.js +87 -0
- handyhelpers/static/node_modules/@swc/core/util.d.ts +1 -0
- handyhelpers/static/node_modules/@swc/core/util.js +104 -0
- handyhelpers/static/node_modules/@swc/core-linux-x64-gnu/README.md +3 -0
- handyhelpers/static/node_modules/@swc/core-linux-x64-gnu/package.json +45 -0
- handyhelpers/static/node_modules/@swc/core-linux-x64-gnu/swc.linux-x64-gnu.node +0 -0
- handyhelpers/static/node_modules/@swc/counter/CHANGELOG.md +7 -0
- handyhelpers/static/node_modules/@swc/counter/README.md +7 -0
- handyhelpers/static/node_modules/@swc/counter/index.js +1 -0
- handyhelpers/static/node_modules/@swc/counter/package.json +27 -0
- handyhelpers/static/node_modules/@swc/types/LICENSE +201 -0
- handyhelpers/static/node_modules/@swc/types/README.md +4 -0
- handyhelpers/static/node_modules/@swc/types/assumptions.d.ts +92 -0
- handyhelpers/static/node_modules/@swc/types/assumptions.js +2 -0
- handyhelpers/static/node_modules/@swc/types/index.d.ts +1977 -0
- handyhelpers/static/node_modules/@swc/types/index.js +2 -0
- handyhelpers/static/node_modules/@swc/types/package.json +39 -0
- handyhelpers/static/node_modules/acorn/CHANGELOG.md +928 -0
- handyhelpers/static/node_modules/acorn/LICENSE +21 -0
- handyhelpers/static/node_modules/acorn/README.md +282 -0
- handyhelpers/static/node_modules/acorn/bin/acorn +4 -0
- handyhelpers/static/node_modules/acorn/dist/acorn.d.mts +866 -0
- handyhelpers/static/node_modules/acorn/dist/acorn.d.ts +866 -0
- handyhelpers/static/node_modules/acorn/dist/acorn.js +6174 -0
- handyhelpers/static/node_modules/acorn/dist/acorn.mjs +6145 -0
- handyhelpers/static/node_modules/acorn/dist/bin.js +90 -0
- handyhelpers/static/node_modules/acorn/package.json +50 -0
- handyhelpers/static/node_modules/buffer-from/LICENSE +21 -0
- handyhelpers/static/node_modules/buffer-from/index.js +72 -0
- handyhelpers/static/node_modules/buffer-from/package.json +19 -0
- handyhelpers/static/node_modules/buffer-from/readme.md +69 -0
- handyhelpers/static/node_modules/camel-case/LICENSE +21 -0
- handyhelpers/static/node_modules/camel-case/README.md +47 -0
- handyhelpers/static/node_modules/camel-case/dist/index.d.ts +5 -0
- handyhelpers/static/node_modules/camel-case/dist/index.js +23 -0
- handyhelpers/static/node_modules/camel-case/dist/index.js.map +1 -0
- handyhelpers/static/node_modules/camel-case/dist/index.spec.d.ts +1 -0
- handyhelpers/static/node_modules/camel-case/dist/index.spec.js +26 -0
- handyhelpers/static/node_modules/camel-case/dist/index.spec.js.map +1 -0
- handyhelpers/static/node_modules/camel-case/dist.es2015/index.d.ts +5 -0
- handyhelpers/static/node_modules/camel-case/dist.es2015/index.js +17 -0
- handyhelpers/static/node_modules/camel-case/dist.es2015/index.js.map +1 -0
- handyhelpers/static/node_modules/camel-case/dist.es2015/index.spec.d.ts +1 -0
- handyhelpers/static/node_modules/camel-case/dist.es2015/index.spec.js +24 -0
- handyhelpers/static/node_modules/camel-case/dist.es2015/index.spec.js.map +1 -0
- handyhelpers/static/node_modules/camel-case/package.json +89 -0
- handyhelpers/static/node_modules/clean-css/History.md +1504 -0
- handyhelpers/static/node_modules/clean-css/LICENSE +19 -0
- handyhelpers/static/node_modules/clean-css/README.md +987 -0
- handyhelpers/static/node_modules/clean-css/index.js +1 -0
- handyhelpers/static/node_modules/clean-css/package.json +48 -0
- handyhelpers/static/node_modules/commander/LICENSE +22 -0
- handyhelpers/static/node_modules/commander/Readme.md +1134 -0
- handyhelpers/static/node_modules/commander/esm.mjs +16 -0
- handyhelpers/static/node_modules/commander/index.js +27 -0
- handyhelpers/static/node_modules/commander/package-support.json +16 -0
- handyhelpers/static/node_modules/commander/package.json +80 -0
- handyhelpers/static/node_modules/commander/typings/index.d.ts +889 -0
- handyhelpers/static/node_modules/css-b64-images/.npmignore +15 -0
- handyhelpers/static/node_modules/css-b64-images/.travis.yml +5 -0
- handyhelpers/static/node_modules/css-b64-images/README.md +78 -0
- handyhelpers/static/node_modules/css-b64-images/bin/css-b64-images +13 -0
- handyhelpers/static/node_modules/css-b64-images/draft.png +0 -0
- handyhelpers/static/node_modules/css-b64-images/draft.xcf +0 -0
- handyhelpers/static/node_modules/css-b64-images/package.json +30 -0
- handyhelpers/static/node_modules/css-b64-images/test/css-b64-images-test.js +38 -0
- handyhelpers/static/node_modules/css-b64-images/test/fixture/css/style.css +52 -0
- handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/callunasansregular-webfont.eot +0 -0
- handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/callunasansregular-webfont.svg +248 -0
- handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/callunasansregular-webfont.ttf +0 -0
- handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/callunasansregular-webfont.woff +0 -0
- handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/maven_pro_medium-webfont.eot +0 -0
- handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/maven_pro_medium-webfont.svg +245 -0
- handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/maven_pro_medium-webfont.ttf +0 -0
- handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/maven_pro_medium-webfont.woff +0 -0
- handyhelpers/static/node_modules/css-b64-images/test/fixture/img/background-pattern.gif +0 -0
- handyhelpers/static/node_modules/css-b64-images/test/fixture/img/dots.svg +6 -0
- handyhelpers/static/node_modules/css-b64-images/test/fixture/img/mixit-banner.png +0 -0
- handyhelpers/static/node_modules/debug/LICENSE +20 -0
- handyhelpers/static/node_modules/debug/README.md +481 -0
- handyhelpers/static/node_modules/debug/package.json +65 -0
- handyhelpers/static/node_modules/debug/src/browser.js +272 -0
- handyhelpers/static/node_modules/debug/src/common.js +292 -0
- handyhelpers/static/node_modules/debug/src/index.js +10 -0
- handyhelpers/static/node_modules/debug/src/node.js +263 -0
- handyhelpers/static/node_modules/dot-case/LICENSE +21 -0
- handyhelpers/static/node_modules/dot-case/README.md +37 -0
- handyhelpers/static/node_modules/dot-case/dist/index.d.ts +3 -0
- handyhelpers/static/node_modules/dot-case/dist/index.js +11 -0
- handyhelpers/static/node_modules/dot-case/dist/index.js.map +1 -0
- handyhelpers/static/node_modules/dot-case/dist/index.spec.d.ts +1 -0
- handyhelpers/static/node_modules/dot-case/dist/index.spec.js +26 -0
- handyhelpers/static/node_modules/dot-case/dist/index.spec.js.map +1 -0
- handyhelpers/static/node_modules/dot-case/dist.es2015/index.d.ts +3 -0
- handyhelpers/static/node_modules/dot-case/dist.es2015/index.js +7 -0
- handyhelpers/static/node_modules/dot-case/dist.es2015/index.js.map +1 -0
- handyhelpers/static/node_modules/dot-case/dist.es2015/index.spec.d.ts +1 -0
- handyhelpers/static/node_modules/dot-case/dist.es2015/index.spec.js +24 -0
- handyhelpers/static/node_modules/dot-case/dist.es2015/index.spec.js.map +1 -0
- handyhelpers/static/node_modules/dot-case/package.json +89 -0
- handyhelpers/static/node_modules/entities/LICENSE +11 -0
- handyhelpers/static/node_modules/entities/package.json +90 -0
- handyhelpers/static/node_modules/entities/readme.md +122 -0
- handyhelpers/static/node_modules/esbuild/LICENSE.md +21 -0
- handyhelpers/static/node_modules/esbuild/README.md +3 -0
- handyhelpers/static/node_modules/esbuild/bin/esbuild +0 -0
- handyhelpers/static/node_modules/esbuild/install.js +286 -0
- handyhelpers/static/node_modules/esbuild/package.json +47 -0
- handyhelpers/static/node_modules/find-up/index.d.ts +247 -0
- handyhelpers/static/node_modules/find-up/index.js +107 -0
- handyhelpers/static/node_modules/find-up/license +9 -0
- handyhelpers/static/node_modules/find-up/package.json +61 -0
- handyhelpers/static/node_modules/find-up/readme.md +160 -0
- handyhelpers/static/node_modules/fun-effects/LICENSE +674 -0
- handyhelpers/static/node_modules/fun-effects/README.md +10 -0
- handyhelpers/static/node_modules/fun-effects/dist/css/background_icons.min.css +1 -0
- handyhelpers/static/node_modules/fun-effects/dist/css/blur_group.min.css +1 -0
- handyhelpers/static/node_modules/fun-effects/dist/css/fades.min.css +1 -0
- handyhelpers/static/node_modules/fun-effects/dist/css/marquee.min.css +1 -0
- handyhelpers/static/node_modules/fun-effects/dist/css/scroller.min.css +1 -0
- handyhelpers/static/node_modules/fun-effects/dist/index.js +15 -0
- handyhelpers/static/node_modules/fun-effects/dist/js/background_icons.min.js +1 -0
- handyhelpers/static/node_modules/fun-effects/dist/js/marquee.min.js +1 -0
- handyhelpers/static/node_modules/fun-effects/dist/js/scroller.min.js +1 -0
- handyhelpers/static/node_modules/fun-effects/package.json +39 -0
- handyhelpers/static/node_modules/fun-effects/src/css/background_icons.css +39 -0
- handyhelpers/static/node_modules/fun-effects/src/css/blur_group.css +22 -0
- handyhelpers/static/node_modules/fun-effects/src/css/fades.css +94 -0
- handyhelpers/static/node_modules/fun-effects/src/css/marquee.css +45 -0
- handyhelpers/static/node_modules/fun-effects/src/css/scroller.css +144 -0
- handyhelpers/static/node_modules/fun-effects/src/index.js +15 -0
- handyhelpers/static/node_modules/fun-effects/src/js/background_icons.js +101 -0
- handyhelpers/static/node_modules/fun-effects/src/js/marquee.js +81 -0
- handyhelpers/static/node_modules/fun-effects/src/js/scroller.js +37 -0
- handyhelpers/static/node_modules/html-minifier-terser/LICENSE +22 -0
- handyhelpers/static/node_modules/html-minifier-terser/README.md +168 -0
- handyhelpers/static/node_modules/html-minifier-terser/cli.js +308 -0
- handyhelpers/static/node_modules/html-minifier-terser/dist/htmlminifier.cjs +1857 -0
- handyhelpers/static/node_modules/html-minifier-terser/dist/htmlminifier.esm.bundle.js +57509 -0
- handyhelpers/static/node_modules/html-minifier-terser/dist/htmlminifier.umd.bundle.js +57520 -0
- handyhelpers/static/node_modules/html-minifier-terser/dist/htmlminifier.umd.bundle.min.js +9 -0
- handyhelpers/static/node_modules/html-minifier-terser/package.json +105 -0
- handyhelpers/static/node_modules/html-minifier-terser/src/htmlminifier.js +1366 -0
- handyhelpers/static/node_modules/html-minifier-terser/src/htmlparser.js +565 -0
- handyhelpers/static/node_modules/html-minifier-terser/src/tokenchain.js +68 -0
- handyhelpers/static/node_modules/html-minifier-terser/src/utils.js +11 -0
- handyhelpers/static/node_modules/jju/LICENSE +21 -0
- handyhelpers/static/node_modules/jju/Makefile +20 -0
- handyhelpers/static/node_modules/jju/README.md +249 -0
- handyhelpers/static/node_modules/jju/index.js +32 -0
- handyhelpers/static/node_modules/jju/package.json +34 -0
- handyhelpers/static/node_modules/jju/package.yaml +36 -0
- handyhelpers/static/node_modules/locate-path/index.d.ts +92 -0
- handyhelpers/static/node_modules/locate-path/index.js +77 -0
- handyhelpers/static/node_modules/locate-path/license +9 -0
- handyhelpers/static/node_modules/locate-path/package.json +48 -0
- handyhelpers/static/node_modules/locate-path/readme.md +123 -0
- handyhelpers/static/node_modules/lower-case/LICENSE +21 -0
- handyhelpers/static/node_modules/lower-case/README.md +35 -0
- handyhelpers/static/node_modules/lower-case/dist/index.d.ts +8 -0
- handyhelpers/static/node_modules/lower-case/dist/index.js +53 -0
- handyhelpers/static/node_modules/lower-case/dist/index.js.map +1 -0
- handyhelpers/static/node_modules/lower-case/dist/index.spec.d.ts +1 -0
- handyhelpers/static/node_modules/lower-case/dist/index.spec.js +36 -0
- handyhelpers/static/node_modules/lower-case/dist/index.spec.js.map +1 -0
- handyhelpers/static/node_modules/lower-case/dist.es2015/index.d.ts +8 -0
- handyhelpers/static/node_modules/lower-case/dist.es2015/index.js +48 -0
- handyhelpers/static/node_modules/lower-case/dist.es2015/index.js.map +1 -0
- handyhelpers/static/node_modules/lower-case/dist.es2015/index.spec.d.ts +1 -0
- handyhelpers/static/node_modules/lower-case/dist.es2015/index.spec.js +34 -0
- handyhelpers/static/node_modules/lower-case/dist.es2015/index.spec.js.map +1 -0
- handyhelpers/static/node_modules/lower-case/package.json +87 -0
- handyhelpers/static/node_modules/minify/ChangeLog +1307 -0
- handyhelpers/static/node_modules/minify/LICENSE +22 -0
- handyhelpers/static/node_modules/minify/README.md +177 -0
- handyhelpers/static/node_modules/minify/bin/minify.js +98 -0
- handyhelpers/static/node_modules/minify/deno.json +5 -0
- handyhelpers/static/node_modules/minify/help.json +8 -0
- handyhelpers/static/node_modules/minify/package.json +65 -0
- handyhelpers/static/node_modules/ms/index.js +162 -0
- handyhelpers/static/node_modules/ms/license.md +21 -0
- handyhelpers/static/node_modules/ms/package.json +38 -0
- handyhelpers/static/node_modules/ms/readme.md +59 -0
- handyhelpers/static/node_modules/no-case/LICENSE +21 -0
- handyhelpers/static/node_modules/no-case/README.md +37 -0
- handyhelpers/static/node_modules/no-case/dist/index.d.ts +10 -0
- handyhelpers/static/node_modules/no-case/dist/index.js +35 -0
- handyhelpers/static/node_modules/no-case/dist/index.js.map +1 -0
- handyhelpers/static/node_modules/no-case/dist/index.spec.d.ts +1 -0
- handyhelpers/static/node_modules/no-case/dist/index.spec.js +59 -0
- handyhelpers/static/node_modules/no-case/dist/index.spec.js.map +1 -0
- handyhelpers/static/node_modules/no-case/dist.es2015/index.d.ts +10 -0
- handyhelpers/static/node_modules/no-case/dist.es2015/index.js +31 -0
- handyhelpers/static/node_modules/no-case/dist.es2015/index.js.map +1 -0
- handyhelpers/static/node_modules/no-case/dist.es2015/index.spec.d.ts +1 -0
- handyhelpers/static/node_modules/no-case/dist.es2015/index.spec.js +57 -0
- handyhelpers/static/node_modules/no-case/dist.es2015/index.spec.js.map +1 -0
- handyhelpers/static/node_modules/no-case/package.json +85 -0
- handyhelpers/static/node_modules/p-limit/index.d.ts +40 -0
- handyhelpers/static/node_modules/p-limit/index.js +68 -0
- handyhelpers/static/node_modules/p-limit/license +9 -0
- handyhelpers/static/node_modules/p-limit/package.json +54 -0
- handyhelpers/static/node_modules/p-limit/readme.md +99 -0
- handyhelpers/static/node_modules/p-locate/index.d.ts +49 -0
- handyhelpers/static/node_modules/p-locate/index.js +48 -0
- handyhelpers/static/node_modules/p-locate/license +9 -0
- handyhelpers/static/node_modules/p-locate/package.json +56 -0
- handyhelpers/static/node_modules/p-locate/readme.md +91 -0
- handyhelpers/static/node_modules/param-case/LICENSE +21 -0
- handyhelpers/static/node_modules/param-case/README.md +37 -0
- handyhelpers/static/node_modules/param-case/dist/index.d.ts +3 -0
- handyhelpers/static/node_modules/param-case/dist/index.js +11 -0
- handyhelpers/static/node_modules/param-case/dist/index.js.map +1 -0
- handyhelpers/static/node_modules/param-case/dist/index.spec.d.ts +1 -0
- handyhelpers/static/node_modules/param-case/dist/index.spec.js +24 -0
- handyhelpers/static/node_modules/param-case/dist/index.spec.js.map +1 -0
- handyhelpers/static/node_modules/param-case/dist.es2015/index.d.ts +3 -0
- handyhelpers/static/node_modules/param-case/dist.es2015/index.js +7 -0
- handyhelpers/static/node_modules/param-case/dist.es2015/index.js.map +1 -0
- handyhelpers/static/node_modules/param-case/dist.es2015/index.spec.d.ts +1 -0
- handyhelpers/static/node_modules/param-case/dist.es2015/index.spec.js +22 -0
- handyhelpers/static/node_modules/param-case/dist.es2015/index.spec.js.map +1 -0
- handyhelpers/static/node_modules/param-case/package.json +91 -0
- handyhelpers/static/node_modules/pascal-case/LICENSE +21 -0
- handyhelpers/static/node_modules/pascal-case/README.md +47 -0
- handyhelpers/static/node_modules/pascal-case/dist/index.d.ts +5 -0
- handyhelpers/static/node_modules/pascal-case/dist/index.js +24 -0
- handyhelpers/static/node_modules/pascal-case/dist/index.js.map +1 -0
- handyhelpers/static/node_modules/pascal-case/dist/index.spec.d.ts +1 -0
- handyhelpers/static/node_modules/pascal-case/dist/index.spec.js +25 -0
- handyhelpers/static/node_modules/pascal-case/dist/index.spec.js.map +1 -0
- handyhelpers/static/node_modules/pascal-case/dist.es2015/index.d.ts +5 -0
- handyhelpers/static/node_modules/pascal-case/dist.es2015/index.js +18 -0
- handyhelpers/static/node_modules/pascal-case/dist.es2015/index.js.map +1 -0
- handyhelpers/static/node_modules/pascal-case/dist.es2015/index.spec.d.ts +1 -0
- handyhelpers/static/node_modules/pascal-case/dist.es2015/index.spec.js +23 -0
- handyhelpers/static/node_modules/pascal-case/dist.es2015/index.spec.js.map +1 -0
- handyhelpers/static/node_modules/pascal-case/package.json +90 -0
- handyhelpers/static/node_modules/path-exists/index.d.ts +31 -0
- handyhelpers/static/node_modules/path-exists/index.js +19 -0
- handyhelpers/static/node_modules/path-exists/license +9 -0
- handyhelpers/static/node_modules/path-exists/package.json +41 -0
- handyhelpers/static/node_modules/path-exists/readme.md +52 -0
- handyhelpers/static/node_modules/readjson/ChangeLog +110 -0
- handyhelpers/static/node_modules/readjson/LICENSE +21 -0
- handyhelpers/static/node_modules/readjson/README.md +36 -0
- handyhelpers/static/node_modules/readjson/package.json +46 -0
- handyhelpers/static/node_modules/relateurl/README.md +159 -0
- handyhelpers/static/node_modules/relateurl/license +21 -0
- handyhelpers/static/node_modules/relateurl/package.json +46 -0
- handyhelpers/static/node_modules/simport/ChangeLog +77 -0
- handyhelpers/static/node_modules/simport/LICENSE +21 -0
- handyhelpers/static/node_modules/simport/README.md +81 -0
- handyhelpers/static/node_modules/simport/fixture/context.js +3 -0
- handyhelpers/static/node_modules/simport/fixture/default-frozen-function.mjs +2 -0
- handyhelpers/static/node_modules/simport/fixture/default-frozen-object.mjs +2 -0
- handyhelpers/static/node_modules/simport/package.json +65 -0
- handyhelpers/static/node_modules/simport/simport.js +84 -0
- handyhelpers/static/node_modules/simport/simport.mjs +22 -0
- handyhelpers/static/node_modules/source-map/CHANGELOG.md +301 -0
- handyhelpers/static/node_modules/source-map/LICENSE +28 -0
- handyhelpers/static/node_modules/source-map/README.md +742 -0
- handyhelpers/static/node_modules/source-map/dist/source-map.debug.js +3234 -0
- handyhelpers/static/node_modules/source-map/dist/source-map.js +3233 -0
- handyhelpers/static/node_modules/source-map/dist/source-map.min.js +2 -0
- handyhelpers/static/node_modules/source-map/dist/source-map.min.js.map +1 -0
- handyhelpers/static/node_modules/source-map/package.json +73 -0
- handyhelpers/static/node_modules/source-map/source-map.d.ts +98 -0
- handyhelpers/static/node_modules/source-map/source-map.js +8 -0
- handyhelpers/static/node_modules/source-map-support/LICENSE.md +21 -0
- handyhelpers/static/node_modules/source-map-support/README.md +284 -0
- handyhelpers/static/node_modules/source-map-support/browser-source-map-support.js +114 -0
- handyhelpers/static/node_modules/source-map-support/package.json +31 -0
- handyhelpers/static/node_modules/source-map-support/register-hook-require.js +1 -0
- handyhelpers/static/node_modules/source-map-support/register.js +1 -0
- handyhelpers/static/node_modules/source-map-support/source-map-support.js +625 -0
- handyhelpers/static/node_modules/terser/CHANGELOG.md +783 -0
- handyhelpers/static/node_modules/terser/LICENSE +27 -0
- handyhelpers/static/node_modules/terser/PATRONS.md +15 -0
- handyhelpers/static/node_modules/terser/README.md +1421 -0
- handyhelpers/static/node_modules/terser/bin/package.json +10 -0
- handyhelpers/static/node_modules/terser/bin/terser +21 -0
- handyhelpers/static/node_modules/terser/bin/uglifyjs +10 -0
- handyhelpers/static/node_modules/terser/dist/.gitkeep +0 -0
- handyhelpers/static/node_modules/terser/dist/bundle.min.js +32962 -0
- handyhelpers/static/node_modules/terser/dist/package.json +10 -0
- handyhelpers/static/node_modules/terser/main.js +27 -0
- handyhelpers/static/node_modules/terser/node_modules/commander/CHANGELOG.md +419 -0
- handyhelpers/static/node_modules/terser/node_modules/commander/LICENSE +22 -0
- handyhelpers/static/node_modules/terser/node_modules/commander/Readme.md +428 -0
- handyhelpers/static/node_modules/terser/node_modules/commander/index.js +1224 -0
- handyhelpers/static/node_modules/terser/node_modules/commander/package.json +38 -0
- handyhelpers/static/node_modules/terser/node_modules/commander/typings/index.d.ts +310 -0
- handyhelpers/static/node_modules/terser/package.json +153 -0
- handyhelpers/static/node_modules/terser/tools/domprops.js +9026 -0
- handyhelpers/static/node_modules/terser/tools/exit.cjs +7 -0
- handyhelpers/static/node_modules/terser/tools/props.html +68 -0
- handyhelpers/static/node_modules/terser/tools/terser.d.ts +216 -0
- handyhelpers/static/node_modules/tippy.js/LICENSE +21 -0
- handyhelpers/static/node_modules/tippy.js/README.md +63 -0
- handyhelpers/static/node_modules/tippy.js/animations/perspective-extreme.css +1 -0
- handyhelpers/static/node_modules/tippy.js/animations/perspective-subtle.css +1 -0
- handyhelpers/static/node_modules/tippy.js/animations/perspective.css +1 -0
- handyhelpers/static/node_modules/tippy.js/animations/scale-extreme.css +1 -0
- handyhelpers/static/node_modules/tippy.js/animations/scale-subtle.css +1 -0
- handyhelpers/static/node_modules/tippy.js/animations/scale.css +1 -0
- handyhelpers/static/node_modules/tippy.js/animations/shift-away-extreme.css +1 -0
- handyhelpers/static/node_modules/tippy.js/animations/shift-away-subtle.css +1 -0
- handyhelpers/static/node_modules/tippy.js/animations/shift-away.css +1 -0
- handyhelpers/static/node_modules/tippy.js/animations/shift-toward-extreme.css +1 -0
- handyhelpers/static/node_modules/tippy.js/animations/shift-toward-subtle.css +1 -0
- handyhelpers/static/node_modules/tippy.js/animations/shift-toward.css +1 -0
- handyhelpers/static/node_modules/tippy.js/dist/backdrop.css +1 -0
- handyhelpers/static/node_modules/tippy.js/dist/border.css +1 -0
- handyhelpers/static/node_modules/tippy.js/dist/svg-arrow.css +1 -0
- handyhelpers/static/node_modules/tippy.js/dist/tippy-bundle.umd.js +2516 -0
- handyhelpers/static/node_modules/tippy.js/dist/tippy-bundle.umd.js.map +1 -0
- handyhelpers/static/node_modules/tippy.js/dist/tippy-bundle.umd.min.js +2 -0
- handyhelpers/static/node_modules/tippy.js/dist/tippy-bundle.umd.min.js.map +1 -0
- handyhelpers/static/node_modules/tippy.js/dist/tippy.cjs.js +2497 -0
- handyhelpers/static/node_modules/tippy.js/dist/tippy.cjs.js.map +1 -0
- handyhelpers/static/node_modules/tippy.js/dist/tippy.css +1 -0
- handyhelpers/static/node_modules/tippy.js/dist/tippy.esm.js +2486 -0
- handyhelpers/static/node_modules/tippy.js/dist/tippy.esm.js.map +1 -0
- handyhelpers/static/node_modules/tippy.js/dist/tippy.umd.js +2496 -0
- handyhelpers/static/node_modules/tippy.js/dist/tippy.umd.js.map +1 -0
- handyhelpers/static/node_modules/tippy.js/dist/tippy.umd.min.js +2 -0
- handyhelpers/static/node_modules/tippy.js/dist/tippy.umd.min.js.map +1 -0
- handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.cjs.js +2388 -0
- handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.cjs.js.map +1 -0
- handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.esm.js +2377 -0
- handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.esm.js.map +1 -0
- handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.umd.js +2382 -0
- handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.umd.js.map +1 -0
- handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.umd.min.js +2 -0
- handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.umd.min.js.map +1 -0
- handyhelpers/static/node_modules/tippy.js/headless/package.json +16 -0
- handyhelpers/static/node_modules/tippy.js/index.d.ts +260 -0
- handyhelpers/static/node_modules/tippy.js/package.json +157 -0
- handyhelpers/static/node_modules/tippy.js/themes/light-border.css +1 -0
- handyhelpers/static/node_modules/tippy.js/themes/light.css +1 -0
- handyhelpers/static/node_modules/tippy.js/themes/material.css +1 -0
- handyhelpers/static/node_modules/tippy.js/themes/translucent.css +1 -0
- handyhelpers/static/node_modules/try-catch/ChangeLog +55 -0
- handyhelpers/static/node_modules/try-catch/LICENSE +21 -0
- handyhelpers/static/node_modules/try-catch/README.md +38 -0
- handyhelpers/static/node_modules/try-catch/package.json +34 -0
- handyhelpers/static/node_modules/try-to-catch/ChangeLog +64 -0
- handyhelpers/static/node_modules/try-to-catch/LICENSE +21 -0
- handyhelpers/static/node_modules/try-to-catch/README.md +74 -0
- handyhelpers/static/node_modules/try-to-catch/package.json +47 -0
- handyhelpers/static/node_modules/tslib/CopyrightNotice.txt +15 -0
- handyhelpers/static/node_modules/tslib/LICENSE.txt +12 -0
- handyhelpers/static/node_modules/tslib/README.md +164 -0
- handyhelpers/static/node_modules/tslib/SECURITY.md +41 -0
- handyhelpers/static/node_modules/tslib/modules/index.d.ts +38 -0
- handyhelpers/static/node_modules/tslib/modules/index.js +70 -0
- handyhelpers/static/node_modules/tslib/modules/package.json +3 -0
- handyhelpers/static/node_modules/tslib/package.json +47 -0
- handyhelpers/static/node_modules/tslib/tslib.d.ts +460 -0
- handyhelpers/static/node_modules/tslib/tslib.es6.html +1 -0
- handyhelpers/static/node_modules/tslib/tslib.es6.js +402 -0
- handyhelpers/static/node_modules/tslib/tslib.es6.mjs +401 -0
- handyhelpers/static/node_modules/tslib/tslib.html +1 -0
- handyhelpers/static/node_modules/tslib/tslib.js +484 -0
- handyhelpers/static/node_modules/uglify-js/LICENSE +29 -0
- handyhelpers/static/node_modules/uglify-js/README.md +1479 -0
- handyhelpers/static/node_modules/uglify-js/bin/uglifyjs +624 -0
- handyhelpers/static/node_modules/uglify-js/package.json +56 -0
- handyhelpers/static/node_modules/uglify-js/tools/domprops.html +456 -0
- handyhelpers/static/node_modules/uglify-js/tools/domprops.json +8327 -0
- handyhelpers/static/node_modules/uglify-js/tools/exports.js +8 -0
- handyhelpers/static/node_modules/uglify-js/tools/node.js +115 -0
- handyhelpers/static/node_modules/uglify-js/tools/tty.js +22 -0
- handyhelpers/static/node_modules/unicorn-magic/default.js +14 -0
- handyhelpers/static/node_modules/unicorn-magic/index.d.ts +29 -0
- handyhelpers/static/node_modules/unicorn-magic/license +9 -0
- handyhelpers/static/node_modules/unicorn-magic/node.js +7 -0
- handyhelpers/static/node_modules/unicorn-magic/package.json +49 -0
- handyhelpers/static/node_modules/unicorn-magic/readme.md +25 -0
- handyhelpers/static/node_modules/yocto-queue/index.d.ts +61 -0
- handyhelpers/static/node_modules/yocto-queue/index.js +78 -0
- handyhelpers/static/node_modules/yocto-queue/license +9 -0
- handyhelpers/static/node_modules/yocto-queue/package.json +48 -0
- handyhelpers/static/node_modules/yocto-queue/readme.md +70 -0
- handyhelpers/static/package.json +3 -1
- handyhelpers/static/yarn.lock +393 -20
- handyhelpers/templates/handyhelpers/generic/bs5/generic_index.html +5 -8
- handyhelpers/templates/handyhelpers/handyhelpers_base_bs5.htm +5 -1
- handyhelpers/templates/handyhelpers/handyhelpers_with_sidebar.htm +50 -3
- handyhelpers/templates/handyhelpers/htmx/bs5/filter_form/generic_modal_swap.htm +48 -0
- handyhelpers/templates/handyhelpers/htmx/bs5/form/form_wrapper.htm +48 -0
- handyhelpers/templates/handyhelpers/htmx/bs5/form/inline_form.htm +166 -0
- handyhelpers/templates/handyhelpers/htmx/bs5/form/inline_form_disabled.htm +125 -0
- handyhelpers/templates/handyhelpers/htmx/bs5/generic_modal_swap.htm +2 -3
- handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/content_title.htm +38 -0
- handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/controls.htm +21 -0
- handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/examples/card.htm +17 -0
- handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/examples/list.htm +11 -0
- handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/examples/table.htm +21 -0
- handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/filter_form_modal_swap.htm +48 -0
- handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/full.html +6 -0
- handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/wrapper_card.htm +7 -0
- handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/wrapper_list.htm +7 -0
- handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/wrapper_minimal.htm +7 -0
- handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/wrapper_table.htm +18 -0
- handyhelpers/templates/handyhelpers/htmx/bs5/index.htm +34 -0
- handyhelpers/templates/handyhelpers/partials/calendar.htm +1 -1
- handyhelpers/templates/handyhelpers/report/annual_stats.html +6 -0
- handyhelpers/templates/handyhelpers/report/annual_stats_content.htm +43 -0
- handyhelpers/templates/handyhelpers/report/chartjs/annual_progress_chart.htm +1 -1
- handyhelpers/templates/handyhelpers/report/chartjs/annual_progress_content.htm +40 -39
- handyhelpers/templates/handyhelpers/report/chartjs/annual_stats.html +25 -36
- handyhelpers/templates/handyhelpers/report/chartjs/annual_trends_content.htm +35 -34
- handyhelpers/templates/handyhelpers/report/chartjs/day_count_chart.htm +1 -1
- handyhelpers/templates/handyhelpers/report/chartjs/month_count_chart.htm +1 -1
- handyhelpers/templates/handyhelpers/report/chartjs/week_count_chart.htm +1 -1
- handyhelpers/templates/handyhelpers/report/chartjs/year_count_chart.htm +1 -1
- handyhelpers/templatetags/form_tags.py +47 -0
- handyhelpers/templatetags/htmx_tags.py +21 -0
- handyhelpers/views/action.py +3 -1
- handyhelpers/views/calendar.py +34 -14
- handyhelpers/views/htmx.py +396 -4
- handyhelpers/views/report.py +12 -5
- handyhelpers/management/commands/generate_admin.py +0 -110
- handyhelpers/static/node_modules/@popperjs/core/dist/esm/utils/format.js +0 -9
- handyhelpers/static/node_modules/@popperjs/core/dist/esm/utils/validateModifiers.js +0 -81
- handyhelpers/static/node_modules/@popperjs/core/lib/utils/format.d.ts +0 -1
- handyhelpers/static/node_modules/@popperjs/core/lib/utils/format.js +0 -9
- handyhelpers/static/node_modules/@popperjs/core/lib/utils/format.js.flow +0 -5
- handyhelpers/static/node_modules/@popperjs/core/lib/utils/validateModifiers.d.ts +0 -1
- handyhelpers/static/node_modules/@popperjs/core/lib/utils/validateModifiers.js +0 -81
- handyhelpers/static/node_modules/@popperjs/core/lib/utils/validateModifiers.js.flow +0 -151
- {django_handyhelpers-0.3.19.dist-info → django_handyhelpers-0.3.35.dist-info}/LICENSE +0 -0
- {django_handyhelpers-0.3.19.dist-info → django_handyhelpers-0.3.35.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,866 @@
|
|
1
|
+
export interface Node {
|
2
|
+
start: number
|
3
|
+
end: number
|
4
|
+
type: string
|
5
|
+
range?: [number, number]
|
6
|
+
loc?: SourceLocation | null
|
7
|
+
}
|
8
|
+
|
9
|
+
export interface SourceLocation {
|
10
|
+
source?: string | null
|
11
|
+
start: Position
|
12
|
+
end: Position
|
13
|
+
}
|
14
|
+
|
15
|
+
export interface Position {
|
16
|
+
/** 1-based */
|
17
|
+
line: number
|
18
|
+
/** 0-based */
|
19
|
+
column: number
|
20
|
+
}
|
21
|
+
|
22
|
+
export interface Identifier extends Node {
|
23
|
+
type: "Identifier"
|
24
|
+
name: string
|
25
|
+
}
|
26
|
+
|
27
|
+
export interface Literal extends Node {
|
28
|
+
type: "Literal"
|
29
|
+
value?: string | boolean | null | number | RegExp | bigint
|
30
|
+
raw?: string
|
31
|
+
regex?: {
|
32
|
+
pattern: string
|
33
|
+
flags: string
|
34
|
+
}
|
35
|
+
bigint?: string
|
36
|
+
}
|
37
|
+
|
38
|
+
export interface Program extends Node {
|
39
|
+
type: "Program"
|
40
|
+
body: Array<Statement | ModuleDeclaration>
|
41
|
+
sourceType: "script" | "module"
|
42
|
+
}
|
43
|
+
|
44
|
+
export interface Function extends Node {
|
45
|
+
id?: Identifier | null
|
46
|
+
params: Array<Pattern>
|
47
|
+
body: BlockStatement | Expression
|
48
|
+
generator: boolean
|
49
|
+
expression: boolean
|
50
|
+
async: boolean
|
51
|
+
}
|
52
|
+
|
53
|
+
export interface ExpressionStatement extends Node {
|
54
|
+
type: "ExpressionStatement"
|
55
|
+
expression: Expression | Literal
|
56
|
+
directive?: string
|
57
|
+
}
|
58
|
+
|
59
|
+
export interface BlockStatement extends Node {
|
60
|
+
type: "BlockStatement"
|
61
|
+
body: Array<Statement>
|
62
|
+
}
|
63
|
+
|
64
|
+
export interface EmptyStatement extends Node {
|
65
|
+
type: "EmptyStatement"
|
66
|
+
}
|
67
|
+
|
68
|
+
export interface DebuggerStatement extends Node {
|
69
|
+
type: "DebuggerStatement"
|
70
|
+
}
|
71
|
+
|
72
|
+
export interface WithStatement extends Node {
|
73
|
+
type: "WithStatement"
|
74
|
+
object: Expression
|
75
|
+
body: Statement
|
76
|
+
}
|
77
|
+
|
78
|
+
export interface ReturnStatement extends Node {
|
79
|
+
type: "ReturnStatement"
|
80
|
+
argument?: Expression | null
|
81
|
+
}
|
82
|
+
|
83
|
+
export interface LabeledStatement extends Node {
|
84
|
+
type: "LabeledStatement"
|
85
|
+
label: Identifier
|
86
|
+
body: Statement
|
87
|
+
}
|
88
|
+
|
89
|
+
export interface BreakStatement extends Node {
|
90
|
+
type: "BreakStatement"
|
91
|
+
label?: Identifier | null
|
92
|
+
}
|
93
|
+
|
94
|
+
export interface ContinueStatement extends Node {
|
95
|
+
type: "ContinueStatement"
|
96
|
+
label?: Identifier | null
|
97
|
+
}
|
98
|
+
|
99
|
+
export interface IfStatement extends Node {
|
100
|
+
type: "IfStatement"
|
101
|
+
test: Expression
|
102
|
+
consequent: Statement
|
103
|
+
alternate?: Statement | null
|
104
|
+
}
|
105
|
+
|
106
|
+
export interface SwitchStatement extends Node {
|
107
|
+
type: "SwitchStatement"
|
108
|
+
discriminant: Expression
|
109
|
+
cases: Array<SwitchCase>
|
110
|
+
}
|
111
|
+
|
112
|
+
export interface SwitchCase extends Node {
|
113
|
+
type: "SwitchCase"
|
114
|
+
test?: Expression | null
|
115
|
+
consequent: Array<Statement>
|
116
|
+
}
|
117
|
+
|
118
|
+
export interface ThrowStatement extends Node {
|
119
|
+
type: "ThrowStatement"
|
120
|
+
argument: Expression
|
121
|
+
}
|
122
|
+
|
123
|
+
export interface TryStatement extends Node {
|
124
|
+
type: "TryStatement"
|
125
|
+
block: BlockStatement
|
126
|
+
handler?: CatchClause | null
|
127
|
+
finalizer?: BlockStatement | null
|
128
|
+
}
|
129
|
+
|
130
|
+
export interface CatchClause extends Node {
|
131
|
+
type: "CatchClause"
|
132
|
+
param?: Pattern | null
|
133
|
+
body: BlockStatement
|
134
|
+
}
|
135
|
+
|
136
|
+
export interface WhileStatement extends Node {
|
137
|
+
type: "WhileStatement"
|
138
|
+
test: Expression
|
139
|
+
body: Statement
|
140
|
+
}
|
141
|
+
|
142
|
+
export interface DoWhileStatement extends Node {
|
143
|
+
type: "DoWhileStatement"
|
144
|
+
body: Statement
|
145
|
+
test: Expression
|
146
|
+
}
|
147
|
+
|
148
|
+
export interface ForStatement extends Node {
|
149
|
+
type: "ForStatement"
|
150
|
+
init?: VariableDeclaration | Expression | null
|
151
|
+
test?: Expression | null
|
152
|
+
update?: Expression | null
|
153
|
+
body: Statement
|
154
|
+
}
|
155
|
+
|
156
|
+
export interface ForInStatement extends Node {
|
157
|
+
type: "ForInStatement"
|
158
|
+
left: VariableDeclaration | Pattern
|
159
|
+
right: Expression
|
160
|
+
body: Statement
|
161
|
+
}
|
162
|
+
|
163
|
+
export interface FunctionDeclaration extends Function {
|
164
|
+
type: "FunctionDeclaration"
|
165
|
+
id: Identifier
|
166
|
+
body: BlockStatement
|
167
|
+
}
|
168
|
+
|
169
|
+
export interface VariableDeclaration extends Node {
|
170
|
+
type: "VariableDeclaration"
|
171
|
+
declarations: Array<VariableDeclarator>
|
172
|
+
kind: "var" | "let" | "const"
|
173
|
+
}
|
174
|
+
|
175
|
+
export interface VariableDeclarator extends Node {
|
176
|
+
type: "VariableDeclarator"
|
177
|
+
id: Pattern
|
178
|
+
init?: Expression | null
|
179
|
+
}
|
180
|
+
|
181
|
+
export interface ThisExpression extends Node {
|
182
|
+
type: "ThisExpression"
|
183
|
+
}
|
184
|
+
|
185
|
+
export interface ArrayExpression extends Node {
|
186
|
+
type: "ArrayExpression"
|
187
|
+
elements: Array<Expression | SpreadElement | null>
|
188
|
+
}
|
189
|
+
|
190
|
+
export interface ObjectExpression extends Node {
|
191
|
+
type: "ObjectExpression"
|
192
|
+
properties: Array<Property | SpreadElement>
|
193
|
+
}
|
194
|
+
|
195
|
+
export interface Property extends Node {
|
196
|
+
type: "Property"
|
197
|
+
key: Expression
|
198
|
+
value: Expression
|
199
|
+
kind: "init" | "get" | "set"
|
200
|
+
method: boolean
|
201
|
+
shorthand: boolean
|
202
|
+
computed: boolean
|
203
|
+
}
|
204
|
+
|
205
|
+
export interface FunctionExpression extends Function {
|
206
|
+
type: "FunctionExpression"
|
207
|
+
body: BlockStatement
|
208
|
+
}
|
209
|
+
|
210
|
+
export interface UnaryExpression extends Node {
|
211
|
+
type: "UnaryExpression"
|
212
|
+
operator: UnaryOperator
|
213
|
+
prefix: boolean
|
214
|
+
argument: Expression
|
215
|
+
}
|
216
|
+
|
217
|
+
export type UnaryOperator = "-" | "+" | "!" | "~" | "typeof" | "void" | "delete"
|
218
|
+
|
219
|
+
export interface UpdateExpression extends Node {
|
220
|
+
type: "UpdateExpression"
|
221
|
+
operator: UpdateOperator
|
222
|
+
argument: Expression
|
223
|
+
prefix: boolean
|
224
|
+
}
|
225
|
+
|
226
|
+
export type UpdateOperator = "++" | "--"
|
227
|
+
|
228
|
+
export interface BinaryExpression extends Node {
|
229
|
+
type: "BinaryExpression"
|
230
|
+
operator: BinaryOperator
|
231
|
+
left: Expression | PrivateIdentifier
|
232
|
+
right: Expression
|
233
|
+
}
|
234
|
+
|
235
|
+
export type BinaryOperator = "==" | "!=" | "===" | "!==" | "<" | "<=" | ">" | ">=" | "<<" | ">>" | ">>>" | "+" | "-" | "*" | "/" | "%" | "|" | "^" | "&" | "in" | "instanceof" | "**"
|
236
|
+
|
237
|
+
export interface AssignmentExpression extends Node {
|
238
|
+
type: "AssignmentExpression"
|
239
|
+
operator: AssignmentOperator
|
240
|
+
left: Pattern
|
241
|
+
right: Expression
|
242
|
+
}
|
243
|
+
|
244
|
+
export type AssignmentOperator = "=" | "+=" | "-=" | "*=" | "/=" | "%=" | "<<=" | ">>=" | ">>>=" | "|=" | "^=" | "&=" | "**=" | "||=" | "&&=" | "??="
|
245
|
+
|
246
|
+
export interface LogicalExpression extends Node {
|
247
|
+
type: "LogicalExpression"
|
248
|
+
operator: LogicalOperator
|
249
|
+
left: Expression
|
250
|
+
right: Expression
|
251
|
+
}
|
252
|
+
|
253
|
+
export type LogicalOperator = "||" | "&&" | "??"
|
254
|
+
|
255
|
+
export interface MemberExpression extends Node {
|
256
|
+
type: "MemberExpression"
|
257
|
+
object: Expression | Super
|
258
|
+
property: Expression | PrivateIdentifier
|
259
|
+
computed: boolean
|
260
|
+
optional: boolean
|
261
|
+
}
|
262
|
+
|
263
|
+
export interface ConditionalExpression extends Node {
|
264
|
+
type: "ConditionalExpression"
|
265
|
+
test: Expression
|
266
|
+
alternate: Expression
|
267
|
+
consequent: Expression
|
268
|
+
}
|
269
|
+
|
270
|
+
export interface CallExpression extends Node {
|
271
|
+
type: "CallExpression"
|
272
|
+
callee: Expression | Super
|
273
|
+
arguments: Array<Expression | SpreadElement>
|
274
|
+
optional: boolean
|
275
|
+
}
|
276
|
+
|
277
|
+
export interface NewExpression extends Node {
|
278
|
+
type: "NewExpression"
|
279
|
+
callee: Expression
|
280
|
+
arguments: Array<Expression | SpreadElement>
|
281
|
+
}
|
282
|
+
|
283
|
+
export interface SequenceExpression extends Node {
|
284
|
+
type: "SequenceExpression"
|
285
|
+
expressions: Array<Expression>
|
286
|
+
}
|
287
|
+
|
288
|
+
export interface ForOfStatement extends Node {
|
289
|
+
type: "ForOfStatement"
|
290
|
+
left: VariableDeclaration | Pattern
|
291
|
+
right: Expression
|
292
|
+
body: Statement
|
293
|
+
await: boolean
|
294
|
+
}
|
295
|
+
|
296
|
+
export interface Super extends Node {
|
297
|
+
type: "Super"
|
298
|
+
}
|
299
|
+
|
300
|
+
export interface SpreadElement extends Node {
|
301
|
+
type: "SpreadElement"
|
302
|
+
argument: Expression
|
303
|
+
}
|
304
|
+
|
305
|
+
export interface ArrowFunctionExpression extends Function {
|
306
|
+
type: "ArrowFunctionExpression"
|
307
|
+
}
|
308
|
+
|
309
|
+
export interface YieldExpression extends Node {
|
310
|
+
type: "YieldExpression"
|
311
|
+
argument?: Expression | null
|
312
|
+
delegate: boolean
|
313
|
+
}
|
314
|
+
|
315
|
+
export interface TemplateLiteral extends Node {
|
316
|
+
type: "TemplateLiteral"
|
317
|
+
quasis: Array<TemplateElement>
|
318
|
+
expressions: Array<Expression>
|
319
|
+
}
|
320
|
+
|
321
|
+
export interface TaggedTemplateExpression extends Node {
|
322
|
+
type: "TaggedTemplateExpression"
|
323
|
+
tag: Expression
|
324
|
+
quasi: TemplateLiteral
|
325
|
+
}
|
326
|
+
|
327
|
+
export interface TemplateElement extends Node {
|
328
|
+
type: "TemplateElement"
|
329
|
+
tail: boolean
|
330
|
+
value: {
|
331
|
+
cooked?: string | null
|
332
|
+
raw: string
|
333
|
+
}
|
334
|
+
}
|
335
|
+
|
336
|
+
export interface AssignmentProperty extends Node {
|
337
|
+
type: "Property"
|
338
|
+
key: Expression
|
339
|
+
value: Pattern
|
340
|
+
kind: "init"
|
341
|
+
method: false
|
342
|
+
shorthand: boolean
|
343
|
+
computed: boolean
|
344
|
+
}
|
345
|
+
|
346
|
+
export interface ObjectPattern extends Node {
|
347
|
+
type: "ObjectPattern"
|
348
|
+
properties: Array<AssignmentProperty | RestElement>
|
349
|
+
}
|
350
|
+
|
351
|
+
export interface ArrayPattern extends Node {
|
352
|
+
type: "ArrayPattern"
|
353
|
+
elements: Array<Pattern | null>
|
354
|
+
}
|
355
|
+
|
356
|
+
export interface RestElement extends Node {
|
357
|
+
type: "RestElement"
|
358
|
+
argument: Pattern
|
359
|
+
}
|
360
|
+
|
361
|
+
export interface AssignmentPattern extends Node {
|
362
|
+
type: "AssignmentPattern"
|
363
|
+
left: Pattern
|
364
|
+
right: Expression
|
365
|
+
}
|
366
|
+
|
367
|
+
export interface Class extends Node {
|
368
|
+
id?: Identifier | null
|
369
|
+
superClass?: Expression | null
|
370
|
+
body: ClassBody
|
371
|
+
}
|
372
|
+
|
373
|
+
export interface ClassBody extends Node {
|
374
|
+
type: "ClassBody"
|
375
|
+
body: Array<MethodDefinition | PropertyDefinition | StaticBlock>
|
376
|
+
}
|
377
|
+
|
378
|
+
export interface MethodDefinition extends Node {
|
379
|
+
type: "MethodDefinition"
|
380
|
+
key: Expression | PrivateIdentifier
|
381
|
+
value: FunctionExpression
|
382
|
+
kind: "constructor" | "method" | "get" | "set"
|
383
|
+
computed: boolean
|
384
|
+
static: boolean
|
385
|
+
}
|
386
|
+
|
387
|
+
export interface ClassDeclaration extends Class {
|
388
|
+
type: "ClassDeclaration"
|
389
|
+
id: Identifier
|
390
|
+
}
|
391
|
+
|
392
|
+
export interface ClassExpression extends Class {
|
393
|
+
type: "ClassExpression"
|
394
|
+
}
|
395
|
+
|
396
|
+
export interface MetaProperty extends Node {
|
397
|
+
type: "MetaProperty"
|
398
|
+
meta: Identifier
|
399
|
+
property: Identifier
|
400
|
+
}
|
401
|
+
|
402
|
+
export interface ImportDeclaration extends Node {
|
403
|
+
type: "ImportDeclaration"
|
404
|
+
specifiers: Array<ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier>
|
405
|
+
source: Literal
|
406
|
+
attributes: Array<ImportAttribute>
|
407
|
+
}
|
408
|
+
|
409
|
+
export interface ImportSpecifier extends Node {
|
410
|
+
type: "ImportSpecifier"
|
411
|
+
imported: Identifier | Literal
|
412
|
+
local: Identifier
|
413
|
+
}
|
414
|
+
|
415
|
+
export interface ImportDefaultSpecifier extends Node {
|
416
|
+
type: "ImportDefaultSpecifier"
|
417
|
+
local: Identifier
|
418
|
+
}
|
419
|
+
|
420
|
+
export interface ImportNamespaceSpecifier extends Node {
|
421
|
+
type: "ImportNamespaceSpecifier"
|
422
|
+
local: Identifier
|
423
|
+
}
|
424
|
+
|
425
|
+
export interface ImportAttribute extends Node {
|
426
|
+
type: "ImportAttribute"
|
427
|
+
key: Identifier | Literal
|
428
|
+
value: Literal
|
429
|
+
}
|
430
|
+
|
431
|
+
export interface ExportNamedDeclaration extends Node {
|
432
|
+
type: "ExportNamedDeclaration"
|
433
|
+
declaration?: Declaration | null
|
434
|
+
specifiers: Array<ExportSpecifier>
|
435
|
+
source?: Literal | null
|
436
|
+
attributes: Array<ImportAttribute>
|
437
|
+
}
|
438
|
+
|
439
|
+
export interface ExportSpecifier extends Node {
|
440
|
+
type: "ExportSpecifier"
|
441
|
+
exported: Identifier | Literal
|
442
|
+
local: Identifier | Literal
|
443
|
+
}
|
444
|
+
|
445
|
+
export interface AnonymousFunctionDeclaration extends Function {
|
446
|
+
type: "FunctionDeclaration"
|
447
|
+
id: null
|
448
|
+
body: BlockStatement
|
449
|
+
}
|
450
|
+
|
451
|
+
export interface AnonymousClassDeclaration extends Class {
|
452
|
+
type: "ClassDeclaration"
|
453
|
+
id: null
|
454
|
+
}
|
455
|
+
|
456
|
+
export interface ExportDefaultDeclaration extends Node {
|
457
|
+
type: "ExportDefaultDeclaration"
|
458
|
+
declaration: AnonymousFunctionDeclaration | FunctionDeclaration | AnonymousClassDeclaration | ClassDeclaration | Expression
|
459
|
+
}
|
460
|
+
|
461
|
+
export interface ExportAllDeclaration extends Node {
|
462
|
+
type: "ExportAllDeclaration"
|
463
|
+
source: Literal
|
464
|
+
exported?: Identifier | Literal | null
|
465
|
+
attributes: Array<ImportAttribute>
|
466
|
+
}
|
467
|
+
|
468
|
+
export interface AwaitExpression extends Node {
|
469
|
+
type: "AwaitExpression"
|
470
|
+
argument: Expression
|
471
|
+
}
|
472
|
+
|
473
|
+
export interface ChainExpression extends Node {
|
474
|
+
type: "ChainExpression"
|
475
|
+
expression: MemberExpression | CallExpression
|
476
|
+
}
|
477
|
+
|
478
|
+
export interface ImportExpression extends Node {
|
479
|
+
type: "ImportExpression"
|
480
|
+
source: Expression
|
481
|
+
options: Expression | null
|
482
|
+
}
|
483
|
+
|
484
|
+
export interface ParenthesizedExpression extends Node {
|
485
|
+
type: "ParenthesizedExpression"
|
486
|
+
expression: Expression
|
487
|
+
}
|
488
|
+
|
489
|
+
export interface PropertyDefinition extends Node {
|
490
|
+
type: "PropertyDefinition"
|
491
|
+
key: Expression | PrivateIdentifier
|
492
|
+
value?: Expression | null
|
493
|
+
computed: boolean
|
494
|
+
static: boolean
|
495
|
+
}
|
496
|
+
|
497
|
+
export interface PrivateIdentifier extends Node {
|
498
|
+
type: "PrivateIdentifier"
|
499
|
+
name: string
|
500
|
+
}
|
501
|
+
|
502
|
+
export interface StaticBlock extends Node {
|
503
|
+
type: "StaticBlock"
|
504
|
+
body: Array<Statement>
|
505
|
+
}
|
506
|
+
|
507
|
+
export type Statement =
|
508
|
+
| ExpressionStatement
|
509
|
+
| BlockStatement
|
510
|
+
| EmptyStatement
|
511
|
+
| DebuggerStatement
|
512
|
+
| WithStatement
|
513
|
+
| ReturnStatement
|
514
|
+
| LabeledStatement
|
515
|
+
| BreakStatement
|
516
|
+
| ContinueStatement
|
517
|
+
| IfStatement
|
518
|
+
| SwitchStatement
|
519
|
+
| ThrowStatement
|
520
|
+
| TryStatement
|
521
|
+
| WhileStatement
|
522
|
+
| DoWhileStatement
|
523
|
+
| ForStatement
|
524
|
+
| ForInStatement
|
525
|
+
| ForOfStatement
|
526
|
+
| Declaration
|
527
|
+
|
528
|
+
export type Declaration =
|
529
|
+
| FunctionDeclaration
|
530
|
+
| VariableDeclaration
|
531
|
+
| ClassDeclaration
|
532
|
+
|
533
|
+
export type Expression =
|
534
|
+
| Identifier
|
535
|
+
| Literal
|
536
|
+
| ThisExpression
|
537
|
+
| ArrayExpression
|
538
|
+
| ObjectExpression
|
539
|
+
| FunctionExpression
|
540
|
+
| UnaryExpression
|
541
|
+
| UpdateExpression
|
542
|
+
| BinaryExpression
|
543
|
+
| AssignmentExpression
|
544
|
+
| LogicalExpression
|
545
|
+
| MemberExpression
|
546
|
+
| ConditionalExpression
|
547
|
+
| CallExpression
|
548
|
+
| NewExpression
|
549
|
+
| SequenceExpression
|
550
|
+
| ArrowFunctionExpression
|
551
|
+
| YieldExpression
|
552
|
+
| TemplateLiteral
|
553
|
+
| TaggedTemplateExpression
|
554
|
+
| ClassExpression
|
555
|
+
| MetaProperty
|
556
|
+
| AwaitExpression
|
557
|
+
| ChainExpression
|
558
|
+
| ImportExpression
|
559
|
+
| ParenthesizedExpression
|
560
|
+
|
561
|
+
export type Pattern =
|
562
|
+
| Identifier
|
563
|
+
| MemberExpression
|
564
|
+
| ObjectPattern
|
565
|
+
| ArrayPattern
|
566
|
+
| RestElement
|
567
|
+
| AssignmentPattern
|
568
|
+
|
569
|
+
export type ModuleDeclaration =
|
570
|
+
| ImportDeclaration
|
571
|
+
| ExportNamedDeclaration
|
572
|
+
| ExportDefaultDeclaration
|
573
|
+
| ExportAllDeclaration
|
574
|
+
|
575
|
+
export type AnyNode = Statement | Expression | Declaration | ModuleDeclaration | Literal | Program | SwitchCase | CatchClause | Property | Super | SpreadElement | TemplateElement | AssignmentProperty | ObjectPattern | ArrayPattern | RestElement | AssignmentPattern | ClassBody | MethodDefinition | MetaProperty | ImportAttribute | ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier | ExportSpecifier | AnonymousFunctionDeclaration | AnonymousClassDeclaration | PropertyDefinition | PrivateIdentifier | StaticBlock | VariableDeclarator
|
576
|
+
|
577
|
+
export function parse(input: string, options: Options): Program
|
578
|
+
|
579
|
+
export function parseExpressionAt(input: string, pos: number, options: Options): Expression
|
580
|
+
|
581
|
+
export function tokenizer(input: string, options: Options): {
|
582
|
+
getToken(): Token
|
583
|
+
[Symbol.iterator](): Iterator<Token>
|
584
|
+
}
|
585
|
+
|
586
|
+
export type ecmaVersion = 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | "latest"
|
587
|
+
|
588
|
+
export interface Options {
|
589
|
+
/**
|
590
|
+
* `ecmaVersion` indicates the ECMAScript version to parse. Can be a
|
591
|
+
* number, either in year (`2022`) or plain version number (`6`) form,
|
592
|
+
* or `"latest"` (the latest the library supports). This influences
|
593
|
+
* support for strict mode, the set of reserved words, and support for
|
594
|
+
* new syntax features.
|
595
|
+
*/
|
596
|
+
ecmaVersion: ecmaVersion
|
597
|
+
|
598
|
+
/**
|
599
|
+
* `sourceType` indicates the mode the code should be parsed in.
|
600
|
+
* Can be either `"script"` or `"module"`. This influences global
|
601
|
+
* strict mode and parsing of `import` and `export` declarations.
|
602
|
+
*/
|
603
|
+
sourceType?: "script" | "module"
|
604
|
+
|
605
|
+
/**
|
606
|
+
* a callback that will be called when a semicolon is automatically inserted.
|
607
|
+
* @param lastTokEnd the position of the comma as an offset
|
608
|
+
* @param lastTokEndLoc location if {@link locations} is enabled
|
609
|
+
*/
|
610
|
+
onInsertedSemicolon?: (lastTokEnd: number, lastTokEndLoc?: Position) => void
|
611
|
+
|
612
|
+
/**
|
613
|
+
* similar to `onInsertedSemicolon`, but for trailing commas
|
614
|
+
* @param lastTokEnd the position of the comma as an offset
|
615
|
+
* @param lastTokEndLoc location if `locations` is enabled
|
616
|
+
*/
|
617
|
+
onTrailingComma?: (lastTokEnd: number, lastTokEndLoc?: Position) => void
|
618
|
+
|
619
|
+
/**
|
620
|
+
* By default, reserved words are only enforced if ecmaVersion >= 5.
|
621
|
+
* Set `allowReserved` to a boolean value to explicitly turn this on
|
622
|
+
* an off. When this option has the value "never", reserved words
|
623
|
+
* and keywords can also not be used as property names.
|
624
|
+
*/
|
625
|
+
allowReserved?: boolean | "never"
|
626
|
+
|
627
|
+
/**
|
628
|
+
* When enabled, a return at the top level is not considered an error.
|
629
|
+
*/
|
630
|
+
allowReturnOutsideFunction?: boolean
|
631
|
+
|
632
|
+
/**
|
633
|
+
* When enabled, import/export statements are not constrained to
|
634
|
+
* appearing at the top of the program, and an import.meta expression
|
635
|
+
* in a script isn't considered an error.
|
636
|
+
*/
|
637
|
+
allowImportExportEverywhere?: boolean
|
638
|
+
|
639
|
+
/**
|
640
|
+
* By default, `await` identifiers are allowed to appear at the top-level scope only if {@link ecmaVersion} >= 2022.
|
641
|
+
* When enabled, await identifiers are allowed to appear at the top-level scope,
|
642
|
+
* but they are still not allowed in non-async functions.
|
643
|
+
*/
|
644
|
+
allowAwaitOutsideFunction?: boolean
|
645
|
+
|
646
|
+
/**
|
647
|
+
* When enabled, super identifiers are not constrained to
|
648
|
+
* appearing in methods and do not raise an error when they appear elsewhere.
|
649
|
+
*/
|
650
|
+
allowSuperOutsideMethod?: boolean
|
651
|
+
|
652
|
+
/**
|
653
|
+
* When enabled, hashbang directive in the beginning of file is
|
654
|
+
* allowed and treated as a line comment. Enabled by default when
|
655
|
+
* {@link ecmaVersion} >= 2023.
|
656
|
+
*/
|
657
|
+
allowHashBang?: boolean
|
658
|
+
|
659
|
+
/**
|
660
|
+
* By default, the parser will verify that private properties are
|
661
|
+
* only used in places where they are valid and have been declared.
|
662
|
+
* Set this to false to turn such checks off.
|
663
|
+
*/
|
664
|
+
checkPrivateFields?: boolean
|
665
|
+
|
666
|
+
/**
|
667
|
+
* When `locations` is on, `loc` properties holding objects with
|
668
|
+
* `start` and `end` properties as {@link Position} objects will be attached to the
|
669
|
+
* nodes.
|
670
|
+
*/
|
671
|
+
locations?: boolean
|
672
|
+
|
673
|
+
/**
|
674
|
+
* a callback that will cause Acorn to call that export function with object in the same
|
675
|
+
* format as tokens returned from `tokenizer().getToken()`. Note
|
676
|
+
* that you are not allowed to call the parser from the
|
677
|
+
* callback—that will corrupt its internal state.
|
678
|
+
*/
|
679
|
+
onToken?: ((token: Token) => void) | Token[]
|
680
|
+
|
681
|
+
|
682
|
+
/**
|
683
|
+
* This takes a export function or an array.
|
684
|
+
*
|
685
|
+
* When a export function is passed, Acorn will call that export function with `(block, text, start,
|
686
|
+
* end)` parameters whenever a comment is skipped. `block` is a
|
687
|
+
* boolean indicating whether this is a block (`/* *\/`) comment,
|
688
|
+
* `text` is the content of the comment, and `start` and `end` are
|
689
|
+
* character offsets that denote the start and end of the comment.
|
690
|
+
* When the {@link locations} option is on, two more parameters are
|
691
|
+
* passed, the full locations of {@link Position} export type of the start and
|
692
|
+
* end of the comments.
|
693
|
+
*
|
694
|
+
* When a array is passed, each found comment of {@link Comment} export type is pushed to the array.
|
695
|
+
*
|
696
|
+
* Note that you are not allowed to call the
|
697
|
+
* parser from the callback—that will corrupt its internal state.
|
698
|
+
*/
|
699
|
+
onComment?: ((
|
700
|
+
isBlock: boolean, text: string, start: number, end: number, startLoc?: Position,
|
701
|
+
endLoc?: Position
|
702
|
+
) => void) | Comment[]
|
703
|
+
|
704
|
+
/**
|
705
|
+
* Nodes have their start and end characters offsets recorded in
|
706
|
+
* `start` and `end` properties (directly on the node, rather than
|
707
|
+
* the `loc` object, which holds line/column data. To also add a
|
708
|
+
* [semi-standardized][range] `range` property holding a `[start,
|
709
|
+
* end]` array with the same numbers, set the `ranges` option to
|
710
|
+
* `true`.
|
711
|
+
*/
|
712
|
+
ranges?: boolean
|
713
|
+
|
714
|
+
/**
|
715
|
+
* It is possible to parse multiple files into a single AST by
|
716
|
+
* passing the tree produced by parsing the first file as
|
717
|
+
* `program` option in subsequent parses. This will add the
|
718
|
+
* toplevel forms of the parsed file to the `Program` (top) node
|
719
|
+
* of an existing parse tree.
|
720
|
+
*/
|
721
|
+
program?: Node
|
722
|
+
|
723
|
+
/**
|
724
|
+
* When {@link locations} is on, you can pass this to record the source
|
725
|
+
* file in every node's `loc` object.
|
726
|
+
*/
|
727
|
+
sourceFile?: string
|
728
|
+
|
729
|
+
/**
|
730
|
+
* This value, if given, is stored in every node, whether {@link locations} is on or off.
|
731
|
+
*/
|
732
|
+
directSourceFile?: string
|
733
|
+
|
734
|
+
/**
|
735
|
+
* When enabled, parenthesized expressions are represented by
|
736
|
+
* (non-standard) ParenthesizedExpression nodes
|
737
|
+
*/
|
738
|
+
preserveParens?: boolean
|
739
|
+
}
|
740
|
+
|
741
|
+
export class Parser {
|
742
|
+
options: Options
|
743
|
+
input: string
|
744
|
+
|
745
|
+
protected constructor(options: Options, input: string, startPos?: number)
|
746
|
+
parse(): Program
|
747
|
+
|
748
|
+
static parse(input: string, options: Options): Program
|
749
|
+
static parseExpressionAt(input: string, pos: number, options: Options): Expression
|
750
|
+
static tokenizer(input: string, options: Options): {
|
751
|
+
getToken(): Token
|
752
|
+
[Symbol.iterator](): Iterator<Token>
|
753
|
+
}
|
754
|
+
static extend(...plugins: ((BaseParser: typeof Parser) => typeof Parser)[]): typeof Parser
|
755
|
+
}
|
756
|
+
|
757
|
+
export const defaultOptions: Options
|
758
|
+
|
759
|
+
export function getLineInfo(input: string, offset: number): Position
|
760
|
+
|
761
|
+
export class TokenType {
|
762
|
+
label: string
|
763
|
+
keyword: string | undefined
|
764
|
+
}
|
765
|
+
|
766
|
+
export const tokTypes: {
|
767
|
+
num: TokenType
|
768
|
+
regexp: TokenType
|
769
|
+
string: TokenType
|
770
|
+
name: TokenType
|
771
|
+
privateId: TokenType
|
772
|
+
eof: TokenType
|
773
|
+
|
774
|
+
bracketL: TokenType
|
775
|
+
bracketR: TokenType
|
776
|
+
braceL: TokenType
|
777
|
+
braceR: TokenType
|
778
|
+
parenL: TokenType
|
779
|
+
parenR: TokenType
|
780
|
+
comma: TokenType
|
781
|
+
semi: TokenType
|
782
|
+
colon: TokenType
|
783
|
+
dot: TokenType
|
784
|
+
question: TokenType
|
785
|
+
questionDot: TokenType
|
786
|
+
arrow: TokenType
|
787
|
+
template: TokenType
|
788
|
+
invalidTemplate: TokenType
|
789
|
+
ellipsis: TokenType
|
790
|
+
backQuote: TokenType
|
791
|
+
dollarBraceL: TokenType
|
792
|
+
|
793
|
+
eq: TokenType
|
794
|
+
assign: TokenType
|
795
|
+
incDec: TokenType
|
796
|
+
prefix: TokenType
|
797
|
+
logicalOR: TokenType
|
798
|
+
logicalAND: TokenType
|
799
|
+
bitwiseOR: TokenType
|
800
|
+
bitwiseXOR: TokenType
|
801
|
+
bitwiseAND: TokenType
|
802
|
+
equality: TokenType
|
803
|
+
relational: TokenType
|
804
|
+
bitShift: TokenType
|
805
|
+
plusMin: TokenType
|
806
|
+
modulo: TokenType
|
807
|
+
star: TokenType
|
808
|
+
slash: TokenType
|
809
|
+
starstar: TokenType
|
810
|
+
coalesce: TokenType
|
811
|
+
|
812
|
+
_break: TokenType
|
813
|
+
_case: TokenType
|
814
|
+
_catch: TokenType
|
815
|
+
_continue: TokenType
|
816
|
+
_debugger: TokenType
|
817
|
+
_default: TokenType
|
818
|
+
_do: TokenType
|
819
|
+
_else: TokenType
|
820
|
+
_finally: TokenType
|
821
|
+
_for: TokenType
|
822
|
+
_function: TokenType
|
823
|
+
_if: TokenType
|
824
|
+
_return: TokenType
|
825
|
+
_switch: TokenType
|
826
|
+
_throw: TokenType
|
827
|
+
_try: TokenType
|
828
|
+
_var: TokenType
|
829
|
+
_const: TokenType
|
830
|
+
_while: TokenType
|
831
|
+
_with: TokenType
|
832
|
+
_new: TokenType
|
833
|
+
_this: TokenType
|
834
|
+
_super: TokenType
|
835
|
+
_class: TokenType
|
836
|
+
_extends: TokenType
|
837
|
+
_export: TokenType
|
838
|
+
_import: TokenType
|
839
|
+
_null: TokenType
|
840
|
+
_true: TokenType
|
841
|
+
_false: TokenType
|
842
|
+
_in: TokenType
|
843
|
+
_instanceof: TokenType
|
844
|
+
_typeof: TokenType
|
845
|
+
_void: TokenType
|
846
|
+
_delete: TokenType
|
847
|
+
}
|
848
|
+
|
849
|
+
export interface Comment {
|
850
|
+
type: "Line" | "Block"
|
851
|
+
value: string
|
852
|
+
start: number
|
853
|
+
end: number
|
854
|
+
loc?: SourceLocation
|
855
|
+
range?: [number, number]
|
856
|
+
}
|
857
|
+
|
858
|
+
export class Token {
|
859
|
+
type: TokenType
|
860
|
+
start: number
|
861
|
+
end: number
|
862
|
+
loc?: SourceLocation
|
863
|
+
range?: [number, number]
|
864
|
+
}
|
865
|
+
|
866
|
+
export const version: string
|