@torpor/view 0.4.12 → 0.4.13
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/CHANGELOG.md +6 -0
- package/dist/formatText-Bcb1JvW5.d.cts +17 -0
- package/dist/formatText-Bcb1JvW5.d.cts.map +1 -0
- package/dist/formatText-BlLF3PPm.d.ts +17 -0
- package/dist/formatText-BlLF3PPm.d.ts.map +1 -0
- package/dist/formatText-Ck04q8_X.cjs.map +1 -1
- package/dist/formatText-OyD8MNAM.js.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/ssr.d.cts +1 -1
- package/dist/ssr.d.ts +1 -1
- package/package.json +1 -1
- package/src/index.ts +3 -1
- package/src/render/buildClasses.ts +4 -17
- package/src/render/buildStyles.ts +3 -3
- package/src/types/ClassValue.ts +3 -0
- package/src/types/StyleValue.ts +3 -0
- package/dist/formatText-A8G0kbCI.d.ts +0 -11
- package/dist/formatText-A8G0kbCI.d.ts.map +0 -1
- package/dist/formatText-DNPkZ1xY.d.cts +0 -11
- package/dist/formatText-DNPkZ1xY.d.cts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/types/ClassValue.d.ts
|
|
2
|
+
type ClassValue = string | Record<string, string> | undefined | Array<ClassValue>;
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/render/buildClasses.d.ts
|
|
5
|
+
declare function buildClasses(value: ClassValue, styleHash?: string): string;
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/types/StyleValue.d.ts
|
|
8
|
+
type StyleValue = string | Record<string, string> | Array<string> | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/render/buildStyles.d.ts
|
|
11
|
+
declare function buildStyles(value: StyleValue): string;
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/render/formatText.d.ts
|
|
14
|
+
declare function formatText(value: any): string;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { ClassValue as a, buildClasses as i, buildStyles as n, StyleValue as r, formatText as t };
|
|
17
|
+
//# sourceMappingURL=formatText-Bcb1JvW5.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatText-Bcb1JvW5.d.cts","names":[],"sources":["../src/types/ClassValue.ts","../src/render/buildClasses.ts","../src/types/StyleValue.ts","../src/render/buildStyles.ts","../src/render/formatText.ts"],"sourcesContent":[],"mappings":";KAAK,UAAA,YAAsB,qCAAqC,MAAM;;;AAAjE,iBCEmB,YAAA,CDFnB,KAAA,ECEuC,UDFvC,EAAA,SAAA,CAAA,EAAA,MAAA,CAAA,EAAA,MAAA;;;KEAA,UAAA,YAAsB,yBAAyB;;;AFA/C,iBGEmB,WAAA,CHFnB,KAAA,EGEsC,UHFtC,CAAA,EAAA,MAAA;;;iBIAmB,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/types/ClassValue.d.ts
|
|
2
|
+
type ClassValue = string | Record<string, string> | undefined | Array<ClassValue>;
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/render/buildClasses.d.ts
|
|
5
|
+
declare function buildClasses(value: ClassValue, styleHash?: string): string;
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/types/StyleValue.d.ts
|
|
8
|
+
type StyleValue = string | Record<string, string> | Array<string> | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/render/buildStyles.d.ts
|
|
11
|
+
declare function buildStyles(value: StyleValue): string;
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/render/formatText.d.ts
|
|
14
|
+
declare function formatText(value: any): string;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { ClassValue as a, buildClasses as i, buildStyles as n, StyleValue as r, formatText as t };
|
|
17
|
+
//# sourceMappingURL=formatText-BlLF3PPm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatText-BlLF3PPm.d.ts","names":[],"sources":["../src/types/ClassValue.ts","../src/render/buildClasses.ts","../src/types/StyleValue.ts","../src/render/buildStyles.ts","../src/render/formatText.ts"],"sourcesContent":[],"mappings":";KAAK,UAAA,YAAsB,qCAAqC,MAAM;;;AAAjE,iBCEmB,YAAA,CDFnB,KAAA,ECEuC,UDFvC,EAAA,SAAA,CAAA,EAAA,MAAA,CAAA,EAAA,MAAA;;;KEAA,UAAA,YAAsB,yBAAyB;;;AFA/C,iBGEmB,WAAA,CHFnB,KAAA,EGEsC,UHFtC,CAAA,EAAA,MAAA;;;iBIAmB,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatText-Ck04q8_X.cjs","names":["classes: string[]","styles: string[]"],"sources":["../src/render/buildClasses.ts","../src/render/buildStyles.ts","../src/render/formatText.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"formatText-Ck04q8_X.cjs","names":["classes: string[]","styles: string[]"],"sources":["../src/render/buildClasses.ts","../src/render/buildStyles.ts","../src/render/formatText.ts"],"sourcesContent":["import ClassValue from \"../types/ClassValue\";\n\nexport default function buildClasses(value: ClassValue, styleHash?: string): string {\n\tif (typeof value === \"string\") {\n\t\tif (styleHash !== undefined) {\n\t\t\tvalue += \" \" + styleHash;\n\t\t}\n\t\treturn value;\n\t} else {\n\t\tlet classes: string[] = [];\n\t\tgatherNames(\"\", value, classes);\n\t\tif (styleHash !== undefined) {\n\t\t\tclasses.push(styleHash);\n\t\t}\n\t\treturn classes.join(\" \");\n\t}\n}\n\nfunction gatherNames(name: string, value: ClassValue, classes: string[]) {\n\tif (value) {\n\t\tif (Array.isArray(value)) {\n\t\t\tfor (let v of value) {\n\t\t\t\tgatherNames(v as string, v, classes);\n\t\t\t}\n\t\t} else if (typeof value === \"object\") {\n\t\t\tfor (let [n, v] of Object.entries(value)) {\n\t\t\t\tgatherNames(n, v, classes);\n\t\t\t}\n\t\t} else {\n\t\t\tclasses.push(name);\n\t\t}\n\t}\n}\n","import type StyleValue from \"../types/StyleValue\";\n\nexport default function buildStyles(value: StyleValue): string {\n\tif (typeof value === \"string\") {\n\t\treturn value;\n\t} else {\n\t\tlet styles: string[] = [];\n\t\tif (value) {\n\t\t\tif (Array.isArray(value)) {\n\t\t\t\tfor (let v of value) {\n\t\t\t\t\tstyles.push(v);\n\t\t\t\t}\n\t\t\t} else if (typeof value === \"object\") {\n\t\t\t\tfor (let [n, v] of Object.entries(value)) {\n\t\t\t\t\tstyles.push(`${n}: ${v}`);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn styles.join(\"; \");\n\t}\n}\n","export default function formatText(value: any): string {\n\treturn value ?? \"\";\n}\n"],"mappings":";;AAEA,SAAwB,aAAa,OAAmB,WAA4B;AACnF,KAAI,OAAO,UAAU,UAAU;AAC9B,MAAI,cAAc,OACjB,UAAS,MAAM;AAEhB,SAAO;QACD;EACN,IAAIA,UAAoB,EAAE;AAC1B,cAAY,IAAI,OAAO,QAAQ;AAC/B,MAAI,cAAc,OACjB,SAAQ,KAAK,UAAU;AAExB,SAAO,QAAQ,KAAK,IAAI;;;AAI1B,SAAS,YAAY,MAAc,OAAmB,SAAmB;AACxE,KAAI,MACH,KAAI,MAAM,QAAQ,MAAM,CACvB,MAAK,IAAI,KAAK,MACb,aAAY,GAAa,GAAG,QAAQ;UAE3B,OAAO,UAAU,SAC3B,MAAK,IAAI,CAAC,GAAG,MAAM,OAAO,QAAQ,MAAM,CACvC,aAAY,GAAG,GAAG,QAAQ;KAG3B,SAAQ,KAAK,KAAK;;;;;AC3BrB,SAAwB,YAAY,OAA2B;AAC9D,KAAI,OAAO,UAAU,SACpB,QAAO;MACD;EACN,IAAIC,SAAmB,EAAE;AACzB,MAAI,OACH;OAAI,MAAM,QAAQ,MAAM,CACvB,MAAK,IAAI,KAAK,MACb,QAAO,KAAK,EAAE;YAEL,OAAO,UAAU,SAC3B,MAAK,IAAI,CAAC,GAAG,MAAM,OAAO,QAAQ,MAAM,CACvC,QAAO,KAAK,GAAG,EAAE,IAAI,IAAI;;AAI5B,SAAO,OAAO,KAAK,KAAK;;;;;;AClB1B,SAAwB,WAAW,OAAoB;AACtD,QAAO,SAAS"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatText-OyD8MNAM.js","names":["classes: string[]","styles: string[]"],"sources":["../src/render/buildClasses.ts","../src/render/buildStyles.ts","../src/render/formatText.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"formatText-OyD8MNAM.js","names":["classes: string[]","styles: string[]"],"sources":["../src/render/buildClasses.ts","../src/render/buildStyles.ts","../src/render/formatText.ts"],"sourcesContent":["import ClassValue from \"../types/ClassValue\";\n\nexport default function buildClasses(value: ClassValue, styleHash?: string): string {\n\tif (typeof value === \"string\") {\n\t\tif (styleHash !== undefined) {\n\t\t\tvalue += \" \" + styleHash;\n\t\t}\n\t\treturn value;\n\t} else {\n\t\tlet classes: string[] = [];\n\t\tgatherNames(\"\", value, classes);\n\t\tif (styleHash !== undefined) {\n\t\t\tclasses.push(styleHash);\n\t\t}\n\t\treturn classes.join(\" \");\n\t}\n}\n\nfunction gatherNames(name: string, value: ClassValue, classes: string[]) {\n\tif (value) {\n\t\tif (Array.isArray(value)) {\n\t\t\tfor (let v of value) {\n\t\t\t\tgatherNames(v as string, v, classes);\n\t\t\t}\n\t\t} else if (typeof value === \"object\") {\n\t\t\tfor (let [n, v] of Object.entries(value)) {\n\t\t\t\tgatherNames(n, v, classes);\n\t\t\t}\n\t\t} else {\n\t\t\tclasses.push(name);\n\t\t}\n\t}\n}\n","import type StyleValue from \"../types/StyleValue\";\n\nexport default function buildStyles(value: StyleValue): string {\n\tif (typeof value === \"string\") {\n\t\treturn value;\n\t} else {\n\t\tlet styles: string[] = [];\n\t\tif (value) {\n\t\t\tif (Array.isArray(value)) {\n\t\t\t\tfor (let v of value) {\n\t\t\t\t\tstyles.push(v);\n\t\t\t\t}\n\t\t\t} else if (typeof value === \"object\") {\n\t\t\t\tfor (let [n, v] of Object.entries(value)) {\n\t\t\t\t\tstyles.push(`${n}: ${v}`);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn styles.join(\"; \");\n\t}\n}\n","export default function formatText(value: any): string {\n\treturn value ?? \"\";\n}\n"],"mappings":";AAEA,SAAwB,aAAa,OAAmB,WAA4B;AACnF,KAAI,OAAO,UAAU,UAAU;AAC9B,MAAI,cAAc,OACjB,UAAS,MAAM;AAEhB,SAAO;QACD;EACN,IAAIA,UAAoB,EAAE;AAC1B,cAAY,IAAI,OAAO,QAAQ;AAC/B,MAAI,cAAc,OACjB,SAAQ,KAAK,UAAU;AAExB,SAAO,QAAQ,KAAK,IAAI;;;AAI1B,SAAS,YAAY,MAAc,OAAmB,SAAmB;AACxE,KAAI,MACH,KAAI,MAAM,QAAQ,MAAM,CACvB,MAAK,IAAI,KAAK,MACb,aAAY,GAAa,GAAG,QAAQ;UAE3B,OAAO,UAAU,SAC3B,MAAK,IAAI,CAAC,GAAG,MAAM,OAAO,QAAQ,MAAM,CACvC,aAAY,GAAG,GAAG,QAAQ;KAG3B,SAAQ,KAAK,KAAK;;;;;AC3BrB,SAAwB,YAAY,OAA2B;AAC9D,KAAI,OAAO,UAAU,SACpB,QAAO;MACD;EACN,IAAIC,SAAmB,EAAE;AACzB,MAAI,OACH;OAAI,MAAM,QAAQ,MAAM,CACvB,MAAK,IAAI,KAAK,MACb,QAAO,KAAK,EAAE;YAEL,OAAO,UAAU,SAC3B,MAAK,IAAI,CAAC,GAAG,MAAM,OAAO,QAAQ,MAAM,CACvC,QAAO,KAAK,GAAG,EAAE,IAAI,IAAI;;AAI5B,SAAO,OAAO,KAAK,KAAK;;;;;;AClB1B,SAAwB,WAAW,OAAoB;AACtD,QAAO,SAAS"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as SlotRender, t as Component } from "./Component-BDUCwkBQ.cjs";
|
|
2
2
|
import { t as Cleanup } from "./Cleanup-BGQ5zaxE.cjs";
|
|
3
3
|
import { n as Effect, t as Region } from "./Region-Cf7OeBIQ.cjs";
|
|
4
|
-
import { n as buildStyles, r as
|
|
4
|
+
import { a as ClassValue, i as buildClasses, n as buildStyles, r as StyleValue, t as formatText } from "./formatText-Bcb1JvW5.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/types/Animation.d.ts
|
|
7
7
|
interface Animation {
|
|
@@ -222,5 +222,5 @@ declare class ReactiveDate extends Date {
|
|
|
222
222
|
constructor(...params: any[]);
|
|
223
223
|
}
|
|
224
224
|
//#endregion
|
|
225
|
-
export { $batch, $cache, $mount, $peek, $run, $unwrap, $watch, type Animation, type Component, type ListItem, ReactiveDate, type SlotRender, clearLayoutSlot, fillLayoutSlot, hydrate, mount, addFragment as t_add_fragment, nodeAnchor as t_anchor, addAnimation as t_animate, applyProps as t_apply_props, setAttribute as t_attribute, nodeChild as t_child, buildClasses as t_class, setDynamicElement as t_dynamic, addEvent as t_event, formatText as t_fmt, getFragment as t_fragment, newListItem as t_list_item, nodeNext as t_next, popRegion as t_pop_region, pushRegion as t_push_region, newRegion as t_region, nodeRoot as t_root, runControlBranch as t_run_branch, runControl as t_run_control, runList as t_run_list, nodeSkip as t_skip, buildStyles as t_style };
|
|
225
|
+
export { $batch, $cache, $mount, $peek, $run, $unwrap, $watch, type Animation, type ClassValue, type Component, type ListItem, ReactiveDate, type SlotRender, type StyleValue, clearLayoutSlot, fillLayoutSlot, hydrate, mount, addFragment as t_add_fragment, nodeAnchor as t_anchor, addAnimation as t_animate, applyProps as t_apply_props, setAttribute as t_attribute, nodeChild as t_child, buildClasses as t_class, setDynamicElement as t_dynamic, addEvent as t_event, formatText as t_fmt, getFragment as t_fragment, newListItem as t_list_item, nodeNext as t_next, popRegion as t_pop_region, pushRegion as t_push_region, newRegion as t_region, nodeRoot as t_root, runControlBranch as t_run_branch, runControl as t_run_control, runList as t_run_list, nodeSkip as t_skip, buildStyles as t_style };
|
|
226
226
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as SlotRender, t as Component } from "./Component-JVwSemf-.js";
|
|
2
2
|
import { t as Cleanup } from "./Cleanup-Ca8IspaG.js";
|
|
3
3
|
import { n as Effect, t as Region } from "./Region-BrsZLZUe.js";
|
|
4
|
-
import { n as buildStyles, r as
|
|
4
|
+
import { a as ClassValue, i as buildClasses, n as buildStyles, r as StyleValue, t as formatText } from "./formatText-BlLF3PPm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/types/Animation.d.ts
|
|
7
7
|
interface Animation {
|
|
@@ -222,5 +222,5 @@ declare class ReactiveDate extends Date {
|
|
|
222
222
|
constructor(...params: any[]);
|
|
223
223
|
}
|
|
224
224
|
//#endregion
|
|
225
|
-
export { $batch, $cache, $mount, $peek, $run, $unwrap, $watch, type Animation, type Component, type ListItem, ReactiveDate, type SlotRender, clearLayoutSlot, fillLayoutSlot, hydrate, mount, addFragment as t_add_fragment, nodeAnchor as t_anchor, addAnimation as t_animate, applyProps as t_apply_props, setAttribute as t_attribute, nodeChild as t_child, buildClasses as t_class, setDynamicElement as t_dynamic, addEvent as t_event, formatText as t_fmt, getFragment as t_fragment, newListItem as t_list_item, nodeNext as t_next, popRegion as t_pop_region, pushRegion as t_push_region, newRegion as t_region, nodeRoot as t_root, runControlBranch as t_run_branch, runControl as t_run_control, runList as t_run_list, nodeSkip as t_skip, buildStyles as t_style };
|
|
225
|
+
export { $batch, $cache, $mount, $peek, $run, $unwrap, $watch, type Animation, type ClassValue, type Component, type ListItem, ReactiveDate, type SlotRender, type StyleValue, clearLayoutSlot, fillLayoutSlot, hydrate, mount, addFragment as t_add_fragment, nodeAnchor as t_anchor, addAnimation as t_animate, applyProps as t_apply_props, setAttribute as t_attribute, nodeChild as t_child, buildClasses as t_class, setDynamicElement as t_dynamic, addEvent as t_event, formatText as t_fmt, getFragment as t_fragment, newListItem as t_list_item, nodeNext as t_next, popRegion as t_pop_region, pushRegion as t_push_region, newRegion as t_region, nodeRoot as t_root, runControlBranch as t_run_branch, runControl as t_run_control, runList as t_run_list, nodeSkip as t_skip, buildStyles as t_style };
|
|
226
226
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/ssr.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Cleanup } from "./Cleanup-BGQ5zaxE.cjs";
|
|
2
|
-
import {
|
|
2
|
+
import { i as buildClasses, n as buildStyles, t as formatText } from "./formatText-Bcb1JvW5.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/render/formatAttributeText.d.ts
|
|
5
5
|
declare function formatAttributeText(value: any): string;
|
package/dist/ssr.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Cleanup } from "./Cleanup-Ca8IspaG.js";
|
|
2
|
-
import {
|
|
2
|
+
import { i as buildClasses, n as buildStyles, t as formatText } from "./formatText-BlLF3PPm.js";
|
|
3
3
|
|
|
4
4
|
//#region src/render/formatAttributeText.d.ts
|
|
5
5
|
declare function formatAttributeText(value: any): string;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -25,9 +25,11 @@ import t_run_list from "./render/runList";
|
|
|
25
25
|
import t_attribute from "./render/setAttribute";
|
|
26
26
|
import t_dynamic from "./render/setDynamicElement";
|
|
27
27
|
import type Animation from "./types/Animation";
|
|
28
|
+
import type ClassValue from "./types/ClassValue";
|
|
28
29
|
import type Component from "./types/Component";
|
|
29
30
|
import type ListItem from "./types/ListItem";
|
|
30
31
|
import type SlotRender from "./types/SlotRender";
|
|
32
|
+
import type StyleValue from "./types/StyleValue";
|
|
31
33
|
import $batch from "./watch/$batch";
|
|
32
34
|
import $cache from "./watch/$cache";
|
|
33
35
|
import $mount from "./watch/$mount";
|
|
@@ -72,4 +74,4 @@ export {
|
|
|
72
74
|
t_dynamic,
|
|
73
75
|
};
|
|
74
76
|
|
|
75
|
-
export type { Component, SlotRender, ListItem, Animation };
|
|
77
|
+
export type { Component, SlotRender, ListItem, Animation, ClassValue, StyleValue };
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
| Record<string, string>
|
|
5
|
-
| Array<string | Record<string, string> | undefined>
|
|
6
|
-
| undefined,
|
|
7
|
-
styleHash?: string,
|
|
8
|
-
): string {
|
|
1
|
+
import ClassValue from "../types/ClassValue";
|
|
2
|
+
|
|
3
|
+
export default function buildClasses(value: ClassValue, styleHash?: string): string {
|
|
9
4
|
if (typeof value === "string") {
|
|
10
5
|
if (styleHash !== undefined) {
|
|
11
6
|
value += " " + styleHash;
|
|
@@ -21,15 +16,7 @@ export default function buildClasses(
|
|
|
21
16
|
}
|
|
22
17
|
}
|
|
23
18
|
|
|
24
|
-
function gatherNames(
|
|
25
|
-
name: string,
|
|
26
|
-
value:
|
|
27
|
-
| string
|
|
28
|
-
| Record<string, string>
|
|
29
|
-
| Array<string | Record<string, string> | undefined>
|
|
30
|
-
| undefined,
|
|
31
|
-
classes: string[],
|
|
32
|
-
) {
|
|
19
|
+
function gatherNames(name: string, value: ClassValue, classes: string[]) {
|
|
33
20
|
if (value) {
|
|
34
21
|
if (Array.isArray(value)) {
|
|
35
22
|
for (let v of value) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
): string {
|
|
1
|
+
import type StyleValue from "../types/StyleValue";
|
|
2
|
+
|
|
3
|
+
export default function buildStyles(value: StyleValue): string {
|
|
4
4
|
if (typeof value === "string") {
|
|
5
5
|
return value;
|
|
6
6
|
} else {
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/render/buildClasses.d.ts
|
|
2
|
-
declare function buildClasses(value: string | Record<string, string> | Array<string | Record<string, string> | undefined> | undefined, styleHash?: string): string;
|
|
3
|
-
//#endregion
|
|
4
|
-
//#region src/render/buildStyles.d.ts
|
|
5
|
-
declare function buildStyles(value: string | Record<string, string> | Array<string> | undefined): string;
|
|
6
|
-
//#endregion
|
|
7
|
-
//#region src/render/formatText.d.ts
|
|
8
|
-
declare function formatText(value: any): string;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { buildStyles as n, buildClasses as r, formatText as t };
|
|
11
|
-
//# sourceMappingURL=formatText-A8G0kbCI.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatText-A8G0kbCI.d.ts","names":[],"sources":["../src/render/buildClasses.ts","../src/render/buildStyles.ts","../src/render/formatText.ts"],"sourcesContent":[],"mappings":";iBAAwB,YAAA,iBAGpB,yBACA,eAAe;;;iBCJK,WAAA,iBACP,yBAAyB;;;iBCDlB,UAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/render/buildClasses.d.ts
|
|
2
|
-
declare function buildClasses(value: string | Record<string, string> | Array<string | Record<string, string> | undefined> | undefined, styleHash?: string): string;
|
|
3
|
-
//#endregion
|
|
4
|
-
//#region src/render/buildStyles.d.ts
|
|
5
|
-
declare function buildStyles(value: string | Record<string, string> | Array<string> | undefined): string;
|
|
6
|
-
//#endregion
|
|
7
|
-
//#region src/render/formatText.d.ts
|
|
8
|
-
declare function formatText(value: any): string;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { buildStyles as n, buildClasses as r, formatText as t };
|
|
11
|
-
//# sourceMappingURL=formatText-DNPkZ1xY.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatText-DNPkZ1xY.d.cts","names":[],"sources":["../src/render/buildClasses.ts","../src/render/buildStyles.ts","../src/render/formatText.ts"],"sourcesContent":[],"mappings":";iBAAwB,YAAA,iBAGpB,yBACA,eAAe;;;iBCJK,WAAA,iBACP,yBAAyB;;;iBCDlB,UAAA"}
|