@poveste/vendors 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -1
- package/iconify.d.ts +5 -0
- package/iconify.js +5 -0
- package/package.json +39 -34
- package/pinia.d.ts +5 -0
- package/pinia.js +5 -0
- package/vue-router.d.ts +5 -0
- package/vue-router.js +5 -0
- package/vue-use.d.ts +5 -0
- package/vue-use.js +5 -0
- package/vue.d.ts +5 -0
- package/vue.js +9 -0
- package/dist/client/b-floating-vue.d.ts +0 -3
- package/dist/client/b-floating-vue.js +0 -3377
- package/dist/client/b-iconify.d.ts +0 -1
- package/dist/client/b-iconify.js +0 -1896
- package/dist/client/b-pinia.d.ts +0 -1
- package/dist/client/b-pinia.js +0 -1492
- package/dist/client/b-scroll.d.ts +0 -2
- package/dist/client/b-scroll.js +0 -7
- package/dist/client/b-vue-router.d.ts +0 -1
- package/dist/client/b-vue-router.js +0 -3058
- package/dist/client/b-vue-use.d.ts +0 -1
- package/dist/client/b-vue-use.js +0 -10774
- package/dist/client/b-vue.d.ts +0 -1
- package/dist/client/b-vue.js +0 -1
- package/dist/client/devtools-api.js +0 -6568
- package/dist/client/index.js +0 -185
- package/dist/client/node_modules/@babel/helper-string-parser/package.json +0 -31
- package/dist/client/node_modules/@babel/helper-validator-identifier/package.json +0 -31
- package/dist/client/node_modules/@babel/parser/package.json +0 -50
- package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +0 -262
- package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +0 -2796
- package/dist/client/node_modules/@babel/types/lib/index.d.ts +0 -3616
- package/dist/client/node_modules/@babel/types/package.json +0 -39
- package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.mts +0 -535
- package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +0 -535
- package/dist/client/node_modules/@floating-ui/core/package.json +0 -63
- package/dist/client/node_modules/@floating-ui/dom/index.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/package.json +0 -74
- package/dist/client/node_modules/@floating-ui/dom/src/autoUpdate.d.ts +0 -31
- package/dist/client/node_modules/@floating-ui/dom/src/index.d.ts +0 -11
- package/dist/client/node_modules/@floating-ui/dom/src/platform.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/types.d.ts +0 -128
- package/dist/client/node_modules/@floating-ui/dom/src/utils/convertOffsetParentRelativeRectToViewportRelativeRect.d.ts +0 -6
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getBoundingClientRect.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingRect.d.ts +0 -12
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getComputedStyle.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getCssDimensions.d.ts +0 -4
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDimensions.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentElement.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentRect.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNearestOverflowAncestor.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeName.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeScroll.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getOffsetParent.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getOverflowAncestors.d.ts +0 -3
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getParentNode.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getRectRelativeToOffsetParent.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScale.d.ts +0 -7
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getViewportRect.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getWindowScrollBarX.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/is.d.ts +0 -17
- package/dist/client/node_modules/@floating-ui/dom/src/utils/math.d.ts +0 -3
- package/dist/client/node_modules/@floating-ui/dom/src/utils/unwrapElement.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/userAgent.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/window.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.mts +0 -105
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts +0 -105
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.mts +0 -47
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.ts +0 -47
- package/dist/client/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.d.ts +0 -47
- package/dist/client/node_modules/@floating-ui/utils/dom/package.json +0 -6
- package/dist/client/node_modules/@floating-ui/utils/package.json +0 -70
- package/dist/client/node_modules/@iconify/types/package.json +0 -23
- package/dist/client/node_modules/@iconify/types/provider.d.ts +0 -44
- package/dist/client/node_modules/@iconify/types/types.d.ts +0 -272
- package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +0 -420
- package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +0 -109
- package/dist/client/node_modules/@iconify/vue/offline/package.json +0 -14
- package/dist/client/node_modules/@iconify/vue/package.json +0 -62
- package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +0 -88
- package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/set-array.d.ts +0 -32
- package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +0 -12
- package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts +0 -43
- package/dist/client/node_modules/@jridgewell/gen-mapping/package.json +0 -67
- package/dist/client/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.mts +0 -89
- package/dist/client/node_modules/@jridgewell/gen-mapping/types/set-array.d.mts +0 -33
- package/dist/client/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.mts +0 -13
- package/dist/client/node_modules/@jridgewell/gen-mapping/types/types.d.mts +0 -44
- package/dist/client/node_modules/@jridgewell/remapping/package.json +0 -71
- package/dist/client/node_modules/@jridgewell/remapping/types/build-source-map-tree.d.mts +0 -15
- package/dist/client/node_modules/@jridgewell/remapping/types/remapping.d.mts +0 -21
- package/dist/client/node_modules/@jridgewell/remapping/types/source-map-tree.d.mts +0 -46
- package/dist/client/node_modules/@jridgewell/remapping/types/source-map.d.mts +0 -19
- package/dist/client/node_modules/@jridgewell/remapping/types/types.d.mts +0 -16
- package/dist/client/node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts +0 -4
- package/dist/client/node_modules/@jridgewell/resolve-uri/package.json +0 -69
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +0 -64
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.mts +0 -5
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts +0 -50
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +0 -11
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts +0 -16
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +0 -9
- package/dist/client/node_modules/@jridgewell/trace-mapping/package.json +0 -67
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/binary-search.d.mts +0 -33
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/by-source.d.mts +0 -4
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.mts +0 -9
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/resolve.d.mts +0 -4
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/sort.d.mts +0 -4
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.mts +0 -17
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.mts +0 -5
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.mts +0 -80
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/types.d.mts +0 -107
- package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +0 -265
- package/dist/client/node_modules/@types/web-bluetooth/package.json +0 -46
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +0 -1120
- package/dist/client/node_modules/@vue/compiler-core/package.json +0 -58
- package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +0 -45
- package/dist/client/node_modules/@vue/compiler-dom/package.json +0 -57
- package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +0 -487
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +0 -67
- package/dist/client/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +0 -4
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +0 -34
- package/dist/client/node_modules/@vue/devtools-api/dist/index-node.d.ts +0 -11
- package/dist/client/node_modules/@vue/devtools-api/dist/index.d.ts +0 -2
- package/dist/client/node_modules/@vue/devtools-api/package.json +0 -38
- package/dist/client/node_modules/@vue/devtools-kit/dist/index.d.ts +0 -1170
- package/dist/client/node_modules/@vue/devtools-kit/global.d.ts +0 -20
- package/dist/client/node_modules/@vue/devtools-kit/package.json +0 -44
- package/dist/client/node_modules/@vue/devtools-kit/types.d.ts +0 -2
- package/dist/client/node_modules/@vue/devtools-shared/dist/index.d.ts +0 -40
- package/dist/client/node_modules/@vue/devtools-shared/package.json +0 -33
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +0 -757
- package/dist/client/node_modules/@vue/reactivity/package.json +0 -55
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +0 -1868
- package/dist/client/node_modules/@vue/runtime-core/package.json +0 -52
- package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +0 -1452
- package/dist/client/node_modules/@vue/runtime-dom/package.json +0 -60
- package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +0 -65
- package/dist/client/node_modules/@vue/server-renderer/package.json +0 -53
- package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +0 -334
- package/dist/client/node_modules/@vue/shared/package.json +0 -47
- package/dist/client/node_modules/@vue-macros/common/dist/index.d.ts +0 -124
- package/dist/client/node_modules/@vue-macros/common/package.json +0 -63
- package/dist/client/node_modules/@vueuse/core/dist/index.d.ts +0 -5860
- package/dist/client/node_modules/@vueuse/core/dist/metadata.d.mts +0 -1
- package/dist/client/node_modules/@vueuse/core/package.json +0 -56
- package/dist/client/node_modules/@vueuse/metadata/dist/index.d.ts +0 -81
- package/dist/client/node_modules/@vueuse/metadata/package.json +0 -41
- package/dist/client/node_modules/@vueuse/shared/dist/index.d.ts +0 -1511
- package/dist/client/node_modules/@vueuse/shared/package.json +0 -45
- package/dist/client/node_modules/acorn/dist/acorn.d.mts +0 -897
- package/dist/client/node_modules/acorn/dist/acorn.d.ts +0 -897
- package/dist/client/node_modules/acorn/package.json +0 -50
- package/dist/client/node_modules/ast-kit/dist/index.d.ts +0 -380
- package/dist/client/node_modules/ast-kit/package.json +0 -63
- package/dist/client/node_modules/ast-walker-scope/dist/index.d.mts +0 -51
- package/dist/client/node_modules/ast-walker-scope/package.json +0 -60
- package/dist/client/node_modules/birpc/dist/index.d.mts +0 -215
- package/dist/client/node_modules/birpc/dist/index.d.ts +0 -215
- package/dist/client/node_modules/birpc/package.json +0 -57
- package/dist/client/node_modules/chokidar/handler.d.ts +0 -90
- package/dist/client/node_modules/chokidar/index.d.ts +0 -217
- package/dist/client/node_modules/chokidar/package.json +0 -63
- package/dist/client/node_modules/compute-scroll-into-view/dist/index.d.ts +0 -75
- package/dist/client/node_modules/compute-scroll-into-view/package.json +0 -82
- package/dist/client/node_modules/confbox/dist/_chunks/_format.d.mts +0 -25
- package/dist/client/node_modules/confbox/dist/index.d.mts +0 -34
- package/dist/client/node_modules/confbox/dist/ini.d.mts +0 -62
- package/dist/client/node_modules/confbox/dist/json5.d.mts +0 -59
- package/dist/client/node_modules/confbox/dist/jsonc.d.mts +0 -41
- package/dist/client/node_modules/confbox/dist/toml.d.mts +0 -23
- package/dist/client/node_modules/confbox/dist/yaml.d.mts +0 -96
- package/dist/client/node_modules/confbox/package.json +0 -67
- package/dist/client/node_modules/csstype/index.d.ts +0 -22569
- package/dist/client/node_modules/csstype/package.json +0 -70
- package/dist/client/node_modules/entities/decode.d.ts +0 -3
- package/dist/client/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +0 -19
- package/dist/client/node_modules/entities/dist/commonjs/decode.d.ts +0 -205
- package/dist/client/node_modules/entities/dist/commonjs/encode.d.ts +0 -22
- package/dist/client/node_modules/entities/dist/commonjs/escape.d.ts +0 -46
- package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +0 -2
- package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +0 -2
- package/dist/client/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +0 -3
- package/dist/client/node_modules/entities/dist/commonjs/index.d.ts +0 -96
- package/dist/client/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +0 -17
- package/dist/client/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +0 -2
- package/dist/client/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +0 -32
- package/dist/client/node_modules/entities/dist/commonjs/package.json +0 -3
- package/dist/client/node_modules/entities/dist/esm/decode-codepoint.d.ts +0 -19
- package/dist/client/node_modules/entities/dist/esm/decode.d.ts +0 -205
- package/dist/client/node_modules/entities/dist/esm/encode.d.ts +0 -22
- package/dist/client/node_modules/entities/dist/esm/escape.d.ts +0 -46
- package/dist/client/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +0 -2
- package/dist/client/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +0 -2
- package/dist/client/node_modules/entities/dist/esm/generated/encode-html.d.ts +0 -3
- package/dist/client/node_modules/entities/dist/esm/index.d.ts +0 -96
- package/dist/client/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +0 -17
- package/dist/client/node_modules/entities/dist/esm/internal/decode-shared.d.ts +0 -2
- package/dist/client/node_modules/entities/dist/esm/internal/encode-shared.d.ts +0 -32
- package/dist/client/node_modules/entities/dist/esm/package.json +0 -3
- package/dist/client/node_modules/entities/escape.d.ts +0 -3
- package/dist/client/node_modules/entities/package.json +0 -120
- package/dist/client/node_modules/estree-walker/dist/esm/package.json +0 -1
- package/dist/client/node_modules/estree-walker/package.json +0 -37
- package/dist/client/node_modules/estree-walker/src/package.json +0 -1
- package/dist/client/node_modules/estree-walker/types/async.d.ts +0 -53
- package/dist/client/node_modules/estree-walker/types/index.d.ts +0 -56
- package/dist/client/node_modules/estree-walker/types/sync.d.ts +0 -53
- package/dist/client/node_modules/estree-walker/types/walker.d.ts +0 -37
- package/dist/client/node_modules/exsolve/dist/index.d.mts +0 -66
- package/dist/client/node_modules/exsolve/package.json +0 -42
- package/dist/client/node_modules/fdir/dist/index.d.mts +0 -155
- package/dist/client/node_modules/fdir/package.json +0 -103
- package/dist/client/node_modules/floating-vue/dist/components/Dropdown.d.ts +0 -398
- package/dist/client/node_modules/floating-vue/dist/components/Menu.d.ts +0 -398
- package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +0 -495
- package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +0 -474
- package/dist/client/node_modules/floating-vue/dist/components/PopperContent.vue.d.ts +0 -37
- package/dist/client/node_modules/floating-vue/dist/components/PopperMethods.d.ts +0 -9
- package/dist/client/node_modules/floating-vue/dist/components/PopperWrapper.vue.d.ts +0 -414
- package/dist/client/node_modules/floating-vue/dist/components/ThemeClass.d.ts +0 -6
- package/dist/client/node_modules/floating-vue/dist/components/Tooltip.d.ts +0 -398
- package/dist/client/node_modules/floating-vue/dist/components/TooltipDirective.vue.d.ts +0 -67
- package/dist/client/node_modules/floating-vue/dist/config.d.ts +0 -11
- package/dist/client/node_modules/floating-vue/dist/directives/v-close-popper.d.ts +0 -13
- package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.d.ts +0 -27
- package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.spec.d.ts +0 -1
- package/dist/client/node_modules/floating-vue/dist/index.d.ts +0 -2239
- package/dist/client/node_modules/floating-vue/dist/util/assign-deep.d.ts +0 -1
- package/dist/client/node_modules/floating-vue/dist/util/env.d.ts +0 -2
- package/dist/client/node_modules/floating-vue/dist/util/events.d.ts +0 -14
- package/dist/client/node_modules/floating-vue/dist/util/frame.d.ts +0 -1
- package/dist/client/node_modules/floating-vue/dist/util/lang.d.ts +0 -1
- package/dist/client/node_modules/floating-vue/dist/util/popper.d.ts +0 -3
- package/dist/client/node_modules/floating-vue/package.json +0 -80
- package/dist/client/node_modules/hookable/dist/index.d.ts +0 -103
- package/dist/client/node_modules/hookable/package.json +0 -49
- package/dist/client/node_modules/local-pkg/dist/index.d.mts +0 -42
- package/dist/client/node_modules/local-pkg/dist/index.d.ts +0 -42
- package/dist/client/node_modules/local-pkg/package.json +0 -65
- package/dist/client/node_modules/magic-string/dist/magic-string.cjs.d.ts +0 -289
- package/dist/client/node_modules/magic-string/dist/magic-string.es.d.mts +0 -289
- package/dist/client/node_modules/magic-string/package.json +0 -67
- package/dist/client/node_modules/magic-string-ast/dist/index.d.ts +0 -67
- package/dist/client/node_modules/magic-string-ast/package.json +0 -64
- package/dist/client/node_modules/mlly/dist/index.d.mts +0 -564
- package/dist/client/node_modules/mlly/dist/index.d.ts +0 -564
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/index.d.mts +0 -32
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/index.d.ts +0 -32
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/json5.d.mts +0 -58
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/json5.d.ts +0 -58
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/jsonc.d.mts +0 -41
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/jsonc.d.ts +0 -41
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/shared/confbox.9745c98f.d.mts +0 -24
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/shared/confbox.9745c98f.d.ts +0 -24
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/toml.d.mts +0 -22
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/toml.d.ts +0 -22
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/yaml.d.mts +0 -95
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/yaml.d.ts +0 -95
- package/dist/client/node_modules/mlly/node_modules/confbox/json5.d.ts +0 -2
- package/dist/client/node_modules/mlly/node_modules/confbox/jsonc.d.ts +0 -2
- package/dist/client/node_modules/mlly/node_modules/confbox/package.json +0 -86
- package/dist/client/node_modules/mlly/node_modules/confbox/toml.d.ts +0 -2
- package/dist/client/node_modules/mlly/node_modules/confbox/yaml.d.ts +0 -2
- package/dist/client/node_modules/mlly/node_modules/pkg-types/dist/index.d.mts +0 -411
- package/dist/client/node_modules/mlly/node_modules/pkg-types/dist/index.d.ts +0 -411
- package/dist/client/node_modules/mlly/node_modules/pkg-types/package.json +0 -47
- package/dist/client/node_modules/mlly/package.json +0 -55
- package/dist/client/node_modules/muggle-string/out/base.d.ts +0 -6
- package/dist/client/node_modules/muggle-string/out/basic.d.ts +0 -6
- package/dist/client/node_modules/muggle-string/out/binarySearch.d.ts +0 -1
- package/dist/client/node_modules/muggle-string/out/common.d.ts +0 -9
- package/dist/client/node_modules/muggle-string/out/getLength.d.ts +0 -2
- package/dist/client/node_modules/muggle-string/out/index.d.ts +0 -10
- package/dist/client/node_modules/muggle-string/out/map.d.ts +0 -3
- package/dist/client/node_modules/muggle-string/out/overwriteSource.d.ts +0 -3
- package/dist/client/node_modules/muggle-string/out/replace.d.ts +0 -3
- package/dist/client/node_modules/muggle-string/out/segment.d.ts +0 -6
- package/dist/client/node_modules/muggle-string/out/sourceBased.d.ts +0 -3
- package/dist/client/node_modules/muggle-string/out/toString.d.ts +0 -2
- package/dist/client/node_modules/muggle-string/out/track.d.ts +0 -6
- package/dist/client/node_modules/muggle-string/out/types.d.ts +0 -16
- package/dist/client/node_modules/muggle-string/package.json +0 -22
- package/dist/client/node_modules/nanoid/async/index.d.ts +0 -56
- package/dist/client/node_modules/nanoid/async/package.json +0 -12
- package/dist/client/node_modules/nanoid/index.d.ts +0 -91
- package/dist/client/node_modules/nanoid/non-secure/index.d.ts +0 -33
- package/dist/client/node_modules/nanoid/non-secure/package.json +0 -6
- package/dist/client/node_modules/nanoid/package.json +0 -89
- package/dist/client/node_modules/nanoid/url-alphabet/package.json +0 -6
- package/dist/client/node_modules/nostics/dist/diagnostic-wduO7saY.d.mts +0 -295
- package/dist/client/node_modules/nostics/dist/formatters/ansi.d.mts +0 -15
- package/dist/client/node_modules/nostics/dist/formatters/json.d.mts +0 -7
- package/dist/client/node_modules/nostics/dist/index.d.mts +0 -51
- package/dist/client/node_modules/nostics/dist/reporters/dev.d.mts +0 -13
- package/dist/client/node_modules/nostics/dist/reporters/fetch.d.mts +0 -11
- package/dist/client/node_modules/nostics/dist/reporters/node.d.mts +0 -43
- package/dist/client/node_modules/nostics/package.json +0 -125
- package/dist/client/node_modules/pathe/dist/index.d.mts +0 -47
- package/dist/client/node_modules/pathe/dist/index.d.ts +0 -47
- package/dist/client/node_modules/pathe/dist/utils.d.mts +0 -32
- package/dist/client/node_modules/pathe/dist/utils.d.ts +0 -32
- package/dist/client/node_modules/pathe/package.json +0 -61
- package/dist/client/node_modules/pathe/utils.d.ts +0 -1
- package/dist/client/node_modules/perfect-debounce/dist/index.d.mts +0 -49
- package/dist/client/node_modules/perfect-debounce/package.json +0 -41
- package/dist/client/node_modules/picocolors/package.json +0 -25
- package/dist/client/node_modules/picocolors/picocolors.d.ts +0 -5
- package/dist/client/node_modules/picocolors/types.d.ts +0 -51
- package/dist/client/node_modules/picomatch/package.json +0 -83
- package/dist/client/node_modules/pinia/dist/pinia.d.ts +0 -955
- package/dist/client/node_modules/pinia/package.json +0 -82
- package/dist/client/node_modules/pkg-types/dist/index.d.mts +0 -695
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/_chunks/_format.d.mts +0 -22
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/_chunks/libs/js-yaml.d.mts +0 -33
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/index.d.mts +0 -7
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/ini.d.mts +0 -59
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/json.d.mts +0 -25
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/json5.d.mts +0 -55
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/jsonc.d.mts +0 -29
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/toml.d.mts +0 -20
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/yaml.d.mts +0 -101
- package/dist/client/node_modules/pkg-types/node_modules/confbox/package.json +0 -68
- package/dist/client/node_modules/pkg-types/package.json +0 -47
- package/dist/client/node_modules/postcss/lib/at-rule.d.ts +0 -139
- package/dist/client/node_modules/postcss/lib/comment.d.ts +0 -67
- package/dist/client/node_modules/postcss/lib/container.d.ts +0 -474
- package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +0 -247
- package/dist/client/node_modules/postcss/lib/declaration.d.ts +0 -150
- package/dist/client/node_modules/postcss/lib/document.d.ts +0 -68
- package/dist/client/node_modules/postcss/lib/fromJSON.d.ts +0 -9
- package/dist/client/node_modules/postcss/lib/input.d.ts +0 -226
- package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +0 -189
- package/dist/client/node_modules/postcss/lib/list.d.ts +0 -60
- package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +0 -45
- package/dist/client/node_modules/postcss/lib/node.d.ts +0 -555
- package/dist/client/node_modules/postcss/lib/parse.d.ts +0 -9
- package/dist/client/node_modules/postcss/lib/postcss.d.mts +0 -66
- package/dist/client/node_modules/postcss/lib/postcss.d.ts +0 -464
- package/dist/client/node_modules/postcss/lib/previous-map.d.ts +0 -80
- package/dist/client/node_modules/postcss/lib/processor.d.ts +0 -114
- package/dist/client/node_modules/postcss/lib/result.d.ts +0 -204
- package/dist/client/node_modules/postcss/lib/root.d.ts +0 -86
- package/dist/client/node_modules/postcss/lib/rule.d.ts +0 -126
- package/dist/client/node_modules/postcss/lib/stringifier.d.ts +0 -45
- package/dist/client/node_modules/postcss/lib/stringify.d.ts +0 -9
- package/dist/client/node_modules/postcss/lib/warning.d.ts +0 -146
- package/dist/client/node_modules/postcss/package.json +0 -88
- package/dist/client/node_modules/quansync/dist/index.d.mts +0 -22
- package/dist/client/node_modules/quansync/dist/index.d.ts +0 -22
- package/dist/client/node_modules/quansync/dist/macro.d.mts +0 -18
- package/dist/client/node_modules/quansync/dist/macro.d.ts +0 -18
- package/dist/client/node_modules/quansync/dist/types.d.mts +0 -27
- package/dist/client/node_modules/quansync/dist/types.d.ts +0 -27
- package/dist/client/node_modules/quansync/package.json +0 -95
- package/dist/client/node_modules/readdirp/index.d.ts +0 -117
- package/dist/client/node_modules/readdirp/package.json +0 -62
- package/dist/client/node_modules/scroll-into-view-if-needed/dist/index.d.ts +0 -79
- package/dist/client/node_modules/scroll-into-view-if-needed/package.json +0 -80
- package/dist/client/node_modules/scule/dist/index.d.mts +0 -57
- package/dist/client/node_modules/scule/dist/index.d.ts +0 -57
- package/dist/client/node_modules/scule/package.json +0 -43
- package/dist/client/node_modules/source-map-js/lib/source-map-consumer.d.ts +0 -1
- package/dist/client/node_modules/source-map-js/lib/source-map-generator.d.ts +0 -1
- package/dist/client/node_modules/source-map-js/lib/source-node.d.ts +0 -1
- package/dist/client/node_modules/source-map-js/package.json +0 -71
- package/dist/client/node_modules/source-map-js/source-map.d.ts +0 -104
- package/dist/client/node_modules/tinyglobby/dist/index.d.mts +0 -148
- package/dist/client/node_modules/tinyglobby/package.json +0 -70
- package/dist/client/node_modules/ufo/dist/index.d.mts +0 -714
- package/dist/client/node_modules/ufo/dist/index.d.ts +0 -714
- package/dist/client/node_modules/ufo/package.json +0 -48
- package/dist/client/node_modules/unplugin/dist/index.d.mts +0 -241
- package/dist/client/node_modules/unplugin/dist/rspack/loaders/load.d.mts +0 -4
- package/dist/client/node_modules/unplugin/dist/rspack/loaders/transform.d.mts +0 -4
- package/dist/client/node_modules/unplugin/dist/webpack/loaders/load.d.mts +0 -4
- package/dist/client/node_modules/unplugin/dist/webpack/loaders/transform.d.mts +0 -4
- package/dist/client/node_modules/unplugin/package.json +0 -146
- package/dist/client/node_modules/unplugin-utils/dist/index.d.ts +0 -31
- package/dist/client/node_modules/unplugin-utils/package.json +0 -61
- package/dist/client/node_modules/vue/compiler-sfc/index.d.mts +0 -1
- package/dist/client/node_modules/vue/compiler-sfc/index.d.ts +0 -1
- package/dist/client/node_modules/vue/compiler-sfc/package.json +0 -4
- package/dist/client/node_modules/vue/dist/vue.d.mts +0 -7
- package/dist/client/node_modules/vue/dist/vue.d.ts +0 -7
- package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +0 -25
- package/dist/client/node_modules/vue/jsx-runtime/package.json +0 -5
- package/dist/client/node_modules/vue/jsx.d.ts +0 -22
- package/dist/client/node_modules/vue/package.json +0 -112
- package/dist/client/node_modules/vue/server-renderer/index.d.mts +0 -1
- package/dist/client/node_modules/vue/server-renderer/index.d.ts +0 -1
- package/dist/client/node_modules/vue/server-renderer/package.json +0 -4
- package/dist/client/node_modules/vue-resize/package.json +0 -77
- package/dist/client/node_modules/vue-router/dist/experimental/index.d.ts +0 -7
- package/dist/client/node_modules/vue-router/dist/experimental/pinia-colada.d.ts +0 -151
- package/dist/client/node_modules/vue-router/dist/index-D7ja2BKs.d.ts +0 -3293
- package/dist/client/node_modules/vue-router/dist/options-CwYZKRl4.d.mts +0 -2923
- package/dist/client/node_modules/vue-router/dist/unplugin/esbuild.d.mts +0 -10
- package/dist/client/node_modules/vue-router/dist/unplugin/index.d.mts +0 -62
- package/dist/client/node_modules/vue-router/dist/unplugin/options.d.mts +0 -7
- package/dist/client/node_modules/vue-router/dist/unplugin/rolldown.d.mts +0 -10
- package/dist/client/node_modules/vue-router/dist/unplugin/rollup.d.mts +0 -10
- package/dist/client/node_modules/vue-router/dist/unplugin/types.d.mts +0 -7
- package/dist/client/node_modules/vue-router/dist/unplugin/vite.d.mts +0 -10
- package/dist/client/node_modules/vue-router/dist/unplugin/webpack.d.mts +0 -10
- package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +0 -7
- package/dist/client/node_modules/vue-router/package.json +0 -211
- package/dist/client/node_modules/vue-router/vue-router-auto-resolver.d.mts +0 -27
- package/dist/client/node_modules/vue-router/vue-router-auto-routes.d.mts +0 -53
- package/dist/client/node_modules/vue-router/vue-router-auto.d.ts +0 -2
- package/dist/client/node_modules/webpack-virtual-modules/lib/index.d.ts +0 -15
- package/dist/client/node_modules/webpack-virtual-modules/lib/virtual-stats.d.ts +0 -11
- package/dist/client/node_modules/webpack-virtual-modules/package.json +0 -82
- package/dist/client/vue.runtime.esm-bundler.js +0 -13389
- package/src/client/b-floating-vue.ts +0 -5
- package/src/client/b-iconify.ts +0 -1
- package/src/client/b-pinia.ts +0 -1
- package/src/client/b-scroll.ts +0 -4
- package/src/client/b-vue-router.ts +0 -1
- package/src/client/b-vue-use.ts +0 -1
- package/src/client/b-vue.ts +0 -1
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { QuansyncInputObject, QuansyncFn, QuansyncGeneratorFn, QuansyncOptions, QuansyncGenerator } from './types.mjs';
|
|
2
|
-
export { QuansyncAwaitableGenerator, QuansyncInput } from './types.mjs';
|
|
3
|
-
|
|
4
|
-
declare const GET_IS_ASYNC: unique symbol;
|
|
5
|
-
declare class QuansyncError extends Error {
|
|
6
|
-
constructor(message?: string);
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Creates a new Quansync function, a "superposition" between async and sync.
|
|
10
|
-
*/
|
|
11
|
-
declare function quansync<Return, Args extends any[] = []>(input: QuansyncInputObject<Return, Args>): QuansyncFn<Return, Args>;
|
|
12
|
-
declare function quansync<Return, Args extends any[] = []>(input: QuansyncGeneratorFn<Return, Args> | Promise<Return>, options?: QuansyncOptions): QuansyncFn<Return, Args>;
|
|
13
|
-
/**
|
|
14
|
-
* Converts a promise to a Quansync generator.
|
|
15
|
-
*/
|
|
16
|
-
declare function toGenerator<T>(promise: Promise<T> | QuansyncGenerator<T> | T): QuansyncGenerator<T>;
|
|
17
|
-
/**
|
|
18
|
-
* @returns `true` if the current context is async, `false` otherwise.
|
|
19
|
-
*/
|
|
20
|
-
declare const getIsAsync: QuansyncFn<boolean, []>;
|
|
21
|
-
|
|
22
|
-
export { GET_IS_ASYNC, QuansyncError, QuansyncFn, QuansyncGenerator, QuansyncGeneratorFn, QuansyncInputObject, QuansyncOptions, getIsAsync, quansync, toGenerator };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { QuansyncInputObject, QuansyncFn, QuansyncGeneratorFn, QuansyncOptions, QuansyncGenerator } from './types.js';
|
|
2
|
-
export { QuansyncAwaitableGenerator, QuansyncInput } from './types.js';
|
|
3
|
-
|
|
4
|
-
declare const GET_IS_ASYNC: unique symbol;
|
|
5
|
-
declare class QuansyncError extends Error {
|
|
6
|
-
constructor(message?: string);
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Creates a new Quansync function, a "superposition" between async and sync.
|
|
10
|
-
*/
|
|
11
|
-
declare function quansync<Return, Args extends any[] = []>(input: QuansyncInputObject<Return, Args>): QuansyncFn<Return, Args>;
|
|
12
|
-
declare function quansync<Return, Args extends any[] = []>(input: QuansyncGeneratorFn<Return, Args> | Promise<Return>, options?: QuansyncOptions): QuansyncFn<Return, Args>;
|
|
13
|
-
/**
|
|
14
|
-
* Converts a promise to a Quansync generator.
|
|
15
|
-
*/
|
|
16
|
-
declare function toGenerator<T>(promise: Promise<T> | QuansyncGenerator<T> | T): QuansyncGenerator<T>;
|
|
17
|
-
/**
|
|
18
|
-
* @returns `true` if the current context is async, `false` otherwise.
|
|
19
|
-
*/
|
|
20
|
-
declare const getIsAsync: QuansyncFn<boolean, []>;
|
|
21
|
-
|
|
22
|
-
export { GET_IS_ASYNC, QuansyncError, QuansyncFn, QuansyncGenerator, QuansyncGeneratorFn, QuansyncInputObject, QuansyncOptions, getIsAsync, quansync, toGenerator };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { QuansyncInputObject, QuansyncFn, QuansyncGeneratorFn, QuansyncOptions } from './types.mjs';
|
|
2
|
-
export { QuansyncAwaitableGenerator, QuansyncGenerator, QuansyncInput } from './types.mjs';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* This function is equivalent to `quansync` from main entry
|
|
6
|
-
* but accepts a fake argument type of async functions.
|
|
7
|
-
*
|
|
8
|
-
* This requires to be used with the macro transformer `unplugin-quansync`.
|
|
9
|
-
* Do NOT use it directly.
|
|
10
|
-
*
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
declare const quansync: {
|
|
14
|
-
<Return, Args extends any[] = []>(input: QuansyncInputObject<Return, Args>): QuansyncFn<Return, Args>;
|
|
15
|
-
<Return, Args extends any[] = []>(input: QuansyncGeneratorFn<Return, Args> | Promise<Return> | ((...args: Args) => Promise<Return> | Return), options?: QuansyncOptions): QuansyncFn<Return, Args>;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export { QuansyncFn, QuansyncGeneratorFn, QuansyncInputObject, QuansyncOptions, quansync };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { QuansyncInputObject, QuansyncFn, QuansyncGeneratorFn, QuansyncOptions } from './types.js';
|
|
2
|
-
export { QuansyncAwaitableGenerator, QuansyncGenerator, QuansyncInput } from './types.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* This function is equivalent to `quansync` from main entry
|
|
6
|
-
* but accepts a fake argument type of async functions.
|
|
7
|
-
*
|
|
8
|
-
* This requires to be used with the macro transformer `unplugin-quansync`.
|
|
9
|
-
* Do NOT use it directly.
|
|
10
|
-
*
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
declare const quansync: {
|
|
14
|
-
<Return, Args extends any[] = []>(input: QuansyncInputObject<Return, Args>): QuansyncFn<Return, Args>;
|
|
15
|
-
<Return, Args extends any[] = []>(input: QuansyncGeneratorFn<Return, Args> | Promise<Return> | ((...args: Args) => Promise<Return> | Return), options?: QuansyncOptions): QuansyncFn<Return, Args>;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export { QuansyncFn, QuansyncGeneratorFn, QuansyncInputObject, QuansyncOptions, quansync };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
interface QuansyncOptions {
|
|
2
|
-
onYield?: (value: any, isAsync: boolean) => any;
|
|
3
|
-
}
|
|
4
|
-
interface QuansyncInputObject<Return, Args extends any[]> extends QuansyncOptions {
|
|
5
|
-
name?: string;
|
|
6
|
-
sync: (...args: Args) => Return;
|
|
7
|
-
async: (...args: Args) => Promise<Return>;
|
|
8
|
-
}
|
|
9
|
-
type QuansyncGeneratorFn<Return, Args extends any[]> = ((...args: Args) => QuansyncGenerator<Return>);
|
|
10
|
-
type QuansyncInput<Return, Args extends any[]> = QuansyncInputObject<Return, Args> | QuansyncGeneratorFn<Return, Args>;
|
|
11
|
-
type QuansyncGenerator<Return = any, Yield = unknown> = Generator<Yield, Return, Awaited<Yield>> & {
|
|
12
|
-
__quansync?: true;
|
|
13
|
-
};
|
|
14
|
-
type QuansyncAwaitableGenerator<Return = any, Yield = unknown> = QuansyncGenerator<Return, Yield> & PromiseLike<Return>;
|
|
15
|
-
/**
|
|
16
|
-
* "Superposition" function that can be consumed in both sync and async contexts.
|
|
17
|
-
*/
|
|
18
|
-
type QuansyncFn<Return = any, Args extends any[] = []> = ((...args: Args) => QuansyncAwaitableGenerator<Return>) & {
|
|
19
|
-
/**
|
|
20
|
-
* **Warning**: The `async` and `sync` methods will be lost after invoked.
|
|
21
|
-
*/
|
|
22
|
-
bind: <T, A extends any[], B extends any[]>(this: (this: T, ...args: [...A, ...B]) => QuansyncAwaitableGenerator<Return>, thisArg: T, ...args: A) => ((...args: B) => QuansyncAwaitableGenerator<Return>);
|
|
23
|
-
sync: (...args: Args) => Return;
|
|
24
|
-
async: (...args: Args) => Promise<Return>;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export type { QuansyncAwaitableGenerator, QuansyncFn, QuansyncGenerator, QuansyncGeneratorFn, QuansyncInput, QuansyncInputObject, QuansyncOptions };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
interface QuansyncOptions {
|
|
2
|
-
onYield?: (value: any, isAsync: boolean) => any;
|
|
3
|
-
}
|
|
4
|
-
interface QuansyncInputObject<Return, Args extends any[]> extends QuansyncOptions {
|
|
5
|
-
name?: string;
|
|
6
|
-
sync: (...args: Args) => Return;
|
|
7
|
-
async: (...args: Args) => Promise<Return>;
|
|
8
|
-
}
|
|
9
|
-
type QuansyncGeneratorFn<Return, Args extends any[]> = ((...args: Args) => QuansyncGenerator<Return>);
|
|
10
|
-
type QuansyncInput<Return, Args extends any[]> = QuansyncInputObject<Return, Args> | QuansyncGeneratorFn<Return, Args>;
|
|
11
|
-
type QuansyncGenerator<Return = any, Yield = unknown> = Generator<Yield, Return, Awaited<Yield>> & {
|
|
12
|
-
__quansync?: true;
|
|
13
|
-
};
|
|
14
|
-
type QuansyncAwaitableGenerator<Return = any, Yield = unknown> = QuansyncGenerator<Return, Yield> & PromiseLike<Return>;
|
|
15
|
-
/**
|
|
16
|
-
* "Superposition" function that can be consumed in both sync and async contexts.
|
|
17
|
-
*/
|
|
18
|
-
type QuansyncFn<Return = any, Args extends any[] = []> = ((...args: Args) => QuansyncAwaitableGenerator<Return>) & {
|
|
19
|
-
/**
|
|
20
|
-
* **Warning**: The `async` and `sync` methods will be lost after invoked.
|
|
21
|
-
*/
|
|
22
|
-
bind: <T, A extends any[], B extends any[]>(this: (this: T, ...args: [...A, ...B]) => QuansyncAwaitableGenerator<Return>, thisArg: T, ...args: A) => ((...args: B) => QuansyncAwaitableGenerator<Return>);
|
|
23
|
-
sync: (...args: Args) => Return;
|
|
24
|
-
async: (...args: Args) => Promise<Return>;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export type { QuansyncAwaitableGenerator, QuansyncFn, QuansyncGenerator, QuansyncGeneratorFn, QuansyncInput, QuansyncInputObject, QuansyncOptions };
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "quansync",
|
|
3
|
-
"type": "module",
|
|
4
|
-
"version": "0.2.11",
|
|
5
|
-
"description": "Create sync/async APIs with usable logic",
|
|
6
|
-
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
|
-
"contributors": [
|
|
8
|
-
{
|
|
9
|
-
"name": "三咲智子 Kevin Deng",
|
|
10
|
-
"email": "sxzz@sxzz.moe"
|
|
11
|
-
}
|
|
12
|
-
],
|
|
13
|
-
"license": "MIT",
|
|
14
|
-
"funding": [
|
|
15
|
-
{
|
|
16
|
-
"type": "individual",
|
|
17
|
-
"url": "https://github.com/sponsors/antfu"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"type": "individual",
|
|
21
|
-
"url": "https://github.com/sponsors/sxzz"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"homepage": "https://github.com/quansync-dev/quansync#readme",
|
|
25
|
-
"repository": {
|
|
26
|
-
"type": "git",
|
|
27
|
-
"url": "git+https://github.com/quansync-dev/quansync.git"
|
|
28
|
-
},
|
|
29
|
-
"bugs": "https://github.com/quansync-dev/quansync/issues",
|
|
30
|
-
"keywords": [
|
|
31
|
-
"async",
|
|
32
|
-
"sync",
|
|
33
|
-
"generator"
|
|
34
|
-
],
|
|
35
|
-
"sideEffects": false,
|
|
36
|
-
"exports": {
|
|
37
|
-
".": {
|
|
38
|
-
"import": "./dist/index.mjs",
|
|
39
|
-
"require": "./dist/index.cjs"
|
|
40
|
-
},
|
|
41
|
-
"./macro": {
|
|
42
|
-
"import": "./dist/macro.mjs",
|
|
43
|
-
"require": "./dist/macro.cjs"
|
|
44
|
-
},
|
|
45
|
-
"./types": {
|
|
46
|
-
"import": "./dist/types.mjs",
|
|
47
|
-
"require": "./dist/types.cjs"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"main": "./dist/index.mjs",
|
|
51
|
-
"module": "./dist/index.mjs",
|
|
52
|
-
"types": "./dist/index.d.mts",
|
|
53
|
-
"typesVersions": {
|
|
54
|
-
"*": {
|
|
55
|
-
"*": [
|
|
56
|
-
"./dist/*",
|
|
57
|
-
"./*"
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"files": [
|
|
62
|
-
"dist"
|
|
63
|
-
],
|
|
64
|
-
"devDependencies": {
|
|
65
|
-
"@antfu/eslint-config": "^5.2.1",
|
|
66
|
-
"@types/node": "^24.3.0",
|
|
67
|
-
"bumpp": "^10.2.3",
|
|
68
|
-
"eslint": "^9.33.0",
|
|
69
|
-
"gensync": "1.0.0-beta.2",
|
|
70
|
-
"lint-staged": "^16.1.5",
|
|
71
|
-
"mitata": "^1.0.34",
|
|
72
|
-
"simple-git-hooks": "^2.13.1",
|
|
73
|
-
"tsx": "^4.20.4",
|
|
74
|
-
"typescript": "^5.9.2",
|
|
75
|
-
"unbuild": "^3.6.1",
|
|
76
|
-
"vite": "^7.1.2",
|
|
77
|
-
"vitest": "^3.2.4"
|
|
78
|
-
},
|
|
79
|
-
"simple-git-hooks": {
|
|
80
|
-
"pre-commit": "pnpm lint-staged"
|
|
81
|
-
},
|
|
82
|
-
"lint-staged": {
|
|
83
|
-
"*": "eslint --fix"
|
|
84
|
-
},
|
|
85
|
-
"scripts": {
|
|
86
|
-
"build": "unbuild",
|
|
87
|
-
"dev": "unbuild --stub",
|
|
88
|
-
"lint": "eslint .",
|
|
89
|
-
"release": "bumpp",
|
|
90
|
-
"start": "tsx src/index.ts",
|
|
91
|
-
"benchmark": "node scripts/benchmark.js",
|
|
92
|
-
"test": "vitest",
|
|
93
|
-
"typecheck": "tsc --noEmit"
|
|
94
|
-
}
|
|
95
|
-
}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Recursive version of readdir. Exposes a streaming API and promise API.
|
|
3
|
-
* Streaming API allows to use a small amount of RAM.
|
|
4
|
-
*
|
|
5
|
-
* @module
|
|
6
|
-
* @example
|
|
7
|
-
```js
|
|
8
|
-
import readdirp from 'readdirp';
|
|
9
|
-
for await (const entry of readdirp('.')) {
|
|
10
|
-
const {path} = entry;
|
|
11
|
-
console.log(`${JSON.stringify({path})}`);
|
|
12
|
-
}
|
|
13
|
-
```
|
|
14
|
-
*/
|
|
15
|
-
/*! readdirp - MIT License (c) 2012-2019 Thorsten Lorenz, Paul Miller (https://paulmillr.com) */
|
|
16
|
-
import type { Dirent, Stats } from 'node:fs';
|
|
17
|
-
import { Readable } from 'node:stream';
|
|
18
|
-
/** Path in file system. */
|
|
19
|
-
export type Path = string;
|
|
20
|
-
/** Emitted entry. Contains relative & absolute path, basename, and either stats or dirent. */
|
|
21
|
-
export interface EntryInfo {
|
|
22
|
-
path: string;
|
|
23
|
-
fullPath: string;
|
|
24
|
-
stats?: Stats;
|
|
25
|
-
dirent?: Dirent;
|
|
26
|
-
basename: string;
|
|
27
|
-
}
|
|
28
|
-
/** Path or dir entries (files) */
|
|
29
|
-
export type PathOrDirent = Dirent | Path;
|
|
30
|
-
/** Filterer for files */
|
|
31
|
-
export type Tester = (entryInfo: EntryInfo) => boolean;
|
|
32
|
-
export type Predicate = string[] | string | Tester;
|
|
33
|
-
export declare const EntryTypes: {
|
|
34
|
-
readonly FILE_TYPE: "files";
|
|
35
|
-
readonly DIR_TYPE: "directories";
|
|
36
|
-
readonly FILE_DIR_TYPE: "files_directories";
|
|
37
|
-
readonly EVERYTHING_TYPE: "all";
|
|
38
|
-
};
|
|
39
|
-
export type EntryType = (typeof EntryTypes)[keyof typeof EntryTypes];
|
|
40
|
-
/**
|
|
41
|
-
* Options for readdirp.
|
|
42
|
-
* * type: files, directories, or both
|
|
43
|
-
* * lstat: whether to use symlink-friendly stat
|
|
44
|
-
* * depth: max depth
|
|
45
|
-
* * alwaysStat: whether to use stat (more resources) or dirent
|
|
46
|
-
* * highWaterMark: streaming param, specifies max amount of resources per entry
|
|
47
|
-
*/
|
|
48
|
-
export type ReaddirpOptions = {
|
|
49
|
-
root: string;
|
|
50
|
-
fileFilter?: Predicate;
|
|
51
|
-
directoryFilter?: Predicate;
|
|
52
|
-
type?: EntryType;
|
|
53
|
-
lstat?: boolean;
|
|
54
|
-
depth?: number;
|
|
55
|
-
alwaysStat?: boolean;
|
|
56
|
-
highWaterMark?: number;
|
|
57
|
-
};
|
|
58
|
-
/** Directory entry. Contains path, depth count, and files. */
|
|
59
|
-
export interface DirEntry {
|
|
60
|
-
/** Undefined when the directory could not be read (a 'warn' was emitted). */
|
|
61
|
-
files: PathOrDirent[] | undefined;
|
|
62
|
-
depth: number;
|
|
63
|
-
path: Path;
|
|
64
|
-
}
|
|
65
|
-
/** Readable readdir stream, emitting new files as they're being listed. */
|
|
66
|
-
interface PendingDir {
|
|
67
|
-
path: Path;
|
|
68
|
-
depth: number;
|
|
69
|
-
pending?: Promise<DirEntry>;
|
|
70
|
-
}
|
|
71
|
-
export declare class ReaddirpStream extends Readable {
|
|
72
|
-
/**
|
|
73
|
-
* Directories discovered but not yet emitted from. Listings are read
|
|
74
|
-
* lazily (on pop, plus one prefetch) instead of eagerly on discovery:
|
|
75
|
-
* keeping whole listings for every queued dir balloons RAM on wide trees.
|
|
76
|
-
*/
|
|
77
|
-
parents: PendingDir[];
|
|
78
|
-
reading: boolean;
|
|
79
|
-
parent?: DirEntry;
|
|
80
|
-
_stat: Function;
|
|
81
|
-
_maxDepth: number;
|
|
82
|
-
_wantsDir: boolean;
|
|
83
|
-
_wantsFile: boolean;
|
|
84
|
-
_wantsEverything: boolean;
|
|
85
|
-
_root: Path;
|
|
86
|
-
_isDirent: boolean;
|
|
87
|
-
_statsProp: 'dirent' | 'stats';
|
|
88
|
-
_rdOptions: {
|
|
89
|
-
encoding: 'utf8';
|
|
90
|
-
withFileTypes: boolean;
|
|
91
|
-
};
|
|
92
|
-
_fileFilter: Tester;
|
|
93
|
-
_directoryFilter: Tester;
|
|
94
|
-
_relStart: number;
|
|
95
|
-
constructor(options?: Partial<ReaddirpOptions>);
|
|
96
|
-
_read(batch: number): Promise<void>;
|
|
97
|
-
_exploreDir(path: Path, depth: number): Promise<DirEntry>;
|
|
98
|
-
_formatEntry(dirent: PathOrDirent, path: Path): EntryInfo | undefined | Promise<EntryInfo | undefined>;
|
|
99
|
-
_onError(err: Error): void;
|
|
100
|
-
_getEntryType(entry: EntryInfo): '' | 'file' | 'directory' | Promise<'' | 'file' | 'directory'>;
|
|
101
|
-
_getSymlinkEntryType(entry: EntryInfo): Promise<'' | 'file' | 'directory'>;
|
|
102
|
-
_includeAsFile(entry: EntryInfo): boolean | undefined;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Streaming version: Reads all files and directories in given root recursively.
|
|
106
|
-
* Consumes ~constant small amount of RAM.
|
|
107
|
-
* @param root Root directory
|
|
108
|
-
* @param options Options to specify root (start directory), filters and recursion depth
|
|
109
|
-
*/
|
|
110
|
-
export declare function readdirp(root: Path, options?: Partial<ReaddirpOptions>): ReaddirpStream;
|
|
111
|
-
/**
|
|
112
|
-
* Promise version: Reads all files and directories in given root recursively.
|
|
113
|
-
* Compared to streaming version, will consume a lot of RAM e.g. when 1 million files are listed.
|
|
114
|
-
* @returns array of paths and their entry infos
|
|
115
|
-
*/
|
|
116
|
-
export declare function readdirpPromise(root: Path, options?: Partial<ReaddirpOptions>): Promise<EntryInfo[]>;
|
|
117
|
-
export default readdirp;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "readdirp",
|
|
3
|
-
"description": "Recursive version of fs.readdir with small RAM & CPU footprint",
|
|
4
|
-
"version": "5.1.1",
|
|
5
|
-
"homepage": "https://github.com/paulmillr/readdirp",
|
|
6
|
-
"repository": {
|
|
7
|
-
"type": "git",
|
|
8
|
-
"url": "https://github.com/paulmillr/readdirp.git"
|
|
9
|
-
},
|
|
10
|
-
"license": "MIT",
|
|
11
|
-
"bugs": {
|
|
12
|
-
"url": "https://github.com/paulmillr/readdirp/issues"
|
|
13
|
-
},
|
|
14
|
-
"author": "Thorsten Lorenz <thlorenz@gmx.de> (thlorenz.com)",
|
|
15
|
-
"contributors": [
|
|
16
|
-
"Thorsten Lorenz <thlorenz@gmx.de> (thlorenz.com)",
|
|
17
|
-
"Paul Miller (https://paulmillr.com)"
|
|
18
|
-
],
|
|
19
|
-
"engines": {
|
|
20
|
-
"node": ">= 20.19.0"
|
|
21
|
-
},
|
|
22
|
-
"files": [
|
|
23
|
-
"index.js",
|
|
24
|
-
"index.d.ts"
|
|
25
|
-
],
|
|
26
|
-
"type": "module",
|
|
27
|
-
"main": "./index.js",
|
|
28
|
-
"module": "./index.js",
|
|
29
|
-
"types": "./index.d.ts",
|
|
30
|
-
"exports": {
|
|
31
|
-
".": "./index.js"
|
|
32
|
-
},
|
|
33
|
-
"sideEffects": false,
|
|
34
|
-
"keywords": [
|
|
35
|
-
"recursive",
|
|
36
|
-
"fs",
|
|
37
|
-
"stream",
|
|
38
|
-
"streams",
|
|
39
|
-
"readdir",
|
|
40
|
-
"filesystem",
|
|
41
|
-
"find",
|
|
42
|
-
"filter"
|
|
43
|
-
],
|
|
44
|
-
"scripts": {
|
|
45
|
-
"build": "tsc",
|
|
46
|
-
"format": "prettier --write index.ts test/index.test.js",
|
|
47
|
-
"test": "node test/index.test.js"
|
|
48
|
-
},
|
|
49
|
-
"devDependencies": {
|
|
50
|
-
"@paulmillr/jsbt": "0.6.1",
|
|
51
|
-
"@types/node": "24.10.1",
|
|
52
|
-
"c8": "10.1.3",
|
|
53
|
-
"chai": "4.3.4",
|
|
54
|
-
"chai-subset": "1.6.0",
|
|
55
|
-
"prettier": "3.1.1",
|
|
56
|
-
"typescript": "5.9.2"
|
|
57
|
-
},
|
|
58
|
-
"funding": {
|
|
59
|
-
"type": "individual",
|
|
60
|
-
"url": "https://paulmillr.com/funding/"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import type { Options as Options_2 } from 'compute-scroll-into-view'
|
|
2
|
-
import type { ScrollAction } from 'compute-scroll-into-view'
|
|
3
|
-
|
|
4
|
-
/** @public */
|
|
5
|
-
export declare interface CustomBehaviorOptions<T = unknown> extends Options_2 {
|
|
6
|
-
behavior: CustomScrollBehaviorCallback<T>
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
/** @public */
|
|
10
|
-
export declare type CustomScrollBehaviorCallback<T = unknown> = (
|
|
11
|
-
actions: ScrollAction[]
|
|
12
|
-
) => T
|
|
13
|
-
|
|
14
|
-
/** @public */
|
|
15
|
-
export declare type Options<T = unknown> =
|
|
16
|
-
| StandardBehaviorOptions
|
|
17
|
-
| CustomBehaviorOptions<T>
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Scrolls the given element into view, with options for when, and how.
|
|
21
|
-
* Supports the same `options` as [`Element.prototype.scrollIntoView`](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView) with additions such as `scrollMode`, `behavior: Function` and `skipOverflowHiddenElements`.
|
|
22
|
-
* @public
|
|
23
|
-
*/
|
|
24
|
-
declare function scrollIntoView(
|
|
25
|
-
target: Element,
|
|
26
|
-
options?: StandardBehaviorOptions | boolean
|
|
27
|
-
): void
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Scrolls the given element into view, with options for when, and how.
|
|
31
|
-
* Supports the same `options` as [`Element.prototype.scrollIntoView`](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView) with additions such as `scrollMode`, `behavior: Function` and `skipOverflowHiddenElements`.
|
|
32
|
-
*
|
|
33
|
-
* You can set the expected return type for `behavior: Function`:
|
|
34
|
-
* ```ts
|
|
35
|
-
* await scrollIntoView<Promise<boolean[]>>(node, {
|
|
36
|
-
* behavior: async actions => {
|
|
37
|
-
* return Promise.all(actions.map(
|
|
38
|
-
* // animate() resolves to `true` if anything was animated, `false` if the element already were in the end state
|
|
39
|
-
* ({ el, left, top }) => animate(el, {scroll: {left, top}})
|
|
40
|
-
* ))
|
|
41
|
-
* }
|
|
42
|
-
* })
|
|
43
|
-
* ```
|
|
44
|
-
* @public
|
|
45
|
-
*/
|
|
46
|
-
declare function scrollIntoView<T>(
|
|
47
|
-
target: Element,
|
|
48
|
-
options: CustomBehaviorOptions<T>
|
|
49
|
-
): T
|
|
50
|
-
export default scrollIntoView
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Only scrolls if the `node` is partially out of view:
|
|
54
|
-
* ```ts
|
|
55
|
-
* scrollIntoView(node, { scrollMode: 'if-needed' })
|
|
56
|
-
* ```
|
|
57
|
-
* Skips scrolling `overflow: hidden` elements:
|
|
58
|
-
* ```ts
|
|
59
|
-
* scrollIntoView(node, { skipOverflowHiddenElements: true })
|
|
60
|
-
* ```
|
|
61
|
-
* When scrolling is needed do the least and smoothest scrolling possible:
|
|
62
|
-
* ```ts
|
|
63
|
-
* scrollIntoView(node, {
|
|
64
|
-
* behavior: 'smooth',
|
|
65
|
-
* scrollMode: 'if-needed',
|
|
66
|
-
* block: 'nearest',
|
|
67
|
-
* inline: 'nearest',
|
|
68
|
-
* })
|
|
69
|
-
* ```
|
|
70
|
-
* @public
|
|
71
|
-
*/
|
|
72
|
-
export declare interface StandardBehaviorOptions extends Options_2 {
|
|
73
|
-
/**
|
|
74
|
-
* @defaultValue 'auto
|
|
75
|
-
*/
|
|
76
|
-
behavior?: ScrollBehavior
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export {}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "scroll-into-view-if-needed",
|
|
3
|
-
"version": "3.1.0",
|
|
4
|
-
"description": "Ponyfill for upcoming Element.scrollIntoView() APIs like scrollMode: if-needed, behavior: smooth and block: center",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"behavior-smooth",
|
|
7
|
-
"if-needed",
|
|
8
|
-
"polyfill",
|
|
9
|
-
"ponyfill",
|
|
10
|
-
"scroll",
|
|
11
|
-
"scroll-into-view",
|
|
12
|
-
"scrollIntoView",
|
|
13
|
-
"scrollIntoViewIfNeeded",
|
|
14
|
-
"scrollMode",
|
|
15
|
-
"smooth",
|
|
16
|
-
"smoothscroll",
|
|
17
|
-
"typescript"
|
|
18
|
-
],
|
|
19
|
-
"homepage": "https://scroll-into-view.dev",
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "git+https://github.com/scroll-into-view/scroll-into-view-if-needed.git"
|
|
23
|
-
},
|
|
24
|
-
"license": "MIT",
|
|
25
|
-
"author": "Cody Olsen",
|
|
26
|
-
"sideEffects": false,
|
|
27
|
-
"type": "module",
|
|
28
|
-
"exports": {
|
|
29
|
-
".": {
|
|
30
|
-
"types": "./dist/index.d.ts",
|
|
31
|
-
"source": "./src/index.ts",
|
|
32
|
-
"require": "./dist/index.cjs",
|
|
33
|
-
"import": "./dist/index.js",
|
|
34
|
-
"default": "./dist/index.js"
|
|
35
|
-
},
|
|
36
|
-
"./package.json": "./package.json"
|
|
37
|
-
},
|
|
38
|
-
"main": "./dist/index.cjs",
|
|
39
|
-
"module": "./dist/index.js",
|
|
40
|
-
"source": "./src/index.ts",
|
|
41
|
-
"typings": "./dist/index.d.ts",
|
|
42
|
-
"files": [
|
|
43
|
-
"dist",
|
|
44
|
-
"src"
|
|
45
|
-
],
|
|
46
|
-
"scripts": {
|
|
47
|
-
"prebuild": "npm run clean",
|
|
48
|
-
"build": "pkg build --strict",
|
|
49
|
-
"clean": "npx rimraf 'dist'",
|
|
50
|
-
"prepublishOnly": "npm run build",
|
|
51
|
-
"typecheck": "tsc && tsc --noEmit -p tests/typescript"
|
|
52
|
-
},
|
|
53
|
-
"browserslist": [
|
|
54
|
-
"> 0.2% and supports es6-module and supports es6-module-dynamic-import and not dead and not IE 11",
|
|
55
|
-
"maintained node versions"
|
|
56
|
-
],
|
|
57
|
-
"prettier": {
|
|
58
|
-
"semi": false,
|
|
59
|
-
"singleQuote": true
|
|
60
|
-
},
|
|
61
|
-
"dependencies": {
|
|
62
|
-
"compute-scroll-into-view": "^3.0.2"
|
|
63
|
-
},
|
|
64
|
-
"devDependencies": {
|
|
65
|
-
"@sanity/pkg-utils": "^2.2.5",
|
|
66
|
-
"@sanity/semantic-release-preset": "^4.0.0",
|
|
67
|
-
"cross-env": "^7.0.3",
|
|
68
|
-
"prettier": "^2.8.4",
|
|
69
|
-
"prettier-plugin-packagejson": "^2.4.3",
|
|
70
|
-
"rimraf": "^4.1.2",
|
|
71
|
-
"typescript": "^5.0.0"
|
|
72
|
-
},
|
|
73
|
-
"bundlesize": [
|
|
74
|
-
{
|
|
75
|
-
"path": "./dist/index.js",
|
|
76
|
-
"maxSize": "3.3 kB",
|
|
77
|
-
"compression": "none"
|
|
78
|
-
}
|
|
79
|
-
]
|
|
80
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
type Splitter = "-" | "_" | "/" | ".";
|
|
2
|
-
type FirstOfString<S extends string> = S extends `${infer F}${string}` ? F : never;
|
|
3
|
-
type RemoveFirstOfString<S extends string> = S extends `${string}${infer R}` ? R : never;
|
|
4
|
-
type IsUpper<S extends string> = S extends Uppercase<S> ? true : false;
|
|
5
|
-
type IsLower<S extends string> = S extends Lowercase<S> ? true : false;
|
|
6
|
-
type SameLetterCase<X extends string, Y extends string> = IsUpper<X> extends IsUpper<Y> ? true : IsLower<X> extends IsLower<Y> ? true : false;
|
|
7
|
-
type CapitalizedWords<T extends readonly string[], Accumulator extends string = "", Normalize extends boolean | undefined = false> = T extends readonly [infer F extends string, ...infer R extends string[]] ? CapitalizedWords<R, `${Accumulator}${Capitalize<Normalize extends true ? Lowercase<F> : F>}`, Normalize> : Accumulator;
|
|
8
|
-
type JoinLowercaseWords<T extends readonly string[], Joiner extends string, Accumulator extends string = ""> = T extends readonly [infer F extends string, ...infer R extends string[]] ? Accumulator extends "" ? JoinLowercaseWords<R, Joiner, `${Accumulator}${Lowercase<F>}`> : JoinLowercaseWords<R, Joiner, `${Accumulator}${Joiner}${Lowercase<F>}`> : Accumulator;
|
|
9
|
-
type LastOfArray<T extends any[]> = T extends [...any, infer R] ? R : never;
|
|
10
|
-
type RemoveLastOfArray<T extends any[]> = T extends [...infer F, any] ? F : never;
|
|
11
|
-
type CaseOptions = {
|
|
12
|
-
normalize?: boolean;
|
|
13
|
-
};
|
|
14
|
-
type SplitByCase<T, Separator extends string = Splitter, Accumulator extends unknown[] = []> = string extends Separator ? string[] : T extends `${infer F}${infer R}` ? [LastOfArray<Accumulator>] extends [never] ? SplitByCase<R, Separator, [F]> : LastOfArray<Accumulator> extends string ? R extends "" ? SplitByCase<R, Separator, [
|
|
15
|
-
...RemoveLastOfArray<Accumulator>,
|
|
16
|
-
`${LastOfArray<Accumulator>}${F}`
|
|
17
|
-
]> : SameLetterCase<F, FirstOfString<R>> extends true ? F extends Separator ? FirstOfString<R> extends Separator ? SplitByCase<R, Separator, [...Accumulator, ""]> : IsUpper<FirstOfString<R>> extends true ? SplitByCase<RemoveFirstOfString<R>, Separator, [
|
|
18
|
-
...Accumulator,
|
|
19
|
-
FirstOfString<R>
|
|
20
|
-
]> : SplitByCase<R, Separator, [...Accumulator, ""]> : SplitByCase<R, Separator, [
|
|
21
|
-
...RemoveLastOfArray<Accumulator>,
|
|
22
|
-
`${LastOfArray<Accumulator>}${F}`
|
|
23
|
-
]> : IsLower<F> extends true ? SplitByCase<RemoveFirstOfString<R>, Separator, [
|
|
24
|
-
...RemoveLastOfArray<Accumulator>,
|
|
25
|
-
`${LastOfArray<Accumulator>}${F}`,
|
|
26
|
-
FirstOfString<R>
|
|
27
|
-
]> : SplitByCase<R, Separator, [...Accumulator, F]> : never : Accumulator extends [] ? T extends "" ? [] : string[] : Accumulator;
|
|
28
|
-
type JoinByCase<T, Joiner extends string> = string extends T ? string : string[] extends T ? string : T extends string ? SplitByCase<T> extends readonly string[] ? JoinLowercaseWords<SplitByCase<T>, Joiner> : never : T extends readonly string[] ? JoinLowercaseWords<T, Joiner> : never;
|
|
29
|
-
type PascalCase<T, Normalize extends boolean | undefined = false> = string extends T ? string : string[] extends T ? string : T extends string ? SplitByCase<T> extends readonly string[] ? CapitalizedWords<SplitByCase<T>, "", Normalize> : never : T extends readonly string[] ? CapitalizedWords<T, "", Normalize> : never;
|
|
30
|
-
type CamelCase<T, Normalize extends boolean | undefined = false> = string extends T ? string : string[] extends T ? string : Uncapitalize<PascalCase<T, Normalize>>;
|
|
31
|
-
type KebabCase<T extends string | readonly string[], Joiner extends string = "-"> = JoinByCase<T, Joiner>;
|
|
32
|
-
type SnakeCase<T extends string | readonly string[]> = JoinByCase<T, "_">;
|
|
33
|
-
type TrainCase<T, Normalize extends boolean | undefined = false, Joiner extends string = "-"> = string extends T ? string : string[] extends T ? string : T extends string ? SplitByCase<T> extends readonly string[] ? CapitalizedWords<SplitByCase<T>, Joiner> : never : T extends readonly string[] ? CapitalizedWords<T, Joiner, Normalize> : never;
|
|
34
|
-
type FlatCase<T extends string | readonly string[], Joiner extends string = ""> = JoinByCase<T, Joiner>;
|
|
35
|
-
|
|
36
|
-
declare function isUppercase(char?: string): boolean | undefined;
|
|
37
|
-
declare function splitByCase<T extends string>(str: T): SplitByCase<T>;
|
|
38
|
-
declare function splitByCase<T extends string, Separator extends readonly string[]>(str: T, separators: Separator): SplitByCase<T, Separator[number]>;
|
|
39
|
-
declare function upperFirst<S extends string>(str: S): Capitalize<S>;
|
|
40
|
-
declare function lowerFirst<S extends string>(str: S): Uncapitalize<S>;
|
|
41
|
-
declare function pascalCase(): "";
|
|
42
|
-
declare function pascalCase<T extends string | readonly string[], UserCaseOptions extends CaseOptions = CaseOptions>(str: T, opts?: CaseOptions): PascalCase<T, UserCaseOptions["normalize"]>;
|
|
43
|
-
declare function camelCase(): "";
|
|
44
|
-
declare function camelCase<T extends string | readonly string[], UserCaseOptions extends CaseOptions = CaseOptions>(str: T, opts?: UserCaseOptions): CamelCase<T, UserCaseOptions["normalize"]>;
|
|
45
|
-
declare function kebabCase(): "";
|
|
46
|
-
declare function kebabCase<T extends string | readonly string[]>(str: T): KebabCase<T>;
|
|
47
|
-
declare function kebabCase<T extends string | readonly string[], Joiner extends string>(str: T, joiner: Joiner): KebabCase<T, Joiner>;
|
|
48
|
-
declare function snakeCase(): "";
|
|
49
|
-
declare function snakeCase<T extends string | readonly string[]>(str: T): SnakeCase<T>;
|
|
50
|
-
declare function flatCase(): "";
|
|
51
|
-
declare function flatCase<T extends string | readonly string[]>(str: T): FlatCase<T>;
|
|
52
|
-
declare function trainCase(): "";
|
|
53
|
-
declare function trainCase<T extends string | readonly string[], UserCaseOptions extends CaseOptions = CaseOptions>(str: T, opts?: UserCaseOptions): TrainCase<T, UserCaseOptions["normalize"]>;
|
|
54
|
-
declare function titleCase(): "";
|
|
55
|
-
declare function titleCase<T extends string | readonly string[], UserCaseOptions extends CaseOptions = CaseOptions>(str: T, opts?: UserCaseOptions): TrainCase<T, UserCaseOptions["normalize"], " ">;
|
|
56
|
-
|
|
57
|
-
export { type CamelCase, type CaseOptions, type FlatCase, type JoinByCase, type KebabCase, type PascalCase, type SnakeCase, type SplitByCase, type TrainCase, camelCase, flatCase, isUppercase, kebabCase, lowerFirst, pascalCase, snakeCase, splitByCase, titleCase, trainCase, upperFirst };
|