@maizzle/framework 6.1.3 → 6.1.5

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 (204) hide show
  1. package/dist/build.d.ts +3 -4
  2. package/dist/build.d.ts.map +1 -1
  3. package/dist/build.js +1 -5
  4. package/dist/build.js.map +1 -1
  5. package/dist/components/Outlook.vue +8 -2
  6. package/dist/components/utils.d.ts +10 -11
  7. package/dist/components/utils.d.ts.map +1 -1
  8. package/dist/composables/defineConfig.d.ts +1 -2
  9. package/dist/composables/defineConfig.d.ts.map +1 -1
  10. package/dist/composables/renderContext.d.ts +4 -5
  11. package/dist/composables/renderContext.d.ts.map +1 -1
  12. package/dist/composables/useBaseUrl.d.ts +1 -2
  13. package/dist/composables/useBaseUrl.d.ts.map +1 -1
  14. package/dist/composables/useConfig.d.ts +2 -3
  15. package/dist/composables/useConfig.d.ts.map +1 -1
  16. package/dist/composables/useCurrentTemplate.d.ts +2 -3
  17. package/dist/composables/useCurrentTemplate.d.ts.map +1 -1
  18. package/dist/composables/useDoctype.d.ts +1 -2
  19. package/dist/composables/useDoctype.d.ts.map +1 -1
  20. package/dist/composables/useEvent.d.ts +1 -2
  21. package/dist/composables/useEvent.d.ts.map +1 -1
  22. package/dist/composables/useFont.d.ts +3 -4
  23. package/dist/composables/useFont.d.ts.map +1 -1
  24. package/dist/composables/useOutlookFallback.d.ts +1 -2
  25. package/dist/composables/useOutlookFallback.d.ts.map +1 -1
  26. package/dist/composables/useOutputPath.d.ts +1 -2
  27. package/dist/composables/useOutputPath.d.ts.map +1 -1
  28. package/dist/composables/usePlaintext.d.ts +2 -3
  29. package/dist/composables/usePlaintext.d.ts.map +1 -1
  30. package/dist/composables/usePreheader.d.ts +2 -3
  31. package/dist/composables/usePreheader.d.ts.map +1 -1
  32. package/dist/composables/useTransformers.d.ts +1 -2
  33. package/dist/composables/useTransformers.d.ts.map +1 -1
  34. package/dist/composables/useUrlQuery.d.ts +1 -2
  35. package/dist/composables/useUrlQuery.d.ts.map +1 -1
  36. package/dist/config/defaults.d.ts +1 -2
  37. package/dist/config/defaults.d.ts.map +1 -1
  38. package/dist/config/index.d.ts +4 -4
  39. package/dist/config/index.d.ts.map +1 -1
  40. package/dist/events/index.d.ts +4 -5
  41. package/dist/events/index.d.ts.map +1 -1
  42. package/dist/plaintext.d.ts +1 -2
  43. package/dist/plaintext.d.ts.map +1 -1
  44. package/dist/plugin.d.ts +1 -2
  45. package/dist/plugin.d.ts.map +1 -1
  46. package/dist/plugins/postcss/flattenGradients.d.ts +3 -3
  47. package/dist/plugins/postcss/flattenGradients.d.ts.map +1 -1
  48. package/dist/plugins/postcss/mergeMediaQueries.d.ts +1 -2
  49. package/dist/plugins/postcss/mergeMediaQueries.d.ts.map +1 -1
  50. package/dist/plugins/postcss/pruneVars.d.ts +2 -2
  51. package/dist/plugins/postcss/pruneVars.d.ts.map +1 -1
  52. package/dist/plugins/postcss/quoteFontFamilies.d.ts +2 -3
  53. package/dist/plugins/postcss/quoteFontFamilies.d.ts.map +1 -1
  54. package/dist/plugins/postcss/removeDeclarations.d.ts +4 -4
  55. package/dist/plugins/postcss/removeDeclarations.d.ts.map +1 -1
  56. package/dist/plugins/postcss/resolveMaizzleImports.d.ts +1 -2
  57. package/dist/plugins/postcss/resolveMaizzleImports.d.ts.map +1 -1
  58. package/dist/plugins/postcss/resolveProps.d.ts +2 -2
  59. package/dist/plugins/postcss/resolveProps.d.ts.map +1 -1
  60. package/dist/plugins/postcss/tailwindCleanup.d.ts +1 -2
  61. package/dist/plugins/postcss/tailwindCleanup.d.ts.map +1 -1
  62. package/dist/prepare.d.ts +2 -3
  63. package/dist/prepare.d.ts.map +1 -1
  64. package/dist/render/active.d.ts +2 -3
  65. package/dist/render/active.d.ts.map +1 -1
  66. package/dist/render/buildTemplate.d.ts +5 -6
  67. package/dist/render/buildTemplate.d.ts.map +1 -1
  68. package/dist/render/buildTemplate.js +1 -1
  69. package/dist/render/buildTemplate.js.map +1 -1
  70. package/dist/render/createRenderer.d.ts +4 -5
  71. package/dist/render/createRenderer.d.ts.map +1 -1
  72. package/dist/render/index.d.ts +3 -3
  73. package/dist/render/index.d.ts.map +1 -1
  74. package/dist/render/index.js +1 -1
  75. package/dist/render/index.js.map +1 -1
  76. package/dist/render/injectFonts.d.ts +1 -2
  77. package/dist/render/injectFonts.d.ts.map +1 -1
  78. package/dist/render/parallel/buildWorker.d.ts +3 -4
  79. package/dist/render/parallel/buildWorker.d.ts.map +1 -1
  80. package/dist/render/plugins/codeBlockExtract.d.ts +1 -2
  81. package/dist/render/plugins/codeBlockExtract.d.ts.map +1 -1
  82. package/dist/render/plugins/markdownExtract.d.ts +1 -2
  83. package/dist/render/plugins/markdownExtract.d.ts.map +1 -1
  84. package/dist/render/plugins/rawExtract.d.ts +1 -2
  85. package/dist/render/plugins/rawExtract.d.ts.map +1 -1
  86. package/dist/render/plugins/rowSourceLocation.d.ts +1 -2
  87. package/dist/render/plugins/rowSourceLocation.d.ts.map +1 -1
  88. package/dist/serve.d.ts +3 -4
  89. package/dist/serve.d.ts.map +1 -1
  90. package/dist/serve.js +47 -4
  91. package/dist/serve.js.map +1 -1
  92. package/dist/server/compatibility.d.ts +2 -3
  93. package/dist/server/compatibility.d.ts.map +1 -1
  94. package/dist/server/email.d.ts +2 -3
  95. package/dist/server/email.d.ts.map +1 -1
  96. package/dist/server/linter.d.ts +3 -4
  97. package/dist/server/linter.d.ts.map +1 -1
  98. package/dist/server/sfc-utils.d.ts +6 -7
  99. package/dist/server/sfc-utils.d.ts.map +1 -1
  100. package/dist/server/static.d.ts +10 -0
  101. package/dist/server/static.d.ts.map +1 -0
  102. package/dist/server/static.js +71 -0
  103. package/dist/server/static.js.map +1 -0
  104. package/dist/server/ui/.vite/deps/@lucide_vue.js +1 -1
  105. package/dist/server/ui/.vite/deps/@vueuse_core.js +1 -1
  106. package/dist/server/ui/.vite/deps/@vueuse_shared.js +1 -1
  107. package/dist/server/ui/.vite/deps/_metadata.json +15 -15
  108. package/dist/server/ui/.vite/deps/reka-ui.js +1 -2
  109. package/dist/server/ui/.vite/deps/reka-ui.js.map +1 -1
  110. package/dist/server/ui/.vite/deps/vue-router.js +1 -1
  111. package/dist/server/ui/.vite/deps/vue.js +1 -1
  112. package/dist/server/ui/.vite/deps/{vue.runtime.esm-bundler-S54atuNJ.js → vue.runtime.esm-bundler-Dq07uCLt.js} +174 -53
  113. package/dist/server/ui/.vite/deps/vue.runtime.esm-bundler-Dq07uCLt.js.map +1 -0
  114. package/dist/tests/render/_helpers.d.ts +2 -3
  115. package/dist/tests/render/_helpers.d.ts.map +1 -1
  116. package/dist/transformers/addAttributes.d.ts +2 -3
  117. package/dist/transformers/addAttributes.d.ts.map +1 -1
  118. package/dist/transformers/attributeToStyle.d.ts +2 -3
  119. package/dist/transformers/attributeToStyle.d.ts.map +1 -1
  120. package/dist/transformers/base.d.ts +3 -4
  121. package/dist/transformers/base.d.ts.map +1 -1
  122. package/dist/transformers/columnWidth.d.ts +1 -2
  123. package/dist/transformers/columnWidth.d.ts.map +1 -1
  124. package/dist/transformers/entities.d.ts +3 -4
  125. package/dist/transformers/entities.d.ts.map +1 -1
  126. package/dist/transformers/filters/defaults.d.ts +2 -3
  127. package/dist/transformers/filters/defaults.d.ts.map +1 -1
  128. package/dist/transformers/filters/index.d.ts +4 -4
  129. package/dist/transformers/filters/index.d.ts.map +1 -1
  130. package/dist/transformers/format.d.ts +2 -2
  131. package/dist/transformers/format.d.ts.map +1 -1
  132. package/dist/transformers/imgWidth.d.ts +1 -2
  133. package/dist/transformers/imgWidth.d.ts.map +1 -1
  134. package/dist/transformers/index.d.ts +2 -2
  135. package/dist/transformers/index.d.ts.map +1 -1
  136. package/dist/transformers/index.js +8 -2
  137. package/dist/transformers/index.js.map +1 -1
  138. package/dist/transformers/inlineCss.d.ts +3 -4
  139. package/dist/transformers/inlineCss.d.ts.map +1 -1
  140. package/dist/transformers/inlineLink.d.ts +2 -3
  141. package/dist/transformers/inlineLink.d.ts.map +1 -1
  142. package/dist/transformers/minify.d.ts +2 -2
  143. package/dist/transformers/minify.d.ts.map +1 -1
  144. package/dist/transformers/minifyCodeInline.d.ts +1 -2
  145. package/dist/transformers/minifyCodeInline.d.ts.map +1 -1
  146. package/dist/transformers/msoConditionals.d.ts +4 -0
  147. package/dist/transformers/msoConditionals.d.ts.map +1 -0
  148. package/dist/transformers/msoConditionals.js +25 -0
  149. package/dist/transformers/msoConditionals.js.map +1 -0
  150. package/dist/transformers/msoPlaceholders.d.ts +1 -2
  151. package/dist/transformers/msoPlaceholders.d.ts.map +1 -1
  152. package/dist/transformers/purgeCss.d.ts +3 -4
  153. package/dist/transformers/purgeCss.d.ts.map +1 -1
  154. package/dist/transformers/removeAttributes.d.ts +4 -5
  155. package/dist/transformers/removeAttributes.d.ts.map +1 -1
  156. package/dist/transformers/replaceStrings.d.ts +1 -2
  157. package/dist/transformers/replaceStrings.d.ts.map +1 -1
  158. package/dist/transformers/safeSelectors.d.ts +2 -3
  159. package/dist/transformers/safeSelectors.d.ts.map +1 -1
  160. package/dist/transformers/shorthandCss.d.ts +3 -4
  161. package/dist/transformers/shorthandCss.d.ts.map +1 -1
  162. package/dist/transformers/sixHex.d.ts +2 -3
  163. package/dist/transformers/sixHex.d.ts.map +1 -1
  164. package/dist/transformers/tailwindComponent.d.ts +1 -2
  165. package/dist/transformers/tailwindComponent.d.ts.map +1 -1
  166. package/dist/transformers/tailwindcss.d.ts +2 -3
  167. package/dist/transformers/tailwindcss.d.ts.map +1 -1
  168. package/dist/transformers/urlQuery.d.ts +2 -3
  169. package/dist/transformers/urlQuery.d.ts.map +1 -1
  170. package/dist/types/config.d.ts +18 -19
  171. package/dist/types/config.d.ts.map +1 -1
  172. package/dist/utils/ast/parser.d.ts +1 -2
  173. package/dist/utils/ast/parser.d.ts.map +1 -1
  174. package/dist/utils/ast/serializer.d.ts +1 -2
  175. package/dist/utils/ast/serializer.d.ts.map +1 -1
  176. package/dist/utils/ast/walker.d.ts +1 -2
  177. package/dist/utils/ast/walker.d.ts.map +1 -1
  178. package/dist/utils/cloneConfig.d.ts +1 -2
  179. package/dist/utils/cloneConfig.d.ts.map +1 -1
  180. package/dist/utils/compileTailwindCss.d.ts +4 -5
  181. package/dist/utils/compileTailwindCss.d.ts.map +1 -1
  182. package/dist/utils/componentSources.d.ts +4 -5
  183. package/dist/utils/componentSources.d.ts.map +1 -1
  184. package/dist/utils/cssBox.d.ts +6 -7
  185. package/dist/utils/cssBox.d.ts.map +1 -1
  186. package/dist/utils/decodeStyleEntities.d.ts +1 -2
  187. package/dist/utils/decodeStyleEntities.d.ts.map +1 -1
  188. package/dist/utils/detect.d.ts +1 -2
  189. package/dist/utils/detect.d.ts.map +1 -1
  190. package/dist/utils/output-markers.d.ts +4 -5
  191. package/dist/utils/output-markers.d.ts.map +1 -1
  192. package/dist/utils/staticPaths.d.ts +5 -0
  193. package/dist/utils/staticPaths.d.ts.map +1 -0
  194. package/dist/utils/staticPaths.js +11 -0
  195. package/dist/utils/staticPaths.js.map +1 -0
  196. package/dist/utils/url.d.ts +4 -5
  197. package/dist/utils/url.d.ts.map +1 -1
  198. package/dist/utils/watchPaths.d.ts +2 -3
  199. package/dist/utils/watchPaths.d.ts.map +1 -1
  200. package/node_modules/tinyexec/dist/main.d.mts +5 -3
  201. package/node_modules/tinyexec/dist/main.mjs +256 -232
  202. package/node_modules/tinyexec/package.json +9 -9
  203. package/package.json +5 -5
  204. package/dist/server/ui/.vite/deps/vue.runtime.esm-bundler-S54atuNJ.js.map +0 -1
@@ -3,7 +3,7 @@ import { ChildNode } from "domhandler";
3
3
  /**
4
4
  * Options for the `shorthandCss` transformer.
5
5
  */
6
- interface ShorthandCssOptions {
6
+ export interface ShorthandCssOptions {
7
7
  /**
8
8
  * Restrict the transform to a list of HTML tag names. Omit to apply to
9
9
  * every element with a `style` attribute.
@@ -12,13 +12,12 @@ interface ShorthandCssOptions {
12
12
  */
13
13
  tags?: string[];
14
14
  }
15
- declare function shorthandCss(html: string, options?: ShorthandCssOptions): string;
15
+ export declare function shorthandCss(html: string, options?: ShorthandCssOptions): string;
16
16
  /**
17
17
  * DOM-form of {@link shorthandCss} used by the internal transformer
18
18
  * pipeline. Takes a parsed DOM, returns a parsed DOM — avoids redundant
19
19
  * serialize/parse round-trips when chained with other transformers.
20
20
  */
21
- declare function shorthandCssDom(dom: ChildNode[], options?: ShorthandCssOptions): ChildNode[];
21
+ export declare function shorthandCssDom(dom: ChildNode[], options?: ShorthandCssOptions): ChildNode[];
22
22
  //#endregion
23
- export { ShorthandCssOptions, shorthandCss, shorthandCssDom };
24
23
  //# sourceMappingURL=shorthandCss.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shorthandCss.d.ts","names":[],"sources":["../../src/transformers/shorthandCss.ts"],"mappings":";;;;;UASiB;;;;;;;EAOf;;iBAwEc,aAAa,cAAc,UAAS;;;;;;iBASpC,gBAAgB,KAAK,aAAa,UAAS,sBAA2B"}
1
+ {"version":3,"file":"shorthandCss.d.ts","names":[],"sources":["../../src/transformers/shorthandCss.ts"],"mappings":";;;;;iBASiB;;;;;;;EAOf;;wBAwEc,aAAa,cAAc,UAAS;;;;;;wBASpC,gBAAgB,KAAK,aAAa,UAAS,sBAA2B"}
@@ -12,13 +12,12 @@ import { ChildNode } from "domhandler";
12
12
  *
13
13
  * const out = sixHex('<font color="#abc">x</font>')
14
14
  */
15
- declare function sixHex(html: string): string;
15
+ export declare function sixHex(html: string): string;
16
16
  /**
17
17
  * DOM-form of {@link sixHex} used by the internal transformer pipeline.
18
18
  * Takes a parsed DOM, returns a parsed DOM — avoids redundant
19
19
  * serialize/parse round-trips when chained with other transformers.
20
20
  */
21
- declare function sixHexDom(dom: ChildNode[]): ChildNode[];
21
+ export declare function sixHexDom(dom: ChildNode[]): ChildNode[];
22
22
  //#endregion
23
- export { sixHex, sixHexDom };
24
23
  //# sourceMappingURL=sixHex.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sixHex.d.ts","names":[],"sources":["../../src/transformers/sixHex.ts"],"mappings":";;;;;;;;;;;;;;iBAkBgB,OAAO;;;;;;iBASP,UAAU,KAAK,cAAc"}
1
+ {"version":3,"file":"sixHex.d.ts","names":[],"sources":["../../src/transformers/sixHex.ts"],"mappings":";;;;;;;;;;;;;;wBAkBgB,OAAO;;;;;;wBASP,UAAU,KAAK,cAAc"}
@@ -9,7 +9,6 @@ import { ChildNode } from "domhandler";
9
9
  * One <style> per outermost block is appended to <head>; marker comments
10
10
  * are stripped after.
11
11
  */
12
- declare function tailwindComponent(dom: ChildNode[], blocks: TailwindBlock[], config: MaizzleConfig, filePath?: string, sourceFiles?: string[]): Promise<ChildNode[]>;
12
+ export declare function tailwindComponent(dom: ChildNode[], blocks: TailwindBlock[], config: MaizzleConfig, filePath?: string, sourceFiles?: string[]): Promise<ChildNode[]>;
13
13
  //#endregion
14
- export { tailwindComponent };
15
14
  //# sourceMappingURL=tailwindComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tailwindComponent.d.ts","names":[],"sources":["../../src/transformers/tailwindComponent.ts"],"mappings":";;;;;;;;;;;iBA2BsB,kBACpB,KAAK,aACL,QAAQ,iBACR,QAAQ,eACR,mBACA,yBACC,QAAQ"}
1
+ {"version":3,"file":"tailwindComponent.d.ts","names":[],"sources":["../../src/transformers/tailwindComponent.ts"],"mappings":";;;;;;;;;;;wBA2BsB,kBACpB,KAAK,aACL,QAAQ,iBACR,QAAQ,eACR,mBACA,yBACC,QAAQ"}
@@ -6,7 +6,7 @@ import { ChildNode } from "domhandler";
6
6
  * is off and only our explicit `@source` directives apply. Skips
7
7
  * imports that already carry a `source(...)` modifier.
8
8
  */
9
- declare function rewriteImportsSourceNone(css: string): string;
9
+ export declare function rewriteImportsSourceNone(css: string): string;
10
10
  /**
11
11
  * Tailwind CSS transformer.
12
12
  *
@@ -24,7 +24,6 @@ declare function rewriteImportsSourceNone(css: string): string;
24
24
  * Runs as the first transformer in the pipeline so that subsequent
25
25
  * transformers (inliner, purge, etc.) work with fully compiled CSS.
26
26
  */
27
- declare function tailwindcss(dom: ChildNode[], config: MaizzleConfig, filePath?: string, sourceFiles?: string[]): Promise<ChildNode[]>;
27
+ export declare function tailwindcss(dom: ChildNode[], config: MaizzleConfig, filePath?: string, sourceFiles?: string[]): Promise<ChildNode[]>;
28
28
  //#endregion
29
- export { rewriteImportsSourceNone, tailwindcss };
30
29
  //# sourceMappingURL=tailwindcss.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tailwindcss.d.ts","names":[],"sources":["../../src/transformers/tailwindcss.ts"],"mappings":";;;;;;;;iBAgKgB,yBAAyB;;;;;;;;;;;;;;;;;;iBAwBnB,YAAY,KAAK,aAAa,QAAQ,eAAe,mBAAmB,yBAAyB,QAAQ"}
1
+ {"version":3,"file":"tailwindcss.d.ts","names":[],"sources":["../../src/transformers/tailwindcss.ts"],"mappings":";;;;;;;;wBAgKgB,yBAAyB;;;;;;;;;;;;;;;;;;wBAwBnB,YAAY,KAAK,aAAa,QAAQ,eAAe,mBAAmB,yBAAyB,QAAQ"}
@@ -23,13 +23,12 @@ import { ChildNode } from "domhandler";
23
23
  * // Restrict to specific tags / attributes:
24
24
  * urlQuery(html, { ref: 'email' }, { tags: ['a', 'img'], attributes: ['href', 'src'] })
25
25
  */
26
- declare function urlQuery(html: string, params?: Record<string, unknown>, options?: UrlQueryOptions): string;
26
+ export declare function urlQuery(html: string, params?: Record<string, unknown>, options?: UrlQueryOptions): string;
27
27
  /**
28
28
  * DOM-form of {@link urlQuery} used by the internal transformer pipeline.
29
29
  * Takes a parsed DOM, returns a parsed DOM — avoids redundant
30
30
  * serialize/parse round-trips when chained with other transformers.
31
31
  */
32
- declare function urlQueryDom(dom: ChildNode[], params?: Record<string, unknown>, options?: UrlQueryOptions): ChildNode[];
32
+ export declare function urlQueryDom(dom: ChildNode[], params?: Record<string, unknown>, options?: UrlQueryOptions): ChildNode[];
33
33
  //#endregion
34
- export { urlQuery, urlQueryDom };
35
34
  //# sourceMappingURL=urlQuery.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"urlQuery.d.ts","names":[],"sources":["../../src/transformers/urlQuery.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;iBAiDgB,SACd,cACA,SAAQ,yBACR,UAAS;;;;;;iBAUK,YACd,KAAK,aACL,SAAQ,yBACR,UAAS,kBACR"}
1
+ {"version":3,"file":"urlQuery.d.ts","names":[],"sources":["../../src/transformers/urlQuery.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;wBAiDgB,SACd,cACA,SAAQ,yBACR,UAAS;;;;;;wBAUK,YACd,KAAK,aACL,SAAQ,yBACR,UAAS,kBACR"}
@@ -6,7 +6,7 @@ import juice from "juice";
6
6
  import { Options } from "unplugin-vue-markdown/types";
7
7
  //#region src/types/config.d.ts
8
8
  type JuiceOptions = NonNullable<Parameters<typeof juice>[1]>;
9
- interface UrlQueryOptions {
9
+ export interface UrlQueryOptions {
10
10
  /**
11
11
  * CSS selectors for elements to process.
12
12
  *
@@ -32,10 +32,10 @@ interface UrlQueryOptions {
32
32
  */
33
33
  qs?: Record<string, unknown>;
34
34
  }
35
- type UrlQuery = Record<string, unknown> & {
35
+ export type UrlQuery = Record<string, unknown> & {
36
36
  _options?: UrlQueryOptions;
37
37
  };
38
- interface UrlConfig {
38
+ export interface UrlConfig {
39
39
  /**
40
40
  * Append query parameters to URLs in your HTML.
41
41
  *
@@ -71,7 +71,7 @@ interface UrlConfig {
71
71
  inlineCss?: boolean;
72
72
  };
73
73
  }
74
- interface CssConfig {
74
+ export interface CssConfig {
75
75
  /**
76
76
  * Base directory for Tailwind CSS `@source` resolution.
77
77
  *
@@ -257,7 +257,7 @@ interface CssConfig {
257
257
  */
258
258
  exclude?: string[];
259
259
  }
260
- interface AttributesConfig {
260
+ export interface AttributesConfig {
261
261
  /**
262
262
  * Add attributes to HTML elements.
263
263
  *
@@ -302,14 +302,14 @@ interface AttributesConfig {
302
302
  value?: string | RegExp;
303
303
  }>;
304
304
  }
305
- type EntitiesConfig = boolean | Record<string, string>;
305
+ export type EntitiesConfig = boolean | Record<string, string>;
306
306
  /**
307
307
  * caniemail.com client family slugs. Maintained manually from
308
308
  * https://www.caniemail.com/api/data.json — update this list when caniemail
309
309
  * adds new clients.
310
310
  */
311
- type CaniemailClient = 'gmail' | 'outlook' | 'yahoo' | 'apple-mail' | 'aol' | 'thunderbird' | 'microsoft' | 'samsung-email' | 'sfr' | 'orange' | 'protonmail' | 'hey' | 'mail-ru' | 'fastmail' | 'laposte' | 't-online-de' | 'free-fr' | 'gmx' | 'web-de' | 'ionos-1and1' | 'rainloop' | 'wp-pl';
312
- interface ChecksConfig {
311
+ export type CaniemailClient = 'gmail' | 'outlook' | 'yahoo' | 'apple-mail' | 'aol' | 'thunderbird' | 'microsoft' | 'samsung-email' | 'sfr' | 'orange' | 'protonmail' | 'hey' | 'mail-ru' | 'fastmail' | 'laposte' | 't-online-de' | 'free-fr' | 'gmx' | 'web-de' | 'ionos-1and1' | 'rainloop' | 'wp-pl';
312
+ export interface ChecksConfig {
313
313
  /**
314
314
  * Client families to check against. Defaults to the four majors:
315
315
  * Gmail, Apple Mail, Outlook, Yahoo. Pass `'all'` to check every client
@@ -325,7 +325,7 @@ interface ChecksConfig {
325
325
  */
326
326
  level?: 'error' | 'warning' | 'lint';
327
327
  }
328
- interface PostcssConfig {
328
+ export interface PostcssConfig {
329
329
  /**
330
330
  * Selector prefixes to strip from compiled CSS.
331
331
  *
@@ -349,7 +349,7 @@ interface PostcssConfig {
349
349
  */
350
350
  removeAtRules?: string[];
351
351
  }
352
- interface HtmlConfig {
352
+ export interface HtmlConfig {
353
353
  /** Configure HTML attribute transformations. */
354
354
  attributes?: AttributesConfig;
355
355
  /**
@@ -376,9 +376,9 @@ interface HtmlConfig {
376
376
  */
377
377
  minify?: boolean | Partial<import('html-crush').Opts>;
378
378
  }
379
- type FilterFunction = (str: string, value: string) => string;
380
- type FiltersConfig = false | Record<string, FilterFunction>;
381
- interface MarkdownConfig extends Options {
379
+ export type FilterFunction = (str: string, value: string) => string;
380
+ export type FiltersConfig = false | Record<string, FilterFunction>;
381
+ export interface MarkdownConfig extends Options {
382
382
  /**
383
383
  * The shiki theme to use for syntax highlighting in Markdown fenced code blocks.
384
384
  *
@@ -386,7 +386,7 @@ interface MarkdownConfig extends Options {
386
386
  */
387
387
  shikiTheme?: import('shiki').BundledTheme;
388
388
  }
389
- interface VueConfig {
389
+ export interface VueConfig {
390
390
  /**
391
391
  * Vue plugins to register on the app instance before rendering.
392
392
  *
@@ -434,7 +434,7 @@ interface VueConfig {
434
434
  * column width math, link inlining) always run; they're driven by markup
435
435
  * or framework state, not user opt-in.
436
436
  */
437
- interface TransformerToggles {
437
+ export interface TransformerToggles {
438
438
  safeSelectors?: boolean;
439
439
  attributeToStyle?: boolean;
440
440
  inlineCss?: boolean;
@@ -457,7 +457,7 @@ interface TransformerToggles {
457
457
  * Control where plaintext files are written, what extension they use,
458
458
  * and the options forwarded to `string-strip-html`.
459
459
  */
460
- interface PlaintextConfig {
460
+ export interface PlaintextConfig {
461
461
  /**
462
462
  * Output directory for plaintext files. When omitted, files are written
463
463
  * next to their HTML counterpart in `build.output.path`.
@@ -486,7 +486,7 @@ interface PlaintextConfig {
486
486
  * `pathPrefix: false`, intermediate subfolders are dropped from the
487
487
  * resolved name (useful for icon sets organized by category).
488
488
  */
489
- type ComponentSource = string | {
489
+ export type ComponentSource = string | {
490
490
  /** Directory to scan, resolved relative to `cwd`. */
491
491
  path: string;
492
492
  /**
@@ -504,7 +504,7 @@ type ComponentSource = string | {
504
504
  */
505
505
  pathPrefix?: boolean;
506
506
  };
507
- interface MaizzleConfig {
507
+ export interface MaizzleConfig {
508
508
  /**
509
509
  * Root directory for the Maizzle email project.
510
510
  *
@@ -822,5 +822,4 @@ interface MaizzleConfig {
822
822
  [key: string]: any;
823
823
  }
824
824
  //#endregion
825
- export { AttributesConfig, CaniemailClient, ChecksConfig, ComponentSource, CssConfig, EntitiesConfig, FilterFunction, FiltersConfig, HtmlConfig, MaizzleConfig, MarkdownConfig, PlaintextConfig, PostcssConfig, TransformerToggles, UrlConfig, UrlQuery, UrlQueryOptions, VueConfig };
826
825
  //# sourceMappingURL=config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","names":[],"sources":["../../src/types/config.ts"],"mappings":";;;;;;;KAKK,eAAe,YAAY,kBAAkB;UAGjC;;;;;;EAMf;;;;;;EAMA;;;;;;EAMA;;;;;;EAMA,KAAK;;KAGK,WAAW;EACrB,WAAW;;UAGI;;;;;;;;;;;;EAYf,QAAQ;;;;;;;;;;;EAWR;;IAEE;;IAEA,kBAAkB,eAAe;;IAEjC,aAAa;;IAEb;;IAEA;;;UAIa;;;;;;EAMf;;;;;;;;;;;EAWA;;;;;;;;EAQA,kBAAkB;;;;;;;;;;;;;;EAclB,mBAAmB;;;;;;;IAOjB;;;;;;IAMA;;;;;;;IAOA;;;;;;;;;;;;IAYA,mBAAmB;;;;;;;IAOnB;;;;;;;IAOA;;;;;;;IAOA;;;;;;;IAOA,aAAa;MAAiB;MAAe;;;;;;IAK7C;;;;;;;;;;;;;;EAcF;;;;;;IAME,4CAA4C,WAAW;;;;;;;;;EASzD;;;;;;EAMA,iBAAiB;;;;;;;;EAQjB;IAAwB;;;;;;;;;EAQxB;;;;;;;;;;;EAWA,qBAAqB,eA3BJ;;;;;;;;;;;;;EAwCjB;;UAGe;;;;;;;;;;;;;;;;;;EAkBf,cAAc,uBAAuB;;;;;;;;;;;;;;;;;;;;;;EAsBrC,SAAS;IAAiB;IAAc,iBAAiB;;;KAG/C,2BAA2B;;;;;;KAO3B;UAOK;;;;;;EAMf,UAAU;;;;;;;;EAQV;;UAGe;;;;;;;;;;;EAWf;;;;;;;;;;;EAWA;;UAGe;;EAEf,aAAa;;;;;;;;EAQb,iBAAiB;;;;;;EAMjB,mCAAmC;;;;;;;;;EASnC,mBAAmB,6BAA6B;;KAGtC,kBAAkB,aAAa;KAC/B,wBA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region src/utils/ast/parser.d.ts
3
- declare function parse(html: string, options?: DomHandlerOptions): ChildNode[];
3
+ export declare function parse(html: string, options?: DomHandlerOptions): ChildNode[];
4
4
  //#endregion
5
- export { parse };
6
5
  //# sourceMappingURL=parser.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"parser.d.ts","names":[],"sources":["../../../src/utils/ast/parser.ts"],"mappings":";;iBAIgB,MAAM,cAAc,UAAS,oBAAyB"}
1
+ {"version":3,"file":"parser.d.ts","names":[],"sources":["../../../src/utils/ast/parser.ts"],"mappings":";;wBAIgB,MAAM,cAAc,UAAS,oBAAyB"}
@@ -1,7 +1,6 @@
1
1
  import { ChildNode } from "domhandler";
2
2
  import { DomSerializerOptions } from "dom-serializer";
3
3
  //#region src/utils/ast/serializer.d.ts
4
- declare function serialize(dom: ChildNode[], options?: DomSerializerOptions): string;
4
+ export declare function serialize(dom: ChildNode[], options?: DomSerializerOptions): string;
5
5
  //#endregion
6
- export { serialize };
7
6
  //# sourceMappingURL=serializer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"serializer.d.ts","names":[],"sources":["../../../src/utils/ast/serializer.ts"],"mappings":";;;iBA0CgB,UAAU,KAAK,aAAa,UAAU"}
1
+ {"version":3,"file":"serializer.d.ts","names":[],"sources":["../../../src/utils/ast/serializer.ts"],"mappings":";;;wBA0CgB,UAAU,KAAK,aAAa,UAAU"}
@@ -1,6 +1,5 @@
1
1
  import { ChildNode } from "domhandler";
2
2
  //#region src/utils/ast/walker.d.ts
3
- declare function walk(ast: ChildNode[], callback: (node: ChildNode) => void): void;
3
+ export declare function walk(ast: ChildNode[], callback: (node: ChildNode) => void): void;
4
4
  //#endregion
5
- export { walk };
6
5
  //# sourceMappingURL=walker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"walker.d.ts","names":[],"sources":["../../../src/utils/ast/walker.ts"],"mappings":";;iBAEgB,KAAK,KAAK,aAAa,WAAW,MAAM"}
1
+ {"version":3,"file":"walker.d.ts","names":[],"sources":["../../../src/utils/ast/walker.ts"],"mappings":";;wBAEgB,KAAK,KAAK,aAAa,WAAW,MAAM"}
@@ -7,7 +7,6 @@
7
7
  * what `beforeRender` mutations (`config.url.base`, `config.css.inline`, …)
8
8
  * touch. Sharing arrays by reference matches the parallel worker's merge.
9
9
  */
10
- declare function cloneConfig<T>(value: T): T;
10
+ export declare function cloneConfig<T>(value: T): T;
11
11
  //#endregion
12
- export { cloneConfig };
13
12
  //# sourceMappingURL=cloneConfig.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cloneConfig.d.ts","names":[],"sources":["../../src/utils/cloneConfig.ts"],"mappings":";;;;;;;;;iBAQgB,YAAY,GAAG,OAAO,IAAI"}
1
+ {"version":3,"file":"cloneConfig.d.ts","names":[],"sources":["../../src/utils/cloneConfig.ts"],"mappings":";;;;;;;;;wBAQgB,YAAY,GAAG,OAAO,IAAI"}
@@ -2,15 +2,14 @@ import { MaizzleConfig } from "../types/config.js";
2
2
  import { GradientCombo } from "../plugins/postcss/flattenGradients.js";
3
3
  import postcss from "postcss";
4
4
  //#region src/utils/compileTailwindCss.d.ts
5
- declare function createTailwindProcessor(config: MaizzleConfig, gradientCombos?: GradientCombo[]): postcss.Processor;
6
- declare function lowerCssSyntax(css: string): string;
7
- declare function optimizeTailwindCss(css: string, config: MaizzleConfig): Promise<string>;
5
+ export declare function createTailwindProcessor(config: MaizzleConfig, gradientCombos?: GradientCombo[]): postcss.Processor;
6
+ export declare function lowerCssSyntax(css: string): string;
7
+ export declare function optimizeTailwindCss(css: string, config: MaizzleConfig): Promise<string>;
8
8
  /**
9
9
  * Compile a Tailwind CSS source string into final email-safe CSS:
10
10
  * runs @tailwindcss/postcss, lowers modern syntax via lightningcss,
11
11
  * then applies cleanup + media-query merging.
12
12
  */
13
- declare function compileTailwindCss(cssInput: string, config: MaizzleConfig, from: string, gradientCombos?: GradientCombo[]): Promise<string>;
13
+ export declare function compileTailwindCss(cssInput: string, config: MaizzleConfig, from: string, gradientCombos?: GradientCombo[]): Promise<string>;
14
14
  //#endregion
15
- export { compileTailwindCss, createTailwindProcessor, lowerCssSyntax, optimizeTailwindCss };
16
15
  //# sourceMappingURL=compileTailwindCss.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"compileTailwindCss.d.ts","names":[],"sources":["../../src/utils/compileTailwindCss.ts"],"mappings":";;;;iBAcgB,wBAAwB,QAAQ,eAAe,iBAAgB,kBAAoB,QAAA;iBAkBnF,eAAe;iBAWT,oBAAoB,aAAa,QAAQ,gBAAgB;;;;;;iBAgBzD,mBACpB,kBACA,QAAQ,eACR,cACA,iBAAgB,kBACf"}
1
+ {"version":3,"file":"compileTailwindCss.d.ts","names":[],"sources":["../../src/utils/compileTailwindCss.ts"],"mappings":";;;;wBAcgB,wBAAwB,QAAQ,eAAe,iBAAgB,kBAAoB,QAAA;wBAkBnF,eAAe;wBAWT,oBAAoB,aAAa,QAAQ,gBAAgB;;;;;;wBAgBzD,mBACpB,kBACA,QAAQ,eACR,cACA,iBAAgB,kBACf"}
@@ -5,7 +5,7 @@ import { ComponentSource } from "../types/config.js";
5
5
  * resolved and `path` is made absolute. Always carries the same shape
6
6
  * regardless of which user-facing form produced it.
7
7
  */
8
- interface NormalizedComponentSource {
8
+ export interface NormalizedComponentSource {
9
9
  /** Absolute directory path. */
10
10
  path: string;
11
11
  /**
@@ -23,8 +23,8 @@ interface NormalizedComponentSource {
23
23
  * Normalize a user-supplied `components.source` value into an array
24
24
  * of absolute, fully-defaulted entries.
25
25
  */
26
- declare function normalizeComponentSources(sources: ComponentSource | ComponentSource[] | undefined, cwd: string): NormalizedComponentSource[];
27
- interface ComponentNameOptions {
26
+ export declare function normalizeComponentSources(sources: ComponentSource | ComponentSource[] | undefined, cwd: string): NormalizedComponentSource[];
27
+ export interface ComponentNameOptions {
28
28
  /** Absolute path to the component file. */
29
29
  filePath: string;
30
30
  /** Absolute path to the dir root the component was discovered under. */
@@ -43,7 +43,6 @@ interface ComponentNameOptions {
43
43
  * Used both at render time (to register a custom resolver) and at lint
44
44
  * time (so the linter can follow component graph correctly).
45
45
  */
46
- declare function componentNameFromPath(opts: ComponentNameOptions): string;
46
+ export declare function componentNameFromPath(opts: ComponentNameOptions): string;
47
47
  //#endregion
48
- export { ComponentNameOptions, NormalizedComponentSource, componentNameFromPath, normalizeComponentSources };
49
48
  //# sourceMappingURL=componentSources.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"componentSources.d.ts","names":[],"sources":["../../src/utils/componentSources.ts"],"mappings":";;;;;;;UAQiB;;EAEf;;;;;;;;EAQA;;EAEA;;;;;;iBAOc,0BACd,SAAS,kBAAkB,+BAC3B,cACC;UAqBc;;EAEf;;EAEA;;EAEA;;EAEA;;;;;;;;;;;iBAYc,sBAAsB,MAAM"}
1
+ {"version":3,"file":"componentSources.d.ts","names":[],"sources":["../../src/utils/componentSources.ts"],"mappings":";;;;;;;iBAQiB;;EAEf;;;;;;;;EAQA;;EAEA;;;;;;wBAOc,0BACd,SAAS,kBAAkB,+BAC3B,cACC;iBAqBc;;EAEf;;EAEA;;EAEA;;EAEA;;;;;;;;;;;wBAYc,sBAAsB,MAAM"}
@@ -1,12 +1,12 @@
1
1
  import { Root } from "postcss";
2
2
  //#region src/utils/cssBox.d.ts
3
- declare const NO_BORDER_STYLES: Set<string>;
3
+ export declare const NO_BORDER_STYLES: Set<string>;
4
4
  /**
5
5
  * Parse a length token into px. Handles `Npx`, `Nrem`, `Nem`, `Npt`, and
6
6
  * unitless N (treated as px). Returns null for percentages, calc(),
7
7
  * keywords, or anything that doesn't reduce to a concrete length.
8
8
  */
9
- declare function lengthToPx(value: string): number | null;
9
+ export declare function lengthToPx(value: string): number | null;
10
10
  /**
11
11
  * Expand a 1-4 token CSS shorthand (T R B L) into a left/right pair:
12
12
  * 1: all sides
@@ -14,7 +14,7 @@ declare function lengthToPx(value: string): number | null;
14
14
  * 3: T RL B
15
15
  * 4: T R B L
16
16
  */
17
- declare function shorthandSides(value: string): {
17
+ export declare function shorthandSides(value: string): {
18
18
  left?: string;
19
19
  right?: string;
20
20
  };
@@ -22,20 +22,19 @@ declare function shorthandSides(value: string): {
22
22
  * Read horizontal padding (left + right) px from a parsed style root.
23
23
  * Percentages are skipped since they'd need a known container width.
24
24
  */
25
- declare function horizontalPaddingPx(root: Root): number;
25
+ export declare function horizontalPaddingPx(root: Root): number;
26
26
  /**
27
27
  * Extract a px length from a CSS border shorthand (e.g. `1px solid red` → 1).
28
28
  * Returns null when the value indicates no border (`none` or `hidden`).
29
29
  * Defaults to 3px (CSS `medium`) when a visible style is set but no
30
30
  * explicit width token is present in the shorthand value.
31
31
  */
32
- declare function shorthandBorderWidthPx(value: string): number | null;
32
+ export declare function shorthandBorderWidthPx(value: string): number | null;
33
33
  /**
34
34
  * Read horizontal border widths (left + right) px from a parsed style root.
35
35
  * Per-side `border-style: none|hidden` overrides count as zero
36
36
  * contribution. Returns total px or 0 when nothing resolves.
37
37
  */
38
- declare function horizontalBorderPx(root: Root): number;
38
+ export declare function horizontalBorderPx(root: Root): number;
39
39
  //#endregion
40
- export { NO_BORDER_STYLES, horizontalBorderPx, horizontalPaddingPx, lengthToPx, shorthandBorderWidthPx, shorthandSides };
41
40
  //# sourceMappingURL=cssBox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cssBox.d.ts","names":[],"sources":["../../src/utils/cssBox.ts"],"mappings":";;cAEa,kBAAgB;;;;;;iBAOb,WAAW;;;;;;;;iBAeX,eAAe;EAAkB;EAAe;;;;;;iBAehD,oBAAoB,MAAM;;;;;;;iBA8B1B,uBAAuB;;;;;;iBAevB,mBAAmB,MAAM"}
1
+ {"version":3,"file":"cssBox.d.ts","names":[],"sources":["../../src/utils/cssBox.ts"],"mappings":";;qBAEa,kBAAgB;;;;;;wBAOb,WAAW;;;;;;;;wBAeX,eAAe;EAAkB;EAAe;;;;;;wBAehD,oBAAoB,MAAM;;;;;;;wBA8B1B,uBAAuB;;;;;;wBAevB,mBAAmB,MAAM"}
@@ -9,7 +9,6 @@
9
9
  * `&amp;` is decoded last so previously-decoded entities are not
10
10
  * re-processed.
11
11
  */
12
- declare function decodeStyleEntities(s: string): string;
12
+ export declare function decodeStyleEntities(s: string): string;
13
13
  //#endregion
14
- export { decodeStyleEntities };
15
14
  //# sourceMappingURL=decodeStyleEntities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"decodeStyleEntities.d.ts","names":[],"sources":["../../src/utils/decodeStyleEntities.ts"],"mappings":";;;;;;;;;;;iBAUgB,oBAAoB"}
1
+ {"version":3,"file":"decodeStyleEntities.d.ts","names":[],"sources":["../../src/utils/decodeStyleEntities.ts"],"mappings":";;;;;;;;;;;wBAUgB,oBAAoB"}
@@ -1,5 +1,4 @@
1
1
  //#region src/utils/detect.d.ts
2
- declare function isLaravel(cwd?: string): boolean;
2
+ export declare function isLaravel(cwd?: string): boolean;
3
3
  //#endregion
4
- export { isLaravel };
5
4
  //# sourceMappingURL=detect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"detect.d.ts","names":[],"sources":["../../src/utils/detect.ts"],"mappings":";iBAGgB,UAAU"}
1
+ {"version":3,"file":"detect.d.ts","names":[],"sources":["../../src/utils/detect.ts"],"mappings":";wBAGgB,UAAU"}
@@ -5,8 +5,8 @@
5
5
  * can route their slot content to one output and remove it
6
6
  * entirely from the other.
7
7
  */
8
- declare const PLAINTEXT_ONLY_ATTR = "data-maizzle-plaintext-only";
9
- declare const HTML_ONLY_ATTR = "data-maizzle-html-only";
8
+ export declare const PLAINTEXT_ONLY_ATTR = "data-maizzle-plaintext-only";
9
+ export declare const HTML_ONLY_ATTR = "data-maizzle-html-only";
10
10
  /**
11
11
  * Strip output markers for the HTML output: drop plaintext-only
12
12
  * subtrees entirely, unwrap html-only wrappers (keep children).
@@ -15,7 +15,7 @@ declare const HTML_ONLY_ATTR = "data-maizzle-html-only";
15
15
  * the post-transformer formatting (prettify, XHTML self-closing
16
16
  * slashes, etc.) survives intact for the typical case.
17
17
  */
18
- declare function stripForHtml(html: string): string;
18
+ export declare function stripForHtml(html: string): string;
19
19
  /**
20
20
  * Strip output markers for the plaintext source: drop html-only
21
21
  * subtrees entirely, unwrap plaintext-only wrappers (keep children).
@@ -23,7 +23,6 @@ declare function stripForHtml(html: string): string;
23
23
  * The result is fed to `createPlaintext`, which then strips all
24
24
  * remaining tags via `string-strip-html`.
25
25
  */
26
- declare function stripForPlaintext(html: string): string;
26
+ export declare function stripForPlaintext(html: string): string;
27
27
  //#endregion
28
- export { HTML_ONLY_ATTR, PLAINTEXT_ONLY_ATTR, stripForHtml, stripForPlaintext };
29
28
  //# sourceMappingURL=output-markers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"output-markers.d.ts","names":[],"sources":["../../src/utils/output-markers.ts"],"mappings":";;;;;;;cASa;cACA;;;;;;;;;iBA+CG,aAAa;;;;;;;;iBAgBb,kBAAkB"}
1
+ {"version":3,"file":"output-markers.d.ts","names":[],"sources":["../../src/utils/output-markers.ts"],"mappings":";;;;;;;qBASa;qBACA;;;;;;;;;wBA+CG,aAAa;;;;;;;;wBAgBb,kBAAkB"}
@@ -0,0 +1,5 @@
1
+ //#region src/utils/staticPaths.d.ts
2
+ /** Absolute static (non-glob) prefix of a source pattern, used as the strip base. */
3
+ export declare function staticBase(pattern: string): string;
4
+ //#endregion
5
+ //# sourceMappingURL=staticPaths.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"staticPaths.d.ts","names":[],"sources":["../../src/utils/staticPaths.ts"],"mappings":";;wBAGgB,WAAW"}
@@ -0,0 +1,11 @@
1
+ import { dirname, resolve } from "node:path";
2
+ //#region src/utils/staticPaths.ts
3
+ /** Absolute static (non-glob) prefix of a source pattern, used as the strip base. */
4
+ function staticBase(pattern) {
5
+ const staticPart = pattern.split(/[*{?[]/)[0];
6
+ return resolve(/[/\\]$/.test(staticPart) ? staticPart : dirname(staticPart));
7
+ }
8
+ //#endregion
9
+ export { staticBase };
10
+
11
+ //# sourceMappingURL=staticPaths.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"staticPaths.js","names":[],"sources":["../../src/utils/staticPaths.ts"],"sourcesContent":["import { dirname, resolve } from 'node:path'\n\n/** Absolute static (non-glob) prefix of a source pattern, used as the strip base. */\nexport function staticBase(pattern: string): string {\n const staticPart = pattern.split(/[*{?[]/)[0]\n // Treat both separators as trailing: resolved patterns use '\\' on Windows.\n return resolve(/[/\\\\]$/.test(staticPart) ? staticPart : dirname(staticPart))\n}\n"],"mappings":";;;AAGA,SAAgB,WAAW,SAAyB;CAClD,MAAM,aAAa,QAAQ,MAAM,QAAQ,CAAC,CAAC;CAE3C,OAAO,QAAQ,SAAS,KAAK,UAAU,IAAI,aAAa,QAAQ,UAAU,CAAC;AAC7E"}
@@ -1,8 +1,7 @@
1
1
  //#region src/utils/url.d.ts
2
- declare const defaultTags: Record<string, string[]>;
3
- declare const urlAttributes: string[];
4
- declare function isAbsoluteUrl(url: string): boolean;
5
- declare function processSrcset(srcset: string, baseUrl: string): string;
2
+ export declare const defaultTags: Record<string, string[]>;
3
+ export declare const urlAttributes: string[];
4
+ export declare function isAbsoluteUrl(url: string): boolean;
5
+ export declare function processSrcset(srcset: string, baseUrl: string): string;
6
6
  //#endregion
7
- export { defaultTags, isAbsoluteUrl, processSrcset, urlAttributes };
8
7
  //# sourceMappingURL=url.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"url.d.ts","names":[],"sources":["../../src/utils/url.ts"],"mappings":";cAEa,aAAa;cAcb;iBAEG,cAAc;iBAMd,cAAc,gBAAgB"}
1
+ {"version":3,"file":"url.d.ts","names":[],"sources":["../../src/utils/url.ts"],"mappings":";qBAEa,aAAa;qBAcb;wBAEG,cAAc;wBAMd,cAAc,gBAAgB"}
@@ -10,7 +10,7 @@
10
10
  * as-is — it treats a lone negated pattern as "everything except", which
11
11
  * under `some()` would make the predicate true for almost every file.
12
12
  */
13
- declare function createWatchedFileMatcher(patterns: string[], cwd: string): (file: string) => boolean;
13
+ export declare function createWatchedFileMatcher(patterns: string[], cwd: string): (file: string) => boolean;
14
14
  /**
15
15
  * Derive the directories the dev server watcher must cover explicitly now
16
16
  * that its Vite root is the dev UI directory, not the project cwd: the
@@ -26,7 +26,7 @@ declare function createWatchedFileMatcher(patterns: string[], cwd: string): (fil
26
26
  * it. Content patterns cannot hit that fallback — they arrive from
27
27
  * `resolveConfig` already resolved against the (absolute) root.
28
28
  */
29
- declare function deriveWatchRoots(options: {
29
+ export declare function deriveWatchRoots(options: {
30
30
  content: string[];
31
31
  componentDirs: string[];
32
32
  root?: string;
@@ -34,5 +34,4 @@ declare function deriveWatchRoots(options: {
34
34
  cwd: string;
35
35
  }): string[];
36
36
  //#endregion
37
- export { createWatchedFileMatcher, deriveWatchRoots };
38
37
  //# sourceMappingURL=watchPaths.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"watchPaths.d.ts","names":[],"sources":["../../src/utils/watchPaths.ts"],"mappings":";;;;;;;;;;;;iBAagB,yBAAyB,oBAAoB,eAInD;;;;;;;;;;;;;;;;iBAqBM,iBAAiB;EAC/B;EACA;EACA;EACA;EACA"}
1
+ {"version":3,"file":"watchPaths.d.ts","names":[],"sources":["../../src/utils/watchPaths.ts"],"mappings":";;;;;;;;;;;;wBAagB,yBAAyB,oBAAoB,eAInD;;;;;;;;;;;;;;;;wBAqBM,iBAAiB;EAC/B;EACA;EACA;EACA;EACA"}
@@ -1,6 +1,5 @@
1
1
  import { ChildProcess, SpawnOptions, SpawnSyncOptions } from "node:child_process";
2
2
  import { Readable } from "node:stream";
3
-
4
3
  //#region src/normalize.d.ts
5
4
  interface NormalizedSpawnCommand {
6
5
  command: string;
@@ -19,8 +18,9 @@ declare function normalizeSpawnCommand(command: string, args?: readonly string[]
19
18
  declare class NonZeroExitError extends Error {
20
19
  readonly result: CommonOutputApi;
21
20
  readonly output?: Output | undefined;
22
- get exitCode(): number | undefined;
23
- constructor(result: CommonOutputApi, output?: Output | undefined);
21
+ readonly exitCode: number;
22
+ get signalCode(): string | null;
23
+ constructor(result: CommonOutputApi, output?: Output | undefined, command?: string, args?: readonly string[]);
24
24
  }
25
25
  //#endregion
26
26
  //#region src/main.d.ts
@@ -35,6 +35,7 @@ interface CommonOutputApi {
35
35
  get pid(): number | undefined;
36
36
  get killed(): boolean;
37
37
  get exitCode(): number | undefined;
38
+ get signalCode(): string | null;
38
39
  }
39
40
  interface OutputApi extends AsyncIterable<string>, CommonOutputApi {
40
41
  process: ChildProcess | undefined;
@@ -74,6 +75,7 @@ declare class ExecProcess implements Result {
74
75
  get process(): ChildProcess | undefined;
75
76
  get pid(): number | undefined;
76
77
  get exitCode(): number | undefined;
78
+ get signalCode(): string | null;
77
79
  constructor(command: string, args?: readonly string[], options?: Partial<Options>);
78
80
  kill(signal?: KillSignal): boolean;
79
81
  get aborted(): boolean;