@immense/vue-pom-generator 1.0.82 → 1.0.84

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 (56) hide show
  1. package/RELEASE_NOTES.md +54 -54
  2. package/class-generation/playwright-types.ts +120 -2
  3. package/dist/class-generation/playwright-types.d.ts +256 -2
  4. package/dist/class-generation/playwright-types.d.ts.map +1 -1
  5. package/dist/compiler-metadata-utils.d.ts.map +1 -1
  6. package/dist/eslint.config.d.ts.map +1 -1
  7. package/dist/index.cjs +37 -41
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.mjs +37 -41
  10. package/dist/index.mjs.map +1 -1
  11. package/dist/plugin/runtime/annotator/client.d.ts +13 -0
  12. package/dist/plugin/runtime/annotator/client.d.ts.map +1 -1
  13. package/dist/plugin/runtime/annotator/format.d.ts.map +1 -1
  14. package/dist/plugin/runtime/annotator/plugin.d.ts +16 -0
  15. package/dist/plugin/runtime/annotator/plugin.d.ts.map +1 -1
  16. package/dist/plugin/runtime/annotator/text-utils.d.ts +15 -0
  17. package/dist/plugin/runtime/annotator/text-utils.d.ts.map +1 -0
  18. package/dist/plugin/runtime/annotator/vue-detector.d.ts +49 -0
  19. package/dist/plugin/runtime/annotator/vue-detector.d.ts.map +1 -1
  20. package/dist/pom-discoverability.d.ts.map +1 -1
  21. package/dist/pom-patterns.d.ts +28 -4
  22. package/dist/pom-patterns.d.ts.map +1 -1
  23. package/dist/tests/annotator-runtime-helpers.test.d.ts +2 -0
  24. package/dist/tests/annotator-runtime-helpers.test.d.ts.map +1 -0
  25. package/dist/tests/broad/accessibility-audit-ts.test.d.ts +2 -0
  26. package/dist/tests/broad/accessibility-audit-ts.test.d.ts.map +1 -0
  27. package/dist/tests/broad/class-generation-base-page-ts.test.d.ts +2 -0
  28. package/dist/tests/broad/class-generation-base-page-ts.test.d.ts.map +1 -0
  29. package/dist/tests/broad/compiler-metadata-utils-ts.test.d.ts +2 -0
  30. package/dist/tests/broad/compiler-metadata-utils-ts.test.d.ts.map +1 -0
  31. package/dist/tests/broad/helpers/fake-runtime.d.ts +162 -0
  32. package/dist/tests/broad/helpers/fake-runtime.d.ts.map +1 -0
  33. package/dist/tests/broad/manifest-generator-ts.test.d.ts +2 -0
  34. package/dist/tests/broad/manifest-generator-ts.test.d.ts.map +1 -0
  35. package/dist/tests/broad/metadata-collector-ts.test.d.ts +2 -0
  36. package/dist/tests/broad/metadata-collector-ts.test.d.ts.map +1 -0
  37. package/dist/tests/broad/plugin-logger-ts.test.d.ts +2 -0
  38. package/dist/tests/broad/plugin-logger-ts.test.d.ts.map +1 -0
  39. package/dist/tests/broad/plugin-resolved-generation-options-ts.test.d.ts +2 -0
  40. package/dist/tests/broad/plugin-resolved-generation-options-ts.test.d.ts.map +1 -0
  41. package/dist/tests/broad/plugin-runtime-annotator-format-ts.test.d.ts +2 -0
  42. package/dist/tests/broad/plugin-runtime-annotator-format-ts.test.d.ts.map +1 -0
  43. package/dist/tests/broad/typescript-codegen-ts.test.d.ts +2 -0
  44. package/dist/tests/broad/typescript-codegen-ts.test.d.ts.map +1 -0
  45. package/dist/tests/helpers/typed-mocks.d.ts +58 -0
  46. package/dist/tests/helpers/typed-mocks.d.ts.map +1 -0
  47. package/dist/transform.d.ts +36 -5
  48. package/dist/transform.d.ts.map +1 -1
  49. package/dist/utils.d.ts +261 -2
  50. package/dist/utils.d.ts.map +1 -1
  51. package/package.json +1 -1
  52. package/plugin/runtime/annotator/client.ts +24 -12
  53. package/plugin/runtime/annotator/format.ts +5 -7
  54. package/plugin/runtime/annotator/plugin.ts +24 -6
  55. package/plugin/runtime/annotator/text-utils.ts +23 -0
  56. package/plugin/runtime/annotator/vue-detector.ts +56 -0
@@ -5,6 +5,16 @@ export interface AnnotatorClientOptions extends VueDetectorOptions {
5
5
  copyToClipboard: boolean;
6
6
  showComponentTree: boolean;
7
7
  }
8
+ /**
9
+ * The primary side of a Floating UI placement token (e.g. `"top"` from
10
+ * `"top-start"`). Used to derive the static side opposite the arrow. This
11
+ * splits a CSS placement token on its separator, not source code.
12
+ *
13
+ * @example
14
+ * placementPrimarySide("top-start") // "top"
15
+ * placementPrimarySide("right") // "right"
16
+ */
17
+ declare function placementPrimarySide(placement: string): string;
8
18
  declare class AnnotatorRuntime {
9
19
  private readonly options;
10
20
  private readonly settings;
@@ -63,5 +73,8 @@ declare class AnnotatorRuntime {
63
73
  private showToast;
64
74
  }
65
75
  export declare function mountAnnotatorClient(options: AnnotatorClientOptions): AnnotatorRuntime;
76
+ export declare const __internal: {
77
+ placementPrimarySide: typeof placementPrimarySide;
78
+ };
66
79
  export {};
67
80
  //# sourceMappingURL=client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../plugin/runtime/annotator/client.ts"],"names":[],"mappings":"AAEA,OAAO,EAA8E,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAEzH,OAAO,EAA2B,KAAK,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAElF,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB;IAChE,YAAY,EAAE,YAAY,CAAC;IAC3B,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAgPD,cAAM,gBAAgB;IACpB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAyB;IACjD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoB;IAC7C,OAAO,CAAC,WAAW,CAA0B;IAC7C,OAAO,CAAC,cAAc,CAAwB;IAC9C,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,iBAAiB,CAAiC;IAC1D,OAAO,CAAC,mBAAmB,CAAuB;IAClD,OAAO,CAAC,SAAS,CAAkB;IACnC,OAAO,CAAC,aAAa,CAAkB;IACvC,OAAO,CAAC,YAAY,CAAkB;IACtC,OAAO,CAAC,WAAW,CAAkB;IACrC,OAAO,CAAC,gBAAgB,CAAkB;IAC1C,OAAO,CAAC,QA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CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AASD,wBAAgB,iBAAiB,CAC/B,WAAW,EAAE,mBAAmB,EAAE,EAClC,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,MAAM,GACd,MAAM,CA8CR;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,mBAAmB,EAC/B,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,MAAM,GACd,MAAM,CAIR"}
1
+ {"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../plugin/runtime/annotator/format.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,UAAU,CAAC;AAEnD,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,iBAAiB,CAC/B,WAAW,EAAE,mBAAmB,EAAE,EAClC,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,MAAM,GACd,MAAM,CA8CR;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,mBAAmB,EAC/B,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,MAAM,GACd,MAAM,CAOR"}
@@ -8,5 +8,21 @@ export interface ResolvedAnnotatorUiOptions {
8
8
  copyToClipboard: boolean;
9
9
  showComponentTree: boolean;
10
10
  }
11
+ /**
12
+ * Normalize Windows backslash path separators to POSIX forward slashes.
13
+ *
14
+ * Used to build Vite `/@fs/` import URLs and to compare entry-path suffixes
15
+ * consistently across platforms. This is path-separator normalization, not
16
+ * source-code parsing.
17
+ *
18
+ * @example
19
+ * normalizePathSeparators("src\\widgets\\Item.vue") // "src/widgets/Item.vue"
20
+ * normalizePathSeparators("src/widgets/Item.vue") // "src/widgets/Item.vue"
21
+ */
22
+ declare function normalizePathSeparators(filePath: string): string;
11
23
  export declare function createAnnotatorUiPlugin(options: ResolvedAnnotatorUiOptions): Plugin;
24
+ export declare const __internal: {
25
+ normalizePathSeparators: typeof normalizePathSeparators;
26
+ };
27
+ export {};
12
28
  //# sourceMappingURL=plugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../plugin/runtime/annotator/plugin.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAqB,MAAM,EAAE,MAAM,MAAM,CAAC;AAEtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,uBAAuB,EAAE,MAAM,CAAC;IAChC,YAAY,EAAE,YAAY,CAAC;IAC3B,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AA+BD,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,0BAA0B,GAAG,MAAM,CAkEnF"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../plugin/runtime/annotator/plugin.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAqB,MAAM,EAAE,MAAM,MAAM,CAAC;AAEtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,uBAAuB,EAAE,MAAM,CAAC;IAChC,YAAY,EAAE,YAAY,CAAC;IAC3B,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAYD;;;;;;;;;;GAUG;AACH,iBAAS,uBAAuB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAIzD;AAmBD,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,0BAA0B,GAAG,MAAM,CAgEnF;AAGD,eAAO,MAAM,UAAU;;CAEtB,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Normalize a UI display string: collapse whitespace runs to single spaces,
3
+ * trim the ends, and return `undefined` for blank input.
4
+ *
5
+ * Returns `undefined` when `value` is itself `undefined` or collapses to empty,
6
+ * so callers can use a simple truthiness check to decide whether to render a
7
+ * line. This is display-text normalization, not source-code parsing.
8
+ *
9
+ * @example
10
+ * normalizeInlineText(" foo\n bar ") // "foo bar"
11
+ * normalizeInlineText(" ") // undefined
12
+ * normalizeInlineText(undefined) // undefined
13
+ */
14
+ export declare function normalizeInlineText(value: string | undefined): string | undefined;
15
+ //# sourceMappingURL=text-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-utils.d.ts","sourceRoot":"","sources":["../../../../plugin/runtime/annotator/text-utils.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAKjF"}
@@ -7,6 +7,55 @@ export interface ResolvedVueComponentInfo {
7
7
  source?: string;
8
8
  formatted?: string;
9
9
  }
10
+ /**
11
+ * Strip a trailing `:line:column` position from a component file path (e.g.
12
+ * `src/Foo.vue:12:3` → `src/Foo.vue`). Operates on a runtime file-path string,
13
+ * not source code.
14
+ *
15
+ * @example
16
+ * stripSourcePosition("src/Foo.vue:12:3") // "src/Foo.vue"
17
+ * stripSourcePosition("src/Foo.vue") // "src/Foo.vue"
18
+ */
19
+ declare function stripSourcePosition(sourcePath: string): string;
20
+ /**
21
+ * Derive a component name from its file path, or `null` when none can be
22
+ * determined. Operates on a runtime file-path string, not source code.
23
+ *
24
+ * @example
25
+ * inferNameFromFile("src/widgets/Item.vue") // "Item"
26
+ * inferNameFromFile("src/widgets/Item.vue:4:2") // "Item"
27
+ * inferNameFromFile("") // null
28
+ */
29
+ declare function inferNameFromFile(filePath: string): string | null;
30
+ /**
31
+ * Whether a runtime component tag looks like a real Vue component — PascalCase
32
+ * or kebab-case — rather than a plain HTML element. Operates on a runtime tag
33
+ * string, not source code.
34
+ *
35
+ * @example
36
+ * isComponentLikeSourceTag("UserCard") // true
37
+ * isComponentLikeSourceTag("my-button") // true
38
+ * isComponentLikeSourceTag("div") // false
39
+ */
40
+ declare function isComponentLikeSourceTag(tag: string | null | undefined): tag is string;
41
+ /**
42
+ * Format a component source path for display, optionally keeping its
43
+ * `:line:column` position and trimming it to the `frontend/src/...` portion
44
+ * when present. Operates on a runtime file-path string for display, not source
45
+ * code.
46
+ *
47
+ * @example
48
+ * formatSourceLabel("/x/frontend/src/Foo.vue:4:2") // "src/Foo.vue:4:2"
49
+ * formatSourceLabel("/x/frontend/src/Foo.vue:4:2", false) // "src/Foo.vue"
50
+ * formatSourceLabel("src/Foo.vue") // "src/Foo.vue"
51
+ */
10
52
  export declare function formatSourceLabel(sourcePath: string, includePosition?: boolean): string;
11
53
  export declare function resolveVueComponentInfo(element: Element, options: VueDetectorOptions): ResolvedVueComponentInfo | undefined;
54
+ export declare const __internal: {
55
+ ignoredComponentNamePattern: RegExp;
56
+ stripSourcePosition: typeof stripSourcePosition;
57
+ inferNameFromFile: typeof inferNameFromFile;
58
+ isComponentLikeSourceTag: typeof isComponentLikeSourceTag;
59
+ };
60
+ export {};
12
61
  //# sourceMappingURL=vue-detector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vue-detector.d.ts","sourceRoot":"","sources":["../../../../plugin/runtime/annotator/vue-detector.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,eAAe,EAAE,MAAM,CAAC;IACxB,uBAAuB,EAAE,MAAM,CAAC;CACjC;AAUD,MAAM,WAAW,wBAAwB;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAkDD,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,EAAE,eAAe,UAAO,GAAG,MAAM,CAmBpF;AA8GD,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,kBAAkB,GAAG,wBAAwB,GAAG,SAAS,CAiC3H"}
1
+ {"version":3,"file":"vue-detector.d.ts","sourceRoot":"","sources":["../../../../plugin/runtime/annotator/vue-detector.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,eAAe,EAAE,MAAM,CAAC;IACxB,uBAAuB,EAAE,MAAM,CAAC;CACjC;AAUD,MAAM,WAAW,wBAAwB;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA+BD;;;;;;;;GAQG;AACH,iBAAS,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAIvD;AAED;;;;;;;;GAQG;AACH,iBAAS,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAU1D;AAMD;;;;;;;;;GASG;AACH,iBAAS,wBAAwB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,GAAG,IAAI,MAAM,CAI/E;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,EAAE,eAAe,UAAO,GAAG,MAAM,CAmBpF;AA8GD,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,kBAAkB,GAAG,wBAAwB,GAAG,SAAS,CAiC3H;AAGD,eAAO,MAAM,UAAU;;;;;CAKtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"pom-discoverability.d.ts","sourceRoot":"","sources":["../pom-discoverability.ts"],"names":[],"mappings":"AAmEA,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAEhE;AAED,wBAAgB,wBAAwB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAEtE;AAED,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAQ/D;AAED,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAMhE;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE;IAC/C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,GAAG,MAAM,CAeT"}
1
+ {"version":3,"file":"pom-discoverability.d.ts","sourceRoot":"","sources":["../pom-discoverability.ts"],"names":[],"mappings":"AAsFA,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAEhE;AAED,wBAAgB,wBAAwB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAEtE;AAED,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAQ/D;AAED,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAMhE;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE;IAC/C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,GAAG,MAAM,CAeT"}
@@ -4,16 +4,28 @@ export declare function isParameterizedPomPattern(kind: PomPatternKind): boolean
4
4
  export interface PomStringPattern {
5
5
  formatted: string;
6
6
  patternKind: PomPatternKind;
7
- /** Unique `${...}` variable names referenced by `formatted`, in first-occurrence order. */
7
+ /**
8
+ * Unique `${...}` variable names referenced by `formatted`, in first-occurrence order.
9
+ *
10
+ * Supplied explicitly at construction — never re-derived from `formatted`. The
11
+ * construction site knows which variables it inserted; `formatted` keeps the
12
+ * `${...}` text only for emission.
13
+ */
8
14
  templateVariables: string[];
9
15
  }
10
16
  export interface PomPatternBinding {
11
17
  expression: string;
12
18
  setupStatements: string[];
13
19
  }
14
- export declare function inferPomPatternKindFromFormattedString(value: string): PomPatternKind;
15
- export declare function createPomStringPattern(formatted: string, patternKind: PomPatternKind): PomStringPattern;
16
- export declare function inferPomStringPattern(formatted: string): PomStringPattern;
20
+ /**
21
+ * Construct a `PomStringPattern` from explicit metadata.
22
+ *
23
+ * `templateVariables` is required and is the sole source of truth for which
24
+ * method-parameter slots the pattern exposes. It is never inferred from
25
+ * `formatted` — pass `[]` for static patterns, or the variable names (e.g.
26
+ * `["key"]`, `["value"]`) for parameterized ones.
27
+ */
28
+ export declare function createPomStringPattern(formatted: string, patternKind: PomPatternKind, templateVariables: readonly string[]): PomStringPattern;
17
29
  export declare function getPomPatternVariables(patterns: readonly PomStringPattern[], options?: {
18
30
  omit?: readonly string[];
19
31
  }): string[];
@@ -23,6 +35,18 @@ export declare function orderPomPatternParameters(params: PomParameterInput, pat
23
35
  export declare function getIndexedPomPatternVariable(pattern: PomStringPattern): string | null;
24
36
  export declare function hasPomPatternVariables(pattern: PomStringPattern): boolean;
25
37
  export declare function toTypeScriptPomPatternExpression(pattern: PomStringPattern): string;
38
+ /**
39
+ * Render a pattern as a C# interpolated-string expression.
40
+ *
41
+ * For static patterns this is a JSON-quoted literal. For parameterized patterns
42
+ * it converts our `${var}` placeholder format into C# interpolation braces
43
+ * (`{var}`) and wraps the result as a C# interpolated string. This converts
44
+ * placeholder syntax in a generated pattern string, not source code.
45
+ *
46
+ * @example
47
+ * toCSharpPomPatternExpression(createPomStringPattern("submit", "static", [])) // "\"submit\""
48
+ * toCSharpPomPatternExpression(createPomStringPattern("item-${key}", "parameterized", ["key"])) // "$\"item-{key}\""
49
+ */
26
50
  export declare function toCSharpPomPatternExpression(pattern: PomStringPattern): string;
27
51
  export declare function bindTypeScriptPomPattern(pattern: PomStringPattern, variableName: string): PomPatternBinding;
28
52
  export declare function bindCSharpPomPattern(pattern: PomStringPattern, variableName: string): PomPatternBinding;
@@ -1 +1 @@
1
- {"version":3,"file":"pom-patterns.d.ts","sourceRoot":"","sources":["../pom-patterns.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,iBAAiB,EAAE,KAAK,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAErG,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,eAAe,CAAC;AAExD,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAEvE;AAED,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,cAAc,CAAC;IAC5B,2FAA2F;IAC3F,iBAAiB,EAAE,MAAM,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,cAAc,CAEpF;AAmBD,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,GAAG,gBAAgB,CAMvG;AAED,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,MAAM,GAAG,gBAAgB,CAEzE;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,SAAS,gBAAgB,EAAE,EACrC,OAAO,GAAE;IAAE,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CAAO,GACzC,MAAM,EAAE,CAgBV;AAED,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,iBAAiB,EACzB,QAAQ,EAAE,SAAS,gBAAgB,EAAE,EACrC,OAAO,GAAE;IACP,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACrB,GACL,gBAAgB,EAAE,CAmCpB;AAED,wBAAgB,4BAA4B,CA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
1
+ {"version":3,"file":"annotator-runtime-helpers.test.d.ts","sourceRoot":"","sources":["../../tests/annotator-runtime-helpers.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=accessibility-audit-ts.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessibility-audit-ts.test.d.ts","sourceRoot":"","sources":["../../../tests/broad/accessibility-audit-ts.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=class-generation-base-page-ts.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"class-generation-base-page-ts.test.d.ts","sourceRoot":"","sources":["../../../tests/broad/class-generation-base-page-ts.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=compiler-metadata-utils-ts.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compiler-metadata-utils-ts.test.d.ts","sourceRoot":"","sources":["../../../tests/broad/compiler-metadata-utils-ts.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,162 @@
1
+ import type { Screencast } from "playwright";
2
+ import { JSDOM } from "jsdom";
3
+ import type { BasePageLocator, BasePagePage } from "../../../class-generation/playwright-types";
4
+ export interface BoundingBox {
5
+ x: number;
6
+ y: number;
7
+ width: number;
8
+ height: number;
9
+ }
10
+ /**
11
+ * Minimal Playwright `Keyboard` double: records `type` calls so tests can
12
+ * assert on them, and no-ops the remaining members so it satisfies the full
13
+ * `Keyboard` interface that {@link BasePagePage.keyboard} requires.
14
+ */
15
+ export declare class FakeKeyboard {
16
+ readonly typed: Array<{
17
+ text: string;
18
+ delay: number;
19
+ }>;
20
+ type(text: string, options: {
21
+ delay: number;
22
+ }): Promise<void>;
23
+ down(_key: string): Promise<void>;
24
+ up(_key: string): Promise<void>;
25
+ press(_key: string, _options?: {
26
+ delay?: number;
27
+ }): Promise<void>;
28
+ insertText(_text: string): Promise<void>;
29
+ }
30
+ export interface FakeElement {
31
+ tagName: string;
32
+ isContentEditable?: boolean;
33
+ }
34
+ /**
35
+ * Minimal Playwright `Page` double satisfying the narrow {@link BasePagePage}
36
+ * interface. It backs `evaluate` with a real JSDOM document (swapped onto
37
+ * `globalThis` for the call) so the runtime's in-page `evaluate` functions run
38
+ * against a DOM. Stateful counters (`waitForSelectorCalls`, `hoverCalls`, …)
39
+ * let tests assert on the page-level interactions.
40
+ */
41
+ export declare class FakePage implements BasePagePage {
42
+ readonly keyboard: FakeKeyboard;
43
+ readonly screencast: Screencast;
44
+ dom: JSDOM;
45
+ urlValue: string;
46
+ isVisibleResult: boolean;
47
+ textContentResult: string | null;
48
+ waitForSelectorCalls: Array<{
49
+ selector: string;
50
+ options?: {
51
+ state?: "attached" | "detached" | "visible" | "hidden";
52
+ timeout?: number;
53
+ strict?: boolean;
54
+ };
55
+ }>;
56
+ hoverCalls: string[];
57
+ selectOptionCalls: Array<{
58
+ selector: string;
59
+ value: string;
60
+ }>;
61
+ constructor();
62
+ setViewport(width: number, height: number): void;
63
+ url(): string;
64
+ goto(_url: string): Promise<null>;
65
+ isVisible(_selector: string): Promise<boolean>;
66
+ textContent(_selector: string): Promise<string | null>;
67
+ waitForSelector(selector: string, options?: {
68
+ state?: "attached" | "detached" | "visible" | "hidden";
69
+ timeout?: number;
70
+ strict?: boolean;
71
+ }): Promise<void>;
72
+ hover(selector: string): Promise<void>;
73
+ selectOption(selector: string, value: string): Promise<string[]>;
74
+ locator(selector: string): FakeLocator;
75
+ evaluate<TResult, TArg = never>(fn: ((arg: TArg) => TResult | Promise<TResult>) | string, arg?: TArg): Promise<TResult>;
76
+ waitForTimeout(_milliseconds: number): Promise<void>;
77
+ }
78
+ /**
79
+ * Minimal Playwright `Locator` double satisfying the narrow {@link BasePageLocator}
80
+ * interface. Stateful counters (`clicks`, `clears`, `fills`, `scrollCalls`) let
81
+ * tests assert on interactions; `descendant` lets a locator resolve nested
82
+ * editable elements for the vue-select / fill paths.
83
+ */
84
+ export declare class FakeLocator implements BasePageLocator {
85
+ readonly element: FakeElement;
86
+ readonly options: {
87
+ boundingBox?: BoundingBox;
88
+ count?: number;
89
+ testId?: string;
90
+ selector?: string;
91
+ };
92
+ clicks: number;
93
+ clears: number;
94
+ readonly fills: string[];
95
+ descendant?: FakeLocator;
96
+ lastClickOptions: {
97
+ delay?: number;
98
+ force?: boolean;
99
+ } | undefined;
100
+ scrollCalls: number;
101
+ constructor(element: FakeElement, options?: {
102
+ boundingBox?: BoundingBox;
103
+ count?: number;
104
+ testId?: string;
105
+ selector?: string;
106
+ });
107
+ first(): FakeLocator;
108
+ last(): FakeLocator;
109
+ nth(_index: number): FakeLocator;
110
+ locator(selector: string): FakeLocator;
111
+ describe(_description: string): FakeLocator;
112
+ filter(): FakeLocator;
113
+ getByLabel(_text: string | RegExp, _options?: {
114
+ exact?: boolean;
115
+ }): FakeLocator;
116
+ getByText(_text: string | RegExp, _options?: {
117
+ exact?: boolean;
118
+ }): FakeLocator;
119
+ getByPlaceholder(_text: string | RegExp, _options?: {
120
+ exact?: boolean;
121
+ }): FakeLocator;
122
+ getByAltText(_text: string | RegExp, _options?: {
123
+ exact?: boolean;
124
+ }): FakeLocator;
125
+ getByTitle(_text: string | RegExp, _options?: {
126
+ exact?: boolean;
127
+ }): FakeLocator;
128
+ getByTestId(_testId: string | RegExp): FakeLocator;
129
+ getByRole(_role: string, _options?: Record<string, boolean | number | string | RegExp>): FakeLocator;
130
+ count(): Promise<number>;
131
+ scrollIntoViewIfNeeded(): Promise<void>;
132
+ boundingBox(): Promise<BoundingBox | null>;
133
+ getAttribute(name: string): Promise<string | null>;
134
+ click(options?: {
135
+ delay?: number;
136
+ force?: boolean;
137
+ }): Promise<void>;
138
+ clear(): Promise<void>;
139
+ fill(text: string): Promise<void>;
140
+ hover(): Promise<void>;
141
+ press(_key: string): Promise<void>;
142
+ check(): Promise<void>;
143
+ uncheck(): Promise<void>;
144
+ waitFor(): Promise<void>;
145
+ isVisible(): Promise<boolean>;
146
+ isHidden(): Promise<boolean>;
147
+ isEnabled(): Promise<boolean>;
148
+ isDisabled(): Promise<boolean>;
149
+ textContent(): Promise<string | null>;
150
+ innerText(): Promise<string>;
151
+ innerHTML(): Promise<string>;
152
+ selectOption(): Promise<string[]>;
153
+ type(_text: string): Promise<void>;
154
+ evaluate<R>(fn: (element: FakeElement) => R | Promise<R>): Promise<R>;
155
+ private isEditable;
156
+ }
157
+ export declare function createVisibleElement(page: FakePage, id: string, rect: BoundingBox, options?: {
158
+ parent?: HTMLElement;
159
+ tagName?: string;
160
+ testId?: string;
161
+ }): HTMLElement;
162
+ //# sourceMappingURL=fake-runtime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fake-runtime.d.ts","sourceRoot":"","sources":["../../../../tests/broad/helpers/fake-runtime.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAE9B,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAEhG,MAAM,WAAW,WAAW;IAC1B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;GAIG;AACH,qBAAa,YAAY;IACvB,SAAgB,KAAK,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAM;IACtD,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE;IAG7C,IAAI,CAAC,IAAI,EAAE,MAAM;IACjB,EAAE,CAAC,IAAI,EAAE,MAAM;IACf,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE;QAAE,KA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ED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,QAAQ,EACd,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,WAAW,EACjB,OAAO,GAAE;IAAE,MAAM,CAAC,EAAE,WAAW,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAO,eAa1E"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=manifest-generator-ts.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manifest-generator-ts.test.d.ts","sourceRoot":"","sources":["../../../tests/broad/manifest-generator-ts.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=metadata-collector-ts.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"metadata-collector-ts.test.d.ts","sourceRoot":"","sources":["../../../tests/broad/metadata-collector-ts.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=plugin-logger-ts.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-logger-ts.test.d.ts","sourceRoot":"","sources":["../../../tests/broad/plugin-logger-ts.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=plugin-resolved-generation-options-ts.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-resolved-generation-options-ts.test.d.ts","sourceRoot":"","sources":["../../../tests/broad/plugin-resolved-generation-options-ts.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=plugin-runtime-annotator-format-ts.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-runtime-annotator-format-ts.test.d.ts","sourceRoot":"","sources":["../../../tests/broad/plugin-runtime-annotator-format-ts.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=typescript-codegen-ts.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typescript-codegen-ts.test.d.ts","sourceRoot":"","sources":["../../../tests/broad/typescript-codegen-ts.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,58 @@
1
+ import type { Plugin, PluginOption } from "vite";
2
+ import { type AttributeNode, type DirectiveNode, type ElementNode, type ExpressionNode, type SimpleExpressionNode, type TextNode, type TransformContext, type VNodeCall } from "@vue/compiler-core";
3
+ /**
4
+ * A complete `SimpleExpressionNode`. `isStatic` defaults to `true` (a literal
5
+ * string); pass `false` for a dynamic binding expression.
6
+ */
7
+ export declare function makeSimpleExpression(content: string, isStatic?: boolean): SimpleExpressionNode;
8
+ /** A complete `TextNode` (static text content). */
9
+ export declare function makeTextNode(content: string): TextNode;
10
+ /** A complete `AttributeNode` (a static HTML attribute, optionally with a value). */
11
+ export declare function makeAttributeNode(name: string, value?: string): AttributeNode;
12
+ /** A complete `DirectiveNode` (e.g. `:data-testid="…"`, `@click="…"`). */
13
+ export declare function makeDirectiveNode(name: string, opts?: {
14
+ exp?: ExpressionNode;
15
+ arg?: ExpressionNode;
16
+ modifiers?: SimpleExpressionNode[];
17
+ }): DirectiveNode;
18
+ /**
19
+ * A complete `VNodeCall` with neutral defaults. Override `patchFlag`,
20
+ * `dynamicProps`, `tag`, etc. per test. Used as an element's `codegenNode`.
21
+ */
22
+ export declare function makeVNodeCall(overrides?: Partial<VNodeCall>): VNodeCall;
23
+ /**
24
+ * A complete `ElementNode` parsed from a minimal real template (so every
25
+ * required field — `loc`, `ns`, `tagType`, `codegenNode`, … — is populated),
26
+ * with `overrides` applied on top. Commonly overridden: `tag`, `props`,
27
+ * `children`, and `codegenNode` (via {@link makeVNodeCall}).
28
+ */
29
+ export declare function makeElementNode(overrides?: Partial<ElementNode>): ElementNode;
30
+ /**
31
+ * A real `TransformContext` (via `createTransformContext` + `baseParse`).
32
+ * Replaces `transform(node, {} as any)` — the second argument to a `NodeTransform`
33
+ * is a `TransformContext`, and constructing a real one avoids any cast.
34
+ */
35
+ export declare function makeTransformContext(): TransformContext;
36
+ /**
37
+ * Narrow a `PluginOption` (which may be an array, `false`, `null`, or
38
+ * `undefined`) to a single `Plugin` via a runtime check — no type assertion.
39
+ * Throws if the option is not exactly one plugin, which surfaces test setup
40
+ * mistakes loudly instead of silently mocking against the wrong shape.
41
+ */
42
+ export declare function asSinglePlugin(plugin: PluginOption): Plugin;
43
+ /**
44
+ * Unwrap a Vite `ObjectHook<T>` to its bare, callable function. Vite types each
45
+ * plugin hook as `ObjectHook<T> = T | { handler: T; order?: ... }` (and a
46
+ * filter-augmented variant for some hooks); only the bare-function form is
47
+ * callable, so callers must normalize before invoking. This performs the
48
+ * runtime `function` vs `{ handler }` check and returns the function with its
49
+ * `this` parameter stripped (`OmitThisParameter`) so it can be called bare —
50
+ * the test doubles under test capture their dependencies via closure and never
51
+ * read `this`. Returns `undefined` for an absent hook, so `?.()` chains keep
52
+ * working.
53
+ */
54
+ export declare function hookFn<H extends (...args: never[]) => void>(hook: H | {
55
+ handler: H;
56
+ order?: "pre" | "post" | null;
57
+ } | undefined | null): OmitThisParameter<H> | undefined;
58
+ //# sourceMappingURL=typed-mocks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typed-mocks.d.ts","sourceRoot":"","sources":["../../../tests/helpers/typed-mocks.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AACjD,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EAEzB,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,SAAS,EAKf,MAAM,oBAAoB,CAAC;AAU5B;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,UAAO,GAAG,oBAAoB,CAQ3F;AAED,mDAAmD;AACnD,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,QAAQ,CAEtD;AAED,qFAAqF;AACrF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,aAAa,CAQ7E;AAED,0EAA0E;AAC1E,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,MAAM,EACZ,IAAI,GAAE;IAAE,GAAG,CAAC,EAAE,cAAc,CAAC;IAAC,GAAG,CAAC,EAAE,cAAc,CAAC;IAAC,SAAS,CAAC,EAAE,oBAAoB,EAAE,CAAA;CAAO,GAC5F,aAAa,CASf;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,SAAS,GAAE,OAAO,CAAC,SAAS,CAAM,GAAG,SAAS,CAe3E;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,SAAS,GAAE,OAAO,CAAC,WAAW,CAAM,GAAG,WAAW,CAajF;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,IAAI,gBAAgB,CAEvD;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAK3D;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,MAAM,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,KAAK,EAAE,KAAK,IAAI,EACzD,IAAI,EAAE,CAAC,GAAG;IAAE,OAAO,EAAE,CAAC,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,IAAI,CAAA;CAAE,GAAG,SAAS,GAAG,IAAI,GACzE,iBAAiB,CAAC,CAAC,CAAC,GAAG,SAAS,CAMlC"}
@@ -1,5 +1,8 @@
1
- import type { NodeTransform } from "@vue/compiler-core";
2
- import { IComponentDependencies, NativeWrappersMap } from "./utils";
1
+ import type { ElementNode, NodeTransform } from "@vue/compiler-core";
2
+ import type { AttributeValue, HierarchyMap } from "./utils";
3
+ import { IComponentDependencies, NativeWrappersMap, NativeRole } from "./utils";
4
+ declare function toKebabCaseTag(tag: string): string;
5
+ declare function getNativeHtmlControlRole(element: ElementNode): NativeRole | null;
3
6
  /**
4
7
  * Normalizes label text into the stable string used for generated control names.
5
8
  *
@@ -7,9 +10,21 @@ import { IComponentDependencies, NativeWrappersMap } from "./utils";
7
10
  * to this helper instead of adding broader string-scanning logic.
8
11
  */
9
12
  declare function normalizeControlLabelText(value: string | null): string | null;
10
- export declare const __internal: {
11
- normalizeControlLabelText: typeof normalizeControlLabelText;
12
- };
13
+ declare function getLabelNodeText(labelNode: ElementNode): string | null;
14
+ declare function getAssociatedLabelText(element: ElementNode, hierarchyMap: HierarchyMap): string | null;
15
+ declare function normalizeSearchRoots(wrapperSearchRoots: string[]): string[];
16
+ declare function buildVueSfcPathIndex(searchRoots: string[]): Map<string, string[]>;
17
+ declare function tryResolveSfcPathForTag(tag: string, vueFilesPathMap?: Map<string, string>, wrapperSearchRoots?: string[]): string | null;
18
+ declare function trimLeadingSeparators(value: string): string;
19
+ declare function getConditionalDirectiveInfo(element: ElementNode): {
20
+ kind: "if" | "else-if" | "else";
21
+ source: string;
22
+ } | null;
23
+ declare function tryExtractStableHintFromConditionalExpressionSource(source: string): string | null;
24
+ declare function tryInferNativeWrapperRoleFromSfc(tag: string, vueFilesPathMap?: Map<string, string>, wrapperSearchRoots?: string[], seenTags?: Set<string>): {
25
+ role: NativeRole;
26
+ } | null;
27
+ declare function tryWrapClickDirectiveForTestEvents(element: ElementNode, testIdAttribute: string, resolvedRuntimeTestId: AttributeValue | null | undefined): void;
13
28
  /**
14
29
  * Cross-file key context: when a child component is rendered inside a keyed slot scope,
15
30
  * the parent records which prop receives the slot data. The child then uses that prop
@@ -37,5 +52,21 @@ export declare function createTestIdTransform(componentName: string, componentHi
37
52
  /** Shared registry for cross-file keyed slot context. */
38
53
  crossFileKeyRegistry?: CrossFileKeyRegistry;
39
54
  }): NodeTransform;
55
+ export declare const __internal: {
56
+ normalizeControlLabelText: typeof normalizeControlLabelText;
57
+ toKebabCaseTag: typeof toKebabCaseTag;
58
+ trimLeadingSeparators: typeof trimLeadingSeparators;
59
+ tryExtractStableHintFromConditionalExpressionSource: typeof tryExtractStableHintFromConditionalExpressionSource;
60
+ normalizeSearchRoots: typeof normalizeSearchRoots;
61
+ buildVueSfcPathIndex: typeof buildVueSfcPathIndex;
62
+ tryResolveSfcPathForTag: typeof tryResolveSfcPathForTag;
63
+ tryInferNativeWrapperRoleFromSfc: typeof tryInferNativeWrapperRoleFromSfc;
64
+ getConditionalDirectiveInfo: typeof getConditionalDirectiveInfo;
65
+ getNativeHtmlControlRole: typeof getNativeHtmlControlRole;
66
+ getLabelNodeText: typeof getLabelNodeText;
67
+ getAssociatedLabelText: typeof getAssociatedLabelText;
68
+ tryWrapClickDirectiveForTestEvents: typeof tryWrapClickDirectiveForTestEvents;
69
+ resetCaches: () => void;
70
+ };
40
71
  export {};
41
72
  //# sourceMappingURL=transform.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../transform.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,aAAa,EAUd,MAAM,oBAAoB,CAAC;AAU5B,OAAO,EA2BL,sBAAsB,EACtB,iBAAiB,EAUlB,MAAM,SAAS,CAAC;AA8EjB;;;;;GAKG;AAEH,iBAAS,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAOtE;AAqED,eAAO,MAAM,UAAU;;CAEtB,CAAC;AAopBF;;;;;;;GAOG;AACH,MAAM,MAAM,oBAAoB,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEvD;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,MAAM,EACrB,qBAAqB,EAAE,GAAG,CAAC,MAAM,EAAE,sBAAsB,CAAC,EAC1D,cAAc,EAAE,iBAAiB,YAAK,EACtC,kBAAkB,EAAE,MAAM,EAAE,Y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