@histoire/vendors 1.0.0-alpha.5 → 1.0.0-beta.2
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/build/floating-ui-frames.mjs +28 -0
- package/dist/client/b-floating-vue.js +35 -22
- package/dist/client/b-vue-router.js +2615 -3624
- package/dist/client/b-vue-use.js +87 -77
- package/dist/client/b-vue.js +1 -1
- package/dist/client/node_modules/@babel/helper-string-parser/package.json +1 -1
- package/dist/client/node_modules/@babel/helper-validator-identifier/package.json +1 -1
- package/dist/client/node_modules/@babel/parser/package.json +7 -7
- package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +24 -26
- package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +183 -183
- package/dist/client/node_modules/@babel/types/lib/index.d.ts +203 -208
- package/dist/client/node_modules/@babel/types/package.json +6 -6
- 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 +75 -68
- package/dist/client/node_modules/@floating-ui/core/package.json +3 -3
- 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 +5 -3
- 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/package.json +2 -2
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +2 -1
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.mts +5 -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 +11 -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 +9 -0
- package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +93 -21
- package/dist/client/node_modules/@types/web-bluetooth/package.json +9 -3
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +20 -11
- package/dist/client/node_modules/@vue/compiler-core/package.json +6 -6
- package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +12 -12
- package/dist/client/node_modules/@vue/compiler-dom/package.json +3 -3
- package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +3 -2
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +14 -14
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +24 -25
- package/dist/client/node_modules/@vue/reactivity/package.json +2 -2
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +48 -41
- package/dist/client/node_modules/@vue/runtime-core/package.json +3 -3
- package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +680 -645
- package/dist/client/node_modules/@vue/runtime-dom/package.json +5 -5
- package/dist/client/node_modules/@vue/server-renderer/package.json +4 -4
- package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +7 -1
- package/dist/client/node_modules/@vue/shared/package.json +1 -1
- package/dist/client/node_modules/@vueuse/core/index.d.mts +6221 -0
- package/dist/client/node_modules/@vueuse/core/index.d.ts +131 -103
- package/dist/client/node_modules/@vueuse/core/metadata.d.mts +1 -0
- package/dist/client/node_modules/@vueuse/core/package.json +4 -4
- package/dist/client/node_modules/@vueuse/metadata/index.d.mts +78 -0
- package/dist/client/node_modules/@vueuse/metadata/package.json +1 -1
- package/dist/client/node_modules/@vueuse/shared/index.d.mts +1260 -0
- package/dist/client/node_modules/@vueuse/shared/index.d.ts +30 -13
- package/dist/client/node_modules/@vueuse/shared/package.json +1 -1
- package/dist/client/node_modules/csstype/index.d.ts +2326 -782
- package/dist/client/node_modules/csstype/package.json +26 -26
- package/dist/client/node_modules/entities/decode.d.ts +3 -0
- package/dist/client/node_modules/entities/{lib/esm/decode_codepoint.d.ts → dist/commonjs/decode-codepoint.d.ts} +2 -2
- package/dist/client/node_modules/entities/{lib → dist/commonjs}/decode.d.ts +20 -26
- package/dist/client/node_modules/entities/{lib/esm → dist/commonjs}/encode.d.ts +2 -2
- package/dist/client/node_modules/entities/{lib/esm → dist/commonjs}/escape.d.ts +9 -6
- 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/{lib/esm → dist/commonjs}/index.d.ts +9 -9
- 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/{lib/decode_codepoint.d.ts → dist/esm/decode-codepoint.d.ts} +2 -2
- package/dist/client/node_modules/entities/{lib → dist}/esm/decode.d.ts +20 -26
- package/dist/client/node_modules/entities/{lib → dist/esm}/encode.d.ts +2 -2
- package/dist/client/node_modules/entities/{lib → dist/esm}/escape.d.ts +9 -6
- 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/{lib → dist/esm}/index.d.ts +9 -9
- 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 +99 -69
- package/dist/client/node_modules/magic-string/dist/magic-string.es.d.mts +289 -0
- package/dist/client/node_modules/nanoid/package.json +3 -3
- package/dist/client/node_modules/postcss/lib/at-rule.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/comment.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/container.d.ts +17 -26
- package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/declaration.d.ts +4 -5
- package/dist/client/node_modules/postcss/lib/document.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/fromJSON.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/input.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +3 -4
- package/dist/client/node_modules/postcss/lib/list.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/node.d.ts +2 -3
- package/dist/client/node_modules/postcss/lib/parse.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/postcss.d.mts +66 -0
- package/dist/client/node_modules/postcss/lib/postcss.d.ts +10 -4
- package/dist/client/node_modules/postcss/lib/previous-map.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/processor.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/result.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/root.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/rule.d.ts +12 -12
- package/dist/client/node_modules/postcss/lib/stringifier.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/stringify.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/warning.d.ts +0 -1
- package/dist/client/node_modules/postcss/package.json +45 -45
- package/dist/client/node_modules/source-map-js/package.json +14 -7
- package/dist/client/node_modules/source-map-js/source-map.d.ts +177 -63
- package/dist/client/node_modules/vue/compiler-sfc/index.d.mts +1 -0
- package/dist/client/node_modules/vue/dist/vue.d.mts +7 -0
- package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +2 -2
- package/dist/client/node_modules/vue/jsx.d.ts +1 -1
- package/dist/client/node_modules/vue/package.json +6 -6
- package/dist/client/node_modules/vue/server-renderer/index.d.mts +1 -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 +43 -39
- 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.d.ts +1 -4
- package/dist/client/vue.runtime.esm-bundler.js +2987 -2699
- package/package.json +4 -3
- package/rollup.config.mjs +12 -2
- package/tsconfig.json +3 -1
- package/dist/client/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +0 -3
- package/dist/client/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +0 -3
- package/dist/client/node_modules/entities/lib/esm/generated/encode-html.d.ts +0 -8
- package/dist/client/node_modules/entities/lib/esm/package.json +0 -1
- package/dist/client/node_modules/entities/lib/generated/decode-data-html.d.ts +0 -3
- package/dist/client/node_modules/entities/lib/generated/decode-data-xml.d.ts +0 -3
- package/dist/client/node_modules/entities/lib/generated/encode-html.d.ts +0 -8
- package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +0 -1836
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/index.d.ts +0 -0
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/v2/index.d.ts +0 -0
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/v2.7/index.d.ts +0 -0
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/v3/index.d.ts +0 -0
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/package.json +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { decodeOriginalScopes, encodeOriginalScopes, decodeGeneratedRanges, encodeGeneratedRanges, } from './scopes.mts';
|
|
2
|
+
export type { OriginalScope, GeneratedRange, CallSite, BindingExpressionRange } from './scopes.mts';
|
|
3
|
+
export { decodeRangeMappings, encodeRangeMappings } from './range-mappings.mts';
|
|
4
|
+
export type { MappingIndex, RangeMappings } from './range-mappings.mts';
|
|
5
|
+
export type SourceMapSegment = [number] | [number, number, number, number] | [number, number, number, number, number];
|
|
6
|
+
export type SourceMapLine = SourceMapSegment[];
|
|
7
|
+
export type SourceMapMappings = SourceMapLine[];
|
|
8
|
+
export declare function decode(mappings: string): SourceMapMappings;
|
|
9
|
+
export declare function encode(decoded: SourceMapMappings): string;
|
|
10
|
+
export declare function encode(decoded: Readonly<SourceMapMappings>): string;
|
|
11
|
+
//# sourceMappingURL=sourcemap-codec.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class StringWriter {
|
|
2
|
+
pos: number;
|
|
3
|
+
private out;
|
|
4
|
+
private buffer;
|
|
5
|
+
write(v: number): void;
|
|
6
|
+
flush(): string;
|
|
7
|
+
}
|
|
8
|
+
export declare class StringReader {
|
|
9
|
+
pos: number;
|
|
10
|
+
private buffer;
|
|
11
|
+
constructor(buffer: string);
|
|
12
|
+
next(): number;
|
|
13
|
+
peek(): number;
|
|
14
|
+
indexOf(char: string): number;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=strings.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { StringReader, StringWriter } from './strings.mts';
|
|
2
|
+
export declare const comma: number;
|
|
3
|
+
export declare const semicolon: number;
|
|
4
|
+
export declare function decodeInteger(reader: StringReader): number;
|
|
5
|
+
export declare function decodeSign(num: number): number;
|
|
6
|
+
export declare function encodeInteger(builder: StringWriter, num: number): void;
|
|
7
|
+
export declare function encodeSign(num: number): number;
|
|
8
|
+
export declare function hasMoreVlq(reader: StringReader, max: number): boolean;
|
|
9
|
+
//# sourceMappingURL=vlq.d.ts.map
|
|
@@ -82,6 +82,10 @@ interface CharacteristicEventHandlers {
|
|
|
82
82
|
oncharacteristicvaluechanged: (this: this, ev: Event) => any;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
+
interface BluetoothRemoteGATTCharacteristicEventMap {
|
|
86
|
+
"characteristicvaluechanged": Event;
|
|
87
|
+
}
|
|
88
|
+
|
|
85
89
|
interface BluetoothRemoteGATTCharacteristic extends EventTarget, CharacteristicEventHandlers {
|
|
86
90
|
readonly service: BluetoothRemoteGATTService;
|
|
87
91
|
readonly uuid: string;
|
|
@@ -95,12 +99,26 @@ interface BluetoothRemoteGATTCharacteristic extends EventTarget, CharacteristicE
|
|
|
95
99
|
writeValueWithoutResponse(value: BufferSource): Promise<void>;
|
|
96
100
|
startNotifications(): Promise<BluetoothRemoteGATTCharacteristic>;
|
|
97
101
|
stopNotifications(): Promise<BluetoothRemoteGATTCharacteristic>;
|
|
102
|
+
addEventListener<K extends keyof BluetoothRemoteGATTCharacteristicEventMap>(
|
|
103
|
+
type: K,
|
|
104
|
+
listener: (this: BluetoothRemoteGATTCharacteristic, ev: BluetoothRemoteGATTCharacteristicEventMap[K]) => any,
|
|
105
|
+
options?: boolean | AddEventListenerOptions,
|
|
106
|
+
): void;
|
|
98
107
|
addEventListener(
|
|
99
|
-
type:
|
|
100
|
-
listener:
|
|
101
|
-
|
|
108
|
+
type: string,
|
|
109
|
+
listener: EventListenerOrEventListenerObject,
|
|
110
|
+
options?: boolean | AddEventListenerOptions,
|
|
111
|
+
): void;
|
|
112
|
+
removeEventListener<K extends keyof BluetoothRemoteGATTCharacteristicEventMap>(
|
|
113
|
+
type: K,
|
|
114
|
+
listener: (this: BluetoothRemoteGATTCharacteristic, ev: BluetoothRemoteGATTCharacteristicEventMap[K]) => any,
|
|
115
|
+
options?: boolean | EventListenerOptions,
|
|
116
|
+
): void;
|
|
117
|
+
removeEventListener(
|
|
118
|
+
type: string,
|
|
119
|
+
listener: EventListenerOrEventListenerObject,
|
|
120
|
+
options?: boolean | EventListenerOptions,
|
|
102
121
|
): void;
|
|
103
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
|
|
104
122
|
}
|
|
105
123
|
|
|
106
124
|
interface ServiceEventHandlers {
|
|
@@ -109,6 +127,12 @@ interface ServiceEventHandlers {
|
|
|
109
127
|
onserviceremoved: (this: this, ev: Event) => any;
|
|
110
128
|
}
|
|
111
129
|
|
|
130
|
+
interface BluetoothRemoteGATTServiceEventMap {
|
|
131
|
+
"serviceadded": Event;
|
|
132
|
+
"servicechanged": Event;
|
|
133
|
+
"serviceremoved": Event;
|
|
134
|
+
}
|
|
135
|
+
|
|
112
136
|
interface BluetoothRemoteGATTService extends EventTarget, CharacteristicEventHandlers, ServiceEventHandlers {
|
|
113
137
|
readonly device: BluetoothDevice;
|
|
114
138
|
readonly uuid: string;
|
|
@@ -117,10 +141,26 @@ interface BluetoothRemoteGATTService extends EventTarget, CharacteristicEventHan
|
|
|
117
141
|
getCharacteristics(characteristic?: BluetoothCharacteristicUUID): Promise<BluetoothRemoteGATTCharacteristic[]>;
|
|
118
142
|
getIncludedService(service: BluetoothServiceUUID): Promise<BluetoothRemoteGATTService>;
|
|
119
143
|
getIncludedServices(service?: BluetoothServiceUUID): Promise<BluetoothRemoteGATTService[]>;
|
|
120
|
-
addEventListener
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
144
|
+
addEventListener<K extends keyof BluetoothRemoteGATTServiceEventMap>(
|
|
145
|
+
type: K,
|
|
146
|
+
listener: (this: BluetoothRemoteGATTService, ev: BluetoothRemoteGATTServiceEventMap[K]) => any,
|
|
147
|
+
options?: boolean | AddEventListenerOptions,
|
|
148
|
+
): void;
|
|
149
|
+
addEventListener(
|
|
150
|
+
type: string,
|
|
151
|
+
listener: EventListenerOrEventListenerObject,
|
|
152
|
+
options?: boolean | AddEventListenerOptions,
|
|
153
|
+
): void;
|
|
154
|
+
removeEventListener<K extends keyof BluetoothRemoteGATTServiceEventMap>(
|
|
155
|
+
type: K,
|
|
156
|
+
listener: (this: BluetoothRemoteGATTService, ev: BluetoothRemoteGATTServiceEventMap[K]) => any,
|
|
157
|
+
options?: boolean | EventListenerOptions,
|
|
158
|
+
): void;
|
|
159
|
+
removeEventListener(
|
|
160
|
+
type: string,
|
|
161
|
+
listener: EventListenerOrEventListenerObject,
|
|
162
|
+
options?: boolean | EventListenerOptions,
|
|
163
|
+
): void;
|
|
124
164
|
}
|
|
125
165
|
|
|
126
166
|
interface BluetoothRemoteGATTServer {
|
|
@@ -141,6 +181,11 @@ interface WatchAdvertisementsOptions {
|
|
|
141
181
|
signal?: AbortSignal;
|
|
142
182
|
}
|
|
143
183
|
|
|
184
|
+
interface BluetoothDeviceEventMap {
|
|
185
|
+
"advertisementreceived": BluetoothAdvertisingEvent;
|
|
186
|
+
"gattserverdisconnected": Event;
|
|
187
|
+
}
|
|
188
|
+
|
|
144
189
|
interface BluetoothDevice
|
|
145
190
|
extends EventTarget, BluetoothDeviceEventHandlers, CharacteristicEventHandlers, ServiceEventHandlers
|
|
146
191
|
{
|
|
@@ -150,17 +195,31 @@ interface BluetoothDevice
|
|
|
150
195
|
forget(): Promise<void>;
|
|
151
196
|
watchAdvertisements(options?: WatchAdvertisementsOptions): Promise<void>;
|
|
152
197
|
readonly watchingAdvertisements: boolean;
|
|
153
|
-
addEventListener(
|
|
154
|
-
type:
|
|
155
|
-
listener: (this:
|
|
156
|
-
|
|
198
|
+
addEventListener<K extends keyof BluetoothDeviceEventMap>(
|
|
199
|
+
type: K,
|
|
200
|
+
listener: (this: BluetoothDevice, ev: BluetoothDeviceEventMap[K]) => any,
|
|
201
|
+
options?: boolean | AddEventListenerOptions,
|
|
157
202
|
): void;
|
|
158
203
|
addEventListener(
|
|
159
|
-
type:
|
|
160
|
-
listener:
|
|
161
|
-
|
|
204
|
+
type: string,
|
|
205
|
+
listener: EventListenerOrEventListenerObject,
|
|
206
|
+
options?: boolean | AddEventListenerOptions,
|
|
207
|
+
): void;
|
|
208
|
+
removeEventListener<K extends keyof BluetoothDeviceEventMap>(
|
|
209
|
+
type: K,
|
|
210
|
+
listener: (this: BluetoothDevice, ev: BluetoothDeviceEventMap[K]) => any,
|
|
211
|
+
options?: boolean | EventListenerOptions,
|
|
212
|
+
): void;
|
|
213
|
+
removeEventListener(
|
|
214
|
+
type: string,
|
|
215
|
+
listener: EventListenerOrEventListenerObject,
|
|
216
|
+
options?: boolean | EventListenerOptions,
|
|
162
217
|
): void;
|
|
163
|
-
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
interface BluetoothEventMap {
|
|
221
|
+
"availabilitychanged": Event;
|
|
222
|
+
"advertisementreceived": BluetoothAdvertisingEvent;
|
|
164
223
|
}
|
|
165
224
|
|
|
166
225
|
interface Bluetooth
|
|
@@ -172,13 +231,26 @@ interface Bluetooth
|
|
|
172
231
|
readonly referringDevice?: BluetoothDevice | undefined;
|
|
173
232
|
requestDevice(options?: RequestDeviceOptions): Promise<BluetoothDevice>;
|
|
174
233
|
requestLEScan(options?: BluetoothLEScanOptions): Promise<BluetoothLEScan>;
|
|
175
|
-
addEventListener
|
|
234
|
+
addEventListener<K extends keyof BluetoothEventMap>(
|
|
235
|
+
type: K,
|
|
236
|
+
listener: (this: Bluetooth, ev: BluetoothEventMap[K]) => any,
|
|
237
|
+
options?: boolean | AddEventListenerOptions,
|
|
238
|
+
): void;
|
|
176
239
|
addEventListener(
|
|
177
|
-
type:
|
|
178
|
-
listener:
|
|
179
|
-
|
|
240
|
+
type: string,
|
|
241
|
+
listener: EventListenerOrEventListenerObject,
|
|
242
|
+
options?: boolean | AddEventListenerOptions,
|
|
243
|
+
): void;
|
|
244
|
+
removeEventListener<K extends keyof BluetoothEventMap>(
|
|
245
|
+
type: K,
|
|
246
|
+
listener: (this: Bluetooth, ev: BluetoothEventMap[K]) => any,
|
|
247
|
+
options?: boolean | EventListenerOptions,
|
|
248
|
+
): void;
|
|
249
|
+
removeEventListener(
|
|
250
|
+
type: string,
|
|
251
|
+
listener: EventListenerOrEventListenerObject,
|
|
252
|
+
options?: boolean | EventListenerOptions,
|
|
180
253
|
): void;
|
|
181
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
|
|
182
254
|
}
|
|
183
255
|
|
|
184
256
|
declare namespace BluetoothUUID {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/web-bluetooth",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"description": "TypeScript definitions for web-bluetooth",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/web-bluetooth",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,6 +24,11 @@
|
|
|
24
24
|
"name": "David Bjerremose",
|
|
25
25
|
"githubUsername": "DaBs",
|
|
26
26
|
"url": "https://github.com/DaBs"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "Nathan Rajlich",
|
|
30
|
+
"githubUsername": "TooTallNate",
|
|
31
|
+
"url": "https://github.com/TooTallNate"
|
|
27
32
|
}
|
|
28
33
|
],
|
|
29
34
|
"main": "",
|
|
@@ -35,6 +40,7 @@
|
|
|
35
40
|
},
|
|
36
41
|
"scripts": {},
|
|
37
42
|
"dependencies": {},
|
|
38
|
-
"
|
|
39
|
-
"
|
|
43
|
+
"peerDependencies": {},
|
|
44
|
+
"typesPublisherContentHash": "404bf844de289dadba3d26226789890c4d08fa51d5a57811442223118e3a9fa2",
|
|
45
|
+
"typeScriptVersion": "5.0"
|
|
40
46
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PatchFlags } from '@vue/shared';
|
|
2
2
|
export { generateCodeFrame } from '@vue/shared';
|
|
3
|
-
import { Node as Node$1, Identifier, Function, BlockStatement as BlockStatement$1, Program, ObjectProperty } from '@babel/types';
|
|
3
|
+
import { Node as Node$1, Identifier, Function, BlockStatement as BlockStatement$1, SwitchCase, Program, ObjectProperty } from '@babel/types';
|
|
4
4
|
import { ParserPlugin } from '@babel/parser';
|
|
5
5
|
|
|
6
6
|
export declare const FRAGMENT: unique symbol;
|
|
@@ -615,15 +615,16 @@ export declare enum ErrorCodes {
|
|
|
615
615
|
X_V_MODEL_MALFORMED_EXPRESSION = 42,
|
|
616
616
|
X_V_MODEL_ON_SCOPE_VARIABLE = 43,
|
|
617
617
|
X_V_MODEL_ON_PROPS = 44,
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
618
|
+
X_V_MODEL_ON_CONST = 45,
|
|
619
|
+
X_INVALID_EXPRESSION = 46,
|
|
620
|
+
X_KEEP_ALIVE_INVALID_CHILDREN = 47,
|
|
621
|
+
X_PREFIX_ID_NOT_SUPPORTED = 48,
|
|
622
|
+
X_MODULE_MODE_NOT_SUPPORTED = 49,
|
|
623
|
+
X_CACHE_HANDLER_NOT_SUPPORTED = 50,
|
|
624
|
+
X_SCOPE_ID_NOT_SUPPORTED = 51,
|
|
625
|
+
X_VNODE_HOOKS = 52,
|
|
626
|
+
X_V_BIND_INVALID_SAME_NAME_ARGUMENT = 53,
|
|
627
|
+
__EXTEND_POINT__ = 54
|
|
627
628
|
}
|
|
628
629
|
export declare const errorMessages: Record<ErrorCodes, string>;
|
|
629
630
|
|
|
@@ -1011,6 +1012,7 @@ export declare function baseCompile(source: string | RootNode, options?: Compile
|
|
|
1011
1012
|
export declare const isStaticExp: (p: JSChildNode) => p is SimpleExpressionNode;
|
|
1012
1013
|
export declare function isCoreComponent(tag: string): symbol | void;
|
|
1013
1014
|
export declare const isSimpleIdentifier: (name: string) => boolean;
|
|
1015
|
+
export declare const validFirstIdentCharRE: RegExp;
|
|
1014
1016
|
/**
|
|
1015
1017
|
* Simple lexer to check if an expression is a member expression. This is
|
|
1016
1018
|
* lax and only checks validity at the root level (i.e. does not validate exps
|
|
@@ -1031,6 +1033,7 @@ export declare function findProp(node: ElementNode, name: string, dynamicOnly?:
|
|
|
1031
1033
|
export declare function isStaticArgOf(arg: DirectiveNode['arg'], name: string): boolean;
|
|
1032
1034
|
export declare function hasDynamicKeyVBind(node: ElementNode): boolean;
|
|
1033
1035
|
export declare function isText(node: TemplateChildNode): node is TextNode | InterpolationNode;
|
|
1036
|
+
export declare function isVPre(p: ElementNode['props'][0]): p is DirectiveNode;
|
|
1034
1037
|
export declare function isVSlot(p: ElementNode['props'][0]): p is DirectiveNode;
|
|
1035
1038
|
export declare function isTemplateNode(node: RootNode | TemplateChildNode): node is TemplateNode;
|
|
1036
1039
|
export declare function isSlotOutlet(node: RootNode | TemplateChildNode): node is SlotOutletNode;
|
|
@@ -1039,6 +1042,9 @@ export declare function toValidAssetId(name: string, type: 'component' | 'direct
|
|
|
1039
1042
|
export declare function hasScopeRef(node: TemplateChildNode | IfBranchNode | ExpressionNode | CacheExpression | undefined, ids: TransformContext['identifiers']): boolean;
|
|
1040
1043
|
export declare function getMemoedVNodeCall(node: BlockCodegenNode | MemoExpression): VNodeCall | RenderSlotCall;
|
|
1041
1044
|
export declare const forAliasRE: RegExp;
|
|
1045
|
+
export declare function isAllWhitespace(str: string): boolean;
|
|
1046
|
+
export declare function isWhitespaceText(node: TemplateChildNode): boolean;
|
|
1047
|
+
export declare function isCommentOrWhitespace(node: TemplateChildNode): boolean;
|
|
1042
1048
|
|
|
1043
1049
|
/**
|
|
1044
1050
|
* Return value indicates whether the AST walked can be a constant
|
|
@@ -1048,7 +1054,7 @@ export declare function isReferencedIdentifier(id: Identifier, parent: Node$1 |
|
|
|
1048
1054
|
export declare function isInDestructureAssignment(parent: Node$1, parentStack: Node$1[]): boolean;
|
|
1049
1055
|
export declare function isInNewExpression(parentStack: Node$1[]): boolean;
|
|
1050
1056
|
export declare function walkFunctionParams(node: Function, onIdent: (id: Identifier) => void): void;
|
|
1051
|
-
export declare function walkBlockDeclarations(block: BlockStatement$1 | Program, onIdent: (node: Identifier) => void): void;
|
|
1057
|
+
export declare function walkBlockDeclarations(block: BlockStatement$1 | SwitchCase | Program, onIdent: (node: Identifier) => void): void;
|
|
1052
1058
|
export declare function extractIdentifiers(param: Node$1, nodes?: Identifier[]): Identifier[];
|
|
1053
1059
|
export declare const isFunctionType: (node: Node$1) => node is Function;
|
|
1054
1060
|
export declare const isStaticProperty: (node: Node$1) => node is ObjectProperty;
|
|
@@ -1081,6 +1087,8 @@ export declare function buildSlots(node: ElementNode, context: TransformContext,
|
|
|
1081
1087
|
hasDynamicSlots: boolean;
|
|
1082
1088
|
};
|
|
1083
1089
|
|
|
1090
|
+
export declare const transformVBindShorthand: NodeTransform;
|
|
1091
|
+
|
|
1084
1092
|
interface SlotOutletProcessResult {
|
|
1085
1093
|
slotName: string | ExpressionNode;
|
|
1086
1094
|
slotProps: PropsExpression | undefined;
|
|
@@ -1089,3 +1097,4 @@ export declare function processSlotOutlet(node: SlotOutletNode, context: Transfo
|
|
|
1089
1097
|
|
|
1090
1098
|
export declare function getConstantType(node: TemplateChildNode | SimpleExpressionNode | CacheExpression, context: TransformContext): ConstantTypes;
|
|
1091
1099
|
|
|
1100
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-core",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.26",
|
|
4
4
|
"description": "@vue/compiler-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-core.esm-bundler.js",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-core#readme",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@babel/parser": "^7.
|
|
50
|
-
"entities": "^
|
|
49
|
+
"@babel/parser": "^7.28.5",
|
|
50
|
+
"entities": "^7.0.0",
|
|
51
51
|
"estree-walker": "^2.0.2",
|
|
52
|
-
"source-map-js": "^1.2.
|
|
53
|
-
"@vue/shared": "3.5.
|
|
52
|
+
"source-map-js": "^1.2.1",
|
|
53
|
+
"@vue/shared": "3.5.26"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@babel/types": "^7.
|
|
56
|
+
"@babel/types": "^7.28.5"
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -21,18 +21,18 @@ interface DOMCompilerError extends CompilerError {
|
|
|
21
21
|
}
|
|
22
22
|
export declare function createDOMCompilerError(code: DOMErrorCodes, loc?: SourceLocation): DOMCompilerError;
|
|
23
23
|
export declare enum DOMErrorCodes {
|
|
24
|
-
X_V_HTML_NO_EXPRESSION =
|
|
25
|
-
X_V_HTML_WITH_CHILDREN =
|
|
26
|
-
X_V_TEXT_NO_EXPRESSION =
|
|
27
|
-
X_V_TEXT_WITH_CHILDREN =
|
|
28
|
-
X_V_MODEL_ON_INVALID_ELEMENT =
|
|
29
|
-
X_V_MODEL_ARG_ON_ELEMENT =
|
|
30
|
-
X_V_MODEL_ON_FILE_INPUT_ELEMENT =
|
|
31
|
-
X_V_MODEL_UNNECESSARY_VALUE =
|
|
32
|
-
X_V_SHOW_NO_EXPRESSION =
|
|
33
|
-
X_TRANSITION_INVALID_CHILDREN =
|
|
34
|
-
X_IGNORED_SIDE_EFFECT_TAG =
|
|
35
|
-
__EXTEND_POINT__ =
|
|
24
|
+
X_V_HTML_NO_EXPRESSION = 54,
|
|
25
|
+
X_V_HTML_WITH_CHILDREN = 55,
|
|
26
|
+
X_V_TEXT_NO_EXPRESSION = 56,
|
|
27
|
+
X_V_TEXT_WITH_CHILDREN = 57,
|
|
28
|
+
X_V_MODEL_ON_INVALID_ELEMENT = 58,
|
|
29
|
+
X_V_MODEL_ARG_ON_ELEMENT = 59,
|
|
30
|
+
X_V_MODEL_ON_FILE_INPUT_ELEMENT = 60,
|
|
31
|
+
X_V_MODEL_UNNECESSARY_VALUE = 61,
|
|
32
|
+
X_V_SHOW_NO_EXPRESSION = 62,
|
|
33
|
+
X_TRANSITION_INVALID_CHILDREN = 63,
|
|
34
|
+
X_IGNORED_SIDE_EFFECT_TAG = 64,
|
|
35
|
+
__EXTEND_POINT__ = 65
|
|
36
36
|
}
|
|
37
37
|
export declare const DOMErrorMessages: {
|
|
38
38
|
[code: number]: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-dom",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.26",
|
|
4
4
|
"description": "@vue/compiler-dom",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-dom.esm-bundler.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-dom#readme",
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@vue/
|
|
55
|
-
"@vue/
|
|
54
|
+
"@vue/compiler-core": "3.5.26",
|
|
55
|
+
"@vue/shared": "3.5.26"
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _babel_types from '@babel/types';
|
|
2
2
|
import { Statement, Expression, TSType, Node, Program, CallExpression, ObjectPattern, TSModuleDeclaration, TSPropertySignature, TSMethodSignature, TSCallSignatureDeclaration, TSFunctionType } from '@babel/types';
|
|
3
|
-
import { RootNode, CompilerOptions, CodegenResult, ParserOptions,
|
|
3
|
+
import { RootNode, CompilerOptions, CodegenResult, ParserOptions, RawSourceMap, CompilerError, SourceLocation, BindingMetadata as BindingMetadata$1 } from '@vue/compiler-core';
|
|
4
4
|
export { BindingMetadata, CompilerError, CompilerOptions, extractIdentifiers, generateCodeFrame, isInDestructureAssignment, isStaticProperty, walkIdentifiers } from '@vue/compiler-core';
|
|
5
5
|
import { ParserPlugin } from '@babel/parser';
|
|
6
6
|
export { parse as babelParse } from '@babel/parser';
|
|
@@ -464,7 +464,7 @@ export declare function registerTS(_loadTS: () => typeof TS): void;
|
|
|
464
464
|
* @private
|
|
465
465
|
*/
|
|
466
466
|
export declare function invalidateTypeCache(filename: string): void;
|
|
467
|
-
export declare function inferRuntimeType(ctx: TypeResolveContext, node: Node & MaybeWithScope, scope?: TypeScope, isKeyOf?: boolean): string[];
|
|
467
|
+
export declare function inferRuntimeType(ctx: TypeResolveContext, node: Node & MaybeWithScope, scope?: TypeScope, isKeyOf?: boolean, typeParameters?: Record<string, Node>): string[];
|
|
468
468
|
|
|
469
469
|
export declare function extractRuntimeEmits(ctx: TypeResolveContext): Set<string>;
|
|
470
470
|
|
|
@@ -482,3 +482,4 @@ export declare const walk: any;
|
|
|
482
482
|
*/
|
|
483
483
|
export declare const shouldTransformRef: () => boolean;
|
|
484
484
|
|
|
485
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-sfc",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.26",
|
|
4
4
|
"description": "@vue/compiler-sfc",
|
|
5
5
|
"main": "dist/compiler-sfc.cjs.js",
|
|
6
6
|
"module": "dist/compiler-sfc.esm-browser.js",
|
|
@@ -42,26 +42,26 @@
|
|
|
42
42
|
},
|
|
43
43
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-sfc#readme",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@babel/parser": "^7.
|
|
45
|
+
"@babel/parser": "^7.28.5",
|
|
46
46
|
"estree-walker": "^2.0.2",
|
|
47
|
-
"magic-string": "^0.30.
|
|
48
|
-
"postcss": "^8.
|
|
49
|
-
"source-map-js": "^1.2.
|
|
50
|
-
"@vue/compiler-core": "3.5.
|
|
51
|
-
"@vue/
|
|
52
|
-
"@vue/compiler-
|
|
53
|
-
"@vue/
|
|
47
|
+
"magic-string": "^0.30.21",
|
|
48
|
+
"postcss": "^8.5.6",
|
|
49
|
+
"source-map-js": "^1.2.1",
|
|
50
|
+
"@vue/compiler-core": "3.5.26",
|
|
51
|
+
"@vue/compiler-dom": "3.5.26",
|
|
52
|
+
"@vue/compiler-ssr": "3.5.26",
|
|
53
|
+
"@vue/shared": "3.5.26"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@babel/types": "^7.
|
|
56
|
+
"@babel/types": "^7.28.5",
|
|
57
57
|
"@vue/consolidate": "^1.0.0",
|
|
58
58
|
"hash-sum": "^2.0.0",
|
|
59
59
|
"lru-cache": "10.1.0",
|
|
60
60
|
"merge-source-map": "^1.1.0",
|
|
61
|
-
"minimatch": "~
|
|
62
|
-
"postcss-modules": "^6.0.
|
|
63
|
-
"postcss-selector-parser": "^7.
|
|
61
|
+
"minimatch": "~10.1.1",
|
|
62
|
+
"postcss-modules": "^6.0.1",
|
|
63
|
+
"postcss-selector-parser": "^7.1.0",
|
|
64
64
|
"pug": "^3.0.3",
|
|
65
|
-
"sass": "^1.
|
|
65
|
+
"sass": "^1.96.0"
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-ssr",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.26",
|
|
4
4
|
"description": "@vue/compiler-ssr",
|
|
5
5
|
"main": "dist/compiler-ssr.cjs.js",
|
|
6
6
|
"types": "dist/compiler-ssr.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-ssr#readme",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@vue/shared": "3.5.
|
|
32
|
-
"@vue/compiler-dom": "3.5.
|
|
31
|
+
"@vue/shared": "3.5.26",
|
|
32
|
+
"@vue/compiler-dom": "3.5.26"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -47,9 +47,9 @@ export type ShallowReactive<T> = T & {
|
|
|
47
47
|
[ShallowReactiveMarker]?: true;
|
|
48
48
|
};
|
|
49
49
|
/**
|
|
50
|
-
* Shallow version of {@link reactive
|
|
50
|
+
* Shallow version of {@link reactive}.
|
|
51
51
|
*
|
|
52
|
-
* Unlike {@link reactive
|
|
52
|
+
* Unlike {@link reactive}, there is no deep conversion: only root-level
|
|
53
53
|
* properties are reactive for a shallow reactive object. Property values are
|
|
54
54
|
* stored and exposed as-is - this also means properties with ref values will
|
|
55
55
|
* not be automatically unwrapped.
|
|
@@ -87,7 +87,7 @@ export type DeepReadonly<T> = T extends Builtin ? T : T extends Map<infer K, inf
|
|
|
87
87
|
* the original.
|
|
88
88
|
*
|
|
89
89
|
* A readonly proxy is deep: any nested property accessed will be readonly as
|
|
90
|
-
* well. It also has the same ref-unwrapping behavior as {@link reactive
|
|
90
|
+
* well. It also has the same ref-unwrapping behavior as {@link reactive},
|
|
91
91
|
* except the unwrapped values will also be made readonly.
|
|
92
92
|
*
|
|
93
93
|
* @example
|
|
@@ -113,9 +113,9 @@ export type DeepReadonly<T> = T extends Builtin ? T : T extends Map<infer K, inf
|
|
|
113
113
|
*/
|
|
114
114
|
export declare function readonly<T extends object>(target: T): DeepReadonly<UnwrapNestedRefs<T>>;
|
|
115
115
|
/**
|
|
116
|
-
* Shallow version of {@link readonly
|
|
116
|
+
* Shallow version of {@link readonly}.
|
|
117
117
|
*
|
|
118
|
-
* Unlike {@link readonly
|
|
118
|
+
* Unlike {@link readonly}, there is no deep conversion: only root-level
|
|
119
119
|
* properties are made readonly. Property values are stored and exposed as-is -
|
|
120
120
|
* this also means properties with ref values will not be automatically
|
|
121
121
|
* unwrapped.
|
|
@@ -144,8 +144,8 @@ export declare function readonly<T extends object>(target: T): DeepReadonly<Unwr
|
|
|
144
144
|
*/
|
|
145
145
|
export declare function shallowReadonly<T extends object>(target: T): Readonly<T>;
|
|
146
146
|
/**
|
|
147
|
-
* Checks if an object is a proxy created by {@link reactive
|
|
148
|
-
* {@link shallowReactive
|
|
147
|
+
* Checks if an object is a proxy created by {@link reactive} or
|
|
148
|
+
* {@link shallowReactive} (or {@link ref} in some cases).
|
|
149
149
|
*
|
|
150
150
|
* @example
|
|
151
151
|
* ```js
|
|
@@ -167,7 +167,7 @@ export declare function isReactive(value: unknown): boolean;
|
|
|
167
167
|
* readonly object can change, but they can't be assigned directly via the
|
|
168
168
|
* passed object.
|
|
169
169
|
*
|
|
170
|
-
* The proxies created by {@link readonly
|
|
170
|
+
* The proxies created by {@link readonly} and {@link shallowReadonly} are
|
|
171
171
|
* both considered readonly, as is a computed ref without a set function.
|
|
172
172
|
*
|
|
173
173
|
* @param value - The value to check.
|
|
@@ -177,7 +177,7 @@ export declare function isReadonly(value: unknown): boolean;
|
|
|
177
177
|
export declare function isShallow(value: unknown): boolean;
|
|
178
178
|
/**
|
|
179
179
|
* Checks if an object is a proxy created by {@link reactive},
|
|
180
|
-
* {@link readonly}, {@link shallowReactive} or {@link shallowReadonly
|
|
180
|
+
* {@link readonly}, {@link shallowReactive} or {@link shallowReadonly}.
|
|
181
181
|
*
|
|
182
182
|
* @param value - The value to check.
|
|
183
183
|
* @see {@link https://vuejs.org/api/reactivity-utilities.html#isproxy}
|
|
@@ -187,8 +187,8 @@ export declare function isProxy(value: any): boolean;
|
|
|
187
187
|
* Returns the raw, original object of a Vue-created proxy.
|
|
188
188
|
*
|
|
189
189
|
* `toRaw()` can return the original object from proxies created by
|
|
190
|
-
* {@link reactive
|
|
191
|
-
* {@link shallowReadonly
|
|
190
|
+
* {@link reactive}, {@link readonly}, {@link shallowReactive} or
|
|
191
|
+
* {@link shallowReadonly}.
|
|
192
192
|
*
|
|
193
193
|
* This is an escape hatch that can be used to temporarily read without
|
|
194
194
|
* incurring proxy access / tracking overhead or write without triggering
|
|
@@ -225,7 +225,7 @@ export type Raw<T> = T & {
|
|
|
225
225
|
* ```
|
|
226
226
|
*
|
|
227
227
|
* **Warning:** `markRaw()` together with the shallow APIs such as
|
|
228
|
-
* {@link shallowReactive
|
|
228
|
+
* {@link shallowReactive} allow you to selectively opt-out of the default
|
|
229
229
|
* deep reactive/readonly conversion and embed raw, non-proxied objects in your
|
|
230
230
|
* state graph.
|
|
231
231
|
*
|
|
@@ -271,6 +271,10 @@ export interface ReactiveEffectOptions extends DebuggerOptions {
|
|
|
271
271
|
allowRecurse?: boolean;
|
|
272
272
|
onStop?: () => void;
|
|
273
273
|
}
|
|
274
|
+
export interface ReactiveEffectRunner<T = any> {
|
|
275
|
+
(): T;
|
|
276
|
+
effect: ReactiveEffect;
|
|
277
|
+
}
|
|
274
278
|
export declare enum EffectFlags {
|
|
275
279
|
/**
|
|
276
280
|
* ReactiveEffect only
|
|
@@ -281,7 +285,8 @@ export declare enum EffectFlags {
|
|
|
281
285
|
NOTIFIED = 8,
|
|
282
286
|
DIRTY = 16,
|
|
283
287
|
ALLOW_RECURSE = 32,
|
|
284
|
-
PAUSED = 64
|
|
288
|
+
PAUSED = 64,
|
|
289
|
+
EVALUATED = 128
|
|
285
290
|
}
|
|
286
291
|
/**
|
|
287
292
|
* Subscriber is a type that tracks (or subscribes to) a list of deps.
|
|
@@ -302,14 +307,6 @@ export declare class ReactiveEffect<T = any> implements Subscriber, ReactiveEffe
|
|
|
302
307
|
trigger(): void;
|
|
303
308
|
get dirty(): boolean;
|
|
304
309
|
}
|
|
305
|
-
export interface ReactiveEffectRunner<T = any> {
|
|
306
|
-
(): T;
|
|
307
|
-
effect: ReactiveEffect;
|
|
308
|
-
}
|
|
309
|
-
export interface ReactiveEffectRunner<T = any> {
|
|
310
|
-
(): T;
|
|
311
|
-
effect: ReactiveEffect;
|
|
312
|
-
}
|
|
313
310
|
export declare function effect<T = any>(fn: () => T, options?: ReactiveEffectOptions): ReactiveEffectRunner<T>;
|
|
314
311
|
/**
|
|
315
312
|
* Stops the effect associated with the given runner.
|
|
@@ -447,7 +444,7 @@ export type ShallowRef<T = any, S = T> = Ref<T, S> & {
|
|
|
447
444
|
[ShallowRefMarker]?: true;
|
|
448
445
|
};
|
|
449
446
|
/**
|
|
450
|
-
* Shallow version of {@link ref
|
|
447
|
+
* Shallow version of {@link ref}.
|
|
451
448
|
*
|
|
452
449
|
* @example
|
|
453
450
|
* ```js
|
|
@@ -512,7 +509,7 @@ export type MaybeRefOrGetter<T = any> = MaybeRef<T> | ComputedRef<T> | (() => T)
|
|
|
512
509
|
export declare function unref<T>(ref: MaybeRef<T> | ComputedRef<T>): T;
|
|
513
510
|
/**
|
|
514
511
|
* Normalizes values / refs / getters to values.
|
|
515
|
-
* This is similar to {@link unref
|
|
512
|
+
* This is similar to {@link unref}, except that it also normalizes getters.
|
|
516
513
|
* If the argument is a getter, it will be invoked and its return value will
|
|
517
514
|
* be returned.
|
|
518
515
|
*
|
|
@@ -554,7 +551,7 @@ export type ToRefs<T = any> = {
|
|
|
554
551
|
/**
|
|
555
552
|
* Converts a reactive object to a plain object where each property of the
|
|
556
553
|
* resulting object is a ref pointing to the corresponding property of the
|
|
557
|
-
* original object. Each individual ref is created using {@link toRef
|
|
554
|
+
* original object. Each individual ref is created using {@link toRef}.
|
|
558
555
|
*
|
|
559
556
|
* @param object - Reactive object to be made into an object of linked refs.
|
|
560
557
|
* @see {@link https://vuejs.org/api/reactivity-utilities.html#torefs}
|
|
@@ -672,6 +669,7 @@ export declare class EffectScope {
|
|
|
672
669
|
*/
|
|
673
670
|
resume(): void;
|
|
674
671
|
run<T>(fn: () => T): T | undefined;
|
|
672
|
+
prevScope: EffectScope | undefined;
|
|
675
673
|
stop(fromParent?: boolean): void;
|
|
676
674
|
}
|
|
677
675
|
/**
|
|
@@ -750,5 +748,6 @@ export declare function getCurrentWatcher(): ReactiveEffect<any> | undefined;
|
|
|
750
748
|
*/
|
|
751
749
|
export declare function onWatcherCleanup(cleanupFn: () => void, failSilently?: boolean, owner?: ReactiveEffect | undefined): void;
|
|
752
750
|
export declare function watch(source: WatchSource | WatchSource[] | WatchEffect | object, cb?: WatchCallback | null, options?: WatchOptions): WatchHandle;
|
|
753
|
-
export declare function traverse(value: unknown, depth?: number, seen?:
|
|
751
|
+
export declare function traverse(value: unknown, depth?: number, seen?: Map<unknown, number>): unknown;
|
|
752
|
+
|
|
754
753
|
|