@magicx-eng/ai-autocomplete-angular 0.64.3 → 0.65.1

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 CHANGED
@@ -416,6 +416,8 @@ The dropdown shows a row of product cards under the options whenever there are p
416
416
 
417
417
  Each response that read the catalog says which of the query's constraints it applied (`applied_filters`), which it dropped (`dropped_filters`) and how many items are left (`items.total`). Read it from `customFields$` on the controller, or from `custom_fields` on `AutocompleteResult`. `null` means no catalog was read for that response. Details: [REFERENCE.md](https://unpkg.com/@magicx-eng/ai-autocomplete-angular/REFERENCE.md), under "The catalog report".
418
418
 
419
+ When the search finds no item, `blocking_filters` names each condition whose removal finds items, with the count. The SDK greys out those chips and gives each a "×" that removes it, even with `showChipRemove` off. The chips are `blockingChips` on the controller state; the opacity is the `--aia-blocking-chip-opacity` token (default `0.5`).
420
+
419
421
  #### Change product cards before display
420
422
 
421
423
  `mapProducts(products, items)` changes the cards before they show (to put in the shopper's own prices, say), and `refreshProducts()` maps them again when your data arrives. Details: [REFERENCE.md](https://unpkg.com/@magicx-eng/ai-autocomplete-angular/REFERENCE.md), under "Change product cards before display".
package/REFERENCE.md CHANGED
@@ -640,7 +640,7 @@ calendar, the text is treated as a new query.
640
640
  - Select rows to toggle values. Typing filters the options and keeps the current picks.
641
641
  - Done joins the picks in selection order with the UI language's word for "and".
642
642
  - Each value has its own `completed_params` entry. The input shows one chip for the group.
643
- - Remove the group chip to change the answer. Group chips do not open for editing.
643
+ - Tap the group chip to change the answer: the checkbox list opens again with the chip's values ticked, and Done replaces the chip and sends one request. Done with every value unticked removes the chip. Leaving the list without Done keeps the answer as it was.
644
644
  - Done without picks skips the question. Typing a phrase with no matching options closes the question and keeps that phrase.
645
645
  - Space toggles the highlighted row when nothing is typed for the question. Enter commits the picks, or selects the highlighted row when no values are picked.
646
646
  - Headless integrations can call `toggleMultiSelectOption(option)` and `commitMultiSelect()`.