@public-ui/hydrate 4.0.0-alpha.2 → 4.0.0-alpha.4
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/dist/index.d.ts +2 -0
- package/dist/index.js +511 -459
- package/dist/index.mjs +511 -459
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -7,12 +7,14 @@ export declare function createWindowFromHtml(templateHtml: string, uniqueId: str
|
|
|
7
7
|
* Serialize a value to a string that can be deserialized later.
|
|
8
8
|
* @param {unknown} value - The value to serialize.
|
|
9
9
|
* @returns {string} A string that can be deserialized later.
|
|
10
|
+
* @deprecated will be removed in v5. Use `@PropSerialize()` decorator instead.
|
|
10
11
|
*/
|
|
11
12
|
export declare function serializeProperty(value: unknown): string | number | boolean;
|
|
12
13
|
/**
|
|
13
14
|
* Deserialize a value from a string that was serialized earlier.
|
|
14
15
|
* @param {string} value - The string to deserialize.
|
|
15
16
|
* @returns {unknown} The deserialized value.
|
|
17
|
+
* @deprecated will be removed in v5. Use `@AttrDeserialize()` decorator instead.
|
|
16
18
|
*/
|
|
17
19
|
export declare function deserializeProperty(value: string): any;
|
|
18
20
|
export type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
|