@poveste/vendors 0.1.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/LICENSE +22 -0
- package/dist/client/b-floating-vue.d.ts +3 -0
- package/dist/client/b-floating-vue.js +3377 -0
- package/dist/client/b-iconify.d.ts +1 -0
- package/dist/client/b-iconify.js +1883 -0
- package/dist/client/b-pinia.d.ts +1 -0
- package/dist/client/b-pinia.js +2069 -0
- package/dist/client/b-scroll.d.ts +2 -0
- package/dist/client/b-scroll.js +7 -0
- package/dist/client/b-vue-router.d.ts +1 -0
- package/dist/client/b-vue-router.js +2773 -0
- package/dist/client/b-vue-use.d.ts +1 -0
- package/dist/client/b-vue-use.js +9626 -0
- package/dist/client/b-vue.d.ts +1 -0
- package/dist/client/b-vue.js +1 -0
- package/dist/client/index.js +169 -0
- package/dist/client/node_modules/@babel/helper-string-parser/package.json +31 -0
- package/dist/client/node_modules/@babel/helper-validator-identifier/package.json +31 -0
- package/dist/client/node_modules/@babel/parser/package.json +50 -0
- package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +262 -0
- package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +2796 -0
- package/dist/client/node_modules/@babel/types/lib/index.d.ts +3616 -0
- package/dist/client/node_modules/@babel/types/package.json +39 -0
- package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.mts +535 -0
- package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +535 -0
- package/dist/client/node_modules/@floating-ui/core/package.json +63 -0
- package/dist/client/node_modules/@floating-ui/dom/index.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/package.json +74 -0
- package/dist/client/node_modules/@floating-ui/dom/src/autoUpdate.d.ts +31 -0
- package/dist/client/node_modules/@floating-ui/dom/src/index.d.ts +11 -0
- package/dist/client/node_modules/@floating-ui/dom/src/platform.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/types.d.ts +128 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/convertOffsetParentRelativeRectToViewportRelativeRect.d.ts +6 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getBoundingClientRect.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingRect.d.ts +12 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getComputedStyle.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getCssDimensions.d.ts +4 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDimensions.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentElement.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentRect.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNearestOverflowAncestor.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeName.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeScroll.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getOffsetParent.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getOverflowAncestors.d.ts +3 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getParentNode.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getRectRelativeToOffsetParent.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScale.d.ts +7 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getViewportRect.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getWindowScrollBarX.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/is.d.ts +17 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/math.d.ts +3 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/unwrapElement.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/userAgent.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/window.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.mts +105 -0
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts +105 -0
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.mts +47 -0
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.ts +47 -0
- package/dist/client/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.d.ts +47 -0
- package/dist/client/node_modules/@floating-ui/utils/dom/package.json +6 -0
- package/dist/client/node_modules/@floating-ui/utils/package.json +70 -0
- package/dist/client/node_modules/@iconify/types/package.json +23 -0
- package/dist/client/node_modules/@iconify/types/provider.d.ts +44 -0
- package/dist/client/node_modules/@iconify/types/types.d.ts +272 -0
- package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +475 -0
- package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +114 -0
- package/dist/client/node_modules/@iconify/vue/offline/package.json +14 -0
- package/dist/client/node_modules/@iconify/vue/package.json +65 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +63 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts +50 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +9 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts +16 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +7 -0
- package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +265 -0
- package/dist/client/node_modules/@types/web-bluetooth/package.json +46 -0
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +1100 -0
- package/dist/client/node_modules/@vue/compiler-core/package.json +58 -0
- package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +45 -0
- package/dist/client/node_modules/@vue/compiler-dom/package.json +57 -0
- package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +485 -0
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +67 -0
- package/dist/client/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +4 -0
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/api.d.ts +108 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/app.d.ts +1 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/component.d.ts +78 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/context.d.ts +5 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/hooks.d.ts +180 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/index.d.ts +6 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/util.d.ts +4 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/const.d.ts +2 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/env.d.ts +15 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/index.d.ts +18 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/plugin.d.ts +47 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/proxy.d.ts +20 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/time.d.ts +2 -0
- package/dist/client/node_modules/@vue/devtools-api/package.json +37 -0
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +753 -0
- package/dist/client/node_modules/@vue/reactivity/package.json +55 -0
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +1839 -0
- package/dist/client/node_modules/@vue/runtime-core/package.json +52 -0
- package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +1430 -0
- package/dist/client/node_modules/@vue/runtime-dom/package.json +60 -0
- package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +65 -0
- package/dist/client/node_modules/@vue/server-renderer/package.json +55 -0
- package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +334 -0
- package/dist/client/node_modules/@vue/shared/package.json +47 -0
- package/dist/client/node_modules/@vueuse/core/index.d.mts +6221 -0
- package/dist/client/node_modules/@vueuse/core/index.d.ts +6221 -0
- package/dist/client/node_modules/@vueuse/core/metadata.d.mts +1 -0
- package/dist/client/node_modules/@vueuse/core/metadata.d.ts +1 -0
- package/dist/client/node_modules/@vueuse/core/package.json +57 -0
- package/dist/client/node_modules/@vueuse/metadata/index.d.mts +78 -0
- package/dist/client/node_modules/@vueuse/metadata/index.d.ts +78 -0
- package/dist/client/node_modules/@vueuse/metadata/package.json +46 -0
- package/dist/client/node_modules/@vueuse/shared/index.d.mts +1260 -0
- package/dist/client/node_modules/@vueuse/shared/index.d.ts +1260 -0
- package/dist/client/node_modules/@vueuse/shared/package.json +49 -0
- package/dist/client/node_modules/compute-scroll-into-view/dist/index.d.ts +75 -0
- package/dist/client/node_modules/compute-scroll-into-view/package.json +82 -0
- package/dist/client/node_modules/csstype/index.d.ts +22569 -0
- package/dist/client/node_modules/csstype/package.json +70 -0
- package/dist/client/node_modules/entities/decode.d.ts +3 -0
- package/dist/client/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +19 -0
- package/dist/client/node_modules/entities/dist/commonjs/decode.d.ts +205 -0
- package/dist/client/node_modules/entities/dist/commonjs/encode.d.ts +22 -0
- package/dist/client/node_modules/entities/dist/commonjs/escape.d.ts +46 -0
- package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +3 -0
- package/dist/client/node_modules/entities/dist/commonjs/index.d.ts +96 -0
- package/dist/client/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +17 -0
- package/dist/client/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +32 -0
- package/dist/client/node_modules/entities/dist/commonjs/package.json +3 -0
- package/dist/client/node_modules/entities/dist/esm/decode-codepoint.d.ts +19 -0
- package/dist/client/node_modules/entities/dist/esm/decode.d.ts +205 -0
- package/dist/client/node_modules/entities/dist/esm/encode.d.ts +22 -0
- package/dist/client/node_modules/entities/dist/esm/escape.d.ts +46 -0
- package/dist/client/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/esm/generated/encode-html.d.ts +3 -0
- package/dist/client/node_modules/entities/dist/esm/index.d.ts +96 -0
- package/dist/client/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +17 -0
- package/dist/client/node_modules/entities/dist/esm/internal/decode-shared.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/esm/internal/encode-shared.d.ts +32 -0
- package/dist/client/node_modules/entities/dist/esm/package.json +3 -0
- package/dist/client/node_modules/entities/escape.d.ts +3 -0
- package/dist/client/node_modules/entities/package.json +120 -0
- package/dist/client/node_modules/estree-walker/dist/esm/package.json +1 -0
- package/dist/client/node_modules/estree-walker/package.json +37 -0
- package/dist/client/node_modules/estree-walker/src/package.json +1 -0
- package/dist/client/node_modules/estree-walker/types/async.d.ts +53 -0
- package/dist/client/node_modules/estree-walker/types/index.d.ts +56 -0
- package/dist/client/node_modules/estree-walker/types/sync.d.ts +53 -0
- package/dist/client/node_modules/estree-walker/types/walker.d.ts +37 -0
- package/dist/client/node_modules/floating-vue/dist/components/Dropdown.d.ts +398 -0
- package/dist/client/node_modules/floating-vue/dist/components/Menu.d.ts +398 -0
- package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +495 -0
- package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +474 -0
- package/dist/client/node_modules/floating-vue/dist/components/PopperContent.vue.d.ts +37 -0
- package/dist/client/node_modules/floating-vue/dist/components/PopperMethods.d.ts +9 -0
- package/dist/client/node_modules/floating-vue/dist/components/PopperWrapper.vue.d.ts +414 -0
- package/dist/client/node_modules/floating-vue/dist/components/ThemeClass.d.ts +6 -0
- package/dist/client/node_modules/floating-vue/dist/components/Tooltip.d.ts +398 -0
- package/dist/client/node_modules/floating-vue/dist/components/TooltipDirective.vue.d.ts +67 -0
- package/dist/client/node_modules/floating-vue/dist/config.d.ts +11 -0
- package/dist/client/node_modules/floating-vue/dist/directives/v-close-popper.d.ts +13 -0
- package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.d.ts +27 -0
- package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.spec.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/index.d.ts +2239 -0
- package/dist/client/node_modules/floating-vue/dist/util/assign-deep.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/util/env.d.ts +2 -0
- package/dist/client/node_modules/floating-vue/dist/util/events.d.ts +14 -0
- package/dist/client/node_modules/floating-vue/dist/util/frame.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/util/lang.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/util/popper.d.ts +3 -0
- package/dist/client/node_modules/floating-vue/package.json +80 -0
- package/dist/client/node_modules/magic-string/dist/magic-string.cjs.d.ts +289 -0
- package/dist/client/node_modules/magic-string/dist/magic-string.es.d.mts +289 -0
- package/dist/client/node_modules/magic-string/package.json +67 -0
- package/dist/client/node_modules/nanoid/async/index.d.ts +56 -0
- package/dist/client/node_modules/nanoid/async/package.json +12 -0
- package/dist/client/node_modules/nanoid/index.d.ts +91 -0
- package/dist/client/node_modules/nanoid/non-secure/index.d.ts +33 -0
- package/dist/client/node_modules/nanoid/non-secure/package.json +6 -0
- package/dist/client/node_modules/nanoid/package.json +89 -0
- package/dist/client/node_modules/nanoid/url-alphabet/package.json +6 -0
- package/dist/client/node_modules/picocolors/package.json +25 -0
- package/dist/client/node_modules/picocolors/picocolors.d.ts +5 -0
- package/dist/client/node_modules/picocolors/types.d.ts +51 -0
- package/dist/client/node_modules/pinia/dist/pinia.d.ts +1074 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/index.d.ts +22 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2/index.d.ts +33 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2.7/index.d.ts +38 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v3/index.d.ts +22 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/package.json +47 -0
- package/dist/client/node_modules/pinia/package.json +96 -0
- package/dist/client/node_modules/postcss/lib/at-rule.d.ts +139 -0
- package/dist/client/node_modules/postcss/lib/comment.d.ts +67 -0
- package/dist/client/node_modules/postcss/lib/container.d.ts +478 -0
- package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +247 -0
- package/dist/client/node_modules/postcss/lib/declaration.d.ts +150 -0
- package/dist/client/node_modules/postcss/lib/document.d.ts +68 -0
- package/dist/client/node_modules/postcss/lib/fromJSON.d.ts +9 -0
- package/dist/client/node_modules/postcss/lib/input.d.ts +226 -0
- package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +189 -0
- package/dist/client/node_modules/postcss/lib/list.d.ts +60 -0
- package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +45 -0
- package/dist/client/node_modules/postcss/lib/node.d.ts +555 -0
- package/dist/client/node_modules/postcss/lib/parse.d.ts +9 -0
- package/dist/client/node_modules/postcss/lib/postcss.d.mts +66 -0
- package/dist/client/node_modules/postcss/lib/postcss.d.ts +464 -0
- package/dist/client/node_modules/postcss/lib/previous-map.d.ts +80 -0
- package/dist/client/node_modules/postcss/lib/processor.d.ts +114 -0
- package/dist/client/node_modules/postcss/lib/result.d.ts +204 -0
- package/dist/client/node_modules/postcss/lib/root.d.ts +86 -0
- package/dist/client/node_modules/postcss/lib/rule.d.ts +126 -0
- package/dist/client/node_modules/postcss/lib/stringifier.d.ts +45 -0
- package/dist/client/node_modules/postcss/lib/stringify.d.ts +9 -0
- package/dist/client/node_modules/postcss/lib/warning.d.ts +146 -0
- package/dist/client/node_modules/postcss/package.json +88 -0
- package/dist/client/node_modules/scroll-into-view-if-needed/dist/index.d.ts +79 -0
- package/dist/client/node_modules/scroll-into-view-if-needed/package.json +80 -0
- package/dist/client/node_modules/source-map-js/lib/source-map-consumer.d.ts +1 -0
- package/dist/client/node_modules/source-map-js/lib/source-map-generator.d.ts +1 -0
- package/dist/client/node_modules/source-map-js/lib/source-node.d.ts +1 -0
- package/dist/client/node_modules/source-map-js/package.json +71 -0
- package/dist/client/node_modules/source-map-js/source-map.d.ts +104 -0
- package/dist/client/node_modules/vue/compiler-sfc/index.d.mts +1 -0
- package/dist/client/node_modules/vue/compiler-sfc/index.d.ts +1 -0
- package/dist/client/node_modules/vue/compiler-sfc/package.json +4 -0
- package/dist/client/node_modules/vue/dist/vue.d.mts +7 -0
- package/dist/client/node_modules/vue/dist/vue.d.ts +7 -0
- package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +25 -0
- package/dist/client/node_modules/vue/jsx-runtime/package.json +5 -0
- package/dist/client/node_modules/vue/jsx.d.ts +22 -0
- package/dist/client/node_modules/vue/package.json +112 -0
- package/dist/client/node_modules/vue/server-renderer/index.d.mts +1 -0
- package/dist/client/node_modules/vue/server-renderer/index.d.ts +1 -0
- package/dist/client/node_modules/vue/server-renderer/package.json +4 -0
- package/dist/client/node_modules/vue-resize/package.json +77 -0
- package/dist/client/node_modules/vue-router/dist/experimental/index.d.mts +38 -0
- package/dist/client/node_modules/vue-router/dist/router-CWoNjPRp.d.mts +1973 -0
- package/dist/client/node_modules/vue-router/dist/vue-router.d.mts +361 -0
- package/dist/client/node_modules/vue-router/package.json +153 -0
- package/dist/client/node_modules/vue-router/vue-router-auto-resolver.d.mts +22 -0
- package/dist/client/node_modules/vue-router/vue-router-auto-routes.d.ts +4 -0
- package/dist/client/node_modules/vue-router/vue-router-auto.d.ts +1 -0
- package/dist/client/vue.runtime.esm-bundler.js +13167 -0
- package/entries.js +9 -0
- package/floating-vue.d.ts +4 -0
- package/iconify.d.ts +4 -0
- package/package.json +50 -0
- package/pinia.d.ts +4 -0
- package/rollup.config.mjs +119 -0
- package/scroll.d.ts +4 -0
- package/src/client/b-floating-vue.ts +5 -0
- package/src/client/b-iconify.ts +1 -0
- package/src/client/b-pinia.ts +1 -0
- package/src/client/b-scroll.ts +4 -0
- package/src/client/b-vue-router.ts +1 -0
- package/src/client/b-vue-use.ts +1 -0
- package/src/client/b-vue.ts +1 -0
- package/tsconfig.json +34 -0
- package/vue-router.d.ts +4 -0
- package/vue-use.d.ts +4 -0
- package/vue.d.ts +4 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as Vue from 'vue'
|
|
2
|
+
declare const isVue2: boolean
|
|
3
|
+
declare const isVue3: boolean
|
|
4
|
+
declare const Vue2: any
|
|
5
|
+
declare const install: (vue?: any) => void
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
|
|
8
|
+
* Refer to https://github.com/vueuse/vue-demi/issues/41
|
|
9
|
+
*/
|
|
10
|
+
declare const V: typeof Vue
|
|
11
|
+
|
|
12
|
+
export function set<T>(target: any, key: any, val: T): T
|
|
13
|
+
export function del(target: any, key: any): void
|
|
14
|
+
|
|
15
|
+
export * from 'vue'
|
|
16
|
+
export {
|
|
17
|
+
V as Vue,
|
|
18
|
+
Vue2,
|
|
19
|
+
isVue2,
|
|
20
|
+
isVue3,
|
|
21
|
+
install,
|
|
22
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import type { PluginFunction, PluginObject } from 'vue'
|
|
3
|
+
declare const isVue2: boolean
|
|
4
|
+
declare const isVue3: boolean
|
|
5
|
+
declare const Vue2: typeof Vue | undefined
|
|
6
|
+
declare const version: string
|
|
7
|
+
declare const install: (vue?: typeof Vue) => void
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
|
|
10
|
+
* Refer to https://github.com/vueuse/vue-demi/issues/41
|
|
11
|
+
*/
|
|
12
|
+
declare const V: typeof Vue
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* DebuggerEvent is a Vue 3 development only feature. This type cannot exist in Vue 2.
|
|
16
|
+
*/
|
|
17
|
+
export declare type DebuggerEvent = never
|
|
18
|
+
|
|
19
|
+
// accept no generic because Vue 3 doesn't accept any
|
|
20
|
+
// https://github.com/vuejs/vue-next/pull/2758/
|
|
21
|
+
export declare type Plugin = PluginObject<any> | PluginFunction<any>
|
|
22
|
+
export type { VNode } from 'vue'
|
|
23
|
+
export * from '@vue/composition-api'
|
|
24
|
+
export {
|
|
25
|
+
V as Vue,
|
|
26
|
+
Vue2,
|
|
27
|
+
isVue2,
|
|
28
|
+
isVue3,
|
|
29
|
+
version,
|
|
30
|
+
install,
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export declare function hasInjectionContext(): boolean
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import type { PluginFunction, PluginObject, VueConstructor, Directive, InjectionKey, Component } from 'vue'
|
|
3
|
+
|
|
4
|
+
declare const isVue2: boolean
|
|
5
|
+
declare const isVue3: boolean
|
|
6
|
+
declare const Vue2: typeof Vue | undefined
|
|
7
|
+
declare const version: string
|
|
8
|
+
declare const install: (vue?: typeof Vue) => void
|
|
9
|
+
export declare function warn(msg: string, vm?: Component | null): void
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
|
|
12
|
+
* Refer to https://github.com/vueuse/vue-demi/issues/41
|
|
13
|
+
*/
|
|
14
|
+
declare const V: typeof Vue
|
|
15
|
+
|
|
16
|
+
// accept no generic because Vue 3 doesn't accept any
|
|
17
|
+
// https://github.com/vuejs/vue-next/pull/2758/
|
|
18
|
+
export declare type Plugin = PluginObject<any> | PluginFunction<any>
|
|
19
|
+
export type { VNode } from 'vue'
|
|
20
|
+
export * from 'vue'
|
|
21
|
+
export { V as Vue, Vue2, isVue2, isVue3, version, install }
|
|
22
|
+
|
|
23
|
+
// #region createApp polyfill
|
|
24
|
+
export interface App<T = any> {
|
|
25
|
+
config: VueConstructor['config']
|
|
26
|
+
use: VueConstructor['use']
|
|
27
|
+
mixin: VueConstructor['mixin']
|
|
28
|
+
component: VueConstructor['component']
|
|
29
|
+
directive(name: string): Directive | undefined
|
|
30
|
+
directive(name: string, directive: Directive): this
|
|
31
|
+
provide<T>(key: InjectionKey<T> | string, value: T): this
|
|
32
|
+
mount: Vue['$mount']
|
|
33
|
+
unmount: Vue['$destroy']
|
|
34
|
+
}
|
|
35
|
+
export declare function createApp(rootComponent: any, rootProps?: any): App
|
|
36
|
+
// #endregion
|
|
37
|
+
|
|
38
|
+
export declare function hasInjectionContext(): boolean
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as Vue from 'vue'
|
|
2
|
+
declare const isVue2: boolean
|
|
3
|
+
declare const isVue3: boolean
|
|
4
|
+
declare const Vue2: any
|
|
5
|
+
declare const install: (vue?: any) => void
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
|
|
8
|
+
* Refer to https://github.com/vueuse/vue-demi/issues/41
|
|
9
|
+
*/
|
|
10
|
+
declare const V: typeof Vue
|
|
11
|
+
|
|
12
|
+
export function set<T>(target: any, key: any, val: T): T
|
|
13
|
+
export function del(target: any, key: any): void
|
|
14
|
+
|
|
15
|
+
export * from 'vue'
|
|
16
|
+
export {
|
|
17
|
+
V as Vue,
|
|
18
|
+
Vue2,
|
|
19
|
+
isVue2,
|
|
20
|
+
isVue3,
|
|
21
|
+
install,
|
|
22
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "vue-demi",
|
|
3
|
+
"version": "0.14.10",
|
|
4
|
+
"engines": {
|
|
5
|
+
"node": ">=12"
|
|
6
|
+
},
|
|
7
|
+
"repository": "https://github.com/antfu/vue-demi.git",
|
|
8
|
+
"funding": "https://github.com/sponsors/antfu",
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
11
|
+
"main": "lib/index.cjs",
|
|
12
|
+
"jsdelivr": "lib/index.iife.js",
|
|
13
|
+
"unpkg": "lib/index.iife.js",
|
|
14
|
+
"module": "lib/index.mjs",
|
|
15
|
+
"types": "lib/index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./lib/index.d.ts",
|
|
19
|
+
"require": "./lib/index.cjs",
|
|
20
|
+
"import": "./lib/index.mjs",
|
|
21
|
+
"browser": "./lib/index.mjs"
|
|
22
|
+
},
|
|
23
|
+
"./*": "./*"
|
|
24
|
+
},
|
|
25
|
+
"bin": {
|
|
26
|
+
"vue-demi-fix": "bin/vue-demi-fix.js",
|
|
27
|
+
"vue-demi-switch": "bin/vue-demi-switch.js"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"lib",
|
|
31
|
+
"bin",
|
|
32
|
+
"scripts"
|
|
33
|
+
],
|
|
34
|
+
"scripts": {
|
|
35
|
+
"postinstall": "node -e \"try{require('./scripts/postinstall.js')}catch(e){}\"",
|
|
36
|
+
"release": "npx bumpp --tag --commit --push && npm publish"
|
|
37
|
+
},
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"@vue/composition-api": "^1.0.0-rc.1",
|
|
40
|
+
"vue": "^3.0.0-0 || ^2.6.0"
|
|
41
|
+
},
|
|
42
|
+
"peerDependenciesMeta": {
|
|
43
|
+
"@vue/composition-api": {
|
|
44
|
+
"optional": true
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pinia",
|
|
3
|
+
"version": "2.3.1",
|
|
4
|
+
"description": "Intuitive, type safe and flexible Store for Vue",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"module": "dist/pinia.mjs",
|
|
7
|
+
"unpkg": "dist/pinia.iife.js",
|
|
8
|
+
"jsdelivr": "dist/pinia.iife.js",
|
|
9
|
+
"types": "dist/pinia.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/pinia.d.ts",
|
|
13
|
+
"node": {
|
|
14
|
+
"import": {
|
|
15
|
+
"production": "./dist/pinia.prod.cjs",
|
|
16
|
+
"development": "./dist/pinia.mjs",
|
|
17
|
+
"default": "./dist/pinia.mjs"
|
|
18
|
+
},
|
|
19
|
+
"require": {
|
|
20
|
+
"production": "./dist/pinia.prod.cjs",
|
|
21
|
+
"development": "./dist/pinia.cjs",
|
|
22
|
+
"default": "./index.js"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"import": "./dist/pinia.mjs",
|
|
26
|
+
"require": "./index.js"
|
|
27
|
+
},
|
|
28
|
+
"./package.json": "./package.json",
|
|
29
|
+
"./dist/*": "./dist/*"
|
|
30
|
+
},
|
|
31
|
+
"sideEffects": false,
|
|
32
|
+
"author": {
|
|
33
|
+
"name": "Eduardo San Martin Morote",
|
|
34
|
+
"email": "posva13@gmail.com"
|
|
35
|
+
},
|
|
36
|
+
"funding": "https://github.com/sponsors/posva",
|
|
37
|
+
"files": [
|
|
38
|
+
"dist/*.js",
|
|
39
|
+
"dist/*.mjs",
|
|
40
|
+
"dist/*.cjs",
|
|
41
|
+
"dist/pinia.d.ts",
|
|
42
|
+
"index.js",
|
|
43
|
+
"index.cjs",
|
|
44
|
+
"LICENSE",
|
|
45
|
+
"README.md"
|
|
46
|
+
],
|
|
47
|
+
"keywords": [
|
|
48
|
+
"vue",
|
|
49
|
+
"vuex",
|
|
50
|
+
"store",
|
|
51
|
+
"pinia",
|
|
52
|
+
"piña",
|
|
53
|
+
"pigna",
|
|
54
|
+
"composition",
|
|
55
|
+
"api",
|
|
56
|
+
"setup",
|
|
57
|
+
"typed",
|
|
58
|
+
"typescript",
|
|
59
|
+
"ts",
|
|
60
|
+
"type",
|
|
61
|
+
"safe"
|
|
62
|
+
],
|
|
63
|
+
"license": "MIT",
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@microsoft/api-extractor": "7.48.0",
|
|
66
|
+
"@vue/test-utils": "^2.4.6"
|
|
67
|
+
},
|
|
68
|
+
"dependencies": {
|
|
69
|
+
"@vue/devtools-api": "^6.6.3",
|
|
70
|
+
"vue-demi": "^0.14.10"
|
|
71
|
+
},
|
|
72
|
+
"peerDependencies": {
|
|
73
|
+
"typescript": ">=4.4.4",
|
|
74
|
+
"vue": "^2.7.0 || ^3.5.11"
|
|
75
|
+
},
|
|
76
|
+
"peerDependenciesMeta": {
|
|
77
|
+
"typescript": {
|
|
78
|
+
"optional": true
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"repository": {
|
|
82
|
+
"type": "git",
|
|
83
|
+
"url": "git+https://github.com/vuejs/pinia.git"
|
|
84
|
+
},
|
|
85
|
+
"bugs": {
|
|
86
|
+
"url": "https://github.com/vuejs/pinia/issues"
|
|
87
|
+
},
|
|
88
|
+
"homepage": "https://github.com/vuejs/pinia#readme",
|
|
89
|
+
"scripts": {
|
|
90
|
+
"build": "rimraf dist && rollup -c ../../rollup.config.mjs --environment TARGET:pinia",
|
|
91
|
+
"build:dts": "api-extractor run --local --verbose && tail -n +3 ./src/globalExtensions.ts >> dist/pinia.d.ts",
|
|
92
|
+
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l pinia -r 1",
|
|
93
|
+
"test:dts": "tsc -p ./test-dts/tsconfig.json",
|
|
94
|
+
"test": "pnpm run build && pnpm run build:dts && pnpm test:dts"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import Container, {
|
|
2
|
+
ContainerProps,
|
|
3
|
+
ContainerWithChildren
|
|
4
|
+
} from './container.js'
|
|
5
|
+
|
|
6
|
+
declare namespace AtRule {
|
|
7
|
+
export interface AtRuleRaws extends Record<string, unknown> {
|
|
8
|
+
/**
|
|
9
|
+
* The space symbols after the last child of the node to the end of the node.
|
|
10
|
+
*/
|
|
11
|
+
after?: string
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The space between the at-rule name and its parameters.
|
|
15
|
+
*/
|
|
16
|
+
afterName?: string
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The space symbols before the node. It also stores `*`
|
|
20
|
+
* and `_` symbols before the declaration (IE hack).
|
|
21
|
+
*/
|
|
22
|
+
before?: string
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* The symbols between the last parameter and `{` for rules.
|
|
26
|
+
*/
|
|
27
|
+
between?: string
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* The rule’s selector with comments.
|
|
31
|
+
*/
|
|
32
|
+
params?: {
|
|
33
|
+
raw: string
|
|
34
|
+
value: string
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Contains `true` if the last child has an (optional) semicolon.
|
|
39
|
+
*/
|
|
40
|
+
semicolon?: boolean
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export interface AtRuleProps extends ContainerProps {
|
|
44
|
+
/** Name of the at-rule. */
|
|
45
|
+
name: string
|
|
46
|
+
/** Parameters following the name of the at-rule. */
|
|
47
|
+
params?: number | string
|
|
48
|
+
/** Information used to generate byte-to-byte equal node string as it was in the origin input. */
|
|
49
|
+
raws?: AtRuleRaws
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export { AtRule_ as default }
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Represents an at-rule.
|
|
57
|
+
*
|
|
58
|
+
* ```js
|
|
59
|
+
* Once (root, { AtRule }) {
|
|
60
|
+
* let media = new AtRule({ name: 'media', params: 'print' })
|
|
61
|
+
* media.append(…)
|
|
62
|
+
* root.append(media)
|
|
63
|
+
* }
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* If it’s followed in the CSS by a `{}` block, this node will have
|
|
67
|
+
* a nodes property representing its children.
|
|
68
|
+
*
|
|
69
|
+
* ```js
|
|
70
|
+
* const root = postcss.parse('@charset "UTF-8"; @media print {}')
|
|
71
|
+
*
|
|
72
|
+
* const charset = root.first
|
|
73
|
+
* charset.type //=> 'atrule'
|
|
74
|
+
* charset.nodes //=> undefined
|
|
75
|
+
*
|
|
76
|
+
* const media = root.last
|
|
77
|
+
* media.nodes //=> []
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
declare class AtRule_ extends Container {
|
|
81
|
+
/**
|
|
82
|
+
* An array containing the layer’s children.
|
|
83
|
+
*
|
|
84
|
+
* ```js
|
|
85
|
+
* const root = postcss.parse('@layer example { a { color: black } }')
|
|
86
|
+
* const layer = root.first
|
|
87
|
+
* layer.nodes.length //=> 1
|
|
88
|
+
* layer.nodes[0].selector //=> 'a'
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* Can be `undefinded` if the at-rule has no body.
|
|
92
|
+
*
|
|
93
|
+
* ```js
|
|
94
|
+
* const root = postcss.parse('@layer a, b, c;')
|
|
95
|
+
* const layer = root.first
|
|
96
|
+
* layer.nodes //=> undefined
|
|
97
|
+
* ```
|
|
98
|
+
*/
|
|
99
|
+
nodes: Container['nodes'] | undefined
|
|
100
|
+
parent: ContainerWithChildren | undefined
|
|
101
|
+
|
|
102
|
+
raws: AtRule.AtRuleRaws
|
|
103
|
+
type: 'atrule'
|
|
104
|
+
/**
|
|
105
|
+
* The at-rule’s name immediately follows the `@`.
|
|
106
|
+
*
|
|
107
|
+
* ```js
|
|
108
|
+
* const root = postcss.parse('@media print {}')
|
|
109
|
+
* const media = root.first
|
|
110
|
+
* media.name //=> 'media'
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
get name(): string
|
|
114
|
+
set name(value: string)
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* The at-rule’s parameters, the values that follow the at-rule’s name
|
|
118
|
+
* but precede any `{}` block.
|
|
119
|
+
*
|
|
120
|
+
* ```js
|
|
121
|
+
* const root = postcss.parse('@media print, screen {}')
|
|
122
|
+
* const media = root.first
|
|
123
|
+
* media.params //=> 'print, screen'
|
|
124
|
+
* ```
|
|
125
|
+
*/
|
|
126
|
+
get params(): string
|
|
127
|
+
|
|
128
|
+
set params(value: string)
|
|
129
|
+
|
|
130
|
+
constructor(defaults?: AtRule.AtRuleProps)
|
|
131
|
+
assign(overrides: AtRule.AtRuleProps | object): this
|
|
132
|
+
clone(overrides?: Partial<AtRule.AtRuleProps>): this
|
|
133
|
+
cloneAfter(overrides?: Partial<AtRule.AtRuleProps>): this
|
|
134
|
+
cloneBefore(overrides?: Partial<AtRule.AtRuleProps>): this
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
declare class AtRule extends AtRule_ {}
|
|
138
|
+
|
|
139
|
+
export = AtRule
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import Container from './container.js'
|
|
2
|
+
import Node, { NodeProps } from './node.js'
|
|
3
|
+
|
|
4
|
+
declare namespace Comment {
|
|
5
|
+
export interface CommentRaws extends Record<string, unknown> {
|
|
6
|
+
/**
|
|
7
|
+
* The space symbols before the node.
|
|
8
|
+
*/
|
|
9
|
+
before?: string
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* The space symbols between `/*` and the comment’s text.
|
|
13
|
+
*/
|
|
14
|
+
left?: string
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The space symbols between the comment’s text.
|
|
18
|
+
*/
|
|
19
|
+
right?: string
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface CommentProps extends NodeProps {
|
|
23
|
+
/** Information used to generate byte-to-byte equal node string as it was in the origin input. */
|
|
24
|
+
raws?: CommentRaws
|
|
25
|
+
/** Content of the comment. */
|
|
26
|
+
text: string
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { Comment_ as default }
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* It represents a class that handles
|
|
34
|
+
* [CSS comments](https://developer.mozilla.org/en-US/docs/Web/CSS/Comments)
|
|
35
|
+
*
|
|
36
|
+
* ```js
|
|
37
|
+
* Once (root, { Comment }) {
|
|
38
|
+
* const note = new Comment({ text: 'Note: …' })
|
|
39
|
+
* root.append(note)
|
|
40
|
+
* }
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* Remember that CSS comments inside selectors, at-rule parameters,
|
|
44
|
+
* or declaration values will be stored in the `raws` properties
|
|
45
|
+
* explained above.
|
|
46
|
+
*/
|
|
47
|
+
declare class Comment_ extends Node {
|
|
48
|
+
parent: Container | undefined
|
|
49
|
+
raws: Comment.CommentRaws
|
|
50
|
+
type: 'comment'
|
|
51
|
+
/**
|
|
52
|
+
* The comment's text.
|
|
53
|
+
*/
|
|
54
|
+
get text(): string
|
|
55
|
+
|
|
56
|
+
set text(value: string)
|
|
57
|
+
|
|
58
|
+
constructor(defaults?: Comment.CommentProps)
|
|
59
|
+
assign(overrides: Comment.CommentProps | object): this
|
|
60
|
+
clone(overrides?: Partial<Comment.CommentProps>): this
|
|
61
|
+
cloneAfter(overrides?: Partial<Comment.CommentProps>): this
|
|
62
|
+
cloneBefore(overrides?: Partial<Comment.CommentProps>): this
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
declare class Comment extends Comment_ {}
|
|
66
|
+
|
|
67
|
+
export = Comment
|