@molecule/app-search-ui-angular 0.0.0-stage → 0.0.1-stage
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +10 -2
- package/dist/highlight.component.d.ts +33 -0
- package/dist/highlight.component.d.ts.map +1 -0
- package/dist/highlight.component.js +84 -0
- package/dist/highlight.component.js.map +1 -0
- package/dist/index.d.ts +99 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +99 -0
- package/dist/index.js.map +1 -0
- package/dist/kbd.component.d.ts +28 -0
- package/dist/kbd.component.d.ts.map +1 -0
- package/dist/kbd.component.js +58 -0
- package/dist/kbd.component.js.map +1 -0
- package/dist/quick-search-dialog.component.d.ts +129 -0
- package/dist/quick-search-dialog.component.d.ts.map +1 -0
- package/dist/quick-search-dialog.component.js +295 -0
- package/dist/quick-search-dialog.component.js.map +1 -0
- package/dist/search-box.component.d.ts +258 -0
- package/dist/search-box.component.d.ts.map +1 -0
- package/dist/search-box.component.js +644 -0
- package/dist/search-box.component.js.map +1 -0
- package/dist/search-results.component.d.ts +174 -0
- package/dist/search-results.component.d.ts.map +1 -0
- package/dist/search-results.component.js +519 -0
- package/dist/search-results.component.js.map +1 -0
- package/dist/types.d.ts +172 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +8 -0
- package/dist/types.js.map +1 -0
- package/package.json +77 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @molecule/app-search-ui-angular
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Angular search UI for @molecule/app-client-search — a search box with filter chips and tips, a ranked results list with matched terms marked, and a quick-search dialog; styled through the ClassMap
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
npm install @molecule/app-search-ui-angular
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
Part of the [Molecule](https://www.molecule.dev) package fleet. This page carries the manifest summary; the full generated documentation ships with the package's first committed version.
|
|
10
|
+
|
|
11
|
+
License: Apache-2.0
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { highlightMatches } from '@molecule/app-client-search';
|
|
2
|
+
import type { UIClassMap } from '@molecule/app-ui';
|
|
3
|
+
import type { HighlightProps } from './types.js';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Highlight component.
|
|
7
|
+
*
|
|
8
|
+
* Text with the matched terms marked: each term is marked where it starts a
|
|
9
|
+
* word, case-insensitively, through the ClassMap's `resultMark`. React's root
|
|
10
|
+
* is a FRAGMENT (the segments, plain text and `<mark>` side by side), so the
|
|
11
|
+
* host is unwrapped (`data-parity-unwrap`, `display: contents`) and renders
|
|
12
|
+
* exactly React's node list. The text is an attribute of the element — pass
|
|
13
|
+
* `text` and `terms` as inputs, not as content.
|
|
14
|
+
*/
|
|
15
|
+
export declare class Highlight implements HighlightProps {
|
|
16
|
+
/** The text to show. */
|
|
17
|
+
text: string;
|
|
18
|
+
/** The matched terms to mark (a hit's `terms`). */
|
|
19
|
+
terms: string[];
|
|
20
|
+
/**
|
|
21
|
+
* The current class map.
|
|
22
|
+
* @returns The UIClassMap.
|
|
23
|
+
*/
|
|
24
|
+
cm(): UIClassMap;
|
|
25
|
+
/**
|
|
26
|
+
* The plain and matched segments, as React derives them per render.
|
|
27
|
+
* @returns The segments, in order.
|
|
28
|
+
*/
|
|
29
|
+
segments(): ReturnType<typeof highlightMatches>;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Highlight, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Highlight, "mol-highlight", never, { "text": { "alias": "text"; "required": false; }; "terms": { "alias": "terms"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=highlight.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"highlight.component.d.ts","sourceRoot":"","sources":["../src/highlight.component.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAGlD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;;AAEhD;;;;;;;;;GASG;AACH,qBAWa,SAAU,YAAW,cAAc;IAC9C,wBAAwB;IACxB,IAAI,SAAK;IACT,mDAAmD;IACnD,KAAK,EAAE,MAAM,EAAE,CAAK;IAEpB;;;OAGG;IACH,EAAE,IAAI,UAAU;IAIhB;;;OAGG;IACH,QAAQ,IAAI,UAAU,CAAC,OAAO,gBAAgB,CAAC;yCAlBpC,SAAS;2CAAT,SAAS;CAqBrB"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Highlight component (React parity).
|
|
3
|
+
*
|
|
4
|
+
* @module
|
|
5
|
+
*/
|
|
6
|
+
import { Component } from '@angular/core';
|
|
7
|
+
import { highlightMatches } from '@molecule/app-client-search';
|
|
8
|
+
import { getClassMap } from '@molecule/app-ui';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
function Highlight_For_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
11
|
+
i0.ɵɵdomElementStart(0, "mark");
|
|
12
|
+
i0.ɵɵtext(1);
|
|
13
|
+
i0.ɵɵdomElementEnd();
|
|
14
|
+
} if (rf & 2) {
|
|
15
|
+
const seg_r1 = i0.ɵɵnextContext().$implicit;
|
|
16
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
17
|
+
i0.ɵɵclassMap(ctx_r1.cm().cn(ctx_r1.cm().resultMark));
|
|
18
|
+
i0.ɵɵadvance();
|
|
19
|
+
i0.ɵɵtextInterpolate(seg_r1.text);
|
|
20
|
+
} }
|
|
21
|
+
function Highlight_For_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
22
|
+
i0.ɵɵtext(0);
|
|
23
|
+
} if (rf & 2) {
|
|
24
|
+
const seg_r1 = i0.ɵɵnextContext().$implicit;
|
|
25
|
+
i0.ɵɵtextInterpolate(seg_r1.text);
|
|
26
|
+
} }
|
|
27
|
+
function Highlight_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
+
i0.ɵɵconditionalCreate(0, Highlight_For_1_Conditional_0_Template, 2, 3, "mark", 0)(1, Highlight_For_1_Conditional_1_Template, 1, 1);
|
|
29
|
+
} if (rf & 2) {
|
|
30
|
+
const seg_r1 = ctx.$implicit;
|
|
31
|
+
i0.ɵɵconditional(seg_r1.hit ? 0 : 1);
|
|
32
|
+
} }
|
|
33
|
+
/**
|
|
34
|
+
* Highlight component.
|
|
35
|
+
*
|
|
36
|
+
* Text with the matched terms marked: each term is marked where it starts a
|
|
37
|
+
* word, case-insensitively, through the ClassMap's `resultMark`. React's root
|
|
38
|
+
* is a FRAGMENT (the segments, plain text and `<mark>` side by side), so the
|
|
39
|
+
* host is unwrapped (`data-parity-unwrap`, `display: contents`) and renders
|
|
40
|
+
* exactly React's node list. The text is an attribute of the element — pass
|
|
41
|
+
* `text` and `terms` as inputs, not as content.
|
|
42
|
+
*/
|
|
43
|
+
export class Highlight {
|
|
44
|
+
/** The text to show. */
|
|
45
|
+
text = '';
|
|
46
|
+
/** The matched terms to mark (a hit's `terms`). */
|
|
47
|
+
terms = [];
|
|
48
|
+
/**
|
|
49
|
+
* The current class map.
|
|
50
|
+
* @returns The UIClassMap.
|
|
51
|
+
*/
|
|
52
|
+
cm() {
|
|
53
|
+
return getClassMap();
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* The plain and matched segments, as React derives them per render.
|
|
57
|
+
* @returns The segments, in order.
|
|
58
|
+
*/
|
|
59
|
+
segments() {
|
|
60
|
+
return highlightMatches(this.text, this.terms);
|
|
61
|
+
}
|
|
62
|
+
static ɵfac = function Highlight_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || Highlight)(); };
|
|
63
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Highlight, selectors: [["mol-highlight"]], hostAttrs: ["data-parity-unwrap", "", 2, "display", "contents"], inputs: { text: "text", terms: "terms" }, decls: 2, vars: 0, consts: [[3, "class"]], template: function Highlight_Template(rf, ctx) { if (rf & 1) {
|
|
64
|
+
i0.ɵɵrepeaterCreate(0, Highlight_For_1_Template, 2, 1, null, null, i0.ɵɵrepeaterTrackByIndex);
|
|
65
|
+
} if (rf & 2) {
|
|
66
|
+
i0.ɵɵrepeater(ctx.segments());
|
|
67
|
+
} }, encapsulation: 2 });
|
|
68
|
+
}
|
|
69
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Highlight, [{
|
|
70
|
+
type: Component,
|
|
71
|
+
args: [{
|
|
72
|
+
selector: 'mol-highlight',
|
|
73
|
+
standalone: true,
|
|
74
|
+
inputs: ['text', 'terms'],
|
|
75
|
+
host: {
|
|
76
|
+
'data-parity-unwrap': '',
|
|
77
|
+
style: 'display: contents',
|
|
78
|
+
},
|
|
79
|
+
// prettier-ignore
|
|
80
|
+
template: `@for (seg of segments(); track $index) {@if (seg.hit) {<mark [class]="cm().cn(cm().resultMark)">{{ seg.text }}</mark>} @else {{{ seg.text }}}}`,
|
|
81
|
+
}]
|
|
82
|
+
}], null, null); })();
|
|
83
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Highlight, { className: "Highlight", filePath: "highlight.component.ts", lineNumber: 36 }); })();
|
|
84
|
+
//# sourceMappingURL=highlight.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"highlight.component.js","sourceRoot":"","sources":["../src/highlight.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAE9D,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;;;IAuBsB,+BAAyC;IAAA,YAAc;IAAA,oBAAO;;;;IAAxD,qDAAkC;IAAC,cAAc;IAAd,iCAAc;;;IAAgB,YAAc;;;IAAd,iCAAc;;;IAArB,AAA/E,kFAAe,iDAAuE;;;IAAtF,oCAAqG;;AAnB1J;;;;;;;;;GASG;AAYH,MAAM,OAAO,SAAS;IACpB,wBAAwB;IACxB,IAAI,GAAG,EAAE,CAAA;IACT,mDAAmD;IACnD,KAAK,GAAa,EAAE,CAAA;IAEpB;;;OAGG;IACH,EAAE;QACA,OAAO,WAAW,EAAE,CAAA;IACtB,CAAC;IAED;;;OAGG;IACH,QAAQ;QACN,OAAO,gBAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAA;IAChD,CAAC;mGApBU,SAAS;6DAAT,SAAS;YAFT,6FAA8I;;YAA9I,cAAA,cAAU,CAAoI;;;iFAE9I,SAAS;cAXrB,SAAS;eAAC;gBACT,QAAQ,EAAE,eAAe;gBACzB,UAAU,EAAE,IAAI;gBAChB,MAAM,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;gBACzB,IAAI,EAAE;oBACJ,oBAAoB,EAAE,EAAE;oBACxB,KAAK,EAAE,mBAAmB;iBAC3B;gBACD,kBAAkB;gBAClB,QAAQ,EAAE,gJAAgJ;aAC3J;;kFACY,SAAS"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Angular search UI for `@molecule/app-client-search`.
|
|
3
|
+
*
|
|
4
|
+
* The Angular counterpart of `@molecule/app-search-ui-react` — the same props
|
|
5
|
+
* (React names) and the same DOM for the same input. Three pieces that fit a
|
|
6
|
+
* `useSearchSession` from `@molecule/app-client-search-angular`:
|
|
7
|
+
* {@link SearchBox} (the field, its clear button and shortcut cap, a help icon
|
|
8
|
+
* whose tooltip shows the search syntax, an `afterField` projection for the
|
|
9
|
+
* consumer's own tabs, the active filter chips and the hit count),
|
|
10
|
+
* {@link SearchResults} (ranked rows with the matched terms marked, hover
|
|
11
|
+
* prefetch, an optional action per row; the keyboard-active row is marked with
|
|
12
|
+
* `aria-current` and announced through a polite status region), and
|
|
13
|
+
* {@link QuickSearchDialog} (both in a `mod+k` dialog named for screen readers
|
|
14
|
+
* by its `label`, "Search" by default). Every class comes from
|
|
15
|
+
* the ClassMap's search tokens (`searchField`, `resultList`, …), so a UI bond
|
|
16
|
+
* restyles all of it at once.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* import { Component } from '@angular/core'
|
|
21
|
+
* import { Link } from '@molecule/app-angular'
|
|
22
|
+
* import { useSearchSession } from '@molecule/app-client-search-angular'
|
|
23
|
+
* import { QuickSearchDialog, SearchBox, SearchResults } from '@molecule/app-search-ui-angular'
|
|
24
|
+
* import { useTranslation } from '@molecule/app-angular'
|
|
25
|
+
*
|
|
26
|
+
* @Component({
|
|
27
|
+
* selector: 'app-catalog',
|
|
28
|
+
* standalone: true,
|
|
29
|
+
* imports: [Link, SearchBox, SearchResults],
|
|
30
|
+
* template: `
|
|
31
|
+
* <div mol-search-box
|
|
32
|
+
* [value]="session.query()"
|
|
33
|
+
* [onChange]="session.setQuery"
|
|
34
|
+
* [onKeyDown]="session.onKeyDown"
|
|
35
|
+
* [inputRef]="session.inputRef"
|
|
36
|
+
* placeholder="Search packages"
|
|
37
|
+
* [count]="session.hits().length"
|
|
38
|
+
* [filters]="session.parsed().filters"
|
|
39
|
+
* [onRemoveFilter]="session.removeFilter"
|
|
40
|
+
* [onClear]="session.clear"
|
|
41
|
+
* [examples]="['category:auth', 'type:bond']"
|
|
42
|
+
* ></div>
|
|
43
|
+
* <mol-search-results
|
|
44
|
+
* [hits]="session.hits()"
|
|
45
|
+
* [view]="view"
|
|
46
|
+
* [activeIndex]="session.activeIndex()"
|
|
47
|
+
* [onActivate]="session.setActiveIndex"
|
|
48
|
+
* [onOpen]="session.open"
|
|
49
|
+
* [onPrefetch]="session.prefetch"
|
|
50
|
+
* [renderLink]="link"
|
|
51
|
+
* emptyText="Nothing matches"
|
|
52
|
+
* ></mol-search-results>
|
|
53
|
+
* <ng-template #link let-p>
|
|
54
|
+
* <a molLink [to]="p.href" [state]="p.state" [className]="p.className" (click)="p.onClick($event)">
|
|
55
|
+
* <ng-template [ngTemplateOutlet]="p.children" [ngTemplateOutletContext]="{ $implicit: hit }"></ng-template>
|
|
56
|
+
* </a>
|
|
57
|
+
* </ng-template>
|
|
58
|
+
* `,
|
|
59
|
+
* })
|
|
60
|
+
* export class Catalog {
|
|
61
|
+
* readonly t = useTranslation().t
|
|
62
|
+
* readonly session = useSearchSession({
|
|
63
|
+
* docs: packages,
|
|
64
|
+
* options: PACKAGE_INDEX_OPTIONS,
|
|
65
|
+
* rememberKey: 'catalog.search',
|
|
66
|
+
* onOpen: (p) => navigate(`/packages/${p.name}`),
|
|
67
|
+
* })
|
|
68
|
+
* readonly view = (p: Pkg) => ({ href: `/packages/${p.name}`, title: `@molecule/${p.name}`, description: p.description, meta: [p.type, p.category], mono: true })
|
|
69
|
+
* }
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* (`searchPlaceholder` and `nothingMatches` are the app's own translated strings.)
|
|
73
|
+
*
|
|
74
|
+
* @remarks
|
|
75
|
+
* - **Pass a router link through `renderLink`**, or every row is a full page
|
|
76
|
+
* load: the list renders a plain `<a>` by default because it does not know
|
|
77
|
+
* your router. A plain click calls `onOpen` (which the session turns into
|
|
78
|
+
* navigation); a modified click is left to the browser so "open in new tab" works.
|
|
79
|
+
* - The box does not own the text: bind `value`/`onChange` to a session (or
|
|
80
|
+
* any state) and it stays mounted, with its text, across searches. Do not
|
|
81
|
+
* remount it per search.
|
|
82
|
+
* - `placeholder`, `emptyText` and the like are already-translated strings
|
|
83
|
+
* from the app; the package translates only its own chrome ("Clear
|
|
84
|
+
* search", "{{count}} results", "Search tips") through `@molecule/app-locales-search-ui`.
|
|
85
|
+
* - The quick dialog needs a session created with `syncUrl: false` and
|
|
86
|
+
* `onEscape: onClose`; the page's own session keeps the URL.
|
|
87
|
+
* - Node-valued React props are projected content: `afterField` is selected
|
|
88
|
+
* by `[slot=afterField]`, and a render function (`renderLink`, `action`) is
|
|
89
|
+
* a `TemplateRef` whose context carries its argument as `$implicit`.
|
|
90
|
+
*
|
|
91
|
+
* @module
|
|
92
|
+
*/
|
|
93
|
+
export * from './highlight.component.js';
|
|
94
|
+
export * from './kbd.component.js';
|
|
95
|
+
export * from './quick-search-dialog.component.js';
|
|
96
|
+
export * from './search-box.component.js';
|
|
97
|
+
export * from './search-results.component.js';
|
|
98
|
+
export * from './types.js';
|
|
99
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2FG;AAEH,cAAc,0BAA0B,CAAA;AACxC,cAAc,oBAAoB,CAAA;AAClC,cAAc,oCAAoC,CAAA;AAClD,cAAc,2BAA2B,CAAA;AACzC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,YAAY,CAAA"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Angular search UI for `@molecule/app-client-search`.
|
|
3
|
+
*
|
|
4
|
+
* The Angular counterpart of `@molecule/app-search-ui-react` — the same props
|
|
5
|
+
* (React names) and the same DOM for the same input. Three pieces that fit a
|
|
6
|
+
* `useSearchSession` from `@molecule/app-client-search-angular`:
|
|
7
|
+
* {@link SearchBox} (the field, its clear button and shortcut cap, a help icon
|
|
8
|
+
* whose tooltip shows the search syntax, an `afterField` projection for the
|
|
9
|
+
* consumer's own tabs, the active filter chips and the hit count),
|
|
10
|
+
* {@link SearchResults} (ranked rows with the matched terms marked, hover
|
|
11
|
+
* prefetch, an optional action per row; the keyboard-active row is marked with
|
|
12
|
+
* `aria-current` and announced through a polite status region), and
|
|
13
|
+
* {@link QuickSearchDialog} (both in a `mod+k` dialog named for screen readers
|
|
14
|
+
* by its `label`, "Search" by default). Every class comes from
|
|
15
|
+
* the ClassMap's search tokens (`searchField`, `resultList`, …), so a UI bond
|
|
16
|
+
* restyles all of it at once.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* import { Component } from '@angular/core'
|
|
21
|
+
* import { Link } from '@molecule/app-angular'
|
|
22
|
+
* import { useSearchSession } from '@molecule/app-client-search-angular'
|
|
23
|
+
* import { QuickSearchDialog, SearchBox, SearchResults } from '@molecule/app-search-ui-angular'
|
|
24
|
+
* import { useTranslation } from '@molecule/app-angular'
|
|
25
|
+
*
|
|
26
|
+
* @Component({
|
|
27
|
+
* selector: 'app-catalog',
|
|
28
|
+
* standalone: true,
|
|
29
|
+
* imports: [Link, SearchBox, SearchResults],
|
|
30
|
+
* template: `
|
|
31
|
+
* <div mol-search-box
|
|
32
|
+
* [value]="session.query()"
|
|
33
|
+
* [onChange]="session.setQuery"
|
|
34
|
+
* [onKeyDown]="session.onKeyDown"
|
|
35
|
+
* [inputRef]="session.inputRef"
|
|
36
|
+
* placeholder="Search packages"
|
|
37
|
+
* [count]="session.hits().length"
|
|
38
|
+
* [filters]="session.parsed().filters"
|
|
39
|
+
* [onRemoveFilter]="session.removeFilter"
|
|
40
|
+
* [onClear]="session.clear"
|
|
41
|
+
* [examples]="['category:auth', 'type:bond']"
|
|
42
|
+
* ></div>
|
|
43
|
+
* <mol-search-results
|
|
44
|
+
* [hits]="session.hits()"
|
|
45
|
+
* [view]="view"
|
|
46
|
+
* [activeIndex]="session.activeIndex()"
|
|
47
|
+
* [onActivate]="session.setActiveIndex"
|
|
48
|
+
* [onOpen]="session.open"
|
|
49
|
+
* [onPrefetch]="session.prefetch"
|
|
50
|
+
* [renderLink]="link"
|
|
51
|
+
* emptyText="Nothing matches"
|
|
52
|
+
* ></mol-search-results>
|
|
53
|
+
* <ng-template #link let-p>
|
|
54
|
+
* <a molLink [to]="p.href" [state]="p.state" [className]="p.className" (click)="p.onClick($event)">
|
|
55
|
+
* <ng-template [ngTemplateOutlet]="p.children" [ngTemplateOutletContext]="{ $implicit: hit }"></ng-template>
|
|
56
|
+
* </a>
|
|
57
|
+
* </ng-template>
|
|
58
|
+
* `,
|
|
59
|
+
* })
|
|
60
|
+
* export class Catalog {
|
|
61
|
+
* readonly t = useTranslation().t
|
|
62
|
+
* readonly session = useSearchSession({
|
|
63
|
+
* docs: packages,
|
|
64
|
+
* options: PACKAGE_INDEX_OPTIONS,
|
|
65
|
+
* rememberKey: 'catalog.search',
|
|
66
|
+
* onOpen: (p) => navigate(`/packages/${p.name}`),
|
|
67
|
+
* })
|
|
68
|
+
* readonly view = (p: Pkg) => ({ href: `/packages/${p.name}`, title: `@molecule/${p.name}`, description: p.description, meta: [p.type, p.category], mono: true })
|
|
69
|
+
* }
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* (`searchPlaceholder` and `nothingMatches` are the app's own translated strings.)
|
|
73
|
+
*
|
|
74
|
+
* @remarks
|
|
75
|
+
* - **Pass a router link through `renderLink`**, or every row is a full page
|
|
76
|
+
* load: the list renders a plain `<a>` by default because it does not know
|
|
77
|
+
* your router. A plain click calls `onOpen` (which the session turns into
|
|
78
|
+
* navigation); a modified click is left to the browser so "open in new tab" works.
|
|
79
|
+
* - The box does not own the text: bind `value`/`onChange` to a session (or
|
|
80
|
+
* any state) and it stays mounted, with its text, across searches. Do not
|
|
81
|
+
* remount it per search.
|
|
82
|
+
* - `placeholder`, `emptyText` and the like are already-translated strings
|
|
83
|
+
* from the app; the package translates only its own chrome ("Clear
|
|
84
|
+
* search", "{{count}} results", "Search tips") through `@molecule/app-locales-search-ui`.
|
|
85
|
+
* - The quick dialog needs a session created with `syncUrl: false` and
|
|
86
|
+
* `onEscape: onClose`; the page's own session keeps the URL.
|
|
87
|
+
* - Node-valued React props are projected content: `afterField` is selected
|
|
88
|
+
* by `[slot=afterField]`, and a render function (`renderLink`, `action`) is
|
|
89
|
+
* a `TemplateRef` whose context carries its argument as `$implicit`.
|
|
90
|
+
*
|
|
91
|
+
* @module
|
|
92
|
+
*/
|
|
93
|
+
export * from './highlight.component.js';
|
|
94
|
+
export * from './kbd.component.js';
|
|
95
|
+
export * from './quick-search-dialog.component.js';
|
|
96
|
+
export * from './search-box.component.js';
|
|
97
|
+
export * from './search-results.component.js';
|
|
98
|
+
export * from './types.js';
|
|
99
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2FG;AAEH,cAAc,0BAA0B,CAAA;AACxC,cAAc,oBAAoB,CAAA;AAClC,cAAc,oCAAoC,CAAA;AAClD,cAAc,2BAA2B,CAAA;AACzC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,YAAY,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { UIClassMap } from '@molecule/app-ui';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Kbd component.
|
|
5
|
+
*
|
|
6
|
+
* A key cap, for shortcut hints (`/` to focus, `↵` to open). The host IS the
|
|
7
|
+
* `<kbd>` React renders (`kbd[mol-kbd]`), and the key label is the projected
|
|
8
|
+
* content — the same children React's `Kbd` carries. The cap shows a key name,
|
|
9
|
+
* not prose (a physical key such as `esc` reads the same in every language), so
|
|
10
|
+
* the host carries HTML's own `translate="no"`.
|
|
11
|
+
*/
|
|
12
|
+
export declare class Kbd {
|
|
13
|
+
/** Extra classes composed onto the cap. */
|
|
14
|
+
className?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The current class map.
|
|
17
|
+
* @returns The UIClassMap.
|
|
18
|
+
*/
|
|
19
|
+
cm(): UIClassMap;
|
|
20
|
+
/**
|
|
21
|
+
* The cap's class list (`cm.kbd` + `className`).
|
|
22
|
+
* @returns The class string.
|
|
23
|
+
*/
|
|
24
|
+
classes(): string;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Kbd, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Kbd, "kbd[mol-kbd]", never, { "className": { "alias": "className"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=kbd.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kbd.component.d.ts","sourceRoot":"","sources":["../src/kbd.component.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;;AAGlD;;;;;;;;GAQG;AACH,qBAUa,GAAG;IACd,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;OAGG;IACH,EAAE,IAAI,UAAU;IAIhB;;;OAGG;IACH,OAAO,IAAI,MAAM;yCAhBN,GAAG;2CAAH,GAAG;CAmBf"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kbd component (React parity).
|
|
3
|
+
*
|
|
4
|
+
* @module
|
|
5
|
+
*/
|
|
6
|
+
import { Component } from '@angular/core';
|
|
7
|
+
import { getClassMap } from '@molecule/app-ui';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
const _c0 = ["*"];
|
|
10
|
+
/**
|
|
11
|
+
* Kbd component.
|
|
12
|
+
*
|
|
13
|
+
* A key cap, for shortcut hints (`/` to focus, `↵` to open). The host IS the
|
|
14
|
+
* `<kbd>` React renders (`kbd[mol-kbd]`), and the key label is the projected
|
|
15
|
+
* content — the same children React's `Kbd` carries. The cap shows a key name,
|
|
16
|
+
* not prose (a physical key such as `esc` reads the same in every language), so
|
|
17
|
+
* the host carries HTML's own `translate="no"`.
|
|
18
|
+
*/
|
|
19
|
+
export class Kbd {
|
|
20
|
+
/** Extra classes composed onto the cap. */
|
|
21
|
+
className;
|
|
22
|
+
/**
|
|
23
|
+
* The current class map.
|
|
24
|
+
* @returns The UIClassMap.
|
|
25
|
+
*/
|
|
26
|
+
cm() {
|
|
27
|
+
return getClassMap();
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The cap's class list (`cm.kbd` + `className`).
|
|
31
|
+
* @returns The class string.
|
|
32
|
+
*/
|
|
33
|
+
classes() {
|
|
34
|
+
return this.cm().cn(this.cm().kbd, this.className);
|
|
35
|
+
}
|
|
36
|
+
static ɵfac = function Kbd_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || Kbd)(); };
|
|
37
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Kbd, selectors: [["kbd", "mol-kbd", ""]], hostAttrs: ["translate", "no"], hostVars: 2, hostBindings: function Kbd_HostBindings(rf, ctx) { if (rf & 2) {
|
|
38
|
+
i0.ɵɵclassMap(ctx.classes());
|
|
39
|
+
} }, inputs: { className: "className" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function Kbd_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
+
i0.ɵɵprojectionDef();
|
|
41
|
+
i0.ɵɵprojection(0);
|
|
42
|
+
} }, encapsulation: 2 });
|
|
43
|
+
}
|
|
44
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Kbd, [{
|
|
45
|
+
type: Component,
|
|
46
|
+
args: [{
|
|
47
|
+
selector: 'kbd[mol-kbd]',
|
|
48
|
+
standalone: true,
|
|
49
|
+
inputs: ['className'],
|
|
50
|
+
host: {
|
|
51
|
+
'[class]': 'classes()',
|
|
52
|
+
translate: 'no',
|
|
53
|
+
},
|
|
54
|
+
template: `<ng-content></ng-content>`,
|
|
55
|
+
}]
|
|
56
|
+
}], null, null); })();
|
|
57
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Kbd, { className: "Kbd", filePath: "kbd.component.ts", lineNumber: 31 }); })();
|
|
58
|
+
//# sourceMappingURL=kbd.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kbd.component.js","sourceRoot":"","sources":["../src/kbd.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAGzC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;;;AAE9C;;;;;;;;GAQG;AAWH,MAAM,OAAO,GAAG;IACd,2CAA2C;IAC3C,SAAS,CAAS;IAElB;;;OAGG;IACH,EAAE;QACA,OAAO,WAAW,EAAE,CAAA;IACtB,CAAC;IAED;;;OAGG;IACH,OAAO;QACL,OAAO,IAAI,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC,CAAA;IACpD,CAAC;6FAlBU,GAAG;6DAAH,GAAG;YAAH,cAAA,aACV,CADa;;;YAFH,kBAAyB;;;iFAEzB,GAAG;cAVf,SAAS;eAAC;gBACT,QAAQ,EAAE,cAAc;gBACxB,UAAU,EAAE,IAAI;gBAChB,MAAM,EAAE,CAAC,WAAW,CAAC;gBACrB,IAAI,EAAE;oBACJ,SAAS,EAAE,WAAW;oBACtB,SAAS,EAAE,IAAI;iBAChB;gBACD,QAAQ,EAAE,2BAA2B;aACtC;;kFACY,GAAG"}
|