@es-joy/jsoe 0.28.2 → 0.30.0

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 (167) hide show
  1. package/.claude/scheduled_tasks.lock +1 -0
  2. package/CHANGES.md +25 -0
  3. package/README.md +4 -0
  4. package/dist/formatAndTypeChoices.d.ts +6 -6
  5. package/dist/formatAndTypeChoices.d.ts.map +1 -1
  6. package/dist/formats/schema.d.ts +5 -0
  7. package/dist/formats/schema.d.ts.map +1 -1
  8. package/dist/formats.d.ts +2 -2
  9. package/dist/formats.d.ts.map +1 -1
  10. package/dist/fundamentalTypes/dateType.d.ts +26 -2
  11. package/dist/fundamentalTypes/dateType.d.ts.map +1 -1
  12. package/dist/fundamentalTypes/domexceptionType.d.ts +7 -0
  13. package/dist/fundamentalTypes/domexceptionType.d.ts.map +1 -1
  14. package/dist/index.d.ts +2 -0
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +2 -2
  17. package/dist/index.js.map +1 -1
  18. package/dist/jtltExtensions.d.ts +112 -0
  19. package/dist/jtltExtensions.d.ts.map +1 -0
  20. package/dist/search/fundamentalTypes/arraySearchType.d.ts +22 -0
  21. package/dist/search/fundamentalTypes/arraySearchType.d.ts.map +1 -0
  22. package/dist/search/fundamentalTypes/bigintSearchType.d.ts +10 -0
  23. package/dist/search/fundamentalTypes/bigintSearchType.d.ts.map +1 -0
  24. package/dist/search/fundamentalTypes/blobSearchType.d.ts +19 -0
  25. package/dist/search/fundamentalTypes/blobSearchType.d.ts.map +1 -0
  26. package/dist/search/fundamentalTypes/booleanSearchType.d.ts +11 -0
  27. package/dist/search/fundamentalTypes/booleanSearchType.d.ts.map +1 -0
  28. package/dist/search/fundamentalTypes/catchSearchType.d.ts +18 -0
  29. package/dist/search/fundamentalTypes/catchSearchType.d.ts.map +1 -0
  30. package/dist/search/fundamentalTypes/dateSearchType.d.ts +15 -0
  31. package/dist/search/fundamentalTypes/dateSearchType.d.ts.map +1 -0
  32. package/dist/search/fundamentalTypes/domexceptionSearchType.d.ts +16 -0
  33. package/dist/search/fundamentalTypes/domexceptionSearchType.d.ts.map +1 -0
  34. package/dist/search/fundamentalTypes/enumSearchType.d.ts +26 -0
  35. package/dist/search/fundamentalTypes/enumSearchType.d.ts.map +1 -0
  36. package/dist/search/fundamentalTypes/errorSearchType.d.ts +9 -0
  37. package/dist/search/fundamentalTypes/errorSearchType.d.ts.map +1 -0
  38. package/dist/search/fundamentalTypes/fileSearchType.d.ts +28 -0
  39. package/dist/search/fundamentalTypes/fileSearchType.d.ts.map +1 -0
  40. package/dist/search/fundamentalTypes/filelistSearchType.d.ts +24 -0
  41. package/dist/search/fundamentalTypes/filelistSearchType.d.ts.map +1 -0
  42. package/dist/search/fundamentalTypes/functionSearchType.d.ts +18 -0
  43. package/dist/search/fundamentalTypes/functionSearchType.d.ts.map +1 -0
  44. package/dist/search/fundamentalTypes/mapSearchType.d.ts +22 -0
  45. package/dist/search/fundamentalTypes/mapSearchType.d.ts.map +1 -0
  46. package/dist/search/fundamentalTypes/nanSearchType.d.ts +7 -0
  47. package/dist/search/fundamentalTypes/nanSearchType.d.ts.map +1 -0
  48. package/dist/search/fundamentalTypes/nullSearchType.d.ts +7 -0
  49. package/dist/search/fundamentalTypes/nullSearchType.d.ts.map +1 -0
  50. package/dist/search/fundamentalTypes/numberSearchType.d.ts +11 -0
  51. package/dist/search/fundamentalTypes/numberSearchType.d.ts.map +1 -0
  52. package/dist/search/fundamentalTypes/objectSearchType.d.ts +21 -0
  53. package/dist/search/fundamentalTypes/objectSearchType.d.ts.map +1 -0
  54. package/dist/search/fundamentalTypes/promiseSearchType.d.ts +20 -0
  55. package/dist/search/fundamentalTypes/promiseSearchType.d.ts.map +1 -0
  56. package/dist/search/fundamentalTypes/regexpSearchType.d.ts +20 -0
  57. package/dist/search/fundamentalTypes/regexpSearchType.d.ts.map +1 -0
  58. package/dist/search/fundamentalTypes/setSearchType.d.ts +15 -0
  59. package/dist/search/fundamentalTypes/setSearchType.d.ts.map +1 -0
  60. package/dist/search/fundamentalTypes/stringSearchType.d.ts +21 -0
  61. package/dist/search/fundamentalTypes/stringSearchType.d.ts.map +1 -0
  62. package/dist/search/fundamentalTypes/symbolSearchType.d.ts +16 -0
  63. package/dist/search/fundamentalTypes/symbolSearchType.d.ts.map +1 -0
  64. package/dist/search/fundamentalTypes/undefinedSearchType.d.ts +7 -0
  65. package/dist/search/fundamentalTypes/undefinedSearchType.d.ts.map +1 -0
  66. package/dist/search/index.d.ts +70 -0
  67. package/dist/search/index.d.ts.map +1 -0
  68. package/dist/search/queryTree.d.ts +12 -1
  69. package/dist/search/queryTree.d.ts.map +1 -1
  70. package/dist/search/queryTreeBuilders.d.ts +18 -0
  71. package/dist/search/queryTreeBuilders.d.ts.map +1 -1
  72. package/dist/search/searchDispatch.d.ts +44 -0
  73. package/dist/search/searchDispatch.d.ts.map +1 -1
  74. package/dist/search/searchElementUtils.d.ts +106 -0
  75. package/dist/search/searchElementUtils.d.ts.map +1 -0
  76. package/dist/search/searchUtils.d.ts +550 -0
  77. package/dist/search/searchUtils.d.ts.map +1 -0
  78. package/dist/search/subTypes/blobHTMLSearchType.d.ts +36 -0
  79. package/dist/search/subTypes/blobHTMLSearchType.d.ts.map +1 -0
  80. package/dist/search/subTypes/recordSearchType.d.ts +18 -0
  81. package/dist/search/subTypes/recordSearchType.d.ts.map +1 -0
  82. package/dist/search/subTypes/tupleSearchType.d.ts +21 -0
  83. package/dist/search/subTypes/tupleSearchType.d.ts.map +1 -0
  84. package/dist/search/superTypes/SpecialRealNumberSearchType.d.ts +14 -0
  85. package/dist/search/superTypes/SpecialRealNumberSearchType.d.ts.map +1 -0
  86. package/dist/search/superTypes/buffersourceSearchType.d.ts +17 -0
  87. package/dist/search/superTypes/buffersourceSearchType.d.ts.map +1 -0
  88. package/dist/search/superTypes/dommatrixSearchType.d.ts +11 -0
  89. package/dist/search/superTypes/dommatrixSearchType.d.ts.map +1 -0
  90. package/dist/search/superTypes/dompointSearchType.d.ts +9 -0
  91. package/dist/search/superTypes/dompointSearchType.d.ts.map +1 -0
  92. package/dist/search/superTypes/domrectSearchType.d.ts +9 -0
  93. package/dist/search/superTypes/domrectSearchType.d.ts.map +1 -0
  94. package/dist/search/superTypes/errorsSpecialSearchType.d.ts +11 -0
  95. package/dist/search/superTypes/errorsSpecialSearchType.d.ts.map +1 -0
  96. package/dist/search/unions/discriminatedUnionSearchType.d.ts +12 -0
  97. package/dist/search/unions/discriminatedUnionSearchType.d.ts.map +1 -0
  98. package/dist/search/unions/unionFamilySearchType.d.ts +36 -0
  99. package/dist/search/unions/unionFamilySearchType.d.ts.map +1 -0
  100. package/dist/search/unions/unionSearchType.d.ts +8 -0
  101. package/dist/search/unions/unionSearchType.d.ts.map +1 -0
  102. package/dist/search/unions/xorSearchType.d.ts +12 -0
  103. package/dist/search/unions/xorSearchType.d.ts.map +1 -0
  104. package/dist/superTypes/buffersourceType.d.ts.map +1 -1
  105. package/dist/typeChoices.d.ts +3 -3
  106. package/dist/typeChoices.d.ts.map +1 -1
  107. package/dist/types.d.ts +3 -3
  108. package/dist/types.d.ts.map +1 -1
  109. package/package.json +5 -4
  110. package/pnpm-workspace.yaml +1 -1
  111. package/rollup.config.js +12 -0
  112. package/src/formatAndTypeChoices.js +4 -4
  113. package/src/formats/schema.js +1 -1
  114. package/src/formats.js +1 -1
  115. package/src/fundamentalTypes/dateType.js +40 -14
  116. package/src/fundamentalTypes/domexceptionType.js +41 -33
  117. package/src/fundamentalTypes/regexpType.js +1 -1
  118. package/src/index.js +6 -0
  119. package/src/jsoe.css +204 -0
  120. package/src/jtltExtensions.js +103 -0
  121. package/src/search/fundamentalTypes/arraySearchType.js +101 -0
  122. package/src/search/fundamentalTypes/bigintSearchType.js +68 -0
  123. package/src/search/fundamentalTypes/blobSearchType.js +42 -0
  124. package/src/search/fundamentalTypes/booleanSearchType.js +40 -0
  125. package/src/search/fundamentalTypes/catchSearchType.js +59 -0
  126. package/src/search/fundamentalTypes/dateSearchType.js +166 -0
  127. package/src/search/fundamentalTypes/domexceptionSearchType.js +84 -0
  128. package/src/search/fundamentalTypes/enumSearchType.js +62 -0
  129. package/src/search/fundamentalTypes/errorSearchType.js +11 -0
  130. package/src/search/fundamentalTypes/fileSearchType.js +94 -0
  131. package/src/search/fundamentalTypes/filelistSearchType.js +103 -0
  132. package/src/search/fundamentalTypes/functionSearchType.js +102 -0
  133. package/src/search/fundamentalTypes/mapSearchType.js +117 -0
  134. package/src/search/fundamentalTypes/nanSearchType.js +11 -0
  135. package/src/search/fundamentalTypes/nullSearchType.js +11 -0
  136. package/src/search/fundamentalTypes/numberSearchType.js +59 -0
  137. package/src/search/fundamentalTypes/objectSearchType.js +367 -0
  138. package/src/search/fundamentalTypes/promiseSearchType.js +61 -0
  139. package/src/search/fundamentalTypes/regexpSearchType.js +72 -0
  140. package/src/search/fundamentalTypes/setSearchType.js +91 -0
  141. package/src/search/fundamentalTypes/stringSearchType.js +44 -0
  142. package/src/search/fundamentalTypes/symbolSearchType.js +39 -0
  143. package/src/search/fundamentalTypes/undefinedSearchType.js +11 -0
  144. package/src/search/index.js +96 -0
  145. package/src/search/queryTree.js +244 -0
  146. package/src/search/queryTreeBuilders.js +233 -0
  147. package/src/search/searchDispatch.js +291 -0
  148. package/src/search/searchElementUtils.js +373 -0
  149. package/src/search/searchUtils.js +847 -0
  150. package/src/search/subTypes/blobHTMLSearchType.js +122 -0
  151. package/src/search/subTypes/recordSearchType.js +105 -0
  152. package/src/search/subTypes/tupleSearchType.js +152 -0
  153. package/src/search/superTypes/SpecialRealNumberSearchType.js +42 -0
  154. package/src/search/superTypes/buffersourceSearchType.js +53 -0
  155. package/src/search/superTypes/dommatrixSearchType.js +24 -0
  156. package/src/search/superTypes/dompointSearchType.js +15 -0
  157. package/src/search/superTypes/domrectSearchType.js +15 -0
  158. package/src/search/superTypes/errorsSpecialSearchType.js +15 -0
  159. package/src/search/unions/discriminatedUnionSearchType.js +16 -0
  160. package/src/search/unions/unionFamilySearchType.js +168 -0
  161. package/src/search/unions/unionSearchType.js +12 -0
  162. package/src/search/unions/xorSearchType.js +16 -0
  163. package/src/superTypes/buffersourceType.js +13 -15
  164. package/src/typeChoices.js +2 -2
  165. package/src/types.js +2 -2
  166. package/tsconfig-prod.json +12 -0
  167. package/tsconfig.json +5 -10
@@ -0,0 +1,112 @@
1
+ /**
2
+ * A minimal structural stand-in for the jtlt template `this` context — just
3
+ * the two members these extensions use. Defined locally (rather than
4
+ * imported from jtlt) so this module adds no dependency on jtlt itself;
5
+ * jtlt's own `ContextExtensions` augmentation is a wider, compatible type.
6
+ * `get` mirrors `JSONPathTransformerContext#get(select, wrap)`: a JSONPath
7
+ * query against the current template data (or that data itself when
8
+ * `select` is falsy).
9
+ * @typedef {{
10
+ * appendOutput: (item: unknown) => unknown,
11
+ * get: (select: string|undefined, wrap: boolean) => unknown
12
+ * }} JtltExtensionContext
13
+ */
14
+ /**
15
+ * The argument object a declarative `{$generateJsoeEditUI: {...}}` /
16
+ * `{$generateJsoeViewUI: {...}}` node supplies, entirely unresolved — see
17
+ * jtlt's own extension-call mechanism (`jsonTemplate.js`'s `runOperation`,
18
+ * jtlt 0.21.0+): jtlt does not interpret any of these keys itself, so
19
+ * resolving `select` (via `this.get`) is this module's own job, not
20
+ * jtlt's. `db`/`store`, when given, name which store's schema should shape
21
+ * the built controls — independent of `select`, since the *value* being
22
+ * edited/viewed and the *store it belongs to* are two separate facts a
23
+ * template may need to supply together (e.g. when a `behavior` reads rows
24
+ * from a store other than the one its own route targets).
25
+ * @typedef {{select: string, db?: string, store?: string}} JsoeUIArgs
26
+ */
27
+ /**
28
+ * Builds a `generateJsoeEditUI` / `generateJsoeViewUI` pair, ready to spread
29
+ * into a jtlt `config.extensions` object — see
30
+ * `~/idb-manager/ROUTE-OVERRIDES-PLAN.md` §5 ("idb-manager behavior
31
+ * extensions"). Each function is a jtlt extension called with the
32
+ * declarative node's own argument object, e.g. `{$generateJsoeEditUI:
33
+ * {select: '$.record', db: 'myDb', store: 'myStore'}}` → `this.
34
+ * generateJsoeEditUI({select: '$.record', db: 'myDb', store: 'myStore'})`
35
+ * (or, from the raw-JS override tier, the same call made directly). It
36
+ * resolves `select` itself (`this.get(select, false)`), looks up that
37
+ * store's schema via `getSchemaContent` when `db`/`store` are both given,
38
+ * builds jsoe's own edit/view control tree for the resolved value, and
39
+ * inserts it into the current output itself via `this.appendOutput(...)`
40
+ * — matching jtlt's own `$renderDefault` convention of the extension doing
41
+ * its own insertion rather than returning a value for the interpreter to
42
+ * place.
43
+ *
44
+ * Takes the caller's own `Types` instance rather than constructing one:
45
+ * idb-manager (for example) already has a single, app-wide `Types`
46
+ * instance (`new Types()` in `Router.js`) configured with whatever
47
+ * constructor options it needs, and every control this builds should share
48
+ * that configuration, not a second, independently-configured one.
49
+ * @param {import('./types.js').default} types
50
+ * @param {{
51
+ * typeNamespace?: string,
52
+ * getSchemaContent?: (db: string, store: string) => (
53
+ * import('./formats/schema.js').ZodexSchema | undefined |
54
+ * Promise<import('./formats/schema.js').ZodexSchema | undefined>
55
+ * )
56
+ * }} [options] - `typeNamespace` scopes the jsoe-internal type-choice state
57
+ * so this doesn't collide with unrelated controls the same page builds
58
+ * elsewhere (see other `getControlsForFormatAndValue` call sites' own
59
+ * `typeNamespace` values); defaults to `'jtlt'`. `getSchemaContent`, when
60
+ * given, is called with each call's own `db`/`store` (e.g. wrapping
61
+ * idb-manager's `Schemas.js` lookup) — resolved fresh per call, so a
62
+ * single bundle correctly serves a `behavior` that edits/views records
63
+ * from more than one store, each with its own schema. Omitted (or a
64
+ * call's `db`/`store` omitted) means no schema — jsoe's controls still
65
+ * work, inferring type choices from the value alone.
66
+ * @returns {{
67
+ * generateJsoeEditUI: (
68
+ * this: JtltExtensionContext, argObject: JsoeUIArgs
69
+ * ) => Promise<void>,
70
+ * generateJsoeViewUI: (
71
+ * this: JtltExtensionContext, argObject: JsoeUIArgs
72
+ * ) => Promise<void>
73
+ * }}
74
+ */
75
+ export default function createJtltExtensions(types: import("./types.js").default, { typeNamespace, getSchemaContent }?: {
76
+ typeNamespace?: string;
77
+ getSchemaContent?: (db: string, store: string) => (import("./formats/schema.js").ZodexSchema | undefined | Promise<import("./formats/schema.js").ZodexSchema | undefined>);
78
+ }): {
79
+ generateJsoeEditUI: (this: JtltExtensionContext, argObject: JsoeUIArgs) => Promise<void>;
80
+ generateJsoeViewUI: (this: JtltExtensionContext, argObject: JsoeUIArgs) => Promise<void>;
81
+ };
82
+ /**
83
+ * A minimal structural stand-in for the jtlt template `this` context — just
84
+ * the two members these extensions use. Defined locally (rather than
85
+ * imported from jtlt) so this module adds no dependency on jtlt itself;
86
+ * jtlt's own `ContextExtensions` augmentation is a wider, compatible type.
87
+ * `get` mirrors `JSONPathTransformerContext#get(select, wrap)`: a JSONPath
88
+ * query against the current template data (or that data itself when
89
+ * `select` is falsy).
90
+ */
91
+ export type JtltExtensionContext = {
92
+ appendOutput: (item: unknown) => unknown;
93
+ get: (select: string | undefined, wrap: boolean) => unknown;
94
+ };
95
+ /**
96
+ * The argument object a declarative `{$generateJsoeEditUI: {...}}` /
97
+ * `{$generateJsoeViewUI: {...}}` node supplies, entirely unresolved — see
98
+ * jtlt's own extension-call mechanism (`jsonTemplate.js`'s `runOperation`,
99
+ * jtlt 0.21.0+): jtlt does not interpret any of these keys itself, so
100
+ * resolving `select` (via `this.get`) is this module's own job, not
101
+ * jtlt's. `db`/`store`, when given, name which store's schema should shape
102
+ * the built controls — independent of `select`, since the *value* being
103
+ * edited/viewed and the *store it belongs to* are two separate facts a
104
+ * template may need to supply together (e.g. when a `behavior` reads rows
105
+ * from a store other than the one its own route targets).
106
+ */
107
+ export type JsoeUIArgs = {
108
+ select: string;
109
+ db?: string;
110
+ store?: string;
111
+ };
112
+ //# sourceMappingURL=jtltExtensions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jtltExtensions.d.ts","sourceRoot":"","sources":["../src/jtltExtensions.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,oDA1BW,OAAO,YAAY,EAAE,OAAO,wCAC5B;IACN,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,CACtD,OAAa,qBAAqB,EAAE,WAAW,GAAG,SAAS,GACrD,OAAO,CAAC,OAAO,qBAAqB,EAAE,WAAW,GAAG,SAAS,CAAC,CAC/D,CAAA;CACF,GAUS;IACR,kBAAkB,EAAE,CAClB,IAAI,EAAE,oBAAoB,EAAE,SAAS,EAAE,UAAU,KAC9C,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,kBAAkB,EAAE,CAClB,IAAI,EAAE,oBAAoB,EAAE,SAAS,EAAE,UAAU,KAC9C,OAAO,CAAC,IAAI,CAAC,CAAA;CACnB,CA4BH;;;;;;;;;;mCA9FY;IACR,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC;IACzC,GAAG,EAAE,CAAC,MAAM,EAAE,MAAM,GAAC,SAAS,EAAE,IAAI,EAAE,OAAO,KAAK,OAAO,CAAA;CAC1D;;;;;;;;;;;;;yBAcS;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAC"}
@@ -0,0 +1,22 @@
1
+ export default arraySearchType;
2
+ export type SearchTypeObject = import("../searchDispatch.js").SearchTypeObject;
3
+ /**
4
+ * Has length/size of &lt;number&gt;; Is/Is not sparse (README), plus - by
5
+ * recursing into the element schema's own search widget (search plan §6
6
+ * build order) - "the array contains at least one element matching Y",
7
+ * expressed via a `*` path segment (`queryTree.js`) so no dedicated wrapper
8
+ * leaf kind is needed: the two constraints simply combine with `$and`. The
9
+ * element match is wrapped in `buildOptInFieldset` (default unchecked/
10
+ * disabled) so a length/size-only search stays valid: unlike the length/
11
+ * size inputs (plain, un-`required` numbers), the recursed element widget
12
+ * can itself carry `required` controls (e.g. a `string` element's Value),
13
+ * which would otherwise force this whole array invalid just for existing,
14
+ * whether or not the user actually wants an element constraint. Leaving
15
+ * both length/size and the element match unconfigured at once is still
16
+ * invalid, though (`buildAtLeastOneSentinel`) - the same "no absent values"
17
+ * reasoning as everywhere else, just with two facets where either alone
18
+ * already suffices.
19
+ * @type {SearchTypeObject}
20
+ */
21
+ declare const arraySearchType: SearchTypeObject;
22
+ //# sourceMappingURL=arraySearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arraySearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/arraySearchType.js"],"names":[],"mappings":";+BAUa,OAAO,sBAAsB,EAAE,gBAAgB;AAa5D;;;;;;;;;;;;;;;;;GAiBG;AACH,+BAFU,gBAAgB,CA2DxB"}
@@ -0,0 +1,10 @@
1
+ export default bigintSearchType;
2
+ export type SearchTypeObject = import("../searchDispatch.js").SearchTypeObject;
3
+ /**
4
+ * OR Ranges/Is Not Range (README) - text inputs rather than
5
+ * `<input type="number">`, since a native number input silently loses
6
+ * precision beyond `Number.MAX_SAFE_INTEGER`.
7
+ * @type {SearchTypeObject}
8
+ */
9
+ declare const bigintSearchType: SearchTypeObject;
10
+ //# sourceMappingURL=bigintSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bigintSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/bigintSearchType.js"],"names":[],"mappings":";+BAOa,OAAO,sBAAsB,EAAE,gBAAgB;AAoB5D;;;;;GAKG;AACH,gCAFU,gBAAgB,CAkCxB"}
@@ -0,0 +1,19 @@
1
+ export default blobSearchType;
2
+ export type SearchTypeObject = import("../searchDispatch.js").SearchTypeObject;
3
+ /**
4
+ * @typedef {import('../searchDispatch.js').SearchTypeObject} SearchTypeObject
5
+ */
6
+ /**
7
+ * Blob: OR literal or regex search/Does Not contain search (README, grouped
8
+ * with string/StringObject/File/regexp-source/symbol-description) - against
9
+ * the Blob's `.type` (MIME string), a value-level facet the schema itself
10
+ * carries no constraint for (`blob` is one of jsoe's "checked" types,
11
+ * `{type: 'any', checks: [{name: 'blob'}]}`, with no further structural
12
+ * fields to read), the same way `symbolSearchType.js` targets
13
+ * `.description`. Matching *content* rather than the MIME type belongs to
14
+ * `blobHTMLSearchType.js` (XPath/CSS-selector/full-text/raw-HTML-regex,
15
+ * README) for the Blob-as-HTML case specifically, not this generic module.
16
+ * @type {SearchTypeObject}
17
+ */
18
+ declare const blobSearchType: SearchTypeObject;
19
+ //# sourceMappingURL=blobSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blobSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/blobSearchType.js"],"names":[],"mappings":";+BAKa,OAAO,sBAAsB,EAAE,gBAAgB;AAD5D;;GAEG;AAEH;;;;;;;;;;;GAWG;AACH,8BAFU,gBAAgB,CAqBxB"}
@@ -0,0 +1,11 @@
1
+ export default booleanSearchType;
2
+ export type SearchTypeObject = import("../searchDispatch.js").SearchTypeObject;
3
+ /**
4
+ * @typedef {import('../searchDispatch.js').SearchTypeObject} SearchTypeObject
5
+ */
6
+ /**
7
+ * True or false (README).
8
+ * @type {SearchTypeObject}
9
+ */
10
+ declare const booleanSearchType: SearchTypeObject;
11
+ //# sourceMappingURL=booleanSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"booleanSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/booleanSearchType.js"],"names":[],"mappings":";+BAKa,OAAO,sBAAsB,EAAE,gBAAgB;AAD5D;;GAEG;AAEH;;;GAGG;AACH,iCAFU,gBAAgB,CA2BxB"}
@@ -0,0 +1,18 @@
1
+ export default catchSearchType;
2
+ export type SearchTypeObject = import("../searchDispatch.js").SearchTypeObject;
3
+ /**
4
+ * @typedef {import('../searchDispatch.js').SearchTypeObject} SearchTypeObject
5
+ */
6
+ /**
7
+ * Promise, Literal, catch: pass on children (README) - same shape as
8
+ * `promiseSearchType.js`'s pass-through (recurse into `.innerType` at the
9
+ * same path, wrap in a `passThrough` leaf), except `getSchemaType`
10
+ * (`src/formats/schema.js`) has no case for `catch` at all - unlike
11
+ * `promise`/`function`, which `zodexToStructuredCloningTypeMap` already
12
+ * maps - so `getSearchSchemaType` adds `catch` as its own extra case purely
13
+ * for the search side, the same way it already does for `tuple`/`record`/
14
+ * the union family.
15
+ * @type {SearchTypeObject}
16
+ */
17
+ declare const catchSearchType: SearchTypeObject;
18
+ //# sourceMappingURL=catchSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catchSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/catchSearchType.js"],"names":[],"mappings":";+BAMa,OAAO,sBAAsB,EAAE,gBAAgB;AAD5D;;GAEG;AAEH;;;;;;;;;;GAUG;AACH,+BAFU,gBAAgB,CAsCxB"}
@@ -0,0 +1,15 @@
1
+ export default dateSearchType;
2
+ export type SearchTypeObject = import("../searchDispatch.js").SearchTypeObject;
3
+ /**
4
+ * OR date range/Is Not Range, Is/Is not a valid date (README) -
5
+ * `dateType.js`'s own `buildDateInputControl` is reused twice (range start/
6
+ * end) so the min/max wiring and ISO-slicing stay in one place. Choosing
7
+ * "Invalid date" disables the range fieldset (an "Invalid Date" has no
8
+ * orderable time value to compare - same as `dateType.js`'s own
9
+ * `notANum`/`ValidDate`/`InvalidDate` handling treating it as a distinct
10
+ * state from an ordinary `Date`), producing a `validDateCheck` leaf
11
+ * (`queryTreeBuilders.js`) instead of/alongside the range leaf.
12
+ * @type {SearchTypeObject}
13
+ */
14
+ declare const dateSearchType: SearchTypeObject;
15
+ //# sourceMappingURL=dateSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dateSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/dateSearchType.js"],"names":[],"mappings":";+BAQa,OAAO,sBAAsB,EAAE,gBAAgB;AA0E5D;;;;;;;;;;GAUG;AACH,8BAFU,gBAAgB,CAwExB"}
@@ -0,0 +1,16 @@
1
+ export default domexceptionSearchType;
2
+ export type SearchTypeObject = import("../searchDispatch.js").SearchTypeObject;
3
+ /**
4
+ * DOMException: Literal/Regex search of child string properties; also
5
+ * pull-down of name for DOMException (README) - `.name` gets the
6
+ * multi-select pull-down (its standard predefined values, imported as-is
7
+ * from `domexceptionType.js`'s own `domExceptionNames` export rather than a
8
+ * second copy of the list, and already properly optional on its own - an
9
+ * empty selection needs no opt-in gate), `.message` gets the usual literal/
10
+ * regex/does-not-contain control (wrapped in `buildOptInFieldset`, since
11
+ * that one *does* carry a `required` Value input), combined via `$and`.
12
+ * `buildAtLeastOneSentinel` requires at least one of the two.
13
+ * @type {SearchTypeObject}
14
+ */
15
+ declare const domexceptionSearchType: SearchTypeObject;
16
+ //# sourceMappingURL=domexceptionSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domexceptionSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/domexceptionSearchType.js"],"names":[],"mappings":";+BAWa,OAAO,sBAAsB,EAAE,gBAAgB;AAa5D;;;;;;;;;;;GAWG;AACH,sCAFU,gBAAgB,CA+CxB"}
@@ -0,0 +1,26 @@
1
+ export default enumSearchType;
2
+ export type SearchTypeObject = import("../searchDispatch.js").SearchTypeObject;
3
+ /**
4
+ * @typedef {import('../searchDispatch.js').SearchTypeObject} SearchTypeObject
5
+ */
6
+ /**
7
+ * Enum, Native Enum: multiple select (README). The value-editing side has
8
+ * no dedicated `enumType.js` (`getSchemaType` resolves `enum` to whatever
9
+ * its underlying value type is), but search needs the actual allowed
10
+ * values listed, so this is one of the search-only dedicated modules
11
+ * (search plan §1).
12
+ *
13
+ * The README's further "native enum also can search key vs. value" is not
14
+ * implemented by this pass - only the plain multi-select-of-values
15
+ * affordance every enum gets either way. A native enum whose keys differ
16
+ * from its values (unlike a plain `z.enum([...])`, where they're the same)
17
+ * still gets a usable widget here, just not that extra key-vs-value mode
18
+ * yet; `values`'s keys are shown alongside their value as a hint.
19
+ * `buildMultiSelect`'s `required` leaves the whole selection invalid until
20
+ * at least one value is picked, natively (no build-time-empty gap like
21
+ * `buildRangeInputsPair`'s custom validity needed a `connectedCallback`
22
+ * for - `<select multiple required>` is evaluated by the browser itself).
23
+ * @type {SearchTypeObject}
24
+ */
25
+ declare const enumSearchType: SearchTypeObject;
26
+ //# sourceMappingURL=enumSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enumSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/enumSearchType.js"],"names":[],"mappings":";+BAKa,OAAO,sBAAsB,EAAE,gBAAgB;AAD5D;;GAEG;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AACH,8BAFU,gBAAgB,CAkCxB"}
@@ -0,0 +1,9 @@
1
+ export default errorSearchType;
2
+ /**
3
+ * Error: Literal/Regex search of child string properties, numeric of
4
+ * number children (README) - see `searchElementUtils.js`'s
5
+ * `makeErrorFamilySearchType` for the shared implementation.
6
+ * @type {import('../searchDispatch.js').SearchTypeObject}
7
+ */
8
+ declare const errorSearchType: import("../searchDispatch.js").SearchTypeObject;
9
+ //# sourceMappingURL=errorSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errorSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/errorSearchType.js"],"names":[],"mappings":";AAEA;;;;;GAKG;AACH,+BAFU,OAAO,sBAAsB,EAAE,gBAAgB,CAEyB"}
@@ -0,0 +1,28 @@
1
+ export default fileSearchType;
2
+ export type SearchTypeObject = import("../searchDispatch.js").SearchTypeObject;
3
+ /**
4
+ * File: OR literal or regex search/Does Not contain search (README, grouped
5
+ * with string/StringObject/Blob/regexp-source/symbol-description) - against
6
+ * both the File's `.name` and its `.type` (content/MIME type, the same
7
+ * facet `blobSearchType.js` targets for `Blob`), each a value-level facet
8
+ * the schema itself carries no constraint for (`SzFile` only has
9
+ * `min`/`max`/`mime`, and `mime` is a fixed *allow-list* for validation, not
10
+ * a per-instance value to search against). `name`/`type` sub-paths
11
+ * distinguish the two facets (`${path}/name`, `${path}/type`, matching the
12
+ * real `File` property each reads back), the same convention
13
+ * `errorSearchType.js` uses for its own multiple flat facets, combined via
14
+ * `$and`. Each facet is independently opt-in (`buildOptInFieldset`, so
15
+ * checking against just the name, or just the content type, is as easy as
16
+ * checking against both), but leaving *both* unopted-in is itself invalid
17
+ * (`buildAtLeastOneSentinel`) - the same "key or value, not necessarily
18
+ * both" shape `mapSearchType.js`/`recordSearchType.js` use. `SzFile`'s own
19
+ * `min`/`max` (byte size) is left for a later pass - the README's literal/
20
+ * regex bullet doesn't ask for a size range here, and README explicitly
21
+ * reserves that shape of control ("OR Range/Is Not Range") for
22
+ * `buffersource` instead. `filelistSearchType.js` recurses its element
23
+ * schema through this same module, so a `FileList`'s per-file search gets
24
+ * both facets for free.
25
+ * @type {SearchTypeObject}
26
+ */
27
+ declare const fileSearchType: SearchTypeObject;
28
+ //# sourceMappingURL=fileSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/fileSearchType.js"],"names":[],"mappings":";+BAUa,OAAO,sBAAsB,EAAE,gBAAgB;AAa5D;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,8BAFU,gBAAgB,CA8CxB"}
@@ -0,0 +1,24 @@
1
+ export default filelistSearchType;
2
+ export type SearchTypeObject = import("../searchDispatch.js").SearchTypeObject;
3
+ export type FilelistOutputSchema = {
4
+ type: "array";
5
+ element: import("../../formats/schema.js").ZodexSchema;
6
+ minLength?: number;
7
+ maxLength?: number;
8
+ };
9
+ /**
10
+ * Has length/size of &lt;number&gt; (README, grouped with array/set/
11
+ * tuple-with-rest) - no sparse toggle, matching `setSearchType.js`. A
12
+ * `FileList` schema serializes as `{type: 'codec', name: 'filelist',
13
+ * output: {type: 'array', element: {type: 'file', ...}}}`
14
+ * (`src/formats/schema.js`'s `codec`/`filelist` handling); the length
15
+ * bounds and element schema both live on that `output` array shape, whose
16
+ * element recurses into `fileSearchType.js` under the same `*` path-segment
17
+ * convention `arraySearchType.js` uses. Leaving *both* length/size and the
18
+ * element match unconfigured is still invalid, though
19
+ * (`buildAtLeastOneSentinel`), same as `arraySearchType.js`/
20
+ * `setSearchType.js`.
21
+ * @type {SearchTypeObject}
22
+ */
23
+ declare const filelistSearchType: SearchTypeObject;
24
+ //# sourceMappingURL=filelistSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filelistSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/filelistSearchType.js"],"names":[],"mappings":";+BAUa,OAAO,sBAAsB,EAAE,gBAAgB;mCAI/C;IACR,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,OAAO,yBAAyB,EAAE,WAAW,CAAC;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAaJ;;;;;;;;;;;;;GAaG;AACH,kCAFU,gBAAgB,CAwDxB"}
@@ -0,0 +1,18 @@
1
+ export default functionSearchType;
2
+ export type SearchTypeObject = import("../searchDispatch.js").SearchTypeObject;
3
+ /**
4
+ * Function; pass on args, return type (README) - recurses into both
5
+ * `.input` (itself a tuple, so its own per-position controls come for free
6
+ * via `tupleSearchType.js`) and `.output`, at `*args`/`*output` path
7
+ * segments (`queryTree.js`), combined via `$and`. The build order's own
8
+ * note that `function` is "fuzzy" in the README and could ship as a
9
+ * minimal stub predates `tupleSearchType.js` existing; now that it does,
10
+ * recursing into `.input` through it is no more work than `.output` alone
11
+ * would have been. Each is wrapped in its own `buildOptInFieldset` (an args
12
+ * tuple's own positions are themselves individually opt-in, so args as a
13
+ * whole needs the same treatment one level up), with
14
+ * `buildAtLeastOneSentinel` requiring at least one of the two.
15
+ * @type {SearchTypeObject}
16
+ */
17
+ declare const functionSearchType: SearchTypeObject;
18
+ //# sourceMappingURL=functionSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"functionSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/functionSearchType.js"],"names":[],"mappings":";+BASa,OAAO,sBAAsB,EAAE,gBAAgB;AAa5D;;;;;;;;;;;;;GAaG;AACH,kCAFU,gBAAgB,CAiExB"}
@@ -0,0 +1,22 @@
1
+ export default mapSearchType;
2
+ export type SearchTypeObject = import("../searchDispatch.js").SearchTypeObject;
3
+ /**
4
+ * Map, Record: string-type searches of keys, values; ideally would allow
5
+ * search to insist on match of key and value (README) - structurally the
6
+ * same as `recordSearchType.js` (`key`/`value` recursion at `*key`/`*value`
7
+ * segments, a "require same entry" toggle producing one `mapRecordJoint`
8
+ * leaf), plus a `lengthSize` control for `min`/`max` (a `Map`, unlike a
9
+ * `Record`, carries its own size bounds in the schema - the same
10
+ * affordance `setSearchType.js` gets for the analogous reason), combined
11
+ * with the joint leaf via `$and`. Key and value are each wrapped in their
12
+ * own `buildOptInFieldset` (so leaving either at "no constraint" doesn't
13
+ * force it via a `required` control inside), but *leaving all three*
14
+ * (key, value, and size) unconfigured is itself invalid via
15
+ * `buildAtLeastOneSentinel` - unlike `recordSearchType.js` (which has no
16
+ * size control of its own and so needs key or value specifically), a
17
+ * length/size-only search is already meaningful here, the same as
18
+ * `arraySearchType.js`/`setSearchType.js`.
19
+ * @type {SearchTypeObject}
20
+ */
21
+ declare const mapSearchType: SearchTypeObject;
22
+ //# sourceMappingURL=mapSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/mapSearchType.js"],"names":[],"mappings":";+BAUa,OAAO,sBAAsB,EAAE,gBAAgB;AAc5D;;;;;;;;;;;;;;;;;GAiBG;AACH,6BAFU,gBAAgB,CA0ExB"}
@@ -0,0 +1,7 @@
1
+ export default nanSearchType;
2
+ /**
3
+ * `NaN`: "no variants to allow for distinct search" (README).
4
+ * @type {import('../searchDispatch.js').SearchTypeObject}
5
+ */
6
+ declare const nanSearchType: import("../searchDispatch.js").SearchTypeObject;
7
+ //# sourceMappingURL=nanSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nanSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/nanSearchType.js"],"names":[],"mappings":";AAEA;;;GAGG;AACH,6BAFU,OAAO,sBAAsB,EAAE,gBAAgB,CAItD"}
@@ -0,0 +1,7 @@
1
+ export default nullSearchType;
2
+ /**
3
+ * `null`: "no variants to allow for distinct search" (README).
4
+ * @type {import('../searchDispatch.js').SearchTypeObject}
5
+ */
6
+ declare const nullSearchType: import("../searchDispatch.js").SearchTypeObject;
7
+ //# sourceMappingURL=nullSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nullSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/nullSearchType.js"],"names":[],"mappings":";AAEA;;;GAGG;AACH,8BAFU,OAAO,sBAAsB,EAAE,gBAAgB,CAItD"}
@@ -0,0 +1,11 @@
1
+ export default numberSearchType;
2
+ export type SearchTypeObject = import("../searchDispatch.js").SearchTypeObject;
3
+ /**
4
+ * @typedef {import('../searchDispatch.js').SearchTypeObject} SearchTypeObject
5
+ */
6
+ /**
7
+ * OR Ranges/Is Not Range, Is/Is Not Integer (README).
8
+ * @type {SearchTypeObject}
9
+ */
10
+ declare const numberSearchType: SearchTypeObject;
11
+ //# sourceMappingURL=numberSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"numberSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/numberSearchType.js"],"names":[],"mappings":";+BAQa,OAAO,sBAAsB,EAAE,gBAAgB;AAD5D;;GAEG;AAEH;;;GAGG;AACH,gCAFU,gBAAgB,CA2CxB"}
@@ -0,0 +1,21 @@
1
+ export default objectSearchType;
2
+ export type SearchTypeObject = import("../searchDispatch.js").SearchTypeObject;
3
+ /**
4
+ * Has property &lt;property pull-down&gt; (README), additive: only
5
+ * optional properties are offered ("avoid listing required" - a required
6
+ * property is guaranteed present, so asking about its existence is
7
+ * meaningless), and picking one from the pull-down adds a row for it
8
+ * (disabled in the pull-down, rather than removed, so it can't be added a
9
+ * second time while its row exists). Each row's own "Remove" button
10
+ * discards the row and re-enables its property in the pull-down, for
11
+ * undoing an added-by-mistake property - a coarser-grained option than
12
+ * setting the row's toggle back to "(any)" (which already expresses "no
13
+ * constraint from this row" without removing it). A required property gets
14
+ * no pull-down entry (its existence is never in question), but does still
15
+ * get its own row - `buildRequiredPropertyRow`'s opt-in checkbox, defaulting
16
+ * unchecked/disabled, so it doesn't force a search constraint the user never
17
+ * asked for just by existing.
18
+ * @type {SearchTypeObject}
19
+ */
20
+ declare const objectSearchType: SearchTypeObject;
21
+ //# sourceMappingURL=objectSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"objectSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/objectSearchType.js"],"names":[],"mappings":";+BAca,OAAO,sBAAsB,EAAE,gBAAgB;AA8O5D;;;;;;;;;;;;;;;;GAgBG;AACH,gCAFU,gBAAgB,CAiGxB"}
@@ -0,0 +1,20 @@
1
+ export default promiseSearchType;
2
+ export type SearchTypeObject = import("../searchDispatch.js").SearchTypeObject;
3
+ /**
4
+ * @typedef {import('../searchDispatch.js').SearchTypeObject} SearchTypeObject
5
+ */
6
+ /**
7
+ * Promise, Literal, catch: pass on children (README) - a promise wraps
8
+ * exactly one value at the same conceptual path (no path segment to add,
9
+ * unlike array's `*`/record's `*key`/`*value`), so this recurses into
10
+ * `.value`'s own search widget and wraps whatever it produces in a
11
+ * `passThrough` leaf (`queryTree.js`) purely so the tree keeps visible that
12
+ * the leaf was reached through a promise, rather than returning the child's
13
+ * leaf bare. ("Literal" needs no module of its own: `getSearchSchemaType`
14
+ * already resolves a `literal` schema straight to its value's own type via
15
+ * `getSchemaType`, e.g. a literal string dispatches to `stringSearchType.js`
16
+ * unchanged).
17
+ * @type {SearchTypeObject}
18
+ */
19
+ declare const promiseSearchType: SearchTypeObject;
20
+ //# sourceMappingURL=promiseSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promiseSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/promiseSearchType.js"],"names":[],"mappings":";+BAMa,OAAO,sBAAsB,EAAE,gBAAgB;AAD5D;;GAEG;AAEH;;;;;;;;;;;;GAYG;AACH,iCAFU,gBAAgB,CAsCxB"}
@@ -0,0 +1,20 @@
1
+ export default regexpSearchType;
2
+ export type SearchTypeObject = import("../searchDispatch.js").SearchTypeObject;
3
+ /**
4
+ * @typedef {import('../searchDispatch.js').SearchTypeObject} SearchTypeObject
5
+ */
6
+ /**
7
+ * Regexp (source): OR literal or regex search/Does Not contain search, plus
8
+ * a multiple-select search of flags (README). `regexpType.js`'s own
9
+ * `allowedFlags` list is imported as-is for the flags control (search plan
10
+ * §4 - already a plain exported property, no extraction needed). Flags are
11
+ * a property of the regexp itself, not of how its source is being matched,
12
+ * but the Flags control is only shown (and only contributes to the query)
13
+ * while the source's own Mode is "Matches regex" - searching a source
14
+ * literal/substring while also constraining flags is a much rarer
15
+ * combination, and hiding Flags the rest of the time keeps the common case
16
+ * uncluttered.
17
+ * @type {SearchTypeObject}
18
+ */
19
+ declare const regexpSearchType: SearchTypeObject;
20
+ //# sourceMappingURL=regexpSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"regexpSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/regexpSearchType.js"],"names":[],"mappings":";+BASa,OAAO,sBAAsB,EAAE,gBAAgB;AAD5D;;GAEG;AAEH;;;;;;;;;;;;GAYG;AACH,gCAFU,gBAAgB,CA8CxB"}
@@ -0,0 +1,15 @@
1
+ export default setSearchType;
2
+ export type SearchTypeObject = import("../searchDispatch.js").SearchTypeObject;
3
+ /**
4
+ * Has length/size of &lt;number&gt; (README) - no sparse toggle: unlike
5
+ * `array`, a `Set` cannot have holes. Also recurses into the value schema's
6
+ * own search widget (as `arraySearchType.js` does for its element), via the
7
+ * same `*` path-segment convention (`queryTree.js`), wrapped in the same
8
+ * `buildOptInFieldset` `arraySearchType.js` uses and for the same reason -
9
+ * a length/size-only search should stay valid. Leaving *both* length/size
10
+ * and the element match unconfigured is still invalid, though
11
+ * (`buildAtLeastOneSentinel`), same as `arraySearchType.js`.
12
+ * @type {SearchTypeObject}
13
+ */
14
+ declare const setSearchType: SearchTypeObject;
15
+ //# sourceMappingURL=setSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/setSearchType.js"],"names":[],"mappings":";+BAUa,OAAO,sBAAsB,EAAE,gBAAgB;AAa5D;;;;;;;;;;GAUG;AACH,6BAFU,gBAAgB,CAwDxB"}
@@ -0,0 +1,21 @@
1
+ export default stringSearchType;
2
+ export type SearchTypeObject = import("../searchDispatch.js").SearchTypeObject;
3
+ /**
4
+ * @typedef {import('../searchDispatch.js').SearchTypeObject} SearchTypeObject
5
+ */
6
+ /**
7
+ * OR literal or regex search/Does Not contain search (README; also covers
8
+ * `StringObject` and `templateLiteral`, aliased to this same module in
9
+ * `searchDispatch.js` since the query semantics are identical), plus - only
10
+ * while "Matches regex" is the chosen mode - a Flags multi-select
11
+ * (`buildLiteralRegexControls`'s `flagOptions`, `regexpType.js`'s own
12
+ * `allowedFlags` list reused as-is, matching `regexpSearchType.js`'s flags
13
+ * for the actual regexp's own flags): unlike `regexpSearchType.js`, whose
14
+ * "source" is already a real regexp with its own flags regardless of
15
+ * search mode, here the regex is only ever the search's *own* device for
16
+ * matching the string, so flags only make sense while that regex is
17
+ * actually in play.
18
+ * @type {SearchTypeObject}
19
+ */
20
+ declare const stringSearchType: SearchTypeObject;
21
+ //# sourceMappingURL=stringSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stringSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/stringSearchType.js"],"names":[],"mappings":";+BAKa,OAAO,sBAAsB,EAAE,gBAAgB;AAD5D;;GAEG;AAEH;;;;;;;;;;;;;GAaG;AACH,gCAFU,gBAAgB,CAqBxB"}
@@ -0,0 +1,16 @@
1
+ export default symbolSearchType;
2
+ export type SearchTypeObject = import("../searchDispatch.js").SearchTypeObject;
3
+ /**
4
+ * @typedef {import('../searchDispatch.js').SearchTypeObject} SearchTypeObject
5
+ */
6
+ /**
7
+ * Symbol (description): OR literal or regex search/Does Not contain search
8
+ * (README) - the same query semantics as `stringSearchType.js`'s, against
9
+ * the symbol's description rather than a string value, so it gets its own
10
+ * dedicated module/tag (matching the value-editing side's one-file-per-
11
+ * fundamental-type convention) while sharing that module's actual control
12
+ * building/reading via `searchUtils.js`.
13
+ * @type {SearchTypeObject}
14
+ */
15
+ declare const symbolSearchType: SearchTypeObject;
16
+ //# sourceMappingURL=symbolSearchType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"symbolSearchType.d.ts","sourceRoot":"","sources":["../../../src/search/fundamentalTypes/symbolSearchType.js"],"names":[],"mappings":";+BAKa,OAAO,sBAAsB,EAAE,gBAAgB;AAD5D;;GAEG;AAEH;;;;;;;;GAQG;AACH,gCAFU,gBAAgB,CAqBxB"}
@@ -0,0 +1,7 @@
1
+ export default undefinedSearchType;
2
+ /**
3
+ * `undefined`/`void`: "no variants to allow for distinct search" (README).
4
+ * @type {import('../searchDispatch.js').SearchTypeObject}
5
+ */
6
+ declare const undefinedSearchType: import("../searchDispatch.js").SearchTypeObject;
7
+ //# sourceMappingURL=undefinedSearchType.d.ts.map