@magicx-eng/ai-autocomplete-angular 0.49.0 → 0.50.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.
- package/README.md +4 -4
- package/REFERENCE.md +21 -17
- package/esm2020/lib/ai-autocomplete/ai-autocomplete.component.mjs +3 -3
- package/esm2020/lib/ai-autocomplete-dropdown/ai-autocomplete-dropdown.component.mjs +47 -8
- package/esm2020/lib/internal/layout/grid.component.mjs +2 -2
- package/esm2020/lib/internal/pill-list/pill-list.component.mjs +3 -3
- package/esm2020/lib/internal/product-strip/product-strip.component.mjs +3 -3
- package/esm2020/lib/internal/suggestion-item/suggestion-item.component.mjs +3 -3
- package/esm2020/lib/internal/time-wheel/time-wheel.component.mjs +3 -3
- package/fesm2015/magicx-eng-ai-autocomplete-angular.mjs +61 -20
- package/fesm2015/magicx-eng-ai-autocomplete-angular.mjs.map +1 -1
- package/fesm2020/magicx-eng-ai-autocomplete-angular.mjs +58 -19
- package/fesm2020/magicx-eng-ai-autocomplete-angular.mjs.map +1 -1
- package/lib/ai-autocomplete-dropdown/ai-autocomplete-dropdown.component.d.ts +17 -2
- package/lib/ai-autocomplete-dropdown/ai-autocomplete-dropdown.component.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -84,8 +84,8 @@ export declare class AIAutocompleteDropdownComponent implements OnInit, OnChange
|
|
|
84
84
|
/**
|
|
85
85
|
* Whether the pillbar ends in a small "skip" button that dismisses the
|
|
86
86
|
* active pill — same action as pressing → at the end of the input. It sits
|
|
87
|
-
*
|
|
88
|
-
*
|
|
87
|
+
* right after the parameter label, behind a thin rule ("Gender | skip"); a
|
|
88
|
+
* skip-only row (`showPills` false) holds it alone at the trailing edge.
|
|
89
89
|
* Default: true. Hidden automatically during re-edit and while the fallback
|
|
90
90
|
* skeleton renders.
|
|
91
91
|
*/
|
|
@@ -173,6 +173,13 @@ export declare class AIAutocompleteDropdownComponent implements OnInit, OnChange
|
|
|
173
173
|
private lastVisibleContent;
|
|
174
174
|
ngOnInit(): void;
|
|
175
175
|
ngOnChanges(changes: SimpleChanges): void;
|
|
176
|
+
/**
|
|
177
|
+
* The Done wrapper spans the panel but the button is only as wide as the
|
|
178
|
+
* options, so commit only for a tap on the button itself, as vanilla and
|
|
179
|
+
* React do. The listener stays on the wrapper because the button is
|
|
180
|
+
* re-created and must carry none of its own.
|
|
181
|
+
*/
|
|
182
|
+
onMultiDoneClick(event: Event, skipDisabled: boolean): void;
|
|
176
183
|
/**
|
|
177
184
|
* Keep the core's "more below" arrow controller bound to whichever options
|
|
178
185
|
* grid is currently rendered — the Angular analogue of React's
|
|
@@ -183,6 +190,14 @@ export declare class AIAutocompleteDropdownComponent implements OnInit, OnChange
|
|
|
183
190
|
*/
|
|
184
191
|
ngAfterViewChecked(): void;
|
|
185
192
|
ngOnDestroy(): void;
|
|
193
|
+
private morphRoot;
|
|
194
|
+
/**
|
|
195
|
+
* The open panel's height glide and question crossfade, shared with vanilla
|
|
196
|
+
* and React (the core's panelMorph.ts). Keyed on the active pill's text, as
|
|
197
|
+
* the other two packages key it. The crossfade's ghost is a node the core
|
|
198
|
+
* appends to the root and removes itself; Angular's renderer never owns it.
|
|
199
|
+
*/
|
|
200
|
+
private syncPanelMorph;
|
|
186
201
|
/**
|
|
187
202
|
* Keep the open panel inside the visible viewport — above a phone's
|
|
188
203
|
* keyboard — through the core's fit controller (see the core's
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-autocomplete-dropdown.component.d.ts","sourceRoot":"","sources":["../../../src/lib/ai-autocomplete-dropdown/ai-autocomplete-dropdown.component.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,gBAAgB,EAQrB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,MAAM,EACX,KAAK,aAAa,EAGnB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,KAAK,cAAc,EAKnB,KAAK,aAAa,EAClB,KAAK,aAAa,
|
|
1
|
+
{"version":3,"file":"ai-autocomplete-dropdown.component.d.ts","sourceRoot":"","sources":["../../../src/lib/ai-autocomplete-dropdown/ai-autocomplete-dropdown.component.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,gBAAgB,EAQrB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,MAAM,EACX,KAAK,aAAa,EAGnB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,KAAK,cAAc,EAKnB,KAAK,aAAa,EAClB,KAAK,aAAa,EAQlB,KAAK,YAAY,EAEjB,KAAK,OAAO,EACZ,KAAK,oBAAoB,EACzB,KAAK,cAAc,EAGnB,KAAK,UAAU,EACf,KAAK,gBAAgB,EAErB,KAAK,QAAQ,EACb,KAAK,SAAS,EAGf,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAkC,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAEvE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;;AAUzF,UAAU,UAAU;IAClB,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAC;IACnB,mFAAmF;IACnF,eAAe,EAAE,OAAO,CAAC;IACzB,UAAU,EAAE,OAAO,CAAC;IACpB,8DAA8D;IAC9D,SAAS,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB,6DAA6D;IAC7D,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,OAAO,CAAC;IACtB,sEAAsE;IACtE,aAAa,EAAE,OAAO,CAAC;IACvB,iEAAiE;IACjE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAC;IAC/B,gFAAgF;IAChF,aAAa,EAAE,aAAa,CAAC;IAC7B,mEAAmE;IACnE,cAAc,EAAE,OAAO,CAAC;IACxB,+DAA+D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jB;IAE5C;;;OAGG;IACH,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAI5C,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;yCAjiBpB,+BAA+B;2CAA/B,+BAA+B;CAqiB3C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magicx-eng/ai-autocomplete-angular",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.50.0",
|
|
4
4
|
"description": "AI Autocomplete for Angular: add real-time AI suggestions to any text box and guide users to what your product can do, across search, commerce, agents, and more. Standalone component or controller + directive, with Reactive Forms support.",
|
|
5
5
|
"homepage": "https://ai-autocomplete.com/docs/angular/getting-started",
|
|
6
6
|
"bugs": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"tslib": "^2.3.0",
|
|
28
|
-
"@magicx-eng/ai-autocomplete-vanilla": "0.
|
|
28
|
+
"@magicx-eng/ai-autocomplete-vanilla": "0.64.0"
|
|
29
29
|
},
|
|
30
30
|
"keywords": [
|
|
31
31
|
"angular",
|