@magicx-eng/ai-autocomplete-angular 0.39.0 → 0.39.2
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/esm2020/lib/ai-autocomplete/ai-autocomplete.component.mjs +3 -3
- package/esm2020/lib/ai-autocomplete-dropdown/ai-autocomplete-dropdown.component.mjs +3 -3
- package/esm2020/lib/internal/pill-list/pill-list.component.mjs +12 -4
- package/esm2020/lib/internal/suggestion-item/suggestion-item.component.mjs +3 -3
- package/fesm2015/magicx-eng-ai-autocomplete-angular.mjs +16 -10
- package/fesm2015/magicx-eng-ai-autocomplete-angular.mjs.map +1 -1
- package/fesm2020/magicx-eng-ai-autocomplete-angular.mjs +16 -10
- package/fesm2020/magicx-eng-ai-autocomplete-angular.mjs.map +1 -1
- package/lib/internal/pill-list/pill-list.component.d.ts +8 -1
- package/lib/internal/pill-list/pill-list.component.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
|
-
import type
|
|
2
|
+
import { type SafeHtml } from "@angular/platform-browser";
|
|
3
|
+
import { isSmartSuggestion, isTraditionalAutocompleteSuggestion, type Suggestion } from "@magicx-eng/ai-autocomplete-vanilla";
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
/**
|
|
5
6
|
* Internal pill list used by both the dropdown and Tier 1's inline pillbar.
|
|
@@ -28,6 +29,12 @@ export declare class PillListComponent {
|
|
|
28
29
|
*/
|
|
29
30
|
activeSelected: boolean;
|
|
30
31
|
readonly selectPill: EventEmitter<number>;
|
|
32
|
+
/** The sparkle after the Smart Suggestion header; a fixed SDK constant, so it is trusted as is. */
|
|
33
|
+
readonly sparkleSvg: SafeHtml;
|
|
34
|
+
/** The traditional autocomplete suggestion heads completions instead of asking a question. */
|
|
35
|
+
readonly isSmartSuggestion: typeof isSmartSuggestion;
|
|
36
|
+
/** The inert header over completions, which takes no pointer; a marked question stays tappable. */
|
|
37
|
+
readonly isCompletionHeader: typeof isTraditionalAutocompleteSuggestion;
|
|
31
38
|
/** Fallback widths when loading with zero cached pills (matches React). */
|
|
32
39
|
readonly fallbackSkeletonWidths: number[];
|
|
33
40
|
/** The active pill is "selected" only when `activeSelected` is set. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pill-list.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/internal/pill-list/pill-list.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,
|
|
1
|
+
{"version":3,"file":"pill-list.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/internal/pill-list/pill-list.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAKb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAgB,KAAK,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EACL,iBAAiB,EACjB,mCAAmC,EAEnC,KAAK,UAAU,EAChB,MAAM,qCAAqC,CAAC;;AAE7C;;;;;;;GAOG;AACH,qBASa,iBAAiB;IACnB,KAAK,EAAE,UAAU,EAAE,CAAM;IACzB,eAAe,SAAK;IACpB,OAAO,UAAS;IACzB;;;;;OAKG;IACM,OAAO,UAAS;IACzB;;;;;OAKG;IACM,cAAc,UAAS;IAEtB,QAAQ,CAAC,UAAU,uBAA8B;IAE3D,mGAAmG;IACnG,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAE3B;IAEF,8FAA8F;IAC9F,QAAQ,CAAC,iBAAiB,2BAAqB;IAC/C,mGAAmG;IACnG,QAAQ,CAAC,kBAAkB,6CAAuC;IAElE,2EAA2E;IAC3E,QAAQ,CAAC,sBAAsB,WAAa;IAE5C,uEAAuE;IACvE,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;IAIlC;;;;OAIG;IACH,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAOlC,WAAW,MAAO,MAAM,QAAQ,UAAU,KAAG,MAAM,CAAmB;IACtE,YAAY,MAAO,MAAM,KAAK,MAAM,KAAG,MAAM,CAAM;IAEnD,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAKhC,eAAe,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;yCA3DxB,iBAAiB;2CAAjB,iBAAiB;CA+D7B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magicx-eng/ai-autocomplete-angular",
|
|
3
|
-
"version": "0.39.
|
|
3
|
+
"version": "0.39.2",
|
|
4
4
|
"description": "AI Autocomplete Angular SDK — guided autocomplete with pill-based input and dropdown suggestions",
|
|
5
5
|
"module": "fesm2015/magicx-eng-ai-autocomplete-angular.mjs",
|
|
6
6
|
"es2020": "fesm2020/magicx-eng-ai-autocomplete-angular.mjs",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"tslib": "^2.3.0",
|
|
24
|
-
"@magicx-eng/ai-autocomplete-vanilla": "0.50.
|
|
24
|
+
"@magicx-eng/ai-autocomplete-vanilla": "0.50.2"
|
|
25
25
|
},
|
|
26
26
|
"keywords": [
|
|
27
27
|
"angular",
|