@histoire/vendors 1.0.0-alpha.5 → 1.0.0-beta.1

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.
Files changed (95) hide show
  1. package/dist/client/b-floating-vue.js +29 -20
  2. package/dist/client/b-vue-router.js +2615 -3624
  3. package/dist/client/b-vue-use.js +87 -77
  4. package/dist/client/b-vue.js +1 -1
  5. package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.mts +528 -0
  6. package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.mts +103 -0
  7. package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.mts +47 -0
  8. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts +50 -0
  9. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +9 -0
  10. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts +16 -0
  11. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +7 -0
  12. package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +93 -21
  13. package/dist/client/node_modules/@types/web-bluetooth/package.json +9 -3
  14. package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +20 -11
  15. package/dist/client/node_modules/@vue/compiler-core/package.json +6 -6
  16. package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +12 -12
  17. package/dist/client/node_modules/@vue/compiler-dom/package.json +3 -3
  18. package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +3 -2
  19. package/dist/client/node_modules/@vue/compiler-sfc/package.json +14 -14
  20. package/dist/client/node_modules/@vue/compiler-ssr/package.json +3 -3
  21. package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +24 -25
  22. package/dist/client/node_modules/@vue/reactivity/package.json +2 -2
  23. package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +48 -41
  24. package/dist/client/node_modules/@vue/runtime-core/package.json +3 -3
  25. package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +680 -645
  26. package/dist/client/node_modules/@vue/runtime-dom/package.json +5 -5
  27. package/dist/client/node_modules/@vue/server-renderer/package.json +4 -4
  28. package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +7 -1
  29. package/dist/client/node_modules/@vue/shared/package.json +1 -1
  30. package/dist/client/node_modules/@vueuse/core/index.d.mts +6221 -0
  31. package/dist/client/node_modules/@vueuse/core/index.d.ts +131 -103
  32. package/dist/client/node_modules/@vueuse/core/metadata.d.mts +1 -0
  33. package/dist/client/node_modules/@vueuse/core/package.json +4 -4
  34. package/dist/client/node_modules/@vueuse/metadata/index.d.mts +78 -0
  35. package/dist/client/node_modules/@vueuse/metadata/package.json +1 -1
  36. package/dist/client/node_modules/@vueuse/shared/index.d.mts +1260 -0
  37. package/dist/client/node_modules/@vueuse/shared/index.d.ts +30 -13
  38. package/dist/client/node_modules/@vueuse/shared/package.json +1 -1
  39. package/dist/client/node_modules/entities/decode.d.ts +3 -0
  40. package/dist/client/node_modules/entities/{lib/esm/decode_codepoint.d.ts → dist/commonjs/decode-codepoint.d.ts} +2 -2
  41. package/dist/client/node_modules/entities/{lib → dist/commonjs}/decode.d.ts +18 -26
  42. package/dist/client/node_modules/entities/{lib/esm → dist/commonjs}/encode.d.ts +2 -2
  43. package/dist/client/node_modules/entities/{lib/esm → dist/commonjs}/escape.d.ts +9 -6
  44. package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
  45. package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
  46. package/dist/client/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +3 -0
  47. package/dist/client/node_modules/entities/{lib/esm → dist/commonjs}/index.d.ts +9 -9
  48. package/dist/client/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +17 -0
  49. package/dist/client/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +2 -0
  50. package/dist/client/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +32 -0
  51. package/dist/client/node_modules/entities/dist/commonjs/package.json +3 -0
  52. package/dist/client/node_modules/entities/{lib/decode_codepoint.d.ts → dist/esm/decode-codepoint.d.ts} +2 -2
  53. package/dist/client/node_modules/entities/{lib → dist}/esm/decode.d.ts +18 -26
  54. package/dist/client/node_modules/entities/{lib → dist/esm}/encode.d.ts +2 -2
  55. package/dist/client/node_modules/entities/{lib → dist/esm}/escape.d.ts +9 -6
  56. package/dist/client/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
  57. package/dist/client/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
  58. package/dist/client/node_modules/entities/dist/esm/generated/encode-html.d.ts +3 -0
  59. package/dist/client/node_modules/entities/{lib → dist/esm}/index.d.ts +9 -9
  60. package/dist/client/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +17 -0
  61. package/dist/client/node_modules/entities/dist/esm/internal/decode-shared.d.ts +2 -0
  62. package/dist/client/node_modules/entities/dist/esm/internal/encode-shared.d.ts +32 -0
  63. package/dist/client/node_modules/entities/dist/esm/package.json +3 -0
  64. package/dist/client/node_modules/entities/escape.d.ts +3 -0
  65. package/dist/client/node_modules/entities/package.json +92 -69
  66. package/dist/client/node_modules/magic-string/dist/magic-string.es.d.mts +289 -0
  67. package/dist/client/node_modules/postcss/lib/postcss.d.mts +69 -0
  68. package/dist/client/node_modules/vue/compiler-sfc/index.d.mts +1 -0
  69. package/dist/client/node_modules/vue/dist/vue.d.mts +7 -0
  70. package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +2 -2
  71. package/dist/client/node_modules/vue/jsx.d.ts +1 -1
  72. package/dist/client/node_modules/vue/package.json +6 -6
  73. package/dist/client/node_modules/vue/server-renderer/index.d.mts +1 -0
  74. package/dist/client/node_modules/vue-router/dist/experimental/index.d.mts +38 -0
  75. package/dist/client/node_modules/vue-router/dist/router-CWoNjPRp.d.mts +1973 -0
  76. package/dist/client/node_modules/vue-router/dist/vue-router.d.mts +361 -0
  77. package/dist/client/node_modules/vue-router/package.json +43 -39
  78. package/dist/client/node_modules/vue-router/vue-router-auto-resolver.d.mts +22 -0
  79. package/dist/client/node_modules/vue-router/vue-router-auto.d.ts +1 -4
  80. package/dist/client/vue.runtime.esm-bundler.js +2987 -2699
  81. package/package.json +2 -2
  82. package/rollup.config.mjs +1 -1
  83. package/dist/client/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +0 -3
  84. package/dist/client/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +0 -3
  85. package/dist/client/node_modules/entities/lib/esm/generated/encode-html.d.ts +0 -8
  86. package/dist/client/node_modules/entities/lib/esm/package.json +0 -1
  87. package/dist/client/node_modules/entities/lib/generated/decode-data-html.d.ts +0 -3
  88. package/dist/client/node_modules/entities/lib/generated/decode-data-xml.d.ts +0 -3
  89. package/dist/client/node_modules/entities/lib/generated/encode-html.d.ts +0 -8
  90. package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +0 -1836
  91. /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/index.d.ts +0 -0
  92. /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/v2/index.d.ts +0 -0
  93. /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/v2.7/index.d.ts +0 -0
  94. /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/v3/index.d.ts +0 -0
  95. /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/package.json +0 -0
@@ -1,5 +1,5 @@
1
1
  import * as vue from 'vue';
2
- import { WatchOptionsBase, Ref, WatchSource, ComputedGetter, ComputedRef, WritableComputedOptions, WritableComputedRef, WatchOptions, MaybeRef, MaybeRefOrGetter, InjectionKey, ShallowUnwrapRef as ShallowUnwrapRef$1, inject, provide, UnwrapNestedRefs, UnwrapRef, ToRef, ToRefs, toValue as toValue$1, WatchCallback, WatchStopHandle } from 'vue';
2
+ import { WatchOptionsBase, ShallowRef, WatchSource, ComputedGetter, ComputedRef, WritableComputedOptions, WritableComputedRef, WatchOptions, Ref, MaybeRef, MaybeRefOrGetter, InjectionKey, ShallowUnwrapRef as ShallowUnwrapRef$1, inject, provide, UnwrapNestedRefs, UnwrapRef, ToRef, ToRefs, toValue as toValue$1, WatchCallback, WatchStopHandle } from 'vue';
3
3
  export { MaybeRef, MaybeRefOrGetter } from 'vue';
4
4
 
5
5
  /**
@@ -10,9 +10,9 @@ export { MaybeRef, MaybeRefOrGetter } from 'vue';
10
10
  *
11
11
  * @param fn effect function
12
12
  * @param options WatchOptionsBase
13
- * @returns readonly ref
13
+ * @returns readonly shallowRef
14
14
  */
15
- declare function computedEager<T>(fn: () => T, options?: WatchOptionsBase): Readonly<Ref<T>>;
15
+ declare function computedEager<T>(fn: () => T, options?: WatchOptionsBase): Readonly<ShallowRef<T>>;
16
16
 
17
17
  interface ComputedWithControlRefExtra {
18
18
  /**
@@ -78,7 +78,7 @@ interface Pausable {
78
78
  /**
79
79
  * A ref indicate whether a pausable instance is active
80
80
  */
81
- isActive: Readonly<Ref<boolean>>;
81
+ isActive: Readonly<ShallowRef<boolean>>;
82
82
  /**
83
83
  * Temporary pause the effect from executing
84
84
  */
@@ -309,7 +309,8 @@ declare function objectPick<O extends object, T extends keyof O>(obj: O, keys: T
309
309
  declare function objectOmit<O extends object, T extends keyof O>(obj: O, keys: T[], omitUndefined?: boolean): Omit<O, T>;
310
310
  declare function objectEntries<T extends object>(obj: T): Array<[keyof T, T[keyof T]]>;
311
311
  declare function getLifeCycleTarget(target?: any): any;
312
- declare function toArray<T>(value: T): T extends readonly any[] ? T : [T];
312
+ declare function toArray<T>(value: T | readonly T[]): readonly T[];
313
+ declare function toArray<T>(value: T | T[]): T[];
313
314
 
314
315
  /**
315
316
  * Keep states in the global scope to be reusable across Vue instances.
@@ -337,6 +338,22 @@ interface CreateInjectionStateOptions<Return> {
337
338
  */
338
339
  declare function createInjectionState<Arguments extends Array<any>, Return>(composable: (...args: Arguments) => Return, options?: CreateInjectionStateOptions<Return>): readonly [useProvidingState: (...args: Arguments) => Return, useInjectedState: () => Return | undefined];
339
340
 
341
+ type ShallowOrDeepRef<T = any, D extends boolean = false> = D extends true ? Ref<T> : ShallowRef<T>;
342
+ /**
343
+ * Returns a `deepRef` or `shallowRef` depending on the `deep` param.
344
+ *
345
+ * @example createRef(1) // ShallowRef<number>
346
+ * @example createRef(1, false) // ShallowRef<number>
347
+ * @example createRef(1, true) // Ref<number>
348
+ * @example createRef("string") // ShallowRef<string>
349
+ * @example createRef<"A"|"B">("A", true) // Ref<"A"|"B">
350
+ *
351
+ * @param value
352
+ * @param deep
353
+ * @returns the `deepRef` or `shallowRef`
354
+ */
355
+ declare function createRef<T = any, D extends boolean = false>(value: T, deep?: D): ShallowOrDeepRef<T, D>;
356
+
340
357
  /**
341
358
  * Make a composable function usable with multiple Vue instances.
342
359
  *
@@ -925,7 +942,7 @@ interface UseCounterOptions {
925
942
  * @param options
926
943
  */
927
944
  declare function useCounter(initialValue?: MaybeRef<number>, options?: UseCounterOptions): {
928
- count: vue.Ref<number, MaybeRef<number>>;
945
+ count: vue.Ref<number, number> | vue.ShallowRef<number, number> | vue.WritableComputedRef<number, number>;
929
946
  inc: (delta?: number) => number;
930
947
  dec: (delta?: number) => number;
931
948
  get: () => number;
@@ -991,7 +1008,7 @@ interface UseIntervalOptions<Controls extends boolean> {
991
1008
  callback?: (count: number) => void;
992
1009
  }
993
1010
  interface UseIntervalControls {
994
- counter: Ref<number>;
1011
+ counter: ShallowRef<number>;
995
1012
  reset: () => void;
996
1013
  }
997
1014
  /**
@@ -1001,7 +1018,7 @@ interface UseIntervalControls {
1001
1018
  * @param interval
1002
1019
  * @param options
1003
1020
  */
1004
- declare function useInterval(interval?: MaybeRefOrGetter<number>, options?: UseIntervalOptions<false>): Ref<number>;
1021
+ declare function useInterval(interval?: MaybeRefOrGetter<number>, options?: UseIntervalOptions<false>): ShallowRef<number>;
1005
1022
  declare function useInterval(interval: MaybeRefOrGetter<number>, options: UseIntervalOptions<true>): UseIntervalControls & Pausable;
1006
1023
 
1007
1024
  interface UseIntervalFnOptions {
@@ -1035,8 +1052,8 @@ interface UseLastChangedOptions<Immediate extends boolean, InitialValue extends
1035
1052
  *
1036
1053
  * @see https://vueuse.org/useLastChanged
1037
1054
  */
1038
- declare function useLastChanged(source: WatchSource, options?: UseLastChangedOptions<false>): Ref<number | null>;
1039
- declare function useLastChanged(source: WatchSource, options: UseLastChangedOptions<true> | UseLastChangedOptions<boolean, number>): Ref<number>;
1055
+ declare function useLastChanged(source: WatchSource, options?: UseLastChangedOptions<false>): ShallowRef<number | null>;
1056
+ declare function useLastChanged(source: WatchSource, options: UseLastChangedOptions<true> | UseLastChangedOptions<boolean, number>): ShallowRef<number>;
1040
1057
 
1041
1058
  /**
1042
1059
  * Throttle execution of a function. Especially useful for rate limiting
@@ -1142,7 +1159,7 @@ interface UseToggleOptions<Truthy, Falsy> {
1142
1159
  falsyValue?: MaybeRefOrGetter<Falsy>;
1143
1160
  }
1144
1161
  declare function useToggle<Truthy, Falsy, T = Truthy | Falsy>(initialValue: Ref<T>, options?: UseToggleOptions<Truthy, Falsy>): (value?: T) => T;
1145
- declare function useToggle<Truthy = true, Falsy = false, T = Truthy | Falsy>(initialValue?: T, options?: UseToggleOptions<Truthy, Falsy>): [Ref<T>, (value?: T) => T];
1162
+ declare function useToggle<Truthy = true, Falsy = false, T = Truthy | Falsy>(initialValue?: T, options?: UseToggleOptions<Truthy, Falsy>): [ShallowRef<T>, (value?: T) => T];
1146
1163
 
1147
1164
  declare type WatchArrayCallback<V = any, OV = any> = (value: V, oldValue: OV, added: V, removed: OV, onCleanup: (cleanupFn: () => void) => void) => any;
1148
1165
  /**
@@ -1163,7 +1180,7 @@ interface WatchAtMostOptions<Immediate> extends WatchWithFilterOptions<Immediate
1163
1180
  }
1164
1181
  interface WatchAtMostReturn {
1165
1182
  stop: WatchStopHandle;
1166
- count: Ref<number>;
1183
+ count: ShallowRef<number>;
1167
1184
  }
1168
1185
  declare function watchAtMost<T extends Readonly<WatchSource<unknown>[]>, Immediate extends Readonly<boolean> = false>(sources: [...T], cb: WatchCallback<MapSources<T>, MapOldSources<T, Immediate>>, options: WatchAtMostOptions<Immediate>): WatchAtMostReturn;
1169
1186
  declare function watchAtMost<T, Immediate extends Readonly<boolean> = false>(sources: WatchSource<T>, cb: WatchCallback<T, Immediate extends true ? T | undefined : T>, options: WatchAtMostOptions<Immediate>): WatchAtMostReturn;
@@ -1240,4 +1257,4 @@ interface WheneverOptions extends WatchOptions {
1240
1257
  */
1241
1258
  declare function whenever<T>(source: WatchSource<T | false | null | undefined>, cb: WatchCallback<T>, options?: WheneverOptions): vue.WatchHandle;
1242
1259
 
1243
- export { type AnyFn, type ArgumentsType, type Arrayable, type Awaitable, type Awaited, type ComputedRefWithControl, type ComputedWithControlRefExtra, type ConfigurableEventFilter, type ConfigurableFlush, type ConfigurableFlushSync, type ControlledRefOptions, type CreateInjectionStateOptions, type DateLike, type DebounceFilterOptions, type DeepMaybeRef, type ElementOf, type EventFilter, type EventHook, type EventHookOff, type EventHookOn, type EventHookTrigger, type ExtendRefOptions, type Fn, type FunctionArgs, type FunctionWrapperOptions, type IfAny, type IgnoredUpdater, type IsAny, type MapOldSources, type MapSources, type MultiWatchSources, type Mutable, type Pausable, type PausableFilterOptions, type Promisify, type PromisifyFn, type Reactified, type ReactifyNested, type ReactifyObjectOptions, type ReactifyOptions, type ReactiveOmitPredicate, type ReactivePickPredicate, type ReadonlyRefOrGetter, type RemovableRef, type ShallowUnwrapRef, type SingletonPromiseReturn, type Stoppable, type SyncRefOptions, type SyncRefsOptions, type ThrottleFilterOptions, type ToRefsOptions, type UntilArrayInstance, type UntilBaseInstance, type UntilToMatchOptions, type UntilValueInstance, type UseArrayDifferenceOptions, type UseArrayIncludesComparatorFn, type UseArrayIncludesOptions, type UseArrayReducer, type UseCounterOptions, type UseDateFormatOptions, type UseDateFormatReturn, type UseIntervalControls, type UseIntervalFnOptions, type UseIntervalOptions, type UseLastChangedOptions, type UseTimeoutFnOptions, type UseTimeoutOptions, type UseToNumberOptions, type UseToggleOptions, type WatchArrayCallback, type WatchAtMostOptions, type WatchAtMostReturn, type WatchDebouncedOptions, type WatchIgnorableReturn, type WatchPausableOptions, type WatchPausableReturn, type WatchThrottledOptions, type WatchTriggerableCallback, type WatchTriggerableReturn, type WatchWithFilterOptions, type WheneverOptions, type WritableComputedRefWithControl, assert, refAutoReset as autoResetRef, bypassFilter, camelize, clamp, computedEager, computedWithControl, containsProp, computedWithControl as controlledComputed, controlledRef, createEventHook, createFilterWrapper, createGlobalState, createInjectionState, reactify as createReactiveFn, createSharedComposable, createSingletonPromise, debounceFilter, refDebounced as debouncedRef, watchDebounced as debouncedWatch, computedEager as eagerComputed, extendRef, formatDate, get, getLifeCycleTarget, hasOwn, hyphenate, identity, watchIgnorable as ignorableWatch, increaseWithUnit, injectLocal, invoke, isClient, isDef, isDefined, isIOS, isObject, isWorker, makeDestructurable, noop, normalizeDate, notNullish, now, objectEntries, objectOmit, objectPick, pausableFilter, watchPausable as pausableWatch, promiseTimeout, provideLocal, pxValue, rand, reactify, reactifyObject, reactiveComputed, reactiveOmit, reactivePick, refAutoReset, refDebounced, refDefault, refThrottled, refWithControl, resolveRef, resolveUnref, set, syncRef, syncRefs, throttleFilter, refThrottled as throttledRef, watchThrottled as throttledWatch, timestamp, toArray, toReactive, toRef, toRefs, toValue, tryOnBeforeMount, tryOnBeforeUnmount, tryOnMounted, tryOnScopeDispose, tryOnUnmounted, until, useArrayDifference, useArrayEvery, useArrayFilter, useArrayFind, useArrayFindIndex, useArrayFindLast, useArrayIncludes, useArrayJoin, useArrayMap, useArrayReduce, useArraySome, useArrayUnique, useCounter, useDateFormat, refDebounced as useDebounce, useDebounceFn, useInterval, useIntervalFn, useLastChanged, refThrottled as useThrottle, useThrottleFn, useTimeout, useTimeoutFn, useToNumber, useToString, useToggle, watchArray, watchAtMost, watchDebounced, watchDeep, watchIgnorable, watchImmediate, watchOnce, watchPausable, watchThrottled, watchTriggerable, watchWithFilter, whenever };
1260
+ export { type AnyFn, type ArgumentsType, type Arrayable, type Awaitable, type Awaited, type ComputedRefWithControl, type ComputedWithControlRefExtra, type ConfigurableEventFilter, type ConfigurableFlush, type ConfigurableFlushSync, type ControlledRefOptions, type CreateInjectionStateOptions, type DateLike, type DebounceFilterOptions, type DeepMaybeRef, type ElementOf, type EventFilter, type EventHook, type EventHookOff, type EventHookOn, type EventHookTrigger, type ExtendRefOptions, type Fn, type FunctionArgs, type FunctionWrapperOptions, type IfAny, type IgnoredUpdater, type IsAny, type MapOldSources, type MapSources, type MultiWatchSources, type Mutable, type Pausable, type PausableFilterOptions, type Promisify, type PromisifyFn, type Reactified, type ReactifyNested, type ReactifyObjectOptions, type ReactifyOptions, type ReactiveOmitPredicate, type ReactivePickPredicate, type ReadonlyRefOrGetter, type RemovableRef, type ShallowOrDeepRef, type ShallowUnwrapRef, type SingletonPromiseReturn, type Stoppable, type SyncRefOptions, type SyncRefsOptions, type ThrottleFilterOptions, type ToRefsOptions, type UntilArrayInstance, type UntilBaseInstance, type UntilToMatchOptions, type UntilValueInstance, type UseArrayDifferenceOptions, type UseArrayIncludesComparatorFn, type UseArrayIncludesOptions, type UseArrayReducer, type UseCounterOptions, type UseDateFormatOptions, type UseDateFormatReturn, type UseIntervalControls, type UseIntervalFnOptions, type UseIntervalOptions, type UseLastChangedOptions, type UseTimeoutFnOptions, type UseTimeoutOptions, type UseToNumberOptions, type UseToggleOptions, type WatchArrayCallback, type WatchAtMostOptions, type WatchAtMostReturn, type WatchDebouncedOptions, type WatchIgnorableReturn, type WatchPausableOptions, type WatchPausableReturn, type WatchThrottledOptions, type WatchTriggerableCallback, type WatchTriggerableReturn, type WatchWithFilterOptions, type WheneverOptions, type WritableComputedRefWithControl, assert, refAutoReset as autoResetRef, bypassFilter, camelize, clamp, computedEager, computedWithControl, containsProp, computedWithControl as controlledComputed, controlledRef, createEventHook, createFilterWrapper, createGlobalState, createInjectionState, reactify as createReactiveFn, createRef, createSharedComposable, createSingletonPromise, debounceFilter, refDebounced as debouncedRef, watchDebounced as debouncedWatch, computedEager as eagerComputed, extendRef, formatDate, get, getLifeCycleTarget, hasOwn, hyphenate, identity, watchIgnorable as ignorableWatch, increaseWithUnit, injectLocal, invoke, isClient, isDef, isDefined, isIOS, isObject, isWorker, makeDestructurable, noop, normalizeDate, notNullish, now, objectEntries, objectOmit, objectPick, pausableFilter, watchPausable as pausableWatch, promiseTimeout, provideLocal, pxValue, rand, reactify, reactifyObject, reactiveComputed, reactiveOmit, reactivePick, refAutoReset, refDebounced, refDefault, refThrottled, refWithControl, resolveRef, resolveUnref, set, syncRef, syncRefs, throttleFilter, refThrottled as throttledRef, watchThrottled as throttledWatch, timestamp, toArray, toReactive, toRef, toRefs, toValue, tryOnBeforeMount, tryOnBeforeUnmount, tryOnMounted, tryOnScopeDispose, tryOnUnmounted, until, useArrayDifference, useArrayEvery, useArrayFilter, useArrayFind, useArrayFindIndex, useArrayFindLast, useArrayIncludes, useArrayJoin, useArrayMap, useArrayReduce, useArraySome, useArrayUnique, useCounter, useDateFormat, refDebounced as useDebounce, useDebounceFn, useInterval, useIntervalFn, useLastChanged, refThrottled as useThrottle, useThrottleFn, useTimeout, useTimeoutFn, useToNumber, useToString, useToggle, watchArray, watchAtMost, watchDebounced, watchDeep, watchIgnorable, watchImmediate, watchOnce, watchPausable, watchThrottled, watchTriggerable, watchWithFilter, whenever };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vueuse/shared",
3
3
  "type": "module",
4
- "version": "12.7.0",
4
+ "version": "12.8.2",
5
5
  "author": "Anthony Fu <https://github.com/antfu>",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/antfu",
@@ -0,0 +1,3 @@
1
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2
+ // @ts-ignore
3
+ export * from "./dist/commonjs/decode.js";
@@ -15,5 +15,5 @@ export declare function replaceCodePoint(codePoint: number): number;
15
15
  * @param codePoint The code point to decode.
16
16
  * @returns The decoded code point.
17
17
  */
18
- export default function decodeCodePoint(codePoint: number): string;
19
- //# sourceMappingURL=decode_codepoint.d.ts.map
18
+ export declare function decodeCodePoint(codePoint: number): string;
19
+ //# sourceMappingURL=decode-codepoint.d.ts.map
@@ -1,13 +1,3 @@
1
- import htmlDecodeTree from "./generated/decode-data-html.js";
2
- import xmlDecodeTree from "./generated/decode-data-xml.js";
3
- import decodeCodePoint from "./decode_codepoint.js";
4
- export { htmlDecodeTree, xmlDecodeTree, decodeCodePoint };
5
- export { replaceCodePoint, fromCodePoint } from "./decode_codepoint.js";
6
- export declare enum BinTrieFlags {
7
- VALUE_LENGTH = 49152,
8
- BRANCH_LENGTH = 16256,
9
- JUMP_TABLE = 127
10
- }
11
1
  export declare enum DecodingMode {
12
2
  /** Entities in text nodes that can end with any character. */
13
3
  Legacy = 0,
@@ -83,28 +73,27 @@ export declare class EntityDecoder {
83
73
  * Mirrors the implementation of `getDecoder`, but with the ability to stop decoding if the
84
74
  * entity is incomplete, and resume when the next string is written.
85
75
  *
86
- * @param string The string containing the entity (or a continuation of the entity).
76
+ * @param input The string containing the entity (or a continuation of the entity).
87
77
  * @param offset The offset at which the entity begins. Should be 0 if this is not the first call.
88
78
  * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
89
79
  */
90
- write(str: string, offset: number): number;
80
+ write(input: string, offset: number): number;
91
81
  /**
92
82
  * Switches between the numeric decimal and hexadecimal states.
93
83
  *
94
84
  * Equivalent to the `Numeric character reference state` in the HTML spec.
95
85
  *
96
- * @param str The string containing the entity (or a continuation of the entity).
86
+ * @param input The string containing the entity (or a continuation of the entity).
97
87
  * @param offset The current offset.
98
88
  * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
99
89
  */
100
90
  private stateNumericStart;
101
- private addToNumericResult;
102
91
  /**
103
92
  * Parses a hexadecimal numeric entity.
104
93
  *
105
94
  * Equivalent to the `Hexademical character reference state` in the HTML spec.
106
95
  *
107
- * @param str The string containing the entity (or a continuation of the entity).
96
+ * @param input The string containing the entity (or a continuation of the entity).
108
97
  * @param offset The current offset.
109
98
  * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
110
99
  */
@@ -114,7 +103,7 @@ export declare class EntityDecoder {
114
103
  *
115
104
  * Equivalent to the `Decimal character reference state` in the HTML spec.
116
105
  *
117
- * @param str The string containing the entity (or a continuation of the entity).
106
+ * @param input The string containing the entity (or a continuation of the entity).
118
107
  * @param offset The current offset.
119
108
  * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
120
109
  */
@@ -138,7 +127,7 @@ export declare class EntityDecoder {
138
127
  *
139
128
  * Equivalent to the `Named character reference state` in the HTML spec.
140
129
  *
141
- * @param str The string containing the entity (or a continuation of the entity).
130
+ * @param input The string containing the entity (or a continuation of the entity).
142
131
  * @param offset The current offset.
143
132
  * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
144
133
  */
@@ -178,34 +167,37 @@ export declare class EntityDecoder {
178
167
  * @param char The current character.
179
168
  * @returns The index of the next node, or -1 if no branch is taken.
180
169
  */
181
- export declare function determineBranch(decodeTree: Uint16Array, current: number, nodeIdx: number, char: number): number;
170
+ export declare function determineBranch(decodeTree: Uint16Array, current: number, nodeIndex: number, char: number): number;
182
171
  /**
183
172
  * Decodes an HTML string.
184
173
  *
185
- * @param str The string to decode.
174
+ * @param htmlString The string to decode.
186
175
  * @param mode The decoding mode.
187
176
  * @returns The decoded string.
188
177
  */
189
- export declare function decodeHTML(str: string, mode?: DecodingMode): string;
178
+ export declare function decodeHTML(htmlString: string, mode?: DecodingMode): string;
190
179
  /**
191
180
  * Decodes an HTML string in an attribute.
192
181
  *
193
- * @param str The string to decode.
182
+ * @param htmlAttribute The string to decode.
194
183
  * @returns The decoded string.
195
184
  */
196
- export declare function decodeHTMLAttribute(str: string): string;
185
+ export declare function decodeHTMLAttribute(htmlAttribute: string): string;
197
186
  /**
198
187
  * Decodes an HTML string, requiring all entities to be terminated by a semicolon.
199
188
  *
200
- * @param str The string to decode.
189
+ * @param htmlString The string to decode.
201
190
  * @returns The decoded string.
202
191
  */
203
- export declare function decodeHTMLStrict(str: string): string;
192
+ export declare function decodeHTMLStrict(htmlString: string): string;
204
193
  /**
205
194
  * Decodes an XML string, requiring all entities to be terminated by a semicolon.
206
195
  *
207
- * @param str The string to decode.
196
+ * @param xmlString The string to decode.
208
197
  * @returns The decoded string.
209
198
  */
210
- export declare function decodeXML(str: string): string;
199
+ export declare function decodeXML(xmlString: string): string;
200
+ export { decodeCodePoint, fromCodePoint, replaceCodePoint, } from "./decode-codepoint.js";
201
+ export { htmlDecodeTree } from "./generated/decode-data-html.js";
202
+ export { xmlDecodeTree } from "./generated/decode-data-xml.js";
211
203
  //# sourceMappingURL=decode.d.ts.map
@@ -9,7 +9,7 @@
9
9
  * If a character has no equivalent entity, a numeric hexadecimal reference
10
10
  * (eg. `&#xfc;`) will be used.
11
11
  */
12
- export declare function encodeHTML(data: string): string;
12
+ export declare function encodeHTML(input: string): string;
13
13
  /**
14
14
  * Encodes all non-ASCII characters, as well as characters not valid in HTML
15
15
  * documents using HTML entities. This function will not encode characters that
@@ -18,5 +18,5 @@ export declare function encodeHTML(data: string): string;
18
18
  * If a character has no equivalent entity, a numeric hexadecimal reference
19
19
  * (eg. `&#xfc;`) will be used.
20
20
  */
21
- export declare function encodeNonAsciiHTML(data: string): string;
21
+ export declare function encodeNonAsciiHTML(input: string): string;
22
22
  //# sourceMappingURL=encode.d.ts.map
@@ -1,13 +1,16 @@
1
- export declare const xmlReplacer: RegExp;
2
- export declare const getCodePoint: (str: string, index: number) => number;
1
+ export declare const getCodePoint: (c: string, index: number) => number;
2
+ /**
3
+ * Bitset for ASCII characters that need to be escaped in XML.
4
+ */
5
+ export declare const XML_BITSET_VALUE = 1342177476;
3
6
  /**
4
7
  * Encodes all non-ASCII characters, as well as characters not valid in XML
5
- * documents using XML entities.
8
+ * documents using XML entities. Uses a fast bitset scan instead of RegExp.
6
9
  *
7
- * If a character has no equivalent entity, a
8
- * numeric hexadecimal reference (eg. `&#xfc;`) will be used.
10
+ * If a character has no equivalent entity, a numeric hexadecimal reference
11
+ * (eg. `&#xfc;`) will be used.
9
12
  */
10
- export declare function encodeXML(str: string): string;
13
+ export declare function encodeXML(input: string): string;
11
14
  /**
12
15
  * Encodes all non-ASCII characters, as well as characters not valid in XML
13
16
  * documents using numeric hexadecimal reference (eg. `&#xfc;`).
@@ -0,0 +1,2 @@
1
+ export declare const htmlDecodeTree: Uint16Array;
2
+ //# sourceMappingURL=decode-data-html.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare const xmlDecodeTree: Uint16Array;
2
+ //# sourceMappingURL=decode-data-xml.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { type EncodeTrieNode } from "../internal/encode-shared.js";
2
+ export declare const htmlTrie: Map<number, EncodeTrieNode>;
3
+ //# sourceMappingURL=encode-html.d.ts.map
@@ -56,18 +56,18 @@ export interface DecodingOptions {
56
56
  /**
57
57
  * Decodes a string with entities.
58
58
  *
59
- * @param data String to decode.
59
+ * @param input String to decode.
60
60
  * @param options Decoding options.
61
61
  */
62
- export declare function decode(data: string, options?: DecodingOptions | EntityLevel): string;
62
+ export declare function decode(input: string, options?: DecodingOptions | EntityLevel): string;
63
63
  /**
64
64
  * Decodes a string with entities. Does not allow missing trailing semicolons for entities.
65
65
  *
66
- * @param data String to decode.
66
+ * @param input String to decode.
67
67
  * @param options Decoding options.
68
68
  * @deprecated Use `decode` with the `mode` set to `Strict`.
69
69
  */
70
- export declare function decodeStrict(data: string, options?: DecodingOptions | EntityLevel): string;
70
+ export declare function decodeStrict(input: string, options?: DecodingOptions | EntityLevel): string;
71
71
  /**
72
72
  * Options for `encode`.
73
73
  */
@@ -86,11 +86,11 @@ export interface EncodingOptions {
86
86
  /**
87
87
  * Encodes a string with entities.
88
88
  *
89
- * @param data String to encode.
89
+ * @param input String to encode.
90
90
  * @param options Encoding options.
91
91
  */
92
- export declare function encode(data: string, options?: EncodingOptions | EntityLevel): string;
93
- export { encodeXML, escape, escapeUTF8, escapeAttribute, escapeText, } from "./escape.js";
94
- export { encodeHTML, encodeNonAsciiHTML, encodeHTML as encodeHTML4, encodeHTML as encodeHTML5, } from "./encode.js";
95
- export { EntityDecoder, DecodingMode, decodeXML, decodeHTML, decodeHTMLStrict, decodeHTMLAttribute, decodeHTML as decodeHTML4, decodeHTML as decodeHTML5, decodeHTMLStrict as decodeHTML4Strict, decodeHTMLStrict as decodeHTML5Strict, decodeXML as decodeXMLStrict, } from "./decode.js";
92
+ export declare function encode(input: string, options?: EncodingOptions | EntityLevel): string;
93
+ export { DecodingMode, decodeHTML, decodeHTML as decodeHTML4, decodeHTML as decodeHTML5, decodeHTMLAttribute, decodeHTMLStrict, decodeHTMLStrict as decodeHTML4Strict, decodeHTMLStrict as decodeHTML5Strict, decodeXML, decodeXML as decodeXMLStrict, EntityDecoder, } from "./decode.js";
94
+ export { encodeHTML, encodeHTML as encodeHTML4, encodeHTML as encodeHTML5, encodeNonAsciiHTML, } from "./encode.js";
95
+ export { encodeXML, escape, escapeAttribute, escapeText, escapeUTF8, } from "./escape.js";
96
96
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Bit flags & masks for the binary trie encoding used for entity decoding.
3
+ *
4
+ * Bit layout (16 bits total):
5
+ * 15..14 VALUE_LENGTH (+1 encoding; 0 => no value)
6
+ * 13 FLAG13. If valueLength>0: semicolon required flag (implicit ';').
7
+ * If valueLength==0: compact run flag.
8
+ * 12..7 BRANCH_LENGTH Branch length (0 => single branch in 6..0 if jumpOffset==char) OR run length (when compact run)
9
+ * 6..0 JUMP_TABLE Jump offset (jump table) OR single-branch char code OR first run char
10
+ */
11
+ export declare enum BinTrieFlags {
12
+ VALUE_LENGTH = 49152,
13
+ FLAG13 = 8192,
14
+ BRANCH_LENGTH = 8064,
15
+ JUMP_TABLE = 127
16
+ }
17
+ //# sourceMappingURL=bin-trie-flags.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare function decodeBase64(input: string): Uint16Array;
2
+ //# sourceMappingURL=decode-shared.d.ts.map
@@ -0,0 +1,32 @@
1
+ /**
2
+ * A node inside the encoding trie used by `encode.ts`.
3
+ *
4
+ * There are two physical shapes to minimize allocations and lookup cost:
5
+ *
6
+ * 1. Leaf node (string)
7
+ * - A plain string (already in the form `"&name;"`).
8
+ * - Represents a terminal match with no children.
9
+ *
10
+ * 2. Branch / value node (object)
11
+ */
12
+ export type EncodeTrieNode = string | {
13
+ /**
14
+ * Entity value for the current code point sequence (wrapped: `&...;`).
15
+ * Present when the path to this node itself is a valid named entity.
16
+ */
17
+ value: string | undefined;
18
+ /** If a number, the next code unit of the only next character. */
19
+ next: number | Map<number, EncodeTrieNode>;
20
+ /** If next is a number, `nextValue` contains the entity value. */
21
+ nextValue?: string;
22
+ };
23
+ /**
24
+ * Parse a compact encode trie string into a Map structure used for encoding.
25
+ *
26
+ * Format per entry (ascending code points using delta encoding):
27
+ * <diffBase36>[&name;][{<children>}] -- diff omitted when 0
28
+ * Where diff = currentKey - previousKey - 1 (first entry stores absolute key).
29
+ * `&name;` is the entity value (already wrapped); a following `{` denotes children.
30
+ */
31
+ export declare function parseEncodeTrie(serialized: string): Map<number, EncodeTrieNode>;
32
+ //# sourceMappingURL=encode-shared.d.ts.map
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -15,5 +15,5 @@ export declare function replaceCodePoint(codePoint: number): number;
15
15
  * @param codePoint The code point to decode.
16
16
  * @returns The decoded code point.
17
17
  */
18
- export default function decodeCodePoint(codePoint: number): string;
19
- //# sourceMappingURL=decode_codepoint.d.ts.map
18
+ export declare function decodeCodePoint(codePoint: number): string;
19
+ //# sourceMappingURL=decode-codepoint.d.ts.map
@@ -1,13 +1,3 @@
1
- import htmlDecodeTree from "./generated/decode-data-html.js";
2
- import xmlDecodeTree from "./generated/decode-data-xml.js";
3
- import decodeCodePoint from "./decode_codepoint.js";
4
- export { htmlDecodeTree, xmlDecodeTree, decodeCodePoint };
5
- export { replaceCodePoint, fromCodePoint } from "./decode_codepoint.js";
6
- export declare enum BinTrieFlags {
7
- VALUE_LENGTH = 49152,
8
- BRANCH_LENGTH = 16256,
9
- JUMP_TABLE = 127
10
- }
11
1
  export declare enum DecodingMode {
12
2
  /** Entities in text nodes that can end with any character. */
13
3
  Legacy = 0,
@@ -83,28 +73,27 @@ export declare class EntityDecoder {
83
73
  * Mirrors the implementation of `getDecoder`, but with the ability to stop decoding if the
84
74
  * entity is incomplete, and resume when the next string is written.
85
75
  *
86
- * @param string The string containing the entity (or a continuation of the entity).
76
+ * @param input The string containing the entity (or a continuation of the entity).
87
77
  * @param offset The offset at which the entity begins. Should be 0 if this is not the first call.
88
78
  * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
89
79
  */
90
- write(str: string, offset: number): number;
80
+ write(input: string, offset: number): number;
91
81
  /**
92
82
  * Switches between the numeric decimal and hexadecimal states.
93
83
  *
94
84
  * Equivalent to the `Numeric character reference state` in the HTML spec.
95
85
  *
96
- * @param str The string containing the entity (or a continuation of the entity).
86
+ * @param input The string containing the entity (or a continuation of the entity).
97
87
  * @param offset The current offset.
98
88
  * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
99
89
  */
100
90
  private stateNumericStart;
101
- private addToNumericResult;
102
91
  /**
103
92
  * Parses a hexadecimal numeric entity.
104
93
  *
105
94
  * Equivalent to the `Hexademical character reference state` in the HTML spec.
106
95
  *
107
- * @param str The string containing the entity (or a continuation of the entity).
96
+ * @param input The string containing the entity (or a continuation of the entity).
108
97
  * @param offset The current offset.
109
98
  * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
110
99
  */
@@ -114,7 +103,7 @@ export declare class EntityDecoder {
114
103
  *
115
104
  * Equivalent to the `Decimal character reference state` in the HTML spec.
116
105
  *
117
- * @param str The string containing the entity (or a continuation of the entity).
106
+ * @param input The string containing the entity (or a continuation of the entity).
118
107
  * @param offset The current offset.
119
108
  * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
120
109
  */
@@ -138,7 +127,7 @@ export declare class EntityDecoder {
138
127
  *
139
128
  * Equivalent to the `Named character reference state` in the HTML spec.
140
129
  *
141
- * @param str The string containing the entity (or a continuation of the entity).
130
+ * @param input The string containing the entity (or a continuation of the entity).
142
131
  * @param offset The current offset.
143
132
  * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
144
133
  */
@@ -178,34 +167,37 @@ export declare class EntityDecoder {
178
167
  * @param char The current character.
179
168
  * @returns The index of the next node, or -1 if no branch is taken.
180
169
  */
181
- export declare function determineBranch(decodeTree: Uint16Array, current: number, nodeIdx: number, char: number): number;
170
+ export declare function determineBranch(decodeTree: Uint16Array, current: number, nodeIndex: number, char: number): number;
182
171
  /**
183
172
  * Decodes an HTML string.
184
173
  *
185
- * @param str The string to decode.
174
+ * @param htmlString The string to decode.
186
175
  * @param mode The decoding mode.
187
176
  * @returns The decoded string.
188
177
  */
189
- export declare function decodeHTML(str: string, mode?: DecodingMode): string;
178
+ export declare function decodeHTML(htmlString: string, mode?: DecodingMode): string;
190
179
  /**
191
180
  * Decodes an HTML string in an attribute.
192
181
  *
193
- * @param str The string to decode.
182
+ * @param htmlAttribute The string to decode.
194
183
  * @returns The decoded string.
195
184
  */
196
- export declare function decodeHTMLAttribute(str: string): string;
185
+ export declare function decodeHTMLAttribute(htmlAttribute: string): string;
197
186
  /**
198
187
  * Decodes an HTML string, requiring all entities to be terminated by a semicolon.
199
188
  *
200
- * @param str The string to decode.
189
+ * @param htmlString The string to decode.
201
190
  * @returns The decoded string.
202
191
  */
203
- export declare function decodeHTMLStrict(str: string): string;
192
+ export declare function decodeHTMLStrict(htmlString: string): string;
204
193
  /**
205
194
  * Decodes an XML string, requiring all entities to be terminated by a semicolon.
206
195
  *
207
- * @param str The string to decode.
196
+ * @param xmlString The string to decode.
208
197
  * @returns The decoded string.
209
198
  */
210
- export declare function decodeXML(str: string): string;
199
+ export declare function decodeXML(xmlString: string): string;
200
+ export { decodeCodePoint, fromCodePoint, replaceCodePoint, } from "./decode-codepoint.js";
201
+ export { htmlDecodeTree } from "./generated/decode-data-html.js";
202
+ export { xmlDecodeTree } from "./generated/decode-data-xml.js";
211
203
  //# sourceMappingURL=decode.d.ts.map
@@ -9,7 +9,7 @@
9
9
  * If a character has no equivalent entity, a numeric hexadecimal reference
10
10
  * (eg. `&#xfc;`) will be used.
11
11
  */
12
- export declare function encodeHTML(data: string): string;
12
+ export declare function encodeHTML(input: string): string;
13
13
  /**
14
14
  * Encodes all non-ASCII characters, as well as characters not valid in HTML
15
15
  * documents using HTML entities. This function will not encode characters that
@@ -18,5 +18,5 @@ export declare function encodeHTML(data: string): string;
18
18
  * If a character has no equivalent entity, a numeric hexadecimal reference
19
19
  * (eg. `&#xfc;`) will be used.
20
20
  */
21
- export declare function encodeNonAsciiHTML(data: string): string;
21
+ export declare function encodeNonAsciiHTML(input: string): string;
22
22
  //# sourceMappingURL=encode.d.ts.map
@@ -1,13 +1,16 @@
1
- export declare const xmlReplacer: RegExp;
2
- export declare const getCodePoint: (str: string, index: number) => number;
1
+ export declare const getCodePoint: (c: string, index: number) => number;
2
+ /**
3
+ * Bitset for ASCII characters that need to be escaped in XML.
4
+ */
5
+ export declare const XML_BITSET_VALUE = 1342177476;
3
6
  /**
4
7
  * Encodes all non-ASCII characters, as well as characters not valid in XML
5
- * documents using XML entities.
8
+ * documents using XML entities. Uses a fast bitset scan instead of RegExp.
6
9
  *
7
- * If a character has no equivalent entity, a
8
- * numeric hexadecimal reference (eg. `&#xfc;`) will be used.
10
+ * If a character has no equivalent entity, a numeric hexadecimal reference
11
+ * (eg. `&#xfc;`) will be used.
9
12
  */
10
- export declare function encodeXML(str: string): string;
13
+ export declare function encodeXML(input: string): string;
11
14
  /**
12
15
  * Encodes all non-ASCII characters, as well as characters not valid in XML
13
16
  * documents using numeric hexadecimal reference (eg. `&#xfc;`).
@@ -0,0 +1,2 @@
1
+ export declare const htmlDecodeTree: Uint16Array;
2
+ //# sourceMappingURL=decode-data-html.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare const xmlDecodeTree: Uint16Array;
2
+ //# sourceMappingURL=decode-data-xml.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { type EncodeTrieNode } from "../internal/encode-shared.js";
2
+ export declare const htmlTrie: Map<number, EncodeTrieNode>;
3
+ //# sourceMappingURL=encode-html.d.ts.map