@magicx-eng/ai-autocomplete-vanilla 0.80.2 → 0.81.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 +2 -0
- package/dist/index.d.mts +40 -1
- package/dist/index.d.ts +40 -1
- package/dist/index.js +90 -29
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +90 -29
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -232,6 +232,8 @@ Pass `onProductAddToCart` and every card that isn't sold out gets a cart button;
|
|
|
232
232
|
|
|
233
233
|
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 state, 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-vanilla/REFERENCE.md), under "The catalog report".
|
|
234
234
|
|
|
235
|
+
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 on state as `blockingChips`; the opacity is the `--aia-blocking-chip-opacity` token (default `0.5`).
|
|
236
|
+
|
|
235
237
|
#### Change product cards before display
|
|
236
238
|
|
|
237
239
|
`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-vanilla/REFERENCE.md), under "Change product cards before display".
|
package/dist/index.d.mts
CHANGED
|
@@ -400,6 +400,19 @@ interface CustomFieldsReport {
|
|
|
400
400
|
* them to its text query.
|
|
401
401
|
*/
|
|
402
402
|
ignored_words?: string;
|
|
403
|
+
/**
|
|
404
|
+
* When `items.total` is 0: each stated filter whose removal finds items, and
|
|
405
|
+
* the item count without it. The largest total comes first. Absent when
|
|
406
|
+
* there are none.
|
|
407
|
+
*/
|
|
408
|
+
blocking_filters?: BlockingFilter[];
|
|
409
|
+
}
|
|
410
|
+
/** A filter the query stated, and the item count found without it. */
|
|
411
|
+
interface BlockingFilter {
|
|
412
|
+
parameter: string;
|
|
413
|
+
value: string;
|
|
414
|
+
op: FilterOp;
|
|
415
|
+
total: number;
|
|
403
416
|
}
|
|
404
417
|
interface CompletedParamState extends CompletedParam {
|
|
405
418
|
/** Client-only identity for values committed together. */
|
|
@@ -968,6 +981,18 @@ declare function withTimeWheelIndex(column: TimeWheelColumn, minutes: number, in
|
|
|
968
981
|
/** The row a column scrolled to `scrollTop` has settled on. */
|
|
969
982
|
declare function timeWheelIndexFromScroll(column: TimeWheelColumn, scrollTop: number): number;
|
|
970
983
|
|
|
984
|
+
/** A chip in the input whose removal finds items, and how many. */
|
|
985
|
+
interface BlockingChip {
|
|
986
|
+
paramId: string;
|
|
987
|
+
text: string;
|
|
988
|
+
total: number;
|
|
989
|
+
}
|
|
990
|
+
/**
|
|
991
|
+
* The chips that `blocking_filters` names, in the report's order (largest total first).
|
|
992
|
+
* A completed chip matches on parameter and value. An identified chip is a typed span, so it matches on parameter.
|
|
993
|
+
*/
|
|
994
|
+
declare function blockingChips(segments: readonly Segment[], report: CustomFieldsReport | null): BlockingChip[];
|
|
995
|
+
|
|
971
996
|
/**
|
|
972
997
|
* Raw, user/network/internal-driven fields. The store holds *only* these —
|
|
973
998
|
* derived state is recomputed lazily on read. See {@link CoreDerivedState}.
|
|
@@ -1399,6 +1424,11 @@ interface CoreDerivedState {
|
|
|
1399
1424
|
* - `hidden`: always false (the dropdown never opens).
|
|
1400
1425
|
*/
|
|
1401
1426
|
isActivePillSelected: boolean;
|
|
1427
|
+
/**
|
|
1428
|
+
* The chips whose removal finds items when the last report found none
|
|
1429
|
+
* (`customFields.blocking_filters`), largest total first. Empty otherwise.
|
|
1430
|
+
*/
|
|
1431
|
+
blockingChips: BlockingChip[];
|
|
1402
1432
|
}
|
|
1403
1433
|
/**
|
|
1404
1434
|
* Full state shape (inputs + derived) exposed to consumers via `getState()`
|
|
@@ -3367,6 +3397,13 @@ declare const PANEL_GLIDE_MS = 360;
|
|
|
3367
3397
|
declare const PANEL_LEAVE_MS = 280;
|
|
3368
3398
|
declare const PANEL_ENTER_MS = 320;
|
|
3369
3399
|
declare const PANEL_ENTER_DELAY_MS = 40;
|
|
3400
|
+
/**
|
|
3401
|
+
* A press the hold timer releases (nothing replaced it) must leave the stored
|
|
3402
|
+
* copy too: otherwise a slow next question fades out a copy still showing the
|
|
3403
|
+
* pick, a pressed look the live panel no longer has. The baked values replaced
|
|
3404
|
+
* whatever the copy had, so they are blanked rather than restored.
|
|
3405
|
+
*/
|
|
3406
|
+
declare function clearPanelMorphPressLook(dropdown: HTMLElement | null | undefined): void;
|
|
3370
3407
|
/**
|
|
3371
3408
|
* The panel's identity for crossfading: the leading pill's text. A new value
|
|
3372
3409
|
* while the panel stays open is a new question.
|
|
@@ -3501,6 +3538,8 @@ interface RenderEditableArgs {
|
|
|
3501
3538
|
* them (see startingHint.ts). Omitted or empty: the plain placeholder.
|
|
3502
3539
|
*/
|
|
3503
3540
|
hintOptions?: readonly StartingHintOption[];
|
|
3541
|
+
/** Chips whose removal finds items when the search found none. They carry `magicx-aia-segment--blocking`. */
|
|
3542
|
+
blockingParamIds?: readonly string[];
|
|
3504
3543
|
/** Whether chips (completed and identified) end in a faint "×" that removes them. Default: false. */
|
|
3505
3544
|
showChipRemove?: boolean;
|
|
3506
3545
|
}
|
|
@@ -4038,4 +4077,4 @@ declare const SMART_SUGGESTION_SPARKLE_SVG: string;
|
|
|
4038
4077
|
/** True when some pill is a question the shopper can decline. */
|
|
4039
4078
|
declare function hasSkippablePill(suggestions: Suggestion[]): boolean;
|
|
4040
4079
|
|
|
4041
|
-
export { AIAutocomplete, type APIConfig, type APIKeyConfig, ATTRIBUTION_URL, type AccessTokenConfig, type AccessTokenResult, type AppearanceMode, type AutocompleteRequest, type AutocompleteResponse, type AutocompleteResult, type CompletedParam, type CompletedParamState, type CoreOptions, type CoreState, type CurrencyOptions, type CustomFieldsReport, DATE_RANGE_META_END, DATE_RANGE_META_START, DEFAULT_OPTION_COUNT_UNIT, type DateMonthView, type DateRange, type DateSelection, EDITOR_GROW_MS, type ExpressedFilter, type FilterOp, type FocusInputOnSelect, type FormatType, HANDOFF_NOT_HANDLED, HINT_ATTR, HINT_EL_ATTR, HINT_HOLD_MS, type IdentifiedParam, type IdentifiedParamState, type InputItem, LAST_SEARCH_KEY, LOCATION_META_KEY, LOCATION_MIN_QUERY, type LocationPlace, type LocationStatus, type LocationView, type LooseDateOptions, MULTI_DONE_FIT_VAR, MULTI_SELECT_TOGGLE_MIN_PX, MULTI_SELECT_TOGGLE_SLOP_PX, type MatchedItem, type MatchedItems, ModeController, OPTIONS_GRID_MOBILE_QUERY, OPTION_ENTER_DELAY_VAR, OPTION_ENTER_FADE_MS, OPTION_ENTER_RISE_MS, OPTION_ENTER_RISE_PX, OPTION_ENTER_STAGGER_MS, OPTION_IMAGE_WIDTH, type OptionOverride, type OptionOverrides, type OptionsGridLayout, type OptionsGridPlan, PANEL_ENTER_DELAY_MS, PANEL_ENTER_MS, PANEL_GHOST_CLASS, PANEL_GLIDE_MS, PANEL_LEAVE_MS, PLACEHOLDER_FADE_OUT_MS, PLACEHOLDER_LEAVING_ATTR, PLACEHOLDER_SWAP_GAP_MS, PLACEHOLDER_TYPE_MS, PLACEHOLDER_WORD_PAUSE_MS, PRODUCT_IMAGE_WIDTH, PRODUCT_PATH_PREFIX, PRODUCT_ROW_PX_PER_LINE, type PhraseMatch, type Product, type ProductImageFallback, type ProductRowMetrics, type ProductRowWheel, type ProductsConfig, type ProductsLayout, RANGE_SEPARATOR, type RecentlySuggested, type RenderMode, SCHEMA_VERSION, SCROLL_ARROW_ATTR, SCROLL_ARROW_BOTTOM_VAR, SCROLL_ARROW_CLASS, SCROLL_ARROW_FADE_MS, SCROLL_ARROW_LABEL, SCROLL_ARROW_SCROLL_IDLE_MS, SCROLL_ARROW_VISIBLE_ATTR, SKIPPED_PARAM_TEXT, SMART_SUGGESTION_SPARKLE_SVG, type ScrollArrowArgs, type ScrollArrowController, type Segment, type SelectOptionOptions, type SkippedParamState, type StartingHintOption, type Store, type SubmitResultExtras, type Suggestion, type SuggestionOption, type SuggestionType, TIME_META_KEY, TIME_STEP_MINUTES, TIME_WHEEL_COLUMNS, TIME_WHEEL_ROW_HEIGHT, type TaskKind, type TextPart, type TimeParts, type TimePeriod, type TimeView, type TimeWheelColumn, type TimeWheelRow, type UIStrings, VIEWPORT_FIT_ATTR, VIEWPORT_FIT_HEIGHT_VAR, type ViewportFitArgs, type ViewportFitController, WEEKDAY_LABELS, addMonths, attachChipRemove, attachProductRowWheel, attachScrollArrow, attachViewportFit, buildAttributionUrl, buildDateOptions, buildLocationOption, buildQuery, buildSubmitResult, buildTimeOption, cancelStartingHint, cellDay, cellIso, chipIdFromTap, computeOptionsGridLayout, containScroll, createStore, cursorIsAtEnd, dateCellMarks, dateFloorFor, dateSelectionFor, destroyPanelMorph, dropdownPillsFor, editingSuggestion, extractPlainText, findMultiSelectDone, fitMultiSelectDone, focusEditorFromTap, focusesInputOnSelect, formatAbsoluteDate, formatDate, formatDateRange, formatOptionCount, formatPlace, formatTime, getCursorOffset, getFooterHint, hasSkippablePill, highlightParts, identifiedParamLabel, inPanelGhost, isCalendarFormat, isDimmedDay, isMultiSelectToggleTap, isOptionsGridMobileViewport, isPickerFormat, isSmartSuggestion, isTouchPrimary, isTraditionalAutocompleteSuggestion, isoDate, isoTime, keepCaretOnChip, labelTraditionalAutocomplete, locationEndpointFor, matchTypedPhrase, measureOptionsGrid, monthLabel, needsOptionsGridMeasurement, notePanelMorphHeight, optionCountLabel, optionEnterDelayMs, optionHasImage, optionImageSources, optionImageSrc, optionLabel, optionsEntranceDurationMs, optionsGridTemplateColumns, optionsShowLeadingVisuals, panelMorphGlide, panelMorphKey, panelMorphTargetHeight, parseDate, parseLooseDate, parseLooseDateRange, parseTime, plainTextLength, planOptionsGrid, pointerMayHighlight, previousGraphemeBoundary, productFromMatchedItem, productImageSources, productImageSrc, productInitial, productPhotoFill, productRowWheelTarget, productsFromCustomFields, queryLive, releasePanelHug, renderEditableContent, resolveFormatType, resolveIdentifiedDate, sameOptionRows, sanitizeOptionIconSvg, scrollCaretIntoView, selectedIsoFromText, selectedRangeFor, setCursorOffset, settlePanelMorph, settlePickFocus, shopifyImageSrc, startingHintOptions, syncHighlightScroll, syncPanelHug, timeWheelIndex, timeWheelIndexFromScroll, timeWheelRows, toWireIdentifiedParams, typedFragment, uiStringsFor, visibleDateRange, watchEditorHeight, withSkippedParams, withTimeWheelIndex, withoutTraditionalAutocomplete };
|
|
4080
|
+
export { AIAutocomplete, type APIConfig, type APIKeyConfig, ATTRIBUTION_URL, type AccessTokenConfig, type AccessTokenResult, type AppearanceMode, type AutocompleteRequest, type AutocompleteResponse, type AutocompleteResult, type BlockingChip, type BlockingFilter, type CompletedParam, type CompletedParamState, type CoreOptions, type CoreState, type CurrencyOptions, type CustomFieldsReport, DATE_RANGE_META_END, DATE_RANGE_META_START, DEFAULT_OPTION_COUNT_UNIT, type DateMonthView, type DateRange, type DateSelection, EDITOR_GROW_MS, type ExpressedFilter, type FilterOp, type FocusInputOnSelect, type FormatType, HANDOFF_NOT_HANDLED, HINT_ATTR, HINT_EL_ATTR, HINT_HOLD_MS, type IdentifiedParam, type IdentifiedParamState, type InputItem, LAST_SEARCH_KEY, LOCATION_META_KEY, LOCATION_MIN_QUERY, type LocationPlace, type LocationStatus, type LocationView, type LooseDateOptions, MULTI_DONE_FIT_VAR, MULTI_SELECT_TOGGLE_MIN_PX, MULTI_SELECT_TOGGLE_SLOP_PX, type MatchedItem, type MatchedItems, ModeController, OPTIONS_GRID_MOBILE_QUERY, OPTION_ENTER_DELAY_VAR, OPTION_ENTER_FADE_MS, OPTION_ENTER_RISE_MS, OPTION_ENTER_RISE_PX, OPTION_ENTER_STAGGER_MS, OPTION_IMAGE_WIDTH, type OptionOverride, type OptionOverrides, type OptionsGridLayout, type OptionsGridPlan, PANEL_ENTER_DELAY_MS, PANEL_ENTER_MS, PANEL_GHOST_CLASS, PANEL_GLIDE_MS, PANEL_LEAVE_MS, PLACEHOLDER_FADE_OUT_MS, PLACEHOLDER_LEAVING_ATTR, PLACEHOLDER_SWAP_GAP_MS, PLACEHOLDER_TYPE_MS, PLACEHOLDER_WORD_PAUSE_MS, PRODUCT_IMAGE_WIDTH, PRODUCT_PATH_PREFIX, PRODUCT_ROW_PX_PER_LINE, type PhraseMatch, type Product, type ProductImageFallback, type ProductRowMetrics, type ProductRowWheel, type ProductsConfig, type ProductsLayout, RANGE_SEPARATOR, type RecentlySuggested, type RenderMode, SCHEMA_VERSION, SCROLL_ARROW_ATTR, SCROLL_ARROW_BOTTOM_VAR, SCROLL_ARROW_CLASS, SCROLL_ARROW_FADE_MS, SCROLL_ARROW_LABEL, SCROLL_ARROW_SCROLL_IDLE_MS, SCROLL_ARROW_VISIBLE_ATTR, SKIPPED_PARAM_TEXT, SMART_SUGGESTION_SPARKLE_SVG, type ScrollArrowArgs, type ScrollArrowController, type Segment, type SelectOptionOptions, type SkippedParamState, type StartingHintOption, type Store, type SubmitResultExtras, type Suggestion, type SuggestionOption, type SuggestionType, TIME_META_KEY, TIME_STEP_MINUTES, TIME_WHEEL_COLUMNS, TIME_WHEEL_ROW_HEIGHT, type TaskKind, type TextPart, type TimeParts, type TimePeriod, type TimeView, type TimeWheelColumn, type TimeWheelRow, type UIStrings, VIEWPORT_FIT_ATTR, VIEWPORT_FIT_HEIGHT_VAR, type ViewportFitArgs, type ViewportFitController, WEEKDAY_LABELS, addMonths, attachChipRemove, attachProductRowWheel, attachScrollArrow, attachViewportFit, blockingChips, buildAttributionUrl, buildDateOptions, buildLocationOption, buildQuery, buildSubmitResult, buildTimeOption, cancelStartingHint, cellDay, cellIso, chipIdFromTap, clearPanelMorphPressLook, computeOptionsGridLayout, containScroll, createStore, cursorIsAtEnd, dateCellMarks, dateFloorFor, dateSelectionFor, destroyPanelMorph, dropdownPillsFor, editingSuggestion, extractPlainText, findMultiSelectDone, fitMultiSelectDone, focusEditorFromTap, focusesInputOnSelect, formatAbsoluteDate, formatDate, formatDateRange, formatOptionCount, formatPlace, formatTime, getCursorOffset, getFooterHint, hasSkippablePill, highlightParts, identifiedParamLabel, inPanelGhost, isCalendarFormat, isDimmedDay, isMultiSelectToggleTap, isOptionsGridMobileViewport, isPickerFormat, isSmartSuggestion, isTouchPrimary, isTraditionalAutocompleteSuggestion, isoDate, isoTime, keepCaretOnChip, labelTraditionalAutocomplete, locationEndpointFor, matchTypedPhrase, measureOptionsGrid, monthLabel, needsOptionsGridMeasurement, notePanelMorphHeight, optionCountLabel, optionEnterDelayMs, optionHasImage, optionImageSources, optionImageSrc, optionLabel, optionsEntranceDurationMs, optionsGridTemplateColumns, optionsShowLeadingVisuals, panelMorphGlide, panelMorphKey, panelMorphTargetHeight, parseDate, parseLooseDate, parseLooseDateRange, parseTime, plainTextLength, planOptionsGrid, pointerMayHighlight, previousGraphemeBoundary, productFromMatchedItem, productImageSources, productImageSrc, productInitial, productPhotoFill, productRowWheelTarget, productsFromCustomFields, queryLive, releasePanelHug, renderEditableContent, resolveFormatType, resolveIdentifiedDate, sameOptionRows, sanitizeOptionIconSvg, scrollCaretIntoView, selectedIsoFromText, selectedRangeFor, setCursorOffset, settlePanelMorph, settlePickFocus, shopifyImageSrc, startingHintOptions, syncHighlightScroll, syncPanelHug, timeWheelIndex, timeWheelIndexFromScroll, timeWheelRows, toWireIdentifiedParams, typedFragment, uiStringsFor, visibleDateRange, watchEditorHeight, withSkippedParams, withTimeWheelIndex, withoutTraditionalAutocomplete };
|
package/dist/index.d.ts
CHANGED
|
@@ -400,6 +400,19 @@ interface CustomFieldsReport {
|
|
|
400
400
|
* them to its text query.
|
|
401
401
|
*/
|
|
402
402
|
ignored_words?: string;
|
|
403
|
+
/**
|
|
404
|
+
* When `items.total` is 0: each stated filter whose removal finds items, and
|
|
405
|
+
* the item count without it. The largest total comes first. Absent when
|
|
406
|
+
* there are none.
|
|
407
|
+
*/
|
|
408
|
+
blocking_filters?: BlockingFilter[];
|
|
409
|
+
}
|
|
410
|
+
/** A filter the query stated, and the item count found without it. */
|
|
411
|
+
interface BlockingFilter {
|
|
412
|
+
parameter: string;
|
|
413
|
+
value: string;
|
|
414
|
+
op: FilterOp;
|
|
415
|
+
total: number;
|
|
403
416
|
}
|
|
404
417
|
interface CompletedParamState extends CompletedParam {
|
|
405
418
|
/** Client-only identity for values committed together. */
|
|
@@ -968,6 +981,18 @@ declare function withTimeWheelIndex(column: TimeWheelColumn, minutes: number, in
|
|
|
968
981
|
/** The row a column scrolled to `scrollTop` has settled on. */
|
|
969
982
|
declare function timeWheelIndexFromScroll(column: TimeWheelColumn, scrollTop: number): number;
|
|
970
983
|
|
|
984
|
+
/** A chip in the input whose removal finds items, and how many. */
|
|
985
|
+
interface BlockingChip {
|
|
986
|
+
paramId: string;
|
|
987
|
+
text: string;
|
|
988
|
+
total: number;
|
|
989
|
+
}
|
|
990
|
+
/**
|
|
991
|
+
* The chips that `blocking_filters` names, in the report's order (largest total first).
|
|
992
|
+
* A completed chip matches on parameter and value. An identified chip is a typed span, so it matches on parameter.
|
|
993
|
+
*/
|
|
994
|
+
declare function blockingChips(segments: readonly Segment[], report: CustomFieldsReport | null): BlockingChip[];
|
|
995
|
+
|
|
971
996
|
/**
|
|
972
997
|
* Raw, user/network/internal-driven fields. The store holds *only* these —
|
|
973
998
|
* derived state is recomputed lazily on read. See {@link CoreDerivedState}.
|
|
@@ -1399,6 +1424,11 @@ interface CoreDerivedState {
|
|
|
1399
1424
|
* - `hidden`: always false (the dropdown never opens).
|
|
1400
1425
|
*/
|
|
1401
1426
|
isActivePillSelected: boolean;
|
|
1427
|
+
/**
|
|
1428
|
+
* The chips whose removal finds items when the last report found none
|
|
1429
|
+
* (`customFields.blocking_filters`), largest total first. Empty otherwise.
|
|
1430
|
+
*/
|
|
1431
|
+
blockingChips: BlockingChip[];
|
|
1402
1432
|
}
|
|
1403
1433
|
/**
|
|
1404
1434
|
* Full state shape (inputs + derived) exposed to consumers via `getState()`
|
|
@@ -3367,6 +3397,13 @@ declare const PANEL_GLIDE_MS = 360;
|
|
|
3367
3397
|
declare const PANEL_LEAVE_MS = 280;
|
|
3368
3398
|
declare const PANEL_ENTER_MS = 320;
|
|
3369
3399
|
declare const PANEL_ENTER_DELAY_MS = 40;
|
|
3400
|
+
/**
|
|
3401
|
+
* A press the hold timer releases (nothing replaced it) must leave the stored
|
|
3402
|
+
* copy too: otherwise a slow next question fades out a copy still showing the
|
|
3403
|
+
* pick, a pressed look the live panel no longer has. The baked values replaced
|
|
3404
|
+
* whatever the copy had, so they are blanked rather than restored.
|
|
3405
|
+
*/
|
|
3406
|
+
declare function clearPanelMorphPressLook(dropdown: HTMLElement | null | undefined): void;
|
|
3370
3407
|
/**
|
|
3371
3408
|
* The panel's identity for crossfading: the leading pill's text. A new value
|
|
3372
3409
|
* while the panel stays open is a new question.
|
|
@@ -3501,6 +3538,8 @@ interface RenderEditableArgs {
|
|
|
3501
3538
|
* them (see startingHint.ts). Omitted or empty: the plain placeholder.
|
|
3502
3539
|
*/
|
|
3503
3540
|
hintOptions?: readonly StartingHintOption[];
|
|
3541
|
+
/** Chips whose removal finds items when the search found none. They carry `magicx-aia-segment--blocking`. */
|
|
3542
|
+
blockingParamIds?: readonly string[];
|
|
3504
3543
|
/** Whether chips (completed and identified) end in a faint "×" that removes them. Default: false. */
|
|
3505
3544
|
showChipRemove?: boolean;
|
|
3506
3545
|
}
|
|
@@ -4038,4 +4077,4 @@ declare const SMART_SUGGESTION_SPARKLE_SVG: string;
|
|
|
4038
4077
|
/** True when some pill is a question the shopper can decline. */
|
|
4039
4078
|
declare function hasSkippablePill(suggestions: Suggestion[]): boolean;
|
|
4040
4079
|
|
|
4041
|
-
export { AIAutocomplete, type APIConfig, type APIKeyConfig, ATTRIBUTION_URL, type AccessTokenConfig, type AccessTokenResult, type AppearanceMode, type AutocompleteRequest, type AutocompleteResponse, type AutocompleteResult, type CompletedParam, type CompletedParamState, type CoreOptions, type CoreState, type CurrencyOptions, type CustomFieldsReport, DATE_RANGE_META_END, DATE_RANGE_META_START, DEFAULT_OPTION_COUNT_UNIT, type DateMonthView, type DateRange, type DateSelection, EDITOR_GROW_MS, type ExpressedFilter, type FilterOp, type FocusInputOnSelect, type FormatType, HANDOFF_NOT_HANDLED, HINT_ATTR, HINT_EL_ATTR, HINT_HOLD_MS, type IdentifiedParam, type IdentifiedParamState, type InputItem, LAST_SEARCH_KEY, LOCATION_META_KEY, LOCATION_MIN_QUERY, type LocationPlace, type LocationStatus, type LocationView, type LooseDateOptions, MULTI_DONE_FIT_VAR, MULTI_SELECT_TOGGLE_MIN_PX, MULTI_SELECT_TOGGLE_SLOP_PX, type MatchedItem, type MatchedItems, ModeController, OPTIONS_GRID_MOBILE_QUERY, OPTION_ENTER_DELAY_VAR, OPTION_ENTER_FADE_MS, OPTION_ENTER_RISE_MS, OPTION_ENTER_RISE_PX, OPTION_ENTER_STAGGER_MS, OPTION_IMAGE_WIDTH, type OptionOverride, type OptionOverrides, type OptionsGridLayout, type OptionsGridPlan, PANEL_ENTER_DELAY_MS, PANEL_ENTER_MS, PANEL_GHOST_CLASS, PANEL_GLIDE_MS, PANEL_LEAVE_MS, PLACEHOLDER_FADE_OUT_MS, PLACEHOLDER_LEAVING_ATTR, PLACEHOLDER_SWAP_GAP_MS, PLACEHOLDER_TYPE_MS, PLACEHOLDER_WORD_PAUSE_MS, PRODUCT_IMAGE_WIDTH, PRODUCT_PATH_PREFIX, PRODUCT_ROW_PX_PER_LINE, type PhraseMatch, type Product, type ProductImageFallback, type ProductRowMetrics, type ProductRowWheel, type ProductsConfig, type ProductsLayout, RANGE_SEPARATOR, type RecentlySuggested, type RenderMode, SCHEMA_VERSION, SCROLL_ARROW_ATTR, SCROLL_ARROW_BOTTOM_VAR, SCROLL_ARROW_CLASS, SCROLL_ARROW_FADE_MS, SCROLL_ARROW_LABEL, SCROLL_ARROW_SCROLL_IDLE_MS, SCROLL_ARROW_VISIBLE_ATTR, SKIPPED_PARAM_TEXT, SMART_SUGGESTION_SPARKLE_SVG, type ScrollArrowArgs, type ScrollArrowController, type Segment, type SelectOptionOptions, type SkippedParamState, type StartingHintOption, type Store, type SubmitResultExtras, type Suggestion, type SuggestionOption, type SuggestionType, TIME_META_KEY, TIME_STEP_MINUTES, TIME_WHEEL_COLUMNS, TIME_WHEEL_ROW_HEIGHT, type TaskKind, type TextPart, type TimeParts, type TimePeriod, type TimeView, type TimeWheelColumn, type TimeWheelRow, type UIStrings, VIEWPORT_FIT_ATTR, VIEWPORT_FIT_HEIGHT_VAR, type ViewportFitArgs, type ViewportFitController, WEEKDAY_LABELS, addMonths, attachChipRemove, attachProductRowWheel, attachScrollArrow, attachViewportFit, buildAttributionUrl, buildDateOptions, buildLocationOption, buildQuery, buildSubmitResult, buildTimeOption, cancelStartingHint, cellDay, cellIso, chipIdFromTap, computeOptionsGridLayout, containScroll, createStore, cursorIsAtEnd, dateCellMarks, dateFloorFor, dateSelectionFor, destroyPanelMorph, dropdownPillsFor, editingSuggestion, extractPlainText, findMultiSelectDone, fitMultiSelectDone, focusEditorFromTap, focusesInputOnSelect, formatAbsoluteDate, formatDate, formatDateRange, formatOptionCount, formatPlace, formatTime, getCursorOffset, getFooterHint, hasSkippablePill, highlightParts, identifiedParamLabel, inPanelGhost, isCalendarFormat, isDimmedDay, isMultiSelectToggleTap, isOptionsGridMobileViewport, isPickerFormat, isSmartSuggestion, isTouchPrimary, isTraditionalAutocompleteSuggestion, isoDate, isoTime, keepCaretOnChip, labelTraditionalAutocomplete, locationEndpointFor, matchTypedPhrase, measureOptionsGrid, monthLabel, needsOptionsGridMeasurement, notePanelMorphHeight, optionCountLabel, optionEnterDelayMs, optionHasImage, optionImageSources, optionImageSrc, optionLabel, optionsEntranceDurationMs, optionsGridTemplateColumns, optionsShowLeadingVisuals, panelMorphGlide, panelMorphKey, panelMorphTargetHeight, parseDate, parseLooseDate, parseLooseDateRange, parseTime, plainTextLength, planOptionsGrid, pointerMayHighlight, previousGraphemeBoundary, productFromMatchedItem, productImageSources, productImageSrc, productInitial, productPhotoFill, productRowWheelTarget, productsFromCustomFields, queryLive, releasePanelHug, renderEditableContent, resolveFormatType, resolveIdentifiedDate, sameOptionRows, sanitizeOptionIconSvg, scrollCaretIntoView, selectedIsoFromText, selectedRangeFor, setCursorOffset, settlePanelMorph, settlePickFocus, shopifyImageSrc, startingHintOptions, syncHighlightScroll, syncPanelHug, timeWheelIndex, timeWheelIndexFromScroll, timeWheelRows, toWireIdentifiedParams, typedFragment, uiStringsFor, visibleDateRange, watchEditorHeight, withSkippedParams, withTimeWheelIndex, withoutTraditionalAutocomplete };
|
|
4080
|
+
export { AIAutocomplete, type APIConfig, type APIKeyConfig, ATTRIBUTION_URL, type AccessTokenConfig, type AccessTokenResult, type AppearanceMode, type AutocompleteRequest, type AutocompleteResponse, type AutocompleteResult, type BlockingChip, type BlockingFilter, type CompletedParam, type CompletedParamState, type CoreOptions, type CoreState, type CurrencyOptions, type CustomFieldsReport, DATE_RANGE_META_END, DATE_RANGE_META_START, DEFAULT_OPTION_COUNT_UNIT, type DateMonthView, type DateRange, type DateSelection, EDITOR_GROW_MS, type ExpressedFilter, type FilterOp, type FocusInputOnSelect, type FormatType, HANDOFF_NOT_HANDLED, HINT_ATTR, HINT_EL_ATTR, HINT_HOLD_MS, type IdentifiedParam, type IdentifiedParamState, type InputItem, LAST_SEARCH_KEY, LOCATION_META_KEY, LOCATION_MIN_QUERY, type LocationPlace, type LocationStatus, type LocationView, type LooseDateOptions, MULTI_DONE_FIT_VAR, MULTI_SELECT_TOGGLE_MIN_PX, MULTI_SELECT_TOGGLE_SLOP_PX, type MatchedItem, type MatchedItems, ModeController, OPTIONS_GRID_MOBILE_QUERY, OPTION_ENTER_DELAY_VAR, OPTION_ENTER_FADE_MS, OPTION_ENTER_RISE_MS, OPTION_ENTER_RISE_PX, OPTION_ENTER_STAGGER_MS, OPTION_IMAGE_WIDTH, type OptionOverride, type OptionOverrides, type OptionsGridLayout, type OptionsGridPlan, PANEL_ENTER_DELAY_MS, PANEL_ENTER_MS, PANEL_GHOST_CLASS, PANEL_GLIDE_MS, PANEL_LEAVE_MS, PLACEHOLDER_FADE_OUT_MS, PLACEHOLDER_LEAVING_ATTR, PLACEHOLDER_SWAP_GAP_MS, PLACEHOLDER_TYPE_MS, PLACEHOLDER_WORD_PAUSE_MS, PRODUCT_IMAGE_WIDTH, PRODUCT_PATH_PREFIX, PRODUCT_ROW_PX_PER_LINE, type PhraseMatch, type Product, type ProductImageFallback, type ProductRowMetrics, type ProductRowWheel, type ProductsConfig, type ProductsLayout, RANGE_SEPARATOR, type RecentlySuggested, type RenderMode, SCHEMA_VERSION, SCROLL_ARROW_ATTR, SCROLL_ARROW_BOTTOM_VAR, SCROLL_ARROW_CLASS, SCROLL_ARROW_FADE_MS, SCROLL_ARROW_LABEL, SCROLL_ARROW_SCROLL_IDLE_MS, SCROLL_ARROW_VISIBLE_ATTR, SKIPPED_PARAM_TEXT, SMART_SUGGESTION_SPARKLE_SVG, type ScrollArrowArgs, type ScrollArrowController, type Segment, type SelectOptionOptions, type SkippedParamState, type StartingHintOption, type Store, type SubmitResultExtras, type Suggestion, type SuggestionOption, type SuggestionType, TIME_META_KEY, TIME_STEP_MINUTES, TIME_WHEEL_COLUMNS, TIME_WHEEL_ROW_HEIGHT, type TaskKind, type TextPart, type TimeParts, type TimePeriod, type TimeView, type TimeWheelColumn, type TimeWheelRow, type UIStrings, VIEWPORT_FIT_ATTR, VIEWPORT_FIT_HEIGHT_VAR, type ViewportFitArgs, type ViewportFitController, WEEKDAY_LABELS, addMonths, attachChipRemove, attachProductRowWheel, attachScrollArrow, attachViewportFit, blockingChips, buildAttributionUrl, buildDateOptions, buildLocationOption, buildQuery, buildSubmitResult, buildTimeOption, cancelStartingHint, cellDay, cellIso, chipIdFromTap, clearPanelMorphPressLook, computeOptionsGridLayout, containScroll, createStore, cursorIsAtEnd, dateCellMarks, dateFloorFor, dateSelectionFor, destroyPanelMorph, dropdownPillsFor, editingSuggestion, extractPlainText, findMultiSelectDone, fitMultiSelectDone, focusEditorFromTap, focusesInputOnSelect, formatAbsoluteDate, formatDate, formatDateRange, formatOptionCount, formatPlace, formatTime, getCursorOffset, getFooterHint, hasSkippablePill, highlightParts, identifiedParamLabel, inPanelGhost, isCalendarFormat, isDimmedDay, isMultiSelectToggleTap, isOptionsGridMobileViewport, isPickerFormat, isSmartSuggestion, isTouchPrimary, isTraditionalAutocompleteSuggestion, isoDate, isoTime, keepCaretOnChip, labelTraditionalAutocomplete, locationEndpointFor, matchTypedPhrase, measureOptionsGrid, monthLabel, needsOptionsGridMeasurement, notePanelMorphHeight, optionCountLabel, optionEnterDelayMs, optionHasImage, optionImageSources, optionImageSrc, optionLabel, optionsEntranceDurationMs, optionsGridTemplateColumns, optionsShowLeadingVisuals, panelMorphGlide, panelMorphKey, panelMorphTargetHeight, parseDate, parseLooseDate, parseLooseDateRange, parseTime, plainTextLength, planOptionsGrid, pointerMayHighlight, previousGraphemeBoundary, productFromMatchedItem, productImageSources, productImageSrc, productInitial, productPhotoFill, productRowWheelTarget, productsFromCustomFields, queryLive, releasePanelHug, renderEditableContent, resolveFormatType, resolveIdentifiedDate, sameOptionRows, sanitizeOptionIconSvg, scrollCaretIntoView, selectedIsoFromText, selectedRangeFor, setCursorOffset, settlePanelMorph, settlePickFocus, shopifyImageSrc, startingHintOptions, syncHighlightScroll, syncPanelHug, timeWheelIndex, timeWheelIndexFromScroll, timeWheelRows, toWireIdentifiedParams, typedFragment, uiStringsFor, visibleDateRange, watchEditorHeight, withSkippedParams, withTimeWheelIndex, withoutTraditionalAutocomplete };
|